@univerjs-pro/edit-history-viewer 0.2.12 → 0.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/types/plugin.d.ts +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +31 -31
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x2c86(){const _0x31d6b3=['VIRTUAL_VERSION_NOW','_diffs','Filter','HTTPService','useState','UNRECOGNIZED','M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','code','function','UniverEditHistoryViewerPlugin','Error','startRow','SetWorksheetStyle','className','_initPanel','_sidebarService','substring','active','range','commands','DeleteRow','register','loadingState','getVersions','editHistory.action.etc','_localeService','height','LocaleType','_cellEditorManagerService','_extractRanges','fetchThroughInterceptors','some','getMember','@univerjs/design','triggerRevert','ZH_CN','isArray','univer-version-item-header-time','_componentManager','concat','_compressMutationService','_versions$','currentVersion','scrollEvent$','VIEW_MAIN','univer-version-list-panel-content','versionItemHeaderRevert','TOO_MANY_REQUESTS','univer-active','SnapshotServerOverHTTPService','Starting','getMinutes','ImageIoService','rev','univer-version-item-header-time-tag','historyViewHeaderRevert','anonymous','1000','next','startColumn','SetRangeProtectionMutation','backgroundColor','pipe','UNIVER_SLIDE','SetWorksheetActiveOperation','display','_status$','APPLY_REJECT','fill','hideMask','Rendered','CONNECTOR_DATA_TOO_LARGE','setFilter','HideWorksheet','Comment','padStart','BehaviorSubject','MessageType','_permissionService','useDependency','CompressMutationService','createElement','startRevision','rxjs','2144540cZZDkJ','InsertColumn','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','editHistory.action.','PivotTable','all','disposeWithMe','_config','FromArray','versionItemHeaderTime','versionItemHeader','toStringTag','switchMap','Sort','permissionPointUpdate$','setState','then','_dialogOptions$','hasCommand','@univerjs/core','editHistory.panel.unknownUser','rect','call','_diffRangesMap','react','width','versionItem','exports','versionItemHeaderTimeTag','_removeDiffMarks','data','2861559iJdLjn','row','UniverSheetsUi','LocaleService','_lastPointer','7VdYOWY','close','_combineRanges','_currentVersion$','defineProperty','useObservable','versions','univer-version-item-content','children','_maskElement','propertyIsEnumerable','white','append','executeCommand','SetRangeValuesMutation','map','UniverSheetsConditionalFormatting','time','rule','UniverCollaboration','@univerjs-pro/collaboration','blockMeta','editHistory.panel.currentUser','extend','disposeUnit','InsertHyperlink','getDataRange','136EvlBPo','_commandService','IPermissionService','COMPLETION_FINISHED','dateString','add','_univerInstanceService','History','editHistory.action.revertSheetPrefix','left','currentVersionDiff$','createTime','Export','center','CreateWorksheet','status$','indexOf','showMask','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','RangeMergeUtil','DeleteSheet','SNAPSHOT_INVALID_SNAPSHOT','loadSheet','InsertColMutation','apply','SelectUnProtectedCells','triggerLoadSheet','YUUMI_URL_COL_OUT_OF_RANGE','COMPRESS_MUTATION_APPLY','interceptor','_getAPIPrefix','init','Duplicate','_configService','_initActiveSwitch','getCurrentVersion','univer-version-list-loading-icon','connectInjector','LifecycleStages','LICENSE_DISTRO_REJECTED','INVALID_ARGUMENT','Edit','getSheetObject','UNIVER_PROJECT','@univerjs/sheets-conditional-formatting','RevertRevisionMutation','_historyFetchService','getCurrent','ICommandService','memberId','parseProtocolChangeset','_themeService','useCallback','AddWorksheetMergeMutation','&lastLabel=','IUniverInstanceService','8758HIPwLo','Plugin','Print','_members','insertSheet','versionListLoadingIcon','WorkbookEditablePermission','editSheet','MoveSheet','_canRevert','univer-version-list-panel','@univerjs/sheets-filter','subscribeEvent','restore-single','registerComponent','getUnitId','_unitId$','IConfigService','RemoveNumfmtMutation','userId','#fff','restore-single_clip0_1247_2','subscribe','_updateDiffMarks','@univerjs/network','_init','column','syncExecuteCommand','univerjs-icon\x20univerjs-icon-','DeleteColumn','SetCellStyle','Loading','deleteProtection','has','CreateUnitMutation','defIds','ranges','replace','0\x200\x2016\x2016','url(#restore-single_clip0_1247_2)','push','MoveRangeMutation','editHistory.panel.revertConfirm','values','IUIPartsService','Inject','setCF','_confirmService','getElementById','IMessageService','_historyContainerId','univer-version-item-header-revert','DeleteWorksheetProtectionMutation','endColumn','object','onPointerMove$','editHistory.panel.currentVersion','setValue','transformSnapshotToWorkbookData','toString','APPLY_NON_SEQUENTIAL_REVISION','_versionDiffService','show','UNIVER_SHEET','_sidebarDisposable','canRevert','APPLY_PERMISSION_DENIED','IHTTPImplementation','filter','skeleton','removeSheet','entered','SNAPSHOT_HAS_BEEN_REMOVED','workbook','_initMaskContainer','UniverSheetsFilter','M7.17852\x201.82153C7.17852\x201.36781\x207.54633\x201\x208.00005\x201C11.866\x201\x2015\x204.13397\x2015\x207.99993C15\x2011.8659\x2011.866\x2014.9999\x208.00005\x2014.9999C4.1341\x2014.9999\x201.00012\x2011.8659\x201.00012\x207.99993C1.00012\x207.54621\x201.36793\x207.1784\x201.82165\x207.1784C2.27537\x207.1784\x202.64318\x207.54621\x202.64318\x207.99993C2.64318\x2010.9584\x205.04153\x2013.3568\x208.00005\x2013.3568C10.9586\x2013.3568\x2013.3569\x2010.9584\x2013.3569\x207.99993C13.3569\x205.04141\x2010.9586\x202.64306\x208.00005\x202.64306C7.54633\x202.64306\x207.17852\x202.27525\x207.17852\x201.82153Z','createUnit','editHistory.panel.revertDesc','revertRevision$','flat','_lastLabel','edit-history-viewer.config','loaded','getAncestorScale','versionListLoading','APPLY_REVISION_CONFILICT','RestoreSingle','[HistoryFetchService]:\x20request\x20snapshot\x20error!','IDialogService','UniverDesign','rgba(225,\x20225,\x20225,\x200.5)','addProtection','editHistory.action.revertSheetSuffix','UniverDrawing','getSheetBlock','position','color','RwHgtClWdt','unitId$','idSuffix','_context','split','Disposable','tag','onRendered','_renderManagerService','BuiltInUIPart','getOwnPropertySymbols','RecoverHistory','UniverDataValidation','ITransformService','UNAUTHENTICATED','PERMISSION_DENIED','currentVersion$','24px','error','div','querySelector','AddConditionalRuleMutation','currentSkeleton$','forwardRef','UniverIcon','_sheetSkeletonManagerService','Share','blocks','WorkbookRenameSheetPermission','MoveColsMutation','ViewFilter','INTERNAL_ERROR','Module','subType','78XPzvOJ','trim','Copy','Vector2','UNIVER_DOC','current','historyViewHeader','set','UpdateDataValidationMutation','assign','univer-version-item-header','value','forEach','xlink:href','SetRowStyle','getHours','EditExtraObject','DeleteRangeProtectionMutation','ISnapshotServerService','_createMask','UniverSheets','clsx','OnLifecycle','updatePermissionPoint','@univerjs/data-validation','get','cellValue','keys','8nVvYHp','LICENSE_EXPORT_SIZE_EXCEEDED','IRenderManagerService','createSheet','triggerLoadVersions','_messageService','editHistory.panel.title','unitId','FetchHTTPImplementation','string','CopySheet','_historyManagerService','SelectProtectedCells','exited','_initRender','_loadingState$','Init','UNIVER_UNKNOWN','MoveWorksheet','HISTORY_LIST_SERVER_URL','back-single','Loaded','useRef','100%','ViemRwHgtClWdt','/list?length=20','find','mutations','M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z','sheet','EditWorksheetCell','hidden','m-auto\x20animate-spin360','univer-version-date','Info','asObservable','hasOwnProperty','name','from','React','_getActiveSubUnitId','_fetching','_currentVersionDiff$','RenameWorksheet','@univerjs/sheets-ui','random','Tooltip','univer-history-view-header-revert','LICENSE_IMPORT_SIZE_EXCEEDED','Exited','SetConditionalRuleMutation','_workbookDataCache','registerRenderModule','1218305rnhAuH','@univerjs/ui','style','block','subUnitId','now','sheetId','prototype','Button','recoverTime','_revertRevision$','flex','debounce','loadingState$','symbol','MoveRowsMutation','ALREADY_EXISTS','ManageCollaborator','_maskContainer','primary','SetColumnStyle','1em','DeleteWorksheet','top','HistoryModeStatus','onMouseMove','/universer-api/history','_createUnit','users','_uiPartsService','m1Prime','evenodd','Steady','NOT_FOUND','length','versions$','editHistory.info.loading','open','toISOString','Fragment','YUUMI_SUBSCRIPTION_NOT_FOUND','SheetCollabCursorShape','AuthzIoHttpService','UniverSheetsUIPlugin','239440FhPlDW','UniverInstanceType','attrs','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','path','SheetSkeletonManagerService','UniverCollaborationClient','InsertRow','isTransformMutationsSuccess','none','setFrozen','loadMoreVersions','_injector','closeAll','params',':\x20(','getCurrentLocale','74074uqAJui','9969BdGrJF','_updateVersions','HideSheet','reduce','Delete','icon','findAllRectangle','_httpService','versionListPanelContent','getViewport','_transformService','getUnitOnRev','getRelativeToViewportCoord','setConfig','colorChannel1','parse','getCoordByCell','LICENSE_MAX_UNITS_EXCEEDED','_hasMore','SetCellValue','ComponentManager','displayName','IImageIoService','entries','history-mask','pluginName','includes','span','getOwnPropertyDescriptor','svg','dispose','_loadingMessage','rules','action','FloatImg','confirm','date','currentColor','_transformMutationByOrder','Injector','loading','revertSheet','status','zIndex','CreateSheet','HistoryManagerService','defs','AddDataValidationMutation','_snapshotServerService','userID','ViewHistory','InsertSheetMutation','getVersion','YUUMI_RATE_OVER_LIMIT','getDialogs$','ISidebarService','SetSheetsFilterRangeMutation','RemoveSheetMutation','endRow','@univerjs/engine-render','absolute','YUUMI_UNABLE_LOAD_URL','DisposableCollection','View','12kkYvqp'];_0x2c86=function(){return _0x31d6b3;};return _0x2c86();}function _0x3675(_0x24407e,_0x2e4c06){const _0x2c86ec=_0x2c86();return _0x3675=function(_0x367550,_0x509f){_0x367550=_0x367550-0xe9;let _0x52aae2=_0x2c86ec[_0x367550];return _0x52aae2;},_0x3675(_0x24407e,_0x2e4c06);}(function(_0x5f1c31,_0x2b2c4b){const _0x7de3e9=_0x3675,_0x5827a6=_0x5f1c31();while(!![]){try{const _0x54458c=-parseInt(_0x7de3e9(0x284))/0x1*(parseInt(_0x7de3e9(0x2d7))/0x2)+parseInt(_0x7de3e9(0x1cb))/0x3*(parseInt(_0x7de3e9(0x29f))/0x4)+-parseInt(_0x7de3e9(0x1b9))/0x5+parseInt(_0x7de3e9(0x13c))/0x6*(parseInt(_0x7de3e9(0x1ca))/0x7)+-parseInt(_0x7de3e9(0x158))/0x8*(-parseInt(_0x7de3e9(0x27f))/0x9)+-parseInt(_0x7de3e9(0x260))/0xa+-parseInt(_0x7de3e9(0x18d))/0xb*(parseInt(_0x7de3e9(0x20b))/0xc);if(_0x54458c===_0x2b2c4b)break;else _0x5827a6['push'](_0x5827a6['shift']());}catch(_0x478c41){_0x5827a6['push'](_0x5827a6['shift']());}}}(_0x2c86,0x2838d),function(_0x1ea4a1,_0x4e92dc){const _0x1ed3ac=_0x3675;typeof exports==_0x1ed3ac(0xee)&&typeof module<'u'?_0x4e92dc(exports,require(_0x1ed3ac(0x273)),require('@univerjs-pro/collaboration-client'),require(_0x1ed3ac(0x2ef)),require(_0x1ed3ac(0x18e)),require(_0x1ed3ac(0x206)),require(_0x1ed3ac(0x184)),require('@univerjs/drawing'),require(_0x1ed3ac(0x298)),require(_0x1ed3ac(0x25f)),require(_0x1ed3ac(0x22d)),require('@univerjs/sheets'),require(_0x1ed3ac(0x2e2)),require(_0x1ed3ac(0x154)),require(_0x1ed3ac(0x2cb)),require(_0x1ed3ac(0x278)),require(_0x1ed3ac(0x151))):typeof define==_0x1ed3ac(0x214)&&define['amd']?define([_0x1ed3ac(0x27b),_0x1ed3ac(0x273),'@univerjs-pro/collaboration-client',_0x1ed3ac(0x2ef),_0x1ed3ac(0x18e),_0x1ed3ac(0x206),_0x1ed3ac(0x184),'@univerjs/drawing',_0x1ed3ac(0x298),_0x1ed3ac(0x25f),_0x1ed3ac(0x22d),'@univerjs/sheets',_0x1ed3ac(0x2e2),_0x1ed3ac(0x154),_0x1ed3ac(0x2cb),'react','clsx'],_0x4e92dc):(_0x1ea4a1=typeof globalThis<'u'?globalThis:_0x1ea4a1||self,_0x4e92dc(_0x1ea4a1['UniverEditHistoryViewer']={},_0x1ea4a1['UniverCore'],_0x1ea4a1[_0x1ed3ac(0x1bf)],_0x1ea4a1['UniverNetwork'],_0x1ea4a1['UniverUi'],_0x1ea4a1['UniverEngineRender'],_0x1ea4a1[_0x1ed3ac(0x281)],_0x1ea4a1[_0x1ed3ac(0x116)],_0x1ea4a1[_0x1ed3ac(0x297)],_0x1ea4a1[_0x1ed3ac(0x25f)],_0x1ea4a1[_0x1ed3ac(0x112)],_0x1ea4a1[_0x1ed3ac(0x150)],_0x1ea4a1[_0x1ed3ac(0x103)],_0x1ea4a1[_0x1ed3ac(0x126)],_0x1ea4a1[_0x1ed3ac(0x294)],_0x1ea4a1[_0x1ed3ac(0x17f)],_0x1ea4a1[_0x1ed3ac(0x151)]));}(this,function(_0x2f8b75,_0x3bd68c,_0x4ef0ae,_0x55e4cf,_0xed5edc,_0x580b3d,_0x5991dd,_0x113e3c,_0x514835,_0x311b85,_0x5c85d1,_0x3e6093,_0x3ce115,_0x2a47b4,_0x12fc38,_0x428452,_0x3138e5){'use strict';const _0x53738a=_0x3675;var _0x2b2711=Object[_0x53738a(0x288)],_0x29f135=(_0x364234,_0x2ff3f5,_0x3009bf)=>_0x2ff3f5 in _0x364234?_0x2b2711(_0x364234,_0x2ff3f5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3009bf}):_0x364234[_0x2ff3f5]=_0x3009bf,_0x213de6=(_0x591403,_0x3c2884,_0x5d3dbd)=>_0x29f135(_0x591403,typeof _0x3c2884!=_0x53738a(0x19b)?_0x3c2884+'':_0x3c2884,_0x5d3dbd);const _0x1dd94f=(_0x5f5ae0,_0x599770)=>{const _0x550808=_0x53738a;if(!_0x5f5ae0)return{'date':'','time':''};const _0x415d37=new Date(_0x5f5ae0),_0x3d29ce=_0x415d37[_0x550808(0x1b3)]()['split']('T')[0x0];switch(_0x599770){case _0x3bd68c[_0x550808(0x227)][_0x550808(0x22f)]:return{'date':_0xb1ce92(_0x3d29ce,_0x599770),'time':_0x415d37[_0x550808(0x14b)]()+':'+String(_0x415d37[_0x550808(0x23f)]())[_0x550808(0x257)](0x2,'0')};default:return{'date':_0xb1ce92(_0x3d29ce,_0x599770),'time':_0x415d37['getHours']()+':'+_0x415d37[_0x550808(0x23f)]()};}},_0x5d8cfc=(_0x535f82,_0x23132a)=>{const _0x5b32e3=_0x53738a,_0x642362=_0x535f82['user']||_0x23132a['t'](_0x5b32e3(0x274));if(_0x535f82['commands'][_0x5b32e3(0x22b)](_0x643ae5=>_0x643ae5===_0x514835[_0x5b32e3(0x2cc)]['id'])&&_0x535f82[_0x5b32e3(0x196)]){const _0xf81d8=_0x1dd94f(_0x535f82[_0x5b32e3(0x196)],_0x23132a['getCurrentLocale']()),_0x4f2064=_0xf81d8[_0x5b32e3(0x1ef)]+'\x20'+_0xf81d8[_0x5b32e3(0x295)];return _0x642362+'\x20'+_0x23132a['t'](_0x5b32e3(0x2a7))+'\x20'+_0x4f2064+'\x20'+_0x23132a['t'](_0x5b32e3(0x115));}const _0xee9dd0=_0x3907b7(_0x535f82),_0x279c7a=_0xee9dd0[_0x5b32e3(0x1af)]===0x1?_0x23132a['t'](_0xee9dd0[0x0]):''+_0x23132a['t'](_0xee9dd0[0x0])+_0x23132a['t'](_0x5b32e3(0x224));return _0x642362+'\x20'+_0x279c7a;};function _0x3907b7(_0x4fc521){const _0x1cfa96=_0x53738a;if(_0x4fc521[_0x1cfa96(0x21f)][_0x1cfa96(0x1af)]===0x0)return[''];const _0x487c62=_0x1cfa96(0x263),_0x179fee=_0x487c62+_0x1cfa96(0x2de),_0x3ca2a8=[{'id':_0x514835[_0x1cfa96(0x2f9)]['id'],'action':_0x487c62+_0x1cfa96(0x15b)},{'id':_0x514835[_0x1cfa96(0x2cc)]['id'],'action':_0x487c62+_0x1cfa96(0x1f4)},{'id':_0x3e6093[_0x1cfa96(0x1fe)]['id'],'action':_0x487c62+_0x1cfa96(0x2db)},{'id':_0x3e6093['RemoveSheetMutation']['id'],'action':_0x487c62+_0x1cfa96(0xfe)},{'id':_0x3e6093['SetFrozenMutation']['id'],'action':_0x487c62+_0x1cfa96(0x1c3)},{'id':_0x3ce115[_0x1cfa96(0x203)]['id'],'action':_0x487c62+_0x1cfa96(0x254)},{'id':_0x2a47b4[_0x1cfa96(0x1fa)]['id'],'action':_0x487c62+'setDV'},{'id':_0x2a47b4[_0x1cfa96(0x144)]['id'],'action':_0x487c62+'setDV'},{'id':_0x12fc38[_0x1cfa96(0x18a)]['id'],'action':_0x487c62+'setCF'},{'id':_0x12fc38[_0x1cfa96(0x12f)]['id'],'action':_0x487c62+_0x1cfa96(0x305)},{'id':_0x3e6093['AddWorksheetProtectionMutation']['id'],'action':_0x487c62+'addProtection'},{'id':_0x3e6093['AddRangeProtectionMutation']['id'],'action':_0x487c62+_0x1cfa96(0x114)},{'id':_0x3e6093[_0x1cfa96(0x14d)]['id'],'action':_0x487c62+_0x1cfa96(0x2f7)},{'id':_0x3e6093[_0x1cfa96(0xec)]['id'],'action':_0x487c62+_0x1cfa96(0x2f7)}]['filter'](_0x1fa7e5=>_0x4fc521['commands'][_0x1cfa96(0x1e5)](_0x1fa7e5['id']));return _0x3ca2a8!=null&&_0x3ca2a8[_0x1cfa96(0x1af)]?_0x3ca2a8[_0x1cfa96(0x293)](_0x220d94=>_0x220d94[_0x1cfa96(0x1ec)]):[_0x179fee];}function _0xb1ce92(_0x45d998,_0x4fc992){const _0x28bd5f=_0x53738a,[_0x193e8b,_0x28990b,_0x5bae59]=new Date()[_0x28bd5f(0x1b3)]()[_0x28bd5f(0x11e)]('T')[0x0][_0x28bd5f(0x11e)]('-'),[_0x2b4b4b,_0x23bb32,_0x5ebfd9]=_0x45d998[_0x28bd5f(0x11e)]('-'),_0x5968b2=_0x193e8b===_0x2b4b4b&&_0x28990b===_0x23bb32&&_0x5bae59===_0x5ebfd9;let _0x33d19d='',_0x1f77a0='',_0x24c2df='';switch(_0x4fc992){case _0x3bd68c[_0x28bd5f(0x227)]['ZH_CN']:return _0x5968b2?'今天':(_0x33d19d=_0x193e8b===_0x2b4b4b?'':_0x2b4b4b+'年',_0x1f77a0=_0x23bb32+'月',_0x24c2df=_0x5ebfd9+'日',''+_0x33d19d+_0x1f77a0+_0x24c2df);default:return _0x5968b2?'Today':(_0x33d19d=_0x193e8b===_0x2b4b4b?'':_0x2b4b4b+'-',_0x1f77a0=_0x23bb32+'-',_0x24c2df=''+_0x5ebfd9,''+_0x33d19d+_0x1f77a0+_0x24c2df);}}function _0x34c3db(_0x241b60){const _0x3ab5a5=_0x53738a;return _0x241b60?_0x241b60[_0x3ab5a5(0x1ce)]((_0x4a901f,_0xaa7d3)=>{const _0x416585=_0x3ab5a5,_0x3c5b30=new Date(_0xaa7d3['time'])[_0x416585(0x1b3)]()['split']('T')[0x0];return _0x4a901f['length']>0x0&&_0x4a901f[_0x4a901f[_0x416585(0x1af)]-0x1][_0x416585(0x2a3)]===_0x3c5b30?_0x4a901f[_0x4a901f[_0x416585(0x1af)]-0x1][_0x416585(0x28a)][_0x416585(0x2ff)](_0xaa7d3):_0x4a901f[_0x416585(0x2ff)]({'dateString':_0x3c5b30,'versions':[_0xaa7d3]}),_0x4a901f;},[]):[];}var _0x81eb22=(_0x1bedc5=>(_0x1bedc5[_0x1bedc5['UNDEFINED']=0x0]='UNDEFINED',_0x1bedc5[_0x1bedc5['OK']=0x1]='OK',_0x1bedc5[_0x1bedc5['INTERNAL_ERROR']=0x2]=_0x53738a(0x139),_0x1bedc5[_0x1bedc5['PERMISSION_DENIED']=0x3]=_0x53738a(0x129),_0x1bedc5[_0x1bedc5[_0x53738a(0x1ae)]=0x4]='NOT_FOUND',_0x1bedc5[_0x1bedc5['UNAUTHENTICATED']=0x5]=_0x53738a(0x128),_0x1bedc5[_0x1bedc5[_0x53738a(0x19d)]=0x6]=_0x53738a(0x19d),_0x1bedc5[_0x1bedc5['INVALID_ARGUMENT']=0x7]=_0x53738a(0x2c7),_0x1bedc5[_0x1bedc5[_0x53738a(0x23b)]=0x8]=_0x53738a(0x23b),_0x1bedc5[_0x1bedc5[_0x53738a(0x2a2)]=0x9]='COMPLETION_FINISHED',_0x1bedc5[_0x1bedc5['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1bedc5[_0x1bedc5[_0x53738a(0x2b4)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x1bedc5[_0x1bedc5['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x53738a(0x100),_0x1bedc5[_0x1bedc5[_0x53738a(0x24f)]=0x1b59]='APPLY_REJECT',_0x1bedc5[_0x1bedc5[_0x53738a(0xf4)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x1bedc5[_0x1bedc5[_0x53738a(0x10e)]=0x1b5b]=_0x53738a(0x10e),_0x1bedc5[_0x1bedc5[_0x53738a(0xfa)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1bedc5[_0x1bedc5[_0x53738a(0x253)]=0x1f41]=_0x53738a(0x253),_0x1bedc5[_0x1bedc5[_0x53738a(0x1dc)]=0x2329]=_0x53738a(0x1dc),_0x1bedc5[_0x1bedc5['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x53738a(0x262),_0x1bedc5[_0x1bedc5[_0x53738a(0x188)]=0x232b]=_0x53738a(0x188),_0x1bedc5[_0x1bedc5[_0x53738a(0x159)]=0x232c]=_0x53738a(0x159),_0x1bedc5[_0x1bedc5[_0x53738a(0x2c6)]=0x232d]=_0x53738a(0x2c6),_0x1bedc5[_0x1bedc5['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x53738a(0x208),_0x1bedc5[_0x1bedc5[_0x53738a(0x2ba)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1bedc5[_0x1bedc5[_0x53738a(0x200)]=0x2713]=_0x53738a(0x200),_0x1bedc5[_0x1bedc5['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x53738a(0x1b5),_0x1bedc5[_0x1bedc5[_0x53738a(0x211)]=-0x1]=_0x53738a(0x211),_0x1bedc5))(_0x81eb22||{});function _0x11348a(_0x59f0bb){const _0x296d29=_0x53738a;return!!(_0x59f0bb&&_0x59f0bb['code']&&_0x59f0bb['code']!==_0x81eb22['OK']&&_0x59f0bb[_0x296d29(0x213)]!=='OK');}var _0x136ea1=(_0x51de59=>(_0x51de59[_0x51de59['UNIVER_UNKNOWN']=0x0]=_0x53738a(0x169),_0x51de59[_0x51de59[_0x53738a(0x140)]=0x1]=_0x53738a(0x140),_0x51de59[_0x51de59[_0x53738a(0xf7)]=0x2]='UNIVER_SHEET',_0x51de59[_0x51de59[_0x53738a(0x24b)]=0x3]=_0x53738a(0x24b),_0x51de59[_0x51de59['UNIVER_PROJECT']=0x4]=_0x53738a(0x2ca),_0x51de59[_0x51de59[_0x53738a(0x211)]=-0x1]='UNRECOGNIZED',_0x51de59))(_0x136ea1||{}),_0x4829df=(_0x241320=>(_0x241320[_0x241320[_0x53738a(0x20a)]=0x0]=_0x53738a(0x20a),_0x241320[_0x241320[_0x53738a(0x2c8)]=0x1]=_0x53738a(0x2c8),_0x241320[_0x241320[_0x53738a(0x19e)]=0x2]='ManageCollaborator',_0x241320[_0x241320[_0x53738a(0x2d9)]=0x3]=_0x53738a(0x2d9),_0x241320[_0x241320[_0x53738a(0x2bf)]=0x4]=_0x53738a(0x2bf),_0x241320[_0x241320['Comment']=0x5]=_0x53738a(0x256),_0x241320[_0x241320[_0x53738a(0x13e)]=0x6]=_0x53738a(0x13e),_0x241320[_0x241320[_0x53738a(0x134)]=0x7]=_0x53738a(0x134),_0x241320[_0x241320['Export']=0x8]=_0x53738a(0x2ab),_0x241320[_0x241320[_0x53738a(0x16a)]=0x9]=_0x53738a(0x16a),_0x241320[_0x241320[_0x53738a(0x1a3)]=0xa]=_0x53738a(0x1a3),_0x241320[_0x241320[_0x53738a(0x255)]=0xb]=_0x53738a(0x255),_0x241320[_0x241320['RenameWorksheet']=0xc]=_0x53738a(0x183),_0x241320[_0x241320[_0x53738a(0x2ad)]=0xd]='CreateWorksheet',_0x241320[_0x241320[_0x53738a(0x218)]=0xe]=_0x53738a(0x218),_0x241320[_0x241320[_0x53738a(0x176)]=0xf]='EditWorksheetCell',_0x241320[_0x241320[_0x53738a(0x29d)]=0x10]=_0x53738a(0x29d),_0x241320[_0x241320['Sort']=0x11]=_0x53738a(0x26d),_0x241320[_0x241320[_0x53738a(0x20e)]=0x12]='Filter',_0x241320[_0x241320[_0x53738a(0x264)]=0x13]=_0x53738a(0x264),_0x241320[_0x241320[_0x53738a(0x1ed)]=0x14]='FloatImg',_0x241320[_0x241320[_0x53738a(0x2a6)]=0x15]='History',_0x241320[_0x241320[_0x53738a(0x11a)]=0x16]=_0x53738a(0x11a),_0x241320[_0x241320[_0x53738a(0x170)]=0x17]='ViemRwHgtClWdt',_0x241320[_0x241320[_0x53738a(0x138)]=0x18]=_0x53738a(0x138),_0x241320[_0x241320[_0x53738a(0x2df)]=0x19]='MoveSheet',_0x241320[_0x241320[_0x53738a(0x2b3)]=0x1a]=_0x53738a(0x2b3),_0x241320[_0x241320['HideSheet']=0x1b]=_0x53738a(0x1cd),_0x241320[_0x241320[_0x53738a(0x162)]=0x1c]=_0x53738a(0x162),_0x241320[_0x241320['RenameSheet']=0x1d]='RenameSheet',_0x241320[_0x241320[_0x53738a(0x1f7)]=0x1e]=_0x53738a(0x1f7),_0x241320[_0x241320[_0x53738a(0x164)]=0x1f]=_0x53738a(0x164),_0x241320[_0x241320[_0x53738a(0x2b8)]=0x20]=_0x53738a(0x2b8),_0x241320[_0x241320[_0x53738a(0x2f5)]=0x21]='SetCellStyle',_0x241320[_0x241320[_0x53738a(0x1de)]=0x22]=_0x53738a(0x1de),_0x241320[_0x241320[_0x53738a(0x14a)]=0x23]=_0x53738a(0x14a),_0x241320[_0x241320[_0x53738a(0x1a1)]=0x24]=_0x53738a(0x1a1),_0x241320[_0x241320[_0x53738a(0x1c0)]=0x25]='InsertRow',_0x241320[_0x241320[_0x53738a(0x261)]=0x26]=_0x53738a(0x261),_0x241320[_0x241320['DeleteRow']=0x27]=_0x53738a(0x220),_0x241320[_0x241320[_0x53738a(0x2f4)]=0x28]=_0x53738a(0x2f4),_0x241320[_0x241320['EditExtraObject']=0x29]=_0x53738a(0x14c),_0x241320[_0x241320[_0x53738a(0x1cf)]=0x2a]='Delete',_0x241320[_0x241320['RecoverHistory']=0x2b]=_0x53738a(0x125),_0x241320[_0x241320['ViewHistory']=0x2c]=_0x53738a(0x1fd),_0x241320[_0x241320[_0x53738a(0x211)]=-0x1]=_0x53738a(0x211),_0x241320))(_0x4829df||{}),_0x1acc65=Object[_0x53738a(0x288)],_0x318837=Object['getOwnPropertyDescriptor'],_0x37a132=(_0x3564b3,_0x50195c,_0x140de3,_0x1ebf3)=>{const _0x156461=_0x53738a;for(var _0x1987f0=_0x1ebf3>0x1?void 0x0:_0x1ebf3?_0x318837(_0x50195c,_0x140de3):_0x50195c,_0x118eb7=_0x3564b3[_0x156461(0x1af)]-0x1,_0x43968b;_0x118eb7>=0x0;_0x118eb7--)(_0x43968b=_0x3564b3[_0x118eb7])&&(_0x1987f0=(_0x1ebf3?_0x43968b(_0x50195c,_0x140de3,_0x1987f0):_0x43968b(_0x1987f0))||_0x1987f0);return _0x1ebf3&&_0x1987f0&&_0x1acc65(_0x50195c,_0x140de3,_0x1987f0),_0x1987f0;},_0x317624=(_0x26effa,_0x70df8d)=>(_0x2f69d2,_0x442686)=>_0x70df8d(_0x2f69d2,_0x442686,_0x26effa);const _0xc3ff54=_0x53738a(0x16b),_0x3970af=_0x53738a(0x1a7);let _0x401289=class extends _0x3bd68c[_0x53738a(0x11f)]{constructor(_0x479c7c,_0x26df13,_0x2b7b7c,_0x2c37b5,_0x56f2ec,_0x363371){const _0x3f0526=_0x53738a;super(),_0x213de6(this,_0x3f0526(0x18b),new Map()),(this[_0x3f0526(0x1fb)]=_0x479c7c,this[_0x3f0526(0x2a5)]=_0x26df13,this[_0x3f0526(0x2a0)]=_0x2b7b7c,this[_0x3f0526(0x2c0)]=_0x2c37b5,this[_0x3f0526(0x1d2)]=_0x56f2ec,this[_0x3f0526(0x234)]=_0x363371);}[_0x53738a(0x1e9)](){const _0x4da100=_0x53738a;this[_0x4da100(0x18b)]['clear'](),super[_0x4da100(0x1e9)]();}async[_0x53738a(0x223)](_0x59ddc2,_0x562796){const _0x1f4643=_0x53738a,_0x513143=this[_0x1f4643(0x2bd)]()+'/'+_0x59ddc2+_0x1f4643(0x171)+(_0x562796?_0x1f4643(0x2d5)+_0x562796:'');try{const _0x2dc0db=(await this[_0x1f4643(0x1d2)][_0x1f4643(0x155)](_0x513143))['body'];if(_0x2dc0db&&_0x2dc0db[_0x1f4643(0x12c)]&&_0x2dc0db[_0x1f4643(0x12c)][_0x1f4643(0x213)]===_0x81eb22['OK']){const {hasMore:_0x21578e,lastLabel:_0x1612b3}=_0x2dc0db,_0x823668=_0x39f208(_0x2dc0db),_0x22ee27=_0x2dc0db['entities'][_0x1f4643(0x1a9)];return{'hasMore':_0x21578e,'lastLabel':_0x1612b3,'versions':_0x823668,'members':_0x22ee27};}}catch(_0x734ffb){console[_0x1f4643(0x12c)](_0x734ffb);}return null;}[_0x53738a(0x2bd)](){const _0x353295=_0x53738a;var _0x15efce;return(_0x15efce=this[_0x353295(0x2c0)]['getConfig'](_0xc3ff54))!=null?_0x15efce:_0x3970af;}async['loadSheet'](_0xb0f288,_0x14f963,_0x8b7f8d){const _0x1165fc=_0x53738a;var _0x3c477a,_0x5da72d;_0x8b7f8d===void 0x0&&(_0x8b7f8d={}),this[_0x1165fc(0x18b)]['has'](_0xb0f288)||this[_0x1165fc(0x18b)][_0x1165fc(0x143)](_0xb0f288,new Map());const {snapshot:_0x243bd3,changesets:_0xe851be,error:_0x3663d5}=await this[_0x1165fc(0x1fb)][_0x1165fc(0x1d6)](_0x8b7f8d,{'unitID':_0xb0f288,'type':_0x136ea1['UNIVER_SHEET'],'revision':_0x14f963});if(_0x11348a(_0x3663d5)||!_0x243bd3||!_0x243bd3[_0x1165fc(0x101)])throw new Error(_0x1165fc(0x110));const _0x403e9c=(_0x3c477a=_0xe851be==null?void 0x0:_0xe851be[_0x1165fc(0x1af)])!=null?_0x3c477a:0x0;if(_0x14f963!==0x0&&_0x243bd3[_0x1165fc(0x241)]+_0x403e9c!==_0x14f963)throw new Error(_0x1165fc(0x1bc));const {workbook:_0x28fcf7}=_0x243bd3,_0x2af2ed=_0x28fcf7[_0x1165fc(0x299)]?Object[_0x1165fc(0x1e2)](_0x28fcf7['blockMeta'])[_0x1165fc(0x293)](([_0x1adc64,_0x5ae3d7])=>{const _0x58ca24=_0x1165fc;var _0x1a20d1,_0x202891;return(_0x202891=(_0x1a20d1=_0x5ae3d7[_0x58ca24(0x135)])==null?void 0x0:_0x1a20d1[_0x58ca24(0x293)](_0x51386a=>_0x51386a))!=null?_0x202891:[];})[_0x1165fc(0x108)]():[],_0x704525=(await Promise[_0x1165fc(0x265)](_0x2af2ed[_0x1165fc(0x293)](_0x5c158d=>this[_0x1165fc(0x1fb)][_0x1165fc(0x117)](_0x8b7f8d,{'unitID':_0xb0f288,'type':_0x136ea1[_0x1165fc(0xf7)],'blockID':_0x5c158d})[_0x1165fc(0x270)](_0x2b5129=>_0x2b5129[_0x1165fc(0x190)]))))['filter'](_0xb7debd=>!!_0xb7debd),_0x460e00=_0x514835[_0x1165fc(0xf2)](_0x243bd3,_0x704525,_0x8b7f8d);return(_0x5da72d=this[_0x1165fc(0x18b)][_0x1165fc(0x155)](_0xb0f288))==null||_0x5da72d[_0x1165fc(0x143)](_0x14f963,{'workbook':_0x460e00}),new Promise(_0x14754f=>{const _0x4e3dec=_0x1165fc,_0x42335d=this[_0x4e3dec(0x2a5)]['getCurrentUnitForType'](_0x3bd68c[_0x4e3dec(0x1ba)][_0x4e3dec(0xf7)]);_0x42335d?(this['_univerInstanceService'][_0x4e3dec(0x29c)](_0x42335d[_0x4e3dec(0x2e6)]()),setTimeout(()=>{const _0x412459=_0x4e3dec;this[_0x412459(0x1a8)](_0x460e00,_0xe851be),_0x14754f(!0x0);},0x0)):(this[_0x4e3dec(0x1a8)](_0x460e00,_0xe851be),_0x14754f(!0x0));});}[_0x53738a(0x1a8)](_0x17050c,_0xc090){const _0x1cffa6=_0x53738a,_0x1a8ee3=this[_0x1cffa6(0x2a5)][_0x1cffa6(0x105)](_0x3bd68c[_0x1cffa6(0x1ba)][_0x1cffa6(0xf7)],_0x17050c);this[_0x1cffa6(0x2a5)]['focusUnit'](_0x1a8ee3[_0x1cffa6(0x2e6)]());const _0x4f65ed=this[_0x1cffa6(0x234)][_0x1cffa6(0x2bc)][_0x1cffa6(0x22a)](this[_0x1cffa6(0x234)][_0x1cffa6(0x2bc)]['getInterceptPoints']()[_0x1cffa6(0x2bb)]);return _0xc090==null||_0xc090[_0x1cffa6(0x148)](_0x1e1918=>{const _0x55a303=_0x1cffa6,_0x540c97=_0x1e1918[_0x55a303(0x173)][_0x55a303(0x293)](_0x2972a5=>({'id':_0x2972a5['id'],'params':JSON[_0x55a303(0x1da)](_0x2972a5[_0x55a303(0x27e)])}));({..._0x1e1918,'mutations':_0x4f65ed(_0x540c97,null)||_0x540c97}['mutations']['forEach'](_0x53f2a4=>{const _0x4a0eea=_0x55a303;this[_0x4a0eea(0x2a0)][_0x4a0eea(0x272)](_0x53f2a4['id'])&&this[_0x4a0eea(0x2a0)][_0x4a0eea(0x2f2)](_0x53f2a4['id'],_0x53f2a4[_0x4a0eea(0x1c7)]);}));}),_0x1a8ee3;}};_0x401289=_0x37a132([_0x317624(0x0,_0x514835[_0x53738a(0x14e)]),_0x317624(0x1,_0x3bd68c[_0x53738a(0x2d6)]),_0x317624(0x2,_0x3bd68c[_0x53738a(0x2cf)]),_0x317624(0x3,_0x3bd68c[_0x53738a(0x2e8)]),_0x317624(0x4,_0x3bd68c[_0x53738a(0x304)](_0x55e4cf[_0x53738a(0x20f)])),_0x317624(0x5,_0x3bd68c[_0x53738a(0x304)](_0x514835[_0x53738a(0x25c)]))],_0x401289);function _0x39f208(_0x551752){const _0x40ef38=_0x53738a;var _0xc3d3c9,_0x550ccb;const _0x565863=[],{entities:_0xd95311,historyIds:_0x16707}=_0x551752,{datas:_0x2254a3,users:_0x2dcc22}=_0xd95311;for(const _0x1cdf2a of _0x16707)if(_0x2254a3[_0x1cdf2a]){const _0x1bb14a=!!((_0xc3d3c9=_0x2dcc22[_0x2254a3[_0x1cdf2a][_0x40ef38(0x2ea)]])!=null&&_0xc3d3c9[_0x40ef38(0x244)]);_0x565863[_0x40ef38(0x2ff)]({'unitId':_0x2254a3[_0x1cdf2a][_0x40ef38(0x15f)],'user':_0x1bb14a?'':((_0x550ccb=_0x2dcc22==null?void 0x0:_0x2dcc22[_0x2254a3[_0x1cdf2a][_0x40ef38(0x2ea)]])==null?void 0x0:_0x550ccb[_0x40ef38(0x17d)])||'','isAnonymous':_0x1bb14a,'id':_0x1cdf2a,'time':_0x2254a3[_0x1cdf2a][_0x40ef38(0x2aa)]?Number(_0x2254a3[_0x1cdf2a][_0x40ef38(0x2aa)]):void 0x0,'commands':_0x2254a3[_0x1cdf2a]['command'],'startRev':Number(_0x2254a3[_0x1cdf2a][_0x40ef38(0x25e)]),'endRev':Number(_0x2254a3[_0x1cdf2a]['endRevision']),'recoverTime':_0x2254a3[_0x1cdf2a][_0x40ef38(0x196)]?Number(_0x2254a3[_0x1cdf2a]['recoverTime']):void 0x0});}return _0x565863;}var _0x4808d8=Object['defineProperty'],_0x45c141=Object[_0x53738a(0x1e7)],_0x30733d=(_0x436c4d,_0x2981e7,_0x26535b,_0x7d2c38)=>{const _0xb5aac9=_0x53738a;for(var _0x39c9a1=_0x7d2c38>0x1?void 0x0:_0x7d2c38?_0x45c141(_0x2981e7,_0x26535b):_0x2981e7,_0x12340c=_0x436c4d[_0xb5aac9(0x1af)]-0x1,_0x8977a4;_0x12340c>=0x0;_0x12340c--)(_0x8977a4=_0x436c4d[_0x12340c])&&(_0x39c9a1=(_0x7d2c38?_0x8977a4(_0x2981e7,_0x26535b,_0x39c9a1):_0x8977a4(_0x39c9a1))||_0x39c9a1);return _0x7d2c38&&_0x39c9a1&&_0x4808d8(_0x2981e7,_0x26535b,_0x39c9a1),_0x39c9a1;},_0x8a62fa=(_0x55e289,_0xd14824)=>(_0x1152a2,_0x16e1d6)=>_0xd14824(_0x1152a2,_0x16e1d6,_0x55e289),_0x232582=(_0x593d4d=>(_0x593d4d['Entered']=_0x53738a(0xff),_0x593d4d['Exited']=_0x53738a(0x165),_0x593d4d[_0x53738a(0x216)]=_0x53738a(0x12c),_0x593d4d))(_0x232582||{}),_0x2ae2fb=(_0x3b6500=>(_0x3b6500[_0x53738a(0x168)]=_0x53738a(0x2be),_0x3b6500['Loading']=_0x53738a(0x1f3),_0x3b6500[_0x53738a(0x16d)]=_0x53738a(0x10b),_0x3b6500))(_0x2ae2fb||{});const _0x1d216d=_0x53738a(0x20c);_0x2f8b75[_0x53738a(0x1f8)]=class extends _0x3bd68c['Disposable']{constructor(_0x53c110,_0x1ae51e,_0x29c937,_0x163751){const _0x3e2f16=_0x53738a;super(),_0x213de6(this,_0x3e2f16(0x235),new _0x311b85[(_0x3e2f16(0x258))]([])),_0x213de6(this,_0x3e2f16(0x1b0),this[_0x3e2f16(0x235)][_0x3e2f16(0x17b)]()),_0x213de6(this,_0x3e2f16(0x287),new _0x311b85[(_0x3e2f16(0x258))]('')),_0x213de6(this,'currentVersion$',this[_0x3e2f16(0x287)]['asObservable']()),_0x213de6(this,_0x3e2f16(0x24e),new _0x311b85[(_0x3e2f16(0x258))](_0x3e2f16(0xff))),_0x213de6(this,_0x3e2f16(0x2ae),this[_0x3e2f16(0x24e)][_0x3e2f16(0x17b)]()),_0x213de6(this,_0x3e2f16(0x197),new _0x311b85[(_0x3e2f16(0x258))](0x0)),_0x213de6(this,_0x3e2f16(0x107),this['_revertRevision$'][_0x3e2f16(0x17b)]()),_0x213de6(this,_0x3e2f16(0x2e7),new _0x311b85[(_0x3e2f16(0x258))]('')),_0x213de6(this,'unitId$',this[_0x3e2f16(0x2e7)][_0x3e2f16(0x17b)]()),_0x213de6(this,_0x3e2f16(0x181),!0x1),_0x213de6(this,_0x3e2f16(0x167),new _0x311b85[(_0x3e2f16(0x258))]('init')),_0x213de6(this,_0x3e2f16(0x19a),this[_0x3e2f16(0x167)]['asObservable']()),_0x213de6(this,_0x3e2f16(0x109),null),_0x213de6(this,_0x3e2f16(0x1dd),!0x0),_0x213de6(this,_0x3e2f16(0x2da),new Map()),_0x213de6(this,'_historyContainerId'),_0x213de6(this,_0x3e2f16(0x19f)),_0x213de6(this,'_maskElement'),_0x213de6(this,'_canRevert',!0x1),(this[_0x3e2f16(0x15d)]=_0x53c110,this[_0x3e2f16(0x306)]=_0x1ae51e,this[_0x3e2f16(0x225)]=_0x29c937,this[_0x3e2f16(0x2cd)]=_0x163751);}async[_0x53738a(0x15c)](_0x5f0d89,_0x3f9043,_0x566c20){const _0x835bd7=_0x53738a;this[_0x835bd7(0xea)]=_0x3f9043,this[_0x835bd7(0x2e0)]=_0x566c20,this[_0x835bd7(0x2e7)][_0x835bd7(0x246)](_0x5f0d89),this[_0x835bd7(0x181)]=!0x0;const _0x988bb2=await this[_0x835bd7(0x2cd)]['getVersions'](_0x5f0d89);if(this[_0x835bd7(0x181)]=!0x1,_0x988bb2){const {versions:_0x212c51,lastLabel:_0x266686,hasMore:_0x11908a,members:_0x3a056f}=_0x988bb2;_0x212c51[_0x835bd7(0x1af)]===0x0&&_0x212c51['push']({'unitId':_0x5f0d89,'id':_0x1d216d,'startRev':0x1,'endRev':0x0,'time':Date[_0x835bd7(0x192)](),'user':this['_localeService']['t'](_0x835bd7(0x29a)),'commands':[],'isAnonymous':!0x1}),this[_0x835bd7(0x1cc)](_0x212c51,_0x11908a,_0x266686,_0x3a056f),this[_0x835bd7(0x287)][_0x835bd7(0x246)](_0x212c51[0x0]['id']);}else this[_0x835bd7(0x24e)]['next'](_0x835bd7(0x12c));}async[_0x53738a(0x1c4)](){const _0x2be672=_0x53738a;if(!this[_0x2be672(0x109)]||!this['_hasMore']||this[_0x2be672(0x181)])return!0x1;this[_0x2be672(0x181)]=!0x0;const _0x3dfc40=await this[_0x2be672(0x2cd)][_0x2be672(0x223)](this['unitId'],this[_0x2be672(0x109)]);if(this[_0x2be672(0x181)]=!0x1,_0x3dfc40){const {versions:_0x373133,lastLabel:_0x525c34,hasMore:_0x4a87bf,members:_0x4a0345}=_0x3dfc40;this['_updateVersions'](_0x373133,_0x4a87bf,_0x525c34,_0x4a0345);}else this[_0x2be672(0x15d)][_0x2be672(0xf6)]({'content':this['_localeService']['t']('editHistory.panel.listFetchError'),'type':_0x5c85d1[_0x2be672(0x259)][_0x2be672(0x216)],'duration':0xbb8});return!0x0;}async['triggerLoadSheet'](_0x580846){const _0x271c18=_0x53738a;var _0x69c633;const _0x1f8fc3=(_0x69c633=this[_0x271c18(0x235)]['value'])==null?void 0x0:_0x69c633[_0x271c18(0x172)](_0x1a9434=>_0x1a9434['id']===_0x580846),{endRev:_0x56f82a}=_0x1f8fc3||{};_0x56f82a||_0x56f82a===0x0?(this[_0x271c18(0x167)][_0x271c18(0x246)]('loading'),await this['_historyFetchService'][_0x271c18(0x2b5)](this['unitId'],_0x56f82a),this[_0x271c18(0x167)]['next'](_0x271c18(0x10b))):this['_status$'][_0x271c18(0x246)](_0x271c18(0x12c));}async['triggerRevert'](_0x534108){const _0x35a6c8=_0x53738a,_0x4d20c3=_0x534108?this[_0x35a6c8(0x1ff)](_0x534108):this[_0x35a6c8(0x2c2)]();if(!_0x4d20c3)return;const _0x1566e9=_0x4d20c3['endRev'],_0x51ba56=_0x1dd94f(_0x4d20c3[_0x35a6c8(0x295)],this[_0x35a6c8(0x225)][_0x35a6c8(0x1c9)]());await this[_0x35a6c8(0x306)][_0x35a6c8(0x1ee)]({'id':'confirm-revert-revision','title':{'title':this['_localeService']['t'](_0x35a6c8(0x301))},'children':{'title':this[_0x35a6c8(0x225)]['t']('editHistory.panel.revertConfirmText')+_0x35a6c8(0x1c8)+_0x51ba56[_0x35a6c8(0x1ef)]+'\x20'+_0x51ba56[_0x35a6c8(0x295)]+')'}})&&this[_0x35a6c8(0x197)][_0x35a6c8(0x246)](_0x1566e9);}[_0x53738a(0x1cc)](_0x5899b7,_0x2a9552,_0x115e83,_0x1e7a3f){const _0x2fb866=_0x53738a;this[_0x2fb866(0x235)]['next'](this[_0x2fb866(0x235)]['value'][_0x2fb866(0x233)](_0x5899b7)),this['_hasMore']=_0x2a9552,this[_0x2fb866(0x109)]=_0x115e83,_0x1e7a3f&&Object[_0x2fb866(0x157)](_0x1e7a3f)[_0x2fb866(0x148)](_0x323a1f=>this['_members'][_0x2fb866(0x143)](_0x323a1f,_0x1e7a3f[_0x323a1f]));}[_0x53738a(0x2c2)](){const _0x23c8bc=_0x53738a;return this[_0x23c8bc(0x1ff)](this[_0x23c8bc(0x287)][_0x23c8bc(0x147)]);}[_0x53738a(0x1ff)](_0x260815){const _0x221fe2=_0x53738a;var _0x552847;return(_0x552847=this[_0x221fe2(0x235)][_0x221fe2(0x147)])==null?void 0x0:_0x552847['find'](_0x1d2b09=>_0x1d2b09['id']===_0x260815);}[_0x53738a(0x22c)](_0x105ef8){const _0x3d8fb1=_0x53738a;return this[_0x3d8fb1(0x2da)]['get'](_0x105ef8);}[_0x53738a(0x14f)](){const _0x50804d=_0x53738a;this[_0x50804d(0x28d)]=document[_0x50804d(0x25d)](_0x50804d(0x12d)),this[_0x50804d(0x28d)][_0x50804d(0x219)]=_0x50804d(0x1e3),this[_0x50804d(0x28d)]['style'][_0x50804d(0x118)]=_0x50804d(0x207),this[_0x50804d(0x28d)]['style'][_0x50804d(0x1a4)]='0',this[_0x50804d(0x28d)][_0x50804d(0x18f)][_0x50804d(0x2a8)]='0',this['_maskElement'][_0x50804d(0x18f)][_0x50804d(0x279)]='100%',this[_0x50804d(0x28d)][_0x50804d(0x18f)][_0x50804d(0x226)]=_0x50804d(0x16f),this[_0x50804d(0x28d)]['style'][_0x50804d(0x249)]=_0x50804d(0x113),this[_0x50804d(0x28d)]['style'][_0x50804d(0x119)]=_0x50804d(0x28f),this[_0x50804d(0x28d)][_0x50804d(0x18f)][_0x50804d(0x24d)]=_0x50804d(0x198),this[_0x50804d(0x28d)][_0x50804d(0x18f)]['justifyContent']=_0x50804d(0x2ac),this[_0x50804d(0x28d)][_0x50804d(0x18f)][_0x50804d(0x1f6)]=_0x50804d(0x245),this[_0x50804d(0x28d)][_0x50804d(0x18f)][_0x50804d(0x24d)]=_0x50804d(0x1c2),this[_0x50804d(0x19f)][_0x50804d(0x290)](this[_0x50804d(0x28d)]);}[_0x53738a(0x102)](){const _0xbde02=_0x53738a;var _0x1a1c29;const _0xd50f17=(_0x1a1c29=document[_0xbde02(0x307)](this['_historyContainerId']))==null?void 0x0:_0x1a1c29[_0xbde02(0x12e)]('.univer-app-container-content');_0xd50f17&&(this['_maskContainer']=_0xd50f17,this[_0xbde02(0x14f)]());}[_0x53738a(0x2b0)](){const _0xa7e08=_0x53738a;this[_0xa7e08(0x19f)]||this['_initMaskContainer'](),this[_0xa7e08(0x28d)]&&(this[_0xa7e08(0x28d)][_0xa7e08(0x18f)][_0xa7e08(0x24d)]=_0xa7e08(0x198));}[_0x53738a(0x251)](){const _0x148240=_0x53738a;this['_maskElement']&&(this[_0x148240(0x28d)][_0x148240(0x18f)][_0x148240(0x24d)]=_0x148240(0x1c2));}set[_0x53738a(0x1f5)](_0x3cc19c){this['_status$']['next'](_0x3cc19c);}set[_0x53738a(0x236)](_0x1dd502){const _0x58ba63=_0x53738a;_0x1dd502!==this[_0x58ba63(0x287)][_0x58ba63(0x147)]&&this[_0x58ba63(0x287)]['next'](_0x1dd502);}get[_0x53738a(0x236)](){const _0x48cd1e=_0x53738a;return this['_currentVersion$'][_0x48cd1e(0x147)];}set[_0x53738a(0x15f)](_0x49bdf7){const _0x26fec1=_0x53738a;this[_0x26fec1(0x2e7)][_0x26fec1(0x246)](_0x49bdf7);}get['unitId'](){const _0x1b1a68=_0x53738a;return this[_0x1b1a68(0x2e7)]['value'];}get[_0x53738a(0xf9)](){const _0xd92276=_0x53738a;return this[_0xd92276(0x2e0)];}get[_0x53738a(0x222)](){const _0x421bd3=_0x53738a;return this[_0x421bd3(0x167)][_0x421bd3(0x147)];}},_0x2f8b75[_0x53738a(0x1f8)]=_0x30733d([_0x8a62fa(0x0,_0xed5edc[_0x53738a(0xe9)]),_0x8a62fa(0x1,_0xed5edc['IConfirmService']),_0x8a62fa(0x2,_0x3bd68c[_0x53738a(0x304)](_0x3bd68c['LocaleService'])),_0x8a62fa(0x3,_0x3bd68c[_0x53738a(0x304)](_0x401289))],_0x2f8b75[_0x53738a(0x1f8)]);var _0x2f277a=function(){const _0x171139=_0x53738a;return _0x2f277a=Object[_0x171139(0x145)]||function(_0x1f1c4a){const _0x59d8a9=_0x171139;for(var _0x2c13a6,_0x2f692f=0x1,_0x53a17c=arguments[_0x59d8a9(0x1af)];_0x2f692f<_0x53a17c;_0x2f692f++){_0x2c13a6=arguments[_0x2f692f];for(var _0xb58bd9 in _0x2c13a6)Object['prototype'][_0x59d8a9(0x17c)][_0x59d8a9(0x276)](_0x2c13a6,_0xb58bd9)&&(_0x1f1c4a[_0xb58bd9]=_0x2c13a6[_0xb58bd9]);}return _0x1f1c4a;},_0x2f277a[_0x171139(0x2b7)](this,arguments);},_0xea6b18=function(_0x1a1a90,_0x53275a){const _0x1c7582=_0x53738a;var _0x8eabe3={};for(var _0x39f1f3 in _0x1a1a90)Object[_0x1c7582(0x194)][_0x1c7582(0x17c)][_0x1c7582(0x276)](_0x1a1a90,_0x39f1f3)&&_0x53275a['indexOf'](_0x39f1f3)<0x0&&(_0x8eabe3[_0x39f1f3]=_0x1a1a90[_0x39f1f3]);if(_0x1a1a90!=null&&typeof Object[_0x1c7582(0x124)]==_0x1c7582(0x214)){for(var _0x1a28e7=0x0,_0x39f1f3=Object[_0x1c7582(0x124)](_0x1a1a90);_0x1a28e7<_0x39f1f3[_0x1c7582(0x1af)];_0x1a28e7++)_0x53275a[_0x1c7582(0x2af)](_0x39f1f3[_0x1a28e7])<0x0&&Object['prototype'][_0x1c7582(0x28e)][_0x1c7582(0x276)](_0x1a1a90,_0x39f1f3[_0x1a28e7])&&(_0x8eabe3[_0x39f1f3[_0x1a28e7]]=_0x1a1a90[_0x39f1f3[_0x1a28e7]]);}return _0x8eabe3;},_0xf8067e=_0x428452[_0x53738a(0x131)](function(_0x2addf8,_0xc8229d){const _0x474310=_0x53738a;var _0x40efad=_0x2addf8[_0x474310(0x1d0)],_0x22d395=_0x2addf8['id'],_0x70bcea=_0x2addf8[_0x474310(0x219)],_0x297f35=_0x2addf8['extend'],_0x26fbee=_0xea6b18(_0x2addf8,[_0x474310(0x1d0),'id',_0x474310(0x219),_0x474310(0x29b)]),_0x2205fe=_0x474310(0x2f3)[_0x474310(0x233)](_0x22d395,'\x20')['concat'](_0x70bcea||'')[_0x474310(0x13d)](),_0x5e870f=_0x428452[_0x474310(0x16e)]('_'[_0x474310(0x233)](_0x11c228()));return _0x81801e(_0x40efad,''[_0x474310(0x233)](_0x22d395),{'defIds':_0x40efad[_0x474310(0x2fa)],'idSuffix':_0x5e870f[_0x474310(0x141)]},_0x2f277a({'ref':_0xc8229d,'className':_0x2205fe},_0x26fbee),_0x297f35);});function _0x81801e(_0x2f511f,_0x1b54d9,_0x36c04a,_0x11a678,_0x43bf57){const _0x7e5671=_0x53738a;return _0x428452[_0x7e5671(0x25d)](_0x2f511f[_0x7e5671(0x120)],_0x2f277a(_0x2f277a({'key':_0x1b54d9},_0x32ec5e(_0x2f511f,_0x36c04a,_0x43bf57)),_0x11a678),(_0x409a6f(_0x2f511f,_0x36c04a)['children']||[])[_0x7e5671(0x293)](function(_0x31b7b3,_0x2b14b3){const _0x41d530=_0x7e5671;return _0x81801e(_0x31b7b3,''[_0x41d530(0x233)](_0x1b54d9,'-')[_0x41d530(0x233)](_0x2f511f['tag'],'-')[_0x41d530(0x233)](_0x2b14b3),_0x36c04a,void 0x0,_0x43bf57);}));}function _0x32ec5e(_0x47419d,_0x3ef6e7,_0x3d6122){const _0x209d14=_0x53738a;var _0x768e01=_0x2f277a({},_0x47419d[_0x209d14(0x1bb)]);_0x3d6122!=null&&_0x3d6122[_0x209d14(0x1d9)]&&_0x768e01[_0x209d14(0x250)]===_0x209d14(0x1d9)&&(_0x768e01[_0x209d14(0x250)]=_0x3d6122[_0x209d14(0x1d9)]);var _0x508fe5=_0x3ef6e7[_0x209d14(0x2fa)];return!_0x508fe5||_0x508fe5[_0x209d14(0x1af)]===0x0||(_0x47419d[_0x209d14(0x120)]==='use'&&_0x768e01[_0x209d14(0x149)]&&(_0x768e01[_0x209d14(0x149)]=_0x768e01[_0x209d14(0x149)]+_0x3ef6e7[_0x209d14(0x11c)]),Object[_0x209d14(0x1e2)](_0x768e01)[_0x209d14(0x148)](function(_0x3fddcc){const _0xf347bb=_0x209d14;var _0x120223=_0x3fddcc[0x0],_0x2b3896=_0x3fddcc[0x1];typeof _0x2b3896==_0xf347bb(0x161)&&(_0x768e01[_0x120223]=_0x2b3896[_0xf347bb(0x2fc)](/url\(#(.*)\)/,'url(#$1'[_0xf347bb(0x233)](_0x3ef6e7[_0xf347bb(0x11c)],')')));})),_0x768e01;}function _0x409a6f(_0x44b57d,_0x228f0f){const _0x6efed=_0x53738a;var _0x13730,_0x436273=_0x228f0f[_0x6efed(0x2fa)];return!_0x436273||_0x436273[_0x6efed(0x1af)]===0x0?_0x44b57d:_0x44b57d[_0x6efed(0x120)]===_0x6efed(0x1f9)&&(!((_0x13730=_0x44b57d[_0x6efed(0x28c)])===null||_0x13730===void 0x0)&&_0x13730[_0x6efed(0x1af)])?_0x2f277a(_0x2f277a({},_0x44b57d),{'children':_0x44b57d[_0x6efed(0x28c)]['map'](function(_0x59f726){const _0xd98185=_0x6efed;return typeof _0x59f726['attrs']['id']=='string'&&_0x436273&&_0x436273['indexOf'](_0x59f726[_0xd98185(0x1bb)]['id'])>-0x1?_0x2f277a(_0x2f277a({},_0x59f726),{'attrs':_0x2f277a(_0x2f277a({},_0x59f726[_0xd98185(0x1bb)]),{'id':_0x59f726[_0xd98185(0x1bb)]['id']+_0x228f0f[_0xd98185(0x11c)]})}):_0x59f726;})}):_0x44b57d;}function _0x11c228(){const _0x1a8ea6=_0x53738a;return Math[_0x1a8ea6(0x185)]()[_0x1a8ea6(0xf3)](0x24)[_0x1a8ea6(0x21c)](0x2,0x8);}_0xf8067e[_0x53738a(0x1e0)]=_0x53738a(0x132);var _0x56fe58={'tag':_0x53738a(0x1e8),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x53738a(0x1a2),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x53738a(0x174)}}]},_0x20507b=_0x428452['forwardRef'](function(_0xcec4a1,_0x265690){const _0x5e92cf=_0x53738a;return _0x428452['createElement'](_0xf8067e,Object[_0x5e92cf(0x145)]({},_0xcec4a1,{'id':_0x5e92cf(0x16c),'ref':_0x265690,'icon':_0x56fe58}));});_0x20507b[_0x53738a(0x1e0)]='BackSingle';var _0x3b7165={'tag':_0x53738a(0x1e8),'attrs':{'fill':_0x53738a(0x1c2),'viewBox':_0x53738a(0x2fd),'width':_0x53738a(0x1a2),'height':_0x53738a(0x1a2)},'children':[{'tag':_0x53738a(0x1bd),'attrs':{'fill':_0x53738a(0x1d9),'d':'M8.00695\x2014.9998C8.00461\x2014.9999\x208.00227\x2014.9999\x207.99993\x2014.9999C4.13397\x2014.9999\x201\x2011.8659\x201\x207.99995C1\x204.13624\x204.13035\x201.00365\x207.99321\x201.00003C7.9955\x201.00001\x207.99779\x201\x208.00008\x201C11.866\x201\x2015\x204.13397\x2015\x207.99993C15\x2011.8636\x2011.8697\x2014.9961\x208.00695\x2014.9998ZM13.3569\x208.01503C13.3568\x208.01001\x2013.3568\x208.00499\x2013.3568\x207.99995C13.3568\x205.04144\x2010.9584\x202.64309\x207.99993\x202.64309C5.04645\x202.64309\x202.65123\x205.03327\x202.64308\x207.98484C2.64317\x207.98986\x202.64322\x207.99489\x202.64322\x207.99993C2.64322\x2010.9584\x205.04157\x2013.3568\x208.00008\x2013.3568C10.9536\x2013.3568\x2013.3488\x2010.9666\x2013.3569\x208.01503Z','fillRule':_0x53738a(0x1ac),'clipRule':'evenodd'}},{'tag':_0x53738a(0x1bd),'attrs':{'fill':_0x53738a(0x1f0),'d':_0x53738a(0x104),'fillRule':_0x53738a(0x1ac),'clipRule':_0x53738a(0x1ac)}}]},_0x42cb1b=_0x428452[_0x53738a(0x131)](function(_0x4d3d17,_0x1333d9){const _0x44887f=_0x53738a;return _0x428452[_0x44887f(0x25d)](_0xf8067e,Object['assign']({},_0x4d3d17,{'id':_0x44887f(0x1f3),'ref':_0x1333d9,'icon':_0x3b7165}));});_0x42cb1b[_0x53738a(0x1e0)]=_0x53738a(0x2f6);var _0x5f2c9d={'tag':_0x53738a(0x1e8),'attrs':{'fill':_0x53738a(0x1c2),'viewBox':'0\x200\x2016\x2017','width':_0x53738a(0x1a2),'height':_0x53738a(0x1a2)},'children':[{'tag':'g','attrs':{'fill':_0x53738a(0x1f0),'clipPath':_0x53738a(0x2fe)},'children':[{'tag':_0x53738a(0x1bd),'attrs':{'d':'M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z'}},{'tag':_0x53738a(0x1bd),'attrs':{'d':_0x53738a(0x212),'fillRule':'evenodd','clipRule':_0x53738a(0x1ac)}}]},{'tag':_0x53738a(0x1f9),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'restore-single_clip0_1247_2'},'children':[{'tag':_0x53738a(0x275),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x53738a(0x2eb),'rx':0x4}}]}]}],'defIds':[_0x53738a(0x2ec)]},_0x5cb47a=_0x428452[_0x53738a(0x131)](function(_0x694252,_0xde74bd){const _0x4b0a00=_0x53738a;return _0x428452['createElement'](_0xf8067e,Object['assign']({},_0x694252,{'id':_0x4b0a00(0x2e4),'ref':_0xde74bd,'icon':_0x5f2c9d}));});_0x5cb47a['displayName']=_0x53738a(0x10f);const _0x2565d7={'versionListPanel':_0x53738a(0x2e1),'versionListPanelContent':_0x53738a(0x239),'versionDate':_0x53738a(0x179),'versionItem':'univer-version-item','versionItemHeader':_0x53738a(0x146),'versionItemHeaderExpand':'univer-version-item-header-expand','versionItemHeaderTime':_0x53738a(0x231),'versionItemHeaderTimeTag':_0x53738a(0x242),'versionItemHeaderRevert':_0x53738a(0xeb),'versionItemContent':_0x53738a(0x28b),'active':_0x53738a(0x23c),'historyViewHeader':'univer-history-view-header','historyViewHeaderBack':'univer-history-view-header-back','historyViewHeaderBackText':'univer-history-view-header-back-text','historyViewHeaderRevert':_0x53738a(0x187),'versionListLoading':'univer-version-list-loading','versionListLoadingIcon':_0x53738a(0x2c3),'loadingSpin':'univer-loading-spin'};function _0x33800f(){const _0x1325f3=_0x53738a,_0x54faf9=_0x3bd68c[_0x1325f3(0x25b)](_0x2f8b75['HistoryManagerService']),_0x147c15=_0xed5edc['useObservable'](_0x54faf9['versions$']),[_0x2d8f35,_0x2d2184]=_0x428452[_0x1325f3(0x210)](!0x1),_0x1dde8b=_0x34c3db(_0x147c15);return _0x147c15?_0x428452[_0x1325f3(0x25d)](_0x1325f3(0x12d),{'className':_0x2565d7['versionListPanel']},_0x428452[_0x1325f3(0x25d)](_0x1325f3(0x12d),{'className':_0x2565d7[_0x1325f3(0x1d3)]},_0x1dde8b[_0x1325f3(0x293)]((_0xe2ceae,_0x51e21b)=>_0x428452['createElement'](_0x428452[_0x1325f3(0x1b4)],{'key':_0xe2ceae['dateString']},_0x428452[_0x1325f3(0x25d)](_0xb3bcb3,{'date':_0xe2ceae['dateString']}),_0xe2ceae[_0x1325f3(0x28a)][_0x1325f3(0x293)]((_0x20db9d,_0x51eccb)=>_0x428452[_0x1325f3(0x25d)](_0x2f6b9f,{'key':_0x51e21b+'-'+_0x51eccb,'index':[_0x51e21b,_0x51eccb],'item':_0x20db9d})))),_0x2d8f35&&_0x428452['createElement'](_0x412bbc,null))):_0x428452['createElement'](_0x116795,null);}function _0x412bbc(){const _0x1ff2cd=_0x53738a;return _0x428452[_0x1ff2cd(0x25d)](_0x1ff2cd(0x12d),{'className':_0x2565d7[_0x1ff2cd(0x10d)]},_0x428452['createElement'](_0x42cb1b,{'className':_0x2565d7[_0x1ff2cd(0x2dc)]}));}function _0x116795(){const _0x25dd3e=_0x53738a;return _0x428452[_0x25dd3e(0x25d)](_0x25dd3e(0x12d),{'className':_0x3138e5(_0x2565d7['empty'],'flex\x20items-center\x20justify-center')},_0x428452[_0x25dd3e(0x25d)](_0x25dd3e(0x1e6),{'className':_0x3138e5(_0x2565d7['emptyText'],'text-gray-500')},_0x428452['createElement'](_0x42cb1b,{'className':_0x25dd3e(0x178)})));}function _0xb3bcb3(_0x24ab40){const _0x45f813=_0x53738a,_0x3c6869=_0x3bd68c[_0x45f813(0x25b)](_0x3bd68c['LocaleService']),{date:_0x16f903}=_0x24ab40;return _0x428452[_0x45f813(0x25d)](_0x45f813(0x12d),{'className':_0x2565d7['versionDate']},_0xb1ce92(_0x16f903,_0x3c6869['getCurrentLocale']()));}function _0x2f6b9f(_0x55740b){const _0x108c48=_0x53738a,{item:_0x52b475,index:_0x2b1f3f}=_0x55740b,{time:_0x24be0f,user:_0x164af3}=_0x52b475,[_0x44c455,_0x3ad1d2]=_0x2b1f3f,_0x5e5d33=_0x3bd68c[_0x108c48(0x25b)](_0x2f8b75[_0x108c48(0x1f8)]),_0x2a20c5=_0xed5edc[_0x108c48(0x289)](_0x5e5d33[_0x108c48(0x12a)],'',!0x0)===_0x52b475['id'],_0x3fccb7=_0x44c455===0x0&&_0x3ad1d2===0x0,_0x8f1209=!_0x3fccb7&&_0x5e5d33['canRevert'],_0x15f1da=_0x3bd68c[_0x108c48(0x25b)](_0x3bd68c['LocaleService']),_0x19c33c=_0x15f1da['getCurrentLocale'](),_0x24c497=_0x1dd94f(_0x24be0f,_0x19c33c),_0x18203c=_0x15f1da['t'](_0x108c48(0xf0)),_0x3e8953=_0x428452[_0x108c48(0x2d3)](_0x5f4711=>{const _0x3a9537=_0x108c48;_0x5e5d33[_0x3a9537(0x222)]!==_0x2ae2fb[_0x3a9537(0x2f6)]&&(_0x5e5d33[_0x3a9537(0x236)]=_0x5f4711);},[_0x5e5d33]),_0x418bfd=_0x428452[_0x108c48(0x2d3)](_0x4b958d=>{const _0x22565c=_0x108c48;_0x5e5d33[_0x22565c(0x22e)](_0x4b958d);},[_0x5e5d33]);return _0x428452[_0x108c48(0x25d)](_0x108c48(0x12d),{'className':_0x3138e5(_0x2565d7[_0x108c48(0x27a)],{[_0x2565d7['active']]:_0x2a20c5}),'onClick':()=>_0x3e8953(_0x52b475['id'])},_0x428452[_0x108c48(0x25d)](_0x108c48(0x12d),{'className':_0x2565d7[_0x108c48(0x26a)]},_0x428452[_0x108c48(0x25d)]('div',{'className':_0x2565d7['versionItemHeaderExpand']}),_0x428452['createElement'](_0x108c48(0x12d),{'className':_0x2565d7[_0x108c48(0x269)]},_0x428452['createElement'](_0x108c48(0x1e6),null,_0x24c497[_0x108c48(0x295)]),_0x3fccb7&&_0x428452[_0x108c48(0x25d)]('span',{'className':_0x2565d7[_0x108c48(0x27c)]},_0x18203c)),_0x428452[_0x108c48(0x25d)](_0x108c48(0x12d),null,_0x8f1209&&_0x428452['createElement'](_0x5c85d1[_0x108c48(0x186)],{'title':_0x15f1da['t'](_0x108c48(0x106))},_0x428452[_0x108c48(0x25d)](_0x108c48(0x12d),{'onClick':_0x44431a=>{_0x44431a['stopPropagation'](),_0x418bfd(_0x52b475['id']);},'className':_0x2565d7[_0x108c48(0x23a)]},_0x428452['createElement'](_0x5cb47a,null))))),_0x428452[_0x108c48(0x25d)](_0x108c48(0x12d),{'className':_0x2565d7['versionItemContent']},_0x5d8cfc(_0x52b475,_0x15f1da)));}var _0x366488=Object[_0x53738a(0x288)],_0xfc203a=Object[_0x53738a(0x1e7)],_0x4fbf69=(_0x3b229e,_0x5659eb,_0x5a2f8d,_0x240c2b)=>{const _0x54d9b8=_0x53738a;for(var _0x3b9fde=_0x240c2b>0x1?void 0x0:_0x240c2b?_0xfc203a(_0x5659eb,_0x5a2f8d):_0x5659eb,_0x2ba9f5=_0x3b229e[_0x54d9b8(0x1af)]-0x1,_0x8935fe;_0x2ba9f5>=0x0;_0x2ba9f5--)(_0x8935fe=_0x3b229e[_0x2ba9f5])&&(_0x3b9fde=(_0x240c2b?_0x8935fe(_0x5659eb,_0x5a2f8d,_0x3b9fde):_0x8935fe(_0x3b9fde))||_0x3b9fde);return _0x240c2b&&_0x3b9fde&&_0x366488(_0x5659eb,_0x5a2f8d,_0x3b9fde),_0x3b9fde;},_0x601417=(_0x409fea,_0x2d6d04)=>(_0x40859d,_0x32e1fd)=>_0x2d6d04(_0x40859d,_0x32e1fd,_0x409fea);const _0x59cdd7='history-panel';let _0x1a52f4=class extends _0x3bd68c[_0x53738a(0x11f)]{constructor(_0x549956,_0x5b43ad,_0x2c028a,_0x50c429){const _0x4f612b=_0x53738a;super(),_0x213de6(this,_0x4f612b(0xf8),null),(this['_sidebarService']=_0x549956,this[_0x4f612b(0x232)]=_0x5b43ad,this[_0x4f612b(0x225)]=_0x2c028a,this[_0x4f612b(0x163)]=_0x50c429,this['_init']());}[_0x53738a(0x2f0)](){const _0x2872ba=_0x53738a;this[_0x2872ba(0x21a)](),this['_openPanel']();}['_openPanel'](){const _0x4ca345=_0x53738a;if(this[_0x4ca345(0xf8)])return;const _0x4bd35d={'header':{'title':this[_0x4ca345(0x225)]['t'](_0x4ca345(0x15e))},'children':{'label':_0x59cdd7},'onClose':()=>{const _0x46ed48=_0x4ca345;this[_0x46ed48(0xf8)]=null,this[_0x46ed48(0x163)][_0x46ed48(0x1f5)]=_0x232582['Exited'];}};this[_0x4ca345(0xf8)]=this[_0x4ca345(0x21b)][_0x4ca345(0x1b2)]({..._0x4bd35d});}[_0x53738a(0x21a)](){const _0x2e11a4=_0x53738a;this['disposeWithMe'](this[_0x2e11a4(0x232)][_0x2e11a4(0x221)](_0x59cdd7,_0x33800f)),this[_0x2e11a4(0x266)](this[_0x2e11a4(0x21b)][_0x2e11a4(0x237)]['pipe'](_0x311b85['debounceTime'](0x64))[_0x2e11a4(0x2ed)](_0x4459c9=>{const _0x23b91e=_0x2e11a4,{target:_0x1cb15c}=_0x4459c9||{};if(_0x1cb15c){const {scrollTop:_0x1f0b18,scrollHeight:_0x16332c,clientHeight:_0x46f19f}=_0x1cb15c;_0x1f0b18+_0x46f19f>=_0x16332c-0x5&&this[_0x23b91e(0x163)]['loadMoreVersions']();}}));}};_0x1a52f4=_0x4fbf69([_0x3bd68c['OnLifecycle'](_0x3bd68c['LifecycleStages'][_0x53738a(0x252)],_0x1a52f4),_0x601417(0x0,_0xed5edc[_0x53738a(0x202)]),_0x601417(0x1,_0x3bd68c[_0x53738a(0x304)](_0xed5edc[_0x53738a(0x1df)])),_0x601417(0x2,_0x3bd68c[_0x53738a(0x304)](_0x3bd68c[_0x53738a(0x282)])),_0x601417(0x3,_0x3bd68c[_0x53738a(0x304)](_0x2f8b75[_0x53738a(0x1f8)]))],_0x1a52f4);function _0x4484bb(){const _0x11d112=_0x53738a,_0x8b6ac0=_0x3bd68c[_0x11d112(0x25b)](_0x2f8b75[_0x11d112(0x1f8)]),_0x388c95=_0x3bd68c[_0x11d112(0x25b)](_0x3bd68c[_0x11d112(0x282)]),_0x41dba1=_0x428452[_0x11d112(0x2d3)](()=>{const _0x573e7c=_0x11d112;_0x8b6ac0['status']=_0x232582[_0x573e7c(0x189)];},[_0x8b6ac0]),_0x21418b=_0x428452['useCallback'](()=>{const _0x2131d6=_0x11d112;_0x8b6ac0[_0x2131d6(0x22e)]();},[_0x8b6ac0]),_0x9f7c57=_0xed5edc[_0x11d112(0x289)](_0x8b6ac0[_0x11d112(0x12a)]),_0x57d021=_0xed5edc[_0x11d112(0x289)](_0x8b6ac0[_0x11d112(0x1b0)]),_0x206b8a=!(_0x9f7c57===(_0x57d021==null?void 0x0:_0x57d021[0x0]['id']))&&_0x8b6ac0[_0x11d112(0xf9)];return _0x428452[_0x11d112(0x25d)](_0x11d112(0x12d),{'className':_0x2565d7[_0x11d112(0x142)]},_0x428452[_0x11d112(0x25d)](_0x11d112(0x12d),{'onClick':_0x41dba1,'className':_0x2565d7['historyViewHeaderBack']},_0x428452[_0x11d112(0x25d)](_0x20507b,{'style':{'fontSize':_0x11d112(0x12b)}})),_0x428452[_0x11d112(0x25d)](_0x11d112(0x12d),{'className':_0x2565d7[_0x11d112(0x243)]},_0x206b8a&&_0x428452[_0x11d112(0x25d)](_0x5c85d1[_0x11d112(0x195)],{'type':_0x11d112(0x1a0),'onClick':_0x21418b},_0x388c95['t']('editHistory.header.revert'))));}var _0x89e345=Object[_0x53738a(0x288)],_0x4d17ed=Object[_0x53738a(0x1e7)],_0xa1085e=(_0x532154,_0xa80097,_0x45a125,_0x3158a8)=>{const _0x5c3b13=_0x53738a;for(var _0x911cf8=_0x3158a8>0x1?void 0x0:_0x3158a8?_0x4d17ed(_0xa80097,_0x45a125):_0xa80097,_0x25924f=_0x532154[_0x5c3b13(0x1af)]-0x1,_0x180ce7;_0x25924f>=0x0;_0x25924f--)(_0x180ce7=_0x532154[_0x25924f])&&(_0x911cf8=(_0x3158a8?_0x180ce7(_0xa80097,_0x45a125,_0x911cf8):_0x180ce7(_0x911cf8))||_0x911cf8);return _0x3158a8&&_0x911cf8&&_0x89e345(_0xa80097,_0x45a125,_0x911cf8),_0x911cf8;},_0x2bbe67=(_0x2c74bf,_0xf7eafd)=>(_0x30119a,_0x1a5de9)=>_0xf7eafd(_0x30119a,_0x1a5de9,_0x2c74bf);let _0x39ee36=class extends _0x3bd68c[_0x53738a(0x11f)]{constructor(_0x20f1ad,_0x4ee7f5,_0x22ff6d,_0x45b712,_0x34c93f,_0x57387e){const _0x3985b3=_0x53738a;super(),_0x213de6(this,_0x3985b3(0x1ea)),(this['_permissionService']=_0x20f1ad,this[_0x3985b3(0x1aa)]=_0x4ee7f5,this['_messageService']=_0x22ff6d,this[_0x3985b3(0x225)]=_0x45b712,this[_0x3985b3(0x163)]=_0x34c93f,this[_0x3985b3(0x1c5)]=_0x57387e,this[_0x3985b3(0x2f0)]());}['_init'](){const _0xc70615=_0x53738a;this['disposeWithMe'](this['_historyManagerService'][_0xc70615(0x12a)][_0xc70615(0x2ed)](_0x1c6357=>{const _0x46d7cd=_0xc70615;_0x1c6357&&this[_0x46d7cd(0x163)][_0x46d7cd(0x2b9)](_0x1c6357);})),this[_0xc70615(0x266)](this[_0xc70615(0x25a)][_0xc70615(0x26e)][_0xc70615(0x2ed)](_0xe12830=>{const _0x54313b=_0xc70615,_0x550fa5=this['_historyManagerService'][_0x54313b(0x15f)];_0x550fa5&&(_0xe12830['subType']===_0x4829df[_0x54313b(0x2c8)]&&_0xe12830[_0x54313b(0x147)]===!0x0&&this[_0x54313b(0x25a)]['updatePermissionPoint'](new _0x3e6093[(_0x54313b(0x2dd))](_0x550fa5)['id'],!0x1),_0xe12830[_0x54313b(0x13b)]===_0x4829df['RenameSheet']&&_0xe12830['value']===!0x0&&this[_0x54313b(0x25a)][_0x54313b(0x153)](new _0x3e6093[(_0x54313b(0x136))](_0x550fa5)['id'],!0x1),_0xe12830[_0x54313b(0x13b)]===_0x4829df['MoveSheet']&&_0xe12830['value']===!0x0&&this['_permissionService'][_0x54313b(0x153)](new _0x3e6093['WorkbookMoveSheetPermission'](_0x550fa5)['id'],!0x1),_0xe12830[_0x54313b(0x13b)]===_0x4829df['HideSheet']&&_0xe12830[_0x54313b(0x147)]===!0x0&&this[_0x54313b(0x25a)][_0x54313b(0x153)](new _0x3e6093['WorkbookHideSheetPermission'](_0x550fa5)['id'],!0x1),_0xe12830[_0x54313b(0x13b)]===_0x4829df[_0x54313b(0x256)]&&_0xe12830['value']===!0x0&&this[_0x54313b(0x25a)][_0x54313b(0x153)](new _0x3e6093[(_0x54313b(0x2dd))](_0x550fa5)['id'],!0x1),_0xe12830[_0x54313b(0x13b)]===_0x4829df[_0x54313b(0x1ed)]&&_0xe12830['value']===!0x0&&this[_0x54313b(0x25a)][_0x54313b(0x153)](new _0x3e6093[(_0x54313b(0x2dd))](_0x550fa5)['id'],!0x1));})),this['disposeWithMe'](this['_uiPartsService'][_0xc70615(0x2e5)](_0xed5edc[_0xc70615(0x123)]['HEADER'],()=>_0x3bd68c[_0xc70615(0x2c4)](_0x4484bb,this[_0xc70615(0x1c5)]))),this['disposeWithMe'](this[_0xc70615(0x163)][_0xc70615(0x19a)][_0xc70615(0x2ed)](_0x236bd7=>{const _0x4532dc=_0xc70615;var _0xa7d903;_0x236bd7===_0x2ae2fb[_0x4532dc(0x2f6)]&&(this[_0x4532dc(0x163)][_0x4532dc(0x2b0)](),this[_0x4532dc(0x1ea)]=this[_0x4532dc(0x15d)]['show']({'type':_0x5c85d1[_0x4532dc(0x259)][_0x4532dc(0x17a)],'content':this[_0x4532dc(0x225)]['t'](_0x4532dc(0x1b1))})),_0x236bd7===_0x2ae2fb['Loaded']&&((_0xa7d903=this[_0x4532dc(0x1ea)])==null||_0xa7d903[_0x4532dc(0x1e9)](),this[_0x4532dc(0x163)][_0x4532dc(0x251)]());}));}};_0x39ee36=_0xa1085e([_0x3bd68c[_0x53738a(0x152)](_0x3bd68c[_0x53738a(0x2c5)][_0x53738a(0x23e)],_0x39ee36),_0x2bbe67(0x0,_0x3bd68c[_0x53738a(0x2a1)]),_0x2bbe67(0x1,_0xed5edc[_0x53738a(0x303)]),_0x2bbe67(0x2,_0xed5edc[_0x53738a(0xe9)]),_0x2bbe67(0x3,_0x3bd68c[_0x53738a(0x304)](_0x3bd68c['LocaleService'])),_0x2bbe67(0x4,_0x3bd68c[_0x53738a(0x304)](_0x2f8b75['HistoryManagerService'])),_0x2bbe67(0x5,_0x3bd68c[_0x53738a(0x304)](_0x3bd68c['Injector']))],_0x39ee36);class _0x1298d3 extends _0x3bd68c['Disposable']{constructor(){const _0x4ea87b=_0x53738a;super(),_0x213de6(this,_0x4ea87b(0x271),new _0x311b85['Subject']());}['open'](){return _0x3bd68c['toDisposable'](()=>{});}[_0x53738a(0x285)](){}[_0x53738a(0x1c6)](_0x264d72){}[_0x53738a(0x201)](){const _0x40ad56=_0x53738a;return this[_0x40ad56(0x271)][_0x40ad56(0x17b)]();}}var _0x318fed=Object[_0x53738a(0x288)],_0x3267d2=Object[_0x53738a(0x1e7)],_0x49f4b2=(_0x26a409,_0x34df14,_0x32991d,_0x44f60b)=>{const _0x255a42=_0x53738a;for(var _0x76a4f7=_0x44f60b>0x1?void 0x0:_0x44f60b?_0x3267d2(_0x34df14,_0x32991d):_0x34df14,_0x1f9dba=_0x26a409[_0x255a42(0x1af)]-0x1,_0x3816e5;_0x1f9dba>=0x0;_0x1f9dba--)(_0x3816e5=_0x26a409[_0x1f9dba])&&(_0x76a4f7=(_0x44f60b?_0x3816e5(_0x34df14,_0x32991d,_0x76a4f7):_0x3816e5(_0x76a4f7))||_0x76a4f7);return _0x44f60b&&_0x76a4f7&&_0x318fed(_0x34df14,_0x32991d,_0x76a4f7),_0x76a4f7;},_0x5f12e6=(_0xe62d3e,_0x477cfe)=>(_0xb464f8,_0x1dcce0)=>_0x477cfe(_0xb464f8,_0x1dcce0,_0xe62d3e);let _0x1e157b=class extends _0x3bd68c[_0x53738a(0x11f)]{constructor(_0x11d103,_0x1e8052,_0x2ae022){const _0x2d1a87=_0x53738a;super(),_0x213de6(this,'_diffRangesMap',new Map()),_0x213de6(this,_0x2d1a87(0x182),new _0x311b85[(_0x2d1a87(0x258))]({'ranges':new Map(),'active':null})),_0x213de6(this,_0x2d1a87(0x2a9),this[_0x2d1a87(0x182)][_0x2d1a87(0x17b)]()),(this[_0x2d1a87(0x163)]=_0x11d103,this[_0x2d1a87(0x1d5)]=_0x1e8052,this[_0x2d1a87(0x1fb)]=_0x2ae022,this[_0x2d1a87(0x2f0)]());}['_init'](){const _0x372d82=_0x53738a;this[_0x372d82(0x277)]=new Map(),this[_0x372d82(0x266)](this[_0x372d82(0x163)][_0x372d82(0x11b)][_0x372d82(0x2ed)](_0x3e1b93=>{const _0x10f523=_0x372d82;_0x3e1b93&&!this[_0x10f523(0x277)][_0x10f523(0x2f8)](_0x3e1b93)&&this[_0x10f523(0x277)][_0x10f523(0x143)](_0x3e1b93,new Map());})),this[_0x372d82(0x266)](this[_0x372d82(0x163)][_0x372d82(0x12a)][_0x372d82(0x2ed)](async _0x3e75a5=>{const _0x4ca036=_0x372d82;var _0x53e442;_0x3e75a5&&(await this['ensureVersion'](_0x3e75a5),this[_0x4ca036(0x182)]['next'](((_0x53e442=this[_0x4ca036(0x277)][_0x4ca036(0x155)](this['_historyManagerService']['unitId']))==null?void 0x0:_0x53e442[_0x4ca036(0x155)](_0x3e75a5))||{'ranges':new Map(),'active':null}));}));}async['ensureVersion'](_0x32f174){const _0x144503=_0x53738a;var _0x2e88d7,_0x18320d;const _0x284e2e=this['_historyManagerService'][_0x144503(0x1ff)](_0x32f174),_0x4db09a=this[_0x144503(0x163)][_0x144503(0x15f)];if(!_0x284e2e||!_0x4db09a)return;const _0x171c6e=this[_0x144503(0x277)][_0x144503(0x155)](_0x4db09a);if(_0x171c6e||this[_0x144503(0x277)][_0x144503(0x143)](_0x4db09a,new Map()),(_0x2e88d7=this[_0x144503(0x277)][_0x144503(0x155)](_0x4db09a))!=null&&_0x2e88d7[_0x144503(0x2f8)](_0x284e2e['id']))return;const {startRev:_0x494aa5,endRev:_0x584296}=_0x284e2e;if(_0x494aa5===0x1){_0x171c6e['set'](_0x284e2e['id'],{'ranges':new Map(),'active':null});return;}const _0x21e3a8=_0x494aa5-0x1,_0x50c81a=_0x584296,_0x7916af=await this[_0x144503(0x1fb)]['fetchMissingChangesets']({},{'unitID':_0x4db09a,'from':_0x21e3a8,'to':_0x50c81a,'type':_0x136ea1[_0x144503(0xf7)]});if(((_0x18320d=_0x7916af[_0x144503(0x12c)])==null?void 0x0:_0x18320d[_0x144503(0x213)])===_0x81eb22['OK']){const _0x3599ad=_0x7916af['changesets'][_0x144503(0x293)](_0x514835[_0x144503(0x2d1)])[_0x144503(0x293)](_0x5d9ed0=>_0x5d9ed0[_0x144503(0x173)][_0x144503(0x293)](_0x40d4c3=>({..._0x40d4c3,'params':{..._0x40d4c3[_0x144503(0x1c7)],'memberId':_0x5d9ed0[_0x144503(0x1fc)]}})))['flat'](),_0x194d72=this['_transformMutationByOrder'](_0x3599ad),_0x1377c2=this[_0x144503(0x180)](_0x3599ad),_0x58eedf=this[_0x144503(0x229)](_0x194d72);_0x171c6e[_0x144503(0x143)](_0x284e2e['id'],{'ranges':_0x58eedf,'active':_0x1377c2});}}[_0x53738a(0x1f1)](_0x499290){const _0x6137c=_0x53738a;let _0x204d9e=[];for(let _0x42a341=0x0;_0x42a341<_0x499290[_0x6137c(0x1af)];_0x42a341++){const _0x115ebf=_0x499290[_0x42a341];if(_0x204d9e[_0x6137c(0x2ff)](_0x115ebf),_0x42a341!==_0x499290[_0x6137c(0x1af)]-0x1){const _0x11c9e8=_0x499290[_0x42a341+0x1],_0x17f3c1=this['_transformService']['transformMutations'](_0x204d9e,[_0x11c9e8]);_0x514835[_0x6137c(0x1c1)](_0x17f3c1)?_0x204d9e=_0x17f3c1[_0x6137c(0x1ab)]:_0x204d9e=[];}}return _0x204d9e;}['_getActiveSubUnitId'](_0x396d2c){const _0x6a3223=_0x53738a;let _0x22f2b6=[];return _0x396d2c[_0x6a3223(0x148)](_0x308858=>{const _0x2f68ca=_0x6a3223;if(_0x308858['id']===_0x3e6093['InsertSheetMutation']['id']){const _0x5e6cf4=_0x308858[_0x2f68ca(0x1c7)];_0x22f2b6[_0x2f68ca(0x2ff)](_0x5e6cf4[_0x2f68ca(0x175)]['id']);}else{if(_0x308858['id']===_0x3e6093[_0x2f68ca(0x204)]['id']){const _0x52e0e7=_0x308858[_0x2f68ca(0x1c7)];_0x22f2b6[_0x2f68ca(0x1af)]>0x0&&(_0x22f2b6=_0x22f2b6[_0x2f68ca(0xfc)](_0x194a93=>_0x194a93!==_0x52e0e7[_0x2f68ca(0x191)]));}else{if(_0x308858['id']===_0x3e6093['SetWorksheetHideMutation']['id']){const _0x5d30a1=_0x308858[_0x2f68ca(0x1c7)];_0x5d30a1[_0x2f68ca(0x177)]?_0x22f2b6=_0x22f2b6[_0x2f68ca(0xfc)](_0x112c49=>_0x112c49!==_0x5d30a1[_0x2f68ca(0x191)]):_0x22f2b6[_0x2f68ca(0x2ff)](_0x5d30a1[_0x2f68ca(0x191)]);}else{const _0x1fa1fa=_0x308858[_0x2f68ca(0x1c7)];_0x1fa1fa['subUnitId']&&_0x22f2b6[_0x2f68ca(0x2ff)](_0x1fa1fa[_0x2f68ca(0x191)]);}}}}),_0x22f2b6[_0x6a3223(0x1af)]>0x0?_0x22f2b6[_0x22f2b6[_0x6a3223(0x1af)]-0x1]:null;}[_0x53738a(0x229)](_0x53a215){const _0x216dcf=_0x53738a,_0x8b35d4=new Map();return _0x53a215['forEach'](_0x5832a9=>{const _0x4e4b34=_0x3675;var _0x278484,_0x4b8d2e;const _0x408cf3=(_0x278484=_0x5832a9[_0x4e4b34(0x1c7)])==null?void 0x0:_0x278484[_0x4e4b34(0x2d0)];if(_0x408cf3){_0x8b35d4[_0x4e4b34(0x2f8)](_0x408cf3)||_0x8b35d4[_0x4e4b34(0x143)](_0x408cf3,[]);const _0x434dc9=this['_getRangesByMutation'](_0x5832a9);(_0x4b8d2e=_0x8b35d4[_0x4e4b34(0x155)](_0x408cf3))==null||_0x4b8d2e['push'](..._0x434dc9);}}),_0x8b35d4[_0x216dcf(0x148)]((_0x6f3045,_0x202d60)=>{const _0x11717d=_0x216dcf;_0x8b35d4['set'](_0x202d60,this[_0x11717d(0x286)](_0x6f3045));}),_0x8b35d4;}['_getRangesByMutation'](_0x3b69ea){const _0x1c18bf=_0x53738a;switch(_0x3b69ea['id']){case _0x3e6093['AddRangeProtectionMutation']['id']:{const _0x3d410f=_0x3b69ea[_0x1c18bf(0x1c7)];return _0x3d410f[_0x1c18bf(0x1eb)][_0x1c18bf(0x293)](_0x471df4=>_0x471df4[_0x1c18bf(0x2fb)][_0x1c18bf(0x293)](_0x540a1e=>({'range':_0x540a1e,'unitId':_0x3d410f[_0x1c18bf(0x15f)],'subUnitId':_0x3d410f['subUnitId']})))[_0x1c18bf(0x108)]();}case _0x3e6093[_0x1c18bf(0x2d4)]['id']:{const _0x293eb8=_0x3b69ea['params'];return _0x293eb8[_0x1c18bf(0x2fb)][_0x1c18bf(0x293)](_0x50ac96=>({'range':_0x50ac96,'unitId':_0x293eb8['unitId'],'subUnitId':_0x293eb8[_0x1c18bf(0x191)]}));}case _0x3e6093['InsertRowMutation']['id']:{const _0x15ae60=_0x3b69ea['params'];return[{'range':_0x15ae60['range'],'unitId':_0x15ae60[_0x1c18bf(0x15f)],'subUnitId':_0x15ae60[_0x1c18bf(0x191)]}];}case _0x3e6093[_0x1c18bf(0x2b6)]['id']:{const _0x124fc6=_0x3b69ea['params'];return[{'range':_0x124fc6[_0x1c18bf(0x21e)],'unitId':_0x124fc6[_0x1c18bf(0x15f)],'subUnitId':_0x124fc6[_0x1c18bf(0x191)]}];}case _0x3e6093[_0x1c18bf(0x300)]['id']:{const _0x187d9b=_0x3b69ea[_0x1c18bf(0x1c7)],{from:_0x493d66,to:_0x1ba871,unitId:_0xa46037}=_0x187d9b;return[{'range':_0x17a691(_0x493d66[_0x1c18bf(0x147)]),'unitId':_0xa46037,'subUnitId':_0x493d66[_0x1c18bf(0x191)]},{'range':_0x17a691(_0x1ba871[_0x1c18bf(0x147)]),'unitId':_0xa46037,'subUnitId':_0x1ba871[_0x1c18bf(0x191)]}];}case _0x3e6093[_0x1c18bf(0x19c)]['id']:{const _0xd2bcc=_0x3b69ea[_0x1c18bf(0x1c7)],{unitId:_0x142a81,subUnitId:_0x555cda,sourceRange:_0x32bf3f,targetRange:_0x184a94}=_0xd2bcc,_0x5e9c9f=_0x32bf3f[_0x1c18bf(0x205)]-_0x32bf3f[_0x1c18bf(0x217)]+0x1;return[{'range':_0x184a94['startRow']<=_0x32bf3f[_0x1c18bf(0x217)]?_0x184a94:{..._0x184a94,'startRow':_0x184a94[_0x1c18bf(0x217)]-_0x5e9c9f,'endRow':_0x184a94[_0x1c18bf(0x205)]-_0x5e9c9f},'unitId':_0x142a81,'subUnitId':_0x555cda}];}case _0x3e6093[_0x1c18bf(0x137)]['id']:{const _0x49e2eb=_0x3b69ea[_0x1c18bf(0x1c7)],{unitId:_0x37e1f3,subUnitId:_0x4b496d,sourceRange:_0x1ba447,targetRange:_0x125e0e}=_0x49e2eb,_0x3f3223=_0x1ba447[_0x1c18bf(0xed)]-_0x1ba447[_0x1c18bf(0x247)]+0x1;return[{'range':_0x125e0e[_0x1c18bf(0x247)]<=_0x1ba447[_0x1c18bf(0x247)]?_0x125e0e:{..._0x125e0e,'startColumn':_0x125e0e[_0x1c18bf(0x247)]-_0x3f3223,'endColumn':_0x125e0e[_0x1c18bf(0xed)]-_0x3f3223},'unitId':_0x37e1f3,'subUnitId':_0x4b496d}];}case _0x3e6093['SetNumfmtMutation']['id']:{const _0xa33481=_0x3b69ea[_0x1c18bf(0x1c7)],{values:_0x24d6e5,unitId:_0x424dbf,subUnitId:_0x340a0e}=_0xa33481;return Object[_0x1c18bf(0x302)](_0x24d6e5)[_0x1c18bf(0x293)](_0x24c433=>_0x24c433[_0x1c18bf(0x2fb)][_0x1c18bf(0x293)](_0x2253cf=>({'range':_0x2253cf,'unitId':_0x424dbf,'subUnitId':_0x340a0e})))['flat']();}case _0x3e6093[_0x1c18bf(0x2e9)]['id']:{const _0x49c8bf=_0x3b69ea['params'],{ranges:_0x49c9f5,unitId:_0x24a219,subUnitId:_0x96803}=_0x49c8bf;return _0x49c9f5[_0x1c18bf(0x293)](_0x60fe4d=>({'range':_0x60fe4d,'unitId':_0x24a219,'subUnitId':_0x96803}));}case _0x3e6093['ReorderRangeMutation']['id']:{const _0x4c6fb1=_0x3b69ea[_0x1c18bf(0x1c7)],{unitId:_0x526636,subUnitId:_0x1c845b,range:_0x3a842a}=_0x4c6fb1;return[{'range':_0x3a842a,'unitId':_0x526636,'subUnitId':_0x1c845b}];}case _0x3e6093[_0x1c18bf(0x248)]['id']:{const _0x27d083=_0x3b69ea[_0x1c18bf(0x1c7)];return _0x27d083[_0x1c18bf(0x296)][_0x1c18bf(0x2fb)][_0x1c18bf(0x293)](_0x22ec6d=>({'range':_0x22ec6d,'unitId':_0x27d083[_0x1c18bf(0x15f)],'subUnitId':_0x27d083['subUnitId']}));}case _0x3e6093[_0x1c18bf(0x292)]['id']:{const _0xd4b22f=_0x3b69ea['params'];return _0xd4b22f['cellValue']?_0x5ce8b7(_0xd4b22f[_0x1c18bf(0x156)])['map'](_0x40d3c8=>({'range':_0x40d3c8,'unitId':_0xd4b22f[_0x1c18bf(0x15f)],'subUnitId':_0xd4b22f[_0x1c18bf(0x191)]})):[];}case _0x3ce115[_0x1c18bf(0x203)]['id']:{const _0x403f06=_0x3b69ea[_0x1c18bf(0x1c7)];return[{'range':_0x403f06[_0x1c18bf(0x21e)],'unitId':_0x403f06[_0x1c18bf(0x15f)],'subUnitId':_0x403f06[_0x1c18bf(0x191)]}];}case _0x2a47b4['AddDataValidationMutation']['id']:{const _0x4705e5=_0x3b69ea['params'];return(Array[_0x1c18bf(0x230)](_0x4705e5[_0x1c18bf(0x296)])?_0x4705e5[_0x1c18bf(0x296)]:[_0x4705e5['rule']])[_0x1c18bf(0x293)](_0x3431d0=>_0x3431d0['ranges'][_0x1c18bf(0x293)](_0x5f23b8=>({'range':_0x5f23b8,'unitId':_0x4705e5[_0x1c18bf(0x15f)],'subUnitId':_0x4705e5[_0x1c18bf(0x191)]})))[_0x1c18bf(0x108)]();}case _0x12fc38[_0x1c18bf(0x18a)]['id']:{const _0x3a0b25=_0x3b69ea[_0x1c18bf(0x1c7)];return _0x3a0b25[_0x1c18bf(0x296)]['ranges'][_0x1c18bf(0x293)](_0x182bb9=>({'range':_0x182bb9,'unitId':_0x3a0b25[_0x1c18bf(0x15f)],'subUnitId':_0x3a0b25[_0x1c18bf(0x191)]}));}default:return[];}}['_combineRanges'](_0x362866){const _0x19ab59=_0x53738a;if(_0x362866[_0x19ab59(0x1af)]<=0x1)return _0x362866;const _0x56f3a5=new Map();return _0x362866[_0x19ab59(0x148)](_0x45547d=>{const _0x250a69=_0x19ab59;var _0xb3468e;const {unitId:_0x29dd99,subUnitId:_0x10f3a2}=_0x45547d,_0x27881f=_0x29dd99+'-'+_0x10f3a2;_0x56f3a5['has'](_0x27881f)?(_0xb3468e=_0x56f3a5[_0x250a69(0x155)](_0x27881f))==null||_0xb3468e[_0x250a69(0x2ff)](_0x45547d):_0x56f3a5[_0x250a69(0x143)](_0x27881f,[_0x45547d]);}),Array[_0x19ab59(0x17e)](_0x56f3a5[_0x19ab59(0x302)]())[_0x19ab59(0x293)](_0x4a1dd1=>new _0x3e6093[(_0x19ab59(0x2b2))]()['add'](..._0x4a1dd1[_0x19ab59(0x293)](_0x2aae03=>_0x2aae03[_0x19ab59(0x21e)]))['merge']()[_0x19ab59(0x293)](_0x26d3c3=>({'range':_0x26d3c3,'unitId':_0x4a1dd1[0x0][_0x19ab59(0x15f)],'subUnitId':_0x4a1dd1[0x0][_0x19ab59(0x191)]})))[_0x19ab59(0x108)]();}};_0x1e157b=_0x49f4b2([_0x3bd68c[_0x53738a(0x152)](_0x3bd68c[_0x53738a(0x2c5)][_0x53738a(0x1ad)],_0x1e157b),_0x5f12e6(0x0,_0x3bd68c[_0x53738a(0x304)](_0x2f8b75[_0x53738a(0x1f8)])),_0x5f12e6(0x1,_0x514835[_0x53738a(0x127)]),_0x5f12e6(0x2,_0x514835[_0x53738a(0x14e)])],_0x1e157b);function _0x17a691(_0x43ca86){const _0x4c12b5=_0x53738a;return new _0x3bd68c['ObjectMatrix'](_0x43ca86)[_0x4c12b5(0x29e)]();}function _0x5ce8b7(_0x4c6fbe){const _0xa445de=_0x53738a,_0x3c6687=new _0x3bd68c['ObjectMatrix'](_0x4c6fbe),_0x291b3c=new _0x3bd68c['ObjectMatrix']();return _0x3c6687['forValue']((_0xca432,_0x59fde3)=>{const _0x2439ab=_0x3675;_0x291b3c[_0x2439ab(0xf1)](_0xca432,_0x59fde3,0x1);}),_0x3e6093[_0xa445de(0x1d1)](_0x291b3c);}var _0xcf6f92=Object['defineProperty'],_0x208c24=Object[_0x53738a(0x1e7)],_0x56a3ab=(_0x1be400,_0x208d1e,_0x12e0ec,_0x58d99a)=>{const _0x45e736=_0x53738a;for(var _0x3a91fd=_0x58d99a>0x1?void 0x0:_0x58d99a?_0x208c24(_0x208d1e,_0x12e0ec):_0x208d1e,_0x403d6d=_0x1be400[_0x45e736(0x1af)]-0x1,_0x2a6329;_0x403d6d>=0x0;_0x403d6d--)(_0x2a6329=_0x1be400[_0x403d6d])&&(_0x3a91fd=(_0x58d99a?_0x2a6329(_0x208d1e,_0x12e0ec,_0x3a91fd):_0x2a6329(_0x3a91fd))||_0x3a91fd);return _0x58d99a&&_0x3a91fd&&_0xcf6f92(_0x208d1e,_0x12e0ec,_0x3a91fd),_0x3a91fd;},_0x19e12d=(_0x2aaf0d,_0x4000ef)=>(_0x5cfe61,_0x17e71a)=>_0x4000ef(_0x5cfe61,_0x17e71a,_0x2aaf0d);let _0x25b8dc=class extends _0x3bd68c[_0x53738a(0x11f)]{constructor(_0x4cba4b,_0x5203be,_0x11427e,_0x3161f3,_0x437bbf,_0x2ad3c1,_0x5209ca,_0xcc4872){const _0x121140=_0x53738a;super(),_0x213de6(this,_0x121140(0x20d),new Set()),_0x213de6(this,_0x121140(0x283),null),(this[_0x121140(0x11d)]=_0x4cba4b,this[_0x121140(0x163)]=_0x5203be,this[_0x121140(0xf5)]=_0x11427e,this[_0x121140(0x2a5)]=_0x3161f3,this[_0x121140(0x122)]=_0x437bbf,this[_0x121140(0x2d2)]=_0x2ad3c1,this['_sheetSkeletonManagerService']=_0x5209ca,this[_0x121140(0x2a0)]=_0xcc4872,this[_0x121140(0x2f0)]());}[_0x53738a(0x2f0)](){const _0x199ac4=_0x53738a;this[_0x199ac4(0x166)](),this[_0x199ac4(0x2c1)]();}[_0x53738a(0x166)](){const _0x4780f9=_0x53738a;this['disposeWithMe'](_0x311b85['combineLatest']([this[_0x4780f9(0x163)][_0x4780f9(0x19a)],this[_0x4780f9(0x133)]['currentSkeleton$']])[_0x4780f9(0x24a)](_0x311b85[_0x4780f9(0x26c)](([_0x1ad724,_0x16c65e])=>{const _0xfc406c=_0x4780f9;if(_0x1ad724===_0x2ae2fb[_0xfc406c(0x16d)]&&_0x16c65e){const _0x5f0e59=_0x16c65e[_0xfc406c(0x193)];return this[_0xfc406c(0xf5)][_0xfc406c(0x2a9)][_0xfc406c(0x24a)](_0x311b85[_0xfc406c(0x293)](_0x5510cf=>{const _0x32ed3e=new Map();return _0x5510cf['ranges']['forEach']((_0x5390d7,_0xa98990)=>{const _0x3a2fab=_0x3675,_0xc88faa=_0x5390d7[_0x3a2fab(0xfc)](_0x2691d9=>_0x2691d9['subUnitId']===_0x5f0e59);_0x32ed3e['set'](_0xa98990,_0xc88faa);}),{'skeleton':_0x16c65e,'diffs':_0x32ed3e};}));}return _0x311b85['of']({'skeleton':null,'diffs':new Map()});}))[_0x4780f9(0x2ed)](({skeleton:_0x3cd84a,diffs:_0x33abdf})=>{const _0x3632c5=_0x4780f9;this[_0x3632c5(0x27d)](),_0x3cd84a&&this[_0x3632c5(0x2ee)](_0x3cd84a,_0x33abdf);})),this[_0x4780f9(0x266)](this[_0x4780f9(0x133)][_0x4780f9(0x130)][_0x4780f9(0x2ed)](_0x2e46cc=>{const _0x12e052=_0x4780f9;if(_0x2e46cc==null)return;const {skeleton:_0x1afaf7}=_0x2e46cc,{scene:_0x5519d3}=this[_0x12e052(0x11d)];_0x5519d3[_0x12e052(0xef)][_0x12e052(0x2e3)](_0x3bd68c[_0x12e052(0x199)](_0x1b5222=>{const _0x50656d=_0x12e052;var _0x370f01,_0x5c36d7;const {offsetX:_0x5569a4,offsetY:_0x3d8f34}=_0x1b5222,{x:_0x4fc00c,y:_0x401cd1}=_0x5519d3[_0x50656d(0x1d7)](_0x580b3d[_0x50656d(0x13f)][_0x50656d(0x268)]([_0x5569a4,_0x3d8f34])),{scaleX:_0x335ea1,scaleY:_0x22f6dd}=_0x5519d3[_0x50656d(0x10c)](),_0x5330e1=_0x5519d3[_0x50656d(0x1d4)](_0x5991dd['VIEWPORT_KEY'][_0x50656d(0x238)]),_0x11f27b=_0x5519d3['getVpScrollXYInfoByPosToVp'](_0x580b3d[_0x50656d(0x13f)][_0x50656d(0x268)]([_0x4fc00c,_0x401cd1]),_0x5330e1),_0x2151c1=_0x1afaf7['getCellPositionByOffset'](_0x5569a4,_0x3d8f34,_0x335ea1,_0x22f6dd,_0x11f27b);((_0x370f01=this[_0x50656d(0x283)])==null?void 0x0:_0x370f01[_0x50656d(0x2f1)])===_0x2151c1[_0x50656d(0x2f1)]&&((_0x5c36d7=this[_0x50656d(0x283)])==null?void 0x0:_0x5c36d7[_0x50656d(0x280)])===_0x2151c1['row']||this[_0x50656d(0x20d)]['forEach'](_0x468c3d=>{const _0x210d3f=_0x50656d;_0x468c3d[_0x210d3f(0x1a6)](_0x2151c1);});},0x64));}));}['_initActiveSwitch'](){const _0x3044f2=_0x53738a;this[_0x3044f2(0x266)](this[_0x3044f2(0x163)]['loadingState$'][_0x3044f2(0x2ed)](_0x4015f8=>{const _0x32e155=_0x3044f2,_0x57aae8=new _0x3bd68c[(_0x32e155(0x209))]();return _0x4015f8===_0x2ae2fb[_0x32e155(0x16d)]&&(_0x57aae8[_0x32e155(0x1e9)](),_0x57aae8[_0x32e155(0x2a4)](this['_versionDiffService'][_0x32e155(0x2a9)][_0x32e155(0x2ed)](_0xdddb76=>{const _0x25f0b7=_0x32e155;_0xdddb76[_0x25f0b7(0x21d)]&&this['_commandService'][_0x25f0b7(0x291)](_0x3e6093[_0x25f0b7(0x24c)]['id'],{'unitId':this[_0x25f0b7(0x11d)]['unitId'],'subUnitId':_0xdddb76[_0x25f0b7(0x21d)]});}))),()=>_0x57aae8[_0x32e155(0x1e9)]();}));}['_updateDiffMarks'](_0x3f6a56,_0x256dd6){const _0x55057d=_0x53738a;var _0x5a7fe5;const _0xa0200c=(_0x5a7fe5=this[_0x55057d(0x133)][_0x55057d(0x2ce)]())==null?void 0x0:_0x5a7fe5[_0x55057d(0xfd)];if(!_0xa0200c)return;this[_0x55057d(0x20d)][_0x55057d(0x148)](_0x3e07ed=>{_0x3e07ed['makeDirty']();});const {scene:_0x1c5424}=this[_0x55057d(0x11d)],_0x6a39d5=Array[_0x55057d(0x17e)](_0x256dd6[_0x55057d(0x157)]())[_0x55057d(0x293)](_0x5c1e7c=>_0x256dd6[_0x55057d(0x155)](_0x5c1e7c)[_0x55057d(0x293)](_0x5a60d6=>{const _0x33a2d7=_0x55057d;var _0x3e7770;const {range:_0x295dc1,subUnitId:_0x1edae6,unitId:_0x30b876}=_0x5a60d6,{startColumn:_0x4b6689,startRow:_0x5194d5,endColumn:_0x3b13d3,endRow:_0x433bc3}=_0x295dc1,_0x503b1c=_0x5991dd[_0x33a2d7(0x1db)](_0x5194d5,_0x4b6689,_0x1c5424,_0xa0200c),_0x44fea6=_0x5991dd['getCoordByCell'](_0x433bc3,_0x3b13d3,_0x1c5424,_0xa0200c),{columnHeaderHeightAndMarginTop:_0x233e94}=_0xa0200c,{startX:_0x58e491,startY:_0x396bcd}=_0x503b1c,{endX:_0x4b5500,endY:_0x1099df}=_0x44fea6,_0x4fbb47=_0x4b5500-_0x58e491,_0x5736b7=_0x1099df-_0x396bcd,_0x1ad58f={'labelPosition':_0x396bcd-_0x233e94>=0x14?_0x33a2d7(0x1a4):'bottom','sheetID':_0x1edae6,'range':_0x295dc1,'color':'rgba(58,\x2096,\x20247,\x200.20)','fillAfterStrokeEnabled':!0x0,'backgroundColor':'rgba(58,\x2096,\x20247,\x200.20)','name':((_0x3e7770=this['_historyManagerService'][_0x33a2d7(0x22c)](_0x5c1e7c))==null?void 0x0:_0x3e7770[_0x33a2d7(0x17d)])||'','selection':_0x30b876+'-'+_0x1edae6+'-'+_0x295dc1[_0x33a2d7(0x247)]+'-'+_0x295dc1[_0x33a2d7(0x217)]+'-'+_0x295dc1[_0x33a2d7(0xed)]+'-'+_0x295dc1[_0x33a2d7(0x205)],'left':_0x58e491,'top':_0x396bcd,'width':_0x4fbb47,'height':_0x5736b7,'evented':!0x1,'zIndex':0x1};return new _0x4ef0ae[(_0x33a2d7(0x1b6))]('',_0x1ad58f);}))[_0x55057d(0x108)]();_0x1c5424['addObjects'](_0x6a39d5,0x1),this[_0x55057d(0x20d)]=new Set(_0x6a39d5);}[_0x53738a(0x27d)](){const _0x262780=_0x53738a;var _0x58b092;(_0x58b092=this['_diffs'])==null||_0x58b092[_0x262780(0x148)](_0x3a1a78=>_0x3a1a78['dispose']());}['_getSheetObject'](){const _0x508d0c=_0x53738a;return _0x5991dd[_0x508d0c(0x2c9)](this[_0x508d0c(0x2a5)],this[_0x508d0c(0x122)]);}};_0x25b8dc=_0x56a3ab([_0x3bd68c['OnLifecycle'](_0x3bd68c[_0x53738a(0x2c5)][_0x53738a(0x1ad)],_0x25b8dc),_0x19e12d(0x1,_0x3bd68c[_0x53738a(0x304)](_0x2f8b75['HistoryManagerService'])),_0x19e12d(0x2,_0x3bd68c[_0x53738a(0x304)](_0x1e157b)),_0x19e12d(0x3,_0x3bd68c[_0x53738a(0x2d6)]),_0x19e12d(0x4,_0x580b3d[_0x53738a(0x15a)]),_0x19e12d(0x5,_0x3bd68c[_0x53738a(0x304)](_0x3bd68c['ThemeService'])),_0x19e12d(0x6,_0x3bd68c[_0x53738a(0x304)](_0x5991dd[_0x53738a(0x1be)])),_0x19e12d(0x7,_0x3bd68c[_0x53738a(0x2cf)])],_0x25b8dc);var _0x4b9b55=Object[_0x53738a(0x288)],_0x23c2a6=Object[_0x53738a(0x1e7)],_0x2fb5c5=(_0x2625bb,_0x30b6eb,_0xa3bfb5,_0x17321c)=>{const _0x5f158e=_0x53738a;for(var _0x48b022=_0x17321c>0x1?void 0x0:_0x17321c?_0x23c2a6(_0x30b6eb,_0xa3bfb5):_0x30b6eb,_0x2eaa9d=_0x2625bb[_0x5f158e(0x1af)]-0x1,_0x50fe2a;_0x2eaa9d>=0x0;_0x2eaa9d--)(_0x50fe2a=_0x2625bb[_0x2eaa9d])&&(_0x48b022=(_0x17321c?_0x50fe2a(_0x30b6eb,_0xa3bfb5,_0x48b022):_0x50fe2a(_0x48b022))||_0x48b022);return _0x17321c&&_0x48b022&&_0x4b9b55(_0x30b6eb,_0xa3bfb5,_0x48b022),_0x48b022;},_0x1024a9=(_0x3d3117,_0x253ed8)=>(_0xbdbfe1,_0x536aed)=>_0x253ed8(_0xbdbfe1,_0x536aed,_0x3d3117);let _0x293961=class extends _0x3bd68c['Disposable']{constructor(_0x149775){const _0x131f7e=_0x53738a;super(),this[_0x131f7e(0x228)]=_0x149775,this[_0x131f7e(0x2f0)]();}[_0x53738a(0x2f0)](){const _0x293198=_0x53738a;this[_0x293198(0x266)](this[_0x293198(0x228)]['state$']['subscribe'](_0x369146=>{const _0x1bb3a0=_0x293198;_0x369146!=null&&_0x369146[_0x1bb3a0(0xf6)]&&this[_0x1bb3a0(0x228)][_0x1bb3a0(0x26f)]({'show':!0x1});}));}};_0x293961=_0x2fb5c5([_0x3bd68c[_0x53738a(0x152)](_0x3bd68c['LifecycleStages'][_0x53738a(0x252)],_0x293961),_0x1024a9(0x0,_0x5991dd['ICellEditorManagerService'])],_0x293961);const _0x1ba9e8=_0x53738a(0x10a),_0x552384={};var _0x21087e=Object['defineProperty'],_0x208ff1=Object[_0x53738a(0x1e7)],_0x245425=(_0x36c362,_0x2f0c3b,_0x1ebf80)=>_0x2f0c3b in _0x36c362?_0x21087e(_0x36c362,_0x2f0c3b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ebf80}):_0x36c362[_0x2f0c3b]=_0x1ebf80,_0x4584a6=(_0x1e0523,_0x1db724,_0x4c0d1c,_0x1e0052)=>{const _0x27a432=_0x53738a;for(var _0x1348d6=_0x1e0052>0x1?void 0x0:_0x1e0052?_0x208ff1(_0x1db724,_0x4c0d1c):_0x1db724,_0x304d47=_0x1e0523[_0x27a432(0x1af)]-0x1,_0x3a5d23;_0x304d47>=0x0;_0x304d47--)(_0x3a5d23=_0x1e0523[_0x304d47])&&(_0x1348d6=(_0x1e0052?_0x3a5d23(_0x1db724,_0x4c0d1c,_0x1348d6):_0x3a5d23(_0x1348d6))||_0x1348d6);return _0x1e0052&&_0x1348d6&&_0x21087e(_0x1db724,_0x4c0d1c,_0x1348d6),_0x1348d6;},_0x151d14=(_0x467dc1,_0x1f00d2)=>(_0x465230,_0x5e4c2b)=>_0x1f00d2(_0x465230,_0x5e4c2b,_0x467dc1),_0x3873cd=(_0x840f21,_0xccfcf9,_0x20d09d)=>_0x245425(_0x840f21,_0xccfcf9+'',_0x20d09d);const _0x46aae8=_0x53738a(0x2b1);_0x2f8b75[_0x53738a(0x215)]=class extends _0x3bd68c[_0x53738a(0x2d8)]{constructor(_0x1bd389=_0x552384,_0x49fd8e,_0x14ed51,_0x3d6d88){const _0x55d1dc=_0x53738a;super(),this['_config']=_0x1bd389,this['_injector']=_0x49fd8e,this[_0x55d1dc(0x122)]=_0x14ed51,this[_0x55d1dc(0x2c0)]=_0x3d6d88;const {..._0x3753cb}=this[_0x55d1dc(0x267)];this['_configService'][_0x55d1dc(0x1d8)](_0x1ba9e8,_0x3753cb);}['onStarting'](){const _0xd130ba=_0x53738a;[[_0x2f8b75['HistoryManagerService']],[_0x39ee36],[_0x1e157b],[_0x401289],[_0x1a52f4],[_0x55e4cf[_0xd130ba(0x20f)]],[_0x293961],[_0x55e4cf[_0xd130ba(0xfb)],{'useClass':_0x55e4cf[_0xd130ba(0x160)]}],[_0x514835['ISnapshotServerService'],{'useClass':_0x4ef0ae[_0xd130ba(0x23d)]}],[_0x3bd68c['IAuthzIoService'],{'useClass':_0x4ef0ae[_0xd130ba(0x1b7)]}],[_0xed5edc[_0xd130ba(0x111)],{'useClass':_0x1298d3}],[_0x113e3c[_0xd130ba(0x1e1)],{'useClass':_0x4ef0ae[_0xd130ba(0x240)]}]]['forEach'](_0x354a5a=>this['_injector'][_0xd130ba(0x2a4)](_0x354a5a));}[_0x53738a(0x121)](){const _0x52ec6a=_0x53738a;[[_0x25b8dc]][_0x52ec6a(0x148)](_0xe26a0c=>{const _0x4f67e4=_0x52ec6a;this['disposeWithMe'](this['_renderManagerService'][_0x4f67e4(0x18c)](_0x3bd68c[_0x4f67e4(0x1ba)]['UNIVER_SHEET'],_0xe26a0c));});}},_0x3873cd(_0x2f8b75[_0x53738a(0x215)],_0x53738a(0x1e4),_0x46aae8),_0x2f8b75[_0x53738a(0x215)]=_0x4584a6([_0x3bd68c['DependentOn'](_0x5991dd[_0x53738a(0x1b8)]),_0x151d14(0x1,_0x3bd68c[_0x53738a(0x304)](_0x3bd68c[_0x53738a(0x1f2)])),_0x151d14(0x2,_0x580b3d[_0x53738a(0x15a)]),_0x151d14(0x3,_0x3bd68c['IConfigService'])],_0x2f8b75[_0x53738a(0x215)]),_0x2f8b75[_0x53738a(0x1a5)]=_0x232582,Object['defineProperty'](_0x2f8b75,Symbol[_0x53738a(0x26b)],{'value':_0x53738a(0x13a)});}));
|
|
1
|
+
function _0x3adb(_0x2330bf,_0xe9ec26){const _0x2168e0=_0x2168();return _0x3adb=function(_0x3adbb4,_0x4059d2){_0x3adbb4=_0x3adbb4-0x104;let _0x4f81da=_0x2168e0[_0x3adbb4];return _0x4f81da;},_0x3adb(_0x2330bf,_0xe9ec26);}(function(_0x2b8ce5,_0x11f014){const _0x40d127=_0x3adb,_0x2bcb12=_0x2b8ce5();while(!![]){try{const _0x2c5d6e=parseInt(_0x40d127(0x1e1))/0x1*(-parseInt(_0x40d127(0x252))/0x2)+parseInt(_0x40d127(0x1f9))/0x3+parseInt(_0x40d127(0x32d))/0x4+parseInt(_0x40d127(0x242))/0x5*(parseInt(_0x40d127(0x145))/0x6)+parseInt(_0x40d127(0x30c))/0x7+parseInt(_0x40d127(0x200))/0x8+-parseInt(_0x40d127(0x234))/0x9;if(_0x2c5d6e===_0x11f014)break;else _0x2bcb12['push'](_0x2bcb12['shift']());}catch(_0xb81b5d){_0x2bcb12['push'](_0x2bcb12['shift']());}}}(_0x2168,0x3638f),function(_0x22beff,_0x1e2dd6){const _0x5e92a5=_0x3adb;typeof exports==_0x5e92a5(0x2e1)&&typeof module<'u'?_0x1e2dd6(exports,require(_0x5e92a5(0x2cd)),require('@univerjs-pro/collaboration-client'),require(_0x5e92a5(0x10a)),require('@univerjs/ui'),require(_0x5e92a5(0x303)),require('@univerjs/sheets-ui'),require(_0x5e92a5(0x29c)),require('@univerjs-pro/collaboration'),require(_0x5e92a5(0x20f)),require(_0x5e92a5(0x1c9)),require(_0x5e92a5(0x143)),require(_0x5e92a5(0x2c7)),require(_0x5e92a5(0x1de)),require(_0x5e92a5(0x2f9)),require(_0x5e92a5(0x309)),require(_0x5e92a5(0x221))):typeof define==_0x5e92a5(0x275)&&define[_0x5e92a5(0x24e)]?define(['exports','@univerjs/core',_0x5e92a5(0x307),_0x5e92a5(0x10a),_0x5e92a5(0x133),_0x5e92a5(0x303),_0x5e92a5(0x18e),_0x5e92a5(0x29c),'@univerjs-pro/collaboration',_0x5e92a5(0x20f),_0x5e92a5(0x1c9),_0x5e92a5(0x143),_0x5e92a5(0x2c7),'@univerjs/data-validation','@univerjs/sheets-conditional-formatting',_0x5e92a5(0x309),_0x5e92a5(0x221)],_0x1e2dd6):(_0x22beff=typeof globalThis<'u'?globalThis:_0x22beff||self,_0x1e2dd6(_0x22beff[_0x5e92a5(0x1ed)]={},_0x22beff[_0x5e92a5(0x141)],_0x22beff['UniverCollaborationClient'],_0x22beff[_0x5e92a5(0x20b)],_0x22beff[_0x5e92a5(0x164)],_0x22beff['UniverEngineRender'],_0x22beff[_0x5e92a5(0x153)],_0x22beff[_0x5e92a5(0x333)],_0x22beff[_0x5e92a5(0x22f)],_0x22beff[_0x5e92a5(0x20f)],_0x22beff['UniverDesign'],_0x22beff[_0x5e92a5(0x2b7)],_0x22beff[_0x5e92a5(0x273)],_0x22beff[_0x5e92a5(0x1bc)],_0x22beff[_0x5e92a5(0x306)],_0x22beff[_0x5e92a5(0x246)],_0x22beff[_0x5e92a5(0x221)]));}(this,function(_0x2c07d5,_0x50b7ba,_0xf40a3,_0x47f94c,_0x68749e,_0x3448ac,_0x50cd4d,_0x4c8a4e,_0x1735f2,_0xab6927,_0x14dedb,_0x44dd6f,_0x209d9e,_0x4c1998,_0x3902cb,_0x2eedfc,_0x2aba8f){'use strict';const _0xe41171=_0x3adb;var _0x300f02=Object['defineProperty'],_0x35ec2f=(_0x4efeca,_0x170766,_0x127f80)=>_0x170766 in _0x4efeca?_0x300f02(_0x4efeca,_0x170766,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x127f80}):_0x4efeca[_0x170766]=_0x127f80,_0x1753ce=(_0xfb1108,_0x3559ea,_0x25e0a2)=>_0x35ec2f(_0xfb1108,typeof _0x3559ea!='symbol'?_0x3559ea+'':_0x3559ea,_0x25e0a2);const _0x3b2db5=(_0x569237,_0x36992d)=>{const _0x3f3c2b=_0x3adb;if(!_0x569237)return{'date':'','time':''};const _0x32eded=new Date(_0x569237),_0x4124a9=_0x32eded['toISOString']()[_0x3f3c2b(0x144)]('T')[0x0];switch(_0x36992d){case _0x50b7ba[_0x3f3c2b(0x28d)][_0x3f3c2b(0x1bf)]:return{'date':_0x367093(_0x4124a9,_0x36992d),'time':_0x32eded[_0x3f3c2b(0x1ae)]()+':'+String(_0x32eded[_0x3f3c2b(0x130)]())[_0x3f3c2b(0x21f)](0x2,'0')};default:return{'date':_0x367093(_0x4124a9,_0x36992d),'time':_0x32eded[_0x3f3c2b(0x1ae)]()+':'+_0x32eded[_0x3f3c2b(0x130)]()};}},_0x3c6b69=(_0x4dc797,_0x541d2c)=>{const _0x3b15fb=_0x3adb,_0x3c6858=_0x4dc797[_0x3b15fb(0x12b)]||_0x541d2c['t'](_0x3b15fb(0x1a7));if(_0x4dc797[_0x3b15fb(0x32b)][_0x3b15fb(0x2e7)](_0x3bb07a=>_0x3bb07a===_0x1735f2['RevertRevisionMutation']['id'])&&_0x4dc797[_0x3b15fb(0x2f7)]){const _0x2c82cf=_0x3b2db5(_0x4dc797['recoverTime'],_0x541d2c[_0x3b15fb(0x17c)]()),_0x3ab076=_0x2c82cf['date']+'\x20'+_0x2c82cf[_0x3b15fb(0x1d0)];return _0x3c6858+'\x20'+_0x541d2c['t'](_0x3b15fb(0x1e6))+'\x20'+_0x3ab076+'\x20'+_0x541d2c['t'](_0x3b15fb(0x28a));}const _0x4a10e2=_0x31321f(_0x4dc797),_0x1ebcd9=_0x4a10e2[_0x3b15fb(0x322)]===0x1?_0x541d2c['t'](_0x4a10e2[0x0]):''+_0x541d2c['t'](_0x4a10e2[0x0])+_0x541d2c['t'](_0x3b15fb(0x283));return _0x3c6858+'\x20'+_0x1ebcd9;};function _0x31321f(_0x20be10){const _0x52fff6=_0x3adb;if(_0x20be10[_0x52fff6(0x32b)][_0x52fff6(0x322)]===0x0)return[''];const _0x314e5e=_0x52fff6(0x2c1),_0x4b9bd9=_0x314e5e+_0x52fff6(0x293),_0x36aa2e=[{'id':_0x1735f2[_0x52fff6(0x292)]['id'],'action':_0x314e5e+'createSheet'},{'id':_0x1735f2[_0x52fff6(0x238)]['id'],'action':_0x314e5e+'revertSheet'},{'id':_0x44dd6f['InsertSheetMutation']['id'],'action':_0x314e5e+_0x52fff6(0x227)},{'id':_0x44dd6f[_0x52fff6(0x1b8)]['id'],'action':_0x314e5e+_0x52fff6(0x2bd)},{'id':_0x44dd6f[_0x52fff6(0x147)]['id'],'action':_0x314e5e+_0x52fff6(0x257)},{'id':_0x209d9e[_0x52fff6(0x17a)]['id'],'action':_0x314e5e+_0x52fff6(0x248)},{'id':_0x4c1998[_0x52fff6(0x2e9)]['id'],'action':_0x314e5e+_0x52fff6(0x1a3)},{'id':_0x4c1998[_0x52fff6(0x25f)]['id'],'action':_0x314e5e+_0x52fff6(0x1a3)},{'id':_0x3902cb[_0x52fff6(0x1b4)]['id'],'action':_0x314e5e+_0x52fff6(0x2d4)},{'id':_0x3902cb[_0x52fff6(0x233)]['id'],'action':_0x314e5e+_0x52fff6(0x2d4)},{'id':_0x44dd6f[_0x52fff6(0x13b)]['id'],'action':_0x314e5e+'addProtection'},{'id':_0x44dd6f[_0x52fff6(0x1f6)]['id'],'action':_0x314e5e+_0x52fff6(0x232)},{'id':_0x44dd6f[_0x52fff6(0x2af)]['id'],'action':_0x314e5e+_0x52fff6(0x1c6)},{'id':_0x44dd6f['DeleteWorksheetProtectionMutation']['id'],'action':_0x314e5e+_0x52fff6(0x1c6)}][_0x52fff6(0x1fa)](_0x52b77f=>_0x20be10[_0x52fff6(0x32b)]['includes'](_0x52b77f['id']));return _0x36aa2e!=null&&_0x36aa2e['length']?_0x36aa2e[_0x52fff6(0x162)](_0x220970=>_0x220970[_0x52fff6(0x1cf)]):[_0x4b9bd9];}function _0x367093(_0x4a5ee3,_0x4dc855){const _0xb156b9=_0x3adb,[_0x58f59a,_0x63a1e9,_0x345867]=new Date()[_0xb156b9(0x1c3)]()[_0xb156b9(0x144)]('T')[0x0][_0xb156b9(0x144)]('-'),[_0x267926,_0x3c2404,_0x434241]=_0x4a5ee3[_0xb156b9(0x144)]('-'),_0x2904cb=_0x58f59a===_0x267926&&_0x63a1e9===_0x3c2404&&_0x345867===_0x434241;let _0x12dae1='',_0x3cc4cd='',_0x2b5788='';switch(_0x4dc855){case _0x50b7ba[_0xb156b9(0x28d)][_0xb156b9(0x1bf)]:return _0x2904cb?'今天':(_0x12dae1=_0x58f59a===_0x267926?'':_0x267926+'年',_0x3cc4cd=_0x3c2404+'月',_0x2b5788=_0x434241+'日',''+_0x12dae1+_0x3cc4cd+_0x2b5788);default:return _0x2904cb?_0xb156b9(0x2a1):(_0x12dae1=_0x58f59a===_0x267926?'':_0x267926+'-',_0x3cc4cd=_0x3c2404+'-',_0x2b5788=''+_0x434241,''+_0x12dae1+_0x3cc4cd+_0x2b5788);}}function _0x3fca1f(_0x2eae6e){const _0x529f71=_0x3adb;return _0x2eae6e?_0x2eae6e[_0x529f71(0x2eb)]((_0x2c5fa1,_0x1bf203)=>{const _0x7e7d87=_0x529f71,_0x99783d=new Date(_0x1bf203[_0x7e7d87(0x1d0)])['toISOString']()[_0x7e7d87(0x144)]('T')[0x0];return _0x2c5fa1[_0x7e7d87(0x322)]>0x0&&_0x2c5fa1[_0x2c5fa1[_0x7e7d87(0x322)]-0x1][_0x7e7d87(0x265)]===_0x99783d?_0x2c5fa1[_0x2c5fa1[_0x7e7d87(0x322)]-0x1][_0x7e7d87(0x206)][_0x7e7d87(0x120)](_0x1bf203):_0x2c5fa1[_0x7e7d87(0x120)]({'dateString':_0x99783d,'versions':[_0x1bf203]}),_0x2c5fa1;},[]):[];}var _0x346900=(_0x380d11=>(_0x380d11[_0x380d11[_0xe41171(0x23e)]=0x0]=_0xe41171(0x23e),_0x380d11[_0x380d11['OK']=0x1]='OK',_0x380d11[_0x380d11[_0xe41171(0x215)]=0x2]='INTERNAL_ERROR',_0x380d11[_0x380d11[_0xe41171(0x262)]=0x3]=_0xe41171(0x262),_0x380d11[_0x380d11[_0xe41171(0x2b1)]=0x4]=_0xe41171(0x2b1),_0x380d11[_0x380d11['UNAUTHENTICATED']=0x5]=_0xe41171(0x274),_0x380d11[_0x380d11[_0xe41171(0x10b)]=0x6]=_0xe41171(0x10b),_0x380d11[_0x380d11[_0xe41171(0x15d)]=0x7]=_0xe41171(0x15d),_0x380d11[_0x380d11[_0xe41171(0x1cb)]=0x8]=_0xe41171(0x1cb),_0x380d11[_0x380d11['COMPLETION_FINISHED']=0x9]=_0xe41171(0x1a9),_0x380d11[_0x380d11[_0xe41171(0x2cc)]=0x1389]=_0xe41171(0x2cc),_0x380d11[_0x380d11[_0xe41171(0x2a4)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x380d11[_0x380d11[_0xe41171(0x299)]=0x1772]=_0xe41171(0x299),_0x380d11[_0x380d11[_0xe41171(0x277)]=0x1b59]=_0xe41171(0x277),_0x380d11[_0x380d11[_0xe41171(0x314)]=0x1b5a]=_0xe41171(0x314),_0x380d11[_0x380d11[_0xe41171(0x26c)]=0x1b5b]=_0xe41171(0x26c),_0x380d11[_0x380d11[_0xe41171(0x2b9)]=0x1b5c]=_0xe41171(0x2b9),_0x380d11[_0x380d11[_0xe41171(0x14f)]=0x1f41]=_0xe41171(0x14f),_0x380d11[_0x380d11[_0xe41171(0x220)]=0x2329]=_0xe41171(0x220),_0x380d11[_0x380d11[_0xe41171(0x1a6)]=0x232a]=_0xe41171(0x1a6),_0x380d11[_0x380d11[_0xe41171(0x2d9)]=0x232b]=_0xe41171(0x2d9),_0x380d11[_0x380d11[_0xe41171(0x298)]=0x232c]=_0xe41171(0x298),_0x380d11[_0x380d11[_0xe41171(0x192)]=0x232d]=_0xe41171(0x192),_0x380d11[_0x380d11[_0xe41171(0x1e7)]=0x2711]=_0xe41171(0x1e7),_0x380d11[_0x380d11[_0xe41171(0x25c)]=0x2712]=_0xe41171(0x25c),_0x380d11[_0x380d11[_0xe41171(0x258)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x380d11[_0x380d11[_0xe41171(0x324)]=0x2714]=_0xe41171(0x324),_0x380d11[_0x380d11[_0xe41171(0x27e)]=-0x1]=_0xe41171(0x27e),_0x380d11))(_0x346900||{});function _0x9f2376(_0x1ce977){const _0x1650cd=_0xe41171;return!!(_0x1ce977&&_0x1ce977[_0x1650cd(0x209)]&&_0x1ce977[_0x1650cd(0x209)]!==_0x346900['OK']&&_0x1ce977[_0x1650cd(0x209)]!=='OK');}var _0x479863=(_0x29f379=>(_0x29f379[_0x29f379['UNIVER_UNKNOWN']=0x0]=_0xe41171(0x177),_0x29f379[_0x29f379[_0xe41171(0x179)]=0x1]=_0xe41171(0x179),_0x29f379[_0x29f379[_0xe41171(0x2e2)]=0x2]='UNIVER_SHEET',_0x29f379[_0x29f379[_0xe41171(0x1af)]=0x3]='UNIVER_SLIDE',_0x29f379[_0x29f379['UNIVER_PROJECT']=0x4]=_0xe41171(0x1d2),_0x29f379[_0x29f379[_0xe41171(0x27e)]=-0x1]='UNRECOGNIZED',_0x29f379))(_0x479863||{}),_0x538a6f=(_0x212934=>(_0x212934[_0x212934['View']=0x0]=_0xe41171(0x16e),_0x212934[_0x212934['Edit']=0x1]=_0xe41171(0x13e),_0x212934[_0x212934[_0xe41171(0x210)]=0x2]='ManageCollaborator',_0x212934[_0x212934[_0xe41171(0x12f)]=0x3]='Print',_0x212934[_0x212934['Duplicate']=0x4]=_0xe41171(0x268),_0x212934[_0x212934[_0xe41171(0x30b)]=0x5]=_0xe41171(0x30b),_0x212934[_0x212934[_0xe41171(0x1b7)]=0x6]=_0xe41171(0x1b7),_0x212934[_0x212934[_0xe41171(0x1d8)]=0x7]=_0xe41171(0x1d8),_0x212934[_0x212934['Export']=0x8]=_0xe41171(0x29e),_0x212934[_0x212934[_0xe41171(0x117)]=0x9]=_0xe41171(0x117),_0x212934[_0x212934[_0xe41171(0x15b)]=0xa]=_0xe41171(0x15b),_0x212934[_0x212934[_0xe41171(0x2fe)]=0xb]='HideWorksheet',_0x212934[_0x212934[_0xe41171(0x2ee)]=0xc]='RenameWorksheet',_0x212934[_0x212934['CreateWorksheet']=0xd]=_0xe41171(0x218),_0x212934[_0x212934['SetWorksheetStyle']=0xe]='SetWorksheetStyle',_0x212934[_0x212934['EditWorksheetCell']=0xf]=_0xe41171(0x29a),_0x212934[_0x212934['InsertHyperlink']=0x10]=_0xe41171(0x11b),_0x212934[_0x212934[_0xe41171(0x1b3)]=0x11]=_0xe41171(0x1b3),_0x212934[_0x212934[_0xe41171(0x28e)]=0x12]=_0xe41171(0x28e),_0x212934[_0x212934[_0xe41171(0x311)]=0x13]=_0xe41171(0x311),_0x212934[_0x212934[_0xe41171(0x26f)]=0x14]=_0xe41171(0x26f),_0x212934[_0x212934['History']=0x15]=_0xe41171(0x182),_0x212934[_0x212934[_0xe41171(0x137)]=0x16]=_0xe41171(0x137),_0x212934[_0x212934[_0xe41171(0x150)]=0x17]=_0xe41171(0x150),_0x212934[_0x212934[_0xe41171(0x194)]=0x18]=_0xe41171(0x194),_0x212934[_0x212934[_0xe41171(0x211)]=0x19]=_0xe41171(0x211),_0x212934[_0x212934['DeleteSheet']=0x1a]='DeleteSheet',_0x212934[_0x212934[_0xe41171(0x152)]=0x1b]=_0xe41171(0x152),_0x212934[_0x212934[_0xe41171(0x2c6)]=0x1c]=_0xe41171(0x2c6),_0x212934[_0x212934[_0xe41171(0x1ec)]=0x1d]=_0xe41171(0x1ec),_0x212934[_0x212934[_0xe41171(0x26b)]=0x1e]=_0xe41171(0x26b),_0x212934[_0x212934['SelectProtectedCells']=0x1f]=_0xe41171(0x2b0),_0x212934[_0x212934[_0xe41171(0x1f7)]=0x20]=_0xe41171(0x1f7),_0x212934[_0x212934[_0xe41171(0x188)]=0x21]=_0xe41171(0x188),_0x212934[_0x212934[_0xe41171(0x1ea)]=0x22]=_0xe41171(0x1ea),_0x212934[_0x212934[_0xe41171(0x1dc)]=0x23]=_0xe41171(0x1dc),_0x212934[_0x212934[_0xe41171(0x190)]=0x24]=_0xe41171(0x190),_0x212934[_0x212934['InsertRow']=0x25]='InsertRow',_0x212934[_0x212934[_0xe41171(0x2ec)]=0x26]=_0xe41171(0x2ec),_0x212934[_0x212934['DeleteRow']=0x27]='DeleteRow',_0x212934[_0x212934[_0xe41171(0x2c4)]=0x28]=_0xe41171(0x2c4),_0x212934[_0x212934[_0xe41171(0x1b9)]=0x29]=_0xe41171(0x1b9),_0x212934[_0x212934['Delete']=0x2a]=_0xe41171(0x1b5),_0x212934[_0x212934[_0xe41171(0x129)]=0x2b]='RecoverHistory',_0x212934[_0x212934[_0xe41171(0x160)]=0x2c]=_0xe41171(0x160),_0x212934[_0x212934[_0xe41171(0x27e)]=-0x1]='UNRECOGNIZED',_0x212934))(_0x538a6f||{}),_0x25dca4=Object[_0xe41171(0x142)],_0x54bb0c=Object['getOwnPropertyDescriptor'],_0x3279c5=(_0x4253f4,_0x2d4edc,_0x2d0017,_0x27c19b)=>{const _0x1602fa=_0xe41171;for(var _0x750c18=_0x27c19b>0x1?void 0x0:_0x27c19b?_0x54bb0c(_0x2d4edc,_0x2d0017):_0x2d4edc,_0x160b88=_0x4253f4[_0x1602fa(0x322)]-0x1,_0x190921;_0x160b88>=0x0;_0x160b88--)(_0x190921=_0x4253f4[_0x160b88])&&(_0x750c18=(_0x27c19b?_0x190921(_0x2d4edc,_0x2d0017,_0x750c18):_0x190921(_0x750c18))||_0x750c18);return _0x27c19b&&_0x750c18&&_0x25dca4(_0x2d4edc,_0x2d0017,_0x750c18),_0x750c18;},_0x40e63b=(_0xbc827,_0x2a83a1)=>(_0x2c0518,_0x585790)=>_0x2a83a1(_0x2c0518,_0x585790,_0xbc827);const _0x1730df=_0xe41171(0x216),_0x17bc7d=_0xe41171(0x2ae);let _0x38b717=class extends _0x50b7ba[_0xe41171(0x20c)]{constructor(_0x202f93,_0x37eb26,_0x55051e,_0x53d771,_0x13f603,_0x8c1362){const _0x8bb851=_0xe41171;super(),_0x1753ce(this,'_workbookDataCache',new Map()),(this[_0x8bb851(0x14d)]=_0x202f93,this['_univerInstanceService']=_0x37eb26,this[_0x8bb851(0x22e)]=_0x55051e,this[_0x8bb851(0x327)]=_0x53d771,this[_0x8bb851(0x14a)]=_0x13f603,this[_0x8bb851(0x296)]=_0x8c1362);}[_0xe41171(0x1f0)](){const _0x45a650=_0xe41171;this[_0x45a650(0x18c)][_0x45a650(0x12d)](),super[_0x45a650(0x1f0)]();}async[_0xe41171(0x21b)](_0x2f3225,_0x380092){const _0x353291=_0xe41171,_0xe23414=this[_0x353291(0x2ce)]()+'/'+_0x2f3225+_0x353291(0x2cf)+(_0x380092?'&lastLabel='+_0x380092:'');try{const _0x5691fc=(await this['_httpService'][_0x353291(0x148)](_0xe23414))[_0x353291(0x25e)];if(_0x5691fc&&_0x5691fc['error']&&_0x5691fc[_0x353291(0x113)][_0x353291(0x209)]===_0x346900['OK']){const {hasMore:_0x2985f6,lastLabel:_0x5212ac}=_0x5691fc,_0x3aa341=_0x195555(_0x5691fc),_0x50ff02=_0x5691fc['entities']['users'];return{'hasMore':_0x2985f6,'lastLabel':_0x5212ac,'versions':_0x3aa341,'members':_0x50ff02};}}catch(_0x8b69e6){console['error'](_0x8b69e6);}return null;}[_0xe41171(0x2ce)](){const _0x4edef3=_0xe41171;var _0x30170e;return(_0x30170e=this['_configService'][_0x4edef3(0x166)](_0x1730df))!=null?_0x30170e:_0x17bc7d;}async['loadSheet'](_0x3deac9,_0x1335fc,_0x6e2d92){const _0xbe3b5d=_0xe41171;var _0x4e3cbc,_0x1e06b0;_0x6e2d92===void 0x0&&(_0x6e2d92={}),this[_0xbe3b5d(0x18c)]['has'](_0x3deac9)||this['_workbookDataCache'][_0xbe3b5d(0x1b6)](_0x3deac9,new Map());const {snapshot:_0x1a9990,changesets:_0x30aa99,error:_0x1906e8}=await this[_0xbe3b5d(0x14d)][_0xbe3b5d(0x222)](_0x6e2d92,{'unitID':_0x3deac9,'type':_0x479863['UNIVER_SHEET'],'revision':_0x1335fc});if(_0x9f2376(_0x1906e8)||!_0x1a9990||!_0x1a9990[_0xbe3b5d(0x212)])throw new Error(_0xbe3b5d(0x26a));const _0x2695cc=(_0x4e3cbc=_0x30aa99==null?void 0x0:_0x30aa99[_0xbe3b5d(0x322)])!=null?_0x4e3cbc:0x0;if(_0x1335fc!==0x0&&_0x1a9990[_0xbe3b5d(0x1e4)]+_0x2695cc!==_0x1335fc)throw new Error(_0xbe3b5d(0x285));const {workbook:_0x28bbd9}=_0x1a9990,_0xfa6bb7=_0x28bbd9[_0xbe3b5d(0x2f3)]?Object[_0xbe3b5d(0x199)](_0x28bbd9[_0xbe3b5d(0x2f3)])[_0xbe3b5d(0x162)](([_0x49e7a4,_0x138c85])=>{const _0x28cc3c=_0xbe3b5d;var _0x2d10dd,_0x1d7fa5;return(_0x1d7fa5=(_0x2d10dd=_0x138c85[_0x28cc3c(0x20d)])==null?void 0x0:_0x2d10dd['map'](_0xd36df=>_0xd36df))!=null?_0x1d7fa5:[];})['flat']():[],_0x50577d=(await Promise[_0xbe3b5d(0x2f5)](_0xfa6bb7[_0xbe3b5d(0x162)](_0x4e4e24=>this[_0xbe3b5d(0x14d)][_0xbe3b5d(0x2b2)](_0x6e2d92,{'unitID':_0x3deac9,'type':_0x479863[_0xbe3b5d(0x2e2)],'blockID':_0x4e4e24})[_0xbe3b5d(0x32a)](_0x28b450=>_0x28b450[_0xbe3b5d(0x2dc)]))))[_0xbe3b5d(0x1fa)](_0x48bd62=>!!_0x48bd62),_0x65c1ed=_0x1735f2[_0xbe3b5d(0x294)](_0x1a9990,_0x50577d,_0x6e2d92);return(_0x1e06b0=this[_0xbe3b5d(0x18c)][_0xbe3b5d(0x148)](_0x3deac9))==null||_0x1e06b0['set'](_0x1335fc,{'workbook':_0x65c1ed}),new Promise(_0x475f56=>{const _0x4f7fbe=_0xbe3b5d,_0x24499a=this[_0x4f7fbe(0x1ac)]['getCurrentUnitForType'](_0x50b7ba['UniverInstanceType'][_0x4f7fbe(0x2e2)]);_0x24499a?(this['_univerInstanceService'][_0x4f7fbe(0x146)](_0x24499a[_0x4f7fbe(0x330)]()),setTimeout(()=>{const _0xbbdd10=_0x4f7fbe;this[_0xbbdd10(0x105)](_0x65c1ed,_0x30aa99),_0x475f56(!0x0);},0x0)):(this[_0x4f7fbe(0x105)](_0x65c1ed,_0x30aa99),_0x475f56(!0x0));});}[_0xe41171(0x105)](_0x227551,_0x1e3a97){const _0x21abe5=_0xe41171,_0x31326d=this['_univerInstanceService']['createUnit'](_0x50b7ba['UniverInstanceType'][_0x21abe5(0x2e2)],_0x227551);this[_0x21abe5(0x1ac)][_0x21abe5(0x313)](_0x31326d['getUnitId']());const _0x563231=this[_0x21abe5(0x296)][_0x21abe5(0x2d3)][_0x21abe5(0x2ac)](this['_compressMutationService'][_0x21abe5(0x2d3)][_0x21abe5(0x236)]()[_0x21abe5(0x19b)]);return _0x1e3a97==null||_0x1e3a97[_0x21abe5(0x2f4)](_0x3b57f3=>{const _0x2b4e63=_0x21abe5,_0x4c0a6d=_0x3b57f3[_0x2b4e63(0x2e0)][_0x2b4e63(0x162)](_0x579cb5=>({'id':_0x579cb5['id'],'params':JSON[_0x2b4e63(0x169)](_0x579cb5[_0x2b4e63(0x1c7)])}));({..._0x3b57f3,'mutations':_0x563231(_0x4c0a6d,null)||_0x4c0a6d}['mutations']['forEach'](_0x580e5b=>{const _0xd6eb23=_0x2b4e63;this[_0xd6eb23(0x22e)]['hasCommand'](_0x580e5b['id'])&&this[_0xd6eb23(0x22e)][_0xd6eb23(0x170)](_0x580e5b['id'],_0x580e5b[_0xd6eb23(0x219)]);}));}),_0x31326d;}};_0x38b717=_0x3279c5([_0x40e63b(0x0,_0x1735f2[_0xe41171(0x241)]),_0x40e63b(0x1,_0x50b7ba['IUniverInstanceService']),_0x40e63b(0x2,_0x50b7ba[_0xe41171(0x214)]),_0x40e63b(0x3,_0x50b7ba['IConfigService']),_0x40e63b(0x4,_0x50b7ba['Inject'](_0x47f94c[_0xe41171(0x31a)])),_0x40e63b(0x5,_0x50b7ba[_0xe41171(0x139)](_0x1735f2[_0xe41171(0x29f)]))],_0x38b717);function _0x195555(_0x420748){const _0x10bd02=_0xe41171;var _0x21fbfb,_0xc555e6;const _0xea3043=[],{entities:_0x387173,historyIds:_0xdb4bb3}=_0x420748,{datas:_0x13ca3f,users:_0x55a9c3}=_0x387173;for(const _0x47fc8f of _0xdb4bb3)if(_0x13ca3f[_0x47fc8f]){const _0x58338b=!!((_0x21fbfb=_0x55a9c3[_0x13ca3f[_0x47fc8f]['userId']])!=null&&_0x21fbfb[_0x10bd02(0x2b6)]);_0xea3043[_0x10bd02(0x120)]({'unitId':_0x13ca3f[_0x47fc8f]['unitId'],'user':_0x58338b?'':((_0xc555e6=_0x55a9c3==null?void 0x0:_0x55a9c3[_0x13ca3f[_0x47fc8f][_0x10bd02(0x2e8)]])==null?void 0x0:_0xc555e6['name'])||'','isAnonymous':_0x58338b,'id':_0x47fc8f,'time':_0x13ca3f[_0x47fc8f]['createTime']?Number(_0x13ca3f[_0x47fc8f][_0x10bd02(0x308)]):void 0x0,'commands':_0x13ca3f[_0x47fc8f][_0x10bd02(0x28b)],'startRev':Number(_0x13ca3f[_0x47fc8f]['startRevision']),'endRev':Number(_0x13ca3f[_0x47fc8f][_0x10bd02(0x1b2)]),'recoverTime':_0x13ca3f[_0x47fc8f][_0x10bd02(0x2f7)]?Number(_0x13ca3f[_0x47fc8f][_0x10bd02(0x2f7)]):void 0x0});}return _0xea3043;}var _0x50f259=Object['defineProperty'],_0x1fab46=Object[_0xe41171(0x167)],_0x106b5f=(_0x3f9bcd,_0x11a137,_0x44df96,_0x3757f7)=>{const _0x539a73=_0xe41171;for(var _0xb19d30=_0x3757f7>0x1?void 0x0:_0x3757f7?_0x1fab46(_0x11a137,_0x44df96):_0x11a137,_0x523c6f=_0x3f9bcd[_0x539a73(0x322)]-0x1,_0x3a2899;_0x523c6f>=0x0;_0x523c6f--)(_0x3a2899=_0x3f9bcd[_0x523c6f])&&(_0xb19d30=(_0x3757f7?_0x3a2899(_0x11a137,_0x44df96,_0xb19d30):_0x3a2899(_0xb19d30))||_0xb19d30);return _0x3757f7&&_0xb19d30&&_0x50f259(_0x11a137,_0x44df96,_0xb19d30),_0xb19d30;},_0x1ee0fa=(_0x9e59a3,_0x40ec7b)=>(_0x8daf1,_0x21bb81)=>_0x40ec7b(_0x8daf1,_0x21bb81,_0x9e59a3),_0x50af33=(_0x488986=>(_0x488986['Entered']=_0xe41171(0x118),_0x488986[_0xe41171(0x31d)]=_0xe41171(0x1da),_0x488986['Error']='error',_0x488986))(_0x50af33||{}),_0x5e3ffc=(_0x30df42=>(_0x30df42['Init']=_0xe41171(0x1b1),_0x30df42['Loading']=_0xe41171(0x316),_0x30df42[_0xe41171(0x122)]=_0xe41171(0x178),_0x30df42))(_0x5e3ffc||{});const _0x1901f1=_0xe41171(0x23a);_0x2c07d5[_0xe41171(0x1a5)]=class extends _0x50b7ba[_0xe41171(0x20c)]{constructor(_0xda4e7a,_0x45aecf,_0xf3286b,_0x3acd75){const _0x5e709e=_0xe41171;super(),_0x1753ce(this,'_versions$',new _0xab6927[(_0x5e709e(0x1c1))]([])),_0x1753ce(this,_0x5e709e(0x14e),this[_0x5e709e(0x253)][_0x5e709e(0x31f)]()),_0x1753ce(this,_0x5e709e(0x329),new _0xab6927['BehaviorSubject']('')),_0x1753ce(this,_0x5e709e(0x235),this['_currentVersion$'][_0x5e709e(0x31f)]()),_0x1753ce(this,_0x5e709e(0x131),new _0xab6927['BehaviorSubject'](_0x5e709e(0x118))),_0x1753ce(this,_0x5e709e(0x1e0),this[_0x5e709e(0x131)][_0x5e709e(0x31f)]()),_0x1753ce(this,'_revertRevision$',new _0xab6927[(_0x5e709e(0x1c1))](0x0)),_0x1753ce(this,_0x5e709e(0x1d9),this[_0x5e709e(0x271)]['asObservable']()),_0x1753ce(this,_0x5e709e(0x10e),new _0xab6927['BehaviorSubject']('')),_0x1753ce(this,_0x5e709e(0x2ba),this[_0x5e709e(0x10e)]['asObservable']()),_0x1753ce(this,'_fetching',!0x1),_0x1753ce(this,'_loadingState$',new _0xab6927[(_0x5e709e(0x1c1))]('init')),_0x1753ce(this,_0x5e709e(0x157),this[_0x5e709e(0x2d0)]['asObservable']()),_0x1753ce(this,_0x5e709e(0x26d),null),_0x1753ce(this,_0x5e709e(0x165),!0x0),_0x1753ce(this,_0x5e709e(0x17f),new Map()),_0x1753ce(this,_0x5e709e(0x217)),_0x1753ce(this,'_maskContainer'),_0x1753ce(this,_0x5e709e(0x278)),_0x1753ce(this,_0x5e709e(0x2a0),!0x1),(this['_messageService']=_0xda4e7a,this[_0x5e709e(0x27d)]=_0x45aecf,this[_0x5e709e(0x255)]=_0xf3286b,this[_0x5e709e(0x176)]=_0x3acd75);}async[_0xe41171(0x2e6)](_0x113338,_0x22f592,_0x3d3fb4){const _0xb9237f=_0xe41171;this[_0xb9237f(0x217)]=_0x22f592,this[_0xb9237f(0x2a0)]=_0x3d3fb4,this[_0xb9237f(0x10e)][_0xb9237f(0x1d7)](_0x113338),this[_0xb9237f(0x2f0)]=!0x0;const _0x295e09=await this['_historyFetchService'][_0xb9237f(0x21b)](_0x113338);if(this['_fetching']=!0x1,_0x295e09){const {versions:_0x432e61,lastLabel:_0x2322ee,hasMore:_0x3cae60,members:_0x1c6df3}=_0x295e09;_0x432e61['length']===0x0&&_0x432e61[_0xb9237f(0x120)]({'unitId':_0x113338,'id':_0x1901f1,'startRev':0x1,'endRev':0x0,'time':Date['now'](),'user':this[_0xb9237f(0x255)]['t'](_0xb9237f(0x2ed)),'commands':[],'isAnonymous':!0x1}),this[_0xb9237f(0x135)](_0x432e61,_0x3cae60,_0x2322ee,_0x1c6df3),this['_currentVersion$'][_0xb9237f(0x1d7)](_0x432e61[0x0]['id']);}else this[_0xb9237f(0x131)][_0xb9237f(0x1d7)]('error');}async[_0xe41171(0x24d)](){const _0x17be0a=_0xe41171;if(!this[_0x17be0a(0x26d)]||!this[_0x17be0a(0x165)]||this[_0x17be0a(0x2f0)])return!0x1;this[_0x17be0a(0x2f0)]=!0x0;const _0x5977db=await this[_0x17be0a(0x176)]['getVersions'](this[_0x17be0a(0x134)],this[_0x17be0a(0x26d)]);if(this[_0x17be0a(0x2f0)]=!0x1,_0x5977db){const {versions:_0xf280aa,lastLabel:_0x3a20a3,hasMore:_0x15f999,members:_0x5882ab}=_0x5977db;this[_0x17be0a(0x135)](_0xf280aa,_0x15f999,_0x3a20a3,_0x5882ab);}else this['_messageService'][_0x17be0a(0x2ef)]({'content':this['_localeService']['t'](_0x17be0a(0x297)),'type':_0x14dedb[_0x17be0a(0x19d)][_0x17be0a(0x163)],'duration':0xbb8});return!0x0;}async[_0xe41171(0x256)](_0x1567d1){const _0x71a5ca=_0xe41171;var _0x3432fd;const _0x44a642=(_0x3432fd=this[_0x71a5ca(0x253)]['value'])==null?void 0x0:_0x3432fd[_0x71a5ca(0x13f)](_0x47e70d=>_0x47e70d['id']===_0x1567d1),{endRev:_0x2b4acf}=_0x44a642||{};_0x2b4acf||_0x2b4acf===0x0?(this[_0x71a5ca(0x2d0)][_0x71a5ca(0x1d7)](_0x71a5ca(0x316)),await this['_historyFetchService']['loadSheet'](this['unitId'],_0x2b4acf),this[_0x71a5ca(0x2d0)][_0x71a5ca(0x1d7)](_0x71a5ca(0x178))):this[_0x71a5ca(0x131)][_0x71a5ca(0x1d7)](_0x71a5ca(0x113));}async[_0xe41171(0x138)](_0x576e0d){const _0x5371af=_0xe41171,_0x40ac7c=_0x576e0d?this[_0x5371af(0x1fc)](_0x576e0d):this[_0x5371af(0x2b3)]();if(!_0x40ac7c)return;const _0x471946=_0x40ac7c[_0x5371af(0x205)],_0x1781f0=_0x3b2db5(_0x40ac7c[_0x5371af(0x1d0)],this[_0x5371af(0x255)][_0x5371af(0x17c)]());await this[_0x5371af(0x27d)]['confirm']({'id':'confirm-revert-revision','title':{'title':this[_0x5371af(0x255)]['t'](_0x5371af(0x17e))},'children':{'title':this[_0x5371af(0x255)]['t'](_0x5371af(0x291))+_0x5371af(0x124)+_0x1781f0[_0x5371af(0x2f6)]+'\x20'+_0x1781f0[_0x5371af(0x1d0)]+')'}})&&this[_0x5371af(0x271)][_0x5371af(0x1d7)](_0x471946);}[_0xe41171(0x135)](_0x40074b,_0x5b18f6,_0x4d1428,_0xb8ec3e){const _0x13b761=_0xe41171;this[_0x13b761(0x253)]['next'](this[_0x13b761(0x253)]['value'][_0x13b761(0x203)](_0x40074b)),this[_0x13b761(0x165)]=_0x5b18f6,this[_0x13b761(0x26d)]=_0x4d1428,_0xb8ec3e&&Object[_0x13b761(0x181)](_0xb8ec3e)[_0x13b761(0x2f4)](_0x51bb34=>this[_0x13b761(0x17f)][_0x13b761(0x1b6)](_0x51bb34,_0xb8ec3e[_0x51bb34]));}[_0xe41171(0x2b3)](){const _0x2d934b=_0xe41171;return this[_0x2d934b(0x1fc)](this[_0x2d934b(0x329)]['value']);}['getVersion'](_0xd83be7){const _0x2fa650=_0xe41171;var _0xb38786;return(_0xb38786=this[_0x2fa650(0x253)][_0x2fa650(0x2a3)])==null?void 0x0:_0xb38786[_0x2fa650(0x13f)](_0x4f9c3c=>_0x4f9c3c['id']===_0xd83be7);}[_0xe41171(0x184)](_0x32cc1d){const _0x526c34=_0xe41171;return this[_0x526c34(0x17f)][_0x526c34(0x148)](_0x32cc1d);}[_0xe41171(0x263)](){const _0x1a4ad5=_0xe41171;this[_0x1a4ad5(0x278)]=document[_0x1a4ad5(0x13d)](_0x1a4ad5(0x305)),this[_0x1a4ad5(0x278)][_0x1a4ad5(0x12c)]='history-mask',this[_0x1a4ad5(0x278)]['style'][_0x1a4ad5(0x226)]=_0x1a4ad5(0x2e4),this[_0x1a4ad5(0x278)][_0x1a4ad5(0x321)]['top']='0',this[_0x1a4ad5(0x278)][_0x1a4ad5(0x321)][_0x1a4ad5(0x251)]='0',this[_0x1a4ad5(0x278)][_0x1a4ad5(0x321)][_0x1a4ad5(0x180)]=_0x1a4ad5(0x114),this[_0x1a4ad5(0x278)][_0x1a4ad5(0x321)][_0x1a4ad5(0x2ca)]=_0x1a4ad5(0x114),this[_0x1a4ad5(0x278)]['style']['backgroundColor']=_0x1a4ad5(0x1c5),this['_maskElement'][_0x1a4ad5(0x321)][_0x1a4ad5(0x159)]=_0x1a4ad5(0x31e),this['_maskElement'][_0x1a4ad5(0x321)][_0x1a4ad5(0x2e3)]='flex',this[_0x1a4ad5(0x278)]['style']['justifyContent']=_0x1a4ad5(0x19a),this['_maskElement'][_0x1a4ad5(0x321)][_0x1a4ad5(0x2d2)]='1000',this[_0x1a4ad5(0x278)]['style'][_0x1a4ad5(0x2e3)]=_0x1a4ad5(0x2d5),this['_maskContainer'][_0x1a4ad5(0x2aa)](this['_maskElement']);}[_0xe41171(0x201)](){const _0x578c8b=_0xe41171;var _0x335bbb;const _0x8d4b90=(_0x335bbb=document[_0x578c8b(0x328)](this[_0x578c8b(0x217)]))==null?void 0x0:_0x335bbb[_0x578c8b(0x1e2)](_0x578c8b(0x111));_0x8d4b90&&(this[_0x578c8b(0x2ad)]=_0x8d4b90,this[_0x578c8b(0x263)]());}['showMask'](){const _0x1ffcdc=_0xe41171;this[_0x1ffcdc(0x2ad)]||this[_0x1ffcdc(0x201)](),this[_0x1ffcdc(0x278)]&&(this['_maskElement']['style'][_0x1ffcdc(0x2e3)]=_0x1ffcdc(0x2d6));}[_0xe41171(0x2c8)](){const _0x59b57f=_0xe41171;this['_maskElement']&&(this[_0x59b57f(0x278)][_0x59b57f(0x321)][_0x59b57f(0x2e3)]='none');}set[_0xe41171(0x2fd)](_0x43191c){const _0x2b92fb=_0xe41171;this[_0x2b92fb(0x131)]['next'](_0x43191c);}set[_0xe41171(0x2f8)](_0x2961a9){const _0x516a18=_0xe41171;_0x2961a9!==this[_0x516a18(0x329)][_0x516a18(0x2a3)]&&this[_0x516a18(0x329)][_0x516a18(0x1d7)](_0x2961a9);}get[_0xe41171(0x2f8)](){const _0x520701=_0xe41171;return this[_0x520701(0x329)][_0x520701(0x2a3)];}set[_0xe41171(0x134)](_0x464d93){const _0x11930a=_0xe41171;this[_0x11930a(0x10e)]['next'](_0x464d93);}get[_0xe41171(0x134)](){const _0x251b41=_0xe41171;return this['_unitId$'][_0x251b41(0x2a3)];}get[_0xe41171(0x282)](){const _0x36534c=_0xe41171;return this[_0x36534c(0x2a0)];}get[_0xe41171(0x28f)](){const _0x2edc21=_0xe41171;return this[_0x2edc21(0x2d0)][_0x2edc21(0x2a3)];}},_0x2c07d5[_0xe41171(0x1a5)]=_0x106b5f([_0x1ee0fa(0x0,_0x68749e[_0xe41171(0x267)]),_0x1ee0fa(0x1,_0x68749e[_0xe41171(0x19e)]),_0x1ee0fa(0x2,_0x50b7ba[_0xe41171(0x139)](_0x50b7ba[_0xe41171(0x1bb)])),_0x1ee0fa(0x3,_0x50b7ba[_0xe41171(0x139)](_0x38b717))],_0x2c07d5[_0xe41171(0x1a5)]);var _0xb2eee=function(){const _0xbaac9=_0xe41171;return _0xb2eee=Object[_0xbaac9(0x202)]||function(_0x54fe73){const _0x1b813b=_0xbaac9;for(var _0xaa7c19,_0x32888a=0x1,_0x31c913=arguments[_0x1b813b(0x322)];_0x32888a<_0x31c913;_0x32888a++){_0xaa7c19=arguments[_0x32888a];for(var _0x4c5e9d in _0xaa7c19)Object[_0x1b813b(0x198)][_0x1b813b(0x1fe)][_0x1b813b(0x30d)](_0xaa7c19,_0x4c5e9d)&&(_0x54fe73[_0x4c5e9d]=_0xaa7c19[_0x4c5e9d]);}return _0x54fe73;},_0xb2eee[_0xbaac9(0x189)](this,arguments);},_0x5b045a=function(_0x214453,_0x57b263){const _0x34753a=_0xe41171;var _0x5008e9={};for(var _0x28b963 in _0x214453)Object[_0x34753a(0x198)][_0x34753a(0x1fe)][_0x34753a(0x30d)](_0x214453,_0x28b963)&&_0x57b263[_0x34753a(0x17d)](_0x28b963)<0x0&&(_0x5008e9[_0x28b963]=_0x214453[_0x28b963]);if(_0x214453!=null&&typeof Object['getOwnPropertySymbols']==_0x34753a(0x275)){for(var _0x115185=0x0,_0x28b963=Object[_0x34753a(0x2dd)](_0x214453);_0x115185<_0x28b963[_0x34753a(0x322)];_0x115185++)_0x57b263['indexOf'](_0x28b963[_0x115185])<0x0&&Object[_0x34753a(0x198)][_0x34753a(0x29b)]['call'](_0x214453,_0x28b963[_0x115185])&&(_0x5008e9[_0x28b963[_0x115185]]=_0x214453[_0x28b963[_0x115185]]);}return _0x5008e9;},_0x37c21c=_0x2eedfc[_0xe41171(0x1e8)](function(_0x1c450b,_0x9c011){const _0x1472fa=_0xe41171;var _0x1fe420=_0x1c450b[_0x1472fa(0x250)],_0x12eae1=_0x1c450b['id'],_0x5473af=_0x1c450b[_0x1472fa(0x12c)],_0xc07507=_0x1c450b[_0x1472fa(0x168)],_0x589f95=_0x5b045a(_0x1c450b,['icon','id','className','extend']),_0x1aab34=_0x1472fa(0x158)[_0x1472fa(0x203)](_0x12eae1,'\x20')[_0x1472fa(0x203)](_0x5473af||'')[_0x1472fa(0x244)](),_0xe2ac9f=_0x2eedfc['useRef']('_'[_0x1472fa(0x203)](_0x5773e0()));return _0x3164c3(_0x1fe420,''[_0x1472fa(0x203)](_0x12eae1),{'defIds':_0x1fe420[_0x1472fa(0x1bd)],'idSuffix':_0xe2ac9f[_0x1472fa(0x1f2)]},_0xb2eee({'ref':_0x9c011,'className':_0x1aab34},_0x589f95),_0xc07507);});function _0x3164c3(_0x1702d4,_0x491176,_0xe0f606,_0x2a7b33,_0x3c416b){const _0x13ef38=_0xe41171;return _0x2eedfc[_0x13ef38(0x13d)](_0x1702d4[_0x13ef38(0x1ce)],_0xb2eee(_0xb2eee({'key':_0x491176},_0x723d9(_0x1702d4,_0xe0f606,_0x3c416b)),_0x2a7b33),(_0x27f171(_0x1702d4,_0xe0f606)[_0x13ef38(0x1cc)]||[])['map'](function(_0x59f4be,_0xf1a72f){const _0x1e80f4=_0x13ef38;return _0x3164c3(_0x59f4be,''[_0x1e80f4(0x203)](_0x491176,'-')[_0x1e80f4(0x203)](_0x1702d4[_0x1e80f4(0x1ce)],'-')['concat'](_0xf1a72f),_0xe0f606,void 0x0,_0x3c416b);}));}function _0x723d9(_0x3d006f,_0x360274,_0x1b6d66){const _0x4bdc53=_0xe41171;var _0x425a56=_0xb2eee({},_0x3d006f[_0x4bdc53(0x119)]);_0x1b6d66!=null&&_0x1b6d66[_0x4bdc53(0x2a8)]&&_0x425a56[_0x4bdc53(0x240)]===_0x4bdc53(0x2a8)&&(_0x425a56[_0x4bdc53(0x240)]=_0x1b6d66['colorChannel1']);var _0xceeac5=_0x360274['defIds'];return!_0xceeac5||_0xceeac5[_0x4bdc53(0x322)]===0x0||(_0x3d006f['tag']===_0x4bdc53(0x2b5)&&_0x425a56['xlink:href']&&(_0x425a56[_0x4bdc53(0x1c8)]=_0x425a56[_0x4bdc53(0x1c8)]+_0x360274[_0x4bdc53(0x2df)]),Object['entries'](_0x425a56)['forEach'](function(_0x8b6756){const _0x405125=_0x4bdc53;var _0x53e749=_0x8b6756[0x0],_0x51902a=_0x8b6756[0x1];typeof _0x51902a==_0x405125(0x19f)&&(_0x425a56[_0x53e749]=_0x51902a['replace'](/url\(#(.*)\)/,_0x405125(0x109)[_0x405125(0x203)](_0x360274['idSuffix'],')')));})),_0x425a56;}function _0x27f171(_0x2684a5,_0x7006b3){const _0x25d915=_0xe41171;var _0x388b1c,_0x2f17e2=_0x7006b3[_0x25d915(0x1bd)];return!_0x2f17e2||_0x2f17e2[_0x25d915(0x322)]===0x0?_0x2684a5:_0x2684a5[_0x25d915(0x1ce)]===_0x25d915(0x224)&&(!((_0x388b1c=_0x2684a5[_0x25d915(0x1cc)])===null||_0x388b1c===void 0x0)&&_0x388b1c[_0x25d915(0x322)])?_0xb2eee(_0xb2eee({},_0x2684a5),{'children':_0x2684a5[_0x25d915(0x1cc)][_0x25d915(0x162)](function(_0x2be63e){const _0x4a82f9=_0x25d915;return typeof _0x2be63e[_0x4a82f9(0x119)]['id']==_0x4a82f9(0x19f)&&_0x2f17e2&&_0x2f17e2['indexOf'](_0x2be63e[_0x4a82f9(0x119)]['id'])>-0x1?_0xb2eee(_0xb2eee({},_0x2be63e),{'attrs':_0xb2eee(_0xb2eee({},_0x2be63e['attrs']),{'id':_0x2be63e[_0x4a82f9(0x119)]['id']+_0x7006b3[_0x4a82f9(0x2df)]})}):_0x2be63e;})}):_0x2684a5;}function _0x5773e0(){const _0x74cc2f=_0xe41171;return Math[_0x74cc2f(0x1d6)]()[_0x74cc2f(0x2db)](0x24)[_0x74cc2f(0x155)](0x2,0x8);}_0x37c21c['displayName']='UniverIcon';var _0x21a843={'tag':_0xe41171(0x24a),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0xe41171(0x231),'height':_0xe41171(0x231)},'children':[{'tag':'path','attrs':{'fill':_0xe41171(0x228),'d':_0xe41171(0x18f)}}]},_0x51482a=_0x2eedfc[_0xe41171(0x1e8)](function(_0x4a9add,_0x57f78b){const _0x4dab80=_0xe41171;return _0x2eedfc[_0x4dab80(0x13d)](_0x37c21c,Object['assign']({},_0x4a9add,{'id':_0x4dab80(0x27f),'ref':_0x57f78b,'icon':_0x21a843}));});_0x51482a[_0xe41171(0x1ba)]=_0xe41171(0x110);var _0x2e6226={'tag':_0xe41171(0x24a),'attrs':{'fill':_0xe41171(0x2d5),'viewBox':_0xe41171(0x23b),'width':'1em','height':_0xe41171(0x231)},'children':[{'tag':_0xe41171(0x185),'attrs':{'fill':'colorChannel1','d':'M8.00695\x2014.9998C8.00461\x2014.9999\x208.00227\x2014.9999\x207.99993\x2014.9999C4.13397\x2014.9999\x201\x2011.8659\x201\x207.99995C1\x204.13624\x204.13035\x201.00365\x207.99321\x201.00003C7.9955\x201.00001\x207.99779\x201\x208.00008\x201C11.866\x201\x2015\x204.13397\x2015\x207.99993C15\x2011.8636\x2011.8697\x2014.9961\x208.00695\x2014.9998ZM13.3569\x208.01503C13.3568\x208.01001\x2013.3568\x208.00499\x2013.3568\x207.99995C13.3568\x205.04144\x2010.9584\x202.64309\x207.99993\x202.64309C5.04645\x202.64309\x202.65123\x205.03327\x202.64308\x207.98484C2.64317\x207.98986\x202.64322\x207.99489\x202.64322\x207.99993C2.64322\x2010.9584\x205.04157\x2013.3568\x208.00008\x2013.3568C10.9536\x2013.3568\x2013.3488\x2010.9666\x2013.3569\x208.01503Z','fillRule':_0xe41171(0x318),'clipRule':_0xe41171(0x318)}},{'tag':_0xe41171(0x185),'attrs':{'fill':_0xe41171(0x228),'d':_0xe41171(0x15f),'fillRule':'evenodd','clipRule':_0xe41171(0x318)}}]},_0xa5963b=_0x2eedfc[_0xe41171(0x1e8)](function(_0x1aec4f,_0x364b1e){const _0x2eda43=_0xe41171;return _0x2eedfc[_0x2eda43(0x13d)](_0x37c21c,Object['assign']({},_0x1aec4f,{'id':_0x2eda43(0x316),'ref':_0x364b1e,'icon':_0x2e6226}));});_0xa5963b[_0xe41171(0x1ba)]=_0xe41171(0x27c);var _0x596ffb={'tag':_0xe41171(0x24a),'attrs':{'fill':_0xe41171(0x2d5),'viewBox':_0xe41171(0x288),'width':'1em','height':_0xe41171(0x231)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0xe41171(0x10d)},'children':[{'tag':_0xe41171(0x185),'attrs':{'d':_0xe41171(0x1cd)}},{'tag':_0xe41171(0x185),'attrs':{'d':'M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','fillRule':_0xe41171(0x318),'clipRule':_0xe41171(0x318)}}]},{'tag':_0xe41171(0x224),'attrs':{},'children':[{'tag':_0xe41171(0x10c),'attrs':{'id':_0xe41171(0x1c2)},'children':[{'tag':_0xe41171(0x183),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0xe41171(0x195),'rx':0x4}}]}]}],'defIds':['restore-single_clip0_1247_2']},_0x3bb266=_0x2eedfc['forwardRef'](function(_0x5864dc,_0x2ec89d){const _0x55799d=_0xe41171;return _0x2eedfc[_0x55799d(0x13d)](_0x37c21c,Object[_0x55799d(0x202)]({},_0x5864dc,{'id':_0x55799d(0x15e),'ref':_0x2ec89d,'icon':_0x596ffb}));});_0x3bb266['displayName']='RestoreSingle';const _0x1a7aaf={'versionListPanel':_0xe41171(0x320),'versionListPanelContent':_0xe41171(0x156),'versionDate':_0xe41171(0x1a4),'versionItem':_0xe41171(0x161),'versionItemHeader':_0xe41171(0x2be),'versionItemHeaderExpand':'univer-version-item-header-expand','versionItemHeaderTime':'univer-version-item-header-time','versionItemHeaderTimeTag':_0xe41171(0x1f5),'versionItemHeaderRevert':_0xe41171(0x16c),'versionItemContent':_0xe41171(0x154),'active':_0xe41171(0x14c),'historyViewHeader':_0xe41171(0x17b),'historyViewHeaderBack':_0xe41171(0x20e),'historyViewHeaderBackText':'univer-history-view-header-back-text','historyViewHeaderRevert':'univer-history-view-header-revert','versionListLoading':'univer-version-list-loading','versionListLoadingIcon':'univer-version-list-loading-icon','loadingSpin':_0xe41171(0x32c)};function _0x374c39(){const _0x30229f=_0xe41171,_0x4d2617=_0x50b7ba[_0x30229f(0x31c)](_0x2c07d5[_0x30229f(0x1a5)]),_0x1b63c3=_0x68749e['useObservable'](_0x4d2617[_0x30229f(0x14e)]),[_0x21bb79,_0x1202e8]=_0x2eedfc['useState'](!0x1),_0x1d49d2=_0x3fca1f(_0x1b63c3);return _0x1b63c3?_0x2eedfc[_0x30229f(0x13d)]('div',{'className':_0x1a7aaf[_0x30229f(0x11a)]},_0x2eedfc[_0x30229f(0x13d)](_0x30229f(0x305),{'className':_0x1a7aaf[_0x30229f(0x191)]},_0x1d49d2[_0x30229f(0x162)]((_0x5bac30,_0x2cde01)=>_0x2eedfc[_0x30229f(0x13d)](_0x2eedfc[_0x30229f(0x1c4)],{'key':_0x5bac30[_0x30229f(0x265)]},_0x2eedfc[_0x30229f(0x13d)](_0x4f197f,{'date':_0x5bac30[_0x30229f(0x265)]}),_0x5bac30[_0x30229f(0x206)][_0x30229f(0x162)]((_0x328c17,_0x281eed)=>_0x2eedfc[_0x30229f(0x13d)](_0x2c7d06,{'key':_0x2cde01+'-'+_0x281eed,'index':[_0x2cde01,_0x281eed],'item':_0x328c17})))),_0x21bb79&&_0x2eedfc[_0x30229f(0x13d)](_0x221b9d,null))):_0x2eedfc['createElement'](_0x1e88ca,null);}function _0x221b9d(){const _0xcc219e=_0xe41171;return _0x2eedfc[_0xcc219e(0x13d)]('div',{'className':_0x1a7aaf[_0xcc219e(0x1f3)]},_0x2eedfc['createElement'](_0xa5963b,{'className':_0x1a7aaf[_0xcc219e(0x317)]}));}function _0x1e88ca(){const _0x5a97f1=_0xe41171;return _0x2eedfc[_0x5a97f1(0x13d)](_0x5a97f1(0x305),{'className':_0x2aba8f(_0x1a7aaf[_0x5a97f1(0x1dd)],_0x5a97f1(0x1b0))},_0x2eedfc[_0x5a97f1(0x13d)](_0x5a97f1(0x259),{'className':_0x2aba8f(_0x1a7aaf[_0x5a97f1(0x276)],_0x5a97f1(0x287))},_0x2eedfc['createElement'](_0xa5963b,{'className':_0x5a97f1(0x286)})));}function _0x4f197f(_0x1c2d43){const _0x490bca=_0xe41171,_0x4896dc=_0x50b7ba['useDependency'](_0x50b7ba[_0x490bca(0x1bb)]),{date:_0x2b1e00}=_0x1c2d43;return _0x2eedfc[_0x490bca(0x13d)](_0x490bca(0x305),{'className':_0x1a7aaf[_0x490bca(0x326)]},_0x367093(_0x2b1e00,_0x4896dc[_0x490bca(0x17c)]()));}function _0x2c7d06(_0x733908){const _0x407208=_0xe41171,{item:_0x4b4999,index:_0x141971}=_0x733908,{time:_0x140f7b,user:_0x14b91f}=_0x4b4999,[_0x535675,_0x54dd89]=_0x141971,_0xee6c22=_0x50b7ba[_0x407208(0x31c)](_0x2c07d5['HistoryManagerService']),_0x5f43eb=_0x68749e['useObservable'](_0xee6c22['currentVersion$'],'',!0x0)===_0x4b4999['id'],_0x5eb2ce=_0x535675===0x0&&_0x54dd89===0x0,_0x554531=!_0x5eb2ce&&_0xee6c22['canRevert'],_0x3e63d8=_0x50b7ba['useDependency'](_0x50b7ba[_0x407208(0x1bb)]),_0x3db002=_0x3e63d8[_0x407208(0x17c)](),_0x5c220b=_0x3b2db5(_0x140f7b,_0x3db002),_0x251371=_0x3e63d8['t']('editHistory.panel.currentVersion'),_0x1ddbdc=_0x2eedfc[_0x407208(0x1a8)](_0x35496e=>{const _0x3a10ef=_0x407208;_0xee6c22['loadingState']!==_0x5e3ffc[_0x3a10ef(0x27c)]&&(_0xee6c22[_0x3a10ef(0x2f8)]=_0x35496e);},[_0xee6c22]),_0x5616c3=_0x2eedfc[_0x407208(0x1a8)](_0x151e1e=>{const _0x2615e4=_0x407208;_0xee6c22[_0x2615e4(0x138)](_0x151e1e);},[_0xee6c22]);return _0x2eedfc[_0x407208(0x13d)](_0x407208(0x305),{'className':_0x2aba8f(_0x1a7aaf[_0x407208(0x207)],{[_0x1a7aaf[_0x407208(0x28c)]]:_0x5f43eb}),'onClick':()=>_0x1ddbdc(_0x4b4999['id'])},_0x2eedfc[_0x407208(0x13d)](_0x407208(0x305),{'className':_0x1a7aaf[_0x407208(0x112)]},_0x2eedfc[_0x407208(0x13d)](_0x407208(0x305),{'className':_0x1a7aaf[_0x407208(0x18b)]}),_0x2eedfc[_0x407208(0x13d)](_0x407208(0x305),{'className':_0x1a7aaf['versionItemHeaderTime']},_0x2eedfc[_0x407208(0x13d)](_0x407208(0x259),null,_0x5c220b[_0x407208(0x1d0)]),_0x5eb2ce&&_0x2eedfc[_0x407208(0x13d)](_0x407208(0x259),{'className':_0x1a7aaf[_0x407208(0x173)]},_0x251371)),_0x2eedfc[_0x407208(0x13d)](_0x407208(0x305),null,_0x554531&&_0x2eedfc['createElement'](_0x14dedb[_0x407208(0x2a9)],{'title':_0x3e63d8['t'](_0x407208(0x266))},_0x2eedfc['createElement'](_0x407208(0x305),{'onClick':_0x54e136=>{_0x54e136['stopPropagation'](),_0x5616c3(_0x4b4999['id']);},'className':_0x1a7aaf[_0x407208(0x239)]},_0x2eedfc[_0x407208(0x13d)](_0x3bb266,null))))),_0x2eedfc[_0x407208(0x13d)](_0x407208(0x305),{'className':_0x1a7aaf[_0x407208(0x1fb)]},_0x3c6b69(_0x4b4999,_0x3e63d8)));}var _0x25c4a6=Object[_0xe41171(0x142)],_0x4027be=Object[_0xe41171(0x167)],_0x224c41=(_0x4ef2e4,_0x57749d,_0x2c6a5d,_0x45b62d)=>{const _0x421369=_0xe41171;for(var _0x52790f=_0x45b62d>0x1?void 0x0:_0x45b62d?_0x4027be(_0x57749d,_0x2c6a5d):_0x57749d,_0x1d4582=_0x4ef2e4[_0x421369(0x322)]-0x1,_0x1da356;_0x1d4582>=0x0;_0x1d4582--)(_0x1da356=_0x4ef2e4[_0x1d4582])&&(_0x52790f=(_0x45b62d?_0x1da356(_0x57749d,_0x2c6a5d,_0x52790f):_0x1da356(_0x52790f))||_0x52790f);return _0x45b62d&&_0x52790f&&_0x25c4a6(_0x57749d,_0x2c6a5d,_0x52790f),_0x52790f;},_0x8e5733=(_0x4e79a1,_0x1ec5ba)=>(_0x1097c7,_0x498246)=>_0x1ec5ba(_0x1097c7,_0x498246,_0x4e79a1);const _0x13ffcd='history-panel';let _0x7443a1=class extends _0x50b7ba[_0xe41171(0x20c)]{constructor(_0x556020,_0x305569,_0x3d10da,_0x30b853){const _0x4768ae=_0xe41171;super(),_0x1753ce(this,_0x4768ae(0x18d),null),(this[_0x4768ae(0x140)]=_0x556020,this['_componentManager']=_0x305569,this['_localeService']=_0x3d10da,this['_historyManagerService']=_0x30b853,this['_init']());}[_0xe41171(0x1ad)](){this['_initPanel'](),this['_openPanel']();}[_0xe41171(0x132)](){const _0x3a08cf=_0xe41171;if(this[_0x3a08cf(0x18d)])return;const _0x16280e={'header':{'title':this[_0x3a08cf(0x255)]['t'](_0x3a08cf(0x2a6))},'children':{'label':_0x13ffcd},'onClose':()=>{const _0x43992a=_0x3a08cf;this[_0x43992a(0x18d)]=null,this[_0x43992a(0x127)][_0x43992a(0x2fd)]=_0x50af33[_0x43992a(0x31d)];}};this[_0x3a08cf(0x18d)]=this[_0x3a08cf(0x140)][_0x3a08cf(0x2de)]({..._0x16280e});}[_0xe41171(0x171)](){const _0x5f4a48=_0xe41171;this[_0x5f4a48(0x25b)](this[_0x5f4a48(0x2cb)][_0x5f4a48(0x21e)](_0x13ffcd,_0x374c39)),this[_0x5f4a48(0x25b)](this['_sidebarService'][_0x5f4a48(0x245)][_0x5f4a48(0x2b8)](_0xab6927[_0x5f4a48(0x21c)](0x64))[_0x5f4a48(0x2a5)](_0x13d1db=>{const _0x2d0ae3=_0x5f4a48,{target:_0x5b64a3}=_0x13d1db||{};if(_0x5b64a3){const {scrollTop:_0x11691f,scrollHeight:_0x3357c5,clientHeight:_0x7f256}=_0x5b64a3;_0x11691f+_0x7f256>=_0x3357c5-0x5&&this[_0x2d0ae3(0x127)][_0x2d0ae3(0x24d)]();}}));}};_0x7443a1=_0x224c41([_0x50b7ba[_0xe41171(0x108)](_0x50b7ba[_0xe41171(0x304)][_0xe41171(0x186)],_0x7443a1),_0x8e5733(0x0,_0x68749e['ISidebarService']),_0x8e5733(0x1,_0x50b7ba[_0xe41171(0x139)](_0x68749e['ComponentManager'])),_0x8e5733(0x2,_0x50b7ba[_0xe41171(0x139)](_0x50b7ba[_0xe41171(0x1bb)])),_0x8e5733(0x3,_0x50b7ba[_0xe41171(0x139)](_0x2c07d5[_0xe41171(0x1a5)]))],_0x7443a1);function _0x580238(){const _0x34e20d=_0xe41171,_0x155fca=_0x50b7ba[_0x34e20d(0x31c)](_0x2c07d5[_0x34e20d(0x1a5)]),_0x357199=_0x50b7ba[_0x34e20d(0x31c)](_0x50b7ba[_0x34e20d(0x1bb)]),_0x49266f=_0x2eedfc[_0x34e20d(0x1a8)](()=>{const _0x3afb4c=_0x34e20d;_0x155fca[_0x3afb4c(0x2fd)]=_0x50af33[_0x3afb4c(0x31d)];},[_0x155fca]),_0xb72da9=_0x2eedfc[_0x34e20d(0x1a8)](()=>{const _0x1e442d=_0x34e20d;_0x155fca[_0x1e442d(0x138)]();},[_0x155fca]),_0x1bdc4e=_0x68749e[_0x34e20d(0x11c)](_0x155fca[_0x34e20d(0x235)]),_0x86e02a=_0x68749e[_0x34e20d(0x11c)](_0x155fca[_0x34e20d(0x14e)]),_0xc17fc1=!(_0x1bdc4e===(_0x86e02a==null?void 0x0:_0x86e02a[0x0]['id']))&&_0x155fca[_0x34e20d(0x282)];return _0x2eedfc[_0x34e20d(0x13d)](_0x34e20d(0x305),{'className':_0x1a7aaf[_0x34e20d(0x281)]},_0x2eedfc[_0x34e20d(0x13d)](_0x34e20d(0x305),{'onClick':_0x49266f,'className':_0x1a7aaf['historyViewHeaderBack']},_0x2eedfc[_0x34e20d(0x13d)](_0x51482a,{'style':{'fontSize':_0x34e20d(0x310)}})),_0x2eedfc[_0x34e20d(0x13d)]('div',{'className':_0x1a7aaf[_0x34e20d(0x22d)]},_0xc17fc1&&_0x2eedfc[_0x34e20d(0x13d)](_0x14dedb[_0x34e20d(0x121)],{'type':_0x34e20d(0x11e),'onClick':_0xb72da9},_0x357199['t']('editHistory.header.revert'))));}var _0x40e0f7=Object[_0xe41171(0x142)],_0x3d4cd9=Object[_0xe41171(0x167)],_0x5b9690=(_0x6832bc,_0x1ca4a3,_0x353cd6,_0xf95053)=>{const _0x223395=_0xe41171;for(var _0x11310e=_0xf95053>0x1?void 0x0:_0xf95053?_0x3d4cd9(_0x1ca4a3,_0x353cd6):_0x1ca4a3,_0x5b0f2b=_0x6832bc[_0x223395(0x322)]-0x1,_0x5e9a9a;_0x5b0f2b>=0x0;_0x5b0f2b--)(_0x5e9a9a=_0x6832bc[_0x5b0f2b])&&(_0x11310e=(_0xf95053?_0x5e9a9a(_0x1ca4a3,_0x353cd6,_0x11310e):_0x5e9a9a(_0x11310e))||_0x11310e);return _0xf95053&&_0x11310e&&_0x40e0f7(_0x1ca4a3,_0x353cd6,_0x11310e),_0x11310e;},_0x203be1=(_0x57db85,_0x37e3a8)=>(_0x2081b,_0x223051)=>_0x37e3a8(_0x2081b,_0x223051,_0x57db85);let _0x532798=class extends _0x50b7ba['Disposable']{constructor(_0x5e902c,_0x278608,_0x4035b8,_0x376b35,_0x4b2689,_0x4a9e25){const _0x424e72=_0xe41171;super(),_0x1753ce(this,'_loadingMessage'),(this[_0x424e72(0x136)]=_0x5e902c,this[_0x424e72(0x107)]=_0x278608,this[_0x424e72(0x1ee)]=_0x4035b8,this['_localeService']=_0x376b35,this[_0x424e72(0x127)]=_0x4b2689,this[_0x424e72(0x1df)]=_0x4a9e25,this['_init']());}['_init'](){const _0x210181=_0xe41171;this['disposeWithMe'](this[_0x210181(0x127)][_0x210181(0x235)]['subscribe'](_0x1b95a0=>{const _0x2f5aef=_0x210181;_0x1b95a0&&this[_0x2f5aef(0x127)][_0x2f5aef(0x256)](_0x1b95a0);})),this[_0x210181(0x25b)](this['_permissionService']['permissionPointUpdate$'][_0x210181(0x2a5)](_0x230647=>{const _0x524977=_0x210181,_0x5e4e98=this[_0x524977(0x127)][_0x524977(0x134)];_0x5e4e98&&(_0x230647['subType']===_0x538a6f[_0x524977(0x13e)]&&_0x230647['value']===!0x0&&this['_permissionService'][_0x524977(0x332)](new _0x44dd6f['WorkbookEditablePermission'](_0x5e4e98)['id'],!0x1),_0x230647[_0x524977(0x213)]===_0x538a6f[_0x524977(0x1ec)]&&_0x230647[_0x524977(0x2a3)]===!0x0&&this[_0x524977(0x136)][_0x524977(0x332)](new _0x44dd6f[(_0x524977(0x1e3))](_0x5e4e98)['id'],!0x1),_0x230647[_0x524977(0x213)]===_0x538a6f['MoveSheet']&&_0x230647['value']===!0x0&&this[_0x524977(0x136)][_0x524977(0x332)](new _0x44dd6f['WorkbookMoveSheetPermission'](_0x5e4e98)['id'],!0x1),_0x230647[_0x524977(0x213)]===_0x538a6f['HideSheet']&&_0x230647[_0x524977(0x2a3)]===!0x0&&this[_0x524977(0x136)][_0x524977(0x332)](new _0x44dd6f[(_0x524977(0x174))](_0x5e4e98)['id'],!0x1),_0x230647[_0x524977(0x213)]===_0x538a6f[_0x524977(0x30b)]&&_0x230647[_0x524977(0x2a3)]===!0x0&&this[_0x524977(0x136)]['updatePermissionPoint'](new _0x44dd6f['WorkbookEditablePermission'](_0x5e4e98)['id'],!0x1),_0x230647[_0x524977(0x213)]===_0x538a6f['FloatImg']&&_0x230647[_0x524977(0x2a3)]===!0x0&&this[_0x524977(0x136)]['updatePermissionPoint'](new _0x44dd6f[(_0x524977(0x1aa))](_0x5e4e98)['id'],!0x1));})),this[_0x210181(0x25b)](this[_0x210181(0x107)][_0x210181(0x27a)](_0x68749e['BuiltInUIPart'][_0x210181(0x1c0)],()=>_0x50b7ba[_0x210181(0x1d1)](_0x580238,this[_0x210181(0x1df)]))),this[_0x210181(0x25b)](this[_0x210181(0x127)][_0x210181(0x157)]['subscribe'](_0x4053aa=>{const _0x4ffb90=_0x210181;var _0x272f0e;_0x4053aa===_0x5e3ffc[_0x4ffb90(0x27c)]&&(this['_historyManagerService'][_0x4ffb90(0x264)](),this[_0x4ffb90(0x123)]=this['_messageService'][_0x4ffb90(0x2ef)]({'type':_0x14dedb[_0x4ffb90(0x19d)][_0x4ffb90(0x187)],'content':this[_0x4ffb90(0x255)]['t'](_0x4ffb90(0x24b))})),_0x4053aa===_0x5e3ffc[_0x4ffb90(0x122)]&&((_0x272f0e=this[_0x4ffb90(0x123)])==null||_0x272f0e['dispose'](),this[_0x4ffb90(0x127)][_0x4ffb90(0x2c8)]());}));}};_0x532798=_0x5b9690([_0x50b7ba[_0xe41171(0x108)](_0x50b7ba[_0xe41171(0x304)][_0xe41171(0x1db)],_0x532798),_0x203be1(0x0,_0x50b7ba[_0xe41171(0x1f4)]),_0x203be1(0x1,_0x68749e['IUIPartsService']),_0x203be1(0x2,_0x68749e['IMessageService']),_0x203be1(0x3,_0x50b7ba[_0xe41171(0x139)](_0x50b7ba[_0xe41171(0x1bb)])),_0x203be1(0x4,_0x50b7ba[_0xe41171(0x139)](_0x2c07d5[_0xe41171(0x1a5)])),_0x203be1(0x5,_0x50b7ba[_0xe41171(0x139)](_0x50b7ba[_0xe41171(0x30a)]))],_0x532798);class _0x389152 extends _0x50b7ba[_0xe41171(0x20c)]{constructor(){super(),_0x1753ce(this,'_dialogOptions$',new _0xab6927['Subject']());}['open'](){const _0x3b93e0=_0xe41171;return _0x50b7ba[_0x3b93e0(0x2ff)](()=>{});}[_0xe41171(0x149)](){}[_0xe41171(0x31b)](_0x32687f){}[_0xe41171(0x223)](){const _0x40492d=_0xe41171;return this[_0x40492d(0x1ab)][_0x40492d(0x31f)]();}}var _0x38eb73=Object[_0xe41171(0x142)],_0x8f77c7=Object[_0xe41171(0x167)],_0x22c0a8=(_0x2ed7ed,_0x4746fd,_0x383651,_0x95e06e)=>{for(var _0x4c4013=_0x95e06e>0x1?void 0x0:_0x95e06e?_0x8f77c7(_0x4746fd,_0x383651):_0x4746fd,_0x535a78=_0x2ed7ed['length']-0x1,_0x2bf02b;_0x535a78>=0x0;_0x535a78--)(_0x2bf02b=_0x2ed7ed[_0x535a78])&&(_0x4c4013=(_0x95e06e?_0x2bf02b(_0x4746fd,_0x383651,_0x4c4013):_0x2bf02b(_0x4c4013))||_0x4c4013);return _0x95e06e&&_0x4c4013&&_0x38eb73(_0x4746fd,_0x383651,_0x4c4013),_0x4c4013;},_0x52be9c=(_0x48dc10,_0x3e01ee)=>(_0x320a33,_0x21647b)=>_0x3e01ee(_0x320a33,_0x21647b,_0x48dc10);let _0x96654b=class extends _0x50b7ba[_0xe41171(0x20c)]{constructor(_0x2ab53f,_0x129262,_0x4660ad){const _0x4cca05=_0xe41171;super(),_0x1753ce(this,_0x4cca05(0x1ef),new Map()),_0x1753ce(this,'_currentVersionDiff$',new _0xab6927[(_0x4cca05(0x1c1))]({'ranges':new Map(),'active':null})),_0x1753ce(this,_0x4cca05(0x2d1),this[_0x4cca05(0x1be)][_0x4cca05(0x31f)]()),(this[_0x4cca05(0x127)]=_0x2ab53f,this[_0x4cca05(0x16f)]=_0x129262,this[_0x4cca05(0x14d)]=_0x4660ad,this[_0x4cca05(0x1ad)]());}[_0xe41171(0x1ad)](){const _0x5151c8=_0xe41171;this[_0x5151c8(0x1ef)]=new Map(),this['disposeWithMe'](this[_0x5151c8(0x127)]['unitId$']['subscribe'](_0x124acd=>{const _0x5cddcf=_0x5151c8;_0x124acd&&!this[_0x5cddcf(0x1ef)]['has'](_0x124acd)&&this[_0x5cddcf(0x1ef)][_0x5cddcf(0x1b6)](_0x124acd,new Map());})),this['disposeWithMe'](this[_0x5151c8(0x127)]['currentVersion$'][_0x5151c8(0x2a5)](async _0x3a0fea=>{const _0x5784e2=_0x5151c8;var _0x56d03d;_0x3a0fea&&(await this[_0x5784e2(0x301)](_0x3a0fea),this['_currentVersionDiff$'][_0x5784e2(0x1d7)](((_0x56d03d=this['_diffRangesMap'][_0x5784e2(0x148)](this[_0x5784e2(0x127)]['unitId']))==null?void 0x0:_0x56d03d[_0x5784e2(0x148)](_0x3a0fea))||{'ranges':new Map(),'active':null}));}));}async[_0xe41171(0x301)](_0x1e068b){const _0x12c778=_0xe41171;var _0x3dbd3d,_0x779fd8;const _0x367a10=this['_historyManagerService']['getVersion'](_0x1e068b),_0x2b3654=this[_0x12c778(0x127)]['unitId'];if(!_0x367a10||!_0x2b3654)return;const _0x25ae85=this['_diffRangesMap'][_0x12c778(0x148)](_0x2b3654);if(_0x25ae85||this['_diffRangesMap'][_0x12c778(0x1b6)](_0x2b3654,new Map()),(_0x3dbd3d=this[_0x12c778(0x1ef)][_0x12c778(0x148)](_0x2b3654))!=null&&_0x3dbd3d[_0x12c778(0x12e)](_0x367a10['id']))return;const {startRev:_0x3e60f3,endRev:_0x525b4d}=_0x367a10;if(_0x3e60f3===0x1){_0x25ae85[_0x12c778(0x1b6)](_0x367a10['id'],{'ranges':new Map(),'active':null});return;}const _0x26b229=_0x3e60f3-0x1,_0x1b7ce2=_0x525b4d,_0x379c18=await this[_0x12c778(0x14d)]['fetchMissingChangesets']({},{'unitID':_0x2b3654,'from':_0x26b229,'to':_0x1b7ce2,'type':_0x479863[_0x12c778(0x2e2)]});if(((_0x779fd8=_0x379c18[_0x12c778(0x113)])==null?void 0x0:_0x779fd8[_0x12c778(0x209)])===_0x346900['OK']){const _0x3cd1e5=_0x379c18[_0x12c778(0x2b4)][_0x12c778(0x162)](_0x1735f2[_0x12c778(0x247)])[_0x12c778(0x162)](_0x502a93=>_0x502a93[_0x12c778(0x2e0)][_0x12c778(0x162)](_0x3b9a3b=>({..._0x3b9a3b,'params':{..._0x3b9a3b[_0x12c778(0x219)],'memberId':_0x502a93[_0x12c778(0x290)]}})))[_0x12c778(0x21d)](),_0x1d5f63=this[_0x12c778(0x1a1)](_0x3cd1e5),_0x2552b1=this[_0x12c778(0x30f)](_0x3cd1e5),_0x67063d=this[_0x12c778(0x1d4)](_0x1d5f63);_0x25ae85[_0x12c778(0x1b6)](_0x367a10['id'],{'ranges':_0x67063d,'active':_0x2552b1});}}[_0xe41171(0x1a1)](_0x2853b2){const _0x94e36d=_0xe41171;let _0x2b203d=[];for(let _0x145a4f=0x0;_0x145a4f<_0x2853b2[_0x94e36d(0x322)];_0x145a4f++){const _0x4779f6=_0x2853b2[_0x145a4f];if(_0x2b203d[_0x94e36d(0x120)](_0x4779f6),_0x145a4f!==_0x2853b2[_0x94e36d(0x322)]-0x1){const _0xfa5f74=_0x2853b2[_0x145a4f+0x1],_0x258ef6=this['_transformService'][_0x94e36d(0x249)](_0x2b203d,[_0xfa5f74]);_0x1735f2[_0x94e36d(0x32f)](_0x258ef6)?_0x2b203d=_0x258ef6[_0x94e36d(0x19c)]:_0x2b203d=[];}}return _0x2b203d;}[_0xe41171(0x30f)](_0x349983){const _0x4041a7=_0xe41171;let _0x3d7b48=[];return _0x349983[_0x4041a7(0x2f4)](_0x408ca9=>{const _0xe29fdf=_0x4041a7;if(_0x408ca9['id']===_0x44dd6f[_0xe29fdf(0x27b)]['id']){const _0x249675=_0x408ca9[_0xe29fdf(0x219)];_0x3d7b48['push'](_0x249675[_0xe29fdf(0x106)]['id']);}else{if(_0x408ca9['id']===_0x44dd6f[_0xe29fdf(0x1b8)]['id']){const _0x9ff572=_0x408ca9['params'];_0x3d7b48[_0xe29fdf(0x322)]>0x0&&(_0x3d7b48=_0x3d7b48['filter'](_0x1c2631=>_0x1c2631!==_0x9ff572[_0xe29fdf(0x260)]));}else{if(_0x408ca9['id']===_0x44dd6f[_0xe29fdf(0x2fa)]['id']){const _0xa2940d=_0x408ca9[_0xe29fdf(0x219)];_0xa2940d[_0xe29fdf(0x230)]?_0x3d7b48=_0x3d7b48['filter'](_0x42dc75=>_0x42dc75!==_0xa2940d['subUnitId']):_0x3d7b48['push'](_0xa2940d['subUnitId']);}else{const _0x237d6c=_0x408ca9[_0xe29fdf(0x219)];_0x237d6c['subUnitId']&&_0x3d7b48[_0xe29fdf(0x120)](_0x237d6c[_0xe29fdf(0x260)]);}}}}),_0x3d7b48[_0x4041a7(0x322)]>0x0?_0x3d7b48[_0x3d7b48[_0x4041a7(0x322)]-0x1]:null;}['_extractRanges'](_0x33f34f){const _0x4413a2=_0xe41171,_0x5977d1=new Map();return _0x33f34f[_0x4413a2(0x2f4)](_0x299389=>{const _0x4a5eb1=_0x4413a2;var _0x84b155,_0x21c245;const _0x4bfa7b=(_0x84b155=_0x299389[_0x4a5eb1(0x219)])==null?void 0x0:_0x84b155[_0x4a5eb1(0x23c)];if(_0x4bfa7b){_0x5977d1['has'](_0x4bfa7b)||_0x5977d1[_0x4a5eb1(0x1b6)](_0x4bfa7b,[]);const _0x18d958=this[_0x4a5eb1(0x22a)](_0x299389);(_0x21c245=_0x5977d1['get'](_0x4bfa7b))==null||_0x21c245[_0x4a5eb1(0x120)](..._0x18d958);}}),_0x5977d1[_0x4413a2(0x2f4)]((_0x3a627d,_0x169b7b)=>{const _0x4cbe01=_0x4413a2;_0x5977d1[_0x4cbe01(0x1b6)](_0x169b7b,this[_0x4cbe01(0x14b)](_0x3a627d));}),_0x5977d1;}[_0xe41171(0x22a)](_0x26407b){const _0x39501d=_0xe41171;switch(_0x26407b['id']){case _0x44dd6f['AddRangeProtectionMutation']['id']:{const _0x4d82f2=_0x26407b[_0x39501d(0x219)];return _0x4d82f2[_0x39501d(0x15c)][_0x39501d(0x162)](_0x5209e3=>_0x5209e3[_0x39501d(0x2bf)]['map'](_0xeaf96d=>({'range':_0xeaf96d,'unitId':_0x4d82f2['unitId'],'subUnitId':_0x4d82f2[_0x39501d(0x260)]})))[_0x39501d(0x21d)]();}case _0x44dd6f[_0x39501d(0x272)]['id']:{const _0x236453=_0x26407b['params'];return _0x236453[_0x39501d(0x2bf)][_0x39501d(0x162)](_0x1ff02d=>({'range':_0x1ff02d,'unitId':_0x236453[_0x39501d(0x134)],'subUnitId':_0x236453[_0x39501d(0x260)]}));}case _0x44dd6f[_0x39501d(0x115)]['id']:{const _0xb6ea7b=_0x26407b['params'];return[{'range':_0xb6ea7b['range'],'unitId':_0xb6ea7b[_0x39501d(0x134)],'subUnitId':_0xb6ea7b['subUnitId']}];}case _0x44dd6f[_0x39501d(0x26e)]['id']:{const _0x1cf9d8=_0x26407b[_0x39501d(0x219)];return[{'range':_0x1cf9d8[_0x39501d(0x300)],'unitId':_0x1cf9d8[_0x39501d(0x134)],'subUnitId':_0x1cf9d8['subUnitId']}];}case _0x44dd6f[_0x39501d(0x104)]['id']:{const _0x39ba72=_0x26407b[_0x39501d(0x219)],{from:_0x58ff89,to:_0x176b88,unitId:_0x137184}=_0x39ba72;return[{'range':_0x5819aa(_0x58ff89['value']),'unitId':_0x137184,'subUnitId':_0x58ff89[_0x39501d(0x260)]},{'range':_0x5819aa(_0x176b88['value']),'unitId':_0x137184,'subUnitId':_0x176b88[_0x39501d(0x260)]}];}case _0x44dd6f[_0x39501d(0x280)]['id']:{const _0x71759a=_0x26407b[_0x39501d(0x219)],{unitId:_0x4a760f,subUnitId:_0x59946e,sourceRange:_0x39508c,targetRange:_0x2f1835}=_0x71759a,_0x2e77da=_0x39508c[_0x39501d(0x21a)]-_0x39508c['startRow']+0x1;return[{'range':_0x2f1835[_0x39501d(0x13a)]<=_0x39508c[_0x39501d(0x13a)]?_0x2f1835:{..._0x2f1835,'startRow':_0x2f1835['startRow']-_0x2e77da,'endRow':_0x2f1835[_0x39501d(0x21a)]-_0x2e77da},'unitId':_0x4a760f,'subUnitId':_0x59946e}];}case _0x44dd6f[_0x39501d(0x25d)]['id']:{const _0xaee5fa=_0x26407b[_0x39501d(0x219)],{unitId:_0x25addf,subUnitId:_0x544863,sourceRange:_0x1428fa,targetRange:_0x50ee84}=_0xaee5fa,_0x4797c6=_0x1428fa[_0x39501d(0x1e5)]-_0x1428fa[_0x39501d(0x11d)]+0x1;return[{'range':_0x50ee84[_0x39501d(0x11d)]<=_0x1428fa[_0x39501d(0x11d)]?_0x50ee84:{..._0x50ee84,'startColumn':_0x50ee84[_0x39501d(0x11d)]-_0x4797c6,'endColumn':_0x50ee84[_0x39501d(0x1e5)]-_0x4797c6},'unitId':_0x25addf,'subUnitId':_0x544863}];}case _0x44dd6f[_0x39501d(0x12a)]['id']:{const _0x4e385c=_0x26407b[_0x39501d(0x219)],{values:_0x501fb3,unitId:_0x35855b,subUnitId:_0x8b3643}=_0x4e385c;return Object[_0x39501d(0x2f1)](_0x501fb3)[_0x39501d(0x162)](_0x4f2045=>_0x4f2045['ranges'][_0x39501d(0x162)](_0x4246e3=>({'range':_0x4246e3,'unitId':_0x35855b,'subUnitId':_0x8b3643})))[_0x39501d(0x21d)]();}case _0x44dd6f[_0x39501d(0x2c0)]['id']:{const _0x2322cd=_0x26407b[_0x39501d(0x219)],{ranges:_0x55e551,unitId:_0x4cc99a,subUnitId:_0x115503}=_0x2322cd;return _0x55e551['map'](_0x29c3d5=>({'range':_0x29c3d5,'unitId':_0x4cc99a,'subUnitId':_0x115503}));}case _0x44dd6f['ReorderRangeMutation']['id']:{const _0x488fc3=_0x26407b[_0x39501d(0x219)],{unitId:_0x2e1a63,subUnitId:_0x4ab856,range:_0x1bb160}=_0x488fc3;return[{'range':_0x1bb160,'unitId':_0x2e1a63,'subUnitId':_0x4ab856}];}case _0x44dd6f[_0x39501d(0x208)]['id']:{const _0x1b7b63=_0x26407b[_0x39501d(0x219)];return _0x1b7b63[_0x39501d(0x243)][_0x39501d(0x2bf)][_0x39501d(0x162)](_0x269b5d=>({'range':_0x269b5d,'unitId':_0x1b7b63[_0x39501d(0x134)],'subUnitId':_0x1b7b63[_0x39501d(0x260)]}));}case _0x44dd6f[_0x39501d(0x323)]['id']:{const _0x2f8131=_0x26407b[_0x39501d(0x219)];return _0x2f8131[_0x39501d(0x254)]?_0x44ccc7(_0x2f8131['cellValue'])[_0x39501d(0x162)](_0x31ba45=>({'range':_0x31ba45,'unitId':_0x2f8131[_0x39501d(0x134)],'subUnitId':_0x2f8131['subUnitId']})):[];}case _0x209d9e[_0x39501d(0x17a)]['id']:{const _0x58bf00=_0x26407b[_0x39501d(0x219)];return[{'range':_0x58bf00['range'],'unitId':_0x58bf00[_0x39501d(0x134)],'subUnitId':_0x58bf00[_0x39501d(0x260)]}];}case _0x4c1998[_0x39501d(0x2e9)]['id']:{const _0x75048e=_0x26407b[_0x39501d(0x219)];return(Array['isArray'](_0x75048e['rule'])?_0x75048e[_0x39501d(0x243)]:[_0x75048e[_0x39501d(0x243)]])[_0x39501d(0x162)](_0x2fb954=>_0x2fb954[_0x39501d(0x2bf)][_0x39501d(0x162)](_0x7e6483=>({'range':_0x7e6483,'unitId':_0x75048e['unitId'],'subUnitId':_0x75048e[_0x39501d(0x260)]})))['flat']();}case _0x3902cb[_0x39501d(0x1b4)]['id']:{const _0x4e4968=_0x26407b[_0x39501d(0x219)];return _0x4e4968[_0x39501d(0x243)]['ranges'][_0x39501d(0x162)](_0xe4bc6=>({'range':_0xe4bc6,'unitId':_0x4e4968['unitId'],'subUnitId':_0x4e4968['subUnitId']}));}default:return[];}}[_0xe41171(0x14b)](_0x5c9a1c){const _0x29c24b=_0xe41171;if(_0x5c9a1c[_0x29c24b(0x322)]<=0x1)return _0x5c9a1c;const _0x76e5f7=new Map();return _0x5c9a1c['forEach'](_0x1c3b55=>{const _0x2328eb=_0x29c24b;var _0x33c1d0;const {unitId:_0x55ab32,subUnitId:_0x336df3}=_0x1c3b55,_0x28c76d=_0x55ab32+'-'+_0x336df3;_0x76e5f7['has'](_0x28c76d)?(_0x33c1d0=_0x76e5f7[_0x2328eb(0x148)](_0x28c76d))==null||_0x33c1d0[_0x2328eb(0x120)](_0x1c3b55):_0x76e5f7[_0x2328eb(0x1b6)](_0x28c76d,[_0x1c3b55]);}),Array[_0x29c24b(0x175)](_0x76e5f7[_0x29c24b(0x2f1)]())[_0x29c24b(0x162)](_0x334f2c=>new _0x44dd6f[(_0x29c24b(0x1ff))]()[_0x29c24b(0x20a)](..._0x334f2c[_0x29c24b(0x162)](_0x467b9d=>_0x467b9d['range']))[_0x29c24b(0x24f)]()[_0x29c24b(0x162)](_0x56fae7=>({'range':_0x56fae7,'unitId':_0x334f2c[0x0]['unitId'],'subUnitId':_0x334f2c[0x0][_0x29c24b(0x260)]})))[_0x29c24b(0x21d)]();}};_0x96654b=_0x22c0a8([_0x50b7ba[_0xe41171(0x108)](_0x50b7ba['LifecycleStages'][_0xe41171(0x2bb)],_0x96654b),_0x52be9c(0x0,_0x50b7ba[_0xe41171(0x139)](_0x2c07d5[_0xe41171(0x1a5)])),_0x52be9c(0x1,_0x1735f2[_0xe41171(0x2e5)]),_0x52be9c(0x2,_0x1735f2[_0xe41171(0x241)])],_0x96654b);function _0x5819aa(_0x2da671){return new _0x50b7ba['ObjectMatrix'](_0x2da671)['getDataRange']();}function _0x44ccc7(_0x271ed0){const _0x3b10df=_0xe41171,_0x322b92=new _0x50b7ba[(_0x3b10df(0x10f))](_0x271ed0),_0x509612=new _0x50b7ba[(_0x3b10df(0x10f))]();return _0x322b92[_0x3b10df(0x2d8)]((_0x4f98c8,_0x48e2a3)=>{const _0x297c05=_0x3b10df;_0x509612[_0x297c05(0x29d)](_0x4f98c8,_0x48e2a3,0x1);}),_0x44dd6f[_0x3b10df(0x193)](_0x509612);}var _0x803d9f=Object[_0xe41171(0x142)],_0x4aa005=Object[_0xe41171(0x167)],_0x1fd069=(_0x1abbd1,_0x1a0366,_0x426185,_0x2b23a5)=>{const _0x2fbb13=_0xe41171;for(var _0x51121d=_0x2b23a5>0x1?void 0x0:_0x2b23a5?_0x4aa005(_0x1a0366,_0x426185):_0x1a0366,_0x32944d=_0x1abbd1[_0x2fbb13(0x322)]-0x1,_0x2120a3;_0x32944d>=0x0;_0x32944d--)(_0x2120a3=_0x1abbd1[_0x32944d])&&(_0x51121d=(_0x2b23a5?_0x2120a3(_0x1a0366,_0x426185,_0x51121d):_0x2120a3(_0x51121d))||_0x51121d);return _0x2b23a5&&_0x51121d&&_0x803d9f(_0x1a0366,_0x426185,_0x51121d),_0x51121d;},_0x104afd=(_0x15d7a3,_0x5b2a64)=>(_0x5816ed,_0x4bdd54)=>_0x5b2a64(_0x5816ed,_0x4bdd54,_0x15d7a3);let _0x5bc97b=class extends _0x50b7ba[_0xe41171(0x20c)]{constructor(_0x14a77b,_0x4c446f,_0x4da0ae,_0x308634,_0x1b4a28,_0x449e50,_0x4ce056,_0x5dc870){const _0x41eb60=_0xe41171;super(),_0x1753ce(this,_0x41eb60(0x24c),new Set()),_0x1753ce(this,_0x41eb60(0x126),null),(this[_0x41eb60(0x229)]=_0x14a77b,this['_historyManagerService']=_0x4c446f,this[_0x41eb60(0x2c5)]=_0x4da0ae,this[_0x41eb60(0x1ac)]=_0x308634,this[_0x41eb60(0x16d)]=_0x1b4a28,this[_0x41eb60(0x22b)]=_0x449e50,this[_0x41eb60(0x25a)]=_0x4ce056,this[_0x41eb60(0x22e)]=_0x5dc870,this[_0x41eb60(0x1ad)]());}['_init'](){const _0x2b031f=_0xe41171;this[_0x2b031f(0x225)](),this['_initActiveSwitch']();}[_0xe41171(0x225)](){const _0x341fda=_0xe41171;this[_0x341fda(0x25b)](_0xab6927['combineLatest']([this[_0x341fda(0x127)][_0x341fda(0x157)],this[_0x341fda(0x25a)]['currentSkeleton$']])[_0x341fda(0x2b8)](_0xab6927[_0x341fda(0x30e)](([_0x5b4e06,_0x5d2103])=>{const _0x440907=_0x341fda;if(_0x5b4e06===_0x5e3ffc['Loaded']&&_0x5d2103){const _0x224afa=_0x5d2103['sheetId'];return this[_0x440907(0x2c5)][_0x440907(0x2d1)][_0x440907(0x2b8)](_0xab6927[_0x440907(0x162)](_0x400395=>{const _0x55dbba=_0x440907,_0x5c27b2=new Map();return _0x400395['ranges'][_0x55dbba(0x2f4)]((_0x1f6b1c,_0xc77423)=>{const _0x970574=_0x55dbba,_0x4227ed=_0x1f6b1c['filter'](_0x78b405=>_0x78b405['subUnitId']===_0x224afa);_0x5c27b2[_0x970574(0x1b6)](_0xc77423,_0x4227ed);}),{'skeleton':_0x5d2103,'diffs':_0x5c27b2};}));}return _0xab6927['of']({'skeleton':null,'diffs':new Map()});}))['subscribe'](({skeleton:_0x179b83,diffs:_0xffff06})=>{const _0x569397=_0x341fda;this[_0x569397(0x312)](),_0x179b83&&this[_0x569397(0x15a)](_0x179b83,_0xffff06);})),this[_0x341fda(0x25b)](this['_sheetSkeletonManagerService'][_0x341fda(0x1a0)][_0x341fda(0x2a5)](_0x1611c6=>{const _0x415b48=_0x341fda;if(_0x1611c6==null)return;const {skeleton:_0x50b144}=_0x1611c6,{scene:_0x510e59}=this[_0x415b48(0x229)];_0x510e59[_0x415b48(0x1ca)][_0x415b48(0x261)](_0x50b7ba['debounce'](_0x16852e=>{const _0x423d7c=_0x415b48;var _0x276bac,_0x54f425;const {offsetX:_0xc23389,offsetY:_0x5081fc}=_0x16852e,{x:_0x1fbe6a,y:_0xbf7e51}=_0x510e59[_0x423d7c(0x204)](_0x3448ac[_0x423d7c(0x13c)]['FromArray']([_0xc23389,_0x5081fc])),{scaleX:_0x320367,scaleY:_0x488903}=_0x510e59[_0x423d7c(0x2bc)](),_0x4297e4=_0x510e59[_0x423d7c(0x270)](_0x50cd4d[_0x423d7c(0x151)][_0x423d7c(0x1fd)]),_0x238094=_0x510e59['getVpScrollXYInfoByPosToVp'](_0x3448ac[_0x423d7c(0x13c)]['FromArray']([_0x1fbe6a,_0xbf7e51]),_0x4297e4),_0x55dfdb=_0x50b144[_0x423d7c(0x2c2)](_0xc23389,_0x5081fc,_0x320367,_0x488903,_0x238094);((_0x276bac=this['_lastPointer'])==null?void 0x0:_0x276bac['column'])===_0x55dfdb[_0x423d7c(0x116)]&&((_0x54f425=this[_0x423d7c(0x126)])==null?void 0x0:_0x54f425[_0x423d7c(0x2ab)])===_0x55dfdb['row']||this['_diffs']['forEach'](_0x24e89f=>{const _0x34cf87=_0x423d7c;_0x24e89f[_0x34cf87(0x18a)](_0x55dfdb);});},0x64));}));}[_0xe41171(0x2c3)](){const _0x39e3f1=_0xe41171;this[_0x39e3f1(0x25b)](this['_historyManagerService'][_0x39e3f1(0x157)]['subscribe'](_0xdd9aac=>{const _0x3e5aec=_0x39e3f1,_0x297015=new _0x50b7ba[(_0x3e5aec(0x284))]();return _0xdd9aac===_0x5e3ffc[_0x3e5aec(0x122)]&&(_0x297015[_0x3e5aec(0x1f0)](),_0x297015[_0x3e5aec(0x20a)](this['_versionDiffService'][_0x3e5aec(0x2d1)][_0x3e5aec(0x2a5)](_0x3f7ade=>{const _0x20d271=_0x3e5aec;_0x3f7ade[_0x20d271(0x28c)]&&this[_0x20d271(0x22e)][_0x20d271(0x302)](_0x44dd6f[_0x20d271(0x295)]['id'],{'unitId':this[_0x20d271(0x229)]['unitId'],'subUnitId':_0x3f7ade[_0x20d271(0x28c)]});}))),()=>_0x297015[_0x3e5aec(0x1f0)]();}));}[_0xe41171(0x15a)](_0x5bc36b,_0x259176){const _0x340501=_0xe41171;var _0xbe2c33;const _0x281080=(_0xbe2c33=this[_0x340501(0x25a)]['getCurrent']())==null?void 0x0:_0xbe2c33[_0x340501(0x22c)];if(!_0x281080)return;this['_diffs'][_0x340501(0x2f4)](_0x13d63c=>{const _0x13983a=_0x340501;_0x13d63c[_0x13983a(0x2da)]();});const {scene:_0x43b09b}=this['_context'],_0x5e8881=Array['from'](_0x259176[_0x340501(0x181)]())[_0x340501(0x162)](_0x392df3=>_0x259176[_0x340501(0x148)](_0x392df3)[_0x340501(0x162)](_0x42f769=>{const _0x59e9f2=_0x340501;var _0x51dd1c;const {range:_0xf91671,subUnitId:_0xf2d2ea,unitId:_0x234072}=_0x42f769,{startColumn:_0x5daac1,startRow:_0x1a8152,endColumn:_0x285191,endRow:_0x5cbfc0}=_0xf91671,_0x2405da=_0x50cd4d[_0x59e9f2(0x1d5)](_0x1a8152,_0x5daac1,_0x43b09b,_0x281080),_0x588e92=_0x50cd4d[_0x59e9f2(0x1d5)](_0x5cbfc0,_0x285191,_0x43b09b,_0x281080),{columnHeaderHeightAndMarginTop:_0x177426}=_0x281080,{startX:_0x2943a7,startY:_0x1f9124}=_0x2405da,{endX:_0x63bc14,endY:_0x127f22}=_0x588e92,_0x1dd9ab=_0x63bc14-_0x2943a7,_0x152ca7=_0x127f22-_0x1f9124,_0xaadf0={'labelPosition':_0x1f9124-_0x177426>=0x14?'top':_0x59e9f2(0x2ea),'sheetID':_0xf2d2ea,'range':_0xf91671,'color':_0x59e9f2(0x125),'fillAfterStrokeEnabled':!0x0,'backgroundColor':'rgba(58,\x2096,\x20247,\x200.20)','name':((_0x51dd1c=this[_0x59e9f2(0x127)][_0x59e9f2(0x184)](_0x392df3))==null?void 0x0:_0x51dd1c[_0x59e9f2(0x172)])||'','selection':_0x234072+'-'+_0xf2d2ea+'-'+_0xf91671[_0x59e9f2(0x11d)]+'-'+_0xf91671[_0x59e9f2(0x13a)]+'-'+_0xf91671[_0x59e9f2(0x1e5)]+'-'+_0xf91671[_0x59e9f2(0x21a)],'left':_0x2943a7,'top':_0x1f9124,'width':_0x1dd9ab,'height':_0x152ca7,'evented':!0x1,'zIndex':0x1};return new _0xf40a3[(_0x59e9f2(0x1d3))]('',_0xaadf0);}))[_0x340501(0x21d)]();_0x43b09b[_0x340501(0x2c9)](_0x5e8881,0x1),this['_diffs']=new Set(_0x5e8881);}[_0xe41171(0x312)](){const _0x299262=_0xe41171;var _0x51c2cc;(_0x51c2cc=this[_0x299262(0x24c)])==null||_0x51c2cc['forEach'](_0x5eef60=>_0x5eef60[_0x299262(0x1f0)]());}[_0xe41171(0x1f8)](){const _0x4b6ff5=_0xe41171;return _0x50cd4d['getSheetObject'](this[_0x4b6ff5(0x1ac)],this['_renderManagerService']);}};_0x5bc97b=_0x1fd069([_0x50b7ba[_0xe41171(0x108)](_0x50b7ba[_0xe41171(0x304)][_0xe41171(0x2bb)],_0x5bc97b),_0x104afd(0x1,_0x50b7ba[_0xe41171(0x139)](_0x2c07d5[_0xe41171(0x1a5)])),_0x104afd(0x2,_0x50b7ba[_0xe41171(0x139)](_0x96654b)),_0x104afd(0x3,_0x50b7ba[_0xe41171(0x2a7)]),_0x104afd(0x4,_0x3448ac[_0xe41171(0x1e9)]),_0x104afd(0x5,_0x50b7ba[_0xe41171(0x139)](_0x50b7ba[_0xe41171(0x279)])),_0x104afd(0x6,_0x50b7ba[_0xe41171(0x139)](_0x50cd4d[_0xe41171(0x197)])),_0x104afd(0x7,_0x50b7ba['ICommandService'])],_0x5bc97b);var _0x21d5aa=Object[_0xe41171(0x142)],_0x1004c4=Object['getOwnPropertyDescriptor'],_0x171b09=(_0x3d15a1,_0x2a1ad0,_0x14f3ea,_0x12c285)=>{for(var _0xe789b9=_0x12c285>0x1?void 0x0:_0x12c285?_0x1004c4(_0x2a1ad0,_0x14f3ea):_0x2a1ad0,_0x445a9a=_0x3d15a1['length']-0x1,_0x6188bd;_0x445a9a>=0x0;_0x445a9a--)(_0x6188bd=_0x3d15a1[_0x445a9a])&&(_0xe789b9=(_0x12c285?_0x6188bd(_0x2a1ad0,_0x14f3ea,_0xe789b9):_0x6188bd(_0xe789b9))||_0xe789b9);return _0x12c285&&_0xe789b9&&_0x21d5aa(_0x2a1ad0,_0x14f3ea,_0xe789b9),_0xe789b9;},_0x181ba5=(_0x1febe7,_0x368c7a)=>(_0x816f1d,_0x408feb)=>_0x368c7a(_0x816f1d,_0x408feb,_0x1febe7);let _0x36e74c=class extends _0x50b7ba[_0xe41171(0x20c)]{constructor(_0x270e08){const _0x428582=_0xe41171;super(),this[_0x428582(0x128)]=_0x270e08,this[_0x428582(0x1ad)]();}['_init'](){const _0x4bf62f=_0xe41171;this['disposeWithMe'](this[_0x4bf62f(0x128)][_0x4bf62f(0x196)][_0x4bf62f(0x2a5)](_0x14ad26=>{const _0x3a9153=_0x4bf62f;_0x14ad26!=null&&_0x14ad26['show']&&this[_0x3a9153(0x128)]['setState']({'show':!0x1});}));}};_0x36e74c=_0x171b09([_0x50b7ba[_0xe41171(0x108)](_0x50b7ba[_0xe41171(0x304)]['Rendered'],_0x36e74c),_0x181ba5(0x0,_0x50cd4d[_0xe41171(0x11f)])],_0x36e74c);const _0x95eab0=_0xe41171(0x2fc),_0x21e557={};var _0x2b96ea=Object[_0xe41171(0x142)],_0x2b8ae3=Object[_0xe41171(0x167)],_0x3dbf51=(_0x19a4c9,_0xf66cf4,_0x183a56)=>_0xf66cf4 in _0x19a4c9?_0x2b96ea(_0x19a4c9,_0xf66cf4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x183a56}):_0x19a4c9[_0xf66cf4]=_0x183a56,_0x119c1e=(_0x4efa15,_0xb99cde,_0x1ff5c4,_0x1eae0b)=>{const _0x574c7c=_0xe41171;for(var _0x3eae9a=_0x1eae0b>0x1?void 0x0:_0x1eae0b?_0x2b8ae3(_0xb99cde,_0x1ff5c4):_0xb99cde,_0x9814b7=_0x4efa15[_0x574c7c(0x322)]-0x1,_0x24f245;_0x9814b7>=0x0;_0x9814b7--)(_0x24f245=_0x4efa15[_0x9814b7])&&(_0x3eae9a=(_0x1eae0b?_0x24f245(_0xb99cde,_0x1ff5c4,_0x3eae9a):_0x24f245(_0x3eae9a))||_0x3eae9a);return _0x1eae0b&&_0x3eae9a&&_0x2b96ea(_0xb99cde,_0x1ff5c4,_0x3eae9a),_0x3eae9a;},_0x5b2dd7=(_0x13149e,_0x29b098)=>(_0x10728a,_0x5f08e8)=>_0x29b098(_0x10728a,_0x5f08e8,_0x13149e),_0x1d720a=(_0x4dc4ba,_0x29b39c,_0x3363d1)=>_0x3dbf51(_0x4dc4ba,_0x29b39c+'',_0x3363d1);const _0xe4a522='UNIVER_EDIT_HISTORY_VIEWER_PLUGIN';_0x2c07d5['UniverEditHistoryViewerPlugin']=class extends _0x50b7ba[_0xe41171(0x2f2)]{constructor(_0x18c563=_0x21e557,_0x56ccf2,_0x5eaf3f,_0xb9efd4){const _0x3d5cf5=_0xe41171;super(),this[_0x3d5cf5(0x319)]=_0x18c563,this[_0x3d5cf5(0x1df)]=_0x56ccf2,this[_0x3d5cf5(0x16d)]=_0x5eaf3f,this[_0x3d5cf5(0x327)]=_0xb9efd4;const {..._0x3c52f4}=this[_0x3d5cf5(0x319)];this[_0x3d5cf5(0x327)]['setConfig'](_0x95eab0,_0x3c52f4);}[_0xe41171(0x325)](){const _0x5cf6f0=_0xe41171;[[_0x2c07d5[_0x5cf6f0(0x1a5)]],[_0x532798],[_0x96654b],[_0x38b717],[_0x7443a1],[_0x47f94c[_0x5cf6f0(0x31a)]],[_0x36e74c],[_0x47f94c[_0x5cf6f0(0x2d7)],{'useClass':_0x47f94c[_0x5cf6f0(0x32e)]}],[_0x1735f2[_0x5cf6f0(0x241)],{'useClass':_0xf40a3[_0x5cf6f0(0x269)]}],[_0x50b7ba[_0x5cf6f0(0x289)],{'useClass':_0xf40a3[_0x5cf6f0(0x2fb)]}],[_0x68749e[_0x5cf6f0(0x23f)],{'useClass':_0x389152}],[_0x4c8a4e[_0x5cf6f0(0x16b)],{'useClass':_0xf40a3['ImageIoService']}]][_0x5cf6f0(0x2f4)](_0xe45e8b=>this[_0x5cf6f0(0x1df)]['add'](_0xe45e8b));}[_0xe41171(0x1a2)](){const _0x32b1cc=_0xe41171;[[_0x5bc97b]][_0x32b1cc(0x2f4)](_0x18f04d=>{const _0x38e84e=_0x32b1cc;this['disposeWithMe'](this[_0x38e84e(0x16d)][_0x38e84e(0x2a2)](_0x50b7ba[_0x38e84e(0x16a)][_0x38e84e(0x2e2)],_0x18f04d));});}},_0x1d720a(_0x2c07d5['UniverEditHistoryViewerPlugin'],_0xe41171(0x1f1),_0xe4a522),_0x2c07d5[_0xe41171(0x23d)]=_0x119c1e([_0x50b7ba[_0xe41171(0x1eb)](_0x50cd4d[_0xe41171(0x237)]),_0x5b2dd7(0x1,_0x50b7ba[_0xe41171(0x139)](_0x50b7ba[_0xe41171(0x30a)])),_0x5b2dd7(0x2,_0x3448ac[_0xe41171(0x1e9)]),_0x5b2dd7(0x3,_0x50b7ba[_0xe41171(0x315)])],_0x2c07d5['UniverEditHistoryViewerPlugin']),_0x2c07d5['HistoryModeStatus']=_0x50af33,Object[_0xe41171(0x142)](_0x2c07d5,Symbol['toStringTag'],{'value':_0xe41171(0x331)});}));function _0x2168(){const _0x59f52c=['PERMISSION_DENIED','_createMask','showMask','dateString','editHistory.panel.revertDesc','IMessageService','Duplicate','SnapshotServerOverHTTPService','[HistoryFetchService]:\x20request\x20snapshot\x20error!','CreateSheet','APPLY_REVISION_CONFILICT','_lastLabel','InsertColMutation','FloatImg','getViewport','_revertRevision$','AddWorksheetMergeMutation','UniverSheetsFilter','UNAUTHENTICATED','function','emptyText','APPLY_REJECT','_maskElement','ThemeService','registerComponent','InsertSheetMutation','Loading','_confirmService','UNRECOGNIZED','back-single','MoveRowsMutation','historyViewHeader','canRevert','editHistory.action.etc','DisposableCollection','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','m-auto\x20animate-spin360','text-gray-500','0\x200\x2016\x2017','IAuthzIoService','editHistory.action.revertSheetSuffix','command','active','LocaleType','Filter','loadingState','userID','editHistory.panel.revertConfirmText','CreateUnitMutation','editSheet','transformSnapshotToWorkbookData','SetWorksheetActiveOperation','_compressMutationService','editHistory.panel.listFetchError','LICENSE_EXPORT_SIZE_EXCEEDED','SNAPSHOT_HAS_BEEN_REMOVED','EditWorksheetCell','propertyIsEnumerable','@univerjs/drawing','setValue','Export','CompressMutationService','_canRevert','Today','registerRenderModule','value','SNAPSHOT_INVALID_SNAPSHOT','subscribe','editHistory.panel.title','IUniverInstanceService','colorChannel1','Tooltip','append','row','fetchThroughInterceptors','_maskContainer','/universer-api/history','DeleteRangeProtectionMutation','SelectProtectedCells','NOT_FOUND','getSheetBlock','getCurrentVersion','changesets','use','anonymous','UniverSheets','pipe','APPLY_PERMISSION_DENIED','unitId$','Steady','getAncestorScale','removeSheet','univer-version-item-header','ranges','RemoveNumfmtMutation','editHistory.action.','getCellPositionByOffset','_initActiveSwitch','DeleteColumn','_versionDiffService','CopySheet','@univerjs/sheets-filter','hideMask','addObjects','height','_componentManager','CHANGESET_REVISION_CONFILICT','@univerjs/core','_getAPIPrefix','/list?length=20','_loadingState$','currentVersionDiff$','zIndex','interceptor','setCF','none','flex','IHTTPImplementation','forValue','LICENSE_IMPORT_SIZE_EXCEEDED','makeDirty','toString','block','getOwnPropertySymbols','open','idSuffix','mutations','object','UNIVER_SHEET','display','absolute','ITransformService','triggerLoadVersions','some','userId','AddDataValidationMutation','bottom','reduce','InsertColumn','editHistory.panel.currentUser','RenameWorksheet','show','_fetching','values','Plugin','blockMeta','forEach','all','date','recoverTime','currentVersion','@univerjs/sheets-conditional-formatting','SetWorksheetHideMutation','AuthzIoHttpService','edit-history-viewer.config','status','HideWorksheet','toDisposable','range','ensureVersion','executeCommand','@univerjs/engine-render','LifecycleStages','div','UniverSheetsConditionalFormatting','@univerjs-pro/collaboration-client','createTime','react','Injector','Comment','1732885nfsTBd','call','switchMap','_getActiveSubUnitId','24px','PivotTable','_removeDiffMarks','focusUnit','APPLY_NON_SEQUENTIAL_REVISION','IConfigService','loading','versionListLoadingIcon','evenodd','_config','HTTPService','closeAll','useDependency','Exited','white','asObservable','univer-version-list-panel','style','length','SetRangeValuesMutation','YUUMI_SUBSCRIPTION_NOT_FOUND','onStarting','versionDate','_configService','getElementById','_currentVersion$','then','commands','univer-loading-spin','1630352XkOWsS','FetchHTTPImplementation','isTransformMutationsSuccess','getUnitId','Module','updatePermissionPoint','UniverDrawing','MoveRangeMutation','_createUnit','sheet','_uiPartsService','OnLifecycle','url(#$1','@univerjs/network','ALREADY_EXISTS','clipPath','url(#restore-single_clip0_1247_2)','_unitId$','ObjectMatrix','BackSingle','.univer-app-container-content','versionItemHeader','error','100%','InsertRowMutation','column','MoveWorksheet','entered','attrs','versionListPanel','InsertHyperlink','useObservable','startColumn','primary','ICellEditorManagerService','push','Button','Loaded','_loadingMessage',':\x20(','rgba(58,\x2096,\x20247,\x200.20)','_lastPointer','_historyManagerService','_cellEditorManagerService','RecoverHistory','SetNumfmtMutation','user','className','clear','has','Print','getMinutes','_status$','_openPanel','@univerjs/ui','unitId','_updateVersions','_permissionService','RwHgtClWdt','triggerRevert','Inject','startRow','AddWorksheetProtectionMutation','Vector2','createElement','Edit','find','_sidebarService','UniverCore','defineProperty','@univerjs/sheets','split','19176LWNKny','disposeUnit','SetFrozenMutation','get','close','_httpService','_combineRanges','univer-active','_snapshotServerService','versions$','CONNECTOR_DATA_TOO_LARGE','ViemRwHgtClWdt','VIEWPORT_KEY','HideSheet','UniverSheetsUi','univer-version-item-content','substring','univer-version-list-panel-content','loadingState$','univerjs-icon\x20univerjs-icon-','color','_updateDiffMarks','DeleteWorksheet','rules','INVALID_ARGUMENT','restore-single','M7.17852\x201.82153C7.17852\x201.36781\x207.54633\x201\x208.00005\x201C11.866\x201\x2015\x204.13397\x2015\x207.99993C15\x2011.8659\x2011.866\x2014.9999\x208.00005\x2014.9999C4.1341\x2014.9999\x201.00012\x2011.8659\x201.00012\x207.99993C1.00012\x207.54621\x201.36793\x207.1784\x201.82165\x207.1784C2.27537\x207.1784\x202.64318\x207.54621\x202.64318\x207.99993C2.64318\x2010.9584\x205.04153\x2013.3568\x208.00005\x2013.3568C10.9586\x2013.3568\x2013.3569\x2010.9584\x2013.3569\x207.99993C13.3569\x205.04141\x2010.9586\x202.64306\x208.00005\x202.64306C7.54633\x202.64306\x207.17852\x202.27525\x207.17852\x201.82153Z','ViewHistory','univer-version-item','map','Error','UniverUi','_hasMore','getConfig','getOwnPropertyDescriptor','extend','parse','UniverInstanceType','IImageIoService','univer-version-item-header-revert','_renderManagerService','View','_transformService','syncExecuteCommand','_initPanel','name','versionItemHeaderTimeTag','WorkbookHideSheetPermission','from','_historyFetchService','UNIVER_UNKNOWN','loaded','UNIVER_DOC','SetSheetsFilterRangeMutation','univer-history-view-header','getCurrentLocale','indexOf','editHistory.panel.revertConfirm','_members','width','keys','History','rect','getMember','path','Rendered','Info','SetCellStyle','apply','onMouseMove','versionItemHeaderExpand','_workbookDataCache','_sidebarDisposable','@univerjs/sheets-ui','M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z','SetColumnStyle','versionListPanelContent','LICENSE_DISTRO_REJECTED','findAllRectangle','ViewFilter','#fff','state$','SheetSkeletonManagerService','prototype','entries','center','COMPRESS_MUTATION_APPLY','m1Prime','MessageType','IConfirmService','string','currentSkeleton$','_transformMutationByOrder','onRendered','setDV','univer-version-date','HistoryManagerService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','editHistory.panel.unknownUser','useCallback','COMPLETION_FINISHED','WorkbookEditablePermission','_dialogOptions$','_univerInstanceService','_init','getHours','UNIVER_SLIDE','flex\x20items-center\x20justify-center','init','endRevision','Sort','SetConditionalRuleMutation','Delete','set','Copy','RemoveSheetMutation','EditExtraObject','displayName','LocaleService','UniverDataValidation','defIds','_currentVersionDiff$','ZH_CN','HEADER','BehaviorSubject','restore-single_clip0_1247_2','toISOString','Fragment','rgba(225,\x20225,\x20225,\x200.5)','deleteProtection','data','xlink:href','@univerjs/design','onPointerMove$','TOO_MANY_REQUESTS','children','M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z','tag','action','time','connectInjector','UNIVER_PROJECT','SheetCollabCursorShape','_extractRanges','getCoordByCell','random','next','Share','revertRevision$','exited','Starting','SetRowStyle','empty','@univerjs/data-validation','_injector','status$','10BGodGP','querySelector','WorkbookRenameSheetPermission','rev','endColumn','editHistory.action.revertSheetPrefix','YUUMI_UNABLE_LOAD_URL','forwardRef','IRenderManagerService','SetCellValue','DependentOn','RenameSheet','UniverEditHistoryViewer','_messageService','_diffRangesMap','dispose','pluginName','current','versionListLoading','IPermissionService','univer-version-item-header-time-tag','AddRangeProtectionMutation','SelectUnProtectedCells','_getSheetObject','528915GgtAjv','filter','versionItemContent','getVersion','VIEW_MAIN','hasOwnProperty','RangeMergeUtil','2705752IMpXdT','_initMaskContainer','assign','concat','getRelativeToViewportCoord','endRev','versions','versionItem','SetRangeProtectionMutation','code','add','UniverNetwork','Disposable','blocks','univer-history-view-header-back','rxjs','ManageCollaborator','MoveSheet','workbook','subType','ICommandService','INTERNAL_ERROR','HISTORY_LIST_SERVER_URL','_historyContainerId','CreateWorksheet','params','endRow','getVersions','debounceTime','flat','register','padStart','LICENSE_MAX_UNITS_EXCEEDED','clsx','getUnitOnRev','getDialogs$','defs','_initRender','position','insertSheet','currentColor','_context','_getRangesByMutation','_themeService','skeleton','historyViewHeaderRevert','_commandService','UniverCollaboration','hidden','1em','addProtection','AddConditionalRuleMutation','9300870PlnCoM','currentVersion$','getInterceptPoints','UniverSheetsUIPlugin','RevertRevisionMutation','versionItemHeaderRevert','VIRTUAL_VERSION_NOW','0\x200\x2016\x2016','memberId','UniverEditHistoryViewerPlugin','UNDEFINED','IDialogService','fill','ISnapshotServerService','565fKJWSD','rule','trim','scrollEvent$','React','parseProtocolChangeset','setFilter','transformMutations','svg','editHistory.info.loading','_diffs','loadMoreVersions','amd','merge','icon','left','55058AwptlJ','_versions$','cellValue','_localeService','triggerLoadSheet','setFrozen','YUUMI_RATE_OVER_LIMIT','span','_sheetSkeletonManagerService','disposeWithMe','YUUMI_URL_COL_OUT_OF_RANGE','MoveColsMutation','body','UpdateDataValidationMutation','subUnitId','subscribeEvent'];_0x2168=function(){return _0x59f52c;};return _0x2168();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/edit-history-viewer",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.14",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "UniverSheet Edit History Viewer",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -50,45 +50,45 @@
|
|
|
50
50
|
"clsx": ">=2.0.0",
|
|
51
51
|
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
|
|
52
52
|
"rxjs": ">=7.0.0",
|
|
53
|
-
"@univerjs-pro/collaboration": "0.2.
|
|
54
|
-
"@univerjs-pro/collaboration-client": "0.2.
|
|
55
|
-
"@univerjs/
|
|
56
|
-
"@univerjs/
|
|
57
|
-
"@univerjs/
|
|
58
|
-
"@univerjs/
|
|
59
|
-
"@univerjs/
|
|
60
|
-
"@univerjs/
|
|
61
|
-
"@univerjs/sheets
|
|
62
|
-
"@univerjs/
|
|
63
|
-
"@univerjs/sheets-
|
|
64
|
-
"@univerjs/sheets-
|
|
65
|
-
"@univerjs/ui": "0.2.
|
|
53
|
+
"@univerjs-pro/collaboration": "0.2.14",
|
|
54
|
+
"@univerjs-pro/collaboration-client": "0.2.14",
|
|
55
|
+
"@univerjs/design": "0.2.14",
|
|
56
|
+
"@univerjs/core": "0.2.14",
|
|
57
|
+
"@univerjs/data-validation": "0.2.14",
|
|
58
|
+
"@univerjs/drawing": "0.2.14",
|
|
59
|
+
"@univerjs/network": "0.2.14",
|
|
60
|
+
"@univerjs/engine-render": "0.2.14",
|
|
61
|
+
"@univerjs/sheets": "0.2.14",
|
|
62
|
+
"@univerjs/sheets-conditional-formatting": "0.2.14",
|
|
63
|
+
"@univerjs/sheets-ui": "0.2.14",
|
|
64
|
+
"@univerjs/sheets-filter": "0.2.14",
|
|
65
|
+
"@univerjs/ui": "0.2.14"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"@univerjs/icons": "^0.1.
|
|
69
|
-
"
|
|
68
|
+
"@univerjs/icons": "^0.1.78",
|
|
69
|
+
"clsx": "^2.1.1",
|
|
70
|
+
"@univerjs-pro/collaboration": "0.2.14",
|
|
71
|
+
"@univerjs-pro/collaboration-client": "0.2.14",
|
|
72
|
+
"@univerjs/core": "0.2.14",
|
|
73
|
+
"@univerjs/design": "0.2.14",
|
|
74
|
+
"@univerjs/docs-ui": "0.2.14",
|
|
75
|
+
"@univerjs/docs": "0.2.14",
|
|
76
|
+
"@univerjs/engine-render": "0.2.14",
|
|
77
|
+
"@univerjs/protocol": "0.1.39-alpha.15",
|
|
78
|
+
"@univerjs/sheets": "0.2.14",
|
|
79
|
+
"@univerjs/network": "0.2.14",
|
|
80
|
+
"@univerjs/sheets-ui": "0.2.14",
|
|
81
|
+
"@univerjs/ui": "0.2.14"
|
|
70
82
|
},
|
|
71
83
|
"devDependencies": {
|
|
72
84
|
"@types/react": "^18.3.5",
|
|
73
|
-
"clsx": "^2.1.1",
|
|
74
85
|
"less": "^4.2.0",
|
|
75
86
|
"react": "18.3.1",
|
|
76
87
|
"rxjs": "^7.8.1",
|
|
77
|
-
"typescript": "^5.
|
|
78
|
-
"vite": "^5.4.
|
|
88
|
+
"typescript": "^5.6.2",
|
|
89
|
+
"vite": "^5.4.3",
|
|
79
90
|
"vitest": "^2.0.5",
|
|
80
|
-
"@univerjs-
|
|
81
|
-
"@univerjs/core": "0.2.12",
|
|
82
|
-
"@univerjs-pro/collaboration-client": "0.2.12",
|
|
83
|
-
"@univerjs/design": "0.2.12",
|
|
84
|
-
"@univerjs/engine-render": "0.2.12",
|
|
85
|
-
"@univerjs/docs-ui": "0.2.12",
|
|
86
|
-
"@univerjs/docs": "0.2.12",
|
|
87
|
-
"@univerjs/network": "0.2.12",
|
|
88
|
-
"@univerjs/shared": "0.2.12",
|
|
89
|
-
"@univerjs/sheets": "0.2.12",
|
|
90
|
-
"@univerjs/sheets-ui": "0.2.12",
|
|
91
|
-
"@univerjs/ui": "0.2.12"
|
|
91
|
+
"@univerjs-infra/shared": "0.2.14"
|
|
92
92
|
},
|
|
93
93
|
"univerSpace": {
|
|
94
94
|
".": {
|