@univerjs-pro/edit-history-viewer 0.8.0-nightly.202506081606 → 0.8.0-nightly.202506091607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x314120=_0x4b5b;function _0x2f80(){const _0x477859=['Reverted\x20from','Current\x20Version',',\x20etc.','inserted\x20worksheet','deleted\x20worksheet','45120NhTKAX','add\x20protection','4208016SyIedH','Back','edited\x20worksheet','created\x20workbook','set\x20frozen','2428452BHputf','set\x20filter','set\x20conditional\x20formatting','9AAZWBm','Restore\x20this\x20version?','Unknown\x20User','add\x20sparkline','Current\x20User','exports','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Reverting,\x20please\x20wait...','3633651jbbOYb','Cancel','18VVFHGY','Edit\x20History','1080030WyLJoZ','124792hRSglc','485402tkvnYt'];_0x2f80=function(){return _0x477859;};return _0x2f80();}(function(_0x2fc82a,_0x21547a){const _0x51ae18=_0x4b5b,_0x397654=_0x2fc82a();while(!![]){try{const _0x322bd9=parseInt(_0x51ae18(0x14b))/0x1+-parseInt(_0x51ae18(0x151))/0x2+-parseInt(_0x51ae18(0x15b))/0x3*(parseInt(_0x51ae18(0x14a))/0x4)+-parseInt(_0x51ae18(0x149))/0x5+-parseInt(_0x51ae18(0x158))/0x6+-parseInt(_0x51ae18(0x163))/0x7+-parseInt(_0x51ae18(0x153))/0x8*(-parseInt(_0x51ae18(0x165))/0x9);if(_0x322bd9===_0x21547a)break;else _0x397654['push'](_0x397654['shift']());}catch(_0x5b77bf){_0x397654['push'](_0x397654['shift']());}}}(_0x2f80,0x44b43));function _0x4b5b(_0x158394,_0x54c886){const _0x2f80c4=_0x2f80();return _0x4b5b=function(_0x4b5b58,_0xd2794f){_0x4b5b58=_0x4b5b58-0x149;let _0xd988ca=_0x2f80c4[_0x4b5b58];return _0xd988ca;},_0x4b5b(_0x158394,_0x54c886);}const e={'editHistory':{'panel':{'title':_0x314120(0x166),'unknownUser':_0x314120(0x15d),'listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list','revertConfirm':_0x314120(0x15c),'revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':_0x314120(0x164),'confirm':'Confirm','reverting':_0x314120(0x162),'revertFailed':_0x314120(0x161),'currentVersion':_0x314120(0x14d),'currentUser':_0x314120(0x15f),'revertDesc':'Restore\x20this\x20version'},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':_0x314120(0x154),'revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0x314120(0x14f),'removeSheet':_0x314120(0x150),'createSheet':_0x314120(0x156),'setFilter':_0x314120(0x159),'setFrozen':_0x314120(0x157),'editSheet':_0x314120(0x155),'revertSheet':'reverted\x20workbook','revertSheetPrefix':_0x314120(0x14c),'revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':_0x314120(0x15a),'addCF':'add\x20conditional\x20formatting','addProtection':_0x314120(0x152),'addSparkline':_0x314120(0x15e),'deleteProtection':'delete\x20protection','etc':_0x314120(0x14e)}}},t=e;module[_0x314120(0x160)]=t;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x39f7f0=_0x105e;(function(_0x3fc8a5,_0x487577){const _0x52b9b9=_0x105e,_0x415148=_0x3fc8a5();while(!![]){try{const _0x1c7ef0=-parseInt(_0x52b9b9(0x155))/0x1+-parseInt(_0x52b9b9(0xff))/0x2*(parseInt(_0x52b9b9(0x134))/0x3)+-parseInt(_0x52b9b9(0x24f))/0x4*(-parseInt(_0x52b9b9(0x234))/0x5)+-parseInt(_0x52b9b9(0x1ad))/0x6*(-parseInt(_0x52b9b9(0x273))/0x7)+parseInt(_0x52b9b9(0x1c8))/0x8+-parseInt(_0x52b9b9(0x196))/0x9*(-parseInt(_0x52b9b9(0xca))/0xa)+parseInt(_0x52b9b9(0x270))/0xb;if(_0x1c7ef0===_0x487577)break;else _0x415148['push'](_0x415148['shift']());}catch(_0x143b93){_0x415148['push'](_0x415148['shift']());}}}(_0x5a07,0x214b9));var He=Object['defineProperty'],je=(_0x2b23d5,_0x8ccb56,_0x3401cd)=>_0x8ccb56 in _0x2b23d5?He(_0x2b23d5,_0x8ccb56,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3401cd}):_0x2b23d5[_0x8ccb56]=_0x3401cd,l=(_0x3aa082,_0x14bb0b,_0x177425)=>je(_0x3aa082,typeof _0x14bb0b!=_0x39f7f0(0x130)?_0x14bb0b+'':_0x14bb0b,_0x177425);import{RevertRevisionMutation as _0x60115f,CreateUnitMutation as _0x4d8c1d,ISnapshotServerService as _0x4a2eeb,CompressMutationService as _0x5d5bbb,transformSnapshotToWorkbookData as _0x40ad8c,ITransformService as _0x92f6e7,parseProtocolChangeset as _0x41cde1,isTransformMutationsSuccess as _0x1149b6}from'@univerjs-pro/collaboration';import{SnapshotServerOverHTTPService as _0x32be97,CollaborationImageIoService as _0x1f2e93}from'@univerjs-pro/collaboration-client';import{Disposable as _0x160471,LocaleType as _0x3f539b,IUniverInstanceService as _0x367c5c,ICommandService as _0x35d18d,IConfigService as _0x1b3ac6,Inject as _0x26b596,UniverInstanceType as _0x557778,LocaleService as _0x144a4a,IPermissionService as _0x48a99b,Injector as _0x9be13e,ObjectMatrix as _0x27ecc0,debounce as _0x27e9ba,DisposableCollection as _0x475ca9,toDisposable as _0x5a356c,DependentOn as _0x36ae7e,Plugin as _0x50cad4,merge as _0x22e748}from'@univerjs/core';import{IImageIoService as _0x1e189b}from'@univerjs/drawing';import{IRenderManagerService as _0x3b85a2,Vector2 as _0x6f9748,SHEET_VIEWPORT_KEY as _0x5a0155}from'@univerjs/engine-render';import{HTTPService as _0x51f93c,UniverNetworkPlugin as _0x3bc885}from'@univerjs/network';import{ICellEditorManagerService as _0x2333e4,SheetSkeletonManagerService as _0x50153a,getCoordByCell as _0x15b882,getSheetObject as _0x4ac6c4,UniverSheetsUIPlugin as _0x11b010}from'@univerjs/sheets-ui';import{IMessageService as _0x19e7d0,IConfirmService as _0x2cdf38,useDependency as _0x23eaab,useObservable as _0x49be28,IUIPartsService as _0x501368,BuiltInUIPart as _0x2da1c9,connectInjector as _0x7eeaf,ISidebarService as _0x1d585e,ComponentManager as _0x58f4ee,IDialogService as _0x1300d2}from'@univerjs/ui';import{MessageType as _0x3bfe07,Button as _0x4d16d,clsx as _0x3dcca8,Tooltip as _0x2a16e3}from'@univerjs/design';import{InsertSheetMutation as _0x552d9c,RemoveSheetMutation as _0x5add54,SetFrozenMutation as _0x59ec64,AddWorksheetProtectionMutation as _0x20b81e,AddRangeProtectionMutation as _0x391f96,DeleteRangeProtectionMutation as _0x1b1ec7,DeleteWorksheetProtectionMutation as _0x1ccd93,WorkbookEditablePermission as _0x376816,WorkbookRenameSheetPermission as _0x34c292,WorkbookMoveSheetPermission as _0x15c6dd,WorkbookHideSheetPermission as _0x229c42,SetWorksheetHideMutation as _0xe47538,SetRangeValuesMutation as _0x4dd9b3,SetRangeProtectionMutation as _0x38c755,ReorderRangeMutation as _0x124f56,RemoveNumfmtMutation as _0x3ce175,SetNumfmtMutation as _0x527c0e,MoveColsMutation as _0x111c23,MoveRowsMutation as _0x3967f2,MoveRangeMutation as _0x38f059,InsertColMutation as _0x14145b,InsertRowMutation as _0x45364f,AddWorksheetMergeMutation as _0x2fe26f,RangeMergeUtil as _0x4cff5e,findAllRectangle as _0x57123b,SetWorksheetActiveOperation as _0x59276b}from'@univerjs/sheets';import{BehaviorSubject as _0x1c9d4a,combineLatest as _0x169766,switchMap as _0x5ee0b8,map as _0x38682a,of as _0x50a785,debounceTime as _0x53c9c6,Subject as _0x4556fe}from'rxjs';import{AddDataValidationMutation as _0xc516fd,UpdateDataValidationMutation as _0x22406e}from'@univerjs/data-validation';import{SetConditionalRuleMutation as _0x599820,AddConditionalRuleMutation as _0x24eec6}from'@univerjs/sheets-conditional-formatting';import{SetSheetsFilterRangeMutation as _0x3ad36d}from'@univerjs/sheets-filter';import{AddSheetSparklineMutation as _0x1af211}from'@univerjs-pro/sheets-sparkline';import{jsxs as _0x3f12c3,jsx as _0x1556e9}from'react/jsx-runtime';import{forwardRef as _0x3a9eac,useRef as _0x41ae79,createElement as _0xfcfa05,useCallback as _0x2805dc,useState as _0x2a3745,Fragment as _0x280a9c}from'react';import{SheetCollabCursorShape as _0x4d2000}from'@univerjs-pro/collaboration-client-ui';const we=_0x39f7f0(0x111),_e={};var ts=Object[_0x39f7f0(0x258)],ss=(_0x1b345f,_0xa26f5c,_0x51b022,_0x7b81bc)=>{const _0xec9b73=_0x39f7f0;for(var _0x1f6440=_0x7b81bc>0x1?void 0x0:_0x7b81bc?ts(_0xa26f5c,_0x51b022):_0xa26f5c,_0x460a0c=_0x1b345f[_0xec9b73(0x1fd)]-0x1,_0x54c345;_0x460a0c>=0x0;_0x460a0c--)(_0x54c345=_0x1b345f[_0x460a0c])&&(_0x1f6440=_0x54c345(_0x1f6440)||_0x1f6440);return _0x1f6440;},is=(_0x2e7794,_0x4e7b2b)=>(_0x4ef8ba,_0x51b609)=>_0x4e7b2b(_0x4ef8ba,_0x51b609,_0x2e7794);let H=class extends _0x160471{constructor(_0x11fec9){const _0x5c5056=_0x39f7f0;super(),this[_0x5c5056(0x110)]=_0x11fec9,this[_0x5c5056(0x237)]();}[_0x39f7f0(0x237)](){const _0x34f7b0=_0x39f7f0;this[_0x34f7b0(0x1ec)](this['_cellEditorManagerService'][_0x34f7b0(0xd6)][_0x34f7b0(0xdf)](_0x32dcfd=>{const _0x23cce3=_0x34f7b0;_0x32dcfd!=null&&_0x32dcfd[_0x23cce3(0x1dd)]&&this['_cellEditorManagerService'][_0x23cce3(0x1f7)]({'show':!0x1});}));}};function _0x105e(_0x167399,_0x4c018e){const _0x5a0718=_0x5a07();return _0x105e=function(_0x105ebc,_0x35ba26){_0x105ebc=_0x105ebc-0xca;let _0x1e4c8c=_0x5a0718[_0x105ebc];return _0x1e4c8c;},_0x105e(_0x167399,_0x4c018e);}H=ss([is(0x0,_0x2333e4)],H);var X=(_0xec7788=>(_0xec7788[_0xec7788['UNDEFINED']=0x0]=_0x39f7f0(0xd0),_0xec7788[_0xec7788['OK']=0x1]='OK',_0xec7788[_0xec7788[_0x39f7f0(0x18a)]=0x2]=_0x39f7f0(0x18a),_0xec7788[_0xec7788['PERMISSION_DENIED']=0x3]=_0x39f7f0(0x252),_0xec7788[_0xec7788[_0x39f7f0(0x199)]=0x4]=_0x39f7f0(0x199),_0xec7788[_0xec7788[_0x39f7f0(0x239)]=0x5]=_0x39f7f0(0x239),_0xec7788[_0xec7788[_0x39f7f0(0x165)]=0x6]=_0x39f7f0(0x165),_0xec7788[_0xec7788['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0xec7788[_0xec7788[_0x39f7f0(0x10c)]=0x8]=_0x39f7f0(0x10c),_0xec7788[_0xec7788[_0x39f7f0(0x20b)]=0x9]=_0x39f7f0(0x20b),_0xec7788[_0xec7788['LOGIN_FAILED']=0xa]=_0x39f7f0(0x151),_0xec7788[_0xec7788[_0x39f7f0(0x1b7)]=0x1389]=_0x39f7f0(0x1b7),_0xec7788[_0xec7788[_0x39f7f0(0x136)]=0x1771]=_0x39f7f0(0x136),_0xec7788[_0xec7788['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x39f7f0(0x1c4),_0xec7788[_0xec7788[_0x39f7f0(0x1d0)]=0x1773]=_0x39f7f0(0x1d0),_0xec7788[_0xec7788[_0x39f7f0(0x267)]=0x1b59]=_0x39f7f0(0x267),_0xec7788[_0xec7788['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x39f7f0(0x1e9),_0xec7788[_0xec7788[_0x39f7f0(0x1c6)]=0x1b5b]=_0x39f7f0(0x1c6),_0xec7788[_0xec7788['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x39f7f0(0x104),_0xec7788[_0xec7788[_0x39f7f0(0x269)]=0x1b5d]=_0x39f7f0(0x269),_0xec7788[_0xec7788[_0x39f7f0(0x251)]=0x1f41]=_0x39f7f0(0x251),_0xec7788[_0xec7788[_0x39f7f0(0x213)]=0x2329]=_0x39f7f0(0x213),_0xec7788[_0xec7788[_0x39f7f0(0x121)]=0x232a]=_0x39f7f0(0x121),_0xec7788[_0xec7788['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x39f7f0(0x1b2),_0xec7788[_0xec7788[_0x39f7f0(0x1a6)]=0x232c]=_0x39f7f0(0x1a6),_0xec7788[_0xec7788[_0x39f7f0(0x285)]=0x232d]=_0x39f7f0(0x285),_0xec7788[_0xec7788[_0x39f7f0(0x1fe)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xec7788[_0xec7788[_0x39f7f0(0x143)]=0x2712]=_0x39f7f0(0x143),_0xec7788[_0xec7788[_0x39f7f0(0x12a)]=0x2713]=_0x39f7f0(0x12a),_0xec7788[_0xec7788[_0x39f7f0(0x1f9)]=0x2714]=_0x39f7f0(0x1f9),_0xec7788[_0xec7788[_0x39f7f0(0x146)]=0x271a]=_0x39f7f0(0x146),_0xec7788[_0xec7788[_0x39f7f0(0x13d)]=0x271b]=_0x39f7f0(0x13d),_0xec7788[_0xec7788[_0x39f7f0(0x243)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0xec7788[_0xec7788[_0x39f7f0(0x190)]=0x271d]=_0x39f7f0(0x190),_0xec7788[_0xec7788[_0x39f7f0(0x17d)]=0x271e]=_0x39f7f0(0x17d),_0xec7788[_0xec7788[_0x39f7f0(0x15f)]=0x271f]='YUUMI_AI_RUN_FAILED',_0xec7788[_0xec7788[_0x39f7f0(0x126)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0xec7788[_0xec7788[_0x39f7f0(0x154)]=0x2ee1]=_0x39f7f0(0x154),_0xec7788[_0xec7788[_0x39f7f0(0x27d)]=0x2ee2]=_0x39f7f0(0x27d),_0xec7788[_0xec7788[_0x39f7f0(0x195)]=0x2ee3]=_0x39f7f0(0x195),_0xec7788[_0xec7788[_0x39f7f0(0x254)]=0x2ee4]='USER_NOT_INVITED_CODE',_0xec7788[_0xec7788[_0x39f7f0(0x180)]=0x2ee5]=_0x39f7f0(0x180),_0xec7788[_0xec7788[_0x39f7f0(0x171)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0xec7788[_0xec7788[_0x39f7f0(0xcb)]=0x32ca]=_0x39f7f0(0xcb),_0xec7788[_0xec7788[_0x39f7f0(0x13c)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0xec7788[_0xec7788[_0x39f7f0(0x25b)]=-0x1]=_0x39f7f0(0x25b),_0xec7788))(X||{}),j=(_0x56a664=>(_0x56a664[_0x56a664[_0x39f7f0(0x175)]=0x0]='UNIVER_UNKNOWN',_0x56a664[_0x56a664[_0x39f7f0(0x15d)]=0x1]=_0x39f7f0(0x15d),_0x56a664[_0x56a664[_0x39f7f0(0x19c)]=0x2]='UNIVER_SHEET',_0x56a664[_0x56a664['UNIVER_SLIDE']=0x3]=_0x39f7f0(0x1cc),_0x56a664[_0x56a664[_0x39f7f0(0xf4)]=0x4]=_0x39f7f0(0xf4),_0x56a664[_0x56a664[_0x39f7f0(0x25b)]=-0x1]='UNRECOGNIZED',_0x56a664))(j||{}),O=(_0x316b83=>(_0x316b83[_0x316b83['View']=0x0]=_0x39f7f0(0x1cb),_0x316b83[_0x316b83['Edit']=0x1]=_0x39f7f0(0x167),_0x316b83[_0x316b83[_0x39f7f0(0x253)]=0x2]=_0x39f7f0(0x253),_0x316b83[_0x316b83['Print']=0x3]=_0x39f7f0(0x1ed),_0x316b83[_0x316b83[_0x39f7f0(0x1f2)]=0x4]=_0x39f7f0(0x1f2),_0x316b83[_0x316b83[_0x39f7f0(0x231)]=0x5]='Comment',_0x316b83[_0x316b83[_0x39f7f0(0x1bb)]=0x6]=_0x39f7f0(0x1bb),_0x316b83[_0x316b83[_0x39f7f0(0x276)]=0x7]=_0x39f7f0(0x276),_0x316b83[_0x316b83['Export']=0x8]='Export',_0x316b83[_0x316b83[_0x39f7f0(0x189)]=0x9]=_0x39f7f0(0x189),_0x316b83[_0x316b83[_0x39f7f0(0x1b8)]=0xa]=_0x39f7f0(0x1b8),_0x316b83[_0x316b83[_0x39f7f0(0x280)]=0xb]=_0x39f7f0(0x280),_0x316b83[_0x316b83[_0x39f7f0(0x1bd)]=0xc]=_0x39f7f0(0x1bd),_0x316b83[_0x316b83['CreateWorksheet']=0xd]=_0x39f7f0(0x250),_0x316b83[_0x316b83[_0x39f7f0(0xe8)]=0xe]=_0x39f7f0(0xe8),_0x316b83[_0x316b83['EditWorksheetCell']=0xf]=_0x39f7f0(0x129),_0x316b83[_0x316b83['InsertHyperlink']=0x10]='InsertHyperlink',_0x316b83[_0x316b83['Sort']=0x11]=_0x39f7f0(0x16a),_0x316b83[_0x316b83['Filter']=0x12]=_0x39f7f0(0x14f),_0x316b83[_0x316b83[_0x39f7f0(0x1c0)]=0x13]=_0x39f7f0(0x1c0),_0x316b83[_0x316b83[_0x39f7f0(0x266)]=0x14]=_0x39f7f0(0x266),_0x316b83[_0x316b83[_0x39f7f0(0x246)]=0x15]=_0x39f7f0(0x246),_0x316b83[_0x316b83[_0x39f7f0(0xef)]=0x16]=_0x39f7f0(0xef),_0x316b83[_0x316b83[_0x39f7f0(0x1ea)]=0x17]='ViemRwHgtClWdt',_0x316b83[_0x316b83['ViewFilter']=0x18]=_0x39f7f0(0x1a8),_0x316b83[_0x316b83[_0x39f7f0(0x21d)]=0x19]='MoveSheet',_0x316b83[_0x316b83[_0x39f7f0(0x1dc)]=0x1a]=_0x39f7f0(0x1dc),_0x316b83[_0x316b83[_0x39f7f0(0x208)]=0x1b]=_0x39f7f0(0x208),_0x316b83[_0x316b83[_0x39f7f0(0x142)]=0x1c]=_0x39f7f0(0x142),_0x316b83[_0x316b83[_0x39f7f0(0x139)]=0x1d]=_0x39f7f0(0x139),_0x316b83[_0x316b83[_0x39f7f0(0x178)]=0x1e]=_0x39f7f0(0x178),_0x316b83[_0x316b83['SelectProtectedCells']=0x1f]=_0x39f7f0(0x224),_0x316b83[_0x316b83['SelectUnProtectedCells']=0x20]=_0x39f7f0(0x1f4),_0x316b83[_0x316b83[_0x39f7f0(0x149)]=0x21]='SetCellStyle',_0x316b83[_0x316b83[_0x39f7f0(0x15e)]=0x22]=_0x39f7f0(0x15e),_0x316b83[_0x316b83[_0x39f7f0(0x159)]=0x23]=_0x39f7f0(0x159),_0x316b83[_0x316b83[_0x39f7f0(0x20a)]=0x24]=_0x39f7f0(0x20a),_0x316b83[_0x316b83[_0x39f7f0(0x20f)]=0x25]=_0x39f7f0(0x20f),_0x316b83[_0x316b83[_0x39f7f0(0xf6)]=0x26]=_0x39f7f0(0xf6),_0x316b83[_0x316b83[_0x39f7f0(0x228)]=0x27]='DeleteRow',_0x316b83[_0x316b83['DeleteColumn']=0x28]='DeleteColumn',_0x316b83[_0x316b83[_0x39f7f0(0x1d7)]=0x29]=_0x39f7f0(0x1d7),_0x316b83[_0x316b83[_0x39f7f0(0xcc)]=0x2a]=_0x39f7f0(0xcc),_0x316b83[_0x316b83[_0x39f7f0(0x197)]=0x2b]=_0x39f7f0(0x197),_0x316b83[_0x316b83[_0x39f7f0(0x181)]=0x2c]=_0x39f7f0(0x181),_0x316b83[_0x316b83['CreatePermissionObject']=0x2d]=_0x39f7f0(0xeb),_0x316b83[_0x316b83[_0x39f7f0(0x25b)]=-0x1]=_0x39f7f0(0x25b),_0x316b83))(O||{});function rs(_0x5a2d21){const _0x3595fe=_0x39f7f0;return!!(_0x5a2d21&&_0x5a2d21[_0x3595fe(0x193)]&&_0x5a2d21[_0x3595fe(0x193)]!==X['OK']&&_0x5a2d21[_0x3595fe(0x193)]!=='OK');}const re=(_0x54d5ba,_0x177316)=>{const _0x257ccb=_0x39f7f0;if(!_0x54d5ba)return{'date':'','time':''};const _0x1990d4=new Date(_0x54d5ba),_0x5ae683=_0x1990d4[_0x257ccb(0xdc)]()['split']('T')[0x0];switch(_0x177316){case _0x3f539b[_0x257ccb(0x1db)]:return{'date':ee(_0x5ae683,_0x177316),'time':_0x1990d4[_0x257ccb(0x118)]()+':'+String(_0x1990d4['getMinutes']())[_0x257ccb(0x17c)](0x2,'0')};default:return{'date':ee(_0x5ae683,_0x177316),'time':_0x1990d4[_0x257ccb(0x118)]()+':'+_0x1990d4[_0x257ccb(0x100)]()};}},ns=(_0x519285,_0x2004a1)=>{const _0x3dda65=_0x39f7f0,_0x4de921=_0x519285['user']||_0x2004a1['t'](_0x3dda65(0x1ee));if(_0x519285['commands'][_0x3dda65(0x268)](_0x17c96d=>_0x17c96d===_0x60115f['id'])&&_0x519285[_0x3dda65(0x1fa)]){const _0x45576e=re(_0x519285['recoverTime'],_0x2004a1[_0x3dda65(0x1b9)]()),_0x348778=_0x45576e[_0x3dda65(0x272)]+'\x20'+_0x45576e[_0x3dda65(0x1f8)];return _0x4de921+'\x20'+_0x2004a1['t'](_0x3dda65(0x236))+'\x20'+_0x348778+'\x20'+_0x2004a1['t'](_0x3dda65(0x17a));}const _0x445a77=as(_0x519285),_0xaed4b7=_0x445a77[_0x3dda65(0x1fd)]===0x1?_0x2004a1['t'](_0x445a77[0x0]):''+_0x2004a1['t'](_0x445a77[0x0])+_0x2004a1['t']('editHistory.action.etc');return _0x4de921+'\x20'+_0xaed4b7;};function as(_0x5b0c84){const _0x386bcf=_0x39f7f0;if(_0x5b0c84['commands'][_0x386bcf(0x1fd)]===0x0)return[''];const _0x19b5c5=_0x386bcf(0x17f),_0x1c20c3=_0x19b5c5+_0x386bcf(0x204),_0x583109=[{'id':_0x4d8c1d['id'],'action':_0x19b5c5+_0x386bcf(0x19a)},{'id':_0x60115f['id'],'action':_0x19b5c5+_0x386bcf(0x27a)},{'id':_0x552d9c['id'],'action':_0x19b5c5+'insertSheet'},{'id':_0x5add54['id'],'action':_0x19b5c5+'removeSheet'},{'id':_0x59ec64['id'],'action':_0x19b5c5+_0x386bcf(0x20c)},{'id':_0x3ad36d['id'],'action':_0x19b5c5+_0x386bcf(0x1a0)},{'id':_0xc516fd['id'],'action':_0x19b5c5+_0x386bcf(0x257)},{'id':_0x22406e['id'],'action':_0x19b5c5+_0x386bcf(0x257)},{'id':_0x599820['id'],'action':_0x19b5c5+_0x386bcf(0x13a)},{'id':_0x24eec6['id'],'action':_0x19b5c5+_0x386bcf(0x13a)},{'id':_0x20b81e['id'],'action':_0x19b5c5+_0x386bcf(0x227)},{'id':_0x391f96['id'],'action':_0x19b5c5+'addProtection'},{'id':_0x1af211['id'],'action':_0x19b5c5+_0x386bcf(0x240)},{'id':_0x1b1ec7['id'],'action':_0x19b5c5+_0x386bcf(0x1e8)},{'id':_0x1ccd93['id'],'action':_0x19b5c5+_0x386bcf(0x1e8)}][_0x386bcf(0x287)](_0x5b7a44=>_0x5b0c84[_0x386bcf(0x158)][_0x386bcf(0x214)](_0x5b7a44['id']));return _0x583109!=null&&_0x583109[_0x386bcf(0x1fd)]?_0x583109[_0x386bcf(0x14c)](_0xa78ba7=>_0xa78ba7[_0x386bcf(0x160)]):[_0x1c20c3];}function ee(_0x5d20c7,_0x49a87f){const _0x7f3d8e=_0x39f7f0,[_0x1aaa51,_0x3140b3,_0x188eda]=new Date()['toISOString']()[_0x7f3d8e(0x219)]('T')[0x0][_0x7f3d8e(0x219)]('-'),[_0x38b6f1,_0x3cb957,_0x54bb1]=_0x5d20c7[_0x7f3d8e(0x219)]('-'),_0x3c29bd=_0x1aaa51===_0x38b6f1&&_0x3140b3===_0x3cb957&&_0x188eda===_0x54bb1;let _0x162525='',_0x190c41='',_0x41f157='';switch(_0x49a87f){case _0x3f539b[_0x7f3d8e(0x1db)]:return _0x3c29bd?'今天':(_0x162525=_0x1aaa51===_0x38b6f1?'':_0x38b6f1+'年',_0x190c41=_0x3cb957+'月',_0x41f157=_0x54bb1+'日',''+_0x162525+_0x190c41+_0x41f157);default:return _0x3c29bd?_0x7f3d8e(0xe4):(_0x162525=_0x1aaa51===_0x38b6f1?'':_0x38b6f1+'-',_0x190c41=_0x3cb957+'-',_0x41f157=''+_0x54bb1,''+_0x162525+_0x190c41+_0x41f157);}}function os(_0x19c2bb){const _0x50130d=_0x39f7f0;return _0x19c2bb?_0x19c2bb[_0x50130d(0xee)]((_0x1003e3,_0x556d0e)=>{const _0xbd0ae0=_0x50130d,_0x408db9=new Date(_0x556d0e['time'])['toISOString']()[_0xbd0ae0(0x219)]('T')[0x0];return _0x1003e3[_0xbd0ae0(0x1fd)]>0x0&&_0x1003e3[_0x1003e3[_0xbd0ae0(0x1fd)]-0x1]['dateString']===_0x408db9?_0x1003e3[_0x1003e3[_0xbd0ae0(0x1fd)]-0x1][_0xbd0ae0(0x15a)][_0xbd0ae0(0x124)](_0x556d0e):_0x1003e3[_0xbd0ae0(0x124)]({'dateString':_0x408db9,'versions':[_0x556d0e]}),_0x1003e3;},[]):[];}var cs=Object[_0x39f7f0(0x258)],ls=(_0xb13aa2,_0x553d3f,_0x34e749,_0x26e92a)=>{const _0x2e2824=_0x39f7f0;for(var _0x5d6a9c=_0x26e92a>0x1?void 0x0:_0x26e92a?cs(_0x553d3f,_0x34e749):_0x553d3f,_0x320e49=_0xb13aa2[_0x2e2824(0x1fd)]-0x1,_0x5c73a4;_0x320e49>=0x0;_0x320e49--)(_0x5c73a4=_0xb13aa2[_0x320e49])&&(_0x5d6a9c=_0x5c73a4(_0x5d6a9c)||_0x5d6a9c);return _0x5d6a9c;},D=(_0x5bdbfe,_0x1fa302)=>(_0x5c61b9,_0x54f907)=>_0x1fa302(_0x5c61b9,_0x54f907,_0x5bdbfe);const us=_0x39f7f0(0x12d);let B=class extends _0x160471{constructor(_0x3d7749,_0x348133,_0x3c9241,_0xfceb89,_0x3dd70a,_0x3679ca){const _0x444952=_0x39f7f0;super(),l(this,'_workbookDataCache',new Map()),(this[_0x444952(0xe5)]=_0x3d7749,this[_0x444952(0x13f)]=_0x348133,this[_0x444952(0x12f)]=_0x3c9241,this[_0x444952(0x1ae)]=_0xfceb89,this['_httpService']=_0x3dd70a,this[_0x444952(0xfd)]=_0x3679ca);}[_0x39f7f0(0x105)](){const _0x468aaf=_0x39f7f0;this['_workbookDataCache'][_0x468aaf(0xfe)](),super[_0x468aaf(0x105)]();}async[_0x39f7f0(0xed)](_0x39248e,_0x14de2e){const _0x40e889=_0x39f7f0,_0x4bcaa7=this['_getAPIPrefix']()+'/'+_0x39248e+_0x40e889(0x21f)+(_0x14de2e?_0x40e889(0x1bf)+_0x14de2e:'');try{const _0x2ce5a2=(await this[_0x40e889(0x17b)][_0x40e889(0x1eb)](_0x4bcaa7))[_0x40e889(0xe9)];if(_0x2ce5a2&&_0x2ce5a2[_0x40e889(0x106)]&&_0x2ce5a2[_0x40e889(0x106)][_0x40e889(0x193)]===X['OK']){const {hasMore:_0x13faff,lastLabel:_0x463720}=_0x2ce5a2,_0x413e6c=_s(_0x2ce5a2),_0x1720f9=_0x2ce5a2['entities'][_0x40e889(0xf8)];return{'hasMore':_0x13faff,'lastLabel':_0x463720,'versions':_0x413e6c,'members':_0x1720f9};}}catch(_0x153510){console[_0x40e889(0x106)](_0x153510);}return null;}['_getAPIPrefix'](){const _0x55acb4=_0x39f7f0;var _0x4634e3;const _0x5a8770=this['_configService'][_0x55acb4(0xd2)](we);return(_0x4634e3=_0x5a8770==null?void 0x0:_0x5a8770['historyListServerUrl'])!=null?_0x4634e3:us;}async[_0x39f7f0(0x191)](_0x270957,_0x35bf08,_0x2390ca){const _0x228508=_0x39f7f0;var _0x107107,_0x287d98;_0x2390ca===void 0x0&&(_0x2390ca={}),this['_workbookDataCache']['has'](_0x270957)||this['_workbookDataCache'][_0x228508(0x177)](_0x270957,new Map());const {snapshot:_0x9b5aaf,changesets:_0x331fc0,error:_0x197f03}=await this[_0x228508(0xe5)][_0x228508(0x25d)](_0x2390ca,{'unitID':_0x270957,'type':j['UNIVER_SHEET'],'revision':_0x35bf08});if(rs(_0x197f03)||!_0x9b5aaf||!_0x9b5aaf['workbook'])throw new Error(_0x228508(0xd1));const _0x471689=(_0x107107=_0x331fc0==null?void 0x0:_0x331fc0['length'])!=null?_0x107107:0x0;if(_0x35bf08!==0x0&&_0x9b5aaf[_0x228508(0x1ef)]+_0x471689!==_0x35bf08)throw new Error('[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!');const {workbook:_0x5cbb80}=_0x9b5aaf,_0xb0b16=_0x5cbb80['blockMeta']?Object[_0x228508(0x14b)](_0x5cbb80[_0x228508(0x147)])[_0x228508(0x14c)](([_0x4dea7e,_0x17b9fe])=>{var _0x4a95a1,_0x577522;return(_0x577522=(_0x4a95a1=_0x17b9fe['blocks'])==null?void 0x0:_0x4a95a1['map'](_0x5749c8=>_0x5749c8))!=null?_0x577522:[];})[_0x228508(0xd5)]():[],_0xa7ebce=(await Promise[_0x228508(0x152)](_0xb0b16[_0x228508(0x14c)](_0x490ef0=>this[_0x228508(0xe5)]['getDeserializedSheetBlock'](_0x2390ca,{'unitID':_0x270957,'type':j[_0x228508(0x19c)],'blockID':_0x490ef0})[_0x228508(0x25f)](_0x9b806=>_0x9b806[_0x228508(0x17e)]))))[_0x228508(0x287)](_0xcd748=>!!_0xcd748),_0x5bc496=_0x40ad8c(_0x9b5aaf,_0xa7ebce,_0x2390ca);return(_0x287d98=this[_0x228508(0x23e)]['get'](_0x270957))==null||_0x287d98[_0x228508(0x177)](_0x35bf08,{'workbook':_0x5bc496}),new Promise(_0x536b51=>{const _0x1b5838=_0x228508,_0x94b3bd=this[_0x1b5838(0x13f)]['getCurrentUnitForType'](_0x557778[_0x1b5838(0x19c)]);_0x94b3bd?(this[_0x1b5838(0x13f)][_0x1b5838(0x112)](_0x94b3bd['getUnitId']()),setTimeout(()=>{const _0x55e8d1=_0x1b5838;this[_0x55e8d1(0x179)](_0x5bc496,_0x331fc0),_0x536b51(!0x0);},0x0)):(this[_0x1b5838(0x179)](_0x5bc496,_0x331fc0),_0x536b51(!0x0));});}[_0x39f7f0(0x179)](_0x2f8ebb,_0x331561){const _0x2124be=_0x39f7f0,_0x4b0376=this[_0x2124be(0x13f)][_0x2124be(0x11b)](_0x557778[_0x2124be(0x19c)],_0x2f8ebb);this[_0x2124be(0x13f)][_0x2124be(0x283)](_0x4b0376['getUnitId']());const _0x2396a8=this['_compressMutationService'][_0x2124be(0x133)][_0x2124be(0x176)](this[_0x2124be(0xfd)][_0x2124be(0x133)][_0x2124be(0x11c)]()[_0x2124be(0x10d)]);return _0x331561==null||_0x331561[_0x2124be(0x1ca)](_0x8b8d41=>{const _0x2f093d=_0x2124be,_0x17bace=_0x8b8d41[_0x2f093d(0x271)]['map'](_0x586ac0=>({'id':_0x586ac0['id'],'params':JSON[_0x2f093d(0x23b)](_0x586ac0[_0x2f093d(0x138)])}));({..._0x8b8d41,'mutations':_0x2396a8(_0x17bace,null)||_0x17bace}[_0x2f093d(0x271)][_0x2f093d(0x1ca)](_0x185720=>{const _0x336372=_0x2f093d;this[_0x336372(0x12f)][_0x336372(0x1a3)](_0x185720['id'])&&this[_0x336372(0x12f)][_0x336372(0x140)](_0x185720['id'],_0x185720['params']);}));}),_0x4b0376;}};B=ls([D(0x0,_0x4a2eeb),D(0x1,_0x367c5c),D(0x2,_0x35d18d),D(0x3,_0x1b3ac6),D(0x4,_0x26b596(_0x51f93c)),D(0x5,_0x26b596(_0x5d5bbb))],B);function _s(_0xc7cb3a){const _0x318625=_0x39f7f0;var _0x873f14,_0x6fbd4f;const _0xe9f850=[],{entities:_0x1c17bc,historyIds:_0x18c0dd}=_0xc7cb3a,{datas:_0x887bb,users:_0x2e59e7}=_0x1c17bc;for(const _0x2d5d28 of _0x18c0dd)if(_0x887bb[_0x2d5d28]){const _0x2092f6=!!((_0x873f14=_0x2e59e7[_0x887bb[_0x2d5d28][_0x318625(0x21c)]])!=null&&_0x873f14[_0x318625(0x222)]);_0xe9f850['push']({'unitId':_0x887bb[_0x2d5d28]['unitId'],'user':_0x2092f6?'':((_0x6fbd4f=_0x2e59e7==null?void 0x0:_0x2e59e7[_0x887bb[_0x2d5d28][_0x318625(0x21c)]])==null?void 0x0:_0x6fbd4f['name'])||'','isAnonymous':_0x2092f6,'id':_0x2d5d28,'time':_0x887bb[_0x2d5d28][_0x318625(0x24b)]?Number(_0x887bb[_0x2d5d28][_0x318625(0x24b)]):void 0x0,'commands':_0x887bb[_0x2d5d28][_0x318625(0x19e)],'startRev':Number(_0x887bb[_0x2d5d28][_0x318625(0x16f)]),'endRev':Number(_0x887bb[_0x2d5d28][_0x318625(0x22e)]),'recoverTime':_0x887bb[_0x2d5d28][_0x318625(0x1fa)]?Number(_0x887bb[_0x2d5d28][_0x318625(0x1fa)]):void 0x0});}return _0xe9f850;}var hs=Object['getOwnPropertyDescriptor'],ds=(_0x33d6cd,_0x4dc88f,_0x360a03,_0x4a1d1d)=>{const _0x4eb7a7=_0x39f7f0;for(var _0x2835f3=_0x4a1d1d>0x1?void 0x0:_0x4a1d1d?hs(_0x4dc88f,_0x360a03):_0x4dc88f,_0x20a02e=_0x33d6cd[_0x4eb7a7(0x1fd)]-0x1,_0x1f49fa;_0x20a02e>=0x0;_0x20a02e--)(_0x1f49fa=_0x33d6cd[_0x20a02e])&&(_0x2835f3=_0x1f49fa(_0x2835f3)||_0x2835f3);return _0x2835f3;},V=(_0x2add0f,_0x346a07)=>(_0xa9d972,_0x5a5476)=>_0x346a07(_0xa9d972,_0x5a5476,_0x2add0f),ne=(_0x5d58ae=>(_0x5d58ae[_0x39f7f0(0x230)]=_0x39f7f0(0x108),_0x5d58ae[_0x39f7f0(0x24a)]=_0x39f7f0(0x166),_0x5d58ae[_0x39f7f0(0x261)]=_0x39f7f0(0x106),_0x5d58ae))(ne||{}),T=(_0x12723f=>(_0x12723f[_0x39f7f0(0x1d6)]=_0x39f7f0(0x198),_0x12723f[_0x39f7f0(0x247)]=_0x39f7f0(0x232),_0x12723f['Loaded']=_0x39f7f0(0x1c2),_0x12723f))(T||{});const vs=_0x39f7f0(0x148);let E=class extends _0x160471{constructor(_0x26fff5,_0x356e1f,_0x49c11d,_0x1f76e3){const _0x16f650=_0x39f7f0;super(),l(this,'_versions$',new _0x1c9d4a([])),l(this,_0x16f650(0x21a),this[_0x16f650(0x1d2)][_0x16f650(0xfa)]()),l(this,_0x16f650(0x16b),new _0x1c9d4a('')),l(this,_0x16f650(0x18b),this[_0x16f650(0x16b)][_0x16f650(0xfa)]()),l(this,_0x16f650(0x244),new _0x1c9d4a(_0x16f650(0x108))),l(this,_0x16f650(0xfb),this[_0x16f650(0x244)][_0x16f650(0xfa)]()),l(this,_0x16f650(0x1d8),new _0x1c9d4a(0x0)),l(this,'revertRevision$',this[_0x16f650(0x1d8)]['asObservable']()),l(this,_0x16f650(0x1b3),new _0x1c9d4a('')),l(this,_0x16f650(0x14a),this[_0x16f650(0x1b3)][_0x16f650(0xfa)]()),l(this,_0x16f650(0x26f),!0x1),l(this,'_loadingState$',new _0x1c9d4a(_0x16f650(0x198))),l(this,'loadingState$',this[_0x16f650(0x19d)][_0x16f650(0xfa)]()),l(this,_0x16f650(0x1f0),null),l(this,_0x16f650(0x194),!0x0),l(this,_0x16f650(0x10a),new Map()),l(this,_0x16f650(0x14e)),l(this,_0x16f650(0x1df)),l(this,_0x16f650(0xf0)),l(this,_0x16f650(0x23a),!0x1),(this[_0x16f650(0x187)]=_0x26fff5,this[_0x16f650(0x1f1)]=_0x356e1f,this['_localeService']=_0x49c11d,this['_historyFetchService']=_0x1f76e3);}async[_0x39f7f0(0x157)](_0x1f8917,_0x1a263e,_0x12f6a2){const _0x8a99b2=_0x39f7f0;this[_0x8a99b2(0x14e)]=_0x1a263e,this[_0x8a99b2(0x23a)]=_0x12f6a2,this[_0x8a99b2(0x1b3)][_0x8a99b2(0x27b)](_0x1f8917),this[_0x8a99b2(0x26f)]=!0x0;const _0x4b65ae=await this[_0x8a99b2(0xe6)][_0x8a99b2(0xed)](_0x1f8917);if(this[_0x8a99b2(0x26f)]=!0x1,_0x4b65ae){const {versions:_0x4b665b,lastLabel:_0x7880f4,hasMore:_0x2033ca,members:_0x13ba5d}=_0x4b65ae;_0x4b665b['length']===0x0&&_0x4b665b['push']({'unitId':_0x1f8917,'id':vs,'startRev':0x1,'endRev':0x0,'time':Date[_0x8a99b2(0x1d5)](),'user':this[_0x8a99b2(0x1c3)]['t'](_0x8a99b2(0xde)),'commands':[],'isAnonymous':!0x1}),this[_0x8a99b2(0x101)](_0x4b665b,_0x2033ca,_0x7880f4,_0x13ba5d),this['_currentVersion$'][_0x8a99b2(0x27b)](_0x4b665b[0x0]['id']);}else this[_0x8a99b2(0x244)][_0x8a99b2(0x27b)](_0x8a99b2(0x106));}async[_0x39f7f0(0x1d9)](){const _0x38ff05=_0x39f7f0;if(!this[_0x38ff05(0x1f0)]||!this[_0x38ff05(0x194)]||this[_0x38ff05(0x26f)])return!0x1;this[_0x38ff05(0x26f)]=!0x0;const _0x1db32b=await this[_0x38ff05(0xe6)][_0x38ff05(0xed)](this['unitId'],this[_0x38ff05(0x1f0)]);if(this[_0x38ff05(0x26f)]=!0x1,_0x1db32b){const {versions:_0x2a97f7,lastLabel:_0x48b93b,hasMore:_0x541843,members:_0x57eb45}=_0x1db32b;this[_0x38ff05(0x101)](_0x2a97f7,_0x541843,_0x48b93b,_0x57eb45);}else this[_0x38ff05(0x187)][_0x38ff05(0x1dd)]({'content':this[_0x38ff05(0x1c3)]['t']('editHistory.panel.listFetchError'),'type':_0x3bfe07[_0x38ff05(0x261)],'duration':0xbb8});return!0x0;}async[_0x39f7f0(0x1e0)](_0x47ca03){const _0x1cc9e6=_0x39f7f0;var _0x59eea3;const _0x17aa9a=(_0x59eea3=this[_0x1cc9e6(0x1d2)][_0x1cc9e6(0x1ce)])==null?void 0x0:_0x59eea3[_0x1cc9e6(0x1e2)](_0x2fa5af=>_0x2fa5af['id']===_0x47ca03),{endRev:_0x5add9f}=_0x17aa9a||{};_0x5add9f||_0x5add9f===0x0?(this[_0x1cc9e6(0x19d)][_0x1cc9e6(0x27b)](_0x1cc9e6(0x232)),await this[_0x1cc9e6(0xe6)]['loadSheet'](this[_0x1cc9e6(0x235)],_0x5add9f),this[_0x1cc9e6(0x19d)][_0x1cc9e6(0x27b)](_0x1cc9e6(0x1c2))):this[_0x1cc9e6(0x244)][_0x1cc9e6(0x27b)](_0x1cc9e6(0x106));}async[_0x39f7f0(0x131)](_0x2a67c7){const _0x2c8db9=_0x39f7f0,_0x56608e=_0x2a67c7?this[_0x2c8db9(0x1ba)](_0x2a67c7):this[_0x2c8db9(0x12c)]();if(!_0x56608e)return;const _0x131cc9=_0x56608e[_0x2c8db9(0x282)],_0x391046=re(_0x56608e[_0x2c8db9(0x1f8)],this['_localeService'][_0x2c8db9(0x1b9)]());await this[_0x2c8db9(0x1f1)][_0x2c8db9(0x1c7)]({'id':_0x2c8db9(0x27f),'title':{'title':this[_0x2c8db9(0x1c3)]['t'](_0x2c8db9(0x275))},'children':{'title':this['_localeService']['t'](_0x2c8db9(0x22f))+_0x2c8db9(0x22d)+_0x391046[_0x2c8db9(0x272)]+'\x20'+_0x391046[_0x2c8db9(0x1f8)]+')'},'cancelText':this[_0x2c8db9(0x1c3)]['t'](_0x2c8db9(0x174)),'confirmText':this['_localeService']['t'](_0x2c8db9(0xec))})&&this[_0x2c8db9(0x1d8)]['next'](_0x131cc9);}[_0x39f7f0(0x101)](_0x3cc3eb,_0x149e4f,_0x3080ab,_0x282b9d){const _0x21b3f4=_0x39f7f0;this[_0x21b3f4(0x1d2)]['next'](this[_0x21b3f4(0x1d2)][_0x21b3f4(0x1ce)][_0x21b3f4(0x249)](_0x3cc3eb)),this['_hasMore']=_0x149e4f,this[_0x21b3f4(0x1f0)]=_0x3080ab,_0x282b9d&&Object[_0x21b3f4(0x19b)](_0x282b9d)['forEach'](_0x3a107e=>this[_0x21b3f4(0x10a)][_0x21b3f4(0x177)](_0x3a107e,_0x282b9d[_0x3a107e]));}[_0x39f7f0(0x12c)](){const _0x39653a=_0x39f7f0;return this[_0x39653a(0x1ba)](this[_0x39653a(0x16b)][_0x39653a(0x1ce)]);}[_0x39f7f0(0x1ba)](_0x490edc){const _0x51041d=_0x39f7f0;var _0x32dbda;return(_0x32dbda=this[_0x51041d(0x1d2)][_0x51041d(0x1ce)])==null?void 0x0:_0x32dbda[_0x51041d(0x1e2)](_0x2673f0=>_0x2673f0['id']===_0x490edc);}[_0x39f7f0(0x25e)](_0x1a6561){const _0x59d8e7=_0x39f7f0;return this[_0x59d8e7(0x10a)]['get'](_0x1a6561);}[_0x39f7f0(0x256)](){const _0x10936b=_0x39f7f0;this['_maskElement']=document[_0x10936b(0x225)]('div'),this[_0x10936b(0xf0)][_0x10936b(0x119)]=_0x10936b(0x18d),this[_0x10936b(0xf0)]['style'][_0x10936b(0x1b5)]='absolute',this[_0x10936b(0xf0)][_0x10936b(0x1a4)][_0x10936b(0x137)]='0',this['_maskElement'][_0x10936b(0x1a4)][_0x10936b(0x241)]='0',this['_maskElement'][_0x10936b(0x1a4)][_0x10936b(0x1aa)]='100%',this['_maskElement'][_0x10936b(0x1a4)][_0x10936b(0xe3)]=_0x10936b(0x22c),this[_0x10936b(0xf0)]['style'][_0x10936b(0x26c)]='rgba(225,\x20225,\x20225,\x200.5)',this[_0x10936b(0xf0)][_0x10936b(0x1a4)]['color']='white',this[_0x10936b(0xf0)][_0x10936b(0x1a4)][_0x10936b(0x1a5)]=_0x10936b(0x1a2),this[_0x10936b(0xf0)]['style'][_0x10936b(0x1e6)]='center',this[_0x10936b(0xf0)]['style']['zIndex']=_0x10936b(0x22a),this[_0x10936b(0xf0)]['style'][_0x10936b(0x1a5)]=_0x10936b(0x186),this[_0x10936b(0x1df)][_0x10936b(0x150)](this[_0x10936b(0xf0)]);}[_0x39f7f0(0x255)](){const _0x52f063=_0x39f7f0;var _0x208a7a;const _0x38064a=(_0x208a7a=document['getElementById'](this[_0x52f063(0x14e)]))==null?void 0x0:_0x208a7a[_0x52f063(0x11e)](_0x52f063(0x116));_0x38064a&&(this[_0x52f063(0x1df)]=_0x38064a,this['_createMask']());}[_0x39f7f0(0x226)](){const _0x3fe7a6=_0x39f7f0;this[_0x3fe7a6(0x1df)]||this[_0x3fe7a6(0x255)](),this[_0x3fe7a6(0xf0)]&&(this[_0x3fe7a6(0xf0)][_0x3fe7a6(0x1a4)]['display']='flex');}['hideMask'](){const _0x4b2971=_0x39f7f0;this[_0x4b2971(0xf0)]&&(this['_maskElement'][_0x4b2971(0x1a4)][_0x4b2971(0x1a5)]=_0x4b2971(0x186));}set['status'](_0x44eec5){const _0x177bc8=_0x39f7f0;this[_0x177bc8(0x244)][_0x177bc8(0x27b)](_0x44eec5);}set['currentVersion'](_0x4aa38a){const _0x52e46e=_0x39f7f0;_0x4aa38a!==this[_0x52e46e(0x16b)][_0x52e46e(0x1ce)]&&this['_currentVersion$'][_0x52e46e(0x27b)](_0x4aa38a);}get[_0x39f7f0(0x115)](){const _0x23f18e=_0x39f7f0;return this['_currentVersion$'][_0x23f18e(0x1ce)];}set[_0x39f7f0(0x235)](_0x142797){const _0x223b83=_0x39f7f0;this[_0x223b83(0x1b3)][_0x223b83(0x27b)](_0x142797);}get[_0x39f7f0(0x235)](){const _0x4e6645=_0x39f7f0;return this[_0x4e6645(0x1b3)][_0x4e6645(0x1ce)];}get[_0x39f7f0(0x184)](){const _0x18f85c=_0x39f7f0;return this[_0x18f85c(0x23a)];}get['loadingState'](){const _0xf7504a=_0x39f7f0;return this[_0xf7504a(0x19d)]['value'];}};E=ds([V(0x0,_0x19e7d0),V(0x1,_0x2cdf38),V(0x2,_0x26b596(_0x144a4a)),V(0x3,_0x26b596(B))],E);var S=function(){const _0x56b76a=_0x39f7f0;return S=Object['assign']||function(_0x1ccef1){const _0x2aae6a=_0x105e;for(var _0x4a9127,_0x475cd8=0x1,_0x428af0=arguments[_0x2aae6a(0x1fd)];_0x475cd8<_0x428af0;_0x475cd8++){_0x4a9127=arguments[_0x475cd8];for(var _0x558a1d in _0x4a9127)Object[_0x2aae6a(0x182)][_0x2aae6a(0x281)][_0x2aae6a(0x24c)](_0x4a9127,_0x558a1d)&&(_0x1ccef1[_0x558a1d]=_0x4a9127[_0x558a1d]);}return _0x1ccef1;},S[_0x56b76a(0x26b)](this,arguments);},fs=function(_0xe6087b,_0x2ef553){const _0x40b7db=_0x39f7f0;var _0x3178ec={};for(var _0x544b8b in _0xe6087b)Object['prototype'][_0x40b7db(0x281)][_0x40b7db(0x24c)](_0xe6087b,_0x544b8b)&&_0x2ef553['indexOf'](_0x544b8b)<0x0&&(_0x3178ec[_0x544b8b]=_0xe6087b[_0x544b8b]);if(_0xe6087b!=null&&typeof Object[_0x40b7db(0x103)]=='function'){for(var _0xeae26b=0x0,_0x544b8b=Object['getOwnPropertySymbols'](_0xe6087b);_0xeae26b<_0x544b8b[_0x40b7db(0x1fd)];_0xeae26b++)_0x2ef553[_0x40b7db(0x27e)](_0x544b8b[_0xeae26b])<0x0&&Object[_0x40b7db(0x182)][_0x40b7db(0x125)]['call'](_0xe6087b,_0x544b8b[_0xeae26b])&&(_0x3178ec[_0x544b8b[_0xeae26b]]=_0xe6087b[_0x544b8b[_0xeae26b]]);}return _0x3178ec;},G=_0x3a9eac(function(_0x302694,_0x2634d8){const _0xd05165=_0x39f7f0;var _0x5c0bcc=_0x302694[_0xd05165(0x10f)],_0x47e4fd=_0x302694['id'],_0x1c5ad4=_0x302694[_0xd05165(0x119)],_0x107d2b=_0x302694[_0xd05165(0x1be)],_0x33b152=fs(_0x302694,[_0xd05165(0x10f),'id',_0xd05165(0x119),_0xd05165(0x1be)]),_0x1df900='univerjs-icon\x20univerjs-icon-'['concat'](_0x47e4fd,'\x20')[_0xd05165(0x249)](_0x1c5ad4||'')[_0xd05165(0x220)](),_0xa9e2f3=_0x41ae79('_'[_0xd05165(0x249)](Is()));return Ce(_0x5c0bcc,''['concat'](_0x47e4fd),{'defIds':_0x5c0bcc[_0xd05165(0x210)],'idSuffix':_0xa9e2f3[_0xd05165(0x18f)]},S({'ref':_0x2634d8,'className':_0x1df900},_0x33b152),_0x107d2b);});function Ce(_0xafe036,_0x4e4c81,_0x323d9e,_0x33e880,_0x1701c7){const _0x187e7b=_0x39f7f0;return _0xfcfa05(_0xafe036[_0x187e7b(0x205)],S(S({'key':_0x4e4c81},ms(_0xafe036,_0x323d9e,_0x1701c7)),_0x33e880),(gs(_0xafe036,_0x323d9e)[_0x187e7b(0x163)]||[])[_0x187e7b(0x14c)](function(_0x3b6adb,_0x189ce2){const _0x18d209=_0x187e7b;return Ce(_0x3b6adb,''[_0x18d209(0x249)](_0x4e4c81,'-')[_0x18d209(0x249)](_0xafe036['tag'],'-')[_0x18d209(0x249)](_0x189ce2),_0x323d9e,void 0x0,_0x1701c7);}));}function ms(_0x48f76f,_0x4a6a62,_0x1ac7b3){const _0x5e0606=_0x39f7f0;var _0x56d7f4=S({},_0x48f76f[_0x5e0606(0x192)]);_0x1ac7b3!=null&&_0x1ac7b3[_0x5e0606(0x1d1)]&&_0x56d7f4[_0x5e0606(0x21b)]==='colorChannel1'&&(_0x56d7f4[_0x5e0606(0x21b)]=_0x1ac7b3[_0x5e0606(0x1d1)]),_0x48f76f['tag']==='mask'&&_0x56d7f4['id']&&(_0x56d7f4['id']=_0x56d7f4['id']+_0x4a6a62[_0x5e0606(0xf2)]),Object['entries'](_0x56d7f4)[_0x5e0606(0x1ca)](function(_0x18bc45){const _0x3013dc=_0x5e0606;var _0x2ca40b=_0x18bc45[0x0],_0x37d23f=_0x18bc45[0x1];_0x2ca40b==='mask'&&typeof _0x37d23f=='string'&&(_0x56d7f4[_0x2ca40b]=_0x37d23f[_0x3013dc(0x12e)](/url\(#(.*)\)/,'url(#$1'[_0x3013dc(0x249)](_0x4a6a62[_0x3013dc(0xf2)],')')));});var _0x14db68=_0x4a6a62[_0x5e0606(0x210)];return!_0x14db68||_0x14db68['length']===0x0||(_0x48f76f[_0x5e0606(0x205)]==='use'&&_0x56d7f4[_0x5e0606(0x211)]&&(_0x56d7f4['xlink:href']=_0x56d7f4[_0x5e0606(0x211)]+_0x4a6a62[_0x5e0606(0xf2)]),Object[_0x5e0606(0x14b)](_0x56d7f4)['forEach'](function(_0x503022){const _0x41db1a=_0x5e0606;var _0x4cc5d7=_0x503022[0x0],_0x14737b=_0x503022[0x1];typeof _0x14737b=='string'&&(_0x56d7f4[_0x4cc5d7]=_0x14737b[_0x41db1a(0x12e)](/url\(#(.*)\)/,_0x41db1a(0xcd)[_0x41db1a(0x249)](_0x4a6a62[_0x41db1a(0xf2)],')')));})),_0x56d7f4;}function gs(_0x504894,_0x2d99b1){const _0x3ec1f5=_0x39f7f0;var _0x1f383e,_0x154b02=_0x2d99b1[_0x3ec1f5(0x210)];return!_0x154b02||_0x154b02[_0x3ec1f5(0x1fd)]===0x0?_0x504894:_0x504894['tag']===_0x3ec1f5(0xd3)&&(!((_0x1f383e=_0x504894[_0x3ec1f5(0x163)])===null||_0x1f383e===void 0x0)&&_0x1f383e[_0x3ec1f5(0x1fd)])?S(S({},_0x504894),{'children':_0x504894['children'][_0x3ec1f5(0x14c)](function(_0x4759e1){const _0x15369b=_0x3ec1f5;return typeof _0x4759e1[_0x15369b(0x192)]['id']==_0x15369b(0x221)&&_0x154b02&&_0x154b02[_0x15369b(0x214)](_0x4759e1[_0x15369b(0x192)]['id'])?S(S({},_0x4759e1),{'attrs':S(S({},_0x4759e1[_0x15369b(0x192)]),{'id':_0x4759e1[_0x15369b(0x192)]['id']+_0x2d99b1[_0x15369b(0xf2)]})}):_0x4759e1;})}):_0x504894;}function Is(){const _0x33f5f2=_0x39f7f0;return Math[_0x33f5f2(0x1e3)]()[_0x33f5f2(0x132)](0x24)[_0x33f5f2(0x1b4)](0x2,0x8);}G[_0x39f7f0(0x1a7)]=_0x39f7f0(0x24e);var Ss={'tag':_0x39f7f0(0x15b),'attrs':{'xmlns':_0x39f7f0(0x141),'fill':_0x39f7f0(0x186),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x39f7f0(0xd4)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x39f7f0(0x109)}}]},Pe=_0x3a9eac(function(_0x5c5fc3,_0xcc0f2e){const _0x367488=_0x39f7f0;return _0xfcfa05(G,Object['assign']({},_0x5c5fc3,{'id':_0x367488(0xe7),'ref':_0xcc0f2e,'icon':Ss}));});Pe[_0x39f7f0(0x1a7)]='BackIcon';var ps={'tag':_0x39f7f0(0x15b),'attrs':{'xmlns':_0x39f7f0(0x141),'fill':_0x39f7f0(0x186),'viewBox':_0x39f7f0(0x169),'width':'1em','height':_0x39f7f0(0xd4)},'children':[{'tag':_0x39f7f0(0x264),'attrs':{'fill':'#0B9EFB','d':_0x39f7f0(0x107),'fillOpacity':0.2,'fillRule':_0x39f7f0(0x26e),'clipRule':'evenodd'}},{'tag':_0x39f7f0(0x264),'attrs':{'fill':_0x39f7f0(0x1e1),'d':_0x39f7f0(0x233),'fillRule':'evenodd','clipRule':'evenodd'}}]},ae=_0x3a9eac(function(_0x20bd1c,_0xbd7ced){const _0xfedce0=_0x39f7f0;return _0xfcfa05(G,Object[_0xfedce0(0x260)]({},_0x20bd1c,{'id':_0xfedce0(0x128),'ref':_0xbd7ced,'icon':ps}));});ae['displayName']=_0x39f7f0(0x10e);var Es={'tag':_0x39f7f0(0x15b),'attrs':{'xmlns':_0x39f7f0(0x141),'fill':'none','viewBox':_0x39f7f0(0x153),'width':_0x39f7f0(0xd4),'height':'1em'},'children':[{'tag':'g','attrs':{'fill':_0x39f7f0(0x26d),'clipPath':_0x39f7f0(0x1bc)},'children':[{'tag':'path','attrs':{'d':'M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z'}},{'tag':_0x39f7f0(0x264),'attrs':{'d':'M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','fillRule':'evenodd','clipRule':'evenodd'}}]},{'tag':_0x39f7f0(0xd3),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'restore-icon_clip0_1247_2'},'children':[{'tag':_0x39f7f0(0x218),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x39f7f0(0x173),'rx':0x4}}]}]}],'defIds':['restore-icon_clip0_1247_2']},Te=_0x3a9eac(function(_0x5ddef6,_0x2fe26d){const _0x400e71=_0x39f7f0;return _0xfcfa05(G,Object[_0x400e71(0x260)]({},_0x5ddef6,{'id':_0x400e71(0x156),'ref':_0x2fe26d,'icon':Es}));});Te[_0x39f7f0(0x1a7)]=_0x39f7f0(0x1a1);function Rs(){const _0x447d76=_0x39f7f0;var _0x314edd;const _0xd3393f=_0x23eaab(E),_0x1b6a1b=_0x23eaab(_0x144a4a),_0x4d1ea5=_0x2805dc(()=>{const _0x4bc36a=_0x105e;_0xd3393f[_0x4bc36a(0x11a)]=ne[_0x4bc36a(0x24a)];},[_0xd3393f]),_0x82dae3=_0x2805dc(()=>{const _0x37cdb1=_0x105e;_0xd3393f[_0x37cdb1(0x131)]();},[_0xd3393f]),_0x2fd017=_0x49be28(_0xd3393f[_0x447d76(0x18b)]),_0x5d06d2=_0x49be28(_0xd3393f[_0x447d76(0x21a)]),_0x4724b9=_0x2fd017===((_0x314edd=_0x5d06d2==null?void 0x0:_0x5d06d2[0x0])==null?void 0x0:_0x314edd['id']),_0x433bcc=_0x2fd017!==''&&!_0x4724b9&&_0xd3393f[_0x447d76(0x184)];return _0x3f12c3('div',{'className':_0x447d76(0x127),'children':[_0x1556e9('div',{'onClick':_0x4d1ea5,'className':_0x447d76(0x24d),'children':_0x1556e9(Pe,{'className':'univer-text-2xl'})}),_0x1556e9(_0x447d76(0x14d),{'className':_0x447d76(0x16e),'children':_0x433bcc&&_0x1556e9(_0x4d16d,{'variant':_0x447d76(0x20e),'onClick':_0x82dae3,'children':_0x1b6a1b['t'](_0x447d76(0x277))})})]});}var Ns=Object[_0x39f7f0(0x258)],Ms=(_0x3f2b2f,_0x16ea71,_0x5dba34,_0x472c9a)=>{const _0xbb2fa3=_0x39f7f0;for(var _0x105954=_0x472c9a>0x1?void 0x0:_0x472c9a?Ns(_0x16ea71,_0x5dba34):_0x16ea71,_0x3e92e7=_0x3f2b2f[_0xbb2fa3(0x1fd)]-0x1,_0x12f60a;_0x3e92e7>=0x0;_0x3e92e7--)(_0x12f60a=_0x3f2b2f[_0x3e92e7])&&(_0x105954=_0x12f60a(_0x105954)||_0x105954);return _0x105954;},y=(_0x2b32b8,_0x457c49)=>(_0xfad513,_0x452e48)=>_0x457c49(_0xfad513,_0x452e48,_0x2b32b8);let Y=class extends _0x160471{constructor(_0x1682ac,_0x1de36c,_0x538a97,_0x14f67e,_0x2000a3,_0x207f31){const _0x307944=_0x39f7f0;super(),this['_permissionService']=_0x1682ac,this['_uiPartsService']=_0x1de36c,this[_0x307944(0x187)]=_0x538a97,this[_0x307944(0x1c3)]=_0x14f67e,this[_0x307944(0x207)]=_0x2000a3,this[_0x307944(0x22b)]=_0x207f31,this[_0x307944(0x237)]();}[_0x39f7f0(0x237)](){const _0x32af99=_0x39f7f0;this[_0x32af99(0x1ec)](this[_0x32af99(0x207)]['currentVersion$']['subscribe'](_0xa58b4c=>{const _0xcc1873=_0x32af99;_0xa58b4c&&this[_0xcc1873(0x207)][_0xcc1873(0x1e0)](_0xa58b4c);})),this[_0x32af99(0x1ec)](this['_permissionService'][_0x32af99(0x21e)][_0x32af99(0xdf)](_0x37a596=>{const _0x1780ad=_0x32af99,_0x5eb6ec=this[_0x1780ad(0x207)]['unitId'];_0x5eb6ec&&(_0x37a596[_0x1780ad(0x1de)]===O[_0x1780ad(0x167)]&&_0x37a596[_0x1780ad(0x1ce)]===!0x0&&this['_permissionService'][_0x1780ad(0x16d)](new _0x376816(_0x5eb6ec)['id'],!0x1),_0x37a596[_0x1780ad(0x1de)]===O['RenameSheet']&&_0x37a596[_0x1780ad(0x1ce)]===!0x0&&this[_0x1780ad(0x263)]['updatePermissionPoint'](new _0x34c292(_0x5eb6ec)['id'],!0x1),_0x37a596[_0x1780ad(0x1de)]===O['MoveSheet']&&_0x37a596[_0x1780ad(0x1ce)]===!0x0&&this[_0x1780ad(0x263)][_0x1780ad(0x16d)](new _0x15c6dd(_0x5eb6ec)['id'],!0x1),_0x37a596[_0x1780ad(0x1de)]===O[_0x1780ad(0x208)]&&_0x37a596[_0x1780ad(0x1ce)]===!0x0&&this[_0x1780ad(0x263)][_0x1780ad(0x16d)](new _0x229c42(_0x5eb6ec)['id'],!0x1),_0x37a596[_0x1780ad(0x1de)]===O[_0x1780ad(0x231)]&&_0x37a596[_0x1780ad(0x1ce)]===!0x0&&this['_permissionService']['updatePermissionPoint'](new _0x376816(_0x5eb6ec)['id'],!0x1),_0x37a596[_0x1780ad(0x1de)]===O[_0x1780ad(0x266)]&&_0x37a596[_0x1780ad(0x1ce)]===!0x0&&this[_0x1780ad(0x263)][_0x1780ad(0x16d)](new _0x376816(_0x5eb6ec)['id'],!0x1));})),this[_0x32af99(0x1ec)](this[_0x32af99(0x262)][_0x32af99(0xea)](_0x2da1c9['HEADER'],()=>_0x7eeaf(Rs,this[_0x32af99(0x22b)]))),this['disposeWithMe'](this[_0x32af99(0x207)][_0x32af99(0x1ab)]['subscribe'](_0x85d24e=>{const _0xefd242=_0x32af99;_0x85d24e===T[_0xefd242(0x247)]&&(this[_0xefd242(0x207)][_0xefd242(0x226)](),this[_0xefd242(0x187)][_0xefd242(0x1dd)]({'type':_0x3bfe07['Info'],'content':this[_0xefd242(0x1c3)]['t'](_0xefd242(0x279))})),_0x85d24e===T['Loaded']&&this[_0xefd242(0x207)]['hideMask']();}));}};Y=Ms([y(0x0,_0x48a99b),y(0x1,_0x501368),y(0x2,_0x19e7d0),y(0x3,_0x26b596(_0x144a4a)),y(0x4,_0x26b596(E)),y(0x5,_0x26b596(_0x9be13e))],Y);var bs=Object['getOwnPropertyDescriptor'],Os=(_0x1bf55f,_0x88ece0,_0x87c0b2,_0x54c54b)=>{const _0x38b535=_0x39f7f0;for(var _0x4c9200=_0x54c54b>0x1?void 0x0:_0x54c54b?bs(_0x88ece0,_0x87c0b2):_0x88ece0,_0x307f8b=_0x1bf55f[_0x38b535(0x1fd)]-0x1,_0x2dca2b;_0x307f8b>=0x0;_0x307f8b--)(_0x2dca2b=_0x1bf55f[_0x307f8b])&&(_0x4c9200=_0x2dca2b(_0x4c9200)||_0x4c9200);return _0x4c9200;},Q=(_0x2bcfcd,_0x3ff543)=>(_0x2c8cbc,_0x5e2c88)=>_0x3ff543(_0x2c8cbc,_0x5e2c88,_0x2bcfcd);let L=class extends _0x160471{constructor(_0x1ef7bc,_0xa45ee1,_0x31a1d3){const _0x59a2c6=_0x39f7f0;super(),l(this,_0x59a2c6(0x27c),new Map()),l(this,_0x59a2c6(0x288),new _0x1c9d4a({'ranges':new Map(),'active':null})),l(this,_0x59a2c6(0x1ff),this[_0x59a2c6(0x288)][_0x59a2c6(0xfa)]()),(this['_historyManagerService']=_0x1ef7bc,this[_0x59a2c6(0xdb)]=_0xa45ee1,this[_0x59a2c6(0xe5)]=_0x31a1d3,this[_0x59a2c6(0x237)]());}[_0x39f7f0(0x237)](){const _0x4a38ac=_0x39f7f0;this['_diffRangesMap']=new Map(),this['disposeWithMe'](this['_historyManagerService'][_0x4a38ac(0x14a)][_0x4a38ac(0xdf)](_0x45816d=>{const _0x1d7fe2=_0x4a38ac;_0x45816d&&!this[_0x1d7fe2(0x27c)][_0x1d7fe2(0x259)](_0x45816d)&&this[_0x1d7fe2(0x27c)][_0x1d7fe2(0x177)](_0x45816d,new Map());})),this[_0x4a38ac(0x1ec)](this[_0x4a38ac(0x207)][_0x4a38ac(0x18b)][_0x4a38ac(0xdf)](async _0x405d89=>{const _0xaa2a40=_0x4a38ac;var _0x50c3b5;_0x405d89&&(await this[_0xaa2a40(0x203)](_0x405d89),this[_0xaa2a40(0x288)]['next'](((_0x50c3b5=this[_0xaa2a40(0x27c)][_0xaa2a40(0x1eb)](this['_historyManagerService'][_0xaa2a40(0x235)]))==null?void 0x0:_0x50c3b5['get'](_0x405d89))||{'ranges':new Map(),'active':null}));}));}async[_0x39f7f0(0x203)](_0x268c1e){const _0x393340=_0x39f7f0;var _0x4941d4,_0xc09d4b;const _0x37e7ad=this['_historyManagerService'][_0x393340(0x1ba)](_0x268c1e),_0x571f38=this[_0x393340(0x207)][_0x393340(0x235)];if(!_0x37e7ad||!_0x571f38)return;const _0x1a1f5a=this[_0x393340(0x27c)][_0x393340(0x1eb)](_0x571f38);if(_0x1a1f5a||this['_diffRangesMap'][_0x393340(0x177)](_0x571f38,new Map()),(_0x4941d4=this['_diffRangesMap']['get'](_0x571f38))!=null&&_0x4941d4[_0x393340(0x259)](_0x37e7ad['id']))return;const {startRev:_0x61918b,endRev:_0x4edec6}=_0x37e7ad;if(_0x61918b===0x1){_0x1a1f5a[_0x393340(0x177)](_0x37e7ad['id'],{'ranges':new Map(),'active':null});return;}const _0x22cf7e=_0x61918b-0x1,_0x4383de=_0x4edec6,_0x102167=await this[_0x393340(0xe5)]['fetchMissingChangesets']({},{'unitID':_0x571f38,'from':_0x22cf7e,'to':_0x4383de,'type':j[_0x393340(0x19c)]});if(((_0xc09d4b=_0x102167[_0x393340(0x106)])==null?void 0x0:_0xc09d4b[_0x393340(0x193)])===X['OK']){const _0x426812=_0x102167[_0x393340(0x1c9)][_0x393340(0x14c)](_0x41cde1)[_0x393340(0x14c)](_0x44ffe1=>_0x44ffe1[_0x393340(0x271)][_0x393340(0x14c)](_0x11799c=>({..._0x11799c,'params':{..._0x11799c[_0x393340(0xe1)],'memberId':_0x44ffe1['userID']}})))[_0x393340(0xd5)](),_0x7753e=this[_0x393340(0x144)](_0x426812),_0x54c65c=this[_0x393340(0x122)](_0x426812),_0xa93425=this[_0x393340(0xce)](_0x7753e);_0x1a1f5a['set'](_0x37e7ad['id'],{'ranges':_0xa93425,'active':_0x54c65c});}}[_0x39f7f0(0x144)](_0x57391c){const _0x101d09=_0x39f7f0;let _0x18afc3=[];for(let _0x452fce=0x0;_0x452fce<_0x57391c['length'];_0x452fce++){const _0x345777=_0x57391c[_0x452fce];if(_0x18afc3[_0x101d09(0x124)](_0x345777),_0x452fce!==_0x57391c['length']-0x1){const _0x2e6869=_0x57391c[_0x452fce+0x1],_0x26a87f=this['_transformService'][_0x101d09(0xd8)](_0x18afc3,[_0x2e6869]);_0x1149b6(_0x26a87f)?_0x18afc3=_0x26a87f['m1Prime']:_0x18afc3=[];}}return _0x18afc3;}[_0x39f7f0(0x122)](_0xc9adea){const _0x433a29=_0x39f7f0;let _0x39dd27=[];return _0xc9adea[_0x433a29(0x1ca)](_0x26bc0b=>{const _0x456b55=_0x433a29;if(_0x26bc0b['id']===_0x552d9c['id']){const _0x40fc25=_0x26bc0b[_0x456b55(0xe1)];_0x39dd27[_0x456b55(0x124)](_0x40fc25[_0x456b55(0x19f)]['id']);}else{if(_0x26bc0b['id']===_0x5add54['id']){const _0x23ca8b=_0x26bc0b['params'];_0x39dd27[_0x456b55(0x1fd)]>0x0&&(_0x39dd27=_0x39dd27['filter'](_0x43a825=>_0x43a825!==_0x23ca8b[_0x456b55(0x164)]));}else{if(_0x26bc0b['id']===_0xe47538['id']){const _0xa5aeeb=_0x26bc0b[_0x456b55(0xe1)];_0xa5aeeb[_0x456b55(0xfc)]?_0x39dd27=_0x39dd27['filter'](_0x5eb9b5=>_0x5eb9b5!==_0xa5aeeb[_0x456b55(0x164)]):_0x39dd27['push'](_0xa5aeeb['subUnitId']);}else{const _0x47161b=_0x26bc0b[_0x456b55(0xe1)];_0x47161b[_0x456b55(0x164)]&&_0x39dd27[_0x456b55(0x124)](_0x47161b['subUnitId']);}}}}),_0x39dd27[_0x433a29(0x1fd)]>0x0?_0x39dd27[_0x39dd27['length']-0x1]:null;}['_extractRanges'](_0x723a16){const _0x1c4cfa=_0x39f7f0,_0x5bca19=new Map();return _0x723a16[_0x1c4cfa(0x1ca)](_0x4eebe0=>{const _0x5efaba=_0x1c4cfa;var _0x577309,_0x522eea;const _0x4971ca=(_0x577309=_0x4eebe0[_0x5efaba(0xe1)])==null?void 0x0:_0x577309['memberId'];if(_0x4971ca){_0x5bca19['has'](_0x4971ca)||_0x5bca19[_0x5efaba(0x177)](_0x4971ca,[]);const _0x40a187=this[_0x5efaba(0x185)](_0x4eebe0);(_0x522eea=_0x5bca19[_0x5efaba(0x1eb)](_0x4971ca))==null||_0x522eea['push'](..._0x40a187);}}),_0x5bca19['forEach']((_0x47ff5f,_0x1aed14)=>{const _0xb892c3=_0x1c4cfa;_0x5bca19['set'](_0x1aed14,this[_0xb892c3(0x145)](_0x47ff5f));}),_0x5bca19;}[_0x39f7f0(0x185)](_0x295bd8){const _0x40aa0d=_0x39f7f0;switch(_0x295bd8['id']){case _0x391f96['id']:{const _0x769ac4=_0x295bd8[_0x40aa0d(0xe1)];return _0x769ac4['rules']['map'](_0x12cf7e=>_0x12cf7e['ranges']['map'](_0x4ea1db=>({'range':_0x4ea1db,'unitId':_0x769ac4['unitId'],'subUnitId':_0x769ac4['subUnitId']})))['flat']();}case _0x2fe26f['id']:{const _0x178b60=_0x295bd8[_0x40aa0d(0xe1)];return _0x178b60[_0x40aa0d(0x26a)][_0x40aa0d(0x14c)](_0x840231=>({'range':_0x840231,'unitId':_0x178b60[_0x40aa0d(0x235)],'subUnitId':_0x178b60[_0x40aa0d(0x164)]}));}case _0x45364f['id']:{const _0x2cfe6f=_0x295bd8[_0x40aa0d(0xe1)];return[{'range':_0x2cfe6f[_0x40aa0d(0x162)],'unitId':_0x2cfe6f[_0x40aa0d(0x235)],'subUnitId':_0x2cfe6f[_0x40aa0d(0x164)]}];}case _0x14145b['id']:{const _0x48cf72=_0x295bd8[_0x40aa0d(0xe1)];return[{'range':_0x48cf72[_0x40aa0d(0x162)],'unitId':_0x48cf72[_0x40aa0d(0x235)],'subUnitId':_0x48cf72[_0x40aa0d(0x164)]}];}case _0x38f059['id']:{const _0xccdc55=_0x295bd8['params'],{from:_0x47e599,to:_0x27dd48,unitId:_0x525c19}=_0xccdc55;return[{'range':he(_0x47e599[_0x40aa0d(0x1ce)]),'unitId':_0x525c19,'subUnitId':_0x47e599[_0x40aa0d(0x164)]},{'range':he(_0x27dd48[_0x40aa0d(0x1ce)]),'unitId':_0x525c19,'subUnitId':_0x27dd48[_0x40aa0d(0x164)]}];}case _0x3967f2['id']:{const _0x4751d8=_0x295bd8['params'],{unitId:_0x1ea604,subUnitId:_0x6d23bd,sourceRange:_0x1a40c4,targetRange:_0x16122b}=_0x4751d8,_0x11d3fd=_0x1a40c4[_0x40aa0d(0x1b1)]-_0x1a40c4[_0x40aa0d(0x1f6)]+0x1;return[{'range':_0x16122b['startRow']<=_0x1a40c4[_0x40aa0d(0x1f6)]?_0x16122b:{..._0x16122b,'startRow':_0x16122b[_0x40aa0d(0x1f6)]-_0x11d3fd,'endRow':_0x16122b['endRow']-_0x11d3fd},'unitId':_0x1ea604,'subUnitId':_0x6d23bd}];}case _0x111c23['id']:{const _0x5f2b34=_0x295bd8['params'],{unitId:_0x575454,subUnitId:_0x353865,sourceRange:_0x49a9fe,targetRange:_0x34635d}=_0x5f2b34,_0x3f5c68=_0x49a9fe['endColumn']-_0x49a9fe[_0x40aa0d(0x23c)]+0x1;return[{'range':_0x34635d[_0x40aa0d(0x23c)]<=_0x49a9fe[_0x40aa0d(0x23c)]?_0x34635d:{..._0x34635d,'startColumn':_0x34635d[_0x40aa0d(0x23c)]-_0x3f5c68,'endColumn':_0x34635d[_0x40aa0d(0x248)]-_0x3f5c68},'unitId':_0x575454,'subUnitId':_0x353865}];}case _0x527c0e['id']:{const _0x531b9d=_0x295bd8[_0x40aa0d(0xe1)],{values:_0x51f9b0,unitId:_0x594d55,subUnitId:_0x569623}=_0x531b9d;return Object[_0x40aa0d(0x1fc)](_0x51f9b0)[_0x40aa0d(0x14c)](_0x3f431d=>_0x3f431d[_0x40aa0d(0x26a)][_0x40aa0d(0x14c)](_0x27e7f9=>({'range':_0x27e7f9,'unitId':_0x594d55,'subUnitId':_0x569623})))[_0x40aa0d(0xd5)]();}case _0x3ce175['id']:{const _0x4436e6=_0x295bd8[_0x40aa0d(0xe1)],{ranges:_0x306748,unitId:_0x4021ee,subUnitId:_0x4020c4}=_0x4436e6;return _0x306748[_0x40aa0d(0x14c)](_0x4fdad5=>({'range':_0x4fdad5,'unitId':_0x4021ee,'subUnitId':_0x4020c4}));}case _0x124f56['id']:{const _0x2a9fc3=_0x295bd8['params'],{unitId:_0x21257d,subUnitId:_0x4d7576,range:_0x800c38}=_0x2a9fc3;return[{'range':_0x800c38,'unitId':_0x21257d,'subUnitId':_0x4d7576}];}case _0x38c755['id']:{const _0x181b37=_0x295bd8[_0x40aa0d(0xe1)];return _0x181b37[_0x40aa0d(0xda)][_0x40aa0d(0x26a)][_0x40aa0d(0x14c)](_0x3b834f=>({'range':_0x3b834f,'unitId':_0x181b37['unitId'],'subUnitId':_0x181b37[_0x40aa0d(0x164)]}));}case _0x4dd9b3['id']:{const _0x15a1fe=_0x295bd8[_0x40aa0d(0xe1)];return _0x15a1fe[_0x40aa0d(0x1cd)]?Ds(_0x15a1fe[_0x40aa0d(0x1cd)])['map'](_0x472fdf=>({'range':_0x472fdf,'unitId':_0x15a1fe[_0x40aa0d(0x235)],'subUnitId':_0x15a1fe['subUnitId']})):[];}case _0x3ad36d['id']:{const _0x5c9814=_0x295bd8[_0x40aa0d(0xe1)];return[{'range':_0x5c9814[_0x40aa0d(0x162)],'unitId':_0x5c9814[_0x40aa0d(0x235)],'subUnitId':_0x5c9814[_0x40aa0d(0x164)]}];}case _0xc516fd['id']:{const _0x3bb42f=_0x295bd8[_0x40aa0d(0xe1)];return(Array[_0x40aa0d(0xe0)](_0x3bb42f[_0x40aa0d(0xda)])?_0x3bb42f[_0x40aa0d(0xda)]:[_0x3bb42f['rule']])[_0x40aa0d(0x14c)](_0x1631ba=>_0x1631ba[_0x40aa0d(0x26a)][_0x40aa0d(0x14c)](_0x22454d=>({'range':_0x22454d,'unitId':_0x3bb42f['unitId'],'subUnitId':_0x3bb42f['subUnitId']})))[_0x40aa0d(0xd5)]();}case _0x599820['id']:{const _0x3aa08d=_0x295bd8[_0x40aa0d(0xe1)];return _0x3aa08d['rule'][_0x40aa0d(0x26a)][_0x40aa0d(0x14c)](_0x14d7bb=>({'range':_0x14d7bb,'unitId':_0x3aa08d[_0x40aa0d(0x235)],'subUnitId':_0x3aa08d['subUnitId']}));}default:return[];}}['_combineRanges'](_0x1a291b){const _0x5b0d5b=_0x39f7f0;if(_0x1a291b[_0x5b0d5b(0x1fd)]<=0x1)return _0x1a291b;const _0x1e480c=new Map();return _0x1a291b['forEach'](_0x5d1546=>{const _0x4fbb90=_0x5b0d5b;var _0x50e44a;const {unitId:_0x34c24e,subUnitId:_0x2237da}=_0x5d1546,_0x5eb72c=_0x34c24e+'-'+_0x2237da;_0x1e480c[_0x4fbb90(0x259)](_0x5eb72c)?(_0x50e44a=_0x1e480c['get'](_0x5eb72c))==null||_0x50e44a[_0x4fbb90(0x124)](_0x5d1546):_0x1e480c[_0x4fbb90(0x177)](_0x5eb72c,[_0x5d1546]);}),Array['from'](_0x1e480c[_0x5b0d5b(0x1fc)]())[_0x5b0d5b(0x14c)](_0x2cb28c=>new _0x4cff5e()[_0x5b0d5b(0x201)](..._0x2cb28c[_0x5b0d5b(0x14c)](_0x35967a=>_0x35967a[_0x5b0d5b(0x162)]))[_0x5b0d5b(0x1d4)]()['map'](_0x52b6bd=>({'range':_0x52b6bd,'unitId':_0x2cb28c[0x0][_0x5b0d5b(0x235)],'subUnitId':_0x2cb28c[0x0][_0x5b0d5b(0x164)]})))[_0x5b0d5b(0xd5)]();}};L=Os([Q(0x0,_0x26b596(E)),Q(0x1,_0x92f6e7),Q(0x2,_0x4a2eeb)],L);function he(_0x1041cf){const _0x311a89=_0x39f7f0;return new _0x27ecc0(_0x1041cf)[_0x311a89(0x120)]();}function Ds(_0x2adbdb){const _0x2237f3=_0x39f7f0,_0x3a1f31=new _0x27ecc0(_0x2adbdb),_0x488f1c=new _0x27ecc0();return _0x3a1f31[_0x2237f3(0x1e5)]((_0xdb8d09,_0x21c4b8)=>{const _0x262c00=_0x2237f3;_0x488f1c[_0x262c00(0x23f)](_0xdb8d09,_0x21c4b8,0x1);}),_0x57123b(_0x488f1c);}function _0x5a07(){const _0x19bb3b=['UNIVER_DOC','SetCellValue','YUUMI_AI_RUN_FAILED','action','closeAll','range','children','subUnitId','ALREADY_EXISTS','exited','Edit','_sheetSkeletonManagerService','0\x200\x2016\x2016','Sort','_currentVersion$','open','updatePermissionPoint','univer-flex-1\x20univer-flex\x20univer-items-center\x20univer-justify-center','startRevision','univer-text-gray-500','WECHAT_HAS_BEEN_BOUND','_versionDiffService','white','editHistory.panel.cancel','UNIVER_UNKNOWN','fetchThroughInterceptors','set','CreateSheet','_createUnit','editHistory.action.revertSheetSuffix','_httpService','padStart','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','block','editHistory.action.','INVITE_CODE_ALREADY_BOUND','ViewHistory','prototype','close','canRevert','_getRangesByMutation','none','_messageService','_initPanel','MoveWorksheet','INTERNAL_ERROR','currentVersion$','FromArray','history-mask','univer-m-auto\x20univer-animate-spin','current','YUUMI_ALL_TABLES_IS_INVALID','loadSheet','attrs','code','_hasMore','INVITE_CODE_REQUIRED','9OHdNKH','RecoverHistory','init','NOT_FOUND','createSheet','keys','UNIVER_SHEET','_loadingState$','command','sheet','setFilter','RestoreIcon','flex','hasCommand','style','display','LICENSE_EXPORT_SIZE_EXCEEDED','displayName','ViewFilter','rgba(58,\x2096,\x20247,\x200.20)','width','loadingState$','_openPanel','186tzuFFA','_configService','Loaded','univer-w-full\x20univer-h-[30px]\x20univer-flex\x20univer-items-center\x20univer-justify-center','endRow','LICENSE_IMPORT_SIZE_EXCEEDED','_unitId$','substring','position','_renderManagerService','CHANGESET_REVISION_CONFILICT','DeleteWorksheet','getCurrentLocale','getVersion','Copy','url(#restore-icon_clip0_1247_2)','RenameWorksheet','extend','&lastLabel=','PivotTable','onStarting','loaded','_localeService','SNAPSHOT_HAS_BEEN_REMOVED','name','APPLY_REVISION_CONFILICT','confirm','103096ZKwAIK','changesets','forEach','View','UNIVER_SLIDE','cellValue','value','editHistory.panel.title','ENSURE_SNAPSHOT_EXECUTION','colorChannel1','_versions$','univer-h-6\x20univer-flex\x20univer-justify-between\x20univer-w-full','merge','now','Init','EditExtraObject','_revertRevision$','loadMoreVersions','getAncestorScale','ZH_CN','DeleteSheet','show','subType','_maskContainer','triggerLoadSheet','#0B9EFB','find','random','_config','forValue','justifyContent','_context','deleteProtection','APPLY_NON_SEQUENTIAL_REVISION','ViemRwHgtClWdt','get','disposeWithMe','Print','editHistory.panel.unknownUser','rev','_lastLabel','_confirmService','Duplicate','univer-w-6\x20univer-h-6\x20univer-flex\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-400\x20univer-rounded\x20dark:hover:!univer-bg-gray-700\x20hover:univer-bg-gray-100','SelectUnProtectedCells','_lastPointer','startRow','setState','time','YUUMI_SUBSCRIPTION_NOT_FOUND','recoverTime','_dialogOptions$','values','length','YUUMI_UNABLE_LOAD_URL','currentVersionDiff$','makeDirty','add','onPointerMove$','ensureVersion','editSheet','tag','scrollEvent$','_historyManagerService','HideSheet','_diffs','SetColumnStyle','COMPLETION_FINISHED','setFrozen','registerRenderModule','primary','InsertRow','defIds','xlink:href','sheetId','LICENSE_MAX_UNITS_EXCEEDED','includes','univer-flex-1\x20univer-flex\x20univer-items-center\x20univer-text-gray-600\x20univer-text-sm\x20dark:!univer-text-gray-200','getViewport','bottom','rect','split','versions$','fill','userId','MoveSheet','permissionPointUpdate$','/list?length=20','trim','string','anonymous','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','SelectProtectedCells','createElement','showMask','addProtection','DeleteRow','univer-h-full\x20univer-overflow-auto\x20univer-border-t\x20univer-border-gray-200','1000','_injector','100%',':\x20(','endRevision','editHistory.panel.revertConfirmText','Entered','Comment','loading','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','95SsTSCa','unitId','editHistory.action.revertSheetPrefix','_init','_sidebarService','UNAUTHENTICATED','_canRevert','parse','startColumn','pipe','_workbookDataCache','setValue','addSparkline','left','_getSheetObject','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_status$','univer-flex\x20univer-items-center\x20univer-justify-center','History','Loading','endColumn','concat','Exited','createTime','call','univer-flex\x20univer-items-center\x20univer-justify-center\x20univer-w-8\x20univer-h-8\x20univer-ml-2.5\x20univer-rounded\x20hover:univer-bg-[rgba(30,34,43,0.06)]','UniverIcon','8932BGmcAi','CreateWorksheet','CONNECTOR_DATA_TOO_LARGE','PERMISSION_DENIED','ManageCollaborator','USER_NOT_INVITED_CODE','_initMaskContainer','_createMask','setDV','getOwnPropertyDescriptor','has','getVpScrollXYInfoByPosToVp','UNRECOGNIZED','univer-w-6\x20univer-h-6\x20univer-text-gray-400\x20univer-flex\x20univer-items-center\x20univer-justify-center','getUnitOnRev','getMember','then','assign','Error','_uiPartsService','_permissionService','path','addObjects','FloatImg','APPLY_REJECT','some','APPLY_DUPLICATED','ranges','apply','backgroundColor','currentColor','evenodd','_fetching','1027873QErPQv','mutations','date','15603rQZhki','univer-h-[60px]\x20univer-flex\x20univer-flex-col\x20univer-justify-center\x20univer-px-4\x20univer-py-1.5\x20univer-cursor-default','editHistory.panel.revertConfirm','Share','editHistory.header.revert','skeleton','editHistory.info.loading','revertSheet','next','_diffRangesMap','INVALID_INVITE_CODE','indexOf','confirm-revert-revision','HideWorksheet','hasOwnProperty','endRev','focusUnit','row','LICENSE_DISTRO_REJECTED','column','filter','_currentVersionDiff$','105290BYsjFS','MOBILE_HAS_BEEN_BOUND','Delete','url(#$1','_extractRanges','_initRender','UNDEFINED','[HistoryFetchService]:\x20request\x20snapshot\x20error!','getConfig','defs','1em','flat','state$','active','transformMutations','_sidebarDisposable','rule','_transformService','toISOString','stopPropagation','editHistory.panel.currentUser','subscribe','isArray','params','history-panel','height','Today','_snapshotServerService','_historyFetchService','back-icon','SetWorksheetStyle','body','registerComponent','CreatePermissionObject','editHistory.panel.confirm','getVersions','reduce','RwHgtClWdt','_maskElement','onMouseMove','idSuffix','univer-mx-[-20px]\x20univer-overflow-hidden','UNIVER_PROJECT','span','InsertColumn','from','users','_updateDiffMarks','asObservable','status$','hidden','_compressMutationService','clear','10CGActP','getMinutes','_updateVersions','univer-ml-2\x20univer-px-1.5\x20univer-h-5\x20univer-flex\x20univer-items-center\x20univer-justify-center\x20univer-text-primary-600\x20univer-text-xs\x20univer-border\x20univer-border-primary-600\x20univer-rounded\x20univer-bg-primary-50','getOwnPropertySymbols','APPLY_PERMISSION_DENIED','dispose','error','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','entered','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','_members','onRendered','TOO_MANY_REQUESTS','COMPRESS_MUTATION_APPLY','LoadingMultiIcon','icon','_cellEditorManagerService','edit-history-viewer.config','disposeUnit','_initActiveSwitch','currentSkeleton$','currentVersion','.univer-app-container-content','_componentManager','getHours','className','status','createUnit','getInterceptPoints','_removeDiffMarks','querySelector','VIEW_MAIN','getDataRange','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_getActiveSubUnitId','subscribeEvent','push','propertyIsEnumerable','PY_RUNTIME_SCRIPT_ERROR','univer-h-[50px]\x20univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-[#e5e5e5]\x20univer-cursor-default','loading-multi-icon','EditWorksheetCell','YUUMI_RATE_OVER_LIMIT','editHistory.panel.revertDesc','getCurrentVersion','/universer-api/history','replace','_commandService','symbol','triggerRevert','toString','interceptor','38037SUCgus','dateString','SNAPSHOT_INVALID_SNAPSHOT','top','data','RenameSheet','setCF','defineProperty','EMAIL_HAS_BEEN_BOUND','YUUMI_ASYNCIO_CANCELLED','getRelativeToViewportCoord','_univerInstanceService','syncExecuteCommand','http://www.w3.org/2000/svg','CopySheet','YUUMI_URL_COL_OUT_OF_RANGE','_transformMutationByOrder','_combineRanges','YUUMI_NO_CUBOID_FOR_QUESTION','blockMeta','VIRTUAL_VERSION_NOW','SetCellStyle','unitId$','entries','map','div','_historyContainerId','Filter','append','LOGIN_FAILED','all','0\x200\x2016\x2017','INVITE_CODE_HAS_BEEN_UES','28613IAzXUI','restore-icon','triggerLoadVersions','commands','SetRowStyle','versions','svg','loadingState'];_0x5a07=function(){return _0x19bb3b;};return _0x5a07();}var ys=Object[_0x39f7f0(0x258)],ws=(_0x573b1e,_0x27e695,_0x226c52,_0x51bbe0)=>{for(var _0x33ddd1=_0x51bbe0>0x1?void 0x0:_0x51bbe0?ys(_0x27e695,_0x226c52):_0x27e695,_0x223781=_0x573b1e['length']-0x1,_0x70ae0d;_0x223781>=0x0;_0x223781--)(_0x70ae0d=_0x573b1e[_0x223781])&&(_0x33ddd1=_0x70ae0d(_0x33ddd1)||_0x33ddd1);return _0x33ddd1;},w=(_0x103e56,_0x15994f)=>(_0x1bc45a,_0x34b5d4)=>_0x15994f(_0x1bc45a,_0x34b5d4,_0x103e56);let te=class extends _0x160471{constructor(_0x65d2fa,_0x591391,_0x5671d2,_0x42c8ea,_0x210006,_0x2e12dc,_0x19d31e){const _0x26a8b2=_0x39f7f0;super(),l(this,'_diffs',new Set()),l(this,'_lastPointer',null),(this[_0x26a8b2(0x1e7)]=_0x65d2fa,this[_0x26a8b2(0x207)]=_0x591391,this[_0x26a8b2(0x172)]=_0x5671d2,this[_0x26a8b2(0x13f)]=_0x42c8ea,this[_0x26a8b2(0x1b6)]=_0x210006,this[_0x26a8b2(0x168)]=_0x2e12dc,this['_commandService']=_0x19d31e,this[_0x26a8b2(0x237)]());}[_0x39f7f0(0x237)](){const _0x5c191a=_0x39f7f0;this[_0x5c191a(0xcf)](),this[_0x5c191a(0x113)]();}[_0x39f7f0(0xcf)](){const _0x57ce59=_0x39f7f0;this[_0x57ce59(0x1ec)](_0x169766([this[_0x57ce59(0x207)]['loadingState$'],this[_0x57ce59(0x168)][_0x57ce59(0x114)]])[_0x57ce59(0x23d)](_0x5ee0b8(([_0x10cfbf,_0x1768c9])=>{const _0x39714a=_0x57ce59;if(_0x10cfbf===T[_0x39714a(0x1af)]&&_0x1768c9){const _0x179170=_0x1768c9[_0x39714a(0x212)];return this['_versionDiffService'][_0x39714a(0x1ff)][_0x39714a(0x23d)](_0x38682a(_0x1e11f2=>{const _0x4cc70f=_0x39714a,_0x522a70=new Map();return _0x1e11f2['ranges'][_0x4cc70f(0x1ca)]((_0x5368b1,_0x374aca)=>{const _0x15ff66=_0x4cc70f,_0x2584af=_0x5368b1[_0x15ff66(0x287)](_0x59274b=>_0x59274b[_0x15ff66(0x164)]===_0x179170);_0x522a70[_0x15ff66(0x177)](_0x374aca,_0x2584af);}),{'skeleton':_0x1768c9,'diffs':_0x522a70};}));}return _0x50a785({'skeleton':null,'diffs':new Map()});}))[_0x57ce59(0xdf)](({skeleton:_0x12f837,diffs:_0x48e181})=>{const _0x15bb4=_0x57ce59;this[_0x15bb4(0x11d)](),_0x12f837&&this['_updateDiffMarks'](_0x12f837,_0x48e181);})),this['disposeWithMe'](this[_0x57ce59(0x168)]['currentSkeleton$'][_0x57ce59(0xdf)](_0x1f5cb2=>{const _0x76e730=_0x57ce59;if(_0x1f5cb2==null)return;const {skeleton:_0xbdbe21}=_0x1f5cb2,{scene:_0xcbc405}=this[_0x76e730(0x1e7)];_0xcbc405[_0x76e730(0x202)][_0x76e730(0x123)](_0x27e9ba(_0x2832ee=>{const _0x4436ff=_0x76e730;var _0x44fe80,_0x35c25a;const {offsetX:_0x288a8c,offsetY:_0x5566c4}=_0x2832ee,{x:_0x3c4b1c,y:_0x4ea3f6}=_0xcbc405[_0x4436ff(0x13e)](_0x6f9748['FromArray']([_0x288a8c,_0x5566c4])),{scaleX:_0x311e1b,scaleY:_0x2b4c43}=_0xcbc405[_0x4436ff(0x1da)](),_0x25d540=_0xcbc405[_0x4436ff(0x216)](_0x5a0155[_0x4436ff(0x11f)]),_0x4203ac=_0xcbc405[_0x4436ff(0x25a)](_0x6f9748[_0x4436ff(0x18c)]([_0x3c4b1c,_0x4ea3f6]),_0x25d540),_0x8bf3f2=_0xbdbe21['getCellPositionByOffset'](_0x288a8c,_0x5566c4,_0x311e1b,_0x2b4c43,_0x4203ac);((_0x44fe80=this[_0x4436ff(0x1f5)])==null?void 0x0:_0x44fe80[_0x4436ff(0x286)])===_0x8bf3f2[_0x4436ff(0x286)]&&((_0x35c25a=this[_0x4436ff(0x1f5)])==null?void 0x0:_0x35c25a['row'])===_0x8bf3f2[_0x4436ff(0x284)]||this['_diffs'][_0x4436ff(0x1ca)](_0x29cd44=>{const _0x4d3381=_0x4436ff;_0x29cd44[_0x4d3381(0xf1)](_0x8bf3f2);});},0x64));}));}['_initActiveSwitch'](){const _0x13ab54=_0x39f7f0;this['disposeWithMe'](this[_0x13ab54(0x207)][_0x13ab54(0x1ab)][_0x13ab54(0xdf)](_0x2419c8=>{const _0x1a1197=_0x13ab54,_0xe5b265=new _0x475ca9();return _0x2419c8===T['Loaded']&&(_0xe5b265[_0x1a1197(0x105)](),_0xe5b265[_0x1a1197(0x201)](this[_0x1a1197(0x172)][_0x1a1197(0x1ff)][_0x1a1197(0xdf)](_0x57d9a5=>{const _0x3818cb=_0x1a1197;_0x57d9a5[_0x3818cb(0xd7)]&&this[_0x3818cb(0x12f)]['executeCommand'](_0x59276b['id'],{'unitId':this[_0x3818cb(0x1e7)][_0x3818cb(0x235)],'subUnitId':_0x57d9a5[_0x3818cb(0xd7)]});}))),()=>_0xe5b265[_0x1a1197(0x105)]();}));}[_0x39f7f0(0xf9)](_0x4d2abb,_0xee65c5){const _0x4667f3=_0x39f7f0;var _0x36f982;const _0x445e1b=(_0x36f982=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x36f982[_0x4667f3(0x278)];if(!_0x445e1b)return;this[_0x4667f3(0x209)][_0x4667f3(0x1ca)](_0x892294=>{const _0x23486b=_0x4667f3;_0x892294[_0x23486b(0x200)]();});const {scene:_0x3f3040}=this[_0x4667f3(0x1e7)],_0x4176ea=Array[_0x4667f3(0xf7)](_0xee65c5['keys']())[_0x4667f3(0x14c)](_0x52a831=>_0xee65c5[_0x4667f3(0x1eb)](_0x52a831)[_0x4667f3(0x14c)](_0x16457a=>{const _0x31bdda=_0x4667f3;var _0x14d627;const {range:_0x356885,subUnitId:_0x17ef19,unitId:_0x44b799}=_0x16457a,{startColumn:_0x533b68,startRow:_0x312909,endColumn:_0x33cbbc,endRow:_0x3aa88c}=_0x356885,_0x1041c3=_0x15b882(_0x312909,_0x533b68,_0x3f3040,_0x445e1b),_0x573945=_0x15b882(_0x3aa88c,_0x33cbbc,_0x3f3040,_0x445e1b),{columnHeaderHeightAndMarginTop:_0x376301}=_0x445e1b,{startX:_0x95a159,startY:_0x287d26}=_0x1041c3,{endX:_0x387611,endY:_0x28c55e}=_0x573945,_0x6ee5b=_0x387611-_0x95a159,_0x144f27=_0x28c55e-_0x287d26,_0x3df073={'labelPosition':_0x287d26-_0x376301>=0x14?'top':_0x31bdda(0x217),'sheetID':_0x17ef19,'range':_0x356885,'color':_0x31bdda(0x1a9),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x31bdda(0x1a9),'name':((_0x14d627=this[_0x31bdda(0x207)]['getMember'](_0x52a831))==null?void 0x0:_0x14d627[_0x31bdda(0x1c5)])||'','selection':_0x44b799+'-'+_0x17ef19+'-'+_0x356885[_0x31bdda(0x23c)]+'-'+_0x356885[_0x31bdda(0x1f6)]+'-'+_0x356885[_0x31bdda(0x248)]+'-'+_0x356885[_0x31bdda(0x1b1)],'left':_0x95a159,'top':_0x287d26,'width':_0x6ee5b,'height':_0x144f27,'evented':!0x1,'zIndex':0x1};return new _0x4d2000('',_0x3df073);}))[_0x4667f3(0xd5)]();_0x3f3040[_0x4667f3(0x265)](_0x4176ea,0x1),this[_0x4667f3(0x209)]=new Set(_0x4176ea);}['_removeDiffMarks'](){const _0x2e6d7c=_0x39f7f0;var _0x5b294e;(_0x5b294e=this[_0x2e6d7c(0x209)])==null||_0x5b294e[_0x2e6d7c(0x1ca)](_0x70f4a1=>_0x70f4a1['dispose']());}[_0x39f7f0(0x242)](){const _0x27e5d0=_0x39f7f0;return _0x4ac6c4(this['_univerInstanceService'],this[_0x27e5d0(0x1b6)]);}};te=ws([w(0x1,_0x26b596(E)),w(0x2,_0x26b596(L)),w(0x3,_0x367c5c),w(0x4,_0x3b85a2),w(0x5,_0x26b596(_0x50153a)),w(0x6,_0x35d18d)],te);function Cs(){const _0x27f0f6=_0x39f7f0,_0x408889=_0x23eaab(E),_0x479343=_0x49be28(_0x408889[_0x27f0f6(0x21a)]),[_0x3cf302,_0x37e98e]=_0x2a3745(!0x1),_0x3a389c=os(_0x479343);return _0x479343?_0x1556e9(_0x27f0f6(0x14d),{'className':_0x27f0f6(0xf3),'children':_0x3f12c3(_0x27f0f6(0x14d),{'className':_0x27f0f6(0x229),'children':[_0x3a389c[_0x27f0f6(0x14c)]((_0x2d799e,_0x1ebdf8)=>_0x3f12c3(_0x280a9c,{'children':[_0x1556e9($s,{'date':_0x2d799e['dateString']}),_0x2d799e['versions'][_0x27f0f6(0x14c)]((_0x501b41,_0x465c8b)=>_0x1556e9(Ls,{'index':[_0x1ebdf8,_0x465c8b],'item':_0x501b41},_0x1ebdf8+'-'+_0x465c8b))]},_0x2d799e[_0x27f0f6(0x135)])),_0x3cf302&&_0x1556e9(Ps,{})]})}):_0x1556e9(Ts,{});}function Ps(){const _0x76cdb=_0x39f7f0;return _0x1556e9(_0x76cdb(0x14d),{'className':_0x76cdb(0x1b0),'children':_0x1556e9(ae,{'className':'univer-animate-spin'})});}function Ts(){const _0x4f1e2c=_0x39f7f0;return _0x1556e9(_0x4f1e2c(0x14d),{'className':_0x4f1e2c(0x245),'children':_0x1556e9('span',{'className':_0x4f1e2c(0x170),'children':_0x1556e9(ae,{'className':_0x4f1e2c(0x18e)})})});}function $s(_0x36174a){const _0x2f7066=_0x39f7f0,_0x3db4aa=_0x23eaab(_0x144a4a),{date:_0x1ffeb4}=_0x36174a;return _0x1556e9(_0x2f7066(0x14d),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-pl-5\x20univer-text-[#1e222b]\x20univer-text-sm\x20univer-font-medium','children':ee(_0x1ffeb4,_0x3db4aa[_0x2f7066(0x1b9)]())});}function Ls(_0x5a5b50){const _0xbb842a=_0x39f7f0,{item:_0x13e97f,index:_0x2e3da8}=_0x5a5b50,{time:_0x19a19d,user:_0x4e3d88}=_0x13e97f,[_0xb5c6f2,_0x3d69e9]=_0x2e3da8,_0x4820ef=_0x23eaab(E),_0x33c687=_0x49be28(_0x4820ef[_0xbb842a(0x18b)],'',!0x0)===_0x13e97f['id'],_0x481bc7=_0xb5c6f2===0x0&&_0x3d69e9===0x0,_0x157a33=!_0x481bc7&&_0x4820ef[_0xbb842a(0x184)],_0x380758=_0x23eaab(_0x144a4a),_0xd023df=_0x380758[_0xbb842a(0x1b9)](),_0x30cca4=re(_0x19a19d,_0xd023df),_0x20e0ec=_0x380758['t']('editHistory.panel.currentVersion'),_0x2657e6=_0x2805dc(_0x48b43b=>{const _0x1a51a7=_0xbb842a;_0x4820ef[_0x1a51a7(0x15c)]!==T['Loading']&&(_0x4820ef[_0x1a51a7(0x115)]=_0x48b43b);},[_0x4820ef]),_0x2e16=_0x2805dc(_0x394a85=>{const _0x5ca13b=_0xbb842a;_0x4820ef[_0x5ca13b(0x131)](_0x394a85);},[_0x4820ef]);return _0x3f12c3(_0xbb842a(0x14d),{'className':_0x3dcca8(_0xbb842a(0x274),{'univer-bg-gray-50':_0x33c687}),'onClick':()=>_0x2657e6(_0x13e97f['id']),'children':[_0x3f12c3('div',{'className':_0xbb842a(0x1d3),'children':[_0x1556e9(_0xbb842a(0x14d),{'className':_0xbb842a(0x25c)}),_0x3f12c3(_0xbb842a(0x14d),{'className':_0xbb842a(0x215),'children':[_0x1556e9(_0xbb842a(0xf5),{'children':_0x30cca4[_0xbb842a(0x1f8)]}),_0x481bc7&&_0x1556e9('span',{'className':_0xbb842a(0x102),'children':_0x20e0ec})]}),_0x1556e9(_0xbb842a(0x14d),{'children':_0x157a33&&_0x1556e9(_0x2a16e3,{'title':_0x380758['t'](_0xbb842a(0x12b)),'children':_0x1556e9(_0xbb842a(0x14d),{'onClick':_0x32d348=>{const _0x25a929=_0xbb842a;_0x32d348[_0x25a929(0xdd)](),_0x2e16(_0x13e97f['id']);},'className':_0xbb842a(0x1f3),'children':_0x1556e9(Te,{})})})})]}),_0x1556e9(_0xbb842a(0x14d),{'className':'univer-pl-[26px]\x20univer-text-gray-600\x20univer-text-sm\x20univer-leading-5\x20dark:!univer-text-gray-200','children':ns(_0x13e97f,_0x380758)})]});}var Vs=Object['getOwnPropertyDescriptor'],ks=(_0x962c71,_0x1f292d,_0x272160,_0x1dc653)=>{const _0x525066=_0x39f7f0;for(var _0x3be552=_0x1dc653>0x1?void 0x0:_0x1dc653?Vs(_0x1f292d,_0x272160):_0x1f292d,_0x4c4d68=_0x962c71[_0x525066(0x1fd)]-0x1,_0x2f8d54;_0x4c4d68>=0x0;_0x4c4d68--)(_0x2f8d54=_0x962c71[_0x4c4d68])&&(_0x3be552=_0x2f8d54(_0x3be552)||_0x3be552);return _0x3be552;},k=(_0x608cff,_0x5846ae)=>(_0xec8cd2,_0x1317ea)=>_0x5846ae(_0xec8cd2,_0x1317ea,_0x608cff);const de=_0x39f7f0(0xe2);let F=class extends _0x160471{constructor(_0x57bdf8,_0x3c9c32,_0x315305,_0x45d6a3){const _0x194c79=_0x39f7f0;super(),l(this,_0x194c79(0xd9),null),(this['_sidebarService']=_0x57bdf8,this[_0x194c79(0x117)]=_0x3c9c32,this['_localeService']=_0x315305,this['_historyManagerService']=_0x45d6a3,this[_0x194c79(0x237)]());}[_0x39f7f0(0x237)](){const _0x195e5a=_0x39f7f0;this[_0x195e5a(0x188)](),this[_0x195e5a(0x1ac)]();}['_openPanel'](){const _0x2eec19=_0x39f7f0;if(this[_0x2eec19(0xd9)])return;const _0x53793a={'header':{'title':this[_0x2eec19(0x1c3)]['t'](_0x2eec19(0x1cf))},'children':{'label':de},'onClose':()=>{const _0x41b0a2=_0x2eec19;this[_0x41b0a2(0xd9)]=null,this[_0x41b0a2(0x207)][_0x41b0a2(0x11a)]=ne[_0x41b0a2(0x24a)];}};this['_sidebarDisposable']=this[_0x2eec19(0x238)][_0x2eec19(0x16c)]({..._0x53793a});}['_initPanel'](){const _0x2ec73f=_0x39f7f0;this[_0x2ec73f(0x1ec)](this[_0x2ec73f(0x117)]['register'](de,Cs)),this[_0x2ec73f(0x1ec)](this['_sidebarService'][_0x2ec73f(0x206)]['pipe'](_0x53c9c6(0x64))[_0x2ec73f(0xdf)](_0x41b1a8=>{const _0x2a8cdd=_0x2ec73f,{target:_0x258107}=_0x41b1a8||{};if(_0x258107){const {scrollTop:_0x2bee24,scrollHeight:_0x34583d,clientHeight:_0x27a97d}=_0x258107;_0x2bee24+_0x27a97d>=_0x34583d-0x5&&this[_0x2a8cdd(0x207)][_0x2a8cdd(0x1d9)]();}}));}};F=ks([k(0x0,_0x1d585e),k(0x1,_0x26b596(_0x58f4ee)),k(0x2,_0x26b596(_0x144a4a)),k(0x3,_0x26b596(E))],F);class xs extends _0x160471{constructor(){const _0x2ab49c=_0x39f7f0;super(),l(this,_0x2ab49c(0x1fb),new _0x4556fe());}[_0x39f7f0(0x16c)](){return _0x5a356c(()=>{});}[_0x39f7f0(0x183)](){}[_0x39f7f0(0x161)](_0x1c86f6){}['getDialogs$'](){const _0x24fa3b=_0x39f7f0;return this[_0x24fa3b(0x1fb)]['asObservable']();}}var Us=Object[_0x39f7f0(0x13b)],Hs=Object[_0x39f7f0(0x258)],js=(_0x3ff17f,_0x20d714,_0x48c700)=>_0x20d714 in _0x3ff17f?Us(_0x3ff17f,_0x20d714,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x48c700}):_0x3ff17f[_0x20d714]=_0x48c700,Bs=(_0x377545,_0x3a3571,_0x59cf95,_0x595c01)=>{const _0x35821c=_0x39f7f0;for(var _0x4b2398=_0x595c01>0x1?void 0x0:_0x595c01?Hs(_0x3a3571,_0x59cf95):_0x3a3571,_0x4486a1=_0x377545[_0x35821c(0x1fd)]-0x1,_0x346d21;_0x4486a1>=0x0;_0x4486a1--)(_0x346d21=_0x377545[_0x4486a1])&&(_0x4b2398=_0x346d21(_0x4b2398)||_0x4b2398);return _0x4b2398;},J=(_0x45228b,_0x403227)=>(_0x361b70,_0x30fa84)=>_0x403227(_0x361b70,_0x30fa84,_0x45228b),Ys=(_0x467843,_0x28dc2b,_0x4425e8)=>js(_0x467843,_0x28dc2b+'',_0x4425e8);const Fs=_0x39f7f0(0x223);let se=class extends _0x50cad4{constructor(_0x1d1847=_e,_0x1466e5,_0x4c3f13,_0xd8d8d2){const _0x382a6c=_0x39f7f0;super(),this[_0x382a6c(0x1e4)]=_0x1d1847,this[_0x382a6c(0x22b)]=_0x1466e5,this['_renderManagerService']=_0x4c3f13,this[_0x382a6c(0x1ae)]=_0xd8d8d2;const {..._0xad49b6}=_0x22e748({},_e,this[_0x382a6c(0x1e4)]);this['_configService']['setConfig'](we,_0xad49b6);}[_0x39f7f0(0x1c1)](){const _0x2d862e=_0x39f7f0;[[E],[Y],[L],[B],[F],[H],[_0x4a2eeb,{'useClass':_0x32be97}],[_0x1300d2,{'useClass':xs}],[_0x1e189b,{'useClass':_0x1f2e93}]][_0x2d862e(0x1ca)](_0x1d4c1a=>this[_0x2d862e(0x22b)][_0x2d862e(0x201)](_0x1d4c1a)),this[_0x2d862e(0x22b)][_0x2d862e(0x1eb)](Y);}[_0x39f7f0(0x10b)](){const _0x56c035=_0x39f7f0;[[te]]['forEach'](_0x3dde9c=>{const _0x264a9f=_0x105e;this['disposeWithMe'](this[_0x264a9f(0x1b6)][_0x264a9f(0x20d)](_0x557778[_0x264a9f(0x19c)],_0x3dde9c));}),this['_injector'][_0x56c035(0x1eb)](H),this[_0x56c035(0x22b)][_0x56c035(0x1eb)](F);}['onSteady'](){const _0x1735ce=_0x39f7f0;this[_0x1735ce(0x22b)]['get'](L);}};Ys(se,'pluginName',Fs),se=Bs([_0x36ae7e(_0x11b010,_0x3bc885),J(0x1,_0x26b596(_0x9be13e)),J(0x2,_0x3b85a2),J(0x3,_0x1b3ac6)],se);export{E as HistoryManagerService,ne as HistoryModeStatus,se as UniverEditHistoryViewerPlugin};
|
|
1
|
+
const _0x1ca9f1=_0x552a;(function(_0x519c39,_0xeb587c){const _0x4f7d04=_0x552a,_0x1f5fdc=_0x519c39();while(!![]){try{const _0x48f847=-parseInt(_0x4f7d04(0xb6))/0x1*(-parseInt(_0x4f7d04(0x206))/0x2)+-parseInt(_0x4f7d04(0x138))/0x3+-parseInt(_0x4f7d04(0x207))/0x4*(parseInt(_0x4f7d04(0x149))/0x5)+-parseInt(_0x4f7d04(0x175))/0x6+parseInt(_0x4f7d04(0x108))/0x7*(-parseInt(_0x4f7d04(0x191))/0x8)+parseInt(_0x4f7d04(0xef))/0x9*(parseInt(_0x4f7d04(0x242))/0xa)+-parseInt(_0x4f7d04(0x1e0))/0xb*(-parseInt(_0x4f7d04(0x1d2))/0xc);if(_0x48f847===_0xeb587c)break;else _0x1f5fdc['push'](_0x1f5fdc['shift']());}catch(_0x5ec1c7){_0x1f5fdc['push'](_0x1f5fdc['shift']());}}}(_0x3abc,0xc0ce2));var He=Object[_0x1ca9f1(0x205)],je=(_0x766406,_0x48df8c,_0x4bce3e)=>_0x48df8c in _0x766406?He(_0x766406,_0x48df8c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4bce3e}):_0x766406[_0x48df8c]=_0x4bce3e,l=(_0x323e34,_0x6e29a2,_0x3bb2a0)=>je(_0x323e34,typeof _0x6e29a2!=_0x1ca9f1(0x15b)?_0x6e29a2+'':_0x6e29a2,_0x3bb2a0);import{RevertRevisionMutation as _0x2293d5,CreateUnitMutation as _0x115bd7,ISnapshotServerService as _0x55f9bf,CompressMutationService as _0x2e3fd0,transformSnapshotToWorkbookData as _0x517595,ITransformService as _0x44a818,parseProtocolChangeset as _0x9a4364,isTransformMutationsSuccess as _0x106bf1}from'@univerjs-pro/collaboration';import{SnapshotServerOverHTTPService as _0x5e9a47,CollaborationImageIoService as _0x9e1720}from'@univerjs-pro/collaboration-client';import{Disposable as _0x1901d0,LocaleType as _0x427e97,IUniverInstanceService as _0x493712,ICommandService as _0x176e65,IConfigService as _0x43cc31,Inject as _0x26c1e5,UniverInstanceType as _0x311ae6,LocaleService as _0x760f3c,IPermissionService as _0x3c83fa,Injector as _0x1deb14,ObjectMatrix as _0x17cae5,debounce as _0x29fbf3,DisposableCollection as _0x35cde1,toDisposable as _0x227128,DependentOn as _0x5c4ef2,Plugin as _0x4dd956,merge as _0x3e9ed5}from'@univerjs/core';import{IImageIoService as _0x4f0d9f}from'@univerjs/drawing';import{IRenderManagerService as _0x232ef0,Vector2 as _0x1ec9fb,SHEET_VIEWPORT_KEY as _0x19524c}from'@univerjs/engine-render';import{HTTPService as _0x4079b5,UniverNetworkPlugin as _0x5b436c}from'@univerjs/network';import{ICellEditorManagerService as _0x3a36a7,SheetSkeletonManagerService as _0x4c32fa,getCoordByCell as _0x53ee62,getSheetObject as _0xd9a78,UniverSheetsUIPlugin as _0xbe1a51}from'@univerjs/sheets-ui';import{IMessageService as _0x4954ce,IConfirmService as _0x4292f5,useDependency as _0x55808b,useObservable as _0x2e10f1,IUIPartsService as _0x22ccde,BuiltInUIPart as _0x29bbc9,connectInjector as _0x5eaff6,ISidebarService as _0x4ec7ab,ComponentManager as _0x5c25aa,IDialogService as _0x26bee0}from'@univerjs/ui';function _0x3abc(){const _0x221b4c=['registerRenderModule','LICENSE_EXPORT_SIZE_EXCEEDED','setCF','_renderManagerService','_transformMutationByOrder','padStart','setValue','#0B9EFB','300WabVjE','univer-flex\x20univer-items-center\x20univer-justify-center','Init','_workbookDataCache','now','apply','ranges','APPLY_REJECT','_messageService','_createUnit','insertSheet','height','_revertRevision$','BackIcon','assign','removeSheet','_updateDiffMarks','_permissionService','currentVersion','_removeDiffMarks','mutations','editHistory.panel.cancel','className','_fetching','univer-m-auto\x20univer-animate-spin','addProtection','editHistory.panel.currentVersion','getConfig','pipe','m1Prime','_componentManager','Loading','ViewHistory','interceptor','string','NOT_FOUND','InsertHyperlink','YUUMI_NO_CUBOID_FOR_QUESTION','versions','add','backgroundColor','getMember','Info','setFrozen','disposeUnit','getCellPositionByOffset','getDeserializedSheetBlock','registerComponent','VIEW_MAIN','_init','indexOf','_historyContainerId','children','447968KqQKva','user','_historyFetchService','YUUMI_AI_RUN_FAILED','univer-flex-1\x20univer-flex\x20univer-items-center\x20univer-justify-center','unitId$','close','keys','getOwnPropertyDescriptor','Delete','_getSheetObject','ALREADY_EXISTS','SetRowStyle','row','absolute','univer-w-full\x20univer-h-[30px]\x20univer-flex\x20univer-items-center\x20univer-justify-center','CreateWorksheet','hasCommand','_canRevert','FromArray','_loadingState$','onStarting','init','_cellEditorManagerService','APPLY_DUPLICATED','ManageCollaborator','onPointerMove$','HideWorksheet','SetWorksheetStyle','100%','position','svg','CHANGESET_REVISION_CONFILICT','CopySheet','_snapshotServerService','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','_maskContainer','UNDEFINED','_diffs','historyListServerUrl','startRow','UNIVER_DOC','ensureVersion','createElement','range','span','triggerLoadVersions','APPLY_PERMISSION_DENIED','some','name','_initPanel','editHistory.info.loading','confirm-revert-revision','column','split','colorChannel1','SNAPSHOT_HAS_BEEN_REMOVED','303966jNTdso','Exited','dateString','color','getCurrentLocale','ViewFilter','style','Comment','VIRTUAL_VERSION_NOW','back-icon','MoveWorksheet','_openPanel','INTERNAL_ERROR','_initMaskContainer','SNAPSHOT_INVALID_SNAPSHOT','display','replace','defs','_sidebarDisposable','rgba(225,\x20225,\x20225,\x200.5)','Share','left','YUUMI_RATE_OVER_LIMIT','_context','univer-ml-2\x20univer-px-1.5\x20univer-h-5\x20univer-flex\x20univer-items-center\x20univer-justify-center\x20univer-text-primary-600\x20univer-text-xs\x20univer-border\x20univer-border-primary-600\x20univer-rounded\x20univer-bg-primary-50','721Iqgeqp','skeleton','UNIVER_SHEET','RecoverHistory','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','YUUMI_URL_COL_OUT_OF_RANGE','DeleteRow','edit-history-viewer.config','RenameWorksheet','SetCellStyle','append','Sort','versions$','SelectUnProtectedCells','_getActiveSubUnitId','EditWorksheetCell','_confirmService','recoverTime','_configService','LICENSE_MAX_UNITS_EXCEEDED','_univerInstanceService','tag','time','editHistory.panel.listFetchError','editHistory.panel.revertConfirm','LICENSE_DISTRO_REJECTED','triggerLoadSheet','1000','1em','USER_NOT_INVITED_CODE','_versions$','status','HEADER','_diffRangesMap','0\x200\x2016\x2017','startRevision','history-panel','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','xlink:href','sheetId','length','editSheet','block','EditExtraObject','push','params','UNIVER_UNKNOWN','univer-flex\x20univer-items-center\x20univer-justify-center\x20univer-w-8\x20univer-h-8\x20univer-ml-2.5\x20univer-rounded\x20hover:univer-bg-[rgba(30,34,43,0.06)]','212118VeECvv','loadingState','next','endRow','onSteady','path','currentSkeleton$','onMouseMove','_versionDiffService','div','map','EMAIL_HAS_BEEN_BOUND','Error','triggerRevert','concat','justifyContent','querySelector','223920NdqYaK','_dialogOptions$','_getRangesByMutation','createSheet','getRelativeToViewportCoord','forEach','_combineRanges','none','editHistory.action.etc','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','asObservable','anonymous','merge','makeDirty','_members','code','evenodd','editHistory.action.revertSheetPrefix','symbol','View','url(#restore-icon_clip0_1247_2)','random','Print','getHours','_lastLabel','loadingState$','date','editHistory.panel.unknownUser','LICENSE_IMPORT_SIZE_EXCEEDED','editHistory.action.revertSheetSuffix','INVITE_CODE_ALREADY_BOUND','toString','width','commands','YUUMI_SUBSCRIPTION_NOT_FOUND','YUUMI_TABLE_NOT_FOUND_IN_UNIT','sheet','_status$','endColumn','RwHgtClWdt','fetchThroughInterceptors','_httpService','_initRender','fetchMissingChangesets','2978718foBCyx','INVALID_INVITE_CODE','YUUMI_ASYNCIO_CANCELLED','userID','CreateSheet','memberId','prototype','loading','show','univer-mx-[-20px]\x20univer-overflow-hidden','PY_RUNTIME_SCRIPT_ERROR','getOwnPropertySymbols','InsertColumn','_extractRanges','_compressMutationService','set','defIds','getVpScrollXYInfoByPosToVp','APPLY_NON_SEQUENTIAL_REVISION','restore-icon_clip0_1247_2','call','parse','closeAll','then','endRevision','rule','has','action','50296GQCJCw','DeleteColumn','INVITE_CODE_HAS_BEEN_UES','http://www.w3.org/2000/svg','INVALID_ARGUMENT','getElementById','getUnitOnRev','command','univerjs-icon\x20univerjs-icon-','cellValue','restore-icon','univer-h-[50px]\x20univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-[#e5e5e5]\x20univer-cursor-default','subUnitId','ViemRwHgtClWdt','_commandService','loadSheet','_historyManagerService','PERMISSION_DENIED','zIndex','flat','includes','WECHAT_HAS_BEEN_BOUND','_hasMore','entries','Edit','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','Copy','addObjects','Export','currentVersion$','getVersions','FloatImg','UNIVER_SLIDE','startColumn','entered','_config','univer-animate-spin','setState','UNAUTHENTICATED','_initActiveSwitch','DeleteWorksheet','pluginName','_sheetSkeletonManagerService','dispose','find','getDialogs$','SetCellValue','workbook','UNRECOGNIZED','/list?length=20','displayName','univer-w-6\x20univer-h-6\x20univer-flex\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-400\x20univer-rounded\x20dark:hover:!univer-bg-gray-700\x20hover:univer-bg-gray-100','permissionPointUpdate$','setFilter','editHistory.panel.revertConfirmText','_updateVersions','_currentVersion$','onRendered','setDV','showMask','YUUMI_ALL_TABLES_IS_INVALID','data','&lastLabel=','updatePermissionPoint','toISOString','12KIFiBj','unitId','subType','_injector','univer-h-full\x20univer-overflow-auto\x20univer-border-t\x20univer-border-gray-200','getCurrent','SelectProtectedCells','_maskElement','canRevert','InsertRow','editHistory.panel.confirm','_lastPointer','Loaded','deleteProtection','7946378oDJQxT','HideSheet','COMPLETION_FINISHED','getVersion','values','loadMoreVersions','disposeWithMe','PivotTable','confirm','TOO_MANY_REQUESTS','open','exited','use','history-mask','value','History','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','scrollEvent$','getViewport','CONNECTOR_DATA_TOO_LARGE','getCurrentUnitForType','subscribe','loading-multi-icon','all','error','propertyIsEnumerable','center','univer-pl-[26px]\x20univer-text-gray-600\x20univer-text-sm\x20univer-leading-5\x20dark:!univer-text-gray-200','_localeService','ZH_CN','Entered','flex','DeleteSheet','userId','body','get','isArray','defineProperty','2CHTnul','16kGEfCQ','entities','getCurrentVersion','getMinutes','active','focusUnit','white','_sidebarService','syncExecuteCommand','icon','loaded','trim','addSparkline','status$','getAncestorScale','MoveSheet','UNIVER_PROJECT','_createMask','currentColor','attrs','blocks','clipPath','mask','_getAPIPrefix','bottom','LOGIN_FAILED','ENSURE_SNAPSHOT_EXECUTION','current','subscribeEvent','LoadingMultiIcon','revertRevision$','hasOwnProperty','currentVersionDiff$','YUUMI_UNABLE_LOAD_URL','substring','RenameSheet','createTime','from','fill','_currentVersionDiff$','blockMeta','extend','COMPRESS_MUTATION_APPLY','idSuffix','CreatePermissionObject','getUnitId','Today','filter','url(#$1','SetColumnStyle','users'];_0x3abc=function(){return _0x221b4c;};return _0x3abc();}import{MessageType as _0x113ca4,Button as _0x3bf6a6,clsx as _0xc242f8,Tooltip as _0xe7ce02}from'@univerjs/design';import{InsertSheetMutation as _0x2d0c7a,RemoveSheetMutation as _0x35861f,SetFrozenMutation as _0x1c5a0a,AddWorksheetProtectionMutation as _0x34b41e,AddRangeProtectionMutation as _0x296180,DeleteRangeProtectionMutation as _0x526137,DeleteWorksheetProtectionMutation as _0x4a7cad,WorkbookEditablePermission as _0x2e39b6,WorkbookRenameSheetPermission as _0x33798e,WorkbookMoveSheetPermission as _0x3ebd81,WorkbookHideSheetPermission as _0x2f7491,SetWorksheetHideMutation as _0x282e1c,SetRangeValuesMutation as _0x58fab2,SetRangeProtectionMutation as _0x55c297,ReorderRangeMutation as _0x4e8fee,RemoveNumfmtMutation as _0x3eac25,SetNumfmtMutation as _0x16a9d6,MoveColsMutation as _0x229dc3,MoveRowsMutation as _0x5e550b,MoveRangeMutation as _0x5f5289,InsertColMutation as _0x2fe804,InsertRowMutation as _0x1525a4,AddWorksheetMergeMutation as _0x4e8b72,RangeMergeUtil as _0x1a0ed9,findAllRectangle as _0x16471f,SetWorksheetActiveOperation as _0x40704e}from'@univerjs/sheets';import{BehaviorSubject as _0x212087,combineLatest as _0x5a19f5,switchMap as _0x231616,map as _0x38ff0c,of as _0x579c5f,debounceTime as _0x4ebf36,Subject as _0x245a67}from'rxjs';import{AddDataValidationMutation as _0x11e583,UpdateDataValidationMutation as _0x20e576}from'@univerjs/data-validation';import{SetConditionalRuleMutation as _0x65b3a9,AddConditionalRuleMutation as _0x1e7198}from'@univerjs/sheets-conditional-formatting';import{SetSheetsFilterRangeMutation as _0x4a9fed}from'@univerjs/sheets-filter';import{AddSheetSparklineMutation as _0x4c84a8}from'@univerjs-pro/sheets-sparkline';import{jsxs as _0x122161,jsx as _0x27fae2}from'react/jsx-runtime';import{forwardRef as _0x27bac4,useRef as _0x578523,createElement as _0x1dc246,useCallback as _0x7105df,useState as _0x2ba2dc,Fragment as _0x4389c1}from'react';import{SheetCollabCursorShape as _0xd3627f}from'@univerjs-pro/collaboration-client-ui';const we=_0x1ca9f1(0x10f),_e={};var ts=Object['getOwnPropertyDescriptor'],ss=(_0x408bb7,_0x1f2203,_0x47e0f8,_0xf92001)=>{const _0xb7d897=_0x1ca9f1;for(var _0x40821d=_0xf92001>0x1?void 0x0:_0xf92001?ts(_0x1f2203,_0x47e0f8):_0x1f2203,_0x52fe54=_0x408bb7[_0xb7d897(0x130)]-0x1,_0x6ecb4d;_0x52fe54>=0x0;_0x52fe54--)(_0x6ecb4d=_0x408bb7[_0x52fe54])&&(_0x40821d=_0x6ecb4d(_0x40821d)||_0x40821d);return _0x40821d;},is=(_0x173bc5,_0x254b3a)=>(_0x569bde,_0x592a55)=>_0x254b3a(_0x569bde,_0x592a55,_0x173bc5);let H=class extends _0x1901d0{constructor(_0x4577d5){const _0x4d6b6b=_0x1ca9f1;super(),this[_0x4d6b6b(0xcd)]=_0x4577d5,this[_0x4d6b6b(0xb2)]();}['_init'](){const _0x4f5e2d=_0x1ca9f1;this['disposeWithMe'](this[_0x4f5e2d(0xcd)]['state$']['subscribe'](_0x273855=>{const _0x232bb2=_0x4f5e2d;_0x273855!=null&&_0x273855[_0x232bb2(0x17d)]&&this[_0x232bb2(0xcd)][_0x232bb2(0x1b6)]({'show':!0x1});}));}};H=ss([is(0x0,_0x3a36a7)],H);var X=(_0x5f48c9=>(_0x5f48c9[_0x5f48c9[_0x1ca9f1(0xdb)]=0x0]=_0x1ca9f1(0xdb),_0x5f48c9[_0x5f48c9['OK']=0x1]='OK',_0x5f48c9[_0x5f48c9['INTERNAL_ERROR']=0x2]=_0x1ca9f1(0xfb),_0x5f48c9[_0x5f48c9[_0x1ca9f1(0x1a2)]=0x3]='PERMISSION_DENIED',_0x5f48c9[_0x5f48c9[_0x1ca9f1(0xa4)]=0x4]=_0x1ca9f1(0xa4),_0x5f48c9[_0x5f48c9[_0x1ca9f1(0x1b7)]=0x5]=_0x1ca9f1(0x1b7),_0x5f48c9[_0x5f48c9['ALREADY_EXISTS']=0x6]=_0x1ca9f1(0xc1),_0x5f48c9[_0x5f48c9[_0x1ca9f1(0x195)]=0x7]=_0x1ca9f1(0x195),_0x5f48c9[_0x5f48c9[_0x1ca9f1(0x1e9)]=0x8]=_0x1ca9f1(0x1e9),_0x5f48c9[_0x5f48c9[_0x1ca9f1(0x1e2)]=0x9]=_0x1ca9f1(0x1e2),_0x5f48c9[_0x5f48c9['LOGIN_FAILED']=0xa]=_0x1ca9f1(0x220),_0x5f48c9[_0x5f48c9[_0x1ca9f1(0xd6)]=0x1389]=_0x1ca9f1(0xd6),_0x5f48c9[_0x5f48c9[_0x1ca9f1(0xfd)]=0x1771]=_0x1ca9f1(0xfd),_0x5f48c9[_0x5f48c9[_0x1ca9f1(0xee)]=0x1772]=_0x1ca9f1(0xee),_0x5f48c9[_0x5f48c9['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x1ca9f1(0x221),_0x5f48c9[_0x5f48c9[_0x1ca9f1(0x88)]=0x1b59]=_0x1ca9f1(0x88),_0x5f48c9[_0x5f48c9[_0x1ca9f1(0x187)]=0x1b5a]=_0x1ca9f1(0x187),_0x5f48c9[_0x5f48c9['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5f48c9[_0x5f48c9[_0x1ca9f1(0xe5)]=0x1b5c]=_0x1ca9f1(0xe5),_0x5f48c9[_0x5f48c9['APPLY_DUPLICATED']=0x1b5d]=_0x1ca9f1(0xce),_0x5f48c9[_0x5f48c9['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x1ca9f1(0x1f3),_0x5f48c9[_0x5f48c9[_0x1ca9f1(0x11b)]=0x2329]=_0x1ca9f1(0x11b),_0x5f48c9[_0x5f48c9[_0x1ca9f1(0x1aa)]=0x232a]=_0x1ca9f1(0x1aa),_0x5f48c9[_0x5f48c9['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1ca9f1(0x165),_0x5f48c9[_0x5f48c9[_0x1ca9f1(0x23b)]=0x232c]=_0x1ca9f1(0x23b),_0x5f48c9[_0x5f48c9[_0x1ca9f1(0x121)]=0x232d]=_0x1ca9f1(0x121),_0x5f48c9[_0x5f48c9['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x1ca9f1(0x228),_0x5f48c9[_0x5f48c9['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1ca9f1(0x10d),_0x5f48c9[_0x5f48c9[_0x1ca9f1(0x105)]=0x2713]=_0x1ca9f1(0x105),_0x5f48c9[_0x5f48c9[_0x1ca9f1(0x16b)]=0x2714]=_0x1ca9f1(0x16b),_0x5f48c9[_0x5f48c9[_0x1ca9f1(0xa6)]=0x271a]=_0x1ca9f1(0xa6),_0x5f48c9[_0x5f48c9[_0x1ca9f1(0x177)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5f48c9[_0x5f48c9[_0x1ca9f1(0x16c)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x5f48c9[_0x5f48c9[_0x1ca9f1(0x1cd)]=0x271d]=_0x1ca9f1(0x1cd),_0x5f48c9[_0x5f48c9['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x5f48c9[_0x5f48c9[_0x1ca9f1(0xb9)]=0x271f]=_0x1ca9f1(0xb9),_0x5f48c9[_0x5f48c9[_0x1ca9f1(0x17f)]=0x2af9]=_0x1ca9f1(0x17f),_0x5f48c9[_0x5f48c9[_0x1ca9f1(0x193)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x5f48c9[_0x5f48c9[_0x1ca9f1(0x176)]=0x2ee2]=_0x1ca9f1(0x176),_0x5f48c9[_0x5f48c9['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x5f48c9[_0x5f48c9[_0x1ca9f1(0x125)]=0x2ee4]=_0x1ca9f1(0x125),_0x5f48c9[_0x5f48c9['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x1ca9f1(0x167),_0x5f48c9[_0x5f48c9['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x1ca9f1(0x1a6),_0x5f48c9[_0x5f48c9['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x5f48c9[_0x5f48c9[_0x1ca9f1(0x143)]=0x32cb]=_0x1ca9f1(0x143),_0x5f48c9[_0x5f48c9['UNRECOGNIZED']=-0x1]=_0x1ca9f1(0x1c1),_0x5f48c9))(X||{}),j=(_0x2dc8c9=>(_0x2dc8c9[_0x2dc8c9[_0x1ca9f1(0x136)]=0x0]=_0x1ca9f1(0x136),_0x2dc8c9[_0x2dc8c9[_0x1ca9f1(0xdf)]=0x1]=_0x1ca9f1(0xdf),_0x2dc8c9[_0x2dc8c9[_0x1ca9f1(0x10a)]=0x2]=_0x1ca9f1(0x10a),_0x2dc8c9[_0x2dc8c9['UNIVER_SLIDE']=0x3]=_0x1ca9f1(0x1b1),_0x2dc8c9[_0x2dc8c9['UNIVER_PROJECT']=0x4]=_0x1ca9f1(0x217),_0x2dc8c9[_0x2dc8c9[_0x1ca9f1(0x1c1)]=-0x1]=_0x1ca9f1(0x1c1),_0x2dc8c9))(j||{}),O=(_0x11d1bd=>(_0x11d1bd[_0x11d1bd['View']=0x0]=_0x1ca9f1(0x15c),_0x11d1bd[_0x11d1bd['Edit']=0x1]=_0x1ca9f1(0x1a9),_0x11d1bd[_0x11d1bd[_0x1ca9f1(0xcf)]=0x2]='ManageCollaborator',_0x11d1bd[_0x11d1bd[_0x1ca9f1(0x15f)]=0x3]='Print',_0x11d1bd[_0x11d1bd['Duplicate']=0x4]='Duplicate',_0x11d1bd[_0x11d1bd[_0x1ca9f1(0xf6)]=0x5]=_0x1ca9f1(0xf6),_0x11d1bd[_0x11d1bd[_0x1ca9f1(0x1ab)]=0x6]=_0x1ca9f1(0x1ab),_0x11d1bd[_0x11d1bd[_0x1ca9f1(0x103)]=0x7]=_0x1ca9f1(0x103),_0x11d1bd[_0x11d1bd[_0x1ca9f1(0x1ad)]=0x8]=_0x1ca9f1(0x1ad),_0x11d1bd[_0x11d1bd[_0x1ca9f1(0xf9)]=0x9]='MoveWorksheet',_0x11d1bd[_0x11d1bd[_0x1ca9f1(0x1b9)]=0xa]='DeleteWorksheet',_0x11d1bd[_0x11d1bd[_0x1ca9f1(0xd1)]=0xb]=_0x1ca9f1(0xd1),_0x11d1bd[_0x11d1bd[_0x1ca9f1(0x110)]=0xc]=_0x1ca9f1(0x110),_0x11d1bd[_0x11d1bd[_0x1ca9f1(0xc6)]=0xd]=_0x1ca9f1(0xc6),_0x11d1bd[_0x11d1bd[_0x1ca9f1(0xd2)]=0xe]=_0x1ca9f1(0xd2),_0x11d1bd[_0x11d1bd[_0x1ca9f1(0x117)]=0xf]=_0x1ca9f1(0x117),_0x11d1bd[_0x11d1bd[_0x1ca9f1(0xa5)]=0x10]='InsertHyperlink',_0x11d1bd[_0x11d1bd[_0x1ca9f1(0x113)]=0x11]='Sort',_0x11d1bd[_0x11d1bd['Filter']=0x12]='Filter',_0x11d1bd[_0x11d1bd[_0x1ca9f1(0x1e7)]=0x13]=_0x1ca9f1(0x1e7),_0x11d1bd[_0x11d1bd['FloatImg']=0x14]=_0x1ca9f1(0x1b0),_0x11d1bd[_0x11d1bd['History']=0x15]=_0x1ca9f1(0x1ef),_0x11d1bd[_0x11d1bd[_0x1ca9f1(0x170)]=0x16]=_0x1ca9f1(0x170),_0x11d1bd[_0x11d1bd[_0x1ca9f1(0x19e)]=0x17]=_0x1ca9f1(0x19e),_0x11d1bd[_0x11d1bd[_0x1ca9f1(0xf4)]=0x18]=_0x1ca9f1(0xf4),_0x11d1bd[_0x11d1bd['MoveSheet']=0x19]=_0x1ca9f1(0x216),_0x11d1bd[_0x11d1bd[_0x1ca9f1(0x200)]=0x1a]='DeleteSheet',_0x11d1bd[_0x11d1bd[_0x1ca9f1(0x1e1)]=0x1b]=_0x1ca9f1(0x1e1),_0x11d1bd[_0x11d1bd['CopySheet']=0x1c]=_0x1ca9f1(0xd7),_0x11d1bd[_0x11d1bd['RenameSheet']=0x1d]=_0x1ca9f1(0x22a),_0x11d1bd[_0x11d1bd[_0x1ca9f1(0x179)]=0x1e]=_0x1ca9f1(0x179),_0x11d1bd[_0x11d1bd[_0x1ca9f1(0x1d8)]=0x1f]='SelectProtectedCells',_0x11d1bd[_0x11d1bd[_0x1ca9f1(0x115)]=0x20]=_0x1ca9f1(0x115),_0x11d1bd[_0x11d1bd['SetCellStyle']=0x21]=_0x1ca9f1(0x111),_0x11d1bd[_0x11d1bd[_0x1ca9f1(0x1bf)]=0x22]='SetCellValue',_0x11d1bd[_0x11d1bd[_0x1ca9f1(0xc2)]=0x23]=_0x1ca9f1(0xc2),_0x11d1bd[_0x11d1bd[_0x1ca9f1(0x238)]=0x24]='SetColumnStyle',_0x11d1bd[_0x11d1bd[_0x1ca9f1(0x1db)]=0x25]=_0x1ca9f1(0x1db),_0x11d1bd[_0x11d1bd['InsertColumn']=0x26]=_0x1ca9f1(0x181),_0x11d1bd[_0x11d1bd[_0x1ca9f1(0x10e)]=0x27]=_0x1ca9f1(0x10e),_0x11d1bd[_0x11d1bd[_0x1ca9f1(0x192)]=0x28]='DeleteColumn',_0x11d1bd[_0x11d1bd[_0x1ca9f1(0x133)]=0x29]='EditExtraObject',_0x11d1bd[_0x11d1bd[_0x1ca9f1(0xbf)]=0x2a]='Delete',_0x11d1bd[_0x11d1bd['RecoverHistory']=0x2b]=_0x1ca9f1(0x10b),_0x11d1bd[_0x11d1bd[_0x1ca9f1(0xa1)]=0x2c]='ViewHistory',_0x11d1bd[_0x11d1bd[_0x1ca9f1(0x233)]=0x2d]='CreatePermissionObject',_0x11d1bd[_0x11d1bd[_0x1ca9f1(0x1c1)]=-0x1]=_0x1ca9f1(0x1c1),_0x11d1bd))(O||{});function rs(_0x3c288d){const _0x1f2c15=_0x1ca9f1;return!!(_0x3c288d&&_0x3c288d[_0x1f2c15(0x158)]&&_0x3c288d[_0x1f2c15(0x158)]!==X['OK']&&_0x3c288d[_0x1f2c15(0x158)]!=='OK');}const re=(_0x2e31e9,_0x4877ee)=>{const _0x2ecfbf=_0x1ca9f1;if(!_0x2e31e9)return{'date':'','time':''};const _0x5efc77=new Date(_0x2e31e9),_0x41fecb=_0x5efc77['toISOString']()[_0x2ecfbf(0xec)]('T')[0x0];switch(_0x4877ee){case _0x427e97[_0x2ecfbf(0x1fd)]:return{'date':ee(_0x41fecb,_0x4877ee),'time':_0x5efc77[_0x2ecfbf(0x160)]()+':'+String(_0x5efc77[_0x2ecfbf(0x20a)]())[_0x2ecfbf(0x23f)](0x2,'0')};default:return{'date':ee(_0x41fecb,_0x4877ee),'time':_0x5efc77[_0x2ecfbf(0x160)]()+':'+_0x5efc77['getMinutes']()};}},ns=(_0x2ef1d7,_0x5db950)=>{const _0x1536b5=_0x1ca9f1,_0x4e510c=_0x2ef1d7[_0x1536b5(0xb7)]||_0x5db950['t'](_0x1536b5(0x164));if(_0x2ef1d7[_0x1536b5(0x16a)][_0x1536b5(0xe6)](_0x2ca715=>_0x2ca715===_0x2293d5['id'])&&_0x2ef1d7['recoverTime']){const _0x2294cc=re(_0x2ef1d7['recoverTime'],_0x5db950[_0x1536b5(0xf3)]()),_0x1b63bb=_0x2294cc[_0x1536b5(0x163)]+'\x20'+_0x2294cc[_0x1536b5(0x11e)];return _0x4e510c+'\x20'+_0x5db950['t'](_0x1536b5(0x15a))+'\x20'+_0x1b63bb+'\x20'+_0x5db950['t'](_0x1536b5(0x166));}const _0x216409=as(_0x2ef1d7),_0x181557=_0x216409[_0x1536b5(0x130)]===0x1?_0x5db950['t'](_0x216409[0x0]):''+_0x5db950['t'](_0x216409[0x0])+_0x5db950['t'](_0x1536b5(0x151));return _0x4e510c+'\x20'+_0x181557;};function as(_0x1c5941){const _0x85ca21=_0x1ca9f1;if(_0x1c5941[_0x85ca21(0x16a)][_0x85ca21(0x130)]===0x0)return[''];const _0x355993='editHistory.action.',_0x564b66=_0x355993+_0x85ca21(0x131),_0x5c6b8d=[{'id':_0x115bd7['id'],'action':_0x355993+_0x85ca21(0x14c)},{'id':_0x2293d5['id'],'action':_0x355993+'revertSheet'},{'id':_0x2d0c7a['id'],'action':_0x355993+_0x85ca21(0x8b)},{'id':_0x35861f['id'],'action':_0x355993+_0x85ca21(0x90)},{'id':_0x1c5a0a['id'],'action':_0x355993+_0x85ca21(0xac)},{'id':_0x4a9fed['id'],'action':_0x355993+_0x85ca21(0x1c6)},{'id':_0x11e583['id'],'action':_0x355993+_0x85ca21(0x1cb)},{'id':_0x20e576['id'],'action':_0x355993+'setDV'},{'id':_0x65b3a9['id'],'action':_0x355993+_0x85ca21(0x23c)},{'id':_0x1e7198['id'],'action':_0x355993+_0x85ca21(0x23c)},{'id':_0x34b41e['id'],'action':_0x355993+_0x85ca21(0x9a)},{'id':_0x296180['id'],'action':_0x355993+_0x85ca21(0x9a)},{'id':_0x4c84a8['id'],'action':_0x355993+_0x85ca21(0x213)},{'id':_0x526137['id'],'action':_0x355993+'deleteProtection'},{'id':_0x4a7cad['id'],'action':_0x355993+_0x85ca21(0x1df)}][_0x85ca21(0x236)](_0xdc1e44=>_0x1c5941[_0x85ca21(0x16a)][_0x85ca21(0x1a5)](_0xdc1e44['id']));return _0x5c6b8d!=null&&_0x5c6b8d[_0x85ca21(0x130)]?_0x5c6b8d[_0x85ca21(0x142)](_0x8552bc=>_0x8552bc[_0x85ca21(0x190)]):[_0x564b66];}function ee(_0x19de66,_0x23ac3c){const _0x1981d5=_0x1ca9f1,[_0x108bc9,_0x2b8827,_0x3ec1ba]=new Date()[_0x1981d5(0x1d1)]()[_0x1981d5(0xec)]('T')[0x0][_0x1981d5(0xec)]('-'),[_0x5791ac,_0x3e8cf5,_0x42efb1]=_0x19de66[_0x1981d5(0xec)]('-'),_0x40c892=_0x108bc9===_0x5791ac&&_0x2b8827===_0x3e8cf5&&_0x3ec1ba===_0x42efb1;let _0x417c17='',_0x291052='',_0x2273ba='';switch(_0x23ac3c){case _0x427e97[_0x1981d5(0x1fd)]:return _0x40c892?'今天':(_0x417c17=_0x108bc9===_0x5791ac?'':_0x5791ac+'年',_0x291052=_0x3e8cf5+'月',_0x2273ba=_0x42efb1+'日',''+_0x417c17+_0x291052+_0x2273ba);default:return _0x40c892?_0x1981d5(0x235):(_0x417c17=_0x108bc9===_0x5791ac?'':_0x5791ac+'-',_0x291052=_0x3e8cf5+'-',_0x2273ba=''+_0x42efb1,''+_0x417c17+_0x291052+_0x2273ba);}}function os(_0x41d9e7){return _0x41d9e7?_0x41d9e7['reduce']((_0x3a5603,_0x1675ef)=>{const _0x4f2a93=_0x552a,_0x24211b=new Date(_0x1675ef[_0x4f2a93(0x11e)])[_0x4f2a93(0x1d1)]()['split']('T')[0x0];return _0x3a5603[_0x4f2a93(0x130)]>0x0&&_0x3a5603[_0x3a5603[_0x4f2a93(0x130)]-0x1][_0x4f2a93(0xf1)]===_0x24211b?_0x3a5603[_0x3a5603[_0x4f2a93(0x130)]-0x1][_0x4f2a93(0xa7)]['push'](_0x1675ef):_0x3a5603['push']({'dateString':_0x24211b,'versions':[_0x1675ef]}),_0x3a5603;},[]):[];}var cs=Object[_0x1ca9f1(0xbe)],ls=(_0x4348ea,_0x335cea,_0xd56a89,_0x32459c)=>{for(var _0x4375a6=_0x32459c>0x1?void 0x0:_0x32459c?cs(_0x335cea,_0xd56a89):_0x335cea,_0x3e1f72=_0x4348ea['length']-0x1,_0x54e019;_0x3e1f72>=0x0;_0x3e1f72--)(_0x54e019=_0x4348ea[_0x3e1f72])&&(_0x4375a6=_0x54e019(_0x4375a6)||_0x4375a6);return _0x4375a6;},D=(_0x40eff4,_0x5ec39f)=>(_0x48c4c8,_0x75d6bf)=>_0x5ec39f(_0x48c4c8,_0x75d6bf,_0x40eff4);const us='/universer-api/history';let B=class extends _0x1901d0{constructor(_0x49a34f,_0xb64304,_0x4d1b32,_0x3bfb6a,_0x412223,_0x365584){const _0x321ec8=_0x1ca9f1;super(),l(this,_0x321ec8(0x245),new Map()),(this[_0x321ec8(0xd8)]=_0x49a34f,this[_0x321ec8(0x11c)]=_0xb64304,this[_0x321ec8(0x19f)]=_0x4d1b32,this['_configService']=_0x3bfb6a,this[_0x321ec8(0x172)]=_0x412223,this[_0x321ec8(0x183)]=_0x365584);}[_0x1ca9f1(0x1bc)](){const _0x547a99=_0x1ca9f1;this[_0x547a99(0x245)]['clear'](),super['dispose']();}async[_0x1ca9f1(0x1af)](_0x4cac9a,_0x4c170c){const _0x1cec3f=_0x1ca9f1,_0xf99704=this[_0x1cec3f(0x21e)]()+'/'+_0x4cac9a+_0x1cec3f(0x1c2)+(_0x4c170c?_0x1cec3f(0x1cf)+_0x4c170c:'');try{const _0x55012f=(await this[_0x1cec3f(0x172)][_0x1cec3f(0x203)](_0xf99704))[_0x1cec3f(0x202)];if(_0x55012f&&_0x55012f['error']&&_0x55012f[_0x1cec3f(0x1f8)][_0x1cec3f(0x158)]===X['OK']){const {hasMore:_0x20ac52,lastLabel:_0x1a3726}=_0x55012f,_0xc77636=_s(_0x55012f),_0x72fa3=_0x55012f[_0x1cec3f(0x208)][_0x1cec3f(0x239)];return{'hasMore':_0x20ac52,'lastLabel':_0x1a3726,'versions':_0xc77636,'members':_0x72fa3};}}catch(_0x5dd983){console['error'](_0x5dd983);}return null;}[_0x1ca9f1(0x21e)](){const _0x4309c4=_0x1ca9f1;var _0x575308;const _0x18e000=this[_0x4309c4(0x11a)][_0x4309c4(0x9c)](we);return(_0x575308=_0x18e000==null?void 0x0:_0x18e000[_0x4309c4(0xdd)])!=null?_0x575308:us;}async[_0x1ca9f1(0x1a0)](_0x28b815,_0x34907b,_0x13ad7c){const _0x59a580=_0x1ca9f1;var _0x5cd5e4,_0x156efc;_0x13ad7c===void 0x0&&(_0x13ad7c={}),this[_0x59a580(0x245)][_0x59a580(0x18f)](_0x28b815)||this[_0x59a580(0x245)]['set'](_0x28b815,new Map());const {snapshot:_0x1c8e72,changesets:_0x57c372,error:_0x37a84c}=await this['_snapshotServerService'][_0x59a580(0x197)](_0x13ad7c,{'unitID':_0x28b815,'type':j[_0x59a580(0x10a)],'revision':_0x34907b});if(rs(_0x37a84c)||!_0x1c8e72||!_0x1c8e72[_0x59a580(0x1c0)])throw new Error('[HistoryFetchService]:\x20request\x20snapshot\x20error!');const _0x530a27=(_0x5cd5e4=_0x57c372==null?void 0x0:_0x57c372['length'])!=null?_0x5cd5e4:0x0;if(_0x34907b!==0x0&&_0x1c8e72['rev']+_0x530a27!==_0x34907b)throw new Error(_0x59a580(0x12d));const {workbook:_0x8a7ab8}=_0x1c8e72,_0x247ff2=_0x8a7ab8[_0x59a580(0x22f)]?Object['entries'](_0x8a7ab8[_0x59a580(0x22f)])['map'](([_0x35e991,_0x1f6a9c])=>{const _0x21433f=_0x59a580;var _0x6b3698,_0x2f4877;return(_0x2f4877=(_0x6b3698=_0x1f6a9c[_0x21433f(0x21b)])==null?void 0x0:_0x6b3698[_0x21433f(0x142)](_0x381433=>_0x381433))!=null?_0x2f4877:[];})[_0x59a580(0x1a4)]():[],_0x5d6f5b=(await Promise[_0x59a580(0x1f7)](_0x247ff2['map'](_0x3e5df3=>this[_0x59a580(0xd8)][_0x59a580(0xaf)](_0x13ad7c,{'unitID':_0x28b815,'type':j['UNIVER_SHEET'],'blockID':_0x3e5df3})[_0x59a580(0x18c)](_0xfb41e8=>_0xfb41e8[_0x59a580(0x132)]))))[_0x59a580(0x236)](_0x381ef6=>!!_0x381ef6),_0x323dbd=_0x517595(_0x1c8e72,_0x5d6f5b,_0x13ad7c);return(_0x156efc=this[_0x59a580(0x245)][_0x59a580(0x203)](_0x28b815))==null||_0x156efc['set'](_0x34907b,{'workbook':_0x323dbd}),new Promise(_0x3b319d=>{const _0x5caff0=_0x59a580,_0x54558a=this[_0x5caff0(0x11c)][_0x5caff0(0x1f4)](_0x311ae6[_0x5caff0(0x10a)]);_0x54558a?(this[_0x5caff0(0x11c)][_0x5caff0(0xad)](_0x54558a[_0x5caff0(0x234)]()),setTimeout(()=>{this['_createUnit'](_0x323dbd,_0x57c372),_0x3b319d(!0x0);},0x0)):(this[_0x5caff0(0x8a)](_0x323dbd,_0x57c372),_0x3b319d(!0x0));});}[_0x1ca9f1(0x8a)](_0x572418,_0x3856aa){const _0x181897=_0x1ca9f1,_0xcb7389=this[_0x181897(0x11c)]['createUnit'](_0x311ae6['UNIVER_SHEET'],_0x572418);this[_0x181897(0x11c)][_0x181897(0x20c)](_0xcb7389[_0x181897(0x234)]());const _0x1423e3=this['_compressMutationService'][_0x181897(0xa2)][_0x181897(0x171)](this[_0x181897(0x183)][_0x181897(0xa2)]['getInterceptPoints']()[_0x181897(0x231)]);return _0x3856aa==null||_0x3856aa[_0x181897(0x14e)](_0x382af9=>{const _0x430e62=_0x181897,_0x23d8d8=_0x382af9['mutations']['map'](_0x26167d=>({'id':_0x26167d['id'],'params':JSON[_0x430e62(0x18a)](_0x26167d[_0x430e62(0x1ce)])}));({..._0x382af9,'mutations':_0x1423e3(_0x23d8d8,null)||_0x23d8d8}[_0x430e62(0x95)][_0x430e62(0x14e)](_0x14430a=>{const _0x1b8df9=_0x430e62;this[_0x1b8df9(0x19f)][_0x1b8df9(0xc7)](_0x14430a['id'])&&this[_0x1b8df9(0x19f)][_0x1b8df9(0x20f)](_0x14430a['id'],_0x14430a[_0x1b8df9(0x135)]);}));}),_0xcb7389;}};B=ls([D(0x0,_0x55f9bf),D(0x1,_0x493712),D(0x2,_0x176e65),D(0x3,_0x43cc31),D(0x4,_0x26c1e5(_0x4079b5)),D(0x5,_0x26c1e5(_0x2e3fd0))],B);function _s(_0xcbb2de){const _0xe8a1ce=_0x1ca9f1;var _0x4004ae,_0x2f75bb;const _0x14bd77=[],{entities:_0x1e02a1,historyIds:_0x476ab2}=_0xcbb2de,{datas:_0xc13f3d,users:_0x403367}=_0x1e02a1;for(const _0x5c17d9 of _0x476ab2)if(_0xc13f3d[_0x5c17d9]){const _0x229856=!!((_0x4004ae=_0x403367[_0xc13f3d[_0x5c17d9][_0xe8a1ce(0x201)]])!=null&&_0x4004ae[_0xe8a1ce(0x154)]);_0x14bd77[_0xe8a1ce(0x134)]({'unitId':_0xc13f3d[_0x5c17d9][_0xe8a1ce(0x1d3)],'user':_0x229856?'':((_0x2f75bb=_0x403367==null?void 0x0:_0x403367[_0xc13f3d[_0x5c17d9][_0xe8a1ce(0x201)]])==null?void 0x0:_0x2f75bb[_0xe8a1ce(0xe7)])||'','isAnonymous':_0x229856,'id':_0x5c17d9,'time':_0xc13f3d[_0x5c17d9][_0xe8a1ce(0x22b)]?Number(_0xc13f3d[_0x5c17d9][_0xe8a1ce(0x22b)]):void 0x0,'commands':_0xc13f3d[_0x5c17d9][_0xe8a1ce(0x198)],'startRev':Number(_0xc13f3d[_0x5c17d9][_0xe8a1ce(0x12b)]),'endRev':Number(_0xc13f3d[_0x5c17d9][_0xe8a1ce(0x18d)]),'recoverTime':_0xc13f3d[_0x5c17d9][_0xe8a1ce(0x119)]?Number(_0xc13f3d[_0x5c17d9][_0xe8a1ce(0x119)]):void 0x0});}return _0x14bd77;}var hs=Object[_0x1ca9f1(0xbe)],ds=(_0x95c999,_0x748d95,_0x4bf736,_0x3edc8a)=>{for(var _0x53337d=_0x3edc8a>0x1?void 0x0:_0x3edc8a?hs(_0x748d95,_0x4bf736):_0x748d95,_0x13b68d=_0x95c999['length']-0x1,_0x1a8067;_0x13b68d>=0x0;_0x13b68d--)(_0x1a8067=_0x95c999[_0x13b68d])&&(_0x53337d=_0x1a8067(_0x53337d)||_0x53337d);return _0x53337d;},V=(_0x546e2c,_0xb50de0)=>(_0x52d258,_0x39f8a5)=>_0xb50de0(_0x52d258,_0x39f8a5,_0x546e2c),ne=(_0x229c4e=>(_0x229c4e[_0x1ca9f1(0x1fe)]=_0x1ca9f1(0x1b3),_0x229c4e[_0x1ca9f1(0xf0)]=_0x1ca9f1(0x1eb),_0x229c4e[_0x1ca9f1(0x144)]='error',_0x229c4e))(ne||{}),T=(_0x51d687=>(_0x51d687[_0x1ca9f1(0x244)]=_0x1ca9f1(0xcc),_0x51d687[_0x1ca9f1(0xa0)]=_0x1ca9f1(0x17c),_0x51d687['Loaded']=_0x1ca9f1(0x211),_0x51d687))(T||{});const vs=_0x1ca9f1(0xf7);let E=class extends _0x1901d0{constructor(_0x3a8a03,_0x3cc950,_0x2459b1,_0x1df18a){const _0x473a2f=_0x1ca9f1;super(),l(this,_0x473a2f(0x126),new _0x212087([])),l(this,_0x473a2f(0x114),this['_versions$'][_0x473a2f(0x153)]()),l(this,_0x473a2f(0x1c9),new _0x212087('')),l(this,_0x473a2f(0x1ae),this[_0x473a2f(0x1c9)]['asObservable']()),l(this,_0x473a2f(0x16e),new _0x212087('entered')),l(this,_0x473a2f(0x214),this[_0x473a2f(0x16e)][_0x473a2f(0x153)]()),l(this,_0x473a2f(0x8d),new _0x212087(0x0)),l(this,_0x473a2f(0x225),this[_0x473a2f(0x8d)]['asObservable']()),l(this,'_unitId$',new _0x212087('')),l(this,_0x473a2f(0xbb),this['_unitId$'][_0x473a2f(0x153)]()),l(this,_0x473a2f(0x98),!0x1),l(this,'_loadingState$',new _0x212087(_0x473a2f(0xcc))),l(this,'loadingState$',this[_0x473a2f(0xca)][_0x473a2f(0x153)]()),l(this,_0x473a2f(0x161),null),l(this,_0x473a2f(0x1a7),!0x0),l(this,'_members',new Map()),l(this,_0x473a2f(0xb4)),l(this,_0x473a2f(0xda)),l(this,_0x473a2f(0x1d9)),l(this,_0x473a2f(0xc8),!0x1),(this['_messageService']=_0x3a8a03,this['_confirmService']=_0x3cc950,this[_0x473a2f(0x1fc)]=_0x2459b1,this[_0x473a2f(0xb8)]=_0x1df18a);}async[_0x1ca9f1(0xe4)](_0x38328b,_0x4d2c70,_0x1af141){const _0xbd713b=_0x1ca9f1;this[_0xbd713b(0xb4)]=_0x4d2c70,this['_canRevert']=_0x1af141,this['_unitId$'][_0xbd713b(0x13a)](_0x38328b),this[_0xbd713b(0x98)]=!0x0;const _0x73c90e=await this[_0xbd713b(0xb8)][_0xbd713b(0x1af)](_0x38328b);if(this['_fetching']=!0x1,_0x73c90e){const {versions:_0xa89294,lastLabel:_0x1ac1fa,hasMore:_0x138936,members:_0x1b0d24}=_0x73c90e;_0xa89294[_0xbd713b(0x130)]===0x0&&_0xa89294[_0xbd713b(0x134)]({'unitId':_0x38328b,'id':vs,'startRev':0x1,'endRev':0x0,'time':Date[_0xbd713b(0x246)](),'user':this[_0xbd713b(0x1fc)]['t']('editHistory.panel.currentUser'),'commands':[],'isAnonymous':!0x1}),this[_0xbd713b(0x1c8)](_0xa89294,_0x138936,_0x1ac1fa,_0x1b0d24),this[_0xbd713b(0x1c9)]['next'](_0xa89294[0x0]['id']);}else this[_0xbd713b(0x16e)][_0xbd713b(0x13a)](_0xbd713b(0x1f8));}async[_0x1ca9f1(0x1e5)](){const _0x5bc5de=_0x1ca9f1;if(!this[_0x5bc5de(0x161)]||!this['_hasMore']||this[_0x5bc5de(0x98)])return!0x1;this[_0x5bc5de(0x98)]=!0x0;const _0x2e6ea5=await this[_0x5bc5de(0xb8)][_0x5bc5de(0x1af)](this[_0x5bc5de(0x1d3)],this['_lastLabel']);if(this[_0x5bc5de(0x98)]=!0x1,_0x2e6ea5){const {versions:_0x17095e,lastLabel:_0x4e43a7,hasMore:_0x286a1b,members:_0x17830d}=_0x2e6ea5;this['_updateVersions'](_0x17095e,_0x286a1b,_0x4e43a7,_0x17830d);}else this[_0x5bc5de(0x89)]['show']({'content':this[_0x5bc5de(0x1fc)]['t'](_0x5bc5de(0x11f)),'type':_0x113ca4[_0x5bc5de(0x144)],'duration':0xbb8});return!0x0;}async['triggerLoadSheet'](_0x284fcd){const _0x5cc40c=_0x1ca9f1;var _0x5230ae;const _0x7cdd24=(_0x5230ae=this[_0x5cc40c(0x126)]['value'])==null?void 0x0:_0x5230ae[_0x5cc40c(0x1bd)](_0x3135b8=>_0x3135b8['id']===_0x284fcd),{endRev:_0x30d50b}=_0x7cdd24||{};_0x30d50b||_0x30d50b===0x0?(this[_0x5cc40c(0xca)][_0x5cc40c(0x13a)](_0x5cc40c(0x17c)),await this[_0x5cc40c(0xb8)][_0x5cc40c(0x1a0)](this[_0x5cc40c(0x1d3)],_0x30d50b),this[_0x5cc40c(0xca)][_0x5cc40c(0x13a)](_0x5cc40c(0x211))):this[_0x5cc40c(0x16e)][_0x5cc40c(0x13a)](_0x5cc40c(0x1f8));}async['triggerRevert'](_0x2c18c0){const _0x4f676d=_0x1ca9f1,_0x3e6226=_0x2c18c0?this[_0x4f676d(0x1e3)](_0x2c18c0):this['getCurrentVersion']();if(!_0x3e6226)return;const _0x5c1733=_0x3e6226['endRev'],_0x1e2ef6=re(_0x3e6226['time'],this[_0x4f676d(0x1fc)][_0x4f676d(0xf3)]());await this[_0x4f676d(0x118)][_0x4f676d(0x1e8)]({'id':_0x4f676d(0xea),'title':{'title':this['_localeService']['t'](_0x4f676d(0x120))},'children':{'title':this['_localeService']['t'](_0x4f676d(0x1c7))+':\x20('+_0x1e2ef6[_0x4f676d(0x163)]+'\x20'+_0x1e2ef6[_0x4f676d(0x11e)]+')'},'cancelText':this['_localeService']['t'](_0x4f676d(0x96)),'confirmText':this[_0x4f676d(0x1fc)]['t'](_0x4f676d(0x1dc))})&&this[_0x4f676d(0x8d)][_0x4f676d(0x13a)](_0x5c1733);}[_0x1ca9f1(0x1c8)](_0x3a3dd5,_0x15b5d9,_0x3868a4,_0x2ab646){const _0x1c7328=_0x1ca9f1;this[_0x1c7328(0x126)]['next'](this[_0x1c7328(0x126)]['value'][_0x1c7328(0x146)](_0x3a3dd5)),this[_0x1c7328(0x1a7)]=_0x15b5d9,this[_0x1c7328(0x161)]=_0x3868a4,_0x2ab646&&Object[_0x1c7328(0xbd)](_0x2ab646)[_0x1c7328(0x14e)](_0x1eae4e=>this['_members'][_0x1c7328(0x184)](_0x1eae4e,_0x2ab646[_0x1eae4e]));}[_0x1ca9f1(0x209)](){const _0x45c00e=_0x1ca9f1;return this[_0x45c00e(0x1e3)](this['_currentVersion$'][_0x45c00e(0x1ee)]);}[_0x1ca9f1(0x1e3)](_0x252737){const _0xa2bc09=_0x1ca9f1;var _0x3cf80b;return(_0x3cf80b=this[_0xa2bc09(0x126)][_0xa2bc09(0x1ee)])==null?void 0x0:_0x3cf80b[_0xa2bc09(0x1bd)](_0x381b45=>_0x381b45['id']===_0x252737);}['getMember'](_0x386fc6){const _0x11ad9a=_0x1ca9f1;return this[_0x11ad9a(0x157)][_0x11ad9a(0x203)](_0x386fc6);}[_0x1ca9f1(0x218)](){const _0x355923=_0x1ca9f1;this[_0x355923(0x1d9)]=document[_0x355923(0xe1)]('div'),this['_maskElement']['className']=_0x355923(0x1ed),this[_0x355923(0x1d9)]['style'][_0x355923(0xd4)]=_0x355923(0xc4),this[_0x355923(0x1d9)][_0x355923(0xf5)]['top']='0',this[_0x355923(0x1d9)]['style'][_0x355923(0x104)]='0',this[_0x355923(0x1d9)][_0x355923(0xf5)][_0x355923(0x169)]=_0x355923(0xd3),this[_0x355923(0x1d9)]['style'][_0x355923(0x8c)]=_0x355923(0xd3),this[_0x355923(0x1d9)]['style'][_0x355923(0xa9)]=_0x355923(0x102),this[_0x355923(0x1d9)]['style'][_0x355923(0xf2)]=_0x355923(0x20d),this['_maskElement'][_0x355923(0xf5)][_0x355923(0xfe)]=_0x355923(0x1ff),this['_maskElement']['style'][_0x355923(0x147)]=_0x355923(0x1fa),this['_maskElement'][_0x355923(0xf5)][_0x355923(0x1a3)]=_0x355923(0x123),this[_0x355923(0x1d9)]['style']['display']='none',this['_maskContainer'][_0x355923(0x112)](this['_maskElement']);}[_0x1ca9f1(0xfc)](){const _0x477458=_0x1ca9f1;var _0x3e118c;const _0xb43e65=(_0x3e118c=document[_0x477458(0x196)](this[_0x477458(0xb4)]))==null?void 0x0:_0x3e118c[_0x477458(0x148)]('.univer-app-container-content');_0xb43e65&&(this[_0x477458(0xda)]=_0xb43e65,this[_0x477458(0x218)]());}[_0x1ca9f1(0x1cc)](){const _0x51d09b=_0x1ca9f1;this[_0x51d09b(0xda)]||this['_initMaskContainer'](),this[_0x51d09b(0x1d9)]&&(this[_0x51d09b(0x1d9)]['style'][_0x51d09b(0xfe)]='flex');}['hideMask'](){const _0x2a4cb7=_0x1ca9f1;this[_0x2a4cb7(0x1d9)]&&(this[_0x2a4cb7(0x1d9)][_0x2a4cb7(0xf5)][_0x2a4cb7(0xfe)]=_0x2a4cb7(0x150));}set['status'](_0x3da49b){const _0x3b81d7=_0x1ca9f1;this[_0x3b81d7(0x16e)][_0x3b81d7(0x13a)](_0x3da49b);}set[_0x1ca9f1(0x93)](_0x5e7a07){const _0xb7fdf6=_0x1ca9f1;_0x5e7a07!==this['_currentVersion$'][_0xb7fdf6(0x1ee)]&&this[_0xb7fdf6(0x1c9)][_0xb7fdf6(0x13a)](_0x5e7a07);}get['currentVersion'](){const _0xfe9568=_0x1ca9f1;return this[_0xfe9568(0x1c9)]['value'];}set[_0x1ca9f1(0x1d3)](_0x402729){const _0x38624a=_0x1ca9f1;this['_unitId$'][_0x38624a(0x13a)](_0x402729);}get['unitId'](){const _0x486d37=_0x1ca9f1;return this['_unitId$'][_0x486d37(0x1ee)];}get['canRevert'](){const _0x3df457=_0x1ca9f1;return this[_0x3df457(0xc8)];}get['loadingState'](){const _0x159dd7=_0x1ca9f1;return this['_loadingState$'][_0x159dd7(0x1ee)];}};E=ds([V(0x0,_0x4954ce),V(0x1,_0x4292f5),V(0x2,_0x26c1e5(_0x760f3c)),V(0x3,_0x26c1e5(B))],E);var S=function(){const _0x109acd=_0x1ca9f1;return S=Object[_0x109acd(0x8f)]||function(_0x3d25b9){const _0x133abb=_0x109acd;for(var _0x1e28d3,_0x47a0ed=0x1,_0x4c0520=arguments['length'];_0x47a0ed<_0x4c0520;_0x47a0ed++){_0x1e28d3=arguments[_0x47a0ed];for(var _0x381326 in _0x1e28d3)Object[_0x133abb(0x17b)][_0x133abb(0x226)][_0x133abb(0x189)](_0x1e28d3,_0x381326)&&(_0x3d25b9[_0x381326]=_0x1e28d3[_0x381326]);}return _0x3d25b9;},S[_0x109acd(0x86)](this,arguments);},fs=function(_0x4da221,_0xeb27c6){const _0x512dfb=_0x1ca9f1;var _0x2d4476={};for(var _0x402344 in _0x4da221)Object[_0x512dfb(0x17b)]['hasOwnProperty'][_0x512dfb(0x189)](_0x4da221,_0x402344)&&_0xeb27c6[_0x512dfb(0xb3)](_0x402344)<0x0&&(_0x2d4476[_0x402344]=_0x4da221[_0x402344]);if(_0x4da221!=null&&typeof Object[_0x512dfb(0x180)]=='function'){for(var _0x49bf8c=0x0,_0x402344=Object[_0x512dfb(0x180)](_0x4da221);_0x49bf8c<_0x402344[_0x512dfb(0x130)];_0x49bf8c++)_0xeb27c6[_0x512dfb(0xb3)](_0x402344[_0x49bf8c])<0x0&&Object[_0x512dfb(0x17b)][_0x512dfb(0x1f9)]['call'](_0x4da221,_0x402344[_0x49bf8c])&&(_0x2d4476[_0x402344[_0x49bf8c]]=_0x4da221[_0x402344[_0x49bf8c]]);}return _0x2d4476;},G=_0x27bac4(function(_0x534df1,_0x20dd29){const _0x1961d0=_0x1ca9f1;var _0x221084=_0x534df1[_0x1961d0(0x210)],_0x1bf05d=_0x534df1['id'],_0x4be4f8=_0x534df1[_0x1961d0(0x97)],_0x56be8c=_0x534df1[_0x1961d0(0x230)],_0x8c00d1=fs(_0x534df1,[_0x1961d0(0x210),'id',_0x1961d0(0x97),_0x1961d0(0x230)]),_0x1693cb=_0x1961d0(0x199)[_0x1961d0(0x146)](_0x1bf05d,'\x20')[_0x1961d0(0x146)](_0x4be4f8||'')[_0x1961d0(0x212)](),_0x1c4139=_0x578523('_'[_0x1961d0(0x146)](Is()));return Ce(_0x221084,''[_0x1961d0(0x146)](_0x1bf05d),{'defIds':_0x221084['defIds'],'idSuffix':_0x1c4139[_0x1961d0(0x222)]},S({'ref':_0x20dd29,'className':_0x1693cb},_0x8c00d1),_0x56be8c);});function Ce(_0x27a996,_0x26c5bb,_0x284a85,_0x2a893b,_0x28afae){const _0x1d2b32=_0x1ca9f1;return _0x1dc246(_0x27a996[_0x1d2b32(0x11d)],S(S({'key':_0x26c5bb},ms(_0x27a996,_0x284a85,_0x28afae)),_0x2a893b),(gs(_0x27a996,_0x284a85)['children']||[])[_0x1d2b32(0x142)](function(_0x59af8d,_0x428375){const _0x15bf58=_0x1d2b32;return Ce(_0x59af8d,''[_0x15bf58(0x146)](_0x26c5bb,'-')[_0x15bf58(0x146)](_0x27a996['tag'],'-')[_0x15bf58(0x146)](_0x428375),_0x284a85,void 0x0,_0x28afae);}));}function ms(_0x31288d,_0xfffea3,_0x2804a2){const _0x4ea432=_0x1ca9f1;var _0x30a2c5=S({},_0x31288d[_0x4ea432(0x21a)]);_0x2804a2!=null&&_0x2804a2[_0x4ea432(0xed)]&&_0x30a2c5[_0x4ea432(0x22d)]==='colorChannel1'&&(_0x30a2c5['fill']=_0x2804a2[_0x4ea432(0xed)]),_0x31288d['tag']===_0x4ea432(0x21d)&&_0x30a2c5['id']&&(_0x30a2c5['id']=_0x30a2c5['id']+_0xfffea3[_0x4ea432(0x232)]),Object['entries'](_0x30a2c5)[_0x4ea432(0x14e)](function(_0x577580){const _0x7832b0=_0x4ea432;var _0x7753c3=_0x577580[0x0],_0x4902ba=_0x577580[0x1];_0x7753c3==='mask'&&typeof _0x4902ba=='string'&&(_0x30a2c5[_0x7753c3]=_0x4902ba[_0x7832b0(0xff)](/url\(#(.*)\)/,'url(#$1'['concat'](_0xfffea3[_0x7832b0(0x232)],')')));});var _0xd78ee=_0xfffea3[_0x4ea432(0x185)];return!_0xd78ee||_0xd78ee[_0x4ea432(0x130)]===0x0||(_0x31288d['tag']===_0x4ea432(0x1ec)&&_0x30a2c5[_0x4ea432(0x12e)]&&(_0x30a2c5[_0x4ea432(0x12e)]=_0x30a2c5['xlink:href']+_0xfffea3[_0x4ea432(0x232)]),Object[_0x4ea432(0x1a8)](_0x30a2c5)[_0x4ea432(0x14e)](function(_0x27dac5){const _0x10fdc0=_0x4ea432;var _0x4eb1fd=_0x27dac5[0x0],_0x26c723=_0x27dac5[0x1];typeof _0x26c723==_0x10fdc0(0xa3)&&(_0x30a2c5[_0x4eb1fd]=_0x26c723['replace'](/url\(#(.*)\)/,_0x10fdc0(0x237)[_0x10fdc0(0x146)](_0xfffea3[_0x10fdc0(0x232)],')')));})),_0x30a2c5;}function gs(_0x51c321,_0x45726d){const _0xc83d3c=_0x1ca9f1;var _0x461e22,_0x36859c=_0x45726d[_0xc83d3c(0x185)];return!_0x36859c||_0x36859c[_0xc83d3c(0x130)]===0x0?_0x51c321:_0x51c321[_0xc83d3c(0x11d)]===_0xc83d3c(0x100)&&(!((_0x461e22=_0x51c321[_0xc83d3c(0xb5)])===null||_0x461e22===void 0x0)&&_0x461e22[_0xc83d3c(0x130)])?S(S({},_0x51c321),{'children':_0x51c321[_0xc83d3c(0xb5)][_0xc83d3c(0x142)](function(_0x2b5c39){const _0x74abce=_0xc83d3c;return typeof _0x2b5c39[_0x74abce(0x21a)]['id']==_0x74abce(0xa3)&&_0x36859c&&_0x36859c[_0x74abce(0x1a5)](_0x2b5c39[_0x74abce(0x21a)]['id'])?S(S({},_0x2b5c39),{'attrs':S(S({},_0x2b5c39['attrs']),{'id':_0x2b5c39[_0x74abce(0x21a)]['id']+_0x45726d[_0x74abce(0x232)]})}):_0x2b5c39;})}):_0x51c321;}function Is(){const _0x894e19=_0x1ca9f1;return Math[_0x894e19(0x15e)]()[_0x894e19(0x168)](0x24)[_0x894e19(0x229)](0x2,0x8);}G[_0x1ca9f1(0x1c3)]='UniverIcon';var Ss={'tag':_0x1ca9f1(0xd5),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1ca9f1(0x150),'viewBox':'0\x200\x2016\x2016','width':_0x1ca9f1(0x124),'height':_0x1ca9f1(0x124)},'children':[{'tag':_0x1ca9f1(0x13d),'attrs':{'fill':_0x1ca9f1(0x219),'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'}}]},Pe=_0x27bac4(function(_0x3d89e5,_0x3ae912){const _0x37c1c7=_0x1ca9f1;return _0x1dc246(G,Object[_0x37c1c7(0x8f)]({},_0x3d89e5,{'id':_0x37c1c7(0xf8),'ref':_0x3ae912,'icon':Ss}));});Pe[_0x1ca9f1(0x1c3)]=_0x1ca9f1(0x8e);var ps={'tag':_0x1ca9f1(0xd5),'attrs':{'xmlns':_0x1ca9f1(0x194),'fill':_0x1ca9f1(0x150),'viewBox':'0\x200\x2016\x2016','width':_0x1ca9f1(0x124),'height':_0x1ca9f1(0x124)},'children':[{'tag':'path','attrs':{'fill':_0x1ca9f1(0x241),'d':_0x1ca9f1(0x152),'fillOpacity':0.2,'fillRule':'evenodd','clipRule':'evenodd'}},{'tag':_0x1ca9f1(0x13d),'attrs':{'fill':_0x1ca9f1(0x241),'d':_0x1ca9f1(0xd9),'fillRule':_0x1ca9f1(0x159),'clipRule':_0x1ca9f1(0x159)}}]},ae=_0x27bac4(function(_0x5d2a38,_0x3aab6b){const _0x363804=_0x1ca9f1;return _0x1dc246(G,Object['assign']({},_0x5d2a38,{'id':_0x363804(0x1f6),'ref':_0x3aab6b,'icon':ps}));});ae[_0x1ca9f1(0x1c3)]=_0x1ca9f1(0x224);var Es={'tag':_0x1ca9f1(0xd5),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1ca9f1(0x150),'viewBox':_0x1ca9f1(0x12a),'width':'1em','height':_0x1ca9f1(0x124)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x1ca9f1(0x15d)},'children':[{'tag':_0x1ca9f1(0x13d),'attrs':{'d':'M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z'}},{'tag':_0x1ca9f1(0x13d),'attrs':{'d':_0x1ca9f1(0x1f0),'fillRule':'evenodd','clipRule':_0x1ca9f1(0x159)}}]},{'tag':_0x1ca9f1(0x100),'attrs':{},'children':[{'tag':_0x1ca9f1(0x21c),'attrs':{'id':_0x1ca9f1(0x188)},'children':[{'tag':'rect','attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':'white','rx':0x4}}]}]}],'defIds':[_0x1ca9f1(0x188)]},Te=_0x27bac4(function(_0x10a1dc,_0x32e67e){const _0x639d6b=_0x1ca9f1;return _0x1dc246(G,Object[_0x639d6b(0x8f)]({},_0x10a1dc,{'id':_0x639d6b(0x19b),'ref':_0x32e67e,'icon':Es}));});Te[_0x1ca9f1(0x1c3)]='RestoreIcon';function Rs(){const _0x3b34c1=_0x1ca9f1;var _0x2f1fc3;const _0x472348=_0x55808b(E),_0x3d4497=_0x55808b(_0x760f3c),_0x549916=_0x7105df(()=>{const _0x13c942=_0x552a;_0x472348['status']=ne[_0x13c942(0xf0)];},[_0x472348]),_0x4af890=_0x7105df(()=>{const _0x342787=_0x552a;_0x472348[_0x342787(0x145)]();},[_0x472348]),_0x53d121=_0x2e10f1(_0x472348['currentVersion$']),_0x222765=_0x2e10f1(_0x472348[_0x3b34c1(0x114)]),_0x28afa6=_0x53d121===((_0x2f1fc3=_0x222765==null?void 0x0:_0x222765[0x0])==null?void 0x0:_0x2f1fc3['id']),_0x30aaa2=_0x53d121!==''&&!_0x28afa6&&_0x472348[_0x3b34c1(0x1da)];return _0x122161('div',{'className':_0x3b34c1(0x19c),'children':[_0x27fae2(_0x3b34c1(0x141),{'onClick':_0x549916,'className':_0x3b34c1(0x137),'children':_0x27fae2(Pe,{'className':'univer-text-2xl'})}),_0x27fae2(_0x3b34c1(0x141),{'className':_0x3b34c1(0xba),'children':_0x30aaa2&&_0x27fae2(_0x3bf6a6,{'variant':'primary','onClick':_0x4af890,'children':_0x3d4497['t']('editHistory.header.revert')})})]});}var Ns=Object[_0x1ca9f1(0xbe)],Ms=(_0x4bb710,_0x4aba2f,_0x3e3229,_0x3c90b5)=>{const _0x3ab56c=_0x1ca9f1;for(var _0x53b318=_0x3c90b5>0x1?void 0x0:_0x3c90b5?Ns(_0x4aba2f,_0x3e3229):_0x4aba2f,_0x4615dc=_0x4bb710[_0x3ab56c(0x130)]-0x1,_0x32a2db;_0x4615dc>=0x0;_0x4615dc--)(_0x32a2db=_0x4bb710[_0x4615dc])&&(_0x53b318=_0x32a2db(_0x53b318)||_0x53b318);return _0x53b318;},y=(_0x3075d3,_0x15e9eb)=>(_0x54982f,_0x5f2670)=>_0x15e9eb(_0x54982f,_0x5f2670,_0x3075d3);let Y=class extends _0x1901d0{constructor(_0xc6a7d4,_0x17dd07,_0xb0dde,_0x1b1aff,_0x5acf26,_0x3dce30){const _0x2947e3=_0x1ca9f1;super(),this[_0x2947e3(0x92)]=_0xc6a7d4,this['_uiPartsService']=_0x17dd07,this[_0x2947e3(0x89)]=_0xb0dde,this['_localeService']=_0x1b1aff,this[_0x2947e3(0x1a1)]=_0x5acf26,this[_0x2947e3(0x1d5)]=_0x3dce30,this[_0x2947e3(0xb2)]();}['_init'](){const _0x17fae9=_0x1ca9f1;this[_0x17fae9(0x1e6)](this[_0x17fae9(0x1a1)][_0x17fae9(0x1ae)]['subscribe'](_0x126891=>{const _0x24fb45=_0x17fae9;_0x126891&&this['_historyManagerService'][_0x24fb45(0x122)](_0x126891);})),this[_0x17fae9(0x1e6)](this[_0x17fae9(0x92)][_0x17fae9(0x1c5)][_0x17fae9(0x1f5)](_0x211177=>{const _0x10f476=_0x17fae9,_0x477445=this['_historyManagerService']['unitId'];_0x477445&&(_0x211177[_0x10f476(0x1d4)]===O[_0x10f476(0x1a9)]&&_0x211177['value']===!0x0&&this['_permissionService'][_0x10f476(0x1d0)](new _0x2e39b6(_0x477445)['id'],!0x1),_0x211177[_0x10f476(0x1d4)]===O[_0x10f476(0x22a)]&&_0x211177['value']===!0x0&&this[_0x10f476(0x92)][_0x10f476(0x1d0)](new _0x33798e(_0x477445)['id'],!0x1),_0x211177['subType']===O['MoveSheet']&&_0x211177[_0x10f476(0x1ee)]===!0x0&&this[_0x10f476(0x92)][_0x10f476(0x1d0)](new _0x3ebd81(_0x477445)['id'],!0x1),_0x211177[_0x10f476(0x1d4)]===O[_0x10f476(0x1e1)]&&_0x211177[_0x10f476(0x1ee)]===!0x0&&this['_permissionService'][_0x10f476(0x1d0)](new _0x2f7491(_0x477445)['id'],!0x1),_0x211177[_0x10f476(0x1d4)]===O[_0x10f476(0xf6)]&&_0x211177[_0x10f476(0x1ee)]===!0x0&&this[_0x10f476(0x92)][_0x10f476(0x1d0)](new _0x2e39b6(_0x477445)['id'],!0x1),_0x211177[_0x10f476(0x1d4)]===O[_0x10f476(0x1b0)]&&_0x211177['value']===!0x0&&this[_0x10f476(0x92)][_0x10f476(0x1d0)](new _0x2e39b6(_0x477445)['id'],!0x1));})),this[_0x17fae9(0x1e6)](this['_uiPartsService'][_0x17fae9(0xb0)](_0x29bbc9[_0x17fae9(0x128)],()=>_0x5eaff6(Rs,this[_0x17fae9(0x1d5)]))),this[_0x17fae9(0x1e6)](this[_0x17fae9(0x1a1)][_0x17fae9(0x162)]['subscribe'](_0x1db63e=>{const _0x4893cc=_0x17fae9;_0x1db63e===T[_0x4893cc(0xa0)]&&(this['_historyManagerService'][_0x4893cc(0x1cc)](),this[_0x4893cc(0x89)]['show']({'type':_0x113ca4[_0x4893cc(0xab)],'content':this[_0x4893cc(0x1fc)]['t'](_0x4893cc(0xe9))})),_0x1db63e===T[_0x4893cc(0x1de)]&&this[_0x4893cc(0x1a1)]['hideMask']();}));}};Y=Ms([y(0x0,_0x3c83fa),y(0x1,_0x22ccde),y(0x2,_0x4954ce),y(0x3,_0x26c1e5(_0x760f3c)),y(0x4,_0x26c1e5(E)),y(0x5,_0x26c1e5(_0x1deb14))],Y);var bs=Object[_0x1ca9f1(0xbe)],Os=(_0x215ece,_0xeb4d79,_0x5af12e,_0x35dfa3)=>{const _0x23347c=_0x1ca9f1;for(var _0x36832a=_0x35dfa3>0x1?void 0x0:_0x35dfa3?bs(_0xeb4d79,_0x5af12e):_0xeb4d79,_0x197efc=_0x215ece[_0x23347c(0x130)]-0x1,_0x5da6ba;_0x197efc>=0x0;_0x197efc--)(_0x5da6ba=_0x215ece[_0x197efc])&&(_0x36832a=_0x5da6ba(_0x36832a)||_0x36832a);return _0x36832a;},Q=(_0x15d57d,_0x55d1fa)=>(_0x47141b,_0x4872a2)=>_0x55d1fa(_0x47141b,_0x4872a2,_0x15d57d);let L=class extends _0x1901d0{constructor(_0x30c917,_0x591f54,_0x12f575){const _0x1a8e45=_0x1ca9f1;super(),l(this,'_diffRangesMap',new Map()),l(this,_0x1a8e45(0x22e),new _0x212087({'ranges':new Map(),'active':null})),l(this,_0x1a8e45(0x227),this[_0x1a8e45(0x22e)][_0x1a8e45(0x153)]()),(this[_0x1a8e45(0x1a1)]=_0x30c917,this['_transformService']=_0x591f54,this[_0x1a8e45(0xd8)]=_0x12f575,this['_init']());}[_0x1ca9f1(0xb2)](){const _0x3434cc=_0x1ca9f1;this[_0x3434cc(0x129)]=new Map(),this[_0x3434cc(0x1e6)](this[_0x3434cc(0x1a1)][_0x3434cc(0xbb)][_0x3434cc(0x1f5)](_0x1bede4=>{const _0x58644a=_0x3434cc;_0x1bede4&&!this['_diffRangesMap'][_0x58644a(0x18f)](_0x1bede4)&&this[_0x58644a(0x129)][_0x58644a(0x184)](_0x1bede4,new Map());})),this['disposeWithMe'](this['_historyManagerService'][_0x3434cc(0x1ae)][_0x3434cc(0x1f5)](async _0x3be998=>{const _0x576a43=_0x3434cc;var _0x39d1c0;_0x3be998&&(await this[_0x576a43(0xe0)](_0x3be998),this[_0x576a43(0x22e)][_0x576a43(0x13a)](((_0x39d1c0=this[_0x576a43(0x129)][_0x576a43(0x203)](this[_0x576a43(0x1a1)][_0x576a43(0x1d3)]))==null?void 0x0:_0x39d1c0[_0x576a43(0x203)](_0x3be998))||{'ranges':new Map(),'active':null}));}));}async['ensureVersion'](_0x49e549){const _0x1e2517=_0x1ca9f1;var _0x1d0655,_0x3cc5c6;const _0x430063=this[_0x1e2517(0x1a1)][_0x1e2517(0x1e3)](_0x49e549),_0x68262e=this[_0x1e2517(0x1a1)][_0x1e2517(0x1d3)];if(!_0x430063||!_0x68262e)return;const _0x2ccd3f=this[_0x1e2517(0x129)][_0x1e2517(0x203)](_0x68262e);if(_0x2ccd3f||this[_0x1e2517(0x129)][_0x1e2517(0x184)](_0x68262e,new Map()),(_0x1d0655=this['_diffRangesMap']['get'](_0x68262e))!=null&&_0x1d0655[_0x1e2517(0x18f)](_0x430063['id']))return;const {startRev:_0x97238c,endRev:_0x36cecf}=_0x430063;if(_0x97238c===0x1){_0x2ccd3f[_0x1e2517(0x184)](_0x430063['id'],{'ranges':new Map(),'active':null});return;}const _0x28965a=_0x97238c-0x1,_0x5a47d6=_0x36cecf,_0x412342=await this['_snapshotServerService'][_0x1e2517(0x174)]({},{'unitID':_0x68262e,'from':_0x28965a,'to':_0x5a47d6,'type':j['UNIVER_SHEET']});if(((_0x3cc5c6=_0x412342['error'])==null?void 0x0:_0x3cc5c6[_0x1e2517(0x158)])===X['OK']){const _0x24674c=_0x412342['changesets'][_0x1e2517(0x142)](_0x9a4364)[_0x1e2517(0x142)](_0x592e33=>_0x592e33[_0x1e2517(0x95)][_0x1e2517(0x142)](_0x523a36=>({..._0x523a36,'params':{..._0x523a36['params'],'memberId':_0x592e33[_0x1e2517(0x178)]}})))[_0x1e2517(0x1a4)](),_0x2269cc=this['_transformMutationByOrder'](_0x24674c),_0x2fc8bc=this['_getActiveSubUnitId'](_0x24674c),_0x58f4af=this[_0x1e2517(0x182)](_0x2269cc);_0x2ccd3f[_0x1e2517(0x184)](_0x430063['id'],{'ranges':_0x58f4af,'active':_0x2fc8bc});}}[_0x1ca9f1(0x23e)](_0xaeff57){const _0x5ce97b=_0x1ca9f1;let _0x501c27=[];for(let _0x1f8888=0x0;_0x1f8888<_0xaeff57['length'];_0x1f8888++){const _0x5300be=_0xaeff57[_0x1f8888];if(_0x501c27[_0x5ce97b(0x134)](_0x5300be),_0x1f8888!==_0xaeff57[_0x5ce97b(0x130)]-0x1){const _0x463977=_0xaeff57[_0x1f8888+0x1],_0xc2ae95=this['_transformService']['transformMutations'](_0x501c27,[_0x463977]);_0x106bf1(_0xc2ae95)?_0x501c27=_0xc2ae95[_0x5ce97b(0x9e)]:_0x501c27=[];}}return _0x501c27;}[_0x1ca9f1(0x116)](_0x213b61){const _0x1d4e86=_0x1ca9f1;let _0x3488d8=[];return _0x213b61['forEach'](_0x49c9f9=>{const _0x58e41f=_0x552a;if(_0x49c9f9['id']===_0x2d0c7a['id']){const _0x5e6019=_0x49c9f9['params'];_0x3488d8[_0x58e41f(0x134)](_0x5e6019[_0x58e41f(0x16d)]['id']);}else{if(_0x49c9f9['id']===_0x35861f['id']){const _0xe85a8e=_0x49c9f9['params'];_0x3488d8[_0x58e41f(0x130)]>0x0&&(_0x3488d8=_0x3488d8[_0x58e41f(0x236)](_0x599c4c=>_0x599c4c!==_0xe85a8e[_0x58e41f(0x19d)]));}else{if(_0x49c9f9['id']===_0x282e1c['id']){const _0x1bbbcd=_0x49c9f9['params'];_0x1bbbcd['hidden']?_0x3488d8=_0x3488d8[_0x58e41f(0x236)](_0x4c60ec=>_0x4c60ec!==_0x1bbbcd[_0x58e41f(0x19d)]):_0x3488d8['push'](_0x1bbbcd[_0x58e41f(0x19d)]);}else{const _0x21d1ed=_0x49c9f9[_0x58e41f(0x135)];_0x21d1ed[_0x58e41f(0x19d)]&&_0x3488d8['push'](_0x21d1ed[_0x58e41f(0x19d)]);}}}}),_0x3488d8[_0x1d4e86(0x130)]>0x0?_0x3488d8[_0x3488d8[_0x1d4e86(0x130)]-0x1]:null;}['_extractRanges'](_0xcb4991){const _0x51e8b7=_0x1ca9f1,_0x2b8172=new Map();return _0xcb4991[_0x51e8b7(0x14e)](_0x5aa8fe=>{const _0x1de658=_0x51e8b7;var _0xb66d50,_0x5f45c1;const _0x3c5665=(_0xb66d50=_0x5aa8fe[_0x1de658(0x135)])==null?void 0x0:_0xb66d50[_0x1de658(0x17a)];if(_0x3c5665){_0x2b8172[_0x1de658(0x18f)](_0x3c5665)||_0x2b8172['set'](_0x3c5665,[]);const _0x5b557e=this[_0x1de658(0x14b)](_0x5aa8fe);(_0x5f45c1=_0x2b8172[_0x1de658(0x203)](_0x3c5665))==null||_0x5f45c1[_0x1de658(0x134)](..._0x5b557e);}}),_0x2b8172[_0x51e8b7(0x14e)]((_0x57ead1,_0x265e2e)=>{const _0x355bbf=_0x51e8b7;_0x2b8172[_0x355bbf(0x184)](_0x265e2e,this[_0x355bbf(0x14f)](_0x57ead1));}),_0x2b8172;}['_getRangesByMutation'](_0x2d9fe6){const _0x32b1fc=_0x1ca9f1;switch(_0x2d9fe6['id']){case _0x296180['id']:{const _0x5da555=_0x2d9fe6[_0x32b1fc(0x135)];return _0x5da555['rules'][_0x32b1fc(0x142)](_0x4a2af2=>_0x4a2af2[_0x32b1fc(0x87)]['map'](_0x2224c6=>({'range':_0x2224c6,'unitId':_0x5da555['unitId'],'subUnitId':_0x5da555[_0x32b1fc(0x19d)]})))[_0x32b1fc(0x1a4)]();}case _0x4e8b72['id']:{const _0x18ea97=_0x2d9fe6[_0x32b1fc(0x135)];return _0x18ea97[_0x32b1fc(0x87)][_0x32b1fc(0x142)](_0x2456a6=>({'range':_0x2456a6,'unitId':_0x18ea97[_0x32b1fc(0x1d3)],'subUnitId':_0x18ea97[_0x32b1fc(0x19d)]}));}case _0x1525a4['id']:{const _0xf14a37=_0x2d9fe6['params'];return[{'range':_0xf14a37['range'],'unitId':_0xf14a37[_0x32b1fc(0x1d3)],'subUnitId':_0xf14a37[_0x32b1fc(0x19d)]}];}case _0x2fe804['id']:{const _0x59973c=_0x2d9fe6[_0x32b1fc(0x135)];return[{'range':_0x59973c['range'],'unitId':_0x59973c[_0x32b1fc(0x1d3)],'subUnitId':_0x59973c[_0x32b1fc(0x19d)]}];}case _0x5f5289['id']:{const _0x129639=_0x2d9fe6[_0x32b1fc(0x135)],{from:_0x2f2344,to:_0x2d74c6,unitId:_0x17d9da}=_0x129639;return[{'range':he(_0x2f2344[_0x32b1fc(0x1ee)]),'unitId':_0x17d9da,'subUnitId':_0x2f2344[_0x32b1fc(0x19d)]},{'range':he(_0x2d74c6['value']),'unitId':_0x17d9da,'subUnitId':_0x2d74c6[_0x32b1fc(0x19d)]}];}case _0x5e550b['id']:{const _0x2b3b2a=_0x2d9fe6['params'],{unitId:_0x17f745,subUnitId:_0x8ef9d9,sourceRange:_0x31c6f4,targetRange:_0x338425}=_0x2b3b2a,_0x44bb48=_0x31c6f4[_0x32b1fc(0x13b)]-_0x31c6f4[_0x32b1fc(0xde)]+0x1;return[{'range':_0x338425[_0x32b1fc(0xde)]<=_0x31c6f4['startRow']?_0x338425:{..._0x338425,'startRow':_0x338425[_0x32b1fc(0xde)]-_0x44bb48,'endRow':_0x338425['endRow']-_0x44bb48},'unitId':_0x17f745,'subUnitId':_0x8ef9d9}];}case _0x229dc3['id']:{const _0x69dbe4=_0x2d9fe6[_0x32b1fc(0x135)],{unitId:_0x57f621,subUnitId:_0x41282f,sourceRange:_0x22445a,targetRange:_0x409e8e}=_0x69dbe4,_0x230678=_0x22445a[_0x32b1fc(0x16f)]-_0x22445a[_0x32b1fc(0x1b2)]+0x1;return[{'range':_0x409e8e[_0x32b1fc(0x1b2)]<=_0x22445a[_0x32b1fc(0x1b2)]?_0x409e8e:{..._0x409e8e,'startColumn':_0x409e8e[_0x32b1fc(0x1b2)]-_0x230678,'endColumn':_0x409e8e[_0x32b1fc(0x16f)]-_0x230678},'unitId':_0x57f621,'subUnitId':_0x41282f}];}case _0x16a9d6['id']:{const _0x3a0d5d=_0x2d9fe6[_0x32b1fc(0x135)],{values:_0x1bc0d5,unitId:_0x2ccb4d,subUnitId:_0x3078dd}=_0x3a0d5d;return Object[_0x32b1fc(0x1e4)](_0x1bc0d5)['map'](_0x134dd1=>_0x134dd1[_0x32b1fc(0x87)][_0x32b1fc(0x142)](_0x1e0fec=>({'range':_0x1e0fec,'unitId':_0x2ccb4d,'subUnitId':_0x3078dd})))['flat']();}case _0x3eac25['id']:{const _0x2649c2=_0x2d9fe6[_0x32b1fc(0x135)],{ranges:_0x51d579,unitId:_0x3783dc,subUnitId:_0x551768}=_0x2649c2;return _0x51d579[_0x32b1fc(0x142)](_0x489282=>({'range':_0x489282,'unitId':_0x3783dc,'subUnitId':_0x551768}));}case _0x4e8fee['id']:{const _0x8ebd02=_0x2d9fe6[_0x32b1fc(0x135)],{unitId:_0x1edce5,subUnitId:_0x1dea2e,range:_0x193814}=_0x8ebd02;return[{'range':_0x193814,'unitId':_0x1edce5,'subUnitId':_0x1dea2e}];}case _0x55c297['id']:{const _0x3163e1=_0x2d9fe6[_0x32b1fc(0x135)];return _0x3163e1[_0x32b1fc(0x18e)]['ranges'][_0x32b1fc(0x142)](_0x26e6d3=>({'range':_0x26e6d3,'unitId':_0x3163e1[_0x32b1fc(0x1d3)],'subUnitId':_0x3163e1[_0x32b1fc(0x19d)]}));}case _0x58fab2['id']:{const _0x5544f1=_0x2d9fe6[_0x32b1fc(0x135)];return _0x5544f1[_0x32b1fc(0x19a)]?Ds(_0x5544f1[_0x32b1fc(0x19a)])[_0x32b1fc(0x142)](_0x38ca44=>({'range':_0x38ca44,'unitId':_0x5544f1[_0x32b1fc(0x1d3)],'subUnitId':_0x5544f1['subUnitId']})):[];}case _0x4a9fed['id']:{const _0x31408a=_0x2d9fe6[_0x32b1fc(0x135)];return[{'range':_0x31408a['range'],'unitId':_0x31408a[_0x32b1fc(0x1d3)],'subUnitId':_0x31408a[_0x32b1fc(0x19d)]}];}case _0x11e583['id']:{const _0x4e3024=_0x2d9fe6[_0x32b1fc(0x135)];return(Array[_0x32b1fc(0x204)](_0x4e3024['rule'])?_0x4e3024[_0x32b1fc(0x18e)]:[_0x4e3024[_0x32b1fc(0x18e)]])['map'](_0xa525e6=>_0xa525e6['ranges'][_0x32b1fc(0x142)](_0x498186=>({'range':_0x498186,'unitId':_0x4e3024[_0x32b1fc(0x1d3)],'subUnitId':_0x4e3024[_0x32b1fc(0x19d)]})))[_0x32b1fc(0x1a4)]();}case _0x65b3a9['id']:{const _0x44fce6=_0x2d9fe6[_0x32b1fc(0x135)];return _0x44fce6['rule'][_0x32b1fc(0x87)][_0x32b1fc(0x142)](_0x10adc3=>({'range':_0x10adc3,'unitId':_0x44fce6['unitId'],'subUnitId':_0x44fce6['subUnitId']}));}default:return[];}}[_0x1ca9f1(0x14f)](_0x231f7c){const _0x1fa3ed=_0x1ca9f1;if(_0x231f7c[_0x1fa3ed(0x130)]<=0x1)return _0x231f7c;const _0x56b89e=new Map();return _0x231f7c[_0x1fa3ed(0x14e)](_0x74b6da=>{const _0xf59025=_0x1fa3ed;var _0x1a7b75;const {unitId:_0x15c929,subUnitId:_0x1b2f36}=_0x74b6da,_0x2ed292=_0x15c929+'-'+_0x1b2f36;_0x56b89e[_0xf59025(0x18f)](_0x2ed292)?(_0x1a7b75=_0x56b89e['get'](_0x2ed292))==null||_0x1a7b75[_0xf59025(0x134)](_0x74b6da):_0x56b89e[_0xf59025(0x184)](_0x2ed292,[_0x74b6da]);}),Array[_0x1fa3ed(0x22c)](_0x56b89e['values']())['map'](_0x7826ba=>new _0x1a0ed9()[_0x1fa3ed(0xa8)](..._0x7826ba[_0x1fa3ed(0x142)](_0x4fe577=>_0x4fe577[_0x1fa3ed(0xe2)]))[_0x1fa3ed(0x155)]()['map'](_0x28cbd0=>({'range':_0x28cbd0,'unitId':_0x7826ba[0x0]['unitId'],'subUnitId':_0x7826ba[0x0][_0x1fa3ed(0x19d)]})))[_0x1fa3ed(0x1a4)]();}};L=Os([Q(0x0,_0x26c1e5(E)),Q(0x1,_0x44a818),Q(0x2,_0x55f9bf)],L);function he(_0xe14b76){return new _0x17cae5(_0xe14b76)['getDataRange']();}function Ds(_0x53efb2){const _0x23d9c0=new _0x17cae5(_0x53efb2),_0x278fee=new _0x17cae5();return _0x23d9c0['forValue']((_0x541d2d,_0x2b608e)=>{const _0x29768c=_0x552a;_0x278fee[_0x29768c(0x240)](_0x541d2d,_0x2b608e,0x1);}),_0x16471f(_0x278fee);}var ys=Object[_0x1ca9f1(0xbe)],ws=(_0x2a5728,_0x1cc447,_0x277e1f,_0x15cef6)=>{for(var _0x5f3768=_0x15cef6>0x1?void 0x0:_0x15cef6?ys(_0x1cc447,_0x277e1f):_0x1cc447,_0x37b9bf=_0x2a5728['length']-0x1,_0x3d1c4c;_0x37b9bf>=0x0;_0x37b9bf--)(_0x3d1c4c=_0x2a5728[_0x37b9bf])&&(_0x5f3768=_0x3d1c4c(_0x5f3768)||_0x5f3768);return _0x5f3768;},w=(_0x62bf5b,_0x41da9b)=>(_0x5dcaf1,_0xb2489c)=>_0x41da9b(_0x5dcaf1,_0xb2489c,_0x62bf5b);let te=class extends _0x1901d0{constructor(_0x25aefe,_0x385d9b,_0x5ef94a,_0xdfdda9,_0xa8a7,_0x4033f6,_0x499ec0){const _0xfebf58=_0x1ca9f1;super(),l(this,'_diffs',new Set()),l(this,_0xfebf58(0x1dd),null),(this[_0xfebf58(0x106)]=_0x25aefe,this[_0xfebf58(0x1a1)]=_0x385d9b,this['_versionDiffService']=_0x5ef94a,this[_0xfebf58(0x11c)]=_0xdfdda9,this['_renderManagerService']=_0xa8a7,this[_0xfebf58(0x1bb)]=_0x4033f6,this['_commandService']=_0x499ec0,this[_0xfebf58(0xb2)]());}['_init'](){const _0x5b73dc=_0x1ca9f1;this['_initRender'](),this[_0x5b73dc(0x1b8)]();}[_0x1ca9f1(0x173)](){const _0x23f2a9=_0x1ca9f1;this[_0x23f2a9(0x1e6)](_0x5a19f5([this[_0x23f2a9(0x1a1)]['loadingState$'],this[_0x23f2a9(0x1bb)][_0x23f2a9(0x13e)]])['pipe'](_0x231616(([_0xd04a7b,_0x184f81])=>{const _0x109230=_0x23f2a9;if(_0xd04a7b===T[_0x109230(0x1de)]&&_0x184f81){const _0x5b7ea9=_0x184f81[_0x109230(0x12f)];return this['_versionDiffService'][_0x109230(0x227)][_0x109230(0x9d)](_0x38ff0c(_0x417ac2=>{const _0x2b4bab=_0x109230,_0x2146af=new Map();return _0x417ac2[_0x2b4bab(0x87)]['forEach']((_0x1c4c2f,_0x5b8596)=>{const _0x1022ff=_0x2b4bab,_0x4020e1=_0x1c4c2f[_0x1022ff(0x236)](_0x3431f5=>_0x3431f5[_0x1022ff(0x19d)]===_0x5b7ea9);_0x2146af['set'](_0x5b8596,_0x4020e1);}),{'skeleton':_0x184f81,'diffs':_0x2146af};}));}return _0x579c5f({'skeleton':null,'diffs':new Map()});}))[_0x23f2a9(0x1f5)](({skeleton:_0x1eee6a,diffs:_0x351a46})=>{const _0x355da4=_0x23f2a9;this[_0x355da4(0x94)](),_0x1eee6a&&this[_0x355da4(0x91)](_0x1eee6a,_0x351a46);})),this[_0x23f2a9(0x1e6)](this[_0x23f2a9(0x1bb)][_0x23f2a9(0x13e)][_0x23f2a9(0x1f5)](_0x63f571=>{const _0x2353d4=_0x23f2a9;if(_0x63f571==null)return;const {skeleton:_0x37363c}=_0x63f571,{scene:_0x5f50f5}=this[_0x2353d4(0x106)];_0x5f50f5[_0x2353d4(0xd0)][_0x2353d4(0x223)](_0x29fbf3(_0x9bd173=>{const _0x602aa6=_0x2353d4;var _0x3da4be,_0x11164c;const {offsetX:_0x1d1423,offsetY:_0x31018a}=_0x9bd173,{x:_0x351efb,y:_0xd16db6}=_0x5f50f5[_0x602aa6(0x14d)](_0x1ec9fb[_0x602aa6(0xc9)]([_0x1d1423,_0x31018a])),{scaleX:_0xe6ee2d,scaleY:_0x173dc8}=_0x5f50f5[_0x602aa6(0x215)](),_0x2c24cd=_0x5f50f5[_0x602aa6(0x1f2)](_0x19524c[_0x602aa6(0xb1)]),_0xc4f2a6=_0x5f50f5[_0x602aa6(0x186)](_0x1ec9fb['FromArray']([_0x351efb,_0xd16db6]),_0x2c24cd),_0x2b1166=_0x37363c[_0x602aa6(0xae)](_0x1d1423,_0x31018a,_0xe6ee2d,_0x173dc8,_0xc4f2a6);((_0x3da4be=this[_0x602aa6(0x1dd)])==null?void 0x0:_0x3da4be[_0x602aa6(0xeb)])===_0x2b1166['column']&&((_0x11164c=this['_lastPointer'])==null?void 0x0:_0x11164c[_0x602aa6(0xc3)])===_0x2b1166[_0x602aa6(0xc3)]||this[_0x602aa6(0xdc)][_0x602aa6(0x14e)](_0x2ac1b1=>{const _0x68d72d=_0x602aa6;_0x2ac1b1[_0x68d72d(0x13f)](_0x2b1166);});},0x64));}));}['_initActiveSwitch'](){const _0x54b964=_0x1ca9f1;this[_0x54b964(0x1e6)](this[_0x54b964(0x1a1)][_0x54b964(0x162)][_0x54b964(0x1f5)](_0x4da844=>{const _0x155c14=_0x54b964,_0x52a280=new _0x35cde1();return _0x4da844===T[_0x155c14(0x1de)]&&(_0x52a280[_0x155c14(0x1bc)](),_0x52a280[_0x155c14(0xa8)](this[_0x155c14(0x140)][_0x155c14(0x227)][_0x155c14(0x1f5)](_0x25f57d=>{const _0x3fb4a6=_0x155c14;_0x25f57d[_0x3fb4a6(0x20b)]&&this[_0x3fb4a6(0x19f)]['executeCommand'](_0x40704e['id'],{'unitId':this[_0x3fb4a6(0x106)][_0x3fb4a6(0x1d3)],'subUnitId':_0x25f57d[_0x3fb4a6(0x20b)]});}))),()=>_0x52a280[_0x155c14(0x1bc)]();}));}[_0x1ca9f1(0x91)](_0x264cad,_0x256d82){const _0x29cd6e=_0x1ca9f1;var _0xb9e806;const _0x32111d=(_0xb9e806=this['_sheetSkeletonManagerService'][_0x29cd6e(0x1d7)]())==null?void 0x0:_0xb9e806[_0x29cd6e(0x109)];if(!_0x32111d)return;this['_diffs'][_0x29cd6e(0x14e)](_0x3083e2=>{const _0x29d441=_0x29cd6e;_0x3083e2[_0x29d441(0x156)]();});const {scene:_0x372515}=this[_0x29cd6e(0x106)],_0x4bd7b6=Array[_0x29cd6e(0x22c)](_0x256d82[_0x29cd6e(0xbd)]())[_0x29cd6e(0x142)](_0x4c2d8b=>_0x256d82[_0x29cd6e(0x203)](_0x4c2d8b)['map'](_0xd794f3=>{const _0x2dc6f9=_0x29cd6e;var _0x58f411;const {range:_0x484ef6,subUnitId:_0x50ecab,unitId:_0x31776d}=_0xd794f3,{startColumn:_0x133296,startRow:_0x4961d8,endColumn:_0x5c3270,endRow:_0x2b26b3}=_0x484ef6,_0xa9a77=_0x53ee62(_0x4961d8,_0x133296,_0x372515,_0x32111d),_0x10c139=_0x53ee62(_0x2b26b3,_0x5c3270,_0x372515,_0x32111d),{columnHeaderHeightAndMarginTop:_0xdc4812}=_0x32111d,{startX:_0x15d788,startY:_0x183473}=_0xa9a77,{endX:_0x1537da,endY:_0x452cd4}=_0x10c139,_0x3826b1=_0x1537da-_0x15d788,_0x1769bf=_0x452cd4-_0x183473,_0xbd9e8e={'labelPosition':_0x183473-_0xdc4812>=0x14?'top':_0x2dc6f9(0x21f),'sheetID':_0x50ecab,'range':_0x484ef6,'color':'rgba(58,\x2096,\x20247,\x200.20)','fillAfterStrokeEnabled':!0x0,'backgroundColor':'rgba(58,\x2096,\x20247,\x200.20)','name':((_0x58f411=this[_0x2dc6f9(0x1a1)][_0x2dc6f9(0xaa)](_0x4c2d8b))==null?void 0x0:_0x58f411[_0x2dc6f9(0xe7)])||'','selection':_0x31776d+'-'+_0x50ecab+'-'+_0x484ef6[_0x2dc6f9(0x1b2)]+'-'+_0x484ef6[_0x2dc6f9(0xde)]+'-'+_0x484ef6['endColumn']+'-'+_0x484ef6[_0x2dc6f9(0x13b)],'left':_0x15d788,'top':_0x183473,'width':_0x3826b1,'height':_0x1769bf,'evented':!0x1,'zIndex':0x1};return new _0xd3627f('',_0xbd9e8e);}))[_0x29cd6e(0x1a4)]();_0x372515[_0x29cd6e(0x1ac)](_0x4bd7b6,0x1),this[_0x29cd6e(0xdc)]=new Set(_0x4bd7b6);}[_0x1ca9f1(0x94)](){const _0x548e5e=_0x1ca9f1;var _0x4097ad;(_0x4097ad=this[_0x548e5e(0xdc)])==null||_0x4097ad['forEach'](_0x1ecd91=>_0x1ecd91['dispose']());}[_0x1ca9f1(0xc0)](){const _0x55c9b5=_0x1ca9f1;return _0xd9a78(this[_0x55c9b5(0x11c)],this[_0x55c9b5(0x23d)]);}};te=ws([w(0x1,_0x26c1e5(E)),w(0x2,_0x26c1e5(L)),w(0x3,_0x493712),w(0x4,_0x232ef0),w(0x5,_0x26c1e5(_0x4c32fa)),w(0x6,_0x176e65)],te);function Cs(){const _0x411f18=_0x1ca9f1,_0x40255b=_0x55808b(E),_0x1fdac9=_0x2e10f1(_0x40255b[_0x411f18(0x114)]),[_0x1ffc66,_0x23a705]=_0x2ba2dc(!0x1),_0x3e26eb=os(_0x1fdac9);return _0x1fdac9?_0x27fae2(_0x411f18(0x141),{'className':_0x411f18(0x17e),'children':_0x122161(_0x411f18(0x141),{'className':_0x411f18(0x1d6),'children':[_0x3e26eb[_0x411f18(0x142)]((_0x41cbf9,_0x238c3c)=>_0x122161(_0x4389c1,{'children':[_0x27fae2($s,{'date':_0x41cbf9[_0x411f18(0xf1)]}),_0x41cbf9[_0x411f18(0xa7)][_0x411f18(0x142)]((_0x5742c1,_0x572bd4)=>_0x27fae2(Ls,{'index':[_0x238c3c,_0x572bd4],'item':_0x5742c1},_0x238c3c+'-'+_0x572bd4))]},_0x41cbf9['dateString'])),_0x1ffc66&&_0x27fae2(Ps,{})]})}):_0x27fae2(Ts,{});}function _0x552a(_0x1b1541,_0x4b8af8){const _0x3abce3=_0x3abc();return _0x552a=function(_0x552aa5,_0x5145e6){_0x552aa5=_0x552aa5-0x86;let _0x31623d=_0x3abce3[_0x552aa5];return _0x31623d;},_0x552a(_0x1b1541,_0x4b8af8);}function Ps(){const _0x3e65b5=_0x1ca9f1;return _0x27fae2(_0x3e65b5(0x141),{'className':_0x3e65b5(0xc5),'children':_0x27fae2(ae,{'className':_0x3e65b5(0x1b5)})});}function Ts(){const _0x385e71=_0x1ca9f1;return _0x27fae2(_0x385e71(0x141),{'className':_0x385e71(0x243),'children':_0x27fae2(_0x385e71(0xe3),{'className':'univer-text-gray-500','children':_0x27fae2(ae,{'className':_0x385e71(0x99)})})});}function $s(_0x4bf2f2){const _0x594dc9=_0x1ca9f1,_0x497fde=_0x55808b(_0x760f3c),{date:_0x89d756}=_0x4bf2f2;return _0x27fae2(_0x594dc9(0x141),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-pl-5\x20univer-text-[#1e222b]\x20univer-text-sm\x20univer-font-medium','children':ee(_0x89d756,_0x497fde[_0x594dc9(0xf3)]())});}function Ls(_0x1bd928){const _0x6711e6=_0x1ca9f1,{item:_0x4a568a,index:_0x4d8a4c}=_0x1bd928,{time:_0x2db5bd,user:_0x28e4ad}=_0x4a568a,[_0x343233,_0x162de0]=_0x4d8a4c,_0x6e9af5=_0x55808b(E),_0x48d88a=_0x2e10f1(_0x6e9af5[_0x6711e6(0x1ae)],'',!0x0)===_0x4a568a['id'],_0xe9559e=_0x343233===0x0&&_0x162de0===0x0,_0x567089=!_0xe9559e&&_0x6e9af5[_0x6711e6(0x1da)],_0x34e69a=_0x55808b(_0x760f3c),_0x751a61=_0x34e69a['getCurrentLocale'](),_0x282344=re(_0x2db5bd,_0x751a61),_0x5c0279=_0x34e69a['t'](_0x6711e6(0x9b)),_0x2e1bd4=_0x7105df(_0xc0ffd5=>{const _0xb2aa74=_0x6711e6;_0x6e9af5[_0xb2aa74(0x139)]!==T[_0xb2aa74(0xa0)]&&(_0x6e9af5[_0xb2aa74(0x93)]=_0xc0ffd5);},[_0x6e9af5]),_0x2c861f=_0x7105df(_0x25b291=>{const _0xd9bd9f=_0x6711e6;_0x6e9af5[_0xd9bd9f(0x145)](_0x25b291);},[_0x6e9af5]);return _0x122161(_0x6711e6(0x141),{'className':_0xc242f8('univer-h-[60px]\x20univer-flex\x20univer-flex-col\x20univer-justify-center\x20univer-px-4\x20univer-py-1.5\x20univer-cursor-default',{'univer-bg-gray-50':_0x48d88a}),'onClick':()=>_0x2e1bd4(_0x4a568a['id']),'children':[_0x122161(_0x6711e6(0x141),{'className':'univer-h-6\x20univer-flex\x20univer-justify-between\x20univer-w-full','children':[_0x27fae2(_0x6711e6(0x141),{'className':'univer-w-6\x20univer-h-6\x20univer-text-gray-400\x20univer-flex\x20univer-items-center\x20univer-justify-center'}),_0x122161('div',{'className':'univer-flex-1\x20univer-flex\x20univer-items-center\x20univer-text-gray-600\x20univer-text-sm\x20dark:!univer-text-gray-200','children':[_0x27fae2(_0x6711e6(0xe3),{'children':_0x282344[_0x6711e6(0x11e)]}),_0xe9559e&&_0x27fae2('span',{'className':_0x6711e6(0x107),'children':_0x5c0279})]}),_0x27fae2('div',{'children':_0x567089&&_0x27fae2(_0xe7ce02,{'title':_0x34e69a['t']('editHistory.panel.revertDesc'),'children':_0x27fae2(_0x6711e6(0x141),{'onClick':_0x4695c5=>{_0x4695c5['stopPropagation'](),_0x2c861f(_0x4a568a['id']);},'className':_0x6711e6(0x1c4),'children':_0x27fae2(Te,{})})})})]}),_0x27fae2(_0x6711e6(0x141),{'className':_0x6711e6(0x1fb),'children':ns(_0x4a568a,_0x34e69a)})]});}var Vs=Object[_0x1ca9f1(0xbe)],ks=(_0x19d262,_0x1f8793,_0x485e8f,_0x28ac43)=>{const _0x119c8c=_0x1ca9f1;for(var _0x18a487=_0x28ac43>0x1?void 0x0:_0x28ac43?Vs(_0x1f8793,_0x485e8f):_0x1f8793,_0x18f268=_0x19d262[_0x119c8c(0x130)]-0x1,_0x23ddcd;_0x18f268>=0x0;_0x18f268--)(_0x23ddcd=_0x19d262[_0x18f268])&&(_0x18a487=_0x23ddcd(_0x18a487)||_0x18a487);return _0x18a487;},k=(_0x5a66a5,_0x67b6e)=>(_0x1b47ec,_0x14f2f0)=>_0x67b6e(_0x1b47ec,_0x14f2f0,_0x5a66a5);const de=_0x1ca9f1(0x12c);let F=class extends _0x1901d0{constructor(_0x407a0c,_0x22838f,_0x4e9c49,_0x416221){const _0x4f5b64=_0x1ca9f1;super(),l(this,'_sidebarDisposable',null),(this[_0x4f5b64(0x20e)]=_0x407a0c,this[_0x4f5b64(0x9f)]=_0x22838f,this[_0x4f5b64(0x1fc)]=_0x4e9c49,this['_historyManagerService']=_0x416221,this[_0x4f5b64(0xb2)]());}['_init'](){const _0x149ccf=_0x1ca9f1;this[_0x149ccf(0xe8)](),this[_0x149ccf(0xfa)]();}['_openPanel'](){const _0x53aaa4=_0x1ca9f1;if(this[_0x53aaa4(0x101)])return;const _0x4fa17a={'header':{'title':this['_localeService']['t']('editHistory.panel.title')},'children':{'label':de},'onClose':()=>{const _0x36d74c=_0x53aaa4;this[_0x36d74c(0x101)]=null,this[_0x36d74c(0x1a1)][_0x36d74c(0x127)]=ne['Exited'];}};this[_0x53aaa4(0x101)]=this[_0x53aaa4(0x20e)][_0x53aaa4(0x1ea)]({..._0x4fa17a});}[_0x1ca9f1(0xe8)](){const _0x31f5cb=_0x1ca9f1;this[_0x31f5cb(0x1e6)](this[_0x31f5cb(0x9f)]['register'](de,Cs)),this['disposeWithMe'](this[_0x31f5cb(0x20e)][_0x31f5cb(0x1f1)][_0x31f5cb(0x9d)](_0x4ebf36(0x64))[_0x31f5cb(0x1f5)](_0x1406b5=>{const _0x5699e1=_0x31f5cb,{target:_0x409fd3}=_0x1406b5||{};if(_0x409fd3){const {scrollTop:_0xa06d3d,scrollHeight:_0x5ed506,clientHeight:_0x50c8d0}=_0x409fd3;_0xa06d3d+_0x50c8d0>=_0x5ed506-0x5&&this['_historyManagerService'][_0x5699e1(0x1e5)]();}}));}};F=ks([k(0x0,_0x4ec7ab),k(0x1,_0x26c1e5(_0x5c25aa)),k(0x2,_0x26c1e5(_0x760f3c)),k(0x3,_0x26c1e5(E))],F);class xs extends _0x1901d0{constructor(){const _0x495e8=_0x1ca9f1;super(),l(this,_0x495e8(0x14a),new _0x245a67());}['open'](){return _0x227128(()=>{});}[_0x1ca9f1(0xbc)](){}[_0x1ca9f1(0x18b)](_0x593c85){}[_0x1ca9f1(0x1be)](){const _0x4840bc=_0x1ca9f1;return this[_0x4840bc(0x14a)][_0x4840bc(0x153)]();}}var Us=Object[_0x1ca9f1(0x205)],Hs=Object['getOwnPropertyDescriptor'],js=(_0x45c0f7,_0x1d467c,_0x465bb1)=>_0x1d467c in _0x45c0f7?Us(_0x45c0f7,_0x1d467c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x465bb1}):_0x45c0f7[_0x1d467c]=_0x465bb1,Bs=(_0x1dbc29,_0x256b9a,_0x648d05,_0x57f82b)=>{const _0x1cae61=_0x1ca9f1;for(var _0x2c358b=_0x57f82b>0x1?void 0x0:_0x57f82b?Hs(_0x256b9a,_0x648d05):_0x256b9a,_0x5d9777=_0x1dbc29[_0x1cae61(0x130)]-0x1,_0x4a198b;_0x5d9777>=0x0;_0x5d9777--)(_0x4a198b=_0x1dbc29[_0x5d9777])&&(_0x2c358b=_0x4a198b(_0x2c358b)||_0x2c358b);return _0x2c358b;},J=(_0x1bedd5,_0x3a3fc4)=>(_0x39db21,_0x5b5be9)=>_0x3a3fc4(_0x39db21,_0x5b5be9,_0x1bedd5),Ys=(_0x148cf7,_0x2d9ee7,_0x416b25)=>js(_0x148cf7,_0x2d9ee7+'',_0x416b25);const Fs=_0x1ca9f1(0x10c);let se=class extends _0x4dd956{constructor(_0x501c3a=_e,_0x33c4da,_0x5664f7,_0x1ada9b){const _0x3f3453=_0x1ca9f1;super(),this[_0x3f3453(0x1b4)]=_0x501c3a,this[_0x3f3453(0x1d5)]=_0x33c4da,this['_renderManagerService']=_0x5664f7,this[_0x3f3453(0x11a)]=_0x1ada9b;const {..._0x373b18}=_0x3e9ed5({},_e,this['_config']);this['_configService']['setConfig'](we,_0x373b18);}[_0x1ca9f1(0xcb)](){const _0x2920db=_0x1ca9f1;[[E],[Y],[L],[B],[F],[H],[_0x55f9bf,{'useClass':_0x5e9a47}],[_0x26bee0,{'useClass':xs}],[_0x4f0d9f,{'useClass':_0x9e1720}]][_0x2920db(0x14e)](_0x1ff44d=>this[_0x2920db(0x1d5)]['add'](_0x1ff44d)),this[_0x2920db(0x1d5)][_0x2920db(0x203)](Y);}[_0x1ca9f1(0x1ca)](){const _0x175490=_0x1ca9f1;[[te]][_0x175490(0x14e)](_0x31262e=>{const _0x569ea1=_0x175490;this['disposeWithMe'](this[_0x569ea1(0x23d)][_0x569ea1(0x23a)](_0x311ae6[_0x569ea1(0x10a)],_0x31262e));}),this['_injector'][_0x175490(0x203)](H),this['_injector'][_0x175490(0x203)](F);}[_0x1ca9f1(0x13c)](){const _0x79dccd=_0x1ca9f1;this[_0x79dccd(0x1d5)]['get'](L);}};Ys(se,_0x1ca9f1(0x1ba),Fs),se=Bs([_0x5c4ef2(_0xbe1a51,_0x5b436c),J(0x1,_0x26c1e5(_0x1deb14)),J(0x2,_0x232ef0),J(0x3,_0x43cc31)],se);export{E as HistoryManagerService,ne as HistoryModeStatus,se as UniverEditHistoryViewerPlugin};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x5472(_0x59f4db,_0x25ab8a){const _0x19dbd2=_0x19db();return _0x5472=function(_0x547263,_0x416fd9){_0x547263=_0x547263-0xe9;let _0x4d4f6b=_0x19dbd2[_0x547263];return _0x4d4f6b;},_0x5472(_0x59f4db,_0x25ab8a);}function _0x19db(){const _0x1b6362=['created\x20workbook','set\x20filter','260320xPWntJ','Reverting,\x20please\x20wait...','Reverted\x20from','set\x20data\x20validation','Edit\x20History','Unknown\x20User','110VCXpWd','add\x20protection','Restore\x20this\x20version?','inserted\x20worksheet','deleted\x20worksheet','edited\x20worksheet','Cancel','Current\x20Version','set\x20frozen','delete\x20protection','24840tYjbLn','Failed\x20to\x20get\x20edit\x20history\x20list','7695864XexRyf','9132767cJQSbh','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','Back','Restore\x20this\x20version','1742709JumYVM','8rKibfB','2272174SjQDcR','loading,\x20please\x20wait...','add\x20conditional\x20formatting','Current\x20User','1631817sfmQPU','add\x20sparkline','reverted\x20workbook'];_0x19db=function(){return _0x1b6362;};return _0x19db();}const _0x2abcee=_0x5472;(function(_0x2b8dec,_0x108d24){const _0x1e30b=_0x5472,_0x4a9228=_0x2b8dec();while(!![]){try{const _0x181555=-parseInt(_0x1e30b(0xea))/0x1+parseInt(_0x1e30b(0xf3))/0x2+parseInt(_0x1e30b(0xf1))/0x3+parseInt(_0x1e30b(0xfc))/0x4*(parseInt(_0x1e30b(0x102))/0x5)+-parseInt(_0x1e30b(0xec))/0x6+-parseInt(_0x1e30b(0xed))/0x7*(parseInt(_0x1e30b(0xf2))/0x8)+parseInt(_0x1e30b(0xf7))/0x9;if(_0x181555===_0x108d24)break;else _0x4a9228['push'](_0x4a9228['shift']());}catch(_0x5b2c68){_0x4a9228['push'](_0x4a9228['shift']());}}}(_0x19db,0xaf44a));const e={'editHistory':{'panel':{'title':_0x2abcee(0x100),'unknownUser':_0x2abcee(0x101),'listFetchError':_0x2abcee(0xeb),'revertConfirm':_0x2abcee(0x104),'revertConfirmText':_0x2abcee(0xee),'cancel':_0x2abcee(0x108),'confirm':'Confirm','reverting':_0x2abcee(0xfd),'revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':_0x2abcee(0x109),'currentUser':_0x2abcee(0xf6),'revertDesc':_0x2abcee(0xf0)},'info':{'loading':_0x2abcee(0xf4)},'header':{'back':_0x2abcee(0xef),'revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0x2abcee(0x105),'removeSheet':_0x2abcee(0x106),'createSheet':_0x2abcee(0xfa),'setFilter':_0x2abcee(0xfb),'setFrozen':_0x2abcee(0x10a),'editSheet':_0x2abcee(0x107),'revertSheet':_0x2abcee(0xf9),'revertSheetPrefix':_0x2abcee(0xfe),'revertSheetSuffix':'','setDV':_0x2abcee(0xff),'setCF':'set\x20conditional\x20formatting','addCF':_0x2abcee(0xf5),'addProtection':_0x2abcee(0x103),'addSparkline':_0x2abcee(0xf8),'deleteProtection':_0x2abcee(0xe9),'etc':',\x20etc.'}}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3d8ef2=_0x18f1;(function(_0x3951bc,_0x2c2e8b){const _0x49a8ff=_0x18f1,_0x563cbe=_0x3951bc();while(!![]){try{const _0x490b71=-parseInt(_0x49a8ff(0x1d1))/0x1*(-parseInt(_0x49a8ff(0x1c4))/0x2)+-parseInt(_0x49a8ff(0x1be))/0x3+parseInt(_0x49a8ff(0x1b7))/0x4*(-parseInt(_0x49a8ff(0x1c8))/0x5)+parseInt(_0x49a8ff(0x1d6))/0x6*(parseInt(_0x49a8ff(0x1d4))/0x7)+-parseInt(_0x49a8ff(0x1b9))/0x8*(-parseInt(_0x49a8ff(0x1cd))/0x9)+parseInt(_0x49a8ff(0x1ba))/0xa+parseInt(_0x49a8ff(0x1cf))/0xb*(-parseInt(_0x49a8ff(0x1b8))/0xc);if(_0x490b71===_0x2c2e8b)break;else _0x563cbe['push'](_0x563cbe['shift']());}catch(_0x54ffe9){_0x563cbe['push'](_0x563cbe['shift']());}}}(_0x2cd5,0xc91f4));function _0x18f1(_0x4bd157,_0x190eb5){const _0x2cd54d=_0x2cd5();return _0x18f1=function(_0x18f14b,_0x4bfb0d){_0x18f14b=_0x18f14b-0x1b7;let _0x503d52=_0x2cd54d[_0x18f14b];return _0x503d52;},_0x18f1(_0x4bd157,_0x190eb5);}const e={'editHistory':{'panel':{'title':_0x3d8ef2(0x1cc),'unknownUser':_0x3d8ef2(0x1c9),'listFetchError':_0x3d8ef2(0x1c1),'revertConfirm':_0x3d8ef2(0x1d0),'revertConfirmText':_0x3d8ef2(0x1c6),'cancel':_0x3d8ef2(0x1d2),'confirm':'تایید','reverting':_0x3d8ef2(0x1bb),'revertFailed':_0x3d8ef2(0x1ca),'currentVersion':'نسخه\x20فعلی','currentUser':_0x3d8ef2(0x1bd),'revertDesc':_0x3d8ef2(0x1cb)},'info':{'loading':_0x3d8ef2(0x1bf)},'header':{'back':'بازگشت','revert':_0x3d8ef2(0x1cb)},'action':{'insertSheet':_0x3d8ef2(0x1d7),'removeSheet':'ورق\x20کاری\x20حذف\x20شده','createSheet':_0x3d8ef2(0x1c2),'setFilter':_0x3d8ef2(0x1c0),'setFrozen':_0x3d8ef2(0x1d5),'editSheet':_0x3d8ef2(0x1d9),'revertSheet':_0x3d8ef2(0x1ce),'revertSheetPrefix':_0x3d8ef2(0x1d8),'revertSheetSuffix':'','setDV':'تنظیم\x20اعتبار\x20سنجی\x20داده','setCF':_0x3d8ef2(0x1c3),'addCF':'افزودن\x20قالب\x20بندی\x20شرطی','addProtection':_0x3d8ef2(0x1bc),'addSparkline':_0x3d8ef2(0x1d3),'deleteProtection':_0x3d8ef2(0x1c5),'etc':_0x3d8ef2(0x1c7)}}};function _0x2cd5(){const _0x4a53a7=['بازگردانی\x20این\x20نسخه','تاریخچه\x20ویرایش','36WAydyv','ورق\x20کاری\x20بازگردانی\x20شده','3160751Iphetx','این\x20نسخه\x20را\x20بازگردانی\x20کنید؟','58cUeMjZ','لغو','افزودن\x20نمودار\x20کوچک','2523787PXiGcm','تنظیم\x20منجمد','6DkWyHO','ورق\x20کاری\x20اضافه\x20شده','بازگردانی\x20از','ورق\x20کاری\x20ویرایش\x20شده','4YLCSCi','60McIXRF','3141032vpgpRc','8672010JSJoQn','در\x20حال\x20بازگردانی،\x20لطفا\x20صبر\x20کنید...','افزودن\x20حفاظت','کاربر\x20فعلی','1766586MVjPBy','در\x20حال\x20بارگذاری،\x20لطفا\x20صبر\x20کنید...','تنظیم\x20فیلتر','دریافت\x20لیست\x20تاریخچه\x20ویرایش\x20ناموفق\x20بود','ورق\x20کاری\x20ایجاد\x20شده','تنظیم\x20قالب\x20بندی\x20شرطی','37562PYjsZG','حذف\x20حفاظت','این\x20سند\x20به\x20نسخه\x20انتخاب\x20شده\x20بازگردانده\x20خواهد\x20شد','،\x20و\x20غیره','5190965tYbkqp','کاربر\x20ناشناخته','خطای\x20ناشناخته،\x20لطفا\x20صفحه\x20را\x20بارگذاری\x20مجدد\x20کنید\x20تا\x20نتیجه\x20بازگردانی\x20را\x20مشاهده\x20کنید'];_0x2cd5=function(){return _0x4a53a7;};return _0x2cd5();}export{e as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2a2ee6=_0x4955;function _0x4955(_0x4d84a5,_0x4e485c){const _0x5c8e95=_0x5c8e();return _0x4955=function(_0x4955a3,_0x51e6ed){_0x4955a3=_0x4955a3-0xf1;let _0x33a63b=_0x5c8e95[_0x4955a3];return _0x33a63b;},_0x4955(_0x4d84a5,_0x4e485c);}(function(_0x3b2814,_0x471432){const _0x51cf65=_0x4955,_0x170fa1=_0x3b2814();while(!![]){try{const _0x1d0452=-parseInt(_0x51cf65(0xf4))/0x1+parseInt(_0x51cf65(0x10a))/0x2*(-parseInt(_0x51cf65(0xf3))/0x3)+parseInt(_0x51cf65(0x107))/0x4+-parseInt(_0x51cf65(0xf6))/0x5*(parseInt(_0x51cf65(0xfa))/0x6)+parseInt(_0x51cf65(0xff))/0x7+-parseInt(_0x51cf65(0x103))/0x8+parseInt(_0x51cf65(0x100))/0x9*(parseInt(_0x51cf65(0x109))/0xa);if(_0x1d0452===_0x471432)break;else _0x170fa1['push'](_0x170fa1['shift']());}catch(_0x46c119){_0x170fa1['push'](_0x170fa1['shift']());}}}(_0x5c8e,0x4af11));function _0x5c8e(){const _0x4202e5=['Edit\x20History','2961056COKWMu','add\x20conditional\x20formatting','deleted\x20worksheet','created\x20workbook','755064Jhrjdq','set\x20frozen','1218530fSFKTQ','2eCdODS','set\x20filter','set\x20conditional\x20formatting','loading,\x20please\x20wait...','Unknown\x20User','Restore\x20this\x20version','add\x20protection','Cancel','516324BATEvQ','81020QwEcEl','add\x20sparkline','119555xZdmwr','Back','delete\x20protection','set\x20data\x20validation','114htofyj','Failed\x20to\x20get\x20edit\x20history\x20list','Confirm','Reverting,\x20please\x20wait...','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','2399551kjPRgP','63OChiwB','Current\x20Version'];_0x5c8e=function(){return _0x4202e5;};return _0x5c8e();}const e={'editHistory':{'panel':{'title':_0x2a2ee6(0x102),'unknownUser':_0x2a2ee6(0x10e),'listFetchError':_0x2a2ee6(0xfb),'revertConfirm':'Restore\x20this\x20version?','revertConfirmText':_0x2a2ee6(0xfe),'cancel':_0x2a2ee6(0xf2),'confirm':_0x2a2ee6(0xfc),'reverting':_0x2a2ee6(0xfd),'revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':_0x2a2ee6(0x101),'currentUser':'Current\x20User','revertDesc':_0x2a2ee6(0x10f)},'info':{'loading':_0x2a2ee6(0x10d)},'header':{'back':_0x2a2ee6(0xf7),'revert':'Restore\x20this\x20version'},'action':{'insertSheet':'inserted\x20worksheet','removeSheet':_0x2a2ee6(0x105),'createSheet':_0x2a2ee6(0x106),'setFilter':_0x2a2ee6(0x10b),'setFrozen':_0x2a2ee6(0x108),'editSheet':'edited\x20worksheet','revertSheet':'reverted\x20workbook','revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':_0x2a2ee6(0xf9),'setCF':_0x2a2ee6(0x10c),'addCF':_0x2a2ee6(0x104),'addProtection':_0x2a2ee6(0xf1),'addSparkline':_0x2a2ee6(0xf5),'deleteProtection':_0x2a2ee6(0xf8),'etc':',\x20etc.'}}},t=e;export{t as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0xedc4(_0x4fd304,_0x5c38c0){const _0x3899da=_0x3899();return _0xedc4=function(_0xedc4a2,_0x2089c1){_0xedc4a2=_0xedc4a2-0x170;let _0x1a447a=_0x3899da[_0xedc4a2];return _0x1a447a;},_0xedc4(_0x4fd304,_0x5c38c0);}function _0x3899(){const _0x2861ab=['1870eENLkK','set\x20frozen','18808hFBuRO','Failed\x20to\x20get\x20edit\x20history\x20list','357wlYYEP','set\x20conditional\x20formatting',',\x20etc.','43285FnbZYO','Back','add\x20sparkline','Restore\x20this\x20version?','Confirm','182768AHaeHC','loading,\x20please\x20wait...','Current\x20User','2443494lYjhlD','add\x20conditional\x20formatting','3514032KIlYDe','Restore\x20this\x20version','260909ZeKcXw','Unknown\x20User','Reverted\x20from','35MAXITI','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','431762gpKoUn','add\x20protection','delete\x20protection','Edit\x20History','3gKuDhm','set\x20filter','set\x20data\x20validation'];_0x3899=function(){return _0x2861ab;};return _0x3899();}const _0x301beb=_0xedc4;(function(_0x1a2c9a,_0x5686b0){const _0x285a46=_0xedc4,_0x4159c1=_0x1a2c9a();while(!![]){try{const _0x1bf600=parseInt(_0x285a46(0x186))/0x1+-parseInt(_0x285a46(0x18b))/0x2*(parseInt(_0x285a46(0x170))/0x3)+parseInt(_0x285a46(0x17f))/0x4*(-parseInt(_0x285a46(0x189))/0x5)+-parseInt(_0x285a46(0x182))/0x6+-parseInt(_0x285a46(0x177))/0x7*(parseInt(_0x285a46(0x175))/0x8)+parseInt(_0x285a46(0x184))/0x9+-parseInt(_0x285a46(0x173))/0xa*(-parseInt(_0x285a46(0x17a))/0xb);if(_0x1bf600===_0x5686b0)break;else _0x4159c1['push'](_0x4159c1['shift']());}catch(_0x162059){_0x4159c1['push'](_0x4159c1['shift']());}}}(_0x3899,0x4f2e7));const e={'editHistory':{'panel':{'title':_0x301beb(0x18e),'unknownUser':_0x301beb(0x187),'listFetchError':_0x301beb(0x176),'revertConfirm':_0x301beb(0x17d),'revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':'Cancel','confirm':_0x301beb(0x17e),'reverting':'Reverting,\x20please\x20wait...','revertFailed':_0x301beb(0x18a),'currentVersion':'Current\x20Version','currentUser':_0x301beb(0x181),'revertDesc':_0x301beb(0x185)},'info':{'loading':_0x301beb(0x180)},'header':{'back':_0x301beb(0x17b),'revert':_0x301beb(0x185)},'action':{'insertSheet':'inserted\x20worksheet','removeSheet':'deleted\x20worksheet','createSheet':'created\x20workbook','setFilter':_0x301beb(0x171),'setFrozen':_0x301beb(0x174),'editSheet':'edited\x20worksheet','revertSheet':'reverted\x20workbook','revertSheetPrefix':_0x301beb(0x188),'revertSheetSuffix':'','setDV':_0x301beb(0x172),'setCF':_0x301beb(0x178),'addCF':_0x301beb(0x183),'addProtection':_0x301beb(0x18c),'addSparkline':_0x301beb(0x17c),'deleteProtection':_0x301beb(0x18d),'etc':_0x301beb(0x179)}}};export{e as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x473682=_0x3135;function _0x3135(_0xe46cec,_0x19ce82){const _0x429542=_0x4295();return _0x3135=function(_0x31359e,_0x92c71a){_0x31359e=_0x31359e-0x1d4;let _0x28b06b=_0x429542[_0x31359e];return _0x28b06b;},_0x3135(_0xe46cec,_0x19ce82);}(function(_0x5dc6fc,_0x40d3fd){const _0x37d33b=_0x3135,_0x38fa3e=_0x5dc6fc();while(!![]){try{const _0x489272=parseInt(_0x37d33b(0x1d6))/0x1*(parseInt(_0x37d33b(0x1d8))/0x2)+parseInt(_0x37d33b(0x1db))/0x3*(parseInt(_0x37d33b(0x1ea))/0x4)+-parseInt(_0x37d33b(0x1f1))/0x5*(-parseInt(_0x37d33b(0x1ed))/0x6)+-parseInt(_0x37d33b(0x1d7))/0x7*(-parseInt(_0x37d33b(0x1f0))/0x8)+parseInt(_0x37d33b(0x1de))/0x9*(parseInt(_0x37d33b(0x1e5))/0xa)+parseInt(_0x37d33b(0x1e3))/0xb+parseInt(_0x37d33b(0x1da))/0xc*(-parseInt(_0x37d33b(0x1e8))/0xd);if(_0x489272===_0x40d3fd)break;else _0x38fa3e['push'](_0x38fa3e['shift']());}catch(_0x9cf49b){_0x38fa3e['push'](_0x38fa3e['shift']());}}}(_0x4295,0x8b2cc));const e={'editHistory':{'panel':{'title':_0x473682(0x1d4),'unknownUser':_0x473682(0x1eb),'listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list','revertConfirm':_0x473682(0x1e6),'revertConfirmText':_0x473682(0x1ef),'cancel':_0x473682(0x1ee),'confirm':_0x473682(0x1d9),'reverting':'Reverting,\x20please\x20wait...','revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':_0x473682(0x1e1),'currentUser':_0x473682(0x1e2),'revertDesc':_0x473682(0x1e0)},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':_0x473682(0x1e7),'revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0x473682(0x1f2),'removeSheet':'deleted\x20worksheet','createSheet':_0x473682(0x1d5),'setFilter':'set\x20filter','setFrozen':_0x473682(0x1dc),'editSheet':_0x473682(0x1ec),'revertSheet':_0x473682(0x1df),'revertSheetPrefix':_0x473682(0x1dd),'revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':_0x473682(0x1e4),'addCF':'add\x20conditional\x20formatting','addProtection':'add\x20protection','addSparkline':'add\x20sparkline','deleteProtection':_0x473682(0x1e9),'etc':',\x20etc.'}}},t=e;function _0x4295(){const _0xe6c577=['Current\x20Version','Current\x20User','11292688FJozHy','set\x20conditional\x20formatting','322360pcbFyT','Restore\x20this\x20version?','Back','13UCrZda','delete\x20protection','268824uvJiZv','Unknown\x20User','edited\x20worksheet','2558346Edoyvm','Cancel','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','26848ulORdY','5elYLLa','inserted\x20worksheet','Edit\x20History','created\x20workbook','1oPAeUm','217TDAjYs','602772CRdjfw','Confirm','27517740zrRGmc','6XyrtiN','set\x20frozen','Reverted\x20from','243ZptqTt','reverted\x20workbook','Restore\x20this\x20version'];_0x4295=function(){return _0xe6c577;};return _0x4295();}export{t as default};
|