@univerjs-pro/edit-history-loader 0.15.2 → 0.15.3

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 CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x2e512a=_0x3ce4;function _0x4eb4(){const _0x7aedb2=['IMenuManagerService','ICommandService','IImageIoService','IConfigService','IMessageService','_componentManager','absolute','UniverSheetsHyperLinkPlugin','session','univer.operation.exit-edit-history','next','fill','use','setConfig','UniverSheetsHyperLinkUIPlugin','Inject','UniverSheetsDrawingUIPlugin','ILocalCacheService','1742280XKnELE','UniverSheetSparklinePlugin','getSheetId','RxDisposable','CollaborationController','current','editHistory.panel.title','_init','UniverSheetsFormulaUIPlugin','UniverSheetsFormulaPlugin','getAllPlugins','UniverUIPlugin','closeAll','displayName','_messageService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','display','AuthzIoHttpService','UNIVER_CONTAINER_ID_KEY','UNIVER_HISTORY_CONTAINER_ID','edit-history-loader.config','combineLatest','mountHistoryContent','length','RibbonStartGroup','100%','UNIVER_SHEET','univer-container','getCollabEntity','UniverSheetsChartPlugin','top','disposeWithMe','toDisposable','every','forEach','get','set','historyUniver','_univerInstanceService','HistoryLoaderService','width','63CeVoap','UNIVER_CONTAINER_ID','CollaborationEvent','BehaviorSubject','_commandService','getLocales','createElement','currentColor','history-icon','url(#history-icon_clip0_907_281)','appendChild','attrs','_pluginMap','CommandType','RevertRevisionMutation','./worker.js','status$','\x20has\x20been\x20registered.','608598yscIoe','MessageType','4VujhlO','menu','HistoryIcon','Entered','getCurrentLocale','historyPanelComponentKey','PLUGIN_CONFIG_KEY_MAIN_THREAD','onSteady','unsubscribe','UniverEditHistoryLoaderPlugin','_checkCanRevert','UniverInstanceType','Error','UniverSheetsDataValidationPlugin','Plugin','DisposableCollection','2351972HSHncn','mask','defs','mergeMenu','getUnit','IDialogService','0\x200\x2016\x2016','_themeService','_injector','exhaustSavingTask','UniverLicensePlugin','permissionId','_historyManagerService','xlink:href','toStringTag','getOwnPropertyDescriptor','_initPlugins','path','getSubunitRuleList','left','from','1548160LOuguv','LocaleService','replace','RangeProtectionRuleModel','_initUniver','ThemeService','historyUniver$','_revertErrorTimer','uComp','zIndex','triggerLoadVersions','HistoryModeStatus','has','data','UniverDocsPlugin','UNIVER_UNKNOWN','status','_config','revertRevision$','univerContainerId','workerURL','setLocale','white','_configService','style','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','some','1000','getElementById','reload','registerCommand','getConfig','_collaborationController','Disposable','entries','dispose','executeCommand','height','_menuManagerService','2117024fsdcJk','substring','tag','children','history-container','svg','registerPlugin','UniverRenderEnginePlugin','flat','1em','clipPath','url(#$1','defineProperty','value','colorChannel1','IUniverInstanceService','currentTheme$','event$','_historyUniver$','UniverNetworkPlugin','asObservable','UniverSheetsConditionalFormattingPlugin','IPermissionService','_localCacheService','editHistory.panel.revertFailed','history-icon_clip0_907_281','pluginName','374010gMvutX','register','UniverSheetsUIPlugin','editHistory.panel.reverting','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','UniverRPCMainThreadPlugin','UniverSheetsNumfmtPlugin','ComponentManager','dataset','historyListServerUrl','Exited','clear','position','_initListener','HistoryManagerService','Loading','_permissionService','setTheme','block','UniverFormulaEnginePlugin','RangeProtectionPermissionEditPoint','getSheets','_disposableCollection','UniverSheetsFilterPlugin','OPERATION','unMountHistoryContent','1PiJUtU','BUTTON','setDarkMode','assign','_localeService','string','params','_selectionProtectionRuleModel','type','557751HdtQmQ','CHANGESET_ACK','_sidebarService','UniverSheetsPlugin','state$','_dialogService','UniverDrawingPlugin','idSuffix','map','UniverDocsUIPlugin','trim','invoke','UniverSheetsConditionalFormattingUIPlugin','show','M0\x200H16V16H0z','none','WorkbookEditablePermission','ISidebarService','Module','location','IAuthzIoService','subscribe','WorkbookRecoverHistoryPermission','defIds','useRef','add','_initContainer'];_0x4eb4=function(){return _0x7aedb2;};return _0x4eb4();}(function(_0x53e363,_0x5b685e){const _0x35888f=_0x3ce4,_0x55711d=_0x53e363();while(!![]){try{const _0x3c417c=parseInt(_0x35888f(0x2a3))/0x1*(parseInt(_0x35888f(0x220))/0x2)+-parseInt(_0x35888f(0x2ac))/0x3*(-parseInt(_0x35888f(0x222))/0x4)+parseInt(_0x35888f(0x247))/0x5+-parseInt(_0x35888f(0x2d9))/0x6+-parseInt(_0x35888f(0x232))/0x7+parseInt(_0x35888f(0x26e))/0x8+-parseInt(_0x35888f(0x20e))/0x9*(parseInt(_0x35888f(0x289))/0xa);if(_0x3c417c===_0x5b685e)break;else _0x55711d['push'](_0x55711d['shift']());}catch(_0x5cacc6){_0x55711d['push'](_0x55711d['shift']());}}}(_0x4eb4,0x2b0a5));var A=Object[_0x2e512a(0x27a)],F=(_0xa954f1,_0x54fb81,_0x571a55)=>_0x54fb81 in _0xa954f1?A(_0xa954f1,_0x54fb81,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x571a55}):_0xa954f1[_0x54fb81]=_0x571a55,_=(_0x2a4715,_0x1534a7,_0x1dd068)=>F(_0x2a4715,typeof _0x1534a7!='symbol'?_0x1534a7+'':_0x1534a7,_0x1dd068);Object[_0x2e512a(0x27a)](exports,Symbol[_0x2e512a(0x240)],{'value':_0x2e512a(0x2be)});const o=require('@univerjs/core'),C=require('@univerjs-pro/collaboration'),p=require('@univerjs-pro/collaboration-client'),P=require('@univerjs/design'),U=require('react'),h=require('@univerjs/ui'),O=require('rxjs'),d=require('@univerjs/sheets'),m=require('@univerjs-pro/edit-history-viewer'),L=require('@univerjs-pro/license'),V=require('@univerjs-pro/sheets-chart'),G=require('@univerjs-pro/sheets-chart-ui'),Y=require('@univerjs-pro/sheets-pivot'),K=require('@univerjs-pro/sheets-sparkline'),W=require('@univerjs-pro/sheets-sparkline-ui'),B=require('@univerjs/data-validation'),z=require('@univerjs/docs'),Z=require('@univerjs/docs-ui'),N=require('@univerjs/drawing'),J=require('@univerjs/drawing-ui'),Q=require('@univerjs/engine-formula'),X=require('@univerjs/engine-render'),ee=require('@univerjs/network'),R=require('@univerjs/rpc'),ie=require('@univerjs/sheets-conditional-formatting'),te=require('@univerjs/sheets-conditional-formatting-ui'),re=require('@univerjs/sheets-data-validation'),ne=require('@univerjs/sheets-data-validation-ui'),se=require('@univerjs/sheets-drawing'),oe=require('@univerjs/sheets-drawing-ui'),ae=require('@univerjs/sheets-filter'),ce=require('@univerjs/sheets-filter-ui'),le=require('@univerjs/sheets-formula'),ue=require('@univerjs/sheets-formula-ui'),he=require('@univerjs/sheets-hyper-link'),ge=require('@univerjs/sheets-hyper-link-ui'),ve=require('@univerjs/sheets-numfmt'),k=require('@univerjs/sheets-ui'),b=_0x2e512a(0x1f9),T={};function D({ref:_0x59c173,..._0x40830f}){const _0x2e7458=_0x2e512a,{icon:_0x4dd5e2,id:_0x1202d0,className:_0x239a80,extend:_0x4ab088,..._0xa02609}=_0x40830f,_0x4e0c1f=('univerjs-icon\x20univerjs-icon-'+_0x1202d0+'\x20'+(_0x239a80||''))[_0x2e7458(0x2b6)](),_0x201be1=U[_0x2e7458(0x2c4)]('_'+Se());return q(_0x4dd5e2,''+_0x1202d0,{'defIds':_0x4dd5e2[_0x2e7458(0x2c3)],'idSuffix':_0x201be1[_0x2e7458(0x2de)]},{'ref':_0x59c173,'className':_0x4e0c1f,..._0xa02609},_0x4ab088);}function q(_0x65696c,_0xb27e4d,_0x40cf00,_0x28cb93,_0x317761){const _0x163d83=_0x2e512a;return U[_0x163d83(0x214)](_0x65696c[_0x163d83(0x270)],{'key':_0xb27e4d,...de(_0x65696c,_0x40cf00,_0x317761),..._0x28cb93},(_e(_0x65696c,_0x40cf00)[_0x163d83(0x271)]||[])[_0x163d83(0x2b4)]((_0x18668d,_0x14d869)=>q(_0x18668d,_0xb27e4d+'-'+_0x65696c[_0x163d83(0x270)]+'-'+_0x14d869,_0x40cf00,void 0x0,_0x317761)));}function de(_0x3575f3,_0x2eb5fc,_0x2c8f6e){const _0x48421a=_0x2e512a,_0x490f38={..._0x3575f3[_0x48421a(0x219)]};_0x2c8f6e!=null&&_0x2c8f6e['colorChannel1']&&_0x490f38[_0x48421a(0x2d2)]===_0x48421a(0x27c)&&(_0x490f38[_0x48421a(0x2d2)]=_0x2c8f6e['colorChannel1']),_0x3575f3[_0x48421a(0x270)]===_0x48421a(0x233)&&_0x490f38['id']&&(_0x490f38['id']=_0x490f38['id']+_0x2eb5fc['idSuffix']),Object[_0x48421a(0x269)](_0x490f38)['forEach'](([_0x5956e5,_0x13b07c])=>{const _0x272f28=_0x48421a;_0x5956e5===_0x272f28(0x233)&&typeof _0x13b07c==_0x272f28(0x2a8)&&(_0x490f38[_0x5956e5]=_0x13b07c[_0x272f28(0x249)](/url\(#(.*)\)/,_0x272f28(0x279)+_0x2eb5fc[_0x272f28(0x2b3)]+')'));});const {defIds:_0x5f1ebd}=_0x2eb5fc;return!_0x5f1ebd||_0x5f1ebd['length']===0x0||(_0x3575f3[_0x48421a(0x270)]===_0x48421a(0x2d3)&&_0x490f38[_0x48421a(0x23f)]&&(_0x490f38['xlink:href']=_0x490f38[_0x48421a(0x23f)]+_0x2eb5fc['idSuffix']),Object[_0x48421a(0x269)](_0x490f38)[_0x48421a(0x207)](([_0x19e2d3,_0xbd10fd])=>{const _0x44d71d=_0x48421a;typeof _0xbd10fd==_0x44d71d(0x2a8)&&(_0x490f38[_0x19e2d3]=_0xbd10fd[_0x44d71d(0x249)](/url\(#(.*)\)/,_0x44d71d(0x279)+_0x2eb5fc[_0x44d71d(0x2b3)]+')'));})),_0x490f38;}function _e(_0x83ed2f,_0xd3453d){const _0x4d4375=_0x2e512a;var _0x4c2d02;const {defIds:_0x513d48}=_0xd3453d;return!_0x513d48||_0x513d48[_0x4d4375(0x1fc)]===0x0?_0x83ed2f:_0x83ed2f[_0x4d4375(0x270)]===_0x4d4375(0x234)&&((_0x4c2d02=_0x83ed2f[_0x4d4375(0x271)])!=null&&_0x4c2d02[_0x4d4375(0x1fc)])?{..._0x83ed2f,'children':_0x83ed2f[_0x4d4375(0x271)][_0x4d4375(0x2b4)](_0xa50a26=>typeof _0xa50a26[_0x4d4375(0x219)]['id']=='string'&&_0x513d48&&_0x513d48['includes'](_0xa50a26[_0x4d4375(0x219)]['id'])?{..._0xa50a26,'attrs':{..._0xa50a26['attrs'],'id':_0xa50a26[_0x4d4375(0x219)]['id']+_0xd3453d['idSuffix']}}:_0xa50a26)}:_0x83ed2f;}function Se(){const _0x494983=_0x2e512a;return Math['random']()['toString'](0x24)[_0x494983(0x26f)](0x2,0x8);}D['displayName']='UniverIcon';const me={'tag':_0x2e512a(0x273),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x2e512a(0x238),'width':_0x2e512a(0x277),'height':_0x2e512a(0x277)},'children':[{'tag':'g','attrs':{'fill':_0x2e512a(0x215),'clipPath':_0x2e512a(0x217)},'children':[{'tag':_0x2e512a(0x243),'attrs':{'d':'M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z'}},{'tag':_0x2e512a(0x243),'attrs':{'d':_0x2e512a(0x260)}}]},{'tag':_0x2e512a(0x234),'attrs':{},'children':[{'tag':_0x2e512a(0x278),'attrs':{'id':_0x2e512a(0x287)},'children':[{'tag':_0x2e512a(0x243),'attrs':{'fill':_0x2e512a(0x25d),'d':_0x2e512a(0x2ba)}}]}]}],'defIds':['history-icon_clip0_907_281']},$=U['forwardRef'](function(_0x1cc203,_0x4c8e54){const _0x214ecd=_0x2e512a;return U[_0x214ecd(0x214)](D,Object[_0x214ecd(0x2a6)]({},_0x1cc203,{'id':_0x214ecd(0x216),'ref':_0x4c8e54,'icon':me}));});$[_0x2e512a(0x1f2)]=_0x2e512a(0x224);var ye=Object[_0x2e512a(0x241)],pe=(_0xe6decb,_0x25b99b,_0x556d01,_0x12791)=>{const _0x487b22=_0x2e512a;for(var _0x4b8e53=_0x12791>0x1?void 0x0:_0x12791?ye(_0x25b99b,_0x556d01):_0x25b99b,_0x3cf0c3=_0xe6decb[_0x487b22(0x1fc)]-0x1,_0x3fb866;_0x3cf0c3>=0x0;_0x3cf0c3--)(_0x3fb866=_0xe6decb[_0x3cf0c3])&&(_0x4b8e53=_0x3fb866(_0x4b8e53)||_0x4b8e53);return _0x4b8e53;},g=(_0x4ee32b,_0x3c316c)=>(_0x4abaab,_0x39ced7)=>_0x3c316c(_0x4abaab,_0x39ced7,_0x4ee32b);const fe=_0x2e512a(0x200),H=_0x2e512a(0x20f),y='univer-history-container';exports['HistoryLoaderService']=class extends o[_0x2e512a(0x268)]{constructor(_0x417992,_0x2bed42,_0x4b3f78,_0x2bd0d2,_0x4cb0f3,_0x4d9ca4,_0x462b28,_0x518986,_0x1f8586,_0x4d4ade){const _0x3e349d=_0x2e512a;super(),_(this,_0x3e349d(0x280),new O[(_0x3e349d(0x211))](null)),_(this,_0x3e349d(0x24d),this['_historyUniver$'][_0x3e349d(0x282)]()),_(this,_0x3e349d(0x29f),new o[(_0x3e349d(0x231))]()),_(this,'_pluginMap',new Map()),(this[_0x3e349d(0x2a7)]=_0x417992,this[_0x3e349d(0x20b)]=_0x2bed42,this[_0x3e349d(0x25e)]=_0x4b3f78,this['_commandService']=_0x2bd0d2,this[_0x3e349d(0x1f3)]=_0x4cb0f3,this[_0x3e349d(0x299)]=_0x4d9ca4,this[_0x3e349d(0x2aa)]=_0x462b28,this[_0x3e349d(0x2b1)]=_0x518986,this[_0x3e349d(0x2ae)]=_0x1f8586,this[_0x3e349d(0x239)]=_0x4d4ade,this['_init']());}get['historyUniver'](){return this['_historyUniver$']['value'];}[_0x2e512a(0x2e0)](){const _0x44046a=_0x2e512a;this[_0x44046a(0x2c6)](),this[_0x44046a(0x242)]();}[_0x2e512a(0x2c6)](){const _0x45d781=_0x2e512a;var _0x1d789f;const _0x1392ca=(_0x1d789f=this[_0x45d781(0x25e)][_0x45d781(0x266)](H))!=null?_0x1d789f:fe,_0x3a8e66=document[_0x45d781(0x263)](_0x1392ca);if(!_0x3a8e66)return;const _0x2d57a2=document['createElement']('div');_0x2d57a2['id']=y,_0x2d57a2[_0x45d781(0x291)][_0x45d781(0x24f)]=_0x45d781(0x272),_0x2d57a2[_0x45d781(0x25f)][_0x45d781(0x295)]=_0x45d781(0x2cd),_0x2d57a2[_0x45d781(0x25f)][_0x45d781(0x203)]='0',_0x2d57a2['style'][_0x45d781(0x245)]='0',_0x2d57a2[_0x45d781(0x25f)][_0x45d781(0x20d)]='100%',_0x2d57a2[_0x45d781(0x25f)][_0x45d781(0x26c)]=_0x45d781(0x1fe),_0x2d57a2[_0x45d781(0x25f)][_0x45d781(0x250)]=_0x45d781(0x262),_0x2d57a2[_0x45d781(0x25f)][_0x45d781(0x1f5)]=_0x45d781(0x2bb),_0x3a8e66[_0x45d781(0x218)](_0x2d57a2);}[_0x2e512a(0x242)](){const _0x2ef158=_0x2e512a;var _0x4a4e6f,_0x2654c1,_0x4171bd,_0x371e33;[[X[_0x2ef158(0x275)]],[h[_0x2ef158(0x1f0)],{'container':y,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[h[_0x2ef158(0x237)],null]]}],[ee[_0x2ef158(0x281)]],[N[_0x2ef158(0x2b2)],{'override':[[N[_0x2ef158(0x2c9)],null]]}],[z[_0x2ef158(0x255)],{'hasScroll':!0x1}],[Z[_0x2ef158(0x2b5)]],[ve[_0x2ef158(0x28f)]],[d[_0x2ef158(0x2af)],{'notExecuteFormula':!0x0}],[k[_0x2ef158(0x28b)]],[le[_0x2ef158(0x2e2)]],[ue[_0x2ef158(0x2e1)]],[C['UniverCollaborationPlugin']],[ae[_0x2ef158(0x2a0)]],[ce['UniverSheetsFilterUIPlugin']],[ie[_0x2ef158(0x283)]],[te[_0x2ef158(0x2b8)]],[he[_0x2ef158(0x2ce)]],[ge[_0x2ef158(0x2d5)]],[B['UniverDataValidationPlugin']],[re[_0x2ef158(0x22f)]],[ne['UniverSheetsDataValidationUIPlugin']],[Q[_0x2ef158(0x29c)],{'notExecuteFormula':!0x0}],[R[_0x2ef158(0x28e)],{'workerURL':(_0x2654c1=(_0x4a4e6f=this['_configService']['getConfig'](R[_0x2ef158(0x228)]))==null?void 0x0:_0x4a4e6f[_0x2ef158(0x25b)])!=null?_0x2654c1:_0x2ef158(0x21d)}],[J['UniverDrawingUIPlugin']],[se['UniverSheetsDrawingPlugin']],[oe[_0x2ef158(0x2d7)]],[K[_0x2ef158(0x2da)]],[W['UniverSheetSparklineUIPlugin']],[V[_0x2ef158(0x202)]],[G['UniverSheetsChartUIPlugin']],[Y['UniverSheetsPivotTablePlugin'],{'notExecuteFormula':!0x0}],[m['UniverEditHistoryViewerPlugin'],{'historyListServerUrl':(_0x4171bd=this[_0x2ef158(0x25e)][_0x2ef158(0x266)](b))==null?void 0x0:_0x4171bd[_0x2ef158(0x292)],'historyPanelComponentKey':(_0x371e33=this[_0x2ef158(0x25e)][_0x2ef158(0x266)](b))==null?void 0x0:_0x371e33[_0x2ef158(0x227)]}]][_0x2ef158(0x207)](([_0x3222e4,_0x2c91c8])=>this[_0x2ef158(0x274)](_0x3222e4,_0x2c91c8));}[_0x2e512a(0x26a)](){const _0x32ad05=_0x2e512a;super[_0x32ad05(0x26a)](),this[_0x32ad05(0x2a2)](),this[_0x32ad05(0x21a)][_0x32ad05(0x294)]();}['registerPlugin'](_0x4ed9c0,_0x3921e8,_0x355b7a){const _0x14e02f=_0x2e512a;if(this[_0x14e02f(0x21a)][_0x14e02f(0x253)](_0x4ed9c0['pluginName'])&&!_0x355b7a)throw new Error('[HistoryLoaderService]:\x20Plugin\x20'+_0x4ed9c0[_0x14e02f(0x288)]+_0x14e02f(0x21f));this[_0x14e02f(0x21a)][_0x14e02f(0x209)](_0x4ed9c0[_0x14e02f(0x288)],[_0x4ed9c0,_0x3921e8]);}[_0x2e512a(0x2e3)](){const _0x50677e=_0x2e512a;return Array[_0x50677e(0x246)](this[_0x50677e(0x21a)]['values']());}['mountHistoryContent'](_0x4c5a1c){const _0x260b35=_0x2e512a,_0x5c5633=document[_0x260b35(0x263)](y);_0x5c5633&&(_0x5c5633[_0x260b35(0x25f)]['display']=_0x260b35(0x29b),this[_0x260b35(0x24b)](_0x4c5a1c,y));}[_0x2e512a(0x2a2)](){const _0x1040d4=_0x2e512a;var _0x32d0ed;this[_0x1040d4(0x29f)][_0x1040d4(0x26a)](),(_0x32d0ed=this[_0x1040d4(0x20a)])==null||_0x32d0ed['dispose'](),this['_historyUniver$'][_0x1040d4(0x2d1)](null);const _0x5b05d5=document[_0x1040d4(0x263)](y);_0x5b05d5&&(_0x5b05d5[_0x1040d4(0x25f)][_0x1040d4(0x1f5)]=_0x1040d4(0x2bb));}[_0x2e512a(0x24b)](_0x3f3d69,_0x85b0b6){const _0x50b9fb=_0x2e512a;if(this[_0x50b9fb(0x20a)])return;const _0x1e716a=new o['Univer']({'locales':{[this['_localeService'][_0x50b9fb(0x226)]()]:this[_0x50b9fb(0x2a7)][_0x50b9fb(0x213)]()},'override':[[o[_0x50b9fb(0x2c0)],{'useClass':p[_0x50b9fb(0x1f6)]}]]}),_0x1d4e2e=_0x1e716a['__getInjector']();this[_0x50b9fb(0x204)](this[_0x50b9fb(0x239)]['darkMode$'][_0x50b9fb(0x2c1)](_0x287702=>{const _0x4febeb=_0x50b9fb;_0x1d4e2e['get'](o[_0x4febeb(0x24c)])[_0x4febeb(0x2a5)](_0x287702);})),this[_0x50b9fb(0x204)](this[_0x50b9fb(0x239)][_0x50b9fb(0x27e)][_0x50b9fb(0x2c1)](_0x3e2f3e=>{const _0x5377d2=_0x50b9fb;_0x1d4e2e[_0x5377d2(0x208)](o[_0x5377d2(0x24c)])[_0x5377d2(0x29a)](_0x3e2f3e);})),_0x1d4e2e['get'](o[_0x50b9fb(0x248)])[_0x50b9fb(0x25c)](this[_0x50b9fb(0x2a7)]['getCurrentLocale']()),_0x1d4e2e['get'](o[_0x50b9fb(0x2ca)])[_0x50b9fb(0x2d4)](p[_0x50b9fb(0x1f4)],this[_0x50b9fb(0x25e)][_0x50b9fb(0x266)](p[_0x50b9fb(0x1f4)]));const _0x43d9db=this[_0x50b9fb(0x25e)]['getConfig'](L['LS_CONFIG_KEY']);_0x43d9db&&_0x1e716a[_0x50b9fb(0x274)](L[_0x50b9fb(0x23c)],{'license':_0x43d9db['ls']}),this[_0x50b9fb(0x21a)][_0x50b9fb(0x207)](([_0x10f50d,_0x503f5b])=>{const _0x4d011a=_0x50b9fb;_0x1e716a[_0x4d011a(0x274)](_0x10f50d,_0x503f5b);}),_0x1d4e2e[_0x50b9fb(0x2b7)](_0x44cd2c=>{const _0x39f8c7=_0x50b9fb;this[_0x39f8c7(0x296)](_0x44cd2c,_0x3f3d69);}),this[_0x50b9fb(0x280)][_0x50b9fb(0x2d1)](_0x1e716a);const _0xed54b5=_0x1d4e2e['get'](m[_0x50b9fb(0x297)]),_0x1f1fc0=this[_0x50b9fb(0x22c)](_0x3f3d69);_0xed54b5[_0x50b9fb(0x251)](_0x3f3d69,_0x85b0b6,_0x1f1fc0);}[_0x2e512a(0x296)](_0x161ab2,_0x5bcc1e){const _0x569b05=_0x2e512a,_0x1f2787=_0x161ab2['get'](m['HistoryManagerService']);this[_0x569b05(0x29f)][_0x569b05(0x2c5)](_0x1f2787[_0x569b05(0x21e)][_0x569b05(0x2c1)](_0x494d03=>{const _0x498df4=_0x569b05;switch(_0x494d03){case m[_0x498df4(0x252)][_0x498df4(0x225)]:this[_0x498df4(0x2b1)][_0x498df4(0x1f1)](),this[_0x498df4(0x2ae)]['close']();break;case m[_0x498df4(0x252)][_0x498df4(0x293)]:this[_0x498df4(0x212)][_0x498df4(0x26b)](j['id']),this[_0x498df4(0x2a2)]();break;case m[_0x498df4(0x252)][_0x498df4(0x22e)]:this['unMountHistoryContent'](),this[_0x498df4(0x1f3)][_0x498df4(0x2b9)]({'content':this['_localeService']['t']('editHistory.panel.listFetchError'),'type':P[_0x498df4(0x221)][_0x498df4(0x22e)],'duration':0xbb8});break;}})),this[_0x569b05(0x29f)][_0x569b05(0x2c5)](_0x1f2787[_0x569b05(0x259)]['subscribe'](async _0x15f781=>{const _0x18654f=_0x569b05;_0x15f781&&this['_commandService'][_0x18654f(0x26b)](C[_0x18654f(0x21c)]['id'],{'unitId':_0x5bcc1e,'revision':_0x15f781});}));}['_checkCanRevert'](_0x47f9f8){const _0x506c2e=_0x2e512a,_0x5341c2=this['_univerInstanceService'][_0x506c2e(0x236)](_0x47f9f8)[_0x506c2e(0x29e)]()[_0x506c2e(0x2b4)](_0x5999b8=>_0x5999b8[_0x506c2e(0x2db)]()),_0x15080a=new d[(_0x506c2e(0x2bc))](_0x47f9f8)['id'],_0x4f67ea=_0x5341c2[_0x506c2e(0x2b4)](_0x574e64=>new d['WorksheetEditPermission'](_0x47f9f8,_0x574e64)['id']),_0xce533b=_0x5341c2[_0x506c2e(0x2b4)](_0x38895e=>this[_0x506c2e(0x2aa)][_0x506c2e(0x244)](_0x47f9f8,_0x38895e)[_0x506c2e(0x2b4)](_0x418751=>new d[(_0x506c2e(0x29d))](_0x47f9f8,_0x38895e,_0x418751[_0x506c2e(0x23d)])['id']))[_0x506c2e(0x276)](),_0x235d93=new d[(_0x506c2e(0x2c2))](_0x47f9f8)['id'];return this['_permissionService']['composePermission']([_0x15080a,..._0x4f67ea,..._0xce533b,_0x235d93])[_0x506c2e(0x206)](_0x1eab59=>!!_0x1eab59[_0x506c2e(0x27b)]);}},exports[_0x2e512a(0x20c)]=pe([g(0x0,o[_0x2e512a(0x2d6)](o[_0x2e512a(0x248)])),g(0x1,o[_0x2e512a(0x27d)]),g(0x2,o[_0x2e512a(0x2ca)]),g(0x3,o['ICommandService']),g(0x4,h[_0x2e512a(0x2cb)]),g(0x5,o[_0x2e512a(0x284)]),g(0x6,o[_0x2e512a(0x2d6)](d[_0x2e512a(0x24a)])),g(0x7,o[_0x2e512a(0x2d6)](h[_0x2e512a(0x237)])),g(0x8,o['Inject'](h[_0x2e512a(0x2bd)])),g(0x9,o[_0x2e512a(0x2d6)](o[_0x2e512a(0x24c)]))],exports[_0x2e512a(0x20c)]);const M={'id':'univer.operation.toggle-edit-history','type':o[_0x2e512a(0x21b)][_0x2e512a(0x2a1)],'handler':_0x206fda=>{const _0x2f7b44=_0x2e512a,_0x2c01a1=_0x206fda[_0x2f7b44(0x208)](exports[_0x2f7b44(0x20c)]),_0x43e35a=_0x206fda[_0x2f7b44(0x208)](o['IUniverInstanceService']),{unitId:_0x2b52e0}=d['getSheetCommandTarget'](_0x43e35a)||{};return _0x2b52e0?(_0x2c01a1[_0x2f7b44(0x1fb)](_0x2b52e0),!0x0):!0x1;}},j={'id':_0x2e512a(0x2d0),'type':o[_0x2e512a(0x21b)][_0x2e512a(0x2a1)],'handler':()=>!0x0};function Ce(_0x5dda24){const _0x2f32b1=_0x2e512a;return{'id':M['id'],'type':h['MenuItemType'][_0x2f32b1(0x2a4)],'icon':_0x2f32b1(0x224),'tooltip':_0x2f32b1(0x2df),'hidden$':h['getMenuHiddenObservable'](_0x5dda24,o['UniverInstanceType'][_0x2f32b1(0x1ff)]),'disabled$':k['getCurrentRangeDisable$'](_0x5dda24,{'workbookTypes':[d[_0x2f32b1(0x2bc)],d['WorkbookViewHistoryPermission']],'worksheetTypes':[],'rangeTypes':[]})};}const Ie={[h[_0x2e512a(0x1fd)]['OTHERS']]:{[M['id']]:{'order':0.2,'menuItemFactory':Ce}}};function _0x3ce4(_0x595425,_0x53cd3c){_0x595425=_0x595425-0x1f0;const _0x4eb44f=_0x4eb4();let _0x3ce49f=_0x4eb44f[_0x595425];return _0x3ce49f;}var Ue=Object[_0x2e512a(0x241)],Ee=(_0x2e23a1,_0xef4709,_0x902ccf,_0x584c56)=>{const _0x1ed6e7=_0x2e512a;for(var _0x747c04=_0x584c56>0x1?void 0x0:_0x584c56?Ue(_0xef4709,_0x902ccf):_0xef4709,_0x4c9a39=_0x2e23a1[_0x1ed6e7(0x1fc)]-0x1,_0x2857d8;_0x4c9a39>=0x0;_0x4c9a39--)(_0x2857d8=_0x2e23a1[_0x4c9a39])&&(_0x747c04=_0x2857d8(_0x747c04)||_0x747c04);return _0x747c04;},S=(_0x2cfc83,_0x35a53c)=>(_0x534777,_0x5d4531)=>_0x35a53c(_0x534777,_0x5d4531,_0x2cfc83);let E=class extends o[_0x2e512a(0x2dc)]{constructor(_0x4bf1df,_0x31b95d,_0x4a9203,_0x220df5,_0x44602f,_0x47c882,_0x3749bd,_0x55b4eb){const _0x4f560d=_0x2e512a;super(),_(this,_0x4f560d(0x24e),null),(this[_0x4f560d(0x212)]=_0x4bf1df,this[_0x4f560d(0x26d)]=_0x31b95d,this[_0x4f560d(0x2cc)]=_0x4a9203,this[_0x4f560d(0x23e)]=_0x220df5,this[_0x4f560d(0x2a7)]=_0x44602f,this[_0x4f560d(0x1f3)]=_0x47c882,this[_0x4f560d(0x267)]=_0x3749bd,this[_0x4f560d(0x285)]=_0x55b4eb,this['_init']());}['_init'](){const _0x31c4c3=_0x2e512a;[M,j][_0x31c4c3(0x207)](_0x595937=>this[_0x31c4c3(0x204)](o[_0x31c4c3(0x205)](this[_0x31c4c3(0x212)][_0x31c4c3(0x265)](_0x595937)))),this['disposeWithMe'](this[_0x31c4c3(0x2cc)][_0x31c4c3(0x28a)](_0x31c4c3(0x224),$)),this[_0x31c4c3(0x26d)][_0x31c4c3(0x235)](Ie),this[_0x31c4c3(0x204)](this['_commandService']['onCommandExecuted'](_0x5895c9=>{const _0x1d6348=_0x31c4c3;if(_0x5895c9['id']===C[_0x1d6348(0x21c)]['id']){this[_0x1d6348(0x1f3)][_0x1d6348(0x2b9)]({'content':this[_0x1d6348(0x2a7)]['t'](_0x1d6348(0x28c)),'type':P[_0x1d6348(0x221)][_0x1d6348(0x298)],'duration':0x1388});const {unitId:_0x3f9b86}=_0x5895c9[_0x1d6348(0x2a9)],_0x5d8201=this[_0x1d6348(0x267)][_0x1d6348(0x201)](_0x3f9b86),_0x4a4a5f=O[_0x1d6348(0x1fa)]([_0x5d8201[_0x1d6348(0x2cf)][_0x1d6348(0x27f)],_0x5d8201[_0x1d6348(0x2b0)]])[_0x1d6348(0x2c1)](async([_0x4c1d8d,_0x4cafce])=>{const _0x21206c=_0x1d6348;var _0x5da111;_0x4c1d8d['eventID']===C[_0x21206c(0x210)][_0x21206c(0x2ad)]&&(_0x4cafce==null?void 0x0:_0x4cafce[_0x21206c(0x257)])===p['CollaborationStatus']['SYNCED']&&_0x4c1d8d[_0x21206c(0x254)]['mutations'][_0x21206c(0x261)](_0x2ff872=>_0x2ff872['id']===C[_0x21206c(0x21c)]['id'])&&(this[_0x21206c(0x23e)][_0x21206c(0x2a2)](),_0x4a4a5f['unsubscribe'](),this[_0x21206c(0x24e)]&&clearTimeout(this['_revertErrorTimer']),await((_0x5da111=this[_0x21206c(0x285)])==null?void 0x0:_0x5da111[_0x21206c(0x23b)]()),setTimeout(()=>window[_0x21206c(0x2bf)][_0x21206c(0x264)]()));});this['_revertErrorTimer']=setTimeout(()=>{const _0x15c8e9=_0x1d6348;_0x4a4a5f[_0x15c8e9(0x22a)](),this[_0x15c8e9(0x1f3)]['show']({'content':this[_0x15c8e9(0x2a7)]['t'](_0x15c8e9(0x286)),'type':P[_0x15c8e9(0x221)][_0x15c8e9(0x22e)],'duration':0xbb8});},0x1388);}}));}};E=Ee([S(0x0,o[_0x2e512a(0x2c8)]),S(0x1,h[_0x2e512a(0x2c7)]),S(0x2,o['Inject'](h[_0x2e512a(0x290)])),S(0x3,o[_0x2e512a(0x2d6)](exports['HistoryLoaderService'])),S(0x4,o['Inject'](o[_0x2e512a(0x248)])),S(0x5,h[_0x2e512a(0x2cb)]),S(0x6,o[_0x2e512a(0x2d6)](p[_0x2e512a(0x2dd)])),S(0x7,p[_0x2e512a(0x2d8)])],E);var Pe=Object[_0x2e512a(0x241)],be=(_0xf4fbe2,_0x6b7755,_0x58d896,_0x228156)=>{const _0x137f2b=_0x2e512a;for(var _0x5a21f7=_0x228156>0x1?void 0x0:_0x228156?Pe(_0x6b7755,_0x58d896):_0x6b7755,_0x2d7a8f=_0xf4fbe2[_0x137f2b(0x1fc)]-0x1,_0x4110ed;_0x2d7a8f>=0x0;_0x2d7a8f--)(_0x4110ed=_0xf4fbe2[_0x2d7a8f])&&(_0x5a21f7=_0x4110ed(_0x5a21f7)||_0x5a21f7);return _0x5a21f7;},w=(_0x3d3a22,_0x17c2d9)=>(_0x3b45bd,_0x38bb52)=>_0x17c2d9(_0x3b45bd,_0x38bb52,_0x3d3a22);const He=_0x2e512a(0x28d);var I;exports[_0x2e512a(0x22b)]=(I=class extends o[_0x2e512a(0x230)]{constructor(_0x48bd23=T,_0x2cc521,_0x140944){const _0x2bad09=_0x2e512a;super(),this[_0x2bad09(0x258)]=_0x48bd23,this[_0x2bad09(0x23a)]=_0x2cc521,this['_configService']=_0x140944;const {menu:_0x476770,..._0x3833a3}=o['merge']({},T,this[_0x2bad09(0x258)]);_0x476770&&this[_0x2bad09(0x25e)]['setConfig'](_0x2bad09(0x223),_0x476770,{'merge':!0x0}),this['_configService'][_0x2bad09(0x2d4)](b,_0x3833a3),this[_0x2bad09(0x258)]['univerContainerId']&&this[_0x2bad09(0x25e)]['setConfig'](H,this['_config'][_0x2bad09(0x25a)]);}['onStarting'](){const _0x1a9e0e=_0x2e512a;[[exports[_0x1a9e0e(0x20c)]],[E]][_0x1a9e0e(0x207)](_0xcc0f25=>this['_injector'][_0x1a9e0e(0x2c5)](_0xcc0f25));}[_0x2e512a(0x229)](){const _0x208a10=_0x2e512a;this[_0x208a10(0x23a)][_0x208a10(0x208)](E);}},_(I,_0x2e512a(0x2ab),o[_0x2e512a(0x22d)][_0x2e512a(0x256)]),_(I,_0x2e512a(0x288),He),I),exports[_0x2e512a(0x22b)]=be([w(0x1,o[_0x2e512a(0x2d6)](o['Injector'])),w(0x2,o[_0x2e512a(0x2ca)])],exports[_0x2e512a(0x22b)]),exports[_0x2e512a(0x1f7)]=H,exports[_0x2e512a(0x1f8)]=y;
1
+ 'use strict';const _0x3eb404=_0x5a51;(function(_0x3b8d5e,_0x3cfebe){const _0x24c7b4=_0x5a51,_0x58d5bb=_0x3b8d5e();while(!![]){try{const _0x1569d6=parseInt(_0x24c7b4(0x1b1))/0x1+parseInt(_0x24c7b4(0x1ae))/0x2+-parseInt(_0x24c7b4(0x238))/0x3*(-parseInt(_0x24c7b4(0x1d0))/0x4)+parseInt(_0x24c7b4(0x205))/0x5+-parseInt(_0x24c7b4(0x22e))/0x6+parseInt(_0x24c7b4(0x20c))/0x7+parseInt(_0x24c7b4(0x1cd))/0x8*(-parseInt(_0x24c7b4(0x1c3))/0x9);if(_0x1569d6===_0x3cfebe)break;else _0x58d5bb['push'](_0x58d5bb['shift']());}catch(_0x42fdca){_0x58d5bb['push'](_0x58d5bb['shift']());}}}(_0x4723,0x255c0));var A=Object[_0x3eb404(0x242)],F=(_0x44c4c0,_0x3a1e25,_0xf35d22)=>_0x3a1e25 in _0x44c4c0?A(_0x44c4c0,_0x3a1e25,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xf35d22}):_0x44c4c0[_0x3a1e25]=_0xf35d22,_=(_0x5eb087,_0x1bf604,_0x59c02e)=>F(_0x5eb087,typeof _0x1bf604!='symbol'?_0x1bf604+'':_0x1bf604,_0x59c02e);Object[_0x3eb404(0x242)](exports,Symbol[_0x3eb404(0x25b)],{'value':_0x3eb404(0x1f0)});const o=require('@univerjs/core'),C=require('@univerjs-pro/collaboration'),p=require('@univerjs-pro/collaboration-client'),P=require('@univerjs/design'),U=require('react'),h=require('@univerjs/ui'),O=require('rxjs'),d=require('@univerjs/sheets'),m=require('@univerjs-pro/edit-history-viewer'),L=require('@univerjs-pro/license'),V=require('@univerjs-pro/sheets-chart'),G=require('@univerjs-pro/sheets-chart-ui'),Y=require('@univerjs-pro/sheets-pivot'),K=require('@univerjs-pro/sheets-sparkline'),W=require('@univerjs-pro/sheets-sparkline-ui'),B=require('@univerjs/data-validation'),z=require('@univerjs/docs'),Z=require('@univerjs/docs-ui'),N=require('@univerjs/drawing'),J=require('@univerjs/drawing-ui'),Q=require('@univerjs/engine-formula'),X=require('@univerjs/engine-render'),ee=require('@univerjs/network'),R=require('@univerjs/rpc'),ie=require('@univerjs/sheets-conditional-formatting'),te=require('@univerjs/sheets-conditional-formatting-ui'),re=require('@univerjs/sheets-data-validation'),ne=require('@univerjs/sheets-data-validation-ui'),se=require('@univerjs/sheets-drawing'),oe=require('@univerjs/sheets-drawing-ui'),ae=require('@univerjs/sheets-filter'),ce=require('@univerjs/sheets-filter-ui'),le=require('@univerjs/sheets-formula'),ue=require('@univerjs/sheets-formula-ui'),he=require('@univerjs/sheets-hyper-link'),ge=require('@univerjs/sheets-hyper-link-ui'),ve=require('@univerjs/sheets-numfmt'),k=require('@univerjs/sheets-ui'),b=_0x3eb404(0x1f9),T={};function D({ref:_0xf355f0,..._0xbb1086}){const _0xdfca8=_0x3eb404,{icon:_0x3b81c6,id:_0x136ff1,className:_0x2f64ac,extend:_0x14cc7b,..._0x574f0c}=_0xbb1086,_0x4c35fa=(_0xdfca8(0x24d)+_0x136ff1+'\x20'+(_0x2f64ac||''))[_0xdfca8(0x1f8)](),_0x2f5142=U[_0xdfca8(0x289)]('_'+Se());return q(_0x3b81c6,''+_0x136ff1,{'defIds':_0x3b81c6['defIds'],'idSuffix':_0x2f5142['current']},{'ref':_0xf355f0,'className':_0x4c35fa,..._0x574f0c},_0x14cc7b);}function q(_0x52ffff,_0x6f48d4,_0x4a05c1,_0xf27ba6,_0x9d5ec4){const _0x1d72b3=_0x3eb404;return U[_0x1d72b3(0x1fd)](_0x52ffff[_0x1d72b3(0x1d2)],{'key':_0x6f48d4,...de(_0x52ffff,_0x4a05c1,_0x9d5ec4),..._0xf27ba6},(_e(_0x52ffff,_0x4a05c1)['children']||[])['map']((_0x2e1f86,_0x11df90)=>q(_0x2e1f86,_0x6f48d4+'-'+_0x52ffff[_0x1d72b3(0x1d2)]+'-'+_0x11df90,_0x4a05c1,void 0x0,_0x9d5ec4)));}function de(_0x29479d,_0x33564b,_0x2e9dce){const _0x680856=_0x3eb404,_0xdaf032={..._0x29479d[_0x680856(0x237)]};_0x2e9dce!=null&&_0x2e9dce[_0x680856(0x229)]&&_0xdaf032[_0x680856(0x231)]===_0x680856(0x229)&&(_0xdaf032[_0x680856(0x231)]=_0x2e9dce['colorChannel1']),_0x29479d['tag']===_0x680856(0x225)&&_0xdaf032['id']&&(_0xdaf032['id']=_0xdaf032['id']+_0x33564b['idSuffix']),Object[_0x680856(0x1fb)](_0xdaf032)[_0x680856(0x1d3)](([_0x441a24,_0x4a0f4c])=>{const _0x1af08e=_0x680856;_0x441a24===_0x1af08e(0x225)&&typeof _0x4a0f4c==_0x1af08e(0x248)&&(_0xdaf032[_0x441a24]=_0x4a0f4c['replace'](/url\(#(.*)\)/,_0x1af08e(0x208)+_0x33564b[_0x1af08e(0x1ec)]+')'));});const {defIds:_0x4e3561}=_0x33564b;return!_0x4e3561||_0x4e3561['length']===0x0||(_0x29479d[_0x680856(0x1d2)]===_0x680856(0x1cb)&&_0xdaf032[_0x680856(0x1c7)]&&(_0xdaf032['xlink:href']=_0xdaf032[_0x680856(0x1c7)]+_0x33564b[_0x680856(0x1ec)]),Object[_0x680856(0x1fb)](_0xdaf032)[_0x680856(0x1d3)](([_0x2f5769,_0x166a74])=>{const _0x2a6a01=_0x680856;typeof _0x166a74=='string'&&(_0xdaf032[_0x2f5769]=_0x166a74[_0x2a6a01(0x1a5)](/url\(#(.*)\)/,'url(#$1'+_0x33564b['idSuffix']+')'));})),_0xdaf032;}function _e(_0x5eba88,_0x498215){const _0x22dce4=_0x3eb404;var _0x143936;const {defIds:_0xb0599d}=_0x498215;return!_0xb0599d||_0xb0599d[_0x22dce4(0x244)]===0x0?_0x5eba88:_0x5eba88[_0x22dce4(0x1d2)]===_0x22dce4(0x281)&&((_0x143936=_0x5eba88[_0x22dce4(0x1d5)])!=null&&_0x143936['length'])?{..._0x5eba88,'children':_0x5eba88['children']['map'](_0x1132e4=>typeof _0x1132e4[_0x22dce4(0x237)]['id']=='string'&&_0xb0599d&&_0xb0599d['includes'](_0x1132e4[_0x22dce4(0x237)]['id'])?{..._0x1132e4,'attrs':{..._0x1132e4[_0x22dce4(0x237)],'id':_0x1132e4[_0x22dce4(0x237)]['id']+_0x498215['idSuffix']}}:_0x1132e4)}:_0x5eba88;}function Se(){const _0x262bed=_0x3eb404;return Math['random']()[_0x262bed(0x282)](0x24)[_0x262bed(0x217)](0x2,0x8);}D[_0x3eb404(0x1e1)]=_0x3eb404(0x22a);const me={'tag':_0x3eb404(0x21d),'attrs':{'xmlns':_0x3eb404(0x28a),'fill':_0x3eb404(0x1b7),'viewBox':'0\x200\x2016\x2016','width':_0x3eb404(0x280),'height':'1em'},'children':[{'tag':'g','attrs':{'fill':_0x3eb404(0x271),'clipPath':'url(#history-icon_clip0_907_281)'},'children':[{'tag':_0x3eb404(0x1f6),'attrs':{'d':_0x3eb404(0x1ab)}},{'tag':_0x3eb404(0x1f6),'attrs':{'d':_0x3eb404(0x230)}}]},{'tag':_0x3eb404(0x281),'attrs':{},'children':[{'tag':_0x3eb404(0x276),'attrs':{'id':_0x3eb404(0x1dc)},'children':[{'tag':'path','attrs':{'fill':_0x3eb404(0x1b4),'d':_0x3eb404(0x24f)}}]}]}],'defIds':[_0x3eb404(0x1dc)]},$=U[_0x3eb404(0x277)](function(_0x2b1cc7,_0x31dd42){const _0x274ad5=_0x3eb404;return U['createElement'](D,Object[_0x274ad5(0x1f4)]({},_0x2b1cc7,{'id':_0x274ad5(0x1aa),'ref':_0x31dd42,'icon':me}));});$[_0x3eb404(0x1e1)]=_0x3eb404(0x26d);var ye=Object[_0x3eb404(0x251)],pe=(_0x47eda1,_0x48d0f8,_0xb1c305,_0x3cc0df)=>{const _0x4b38d3=_0x3eb404;for(var _0x482ff9=_0x3cc0df>0x1?void 0x0:_0x3cc0df?ye(_0x48d0f8,_0xb1c305):_0x48d0f8,_0x1aa8d=_0x47eda1[_0x4b38d3(0x244)]-0x1,_0x2324a1;_0x1aa8d>=0x0;_0x1aa8d--)(_0x2324a1=_0x47eda1[_0x1aa8d])&&(_0x482ff9=_0x2324a1(_0x482ff9)||_0x482ff9);return _0x482ff9;},g=(_0x4baa60,_0x1f7de0)=>(_0x3fbefb,_0x4c444a)=>_0x1f7de0(_0x3fbefb,_0x4c444a,_0x4baa60);const fe='univer-container',H=_0x3eb404(0x253),y=_0x3eb404(0x1ed);exports['HistoryLoaderService']=class extends o[_0x3eb404(0x1fe)]{constructor(_0x136e4e,_0x57a252,_0x6d6af5,_0xc51b24,_0x28f3fb,_0x56d0ab,_0x2a979d,_0x517204,_0x45a00e,_0x30c061){const _0x8ddf5=_0x3eb404;super(),_(this,'_historyUniver$',new O[(_0x8ddf5(0x1ac))](null)),_(this,_0x8ddf5(0x258),this[_0x8ddf5(0x22d)][_0x8ddf5(0x1d4)]()),_(this,'_disposableCollection',new o['DisposableCollection']()),_(this,_0x8ddf5(0x1fa),new Map()),(this[_0x8ddf5(0x250)]=_0x136e4e,this[_0x8ddf5(0x254)]=_0x57a252,this['_configService']=_0x6d6af5,this[_0x8ddf5(0x223)]=_0xc51b24,this[_0x8ddf5(0x1e0)]=_0x28f3fb,this[_0x8ddf5(0x25c)]=_0x56d0ab,this[_0x8ddf5(0x1e9)]=_0x2a979d,this[_0x8ddf5(0x214)]=_0x517204,this[_0x8ddf5(0x247)]=_0x45a00e,this['_themeService']=_0x30c061,this[_0x8ddf5(0x262)]());}get[_0x3eb404(0x1cf)](){const _0x577919=_0x3eb404;return this[_0x577919(0x22d)]['value'];}['_init'](){const _0xf59733=_0x3eb404;this[_0xf59733(0x28b)](),this[_0xf59733(0x1e4)]();}['_initContainer'](){const _0x5da0c5=_0x3eb404;var _0x8e6e3f;const _0x226f4e=(_0x8e6e3f=this['_configService'][_0x5da0c5(0x1b5)](H))!=null?_0x8e6e3f:fe,_0x2d0c3f=document[_0x5da0c5(0x210)](_0x226f4e);if(!_0x2d0c3f)return;const _0x571d92=document[_0x5da0c5(0x1fd)](_0x5da0c5(0x1ea));_0x571d92['id']=y,_0x571d92[_0x5da0c5(0x1eb)][_0x5da0c5(0x25e)]=_0x5da0c5(0x1da),_0x571d92[_0x5da0c5(0x25f)][_0x5da0c5(0x1a8)]=_0x5da0c5(0x294),_0x571d92[_0x5da0c5(0x25f)][_0x5da0c5(0x274)]='0',_0x571d92[_0x5da0c5(0x25f)][_0x5da0c5(0x279)]='0',_0x571d92[_0x5da0c5(0x25f)]['width']=_0x5da0c5(0x1af),_0x571d92[_0x5da0c5(0x25f)][_0x5da0c5(0x240)]=_0x5da0c5(0x1af),_0x571d92['style']['zIndex']=_0x5da0c5(0x26c),_0x571d92[_0x5da0c5(0x25f)][_0x5da0c5(0x1d1)]=_0x5da0c5(0x1b7),_0x2d0c3f[_0x5da0c5(0x222)](_0x571d92);}[_0x3eb404(0x1e4)](){const _0x13d34f=_0x3eb404;var _0x4a9748,_0x4c4be5,_0x5e7534,_0x192818;[[X['UniverRenderEnginePlugin']],[h[_0x13d34f(0x27b)],{'container':y,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[h['IDialogService'],null]]}],[ee['UniverNetworkPlugin']],[N[_0x13d34f(0x27f)],{'override':[[N['IImageIoService'],null]]}],[z[_0x13d34f(0x288)],{'hasScroll':!0x1}],[Z[_0x13d34f(0x28f)]],[ve[_0x13d34f(0x1a9)]],[d[_0x13d34f(0x239)],{'notExecuteFormula':!0x0}],[k[_0x13d34f(0x23c)]],[le[_0x13d34f(0x215)]],[ue['UniverSheetsFormulaUIPlugin']],[C[_0x13d34f(0x227)]],[ae[_0x13d34f(0x1b3)]],[ce[_0x13d34f(0x25a)]],[ie[_0x13d34f(0x284)]],[te[_0x13d34f(0x220)]],[he[_0x13d34f(0x1ef)]],[ge[_0x13d34f(0x28d)]],[B[_0x13d34f(0x1f7)]],[re[_0x13d34f(0x1c5)]],[ne[_0x13d34f(0x293)]],[Q[_0x13d34f(0x1df)],{'notExecuteFormula':!0x0}],[R[_0x13d34f(0x1d9)],{'workerURL':(_0x4c4be5=(_0x4a9748=this['_configService'][_0x13d34f(0x1b5)](R[_0x13d34f(0x1c0)]))==null?void 0x0:_0x4a9748[_0x13d34f(0x1b8)])!=null?_0x4c4be5:_0x13d34f(0x292)}],[J['UniverDrawingUIPlugin']],[se[_0x13d34f(0x285)]],[oe['UniverSheetsDrawingUIPlugin']],[K[_0x13d34f(0x1e2)]],[W['UniverSheetSparklineUIPlugin']],[V[_0x13d34f(0x232)]],[G[_0x13d34f(0x27d)]],[Y[_0x13d34f(0x21f)],{'notExecuteFormula':!0x0}],[m['UniverEditHistoryViewerPlugin'],{'historyListServerUrl':(_0x5e7534=this[_0x13d34f(0x26e)][_0x13d34f(0x1b5)](b))==null?void 0x0:_0x5e7534[_0x13d34f(0x1f1)],'historyPanelComponentKey':(_0x192818=this[_0x13d34f(0x26e)][_0x13d34f(0x1b5)](b))==null?void 0x0:_0x192818[_0x13d34f(0x269)]}]][_0x13d34f(0x1d3)](([_0x35108a,_0x5c71f7])=>this[_0x13d34f(0x1b6)](_0x35108a,_0x5c71f7));}['dispose'](){const _0x414341=_0x3eb404;super['dispose'](),this[_0x414341(0x256)](),this[_0x414341(0x1fa)][_0x414341(0x260)]();}['registerPlugin'](_0x133b21,_0x2f7557,_0x5836d4){const _0x4065b1=_0x3eb404;if(this['_pluginMap'][_0x4065b1(0x1c9)](_0x133b21[_0x4065b1(0x219)])&&!_0x5836d4)throw new Error(_0x4065b1(0x26f)+_0x133b21['pluginName']+'\x20has\x20been\x20registered.');this[_0x4065b1(0x1fa)][_0x4065b1(0x1a4)](_0x133b21['pluginName'],[_0x133b21,_0x2f7557]);}['getAllPlugins'](){const _0xab6cb0=_0x3eb404;return Array[_0xab6cb0(0x287)](this[_0xab6cb0(0x1fa)]['values']());}[_0x3eb404(0x1e3)](_0x4f03c7){const _0xf274c0=_0x3eb404,_0x4f66ba=document[_0xf274c0(0x210)](y);_0x4f66ba&&(_0x4f66ba[_0xf274c0(0x25f)][_0xf274c0(0x1d1)]=_0xf274c0(0x20f),this[_0xf274c0(0x23e)](_0x4f03c7,y));}[_0x3eb404(0x256)](){const _0x3af720=_0x3eb404;var _0x53dd69;this[_0x3af720(0x1d7)]['dispose'](),(_0x53dd69=this['historyUniver'])==null||_0x53dd69[_0x3af720(0x275)](),this[_0x3af720(0x22d)][_0x3af720(0x273)](null);const _0xb9a907=document[_0x3af720(0x210)](y);_0xb9a907&&(_0xb9a907[_0x3af720(0x25f)][_0x3af720(0x1d1)]='none');}[_0x3eb404(0x23e)](_0x11f7a2,_0x5d64a5){const _0x195d4f=_0x3eb404;if(this['historyUniver'])return;const _0x323a5e=new o[(_0x195d4f(0x200))]({'locales':{[this[_0x195d4f(0x250)][_0x195d4f(0x1d8)]()]:this[_0x195d4f(0x250)][_0x195d4f(0x1f5)]()},'override':[[o[_0x195d4f(0x21a)],{'useClass':p[_0x195d4f(0x286)]}]]}),_0x99d90=_0x323a5e['__getInjector']();this[_0x195d4f(0x20d)](this[_0x195d4f(0x201)][_0x195d4f(0x290)][_0x195d4f(0x203)](_0x4f4a6d=>{const _0x58c0a1=_0x195d4f;_0x99d90[_0x58c0a1(0x243)](o[_0x58c0a1(0x23a)])[_0x58c0a1(0x207)](_0x4f4a6d);})),this[_0x195d4f(0x20d)](this['_themeService'][_0x195d4f(0x1fc)][_0x195d4f(0x203)](_0x2bbc66=>{const _0x561e4f=_0x195d4f;_0x99d90[_0x561e4f(0x243)](o['ThemeService'])[_0x561e4f(0x22b)](_0x2bbc66);})),_0x99d90[_0x195d4f(0x243)](o[_0x195d4f(0x24c)])[_0x195d4f(0x245)](this[_0x195d4f(0x250)][_0x195d4f(0x1d8)]()),_0x99d90[_0x195d4f(0x243)](o[_0x195d4f(0x1bf)])[_0x195d4f(0x236)](p[_0x195d4f(0x218)],this['_configService'][_0x195d4f(0x1b5)](p[_0x195d4f(0x218)]));const _0x1b8f17=this[_0x195d4f(0x26e)]['getConfig'](L[_0x195d4f(0x257)]);_0x1b8f17&&_0x323a5e[_0x195d4f(0x1b6)](L['UniverLicensePlugin'],{'license':_0x1b8f17['ls']}),this[_0x195d4f(0x1fa)][_0x195d4f(0x1d3)](([_0x13caed,_0x162a1b])=>{const _0x3345b4=_0x195d4f;_0x323a5e[_0x3345b4(0x1b6)](_0x13caed,_0x162a1b);}),_0x99d90['invoke'](_0x20481a=>{const _0x4101e9=_0x195d4f;this[_0x4101e9(0x1b0)](_0x20481a,_0x11f7a2);}),this[_0x195d4f(0x22d)][_0x195d4f(0x273)](_0x323a5e);const _0x5ccb5e=_0x99d90['get'](m[_0x195d4f(0x1f3)]),_0x5845d9=this[_0x195d4f(0x270)](_0x11f7a2);_0x5ccb5e[_0x195d4f(0x1d6)](_0x11f7a2,_0x5d64a5,_0x5845d9);}[_0x3eb404(0x1b0)](_0x32f306,_0x516378){const _0x542f4b=_0x3eb404,_0x12f5a0=_0x32f306[_0x542f4b(0x243)](m['HistoryManagerService']);this['_disposableCollection'][_0x542f4b(0x234)](_0x12f5a0['status$'][_0x542f4b(0x203)](_0x263e42=>{const _0x52dfac=_0x542f4b;switch(_0x263e42){case m[_0x52dfac(0x265)][_0x52dfac(0x224)]:this[_0x52dfac(0x214)][_0x52dfac(0x233)](),this['_sidebarService']['close']();break;case m[_0x52dfac(0x265)][_0x52dfac(0x1b2)]:this[_0x52dfac(0x223)]['executeCommand'](j['id']),this[_0x52dfac(0x256)]();break;case m[_0x52dfac(0x265)][_0x52dfac(0x263)]:this['unMountHistoryContent'](),this[_0x52dfac(0x1e0)][_0x52dfac(0x23b)]({'content':this[_0x52dfac(0x250)]['t'](_0x52dfac(0x20e)),'type':P[_0x52dfac(0x1dd)][_0x52dfac(0x263)],'duration':0xbb8});break;}})),this[_0x542f4b(0x1d7)][_0x542f4b(0x234)](_0x12f5a0[_0x542f4b(0x1a3)][_0x542f4b(0x203)](async _0x5e2f69=>{const _0x238022=_0x542f4b;_0x5e2f69&&this[_0x238022(0x223)][_0x238022(0x1ba)](C[_0x238022(0x1e8)]['id'],{'unitId':_0x516378,'revision':_0x5e2f69});}));}[_0x3eb404(0x270)](_0x126472){const _0x2feead=_0x3eb404,_0x15e421=this[_0x2feead(0x254)][_0x2feead(0x21b)](_0x126472)['getSheets']()[_0x2feead(0x1f2)](_0x36fd0a=>_0x36fd0a[_0x2feead(0x268)]()),_0x4d33fd=new d[(_0x2feead(0x1e5))](_0x126472)['id'],_0x12e10d=_0x15e421[_0x2feead(0x1f2)](_0x142a37=>new d[(_0x2feead(0x255))](_0x126472,_0x142a37)['id']),_0x474008=_0x15e421[_0x2feead(0x1f2)](_0x5307e2=>this[_0x2feead(0x1e9)]['getSubunitRuleList'](_0x126472,_0x5307e2)['map'](_0x63c758=>new d[(_0x2feead(0x1ee))](_0x126472,_0x5307e2,_0x63c758['permissionId'])['id']))[_0x2feead(0x241)](),_0x148b61=new d[(_0x2feead(0x21c))](_0x126472)['id'];return this[_0x2feead(0x25c)][_0x2feead(0x1ff)]([_0x4d33fd,..._0x12e10d,..._0x474008,_0x148b61])[_0x2feead(0x20b)](_0x3fecde=>!!_0x3fecde['value']);}},exports[_0x3eb404(0x246)]=pe([g(0x0,o[_0x3eb404(0x28c)](o['LocaleService'])),g(0x1,o[_0x3eb404(0x267)]),g(0x2,o[_0x3eb404(0x1bf)]),g(0x3,o[_0x3eb404(0x216)]),g(0x4,h[_0x3eb404(0x283)]),g(0x5,o[_0x3eb404(0x24e)]),g(0x6,o['Inject'](d[_0x3eb404(0x25d)])),g(0x7,o[_0x3eb404(0x28c)](h[_0x3eb404(0x206)])),g(0x8,o[_0x3eb404(0x28c)](h['ISidebarService'])),g(0x9,o[_0x3eb404(0x28c)](o[_0x3eb404(0x23a)]))],exports[_0x3eb404(0x246)]);const M={'id':_0x3eb404(0x22f),'type':o['CommandType'][_0x3eb404(0x252)],'handler':_0x20839e=>{const _0xd2ce1b=_0x3eb404,_0x5c0e68=_0x20839e[_0xd2ce1b(0x243)](exports[_0xd2ce1b(0x246)]),_0x4332a9=_0x20839e[_0xd2ce1b(0x243)](o[_0xd2ce1b(0x267)]),{unitId:_0x3b5738}=d[_0xd2ce1b(0x23d)](_0x4332a9)||{};return _0x3b5738?(_0x5c0e68[_0xd2ce1b(0x1e3)](_0x3b5738),!0x0):!0x1;}},j={'id':_0x3eb404(0x221),'type':o[_0x3eb404(0x1ce)]['OPERATION'],'handler':()=>!0x0};function _0x5a51(_0x526b32,_0x14898b){_0x526b32=_0x526b32-0x1a3;const _0x47234d=_0x4723();let _0x5a5150=_0x47234d[_0x526b32];return _0x5a5150;}function Ce(_0x2d1e43){const _0x5cd5c4=_0x3eb404;return{'id':M['id'],'type':h['MenuItemType'][_0x5cd5c4(0x22c)],'icon':_0x5cd5c4(0x26d),'tooltip':_0x5cd5c4(0x235),'hidden$':h[_0x5cd5c4(0x1c4)](_0x2d1e43,o[_0x5cd5c4(0x1b9)][_0x5cd5c4(0x204)]),'disabled$':k[_0x5cd5c4(0x27e)](_0x2d1e43,{'workbookTypes':[d[_0x5cd5c4(0x1e5)],d[_0x5cd5c4(0x228)]],'worksheetTypes':[],'rangeTypes':[]})};}const Ie={[h[_0x3eb404(0x1ad)][_0x3eb404(0x272)]]:{[M['id']]:{'order':0.2,'menuItemFactory':Ce}}};var Ue=Object[_0x3eb404(0x251)],Ee=(_0x24bc35,_0x2de06e,_0x7083d4,_0x43dcab)=>{const _0x5e1abf=_0x3eb404;for(var _0x1253f5=_0x43dcab>0x1?void 0x0:_0x43dcab?Ue(_0x2de06e,_0x7083d4):_0x2de06e,_0x523bd6=_0x24bc35[_0x5e1abf(0x244)]-0x1,_0x23e9dc;_0x523bd6>=0x0;_0x523bd6--)(_0x23e9dc=_0x24bc35[_0x523bd6])&&(_0x1253f5=_0x23e9dc(_0x1253f5)||_0x1253f5);return _0x1253f5;},S=(_0x5311c1,_0x1169b0)=>(_0xb03402,_0x3bbfab)=>_0x1169b0(_0xb03402,_0x3bbfab,_0x5311c1);let E=class extends o[_0x3eb404(0x1bb)]{constructor(_0x20508b,_0x13b2f6,_0x3afd2f,_0x4ed2c9,_0x282da7,_0x4801f3,_0x54cf5c,_0x6cf80a){const _0x58dc4b=_0x3eb404;super(),_(this,_0x58dc4b(0x249),null),(this[_0x58dc4b(0x223)]=_0x20508b,this[_0x58dc4b(0x266)]=_0x13b2f6,this[_0x58dc4b(0x1e7)]=_0x3afd2f,this[_0x58dc4b(0x1e6)]=_0x4ed2c9,this[_0x58dc4b(0x250)]=_0x282da7,this[_0x58dc4b(0x1e0)]=_0x4801f3,this['_collaborationController']=_0x54cf5c,this[_0x58dc4b(0x202)]=_0x6cf80a,this[_0x58dc4b(0x262)]());}[_0x3eb404(0x262)](){const _0x6cc289=_0x3eb404;[M,j][_0x6cc289(0x1d3)](_0xf45b31=>this[_0x6cc289(0x20d)](o['toDisposable'](this[_0x6cc289(0x223)]['registerCommand'](_0xf45b31)))),this[_0x6cc289(0x20d)](this[_0x6cc289(0x1e7)]['register'](_0x6cc289(0x26d),$)),this[_0x6cc289(0x266)]['mergeMenu'](Ie),this[_0x6cc289(0x20d)](this[_0x6cc289(0x223)]['onCommandExecuted'](_0x1749f9=>{const _0x363d43=_0x6cc289;if(_0x1749f9['id']===C[_0x363d43(0x1e8)]['id']){this[_0x363d43(0x1e0)][_0x363d43(0x23b)]({'content':this[_0x363d43(0x250)]['t']('editHistory.panel.reverting'),'type':P[_0x363d43(0x1dd)]['Loading'],'duration':0x1388});const {unitId:_0x2ad202}=_0x1749f9[_0x363d43(0x226)],_0x236fc5=this[_0x363d43(0x1c6)][_0x363d43(0x209)](_0x2ad202),_0x3c4afd=O[_0x363d43(0x261)]([_0x236fc5[_0x363d43(0x21e)]['event$'],_0x236fc5[_0x363d43(0x28e)]])['subscribe'](async([_0xd3e681,_0x3bbec1])=>{const _0x1dfe76=_0x363d43;var _0x21306d;_0xd3e681[_0x1dfe76(0x264)]===C[_0x1dfe76(0x1c2)][_0x1dfe76(0x1db)]&&(_0x3bbec1==null?void 0x0:_0x3bbec1[_0x1dfe76(0x20a)])===p[_0x1dfe76(0x27a)][_0x1dfe76(0x1a6)]&&_0xd3e681['data'][_0x1dfe76(0x24b)]['some'](_0x53f06c=>_0x53f06c['id']===C[_0x1dfe76(0x1e8)]['id'])&&(this[_0x1dfe76(0x1e6)][_0x1dfe76(0x256)](),_0x3c4afd[_0x1dfe76(0x24a)](),this[_0x1dfe76(0x249)]&&clearTimeout(this[_0x1dfe76(0x249)]),await((_0x21306d=this[_0x1dfe76(0x202)])==null?void 0x0:_0x21306d[_0x1dfe76(0x211)]()),setTimeout(()=>window[_0x1dfe76(0x1bd)][_0x1dfe76(0x1bc)]()));});this['_revertErrorTimer']=setTimeout(()=>{const _0x2075f1=_0x363d43;_0x3c4afd['unsubscribe'](),this['_messageService'][_0x2075f1(0x23b)]({'content':this[_0x2075f1(0x250)]['t'](_0x2075f1(0x213)),'type':P[_0x2075f1(0x1dd)][_0x2075f1(0x263)],'duration':0xbb8});},0x1388);}}));}};E=Ee([S(0x0,o[_0x3eb404(0x216)]),S(0x1,h['IMenuManagerService']),S(0x2,o['Inject'](h[_0x3eb404(0x26b)])),S(0x3,o[_0x3eb404(0x28c)](exports['HistoryLoaderService'])),S(0x4,o[_0x3eb404(0x28c)](o[_0x3eb404(0x24c)])),S(0x5,h[_0x3eb404(0x283)]),S(0x6,o[_0x3eb404(0x28c)](p['CollaborationController'])),S(0x7,p[_0x3eb404(0x1cc)])],E);function _0x4723(){const _0x10a2f6=['univer-history-container','RangeProtectionPermissionEditPoint','UniverSheetsHyperLinkPlugin','Module','historyListServerUrl','map','HistoryManagerService','assign','getLocales','path','UniverDataValidationPlugin','trim','edit-history-loader.config','_pluginMap','entries','currentTheme$','createElement','Disposable','composePermission','Univer','_themeService','_localCacheService','subscribe','UNIVER_SHEET','503115DsNQTD','IDialogService','setDarkMode','url(#$1','getCollabEntity','status','every','523551hkJYPt','disposeWithMe','editHistory.panel.listFetchError','block','getElementById','exhaustSavingTask','menu','editHistory.panel.revertFailed','_dialogService','UniverSheetsFormulaPlugin','ICommandService','substring','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','pluginName','IAuthzIoService','getUnit','WorkbookRecoverHistoryPermission','svg','session','UniverSheetsPivotTablePlugin','UniverSheetsConditionalFormattingUIPlugin','univer.operation.exit-edit-history','appendChild','_commandService','Entered','mask','params','UniverCollaborationPlugin','WorkbookViewHistoryPermission','colorChannel1','UniverIcon','setTheme','BUTTON','_historyUniver$','839940eKWHQv','univer.operation.toggle-edit-history','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','fill','UniverSheetsChartPlugin','closeAll','add','editHistory.panel.title','setConfig','attrs','336lQeOkf','UniverSheetsPlugin','ThemeService','show','UniverSheetsUIPlugin','getSheetCommandTarget','_initUniver','Plugin','height','flat','defineProperty','get','length','setLocale','HistoryLoaderService','_sidebarService','string','_revertErrorTimer','unsubscribe','mutations','LocaleService','univerjs-icon\x20univerjs-icon-','IPermissionService','M0\x200H16V16H0z','_localeService','getOwnPropertyDescriptor','OPERATION','UNIVER_CONTAINER_ID','_univerInstanceService','WorksheetEditPermission','unMountHistoryContent','LS_CONFIG_KEY','historyUniver$','onStarting','UniverSheetsFilterUIPlugin','toStringTag','_permissionService','RangeProtectionRuleModel','uComp','style','clear','combineLatest','_init','Error','eventID','HistoryModeStatus','_menuManagerService','IUniverInstanceService','getSheetId','historyPanelComponentKey','univerContainerId','ComponentManager','1000','HistoryIcon','_configService','[HistoryLoaderService]:\x20Plugin\x20','_checkCanRevert','currentColor','OTHERS','next','top','dispose','clipPath','forwardRef','onSteady','left','CollaborationStatus','UniverUIPlugin','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','UniverSheetsChartUIPlugin','getCurrentRangeDisable$','UniverDrawingPlugin','1em','defs','toString','IMessageService','UniverSheetsConditionalFormattingPlugin','UniverSheetsDrawingPlugin','AuthzIoHttpService','from','UniverDocsPlugin','useRef','http://www.w3.org/2000/svg','_initContainer','Inject','UniverSheetsHyperLinkUIPlugin','state$','UniverDocsUIPlugin','darkMode$','UNIVER_HISTORY_CONTAINER_ID','./worker.js','UniverSheetsDataValidationUIPlugin','absolute','revertRevision$','set','replace','SYNCED','UniverEditHistoryLoaderPlugin','position','UniverSheetsNumfmtPlugin','history-icon','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','BehaviorSubject','RibbonStartGroup','124010BfVUQS','100%','_initListener','301460KHEfip','Exited','UniverSheetsFilterPlugin','white','getConfig','registerPlugin','none','workerURL','UniverInstanceType','executeCommand','RxDisposable','reload','location','type','IConfigService','PLUGIN_CONFIG_KEY_MAIN_THREAD','_injector','CollaborationEvent','3757059QjCVQM','getMenuHiddenObservable','UniverSheetsDataValidationPlugin','_collaborationController','xlink:href','Injector','has','merge','use','ILocalCacheService','8SAArtm','CommandType','historyUniver','6128MOiVFn','display','tag','forEach','asObservable','children','triggerLoadVersions','_disposableCollection','getCurrentLocale','UniverRPCMainThreadPlugin','history-container','CHANGESET_ACK','history-icon_clip0_907_281','MessageType','_config','UniverFormulaEnginePlugin','_messageService','displayName','UniverSheetSparklinePlugin','mountHistoryContent','_initPlugins','WorkbookEditablePermission','_historyManagerService','_componentManager','RevertRevisionMutation','_selectionProtectionRuleModel','div','dataset','idSuffix'];_0x4723=function(){return _0x10a2f6;};return _0x4723();}var Pe=Object[_0x3eb404(0x251)],be=(_0x1b5ab0,_0x38e6f1,_0x202546,_0x460fe0)=>{const _0x42b7d8=_0x3eb404;for(var _0x49c3a0=_0x460fe0>0x1?void 0x0:_0x460fe0?Pe(_0x38e6f1,_0x202546):_0x38e6f1,_0x139155=_0x1b5ab0[_0x42b7d8(0x244)]-0x1,_0x59644d;_0x139155>=0x0;_0x139155--)(_0x59644d=_0x1b5ab0[_0x139155])&&(_0x49c3a0=_0x59644d(_0x49c3a0)||_0x49c3a0);return _0x49c3a0;},w=(_0x2e4f9d,_0x1cd9c8)=>(_0x26dcf3,_0x4d13d1)=>_0x1cd9c8(_0x26dcf3,_0x4d13d1,_0x2e4f9d);const He=_0x3eb404(0x27c);var I;exports[_0x3eb404(0x1a7)]=(I=class extends o[_0x3eb404(0x23f)]{constructor(_0x57bbd0=T,_0x4492b4,_0x476017){const _0x10a3dc=_0x3eb404;super(),this[_0x10a3dc(0x1de)]=_0x57bbd0,this[_0x10a3dc(0x1c1)]=_0x4492b4,this[_0x10a3dc(0x26e)]=_0x476017;const {menu:_0x2b99c7,..._0x354fa6}=o[_0x10a3dc(0x1ca)]({},T,this['_config']);_0x2b99c7&&this[_0x10a3dc(0x26e)][_0x10a3dc(0x236)](_0x10a3dc(0x212),_0x2b99c7,{'merge':!0x0}),this[_0x10a3dc(0x26e)]['setConfig'](b,_0x354fa6),this[_0x10a3dc(0x1de)][_0x10a3dc(0x26a)]&&this[_0x10a3dc(0x26e)][_0x10a3dc(0x236)](H,this[_0x10a3dc(0x1de)][_0x10a3dc(0x26a)]);}[_0x3eb404(0x259)](){const _0x57ce07=_0x3eb404;[[exports[_0x57ce07(0x246)]],[E]]['forEach'](_0x364e29=>this[_0x57ce07(0x1c1)][_0x57ce07(0x234)](_0x364e29));}[_0x3eb404(0x278)](){this['_injector']['get'](E);}},_(I,_0x3eb404(0x1be),o[_0x3eb404(0x1b9)]['UNIVER_UNKNOWN']),_(I,_0x3eb404(0x219),He),I),exports[_0x3eb404(0x1a7)]=be([w(0x1,o['Inject'](o[_0x3eb404(0x1c8)])),w(0x2,o['IConfigService'])],exports[_0x3eb404(0x1a7)]),exports['UNIVER_CONTAINER_ID_KEY']=H,exports[_0x3eb404(0x291)]=y;
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x3e9464=_0x6d24;(function(_0x150428,_0x3ee43f){const _0x3a247b=_0x6d24,_0x5f1aa1=_0x150428();while(!![]){try{const _0x538a50=-parseInt(_0x3a247b(0x206))/0x1*(-parseInt(_0x3a247b(0x226))/0x2)+-parseInt(_0x3a247b(0x1ef))/0x3*(-parseInt(_0x3a247b(0x22b))/0x4)+parseInt(_0x3a247b(0x246))/0x5*(-parseInt(_0x3a247b(0x20f))/0x6)+parseInt(_0x3a247b(0x1bd))/0x7+parseInt(_0x3a247b(0x24f))/0x8+parseInt(_0x3a247b(0x1b9))/0x9*(-parseInt(_0x3a247b(0x1ca))/0xa)+parseInt(_0x3a247b(0x223))/0xb*(-parseInt(_0x3a247b(0x1c5))/0xc);if(_0x538a50===_0x3ee43f)break;else _0x5f1aa1['push'](_0x5f1aa1['shift']());}catch(_0x1a07f9){_0x5f1aa1['push'](_0x5f1aa1['shift']());}}}(_0x5e3d,0xbf875));var Y=Object[_0x3e9464(0x217)],B=(_0x384d26,_0x21c8ef,_0x404d53)=>_0x21c8ef in _0x384d26?Y(_0x384d26,_0x21c8ef,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x404d53}):_0x384d26[_0x21c8ef]=_0x404d53,g=(_0xc342c0,_0x1fd9f5,_0x1c2fea)=>B(_0xc342c0,typeof _0x1fd9f5!=_0x3e9464(0x239)?_0x1fd9f5+'':_0x1fd9f5,_0x1c2fea);function _0x5e3d(){const _0x5b3322=['white','zIndex','history-container','getSheetId','url(#$1','UNIVER_SHEET','_revertErrorTimer','univerContainerId','mask','_checkCanRevert','BUTTON','_initListener','use','_historyUniver$','closeAll','historyPanelComponentKey','_selectionProtectionRuleModel','disposeWithMe','univer.operation.toggle-edit-history','attrs','menu','editHistory.panel.listFetchError','_permissionService','toString','editHistory.panel.title','_messageService','historyUniver','1623gpMryU','_commandService','set','setTheme','displayName','UniverIcon','univerjs-icon\x20univerjs-icon-','composePermission','forEach','trim','absolute','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','registerPlugin','div','getCurrentLocale','HistoryIcon','_dialogService','event$','exhaustSavingTask','1em','defs','historyListServerUrl','editHistory.panel.revertFailed','5nKTWGV','__getInjector','includes','getConfig','close','unsubscribe','getCollabEntity','_injector','length','6019938OylDiU','clipPath','display','appendChild','Error','url(#history-icon_clip0_907_281)','status','add','defineProperty','asObservable','type','mutations','state$','uComp','style','getElementById','next','revertRevision$','entries','_disposableCollection','2273469TvFlgp','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','block','400396iDBTfO','1000','get','OTHERS','idSuffix','10148tXagLs','workerURL','register','position','_historyManagerService','setLocale','createElement','has','assign','_initPlugins','edit-history-loader.config','_themeService','mergeMenu','onStarting','symbol','xlink:href','onSteady','show','100%','getSheets','string','svg','dispose','historyUniver$','_localeService','unMountHistoryContent','_menuManagerService','5ZPNtbs','getUnit','replace','currentTheme$','_univerInstanceService','[HistoryLoaderService]:\x20Plugin\x20','http://www.w3.org/2000/svg','_config','_configService','4475464jfofhd','defIds','_initUniver','mountHistoryContent','OPERATION','every','Loading','\x20has\x20been\x20registered.','_localCacheService','path','permissionId','subscribe','setConfig','children','map','onCommandExecuted','random','getAllPlugins','Exited','_pluginMap','setDarkMode','M0\x200H16V16H0z','dataset','_componentManager','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','UNIVER_UNKNOWN','./worker.js','status$','executeCommand','value','_initContainer','pluginName','9QQAUEx','from','univer-container','some','9548196PQeJac','getOwnPropertyDescriptor','params','none','width','SYNCED','_sidebarService','flat','132DjMikC','top','fill','clear','tag','2356750LQLNDJ','invoke','_collaborationController','_init','height','history-icon_clip0_907_281','darkMode$','colorChannel1','current','univer-history-container'];_0x5e3d=function(){return _0x5b3322;};return _0x5e3d();}import{Inject as _0x25fe33,LocaleService as _0x548403,IUniverInstanceService as _0x399674,IConfigService as _0x5e4c50,ICommandService as _0x2eaec9,IPermissionService as _0x1c798f,ThemeService as _0x42b028,Disposable as _0x5bba4b,DisposableCollection as _0x12c0ff,Univer as _0x52900e,IAuthzIoService as _0x544b5f,CommandType as _0x165f38,UniverInstanceType as _0x194ec1,RxDisposable as _0x121c22,toDisposable as _0x4e346c,Plugin as _0x493d29,merge as _0x2abd5c,Injector as _0xf8d04a}from'@univerjs/core';import{UniverCollaborationPlugin as _0x2b7fce,RevertRevisionMutation as _0x184b26,CollaborationEvent as _0x3be8b7}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x550914,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0xa26f74,CollaborationController as _0x3f5841,ILocalCacheService as _0x15bea6,CollaborationStatus as _0x36af8c}from'@univerjs-pro/collaboration-client';import{MessageType as _0x139df4}from'@univerjs/design';import{useRef as _0x1ee2d2,createElement as _0x3efab1,forwardRef as _0x12baec}from'react';import{IMessageService as _0x38756a,IDialogService as _0x7b3093,ISidebarService as _0x50e881,UniverUIPlugin as _0x37990f,getMenuHiddenObservable as _0x476ddc,MenuItemType as _0x377956,RibbonStartGroup as _0x399ef4,IMenuManagerService as _0x55b074,ComponentManager as _0x4fe6da}from'@univerjs/ui';import{BehaviorSubject as _0x1e8ac2,combineLatest as _0x347d03}from'rxjs';import{RangeProtectionRuleModel as _0x8108a8,UniverSheetsPlugin as _0x5ee71e,WorkbookEditablePermission as _0x1b4814,WorksheetEditPermission as _0x5d0e6f,RangeProtectionPermissionEditPoint as _0x23f237,WorkbookRecoverHistoryPermission as _0x313a75,getSheetCommandTarget as _0x7533ce,WorkbookViewHistoryPermission as _0x46a095}from'@univerjs/sheets';import{UniverEditHistoryViewerPlugin as _0xbaadcb,HistoryManagerService as _0x80b01d,HistoryModeStatus as _0x387498}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0xe6e52d,UniverLicensePlugin as _0x57f9aa}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x2ad158}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0x4cf70d}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x526a1a}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x9c8555}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x406a2f}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x12bcf7}from'@univerjs/data-validation';import{UniverDocsPlugin as _0x2124ed}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x29e56f}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0x510f31,IImageIoService as _0x1646b4}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x72bb2a}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x136ea0}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0xaa4b4d}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0xb1e1e4}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0x151420,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0x392b38}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x5b88a6}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0xe2449d}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x55f049}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationUIPlugin as _0x34b5de}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x1c60ff}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0xb9acd7}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x380130}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x17b14e}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x5b44cb}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x4459f2}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x1d1edf}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x422485}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x17a62e}from'@univerjs/sheets-numfmt';import{UniverSheetsUIPlugin as _0x498cfc,getCurrentRangeDisable$ as _0x14f44f}from'@univerjs/sheets-ui';const U=_0x3e9464(0x235),N={};function F({ref:_0x3173b2,..._0x562b8d}){const _0x1e332c=_0x3e9464,{icon:_0xc5fcf6,id:_0x441048,className:_0xfe1fd6,extend:_0x2cfe86,..._0x102bb8}=_0x562b8d,_0x511e40=(_0x1e332c(0x1f5)+_0x441048+'\x20'+(_0xfe1fd6||''))[_0x1e332c(0x1f8)](),_0x155f86=_0x1ee2d2('_'+hi());return j(_0xc5fcf6,''+_0x441048,{'defIds':_0xc5fcf6[_0x1e332c(0x250)],'idSuffix':_0x155f86[_0x1e332c(0x1d2)]},{'ref':_0x3173b2,'className':_0x511e40,..._0x102bb8},_0x2cfe86);}function j(_0x168e9f,_0x38e9eb,_0x5c0d0d,_0x83f759,_0x4f35ff){const _0x375e61=_0x3e9464;return _0x3efab1(_0x168e9f[_0x375e61(0x1c9)],{'key':_0x38e9eb,...ci(_0x168e9f,_0x5c0d0d,_0x4f35ff),..._0x83f759},(li(_0x168e9f,_0x5c0d0d)[_0x375e61(0x25c)]||[])[_0x375e61(0x1a7)]((_0x375e29,_0xa0afa7)=>j(_0x375e29,_0x38e9eb+'-'+_0x168e9f['tag']+'-'+_0xa0afa7,_0x5c0d0d,void 0x0,_0x4f35ff)));}function ci(_0x2912f3,_0x5723e8,_0x170018){const _0x5880ac=_0x3e9464,_0x34f167={..._0x2912f3['attrs']};_0x170018!=null&&_0x170018[_0x5880ac(0x1d1)]&&_0x34f167[_0x5880ac(0x1c7)]===_0x5880ac(0x1d1)&&(_0x34f167['fill']=_0x170018[_0x5880ac(0x1d1)]),_0x2912f3[_0x5880ac(0x1c9)]===_0x5880ac(0x1dc)&&_0x34f167['id']&&(_0x34f167['id']=_0x34f167['id']+_0x5723e8[_0x5880ac(0x22a)]),Object[_0x5880ac(0x221)](_0x34f167)['forEach'](([_0x5a546e,_0x742618])=>{const _0x331a7e=_0x5880ac;_0x5a546e===_0x331a7e(0x1dc)&&typeof _0x742618==_0x331a7e(0x23f)&&(_0x34f167[_0x5a546e]=_0x742618[_0x331a7e(0x248)](/url\(#(.*)\)/,_0x331a7e(0x1d8)+_0x5723e8[_0x331a7e(0x22a)]+')'));});const {defIds:_0x6e749d}=_0x5723e8;return!_0x6e749d||_0x6e749d[_0x5880ac(0x20e)]===0x0||(_0x2912f3['tag']===_0x5880ac(0x1e0)&&_0x34f167[_0x5880ac(0x23a)]&&(_0x34f167[_0x5880ac(0x23a)]=_0x34f167['xlink:href']+_0x5723e8[_0x5880ac(0x22a)]),Object[_0x5880ac(0x221)](_0x34f167)[_0x5880ac(0x1f7)](([_0x2cf554,_0x11a0e8])=>{const _0x610c3d=_0x5880ac;typeof _0x11a0e8==_0x610c3d(0x23f)&&(_0x34f167[_0x2cf554]=_0x11a0e8[_0x610c3d(0x248)](/url\(#(.*)\)/,_0x610c3d(0x1d8)+_0x5723e8[_0x610c3d(0x22a)]+')'));})),_0x34f167;}function li(_0x40ec70,_0x1debbb){const _0x252433=_0x3e9464;var _0x2691bd;const {defIds:_0x3558dc}=_0x1debbb;return!_0x3558dc||_0x3558dc[_0x252433(0x20e)]===0x0?_0x40ec70:_0x40ec70[_0x252433(0x1c9)]===_0x252433(0x203)&&((_0x2691bd=_0x40ec70[_0x252433(0x25c)])!=null&&_0x2691bd[_0x252433(0x20e)])?{..._0x40ec70,'children':_0x40ec70[_0x252433(0x25c)][_0x252433(0x1a7)](_0xb89e00=>typeof _0xb89e00['attrs']['id']==_0x252433(0x23f)&&_0x3558dc&&_0x3558dc[_0x252433(0x208)](_0xb89e00[_0x252433(0x1e7)]['id'])?{..._0xb89e00,'attrs':{..._0xb89e00[_0x252433(0x1e7)],'id':_0xb89e00[_0x252433(0x1e7)]['id']+_0x1debbb[_0x252433(0x22a)]}}:_0xb89e00)}:_0x40ec70;}function hi(){const _0x4cc04f=_0x3e9464;return Math[_0x4cc04f(0x1a9)]()[_0x4cc04f(0x1eb)](0x24)['substring'](0x2,0x8);}F[_0x3e9464(0x1f3)]=_0x3e9464(0x1f4);const ui={'tag':_0x3e9464(0x240),'attrs':{'xmlns':_0x3e9464(0x24c),'fill':_0x3e9464(0x1c0),'viewBox':'0\x200\x2016\x2016','width':_0x3e9464(0x202),'height':_0x3e9464(0x202)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x3e9464(0x214)},'children':[{'tag':'path','attrs':{'d':_0x3e9464(0x1fa)}},{'tag':_0x3e9464(0x258),'attrs':{'d':_0x3e9464(0x224)}}]},{'tag':_0x3e9464(0x203),'attrs':{},'children':[{'tag':_0x3e9464(0x210),'attrs':{'id':_0x3e9464(0x1cf)},'children':[{'tag':_0x3e9464(0x258),'attrs':{'fill':_0x3e9464(0x1d4),'d':_0x3e9464(0x1ae)}}]}]}],'defIds':['history-icon_clip0_907_281']},V=_0x12baec(function(_0x58b3ca,_0xf55b1b){const _0x3c13ca=_0x3e9464;return _0x3efab1(F,Object[_0x3c13ca(0x233)]({},_0x58b3ca,{'id':'history-icon','ref':_0xf55b1b,'icon':ui}));});V['displayName']=_0x3e9464(0x1fe);var gi=Object[_0x3e9464(0x1be)],mi=(_0xe20398,_0x385e46,_0x5eaa2d,_0x4f531c)=>{const _0x3b5551=_0x3e9464;for(var _0xe2670a=_0x4f531c>0x1?void 0x0:_0x4f531c?gi(_0x385e46,_0x5eaa2d):_0x385e46,_0x2bfed2=_0xe20398[_0x3b5551(0x20e)]-0x1,_0x2c77ac;_0x2bfed2>=0x0;_0x2bfed2--)(_0x2c77ac=_0xe20398[_0x2bfed2])&&(_0xe2670a=_0x2c77ac(_0xe2670a)||_0xe2670a);return _0xe2670a;},l=(_0x16cc92,_0xaf725b)=>(_0x386dde,_0x3069b6)=>_0xaf725b(_0x386dde,_0x3069b6,_0x16cc92);const vi=_0x3e9464(0x1bb),G='UNIVER_CONTAINER_ID',d=_0x3e9464(0x1d3);let f=class extends _0x5bba4b{constructor(_0x439bfd,_0x4bfecf,_0x4dca0b,_0x10eedb,_0x2a4cba,_0x55e083,_0x28055d,_0x2adb91,_0x11a2c2,_0x35e4ee){const _0x28f142=_0x3e9464;super(),g(this,_0x28f142(0x1e1),new _0x1e8ac2(null)),g(this,_0x28f142(0x242),this['_historyUniver$'][_0x28f142(0x218)]()),g(this,_0x28f142(0x222),new _0x12c0ff()),g(this,_0x28f142(0x1ac),new Map()),(this['_localeService']=_0x439bfd,this[_0x28f142(0x24a)]=_0x4bfecf,this[_0x28f142(0x24e)]=_0x4dca0b,this[_0x28f142(0x1f0)]=_0x10eedb,this[_0x28f142(0x1ed)]=_0x2a4cba,this[_0x28f142(0x1ea)]=_0x55e083,this[_0x28f142(0x1e4)]=_0x28055d,this[_0x28f142(0x1ff)]=_0x2adb91,this['_sidebarService']=_0x11a2c2,this[_0x28f142(0x236)]=_0x35e4ee,this['_init']());}get['historyUniver'](){const _0x489c14=_0x3e9464;return this[_0x489c14(0x1e1)]['value'];}[_0x3e9464(0x1cd)](){const _0x2fdae1=_0x3e9464;this['_initContainer'](),this[_0x2fdae1(0x234)]();}[_0x3e9464(0x1b7)](){const _0x1fe9e5=_0x3e9464;var _0x3ae1a8;const _0x110b55=(_0x3ae1a8=this['_configService'][_0x1fe9e5(0x209)](G))!=null?_0x3ae1a8:vi,_0x911c64=document['getElementById'](_0x110b55);if(!_0x911c64)return;const _0x23f174=document[_0x1fe9e5(0x231)](_0x1fe9e5(0x1fc));_0x23f174['id']=d,_0x23f174[_0x1fe9e5(0x1af)][_0x1fe9e5(0x21c)]=_0x1fe9e5(0x1d6),_0x23f174['style'][_0x1fe9e5(0x22e)]=_0x1fe9e5(0x1f9),_0x23f174[_0x1fe9e5(0x21d)][_0x1fe9e5(0x1c6)]='0',_0x23f174[_0x1fe9e5(0x21d)]['left']='0',_0x23f174[_0x1fe9e5(0x21d)][_0x1fe9e5(0x1c1)]=_0x1fe9e5(0x23d),_0x23f174[_0x1fe9e5(0x21d)][_0x1fe9e5(0x1ce)]=_0x1fe9e5(0x23d),_0x23f174['style'][_0x1fe9e5(0x1d5)]=_0x1fe9e5(0x227),_0x23f174[_0x1fe9e5(0x21d)][_0x1fe9e5(0x211)]=_0x1fe9e5(0x1c0),_0x911c64[_0x1fe9e5(0x212)](_0x23f174);}[_0x3e9464(0x234)](){const _0x3c172f=_0x3e9464;var _0x33177d,_0x266460,_0x575df6,_0x348a29;[[_0xaa4b4d],[_0x37990f,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x7b3093,null]]}],[_0xb1e1e4],[_0x510f31,{'override':[[_0x1646b4,null]]}],[_0x2124ed,{'hasScroll':!0x1}],[_0x29e56f],[_0x17a62e],[_0x5ee71e,{'notExecuteFormula':!0x0}],[_0x498cfc],[_0x5b44cb],[_0x4459f2],[_0x2b7fce],[_0x380130],[_0x17b14e],[_0x5b88a6],[_0xe2449d],[_0x1d1edf],[_0x422485],[_0x12bcf7],[_0x55f049],[_0x34b5de],[_0x136ea0,{'notExecuteFormula':!0x0}],[_0x151420,{'workerURL':(_0x266460=(_0x33177d=this[_0x3c172f(0x24e)][_0x3c172f(0x209)](_0x392b38))==null?void 0x0:_0x33177d[_0x3c172f(0x22c)])!=null?_0x266460:_0x3c172f(0x1b3)}],[_0x72bb2a],[_0x1c60ff],[_0xb9acd7],[_0x9c8555],[_0x406a2f],[_0x2ad158],[_0x4cf70d],[_0x526a1a,{'notExecuteFormula':!0x0}],[_0xbaadcb,{'historyListServerUrl':(_0x575df6=this[_0x3c172f(0x24e)]['getConfig'](U))==null?void 0x0:_0x575df6[_0x3c172f(0x204)],'historyPanelComponentKey':(_0x348a29=this['_configService']['getConfig'](U))==null?void 0x0:_0x348a29[_0x3c172f(0x1e3)]}]]['forEach'](([_0x283d38,_0x225c7f])=>this[_0x3c172f(0x1fb)](_0x283d38,_0x225c7f));}[_0x3e9464(0x241)](){const _0x3295a6=_0x3e9464;super[_0x3295a6(0x241)](),this[_0x3295a6(0x244)](),this[_0x3295a6(0x1ac)][_0x3295a6(0x1c8)]();}[_0x3e9464(0x1fb)](_0xf00c80,_0x41eacd,_0x235f09){const _0x3376ce=_0x3e9464;if(this[_0x3376ce(0x1ac)][_0x3376ce(0x232)](_0xf00c80[_0x3376ce(0x1b8)])&&!_0x235f09)throw new Error(_0x3376ce(0x24b)+_0xf00c80[_0x3376ce(0x1b8)]+_0x3376ce(0x256));this[_0x3376ce(0x1ac)][_0x3376ce(0x1f1)](_0xf00c80['pluginName'],[_0xf00c80,_0x41eacd]);}[_0x3e9464(0x1aa)](){const _0xd5576c=_0x3e9464;return Array[_0xd5576c(0x1ba)](this[_0xd5576c(0x1ac)]['values']());}[_0x3e9464(0x252)](_0x2319bd){const _0x4b06c8=_0x3e9464,_0x1e4f9b=document[_0x4b06c8(0x21e)](d);_0x1e4f9b&&(_0x1e4f9b[_0x4b06c8(0x21d)][_0x4b06c8(0x211)]=_0x4b06c8(0x225),this['_initUniver'](_0x2319bd,d));}[_0x3e9464(0x244)](){const _0x15e8f0=_0x3e9464;var _0x22005c;this['_disposableCollection']['dispose'](),(_0x22005c=this[_0x15e8f0(0x1ee)])==null||_0x22005c[_0x15e8f0(0x241)](),this['_historyUniver$'][_0x15e8f0(0x21f)](null);const _0x41068f=document[_0x15e8f0(0x21e)](d);_0x41068f&&(_0x41068f[_0x15e8f0(0x21d)]['display']='none');}[_0x3e9464(0x251)](_0x159b4c,_0x263e2e){const _0x1e9971=_0x3e9464;if(this[_0x1e9971(0x1ee)])return;const _0x4aff8a=new _0x52900e({'locales':{[this[_0x1e9971(0x243)]['getCurrentLocale']()]:this[_0x1e9971(0x243)]['getLocales']()},'override':[[_0x544b5f,{'useClass':_0x550914}]]}),_0x2b69e3=_0x4aff8a[_0x1e9971(0x207)]();this[_0x1e9971(0x1e5)](this[_0x1e9971(0x236)][_0x1e9971(0x1d0)]['subscribe'](_0x25d6b2=>{const _0x4e6a6c=_0x1e9971;_0x2b69e3['get'](_0x42b028)[_0x4e6a6c(0x1ad)](_0x25d6b2);})),this[_0x1e9971(0x1e5)](this[_0x1e9971(0x236)][_0x1e9971(0x249)]['subscribe'](_0x4a9515=>{const _0x4ca775=_0x1e9971;_0x2b69e3['get'](_0x42b028)[_0x4ca775(0x1f2)](_0x4a9515);})),_0x2b69e3[_0x1e9971(0x228)](_0x548403)[_0x1e9971(0x230)](this[_0x1e9971(0x243)][_0x1e9971(0x1fd)]()),_0x2b69e3['get'](_0x5e4c50)['setConfig'](_0xa26f74,this['_configService'][_0x1e9971(0x209)](_0xa26f74));const _0x3e2d78=this['_configService'][_0x1e9971(0x209)](_0xe6e52d);_0x3e2d78&&_0x4aff8a[_0x1e9971(0x1fb)](_0x57f9aa,{'license':_0x3e2d78['ls']}),this[_0x1e9971(0x1ac)][_0x1e9971(0x1f7)](([_0x463273,_0x58e065])=>{const _0x17248a=_0x1e9971;_0x4aff8a[_0x17248a(0x1fb)](_0x463273,_0x58e065);}),_0x2b69e3[_0x1e9971(0x1cb)](_0x5f3c13=>{const _0x509f5f=_0x1e9971;this[_0x509f5f(0x1df)](_0x5f3c13,_0x159b4c);}),this[_0x1e9971(0x1e1)][_0x1e9971(0x21f)](_0x4aff8a);const _0xdf7a5b=_0x2b69e3['get'](_0x80b01d),_0x58a340=this[_0x1e9971(0x1dd)](_0x159b4c);_0xdf7a5b['triggerLoadVersions'](_0x159b4c,_0x263e2e,_0x58a340);}[_0x3e9464(0x1df)](_0x125aa7,_0x4232b2){const _0x14bc63=_0x3e9464,_0x395f5a=_0x125aa7[_0x14bc63(0x228)](_0x80b01d);this[_0x14bc63(0x222)][_0x14bc63(0x216)](_0x395f5a[_0x14bc63(0x1b4)][_0x14bc63(0x25a)](_0x1b352c=>{const _0x4f7d94=_0x14bc63;switch(_0x1b352c){case _0x387498['Entered']:this['_dialogService'][_0x4f7d94(0x1e2)](),this[_0x4f7d94(0x1c3)][_0x4f7d94(0x20a)]();break;case _0x387498[_0x4f7d94(0x1ab)]:this['_commandService']['executeCommand'](W['id']),this['unMountHistoryContent']();break;case _0x387498[_0x4f7d94(0x213)]:this[_0x4f7d94(0x244)](),this[_0x4f7d94(0x1ed)]['show']({'content':this['_localeService']['t'](_0x4f7d94(0x1e9)),'type':_0x139df4[_0x4f7d94(0x213)],'duration':0xbb8});break;}})),this[_0x14bc63(0x222)][_0x14bc63(0x216)](_0x395f5a[_0x14bc63(0x220)][_0x14bc63(0x25a)](async _0x1c0eca=>{const _0x2a02c0=_0x14bc63;_0x1c0eca&&this[_0x2a02c0(0x1f0)][_0x2a02c0(0x1b5)](_0x184b26['id'],{'unitId':_0x4232b2,'revision':_0x1c0eca});}));}['_checkCanRevert'](_0x40e691){const _0x4bfc62=_0x3e9464,_0x4ea6c1=this[_0x4bfc62(0x24a)][_0x4bfc62(0x247)](_0x40e691)[_0x4bfc62(0x23e)]()[_0x4bfc62(0x1a7)](_0xd73b2c=>_0xd73b2c[_0x4bfc62(0x1d7)]()),_0x427d41=new _0x1b4814(_0x40e691)['id'],_0x4721e7=_0x4ea6c1[_0x4bfc62(0x1a7)](_0x162542=>new _0x5d0e6f(_0x40e691,_0x162542)['id']),_0x3efce1=_0x4ea6c1['map'](_0x1686cf=>this[_0x4bfc62(0x1e4)]['getSubunitRuleList'](_0x40e691,_0x1686cf)['map'](_0x32359c=>new _0x23f237(_0x40e691,_0x1686cf,_0x32359c[_0x4bfc62(0x259)])['id']))[_0x4bfc62(0x1c4)](),_0x4ff5e0=new _0x313a75(_0x40e691)['id'];return this[_0x4bfc62(0x1ea)][_0x4bfc62(0x1f6)]([_0x427d41,..._0x4721e7,..._0x3efce1,_0x4ff5e0])[_0x4bfc62(0x254)](_0x31e6da=>!!_0x31e6da[_0x4bfc62(0x1b6)]);}};f=mi([l(0x0,_0x25fe33(_0x548403)),l(0x1,_0x399674),l(0x2,_0x5e4c50),l(0x3,_0x2eaec9),l(0x4,_0x38756a),l(0x5,_0x1c798f),l(0x6,_0x25fe33(_0x8108a8)),l(0x7,_0x25fe33(_0x7b3093)),l(0x8,_0x25fe33(_0x50e881)),l(0x9,_0x25fe33(_0x42b028))],f);const b={'id':_0x3e9464(0x1e6),'type':_0x165f38[_0x3e9464(0x253)],'handler':_0x573f2f=>{const _0x48e9e5=_0x3e9464,_0x5ccbc4=_0x573f2f[_0x48e9e5(0x228)](f),_0x53c33d=_0x573f2f[_0x48e9e5(0x228)](_0x399674),{unitId:_0x4a97b2}=_0x7533ce(_0x53c33d)||{};return _0x4a97b2?(_0x5ccbc4[_0x48e9e5(0x252)](_0x4a97b2),!0x0):!0x1;}},W={'id':'univer.operation.exit-edit-history','type':_0x165f38[_0x3e9464(0x253)],'handler':()=>!0x0};function di(_0xcdca8d){const _0x4550ab=_0x3e9464;return{'id':b['id'],'type':_0x377956[_0x4550ab(0x1de)],'icon':_0x4550ab(0x1fe),'tooltip':_0x4550ab(0x1ec),'hidden$':_0x476ddc(_0xcdca8d,_0x194ec1[_0x4550ab(0x1d9)]),'disabled$':_0x14f44f(_0xcdca8d,{'workbookTypes':[_0x1b4814,_0x46a095],'worksheetTypes':[],'rangeTypes':[]})};}const fi={[_0x399ef4[_0x3e9464(0x229)]]:{[b['id']]:{'order':0.2,'menuItemFactory':di}}};var _i=Object['getOwnPropertyDescriptor'],pi=(_0x20c699,_0x5d9759,_0x108099,_0x4760ac)=>{for(var _0x3df027=_0x4760ac>0x1?void 0x0:_0x4760ac?_i(_0x5d9759,_0x108099):_0x5d9759,_0x5a8343=_0x20c699['length']-0x1,_0x322712;_0x5a8343>=0x0;_0x5a8343--)(_0x322712=_0x20c699[_0x5a8343])&&(_0x3df027=_0x322712(_0x3df027)||_0x3df027);return _0x3df027;},m=(_0x4aefa3,_0x4a93b9)=>(_0x2e90ea,_0x1e2de5)=>_0x4a93b9(_0x2e90ea,_0x1e2de5,_0x4aefa3);let p=class extends _0x121c22{constructor(_0x4e851e,_0x3ac1a7,_0x1feff3,_0x13fb29,_0x46c877,_0x2dd0d3,_0xc62c46,_0x11a50f){const _0x1310f1=_0x3e9464;super(),g(this,_0x1310f1(0x1da),null),(this[_0x1310f1(0x1f0)]=_0x4e851e,this['_menuManagerService']=_0x3ac1a7,this[_0x1310f1(0x1b0)]=_0x1feff3,this[_0x1310f1(0x22f)]=_0x13fb29,this[_0x1310f1(0x243)]=_0x46c877,this[_0x1310f1(0x1ed)]=_0x2dd0d3,this['_collaborationController']=_0xc62c46,this[_0x1310f1(0x257)]=_0x11a50f,this[_0x1310f1(0x1cd)]());}[_0x3e9464(0x1cd)](){const _0x4e3b7a=_0x3e9464;[b,W]['forEach'](_0x3e9645=>this[_0x4e3b7a(0x1e5)](_0x4e346c(this[_0x4e3b7a(0x1f0)]['registerCommand'](_0x3e9645)))),this[_0x4e3b7a(0x1e5)](this[_0x4e3b7a(0x1b0)][_0x4e3b7a(0x22d)](_0x4e3b7a(0x1fe),V)),this[_0x4e3b7a(0x245)][_0x4e3b7a(0x237)](fi),this['disposeWithMe'](this[_0x4e3b7a(0x1f0)][_0x4e3b7a(0x1a8)](_0x51b1a4=>{const _0x3ceebe=_0x4e3b7a;if(_0x51b1a4['id']===_0x184b26['id']){this['_messageService'][_0x3ceebe(0x23c)]({'content':this[_0x3ceebe(0x243)]['t']('editHistory.panel.reverting'),'type':_0x139df4[_0x3ceebe(0x255)],'duration':0x1388});const {unitId:_0x4264ae}=_0x51b1a4[_0x3ceebe(0x1bf)],_0x34299e=this[_0x3ceebe(0x1cc)][_0x3ceebe(0x20c)](_0x4264ae),_0x3ef89c=_0x347d03([_0x34299e['session'][_0x3ceebe(0x200)],_0x34299e[_0x3ceebe(0x21b)]])['subscribe'](async([_0x417849,_0x1ec675])=>{const _0x1b8a17=_0x3ceebe;var _0x10b449;_0x417849['eventID']===_0x3be8b7['CHANGESET_ACK']&&(_0x1ec675==null?void 0x0:_0x1ec675[_0x1b8a17(0x215)])===_0x36af8c[_0x1b8a17(0x1c2)]&&_0x417849['data'][_0x1b8a17(0x21a)][_0x1b8a17(0x1bc)](_0x286e79=>_0x286e79['id']===_0x184b26['id'])&&(this['_historyManagerService'][_0x1b8a17(0x244)](),_0x3ef89c['unsubscribe'](),this[_0x1b8a17(0x1da)]&&clearTimeout(this[_0x1b8a17(0x1da)]),await((_0x10b449=this[_0x1b8a17(0x257)])==null?void 0x0:_0x10b449[_0x1b8a17(0x201)]()),setTimeout(()=>window['location']['reload']()));});this[_0x3ceebe(0x1da)]=setTimeout(()=>{const _0x195fe8=_0x3ceebe;_0x3ef89c[_0x195fe8(0x20b)](),this['_messageService'][_0x195fe8(0x23c)]({'content':this[_0x195fe8(0x243)]['t'](_0x195fe8(0x205)),'type':_0x139df4['Error'],'duration':0xbb8});},0x1388);}}));}};p=pi([m(0x0,_0x2eaec9),m(0x1,_0x55b074),m(0x2,_0x25fe33(_0x4fe6da)),m(0x3,_0x25fe33(f)),m(0x4,_0x25fe33(_0x548403)),m(0x5,_0x38756a),m(0x6,_0x25fe33(_0x3f5841)),m(0x7,_0x15bea6)],p);var Si=Object[_0x3e9464(0x1be)],Ci=(_0x65a811,_0x3758d0,_0x2d15d0,_0x1b68cd)=>{const _0x5a1ee4=_0x3e9464;for(var _0x5187f1=_0x1b68cd>0x1?void 0x0:_0x1b68cd?Si(_0x3758d0,_0x2d15d0):_0x3758d0,_0x5e9cc1=_0x65a811[_0x5a1ee4(0x20e)]-0x1,_0x17f984;_0x5e9cc1>=0x0;_0x5e9cc1--)(_0x17f984=_0x65a811[_0x5e9cc1])&&(_0x5187f1=_0x17f984(_0x5187f1)||_0x5187f1);return _0x5187f1;},R=(_0x581bc6,_0x537cc1)=>(_0x50ef64,_0x36b70a)=>_0x537cc1(_0x50ef64,_0x36b70a,_0x581bc6);const yi=_0x3e9464(0x1b1);var _;let H=(_=class extends _0x493d29{constructor(_0x52020c=N,_0x55b585,_0x34a29d){const _0x16adca=_0x3e9464;super(),this[_0x16adca(0x24d)]=_0x52020c,this[_0x16adca(0x20d)]=_0x55b585,this[_0x16adca(0x24e)]=_0x34a29d;const {menu:_0xedc500,..._0x332609}=_0x2abd5c({},N,this[_0x16adca(0x24d)]);_0xedc500&&this[_0x16adca(0x24e)][_0x16adca(0x25b)](_0x16adca(0x1e8),_0xedc500,{'merge':!0x0}),this[_0x16adca(0x24e)][_0x16adca(0x25b)](U,_0x332609),this[_0x16adca(0x24d)][_0x16adca(0x1db)]&&this[_0x16adca(0x24e)]['setConfig'](G,this[_0x16adca(0x24d)][_0x16adca(0x1db)]);}[_0x3e9464(0x238)](){const _0xff7f2c=_0x3e9464;[[f],[p]][_0xff7f2c(0x1f7)](_0x1f25d8=>this[_0xff7f2c(0x20d)][_0xff7f2c(0x216)](_0x1f25d8));}[_0x3e9464(0x23b)](){const _0x2518d3=_0x3e9464;this[_0x2518d3(0x20d)][_0x2518d3(0x228)](p);}},g(_,_0x3e9464(0x219),_0x194ec1[_0x3e9464(0x1b2)]),g(_,_0x3e9464(0x1b8),yi),_);H=Ci([R(0x1,_0x25fe33(_0xf8d04a)),R(0x2,_0x5e4c50)],H);function _0x6d24(_0x494529,_0x1ac6a8){_0x494529=_0x494529-0x1a7;const _0x5e3d0d=_0x5e3d();let _0x6d2437=_0x5e3d0d[_0x494529];return _0x6d2437;}export{f as HistoryLoaderService,G as UNIVER_CONTAINER_ID_KEY,d as UNIVER_HISTORY_CONTAINER_ID,H as UniverEditHistoryLoaderPlugin};
1
+ const _0x43485c=_0x5bc7;(function(_0x2ec73b,_0x251f07){const _0x3f7f32=_0x5bc7,_0x348094=_0x2ec73b();while(!![]){try{const _0x323652=parseInt(_0x3f7f32(0x1e1))/0x1+parseInt(_0x3f7f32(0x24a))/0x2*(-parseInt(_0x3f7f32(0x20e))/0x3)+-parseInt(_0x3f7f32(0x27c))/0x4*(parseInt(_0x3f7f32(0x28a))/0x5)+-parseInt(_0x3f7f32(0x22d))/0x6*(-parseInt(_0x3f7f32(0x26d))/0x7)+-parseInt(_0x3f7f32(0x24d))/0x8*(parseInt(_0x3f7f32(0x204))/0x9)+-parseInt(_0x3f7f32(0x21b))/0xa*(parseInt(_0x3f7f32(0x27a))/0xb)+parseInt(_0x3f7f32(0x1ed))/0xc*(parseInt(_0x3f7f32(0x235))/0xd);if(_0x323652===_0x251f07)break;else _0x348094['push'](_0x348094['shift']());}catch(_0x3fa35e){_0x348094['push'](_0x348094['shift']());}}}(_0x1dd9,0x8cc0d));var Y=Object['defineProperty'],B=(_0x5e61f8,_0x1a2363,_0x2502af)=>_0x1a2363 in _0x5e61f8?Y(_0x5e61f8,_0x1a2363,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2502af}):_0x5e61f8[_0x1a2363]=_0x2502af,g=(_0x33cb56,_0x4471e4,_0x174f32)=>B(_0x33cb56,typeof _0x4471e4!=_0x43485c(0x1ec)?_0x4471e4+'':_0x4471e4,_0x174f32);import{Inject as _0x40903e,LocaleService as _0x3b9931,IUniverInstanceService as _0x223bbe,IConfigService as _0x51a1d6,ICommandService as _0x3e4b94,IPermissionService as _0x27501e,ThemeService as _0x3da679,Disposable as _0xbdf249,DisposableCollection as _0xc9a98,Univer as _0x3c8338,IAuthzIoService as _0x38de49,CommandType as _0x2b551e,UniverInstanceType as _0x49ca58,RxDisposable as _0x2794d8,toDisposable as _0x34f19d,Plugin as _0x7f0162,merge as _0x4ef9cf,Injector as _0x59122a}from'@univerjs/core';import{UniverCollaborationPlugin as _0x23d1d6,RevertRevisionMutation as _0x498d90,CollaborationEvent as _0x4b273b}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x29c13c,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x8a06f,CollaborationController as _0x5627b9,ILocalCacheService as _0x2479ba,CollaborationStatus as _0x3db6ac}from'@univerjs-pro/collaboration-client';import{MessageType as _0x2a24d6}from'@univerjs/design';import{useRef as _0x4d095e,createElement as _0x2d9e1e,forwardRef as _0x7fcd04}from'react';import{IMessageService as _0x42831f,IDialogService as _0x34611a,ISidebarService as _0x5120a6,UniverUIPlugin as _0x19d475,getMenuHiddenObservable as _0x353c5e,MenuItemType as _0x4c45df,RibbonStartGroup as _0xaaa7bb,IMenuManagerService as _0x50cef2,ComponentManager as _0x411ec7}from'@univerjs/ui';import{BehaviorSubject as _0x4b5f8d,combineLatest as _0x53223f}from'rxjs';import{RangeProtectionRuleModel as _0x18a08d,UniverSheetsPlugin as _0x34ad30,WorkbookEditablePermission as _0x14748c,WorksheetEditPermission as _0xbffc01,RangeProtectionPermissionEditPoint as _0x2475bc,WorkbookRecoverHistoryPermission as _0x30f35a,getSheetCommandTarget as _0x3f672e,WorkbookViewHistoryPermission as _0x581a7d}from'@univerjs/sheets';import{UniverEditHistoryViewerPlugin as _0x51b49c,HistoryManagerService as _0x56ebbd,HistoryModeStatus as _0x2827d6}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x3f5be0,UniverLicensePlugin as _0x272c0d}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x3752f6}from'@univerjs-pro/sheets-chart';function _0x5bc7(_0x3217ae,_0x44f4c4){_0x3217ae=_0x3217ae-0x1dd;const _0x1dd92f=_0x1dd9();let _0x5bc705=_0x1dd92f[_0x3217ae];return _0x5bc705;}import{UniverSheetsChartUIPlugin as _0x5f3192}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x90a901}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x44a211}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x28e471}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x35c63f}from'@univerjs/data-validation';import{UniverDocsPlugin as _0xc5f276}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x9e975a}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0x83924f,IImageIoService as _0xdc2a12}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x4aba90}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x27515d}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x1bbfdc}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x2ae0f6}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0x510c1c,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0x4d5dce}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x4897d4}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x10437e}from'@univerjs/sheets-conditional-formatting-ui';function _0x1dd9(){const _0x2e2f6d=['invoke','40gXlFon','_historyManagerService','http://www.w3.org/2000/svg','type','zIndex','getSheetId','onCommandExecuted','setTheme','tag','assign','url(#history-icon_clip0_907_281)','currentColor','revertRevision$','location','getAllPlugins','getLocales','get','attrs','2742rabduu','flat','_initPlugins','width','values','params','includes','_initUniver','2678ZTyAYW','string','add','mask','close','use','defIds','CHANGESET_ACK','onStarting','_permissionService','_configService','edit-history-loader.config','next','0\x200\x2016\x2016','setConfig','registerCommand','substring','Exited','historyUniver$','onSteady','disposeWithMe','22VXZblb','_config','event$','7459528GgorOp','displayName','\x20has\x20been\x20registered.','defs','UNIVER_UNKNOWN','colorChannel1','subscribe','getUnit','UNIVER_CONTAINER_ID','style','setLocale','unsubscribe','unMountHistoryContent','editHistory.panel.title','_dialogService','value','_revertErrorTimer','[HistoryLoaderService]:\x20Plugin\x20','set','setDarkMode','1em','_init','mountHistoryContent','_localCacheService','getElementById','_selectionProtectionRuleModel','permissionId','_pluginMap','_themeService','currentTheme$','univerContainerId','register','4487kMwcQM','url(#$1','closeAll','mutations','executeCommand','getCurrentLocale','asObservable','editHistory.panel.listFetchError','pluginName','forEach','_localeService','_commandService','some','1680514cbTzem','idSuffix','236cLiRYc','OPERATION','position','_injector','historyListServerUrl','path','uComp','Error','_sidebarService','data','1000','_menuManagerService','univer.operation.toggle-edit-history','UNIVER_SHEET','58630iUVYeF','status$','fill','none','clear','249588bHMiQm','editHistory.panel.revertFailed','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','_univerInstanceService','univer-history-container','getConfig','history-icon_clip0_907_281','every','length','darkMode$','_historyUniver$','symbol','145356pcASMc','map','white','composePermission','_initContainer','getSheets','UniverIcon','div','_messageService','history-container','getCollabEntity','triggerLoadVersions','display','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','svg','editHistory.panel.reverting','historyPanelComponentKey','dispose','absolute','trim','status','random','registerPlugin','9RsOUpd','./worker.js','univer-container','replace','_componentManager','__getInjector','_collaborationController','history-icon','show','_disposableCollection','61611MyhuCd','_initListener','appendChild','_checkCanRevert','HistoryIcon','Loading','historyUniver','entries','clipPath','xlink:href','children','SYNCED'];_0x1dd9=function(){return _0x2e2f6d;};return _0x1dd9();}import{UniverSheetsDataValidationPlugin as _0x5bea24}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationUIPlugin as _0x4645fa}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x469c49}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0xc96a6e}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x5fc771}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x378c3c}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x5eb8b4}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x11320b}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0xb9bda4}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0xfa480c}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x4882f}from'@univerjs/sheets-numfmt';import{UniverSheetsUIPlugin as _0x336260,getCurrentRangeDisable$ as _0x550398}from'@univerjs/sheets-ui';const U=_0x43485c(0x240),N={};function F({ref:_0x3f9f1d,..._0x269133}){const _0x333750=_0x43485c,{icon:_0x3ca006,id:_0x2ca2c2,className:_0x51bc38,extend:_0x538de3,..._0x4abe91}=_0x269133,_0x18c011=('univerjs-icon\x20univerjs-icon-'+_0x2ca2c2+'\x20'+(_0x51bc38||''))[_0x333750(0x200)](),_0x2478a3=_0x4d095e('_'+hi());return j(_0x3ca006,''+_0x2ca2c2,{'defIds':_0x3ca006[_0x333750(0x23b)],'idSuffix':_0x2478a3['current']},{'ref':_0x3f9f1d,'className':_0x18c011,..._0x4abe91},_0x538de3);}function j(_0x385299,_0x45dadb,_0x2e6cef,_0x386b87,_0xee6c46){const _0x32d168=_0x43485c;return _0x2d9e1e(_0x385299[_0x32d168(0x223)],{'key':_0x45dadb,...ci(_0x385299,_0x2e6cef,_0xee6c46),..._0x386b87},(li(_0x385299,_0x2e6cef)[_0x32d168(0x218)]||[])[_0x32d168(0x1ee)]((_0xfb68b8,_0x243c0c)=>j(_0xfb68b8,_0x45dadb+'-'+_0x385299['tag']+'-'+_0x243c0c,_0x2e6cef,void 0x0,_0xee6c46)));}function ci(_0x30293b,_0x196d51,_0x48098f){const _0x16d56b=_0x43485c,_0x5519db={..._0x30293b[_0x16d56b(0x22c)]};_0x48098f!=null&&_0x48098f[_0x16d56b(0x252)]&&_0x5519db[_0x16d56b(0x1de)]===_0x16d56b(0x252)&&(_0x5519db[_0x16d56b(0x1de)]=_0x48098f[_0x16d56b(0x252)]),_0x30293b[_0x16d56b(0x223)]===_0x16d56b(0x238)&&_0x5519db['id']&&(_0x5519db['id']=_0x5519db['id']+_0x196d51[_0x16d56b(0x27b)]),Object[_0x16d56b(0x215)](_0x5519db)[_0x16d56b(0x276)](([_0x5349ed,_0x44aa0a])=>{const _0x36f9f6=_0x16d56b;_0x5349ed===_0x36f9f6(0x238)&&typeof _0x44aa0a==_0x36f9f6(0x236)&&(_0x5519db[_0x5349ed]=_0x44aa0a[_0x36f9f6(0x207)](/url\(#(.*)\)/,'url(#$1'+_0x196d51[_0x36f9f6(0x27b)]+')'));});const {defIds:_0x14a7c1}=_0x196d51;return!_0x14a7c1||_0x14a7c1['length']===0x0||(_0x30293b[_0x16d56b(0x223)]===_0x16d56b(0x23a)&&_0x5519db[_0x16d56b(0x217)]&&(_0x5519db[_0x16d56b(0x217)]=_0x5519db[_0x16d56b(0x217)]+_0x196d51[_0x16d56b(0x27b)]),Object[_0x16d56b(0x215)](_0x5519db)[_0x16d56b(0x276)](([_0x516313,_0x523643])=>{const _0x15cb2b=_0x16d56b;typeof _0x523643==_0x15cb2b(0x236)&&(_0x5519db[_0x516313]=_0x523643[_0x15cb2b(0x207)](/url\(#(.*)\)/,_0x15cb2b(0x26e)+_0x196d51[_0x15cb2b(0x27b)]+')'));})),_0x5519db;}function li(_0x26cb72,_0x2f91d5){const _0x38c76a=_0x43485c;var _0x44e566;const {defIds:_0x27549c}=_0x2f91d5;return!_0x27549c||_0x27549c[_0x38c76a(0x1e9)]===0x0?_0x26cb72:_0x26cb72['tag']===_0x38c76a(0x250)&&((_0x44e566=_0x26cb72['children'])!=null&&_0x44e566[_0x38c76a(0x1e9)])?{..._0x26cb72,'children':_0x26cb72[_0x38c76a(0x218)][_0x38c76a(0x1ee)](_0x5619ab=>typeof _0x5619ab[_0x38c76a(0x22c)]['id']=='string'&&_0x27549c&&_0x27549c[_0x38c76a(0x233)](_0x5619ab[_0x38c76a(0x22c)]['id'])?{..._0x5619ab,'attrs':{..._0x5619ab[_0x38c76a(0x22c)],'id':_0x5619ab[_0x38c76a(0x22c)]['id']+_0x2f91d5[_0x38c76a(0x27b)]}}:_0x5619ab)}:_0x26cb72;}function hi(){const _0x38dd9c=_0x43485c;return Math[_0x38dd9c(0x202)]()['toString'](0x24)[_0x38dd9c(0x245)](0x2,0x8);}F[_0x43485c(0x24e)]=_0x43485c(0x1f3);const ui={'tag':_0x43485c(0x1fb),'attrs':{'xmlns':_0x43485c(0x21d),'fill':'none','viewBox':_0x43485c(0x242),'width':_0x43485c(0x261),'height':'1em'},'children':[{'tag':'g','attrs':{'fill':_0x43485c(0x226),'clipPath':_0x43485c(0x225)},'children':[{'tag':_0x43485c(0x281),'attrs':{'d':_0x43485c(0x1fa)}},{'tag':_0x43485c(0x281),'attrs':{'d':'M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z'}}]},{'tag':_0x43485c(0x250),'attrs':{},'children':[{'tag':_0x43485c(0x216),'attrs':{'id':_0x43485c(0x1e7)},'children':[{'tag':_0x43485c(0x281),'attrs':{'fill':_0x43485c(0x1ef),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['history-icon_clip0_907_281']},V=_0x7fcd04(function(_0x5cadb7,_0xb96136){const _0x1f6276=_0x43485c;return _0x2d9e1e(F,Object[_0x1f6276(0x224)]({},_0x5cadb7,{'id':_0x1f6276(0x20b),'ref':_0xb96136,'icon':ui}));});V[_0x43485c(0x24e)]='HistoryIcon';var gi=Object['getOwnPropertyDescriptor'],mi=(_0x557fe5,_0x200a15,_0xd91b7e,_0x30b322)=>{const _0x166b8c=_0x43485c;for(var _0x217597=_0x30b322>0x1?void 0x0:_0x30b322?gi(_0x200a15,_0xd91b7e):_0x200a15,_0x500f32=_0x557fe5[_0x166b8c(0x1e9)]-0x1,_0x126d50;_0x500f32>=0x0;_0x500f32--)(_0x126d50=_0x557fe5[_0x500f32])&&(_0x217597=_0x126d50(_0x217597)||_0x217597);return _0x217597;},l=(_0x38e655,_0x275c52)=>(_0x28bd3b,_0xa81703)=>_0x275c52(_0x28bd3b,_0xa81703,_0x38e655);const vi=_0x43485c(0x206),G=_0x43485c(0x255),d=_0x43485c(0x1e5);let f=class extends _0xbdf249{constructor(_0x6d1025,_0x19f162,_0x3b9900,_0x1b7dc9,_0x36a56a,_0x252bbd,_0x14e209,_0x3dda0c,_0x393396,_0x479d31){const _0xd5edc9=_0x43485c;super(),g(this,_0xd5edc9(0x1eb),new _0x4b5f8d(null)),g(this,_0xd5edc9(0x247),this[_0xd5edc9(0x1eb)][_0xd5edc9(0x273)]()),g(this,'_disposableCollection',new _0xc9a98()),g(this,_0xd5edc9(0x268),new Map()),(this[_0xd5edc9(0x277)]=_0x6d1025,this[_0xd5edc9(0x1e4)]=_0x19f162,this[_0xd5edc9(0x23f)]=_0x3b9900,this[_0xd5edc9(0x278)]=_0x1b7dc9,this[_0xd5edc9(0x1f5)]=_0x36a56a,this[_0xd5edc9(0x23e)]=_0x252bbd,this[_0xd5edc9(0x266)]=_0x14e209,this[_0xd5edc9(0x25b)]=_0x3dda0c,this[_0xd5edc9(0x284)]=_0x393396,this[_0xd5edc9(0x269)]=_0x479d31,this[_0xd5edc9(0x262)]());}get[_0x43485c(0x214)](){const _0x391220=_0x43485c;return this[_0x391220(0x1eb)][_0x391220(0x25c)];}[_0x43485c(0x262)](){const _0x215987=_0x43485c;this[_0x215987(0x1f1)](),this[_0x215987(0x22f)]();}[_0x43485c(0x1f1)](){const _0x1a5aee=_0x43485c;var _0x1c0fbd;const _0x565192=(_0x1c0fbd=this['_configService'][_0x1a5aee(0x1e6)](G))!=null?_0x1c0fbd:vi,_0x508d1a=document[_0x1a5aee(0x265)](_0x565192);if(!_0x508d1a)return;const _0xbdbec1=document['createElement'](_0x1a5aee(0x1f4));_0xbdbec1['id']=d,_0xbdbec1['dataset'][_0x1a5aee(0x282)]=_0x1a5aee(0x1f6),_0xbdbec1['style'][_0x1a5aee(0x27e)]=_0x1a5aee(0x1ff),_0xbdbec1[_0x1a5aee(0x256)]['top']='0',_0xbdbec1[_0x1a5aee(0x256)]['left']='0',_0xbdbec1[_0x1a5aee(0x256)][_0x1a5aee(0x230)]='100%',_0xbdbec1[_0x1a5aee(0x256)]['height']='100%',_0xbdbec1[_0x1a5aee(0x256)][_0x1a5aee(0x21f)]=_0x1a5aee(0x286),_0xbdbec1[_0x1a5aee(0x256)][_0x1a5aee(0x1f9)]=_0x1a5aee(0x1df),_0x508d1a[_0x1a5aee(0x210)](_0xbdbec1);}[_0x43485c(0x22f)](){const _0x2bd4c3=_0x43485c;var _0x210c07,_0x842cc4,_0x3de30d,_0x2845b3;[[_0x1bbfdc],[_0x19d475,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x34611a,null]]}],[_0x2ae0f6],[_0x83924f,{'override':[[_0xdc2a12,null]]}],[_0xc5f276,{'hasScroll':!0x1}],[_0x9e975a],[_0x4882f],[_0x34ad30,{'notExecuteFormula':!0x0}],[_0x336260],[_0x5eb8b4],[_0x11320b],[_0x23d1d6],[_0x5fc771],[_0x378c3c],[_0x4897d4],[_0x10437e],[_0xb9bda4],[_0xfa480c],[_0x35c63f],[_0x5bea24],[_0x4645fa],[_0x27515d,{'notExecuteFormula':!0x0}],[_0x510c1c,{'workerURL':(_0x842cc4=(_0x210c07=this['_configService'][_0x2bd4c3(0x1e6)](_0x4d5dce))==null?void 0x0:_0x210c07['workerURL'])!=null?_0x842cc4:_0x2bd4c3(0x205)}],[_0x4aba90],[_0x469c49],[_0xc96a6e],[_0x44a211],[_0x28e471],[_0x3752f6],[_0x5f3192],[_0x90a901,{'notExecuteFormula':!0x0}],[_0x51b49c,{'historyListServerUrl':(_0x3de30d=this[_0x2bd4c3(0x23f)]['getConfig'](U))==null?void 0x0:_0x3de30d[_0x2bd4c3(0x280)],'historyPanelComponentKey':(_0x2845b3=this[_0x2bd4c3(0x23f)][_0x2bd4c3(0x1e6)](U))==null?void 0x0:_0x2845b3[_0x2bd4c3(0x1fd)]}]]['forEach'](([_0x38d607,_0x5280a3])=>this['registerPlugin'](_0x38d607,_0x5280a3));}[_0x43485c(0x1fe)](){const _0xda18dd=_0x43485c;super[_0xda18dd(0x1fe)](),this['unMountHistoryContent'](),this[_0xda18dd(0x268)][_0xda18dd(0x1e0)]();}[_0x43485c(0x203)](_0x58c1d2,_0x1020a1,_0x3378dc){const _0x4483b8=_0x43485c;if(this['_pluginMap']['has'](_0x58c1d2[_0x4483b8(0x275)])&&!_0x3378dc)throw new Error(_0x4483b8(0x25e)+_0x58c1d2[_0x4483b8(0x275)]+_0x4483b8(0x24f));this[_0x4483b8(0x268)][_0x4483b8(0x25f)](_0x58c1d2['pluginName'],[_0x58c1d2,_0x1020a1]);}[_0x43485c(0x229)](){const _0x66bf7c=_0x43485c;return Array['from'](this[_0x66bf7c(0x268)][_0x66bf7c(0x231)]());}['mountHistoryContent'](_0x20233f){const _0x17b6ab=document['getElementById'](d);_0x17b6ab&&(_0x17b6ab['style']['display']='block',this['_initUniver'](_0x20233f,d));}['unMountHistoryContent'](){const _0x1cdf39=_0x43485c;var _0x2e8360;this[_0x1cdf39(0x20d)][_0x1cdf39(0x1fe)](),(_0x2e8360=this[_0x1cdf39(0x214)])==null||_0x2e8360[_0x1cdf39(0x1fe)](),this[_0x1cdf39(0x1eb)]['next'](null);const _0x135134=document[_0x1cdf39(0x265)](d);_0x135134&&(_0x135134['style']['display']=_0x1cdf39(0x1df));}[_0x43485c(0x234)](_0x4a1c78,_0x53bc1b){const _0x553725=_0x43485c;if(this['historyUniver'])return;const _0x372735=new _0x3c8338({'locales':{[this[_0x553725(0x277)][_0x553725(0x272)]()]:this[_0x553725(0x277)][_0x553725(0x22a)]()},'override':[[_0x38de49,{'useClass':_0x29c13c}]]}),_0x49b67c=_0x372735[_0x553725(0x209)]();this[_0x553725(0x249)](this[_0x553725(0x269)][_0x553725(0x1ea)][_0x553725(0x253)](_0x3fb2af=>{const _0x1a11b3=_0x553725;_0x49b67c[_0x1a11b3(0x22b)](_0x3da679)[_0x1a11b3(0x260)](_0x3fb2af);})),this['disposeWithMe'](this['_themeService'][_0x553725(0x26a)]['subscribe'](_0x2d29cf=>{const _0x2b6925=_0x553725;_0x49b67c[_0x2b6925(0x22b)](_0x3da679)[_0x2b6925(0x222)](_0x2d29cf);})),_0x49b67c[_0x553725(0x22b)](_0x3b9931)[_0x553725(0x257)](this['_localeService'][_0x553725(0x272)]()),_0x49b67c[_0x553725(0x22b)](_0x51a1d6)[_0x553725(0x243)](_0x8a06f,this['_configService'][_0x553725(0x1e6)](_0x8a06f));const _0x28d3d2=this[_0x553725(0x23f)][_0x553725(0x1e6)](_0x3f5be0);_0x28d3d2&&_0x372735[_0x553725(0x203)](_0x272c0d,{'license':_0x28d3d2['ls']}),this['_pluginMap'][_0x553725(0x276)](([_0x5bc9d2,_0x1e65e2])=>{const _0x364664=_0x553725;_0x372735[_0x364664(0x203)](_0x5bc9d2,_0x1e65e2);}),_0x49b67c[_0x553725(0x21a)](_0x4afc2a=>{const _0x3a1b85=_0x553725;this[_0x3a1b85(0x20f)](_0x4afc2a,_0x4a1c78);}),this[_0x553725(0x1eb)][_0x553725(0x241)](_0x372735);const _0x4810ef=_0x49b67c[_0x553725(0x22b)](_0x56ebbd),_0x297b37=this[_0x553725(0x211)](_0x4a1c78);_0x4810ef[_0x553725(0x1f8)](_0x4a1c78,_0x53bc1b,_0x297b37);}[_0x43485c(0x20f)](_0x356043,_0x1e762f){const _0xaee15f=_0x43485c,_0x49a4c9=_0x356043['get'](_0x56ebbd);this[_0xaee15f(0x20d)][_0xaee15f(0x237)](_0x49a4c9[_0xaee15f(0x1dd)]['subscribe'](_0x3e72e0=>{const _0x139329=_0xaee15f;switch(_0x3e72e0){case _0x2827d6['Entered']:this[_0x139329(0x25b)][_0x139329(0x26f)](),this['_sidebarService'][_0x139329(0x239)]();break;case _0x2827d6[_0x139329(0x246)]:this[_0x139329(0x278)][_0x139329(0x271)](W['id']),this[_0x139329(0x259)]();break;case _0x2827d6[_0x139329(0x283)]:this[_0x139329(0x259)](),this[_0x139329(0x1f5)][_0x139329(0x20c)]({'content':this[_0x139329(0x277)]['t'](_0x139329(0x274)),'type':_0x2a24d6[_0x139329(0x283)],'duration':0xbb8});break;}})),this[_0xaee15f(0x20d)][_0xaee15f(0x237)](_0x49a4c9[_0xaee15f(0x227)][_0xaee15f(0x253)](async _0x36a771=>{const _0x37bf10=_0xaee15f;_0x36a771&&this['_commandService'][_0x37bf10(0x271)](_0x498d90['id'],{'unitId':_0x1e762f,'revision':_0x36a771});}));}[_0x43485c(0x211)](_0x3e2328){const _0x4138ba=_0x43485c,_0x40a305=this[_0x4138ba(0x1e4)][_0x4138ba(0x254)](_0x3e2328)[_0x4138ba(0x1f2)]()[_0x4138ba(0x1ee)](_0x39a50f=>_0x39a50f[_0x4138ba(0x220)]()),_0x4720e4=new _0x14748c(_0x3e2328)['id'],_0x30a108=_0x40a305[_0x4138ba(0x1ee)](_0x58039e=>new _0xbffc01(_0x3e2328,_0x58039e)['id']),_0x40655c=_0x40a305[_0x4138ba(0x1ee)](_0x2dc9f2=>this[_0x4138ba(0x266)]['getSubunitRuleList'](_0x3e2328,_0x2dc9f2)[_0x4138ba(0x1ee)](_0x473ed3=>new _0x2475bc(_0x3e2328,_0x2dc9f2,_0x473ed3[_0x4138ba(0x267)])['id']))[_0x4138ba(0x22e)](),_0xa813a9=new _0x30f35a(_0x3e2328)['id'];return this[_0x4138ba(0x23e)][_0x4138ba(0x1f0)]([_0x4720e4,..._0x30a108,..._0x40655c,_0xa813a9])[_0x4138ba(0x1e8)](_0x34f4fd=>!!_0x34f4fd[_0x4138ba(0x25c)]);}};f=mi([l(0x0,_0x40903e(_0x3b9931)),l(0x1,_0x223bbe),l(0x2,_0x51a1d6),l(0x3,_0x3e4b94),l(0x4,_0x42831f),l(0x5,_0x27501e),l(0x6,_0x40903e(_0x18a08d)),l(0x7,_0x40903e(_0x34611a)),l(0x8,_0x40903e(_0x5120a6)),l(0x9,_0x40903e(_0x3da679))],f);const b={'id':_0x43485c(0x288),'type':_0x2b551e[_0x43485c(0x27d)],'handler':_0x10dccb=>{const _0x3884eb=_0x43485c,_0x5a8dfd=_0x10dccb[_0x3884eb(0x22b)](f),_0xf697cc=_0x10dccb[_0x3884eb(0x22b)](_0x223bbe),{unitId:_0x375711}=_0x3f672e(_0xf697cc)||{};return _0x375711?(_0x5a8dfd[_0x3884eb(0x263)](_0x375711),!0x0):!0x1;}},W={'id':'univer.operation.exit-edit-history','type':_0x2b551e[_0x43485c(0x27d)],'handler':()=>!0x0};function di(_0x36e3e4){const _0x458293=_0x43485c;return{'id':b['id'],'type':_0x4c45df['BUTTON'],'icon':_0x458293(0x212),'tooltip':_0x458293(0x25a),'hidden$':_0x353c5e(_0x36e3e4,_0x49ca58[_0x458293(0x289)]),'disabled$':_0x550398(_0x36e3e4,{'workbookTypes':[_0x14748c,_0x581a7d],'worksheetTypes':[],'rangeTypes':[]})};}const fi={[_0xaaa7bb['OTHERS']]:{[b['id']]:{'order':0.2,'menuItemFactory':di}}};var _i=Object['getOwnPropertyDescriptor'],pi=(_0x2ebbb5,_0x1927f4,_0x5321f9,_0x17d044)=>{const _0x21184a=_0x43485c;for(var _0x57e0e0=_0x17d044>0x1?void 0x0:_0x17d044?_i(_0x1927f4,_0x5321f9):_0x1927f4,_0xf21df5=_0x2ebbb5[_0x21184a(0x1e9)]-0x1,_0x1b605a;_0xf21df5>=0x0;_0xf21df5--)(_0x1b605a=_0x2ebbb5[_0xf21df5])&&(_0x57e0e0=_0x1b605a(_0x57e0e0)||_0x57e0e0);return _0x57e0e0;},m=(_0x11a7b9,_0x57ae1d)=>(_0x19b4fc,_0x1da7bd)=>_0x57ae1d(_0x19b4fc,_0x1da7bd,_0x11a7b9);let p=class extends _0x2794d8{constructor(_0x43c5da,_0x3e35ec,_0x36270a,_0x24a12e,_0x1c439d,_0x384935,_0x2ab618,_0x592500){const _0x2ede2b=_0x43485c;super(),g(this,_0x2ede2b(0x25d),null),(this[_0x2ede2b(0x278)]=_0x43c5da,this[_0x2ede2b(0x287)]=_0x3e35ec,this[_0x2ede2b(0x208)]=_0x36270a,this[_0x2ede2b(0x21c)]=_0x24a12e,this[_0x2ede2b(0x277)]=_0x1c439d,this['_messageService']=_0x384935,this[_0x2ede2b(0x20a)]=_0x2ab618,this[_0x2ede2b(0x264)]=_0x592500,this[_0x2ede2b(0x262)]());}['_init'](){const _0x10750d=_0x43485c;[b,W][_0x10750d(0x276)](_0x5c6a70=>this[_0x10750d(0x249)](_0x34f19d(this[_0x10750d(0x278)][_0x10750d(0x244)](_0x5c6a70)))),this[_0x10750d(0x249)](this['_componentManager'][_0x10750d(0x26c)]('HistoryIcon',V)),this[_0x10750d(0x287)]['mergeMenu'](fi),this[_0x10750d(0x249)](this[_0x10750d(0x278)][_0x10750d(0x221)](_0x34307c=>{const _0x2ee00e=_0x10750d;if(_0x34307c['id']===_0x498d90['id']){this['_messageService']['show']({'content':this[_0x2ee00e(0x277)]['t'](_0x2ee00e(0x1fc)),'type':_0x2a24d6[_0x2ee00e(0x213)],'duration':0x1388});const {unitId:_0x54fc8f}=_0x34307c[_0x2ee00e(0x232)],_0x325361=this['_collaborationController'][_0x2ee00e(0x1f7)](_0x54fc8f),_0x1edb15=_0x53223f([_0x325361['session'][_0x2ee00e(0x24c)],_0x325361['state$']])['subscribe'](async([_0x38e3bc,_0x31464d])=>{const _0x4af605=_0x2ee00e;var _0x304406;_0x38e3bc['eventID']===_0x4b273b[_0x4af605(0x23c)]&&(_0x31464d==null?void 0x0:_0x31464d[_0x4af605(0x201)])===_0x3db6ac[_0x4af605(0x219)]&&_0x38e3bc[_0x4af605(0x285)][_0x4af605(0x270)][_0x4af605(0x279)](_0x507699=>_0x507699['id']===_0x498d90['id'])&&(this[_0x4af605(0x21c)]['unMountHistoryContent'](),_0x1edb15[_0x4af605(0x258)](),this[_0x4af605(0x25d)]&&clearTimeout(this[_0x4af605(0x25d)]),await((_0x304406=this['_localCacheService'])==null?void 0x0:_0x304406['exhaustSavingTask']()),setTimeout(()=>window[_0x4af605(0x228)]['reload']()));});this[_0x2ee00e(0x25d)]=setTimeout(()=>{const _0x7198ef=_0x2ee00e;_0x1edb15['unsubscribe'](),this[_0x7198ef(0x1f5)][_0x7198ef(0x20c)]({'content':this[_0x7198ef(0x277)]['t'](_0x7198ef(0x1e2)),'type':_0x2a24d6[_0x7198ef(0x283)],'duration':0xbb8});},0x1388);}}));}};p=pi([m(0x0,_0x3e4b94),m(0x1,_0x50cef2),m(0x2,_0x40903e(_0x411ec7)),m(0x3,_0x40903e(f)),m(0x4,_0x40903e(_0x3b9931)),m(0x5,_0x42831f),m(0x6,_0x40903e(_0x5627b9)),m(0x7,_0x2479ba)],p);var Si=Object['getOwnPropertyDescriptor'],Ci=(_0xf2e89d,_0x1d3c1a,_0x9f5041,_0x51efb0)=>{const _0x18b02c=_0x43485c;for(var _0x2c010f=_0x51efb0>0x1?void 0x0:_0x51efb0?Si(_0x1d3c1a,_0x9f5041):_0x1d3c1a,_0x21946f=_0xf2e89d[_0x18b02c(0x1e9)]-0x1,_0x2915e6;_0x21946f>=0x0;_0x21946f--)(_0x2915e6=_0xf2e89d[_0x21946f])&&(_0x2c010f=_0x2915e6(_0x2c010f)||_0x2c010f);return _0x2c010f;},R=(_0x40874b,_0x41777b)=>(_0xfeebed,_0x184019)=>_0x41777b(_0xfeebed,_0x184019,_0x40874b);const yi=_0x43485c(0x1e3);var _;let H=(_=class extends _0x7f0162{constructor(_0x1b4f5f=N,_0x862d7f,_0x201000){const _0x487d5e=_0x43485c;super(),this[_0x487d5e(0x24b)]=_0x1b4f5f,this[_0x487d5e(0x27f)]=_0x862d7f,this['_configService']=_0x201000;const {menu:_0x16aaec,..._0x4355e9}=_0x4ef9cf({},N,this['_config']);_0x16aaec&&this[_0x487d5e(0x23f)]['setConfig']('menu',_0x16aaec,{'merge':!0x0}),this['_configService'][_0x487d5e(0x243)](U,_0x4355e9),this['_config'][_0x487d5e(0x26b)]&&this['_configService'][_0x487d5e(0x243)](G,this['_config'][_0x487d5e(0x26b)]);}[_0x43485c(0x23d)](){const _0xcb7e6a=_0x43485c;[[f],[p]]['forEach'](_0x34227c=>this[_0xcb7e6a(0x27f)]['add'](_0x34227c));}[_0x43485c(0x248)](){const _0x4d8e62=_0x43485c;this['_injector'][_0x4d8e62(0x22b)](p);}},g(_,_0x43485c(0x21e),_0x49ca58[_0x43485c(0x251)]),g(_,_0x43485c(0x275),yi),_);H=Ci([R(0x1,_0x40903e(_0x59122a)),R(0x2,_0x51a1d6)],H);export{f as HistoryLoaderService,G as UNIVER_CONTAINER_ID_KEY,d as UNIVER_HISTORY_CONTAINER_ID,H as UniverEditHistoryLoaderPlugin};
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x3e9464=_0x6d24;(function(_0x150428,_0x3ee43f){const _0x3a247b=_0x6d24,_0x5f1aa1=_0x150428();while(!![]){try{const _0x538a50=-parseInt(_0x3a247b(0x206))/0x1*(-parseInt(_0x3a247b(0x226))/0x2)+-parseInt(_0x3a247b(0x1ef))/0x3*(-parseInt(_0x3a247b(0x22b))/0x4)+parseInt(_0x3a247b(0x246))/0x5*(-parseInt(_0x3a247b(0x20f))/0x6)+parseInt(_0x3a247b(0x1bd))/0x7+parseInt(_0x3a247b(0x24f))/0x8+parseInt(_0x3a247b(0x1b9))/0x9*(-parseInt(_0x3a247b(0x1ca))/0xa)+parseInt(_0x3a247b(0x223))/0xb*(-parseInt(_0x3a247b(0x1c5))/0xc);if(_0x538a50===_0x3ee43f)break;else _0x5f1aa1['push'](_0x5f1aa1['shift']());}catch(_0x1a07f9){_0x5f1aa1['push'](_0x5f1aa1['shift']());}}}(_0x5e3d,0xbf875));var Y=Object[_0x3e9464(0x217)],B=(_0x384d26,_0x21c8ef,_0x404d53)=>_0x21c8ef in _0x384d26?Y(_0x384d26,_0x21c8ef,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x404d53}):_0x384d26[_0x21c8ef]=_0x404d53,g=(_0xc342c0,_0x1fd9f5,_0x1c2fea)=>B(_0xc342c0,typeof _0x1fd9f5!=_0x3e9464(0x239)?_0x1fd9f5+'':_0x1fd9f5,_0x1c2fea);function _0x5e3d(){const _0x5b3322=['white','zIndex','history-container','getSheetId','url(#$1','UNIVER_SHEET','_revertErrorTimer','univerContainerId','mask','_checkCanRevert','BUTTON','_initListener','use','_historyUniver$','closeAll','historyPanelComponentKey','_selectionProtectionRuleModel','disposeWithMe','univer.operation.toggle-edit-history','attrs','menu','editHistory.panel.listFetchError','_permissionService','toString','editHistory.panel.title','_messageService','historyUniver','1623gpMryU','_commandService','set','setTheme','displayName','UniverIcon','univerjs-icon\x20univerjs-icon-','composePermission','forEach','trim','absolute','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','registerPlugin','div','getCurrentLocale','HistoryIcon','_dialogService','event$','exhaustSavingTask','1em','defs','historyListServerUrl','editHistory.panel.revertFailed','5nKTWGV','__getInjector','includes','getConfig','close','unsubscribe','getCollabEntity','_injector','length','6019938OylDiU','clipPath','display','appendChild','Error','url(#history-icon_clip0_907_281)','status','add','defineProperty','asObservable','type','mutations','state$','uComp','style','getElementById','next','revertRevision$','entries','_disposableCollection','2273469TvFlgp','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','block','400396iDBTfO','1000','get','OTHERS','idSuffix','10148tXagLs','workerURL','register','position','_historyManagerService','setLocale','createElement','has','assign','_initPlugins','edit-history-loader.config','_themeService','mergeMenu','onStarting','symbol','xlink:href','onSteady','show','100%','getSheets','string','svg','dispose','historyUniver$','_localeService','unMountHistoryContent','_menuManagerService','5ZPNtbs','getUnit','replace','currentTheme$','_univerInstanceService','[HistoryLoaderService]:\x20Plugin\x20','http://www.w3.org/2000/svg','_config','_configService','4475464jfofhd','defIds','_initUniver','mountHistoryContent','OPERATION','every','Loading','\x20has\x20been\x20registered.','_localCacheService','path','permissionId','subscribe','setConfig','children','map','onCommandExecuted','random','getAllPlugins','Exited','_pluginMap','setDarkMode','M0\x200H16V16H0z','dataset','_componentManager','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','UNIVER_UNKNOWN','./worker.js','status$','executeCommand','value','_initContainer','pluginName','9QQAUEx','from','univer-container','some','9548196PQeJac','getOwnPropertyDescriptor','params','none','width','SYNCED','_sidebarService','flat','132DjMikC','top','fill','clear','tag','2356750LQLNDJ','invoke','_collaborationController','_init','height','history-icon_clip0_907_281','darkMode$','colorChannel1','current','univer-history-container'];_0x5e3d=function(){return _0x5b3322;};return _0x5e3d();}import{Inject as _0x25fe33,LocaleService as _0x548403,IUniverInstanceService as _0x399674,IConfigService as _0x5e4c50,ICommandService as _0x2eaec9,IPermissionService as _0x1c798f,ThemeService as _0x42b028,Disposable as _0x5bba4b,DisposableCollection as _0x12c0ff,Univer as _0x52900e,IAuthzIoService as _0x544b5f,CommandType as _0x165f38,UniverInstanceType as _0x194ec1,RxDisposable as _0x121c22,toDisposable as _0x4e346c,Plugin as _0x493d29,merge as _0x2abd5c,Injector as _0xf8d04a}from'@univerjs/core';import{UniverCollaborationPlugin as _0x2b7fce,RevertRevisionMutation as _0x184b26,CollaborationEvent as _0x3be8b7}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x550914,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0xa26f74,CollaborationController as _0x3f5841,ILocalCacheService as _0x15bea6,CollaborationStatus as _0x36af8c}from'@univerjs-pro/collaboration-client';import{MessageType as _0x139df4}from'@univerjs/design';import{useRef as _0x1ee2d2,createElement as _0x3efab1,forwardRef as _0x12baec}from'react';import{IMessageService as _0x38756a,IDialogService as _0x7b3093,ISidebarService as _0x50e881,UniverUIPlugin as _0x37990f,getMenuHiddenObservable as _0x476ddc,MenuItemType as _0x377956,RibbonStartGroup as _0x399ef4,IMenuManagerService as _0x55b074,ComponentManager as _0x4fe6da}from'@univerjs/ui';import{BehaviorSubject as _0x1e8ac2,combineLatest as _0x347d03}from'rxjs';import{RangeProtectionRuleModel as _0x8108a8,UniverSheetsPlugin as _0x5ee71e,WorkbookEditablePermission as _0x1b4814,WorksheetEditPermission as _0x5d0e6f,RangeProtectionPermissionEditPoint as _0x23f237,WorkbookRecoverHistoryPermission as _0x313a75,getSheetCommandTarget as _0x7533ce,WorkbookViewHistoryPermission as _0x46a095}from'@univerjs/sheets';import{UniverEditHistoryViewerPlugin as _0xbaadcb,HistoryManagerService as _0x80b01d,HistoryModeStatus as _0x387498}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0xe6e52d,UniverLicensePlugin as _0x57f9aa}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x2ad158}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0x4cf70d}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x526a1a}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x9c8555}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x406a2f}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x12bcf7}from'@univerjs/data-validation';import{UniverDocsPlugin as _0x2124ed}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x29e56f}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0x510f31,IImageIoService as _0x1646b4}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x72bb2a}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x136ea0}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0xaa4b4d}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0xb1e1e4}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0x151420,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0x392b38}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x5b88a6}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0xe2449d}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x55f049}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationUIPlugin as _0x34b5de}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x1c60ff}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0xb9acd7}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x380130}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x17b14e}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x5b44cb}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x4459f2}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x1d1edf}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x422485}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x17a62e}from'@univerjs/sheets-numfmt';import{UniverSheetsUIPlugin as _0x498cfc,getCurrentRangeDisable$ as _0x14f44f}from'@univerjs/sheets-ui';const U=_0x3e9464(0x235),N={};function F({ref:_0x3173b2,..._0x562b8d}){const _0x1e332c=_0x3e9464,{icon:_0xc5fcf6,id:_0x441048,className:_0xfe1fd6,extend:_0x2cfe86,..._0x102bb8}=_0x562b8d,_0x511e40=(_0x1e332c(0x1f5)+_0x441048+'\x20'+(_0xfe1fd6||''))[_0x1e332c(0x1f8)](),_0x155f86=_0x1ee2d2('_'+hi());return j(_0xc5fcf6,''+_0x441048,{'defIds':_0xc5fcf6[_0x1e332c(0x250)],'idSuffix':_0x155f86[_0x1e332c(0x1d2)]},{'ref':_0x3173b2,'className':_0x511e40,..._0x102bb8},_0x2cfe86);}function j(_0x168e9f,_0x38e9eb,_0x5c0d0d,_0x83f759,_0x4f35ff){const _0x375e61=_0x3e9464;return _0x3efab1(_0x168e9f[_0x375e61(0x1c9)],{'key':_0x38e9eb,...ci(_0x168e9f,_0x5c0d0d,_0x4f35ff),..._0x83f759},(li(_0x168e9f,_0x5c0d0d)[_0x375e61(0x25c)]||[])[_0x375e61(0x1a7)]((_0x375e29,_0xa0afa7)=>j(_0x375e29,_0x38e9eb+'-'+_0x168e9f['tag']+'-'+_0xa0afa7,_0x5c0d0d,void 0x0,_0x4f35ff)));}function ci(_0x2912f3,_0x5723e8,_0x170018){const _0x5880ac=_0x3e9464,_0x34f167={..._0x2912f3['attrs']};_0x170018!=null&&_0x170018[_0x5880ac(0x1d1)]&&_0x34f167[_0x5880ac(0x1c7)]===_0x5880ac(0x1d1)&&(_0x34f167['fill']=_0x170018[_0x5880ac(0x1d1)]),_0x2912f3[_0x5880ac(0x1c9)]===_0x5880ac(0x1dc)&&_0x34f167['id']&&(_0x34f167['id']=_0x34f167['id']+_0x5723e8[_0x5880ac(0x22a)]),Object[_0x5880ac(0x221)](_0x34f167)['forEach'](([_0x5a546e,_0x742618])=>{const _0x331a7e=_0x5880ac;_0x5a546e===_0x331a7e(0x1dc)&&typeof _0x742618==_0x331a7e(0x23f)&&(_0x34f167[_0x5a546e]=_0x742618[_0x331a7e(0x248)](/url\(#(.*)\)/,_0x331a7e(0x1d8)+_0x5723e8[_0x331a7e(0x22a)]+')'));});const {defIds:_0x6e749d}=_0x5723e8;return!_0x6e749d||_0x6e749d[_0x5880ac(0x20e)]===0x0||(_0x2912f3['tag']===_0x5880ac(0x1e0)&&_0x34f167[_0x5880ac(0x23a)]&&(_0x34f167[_0x5880ac(0x23a)]=_0x34f167['xlink:href']+_0x5723e8[_0x5880ac(0x22a)]),Object[_0x5880ac(0x221)](_0x34f167)[_0x5880ac(0x1f7)](([_0x2cf554,_0x11a0e8])=>{const _0x610c3d=_0x5880ac;typeof _0x11a0e8==_0x610c3d(0x23f)&&(_0x34f167[_0x2cf554]=_0x11a0e8[_0x610c3d(0x248)](/url\(#(.*)\)/,_0x610c3d(0x1d8)+_0x5723e8[_0x610c3d(0x22a)]+')'));})),_0x34f167;}function li(_0x40ec70,_0x1debbb){const _0x252433=_0x3e9464;var _0x2691bd;const {defIds:_0x3558dc}=_0x1debbb;return!_0x3558dc||_0x3558dc[_0x252433(0x20e)]===0x0?_0x40ec70:_0x40ec70[_0x252433(0x1c9)]===_0x252433(0x203)&&((_0x2691bd=_0x40ec70[_0x252433(0x25c)])!=null&&_0x2691bd[_0x252433(0x20e)])?{..._0x40ec70,'children':_0x40ec70[_0x252433(0x25c)][_0x252433(0x1a7)](_0xb89e00=>typeof _0xb89e00['attrs']['id']==_0x252433(0x23f)&&_0x3558dc&&_0x3558dc[_0x252433(0x208)](_0xb89e00[_0x252433(0x1e7)]['id'])?{..._0xb89e00,'attrs':{..._0xb89e00[_0x252433(0x1e7)],'id':_0xb89e00[_0x252433(0x1e7)]['id']+_0x1debbb[_0x252433(0x22a)]}}:_0xb89e00)}:_0x40ec70;}function hi(){const _0x4cc04f=_0x3e9464;return Math[_0x4cc04f(0x1a9)]()[_0x4cc04f(0x1eb)](0x24)['substring'](0x2,0x8);}F[_0x3e9464(0x1f3)]=_0x3e9464(0x1f4);const ui={'tag':_0x3e9464(0x240),'attrs':{'xmlns':_0x3e9464(0x24c),'fill':_0x3e9464(0x1c0),'viewBox':'0\x200\x2016\x2016','width':_0x3e9464(0x202),'height':_0x3e9464(0x202)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x3e9464(0x214)},'children':[{'tag':'path','attrs':{'d':_0x3e9464(0x1fa)}},{'tag':_0x3e9464(0x258),'attrs':{'d':_0x3e9464(0x224)}}]},{'tag':_0x3e9464(0x203),'attrs':{},'children':[{'tag':_0x3e9464(0x210),'attrs':{'id':_0x3e9464(0x1cf)},'children':[{'tag':_0x3e9464(0x258),'attrs':{'fill':_0x3e9464(0x1d4),'d':_0x3e9464(0x1ae)}}]}]}],'defIds':['history-icon_clip0_907_281']},V=_0x12baec(function(_0x58b3ca,_0xf55b1b){const _0x3c13ca=_0x3e9464;return _0x3efab1(F,Object[_0x3c13ca(0x233)]({},_0x58b3ca,{'id':'history-icon','ref':_0xf55b1b,'icon':ui}));});V['displayName']=_0x3e9464(0x1fe);var gi=Object[_0x3e9464(0x1be)],mi=(_0xe20398,_0x385e46,_0x5eaa2d,_0x4f531c)=>{const _0x3b5551=_0x3e9464;for(var _0xe2670a=_0x4f531c>0x1?void 0x0:_0x4f531c?gi(_0x385e46,_0x5eaa2d):_0x385e46,_0x2bfed2=_0xe20398[_0x3b5551(0x20e)]-0x1,_0x2c77ac;_0x2bfed2>=0x0;_0x2bfed2--)(_0x2c77ac=_0xe20398[_0x2bfed2])&&(_0xe2670a=_0x2c77ac(_0xe2670a)||_0xe2670a);return _0xe2670a;},l=(_0x16cc92,_0xaf725b)=>(_0x386dde,_0x3069b6)=>_0xaf725b(_0x386dde,_0x3069b6,_0x16cc92);const vi=_0x3e9464(0x1bb),G='UNIVER_CONTAINER_ID',d=_0x3e9464(0x1d3);let f=class extends _0x5bba4b{constructor(_0x439bfd,_0x4bfecf,_0x4dca0b,_0x10eedb,_0x2a4cba,_0x55e083,_0x28055d,_0x2adb91,_0x11a2c2,_0x35e4ee){const _0x28f142=_0x3e9464;super(),g(this,_0x28f142(0x1e1),new _0x1e8ac2(null)),g(this,_0x28f142(0x242),this['_historyUniver$'][_0x28f142(0x218)]()),g(this,_0x28f142(0x222),new _0x12c0ff()),g(this,_0x28f142(0x1ac),new Map()),(this['_localeService']=_0x439bfd,this[_0x28f142(0x24a)]=_0x4bfecf,this[_0x28f142(0x24e)]=_0x4dca0b,this[_0x28f142(0x1f0)]=_0x10eedb,this[_0x28f142(0x1ed)]=_0x2a4cba,this[_0x28f142(0x1ea)]=_0x55e083,this[_0x28f142(0x1e4)]=_0x28055d,this[_0x28f142(0x1ff)]=_0x2adb91,this['_sidebarService']=_0x11a2c2,this[_0x28f142(0x236)]=_0x35e4ee,this['_init']());}get['historyUniver'](){const _0x489c14=_0x3e9464;return this[_0x489c14(0x1e1)]['value'];}[_0x3e9464(0x1cd)](){const _0x2fdae1=_0x3e9464;this['_initContainer'](),this[_0x2fdae1(0x234)]();}[_0x3e9464(0x1b7)](){const _0x1fe9e5=_0x3e9464;var _0x3ae1a8;const _0x110b55=(_0x3ae1a8=this['_configService'][_0x1fe9e5(0x209)](G))!=null?_0x3ae1a8:vi,_0x911c64=document['getElementById'](_0x110b55);if(!_0x911c64)return;const _0x23f174=document[_0x1fe9e5(0x231)](_0x1fe9e5(0x1fc));_0x23f174['id']=d,_0x23f174[_0x1fe9e5(0x1af)][_0x1fe9e5(0x21c)]=_0x1fe9e5(0x1d6),_0x23f174['style'][_0x1fe9e5(0x22e)]=_0x1fe9e5(0x1f9),_0x23f174[_0x1fe9e5(0x21d)][_0x1fe9e5(0x1c6)]='0',_0x23f174[_0x1fe9e5(0x21d)]['left']='0',_0x23f174[_0x1fe9e5(0x21d)][_0x1fe9e5(0x1c1)]=_0x1fe9e5(0x23d),_0x23f174[_0x1fe9e5(0x21d)][_0x1fe9e5(0x1ce)]=_0x1fe9e5(0x23d),_0x23f174['style'][_0x1fe9e5(0x1d5)]=_0x1fe9e5(0x227),_0x23f174[_0x1fe9e5(0x21d)][_0x1fe9e5(0x211)]=_0x1fe9e5(0x1c0),_0x911c64[_0x1fe9e5(0x212)](_0x23f174);}[_0x3e9464(0x234)](){const _0x3c172f=_0x3e9464;var _0x33177d,_0x266460,_0x575df6,_0x348a29;[[_0xaa4b4d],[_0x37990f,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x7b3093,null]]}],[_0xb1e1e4],[_0x510f31,{'override':[[_0x1646b4,null]]}],[_0x2124ed,{'hasScroll':!0x1}],[_0x29e56f],[_0x17a62e],[_0x5ee71e,{'notExecuteFormula':!0x0}],[_0x498cfc],[_0x5b44cb],[_0x4459f2],[_0x2b7fce],[_0x380130],[_0x17b14e],[_0x5b88a6],[_0xe2449d],[_0x1d1edf],[_0x422485],[_0x12bcf7],[_0x55f049],[_0x34b5de],[_0x136ea0,{'notExecuteFormula':!0x0}],[_0x151420,{'workerURL':(_0x266460=(_0x33177d=this[_0x3c172f(0x24e)][_0x3c172f(0x209)](_0x392b38))==null?void 0x0:_0x33177d[_0x3c172f(0x22c)])!=null?_0x266460:_0x3c172f(0x1b3)}],[_0x72bb2a],[_0x1c60ff],[_0xb9acd7],[_0x9c8555],[_0x406a2f],[_0x2ad158],[_0x4cf70d],[_0x526a1a,{'notExecuteFormula':!0x0}],[_0xbaadcb,{'historyListServerUrl':(_0x575df6=this[_0x3c172f(0x24e)]['getConfig'](U))==null?void 0x0:_0x575df6[_0x3c172f(0x204)],'historyPanelComponentKey':(_0x348a29=this['_configService']['getConfig'](U))==null?void 0x0:_0x348a29[_0x3c172f(0x1e3)]}]]['forEach'](([_0x283d38,_0x225c7f])=>this[_0x3c172f(0x1fb)](_0x283d38,_0x225c7f));}[_0x3e9464(0x241)](){const _0x3295a6=_0x3e9464;super[_0x3295a6(0x241)](),this[_0x3295a6(0x244)](),this[_0x3295a6(0x1ac)][_0x3295a6(0x1c8)]();}[_0x3e9464(0x1fb)](_0xf00c80,_0x41eacd,_0x235f09){const _0x3376ce=_0x3e9464;if(this[_0x3376ce(0x1ac)][_0x3376ce(0x232)](_0xf00c80[_0x3376ce(0x1b8)])&&!_0x235f09)throw new Error(_0x3376ce(0x24b)+_0xf00c80[_0x3376ce(0x1b8)]+_0x3376ce(0x256));this[_0x3376ce(0x1ac)][_0x3376ce(0x1f1)](_0xf00c80['pluginName'],[_0xf00c80,_0x41eacd]);}[_0x3e9464(0x1aa)](){const _0xd5576c=_0x3e9464;return Array[_0xd5576c(0x1ba)](this[_0xd5576c(0x1ac)]['values']());}[_0x3e9464(0x252)](_0x2319bd){const _0x4b06c8=_0x3e9464,_0x1e4f9b=document[_0x4b06c8(0x21e)](d);_0x1e4f9b&&(_0x1e4f9b[_0x4b06c8(0x21d)][_0x4b06c8(0x211)]=_0x4b06c8(0x225),this['_initUniver'](_0x2319bd,d));}[_0x3e9464(0x244)](){const _0x15e8f0=_0x3e9464;var _0x22005c;this['_disposableCollection']['dispose'](),(_0x22005c=this[_0x15e8f0(0x1ee)])==null||_0x22005c[_0x15e8f0(0x241)](),this['_historyUniver$'][_0x15e8f0(0x21f)](null);const _0x41068f=document[_0x15e8f0(0x21e)](d);_0x41068f&&(_0x41068f[_0x15e8f0(0x21d)]['display']='none');}[_0x3e9464(0x251)](_0x159b4c,_0x263e2e){const _0x1e9971=_0x3e9464;if(this[_0x1e9971(0x1ee)])return;const _0x4aff8a=new _0x52900e({'locales':{[this[_0x1e9971(0x243)]['getCurrentLocale']()]:this[_0x1e9971(0x243)]['getLocales']()},'override':[[_0x544b5f,{'useClass':_0x550914}]]}),_0x2b69e3=_0x4aff8a[_0x1e9971(0x207)]();this[_0x1e9971(0x1e5)](this[_0x1e9971(0x236)][_0x1e9971(0x1d0)]['subscribe'](_0x25d6b2=>{const _0x4e6a6c=_0x1e9971;_0x2b69e3['get'](_0x42b028)[_0x4e6a6c(0x1ad)](_0x25d6b2);})),this[_0x1e9971(0x1e5)](this[_0x1e9971(0x236)][_0x1e9971(0x249)]['subscribe'](_0x4a9515=>{const _0x4ca775=_0x1e9971;_0x2b69e3['get'](_0x42b028)[_0x4ca775(0x1f2)](_0x4a9515);})),_0x2b69e3[_0x1e9971(0x228)](_0x548403)[_0x1e9971(0x230)](this[_0x1e9971(0x243)][_0x1e9971(0x1fd)]()),_0x2b69e3['get'](_0x5e4c50)['setConfig'](_0xa26f74,this['_configService'][_0x1e9971(0x209)](_0xa26f74));const _0x3e2d78=this['_configService'][_0x1e9971(0x209)](_0xe6e52d);_0x3e2d78&&_0x4aff8a[_0x1e9971(0x1fb)](_0x57f9aa,{'license':_0x3e2d78['ls']}),this[_0x1e9971(0x1ac)][_0x1e9971(0x1f7)](([_0x463273,_0x58e065])=>{const _0x17248a=_0x1e9971;_0x4aff8a[_0x17248a(0x1fb)](_0x463273,_0x58e065);}),_0x2b69e3[_0x1e9971(0x1cb)](_0x5f3c13=>{const _0x509f5f=_0x1e9971;this[_0x509f5f(0x1df)](_0x5f3c13,_0x159b4c);}),this[_0x1e9971(0x1e1)][_0x1e9971(0x21f)](_0x4aff8a);const _0xdf7a5b=_0x2b69e3['get'](_0x80b01d),_0x58a340=this[_0x1e9971(0x1dd)](_0x159b4c);_0xdf7a5b['triggerLoadVersions'](_0x159b4c,_0x263e2e,_0x58a340);}[_0x3e9464(0x1df)](_0x125aa7,_0x4232b2){const _0x14bc63=_0x3e9464,_0x395f5a=_0x125aa7[_0x14bc63(0x228)](_0x80b01d);this[_0x14bc63(0x222)][_0x14bc63(0x216)](_0x395f5a[_0x14bc63(0x1b4)][_0x14bc63(0x25a)](_0x1b352c=>{const _0x4f7d94=_0x14bc63;switch(_0x1b352c){case _0x387498['Entered']:this['_dialogService'][_0x4f7d94(0x1e2)](),this[_0x4f7d94(0x1c3)][_0x4f7d94(0x20a)]();break;case _0x387498[_0x4f7d94(0x1ab)]:this['_commandService']['executeCommand'](W['id']),this['unMountHistoryContent']();break;case _0x387498[_0x4f7d94(0x213)]:this[_0x4f7d94(0x244)](),this[_0x4f7d94(0x1ed)]['show']({'content':this['_localeService']['t'](_0x4f7d94(0x1e9)),'type':_0x139df4[_0x4f7d94(0x213)],'duration':0xbb8});break;}})),this[_0x14bc63(0x222)][_0x14bc63(0x216)](_0x395f5a[_0x14bc63(0x220)][_0x14bc63(0x25a)](async _0x1c0eca=>{const _0x2a02c0=_0x14bc63;_0x1c0eca&&this[_0x2a02c0(0x1f0)][_0x2a02c0(0x1b5)](_0x184b26['id'],{'unitId':_0x4232b2,'revision':_0x1c0eca});}));}['_checkCanRevert'](_0x40e691){const _0x4bfc62=_0x3e9464,_0x4ea6c1=this[_0x4bfc62(0x24a)][_0x4bfc62(0x247)](_0x40e691)[_0x4bfc62(0x23e)]()[_0x4bfc62(0x1a7)](_0xd73b2c=>_0xd73b2c[_0x4bfc62(0x1d7)]()),_0x427d41=new _0x1b4814(_0x40e691)['id'],_0x4721e7=_0x4ea6c1[_0x4bfc62(0x1a7)](_0x162542=>new _0x5d0e6f(_0x40e691,_0x162542)['id']),_0x3efce1=_0x4ea6c1['map'](_0x1686cf=>this[_0x4bfc62(0x1e4)]['getSubunitRuleList'](_0x40e691,_0x1686cf)['map'](_0x32359c=>new _0x23f237(_0x40e691,_0x1686cf,_0x32359c[_0x4bfc62(0x259)])['id']))[_0x4bfc62(0x1c4)](),_0x4ff5e0=new _0x313a75(_0x40e691)['id'];return this[_0x4bfc62(0x1ea)][_0x4bfc62(0x1f6)]([_0x427d41,..._0x4721e7,..._0x3efce1,_0x4ff5e0])[_0x4bfc62(0x254)](_0x31e6da=>!!_0x31e6da[_0x4bfc62(0x1b6)]);}};f=mi([l(0x0,_0x25fe33(_0x548403)),l(0x1,_0x399674),l(0x2,_0x5e4c50),l(0x3,_0x2eaec9),l(0x4,_0x38756a),l(0x5,_0x1c798f),l(0x6,_0x25fe33(_0x8108a8)),l(0x7,_0x25fe33(_0x7b3093)),l(0x8,_0x25fe33(_0x50e881)),l(0x9,_0x25fe33(_0x42b028))],f);const b={'id':_0x3e9464(0x1e6),'type':_0x165f38[_0x3e9464(0x253)],'handler':_0x573f2f=>{const _0x48e9e5=_0x3e9464,_0x5ccbc4=_0x573f2f[_0x48e9e5(0x228)](f),_0x53c33d=_0x573f2f[_0x48e9e5(0x228)](_0x399674),{unitId:_0x4a97b2}=_0x7533ce(_0x53c33d)||{};return _0x4a97b2?(_0x5ccbc4[_0x48e9e5(0x252)](_0x4a97b2),!0x0):!0x1;}},W={'id':'univer.operation.exit-edit-history','type':_0x165f38[_0x3e9464(0x253)],'handler':()=>!0x0};function di(_0xcdca8d){const _0x4550ab=_0x3e9464;return{'id':b['id'],'type':_0x377956[_0x4550ab(0x1de)],'icon':_0x4550ab(0x1fe),'tooltip':_0x4550ab(0x1ec),'hidden$':_0x476ddc(_0xcdca8d,_0x194ec1[_0x4550ab(0x1d9)]),'disabled$':_0x14f44f(_0xcdca8d,{'workbookTypes':[_0x1b4814,_0x46a095],'worksheetTypes':[],'rangeTypes':[]})};}const fi={[_0x399ef4[_0x3e9464(0x229)]]:{[b['id']]:{'order':0.2,'menuItemFactory':di}}};var _i=Object['getOwnPropertyDescriptor'],pi=(_0x20c699,_0x5d9759,_0x108099,_0x4760ac)=>{for(var _0x3df027=_0x4760ac>0x1?void 0x0:_0x4760ac?_i(_0x5d9759,_0x108099):_0x5d9759,_0x5a8343=_0x20c699['length']-0x1,_0x322712;_0x5a8343>=0x0;_0x5a8343--)(_0x322712=_0x20c699[_0x5a8343])&&(_0x3df027=_0x322712(_0x3df027)||_0x3df027);return _0x3df027;},m=(_0x4aefa3,_0x4a93b9)=>(_0x2e90ea,_0x1e2de5)=>_0x4a93b9(_0x2e90ea,_0x1e2de5,_0x4aefa3);let p=class extends _0x121c22{constructor(_0x4e851e,_0x3ac1a7,_0x1feff3,_0x13fb29,_0x46c877,_0x2dd0d3,_0xc62c46,_0x11a50f){const _0x1310f1=_0x3e9464;super(),g(this,_0x1310f1(0x1da),null),(this[_0x1310f1(0x1f0)]=_0x4e851e,this['_menuManagerService']=_0x3ac1a7,this[_0x1310f1(0x1b0)]=_0x1feff3,this[_0x1310f1(0x22f)]=_0x13fb29,this[_0x1310f1(0x243)]=_0x46c877,this[_0x1310f1(0x1ed)]=_0x2dd0d3,this['_collaborationController']=_0xc62c46,this[_0x1310f1(0x257)]=_0x11a50f,this[_0x1310f1(0x1cd)]());}[_0x3e9464(0x1cd)](){const _0x4e3b7a=_0x3e9464;[b,W]['forEach'](_0x3e9645=>this[_0x4e3b7a(0x1e5)](_0x4e346c(this[_0x4e3b7a(0x1f0)]['registerCommand'](_0x3e9645)))),this[_0x4e3b7a(0x1e5)](this[_0x4e3b7a(0x1b0)][_0x4e3b7a(0x22d)](_0x4e3b7a(0x1fe),V)),this[_0x4e3b7a(0x245)][_0x4e3b7a(0x237)](fi),this['disposeWithMe'](this[_0x4e3b7a(0x1f0)][_0x4e3b7a(0x1a8)](_0x51b1a4=>{const _0x3ceebe=_0x4e3b7a;if(_0x51b1a4['id']===_0x184b26['id']){this['_messageService'][_0x3ceebe(0x23c)]({'content':this[_0x3ceebe(0x243)]['t']('editHistory.panel.reverting'),'type':_0x139df4[_0x3ceebe(0x255)],'duration':0x1388});const {unitId:_0x4264ae}=_0x51b1a4[_0x3ceebe(0x1bf)],_0x34299e=this[_0x3ceebe(0x1cc)][_0x3ceebe(0x20c)](_0x4264ae),_0x3ef89c=_0x347d03([_0x34299e['session'][_0x3ceebe(0x200)],_0x34299e[_0x3ceebe(0x21b)]])['subscribe'](async([_0x417849,_0x1ec675])=>{const _0x1b8a17=_0x3ceebe;var _0x10b449;_0x417849['eventID']===_0x3be8b7['CHANGESET_ACK']&&(_0x1ec675==null?void 0x0:_0x1ec675[_0x1b8a17(0x215)])===_0x36af8c[_0x1b8a17(0x1c2)]&&_0x417849['data'][_0x1b8a17(0x21a)][_0x1b8a17(0x1bc)](_0x286e79=>_0x286e79['id']===_0x184b26['id'])&&(this['_historyManagerService'][_0x1b8a17(0x244)](),_0x3ef89c['unsubscribe'](),this[_0x1b8a17(0x1da)]&&clearTimeout(this[_0x1b8a17(0x1da)]),await((_0x10b449=this[_0x1b8a17(0x257)])==null?void 0x0:_0x10b449[_0x1b8a17(0x201)]()),setTimeout(()=>window['location']['reload']()));});this[_0x3ceebe(0x1da)]=setTimeout(()=>{const _0x195fe8=_0x3ceebe;_0x3ef89c[_0x195fe8(0x20b)](),this['_messageService'][_0x195fe8(0x23c)]({'content':this[_0x195fe8(0x243)]['t'](_0x195fe8(0x205)),'type':_0x139df4['Error'],'duration':0xbb8});},0x1388);}}));}};p=pi([m(0x0,_0x2eaec9),m(0x1,_0x55b074),m(0x2,_0x25fe33(_0x4fe6da)),m(0x3,_0x25fe33(f)),m(0x4,_0x25fe33(_0x548403)),m(0x5,_0x38756a),m(0x6,_0x25fe33(_0x3f5841)),m(0x7,_0x15bea6)],p);var Si=Object[_0x3e9464(0x1be)],Ci=(_0x65a811,_0x3758d0,_0x2d15d0,_0x1b68cd)=>{const _0x5a1ee4=_0x3e9464;for(var _0x5187f1=_0x1b68cd>0x1?void 0x0:_0x1b68cd?Si(_0x3758d0,_0x2d15d0):_0x3758d0,_0x5e9cc1=_0x65a811[_0x5a1ee4(0x20e)]-0x1,_0x17f984;_0x5e9cc1>=0x0;_0x5e9cc1--)(_0x17f984=_0x65a811[_0x5e9cc1])&&(_0x5187f1=_0x17f984(_0x5187f1)||_0x5187f1);return _0x5187f1;},R=(_0x581bc6,_0x537cc1)=>(_0x50ef64,_0x36b70a)=>_0x537cc1(_0x50ef64,_0x36b70a,_0x581bc6);const yi=_0x3e9464(0x1b1);var _;let H=(_=class extends _0x493d29{constructor(_0x52020c=N,_0x55b585,_0x34a29d){const _0x16adca=_0x3e9464;super(),this[_0x16adca(0x24d)]=_0x52020c,this[_0x16adca(0x20d)]=_0x55b585,this[_0x16adca(0x24e)]=_0x34a29d;const {menu:_0xedc500,..._0x332609}=_0x2abd5c({},N,this[_0x16adca(0x24d)]);_0xedc500&&this[_0x16adca(0x24e)][_0x16adca(0x25b)](_0x16adca(0x1e8),_0xedc500,{'merge':!0x0}),this[_0x16adca(0x24e)][_0x16adca(0x25b)](U,_0x332609),this[_0x16adca(0x24d)][_0x16adca(0x1db)]&&this[_0x16adca(0x24e)]['setConfig'](G,this[_0x16adca(0x24d)][_0x16adca(0x1db)]);}[_0x3e9464(0x238)](){const _0xff7f2c=_0x3e9464;[[f],[p]][_0xff7f2c(0x1f7)](_0x1f25d8=>this[_0xff7f2c(0x20d)][_0xff7f2c(0x216)](_0x1f25d8));}[_0x3e9464(0x23b)](){const _0x2518d3=_0x3e9464;this[_0x2518d3(0x20d)][_0x2518d3(0x228)](p);}},g(_,_0x3e9464(0x219),_0x194ec1[_0x3e9464(0x1b2)]),g(_,_0x3e9464(0x1b8),yi),_);H=Ci([R(0x1,_0x25fe33(_0xf8d04a)),R(0x2,_0x5e4c50)],H);function _0x6d24(_0x494529,_0x1ac6a8){_0x494529=_0x494529-0x1a7;const _0x5e3d0d=_0x5e3d();let _0x6d2437=_0x5e3d0d[_0x494529];return _0x6d2437;}export{f as HistoryLoaderService,G as UNIVER_CONTAINER_ID_KEY,d as UNIVER_HISTORY_CONTAINER_ID,H as UniverEditHistoryLoaderPlugin};
1
+ const _0x43485c=_0x5bc7;(function(_0x2ec73b,_0x251f07){const _0x3f7f32=_0x5bc7,_0x348094=_0x2ec73b();while(!![]){try{const _0x323652=parseInt(_0x3f7f32(0x1e1))/0x1+parseInt(_0x3f7f32(0x24a))/0x2*(-parseInt(_0x3f7f32(0x20e))/0x3)+-parseInt(_0x3f7f32(0x27c))/0x4*(parseInt(_0x3f7f32(0x28a))/0x5)+-parseInt(_0x3f7f32(0x22d))/0x6*(-parseInt(_0x3f7f32(0x26d))/0x7)+-parseInt(_0x3f7f32(0x24d))/0x8*(parseInt(_0x3f7f32(0x204))/0x9)+-parseInt(_0x3f7f32(0x21b))/0xa*(parseInt(_0x3f7f32(0x27a))/0xb)+parseInt(_0x3f7f32(0x1ed))/0xc*(parseInt(_0x3f7f32(0x235))/0xd);if(_0x323652===_0x251f07)break;else _0x348094['push'](_0x348094['shift']());}catch(_0x3fa35e){_0x348094['push'](_0x348094['shift']());}}}(_0x1dd9,0x8cc0d));var Y=Object['defineProperty'],B=(_0x5e61f8,_0x1a2363,_0x2502af)=>_0x1a2363 in _0x5e61f8?Y(_0x5e61f8,_0x1a2363,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2502af}):_0x5e61f8[_0x1a2363]=_0x2502af,g=(_0x33cb56,_0x4471e4,_0x174f32)=>B(_0x33cb56,typeof _0x4471e4!=_0x43485c(0x1ec)?_0x4471e4+'':_0x4471e4,_0x174f32);import{Inject as _0x40903e,LocaleService as _0x3b9931,IUniverInstanceService as _0x223bbe,IConfigService as _0x51a1d6,ICommandService as _0x3e4b94,IPermissionService as _0x27501e,ThemeService as _0x3da679,Disposable as _0xbdf249,DisposableCollection as _0xc9a98,Univer as _0x3c8338,IAuthzIoService as _0x38de49,CommandType as _0x2b551e,UniverInstanceType as _0x49ca58,RxDisposable as _0x2794d8,toDisposable as _0x34f19d,Plugin as _0x7f0162,merge as _0x4ef9cf,Injector as _0x59122a}from'@univerjs/core';import{UniverCollaborationPlugin as _0x23d1d6,RevertRevisionMutation as _0x498d90,CollaborationEvent as _0x4b273b}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x29c13c,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x8a06f,CollaborationController as _0x5627b9,ILocalCacheService as _0x2479ba,CollaborationStatus as _0x3db6ac}from'@univerjs-pro/collaboration-client';import{MessageType as _0x2a24d6}from'@univerjs/design';import{useRef as _0x4d095e,createElement as _0x2d9e1e,forwardRef as _0x7fcd04}from'react';import{IMessageService as _0x42831f,IDialogService as _0x34611a,ISidebarService as _0x5120a6,UniverUIPlugin as _0x19d475,getMenuHiddenObservable as _0x353c5e,MenuItemType as _0x4c45df,RibbonStartGroup as _0xaaa7bb,IMenuManagerService as _0x50cef2,ComponentManager as _0x411ec7}from'@univerjs/ui';import{BehaviorSubject as _0x4b5f8d,combineLatest as _0x53223f}from'rxjs';import{RangeProtectionRuleModel as _0x18a08d,UniverSheetsPlugin as _0x34ad30,WorkbookEditablePermission as _0x14748c,WorksheetEditPermission as _0xbffc01,RangeProtectionPermissionEditPoint as _0x2475bc,WorkbookRecoverHistoryPermission as _0x30f35a,getSheetCommandTarget as _0x3f672e,WorkbookViewHistoryPermission as _0x581a7d}from'@univerjs/sheets';import{UniverEditHistoryViewerPlugin as _0x51b49c,HistoryManagerService as _0x56ebbd,HistoryModeStatus as _0x2827d6}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x3f5be0,UniverLicensePlugin as _0x272c0d}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x3752f6}from'@univerjs-pro/sheets-chart';function _0x5bc7(_0x3217ae,_0x44f4c4){_0x3217ae=_0x3217ae-0x1dd;const _0x1dd92f=_0x1dd9();let _0x5bc705=_0x1dd92f[_0x3217ae];return _0x5bc705;}import{UniverSheetsChartUIPlugin as _0x5f3192}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x90a901}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x44a211}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x28e471}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x35c63f}from'@univerjs/data-validation';import{UniverDocsPlugin as _0xc5f276}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x9e975a}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0x83924f,IImageIoService as _0xdc2a12}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x4aba90}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x27515d}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x1bbfdc}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x2ae0f6}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0x510c1c,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0x4d5dce}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x4897d4}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x10437e}from'@univerjs/sheets-conditional-formatting-ui';function _0x1dd9(){const _0x2e2f6d=['invoke','40gXlFon','_historyManagerService','http://www.w3.org/2000/svg','type','zIndex','getSheetId','onCommandExecuted','setTheme','tag','assign','url(#history-icon_clip0_907_281)','currentColor','revertRevision$','location','getAllPlugins','getLocales','get','attrs','2742rabduu','flat','_initPlugins','width','values','params','includes','_initUniver','2678ZTyAYW','string','add','mask','close','use','defIds','CHANGESET_ACK','onStarting','_permissionService','_configService','edit-history-loader.config','next','0\x200\x2016\x2016','setConfig','registerCommand','substring','Exited','historyUniver$','onSteady','disposeWithMe','22VXZblb','_config','event$','7459528GgorOp','displayName','\x20has\x20been\x20registered.','defs','UNIVER_UNKNOWN','colorChannel1','subscribe','getUnit','UNIVER_CONTAINER_ID','style','setLocale','unsubscribe','unMountHistoryContent','editHistory.panel.title','_dialogService','value','_revertErrorTimer','[HistoryLoaderService]:\x20Plugin\x20','set','setDarkMode','1em','_init','mountHistoryContent','_localCacheService','getElementById','_selectionProtectionRuleModel','permissionId','_pluginMap','_themeService','currentTheme$','univerContainerId','register','4487kMwcQM','url(#$1','closeAll','mutations','executeCommand','getCurrentLocale','asObservable','editHistory.panel.listFetchError','pluginName','forEach','_localeService','_commandService','some','1680514cbTzem','idSuffix','236cLiRYc','OPERATION','position','_injector','historyListServerUrl','path','uComp','Error','_sidebarService','data','1000','_menuManagerService','univer.operation.toggle-edit-history','UNIVER_SHEET','58630iUVYeF','status$','fill','none','clear','249588bHMiQm','editHistory.panel.revertFailed','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','_univerInstanceService','univer-history-container','getConfig','history-icon_clip0_907_281','every','length','darkMode$','_historyUniver$','symbol','145356pcASMc','map','white','composePermission','_initContainer','getSheets','UniverIcon','div','_messageService','history-container','getCollabEntity','triggerLoadVersions','display','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','svg','editHistory.panel.reverting','historyPanelComponentKey','dispose','absolute','trim','status','random','registerPlugin','9RsOUpd','./worker.js','univer-container','replace','_componentManager','__getInjector','_collaborationController','history-icon','show','_disposableCollection','61611MyhuCd','_initListener','appendChild','_checkCanRevert','HistoryIcon','Loading','historyUniver','entries','clipPath','xlink:href','children','SYNCED'];_0x1dd9=function(){return _0x2e2f6d;};return _0x1dd9();}import{UniverSheetsDataValidationPlugin as _0x5bea24}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationUIPlugin as _0x4645fa}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x469c49}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0xc96a6e}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x5fc771}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x378c3c}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x5eb8b4}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x11320b}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0xb9bda4}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0xfa480c}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x4882f}from'@univerjs/sheets-numfmt';import{UniverSheetsUIPlugin as _0x336260,getCurrentRangeDisable$ as _0x550398}from'@univerjs/sheets-ui';const U=_0x43485c(0x240),N={};function F({ref:_0x3f9f1d,..._0x269133}){const _0x333750=_0x43485c,{icon:_0x3ca006,id:_0x2ca2c2,className:_0x51bc38,extend:_0x538de3,..._0x4abe91}=_0x269133,_0x18c011=('univerjs-icon\x20univerjs-icon-'+_0x2ca2c2+'\x20'+(_0x51bc38||''))[_0x333750(0x200)](),_0x2478a3=_0x4d095e('_'+hi());return j(_0x3ca006,''+_0x2ca2c2,{'defIds':_0x3ca006[_0x333750(0x23b)],'idSuffix':_0x2478a3['current']},{'ref':_0x3f9f1d,'className':_0x18c011,..._0x4abe91},_0x538de3);}function j(_0x385299,_0x45dadb,_0x2e6cef,_0x386b87,_0xee6c46){const _0x32d168=_0x43485c;return _0x2d9e1e(_0x385299[_0x32d168(0x223)],{'key':_0x45dadb,...ci(_0x385299,_0x2e6cef,_0xee6c46),..._0x386b87},(li(_0x385299,_0x2e6cef)[_0x32d168(0x218)]||[])[_0x32d168(0x1ee)]((_0xfb68b8,_0x243c0c)=>j(_0xfb68b8,_0x45dadb+'-'+_0x385299['tag']+'-'+_0x243c0c,_0x2e6cef,void 0x0,_0xee6c46)));}function ci(_0x30293b,_0x196d51,_0x48098f){const _0x16d56b=_0x43485c,_0x5519db={..._0x30293b[_0x16d56b(0x22c)]};_0x48098f!=null&&_0x48098f[_0x16d56b(0x252)]&&_0x5519db[_0x16d56b(0x1de)]===_0x16d56b(0x252)&&(_0x5519db[_0x16d56b(0x1de)]=_0x48098f[_0x16d56b(0x252)]),_0x30293b[_0x16d56b(0x223)]===_0x16d56b(0x238)&&_0x5519db['id']&&(_0x5519db['id']=_0x5519db['id']+_0x196d51[_0x16d56b(0x27b)]),Object[_0x16d56b(0x215)](_0x5519db)[_0x16d56b(0x276)](([_0x5349ed,_0x44aa0a])=>{const _0x36f9f6=_0x16d56b;_0x5349ed===_0x36f9f6(0x238)&&typeof _0x44aa0a==_0x36f9f6(0x236)&&(_0x5519db[_0x5349ed]=_0x44aa0a[_0x36f9f6(0x207)](/url\(#(.*)\)/,'url(#$1'+_0x196d51[_0x36f9f6(0x27b)]+')'));});const {defIds:_0x14a7c1}=_0x196d51;return!_0x14a7c1||_0x14a7c1['length']===0x0||(_0x30293b[_0x16d56b(0x223)]===_0x16d56b(0x23a)&&_0x5519db[_0x16d56b(0x217)]&&(_0x5519db[_0x16d56b(0x217)]=_0x5519db[_0x16d56b(0x217)]+_0x196d51[_0x16d56b(0x27b)]),Object[_0x16d56b(0x215)](_0x5519db)[_0x16d56b(0x276)](([_0x516313,_0x523643])=>{const _0x15cb2b=_0x16d56b;typeof _0x523643==_0x15cb2b(0x236)&&(_0x5519db[_0x516313]=_0x523643[_0x15cb2b(0x207)](/url\(#(.*)\)/,_0x15cb2b(0x26e)+_0x196d51[_0x15cb2b(0x27b)]+')'));})),_0x5519db;}function li(_0x26cb72,_0x2f91d5){const _0x38c76a=_0x43485c;var _0x44e566;const {defIds:_0x27549c}=_0x2f91d5;return!_0x27549c||_0x27549c[_0x38c76a(0x1e9)]===0x0?_0x26cb72:_0x26cb72['tag']===_0x38c76a(0x250)&&((_0x44e566=_0x26cb72['children'])!=null&&_0x44e566[_0x38c76a(0x1e9)])?{..._0x26cb72,'children':_0x26cb72[_0x38c76a(0x218)][_0x38c76a(0x1ee)](_0x5619ab=>typeof _0x5619ab[_0x38c76a(0x22c)]['id']=='string'&&_0x27549c&&_0x27549c[_0x38c76a(0x233)](_0x5619ab[_0x38c76a(0x22c)]['id'])?{..._0x5619ab,'attrs':{..._0x5619ab[_0x38c76a(0x22c)],'id':_0x5619ab[_0x38c76a(0x22c)]['id']+_0x2f91d5[_0x38c76a(0x27b)]}}:_0x5619ab)}:_0x26cb72;}function hi(){const _0x38dd9c=_0x43485c;return Math[_0x38dd9c(0x202)]()['toString'](0x24)[_0x38dd9c(0x245)](0x2,0x8);}F[_0x43485c(0x24e)]=_0x43485c(0x1f3);const ui={'tag':_0x43485c(0x1fb),'attrs':{'xmlns':_0x43485c(0x21d),'fill':'none','viewBox':_0x43485c(0x242),'width':_0x43485c(0x261),'height':'1em'},'children':[{'tag':'g','attrs':{'fill':_0x43485c(0x226),'clipPath':_0x43485c(0x225)},'children':[{'tag':_0x43485c(0x281),'attrs':{'d':_0x43485c(0x1fa)}},{'tag':_0x43485c(0x281),'attrs':{'d':'M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z'}}]},{'tag':_0x43485c(0x250),'attrs':{},'children':[{'tag':_0x43485c(0x216),'attrs':{'id':_0x43485c(0x1e7)},'children':[{'tag':_0x43485c(0x281),'attrs':{'fill':_0x43485c(0x1ef),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['history-icon_clip0_907_281']},V=_0x7fcd04(function(_0x5cadb7,_0xb96136){const _0x1f6276=_0x43485c;return _0x2d9e1e(F,Object[_0x1f6276(0x224)]({},_0x5cadb7,{'id':_0x1f6276(0x20b),'ref':_0xb96136,'icon':ui}));});V[_0x43485c(0x24e)]='HistoryIcon';var gi=Object['getOwnPropertyDescriptor'],mi=(_0x557fe5,_0x200a15,_0xd91b7e,_0x30b322)=>{const _0x166b8c=_0x43485c;for(var _0x217597=_0x30b322>0x1?void 0x0:_0x30b322?gi(_0x200a15,_0xd91b7e):_0x200a15,_0x500f32=_0x557fe5[_0x166b8c(0x1e9)]-0x1,_0x126d50;_0x500f32>=0x0;_0x500f32--)(_0x126d50=_0x557fe5[_0x500f32])&&(_0x217597=_0x126d50(_0x217597)||_0x217597);return _0x217597;},l=(_0x38e655,_0x275c52)=>(_0x28bd3b,_0xa81703)=>_0x275c52(_0x28bd3b,_0xa81703,_0x38e655);const vi=_0x43485c(0x206),G=_0x43485c(0x255),d=_0x43485c(0x1e5);let f=class extends _0xbdf249{constructor(_0x6d1025,_0x19f162,_0x3b9900,_0x1b7dc9,_0x36a56a,_0x252bbd,_0x14e209,_0x3dda0c,_0x393396,_0x479d31){const _0xd5edc9=_0x43485c;super(),g(this,_0xd5edc9(0x1eb),new _0x4b5f8d(null)),g(this,_0xd5edc9(0x247),this[_0xd5edc9(0x1eb)][_0xd5edc9(0x273)]()),g(this,'_disposableCollection',new _0xc9a98()),g(this,_0xd5edc9(0x268),new Map()),(this[_0xd5edc9(0x277)]=_0x6d1025,this[_0xd5edc9(0x1e4)]=_0x19f162,this[_0xd5edc9(0x23f)]=_0x3b9900,this[_0xd5edc9(0x278)]=_0x1b7dc9,this[_0xd5edc9(0x1f5)]=_0x36a56a,this[_0xd5edc9(0x23e)]=_0x252bbd,this[_0xd5edc9(0x266)]=_0x14e209,this[_0xd5edc9(0x25b)]=_0x3dda0c,this[_0xd5edc9(0x284)]=_0x393396,this[_0xd5edc9(0x269)]=_0x479d31,this[_0xd5edc9(0x262)]());}get[_0x43485c(0x214)](){const _0x391220=_0x43485c;return this[_0x391220(0x1eb)][_0x391220(0x25c)];}[_0x43485c(0x262)](){const _0x215987=_0x43485c;this[_0x215987(0x1f1)](),this[_0x215987(0x22f)]();}[_0x43485c(0x1f1)](){const _0x1a5aee=_0x43485c;var _0x1c0fbd;const _0x565192=(_0x1c0fbd=this['_configService'][_0x1a5aee(0x1e6)](G))!=null?_0x1c0fbd:vi,_0x508d1a=document[_0x1a5aee(0x265)](_0x565192);if(!_0x508d1a)return;const _0xbdbec1=document['createElement'](_0x1a5aee(0x1f4));_0xbdbec1['id']=d,_0xbdbec1['dataset'][_0x1a5aee(0x282)]=_0x1a5aee(0x1f6),_0xbdbec1['style'][_0x1a5aee(0x27e)]=_0x1a5aee(0x1ff),_0xbdbec1[_0x1a5aee(0x256)]['top']='0',_0xbdbec1[_0x1a5aee(0x256)]['left']='0',_0xbdbec1[_0x1a5aee(0x256)][_0x1a5aee(0x230)]='100%',_0xbdbec1[_0x1a5aee(0x256)]['height']='100%',_0xbdbec1[_0x1a5aee(0x256)][_0x1a5aee(0x21f)]=_0x1a5aee(0x286),_0xbdbec1[_0x1a5aee(0x256)][_0x1a5aee(0x1f9)]=_0x1a5aee(0x1df),_0x508d1a[_0x1a5aee(0x210)](_0xbdbec1);}[_0x43485c(0x22f)](){const _0x2bd4c3=_0x43485c;var _0x210c07,_0x842cc4,_0x3de30d,_0x2845b3;[[_0x1bbfdc],[_0x19d475,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x34611a,null]]}],[_0x2ae0f6],[_0x83924f,{'override':[[_0xdc2a12,null]]}],[_0xc5f276,{'hasScroll':!0x1}],[_0x9e975a],[_0x4882f],[_0x34ad30,{'notExecuteFormula':!0x0}],[_0x336260],[_0x5eb8b4],[_0x11320b],[_0x23d1d6],[_0x5fc771],[_0x378c3c],[_0x4897d4],[_0x10437e],[_0xb9bda4],[_0xfa480c],[_0x35c63f],[_0x5bea24],[_0x4645fa],[_0x27515d,{'notExecuteFormula':!0x0}],[_0x510c1c,{'workerURL':(_0x842cc4=(_0x210c07=this['_configService'][_0x2bd4c3(0x1e6)](_0x4d5dce))==null?void 0x0:_0x210c07['workerURL'])!=null?_0x842cc4:_0x2bd4c3(0x205)}],[_0x4aba90],[_0x469c49],[_0xc96a6e],[_0x44a211],[_0x28e471],[_0x3752f6],[_0x5f3192],[_0x90a901,{'notExecuteFormula':!0x0}],[_0x51b49c,{'historyListServerUrl':(_0x3de30d=this[_0x2bd4c3(0x23f)]['getConfig'](U))==null?void 0x0:_0x3de30d[_0x2bd4c3(0x280)],'historyPanelComponentKey':(_0x2845b3=this[_0x2bd4c3(0x23f)][_0x2bd4c3(0x1e6)](U))==null?void 0x0:_0x2845b3[_0x2bd4c3(0x1fd)]}]]['forEach'](([_0x38d607,_0x5280a3])=>this['registerPlugin'](_0x38d607,_0x5280a3));}[_0x43485c(0x1fe)](){const _0xda18dd=_0x43485c;super[_0xda18dd(0x1fe)](),this['unMountHistoryContent'](),this[_0xda18dd(0x268)][_0xda18dd(0x1e0)]();}[_0x43485c(0x203)](_0x58c1d2,_0x1020a1,_0x3378dc){const _0x4483b8=_0x43485c;if(this['_pluginMap']['has'](_0x58c1d2[_0x4483b8(0x275)])&&!_0x3378dc)throw new Error(_0x4483b8(0x25e)+_0x58c1d2[_0x4483b8(0x275)]+_0x4483b8(0x24f));this[_0x4483b8(0x268)][_0x4483b8(0x25f)](_0x58c1d2['pluginName'],[_0x58c1d2,_0x1020a1]);}[_0x43485c(0x229)](){const _0x66bf7c=_0x43485c;return Array['from'](this[_0x66bf7c(0x268)][_0x66bf7c(0x231)]());}['mountHistoryContent'](_0x20233f){const _0x17b6ab=document['getElementById'](d);_0x17b6ab&&(_0x17b6ab['style']['display']='block',this['_initUniver'](_0x20233f,d));}['unMountHistoryContent'](){const _0x1cdf39=_0x43485c;var _0x2e8360;this[_0x1cdf39(0x20d)][_0x1cdf39(0x1fe)](),(_0x2e8360=this[_0x1cdf39(0x214)])==null||_0x2e8360[_0x1cdf39(0x1fe)](),this[_0x1cdf39(0x1eb)]['next'](null);const _0x135134=document[_0x1cdf39(0x265)](d);_0x135134&&(_0x135134['style']['display']=_0x1cdf39(0x1df));}[_0x43485c(0x234)](_0x4a1c78,_0x53bc1b){const _0x553725=_0x43485c;if(this['historyUniver'])return;const _0x372735=new _0x3c8338({'locales':{[this[_0x553725(0x277)][_0x553725(0x272)]()]:this[_0x553725(0x277)][_0x553725(0x22a)]()},'override':[[_0x38de49,{'useClass':_0x29c13c}]]}),_0x49b67c=_0x372735[_0x553725(0x209)]();this[_0x553725(0x249)](this[_0x553725(0x269)][_0x553725(0x1ea)][_0x553725(0x253)](_0x3fb2af=>{const _0x1a11b3=_0x553725;_0x49b67c[_0x1a11b3(0x22b)](_0x3da679)[_0x1a11b3(0x260)](_0x3fb2af);})),this['disposeWithMe'](this['_themeService'][_0x553725(0x26a)]['subscribe'](_0x2d29cf=>{const _0x2b6925=_0x553725;_0x49b67c[_0x2b6925(0x22b)](_0x3da679)[_0x2b6925(0x222)](_0x2d29cf);})),_0x49b67c[_0x553725(0x22b)](_0x3b9931)[_0x553725(0x257)](this['_localeService'][_0x553725(0x272)]()),_0x49b67c[_0x553725(0x22b)](_0x51a1d6)[_0x553725(0x243)](_0x8a06f,this['_configService'][_0x553725(0x1e6)](_0x8a06f));const _0x28d3d2=this[_0x553725(0x23f)][_0x553725(0x1e6)](_0x3f5be0);_0x28d3d2&&_0x372735[_0x553725(0x203)](_0x272c0d,{'license':_0x28d3d2['ls']}),this['_pluginMap'][_0x553725(0x276)](([_0x5bc9d2,_0x1e65e2])=>{const _0x364664=_0x553725;_0x372735[_0x364664(0x203)](_0x5bc9d2,_0x1e65e2);}),_0x49b67c[_0x553725(0x21a)](_0x4afc2a=>{const _0x3a1b85=_0x553725;this[_0x3a1b85(0x20f)](_0x4afc2a,_0x4a1c78);}),this[_0x553725(0x1eb)][_0x553725(0x241)](_0x372735);const _0x4810ef=_0x49b67c[_0x553725(0x22b)](_0x56ebbd),_0x297b37=this[_0x553725(0x211)](_0x4a1c78);_0x4810ef[_0x553725(0x1f8)](_0x4a1c78,_0x53bc1b,_0x297b37);}[_0x43485c(0x20f)](_0x356043,_0x1e762f){const _0xaee15f=_0x43485c,_0x49a4c9=_0x356043['get'](_0x56ebbd);this[_0xaee15f(0x20d)][_0xaee15f(0x237)](_0x49a4c9[_0xaee15f(0x1dd)]['subscribe'](_0x3e72e0=>{const _0x139329=_0xaee15f;switch(_0x3e72e0){case _0x2827d6['Entered']:this[_0x139329(0x25b)][_0x139329(0x26f)](),this['_sidebarService'][_0x139329(0x239)]();break;case _0x2827d6[_0x139329(0x246)]:this[_0x139329(0x278)][_0x139329(0x271)](W['id']),this[_0x139329(0x259)]();break;case _0x2827d6[_0x139329(0x283)]:this[_0x139329(0x259)](),this[_0x139329(0x1f5)][_0x139329(0x20c)]({'content':this[_0x139329(0x277)]['t'](_0x139329(0x274)),'type':_0x2a24d6[_0x139329(0x283)],'duration':0xbb8});break;}})),this[_0xaee15f(0x20d)][_0xaee15f(0x237)](_0x49a4c9[_0xaee15f(0x227)][_0xaee15f(0x253)](async _0x36a771=>{const _0x37bf10=_0xaee15f;_0x36a771&&this['_commandService'][_0x37bf10(0x271)](_0x498d90['id'],{'unitId':_0x1e762f,'revision':_0x36a771});}));}[_0x43485c(0x211)](_0x3e2328){const _0x4138ba=_0x43485c,_0x40a305=this[_0x4138ba(0x1e4)][_0x4138ba(0x254)](_0x3e2328)[_0x4138ba(0x1f2)]()[_0x4138ba(0x1ee)](_0x39a50f=>_0x39a50f[_0x4138ba(0x220)]()),_0x4720e4=new _0x14748c(_0x3e2328)['id'],_0x30a108=_0x40a305[_0x4138ba(0x1ee)](_0x58039e=>new _0xbffc01(_0x3e2328,_0x58039e)['id']),_0x40655c=_0x40a305[_0x4138ba(0x1ee)](_0x2dc9f2=>this[_0x4138ba(0x266)]['getSubunitRuleList'](_0x3e2328,_0x2dc9f2)[_0x4138ba(0x1ee)](_0x473ed3=>new _0x2475bc(_0x3e2328,_0x2dc9f2,_0x473ed3[_0x4138ba(0x267)])['id']))[_0x4138ba(0x22e)](),_0xa813a9=new _0x30f35a(_0x3e2328)['id'];return this[_0x4138ba(0x23e)][_0x4138ba(0x1f0)]([_0x4720e4,..._0x30a108,..._0x40655c,_0xa813a9])[_0x4138ba(0x1e8)](_0x34f4fd=>!!_0x34f4fd[_0x4138ba(0x25c)]);}};f=mi([l(0x0,_0x40903e(_0x3b9931)),l(0x1,_0x223bbe),l(0x2,_0x51a1d6),l(0x3,_0x3e4b94),l(0x4,_0x42831f),l(0x5,_0x27501e),l(0x6,_0x40903e(_0x18a08d)),l(0x7,_0x40903e(_0x34611a)),l(0x8,_0x40903e(_0x5120a6)),l(0x9,_0x40903e(_0x3da679))],f);const b={'id':_0x43485c(0x288),'type':_0x2b551e[_0x43485c(0x27d)],'handler':_0x10dccb=>{const _0x3884eb=_0x43485c,_0x5a8dfd=_0x10dccb[_0x3884eb(0x22b)](f),_0xf697cc=_0x10dccb[_0x3884eb(0x22b)](_0x223bbe),{unitId:_0x375711}=_0x3f672e(_0xf697cc)||{};return _0x375711?(_0x5a8dfd[_0x3884eb(0x263)](_0x375711),!0x0):!0x1;}},W={'id':'univer.operation.exit-edit-history','type':_0x2b551e[_0x43485c(0x27d)],'handler':()=>!0x0};function di(_0x36e3e4){const _0x458293=_0x43485c;return{'id':b['id'],'type':_0x4c45df['BUTTON'],'icon':_0x458293(0x212),'tooltip':_0x458293(0x25a),'hidden$':_0x353c5e(_0x36e3e4,_0x49ca58[_0x458293(0x289)]),'disabled$':_0x550398(_0x36e3e4,{'workbookTypes':[_0x14748c,_0x581a7d],'worksheetTypes':[],'rangeTypes':[]})};}const fi={[_0xaaa7bb['OTHERS']]:{[b['id']]:{'order':0.2,'menuItemFactory':di}}};var _i=Object['getOwnPropertyDescriptor'],pi=(_0x2ebbb5,_0x1927f4,_0x5321f9,_0x17d044)=>{const _0x21184a=_0x43485c;for(var _0x57e0e0=_0x17d044>0x1?void 0x0:_0x17d044?_i(_0x1927f4,_0x5321f9):_0x1927f4,_0xf21df5=_0x2ebbb5[_0x21184a(0x1e9)]-0x1,_0x1b605a;_0xf21df5>=0x0;_0xf21df5--)(_0x1b605a=_0x2ebbb5[_0xf21df5])&&(_0x57e0e0=_0x1b605a(_0x57e0e0)||_0x57e0e0);return _0x57e0e0;},m=(_0x11a7b9,_0x57ae1d)=>(_0x19b4fc,_0x1da7bd)=>_0x57ae1d(_0x19b4fc,_0x1da7bd,_0x11a7b9);let p=class extends _0x2794d8{constructor(_0x43c5da,_0x3e35ec,_0x36270a,_0x24a12e,_0x1c439d,_0x384935,_0x2ab618,_0x592500){const _0x2ede2b=_0x43485c;super(),g(this,_0x2ede2b(0x25d),null),(this[_0x2ede2b(0x278)]=_0x43c5da,this[_0x2ede2b(0x287)]=_0x3e35ec,this[_0x2ede2b(0x208)]=_0x36270a,this[_0x2ede2b(0x21c)]=_0x24a12e,this[_0x2ede2b(0x277)]=_0x1c439d,this['_messageService']=_0x384935,this[_0x2ede2b(0x20a)]=_0x2ab618,this[_0x2ede2b(0x264)]=_0x592500,this[_0x2ede2b(0x262)]());}['_init'](){const _0x10750d=_0x43485c;[b,W][_0x10750d(0x276)](_0x5c6a70=>this[_0x10750d(0x249)](_0x34f19d(this[_0x10750d(0x278)][_0x10750d(0x244)](_0x5c6a70)))),this[_0x10750d(0x249)](this['_componentManager'][_0x10750d(0x26c)]('HistoryIcon',V)),this[_0x10750d(0x287)]['mergeMenu'](fi),this[_0x10750d(0x249)](this[_0x10750d(0x278)][_0x10750d(0x221)](_0x34307c=>{const _0x2ee00e=_0x10750d;if(_0x34307c['id']===_0x498d90['id']){this['_messageService']['show']({'content':this[_0x2ee00e(0x277)]['t'](_0x2ee00e(0x1fc)),'type':_0x2a24d6[_0x2ee00e(0x213)],'duration':0x1388});const {unitId:_0x54fc8f}=_0x34307c[_0x2ee00e(0x232)],_0x325361=this['_collaborationController'][_0x2ee00e(0x1f7)](_0x54fc8f),_0x1edb15=_0x53223f([_0x325361['session'][_0x2ee00e(0x24c)],_0x325361['state$']])['subscribe'](async([_0x38e3bc,_0x31464d])=>{const _0x4af605=_0x2ee00e;var _0x304406;_0x38e3bc['eventID']===_0x4b273b[_0x4af605(0x23c)]&&(_0x31464d==null?void 0x0:_0x31464d[_0x4af605(0x201)])===_0x3db6ac[_0x4af605(0x219)]&&_0x38e3bc[_0x4af605(0x285)][_0x4af605(0x270)][_0x4af605(0x279)](_0x507699=>_0x507699['id']===_0x498d90['id'])&&(this[_0x4af605(0x21c)]['unMountHistoryContent'](),_0x1edb15[_0x4af605(0x258)](),this[_0x4af605(0x25d)]&&clearTimeout(this[_0x4af605(0x25d)]),await((_0x304406=this['_localCacheService'])==null?void 0x0:_0x304406['exhaustSavingTask']()),setTimeout(()=>window[_0x4af605(0x228)]['reload']()));});this[_0x2ee00e(0x25d)]=setTimeout(()=>{const _0x7198ef=_0x2ee00e;_0x1edb15['unsubscribe'](),this[_0x7198ef(0x1f5)][_0x7198ef(0x20c)]({'content':this[_0x7198ef(0x277)]['t'](_0x7198ef(0x1e2)),'type':_0x2a24d6[_0x7198ef(0x283)],'duration':0xbb8});},0x1388);}}));}};p=pi([m(0x0,_0x3e4b94),m(0x1,_0x50cef2),m(0x2,_0x40903e(_0x411ec7)),m(0x3,_0x40903e(f)),m(0x4,_0x40903e(_0x3b9931)),m(0x5,_0x42831f),m(0x6,_0x40903e(_0x5627b9)),m(0x7,_0x2479ba)],p);var Si=Object['getOwnPropertyDescriptor'],Ci=(_0xf2e89d,_0x1d3c1a,_0x9f5041,_0x51efb0)=>{const _0x18b02c=_0x43485c;for(var _0x2c010f=_0x51efb0>0x1?void 0x0:_0x51efb0?Si(_0x1d3c1a,_0x9f5041):_0x1d3c1a,_0x21946f=_0xf2e89d[_0x18b02c(0x1e9)]-0x1,_0x2915e6;_0x21946f>=0x0;_0x21946f--)(_0x2915e6=_0xf2e89d[_0x21946f])&&(_0x2c010f=_0x2915e6(_0x2c010f)||_0x2c010f);return _0x2c010f;},R=(_0x40874b,_0x41777b)=>(_0xfeebed,_0x184019)=>_0x41777b(_0xfeebed,_0x184019,_0x40874b);const yi=_0x43485c(0x1e3);var _;let H=(_=class extends _0x7f0162{constructor(_0x1b4f5f=N,_0x862d7f,_0x201000){const _0x487d5e=_0x43485c;super(),this[_0x487d5e(0x24b)]=_0x1b4f5f,this[_0x487d5e(0x27f)]=_0x862d7f,this['_configService']=_0x201000;const {menu:_0x16aaec,..._0x4355e9}=_0x4ef9cf({},N,this['_config']);_0x16aaec&&this[_0x487d5e(0x23f)]['setConfig']('menu',_0x16aaec,{'merge':!0x0}),this['_configService'][_0x487d5e(0x243)](U,_0x4355e9),this['_config'][_0x487d5e(0x26b)]&&this['_configService'][_0x487d5e(0x243)](G,this['_config'][_0x487d5e(0x26b)]);}[_0x43485c(0x23d)](){const _0xcb7e6a=_0x43485c;[[f],[p]]['forEach'](_0x34227c=>this[_0xcb7e6a(0x27f)]['add'](_0x34227c));}[_0x43485c(0x248)](){const _0x4d8e62=_0x43485c;this['_injector'][_0x4d8e62(0x22b)](p);}},g(_,_0x43485c(0x21e),_0x49ca58[_0x43485c(0x251)]),g(_,_0x43485c(0x275),yi),_);H=Ci([R(0x1,_0x40903e(_0x59122a)),R(0x2,_0x51a1d6)],H);export{f as HistoryLoaderService,G as UNIVER_CONTAINER_ID_KEY,d as UNIVER_HISTORY_CONTAINER_ID,H as UniverEditHistoryLoaderPlugin};
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x5026(_0x1bb008,_0x473816){_0x1bb008=_0x1bb008-0xf8;const _0x243b6f=_0x243b();let _0x5026a1=_0x243b6f[_0x1bb008];return _0x5026a1;}(function(_0xc1673b,_0x35295e){const _0xeaf371=_0x5026,_0x2f1245=_0xc1673b();while(!![]){try{const _0x29cb9f=-parseInt(_0xeaf371(0x1b9))/0x1+-parseInt(_0xeaf371(0x185))/0x2*(-parseInt(_0xeaf371(0x105))/0x3)+parseInt(_0xeaf371(0x1dd))/0x4+parseInt(_0xeaf371(0x129))/0x5*(parseInt(_0xeaf371(0x1e7))/0x6)+-parseInt(_0xeaf371(0xfd))/0x7+parseInt(_0xeaf371(0x1ed))/0x8+-parseInt(_0xeaf371(0x19b))/0x9*(parseInt(_0xeaf371(0x18a))/0xa);if(_0x29cb9f===_0x35295e)break;else _0x2f1245['push'](_0x2f1245['shift']());}catch(_0x9c4ff){_0x2f1245['push'](_0x2f1245['shift']());}}}(_0x243b,0xe7b96),function(_0x494853,_0x2ce678){const _0x425690=_0x5026;typeof exports==_0x425690(0x112)&&typeof module<'u'?_0x2ce678(exports,require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/design'),require('react'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/sheets'),require('@univerjs-pro/edit-history-viewer'),require('@univerjs-pro/license'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-chart-ui'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs-pro/sheets-sparkline-ui'),require('@univerjs/data-validation'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('@univerjs/engine-formula'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/rpc'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-conditional-formatting-ui'),require('@univerjs/sheets-data-validation'),require('@univerjs/sheets-data-validation-ui'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-filter-ui'),require('@univerjs/sheets-formula'),require('@univerjs/sheets-formula-ui'),require('@univerjs/sheets-hyper-link'),require('@univerjs/sheets-hyper-link-ui'),require('@univerjs/sheets-numfmt'),require('@univerjs/sheets-ui')):typeof define==_0x425690(0x143)&&define[_0x425690(0x1d9)]?define([_0x425690(0x126),_0x425690(0x154),'@univerjs-pro/collaboration','@univerjs-pro/collaboration-client',_0x425690(0xfb),_0x425690(0x197),_0x425690(0x205),_0x425690(0x15d),_0x425690(0x117),_0x425690(0xfa),_0x425690(0x1cb),_0x425690(0x209),'@univerjs-pro/sheets-chart-ui',_0x425690(0x192),_0x425690(0x217),_0x425690(0x14a),_0x425690(0x1f3),_0x425690(0x133),_0x425690(0x207),_0x425690(0x19c),'@univerjs/drawing-ui',_0x425690(0x1b1),_0x425690(0x19f),_0x425690(0x15e),_0x425690(0x125),_0x425690(0x17c),'@univerjs/sheets-conditional-formatting-ui','@univerjs/sheets-data-validation',_0x425690(0x1a9),_0x425690(0x1a1),_0x425690(0x1f9),'@univerjs/sheets-filter','@univerjs/sheets-filter-ui',_0x425690(0x19e),_0x425690(0x1fc),_0x425690(0x204),_0x425690(0x1cf),_0x425690(0x1f4),_0x425690(0x1a2)],_0x2ce678):(_0x494853=typeof globalThis<'u'?globalThis:_0x494853||self,_0x2ce678(_0x494853['UniverProEditHistoryLoader']={},_0x494853[_0x425690(0x148)],_0x494853['UniverProCollaboration'],_0x494853[_0x425690(0x15b)],_0x494853[_0x425690(0x1a5)],_0x494853[_0x425690(0x20a)],_0x494853['UniverUi'],_0x494853[_0x425690(0x15d)],_0x494853[_0x425690(0x10d)],_0x494853[_0x425690(0xfc)],_0x494853[_0x425690(0x155)],_0x494853[_0x425690(0x174)],_0x494853[_0x425690(0x123)],_0x494853[_0x425690(0x1bf)],_0x494853[_0x425690(0x221)],_0x494853[_0x425690(0x226)],_0x494853[_0x425690(0x12e)],_0x494853[_0x425690(0x1ca)],_0x494853['UniverDocsUi'],_0x494853[_0x425690(0x1aa)],_0x494853[_0x425690(0x165)],_0x494853[_0x425690(0x18c)],_0x494853['UniverEngineRender'],_0x494853[_0x425690(0x1b3)],_0x494853[_0x425690(0x121)],_0x494853['UniverSheetsConditionalFormatting'],_0x494853[_0x425690(0x156)],_0x494853['UniverSheetsDataValidation'],_0x494853[_0x425690(0x1de)],_0x494853['UniverSheetsDrawing'],_0x494853[_0x425690(0x138)],_0x494853['UniverSheetsFilter'],_0x494853['UniverSheetsFilterUi'],_0x494853['UniverSheetsFormula'],_0x494853[_0x425690(0x1f6)],_0x494853['UniverSheetsHyperLink'],_0x494853[_0x425690(0x11f)],_0x494853[_0x425690(0x206)],_0x494853[_0x425690(0x179)]));}(this,function(_0x2e609e,_0x7c8f3c,_0x43d0c3,_0x58fa4e,_0x169f85,_0x66013e,_0xf35f6a,_0x17502,_0x57148a,_0x31b08a,_0x5d934e,_0xe37c81,_0x272f57,_0x314ba1,_0x43f02d,_0x11acdd,_0x4d6bd0,_0x19efa8,_0x6bb0ed,_0x5b8bbb,_0x2733df,_0x1d35eb,_0x4f8ebc,_0x1e1b54,_0x4f7406,_0x452caa,_0x4ab64a,_0xb17964,_0xdc120a,_0x50cc1e,_0x1a4d11,_0x3b74d8,_0x9ab224,_0x3a9cae,_0x186296,_0x5382de,_0xc36b05,_0xa0416d,_0x224ea1){'use strict';const _0x153e25=_0x5026;var _0x5aad8f=Object[_0x153e25(0x1d4)],_0x56bce2=(_0x17adcc,_0x5b7547,_0x3366f9)=>_0x5b7547 in _0x17adcc?_0x5aad8f(_0x17adcc,_0x5b7547,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3366f9}):_0x17adcc[_0x5b7547]=_0x3366f9,_0x326263=(_0x53733a,_0x12afc4,_0x2eea4d)=>_0x56bce2(_0x53733a,typeof _0x12afc4!=_0x153e25(0x19d)?_0x12afc4+'':_0x12afc4,_0x2eea4d),_0x12d89d;const _0x2ab970=_0x153e25(0x1c7),_0xc215bf={};function _0x5313da({ref:_0x50790c,..._0x280e78}){const _0xfb19=_0x153e25,{icon:_0x453c9c,id:_0x960ffa,className:_0x33629e,extend:_0x3f1bde,..._0x5d4ae4}=_0x280e78,_0x295d88=(_0xfb19(0x187)+_0x960ffa+'\x20'+(_0x33629e||''))[_0xfb19(0x153)](),_0x1218bf=_0x66013e[_0xfb19(0x1e3)]('_'+_0x2651e8());return _0x29294a(_0x453c9c,''+_0x960ffa,{'defIds':_0x453c9c[_0xfb19(0x1bd)],'idSuffix':_0x1218bf['current']},{'ref':_0x50790c,'className':_0x295d88,..._0x5d4ae4},_0x3f1bde);}function _0x29294a(_0x2d3fe7,_0x1a0ce6,_0x403861,_0x585df5,_0x582694){const _0x397c43=_0x153e25;return _0x66013e[_0x397c43(0x140)](_0x2d3fe7[_0x397c43(0x113)],{'key':_0x1a0ce6,..._0x18f21e(_0x2d3fe7,_0x403861,_0x582694),..._0x585df5},(_0x5401b2(_0x2d3fe7,_0x403861)['children']||[])[_0x397c43(0x200)]((_0x4cddd0,_0x2613f8)=>_0x29294a(_0x4cddd0,_0x1a0ce6+'-'+_0x2d3fe7[_0x397c43(0x113)]+'-'+_0x2613f8,_0x403861,void 0x0,_0x582694)));}function _0x18f21e(_0x1b3403,_0x20301a,_0xd97915){const _0x31a0fb=_0x153e25,_0x4e5e22={..._0x1b3403['attrs']};_0xd97915!=null&&_0xd97915['colorChannel1']&&_0x4e5e22[_0x31a0fb(0x1ee)]===_0x31a0fb(0x168)&&(_0x4e5e22['fill']=_0xd97915[_0x31a0fb(0x168)]),_0x1b3403[_0x31a0fb(0x113)]==='mask'&&_0x4e5e22['id']&&(_0x4e5e22['id']=_0x4e5e22['id']+_0x20301a[_0x31a0fb(0x132)]),Object[_0x31a0fb(0x18f)](_0x4e5e22)[_0x31a0fb(0xfe)](([_0x19663d,_0x2b0cfe])=>{const _0x25d474=_0x31a0fb;_0x19663d===_0x25d474(0x1e0)&&typeof _0x2b0cfe=='string'&&(_0x4e5e22[_0x19663d]=_0x2b0cfe['replace'](/url\(#(.*)\)/,_0x25d474(0x1fa)+_0x20301a[_0x25d474(0x132)]+')'));});const {defIds:_0x3f2c54}=_0x20301a;return!_0x3f2c54||_0x3f2c54[_0x31a0fb(0x1be)]===0x0||(_0x1b3403[_0x31a0fb(0x113)]===_0x31a0fb(0x216)&&_0x4e5e22[_0x31a0fb(0x181)]&&(_0x4e5e22[_0x31a0fb(0x181)]=_0x4e5e22[_0x31a0fb(0x181)]+_0x20301a[_0x31a0fb(0x132)]),Object[_0x31a0fb(0x18f)](_0x4e5e22)['forEach'](([_0x2e3d01,_0x2d3d70])=>{const _0x286538=_0x31a0fb;typeof _0x2d3d70==_0x286538(0x15f)&&(_0x4e5e22[_0x2e3d01]=_0x2d3d70[_0x286538(0x1f5)](/url\(#(.*)\)/,_0x286538(0x1fa)+_0x20301a[_0x286538(0x132)]+')'));})),_0x4e5e22;}function _0x5401b2(_0x3579db,_0x31d4b4){const _0xc0ccad=_0x153e25;var _0x16d658;const {defIds:_0x3720ed}=_0x31d4b4;return!_0x3720ed||_0x3720ed[_0xc0ccad(0x1be)]===0x0?_0x3579db:_0x3579db['tag']===_0xc0ccad(0x151)&&((_0x16d658=_0x3579db[_0xc0ccad(0x18d)])!=null&&_0x16d658[_0xc0ccad(0x1be)])?{..._0x3579db,'children':_0x3579db[_0xc0ccad(0x18d)][_0xc0ccad(0x200)](_0x7d2c1c=>typeof _0x7d2c1c[_0xc0ccad(0x106)]['id']==_0xc0ccad(0x15f)&&_0x3720ed&&_0x3720ed[_0xc0ccad(0x1d5)](_0x7d2c1c[_0xc0ccad(0x106)]['id'])?{..._0x7d2c1c,'attrs':{..._0x7d2c1c['attrs'],'id':_0x7d2c1c[_0xc0ccad(0x106)]['id']+_0x31d4b4[_0xc0ccad(0x132)]}}:_0x7d2c1c)}:_0x3579db;}function _0x2651e8(){const _0xfd7df7=_0x153e25;return Math['random']()['toString'](0x24)[_0xfd7df7(0x1ad)](0x2,0x8);}_0x5313da['displayName']=_0x153e25(0x1e4);const _0x156ea6={'tag':_0x153e25(0x1da),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x153e25(0x21a),'height':_0x153e25(0x21a)},'children':[{'tag':'g','attrs':{'fill':_0x153e25(0x152),'clipPath':_0x153e25(0x146)},'children':[{'tag':_0x153e25(0x101),'attrs':{'d':_0x153e25(0x13c)}},{'tag':_0x153e25(0x101),'attrs':{'d':_0x153e25(0x1c8)}}]},{'tag':_0x153e25(0x151),'attrs':{},'children':[{'tag':_0x153e25(0x227),'attrs':{'id':'history-icon_clip0_907_281'},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x153e25(0x1df)}}]}]}],'defIds':[_0x153e25(0x1c4)]},_0x2b2dd7=_0x66013e[_0x153e25(0x139)](function(_0x3ae43d,_0x519bbe){const _0x586d44=_0x153e25;return _0x66013e[_0x586d44(0x140)](_0x5313da,Object[_0x586d44(0x11b)]({},_0x3ae43d,{'id':_0x586d44(0x1d6),'ref':_0x519bbe,'icon':_0x156ea6}));});_0x2b2dd7[_0x153e25(0x1ea)]='HistoryIcon';var _0x506d28=Object[_0x153e25(0x1c3)],_0x57090f=(_0x31b63d,_0x39a279,_0x2bee3c,_0x581739)=>{const _0x41b5e2=_0x153e25;for(var _0x15b6e5=_0x581739>0x1?void 0x0:_0x581739?_0x506d28(_0x39a279,_0x2bee3c):_0x39a279,_0x3c253d=_0x31b63d[_0x41b5e2(0x1be)]-0x1,_0x58694d;_0x3c253d>=0x0;_0x3c253d--)(_0x58694d=_0x31b63d[_0x3c253d])&&(_0x15b6e5=_0x58694d(_0x15b6e5)||_0x15b6e5);return _0x15b6e5;},_0x50a547=(_0x54df2a,_0x20f1a0)=>(_0x174d8c,_0x181981)=>_0x20f1a0(_0x174d8c,_0x181981,_0x54df2a);const _0x11688d=_0x153e25(0x127),_0x419839=_0x153e25(0x177),_0x2ea260='univer-history-container';_0x2e609e[_0x153e25(0x202)]=class extends _0x7c8f3c[_0x153e25(0x17a)]{constructor(_0x345cdc,_0x46ef33,_0x13a93d,_0x160408,_0x44ccf5,_0x1253b8,_0x210bec,_0x39c3b6,_0x5b445a,_0x552653){const _0x5f0988=_0x153e25;super(),_0x326263(this,'_historyUniver$',new _0x17502[(_0x5f0988(0x1a6))](null)),_0x326263(this,_0x5f0988(0x14b),this[_0x5f0988(0x13b)]['asObservable']()),_0x326263(this,_0x5f0988(0x1a3),new _0x7c8f3c[(_0x5f0988(0x16a))]()),_0x326263(this,'_pluginMap',new Map()),(this[_0x5f0988(0x10b)]=_0x345cdc,this[_0x5f0988(0x171)]=_0x46ef33,this[_0x5f0988(0xf9)]=_0x13a93d,this[_0x5f0988(0x10f)]=_0x160408,this[_0x5f0988(0x110)]=_0x44ccf5,this[_0x5f0988(0x12b)]=_0x1253b8,this['_selectionProtectionRuleModel']=_0x210bec,this['_dialogService']=_0x39c3b6,this[_0x5f0988(0x21d)]=_0x5b445a,this[_0x5f0988(0x215)]=_0x552653,this['_init']());}get['historyUniver'](){const _0x37897d=_0x153e25;return this[_0x37897d(0x13b)][_0x37897d(0xff)];}['_init'](){const _0x54637a=_0x153e25;this[_0x54637a(0x16b)](),this[_0x54637a(0x183)]();}[_0x153e25(0x16b)](){const _0x12dc80=_0x153e25;var _0x1132ba;const _0x199ef8=(_0x1132ba=this[_0x12dc80(0xf9)][_0x12dc80(0x17b)](_0x419839))!=null?_0x1132ba:_0x11688d,_0x4a0486=document[_0x12dc80(0x223)](_0x199ef8);if(!_0x4a0486)return;const _0x9363cc=document[_0x12dc80(0x140)](_0x12dc80(0x11d));_0x9363cc['id']=_0x2ea260,_0x9363cc[_0x12dc80(0x14c)]['uComp']=_0x12dc80(0x1f0),_0x9363cc[_0x12dc80(0x1c6)][_0x12dc80(0x15c)]=_0x12dc80(0x1a7),_0x9363cc[_0x12dc80(0x1c6)][_0x12dc80(0x20d)]='0',_0x9363cc[_0x12dc80(0x1c6)][_0x12dc80(0x1d3)]='0',_0x9363cc[_0x12dc80(0x1c6)][_0x12dc80(0xf8)]=_0x12dc80(0x11c),_0x9363cc[_0x12dc80(0x1c6)][_0x12dc80(0x1dc)]='100%',_0x9363cc[_0x12dc80(0x1c6)][_0x12dc80(0x1a4)]=_0x12dc80(0x1af),_0x9363cc[_0x12dc80(0x1c6)]['display']=_0x12dc80(0x12a),_0x4a0486[_0x12dc80(0x1d8)](_0x9363cc);}[_0x153e25(0x183)](){const _0x884167=_0x153e25;var _0x42049c,_0x3673ef,_0x3dc77d,_0x5c21e2;[[_0x4f8ebc[_0x884167(0x203)]],[_0xf35f6a[_0x884167(0x1ff)],{'container':_0x2ea260,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0xf35f6a[_0x884167(0x107)],null]]}],[_0x1e1b54[_0x884167(0x1eb)]],[_0x5b8bbb[_0x884167(0x193)],{'override':[[_0x5b8bbb['IImageIoService'],null]]}],[_0x19efa8[_0x884167(0x188)],{'hasScroll':!0x1}],[_0x6bb0ed[_0x884167(0x1b4)]],[_0xa0416d['UniverSheetsNumfmtPlugin']],[_0x57148a[_0x884167(0x13a)],{'notExecuteFormula':!0x0}],[_0x224ea1[_0x884167(0x128)]],[_0x3a9cae[_0x884167(0x180)]],[_0x186296['UniverSheetsFormulaUIPlugin']],[_0x43d0c3[_0x884167(0x11a)]],[_0x3b74d8[_0x884167(0x16d)]],[_0x9ab224['UniverSheetsFilterUIPlugin']],[_0x452caa[_0x884167(0x1d1)]],[_0x4ab64a[_0x884167(0x141)]],[_0x5382de[_0x884167(0x13f)]],[_0xc36b05[_0x884167(0x172)]],[_0x4d6bd0['UniverDataValidationPlugin']],[_0xb17964[_0x884167(0x225)]],[_0xdc120a[_0x884167(0x212)]],[_0x1d35eb[_0x884167(0x1c9)],{'notExecuteFormula':!0x0}],[_0x4f7406[_0x884167(0x1f2)],{'workerURL':(_0x3673ef=(_0x42049c=this[_0x884167(0xf9)][_0x884167(0x17b)](_0x4f7406[_0x884167(0x1ae)]))==null?void 0x0:_0x42049c[_0x884167(0x14f)])!=null?_0x3673ef:_0x884167(0x182)}],[_0x2733df[_0x884167(0x20b)]],[_0x50cc1e['UniverSheetsDrawingPlugin']],[_0x1a4d11[_0x884167(0x124)]],[_0x43f02d[_0x884167(0x1bc)]],[_0x11acdd[_0x884167(0x208)]],[_0xe37c81[_0x884167(0x160)]],[_0x272f57['UniverSheetsChartUIPlugin']],[_0x314ba1['UniverSheetsPivotTablePlugin'],{'notExecuteFormula':!0x0}],[_0x31b08a[_0x884167(0x1c5)],{'historyListServerUrl':(_0x3dc77d=this['_configService'][_0x884167(0x17b)](_0x2ab970))==null?void 0x0:_0x3dc77d[_0x884167(0x157)],'historyPanelComponentKey':(_0x5c21e2=this['_configService'][_0x884167(0x17b)](_0x2ab970))==null?void 0x0:_0x5c21e2['historyPanelComponentKey']}]][_0x884167(0xfe)](([_0x3936cf,_0x570fe4])=>this[_0x884167(0x150)](_0x3936cf,_0x570fe4));}[_0x153e25(0x1a8)](){const _0xb001f8=_0x153e25;super['dispose'](),this[_0xb001f8(0x11e)](),this['_pluginMap'][_0xb001f8(0x142)]();}['registerPlugin'](_0x3b4d75,_0x59b993,_0x1cfc25){const _0x5de51e=_0x153e25;if(this[_0x5de51e(0x167)][_0x5de51e(0x163)](_0x3b4d75[_0x5de51e(0x194)])&&!_0x1cfc25)throw new Error(_0x5de51e(0x1ac)+_0x3b4d75[_0x5de51e(0x194)]+_0x5de51e(0x1b8));this[_0x5de51e(0x167)][_0x5de51e(0x10a)](_0x3b4d75[_0x5de51e(0x194)],[_0x3b4d75,_0x59b993]);}[_0x153e25(0x100)](){const _0x12d0d3=_0x153e25;return Array['from'](this['_pluginMap'][_0x12d0d3(0x18b)]());}['mountHistoryContent'](_0x35a19b){const _0x2cdead=_0x153e25,_0x20c903=document[_0x2cdead(0x223)](_0x2ea260);_0x20c903&&(_0x20c903['style'][_0x2cdead(0x122)]=_0x2cdead(0x214),this['_initUniver'](_0x35a19b,_0x2ea260));}[_0x153e25(0x11e)](){const _0x3617fe=_0x153e25;var _0x5e3746;this[_0x3617fe(0x1a3)][_0x3617fe(0x1a8)](),(_0x5e3746=this[_0x3617fe(0x173)])==null||_0x5e3746['dispose'](),this[_0x3617fe(0x13b)][_0x3617fe(0x103)](null);const _0x5e0246=document[_0x3617fe(0x223)](_0x2ea260);_0x5e0246&&(_0x5e0246[_0x3617fe(0x1c6)]['display']=_0x3617fe(0x12a));}[_0x153e25(0x190)](_0x41e871,_0x5ea639){const _0x5dfa5f=_0x153e25;if(this[_0x5dfa5f(0x173)])return;const _0x17fe21=new _0x7c8f3c[(_0x5dfa5f(0x10e))]({'locales':{[this[_0x5dfa5f(0x10b)][_0x5dfa5f(0x1db)]()]:this[_0x5dfa5f(0x10b)][_0x5dfa5f(0x213)]()},'override':[[_0x7c8f3c['IAuthzIoService'],{'useClass':_0x58fa4e[_0x5dfa5f(0x17e)]}]]}),_0x5c2be7=_0x17fe21[_0x5dfa5f(0x136)]();this['disposeWithMe'](this[_0x5dfa5f(0x215)][_0x5dfa5f(0x1b6)][_0x5dfa5f(0x130)](_0x22fc2e=>{const _0x3b3264=_0x5dfa5f;_0x5c2be7[_0x3b3264(0x178)](_0x7c8f3c[_0x3b3264(0x145)])['setDarkMode'](_0x22fc2e);})),this[_0x5dfa5f(0x219)](this[_0x5dfa5f(0x215)][_0x5dfa5f(0x16e)][_0x5dfa5f(0x130)](_0x1e70f8=>{const _0x522c5e=_0x5dfa5f;_0x5c2be7[_0x522c5e(0x178)](_0x7c8f3c[_0x522c5e(0x145)])[_0x522c5e(0x1c2)](_0x1e70f8);})),_0x5c2be7['get'](_0x7c8f3c[_0x5dfa5f(0x14d)])[_0x5dfa5f(0x1bb)](this[_0x5dfa5f(0x10b)][_0x5dfa5f(0x1db)]()),_0x5c2be7['get'](_0x7c8f3c['IConfigService'])[_0x5dfa5f(0x1b2)](_0x58fa4e[_0x5dfa5f(0x114)],this[_0x5dfa5f(0xf9)][_0x5dfa5f(0x17b)](_0x58fa4e['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']));const _0x5a4dc6=this[_0x5dfa5f(0xf9)][_0x5dfa5f(0x17b)](_0x5d934e[_0x5dfa5f(0x162)]);_0x5a4dc6&&_0x17fe21[_0x5dfa5f(0x150)](_0x5d934e[_0x5dfa5f(0x15a)],{'license':_0x5a4dc6['ls']}),this[_0x5dfa5f(0x167)]['forEach'](([_0x1a6f1d,_0xf08121])=>{const _0x1cdc83=_0x5dfa5f;_0x17fe21[_0x1cdc83(0x150)](_0x1a6f1d,_0xf08121);}),_0x5c2be7['invoke'](_0x1b89bc=>{const _0x56af43=_0x5dfa5f;this[_0x56af43(0x169)](_0x1b89bc,_0x41e871);}),this[_0x5dfa5f(0x13b)][_0x5dfa5f(0x103)](_0x17fe21);const _0x1c7bf1=_0x5c2be7[_0x5dfa5f(0x178)](_0x31b08a[_0x5dfa5f(0x1b7)]),_0x2c4eff=this[_0x5dfa5f(0x176)](_0x41e871);_0x1c7bf1['triggerLoadVersions'](_0x41e871,_0x5ea639,_0x2c4eff);}[_0x153e25(0x169)](_0x591154,_0xc911d3){const _0x1bd462=_0x153e25,_0x4f1c94=_0x591154[_0x1bd462(0x178)](_0x31b08a[_0x1bd462(0x1b7)]);this['_disposableCollection'][_0x1bd462(0x1e9)](_0x4f1c94['status$'][_0x1bd462(0x130)](_0x1af91f=>{const _0x121ddf=_0x1bd462;switch(_0x1af91f){case _0x31b08a['HistoryModeStatus']['Entered']:this[_0x121ddf(0x1c0)][_0x121ddf(0x1ec)](),this[_0x121ddf(0x21d)][_0x121ddf(0x196)]();break;case _0x31b08a[_0x121ddf(0x1ba)]['Exited']:this['_commandService'][_0x121ddf(0x21c)](_0x10657a['id']),this[_0x121ddf(0x11e)]();break;case _0x31b08a[_0x121ddf(0x1ba)]['Error']:this[_0x121ddf(0x11e)](),this[_0x121ddf(0x110)][_0x121ddf(0x12f)]({'content':this[_0x121ddf(0x10b)]['t'](_0x121ddf(0x12c)),'type':_0x169f85[_0x121ddf(0x109)][_0x121ddf(0x222)],'duration':0xbb8});break;}})),this['_disposableCollection'][_0x1bd462(0x1e9)](_0x4f1c94[_0x1bd462(0x1cd)][_0x1bd462(0x130)](async _0x2c6204=>{const _0x3873cc=_0x1bd462;_0x2c6204&&this[_0x3873cc(0x10f)][_0x3873cc(0x21c)](_0x43d0c3['RevertRevisionMutation']['id'],{'unitId':_0xc911d3,'revision':_0x2c6204});}));}['_checkCanRevert'](_0x18e57f){const _0x234f94=_0x153e25,_0x381513=this[_0x234f94(0x171)][_0x234f94(0x102)](_0x18e57f)['getSheets']()['map'](_0x3599e4=>_0x3599e4['getSheetId']()),_0x465dcf=new _0x57148a[(_0x234f94(0x12d))](_0x18e57f)['id'],_0x43cfe0=_0x381513[_0x234f94(0x200)](_0x4f7911=>new _0x57148a[(_0x234f94(0x1e5))](_0x18e57f,_0x4f7911)['id']),_0x380e67=_0x381513[_0x234f94(0x200)](_0x1d12ba=>this['_selectionProtectionRuleModel'][_0x234f94(0x189)](_0x18e57f,_0x1d12ba)['map'](_0x49f1c1=>new _0x57148a[(_0x234f94(0x17d))](_0x18e57f,_0x1d12ba,_0x49f1c1[_0x234f94(0x218)])['id']))[_0x234f94(0x20c)](),_0x700b0a=new _0x57148a['WorkbookRecoverHistoryPermission'](_0x18e57f)['id'];return this[_0x234f94(0x12b)][_0x234f94(0x211)]([_0x465dcf,..._0x43cfe0,..._0x380e67,_0x700b0a])['every'](_0x4c4d7e=>!!_0x4c4d7e['value']);}},_0x2e609e[_0x153e25(0x202)]=_0x57090f([_0x50a547(0x0,_0x7c8f3c[_0x153e25(0x1fe)](_0x7c8f3c[_0x153e25(0x14d)])),_0x50a547(0x1,_0x7c8f3c['IUniverInstanceService']),_0x50a547(0x2,_0x7c8f3c[_0x153e25(0x1ab)]),_0x50a547(0x3,_0x7c8f3c[_0x153e25(0x175)]),_0x50a547(0x4,_0xf35f6a['IMessageService']),_0x50a547(0x5,_0x7c8f3c[_0x153e25(0x14e)]),_0x50a547(0x6,_0x7c8f3c[_0x153e25(0x1fe)](_0x57148a[_0x153e25(0x210)])),_0x50a547(0x7,_0x7c8f3c[_0x153e25(0x1fe)](_0xf35f6a['IDialogService'])),_0x50a547(0x8,_0x7c8f3c[_0x153e25(0x1fe)](_0xf35f6a[_0x153e25(0x1e2)])),_0x50a547(0x9,_0x7c8f3c[_0x153e25(0x1fe)](_0x7c8f3c[_0x153e25(0x145)]))],_0x2e609e[_0x153e25(0x202)]);const _0x14c98b={'id':_0x153e25(0x111),'type':_0x7c8f3c[_0x153e25(0x10c)][_0x153e25(0x1d7)],'handler':_0x24f453=>{const _0x5060a7=_0x153e25,_0x5e1baf=_0x24f453['get'](_0x2e609e[_0x5060a7(0x202)]),_0x40d48c=_0x24f453[_0x5060a7(0x178)](_0x7c8f3c[_0x5060a7(0x108)]),{unitId:_0x2fc158}=_0x57148a[_0x5060a7(0x1c1)](_0x40d48c)||{};return _0x2fc158?(_0x5e1baf['mountHistoryContent'](_0x2fc158),!0x0):!0x1;}},_0x10657a={'id':_0x153e25(0x1e6),'type':_0x7c8f3c[_0x153e25(0x10c)][_0x153e25(0x1d7)],'handler':()=>!0x0};function _0xd15d63(_0x400b61){const _0x27d384=_0x153e25;return{'id':_0x14c98b['id'],'type':_0xf35f6a[_0x27d384(0x1e1)][_0x27d384(0x198)],'icon':'HistoryIcon','tooltip':_0x27d384(0x115),'hidden$':_0xf35f6a[_0x27d384(0x1b5)](_0x400b61,_0x7c8f3c[_0x27d384(0x1f8)][_0x27d384(0x184)]),'disabled$':_0x224ea1['getCurrentRangeDisable$'](_0x400b61,{'workbookTypes':[_0x57148a[_0x27d384(0x12d)],_0x57148a[_0x27d384(0x1d2)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x546406={[_0xf35f6a[_0x153e25(0x186)]['OTHERS']]:{[_0x14c98b['id']]:{'order':0.2,'menuItemFactory':_0xd15d63}}};var _0x54d682=Object[_0x153e25(0x1c3)],_0x2ca6d6=(_0x2c3235,_0x483849,_0xb2252f,_0x12a193)=>{const _0x8fcb93=_0x153e25;for(var _0x1493a4=_0x12a193>0x1?void 0x0:_0x12a193?_0x54d682(_0x483849,_0xb2252f):_0x483849,_0x22aa6c=_0x2c3235[_0x8fcb93(0x1be)]-0x1,_0x2dc1dd;_0x22aa6c>=0x0;_0x22aa6c--)(_0x2dc1dd=_0x2c3235[_0x22aa6c])&&(_0x1493a4=_0x2dc1dd(_0x1493a4)||_0x1493a4);return _0x1493a4;},_0x1772c1=(_0xbb7f5e,_0x269f9f)=>(_0x1f76e6,_0x13a454)=>_0x269f9f(_0x1f76e6,_0x13a454,_0xbb7f5e);let _0x2e9380=class extends _0x7c8f3c[_0x153e25(0x164)]{constructor(_0x1e847e,_0x40a29c,_0x2df8a5,_0x2376b8,_0xd70cea,_0x2558a,_0x571c36,_0x59b226){const _0x41961=_0x153e25;super(),_0x326263(this,_0x41961(0x137),null),(this[_0x41961(0x10f)]=_0x1e847e,this['_menuManagerService']=_0x40a29c,this[_0x41961(0x13d)]=_0x2df8a5,this['_historyManagerService']=_0x2376b8,this['_localeService']=_0xd70cea,this[_0x41961(0x110)]=_0x2558a,this[_0x41961(0x1f1)]=_0x571c36,this[_0x41961(0x1cc)]=_0x59b226,this[_0x41961(0x166)]());}[_0x153e25(0x166)](){const _0xdcf24b=_0x153e25;[_0x14c98b,_0x10657a][_0xdcf24b(0xfe)](_0x252540=>this[_0xdcf24b(0x219)](_0x7c8f3c[_0xdcf24b(0x135)](this[_0xdcf24b(0x10f)][_0xdcf24b(0x21b)](_0x252540)))),this[_0xdcf24b(0x219)](this[_0xdcf24b(0x13d)][_0xdcf24b(0x104)](_0xdcf24b(0x147),_0x2b2dd7)),this[_0xdcf24b(0x1fb)][_0xdcf24b(0x191)](_0x546406),this[_0xdcf24b(0x219)](this[_0xdcf24b(0x10f)][_0xdcf24b(0x16c)](_0x44afbb=>{const _0x3bfc7a=_0xdcf24b;if(_0x44afbb['id']===_0x43d0c3['RevertRevisionMutation']['id']){this[_0x3bfc7a(0x110)][_0x3bfc7a(0x12f)]({'content':this[_0x3bfc7a(0x10b)]['t'](_0x3bfc7a(0x170)),'type':_0x169f85[_0x3bfc7a(0x109)][_0x3bfc7a(0x119)],'duration':0x1388});const {unitId:_0x2fec24}=_0x44afbb[_0x3bfc7a(0x21e)],_0x3a116a=this[_0x3bfc7a(0x1f1)][_0x3bfc7a(0x161)](_0x2fec24),_0x2eb683=_0x17502['combineLatest']([_0x3a116a['session'][_0x3bfc7a(0x18e)],_0x3a116a['state$']])[_0x3bfc7a(0x130)](async([_0x5e5542,_0x1a22e5])=>{const _0x4a8d8c=_0x3bfc7a;var _0xa06c61;_0x5e5542['eventID']===_0x43d0c3['CollaborationEvent'][_0x4a8d8c(0x1ef)]&&(_0x1a22e5==null?void 0x0:_0x1a22e5[_0x4a8d8c(0x159)])===_0x58fa4e[_0x4a8d8c(0x199)]['SYNCED']&&_0x5e5542[_0x4a8d8c(0x1b0)][_0x4a8d8c(0x220)][_0x4a8d8c(0x20e)](_0x544e0d=>_0x544e0d['id']===_0x43d0c3['RevertRevisionMutation']['id'])&&(this[_0x4a8d8c(0x1f7)][_0x4a8d8c(0x11e)](),_0x2eb683[_0x4a8d8c(0x21f)](),this[_0x4a8d8c(0x137)]&&clearTimeout(this[_0x4a8d8c(0x137)]),await((_0xa06c61=this[_0x4a8d8c(0x1cc)])==null?void 0x0:_0xa06c61[_0x4a8d8c(0x17f)]()),setTimeout(()=>window[_0x4a8d8c(0x118)][_0x4a8d8c(0x120)]()));});this[_0x3bfc7a(0x137)]=setTimeout(()=>{const _0x4c7a16=_0x3bfc7a;_0x2eb683[_0x4c7a16(0x21f)](),this['_messageService'][_0x4c7a16(0x12f)]({'content':this[_0x4c7a16(0x10b)]['t'](_0x4c7a16(0x201)),'type':_0x169f85[_0x4c7a16(0x109)][_0x4c7a16(0x222)],'duration':0xbb8});},0x1388);}}));}};_0x2e9380=_0x2ca6d6([_0x1772c1(0x0,_0x7c8f3c[_0x153e25(0x175)]),_0x1772c1(0x1,_0xf35f6a['IMenuManagerService']),_0x1772c1(0x2,_0x7c8f3c[_0x153e25(0x1fe)](_0xf35f6a[_0x153e25(0x13e)])),_0x1772c1(0x3,_0x7c8f3c[_0x153e25(0x1fe)](_0x2e609e[_0x153e25(0x202)])),_0x1772c1(0x4,_0x7c8f3c[_0x153e25(0x1fe)](_0x7c8f3c[_0x153e25(0x14d)])),_0x1772c1(0x5,_0xf35f6a[_0x153e25(0x20f)]),_0x1772c1(0x6,_0x7c8f3c[_0x153e25(0x1fe)](_0x58fa4e[_0x153e25(0x158)])),_0x1772c1(0x7,_0x58fa4e['ILocalCacheService'])],_0x2e9380);var _0x480da5=Object[_0x153e25(0x1c3)],_0x4b16af=(_0x3f6e65,_0x9681f9,_0x787b79,_0x558929)=>{const _0x1cadf3=_0x153e25;for(var _0x3d925c=_0x558929>0x1?void 0x0:_0x558929?_0x480da5(_0x9681f9,_0x787b79):_0x9681f9,_0x596efd=_0x3f6e65[_0x1cadf3(0x1be)]-0x1,_0xcb4eb;_0x596efd>=0x0;_0x596efd--)(_0xcb4eb=_0x3f6e65[_0x596efd])&&(_0x3d925c=_0xcb4eb(_0x3d925c)||_0x3d925c);return _0x3d925c;},_0x1e76ea=(_0x2b0f6f,_0x527578)=>(_0x56c870,_0x190be8)=>_0x527578(_0x56c870,_0x190be8,_0x2b0f6f);const _0xca9345=_0x153e25(0x1ce);_0x2e609e['UniverEditHistoryLoaderPlugin']=(_0x12d89d=class extends _0x7c8f3c[_0x153e25(0x19a)]{constructor(_0x42f70b=_0xc215bf,_0x535790,_0x39af1e){const _0x19b868=_0x153e25;super(),this[_0x19b868(0x1e8)]=_0x42f70b,this[_0x19b868(0x195)]=_0x535790,this[_0x19b868(0xf9)]=_0x39af1e;const {menu:_0x2cf54f,..._0x1c0136}=_0x7c8f3c[_0x19b868(0x224)]({},_0xc215bf,this[_0x19b868(0x1e8)]);_0x2cf54f&&this[_0x19b868(0xf9)][_0x19b868(0x1b2)](_0x19b868(0x16f),_0x2cf54f,{'merge':!0x0}),this[_0x19b868(0xf9)][_0x19b868(0x1b2)](_0x2ab970,_0x1c0136),this[_0x19b868(0x1e8)][_0x19b868(0x116)]&&this['_configService']['setConfig'](_0x419839,this[_0x19b868(0x1e8)][_0x19b868(0x116)]);}[_0x153e25(0x1d0)](){const _0x1fee77=_0x153e25;[[_0x2e609e[_0x1fee77(0x202)]],[_0x2e9380]][_0x1fee77(0xfe)](_0x3bab4e=>this[_0x1fee77(0x195)]['add'](_0x3bab4e));}[_0x153e25(0x134)](){const _0x2367af=_0x153e25;this[_0x2367af(0x195)][_0x2367af(0x178)](_0x2e9380);}},_0x326263(_0x12d89d,_0x153e25(0x131),_0x7c8f3c[_0x153e25(0x1f8)][_0x153e25(0x1a0)]),_0x326263(_0x12d89d,_0x153e25(0x194),_0xca9345),_0x12d89d),_0x2e609e[_0x153e25(0x149)]=_0x4b16af([_0x1e76ea(0x1,_0x7c8f3c[_0x153e25(0x1fe)](_0x7c8f3c['Injector'])),_0x1e76ea(0x2,_0x7c8f3c['IConfigService'])],_0x2e609e[_0x153e25(0x149)]),_0x2e609e['UNIVER_CONTAINER_ID_KEY']=_0x419839,_0x2e609e[_0x153e25(0x1fd)]=_0x2ea260,Object[_0x153e25(0x1d4)](_0x2e609e,Symbol['toStringTag'],{'value':_0x153e25(0x144)});}));function _0x243b(){const _0x3f3a27=['onSteady','toDisposable','__getInjector','_revertErrorTimer','UniverSheetsDrawingUi','forwardRef','UniverSheetsPlugin','_historyUniver$','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','_componentManager','ComponentManager','UniverSheetsHyperLinkPlugin','createElement','UniverSheetsConditionalFormattingUIPlugin','clear','function','Module','ThemeService','url(#history-icon_clip0_907_281)','HistoryIcon','UniverCore','UniverEditHistoryLoaderPlugin','@univerjs-pro/sheets-sparkline-ui','historyUniver$','dataset','LocaleService','IPermissionService','workerURL','registerPlugin','defs','currentColor','trim','@univerjs/core','UniverProLicense','UniverSheetsConditionalFormattingUi','historyListServerUrl','CollaborationController','status','UniverLicensePlugin','UniverProCollaborationClient','position','rxjs','@univerjs/network','string','UniverSheetsChartPlugin','getCollabEntity','LS_CONFIG_KEY','has','RxDisposable','UniverDrawingUi','_init','_pluginMap','colorChannel1','_initListener','DisposableCollection','_initContainer','onCommandExecuted','UniverSheetsFilterPlugin','currentTheme$','menu','editHistory.panel.reverting','_univerInstanceService','UniverSheetsHyperLinkUIPlugin','historyUniver','UniverProSheetsChart','ICommandService','_checkCanRevert','UNIVER_CONTAINER_ID','get','UniverSheetsUi','Disposable','getConfig','@univerjs/sheets-conditional-formatting','RangeProtectionPermissionEditPoint','AuthzIoHttpService','exhaustSavingTask','UniverSheetsFormulaPlugin','xlink:href','./worker.js','_initPlugins','UNIVER_SHEET','34hHATjM','RibbonStartGroup','univerjs-icon\x20univerjs-icon-','UniverDocsPlugin','getSubunitRuleList','190780oTUgZN','values','UniverEngineFormula','children','event$','entries','_initUniver','mergeMenu','@univerjs-pro/sheets-pivot','UniverDrawingPlugin','pluginName','_injector','close','react','BUTTON','CollaborationStatus','Plugin','333BLLuDS','@univerjs/drawing','symbol','@univerjs/sheets-formula','@univerjs/engine-render','UNIVER_UNKNOWN','@univerjs/sheets-drawing','@univerjs/sheets-ui','_disposableCollection','zIndex','UniverDesign','BehaviorSubject','absolute','dispose','@univerjs/sheets-data-validation-ui','UniverDrawing','IConfigService','[HistoryLoaderService]:\x20Plugin\x20','substring','PLUGIN_CONFIG_KEY_MAIN_THREAD','1000','data','@univerjs/engine-formula','setConfig','UniverNetwork','UniverDocsUIPlugin','getMenuHiddenObservable','darkMode$','HistoryManagerService','\x20has\x20been\x20registered.','77097YXNSkV','HistoryModeStatus','setLocale','UniverSheetSparklinePlugin','defIds','length','UniverProSheetsPivot','_dialogService','getSheetCommandTarget','setTheme','getOwnPropertyDescriptor','history-icon_clip0_907_281','UniverEditHistoryViewerPlugin','style','edit-history-loader.config','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','UniverFormulaEnginePlugin','UniverDocs','@univerjs-pro/license','_localCacheService','revertRevision$','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','@univerjs/sheets-hyper-link-ui','onStarting','UniverSheetsConditionalFormattingPlugin','WorkbookViewHistoryPermission','left','defineProperty','includes','history-icon','OPERATION','appendChild','amd','svg','getCurrentLocale','height','2422976yqADXr','UniverSheetsDataValidationUi','M0\x200H16V16H0z','mask','MenuItemType','ISidebarService','useRef','UniverIcon','WorksheetEditPermission','univer.operation.exit-edit-history','98892WpamJz','_config','add','displayName','UniverNetworkPlugin','closeAll','2264376oYuXyU','fill','CHANGESET_ACK','history-container','_collaborationController','UniverRPCMainThreadPlugin','@univerjs/data-validation','@univerjs/sheets-numfmt','replace','UniverSheetsFormulaUi','_historyManagerService','UniverInstanceType','@univerjs/sheets-drawing-ui','url(#$1','_menuManagerService','@univerjs/sheets-formula-ui','UNIVER_HISTORY_CONTAINER_ID','Inject','UniverUIPlugin','map','editHistory.panel.revertFailed','HistoryLoaderService','UniverRenderEnginePlugin','@univerjs/sheets-hyper-link','@univerjs/ui','UniverSheetsNumfmt','@univerjs/docs-ui','UniverSheetSparklineUIPlugin','@univerjs-pro/sheets-chart','React','UniverDrawingUIPlugin','flat','top','some','IMessageService','RangeProtectionRuleModel','composePermission','UniverSheetsDataValidationUIPlugin','getLocales','block','_themeService','use','@univerjs-pro/sheets-sparkline','permissionId','disposeWithMe','1em','registerCommand','executeCommand','_sidebarService','params','unsubscribe','mutations','UniverProSheetsSparkline','Error','getElementById','merge','UniverSheetsDataValidationPlugin','UniverProSheetsSparklineUi','clipPath','width','_configService','@univerjs-pro/edit-history-viewer','@univerjs/design','UniverProEditHistoryViewer','2687797BrwBOY','forEach','value','getAllPlugins','path','getUnit','next','register','126417PSDQPu','attrs','IDialogService','IUniverInstanceService','MessageType','set','_localeService','CommandType','UniverSheets','Univer','_commandService','_messageService','univer.operation.toggle-edit-history','object','tag','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','editHistory.panel.title','univerContainerId','@univerjs/sheets','location','Loading','UniverCollaborationPlugin','assign','100%','div','unMountHistoryContent','UniverSheetsHyperLinkUi','reload','UniverRpc','display','UniverProSheetsChartUi','UniverSheetsDrawingUIPlugin','@univerjs/rpc','exports','univer-container','UniverSheetsUIPlugin','155gYNryY','none','_permissionService','editHistory.panel.listFetchError','WorkbookEditablePermission','UniverDataValidation','show','subscribe','type','idSuffix','@univerjs/docs'];_0x243b=function(){return _0x3f3a27;};return _0x243b();}
1
+ function _0x3167(_0x117229,_0x2e586c){_0x117229=_0x117229-0x1a6;const _0x49d72b=_0x49d7();let _0x3167c9=_0x49d72b[_0x117229];return _0x3167c9;}function _0x49d7(){const _0x305d32=['_initContainer','UniverNetworkPlugin','1em','HistoryLoaderService','100%','triggerLoadVersions','@univerjs/drawing-ui','_initListener','UniverProSheetsSparklineUi','mutations','@univerjs-pro/license','forwardRef','Error','UniverSheetsChartUIPlugin','MessageType','getCurrentLocale','UniverProSheetsChart','subscribe','add','left','UniverSheetsPlugin','onCommandExecuted','getSheetId','IConfigService','@univerjs-pro/sheets-sparkline','_configService','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','Injector','UniverInstanceType','includes','UniverProSheetsPivot','UniverSheetsFilterUi','IPermissionService','UniverRpc','IMenuManagerService','random','mergeMenu','workerURL','height','rxjs','IImageIoService','displayName','UniverSheetsUi','CollaborationStatus','darkMode$','Exited','__getInjector','UniverProCollaborationClient','setDarkMode','_init','_commandService','getCollabEntity','IUniverInstanceService','Inject','has','get','@univerjs/sheets-data-validation-ui','1356116ZpvKLr','getSheets','OPERATION','UNIVER_SHEET','idSuffix','UniverDocsUIPlugin','UniverSheetsFilter','UniverSheetsDataValidationUi','@univerjs/engine-formula','UniverSheetsHyperLinkUi','set','display','univerContainerId','Module','_checkCanRevert','React','_historyUniver$','history-icon','toStringTag','forEach','univer.operation.toggle-edit-history','UniverSheetsFilterUIPlugin','WorkbookViewHistoryPermission','getOwnPropertyDescriptor','toDisposable','UniverSheetsConditionalFormattingUi','WorkbookRecoverHistoryPermission','Plugin','colorChannel1','eventID','@univerjs/sheets-drawing-ui','@univerjs/engine-render','permissionId','@univerjs-pro/sheets-chart','mask','IDialogService','pluginName','UniverSheetsDrawingUIPlugin','./worker.js','executeCommand','UniverSheetsHyperLinkPlugin','state$','_config','UniverIcon','getConfig','332944RdOJHI','UniverEngineRender','@univerjs/network','_selectionProtectionRuleModel','UniverEditHistoryLoaderPlugin','ICommandService','@univerjs/docs','current','ILocalCacheService','BUTTON','getMenuHiddenObservable','UniverCore','@univerjs/docs-ui','toString','getAllPlugins','map','ComponentManager','length','@univerjs-pro/sheets-sparkline-ui','47850484POWelo','UNIVER_CONTAINER_ID','3782890UJsRIc','@univerjs/sheets-data-validation','PLUGIN_CONFIG_KEY_MAIN_THREAD','@univerjs/sheets-hyper-link-ui','register','location','WorksheetEditPermission','UniverUi','replace','unMountHistoryContent','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','react','CHANGESET_ACK','UniverEngineFormula','getElementById','mountHistoryContent','HistoryIcon','top','[HistoryLoaderService]:\x20Plugin\x20','_collaborationController','@univerjs/sheets-filter-ui','UNIVER_UNKNOWN','historyUniver','DisposableCollection','_permissionService','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','getUnit','UniverSheetsNumfmtPlugin','UniverProEditHistoryLoader','editHistory.panel.reverting','UniverSheetsDataValidation','assign','SYNCED','tag','disposeWithMe','every','@univerjs/ui','setTheme','Loading','getSubunitRuleList','amd','UniverSheetsDrawingPlugin','children','fill','UniverSheetSparklinePlugin','none','UniverNetwork','@univerjs/sheets-formula','editHistory.panel.listFetchError','url(#$1','exhaustSavingTask','defineProperty','UniverEditHistoryViewerPlugin','entries','univer-container','UniverSheetsPivotTablePlugin','ThemeService','9494937LQuwHe','event$','_dialogService','UniverLicensePlugin','data','xlink:href','UniverSheetsNumfmt','_menuManagerService','session','function','reload','use','value','absolute','UniverSheetsFormulaPlugin','HistoryManagerService','string','LocaleService','UniverProSheetsChartUi','position','\x20has\x20been\x20registered.','_initPlugins','dispose','_sidebarService','status$','UniverUIPlugin','_univerInstanceService','_pluginMap','UniverSheetsHyperLinkUIPlugin','UniverDataValidation','from','RangeProtectionRuleModel','some','_disposableCollection','UniverDesign','@univerjs/sheets','MenuItemType','div','UniverDrawingUi','BehaviorSubject','status','_localCacheService','setLocale','registerPlugin','IMessageService','6IOwQdO','dataset','@univerjs/sheets-drawing','IAuthzIoService','historyListServerUrl','M0\x200H16V16H0z','@univerjs/sheets-conditional-formatting','_localeService','merge','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','defIds','@univerjs-pro/sheets-chart-ui','path','2143608qIGAhU','next','defs','uComp','asObservable','UniverSheetsUIPlugin','show','@univerjs-pro/sheets-pivot','UniverSheetsConditionalFormatting','@univerjs/sheets-formula-ui','_componentManager','RevertRevisionMutation','getCurrentRangeDisable$','attrs','_messageService','UniverDocs','UniverSheets','UniverProSheetsSparkline','zIndex','useRef','style','1549530HQHMvA','UniverProLicense','history-icon_clip0_907_281','UniverDrawingPlugin','composePermission','14bsaRBw','editHistory.panel.title','historyUniver$','8OMAUDO','_historyManagerService','currentTheme$','10AHAPuD','CollaborationController','_injector','@univerjs/sheets-ui','setConfig','getLocales','UniverSheetsFilterPlugin','UniverSheetsDrawingUi','closeAll','0\x200\x2016\x2016','invoke','HistoryModeStatus','1000','CommandType','_revertErrorTimer','UniverSheetsChartPlugin','block','UniverSheetsFormula','unsubscribe','onStarting'];_0x49d7=function(){return _0x305d32;};return _0x49d7();}(function(_0x4cbb2a,_0x51615b){const _0x4ca2b7=_0x3167,_0x47ace7=_0x4cbb2a();while(!![]){try{const _0x42d417=-parseInt(_0x4ca2b7(0x272))/0x1+-parseInt(_0x4ca2b7(0x1ed))/0x2*(parseInt(_0x4ca2b7(0x1cb))/0x3)+-parseInt(_0x4ca2b7(0x245))/0x4*(-parseInt(_0x4ca2b7(0x1f8))/0x5)+parseInt(_0x4ca2b7(0x1d8))/0x6*(-parseInt(_0x4ca2b7(0x1f2))/0x7)+-parseInt(_0x4ca2b7(0x1f5))/0x8*(parseInt(_0x4ca2b7(0x2c0))/0x9)+-parseInt(_0x4ca2b7(0x287))/0xa+parseInt(_0x4ca2b7(0x285))/0xb;if(_0x42d417===_0x51615b)break;else _0x47ace7['push'](_0x47ace7['shift']());}catch(_0x1ae2a0){_0x47ace7['push'](_0x47ace7['shift']());}}}(_0x49d7,0xf39b2),function(_0x344d79,_0x5728ba){const _0xaf34c2=_0x3167;typeof exports=='object'&&typeof module<'u'?_0x5728ba(exports,require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/design'),require('react'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/sheets'),require('@univerjs-pro/edit-history-viewer'),require('@univerjs-pro/license'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-chart-ui'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs-pro/sheets-sparkline-ui'),require('@univerjs/data-validation'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('@univerjs/engine-formula'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/rpc'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-conditional-formatting-ui'),require('@univerjs/sheets-data-validation'),require('@univerjs/sheets-data-validation-ui'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-filter-ui'),require('@univerjs/sheets-formula'),require('@univerjs/sheets-formula-ui'),require('@univerjs/sheets-hyper-link'),require('@univerjs/sheets-hyper-link-ui'),require('@univerjs/sheets-numfmt'),require('@univerjs/sheets-ui')):typeof define==_0xaf34c2(0x1a7)&&define[_0xaf34c2(0x2af)]?define(['exports','@univerjs/core','@univerjs-pro/collaboration','@univerjs-pro/collaboration-client','@univerjs/design',_0xaf34c2(0x292),_0xaf34c2(0x2ab),_0xaf34c2(0x233),_0xaf34c2(0x1c1),'@univerjs-pro/edit-history-viewer',_0xaf34c2(0x216),_0xaf34c2(0x266),_0xaf34c2(0x1d6),_0xaf34c2(0x1df),_0xaf34c2(0x224),_0xaf34c2(0x284),'@univerjs/data-validation',_0xaf34c2(0x278),_0xaf34c2(0x27e),'@univerjs/drawing',_0xaf34c2(0x212),_0xaf34c2(0x24d),_0xaf34c2(0x264),_0xaf34c2(0x274),'@univerjs/rpc',_0xaf34c2(0x1d1),'@univerjs/sheets-conditional-formatting-ui',_0xaf34c2(0x288),_0xaf34c2(0x244),_0xaf34c2(0x1cd),_0xaf34c2(0x263),'@univerjs/sheets-filter',_0xaf34c2(0x29b),_0xaf34c2(0x2b6),_0xaf34c2(0x1e1),'@univerjs/sheets-hyper-link',_0xaf34c2(0x28a),'@univerjs/sheets-numfmt',_0xaf34c2(0x1fb)],_0x5728ba):(_0x344d79=typeof globalThis<'u'?globalThis:_0x344d79||self,_0x5728ba(_0x344d79[_0xaf34c2(0x2a3)]={},_0x344d79[_0xaf34c2(0x27d)],_0x344d79['UniverProCollaboration'],_0x344d79[_0xaf34c2(0x23b)],_0x344d79[_0xaf34c2(0x1c0)],_0x344d79[_0xaf34c2(0x254)],_0x344d79[_0xaf34c2(0x28e)],_0x344d79[_0xaf34c2(0x233)],_0x344d79[_0xaf34c2(0x1e8)],_0x344d79['UniverProEditHistoryViewer'],_0x344d79[_0xaf34c2(0x1ee)],_0x344d79[_0xaf34c2(0x21c)],_0x344d79[_0xaf34c2(0x1b0)],_0x344d79[_0xaf34c2(0x22a)],_0x344d79[_0xaf34c2(0x1e9)],_0x344d79[_0xaf34c2(0x214)],_0x344d79[_0xaf34c2(0x1bb)],_0x344d79[_0xaf34c2(0x1e7)],_0x344d79['UniverDocsUi'],_0x344d79['UniverDrawing'],_0x344d79[_0xaf34c2(0x1c4)],_0x344d79[_0xaf34c2(0x294)],_0x344d79[_0xaf34c2(0x273)],_0x344d79[_0xaf34c2(0x2b5)],_0x344d79[_0xaf34c2(0x22d)],_0x344d79[_0xaf34c2(0x1e0)],_0x344d79[_0xaf34c2(0x25e)],_0x344d79[_0xaf34c2(0x2a5)],_0x344d79[_0xaf34c2(0x24c)],_0x344d79['UniverSheetsDrawing'],_0x344d79[_0xaf34c2(0x1ff)],_0x344d79[_0xaf34c2(0x24b)],_0x344d79[_0xaf34c2(0x22b)],_0x344d79[_0xaf34c2(0x209)],_0x344d79['UniverSheetsFormulaUi'],_0x344d79['UniverSheetsHyperLink'],_0x344d79[_0xaf34c2(0x24e)],_0x344d79[_0xaf34c2(0x2c6)],_0x344d79[_0xaf34c2(0x236)]));}(this,function(_0x258c6c,_0x3552e4,_0x3aa7b5,_0x4df1ee,_0x21e357,_0x19b7f8,_0xa360aa,_0xc96616,_0x129275,_0x89e147,_0xf9969b,_0x5975a7,_0x22cf2b,_0x64ec8,_0xd09d05,_0x13d1f2,_0x5e1ea5,_0x10a5de,_0x188edb,_0x4db941,_0x1620cd,_0x26e949,_0x24dcf9,_0x3aadb1,_0x44070c,_0x33a81e,_0x810812,_0x5a7702,_0x56fee2,_0x5406de,_0x436531,_0x1fa17f,_0x3adf06,_0x185feb,_0x4896f3,_0x514742,_0x557220,_0xc4c66f,_0x48c772){'use strict';const _0x5ea1e8=_0x3167;var _0x17b1a0=Object[_0x5ea1e8(0x2ba)],_0x174125=(_0x3856d8,_0x584e2f,_0x19e62a)=>_0x584e2f in _0x3856d8?_0x17b1a0(_0x3856d8,_0x584e2f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x19e62a}):_0x3856d8[_0x584e2f]=_0x19e62a,_0x2263b7=(_0xaf9f3a,_0x5ead53,_0x146d3b)=>_0x174125(_0xaf9f3a,typeof _0x5ead53!='symbol'?_0x5ead53+'':_0x5ead53,_0x146d3b),_0x1af202;const _0x55856c='edit-history-loader.config',_0x49c6d={};function _0x5ddf14({ref:_0xf6564f,..._0xb404e2}){const _0x4d43f5=_0x5ea1e8,{icon:_0xec23b5,id:_0xa5ef91,className:_0x51090e,extend:_0x51c82e,..._0x804745}=_0xb404e2,_0x2299ea=('univerjs-icon\x20univerjs-icon-'+_0xa5ef91+'\x20'+(_0x51090e||''))['trim'](),_0x13cbad=_0x19b7f8[_0x4d43f5(0x1eb)]('_'+_0x534689());return _0x1f9887(_0xec23b5,''+_0xa5ef91,{'defIds':_0xec23b5[_0x4d43f5(0x1d5)],'idSuffix':_0x13cbad[_0x4d43f5(0x279)]},{'ref':_0xf6564f,'className':_0x2299ea,..._0x804745},_0x51c82e);}function _0x1f9887(_0x14c7db,_0x35aacd,_0x121186,_0x4991e1,_0x32aa0d){const _0x537747=_0x5ea1e8;return _0x19b7f8['createElement'](_0x14c7db[_0x537747(0x2a8)],{'key':_0x35aacd,..._0x376b1a(_0x14c7db,_0x121186,_0x32aa0d),..._0x4991e1},(_0x5ebe6e(_0x14c7db,_0x121186)[_0x537747(0x2b1)]||[])[_0x537747(0x281)]((_0x26c56f,_0xc63e12)=>_0x1f9887(_0x26c56f,_0x35aacd+'-'+_0x14c7db[_0x537747(0x2a8)]+'-'+_0xc63e12,_0x121186,void 0x0,_0x32aa0d)));}function _0x376b1a(_0x150511,_0x766734,_0x38f0c2){const _0x5443a2=_0x5ea1e8,_0x2aa1ac={..._0x150511['attrs']};_0x38f0c2!=null&&_0x38f0c2[_0x5443a2(0x261)]&&_0x2aa1ac[_0x5443a2(0x2b2)]===_0x5443a2(0x261)&&(_0x2aa1ac[_0x5443a2(0x2b2)]=_0x38f0c2[_0x5443a2(0x261)]),_0x150511[_0x5443a2(0x2a8)]===_0x5443a2(0x267)&&_0x2aa1ac['id']&&(_0x2aa1ac['id']=_0x2aa1ac['id']+_0x766734[_0x5443a2(0x249)]),Object[_0x5443a2(0x2bc)](_0x2aa1ac)[_0x5443a2(0x258)](([_0x4a6290,_0x7cf1b7])=>{const _0x3a0dab=_0x5443a2;_0x4a6290===_0x3a0dab(0x267)&&typeof _0x7cf1b7=='string'&&(_0x2aa1ac[_0x4a6290]=_0x7cf1b7[_0x3a0dab(0x28f)](/url\(#(.*)\)/,_0x3a0dab(0x2b8)+_0x766734[_0x3a0dab(0x249)]+')'));});const {defIds:_0x3d121e}=_0x766734;return!_0x3d121e||_0x3d121e[_0x5443a2(0x283)]===0x0||(_0x150511[_0x5443a2(0x2a8)]===_0x5443a2(0x1a9)&&_0x2aa1ac['xlink:href']&&(_0x2aa1ac[_0x5443a2(0x2c5)]=_0x2aa1ac['xlink:href']+_0x766734['idSuffix']),Object[_0x5443a2(0x2bc)](_0x2aa1ac)[_0x5443a2(0x258)](([_0x960042,_0x4d2005])=>{const _0x2cbfcb=_0x5443a2;typeof _0x4d2005==_0x2cbfcb(0x1ae)&&(_0x2aa1ac[_0x960042]=_0x4d2005[_0x2cbfcb(0x28f)](/url\(#(.*)\)/,_0x2cbfcb(0x2b8)+_0x766734[_0x2cbfcb(0x249)]+')'));})),_0x2aa1ac;}function _0x5ebe6e(_0x46e1ac,_0x509f2c){const _0x31bc4d=_0x5ea1e8;var _0x373b6a;const {defIds:_0x595444}=_0x509f2c;return!_0x595444||_0x595444['length']===0x0?_0x46e1ac:_0x46e1ac[_0x31bc4d(0x2a8)]===_0x31bc4d(0x1da)&&((_0x373b6a=_0x46e1ac['children'])!=null&&_0x373b6a['length'])?{..._0x46e1ac,'children':_0x46e1ac['children'][_0x31bc4d(0x281)](_0x48b079=>typeof _0x48b079[_0x31bc4d(0x1e5)]['id']==_0x31bc4d(0x1ae)&&_0x595444&&_0x595444[_0x31bc4d(0x229)](_0x48b079['attrs']['id'])?{..._0x48b079,'attrs':{..._0x48b079['attrs'],'id':_0x48b079[_0x31bc4d(0x1e5)]['id']+_0x509f2c[_0x31bc4d(0x249)]}}:_0x48b079)}:_0x46e1ac;}function _0x534689(){const _0x19eb0c=_0x5ea1e8;return Math[_0x19eb0c(0x22f)]()[_0x19eb0c(0x27f)](0x24)['substring'](0x2,0x8);}_0x5ddf14[_0x5ea1e8(0x235)]=_0x5ea1e8(0x270);const _0x2bfc34={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5ea1e8(0x2b4),'viewBox':_0x5ea1e8(0x201),'width':_0x5ea1e8(0x20e),'height':_0x5ea1e8(0x20e)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':'url(#history-icon_clip0_907_281)'},'children':[{'tag':_0x5ea1e8(0x1d7),'attrs':{'d':_0x5ea1e8(0x291)}},{'tag':_0x5ea1e8(0x1d7),'attrs':{'d':_0x5ea1e8(0x2a0)}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5ea1e8(0x1ef)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x5ea1e8(0x1d0)}}]}]}],'defIds':['history-icon_clip0_907_281']},_0x15ee8e=_0x19b7f8[_0x5ea1e8(0x217)](function(_0x3505ad,_0x2ae47c){const _0x2f79a9=_0x5ea1e8;return _0x19b7f8['createElement'](_0x5ddf14,Object[_0x2f79a9(0x2a6)]({},_0x3505ad,{'id':_0x2f79a9(0x256),'ref':_0x2ae47c,'icon':_0x2bfc34}));});_0x15ee8e[_0x5ea1e8(0x235)]=_0x5ea1e8(0x297);var _0x17fbe1=Object[_0x5ea1e8(0x25c)],_0x524dc0=(_0x36c499,_0x5d3b0f,_0x48491a,_0x42e262)=>{for(var _0x3a1221=_0x42e262>0x1?void 0x0:_0x42e262?_0x17fbe1(_0x5d3b0f,_0x48491a):_0x5d3b0f,_0x3ed66c=_0x36c499['length']-0x1,_0x2dd4eb;_0x3ed66c>=0x0;_0x3ed66c--)(_0x2dd4eb=_0x36c499[_0x3ed66c])&&(_0x3a1221=_0x2dd4eb(_0x3a1221)||_0x3a1221);return _0x3a1221;},_0x2693da=(_0x4c5845,_0x2f8cc0)=>(_0x5493c6,_0x3e05b4)=>_0x2f8cc0(_0x5493c6,_0x3e05b4,_0x4c5845);const _0x5eec2b=_0x5ea1e8(0x2bd),_0x2c3b18=_0x5ea1e8(0x286),_0x16395b='univer-history-container';_0x258c6c['HistoryLoaderService']=class extends _0x3552e4['Disposable']{constructor(_0x396787,_0x6c632,_0x1aa653,_0x47c932,_0x46ae74,_0x2db916,_0x266047,_0x1e3422,_0x3649ce,_0x528e93){const _0x3758c5=_0x5ea1e8;super(),_0x2263b7(this,_0x3758c5(0x255),new _0xc96616[(_0x3758c5(0x1c5))](null)),_0x2263b7(this,_0x3758c5(0x1f4),this[_0x3758c5(0x255)][_0x3758c5(0x1dc)]()),_0x2263b7(this,_0x3758c5(0x1bf),new _0x3552e4[(_0x3758c5(0x29e))]()),_0x2263b7(this,_0x3758c5(0x1b9),new Map()),(this['_localeService']=_0x396787,this[_0x3758c5(0x1b8)]=_0x6c632,this[_0x3758c5(0x225)]=_0x1aa653,this[_0x3758c5(0x23e)]=_0x47c932,this[_0x3758c5(0x1e6)]=_0x46ae74,this[_0x3758c5(0x29f)]=_0x2db916,this[_0x3758c5(0x275)]=_0x266047,this[_0x3758c5(0x2c2)]=_0x1e3422,this[_0x3758c5(0x1b5)]=_0x3649ce,this['_themeService']=_0x528e93,this[_0x3758c5(0x23d)]());}get[_0x5ea1e8(0x29d)](){const _0x356001=_0x5ea1e8;return this[_0x356001(0x255)][_0x356001(0x1aa)];}['_init'](){const _0x23ea3a=_0x5ea1e8;this[_0x23ea3a(0x20c)](),this[_0x23ea3a(0x1b3)]();}[_0x5ea1e8(0x20c)](){const _0x2771e9=_0x5ea1e8;var _0x131644;const _0x33b9ff=(_0x131644=this[_0x2771e9(0x225)][_0x2771e9(0x271)](_0x2c3b18))!=null?_0x131644:_0x5eec2b,_0x474487=document['getElementById'](_0x33b9ff);if(!_0x474487)return;const _0xddf283=document['createElement'](_0x2771e9(0x1c3));_0xddf283['id']=_0x16395b,_0xddf283[_0x2771e9(0x1cc)][_0x2771e9(0x1db)]='history-container',_0xddf283[_0x2771e9(0x1ec)][_0x2771e9(0x1b1)]=_0x2771e9(0x1ab),_0xddf283[_0x2771e9(0x1ec)][_0x2771e9(0x298)]='0',_0xddf283[_0x2771e9(0x1ec)][_0x2771e9(0x21f)]='0',_0xddf283[_0x2771e9(0x1ec)]['width']=_0x2771e9(0x210),_0xddf283[_0x2771e9(0x1ec)][_0x2771e9(0x232)]=_0x2771e9(0x210),_0xddf283['style'][_0x2771e9(0x1ea)]=_0x2771e9(0x204),_0xddf283[_0x2771e9(0x1ec)][_0x2771e9(0x250)]=_0x2771e9(0x2b4),_0x474487['appendChild'](_0xddf283);}[_0x5ea1e8(0x1b3)](){const _0x603867=_0x5ea1e8;var _0x5ad1c3,_0x5f524d,_0x43e49f,_0xc67a87;[[_0x24dcf9['UniverRenderEnginePlugin']],[_0xa360aa[_0x603867(0x1b7)],{'container':_0x16395b,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0xa360aa[_0x603867(0x268)],null]]}],[_0x3aadb1[_0x603867(0x20d)]],[_0x4db941[_0x603867(0x1f0)],{'override':[[_0x4db941[_0x603867(0x234)],null]]}],[_0x10a5de['UniverDocsPlugin'],{'hasScroll':!0x1}],[_0x188edb[_0x603867(0x24a)]],[_0xc4c66f[_0x603867(0x2a2)]],[_0x129275[_0x603867(0x220)],{'notExecuteFormula':!0x0}],[_0x48c772[_0x603867(0x1dd)]],[_0x185feb[_0x603867(0x1ac)]],[_0x4896f3['UniverSheetsFormulaUIPlugin']],[_0x3aa7b5['UniverCollaborationPlugin']],[_0x1fa17f[_0x603867(0x1fe)]],[_0x3adf06[_0x603867(0x25a)]],[_0x33a81e['UniverSheetsConditionalFormattingPlugin']],[_0x810812['UniverSheetsConditionalFormattingUIPlugin']],[_0x514742[_0x603867(0x26d)]],[_0x557220[_0x603867(0x1ba)]],[_0x5e1ea5['UniverDataValidationPlugin']],[_0x5a7702['UniverSheetsDataValidationPlugin']],[_0x56fee2['UniverSheetsDataValidationUIPlugin']],[_0x26e949['UniverFormulaEnginePlugin'],{'notExecuteFormula':!0x0}],[_0x44070c['UniverRPCMainThreadPlugin'],{'workerURL':(_0x5f524d=(_0x5ad1c3=this[_0x603867(0x225)]['getConfig'](_0x44070c[_0x603867(0x289)]))==null?void 0x0:_0x5ad1c3[_0x603867(0x231)])!=null?_0x5f524d:_0x603867(0x26b)}],[_0x1620cd['UniverDrawingUIPlugin']],[_0x5406de[_0x603867(0x2b0)]],[_0x436531[_0x603867(0x26a)]],[_0xd09d05[_0x603867(0x2b3)]],[_0x13d1f2['UniverSheetSparklineUIPlugin']],[_0x5975a7[_0x603867(0x207)]],[_0x22cf2b[_0x603867(0x219)]],[_0x64ec8[_0x603867(0x2be)],{'notExecuteFormula':!0x0}],[_0x89e147[_0x603867(0x2bb)],{'historyListServerUrl':(_0x43e49f=this[_0x603867(0x225)][_0x603867(0x271)](_0x55856c))==null?void 0x0:_0x43e49f[_0x603867(0x1cf)],'historyPanelComponentKey':(_0xc67a87=this[_0x603867(0x225)]['getConfig'](_0x55856c))==null?void 0x0:_0xc67a87['historyPanelComponentKey']}]][_0x603867(0x258)](([_0x2f73fc,_0x158163])=>this[_0x603867(0x1c9)](_0x2f73fc,_0x158163));}[_0x5ea1e8(0x1b4)](){const _0x391247=_0x5ea1e8;super['dispose'](),this['unMountHistoryContent'](),this[_0x391247(0x1b9)]['clear']();}[_0x5ea1e8(0x1c9)](_0x45cd06,_0x2c199c,_0x3fe74a){const _0x57bbec=_0x5ea1e8;if(this[_0x57bbec(0x1b9)][_0x57bbec(0x242)](_0x45cd06[_0x57bbec(0x269)])&&!_0x3fe74a)throw new Error(_0x57bbec(0x299)+_0x45cd06[_0x57bbec(0x269)]+_0x57bbec(0x1b2));this[_0x57bbec(0x1b9)][_0x57bbec(0x24f)](_0x45cd06[_0x57bbec(0x269)],[_0x45cd06,_0x2c199c]);}[_0x5ea1e8(0x280)](){const _0x1748c3=_0x5ea1e8;return Array[_0x1748c3(0x1bc)](this[_0x1748c3(0x1b9)]['values']());}['mountHistoryContent'](_0x4ee9ad){const _0xca0bd1=_0x5ea1e8,_0x4524ca=document[_0xca0bd1(0x295)](_0x16395b);_0x4524ca&&(_0x4524ca['style'][_0xca0bd1(0x250)]=_0xca0bd1(0x208),this['_initUniver'](_0x4ee9ad,_0x16395b));}[_0x5ea1e8(0x290)](){const _0x463aad=_0x5ea1e8;var _0x98750b;this[_0x463aad(0x1bf)]['dispose'](),(_0x98750b=this[_0x463aad(0x29d)])==null||_0x98750b[_0x463aad(0x1b4)](),this[_0x463aad(0x255)][_0x463aad(0x1d9)](null);const _0x1f951e=document[_0x463aad(0x295)](_0x16395b);_0x1f951e&&(_0x1f951e[_0x463aad(0x1ec)][_0x463aad(0x250)]=_0x463aad(0x2b4));}['_initUniver'](_0x3b4268,_0xa81762){const _0x18842c=_0x5ea1e8;if(this[_0x18842c(0x29d)])return;const _0x54cc34=new _0x3552e4['Univer']({'locales':{[this[_0x18842c(0x1d2)][_0x18842c(0x21b)]()]:this[_0x18842c(0x1d2)][_0x18842c(0x1fd)]()},'override':[[_0x3552e4[_0x18842c(0x1ce)],{'useClass':_0x4df1ee['AuthzIoHttpService']}]]}),_0x1b5113=_0x54cc34[_0x18842c(0x23a)]();this[_0x18842c(0x2a9)](this['_themeService'][_0x18842c(0x238)][_0x18842c(0x21d)](_0x37ac37=>{const _0x5a036b=_0x18842c;_0x1b5113[_0x5a036b(0x243)](_0x3552e4[_0x5a036b(0x2bf)])[_0x5a036b(0x23c)](_0x37ac37);})),this['disposeWithMe'](this['_themeService'][_0x18842c(0x1f7)]['subscribe'](_0x4b5ebf=>{const _0x56c7fc=_0x18842c;_0x1b5113[_0x56c7fc(0x243)](_0x3552e4[_0x56c7fc(0x2bf)])[_0x56c7fc(0x2ac)](_0x4b5ebf);})),_0x1b5113[_0x18842c(0x243)](_0x3552e4[_0x18842c(0x1af)])[_0x18842c(0x1c8)](this[_0x18842c(0x1d2)][_0x18842c(0x21b)]()),_0x1b5113['get'](_0x3552e4[_0x18842c(0x223)])['setConfig'](_0x4df1ee['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY'],this[_0x18842c(0x225)][_0x18842c(0x271)](_0x4df1ee[_0x18842c(0x1d4)]));const _0x21c541=this[_0x18842c(0x225)][_0x18842c(0x271)](_0xf9969b['LS_CONFIG_KEY']);_0x21c541&&_0x54cc34[_0x18842c(0x1c9)](_0xf9969b[_0x18842c(0x2c3)],{'license':_0x21c541['ls']}),this['_pluginMap'][_0x18842c(0x258)](([_0x19e521,_0x4f9340])=>{const _0x1e81ca=_0x18842c;_0x54cc34[_0x1e81ca(0x1c9)](_0x19e521,_0x4f9340);}),_0x1b5113[_0x18842c(0x202)](_0x69998c=>{const _0xa3dec1=_0x18842c;this[_0xa3dec1(0x213)](_0x69998c,_0x3b4268);}),this[_0x18842c(0x255)]['next'](_0x54cc34);const _0x4c3b32=_0x1b5113[_0x18842c(0x243)](_0x89e147[_0x18842c(0x1ad)]),_0xae6f3d=this[_0x18842c(0x253)](_0x3b4268);_0x4c3b32[_0x18842c(0x211)](_0x3b4268,_0xa81762,_0xae6f3d);}['_initListener'](_0x2276cc,_0x5ba72e){const _0x990a00=_0x5ea1e8,_0x33d7b8=_0x2276cc[_0x990a00(0x243)](_0x89e147[_0x990a00(0x1ad)]);this[_0x990a00(0x1bf)][_0x990a00(0x21e)](_0x33d7b8[_0x990a00(0x1b6)]['subscribe'](_0x4a4790=>{const _0x47186e=_0x990a00;switch(_0x4a4790){case _0x89e147[_0x47186e(0x203)]['Entered']:this[_0x47186e(0x2c2)][_0x47186e(0x200)](),this[_0x47186e(0x1b5)]['close']();break;case _0x89e147[_0x47186e(0x203)][_0x47186e(0x239)]:this[_0x47186e(0x23e)][_0x47186e(0x26c)](_0x2ae4e3['id']),this[_0x47186e(0x290)]();break;case _0x89e147['HistoryModeStatus']['Error']:this['unMountHistoryContent'](),this[_0x47186e(0x1e6)][_0x47186e(0x1de)]({'content':this[_0x47186e(0x1d2)]['t'](_0x47186e(0x2b7)),'type':_0x21e357[_0x47186e(0x21a)][_0x47186e(0x218)],'duration':0xbb8});break;}})),this[_0x990a00(0x1bf)][_0x990a00(0x21e)](_0x33d7b8['revertRevision$'][_0x990a00(0x21d)](async _0x534189=>{const _0x2e1215=_0x990a00;_0x534189&&this[_0x2e1215(0x23e)]['executeCommand'](_0x3aa7b5['RevertRevisionMutation']['id'],{'unitId':_0x5ba72e,'revision':_0x534189});}));}[_0x5ea1e8(0x253)](_0x407fca){const _0x3b0859=_0x5ea1e8,_0x40839f=this['_univerInstanceService'][_0x3b0859(0x2a1)](_0x407fca)[_0x3b0859(0x246)]()[_0x3b0859(0x281)](_0x4ba92b=>_0x4ba92b[_0x3b0859(0x222)]()),_0x5eaf6d=new _0x129275['WorkbookEditablePermission'](_0x407fca)['id'],_0x3fc1d9=_0x40839f['map'](_0xe0b851=>new _0x129275[(_0x3b0859(0x28d))](_0x407fca,_0xe0b851)['id']),_0x45d1af=_0x40839f[_0x3b0859(0x281)](_0x2ad78c=>this[_0x3b0859(0x275)][_0x3b0859(0x2ae)](_0x407fca,_0x2ad78c)[_0x3b0859(0x281)](_0x331fc7=>new _0x129275['RangeProtectionPermissionEditPoint'](_0x407fca,_0x2ad78c,_0x331fc7[_0x3b0859(0x265)])['id']))['flat'](),_0x55c526=new _0x129275[(_0x3b0859(0x25f))](_0x407fca)['id'];return this[_0x3b0859(0x29f)][_0x3b0859(0x1f1)]([_0x5eaf6d,..._0x3fc1d9,..._0x45d1af,_0x55c526])[_0x3b0859(0x2aa)](_0x5d7386=>!!_0x5d7386[_0x3b0859(0x1aa)]);}},_0x258c6c[_0x5ea1e8(0x20f)]=_0x524dc0([_0x2693da(0x0,_0x3552e4[_0x5ea1e8(0x241)](_0x3552e4[_0x5ea1e8(0x1af)])),_0x2693da(0x1,_0x3552e4[_0x5ea1e8(0x240)]),_0x2693da(0x2,_0x3552e4['IConfigService']),_0x2693da(0x3,_0x3552e4[_0x5ea1e8(0x277)]),_0x2693da(0x4,_0xa360aa[_0x5ea1e8(0x1ca)]),_0x2693da(0x5,_0x3552e4[_0x5ea1e8(0x22c)]),_0x2693da(0x6,_0x3552e4[_0x5ea1e8(0x241)](_0x129275[_0x5ea1e8(0x1bd)])),_0x2693da(0x7,_0x3552e4[_0x5ea1e8(0x241)](_0xa360aa[_0x5ea1e8(0x268)])),_0x2693da(0x8,_0x3552e4[_0x5ea1e8(0x241)](_0xa360aa['ISidebarService'])),_0x2693da(0x9,_0x3552e4['Inject'](_0x3552e4[_0x5ea1e8(0x2bf)]))],_0x258c6c['HistoryLoaderService']);const _0x171bee={'id':_0x5ea1e8(0x259),'type':_0x3552e4['CommandType'][_0x5ea1e8(0x247)],'handler':_0x913462=>{const _0x1389fd=_0x5ea1e8,_0x12bf1c=_0x913462[_0x1389fd(0x243)](_0x258c6c[_0x1389fd(0x20f)]),_0x5e0821=_0x913462[_0x1389fd(0x243)](_0x3552e4['IUniverInstanceService']),{unitId:_0xdb7706}=_0x129275['getSheetCommandTarget'](_0x5e0821)||{};return _0xdb7706?(_0x12bf1c[_0x1389fd(0x296)](_0xdb7706),!0x0):!0x1;}},_0x2ae4e3={'id':'univer.operation.exit-edit-history','type':_0x3552e4[_0x5ea1e8(0x205)][_0x5ea1e8(0x247)],'handler':()=>!0x0};function _0x34f311(_0x5f5a76){const _0x49413e=_0x5ea1e8;return{'id':_0x171bee['id'],'type':_0xa360aa[_0x49413e(0x1c2)][_0x49413e(0x27b)],'icon':_0x49413e(0x297),'tooltip':_0x49413e(0x1f3),'hidden$':_0xa360aa[_0x49413e(0x27c)](_0x5f5a76,_0x3552e4[_0x49413e(0x228)][_0x49413e(0x248)]),'disabled$':_0x48c772[_0x49413e(0x1e4)](_0x5f5a76,{'workbookTypes':[_0x129275['WorkbookEditablePermission'],_0x129275[_0x49413e(0x25b)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x5292a1={[_0xa360aa['RibbonStartGroup']['OTHERS']]:{[_0x171bee['id']]:{'order':0.2,'menuItemFactory':_0x34f311}}};var _0x3482eb=Object[_0x5ea1e8(0x25c)],_0x13181f=(_0xd178dd,_0x471e2b,_0x31d72b,_0x4351a8)=>{const _0x618d4c=_0x5ea1e8;for(var _0x3c43f9=_0x4351a8>0x1?void 0x0:_0x4351a8?_0x3482eb(_0x471e2b,_0x31d72b):_0x471e2b,_0x542f86=_0xd178dd[_0x618d4c(0x283)]-0x1,_0x35685d;_0x542f86>=0x0;_0x542f86--)(_0x35685d=_0xd178dd[_0x542f86])&&(_0x3c43f9=_0x35685d(_0x3c43f9)||_0x3c43f9);return _0x3c43f9;},_0x19a273=(_0x275592,_0x434ea7)=>(_0x4645f7,_0x31c0ee)=>_0x434ea7(_0x4645f7,_0x31c0ee,_0x275592);let _0x4013fe=class extends _0x3552e4['RxDisposable']{constructor(_0x36426f,_0x49b8fc,_0x782ab1,_0x30c23b,_0x6adad9,_0x6a9e2b,_0x4c3fa5,_0x5435a3){const _0x29d019=_0x5ea1e8;super(),_0x2263b7(this,_0x29d019(0x206),null),(this[_0x29d019(0x23e)]=_0x36426f,this[_0x29d019(0x2c7)]=_0x49b8fc,this[_0x29d019(0x1e2)]=_0x782ab1,this['_historyManagerService']=_0x30c23b,this[_0x29d019(0x1d2)]=_0x6adad9,this[_0x29d019(0x1e6)]=_0x6a9e2b,this['_collaborationController']=_0x4c3fa5,this[_0x29d019(0x1c7)]=_0x5435a3,this[_0x29d019(0x23d)]());}[_0x5ea1e8(0x23d)](){const _0x40fac9=_0x5ea1e8;[_0x171bee,_0x2ae4e3][_0x40fac9(0x258)](_0x32cb2d=>this['disposeWithMe'](_0x3552e4[_0x40fac9(0x25d)](this[_0x40fac9(0x23e)]['registerCommand'](_0x32cb2d)))),this['disposeWithMe'](this['_componentManager'][_0x40fac9(0x28b)](_0x40fac9(0x297),_0x15ee8e)),this[_0x40fac9(0x2c7)][_0x40fac9(0x230)](_0x5292a1),this[_0x40fac9(0x2a9)](this[_0x40fac9(0x23e)][_0x40fac9(0x221)](_0x4f465f=>{const _0x23128a=_0x40fac9;if(_0x4f465f['id']===_0x3aa7b5[_0x23128a(0x1e3)]['id']){this['_messageService'][_0x23128a(0x1de)]({'content':this[_0x23128a(0x1d2)]['t'](_0x23128a(0x2a4)),'type':_0x21e357['MessageType'][_0x23128a(0x2ad)],'duration':0x1388});const {unitId:_0x2b5daa}=_0x4f465f['params'],_0x2ca496=this[_0x23128a(0x29a)][_0x23128a(0x23f)](_0x2b5daa),_0x3ce784=_0xc96616['combineLatest']([_0x2ca496[_0x23128a(0x1a6)][_0x23128a(0x2c1)],_0x2ca496[_0x23128a(0x26e)]])[_0x23128a(0x21d)](async([_0x328c5b,_0x5402bc])=>{const _0x384b87=_0x23128a;var _0x19dc97;_0x328c5b[_0x384b87(0x262)]===_0x3aa7b5['CollaborationEvent'][_0x384b87(0x293)]&&(_0x5402bc==null?void 0x0:_0x5402bc[_0x384b87(0x1c6)])===_0x4df1ee[_0x384b87(0x237)][_0x384b87(0x2a7)]&&_0x328c5b[_0x384b87(0x2c4)][_0x384b87(0x215)][_0x384b87(0x1be)](_0x174be5=>_0x174be5['id']===_0x3aa7b5[_0x384b87(0x1e3)]['id'])&&(this[_0x384b87(0x1f6)]['unMountHistoryContent'](),_0x3ce784[_0x384b87(0x20a)](),this[_0x384b87(0x206)]&&clearTimeout(this[_0x384b87(0x206)]),await((_0x19dc97=this['_localCacheService'])==null?void 0x0:_0x19dc97[_0x384b87(0x2b9)]()),setTimeout(()=>window[_0x384b87(0x28c)][_0x384b87(0x1a8)]()));});this[_0x23128a(0x206)]=setTimeout(()=>{const _0x48640a=_0x23128a;_0x3ce784[_0x48640a(0x20a)](),this[_0x48640a(0x1e6)][_0x48640a(0x1de)]({'content':this[_0x48640a(0x1d2)]['t']('editHistory.panel.revertFailed'),'type':_0x21e357[_0x48640a(0x21a)][_0x48640a(0x218)],'duration':0xbb8});},0x1388);}}));}};_0x4013fe=_0x13181f([_0x19a273(0x0,_0x3552e4[_0x5ea1e8(0x277)]),_0x19a273(0x1,_0xa360aa[_0x5ea1e8(0x22e)]),_0x19a273(0x2,_0x3552e4[_0x5ea1e8(0x241)](_0xa360aa[_0x5ea1e8(0x282)])),_0x19a273(0x3,_0x3552e4[_0x5ea1e8(0x241)](_0x258c6c['HistoryLoaderService'])),_0x19a273(0x4,_0x3552e4[_0x5ea1e8(0x241)](_0x3552e4[_0x5ea1e8(0x1af)])),_0x19a273(0x5,_0xa360aa[_0x5ea1e8(0x1ca)]),_0x19a273(0x6,_0x3552e4['Inject'](_0x4df1ee[_0x5ea1e8(0x1f9)])),_0x19a273(0x7,_0x4df1ee[_0x5ea1e8(0x27a)])],_0x4013fe);var _0x415e9e=Object[_0x5ea1e8(0x25c)],_0x3db55b=(_0x440725,_0x536a1b,_0x18a8f1,_0x2ea2e7)=>{const _0x5d3a7b=_0x5ea1e8;for(var _0x13ff47=_0x2ea2e7>0x1?void 0x0:_0x2ea2e7?_0x415e9e(_0x536a1b,_0x18a8f1):_0x536a1b,_0x406478=_0x440725[_0x5d3a7b(0x283)]-0x1,_0x46262c;_0x406478>=0x0;_0x406478--)(_0x46262c=_0x440725[_0x406478])&&(_0x13ff47=_0x46262c(_0x13ff47)||_0x13ff47);return _0x13ff47;},_0x1478a9=(_0x4d9f3b,_0x2a2212)=>(_0x4e67cb,_0x374da6)=>_0x2a2212(_0x4e67cb,_0x374da6,_0x4d9f3b);const _0x1d356c=_0x5ea1e8(0x226);_0x258c6c[_0x5ea1e8(0x276)]=(_0x1af202=class extends _0x3552e4[_0x5ea1e8(0x260)]{constructor(_0xc248d6=_0x49c6d,_0x4c0548,_0x2bc2b2){const _0xeb88b4=_0x5ea1e8;super(),this['_config']=_0xc248d6,this[_0xeb88b4(0x1fa)]=_0x4c0548,this[_0xeb88b4(0x225)]=_0x2bc2b2;const {menu:_0x1c17c0,..._0x1c0556}=_0x3552e4[_0xeb88b4(0x1d3)]({},_0x49c6d,this[_0xeb88b4(0x26f)]);_0x1c17c0&&this[_0xeb88b4(0x225)]['setConfig']('menu',_0x1c17c0,{'merge':!0x0}),this[_0xeb88b4(0x225)][_0xeb88b4(0x1fc)](_0x55856c,_0x1c0556),this[_0xeb88b4(0x26f)][_0xeb88b4(0x251)]&&this['_configService'][_0xeb88b4(0x1fc)](_0x2c3b18,this['_config'][_0xeb88b4(0x251)]);}[_0x5ea1e8(0x20b)](){const _0x158f54=_0x5ea1e8;[[_0x258c6c['HistoryLoaderService']],[_0x4013fe]][_0x158f54(0x258)](_0x41d533=>this[_0x158f54(0x1fa)][_0x158f54(0x21e)](_0x41d533));}['onSteady'](){const _0x5a3e92=_0x5ea1e8;this[_0x5a3e92(0x1fa)][_0x5a3e92(0x243)](_0x4013fe);}},_0x2263b7(_0x1af202,'type',_0x3552e4[_0x5ea1e8(0x228)][_0x5ea1e8(0x29c)]),_0x2263b7(_0x1af202,_0x5ea1e8(0x269),_0x1d356c),_0x1af202),_0x258c6c['UniverEditHistoryLoaderPlugin']=_0x3db55b([_0x1478a9(0x1,_0x3552e4[_0x5ea1e8(0x241)](_0x3552e4[_0x5ea1e8(0x227)])),_0x1478a9(0x2,_0x3552e4['IConfigService'])],_0x258c6c[_0x5ea1e8(0x276)]),_0x258c6c['UNIVER_CONTAINER_ID_KEY']=_0x2c3b18,_0x258c6c['UNIVER_HISTORY_CONTAINER_ID']=_0x16395b,Object[_0x5ea1e8(0x2ba)](_0x258c6c,Symbol[_0x5ea1e8(0x257)],{'value':_0x5ea1e8(0x252)});}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/edit-history-loader",
3
- "version": "0.15.2",
3
+ "version": "0.15.3",
4
4
  "private": false,
5
5
  "description": "UniverSheet edit history loader",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -47,42 +47,42 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@univerjs/icons": "^1.1.1",
50
- "@univerjs-pro/collaboration-client": "0.15.2",
51
- "@univerjs-pro/edit-history-viewer": "0.15.2",
52
- "@univerjs-pro/license": "0.15.2",
53
- "@univerjs-pro/sheets-chart": "0.15.2",
54
- "@univerjs-pro/sheets-chart-ui": "0.15.2",
55
- "@univerjs-pro/sheets-pivot": "0.15.2",
56
- "@univerjs-pro/collaboration": "0.15.2",
57
- "@univerjs/core": "0.15.2",
58
- "@univerjs/data-validation": "0.15.2",
59
- "@univerjs-pro/sheets-sparkline": "0.15.2",
60
- "@univerjs-pro/sheets-sparkline-ui": "0.15.2",
61
- "@univerjs/design": "0.15.2",
62
- "@univerjs/docs-ui": "0.15.2",
63
- "@univerjs/drawing": "0.15.2",
64
- "@univerjs/engine-formula": "0.15.2",
65
- "@univerjs/docs": "0.15.2",
66
- "@univerjs/engine-render": "0.15.2",
67
- "@univerjs/drawing-ui": "0.15.2",
68
- "@univerjs/network": "0.15.2",
69
- "@univerjs/sheets": "0.15.2",
70
- "@univerjs/sheets-conditional-formatting": "0.15.2",
71
- "@univerjs/sheets-conditional-formatting-ui": "0.15.2",
72
- "@univerjs/sheets-data-validation": "0.15.2",
73
- "@univerjs/rpc": "0.15.2",
74
- "@univerjs/sheets-drawing": "0.15.2",
75
- "@univerjs/sheets-data-validation-ui": "0.15.2",
76
- "@univerjs/sheets-drawing-ui": "0.15.2",
77
- "@univerjs/sheets-filter": "0.15.2",
78
- "@univerjs/sheets-formula": "0.15.2",
79
- "@univerjs/sheets-filter-ui": "0.15.2",
80
- "@univerjs/sheets-formula-ui": "0.15.2",
81
- "@univerjs/sheets-hyper-link-ui": "0.15.2",
82
- "@univerjs/sheets-hyper-link": "0.15.2",
83
- "@univerjs/sheets-numfmt": "0.15.2",
84
- "@univerjs/sheets-ui": "0.15.2",
85
- "@univerjs/ui": "0.15.2"
50
+ "@univerjs-pro/collaboration": "0.15.3",
51
+ "@univerjs-pro/collaboration-client": "0.15.3",
52
+ "@univerjs-pro/license": "0.15.3",
53
+ "@univerjs-pro/sheets-chart": "0.15.3",
54
+ "@univerjs-pro/sheets-chart-ui": "0.15.3",
55
+ "@univerjs-pro/sheets-pivot": "0.15.3",
56
+ "@univerjs-pro/sheets-sparkline": "0.15.3",
57
+ "@univerjs-pro/sheets-sparkline-ui": "0.15.3",
58
+ "@univerjs-pro/edit-history-viewer": "0.15.3",
59
+ "@univerjs/core": "0.15.3",
60
+ "@univerjs/design": "0.15.3",
61
+ "@univerjs/docs": "0.15.3",
62
+ "@univerjs/docs-ui": "0.15.3",
63
+ "@univerjs/data-validation": "0.15.3",
64
+ "@univerjs/drawing": "0.15.3",
65
+ "@univerjs/engine-formula": "0.15.3",
66
+ "@univerjs/drawing-ui": "0.15.3",
67
+ "@univerjs/engine-render": "0.15.3",
68
+ "@univerjs/network": "0.15.3",
69
+ "@univerjs/sheets-conditional-formatting-ui": "0.15.3",
70
+ "@univerjs/sheets-conditional-formatting": "0.15.3",
71
+ "@univerjs/rpc": "0.15.3",
72
+ "@univerjs/sheets": "0.15.3",
73
+ "@univerjs/sheets-data-validation": "0.15.3",
74
+ "@univerjs/sheets-data-validation-ui": "0.15.3",
75
+ "@univerjs/sheets-drawing": "0.15.3",
76
+ "@univerjs/sheets-filter": "0.15.3",
77
+ "@univerjs/sheets-filter-ui": "0.15.3",
78
+ "@univerjs/sheets-drawing-ui": "0.15.3",
79
+ "@univerjs/sheets-formula": "0.15.3",
80
+ "@univerjs/sheets-formula-ui": "0.15.3",
81
+ "@univerjs/sheets-hyper-link": "0.15.3",
82
+ "@univerjs/sheets-numfmt": "0.15.3",
83
+ "@univerjs/sheets-hyper-link-ui": "0.15.3",
84
+ "@univerjs/sheets-ui": "0.15.3",
85
+ "@univerjs/ui": "0.15.3"
86
86
  },
87
87
  "devDependencies": {
88
88
  "react": "18.3.1",
@@ -90,7 +90,7 @@
90
90
  "typescript": "^5.9.3",
91
91
  "vite": "^7.3.1",
92
92
  "vitest": "^4.0.16",
93
- "@univerjs-infra/shared": "0.15.2"
93
+ "@univerjs-infra/shared": "0.15.3"
94
94
  },
95
95
  "scripts": {
96
96
  "test": "vitest run",