@univerjs-pro/edit-history-viewer 0.12.4 → 0.13.0-insiders.20251215-64041bb

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.
Files changed (55) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ja-JP.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/index.js +1 -1
  14. package/lib/es/locale/ca-ES.js +1 -1
  15. package/lib/es/locale/en-US.js +1 -1
  16. package/lib/es/locale/es-ES.js +1 -1
  17. package/lib/es/locale/fa-IR.js +1 -1
  18. package/lib/es/locale/fr-FR.js +1 -1
  19. package/lib/es/locale/ja-JP.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/index.js +1 -1
  26. package/lib/locale/ca-ES.js +1 -1
  27. package/lib/locale/en-US.js +1 -1
  28. package/lib/locale/es-ES.js +1 -1
  29. package/lib/locale/fa-IR.js +1 -1
  30. package/lib/locale/fr-FR.js +1 -1
  31. package/lib/locale/ja-JP.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/types/controllers/config.schema.d.ts +1 -0
  38. package/lib/types/controllers/version-list.controller.d.ts +3 -2
  39. package/lib/types/index.d.ts +1 -0
  40. package/lib/types/services/history-fetch.service.d.ts +22 -1
  41. package/lib/types/services/history-manager.service.d.ts +14 -2
  42. package/lib/types/services/version-diff.service.d.ts +1 -0
  43. package/lib/umd/index.js +1 -1
  44. package/lib/umd/locale/ca-ES.js +1 -1
  45. package/lib/umd/locale/en-US.js +1 -1
  46. package/lib/umd/locale/es-ES.js +1 -1
  47. package/lib/umd/locale/fa-IR.js +1 -1
  48. package/lib/umd/locale/fr-FR.js +1 -1
  49. package/lib/umd/locale/ja-JP.js +1 -1
  50. package/lib/umd/locale/ko-KR.js +1 -1
  51. package/lib/umd/locale/ru-RU.js +1 -1
  52. package/lib/umd/locale/vi-VN.js +1 -1
  53. package/lib/umd/locale/zh-CN.js +1 -1
  54. package/lib/umd/locale/zh-TW.js +1 -1
  55. package/package.json +19 -19
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x2cb6e4=_0x50cb;(function(_0x286bd4,_0x59be5a){const _0x27095e=_0x50cb,_0xa49db=_0x286bd4();while(!![]){try{const _0x11a32e=parseInt(_0x27095e(0x2f0))/0x1*(-parseInt(_0x27095e(0x356))/0x2)+-parseInt(_0x27095e(0x24b))/0x3+-parseInt(_0x27095e(0x2b5))/0x4+-parseInt(_0x27095e(0x2bc))/0x5+-parseInt(_0x27095e(0x2b9))/0x6*(parseInt(_0x27095e(0x307))/0x7)+parseInt(_0x27095e(0x26b))/0x8+parseInt(_0x27095e(0x31e))/0x9;if(_0x11a32e===_0x59be5a)break;else _0xa49db['push'](_0xa49db['shift']());}catch(_0x15cc60){_0xa49db['push'](_0xa49db['shift']());}}}(_0x148d,0x8934a));var xe=Object[_0x2cb6e4(0x23e)],Ae=(_0x1c9a8d,_0x1f5bbe,_0x2db5cd)=>_0x1f5bbe in _0x1c9a8d?xe(_0x1c9a8d,_0x1f5bbe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2db5cd}):_0x1c9a8d[_0x1f5bbe]=_0x2db5cd,c=(_0x1e7d87,_0xf19347,_0x5711c4)=>Ae(_0x1e7d87,typeof _0xf19347!=_0x2cb6e4(0x29f)?_0xf19347+'':_0xf19347,_0x5711c4);import{RevertRevisionMutation as _0x552bee,CreateUnitMutation as _0x48e5ca,ISnapshotServerService as _0x19371c,CompressMutationService as _0x4ada37,transformSnapshotToWorkbookData as _0x1efcef,ITransformService as _0x404d3b,parseProtocolChangeset as _0x557b83,isTransformMutationsSuccess as _0x582c81}from'@univerjs-pro/collaboration';import{SnapshotServerOverHTTPService as _0x31e1df,CollaborationImageIoService as _0x2a01f1}from'@univerjs-pro/collaboration-client';import{Disposable as _0x555e29,LocaleType as _0x5d1aa2,IUniverInstanceService as _0x381737,ICommandService as _0x241833,IConfigService as _0x32a9c2,Inject as _0x4aaff5,UniverInstanceType as _0x113232,LocaleService as _0x2d2eaf,IPermissionService as _0xbdfc78,Injector as _0x14f2b5,ObjectMatrix as _0x4abeaf,debounce as _0x5c6339,DisposableCollection as _0x15ce3c,toDisposable as _0x1fcd3d,DependentOn as _0x165f15,Plugin as _0x1587be,merge as _0x4eb917}from'@univerjs/core';import{IImageIoService as _0x5e004c}from'@univerjs/drawing';import{IRenderManagerService as _0x28ff8b,Vector2 as _0x394574,SHEET_VIEWPORT_KEY as _0x2bf945}from'@univerjs/engine-render';import{HTTPService as _0x391ae6,UniverNetworkPlugin as _0x4d145b}from'@univerjs/network';import{ICellEditorManagerService as _0x378ff3,SheetSkeletonManagerService as _0xf71e45,getCoordByCell as _0x4b40a2,getSheetObject as _0x1ec31a,UniverSheetsUIPlugin as _0x39b93f}from'@univerjs/sheets-ui';import{IMessageService as _0x964c74,IConfirmService as _0x2d9c9d,useDependency as _0x30b5c3,useObservable as _0xe37064,IUIPartsService as _0xfa5a57,BuiltInUIPart as _0x4c12ab,connectInjector as _0x3bdc12,ISidebarService as _0x52d5f4,ComponentManager as _0x2ccfa8,IDialogService as _0xdf2df3}from'@univerjs/ui';import{MessageType as _0x1a2dc5,clsx as _0x15693a,Button as _0x47226d,borderBottomClassName as _0x181437,Tooltip as _0x3fbb81}from'@univerjs/design';function _0x148d(){const _0x1a1578=['getUnitId','memberId','LOGIN_FAILED','YUUMI_UNABLE_LOAD_URL','concat','getUnitOnRev','LICENSE_IMPORT_SIZE_EXCEEDED','forValue','MOBILE_VERIFY_CODE_MISMATCH','loading-multi-icon','_status$','history-panel','currentVersion$','startColumn','_initRender','_init','getSeconds','Filter','_workbookDataCache','subType','value','loadSheet','LICENSE_EXPORT_SIZE_EXCEEDED','REDEMPTION_CODE_INACTIVE','TOO_MANY_REQUESTS','triggerRevert','unitId$','left','_getAPIPrefix','SetWorksheetStyle','flex','YUUMI_NO_CUBOID_FOR_QUESTION','assign','_combineRanges','_unitId$','fetchMissingChangesets','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','getHours','APPLY_NON_SEQUENTIAL_REVISION','&lastLabel=','skeleton','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','some','_revertRevision$','versions','FloatImg','_localeService','revertRevision$','_createUnit','none','UNIVER_SLIDE','BackIcon','_openPanel','replace','code','ENTITLE_COUPON_USED_UP','_maskContainer','cellValue','width','center','univer-text-2xl\x20dark:!univer-text-white','rules','MoveSheet','triggerLoadVersions','MoveWorksheet','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','split','COMPLETION_FINISHED','defineProperty','ranges','Loaded','name','absolute','_config','onStarting','reduce','canRevert','ENTITLE_CHAT_LIMIT_EXCEED','_getRangesByMutation','RecoverHistory','editHistory.panel.cancel','2863377MVlRRn','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','getDataRange','disposeWithMe','attrs','updatePermissionPoint','_injector','InsertHyperlink','getInterceptPoints','editHistory.panel.currentUser','DeleteColumn','univer-text-gray-500','UNIVER_SHEET','scrollEvent$','entered','REDEMPTION_INVALID_CODE','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','button','bottom','sheetId','ENTITLE_DUP_SUBSCRIPTION','currentVersionDiff$','CreateSheet','all','getDialogs$','fetchThroughInterceptors','Share','open','Exited','endColumn','YUUMI_ALL_TABLES_IS_INVALID','CONNECTOR_DATA_TOO_LARGE','2698960fDIKaN','UNDEFINED','restore-icon','_historyContainerId','span','InsertColumn','_removeDiffMarks','onRendered','loaded','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','xlink:href','History','row','blockMeta','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','versions$','commands','APPLY_DUPLICATED','flat','View','params','init','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_currentVersion$','display','_messageService','style','UNIVER_UNKNOWN','INVITE_CODE_ALREADY_BOUND','ViewHistory','_updateVersions','asObservable','current','Duplicate','position','APPLY_REJECT','registerComponent','_historyManagerService','editHistory.panel.revertDesc','_compressMutationService','userID','_permissionService','dateString','LICENSE_MAX_UNITS_EXCEEDED','editHistory.panel.revertConfirmText','YUUMI_URL_COL_OUT_OF_RANGE','rgba(58,\x2096,\x20247,\x200.20)','currentColor','getVersion','_fetching','rule','children','symbol','USER_IS_ANONYMOUS','UNIVER_PROJECT','Comment','pluginName','mask','editHistory.panel.listFetchError','subscribe','Error','_initPanel','path','REDEMPTION_USER_REDEEM_TIMES_EXCEED','historyListServerUrl','loadingState','PivotTable','user','date','RenameSheet','edit-history-viewer.config','YUUMI_SUBSCRIPTION_NOT_FOUND','EMAIL_HAS_BEEN_BOUND','next','3743852jVpEtA','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','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-flex-col\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-px-4\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','378678AcPUqV','EditExtraObject','_createMask','5087830MLwfSu','time','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','editHistory.info.loading','/universer-api/history','INVALID_INVITE_CODE','ViemRwHgtClWdt','evenodd','SelectProtectedCells','DeleteWorksheet','editHistory.action.revertSheetSuffix','CreatePermissionObject','_cellEditorManagerService','PY_RUNTIME_SCRIPT_ERROR','editHistory.panel.title','action','_transformService','padStart','CHANGESET_REVISION_CONFILICT','_univerInstanceService','getVpScrollXYInfoByPosToVp','getOwnPropertyDescriptor','YUUMI_ASYNCIO_CANCELLED','command','ManageCollaborator','ENTITLE_USE_COUPON_NOT_1ST_TRADE','Copy','/list?length=20','_currentVersionDiff$','getMember','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','AUTHORIZE_CODE_ILLEGAL','find','editHistory.panel.confirm','editHistory.header.revert','_uiPartsService','ERROR_AGAIN','CreateWorksheet','m1Prime','values','_extractRanges','clear','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ENSURE_SNAPSHOT_EXECUTION','InsertRow','_sidebarDisposable','zIndex','now','executeCommand','url(#$1','createTime','1mHdjYv','onSteady','INVITE_CODE_REQUIRED','set','DeleteSheet','loading','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','getConfig','_dialogOptions$','editHistory.panel.unknownUser','PAYMENT_CHANNEL_NOT_SUPPORT','endRevision','editSheet','back-icon','INVITE_CODE_HAS_BEEN_UES','MOBILE_HAS_BEEN_BOUND','push','http://www.w3.org/2000/svg','editHistory.action.etc','subUnitId','_members','univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','restore-icon_clip0_1247_2','84KfkAqo','data','div','#0B9EFB','toString','range','DeleteRow','confirm','univer-m-auto\x20univer-animate-spin','CopySheet','addProtection','REDEMPTION_CODE_NOT_STARTED','defIds','append','substring','mutations','_getActiveSubUnitId','showMask','_versions$','show','_lastLabel','setDV','SetRowStyle','39529665YTHUeJ','length','register','entities','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_configService','_sheetSkeletonManagerService','_initActiveSwitch','CURRENT_STATUS_CANNOT_OPERATE','_sheetPermissionInitController','SetCellStyle','REDEMPTION_CODE_FULLY_REDEEMED','workbook','_historyFetchService','parse','DATA_SOURCE_TOO_LARGE','_componentManager','insertSheet','hideMask','Init','YUUMI_TABLE_NOT_FOUND_IN_UNIT','history-mask','INTERNAL_ERROR','Loading','dispose','UNAUTHENTICATED','endRow','has','HideSheet','interceptor','.univer-app-container-content','_versionDiffService','_loadingState$','ENTITLE_INVALID_COUPON_CODE','getAncestorScale','tag','editHistory.action.revertSheetPrefix','endRev','editHistory.panel.revertConfirm','LoadingMultiIcon','getCurrentVersion','_updateDiffMarks','ENTITLE_NEED_BILLING_ADDRESS','_commandService','Sort','idSuffix','WECHAT_HAS_BEEN_BOUND','colorChannel1','SetColumnStyle','backgroundColor','top','loadMoreVersions','justifyContent','setFrozen','_diffRangesMap','addObjects','1004434wIULfc','VIRTUAL_VERSION_NOW','startRow','getCellPositionByOffset','defs','sheet','ENTITLE_COUPON_EXPIRED','_snapshotServerService','Info','0\x200\x2016\x2016','url(#restore-icon_clip0_1247_2)','_getSheetObject','get','YUUMI_CONNECTOR_URL_NOT_FOUND','LICENSE_DISTRO_REJECTED','LOGIN_TOKEN_PROCESSING_FAILED','add','fill','filter','NOT_FOUND','_maskElement','getCurrentLocale','ENTITLE_INSUFFICIENT_QUOTA','registerRenderModule','ENTITLE_REPORT_LIMIT_EXCEED','_canRevert','Edit',':\x20(','_initMaskContainer','univerjs-icon\x20univerjs-icon-','status','map','trim','_diffs','includes','ALREADY_EXISTS','hasCommand','Export','_transformMutationByOrder','_context','svg','then','rect','ZH_CN','deleteProtection','disposeUnit','HideWorksheet','SNAPSHOT_HAS_BEEN_REMOVED','RenameWorksheet','EMAIL_VERIFY_CODE_MISMATCH','REDEMPTION_USER_NOT_ELIGIBLE','loadingState$','FromArray','column','ensureVersion','toISOString','permissionPointUpdate$','users','error','string','use','anonymous','displayName','getRelativeToViewportCoord','_renderManagerService','1em','focusUnit','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','getElementById','setValue','close','setFilter','height','_httpService','PERMISSION_DENIED','currentVersion','UNRECOGNIZED','YUUMI_AI_RUN_FAILED','ViewFilter','_hasMore','active','APPLY_PERMISSION_DENIED','recoverTime','HEADER','setCF','INVALID_ARGUMENT','EditWorksheetCell','_lastPointer','Today','pipe','onMouseMove','SetCellValue','getVersions','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','blocks','isArray','block','getMinutes','forEach','unitId','entries','SNAPSHOT_INVALID_SNAPSHOT','userId','refreshRangeProtectPermission','YUUMI_RATE_OVER_LIMIT','Print','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','exited','transformMutations','REDEMPTION_CODE_HAS_BEEN_CREATED'];_0x148d=function(){return _0x1a1578;};return _0x148d();}import{InsertSheetMutation as _0x314f47,RemoveSheetMutation as _0x2a8524,SetFrozenMutation as _0x4265c6,AddWorksheetProtectionMutation as _0x501852,AddRangeProtectionMutation as _0x156471,DeleteRangeProtectionMutation as _0x140c01,DeleteWorksheetProtectionMutation as _0x295ca5,SheetPermissionInitController as _0x43210a,WorkbookEditablePermission as _0x27b647,WorkbookRenameSheetPermission as _0x248c0b,WorkbookMoveSheetPermission as _0x26339d,WorkbookHideSheetPermission as _0x12bf61,SetWorksheetHideMutation as _0x475e4e,SetRangeValuesMutation as _0x31d683,SetRangeProtectionMutation as _0x55ea74,ReorderRangeMutation as _0x393e31,RemoveNumfmtMutation as _0x29833f,SetNumfmtMutation as _0x4b3887,MoveColsMutation as _0x3743c6,MoveRowsMutation as _0x388f9b,MoveRangeMutation as _0x36eed8,InsertColMutation as _0xe46a58,InsertRowMutation as _0x179536,AddWorksheetMergeMutation as _0x42495d,RangeMergeUtil as _0x56d55d,findAllRectangle as _0x398609,SetWorksheetActiveOperation as _0x58ed03}from'@univerjs/sheets';import{BehaviorSubject as _0x2c8b5b,combineLatest as _0x1dc938,switchMap as _0x5553c3,map as _0x32acdf,of as _0x20a5f7,debounceTime as _0x1d2b6d,Subject as _0x19ef2a}from'rxjs';import{InsertSheetsChartMutation as _0x154edf}from'@univerjs-pro/sheets-chart';import{AddSheetSparklineMutation as _0xce0579}from'@univerjs-pro/sheets-sparkline';import{AddDataValidationMutation as _0x5abfc9,UpdateDataValidationMutation as _0x36440a}from'@univerjs/data-validation';import{SetConditionalRuleMutation as _0x8be438,AddConditionalRuleMutation as _0x399d6e}from'@univerjs/sheets-conditional-formatting';import{SetSheetsFilterRangeMutation as _0x1073da}from'@univerjs/sheets-filter';import{jsxs as _0x4f314f,jsx as _0x30c25d}from'react/jsx-runtime';import{useRef as _0x1f51c9,createElement as _0x33de19,forwardRef as _0x21d9e4,useCallback as _0x511d34,useState as _0x25215d,Fragment as _0x41b79c}from'react';import{SheetCollabCursorShape as _0x447436}from'@univerjs-pro/collaboration-client-ui';const be=_0x2cb6e4(0x2b1),le={};var is=Object[_0x2cb6e4(0x2d2)],ns=(_0x5abf86,_0x4b57d1,_0x1d4f63,_0x20fd9e)=>{const _0x473685=_0x2cb6e4;for(var _0x133de6=_0x20fd9e>0x1?void 0x0:_0x20fd9e?is(_0x4b57d1,_0x1d4f63):_0x4b57d1,_0x16374f=_0x5abf86[_0x473685(0x31f)]-0x1,_0x279ae2;_0x16374f>=0x0;_0x16374f--)(_0x279ae2=_0x5abf86[_0x16374f])&&(_0x133de6=_0x279ae2(_0x133de6)||_0x133de6);return _0x133de6;},rs=(_0x586229,_0x3dff5e)=>(_0x5ceff3,_0x526549)=>_0x3dff5e(_0x5ceff3,_0x526549,_0x586229);let H=class extends _0x555e29{constructor(_0x134592){const _0x1a8f28=_0x2cb6e4;super(),this['_cellEditorManagerService']=_0x134592,this[_0x1a8f28(0x209)]();}['_init'](){const _0x2af054=_0x2cb6e4;this[_0x2af054(0x24e)](this['_cellEditorManagerService']['state$'][_0x2af054(0x2a6)](_0xd40cf5=>{const _0x4c4d11=_0x2af054;_0xd40cf5!=null&&_0xd40cf5[_0x4c4d11(0x31a)]&&this[_0x4c4d11(0x2c9)]['setState']({'show':!0x1});}));}};H=ns([rs(0x0,_0x378ff3)],H);var W=(_0x93d74b=>(_0x93d74b[_0x93d74b[_0x2cb6e4(0x26c)]=0x0]=_0x2cb6e4(0x26c),_0x93d74b[_0x93d74b['OK']=0x1]='OK',_0x93d74b[_0x93d74b[_0x2cb6e4(0x334)]=0x2]=_0x2cb6e4(0x334),_0x93d74b[_0x93d74b[_0x2cb6e4(0x1d6)]=0x3]=_0x2cb6e4(0x1d6),_0x93d74b[_0x93d74b[_0x2cb6e4(0x19f)]=0x4]=_0x2cb6e4(0x19f),_0x93d74b[_0x93d74b[_0x2cb6e4(0x337)]=0x5]=_0x2cb6e4(0x337),_0x93d74b[_0x93d74b[_0x2cb6e4(0x1af)]=0x6]=_0x2cb6e4(0x1af),_0x93d74b[_0x93d74b[_0x2cb6e4(0x1e1)]=0x7]=_0x2cb6e4(0x1e1),_0x93d74b[_0x93d74b[_0x2cb6e4(0x212)]=0x8]='TOO_MANY_REQUESTS',_0x93d74b[_0x93d74b['COMPLETION_FINISHED']=0x9]=_0x2cb6e4(0x23d),_0x93d74b[_0x93d74b[_0x2cb6e4(0x1fc)]=0xa]='LOGIN_FAILED',_0x93d74b[_0x93d74b[_0x2cb6e4(0x202)]=0xb]=_0x2cb6e4(0x202),_0x93d74b[_0x93d74b[_0x2cb6e4(0x2e7)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x93d74b[_0x93d74b[_0x2cb6e4(0x1bd)]=0xd]=_0x2cb6e4(0x1bd),_0x93d74b[_0x93d74b[_0x2cb6e4(0x322)]=0xe]=_0x2cb6e4(0x322),_0x93d74b[_0x93d74b['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x2cb6e4(0x2dc),_0x93d74b[_0x93d74b[_0x2cb6e4(0x19b)]=0x10]=_0x2cb6e4(0x19b),_0x93d74b[_0x93d74b[_0x2cb6e4(0x326)]=0x64]=_0x2cb6e4(0x326),_0x93d74b[_0x93d74b['ERROR_AGAIN']=0x65]=_0x2cb6e4(0x2e1),_0x93d74b[_0x93d74b['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x93d74b[_0x93d74b[_0x2cb6e4(0x2a0)]=0xca]=_0x2cb6e4(0x2a0),_0x93d74b[_0x93d74b[_0x2cb6e4(0x2cf)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x93d74b[_0x93d74b[_0x2cb6e4(0x1f1)]=0x1771]=_0x2cb6e4(0x1f1),_0x93d74b[_0x93d74b[_0x2cb6e4(0x1bb)]=0x1772]=_0x2cb6e4(0x1bb),_0x93d74b[_0x93d74b[_0x2cb6e4(0x2e8)]=0x1773]=_0x2cb6e4(0x2e8),_0x93d74b[_0x93d74b[_0x2cb6e4(0x28e)]=0x1b59]='APPLY_REJECT',_0x93d74b[_0x93d74b[_0x2cb6e4(0x220)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x93d74b[_0x93d74b['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x93d74b[_0x93d74b[_0x2cb6e4(0x1dd)]=0x1b5c]=_0x2cb6e4(0x1dd),_0x93d74b[_0x93d74b[_0x2cb6e4(0x27c)]=0x1b5d]=_0x2cb6e4(0x27c),_0x93d74b[_0x93d74b[_0x2cb6e4(0x26a)]=0x1f41]=_0x2cb6e4(0x26a),_0x93d74b[_0x93d74b['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x2cb6e4(0x296),_0x93d74b[_0x93d74b[_0x2cb6e4(0x274)]=0x232a]=_0x2cb6e4(0x274),_0x93d74b[_0x93d74b[_0x2cb6e4(0x200)]=0x232b]=_0x2cb6e4(0x200),_0x93d74b[_0x93d74b['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x2cb6e4(0x210),_0x93d74b[_0x93d74b['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2cb6e4(0x19a),_0x93d74b[_0x93d74b['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x2cb6e4(0x1fd),_0x93d74b[_0x93d74b[_0x2cb6e4(0x298)]=0x2712]=_0x2cb6e4(0x298),_0x93d74b[_0x93d74b[_0x2cb6e4(0x1f4)]=0x2713]=_0x2cb6e4(0x1f4),_0x93d74b[_0x93d74b[_0x2cb6e4(0x2b2)]=0x2714]=_0x2cb6e4(0x2b2),_0x93d74b[_0x93d74b[_0x2cb6e4(0x219)]=0x271a]=_0x2cb6e4(0x219),_0x93d74b[_0x93d74b[_0x2cb6e4(0x2d3)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x93d74b[_0x93d74b[_0x2cb6e4(0x332)]=0x271c]=_0x2cb6e4(0x332),_0x93d74b[_0x93d74b[_0x2cb6e4(0x269)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x93d74b[_0x93d74b[_0x2cb6e4(0x1f6)]=0x271e]=_0x2cb6e4(0x1f6),_0x93d74b[_0x93d74b[_0x2cb6e4(0x1d9)]=0x271f]=_0x2cb6e4(0x1d9),_0x93d74b[_0x93d74b[_0x2cb6e4(0x199)]=0x2720]=_0x2cb6e4(0x199),_0x93d74b[_0x93d74b[_0x2cb6e4(0x2ca)]=0x2af9]=_0x2cb6e4(0x2ca),_0x93d74b[_0x93d74b[_0x2cb6e4(0x2fe)]=0x2ee1]=_0x2cb6e4(0x2fe),_0x93d74b[_0x93d74b[_0x2cb6e4(0x2c2)]=0x2ee2]=_0x2cb6e4(0x2c2),_0x93d74b[_0x93d74b[_0x2cb6e4(0x2f2)]=0x2ee3]=_0x2cb6e4(0x2f2),_0x93d74b[_0x93d74b['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x93d74b[_0x93d74b[_0x2cb6e4(0x287)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x93d74b[_0x93d74b[_0x2cb6e4(0x34c)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x93d74b[_0x93d74b[_0x2cb6e4(0x2ff)]=0x32ca]=_0x2cb6e4(0x2ff),_0x93d74b[_0x93d74b['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2cb6e4(0x2b3),_0x93d74b[_0x93d74b[_0x2cb6e4(0x281)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x93d74b[_0x93d74b[_0x2cb6e4(0x1cf)]=0x36b2]=_0x2cb6e4(0x1cf),_0x93d74b[_0x93d74b['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x2cb6e4(0x25f),_0x93d74b[_0x93d74b[_0x2cb6e4(0x2fa)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x93d74b[_0x93d74b['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x2cb6e4(0x33f),_0x93d74b[_0x93d74b['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x2cb6e4(0x35c),_0x93d74b[_0x93d74b[_0x2cb6e4(0x231)]=0x36b7]=_0x2cb6e4(0x231),_0x93d74b[_0x93d74b['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x2cb6e4(0x2d6),_0x93d74b[_0x93d74b[_0x2cb6e4(0x247)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x93d74b[_0x93d74b['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x2cb6e4(0x1a4),_0x93d74b[_0x93d74b[_0x2cb6e4(0x1a2)]=0x3717]=_0x2cb6e4(0x1a2),_0x93d74b[_0x93d74b[_0x2cb6e4(0x348)]=0x37dd]=_0x2cb6e4(0x348),_0x93d74b[_0x93d74b[_0x2cb6e4(0x25a)]=0x3a99]=_0x2cb6e4(0x25a),_0x93d74b[_0x93d74b['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x2cb6e4(0x211),_0x93d74b[_0x93d74b[_0x2cb6e4(0x329)]=0x3a9b]=_0x2cb6e4(0x329),_0x93d74b[_0x93d74b[_0x2cb6e4(0x312)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x93d74b[_0x93d74b['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x2cb6e4(0x1be),_0x93d74b[_0x93d74b[_0x2cb6e4(0x2aa)]=0x3a9e]=_0x2cb6e4(0x2aa),_0x93d74b[_0x93d74b['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x2cb6e4(0x1f9),_0x93d74b[_0x93d74b['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x2cb6e4(0x32d),_0x93d74b[_0x93d74b[_0x2cb6e4(0x1d8)]=-0x1]='UNRECOGNIZED',_0x93d74b))(W||{}),x=(_0x558f80=>(_0x558f80[_0x558f80['UNIVER_UNKNOWN']=0x0]=_0x2cb6e4(0x286),_0x558f80[_0x558f80['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x558f80[_0x558f80[_0x2cb6e4(0x257)]=0x2]=_0x2cb6e4(0x257),_0x558f80[_0x558f80[_0x2cb6e4(0x22c)]=0x3]='UNIVER_SLIDE',_0x558f80[_0x558f80[_0x2cb6e4(0x2a1)]=0x4]=_0x2cb6e4(0x2a1),_0x558f80[_0x558f80[_0x2cb6e4(0x1d8)]=-0x1]=_0x2cb6e4(0x1d8),_0x558f80))(x||{}),D=(_0x51e234=>(_0x51e234[_0x51e234[_0x2cb6e4(0x27e)]=0x0]=_0x2cb6e4(0x27e),_0x51e234[_0x51e234[_0x2cb6e4(0x1a6)]=0x1]=_0x2cb6e4(0x1a6),_0x51e234[_0x51e234[_0x2cb6e4(0x2d5)]=0x2]='ManageCollaborator',_0x51e234[_0x51e234[_0x2cb6e4(0x1f5)]=0x3]='Print',_0x51e234[_0x51e234[_0x2cb6e4(0x28c)]=0x4]='Duplicate',_0x51e234[_0x51e234[_0x2cb6e4(0x2a2)]=0x5]=_0x2cb6e4(0x2a2),_0x51e234[_0x51e234[_0x2cb6e4(0x2d7)]=0x6]='Copy',_0x51e234[_0x51e234[_0x2cb6e4(0x265)]=0x7]=_0x2cb6e4(0x265),_0x51e234[_0x51e234[_0x2cb6e4(0x1b1)]=0x8]=_0x2cb6e4(0x1b1),_0x51e234[_0x51e234['MoveWorksheet']=0x9]=_0x2cb6e4(0x23a),_0x51e234[_0x51e234[_0x2cb6e4(0x2c6)]=0xa]=_0x2cb6e4(0x2c6),_0x51e234[_0x51e234['HideWorksheet']=0xb]=_0x2cb6e4(0x1ba),_0x51e234[_0x51e234['RenameWorksheet']=0xc]=_0x2cb6e4(0x1bc),_0x51e234[_0x51e234[_0x2cb6e4(0x2e2)]=0xd]=_0x2cb6e4(0x2e2),_0x51e234[_0x51e234[_0x2cb6e4(0x217)]=0xe]=_0x2cb6e4(0x217),_0x51e234[_0x51e234[_0x2cb6e4(0x1e2)]=0xf]='EditWorksheetCell',_0x51e234[_0x51e234[_0x2cb6e4(0x252)]=0x10]=_0x2cb6e4(0x252),_0x51e234[_0x51e234[_0x2cb6e4(0x34a)]=0x11]=_0x2cb6e4(0x34a),_0x51e234[_0x51e234[_0x2cb6e4(0x20b)]=0x12]=_0x2cb6e4(0x20b),_0x51e234[_0x51e234['PivotTable']=0x13]=_0x2cb6e4(0x2ad),_0x51e234[_0x51e234[_0x2cb6e4(0x227)]=0x14]=_0x2cb6e4(0x227),_0x51e234[_0x51e234['History']=0x15]=_0x2cb6e4(0x276),_0x51e234[_0x51e234['RwHgtClWdt']=0x16]='RwHgtClWdt',_0x51e234[_0x51e234[_0x2cb6e4(0x2c3)]=0x17]='ViemRwHgtClWdt',_0x51e234[_0x51e234[_0x2cb6e4(0x1da)]=0x18]='ViewFilter',_0x51e234[_0x51e234[_0x2cb6e4(0x238)]=0x19]=_0x2cb6e4(0x238),_0x51e234[_0x51e234['DeleteSheet']=0x1a]=_0x2cb6e4(0x2f4),_0x51e234[_0x51e234[_0x2cb6e4(0x33a)]=0x1b]=_0x2cb6e4(0x33a),_0x51e234[_0x51e234[_0x2cb6e4(0x310)]=0x1c]=_0x2cb6e4(0x310),_0x51e234[_0x51e234[_0x2cb6e4(0x2b0)]=0x1d]=_0x2cb6e4(0x2b0),_0x51e234[_0x51e234[_0x2cb6e4(0x261)]=0x1e]=_0x2cb6e4(0x261),_0x51e234[_0x51e234[_0x2cb6e4(0x2c5)]=0x1f]='SelectProtectedCells',_0x51e234[_0x51e234['SelectUnProtectedCells']=0x20]='SelectUnProtectedCells',_0x51e234[_0x51e234[_0x2cb6e4(0x328)]=0x21]=_0x2cb6e4(0x328),_0x51e234[_0x51e234[_0x2cb6e4(0x1e7)]=0x22]=_0x2cb6e4(0x1e7),_0x51e234[_0x51e234[_0x2cb6e4(0x31d)]=0x23]='SetRowStyle',_0x51e234[_0x51e234['SetColumnStyle']=0x24]=_0x2cb6e4(0x34e),_0x51e234[_0x51e234[_0x2cb6e4(0x2e9)]=0x25]=_0x2cb6e4(0x2e9),_0x51e234[_0x51e234[_0x2cb6e4(0x270)]=0x26]='InsertColumn',_0x51e234[_0x51e234[_0x2cb6e4(0x30d)]=0x27]=_0x2cb6e4(0x30d),_0x51e234[_0x51e234[_0x2cb6e4(0x255)]=0x28]='DeleteColumn',_0x51e234[_0x51e234[_0x2cb6e4(0x2ba)]=0x29]='EditExtraObject',_0x51e234[_0x51e234['Delete']=0x2a]='Delete',_0x51e234[_0x51e234[_0x2cb6e4(0x249)]=0x2b]=_0x2cb6e4(0x249),_0x51e234[_0x51e234[_0x2cb6e4(0x288)]=0x2c]=_0x2cb6e4(0x288),_0x51e234[_0x51e234[_0x2cb6e4(0x2c8)]=0x2d]=_0x2cb6e4(0x2c8),_0x51e234[_0x51e234[_0x2cb6e4(0x1d8)]=-0x1]=_0x2cb6e4(0x1d8),_0x51e234))(D||{});function _0x50cb(_0xedf58e,_0xe747ef){_0xedf58e=_0xedf58e-0x193;const _0x148d25=_0x148d();let _0x50cb45=_0x148d25[_0xedf58e];return _0x50cb45;}function as(_0x59c6ba){const _0x6937d2=_0x2cb6e4;return!!(_0x59c6ba&&_0x59c6ba[_0x6937d2(0x230)]&&_0x59c6ba[_0x6937d2(0x230)]!==W['OK']&&_0x59c6ba[_0x6937d2(0x230)]!=='OK');}const ie=(_0x22314b,_0x57adac)=>{const _0x3de710=_0x2cb6e4;if(!_0x22314b)return{'date':'','time':''};const _0x57febc=new Date(_0x22314b),_0x372440=_0x57febc[_0x3de710(0x1c3)]()['split']('T')[0x0];switch(_0x57adac){case _0x5d1aa2[_0x3de710(0x1b7)]:return{'date':J(_0x372440,_0x57adac),'time':_0x57febc[_0x3de710(0x21f)]()+':'+String(_0x57febc[_0x3de710(0x1ed)]())[_0x3de710(0x2ce)](0x2,'0')+':'+String(_0x57febc[_0x3de710(0x20a)]())['padStart'](0x2,'0')};default:return{'date':J(_0x372440,_0x57adac),'time':_0x57febc['getHours']()+':'+_0x57febc['getMinutes']()+':'+_0x57febc[_0x3de710(0x20a)]()};}},os=(_0x59bf95,_0xcd9081)=>{const _0x2b8a1e=_0x2cb6e4,_0x576352=_0x59bf95[_0x2b8a1e(0x2ae)]||_0xcd9081['t'](_0x2b8a1e(0x2f9));if(_0x59bf95['commands'][_0x2b8a1e(0x224)](_0x540539=>_0x540539===_0x552bee['id'])&&_0x59bf95[_0x2b8a1e(0x1de)]){const _0x9c7d8d=ie(_0x59bf95[_0x2b8a1e(0x1de)],_0xcd9081[_0x2b8a1e(0x1a1)]()),_0x39daa0=_0x9c7d8d['date']+'\x20'+_0x9c7d8d[_0x2b8a1e(0x2bd)];return _0x576352+'\x20'+_0xcd9081['t'](_0x2b8a1e(0x342))+'\x20'+_0x39daa0+'\x20'+_0xcd9081['t'](_0x2b8a1e(0x2c7));}const _0x4585d5=_s(_0x59bf95),_0x371d6c=_0x4585d5['length']===0x1?_0xcd9081['t'](_0x4585d5[0x0]):''+_0xcd9081['t'](_0x4585d5[0x0])+_0xcd9081['t'](_0x2b8a1e(0x302));return _0x576352+'\x20'+_0x371d6c;};function _s(_0x2408c5){const _0x418bb5=_0x2cb6e4;if(_0x2408c5[_0x418bb5(0x27b)][_0x418bb5(0x31f)]===0x0)return[''];const _0x39c82a='editHistory.action.',_0x174c99=_0x39c82a+_0x418bb5(0x2fc),_0x2f44f0=[{'id':_0x48e5ca['id'],'action':_0x39c82a+'createSheet'},{'id':_0x552bee['id'],'action':_0x39c82a+'revertSheet'},{'id':_0x314f47['id'],'action':_0x39c82a+_0x418bb5(0x32f)},{'id':_0x2a8524['id'],'action':_0x39c82a+'removeSheet'},{'id':_0x4265c6['id'],'action':_0x39c82a+_0x418bb5(0x353)},{'id':_0x1073da['id'],'action':_0x39c82a+_0x418bb5(0x1d3)},{'id':_0x5abfc9['id'],'action':_0x39c82a+'setDV'},{'id':_0x36440a['id'],'action':_0x39c82a+_0x418bb5(0x31c)},{'id':_0x8be438['id'],'action':_0x39c82a+_0x418bb5(0x1e0)},{'id':_0x399d6e['id'],'action':_0x39c82a+_0x418bb5(0x1e0)},{'id':_0x501852['id'],'action':_0x39c82a+_0x418bb5(0x311)},{'id':_0x156471['id'],'action':_0x39c82a+'addProtection'},{'id':_0xce0579['id'],'action':_0x39c82a+'addSparkline'},{'id':_0x154edf['id'],'action':_0x39c82a+'insertChart'},{'id':_0x140c01['id'],'action':_0x39c82a+_0x418bb5(0x1b8)},{'id':_0x295ca5['id'],'action':_0x39c82a+_0x418bb5(0x1b8)}][_0x418bb5(0x19e)](_0x503c29=>_0x2408c5[_0x418bb5(0x27b)][_0x418bb5(0x1ae)](_0x503c29['id']));return _0x2f44f0!=null&&_0x2f44f0[_0x418bb5(0x31f)]?_0x2f44f0['map'](_0x8321b2=>_0x8321b2[_0x418bb5(0x2cc)]):[_0x174c99];}function J(_0x2d0e13,_0x1834bb){const _0x6961b3=_0x2cb6e4,[_0x35730e,_0x280bd6,_0x1ed049]=new Date()[_0x6961b3(0x1c3)]()['split']('T')[0x0][_0x6961b3(0x23c)]('-'),[_0xe1f42b,_0x3b05cc,_0x2cee5e]=_0x2d0e13[_0x6961b3(0x23c)]('-'),_0x6a6aa4=_0x35730e===_0xe1f42b&&_0x280bd6===_0x3b05cc&&_0x1ed049===_0x2cee5e;let _0x4314c8='',_0x51b381='',_0x31a7e7='';switch(_0x1834bb){case _0x5d1aa2[_0x6961b3(0x1b7)]:return _0x6a6aa4?'今天':(_0x4314c8=_0x35730e===_0xe1f42b?'':_0xe1f42b+'年',_0x51b381=_0x3b05cc+'月',_0x31a7e7=_0x2cee5e+'日',''+_0x4314c8+_0x51b381+_0x31a7e7);default:return _0x6a6aa4?_0x6961b3(0x1e4):(_0x4314c8=_0x35730e===_0xe1f42b?'':_0xe1f42b+'-',_0x51b381=_0x3b05cc+'-',_0x31a7e7=''+_0x2cee5e,''+_0x4314c8+_0x51b381+_0x31a7e7);}}function cs(_0x97e502){const _0xc1d988=_0x2cb6e4;return _0x97e502?_0x97e502[_0xc1d988(0x245)]((_0x430010,_0x35e740)=>{const _0x345564=_0xc1d988,_0x1d50fc=new Date(_0x35e740[_0x345564(0x2bd)])[_0x345564(0x1c3)]()[_0x345564(0x23c)]('T')[0x0];return _0x430010['length']>0x0&&_0x430010[_0x430010[_0x345564(0x31f)]-0x1][_0x345564(0x295)]===_0x1d50fc?_0x430010[_0x430010[_0x345564(0x31f)]-0x1][_0x345564(0x226)][_0x345564(0x300)](_0x35e740):_0x430010[_0x345564(0x300)]({'dateString':_0x1d50fc,'versions':[_0x35e740]}),_0x430010;},[]):[];}var ls=Object['getOwnPropertyDescriptor'],us=(_0x3de2b2,_0x5d2fb6,_0x2fbb19,_0x26b3af)=>{const _0x191b6c=_0x2cb6e4;for(var _0x3014c2=_0x26b3af>0x1?void 0x0:_0x26b3af?ls(_0x5d2fb6,_0x2fbb19):_0x5d2fb6,_0x283ad0=_0x3de2b2[_0x191b6c(0x31f)]-0x1,_0x31e730;_0x283ad0>=0x0;_0x283ad0--)(_0x31e730=_0x3de2b2[_0x283ad0])&&(_0x3014c2=_0x31e730(_0x3014c2)||_0x3014c2);return _0x3014c2;},R=(_0x29951d,_0x581687)=>(_0x383fea,_0x10107b)=>_0x581687(_0x383fea,_0x10107b,_0x29951d);const hs=_0x2cb6e4(0x2c1);let A=class extends _0x555e29{constructor(_0x43b9e5,_0x1ab710,_0x2dbf81,_0x5c9a8c,_0x176db2,_0x494145,_0x1ce79e){const _0x32613e=_0x2cb6e4;super(),c(this,_0x32613e(0x20c),new Map()),(this[_0x32613e(0x193)]=_0x43b9e5,this['_univerInstanceService']=_0x1ab710,this[_0x32613e(0x349)]=_0x2dbf81,this[_0x32613e(0x323)]=_0x5c9a8c,this[_0x32613e(0x1d5)]=_0x176db2,this[_0x32613e(0x292)]=_0x494145,this[_0x32613e(0x327)]=_0x1ce79e);}['dispose'](){const _0x4236e4=_0x2cb6e4;this['_workbookDataCache'][_0x4236e4(0x2e6)](),super['dispose']();}async[_0x2cb6e4(0x1e8)](_0x47df6c,_0x11088c){const _0x5ea28b=_0x2cb6e4,_0x1c5107=this[_0x5ea28b(0x216)]()+'/'+_0x47df6c+_0x5ea28b(0x2d8)+(_0x11088c?_0x5ea28b(0x221)+_0x11088c:'');try{const _0x1cc02c=(await this[_0x5ea28b(0x1d5)]['get'](_0x1c5107))['body'];if(_0x1cc02c&&_0x1cc02c[_0x5ea28b(0x1c6)]&&_0x1cc02c[_0x5ea28b(0x1c6)][_0x5ea28b(0x230)]===W['OK']){const {hasMore:_0x1ee022,lastLabel:_0x196a01}=_0x1cc02c,_0x10e58b=Is(_0x1cc02c),_0x434a55=_0x1cc02c[_0x5ea28b(0x321)][_0x5ea28b(0x1c5)];return{'hasMore':_0x1ee022,'lastLabel':_0x196a01,'versions':_0x10e58b,'members':_0x434a55};}}catch(_0x2daf5f){console[_0x5ea28b(0x1c6)](_0x2daf5f);}return null;}[_0x2cb6e4(0x216)](){const _0x206f47=_0x2cb6e4;var _0x1fda72;const _0x3f7333=this[_0x206f47(0x323)][_0x206f47(0x2f7)](be);return(_0x1fda72=_0x3f7333==null?void 0x0:_0x3f7333[_0x206f47(0x2ab)])!=null?_0x1fda72:hs;}async[_0x2cb6e4(0x20f)](_0x3f0891,_0xaf0833,_0x654e37){const _0x4fe727=_0x2cb6e4;var _0xe0f308,_0x5b5ba3;_0x654e37===void 0x0&&(_0x654e37={}),this[_0x4fe727(0x20c)][_0x4fe727(0x339)](_0x3f0891)||this[_0x4fe727(0x20c)][_0x4fe727(0x2f3)](_0x3f0891,new Map());const {snapshot:_0x47a2e6,changesets:_0x5ec0bc,error:_0xe153d8}=await this[_0x4fe727(0x193)][_0x4fe727(0x1ff)](_0x654e37,{'unitID':_0x3f0891,'type':x[_0x4fe727(0x257)],'revision':_0xaf0833});if(as(_0xe153d8)||!_0x47a2e6||!_0x47a2e6[_0x4fe727(0x32a)])throw new Error('[HistoryFetchService]:\x20request\x20snapshot\x20error!');const _0x3b52bb=(_0xe0f308=_0x5ec0bc==null?void 0x0:_0x5ec0bc[_0x4fe727(0x31f)])!=null?_0xe0f308:0x0;if(_0xaf0833!==0x0&&_0x47a2e6['rev']+_0x3b52bb!==_0xaf0833)throw new Error('[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!');const {workbook:_0x1bd416}=_0x47a2e6,_0x2a9ef4=_0x1bd416[_0x4fe727(0x278)]?Object['entries'](_0x1bd416[_0x4fe727(0x278)])[_0x4fe727(0x1ab)](([_0xe9f019,_0x4074d1])=>{const _0x13e968=_0x4fe727;var _0xbd0a6f,_0x10721b;return(_0x10721b=(_0xbd0a6f=_0x4074d1[_0x13e968(0x1ea)])==null?void 0x0:_0xbd0a6f[_0x13e968(0x1ab)](_0x262c1e=>_0x262c1e))!=null?_0x10721b:[];})[_0x4fe727(0x27d)]():[],_0x482d1c=(await Promise[_0x4fe727(0x262)](_0x2a9ef4[_0x4fe727(0x1ab)](_0x2c1b1f=>this['_snapshotServerService']['getDeserializedSheetBlock'](_0x654e37,{'unitID':_0x3f0891,'type':x[_0x4fe727(0x257)],'blockID':_0x2c1b1f})[_0x4fe727(0x1b5)](_0x16afce=>_0x16afce[_0x4fe727(0x1ec)]))))['filter'](_0x430e51=>!!_0x430e51),_0xbe0ad1=_0x1efcef(_0x47a2e6,_0x482d1c,_0x654e37);return(_0x5b5ba3=this[_0x4fe727(0x20c)]['get'](_0x3f0891))==null||_0x5b5ba3[_0x4fe727(0x2f3)](_0xaf0833,{'workbook':_0xbe0ad1}),new Promise(_0x89a27b=>{const _0x2dc5c0=_0x4fe727,_0x549745=this[_0x2dc5c0(0x2d0)]['getCurrentUnitForType'](_0x113232[_0x2dc5c0(0x257)]);_0x549745?(this[_0x2dc5c0(0x2d0)][_0x2dc5c0(0x1b9)](_0x549745['getUnitId']()),setTimeout(()=>{const _0x4396c7=_0x2dc5c0;this[_0x4396c7(0x22a)](_0xbe0ad1,_0x5ec0bc),this[_0x4396c7(0x327)][_0x4396c7(0x1f3)](),_0x89a27b(!0x0);},0x0)):(this[_0x2dc5c0(0x22a)](_0xbe0ad1,_0x5ec0bc),_0x89a27b(!0x0));});}['_createUnit'](_0x202bb1,_0x2c6191){const _0x160eef=_0x2cb6e4,_0x10724f=this[_0x160eef(0x2d0)]['createUnit'](_0x113232['UNIVER_SHEET'],_0x202bb1);this['_univerInstanceService'][_0x160eef(0x1ce)](_0x10724f[_0x160eef(0x1fa)]());const _0x188f09=this[_0x160eef(0x292)][_0x160eef(0x33b)][_0x160eef(0x264)](this['_compressMutationService']['interceptor'][_0x160eef(0x253)]()['COMPRESS_MUTATION_APPLY']);return _0x2c6191==null||_0x2c6191[_0x160eef(0x1ee)](_0x38e99a=>{const _0x48c2e4=_0x160eef,_0x55efb9=_0x38e99a[_0x48c2e4(0x316)][_0x48c2e4(0x1ab)](_0x4e6c7d=>({'id':_0x4e6c7d['id'],'params':JSON[_0x48c2e4(0x32c)](_0x4e6c7d[_0x48c2e4(0x308)])}));({..._0x38e99a,'mutations':_0x188f09(_0x55efb9,null)||_0x55efb9}[_0x48c2e4(0x316)][_0x48c2e4(0x1ee)](_0x3c3cfd=>{const _0x17eca4=_0x48c2e4;this['_commandService'][_0x17eca4(0x1b0)](_0x3c3cfd['id'])&&this[_0x17eca4(0x349)]['syncExecuteCommand'](_0x3c3cfd['id'],_0x3c3cfd[_0x17eca4(0x27f)]);}));}),_0x10724f;}};A=us([R(0x0,_0x19371c),R(0x1,_0x381737),R(0x2,_0x241833),R(0x3,_0x32a9c2),R(0x4,_0x4aaff5(_0x391ae6)),R(0x5,_0x4aaff5(_0x4ada37)),R(0x6,_0x4aaff5(_0x43210a))],A);function Is(_0x8fc9b9){const _0x4600dd=_0x2cb6e4;var _0x549334,_0x5eca27;const _0x366ddb=[],{entities:_0x3abccb,historyIds:_0xa497c5}=_0x8fc9b9,{datas:_0x2ffffe,users:_0x1fcf58}=_0x3abccb;for(const _0xbe45d9 of _0xa497c5)if(_0x2ffffe[_0xbe45d9]){const _0x165c4f=!!((_0x549334=_0x1fcf58[_0x2ffffe[_0xbe45d9][_0x4600dd(0x1f2)]])!=null&&_0x549334[_0x4600dd(0x1c9)]);_0x366ddb[_0x4600dd(0x300)]({'unitId':_0x2ffffe[_0xbe45d9][_0x4600dd(0x1ef)],'user':_0x165c4f?'':((_0x5eca27=_0x1fcf58==null?void 0x0:_0x1fcf58[_0x2ffffe[_0xbe45d9][_0x4600dd(0x1f2)]])==null?void 0x0:_0x5eca27[_0x4600dd(0x241)])||'','isAnonymous':_0x165c4f,'id':_0xbe45d9,'time':_0x2ffffe[_0xbe45d9][_0x4600dd(0x2ef)]?Number(_0x2ffffe[_0xbe45d9]['createTime']):void 0x0,'commands':_0x2ffffe[_0xbe45d9][_0x4600dd(0x2d4)],'startRev':Number(_0x2ffffe[_0xbe45d9]['startRevision']),'endRev':Number(_0x2ffffe[_0xbe45d9][_0x4600dd(0x2fb)]),'recoverTime':_0x2ffffe[_0xbe45d9][_0x4600dd(0x1de)]?Number(_0x2ffffe[_0xbe45d9][_0x4600dd(0x1de)]):void 0x0});}return _0x366ddb;}var ds=Object[_0x2cb6e4(0x2d2)],vs=(_0x39338d,_0x56d539,_0x388420,_0x1df1c5)=>{const _0x1bf8c8=_0x2cb6e4;for(var _0x1af921=_0x1df1c5>0x1?void 0x0:_0x1df1c5?ds(_0x56d539,_0x388420):_0x56d539,_0x5d4f8e=_0x39338d[_0x1bf8c8(0x31f)]-0x1,_0x282caa;_0x5d4f8e>=0x0;_0x5d4f8e--)(_0x282caa=_0x39338d[_0x5d4f8e])&&(_0x1af921=_0x282caa(_0x1af921)||_0x1af921);return _0x1af921;},U=(_0x478528,_0x27f5e4)=>(_0x20cf9d,_0xce2ab3)=>_0x27f5e4(_0x20cf9d,_0xce2ab3,_0x478528),ne=(_0x2c4f1a=>(_0x2c4f1a['Entered']=_0x2cb6e4(0x259),_0x2c4f1a[_0x2cb6e4(0x267)]=_0x2cb6e4(0x1f7),_0x2c4f1a[_0x2cb6e4(0x2a7)]=_0x2cb6e4(0x1c6),_0x2c4f1a))(ne||{}),C=(_0x323aec=>(_0x323aec[_0x2cb6e4(0x331)]='init',_0x323aec[_0x2cb6e4(0x335)]='loading',_0x323aec[_0x2cb6e4(0x240)]='loaded',_0x323aec))(C||{});const Es=_0x2cb6e4(0x357);let g=class extends _0x555e29{constructor(_0x3ecb11,_0x2a5698,_0x1845ff,_0x4eb5e3){const _0xa52591=_0x2cb6e4;super(),c(this,_0xa52591(0x319),new _0x2c8b5b([])),c(this,_0xa52591(0x27a),this['_versions$']['asObservable']()),c(this,'_currentVersion$',new _0x2c8b5b('')),c(this,_0xa52591(0x206),this[_0xa52591(0x282)][_0xa52591(0x28a)]()),c(this,_0xa52591(0x204),new _0x2c8b5b(_0xa52591(0x259))),c(this,'status$',this[_0xa52591(0x204)][_0xa52591(0x28a)]()),c(this,_0xa52591(0x225),new _0x2c8b5b(0x0)),c(this,_0xa52591(0x229),this[_0xa52591(0x225)]['asObservable']()),c(this,_0xa52591(0x21c),new _0x2c8b5b('')),c(this,_0xa52591(0x214),this[_0xa52591(0x21c)][_0xa52591(0x28a)]()),c(this,'_fetching',!0x1),c(this,_0xa52591(0x33e),new _0x2c8b5b(_0xa52591(0x280))),c(this,'loadingState$',this[_0xa52591(0x33e)]['asObservable']()),c(this,_0xa52591(0x31b),null),c(this,_0xa52591(0x1db),!0x0),c(this,_0xa52591(0x304),new Map()),c(this,'_historyContainerId'),c(this,_0xa52591(0x232)),c(this,_0xa52591(0x1a0)),c(this,'_canRevert',!0x1),(this[_0xa52591(0x284)]=_0x3ecb11,this['_confirmService']=_0x2a5698,this[_0xa52591(0x228)]=_0x1845ff,this[_0xa52591(0x32b)]=_0x4eb5e3);}async[_0x2cb6e4(0x239)](_0x25d30b,_0x3b7be8,_0x61972){const _0x5b8797=_0x2cb6e4;this[_0x5b8797(0x26e)]=_0x3b7be8,this[_0x5b8797(0x1a5)]=_0x61972,this['_unitId$']['next'](_0x25d30b),this['_fetching']=!0x0;const _0x20e616=await this[_0x5b8797(0x32b)][_0x5b8797(0x1e8)](_0x25d30b);if(this['_fetching']=!0x1,_0x20e616){const {versions:_0x2e4c69,lastLabel:_0x429a9e,hasMore:_0x2e1a03,members:_0x302f78}=_0x20e616;_0x2e4c69[_0x5b8797(0x31f)]===0x0&&_0x2e4c69[_0x5b8797(0x300)]({'unitId':_0x25d30b,'id':Es,'startRev':0x1,'endRev':0x0,'time':Date[_0x5b8797(0x2ec)](),'user':this[_0x5b8797(0x228)]['t'](_0x5b8797(0x254)),'commands':[],'isAnonymous':!0x1}),this['_updateVersions'](_0x2e4c69,_0x2e1a03,_0x429a9e,_0x302f78),this[_0x5b8797(0x282)]['next'](_0x2e4c69[0x0]['id']);}else this[_0x5b8797(0x204)][_0x5b8797(0x2b4)]('error');}async[_0x2cb6e4(0x351)](){const _0x1fc1b4=_0x2cb6e4;if(!this[_0x1fc1b4(0x31b)]||!this['_hasMore']||this[_0x1fc1b4(0x29c)])return!0x1;this[_0x1fc1b4(0x29c)]=!0x0;const _0x30038b=await this[_0x1fc1b4(0x32b)][_0x1fc1b4(0x1e8)](this[_0x1fc1b4(0x1ef)],this[_0x1fc1b4(0x31b)]);if(this[_0x1fc1b4(0x29c)]=!0x1,_0x30038b){const {versions:_0x1c2c32,lastLabel:_0x54f81d,hasMore:_0x43e01d,members:_0x1ca361}=_0x30038b;this['_updateVersions'](_0x1c2c32,_0x43e01d,_0x54f81d,_0x1ca361);}else this['_messageService'][_0x1fc1b4(0x31a)]({'content':this[_0x1fc1b4(0x228)]['t'](_0x1fc1b4(0x2a5)),'type':_0x1a2dc5[_0x1fc1b4(0x2a7)],'duration':0xbb8});return!0x0;}async['triggerLoadSheet'](_0x54fb42){const _0x13f49e=_0x2cb6e4;var _0x39d5ff;const _0x474c48=(_0x39d5ff=this['_versions$']['value'])==null?void 0x0:_0x39d5ff[_0x13f49e(0x2dd)](_0x1fbb42=>_0x1fbb42['id']===_0x54fb42),{endRev:_0x196160}=_0x474c48||{};_0x196160||_0x196160===0x0?(this[_0x13f49e(0x33e)][_0x13f49e(0x2b4)](_0x13f49e(0x2f5)),await this['_historyFetchService'][_0x13f49e(0x20f)](this[_0x13f49e(0x1ef)],_0x196160),this['_loadingState$'][_0x13f49e(0x2b4)](_0x13f49e(0x273))):this[_0x13f49e(0x204)][_0x13f49e(0x2b4)](_0x13f49e(0x1c6));}async['triggerRevert'](_0x3c41c7){const _0x315f47=_0x2cb6e4,_0x41a2c3=_0x3c41c7?this[_0x315f47(0x29b)](_0x3c41c7):this[_0x315f47(0x346)]();if(!_0x41a2c3)return;const _0x2bdcf6=_0x41a2c3[_0x315f47(0x343)],_0x19e598=ie(_0x41a2c3[_0x315f47(0x2bd)],this[_0x315f47(0x228)]['getCurrentLocale']());await this['_confirmService'][_0x315f47(0x30e)]({'id':'confirm-revert-revision','title':{'title':this['_localeService']['t'](_0x315f47(0x344))},'children':{'title':this['_localeService']['t'](_0x315f47(0x297))+_0x315f47(0x1a7)+_0x19e598[_0x315f47(0x2af)]+'\x20'+_0x19e598[_0x315f47(0x2bd)]+')'},'cancelText':this[_0x315f47(0x228)]['t'](_0x315f47(0x24a)),'confirmText':this[_0x315f47(0x228)]['t'](_0x315f47(0x2de))})&&this['_revertRevision$'][_0x315f47(0x2b4)](_0x2bdcf6);}[_0x2cb6e4(0x289)](_0x283fd9,_0x3b64c2,_0x3a882d,_0x40fbd6){const _0x578356=_0x2cb6e4;this[_0x578356(0x319)]['next'](this[_0x578356(0x319)][_0x578356(0x20e)][_0x578356(0x1fe)](_0x283fd9)),this[_0x578356(0x1db)]=_0x3b64c2,this[_0x578356(0x31b)]=_0x3a882d,_0x40fbd6&&Object['keys'](_0x40fbd6)[_0x578356(0x1ee)](_0x44a3c6=>this[_0x578356(0x304)][_0x578356(0x2f3)](_0x44a3c6,_0x40fbd6[_0x44a3c6]));}['getCurrentVersion'](){const _0x28ab16=_0x2cb6e4;return this[_0x28ab16(0x29b)](this[_0x28ab16(0x282)]['value']);}[_0x2cb6e4(0x29b)](_0x55e678){const _0xa50ae0=_0x2cb6e4;var _0x4de08e;return(_0x4de08e=this[_0xa50ae0(0x319)][_0xa50ae0(0x20e)])==null?void 0x0:_0x4de08e[_0xa50ae0(0x2dd)](_0x5efe3e=>_0x5efe3e['id']===_0x55e678);}[_0x2cb6e4(0x2da)](_0x534b95){const _0x3df7f5=_0x2cb6e4;return this[_0x3df7f5(0x304)][_0x3df7f5(0x198)](_0x534b95);}[_0x2cb6e4(0x2bb)](){const _0x4e2014=_0x2cb6e4;this[_0x4e2014(0x1a0)]=document['createElement'](_0x4e2014(0x309)),this[_0x4e2014(0x1a0)]['className']=_0x4e2014(0x333),this['_maskElement'][_0x4e2014(0x285)][_0x4e2014(0x28d)]=_0x4e2014(0x242),this['_maskElement'][_0x4e2014(0x285)][_0x4e2014(0x350)]='0',this[_0x4e2014(0x1a0)][_0x4e2014(0x285)][_0x4e2014(0x215)]='0',this[_0x4e2014(0x1a0)]['style'][_0x4e2014(0x234)]='100%',this[_0x4e2014(0x1a0)][_0x4e2014(0x285)][_0x4e2014(0x1d4)]='100%',this[_0x4e2014(0x1a0)][_0x4e2014(0x285)][_0x4e2014(0x34f)]='rgba(225,\x20225,\x20225,\x200.5)',this['_maskElement'][_0x4e2014(0x285)]['color']='white',this[_0x4e2014(0x1a0)][_0x4e2014(0x285)][_0x4e2014(0x283)]=_0x4e2014(0x218),this['_maskElement'][_0x4e2014(0x285)][_0x4e2014(0x352)]=_0x4e2014(0x235),this['_maskElement'][_0x4e2014(0x285)][_0x4e2014(0x2eb)]='1000',this['_maskElement']['style']['display']=_0x4e2014(0x22b),this[_0x4e2014(0x232)][_0x4e2014(0x314)](this[_0x4e2014(0x1a0)]);}[_0x2cb6e4(0x1a8)](){const _0x2805d8=_0x2cb6e4;var _0x44b164;const _0x2259f3=(_0x44b164=document[_0x2805d8(0x1d0)](this[_0x2805d8(0x26e)]))==null?void 0x0:_0x44b164['querySelector'](_0x2805d8(0x33c));_0x2259f3&&(this[_0x2805d8(0x232)]=_0x2259f3,this[_0x2805d8(0x2bb)]());}['showMask'](){const _0x509f10=_0x2cb6e4;this[_0x509f10(0x232)]||this[_0x509f10(0x1a8)](),this[_0x509f10(0x1a0)]&&(this[_0x509f10(0x1a0)][_0x509f10(0x285)][_0x509f10(0x283)]='flex');}[_0x2cb6e4(0x330)](){const _0x50b4d0=_0x2cb6e4;this[_0x50b4d0(0x1a0)]&&(this[_0x50b4d0(0x1a0)][_0x50b4d0(0x285)][_0x50b4d0(0x283)]='none');}set[_0x2cb6e4(0x1aa)](_0x29e53a){const _0x458ec8=_0x2cb6e4;this[_0x458ec8(0x204)][_0x458ec8(0x2b4)](_0x29e53a);}set['currentVersion'](_0x119cb0){const _0x4ffa9f=_0x2cb6e4;_0x119cb0!==this[_0x4ffa9f(0x282)][_0x4ffa9f(0x20e)]&&this[_0x4ffa9f(0x282)][_0x4ffa9f(0x2b4)](_0x119cb0);}get[_0x2cb6e4(0x1d7)](){const _0x1a7ee6=_0x2cb6e4;return this[_0x1a7ee6(0x282)][_0x1a7ee6(0x20e)];}set[_0x2cb6e4(0x1ef)](_0x51b523){const _0x5ceaa8=_0x2cb6e4;this[_0x5ceaa8(0x21c)][_0x5ceaa8(0x2b4)](_0x51b523);}get[_0x2cb6e4(0x1ef)](){const _0xcb756c=_0x2cb6e4;return this[_0xcb756c(0x21c)][_0xcb756c(0x20e)];}get[_0x2cb6e4(0x246)](){const _0xe63a24=_0x2cb6e4;return this[_0xe63a24(0x1a5)];}get[_0x2cb6e4(0x2ac)](){const _0x3f2622=_0x2cb6e4;return this[_0x3f2622(0x33e)][_0x3f2622(0x20e)];}};g=vs([U(0x0,_0x964c74),U(0x1,_0x2d9c9d),U(0x2,_0x4aaff5(_0x2d2eaf)),U(0x3,_0x4aaff5(A))],g);function j({ref:_0x57ca5a,..._0x49c90a}){const _0x32f8b9=_0x2cb6e4,{icon:_0xb67fc5,id:_0x260074,className:_0x2eb131,extend:_0x576bdb,..._0xa82959}=_0x49c90a,_0x510a17=(_0x32f8b9(0x1a9)+_0x260074+'\x20'+(_0x2eb131||''))[_0x32f8b9(0x1ac)](),_0x5312c7=_0x1f51c9('_'+fs());return Le(_0xb67fc5,''+_0x260074,{'defIds':_0xb67fc5[_0x32f8b9(0x313)],'idSuffix':_0x5312c7[_0x32f8b9(0x28b)]},{'ref':_0x57ca5a,'className':_0x510a17,..._0xa82959},_0x576bdb);}function Le(_0x16718a,_0xd1b087,_0x31a72d,_0x4eec81,_0x9a52fe){const _0x53ed26=_0x2cb6e4;return _0x33de19(_0x16718a[_0x53ed26(0x341)],{'key':_0xd1b087,...Ss(_0x16718a,_0x31a72d,_0x9a52fe),..._0x4eec81},(ms(_0x16718a,_0x31a72d)['children']||[])[_0x53ed26(0x1ab)]((_0x2f5aa3,_0x214028)=>Le(_0x2f5aa3,_0xd1b087+'-'+_0x16718a[_0x53ed26(0x341)]+'-'+_0x214028,_0x31a72d,void 0x0,_0x9a52fe)));}function Ss(_0x295914,_0x2326e9,_0x1ccec0){const _0x83a378=_0x2cb6e4,_0x51301a={..._0x295914[_0x83a378(0x24f)]};_0x1ccec0!=null&&_0x1ccec0[_0x83a378(0x34d)]&&_0x51301a['fill']==='colorChannel1'&&(_0x51301a[_0x83a378(0x19d)]=_0x1ccec0['colorChannel1']),_0x295914[_0x83a378(0x341)]===_0x83a378(0x2a4)&&_0x51301a['id']&&(_0x51301a['id']=_0x51301a['id']+_0x2326e9['idSuffix']),Object[_0x83a378(0x1f0)](_0x51301a)[_0x83a378(0x1ee)](([_0x5d7003,_0x5ef89f])=>{const _0x2dda0f=_0x83a378;_0x5d7003===_0x2dda0f(0x2a4)&&typeof _0x5ef89f=='string'&&(_0x51301a[_0x5d7003]=_0x5ef89f[_0x2dda0f(0x22f)](/url\(#(.*)\)/,_0x2dda0f(0x2ee)+_0x2326e9[_0x2dda0f(0x34b)]+')'));});const {defIds:_0x2592ba}=_0x2326e9;return!_0x2592ba||_0x2592ba['length']===0x0||(_0x295914[_0x83a378(0x341)]===_0x83a378(0x1c8)&&_0x51301a[_0x83a378(0x275)]&&(_0x51301a['xlink:href']=_0x51301a['xlink:href']+_0x2326e9[_0x83a378(0x34b)]),Object['entries'](_0x51301a)['forEach'](([_0xac7bbb,_0xa04fb6])=>{const _0x4b062f=_0x83a378;typeof _0xa04fb6==_0x4b062f(0x1c7)&&(_0x51301a[_0xac7bbb]=_0xa04fb6[_0x4b062f(0x22f)](/url\(#(.*)\)/,_0x4b062f(0x2ee)+_0x2326e9['idSuffix']+')'));})),_0x51301a;}function ms(_0x344922,_0x2e601a){const _0x302b3b=_0x2cb6e4;var _0x1d08ec;const {defIds:_0x4b474f}=_0x2e601a;return!_0x4b474f||_0x4b474f['length']===0x0?_0x344922:_0x344922[_0x302b3b(0x341)]===_0x302b3b(0x35a)&&((_0x1d08ec=_0x344922['children'])!=null&&_0x1d08ec[_0x302b3b(0x31f)])?{..._0x344922,'children':_0x344922[_0x302b3b(0x29e)][_0x302b3b(0x1ab)](_0x383ff0=>typeof _0x383ff0['attrs']['id']==_0x302b3b(0x1c7)&&_0x4b474f&&_0x4b474f['includes'](_0x383ff0[_0x302b3b(0x24f)]['id'])?{..._0x383ff0,'attrs':{..._0x383ff0[_0x302b3b(0x24f)],'id':_0x383ff0[_0x302b3b(0x24f)]['id']+_0x2e601a[_0x302b3b(0x34b)]}}:_0x383ff0)}:_0x344922;}function fs(){const _0x3da9de=_0x2cb6e4;return Math['random']()[_0x3da9de(0x30b)](0x24)[_0x3da9de(0x315)](0x2,0x8);}j['displayName']='UniverIcon';const gs={'tag':'svg','attrs':{'xmlns':_0x2cb6e4(0x301),'fill':'none','viewBox':_0x2cb6e4(0x195),'width':_0x2cb6e4(0x1cd),'height':_0x2cb6e4(0x1cd)},'children':[{'tag':_0x2cb6e4(0x2a9),'attrs':{'fill':_0x2cb6e4(0x29a),'d':'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'}}]},Ce=_0x21d9e4(function(_0x46d3c1,_0x196a65){const _0x53b5ec=_0x2cb6e4;return _0x33de19(j,Object['assign']({},_0x46d3c1,{'id':_0x53b5ec(0x2fd),'ref':_0x196a65,'icon':gs}));});Ce[_0x2cb6e4(0x1ca)]=_0x2cb6e4(0x22d);const ps={'tag':_0x2cb6e4(0x1b4),'attrs':{'xmlns':_0x2cb6e4(0x301),'fill':_0x2cb6e4(0x22b),'viewBox':'0\x200\x2016\x2017','width':_0x2cb6e4(0x1cd),'height':_0x2cb6e4(0x1cd)},'children':[{'tag':'g','attrs':{'fill':_0x2cb6e4(0x29a),'clipPath':_0x2cb6e4(0x196)},'children':[{'tag':_0x2cb6e4(0x2a9),'attrs':{'d':_0x2cb6e4(0x2db)}},{'tag':_0x2cb6e4(0x2a9),'attrs':{'d':_0x2cb6e4(0x2b6),'fillRule':_0x2cb6e4(0x2c4),'clipRule':'evenodd'}}]},{'tag':_0x2cb6e4(0x35a),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x2cb6e4(0x306)},'children':[{'tag':_0x2cb6e4(0x1b6),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':'white','rx':0x4}}]}]}],'defIds':[_0x2cb6e4(0x306)]},ye=_0x21d9e4(function(_0xc646f1,_0x1f6c4a){const _0x306871=_0x2cb6e4;return _0x33de19(j,Object[_0x306871(0x21a)]({},_0xc646f1,{'id':_0x306871(0x26d),'ref':_0x1f6c4a,'icon':ps}));});ye[_0x2cb6e4(0x1ca)]='RestoreIcon';const Ns={'tag':_0x2cb6e4(0x1b4),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2cb6e4(0x22b),'viewBox':_0x2cb6e4(0x195),'width':_0x2cb6e4(0x1cd),'height':_0x2cb6e4(0x1cd)},'children':[{'tag':_0x2cb6e4(0x2a9),'attrs':{'fill':_0x2cb6e4(0x30a),'d':_0x2cb6e4(0x2be),'fillOpacity':0.2,'fillRule':_0x2cb6e4(0x2c4),'clipRule':_0x2cb6e4(0x2c4)}},{'tag':_0x2cb6e4(0x2a9),'attrs':{'fill':_0x2cb6e4(0x30a),'d':_0x2cb6e4(0x2bf),'fillRule':_0x2cb6e4(0x2c4),'clipRule':_0x2cb6e4(0x2c4)}}]},re=_0x21d9e4(function(_0x5622c7,_0x27727e){const _0x559295=_0x2cb6e4;return _0x33de19(j,Object[_0x559295(0x21a)]({},_0x5622c7,{'id':_0x559295(0x203),'ref':_0x27727e,'icon':Ns}));});re[_0x2cb6e4(0x1ca)]=_0x2cb6e4(0x345);function Os(){const _0xf35341=_0x2cb6e4;var _0x808a94;const _0x12dd50=_0x30b5c3(g),_0x549ce7=_0x30b5c3(_0x2d2eaf),_0x13cd58=_0x511d34(()=>{const _0x2ddc75=_0x50cb;_0x12dd50['status']=ne[_0x2ddc75(0x267)];},[_0x12dd50]),_0x46843c=_0x511d34(()=>{_0x12dd50['triggerRevert']();},[_0x12dd50]),_0xb26f09=_0xe37064(_0x12dd50['currentVersion$']),_0x426eb2=_0xe37064(_0x12dd50['versions$']),_0x513c5c=_0xb26f09===((_0x808a94=_0x426eb2==null?void 0x0:_0x426eb2[0x0])==null?void 0x0:_0x808a94['id']),_0x322015=_0xb26f09!==''&&!_0x513c5c&&_0x12dd50[_0xf35341(0x246)];return _0x4f314f(_0xf35341(0x309),{'className':_0x15693a(_0xf35341(0x21e),_0x181437),'children':[_0x30c25d('a',{'className':_0xf35341(0x223),'role':_0xf35341(0x25c),'onClick':_0x13cd58,'children':_0x30c25d(Ce,{'className':_0xf35341(0x236)})}),_0x30c25d(_0xf35341(0x309),{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','children':_0x322015&&_0x30c25d(_0x47226d,{'variant':'primary','onClick':_0x46843c,'children':_0x549ce7['t'](_0xf35341(0x2df))})})]});}var Rs=Object[_0x2cb6e4(0x2d2)],Ts=(_0x15c157,_0x3eab25,_0xf46904,_0x35bcb0)=>{for(var _0x17b9a7=_0x35bcb0>0x1?void 0x0:_0x35bcb0?Rs(_0x3eab25,_0xf46904):_0x3eab25,_0x2e92c4=_0x15c157['length']-0x1,_0x588ee7;_0x2e92c4>=0x0;_0x2e92c4--)(_0x588ee7=_0x15c157[_0x2e92c4])&&(_0x17b9a7=_0x588ee7(_0x17b9a7)||_0x17b9a7);return _0x17b9a7;},M=(_0x114d39,_0x466c8e)=>(_0x456f84,_0x350fef)=>_0x466c8e(_0x456f84,_0x350fef,_0x114d39);let F=class extends _0x555e29{constructor(_0x3343ee,_0x430747,_0x19d9b9,_0x22cd3a,_0x4f0af6,_0x1c2406){const _0x1f626f=_0x2cb6e4;super(),this[_0x1f626f(0x294)]=_0x3343ee,this[_0x1f626f(0x2e0)]=_0x430747,this[_0x1f626f(0x284)]=_0x19d9b9,this[_0x1f626f(0x228)]=_0x22cd3a,this[_0x1f626f(0x290)]=_0x4f0af6,this['_injector']=_0x1c2406,this[_0x1f626f(0x209)]();}[_0x2cb6e4(0x209)](){const _0x3a33cc=_0x2cb6e4;this['disposeWithMe'](this[_0x3a33cc(0x290)][_0x3a33cc(0x206)]['subscribe'](_0x365662=>{_0x365662&&this['_historyManagerService']['triggerLoadSheet'](_0x365662);})),this[_0x3a33cc(0x24e)](this[_0x3a33cc(0x294)][_0x3a33cc(0x1c4)][_0x3a33cc(0x2a6)](_0x2e05e9=>{const _0x3bc5b5=_0x3a33cc,_0x24cf8a=this[_0x3bc5b5(0x290)]['unitId'];_0x24cf8a&&(_0x2e05e9[_0x3bc5b5(0x20d)]===D[_0x3bc5b5(0x1a6)]&&_0x2e05e9[_0x3bc5b5(0x20e)]===!0x0&&this[_0x3bc5b5(0x294)][_0x3bc5b5(0x250)](new _0x27b647(_0x24cf8a)['id'],!0x1),_0x2e05e9['subType']===D['RenameSheet']&&_0x2e05e9[_0x3bc5b5(0x20e)]===!0x0&&this[_0x3bc5b5(0x294)][_0x3bc5b5(0x250)](new _0x248c0b(_0x24cf8a)['id'],!0x1),_0x2e05e9['subType']===D[_0x3bc5b5(0x238)]&&_0x2e05e9[_0x3bc5b5(0x20e)]===!0x0&&this[_0x3bc5b5(0x294)][_0x3bc5b5(0x250)](new _0x26339d(_0x24cf8a)['id'],!0x1),_0x2e05e9[_0x3bc5b5(0x20d)]===D[_0x3bc5b5(0x33a)]&&_0x2e05e9[_0x3bc5b5(0x20e)]===!0x0&&this['_permissionService'][_0x3bc5b5(0x250)](new _0x12bf61(_0x24cf8a)['id'],!0x1),_0x2e05e9[_0x3bc5b5(0x20d)]===D[_0x3bc5b5(0x2a2)]&&_0x2e05e9[_0x3bc5b5(0x20e)]===!0x0&&this[_0x3bc5b5(0x294)][_0x3bc5b5(0x250)](new _0x27b647(_0x24cf8a)['id'],!0x1),_0x2e05e9[_0x3bc5b5(0x20d)]===D[_0x3bc5b5(0x227)]&&_0x2e05e9[_0x3bc5b5(0x20e)]===!0x0&&this[_0x3bc5b5(0x294)][_0x3bc5b5(0x250)](new _0x27b647(_0x24cf8a)['id'],!0x1));})),this[_0x3a33cc(0x24e)](this[_0x3a33cc(0x2e0)][_0x3a33cc(0x28f)](_0x4c12ab[_0x3a33cc(0x1df)],()=>_0x3bdc12(Os,this[_0x3a33cc(0x251)]))),this[_0x3a33cc(0x24e)](this[_0x3a33cc(0x290)][_0x3a33cc(0x1bf)][_0x3a33cc(0x2a6)](_0x1f4350=>{const _0x572f10=_0x3a33cc;_0x1f4350===C[_0x572f10(0x335)]&&(this['_historyManagerService'][_0x572f10(0x318)](),this[_0x572f10(0x284)]['show']({'type':_0x1a2dc5[_0x572f10(0x194)],'content':this[_0x572f10(0x228)]['t'](_0x572f10(0x2c0))})),_0x1f4350===C[_0x572f10(0x240)]&&this[_0x572f10(0x290)]['hideMask']();}));}};F=Ts([M(0x0,_0xbdfc78),M(0x1,_0xfa5a57),M(0x2,_0x964c74),M(0x3,_0x4aaff5(_0x2d2eaf)),M(0x4,_0x4aaff5(g)),M(0x5,_0x4aaff5(_0x14f2b5))],F);var Ds=Object[_0x2cb6e4(0x2d2)],Ms=(_0x35c941,_0x264487,_0x3c8357,_0x3e740c)=>{const _0x5822c2=_0x2cb6e4;for(var _0x2b1d1=_0x3e740c>0x1?void 0x0:_0x3e740c?Ds(_0x264487,_0x3c8357):_0x264487,_0x2c8dc4=_0x35c941[_0x5822c2(0x31f)]-0x1,_0xa9c725;_0x2c8dc4>=0x0;_0x2c8dc4--)(_0xa9c725=_0x35c941[_0x2c8dc4])&&(_0x2b1d1=_0xa9c725(_0x2b1d1)||_0x2b1d1);return _0x2b1d1;},Z=(_0x4d76b6,_0x517b13)=>(_0x4e332e,_0x2799d5)=>_0x517b13(_0x4e332e,_0x2799d5,_0x4d76b6);let w=class extends _0x555e29{constructor(_0x22a0d2,_0x3223d4,_0x1cd484){const _0x436a2f=_0x2cb6e4;super(),c(this,'_diffRangesMap',new Map()),c(this,_0x436a2f(0x2d9),new _0x2c8b5b({'ranges':new Map(),'active':null})),c(this,_0x436a2f(0x260),this[_0x436a2f(0x2d9)][_0x436a2f(0x28a)]()),(this[_0x436a2f(0x290)]=_0x22a0d2,this[_0x436a2f(0x2cd)]=_0x3223d4,this['_snapshotServerService']=_0x1cd484,this[_0x436a2f(0x209)]());}[_0x2cb6e4(0x209)](){const _0xee0739=_0x2cb6e4;this[_0xee0739(0x354)]=new Map(),this[_0xee0739(0x24e)](this[_0xee0739(0x290)][_0xee0739(0x214)]['subscribe'](_0x39ae88=>{const _0x49a065=_0xee0739;_0x39ae88&&!this['_diffRangesMap']['has'](_0x39ae88)&&this[_0x49a065(0x354)]['set'](_0x39ae88,new Map());})),this['disposeWithMe'](this[_0xee0739(0x290)]['currentVersion$']['subscribe'](async _0x3a945c=>{const _0x158492=_0xee0739;var _0x475776;_0x3a945c&&(await this[_0x158492(0x1c2)](_0x3a945c),this[_0x158492(0x2d9)][_0x158492(0x2b4)](((_0x475776=this[_0x158492(0x354)][_0x158492(0x198)](this[_0x158492(0x290)]['unitId']))==null?void 0x0:_0x475776[_0x158492(0x198)](_0x3a945c))||{'ranges':new Map(),'active':null}));}));}async[_0x2cb6e4(0x1c2)](_0x1d83c9){const _0xeb8b89=_0x2cb6e4;var _0x34cc66,_0x1153d0;const _0x2fd01e=this['_historyManagerService'][_0xeb8b89(0x29b)](_0x1d83c9),_0x12f485=this[_0xeb8b89(0x290)][_0xeb8b89(0x1ef)];if(!_0x2fd01e||!_0x12f485)return;const _0x50a667=this[_0xeb8b89(0x354)][_0xeb8b89(0x198)](_0x12f485);if(_0x50a667||this[_0xeb8b89(0x354)]['set'](_0x12f485,new Map()),(_0x34cc66=this['_diffRangesMap']['get'](_0x12f485))!=null&&_0x34cc66[_0xeb8b89(0x339)](_0x2fd01e['id']))return;const {startRev:_0x316166,endRev:_0x48f899}=_0x2fd01e;if(_0x316166===0x1){_0x50a667['set'](_0x2fd01e['id'],{'ranges':new Map(),'active':null});return;}const _0x581f0e=_0x316166-0x1,_0x5120d6=_0x48f899,_0xf87703=await this['_snapshotServerService'][_0xeb8b89(0x21d)]({},{'unitID':_0x12f485,'from':_0x581f0e,'to':_0x5120d6,'type':x[_0xeb8b89(0x257)]});if(((_0x1153d0=_0xf87703[_0xeb8b89(0x1c6)])==null?void 0x0:_0x1153d0[_0xeb8b89(0x230)])===W['OK']){const _0x484f8a=_0xf87703['changesets'][_0xeb8b89(0x1ab)](_0xaabf62=>((_0xaabf62['mutations']===null||_0xaabf62[_0xeb8b89(0x316)]===void 0x0)&&(_0xaabf62['mutations']=[]),_0x557b83(_0xaabf62)))[_0xeb8b89(0x1ab)](_0x3500c6=>_0x3500c6[_0xeb8b89(0x316)]['map'](_0x364ffe=>({..._0x364ffe,'params':{..._0x364ffe[_0xeb8b89(0x27f)],'memberId':_0x3500c6[_0xeb8b89(0x293)]}})))[_0xeb8b89(0x27d)](),_0x54477f=this[_0xeb8b89(0x1b2)](_0x484f8a),_0x486216=this[_0xeb8b89(0x317)](_0x484f8a),_0x396646=this[_0xeb8b89(0x2e5)](_0x54477f);_0x50a667['set'](_0x2fd01e['id'],{'ranges':_0x396646,'active':_0x486216});}}['_transformMutationByOrder'](_0x13d701){const _0x1bdfda=_0x2cb6e4;let _0x1dc5ac=[];for(let _0x5de09c=0x0;_0x5de09c<_0x13d701[_0x1bdfda(0x31f)];_0x5de09c++){const _0x2cfb41=_0x13d701[_0x5de09c];if(_0x1dc5ac[_0x1bdfda(0x300)](_0x2cfb41),_0x5de09c!==_0x13d701[_0x1bdfda(0x31f)]-0x1){const _0x5e85e5=_0x13d701[_0x5de09c+0x1],_0x2784e3=this[_0x1bdfda(0x2cd)][_0x1bdfda(0x1f8)](_0x1dc5ac,[_0x5e85e5]);_0x582c81(_0x2784e3)?_0x1dc5ac=_0x2784e3[_0x1bdfda(0x2e3)]:_0x1dc5ac=[];}}return _0x1dc5ac;}[_0x2cb6e4(0x317)](_0x4a7617){const _0x3ce105=_0x2cb6e4;let _0x149c3f=[];return _0x4a7617[_0x3ce105(0x1ee)](_0x251106=>{const _0x53371c=_0x3ce105;if(_0x251106['id']===_0x314f47['id']){const _0x1a3ea5=_0x251106[_0x53371c(0x27f)];_0x149c3f['push'](_0x1a3ea5[_0x53371c(0x35b)]['id']);}else{if(_0x251106['id']===_0x2a8524['id']){const _0x33e93d=_0x251106[_0x53371c(0x27f)];_0x149c3f[_0x53371c(0x31f)]>0x0&&(_0x149c3f=_0x149c3f['filter'](_0x104a5d=>_0x104a5d!==_0x33e93d[_0x53371c(0x303)]));}else{if(_0x251106['id']===_0x475e4e['id']){const _0x15ff1c=_0x251106[_0x53371c(0x27f)];_0x15ff1c['hidden']?_0x149c3f=_0x149c3f[_0x53371c(0x19e)](_0x17efd7=>_0x17efd7!==_0x15ff1c[_0x53371c(0x303)]):_0x149c3f['push'](_0x15ff1c[_0x53371c(0x303)]);}else{const _0x34b030=_0x251106[_0x53371c(0x27f)];_0x34b030[_0x53371c(0x303)]&&_0x149c3f[_0x53371c(0x300)](_0x34b030['subUnitId']);}}}}),_0x149c3f[_0x3ce105(0x31f)]>0x0?_0x149c3f[_0x149c3f[_0x3ce105(0x31f)]-0x1]:null;}['_extractRanges'](_0xab4c80){const _0x3589f1=_0x2cb6e4,_0x9389e0=new Map();return _0xab4c80[_0x3589f1(0x1ee)](_0x206985=>{const _0x57db97=_0x3589f1;var _0x2c5232,_0x47d6be;const _0xcda171=(_0x2c5232=_0x206985[_0x57db97(0x27f)])==null?void 0x0:_0x2c5232[_0x57db97(0x1fb)];if(_0xcda171){_0x9389e0['has'](_0xcda171)||_0x9389e0['set'](_0xcda171,[]);const _0x446a30=this[_0x57db97(0x248)](_0x206985);(_0x47d6be=_0x9389e0[_0x57db97(0x198)](_0xcda171))==null||_0x47d6be[_0x57db97(0x300)](..._0x446a30);}}),_0x9389e0[_0x3589f1(0x1ee)]((_0x325aa6,_0x36aeeb)=>{_0x9389e0['set'](_0x36aeeb,this['_combineRanges'](_0x325aa6));}),_0x9389e0;}[_0x2cb6e4(0x248)](_0x14bab9){const _0x3f2e3c=_0x2cb6e4;switch(_0x14bab9['id']){case _0x156471['id']:{const _0x58d6db=_0x14bab9[_0x3f2e3c(0x27f)];return _0x58d6db[_0x3f2e3c(0x237)][_0x3f2e3c(0x1ab)](_0x4ac851=>_0x4ac851[_0x3f2e3c(0x23f)]['map'](_0x5ef410=>({'range':_0x5ef410,'unitId':_0x58d6db[_0x3f2e3c(0x1ef)],'subUnitId':_0x58d6db[_0x3f2e3c(0x303)]})))[_0x3f2e3c(0x27d)]();}case _0x42495d['id']:{const _0x53af77=_0x14bab9[_0x3f2e3c(0x27f)];return _0x53af77[_0x3f2e3c(0x23f)][_0x3f2e3c(0x1ab)](_0x3b01b5=>({'range':_0x3b01b5,'unitId':_0x53af77[_0x3f2e3c(0x1ef)],'subUnitId':_0x53af77[_0x3f2e3c(0x303)]}));}case _0x179536['id']:{const _0x40917b=_0x14bab9['params'];return[{'range':_0x40917b[_0x3f2e3c(0x30c)],'unitId':_0x40917b['unitId'],'subUnitId':_0x40917b[_0x3f2e3c(0x303)]}];}case _0xe46a58['id']:{const _0x5b6a24=_0x14bab9[_0x3f2e3c(0x27f)];return[{'range':_0x5b6a24[_0x3f2e3c(0x30c)],'unitId':_0x5b6a24[_0x3f2e3c(0x1ef)],'subUnitId':_0x5b6a24[_0x3f2e3c(0x303)]}];}case _0x36eed8['id']:{const _0x795ca1=_0x14bab9[_0x3f2e3c(0x27f)],{from:_0x4731c6,to:_0x1e8e1a,unitId:_0x5f3ba9}=_0x795ca1;return[{'range':ue(_0x4731c6[_0x3f2e3c(0x20e)]),'unitId':_0x5f3ba9,'subUnitId':_0x4731c6['subUnitId']},{'range':ue(_0x1e8e1a[_0x3f2e3c(0x20e)]),'unitId':_0x5f3ba9,'subUnitId':_0x1e8e1a[_0x3f2e3c(0x303)]}];}case _0x388f9b['id']:{const _0x5a142a=_0x14bab9[_0x3f2e3c(0x27f)],{unitId:_0x45caf0,subUnitId:_0x77c3fb,sourceRange:_0x4c47e8,targetRange:_0x2b12b4}=_0x5a142a,_0x3e581e=_0x4c47e8['endRow']-_0x4c47e8['startRow']+0x1;return[{'range':_0x2b12b4[_0x3f2e3c(0x358)]<=_0x4c47e8['startRow']?_0x2b12b4:{..._0x2b12b4,'startRow':_0x2b12b4[_0x3f2e3c(0x358)]-_0x3e581e,'endRow':_0x2b12b4[_0x3f2e3c(0x338)]-_0x3e581e},'unitId':_0x45caf0,'subUnitId':_0x77c3fb}];}case _0x3743c6['id']:{const _0x539e0f=_0x14bab9[_0x3f2e3c(0x27f)],{unitId:_0x24a58a,subUnitId:_0x1ebc3e,sourceRange:_0x1421f8,targetRange:_0x40302c}=_0x539e0f,_0x12efd6=_0x1421f8[_0x3f2e3c(0x268)]-_0x1421f8[_0x3f2e3c(0x207)]+0x1;return[{'range':_0x40302c['startColumn']<=_0x1421f8['startColumn']?_0x40302c:{..._0x40302c,'startColumn':_0x40302c[_0x3f2e3c(0x207)]-_0x12efd6,'endColumn':_0x40302c[_0x3f2e3c(0x268)]-_0x12efd6},'unitId':_0x24a58a,'subUnitId':_0x1ebc3e}];}case _0x4b3887['id']:{const _0x41c8c5=_0x14bab9[_0x3f2e3c(0x27f)],{values:_0x1ca0f1,unitId:_0x80a1a,subUnitId:_0x582796}=_0x41c8c5;return Object[_0x3f2e3c(0x2e4)](_0x1ca0f1)['map'](_0x14e430=>_0x14e430[_0x3f2e3c(0x23f)][_0x3f2e3c(0x1ab)](_0xbfd605=>({'range':_0xbfd605,'unitId':_0x80a1a,'subUnitId':_0x582796})))[_0x3f2e3c(0x27d)]();}case _0x29833f['id']:{const _0x19b8ce=_0x14bab9[_0x3f2e3c(0x27f)],{ranges:_0x1aa7bc,unitId:_0x1b54f2,subUnitId:_0x3b610c}=_0x19b8ce;return _0x1aa7bc['map'](_0x4ac080=>({'range':_0x4ac080,'unitId':_0x1b54f2,'subUnitId':_0x3b610c}));}case _0x393e31['id']:{const _0x3ce6de=_0x14bab9[_0x3f2e3c(0x27f)],{unitId:_0x8b9430,subUnitId:_0x3fa866,range:_0x2c00e7}=_0x3ce6de;return[{'range':_0x2c00e7,'unitId':_0x8b9430,'subUnitId':_0x3fa866}];}case _0x55ea74['id']:{const _0x48dad=_0x14bab9[_0x3f2e3c(0x27f)];return _0x48dad[_0x3f2e3c(0x29d)][_0x3f2e3c(0x23f)][_0x3f2e3c(0x1ab)](_0x3a4bc0=>({'range':_0x3a4bc0,'unitId':_0x48dad[_0x3f2e3c(0x1ef)],'subUnitId':_0x48dad['subUnitId']}));}case _0x31d683['id']:{const _0x49f36a=_0x14bab9[_0x3f2e3c(0x27f)];return _0x49f36a[_0x3f2e3c(0x233)]?Ps(_0x49f36a[_0x3f2e3c(0x233)])[_0x3f2e3c(0x1ab)](_0xc158e9=>({'range':_0xc158e9,'unitId':_0x49f36a[_0x3f2e3c(0x1ef)],'subUnitId':_0x49f36a[_0x3f2e3c(0x303)]})):[];}case _0x1073da['id']:{const _0x6147c8=_0x14bab9[_0x3f2e3c(0x27f)];return[{'range':_0x6147c8[_0x3f2e3c(0x30c)],'unitId':_0x6147c8['unitId'],'subUnitId':_0x6147c8[_0x3f2e3c(0x303)]}];}case _0x5abfc9['id']:{const _0x30cb05=_0x14bab9[_0x3f2e3c(0x27f)];return(Array[_0x3f2e3c(0x1eb)](_0x30cb05[_0x3f2e3c(0x29d)])?_0x30cb05[_0x3f2e3c(0x29d)]:[_0x30cb05[_0x3f2e3c(0x29d)]])[_0x3f2e3c(0x1ab)](_0x325896=>_0x325896[_0x3f2e3c(0x23f)][_0x3f2e3c(0x1ab)](_0x5e25d3=>({'range':_0x5e25d3,'unitId':_0x30cb05[_0x3f2e3c(0x1ef)],'subUnitId':_0x30cb05[_0x3f2e3c(0x303)]})))[_0x3f2e3c(0x27d)]();}case _0x8be438['id']:{const _0x328bd1=_0x14bab9[_0x3f2e3c(0x27f)];return _0x328bd1['rule'][_0x3f2e3c(0x23f)][_0x3f2e3c(0x1ab)](_0x1c23af=>({'range':_0x1c23af,'unitId':_0x328bd1[_0x3f2e3c(0x1ef)],'subUnitId':_0x328bd1[_0x3f2e3c(0x303)]}));}default:return[];}}[_0x2cb6e4(0x21b)](_0x5d8401){const _0x51d7b5=_0x2cb6e4;if(_0x5d8401[_0x51d7b5(0x31f)]<=0x1)return _0x5d8401;const _0x4510d1=new Map();return _0x5d8401[_0x51d7b5(0x1ee)](_0x3fb72a=>{const _0x263e27=_0x51d7b5;var _0x4ce7f8;const {unitId:_0xf1b382,subUnitId:_0x134eb9}=_0x3fb72a,_0x3fa8b0=_0xf1b382+'-'+_0x134eb9;_0x4510d1[_0x263e27(0x339)](_0x3fa8b0)?(_0x4ce7f8=_0x4510d1[_0x263e27(0x198)](_0x3fa8b0))==null||_0x4ce7f8[_0x263e27(0x300)](_0x3fb72a):_0x4510d1[_0x263e27(0x2f3)](_0x3fa8b0,[_0x3fb72a]);}),Array['from'](_0x4510d1[_0x51d7b5(0x2e4)]())[_0x51d7b5(0x1ab)](_0x3cce09=>new _0x56d55d()[_0x51d7b5(0x19c)](..._0x3cce09['map'](_0x293a88=>_0x293a88['range']))['merge']()[_0x51d7b5(0x1ab)](_0xbe490f=>({'range':_0xbe490f,'unitId':_0x3cce09[0x0][_0x51d7b5(0x1ef)],'subUnitId':_0x3cce09[0x0]['subUnitId']})))[_0x51d7b5(0x27d)]();}};w=Ms([Z(0x0,_0x4aaff5(g)),Z(0x1,_0x404d3b),Z(0x2,_0x19371c)],w);function ue(_0x4f166e){const _0xadc124=_0x2cb6e4;return new _0x4abeaf(_0x4f166e)[_0xadc124(0x24d)]();}function Ps(_0x10a485){const _0x1056d5=_0x2cb6e4,_0x5e6796=new _0x4abeaf(_0x10a485),_0xbf70d7=new _0x4abeaf();return _0x5e6796[_0x1056d5(0x201)]((_0x12c03b,_0x53114c)=>{const _0x14e3d2=_0x1056d5;_0xbf70d7[_0x14e3d2(0x1d1)](_0x12c03b,_0x53114c,0x1);}),_0x398609(_0xbf70d7);}var bs=Object[_0x2cb6e4(0x2d2)],Ls=(_0x1a9a17,_0x105481,_0x1948c8,_0xc1868f)=>{const _0x3f8c32=_0x2cb6e4;for(var _0x1f5424=_0xc1868f>0x1?void 0x0:_0xc1868f?bs(_0x105481,_0x1948c8):_0x105481,_0x26a7af=_0x1a9a17[_0x3f8c32(0x31f)]-0x1,_0x14be9f;_0x26a7af>=0x0;_0x26a7af--)(_0x14be9f=_0x1a9a17[_0x26a7af])&&(_0x1f5424=_0x14be9f(_0x1f5424)||_0x1f5424);return _0x1f5424;},P=(_0x1e53b2,_0x25f255)=>(_0x469cd8,_0x5db6af)=>_0x25f255(_0x469cd8,_0x5db6af,_0x1e53b2);let q=class extends _0x555e29{constructor(_0x3eb02f,_0x3bf600,_0x19087e,_0x52cbee,_0x3b9553,_0x1c0fb2,_0x39affa){const _0x36bf0e=_0x2cb6e4;super(),c(this,'_diffs',new Set()),c(this,_0x36bf0e(0x1e3),null),(this[_0x36bf0e(0x1b3)]=_0x3eb02f,this['_historyManagerService']=_0x3bf600,this[_0x36bf0e(0x33d)]=_0x19087e,this[_0x36bf0e(0x2d0)]=_0x52cbee,this[_0x36bf0e(0x1cc)]=_0x3b9553,this['_sheetSkeletonManagerService']=_0x1c0fb2,this[_0x36bf0e(0x349)]=_0x39affa,this[_0x36bf0e(0x209)]());}[_0x2cb6e4(0x209)](){const _0x38649a=_0x2cb6e4;this['_initRender'](),this[_0x38649a(0x325)]();}[_0x2cb6e4(0x208)](){const _0x1073a3=_0x2cb6e4;this[_0x1073a3(0x24e)](_0x1dc938([this[_0x1073a3(0x290)]['loadingState$'],this['_sheetSkeletonManagerService']['currentSkeleton$']])[_0x1073a3(0x1e5)](_0x5553c3(([_0x7a5fd7,_0xeb08f4])=>{const _0x40b29e=_0x1073a3;if(_0x7a5fd7===C[_0x40b29e(0x240)]&&_0xeb08f4){const _0x581d04=_0xeb08f4[_0x40b29e(0x25e)];return this[_0x40b29e(0x33d)][_0x40b29e(0x260)]['pipe'](_0x32acdf(_0x464ac3=>{const _0x4e2efc=_0x40b29e,_0x2cca10=new Map();return _0x464ac3[_0x4e2efc(0x23f)][_0x4e2efc(0x1ee)]((_0x502da8,_0xe7d46a)=>{const _0x55d81e=_0x4e2efc,_0x3019bf=_0x502da8[_0x55d81e(0x19e)](_0x187391=>_0x187391[_0x55d81e(0x303)]===_0x581d04);_0x2cca10[_0x55d81e(0x2f3)](_0xe7d46a,_0x3019bf);}),{'skeleton':_0xeb08f4,'diffs':_0x2cca10};}));}return _0x20a5f7({'skeleton':null,'diffs':new Map()});}))['subscribe'](({skeleton:_0x37ede0,diffs:_0x4904ec})=>{const _0x3850b8=_0x1073a3;this[_0x3850b8(0x271)](),_0x37ede0&&this['_updateDiffMarks'](_0x37ede0,_0x4904ec);})),this[_0x1073a3(0x24e)](this[_0x1073a3(0x324)]['currentSkeleton$'][_0x1073a3(0x2a6)](_0x223b28=>{const _0x258545=_0x1073a3;if(_0x223b28==null)return;const {skeleton:_0x31eb82}=_0x223b28,{scene:_0x55c6fe}=this[_0x258545(0x1b3)];_0x55c6fe['onPointerMove$']['subscribeEvent'](_0x5c6339(_0x228f6c=>{const _0x476738=_0x258545;var _0x5213da,_0x20a02b;const {offsetX:_0x5dfc14,offsetY:_0x51055c}=_0x228f6c,{x:_0x54d7de,y:_0x4bc9fa}=_0x55c6fe[_0x476738(0x1cb)](_0x394574['FromArray']([_0x5dfc14,_0x51055c])),{scaleX:_0x39cf93,scaleY:_0x88e0db}=_0x55c6fe[_0x476738(0x340)](),_0x2063d7=_0x55c6fe['getViewport'](_0x2bf945['VIEW_MAIN']),_0x5b2782=_0x55c6fe[_0x476738(0x2d1)](_0x394574[_0x476738(0x1c0)]([_0x54d7de,_0x4bc9fa]),_0x2063d7),_0x4bc430=_0x31eb82[_0x476738(0x359)](_0x5dfc14,_0x51055c,_0x39cf93,_0x88e0db,_0x5b2782);((_0x5213da=this[_0x476738(0x1e3)])==null?void 0x0:_0x5213da[_0x476738(0x1c1)])===_0x4bc430[_0x476738(0x1c1)]&&((_0x20a02b=this[_0x476738(0x1e3)])==null?void 0x0:_0x20a02b[_0x476738(0x277)])===_0x4bc430['row']||this[_0x476738(0x1ad)][_0x476738(0x1ee)](_0x59b413=>{const _0x3ae8ed=_0x476738;_0x59b413[_0x3ae8ed(0x1e6)](_0x4bc430);});},0x64));}));}[_0x2cb6e4(0x325)](){const _0x5f1bf0=_0x2cb6e4;this['disposeWithMe'](this[_0x5f1bf0(0x290)]['loadingState$']['subscribe'](_0x3a87a9=>{const _0x5d9c82=_0x5f1bf0,_0x2e4523=new _0x15ce3c();return _0x3a87a9===C[_0x5d9c82(0x240)]&&(_0x2e4523[_0x5d9c82(0x336)](),_0x2e4523[_0x5d9c82(0x19c)](this[_0x5d9c82(0x33d)][_0x5d9c82(0x260)]['subscribe'](_0x5e09b2=>{const _0x55c80e=_0x5d9c82;_0x5e09b2[_0x55c80e(0x1dc)]&&this[_0x55c80e(0x349)][_0x55c80e(0x2ed)](_0x58ed03['id'],{'unitId':this[_0x55c80e(0x1b3)][_0x55c80e(0x1ef)],'subUnitId':_0x5e09b2[_0x55c80e(0x1dc)]});}))),()=>_0x2e4523[_0x5d9c82(0x336)]();}));}[_0x2cb6e4(0x347)](_0x4c68f7,_0x53cf1c){const _0x4f701b=_0x2cb6e4;var _0x39d8f5;const _0x12557d=(_0x39d8f5=this[_0x4f701b(0x324)]['getCurrent']())==null?void 0x0:_0x39d8f5[_0x4f701b(0x222)];if(!_0x12557d)return;this['_diffs'][_0x4f701b(0x1ee)](_0x9a38d0=>{_0x9a38d0['makeDirty']();});const {scene:_0x4976b3}=this[_0x4f701b(0x1b3)],_0x25f1c7=Array['from'](_0x53cf1c['keys']())[_0x4f701b(0x1ab)](_0x245dda=>_0x53cf1c[_0x4f701b(0x198)](_0x245dda)['map'](_0x2c7d36=>{const _0xf41665=_0x4f701b;var _0x5856b5;const {range:_0x4670e1,subUnitId:_0x4e7d79,unitId:_0x85a127}=_0x2c7d36,{startColumn:_0x4930c3,startRow:_0x1e7221,endColumn:_0x59fdb1,endRow:_0x28c474}=_0x4670e1,_0x37de38=_0x4b40a2(_0x1e7221,_0x4930c3,_0x4976b3,_0x12557d),_0x4aebfd=_0x4b40a2(_0x28c474,_0x59fdb1,_0x4976b3,_0x12557d),{columnHeaderHeightAndMarginTop:_0xa739e6}=_0x12557d,{startX:_0x2bba89,startY:_0x420535}=_0x37de38,{endX:_0x4fd960,endY:_0xb98ae8}=_0x4aebfd,_0x35cac1=_0x4fd960-_0x2bba89,_0x28b391=_0xb98ae8-_0x420535,_0x5d154c={'labelPosition':_0x420535-_0xa739e6>=0x14?'top':_0xf41665(0x25d),'sheetID':_0x4e7d79,'range':_0x4670e1,'color':_0xf41665(0x299),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0xf41665(0x299),'name':((_0x5856b5=this[_0xf41665(0x290)][_0xf41665(0x2da)](_0x245dda))==null?void 0x0:_0x5856b5[_0xf41665(0x241)])||'','selection':_0x85a127+'-'+_0x4e7d79+'-'+_0x4670e1[_0xf41665(0x207)]+'-'+_0x4670e1[_0xf41665(0x358)]+'-'+_0x4670e1[_0xf41665(0x268)]+'-'+_0x4670e1['endRow'],'left':_0x2bba89,'top':_0x420535,'width':_0x35cac1,'height':_0x28b391,'evented':!0x1,'zIndex':0x1};return new _0x447436('',_0x5d154c);}))[_0x4f701b(0x27d)]();_0x4976b3[_0x4f701b(0x355)](_0x25f1c7,0x1),this[_0x4f701b(0x1ad)]=new Set(_0x25f1c7);}['_removeDiffMarks'](){const _0x377079=_0x2cb6e4;var _0x4c86b3;(_0x4c86b3=this['_diffs'])==null||_0x4c86b3[_0x377079(0x1ee)](_0x518627=>_0x518627[_0x377079(0x336)]());}[_0x2cb6e4(0x197)](){const _0x2da711=_0x2cb6e4;return _0x1ec31a(this['_univerInstanceService'],this[_0x2da711(0x1cc)]);}};q=Ls([P(0x1,_0x4aaff5(g)),P(0x2,_0x4aaff5(w)),P(0x3,_0x381737),P(0x4,_0x28ff8b),P(0x5,_0x4aaff5(_0xf71e45)),P(0x6,_0x241833)],q);function Cs(){const _0x5da8d7=_0x2cb6e4,_0x1b526e=_0x30b5c3(g),_0x5de8eb=_0xe37064(_0x1b526e[_0x5da8d7(0x27a)]),[_0x320cab,_0x36820c]=_0x25215d(!0x1),_0x5257ea=cs(_0x5de8eb);return _0x5de8eb?_0x30c25d(_0x5da8d7(0x309),{'className':'univer-overflow-hidden','children':_0x4f314f(_0x5da8d7(0x309),{'className':'univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','children':[_0x5257ea[_0x5da8d7(0x1ab)]((_0x219ac1,_0x11d984)=>_0x4f314f(_0x41b79c,{'children':[_0x30c25d(Us,{'date':_0x219ac1[_0x5da8d7(0x295)]}),_0x219ac1[_0x5da8d7(0x226)][_0x5da8d7(0x1ab)]((_0x3cadf0,_0x2f0fb8)=>_0x30c25d($s,{'index':[_0x11d984,_0x2f0fb8],'item':_0x3cadf0},_0x11d984+'-'+_0x2f0fb8))]},_0x219ac1[_0x5da8d7(0x295)])),_0x320cab&&_0x30c25d(ys,{})]})}):_0x30c25d(ws,{});}function ys(){const _0xccbcd4=_0x2cb6e4;return _0x30c25d(_0xccbcd4(0x309),{'className':_0xccbcd4(0x2f6),'children':_0x30c25d(re,{'className':'univer-animate-spin'})});}function ws(){const _0x2d29e4=_0x2cb6e4;return _0x30c25d(_0x2d29e4(0x309),{'className':'univer-flex\x20univer-items-center\x20univer-justify-center','children':_0x30c25d(_0x2d29e4(0x26f),{'className':_0x2d29e4(0x256),'children':_0x30c25d(re,{'className':_0x2d29e4(0x30f)})})});}function Us(_0x40c36e){const _0x503c36=_0x2cb6e4,_0x3d3fe9=_0x30b5c3(_0x2d2eaf),{date:_0x1b50e0}=_0x40c36e;return _0x30c25d('div',{'className':_0x503c36(0x279),'children':J(_0x1b50e0,_0x3d3fe9[_0x503c36(0x1a1)]())});}function $s(_0xf43d59){const _0x270a64=_0x2cb6e4,{item:_0x52a4ee,index:_0x4ed006}=_0xf43d59,{time:_0x18d0f0,user:_0x46808d}=_0x52a4ee,[_0x56146a,_0xea1345]=_0x4ed006,_0x2255c2=_0x30b5c3(g),_0x3f6560=_0xe37064(_0x2255c2[_0x270a64(0x206)],'',!0x0)===_0x52a4ee['id'],_0x37dab7=_0x56146a===0x0&&_0xea1345===0x0,_0x56f4c0=!_0x37dab7&&_0x2255c2[_0x270a64(0x246)],_0x280ed9=_0x30b5c3(_0x2d2eaf),_0x3aafad=_0x280ed9['getCurrentLocale'](),_0x25fe66=ie(_0x18d0f0,_0x3aafad),_0x11a82c=_0x280ed9['t']('editHistory.panel.currentVersion'),_0x365054=_0x511d34(_0x55a6af=>{const _0x1a4a31=_0x270a64;_0x2255c2[_0x1a4a31(0x2ac)]!==C['Loading']&&(_0x2255c2['currentVersion']=_0x55a6af);},[_0x2255c2]),_0x4df526=_0x511d34(_0x373c98=>{const _0xf651df=_0x270a64;_0x2255c2[_0xf651df(0x213)](_0x373c98);},[_0x2255c2]);return _0x4f314f(_0x270a64(0x309),{'className':_0x15693a(_0x270a64(0x2b8),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x3f6560}),'onClick':()=>_0x365054(_0x52a4ee['id']),'children':[_0x4f314f(_0x270a64(0x309),{'className':_0x270a64(0x1e9),'children':[_0x4f314f(_0x270a64(0x309),{'className':_0x270a64(0x23b),'children':[_0x30c25d(_0x270a64(0x26f),{'children':_0x25fe66[_0x270a64(0x2bd)]}),_0x37dab7&&_0x30c25d(_0x270a64(0x26f),{'className':_0x270a64(0x305),'children':_0x11a82c})]}),_0x30c25d(_0x270a64(0x309),{'children':_0x56f4c0&&_0x30c25d(_0x3fbb81,{'title':_0x280ed9['t'](_0x270a64(0x291)),'children':_0x30c25d(_0x270a64(0x309),{'onClick':_0xafe2a3=>{_0xafe2a3['stopPropagation'](),_0x4df526(_0x52a4ee['id']);},'className':_0x270a64(0x2b7),'children':_0x30c25d(ye,{})})})})]}),_0x30c25d(_0x270a64(0x309),{'className':_0x270a64(0x24c),'children':os(_0x52a4ee,_0x280ed9)})]});}var Vs=Object['getOwnPropertyDescriptor'],ks=(_0x59855d,_0x138bc1,_0xd04ba8,_0x533e63)=>{const _0x375230=_0x2cb6e4;for(var _0x2b9be9=_0x533e63>0x1?void 0x0:_0x533e63?Vs(_0x138bc1,_0xd04ba8):_0x138bc1,_0x4ee0e5=_0x59855d[_0x375230(0x31f)]-0x1,_0x505edd;_0x4ee0e5>=0x0;_0x4ee0e5--)(_0x505edd=_0x59855d[_0x4ee0e5])&&(_0x2b9be9=_0x505edd(_0x2b9be9)||_0x2b9be9);return _0x2b9be9;},$=(_0xf7a3aa,_0x8a14ad)=>(_0x45af2b,_0x17df1f)=>_0x8a14ad(_0x45af2b,_0x17df1f,_0xf7a3aa);const he=_0x2cb6e4(0x205);let Y=class extends _0x555e29{constructor(_0x14bef3,_0x473c5e,_0x2ba5f8,_0x38b475){const _0x1757ee=_0x2cb6e4;super(),c(this,'_sidebarDisposable',null),(this['_sidebarService']=_0x14bef3,this[_0x1757ee(0x32e)]=_0x473c5e,this[_0x1757ee(0x228)]=_0x2ba5f8,this[_0x1757ee(0x290)]=_0x38b475,this[_0x1757ee(0x209)]());}['_init'](){const _0x49dcda=_0x2cb6e4;this['_initPanel'](),this[_0x49dcda(0x22e)]();}['_openPanel'](){const _0xa8f842=_0x2cb6e4;if(this[_0xa8f842(0x2ea)])return;const _0x561a7a={'header':{'title':this[_0xa8f842(0x228)]['t'](_0xa8f842(0x2cb))},'children':{'label':he},'onClose':()=>{const _0x3fceca=_0xa8f842;this[_0x3fceca(0x2ea)]=null,this[_0x3fceca(0x290)]['status']=ne['Exited'];}};this[_0xa8f842(0x2ea)]=this['_sidebarService']['open']({..._0x561a7a});}[_0x2cb6e4(0x2a8)](){const _0x501cf0=_0x2cb6e4;this[_0x501cf0(0x24e)](this['_componentManager'][_0x501cf0(0x320)](he,Cs)),this['disposeWithMe'](this['_sidebarService'][_0x501cf0(0x258)]['pipe'](_0x1d2b6d(0x64))['subscribe'](_0x57b9e1=>{const _0x190eb3=_0x501cf0,{target:_0x2c05c5}=_0x57b9e1||{};if(_0x2c05c5){const {scrollTop:_0x3f410c,scrollHeight:_0x39beee,clientHeight:_0xbacb48}=_0x2c05c5;_0x3f410c+_0xbacb48>=_0x39beee-0x5&&this[_0x190eb3(0x290)][_0x190eb3(0x351)]();}}));}};Y=ks([$(0x0,_0x52d5f4),$(0x1,_0x4aaff5(_0x2ccfa8)),$(0x2,_0x4aaff5(_0x2d2eaf)),$(0x3,_0x4aaff5(g))],Y);class Hs extends _0x555e29{constructor(){const _0x334771=_0x2cb6e4;super(),c(this,_0x334771(0x2f8),new _0x19ef2a());}[_0x2cb6e4(0x266)](){return _0x1fcd3d(()=>{});}[_0x2cb6e4(0x1d2)](){}['closeAll'](_0x4cb33d){}[_0x2cb6e4(0x263)](){const _0x253c89=_0x2cb6e4;return this[_0x253c89(0x2f8)]['asObservable']();}}var xs=Object['defineProperty'],As=Object[_0x2cb6e4(0x2d2)],Fs=(_0x281391,_0x2c7e4c,_0x110fe6)=>_0x2c7e4c in _0x281391?xs(_0x281391,_0x2c7e4c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x110fe6}):_0x281391[_0x2c7e4c]=_0x110fe6,Ys=(_0x1ebce6,_0x6d3336,_0x386977,_0x3c9830)=>{const _0x23af40=_0x2cb6e4;for(var _0x39b06c=_0x3c9830>0x1?void 0x0:_0x3c9830?As(_0x6d3336,_0x386977):_0x6d3336,_0x1c4daa=_0x1ebce6[_0x23af40(0x31f)]-0x1,_0x364793;_0x1c4daa>=0x0;_0x1c4daa--)(_0x364793=_0x1ebce6[_0x1c4daa])&&(_0x39b06c=_0x364793(_0x39b06c)||_0x39b06c);return _0x39b06c;},K=(_0x5798b3,_0x2b0692)=>(_0x26d84c,_0x5e7d5e)=>_0x2b0692(_0x26d84c,_0x5e7d5e,_0x5798b3),Bs=(_0x314457,_0x3336df,_0x4f74ef)=>Fs(_0x314457,_0x3336df+'',_0x4f74ef);const Ws=_0x2cb6e4(0x25b);let ee=class extends _0x1587be{constructor(_0x3ac152=le,_0x4ea3ce,_0x209ec5,_0x749210){const _0x163b36=_0x2cb6e4;super(),this['_config']=_0x3ac152,this[_0x163b36(0x251)]=_0x4ea3ce,this['_renderManagerService']=_0x209ec5,this[_0x163b36(0x323)]=_0x749210;const {..._0x3e4e7a}=_0x4eb917({},le,this[_0x163b36(0x243)]);this[_0x163b36(0x323)]['setConfig'](be,_0x3e4e7a);}[_0x2cb6e4(0x244)](){const _0x420830=_0x2cb6e4;[[g],[F],[w],[A],[Y],[H],[_0x19371c,{'useClass':_0x31e1df}],[_0xdf2df3,{'useClass':Hs}],[_0x5e004c,{'useClass':_0x2a01f1}]][_0x420830(0x1ee)](_0x506dc9=>this[_0x420830(0x251)]['add'](_0x506dc9)),this['_injector'][_0x420830(0x198)](F);}[_0x2cb6e4(0x272)](){const _0x52ac4b=_0x2cb6e4;[[q]][_0x52ac4b(0x1ee)](_0x44079f=>{const _0x42f87d=_0x52ac4b;this[_0x42f87d(0x24e)](this['_renderManagerService'][_0x42f87d(0x1a3)](_0x113232[_0x42f87d(0x257)],_0x44079f));}),this['_injector'][_0x52ac4b(0x198)](H),this[_0x52ac4b(0x251)][_0x52ac4b(0x198)](Y);}[_0x2cb6e4(0x2f1)](){const _0x4e7bbd=_0x2cb6e4;this['_injector'][_0x4e7bbd(0x198)](w);}};Bs(ee,_0x2cb6e4(0x2a3),Ws),ee=Ys([_0x165f15(_0x39b93f,_0x4d145b),K(0x1,_0x4aaff5(_0x14f2b5)),K(0x2,_0x28ff8b),K(0x3,_0x32a9c2)],ee);export{g as HistoryManagerService,ne as HistoryModeStatus,ee as UniverEditHistoryViewerPlugin};
1
+ const _0x20b963=_0x1398;(function(_0x55f184,_0x58a8f5){const _0x5dd372=_0x1398,_0x53ba81=_0x55f184();while(!![]){try{const _0x4a2f1b=-parseInt(_0x5dd372(0x200))/0x1*(-parseInt(_0x5dd372(0x339))/0x2)+parseInt(_0x5dd372(0x390))/0x3*(-parseInt(_0x5dd372(0x32f))/0x4)+-parseInt(_0x5dd372(0x216))/0x5*(-parseInt(_0x5dd372(0x23c))/0x6)+-parseInt(_0x5dd372(0x30a))/0x7+parseInt(_0x5dd372(0x2a8))/0x8+-parseInt(_0x5dd372(0x1f8))/0x9+parseInt(_0x5dd372(0x278))/0xa*(parseInt(_0x5dd372(0x34a))/0xb);if(_0x4a2f1b===_0x58a8f5)break;else _0x53ba81['push'](_0x53ba81['shift']());}catch(_0x4aa7d2){_0x53ba81['push'](_0x53ba81['shift']());}}}(_0x2e10,0xa697e));var Ae=Object[_0x20b963(0x281)],He=(_0x406fa7,_0xa0d4d,_0x37b48e)=>_0xa0d4d in _0x406fa7?Ae(_0x406fa7,_0xa0d4d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37b48e}):_0x406fa7[_0xa0d4d]=_0x37b48e,l=(_0x33ab98,_0x5aff23,_0x3aa025)=>He(_0x33ab98,typeof _0x5aff23!='symbol'?_0x5aff23+'':_0x5aff23,_0x3aa025);import{RevertRevisionMutation as _0x4f44a3,CreateUnitMutation as _0x446e39,ISnapshotServerService as _0xb4aaa1,CompressMutationService as _0x4e2667,transformSnapshotToWorkbookData as _0x569e9a,ITransformService as _0x5bfbe2,parseProtocolChangeset as _0x4d396b,isTransformMutationsSuccess as _0x218689}from'@univerjs-pro/collaboration';import{SnapshotServerOverHTTPService as _0x3b6944,CollaborationImageIoService as _0x2e5a44}from'@univerjs-pro/collaboration-client';import{Disposable as _0x335e49,LocaleType as _0x2d2ccc,IUniverInstanceService as _0x1b44f5,ICommandService as _0x4f896f,IConfigService as _0xecbe31,Inject as _0x32b387,UniverInstanceType as _0x5a4d89,LocaleService as _0x1f194f,IPermissionService as _0x5d7d32,Injector as _0x422ac9,ObjectMatrix as _0x269394,debounce as _0x9ca00,DisposableCollection as _0x3f680b,toDisposable as _0x5c7014,DependentOn as _0x1b0b97,Plugin as _0x4dd8be,merge as _0x1199af}from'@univerjs/core';import{IImageIoService as _0x8a8737}from'@univerjs/drawing';import{IRenderManagerService as _0x33e03e,Vector2 as _0x58b95d,SHEET_VIEWPORT_KEY as _0x1f2e9f}from'@univerjs/engine-render';function _0x2e10(){const _0x466fb8=['Info','SetRowStyle','editHistory.action.revertSheetSuffix','YUUMI_ALL_TABLES_IS_INVALID','_workbookDataCache','_unitId$','_versions$','body','Edit','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','EMAIL_HAS_BEEN_BOUND','_hasMore','1172Untqry','_localeService','ENTITLE_COUPON_USED_UP','ENTITLE_NEED_BILLING_ADDRESS','RenameSheet','_sheetSkeletonManagerService','DeleteColumn','error','ERROR_AGAIN','values','200466FXtiAW','UNDEFINED','SelectUnProtectedCells','_yieldToMain','xlink:href','getCellPositionByOffset','date','http://www.w3.org/2000/svg','MOBILE_VERIFY_CODE_MISMATCH','getDeserializedSheetBlock','onMouseMove','YUUMI_NO_CUBOID_FOR_QUESTION','REDEMPTION_CODE_INACTIVE','forEach','close','params','_getAPIPrefix','11wJwrPb','FromArray','getDialogs$','setFilter','keys','_historyContainerId','Today','_dialogOptions$','loadingState','creators$','HideSheet','editHistory.action.revertSheetPrefix','1em','_getActiveSubUnitId','assign','InsertRow','ViewFilter','now','LOGIN_FAILED','APPLY_NON_SEQUENTIAL_REVISION','restore-icon','setCF','_loadingState$','PERMISSION_DENIED','attrs','className','EMAIL_VERIFY_CODE_MISMATCH','focusUnit','_diffRangesMap','Share','univer-text-gray-500','_confirmService','LoadingMultiIcon','use','sheetId','_univerInstanceService','createSheet','rect','open','addProtection','INVITE_CODE_ALREADY_BOUND','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','TOO_MANY_REQUESTS','entered','trim','SetCellValue','range','push','absolute','disposeWithMe','loading','white','INVITE_CODE_REQUIRED','_createMask','_lastLabel','Exited','UNIVER_DOC','LOGIN_TOKEN_PROCESSING_FAILED','idSuffix','onPointerMove$','users','has','some','REDEMPTION_USER_NOT_ELIGIBLE','_sidebarService','Print','string','YUUMI_TABLE_NOT_FOUND_IN_UNIT','path',':\x20(','1815dFJKwH','0\x200\x2016\x2016','merge','subType','_init','time','_uiPartsService','m1Prime','Delete','_maskContainer','ENSURE_SNAPSHOT_EXECUTION','endColumn','_maskElement','_initActiveSwitch','state$','_updateDiffMarks','editHistory.panel.revertDesc','_initRender','div','_canRevert','PivotTable','memberId','Comment','length','set','100%','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_sheetPermissionInitController','fetching','evenodd','HEADER','reduce','top','_initPanel','REDEMPTION_CODE_HAS_BEEN_CREATED','hideMask','editHistory.info.loading','hidden','_context','pipe','APPLY_DUPLICATED','getMinutes','getVersions','INVALID_ARGUMENT','clear','/creators','LICENSE_IMPORT_SIZE_EXCEEDED','getSeconds','EditWorksheetCell','_extractRanges','url(#restore-icon_clip0_1247_2)','YUUMI_ASYNCIO_CANCELLED','userID','Loading','COMPLETION_FINISHED','revertRevision$','skeleton','Character','includes','concat','ENTITLE_CAN_NOT_BUY_LOWER_OTP','recoverTime','flat','VIRTUAL_VERSION_NOW','startRevision','Init','Entered','permissionPointUpdate$','currentColor','_status$','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','toString','onStarting','interceptor','getViewport','split','12279402QOaTvI','YUUMI_CONNECTOR_URL_NOT_FOUND','entities','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','_members','ranges','colorChannel1','RecoverHistory','3dUjOqG','add','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','startColumn','closeAll','1000','UNIVER_PROJECT','subUnitId','random','addObjects','INVITE_CODE_HAS_BEEN_UES','init','clipPath','_injector','#0B9EFB','currentVersion','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','_initMaskContainer','_snapshotServerService','CreatePermissionObject','INTERNAL_ERROR','anonymous','10YmiGEI','insertSheet','function','PY_RUNTIME_SCRIPT_ERROR','loaded','loadInitialVersions','currentVersion$','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','FloatImg','zIndex','getUnitId','BackIcon','next','display','_transformService','univer-overflow-hidden','fetchThroughInterceptors','blocks','UNAUTHENTICATED','changesets','APPLY_REVISION_CONFILICT','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','getHours','_getRangesByMutation','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','getCurrentUnitForType','editHistory.panel.listFetchError','CURRENT_STATUS_CANNOT_OPERATE','displayName','setValue','_versionDiffService','triggerRevert','center','restore-icon_clip0_1247_2','rgba(225,\x20225,\x20225,\x200.5)','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','SetCellStyle','univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-flex-col\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-px-4\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','3714474mOUbRt','_setFetching','find','showMask','editHistory.panel.revertConfirmText','getOwnPropertyDescriptor','/universer-api/history','_loadParams','getRelativeToViewportCoord','register','univer-animate-spin','UNRECOGNIZED','USER_IS_ANONYMOUS','stopPropagation','editHistory.panel.confirm','mutations','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_compressMutationService','endRev','Export','editHistory.panel.unknownUser','editHistory.panel.currentUser','APPLY_PERMISSION_DENIED','LICENSE_MAX_UNITS_EXCEEDED','ZH_CN','loadMoreVersions','getCurrentVersion','univerjs-icon\x20univerjs-icon-','entries','INVALID_INVITE_CODE','PAYMENT_CHANNEL_NOT_SUPPORT','SelectProtectedCells','url(#$1','deleteProtection','endRow','CHANGESET_REVISION_CONFILICT','ENTITLE_COUPON_EXPIRED','svg','cellValue','replace','userId','justifyContent','View','parse','rgba(58,\x2096,\x20247,\x200.20)','loadHistoryCreatorList','LICENSE_EXPORT_SIZE_EXCEEDED','univer-m-auto\x20univer-animate-spin','children','lastLabel','exited','rev','editHistory.action.','append','setDV','name','History','then','getInterceptPoints','_currentVersion$','4642590IXttpg','span','Unspecified','ENTITLE_DUP_SUBSCRIPTION','status$','hasCommand','ALREADY_EXISTS','APPLY_REJECT','_transformMutationByOrder','defineProperty','_revertRevision$','_getSheetObject','toISOString','_messageService','filter','_config','all','subscribeEvent','MoveSheet','transformMutations','from','_commandService','UNIVER_SLIDE','setFrozen','getCurrentLocale','InsertHyperlink','Sort','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','AUTHORIZE_CODE_ILLEGAL','UNIVER_UNKNOWN','Filter','REDEMPTION_INVALID_CODE','endRevision','registerComponent','flex','column','YUUMI_UNABLE_LOAD_URL','YUUMI_AI_RUN_FAILED','USER_NOT_FOUND','subscribe','syncExecuteCommand','_sidebarDisposable','fetching$','CopySheet','getCurrent','Duplicate','ManageCollaborator','_setVersions','6159120wWxeze','getAncestorScale','SetWorksheetStyle','createElement','editHistory.header.revert','_configService','_createUnit','Copy','ENTITLE_INSUFFICIENT_QUOTA','ensureVersion','rules','getElementById','loadSheet','_historyManagerService','loading-multi-icon','_renderManagerService','_componentManager','_httpService','none','SNAPSHOT_INVALID_SNAPSHOT','UNIVER_SHEET','getVpScrollXYInfoByPosToVp','_combineRanges','createTime','dispose','loadingState$','rule','CreateWorksheet','action','RenameWorksheet','_openPanel','row','backgroundColor','InsertColumn','_diffs','tag','unitId','historyListServerUrl','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','left','_creators$','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','historyPanelComponentKey','CONNECTOR_DATA_TOO_LARGE','CreateSheet','ViemRwHgtClWdt','getDataRange','MoveWorksheet','SetColumnStyle','DeleteSheet','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','commands','onSteady','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','mask','YUUMI_URL_COL_OUT_OF_RANGE','RwHgtClWdt','COMPRESS_MUTATION_APPLY','VIEW_MAIN','defs','data','canRevert','YUUMI_SUBSCRIPTION_NOT_FOUND','currentSkeleton$','getVersion','updatePermissionPoint','versions$','user','addSparkline','ENTITLE_CHAT_LIMIT_EXCEED','YUUMI_RATE_OVER_LIMIT','REDEMPTION_CODE_NOT_STARTED','removeSheet','pluginName','_permissionService','status','EditExtraObject','DeleteWorksheet','width','value','show','onRendered','startRow','WECHAT_HAS_BEEN_BOUND','active','versions','dateString','SNAPSHOT_HAS_BEEN_REMOVED','additionalFields','HideWorksheet','univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','back-icon','univer-flex\x20univer-items-center\x20univer-justify-center','_cellEditorManagerService','substring','_removeDiffMarks','fetchCreatorList','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','3842979pbreCK','disposeUnit','code','ENTITLE_INVALID_COUPON_CODE','ViewHistory','confirm','map','get','history-mask','_historyFetchService','ENTITLE_REPORT_LIMIT_EXCEED','_fetching$','User','_lastPointer','style','0\x200\x2016\x2017','Loaded','LICENSE_DISTRO_REJECTED','_updateVersions','blockMeta','currentVersionDiff$','createUnit','asObservable','position','getMember'];_0x2e10=function(){return _0x466fb8;};return _0x2e10();}import{HTTPService as _0x10c8b2,UniverNetworkPlugin as _0x3fbe1b}from'@univerjs/network';import{ICellEditorManagerService as _0x38a9e4,SheetSkeletonManagerService as _0x1fce56,getCoordByCell as _0x45a338,getSheetObject as _0xb3abfd,UniverSheetsUIPlugin as _0x4fdce4}from'@univerjs/sheets-ui';import{IMessageService as _0xd6d59a,IConfirmService as _0x4349cb,useDependency as _0xbfac3,useObservable as _0x411433,IUIPartsService as _0x5beb66,BuiltInUIPart as _0x19f82c,connectInjector as _0x45ad06,ISidebarService as _0x1e5500,ComponentManager as _0x2a9ca0,IDialogService as _0x444bcc}from'@univerjs/ui';import{MessageType as _0x244639,clsx as _0x163ca0,Button as _0x1e0b3d,borderBottomClassName as _0xf897d0,Tooltip as _0x489ae2}from'@univerjs/design';import{InsertSheetMutation as _0x25555f,RemoveSheetMutation as _0x45bf5e,SetFrozenMutation as _0x182f91,AddWorksheetProtectionMutation as _0x5a5941,AddRangeProtectionMutation as _0x4e95f8,DeleteRangeProtectionMutation as _0x18b9cb,DeleteWorksheetProtectionMutation as _0x500ee6,SheetPermissionInitController as _0x5eb43e,WorkbookEditablePermission as _0x51a07b,WorkbookRenameSheetPermission as _0x3b34ab,WorkbookMoveSheetPermission as _0x222087,WorkbookHideSheetPermission as _0x1aa5c0,SetWorksheetHideMutation as _0x1beebd,SetRangeValuesMutation as _0x4ee5b3,SetRangeProtectionMutation as _0x5c62ac,ReorderRangeMutation as _0x79f5a,RemoveNumfmtMutation as _0x116a47,SetNumfmtMutation as _0xedb1a1,MoveColsMutation as _0x8c4918,MoveRowsMutation as _0x94c4b7,MoveRangeMutation as _0x42662a,InsertColMutation as _0x475126,InsertRowMutation as _0x1856c3,AddWorksheetMergeMutation as _0x5b0b3a,RangeMergeUtil as _0x3f5a75,findAllRectangle as _0x3b45d1,SetWorksheetActiveOperation as _0xce537b}from'@univerjs/sheets';import{BehaviorSubject as _0x58c75c,combineLatest as _0x1bb519,switchMap as _0x2eee0c,map as _0x46547f,of as _0x52f8f3,debounceTime as _0x4c8d10,Subject as _0x2b2c12}from'rxjs';import{InsertSheetsChartMutation as _0x1a25e2}from'@univerjs-pro/sheets-chart';import{AddSheetSparklineMutation as _0xb5dd7}from'@univerjs-pro/sheets-sparkline';import{AddDataValidationMutation as _0x2a935c,UpdateDataValidationMutation as _0x18bc67}from'@univerjs/data-validation';import{SetConditionalRuleMutation as _0x4862df,AddConditionalRuleMutation as _0x1addb4}from'@univerjs/sheets-conditional-formatting';import{SetSheetsFilterRangeMutation as _0x5c6777}from'@univerjs/sheets-filter';import{jsxs as _0xc6cf4a,jsx as _0x5c2086}from'react/jsx-runtime';import{useRef as _0x485364,createElement as _0x4ccb3d,forwardRef as _0x261329,useCallback as _0x50af04,useState as _0x501f7e,Fragment as _0x5ba647}from'react';import{SheetCollabCursorShape as _0x5a40a2}from'@univerjs-pro/collaboration-client-ui';const ne='edit-history-viewer.config',he={};var is=Object[_0x20b963(0x241)],ns=(_0x1c1d37,_0x16d508,_0x3c3dc3,_0x1f7360)=>{const _0x3d098e=_0x20b963;for(var _0x15e6bf=_0x1f7360>0x1?void 0x0:_0x1f7360?is(_0x16d508,_0x3c3dc3):_0x16d508,_0x4b2e6b=_0x1c1d37[_0x3d098e(0x3a7)]-0x1,_0x465efe;_0x4b2e6b>=0x0;_0x4b2e6b--)(_0x465efe=_0x1c1d37[_0x4b2e6b])&&(_0x15e6bf=_0x465efe(_0x15e6bf)||_0x15e6bf);return _0x15e6bf;},rs=(_0x225e99,_0x34cb43)=>(_0x3f88f9,_0x19d0b8)=>_0x34cb43(_0x3f88f9,_0x19d0b8,_0x225e99);let A=class extends _0x335e49{constructor(_0x13fe66){const _0x57b718=_0x20b963;super(),this[_0x57b718(0x305)]=_0x13fe66,this['_init']();}[_0x20b963(0x394)](){const _0x2d6e86=_0x20b963;this[_0x2d6e86(0x37b)](this[_0x2d6e86(0x305)][_0x2d6e86(0x39e)][_0x2d6e86(0x29f)](_0x4235a1=>{const _0x4820f3=_0x2d6e86;_0x4235a1!=null&&_0x4235a1[_0x4820f3(0x2f8)]&&this[_0x4820f3(0x305)]['setState']({'show':!0x1});}));}};A=ns([rs(0x0,_0x38a9e4)],A);var U=(_0x2bab66=>(_0x2bab66[_0x2bab66[_0x20b963(0x33a)]=0x0]=_0x20b963(0x33a),_0x2bab66[_0x2bab66['OK']=0x1]='OK',_0x2bab66[_0x2bab66[_0x20b963(0x214)]=0x2]='INTERNAL_ERROR',_0x2bab66[_0x2bab66['PERMISSION_DENIED']=0x3]=_0x20b963(0x361),_0x2bab66[_0x2bab66['NOT_FOUND']=0x4]='NOT_FOUND',_0x2bab66[_0x2bab66[_0x20b963(0x228)]=0x5]=_0x20b963(0x228),_0x2bab66[_0x2bab66[_0x20b963(0x27e)]=0x6]=_0x20b963(0x27e),_0x2bab66[_0x2bab66['INVALID_ARGUMENT']=0x7]=_0x20b963(0x3bb),_0x2bab66[_0x2bab66[_0x20b963(0x374)]=0x8]=_0x20b963(0x374),_0x2bab66[_0x2bab66[_0x20b963(0x1e2)]=0x9]=_0x20b963(0x1e2),_0x2bab66[_0x2bab66[_0x20b963(0x35c)]=0xa]=_0x20b963(0x35c),_0x2bab66[_0x2bab66[_0x20b963(0x341)]=0xb]=_0x20b963(0x341),_0x2bab66[_0x2bab66['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x20b963(0x239),_0x2bab66[_0x2bab66[_0x20b963(0x364)]=0xd]=_0x20b963(0x364),_0x2bab66[_0x2bab66[_0x20b963(0x309)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x2bab66[_0x2bab66[_0x20b963(0x294)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x2bab66[_0x2bab66[_0x20b963(0x383)]=0x10]=_0x20b963(0x383),_0x2bab66[_0x2bab66[_0x20b963(0x231)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x2bab66[_0x2bab66[_0x20b963(0x337)]=0x65]='ERROR_AGAIN',_0x2bab66[_0x2bab66[_0x20b963(0x29e)]=0xc9]=_0x20b963(0x29e),_0x2bab66[_0x2bab66[_0x20b963(0x248)]=0xca]='USER_IS_ANONYMOUS',_0x2bab66[_0x2bab66[_0x20b963(0x25f)]=0x1389]=_0x20b963(0x25f),_0x2bab66[_0x2bab66[_0x20b963(0x2bb)]=0x1771]=_0x20b963(0x2bb),_0x2bab66[_0x2bab66[_0x20b963(0x2ff)]=0x1772]=_0x20b963(0x2ff),_0x2bab66[_0x2bab66[_0x20b963(0x39a)]=0x1773]=_0x20b963(0x39a),_0x2bab66[_0x2bab66[_0x20b963(0x27f)]=0x1b59]='APPLY_REJECT',_0x2bab66[_0x2bab66[_0x20b963(0x35d)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2bab66[_0x2bab66['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x20b963(0x22a),_0x2bab66[_0x2bab66[_0x20b963(0x252)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2bab66[_0x2bab66[_0x20b963(0x3b8)]=0x1b5d]='APPLY_DUPLICATED',_0x2bab66[_0x2bab66[_0x20b963(0x2d3)]=0x1f41]=_0x20b963(0x2d3),_0x2bab66[_0x2bab66[_0x20b963(0x253)]=0x2329]=_0x20b963(0x253),_0x2bab66[_0x2bab66[_0x20b963(0x2dd)]=0x232a]=_0x20b963(0x2dd),_0x2bab66[_0x2bab66[_0x20b963(0x3be)]=0x232b]=_0x20b963(0x3be),_0x2bab66[_0x2bab66[_0x20b963(0x26a)]=0x232c]=_0x20b963(0x26a),_0x2bab66[_0x2bab66['LICENSE_DISTRO_REJECTED']=0x232d]=_0x20b963(0x31b),_0x2bab66[_0x2bab66[_0x20b963(0x29c)]=0x2711]=_0x20b963(0x29c),_0x2bab66[_0x2bab66['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x20b963(0x2df),_0x2bab66[_0x2bab66[_0x20b963(0x2ee)]=0x2713]=_0x20b963(0x2ee),_0x2bab66[_0x2bab66[_0x20b963(0x2e6)]=0x2714]=_0x20b963(0x2e6),_0x2bab66[_0x2bab66['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x20b963(0x344),_0x2bab66[_0x2bab66[_0x20b963(0x3c3)]=0x271b]=_0x20b963(0x3c3),_0x2bab66[_0x2bab66[_0x20b963(0x38d)]=0x271c]=_0x20b963(0x38d),_0x2bab66[_0x2bab66[_0x20b963(0x326)]=0x271d]=_0x20b963(0x326),_0x2bab66[_0x2bab66[_0x20b963(0x32c)]=0x271e]=_0x20b963(0x32c),_0x2bab66[_0x2bab66[_0x20b963(0x29d)]=0x271f]=_0x20b963(0x29d),_0x2bab66[_0x2bab66[_0x20b963(0x1f9)]=0x2720]=_0x20b963(0x1f9),_0x2bab66[_0x2bab66[_0x20b963(0x219)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x2bab66[_0x2bab66[_0x20b963(0x20a)]=0x2ee1]=_0x20b963(0x20a),_0x2bab66[_0x2bab66[_0x20b963(0x259)]=0x2ee2]=_0x20b963(0x259),_0x2bab66[_0x2bab66[_0x20b963(0x37e)]=0x2ee3]=_0x20b963(0x37e),_0x2bab66[_0x2bab66['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x2bab66[_0x2bab66[_0x20b963(0x372)]=0x2ee5]=_0x20b963(0x372),_0x2bab66[_0x2bab66[_0x20b963(0x2fb)]=0x32c9]=_0x20b963(0x2fb),_0x2bab66[_0x2bab66['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x2bab66[_0x2bab66[_0x20b963(0x32d)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x2bab66[_0x2bab66[_0x20b963(0x1e8)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x2bab66[_0x2bab66['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x2bab66[_0x2bab66[_0x20b963(0x27b)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x2bab66[_0x2bab66[_0x20b963(0x25a)]=0x36b4]=_0x20b963(0x25a),_0x2bab66[_0x2bab66[_0x20b963(0x30d)]=0x36b5]=_0x20b963(0x30d),_0x2bab66[_0x2bab66[_0x20b963(0x260)]=0x36b6]=_0x20b963(0x260),_0x2bab66[_0x2bab66[_0x20b963(0x331)]=0x36b7]=_0x20b963(0x331),_0x2bab66[_0x2bab66[_0x20b963(0x24c)]=0x36b8]=_0x20b963(0x24c),_0x2bab66[_0x2bab66['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x20b963(0x2ed),_0x2bab66[_0x2bab66[_0x20b963(0x314)]=0x3716]=_0x20b963(0x314),_0x2bab66[_0x2bab66[_0x20b963(0x2b0)]=0x3717]=_0x20b963(0x2b0),_0x2bab66[_0x2bab66[_0x20b963(0x332)]=0x37dd]=_0x20b963(0x332),_0x2bab66[_0x2bab66[_0x20b963(0x297)]=0x3a99]=_0x20b963(0x297),_0x2bab66[_0x2bab66['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x20b963(0x345),_0x2bab66[_0x2bab66['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x2bab66[_0x2bab66[_0x20b963(0x2ef)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x2bab66[_0x2bab66[_0x20b963(0x389)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x2bab66[_0x2bab66[_0x20b963(0x3aa)]=0x3a9e]=_0x20b963(0x3aa),_0x2bab66[_0x2bab66[_0x20b963(0x3b2)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x2bab66[_0x2bab66['DATA_SOURCE_TOO_LARGE']=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x2bab66[_0x2bab66[_0x20b963(0x247)]=-0x1]=_0x20b963(0x247),_0x2bab66))(U||{}),H=(_0x116584=>(_0x116584[_0x116584[_0x20b963(0x295)]=0x0]='UNIVER_UNKNOWN',_0x116584[_0x116584[_0x20b963(0x382)]=0x1]='UNIVER_DOC',_0x116584[_0x116584[_0x20b963(0x2bc)]=0x2]=_0x20b963(0x2bc),_0x116584[_0x116584[_0x20b963(0x28e)]=0x3]=_0x20b963(0x28e),_0x116584[_0x116584[_0x20b963(0x206)]=0x4]=_0x20b963(0x206),_0x116584[_0x116584[_0x20b963(0x247)]=-0x1]=_0x20b963(0x247),_0x116584))(H||{}),D=(_0x3a9906=>(_0x3a9906[_0x3a9906[_0x20b963(0x266)]=0x0]='View',_0x3a9906[_0x3a9906[_0x20b963(0x32b)]=0x1]=_0x20b963(0x32b),_0x3a9906[_0x3a9906['ManageCollaborator']=0x2]=_0x20b963(0x2a6),_0x3a9906[_0x3a9906[_0x20b963(0x38b)]=0x3]=_0x20b963(0x38b),_0x3a9906[_0x3a9906[_0x20b963(0x2a5)]=0x4]=_0x20b963(0x2a5),_0x3a9906[_0x3a9906[_0x20b963(0x3a6)]=0x5]=_0x20b963(0x3a6),_0x3a9906[_0x3a9906[_0x20b963(0x2af)]=0x6]=_0x20b963(0x2af),_0x3a9906[_0x3a9906[_0x20b963(0x367)]=0x7]=_0x20b963(0x367),_0x3a9906[_0x3a9906[_0x20b963(0x24f)]=0x8]=_0x20b963(0x24f),_0x3a9906[_0x3a9906[_0x20b963(0x2d7)]=0x9]=_0x20b963(0x2d7),_0x3a9906[_0x3a9906['DeleteWorksheet']=0xa]=_0x20b963(0x2f5),_0x3a9906[_0x3a9906[_0x20b963(0x301)]=0xb]=_0x20b963(0x301),_0x3a9906[_0x3a9906[_0x20b963(0x2c5)]=0xc]=_0x20b963(0x2c5),_0x3a9906[_0x3a9906[_0x20b963(0x2c3)]=0xd]=_0x20b963(0x2c3),_0x3a9906[_0x3a9906[_0x20b963(0x2aa)]=0xe]=_0x20b963(0x2aa),_0x3a9906[_0x3a9906[_0x20b963(0x3c0)]=0xf]=_0x20b963(0x3c0),_0x3a9906[_0x3a9906[_0x20b963(0x291)]=0x10]=_0x20b963(0x291),_0x3a9906[_0x3a9906[_0x20b963(0x292)]=0x11]=_0x20b963(0x292),_0x3a9906[_0x3a9906[_0x20b963(0x296)]=0x12]='Filter',_0x3a9906[_0x3a9906[_0x20b963(0x3a4)]=0x13]='PivotTable',_0x3a9906[_0x3a9906['FloatImg']=0x14]=_0x20b963(0x21e),_0x3a9906[_0x3a9906[_0x20b963(0x274)]=0x15]='History',_0x3a9906[_0x3a9906['RwHgtClWdt']=0x16]=_0x20b963(0x2e0),_0x3a9906[_0x3a9906[_0x20b963(0x2d5)]=0x17]=_0x20b963(0x2d5),_0x3a9906[_0x3a9906[_0x20b963(0x35a)]=0x18]=_0x20b963(0x35a),_0x3a9906[_0x3a9906[_0x20b963(0x28a)]=0x19]=_0x20b963(0x28a),_0x3a9906[_0x3a9906[_0x20b963(0x2d9)]=0x1a]=_0x20b963(0x2d9),_0x3a9906[_0x3a9906['HideSheet']=0x1b]=_0x20b963(0x354),_0x3a9906[_0x3a9906[_0x20b963(0x2a3)]=0x1c]=_0x20b963(0x2a3),_0x3a9906[_0x3a9906[_0x20b963(0x333)]=0x1d]=_0x20b963(0x333),_0x3a9906[_0x3a9906[_0x20b963(0x2d4)]=0x1e]='CreateSheet',_0x3a9906[_0x3a9906[_0x20b963(0x25b)]=0x1f]=_0x20b963(0x25b),_0x3a9906[_0x3a9906[_0x20b963(0x33b)]=0x20]=_0x20b963(0x33b),_0x3a9906[_0x3a9906[_0x20b963(0x23a)]=0x21]=_0x20b963(0x23a),_0x3a9906[_0x3a9906['SetCellValue']=0x22]=_0x20b963(0x377),_0x3a9906[_0x3a9906[_0x20b963(0x324)]=0x23]=_0x20b963(0x324),_0x3a9906[_0x3a9906[_0x20b963(0x2d8)]=0x24]=_0x20b963(0x2d8),_0x3a9906[_0x3a9906[_0x20b963(0x359)]=0x25]='InsertRow',_0x3a9906[_0x3a9906[_0x20b963(0x2c9)]=0x26]=_0x20b963(0x2c9),_0x3a9906[_0x3a9906['DeleteRow']=0x27]='DeleteRow',_0x3a9906[_0x3a9906[_0x20b963(0x335)]=0x28]=_0x20b963(0x335),_0x3a9906[_0x3a9906['EditExtraObject']=0x29]=_0x20b963(0x2f4),_0x3a9906[_0x3a9906[_0x20b963(0x398)]=0x2a]='Delete',_0x3a9906[_0x3a9906[_0x20b963(0x1ff)]=0x2b]=_0x20b963(0x1ff),_0x3a9906[_0x3a9906[_0x20b963(0x30e)]=0x2c]=_0x20b963(0x30e),_0x3a9906[_0x3a9906['CreatePermissionObject']=0x2d]=_0x20b963(0x213),_0x3a9906[_0x3a9906[_0x20b963(0x247)]=-0x1]='UNRECOGNIZED',_0x3a9906))(D||{});function as(_0x58f518){const _0x1c6f44=_0x20b963;return!!(_0x58f518&&_0x58f518[_0x1c6f44(0x30c)]&&_0x58f518[_0x1c6f44(0x30c)]!==U['OK']&&_0x58f518[_0x1c6f44(0x30c)]!=='OK');}const re=(_0x578e80,_0x597c99)=>{const _0x498210=_0x20b963;if(!_0x578e80)return{'date':'','time':''};const _0x539b19=new Date(_0x578e80),_0x3eb03c=_0x539b19['toISOString']()[_0x498210(0x1f7)]('T')[0x0];switch(_0x597c99){case _0x2d2ccc['ZH_CN']:return{'date':J(_0x3eb03c,_0x597c99),'time':_0x539b19[_0x498210(0x22c)]()+':'+String(_0x539b19[_0x498210(0x3b9)]())['padStart'](0x2,'0')+':'+String(_0x539b19[_0x498210(0x3bf)]())['padStart'](0x2,'0')};default:return{'date':J(_0x3eb03c,_0x597c99),'time':_0x539b19['getHours']()+':'+_0x539b19[_0x498210(0x3b9)]()+':'+_0x539b19[_0x498210(0x3bf)]()};}},os=(_0x390b16,_0x3e3416)=>{const _0x21edcd=_0x20b963,_0x1b0133=_0x390b16[_0x21edcd(0x2eb)]||_0x3e3416['t'](_0x21edcd(0x250));if(_0x390b16[_0x21edcd(0x2db)][_0x21edcd(0x388)](_0x297c95=>_0x297c95===_0x4f44a3['id'])&&_0x390b16[_0x21edcd(0x1e9)]){const _0x255ad5=re(_0x390b16[_0x21edcd(0x1e9)],_0x3e3416[_0x21edcd(0x290)]()),_0x38dfaf=_0x255ad5[_0x21edcd(0x33f)]+'\x20'+_0x255ad5[_0x21edcd(0x395)];return _0x1b0133+'\x20'+_0x3e3416['t'](_0x21edcd(0x355))+'\x20'+_0x38dfaf+'\x20'+_0x3e3416['t'](_0x21edcd(0x325));}const _0x45cbcb=cs(_0x390b16),_0x2c384e=_0x45cbcb[_0x21edcd(0x3a7)]===0x1?_0x3e3416['t'](_0x45cbcb[0x0]):''+_0x3e3416['t'](_0x45cbcb[0x0])+_0x3e3416['t']('editHistory.action.etc');return _0x1b0133+'\x20'+_0x2c384e;};function cs(_0x1f7123){const _0x69103a=_0x20b963;if(_0x1f7123[_0x69103a(0x2db)][_0x69103a(0x3a7)]===0x0)return[''];const _0x1527fe=_0x69103a(0x270),_0x5952e8=_0x1527fe+'editSheet',_0xc5b965=[{'id':_0x446e39['id'],'action':_0x1527fe+_0x69103a(0x36e)},{'id':_0x4f44a3['id'],'action':_0x1527fe+'revertSheet'},{'id':_0x25555f['id'],'action':_0x1527fe+_0x69103a(0x217)},{'id':_0x45bf5e['id'],'action':_0x1527fe+_0x69103a(0x2f0)},{'id':_0x182f91['id'],'action':_0x1527fe+_0x69103a(0x28f)},{'id':_0x5c6777['id'],'action':_0x1527fe+_0x69103a(0x34d)},{'id':_0x2a935c['id'],'action':_0x1527fe+_0x69103a(0x272)},{'id':_0x18bc67['id'],'action':_0x1527fe+'setDV'},{'id':_0x4862df['id'],'action':_0x1527fe+_0x69103a(0x35f)},{'id':_0x1addb4['id'],'action':_0x1527fe+_0x69103a(0x35f)},{'id':_0x5a5941['id'],'action':_0x1527fe+'addProtection'},{'id':_0x4e95f8['id'],'action':_0x1527fe+_0x69103a(0x371)},{'id':_0xb5dd7['id'],'action':_0x1527fe+_0x69103a(0x2ec)},{'id':_0x1a25e2['id'],'action':_0x1527fe+'insertChart'},{'id':_0x18b9cb['id'],'action':_0x1527fe+_0x69103a(0x25d)},{'id':_0x500ee6['id'],'action':_0x1527fe+_0x69103a(0x25d)}]['filter'](_0x1ac285=>_0x1f7123[_0x69103a(0x2db)][_0x69103a(0x1e6)](_0x1ac285['id']));return _0xc5b965!=null&&_0xc5b965['length']?_0xc5b965[_0x69103a(0x310)](_0x1aeb75=>_0x1aeb75[_0x69103a(0x2c4)]):[_0x5952e8];}function J(_0x2ea6cb,_0x1f1205){const _0x114a9b=_0x20b963,[_0x4e3b69,_0x5182aa,_0x4c4448]=new Date()[_0x114a9b(0x284)]()[_0x114a9b(0x1f7)]('T')[0x0][_0x114a9b(0x1f7)]('-'),[_0x48cc29,_0x307d15,_0x5d50e8]=_0x2ea6cb[_0x114a9b(0x1f7)]('-'),_0x208d01=_0x4e3b69===_0x48cc29&&_0x5182aa===_0x307d15&&_0x4c4448===_0x5d50e8;let _0x1173c6='',_0x2947a1='',_0x5823bd='';switch(_0x1f1205){case _0x2d2ccc[_0x114a9b(0x254)]:return _0x208d01?'今天':(_0x1173c6=_0x4e3b69===_0x48cc29?'':_0x48cc29+'年',_0x2947a1=_0x307d15+'月',_0x5823bd=_0x5d50e8+'日',''+_0x1173c6+_0x2947a1+_0x5823bd);default:return _0x208d01?_0x114a9b(0x350):(_0x1173c6=_0x4e3b69===_0x48cc29?'':_0x48cc29+'-',_0x2947a1=_0x307d15+'-',_0x5823bd=''+_0x5d50e8,''+_0x1173c6+_0x2947a1+_0x5823bd);}}function _s(_0x5e4c89){const _0x2c9464=_0x20b963;return _0x5e4c89?_0x5e4c89[_0x2c9464(0x3af)]((_0x3bc093,_0x18e69f)=>{const _0x1f1893=_0x2c9464,_0x5103bd=new Date(_0x18e69f[_0x1f1893(0x395)])[_0x1f1893(0x284)]()[_0x1f1893(0x1f7)]('T')[0x0];return _0x3bc093[_0x1f1893(0x3a7)]>0x0&&_0x3bc093[_0x3bc093[_0x1f1893(0x3a7)]-0x1][_0x1f1893(0x2fe)]===_0x5103bd?_0x3bc093[_0x3bc093['length']-0x1]['versions'][_0x1f1893(0x379)](_0x18e69f):_0x3bc093[_0x1f1893(0x379)]({'dateString':_0x5103bd,'versions':[_0x18e69f]}),_0x3bc093;},[]):[];}var ls=Object['getOwnPropertyDescriptor'],us=(_0x18dae1,_0x38b8b4,_0x1367de,_0x49718c)=>{const _0x4b78b2=_0x20b963;for(var _0x19ec0d=_0x49718c>0x1?void 0x0:_0x49718c?ls(_0x38b8b4,_0x1367de):_0x38b8b4,_0x37b13e=_0x18dae1[_0x4b78b2(0x3a7)]-0x1,_0x3e7e47;_0x37b13e>=0x0;_0x37b13e--)(_0x3e7e47=_0x18dae1[_0x37b13e])&&(_0x19ec0d=_0x3e7e47(_0x19ec0d)||_0x19ec0d);return _0x19ec0d;},T=(_0x3bc462,_0x25253e)=>(_0x3a5acf,_0x41327d)=>_0x25253e(_0x3a5acf,_0x41327d,_0x3bc462),hs=(_0x16f3e5=>(_0x16f3e5[_0x16f3e5[_0x20b963(0x27a)]=0x0]=_0x20b963(0x27a),_0x16f3e5[_0x16f3e5[_0x20b963(0x316)]=0x1]=_0x20b963(0x316),_0x16f3e5[_0x16f3e5[_0x20b963(0x1e5)]=0x2]=_0x20b963(0x1e5),_0x16f3e5))(hs||{});const Is=_0x20b963(0x242);let F=class extends _0x335e49{constructor(_0xc3bbcc,_0x1ddd95,_0x54f73f,_0x357e7,_0x48a27e,_0x18bf12,_0x27f5ad){const _0x1bb778=_0x20b963;super(),l(this,_0x1bb778(0x327),new Map()),(this['_snapshotServerService']=_0xc3bbcc,this[_0x1bb778(0x36d)]=_0x1ddd95,this[_0x1bb778(0x28d)]=_0x54f73f,this[_0x1bb778(0x2ad)]=_0x357e7,this[_0x1bb778(0x2b9)]=_0x48a27e,this[_0x1bb778(0x24d)]=_0x18bf12,this[_0x1bb778(0x3ab)]=_0x27f5ad);}[_0x20b963(0x2c0)](){const _0x33d060=_0x20b963;this[_0x33d060(0x327)][_0x33d060(0x3bc)](),super['dispose']();}async[_0x20b963(0x308)](_0x1e024a){const _0x26e60e=_0x20b963;try{const _0x508879=(await this['_httpService'][_0x26e60e(0x311)](this['_getAPIPrefix']()+'/'+_0x1e024a+_0x26e60e(0x3bd)))['body'];if(_0x508879&&_0x508879[_0x26e60e(0x336)]&&_0x508879[_0x26e60e(0x336)][_0x26e60e(0x30c)]===U['OK'])return _0x508879['creators'];}catch(_0x1951cd){console[_0x26e60e(0x336)](_0x1951cd);}return[];}async['getVersions'](_0x397c73,_0x4d4222){const _0x45c89c=_0x20b963,{userIds:_0x51130f,lastLabel:_0x681578,origin:_0x2a45b1}=_0x4d4222!=null?_0x4d4222:{},_0x1b7cfd=new URLSearchParams();_0x1b7cfd[_0x45c89c(0x3a8)](_0x45c89c(0x3a7),'20'),_0x681578&&_0x1b7cfd[_0x45c89c(0x3a8)](_0x45c89c(0x26d),_0x681578),_0x51130f==null||_0x51130f[_0x45c89c(0x346)](_0x268f52=>{_0x1b7cfd['append']('userIds',_0x268f52);}),_0x2a45b1&&_0x1b7cfd[_0x45c89c(0x3a8)]('origin',_0x2a45b1['toString']());const _0x4ef565=this['_getAPIPrefix']()+'/'+_0x397c73+'/list?'+_0x1b7cfd[_0x45c89c(0x1f3)]();try{const _0x381599=(await this[_0x45c89c(0x2b9)][_0x45c89c(0x311)](_0x4ef565))[_0x45c89c(0x32a)];if(_0x381599&&_0x381599['error']&&_0x381599['error'][_0x45c89c(0x30c)]===U['OK']){const {hasMore:_0x2db453,lastLabel:_0x3566b7}=_0x381599,_0x3f5a90=ds(_0x381599),_0x121ca0=_0x381599[_0x45c89c(0x1fa)][_0x45c89c(0x386)];return{'hasMore':_0x2db453,'lastLabel':_0x3566b7,'versions':_0x3f5a90,'members':_0x121ca0};}}catch(_0x14b072){console[_0x45c89c(0x336)](_0x14b072);}return null;}[_0x20b963(0x349)](){const _0x4b9e5f=_0x20b963;var _0x52da02;const _0x4f4aff=this[_0x4b9e5f(0x2ad)]['getConfig'](ne);return(_0x52da02=_0x4f4aff==null?void 0x0:_0x4f4aff[_0x4b9e5f(0x2cd)])!=null?_0x52da02:Is;}async[_0x20b963(0x2b4)](_0x4df6c7,_0x3a511c,_0x2ca730){const _0x3143b0=_0x20b963;var _0x46a525,_0x574d11;_0x2ca730===void 0x0&&(_0x2ca730={}),this[_0x3143b0(0x327)]['has'](_0x4df6c7)||this[_0x3143b0(0x327)][_0x3143b0(0x3a8)](_0x4df6c7,new Map());const {snapshot:_0x408d4d,changesets:_0x144816,error:_0x34d430}=await this[_0x3143b0(0x212)]['getUnitOnRev'](_0x2ca730,{'unitID':_0x4df6c7,'type':H[_0x3143b0(0x2bc)],'revision':_0x3a511c});if(as(_0x34d430)||!_0x408d4d||!_0x408d4d['workbook'])throw new Error('[HistoryFetchService]:\x20request\x20snapshot\x20error!');const _0x1489ba=(_0x46a525=_0x144816==null?void 0x0:_0x144816['length'])!=null?_0x46a525:0x0;if(_0x3a511c!==0x0&&_0x408d4d[_0x3143b0(0x26f)]+_0x1489ba!==_0x3a511c)throw new Error(_0x3143b0(0x293));const {workbook:_0x30cfe9}=_0x408d4d,_0x565617=_0x30cfe9[_0x3143b0(0x31d)]?Object[_0x3143b0(0x258)](_0x30cfe9['blockMeta'])[_0x3143b0(0x310)](([_0x461a78,_0x345a1c])=>{const _0x170248=_0x3143b0;var _0x2cbd5b,_0x35679b;return(_0x35679b=(_0x2cbd5b=_0x345a1c[_0x170248(0x227)])==null?void 0x0:_0x2cbd5b[_0x170248(0x310)](_0x4c7a8e=>_0x4c7a8e))!=null?_0x35679b:[];})[_0x3143b0(0x1ea)]():[],_0x15e950=(await Promise[_0x3143b0(0x288)](_0x565617[_0x3143b0(0x310)](_0x55eeae=>this[_0x3143b0(0x212)][_0x3143b0(0x342)](_0x2ca730,{'unitID':_0x4df6c7,'type':H['UNIVER_SHEET'],'blockID':_0x55eeae})[_0x3143b0(0x275)](_0x6d30f5=>_0x6d30f5['block']))))['filter'](_0x441a68=>!!_0x441a68),_0x350b18=await _0x569e9a(_0x408d4d,_0x15e950,_0x2ca730);return(_0x574d11=this['_workbookDataCache'][_0x3143b0(0x311)](_0x4df6c7))==null||_0x574d11[_0x3143b0(0x3a8)](_0x3a511c,{'workbook':_0x350b18}),new Promise(_0x1ffcd1=>{const _0x1bfe33=_0x3143b0,_0x1fdf64=this[_0x1bfe33(0x36d)][_0x1bfe33(0x22f)](_0x5a4d89['UNIVER_SHEET']);_0x1fdf64?(this[_0x1bfe33(0x36d)][_0x1bfe33(0x30b)](_0x1fdf64[_0x1bfe33(0x220)]()),setTimeout(()=>{const _0x5aebf8=_0x1bfe33;this[_0x5aebf8(0x2ae)](_0x350b18,_0x144816),this['_sheetPermissionInitController']['refreshRangeProtectPermission'](),_0x1ffcd1(!0x0);},0x0)):(this[_0x1bfe33(0x2ae)](_0x350b18,_0x144816),_0x1ffcd1(!0x0));});}[_0x20b963(0x2ae)](_0x4b8a55,_0x5e6178){const _0x2ec657=_0x20b963,_0x303037=this['_univerInstanceService'][_0x2ec657(0x31f)](_0x5a4d89[_0x2ec657(0x2bc)],_0x4b8a55);this['_univerInstanceService'][_0x2ec657(0x365)](_0x303037[_0x2ec657(0x220)]());const _0x5d405e=this[_0x2ec657(0x24d)]['interceptor'][_0x2ec657(0x226)](this[_0x2ec657(0x24d)][_0x2ec657(0x1f5)][_0x2ec657(0x276)]()[_0x2ec657(0x2e1)]);return _0x5e6178==null||_0x5e6178[_0x2ec657(0x346)](_0x4f8920=>{const _0x2b2595=_0x2ec657,_0x2e2d91=_0x4f8920[_0x2b2595(0x24b)][_0x2b2595(0x310)](_0x2d6604=>({'id':_0x2d6604['id'],'params':JSON[_0x2b2595(0x267)](_0x2d6604[_0x2b2595(0x2e4)])}));({..._0x4f8920,'mutations':_0x5d405e(_0x2e2d91,null)||_0x2e2d91}[_0x2b2595(0x24b)][_0x2b2595(0x346)](_0x3a8447=>{const _0x3e0580=_0x2b2595;this['_commandService'][_0x3e0580(0x27d)](_0x3a8447['id'])&&this[_0x3e0580(0x28d)][_0x3e0580(0x2a0)](_0x3a8447['id'],_0x3a8447[_0x3e0580(0x348)]);}));}),_0x303037;}};F=us([T(0x0,_0xb4aaa1),T(0x1,_0x1b44f5),T(0x2,_0x4f896f),T(0x3,_0xecbe31),T(0x4,_0x32b387(_0x10c8b2)),T(0x5,_0x32b387(_0x4e2667)),T(0x6,_0x32b387(_0x5eb43e))],F);function ds(_0x51e0ab){const _0x529aaf=_0x20b963;var _0xadd5b3,_0x425f0f;const _0x5dd75c=[],{entities:_0x3f0aa1,historyIds:_0x44a093}=_0x51e0ab,{datas:_0x5b74d4,users:_0x29074c}=_0x3f0aa1;for(const _0x159dde of _0x44a093){const _0x1e89b8=_0x5b74d4[_0x159dde];if(_0x1e89b8){const _0x5d7d13=!!((_0xadd5b3=_0x29074c[_0x1e89b8[_0x529aaf(0x264)]])!=null&&_0xadd5b3[_0x529aaf(0x215)]);_0x5dd75c['push']({'unitId':_0x1e89b8['unitId'],'user':_0x5d7d13?'':((_0x425f0f=_0x29074c==null?void 0x0:_0x29074c[_0x1e89b8['userId']])==null?void 0x0:_0x425f0f['name'])||'','isAnonymous':_0x5d7d13,'id':_0x159dde,'time':_0x1e89b8[_0x529aaf(0x2bf)]?Number(_0x1e89b8[_0x529aaf(0x2bf)]):void 0x0,'commands':_0x1e89b8['command'],'startRev':Number(_0x1e89b8[_0x529aaf(0x1ec)]),'endRev':Number(_0x1e89b8[_0x529aaf(0x298)]),'recoverTime':_0x1e89b8[_0x529aaf(0x1e9)]?Number(_0x1e89b8['recoverTime']):void 0x0,'additionalFields':_0x1e89b8[_0x529aaf(0x300)]});}}return _0x5dd75c;}var vs=Object['getOwnPropertyDescriptor'],Es=(_0x37ef12,_0x27f560,_0x5877ff,_0x58b019)=>{const _0x29e853=_0x20b963;for(var _0x1957e7=_0x58b019>0x1?void 0x0:_0x58b019?vs(_0x27f560,_0x5877ff):_0x27f560,_0x5ce7bd=_0x37ef12[_0x29e853(0x3a7)]-0x1,_0x16ad9c;_0x5ce7bd>=0x0;_0x5ce7bd--)(_0x16ad9c=_0x37ef12[_0x5ce7bd])&&(_0x1957e7=_0x16ad9c(_0x1957e7)||_0x1957e7);return _0x1957e7;},V=(_0x4720c9,_0x2daacc)=>(_0x35da4c,_0x3230d7)=>_0x2daacc(_0x35da4c,_0x3230d7,_0x4720c9),ae=(_0x29b875=>(_0x29b875[_0x20b963(0x1ee)]=_0x20b963(0x375),_0x29b875[_0x20b963(0x381)]=_0x20b963(0x26e),_0x29b875['Error']=_0x20b963(0x336),_0x29b875))(ae||{}),C=(_0x275cfd=>(_0x275cfd[_0x20b963(0x1ed)]=_0x20b963(0x20b),_0x275cfd[_0x20b963(0x3c5)]='loading',_0x275cfd[_0x20b963(0x31a)]=_0x20b963(0x21a),_0x275cfd))(C||{});const Ss=_0x20b963(0x1eb);let g=class extends _0x335e49{constructor(_0x4299d1,_0x5624b6,_0x3921bc,_0x5bf868){const _0x31f2b8=_0x20b963;super(),l(this,_0x31f2b8(0x329),new _0x58c75c([])),l(this,_0x31f2b8(0x2ea),this['_versions$']['asObservable']()),l(this,_0x31f2b8(0x277),new _0x58c75c('')),l(this,_0x31f2b8(0x21c),this[_0x31f2b8(0x277)][_0x31f2b8(0x320)]()),l(this,_0x31f2b8(0x1f1),new _0x58c75c('entered')),l(this,_0x31f2b8(0x27c),this[_0x31f2b8(0x1f1)]['asObservable']()),l(this,_0x31f2b8(0x282),new _0x58c75c(0x0)),l(this,_0x31f2b8(0x1e3),this[_0x31f2b8(0x282)][_0x31f2b8(0x320)]()),l(this,_0x31f2b8(0x328),new _0x58c75c('')),l(this,'unitId$',this[_0x31f2b8(0x328)]['asObservable']()),l(this,'_fetching$',new _0x58c75c(!0x1)),l(this,_0x31f2b8(0x2a2),this['_fetching$'][_0x31f2b8(0x320)]()),l(this,_0x31f2b8(0x2d0),new _0x58c75c([])),l(this,_0x31f2b8(0x353),this['_creators$'][_0x31f2b8(0x320)]()),l(this,'_loadingState$',new _0x58c75c(_0x31f2b8(0x20b))),l(this,_0x31f2b8(0x2c1),this['_loadingState$'][_0x31f2b8(0x320)]()),l(this,'_lastLabel',null),l(this,_0x31f2b8(0x32e),!0x0),l(this,_0x31f2b8(0x1fc),new Map()),l(this,'_historyContainerId'),l(this,_0x31f2b8(0x399)),l(this,_0x31f2b8(0x39c)),l(this,_0x31f2b8(0x3a3),!0x1),l(this,_0x31f2b8(0x243),null),(this[_0x31f2b8(0x285)]=_0x4299d1,this[_0x31f2b8(0x369)]=_0x5624b6,this[_0x31f2b8(0x330)]=_0x3921bc,this[_0x31f2b8(0x313)]=_0x5bf868);}['_setFetching'](_0x943ed4){const _0x2778c4=_0x20b963;this[_0x2778c4(0x315)][_0x2778c4(0x222)](_0x943ed4);}get['fetching'](){const _0x33f976=_0x20b963;return this[_0x33f976(0x315)][_0x33f976(0x2f7)];}async['triggerLoadVersions'](_0x152cee,_0x2d17a4,_0x3c16c7){const _0x217c40=_0x20b963;this[_0x217c40(0x34f)]=_0x2d17a4,this[_0x217c40(0x3a3)]=_0x3c16c7,await this[_0x217c40(0x21b)](_0x152cee);}async[_0x20b963(0x21b)](_0x4b356d,_0x2f33bb){const _0xdfeca0=_0x20b963;this[_0xdfeca0(0x328)][_0xdfeca0(0x222)](_0x4b356d),this[_0xdfeca0(0x243)]=_0x2f33bb!=null?_0x2f33bb:null,this['_setFetching'](!0x0);const _0xc2beae=await this[_0xdfeca0(0x313)][_0xdfeca0(0x3ba)](_0x4b356d,_0x2f33bb);if(this['_setFetching'](!0x1),_0xc2beae){const {versions:_0x2c18b3,lastLabel:_0x52bccf,hasMore:_0x5e68d6,members:_0x5b6c4d}=_0xc2beae;_0x2c18b3[_0xdfeca0(0x3a7)]===0x0&&_0x2c18b3[_0xdfeca0(0x379)]({'unitId':_0x4b356d,'id':Ss,'startRev':0x1,'endRev':0x0,'time':Date[_0xdfeca0(0x35b)](),'user':this[_0xdfeca0(0x330)]['t'](_0xdfeca0(0x251)),'commands':[],'isAnonymous':!0x1}),this[_0xdfeca0(0x31c)](_0x2c18b3,_0x5e68d6,_0x52bccf,!0x1,_0x5b6c4d),this[_0xdfeca0(0x277)]['next'](_0x2c18b3[0x0]['id']);}else this[_0xdfeca0(0x1f1)][_0xdfeca0(0x222)]('error');}async['loadMoreVersions'](){const _0x55f365=_0x20b963;if(!this[_0x55f365(0x380)]||!this[_0x55f365(0x32e)]||this[_0x55f365(0x3ac)])return!0x1;this[_0x55f365(0x23d)](!0x0);const _0x327f1f=await this[_0x55f365(0x313)]['getVersions'](this['unitId'],{'lastLabel':this[_0x55f365(0x380)],...this[_0x55f365(0x243)]});if(this[_0x55f365(0x23d)](!0x1),_0x327f1f){const {versions:_0x2e5bf7,lastLabel:_0x2f47f3,hasMore:_0x377764,members:_0x51f938}=_0x327f1f;this[_0x55f365(0x31c)](_0x2e5bf7,_0x377764,_0x2f47f3,!0x0,_0x51f938);}else this[_0x55f365(0x285)][_0x55f365(0x2f8)]({'content':this[_0x55f365(0x330)]['t'](_0x55f365(0x230)),'type':_0x244639['Error'],'duration':0xbb8});return!0x0;}async[_0x20b963(0x269)](){const _0x379fc0=_0x20b963,{unitId:_0x1000d1}=this;if(!_0x1000d1)return;const _0x346012=await this[_0x379fc0(0x313)]['fetchCreatorList'](_0x1000d1);_0x346012&&this[_0x379fc0(0x2d0)][_0x379fc0(0x222)](_0x346012);}async['triggerLoadSheet'](_0x11c4cb){const _0x16fe94=_0x20b963;var _0x50eefb;const _0x32acec=(_0x50eefb=this[_0x16fe94(0x329)][_0x16fe94(0x2f7)])==null?void 0x0:_0x50eefb[_0x16fe94(0x23e)](_0x1e62b2=>_0x1e62b2['id']===_0x11c4cb),{endRev:_0x27710e}=_0x32acec||{};_0x27710e||_0x27710e===0x0?(this['_loadingState$'][_0x16fe94(0x222)](_0x16fe94(0x37c)),await this[_0x16fe94(0x313)]['loadSheet'](this[_0x16fe94(0x2cc)],_0x27710e),this[_0x16fe94(0x360)][_0x16fe94(0x222)]('loaded')):this[_0x16fe94(0x1f1)][_0x16fe94(0x222)]('error');}async['triggerRevert'](_0x5c3521){const _0x5d89cf=_0x20b963,_0x598229=_0x5c3521?this[_0x5d89cf(0x2e8)](_0x5c3521):this[_0x5d89cf(0x256)]();if(!_0x598229)return;const _0x98e5a6=_0x598229[_0x5d89cf(0x24e)],_0x3f06d2=re(_0x598229['time'],this[_0x5d89cf(0x330)]['getCurrentLocale']());await this[_0x5d89cf(0x369)][_0x5d89cf(0x30f)]({'id':'confirm-revert-revision','title':{'title':this[_0x5d89cf(0x330)]['t']('editHistory.panel.revertConfirm')},'children':{'title':this[_0x5d89cf(0x330)]['t'](_0x5d89cf(0x240))+_0x5d89cf(0x38f)+_0x3f06d2['date']+'\x20'+_0x3f06d2[_0x5d89cf(0x395)]+')'},'cancelText':this[_0x5d89cf(0x330)]['t']('editHistory.panel.cancel'),'confirmText':this[_0x5d89cf(0x330)]['t'](_0x5d89cf(0x24a))})&&this[_0x5d89cf(0x282)][_0x5d89cf(0x222)](_0x98e5a6);}[_0x20b963(0x31c)](_0x1b97ef,_0x2dd7a9,_0x43fa0,_0x578938,_0x45a8d4){const _0x47ba84=_0x20b963;this[_0x47ba84(0x2a7)](_0x578938?this['_versions$']['value'][_0x47ba84(0x1e7)](_0x1b97ef):_0x1b97ef),this[_0x47ba84(0x32e)]=_0x2dd7a9,this[_0x47ba84(0x380)]=_0x43fa0,_0x45a8d4&&Object[_0x47ba84(0x34e)](_0x45a8d4)[_0x47ba84(0x346)](_0x519635=>this[_0x47ba84(0x1fc)][_0x47ba84(0x3a8)](_0x519635,_0x45a8d4[_0x519635]));}['getCurrentVersion'](){const _0x4e8be9=_0x20b963;return this['getVersion'](this['_currentVersion$'][_0x4e8be9(0x2f7)]);}[_0x20b963(0x2a7)](_0x1dfc91){const _0x24845e=_0x20b963;this['_versions$'][_0x24845e(0x222)](_0x1dfc91);}[_0x20b963(0x2e8)](_0x31d37a){const _0x368ad6=_0x20b963;var _0x426abc;return(_0x426abc=this['_versions$'][_0x368ad6(0x2f7)])==null?void 0x0:_0x426abc[_0x368ad6(0x23e)](_0x5353d0=>_0x5353d0['id']===_0x31d37a);}['getMember'](_0x5b810f){return this['_members']['get'](_0x5b810f);}[_0x20b963(0x37f)](){const _0x5f362a=_0x20b963;this[_0x5f362a(0x39c)]=document[_0x5f362a(0x2ab)](_0x5f362a(0x3a2)),this['_maskElement'][_0x5f362a(0x363)]=_0x5f362a(0x312),this[_0x5f362a(0x39c)][_0x5f362a(0x318)][_0x5f362a(0x321)]=_0x5f362a(0x37a),this[_0x5f362a(0x39c)]['style']['top']='0',this[_0x5f362a(0x39c)][_0x5f362a(0x318)][_0x5f362a(0x2cf)]='0',this[_0x5f362a(0x39c)]['style'][_0x5f362a(0x2f6)]=_0x5f362a(0x3a9),this[_0x5f362a(0x39c)][_0x5f362a(0x318)]['height']=_0x5f362a(0x3a9),this[_0x5f362a(0x39c)][_0x5f362a(0x318)][_0x5f362a(0x2c8)]=_0x5f362a(0x238),this[_0x5f362a(0x39c)]['style']['color']=_0x5f362a(0x37d),this[_0x5f362a(0x39c)][_0x5f362a(0x318)][_0x5f362a(0x223)]=_0x5f362a(0x29a),this[_0x5f362a(0x39c)]['style'][_0x5f362a(0x265)]=_0x5f362a(0x236),this[_0x5f362a(0x39c)][_0x5f362a(0x318)][_0x5f362a(0x21f)]=_0x5f362a(0x205),this[_0x5f362a(0x39c)][_0x5f362a(0x318)][_0x5f362a(0x223)]=_0x5f362a(0x2ba),this[_0x5f362a(0x399)][_0x5f362a(0x271)](this[_0x5f362a(0x39c)]);}[_0x20b963(0x211)](){const _0x17fee7=_0x20b963;var _0x4af319;const _0x3762a7=(_0x4af319=document[_0x17fee7(0x2b3)](this['_historyContainerId']))==null?void 0x0:_0x4af319['querySelector']('.univer-app-container-content');_0x3762a7&&(this['_maskContainer']=_0x3762a7,this[_0x17fee7(0x37f)]());}[_0x20b963(0x23f)](){const _0x3551d4=_0x20b963;this[_0x3551d4(0x399)]||this[_0x3551d4(0x211)](),this[_0x3551d4(0x39c)]&&(this['_maskElement'][_0x3551d4(0x318)]['display']='flex');}[_0x20b963(0x3b3)](){const _0x31f16c=_0x20b963;this[_0x31f16c(0x39c)]&&(this[_0x31f16c(0x39c)][_0x31f16c(0x318)][_0x31f16c(0x223)]=_0x31f16c(0x2ba));}set[_0x20b963(0x2f3)](_0x1ea050){const _0x3d9a9f=_0x20b963;this[_0x3d9a9f(0x1f1)]['next'](_0x1ea050);}set[_0x20b963(0x20f)](_0x416520){const _0x1ab754=_0x20b963;_0x416520!==this[_0x1ab754(0x277)]['value']&&this['_currentVersion$'][_0x1ab754(0x222)](_0x416520);}get[_0x20b963(0x20f)](){const _0x328147=_0x20b963;return this[_0x328147(0x277)][_0x328147(0x2f7)];}set[_0x20b963(0x2cc)](_0x538354){const _0x32ca8e=_0x20b963;this[_0x32ca8e(0x328)][_0x32ca8e(0x222)](_0x538354);}get[_0x20b963(0x2cc)](){const _0x49bca6=_0x20b963;return this[_0x49bca6(0x328)][_0x49bca6(0x2f7)];}get['canRevert'](){return this['_canRevert'];}get[_0x20b963(0x352)](){const _0x5f5708=_0x20b963;return this[_0x5f5708(0x360)][_0x5f5708(0x2f7)];}};g=Es([V(0x0,_0xd6d59a),V(0x1,_0x4349cb),V(0x2,_0x32b387(_0x1f194f)),V(0x3,_0x32b387(F))],g);function j({ref:_0x52ed57,..._0x45f06c}){const _0x309995=_0x20b963,{icon:_0x3328cb,id:_0x786926,className:_0x1398ed,extend:_0x2b3160,..._0x5a5e26}=_0x45f06c,_0x5bc958=(_0x309995(0x257)+_0x786926+'\x20'+(_0x1398ed||''))[_0x309995(0x376)](),_0x3b9233=_0x485364('_'+gs());return Le(_0x3328cb,''+_0x786926,{'defIds':_0x3328cb['defIds'],'idSuffix':_0x3b9233['current']},{'ref':_0x52ed57,'className':_0x5bc958,..._0x5a5e26},_0x2b3160);}function Le(_0x408a37,_0x225562,_0x4f5610,_0x41427f,_0x1df6a4){const _0xe16493=_0x20b963;return _0x4ccb3d(_0x408a37[_0xe16493(0x2cb)],{'key':_0x225562,...ms(_0x408a37,_0x4f5610,_0x1df6a4),..._0x41427f},(fs(_0x408a37,_0x4f5610)[_0xe16493(0x26c)]||[])[_0xe16493(0x310)]((_0x2e3476,_0x46c528)=>Le(_0x2e3476,_0x225562+'-'+_0x408a37[_0xe16493(0x2cb)]+'-'+_0x46c528,_0x4f5610,void 0x0,_0x1df6a4)));}function ms(_0x1a085f,_0x3ce8d3,_0x3a573a){const _0x56d3cd=_0x20b963,_0x377a34={..._0x1a085f['attrs']};_0x3a573a!=null&&_0x3a573a[_0x56d3cd(0x1fe)]&&_0x377a34['fill']==='colorChannel1'&&(_0x377a34['fill']=_0x3a573a[_0x56d3cd(0x1fe)]),_0x1a085f[_0x56d3cd(0x2cb)]===_0x56d3cd(0x2de)&&_0x377a34['id']&&(_0x377a34['id']=_0x377a34['id']+_0x3ce8d3[_0x56d3cd(0x384)]),Object[_0x56d3cd(0x258)](_0x377a34)['forEach'](([_0x375bb4,_0x4ff33d])=>{const _0x400b4c=_0x56d3cd;_0x375bb4===_0x400b4c(0x2de)&&typeof _0x4ff33d=='string'&&(_0x377a34[_0x375bb4]=_0x4ff33d[_0x400b4c(0x263)](/url\(#(.*)\)/,_0x400b4c(0x25c)+_0x3ce8d3[_0x400b4c(0x384)]+')'));});const {defIds:_0x42e38b}=_0x3ce8d3;return!_0x42e38b||_0x42e38b[_0x56d3cd(0x3a7)]===0x0||(_0x1a085f[_0x56d3cd(0x2cb)]===_0x56d3cd(0x36b)&&_0x377a34[_0x56d3cd(0x33d)]&&(_0x377a34[_0x56d3cd(0x33d)]=_0x377a34[_0x56d3cd(0x33d)]+_0x3ce8d3[_0x56d3cd(0x384)]),Object[_0x56d3cd(0x258)](_0x377a34)[_0x56d3cd(0x346)](([_0x6b0e4c,_0x24e946])=>{const _0x26aa62=_0x56d3cd;typeof _0x24e946==_0x26aa62(0x38c)&&(_0x377a34[_0x6b0e4c]=_0x24e946['replace'](/url\(#(.*)\)/,'url(#$1'+_0x3ce8d3[_0x26aa62(0x384)]+')'));})),_0x377a34;}function fs(_0x4f7674,_0xf0578f){const _0x56ede5=_0x20b963;var _0x143161;const {defIds:_0x917296}=_0xf0578f;return!_0x917296||_0x917296[_0x56ede5(0x3a7)]===0x0?_0x4f7674:_0x4f7674['tag']===_0x56ede5(0x2e3)&&((_0x143161=_0x4f7674[_0x56ede5(0x26c)])!=null&&_0x143161['length'])?{..._0x4f7674,'children':_0x4f7674[_0x56ede5(0x26c)][_0x56ede5(0x310)](_0x43de4a=>typeof _0x43de4a['attrs']['id']==_0x56ede5(0x38c)&&_0x917296&&_0x917296[_0x56ede5(0x1e6)](_0x43de4a[_0x56ede5(0x362)]['id'])?{..._0x43de4a,'attrs':{..._0x43de4a['attrs'],'id':_0x43de4a[_0x56ede5(0x362)]['id']+_0xf0578f[_0x56ede5(0x384)]}}:_0x43de4a)}:_0x4f7674;}function gs(){const _0x4c64da=_0x20b963;return Math[_0x4c64da(0x208)]()[_0x4c64da(0x1f3)](0x24)[_0x4c64da(0x306)](0x2,0x8);}j[_0x20b963(0x232)]='UniverIcon';const ps={'tag':'svg','attrs':{'xmlns':_0x20b963(0x340),'fill':_0x20b963(0x2ba),'viewBox':_0x20b963(0x391),'width':_0x20b963(0x356),'height':_0x20b963(0x356)},'children':[{'tag':_0x20b963(0x38e),'attrs':{'fill':_0x20b963(0x1f0),'d':'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'}}]},Ce=_0x261329(function(_0x1f1f37,_0x2b11b8){const _0x57700e=_0x20b963;return _0x4ccb3d(j,Object[_0x57700e(0x358)]({},_0x1f1f37,{'id':_0x57700e(0x303),'ref':_0x2b11b8,'icon':ps}));});Ce[_0x20b963(0x232)]=_0x20b963(0x221);const Ns={'tag':_0x20b963(0x261),'attrs':{'xmlns':_0x20b963(0x340),'fill':_0x20b963(0x2ba),'viewBox':_0x20b963(0x319),'width':_0x20b963(0x356),'height':_0x20b963(0x356)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x20b963(0x3c2)},'children':[{'tag':_0x20b963(0x38e),'attrs':{'d':_0x20b963(0x2da)}},{'tag':_0x20b963(0x38e),'attrs':{'d':_0x20b963(0x373),'fillRule':_0x20b963(0x3ad),'clipRule':_0x20b963(0x3ad)}}]},{'tag':_0x20b963(0x2e3),'attrs':{},'children':[{'tag':_0x20b963(0x20c),'attrs':{'id':_0x20b963(0x237)},'children':[{'tag':_0x20b963(0x36f),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x20b963(0x37d),'rx':0x4}}]}]}],'defIds':[_0x20b963(0x237)]},ye=_0x261329(function(_0x106734,_0x351350){const _0x56da53=_0x20b963;return _0x4ccb3d(j,Object[_0x56da53(0x358)]({},_0x106734,{'id':_0x56da53(0x35e),'ref':_0x351350,'icon':Ns}));});ye['displayName']='RestoreIcon';const Os={'tag':'svg','attrs':{'xmlns':_0x20b963(0x340),'fill':'none','viewBox':_0x20b963(0x391),'width':_0x20b963(0x356),'height':'1em'},'children':[{'tag':_0x20b963(0x38e),'attrs':{'fill':_0x20b963(0x20e),'d':'M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','fillOpacity':0.2,'fillRule':_0x20b963(0x3ad),'clipRule':_0x20b963(0x3ad)}},{'tag':_0x20b963(0x38e),'attrs':{'fill':_0x20b963(0x20e),'d':_0x20b963(0x210),'fillRule':_0x20b963(0x3ad),'clipRule':'evenodd'}}]},oe=_0x261329(function(_0x56c237,_0x32f4cf){const _0x3d0edd=_0x20b963;return _0x4ccb3d(j,Object[_0x3d0edd(0x358)]({},_0x56c237,{'id':_0x3d0edd(0x2b6),'ref':_0x32f4cf,'icon':Os}));});oe[_0x20b963(0x232)]=_0x20b963(0x36a);function Rs(){const _0x20c922=_0x20b963;var _0x4ceb7e;const _0x4f07b8=_0xbfac3(g),_0x6ab12a=_0xbfac3(_0x1f194f),_0x22ba87=_0x50af04(()=>{const _0xb266e1=_0x1398;_0x4f07b8[_0xb266e1(0x2f3)]=ae[_0xb266e1(0x381)];},[_0x4f07b8]),_0x541561=_0x50af04(()=>{const _0x2658dc=_0x1398;_0x4f07b8[_0x2658dc(0x235)]();},[_0x4f07b8]),_0x396ab5=_0x411433(_0x4f07b8['currentVersion$']),_0x59dd34=_0x411433(_0x4f07b8[_0x20c922(0x2ea)]),_0x54111f=_0x396ab5===((_0x4ceb7e=_0x59dd34==null?void 0x0:_0x59dd34[0x0])==null?void 0x0:_0x4ceb7e['id']),_0xa42899=_0x396ab5!==''&&!_0x54111f&&_0x4f07b8['canRevert'];return _0xc6cf4a('div',{'className':_0x163ca0('univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center',_0xf897d0),'children':[_0x5c2086('a',{'className':_0x20c922(0x22e),'role':'button','onClick':_0x22ba87,'children':_0x5c2086(Ce,{'className':'univer-text-2xl\x20dark:!univer-text-white'})}),_0x5c2086('div',{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','children':_0xa42899&&_0x5c2086(_0x1e0b3d,{'variant':'primary','onClick':_0x541561,'children':_0x6ab12a['t'](_0x20c922(0x2ac))})})]});}var Ts=Object['getOwnPropertyDescriptor'],Ds=(_0x28575f,_0x3b5910,_0x3ea7b6,_0x3db3e2)=>{const _0x4d6489=_0x20b963;for(var _0x2f42a0=_0x3db3e2>0x1?void 0x0:_0x3db3e2?Ts(_0x3b5910,_0x3ea7b6):_0x3b5910,_0x51621a=_0x28575f[_0x4d6489(0x3a7)]-0x1,_0x2bd358;_0x51621a>=0x0;_0x51621a--)(_0x2bd358=_0x28575f[_0x51621a])&&(_0x2f42a0=_0x2bd358(_0x2f42a0)||_0x2f42a0);return _0x2f42a0;},M=(_0x344324,_0x399099)=>(_0x39eb47,_0x5d087c)=>_0x399099(_0x39eb47,_0x5d087c,_0x344324);let Y=class extends _0x335e49{constructor(_0x5e1f08,_0x147e34,_0x39a9e0,_0x3f07b2,_0x510176,_0x3a6319){const _0x49b7e0=_0x20b963;super(),this['_permissionService']=_0x5e1f08,this[_0x49b7e0(0x396)]=_0x147e34,this[_0x49b7e0(0x285)]=_0x39a9e0,this[_0x49b7e0(0x330)]=_0x3f07b2,this[_0x49b7e0(0x2b5)]=_0x510176,this[_0x49b7e0(0x20d)]=_0x3a6319,this[_0x49b7e0(0x394)]();}[_0x20b963(0x394)](){const _0x46d22f=_0x20b963;this[_0x46d22f(0x37b)](this[_0x46d22f(0x2b5)][_0x46d22f(0x21c)][_0x46d22f(0x29f)](_0x4860c1=>{const _0x52bbcb=_0x46d22f;_0x4860c1&&this[_0x52bbcb(0x2b5)]['triggerLoadSheet'](_0x4860c1);})),this[_0x46d22f(0x37b)](this[_0x46d22f(0x2f2)][_0x46d22f(0x1ef)][_0x46d22f(0x29f)](_0x945e35=>{const _0x75044f=_0x46d22f,_0x2a1208=this[_0x75044f(0x2b5)][_0x75044f(0x2cc)];_0x2a1208&&(_0x945e35[_0x75044f(0x393)]===D[_0x75044f(0x32b)]&&_0x945e35[_0x75044f(0x2f7)]===!0x0&&this[_0x75044f(0x2f2)][_0x75044f(0x2e9)](new _0x51a07b(_0x2a1208)['id'],!0x1),_0x945e35[_0x75044f(0x393)]===D['RenameSheet']&&_0x945e35[_0x75044f(0x2f7)]===!0x0&&this[_0x75044f(0x2f2)]['updatePermissionPoint'](new _0x3b34ab(_0x2a1208)['id'],!0x1),_0x945e35[_0x75044f(0x393)]===D[_0x75044f(0x28a)]&&_0x945e35['value']===!0x0&&this[_0x75044f(0x2f2)][_0x75044f(0x2e9)](new _0x222087(_0x2a1208)['id'],!0x1),_0x945e35[_0x75044f(0x393)]===D[_0x75044f(0x354)]&&_0x945e35[_0x75044f(0x2f7)]===!0x0&&this[_0x75044f(0x2f2)]['updatePermissionPoint'](new _0x1aa5c0(_0x2a1208)['id'],!0x1),_0x945e35[_0x75044f(0x393)]===D['Comment']&&_0x945e35[_0x75044f(0x2f7)]===!0x0&&this[_0x75044f(0x2f2)][_0x75044f(0x2e9)](new _0x51a07b(_0x2a1208)['id'],!0x1),_0x945e35['subType']===D[_0x75044f(0x21e)]&&_0x945e35['value']===!0x0&&this[_0x75044f(0x2f2)][_0x75044f(0x2e9)](new _0x51a07b(_0x2a1208)['id'],!0x1));})),this[_0x46d22f(0x37b)](this[_0x46d22f(0x396)][_0x46d22f(0x299)](_0x19f82c[_0x46d22f(0x3ae)],()=>_0x45ad06(Rs,this[_0x46d22f(0x20d)])));let _0x72bb75;this[_0x46d22f(0x37b)](this['_historyManagerService']['loadingState$'][_0x46d22f(0x29f)](_0x4a894e=>{const _0x33d75f=_0x46d22f;_0x72bb75==null||_0x72bb75[_0x33d75f(0x2c0)](),_0x4a894e===C[_0x33d75f(0x3c5)]&&(this['_historyManagerService'][_0x33d75f(0x23f)](),_0x72bb75=this['_messageService']['show']({'type':_0x244639[_0x33d75f(0x323)],'content':this[_0x33d75f(0x330)]['t'](_0x33d75f(0x3b4))})),_0x4a894e===C['Loaded']&&this[_0x33d75f(0x2b5)][_0x33d75f(0x3b3)]();}));}};Y=Ds([M(0x0,_0x5d7d32),M(0x1,_0x5beb66),M(0x2,_0xd6d59a),M(0x3,_0x32b387(_0x1f194f)),M(0x4,_0x32b387(g)),M(0x5,_0x32b387(_0x422ac9))],Y);var Ms=Object[_0x20b963(0x241)],Ps=(_0x901b64,_0x1ce1d7,_0xc422ac,_0x3fadcd)=>{const _0x1b5bad=_0x20b963;for(var _0x37d3a7=_0x3fadcd>0x1?void 0x0:_0x3fadcd?Ms(_0x1ce1d7,_0xc422ac):_0x1ce1d7,_0x240c69=_0x901b64[_0x1b5bad(0x3a7)]-0x1,_0x4c4baf;_0x240c69>=0x0;_0x240c69--)(_0x4c4baf=_0x901b64[_0x240c69])&&(_0x37d3a7=_0x4c4baf(_0x37d3a7)||_0x37d3a7);return _0x37d3a7;},Z=(_0x18d5cb,_0x1245cb)=>(_0x4f7817,_0x1c1a64)=>_0x1245cb(_0x4f7817,_0x1c1a64,_0x18d5cb);let $=class extends _0x335e49{constructor(_0x74f939,_0x2bdb56,_0x1a2856){const _0x38cc82=_0x20b963;super(),l(this,_0x38cc82(0x366),new Map()),l(this,'_currentVersionDiff$',new _0x58c75c({'ranges':new Map(),'active':null})),l(this,_0x38cc82(0x31e),this['_currentVersionDiff$']['asObservable']()),(this[_0x38cc82(0x2b5)]=_0x74f939,this[_0x38cc82(0x224)]=_0x2bdb56,this[_0x38cc82(0x212)]=_0x1a2856,this[_0x38cc82(0x394)]());}['_init'](){const _0x1d2619=_0x20b963;this[_0x1d2619(0x366)]=new Map(),this[_0x1d2619(0x37b)](this[_0x1d2619(0x2b5)]['unitId$']['subscribe'](_0x5f3c48=>{const _0x4a1de7=_0x1d2619;_0x5f3c48&&!this[_0x4a1de7(0x366)][_0x4a1de7(0x387)](_0x5f3c48)&&this[_0x4a1de7(0x366)]['set'](_0x5f3c48,new Map());})),this[_0x1d2619(0x37b)](this[_0x1d2619(0x2b5)]['currentVersion$']['subscribe'](async _0x43ec62=>{const _0x554d72=_0x1d2619;var _0x13586e;_0x43ec62&&(await this[_0x554d72(0x2b1)](_0x43ec62),this['_currentVersionDiff$']['next'](((_0x13586e=this[_0x554d72(0x366)]['get'](this[_0x554d72(0x2b5)][_0x554d72(0x2cc)]))==null?void 0x0:_0x13586e['get'](_0x43ec62))||{'ranges':new Map(),'active':null}));}));}async[_0x20b963(0x2b1)](_0x2c962c){const _0x46a988=_0x20b963;var _0x23100b,_0xa57db6;const _0x131280=this[_0x46a988(0x2b5)][_0x46a988(0x2e8)](_0x2c962c),_0x3b4342=this[_0x46a988(0x2b5)]['unitId'];if(!_0x131280||!_0x3b4342)return;const _0x11f67f=this[_0x46a988(0x366)]['get'](_0x3b4342);if(_0x11f67f||this['_diffRangesMap'][_0x46a988(0x3a8)](_0x3b4342,new Map()),(_0x23100b=this[_0x46a988(0x366)][_0x46a988(0x311)](_0x3b4342))!=null&&_0x23100b[_0x46a988(0x387)](_0x131280['id']))return;const {startRev:_0x530c9e,endRev:_0x25818b}=_0x131280;if(_0x530c9e===0x1){_0x11f67f[_0x46a988(0x3a8)](_0x131280['id'],{'ranges':new Map(),'active':null});return;}const _0x3762a1=_0x530c9e-0x1,_0x245cdc=_0x25818b,_0x224ad0=await this[_0x46a988(0x212)]['fetchMissingChangesets']({},{'unitID':_0x3b4342,'from':_0x3762a1,'to':_0x245cdc,'type':H[_0x46a988(0x2bc)]});if(((_0xa57db6=_0x224ad0[_0x46a988(0x336)])==null?void 0x0:_0xa57db6[_0x46a988(0x30c)])===U['OK']){const _0x4deaee=_0x224ad0[_0x46a988(0x229)][_0x46a988(0x310)](_0x4db714=>((_0x4db714['mutations']===null||_0x4db714[_0x46a988(0x24b)]===void 0x0)&&(_0x4db714[_0x46a988(0x24b)]=[]),_0x4d396b(_0x4db714)))[_0x46a988(0x310)](_0x1f6cf1=>_0x1f6cf1[_0x46a988(0x24b)][_0x46a988(0x310)](_0x267726=>({..._0x267726,'params':{..._0x267726['params'],'memberId':_0x1f6cf1[_0x46a988(0x3c4)]}})))[_0x46a988(0x1ea)](),_0x4ccc7=await this[_0x46a988(0x280)](_0x4deaee),_0xd1ff36=this[_0x46a988(0x357)](_0x4deaee),_0x29b6db=this[_0x46a988(0x3c1)](_0x4ccc7);_0x11f67f['set'](_0x131280['id'],{'ranges':_0x29b6db,'active':_0xd1ff36});}}async[_0x20b963(0x280)](_0x422979){const _0x545a01=_0x20b963;let _0x3979f1=[];for(let _0x175869=0x0;_0x175869<_0x422979[_0x545a01(0x3a7)];_0x175869++){const _0x22ae32=_0x422979[_0x175869];if(_0x3979f1['push'](_0x22ae32),_0x175869!==_0x422979[_0x545a01(0x3a7)]-0x1){const _0x3587a0=_0x422979[_0x175869+0x1],_0x1a6612=this[_0x545a01(0x224)][_0x545a01(0x28b)](_0x3979f1,[_0x3587a0]);_0x218689(_0x1a6612)?_0x3979f1=_0x1a6612[_0x545a01(0x397)]:_0x3979f1=[];}_0x175869%0xa===0x0&&_0x175869>0x0&&await this[_0x545a01(0x33c)]();}return _0x3979f1;}[_0x20b963(0x33c)](){return new Promise(_0x5bcdf6=>{const _0x47d3bc=_0x1398;typeof requestIdleCallback==_0x47d3bc(0x218)?requestIdleCallback(()=>_0x5bcdf6(),{'timeout':0x64}):setTimeout(_0x5bcdf6,0x0);});}[_0x20b963(0x357)](_0x3f9289){const _0x49472f=_0x20b963;let _0x4815fe=[];return _0x3f9289[_0x49472f(0x346)](_0x1f7597=>{const _0x52070f=_0x49472f;if(_0x1f7597['id']===_0x25555f['id']){const _0x35d900=_0x1f7597[_0x52070f(0x348)];_0x4815fe[_0x52070f(0x379)](_0x35d900['sheet']['id']);}else{if(_0x1f7597['id']===_0x45bf5e['id']){const _0x4cdc88=_0x1f7597['params'];_0x4815fe[_0x52070f(0x3a7)]>0x0&&(_0x4815fe=_0x4815fe[_0x52070f(0x286)](_0x558102=>_0x558102!==_0x4cdc88['subUnitId']));}else{if(_0x1f7597['id']===_0x1beebd['id']){const _0x51abcc=_0x1f7597[_0x52070f(0x348)];_0x51abcc[_0x52070f(0x3b5)]?_0x4815fe=_0x4815fe[_0x52070f(0x286)](_0x51f932=>_0x51f932!==_0x51abcc['subUnitId']):_0x4815fe[_0x52070f(0x379)](_0x51abcc[_0x52070f(0x207)]);}else{const _0x213cd7=_0x1f7597[_0x52070f(0x348)];_0x213cd7[_0x52070f(0x207)]&&_0x4815fe[_0x52070f(0x379)](_0x213cd7[_0x52070f(0x207)]);}}}}),_0x4815fe[_0x49472f(0x3a7)]>0x0?_0x4815fe[_0x4815fe[_0x49472f(0x3a7)]-0x1]:null;}['_extractRanges'](_0x2452e8){const _0x5a19ae=_0x20b963,_0x534484=new Map();return _0x2452e8[_0x5a19ae(0x346)](_0x11f3b1=>{const _0xc203d4=_0x5a19ae;var _0x6d788f,_0x1ca356;const _0x1fc852=(_0x6d788f=_0x11f3b1[_0xc203d4(0x348)])==null?void 0x0:_0x6d788f[_0xc203d4(0x3a5)];if(_0x1fc852){_0x534484[_0xc203d4(0x387)](_0x1fc852)||_0x534484[_0xc203d4(0x3a8)](_0x1fc852,[]);const _0x3083b2=this[_0xc203d4(0x22d)](_0x11f3b1);(_0x1ca356=_0x534484[_0xc203d4(0x311)](_0x1fc852))==null||_0x1ca356[_0xc203d4(0x379)](..._0x3083b2);}}),_0x534484[_0x5a19ae(0x346)]((_0x2cb7ac,_0x1648da)=>{const _0x460a3c=_0x5a19ae;_0x534484[_0x460a3c(0x3a8)](_0x1648da,this[_0x460a3c(0x2be)](_0x2cb7ac));}),_0x534484;}['_getRangesByMutation'](_0x35db29){const _0x1ef254=_0x20b963;switch(_0x35db29['id']){case _0x4e95f8['id']:{const _0x2f1aec=_0x35db29[_0x1ef254(0x348)];return _0x2f1aec[_0x1ef254(0x2b2)]['map'](_0x199e58=>_0x199e58['ranges'][_0x1ef254(0x310)](_0x524bce=>({'range':_0x524bce,'unitId':_0x2f1aec[_0x1ef254(0x2cc)],'subUnitId':_0x2f1aec[_0x1ef254(0x207)]})))[_0x1ef254(0x1ea)]();}case _0x5b0b3a['id']:{const _0x2d659a=_0x35db29[_0x1ef254(0x348)];return _0x2d659a['ranges'][_0x1ef254(0x310)](_0x1fd9b1=>({'range':_0x1fd9b1,'unitId':_0x2d659a['unitId'],'subUnitId':_0x2d659a[_0x1ef254(0x207)]}));}case _0x1856c3['id']:{const _0x37a6f7=_0x35db29[_0x1ef254(0x348)];return[{'range':_0x37a6f7[_0x1ef254(0x378)],'unitId':_0x37a6f7[_0x1ef254(0x2cc)],'subUnitId':_0x37a6f7['subUnitId']}];}case _0x475126['id']:{const _0x2d542e=_0x35db29[_0x1ef254(0x348)];return[{'range':_0x2d542e[_0x1ef254(0x378)],'unitId':_0x2d542e['unitId'],'subUnitId':_0x2d542e[_0x1ef254(0x207)]}];}case _0x42662a['id']:{const _0xe14365=_0x35db29[_0x1ef254(0x348)],{from:_0x496267,to:_0x55080d,unitId:_0x24d3c6}=_0xe14365;return[{'range':Ie(_0x496267[_0x1ef254(0x2f7)]),'unitId':_0x24d3c6,'subUnitId':_0x496267[_0x1ef254(0x207)]},{'range':Ie(_0x55080d['value']),'unitId':_0x24d3c6,'subUnitId':_0x55080d[_0x1ef254(0x207)]}];}case _0x94c4b7['id']:{const _0x620228=_0x35db29['params'],{unitId:_0x30f500,subUnitId:_0x5a5eec,sourceRange:_0xe4a1c,targetRange:_0x13f563}=_0x620228,_0x3d0770=_0xe4a1c['endRow']-_0xe4a1c[_0x1ef254(0x2fa)]+0x1;return[{'range':_0x13f563[_0x1ef254(0x2fa)]<=_0xe4a1c[_0x1ef254(0x2fa)]?_0x13f563:{..._0x13f563,'startRow':_0x13f563['startRow']-_0x3d0770,'endRow':_0x13f563[_0x1ef254(0x25e)]-_0x3d0770},'unitId':_0x30f500,'subUnitId':_0x5a5eec}];}case _0x8c4918['id']:{const _0x4407c2=_0x35db29[_0x1ef254(0x348)],{unitId:_0x351d69,subUnitId:_0x4df0ad,sourceRange:_0xafe705,targetRange:_0x2d0cca}=_0x4407c2,_0x575b51=_0xafe705[_0x1ef254(0x39b)]-_0xafe705[_0x1ef254(0x203)]+0x1;return[{'range':_0x2d0cca[_0x1ef254(0x203)]<=_0xafe705[_0x1ef254(0x203)]?_0x2d0cca:{..._0x2d0cca,'startColumn':_0x2d0cca[_0x1ef254(0x203)]-_0x575b51,'endColumn':_0x2d0cca[_0x1ef254(0x39b)]-_0x575b51},'unitId':_0x351d69,'subUnitId':_0x4df0ad}];}case _0xedb1a1['id']:{const _0x1d1ad5=_0x35db29['params'],{values:_0x3a821b,unitId:_0x2b04de,subUnitId:_0x40af2f}=_0x1d1ad5;return Object['values'](_0x3a821b)['map'](_0x5850d2=>_0x5850d2[_0x1ef254(0x1fd)][_0x1ef254(0x310)](_0x5afa48=>({'range':_0x5afa48,'unitId':_0x2b04de,'subUnitId':_0x40af2f})))[_0x1ef254(0x1ea)]();}case _0x116a47['id']:{const _0x3940fb=_0x35db29[_0x1ef254(0x348)],{ranges:_0x2a9292,unitId:_0x46ac18,subUnitId:_0x2f6ad1}=_0x3940fb;return _0x2a9292[_0x1ef254(0x310)](_0x2f2d83=>({'range':_0x2f2d83,'unitId':_0x46ac18,'subUnitId':_0x2f6ad1}));}case _0x79f5a['id']:{const _0xfd8c68=_0x35db29[_0x1ef254(0x348)],{unitId:_0xbdcddf,subUnitId:_0x190429,range:_0x342d87}=_0xfd8c68;return[{'range':_0x342d87,'unitId':_0xbdcddf,'subUnitId':_0x190429}];}case _0x5c62ac['id']:{const _0x3e3c96=_0x35db29[_0x1ef254(0x348)];return _0x3e3c96[_0x1ef254(0x2c2)][_0x1ef254(0x1fd)][_0x1ef254(0x310)](_0x4d5c0d=>({'range':_0x4d5c0d,'unitId':_0x3e3c96['unitId'],'subUnitId':_0x3e3c96[_0x1ef254(0x207)]}));}case _0x4ee5b3['id']:{const _0x4333c3=_0x35db29[_0x1ef254(0x348)];return _0x4333c3[_0x1ef254(0x262)]?bs(_0x4333c3['cellValue'])[_0x1ef254(0x310)](_0x5441d4=>({'range':_0x5441d4,'unitId':_0x4333c3[_0x1ef254(0x2cc)],'subUnitId':_0x4333c3['subUnitId']})):[];}case _0x5c6777['id']:{const _0x61c715=_0x35db29[_0x1ef254(0x348)];return[{'range':_0x61c715[_0x1ef254(0x378)],'unitId':_0x61c715['unitId'],'subUnitId':_0x61c715[_0x1ef254(0x207)]}];}case _0x2a935c['id']:{const _0x32e295=_0x35db29[_0x1ef254(0x348)];return(Array['isArray'](_0x32e295['rule'])?_0x32e295[_0x1ef254(0x2c2)]:[_0x32e295[_0x1ef254(0x2c2)]])[_0x1ef254(0x310)](_0x183772=>_0x183772[_0x1ef254(0x1fd)][_0x1ef254(0x310)](_0x30fdfc=>({'range':_0x30fdfc,'unitId':_0x32e295[_0x1ef254(0x2cc)],'subUnitId':_0x32e295[_0x1ef254(0x207)]})))['flat']();}case _0x4862df['id']:{const _0x40e6ba=_0x35db29[_0x1ef254(0x348)];return _0x40e6ba[_0x1ef254(0x2c2)][_0x1ef254(0x1fd)][_0x1ef254(0x310)](_0x523a9d=>({'range':_0x523a9d,'unitId':_0x40e6ba[_0x1ef254(0x2cc)],'subUnitId':_0x40e6ba['subUnitId']}));}default:return[];}}[_0x20b963(0x2be)](_0x5d4825){const _0x7700cb=_0x20b963;if(_0x5d4825[_0x7700cb(0x3a7)]<=0x1)return _0x5d4825;const _0x3d72c9=new Map();return _0x5d4825[_0x7700cb(0x346)](_0x473504=>{const _0x1fdd9b=_0x7700cb;var _0x203cfc;const {unitId:_0xb42509,subUnitId:_0x22cd02}=_0x473504,_0xe6c4a6=_0xb42509+'-'+_0x22cd02;_0x3d72c9[_0x1fdd9b(0x387)](_0xe6c4a6)?(_0x203cfc=_0x3d72c9['get'](_0xe6c4a6))==null||_0x203cfc[_0x1fdd9b(0x379)](_0x473504):_0x3d72c9[_0x1fdd9b(0x3a8)](_0xe6c4a6,[_0x473504]);}),Array[_0x7700cb(0x28c)](_0x3d72c9[_0x7700cb(0x338)]())[_0x7700cb(0x310)](_0x4b3814=>new _0x3f5a75()[_0x7700cb(0x201)](..._0x4b3814['map'](_0x5938dc=>_0x5938dc['range']))[_0x7700cb(0x392)]()[_0x7700cb(0x310)](_0x5d97cf=>({'range':_0x5d97cf,'unitId':_0x4b3814[0x0][_0x7700cb(0x2cc)],'subUnitId':_0x4b3814[0x0]['subUnitId']})))[_0x7700cb(0x1ea)]();}};$=Ps([Z(0x0,_0x32b387(g)),Z(0x1,_0x5bfbe2),Z(0x2,_0xb4aaa1)],$);function Ie(_0x1b87bf){const _0x2db109=_0x20b963;return new _0x269394(_0x1b87bf)[_0x2db109(0x2d6)]();}function bs(_0x16a8e4){const _0x32b531=new _0x269394(_0x16a8e4),_0x18a264=new _0x269394();return _0x32b531['forValue']((_0x3ca392,_0x186a07)=>{const _0x42c699=_0x1398;_0x18a264[_0x42c699(0x233)](_0x3ca392,_0x186a07,0x1);}),_0x3b45d1(_0x18a264);}var Ls=Object[_0x20b963(0x241)],Cs=(_0xd63d68,_0x2be170,_0x188073,_0x5cbbac)=>{const _0x15efce=_0x20b963;for(var _0x418420=_0x5cbbac>0x1?void 0x0:_0x5cbbac?Ls(_0x2be170,_0x188073):_0x2be170,_0xfbf7e7=_0xd63d68[_0x15efce(0x3a7)]-0x1,_0x10d802;_0xfbf7e7>=0x0;_0xfbf7e7--)(_0x10d802=_0xd63d68[_0xfbf7e7])&&(_0x418420=_0x10d802(_0x418420)||_0x418420);return _0x418420;},P=(_0x2e1689,_0xfeb653)=>(_0x4f6723,_0x5e5abf)=>_0xfeb653(_0x4f6723,_0x5e5abf,_0x2e1689);let q=class extends _0x335e49{constructor(_0x3dab5e,_0x24d5ac,_0x45ea4a,_0x29f400,_0x4c74f2,_0x4d86d4,_0x4258b7){const _0x34c63c=_0x20b963;super(),l(this,_0x34c63c(0x2ca),new Set()),l(this,_0x34c63c(0x317),null),(this[_0x34c63c(0x3b6)]=_0x3dab5e,this['_historyManagerService']=_0x24d5ac,this[_0x34c63c(0x234)]=_0x45ea4a,this[_0x34c63c(0x36d)]=_0x29f400,this[_0x34c63c(0x2b7)]=_0x4c74f2,this[_0x34c63c(0x334)]=_0x4d86d4,this[_0x34c63c(0x28d)]=_0x4258b7,this[_0x34c63c(0x394)]());}[_0x20b963(0x394)](){const _0x59d361=_0x20b963;this[_0x59d361(0x3a1)](),this[_0x59d361(0x39d)]();}[_0x20b963(0x3a1)](){const _0x50338b=_0x20b963;this[_0x50338b(0x37b)](_0x1bb519([this[_0x50338b(0x2b5)][_0x50338b(0x2c1)],this[_0x50338b(0x334)][_0x50338b(0x2e7)]])[_0x50338b(0x3b7)](_0x2eee0c(([_0x284ba5,_0x2e5c4f])=>{const _0x17462b=_0x50338b;if(_0x284ba5===C['Loaded']&&_0x2e5c4f){const _0x52a3eb=_0x2e5c4f[_0x17462b(0x36c)];return this[_0x17462b(0x234)]['currentVersionDiff$']['pipe'](_0x46547f(_0x2637bd=>{const _0x2188d7=_0x17462b,_0x1ea54e=new Map();return _0x2637bd[_0x2188d7(0x1fd)]['forEach']((_0x2974bc,_0x3f93f2)=>{const _0x35449c=_0x2188d7,_0x65d7cb=_0x2974bc[_0x35449c(0x286)](_0x2addb8=>_0x2addb8[_0x35449c(0x207)]===_0x52a3eb);_0x1ea54e[_0x35449c(0x3a8)](_0x3f93f2,_0x65d7cb);}),{'skeleton':_0x2e5c4f,'diffs':_0x1ea54e};}));}return _0x52f8f3({'skeleton':null,'diffs':new Map()});}))[_0x50338b(0x29f)](({skeleton:_0x3d03de,diffs:_0x49a1ce})=>{const _0x279d8a=_0x50338b;this[_0x279d8a(0x307)](),_0x3d03de&&this[_0x279d8a(0x39f)](_0x3d03de,_0x49a1ce);})),this[_0x50338b(0x37b)](this[_0x50338b(0x334)][_0x50338b(0x2e7)][_0x50338b(0x29f)](_0x3551db=>{const _0x1d2a56=_0x50338b;if(_0x3551db==null)return;const {skeleton:_0x5dfe4f}=_0x3551db,{scene:_0x185fd8}=this['_context'];_0x185fd8[_0x1d2a56(0x385)][_0x1d2a56(0x289)](_0x9ca00(_0xbf00c4=>{const _0xf4fc2a=_0x1d2a56;var _0x22a3b4,_0x253495;const {offsetX:_0xe8e3bb,offsetY:_0x2ec953}=_0xbf00c4,{x:_0xe4f890,y:_0x14aca3}=_0x185fd8[_0xf4fc2a(0x244)](_0x58b95d[_0xf4fc2a(0x34b)]([_0xe8e3bb,_0x2ec953])),{scaleX:_0xa5daf8,scaleY:_0x42f60f}=_0x185fd8[_0xf4fc2a(0x2a9)](),_0x215a81=_0x185fd8[_0xf4fc2a(0x1f6)](_0x1f2e9f[_0xf4fc2a(0x2e2)]),_0x53ba48=_0x185fd8[_0xf4fc2a(0x2bd)](_0x58b95d[_0xf4fc2a(0x34b)]([_0xe4f890,_0x14aca3]),_0x215a81),_0x5c7cd9=_0x5dfe4f[_0xf4fc2a(0x33e)](_0xe8e3bb,_0x2ec953,_0xa5daf8,_0x42f60f,_0x53ba48);((_0x22a3b4=this['_lastPointer'])==null?void 0x0:_0x22a3b4[_0xf4fc2a(0x29b)])===_0x5c7cd9[_0xf4fc2a(0x29b)]&&((_0x253495=this[_0xf4fc2a(0x317)])==null?void 0x0:_0x253495['row'])===_0x5c7cd9[_0xf4fc2a(0x2c7)]||this[_0xf4fc2a(0x2ca)][_0xf4fc2a(0x346)](_0xc78ad4=>{const _0x1cf42a=_0xf4fc2a;_0xc78ad4[_0x1cf42a(0x343)](_0x5c7cd9);});},0x64));}));}[_0x20b963(0x39d)](){const _0x3534bb=_0x20b963;this[_0x3534bb(0x37b)](this['_historyManagerService'][_0x3534bb(0x2c1)][_0x3534bb(0x29f)](_0x13b053=>{const _0x54ebba=_0x3534bb,_0x549d66=new _0x3f680b();return _0x13b053===C[_0x54ebba(0x31a)]&&(_0x549d66[_0x54ebba(0x2c0)](),_0x549d66[_0x54ebba(0x201)](this[_0x54ebba(0x234)][_0x54ebba(0x31e)][_0x54ebba(0x29f)](_0x23afde=>{const _0x182c7d=_0x54ebba;_0x23afde[_0x182c7d(0x2fc)]&&this[_0x182c7d(0x28d)]['executeCommand'](_0xce537b['id'],{'unitId':this[_0x182c7d(0x3b6)]['unitId'],'subUnitId':_0x23afde[_0x182c7d(0x2fc)]});}))),()=>_0x549d66[_0x54ebba(0x2c0)]();}));}[_0x20b963(0x39f)](_0x4d88f3,_0x30ab24){const _0x5b33cf=_0x20b963;var _0x292ccb;const _0x1b8e97=(_0x292ccb=this[_0x5b33cf(0x334)][_0x5b33cf(0x2a4)]())==null?void 0x0:_0x292ccb[_0x5b33cf(0x1e4)];if(!_0x1b8e97)return;this[_0x5b33cf(0x2ca)]['forEach'](_0xc112ab=>{_0xc112ab['makeDirty']();});const {scene:_0x82a940}=this['_context'],_0x170e93=Array[_0x5b33cf(0x28c)](_0x30ab24[_0x5b33cf(0x34e)]())[_0x5b33cf(0x310)](_0x143dc2=>_0x30ab24['get'](_0x143dc2)['map'](_0x30b773=>{const _0x1f480f=_0x5b33cf;var _0x4155fb;const {range:_0x124963,subUnitId:_0x40e1b8,unitId:_0xb35cd5}=_0x30b773,{startColumn:_0x5d94b7,startRow:_0x1c5c62,endColumn:_0x7a739e,endRow:_0x2e13bd}=_0x124963,_0x18995b=_0x45a338(_0x1c5c62,_0x5d94b7,_0x82a940,_0x1b8e97),_0x2e58aa=_0x45a338(_0x2e13bd,_0x7a739e,_0x82a940,_0x1b8e97),{columnHeaderHeightAndMarginTop:_0x1de6a9}=_0x1b8e97,{startX:_0x2fa11a,startY:_0x43034e}=_0x18995b,{endX:_0x5e40e3,endY:_0x1889e8}=_0x2e58aa,_0x15f719=_0x5e40e3-_0x2fa11a,_0x1ef776=_0x1889e8-_0x43034e,_0x4e7203={'labelPosition':_0x43034e-_0x1de6a9>=0x14?_0x1f480f(0x3b0):'bottom','sheetID':_0x40e1b8,'range':_0x124963,'color':_0x1f480f(0x268),'fillAfterStrokeEnabled':!0x0,'backgroundColor':'rgba(58,\x2096,\x20247,\x200.20)','name':((_0x4155fb=this[_0x1f480f(0x2b5)][_0x1f480f(0x322)](_0x143dc2))==null?void 0x0:_0x4155fb[_0x1f480f(0x273)])||'','selection':_0xb35cd5+'-'+_0x40e1b8+'-'+_0x124963['startColumn']+'-'+_0x124963[_0x1f480f(0x2fa)]+'-'+_0x124963['endColumn']+'-'+_0x124963[_0x1f480f(0x25e)],'left':_0x2fa11a,'top':_0x43034e,'width':_0x15f719,'height':_0x1ef776,'evented':!0x1,'zIndex':0x1};return new _0x5a40a2('',_0x4e7203);}))[_0x5b33cf(0x1ea)]();_0x82a940[_0x5b33cf(0x209)](_0x170e93,0x1),this[_0x5b33cf(0x2ca)]=new Set(_0x170e93);}[_0x20b963(0x307)](){const _0x5b9c88=_0x20b963;var _0x1e4e3c;(_0x1e4e3c=this[_0x5b9c88(0x2ca)])==null||_0x1e4e3c[_0x5b9c88(0x346)](_0x491eb7=>_0x491eb7[_0x5b9c88(0x2c0)]());}[_0x20b963(0x283)](){const _0x3502b3=_0x20b963;return _0xb3abfd(this[_0x3502b3(0x36d)],this[_0x3502b3(0x2b7)]);}};q=Cs([P(0x1,_0x32b387(g)),P(0x2,_0x32b387($)),P(0x3,_0x1b44f5),P(0x4,_0x33e03e),P(0x5,_0x32b387(_0x1fce56)),P(0x6,_0x4f896f)],q);function ys(){const _0x25d4e6=_0x20b963,_0x2d9ca8=_0xbfac3(g),_0x47ff78=_0x411433(_0x2d9ca8[_0x25d4e6(0x2ea)]),[_0x2c0e9d,_0x479bc2]=_0x501f7e(!0x1),_0x1890dc=_s(_0x47ff78);return _0x47ff78?_0x5c2086(_0x25d4e6(0x3a2),{'className':_0x25d4e6(0x225),'children':_0xc6cf4a(_0x25d4e6(0x3a2),{'className':'univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','children':[_0x1890dc[_0x25d4e6(0x310)]((_0x154c74,_0x1b1506)=>_0xc6cf4a(_0x5ba647,{'children':[_0x5c2086($s,{'date':_0x154c74[_0x25d4e6(0x2fe)]}),_0x154c74[_0x25d4e6(0x2fd)][_0x25d4e6(0x310)]((_0x2e2c8a,_0x50a253)=>_0x5c2086(Vs,{'index':[_0x1b1506,_0x50a253],'item':_0x2e2c8a},_0x1b1506+'-'+_0x50a253))]},_0x154c74[_0x25d4e6(0x2fe)])),_0x2c0e9d&&_0x5c2086(ws,{})]})}):_0x5c2086(Us,{});}function ws(){const _0x5a8db3=_0x20b963;return _0x5c2086('div',{'className':_0x5a8db3(0x22b),'children':_0x5c2086(oe,{'className':_0x5a8db3(0x246)})});}function Us(){const _0x114539=_0x20b963;return _0x5c2086(_0x114539(0x3a2),{'className':_0x114539(0x304),'children':_0x5c2086(_0x114539(0x279),{'className':_0x114539(0x368),'children':_0x5c2086(oe,{'className':_0x114539(0x26b)})})});}function $s(_0x3479a4){const _0x4d0d99=_0x20b963,_0x3260df=_0xbfac3(_0x1f194f),{date:_0x3e7850}=_0x3479a4;return _0x5c2086(_0x4d0d99(0x3a2),{'className':_0x4d0d99(0x21d),'children':J(_0x3e7850,_0x3260df[_0x4d0d99(0x290)]())});}function Vs(_0x3f3111){const _0x3203c1=_0x20b963,{item:_0x57e4f1,index:_0x1ecabf}=_0x3f3111,{time:_0x2c53e0,user:_0x35448e}=_0x57e4f1,[_0x5c779c,_0x586762]=_0x1ecabf,_0x365411=_0xbfac3(g),_0x180ada=_0x411433(_0x365411['currentVersion$'],'',!0x0)===_0x57e4f1['id'],_0x1ae7a0=_0x5c779c===0x0&&_0x586762===0x0,_0x3c18b1=!_0x1ae7a0&&_0x365411[_0x3203c1(0x2e5)],_0x293bf3=_0xbfac3(_0x1f194f),_0x5840d3=_0x293bf3[_0x3203c1(0x290)](),_0x25ddd5=re(_0x2c53e0,_0x5840d3),_0x56d128=_0x293bf3['t']('editHistory.panel.currentVersion'),_0x1e5357=_0x50af04(_0x318f10=>{const _0x1a2264=_0x3203c1;_0x365411[_0x1a2264(0x352)]!==C['Loading']&&(_0x365411[_0x1a2264(0x20f)]=_0x318f10);},[_0x365411]),_0x1af4e5=_0x50af04(_0x2d70e3=>{const _0x511e76=_0x3203c1;_0x365411[_0x511e76(0x235)](_0x2d70e3);},[_0x365411]);return _0xc6cf4a(_0x3203c1(0x3a2),{'className':_0x163ca0(_0x3203c1(0x23b),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x180ada}),'onClick':()=>_0x1e5357(_0x57e4f1['id']),'children':[_0xc6cf4a(_0x3203c1(0x3a2),{'className':_0x3203c1(0x1f2),'children':[_0xc6cf4a(_0x3203c1(0x3a2),{'className':_0x3203c1(0x2ce),'children':[_0x5c2086(_0x3203c1(0x279),{'children':_0x25ddd5[_0x3203c1(0x395)]}),_0x1ae7a0&&_0x5c2086('span',{'className':_0x3203c1(0x302),'children':_0x56d128})]}),_0x5c2086('div',{'children':_0x3c18b1&&_0x5c2086(_0x489ae2,{'title':_0x293bf3['t'](_0x3203c1(0x3a0)),'children':_0x5c2086(_0x3203c1(0x3a2),{'onClick':_0xe1e767=>{const _0x282708=_0x3203c1;_0xe1e767[_0x282708(0x249)](),_0x1af4e5(_0x57e4f1['id']);},'className':_0x3203c1(0x1fb),'children':_0x5c2086(ye,{})})})})]}),_0x5c2086(_0x3203c1(0x3a2),{'className':_0x3203c1(0x202),'children':os(_0x57e4f1,_0x293bf3)})]});}var ks=Object[_0x20b963(0x241)],xs=(_0x1ce6c2,_0x48a075,_0x256e78,_0x44290d)=>{for(var _0x507beb=_0x44290d>0x1?void 0x0:_0x44290d?ks(_0x48a075,_0x256e78):_0x48a075,_0x4dce2b=_0x1ce6c2['length']-0x1,_0x3b6ce9;_0x4dce2b>=0x0;_0x4dce2b--)(_0x3b6ce9=_0x1ce6c2[_0x4dce2b])&&(_0x507beb=_0x3b6ce9(_0x507beb)||_0x507beb);return _0x507beb;},w=(_0x4ab6fd,_0x58d43b)=>(_0x3941b1,_0x3b85ab)=>_0x58d43b(_0x3941b1,_0x3b85ab,_0x4ab6fd);const de='history-panel';let B=class extends _0x335e49{constructor(_0x47dc35,_0x4ceb0f,_0x6b7921,_0x24784c,_0x4b0538){const _0x1ff6cd=_0x20b963;super(),l(this,_0x1ff6cd(0x2a1),null),(this[_0x1ff6cd(0x38a)]=_0x47dc35,this['_componentManager']=_0x4ceb0f,this[_0x1ff6cd(0x330)]=_0x6b7921,this[_0x1ff6cd(0x2b5)]=_0x24784c,this['_configService']=_0x4b0538,this[_0x1ff6cd(0x394)]());}[_0x20b963(0x394)](){const _0x32f821=_0x20b963;this[_0x32f821(0x3b1)](),this[_0x32f821(0x2c6)]();}[_0x20b963(0x2c6)](){const _0x52415e=_0x20b963;var _0x4a6549;if(this[_0x52415e(0x2a1)])return;const _0x2843bf=((_0x4a6549=this[_0x52415e(0x2ad)]['getConfig'](ne))==null?void 0x0:_0x4a6549[_0x52415e(0x2d2)])||de,_0x177838={'header':{'title':this['_localeService']['t']('editHistory.panel.title')},'children':{'label':_0x2843bf},'onClose':()=>{const _0x156466=_0x52415e;this[_0x156466(0x2a1)]=null,this[_0x156466(0x2b5)]['status']=ae[_0x156466(0x381)];}};this[_0x52415e(0x2a1)]=this[_0x52415e(0x38a)]['open']({..._0x177838});}[_0x20b963(0x3b1)](){const _0x19334a=_0x20b963;this[_0x19334a(0x37b)](this[_0x19334a(0x2b8)][_0x19334a(0x245)](de,ys)),this[_0x19334a(0x37b)](this[_0x19334a(0x38a)]['scrollEvent$'][_0x19334a(0x3b7)](_0x4c8d10(0x64))['subscribe'](_0x129c09=>{const _0x5a3fb1=_0x19334a,{target:_0x4ad313}=_0x129c09||{};if(_0x4ad313){const {scrollTop:_0x59b827,scrollHeight:_0x240e2b,clientHeight:_0x27a531}=_0x4ad313;_0x59b827+_0x27a531>=_0x240e2b-0x5&&this[_0x5a3fb1(0x2b5)][_0x5a3fb1(0x255)]();}}));}};B=xs([w(0x0,_0x1e5500),w(0x1,_0x32b387(_0x2a9ca0)),w(0x2,_0x32b387(_0x1f194f)),w(0x3,_0x32b387(g)),w(0x4,_0xecbe31)],B);function _0x1398(_0x58c6c0,_0x1033a7){_0x58c6c0=_0x58c6c0-0x1e2;const _0x2e1005=_0x2e10();let _0x1398d8=_0x2e1005[_0x58c6c0];return _0x1398d8;}class As extends _0x335e49{constructor(){const _0x405e06=_0x20b963;super(),l(this,_0x405e06(0x351),new _0x2b2c12());}[_0x20b963(0x370)](){return _0x5c7014(()=>{});}[_0x20b963(0x347)](){}[_0x20b963(0x204)](_0x26c094){}[_0x20b963(0x34c)](){const _0x570f84=_0x20b963;return this['_dialogOptions$'][_0x570f84(0x320)]();}}var Hs=Object[_0x20b963(0x281)],Fs=Object[_0x20b963(0x241)],Ys=(_0xeed6f,_0x346363,_0x3db7ff)=>_0x346363 in _0xeed6f?Hs(_0xeed6f,_0x346363,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3db7ff}):_0xeed6f[_0x346363]=_0x3db7ff,Bs=(_0x4a09e1,_0x352c3b,_0x539b6b,_0x3b6bdc)=>{const _0x1aab9e=_0x20b963;for(var _0x3ca23f=_0x3b6bdc>0x1?void 0x0:_0x3b6bdc?Fs(_0x352c3b,_0x539b6b):_0x352c3b,_0x3a7082=_0x4a09e1[_0x1aab9e(0x3a7)]-0x1,_0x3285be;_0x3a7082>=0x0;_0x3a7082--)(_0x3285be=_0x4a09e1[_0x3a7082])&&(_0x3ca23f=_0x3285be(_0x3ca23f)||_0x3ca23f);return _0x3ca23f;},K=(_0x262d4d,_0xd98d43)=>(_0x3d54eb,_0x5e194b)=>_0xd98d43(_0x3d54eb,_0x5e194b,_0x262d4d),Ws=(_0x94c7d9,_0x48fb22,_0x4cbee6)=>Ys(_0x94c7d9,_0x48fb22+'',_0x4cbee6);const js=_0x20b963(0x2d1);let ee=class extends _0x4dd8be{constructor(_0x5d1195=he,_0x402842,_0x4c0ace,_0x512f56){const _0x57cedb=_0x20b963;super(),this['_config']=_0x5d1195,this[_0x57cedb(0x20d)]=_0x402842,this['_renderManagerService']=_0x4c0ace,this[_0x57cedb(0x2ad)]=_0x512f56;const {..._0x2a8472}=_0x1199af({},he,this[_0x57cedb(0x287)]);this['_configService']['setConfig'](ne,_0x2a8472);}[_0x20b963(0x1f4)](){const _0x4738d3=_0x20b963;[[g],[Y],[$],[F],[B],[A],[_0xb4aaa1,{'useClass':_0x3b6944}],[_0x444bcc,{'useClass':As}],[_0x8a8737,{'useClass':_0x2e5a44}]][_0x4738d3(0x346)](_0xfcfcc1=>this[_0x4738d3(0x20d)][_0x4738d3(0x201)](_0xfcfcc1)),this[_0x4738d3(0x20d)][_0x4738d3(0x311)](Y);}[_0x20b963(0x2f9)](){const _0x34dcb9=_0x20b963;[[q]][_0x34dcb9(0x346)](_0x326ba6=>{const _0x2a43f6=_0x34dcb9;this[_0x2a43f6(0x37b)](this[_0x2a43f6(0x2b7)]['registerRenderModule'](_0x5a4d89[_0x2a43f6(0x2bc)],_0x326ba6));}),this[_0x34dcb9(0x20d)][_0x34dcb9(0x311)](A),this[_0x34dcb9(0x20d)][_0x34dcb9(0x311)](B);}[_0x20b963(0x2dc)](){this['_injector']['get']($);}};Ws(ee,_0x20b963(0x2f1),js),ee=Bs([_0x1b0b97(_0x4fdce4,_0x3fbe1b),K(0x1,_0x32b387(_0x422ac9)),K(0x2,_0x33e03e),K(0x3,_0xecbe31)],ee);export{g as HistoryManagerService,ae as HistoryModeStatus,hs as HistoryOrigin,ee as UniverEditHistoryViewerPlugin};
@@ -1 +1 @@
1
- const _0x4e6f3a=_0x5224;function _0x5224(_0x457aec,_0x4e5912){_0x457aec=_0x457aec-0x175;const _0x2c3148=_0x2c31();let _0x5224cc=_0x2c3148[_0x457aec];return _0x5224cc;}(function(_0x36fd9c,_0x40783b){const _0x1d9877=_0x5224,_0xbdd87f=_0x36fd9c();while(!![]){try{const _0x515632=parseInt(_0x1d9877(0x188))/0x1*(parseInt(_0x1d9877(0x180))/0x2)+-parseInt(_0x1d9877(0x192))/0x3*(-parseInt(_0x1d9877(0x183))/0x4)+parseInt(_0x1d9877(0x182))/0x5+-parseInt(_0x1d9877(0x18b))/0x6*(-parseInt(_0x1d9877(0x194))/0x7)+-parseInt(_0x1d9877(0x18f))/0x8*(parseInt(_0x1d9877(0x193))/0x9)+parseInt(_0x1d9877(0x177))/0xa*(-parseInt(_0x1d9877(0x18d))/0xb)+-parseInt(_0x1d9877(0x17f))/0xc;if(_0x515632===_0x40783b)break;else _0xbdd87f['push'](_0xbdd87f['shift']());}catch(_0x524abd){_0xbdd87f['push'](_0xbdd87f['shift']());}}}(_0x2c31,0x89f5e));function _0x2c31(){const _0x2a5aa4=['30ZtkNxy','387405hCEeLe','28LCbUkL','set\x20frozen','reverted\x20workbook','9630MpnhJn','add\x20protection','Restore\x20this\x20version?',',\x20etc.','deleted\x20worksheet','edited\x20worksheet','Failed\x20to\x20get\x20edit\x20history\x20list','Reverted\x20from','979764hruRkJ','410486dNaSCS','set\x20conditional\x20formatting','3741270zghsBf','16168lUEZwL','inserted\x20chart','Confirm','inserted\x20worksheet','Edit\x20History','3KKJZuF','add\x20sparkline','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','279228NLxSKa','Back','4389KQilyJ','Current\x20User','104SoiyDZ','Current\x20Version','Restore\x20this\x20version'];_0x2c31=function(){return _0x2a5aa4;};return _0x2c31();}const e={'editHistory':{'panel':{'title':_0x4e6f3a(0x187),'unknownUser':'Unknown\x20User','listFetchError':_0x4e6f3a(0x17d),'revertConfirm':_0x4e6f3a(0x179),'revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':'Cancel','confirm':_0x4e6f3a(0x185),'reverting':'Reverting,\x20please\x20wait...','revertFailed':_0x4e6f3a(0x18a),'currentVersion':_0x4e6f3a(0x190),'currentUser':_0x4e6f3a(0x18e),'revertDesc':_0x4e6f3a(0x191)},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':_0x4e6f3a(0x18c),'revert':_0x4e6f3a(0x191)},'action':{'insertSheet':_0x4e6f3a(0x186),'removeSheet':_0x4e6f3a(0x17b),'createSheet':'created\x20workbook','setFilter':'set\x20filter','setFrozen':_0x4e6f3a(0x175),'editSheet':_0x4e6f3a(0x17c),'revertSheet':_0x4e6f3a(0x176),'revertSheetPrefix':_0x4e6f3a(0x17e),'revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':_0x4e6f3a(0x181),'addCF':'add\x20conditional\x20formatting','addProtection':_0x4e6f3a(0x178),'addSparkline':_0x4e6f3a(0x189),'insertChart':_0x4e6f3a(0x184),'deleteProtection':'delete\x20protection','etc':_0x4e6f3a(0x17a)}}},t=e;export{t as default};
1
+ function _0x4541(_0x2fc388,_0x4b6214){_0x2fc388=_0x2fc388-0x8d;const _0x4dcacf=_0x4dca();let _0x45410c=_0x4dcacf[_0x2fc388];return _0x45410c;}const _0x5798bf=_0x4541;(function(_0xc5f4bb,_0xb784b1){const _0x3ebba7=_0x4541,_0x39226b=_0xc5f4bb();while(!![]){try{const _0x5f5aef=-parseInt(_0x3ebba7(0xa8))/0x1*(-parseInt(_0x3ebba7(0xaf))/0x2)+parseInt(_0x3ebba7(0xac))/0x3*(parseInt(_0x3ebba7(0x99))/0x4)+parseInt(_0x3ebba7(0x9d))/0x5*(parseInt(_0x3ebba7(0xa2))/0x6)+parseInt(_0x3ebba7(0x9f))/0x7*(-parseInt(_0x3ebba7(0x90))/0x8)+parseInt(_0x3ebba7(0x8e))/0x9+parseInt(_0x3ebba7(0xa4))/0xa*(-parseInt(_0x3ebba7(0x97))/0xb)+parseInt(_0x3ebba7(0xaa))/0xc;if(_0x5f5aef===_0xb784b1)break;else _0x39226b['push'](_0x39226b['shift']());}catch(_0x25295c){_0x39226b['push'](_0x39226b['shift']());}}}(_0x4dca,0x5f806));const e={'editHistory':{'panel':{'title':_0x5798bf(0xae),'unknownUser':_0x5798bf(0xa7),'listFetchError':_0x5798bf(0x9b),'revertConfirm':_0x5798bf(0xab),'revertConfirmText':_0x5798bf(0xa0),'cancel':_0x5798bf(0x8f),'confirm':_0x5798bf(0x95),'reverting':_0x5798bf(0xa1),'revertFailed':_0x5798bf(0x9e),'currentVersion':_0x5798bf(0x9c),'currentUser':_0x5798bf(0x96),'revertDesc':_0x5798bf(0xa3)},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':'Back','revert':_0x5798bf(0xa3)},'action':{'insertSheet':_0x5798bf(0x92),'removeSheet':_0x5798bf(0xa9),'createSheet':_0x5798bf(0x94),'setFilter':_0x5798bf(0xa5),'setFrozen':'set\x20frozen','editSheet':_0x5798bf(0xad),'revertSheet':_0x5798bf(0x8d),'revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':'set\x20conditional\x20formatting','addCF':_0x5798bf(0xa6),'addProtection':_0x5798bf(0x91),'addSparkline':_0x5798bf(0x9a),'insertChart':'inserted\x20chart','deleteProtection':_0x5798bf(0x98),'etc':_0x5798bf(0x93)}}},t=e;export{t as default};function _0x4dca(){const _0x5113f7=['add\x20protection','inserted\x20worksheet',',\x20etc.','created\x20workbook','Confirm','Current\x20User','6836764RllncH','delete\x20protection','1192492XFptNN','add\x20sparkline','Failed\x20to\x20get\x20edit\x20history\x20list','Current\x20Version','5tXyKdS','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','91CPBUJG','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','Reverting,\x20please\x20wait...','2797026Jdkumh','Restore\x20this\x20version','10XVxKUg','set\x20filter','add\x20conditional\x20formatting','Unknown\x20User','2WuJxtt','deleted\x20worksheet','4499196ZTvCgJ','Restore\x20this\x20version?','6fnZvjE','edited\x20worksheet','Edit\x20History','104176pxUDcv','reverted\x20workbook','1443537NQPAZV','Cancel','424136sjtbSv'];_0x4dca=function(){return _0x5113f7;};return _0x4dca();}
@@ -1 +1 @@
1
- const _0x5a8e31=_0x3c7a;function _0x2a3c(){const _0x55ba50=['Current\x20Version','delete\x20protection','102ypLJGF','Unknown\x20User','Confirm','Edit\x20History','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','add\x20conditional\x20formatting','Current\x20User','set\x20data\x20validation','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','5347521gjaRJT','56zKtgrE','2183740RhkaMX','loading,\x20please\x20wait...','459300XAXFMd','deleted\x20worksheet','627235alurpw','add\x20sparkline','2732829TDPOEw','1282662TzYhCp','set\x20filter','edited\x20worksheet','Reverted\x20from','inserted\x20worksheet','Back','Failed\x20to\x20get\x20edit\x20history\x20list','Restore\x20this\x20version?','2521700GHnHzu','inserted\x20chart'];_0x2a3c=function(){return _0x55ba50;};return _0x2a3c();}(function(_0x43ea3a,_0x31dccb){const _0x37b3f7=_0x3c7a,_0x848fab=_0x43ea3a();while(!![]){try{const _0x29fba3=-parseInt(_0x37b3f7(0x1bc))/0x1+parseInt(_0x37b3f7(0x1c1))/0x2+-parseInt(_0x37b3f7(0x1c0))/0x3+-parseInt(_0x37b3f7(0x1ba))/0x4+-parseInt(_0x37b3f7(0x1c9))/0x5+-parseInt(_0x37b3f7(0x1cd))/0x6*(parseInt(_0x37b3f7(0x1be))/0x7)+parseInt(_0x37b3f7(0x1d7))/0x8*(parseInt(_0x37b3f7(0x1d6))/0x9);if(_0x29fba3===_0x31dccb)break;else _0x848fab['push'](_0x848fab['shift']());}catch(_0x564f2f){_0x848fab['push'](_0x848fab['shift']());}}}(_0x2a3c,0xd1287));function _0x3c7a(_0xcdf530,_0x348d0e){_0xcdf530=_0xcdf530-0x1ba;const _0x2a3ccc=_0x2a3c();let _0x3c7a76=_0x2a3ccc[_0xcdf530];return _0x3c7a76;}const e={'editHistory':{'panel':{'title':_0x5a8e31(0x1d0),'unknownUser':_0x5a8e31(0x1ce),'listFetchError':_0x5a8e31(0x1c7),'revertConfirm':_0x5a8e31(0x1c8),'revertConfirmText':_0x5a8e31(0x1d1),'cancel':'Cancel','confirm':_0x5a8e31(0x1cf),'reverting':'Reverting,\x20please\x20wait...','revertFailed':_0x5a8e31(0x1d5),'currentVersion':_0x5a8e31(0x1cb),'currentUser':_0x5a8e31(0x1d3),'revertDesc':'Restore\x20this\x20version'},'info':{'loading':_0x5a8e31(0x1bb)},'header':{'back':_0x5a8e31(0x1c6),'revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0x5a8e31(0x1c5),'removeSheet':_0x5a8e31(0x1bd),'createSheet':'created\x20workbook','setFilter':_0x5a8e31(0x1c2),'setFrozen':'set\x20frozen','editSheet':_0x5a8e31(0x1c3),'revertSheet':'reverted\x20workbook','revertSheetPrefix':_0x5a8e31(0x1c4),'revertSheetSuffix':'','setDV':_0x5a8e31(0x1d4),'setCF':'set\x20conditional\x20formatting','addCF':_0x5a8e31(0x1d2),'addProtection':'add\x20protection','addSparkline':_0x5a8e31(0x1bf),'insertChart':_0x5a8e31(0x1ca),'deleteProtection':_0x5a8e31(0x1cc),'etc':',\x20etc.'}}};export{e as default};
1
+ const _0x4677b4=_0x13d9;function _0x13d9(_0x47f821,_0x318827){_0x47f821=_0x47f821-0xc6;const _0x120a64=_0x120a();let _0x13d99f=_0x120a64[_0x47f821];return _0x13d99f;}(function(_0x506fce,_0xfc8bd){const _0x4f8f68=_0x13d9,_0x8ae7bd=_0x506fce();while(!![]){try{const _0x3d307d=-parseInt(_0x4f8f68(0xcc))/0x1+parseInt(_0x4f8f68(0xdd))/0x2+parseInt(_0x4f8f68(0xc9))/0x3*(parseInt(_0x4f8f68(0xd0))/0x4)+-parseInt(_0x4f8f68(0xd5))/0x5*(-parseInt(_0x4f8f68(0xd7))/0x6)+-parseInt(_0x4f8f68(0xdf))/0x7+-parseInt(_0x4f8f68(0xc8))/0x8+parseInt(_0x4f8f68(0xd3))/0x9;if(_0x3d307d===_0xfc8bd)break;else _0x8ae7bd['push'](_0x8ae7bd['shift']());}catch(_0xab8de4){_0x8ae7bd['push'](_0x8ae7bd['shift']());}}}(_0x120a,0x58e93));function _0x120a(){const _0x9cb648=['deleted\x20worksheet','inserted\x20worksheet','inserted\x20chart','Current\x20User','Restore\x20this\x20version','4839432WnDgZA','3fHpiFA','edited\x20worksheet','Reverting,\x20please\x20wait...','641145dwVScE','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','created\x20workbook','add\x20protection','1854924wmSGHA','set\x20conditional\x20formatting','set\x20filter','8728470vMWwsH','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','685145jfKsEl',',\x20etc.','6RNdHJT','Current\x20Version','reverted\x20workbook','add\x20sparkline','Reverted\x20from','Edit\x20History','835428OxVDXy','Restore\x20this\x20version?','2646357mDkpGr','Unknown\x20User','loading,\x20please\x20wait...','delete\x20protection'];_0x120a=function(){return _0x9cb648;};return _0x120a();}const e={'editHistory':{'panel':{'title':_0x4677b4(0xdc),'unknownUser':_0x4677b4(0xe0),'listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list','revertConfirm':_0x4677b4(0xde),'revertConfirmText':_0x4677b4(0xcd),'cancel':'Cancel','confirm':'Confirm','reverting':_0x4677b4(0xcb),'revertFailed':_0x4677b4(0xd4),'currentVersion':_0x4677b4(0xd8),'currentUser':_0x4677b4(0xc6),'revertDesc':_0x4677b4(0xc7)},'info':{'loading':_0x4677b4(0xe1)},'header':{'back':'Back','revert':_0x4677b4(0xc7)},'action':{'insertSheet':_0x4677b4(0xe4),'removeSheet':_0x4677b4(0xe3),'createSheet':_0x4677b4(0xce),'setFilter':_0x4677b4(0xd2),'setFrozen':'set\x20frozen','editSheet':_0x4677b4(0xca),'revertSheet':_0x4677b4(0xd9),'revertSheetPrefix':_0x4677b4(0xdb),'revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':_0x4677b4(0xd1),'addCF':'add\x20conditional\x20formatting','addProtection':_0x4677b4(0xcf),'addSparkline':_0x4677b4(0xda),'insertChart':_0x4677b4(0xe5),'deleteProtection':_0x4677b4(0xe2),'etc':_0x4677b4(0xd6)}}};export{e as default};
@@ -1 +1 @@
1
- const _0x50068f=_0x2e06;function _0x2c23(){const _0x5e6365=['inserted\x20worksheet','13AlEzfE','Unknown\x20User','Reverted\x20from','50BbqnWC','add\x20protection','delete\x20protection','Restore\x20this\x20version?','Cancel','140VnCuAG','edited\x20worksheet','add\x20conditional\x20formatting','103202dtIuga','set\x20data\x20validation','3848Wpvevf','633kxZxMh','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','2932657LOWzZC','inserted\x20chart','Edit\x20History','288318DVazOV','Reverting,\x20please\x20wait...','Failed\x20to\x20get\x20edit\x20history\x20list','reverted\x20workbook','deleted\x20worksheet','Confirm','7443anaBMW','Restore\x20this\x20version','8028jODUJY','loading,\x20please\x20wait...','created\x20workbook','Current\x20User','set\x20conditional\x20formatting','2AVKTOe','8504508EYZSOR','429550tTADjt'];_0x2c23=function(){return _0x5e6365;};return _0x2c23();}(function(_0x4145f2,_0x196192){const _0x37a42f=_0x2e06,_0x73169f=_0x4145f2();while(!![]){try{const _0x8e45be=parseInt(_0x37a42f(0x14c))/0x1*(parseInt(_0x37a42f(0x14a))/0x2)+-parseInt(_0x37a42f(0x138))/0x3*(parseInt(_0x37a42f(0x145))/0x4)+-parseInt(_0x37a42f(0x12d))/0x5*(-parseInt(_0x37a42f(0x13d))/0x6)+-parseInt(_0x37a42f(0x13a))/0x7+parseInt(_0x37a42f(0x137))/0x8*(-parseInt(_0x37a42f(0x143))/0x9)+-parseInt(_0x37a42f(0x132))/0xa*(parseInt(_0x37a42f(0x135))/0xb)+-parseInt(_0x37a42f(0x14b))/0xc*(-parseInt(_0x37a42f(0x12a))/0xd);if(_0x8e45be===_0x196192)break;else _0x73169f['push'](_0x73169f['shift']());}catch(_0x534798){_0x73169f['push'](_0x73169f['shift']());}}}(_0x2c23,0x3c5ba));function _0x2e06(_0x2982a1,_0x30d324){_0x2982a1=_0x2982a1-0x129;const _0x2c23f1=_0x2c23();let _0x2e069e=_0x2c23f1[_0x2982a1];return _0x2e069e;}const e={'editHistory':{'panel':{'title':_0x50068f(0x13c),'unknownUser':_0x50068f(0x12b),'listFetchError':_0x50068f(0x13f),'revertConfirm':_0x50068f(0x130),'revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':_0x50068f(0x131),'confirm':_0x50068f(0x142),'reverting':_0x50068f(0x13e),'revertFailed':_0x50068f(0x139),'currentVersion':'Current\x20Version','currentUser':_0x50068f(0x148),'revertDesc':_0x50068f(0x144)},'info':{'loading':_0x50068f(0x146)},'header':{'back':'Back','revert':_0x50068f(0x144)},'action':{'insertSheet':_0x50068f(0x129),'removeSheet':_0x50068f(0x141),'createSheet':_0x50068f(0x147),'setFilter':'set\x20filter','setFrozen':'set\x20frozen','editSheet':_0x50068f(0x133),'revertSheet':_0x50068f(0x140),'revertSheetPrefix':_0x50068f(0x12c),'revertSheetSuffix':'','setDV':_0x50068f(0x136),'setCF':_0x50068f(0x149),'addCF':_0x50068f(0x134),'addProtection':_0x50068f(0x12e),'addSparkline':'add\x20sparkline','insertChart':_0x50068f(0x13b),'deleteProtection':_0x50068f(0x12f),'etc':',\x20etc.'}}},t=e;export{t as default};
1
+ const _0x526109=_0x2fc1;(function(_0x1bde9a,_0x2e034e){const _0x3efa1b=_0x2fc1,_0x4b14e0=_0x1bde9a();while(!![]){try{const _0x4168db=-parseInt(_0x3efa1b(0xbe))/0x1*(parseInt(_0x3efa1b(0xc3))/0x2)+-parseInt(_0x3efa1b(0xd8))/0x3+-parseInt(_0x3efa1b(0xc1))/0x4+-parseInt(_0x3efa1b(0xc8))/0x5*(parseInt(_0x3efa1b(0xbf))/0x6)+parseInt(_0x3efa1b(0xc0))/0x7+-parseInt(_0x3efa1b(0xce))/0x8+parseInt(_0x3efa1b(0xcd))/0x9;if(_0x4168db===_0x2e034e)break;else _0x4b14e0['push'](_0x4b14e0['shift']());}catch(_0x1812f7){_0x4b14e0['push'](_0x4b14e0['shift']());}}}(_0x16ec,0xf1615));const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':_0x526109(0xc6),'listFetchError':_0x526109(0xbd),'revertConfirm':_0x526109(0xc4),'revertConfirmText':_0x526109(0xc2),'cancel':'Cancel','confirm':_0x526109(0xd1),'reverting':_0x526109(0xd5),'revertFailed':_0x526109(0xcf),'currentVersion':_0x526109(0xbc),'currentUser':_0x526109(0xd6),'revertDesc':_0x526109(0xca)},'info':{'loading':_0x526109(0xcc)},'header':{'back':_0x526109(0xd3),'revert':_0x526109(0xca)},'action':{'insertSheet':'inserted\x20worksheet','removeSheet':_0x526109(0xdd),'createSheet':_0x526109(0xd0),'setFilter':_0x526109(0xd2),'setFrozen':_0x526109(0xdb),'editSheet':_0x526109(0xd7),'revertSheet':_0x526109(0xd4),'revertSheetPrefix':_0x526109(0xc5),'revertSheetSuffix':'','setDV':_0x526109(0xcb),'setCF':_0x526109(0xc9),'addCF':'add\x20conditional\x20formatting','addProtection':_0x526109(0xc7),'addSparkline':_0x526109(0xdc),'insertChart':_0x526109(0xd9),'deleteProtection':_0x526109(0xda),'etc':',\x20etc.'}}},t=e;function _0x2fc1(_0x2cc2c4,_0x442eb8){_0x2cc2c4=_0x2cc2c4-0xbc;const _0x16ecb9=_0x16ec();let _0x2fc194=_0x16ecb9[_0x2cc2c4];return _0x2fc194;}function _0x16ec(){const _0x5a9f5b=['reverted\x20workbook','Reverting,\x20please\x20wait...','Current\x20User','edited\x20worksheet','5562129SUAlhR','inserted\x20chart','delete\x20protection','set\x20frozen','add\x20sparkline','deleted\x20worksheet','Current\x20Version','Failed\x20to\x20get\x20edit\x20history\x20list','1904639NPmmFn','6vTaTBb','4906321sTotIv','1078588KyemlO','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','2hqIHkv','Restore\x20this\x20version?','Reverted\x20from','Unknown\x20User','add\x20protection','4102850rRCXdD','set\x20conditional\x20formatting','Restore\x20this\x20version','set\x20data\x20validation','loading,\x20please\x20wait...','61580916dsOJhL','13645080sLRftr','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','created\x20workbook','Confirm','set\x20filter','Back'];_0x16ec=function(){return _0x5a9f5b;};return _0x16ec();}export{t as default};
@@ -1 +1 @@
1
- function _0x3e74(_0x20878e,_0x813e03){_0x20878e=_0x20878e-0xc9;const _0x12bca2=_0x12bc();let _0x3e7446=_0x12bca2[_0x20878e];return _0x3e7446;}const _0x415e9f=_0x3e74;(function(_0xc31e7d,_0x5a0148){const _0x30ab47=_0x3e74,_0x9113c6=_0xc31e7d();while(!![]){try{const _0x3bfd23=parseInt(_0x30ab47(0xd2))/0x1+parseInt(_0x30ab47(0xdd))/0x2*(parseInt(_0x30ab47(0xe0))/0x3)+-parseInt(_0x30ab47(0xd0))/0x4*(parseInt(_0x30ab47(0xe9))/0x5)+-parseInt(_0x30ab47(0xe1))/0x6+parseInt(_0x30ab47(0xda))/0x7*(parseInt(_0x30ab47(0xe5))/0x8)+parseInt(_0x30ab47(0xd6))/0x9+parseInt(_0x30ab47(0xd4))/0xa*(-parseInt(_0x30ab47(0xd9))/0xb);if(_0x3bfd23===_0x5a0148)break;else _0x9113c6['push'](_0x9113c6['shift']());}catch(_0x2410ed){_0x9113c6['push'](_0x9113c6['shift']());}}}(_0x12bc,0x39f07));const e={'editHistory':{'panel':{'title':_0x415e9f(0xd7),'unknownUser':_0x415e9f(0xe6),'listFetchError':_0x415e9f(0xdb),'revertConfirm':_0x415e9f(0xe7),'revertConfirmText':_0x415e9f(0xd5),'cancel':_0x415e9f(0xdc),'confirm':_0x415e9f(0xd8),'reverting':_0x415e9f(0xe8),'revertFailed':'خطای\x20ناشناخته،\x20لطفا\x20صفحه\x20را\x20بارگذاری\x20مجدد\x20کنید\x20تا\x20نتیجه\x20بازگردانی\x20را\x20مشاهده\x20کنید','currentVersion':_0x415e9f(0xcd),'currentUser':_0x415e9f(0xeb),'revertDesc':_0x415e9f(0xcf)},'info':{'loading':_0x415e9f(0xe3)},'header':{'back':'بازگشت','revert':_0x415e9f(0xcf)},'action':{'insertSheet':_0x415e9f(0xd3),'removeSheet':_0x415e9f(0xe2),'createSheet':_0x415e9f(0xd1),'setFilter':_0x415e9f(0xdf),'setFrozen':_0x415e9f(0xc9),'editSheet':'ورق\x20کاری\x20ویرایش\x20شده','revertSheet':_0x415e9f(0xea),'revertSheetPrefix':'بازگردانی\x20از','revertSheetSuffix':'','setDV':_0x415e9f(0xca),'setCF':_0x415e9f(0xcb),'addCF':_0x415e9f(0xde),'addProtection':_0x415e9f(0xe4),'addSparkline':'افزودن\x20نمودار\x20کوچک','insertChart':_0x415e9f(0xcc),'deleteProtection':_0x415e9f(0xce),'etc':'،\x20و\x20غیره'}}};export{e as default};function _0x12bc(){const _0x58f6e5=['422887zbwvcX','ورق\x20کاری\x20اضافه\x20شده','6860kCrMoa','این\x20سند\x20به\x20نسخه\x20انتخاب\x20شده\x20بازگردانده\x20خواهد\x20شد','558387GpXuaS','تاریخچه\x20ویرایش','تایید','1419QAAvfi','6286GIWWpN','دریافت\x20لیست\x20تاریخچه\x20ویرایش\x20ناموفق\x20بود','لغو','10TuuWhu','افزودن\x20قالب\x20بندی\x20شرطی','تنظیم\x20فیلتر','126318WtDFrL','174096oNqVrd','ورق\x20کاری\x20حذف\x20شده','در\x20حال\x20بارگذاری،\x20لطفا\x20صبر\x20کنید...','افزودن\x20حفاظت','584YKKdQm','کاربر\x20ناشناخته','این\x20نسخه\x20را\x20بازگردانی\x20کنید؟','در\x20حال\x20بازگردانی،\x20لطفا\x20صبر\x20کنید...','15QODpir','ورق\x20کاری\x20بازگردانی\x20شده','کاربر\x20فعلی','تنظیم\x20منجمد','تنظیم\x20اعتبار\x20سنجی\x20داده','تنظیم\x20قالب\x20بندی\x20شرطی','نمودار\x20وارد\x20شده','نسخه\x20فعلی','حذف\x20حفاظت','بازگردانی\x20این\x20نسخه','541580habicC','ورق\x20کاری\x20ایجاد\x20شده'];_0x12bc=function(){return _0x58f6e5;};return _0x12bc();}
1
+ function _0x129d(_0x1bab1f,_0x3a4817){_0x1bab1f=_0x1bab1f-0x70;const _0x4ceb0f=_0x4ceb();let _0x129d1e=_0x4ceb0f[_0x1bab1f];return _0x129d1e;}const _0x3a01df=_0x129d;(function(_0x2b1d91,_0x958d2){const _0x170ec0=_0x129d,_0x24a3e3=_0x2b1d91();while(!![]){try{const _0x63d33e=-parseInt(_0x170ec0(0x73))/0x1+-parseInt(_0x170ec0(0x86))/0x2+-parseInt(_0x170ec0(0x74))/0x3*(-parseInt(_0x170ec0(0x78))/0x4)+parseInt(_0x170ec0(0x8b))/0x5+parseInt(_0x170ec0(0x8f))/0x6*(parseInt(_0x170ec0(0x8d))/0x7)+-parseInt(_0x170ec0(0x76))/0x8+-parseInt(_0x170ec0(0x8c))/0x9;if(_0x63d33e===_0x958d2)break;else _0x24a3e3['push'](_0x24a3e3['shift']());}catch(_0x13a1f6){_0x24a3e3['push'](_0x24a3e3['shift']());}}}(_0x4ceb,0x5b842));const e={'editHistory':{'panel':{'title':_0x3a01df(0x87),'unknownUser':_0x3a01df(0x90),'listFetchError':'دریافت\x20لیست\x20تاریخچه\x20ویرایش\x20ناموفق\x20بود','revertConfirm':_0x3a01df(0x70),'revertConfirmText':_0x3a01df(0x79),'cancel':_0x3a01df(0x89),'confirm':_0x3a01df(0x88),'reverting':_0x3a01df(0x84),'revertFailed':'خطای\x20ناشناخته،\x20لطفا\x20صفحه\x20را\x20بارگذاری\x20مجدد\x20کنید\x20تا\x20نتیجه\x20بازگردانی\x20را\x20مشاهده\x20کنید','currentVersion':_0x3a01df(0x7c),'currentUser':_0x3a01df(0x71),'revertDesc':_0x3a01df(0x7f)},'info':{'loading':_0x3a01df(0x8e)},'header':{'back':_0x3a01df(0x85),'revert':'بازگردانی\x20این\x20نسخه'},'action':{'insertSheet':_0x3a01df(0x75),'removeSheet':_0x3a01df(0x7e),'createSheet':_0x3a01df(0x77),'setFilter':_0x3a01df(0x91),'setFrozen':_0x3a01df(0x7b),'editSheet':_0x3a01df(0x72),'revertSheet':_0x3a01df(0x83),'revertSheetPrefix':_0x3a01df(0x7a),'revertSheetSuffix':'','setDV':'تنظیم\x20اعتبار\x20سنجی\x20داده','setCF':'تنظیم\x20قالب\x20بندی\x20شرطی','addCF':'افزودن\x20قالب\x20بندی\x20شرطی','addProtection':_0x3a01df(0x7d),'addSparkline':_0x3a01df(0x8a),'insertChart':_0x3a01df(0x81),'deleteProtection':_0x3a01df(0x80),'etc':_0x3a01df(0x82)}}};export{e as default};function _0x4ceb(){const _0x283f70=['در\x20حال\x20بارگذاری،\x20لطفا\x20صبر\x20کنید...','84jwbHgM','کاربر\x20ناشناخته','تنظیم\x20فیلتر','این\x20نسخه\x20را\x20بازگردانی\x20کنید؟','کاربر\x20فعلی','ورق\x20کاری\x20ویرایش\x20شده','699674ahjHIK','3MgQdOg','ورق\x20کاری\x20اضافه\x20شده','1795512jYOJgS','ورق\x20کاری\x20ایجاد\x20شده','688360GvFQcm','این\x20سند\x20به\x20نسخه\x20انتخاب\x20شده\x20بازگردانده\x20خواهد\x20شد','بازگردانی\x20از','تنظیم\x20منجمد','نسخه\x20فعلی','افزودن\x20حفاظت','ورق\x20کاری\x20حذف\x20شده','بازگردانی\x20این\x20نسخه','حذف\x20حفاظت','نمودار\x20وارد\x20شده','،\x20و\x20غیره','ورق\x20کاری\x20بازگردانی\x20شده','در\x20حال\x20بازگردانی،\x20لطفا\x20صبر\x20کنید...','بازگشت','490604xaHdVq','تاریخچه\x20ویرایش','تایید','لغو','افزودن\x20نمودار\x20کوچک','3419880CbcIzy','279459EmCHqr','359625OoeFbU'];_0x4ceb=function(){return _0x283f70;};return _0x4ceb();}
@@ -1 +1 @@
1
- const _0x285244=_0x435e;(function(_0x28ed3a,_0x2f6eae){const _0x540353=_0x435e,_0x55bef0=_0x28ed3a();while(!![]){try{const _0x31418c=parseInt(_0x540353(0x1d0))/0x1*(-parseInt(_0x540353(0x1bb))/0x2)+-parseInt(_0x540353(0x1c5))/0x3+parseInt(_0x540353(0x1d2))/0x4+-parseInt(_0x540353(0x1bc))/0x5*(parseInt(_0x540353(0x1c8))/0x6)+-parseInt(_0x540353(0x1cf))/0x7*(parseInt(_0x540353(0x1d9))/0x8)+parseInt(_0x540353(0x1dd))/0x9*(-parseInt(_0x540353(0x1cc))/0xa)+parseInt(_0x540353(0x1d8))/0xb;if(_0x31418c===_0x2f6eae)break;else _0x55bef0['push'](_0x55bef0['shift']());}catch(_0x47503a){_0x55bef0['push'](_0x55bef0['shift']());}}}(_0x2c56,0x2c4fb));function _0x2c56(){const _0x589efd=['Current\x20Version','add\x20sparkline','Unknown\x20User','Failed\x20to\x20get\x20edit\x20history\x20list','499245NiSlWg','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','inserted\x20chart','162786CiWvtv','add\x20protection','Reverted\x20from','Restore\x20this\x20version?','10ysvGOg','add\x20conditional\x20formatting','Current\x20User','315812NIfjaS','3eGvNKI','Restore\x20this\x20version','539688pQNrQh','created\x20workbook','edited\x20worksheet','Reverting,\x20please\x20wait...','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','inserted\x20worksheet','5291517PUCOIH','8psZiLh','Edit\x20History','Back','set\x20data\x20validation','916479kekzCP','Confirm','deleted\x20worksheet','44564LSqVwC','10pZjUxQ','set\x20filter','Cancel','reverted\x20workbook','delete\x20protection'];_0x2c56=function(){return _0x589efd;};return _0x2c56();}function _0x435e(_0xa6df26,_0x2b72d2){_0xa6df26=_0xa6df26-0x1bb;const _0x2c56d7=_0x2c56();let _0x435e82=_0x2c56d7[_0xa6df26];return _0x435e82;}const e={'editHistory':{'panel':{'title':_0x285244(0x1da),'unknownUser':_0x285244(0x1c3),'listFetchError':_0x285244(0x1c4),'revertConfirm':_0x285244(0x1cb),'revertConfirmText':_0x285244(0x1c6),'cancel':_0x285244(0x1be),'confirm':_0x285244(0x1de),'reverting':_0x285244(0x1d5),'revertFailed':_0x285244(0x1d6),'currentVersion':_0x285244(0x1c1),'currentUser':_0x285244(0x1ce),'revertDesc':'Restore\x20this\x20version'},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':_0x285244(0x1db),'revert':_0x285244(0x1d1)},'action':{'insertSheet':_0x285244(0x1d7),'removeSheet':_0x285244(0x1df),'createSheet':_0x285244(0x1d3),'setFilter':_0x285244(0x1bd),'setFrozen':'set\x20frozen','editSheet':_0x285244(0x1d4),'revertSheet':_0x285244(0x1bf),'revertSheetPrefix':_0x285244(0x1ca),'revertSheetSuffix':'','setDV':_0x285244(0x1dc),'setCF':'set\x20conditional\x20formatting','addCF':_0x285244(0x1cd),'addProtection':_0x285244(0x1c9),'addSparkline':_0x285244(0x1c2),'insertChart':_0x285244(0x1c7),'deleteProtection':_0x285244(0x1c0),'etc':',\x20etc.'}}},t=e;export{t as default};
1
+ const _0x285b14=_0x19ad;(function(_0x51d4a0,_0x1802a2){const _0x4eabed=_0x19ad,_0x58c985=_0x51d4a0();while(!![]){try{const _0x527af6=parseInt(_0x4eabed(0x91))/0x1+parseInt(_0x4eabed(0xab))/0x2*(parseInt(_0x4eabed(0xa1))/0x3)+parseInt(_0x4eabed(0xa0))/0x4+-parseInt(_0x4eabed(0x9a))/0x5*(parseInt(_0x4eabed(0x9e))/0x6)+-parseInt(_0x4eabed(0xa2))/0x7*(-parseInt(_0x4eabed(0x90))/0x8)+parseInt(_0x4eabed(0x96))/0x9+-parseInt(_0x4eabed(0xa5))/0xa;if(_0x527af6===_0x1802a2)break;else _0x58c985['push'](_0x58c985['shift']());}catch(_0x4e72c3){_0x58c985['push'](_0x58c985['shift']());}}}(_0x37e0,0xa0959));const e={'editHistory':{'panel':{'title':_0x285b14(0x94),'unknownUser':_0x285b14(0xa3),'listFetchError':_0x285b14(0x9f),'revertConfirm':_0x285b14(0xaa),'revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':'Cancel','confirm':_0x285b14(0x99),'reverting':_0x285b14(0xa7),'revertFailed':_0x285b14(0xa6),'currentVersion':_0x285b14(0x95),'currentUser':_0x285b14(0xac),'revertDesc':'Restore\x20this\x20version'},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':_0x285b14(0x98),'revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0x285b14(0xa4),'removeSheet':_0x285b14(0xa9),'createSheet':'created\x20workbook','setFilter':'set\x20filter','setFrozen':_0x285b14(0x92),'editSheet':_0x285b14(0x93),'revertSheet':'reverted\x20workbook','revertSheetPrefix':_0x285b14(0x9c),'revertSheetSuffix':'','setDV':_0x285b14(0xae),'setCF':_0x285b14(0x97),'addCF':_0x285b14(0x9b),'addProtection':_0x285b14(0xad),'addSparkline':'add\x20sparkline','insertChart':_0x285b14(0xa8),'deleteProtection':'delete\x20protection','etc':_0x285b14(0x9d)}}},t=e;function _0x19ad(_0x10eb87,_0x139751){_0x10eb87=_0x10eb87-0x90;const _0x37e072=_0x37e0();let _0x19ad77=_0x37e072[_0x10eb87];return _0x19ad77;}export{t as default};function _0x37e0(){const _0x3e550f=['edited\x20worksheet','Edit\x20History','Current\x20Version','4070853PWeaLE','set\x20conditional\x20formatting','Back','Confirm','95zndGhv','add\x20conditional\x20formatting','Reverted\x20from',',\x20etc.','162108mIvflm','Failed\x20to\x20get\x20edit\x20history\x20list','5099560EaLBkD','15oxcpcE','7eXyIkA','Unknown\x20User','inserted\x20worksheet','28735890kxGSWP','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Reverting,\x20please\x20wait...','inserted\x20chart','deleted\x20worksheet','Restore\x20this\x20version?','101068EjiIru','Current\x20User','add\x20protection','set\x20data\x20validation','10019624ZClBQE','812354TAwbqX','set\x20frozen'];_0x37e0=function(){return _0x3e550f;};return _0x37e0();}
@@ -1 +1 @@
1
- const _0x57323b=_0x26a5;function _0x2a4b(){const _0x1e5d84=['このバージョンを復元','45918tCdpLk','1724760UByNFF','復元元:','2046aVVKbO','保護を追加','136jVCNcQ','ワークシートを削除','8383837XISCkV','5714394HRwoUe','現在のバージョン','チャートを挿入','フィルターを設定','編集履歴リストの取得に失敗しました','保護を削除','ワークシートを編集','不明なユーザー','キャンセル','データの入力規則を設定','不明なエラーが発生しました。ページを更新して復元結果を確認してください','57250TKDbEJ','復元中です。お待ちください...','条件付き書式を追加','15827myiZGM','2gHPYhV','3896ogdAdX'];_0x2a4b=function(){return _0x1e5d84;};return _0x2a4b();}function _0x26a5(_0x3c2689,_0x284268){_0x3c2689=_0x3c2689-0x8d;const _0x2a4bef=_0x2a4b();let _0x26a560=_0x2a4bef[_0x3c2689];return _0x26a560;}(function(_0x4bbf6d,_0x2b1b8f){const _0x118661=_0x26a5,_0x40ffdd=_0x4bbf6d();while(!![]){try{const _0x199c9e=-parseInt(_0x118661(0x97))/0x1*(parseInt(_0x118661(0x98))/0x2)+-parseInt(_0x118661(0x9e))/0x3*(-parseInt(_0x118661(0x99))/0x4)+parseInt(_0x118661(0x9c))/0x5+parseInt(_0x118661(0xa3))/0x6+-parseInt(_0x118661(0xa2))/0x7+-parseInt(_0x118661(0xa0))/0x8*(parseInt(_0x118661(0x9b))/0x9)+-parseInt(_0x118661(0x94))/0xa;if(_0x199c9e===_0x2b1b8f)break;else _0x40ffdd['push'](_0x40ffdd['shift']());}catch(_0x3e876b){_0x40ffdd['push'](_0x40ffdd['shift']());}}}(_0x2a4b,0xa011a));const e={'editHistory':{'panel':{'title':'編集履歴','unknownUser':_0x57323b(0x90),'listFetchError':_0x57323b(0x8d),'revertConfirm':'このバージョンを復元しますか?','revertConfirmText':'このドキュメントは選択したバージョンに戻ります','cancel':_0x57323b(0x91),'confirm':'確認','reverting':_0x57323b(0x95),'revertFailed':_0x57323b(0x93),'currentVersion':_0x57323b(0xa4),'currentUser':'現在のユーザー','revertDesc':'このバージョンを復元'},'info':{'loading':'読み込み中です。お待ちください...'},'header':{'back':'戻る','revert':_0x57323b(0x9a)},'action':{'insertSheet':'ワークシートを挿入','removeSheet':_0x57323b(0xa1),'createSheet':'ブックを作成','setFilter':_0x57323b(0xa6),'setFrozen':'ウィンドウ枠を固定','editSheet':_0x57323b(0x8f),'revertSheet':'ブックを復元','revertSheetPrefix':_0x57323b(0x9d),'revertSheetSuffix':'','setDV':_0x57323b(0x92),'setCF':'条件付き書式を設定','addCF':_0x57323b(0x96),'addProtection':_0x57323b(0x9f),'addSparkline':'スパークラインを追加','insertChart':_0x57323b(0xa5),'deleteProtection':_0x57323b(0x8e),'etc':'など'}}};export{e as default};
1
+ const _0x2abba0=_0x5efc;(function(_0x4eb88f,_0x800886){const _0x2b97be=_0x5efc,_0x2035bc=_0x4eb88f();while(!![]){try{const _0x526c90=parseInt(_0x2b97be(0x12d))/0x1+parseInt(_0x2b97be(0x13f))/0x2*(-parseInt(_0x2b97be(0x141))/0x3)+-parseInt(_0x2b97be(0x138))/0x4*(-parseInt(_0x2b97be(0x127))/0x5)+-parseInt(_0x2b97be(0x136))/0x6+parseInt(_0x2b97be(0x13d))/0x7*(parseInt(_0x2b97be(0x129))/0x8)+-parseInt(_0x2b97be(0x12b))/0x9+parseInt(_0x2b97be(0x131))/0xa;if(_0x526c90===_0x800886)break;else _0x2035bc['push'](_0x2035bc['shift']());}catch(_0x16313f){_0x2035bc['push'](_0x2035bc['shift']());}}}(_0x32ae,0x592c9));function _0x32ae(){const _0x3259d8=['ワークシートを編集','ブックを作成','5JoyVlt','不明なエラーが発生しました。ページを更新して復元結果を確認してください','1056KUYAUC','ブックを復元','1065681fYvHZU','現在のバージョン','213710sKUAoO','読み込み中です。お待ちください...','このバージョンを復元しますか?','編集履歴リストの取得に失敗しました','524670uBBzUD','スパークラインを追加','データの入力規則を設定','フィルターを設定','ウィンドウ枠を固定','2841558KuZLUy','現在のユーザー','2154964ENWhIC','ワークシートを挿入','保護を削除','このバージョンを復元','編集履歴','33922SmZFGV','キャンセル','74974cXDmNr','保護を追加','39oIHokz','チャートを挿入'];_0x32ae=function(){return _0x3259d8;};return _0x32ae();}function _0x5efc(_0x380076,_0x16a471){_0x380076=_0x380076-0x126;const _0x32ae2f=_0x32ae();let _0x5efc3c=_0x32ae2f[_0x380076];return _0x5efc3c;}const e={'editHistory':{'panel':{'title':_0x2abba0(0x13c),'unknownUser':'不明なユーザー','listFetchError':_0x2abba0(0x130),'revertConfirm':_0x2abba0(0x12f),'revertConfirmText':'このドキュメントは選択したバージョンに戻ります','cancel':_0x2abba0(0x13e),'confirm':'確認','reverting':'復元中です。お待ちください...','revertFailed':_0x2abba0(0x128),'currentVersion':_0x2abba0(0x12c),'currentUser':_0x2abba0(0x137),'revertDesc':_0x2abba0(0x13b)},'info':{'loading':_0x2abba0(0x12e)},'header':{'back':'戻る','revert':_0x2abba0(0x13b)},'action':{'insertSheet':_0x2abba0(0x139),'removeSheet':'ワークシートを削除','createSheet':_0x2abba0(0x126),'setFilter':_0x2abba0(0x134),'setFrozen':_0x2abba0(0x135),'editSheet':_0x2abba0(0x143),'revertSheet':_0x2abba0(0x12a),'revertSheetPrefix':'復元元:','revertSheetSuffix':'','setDV':_0x2abba0(0x133),'setCF':'条件付き書式を設定','addCF':'条件付き書式を追加','addProtection':_0x2abba0(0x140),'addSparkline':_0x2abba0(0x132),'insertChart':_0x2abba0(0x142),'deleteProtection':_0x2abba0(0x13a),'etc':'など'}}};export{e as default};