@univerjs-pro/edit-history-viewer 0.8.0-nightly.202506081606 → 0.8.0-nightly.202506101607
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 +16 -16
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x4954(_0x15481f,_0x4dfa0a){const _0x11fc5f=_0x11fc();return _0x4954=function(_0x4954aa,_0x416206){_0x4954aa=_0x4954aa-0x1a8;let _0x1f290d=_0x11fc5f[_0x4954aa];return _0x1f290d;},_0x4954(_0x15481f,_0x4dfa0a);}const _0xf6f114=_0x4954;(function(_0x4292ea,_0x431958){const _0x580c77=_0x4954,_0xafad98=_0x4292ea();while(!![]){try{const _0x59caf6=parseInt(_0x580c77(0x1a8))/0x1*(parseInt(_0x580c77(0x1ac))/0x2)+-parseInt(_0x580c77(0x1ba))/0x3*(parseInt(_0x580c77(0x1b7))/0x4)+parseInt(_0x580c77(0x1aa))/0x5+-parseInt(_0x580c77(0x1c6))/0x6*(parseInt(_0x580c77(0x1ab))/0x7)+-parseInt(_0x580c77(0x1b3))/0x8+-parseInt(_0x580c77(0x1be))/0x9*(-parseInt(_0x580c77(0x1bb))/0xa)+-parseInt(_0x580c77(0x1c3))/0xb;if(_0x59caf6===_0x431958)break;else _0xafad98['push'](_0xafad98['shift']());}catch(_0x3046af){_0xafad98['push'](_0xafad98['shift']());}}}(_0x11fc,0x97df3));function _0x11fc(){const _0x285a03=['inserted\x20worksheet','Restore\x20this\x20version','416oGbuDn','Confirm','Reverting,\x20please\x20wait...','17769zzwNRS','12207970WOVTTH','loading,\x20please\x20wait...','set\x20filter','9fNbWxA','Failed\x20to\x20get\x20edit\x20history\x20list','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','Cancel','deleted\x20worksheet','10977769qbMKxy','set\x20conditional\x20formatting','Restore\x20this\x20version?','1889610DMjxZn','Back','add\x20conditional\x20formatting','set\x20data\x20validation','85miEFsP','Current\x20Version','5763005MhBNci','7cczGfx','13966utNwXW','Current\x20User','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','exports','add\x20sparkline','Unknown\x20User','Reverted\x20from','3327840qSOPRn','reverted\x20workbook'];_0x11fc=function(){return _0x285a03;};return _0x11fc();}const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':_0xf6f114(0x1b1),'listFetchError':_0xf6f114(0x1bf),'revertConfirm':_0xf6f114(0x1c5),'revertConfirmText':_0xf6f114(0x1c0),'cancel':_0xf6f114(0x1c1),'confirm':_0xf6f114(0x1b8),'reverting':_0xf6f114(0x1b9),'revertFailed':_0xf6f114(0x1ae),'currentVersion':_0xf6f114(0x1a9),'currentUser':_0xf6f114(0x1ad),'revertDesc':_0xf6f114(0x1b6)},'info':{'loading':_0xf6f114(0x1bc)},'header':{'back':_0xf6f114(0x1c7),'revert':_0xf6f114(0x1b6)},'action':{'insertSheet':_0xf6f114(0x1b5),'removeSheet':_0xf6f114(0x1c2),'createSheet':'created\x20workbook','setFilter':_0xf6f114(0x1bd),'setFrozen':'set\x20frozen','editSheet':'edited\x20worksheet','revertSheet':_0xf6f114(0x1b4),'revertSheetPrefix':_0xf6f114(0x1b2),'revertSheetSuffix':'','setDV':_0xf6f114(0x1c9),'setCF':_0xf6f114(0x1c4),'addCF':_0xf6f114(0x1c8),'addProtection':'add\x20protection','addSparkline':_0xf6f114(0x1b0),'deleteProtection':'delete\x20protection','etc':',\x20etc.'}}},t=e;module[_0xf6f114(0x1af)]=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 _0x2ef19c=_0x425a;(function(_0x600d89,_0x1bbb08){const _0x513a21=_0x425a,_0x1aaa5f=_0x600d89();while(!![]){try{const _0x1104cf=parseInt(_0x513a21(0x174))/0x1*(parseInt(_0x513a21(0xce))/0x2)+-parseInt(_0x513a21(0xd7))/0x3+-parseInt(_0x513a21(0xf9))/0x4+-parseInt(_0x513a21(0x248))/0x5*(-parseInt(_0x513a21(0x1b6))/0x6)+-parseInt(_0x513a21(0x12b))/0x7+-parseInt(_0x513a21(0x20d))/0x8*(-parseInt(_0x513a21(0xd9))/0x9)+parseInt(_0x513a21(0xa3))/0xa;if(_0x1104cf===_0x1bbb08)break;else _0x1aaa5f['push'](_0x1aaa5f['shift']());}catch(_0x51a2e6){_0x1aaa5f['push'](_0x1aaa5f['shift']());}}}(_0x59d6,0xb5bc5));function _0x425a(_0x256ceb,_0x2f0e1e){const _0x59d684=_0x59d6();return _0x425a=function(_0x425aba,_0x32dc34){_0x425aba=_0x425aba-0x91;let _0x147580=_0x59d684[_0x425aba];return _0x147580;},_0x425a(_0x256ceb,_0x2f0e1e);}var He=Object['defineProperty'],je=(_0x5d056a,_0x87e128,_0xed175f)=>_0x87e128 in _0x5d056a?He(_0x5d056a,_0x87e128,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xed175f}):_0x5d056a[_0x87e128]=_0xed175f,l=(_0x5311cd,_0x6f2eb0,_0x1ce3c1)=>je(_0x5311cd,typeof _0x6f2eb0!='symbol'?_0x6f2eb0+'':_0x6f2eb0,_0x1ce3c1);import{RevertRevisionMutation as _0x497b96,CreateUnitMutation as _0x12c704,ISnapshotServerService as _0x3a1140,CompressMutationService as _0x40f22a,transformSnapshotToWorkbookData as _0x4f2853,ITransformService as _0x167f08,parseProtocolChangeset as _0x21135b,isTransformMutationsSuccess as _0x56ed69}from'@univerjs-pro/collaboration';import{SnapshotServerOverHTTPService as _0x333bca,CollaborationImageIoService as _0x1e7aea}from'@univerjs-pro/collaboration-client';import{Disposable as _0x341296,LocaleType as _0x302f11,IUniverInstanceService as _0x4fd703,ICommandService as _0x1786b3,IConfigService as _0x23a9c5,Inject as _0x57f012,UniverInstanceType as _0x22393d,LocaleService as _0x184bde,IPermissionService as _0x3f1ad0,Injector as _0x198881,ObjectMatrix as _0x17f34c,debounce as _0x31686,DisposableCollection as _0x4a28e0,toDisposable as _0x1159e3,DependentOn as _0x68bd76,Plugin as _0x4d6869,merge as _0x482f2e}from'@univerjs/core';import{IImageIoService as _0x4d86a9}from'@univerjs/drawing';import{IRenderManagerService as _0x501037,Vector2 as _0x37a56a,SHEET_VIEWPORT_KEY as _0x5447c7}from'@univerjs/engine-render';import{HTTPService as _0x44e064,UniverNetworkPlugin as _0xf5c097}from'@univerjs/network';import{ICellEditorManagerService as _0x40b0fd,SheetSkeletonManagerService as _0x41d5b9,getCoordByCell as _0x59a1ee,getSheetObject as _0x69039e,UniverSheetsUIPlugin as _0x7baea6}from'@univerjs/sheets-ui';import{IMessageService as _0x39617b,IConfirmService as _0x57d610,useDependency as _0x5e3842,useObservable as _0x11104e,IUIPartsService as _0x568902,BuiltInUIPart as _0x36e8ed,connectInjector as _0x21ea47,ISidebarService as _0x50ff08,ComponentManager as _0x3b4230,IDialogService as _0x1980ce}from'@univerjs/ui';import{MessageType as _0x11f01e,Button as _0x789496,clsx as _0x319716,Tooltip as _0x530338}from'@univerjs/design';import{InsertSheetMutation as _0x5d357d,RemoveSheetMutation as _0x2b8331,SetFrozenMutation as _0x4b2a2e,AddWorksheetProtectionMutation as _0x2d809a,AddRangeProtectionMutation as _0x37679b,DeleteRangeProtectionMutation as _0x5ae939,DeleteWorksheetProtectionMutation as _0x4a8108,WorkbookEditablePermission as _0x57e234,WorkbookRenameSheetPermission as _0x416899,WorkbookMoveSheetPermission as _0x267a3d,WorkbookHideSheetPermission as _0x12ecb5,SetWorksheetHideMutation as _0x124318,SetRangeValuesMutation as _0x3d7ada,SetRangeProtectionMutation as _0x12aeaa,ReorderRangeMutation as _0x1d6c6b,RemoveNumfmtMutation as _0x4b130f,SetNumfmtMutation as _0x5a06b5,MoveColsMutation as _0x2fc8f0,MoveRowsMutation as _0xa69e03,MoveRangeMutation as _0x45b2ae,InsertColMutation as _0x5b3262,InsertRowMutation as _0x209017,AddWorksheetMergeMutation as _0x1df4a4,RangeMergeUtil as _0x1aa199,findAllRectangle as _0x26ff76,SetWorksheetActiveOperation as _0x4136a0}from'@univerjs/sheets';import{BehaviorSubject as _0x3edf74,combineLatest as _0x2c6388,switchMap as _0x2b8b05,map as _0x3b2f27,of as _0x56e4d7,debounceTime as _0x368e00,Subject as _0x5a693f}from'rxjs';import{AddDataValidationMutation as _0x4819c0,UpdateDataValidationMutation as _0x2272a5}from'@univerjs/data-validation';import{SetConditionalRuleMutation as _0x261b13,AddConditionalRuleMutation as _0x2db304}from'@univerjs/sheets-conditional-formatting';import{SetSheetsFilterRangeMutation as _0x1030f1}from'@univerjs/sheets-filter';import{AddSheetSparklineMutation as _0x3f419f}from'@univerjs-pro/sheets-sparkline';import{jsxs as _0x23fe86,jsx as _0x51f5cd}from'react/jsx-runtime';import{forwardRef as _0x1c447d,useRef as _0x1c92e4,createElement as _0x33a2c5,useCallback as _0x4120a7,useState as _0x197677,Fragment as _0x1de935}from'react';import{SheetCollabCursorShape as _0x2e1ea4}from'@univerjs-pro/collaboration-client-ui';const we=_0x2ef19c(0xb8),_e={};var ts=Object['getOwnPropertyDescriptor'],ss=(_0x3df188,_0x5e17e0,_0x1feeb4,_0xb6f5e3)=>{const _0x12f0ce=_0x2ef19c;for(var _0x5041f4=_0xb6f5e3>0x1?void 0x0:_0xb6f5e3?ts(_0x5e17e0,_0x1feeb4):_0x5e17e0,_0xc4099c=_0x3df188[_0x12f0ce(0x19b)]-0x1,_0x115ec6;_0xc4099c>=0x0;_0xc4099c--)(_0x115ec6=_0x3df188[_0xc4099c])&&(_0x5041f4=_0x115ec6(_0x5041f4)||_0x5041f4);return _0x5041f4;},is=(_0x366f4f,_0x40bdea)=>(_0x13c136,_0x49edc4)=>_0x40bdea(_0x13c136,_0x49edc4,_0x366f4f);let H=class extends _0x341296{constructor(_0x5253f1){const _0x302184=_0x2ef19c;super(),this[_0x302184(0xc3)]=_0x5253f1,this[_0x302184(0x208)]();}['_init'](){const _0x57a356=_0x2ef19c;this[_0x57a356(0x19d)](this['_cellEditorManagerService'][_0x57a356(0x1a1)][_0x57a356(0xf4)](_0x578bc9=>{const _0x1d503a=_0x57a356;_0x578bc9!=null&&_0x578bc9['show']&&this[_0x1d503a(0xc3)][_0x1d503a(0x9c)]({'show':!0x1});}));}};H=ss([is(0x0,_0x40b0fd)],H);var X=(_0x4c85c0=>(_0x4c85c0[_0x4c85c0['UNDEFINED']=0x0]=_0x2ef19c(0x118),_0x4c85c0[_0x4c85c0['OK']=0x1]='OK',_0x4c85c0[_0x4c85c0[_0x2ef19c(0x21e)]=0x2]=_0x2ef19c(0x21e),_0x4c85c0[_0x4c85c0[_0x2ef19c(0x120)]=0x3]=_0x2ef19c(0x120),_0x4c85c0[_0x4c85c0['NOT_FOUND']=0x4]=_0x2ef19c(0x15b),_0x4c85c0[_0x4c85c0[_0x2ef19c(0x9b)]=0x5]=_0x2ef19c(0x9b),_0x4c85c0[_0x4c85c0['ALREADY_EXISTS']=0x6]=_0x2ef19c(0x19f),_0x4c85c0[_0x4c85c0['INVALID_ARGUMENT']=0x7]=_0x2ef19c(0xa0),_0x4c85c0[_0x4c85c0[_0x2ef19c(0x198)]=0x8]=_0x2ef19c(0x198),_0x4c85c0[_0x4c85c0[_0x2ef19c(0x215)]=0x9]='COMPLETION_FINISHED',_0x4c85c0[_0x4c85c0[_0x2ef19c(0x164)]=0xa]=_0x2ef19c(0x164),_0x4c85c0[_0x4c85c0['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x2ef19c(0x1b4),_0x4c85c0[_0x4c85c0[_0x2ef19c(0xb1)]=0x1771]=_0x2ef19c(0xb1),_0x4c85c0[_0x4c85c0[_0x2ef19c(0x103)]=0x1772]=_0x2ef19c(0x103),_0x4c85c0[_0x4c85c0[_0x2ef19c(0x1ac)]=0x1773]=_0x2ef19c(0x1ac),_0x4c85c0[_0x4c85c0[_0x2ef19c(0x191)]=0x1b59]=_0x2ef19c(0x191),_0x4c85c0[_0x4c85c0[_0x2ef19c(0x98)]=0x1b5a]=_0x2ef19c(0x98),_0x4c85c0[_0x4c85c0['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x2ef19c(0xcc),_0x4c85c0[_0x4c85c0['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4c85c0[_0x4c85c0[_0x2ef19c(0x94)]=0x1b5d]='APPLY_DUPLICATED',_0x4c85c0[_0x4c85c0[_0x2ef19c(0x12c)]=0x1f41]=_0x2ef19c(0x12c),_0x4c85c0[_0x4c85c0[_0x2ef19c(0x1a3)]=0x2329]=_0x2ef19c(0x1a3),_0x4c85c0[_0x4c85c0[_0x2ef19c(0x180)]=0x232a]=_0x2ef19c(0x180),_0x4c85c0[_0x4c85c0[_0x2ef19c(0xe9)]=0x232b]=_0x2ef19c(0xe9),_0x4c85c0[_0x4c85c0[_0x2ef19c(0x223)]=0x232c]=_0x2ef19c(0x223),_0x4c85c0[_0x4c85c0[_0x2ef19c(0x1cf)]=0x232d]=_0x2ef19c(0x1cf),_0x4c85c0[_0x4c85c0[_0x2ef19c(0xad)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x4c85c0[_0x4c85c0[_0x2ef19c(0x107)]=0x2712]=_0x2ef19c(0x107),_0x4c85c0[_0x4c85c0[_0x2ef19c(0x1a7)]=0x2713]=_0x2ef19c(0x1a7),_0x4c85c0[_0x4c85c0[_0x2ef19c(0x1bc)]=0x2714]=_0x2ef19c(0x1bc),_0x4c85c0[_0x4c85c0[_0x2ef19c(0x1d6)]=0x271a]=_0x2ef19c(0x1d6),_0x4c85c0[_0x4c85c0[_0x2ef19c(0x1f2)]=0x271b]=_0x2ef19c(0x1f2),_0x4c85c0[_0x4c85c0[_0x2ef19c(0x22b)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x4c85c0[_0x4c85c0['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x4c85c0[_0x4c85c0[_0x2ef19c(0x235)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x4c85c0[_0x4c85c0[_0x2ef19c(0xd6)]=0x271f]=_0x2ef19c(0xd6),_0x4c85c0[_0x4c85c0[_0x2ef19c(0x228)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x4c85c0[_0x4c85c0[_0x2ef19c(0xb5)]=0x2ee1]=_0x2ef19c(0xb5),_0x4c85c0[_0x4c85c0[_0x2ef19c(0x24a)]=0x2ee2]=_0x2ef19c(0x24a),_0x4c85c0[_0x4c85c0[_0x2ef19c(0x14b)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x4c85c0[_0x4c85c0[_0x2ef19c(0x183)]=0x2ee4]=_0x2ef19c(0x183),_0x4c85c0[_0x4c85c0['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x2ef19c(0x151),_0x4c85c0[_0x4c85c0['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x4c85c0[_0x4c85c0[_0x2ef19c(0x158)]=0x32ca]=_0x2ef19c(0x158),_0x4c85c0[_0x4c85c0[_0x2ef19c(0x1c7)]=0x32cb]=_0x2ef19c(0x1c7),_0x4c85c0[_0x4c85c0['UNRECOGNIZED']=-0x1]=_0x2ef19c(0x10f),_0x4c85c0))(X||{}),j=(_0x1a844e=>(_0x1a844e[_0x1a844e['UNIVER_UNKNOWN']=0x0]=_0x2ef19c(0x1af),_0x1a844e[_0x1a844e['UNIVER_DOC']=0x1]=_0x2ef19c(0x179),_0x1a844e[_0x1a844e[_0x2ef19c(0x20b)]=0x2]=_0x2ef19c(0x20b),_0x1a844e[_0x1a844e[_0x2ef19c(0xbd)]=0x3]=_0x2ef19c(0xbd),_0x1a844e[_0x1a844e[_0x2ef19c(0x115)]=0x4]=_0x2ef19c(0x115),_0x1a844e[_0x1a844e[_0x2ef19c(0x10f)]=-0x1]=_0x2ef19c(0x10f),_0x1a844e))(j||{}),O=(_0x15a4da=>(_0x15a4da[_0x15a4da[_0x2ef19c(0x18f)]=0x0]=_0x2ef19c(0x18f),_0x15a4da[_0x15a4da[_0x2ef19c(0xe0)]=0x1]=_0x2ef19c(0xe0),_0x15a4da[_0x15a4da[_0x2ef19c(0x16b)]=0x2]=_0x2ef19c(0x16b),_0x15a4da[_0x15a4da[_0x2ef19c(0x1c9)]=0x3]='Print',_0x15a4da[_0x15a4da['Duplicate']=0x4]=_0x2ef19c(0x1d9),_0x15a4da[_0x15a4da[_0x2ef19c(0x21b)]=0x5]=_0x2ef19c(0x21b),_0x15a4da[_0x15a4da[_0x2ef19c(0xf5)]=0x6]='Copy',_0x15a4da[_0x15a4da[_0x2ef19c(0x119)]=0x7]=_0x2ef19c(0x119),_0x15a4da[_0x15a4da[_0x2ef19c(0xf0)]=0x8]=_0x2ef19c(0xf0),_0x15a4da[_0x15a4da['MoveWorksheet']=0x9]='MoveWorksheet',_0x15a4da[_0x15a4da[_0x2ef19c(0x1aa)]=0xa]=_0x2ef19c(0x1aa),_0x15a4da[_0x15a4da['HideWorksheet']=0xb]='HideWorksheet',_0x15a4da[_0x15a4da[_0x2ef19c(0x237)]=0xc]=_0x2ef19c(0x237),_0x15a4da[_0x15a4da[_0x2ef19c(0x22d)]=0xd]=_0x2ef19c(0x22d),_0x15a4da[_0x15a4da['SetWorksheetStyle']=0xe]='SetWorksheetStyle',_0x15a4da[_0x15a4da[_0x2ef19c(0x201)]=0xf]=_0x2ef19c(0x201),_0x15a4da[_0x15a4da[_0x2ef19c(0x136)]=0x10]=_0x2ef19c(0x136),_0x15a4da[_0x15a4da[_0x2ef19c(0x24c)]=0x11]=_0x2ef19c(0x24c),_0x15a4da[_0x15a4da[_0x2ef19c(0x154)]=0x12]=_0x2ef19c(0x154),_0x15a4da[_0x15a4da['PivotTable']=0x13]=_0x2ef19c(0x109),_0x15a4da[_0x15a4da['FloatImg']=0x14]=_0x2ef19c(0xff),_0x15a4da[_0x15a4da[_0x2ef19c(0x159)]=0x15]=_0x2ef19c(0x159),_0x15a4da[_0x15a4da['RwHgtClWdt']=0x16]=_0x2ef19c(0x22e),_0x15a4da[_0x15a4da['ViemRwHgtClWdt']=0x17]=_0x2ef19c(0x11a),_0x15a4da[_0x15a4da[_0x2ef19c(0xd1)]=0x18]=_0x2ef19c(0xd1),_0x15a4da[_0x15a4da['MoveSheet']=0x19]=_0x2ef19c(0x110),_0x15a4da[_0x15a4da['DeleteSheet']=0x1a]='DeleteSheet',_0x15a4da[_0x15a4da[_0x2ef19c(0x22a)]=0x1b]=_0x2ef19c(0x22a),_0x15a4da[_0x15a4da[_0x2ef19c(0xb9)]=0x1c]=_0x2ef19c(0xb9),_0x15a4da[_0x15a4da['RenameSheet']=0x1d]=_0x2ef19c(0x226),_0x15a4da[_0x15a4da['CreateSheet']=0x1e]='CreateSheet',_0x15a4da[_0x15a4da[_0x2ef19c(0x166)]=0x1f]='SelectProtectedCells',_0x15a4da[_0x15a4da[_0x2ef19c(0x241)]=0x20]=_0x2ef19c(0x241),_0x15a4da[_0x15a4da[_0x2ef19c(0x105)]=0x21]='SetCellStyle',_0x15a4da[_0x15a4da[_0x2ef19c(0x185)]=0x22]='SetCellValue',_0x15a4da[_0x15a4da['SetRowStyle']=0x23]=_0x2ef19c(0x1a2),_0x15a4da[_0x15a4da[_0x2ef19c(0x11d)]=0x24]=_0x2ef19c(0x11d),_0x15a4da[_0x15a4da[_0x2ef19c(0x1c8)]=0x25]=_0x2ef19c(0x1c8),_0x15a4da[_0x15a4da[_0x2ef19c(0x9f)]=0x26]=_0x2ef19c(0x9f),_0x15a4da[_0x15a4da['DeleteRow']=0x27]=_0x2ef19c(0x145),_0x15a4da[_0x15a4da['DeleteColumn']=0x28]=_0x2ef19c(0x111),_0x15a4da[_0x15a4da[_0x2ef19c(0x246)]=0x29]='EditExtraObject',_0x15a4da[_0x15a4da[_0x2ef19c(0x1d5)]=0x2a]=_0x2ef19c(0x1d5),_0x15a4da[_0x15a4da[_0x2ef19c(0x21d)]=0x2b]=_0x2ef19c(0x21d),_0x15a4da[_0x15a4da[_0x2ef19c(0x100)]=0x2c]=_0x2ef19c(0x100),_0x15a4da[_0x15a4da[_0x2ef19c(0x11b)]=0x2d]='CreatePermissionObject',_0x15a4da[_0x15a4da['UNRECOGNIZED']=-0x1]=_0x2ef19c(0x10f),_0x15a4da))(O||{});function rs(_0x3fe09f){const _0xc63cbb=_0x2ef19c;return!!(_0x3fe09f&&_0x3fe09f[_0xc63cbb(0x211)]&&_0x3fe09f['code']!==X['OK']&&_0x3fe09f[_0xc63cbb(0x211)]!=='OK');}const re=(_0x18f353,_0x4ffab6)=>{const _0x2b8e26=_0x2ef19c;if(!_0x18f353)return{'date':'','time':''};const _0x240176=new Date(_0x18f353),_0x9b6f0d=_0x240176[_0x2b8e26(0x178)]()[_0x2b8e26(0x240)]('T')[0x0];switch(_0x4ffab6){case _0x302f11[_0x2b8e26(0x170)]:return{'date':ee(_0x9b6f0d,_0x4ffab6),'time':_0x240176[_0x2b8e26(0x202)]()+':'+String(_0x240176[_0x2b8e26(0x1e5)]())['padStart'](0x2,'0')};default:return{'date':ee(_0x9b6f0d,_0x4ffab6),'time':_0x240176[_0x2b8e26(0x202)]()+':'+_0x240176[_0x2b8e26(0x1e5)]()};}},ns=(_0x196950,_0x3c08bd)=>{const _0x19af20=_0x2ef19c,_0x2bf3c6=_0x196950[_0x19af20(0x1c4)]||_0x3c08bd['t'](_0x19af20(0x117));if(_0x196950[_0x19af20(0x143)]['some'](_0x97181c=>_0x97181c===_0x497b96['id'])&&_0x196950[_0x19af20(0xbf)]){const _0x1a87c7=re(_0x196950[_0x19af20(0xbf)],_0x3c08bd[_0x19af20(0x15c)]()),_0x5e1fac=_0x1a87c7[_0x19af20(0xe1)]+'\x20'+_0x1a87c7[_0x19af20(0xfa)];return _0x2bf3c6+'\x20'+_0x3c08bd['t'](_0x19af20(0x172))+'\x20'+_0x5e1fac+'\x20'+_0x3c08bd['t'](_0x19af20(0x157));}const _0x3fc426=as(_0x196950),_0x16277b=_0x3fc426[_0x19af20(0x19b)]===0x1?_0x3c08bd['t'](_0x3fc426[0x0]):''+_0x3c08bd['t'](_0x3fc426[0x0])+_0x3c08bd['t'](_0x19af20(0x9a));return _0x2bf3c6+'\x20'+_0x16277b;};function as(_0x16d034){const _0x4355f5=_0x2ef19c;if(_0x16d034[_0x4355f5(0x143)][_0x4355f5(0x19b)]===0x0)return[''];const _0x5eca33=_0x4355f5(0x1b3),_0x18fae9=_0x5eca33+_0x4355f5(0x16d),_0x8d5c97=[{'id':_0x12c704['id'],'action':_0x5eca33+_0x4355f5(0xe3)},{'id':_0x497b96['id'],'action':_0x5eca33+_0x4355f5(0x1b5)},{'id':_0x5d357d['id'],'action':_0x5eca33+_0x4355f5(0x102)},{'id':_0x2b8331['id'],'action':_0x5eca33+_0x4355f5(0x96)},{'id':_0x4b2a2e['id'],'action':_0x5eca33+_0x4355f5(0x252)},{'id':_0x1030f1['id'],'action':_0x5eca33+'setFilter'},{'id':_0x4819c0['id'],'action':_0x5eca33+'setDV'},{'id':_0x2272a5['id'],'action':_0x5eca33+_0x4355f5(0x9e)},{'id':_0x261b13['id'],'action':_0x5eca33+_0x4355f5(0x91)},{'id':_0x2db304['id'],'action':_0x5eca33+'setCF'},{'id':_0x2d809a['id'],'action':_0x5eca33+_0x4355f5(0x1fa)},{'id':_0x37679b['id'],'action':_0x5eca33+_0x4355f5(0x1fa)},{'id':_0x3f419f['id'],'action':_0x5eca33+_0x4355f5(0x181)},{'id':_0x5ae939['id'],'action':_0x5eca33+_0x4355f5(0x130)},{'id':_0x4a8108['id'],'action':_0x5eca33+_0x4355f5(0x130)}][_0x4355f5(0x1f0)](_0x560d36=>_0x16d034['commands'][_0x4355f5(0x138)](_0x560d36['id']));return _0x8d5c97!=null&&_0x8d5c97['length']?_0x8d5c97[_0x4355f5(0xb7)](_0x5550c4=>_0x5550c4[_0x4355f5(0x160)]):[_0x18fae9];}function ee(_0x2bddc0,_0x1f9a20){const _0x2bb0d3=_0x2ef19c,[_0x1fb909,_0x22a7f3,_0x233983]=new Date()[_0x2bb0d3(0x178)]()[_0x2bb0d3(0x240)]('T')[0x0][_0x2bb0d3(0x240)]('-'),[_0xab251b,_0x1967bc,_0x529874]=_0x2bddc0[_0x2bb0d3(0x240)]('-'),_0x255008=_0x1fb909===_0xab251b&&_0x22a7f3===_0x1967bc&&_0x233983===_0x529874;let _0xc0f358='',_0x598cda='',_0x4ea0a2='';switch(_0x1f9a20){case _0x302f11[_0x2bb0d3(0x170)]:return _0x255008?'今天':(_0xc0f358=_0x1fb909===_0xab251b?'':_0xab251b+'年',_0x598cda=_0x1967bc+'月',_0x4ea0a2=_0x529874+'日',''+_0xc0f358+_0x598cda+_0x4ea0a2);default:return _0x255008?_0x2bb0d3(0xc6):(_0xc0f358=_0x1fb909===_0xab251b?'':_0xab251b+'-',_0x598cda=_0x1967bc+'-',_0x4ea0a2=''+_0x529874,''+_0xc0f358+_0x598cda+_0x4ea0a2);}}function os(_0x4bad31){const _0x40e6e1=_0x2ef19c;return _0x4bad31?_0x4bad31[_0x40e6e1(0xfc)]((_0x366299,_0x4d9813)=>{const _0x43776d=_0x40e6e1,_0x4db0ba=new Date(_0x4d9813[_0x43776d(0xfa)])[_0x43776d(0x178)]()[_0x43776d(0x240)]('T')[0x0];return _0x366299[_0x43776d(0x19b)]>0x0&&_0x366299[_0x366299['length']-0x1][_0x43776d(0xcd)]===_0x4db0ba?_0x366299[_0x366299[_0x43776d(0x19b)]-0x1][_0x43776d(0x13a)][_0x43776d(0x1b9)](_0x4d9813):_0x366299['push']({'dateString':_0x4db0ba,'versions':[_0x4d9813]}),_0x366299;},[]):[];}var cs=Object[_0x2ef19c(0x16e)],ls=(_0x4fe9ac,_0x354829,_0x3f883d,_0x543b89)=>{const _0x135977=_0x2ef19c;for(var _0x330719=_0x543b89>0x1?void 0x0:_0x543b89?cs(_0x354829,_0x3f883d):_0x354829,_0x127349=_0x4fe9ac[_0x135977(0x19b)]-0x1,_0x1b965e;_0x127349>=0x0;_0x127349--)(_0x1b965e=_0x4fe9ac[_0x127349])&&(_0x330719=_0x1b965e(_0x330719)||_0x330719);return _0x330719;},D=(_0x4eb307,_0x260e61)=>(_0x117685,_0x23deb5)=>_0x260e61(_0x117685,_0x23deb5,_0x4eb307);const us=_0x2ef19c(0xc1);let B=class extends _0x341296{constructor(_0x3586b5,_0x5e5f13,_0x1774ee,_0x4463e3,_0x536198,_0x2e4cd9){const _0x424445=_0x2ef19c;super(),l(this,_0x424445(0x123),new Map()),(this[_0x424445(0x106)]=_0x3586b5,this[_0x424445(0x10c)]=_0x5e5f13,this[_0x424445(0x177)]=_0x1774ee,this[_0x424445(0x1df)]=_0x4463e3,this[_0x424445(0x10b)]=_0x536198,this[_0x424445(0xba)]=_0x2e4cd9);}[_0x2ef19c(0x1d3)](){const _0x4f46df=_0x2ef19c;this[_0x4f46df(0x123)]['clear'](),super[_0x4f46df(0x1d3)]();}async['getVersions'](_0x2fcc15,_0x5acc23){const _0x40d92c=_0x2ef19c,_0x4934bb=this['_getAPIPrefix']()+'/'+_0x2fcc15+_0x40d92c(0x1dc)+(_0x5acc23?'&lastLabel='+_0x5acc23:'');try{const _0x474007=(await this[_0x40d92c(0x10b)][_0x40d92c(0x11e)](_0x4934bb))['body'];if(_0x474007&&_0x474007['error']&&_0x474007[_0x40d92c(0x1cd)][_0x40d92c(0x211)]===X['OK']){const {hasMore:_0x2fd9a8,lastLabel:_0x38b290}=_0x474007,_0x3d27e2=_s(_0x474007),_0x2db691=_0x474007[_0x40d92c(0x16f)][_0x40d92c(0x23a)];return{'hasMore':_0x2fd9a8,'lastLabel':_0x38b290,'versions':_0x3d27e2,'members':_0x2db691};}}catch(_0x376531){console[_0x40d92c(0x1cd)](_0x376531);}return null;}[_0x2ef19c(0x243)](){const _0x3d3cf6=_0x2ef19c;var _0x10a99f;const _0x370f0c=this[_0x3d3cf6(0x1df)][_0x3d3cf6(0x15f)](we);return(_0x10a99f=_0x370f0c==null?void 0x0:_0x370f0c['historyListServerUrl'])!=null?_0x10a99f:us;}async[_0x2ef19c(0xcf)](_0x2414f9,_0x591f10,_0x5b2fbc){const _0x23675f=_0x2ef19c;var _0x781817,_0x3986e1;_0x5b2fbc===void 0x0&&(_0x5b2fbc={}),this[_0x23675f(0x123)][_0x23675f(0x253)](_0x2414f9)||this[_0x23675f(0x123)][_0x23675f(0x1bf)](_0x2414f9,new Map());const {snapshot:_0x43172f,changesets:_0x583e40,error:_0x2fc8c2}=await this[_0x23675f(0x106)][_0x23675f(0x1b0)](_0x5b2fbc,{'unitID':_0x2414f9,'type':j[_0x23675f(0x20b)],'revision':_0x591f10});if(rs(_0x2fc8c2)||!_0x43172f||!_0x43172f[_0x23675f(0xda)])throw new Error(_0x23675f(0xb6));const _0x38afce=(_0x781817=_0x583e40==null?void 0x0:_0x583e40[_0x23675f(0x19b)])!=null?_0x781817:0x0;if(_0x591f10!==0x0&&_0x43172f[_0x23675f(0x204)]+_0x38afce!==_0x591f10)throw new Error(_0x23675f(0x12e));const {workbook:_0x4ee90f}=_0x43172f,_0xfc7059=_0x4ee90f[_0x23675f(0x1a4)]?Object[_0x23675f(0xc7)](_0x4ee90f['blockMeta'])[_0x23675f(0xb7)](([_0x41afbf,_0x356394])=>{const _0x1e4d00=_0x23675f;var _0x543f82,_0x14723e;return(_0x14723e=(_0x543f82=_0x356394[_0x1e4d00(0x114)])==null?void 0x0:_0x543f82[_0x1e4d00(0xb7)](_0x48886e=>_0x48886e))!=null?_0x14723e:[];})[_0x23675f(0xdd)]():[],_0x26df3b=(await Promise['all'](_0xfc7059[_0x23675f(0xb7)](_0x1d22ba=>this[_0x23675f(0x106)][_0x23675f(0x230)](_0x5b2fbc,{'unitID':_0x2414f9,'type':j['UNIVER_SHEET'],'blockID':_0x1d22ba})[_0x23675f(0xe2)](_0xa1a8ab=>_0xa1a8ab['block']))))['filter'](_0x17395c=>!!_0x17395c),_0x4f8018=_0x4f2853(_0x43172f,_0x26df3b,_0x5b2fbc);return(_0x3986e1=this[_0x23675f(0x123)][_0x23675f(0x11e)](_0x2414f9))==null||_0x3986e1[_0x23675f(0x1bf)](_0x591f10,{'workbook':_0x4f8018}),new Promise(_0x5e9576=>{const _0x47e959=_0x23675f,_0x2cda9c=this[_0x47e959(0x10c)][_0x47e959(0x1e1)](_0x22393d[_0x47e959(0x20b)]);_0x2cda9c?(this[_0x47e959(0x10c)][_0x47e959(0x1cc)](_0x2cda9c[_0x47e959(0x190)]()),setTimeout(()=>{const _0x15d7a8=_0x47e959;this[_0x15d7a8(0x121)](_0x4f8018,_0x583e40),_0x5e9576(!0x0);},0x0)):(this[_0x47e959(0x121)](_0x4f8018,_0x583e40),_0x5e9576(!0x0));});}[_0x2ef19c(0x121)](_0x3630d1,_0x16ddb7){const _0x9501aa=_0x2ef19c,_0x45a1da=this[_0x9501aa(0x10c)][_0x9501aa(0x1d7)](_0x22393d[_0x9501aa(0x20b)],_0x3630d1);this['_univerInstanceService'][_0x9501aa(0x153)](_0x45a1da['getUnitId']());const _0x25a492=this[_0x9501aa(0xba)][_0x9501aa(0x18c)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x9501aa(0x18c)][_0x9501aa(0x1e8)]()[_0x9501aa(0x101)]);return _0x16ddb7==null||_0x16ddb7[_0x9501aa(0x142)](_0x1681f0=>{const _0x3fa367=_0x9501aa,_0x4d3e6c=_0x1681f0[_0x3fa367(0x1d8)]['map'](_0x3e3c25=>({'id':_0x3e3c25['id'],'params':JSON[_0x3fa367(0x99)](_0x3e3c25[_0x3fa367(0xea)])}));({..._0x1681f0,'mutations':_0x25a492(_0x4d3e6c,null)||_0x4d3e6c}['mutations']['forEach'](_0x32a481=>{const _0x2b0205=_0x3fa367;this[_0x2b0205(0x177)][_0x2b0205(0x227)](_0x32a481['id'])&&this[_0x2b0205(0x177)][_0x2b0205(0x13f)](_0x32a481['id'],_0x32a481[_0x2b0205(0x1f5)]);}));}),_0x45a1da;}};B=ls([D(0x0,_0x3a1140),D(0x1,_0x4fd703),D(0x2,_0x1786b3),D(0x3,_0x23a9c5),D(0x4,_0x57f012(_0x44e064)),D(0x5,_0x57f012(_0x40f22a))],B);function _s(_0x46e4cf){const _0x3468b0=_0x2ef19c;var _0x47fcd1,_0x34db2d;const _0x5c8795=[],{entities:_0x32cf75,historyIds:_0x54a70b}=_0x46e4cf,{datas:_0x166aaf,users:_0x1006ac}=_0x32cf75;for(const _0x154965 of _0x54a70b)if(_0x166aaf[_0x154965]){const _0x10090e=!!((_0x47fcd1=_0x1006ac[_0x166aaf[_0x154965][_0x3468b0(0x216)]])!=null&&_0x47fcd1[_0x3468b0(0x152)]);_0x5c8795[_0x3468b0(0x1b9)]({'unitId':_0x166aaf[_0x154965]['unitId'],'user':_0x10090e?'':((_0x34db2d=_0x1006ac==null?void 0x0:_0x1006ac[_0x166aaf[_0x154965]['userId']])==null?void 0x0:_0x34db2d[_0x3468b0(0x1c3)])||'','isAnonymous':_0x10090e,'id':_0x154965,'time':_0x166aaf[_0x154965][_0x3468b0(0x1f7)]?Number(_0x166aaf[_0x154965][_0x3468b0(0x1f7)]):void 0x0,'commands':_0x166aaf[_0x154965]['command'],'startRev':Number(_0x166aaf[_0x154965][_0x3468b0(0x225)]),'endRev':Number(_0x166aaf[_0x154965][_0x3468b0(0x182)]),'recoverTime':_0x166aaf[_0x154965]['recoverTime']?Number(_0x166aaf[_0x154965][_0x3468b0(0xbf)]):void 0x0});}return _0x5c8795;}var hs=Object[_0x2ef19c(0x16e)],ds=(_0x4500ec,_0x239907,_0x2be4a9,_0x2f9c76)=>{const _0x7e4d3c=_0x2ef19c;for(var _0x2a1268=_0x2f9c76>0x1?void 0x0:_0x2f9c76?hs(_0x239907,_0x2be4a9):_0x239907,_0x5a7087=_0x4500ec[_0x7e4d3c(0x19b)]-0x1,_0x1cbf74;_0x5a7087>=0x0;_0x5a7087--)(_0x1cbf74=_0x4500ec[_0x5a7087])&&(_0x2a1268=_0x1cbf74(_0x2a1268)||_0x2a1268);return _0x2a1268;},V=(_0x18bfeb,_0x446e83)=>(_0x3d8922,_0x4090c9)=>_0x446e83(_0x3d8922,_0x4090c9,_0x18bfeb),ne=(_0x3b427e=>(_0x3b427e['Entered']=_0x2ef19c(0x20c),_0x3b427e[_0x2ef19c(0xcb)]=_0x2ef19c(0x214),_0x3b427e[_0x2ef19c(0x128)]=_0x2ef19c(0x1cd),_0x3b427e))(ne||{}),T=(_0x491c62=>(_0x491c62[_0x2ef19c(0xb3)]=_0x2ef19c(0xc4),_0x491c62[_0x2ef19c(0x1f3)]=_0x2ef19c(0xca),_0x491c62['Loaded']=_0x2ef19c(0x1d1),_0x491c62))(T||{});const vs='VIRTUAL_VERSION_NOW';let E=class extends _0x341296{constructor(_0x2bbc18,_0x29dcdd,_0x3d54ce,_0x2f967c){const _0x8c903e=_0x2ef19c;super(),l(this,_0x8c903e(0x186),new _0x3edf74([])),l(this,_0x8c903e(0x141),this[_0x8c903e(0x186)][_0x8c903e(0x161)]()),l(this,_0x8c903e(0xdf),new _0x3edf74('')),l(this,_0x8c903e(0x169),this[_0x8c903e(0xdf)][_0x8c903e(0x161)]()),l(this,_0x8c903e(0x22c),new _0x3edf74(_0x8c903e(0x20c))),l(this,_0x8c903e(0x9d),this[_0x8c903e(0x22c)][_0x8c903e(0x161)]()),l(this,_0x8c903e(0x1ce),new _0x3edf74(0x0)),l(this,'revertRevision$',this[_0x8c903e(0x1ce)][_0x8c903e(0x161)]()),l(this,_0x8c903e(0x10e),new _0x3edf74('')),l(this,_0x8c903e(0x232),this[_0x8c903e(0x10e)]['asObservable']()),l(this,'_fetching',!0x1),l(this,_0x8c903e(0x14a),new _0x3edf74(_0x8c903e(0xc4))),l(this,_0x8c903e(0xb2),this[_0x8c903e(0x14a)]['asObservable']()),l(this,'_lastLabel',null),l(this,_0x8c903e(0x20f),!0x0),l(this,_0x8c903e(0x234),new Map()),l(this,_0x8c903e(0x163)),l(this,_0x8c903e(0xf8)),l(this,_0x8c903e(0x200)),l(this,_0x8c903e(0x108),!0x1),(this[_0x8c903e(0x218)]=_0x2bbc18,this[_0x8c903e(0x129)]=_0x29dcdd,this[_0x8c903e(0xae)]=_0x3d54ce,this[_0x8c903e(0x18a)]=_0x2f967c);}async[_0x2ef19c(0x13e)](_0x3df3c2,_0x29c5ad,_0x3a516f){const _0x355f1f=_0x2ef19c;this[_0x355f1f(0x163)]=_0x29c5ad,this[_0x355f1f(0x108)]=_0x3a516f,this[_0x355f1f(0x10e)][_0x355f1f(0xde)](_0x3df3c2),this['_fetching']=!0x0;const _0x21841b=await this['_historyFetchService'][_0x355f1f(0xe4)](_0x3df3c2);if(this[_0x355f1f(0x1ca)]=!0x1,_0x21841b){const {versions:_0x57d8ac,lastLabel:_0x3bd112,hasMore:_0x3f3bac,members:_0xae5a82}=_0x21841b;_0x57d8ac[_0x355f1f(0x19b)]===0x0&&_0x57d8ac[_0x355f1f(0x1b9)]({'unitId':_0x3df3c2,'id':vs,'startRev':0x1,'endRev':0x0,'time':Date[_0x355f1f(0x122)](),'user':this[_0x355f1f(0xae)]['t'](_0x355f1f(0xbb)),'commands':[],'isAnonymous':!0x1}),this[_0x355f1f(0x24d)](_0x57d8ac,_0x3f3bac,_0x3bd112,_0xae5a82),this[_0x355f1f(0xdf)][_0x355f1f(0xde)](_0x57d8ac[0x0]['id']);}else this[_0x355f1f(0x22c)]['next'](_0x355f1f(0x1cd));}async[_0x2ef19c(0xc0)](){const _0x4df416=_0x2ef19c;if(!this['_lastLabel']||!this['_hasMore']||this[_0x4df416(0x1ca)])return!0x1;this[_0x4df416(0x1ca)]=!0x0;const _0x3ebccb=await this['_historyFetchService'][_0x4df416(0xe4)](this[_0x4df416(0x167)],this[_0x4df416(0x1e6)]);if(this[_0x4df416(0x1ca)]=!0x1,_0x3ebccb){const {versions:_0x9284f6,lastLabel:_0x142c09,hasMore:_0x565030,members:_0x57fae0}=_0x3ebccb;this['_updateVersions'](_0x9284f6,_0x565030,_0x142c09,_0x57fae0);}else this[_0x4df416(0x218)]['show']({'content':this['_localeService']['t'](_0x4df416(0x131)),'type':_0x11f01e[_0x4df416(0x128)],'duration':0xbb8});return!0x0;}async[_0x2ef19c(0x1bb)](_0x12dfb7){const _0x40c900=_0x2ef19c;var _0x3f0c82;const _0x383c6e=(_0x3f0c82=this[_0x40c900(0x186)]['value'])==null?void 0x0:_0x3f0c82[_0x40c900(0x1ad)](_0x266e6f=>_0x266e6f['id']===_0x12dfb7),{endRev:_0x4287ef}=_0x383c6e||{};_0x4287ef||_0x4287ef===0x0?(this[_0x40c900(0x14a)][_0x40c900(0xde)]('loading'),await this[_0x40c900(0x18a)]['loadSheet'](this[_0x40c900(0x167)],_0x4287ef),this['_loadingState$'][_0x40c900(0xde)](_0x40c900(0x1d1))):this['_status$']['next'](_0x40c900(0x1cd));}async[_0x2ef19c(0x22f)](_0x5b9162){const _0x2198a8=_0x2ef19c,_0xf23606=_0x5b9162?this['getVersion'](_0x5b9162):this[_0x2198a8(0xc5)]();if(!_0xf23606)return;const _0x50e9a8=_0xf23606[_0x2198a8(0x23c)],_0x47679c=re(_0xf23606[_0x2198a8(0xfa)],this['_localeService']['getCurrentLocale']());await this[_0x2198a8(0x129)][_0x2198a8(0x1e9)]({'id':'confirm-revert-revision','title':{'title':this[_0x2198a8(0xae)]['t']('editHistory.panel.revertConfirm')},'children':{'title':this['_localeService']['t'](_0x2198a8(0x233))+_0x2198a8(0x1d0)+_0x47679c[_0x2198a8(0xe1)]+'\x20'+_0x47679c[_0x2198a8(0xfa)]+')'},'cancelText':this[_0x2198a8(0xae)]['t']('editHistory.panel.cancel'),'confirmText':this[_0x2198a8(0xae)]['t'](_0x2198a8(0xed))})&&this[_0x2198a8(0x1ce)][_0x2198a8(0xde)](_0x50e9a8);}['_updateVersions'](_0x358708,_0xa75305,_0xadcb7b,_0x3c8609){const _0x17b041=_0x2ef19c;this['_versions$'][_0x17b041(0xde)](this[_0x17b041(0x186)][_0x17b041(0x1b2)][_0x17b041(0x222)](_0x358708)),this['_hasMore']=_0xa75305,this[_0x17b041(0x1e6)]=_0xadcb7b,_0x3c8609&&Object[_0x17b041(0xa5)](_0x3c8609)[_0x17b041(0x142)](_0x32688c=>this['_members'][_0x17b041(0x1bf)](_0x32688c,_0x3c8609[_0x32688c]));}[_0x2ef19c(0xc5)](){const _0x26e833=_0x2ef19c;return this[_0x26e833(0x17e)](this[_0x26e833(0xdf)][_0x26e833(0x1b2)]);}[_0x2ef19c(0x17e)](_0x153ecb){const _0x4deb4f=_0x2ef19c;var _0xe33062;return(_0xe33062=this[_0x4deb4f(0x186)][_0x4deb4f(0x1b2)])==null?void 0x0:_0xe33062['find'](_0x54357e=>_0x54357e['id']===_0x153ecb);}[_0x2ef19c(0x1c0)](_0x2d9d55){const _0x6911eb=_0x2ef19c;return this[_0x6911eb(0x234)]['get'](_0x2d9d55);}['_createMask'](){const _0x28621f=_0x2ef19c;this[_0x28621f(0x200)]=document[_0x28621f(0x16c)](_0x28621f(0x20a)),this[_0x28621f(0x200)][_0x28621f(0x203)]=_0x28621f(0x11f),this[_0x28621f(0x200)][_0x28621f(0x1e2)][_0x28621f(0x242)]=_0x28621f(0xfd),this[_0x28621f(0x200)][_0x28621f(0x1e2)]['top']='0',this['_maskElement']['style']['left']='0',this[_0x28621f(0x200)][_0x28621f(0x1e2)][_0x28621f(0x112)]=_0x28621f(0x173),this[_0x28621f(0x200)][_0x28621f(0x1e2)][_0x28621f(0xee)]=_0x28621f(0x173),this['_maskElement'][_0x28621f(0x1e2)][_0x28621f(0x209)]=_0x28621f(0x171),this[_0x28621f(0x200)][_0x28621f(0x1e2)][_0x28621f(0x116)]=_0x28621f(0x13d),this['_maskElement'][_0x28621f(0x1e2)]['display']=_0x28621f(0x19c),this[_0x28621f(0x200)][_0x28621f(0x1e2)]['justifyContent']=_0x28621f(0xeb),this[_0x28621f(0x200)][_0x28621f(0x1e2)][_0x28621f(0xf7)]=_0x28621f(0xec),this[_0x28621f(0x200)][_0x28621f(0x1e2)][_0x28621f(0xbc)]=_0x28621f(0xd3),this[_0x28621f(0xf8)][_0x28621f(0x1b7)](this[_0x28621f(0x200)]);}[_0x2ef19c(0x1ee)](){const _0x380930=_0x2ef19c;var _0x123e4e;const _0x240736=(_0x123e4e=document[_0x380930(0xf3)](this[_0x380930(0x163)]))==null?void 0x0:_0x123e4e[_0x380930(0x104)]('.univer-app-container-content');_0x240736&&(this['_maskContainer']=_0x240736,this[_0x380930(0x17f)]());}[_0x2ef19c(0xd8)](){const _0x82486e=_0x2ef19c;this[_0x82486e(0xf8)]||this[_0x82486e(0x1ee)](),this['_maskElement']&&(this['_maskElement'][_0x82486e(0x1e2)][_0x82486e(0xbc)]=_0x82486e(0x19c));}[_0x2ef19c(0x127)](){const _0x887c5d=_0x2ef19c;this[_0x887c5d(0x200)]&&(this[_0x887c5d(0x200)][_0x887c5d(0x1e2)][_0x887c5d(0xbc)]=_0x887c5d(0xd3));}set['status'](_0x3b6cab){const _0x3ec121=_0x2ef19c;this[_0x3ec121(0x22c)]['next'](_0x3b6cab);}set[_0x2ef19c(0xa8)](_0x3cdd61){const _0x2144ad=_0x2ef19c;_0x3cdd61!==this[_0x2144ad(0xdf)][_0x2144ad(0x1b2)]&&this[_0x2144ad(0xdf)][_0x2144ad(0xde)](_0x3cdd61);}get['currentVersion'](){const _0x201d31=_0x2ef19c;return this[_0x201d31(0xdf)]['value'];}set[_0x2ef19c(0x167)](_0x36163a){const _0x1ce969=_0x2ef19c;this[_0x1ce969(0x10e)][_0x1ce969(0xde)](_0x36163a);}get[_0x2ef19c(0x167)](){const _0x891785=_0x2ef19c;return this[_0x891785(0x10e)]['value'];}get[_0x2ef19c(0xc8)](){const _0x34e2ee=_0x2ef19c;return this[_0x34e2ee(0x108)];}get[_0x2ef19c(0x192)](){const _0x1a0fb0=_0x2ef19c;return this[_0x1a0fb0(0x14a)][_0x1a0fb0(0x1b2)];}};function _0x59d6(){const _0x1b2340=['createElement','editSheet','getOwnPropertyDescriptor','entities','ZH_CN','rgba(225,\x20225,\x20225,\x200.5)','editHistory.action.revertSheetPrefix','100%','1439029tIWLqD','BackIcon','editHistory.info.loading','_commandService','toISOString','UNIVER_DOC','span','use','Info','svg','getVersion','_createMask','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','addSparkline','endRevision','USER_NOT_INVITED_CODE','mask','SetCellValue','_versions$','endRow','isArray','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','_historyFetchService','_diffs','interceptor','path','univer-m-auto\x20univer-animate-spin','View','getUnitId','APPLY_REJECT','loadingState','propertyIsEnumerable','memberId','_getSheetObject','skeleton','add','TOO_MANY_REQUESTS','editHistory.panel.title','pluginName','length','flex','disposeWithMe','from','ALREADY_EXISTS','close','state$','SetRowStyle','LICENSE_MAX_UNITS_EXCEEDED','blockMeta','_renderManagerService','onStarting','YUUMI_RATE_OVER_LIMIT','_getRangesByMutation','FromArray','DeleteWorksheet','call','ENSURE_SNAPSHOT_EXECUTION','find','defIds','UNIVER_UNKNOWN','getUnitOnRev','startColumn','value','editHistory.action.','CHANGESET_REVISION_CONFILICT','revertSheet','4571778zDFFIP','append','http://www.w3.org/2000/svg','push','getVpScrollXYInfoByPosToVp','triggerLoadSheet','YUUMI_SUBSCRIPTION_NOT_FOUND','sheet','children','set','getMember','displayName','forValue','name','user','univer-w-full\x20univer-h-[30px]\x20univer-flex\x20univer-items-center\x20univer-justify-center','ranges','EMAIL_HAS_BEEN_BOUND','InsertRow','Print','_fetching','univer-w-6\x20univer-h-6\x20univer-text-gray-400\x20univer-flex\x20univer-items-center\x20univer-justify-center','disposeUnit','error','_revertRevision$','LICENSE_DISTRO_REJECTED',':\x20(','loaded','univer-text-2xl','dispose','url(#$1','Delete','YUUMI_NO_CUBOID_FOR_QUESTION','createUnit','mutations','Duplicate','values','pipe','/list?length=20','colorChannel1','transformMutations','_configService','string','getCurrentUnitForType','style','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','endColumn','getMinutes','_lastLabel','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','getInterceptPoints','confirm','show','icon','subType','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','_initMaskContainer','univer-mx-[-20px]\x20univer-overflow-hidden','filter','_uiPartsService','YUUMI_ASYNCIO_CANCELLED','Loading','currentColor','params','_versionDiffService','createTime','defineProperty','UniverIcon','addProtection','substring','current','HEADER','range','primary','_maskElement','EditWorksheetCell','getHours','className','rev','xlink:href','trim','indexOf','_init','backgroundColor','div','UNIVER_SHEET','entered','38144oJzUZr','getCurrent','_hasMore','RestoreIcon','code','assign','bottom','exited','COMPLETION_FINISHED','userId','startRow','_messageService','prototype','merge','Comment','_injector','RecoverHistory','INTERNAL_ERROR','history-panel','_sidebarService','row','concat','LICENSE_EXPORT_SIZE_EXCEEDED','makeDirty','startRevision','RenameSheet','hasCommand','PY_RUNTIME_SCRIPT_ERROR','apply','HideSheet','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_status$','CreateWorksheet','RwHgtClWdt','triggerRevert','getDeserializedSheetBlock','setValue','unitId$','editHistory.panel.revertConfirmText','_members','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getOwnPropertySymbols','RenameWorksheet','getCellPositionByOffset','active','users','m1Prime','endRev','getDataRange','fill','_componentManager','split','SelectUnProtectedCells','position','_getAPIPrefix','stopPropagation','toString','EditExtraObject','univer-pl-[26px]\x20univer-text-gray-600\x20univer-text-sm\x20univer-leading-5\x20dark:!univer-text-gray-200','5lRNlMv','changesets','INVALID_INVITE_CODE','addObjects','Sort','_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','_transformMutationByOrder','rule','registerComponent','setFrozen','has','setCF','univer-flex\x20univer-items-center\x20univer-justify-center','evenodd','APPLY_DUPLICATED','rect','removeSheet','editHistory.panel.revertDesc','APPLY_NON_SEQUENTIAL_REVISION','parse','editHistory.action.etc','UNAUTHENTICATED','setState','status$','setDV','InsertColumn','INVALID_ARGUMENT','attrs','_context','4142960GvUtaL','rules','keys','tag','getRelativeToViewportCoord','currentVersion','rgba(58,\x2096,\x20247,\x200.20)','univer-flex-1\x20univer-flex\x20univer-items-center\x20univer-justify-center','_historyManagerService','hasOwnProperty','YUUMI_UNABLE_LOAD_URL','_localeService','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','currentVersionDiff$','SNAPSHOT_INVALID_SNAPSHOT','loadingState$','Init','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)]','INVITE_CODE_HAS_BEEN_UES','[HistoryFetchService]:\x20request\x20snapshot\x20error!','map','edit-history-viewer.config','CopySheet','_compressMutationService','editHistory.panel.currentUser','display','UNIVER_SLIDE','cellValue','recoverTime','loadMoreVersions','/universer-api/history','_initRender','_cellEditorManagerService','init','getCurrentVersion','Today','entries','canRevert','1em','loading','Exited','APPLY_REVISION_CONFILICT','dateString','2JkShfG','loadSheet','register','ViewFilter','restore-icon_clip0_1247_2','none','univer-text-gray-500','univer-h-full\x20univer-overflow-auto\x20univer-border-t\x20univer-border-gray-200','YUUMI_AI_RUN_FAILED','1361661DgucMZ','showMask','1521egDUvO','workbook','_permissionService','univerjs-icon\x20univerjs-icon-','flat','next','_currentVersion$','Edit','date','then','createSheet','getVersions','status','_lastPointer','updatePermissionPoint','univer-animate-spin','LICENSE_IMPORT_SIZE_EXCEEDED','data','center','1000','editHistory.panel.confirm','height','ensureVersion','Export','currentSkeleton$','idSuffix','getElementById','subscribe','Copy','hidden','zIndex','_maskContainer','4826212vRXQwc','time','registerRenderModule','reduce','absolute','univer-h-[50px]\x20univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-[#e5e5e5]\x20univer-cursor-default','FloatImg','ViewHistory','COMPRESS_MUTATION_APPLY','insertSheet','SNAPSHOT_HAS_BEEN_REMOVED','querySelector','SetCellStyle','_snapshotServerService','YUUMI_URL_COL_OUT_OF_RANGE','_canRevert','PivotTable','onPointerMove$','_httpService','_univerInstanceService','_currentVersionDiff$','_unitId$','UNRECOGNIZED','MoveSheet','DeleteColumn','width','closeAll','blocks','UNIVER_PROJECT','color','editHistory.panel.unknownUser','UNDEFINED','Share','ViemRwHgtClWdt','CreatePermissionObject','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','SetColumnStyle','get','history-mask','PERMISSION_DENIED','_createUnit','now','_workbookDataCache','_initActiveSwitch','0\x200\x2016\x2016','open','hideMask','Error','_confirmService','_sheetSkeletonManagerService','7113757hTngEB','CONNECTOR_DATA_TOO_LARGE','back-icon','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','getAncestorScale','deleteProtection','editHistory.panel.listFetchError','_combineRanges','subscribeEvent','column','_dialogOptions$','InsertHyperlink','replace','includes','function','versions','fetchMissingChangesets','top','white','triggerLoadVersions','syncExecuteCommand','_updateDiffMarks','versions$','forEach','commands','userID','DeleteRow','Loaded','univer-h-[60px]\x20univer-flex\x20univer-flex-col\x20univer-justify-center\x20univer-px-4\x20univer-py-1.5\x20univer-cursor-default','restore-icon','_removeDiffMarks','_loadingState$','INVITE_CODE_REQUIRED','_config','subUnitId','getViewport','setConfig','loading-multi-icon','INVITE_CODE_ALREADY_BOUND','anonymous','focusUnit','Filter','_getActiveSubUnitId','executeCommand','editHistory.action.revertSheetSuffix','MOBILE_HAS_BEEN_BOUND','History','_openPanel','NOT_FOUND','getCurrentLocale','_extractRanges','defs','getConfig','action','asObservable','permissionPointUpdate$','_historyContainerId','LOGIN_FAILED','#0B9EFB','SelectProtectedCells','unitId','_diffRangesMap','currentVersion$','_sidebarDisposable','ManageCollaborator'];_0x59d6=function(){return _0x1b2340;};return _0x59d6();}E=ds([V(0x0,_0x39617b),V(0x1,_0x57d610),V(0x2,_0x57f012(_0x184bde)),V(0x3,_0x57f012(B))],E);var S=function(){const _0x368f87=_0x2ef19c;return S=Object[_0x368f87(0x212)]||function(_0x24f638){const _0x3742e4=_0x368f87;for(var _0x9b4f6a,_0x5734e4=0x1,_0x3f58df=arguments['length'];_0x5734e4<_0x3f58df;_0x5734e4++){_0x9b4f6a=arguments[_0x5734e4];for(var _0x4ec0ce in _0x9b4f6a)Object[_0x3742e4(0x219)][_0x3742e4(0xac)][_0x3742e4(0x1ab)](_0x9b4f6a,_0x4ec0ce)&&(_0x24f638[_0x4ec0ce]=_0x9b4f6a[_0x4ec0ce]);}return _0x24f638;},S[_0x368f87(0x229)](this,arguments);},fs=function(_0x94b075,_0x520757){const _0x765cd4=_0x2ef19c;var _0x5d46b1={};for(var _0x175aab in _0x94b075)Object[_0x765cd4(0x219)][_0x765cd4(0xac)][_0x765cd4(0x1ab)](_0x94b075,_0x175aab)&&_0x520757[_0x765cd4(0x207)](_0x175aab)<0x0&&(_0x5d46b1[_0x175aab]=_0x94b075[_0x175aab]);if(_0x94b075!=null&&typeof Object[_0x765cd4(0x236)]==_0x765cd4(0x139)){for(var _0x3b6620=0x0,_0x175aab=Object[_0x765cd4(0x236)](_0x94b075);_0x3b6620<_0x175aab[_0x765cd4(0x19b)];_0x3b6620++)_0x520757[_0x765cd4(0x207)](_0x175aab[_0x3b6620])<0x0&&Object[_0x765cd4(0x219)][_0x765cd4(0x193)][_0x765cd4(0x1ab)](_0x94b075,_0x175aab[_0x3b6620])&&(_0x5d46b1[_0x175aab[_0x3b6620]]=_0x94b075[_0x175aab[_0x3b6620]]);}return _0x5d46b1;},G=_0x1c447d(function(_0x18e1bc,_0x2352ed){const _0x41a5c5=_0x2ef19c;var _0x252208=_0x18e1bc[_0x41a5c5(0x1eb)],_0x99b9a1=_0x18e1bc['id'],_0x16564e=_0x18e1bc[_0x41a5c5(0x203)],_0x407728=_0x18e1bc['extend'],_0x329ec8=fs(_0x18e1bc,['icon','id',_0x41a5c5(0x203),'extend']),_0x39e6dc=_0x41a5c5(0xdc)[_0x41a5c5(0x222)](_0x99b9a1,'\x20')[_0x41a5c5(0x222)](_0x16564e||'')[_0x41a5c5(0x206)](),_0x34e95a=_0x1c92e4('_'['concat'](Is()));return Ce(_0x252208,''[_0x41a5c5(0x222)](_0x99b9a1),{'defIds':_0x252208[_0x41a5c5(0x1ae)],'idSuffix':_0x34e95a[_0x41a5c5(0x1fc)]},S({'ref':_0x2352ed,'className':_0x39e6dc},_0x329ec8),_0x407728);});function Ce(_0x14d6c3,_0x5683a7,_0x3e367e,_0x1ed437,_0x558425){const _0x4ac636=_0x2ef19c;return _0x33a2c5(_0x14d6c3[_0x4ac636(0xa6)],S(S({'key':_0x5683a7},ms(_0x14d6c3,_0x3e367e,_0x558425)),_0x1ed437),(gs(_0x14d6c3,_0x3e367e)[_0x4ac636(0x1be)]||[])['map'](function(_0x59f1bb,_0x10aed7){const _0x283bb0=_0x4ac636;return Ce(_0x59f1bb,''[_0x283bb0(0x222)](_0x5683a7,'-')['concat'](_0x14d6c3[_0x283bb0(0xa6)],'-')[_0x283bb0(0x222)](_0x10aed7),_0x3e367e,void 0x0,_0x558425);}));}function ms(_0x3d791b,_0x3f155f,_0x342a7e){const _0x1a170d=_0x2ef19c;var _0x506051=S({},_0x3d791b[_0x1a170d(0xa1)]);_0x342a7e!=null&&_0x342a7e[_0x1a170d(0x1dd)]&&_0x506051[_0x1a170d(0x23e)]==='colorChannel1'&&(_0x506051[_0x1a170d(0x23e)]=_0x342a7e[_0x1a170d(0x1dd)]),_0x3d791b[_0x1a170d(0xa6)]===_0x1a170d(0x184)&&_0x506051['id']&&(_0x506051['id']=_0x506051['id']+_0x3f155f[_0x1a170d(0xf2)]),Object[_0x1a170d(0xc7)](_0x506051)[_0x1a170d(0x142)](function(_0x108b6b){const _0x323880=_0x1a170d;var _0x5dc94c=_0x108b6b[0x0],_0x22f85e=_0x108b6b[0x1];_0x5dc94c===_0x323880(0x184)&&typeof _0x22f85e==_0x323880(0x1e0)&&(_0x506051[_0x5dc94c]=_0x22f85e['replace'](/url\(#(.*)\)/,_0x323880(0x1d4)[_0x323880(0x222)](_0x3f155f[_0x323880(0xf2)],')')));});var _0x5968f9=_0x3f155f[_0x1a170d(0x1ae)];return!_0x5968f9||_0x5968f9[_0x1a170d(0x19b)]===0x0||(_0x3d791b[_0x1a170d(0xa6)]===_0x1a170d(0x17b)&&_0x506051[_0x1a170d(0x205)]&&(_0x506051['xlink:href']=_0x506051[_0x1a170d(0x205)]+_0x3f155f['idSuffix']),Object['entries'](_0x506051)['forEach'](function(_0x495ad4){const _0x309a9a=_0x1a170d;var _0x1f1025=_0x495ad4[0x0],_0x1d78fc=_0x495ad4[0x1];typeof _0x1d78fc==_0x309a9a(0x1e0)&&(_0x506051[_0x1f1025]=_0x1d78fc[_0x309a9a(0x137)](/url\(#(.*)\)/,_0x309a9a(0x1d4)[_0x309a9a(0x222)](_0x3f155f[_0x309a9a(0xf2)],')')));})),_0x506051;}function gs(_0x28d8e9,_0x260930){const _0x344d45=_0x2ef19c;var _0x2ca125,_0x251a5e=_0x260930[_0x344d45(0x1ae)];return!_0x251a5e||_0x251a5e[_0x344d45(0x19b)]===0x0?_0x28d8e9:_0x28d8e9[_0x344d45(0xa6)]===_0x344d45(0x15e)&&(!((_0x2ca125=_0x28d8e9['children'])===null||_0x2ca125===void 0x0)&&_0x2ca125[_0x344d45(0x19b)])?S(S({},_0x28d8e9),{'children':_0x28d8e9[_0x344d45(0x1be)][_0x344d45(0xb7)](function(_0x44f5dd){const _0x3bac0e=_0x344d45;return typeof _0x44f5dd[_0x3bac0e(0xa1)]['id']==_0x3bac0e(0x1e0)&&_0x251a5e&&_0x251a5e[_0x3bac0e(0x138)](_0x44f5dd['attrs']['id'])?S(S({},_0x44f5dd),{'attrs':S(S({},_0x44f5dd['attrs']),{'id':_0x44f5dd[_0x3bac0e(0xa1)]['id']+_0x260930[_0x3bac0e(0xf2)]})}):_0x44f5dd;})}):_0x28d8e9;}function Is(){const _0x4376c2=_0x2ef19c;return Math['random']()[_0x4376c2(0x245)](0x24)[_0x4376c2(0x1fb)](0x2,0x8);}G['displayName']=_0x2ef19c(0x1f9);var Ss={'tag':_0x2ef19c(0x17d),'attrs':{'xmlns':_0x2ef19c(0x1b8),'fill':_0x2ef19c(0xd3),'viewBox':_0x2ef19c(0x125),'width':_0x2ef19c(0xc9),'height':'1em'},'children':[{'tag':_0x2ef19c(0x18d),'attrs':{'fill':_0x2ef19c(0x1f4),'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=_0x1c447d(function(_0x51ec6e,_0x4668ac){const _0x5e33fb=_0x2ef19c;return _0x33a2c5(G,Object[_0x5e33fb(0x212)]({},_0x51ec6e,{'id':_0x5e33fb(0x12d),'ref':_0x4668ac,'icon':Ss}));});Pe['displayName']=_0x2ef19c(0x175);var ps={'tag':_0x2ef19c(0x17d),'attrs':{'xmlns':_0x2ef19c(0x1b8),'fill':'none','viewBox':_0x2ef19c(0x125),'width':_0x2ef19c(0xc9),'height':_0x2ef19c(0xc9)},'children':[{'tag':_0x2ef19c(0x18d),'attrs':{'fill':_0x2ef19c(0x165),'d':_0x2ef19c(0xaf),'fillOpacity':0.2,'fillRule':_0x2ef19c(0x93),'clipRule':_0x2ef19c(0x93)}},{'tag':_0x2ef19c(0x18d),'attrs':{'fill':_0x2ef19c(0x165),'d':_0x2ef19c(0x1e3),'fillRule':_0x2ef19c(0x93),'clipRule':_0x2ef19c(0x93)}}]},ae=_0x1c447d(function(_0x148ee3,_0x478ab4){const _0x5db4ac=_0x2ef19c;return _0x33a2c5(G,Object[_0x5db4ac(0x212)]({},_0x148ee3,{'id':_0x5db4ac(0x150),'ref':_0x478ab4,'icon':ps}));});ae[_0x2ef19c(0x1c1)]='LoadingMultiIcon';var Es={'tag':_0x2ef19c(0x17d),'attrs':{'xmlns':_0x2ef19c(0x1b8),'fill':'none','viewBox':'0\x200\x2016\x2017','width':_0x2ef19c(0xc9),'height':_0x2ef19c(0xc9)},'children':[{'tag':'g','attrs':{'fill':_0x2ef19c(0x1f4),'clipPath':'url(#restore-icon_clip0_1247_2)'},'children':[{'tag':_0x2ef19c(0x18d),'attrs':{'d':_0x2ef19c(0x11c)}},{'tag':_0x2ef19c(0x18d),'attrs':{'d':_0x2ef19c(0x1e7),'fillRule':_0x2ef19c(0x93),'clipRule':_0x2ef19c(0x93)}}]},{'tag':_0x2ef19c(0x15e),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x2ef19c(0xd2)},'children':[{'tag':_0x2ef19c(0x95),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':'white','rx':0x4}}]}]}],'defIds':[_0x2ef19c(0xd2)]},Te=_0x1c447d(function(_0x37d916,_0x28e1d9){const _0xd5ff9f=_0x2ef19c;return _0x33a2c5(G,Object[_0xd5ff9f(0x212)]({},_0x37d916,{'id':_0xd5ff9f(0x148),'ref':_0x28e1d9,'icon':Es}));});Te['displayName']=_0x2ef19c(0x210);function Rs(){const _0x2a21c2=_0x2ef19c;var _0x2fb74a;const _0x30106d=_0x5e3842(E),_0x330b8c=_0x5e3842(_0x184bde),_0x47449c=_0x4120a7(()=>{const _0x320c22=_0x425a;_0x30106d[_0x320c22(0xe5)]=ne[_0x320c22(0xcb)];},[_0x30106d]),_0x15bace=_0x4120a7(()=>{const _0x26f990=_0x425a;_0x30106d[_0x26f990(0x22f)]();},[_0x30106d]),_0x4afc23=_0x11104e(_0x30106d[_0x2a21c2(0x169)]),_0x5487ca=_0x11104e(_0x30106d['versions$']),_0xcf8f13=_0x4afc23===((_0x2fb74a=_0x5487ca==null?void 0x0:_0x5487ca[0x0])==null?void 0x0:_0x2fb74a['id']),_0x3b4147=_0x4afc23!==''&&!_0xcf8f13&&_0x30106d[_0x2a21c2(0xc8)];return _0x23fe86(_0x2a21c2(0x20a),{'className':_0x2a21c2(0xfe),'children':[_0x51f5cd(_0x2a21c2(0x20a),{'onClick':_0x47449c,'className':_0x2a21c2(0xb4),'children':_0x51f5cd(Pe,{'className':_0x2a21c2(0x1d2)})}),_0x51f5cd(_0x2a21c2(0x20a),{'className':_0x2a21c2(0xaa),'children':_0x3b4147&&_0x51f5cd(_0x789496,{'variant':_0x2a21c2(0x1ff),'onClick':_0x15bace,'children':_0x330b8c['t']('editHistory.header.revert')})})]});}var Ns=Object[_0x2ef19c(0x16e)],Ms=(_0x27b1ac,_0x268776,_0x2e73b3,_0x3cb7ac)=>{const _0x4ba8a3=_0x2ef19c;for(var _0x411ed5=_0x3cb7ac>0x1?void 0x0:_0x3cb7ac?Ns(_0x268776,_0x2e73b3):_0x268776,_0x2b658b=_0x27b1ac[_0x4ba8a3(0x19b)]-0x1,_0x7737be;_0x2b658b>=0x0;_0x2b658b--)(_0x7737be=_0x27b1ac[_0x2b658b])&&(_0x411ed5=_0x7737be(_0x411ed5)||_0x411ed5);return _0x411ed5;},y=(_0x529d20,_0x5e8366)=>(_0x3cb768,_0x18d1b4)=>_0x5e8366(_0x3cb768,_0x18d1b4,_0x529d20);let Y=class extends _0x341296{constructor(_0x57ab1c,_0x57a809,_0x250a91,_0x4834f4,_0x2f4473,_0x3857a7){const _0x3b1efb=_0x2ef19c;super(),this[_0x3b1efb(0xdb)]=_0x57ab1c,this[_0x3b1efb(0x1f1)]=_0x57a809,this['_messageService']=_0x250a91,this[_0x3b1efb(0xae)]=_0x4834f4,this['_historyManagerService']=_0x2f4473,this['_injector']=_0x3857a7,this[_0x3b1efb(0x208)]();}[_0x2ef19c(0x208)](){const _0x38b9ab=_0x2ef19c;this[_0x38b9ab(0x19d)](this['_historyManagerService'][_0x38b9ab(0x169)][_0x38b9ab(0xf4)](_0x560159=>{const _0x18d78c=_0x38b9ab;_0x560159&&this[_0x18d78c(0xab)]['triggerLoadSheet'](_0x560159);})),this[_0x38b9ab(0x19d)](this[_0x38b9ab(0xdb)][_0x38b9ab(0x162)][_0x38b9ab(0xf4)](_0x45f157=>{const _0x52791c=_0x38b9ab,_0x13d2db=this[_0x52791c(0xab)][_0x52791c(0x167)];_0x13d2db&&(_0x45f157[_0x52791c(0x1ec)]===O[_0x52791c(0xe0)]&&_0x45f157['value']===!0x0&&this[_0x52791c(0xdb)][_0x52791c(0xe7)](new _0x57e234(_0x13d2db)['id'],!0x1),_0x45f157[_0x52791c(0x1ec)]===O['RenameSheet']&&_0x45f157['value']===!0x0&&this[_0x52791c(0xdb)][_0x52791c(0xe7)](new _0x416899(_0x13d2db)['id'],!0x1),_0x45f157[_0x52791c(0x1ec)]===O[_0x52791c(0x110)]&&_0x45f157['value']===!0x0&&this[_0x52791c(0xdb)]['updatePermissionPoint'](new _0x267a3d(_0x13d2db)['id'],!0x1),_0x45f157['subType']===O[_0x52791c(0x22a)]&&_0x45f157[_0x52791c(0x1b2)]===!0x0&&this['_permissionService'][_0x52791c(0xe7)](new _0x12ecb5(_0x13d2db)['id'],!0x1),_0x45f157[_0x52791c(0x1ec)]===O['Comment']&&_0x45f157['value']===!0x0&&this[_0x52791c(0xdb)][_0x52791c(0xe7)](new _0x57e234(_0x13d2db)['id'],!0x1),_0x45f157['subType']===O[_0x52791c(0xff)]&&_0x45f157[_0x52791c(0x1b2)]===!0x0&&this[_0x52791c(0xdb)][_0x52791c(0xe7)](new _0x57e234(_0x13d2db)['id'],!0x1));})),this[_0x38b9ab(0x19d)](this['_uiPartsService'][_0x38b9ab(0x251)](_0x36e8ed[_0x38b9ab(0x1fd)],()=>_0x21ea47(Rs,this[_0x38b9ab(0x21c)]))),this[_0x38b9ab(0x19d)](this[_0x38b9ab(0xab)][_0x38b9ab(0xb2)][_0x38b9ab(0xf4)](_0x2a7ef0=>{const _0x2e4597=_0x38b9ab;_0x2a7ef0===T[_0x2e4597(0x1f3)]&&(this['_historyManagerService'][_0x2e4597(0xd8)](),this[_0x2e4597(0x218)][_0x2e4597(0x1ea)]({'type':_0x11f01e[_0x2e4597(0x17c)],'content':this[_0x2e4597(0xae)]['t'](_0x2e4597(0x176))})),_0x2a7ef0===T[_0x2e4597(0x146)]&&this['_historyManagerService'][_0x2e4597(0x127)]();}));}};Y=Ms([y(0x0,_0x3f1ad0),y(0x1,_0x568902),y(0x2,_0x39617b),y(0x3,_0x57f012(_0x184bde)),y(0x4,_0x57f012(E)),y(0x5,_0x57f012(_0x198881))],Y);var bs=Object[_0x2ef19c(0x16e)],Os=(_0x3faef9,_0x27ae67,_0x22153d,_0x5b2ae4)=>{const _0x2ff73d=_0x2ef19c;for(var _0x48993e=_0x5b2ae4>0x1?void 0x0:_0x5b2ae4?bs(_0x27ae67,_0x22153d):_0x27ae67,_0x351134=_0x3faef9[_0x2ff73d(0x19b)]-0x1,_0x3ceeb7;_0x351134>=0x0;_0x351134--)(_0x3ceeb7=_0x3faef9[_0x351134])&&(_0x48993e=_0x3ceeb7(_0x48993e)||_0x48993e);return _0x48993e;},Q=(_0x1313a5,_0x192052)=>(_0x4401be,_0x358ce4)=>_0x192052(_0x4401be,_0x358ce4,_0x1313a5);let L=class extends _0x341296{constructor(_0x302525,_0x333cc1,_0x4cf723){const _0x5575af=_0x2ef19c;super(),l(this,_0x5575af(0x168),new Map()),l(this,_0x5575af(0x10d),new _0x3edf74({'ranges':new Map(),'active':null})),l(this,_0x5575af(0xb0),this[_0x5575af(0x10d)]['asObservable']()),(this[_0x5575af(0xab)]=_0x302525,this['_transformService']=_0x333cc1,this[_0x5575af(0x106)]=_0x4cf723,this[_0x5575af(0x208)]());}[_0x2ef19c(0x208)](){const _0x37856f=_0x2ef19c;this['_diffRangesMap']=new Map(),this[_0x37856f(0x19d)](this['_historyManagerService'][_0x37856f(0x232)][_0x37856f(0xf4)](_0x4c0029=>{const _0x18491b=_0x37856f;_0x4c0029&&!this[_0x18491b(0x168)]['has'](_0x4c0029)&&this[_0x18491b(0x168)][_0x18491b(0x1bf)](_0x4c0029,new Map());})),this[_0x37856f(0x19d)](this[_0x37856f(0xab)][_0x37856f(0x169)][_0x37856f(0xf4)](async _0x360d0d=>{const _0xfa1f0b=_0x37856f;var _0x10f4d9;_0x360d0d&&(await this[_0xfa1f0b(0xef)](_0x360d0d),this[_0xfa1f0b(0x10d)][_0xfa1f0b(0xde)](((_0x10f4d9=this['_diffRangesMap'][_0xfa1f0b(0x11e)](this[_0xfa1f0b(0xab)][_0xfa1f0b(0x167)]))==null?void 0x0:_0x10f4d9[_0xfa1f0b(0x11e)](_0x360d0d))||{'ranges':new Map(),'active':null}));}));}async[_0x2ef19c(0xef)](_0x14d430){const _0x35257a=_0x2ef19c;var _0x404f55,_0x471af3;const _0x25ce35=this[_0x35257a(0xab)][_0x35257a(0x17e)](_0x14d430),_0xe4d4ee=this[_0x35257a(0xab)][_0x35257a(0x167)];if(!_0x25ce35||!_0xe4d4ee)return;const _0x73c769=this['_diffRangesMap'][_0x35257a(0x11e)](_0xe4d4ee);if(_0x73c769||this[_0x35257a(0x168)][_0x35257a(0x1bf)](_0xe4d4ee,new Map()),(_0x404f55=this[_0x35257a(0x168)]['get'](_0xe4d4ee))!=null&&_0x404f55[_0x35257a(0x253)](_0x25ce35['id']))return;const {startRev:_0x50d2b9,endRev:_0x2d25e3}=_0x25ce35;if(_0x50d2b9===0x1){_0x73c769[_0x35257a(0x1bf)](_0x25ce35['id'],{'ranges':new Map(),'active':null});return;}const _0xac105c=_0x50d2b9-0x1,_0x101266=_0x2d25e3,_0x17efab=await this['_snapshotServerService'][_0x35257a(0x13b)]({},{'unitID':_0xe4d4ee,'from':_0xac105c,'to':_0x101266,'type':j[_0x35257a(0x20b)]});if(((_0x471af3=_0x17efab[_0x35257a(0x1cd)])==null?void 0x0:_0x471af3[_0x35257a(0x211)])===X['OK']){const _0x4f369f=_0x17efab[_0x35257a(0x249)]['map'](_0x21135b)['map'](_0x25dc35=>_0x25dc35[_0x35257a(0x1d8)][_0x35257a(0xb7)](_0x3da8e5=>({..._0x3da8e5,'params':{..._0x3da8e5['params'],'memberId':_0x25dc35[_0x35257a(0x144)]}})))[_0x35257a(0xdd)](),_0x1e9ec3=this[_0x35257a(0x24f)](_0x4f369f),_0x2bc91e=this[_0x35257a(0x155)](_0x4f369f),_0x257cdd=this['_extractRanges'](_0x1e9ec3);_0x73c769[_0x35257a(0x1bf)](_0x25ce35['id'],{'ranges':_0x257cdd,'active':_0x2bc91e});}}['_transformMutationByOrder'](_0xf7d872){const _0x3fa59d=_0x2ef19c;let _0xc7bc46=[];for(let _0x2865b6=0x0;_0x2865b6<_0xf7d872[_0x3fa59d(0x19b)];_0x2865b6++){const _0x5d4453=_0xf7d872[_0x2865b6];if(_0xc7bc46[_0x3fa59d(0x1b9)](_0x5d4453),_0x2865b6!==_0xf7d872['length']-0x1){const _0x42f313=_0xf7d872[_0x2865b6+0x1],_0x43b000=this['_transformService'][_0x3fa59d(0x1de)](_0xc7bc46,[_0x42f313]);_0x56ed69(_0x43b000)?_0xc7bc46=_0x43b000[_0x3fa59d(0x23b)]:_0xc7bc46=[];}}return _0xc7bc46;}[_0x2ef19c(0x155)](_0x2c023c){const _0x3bdaae=_0x2ef19c;let _0x33497d=[];return _0x2c023c[_0x3bdaae(0x142)](_0x4b8698=>{const _0x14f46d=_0x3bdaae;if(_0x4b8698['id']===_0x5d357d['id']){const _0x34f54d=_0x4b8698['params'];_0x33497d[_0x14f46d(0x1b9)](_0x34f54d[_0x14f46d(0x1bd)]['id']);}else{if(_0x4b8698['id']===_0x2b8331['id']){const _0x4c8cd4=_0x4b8698['params'];_0x33497d['length']>0x0&&(_0x33497d=_0x33497d[_0x14f46d(0x1f0)](_0x433379=>_0x433379!==_0x4c8cd4[_0x14f46d(0x14d)]));}else{if(_0x4b8698['id']===_0x124318['id']){const _0x163522=_0x4b8698['params'];_0x163522[_0x14f46d(0xf6)]?_0x33497d=_0x33497d[_0x14f46d(0x1f0)](_0x1911d7=>_0x1911d7!==_0x163522[_0x14f46d(0x14d)]):_0x33497d['push'](_0x163522['subUnitId']);}else{const _0x49a028=_0x4b8698[_0x14f46d(0x1f5)];_0x49a028['subUnitId']&&_0x33497d['push'](_0x49a028[_0x14f46d(0x14d)]);}}}}),_0x33497d[_0x3bdaae(0x19b)]>0x0?_0x33497d[_0x33497d[_0x3bdaae(0x19b)]-0x1]:null;}[_0x2ef19c(0x15d)](_0x159453){const _0x4e1c6f=_0x2ef19c,_0x57a8fd=new Map();return _0x159453[_0x4e1c6f(0x142)](_0x4e5cb0=>{const _0x1f9966=_0x4e1c6f;var _0x394a0b,_0x5b37ab;const _0x287af8=(_0x394a0b=_0x4e5cb0[_0x1f9966(0x1f5)])==null?void 0x0:_0x394a0b[_0x1f9966(0x194)];if(_0x287af8){_0x57a8fd[_0x1f9966(0x253)](_0x287af8)||_0x57a8fd[_0x1f9966(0x1bf)](_0x287af8,[]);const _0x165672=this[_0x1f9966(0x1a8)](_0x4e5cb0);(_0x5b37ab=_0x57a8fd[_0x1f9966(0x11e)](_0x287af8))==null||_0x5b37ab['push'](..._0x165672);}}),_0x57a8fd['forEach']((_0x1bf767,_0x19206f)=>{const _0x1e1409=_0x4e1c6f;_0x57a8fd[_0x1e1409(0x1bf)](_0x19206f,this[_0x1e1409(0x132)](_0x1bf767));}),_0x57a8fd;}[_0x2ef19c(0x1a8)](_0x51afd9){const _0x35f072=_0x2ef19c;switch(_0x51afd9['id']){case _0x37679b['id']:{const _0x5d07c2=_0x51afd9[_0x35f072(0x1f5)];return _0x5d07c2[_0x35f072(0xa4)]['map'](_0x5a3de6=>_0x5a3de6['ranges'][_0x35f072(0xb7)](_0x3f68fe=>({'range':_0x3f68fe,'unitId':_0x5d07c2[_0x35f072(0x167)],'subUnitId':_0x5d07c2[_0x35f072(0x14d)]})))[_0x35f072(0xdd)]();}case _0x1df4a4['id']:{const _0x168567=_0x51afd9['params'];return _0x168567[_0x35f072(0x1c6)][_0x35f072(0xb7)](_0x4ece05=>({'range':_0x4ece05,'unitId':_0x168567[_0x35f072(0x167)],'subUnitId':_0x168567[_0x35f072(0x14d)]}));}case _0x209017['id']:{const _0x4a4f34=_0x51afd9['params'];return[{'range':_0x4a4f34[_0x35f072(0x1fe)],'unitId':_0x4a4f34[_0x35f072(0x167)],'subUnitId':_0x4a4f34[_0x35f072(0x14d)]}];}case _0x5b3262['id']:{const _0x37f96b=_0x51afd9[_0x35f072(0x1f5)];return[{'range':_0x37f96b['range'],'unitId':_0x37f96b['unitId'],'subUnitId':_0x37f96b[_0x35f072(0x14d)]}];}case _0x45b2ae['id']:{const _0x3d1b03=_0x51afd9[_0x35f072(0x1f5)],{from:_0x2ab8db,to:_0xce7244,unitId:_0x5b647a}=_0x3d1b03;return[{'range':he(_0x2ab8db[_0x35f072(0x1b2)]),'unitId':_0x5b647a,'subUnitId':_0x2ab8db[_0x35f072(0x14d)]},{'range':he(_0xce7244[_0x35f072(0x1b2)]),'unitId':_0x5b647a,'subUnitId':_0xce7244[_0x35f072(0x14d)]}];}case _0xa69e03['id']:{const _0x1f8836=_0x51afd9[_0x35f072(0x1f5)],{unitId:_0xae3af5,subUnitId:_0x59acc1,sourceRange:_0x34a6b3,targetRange:_0x3764c2}=_0x1f8836,_0x19e59a=_0x34a6b3[_0x35f072(0x187)]-_0x34a6b3[_0x35f072(0x217)]+0x1;return[{'range':_0x3764c2[_0x35f072(0x217)]<=_0x34a6b3[_0x35f072(0x217)]?_0x3764c2:{..._0x3764c2,'startRow':_0x3764c2[_0x35f072(0x217)]-_0x19e59a,'endRow':_0x3764c2[_0x35f072(0x187)]-_0x19e59a},'unitId':_0xae3af5,'subUnitId':_0x59acc1}];}case _0x2fc8f0['id']:{const _0x2be119=_0x51afd9[_0x35f072(0x1f5)],{unitId:_0x2b413a,subUnitId:_0x843cb2,sourceRange:_0x1e0e9,targetRange:_0x4bcc2e}=_0x2be119,_0x2229bf=_0x1e0e9[_0x35f072(0x1e4)]-_0x1e0e9[_0x35f072(0x1b1)]+0x1;return[{'range':_0x4bcc2e[_0x35f072(0x1b1)]<=_0x1e0e9[_0x35f072(0x1b1)]?_0x4bcc2e:{..._0x4bcc2e,'startColumn':_0x4bcc2e[_0x35f072(0x1b1)]-_0x2229bf,'endColumn':_0x4bcc2e[_0x35f072(0x1e4)]-_0x2229bf},'unitId':_0x2b413a,'subUnitId':_0x843cb2}];}case _0x5a06b5['id']:{const _0xde02ed=_0x51afd9[_0x35f072(0x1f5)],{values:_0x68702,unitId:_0x177e96,subUnitId:_0x38fbac}=_0xde02ed;return Object[_0x35f072(0x1da)](_0x68702)[_0x35f072(0xb7)](_0x394bd9=>_0x394bd9['ranges']['map'](_0x3c402e=>({'range':_0x3c402e,'unitId':_0x177e96,'subUnitId':_0x38fbac})))[_0x35f072(0xdd)]();}case _0x4b130f['id']:{const _0x37d340=_0x51afd9[_0x35f072(0x1f5)],{ranges:_0x515f77,unitId:_0x1cf224,subUnitId:_0x56a81f}=_0x37d340;return _0x515f77['map'](_0x23c82e=>({'range':_0x23c82e,'unitId':_0x1cf224,'subUnitId':_0x56a81f}));}case _0x1d6c6b['id']:{const _0x4b24d3=_0x51afd9[_0x35f072(0x1f5)],{unitId:_0x898162,subUnitId:_0x4fff68,range:_0x589d0c}=_0x4b24d3;return[{'range':_0x589d0c,'unitId':_0x898162,'subUnitId':_0x4fff68}];}case _0x12aeaa['id']:{const _0xb3bc7f=_0x51afd9['params'];return _0xb3bc7f[_0x35f072(0x250)][_0x35f072(0x1c6)][_0x35f072(0xb7)](_0x3704b2=>({'range':_0x3704b2,'unitId':_0xb3bc7f[_0x35f072(0x167)],'subUnitId':_0xb3bc7f[_0x35f072(0x14d)]}));}case _0x3d7ada['id']:{const _0x5ac80a=_0x51afd9['params'];return _0x5ac80a['cellValue']?Ds(_0x5ac80a[_0x35f072(0xbe)])[_0x35f072(0xb7)](_0x3b799e=>({'range':_0x3b799e,'unitId':_0x5ac80a['unitId'],'subUnitId':_0x5ac80a['subUnitId']})):[];}case _0x1030f1['id']:{const _0x278a52=_0x51afd9[_0x35f072(0x1f5)];return[{'range':_0x278a52[_0x35f072(0x1fe)],'unitId':_0x278a52['unitId'],'subUnitId':_0x278a52['subUnitId']}];}case _0x4819c0['id']:{const _0x441212=_0x51afd9[_0x35f072(0x1f5)];return(Array[_0x35f072(0x188)](_0x441212[_0x35f072(0x250)])?_0x441212[_0x35f072(0x250)]:[_0x441212[_0x35f072(0x250)]])[_0x35f072(0xb7)](_0x17337d=>_0x17337d[_0x35f072(0x1c6)]['map'](_0x519137=>({'range':_0x519137,'unitId':_0x441212['unitId'],'subUnitId':_0x441212[_0x35f072(0x14d)]})))['flat']();}case _0x261b13['id']:{const _0x2e89eb=_0x51afd9[_0x35f072(0x1f5)];return _0x2e89eb['rule'][_0x35f072(0x1c6)][_0x35f072(0xb7)](_0x464e30=>({'range':_0x464e30,'unitId':_0x2e89eb[_0x35f072(0x167)],'subUnitId':_0x2e89eb[_0x35f072(0x14d)]}));}default:return[];}}[_0x2ef19c(0x132)](_0x29b5f8){const _0x539db0=_0x2ef19c;if(_0x29b5f8[_0x539db0(0x19b)]<=0x1)return _0x29b5f8;const _0x394403=new Map();return _0x29b5f8['forEach'](_0x26377b=>{const _0x43cc6b=_0x539db0;var _0x59cd5a;const {unitId:_0x46cb5a,subUnitId:_0x4f77d5}=_0x26377b,_0xeee17b=_0x46cb5a+'-'+_0x4f77d5;_0x394403[_0x43cc6b(0x253)](_0xeee17b)?(_0x59cd5a=_0x394403[_0x43cc6b(0x11e)](_0xeee17b))==null||_0x59cd5a[_0x43cc6b(0x1b9)](_0x26377b):_0x394403['set'](_0xeee17b,[_0x26377b]);}),Array['from'](_0x394403['values']())[_0x539db0(0xb7)](_0xb19134=>new _0x1aa199()[_0x539db0(0x197)](..._0xb19134[_0x539db0(0xb7)](_0x1a9ba9=>_0x1a9ba9[_0x539db0(0x1fe)]))[_0x539db0(0x21a)]()[_0x539db0(0xb7)](_0x44e025=>({'range':_0x44e025,'unitId':_0xb19134[0x0]['unitId'],'subUnitId':_0xb19134[0x0]['subUnitId']})))['flat']();}};L=Os([Q(0x0,_0x57f012(E)),Q(0x1,_0x167f08),Q(0x2,_0x3a1140)],L);function he(_0x47892c){const _0x5a8102=_0x2ef19c;return new _0x17f34c(_0x47892c)[_0x5a8102(0x23d)]();}function Ds(_0xe73e48){const _0x5455f0=_0x2ef19c,_0x235e3a=new _0x17f34c(_0xe73e48),_0x13e0f5=new _0x17f34c();return _0x235e3a[_0x5455f0(0x1c2)]((_0x5b9722,_0x5ab246)=>{const _0x43e0fb=_0x5455f0;_0x13e0f5[_0x43e0fb(0x231)](_0x5b9722,_0x5ab246,0x1);}),_0x26ff76(_0x13e0f5);}var ys=Object[_0x2ef19c(0x16e)],ws=(_0x116c80,_0x3d712d,_0x32a043,_0x10fddd)=>{for(var _0x3e435b=_0x10fddd>0x1?void 0x0:_0x10fddd?ys(_0x3d712d,_0x32a043):_0x3d712d,_0x3ca822=_0x116c80['length']-0x1,_0x5e6eca;_0x3ca822>=0x0;_0x3ca822--)(_0x5e6eca=_0x116c80[_0x3ca822])&&(_0x3e435b=_0x5e6eca(_0x3e435b)||_0x3e435b);return _0x3e435b;},w=(_0x6b23cc,_0x4c60c6)=>(_0x57e6f5,_0x373cdb)=>_0x4c60c6(_0x57e6f5,_0x373cdb,_0x6b23cc);let te=class extends _0x341296{constructor(_0x2b3365,_0xc479e5,_0xe210c2,_0xb02057,_0x4ffc33,_0x59692d,_0x2e8e82){const _0x34b7ec=_0x2ef19c;super(),l(this,'_diffs',new Set()),l(this,'_lastPointer',null),(this[_0x34b7ec(0xa2)]=_0x2b3365,this[_0x34b7ec(0xab)]=_0xc479e5,this[_0x34b7ec(0x1f6)]=_0xe210c2,this[_0x34b7ec(0x10c)]=_0xb02057,this[_0x34b7ec(0x1a5)]=_0x4ffc33,this['_sheetSkeletonManagerService']=_0x59692d,this[_0x34b7ec(0x177)]=_0x2e8e82,this[_0x34b7ec(0x208)]());}[_0x2ef19c(0x208)](){const _0x5a51bf=_0x2ef19c;this[_0x5a51bf(0xc2)](),this[_0x5a51bf(0x124)]();}[_0x2ef19c(0xc2)](){const _0x5c12af=_0x2ef19c;this[_0x5c12af(0x19d)](_0x2c6388([this[_0x5c12af(0xab)][_0x5c12af(0xb2)],this[_0x5c12af(0x12a)][_0x5c12af(0xf1)]])['pipe'](_0x2b8b05(([_0x40b76f,_0x411c6d])=>{const _0x228c53=_0x5c12af;if(_0x40b76f===T['Loaded']&&_0x411c6d){const _0x4b44ce=_0x411c6d['sheetId'];return this['_versionDiffService'][_0x228c53(0xb0)][_0x228c53(0x1db)](_0x3b2f27(_0x5ec22f=>{const _0x580a51=_0x228c53,_0x3f69fd=new Map();return _0x5ec22f[_0x580a51(0x1c6)][_0x580a51(0x142)]((_0x4e2fb1,_0x24db66)=>{const _0x3ef4ae=_0x580a51,_0xf7aa33=_0x4e2fb1[_0x3ef4ae(0x1f0)](_0x136040=>_0x136040[_0x3ef4ae(0x14d)]===_0x4b44ce);_0x3f69fd['set'](_0x24db66,_0xf7aa33);}),{'skeleton':_0x411c6d,'diffs':_0x3f69fd};}));}return _0x56e4d7({'skeleton':null,'diffs':new Map()});}))[_0x5c12af(0xf4)](({skeleton:_0xb25bf2,diffs:_0xa1e4f1})=>{const _0x4af19b=_0x5c12af;this[_0x4af19b(0x149)](),_0xb25bf2&&this['_updateDiffMarks'](_0xb25bf2,_0xa1e4f1);})),this[_0x5c12af(0x19d)](this['_sheetSkeletonManagerService'][_0x5c12af(0xf1)][_0x5c12af(0xf4)](_0x49b9ba=>{const _0x2d6f14=_0x5c12af;if(_0x49b9ba==null)return;const {skeleton:_0x570e9d}=_0x49b9ba,{scene:_0x4fc7b8}=this['_context'];_0x4fc7b8[_0x2d6f14(0x10a)][_0x2d6f14(0x133)](_0x31686(_0x31e4b6=>{const _0x158f0b=_0x2d6f14;var _0x58a20e,_0x1dda9b;const {offsetX:_0x172774,offsetY:_0x5b742a}=_0x31e4b6,{x:_0x26b5b8,y:_0x17c165}=_0x4fc7b8[_0x158f0b(0xa7)](_0x37a56a[_0x158f0b(0x1a9)]([_0x172774,_0x5b742a])),{scaleX:_0x2c84a2,scaleY:_0x421885}=_0x4fc7b8[_0x158f0b(0x12f)](),_0x8c78f8=_0x4fc7b8[_0x158f0b(0x14e)](_0x5447c7['VIEW_MAIN']),_0x32f94f=_0x4fc7b8[_0x158f0b(0x1ba)](_0x37a56a[_0x158f0b(0x1a9)]([_0x26b5b8,_0x17c165]),_0x8c78f8),_0xa45f7c=_0x570e9d[_0x158f0b(0x238)](_0x172774,_0x5b742a,_0x2c84a2,_0x421885,_0x32f94f);((_0x58a20e=this[_0x158f0b(0xe6)])==null?void 0x0:_0x58a20e[_0x158f0b(0x134)])===_0xa45f7c[_0x158f0b(0x134)]&&((_0x1dda9b=this[_0x158f0b(0xe6)])==null?void 0x0:_0x1dda9b[_0x158f0b(0x221)])===_0xa45f7c[_0x158f0b(0x221)]||this[_0x158f0b(0x18b)][_0x158f0b(0x142)](_0xd1d9b9=>{_0xd1d9b9['onMouseMove'](_0xa45f7c);});},0x64));}));}['_initActiveSwitch'](){const _0x41fc80=_0x2ef19c;this['disposeWithMe'](this[_0x41fc80(0xab)][_0x41fc80(0xb2)]['subscribe'](_0xf58050=>{const _0x2ed76e=_0x41fc80,_0xf5a22=new _0x4a28e0();return _0xf58050===T[_0x2ed76e(0x146)]&&(_0xf5a22[_0x2ed76e(0x1d3)](),_0xf5a22[_0x2ed76e(0x197)](this[_0x2ed76e(0x1f6)]['currentVersionDiff$'][_0x2ed76e(0xf4)](_0x15b3b9=>{const _0x41fc85=_0x2ed76e;_0x15b3b9[_0x41fc85(0x239)]&&this[_0x41fc85(0x177)][_0x41fc85(0x156)](_0x4136a0['id'],{'unitId':this[_0x41fc85(0xa2)][_0x41fc85(0x167)],'subUnitId':_0x15b3b9[_0x41fc85(0x239)]});}))),()=>_0xf5a22[_0x2ed76e(0x1d3)]();}));}[_0x2ef19c(0x140)](_0x71915f,_0x5046fc){const _0x57d8d1=_0x2ef19c;var _0x350868;const _0x4162f9=(_0x350868=this['_sheetSkeletonManagerService'][_0x57d8d1(0x20e)]())==null?void 0x0:_0x350868[_0x57d8d1(0x196)];if(!_0x4162f9)return;this['_diffs'][_0x57d8d1(0x142)](_0x225910=>{const _0x3e22f7=_0x57d8d1;_0x225910[_0x3e22f7(0x224)]();});const {scene:_0x5aeb6d}=this[_0x57d8d1(0xa2)],_0x4c26b9=Array[_0x57d8d1(0x19e)](_0x5046fc[_0x57d8d1(0xa5)]())['map'](_0xafd44b=>_0x5046fc[_0x57d8d1(0x11e)](_0xafd44b)[_0x57d8d1(0xb7)](_0x477f6a=>{const _0x58885b=_0x57d8d1;var _0x532fc5;const {range:_0x1ae39,subUnitId:_0x3840a3,unitId:_0x3684ce}=_0x477f6a,{startColumn:_0x591fef,startRow:_0x3adc30,endColumn:_0x38dfd5,endRow:_0x58521c}=_0x1ae39,_0x2b9525=_0x59a1ee(_0x3adc30,_0x591fef,_0x5aeb6d,_0x4162f9),_0x154ecc=_0x59a1ee(_0x58521c,_0x38dfd5,_0x5aeb6d,_0x4162f9),{columnHeaderHeightAndMarginTop:_0x7e4d40}=_0x4162f9,{startX:_0x34fef4,startY:_0x285389}=_0x2b9525,{endX:_0x4549f1,endY:_0x2b9e5b}=_0x154ecc,_0x5afe4f=_0x4549f1-_0x34fef4,_0x16f3a2=_0x2b9e5b-_0x285389,_0x4bfe49={'labelPosition':_0x285389-_0x7e4d40>=0x14?_0x58885b(0x13c):_0x58885b(0x213),'sheetID':_0x3840a3,'range':_0x1ae39,'color':_0x58885b(0xa9),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x58885b(0xa9),'name':((_0x532fc5=this['_historyManagerService'][_0x58885b(0x1c0)](_0xafd44b))==null?void 0x0:_0x532fc5[_0x58885b(0x1c3)])||'','selection':_0x3684ce+'-'+_0x3840a3+'-'+_0x1ae39[_0x58885b(0x1b1)]+'-'+_0x1ae39[_0x58885b(0x217)]+'-'+_0x1ae39[_0x58885b(0x1e4)]+'-'+_0x1ae39[_0x58885b(0x187)],'left':_0x34fef4,'top':_0x285389,'width':_0x5afe4f,'height':_0x16f3a2,'evented':!0x1,'zIndex':0x1};return new _0x2e1ea4('',_0x4bfe49);}))['flat']();_0x5aeb6d[_0x57d8d1(0x24b)](_0x4c26b9,0x1),this['_diffs']=new Set(_0x4c26b9);}['_removeDiffMarks'](){const _0x3ffe22=_0x2ef19c;var _0x129790;(_0x129790=this[_0x3ffe22(0x18b)])==null||_0x129790[_0x3ffe22(0x142)](_0x4c39d7=>_0x4c39d7[_0x3ffe22(0x1d3)]());}[_0x2ef19c(0x195)](){const _0x5e97c4=_0x2ef19c;return _0x69039e(this[_0x5e97c4(0x10c)],this[_0x5e97c4(0x1a5)]);}};te=ws([w(0x1,_0x57f012(E)),w(0x2,_0x57f012(L)),w(0x3,_0x4fd703),w(0x4,_0x501037),w(0x5,_0x57f012(_0x41d5b9)),w(0x6,_0x1786b3)],te);function Cs(){const _0xecdedf=_0x2ef19c,_0x20d309=_0x5e3842(E),_0x1df11b=_0x11104e(_0x20d309[_0xecdedf(0x141)]),[_0x5bfa1e,_0x46a193]=_0x197677(!0x1),_0x3e82e1=os(_0x1df11b);return _0x1df11b?_0x51f5cd('div',{'className':_0xecdedf(0x1ef),'children':_0x23fe86(_0xecdedf(0x20a),{'className':_0xecdedf(0xd5),'children':[_0x3e82e1[_0xecdedf(0xb7)]((_0x2b8aa6,_0xa8a76e)=>_0x23fe86(_0x1de935,{'children':[_0x51f5cd($s,{'date':_0x2b8aa6[_0xecdedf(0xcd)]}),_0x2b8aa6[_0xecdedf(0x13a)][_0xecdedf(0xb7)]((_0x4dffd5,_0x25e670)=>_0x51f5cd(Ls,{'index':[_0xa8a76e,_0x25e670],'item':_0x4dffd5},_0xa8a76e+'-'+_0x25e670))]},_0x2b8aa6['dateString'])),_0x5bfa1e&&_0x51f5cd(Ps,{})]})}):_0x51f5cd(Ts,{});}function Ps(){const _0x5ad8e7=_0x2ef19c;return _0x51f5cd('div',{'className':_0x5ad8e7(0x1c5),'children':_0x51f5cd(ae,{'className':_0x5ad8e7(0xe8)})});}function Ts(){const _0x338d1a=_0x2ef19c;return _0x51f5cd(_0x338d1a(0x20a),{'className':_0x338d1a(0x92),'children':_0x51f5cd(_0x338d1a(0x17a),{'className':_0x338d1a(0xd4),'children':_0x51f5cd(ae,{'className':_0x338d1a(0x18e)})})});}function $s(_0x5626f5){const _0x5345b3=_0x2ef19c,_0x44064f=_0x5e3842(_0x184bde),{date:_0x7f2be1}=_0x5626f5;return _0x51f5cd(_0x5345b3(0x20a),{'className':_0x5345b3(0x1ed),'children':ee(_0x7f2be1,_0x44064f['getCurrentLocale']())});}function Ls(_0x1acdf4){const _0x38bb62=_0x2ef19c,{item:_0x560d2f,index:_0x426370}=_0x1acdf4,{time:_0x4437d8,user:_0x3dcb08}=_0x560d2f,[_0x480e1,_0x47fa12]=_0x426370,_0x5e699c=_0x5e3842(E),_0x3ba93d=_0x11104e(_0x5e699c[_0x38bb62(0x169)],'',!0x0)===_0x560d2f['id'],_0x161913=_0x480e1===0x0&&_0x47fa12===0x0,_0x483581=!_0x161913&&_0x5e699c[_0x38bb62(0xc8)],_0x347615=_0x5e3842(_0x184bde),_0x48f827=_0x347615['getCurrentLocale'](),_0x337356=re(_0x4437d8,_0x48f827),_0x1f3426=_0x347615['t']('editHistory.panel.currentVersion'),_0x382cb0=_0x4120a7(_0x5f0895=>{const _0x414716=_0x38bb62;_0x5e699c[_0x414716(0x192)]!==T[_0x414716(0x1f3)]&&(_0x5e699c['currentVersion']=_0x5f0895);},[_0x5e699c]),_0x227158=_0x4120a7(_0x441271=>{_0x5e699c['triggerRevert'](_0x441271);},[_0x5e699c]);return _0x23fe86('div',{'className':_0x319716(_0x38bb62(0x147),{'univer-bg-gray-50':_0x3ba93d}),'onClick':()=>_0x382cb0(_0x560d2f['id']),'children':[_0x23fe86('div',{'className':'univer-h-6\x20univer-flex\x20univer-justify-between\x20univer-w-full','children':[_0x51f5cd(_0x38bb62(0x20a),{'className':_0x38bb62(0x1cb)}),_0x23fe86(_0x38bb62(0x20a),{'className':'univer-flex-1\x20univer-flex\x20univer-items-center\x20univer-text-gray-600\x20univer-text-sm\x20dark:!univer-text-gray-200','children':[_0x51f5cd(_0x38bb62(0x17a),{'children':_0x337356['time']}),_0x161913&&_0x51f5cd(_0x38bb62(0x17a),{'className':_0x38bb62(0x24e),'children':_0x1f3426})]}),_0x51f5cd('div',{'children':_0x483581&&_0x51f5cd(_0x530338,{'title':_0x347615['t'](_0x38bb62(0x97)),'children':_0x51f5cd(_0x38bb62(0x20a),{'onClick':_0x50ebe2=>{const _0x2c88ac=_0x38bb62;_0x50ebe2[_0x2c88ac(0x244)](),_0x227158(_0x560d2f['id']);},'className':_0x38bb62(0x189),'children':_0x51f5cd(Te,{})})})})]}),_0x51f5cd('div',{'className':_0x38bb62(0x247),'children':ns(_0x560d2f,_0x347615)})]});}var Vs=Object[_0x2ef19c(0x16e)],ks=(_0x50abf1,_0x23ee92,_0x4f2ed6,_0x3fe920)=>{for(var _0x35d9be=_0x3fe920>0x1?void 0x0:_0x3fe920?Vs(_0x23ee92,_0x4f2ed6):_0x23ee92,_0x4b3434=_0x50abf1['length']-0x1,_0x5db2ad;_0x4b3434>=0x0;_0x4b3434--)(_0x5db2ad=_0x50abf1[_0x4b3434])&&(_0x35d9be=_0x5db2ad(_0x35d9be)||_0x35d9be);return _0x35d9be;},k=(_0xf9e2c1,_0x33d79f)=>(_0x3be74,_0x42574d)=>_0x33d79f(_0x3be74,_0x42574d,_0xf9e2c1);const de=_0x2ef19c(0x21f);let F=class extends _0x341296{constructor(_0x3adb56,_0x348400,_0x4f493b,_0x234c0c){const _0x174bbe=_0x2ef19c;super(),l(this,'_sidebarDisposable',null),(this[_0x174bbe(0x220)]=_0x3adb56,this[_0x174bbe(0x23f)]=_0x348400,this[_0x174bbe(0xae)]=_0x4f493b,this[_0x174bbe(0xab)]=_0x234c0c,this[_0x174bbe(0x208)]());}['_init'](){const _0x2f0750=_0x2ef19c;this['_initPanel'](),this[_0x2f0750(0x15a)]();}[_0x2ef19c(0x15a)](){const _0x27820f=_0x2ef19c;if(this[_0x27820f(0x16a)])return;const _0x56ae10={'header':{'title':this[_0x27820f(0xae)]['t'](_0x27820f(0x199))},'children':{'label':de},'onClose':()=>{const _0xc09cc8=_0x27820f;this[_0xc09cc8(0x16a)]=null,this['_historyManagerService'][_0xc09cc8(0xe5)]=ne[_0xc09cc8(0xcb)];}};this[_0x27820f(0x16a)]=this['_sidebarService'][_0x27820f(0x126)]({..._0x56ae10});}['_initPanel'](){const _0x4e18f8=_0x2ef19c;this[_0x4e18f8(0x19d)](this[_0x4e18f8(0x23f)][_0x4e18f8(0xd0)](de,Cs)),this[_0x4e18f8(0x19d)](this[_0x4e18f8(0x220)]['scrollEvent$'][_0x4e18f8(0x1db)](_0x368e00(0x64))['subscribe'](_0x39cbad=>{const _0x37eb0f=_0x4e18f8,{target:_0x28a524}=_0x39cbad||{};if(_0x28a524){const {scrollTop:_0xb2547a,scrollHeight:_0x6dee0b,clientHeight:_0x122466}=_0x28a524;_0xb2547a+_0x122466>=_0x6dee0b-0x5&&this['_historyManagerService'][_0x37eb0f(0xc0)]();}}));}};F=ks([k(0x0,_0x50ff08),k(0x1,_0x57f012(_0x3b4230)),k(0x2,_0x57f012(_0x184bde)),k(0x3,_0x57f012(E))],F);class xs extends _0x341296{constructor(){const _0x3b7a4a=_0x2ef19c;super(),l(this,_0x3b7a4a(0x135),new _0x5a693f());}['open'](){return _0x1159e3(()=>{});}[_0x2ef19c(0x1a0)](){}[_0x2ef19c(0x113)](_0x549d72){}['getDialogs$'](){const _0x2e68b4=_0x2ef19c;return this[_0x2e68b4(0x135)][_0x2e68b4(0x161)]();}}var Us=Object[_0x2ef19c(0x1f8)],Hs=Object['getOwnPropertyDescriptor'],js=(_0x304772,_0x18a6a1,_0x4719e5)=>_0x18a6a1 in _0x304772?Us(_0x304772,_0x18a6a1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4719e5}):_0x304772[_0x18a6a1]=_0x4719e5,Bs=(_0x529003,_0xfd246f,_0x5610c5,_0x5dfa1d)=>{const _0x437180=_0x2ef19c;for(var _0x4767ec=_0x5dfa1d>0x1?void 0x0:_0x5dfa1d?Hs(_0xfd246f,_0x5610c5):_0xfd246f,_0x4970e2=_0x529003[_0x437180(0x19b)]-0x1,_0x241719;_0x4970e2>=0x0;_0x4970e2--)(_0x241719=_0x529003[_0x4970e2])&&(_0x4767ec=_0x241719(_0x4767ec)||_0x4767ec);return _0x4767ec;},J=(_0x1aefe7,_0x39a2cd)=>(_0x3fb4db,_0x292452)=>_0x39a2cd(_0x3fb4db,_0x292452,_0x1aefe7),Ys=(_0x233d75,_0x4e1b36,_0x25455f)=>js(_0x233d75,_0x4e1b36+'',_0x25455f);const Fs='UNIVER_EDIT_HISTORY_VIEWER_PLUGIN';let se=class extends _0x4d6869{constructor(_0x189c80=_e,_0x48a5e4,_0x29a04d,_0x34c5b1){const _0x1850e6=_0x2ef19c;super(),this[_0x1850e6(0x14c)]=_0x189c80,this['_injector']=_0x48a5e4,this[_0x1850e6(0x1a5)]=_0x29a04d,this[_0x1850e6(0x1df)]=_0x34c5b1;const {..._0x324d8d}=_0x482f2e({},_e,this['_config']);this['_configService'][_0x1850e6(0x14f)](we,_0x324d8d);}[_0x2ef19c(0x1a6)](){const _0x382a12=_0x2ef19c;[[E],[Y],[L],[B],[F],[H],[_0x3a1140,{'useClass':_0x333bca}],[_0x1980ce,{'useClass':xs}],[_0x4d86a9,{'useClass':_0x1e7aea}]][_0x382a12(0x142)](_0x2b5e2b=>this[_0x382a12(0x21c)]['add'](_0x2b5e2b)),this[_0x382a12(0x21c)][_0x382a12(0x11e)](Y);}['onRendered'](){const _0x143b5d=_0x2ef19c;[[te]][_0x143b5d(0x142)](_0x38c5f4=>{const _0x2104fa=_0x143b5d;this['disposeWithMe'](this['_renderManagerService'][_0x2104fa(0xfb)](_0x22393d['UNIVER_SHEET'],_0x38c5f4));}),this[_0x143b5d(0x21c)]['get'](H),this[_0x143b5d(0x21c)][_0x143b5d(0x11e)](F);}['onSteady'](){const _0x1bb01e=_0x2ef19c;this[_0x1bb01e(0x21c)][_0x1bb01e(0x11e)](L);}};Ys(se,_0x2ef19c(0x19a),Fs),se=Bs([_0x68bd76(_0x7baea6,_0xf5c097),J(0x1,_0x57f012(_0x198881)),J(0x2,_0x501037),J(0x3,_0x23a9c5)],se);export{E as HistoryManagerService,ne as HistoryModeStatus,se as UniverEditHistoryViewerPlugin};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x144b79=_0x27c8;function _0x579f(){const _0x5225c4=['set\x20frozen','Edit\x20History','created\x20workbook','reverted\x20workbook','Cancel','2686570OulZhH','deleted\x20worksheet','10616mFbsMy','Restore\x20this\x20version?','96474WXcwHa','Reverted\x20from','1365UxDzux','Back',',\x20etc.','set\x20data\x20validation','add\x20conditional\x20formatting','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','9zmnMyT','373797onhwbU','inserted\x20worksheet','set\x20filter','2814822tjhuId','Restore\x20this\x20version','12397LvsUfz','4XBBHSn','3860590UHquZz','edited\x20worksheet','loading,\x20please\x20wait...','delete\x20protection','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','9OzrqFF','19992eJjsPr'];_0x579f=function(){return _0x5225c4;};return _0x579f();}(function(_0x5eea32,_0x4bbec8){const _0xb00066=_0x27c8,_0x501827=_0x5eea32();while(!![]){try{const _0x298a6e=parseInt(_0xb00066(0xb0))/0x1*(parseInt(_0xb00066(0xc8))/0x2)+parseInt(_0xb00066(0xb1))/0x3+parseInt(_0xb00066(0xb7))/0x4*(parseInt(_0xb00066(0xc4))/0x5)+parseInt(_0xb00066(0xb4))/0x6+parseInt(_0xb00066(0xca))/0x7*(parseInt(_0xb00066(0xc6))/0x8)+-parseInt(_0xb00066(0xbd))/0x9*(-parseInt(_0xb00066(0xb8))/0xa)+parseInt(_0xb00066(0xb6))/0xb*(-parseInt(_0xb00066(0xbe))/0xc);if(_0x298a6e===_0x4bbec8)break;else _0x501827['push'](_0x501827['shift']());}catch(_0x5d51e1){_0x501827['push'](_0x501827['shift']());}}}(_0x579f,0x51289));function _0x27c8(_0x22c3f9,_0x2baded){const _0x579f1c=_0x579f();return _0x27c8=function(_0x27c866,_0x53dc71){_0x27c866=_0x27c866-0xab;let _0x17ebc6=_0x579f1c[_0x27c866];return _0x17ebc6;},_0x27c8(_0x22c3f9,_0x2baded);}const e={'editHistory':{'panel':{'title':_0x144b79(0xc0),'unknownUser':'Unknown\x20User','listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list','revertConfirm':_0x144b79(0xc7),'revertConfirmText':_0x144b79(0xbc),'cancel':_0x144b79(0xc3),'confirm':'Confirm','reverting':'Reverting,\x20please\x20wait...','revertFailed':_0x144b79(0xaf),'currentVersion':'Current\x20Version','currentUser':'Current\x20User','revertDesc':_0x144b79(0xb5)},'info':{'loading':_0x144b79(0xba)},'header':{'back':_0x144b79(0xab),'revert':_0x144b79(0xb5)},'action':{'insertSheet':_0x144b79(0xb2),'removeSheet':_0x144b79(0xc5),'createSheet':_0x144b79(0xc1),'setFilter':_0x144b79(0xb3),'setFrozen':_0x144b79(0xbf),'editSheet':_0x144b79(0xb9),'revertSheet':_0x144b79(0xc2),'revertSheetPrefix':_0x144b79(0xc9),'revertSheetSuffix':'','setDV':_0x144b79(0xad),'setCF':'set\x20conditional\x20formatting','addCF':_0x144b79(0xae),'addProtection':'add\x20protection','addSparkline':'add\x20sparkline','deleteProtection':_0x144b79(0xbb),'etc':_0x144b79(0xac)}}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x47b7(_0x1fca1d,_0x2820eb){const _0x5df179=_0x5df1();return _0x47b7=function(_0x47b72e,_0x31c6c8){_0x47b72e=_0x47b72e-0x183;let _0x33c8f8=_0x5df179[_0x47b72e];return _0x33c8f8;},_0x47b7(_0x1fca1d,_0x2820eb);}const _0x5f2eee=_0x47b7;function _0x5df1(){const _0x2304ca=['،\x20و\x20غیره','این\x20سند\x20به\x20نسخه\x20انتخاب\x20شده\x20بازگردانده\x20خواهد\x20شد','ورق\x20کاری\x20اضافه\x20شده','افزودن\x20نمودار\x20کوچک','تنظیم\x20اعتبار\x20سنجی\x20داده','4228472krSNwm','5698866fCOmZM','1823702VcvCRm','16774785cVaGiX','بازگردانی\x20این\x20نسخه','نسخه\x20فعلی','این\x20نسخه\x20را\x20بازگردانی\x20کنید؟','1218942Qpzpso','لغو','در\x20حال\x20بارگذاری،\x20لطفا\x20صبر\x20کنید...','افزودن\x20حفاظت','3788264QYWVGI','تنظیم\x20منجمد','تنظیم\x20فیلتر','خطای\x20ناشناخته،\x20لطفا\x20صفحه\x20را\x20بارگذاری\x20مجدد\x20کنید\x20تا\x20نتیجه\x20بازگردانی\x20را\x20مشاهده\x20کنید','2eyPWMD','ورق\x20کاری\x20ایجاد\x20شده','5wzelkh','دریافت\x20لیست\x20تاریخچه\x20ویرایش\x20ناموفق\x20بود','5252667rvaFmt','بازگردانی\x20از','ورق\x20کاری\x20بازگردانی\x20شده','بازگشت','ورق\x20کاری\x20ویرایش\x20شده'];_0x5df1=function(){return _0x2304ca;};return _0x5df1();}(function(_0x9f6ecd,_0x54d89b){const _0x2f9580=_0x47b7,_0x3656ed=_0x9f6ecd();while(!![]){try{const _0x2f0223=-parseInt(_0x2f9580(0x18e))/0x1*(parseInt(_0x2f9580(0x19b))/0x2)+-parseInt(_0x2f9580(0x193))/0x3+-parseInt(_0x2f9580(0x197))/0x4+-parseInt(_0x2f9580(0x19d))/0x5*(-parseInt(_0x2f9580(0x18d))/0x6)+parseInt(_0x2f9580(0x19f))/0x7+parseInt(_0x2f9580(0x18c))/0x8+parseInt(_0x2f9580(0x18f))/0x9;if(_0x2f0223===_0x54d89b)break;else _0x3656ed['push'](_0x3656ed['shift']());}catch(_0x9ea1c9){_0x3656ed['push'](_0x3656ed['shift']());}}}(_0x5df1,0xdf84e));const e={'editHistory':{'panel':{'title':'تاریخچه\x20ویرایش','unknownUser':'کاربر\x20ناشناخته','listFetchError':_0x5f2eee(0x19e),'revertConfirm':_0x5f2eee(0x192),'revertConfirmText':_0x5f2eee(0x188),'cancel':_0x5f2eee(0x194),'confirm':'تایید','reverting':'در\x20حال\x20بازگردانی،\x20لطفا\x20صبر\x20کنید...','revertFailed':_0x5f2eee(0x19a),'currentVersion':_0x5f2eee(0x191),'currentUser':'کاربر\x20فعلی','revertDesc':'بازگردانی\x20این\x20نسخه'},'info':{'loading':_0x5f2eee(0x195)},'header':{'back':_0x5f2eee(0x185),'revert':_0x5f2eee(0x190)},'action':{'insertSheet':_0x5f2eee(0x189),'removeSheet':'ورق\x20کاری\x20حذف\x20شده','createSheet':_0x5f2eee(0x19c),'setFilter':_0x5f2eee(0x199),'setFrozen':_0x5f2eee(0x198),'editSheet':_0x5f2eee(0x186),'revertSheet':_0x5f2eee(0x184),'revertSheetPrefix':_0x5f2eee(0x183),'revertSheetSuffix':'','setDV':_0x5f2eee(0x18b),'setCF':'تنظیم\x20قالب\x20بندی\x20شرطی','addCF':'افزودن\x20قالب\x20بندی\x20شرطی','addProtection':_0x5f2eee(0x196),'addSparkline':_0x5f2eee(0x18a),'deleteProtection':'حذف\x20حفاظت','etc':_0x5f2eee(0x187)}}};export{e as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3f5266=_0x40b3;function _0x46fb(){const _0x14bb87=['Cancel','add\x20conditional\x20formatting','110765rxGFxy','Current\x20Version','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Failed\x20to\x20get\x20edit\x20history\x20list','2202852ZjixQh','Back','loading,\x20please\x20wait...','inserted\x20worksheet','1269340PHDQRX','Current\x20User','22XOmslf','Restore\x20this\x20version?','created\x20workbook','Reverting,\x20please\x20wait...','set\x20data\x20validation','82202IkINyI','11193AbHVvB','7nsuBOg','set\x20filter','7157416SmsBVL','1044054jlehNu','Restore\x20this\x20version','add\x20protection','42aXwBKt','144BtYIcE','Unknown\x20User','set\x20frozen',',\x20etc.','45WitKEO','deleted\x20worksheet','Edit\x20History'];_0x46fb=function(){return _0x14bb87;};return _0x46fb();}(function(_0x4d9ce2,_0x3859b3){const _0x3bc01c=_0x40b3,_0x271fbd=_0x4d9ce2();while(!![]){try{const _0x459014=parseInt(_0x3bc01c(0x1c0))/0x1+parseInt(_0x3bc01c(0x1bf))/0x2*(-parseInt(_0x3bc01c(0x1c7))/0x3)+-parseInt(_0x3bc01c(0x1c8))/0x4*(-parseInt(_0x3bc01c(0x1d1))/0x5)+parseInt(_0x3bc01c(0x1c4))/0x6*(parseInt(_0x3bc01c(0x1c1))/0x7)+-parseInt(_0x3bc01c(0x1c3))/0x8+parseInt(_0x3bc01c(0x1cc))/0x9*(parseInt(_0x3bc01c(0x1d9))/0xa)+-parseInt(_0x3bc01c(0x1db))/0xb*(-parseInt(_0x3bc01c(0x1d5))/0xc);if(_0x459014===_0x3859b3)break;else _0x271fbd['push'](_0x271fbd['shift']());}catch(_0x2300a4){_0x271fbd['push'](_0x271fbd['shift']());}}}(_0x46fb,0x7d97f));const e={'editHistory':{'panel':{'title':_0x3f5266(0x1ce),'unknownUser':_0x3f5266(0x1c9),'listFetchError':_0x3f5266(0x1d4),'revertConfirm':_0x3f5266(0x1dc),'revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':_0x3f5266(0x1cf),'confirm':'Confirm','reverting':_0x3f5266(0x1bd),'revertFailed':_0x3f5266(0x1d3),'currentVersion':_0x3f5266(0x1d2),'currentUser':_0x3f5266(0x1da),'revertDesc':_0x3f5266(0x1c5)},'info':{'loading':_0x3f5266(0x1d7)},'header':{'back':_0x3f5266(0x1d6),'revert':_0x3f5266(0x1c5)},'action':{'insertSheet':_0x3f5266(0x1d8),'removeSheet':_0x3f5266(0x1cd),'createSheet':_0x3f5266(0x1bc),'setFilter':_0x3f5266(0x1c2),'setFrozen':_0x3f5266(0x1ca),'editSheet':'edited\x20worksheet','revertSheet':'reverted\x20workbook','revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':_0x3f5266(0x1be),'setCF':'set\x20conditional\x20formatting','addCF':_0x3f5266(0x1d0),'addProtection':_0x3f5266(0x1c6),'addSparkline':'add\x20sparkline','deleteProtection':'delete\x20protection','etc':_0x3f5266(0x1cb)}}},t=e;function _0x40b3(_0x1c7d6e,_0x553516){const _0x46fb92=_0x46fb();return _0x40b3=function(_0x40b37f,_0x1e65e2){_0x40b37f=_0x40b37f-0x1bc;let _0x47a95e=_0x46fb92[_0x40b37f];return _0x47a95e;},_0x40b3(_0x1c7d6e,_0x553516);}export{t as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x7d4c(_0x345501,_0x80f92b){const _0x162965=_0x1629();return _0x7d4c=function(_0x7d4c6,_0x24b8e3){_0x7d4c6=_0x7d4c6-0x65;let _0x4233a6=_0x162965[_0x7d4c6];return _0x4233a6;},_0x7d4c(_0x345501,_0x80f92b);}function _0x1629(){const _0x570465=['deleted\x20worksheet','delete\x20protection','268250pcqbTV','Edit\x20History','3912640YqvJjK',',\x20etc.','8PORgQu','inserted\x20worksheet','Restore\x20this\x20version?','Reverted\x20from','set\x20frozen','created\x20workbook','add\x20conditional\x20formatting','11CSxTFV','362346CVGUCu','Failed\x20to\x20get\x20edit\x20history\x20list','set\x20conditional\x20formatting','369720NeeRzf','1207728Bvhcuu','Restore\x20this\x20version','Confirm','add\x20protection','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','set\x20data\x20validation','Reverting,\x20please\x20wait...','4FVOvJy','27637KFJdnw','Back','1009337fwIDee','Unknown\x20User','add\x20sparkline','6kLCgCZ','edited\x20worksheet','set\x20filter'];_0x1629=function(){return _0x570465;};return _0x1629();}const _0x2e1293=_0x7d4c;(function(_0x3e2365,_0x57c8b3){const _0x36fc43=_0x7d4c,_0x15d9d4=_0x3e2365();while(!![]){try{const _0x372e37=parseInt(_0x36fc43(0x7e))/0x1*(parseInt(_0x36fc43(0x83))/0x2)+-parseInt(_0x36fc43(0x71))/0x3*(parseInt(_0x36fc43(0x7d))/0x4)+parseInt(_0x36fc43(0x65))/0x5+-parseInt(_0x36fc43(0x75))/0x6+-parseInt(_0x36fc43(0x80))/0x7*(parseInt(_0x36fc43(0x69))/0x8)+parseInt(_0x36fc43(0x74))/0x9+-parseInt(_0x36fc43(0x67))/0xa*(-parseInt(_0x36fc43(0x70))/0xb);if(_0x372e37===_0x57c8b3)break;else _0x15d9d4['push'](_0x15d9d4['shift']());}catch(_0x3640ca){_0x15d9d4['push'](_0x15d9d4['shift']());}}}(_0x1629,0x190f4));const e={'editHistory':{'panel':{'title':_0x2e1293(0x66),'unknownUser':_0x2e1293(0x81),'listFetchError':_0x2e1293(0x72),'revertConfirm':_0x2e1293(0x6b),'revertConfirmText':_0x2e1293(0x79),'cancel':'Cancel','confirm':_0x2e1293(0x77),'reverting':_0x2e1293(0x7c),'revertFailed':_0x2e1293(0x7a),'currentVersion':'Current\x20Version','currentUser':'Current\x20User','revertDesc':_0x2e1293(0x76)},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':_0x2e1293(0x7f),'revert':_0x2e1293(0x76)},'action':{'insertSheet':_0x2e1293(0x6a),'removeSheet':_0x2e1293(0x86),'createSheet':_0x2e1293(0x6e),'setFilter':_0x2e1293(0x85),'setFrozen':_0x2e1293(0x6d),'editSheet':_0x2e1293(0x84),'revertSheet':'reverted\x20workbook','revertSheetPrefix':_0x2e1293(0x6c),'revertSheetSuffix':'','setDV':_0x2e1293(0x7b),'setCF':_0x2e1293(0x73),'addCF':_0x2e1293(0x6f),'addProtection':_0x2e1293(0x78),'addSparkline':_0x2e1293(0x82),'deleteProtection':_0x2e1293(0x87),'etc':_0x2e1293(0x68)}}};export{e as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x181f19=_0x4c0c;(function(_0x49cdb1,_0x307f3e){const _0x56501c=_0x4c0c,_0x3f7d63=_0x49cdb1();while(!![]){try{const _0x56ceb6=parseInt(_0x56501c(0xbd))/0x1*(-parseInt(_0x56501c(0xbb))/0x2)+-parseInt(_0x56501c(0xb3))/0x3*(-parseInt(_0x56501c(0xbf))/0x4)+-parseInt(_0x56501c(0xcc))/0x5*(-parseInt(_0x56501c(0xc3))/0x6)+parseInt(_0x56501c(0xb1))/0x7*(-parseInt(_0x56501c(0xac))/0x8)+-parseInt(_0x56501c(0xce))/0x9+parseInt(_0x56501c(0xbc))/0xa+-parseInt(_0x56501c(0xc2))/0xb*(-parseInt(_0x56501c(0xb8))/0xc);if(_0x56ceb6===_0x307f3e)break;else _0x3f7d63['push'](_0x3f7d63['shift']());}catch(_0x52723a){_0x3f7d63['push'](_0x3f7d63['shift']());}}}(_0x1fa5,0x46d03));const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':_0x181f19(0xc6),'listFetchError':_0x181f19(0xb5),'revertConfirm':_0x181f19(0xcb),'revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':'Cancel','confirm':_0x181f19(0xb9),'reverting':_0x181f19(0xbe),'revertFailed':_0x181f19(0xc9),'currentVersion':_0x181f19(0xc0),'currentUser':_0x181f19(0xca),'revertDesc':_0x181f19(0xc7)},'info':{'loading':_0x181f19(0xcd)},'header':{'back':_0x181f19(0xc1),'revert':_0x181f19(0xc7)},'action':{'insertSheet':'inserted\x20worksheet','removeSheet':_0x181f19(0xba),'createSheet':'created\x20workbook','setFilter':_0x181f19(0xae),'setFrozen':_0x181f19(0xad),'editSheet':_0x181f19(0xaf),'revertSheet':_0x181f19(0xb4),'revertSheetPrefix':_0x181f19(0xb0),'revertSheetSuffix':'','setDV':_0x181f19(0xc8),'setCF':_0x181f19(0xc5),'addCF':_0x181f19(0xb7),'addProtection':_0x181f19(0xb6),'addSparkline':_0x181f19(0xb2),'deleteProtection':'delete\x20protection','etc':_0x181f19(0xc4)}}},t=e;function _0x4c0c(_0x285b56,_0x45c9ab){const _0x1fa50e=_0x1fa5();return _0x4c0c=function(_0x4c0c35,_0x213a6c){_0x4c0c35=_0x4c0c35-0xac;let _0x48857c=_0x1fa50e[_0x4c0c35];return _0x48857c;},_0x4c0c(_0x285b56,_0x45c9ab);}function _0x1fa5(){const _0x17973a=['1668876fChTNl',',\x20etc.','set\x20conditional\x20formatting','Unknown\x20User','Restore\x20this\x20version','set\x20data\x20validation','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Current\x20User','Restore\x20this\x20version?','5TNuxsh','loading,\x20please\x20wait...','3832839NzSmXu','2958128ToKUNu','set\x20frozen','set\x20filter','edited\x20worksheet','Reverted\x20from','7SWjvUb','add\x20sparkline','783JLfhfY','reverted\x20workbook','Failed\x20to\x20get\x20edit\x20history\x20list','add\x20protection','add\x20conditional\x20formatting','12TYITUp','Confirm','deleted\x20worksheet','22Bqhibf','1666370YesEcl','27397XRqudZ','Reverting,\x20please\x20wait...','876PWukOB','Current\x20Version','Back','9736243tAIXXa'];_0x1fa5=function(){return _0x17973a;};return _0x1fa5();}export{t as default};
|