@univerjs-pro/edit-history-viewer 0.9.3 → 0.9.4
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/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.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/ko-KR.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/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.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/ko-KR.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/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.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/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.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/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x3c76(_0x53c504,_0x4e0871){const _0x4e1626=_0x4e16();return _0x3c76=function(_0x3c76ee,_0x216b17){_0x3c76ee=_0x3c76ee-0x1cf;let _0x5c5b5a=_0x4e1626[_0x3c76ee];return _0x5c5b5a;},_0x3c76(_0x53c504,_0x4e0871);}const _0x2e9cab=_0x3c76;(function(_0x5b3827,_0x29f9c8){const _0x34ed5b=_0x3c76,_0x55d679=_0x5b3827();while(!![]){try{const _0x6ce80e=parseInt(_0x34ed5b(0x1e2))/0x1*(parseInt(_0x34ed5b(0x1de))/0x2)+parseInt(_0x34ed5b(0x1dc))/0x3+parseInt(_0x34ed5b(0x1eb))/0x4*(parseInt(_0x34ed5b(0x1e9))/0x5)+-parseInt(_0x34ed5b(0x1e6))/0x6*(parseInt(_0x34ed5b(0x1d7))/0x7)+parseInt(_0x34ed5b(0x1e1))/0x8*(-parseInt(_0x34ed5b(0x1f1))/0x9)+parseInt(_0x34ed5b(0x1ef))/0xa*(parseInt(_0x34ed5b(0x1d0))/0xb)+parseInt(_0x34ed5b(0x1ec))/0xc*(-parseInt(_0x34ed5b(0x1d9))/0xd);if(_0x6ce80e===_0x29f9c8)break;else _0x55d679['push'](_0x55d679['shift']());}catch(_0x47522e){_0x55d679['push'](_0x55d679['shift']());}}}(_0x4e16,0x684d2));const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':'Unknown\x20User','listFetchError':_0x2e9cab(0x1e5),'revertConfirm':'Restore\x20this\x20version?','revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':_0x2e9cab(0x1cf),'confirm':_0x2e9cab(0x1d6),'reverting':'Reverting,\x20please\x20wait...','revertFailed':_0x2e9cab(0x1ee),'currentVersion':_0x2e9cab(0x1d5),'currentUser':_0x2e9cab(0x1ea),'revertDesc':_0x2e9cab(0x1d2)},'info':{'loading':_0x2e9cab(0x1d3)},'header':{'back':_0x2e9cab(0x1e3),'revert':_0x2e9cab(0x1d2)},'action':{'insertSheet':_0x2e9cab(0x1db),'removeSheet':_0x2e9cab(0x1df),'createSheet':_0x2e9cab(0x1e0),'setFilter':_0x2e9cab(0x1da),'setFrozen':_0x2e9cab(0x1e4),'editSheet':_0x2e9cab(0x1dd),'revertSheet':'reverted\x20workbook','revertSheetPrefix':_0x2e9cab(0x1ed),'revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':_0x2e9cab(0x1e8),'addCF':'add\x20conditional\x20formatting','addProtection':_0x2e9cab(0x1d8),'addSparkline':_0x2e9cab(0x1f0),'deleteProtection':_0x2e9cab(0x1d1),'etc':_0x2e9cab(0x1d4)}}},t=e;module[_0x2e9cab(0x1e7)]=t;function _0x4e16(){const _0x403819=['31KJENXh','Back','set\x20frozen','Failed\x20to\x20get\x20edit\x20history\x20list','6eWdErr','exports','set\x20conditional\x20formatting','5XOiYKr','Current\x20User','324804HFjoey','48168zDZBBv','Reverted\x20from','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','10rGfdFn','add\x20sparkline','2180979HaZnnr','Cancel','2992352HghdSw','delete\x20protection','Restore\x20this\x20version','loading,\x20please\x20wait...',',\x20etc.','Current\x20Version','Confirm','1825901GYFpsu','add\x20protection','351FybZuS','set\x20filter','inserted\x20worksheet','2375532yYPuFD','edited\x20worksheet','24410TZleZn','deleted\x20worksheet','created\x20workbook','24VdSxJa'];_0x4e16=function(){return _0x403819;};return _0x4e16();}
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';const _0x29ac9f=_0x374f;function _0x4f5f(){const _0x59eff7=['add\x20protection','add\x20sparkline','delete\x20protection','reverted\x20workbook','set\x20frozen','deleted\x20worksheet','61310qSGass','319797odtgUK','set\x20conditional\x20formatting','created\x20workbook','59808HxVDMS','loading,\x20please\x20wait...',',\x20etc.','Failed\x20to\x20get\x20edit\x20history\x20list','Restore\x20this\x20version','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','10462774mJgQvq','Cancel','Edit\x20History','1228723sFvkeV','1720qerSqB','Restore\x20this\x20version?','Current\x20Version','exports','edited\x20worksheet','Current\x20User','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','add\x20conditional\x20formatting','set\x20filter','Reverting,\x20please\x20wait...','set\x20data\x20validation','556528WQBUPp','62SbnENG','5726226imDygV','Unknown\x20User','356UzpxiO'];_0x4f5f=function(){return _0x59eff7;};return _0x4f5f();}(function(_0x159b7b,_0xfd324b){const _0xe28496=_0x374f,_0x5804cb=_0x159b7b();while(!![]){try{const _0x1b09a0=-parseInt(_0xe28496(0x108))/0x1+parseInt(_0xe28496(0x115))/0x2*(-parseInt(_0xe28496(0xff))/0x3)+-parseInt(_0xe28496(0x118))/0x4*(parseInt(_0xe28496(0x11f))/0x5)+-parseInt(_0xe28496(0x116))/0x6+-parseInt(_0xe28496(0x105))/0x7+parseInt(_0xe28496(0x114))/0x8+parseInt(_0xe28496(0xfc))/0x9*(parseInt(_0xe28496(0x109))/0xa);if(_0x1b09a0===_0xfd324b)break;else _0x5804cb['push'](_0x5804cb['shift']());}catch(_0x29fe64){_0x5804cb['push'](_0x5804cb['shift']());}}}(_0x4f5f,0xc1e14));const e={'editHistory':{'panel':{'title':_0x29ac9f(0x107),'unknownUser':_0x29ac9f(0x117),'listFetchError':_0x29ac9f(0x102),'revertConfirm':_0x29ac9f(0x10a),'revertConfirmText':_0x29ac9f(0x104),'cancel':_0x29ac9f(0x106),'confirm':'Confirm','reverting':_0x29ac9f(0x112),'revertFailed':_0x29ac9f(0x10f),'currentVersion':_0x29ac9f(0x10b),'currentUser':_0x29ac9f(0x10e),'revertDesc':_0x29ac9f(0x103)},'info':{'loading':_0x29ac9f(0x100)},'header':{'back':'Back','revert':_0x29ac9f(0x103)},'action':{'insertSheet':'inserted\x20worksheet','removeSheet':_0x29ac9f(0x11e),'createSheet':_0x29ac9f(0xfe),'setFilter':_0x29ac9f(0x111),'setFrozen':_0x29ac9f(0x11d),'editSheet':_0x29ac9f(0x10d),'revertSheet':_0x29ac9f(0x11c),'revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':_0x29ac9f(0x113),'setCF':_0x29ac9f(0xfd),'addCF':_0x29ac9f(0x110),'addProtection':_0x29ac9f(0x119),'addSparkline':_0x29ac9f(0x11a),'deleteProtection':_0x29ac9f(0x11b),'etc':_0x29ac9f(0x101)}}},t=e;function _0x374f(_0xc70f46,_0x11c2a8){const _0x4f5f3d=_0x4f5f();return _0x374f=function(_0x374f92,_0x328a11){_0x374f92=_0x374f92-0xfc;let _0x4b61cf=_0x4f5f3d[_0x374f92];return _0x4b61cf;},_0x374f(_0xc70f46,_0x11c2a8);}module[_0x29ac9f(0x10c)]=t;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x49c13e=_0x5099;function _0x5099(_0x5aee53,_0x31da95){const _0x4f5c4e=_0x4f5c();return _0x5099=function(_0x50998c,_0x1a0885){_0x50998c=_0x50998c-0x17a;let _0x49cc76=_0x4f5c4e[_0x50998c];return _0x49cc76;},_0x5099(_0x5aee53,_0x31da95);}(function(_0x4039aa,_0x229295){const _0x1d1810=_0x5099,_0x4d6cbf=_0x4039aa();while(!![]){try{const _0x43e3ba=parseInt(_0x1d1810(0x194))/0x1+parseInt(_0x1d1810(0x195))/0x2*(parseInt(_0x1d1810(0x17c))/0x3)+-parseInt(_0x1d1810(0x187))/0x4+-parseInt(_0x1d1810(0x186))/0x5+-parseInt(_0x1d1810(0x182))/0x6+-parseInt(_0x1d1810(0x18f))/0x7*(-parseInt(_0x1d1810(0x188))/0x8)+-parseInt(_0x1d1810(0x17b))/0x9*(-parseInt(_0x1d1810(0x18b))/0xa);if(_0x43e3ba===_0x229295)break;else _0x4d6cbf['push'](_0x4d6cbf['shift']());}catch(_0x5b775e){_0x4d6cbf['push'](_0x4d6cbf['shift']());}}}(_0x4f5c,0xb518d));const e={'editHistory':{'panel':{'title':'历史记录','unknownUser':_0x49c13e(0x18c),'listFetchError':_0x49c13e(0x192),'revertConfirm':'还原到此版本?','revertConfirmText':_0x49c13e(0x189),'cancel':'取消','confirm':'确认','reverting':_0x49c13e(0x18e),'revertFailed':_0x49c13e(0x17f),'currentVersion':_0x49c13e(0x17d),'currentUser':_0x49c13e(0x181),'revertDesc':'还原到此版本'},'info':{'loading':_0x49c13e(0x196)},'header':{'back':'返回','revert':_0x49c13e(0x180)},'action':{'insertSheet':'插入了工作表','removeSheet':_0x49c13e(0x183),'createSheet':'创建了工作表','setFilter':_0x49c13e(0x197),'setFrozen':_0x49c13e(0x17e),'editSheet':_0x49c13e(0x18a),'revertSheet':_0x49c13e(0x17a),'revertSheetPrefix':'还原了','revertSheetSuffix':_0x49c13e(0x185),'setDV':_0x49c13e(0x191),'setCF':_0x49c13e(0x193),'addCF':_0x49c13e(0x18d),'addProtection':_0x49c13e(0x190),'addSparkline':'添加了迷你图','deleteProtection':'移除了保护范围','etc':',等'}}};function _0x4f5c(){const _0x57ce0d=['4510810jTbbiD','5502460vbtXZy','104jgNcRK','该文档将会被还原到选中版本','编辑了工作表','92200toAtUu','未知用户','添加了条件格式','正在还原,请稍等...','318367EhtNEW','添加了保护范围','设置了数据验证','获取编辑历史记录列表失败','设置了条件格式','1176846hWTUGv','2Beruex','加载中,请稍等...','设置了筛选','还原了版本','1161bcjwWH','1495569jjCsOv','当前版本','冻结了工作表','未知错误,请刷新页面查看还原结果','还原到此版本','当前用户','2618712pxUPjP','删除了工作表','exports','的版本'];_0x4f5c=function(){return _0x57ce0d;};return _0x4f5c();}module[_0x49c13e(0x184)]=e;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x5d11f1=_0x525a;(function(_0x298c4b,_0x82f42a){const _0x57dfe7=_0x525a,_0x1b85e2=_0x298c4b();while(!![]){try{const _0x132701=-parseInt(_0x57dfe7(0x104))/0x1+parseInt(_0x57dfe7(0xf8))/0x2*(-parseInt(_0x57dfe7(0xfc))/0x3)+parseInt(_0x57dfe7(0x102))/0x4+-parseInt(_0x57dfe7(0xf4))/0x5*(parseInt(_0x57dfe7(0xec))/0x6)+parseInt(_0x57dfe7(0xef))/0x7+parseInt(_0x57dfe7(0xfa))/0x8+-parseInt(_0x57dfe7(0xee))/0x9*(-parseInt(_0x57dfe7(0xf2))/0xa);if(_0x132701===_0x82f42a)break;else _0x1b85e2['push'](_0x1b85e2['shift']());}catch(_0x428a1a){_0x1b85e2['push'](_0x1b85e2['shift']());}}}(_0x68bb,0x98af1));function _0x68bb(){const _0x408b4e=['Cancel','add\x20conditional\x20formatting','deleted\x20worksheet','12WmDesQ','edited\x20worksheet','547749ldzdjz','4812374dyOvio','set\x20data\x20validation','Restore\x20this\x20version','190GZIcxH','Current\x20Version','590945EucDyE','Unknown\x20User','reverted\x20workbook','Reverted\x20from','2175646LiAGec','set\x20conditional\x20formatting','8843640ZGkkjP','inserted\x20worksheet','3fLYNRG','Failed\x20to\x20get\x20edit\x20history\x20list','set\x20frozen','Reverting,\x20please\x20wait...','add\x20protection','created\x20workbook','627096LyHkwr','Confirm','1156476kwzlkP',',\x20etc.'];_0x68bb=function(){return _0x408b4e;};return _0x68bb();}function _0x525a(_0x588ec0,_0x3d974c){const _0x68bb01=_0x68bb();return _0x525a=function(_0x525aec,_0x1eff54){_0x525aec=_0x525aec-0xe8;let _0x4f7c90=_0x68bb01[_0x525aec];return _0x4f7c90;},_0x525a(_0x588ec0,_0x3d974c);}const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':_0x5d11f1(0xf5),'listFetchError':_0x5d11f1(0xfd),'revertConfirm':'Restore\x20this\x20version?','revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':_0x5d11f1(0xe9),'confirm':_0x5d11f1(0x103),'reverting':_0x5d11f1(0xff),'revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':_0x5d11f1(0xf3),'currentUser':'Current\x20User','revertDesc':_0x5d11f1(0xf1)},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':'Back','revert':_0x5d11f1(0xf1)},'action':{'insertSheet':_0x5d11f1(0xfb),'removeSheet':_0x5d11f1(0xeb),'createSheet':_0x5d11f1(0x101),'setFilter':'set\x20filter','setFrozen':_0x5d11f1(0xfe),'editSheet':_0x5d11f1(0xed),'revertSheet':_0x5d11f1(0xf6),'revertSheetPrefix':_0x5d11f1(0xf7),'revertSheetSuffix':'','setDV':_0x5d11f1(0xf0),'setCF':_0x5d11f1(0xf9),'addCF':_0x5d11f1(0xea),'addProtection':_0x5d11f1(0x100),'addSparkline':'add\x20sparkline','deleteProtection':'delete\x20protection','etc':_0x5d11f1(0xe8)}}},t=e;module['exports']=t;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x291ff7=_0x1fc5;(function(_0x3aba87,_0x82563e){const _0x23bb3c=_0x1fc5,_0x943112=_0x3aba87();while(!![]){try{const _0x3ba183=parseInt(_0x23bb3c(0x1b0))/0x1*(parseInt(_0x23bb3c(0x26e))/0x2)+parseInt(_0x23bb3c(0x169))/0x3+-parseInt(_0x23bb3c(0x20b))/0x4*(parseInt(_0x23bb3c(0x24f))/0x5)+parseInt(_0x23bb3c(0x283))/0x6+-parseInt(_0x23bb3c(0x101))/0x7*(parseInt(_0x23bb3c(0x125))/0x8)+parseInt(_0x23bb3c(0x1f8))/0x9+-parseInt(_0x23bb3c(0xd7))/0xa*(parseInt(_0x23bb3c(0x173))/0xb);if(_0x3ba183===_0x82563e)break;else _0x943112['push'](_0x943112['shift']());}catch(_0x29a20b){_0x943112['push'](_0x943112['shift']());}}}(_0x339f,0x94495));var Fe=Object['defineProperty'],Ye=(_0x374108,_0x491647,_0xbdf1b0)=>_0x491647 in _0x374108?Fe(_0x374108,_0x491647,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xbdf1b0}):_0x374108[_0x491647]=_0xbdf1b0,l=(_0x506dbd,_0xa763ce,_0x2a815b)=>Ye(_0x506dbd,typeof _0xa763ce!=_0x291ff7(0x1b9)?_0xa763ce+'':_0xa763ce,_0x2a815b);import{RevertRevisionMutation as _0x48ed8f,CreateUnitMutation as _0x452a60,ISnapshotServerService as _0x3e0615,CompressMutationService as _0x4c4563,transformSnapshotToWorkbookData as _0x289f9f,ITransformService as _0x19c5f6,parseProtocolChangeset as _0x2f66e9,isTransformMutationsSuccess as _0x349598}from'@univerjs-pro/collaboration';import{SnapshotServerOverHTTPService as _0x53d817,CollaborationImageIoService as _0x241426}from'@univerjs-pro/collaboration-client';import{Disposable as _0x11deb0,LocaleType as _0x50b069,IUniverInstanceService as _0x2c61dc,ICommandService as _0x5e17e2,IConfigService as _0x3881f4,Inject as _0x2022d4,UniverInstanceType as _0x8f2e34,LocaleService as _0x1020e3,IPermissionService as _0x56b0e1,Injector as _0xb0321,ObjectMatrix as _0x3c4fcc,debounce as _0x42f69c,DisposableCollection as _0x12a473,toDisposable as _0x162272,DependentOn as _0x1c2b50,Plugin as _0x33b2eb,merge as _0x4e506c}from'@univerjs/core';import{IImageIoService as _0x42d1ba}from'@univerjs/drawing';import{IRenderManagerService as _0x46a742,Vector2 as _0x551742,SHEET_VIEWPORT_KEY as _0x4ea397}from'@univerjs/engine-render';import{HTTPService as _0x268125,UniverNetworkPlugin as _0x4168f4}from'@univerjs/network';import{ICellEditorManagerService as _0x2a52f5,SheetSkeletonManagerService as _0x5f036f,getCoordByCell as _0x38b01b,getSheetObject as _0xbb1ad,UniverSheetsUIPlugin as _0x5b8031}from'@univerjs/sheets-ui';import{IMessageService as _0x1bb12d,IConfirmService as _0x1b41c4,useDependency as _0x48a345,useObservable as _0x49cdc2,IUIPartsService as _0x3f202c,BuiltInUIPart as _0x18dda2,connectInjector as _0x3c6030,ISidebarService as _0x3e94de,ComponentManager as _0x2dfa89,IDialogService as _0x421f0f}from'@univerjs/ui';import{MessageType as _0x484b4c,clsx as _0x18690d,Button as _0x32a7e9,borderBottomClassName as _0x1261af,Tooltip as _0x53a520}from'@univerjs/design';import{InsertSheetMutation as _0x144c2e,RemoveSheetMutation as _0x5e4bd4,SetFrozenMutation as _0x4a287b,AddWorksheetProtectionMutation as _0x3b91f1,AddRangeProtectionMutation as _0x1d39a4,DeleteRangeProtectionMutation as _0x416c6b,DeleteWorksheetProtectionMutation as _0x1b6c21,WorkbookEditablePermission as _0x27dd26,WorkbookRenameSheetPermission as _0x4f1f97,WorkbookMoveSheetPermission as _0x5b5433,WorkbookHideSheetPermission as _0x1cd2d9,SetWorksheetHideMutation as _0x3b67f4,SetRangeValuesMutation as _0x5d7caa,SetRangeProtectionMutation as _0x462739,ReorderRangeMutation as _0x4567f0,RemoveNumfmtMutation as _0x5603cd,SetNumfmtMutation as _0x3a42f6,MoveColsMutation as _0x56bd35,MoveRowsMutation as _0x2bf768,MoveRangeMutation as _0x5e3e97,InsertColMutation as _0x5849ac,InsertRowMutation as _0x4ff737,AddWorksheetMergeMutation as _0x23da3e,RangeMergeUtil as _0x1b14b2,findAllRectangle as _0x14e5db,SetWorksheetActiveOperation as _0x298e3c}from'@univerjs/sheets';import{BehaviorSubject as _0x24ce11,combineLatest as _0x3f1df5,switchMap as _0x59b8fb,map as _0x1e9a1d,of as _0x41e039,debounceTime as _0x53f693,Subject as _0x394e05}from'rxjs';import{AddSheetSparklineMutation as _0x37549f}from'@univerjs-pro/sheets-sparkline';import{AddDataValidationMutation as _0x5ba101,UpdateDataValidationMutation as _0x54f095}from'@univerjs/data-validation';import{SetConditionalRuleMutation as _0x5c79fa,AddConditionalRuleMutation as _0xe4467}from'@univerjs/sheets-conditional-formatting';import{SetSheetsFilterRangeMutation as _0x409037}from'@univerjs/sheets-filter';import{jsxs as _0x10934a,jsx as _0x2746d5}from'react/jsx-runtime';import{forwardRef as _0x40d74d,useRef as _0x510621,createElement as _0xed4bbc,useCallback as _0x6c653,useState as _0x575497,Fragment as _0x33d486}from'react';import{SheetCollabCursorShape as _0x1d8fdb}from'@univerjs-pro/collaboration-client-ui';const we='edit-history-viewer.config',_e={};var ss=Object['getOwnPropertyDescriptor'],is=(_0x259faf,_0x3142c6,_0x17070e,_0x4ea9de)=>{const _0xadbc8f=_0x291ff7;for(var _0x89e0e=_0x4ea9de>0x1?void 0x0:_0x4ea9de?ss(_0x3142c6,_0x17070e):_0x3142c6,_0x4a7761=_0x259faf[_0xadbc8f(0x1c9)]-0x1,_0x5342ad;_0x4a7761>=0x0;_0x4a7761--)(_0x5342ad=_0x259faf[_0x4a7761])&&(_0x89e0e=_0x5342ad(_0x89e0e)||_0x89e0e);return _0x89e0e;},rs=(_0x45f869,_0x362d68)=>(_0x3bf5de,_0x30a39e)=>_0x362d68(_0x3bf5de,_0x30a39e,_0x45f869);let H=class extends _0x11deb0{constructor(_0x464d98){const _0x295886=_0x291ff7;super(),this[_0x295886(0x182)]=_0x464d98,this[_0x295886(0x210)]();}[_0x291ff7(0x210)](){const _0x36c873=_0x291ff7;this[_0x36c873(0x1e3)](this[_0x36c873(0x182)][_0x36c873(0x1e7)][_0x36c873(0x1c0)](_0x1ab919=>{const _0x458215=_0x36c873;_0x1ab919!=null&&_0x1ab919[_0x458215(0x262)]&&this[_0x458215(0x182)][_0x458215(0x24e)]({'show':!0x1});}));}};H=is([rs(0x0,_0x2a52f5)],H);var X=(_0x17b766=>(_0x17b766[_0x17b766['UNDEFINED']=0x0]=_0x291ff7(0x15d),_0x17b766[_0x17b766['OK']=0x1]='OK',_0x17b766[_0x17b766[_0x291ff7(0x103)]=0x2]=_0x291ff7(0x103),_0x17b766[_0x17b766[_0x291ff7(0x139)]=0x3]='PERMISSION_DENIED',_0x17b766[_0x17b766[_0x291ff7(0x27f)]=0x4]=_0x291ff7(0x27f),_0x17b766[_0x17b766[_0x291ff7(0x14e)]=0x5]='UNAUTHENTICATED',_0x17b766[_0x17b766[_0x291ff7(0x154)]=0x6]=_0x291ff7(0x154),_0x17b766[_0x17b766[_0x291ff7(0x220)]=0x7]=_0x291ff7(0x220),_0x17b766[_0x17b766[_0x291ff7(0x1a7)]=0x8]=_0x291ff7(0x1a7),_0x17b766[_0x17b766[_0x291ff7(0x122)]=0x9]=_0x291ff7(0x122),_0x17b766[_0x17b766['LOGIN_FAILED']=0xa]=_0x291ff7(0x218),_0x17b766[_0x17b766[_0x291ff7(0x1dc)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x17b766[_0x17b766['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x291ff7(0x184),_0x17b766[_0x17b766[_0x291ff7(0xe6)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x17b766[_0x17b766[_0x291ff7(0x212)]=0xe]=_0x291ff7(0x212),_0x17b766[_0x17b766[_0x291ff7(0x1ab)]=0x1389]=_0x291ff7(0x1ab),_0x17b766[_0x17b766[_0x291ff7(0x171)]=0x1771]=_0x291ff7(0x171),_0x17b766[_0x17b766[_0x291ff7(0x117)]=0x1772]=_0x291ff7(0x117),_0x17b766[_0x17b766[_0x291ff7(0x26b)]=0x1773]=_0x291ff7(0x26b),_0x17b766[_0x17b766[_0x291ff7(0x216)]=0x1b59]=_0x291ff7(0x216),_0x17b766[_0x17b766[_0x291ff7(0xd1)]=0x1b5a]=_0x291ff7(0xd1),_0x17b766[_0x17b766[_0x291ff7(0x18e)]=0x1b5b]=_0x291ff7(0x18e),_0x17b766[_0x17b766['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x291ff7(0x166),_0x17b766[_0x17b766[_0x291ff7(0x188)]=0x1b5d]=_0x291ff7(0x188),_0x17b766[_0x17b766[_0x291ff7(0x1ac)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x17b766[_0x17b766[_0x291ff7(0x17a)]=0x2329]=_0x291ff7(0x17a),_0x17b766[_0x17b766[_0x291ff7(0x1a0)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x17b766[_0x17b766[_0x291ff7(0xfa)]=0x232b]=_0x291ff7(0xfa),_0x17b766[_0x17b766[_0x291ff7(0x158)]=0x232c]=_0x291ff7(0x158),_0x17b766[_0x17b766[_0x291ff7(0x180)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x17b766[_0x17b766[_0x291ff7(0x144)]=0x2711]=_0x291ff7(0x144),_0x17b766[_0x17b766[_0x291ff7(0x18a)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x17b766[_0x17b766['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x291ff7(0x18f),_0x17b766[_0x17b766[_0x291ff7(0x24d)]=0x2714]=_0x291ff7(0x24d),_0x17b766[_0x17b766[_0x291ff7(0x1f2)]=0x271a]=_0x291ff7(0x1f2),_0x17b766[_0x17b766[_0x291ff7(0x133)]=0x271b]=_0x291ff7(0x133),_0x17b766[_0x17b766['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x291ff7(0x1cf),_0x17b766[_0x17b766['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x291ff7(0xe9),_0x17b766[_0x17b766['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x291ff7(0x192),_0x17b766[_0x17b766[_0x291ff7(0x165)]=0x271f]=_0x291ff7(0x165),_0x17b766[_0x17b766['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x17b766[_0x17b766[_0x291ff7(0x194)]=0x2af9]=_0x291ff7(0x194),_0x17b766[_0x17b766['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x291ff7(0x263),_0x17b766[_0x17b766[_0x291ff7(0x185)]=0x2ee2]=_0x291ff7(0x185),_0x17b766[_0x17b766['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x17b766[_0x17b766['USER_NOT_INVITED_CODE']=0x2ee4]=_0x291ff7(0x1b4),_0x17b766[_0x17b766[_0x291ff7(0x26d)]=0x2ee5]=_0x291ff7(0x26d),_0x17b766[_0x17b766['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x291ff7(0x1d6),_0x17b766[_0x17b766[_0x291ff7(0x24b)]=0x32ca]=_0x291ff7(0x24b),_0x17b766[_0x17b766[_0x291ff7(0x150)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x17b766[_0x17b766[_0x291ff7(0x225)]=-0x1]=_0x291ff7(0x225),_0x17b766))(X||{}),F=(_0x432384=>(_0x432384[_0x432384[_0x291ff7(0x15c)]=0x0]=_0x291ff7(0x15c),_0x432384[_0x432384[_0x291ff7(0x153)]=0x1]='UNIVER_DOC',_0x432384[_0x432384[_0x291ff7(0x12a)]=0x2]=_0x291ff7(0x12a),_0x432384[_0x432384[_0x291ff7(0x271)]=0x3]=_0x291ff7(0x271),_0x432384[_0x432384[_0x291ff7(0x255)]=0x4]=_0x291ff7(0x255),_0x432384[_0x432384[_0x291ff7(0x225)]=-0x1]=_0x291ff7(0x225),_0x432384))(F||{}),b=(_0x1e5ad9=>(_0x1e5ad9[_0x1e5ad9[_0x291ff7(0x286)]=0x0]=_0x291ff7(0x286),_0x1e5ad9[_0x1e5ad9[_0x291ff7(0x27a)]=0x1]=_0x291ff7(0x27a),_0x1e5ad9[_0x1e5ad9['ManageCollaborator']=0x2]=_0x291ff7(0x246),_0x1e5ad9[_0x1e5ad9[_0x291ff7(0x1f5)]=0x3]=_0x291ff7(0x1f5),_0x1e5ad9[_0x1e5ad9[_0x291ff7(0xdc)]=0x4]=_0x291ff7(0xdc),_0x1e5ad9[_0x1e5ad9[_0x291ff7(0x121)]=0x5]=_0x291ff7(0x121),_0x1e5ad9[_0x1e5ad9['Copy']=0x6]=_0x291ff7(0x141),_0x1e5ad9[_0x1e5ad9[_0x291ff7(0x10b)]=0x7]=_0x291ff7(0x10b),_0x1e5ad9[_0x1e5ad9[_0x291ff7(0x1e5)]=0x8]='Export',_0x1e5ad9[_0x1e5ad9[_0x291ff7(0x20c)]=0x9]=_0x291ff7(0x20c),_0x1e5ad9[_0x1e5ad9[_0x291ff7(0x17f)]=0xa]='DeleteWorksheet',_0x1e5ad9[_0x1e5ad9[_0x291ff7(0x268)]=0xb]=_0x291ff7(0x268),_0x1e5ad9[_0x1e5ad9[_0x291ff7(0x21b)]=0xc]='RenameWorksheet',_0x1e5ad9[_0x1e5ad9[_0x291ff7(0x18d)]=0xd]=_0x291ff7(0x18d),_0x1e5ad9[_0x1e5ad9[_0x291ff7(0x1c2)]=0xe]=_0x291ff7(0x1c2),_0x1e5ad9[_0x1e5ad9[_0x291ff7(0xff)]=0xf]=_0x291ff7(0xff),_0x1e5ad9[_0x1e5ad9[_0x291ff7(0x20f)]=0x10]='InsertHyperlink',_0x1e5ad9[_0x1e5ad9['Sort']=0x11]='Sort',_0x1e5ad9[_0x1e5ad9[_0x291ff7(0x12b)]=0x12]=_0x291ff7(0x12b),_0x1e5ad9[_0x1e5ad9['PivotTable']=0x13]=_0x291ff7(0x1ca),_0x1e5ad9[_0x1e5ad9[_0x291ff7(0x24c)]=0x14]='FloatImg',_0x1e5ad9[_0x1e5ad9['History']=0x15]=_0x291ff7(0x12f),_0x1e5ad9[_0x1e5ad9[_0x291ff7(0x1c7)]=0x16]=_0x291ff7(0x1c7),_0x1e5ad9[_0x1e5ad9[_0x291ff7(0x1fc)]=0x17]=_0x291ff7(0x1fc),_0x1e5ad9[_0x1e5ad9['ViewFilter']=0x18]='ViewFilter',_0x1e5ad9[_0x1e5ad9[_0x291ff7(0x217)]=0x19]=_0x291ff7(0x217),_0x1e5ad9[_0x1e5ad9['DeleteSheet']=0x1a]='DeleteSheet',_0x1e5ad9[_0x1e5ad9[_0x291ff7(0x25e)]=0x1b]=_0x291ff7(0x25e),_0x1e5ad9[_0x1e5ad9[_0x291ff7(0x164)]=0x1c]=_0x291ff7(0x164),_0x1e5ad9[_0x1e5ad9['RenameSheet']=0x1d]=_0x291ff7(0x19b),_0x1e5ad9[_0x1e5ad9['CreateSheet']=0x1e]=_0x291ff7(0x1bd),_0x1e5ad9[_0x1e5ad9['SelectProtectedCells']=0x1f]=_0x291ff7(0x11f),_0x1e5ad9[_0x1e5ad9['SelectUnProtectedCells']=0x20]='SelectUnProtectedCells',_0x1e5ad9[_0x1e5ad9[_0x291ff7(0x1a8)]=0x21]=_0x291ff7(0x1a8),_0x1e5ad9[_0x1e5ad9[_0x291ff7(0x1e0)]=0x22]=_0x291ff7(0x1e0),_0x1e5ad9[_0x1e5ad9['SetRowStyle']=0x23]=_0x291ff7(0x1a2),_0x1e5ad9[_0x1e5ad9[_0x291ff7(0x230)]=0x24]=_0x291ff7(0x230),_0x1e5ad9[_0x1e5ad9['InsertRow']=0x25]=_0x291ff7(0x197),_0x1e5ad9[_0x1e5ad9['InsertColumn']=0x26]=_0x291ff7(0x251),_0x1e5ad9[_0x1e5ad9[_0x291ff7(0x206)]=0x27]=_0x291ff7(0x206),_0x1e5ad9[_0x1e5ad9[_0x291ff7(0x172)]=0x28]='DeleteColumn',_0x1e5ad9[_0x1e5ad9[_0x291ff7(0x1ff)]=0x29]=_0x291ff7(0x1ff),_0x1e5ad9[_0x1e5ad9['Delete']=0x2a]='Delete',_0x1e5ad9[_0x1e5ad9[_0x291ff7(0x1de)]=0x2b]=_0x291ff7(0x1de),_0x1e5ad9[_0x1e5ad9[_0x291ff7(0x13c)]=0x2c]=_0x291ff7(0x13c),_0x1e5ad9[_0x1e5ad9['CreatePermissionObject']=0x2d]='CreatePermissionObject',_0x1e5ad9[_0x1e5ad9[_0x291ff7(0x225)]=-0x1]=_0x291ff7(0x225),_0x1e5ad9))(b||{});function ns(_0x2c126e){const _0x3b10ec=_0x291ff7;return!!(_0x2c126e&&_0x2c126e['code']&&_0x2c126e['code']!==X['OK']&&_0x2c126e[_0x3b10ec(0x17b)]!=='OK');}const re=(_0x591f57,_0x2011df)=>{const _0x186fa7=_0x291ff7;if(!_0x591f57)return{'date':'','time':''};const _0x68fef9=new Date(_0x591f57),_0x555b27=_0x68fef9[_0x186fa7(0xfb)]()[_0x186fa7(0x26f)]('T')[0x0];switch(_0x2011df){case _0x50b069[_0x186fa7(0x240)]:return{'date':ee(_0x555b27,_0x2011df),'time':_0x68fef9[_0x186fa7(0x14f)]()+':'+String(_0x68fef9[_0x186fa7(0x235)]())[_0x186fa7(0x276)](0x2,'0')};default:return{'date':ee(_0x555b27,_0x2011df),'time':_0x68fef9[_0x186fa7(0x14f)]()+':'+_0x68fef9['getMinutes']()};}},as=(_0x1728b6,_0x1bfbcc)=>{const _0x5ea3f3=_0x291ff7,_0x3ffb94=_0x1728b6[_0x5ea3f3(0x114)]||_0x1bfbcc['t'](_0x5ea3f3(0x1f6));if(_0x1728b6[_0x5ea3f3(0x1b5)][_0x5ea3f3(0x174)](_0x53a3cf=>_0x53a3cf===_0x48ed8f['id'])&&_0x1728b6[_0x5ea3f3(0xd9)]){const _0x5091bc=re(_0x1728b6['recoverTime'],_0x1bfbcc['getCurrentLocale']()),_0x5a6c9d=_0x5091bc[_0x5ea3f3(0xed)]+'\x20'+_0x5091bc['time'];return _0x3ffb94+'\x20'+_0x1bfbcc['t'](_0x5ea3f3(0x104))+'\x20'+_0x5a6c9d+'\x20'+_0x1bfbcc['t'](_0x5ea3f3(0x1bc));}const _0x504e29=os(_0x1728b6),_0x598ece=_0x504e29[_0x5ea3f3(0x1c9)]===0x1?_0x1bfbcc['t'](_0x504e29[0x0]):''+_0x1bfbcc['t'](_0x504e29[0x0])+_0x1bfbcc['t'](_0x5ea3f3(0x248));return _0x3ffb94+'\x20'+_0x598ece;};function os(_0x456a25){const _0x193229=_0x291ff7;if(_0x456a25[_0x193229(0x1b5)][_0x193229(0x1c9)]===0x0)return[''];const _0x434020='editHistory.action.',_0x3d0e3f=_0x434020+'editSheet',_0x302b9b=[{'id':_0x452a60['id'],'action':_0x434020+_0x193229(0x1ec)},{'id':_0x48ed8f['id'],'action':_0x434020+_0x193229(0x1df)},{'id':_0x144c2e['id'],'action':_0x434020+_0x193229(0x10f)},{'id':_0x5e4bd4['id'],'action':_0x434020+_0x193229(0x1d5)},{'id':_0x4a287b['id'],'action':_0x434020+'setFrozen'},{'id':_0x409037['id'],'action':_0x434020+_0x193229(0x254)},{'id':_0x5ba101['id'],'action':_0x434020+_0x193229(0x231)},{'id':_0x54f095['id'],'action':_0x434020+'setDV'},{'id':_0x5c79fa['id'],'action':_0x434020+_0x193229(0x207)},{'id':_0xe4467['id'],'action':_0x434020+_0x193229(0x207)},{'id':_0x3b91f1['id'],'action':_0x434020+_0x193229(0x219)},{'id':_0x1d39a4['id'],'action':_0x434020+_0x193229(0x219)},{'id':_0x37549f['id'],'action':_0x434020+_0x193229(0xdb)},{'id':_0x416c6b['id'],'action':_0x434020+_0x193229(0x1c5)},{'id':_0x1b6c21['id'],'action':_0x434020+_0x193229(0x1c5)}][_0x193229(0x193)](_0x19c678=>_0x456a25[_0x193229(0x1b5)]['includes'](_0x19c678['id']));return _0x302b9b!=null&&_0x302b9b[_0x193229(0x1c9)]?_0x302b9b['map'](_0x5943d8=>_0x5943d8[_0x193229(0x19d)]):[_0x3d0e3f];}function ee(_0x3f4268,_0x1b3894){const _0x27d9d5=_0x291ff7,[_0x4970e6,_0x2db6b1,_0x469e00]=new Date()[_0x27d9d5(0xfb)]()[_0x27d9d5(0x26f)]('T')[0x0][_0x27d9d5(0x26f)]('-'),[_0x554df1,_0xd5b672,_0x2afcb3]=_0x3f4268[_0x27d9d5(0x26f)]('-'),_0x427df9=_0x4970e6===_0x554df1&&_0x2db6b1===_0xd5b672&&_0x469e00===_0x2afcb3;let _0x4b95f4='',_0x237248='',_0x2c322d='';switch(_0x1b3894){case _0x50b069[_0x27d9d5(0x240)]:return _0x427df9?'今天':(_0x4b95f4=_0x4970e6===_0x554df1?'':_0x554df1+'年',_0x237248=_0xd5b672+'月',_0x2c322d=_0x2afcb3+'日',''+_0x4b95f4+_0x237248+_0x2c322d);default:return _0x427df9?_0x27d9d5(0x10d):(_0x4b95f4=_0x4970e6===_0x554df1?'':_0x554df1+'-',_0x237248=_0xd5b672+'-',_0x2c322d=''+_0x2afcb3,''+_0x4b95f4+_0x237248+_0x2c322d);}}function cs(_0xa3fd4c){const _0x479f92=_0x291ff7;return _0xa3fd4c?_0xa3fd4c[_0x479f92(0x265)]((_0x4a2781,_0x4317c5)=>{const _0x1db27c=_0x479f92,_0x1702f9=new Date(_0x4317c5[_0x1db27c(0x1c4)])['toISOString']()[_0x1db27c(0x26f)]('T')[0x0];return _0x4a2781[_0x1db27c(0x1c9)]>0x0&&_0x4a2781[_0x4a2781['length']-0x1][_0x1db27c(0x108)]===_0x1702f9?_0x4a2781[_0x4a2781[_0x1db27c(0x1c9)]-0x1][_0x1db27c(0x12c)][_0x1db27c(0x1d7)](_0x4317c5):_0x4a2781[_0x1db27c(0x1d7)]({'dateString':_0x1702f9,'versions':[_0x4317c5]}),_0x4a2781;},[]):[];}var ls=Object[_0x291ff7(0x189)],us=(_0x4bd209,_0x662ebd,_0x211c4f,_0x16ecc0)=>{for(var _0x1439fa=_0x16ecc0>0x1?void 0x0:_0x16ecc0?ls(_0x662ebd,_0x211c4f):_0x662ebd,_0x2f3aa7=_0x4bd209['length']-0x1,_0x1db806;_0x2f3aa7>=0x0;_0x2f3aa7--)(_0x1db806=_0x4bd209[_0x2f3aa7])&&(_0x1439fa=_0x1db806(_0x1439fa)||_0x1439fa);return _0x1439fa;},D=(_0x34191c,_0x981c17)=>(_0x434a65,_0x147065)=>_0x981c17(_0x434a65,_0x147065,_0x34191c);const _s='/universer-api/history';let Y=class extends _0x11deb0{constructor(_0x2c1a5c,_0x83548f,_0x236c1a,_0x307091,_0x4dc5fe,_0x16004f){const _0x36b9c7=_0x291ff7;super(),l(this,_0x36b9c7(0x256),new Map()),(this[_0x36b9c7(0x16c)]=_0x2c1a5c,this[_0x36b9c7(0x1cb)]=_0x83548f,this['_commandService']=_0x236c1a,this[_0x36b9c7(0x1f7)]=_0x307091,this['_httpService']=_0x4dc5fe,this[_0x36b9c7(0x229)]=_0x16004f);}[_0x291ff7(0x243)](){const _0x49ad9a=_0x291ff7;this[_0x49ad9a(0x256)][_0x49ad9a(0x1fa)](),super[_0x49ad9a(0x243)]();}async['getVersions'](_0x3267ca,_0x65dd37){const _0x15a71b=_0x291ff7,_0x46936d=this[_0x15a71b(0x25f)]()+'/'+_0x3267ca+'/list?length=20'+(_0x65dd37?'&lastLabel='+_0x65dd37:'');try{const _0x10535d=(await this['_httpService'][_0x15a71b(0x106)](_0x46936d))[_0x15a71b(0x1ea)];if(_0x10535d&&_0x10535d[_0x15a71b(0x102)]&&_0x10535d[_0x15a71b(0x102)][_0x15a71b(0x17b)]===X['OK']){const {hasMore:_0x30e016,lastLabel:_0x34b04d}=_0x10535d,_0x20ab39=hs(_0x10535d),_0x12fba3=_0x10535d['entities'][_0x15a71b(0x247)];return{'hasMore':_0x30e016,'lastLabel':_0x34b04d,'versions':_0x20ab39,'members':_0x12fba3};}}catch(_0x19eafc){console[_0x15a71b(0x102)](_0x19eafc);}return null;}['_getAPIPrefix'](){const _0x502060=_0x291ff7;var _0x5137b5;const _0x268067=this[_0x502060(0x1f7)][_0x502060(0x209)](we);return(_0x5137b5=_0x268067==null?void 0x0:_0x268067[_0x502060(0x134)])!=null?_0x5137b5:_s;}async[_0x291ff7(0x201)](_0x43ee14,_0x273829,_0x337345){const _0x473608=_0x291ff7;var _0x389f0a,_0x4dd79d;_0x337345===void 0x0&&(_0x337345={}),this[_0x473608(0x256)][_0x473608(0x1c3)](_0x43ee14)||this[_0x473608(0x256)][_0x473608(0x24a)](_0x43ee14,new Map());const {snapshot:_0x5b1004,changesets:_0x5cd86e,error:_0x4bb7e0}=await this['_snapshotServerService'][_0x473608(0x187)](_0x337345,{'unitID':_0x43ee14,'type':F[_0x473608(0x12a)],'revision':_0x273829});if(ns(_0x4bb7e0)||!_0x5b1004||!_0x5b1004[_0x473608(0x170)])throw new Error('[HistoryFetchService]:\x20request\x20snapshot\x20error!');const _0x581b49=(_0x389f0a=_0x5cd86e==null?void 0x0:_0x5cd86e[_0x473608(0x1c9)])!=null?_0x389f0a:0x0;if(_0x273829!==0x0&&_0x5b1004[_0x473608(0x281)]+_0x581b49!==_0x273829)throw new Error(_0x473608(0x202));const {workbook:_0x514377}=_0x5b1004,_0x4e4dd9=_0x514377[_0x473608(0x130)]?Object[_0x473608(0x15b)](_0x514377[_0x473608(0x130)])[_0x473608(0x1a4)](([_0x261d32,_0xb9af7c])=>{const _0x35f10a=_0x473608;var _0x493983,_0x253cbb;return(_0x253cbb=(_0x493983=_0xb9af7c[_0x35f10a(0xdf)])==null?void 0x0:_0x493983[_0x35f10a(0x1a4)](_0xad6436=>_0xad6436))!=null?_0x253cbb:[];})[_0x473608(0x267)]():[],_0x135ddd=(await Promise[_0x473608(0x25c)](_0x4e4dd9['map'](_0x947401=>this['_snapshotServerService'][_0x473608(0xea)](_0x337345,{'unitID':_0x43ee14,'type':F[_0x473608(0x12a)],'blockID':_0x947401})[_0x473608(0x12d)](_0x4c4bb4=>_0x4c4bb4[_0x473608(0x14b)]))))[_0x473608(0x193)](_0x52c2fa=>!!_0x52c2fa),_0x925ad8=_0x289f9f(_0x5b1004,_0x135ddd,_0x337345);return(_0x4dd79d=this[_0x473608(0x256)]['get'](_0x43ee14))==null||_0x4dd79d[_0x473608(0x24a)](_0x273829,{'workbook':_0x925ad8}),new Promise(_0x3154d6=>{const _0xe57f20=_0x473608,_0x5a8e7e=this[_0xe57f20(0x1cb)]['getCurrentUnitForType'](_0x8f2e34['UNIVER_SHEET']);_0x5a8e7e?(this[_0xe57f20(0x1cb)][_0xe57f20(0x16d)](_0x5a8e7e[_0xe57f20(0xda)]()),setTimeout(()=>{const _0xd3334f=_0xe57f20;this[_0xd3334f(0x161)](_0x925ad8,_0x5cd86e),_0x3154d6(!0x0);},0x0)):(this['_createUnit'](_0x925ad8,_0x5cd86e),_0x3154d6(!0x0));});}['_createUnit'](_0x575458,_0x1f360d){const _0x313ace=_0x291ff7,_0x3217ec=this[_0x313ace(0x1cb)][_0x313ace(0x221)](_0x8f2e34[_0x313ace(0x12a)],_0x575458);this[_0x313ace(0x1cb)]['focusUnit'](_0x3217ec['getUnitId']());const _0x421adc=this[_0x313ace(0x229)]['interceptor'][_0x313ace(0x145)](this[_0x313ace(0x229)][_0x313ace(0x126)][_0x313ace(0xd4)]()['COMPRESS_MUTATION_APPLY']);return _0x1f360d==null||_0x1f360d[_0x313ace(0xce)](_0x2f6f45=>{const _0x36a18d=_0x313ace,_0x2a8962=_0x2f6f45[_0x36a18d(0x138)][_0x36a18d(0x1a4)](_0xbaee8=>({'id':_0xbaee8['id'],'params':JSON[_0x36a18d(0x1d9)](_0xbaee8['data'])}));({..._0x2f6f45,'mutations':_0x421adc(_0x2a8962,null)||_0x2a8962}[_0x36a18d(0x138)]['forEach'](_0x4c8984=>{const _0x13001f=_0x36a18d;this[_0x13001f(0x23d)][_0x13001f(0x227)](_0x4c8984['id'])&&this[_0x13001f(0x23d)][_0x13001f(0x190)](_0x4c8984['id'],_0x4c8984[_0x13001f(0x1b8)]);}));}),_0x3217ec;}};Y=us([D(0x0,_0x3e0615),D(0x1,_0x2c61dc),D(0x2,_0x5e17e2),D(0x3,_0x3881f4),D(0x4,_0x2022d4(_0x268125)),D(0x5,_0x2022d4(_0x4c4563))],Y);function hs(_0x2ec2fe){const _0x5498b6=_0x291ff7;var _0x3b0601,_0x5066d8;const _0x562dbf=[],{entities:_0x1f068d,historyIds:_0x575187}=_0x2ec2fe,{datas:_0x4f5953,users:_0x3f92c6}=_0x1f068d;for(const _0x48f4ba of _0x575187)if(_0x4f5953[_0x48f4ba]){const _0x11bcaf=!!((_0x3b0601=_0x3f92c6[_0x4f5953[_0x48f4ba][_0x5498b6(0x13e)]])!=null&&_0x3b0601['anonymous']);_0x562dbf[_0x5498b6(0x1d7)]({'unitId':_0x4f5953[_0x48f4ba][_0x5498b6(0x21f)],'user':_0x11bcaf?'':((_0x5066d8=_0x3f92c6==null?void 0x0:_0x3f92c6[_0x4f5953[_0x48f4ba][_0x5498b6(0x13e)]])==null?void 0x0:_0x5066d8['name'])||'','isAnonymous':_0x11bcaf,'id':_0x48f4ba,'time':_0x4f5953[_0x48f4ba][_0x5498b6(0x16b)]?Number(_0x4f5953[_0x48f4ba][_0x5498b6(0x16b)]):void 0x0,'commands':_0x4f5953[_0x48f4ba][_0x5498b6(0x23b)],'startRev':Number(_0x4f5953[_0x48f4ba][_0x5498b6(0xe5)]),'endRev':Number(_0x4f5953[_0x48f4ba]['endRevision']),'recoverTime':_0x4f5953[_0x48f4ba]['recoverTime']?Number(_0x4f5953[_0x48f4ba]['recoverTime']):void 0x0});}return _0x562dbf;}var ds=Object['getOwnPropertyDescriptor'],vs=(_0x54e7b6,_0x414118,_0x5f37c5,_0x334be4)=>{const _0x3195cf=_0x291ff7;for(var _0x2ada0d=_0x334be4>0x1?void 0x0:_0x334be4?ds(_0x414118,_0x5f37c5):_0x414118,_0x108f5d=_0x54e7b6[_0x3195cf(0x1c9)]-0x1,_0xbe053;_0x108f5d>=0x0;_0x108f5d--)(_0xbe053=_0x54e7b6[_0x108f5d])&&(_0x2ada0d=_0xbe053(_0x2ada0d)||_0x2ada0d);return _0x2ada0d;},V=(_0xb5d48a,_0x1c3cfa)=>(_0x3d6764,_0x3037f8)=>_0x1c3cfa(_0x3d6764,_0x3037f8,_0xb5d48a),ne=(_0x303cde=>(_0x303cde[_0x291ff7(0x1d1)]='entered',_0x303cde[_0x291ff7(0x252)]=_0x291ff7(0x17d),_0x303cde['Error']=_0x291ff7(0x102),_0x303cde))(ne||{}),T=(_0x52bd2f=>(_0x52bd2f[_0x291ff7(0xcc)]='init',_0x52bd2f[_0x291ff7(0x1f9)]='loading',_0x52bd2f[_0x291ff7(0x127)]=_0x291ff7(0x228),_0x52bd2f))(T||{});const fs='VIRTUAL_VERSION_NOW';let E=class extends _0x11deb0{constructor(_0x26dc7b,_0x1b5e1c,_0x361428,_0x497f34){const _0x4b0398=_0x291ff7;super(),l(this,'_versions$',new _0x24ce11([])),l(this,_0x4b0398(0x215),this[_0x4b0398(0x232)]['asObservable']()),l(this,'_currentVersion$',new _0x24ce11('')),l(this,_0x4b0398(0x208),this[_0x4b0398(0x1b7)][_0x4b0398(0xd0)]()),l(this,_0x4b0398(0x1f3),new _0x24ce11('entered')),l(this,_0x4b0398(0xfc),this[_0x4b0398(0x1f3)][_0x4b0398(0xd0)]()),l(this,_0x4b0398(0x1b1),new _0x24ce11(0x0)),l(this,_0x4b0398(0x21e),this['_revertRevision$'][_0x4b0398(0xd0)]()),l(this,_0x4b0398(0x253),new _0x24ce11('')),l(this,_0x4b0398(0xf3),this[_0x4b0398(0x253)][_0x4b0398(0xd0)]()),l(this,'_fetching',!0x1),l(this,_0x4b0398(0x1eb),new _0x24ce11('init')),l(this,'loadingState$',this[_0x4b0398(0x1eb)][_0x4b0398(0xd0)]()),l(this,_0x4b0398(0x234),null),l(this,'_hasMore',!0x0),l(this,_0x4b0398(0x244),new Map()),l(this,_0x4b0398(0x1bb)),l(this,_0x4b0398(0x258)),l(this,_0x4b0398(0x157)),l(this,_0x4b0398(0x1f0),!0x1),(this[_0x4b0398(0x143)]=_0x26dc7b,this[_0x4b0398(0x168)]=_0x1b5e1c,this[_0x4b0398(0x110)]=_0x361428,this[_0x4b0398(0x279)]=_0x497f34);}async[_0x291ff7(0x14c)](_0x53440e,_0x2f2e6c,_0x5837c5){const _0x29a2db=_0x291ff7;this['_historyContainerId']=_0x2f2e6c,this[_0x29a2db(0x1f0)]=_0x5837c5,this[_0x29a2db(0x253)][_0x29a2db(0x238)](_0x53440e),this[_0x29a2db(0x264)]=!0x0;const _0x5ec95d=await this[_0x29a2db(0x279)]['getVersions'](_0x53440e);if(this[_0x29a2db(0x264)]=!0x1,_0x5ec95d){const {versions:_0x47850e,lastLabel:_0x163091,hasMore:_0x47b3b7,members:_0x28bec3}=_0x5ec95d;_0x47850e[_0x29a2db(0x1c9)]===0x0&&_0x47850e[_0x29a2db(0x1d7)]({'unitId':_0x53440e,'id':fs,'startRev':0x1,'endRev':0x0,'time':Date['now'](),'user':this['_localeService']['t'](_0x29a2db(0x137)),'commands':[],'isAnonymous':!0x1}),this[_0x29a2db(0x196)](_0x47850e,_0x47b3b7,_0x163091,_0x28bec3),this[_0x29a2db(0x1b7)][_0x29a2db(0x238)](_0x47850e[0x0]['id']);}else this[_0x29a2db(0x1f3)][_0x29a2db(0x238)]('error');}async['loadMoreVersions'](){const _0x27a537=_0x291ff7;if(!this[_0x27a537(0x234)]||!this[_0x27a537(0x13a)]||this[_0x27a537(0x264)])return!0x1;this[_0x27a537(0x264)]=!0x0;const _0x4d167a=await this[_0x27a537(0x279)][_0x27a537(0x160)](this['unitId'],this[_0x27a537(0x234)]);if(this[_0x27a537(0x264)]=!0x1,_0x4d167a){const {versions:_0x1f1fe1,lastLabel:_0x478ab2,hasMore:_0x1c0b80,members:_0x401632}=_0x4d167a;this[_0x27a537(0x196)](_0x1f1fe1,_0x1c0b80,_0x478ab2,_0x401632);}else this[_0x27a537(0x143)][_0x27a537(0x262)]({'content':this[_0x27a537(0x110)]['t']('editHistory.panel.listFetchError'),'type':_0x484b4c[_0x27a537(0xe8)],'duration':0xbb8});return!0x0;}async[_0x291ff7(0x100)](_0x33e29b){const _0x280588=_0x291ff7;var _0x20502d;const _0x3c1648=(_0x20502d=this[_0x280588(0x232)][_0x280588(0x1fb)])==null?void 0x0:_0x20502d[_0x280588(0x111)](_0xa6ed30=>_0xa6ed30['id']===_0x33e29b),{endRev:_0x206afc}=_0x3c1648||{};_0x206afc||_0x206afc===0x0?(this[_0x280588(0x1eb)]['next'](_0x280588(0x27c)),await this[_0x280588(0x279)]['loadSheet'](this['unitId'],_0x206afc),this[_0x280588(0x1eb)]['next'](_0x280588(0x228))):this[_0x280588(0x1f3)][_0x280588(0x238)]('error');}async[_0x291ff7(0xe1)](_0x1d015d){const _0x51efea=_0x291ff7,_0x2df945=_0x1d015d?this[_0x51efea(0x1e8)](_0x1d015d):this[_0x51efea(0x1ef)]();if(!_0x2df945)return;const _0x13ee6d=_0x2df945[_0x51efea(0x1e1)],_0x1fe810=re(_0x2df945[_0x51efea(0x1c4)],this[_0x51efea(0x110)][_0x51efea(0x12e)]());await this[_0x51efea(0x168)][_0x51efea(0x120)]({'id':'confirm-revert-revision','title':{'title':this[_0x51efea(0x110)]['t'](_0x51efea(0x25b))},'children':{'title':this[_0x51efea(0x110)]['t'](_0x51efea(0x16a))+':\x20('+_0x1fe810[_0x51efea(0xed)]+'\x20'+_0x1fe810['time']+')'},'cancelText':this[_0x51efea(0x110)]['t'](_0x51efea(0x266)),'confirmText':this[_0x51efea(0x110)]['t'](_0x51efea(0x1af))})&&this[_0x51efea(0x1b1)][_0x51efea(0x238)](_0x13ee6d);}[_0x291ff7(0x196)](_0x55d1e4,_0x3f432a,_0x1866b1,_0x815d99){const _0xa91d5b=_0x291ff7;this[_0xa91d5b(0x232)]['next'](this['_versions$'][_0xa91d5b(0x1fb)][_0xa91d5b(0xf5)](_0x55d1e4)),this[_0xa91d5b(0x13a)]=_0x3f432a,this[_0xa91d5b(0x234)]=_0x1866b1,_0x815d99&&Object[_0xa91d5b(0x203)](_0x815d99)[_0xa91d5b(0xce)](_0xad0c70=>this[_0xa91d5b(0x244)][_0xa91d5b(0x24a)](_0xad0c70,_0x815d99[_0xad0c70]));}['getCurrentVersion'](){const _0x1e7589=_0x291ff7;return this['getVersion'](this[_0x1e7589(0x1b7)][_0x1e7589(0x1fb)]);}['getVersion'](_0x16ea5c){const _0x5ca176=_0x291ff7;var _0x49f341;return(_0x49f341=this[_0x5ca176(0x232)]['value'])==null?void 0x0:_0x49f341['find'](_0x3e257f=>_0x3e257f['id']===_0x16ea5c);}[_0x291ff7(0x151)](_0x2738f9){const _0x40eb48=_0x291ff7;return this[_0x40eb48(0x244)][_0x40eb48(0x106)](_0x2738f9);}[_0x291ff7(0x1b3)](){const _0x2e79f8=_0x291ff7;this[_0x2e79f8(0x157)]=document[_0x2e79f8(0xde)](_0x2e79f8(0xfe)),this['_maskElement']['className']=_0x2e79f8(0x142),this[_0x2e79f8(0x157)][_0x2e79f8(0x236)][_0x2e79f8(0x11d)]=_0x2e79f8(0x278),this['_maskElement'][_0x2e79f8(0x236)][_0x2e79f8(0x257)]='0',this[_0x2e79f8(0x157)][_0x2e79f8(0x236)][_0x2e79f8(0x129)]='0',this[_0x2e79f8(0x157)]['style']['width']=_0x2e79f8(0x214),this[_0x2e79f8(0x157)][_0x2e79f8(0x236)][_0x2e79f8(0x1be)]=_0x2e79f8(0x214),this['_maskElement']['style'][_0x2e79f8(0x1db)]=_0x2e79f8(0xdd),this[_0x2e79f8(0x157)][_0x2e79f8(0x236)]['color']=_0x2e79f8(0x233),this['_maskElement'][_0x2e79f8(0x236)][_0x2e79f8(0x107)]=_0x2e79f8(0xcd),this[_0x2e79f8(0x157)][_0x2e79f8(0x236)][_0x2e79f8(0x245)]='center',this['_maskElement'][_0x2e79f8(0x236)][_0x2e79f8(0x1f1)]=_0x2e79f8(0x19a),this[_0x2e79f8(0x157)][_0x2e79f8(0x236)][_0x2e79f8(0x107)]=_0x2e79f8(0x135),this[_0x2e79f8(0x258)][_0x2e79f8(0x223)](this[_0x2e79f8(0x157)]);}[_0x291ff7(0x16e)](){const _0x43ace8=_0x291ff7;var _0x389bee;const _0x44c4b0=(_0x389bee=document[_0x43ace8(0x128)](this[_0x43ace8(0x1bb)]))==null?void 0x0:_0x389bee[_0x43ace8(0x1e9)](_0x43ace8(0x213));_0x44c4b0&&(this[_0x43ace8(0x258)]=_0x44c4b0,this['_createMask']());}[_0x291ff7(0xee)](){const _0x4f1ec8=_0x291ff7;this[_0x4f1ec8(0x258)]||this[_0x4f1ec8(0x16e)](),this[_0x4f1ec8(0x157)]&&(this[_0x4f1ec8(0x157)]['style'][_0x4f1ec8(0x107)]=_0x4f1ec8(0xcd));}[_0x291ff7(0x22e)](){const _0x905b76=_0x291ff7;this['_maskElement']&&(this['_maskElement'][_0x905b76(0x236)][_0x905b76(0x107)]=_0x905b76(0x135));}set[_0x291ff7(0x1a6)](_0x375701){const _0x8e2ddd=_0x291ff7;this[_0x8e2ddd(0x1f3)][_0x8e2ddd(0x238)](_0x375701);}set['currentVersion'](_0x27e55a){const _0x498295=_0x291ff7;_0x27e55a!==this[_0x498295(0x1b7)][_0x498295(0x1fb)]&&this[_0x498295(0x1b7)][_0x498295(0x238)](_0x27e55a);}get[_0x291ff7(0x1c6)](){const _0x1bb592=_0x291ff7;return this[_0x1bb592(0x1b7)][_0x1bb592(0x1fb)];}set[_0x291ff7(0x21f)](_0x139926){const _0x3e186a=_0x291ff7;this[_0x3e186a(0x253)][_0x3e186a(0x238)](_0x139926);}get[_0x291ff7(0x21f)](){return this['_unitId$']['value'];}get[_0x291ff7(0x16f)](){const _0x4c0abb=_0x291ff7;return this[_0x4c0abb(0x1f0)];}get[_0x291ff7(0x11c)](){const _0x59d18c=_0x291ff7;return this[_0x59d18c(0x1eb)][_0x59d18c(0x1fb)];}};function _0x1fc5(_0x155925,_0xfc1154){const _0x339f44=_0x339f();return _0x1fc5=function(_0x1fc529,_0x37aa8b){_0x1fc529=_0x1fc529-0xcc;let _0x3aeb54=_0x339f44[_0x1fc529];return _0x3aeb54;},_0x1fc5(_0x155925,_0xfc1154);}E=vs([V(0x0,_0x1bb12d),V(0x1,_0x1b41c4),V(0x2,_0x2022d4(_0x1020e3)),V(0x3,_0x2022d4(Y))],E);var S=function(){const _0x597a08=_0x291ff7;return S=Object[_0x597a08(0x124)]||function(_0x5001df){const _0x57708a=_0x597a08;for(var _0x41542b,_0x4ef688=0x1,_0x3c3f66=arguments[_0x57708a(0x1c9)];_0x4ef688<_0x3c3f66;_0x4ef688++){_0x41542b=arguments[_0x4ef688];for(var _0x4a4226 in _0x41542b)Object[_0x57708a(0xe4)]['hasOwnProperty'][_0x57708a(0x115)](_0x41542b,_0x4a4226)&&(_0x5001df[_0x4a4226]=_0x41542b[_0x4a4226]);}return _0x5001df;},S[_0x597a08(0x146)](this,arguments);},ms=function(_0x259381,_0x450d92){const _0x56bf6e=_0x291ff7;var _0x499b3e={};for(var _0x227da7 in _0x259381)Object['prototype']['hasOwnProperty'][_0x56bf6e(0x115)](_0x259381,_0x227da7)&&_0x450d92[_0x56bf6e(0x13d)](_0x227da7)<0x0&&(_0x499b3e[_0x227da7]=_0x259381[_0x227da7]);if(_0x259381!=null&&typeof Object[_0x56bf6e(0x282)]==_0x56bf6e(0x178)){for(var _0x43b96b=0x0,_0x227da7=Object['getOwnPropertySymbols'](_0x259381);_0x43b96b<_0x227da7[_0x56bf6e(0x1c9)];_0x43b96b++)_0x450d92[_0x56bf6e(0x13d)](_0x227da7[_0x43b96b])<0x0&&Object['prototype'][_0x56bf6e(0x200)][_0x56bf6e(0x115)](_0x259381,_0x227da7[_0x43b96b])&&(_0x499b3e[_0x227da7[_0x43b96b]]=_0x259381[_0x227da7[_0x43b96b]]);}return _0x499b3e;},G=_0x40d74d(function(_0x23ac3c,_0xfa5f64){const _0x398cb4=_0x291ff7;var _0x10052a=_0x23ac3c[_0x398cb4(0x21c)],_0x1ac56a=_0x23ac3c['id'],_0x1ba49e=_0x23ac3c[_0x398cb4(0x1a9)],_0x28daec=_0x23ac3c[_0x398cb4(0x113)],_0x28d1e3=ms(_0x23ac3c,[_0x398cb4(0x21c),'id','className',_0x398cb4(0x113)]),_0x2b21f6='univerjs-icon\x20univerjs-icon-'['concat'](_0x1ac56a,'\x20')['concat'](_0x1ba49e||'')[_0x398cb4(0x277)](),_0x270ffc=_0x510621('_'['concat'](Ss()));return Pe(_0x10052a,''[_0x398cb4(0xf5)](_0x1ac56a),{'defIds':_0x10052a[_0x398cb4(0x10a)],'idSuffix':_0x270ffc['current']},S({'ref':_0xfa5f64,'className':_0x2b21f6},_0x28d1e3),_0x28daec);});function Pe(_0x6b587c,_0x48453a,_0x1a8630,_0x29faf1,_0x5ecb52){const _0x27a775=_0x291ff7;return _0xed4bbc(_0x6b587c[_0x27a775(0x1b6)],S(S({'key':_0x48453a},Is(_0x6b587c,_0x1a8630,_0x5ecb52)),_0x29faf1),(gs(_0x6b587c,_0x1a8630)[_0x27a775(0xd3)]||[])[_0x27a775(0x1a4)](function(_0x4a5904,_0x21df30){const _0x3d1584=_0x27a775;return Pe(_0x4a5904,''[_0x3d1584(0xf5)](_0x48453a,'-')[_0x3d1584(0xf5)](_0x6b587c[_0x3d1584(0x1b6)],'-')['concat'](_0x21df30),_0x1a8630,void 0x0,_0x5ecb52);}));}function Is(_0x2bcbaa,_0x3de0c6,_0x50632e){const _0x39b369=_0x291ff7;var _0x3dffcd=S({},_0x2bcbaa[_0x39b369(0x195)]);_0x50632e!=null&&_0x50632e[_0x39b369(0x1ed)]&&_0x3dffcd[_0x39b369(0x1e6)]==='colorChannel1'&&(_0x3dffcd['fill']=_0x50632e[_0x39b369(0x1ed)]),_0x2bcbaa[_0x39b369(0x1b6)]==='mask'&&_0x3dffcd['id']&&(_0x3dffcd['id']=_0x3dffcd['id']+_0x3de0c6[_0x39b369(0xe7)]),Object[_0x39b369(0x15b)](_0x3dffcd)[_0x39b369(0xce)](function(_0x33a033){const _0xd8a803=_0x39b369;var _0x4cf508=_0x33a033[0x0],_0x8a7c20=_0x33a033[0x1];_0x4cf508===_0xd8a803(0x1d4)&&typeof _0x8a7c20==_0xd8a803(0x274)&&(_0x3dffcd[_0x4cf508]=_0x8a7c20['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x3de0c6['idSuffix'],')')));});var _0x101a1f=_0x3de0c6[_0x39b369(0x10a)];return!_0x101a1f||_0x101a1f[_0x39b369(0x1c9)]===0x0||(_0x2bcbaa[_0x39b369(0x1b6)]===_0x39b369(0x26a)&&_0x3dffcd[_0x39b369(0x237)]&&(_0x3dffcd[_0x39b369(0x237)]=_0x3dffcd['xlink:href']+_0x3de0c6[_0x39b369(0xe7)]),Object[_0x39b369(0x15b)](_0x3dffcd)[_0x39b369(0xce)](function(_0x4f38dd){const _0x82a145=_0x39b369;var _0x2706ae=_0x4f38dd[0x0],_0x80c9db=_0x4f38dd[0x1];typeof _0x80c9db=='string'&&(_0x3dffcd[_0x2706ae]=_0x80c9db[_0x82a145(0xcf)](/url\(#(.*)\)/,_0x82a145(0x222)['concat'](_0x3de0c6[_0x82a145(0xe7)],')')));})),_0x3dffcd;}function gs(_0x25d95d,_0x32102f){const _0x1dc918=_0x291ff7;var _0x42e6ef,_0x36f24f=_0x32102f[_0x1dc918(0x10a)];return!_0x36f24f||_0x36f24f[_0x1dc918(0x1c9)]===0x0?_0x25d95d:_0x25d95d[_0x1dc918(0x1b6)]===_0x1dc918(0x25d)&&(!((_0x42e6ef=_0x25d95d[_0x1dc918(0xd3)])===null||_0x42e6ef===void 0x0)&&_0x42e6ef[_0x1dc918(0x1c9)])?S(S({},_0x25d95d),{'children':_0x25d95d[_0x1dc918(0xd3)]['map'](function(_0x5e0048){const _0x4a9d7d=_0x1dc918;return typeof _0x5e0048[_0x4a9d7d(0x195)]['id']==_0x4a9d7d(0x274)&&_0x36f24f&&_0x36f24f[_0x4a9d7d(0x284)](_0x5e0048['attrs']['id'])?S(S({},_0x5e0048),{'attrs':S(S({},_0x5e0048[_0x4a9d7d(0x195)]),{'id':_0x5e0048[_0x4a9d7d(0x195)]['id']+_0x32102f[_0x4a9d7d(0xe7)]})}):_0x5e0048;})}):_0x25d95d;}function Ss(){const _0x4f1bb0=_0x291ff7;return Math[_0x4f1bb0(0x1ee)]()['toString'](0x24)[_0x4f1bb0(0x11a)](0x2,0x8);}G[_0x291ff7(0x27d)]=_0x291ff7(0xf6);var ps={'tag':_0x291ff7(0xef),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x291ff7(0x135),'viewBox':'0\x200\x2016\x2016','width':_0x291ff7(0x23a),'height':'1em'},'children':[{'tag':_0x291ff7(0x20d),'attrs':{'fill':'currentColor','d':_0x291ff7(0x1f4)}}]},Te=_0x40d74d(function(_0x18e77e,_0x58c1f5){const _0x3ace3f=_0x291ff7;return _0xed4bbc(G,Object[_0x3ace3f(0x124)]({},_0x18e77e,{'id':_0x3ace3f(0x179),'ref':_0x58c1f5,'icon':ps}));});Te[_0x291ff7(0x27d)]='BackIcon';var Es={'tag':_0x291ff7(0xef),'attrs':{'xmlns':_0x291ff7(0x270),'fill':_0x291ff7(0x135),'viewBox':_0x291ff7(0x22f),'width':_0x291ff7(0x23a),'height':_0x291ff7(0x23a)},'children':[{'tag':_0x291ff7(0x20d),'attrs':{'fill':_0x291ff7(0x280),'d':'M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','fillOpacity':0.2,'fillRule':_0x291ff7(0x119),'clipRule':_0x291ff7(0x119)}},{'tag':_0x291ff7(0x20d),'attrs':{'fill':'#0B9EFB','d':_0x291ff7(0xfd),'fillRule':_0x291ff7(0x119),'clipRule':'evenodd'}}]},ae=_0x40d74d(function(_0x317101,_0x3b82e6){const _0x3dc561=_0x291ff7;return _0xed4bbc(G,Object[_0x3dc561(0x124)]({},_0x317101,{'id':_0x3dc561(0xd5),'ref':_0x3b82e6,'icon':Es}));});ae[_0x291ff7(0x27d)]=_0x291ff7(0x14d);var Rs={'tag':_0x291ff7(0xef),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x291ff7(0x135),'viewBox':_0x291ff7(0x269),'width':_0x291ff7(0x23a),'height':_0x291ff7(0x23a)},'children':[{'tag':'g','attrs':{'fill':_0x291ff7(0xf8),'clipPath':'url(#restore-icon_clip0_1247_2)'},'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':'path','attrs':{'d':_0x291ff7(0x159),'fillRule':'evenodd','clipRule':_0x291ff7(0x119)}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x291ff7(0xf9),'attrs':{'id':_0x291ff7(0x273)},'children':[{'tag':_0x291ff7(0x11b),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x291ff7(0x233),'rx':0x4}}]}]}],'defIds':['restore-icon_clip0_1247_2']},Le=_0x40d74d(function(_0x31eaf2,_0x3e6344){const _0x577be9=_0x291ff7;return _0xed4bbc(G,Object[_0x577be9(0x124)]({},_0x31eaf2,{'id':'restore-icon','ref':_0x3e6344,'icon':Rs}));});Le[_0x291ff7(0x27d)]='RestoreIcon';function Os(){const _0x2a1965=_0x291ff7;var _0x11a610;const _0x4721da=_0x48a345(E),_0xd3ebbe=_0x48a345(_0x1020e3),_0x4f5883=_0x6c653(()=>{const _0x14376d=_0x1fc5;_0x4721da[_0x14376d(0x1a6)]=ne[_0x14376d(0x252)];},[_0x4721da]),_0x3bc437=_0x6c653(()=>{_0x4721da['triggerRevert']();},[_0x4721da]),_0x364aeb=_0x49cdc2(_0x4721da[_0x2a1965(0x208)]),_0xef377a=_0x49cdc2(_0x4721da[_0x2a1965(0x215)]),_0x21da6b=_0x364aeb===((_0x11a610=_0xef377a==null?void 0x0:_0xef377a[0x0])==null?void 0x0:_0x11a610['id']),_0x5d702d=_0x364aeb!==''&&!_0x21da6b&&_0x4721da[_0x2a1965(0x16f)];return _0x10934a(_0x2a1965(0xfe),{'className':_0x18690d(_0x2a1965(0x19f),_0x1261af),'children':[_0x2746d5('a',{'className':_0x2a1965(0x1bf),'onClick':_0x4f5883,'children':_0x2746d5(Te,{'className':_0x2a1965(0x147)})}),_0x2746d5(_0x2a1965(0xfe),{'className':_0x2a1965(0x149),'children':_0x5d702d&&_0x2746d5(_0x32a7e9,{'variant':_0x2a1965(0xe2),'onClick':_0x3bc437,'children':_0xd3ebbe['t']('editHistory.header.revert')})})]});}var Ms=Object['getOwnPropertyDescriptor'],Ns=(_0x39696d,_0x38750,_0x2c45e7,_0xf859c7)=>{const _0x3235f8=_0x291ff7;for(var _0x34e098=_0xf859c7>0x1?void 0x0:_0xf859c7?Ms(_0x38750,_0x2c45e7):_0x38750,_0x5209a4=_0x39696d[_0x3235f8(0x1c9)]-0x1,_0x2860a9;_0x5209a4>=0x0;_0x5209a4--)(_0x2860a9=_0x39696d[_0x5209a4])&&(_0x34e098=_0x2860a9(_0x34e098)||_0x34e098);return _0x34e098;},y=(_0x27cb09,_0x4738c0)=>(_0x4f1af6,_0x3e463c)=>_0x4738c0(_0x4f1af6,_0x3e463c,_0x27cb09);let B=class extends _0x11deb0{constructor(_0x3790c7,_0x5f2db8,_0x33f30d,_0x4ee167,_0xb1a576,_0xcd0753){const _0x5a1586=_0x291ff7;super(),this[_0x5a1586(0x105)]=_0x3790c7,this[_0x5a1586(0x140)]=_0x5f2db8,this[_0x5a1586(0x143)]=_0x33f30d,this['_localeService']=_0x4ee167,this['_historyManagerService']=_0xb1a576,this[_0x5a1586(0x22c)]=_0xcd0753,this['_init']();}['_init'](){const _0x356bcb=_0x291ff7;this[_0x356bcb(0x1e3)](this['_historyManagerService'][_0x356bcb(0x208)][_0x356bcb(0x1c0)](_0x51032d=>{const _0x488acb=_0x356bcb;_0x51032d&&this[_0x488acb(0x15a)][_0x488acb(0x100)](_0x51032d);})),this[_0x356bcb(0x1e3)](this['_permissionService'][_0x356bcb(0x259)][_0x356bcb(0x1c0)](_0x65f844=>{const _0x116731=_0x356bcb,_0x2c7f4a=this[_0x116731(0x15a)]['unitId'];_0x2c7f4a&&(_0x65f844[_0x116731(0x1aa)]===b[_0x116731(0x27a)]&&_0x65f844[_0x116731(0x1fb)]===!0x0&&this[_0x116731(0x105)][_0x116731(0x19e)](new _0x27dd26(_0x2c7f4a)['id'],!0x1),_0x65f844['subType']===b['RenameSheet']&&_0x65f844['value']===!0x0&&this[_0x116731(0x105)]['updatePermissionPoint'](new _0x4f1f97(_0x2c7f4a)['id'],!0x1),_0x65f844[_0x116731(0x1aa)]===b['MoveSheet']&&_0x65f844[_0x116731(0x1fb)]===!0x0&&this[_0x116731(0x105)][_0x116731(0x19e)](new _0x5b5433(_0x2c7f4a)['id'],!0x1),_0x65f844[_0x116731(0x1aa)]===b[_0x116731(0x25e)]&&_0x65f844[_0x116731(0x1fb)]===!0x0&&this[_0x116731(0x105)][_0x116731(0x19e)](new _0x1cd2d9(_0x2c7f4a)['id'],!0x1),_0x65f844['subType']===b[_0x116731(0x121)]&&_0x65f844[_0x116731(0x1fb)]===!0x0&&this[_0x116731(0x105)]['updatePermissionPoint'](new _0x27dd26(_0x2c7f4a)['id'],!0x1),_0x65f844['subType']===b[_0x116731(0x24c)]&&_0x65f844[_0x116731(0x1fb)]===!0x0&&this[_0x116731(0x105)][_0x116731(0x19e)](new _0x27dd26(_0x2c7f4a)['id'],!0x1));})),this[_0x356bcb(0x1e3)](this[_0x356bcb(0x140)][_0x356bcb(0x287)](_0x18dda2[_0x356bcb(0x22b)],()=>_0x3c6030(Os,this[_0x356bcb(0x22c)]))),this[_0x356bcb(0x1e3)](this[_0x356bcb(0x15a)][_0x356bcb(0x288)][_0x356bcb(0x1c0)](_0x47179b=>{const _0x4b12aa=_0x356bcb;_0x47179b===T['Loading']&&(this[_0x4b12aa(0x15a)][_0x4b12aa(0xee)](),this[_0x4b12aa(0x143)][_0x4b12aa(0x262)]({'type':_0x484b4c[_0x4b12aa(0x132)],'content':this['_localeService']['t'](_0x4b12aa(0x242))})),_0x47179b===T['Loaded']&&this['_historyManagerService'][_0x4b12aa(0x22e)]();}));}};B=Ns([y(0x0,_0x56b0e1),y(0x1,_0x3f202c),y(0x2,_0x1bb12d),y(0x3,_0x2022d4(_0x1020e3)),y(0x4,_0x2022d4(E)),y(0x5,_0x2022d4(_0xb0321))],B);var bs=Object['getOwnPropertyDescriptor'],Ds=(_0x5bef15,_0x1d8878,_0x2070ca,_0x4ec604)=>{for(var _0x5194dc=_0x4ec604>0x1?void 0x0:_0x4ec604?bs(_0x1d8878,_0x2070ca):_0x1d8878,_0x209d83=_0x5bef15['length']-0x1,_0xc59745;_0x209d83>=0x0;_0x209d83--)(_0xc59745=_0x5bef15[_0x209d83])&&(_0x5194dc=_0xc59745(_0x5194dc)||_0x5194dc);return _0x5194dc;},Q=(_0x542ef9,_0x5d9594)=>(_0x1685ec,_0x287bdd)=>_0x5d9594(_0x1685ec,_0x287bdd,_0x542ef9);let $=class extends _0x11deb0{constructor(_0x25630a,_0x1125a0,_0x45a85f){const _0x242d29=_0x291ff7;super(),l(this,_0x242d29(0x155),new Map()),l(this,_0x242d29(0x272),new _0x24ce11({'ranges':new Map(),'active':null})),l(this,_0x242d29(0x27e),this[_0x242d29(0x272)][_0x242d29(0xd0)]()),(this[_0x242d29(0x15a)]=_0x25630a,this[_0x242d29(0x23e)]=_0x1125a0,this[_0x242d29(0x16c)]=_0x45a85f,this[_0x242d29(0x210)]());}[_0x291ff7(0x210)](){const _0x420806=_0x291ff7;this[_0x420806(0x155)]=new Map(),this[_0x420806(0x1e3)](this[_0x420806(0x15a)]['unitId$'][_0x420806(0x1c0)](_0x3947bc=>{const _0x224496=_0x420806;_0x3947bc&&!this[_0x224496(0x155)][_0x224496(0x1c3)](_0x3947bc)&&this['_diffRangesMap'][_0x224496(0x24a)](_0x3947bc,new Map());})),this[_0x420806(0x1e3)](this['_historyManagerService'][_0x420806(0x208)][_0x420806(0x1c0)](async _0x3228f3=>{const _0x2cd541=_0x420806;var _0x5016a6;_0x3228f3&&(await this[_0x2cd541(0x275)](_0x3228f3),this[_0x2cd541(0x272)]['next'](((_0x5016a6=this[_0x2cd541(0x155)][_0x2cd541(0x106)](this[_0x2cd541(0x15a)][_0x2cd541(0x21f)]))==null?void 0x0:_0x5016a6[_0x2cd541(0x106)](_0x3228f3))||{'ranges':new Map(),'active':null}));}));}async[_0x291ff7(0x275)](_0x5c108b){const _0x2365d0=_0x291ff7;var _0x3ad652,_0x5c83b9;const _0x3b667a=this['_historyManagerService'][_0x2365d0(0x1e8)](_0x5c108b),_0x4ace27=this['_historyManagerService'][_0x2365d0(0x21f)];if(!_0x3b667a||!_0x4ace27)return;const _0x762a15=this[_0x2365d0(0x155)][_0x2365d0(0x106)](_0x4ace27);if(_0x762a15||this[_0x2365d0(0x155)][_0x2365d0(0x24a)](_0x4ace27,new Map()),(_0x3ad652=this[_0x2365d0(0x155)]['get'](_0x4ace27))!=null&&_0x3ad652[_0x2365d0(0x1c3)](_0x3b667a['id']))return;const {startRev:_0x1b1906,endRev:_0x49d11d}=_0x3b667a;if(_0x1b1906===0x1){_0x762a15[_0x2365d0(0x24a)](_0x3b667a['id'],{'ranges':new Map(),'active':null});return;}const _0x186a94=_0x1b1906-0x1,_0x35d442=_0x49d11d,_0x5b951d=await this['_snapshotServerService'][_0x2365d0(0x22a)]({},{'unitID':_0x4ace27,'from':_0x186a94,'to':_0x35d442,'type':F[_0x2365d0(0x12a)]});if(((_0x5c83b9=_0x5b951d[_0x2365d0(0x102)])==null?void 0x0:_0x5c83b9[_0x2365d0(0x17b)])===X['OK']){const _0x2767ad=_0x5b951d[_0x2365d0(0x152)][_0x2365d0(0x1a4)](_0x2f66e9)[_0x2365d0(0x1a4)](_0x591977=>_0x591977[_0x2365d0(0x138)][_0x2365d0(0x1a4)](_0x19e63=>({..._0x19e63,'params':{..._0x19e63[_0x2365d0(0x1b8)],'memberId':_0x591977[_0x2365d0(0x13b)]}})))[_0x2365d0(0x267)](),_0x14ba0c=this['_transformMutationByOrder'](_0x2767ad),_0x537387=this['_getActiveSubUnitId'](_0x2767ad),_0x2327f7=this[_0x2365d0(0x162)](_0x14ba0c);_0x762a15[_0x2365d0(0x24a)](_0x3b667a['id'],{'ranges':_0x2327f7,'active':_0x537387});}}[_0x291ff7(0x17c)](_0x5dcb5a){const _0x2d3524=_0x291ff7;let _0x1b23f1=[];for(let _0x4a1f07=0x0;_0x4a1f07<_0x5dcb5a[_0x2d3524(0x1c9)];_0x4a1f07++){const _0x199845=_0x5dcb5a[_0x4a1f07];if(_0x1b23f1['push'](_0x199845),_0x4a1f07!==_0x5dcb5a[_0x2d3524(0x1c9)]-0x1){const _0x4aef2f=_0x5dcb5a[_0x4a1f07+0x1],_0x1e582e=this[_0x2d3524(0x23e)]['transformMutations'](_0x1b23f1,[_0x4aef2f]);_0x349598(_0x1e582e)?_0x1b23f1=_0x1e582e[_0x2d3524(0x156)]:_0x1b23f1=[];}}return _0x1b23f1;}[_0x291ff7(0x167)](_0x1dc71e){const _0x4716cd=_0x291ff7;let _0xb3abcb=[];return _0x1dc71e['forEach'](_0xaa42c9=>{const _0x327c30=_0x1fc5;if(_0xaa42c9['id']===_0x144c2e['id']){const _0x20ac13=_0xaa42c9[_0x327c30(0x1b8)];_0xb3abcb[_0x327c30(0x1d7)](_0x20ac13[_0x327c30(0x199)]['id']);}else{if(_0xaa42c9['id']===_0x5e4bd4['id']){const _0x1b6b1a=_0xaa42c9[_0x327c30(0x1b8)];_0xb3abcb['length']>0x0&&(_0xb3abcb=_0xb3abcb['filter'](_0xeee013=>_0xeee013!==_0x1b6b1a[_0x327c30(0x1fe)]));}else{if(_0xaa42c9['id']===_0x3b67f4['id']){const _0x2f18bb=_0xaa42c9[_0x327c30(0x1b8)];_0x2f18bb[_0x327c30(0x176)]?_0xb3abcb=_0xb3abcb[_0x327c30(0x193)](_0x45d527=>_0x45d527!==_0x2f18bb[_0x327c30(0x1fe)]):_0xb3abcb[_0x327c30(0x1d7)](_0x2f18bb[_0x327c30(0x1fe)]);}else{const _0x2ccbcb=_0xaa42c9[_0x327c30(0x1b8)];_0x2ccbcb[_0x327c30(0x1fe)]&&_0xb3abcb['push'](_0x2ccbcb['subUnitId']);}}}}),_0xb3abcb[_0x4716cd(0x1c9)]>0x0?_0xb3abcb[_0xb3abcb[_0x4716cd(0x1c9)]-0x1]:null;}['_extractRanges'](_0x4681a7){const _0x5dd0c2=_0x291ff7,_0x4456c3=new Map();return _0x4681a7[_0x5dd0c2(0xce)](_0x9b100=>{const _0x430075=_0x5dd0c2;var _0x2b2cbd,_0x2e059b;const _0x372372=(_0x2b2cbd=_0x9b100[_0x430075(0x1b8)])==null?void 0x0:_0x2b2cbd[_0x430075(0x183)];if(_0x372372){_0x4456c3[_0x430075(0x1c3)](_0x372372)||_0x4456c3['set'](_0x372372,[]);const _0x4d52e2=this[_0x430075(0x148)](_0x9b100);(_0x2e059b=_0x4456c3['get'](_0x372372))==null||_0x2e059b[_0x430075(0x1d7)](..._0x4d52e2);}}),_0x4456c3['forEach']((_0x3238f0,_0x1f13aa)=>{const _0x3f29e7=_0x5dd0c2;_0x4456c3[_0x3f29e7(0x24a)](_0x1f13aa,this['_combineRanges'](_0x3238f0));}),_0x4456c3;}[_0x291ff7(0x148)](_0x24a7e5){const _0x7a1c3b=_0x291ff7;switch(_0x24a7e5['id']){case _0x1d39a4['id']:{const _0x2e05fb=_0x24a7e5[_0x7a1c3b(0x1b8)];return _0x2e05fb[_0x7a1c3b(0xe3)]['map'](_0x3e7d4a=>_0x3e7d4a[_0x7a1c3b(0x27b)][_0x7a1c3b(0x1a4)](_0x1514fa=>({'range':_0x1514fa,'unitId':_0x2e05fb[_0x7a1c3b(0x21f)],'subUnitId':_0x2e05fb[_0x7a1c3b(0x1fe)]})))[_0x7a1c3b(0x267)]();}case _0x23da3e['id']:{const _0x7195ee=_0x24a7e5[_0x7a1c3b(0x1b8)];return _0x7195ee[_0x7a1c3b(0x27b)][_0x7a1c3b(0x1a4)](_0x2e1fd0=>({'range':_0x2e1fd0,'unitId':_0x7195ee[_0x7a1c3b(0x21f)],'subUnitId':_0x7195ee[_0x7a1c3b(0x1fe)]}));}case _0x4ff737['id']:{const _0x7936ff=_0x24a7e5[_0x7a1c3b(0x1b8)];return[{'range':_0x7936ff[_0x7a1c3b(0x181)],'unitId':_0x7936ff[_0x7a1c3b(0x21f)],'subUnitId':_0x7936ff[_0x7a1c3b(0x1fe)]}];}case _0x5849ac['id']:{const _0x4ab1e4=_0x24a7e5['params'];return[{'range':_0x4ab1e4[_0x7a1c3b(0x181)],'unitId':_0x4ab1e4['unitId'],'subUnitId':_0x4ab1e4['subUnitId']}];}case _0x5e3e97['id']:{const _0x2e99e1=_0x24a7e5[_0x7a1c3b(0x1b8)],{from:_0x2f311e,to:_0x2098e2,unitId:_0x33a536}=_0x2e99e1;return[{'range':he(_0x2f311e[_0x7a1c3b(0x1fb)]),'unitId':_0x33a536,'subUnitId':_0x2f311e[_0x7a1c3b(0x1fe)]},{'range':he(_0x2098e2['value']),'unitId':_0x33a536,'subUnitId':_0x2098e2[_0x7a1c3b(0x1fe)]}];}case _0x2bf768['id']:{const _0x399125=_0x24a7e5['params'],{unitId:_0x86d33e,subUnitId:_0x19a4b3,sourceRange:_0x52037b,targetRange:_0x2ee34f}=_0x399125,_0x2bd3e5=_0x52037b['endRow']-_0x52037b[_0x7a1c3b(0x19c)]+0x1;return[{'range':_0x2ee34f[_0x7a1c3b(0x19c)]<=_0x52037b[_0x7a1c3b(0x19c)]?_0x2ee34f:{..._0x2ee34f,'startRow':_0x2ee34f['startRow']-_0x2bd3e5,'endRow':_0x2ee34f[_0x7a1c3b(0xd2)]-_0x2bd3e5},'unitId':_0x86d33e,'subUnitId':_0x19a4b3}];}case _0x56bd35['id']:{const _0x5800bf=_0x24a7e5[_0x7a1c3b(0x1b8)],{unitId:_0x3670e5,subUnitId:_0x3724fc,sourceRange:_0x3dd9fc,targetRange:_0x6b7aa}=_0x5800bf,_0x358086=_0x3dd9fc[_0x7a1c3b(0x15f)]-_0x3dd9fc[_0x7a1c3b(0x260)]+0x1;return[{'range':_0x6b7aa[_0x7a1c3b(0x260)]<=_0x3dd9fc[_0x7a1c3b(0x260)]?_0x6b7aa:{..._0x6b7aa,'startColumn':_0x6b7aa[_0x7a1c3b(0x260)]-_0x358086,'endColumn':_0x6b7aa[_0x7a1c3b(0x15f)]-_0x358086},'unitId':_0x3670e5,'subUnitId':_0x3724fc}];}case _0x3a42f6['id']:{const _0x48af92=_0x24a7e5[_0x7a1c3b(0x1b8)],{values:_0x1b9a5c,unitId:_0x90fb0f,subUnitId:_0x54009d}=_0x48af92;return Object[_0x7a1c3b(0xe0)](_0x1b9a5c)[_0x7a1c3b(0x1a4)](_0x586404=>_0x586404[_0x7a1c3b(0x27b)][_0x7a1c3b(0x1a4)](_0x43d7d9=>({'range':_0x43d7d9,'unitId':_0x90fb0f,'subUnitId':_0x54009d})))[_0x7a1c3b(0x267)]();}case _0x5603cd['id']:{const _0x486d4c=_0x24a7e5[_0x7a1c3b(0x1b8)],{ranges:_0x196850,unitId:_0x11a3e3,subUnitId:_0x36699a}=_0x486d4c;return _0x196850['map'](_0x40fd62=>({'range':_0x40fd62,'unitId':_0x11a3e3,'subUnitId':_0x36699a}));}case _0x4567f0['id']:{const _0x426ab3=_0x24a7e5[_0x7a1c3b(0x1b8)],{unitId:_0x280eb0,subUnitId:_0x65136e,range:_0x22b35c}=_0x426ab3;return[{'range':_0x22b35c,'unitId':_0x280eb0,'subUnitId':_0x65136e}];}case _0x462739['id']:{const _0x18d5e3=_0x24a7e5['params'];return _0x18d5e3['rule'][_0x7a1c3b(0x27b)][_0x7a1c3b(0x1a4)](_0x222b18=>({'range':_0x222b18,'unitId':_0x18d5e3[_0x7a1c3b(0x21f)],'subUnitId':_0x18d5e3[_0x7a1c3b(0x1fe)]}));}case _0x5d7caa['id']:{const _0x29e2d3=_0x24a7e5[_0x7a1c3b(0x1b8)];return _0x29e2d3[_0x7a1c3b(0x116)]?ys(_0x29e2d3[_0x7a1c3b(0x116)])[_0x7a1c3b(0x1a4)](_0x453b64=>({'range':_0x453b64,'unitId':_0x29e2d3[_0x7a1c3b(0x21f)],'subUnitId':_0x29e2d3[_0x7a1c3b(0x1fe)]})):[];}case _0x409037['id']:{const _0x80e563=_0x24a7e5[_0x7a1c3b(0x1b8)];return[{'range':_0x80e563['range'],'unitId':_0x80e563[_0x7a1c3b(0x21f)],'subUnitId':_0x80e563[_0x7a1c3b(0x1fe)]}];}case _0x5ba101['id']:{const _0x555a6e=_0x24a7e5[_0x7a1c3b(0x1b8)];return(Array[_0x7a1c3b(0x1c8)](_0x555a6e[_0x7a1c3b(0xf0)])?_0x555a6e[_0x7a1c3b(0xf0)]:[_0x555a6e[_0x7a1c3b(0xf0)]])[_0x7a1c3b(0x1a4)](_0x3edb5a=>_0x3edb5a[_0x7a1c3b(0x27b)]['map'](_0x1e0428=>({'range':_0x1e0428,'unitId':_0x555a6e[_0x7a1c3b(0x21f)],'subUnitId':_0x555a6e['subUnitId']})))['flat']();}case _0x5c79fa['id']:{const _0x5b77ed=_0x24a7e5[_0x7a1c3b(0x1b8)];return _0x5b77ed[_0x7a1c3b(0xf0)]['ranges'][_0x7a1c3b(0x1a4)](_0x391923=>({'range':_0x391923,'unitId':_0x5b77ed[_0x7a1c3b(0x21f)],'subUnitId':_0x5b77ed['subUnitId']}));}default:return[];}}[_0x291ff7(0x26c)](_0x124967){const _0x1abd67=_0x291ff7;if(_0x124967[_0x1abd67(0x1c9)]<=0x1)return _0x124967;const _0xcc26ca=new Map();return _0x124967[_0x1abd67(0xce)](_0x2e15ad=>{const _0x567984=_0x1abd67;var _0x957542;const {unitId:_0x27d32f,subUnitId:_0x11df40}=_0x2e15ad,_0xdb645f=_0x27d32f+'-'+_0x11df40;_0xcc26ca[_0x567984(0x1c3)](_0xdb645f)?(_0x957542=_0xcc26ca[_0x567984(0x106)](_0xdb645f))==null||_0x957542['push'](_0x2e15ad):_0xcc26ca[_0x567984(0x24a)](_0xdb645f,[_0x2e15ad]);}),Array['from'](_0xcc26ca[_0x1abd67(0xe0)]())[_0x1abd67(0x1a4)](_0x505725=>new _0x1b14b2()[_0x1abd67(0x1a1)](..._0x505725[_0x1abd67(0x1a4)](_0x5295e8=>_0x5295e8[_0x1abd67(0x181)]))[_0x1abd67(0x250)]()[_0x1abd67(0x1a4)](_0x1e6bb0=>({'range':_0x1e6bb0,'unitId':_0x505725[0x0]['unitId'],'subUnitId':_0x505725[0x0][_0x1abd67(0x1fe)]})))[_0x1abd67(0x267)]();}};$=Ds([Q(0x0,_0x2022d4(E)),Q(0x1,_0x19c5f6),Q(0x2,_0x3e0615)],$);function he(_0x3e52c7){const _0x1e4bde=_0x291ff7;return new _0x3c4fcc(_0x3e52c7)[_0x1e4bde(0x131)]();}function ys(_0x278a2f){const _0x5e02cb=new _0x3c4fcc(_0x278a2f),_0x4c0b17=new _0x3c4fcc();return _0x5e02cb['forValue']((_0x5aacbf,_0x5e3929)=>{const _0x40843e=_0x1fc5;_0x4c0b17[_0x40843e(0xec)](_0x5aacbf,_0x5e3929,0x1);}),_0x14e5db(_0x4c0b17);}var Cs=Object[_0x291ff7(0x189)],ws=(_0x42743d,_0x45c414,_0x45ddcd,_0x420d08)=>{for(var _0x22ab50=_0x420d08>0x1?void 0x0:_0x420d08?Cs(_0x45c414,_0x45ddcd):_0x45c414,_0x11b172=_0x42743d['length']-0x1,_0x383eb8;_0x11b172>=0x0;_0x11b172--)(_0x383eb8=_0x42743d[_0x11b172])&&(_0x22ab50=_0x383eb8(_0x22ab50)||_0x22ab50);return _0x22ab50;},C=(_0x36bc44,_0x8db14c)=>(_0x1afe06,_0xbf4c71)=>_0x8db14c(_0x1afe06,_0xbf4c71,_0x36bc44);let te=class extends _0x11deb0{constructor(_0xf5a889,_0x2d7095,_0x453556,_0x389538,_0x1054d3,_0x24fdee,_0x51dfff){const _0x35b590=_0x291ff7;super(),l(this,_0x35b590(0x22d),new Set()),l(this,_0x35b590(0x1e2),null),(this[_0x35b590(0x20a)]=_0xf5a889,this[_0x35b590(0x15a)]=_0x2d7095,this[_0x35b590(0xf7)]=_0x453556,this[_0x35b590(0x1cb)]=_0x389538,this['_renderManagerService']=_0x1054d3,this['_sheetSkeletonManagerService']=_0x24fdee,this[_0x35b590(0x23d)]=_0x51dfff,this['_init']());}['_init'](){const _0x53dc8=_0x291ff7;this['_initRender'](),this[_0x53dc8(0x224)]();}[_0x291ff7(0xf4)](){const _0x26b0be=_0x291ff7;this[_0x26b0be(0x1e3)](_0x3f1df5([this[_0x26b0be(0x15a)][_0x26b0be(0x288)],this[_0x26b0be(0x261)][_0x26b0be(0x109)]])[_0x26b0be(0x13f)](_0x59b8fb(([_0x176e23,_0x28f5c7])=>{const _0x2758d4=_0x26b0be;if(_0x176e23===T[_0x2758d4(0x127)]&&_0x28f5c7){const _0x1bea5a=_0x28f5c7[_0x2758d4(0x1a3)];return this[_0x2758d4(0xf7)]['currentVersionDiff$'][_0x2758d4(0x13f)](_0x1e9a1d(_0x27e701=>{const _0x4ddf6a=_0x2758d4,_0x2b0cc2=new Map();return _0x27e701['ranges'][_0x4ddf6a(0xce)]((_0x330206,_0x14121b)=>{const _0x40665c=_0x4ddf6a,_0x2b7383=_0x330206[_0x40665c(0x193)](_0x318614=>_0x318614[_0x40665c(0x1fe)]===_0x1bea5a);_0x2b0cc2['set'](_0x14121b,_0x2b7383);}),{'skeleton':_0x28f5c7,'diffs':_0x2b0cc2};}));}return _0x41e039({'skeleton':null,'diffs':new Map()});}))[_0x26b0be(0x1c0)](({skeleton:_0x3e2880,diffs:_0x143c94})=>{const _0x236493=_0x26b0be;this[_0x236493(0x239)](),_0x3e2880&&this[_0x236493(0x211)](_0x3e2880,_0x143c94);})),this[_0x26b0be(0x1e3)](this[_0x26b0be(0x261)]['currentSkeleton$'][_0x26b0be(0x1c0)](_0x33db77=>{const _0x4899e0=_0x26b0be;if(_0x33db77==null)return;const {skeleton:_0x8d0def}=_0x33db77,{scene:_0x347b41}=this[_0x4899e0(0x20a)];_0x347b41[_0x4899e0(0x1ae)]['subscribeEvent'](_0x42f69c(_0x3de60c=>{const _0x1dd3f7=_0x4899e0;var _0x1bb424,_0x28a097;const {offsetX:_0x4f0a73,offsetY:_0x1c7eb6}=_0x3de60c,{x:_0x4f44de,y:_0x2f9f41}=_0x347b41[_0x1dd3f7(0x285)](_0x551742[_0x1dd3f7(0x1d8)]([_0x4f0a73,_0x1c7eb6])),{scaleX:_0x5504e0,scaleY:_0x1ba76d}=_0x347b41[_0x1dd3f7(0x21d)](),_0x56ddd1=_0x347b41[_0x1dd3f7(0x136)](_0x4ea397[_0x1dd3f7(0x1b2)]),_0x146129=_0x347b41[_0x1dd3f7(0x1c1)](_0x551742[_0x1dd3f7(0x1d8)]([_0x4f44de,_0x2f9f41]),_0x56ddd1),_0x353da7=_0x8d0def[_0x1dd3f7(0x175)](_0x4f0a73,_0x1c7eb6,_0x5504e0,_0x1ba76d,_0x146129);((_0x1bb424=this['_lastPointer'])==null?void 0x0:_0x1bb424[_0x1dd3f7(0x10e)])===_0x353da7[_0x1dd3f7(0x10e)]&&((_0x28a097=this[_0x1dd3f7(0x1e2)])==null?void 0x0:_0x28a097['row'])===_0x353da7[_0x1dd3f7(0x18b)]||this[_0x1dd3f7(0x22d)][_0x1dd3f7(0xce)](_0x1dd6ad=>{_0x1dd6ad['onMouseMove'](_0x353da7);});},0x64));}));}[_0x291ff7(0x224)](){const _0x555490=_0x291ff7;this[_0x555490(0x1e3)](this[_0x555490(0x15a)]['loadingState$'][_0x555490(0x1c0)](_0xc3614=>{const _0x32e8d5=_0x555490,_0x1ce30e=new _0x12a473();return _0xc3614===T[_0x32e8d5(0x127)]&&(_0x1ce30e['dispose'](),_0x1ce30e['add'](this[_0x32e8d5(0xf7)][_0x32e8d5(0x27e)]['subscribe'](_0x38552f=>{const _0x5b87c8=_0x32e8d5;_0x38552f[_0x5b87c8(0x177)]&&this['_commandService'][_0x5b87c8(0x205)](_0x298e3c['id'],{'unitId':this['_context'][_0x5b87c8(0x21f)],'subUnitId':_0x38552f[_0x5b87c8(0x177)]});}))),()=>_0x1ce30e['dispose']();}));}[_0x291ff7(0x211)](_0x17bb72,_0x466f11){const _0x5a0f38=_0x291ff7;var _0x2a8e53;const _0x163253=(_0x2a8e53=this[_0x5a0f38(0x261)]['getCurrent']())==null?void 0x0:_0x2a8e53[_0x5a0f38(0x20e)];if(!_0x163253)return;this[_0x5a0f38(0x22d)]['forEach'](_0x2c9f0a=>{const _0x5beadc=_0x5a0f38;_0x2c9f0a[_0x5beadc(0x1cc)]();});const {scene:_0x3c3624}=this['_context'],_0x4f86c1=Array['from'](_0x466f11[_0x5a0f38(0x203)]())[_0x5a0f38(0x1a4)](_0x41c509=>_0x466f11[_0x5a0f38(0x106)](_0x41c509)[_0x5a0f38(0x1a4)](_0x54724c=>{const _0x2ce415=_0x5a0f38;var _0x477a43;const {range:_0x1e9b7a,subUnitId:_0x172e10,unitId:_0x503a24}=_0x54724c,{startColumn:_0x24c478,startRow:_0x364d45,endColumn:_0x280861,endRow:_0x1daec0}=_0x1e9b7a,_0x510b76=_0x38b01b(_0x364d45,_0x24c478,_0x3c3624,_0x163253),_0x4023e9=_0x38b01b(_0x1daec0,_0x280861,_0x3c3624,_0x163253),{columnHeaderHeightAndMarginTop:_0x2783ab}=_0x163253,{startX:_0x36a405,startY:_0xfc23c7}=_0x510b76,{endX:_0x57232d,endY:_0x1b2e8e}=_0x4023e9,_0x36a22e=_0x57232d-_0x36a405,_0x4e397b=_0x1b2e8e-_0xfc23c7,_0xcc55cc={'labelPosition':_0xfc23c7-_0x2783ab>=0x14?'top':_0x2ce415(0x1ce),'sheetID':_0x172e10,'range':_0x1e9b7a,'color':'rgba(58,\x2096,\x20247,\x200.20)','fillAfterStrokeEnabled':!0x0,'backgroundColor':'rgba(58,\x2096,\x20247,\x200.20)','name':((_0x477a43=this[_0x2ce415(0x15a)]['getMember'](_0x41c509))==null?void 0x0:_0x477a43[_0x2ce415(0x1d3)])||'','selection':_0x503a24+'-'+_0x172e10+'-'+_0x1e9b7a['startColumn']+'-'+_0x1e9b7a['startRow']+'-'+_0x1e9b7a[_0x2ce415(0x15f)]+'-'+_0x1e9b7a[_0x2ce415(0xd2)],'left':_0x36a405,'top':_0xfc23c7,'width':_0x36a22e,'height':_0x4e397b,'evented':!0x1,'zIndex':0x1};return new _0x1d8fdb('',_0xcc55cc);}))[_0x5a0f38(0x267)]();_0x3c3624[_0x5a0f38(0x1d2)](_0x4f86c1,0x1),this[_0x5a0f38(0x22d)]=new Set(_0x4f86c1);}[_0x291ff7(0x239)](){const _0x1b78fb=_0x291ff7;var _0x355249;(_0x355249=this['_diffs'])==null||_0x355249[_0x1b78fb(0xce)](_0x30c88c=>_0x30c88c[_0x1b78fb(0x243)]());}[_0x291ff7(0xd8)](){const _0x603c54=_0x291ff7;return _0xbb1ad(this['_univerInstanceService'],this[_0x603c54(0xd6)]);}};te=ws([C(0x1,_0x2022d4(E)),C(0x2,_0x2022d4($)),C(0x3,_0x2c61dc),C(0x4,_0x46a742),C(0x5,_0x2022d4(_0x5f036f)),C(0x6,_0x5e17e2)],te);function _0x339f(){const _0xa6156e=['get','display','dateString','currentSkeleton$','defIds','Share','_initPanel','Today','column','insertSheet','_localeService','find','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','extend','user','call','cellValue','SNAPSHOT_HAS_BEEN_REMOVED','_sidebarDisposable','evenodd','substring','rect','loadingState','position','_componentManager','SelectProtectedCells','confirm','Comment','COMPLETION_FINISHED','editHistory.panel.revertDesc','assign','424bynmzE','interceptor','Loaded','getElementById','left','UNIVER_SHEET','Filter','versions','then','getCurrentLocale','History','blockMeta','getDataRange','Info','YUUMI_ASYNCIO_CANCELLED','historyListServerUrl','none','getViewport','editHistory.panel.currentUser','mutations','PERMISSION_DENIED','_hasMore','userID','ViewHistory','indexOf','userId','pipe','_uiPartsService','Copy','history-mask','_messageService','YUUMI_UNABLE_LOAD_URL','fetchThroughInterceptors','apply','univer-text-2xl\x20dark:univer-text-white','_getRangesByMutation','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','univer-animate-spin','block','triggerLoadVersions','LoadingMultiIcon','UNAUTHENTICATED','getHours','EMAIL_HAS_BEEN_BOUND','getMember','changesets','UNIVER_DOC','ALREADY_EXISTS','_diffRangesMap','m1Prime','_maskElement','LICENSE_EXPORT_SIZE_EXCEEDED','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','_historyManagerService','entries','UNIVER_UNKNOWN','UNDEFINED','loadMoreVersions','endColumn','getVersions','_createUnit','_extractRanges','closeAll','CopySheet','YUUMI_AI_RUN_FAILED','APPLY_PERMISSION_DENIED','_getActiveSubUnitId','_confirmService','1215351vyRzEJ','editHistory.panel.revertConfirmText','createTime','_snapshotServerService','disposeUnit','_initMaskContainer','canRevert','workbook','SNAPSHOT_INVALID_SNAPSHOT','DeleteColumn','2340701WoAzhr','some','getCellPositionByOffset','hidden','active','function','back-icon','LICENSE_MAX_UNITS_EXCEEDED','code','_transformMutationByOrder','exited','_openPanel','DeleteWorksheet','LICENSE_DISTRO_REJECTED','range','_cellEditorManagerService','memberId','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','INVALID_INVITE_CODE','univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','getUnitOnRev','APPLY_DUPLICATED','getOwnPropertyDescriptor','YUUMI_URL_COL_OUT_OF_RANGE','row','history-panel','CreateWorksheet','APPLY_REVISION_CONFILICT','YUUMI_RATE_OVER_LIMIT','syncExecuteCommand','_config','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','filter','PY_RUNTIME_SCRIPT_ERROR','attrs','_updateVersions','InsertRow','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','sheet','1000','RenameSheet','startRow','action','updatePermissionPoint','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','add','SetRowStyle','sheetId','map','onStarting','status','TOO_MANY_REQUESTS','SetCellStyle','className','subType','CHANGESET_REVISION_CONFILICT','CONNECTOR_DATA_TOO_LARGE','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','onPointerMove$','editHistory.panel.confirm','353fsdKXZ','_revertRevision$','VIEW_MAIN','_createMask','USER_NOT_INVITED_CODE','commands','tag','_currentVersion$','params','symbol','defineProperty','_historyContainerId','editHistory.action.revertSheetSuffix','CreateSheet','height','univer-ml-2.5\x20univer-flex\x20univer-h-8\x20univer-w-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','subscribe','getVpScrollXYInfoByPosToVp','SetWorksheetStyle','has','time','deleteProtection','currentVersion','RwHgtClWdt','isArray','length','PivotTable','_univerInstanceService','makeDirty','univer-overflow-hidden','bottom','YUUMI_TABLE_NOT_FOUND_IN_UNIT','open','Entered','addObjects','name','mask','removeSheet','WECHAT_HAS_BEEN_BOUND','push','FromArray','parse','editHistory.panel.title','backgroundColor','MOBILE_VERIFY_CODE_MISMATCH','onRendered','RecoverHistory','revertSheet','SetCellValue','endRev','_lastPointer','disposeWithMe','editHistory.panel.currentVersion','Export','fill','state$','getVersion','querySelector','body','_loadingState$','createSheet','colorChannel1','random','getCurrentVersion','_canRevert','zIndex','YUUMI_NO_CUBOID_FOR_QUESTION','_status$','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','Print','editHistory.panel.unknownUser','_configService','6472017vnxOFF','Loading','clear','value','ViemRwHgtClWdt','stopPropagation','subUnitId','EditExtraObject','propertyIsEnumerable','loadSheet','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','keys','scrollEvent$','executeCommand','DeleteRow','setCF','currentVersion$','getConfig','_context','2435736zQbJrZ','MoveWorksheet','path','skeleton','InsertHyperlink','_init','_updateDiffMarks','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','.univer-app-container-content','100%','versions$','APPLY_REJECT','MoveSheet','LOGIN_FAILED','addProtection','univer-flex\x20univer-items-center\x20univer-justify-center','RenameWorksheet','icon','getAncestorScale','revertRevision$','unitId','INVALID_ARGUMENT','createUnit','url(#$1','append','_initActiveSwitch','UNRECOGNIZED','onSteady','hasCommand','loaded','_compressMutationService','fetchMissingChangesets','HEADER','_injector','_diffs','hideMask','0\x200\x2016\x2016','SetColumnStyle','setDV','_versions$','white','_lastLabel','getMinutes','style','xlink:href','next','_removeDiffMarks','1em','command','span','_commandService','_transformService','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','ZH_CN','univer-text-gray-500','editHistory.info.loading','dispose','_members','justifyContent','ManageCollaborator','users','editHistory.action.etc','_dialogOptions$','set','MOBILE_HAS_BEEN_BOUND','FloatImg','YUUMI_SUBSCRIPTION_NOT_FOUND','setState','5jIXvZX','merge','InsertColumn','Exited','_unitId$','setFilter','UNIVER_PROJECT','_workbookDataCache','top','_maskContainer','permissionPointUpdate$','getDialogs$','editHistory.panel.revertConfirm','all','defs','HideSheet','_getAPIPrefix','startColumn','_sheetSkeletonManagerService','show','INVITE_CODE_HAS_BEEN_UES','_fetching','reduce','editHistory.panel.cancel','flat','HideWorksheet','0\x200\x2016\x2017','use','ENSURE_SNAPSHOT_EXECUTION','_combineRanges','INVITE_CODE_ALREADY_BOUND','4klbAzj','split','http://www.w3.org/2000/svg','UNIVER_SLIDE','_currentVersionDiff$','restore-icon_clip0_1247_2','string','ensureVersion','padStart','trim','absolute','_historyFetchService','Edit','ranges','loading','displayName','currentVersionDiff$','NOT_FOUND','#0B9EFB','rev','getOwnPropertySymbols','6552678VFqqZf','includes','getRelativeToViewportCoord','View','registerComponent','loadingState$','Init','flex','forEach','replace','asObservable','APPLY_NON_SEQUENTIAL_REVISION','endRow','children','getInterceptPoints','loading-multi-icon','_renderManagerService','30HawXSV','_getSheetObject','recoverTime','getUnitId','addSparkline','Duplicate','rgba(225,\x20225,\x20225,\x200.5)','createElement','blocks','values','triggerRevert','primary','rules','prototype','startRevision','EMAIL_VERIFY_CODE_MISMATCH','idSuffix','Error','YUUMI_ALL_TABLES_IS_INVALID','getDeserializedSheetBlock','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','setValue','date','showMask','svg','rule','univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','_sidebarService','unitId$','_initRender','concat','UniverIcon','_versionDiffService','currentColor','clipPath','LICENSE_IMPORT_SIZE_EXCEEDED','toISOString','status$','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','div','EditWorksheetCell','triggerLoadSheet','47859KskWwh','error','INTERNAL_ERROR','editHistory.action.revertSheetPrefix','_permissionService'];_0x339f=function(){return _0xa6156e;};return _0x339f();}function Ps(){const _0x5beb71=_0x291ff7,_0xad50a4=_0x48a345(E),_0xf8d66d=_0x49cdc2(_0xad50a4['versions$']),[_0xdfdcce,_0x20159f]=_0x575497(!0x1),_0x282a0a=cs(_0xf8d66d);return _0xf8d66d?_0x2746d5('div',{'className':_0x5beb71(0x1cd),'children':_0x10934a(_0x5beb71(0xfe),{'className':_0x5beb71(0xf1),'children':[_0x282a0a[_0x5beb71(0x1a4)]((_0x2e1078,_0x4de478)=>_0x10934a(_0x33d486,{'children':[_0x2746d5($s,{'date':_0x2e1078[_0x5beb71(0x108)]}),_0x2e1078[_0x5beb71(0x12c)][_0x5beb71(0x1a4)]((_0x687b81,_0x3fea4a)=>_0x2746d5(Vs,{'index':[_0x4de478,_0x3fea4a],'item':_0x687b81},_0x4de478+'-'+_0x3fea4a))]},_0x2e1078[_0x5beb71(0x108)])),_0xdfdcce&&_0x2746d5(Ts,{})]})}):_0x2746d5(Ls,{});}function Ts(){const _0x52a1d1=_0x291ff7;return _0x2746d5('div',{'className':_0x52a1d1(0x1ad),'children':_0x2746d5(ae,{'className':_0x52a1d1(0x14a)})});}function Ls(){const _0x302f54=_0x291ff7;return _0x2746d5(_0x302f54(0xfe),{'className':_0x302f54(0x21a),'children':_0x2746d5(_0x302f54(0x23c),{'className':_0x302f54(0x241),'children':_0x2746d5(ae,{'className':'univer-m-auto\x20univer-animate-spin'})})});}function $s(_0x3385d3){const _0x52e238=_0x291ff7,_0x19137c=_0x48a345(_0x1020e3),{date:_0x44c47e}=_0x3385d3;return _0x2746d5(_0x52e238(0xfe),{'className':_0x52e238(0xeb),'children':ee(_0x44c47e,_0x19137c[_0x52e238(0x12e)]())});}function Vs(_0x1209f3){const _0x3bfa4e=_0x291ff7,{item:_0x375119,index:_0x2d23e4}=_0x1209f3,{time:_0x4b37c2,user:_0x48ec84}=_0x375119,[_0x3d69e5,_0x23a547]=_0x2d23e4,_0x13f5a4=_0x48a345(E),_0x281499=_0x49cdc2(_0x13f5a4[_0x3bfa4e(0x208)],'',!0x0)===_0x375119['id'],_0x5c4b94=_0x3d69e5===0x0&&_0x23a547===0x0,_0x4d6309=!_0x5c4b94&&_0x13f5a4['canRevert'],_0x10a0b5=_0x48a345(_0x1020e3),_0x5270dc=_0x10a0b5[_0x3bfa4e(0x12e)](),_0xfa56f0=re(_0x4b37c2,_0x5270dc),_0x1c64ed=_0x10a0b5['t'](_0x3bfa4e(0x1e4)),_0x2a6730=_0x6c653(_0x1ed796=>{const _0x9af679=_0x3bfa4e;_0x13f5a4['loadingState']!==T[_0x9af679(0x1f9)]&&(_0x13f5a4[_0x9af679(0x1c6)]=_0x1ed796);},[_0x13f5a4]),_0x27c0e5=_0x6c653(_0x200556=>{const _0x187871=_0x3bfa4e;_0x13f5a4[_0x187871(0xe1)](_0x200556);},[_0x13f5a4]);return _0x10934a(_0x3bfa4e(0xfe),{'className':_0x18690d('univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-flex-col\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-px-4\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800',{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x281499}),'onClick':()=>_0x2a6730(_0x375119['id']),'children':[_0x10934a('div',{'className':_0x3bfa4e(0x112),'children':[_0x10934a('div',{'className':_0x3bfa4e(0x198),'children':[_0x2746d5(_0x3bfa4e(0x23c),{'children':_0xfa56f0[_0x3bfa4e(0x1c4)]}),_0x5c4b94&&_0x2746d5(_0x3bfa4e(0x23c),{'className':_0x3bfa4e(0x186),'children':_0x1c64ed})]}),_0x2746d5(_0x3bfa4e(0xfe),{'children':_0x4d6309&&_0x2746d5(_0x53a520,{'title':_0x10a0b5['t'](_0x3bfa4e(0x123)),'children':_0x2746d5(_0x3bfa4e(0xfe),{'onClick':_0x52d82d=>{const _0x34a35f=_0x3bfa4e;_0x52d82d[_0x34a35f(0x1fd)](),_0x27c0e5(_0x375119['id']);},'className':'univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','children':_0x2746d5(Le,{})})})})]}),_0x2746d5(_0x3bfa4e(0xfe),{'className':_0x3bfa4e(0x23f),'children':as(_0x375119,_0x10a0b5)})]});}var ks=Object['getOwnPropertyDescriptor'],Us=(_0x2a1553,_0x4cdee7,_0x833bc,_0x189f9f)=>{const _0x407cc4=_0x291ff7;for(var _0x280c06=_0x189f9f>0x1?void 0x0:_0x189f9f?ks(_0x4cdee7,_0x833bc):_0x4cdee7,_0x580b83=_0x2a1553[_0x407cc4(0x1c9)]-0x1,_0x42dc9e;_0x580b83>=0x0;_0x580b83--)(_0x42dc9e=_0x2a1553[_0x580b83])&&(_0x280c06=_0x42dc9e(_0x280c06)||_0x280c06);return _0x280c06;},k=(_0x12fa93,_0x5c43be)=>(_0x54e3eb,_0x55f2c6)=>_0x5c43be(_0x54e3eb,_0x55f2c6,_0x12fa93);const de=_0x291ff7(0x18c);let j=class extends _0x11deb0{constructor(_0x568940,_0x1c83c3,_0xb4414e,_0x178218){const _0xebeb82=_0x291ff7;super(),l(this,_0xebeb82(0x118),null),(this['_sidebarService']=_0x568940,this[_0xebeb82(0x11e)]=_0x1c83c3,this[_0xebeb82(0x110)]=_0xb4414e,this[_0xebeb82(0x15a)]=_0x178218,this[_0xebeb82(0x210)]());}[_0x291ff7(0x210)](){const _0x5d7081=_0x291ff7;this[_0x5d7081(0x10c)](),this['_openPanel']();}[_0x291ff7(0x17e)](){const _0x4e3458=_0x291ff7;if(this[_0x4e3458(0x118)])return;const _0x4b12d3={'header':{'title':this[_0x4e3458(0x110)]['t'](_0x4e3458(0x1da))},'children':{'label':de},'onClose':()=>{const _0x121f60=_0x4e3458;this[_0x121f60(0x118)]=null,this[_0x121f60(0x15a)][_0x121f60(0x1a6)]=ne[_0x121f60(0x252)];}};this[_0x4e3458(0x118)]=this[_0x4e3458(0xf2)]['open']({..._0x4b12d3});}[_0x291ff7(0x10c)](){const _0x13ae3c=_0x291ff7;this[_0x13ae3c(0x1e3)](this[_0x13ae3c(0x11e)]['register'](de,Ps)),this['disposeWithMe'](this[_0x13ae3c(0xf2)][_0x13ae3c(0x204)][_0x13ae3c(0x13f)](_0x53f693(0x64))[_0x13ae3c(0x1c0)](_0x5a6e8a=>{const _0x2fbeff=_0x13ae3c,{target:_0x469b1f}=_0x5a6e8a||{};if(_0x469b1f){const {scrollTop:_0x29f8aa,scrollHeight:_0x17a811,clientHeight:_0x17caa3}=_0x469b1f;_0x29f8aa+_0x17caa3>=_0x17a811-0x5&&this['_historyManagerService'][_0x2fbeff(0x15e)]();}}));}};j=Us([k(0x0,_0x3e94de),k(0x1,_0x2022d4(_0x2dfa89)),k(0x2,_0x2022d4(_0x1020e3)),k(0x3,_0x2022d4(E))],j);class xs extends _0x11deb0{constructor(){const _0x17467d=_0x291ff7;super(),l(this,_0x17467d(0x249),new _0x394e05());}[_0x291ff7(0x1d0)](){return _0x162272(()=>{});}['close'](){}[_0x291ff7(0x163)](_0x209843){}[_0x291ff7(0x25a)](){const _0x4e18f2=_0x291ff7;return this[_0x4e18f2(0x249)]['asObservable']();}}var Hs=Object[_0x291ff7(0x1ba)],Fs=Object['getOwnPropertyDescriptor'],Ys=(_0x20f436,_0xbb52ef,_0x3f9db6)=>_0xbb52ef in _0x20f436?Hs(_0x20f436,_0xbb52ef,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f9db6}):_0x20f436[_0xbb52ef]=_0x3f9db6,Bs=(_0x3f60a1,_0x37e71d,_0x564155,_0x5b00aa)=>{const _0x40b03d=_0x291ff7;for(var _0x364b63=_0x5b00aa>0x1?void 0x0:_0x5b00aa?Fs(_0x37e71d,_0x564155):_0x37e71d,_0x4fc1e0=_0x3f60a1[_0x40b03d(0x1c9)]-0x1,_0x494b05;_0x4fc1e0>=0x0;_0x4fc1e0--)(_0x494b05=_0x3f60a1[_0x4fc1e0])&&(_0x364b63=_0x494b05(_0x364b63)||_0x364b63);return _0x364b63;},J=(_0x9a0868,_0x4156f7)=>(_0x278da1,_0x30f631)=>_0x4156f7(_0x278da1,_0x30f631,_0x9a0868),js=(_0x39e0e1,_0x476ea6,_0x5bd26e)=>Ys(_0x39e0e1,_0x476ea6+'',_0x5bd26e);const As='UNIVER_EDIT_HISTORY_VIEWER_PLUGIN';let se=class extends _0x33b2eb{constructor(_0x62c99b=_e,_0x26e8ef,_0x28a90c,_0x3ae023){const _0x21e277=_0x291ff7;super(),this[_0x21e277(0x191)]=_0x62c99b,this[_0x21e277(0x22c)]=_0x26e8ef,this[_0x21e277(0xd6)]=_0x28a90c,this[_0x21e277(0x1f7)]=_0x3ae023;const {..._0x257a19}=_0x4e506c({},_e,this['_config']);this[_0x21e277(0x1f7)]['setConfig'](we,_0x257a19);}[_0x291ff7(0x1a5)](){const _0x5b5a64=_0x291ff7;[[E],[B],[$],[Y],[j],[H],[_0x3e0615,{'useClass':_0x53d817}],[_0x421f0f,{'useClass':xs}],[_0x42d1ba,{'useClass':_0x241426}]][_0x5b5a64(0xce)](_0x1a8c4b=>this[_0x5b5a64(0x22c)][_0x5b5a64(0x1a1)](_0x1a8c4b)),this[_0x5b5a64(0x22c)]['get'](B);}[_0x291ff7(0x1dd)](){const _0x31ff98=_0x291ff7;[[te]][_0x31ff98(0xce)](_0xb14021=>{const _0x43b94f=_0x31ff98;this[_0x43b94f(0x1e3)](this['_renderManagerService']['registerRenderModule'](_0x8f2e34['UNIVER_SHEET'],_0xb14021));}),this[_0x31ff98(0x22c)][_0x31ff98(0x106)](H),this[_0x31ff98(0x22c)][_0x31ff98(0x106)](j);}[_0x291ff7(0x226)](){const _0x366c10=_0x291ff7;this['_injector'][_0x366c10(0x106)]($);}};js(se,'pluginName',As),se=Bs([_0x1c2b50(_0x5b8031,_0x4168f4),J(0x1,_0x2022d4(_0xb0321)),J(0x2,_0x46a742),J(0x3,_0x3881f4)],se);export{E as HistoryManagerService,ne as HistoryModeStatus,se as UniverEditHistoryViewerPlugin};
|
|
1
|
+
const _0x30ce7c=_0x29a1;(function(_0x14a190,_0x138a13){const _0x14f40c=_0x29a1,_0x599af9=_0x14a190();while(!![]){try{const _0x10a7b9=-parseInt(_0x14f40c(0x284))/0x1+-parseInt(_0x14f40c(0x2eb))/0x2+-parseInt(_0x14f40c(0x1ba))/0x3+-parseInt(_0x14f40c(0x289))/0x4+-parseInt(_0x14f40c(0x20a))/0x5+parseInt(_0x14f40c(0x352))/0x6*(-parseInt(_0x14f40c(0x321))/0x7)+-parseInt(_0x14f40c(0x221))/0x8*(-parseInt(_0x14f40c(0x202))/0x9);if(_0x10a7b9===_0x138a13)break;else _0x599af9['push'](_0x599af9['shift']());}catch(_0x20da4f){_0x599af9['push'](_0x599af9['shift']());}}}(_0x1e3e,0xd44de));var Fe=Object['defineProperty'],Ye=(_0x4344f8,_0x2ae7e5,_0x19cd55)=>_0x2ae7e5 in _0x4344f8?Fe(_0x4344f8,_0x2ae7e5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x19cd55}):_0x4344f8[_0x2ae7e5]=_0x19cd55,l=(_0x33e2ee,_0x30f0ea,_0x1246c2)=>Ye(_0x33e2ee,typeof _0x30f0ea!='symbol'?_0x30f0ea+'':_0x30f0ea,_0x1246c2);import{RevertRevisionMutation as _0x3c12b9,CreateUnitMutation as _0x992d8b,ISnapshotServerService as _0x653d95,CompressMutationService as _0x5dde78,transformSnapshotToWorkbookData as _0x2793a1,ITransformService as _0xe2da3d,parseProtocolChangeset as _0x124a1a,isTransformMutationsSuccess as _0x74a44e}from'@univerjs-pro/collaboration';import{SnapshotServerOverHTTPService as _0x1be59e,CollaborationImageIoService as _0x2d9628}from'@univerjs-pro/collaboration-client';function _0x1e3e(){const _0x18d6b5=['getCurrent','_permissionService','tag','EMAIL_HAS_BEEN_BOUND','currentVersion$','DeleteRow','startRow','editHistory.panel.currentVersion','createSheet','find','TOO_MANY_REQUESTS','editHistory.panel.cancel','MoveSheet','1em','mask','ensureVersion','_hasMore','editHistory.header.revert','VIEW_MAIN','univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-flex-col\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-px-4\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','_lastPointer','6EYuKoD','confirm-revert-revision','FromArray','prototype','interceptor','HideWorksheet','propertyIsEnumerable','zIndex','univer-ml-2.5\x20univer-flex\x20univer-h-8\x20univer-w-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','_compressMutationService','_localeService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','memberId','YUUMI_AI_RUN_FAILED','univer-overflow-hidden','_initMaskContainer',':\x20(','USER_NOT_INVITED_CODE','getOwnPropertyDescriptor','COMPRESS_MUTATION_APPLY','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','DeleteColumn','APPLY_PERMISSION_DENIED','ZH_CN','icon','_revertRevision$','anonymous','_snapshotServerService','ALREADY_EXISTS','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','currentColor','loaded','CreatePermissionObject','_createMask','unitId','.univer-app-container-content','4957146Zbyrwa','Filter','state$','_openPanel','open','_extractRanges','setConfig','updatePermissionPoint','endRevision','unitId$','getCurrentUnitForType','triggerLoadSheet','string','entries','MoveWorksheet','addProtection','loading','UNIVER_SLIDE','pipe','RwHgtClWdt','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','setValue','url(#$1','absolute','loadingState','call','getRelativeToViewportCoord','svg','COMPLETION_FINISHED','UNDEFINED','canRevert','_lastLabel','users','_sidebarDisposable','all','SNAPSHOT_HAS_BEEN_REMOVED','register','permissionPointUpdate$','m1Prime','children','toISOString','_diffs','_commandService','UNIVER_DOC','_versionDiffService','editHistory.panel.title','ranges','editHistory.action.etc','replace','FloatImg','triggerRevert','_getSheetObject','confirm','endRev','_confirmService','Export','subscribeEvent','setState','onPointerMove$','loadingState$','univer-flex\x20univer-items-center\x20univer-justify-center','setDV','getDataRange','ViewFilter','transformMutations','View','CreateSheet','querySelector','SetRowStyle','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','editHistory.info.loading','_createUnit','90KyIzFI','YUUMI_SUBSCRIPTION_NOT_FOUND','_historyFetchService','forEach','onRendered','data','set','_getAPIPrefix','6599220KDruwG','_removeDiffMarks','colorChannel1','endColumn','attrs','editHistory.panel.currentUser','INVITE_CODE_REQUIRED','univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','fill','univer-animate-spin','DeleteSheet','stopPropagation','range','EditExtraObject','rect','Print','_messageService','white','hideMask','history-mask','_fetching','add','mutations','7554824ANXdVl','_injector','UNIVER_SHEET','length','_currentVersionDiff$','currentVersionDiff$','loadSheet','some','_maskElement','path','_updateDiffMarks','YUUMI_NO_CUBOID_FOR_QUESTION','createTime','INVALID_ARGUMENT','currentSkeleton$','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','filter','Comment','getMember','MOBILE_HAS_BEEN_BOUND','userID','flat','getAncestorScale','NOT_FOUND','endRow','rgba(58,\x2096,\x20247,\x200.20)','column','assign','editHistory.panel.listFetchError','justifyContent','closeAll','primary','_combineRanges','Info','action','Sort','_updateVersions','Edit','1000','revertRevision$','rules','INVITE_CODE_ALREADY_BOUND','defIds','InsertColumn','getCurrentLocale','recoverTime','setCF','_unitId$','display','map','disposeUnit','_cellEditorManagerService','_diffRangesMap','Entered','univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','LICENSE_DISTRO_REJECTED','merge','versions$','Exited','0\x200\x2016\x2016','split','SelectUnProtectedCells','SetCellStyle','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','Loaded','CopySheet','name','restore-icon_clip0_1247_2','addObjects','PivotTable','_transformService','UNIVER_UNKNOWN','ViewHistory','APPLY_DUPLICATED','DeleteWorksheet','startColumn','SelectProtectedCells','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','extend','has','top','body','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','_members','Share','evenodd','userId','_dialogOptions$','editHistory.panel.revertConfirmText','subscribe','init','toString','keys','YUUMI_URL_COL_OUT_OF_RANGE','getInterceptPoints','100%','HideSheet','WECHAT_HAS_BEEN_BOUND','blockMeta','1643168SDdokh','Error','APPLY_REVISION_CONFILICT','disposeWithMe','bottom','5077368tOvTYC','LICENSE_EXPORT_SIZE_EXCEEDED','getVersion','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','Loading','status$','clear','showMask','none','_sidebarService','dateString','YUUMI_RATE_OVER_LIMIT','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_init','substring','date','RenameSheet','displayName','_componentManager','focusUnit','Today','xlink:href','YUUMI_TABLE_NOT_FOUND_IN_UNIT','univer-text-gray-500','triggerLoadVersions','row','defineProperty','clipPath','rule','getMinutes','status','dispose','UNRECOGNIZED','parse','http://www.w3.org/2000/svg','univer-text-2xl\x20dark:univer-text-white','show','LoadingMultiIcon','_context','entities','left','function','fetchMissingChangesets','setFrozen','/list?length=20','restore-icon','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','RestoreIcon','values','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','now','div','entered','univer-m-auto\x20univer-animate-spin','getUnitId','push','rev','insertSheet','active','commands','createElement','error','current','params','then','univerjs-icon\x20univerjs-icon-','historyListServerUrl','EditWorksheetCell','History','_workbookDataCache','getOwnPropertySymbols','VIRTUAL_VERSION_NOW','_canRevert','ViemRwHgtClWdt','close','#0B9EFB','ManageCollaborator','getCurrentVersion','setFilter','&lastLabel=','CHANGESET_REVISION_CONFILICT','YUUMI_UNABLE_LOAD_URL','addSparkline','_httpService','getVersions','use','registerRenderModule','random','_sheetSkeletonManagerService','onMouseMove','PY_RUNTIME_SCRIPT_ERROR','className','_maskContainer','versions','subType','asObservable','SNAPSHOT_INVALID_SNAPSHOT','defs','2802282MbtDPV','_univerInstanceService','value','concat','time','next','deleteProtection','get','hasOwnProperty','ENSURE_SNAPSHOT_EXECUTION','code','style','cellValue','_uiPartsService','Duplicate','Copy','hidden','_getActiveSubUnitId','[HistoryFetchService]:\x20request\x20snapshot\x20error!','editHistory.action.revertSheetPrefix','append','UNIVER_PROJECT','MOBILE_VERIFY_CODE_MISMATCH','APPLY_NON_SEQUENTIAL_REVISION','_status$','idSuffix','back-icon','loadMoreVersions','block','span','LICENSE_IMPORT_SIZE_EXCEEDED','indexOf','center','changesets','sheet','flex','_configService','YUUMI_ASYNCIO_CANCELLED','_historyManagerService','includes','trim','_versions$','UNAUTHENTICATED','getHours','PERMISSION_DENIED','editSheet','SetColumnStyle','RecoverHistory','getDeserializedSheetBlock','SetCellValue','LICENSE_MAX_UNITS_EXCEEDED','_loadingState$','Init','_initPanel','9016385qWqGuV','subUnitId','forValue','_historyContainerId','rgba(225,\x20225,\x20225,\x200.5)','syncExecuteCommand','CONNECTOR_DATA_TOO_LARGE','loading-multi-icon','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','InsertHyperlink','_config','currentVersion','INTERNAL_ERROR','_renderManagerService','INVALID_INVITE_CODE','blocks','APPLY_REJECT','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','BackIcon','_initRender','user','_getRangesByMutation','Delete','pluginName','_currentVersion$','edit-history-viewer.config','SetWorksheetStyle','getConfig'];_0x1e3e=function(){return _0x18d6b5;};return _0x1e3e();}import{Disposable as _0x465e76,LocaleType as _0x1a31ab,IUniverInstanceService as _0x3553ef,ICommandService as _0x476082,IConfigService as _0xccbdbe,Inject as _0x589a0a,UniverInstanceType as _0x118ac5,LocaleService as _0x31174f,IPermissionService as _0xc06d5b,Injector as _0x18fa16,ObjectMatrix as _0x17d01c,debounce as _0x1d87c9,DisposableCollection as _0x498800,toDisposable as _0x51b4fc,DependentOn as _0x2662c2,Plugin as _0xdb2cbd,merge as _0x473893}from'@univerjs/core';import{IImageIoService as _0x258094}from'@univerjs/drawing';import{IRenderManagerService as _0x138504,Vector2 as _0x2f585e,SHEET_VIEWPORT_KEY as _0x477df6}from'@univerjs/engine-render';import{HTTPService as _0x529191,UniverNetworkPlugin as _0x2386a3}from'@univerjs/network';import{ICellEditorManagerService as _0x31f958,SheetSkeletonManagerService as _0x6925bf,getCoordByCell as _0x209d8d,getSheetObject as _0x35db7b,UniverSheetsUIPlugin as _0x12f31b}from'@univerjs/sheets-ui';import{IMessageService as _0x2b1d68,IConfirmService as _0x517812,useDependency as _0x3f2f12,useObservable as _0x2be2bb,IUIPartsService as _0x59eb5b,BuiltInUIPart as _0x4b9d9b,connectInjector as _0x134491,ISidebarService as _0x308417,ComponentManager as _0x80edea,IDialogService as _0x494d67}from'@univerjs/ui';import{MessageType as _0x12bc01,clsx as _0x21640f,Button as _0x2aa219,borderBottomClassName as _0x43c467,Tooltip as _0x31bdb2}from'@univerjs/design';import{InsertSheetMutation as _0x498e55,RemoveSheetMutation as _0x577e8e,SetFrozenMutation as _0x5cb34e,AddWorksheetProtectionMutation as _0x4b0530,AddRangeProtectionMutation as _0x1665a0,DeleteRangeProtectionMutation as _0xa70e0e,DeleteWorksheetProtectionMutation as _0x52b09e,WorkbookEditablePermission as _0x467ce0,WorkbookRenameSheetPermission as _0x482c2d,WorkbookMoveSheetPermission as _0x40e281,WorkbookHideSheetPermission as _0x18cd4f,SetWorksheetHideMutation as _0x98526,SetRangeValuesMutation as _0xc3b1b7,SetRangeProtectionMutation as _0x351456,ReorderRangeMutation as _0x398dc7,RemoveNumfmtMutation as _0x4d03d8,SetNumfmtMutation as _0x2742b8,MoveColsMutation as _0x3b13ba,MoveRowsMutation as _0x3feaea,MoveRangeMutation as _0x488926,InsertColMutation as _0x1646fc,InsertRowMutation as _0x5bac58,AddWorksheetMergeMutation as _0x57f85c,RangeMergeUtil as _0x2d9d33,findAllRectangle as _0x5097e6,SetWorksheetActiveOperation as _0x4fc551}from'@univerjs/sheets';import{BehaviorSubject as _0x120766,combineLatest as _0x410a6a,switchMap as _0x2269e0,map as _0x3829b8,of as _0x2e4f03,debounceTime as _0x57b2f8,Subject as _0x2aba0d}from'rxjs';import{AddSheetSparklineMutation as _0x1ce1e3}from'@univerjs-pro/sheets-sparkline';import{AddDataValidationMutation as _0x25a56c,UpdateDataValidationMutation as _0x1e373f}from'@univerjs/data-validation';import{SetConditionalRuleMutation as _0x4bf30b,AddConditionalRuleMutation as _0x2d4e9c}from'@univerjs/sheets-conditional-formatting';import{SetSheetsFilterRangeMutation as _0x148291}from'@univerjs/sheets-filter';import{jsxs as _0x270de0,jsx as _0x36b7d5}from'react/jsx-runtime';import{forwardRef as _0x3496ac,useRef as _0x39b5ef,createElement as _0x2f56af,useCallback as _0x2c2367,useState as _0x5be4bd,Fragment as _0x533eaa}from'react';import{SheetCollabCursorShape as _0x606fc1}from'@univerjs-pro/collaboration-client-ui';const we=_0x30ce7c(0x33a),_e={};var ss=Object[_0x30ce7c(0x364)],is=(_0x5e3df7,_0x283a8b,_0x470f79,_0x35efc2)=>{for(var _0x1e516e=_0x35efc2>0x1?void 0x0:_0x35efc2?ss(_0x283a8b,_0x470f79):_0x283a8b,_0x2b8209=_0x5e3df7['length']-0x1,_0x367887;_0x2b8209>=0x0;_0x2b8209--)(_0x367887=_0x5e3df7[_0x2b8209])&&(_0x1e516e=_0x367887(_0x1e516e)||_0x1e516e);return _0x1e516e;},rs=(_0x5a5c5f,_0x1dd276)=>(_0x328547,_0x1ccccc)=>_0x1dd276(_0x328547,_0x1ccccc,_0x5a5c5f);let H=class extends _0x465e76{constructor(_0x5e1e43){const _0x59ff71=_0x30ce7c;super(),this[_0x59ff71(0x254)]=_0x5e1e43,this[_0x59ff71(0x296)]();}[_0x30ce7c(0x296)](){const _0x191402=_0x30ce7c;this[_0x191402(0x287)](this[_0x191402(0x254)][_0x191402(0x1bc)][_0x191402(0x27a)](_0x3ce7b5=>{const _0x162e00=_0x191402;_0x3ce7b5!=null&&_0x3ce7b5['show']&&this['_cellEditorManagerService'][_0x162e00(0x1f3)]({'show':!0x1});}));}};H=is([rs(0x0,_0x31f958)],H);var X=(_0x4a0ba0=>(_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x1d7)]=0x0]=_0x30ce7c(0x1d7),_0x4a0ba0[_0x4a0ba0['OK']=0x1]='OK',_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x32d)]=0x2]='INTERNAL_ERROR',_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x317)]=0x3]=_0x30ce7c(0x317),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x238)]=0x4]=_0x30ce7c(0x238),_0x4a0ba0[_0x4a0ba0['UNAUTHENTICATED']=0x5]=_0x30ce7c(0x315),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x1b2)]=0x6]=_0x30ce7c(0x1b2),_0x4a0ba0[_0x4a0ba0['INVALID_ARGUMENT']=0x7]=_0x30ce7c(0x22e),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x347)]=0x8]=_0x30ce7c(0x347),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x1d6)]=0x9]='COMPLETION_FINISHED',_0x4a0ba0[_0x4a0ba0['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x301)]=0xb]=_0x30ce7c(0x301),_0x4a0ba0[_0x4a0ba0['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x30ce7c(0x332),_0x4a0ba0[_0x4a0ba0['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x4a0ba0[_0x4a0ba0['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x30ce7c(0x35d),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x2d9)]=0x1389]=_0x30ce7c(0x2d9),_0x4a0ba0[_0x4a0ba0['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x30ce7c(0x2e9),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x1dd)]=0x1772]=_0x30ce7c(0x1dd),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x2f4)]=0x1773]=_0x30ce7c(0x2f4),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x331)]=0x1b59]='APPLY_REJECT',_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x302)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x286)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x368)]=0x1b5c]=_0x30ce7c(0x368),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x26a)]=0x1b5d]=_0x30ce7c(0x26a),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x327)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x31d)]=0x2329]=_0x30ce7c(0x31d),_0x4a0ba0[_0x4a0ba0['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x309)]=0x232b]=_0x30ce7c(0x309),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x28a)]=0x232c]=_0x30ce7c(0x28a),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x258)]=0x232d]=_0x30ce7c(0x258),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x2da)]=0x2711]=_0x30ce7c(0x2da),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x27e)]=0x2712]=_0x30ce7c(0x27e),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x294)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x203)]=0x2714]=_0x30ce7c(0x203),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x22c)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x310)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x29f)]=0x271c]=_0x30ce7c(0x29f),_0x4a0ba0[_0x4a0ba0['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x329)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x35f)]=0x271f]=_0x30ce7c(0x35f),_0x4a0ba0[_0x4a0ba0['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x2e3)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x4a0ba0[_0x4a0ba0['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x32f)]=0x2ee2]=_0x30ce7c(0x32f),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x210)]=0x2ee3]=_0x30ce7c(0x210),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x363)]=0x2ee4]=_0x30ce7c(0x363),_0x4a0ba0[_0x4a0ba0['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x30ce7c(0x24a),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x282)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x4a0ba0[_0x4a0ba0['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x30ce7c(0x234),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x340)]=0x32cb]=_0x30ce7c(0x340),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x2a9)]=-0x1]=_0x30ce7c(0x2a9),_0x4a0ba0))(X||{}),F=(_0x2436bf=>(_0x2436bf[_0x2436bf[_0x30ce7c(0x268)]=0x0]=_0x30ce7c(0x268),_0x2436bf[_0x2436bf[_0x30ce7c(0x1e5)]=0x1]='UNIVER_DOC',_0x2436bf[_0x2436bf[_0x30ce7c(0x223)]=0x2]=_0x30ce7c(0x223),_0x2436bf[_0x2436bf['UNIVER_SLIDE']=0x3]=_0x30ce7c(0x1cb),_0x2436bf[_0x2436bf[_0x30ce7c(0x300)]=0x4]=_0x30ce7c(0x300),_0x2436bf[_0x2436bf['UNRECOGNIZED']=-0x1]=_0x30ce7c(0x2a9),_0x2436bf))(F||{}),b=(_0x3734b1=>(_0x3734b1[_0x3734b1[_0x30ce7c(0x1fb)]=0x0]=_0x30ce7c(0x1fb),_0x3734b1[_0x3734b1[_0x30ce7c(0x246)]=0x1]=_0x30ce7c(0x246),_0x3734b1[_0x3734b1[_0x30ce7c(0x2d5)]=0x2]='ManageCollaborator',_0x3734b1[_0x3734b1['Print']=0x3]=_0x30ce7c(0x219),_0x3734b1[_0x3734b1[_0x30ce7c(0x2f9)]=0x4]=_0x30ce7c(0x2f9),_0x3734b1[_0x3734b1[_0x30ce7c(0x232)]=0x5]=_0x30ce7c(0x232),_0x3734b1[_0x3734b1[_0x30ce7c(0x2fa)]=0x6]=_0x30ce7c(0x2fa),_0x3734b1[_0x3734b1[_0x30ce7c(0x275)]=0x7]=_0x30ce7c(0x275),_0x3734b1[_0x3734b1[_0x30ce7c(0x1f1)]=0x8]='Export',_0x3734b1[_0x3734b1['MoveWorksheet']=0x9]=_0x30ce7c(0x1c8),_0x3734b1[_0x3734b1[_0x30ce7c(0x26b)]=0xa]=_0x30ce7c(0x26b),_0x3734b1[_0x3734b1[_0x30ce7c(0x357)]=0xb]=_0x30ce7c(0x357),_0x3734b1[_0x3734b1['RenameWorksheet']=0xc]='RenameWorksheet',_0x3734b1[_0x3734b1['CreateWorksheet']=0xd]='CreateWorksheet',_0x3734b1[_0x3734b1[_0x30ce7c(0x33b)]=0xe]=_0x30ce7c(0x33b),_0x3734b1[_0x3734b1[_0x30ce7c(0x2cc)]=0xf]=_0x30ce7c(0x2cc),_0x3734b1[_0x3734b1[_0x30ce7c(0x32a)]=0x10]=_0x30ce7c(0x32a),_0x3734b1[_0x3734b1[_0x30ce7c(0x244)]=0x11]=_0x30ce7c(0x244),_0x3734b1[_0x3734b1[_0x30ce7c(0x1bb)]=0x12]=_0x30ce7c(0x1bb),_0x3734b1[_0x3734b1[_0x30ce7c(0x266)]=0x13]=_0x30ce7c(0x266),_0x3734b1[_0x3734b1[_0x30ce7c(0x1eb)]=0x14]=_0x30ce7c(0x1eb),_0x3734b1[_0x3734b1[_0x30ce7c(0x2cd)]=0x15]='History',_0x3734b1[_0x3734b1[_0x30ce7c(0x1cd)]=0x16]=_0x30ce7c(0x1cd),_0x3734b1[_0x3734b1['ViemRwHgtClWdt']=0x17]=_0x30ce7c(0x2d2),_0x3734b1[_0x3734b1[_0x30ce7c(0x1f9)]=0x18]=_0x30ce7c(0x1f9),_0x3734b1[_0x3734b1['MoveSheet']=0x19]=_0x30ce7c(0x349),_0x3734b1[_0x3734b1[_0x30ce7c(0x214)]=0x1a]='DeleteSheet',_0x3734b1[_0x3734b1[_0x30ce7c(0x281)]=0x1b]=_0x30ce7c(0x281),_0x3734b1[_0x3734b1['CopySheet']=0x1c]=_0x30ce7c(0x262),_0x3734b1[_0x3734b1['RenameSheet']=0x1d]=_0x30ce7c(0x299),_0x3734b1[_0x3734b1[_0x30ce7c(0x1fc)]=0x1e]='CreateSheet',_0x3734b1[_0x3734b1[_0x30ce7c(0x26d)]=0x1f]=_0x30ce7c(0x26d),_0x3734b1[_0x3734b1[_0x30ce7c(0x25e)]=0x20]=_0x30ce7c(0x25e),_0x3734b1[_0x3734b1[_0x30ce7c(0x25f)]=0x21]=_0x30ce7c(0x25f),_0x3734b1[_0x3734b1[_0x30ce7c(0x31c)]=0x22]=_0x30ce7c(0x31c),_0x3734b1[_0x3734b1[_0x30ce7c(0x1fe)]=0x23]=_0x30ce7c(0x1fe),_0x3734b1[_0x3734b1[_0x30ce7c(0x319)]=0x24]=_0x30ce7c(0x319),_0x3734b1[_0x3734b1['InsertRow']=0x25]='InsertRow',_0x3734b1[_0x3734b1[_0x30ce7c(0x24c)]=0x26]=_0x30ce7c(0x24c),_0x3734b1[_0x3734b1[_0x30ce7c(0x342)]=0x27]='DeleteRow',_0x3734b1[_0x3734b1[_0x30ce7c(0x367)]=0x28]=_0x30ce7c(0x367),_0x3734b1[_0x3734b1['EditExtraObject']=0x29]=_0x30ce7c(0x217),_0x3734b1[_0x3734b1[_0x30ce7c(0x337)]=0x2a]='Delete',_0x3734b1[_0x3734b1[_0x30ce7c(0x31a)]=0x2b]=_0x30ce7c(0x31a),_0x3734b1[_0x3734b1[_0x30ce7c(0x269)]=0x2c]=_0x30ce7c(0x269),_0x3734b1[_0x3734b1[_0x30ce7c(0x1b6)]=0x2d]=_0x30ce7c(0x1b6),_0x3734b1[_0x3734b1[_0x30ce7c(0x2a9)]=-0x1]=_0x30ce7c(0x2a9),_0x3734b1))(b||{});function ns(_0x16c7ac){const _0x161bdc=_0x30ce7c;return!!(_0x16c7ac&&_0x16c7ac[_0x161bdc(0x2f5)]&&_0x16c7ac[_0x161bdc(0x2f5)]!==X['OK']&&_0x16c7ac[_0x161bdc(0x2f5)]!=='OK');}const re=(_0x1bb6d2,_0x584039)=>{const _0x7da7df=_0x30ce7c;if(!_0x1bb6d2)return{'date':'','time':''};const _0x11b283=new Date(_0x1bb6d2),_0x53d5e9=_0x11b283[_0x7da7df(0x1e2)]()[_0x7da7df(0x25d)]('T')[0x0];switch(_0x584039){case _0x1a31ab['ZH_CN']:return{'date':ee(_0x53d5e9,_0x584039),'time':_0x11b283[_0x7da7df(0x316)]()+':'+String(_0x11b283[_0x7da7df(0x2a6)]())['padStart'](0x2,'0')};default:return{'date':ee(_0x53d5e9,_0x584039),'time':_0x11b283['getHours']()+':'+_0x11b283[_0x7da7df(0x2a6)]()};}},as=(_0x4c94d8,_0x2daae1)=>{const _0x2b0e9b=_0x30ce7c,_0x112080=_0x4c94d8[_0x2b0e9b(0x335)]||_0x2daae1['t']('editHistory.panel.unknownUser');if(_0x4c94d8[_0x2b0e9b(0x2c4)][_0x2b0e9b(0x228)](_0x3c5362=>_0x3c5362===_0x3c12b9['id'])&&_0x4c94d8['recoverTime']){const _0x1e3149=re(_0x4c94d8[_0x2b0e9b(0x24e)],_0x2daae1[_0x2b0e9b(0x24d)]()),_0x30911b=_0x1e3149[_0x2b0e9b(0x298)]+'\x20'+_0x1e3149[_0x2b0e9b(0x2ef)];return _0x112080+'\x20'+_0x2daae1['t'](_0x2b0e9b(0x2fe))+'\x20'+_0x30911b+'\x20'+_0x2daae1['t']('editHistory.action.revertSheetSuffix');}const _0x44bd01=os(_0x4c94d8),_0x3a41f8=_0x44bd01[_0x2b0e9b(0x224)]===0x1?_0x2daae1['t'](_0x44bd01[0x0]):''+_0x2daae1['t'](_0x44bd01[0x0])+_0x2daae1['t'](_0x2b0e9b(0x1e9));return _0x112080+'\x20'+_0x3a41f8;};function os(_0x2abe26){const _0x1a0958=_0x30ce7c;if(_0x2abe26['commands']['length']===0x0)return[''];const _0x143c20='editHistory.action.',_0xd8ac6=_0x143c20+_0x1a0958(0x318),_0x1d7e3b=[{'id':_0x992d8b['id'],'action':_0x143c20+_0x1a0958(0x345)},{'id':_0x3c12b9['id'],'action':_0x143c20+'revertSheet'},{'id':_0x498e55['id'],'action':_0x143c20+_0x1a0958(0x2c2)},{'id':_0x577e8e['id'],'action':_0x143c20+'removeSheet'},{'id':_0x5cb34e['id'],'action':_0x143c20+_0x1a0958(0x2b4)},{'id':_0x148291['id'],'action':_0x143c20+_0x1a0958(0x2d7)},{'id':_0x25a56c['id'],'action':_0x143c20+_0x1a0958(0x1f7)},{'id':_0x1e373f['id'],'action':_0x143c20+'setDV'},{'id':_0x4bf30b['id'],'action':_0x143c20+_0x1a0958(0x24f)},{'id':_0x2d4e9c['id'],'action':_0x143c20+_0x1a0958(0x24f)},{'id':_0x4b0530['id'],'action':_0x143c20+_0x1a0958(0x1c9)},{'id':_0x1665a0['id'],'action':_0x143c20+'addProtection'},{'id':_0x1ce1e3['id'],'action':_0x143c20+_0x1a0958(0x2db)},{'id':_0xa70e0e['id'],'action':_0x143c20+_0x1a0958(0x2f1)},{'id':_0x52b09e['id'],'action':_0x143c20+_0x1a0958(0x2f1)}][_0x1a0958(0x231)](_0x599866=>_0x2abe26[_0x1a0958(0x2c4)][_0x1a0958(0x312)](_0x599866['id']));return _0x1d7e3b!=null&&_0x1d7e3b['length']?_0x1d7e3b['map'](_0x12ca5d=>_0x12ca5d[_0x1a0958(0x243)]):[_0xd8ac6];}function ee(_0x4633a8,_0x5bc9ff){const _0x1cebd5=_0x30ce7c,[_0x4b6403,_0x413f7e,_0x223c80]=new Date()['toISOString']()[_0x1cebd5(0x25d)]('T')[0x0][_0x1cebd5(0x25d)]('-'),[_0x2b5eb2,_0x9c2629,_0x1bc49f]=_0x4633a8['split']('-'),_0x47e4bc=_0x4b6403===_0x2b5eb2&&_0x413f7e===_0x9c2629&&_0x223c80===_0x1bc49f;let _0x2a61b6='',_0x40dda9='',_0x3de8e3='';switch(_0x5bc9ff){case _0x1a31ab[_0x1cebd5(0x369)]:return _0x47e4bc?'今天':(_0x2a61b6=_0x4b6403===_0x2b5eb2?'':_0x2b5eb2+'年',_0x40dda9=_0x9c2629+'月',_0x3de8e3=_0x1bc49f+'日',''+_0x2a61b6+_0x40dda9+_0x3de8e3);default:return _0x47e4bc?_0x1cebd5(0x29d):(_0x2a61b6=_0x4b6403===_0x2b5eb2?'':_0x2b5eb2+'-',_0x40dda9=_0x9c2629+'-',_0x3de8e3=''+_0x1bc49f,''+_0x2a61b6+_0x40dda9+_0x3de8e3);}}function cs(_0x3a15f0){return _0x3a15f0?_0x3a15f0['reduce']((_0x13900a,_0x14025e)=>{const _0x4045ce=_0x29a1,_0x34ed5a=new Date(_0x14025e[_0x4045ce(0x2ef)])[_0x4045ce(0x1e2)]()['split']('T')[0x0];return _0x13900a[_0x4045ce(0x224)]>0x0&&_0x13900a[_0x13900a[_0x4045ce(0x224)]-0x1][_0x4045ce(0x293)]===_0x34ed5a?_0x13900a[_0x13900a['length']-0x1][_0x4045ce(0x2e6)][_0x4045ce(0x2c0)](_0x14025e):_0x13900a[_0x4045ce(0x2c0)]({'dateString':_0x34ed5a,'versions':[_0x14025e]}),_0x13900a;},[]):[];}var ls=Object[_0x30ce7c(0x364)],us=(_0x57d8f8,_0x32c5f1,_0x3bfaf8,_0x356a8e)=>{for(var _0x15d12a=_0x356a8e>0x1?void 0x0:_0x356a8e?ls(_0x32c5f1,_0x3bfaf8):_0x32c5f1,_0x22e90c=_0x57d8f8['length']-0x1,_0xc607a2;_0x22e90c>=0x0;_0x22e90c--)(_0xc607a2=_0x57d8f8[_0x22e90c])&&(_0x15d12a=_0xc607a2(_0x15d12a)||_0x15d12a);return _0x15d12a;},D=(_0x104982,_0x58086a)=>(_0x106a4a,_0x5d3a05)=>_0x58086a(_0x106a4a,_0x5d3a05,_0x104982);const _s='/universer-api/history';let Y=class extends _0x465e76{constructor(_0x214dfa,_0x489351,_0x37e794,_0x782427,_0x4f9170,_0x3967c6){const _0x58173d=_0x30ce7c;super(),l(this,_0x58173d(0x2ce),new Map()),(this[_0x58173d(0x1b1)]=_0x214dfa,this[_0x58173d(0x2ec)]=_0x489351,this[_0x58173d(0x1e4)]=_0x37e794,this[_0x58173d(0x30f)]=_0x782427,this[_0x58173d(0x2dc)]=_0x4f9170,this['_compressMutationService']=_0x3967c6);}['dispose'](){const _0x5ac2f6=_0x30ce7c;this[_0x5ac2f6(0x2ce)][_0x5ac2f6(0x28f)](),super[_0x5ac2f6(0x2a8)]();}async[_0x30ce7c(0x2dd)](_0x394f7c,_0x3f41f2){const _0x523f18=_0x30ce7c,_0x9557fe=this[_0x523f18(0x209)]()+'/'+_0x394f7c+_0x523f18(0x2b5)+(_0x3f41f2?_0x523f18(0x2d8)+_0x3f41f2:'');try{const _0x2f57b1=(await this[_0x523f18(0x2dc)][_0x523f18(0x2f2)](_0x9557fe))[_0x523f18(0x272)];if(_0x2f57b1&&_0x2f57b1[_0x523f18(0x2c6)]&&_0x2f57b1[_0x523f18(0x2c6)][_0x523f18(0x2f5)]===X['OK']){const {hasMore:_0x4e3483,lastLabel:_0xd58aae}=_0x2f57b1,_0x5e8d75=hs(_0x2f57b1),_0x2aa348=_0x2f57b1[_0x523f18(0x2b0)][_0x523f18(0x1da)];return{'hasMore':_0x4e3483,'lastLabel':_0xd58aae,'versions':_0x5e8d75,'members':_0x2aa348};}}catch(_0x583c2c){console[_0x523f18(0x2c6)](_0x583c2c);}return null;}[_0x30ce7c(0x209)](){const _0x563253=_0x30ce7c;var _0x2e778a;const _0x41d397=this['_configService'][_0x563253(0x33c)](we);return(_0x2e778a=_0x41d397==null?void 0x0:_0x41d397[_0x563253(0x2cb)])!=null?_0x2e778a:_s;}async['loadSheet'](_0xc5bc2d,_0x506d58,_0x3597e0){const _0x363262=_0x30ce7c;var _0x9a5559,_0x2a1b13;_0x3597e0===void 0x0&&(_0x3597e0={}),this[_0x363262(0x2ce)][_0x363262(0x270)](_0xc5bc2d)||this[_0x363262(0x2ce)][_0x363262(0x208)](_0xc5bc2d,new Map());const {snapshot:_0x400f1b,changesets:_0x3bd4f3,error:_0x188fd1}=await this[_0x363262(0x1b1)]['getUnitOnRev'](_0x3597e0,{'unitID':_0xc5bc2d,'type':F[_0x363262(0x223)],'revision':_0x506d58});if(ns(_0x188fd1)||!_0x400f1b||!_0x400f1b['workbook'])throw new Error(_0x363262(0x2fd));const _0x34a764=(_0x9a5559=_0x3bd4f3==null?void 0x0:_0x3bd4f3[_0x363262(0x224)])!=null?_0x9a5559:0x0;if(_0x506d58!==0x0&&_0x400f1b[_0x363262(0x2c1)]+_0x34a764!==_0x506d58)throw new Error(_0x363262(0x273));const {workbook:_0x4d5599}=_0x400f1b,_0x137d49=_0x4d5599[_0x363262(0x283)]?Object[_0x363262(0x1c7)](_0x4d5599[_0x363262(0x283)])[_0x363262(0x252)](([_0x43182b,_0x1793a2])=>{const _0x5d8cda=_0x363262;var _0x22f127,_0x359d66;return(_0x359d66=(_0x22f127=_0x1793a2[_0x5d8cda(0x330)])==null?void 0x0:_0x22f127[_0x5d8cda(0x252)](_0x190083=>_0x190083))!=null?_0x359d66:[];})[_0x363262(0x236)]():[],_0x23a268=(await Promise[_0x363262(0x1dc)](_0x137d49['map'](_0x4207ae=>this[_0x363262(0x1b1)][_0x363262(0x31b)](_0x3597e0,{'unitID':_0xc5bc2d,'type':F['UNIVER_SHEET'],'blockID':_0x4207ae})[_0x363262(0x2c9)](_0x1fb46d=>_0x1fb46d[_0x363262(0x307)]))))['filter'](_0x3292aa=>!!_0x3292aa),_0x1d6587=_0x2793a1(_0x400f1b,_0x23a268,_0x3597e0);return(_0x2a1b13=this[_0x363262(0x2ce)][_0x363262(0x2f2)](_0xc5bc2d))==null||_0x2a1b13[_0x363262(0x208)](_0x506d58,{'workbook':_0x1d6587}),new Promise(_0x5b1ec2=>{const _0x4637c5=_0x363262,_0x303228=this['_univerInstanceService'][_0x4637c5(0x1c4)](_0x118ac5[_0x4637c5(0x223)]);_0x303228?(this[_0x4637c5(0x2ec)][_0x4637c5(0x253)](_0x303228[_0x4637c5(0x2bf)]()),setTimeout(()=>{const _0x87a8be=_0x4637c5;this[_0x87a8be(0x201)](_0x1d6587,_0x3bd4f3),_0x5b1ec2(!0x0);},0x0)):(this[_0x4637c5(0x201)](_0x1d6587,_0x3bd4f3),_0x5b1ec2(!0x0));});}[_0x30ce7c(0x201)](_0xd5393d,_0x331789){const _0x5b7716=_0x30ce7c,_0x596dae=this[_0x5b7716(0x2ec)]['createUnit'](_0x118ac5['UNIVER_SHEET'],_0xd5393d);this[_0x5b7716(0x2ec)][_0x5b7716(0x29c)](_0x596dae[_0x5b7716(0x2bf)]());const _0x29ef6c=this[_0x5b7716(0x35b)][_0x5b7716(0x356)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x5b7716(0x356)][_0x5b7716(0x27f)]()[_0x5b7716(0x365)]);return _0x331789==null||_0x331789[_0x5b7716(0x205)](_0x1d71b5=>{const _0x518a0e=_0x5b7716,_0x4c2e55=_0x1d71b5[_0x518a0e(0x220)][_0x518a0e(0x252)](_0x1284e8=>({'id':_0x1284e8['id'],'params':JSON[_0x518a0e(0x2aa)](_0x1284e8[_0x518a0e(0x207)])}));({..._0x1d71b5,'mutations':_0x29ef6c(_0x4c2e55,null)||_0x4c2e55}['mutations']['forEach'](_0x32316f=>{const _0xa7c8d1=_0x518a0e;this[_0xa7c8d1(0x1e4)]['hasCommand'](_0x32316f['id'])&&this[_0xa7c8d1(0x1e4)][_0xa7c8d1(0x326)](_0x32316f['id'],_0x32316f[_0xa7c8d1(0x2c8)]);}));}),_0x596dae;}};Y=us([D(0x0,_0x653d95),D(0x1,_0x3553ef),D(0x2,_0x476082),D(0x3,_0xccbdbe),D(0x4,_0x589a0a(_0x529191)),D(0x5,_0x589a0a(_0x5dde78))],Y);function hs(_0x3a8e6d){const _0x167c11=_0x30ce7c;var _0xe8143c,_0x4b206d;const _0x1918bc=[],{entities:_0xae43fe,historyIds:_0x1aef2d}=_0x3a8e6d,{datas:_0x3a44f1,users:_0x50fd3c}=_0xae43fe;for(const _0x392ab8 of _0x1aef2d)if(_0x3a44f1[_0x392ab8]){const _0x55e500=!!((_0xe8143c=_0x50fd3c[_0x3a44f1[_0x392ab8][_0x167c11(0x277)]])!=null&&_0xe8143c[_0x167c11(0x1b0)]);_0x1918bc[_0x167c11(0x2c0)]({'unitId':_0x3a44f1[_0x392ab8]['unitId'],'user':_0x55e500?'':((_0x4b206d=_0x50fd3c==null?void 0x0:_0x50fd3c[_0x3a44f1[_0x392ab8][_0x167c11(0x277)]])==null?void 0x0:_0x4b206d[_0x167c11(0x263)])||'','isAnonymous':_0x55e500,'id':_0x392ab8,'time':_0x3a44f1[_0x392ab8]['createTime']?Number(_0x3a44f1[_0x392ab8][_0x167c11(0x22d)]):void 0x0,'commands':_0x3a44f1[_0x392ab8]['command'],'startRev':Number(_0x3a44f1[_0x392ab8]['startRevision']),'endRev':Number(_0x3a44f1[_0x392ab8][_0x167c11(0x1c2)]),'recoverTime':_0x3a44f1[_0x392ab8]['recoverTime']?Number(_0x3a44f1[_0x392ab8][_0x167c11(0x24e)]):void 0x0});}return _0x1918bc;}var ds=Object[_0x30ce7c(0x364)],vs=(_0x28d36f,_0x25d160,_0x2fd5ce,_0x4e0106)=>{const _0x1295e9=_0x30ce7c;for(var _0xb3a669=_0x4e0106>0x1?void 0x0:_0x4e0106?ds(_0x25d160,_0x2fd5ce):_0x25d160,_0x152c49=_0x28d36f[_0x1295e9(0x224)]-0x1,_0x3adbd5;_0x152c49>=0x0;_0x152c49--)(_0x3adbd5=_0x28d36f[_0x152c49])&&(_0xb3a669=_0x3adbd5(_0xb3a669)||_0xb3a669);return _0xb3a669;},V=(_0xa179f,_0x5e9ac3)=>(_0x5d2672,_0x23c977)=>_0x5e9ac3(_0x5d2672,_0x23c977,_0xa179f),ne=(_0x3079d0=>(_0x3079d0[_0x30ce7c(0x256)]=_0x30ce7c(0x2bd),_0x3079d0[_0x30ce7c(0x25b)]='exited',_0x3079d0[_0x30ce7c(0x285)]='error',_0x3079d0))(ne||{}),T=(_0x196aeb=>(_0x196aeb[_0x30ce7c(0x31f)]=_0x30ce7c(0x27b),_0x196aeb[_0x30ce7c(0x28d)]=_0x30ce7c(0x1ca),_0x196aeb[_0x30ce7c(0x261)]=_0x30ce7c(0x1b5),_0x196aeb))(T||{});const fs=_0x30ce7c(0x2d0);let E=class extends _0x465e76{constructor(_0x69c7a9,_0x106037,_0x6c1e8a,_0x552752){const _0x592399=_0x30ce7c;super(),l(this,_0x592399(0x314),new _0x120766([])),l(this,_0x592399(0x25a),this['_versions$']['asObservable']()),l(this,_0x592399(0x339),new _0x120766('')),l(this,_0x592399(0x341),this[_0x592399(0x339)]['asObservable']()),l(this,_0x592399(0x303),new _0x120766(_0x592399(0x2bd))),l(this,_0x592399(0x28e),this['_status$'][_0x592399(0x2e8)]()),l(this,_0x592399(0x1af),new _0x120766(0x0)),l(this,_0x592399(0x248),this['_revertRevision$']['asObservable']()),l(this,'_unitId$',new _0x120766('')),l(this,'unitId$',this[_0x592399(0x250)][_0x592399(0x2e8)]()),l(this,_0x592399(0x21e),!0x1),l(this,_0x592399(0x31e),new _0x120766('init')),l(this,_0x592399(0x1f5),this[_0x592399(0x31e)][_0x592399(0x2e8)]()),l(this,'_lastLabel',null),l(this,'_hasMore',!0x0),l(this,'_members',new Map()),l(this,_0x592399(0x324)),l(this,_0x592399(0x2e5)),l(this,_0x592399(0x229)),l(this,'_canRevert',!0x1),(this[_0x592399(0x21a)]=_0x69c7a9,this[_0x592399(0x1f0)]=_0x106037,this['_localeService']=_0x6c1e8a,this[_0x592399(0x204)]=_0x552752);}async[_0x30ce7c(0x2a1)](_0x5d3363,_0x4c3bf3,_0x868702){const _0x2f69f6=_0x30ce7c;this['_historyContainerId']=_0x4c3bf3,this['_canRevert']=_0x868702,this[_0x2f69f6(0x250)][_0x2f69f6(0x2f0)](_0x5d3363),this[_0x2f69f6(0x21e)]=!0x0;const _0x48d0ba=await this[_0x2f69f6(0x204)][_0x2f69f6(0x2dd)](_0x5d3363);if(this[_0x2f69f6(0x21e)]=!0x1,_0x48d0ba){const {versions:_0x41ec80,lastLabel:_0x49a1d7,hasMore:_0x2bf015,members:_0x4928a7}=_0x48d0ba;_0x41ec80[_0x2f69f6(0x224)]===0x0&&_0x41ec80[_0x2f69f6(0x2c0)]({'unitId':_0x5d3363,'id':fs,'startRev':0x1,'endRev':0x0,'time':Date[_0x2f69f6(0x2bb)](),'user':this[_0x2f69f6(0x35c)]['t'](_0x2f69f6(0x20f)),'commands':[],'isAnonymous':!0x1}),this[_0x2f69f6(0x245)](_0x41ec80,_0x2bf015,_0x49a1d7,_0x4928a7),this['_currentVersion$'][_0x2f69f6(0x2f0)](_0x41ec80[0x0]['id']);}else this[_0x2f69f6(0x303)]['next']('error');}async[_0x30ce7c(0x306)](){const _0x4f436e=_0x30ce7c;if(!this['_lastLabel']||!this[_0x4f436e(0x34d)]||this[_0x4f436e(0x21e)])return!0x1;this['_fetching']=!0x0;const _0x185931=await this[_0x4f436e(0x204)][_0x4f436e(0x2dd)](this['unitId'],this[_0x4f436e(0x1d9)]);if(this[_0x4f436e(0x21e)]=!0x1,_0x185931){const {versions:_0x35cbdd,lastLabel:_0x5160b5,hasMore:_0x19d78a,members:_0x2ec2ff}=_0x185931;this[_0x4f436e(0x245)](_0x35cbdd,_0x19d78a,_0x5160b5,_0x2ec2ff);}else this[_0x4f436e(0x21a)][_0x4f436e(0x2ad)]({'content':this[_0x4f436e(0x35c)]['t'](_0x4f436e(0x23d)),'type':_0x12bc01[_0x4f436e(0x285)],'duration':0xbb8});return!0x0;}async['triggerLoadSheet'](_0xa96309){const _0x110daa=_0x30ce7c;var _0x30e22e;const _0x43e4db=(_0x30e22e=this[_0x110daa(0x314)][_0x110daa(0x2ed)])==null?void 0x0:_0x30e22e[_0x110daa(0x346)](_0x41416f=>_0x41416f['id']===_0xa96309),{endRev:_0xfc1a41}=_0x43e4db||{};_0xfc1a41||_0xfc1a41===0x0?(this['_loadingState$'][_0x110daa(0x2f0)](_0x110daa(0x1ca)),await this[_0x110daa(0x204)][_0x110daa(0x227)](this[_0x110daa(0x1b8)],_0xfc1a41),this[_0x110daa(0x31e)][_0x110daa(0x2f0)](_0x110daa(0x1b5))):this['_status$'][_0x110daa(0x2f0)](_0x110daa(0x2c6));}async[_0x30ce7c(0x1ec)](_0x2001bf){const _0x33af13=_0x30ce7c,_0x354228=_0x2001bf?this[_0x33af13(0x28b)](_0x2001bf):this[_0x33af13(0x2d6)]();if(!_0x354228)return;const _0x10d09e=_0x354228[_0x33af13(0x1ef)],_0x7410b1=re(_0x354228[_0x33af13(0x2ef)],this['_localeService']['getCurrentLocale']());await this[_0x33af13(0x1f0)][_0x33af13(0x1ee)]({'id':_0x33af13(0x353),'title':{'title':this['_localeService']['t']('editHistory.panel.revertConfirm')},'children':{'title':this[_0x33af13(0x35c)]['t'](_0x33af13(0x279))+_0x33af13(0x362)+_0x7410b1[_0x33af13(0x298)]+'\x20'+_0x7410b1[_0x33af13(0x2ef)]+')'},'cancelText':this['_localeService']['t'](_0x33af13(0x348)),'confirmText':this[_0x33af13(0x35c)]['t']('editHistory.panel.confirm')})&&this['_revertRevision$'][_0x33af13(0x2f0)](_0x10d09e);}[_0x30ce7c(0x245)](_0x451eb0,_0xc7b2c9,_0x5bfb9a,_0x694ed9){const _0x585fb7=_0x30ce7c;this[_0x585fb7(0x314)]['next'](this[_0x585fb7(0x314)]['value']['concat'](_0x451eb0)),this[_0x585fb7(0x34d)]=_0xc7b2c9,this[_0x585fb7(0x1d9)]=_0x5bfb9a,_0x694ed9&&Object[_0x585fb7(0x27d)](_0x694ed9)[_0x585fb7(0x205)](_0x2b1a8e=>this[_0x585fb7(0x274)][_0x585fb7(0x208)](_0x2b1a8e,_0x694ed9[_0x2b1a8e]));}[_0x30ce7c(0x2d6)](){const _0x373dec=_0x30ce7c;return this[_0x373dec(0x28b)](this[_0x373dec(0x339)][_0x373dec(0x2ed)]);}[_0x30ce7c(0x28b)](_0x3284bf){const _0x1a9b65=_0x30ce7c;var _0x59fcea;return(_0x59fcea=this[_0x1a9b65(0x314)][_0x1a9b65(0x2ed)])==null?void 0x0:_0x59fcea[_0x1a9b65(0x346)](_0x1da25f=>_0x1da25f['id']===_0x3284bf);}[_0x30ce7c(0x233)](_0x188452){const _0x18175b=_0x30ce7c;return this[_0x18175b(0x274)][_0x18175b(0x2f2)](_0x188452);}[_0x30ce7c(0x1b7)](){const _0x3477bc=_0x30ce7c;this['_maskElement']=document[_0x3477bc(0x2c5)]('div'),this[_0x3477bc(0x229)][_0x3477bc(0x2e4)]=_0x3477bc(0x21d),this[_0x3477bc(0x229)]['style']['position']=_0x3477bc(0x1d1),this[_0x3477bc(0x229)][_0x3477bc(0x2f6)]['top']='0',this['_maskElement']['style'][_0x3477bc(0x2b1)]='0',this[_0x3477bc(0x229)][_0x3477bc(0x2f6)]['width']='100%',this[_0x3477bc(0x229)][_0x3477bc(0x2f6)]['height']=_0x3477bc(0x280),this['_maskElement'][_0x3477bc(0x2f6)]['backgroundColor']=_0x3477bc(0x325),this['_maskElement'][_0x3477bc(0x2f6)]['color']=_0x3477bc(0x21b),this[_0x3477bc(0x229)]['style']['display']=_0x3477bc(0x30e),this[_0x3477bc(0x229)][_0x3477bc(0x2f6)][_0x3477bc(0x23e)]=_0x3477bc(0x30b),this[_0x3477bc(0x229)][_0x3477bc(0x2f6)][_0x3477bc(0x359)]=_0x3477bc(0x247),this[_0x3477bc(0x229)]['style'][_0x3477bc(0x251)]=_0x3477bc(0x291),this[_0x3477bc(0x2e5)][_0x3477bc(0x2ff)](this['_maskElement']);}[_0x30ce7c(0x361)](){const _0x48f685=_0x30ce7c;var _0x2240c7;const _0xd06e81=(_0x2240c7=document['getElementById'](this[_0x48f685(0x324)]))==null?void 0x0:_0x2240c7[_0x48f685(0x1fd)](_0x48f685(0x1b9));_0xd06e81&&(this[_0x48f685(0x2e5)]=_0xd06e81,this[_0x48f685(0x1b7)]());}[_0x30ce7c(0x290)](){const _0x31eada=_0x30ce7c;this[_0x31eada(0x2e5)]||this[_0x31eada(0x361)](),this[_0x31eada(0x229)]&&(this[_0x31eada(0x229)][_0x31eada(0x2f6)][_0x31eada(0x251)]=_0x31eada(0x30e));}['hideMask'](){const _0x456e10=_0x30ce7c;this[_0x456e10(0x229)]&&(this['_maskElement'][_0x456e10(0x2f6)]['display']=_0x456e10(0x291));}set['status'](_0x455f48){const _0x31a5a4=_0x30ce7c;this[_0x31a5a4(0x303)][_0x31a5a4(0x2f0)](_0x455f48);}set[_0x30ce7c(0x32c)](_0x319ec6){const _0x30cad8=_0x30ce7c;_0x319ec6!==this['_currentVersion$'][_0x30cad8(0x2ed)]&&this[_0x30cad8(0x339)][_0x30cad8(0x2f0)](_0x319ec6);}get['currentVersion'](){const _0x441e01=_0x30ce7c;return this[_0x441e01(0x339)][_0x441e01(0x2ed)];}set['unitId'](_0x56a6b0){const _0x5db123=_0x30ce7c;this[_0x5db123(0x250)][_0x5db123(0x2f0)](_0x56a6b0);}get[_0x30ce7c(0x1b8)](){const _0x2547e4=_0x30ce7c;return this[_0x2547e4(0x250)][_0x2547e4(0x2ed)];}get['canRevert'](){const _0x5b1305=_0x30ce7c;return this[_0x5b1305(0x2d1)];}get[_0x30ce7c(0x1d2)](){const _0x511a3c=_0x30ce7c;return this[_0x511a3c(0x31e)][_0x511a3c(0x2ed)];}};function _0x29a1(_0x3d7edb,_0x406e43){const _0x1e3ed1=_0x1e3e();return _0x29a1=function(_0x29a112,_0x1cb601){_0x29a112=_0x29a112-0x1af;let _0x15d329=_0x1e3ed1[_0x29a112];return _0x15d329;},_0x29a1(_0x3d7edb,_0x406e43);}E=vs([V(0x0,_0x2b1d68),V(0x1,_0x517812),V(0x2,_0x589a0a(_0x31174f)),V(0x3,_0x589a0a(Y))],E);var S=function(){const _0x2b1498=_0x30ce7c;return S=Object[_0x2b1498(0x23c)]||function(_0x197042){const _0x1625bc=_0x2b1498;for(var _0x2c6901,_0x271eaa=0x1,_0x103855=arguments[_0x1625bc(0x224)];_0x271eaa<_0x103855;_0x271eaa++){_0x2c6901=arguments[_0x271eaa];for(var _0x188108 in _0x2c6901)Object[_0x1625bc(0x355)][_0x1625bc(0x2f3)][_0x1625bc(0x1d3)](_0x2c6901,_0x188108)&&(_0x197042[_0x188108]=_0x2c6901[_0x188108]);}return _0x197042;},S['apply'](this,arguments);},ms=function(_0x5af9ec,_0x44319d){const _0x5b764f=_0x30ce7c;var _0xf893a7={};for(var _0x5b63c8 in _0x5af9ec)Object[_0x5b764f(0x355)][_0x5b764f(0x2f3)]['call'](_0x5af9ec,_0x5b63c8)&&_0x44319d[_0x5b764f(0x30a)](_0x5b63c8)<0x0&&(_0xf893a7[_0x5b63c8]=_0x5af9ec[_0x5b63c8]);if(_0x5af9ec!=null&&typeof Object[_0x5b764f(0x2cf)]==_0x5b764f(0x2b2)){for(var _0x4ab954=0x0,_0x5b63c8=Object['getOwnPropertySymbols'](_0x5af9ec);_0x4ab954<_0x5b63c8[_0x5b764f(0x224)];_0x4ab954++)_0x44319d[_0x5b764f(0x30a)](_0x5b63c8[_0x4ab954])<0x0&&Object[_0x5b764f(0x355)][_0x5b764f(0x358)][_0x5b764f(0x1d3)](_0x5af9ec,_0x5b63c8[_0x4ab954])&&(_0xf893a7[_0x5b63c8[_0x4ab954]]=_0x5af9ec[_0x5b63c8[_0x4ab954]]);}return _0xf893a7;},G=_0x3496ac(function(_0x2a0546,_0xfb7d0a){const _0xdcbf06=_0x30ce7c;var _0x81ffee=_0x2a0546[_0xdcbf06(0x36a)],_0x3fb7d4=_0x2a0546['id'],_0x604a9=_0x2a0546['className'],_0x3c5814=_0x2a0546[_0xdcbf06(0x26f)],_0x5c2217=ms(_0x2a0546,[_0xdcbf06(0x36a),'id',_0xdcbf06(0x2e4),_0xdcbf06(0x26f)]),_0x324c35=_0xdcbf06(0x2ca)['concat'](_0x3fb7d4,'\x20')[_0xdcbf06(0x2ee)](_0x604a9||'')[_0xdcbf06(0x313)](),_0x296f6b=_0x39b5ef('_'['concat'](Ss()));return Pe(_0x81ffee,''[_0xdcbf06(0x2ee)](_0x3fb7d4),{'defIds':_0x81ffee[_0xdcbf06(0x24b)],'idSuffix':_0x296f6b[_0xdcbf06(0x2c7)]},S({'ref':_0xfb7d0a,'className':_0x324c35},_0x5c2217),_0x3c5814);});function Pe(_0x39589b,_0x2adf9c,_0x165139,_0xefb8cf,_0x2b9c16){const _0xd826c2=_0x30ce7c;return _0x2f56af(_0x39589b[_0xd826c2(0x33f)],S(S({'key':_0x2adf9c},Is(_0x39589b,_0x165139,_0x2b9c16)),_0xefb8cf),(gs(_0x39589b,_0x165139)['children']||[])[_0xd826c2(0x252)](function(_0x298b0e,_0x143e84){const _0xe5372=_0xd826c2;return Pe(_0x298b0e,''[_0xe5372(0x2ee)](_0x2adf9c,'-')[_0xe5372(0x2ee)](_0x39589b[_0xe5372(0x33f)],'-')[_0xe5372(0x2ee)](_0x143e84),_0x165139,void 0x0,_0x2b9c16);}));}function Is(_0x5b154f,_0x1ccead,_0x153cb9){const _0x1d309f=_0x30ce7c;var _0x508aad=S({},_0x5b154f[_0x1d309f(0x20e)]);_0x153cb9!=null&&_0x153cb9[_0x1d309f(0x20c)]&&_0x508aad[_0x1d309f(0x212)]===_0x1d309f(0x20c)&&(_0x508aad['fill']=_0x153cb9[_0x1d309f(0x20c)]),_0x5b154f[_0x1d309f(0x33f)]===_0x1d309f(0x34b)&&_0x508aad['id']&&(_0x508aad['id']=_0x508aad['id']+_0x1ccead[_0x1d309f(0x304)]),Object[_0x1d309f(0x1c7)](_0x508aad)['forEach'](function(_0xf87fb3){const _0x28246d=_0x1d309f;var _0x4ab2e1=_0xf87fb3[0x0],_0x5df976=_0xf87fb3[0x1];_0x4ab2e1===_0x28246d(0x34b)&&typeof _0x5df976==_0x28246d(0x1c6)&&(_0x508aad[_0x4ab2e1]=_0x5df976[_0x28246d(0x1ea)](/url\(#(.*)\)/,_0x28246d(0x1d0)['concat'](_0x1ccead['idSuffix'],')')));});var _0x539ede=_0x1ccead[_0x1d309f(0x24b)];return!_0x539ede||_0x539ede[_0x1d309f(0x224)]===0x0||(_0x5b154f['tag']===_0x1d309f(0x2de)&&_0x508aad[_0x1d309f(0x29e)]&&(_0x508aad[_0x1d309f(0x29e)]=_0x508aad[_0x1d309f(0x29e)]+_0x1ccead[_0x1d309f(0x304)]),Object['entries'](_0x508aad)[_0x1d309f(0x205)](function(_0x376d18){const _0x3bee07=_0x1d309f;var _0x49fec6=_0x376d18[0x0],_0x220c69=_0x376d18[0x1];typeof _0x220c69==_0x3bee07(0x1c6)&&(_0x508aad[_0x49fec6]=_0x220c69[_0x3bee07(0x1ea)](/url\(#(.*)\)/,'url(#$1'[_0x3bee07(0x2ee)](_0x1ccead[_0x3bee07(0x304)],')')));})),_0x508aad;}function gs(_0x1e5cf8,_0x10ea8e){const _0x3e524d=_0x30ce7c;var _0x17aaa0,_0x24cfc9=_0x10ea8e[_0x3e524d(0x24b)];return!_0x24cfc9||_0x24cfc9[_0x3e524d(0x224)]===0x0?_0x1e5cf8:_0x1e5cf8[_0x3e524d(0x33f)]===_0x3e524d(0x2ea)&&(!((_0x17aaa0=_0x1e5cf8[_0x3e524d(0x1e1)])===null||_0x17aaa0===void 0x0)&&_0x17aaa0[_0x3e524d(0x224)])?S(S({},_0x1e5cf8),{'children':_0x1e5cf8['children']['map'](function(_0x580212){const _0x3e0b67=_0x3e524d;return typeof _0x580212['attrs']['id']==_0x3e0b67(0x1c6)&&_0x24cfc9&&_0x24cfc9[_0x3e0b67(0x312)](_0x580212['attrs']['id'])?S(S({},_0x580212),{'attrs':S(S({},_0x580212[_0x3e0b67(0x20e)]),{'id':_0x580212[_0x3e0b67(0x20e)]['id']+_0x10ea8e[_0x3e0b67(0x304)]})}):_0x580212;})}):_0x1e5cf8;}function Ss(){const _0x4e0547=_0x30ce7c;return Math[_0x4e0547(0x2e0)]()[_0x4e0547(0x27c)](0x24)[_0x4e0547(0x297)](0x2,0x8);}G['displayName']='UniverIcon';var ps={'tag':_0x30ce7c(0x1d5),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x30ce7c(0x291),'viewBox':_0x30ce7c(0x25c),'width':_0x30ce7c(0x34a),'height':_0x30ce7c(0x34a)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x30ce7c(0x1ff)}}]},Te=_0x3496ac(function(_0x3c7705,_0x5cc65d){const _0x33b0cb=_0x30ce7c;return _0x2f56af(G,Object[_0x33b0cb(0x23c)]({},_0x3c7705,{'id':_0x33b0cb(0x305),'ref':_0x5cc65d,'icon':ps}));});Te['displayName']=_0x30ce7c(0x333);var Es={'tag':_0x30ce7c(0x1d5),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x30ce7c(0x291),'viewBox':_0x30ce7c(0x25c),'width':_0x30ce7c(0x34a),'height':_0x30ce7c(0x34a)},'children':[{'tag':_0x30ce7c(0x22a),'attrs':{'fill':_0x30ce7c(0x2d4),'d':_0x30ce7c(0x366),'fillOpacity':0.2,'fillRule':_0x30ce7c(0x276),'clipRule':_0x30ce7c(0x276)}},{'tag':_0x30ce7c(0x22a),'attrs':{'fill':_0x30ce7c(0x2d4),'d':'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','fillRule':_0x30ce7c(0x276),'clipRule':_0x30ce7c(0x276)}}]},ae=_0x3496ac(function(_0x234e8a,_0x53b28a){const _0x1ff0af=_0x30ce7c;return _0x2f56af(G,Object['assign']({},_0x234e8a,{'id':_0x1ff0af(0x328),'ref':_0x53b28a,'icon':Es}));});ae[_0x30ce7c(0x29a)]=_0x30ce7c(0x2ae);var Rs={'tag':_0x30ce7c(0x1d5),'attrs':{'xmlns':_0x30ce7c(0x2ab),'fill':_0x30ce7c(0x291),'viewBox':'0\x200\x2016\x2017','width':'1em','height':_0x30ce7c(0x34a)},'children':[{'tag':'g','attrs':{'fill':_0x30ce7c(0x1b4),'clipPath':'url(#restore-icon_clip0_1247_2)'},'children':[{'tag':_0x30ce7c(0x22a),'attrs':{'d':_0x30ce7c(0x1b3)}},{'tag':_0x30ce7c(0x22a),'attrs':{'d':_0x30ce7c(0x28c),'fillRule':_0x30ce7c(0x276),'clipRule':_0x30ce7c(0x276)}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x30ce7c(0x2a4),'attrs':{'id':_0x30ce7c(0x264)},'children':[{'tag':_0x30ce7c(0x218),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x30ce7c(0x21b),'rx':0x4}}]}]}],'defIds':['restore-icon_clip0_1247_2']},Le=_0x3496ac(function(_0x29f18e,_0x5c9c49){const _0x953e77=_0x30ce7c;return _0x2f56af(G,Object['assign']({},_0x29f18e,{'id':_0x953e77(0x2b6),'ref':_0x5c9c49,'icon':Rs}));});Le[_0x30ce7c(0x29a)]=_0x30ce7c(0x2b8);function Os(){const _0x3f265b=_0x30ce7c;var _0x7ad59a;const _0x5a0a32=_0x3f2f12(E),_0x26e654=_0x3f2f12(_0x31174f),_0x5490f1=_0x2c2367(()=>{_0x5a0a32['status']=ne['Exited'];},[_0x5a0a32]),_0x577b49=_0x2c2367(()=>{const _0x3ac35b=_0x29a1;_0x5a0a32[_0x3ac35b(0x1ec)]();},[_0x5a0a32]),_0x577cb1=_0x2be2bb(_0x5a0a32['currentVersion$']),_0x3b4447=_0x2be2bb(_0x5a0a32['versions$']),_0x214be3=_0x577cb1===((_0x7ad59a=_0x3b4447==null?void 0x0:_0x3b4447[0x0])==null?void 0x0:_0x7ad59a['id']),_0x194af0=_0x577cb1!==''&&!_0x214be3&&_0x5a0a32[_0x3f265b(0x1d8)];return _0x270de0(_0x3f265b(0x2bc),{'className':_0x21640f(_0x3f265b(0x2ba),_0x43c467),'children':[_0x36b7d5('a',{'className':_0x3f265b(0x35a),'onClick':_0x5490f1,'children':_0x36b7d5(Te,{'className':_0x3f265b(0x2ac)})}),_0x36b7d5(_0x3f265b(0x2bc),{'className':_0x3f265b(0x26e),'children':_0x194af0&&_0x36b7d5(_0x2aa219,{'variant':_0x3f265b(0x240),'onClick':_0x577b49,'children':_0x26e654['t'](_0x3f265b(0x34e))})})]});}var Ms=Object[_0x30ce7c(0x364)],Ns=(_0x571cf6,_0x4fcc61,_0x4a1e1c,_0xa4c208)=>{const _0x2b131e=_0x30ce7c;for(var _0x3edd94=_0xa4c208>0x1?void 0x0:_0xa4c208?Ms(_0x4fcc61,_0x4a1e1c):_0x4fcc61,_0x5b70a6=_0x571cf6[_0x2b131e(0x224)]-0x1,_0x2d3b28;_0x5b70a6>=0x0;_0x5b70a6--)(_0x2d3b28=_0x571cf6[_0x5b70a6])&&(_0x3edd94=_0x2d3b28(_0x3edd94)||_0x3edd94);return _0x3edd94;},y=(_0x286c32,_0x1096de)=>(_0x9dd0b9,_0x461efa)=>_0x1096de(_0x9dd0b9,_0x461efa,_0x286c32);let B=class extends _0x465e76{constructor(_0x55f4f1,_0xd49d5c,_0x209ff1,_0x4a0d5f,_0x33a178,_0x45ca7c){const _0x50c889=_0x30ce7c;super(),this['_permissionService']=_0x55f4f1,this[_0x50c889(0x2f8)]=_0xd49d5c,this[_0x50c889(0x21a)]=_0x209ff1,this[_0x50c889(0x35c)]=_0x4a0d5f,this['_historyManagerService']=_0x33a178,this[_0x50c889(0x222)]=_0x45ca7c,this['_init']();}[_0x30ce7c(0x296)](){const _0x391d37=_0x30ce7c;this[_0x391d37(0x287)](this[_0x391d37(0x311)]['currentVersion$']['subscribe'](_0x5bdb42=>{const _0xa991df=_0x391d37;_0x5bdb42&&this[_0xa991df(0x311)][_0xa991df(0x1c5)](_0x5bdb42);})),this[_0x391d37(0x287)](this[_0x391d37(0x33e)][_0x391d37(0x1df)][_0x391d37(0x27a)](_0x29e772=>{const _0x298173=_0x391d37,_0x448bf3=this[_0x298173(0x311)][_0x298173(0x1b8)];_0x448bf3&&(_0x29e772[_0x298173(0x2e7)]===b[_0x298173(0x246)]&&_0x29e772[_0x298173(0x2ed)]===!0x0&&this[_0x298173(0x33e)][_0x298173(0x1c1)](new _0x467ce0(_0x448bf3)['id'],!0x1),_0x29e772['subType']===b[_0x298173(0x299)]&&_0x29e772[_0x298173(0x2ed)]===!0x0&&this[_0x298173(0x33e)][_0x298173(0x1c1)](new _0x482c2d(_0x448bf3)['id'],!0x1),_0x29e772[_0x298173(0x2e7)]===b[_0x298173(0x349)]&&_0x29e772['value']===!0x0&&this[_0x298173(0x33e)]['updatePermissionPoint'](new _0x40e281(_0x448bf3)['id'],!0x1),_0x29e772[_0x298173(0x2e7)]===b['HideSheet']&&_0x29e772[_0x298173(0x2ed)]===!0x0&&this[_0x298173(0x33e)]['updatePermissionPoint'](new _0x18cd4f(_0x448bf3)['id'],!0x1),_0x29e772['subType']===b[_0x298173(0x232)]&&_0x29e772[_0x298173(0x2ed)]===!0x0&&this['_permissionService']['updatePermissionPoint'](new _0x467ce0(_0x448bf3)['id'],!0x1),_0x29e772[_0x298173(0x2e7)]===b[_0x298173(0x1eb)]&&_0x29e772[_0x298173(0x2ed)]===!0x0&&this['_permissionService'][_0x298173(0x1c1)](new _0x467ce0(_0x448bf3)['id'],!0x1));})),this['disposeWithMe'](this['_uiPartsService']['registerComponent'](_0x4b9d9b['HEADER'],()=>_0x134491(Os,this['_injector']))),this[_0x391d37(0x287)](this['_historyManagerService'][_0x391d37(0x1f5)][_0x391d37(0x27a)](_0x560ef2=>{const _0x2b1d7e=_0x391d37;_0x560ef2===T[_0x2b1d7e(0x28d)]&&(this[_0x2b1d7e(0x311)][_0x2b1d7e(0x290)](),this['_messageService'][_0x2b1d7e(0x2ad)]({'type':_0x12bc01[_0x2b1d7e(0x242)],'content':this[_0x2b1d7e(0x35c)]['t'](_0x2b1d7e(0x200))})),_0x560ef2===T[_0x2b1d7e(0x261)]&&this['_historyManagerService'][_0x2b1d7e(0x21c)]();}));}};B=Ns([y(0x0,_0xc06d5b),y(0x1,_0x59eb5b),y(0x2,_0x2b1d68),y(0x3,_0x589a0a(_0x31174f)),y(0x4,_0x589a0a(E)),y(0x5,_0x589a0a(_0x18fa16))],B);var bs=Object['getOwnPropertyDescriptor'],Ds=(_0x1c987b,_0x5bade0,_0x47f374,_0x587bfa)=>{const _0x37af10=_0x30ce7c;for(var _0x322411=_0x587bfa>0x1?void 0x0:_0x587bfa?bs(_0x5bade0,_0x47f374):_0x5bade0,_0x4ac609=_0x1c987b[_0x37af10(0x224)]-0x1,_0x43a8de;_0x4ac609>=0x0;_0x4ac609--)(_0x43a8de=_0x1c987b[_0x4ac609])&&(_0x322411=_0x43a8de(_0x322411)||_0x322411);return _0x322411;},Q=(_0xdc78ba,_0x937a05)=>(_0x22bb0c,_0x5a9306)=>_0x937a05(_0x22bb0c,_0x5a9306,_0xdc78ba);let $=class extends _0x465e76{constructor(_0x2cbf5e,_0x3c62c4,_0x163f9b){const _0x10d3f4=_0x30ce7c;super(),l(this,'_diffRangesMap',new Map()),l(this,_0x10d3f4(0x225),new _0x120766({'ranges':new Map(),'active':null})),l(this,_0x10d3f4(0x226),this[_0x10d3f4(0x225)][_0x10d3f4(0x2e8)]()),(this[_0x10d3f4(0x311)]=_0x2cbf5e,this[_0x10d3f4(0x267)]=_0x3c62c4,this['_snapshotServerService']=_0x163f9b,this[_0x10d3f4(0x296)]());}[_0x30ce7c(0x296)](){const _0x401c17=_0x30ce7c;this['_diffRangesMap']=new Map(),this[_0x401c17(0x287)](this['_historyManagerService'][_0x401c17(0x1c3)]['subscribe'](_0x599201=>{const _0x3f045b=_0x401c17;_0x599201&&!this[_0x3f045b(0x255)][_0x3f045b(0x270)](_0x599201)&&this[_0x3f045b(0x255)][_0x3f045b(0x208)](_0x599201,new Map());})),this['disposeWithMe'](this['_historyManagerService'][_0x401c17(0x341)]['subscribe'](async _0x39343e=>{const _0xd6cf43=_0x401c17;var _0x9188c8;_0x39343e&&(await this[_0xd6cf43(0x34c)](_0x39343e),this['_currentVersionDiff$'][_0xd6cf43(0x2f0)](((_0x9188c8=this[_0xd6cf43(0x255)][_0xd6cf43(0x2f2)](this['_historyManagerService'][_0xd6cf43(0x1b8)]))==null?void 0x0:_0x9188c8[_0xd6cf43(0x2f2)](_0x39343e))||{'ranges':new Map(),'active':null}));}));}async[_0x30ce7c(0x34c)](_0xfddaa4){const _0x3bfa11=_0x30ce7c;var _0x547f29,_0x378d08;const _0xe829f5=this['_historyManagerService'][_0x3bfa11(0x28b)](_0xfddaa4),_0x557a30=this[_0x3bfa11(0x311)][_0x3bfa11(0x1b8)];if(!_0xe829f5||!_0x557a30)return;const _0x97bf84=this[_0x3bfa11(0x255)][_0x3bfa11(0x2f2)](_0x557a30);if(_0x97bf84||this['_diffRangesMap'][_0x3bfa11(0x208)](_0x557a30,new Map()),(_0x547f29=this[_0x3bfa11(0x255)][_0x3bfa11(0x2f2)](_0x557a30))!=null&&_0x547f29['has'](_0xe829f5['id']))return;const {startRev:_0xaeab6b,endRev:_0x790ccf}=_0xe829f5;if(_0xaeab6b===0x1){_0x97bf84[_0x3bfa11(0x208)](_0xe829f5['id'],{'ranges':new Map(),'active':null});return;}const _0x1ee678=_0xaeab6b-0x1,_0x5b3c83=_0x790ccf,_0x50638a=await this[_0x3bfa11(0x1b1)][_0x3bfa11(0x2b3)]({},{'unitID':_0x557a30,'from':_0x1ee678,'to':_0x5b3c83,'type':F[_0x3bfa11(0x223)]});if(((_0x378d08=_0x50638a[_0x3bfa11(0x2c6)])==null?void 0x0:_0x378d08[_0x3bfa11(0x2f5)])===X['OK']){const _0x38d6d2=_0x50638a[_0x3bfa11(0x30c)]['map'](_0x124a1a)[_0x3bfa11(0x252)](_0x5cc314=>_0x5cc314[_0x3bfa11(0x220)]['map'](_0x10bd17=>({..._0x10bd17,'params':{..._0x10bd17[_0x3bfa11(0x2c8)],'memberId':_0x5cc314[_0x3bfa11(0x235)]}})))[_0x3bfa11(0x236)](),_0xc2e5bf=this['_transformMutationByOrder'](_0x38d6d2),_0x1a5fbb=this[_0x3bfa11(0x2fc)](_0x38d6d2),_0x5e3c4e=this[_0x3bfa11(0x1bf)](_0xc2e5bf);_0x97bf84[_0x3bfa11(0x208)](_0xe829f5['id'],{'ranges':_0x5e3c4e,'active':_0x1a5fbb});}}['_transformMutationByOrder'](_0x4a2fc4){const _0x3b9b07=_0x30ce7c;let _0x40b537=[];for(let _0xdc9c16=0x0;_0xdc9c16<_0x4a2fc4[_0x3b9b07(0x224)];_0xdc9c16++){const _0x36ba6a=_0x4a2fc4[_0xdc9c16];if(_0x40b537['push'](_0x36ba6a),_0xdc9c16!==_0x4a2fc4[_0x3b9b07(0x224)]-0x1){const _0x41159e=_0x4a2fc4[_0xdc9c16+0x1],_0x56508e=this[_0x3b9b07(0x267)][_0x3b9b07(0x1fa)](_0x40b537,[_0x41159e]);_0x74a44e(_0x56508e)?_0x40b537=_0x56508e[_0x3b9b07(0x1e0)]:_0x40b537=[];}}return _0x40b537;}['_getActiveSubUnitId'](_0x55290c){const _0x130307=_0x30ce7c;let _0x31cf12=[];return _0x55290c['forEach'](_0xca4dd3=>{const _0x5adedf=_0x29a1;if(_0xca4dd3['id']===_0x498e55['id']){const _0x52f4fb=_0xca4dd3['params'];_0x31cf12[_0x5adedf(0x2c0)](_0x52f4fb[_0x5adedf(0x30d)]['id']);}else{if(_0xca4dd3['id']===_0x577e8e['id']){const _0x178f8a=_0xca4dd3[_0x5adedf(0x2c8)];_0x31cf12[_0x5adedf(0x224)]>0x0&&(_0x31cf12=_0x31cf12[_0x5adedf(0x231)](_0xc23ffc=>_0xc23ffc!==_0x178f8a[_0x5adedf(0x322)]));}else{if(_0xca4dd3['id']===_0x98526['id']){const _0x3d7b1e=_0xca4dd3[_0x5adedf(0x2c8)];_0x3d7b1e[_0x5adedf(0x2fb)]?_0x31cf12=_0x31cf12[_0x5adedf(0x231)](_0x17253e=>_0x17253e!==_0x3d7b1e[_0x5adedf(0x322)]):_0x31cf12[_0x5adedf(0x2c0)](_0x3d7b1e[_0x5adedf(0x322)]);}else{const _0x11c1e4=_0xca4dd3[_0x5adedf(0x2c8)];_0x11c1e4[_0x5adedf(0x322)]&&_0x31cf12[_0x5adedf(0x2c0)](_0x11c1e4[_0x5adedf(0x322)]);}}}}),_0x31cf12['length']>0x0?_0x31cf12[_0x31cf12[_0x130307(0x224)]-0x1]:null;}[_0x30ce7c(0x1bf)](_0x48789d){const _0x35888a=_0x30ce7c,_0x4399df=new Map();return _0x48789d[_0x35888a(0x205)](_0x58d239=>{const _0x4e7d8f=_0x35888a;var _0x32a49c,_0x4f7043;const _0x2a2d49=(_0x32a49c=_0x58d239[_0x4e7d8f(0x2c8)])==null?void 0x0:_0x32a49c[_0x4e7d8f(0x35e)];if(_0x2a2d49){_0x4399df[_0x4e7d8f(0x270)](_0x2a2d49)||_0x4399df['set'](_0x2a2d49,[]);const _0x23d7d0=this[_0x4e7d8f(0x336)](_0x58d239);(_0x4f7043=_0x4399df['get'](_0x2a2d49))==null||_0x4f7043[_0x4e7d8f(0x2c0)](..._0x23d7d0);}}),_0x4399df[_0x35888a(0x205)]((_0x510052,_0x15352a)=>{const _0x53d84a=_0x35888a;_0x4399df[_0x53d84a(0x208)](_0x15352a,this['_combineRanges'](_0x510052));}),_0x4399df;}[_0x30ce7c(0x336)](_0x330a5c){const _0x22fbaf=_0x30ce7c;switch(_0x330a5c['id']){case _0x1665a0['id']:{const _0x8256f=_0x330a5c[_0x22fbaf(0x2c8)];return _0x8256f[_0x22fbaf(0x249)][_0x22fbaf(0x252)](_0xa2c94e=>_0xa2c94e[_0x22fbaf(0x1e8)][_0x22fbaf(0x252)](_0x2b6c7b=>({'range':_0x2b6c7b,'unitId':_0x8256f[_0x22fbaf(0x1b8)],'subUnitId':_0x8256f[_0x22fbaf(0x322)]})))[_0x22fbaf(0x236)]();}case _0x57f85c['id']:{const _0x1e8b54=_0x330a5c[_0x22fbaf(0x2c8)];return _0x1e8b54[_0x22fbaf(0x1e8)][_0x22fbaf(0x252)](_0x308fd2=>({'range':_0x308fd2,'unitId':_0x1e8b54[_0x22fbaf(0x1b8)],'subUnitId':_0x1e8b54[_0x22fbaf(0x322)]}));}case _0x5bac58['id']:{const _0x2d0bb3=_0x330a5c[_0x22fbaf(0x2c8)];return[{'range':_0x2d0bb3[_0x22fbaf(0x216)],'unitId':_0x2d0bb3[_0x22fbaf(0x1b8)],'subUnitId':_0x2d0bb3[_0x22fbaf(0x322)]}];}case _0x1646fc['id']:{const _0x479325=_0x330a5c[_0x22fbaf(0x2c8)];return[{'range':_0x479325['range'],'unitId':_0x479325[_0x22fbaf(0x1b8)],'subUnitId':_0x479325[_0x22fbaf(0x322)]}];}case _0x488926['id']:{const _0x2321ed=_0x330a5c[_0x22fbaf(0x2c8)],{from:_0x4adf06,to:_0x187774,unitId:_0x2d0524}=_0x2321ed;return[{'range':he(_0x4adf06['value']),'unitId':_0x2d0524,'subUnitId':_0x4adf06['subUnitId']},{'range':he(_0x187774['value']),'unitId':_0x2d0524,'subUnitId':_0x187774[_0x22fbaf(0x322)]}];}case _0x3feaea['id']:{const _0x1f195b=_0x330a5c[_0x22fbaf(0x2c8)],{unitId:_0x398d5b,subUnitId:_0x5de3be,sourceRange:_0x2a4244,targetRange:_0x499c2a}=_0x1f195b,_0x1deb06=_0x2a4244[_0x22fbaf(0x239)]-_0x2a4244[_0x22fbaf(0x343)]+0x1;return[{'range':_0x499c2a[_0x22fbaf(0x343)]<=_0x2a4244['startRow']?_0x499c2a:{..._0x499c2a,'startRow':_0x499c2a[_0x22fbaf(0x343)]-_0x1deb06,'endRow':_0x499c2a[_0x22fbaf(0x239)]-_0x1deb06},'unitId':_0x398d5b,'subUnitId':_0x5de3be}];}case _0x3b13ba['id']:{const _0x2a93f8=_0x330a5c[_0x22fbaf(0x2c8)],{unitId:_0x1a7962,subUnitId:_0x2a11e1,sourceRange:_0x2c8956,targetRange:_0x455eff}=_0x2a93f8,_0x1e68c4=_0x2c8956['endColumn']-_0x2c8956['startColumn']+0x1;return[{'range':_0x455eff[_0x22fbaf(0x26c)]<=_0x2c8956[_0x22fbaf(0x26c)]?_0x455eff:{..._0x455eff,'startColumn':_0x455eff[_0x22fbaf(0x26c)]-_0x1e68c4,'endColumn':_0x455eff[_0x22fbaf(0x20d)]-_0x1e68c4},'unitId':_0x1a7962,'subUnitId':_0x2a11e1}];}case _0x2742b8['id']:{const _0x4c3de0=_0x330a5c[_0x22fbaf(0x2c8)],{values:_0x30be84,unitId:_0x51f5d8,subUnitId:_0x34957d}=_0x4c3de0;return Object['values'](_0x30be84)[_0x22fbaf(0x252)](_0x2c2807=>_0x2c2807[_0x22fbaf(0x1e8)][_0x22fbaf(0x252)](_0x1be9cb=>({'range':_0x1be9cb,'unitId':_0x51f5d8,'subUnitId':_0x34957d})))['flat']();}case _0x4d03d8['id']:{const _0x55d2d0=_0x330a5c[_0x22fbaf(0x2c8)],{ranges:_0x191762,unitId:_0x853499,subUnitId:_0x15ed4e}=_0x55d2d0;return _0x191762['map'](_0x111ccf=>({'range':_0x111ccf,'unitId':_0x853499,'subUnitId':_0x15ed4e}));}case _0x398dc7['id']:{const _0x32eed3=_0x330a5c[_0x22fbaf(0x2c8)],{unitId:_0x231987,subUnitId:_0x4655ba,range:_0x13242e}=_0x32eed3;return[{'range':_0x13242e,'unitId':_0x231987,'subUnitId':_0x4655ba}];}case _0x351456['id']:{const _0x275382=_0x330a5c[_0x22fbaf(0x2c8)];return _0x275382[_0x22fbaf(0x2a5)]['ranges'][_0x22fbaf(0x252)](_0x40c90c=>({'range':_0x40c90c,'unitId':_0x275382[_0x22fbaf(0x1b8)],'subUnitId':_0x275382['subUnitId']}));}case _0xc3b1b7['id']:{const _0x1972f5=_0x330a5c[_0x22fbaf(0x2c8)];return _0x1972f5[_0x22fbaf(0x2f7)]?ys(_0x1972f5[_0x22fbaf(0x2f7)])[_0x22fbaf(0x252)](_0x3031d7=>({'range':_0x3031d7,'unitId':_0x1972f5[_0x22fbaf(0x1b8)],'subUnitId':_0x1972f5[_0x22fbaf(0x322)]})):[];}case _0x148291['id']:{const _0x15daf3=_0x330a5c[_0x22fbaf(0x2c8)];return[{'range':_0x15daf3[_0x22fbaf(0x216)],'unitId':_0x15daf3[_0x22fbaf(0x1b8)],'subUnitId':_0x15daf3['subUnitId']}];}case _0x25a56c['id']:{const _0x2ce5c4=_0x330a5c[_0x22fbaf(0x2c8)];return(Array['isArray'](_0x2ce5c4[_0x22fbaf(0x2a5)])?_0x2ce5c4[_0x22fbaf(0x2a5)]:[_0x2ce5c4['rule']])[_0x22fbaf(0x252)](_0xf07d1=>_0xf07d1['ranges'][_0x22fbaf(0x252)](_0x568e24=>({'range':_0x568e24,'unitId':_0x2ce5c4[_0x22fbaf(0x1b8)],'subUnitId':_0x2ce5c4['subUnitId']})))['flat']();}case _0x4bf30b['id']:{const _0x13b924=_0x330a5c['params'];return _0x13b924[_0x22fbaf(0x2a5)][_0x22fbaf(0x1e8)][_0x22fbaf(0x252)](_0x3a4634=>({'range':_0x3a4634,'unitId':_0x13b924[_0x22fbaf(0x1b8)],'subUnitId':_0x13b924['subUnitId']}));}default:return[];}}[_0x30ce7c(0x241)](_0x43e911){const _0x54b518=_0x30ce7c;if(_0x43e911['length']<=0x1)return _0x43e911;const _0x484ee7=new Map();return _0x43e911[_0x54b518(0x205)](_0x21aa62=>{const _0x4e5c05=_0x54b518;var _0x404b14;const {unitId:_0x313d2b,subUnitId:_0x158cdb}=_0x21aa62,_0x4edc3d=_0x313d2b+'-'+_0x158cdb;_0x484ee7[_0x4e5c05(0x270)](_0x4edc3d)?(_0x404b14=_0x484ee7[_0x4e5c05(0x2f2)](_0x4edc3d))==null||_0x404b14[_0x4e5c05(0x2c0)](_0x21aa62):_0x484ee7[_0x4e5c05(0x208)](_0x4edc3d,[_0x21aa62]);}),Array['from'](_0x484ee7[_0x54b518(0x2b9)]())[_0x54b518(0x252)](_0xdad714=>new _0x2d9d33()[_0x54b518(0x21f)](..._0xdad714[_0x54b518(0x252)](_0x4c8094=>_0x4c8094[_0x54b518(0x216)]))[_0x54b518(0x259)]()[_0x54b518(0x252)](_0x19c7e0=>({'range':_0x19c7e0,'unitId':_0xdad714[0x0][_0x54b518(0x1b8)],'subUnitId':_0xdad714[0x0][_0x54b518(0x322)]})))[_0x54b518(0x236)]();}};$=Ds([Q(0x0,_0x589a0a(E)),Q(0x1,_0xe2da3d),Q(0x2,_0x653d95)],$);function he(_0x405043){const _0x37c71a=_0x30ce7c;return new _0x17d01c(_0x405043)[_0x37c71a(0x1f8)]();}function ys(_0x4678bd){const _0x419160=_0x30ce7c,_0x485074=new _0x17d01c(_0x4678bd),_0x4ddd5a=new _0x17d01c();return _0x485074[_0x419160(0x323)]((_0x1d2c18,_0x2fc94d)=>{const _0x504598=_0x419160;_0x4ddd5a[_0x504598(0x1cf)](_0x1d2c18,_0x2fc94d,0x1);}),_0x5097e6(_0x4ddd5a);}var Cs=Object[_0x30ce7c(0x364)],ws=(_0x36b9a7,_0x5df3d3,_0x35f847,_0x5a4bb7)=>{const _0xa0e136=_0x30ce7c;for(var _0x4e2ae5=_0x5a4bb7>0x1?void 0x0:_0x5a4bb7?Cs(_0x5df3d3,_0x35f847):_0x5df3d3,_0x4bb526=_0x36b9a7[_0xa0e136(0x224)]-0x1,_0xb85f6c;_0x4bb526>=0x0;_0x4bb526--)(_0xb85f6c=_0x36b9a7[_0x4bb526])&&(_0x4e2ae5=_0xb85f6c(_0x4e2ae5)||_0x4e2ae5);return _0x4e2ae5;},C=(_0x322da2,_0x490119)=>(_0x1f0526,_0xbfdcde)=>_0x490119(_0x1f0526,_0xbfdcde,_0x322da2);let te=class extends _0x465e76{constructor(_0x56bd6c,_0x1fb96e,_0x54474b,_0x14d60d,_0x456907,_0x458b39,_0x4fdd81){const _0x5dcdc9=_0x30ce7c;super(),l(this,_0x5dcdc9(0x1e3),new Set()),l(this,_0x5dcdc9(0x351),null),(this[_0x5dcdc9(0x2af)]=_0x56bd6c,this[_0x5dcdc9(0x311)]=_0x1fb96e,this['_versionDiffService']=_0x54474b,this[_0x5dcdc9(0x2ec)]=_0x14d60d,this[_0x5dcdc9(0x32e)]=_0x456907,this[_0x5dcdc9(0x2e1)]=_0x458b39,this[_0x5dcdc9(0x1e4)]=_0x4fdd81,this['_init']());}['_init'](){this['_initRender'](),this['_initActiveSwitch']();}[_0x30ce7c(0x334)](){const _0x1b39b0=_0x30ce7c;this[_0x1b39b0(0x287)](_0x410a6a([this[_0x1b39b0(0x311)][_0x1b39b0(0x1f5)],this[_0x1b39b0(0x2e1)][_0x1b39b0(0x22f)]])[_0x1b39b0(0x1cc)](_0x2269e0(([_0x418d41,_0x55da7f])=>{const _0xfc1188=_0x1b39b0;if(_0x418d41===T[_0xfc1188(0x261)]&&_0x55da7f){const _0x1a3f26=_0x55da7f['sheetId'];return this['_versionDiffService'][_0xfc1188(0x226)]['pipe'](_0x3829b8(_0x2b0809=>{const _0x5fd68=_0xfc1188,_0x5915ac=new Map();return _0x2b0809[_0x5fd68(0x1e8)][_0x5fd68(0x205)]((_0x2d12fd,_0x307cd0)=>{const _0x2f562e=_0x5fd68,_0x140cd9=_0x2d12fd[_0x2f562e(0x231)](_0x1ac521=>_0x1ac521[_0x2f562e(0x322)]===_0x1a3f26);_0x5915ac['set'](_0x307cd0,_0x140cd9);}),{'skeleton':_0x55da7f,'diffs':_0x5915ac};}));}return _0x2e4f03({'skeleton':null,'diffs':new Map()});}))[_0x1b39b0(0x27a)](({skeleton:_0x3f1f25,diffs:_0x4bf6f8})=>{const _0x3bd826=_0x1b39b0;this['_removeDiffMarks'](),_0x3f1f25&&this[_0x3bd826(0x22b)](_0x3f1f25,_0x4bf6f8);})),this[_0x1b39b0(0x287)](this[_0x1b39b0(0x2e1)]['currentSkeleton$']['subscribe'](_0x3dd17b=>{const _0x50b0fc=_0x1b39b0;if(_0x3dd17b==null)return;const {skeleton:_0x3f4c0a}=_0x3dd17b,{scene:_0x8ae02d}=this[_0x50b0fc(0x2af)];_0x8ae02d[_0x50b0fc(0x1f4)][_0x50b0fc(0x1f2)](_0x1d87c9(_0x37da71=>{const _0x57cc8b=_0x50b0fc;var _0x11702f,_0x248cee;const {offsetX:_0x4ef788,offsetY:_0x2686ff}=_0x37da71,{x:_0x1596f2,y:_0x1b55a5}=_0x8ae02d[_0x57cc8b(0x1d4)](_0x2f585e[_0x57cc8b(0x354)]([_0x4ef788,_0x2686ff])),{scaleX:_0x17adb6,scaleY:_0x56b049}=_0x8ae02d[_0x57cc8b(0x237)](),_0x472164=_0x8ae02d['getViewport'](_0x477df6[_0x57cc8b(0x34f)]),_0x5bdb6b=_0x8ae02d['getVpScrollXYInfoByPosToVp'](_0x2f585e[_0x57cc8b(0x354)]([_0x1596f2,_0x1b55a5]),_0x472164),_0x53c49e=_0x3f4c0a['getCellPositionByOffset'](_0x4ef788,_0x2686ff,_0x17adb6,_0x56b049,_0x5bdb6b);((_0x11702f=this['_lastPointer'])==null?void 0x0:_0x11702f['column'])===_0x53c49e[_0x57cc8b(0x23b)]&&((_0x248cee=this[_0x57cc8b(0x351)])==null?void 0x0:_0x248cee[_0x57cc8b(0x2a2)])===_0x53c49e['row']||this[_0x57cc8b(0x1e3)]['forEach'](_0xb002f5=>{const _0x266785=_0x57cc8b;_0xb002f5[_0x266785(0x2e2)](_0x53c49e);});},0x64));}));}['_initActiveSwitch'](){const _0x2d1278=_0x30ce7c;this[_0x2d1278(0x287)](this[_0x2d1278(0x311)][_0x2d1278(0x1f5)]['subscribe'](_0x2322e6=>{const _0xd6180=_0x2d1278,_0xb42c40=new _0x498800();return _0x2322e6===T['Loaded']&&(_0xb42c40['dispose'](),_0xb42c40[_0xd6180(0x21f)](this[_0xd6180(0x1e6)][_0xd6180(0x226)][_0xd6180(0x27a)](_0x3f668d=>{const _0x3be48a=_0xd6180;_0x3f668d[_0x3be48a(0x2c3)]&&this[_0x3be48a(0x1e4)]['executeCommand'](_0x4fc551['id'],{'unitId':this[_0x3be48a(0x2af)]['unitId'],'subUnitId':_0x3f668d['active']});}))),()=>_0xb42c40[_0xd6180(0x2a8)]();}));}['_updateDiffMarks'](_0x202296,_0x497480){const _0x563127=_0x30ce7c;var _0x3ae617;const _0x4613bb=(_0x3ae617=this[_0x563127(0x2e1)][_0x563127(0x33d)]())==null?void 0x0:_0x3ae617['skeleton'];if(!_0x4613bb)return;this['_diffs'][_0x563127(0x205)](_0x5f224f=>{_0x5f224f['makeDirty']();});const {scene:_0x36a8ec}=this[_0x563127(0x2af)],_0x364455=Array['from'](_0x497480[_0x563127(0x27d)]())[_0x563127(0x252)](_0x266daf=>_0x497480[_0x563127(0x2f2)](_0x266daf)[_0x563127(0x252)](_0x13f09e=>{const _0x113868=_0x563127;var _0x325258;const {range:_0x3ee588,subUnitId:_0x300a58,unitId:_0x469f14}=_0x13f09e,{startColumn:_0x5a159e,startRow:_0x426355,endColumn:_0x2da21f,endRow:_0x54c035}=_0x3ee588,_0x501cde=_0x209d8d(_0x426355,_0x5a159e,_0x36a8ec,_0x4613bb),_0x54e897=_0x209d8d(_0x54c035,_0x2da21f,_0x36a8ec,_0x4613bb),{columnHeaderHeightAndMarginTop:_0x26d5c6}=_0x4613bb,{startX:_0xd693b3,startY:_0x4beeb8}=_0x501cde,{endX:_0x29905c,endY:_0x305ea8}=_0x54e897,_0x786351=_0x29905c-_0xd693b3,_0xd14700=_0x305ea8-_0x4beeb8,_0x376da8={'labelPosition':_0x4beeb8-_0x26d5c6>=0x14?_0x113868(0x271):_0x113868(0x288),'sheetID':_0x300a58,'range':_0x3ee588,'color':_0x113868(0x23a),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x113868(0x23a),'name':((_0x325258=this[_0x113868(0x311)][_0x113868(0x233)](_0x266daf))==null?void 0x0:_0x325258['name'])||'','selection':_0x469f14+'-'+_0x300a58+'-'+_0x3ee588['startColumn']+'-'+_0x3ee588['startRow']+'-'+_0x3ee588[_0x113868(0x20d)]+'-'+_0x3ee588[_0x113868(0x239)],'left':_0xd693b3,'top':_0x4beeb8,'width':_0x786351,'height':_0xd14700,'evented':!0x1,'zIndex':0x1};return new _0x606fc1('',_0x376da8);}))[_0x563127(0x236)]();_0x36a8ec[_0x563127(0x265)](_0x364455,0x1),this[_0x563127(0x1e3)]=new Set(_0x364455);}[_0x30ce7c(0x20b)](){const _0x494102=_0x30ce7c;var _0x577b95;(_0x577b95=this[_0x494102(0x1e3)])==null||_0x577b95[_0x494102(0x205)](_0x35b74d=>_0x35b74d[_0x494102(0x2a8)]());}[_0x30ce7c(0x1ed)](){const _0x5e6784=_0x30ce7c;return _0x35db7b(this[_0x5e6784(0x2ec)],this['_renderManagerService']);}};te=ws([C(0x1,_0x589a0a(E)),C(0x2,_0x589a0a($)),C(0x3,_0x3553ef),C(0x4,_0x138504),C(0x5,_0x589a0a(_0x6925bf)),C(0x6,_0x476082)],te);function Ps(){const _0x2e43ec=_0x30ce7c,_0x454f21=_0x3f2f12(E),_0x70b4a1=_0x2be2bb(_0x454f21[_0x2e43ec(0x25a)]),[_0x2ba363,_0x2e4515]=_0x5be4bd(!0x1),_0x38ffe4=cs(_0x70b4a1);return _0x70b4a1?_0x36b7d5('div',{'className':_0x2e43ec(0x360),'children':_0x270de0(_0x2e43ec(0x2bc),{'className':'univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','children':[_0x38ffe4[_0x2e43ec(0x252)]((_0xff29cf,_0x251cfa)=>_0x270de0(_0x533eaa,{'children':[_0x36b7d5($s,{'date':_0xff29cf[_0x2e43ec(0x293)]}),_0xff29cf['versions'][_0x2e43ec(0x252)]((_0x54c55d,_0x4f3125)=>_0x36b7d5(Vs,{'index':[_0x251cfa,_0x4f3125],'item':_0x54c55d},_0x251cfa+'-'+_0x4f3125))]},_0xff29cf['dateString'])),_0x2ba363&&_0x36b7d5(Ts,{})]})}):_0x36b7d5(Ls,{});}function Ts(){const _0x40b4ed=_0x30ce7c;return _0x36b7d5(_0x40b4ed(0x2bc),{'className':'univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','children':_0x36b7d5(ae,{'className':_0x40b4ed(0x213)})});}function Ls(){const _0x538d5f=_0x30ce7c;return _0x36b7d5('div',{'className':_0x538d5f(0x1f6),'children':_0x36b7d5(_0x538d5f(0x308),{'className':_0x538d5f(0x2a0),'children':_0x36b7d5(ae,{'className':_0x538d5f(0x2be)})})});}function $s(_0x54c880){const _0x348d83=_0x30ce7c,_0xfa3bc0=_0x3f2f12(_0x31174f),{date:_0x5e94dc}=_0x54c880;return _0x36b7d5(_0x348d83(0x2bc),{'className':_0x348d83(0x230),'children':ee(_0x5e94dc,_0xfa3bc0[_0x348d83(0x24d)]())});}function Vs(_0x3696b4){const _0xbd4b6b=_0x30ce7c,{item:_0x14f267,index:_0x2f4414}=_0x3696b4,{time:_0x5c837c,user:_0x5283d5}=_0x14f267,[_0x48a20f,_0x2c3650]=_0x2f4414,_0x5eaf61=_0x3f2f12(E),_0x4e69a8=_0x2be2bb(_0x5eaf61['currentVersion$'],'',!0x0)===_0x14f267['id'],_0x4675cf=_0x48a20f===0x0&&_0x2c3650===0x0,_0xb915a7=!_0x4675cf&&_0x5eaf61[_0xbd4b6b(0x1d8)],_0x3e830d=_0x3f2f12(_0x31174f),_0x11b91f=_0x3e830d[_0xbd4b6b(0x24d)](),_0x4d4bd3=re(_0x5c837c,_0x11b91f),_0x526bbf=_0x3e830d['t'](_0xbd4b6b(0x344)),_0x3a1884=_0x2c2367(_0xc86122=>{const _0x337d93=_0xbd4b6b;_0x5eaf61[_0x337d93(0x1d2)]!==T[_0x337d93(0x28d)]&&(_0x5eaf61['currentVersion']=_0xc86122);},[_0x5eaf61]),_0xb31139=_0x2c2367(_0x3522be=>{const _0x4827eb=_0xbd4b6b;_0x5eaf61[_0x4827eb(0x1ec)](_0x3522be);},[_0x5eaf61]);return _0x270de0('div',{'className':_0x21640f(_0xbd4b6b(0x350),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x4e69a8}),'onClick':()=>_0x3a1884(_0x14f267['id']),'children':[_0x270de0(_0xbd4b6b(0x2bc),{'className':_0xbd4b6b(0x2b7),'children':[_0x270de0(_0xbd4b6b(0x2bc),{'className':_0xbd4b6b(0x295),'children':[_0x36b7d5(_0xbd4b6b(0x308),{'children':_0x4d4bd3[_0xbd4b6b(0x2ef)]}),_0x4675cf&&_0x36b7d5(_0xbd4b6b(0x308),{'className':_0xbd4b6b(0x211),'children':_0x526bbf})]}),_0x36b7d5(_0xbd4b6b(0x2bc),{'children':_0xb915a7&&_0x36b7d5(_0x31bdb2,{'title':_0x3e830d['t']('editHistory.panel.revertDesc'),'children':_0x36b7d5(_0xbd4b6b(0x2bc),{'onClick':_0x461f9b=>{const _0x14d654=_0xbd4b6b;_0x461f9b[_0x14d654(0x215)](),_0xb31139(_0x14f267['id']);},'className':_0xbd4b6b(0x257),'children':_0x36b7d5(Le,{})})})})]}),_0x36b7d5(_0xbd4b6b(0x2bc),{'className':_0xbd4b6b(0x1ce),'children':as(_0x14f267,_0x3e830d)})]});}var ks=Object[_0x30ce7c(0x364)],Us=(_0x22c9d8,_0x539973,_0x20d136,_0x2d62d1)=>{const _0x11b2f8=_0x30ce7c;for(var _0x1ab2c9=_0x2d62d1>0x1?void 0x0:_0x2d62d1?ks(_0x539973,_0x20d136):_0x539973,_0x14a3b7=_0x22c9d8[_0x11b2f8(0x224)]-0x1,_0x4dd9dc;_0x14a3b7>=0x0;_0x14a3b7--)(_0x4dd9dc=_0x22c9d8[_0x14a3b7])&&(_0x1ab2c9=_0x4dd9dc(_0x1ab2c9)||_0x1ab2c9);return _0x1ab2c9;},k=(_0xb030dd,_0x332248)=>(_0x179a8f,_0x3bb11b)=>_0x332248(_0x179a8f,_0x3bb11b,_0xb030dd);const de='history-panel';let j=class extends _0x465e76{constructor(_0x4a2447,_0x3dfd87,_0xe271fe,_0x2f785e){const _0x56356b=_0x30ce7c;super(),l(this,_0x56356b(0x1db),null),(this[_0x56356b(0x292)]=_0x4a2447,this['_componentManager']=_0x3dfd87,this[_0x56356b(0x35c)]=_0xe271fe,this['_historyManagerService']=_0x2f785e,this[_0x56356b(0x296)]());}[_0x30ce7c(0x296)](){const _0x337b9e=_0x30ce7c;this[_0x337b9e(0x320)](),this[_0x337b9e(0x1bd)]();}[_0x30ce7c(0x1bd)](){const _0x540005=_0x30ce7c;if(this[_0x540005(0x1db)])return;const _0x40376c={'header':{'title':this['_localeService']['t'](_0x540005(0x1e7))},'children':{'label':de},'onClose':()=>{const _0x29402a=_0x540005;this[_0x29402a(0x1db)]=null,this[_0x29402a(0x311)][_0x29402a(0x2a7)]=ne[_0x29402a(0x25b)];}};this['_sidebarDisposable']=this[_0x540005(0x292)][_0x540005(0x1be)]({..._0x40376c});}[_0x30ce7c(0x320)](){const _0x3df618=_0x30ce7c;this[_0x3df618(0x287)](this[_0x3df618(0x29b)][_0x3df618(0x1de)](de,Ps)),this['disposeWithMe'](this[_0x3df618(0x292)]['scrollEvent$'][_0x3df618(0x1cc)](_0x57b2f8(0x64))['subscribe'](_0x7ae81e=>{const _0x5896b8=_0x3df618,{target:_0x6df1f3}=_0x7ae81e||{};if(_0x6df1f3){const {scrollTop:_0x23d2d4,scrollHeight:_0x426546,clientHeight:_0x337770}=_0x6df1f3;_0x23d2d4+_0x337770>=_0x426546-0x5&&this['_historyManagerService'][_0x5896b8(0x306)]();}}));}};j=Us([k(0x0,_0x308417),k(0x1,_0x589a0a(_0x80edea)),k(0x2,_0x589a0a(_0x31174f)),k(0x3,_0x589a0a(E))],j);class xs extends _0x465e76{constructor(){const _0x565c87=_0x30ce7c;super(),l(this,_0x565c87(0x278),new _0x2aba0d());}['open'](){return _0x51b4fc(()=>{});}[_0x30ce7c(0x2d3)](){}[_0x30ce7c(0x23f)](_0x1bffc3){}['getDialogs$'](){const _0x181703=_0x30ce7c;return this[_0x181703(0x278)]['asObservable']();}}var Hs=Object[_0x30ce7c(0x2a3)],Fs=Object[_0x30ce7c(0x364)],Ys=(_0x62540,_0x4dc7cd,_0x1848e0)=>_0x4dc7cd in _0x62540?Hs(_0x62540,_0x4dc7cd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1848e0}):_0x62540[_0x4dc7cd]=_0x1848e0,Bs=(_0x142862,_0x305a0f,_0x3a19bf,_0x5a247b)=>{const _0x52644d=_0x30ce7c;for(var _0x38f8a9=_0x5a247b>0x1?void 0x0:_0x5a247b?Fs(_0x305a0f,_0x3a19bf):_0x305a0f,_0x58b692=_0x142862[_0x52644d(0x224)]-0x1,_0x47b13a;_0x58b692>=0x0;_0x58b692--)(_0x47b13a=_0x142862[_0x58b692])&&(_0x38f8a9=_0x47b13a(_0x38f8a9)||_0x38f8a9);return _0x38f8a9;},J=(_0xa07a75,_0x2216d3)=>(_0x2a77df,_0xa9cec2)=>_0x2216d3(_0x2a77df,_0xa9cec2,_0xa07a75),js=(_0x54c3e1,_0x7806dd,_0xfcff45)=>Ys(_0x54c3e1,_0x7806dd+'',_0xfcff45);const As=_0x30ce7c(0x260);let se=class extends _0xdb2cbd{constructor(_0x2a7a25=_e,_0x4050e7,_0x6f8d0f,_0x400e5f){const _0x27cae2=_0x30ce7c;super(),this[_0x27cae2(0x32b)]=_0x2a7a25,this[_0x27cae2(0x222)]=_0x4050e7,this[_0x27cae2(0x32e)]=_0x6f8d0f,this[_0x27cae2(0x30f)]=_0x400e5f;const {..._0x23aac2}=_0x473893({},_e,this[_0x27cae2(0x32b)]);this[_0x27cae2(0x30f)][_0x27cae2(0x1c0)](we,_0x23aac2);}['onStarting'](){const _0x469597=_0x30ce7c;[[E],[B],[$],[Y],[j],[H],[_0x653d95,{'useClass':_0x1be59e}],[_0x494d67,{'useClass':xs}],[_0x258094,{'useClass':_0x2d9628}]][_0x469597(0x205)](_0x8d9e3=>this[_0x469597(0x222)][_0x469597(0x21f)](_0x8d9e3)),this[_0x469597(0x222)][_0x469597(0x2f2)](B);}[_0x30ce7c(0x206)](){const _0x3e32d5=_0x30ce7c;[[te]][_0x3e32d5(0x205)](_0x1dd789=>{const _0x21ecef=_0x3e32d5;this['disposeWithMe'](this[_0x21ecef(0x32e)][_0x21ecef(0x2df)](_0x118ac5[_0x21ecef(0x223)],_0x1dd789));}),this[_0x3e32d5(0x222)][_0x3e32d5(0x2f2)](H),this[_0x3e32d5(0x222)][_0x3e32d5(0x2f2)](j);}['onSteady'](){const _0x4a0a9e=_0x30ce7c;this[_0x4a0a9e(0x222)]['get']($);}};js(se,_0x30ce7c(0x338),As),se=Bs([_0x2662c2(_0x12f31b,_0x2386a3),J(0x1,_0x589a0a(_0x18fa16)),J(0x2,_0x138504),J(0x3,_0xccbdbe)],se);export{E as HistoryManagerService,ne as HistoryModeStatus,se as UniverEditHistoryViewerPlugin};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x12aa6a=_0x49b4;(function(_0x3e929b,_0x3ef623){const _0x5aa279=_0x49b4,_0x1a9c90=_0x3e929b();while(!![]){try{const _0x4bbd89=-parseInt(_0x5aa279(0xba))/0x1*(parseInt(_0x5aa279(0xc1))/0x2)+parseInt(_0x5aa279(0xc2))/0x3+parseInt(_0x5aa279(0xce))/0x4*(-parseInt(_0x5aa279(0xbe))/0x5)+parseInt(_0x5aa279(0xcf))/0x6+parseInt(_0x5aa279(0xc4))/0x7+parseInt(_0x5aa279(0xcc))/0x8*(parseInt(_0x5aa279(0xca))/0x9)+parseInt(_0x5aa279(0xc7))/0xa;if(_0x4bbd89===_0x3ef623)break;else _0x1a9c90['push'](_0x1a9c90['shift']());}catch(_0xc85fa6){_0x1a9c90['push'](_0x1a9c90['shift']());}}}(_0x2eb5,0xc35f3));const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':_0x12aa6a(0xd7),'listFetchError':_0x12aa6a(0xd3),'revertConfirm':_0x12aa6a(0xc0),'revertConfirmText':_0x12aa6a(0xbc),'cancel':'Cancel','confirm':'Confirm','reverting':_0x12aa6a(0xd5),'revertFailed':_0x12aa6a(0xbb),'currentVersion':_0x12aa6a(0xb9),'currentUser':_0x12aa6a(0xd4),'revertDesc':'Restore\x20this\x20version'},'info':{'loading':_0x12aa6a(0xc5)},'header':{'back':_0x12aa6a(0xc6),'revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0x12aa6a(0xc8),'removeSheet':_0x12aa6a(0xcb),'createSheet':'created\x20workbook','setFilter':_0x12aa6a(0xcd),'setFrozen':_0x12aa6a(0xd6),'editSheet':_0x12aa6a(0xd2),'revertSheet':'reverted\x20workbook','revertSheetPrefix':_0x12aa6a(0xc9),'revertSheetSuffix':'','setDV':_0x12aa6a(0xbd),'setCF':_0x12aa6a(0xc3),'addCF':_0x12aa6a(0xd0),'addProtection':_0x12aa6a(0xd1),'addSparkline':'add\x20sparkline','deleteProtection':_0x12aa6a(0xbf),'etc':',\x20etc.'}}},t=e;export{t as default};function _0x49b4(_0x584b8b,_0x439528){const _0x2eb5c8=_0x2eb5();return _0x49b4=function(_0x49b44a,_0x24175d){_0x49b44a=_0x49b44a-0xb9;let _0x3c54f5=_0x2eb5c8[_0x49b44a];return _0x3c54f5;},_0x49b4(_0x584b8b,_0x439528);}function _0x2eb5(){const _0x1b55b8=['loading,\x20please\x20wait...','Back','14718150qMWlAT','inserted\x20worksheet','Reverted\x20from','36tSLxDl','deleted\x20worksheet','385584xgQAUK','set\x20filter','204eNjceU','342588gEoKow','add\x20conditional\x20formatting','add\x20protection','edited\x20worksheet','Failed\x20to\x20get\x20edit\x20history\x20list','Current\x20User','Reverting,\x20please\x20wait...','set\x20frozen','Unknown\x20User','Current\x20Version','289509JGRysf','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','set\x20data\x20validation','84335MxcBZV','delete\x20protection','Restore\x20this\x20version?','10LMvkHF','1478079cpZnNX','set\x20conditional\x20formatting','6255249GeCfLZ'];_0x2eb5=function(){return _0x1b55b8;};return _0x2eb5();}
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1c43(){const _0x3fb89f=['5064480RAVvTY','4965380RAlYIh','add\x20protection','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','5558496AAsFXP','Back','6AebrID','Reverting,\x20please\x20wait...','10GhQplZ','Current\x20Version','Confirm','Unknown\x20User','set\x20frozen','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','deleted\x20worksheet','inserted\x20worksheet','3572688wCGdpb','created\x20workbook','add\x20sparkline','Failed\x20to\x20get\x20edit\x20history\x20list','1xczzth','Reverted\x20from','Edit\x20History','loading,\x20please\x20wait...','edited\x20worksheet','925266jaaSov',',\x20etc.','set\x20conditional\x20formatting','1731575rkEhSq','76410TvnbWv'];_0x1c43=function(){return _0x3fb89f;};return _0x1c43();}const _0x2f63fc=_0x290e;(function(_0x3b6233,_0x1e0f87){const _0x45ba64=_0x290e,_0x48b150=_0x3b6233();while(!![]){try{const _0x150ac9=parseInt(_0x45ba64(0xf6))/0x1*(parseInt(_0x45ba64(0xfb))/0x2)+parseInt(_0x45ba64(0x100))/0x3+-parseInt(_0x45ba64(0x104))/0x4+-parseInt(_0x45ba64(0xfe))/0x5*(-parseInt(_0x45ba64(0x106))/0x6)+-parseInt(_0x45ba64(0x101))/0x7+parseInt(_0x45ba64(0x110))/0x8+-parseInt(_0x45ba64(0xff))/0x9*(-parseInt(_0x45ba64(0x108))/0xa);if(_0x150ac9===_0x1e0f87)break;else _0x48b150['push'](_0x48b150['shift']());}catch(_0x248dc3){_0x48b150['push'](_0x48b150['shift']());}}}(_0x1c43,0xd04e4));function _0x290e(_0x38157c,_0x400fb2){const _0x1c4328=_0x1c43();return _0x290e=function(_0x290e56,_0x330c7f){_0x290e56=_0x290e56-0xf3;let _0x380c04=_0x1c4328[_0x290e56];return _0x380c04;},_0x290e(_0x38157c,_0x400fb2);}const e={'editHistory':{'panel':{'title':_0x2f63fc(0xf8),'unknownUser':_0x2f63fc(0x10b),'listFetchError':_0x2f63fc(0xf5),'revertConfirm':'Restore\x20this\x20version?','revertConfirmText':_0x2f63fc(0x10d),'cancel':'Cancel','confirm':_0x2f63fc(0x10a),'reverting':_0x2f63fc(0x107),'revertFailed':_0x2f63fc(0x103),'currentVersion':_0x2f63fc(0x109),'currentUser':'Current\x20User','revertDesc':'Restore\x20this\x20version'},'info':{'loading':_0x2f63fc(0xf9)},'header':{'back':_0x2f63fc(0x105),'revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0x2f63fc(0x10f),'removeSheet':_0x2f63fc(0x10e),'createSheet':_0x2f63fc(0xf3),'setFilter':'set\x20filter','setFrozen':_0x2f63fc(0x10c),'editSheet':_0x2f63fc(0xfa),'revertSheet':'reverted\x20workbook','revertSheetPrefix':_0x2f63fc(0xf7),'revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':_0x2f63fc(0xfd),'addCF':'add\x20conditional\x20formatting','addProtection':_0x2f63fc(0x102),'addSparkline':_0x2f63fc(0xf4),'deleteProtection':'delete\x20protection','etc':_0x2f63fc(0xfc)}}};export{e as default};
|
package/lib/es/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x428bb=_0x2110;function _0x2110(_0x163091,_0x5a9bca){const _0x5b9283=_0x5b92();return _0x2110=function(_0x2110c1,_0x32b3ff){_0x2110c1=_0x2110c1-0x153;let _0x40f14d=_0x5b9283[_0x2110c1];return _0x40f14d;},_0x2110(_0x163091,_0x5a9bca);}function _0x5b92(){const _0x1c8167=['add\x20sparkline','Edit\x20History','8814620lciLHx','Reverting,\x20please\x20wait...','200EStsVZ','Current\x20Version','Restore\x20this\x20version','Back','deleted\x20worksheet','Current\x20User','Reverted\x20from','572697srOdOJ','26868cUmrzQ','46755840AVehrZ','set\x20frozen','3516eJgnTo','loading,\x20please\x20wait...','289545eoriVX','11FTomaU','Cancel','Restore\x20this\x20version?','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','set\x20data\x20validation','532uvkvTb','3338037FPWOFN','add\x20protection','20OZwqsc','delete\x20protection','created\x20workbook','reverted\x20workbook','36GxJfdn','add\x20conditional\x20formatting','edited\x20worksheet'];_0x5b92=function(){return _0x1c8167;};return _0x5b92();}(function(_0x4668dc,_0x5fb785){const _0xf64650=_0x2110,_0x130e3c=_0x4668dc();while(!![]){try{const _0x50d60a=parseInt(_0xf64650(0x15b))/0x1*(-parseInt(_0xf64650(0x16d))/0x2)+-parseInt(_0xf64650(0x155))/0x3+parseInt(_0xf64650(0x157))/0x4*(parseInt(_0xf64650(0x16f))/0x5)+parseInt(_0xf64650(0x16a))/0x6*(parseInt(_0xf64650(0x154))/0x7)+parseInt(_0xf64650(0x162))/0x8*(-parseInt(_0xf64650(0x169))/0x9)+-parseInt(_0xf64650(0x160))/0xa*(parseInt(_0xf64650(0x170))/0xb)+parseInt(_0xf64650(0x16b))/0xc;if(_0x50d60a===_0x5fb785)break;else _0x130e3c['push'](_0x130e3c['shift']());}catch(_0xdaccf7){_0x130e3c['push'](_0x130e3c['shift']());}}}(_0x5b92,0xd6573));const e={'editHistory':{'panel':{'title':_0x428bb(0x15f),'unknownUser':'Unknown\x20User','listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list','revertConfirm':_0x428bb(0x172),'revertConfirmText':_0x428bb(0x173),'cancel':_0x428bb(0x171),'confirm':'Confirm','reverting':_0x428bb(0x161),'revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':_0x428bb(0x163),'currentUser':_0x428bb(0x167),'revertDesc':_0x428bb(0x164)},'info':{'loading':_0x428bb(0x16e)},'header':{'back':_0x428bb(0x165),'revert':_0x428bb(0x164)},'action':{'insertSheet':'inserted\x20worksheet','removeSheet':_0x428bb(0x166),'createSheet':_0x428bb(0x159),'setFilter':'set\x20filter','setFrozen':_0x428bb(0x16c),'editSheet':_0x428bb(0x15d),'revertSheet':_0x428bb(0x15a),'revertSheetPrefix':_0x428bb(0x168),'revertSheetSuffix':'','setDV':_0x428bb(0x153),'setCF':'set\x20conditional\x20formatting','addCF':_0x428bb(0x15c),'addProtection':_0x428bb(0x156),'addSparkline':_0x428bb(0x15e),'deleteProtection':_0x428bb(0x158),'etc':',\x20etc.'}}},t=e;export{t as default};
|