@univerjs-pro/edit-history-viewer 0.4.0 → 0.4.1

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x55f1ad,_0xdb3f1c){const _0xc19938=_0x110a,_0x20f2d9=_0x55f1ad();while(!![]){try{const _0x493a0c=-parseInt(_0xc19938(0x1ea))/0x1*(-parseInt(_0xc19938(0x1df))/0x2)+parseInt(_0xc19938(0x1fb))/0x3+-parseInt(_0xc19938(0x30f))/0x4*(parseInt(_0xc19938(0x1ec))/0x5)+parseInt(_0xc19938(0x2f6))/0x6*(-parseInt(_0xc19938(0x31d))/0x7)+-parseInt(_0xc19938(0x2ab))/0x8+-parseInt(_0xc19938(0x27e))/0x9*(parseInt(_0xc19938(0x31f))/0xa)+parseInt(_0xc19938(0x1ac))/0xb;if(_0x493a0c===_0xdb3f1c)break;else _0x20f2d9['push'](_0x20f2d9['shift']());}catch(_0x41a253){_0x20f2d9['push'](_0x20f2d9['shift']());}}}(_0x4cc2,0x39299),function(_0x548709,_0x352bd5){const _0x6e1c51=_0x110a;typeof exports=='object'&&typeof module<'u'?_0x352bd5(exports,require(_0x6e1c51(0x1e3)),require(_0x6e1c51(0x1a4)),require('@univerjs/engine-render'),require(_0x6e1c51(0x2f8)),require('@univerjs/sheets-ui'),require(_0x6e1c51(0x14f)),require('@univerjs-pro/collaboration'),require(_0x6e1c51(0x164)),require(_0x6e1c51(0x28e)),require(_0x6e1c51(0x27f)),require(_0x6e1c51(0x29e)),require(_0x6e1c51(0x253)),require(_0x6e1c51(0x323)),require(_0x6e1c51(0x2a5)),require(_0x6e1c51(0x339))):typeof define==_0x6e1c51(0x259)&&define[_0x6e1c51(0x1d1)]?define([_0x6e1c51(0x30b),_0x6e1c51(0x1e3),_0x6e1c51(0x1a4),_0x6e1c51(0x34c),_0x6e1c51(0x2f8),'@univerjs/sheets-ui',_0x6e1c51(0x14f),_0x6e1c51(0x332),_0x6e1c51(0x164),_0x6e1c51(0x28e),_0x6e1c51(0x27f),_0x6e1c51(0x29e),_0x6e1c51(0x253),'@univerjs/data-validation','@univerjs/sheets-conditional-formatting',_0x6e1c51(0x339)],_0x352bd5):(_0x548709=typeof globalThis<'u'?globalThis:_0x548709||self,_0x352bd5(_0x548709[_0x6e1c51(0x269)]={},_0x548709[_0x6e1c51(0x300)],_0x548709[_0x6e1c51(0x1e9)],_0x548709[_0x6e1c51(0x2da)],_0x548709[_0x6e1c51(0x286)],_0x548709[_0x6e1c51(0x208)],_0x548709[_0x6e1c51(0x2b1)],_0x548709['UniverCollaboration'],_0x548709[_0x6e1c51(0x23b)],_0x548709[_0x6e1c51(0x22c)],_0x548709['UniverSheets'],_0x548709[_0x6e1c51(0x29e)],_0x548709['UniverSheetsFilter'],_0x548709['UniverDataValidation'],_0x548709[_0x6e1c51(0x1e6)],_0x548709[_0x6e1c51(0x24c)]));}(this,function(_0x366d95,_0x182995,_0x2c53de,_0x1205a1,_0xe3856f,_0xd54138,_0x57246a,_0x51cf97,_0x35ed23,_0x18ae4f,_0x55e738,_0x423942,_0x363e7f,_0x63680b,_0x4d3ec1,_0x2e6057){'use strict';const _0x45413a=_0x110a;var _0x353e4b=Object['defineProperty'],_0x2c2a1f=(_0x44138d,_0x4ea891,_0x2a8c14)=>_0x4ea891 in _0x44138d?_0x353e4b(_0x44138d,_0x4ea891,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a8c14}):_0x44138d[_0x4ea891]=_0x2a8c14,_0x3dbc1d=(_0x57cd5d,_0x4c443f,_0x41fb2f)=>_0x2c2a1f(_0x57cd5d,typeof _0x4c443f!='symbol'?_0x4c443f+'':_0x4c443f,_0x41fb2f);const _0x5b06eb=_0x45413a(0x150),_0x5e36eb={};var _0x7945=Object[_0x45413a(0x203)],_0x25c09e=Object[_0x45413a(0x1b8)],_0x13da52=(_0x56e048,_0x36dba4,_0x4b9ba2,_0x2b4127)=>{const _0x3ee293=_0x45413a;for(var _0x51305c=_0x2b4127>0x1?void 0x0:_0x2b4127?_0x25c09e(_0x36dba4,_0x4b9ba2):_0x36dba4,_0x41f746=_0x56e048[_0x3ee293(0x239)]-0x1,_0x5d37f6;_0x41f746>=0x0;_0x41f746--)(_0x5d37f6=_0x56e048[_0x41f746])&&(_0x51305c=(_0x2b4127?_0x5d37f6(_0x36dba4,_0x4b9ba2,_0x51305c):_0x5d37f6(_0x51305c))||_0x51305c);return _0x2b4127&&_0x51305c&&_0x7945(_0x36dba4,_0x4b9ba2,_0x51305c),_0x51305c;},_0x5c02a3=(_0x4644c5,_0x377e5c)=>(_0x50c6f0,_0x4ac5d6)=>_0x377e5c(_0x50c6f0,_0x4ac5d6,_0x4644c5);let _0x1cdfa8=class extends _0x182995['Disposable']{constructor(_0x4da24c){const _0x6ebc17=_0x45413a;super(),this[_0x6ebc17(0x2a4)]=_0x4da24c,this[_0x6ebc17(0x1c3)]();}[_0x45413a(0x1c3)](){const _0x1b9753=_0x45413a;this[_0x1b9753(0x2ac)](this['_cellEditorManagerService']['state$']['subscribe'](_0x18b64a=>{const _0xb05f22=_0x1b9753;_0x18b64a!=null&&_0x18b64a[_0xb05f22(0x1b5)]&&this[_0xb05f22(0x2a4)]['setState']({'show':!0x1});}));}};_0x1cdfa8=_0x13da52([_0x5c02a3(0x0,_0xd54138['ICellEditorManagerService'])],_0x1cdfa8);var _0x3b30ee=(_0x3ad8c2=>(_0x3ad8c2[_0x3ad8c2[_0x45413a(0x213)]=0x0]=_0x45413a(0x213),_0x3ad8c2[_0x3ad8c2['OK']=0x1]='OK',_0x3ad8c2[_0x3ad8c2[_0x45413a(0x30d)]=0x2]=_0x45413a(0x30d),_0x3ad8c2[_0x3ad8c2[_0x45413a(0x2c4)]=0x3]='PERMISSION_DENIED',_0x3ad8c2[_0x3ad8c2[_0x45413a(0x2ed)]=0x4]=_0x45413a(0x2ed),_0x3ad8c2[_0x3ad8c2[_0x45413a(0x2d9)]=0x5]=_0x45413a(0x2d9),_0x3ad8c2[_0x3ad8c2[_0x45413a(0x2f5)]=0x6]=_0x45413a(0x2f5),_0x3ad8c2[_0x3ad8c2['INVALID_ARGUMENT']=0x7]=_0x45413a(0x151),_0x3ad8c2[_0x3ad8c2[_0x45413a(0x15a)]=0x8]=_0x45413a(0x15a),_0x3ad8c2[_0x3ad8c2[_0x45413a(0x361)]=0x9]=_0x45413a(0x361),_0x3ad8c2[_0x3ad8c2['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x45413a(0x26a),_0x3ad8c2[_0x3ad8c2['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x45413a(0x298),_0x3ad8c2[_0x3ad8c2[_0x45413a(0x328)]=0x1772]=_0x45413a(0x328),_0x3ad8c2[_0x3ad8c2[_0x45413a(0x279)]=0x1773]=_0x45413a(0x279),_0x3ad8c2[_0x3ad8c2['APPLY_REJECT']=0x1b59]=_0x45413a(0x273),_0x3ad8c2[_0x3ad8c2['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3ad8c2[_0x3ad8c2[_0x45413a(0x274)]=0x1b5b]=_0x45413a(0x274),_0x3ad8c2[_0x3ad8c2[_0x45413a(0x1e7)]=0x1b5c]=_0x45413a(0x1e7),_0x3ad8c2[_0x3ad8c2['APPLY_DUPLICATED']=0x1b5d]=_0x45413a(0x2e3),_0x3ad8c2[_0x3ad8c2[_0x45413a(0x23c)]=0x1f41]=_0x45413a(0x23c),_0x3ad8c2[_0x3ad8c2[_0x45413a(0x1c8)]=0x2329]=_0x45413a(0x1c8),_0x3ad8c2[_0x3ad8c2[_0x45413a(0x34a)]=0x232a]=_0x45413a(0x34a),_0x3ad8c2[_0x3ad8c2['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x45413a(0x16e),_0x3ad8c2[_0x3ad8c2[_0x45413a(0x232)]=0x232c]=_0x45413a(0x232),_0x3ad8c2[_0x3ad8c2[_0x45413a(0x25b)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x3ad8c2[_0x3ad8c2[_0x45413a(0x29d)]=0x2711]=_0x45413a(0x29d),_0x3ad8c2[_0x3ad8c2['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x45413a(0x1b1),_0x3ad8c2[_0x3ad8c2[_0x45413a(0x172)]=0x2713]=_0x45413a(0x172),_0x3ad8c2[_0x3ad8c2['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3ad8c2[_0x3ad8c2[_0x45413a(0x368)]=-0x1]=_0x45413a(0x368),_0x3ad8c2))(_0x3b30ee||{}),_0x42fb76=(_0x5194fc=>(_0x5194fc[_0x5194fc[_0x45413a(0x349)]=0x0]=_0x45413a(0x349),_0x5194fc[_0x5194fc[_0x45413a(0x1bd)]=0x1]=_0x45413a(0x1bd),_0x5194fc[_0x5194fc[_0x45413a(0x23a)]=0x2]='UNIVER_SHEET',_0x5194fc[_0x5194fc[_0x45413a(0x1bb)]=0x3]='UNIVER_SLIDE',_0x5194fc[_0x5194fc[_0x45413a(0x295)]=0x4]=_0x45413a(0x295),_0x5194fc[_0x5194fc[_0x45413a(0x368)]=-0x1]=_0x45413a(0x368),_0x5194fc))(_0x42fb76||{}),_0x116373=(_0x10e124=>(_0x10e124[_0x10e124[_0x45413a(0x180)]=0x0]='View',_0x10e124[_0x10e124[_0x45413a(0x171)]=0x1]=_0x45413a(0x171),_0x10e124[_0x10e124[_0x45413a(0x153)]=0x2]=_0x45413a(0x153),_0x10e124[_0x10e124[_0x45413a(0x261)]=0x3]='Print',_0x10e124[_0x10e124[_0x45413a(0x209)]=0x4]=_0x45413a(0x209),_0x10e124[_0x10e124[_0x45413a(0x26c)]=0x5]=_0x45413a(0x26c),_0x10e124[_0x10e124['Copy']=0x6]=_0x45413a(0x33e),_0x10e124[_0x10e124['Share']=0x7]=_0x45413a(0x1c0),_0x10e124[_0x10e124[_0x45413a(0x189)]=0x8]=_0x45413a(0x189),_0x10e124[_0x10e124[_0x45413a(0x2e2)]=0x9]=_0x45413a(0x2e2),_0x10e124[_0x10e124[_0x45413a(0x17f)]=0xa]='DeleteWorksheet',_0x10e124[_0x10e124[_0x45413a(0x322)]=0xb]=_0x45413a(0x322),_0x10e124[_0x10e124['RenameWorksheet']=0xc]=_0x45413a(0x18d),_0x10e124[_0x10e124[_0x45413a(0x252)]=0xd]=_0x45413a(0x252),_0x10e124[_0x10e124[_0x45413a(0x204)]=0xe]=_0x45413a(0x204),_0x10e124[_0x10e124[_0x45413a(0x240)]=0xf]=_0x45413a(0x240),_0x10e124[_0x10e124[_0x45413a(0x294)]=0x10]='InsertHyperlink',_0x10e124[_0x10e124['Sort']=0x11]='Sort',_0x10e124[_0x10e124[_0x45413a(0x255)]=0x12]=_0x45413a(0x255),_0x10e124[_0x10e124[_0x45413a(0x2a6)]=0x13]=_0x45413a(0x2a6),_0x10e124[_0x10e124['FloatImg']=0x14]=_0x45413a(0x1af),_0x10e124[_0x10e124[_0x45413a(0x366)]=0x15]=_0x45413a(0x366),_0x10e124[_0x10e124['RwHgtClWdt']=0x16]='RwHgtClWdt',_0x10e124[_0x10e124[_0x45413a(0x221)]=0x17]='ViemRwHgtClWdt',_0x10e124[_0x10e124[_0x45413a(0x2dd)]=0x18]=_0x45413a(0x2dd),_0x10e124[_0x10e124[_0x45413a(0x1eb)]=0x19]='MoveSheet',_0x10e124[_0x10e124[_0x45413a(0x27c)]=0x1a]=_0x45413a(0x27c),_0x10e124[_0x10e124['HideSheet']=0x1b]=_0x45413a(0x27b),_0x10e124[_0x10e124[_0x45413a(0x267)]=0x1c]=_0x45413a(0x267),_0x10e124[_0x10e124[_0x45413a(0x374)]=0x1d]=_0x45413a(0x374),_0x10e124[_0x10e124['CreateSheet']=0x1e]=_0x45413a(0x170),_0x10e124[_0x10e124[_0x45413a(0x156)]=0x1f]=_0x45413a(0x156),_0x10e124[_0x10e124[_0x45413a(0x337)]=0x20]=_0x45413a(0x337),_0x10e124[_0x10e124[_0x45413a(0x1dc)]=0x21]=_0x45413a(0x1dc),_0x10e124[_0x10e124['SetCellValue']=0x22]=_0x45413a(0x27a),_0x10e124[_0x10e124[_0x45413a(0x350)]=0x23]=_0x45413a(0x350),_0x10e124[_0x10e124[_0x45413a(0x175)]=0x24]=_0x45413a(0x175),_0x10e124[_0x10e124[_0x45413a(0x219)]=0x25]=_0x45413a(0x219),_0x10e124[_0x10e124['InsertColumn']=0x26]=_0x45413a(0x2cd),_0x10e124[_0x10e124[_0x45413a(0x1b2)]=0x27]=_0x45413a(0x1b2),_0x10e124[_0x10e124[_0x45413a(0x2d6)]=0x28]=_0x45413a(0x2d6),_0x10e124[_0x10e124[_0x45413a(0x1cf)]=0x29]=_0x45413a(0x1cf),_0x10e124[_0x10e124[_0x45413a(0x1b4)]=0x2a]=_0x45413a(0x1b4),_0x10e124[_0x10e124[_0x45413a(0x2c7)]=0x2b]=_0x45413a(0x2c7),_0x10e124[_0x10e124['ViewHistory']=0x2c]=_0x45413a(0x372),_0x10e124[_0x10e124[_0x45413a(0x368)]=-0x1]='UNRECOGNIZED',_0x10e124))(_0x116373||{});function _0x4480a1(_0x2299ed){const _0xf00eb0=_0x45413a;return!!(_0x2299ed&&_0x2299ed['code']&&_0x2299ed[_0xf00eb0(0x30e)]!==_0x3b30ee['OK']&&_0x2299ed[_0xf00eb0(0x30e)]!=='OK');}const _0x4ab3b7=(_0x280ae8,_0x1c952b)=>{const _0x411d3e=_0x45413a;if(!_0x280ae8)return{'date':'','time':''};const _0x387f78=new Date(_0x280ae8),_0xa6c26b=_0x387f78['toISOString']()[_0x411d3e(0x293)]('T')[0x0];switch(_0x1c952b){case _0x182995[_0x411d3e(0x246)][_0x411d3e(0x16f)]:return{'date':_0x118c07(_0xa6c26b,_0x1c952b),'time':_0x387f78[_0x411d3e(0x2e4)]()+':'+String(_0x387f78[_0x411d3e(0x2d4)]())['padStart'](0x2,'0')};default:return{'date':_0x118c07(_0xa6c26b,_0x1c952b),'time':_0x387f78[_0x411d3e(0x2e4)]()+':'+_0x387f78[_0x411d3e(0x2d4)]()};}},_0x150aa7=(_0x30ab9c,_0x18b7f4)=>{const _0x104946=_0x45413a,_0x661dc2=_0x30ab9c[_0x104946(0x26b)]||_0x18b7f4['t'](_0x104946(0x277));if(_0x30ab9c[_0x104946(0x1f1)][_0x104946(0x205)](_0xfb6e16=>_0xfb6e16===_0x51cf97[_0x104946(0x335)]['id'])&&_0x30ab9c[_0x104946(0x319)]){const _0x1a71f7=_0x4ab3b7(_0x30ab9c[_0x104946(0x319)],_0x18b7f4['getCurrentLocale']()),_0x1572f5=_0x1a71f7[_0x104946(0x2ea)]+'\x20'+_0x1a71f7[_0x104946(0x212)];return _0x661dc2+'\x20'+_0x18b7f4['t'](_0x104946(0x1f0))+'\x20'+_0x1572f5+'\x20'+_0x18b7f4['t'](_0x104946(0x244));}const _0x378bfe=_0x1a1ba7(_0x30ab9c),_0x4c1198=_0x378bfe[_0x104946(0x239)]===0x1?_0x18b7f4['t'](_0x378bfe[0x0]):''+_0x18b7f4['t'](_0x378bfe[0x0])+_0x18b7f4['t'](_0x104946(0x19e));return _0x661dc2+'\x20'+_0x4c1198;};function _0x1a1ba7(_0x1f529e){const _0x45becf=_0x45413a;if(_0x1f529e['commands']['length']===0x0)return[''];const _0x393279=_0x45becf(0x1a7),_0x3df3d6=_0x393279+_0x45becf(0x179),_0x3027a3=[{'id':_0x51cf97[_0x45becf(0x217)]['id'],'action':_0x393279+_0x45becf(0x247)},{'id':_0x51cf97[_0x45becf(0x335)]['id'],'action':_0x393279+_0x45becf(0x2ba)},{'id':_0x55e738[_0x45becf(0x15f)]['id'],'action':_0x393279+_0x45becf(0x2b6)},{'id':_0x55e738[_0x45becf(0x330)]['id'],'action':_0x393279+_0x45becf(0x2bc)},{'id':_0x55e738[_0x45becf(0x36f)]['id'],'action':_0x393279+_0x45becf(0x2d8)},{'id':_0x363e7f[_0x45becf(0x346)]['id'],'action':_0x393279+_0x45becf(0x1dd)},{'id':_0x63680b[_0x45becf(0x21b)]['id'],'action':_0x393279+_0x45becf(0x1db)},{'id':_0x63680b[_0x45becf(0x1d8)]['id'],'action':_0x393279+_0x45becf(0x1db)},{'id':_0x4d3ec1[_0x45becf(0x2d5)]['id'],'action':_0x393279+_0x45becf(0x2d1)},{'id':_0x4d3ec1[_0x45becf(0x241)]['id'],'action':_0x393279+_0x45becf(0x2d1)},{'id':_0x55e738[_0x45becf(0x315)]['id'],'action':_0x393279+_0x45becf(0x324)},{'id':_0x55e738[_0x45becf(0x276)]['id'],'action':_0x393279+_0x45becf(0x324)},{'id':_0x55e738[_0x45becf(0x18a)]['id'],'action':_0x393279+_0x45becf(0x356)},{'id':_0x55e738[_0x45becf(0x176)]['id'],'action':_0x393279+_0x45becf(0x356)}][_0x45becf(0x18f)](_0x3008ed=>_0x1f529e[_0x45becf(0x1f1)][_0x45becf(0x1fc)](_0x3008ed['id']));return _0x3027a3!=null&&_0x3027a3[_0x45becf(0x239)]?_0x3027a3[_0x45becf(0x331)](_0x4e0002=>_0x4e0002[_0x45becf(0x207)]):[_0x3df3d6];}function _0x118c07(_0x4a9f9c,_0x51116c){const _0x412782=_0x45413a,[_0x40b74d,_0x2217b1,_0x3be136]=new Date()['toISOString']()['split']('T')[0x0]['split']('-'),[_0x4ae605,_0x3b277b,_0x3e6d09]=_0x4a9f9c['split']('-'),_0x3f538d=_0x40b74d===_0x4ae605&&_0x2217b1===_0x3b277b&&_0x3be136===_0x3e6d09;let _0x19270d='',_0x25d9b2='',_0x461a22='';switch(_0x51116c){case _0x182995[_0x412782(0x246)][_0x412782(0x16f)]:return _0x3f538d?'今天':(_0x19270d=_0x40b74d===_0x4ae605?'':_0x4ae605+'年',_0x25d9b2=_0x3b277b+'月',_0x461a22=_0x3e6d09+'日',''+_0x19270d+_0x25d9b2+_0x461a22);default:return _0x3f538d?_0x412782(0x226):(_0x19270d=_0x40b74d===_0x4ae605?'':_0x4ae605+'-',_0x25d9b2=_0x3b277b+'-',_0x461a22=''+_0x3e6d09,''+_0x19270d+_0x25d9b2+_0x461a22);}}function _0x29fd22(_0x3a18c3){const _0xd1f134=_0x45413a;return _0x3a18c3?_0x3a18c3[_0xd1f134(0x20e)]((_0x4694d7,_0x16c02a)=>{const _0x3a3c28=_0xd1f134,_0x20cb9a=new Date(_0x16c02a[_0x3a3c28(0x212)])[_0x3a3c28(0x22e)]()[_0x3a3c28(0x293)]('T')[0x0];return _0x4694d7[_0x3a3c28(0x239)]>0x0&&_0x4694d7[_0x4694d7[_0x3a3c28(0x239)]-0x1][_0x3a3c28(0x169)]===_0x20cb9a?_0x4694d7[_0x4694d7[_0x3a3c28(0x239)]-0x1][_0x3a3c28(0x196)][_0x3a3c28(0x26d)](_0x16c02a):_0x4694d7[_0x3a3c28(0x26d)]({'dateString':_0x20cb9a,'versions':[_0x16c02a]}),_0x4694d7;},[]):[];}var _0x349f54=Object['defineProperty'],_0x572470=Object[_0x45413a(0x1b8)],_0xd2d650=(_0xb87879,_0xad425e,_0x18ecc0,_0x51c456)=>{for(var _0x52c328=_0x51c456>0x1?void 0x0:_0x51c456?_0x572470(_0xad425e,_0x18ecc0):_0xad425e,_0x3803bc=_0xb87879['length']-0x1,_0x460fed;_0x3803bc>=0x0;_0x3803bc--)(_0x460fed=_0xb87879[_0x3803bc])&&(_0x52c328=(_0x51c456?_0x460fed(_0xad425e,_0x18ecc0,_0x52c328):_0x460fed(_0x52c328))||_0x52c328);return _0x51c456&&_0x52c328&&_0x349f54(_0xad425e,_0x18ecc0,_0x52c328),_0x52c328;},_0x4e9ee0=(_0x200a7c,_0x31335b)=>(_0x52e7eb,_0x5d100a)=>_0x31335b(_0x52e7eb,_0x5d100a,_0x200a7c);const _0x1e962f=_0x45413a(0x1a2);let _0x3f6416=class extends _0x182995['Disposable']{constructor(_0xd1a793,_0x45846,_0x92cdc8,_0x35223d,_0x21177a,_0xe4d5d2){const _0x14bb13=_0x45413a;super(),_0x3dbc1d(this,_0x14bb13(0x33b),new Map()),(this['_snapshotServerService']=_0xd1a793,this['_univerInstanceService']=_0x45846,this[_0x14bb13(0x1e2)]=_0x92cdc8,this[_0x14bb13(0x297)]=_0x35223d,this[_0x14bb13(0x159)]=_0x21177a,this[_0x14bb13(0x290)]=_0xe4d5d2);}['dispose'](){const _0x326a45=_0x45413a;this[_0x326a45(0x33b)][_0x326a45(0x237)](),super[_0x326a45(0x2c1)]();}async[_0x45413a(0x1e0)](_0x1a1f2a,_0x40d851){const _0x37bc15=_0x45413a,_0x10e266=this[_0x37bc15(0x173)]()+'/'+_0x1a1f2a+_0x37bc15(0x2a1)+(_0x40d851?_0x37bc15(0x177)+_0x40d851:'');try{const _0x2f69f4=(await this[_0x37bc15(0x159)][_0x37bc15(0x15c)](_0x10e266))[_0x37bc15(0x262)];if(_0x2f69f4&&_0x2f69f4[_0x37bc15(0x35c)]&&_0x2f69f4[_0x37bc15(0x35c)][_0x37bc15(0x30e)]===_0x3b30ee['OK']){const {hasMore:_0x118463,lastLabel:_0x2fc832}=_0x2f69f4,_0x30c79a=_0x482c44(_0x2f69f4),_0x47cb05=_0x2f69f4[_0x37bc15(0x2b9)][_0x37bc15(0x2ec)];return{'hasMore':_0x118463,'lastLabel':_0x2fc832,'versions':_0x30c79a,'members':_0x47cb05};}}catch(_0x58ca24){console['error'](_0x58ca24);}return null;}[_0x45413a(0x173)](){const _0x15f30e=_0x45413a;var _0x2b67b7;const _0x829d89=this[_0x15f30e(0x297)][_0x15f30e(0x1d0)](_0x5b06eb);return(_0x2b67b7=_0x829d89==null?void 0x0:_0x829d89[_0x15f30e(0x353)])!=null?_0x2b67b7:_0x1e962f;}async['loadSheet'](_0x3212a8,_0xc391c3,_0x4af0a6){const _0x2cb5ac=_0x45413a;var _0x447cde,_0x1f94c0;_0x4af0a6===void 0x0&&(_0x4af0a6={}),this[_0x2cb5ac(0x33b)][_0x2cb5ac(0x2fb)](_0x3212a8)||this[_0x2cb5ac(0x33b)][_0x2cb5ac(0x1e4)](_0x3212a8,new Map());const {snapshot:_0x508ca0,changesets:_0x4ae8b1,error:_0x5cd549}=await this[_0x2cb5ac(0x357)][_0x2cb5ac(0x370)](_0x4af0a6,{'unitID':_0x3212a8,'type':_0x42fb76[_0x2cb5ac(0x23a)],'revision':_0xc391c3});if(_0x4480a1(_0x5cd549)||!_0x508ca0||!_0x508ca0['workbook'])throw new Error('[HistoryFetchService]:\x20request\x20snapshot\x20error!');const _0x1a33c6=(_0x447cde=_0x4ae8b1==null?void 0x0:_0x4ae8b1[_0x2cb5ac(0x239)])!=null?_0x447cde:0x0;if(_0xc391c3!==0x0&&_0x508ca0[_0x2cb5ac(0x25d)]+_0x1a33c6!==_0xc391c3)throw new Error('[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!');const {workbook:_0x179cf6}=_0x508ca0,_0x1753a3=_0x179cf6[_0x2cb5ac(0x36c)]?Object[_0x2cb5ac(0x2c8)](_0x179cf6['blockMeta'])[_0x2cb5ac(0x331)](([_0x28029d,_0x5c59ad])=>{const _0x1867f3=_0x2cb5ac;var _0x4c37b9,_0xf398e;return(_0xf398e=(_0x4c37b9=_0x5c59ad[_0x1867f3(0x302)])==null?void 0x0:_0x4c37b9[_0x1867f3(0x331)](_0x2d1383=>_0x2d1383))!=null?_0xf398e:[];})[_0x2cb5ac(0x1e1)]():[],_0x22c1f6=(await Promise[_0x2cb5ac(0x191)](_0x1753a3[_0x2cb5ac(0x331)](_0x2b9533=>this[_0x2cb5ac(0x357)]['getDeserializedSheetBlock'](_0x4af0a6,{'unitID':_0x3212a8,'type':_0x42fb76[_0x2cb5ac(0x23a)],'blockID':_0x2b9533})[_0x2cb5ac(0x2ef)](_0x54c4bd=>_0x54c4bd[_0x2cb5ac(0x21d)]))))[_0x2cb5ac(0x18f)](_0xebad22=>!!_0xebad22),_0x4b5146=_0x51cf97[_0x2cb5ac(0x19f)](_0x508ca0,_0x22c1f6,_0x4af0a6);return(_0x1f94c0=this[_0x2cb5ac(0x33b)][_0x2cb5ac(0x15c)](_0x3212a8))==null||_0x1f94c0[_0x2cb5ac(0x1e4)](_0xc391c3,{'workbook':_0x4b5146}),new Promise(_0x1346ba=>{const _0x131380=_0x2cb5ac,_0x89c63a=this[_0x131380(0x1cc)]['getCurrentUnitForType'](_0x182995['UniverInstanceType'][_0x131380(0x23a)]);_0x89c63a?(this[_0x131380(0x1cc)][_0x131380(0x225)](_0x89c63a[_0x131380(0x2b8)]()),setTimeout(()=>{this['_createUnit'](_0x4b5146,_0x4ae8b1),_0x1346ba(!0x0);},0x0)):(this['_createUnit'](_0x4b5146,_0x4ae8b1),_0x1346ba(!0x0));});}[_0x45413a(0x166)](_0x3c03a4,_0x1bf45b){const _0x31d5e6=_0x45413a,_0x5f9e5c=this[_0x31d5e6(0x1cc)][_0x31d5e6(0x199)](_0x182995[_0x31d5e6(0x2a7)]['UNIVER_SHEET'],_0x3c03a4);this[_0x31d5e6(0x1cc)]['focusUnit'](_0x5f9e5c[_0x31d5e6(0x2b8)]());const _0x503a45=this[_0x31d5e6(0x290)]['interceptor'][_0x31d5e6(0x31e)](this[_0x31d5e6(0x290)][_0x31d5e6(0x303)][_0x31d5e6(0x23f)]()[_0x31d5e6(0x190)]);return _0x1bf45b==null||_0x1bf45b['forEach'](_0x4c14c5=>{const _0x44a65d=_0x31d5e6,_0x57eb0a=_0x4c14c5[_0x44a65d(0x248)][_0x44a65d(0x331)](_0x3bf4a6=>({'id':_0x3bf4a6['id'],'params':JSON['parse'](_0x3bf4a6[_0x44a65d(0x291)])}));({..._0x4c14c5,'mutations':_0x503a45(_0x57eb0a,null)||_0x57eb0a}[_0x44a65d(0x248)][_0x44a65d(0x17e)](_0xb9775=>{const _0x5afacf=_0x44a65d;this['_commandService'][_0x5afacf(0x33f)](_0xb9775['id'])&&this[_0x5afacf(0x1e2)][_0x5afacf(0x20c)](_0xb9775['id'],_0xb9775[_0x5afacf(0x296)]);}));}),_0x5f9e5c;}};_0x3f6416=_0xd2d650([_0x4e9ee0(0x0,_0x51cf97[_0x45413a(0x2d2)]),_0x4e9ee0(0x1,_0x182995[_0x45413a(0x360)]),_0x4e9ee0(0x2,_0x182995[_0x45413a(0x2a9)]),_0x4e9ee0(0x3,_0x182995[_0x45413a(0x320)]),_0x4e9ee0(0x4,_0x182995[_0x45413a(0x211)](_0xe3856f[_0x45413a(0x308)])),_0x4e9ee0(0x5,_0x182995[_0x45413a(0x211)](_0x51cf97['CompressMutationService']))],_0x3f6416);function _0x482c44(_0x2f5e38){const _0xf2b546=_0x45413a;var _0x350b4e,_0x4c581c;const _0x8ee142=[],{entities:_0x37ee93,historyIds:_0x15ce19}=_0x2f5e38,{datas:_0x2d8715,users:_0x58fca5}=_0x37ee93;for(const _0x38c248 of _0x15ce19)if(_0x2d8715[_0x38c248]){const _0x4029d1=!!((_0x350b4e=_0x58fca5[_0x2d8715[_0x38c248][_0xf2b546(0x2e5)]])!=null&&_0x350b4e[_0xf2b546(0x2d3)]);_0x8ee142[_0xf2b546(0x26d)]({'unitId':_0x2d8715[_0x38c248][_0xf2b546(0x2b3)],'user':_0x4029d1?'':((_0x4c581c=_0x58fca5==null?void 0x0:_0x58fca5[_0x2d8715[_0x38c248][_0xf2b546(0x2e5)]])==null?void 0x0:_0x4c581c[_0xf2b546(0x2cb)])||'','isAnonymous':_0x4029d1,'id':_0x38c248,'time':_0x2d8715[_0x38c248]['createTime']?Number(_0x2d8715[_0x38c248][_0xf2b546(0x318)]):void 0x0,'commands':_0x2d8715[_0x38c248][_0xf2b546(0x36a)],'startRev':Number(_0x2d8715[_0x38c248][_0xf2b546(0x2f0)]),'endRev':Number(_0x2d8715[_0x38c248]['endRevision']),'recoverTime':_0x2d8715[_0x38c248][_0xf2b546(0x319)]?Number(_0x2d8715[_0x38c248]['recoverTime']):void 0x0});}return _0x8ee142;}var _0x1d4871=Object[_0x45413a(0x203)],_0x564126=Object['getOwnPropertyDescriptor'],_0x35dd4c=(_0x48bc3d,_0x2270c8,_0x5aba0c,_0x2d39e9)=>{for(var _0x252739=_0x2d39e9>0x1?void 0x0:_0x2d39e9?_0x564126(_0x2270c8,_0x5aba0c):_0x2270c8,_0x38a866=_0x48bc3d['length']-0x1,_0x1f0916;_0x38a866>=0x0;_0x38a866--)(_0x1f0916=_0x48bc3d[_0x38a866])&&(_0x252739=(_0x2d39e9?_0x1f0916(_0x2270c8,_0x5aba0c,_0x252739):_0x1f0916(_0x252739))||_0x252739);return _0x2d39e9&&_0x252739&&_0x1d4871(_0x2270c8,_0x5aba0c,_0x252739),_0x252739;},_0x44615a=(_0x158609,_0x3df67e)=>(_0x115df3,_0x437585)=>_0x3df67e(_0x115df3,_0x437585,_0x158609),_0x4ad37b=(_0x56132a=>(_0x56132a['Entered']=_0x45413a(0x16b),_0x56132a[_0x45413a(0x2fa)]=_0x45413a(0x29c),_0x56132a[_0x45413a(0x236)]=_0x45413a(0x35c),_0x56132a))(_0x4ad37b||{}),_0x3119ac=(_0x396622=>(_0x396622[_0x45413a(0x26f)]=_0x45413a(0x285),_0x396622[_0x45413a(0x2f3)]=_0x45413a(0x2e6),_0x396622['Loaded']=_0x45413a(0x201),_0x396622))(_0x3119ac||{});const _0x30f64f=_0x45413a(0x26e);_0x366d95['HistoryManagerService']=class extends _0x182995[_0x45413a(0x15d)]{constructor(_0x21ba3b,_0x172b59,_0x2d6858,_0x40134e){const _0xfcbc2=_0x45413a;super(),_0x3dbc1d(this,_0xfcbc2(0x33c),new _0x423942[(_0xfcbc2(0x30c))]([])),_0x3dbc1d(this,_0xfcbc2(0x280),this[_0xfcbc2(0x33c)][_0xfcbc2(0x266)]()),_0x3dbc1d(this,_0xfcbc2(0x2d0),new _0x423942[(_0xfcbc2(0x30c))]('')),_0x3dbc1d(this,'currentVersion$',this[_0xfcbc2(0x2d0)][_0xfcbc2(0x266)]()),_0x3dbc1d(this,_0xfcbc2(0x1c5),new _0x423942['BehaviorSubject'](_0xfcbc2(0x16b))),_0x3dbc1d(this,_0xfcbc2(0x2af),this['_status$'][_0xfcbc2(0x266)]()),_0x3dbc1d(this,'_revertRevision$',new _0x423942[(_0xfcbc2(0x30c))](0x0)),_0x3dbc1d(this,_0xfcbc2(0x27d),this[_0xfcbc2(0x2d7)][_0xfcbc2(0x266)]()),_0x3dbc1d(this,_0xfcbc2(0x183),new _0x423942[(_0xfcbc2(0x30c))]('')),_0x3dbc1d(this,_0xfcbc2(0x260),this[_0xfcbc2(0x183)][_0xfcbc2(0x266)]()),_0x3dbc1d(this,_0xfcbc2(0x20d),!0x1),_0x3dbc1d(this,_0xfcbc2(0x2e0),new _0x423942['BehaviorSubject'](_0xfcbc2(0x285))),_0x3dbc1d(this,'loadingState$',this[_0xfcbc2(0x2e0)]['asObservable']()),_0x3dbc1d(this,_0xfcbc2(0x1c6),null),_0x3dbc1d(this,'_hasMore',!0x0),_0x3dbc1d(this,_0xfcbc2(0x187),new Map()),_0x3dbc1d(this,_0xfcbc2(0x321)),_0x3dbc1d(this,_0xfcbc2(0x1cb)),_0x3dbc1d(this,_0xfcbc2(0x325)),_0x3dbc1d(this,_0xfcbc2(0x2bd),!0x1),(this[_0xfcbc2(0x25e)]=_0x21ba3b,this[_0xfcbc2(0x1c4)]=_0x172b59,this[_0xfcbc2(0x271)]=_0x2d6858,this['_historyFetchService']=_0x40134e);}async[_0x45413a(0x1ba)](_0x3e5cab,_0x40c587,_0x29a5fe){const _0x41b0ce=_0x45413a;this[_0x41b0ce(0x321)]=_0x40c587,this[_0x41b0ce(0x2bd)]=_0x29a5fe,this[_0x41b0ce(0x183)][_0x41b0ce(0x35b)](_0x3e5cab),this[_0x41b0ce(0x20d)]=!0x0;const _0x3f2761=await this['_historyFetchService'][_0x41b0ce(0x1e0)](_0x3e5cab);if(this['_fetching']=!0x1,_0x3f2761){const {versions:_0x4260ea,lastLabel:_0x3ad3cf,hasMore:_0x21ace8,members:_0x26084c}=_0x3f2761;_0x4260ea['length']===0x0&&_0x4260ea[_0x41b0ce(0x26d)]({'unitId':_0x3e5cab,'id':_0x30f64f,'startRev':0x1,'endRev':0x0,'time':Date[_0x41b0ce(0x20f)](),'user':this[_0x41b0ce(0x271)]['t'](_0x41b0ce(0x18c)),'commands':[],'isAnonymous':!0x1}),this[_0x41b0ce(0x355)](_0x4260ea,_0x21ace8,_0x3ad3cf,_0x26084c),this[_0x41b0ce(0x2d0)][_0x41b0ce(0x35b)](_0x4260ea[0x0]['id']);}else this['_status$'][_0x41b0ce(0x35b)](_0x41b0ce(0x35c));}async[_0x45413a(0x243)](){const _0x297c42=_0x45413a;if(!this[_0x297c42(0x1c6)]||!this[_0x297c42(0x16c)]||this[_0x297c42(0x20d)])return!0x1;this['_fetching']=!0x0;const _0x428956=await this['_historyFetchService'][_0x297c42(0x1e0)](this[_0x297c42(0x2b3)],this[_0x297c42(0x1c6)]);if(this[_0x297c42(0x20d)]=!0x1,_0x428956){const {versions:_0x343232,lastLabel:_0xfba14,hasMore:_0x2f241d,members:_0x30c874}=_0x428956;this[_0x297c42(0x355)](_0x343232,_0x2f241d,_0xfba14,_0x30c874);}else this[_0x297c42(0x25e)][_0x297c42(0x1b5)]({'content':this[_0x297c42(0x271)]['t']('editHistory.panel.listFetchError'),'type':_0x18ae4f[_0x297c42(0x313)]['Error'],'duration':0xbb8});return!0x0;}async['triggerLoadSheet'](_0x19c92c){const _0x294e1a=_0x45413a;var _0xbf51a5;const _0x2737bd=(_0xbf51a5=this[_0x294e1a(0x33c)]['value'])==null?void 0x0:_0xbf51a5[_0x294e1a(0x19b)](_0x437233=>_0x437233['id']===_0x19c92c),{endRev:_0x3eb1c6}=_0x2737bd||{};_0x3eb1c6||_0x3eb1c6===0x0?(this['_loadingState$'][_0x294e1a(0x35b)](_0x294e1a(0x2e6)),await this['_historyFetchService'][_0x294e1a(0x2db)](this[_0x294e1a(0x2b3)],_0x3eb1c6),this[_0x294e1a(0x2e0)][_0x294e1a(0x35b)](_0x294e1a(0x201))):this[_0x294e1a(0x1c5)][_0x294e1a(0x35b)](_0x294e1a(0x35c));}async[_0x45413a(0x2f4)](_0xd2c38c){const _0x18a5a4=_0x45413a,_0x1bccd2=_0xd2c38c?this[_0x18a5a4(0x305)](_0xd2c38c):this[_0x18a5a4(0x25a)]();if(!_0x1bccd2)return;const _0x4ed534=_0x1bccd2[_0x18a5a4(0x282)],_0x150361=_0x4ab3b7(_0x1bccd2[_0x18a5a4(0x212)],this['_localeService']['getCurrentLocale']());await this['_confirmService'][_0x18a5a4(0x1ef)]({'id':_0x18a5a4(0x352),'title':{'title':this[_0x18a5a4(0x271)]['t'](_0x18a5a4(0x18e))},'children':{'title':this[_0x18a5a4(0x271)]['t'](_0x18a5a4(0x257))+':\x20('+_0x150361[_0x18a5a4(0x2ea)]+'\x20'+_0x150361[_0x18a5a4(0x212)]+')'}})&&this[_0x18a5a4(0x2d7)][_0x18a5a4(0x35b)](_0x4ed534);}[_0x45413a(0x355)](_0x2467f9,_0x4c8f60,_0xce0841,_0x2c2c9c){const _0x1fea97=_0x45413a;this[_0x1fea97(0x33c)][_0x1fea97(0x35b)](this['_versions$'][_0x1fea97(0x1bc)][_0x1fea97(0x227)](_0x2467f9)),this[_0x1fea97(0x16c)]=_0x4c8f60,this['_lastLabel']=_0xce0841,_0x2c2c9c&&Object[_0x1fea97(0x21c)](_0x2c2c9c)['forEach'](_0x385082=>this[_0x1fea97(0x187)]['set'](_0x385082,_0x2c2c9c[_0x385082]));}['getCurrentVersion'](){const _0x4c404e=_0x45413a;return this[_0x4c404e(0x305)](this['_currentVersion$'][_0x4c404e(0x1bc)]);}[_0x45413a(0x305)](_0x8624ce){const _0xf8bc18=_0x45413a;var _0xa333df;return(_0xa333df=this['_versions$'][_0xf8bc18(0x1bc)])==null?void 0x0:_0xa333df[_0xf8bc18(0x19b)](_0xd118d3=>_0xd118d3['id']===_0x8624ce);}[_0x45413a(0x238)](_0x1f012b){const _0x42726e=_0x45413a;return this[_0x42726e(0x187)][_0x42726e(0x15c)](_0x1f012b);}[_0x45413a(0x364)](){const _0x38ef9c=_0x45413a;this[_0x38ef9c(0x325)]=document[_0x38ef9c(0x365)](_0x38ef9c(0x2c5)),this[_0x38ef9c(0x325)][_0x38ef9c(0x36b)]=_0x38ef9c(0x345),this[_0x38ef9c(0x325)][_0x38ef9c(0x312)][_0x38ef9c(0x25f)]=_0x38ef9c(0x283),this[_0x38ef9c(0x325)]['style'][_0x38ef9c(0x358)]='0',this[_0x38ef9c(0x325)][_0x38ef9c(0x312)][_0x38ef9c(0x1b0)]='0',this[_0x38ef9c(0x325)][_0x38ef9c(0x312)]['width']=_0x38ef9c(0x34f),this[_0x38ef9c(0x325)][_0x38ef9c(0x312)][_0x38ef9c(0x19a)]='100%',this[_0x38ef9c(0x325)][_0x38ef9c(0x312)][_0x38ef9c(0x338)]=_0x38ef9c(0x160),this[_0x38ef9c(0x325)][_0x38ef9c(0x312)][_0x38ef9c(0x167)]=_0x38ef9c(0x373),this[_0x38ef9c(0x325)][_0x38ef9c(0x312)]['display']=_0x38ef9c(0x24e),this['_maskElement']['style']['justifyContent']='center',this[_0x38ef9c(0x325)][_0x38ef9c(0x312)][_0x38ef9c(0x1be)]=_0x38ef9c(0x1a1),this['_maskElement']['style'][_0x38ef9c(0x17b)]=_0x38ef9c(0x210),this[_0x38ef9c(0x1cb)][_0x38ef9c(0x359)](this['_maskElement']);}[_0x45413a(0x2e7)](){const _0x10e2ce=_0x45413a;var _0x369f49;const _0x19b546=(_0x369f49=document['getElementById'](this[_0x10e2ce(0x321)]))==null?void 0x0:_0x369f49[_0x10e2ce(0x2e9)](_0x10e2ce(0x33a));_0x19b546&&(this[_0x10e2ce(0x1cb)]=_0x19b546,this[_0x10e2ce(0x364)]());}[_0x45413a(0x2a2)](){const _0x162566=_0x45413a;this['_maskContainer']||this[_0x162566(0x2e7)](),this['_maskElement']&&(this[_0x162566(0x325)][_0x162566(0x312)][_0x162566(0x17b)]=_0x162566(0x24e));}[_0x45413a(0x1ad)](){const _0x34ba1f=_0x45413a;this['_maskElement']&&(this[_0x34ba1f(0x325)]['style'][_0x34ba1f(0x17b)]=_0x34ba1f(0x210));}set[_0x45413a(0x1ce)](_0x182e12){const _0x42a4e1=_0x45413a;this[_0x42a4e1(0x1c5)]['next'](_0x182e12);}set[_0x45413a(0x161)](_0x3b9fb3){const _0x20c6aa=_0x45413a;_0x3b9fb3!==this['_currentVersion$'][_0x20c6aa(0x1bc)]&&this[_0x20c6aa(0x2d0)][_0x20c6aa(0x35b)](_0x3b9fb3);}get[_0x45413a(0x161)](){const _0x2fc438=_0x45413a;return this[_0x2fc438(0x2d0)]['value'];}set[_0x45413a(0x2b3)](_0x4e390f){const _0x2902be=_0x45413a;this[_0x2902be(0x183)][_0x2902be(0x35b)](_0x4e390f);}get[_0x45413a(0x2b3)](){const _0x2e48a4=_0x45413a;return this[_0x2e48a4(0x183)][_0x2e48a4(0x1bc)];}get[_0x45413a(0x1d7)](){return this['_canRevert'];}get[_0x45413a(0x2cc)](){const _0x232a02=_0x45413a;return this[_0x232a02(0x2e0)][_0x232a02(0x1bc)];}},_0x366d95[_0x45413a(0x31b)]=_0x35dd4c([_0x44615a(0x0,_0x57246a['IMessageService']),_0x44615a(0x1,_0x57246a[_0x45413a(0x157)]),_0x44615a(0x2,_0x182995['Inject'](_0x182995[_0x45413a(0x1b9)])),_0x44615a(0x3,_0x182995[_0x45413a(0x211)](_0x3f6416))],_0x366d95[_0x45413a(0x31b)]);var _0x35eb9f=function(){const _0x32a747=_0x45413a;return _0x35eb9f=Object[_0x32a747(0x28f)]||function(_0x45aa2e){const _0x32634d=_0x32a747;for(var _0x3d46d4,_0x2f4b5a=0x1,_0x264de3=arguments[_0x32634d(0x239)];_0x2f4b5a<_0x264de3;_0x2f4b5a++){_0x3d46d4=arguments[_0x2f4b5a];for(var _0x53ef2e in _0x3d46d4)Object['prototype'][_0x32634d(0x1a0)][_0x32634d(0x1b3)](_0x3d46d4,_0x53ef2e)&&(_0x45aa2e[_0x53ef2e]=_0x3d46d4[_0x53ef2e]);}return _0x45aa2e;},_0x35eb9f['apply'](this,arguments);},_0x4d8c2f=function(_0x22103f,_0x1e0652){const _0x490021=_0x45413a;var _0x4f4b3a={};for(var _0x51a284 in _0x22103f)Object[_0x490021(0x2b0)][_0x490021(0x1a0)]['call'](_0x22103f,_0x51a284)&&_0x1e0652['indexOf'](_0x51a284)<0x0&&(_0x4f4b3a[_0x51a284]=_0x22103f[_0x51a284]);if(_0x22103f!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x5dac76=0x0,_0x51a284=Object[_0x490021(0x21f)](_0x22103f);_0x5dac76<_0x51a284[_0x490021(0x239)];_0x5dac76++)_0x1e0652[_0x490021(0x292)](_0x51a284[_0x5dac76])<0x0&&Object['prototype'][_0x490021(0x1ff)]['call'](_0x22103f,_0x51a284[_0x5dac76])&&(_0x4f4b3a[_0x51a284[_0x5dac76]]=_0x22103f[_0x51a284[_0x5dac76]]);}return _0x4f4b3a;},_0x4eec05=_0x2e6057[_0x45413a(0x250)](function(_0x497f06,_0x390d35){const _0x1e87c3=_0x45413a;var _0x3aeb64=_0x497f06[_0x1e87c3(0x1b6)],_0x1ba9df=_0x497f06['id'],_0xc47542=_0x497f06[_0x1e87c3(0x36b)],_0x23b2b1=_0x497f06[_0x1e87c3(0x230)],_0x4dea6d=_0x4d8c2f(_0x497f06,[_0x1e87c3(0x1b6),'id','className',_0x1e87c3(0x230)]),_0x218762=_0x1e87c3(0x362)[_0x1e87c3(0x227)](_0x1ba9df,'\x20')[_0x1e87c3(0x227)](_0xc47542||'')[_0x1e87c3(0x340)](),_0x2872f1=_0x2e6057[_0x1e87c3(0x24f)]('_'['concat'](_0x40735f()));return _0xdcdad0(_0x3aeb64,''[_0x1e87c3(0x227)](_0x1ba9df),{'defIds':_0x3aeb64[_0x1e87c3(0x367)],'idSuffix':_0x2872f1[_0x1e87c3(0x198)]},_0x35eb9f({'ref':_0x390d35,'className':_0x218762},_0x4dea6d),_0x23b2b1);});function _0xdcdad0(_0x452d79,_0x53ae63,_0x460a4b,_0x1f7396,_0x33e5f1){const _0x5b6f1d=_0x45413a;return _0x2e6057[_0x5b6f1d(0x365)](_0x452d79[_0x5b6f1d(0x1de)],_0x35eb9f(_0x35eb9f({'key':_0x53ae63},_0x36d160(_0x452d79,_0x460a4b,_0x33e5f1)),_0x1f7396),(_0x2b5aa3(_0x452d79,_0x460a4b)['children']||[])[_0x5b6f1d(0x331)](function(_0x380791,_0x4758f1){const _0x4b54bc=_0x5b6f1d;return _0xdcdad0(_0x380791,''[_0x4b54bc(0x227)](_0x53ae63,'-')[_0x4b54bc(0x227)](_0x452d79[_0x4b54bc(0x1de)],'-')[_0x4b54bc(0x227)](_0x4758f1),_0x460a4b,void 0x0,_0x33e5f1);}));}function _0x36d160(_0x20fede,_0xf53d23,_0x2fefed){const _0x2f8ab5=_0x45413a;var _0x6fe0ed=_0x35eb9f({},_0x20fede[_0x2f8ab5(0x1da)]);_0x2fefed!=null&&_0x2fefed[_0x2f8ab5(0x185)]&&_0x6fe0ed['fill']==='colorChannel1'&&(_0x6fe0ed[_0x2f8ab5(0x23d)]=_0x2fefed[_0x2f8ab5(0x185)]);var _0x2b9b91=_0xf53d23['defIds'];return!_0x2b9b91||_0x2b9b91[_0x2f8ab5(0x239)]===0x0||(_0x20fede[_0x2f8ab5(0x1de)]==='use'&&_0x6fe0ed[_0x2f8ab5(0x1f2)]&&(_0x6fe0ed[_0x2f8ab5(0x1f2)]=_0x6fe0ed['xlink:href']+_0xf53d23[_0x2f8ab5(0x234)]),Object['entries'](_0x6fe0ed)['forEach'](function(_0x2310de){const _0x48ea26=_0x2f8ab5;var _0x1e8b6a=_0x2310de[0x0],_0x1e089d=_0x2310de[0x1];typeof _0x1e089d=='string'&&(_0x6fe0ed[_0x1e8b6a]=_0x1e089d[_0x48ea26(0x184)](/url\(#(.*)\)/,'url(#$1'['concat'](_0xf53d23[_0x48ea26(0x234)],')')));})),_0x6fe0ed;}function _0x2b5aa3(_0x4f9546,_0x2c298f){const _0x4030c9=_0x45413a;var _0x192ded,_0x84efd1=_0x2c298f[_0x4030c9(0x367)];return!_0x84efd1||_0x84efd1[_0x4030c9(0x239)]===0x0?_0x4f9546:_0x4f9546[_0x4030c9(0x1de)]===_0x4030c9(0x174)&&(!((_0x192ded=_0x4f9546['children'])===null||_0x192ded===void 0x0)&&_0x192ded['length'])?_0x35eb9f(_0x35eb9f({},_0x4f9546),{'children':_0x4f9546[_0x4030c9(0x158)][_0x4030c9(0x331)](function(_0x5781c1){const _0x5d54c4=_0x4030c9;return typeof _0x5781c1[_0x5d54c4(0x1da)]['id']==_0x5d54c4(0x1e5)&&_0x84efd1&&_0x84efd1['indexOf'](_0x5781c1[_0x5d54c4(0x1da)]['id'])>-0x1?_0x35eb9f(_0x35eb9f({},_0x5781c1),{'attrs':_0x35eb9f(_0x35eb9f({},_0x5781c1[_0x5d54c4(0x1da)]),{'id':_0x5781c1[_0x5d54c4(0x1da)]['id']+_0x2c298f[_0x5d54c4(0x234)]})}):_0x5781c1;})}):_0x4f9546;}function _0x40735f(){const _0x2287a2=_0x45413a;return Math[_0x2287a2(0x168)]()[_0x2287a2(0x2de)](0x24)[_0x2287a2(0x2ee)](0x2,0x8);}_0x4eec05[_0x45413a(0x1aa)]='UniverIcon';var _0x3229e5={'tag':'svg','attrs':{'fill':_0x45413a(0x210),'viewBox':_0x45413a(0x265),'width':'1em','height':_0x45413a(0x36d)},'children':[{'tag':_0x45413a(0x245),'attrs':{'fill':'currentColor','d':_0x45413a(0x22b)}}]},_0x583f56=_0x2e6057[_0x45413a(0x250)](function(_0x4740ea,_0x52c4f2){const _0x413ac4=_0x45413a;return _0x2e6057[_0x413ac4(0x365)](_0x4eec05,Object['assign']({},_0x4740ea,{'id':_0x413ac4(0x334),'ref':_0x52c4f2,'icon':_0x3229e5}));});_0x583f56[_0x45413a(0x1aa)]=_0x45413a(0x182);var _0x25583b={'tag':_0x45413a(0x21a),'attrs':{'fill':_0x45413a(0x210),'viewBox':_0x45413a(0x265),'width':_0x45413a(0x36d),'height':_0x45413a(0x36d)},'children':[{'tag':_0x45413a(0x245),'attrs':{'fill':_0x45413a(0x185),'d':_0x45413a(0x220),'fillRule':_0x45413a(0x1c1),'clipRule':'evenodd'}},{'tag':_0x45413a(0x245),'attrs':{'fill':_0x45413a(0x197),'d':_0x45413a(0x307),'fillRule':_0x45413a(0x1c1),'clipRule':_0x45413a(0x1c1)}}]},_0x2f3c40=_0x2e6057[_0x45413a(0x250)](function(_0x1a6718,_0xc9fe2b){const _0x27ccb4=_0x45413a;return _0x2e6057[_0x27ccb4(0x365)](_0x4eec05,Object[_0x27ccb4(0x28f)]({},_0x1a6718,{'id':'loading','ref':_0xc9fe2b,'icon':_0x25583b}));});_0x2f3c40[_0x45413a(0x1aa)]=_0x45413a(0x2f3);var _0x5de157={'tag':'svg','attrs':{'fill':'none','viewBox':_0x45413a(0x2f1),'width':_0x45413a(0x36d),'height':_0x45413a(0x36d)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x45413a(0x1d2)},'children':[{'tag':_0x45413a(0x245),'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':_0x45413a(0x23e),'fillRule':'evenodd','clipRule':'evenodd'}}]},{'tag':_0x45413a(0x174),'attrs':{},'children':[{'tag':_0x45413a(0x2ff),'attrs':{'id':_0x45413a(0x1c7)},'children':[{'tag':_0x45413a(0x224),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x45413a(0x35d),'rx':0x4}}]}]}],'defIds':['restore-single_clip0_1247_2']},_0x581e1f=_0x2e6057['forwardRef'](function(_0x4ef157,_0x188020){const _0x19a205=_0x45413a;return _0x2e6057['createElement'](_0x4eec05,Object[_0x19a205(0x28f)]({},_0x4ef157,{'id':'restore-single','ref':_0x188020,'icon':_0x5de157}));});_0x581e1f['displayName']=_0x45413a(0x342);const _0x6fdb5f={'versionListPanel':_0x45413a(0x327),'versionListPanelContent':_0x45413a(0x1c9),'versionDate':_0x45413a(0x1d6),'versionItem':'univer-version-item','versionItemHeader':_0x45413a(0x2c0),'versionItemHeaderExpand':'univer-version-item-header-expand','versionItemHeaderTime':'univer-version-item-header-time','versionItemHeaderTimeTag':_0x45413a(0x1d4),'versionItemHeaderRevert':_0x45413a(0x20a),'versionItemContent':_0x45413a(0x344),'active':_0x45413a(0x17d),'historyViewHeader':'univer-history-view-header','historyViewHeaderBack':_0x45413a(0x272),'historyViewHeaderBackText':'univer-history-view-header-back-text','historyViewHeaderRevert':_0x45413a(0x16d),'versionListLoading':_0x45413a(0x192),'versionListLoadingIcon':_0x45413a(0x1ee),'loadingSpin':_0x45413a(0x200)};function _0x35ce02(){const _0x4edb95=_0x45413a;var _0x199783;const _0x2170d0=_0x182995['useDependency'](_0x366d95[_0x4edb95(0x31b)]),_0x41acc9=_0x182995[_0x4edb95(0x31c)](_0x182995[_0x4edb95(0x1b9)]),_0x510f16=_0x2e6057[_0x4edb95(0x34b)](()=>{const _0x4f7a8c=_0x4edb95;_0x2170d0[_0x4f7a8c(0x1ce)]=_0x4ad37b[_0x4f7a8c(0x2fa)];},[_0x2170d0]),_0xf501ba=_0x2e6057[_0x4edb95(0x34b)](()=>{const _0x1f56a4=_0x4edb95;_0x2170d0[_0x1f56a4(0x2f4)]();},[_0x2170d0]),_0x4b8e48=_0x57246a[_0x4edb95(0x202)](_0x2170d0['currentVersion$']),_0x2fc654=_0x57246a[_0x4edb95(0x202)](_0x2170d0[_0x4edb95(0x280)]),_0x370df9=!(_0x4b8e48===((_0x199783=_0x2fc654==null?void 0x0:_0x2fc654[0x0])==null?void 0x0:_0x199783['id']))&&_0x2170d0[_0x4edb95(0x1d7)];return _0x2e6057[_0x4edb95(0x365)]('div',{'className':_0x6fdb5f[_0x4edb95(0x348)]},_0x2e6057['createElement'](_0x4edb95(0x2c5),{'onClick':_0x510f16,'className':_0x6fdb5f[_0x4edb95(0x24a)]},_0x2e6057[_0x4edb95(0x365)](_0x583f56,{'style':{'fontSize':_0x4edb95(0x24b)}})),_0x2e6057['createElement'](_0x4edb95(0x2c5),{'className':_0x6fdb5f[_0x4edb95(0x2ce)]},_0x370df9&&_0x2e6057[_0x4edb95(0x365)](_0x18ae4f[_0x4edb95(0x155)],{'type':_0x4edb95(0x32c),'onClick':_0xf501ba},_0x41acc9['t'](_0x4edb95(0x326)))));}var _0x2abcc5=Object['defineProperty'],_0x3c1e93=Object[_0x45413a(0x1b8)],_0x3ff435=(_0x32e825,_0x4e5d1a,_0x5b1d46,_0x3d2387)=>{for(var _0x4ac9d2=_0x3d2387>0x1?void 0x0:_0x3d2387?_0x3c1e93(_0x4e5d1a,_0x5b1d46):_0x4e5d1a,_0x1d31c8=_0x32e825['length']-0x1,_0x5a09bf;_0x1d31c8>=0x0;_0x1d31c8--)(_0x5a09bf=_0x32e825[_0x1d31c8])&&(_0x4ac9d2=(_0x3d2387?_0x5a09bf(_0x4e5d1a,_0x5b1d46,_0x4ac9d2):_0x5a09bf(_0x4ac9d2))||_0x4ac9d2);return _0x3d2387&&_0x4ac9d2&&_0x2abcc5(_0x4e5d1a,_0x5b1d46,_0x4ac9d2),_0x4ac9d2;},_0x17e8a4=(_0x3e557b,_0x17e857)=>(_0x483013,_0x50bf9c)=>_0x17e857(_0x483013,_0x50bf9c,_0x3e557b);let _0x51d349=class extends _0x182995[_0x45413a(0x15d)]{constructor(_0x95aa95,_0x3fb52c,_0x2b6833,_0x438f13,_0x16a442,_0x11a11b){const _0x2ceae6=_0x45413a;super(),_0x3dbc1d(this,_0x2ceae6(0x347)),(this[_0x2ceae6(0x21e)]=_0x95aa95,this['_uiPartsService']=_0x3fb52c,this[_0x2ceae6(0x25e)]=_0x2b6833,this[_0x2ceae6(0x271)]=_0x438f13,this['_historyManagerService']=_0x16a442,this[_0x2ceae6(0x36e)]=_0x11a11b,this[_0x2ceae6(0x1c3)]());}['_init'](){const _0x1f05a4=_0x45413a;this[_0x1f05a4(0x2ac)](this[_0x1f05a4(0x28a)][_0x1f05a4(0x186)][_0x1f05a4(0x28b)](_0x4086c1=>{const _0x3c09ae=_0x1f05a4;_0x4086c1&&this[_0x3c09ae(0x28a)][_0x3c09ae(0x317)](_0x4086c1);})),this['disposeWithMe'](this['_permissionService'][_0x1f05a4(0x1ab)][_0x1f05a4(0x28b)](_0x4678ce=>{const _0x512141=_0x1f05a4,_0x1291aa=this[_0x512141(0x28a)]['unitId'];_0x1291aa&&(_0x4678ce['subType']===_0x116373[_0x512141(0x171)]&&_0x4678ce[_0x512141(0x1bc)]===!0x0&&this[_0x512141(0x21e)][_0x512141(0x275)](new _0x55e738[(_0x512141(0x35f))](_0x1291aa)['id'],!0x1),_0x4678ce['subType']===_0x116373[_0x512141(0x374)]&&_0x4678ce[_0x512141(0x1bc)]===!0x0&&this[_0x512141(0x21e)]['updatePermissionPoint'](new _0x55e738['WorkbookRenameSheetPermission'](_0x1291aa)['id'],!0x1),_0x4678ce[_0x512141(0x341)]===_0x116373[_0x512141(0x1eb)]&&_0x4678ce[_0x512141(0x1bc)]===!0x0&&this[_0x512141(0x21e)]['updatePermissionPoint'](new _0x55e738['WorkbookMoveSheetPermission'](_0x1291aa)['id'],!0x1),_0x4678ce[_0x512141(0x341)]===_0x116373['HideSheet']&&_0x4678ce['value']===!0x0&&this['_permissionService'][_0x512141(0x275)](new _0x55e738[(_0x512141(0x351))](_0x1291aa)['id'],!0x1),_0x4678ce[_0x512141(0x341)]===_0x116373['Comment']&&_0x4678ce[_0x512141(0x1bc)]===!0x0&&this[_0x512141(0x21e)][_0x512141(0x275)](new _0x55e738['WorkbookEditablePermission'](_0x1291aa)['id'],!0x1),_0x4678ce[_0x512141(0x341)]===_0x116373[_0x512141(0x1af)]&&_0x4678ce[_0x512141(0x1bc)]===!0x0&&this[_0x512141(0x21e)][_0x512141(0x275)](new _0x55e738[(_0x512141(0x35f))](_0x1291aa)['id'],!0x1));})),this[_0x1f05a4(0x2ac)](this['_uiPartsService'][_0x1f05a4(0x25c)](_0x57246a[_0x1f05a4(0x2aa)][_0x1f05a4(0x1f3)],()=>_0x182995[_0x1f05a4(0x223)](_0x35ce02,this[_0x1f05a4(0x36e)]))),this[_0x1f05a4(0x2ac)](this[_0x1f05a4(0x28a)][_0x1f05a4(0x2f9)]['subscribe'](_0x5587ac=>{const _0xcc213f=_0x1f05a4;var _0x223dbb;_0x5587ac===_0x3119ac[_0xcc213f(0x2f3)]&&(this[_0xcc213f(0x28a)][_0xcc213f(0x2a2)](),this[_0xcc213f(0x347)]=this[_0xcc213f(0x25e)]['show']({'type':_0x18ae4f[_0xcc213f(0x313)]['Info'],'content':this[_0xcc213f(0x271)]['t'](_0xcc213f(0x254))})),_0x5587ac===_0x3119ac[_0xcc213f(0x1f7)]&&((_0x223dbb=this['_loadingMessage'])==null||_0x223dbb['dispose'](),this[_0xcc213f(0x28a)][_0xcc213f(0x1ad)]());}));}};_0x51d349=_0x3ff435([_0x17e8a4(0x0,_0x182995[_0x45413a(0x2b2)]),_0x17e8a4(0x1,_0x57246a[_0x45413a(0x222)]),_0x17e8a4(0x2,_0x57246a['IMessageService']),_0x17e8a4(0x3,_0x182995['Inject'](_0x182995['LocaleService'])),_0x17e8a4(0x4,_0x182995[_0x45413a(0x211)](_0x366d95[_0x45413a(0x31b)])),_0x17e8a4(0x5,_0x182995[_0x45413a(0x211)](_0x182995[_0x45413a(0x30a)]))],_0x51d349);var _0x2ee868=Object[_0x45413a(0x203)],_0x130035=Object[_0x45413a(0x1b8)],_0xf8ca8e=(_0x373aa8,_0x38a2f5,_0x3f1941,_0x13fd6b)=>{const _0xb4311=_0x45413a;for(var _0x15788b=_0x13fd6b>0x1?void 0x0:_0x13fd6b?_0x130035(_0x38a2f5,_0x3f1941):_0x38a2f5,_0x12dd26=_0x373aa8[_0xb4311(0x239)]-0x1,_0x19aea0;_0x12dd26>=0x0;_0x12dd26--)(_0x19aea0=_0x373aa8[_0x12dd26])&&(_0x15788b=(_0x13fd6b?_0x19aea0(_0x38a2f5,_0x3f1941,_0x15788b):_0x19aea0(_0x15788b))||_0x15788b);return _0x13fd6b&&_0x15788b&&_0x2ee868(_0x38a2f5,_0x3f1941,_0x15788b),_0x15788b;},_0x21b699=(_0x39ce3e,_0x56aef7)=>(_0x2ac3f5,_0x30f7de)=>_0x56aef7(_0x2ac3f5,_0x30f7de,_0x39ce3e);let _0x3c8fea=class extends _0x182995['Disposable']{constructor(_0x300b6b,_0x67457e,_0x5f0b60){const _0x23c888=_0x45413a;super(),_0x3dbc1d(this,_0x23c888(0x32a),new Map()),_0x3dbc1d(this,_0x23c888(0x1a3),new _0x423942[(_0x23c888(0x30c))]({'ranges':new Map(),'active':null})),_0x3dbc1d(this,_0x23c888(0x264),this['_currentVersionDiff$'][_0x23c888(0x266)]()),(this[_0x23c888(0x28a)]=_0x300b6b,this[_0x23c888(0x228)]=_0x67457e,this[_0x23c888(0x357)]=_0x5f0b60,this[_0x23c888(0x1c3)]());}[_0x45413a(0x1c3)](){const _0x540288=_0x45413a;this['_diffRangesMap']=new Map(),this[_0x540288(0x2ac)](this[_0x540288(0x28a)][_0x540288(0x260)]['subscribe'](_0x5b820d=>{const _0x57bde8=_0x540288;_0x5b820d&&!this[_0x57bde8(0x32a)][_0x57bde8(0x2fb)](_0x5b820d)&&this[_0x57bde8(0x32a)][_0x57bde8(0x1e4)](_0x5b820d,new Map());})),this[_0x540288(0x2ac)](this[_0x540288(0x28a)][_0x540288(0x186)]['subscribe'](async _0x215bf6=>{const _0x2a170a=_0x540288;var _0xa637b6;_0x215bf6&&(await this[_0x2a170a(0x256)](_0x215bf6),this[_0x2a170a(0x1a3)][_0x2a170a(0x35b)](((_0xa637b6=this[_0x2a170a(0x32a)][_0x2a170a(0x15c)](this['_historyManagerService'][_0x2a170a(0x2b3)]))==null?void 0x0:_0xa637b6[_0x2a170a(0x15c)](_0x215bf6))||{'ranges':new Map(),'active':null}));}));}async[_0x45413a(0x256)](_0x570404){const _0x128896=_0x45413a;var _0x13ca11,_0x1c2fad;const _0x57bfdf=this['_historyManagerService']['getVersion'](_0x570404),_0x5aa84d=this[_0x128896(0x28a)]['unitId'];if(!_0x57bfdf||!_0x5aa84d)return;const _0x46c953=this[_0x128896(0x32a)][_0x128896(0x15c)](_0x5aa84d);if(_0x46c953||this[_0x128896(0x32a)][_0x128896(0x1e4)](_0x5aa84d,new Map()),(_0x13ca11=this[_0x128896(0x32a)][_0x128896(0x15c)](_0x5aa84d))!=null&&_0x13ca11[_0x128896(0x2fb)](_0x57bfdf['id']))return;const {startRev:_0x53b32e,endRev:_0x3036ab}=_0x57bfdf;if(_0x53b32e===0x1){_0x46c953[_0x128896(0x1e4)](_0x57bfdf['id'],{'ranges':new Map(),'active':null});return;}const _0xb03ad3=_0x53b32e-0x1,_0x238d72=_0x3036ab,_0x25ef4b=await this[_0x128896(0x357)]['fetchMissingChangesets']({},{'unitID':_0x5aa84d,'from':_0xb03ad3,'to':_0x238d72,'type':_0x42fb76['UNIVER_SHEET']});if(((_0x1c2fad=_0x25ef4b[_0x128896(0x35c)])==null?void 0x0:_0x1c2fad[_0x128896(0x30e)])===_0x3b30ee['OK']){const _0x52dd09=_0x25ef4b[_0x128896(0x2fe)][_0x128896(0x331)](_0x51cf97['parseProtocolChangeset'])[_0x128896(0x331)](_0x5175b3=>_0x5175b3[_0x128896(0x248)][_0x128896(0x331)](_0x58f912=>({..._0x58f912,'params':{..._0x58f912[_0x128896(0x296)],'memberId':_0x5175b3['userID']}})))['flat'](),_0x2ddbac=this[_0x128896(0x2b5)](_0x52dd09),_0x4f0cdd=this['_getActiveSubUnitId'](_0x52dd09),_0x3d2b92=this[_0x128896(0x32b)](_0x2ddbac);_0x46c953[_0x128896(0x1e4)](_0x57bfdf['id'],{'ranges':_0x3d2b92,'active':_0x4f0cdd});}}[_0x45413a(0x2b5)](_0x1ff9fe){const _0x301df7=_0x45413a;let _0x3718f5=[];for(let _0x53f8ae=0x0;_0x53f8ae<_0x1ff9fe[_0x301df7(0x239)];_0x53f8ae++){const _0x5e40fa=_0x1ff9fe[_0x53f8ae];if(_0x3718f5[_0x301df7(0x26d)](_0x5e40fa),_0x53f8ae!==_0x1ff9fe['length']-0x1){const _0x558e9f=_0x1ff9fe[_0x53f8ae+0x1],_0x42c844=this['_transformService'][_0x301df7(0x1fa)](_0x3718f5,[_0x558e9f]);_0x51cf97[_0x301df7(0x34e)](_0x42c844)?_0x3718f5=_0x42c844[_0x301df7(0x336)]:_0x3718f5=[];}}return _0x3718f5;}[_0x45413a(0x35e)](_0x275413){const _0x27f382=_0x45413a;let _0x498b3d=[];return _0x275413['forEach'](_0x926189=>{const _0x4fb459=_0x110a;if(_0x926189['id']===_0x55e738[_0x4fb459(0x15f)]['id']){const _0x50387d=_0x926189[_0x4fb459(0x296)];_0x498b3d[_0x4fb459(0x26d)](_0x50387d[_0x4fb459(0x1a6)]['id']);}else{if(_0x926189['id']===_0x55e738[_0x4fb459(0x330)]['id']){const _0x1b55eb=_0x926189['params'];_0x498b3d[_0x4fb459(0x239)]>0x0&&(_0x498b3d=_0x498b3d[_0x4fb459(0x18f)](_0x10443e=>_0x10443e!==_0x1b55eb[_0x4fb459(0x310)]));}else{if(_0x926189['id']===_0x55e738['SetWorksheetHideMutation']['id']){const _0xb1a10d=_0x926189['params'];_0xb1a10d[_0x4fb459(0x14e)]?_0x498b3d=_0x498b3d['filter'](_0x3f1163=>_0x3f1163!==_0xb1a10d['subUnitId']):_0x498b3d[_0x4fb459(0x26d)](_0xb1a10d[_0x4fb459(0x310)]);}else{const _0x20302a=_0x926189[_0x4fb459(0x296)];_0x20302a[_0x4fb459(0x310)]&&_0x498b3d[_0x4fb459(0x26d)](_0x20302a[_0x4fb459(0x310)]);}}}}),_0x498b3d['length']>0x0?_0x498b3d[_0x498b3d[_0x27f382(0x239)]-0x1]:null;}['_extractRanges'](_0xce9c73){const _0x1d1837=_0x45413a,_0x3ce828=new Map();return _0xce9c73[_0x1d1837(0x17e)](_0x3b4718=>{const _0x4c311d=_0x1d1837;var _0xa14e02,_0x25a927;const _0x393493=(_0xa14e02=_0x3b4718[_0x4c311d(0x296)])==null?void 0x0:_0xa14e02['memberId'];if(_0x393493){_0x3ce828['has'](_0x393493)||_0x3ce828[_0x4c311d(0x1e4)](_0x393493,[]);const _0xae6d00=this['_getRangesByMutation'](_0x3b4718);(_0x25a927=_0x3ce828[_0x4c311d(0x15c)](_0x393493))==null||_0x25a927[_0x4c311d(0x26d)](..._0xae6d00);}}),_0x3ce828[_0x1d1837(0x17e)]((_0x5123e7,_0x23da4b)=>{const _0x25a941=_0x1d1837;_0x3ce828['set'](_0x23da4b,this[_0x25a941(0x2fc)](_0x5123e7));}),_0x3ce828;}[_0x45413a(0x1d3)](_0x9b3deb){const _0x5b59f5=_0x45413a;switch(_0x9b3deb['id']){case _0x55e738[_0x5b59f5(0x276)]['id']:{const _0x3cc3e3=_0x9b3deb[_0x5b59f5(0x296)];return _0x3cc3e3[_0x5b59f5(0x2a8)]['map'](_0x4aa9f6=>_0x4aa9f6['ranges'][_0x5b59f5(0x331)](_0x29a36b=>({'range':_0x29a36b,'unitId':_0x3cc3e3['unitId'],'subUnitId':_0x3cc3e3['subUnitId']})))['flat']();}case _0x55e738[_0x5b59f5(0x28d)]['id']:{const _0x3d13d0=_0x9b3deb[_0x5b59f5(0x296)];return _0x3d13d0['ranges'][_0x5b59f5(0x331)](_0x11a7a1=>({'range':_0x11a7a1,'unitId':_0x3d13d0['unitId'],'subUnitId':_0x3d13d0[_0x5b59f5(0x310)]}));}case _0x55e738[_0x5b59f5(0x2e8)]['id']:{const _0x33d717=_0x9b3deb[_0x5b59f5(0x296)];return[{'range':_0x33d717['range'],'unitId':_0x33d717['unitId'],'subUnitId':_0x33d717[_0x5b59f5(0x310)]}];}case _0x55e738[_0x5b59f5(0x165)]['id']:{const _0x4bbd25=_0x9b3deb[_0x5b59f5(0x296)];return[{'range':_0x4bbd25[_0x5b59f5(0x289)],'unitId':_0x4bbd25['unitId'],'subUnitId':_0x4bbd25['subUnitId']}];}case _0x55e738[_0x5b59f5(0x162)]['id']:{const _0x4f9956=_0x9b3deb[_0x5b59f5(0x296)],{from:_0x5ecfb1,to:_0x2efb5d,unitId:_0x2b45ec}=_0x4f9956;return[{'range':_0x1dab29(_0x5ecfb1[_0x5b59f5(0x1bc)]),'unitId':_0x2b45ec,'subUnitId':_0x5ecfb1[_0x5b59f5(0x310)]},{'range':_0x1dab29(_0x2efb5d[_0x5b59f5(0x1bc)]),'unitId':_0x2b45ec,'subUnitId':_0x2efb5d[_0x5b59f5(0x310)]}];}case _0x55e738[_0x5b59f5(0x154)]['id']:{const _0x31f2ff=_0x9b3deb[_0x5b59f5(0x296)],{unitId:_0x49fc0c,subUnitId:_0x460ed9,sourceRange:_0x44c4cc,targetRange:_0x2e700c}=_0x31f2ff,_0xca4ee0=_0x44c4cc[_0x5b59f5(0x1c2)]-_0x44c4cc[_0x5b59f5(0x2fd)]+0x1;return[{'range':_0x2e700c[_0x5b59f5(0x2fd)]<=_0x44c4cc[_0x5b59f5(0x2fd)]?_0x2e700c:{..._0x2e700c,'startRow':_0x2e700c[_0x5b59f5(0x2fd)]-_0xca4ee0,'endRow':_0x2e700c[_0x5b59f5(0x1c2)]-_0xca4ee0},'unitId':_0x49fc0c,'subUnitId':_0x460ed9}];}case _0x55e738[_0x5b59f5(0x270)]['id']:{const _0x74251f=_0x9b3deb[_0x5b59f5(0x296)],{unitId:_0x54e006,subUnitId:_0xab4cd9,sourceRange:_0x227345,targetRange:_0x8f3b1a}=_0x74251f,_0x148cf4=_0x227345['endColumn']-_0x227345['startColumn']+0x1;return[{'range':_0x8f3b1a['startColumn']<=_0x227345['startColumn']?_0x8f3b1a:{..._0x8f3b1a,'startColumn':_0x8f3b1a[_0x5b59f5(0x309)]-_0x148cf4,'endColumn':_0x8f3b1a['endColumn']-_0x148cf4},'unitId':_0x54e006,'subUnitId':_0xab4cd9}];}case _0x55e738['SetNumfmtMutation']['id']:{const _0xef0ce6=_0x9b3deb['params'],{values:_0x172fba,unitId:_0x2ed22f,subUnitId:_0x57fb23}=_0xef0ce6;return Object['values'](_0x172fba)['map'](_0x55777d=>_0x55777d[_0x5b59f5(0x28c)][_0x5b59f5(0x331)](_0x148b33=>({'range':_0x148b33,'unitId':_0x2ed22f,'subUnitId':_0x57fb23})))[_0x5b59f5(0x1e1)]();}case _0x55e738[_0x5b59f5(0x34d)]['id']:{const _0x39001e=_0x9b3deb[_0x5b59f5(0x296)],{ranges:_0x340d34,unitId:_0x2b55ad,subUnitId:_0x46ecd2}=_0x39001e;return _0x340d34[_0x5b59f5(0x331)](_0x3b447c=>({'range':_0x3b447c,'unitId':_0x2b55ad,'subUnitId':_0x46ecd2}));}case _0x55e738[_0x5b59f5(0x2c3)]['id']:{const _0x69d7bb=_0x9b3deb['params'],{unitId:_0x46f71c,subUnitId:_0x124c45,range:_0x5ab51f}=_0x69d7bb;return[{'range':_0x5ab51f,'unitId':_0x46f71c,'subUnitId':_0x124c45}];}case _0x55e738[_0x5b59f5(0x152)]['id']:{const _0x40e54e=_0x9b3deb['params'];return _0x40e54e[_0x5b59f5(0x2f2)][_0x5b59f5(0x28c)][_0x5b59f5(0x331)](_0x3705d7=>({'range':_0x3705d7,'unitId':_0x40e54e['unitId'],'subUnitId':_0x40e54e[_0x5b59f5(0x310)]}));}case _0x55e738['SetRangeValuesMutation']['id']:{const _0x79d149=_0x9b3deb[_0x5b59f5(0x296)];return _0x79d149['cellValue']?_0x487ed4(_0x79d149[_0x5b59f5(0x371)])[_0x5b59f5(0x331)](_0x3e8ce4=>({'range':_0x3e8ce4,'unitId':_0x79d149['unitId'],'subUnitId':_0x79d149[_0x5b59f5(0x310)]})):[];}case _0x363e7f['SetSheetsFilterRangeMutation']['id']:{const _0x2f8477=_0x9b3deb[_0x5b59f5(0x296)];return[{'range':_0x2f8477[_0x5b59f5(0x289)],'unitId':_0x2f8477[_0x5b59f5(0x2b3)],'subUnitId':_0x2f8477[_0x5b59f5(0x310)]}];}case _0x63680b['AddDataValidationMutation']['id']:{const _0x55363a=_0x9b3deb[_0x5b59f5(0x296)];return(Array[_0x5b59f5(0x333)](_0x55363a[_0x5b59f5(0x2f2)])?_0x55363a['rule']:[_0x55363a[_0x5b59f5(0x2f2)]])[_0x5b59f5(0x331)](_0xa2fc18=>_0xa2fc18['ranges'][_0x5b59f5(0x331)](_0x44185e=>({'range':_0x44185e,'unitId':_0x55363a[_0x5b59f5(0x2b3)],'subUnitId':_0x55363a[_0x5b59f5(0x310)]})))[_0x5b59f5(0x1e1)]();}case _0x4d3ec1[_0x5b59f5(0x2d5)]['id']:{const _0x2c42c4=_0x9b3deb[_0x5b59f5(0x296)];return _0x2c42c4[_0x5b59f5(0x2f2)]['ranges'][_0x5b59f5(0x331)](_0x5dc662=>({'range':_0x5dc662,'unitId':_0x2c42c4[_0x5b59f5(0x2b3)],'subUnitId':_0x2c42c4[_0x5b59f5(0x310)]}));}default:return[];}}['_combineRanges'](_0x37b60e){const _0x45093e=_0x45413a;if(_0x37b60e[_0x45093e(0x239)]<=0x1)return _0x37b60e;const _0x3ae461=new Map();return _0x37b60e[_0x45093e(0x17e)](_0x526fdd=>{const _0x4f3ef5=_0x45093e;var _0x5be9bf;const {unitId:_0x44ad1b,subUnitId:_0x143c18}=_0x526fdd,_0xa8f07c=_0x44ad1b+'-'+_0x143c18;_0x3ae461[_0x4f3ef5(0x2fb)](_0xa8f07c)?(_0x5be9bf=_0x3ae461[_0x4f3ef5(0x15c)](_0xa8f07c))==null||_0x5be9bf[_0x4f3ef5(0x26d)](_0x526fdd):_0x3ae461[_0x4f3ef5(0x1e4)](_0xa8f07c,[_0x526fdd]);}),Array[_0x45093e(0x268)](_0x3ae461[_0x45093e(0x1ed)]())[_0x45093e(0x331)](_0x246196=>new _0x55e738[(_0x45093e(0x22d))]()[_0x45093e(0x1f6)](..._0x246196[_0x45093e(0x331)](_0x495224=>_0x495224[_0x45093e(0x289)]))['merge']()[_0x45093e(0x331)](_0x3660e5=>({'range':_0x3660e5,'unitId':_0x246196[0x0][_0x45093e(0x2b3)],'subUnitId':_0x246196[0x0][_0x45093e(0x310)]})))[_0x45093e(0x1e1)]();}};_0x3c8fea=_0xf8ca8e([_0x21b699(0x0,_0x182995['Inject'](_0x366d95[_0x45413a(0x31b)])),_0x21b699(0x1,_0x51cf97[_0x45413a(0x29f)]),_0x21b699(0x2,_0x51cf97[_0x45413a(0x2d2)])],_0x3c8fea);function _0x1dab29(_0x4486a5){const _0x35409c=_0x45413a;return new _0x182995['ObjectMatrix'](_0x4486a5)[_0x35409c(0x32f)]();}function _0x487ed4(_0x185d97){const _0x1e77d6=_0x45413a,_0xcb74a5=new _0x182995[(_0x1e77d6(0x229))](_0x185d97),_0x365e07=new _0x182995['ObjectMatrix']();return _0xcb74a5[_0x1e77d6(0x1f5)]((_0x5ac141,_0x1f9915)=>{const _0x38001d=_0x1e77d6;_0x365e07[_0x38001d(0x2cf)](_0x5ac141,_0x1f9915,0x1);}),_0x55e738[_0x1e77d6(0x242)](_0x365e07);}var _0x57a286=Object[_0x45413a(0x203)],_0xa7609e=Object[_0x45413a(0x1b8)],_0x381b5f=(_0x1c8424,_0x38610e,_0x2c22a7,_0x5db6d8)=>{for(var _0x2f6222=_0x5db6d8>0x1?void 0x0:_0x5db6d8?_0xa7609e(_0x38610e,_0x2c22a7):_0x38610e,_0x2d9cff=_0x1c8424['length']-0x1,_0xe08618;_0x2d9cff>=0x0;_0x2d9cff--)(_0xe08618=_0x1c8424[_0x2d9cff])&&(_0x2f6222=(_0x5db6d8?_0xe08618(_0x38610e,_0x2c22a7,_0x2f6222):_0xe08618(_0x2f6222))||_0x2f6222);return _0x5db6d8&&_0x2f6222&&_0x57a286(_0x38610e,_0x2c22a7,_0x2f6222),_0x2f6222;},_0x32f014=(_0x54f1e2,_0x43e9cb)=>(_0x2bd1bd,_0x36efb7)=>_0x43e9cb(_0x2bd1bd,_0x36efb7,_0x54f1e2);let _0x4d74e9=class extends _0x182995[_0x45413a(0x15d)]{constructor(_0x5849d5,_0x1deda3,_0x126cca,_0x558a20,_0x4ef445,_0xd906a4,_0x5d93c9){const _0xe2c79=_0x45413a;super(),_0x3dbc1d(this,_0xe2c79(0x2c2),new Set()),_0x3dbc1d(this,_0xe2c79(0x2b4),null),(this[_0xe2c79(0x2c6)]=_0x5849d5,this['_historyManagerService']=_0x1deda3,this[_0xe2c79(0x163)]=_0x126cca,this[_0xe2c79(0x1cc)]=_0x558a20,this[_0xe2c79(0x1fe)]=_0x4ef445,this[_0xe2c79(0x263)]=_0xd906a4,this[_0xe2c79(0x1e2)]=_0x5d93c9,this[_0xe2c79(0x1c3)]());}['_init'](){const _0xee1b20=_0x45413a;this[_0xee1b20(0x22a)](),this[_0xee1b20(0x178)]();}[_0x45413a(0x22a)](){const _0x40ca35=_0x45413a;this[_0x40ca35(0x2ac)](_0x423942['combineLatest']([this[_0x40ca35(0x28a)]['loadingState$'],this[_0x40ca35(0x263)][_0x40ca35(0x214)]])[_0x40ca35(0x288)](_0x423942[_0x40ca35(0x304)](([_0xfca6f4,_0x16311f])=>{const _0x1d91c9=_0x40ca35;if(_0xfca6f4===_0x3119ac[_0x1d91c9(0x1f7)]&&_0x16311f){const _0x3ab31c=_0x16311f['sheetId'];return this[_0x1d91c9(0x163)][_0x1d91c9(0x264)][_0x1d91c9(0x288)](_0x423942[_0x1d91c9(0x331)](_0x45a43c=>{const _0x4e5123=_0x1d91c9,_0x2fc6e7=new Map();return _0x45a43c[_0x4e5123(0x28c)][_0x4e5123(0x17e)]((_0x97d9d4,_0x52b0c7)=>{const _0x2c5a4c=_0x4e5123,_0x3f2cbc=_0x97d9d4[_0x2c5a4c(0x18f)](_0x15964e=>_0x15964e[_0x2c5a4c(0x310)]===_0x3ab31c);_0x2fc6e7['set'](_0x52b0c7,_0x3f2cbc);}),{'skeleton':_0x16311f,'diffs':_0x2fc6e7};}));}return _0x423942['of']({'skeleton':null,'diffs':new Map()});}))['subscribe'](({skeleton:_0x44ea5e,diffs:_0x300d13})=>{const _0x9dfe0b=_0x40ca35;this[_0x9dfe0b(0x311)](),_0x44ea5e&&this[_0x9dfe0b(0x2ad)](_0x44ea5e,_0x300d13);})),this[_0x40ca35(0x2ac)](this[_0x40ca35(0x263)][_0x40ca35(0x214)]['subscribe'](_0x483bcd=>{const _0x383a79=_0x40ca35;if(_0x483bcd==null)return;const {skeleton:_0x4c8ae6}=_0x483bcd,{scene:_0x95ab48}=this[_0x383a79(0x2c6)];_0x95ab48[_0x383a79(0x18b)][_0x383a79(0x314)](_0x182995[_0x383a79(0x31a)](_0xd6a9f2=>{const _0x25d1c7=_0x383a79;var _0x24f0b4,_0x3fffa5;const {offsetX:_0x551da5,offsetY:_0x237489}=_0xd6a9f2,{x:_0x46f198,y:_0x47ab54}=_0x95ab48['getRelativeToViewportCoord'](_0x1205a1['Vector2']['FromArray']([_0x551da5,_0x237489])),{scaleX:_0x4c82b4,scaleY:_0x5e6f3f}=_0x95ab48['getAncestorScale'](),_0x4673c1=_0x95ab48[_0x25d1c7(0x1d9)](_0xd54138[_0x25d1c7(0x20b)]['VIEW_MAIN']),_0x9cad7=_0x95ab48[_0x25d1c7(0x32e)](_0x1205a1[_0x25d1c7(0x1ae)][_0x25d1c7(0x1e8)]([_0x46f198,_0x47ab54]),_0x4673c1),_0x1b5c23=_0x4c8ae6[_0x25d1c7(0x215)](_0x551da5,_0x237489,_0x4c82b4,_0x5e6f3f,_0x9cad7);((_0x24f0b4=this[_0x25d1c7(0x2b4)])==null?void 0x0:_0x24f0b4['column'])===_0x1b5c23[_0x25d1c7(0x1f9)]&&((_0x3fffa5=this['_lastPointer'])==null?void 0x0:_0x3fffa5[_0x25d1c7(0x2a3)])===_0x1b5c23['row']||this[_0x25d1c7(0x2c2)]['forEach'](_0x4eb358=>{_0x4eb358['onMouseMove'](_0x1b5c23);});},0x64));}));}['_initActiveSwitch'](){const _0x3938c1=_0x45413a;this[_0x3938c1(0x2ac)](this['_historyManagerService'][_0x3938c1(0x2f9)][_0x3938c1(0x28b)](_0x11cdd2=>{const _0x1c4092=_0x3938c1,_0x4e134e=new _0x182995[(_0x1c4092(0x2df))]();return _0x11cdd2===_0x3119ac[_0x1c4092(0x1f7)]&&(_0x4e134e[_0x1c4092(0x2c1)](),_0x4e134e[_0x1c4092(0x1f6)](this[_0x1c4092(0x163)][_0x1c4092(0x264)][_0x1c4092(0x28b)](_0x12b7c9=>{const _0x29e99d=_0x1c4092;_0x12b7c9[_0x29e99d(0x301)]&&this[_0x29e99d(0x1e2)]['executeCommand'](_0x55e738[_0x29e99d(0x306)]['id'],{'unitId':this['_context']['unitId'],'subUnitId':_0x12b7c9[_0x29e99d(0x301)]});}))),()=>_0x4e134e['dispose']();}));}[_0x45413a(0x2ad)](_0x593c9e,_0x36a395){const _0x48660d=_0x45413a;var _0x389377;const _0x4b0f12=(_0x389377=this[_0x48660d(0x263)][_0x48660d(0x354)]())==null?void 0x0:_0x389377[_0x48660d(0x343)];if(!_0x4b0f12)return;this[_0x48660d(0x2c2)][_0x48660d(0x17e)](_0x4f5609=>{const _0x17c079=_0x48660d;_0x4f5609[_0x17c079(0x1a5)]();});const {scene:_0x18ad02}=this[_0x48660d(0x2c6)],_0x3fa19c=Array['from'](_0x36a395[_0x48660d(0x21c)]())[_0x48660d(0x331)](_0x56ba7e=>_0x36a395['get'](_0x56ba7e)[_0x48660d(0x331)](_0x4c4077=>{const _0x1cb56b=_0x48660d;var _0x9cc988;const {range:_0x4fb166,subUnitId:_0x2f1e2c,unitId:_0x30bfac}=_0x4c4077,{startColumn:_0x5c264e,startRow:_0x286fb2,endColumn:_0x56d9e7,endRow:_0x569538}=_0x4fb166,_0x18eb09=_0xd54138[_0x1cb56b(0x1f8)](_0x286fb2,_0x5c264e,_0x18ad02,_0x4b0f12),_0x5bc0a8=_0xd54138[_0x1cb56b(0x1f8)](_0x569538,_0x56d9e7,_0x18ad02,_0x4b0f12),{columnHeaderHeightAndMarginTop:_0x134794}=_0x4b0f12,{startX:_0x2d14cb,startY:_0x5505ad}=_0x18eb09,{endX:_0x14bf56,endY:_0x478059}=_0x5bc0a8,_0x4f8ef5=_0x14bf56-_0x2d14cb,_0x3886ca=_0x478059-_0x5505ad,_0x252503={'labelPosition':_0x5505ad-_0x134794>=0x14?_0x1cb56b(0x358):_0x1cb56b(0x1ca),'sheetID':_0x2f1e2c,'range':_0x4fb166,'color':_0x1cb56b(0x249),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x1cb56b(0x249),'name':((_0x9cc988=this[_0x1cb56b(0x28a)][_0x1cb56b(0x238)](_0x56ba7e))==null?void 0x0:_0x9cc988[_0x1cb56b(0x2cb)])||'','selection':_0x30bfac+'-'+_0x2f1e2c+'-'+_0x4fb166[_0x1cb56b(0x309)]+'-'+_0x4fb166['startRow']+'-'+_0x4fb166[_0x1cb56b(0x2eb)]+'-'+_0x4fb166[_0x1cb56b(0x1c2)],'left':_0x2d14cb,'top':_0x5505ad,'width':_0x4f8ef5,'height':_0x3886ca,'evented':!0x1,'zIndex':0x1};return new _0x35ed23['SheetCollabCursorShape']('',_0x252503);}))[_0x48660d(0x1e1)]();_0x18ad02[_0x48660d(0x2dc)](_0x3fa19c,0x1),this['_diffs']=new Set(_0x3fa19c);}[_0x45413a(0x311)](){const _0x14ea50=_0x45413a;var _0x16a11e;(_0x16a11e=this[_0x14ea50(0x2c2)])==null||_0x16a11e['forEach'](_0x106db2=>_0x106db2['dispose']());}[_0x45413a(0x188)](){const _0xe378f7=_0x45413a;return _0xd54138[_0xe378f7(0x19d)](this[_0xe378f7(0x1cc)],this['_renderManagerService']);}};_0x4d74e9=_0x381b5f([_0x32f014(0x1,_0x182995['Inject'](_0x366d95['HistoryManagerService'])),_0x32f014(0x2,_0x182995['Inject'](_0x3c8fea)),_0x32f014(0x3,_0x182995['IUniverInstanceService']),_0x32f014(0x4,_0x1205a1[_0x45413a(0x1a9)]),_0x32f014(0x5,_0x182995['Inject'](_0xd54138['SheetSkeletonManagerService'])),_0x32f014(0x6,_0x182995[_0x45413a(0x2a9)])],_0x4d74e9);function _0x5aab2e(_0x1dd7ab){const _0x13ac2=_0x45413a;var _0x4805e4,_0x3822a4,_0x1c0697='';if(typeof _0x1dd7ab=='string'||typeof _0x1dd7ab==_0x13ac2(0x2f7))_0x1c0697+=_0x1dd7ab;else{if(typeof _0x1dd7ab==_0x13ac2(0x181)){if(Array['isArray'](_0x1dd7ab)){var _0x1a9ad3=_0x1dd7ab[_0x13ac2(0x239)];for(_0x4805e4=0x0;_0x4805e4<_0x1a9ad3;_0x4805e4++)_0x1dd7ab[_0x4805e4]&&(_0x3822a4=_0x5aab2e(_0x1dd7ab[_0x4805e4]))&&(_0x1c0697&&(_0x1c0697+='\x20'),_0x1c0697+=_0x3822a4);}else{for(_0x3822a4 in _0x1dd7ab)_0x1dd7ab[_0x3822a4]&&(_0x1c0697&&(_0x1c0697+='\x20'),_0x1c0697+=_0x3822a4);}}}return _0x1c0697;}function _0x2660b2(){const _0x3dcffe=_0x45413a;for(var _0x1f8e2e,_0x5cff50,_0x3ca465=0x0,_0x19ec9a='',_0x1db00b=arguments[_0x3dcffe(0x239)];_0x3ca465<_0x1db00b;_0x3ca465++)(_0x1f8e2e=arguments[_0x3ca465])&&(_0x5cff50=_0x5aab2e(_0x1f8e2e))&&(_0x19ec9a&&(_0x19ec9a+='\x20'),_0x19ec9a+=_0x5cff50);return _0x19ec9a;}function _0x4c2d2e(){const _0x2ec7da=_0x45413a,_0x47b86c=_0x182995[_0x2ec7da(0x31c)](_0x366d95[_0x2ec7da(0x31b)]),_0x36142e=_0x57246a[_0x2ec7da(0x202)](_0x47b86c[_0x2ec7da(0x280)]),[_0x2fb27b,_0x3c4a88]=_0x2e6057[_0x2ec7da(0x2b7)](!0x1),_0x525e11=_0x29fd22(_0x36142e);return _0x36142e?_0x2e6057[_0x2ec7da(0x365)](_0x2ec7da(0x2c5),{'className':_0x6fdb5f[_0x2ec7da(0x2ae)]},_0x2e6057['createElement'](_0x2ec7da(0x2c5),{'className':_0x6fdb5f['versionListPanelContent']},_0x525e11[_0x2ec7da(0x331)]((_0x167e57,_0x53796b)=>_0x2e6057[_0x2ec7da(0x365)](_0x2e6057[_0x2ec7da(0x193)],{'key':_0x167e57[_0x2ec7da(0x169)]},_0x2e6057[_0x2ec7da(0x365)](_0xd01f41,{'date':_0x167e57['dateString']}),_0x167e57[_0x2ec7da(0x196)][_0x2ec7da(0x331)]((_0x15a539,_0x234528)=>_0x2e6057[_0x2ec7da(0x365)](_0x4040cd,{'key':_0x53796b+'-'+_0x234528,'index':[_0x53796b,_0x234528],'item':_0x15a539})))),_0x2fb27b&&_0x2e6057[_0x2ec7da(0x365)](_0x96275f,null))):_0x2e6057[_0x2ec7da(0x365)](_0x1c4bfa,null);}function _0x96275f(){const _0x59b43c=_0x45413a;return _0x2e6057[_0x59b43c(0x365)](_0x59b43c(0x2c5),{'className':_0x6fdb5f[_0x59b43c(0x329)]},_0x2e6057[_0x59b43c(0x365)](_0x2f3c40,{'className':_0x6fdb5f['versionListLoadingIcon']}));}function _0x1c4bfa(){const _0x37accb=_0x45413a;return _0x2e6057[_0x37accb(0x365)](_0x37accb(0x2c5),{'className':_0x2660b2(_0x6fdb5f['empty'],_0x37accb(0x363))},_0x2e6057['createElement'](_0x37accb(0x369),{'className':_0x2660b2(_0x6fdb5f[_0x37accb(0x195)],_0x37accb(0x1a8))},_0x2e6057[_0x37accb(0x365)](_0x2f3c40,{'className':'m-auto\x20animate-spin360'})));}function _0xd01f41(_0xa8cf0a){const _0x1d9bc7=_0x45413a,_0x1a6803=_0x182995[_0x1d9bc7(0x31c)](_0x182995[_0x1d9bc7(0x1b9)]),{date:_0x4b51ca}=_0xa8cf0a;return _0x2e6057[_0x1d9bc7(0x365)](_0x1d9bc7(0x2c5),{'className':_0x6fdb5f['versionDate']},_0x118c07(_0x4b51ca,_0x1a6803[_0x1d9bc7(0x2ca)]()));}function _0x4040cd(_0x568eac){const _0x61a042=_0x45413a,{item:_0x55093c,index:_0x3ff811}=_0x568eac,{time:_0x57e861,user:_0x6b5963}=_0x55093c,[_0x46ffa8,_0x240159]=_0x3ff811,_0x1f3525=_0x182995[_0x61a042(0x31c)](_0x366d95[_0x61a042(0x31b)]),_0x152283=_0x57246a['useObservable'](_0x1f3525[_0x61a042(0x186)],'',!0x0)===_0x55093c['id'],_0x54d13a=_0x46ffa8===0x0&&_0x240159===0x0,_0x15d68f=!_0x54d13a&&_0x1f3525[_0x61a042(0x1d7)],_0x35e1cc=_0x182995[_0x61a042(0x31c)](_0x182995['LocaleService']),_0x41bb5e=_0x35e1cc[_0x61a042(0x2ca)](),_0x31727e=_0x4ab3b7(_0x57e861,_0x41bb5e),_0x1eda7f=_0x35e1cc['t'](_0x61a042(0x33d)),_0x21c139=_0x2e6057['useCallback'](_0x10f1ca=>{const _0x1a374e=_0x61a042;_0x1f3525[_0x1a374e(0x2cc)]!==_0x3119ac['Loading']&&(_0x1f3525[_0x1a374e(0x161)]=_0x10f1ca);},[_0x1f3525]),_0x89ffa8=_0x2e6057[_0x61a042(0x34b)](_0x16f098=>{const _0x180162=_0x61a042;_0x1f3525[_0x180162(0x2f4)](_0x16f098);},[_0x1f3525]);return _0x2e6057[_0x61a042(0x365)](_0x61a042(0x2c5),{'className':_0x2660b2(_0x6fdb5f[_0x61a042(0x235)],{[_0x6fdb5f[_0x61a042(0x301)]]:_0x152283}),'onClick':()=>_0x21c139(_0x55093c['id'])},_0x2e6057[_0x61a042(0x365)]('div',{'className':_0x6fdb5f[_0x61a042(0x2a0)]},_0x2e6057['createElement']('div',{'className':_0x6fdb5f[_0x61a042(0x299)]}),_0x2e6057[_0x61a042(0x365)](_0x61a042(0x2c5),{'className':_0x6fdb5f[_0x61a042(0x1bf)]},_0x2e6057['createElement']('span',null,_0x31727e[_0x61a042(0x212)]),_0x54d13a&&_0x2e6057['createElement'](_0x61a042(0x369),{'className':_0x6fdb5f['versionItemHeaderTimeTag']},_0x1eda7f)),_0x2e6057['createElement']('div',null,_0x15d68f&&_0x2e6057[_0x61a042(0x365)](_0x18ae4f['Tooltip'],{'title':_0x35e1cc['t'](_0x61a042(0x194))},_0x2e6057[_0x61a042(0x365)](_0x61a042(0x2c5),{'onClick':_0x42a835=>{const _0x529fbe=_0x61a042;_0x42a835[_0x529fbe(0x1f4)](),_0x89ffa8(_0x55093c['id']);},'className':_0x6fdb5f[_0x61a042(0x316)]},_0x2e6057[_0x61a042(0x365)](_0x581e1f,null))))),_0x2e6057[_0x61a042(0x365)]('div',{'className':_0x6fdb5f['versionItemContent']},_0x150aa7(_0x55093c,_0x35e1cc)));}var _0x15385d=Object['defineProperty'],_0x5ef1df=Object[_0x45413a(0x1b8)],_0x2128b7=(_0x4b6446,_0x17df00,_0x101d2a,_0x39887a)=>{const _0xf120ec=_0x45413a;for(var _0x17bcce=_0x39887a>0x1?void 0x0:_0x39887a?_0x5ef1df(_0x17df00,_0x101d2a):_0x17df00,_0x313b8f=_0x4b6446[_0xf120ec(0x239)]-0x1,_0x4f86b1;_0x313b8f>=0x0;_0x313b8f--)(_0x4f86b1=_0x4b6446[_0x313b8f])&&(_0x17bcce=(_0x39887a?_0x4f86b1(_0x17df00,_0x101d2a,_0x17bcce):_0x4f86b1(_0x17bcce))||_0x17bcce);return _0x39887a&&_0x17bcce&&_0x15385d(_0x17df00,_0x101d2a,_0x17bcce),_0x17bcce;},_0x334a4a=(_0x374120,_0x4da916)=>(_0x5e3c4b,_0xdc0abc)=>_0x4da916(_0x5e3c4b,_0xdc0abc,_0x374120);const _0x4a8046=_0x45413a(0x17a);let _0x2d781e=class extends _0x182995['Disposable']{constructor(_0x2d7919,_0x102704,_0xc9dcf5,_0x23e1d3){const _0x13aa6d=_0x45413a;super(),_0x3dbc1d(this,_0x13aa6d(0x19c),null),(this['_sidebarService']=_0x2d7919,this[_0x13aa6d(0x29b)]=_0x102704,this[_0x13aa6d(0x271)]=_0xc9dcf5,this[_0x13aa6d(0x28a)]=_0x23e1d3,this['_init']());}['_init'](){const _0x3b8cb7=_0x45413a;this[_0x3b8cb7(0x216)](),this[_0x3b8cb7(0x284)]();}[_0x45413a(0x284)](){const _0x4ff215=_0x45413a;if(this[_0x4ff215(0x19c)])return;const _0x5d32ab={'header':{'title':this[_0x4ff215(0x271)]['t'](_0x4ff215(0x17c))},'children':{'label':_0x4a8046},'onClose':()=>{const _0x189c33=_0x4ff215;this[_0x189c33(0x19c)]=null,this['_historyManagerService'][_0x189c33(0x1ce)]=_0x4ad37b[_0x189c33(0x2fa)];}};this['_sidebarDisposable']=this[_0x4ff215(0x281)]['open']({..._0x5d32ab});}['_initPanel'](){const _0x261976=_0x45413a;this['disposeWithMe'](this[_0x261976(0x29b)][_0x261976(0x251)](_0x4a8046,_0x4c2d2e)),this[_0x261976(0x2ac)](this[_0x261976(0x281)]['scrollEvent$']['pipe'](_0x423942[_0x261976(0x278)](0x64))[_0x261976(0x28b)](_0x4c918e=>{const _0x2bd8f9=_0x261976,{target:_0x1e32c3}=_0x4c918e||{};if(_0x1e32c3){const {scrollTop:_0x21bd16,scrollHeight:_0x86e09b,clientHeight:_0x193236}=_0x1e32c3;_0x21bd16+_0x193236>=_0x86e09b-0x5&&this[_0x2bd8f9(0x28a)][_0x2bd8f9(0x243)]();}}));}};_0x2d781e=_0x2128b7([_0x334a4a(0x0,_0x57246a[_0x45413a(0x2c9)]),_0x334a4a(0x1,_0x182995[_0x45413a(0x211)](_0x57246a['ComponentManager'])),_0x334a4a(0x2,_0x182995[_0x45413a(0x211)](_0x182995['LocaleService'])),_0x334a4a(0x3,_0x182995[_0x45413a(0x211)](_0x366d95[_0x45413a(0x31b)]))],_0x2d781e);class _0x19de5b extends _0x182995[_0x45413a(0x15d)]{constructor(){const _0x4cd22b=_0x45413a;super(),_0x3dbc1d(this,_0x4cd22b(0x2e1),new _0x423942['Subject']());}[_0x45413a(0x32d)](){const _0x13276f=_0x45413a;return _0x182995[_0x13276f(0x218)](()=>{});}[_0x45413a(0x231)](){}[_0x45413a(0x22f)](_0x5ea56a){}[_0x45413a(0x206)](){const _0x355dff=_0x45413a;return this['_dialogOptions$'][_0x355dff(0x266)]();}}var _0x5b3de2=Object['defineProperty'],_0x4df46c=Object['getOwnPropertyDescriptor'],_0x4eb91e=(_0x499f91,_0x1ed8b2,_0x50670e)=>_0x1ed8b2 in _0x499f91?_0x5b3de2(_0x499f91,_0x1ed8b2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x50670e}):_0x499f91[_0x1ed8b2]=_0x50670e,_0x207482=(_0x9d6f3f,_0x1aa75d,_0xe9083e,_0xcc074)=>{const _0x37778a=_0x45413a;for(var _0xc81f54=_0xcc074>0x1?void 0x0:_0xcc074?_0x4df46c(_0x1aa75d,_0xe9083e):_0x1aa75d,_0x48b6e7=_0x9d6f3f[_0x37778a(0x239)]-0x1,_0x45ef47;_0x48b6e7>=0x0;_0x48b6e7--)(_0x45ef47=_0x9d6f3f[_0x48b6e7])&&(_0xc81f54=(_0xcc074?_0x45ef47(_0x1aa75d,_0xe9083e,_0xc81f54):_0x45ef47(_0xc81f54))||_0xc81f54);return _0xcc074&&_0xc81f54&&_0x5b3de2(_0x1aa75d,_0xe9083e,_0xc81f54),_0xc81f54;},_0x37cb0e=(_0x38739d,_0x4bea76)=>(_0x126813,_0x238c24)=>_0x4bea76(_0x126813,_0x238c24,_0x38739d),_0x666b7=(_0x1557d7,_0x4f5686,_0x4f087c)=>_0x4eb91e(_0x1557d7,_0x4f5686+'',_0x4f087c);const _0x24d4a7=_0x45413a(0x287);_0x366d95[_0x45413a(0x15b)]=class extends _0x182995['Plugin']{constructor(_0x2f7210=_0x5e36eb,_0x59946e,_0x586ed8,_0x2c9c65){const _0x3626be=_0x45413a;super(),this[_0x3626be(0x1cd)]=_0x2f7210,this['_injector']=_0x59946e,this[_0x3626be(0x1fe)]=_0x586ed8,this['_configService']=_0x2c9c65;const {..._0xc6b9cd}=this[_0x3626be(0x1cd)];this[_0x3626be(0x297)][_0x3626be(0x24d)](_0x5b06eb,_0xc6b9cd);}[_0x45413a(0x35a)](){const _0x5834e8=_0x45413a;[[_0x366d95[_0x5834e8(0x31b)]],[_0x51d349],[_0x3c8fea],[_0x3f6416],[_0x2d781e],[_0xe3856f[_0x5834e8(0x308)]],[_0x1cdfa8],[_0xe3856f[_0x5834e8(0x258)],{'useClass':_0xe3856f['FetchHTTPImplementation']}],[_0x51cf97[_0x5834e8(0x2d2)],{'useClass':_0x35ed23[_0x5834e8(0x1d5)]}],[_0x182995[_0x5834e8(0x2be)],{'useClass':_0x35ed23['AuthzIoHttpService']}],[_0x57246a[_0x5834e8(0x1fd)],{'useClass':_0x19de5b}],[_0x2c53de[_0x5834e8(0x2bf)],{'useClass':_0x35ed23['ImageIoService']}]][_0x5834e8(0x17e)](_0x2feebd=>this[_0x5834e8(0x36e)][_0x5834e8(0x1f6)](_0x2feebd)),this['_injector'][_0x5834e8(0x15c)](_0x51d349);}[_0x45413a(0x1b7)](){const _0x47fcba=_0x45413a;[[_0x4d74e9]][_0x47fcba(0x17e)](_0x380f37=>{const _0x291e46=_0x47fcba;this[_0x291e46(0x2ac)](this[_0x291e46(0x1fe)][_0x291e46(0x2bb)](_0x182995[_0x291e46(0x2a7)][_0x291e46(0x23a)],_0x380f37));}),this['_injector']['get'](_0x1cdfa8),this['_injector']['get'](_0x2d781e);}['onSteady'](){const _0x48a924=_0x45413a;this[_0x48a924(0x36e)][_0x48a924(0x15c)](_0x3c8fea);}},_0x666b7(_0x366d95[_0x45413a(0x15b)],'pluginName',_0x24d4a7),_0x366d95[_0x45413a(0x15b)]=_0x207482([_0x182995[_0x45413a(0x15e)](_0xd54138['UniverSheetsUIPlugin']),_0x37cb0e(0x1,_0x182995[_0x45413a(0x211)](_0x182995[_0x45413a(0x30a)])),_0x37cb0e(0x2,_0x1205a1[_0x45413a(0x1a9)]),_0x37cb0e(0x3,_0x182995[_0x45413a(0x320)])],_0x366d95[_0x45413a(0x15b)]),_0x366d95[_0x45413a(0x233)]=_0x4ad37b,Object['defineProperty'](_0x366d95,Symbol[_0x45413a(0x16a)],{'value':_0x45413a(0x29a)});}));function _0x110a(_0x3aa43a,_0x4324ab){const _0x4cc2b8=_0x4cc2();return _0x110a=function(_0x110a2d,_0xa96611){_0x110a2d=_0x110a2d-0x14e;let _0x2e8cc1=_0x4cc2b8[_0x110a2d];return _0x2e8cc1;},_0x110a(_0x3aa43a,_0x4324ab);}function _0x4cc2(){const _0x11f192=['getConfig','amd','url(#restore-single_clip0_1247_2)','_getRangesByMutation','univer-version-item-header-time-tag','SnapshotServerOverHTTPService','univer-version-date','canRevert','UpdateDataValidationMutation','getViewport','attrs','setDV','SetCellStyle','setFilter','tag','6590YQCEYh','getVersions','flat','_commandService','@univerjs/core','set','string','UniverSheetsConditionalFormatting','APPLY_PERMISSION_DENIED','FromArray','UniverDrawing','110MDrGsW','MoveSheet','1990875DgHeDt','values','univer-version-list-loading-icon','confirm','editHistory.action.revertSheetPrefix','commands','xlink:href','HEADER','stopPropagation','forValue','add','Loaded','getCoordByCell','column','transformMutations','821523pJAIMo','includes','IDialogService','_renderManagerService','propertyIsEnumerable','univer-loading-spin','loaded','useObservable','defineProperty','SetWorksheetStyle','some','getDialogs$','action','UniverSheetsUi','Duplicate','univer-version-item-header-revert','VIEWPORT_KEY','syncExecuteCommand','_fetching','reduce','now','none','Inject','time','UNDEFINED','currentSkeleton$','getCellPositionByOffset','_initPanel','CreateUnitMutation','toDisposable','InsertRow','svg','AddDataValidationMutation','keys','block','_permissionService','getOwnPropertySymbols','M8.00695\x2014.9998C8.00461\x2014.9999\x208.00227\x2014.9999\x207.99993\x2014.9999C4.13397\x2014.9999\x201\x2011.8659\x201\x207.99995C1\x204.13624\x204.13035\x201.00365\x207.99321\x201.00003C7.9955\x201.00001\x207.99779\x201\x208.00008\x201C11.866\x201\x2015\x204.13397\x2015\x207.99993C15\x2011.8636\x2011.8697\x2014.9961\x208.00695\x2014.9998ZM13.3569\x208.01503C13.3568\x208.01001\x2013.3568\x208.00499\x2013.3568\x207.99995C13.3568\x205.04144\x2010.9584\x202.64309\x207.99993\x202.64309C5.04645\x202.64309\x202.65123\x205.03327\x202.64308\x207.98484C2.64317\x207.98986\x202.64322\x207.99489\x202.64322\x207.99993C2.64322\x2010.9584\x205.04157\x2013.3568\x208.00008\x2013.3568C10.9536\x2013.3568\x2013.3488\x2010.9666\x2013.3569\x208.01503Z','ViemRwHgtClWdt','IUIPartsService','connectInjector','rect','disposeUnit','Today','concat','_transformService','ObjectMatrix','_initRender','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','UniverDesign','RangeMergeUtil','toISOString','closeAll','extend','close','LICENSE_EXPORT_SIZE_EXCEEDED','HistoryModeStatus','idSuffix','versionItem','Error','clear','getMember','length','UNIVER_SHEET','UniverCollaborationClient','CONNECTOR_DATA_TOO_LARGE','fill','M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','getInterceptPoints','EditWorksheetCell','AddConditionalRuleMutation','findAllRectangle','loadMoreVersions','editHistory.action.revertSheetSuffix','path','LocaleType','createSheet','mutations','rgba(58,\x2096,\x20247,\x200.20)','historyViewHeaderBack','24px','React','setConfig','flex','useRef','forwardRef','register','CreateWorksheet','@univerjs/sheets-filter','editHistory.info.loading','Filter','ensureVersion','editHistory.panel.revertConfirmText','IHTTPImplementation','function','getCurrentVersion','LICENSE_DISTRO_REJECTED','registerComponent','rev','_messageService','position','unitId$','Print','body','_sheetSkeletonManagerService','currentVersionDiff$','0\x200\x2016\x2016','asObservable','CopySheet','from','UniverEditHistoryViewer','CHANGESET_REVISION_CONFILICT','user','Comment','push','VIRTUAL_VERSION_NOW','Init','MoveColsMutation','_localeService','univer-history-view-header-back','APPLY_REJECT','APPLY_REVISION_CONFILICT','updatePermissionPoint','AddRangeProtectionMutation','editHistory.panel.unknownUser','debounceTime','ENSURE_SNAPSHOT_EXECUTION','SetCellValue','HideSheet','DeleteSheet','revertRevision$','7920ZPNwEV','@univerjs/sheets','versions$','_sidebarService','endRev','absolute','_openPanel','init','UniverNetwork','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','pipe','range','_historyManagerService','subscribe','ranges','AddWorksheetMergeMutation','@univerjs/design','assign','_compressMutationService','data','indexOf','split','InsertHyperlink','UNIVER_PROJECT','params','_configService','SNAPSHOT_INVALID_SNAPSHOT','versionItemHeaderExpand','Module','_componentManager','exited','YUUMI_UNABLE_LOAD_URL','rxjs','ITransformService','versionItemHeader','/list?length=20','showMask','row','_cellEditorManagerService','@univerjs/sheets-conditional-formatting','PivotTable','UniverInstanceType','rules','ICommandService','BuiltInUIPart','672280ZubxQT','disposeWithMe','_updateDiffMarks','versionListPanel','status$','prototype','UniverUi','IPermissionService','unitId','_lastPointer','_transformMutationByOrder','insertSheet','useState','getUnitId','entities','revertSheet','registerRenderModule','removeSheet','_canRevert','IAuthzIoService','IImageIoService','univer-version-item-header','dispose','_diffs','ReorderRangeMutation','PERMISSION_DENIED','div','_context','RecoverHistory','entries','ISidebarService','getCurrentLocale','name','loadingState','InsertColumn','historyViewHeaderRevert','setValue','_currentVersion$','setCF','ISnapshotServerService','anonymous','getMinutes','SetConditionalRuleMutation','DeleteColumn','_revertRevision$','setFrozen','UNAUTHENTICATED','UniverEngineRender','loadSheet','addObjects','ViewFilter','toString','DisposableCollection','_loadingState$','_dialogOptions$','MoveWorksheet','APPLY_DUPLICATED','getHours','userId','loading','_initMaskContainer','InsertRowMutation','querySelector','date','endColumn','users','NOT_FOUND','substring','then','startRevision','0\x200\x2016\x2017','rule','Loading','triggerRevert','ALREADY_EXISTS','12lzDPNu','number','@univerjs/network','loadingState$','Exited','has','_combineRanges','startRow','changesets','clipPath','UniverCore','active','blocks','interceptor','switchMap','getVersion','SetWorksheetActiveOperation','M7.17852\x201.82153C7.17852\x201.36781\x207.54633\x201\x208.00005\x201C11.866\x201\x2015\x204.13397\x2015\x207.99993C15\x2011.8659\x2011.866\x2014.9999\x208.00005\x2014.9999C4.1341\x2014.9999\x201.00012\x2011.8659\x201.00012\x207.99993C1.00012\x207.54621\x201.36793\x207.1784\x201.82165\x207.1784C2.27537\x207.1784\x202.64318\x207.54621\x202.64318\x207.99993C2.64318\x2010.9584\x205.04153\x2013.3568\x208.00005\x2013.3568C10.9586\x2013.3568\x2013.3569\x2010.9584\x2013.3569\x207.99993C13.3569\x205.04141\x2010.9586\x202.64306\x208.00005\x202.64306C7.54633\x202.64306\x207.17852\x202.27525\x207.17852\x201.82153Z','HTTPService','startColumn','Injector','exports','BehaviorSubject','INTERNAL_ERROR','code','4BHMfoq','subUnitId','_removeDiffMarks','style','MessageType','subscribeEvent','AddWorksheetProtectionMutation','versionItemHeaderRevert','triggerLoadSheet','createTime','recoverTime','debounce','HistoryManagerService','useDependency','1008497zTcaup','fetchThroughInterceptors','1200XSSczu','IConfigService','_historyContainerId','HideWorksheet','@univerjs/data-validation','addProtection','_maskElement','editHistory.header.revert','univer-version-list-panel','SNAPSHOT_HAS_BEEN_REMOVED','versionListLoading','_diffRangesMap','_extractRanges','primary','open','getVpScrollXYInfoByPosToVp','getDataRange','RemoveSheetMutation','map','@univerjs-pro/collaboration','isArray','back-single','RevertRevisionMutation','m1Prime','SelectUnProtectedCells','backgroundColor','react','.univer-app-container-content','_workbookDataCache','_versions$','editHistory.panel.currentVersion','Copy','hasCommand','trim','subType','RestoreSingle','skeleton','univer-version-item-content','history-mask','SetSheetsFilterRangeMutation','_loadingMessage','historyViewHeader','UNIVER_UNKNOWN','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','useCallback','@univerjs/engine-render','RemoveNumfmtMutation','isTransformMutationsSuccess','100%','SetRowStyle','WorkbookHideSheetPermission','confirm-revert-revision','historyListServerUrl','getCurrent','_updateVersions','deleteProtection','_snapshotServerService','top','append','onStarting','next','error','#fff','_getActiveSubUnitId','WorkbookEditablePermission','IUniverInstanceService','COMPLETION_FINISHED','univerjs-icon\x20univerjs-icon-','flex\x20items-center\x20justify-center','_createMask','createElement','History','defIds','UNRECOGNIZED','span','command','className','blockMeta','1em','_injector','SetFrozenMutation','getUnitOnRev','cellValue','ViewHistory','white','RenameSheet','hidden','@univerjs/ui','edit-history-viewer.config','INVALID_ARGUMENT','SetRangeProtectionMutation','ManageCollaborator','MoveRowsMutation','Button','SelectProtectedCells','IConfirmService','children','_httpService','TOO_MANY_REQUESTS','UniverEditHistoryViewerPlugin','get','Disposable','DependentOn','InsertSheetMutation','rgba(225,\x20225,\x20225,\x200.5)','currentVersion','MoveRangeMutation','_versionDiffService','@univerjs-pro/collaboration-client','InsertColMutation','_createUnit','color','random','dateString','toStringTag','entered','_hasMore','univer-history-view-header-revert','LICENSE_IMPORT_SIZE_EXCEEDED','ZH_CN','CreateSheet','Edit','YUUMI_RATE_OVER_LIMIT','_getAPIPrefix','defs','SetColumnStyle','DeleteWorksheetProtectionMutation','&lastLabel=','_initActiveSwitch','editSheet','history-panel','display','editHistory.panel.title','univer-active','forEach','DeleteWorksheet','View','object','BackSingle','_unitId$','replace','colorChannel1','currentVersion$','_members','_getSheetObject','Export','DeleteRangeProtectionMutation','onPointerMove$','editHistory.panel.currentUser','RenameWorksheet','editHistory.panel.revertConfirm','filter','COMPRESS_MUTATION_APPLY','all','univer-version-list-loading','Fragment','editHistory.panel.revertDesc','emptyText','versions','currentColor','current','createUnit','height','find','_sidebarDisposable','getSheetObject','editHistory.action.etc','transformSnapshotToWorkbookData','hasOwnProperty','1000','/universer-api/history','_currentVersionDiff$','@univerjs/drawing','makeDirty','sheet','editHistory.action.','text-gray-500','IRenderManagerService','displayName','permissionPointUpdate$','5211778HopWji','hideMask','Vector2','FloatImg','left','YUUMI_URL_COL_OUT_OF_RANGE','DeleteRow','call','Delete','show','icon','onRendered','getOwnPropertyDescriptor','LocaleService','triggerLoadVersions','UNIVER_SLIDE','value','UNIVER_DOC','zIndex','versionItemHeaderTime','Share','evenodd','endRow','_init','_confirmService','_status$','_lastLabel','restore-single_clip0_1247_2','LICENSE_MAX_UNITS_EXCEEDED','univer-version-list-panel-content','bottom','_maskContainer','_univerInstanceService','_config','status','EditExtraObject'];_0x4cc2=function(){return _0x11f192;};return _0x4cc2();}
1
+ (function(_0x4e4e92,_0x13493a){const _0x381252=_0x4fc5,_0x15d7de=_0x4e4e92();while(!![]){try{const _0x38cd51=-parseInt(_0x381252(0x379))/0x1*(parseInt(_0x381252(0x3fc))/0x2)+parseInt(_0x381252(0x3cb))/0x3*(parseInt(_0x381252(0x2ef))/0x4)+parseInt(_0x381252(0x28d))/0x5*(parseInt(_0x381252(0x1e7))/0x6)+-parseInt(_0x381252(0x24f))/0x7*(-parseInt(_0x381252(0x3ee))/0x8)+parseInt(_0x381252(0x284))/0x9+parseInt(_0x381252(0x209))/0xa*(-parseInt(_0x381252(0x30b))/0xb)+parseInt(_0x381252(0x3d8))/0xc*(-parseInt(_0x381252(0x39d))/0xd);if(_0x38cd51===_0x13493a)break;else _0x15d7de['push'](_0x15d7de['shift']());}catch(_0x22bad4){_0x15d7de['push'](_0x15d7de['shift']());}}}(_0x5597,0xf1475),function(_0x5450f7,_0x1a551e){const _0x5c1fd6=_0x4fc5;typeof exports==_0x5c1fd6(0x21b)&&typeof module<'u'?_0x1a551e(exports,require(_0x5c1fd6(0x3f0)),require('@univerjs/drawing'),require(_0x5c1fd6(0x38d)),require(_0x5c1fd6(0x2fa)),require(_0x5c1fd6(0x325)),require('@univerjs/ui'),require('@univerjs-pro/collaboration'),require(_0x5c1fd6(0x323)),require(_0x5c1fd6(0x22b)),require('@univerjs/sheets'),require(_0x5c1fd6(0x305)),require(_0x5c1fd6(0x2c9)),require(_0x5c1fd6(0x213)),require('@univerjs/sheets-conditional-formatting'),require(_0x5c1fd6(0x300))):typeof define==_0x5c1fd6(0x2ee)&&define[_0x5c1fd6(0x1d5)]?define([_0x5c1fd6(0x3b1),_0x5c1fd6(0x3f0),'@univerjs/drawing',_0x5c1fd6(0x38d),_0x5c1fd6(0x2fa),_0x5c1fd6(0x325),_0x5c1fd6(0x29a),'@univerjs-pro/collaboration',_0x5c1fd6(0x323),_0x5c1fd6(0x22b),_0x5c1fd6(0x260),_0x5c1fd6(0x305),_0x5c1fd6(0x2c9),_0x5c1fd6(0x213),'@univerjs/sheets-conditional-formatting',_0x5c1fd6(0x300)],_0x1a551e):(_0x5450f7=typeof globalThis<'u'?globalThis:_0x5450f7||self,_0x1a551e(_0x5450f7['UniverEditHistoryViewer']={},_0x5450f7[_0x5c1fd6(0x3ef)],_0x5450f7['UniverDrawing'],_0x5450f7['UniverEngineRender'],_0x5450f7[_0x5c1fd6(0x3d5)],_0x5450f7[_0x5c1fd6(0x342)],_0x5450f7[_0x5c1fd6(0x366)],_0x5450f7[_0x5c1fd6(0x293)],_0x5450f7['UniverCollaborationClient'],_0x5450f7[_0x5c1fd6(0x310)],_0x5450f7[_0x5c1fd6(0x259)],_0x5450f7[_0x5c1fd6(0x305)],_0x5450f7[_0x5c1fd6(0x2ea)],_0x5450f7[_0x5c1fd6(0x3e2)],_0x5450f7[_0x5c1fd6(0x3e0)],_0x5450f7['React']));}(this,function(_0x3267ca,_0x25aca1,_0x42f896,_0x25ba17,_0x12c199,_0x35bb2e,_0x2381ad,_0x321529,_0x3a166c,_0x2239f3,_0x2f4e36,_0x346ae3,_0x31591e,_0x280b22,_0xbed94c,_0x40a2bc){'use strict';const _0x459fe1=_0x4fc5;var _0x1ed814=Object[_0x459fe1(0x23c)],_0x5e999b=(_0x4207ab,_0x12d9a2,_0x21fe7b)=>_0x12d9a2 in _0x4207ab?_0x1ed814(_0x4207ab,_0x12d9a2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21fe7b}):_0x4207ab[_0x12d9a2]=_0x21fe7b,_0x33fc95=(_0x2c90cf,_0x24fe55,_0x4fe073)=>_0x5e999b(_0x2c90cf,typeof _0x24fe55!=_0x459fe1(0x3cc)?_0x24fe55+'':_0x24fe55,_0x4fe073);const _0x52a7b8=_0x459fe1(0x2a4),_0x46b85b={};var _0x3c4ece=Object['defineProperty'],_0x578f12=Object['getOwnPropertyDescriptor'],_0x453382=(_0x54135d,_0x864dad,_0x458382,_0x472aca)=>{const _0x5318aa=_0x459fe1;for(var _0x139fca=_0x472aca>0x1?void 0x0:_0x472aca?_0x578f12(_0x864dad,_0x458382):_0x864dad,_0x45a5d1=_0x54135d[_0x5318aa(0x243)]-0x1,_0x244697;_0x45a5d1>=0x0;_0x45a5d1--)(_0x244697=_0x54135d[_0x45a5d1])&&(_0x139fca=(_0x472aca?_0x244697(_0x864dad,_0x458382,_0x139fca):_0x244697(_0x139fca))||_0x139fca);return _0x472aca&&_0x139fca&&_0x3c4ece(_0x864dad,_0x458382,_0x139fca),_0x139fca;},_0x40142f=(_0x570945,_0x20ebe9)=>(_0x50101e,_0x3624ed)=>_0x20ebe9(_0x50101e,_0x3624ed,_0x570945);let _0x696cf6=class extends _0x25aca1[_0x459fe1(0x2d7)]{constructor(_0x5b4094){const _0x4ea631=_0x459fe1;super(),this[_0x4ea631(0x2b7)]=_0x5b4094,this[_0x4ea631(0x33d)]();}['_init'](){const _0x352948=_0x459fe1;this[_0x352948(0x1d8)](this['_cellEditorManagerService'][_0x352948(0x263)]['subscribe'](_0x2980a1=>{const _0x34c6cd=_0x352948;_0x2980a1!=null&&_0x2980a1[_0x34c6cd(0x3ab)]&&this[_0x34c6cd(0x2b7)]['setState']({'show':!0x1});}));}};_0x696cf6=_0x453382([_0x40142f(0x0,_0x35bb2e[_0x459fe1(0x2b3)])],_0x696cf6);var _0x5ab8d9=(_0x51690c=>(_0x51690c[_0x51690c[_0x459fe1(0x257)]=0x0]=_0x459fe1(0x257),_0x51690c[_0x51690c['OK']=0x1]='OK',_0x51690c[_0x51690c['INTERNAL_ERROR']=0x2]=_0x459fe1(0x212),_0x51690c[_0x51690c[_0x459fe1(0x39b)]=0x3]=_0x459fe1(0x39b),_0x51690c[_0x51690c[_0x459fe1(0x3a9)]=0x4]=_0x459fe1(0x3a9),_0x51690c[_0x51690c[_0x459fe1(0x1ec)]=0x5]=_0x459fe1(0x1ec),_0x51690c[_0x51690c[_0x459fe1(0x1df)]=0x6]='ALREADY_EXISTS',_0x51690c[_0x51690c[_0x459fe1(0x38a)]=0x7]=_0x459fe1(0x38a),_0x51690c[_0x51690c['TOO_MANY_REQUESTS']=0x8]=_0x459fe1(0x308),_0x51690c[_0x51690c['COMPLETION_FINISHED']=0x9]=_0x459fe1(0x25e),_0x51690c[_0x51690c['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x51690c[_0x51690c[_0x459fe1(0x3a3)]=0x1771]=_0x459fe1(0x3a3),_0x51690c[_0x51690c[_0x459fe1(0x256)]=0x1772]=_0x459fe1(0x256),_0x51690c[_0x51690c[_0x459fe1(0x384)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x51690c[_0x51690c[_0x459fe1(0x239)]=0x1b59]='APPLY_REJECT',_0x51690c[_0x51690c[_0x459fe1(0x388)]=0x1b5a]=_0x459fe1(0x388),_0x51690c[_0x51690c[_0x459fe1(0x35f)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x51690c[_0x51690c[_0x459fe1(0x3f1)]=0x1b5c]=_0x459fe1(0x3f1),_0x51690c[_0x51690c['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x51690c[_0x51690c[_0x459fe1(0x301)]=0x1f41]=_0x459fe1(0x301),_0x51690c[_0x51690c[_0x459fe1(0x3ce)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x51690c[_0x51690c[_0x459fe1(0x324)]=0x232a]=_0x459fe1(0x324),_0x51690c[_0x51690c[_0x459fe1(0x264)]=0x232b]=_0x459fe1(0x264),_0x51690c[_0x51690c[_0x459fe1(0x27f)]=0x232c]=_0x459fe1(0x27f),_0x51690c[_0x51690c['LICENSE_DISTRO_REJECTED']=0x232d]=_0x459fe1(0x227),_0x51690c[_0x51690c[_0x459fe1(0x270)]=0x2711]=_0x459fe1(0x270),_0x51690c[_0x51690c[_0x459fe1(0x208)]=0x2712]=_0x459fe1(0x208),_0x51690c[_0x51690c['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x51690c[_0x51690c['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x459fe1(0x318),_0x51690c[_0x51690c['UNRECOGNIZED']=-0x1]=_0x459fe1(0x29b),_0x51690c))(_0x5ab8d9||{}),_0x565cc4=(_0x22f57a=>(_0x22f57a[_0x22f57a[_0x459fe1(0x2fd)]=0x0]=_0x459fe1(0x2fd),_0x22f57a[_0x22f57a['UNIVER_DOC']=0x1]=_0x459fe1(0x37c),_0x22f57a[_0x22f57a['UNIVER_SHEET']=0x2]=_0x459fe1(0x2dc),_0x22f57a[_0x22f57a[_0x459fe1(0x37a)]=0x3]=_0x459fe1(0x37a),_0x22f57a[_0x22f57a['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x22f57a[_0x22f57a[_0x459fe1(0x29b)]=-0x1]=_0x459fe1(0x29b),_0x22f57a))(_0x565cc4||{}),_0x4fe704=(_0x3cb1b3=>(_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x24b)]=0x0]=_0x459fe1(0x24b),_0x3cb1b3[_0x3cb1b3['Edit']=0x1]='Edit',_0x3cb1b3[_0x3cb1b3['ManageCollaborator']=0x2]=_0x459fe1(0x2a7),_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x244)]=0x3]=_0x459fe1(0x244),_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x235)]=0x4]='Duplicate',_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x202)]=0x5]=_0x459fe1(0x202),_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x1ef)]=0x6]=_0x459fe1(0x1ef),_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x218)]=0x7]=_0x459fe1(0x218),_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x38f)]=0x8]=_0x459fe1(0x38f),_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x232)]=0x9]=_0x459fe1(0x232),_0x3cb1b3[_0x3cb1b3['DeleteWorksheet']=0xa]='DeleteWorksheet',_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x3f2)]=0xb]=_0x459fe1(0x3f2),_0x3cb1b3[_0x3cb1b3['RenameWorksheet']=0xc]='RenameWorksheet',_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x3dd)]=0xd]=_0x459fe1(0x3dd),_0x3cb1b3[_0x3cb1b3['SetWorksheetStyle']=0xe]='SetWorksheetStyle',_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x36b)]=0xf]=_0x459fe1(0x36b),_0x3cb1b3[_0x3cb1b3['InsertHyperlink']=0x10]=_0x459fe1(0x246),_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x2b2)]=0x11]='Sort',_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x30c)]=0x12]=_0x459fe1(0x30c),_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x275)]=0x13]='PivotTable',_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x26e)]=0x14]=_0x459fe1(0x26e),_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x3be)]=0x15]=_0x459fe1(0x3be),_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x287)]=0x16]=_0x459fe1(0x287),_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x22d)]=0x17]='ViemRwHgtClWdt',_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x3de)]=0x18]=_0x459fe1(0x3de),_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x338)]=0x19]=_0x459fe1(0x338),_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x382)]=0x1a]=_0x459fe1(0x382),_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x1f5)]=0x1b]=_0x459fe1(0x1f5),_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x343)]=0x1c]='CopySheet',_0x3cb1b3[_0x3cb1b3['RenameSheet']=0x1d]=_0x459fe1(0x3f9),_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x220)]=0x1e]=_0x459fe1(0x220),_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x292)]=0x1f]='SelectProtectedCells',_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x2e0)]=0x20]='SelectUnProtectedCells',_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x222)]=0x21]=_0x459fe1(0x222),_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x356)]=0x22]='SetCellValue',_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x35e)]=0x23]=_0x459fe1(0x35e),_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x255)]=0x24]=_0x459fe1(0x255),_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x271)]=0x25]=_0x459fe1(0x271),_0x3cb1b3[_0x3cb1b3['InsertColumn']=0x26]='InsertColumn',_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x2f9)]=0x27]=_0x459fe1(0x2f9),_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x336)]=0x28]=_0x459fe1(0x336),_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x2c7)]=0x29]='EditExtraObject',_0x3cb1b3[_0x3cb1b3['Delete']=0x2a]=_0x459fe1(0x27e),_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x3bd)]=0x2b]='RecoverHistory',_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x2cc)]=0x2c]='ViewHistory',_0x3cb1b3[_0x3cb1b3[_0x459fe1(0x29b)]=-0x1]='UNRECOGNIZED',_0x3cb1b3))(_0x4fe704||{});function _0x3bb523(_0x44e420){const _0x15e713=_0x459fe1;return!!(_0x44e420&&_0x44e420['code']&&_0x44e420['code']!==_0x5ab8d9['OK']&&_0x44e420[_0x15e713(0x37d)]!=='OK');}const _0x145d7c=(_0x56680d,_0x23bd1f)=>{const _0x505b7e=_0x459fe1;if(!_0x56680d)return{'date':'','time':''};const _0x5c92c5=new Date(_0x56680d),_0x5d419d=_0x5c92c5[_0x505b7e(0x3a4)]()[_0x505b7e(0x1f1)]('T')[0x0];switch(_0x23bd1f){case _0x25aca1[_0x505b7e(0x391)]['ZH_CN']:return{'date':_0x2c7780(_0x5d419d,_0x23bd1f),'time':_0x5c92c5['getHours']()+':'+String(_0x5c92c5[_0x505b7e(0x3a5)]())[_0x505b7e(0x370)](0x2,'0')};default:return{'date':_0x2c7780(_0x5d419d,_0x23bd1f),'time':_0x5c92c5['getHours']()+':'+_0x5c92c5[_0x505b7e(0x3a5)]()};}},_0xb3f422=(_0x4fec27,_0x42910d)=>{const _0x14fc8e=_0x459fe1,_0x21b1c5=_0x4fec27[_0x14fc8e(0x307)]||_0x42910d['t']('editHistory.panel.unknownUser');if(_0x4fec27[_0x14fc8e(0x332)]['some'](_0x32c03d=>_0x32c03d===_0x321529[_0x14fc8e(0x32d)]['id'])&&_0x4fec27['recoverTime']){const _0x3d697c=_0x145d7c(_0x4fec27[_0x14fc8e(0x396)],_0x42910d[_0x14fc8e(0x1ea)]()),_0x501b08=_0x3d697c['date']+'\x20'+_0x3d697c[_0x14fc8e(0x2e5)];return _0x21b1c5+'\x20'+_0x42910d['t'](_0x14fc8e(0x2a8))+'\x20'+_0x501b08+'\x20'+_0x42910d['t'](_0x14fc8e(0x276));}const _0x5bfc59=_0x25cdec(_0x4fec27),_0x4d2983=_0x5bfc59[_0x14fc8e(0x243)]===0x1?_0x42910d['t'](_0x5bfc59[0x0]):''+_0x42910d['t'](_0x5bfc59[0x0])+_0x42910d['t'](_0x14fc8e(0x389));return _0x21b1c5+'\x20'+_0x4d2983;};function _0x25cdec(_0x517814){const _0x2ee438=_0x459fe1;if(_0x517814['commands']['length']===0x0)return[''];const _0x56ea7e=_0x2ee438(0x33a),_0x183d1e=_0x56ea7e+_0x2ee438(0x2b9),_0x4ac4be=[{'id':_0x321529['CreateUnitMutation']['id'],'action':_0x56ea7e+'createSheet'},{'id':_0x321529[_0x2ee438(0x32d)]['id'],'action':_0x56ea7e+_0x2ee438(0x369)},{'id':_0x2f4e36[_0x2ee438(0x331)]['id'],'action':_0x56ea7e+_0x2ee438(0x282)},{'id':_0x2f4e36[_0x2ee438(0x341)]['id'],'action':_0x56ea7e+_0x2ee438(0x395)},{'id':_0x2f4e36[_0x2ee438(0x322)]['id'],'action':_0x56ea7e+_0x2ee438(0x321)},{'id':_0x31591e['SetSheetsFilterRangeMutation']['id'],'action':_0x56ea7e+_0x2ee438(0x3b0)},{'id':_0x280b22[_0x2ee438(0x1e0)]['id'],'action':_0x56ea7e+'setDV'},{'id':_0x280b22[_0x2ee438(0x29f)]['id'],'action':_0x56ea7e+_0x2ee438(0x2ab)},{'id':_0xbed94c[_0x2ee438(0x345)]['id'],'action':_0x56ea7e+_0x2ee438(0x34f)},{'id':_0xbed94c['AddConditionalRuleMutation']['id'],'action':_0x56ea7e+'setCF'},{'id':_0x2f4e36['AddWorksheetProtectionMutation']['id'],'action':_0x56ea7e+'addProtection'},{'id':_0x2f4e36[_0x2ee438(0x233)]['id'],'action':_0x56ea7e+_0x2ee438(0x2f8)},{'id':_0x2f4e36[_0x2ee438(0x383)]['id'],'action':_0x56ea7e+_0x2ee438(0x2dd)},{'id':_0x2f4e36[_0x2ee438(0x279)]['id'],'action':_0x56ea7e+'deleteProtection'}][_0x2ee438(0x2d9)](_0xaf6716=>_0x517814['commands'][_0x2ee438(0x329)](_0xaf6716['id']));return _0x4ac4be!=null&&_0x4ac4be[_0x2ee438(0x243)]?_0x4ac4be['map'](_0x7facc4=>_0x7facc4[_0x2ee438(0x27b)]):[_0x183d1e];}function _0x2c7780(_0x53db2e,_0x321338){const _0x43f1f6=_0x459fe1,[_0xef24d6,_0x5c5026,_0x2a7a69]=new Date()['toISOString']()[_0x43f1f6(0x1f1)]('T')[0x0][_0x43f1f6(0x1f1)]('-'),[_0x44234e,_0x44b8c9,_0x3ca4ef]=_0x53db2e[_0x43f1f6(0x1f1)]('-'),_0x151223=_0xef24d6===_0x44234e&&_0x5c5026===_0x44b8c9&&_0x2a7a69===_0x3ca4ef;let _0x49da00='',_0x1330b2='',_0x1d6376='';switch(_0x321338){case _0x25aca1[_0x43f1f6(0x391)][_0x43f1f6(0x2bf)]:return _0x151223?'今天':(_0x49da00=_0xef24d6===_0x44234e?'':_0x44234e+'年',_0x1330b2=_0x44b8c9+'月',_0x1d6376=_0x3ca4ef+'日',''+_0x49da00+_0x1330b2+_0x1d6376);default:return _0x151223?_0x43f1f6(0x294):(_0x49da00=_0xef24d6===_0x44234e?'':_0x44234e+'-',_0x1330b2=_0x44b8c9+'-',_0x1d6376=''+_0x3ca4ef,''+_0x49da00+_0x1330b2+_0x1d6376);}}function _0x2fa2a0(_0x36b5c2){const _0x4b6ed3=_0x459fe1;return _0x36b5c2?_0x36b5c2[_0x4b6ed3(0x3c1)]((_0x4d2977,_0x15a19c)=>{const _0x87d835=_0x4b6ed3,_0xa50481=new Date(_0x15a19c[_0x87d835(0x2e5)])[_0x87d835(0x3a4)]()['split']('T')[0x0];return _0x4d2977[_0x87d835(0x243)]>0x0&&_0x4d2977[_0x4d2977[_0x87d835(0x243)]-0x1][_0x87d835(0x2b1)]===_0xa50481?_0x4d2977[_0x4d2977[_0x87d835(0x243)]-0x1]['versions'][_0x87d835(0x36e)](_0x15a19c):_0x4d2977[_0x87d835(0x36e)]({'dateString':_0xa50481,'versions':[_0x15a19c]}),_0x4d2977;},[]):[];}var _0x5f4818=Object[_0x459fe1(0x23c)],_0x2e6cb0=Object[_0x459fe1(0x2a9)],_0x453505=(_0x31bed7,_0x486676,_0x1c5a97,_0x493738)=>{for(var _0x11ead6=_0x493738>0x1?void 0x0:_0x493738?_0x2e6cb0(_0x486676,_0x1c5a97):_0x486676,_0x4fcafe=_0x31bed7['length']-0x1,_0x3f9bb9;_0x4fcafe>=0x0;_0x4fcafe--)(_0x3f9bb9=_0x31bed7[_0x4fcafe])&&(_0x11ead6=(_0x493738?_0x3f9bb9(_0x486676,_0x1c5a97,_0x11ead6):_0x3f9bb9(_0x11ead6))||_0x11ead6);return _0x493738&&_0x11ead6&&_0x5f4818(_0x486676,_0x1c5a97,_0x11ead6),_0x11ead6;},_0x125b0f=(_0x361188,_0x9d37a5)=>(_0xbeb12c,_0x2289c8)=>_0x9d37a5(_0xbeb12c,_0x2289c8,_0x361188);const _0x13352a='/universer-api/history';let _0x309565=class extends _0x25aca1['Disposable']{constructor(_0x867b8d,_0x5ee201,_0x348db5,_0x2adc49,_0x25c160,_0x561849){const _0x2d73b9=_0x459fe1;super(),_0x33fc95(this,_0x2d73b9(0x2c6),new Map()),(this[_0x2d73b9(0x24e)]=_0x867b8d,this['_univerInstanceService']=_0x5ee201,this[_0x2d73b9(0x3e4)]=_0x348db5,this[_0x2d73b9(0x3c8)]=_0x2adc49,this['_httpService']=_0x25c160,this[_0x2d73b9(0x2da)]=_0x561849);}[_0x459fe1(0x2a3)](){const _0xea5786=_0x459fe1;this[_0xea5786(0x2c6)][_0xea5786(0x3fb)](),super['dispose']();}async[_0x459fe1(0x3ed)](_0x2df749,_0x14ff92){const _0xc6452=_0x459fe1,_0x5bb039=this['_getAPIPrefix']()+'/'+_0x2df749+_0xc6452(0x3c4)+(_0x14ff92?_0xc6452(0x2d1)+_0x14ff92:'');try{const _0xaea4a=(await this['_httpService'][_0xc6452(0x200)](_0x5bb039))[_0xc6452(0x1dc)];if(_0xaea4a&&_0xaea4a['error']&&_0xaea4a[_0xc6452(0x225)][_0xc6452(0x37d)]===_0x5ab8d9['OK']){const {hasMore:_0x256e9d,lastLabel:_0x1c8253}=_0xaea4a,_0x2a6bb2=_0x3b3dd7(_0xaea4a),_0x361051=_0xaea4a[_0xc6452(0x31a)][_0xc6452(0x2f3)];return{'hasMore':_0x256e9d,'lastLabel':_0x1c8253,'versions':_0x2a6bb2,'members':_0x361051};}}catch(_0x5efba0){console[_0xc6452(0x225)](_0x5efba0);}return null;}[_0x459fe1(0x254)](){const _0x37568b=_0x459fe1;var _0x5629a6;const _0x1da9a6=this[_0x37568b(0x3c8)][_0x37568b(0x1e4)](_0x52a7b8);return(_0x5629a6=_0x1da9a6==null?void 0x0:_0x1da9a6[_0x37568b(0x25c)])!=null?_0x5629a6:_0x13352a;}async[_0x459fe1(0x23b)](_0x42f1be,_0x3ffc5d,_0x2f6062){const _0x163a30=_0x459fe1;var _0x42b839,_0x27060c;_0x2f6062===void 0x0&&(_0x2f6062={}),this['_workbookDataCache'][_0x163a30(0x361)](_0x42f1be)||this['_workbookDataCache']['set'](_0x42f1be,new Map());const {snapshot:_0x1f7fbb,changesets:_0x430c21,error:_0x446fe4}=await this[_0x163a30(0x24e)][_0x163a30(0x31e)](_0x2f6062,{'unitID':_0x42f1be,'type':_0x565cc4[_0x163a30(0x2dc)],'revision':_0x3ffc5d});if(_0x3bb523(_0x446fe4)||!_0x1f7fbb||!_0x1f7fbb['workbook'])throw new Error(_0x163a30(0x21d));const _0x28a062=(_0x42b839=_0x430c21==null?void 0x0:_0x430c21[_0x163a30(0x243)])!=null?_0x42b839:0x0;if(_0x3ffc5d!==0x0&&_0x1f7fbb[_0x163a30(0x23d)]+_0x28a062!==_0x3ffc5d)throw new Error(_0x163a30(0x223));const {workbook:_0x521ccd}=_0x1f7fbb,_0xa3e922=_0x521ccd['blockMeta']?Object['entries'](_0x521ccd[_0x163a30(0x2a6)])[_0x163a30(0x258)](([_0x5506a8,_0xb53fc0])=>{const _0xd80d86=_0x163a30;var _0x31a954,_0x40bd18;return(_0x40bd18=(_0x31a954=_0xb53fc0[_0xd80d86(0x3a6)])==null?void 0x0:_0x31a954['map'](_0x1e0024=>_0x1e0024))!=null?_0x40bd18:[];})[_0x163a30(0x238)]():[],_0x1cefb4=(await Promise[_0x163a30(0x297)](_0xa3e922[_0x163a30(0x258)](_0x59a489=>this[_0x163a30(0x24e)][_0x163a30(0x3ba)](_0x2f6062,{'unitID':_0x42f1be,'type':_0x565cc4[_0x163a30(0x2dc)],'blockID':_0x59a489})[_0x163a30(0x20c)](_0x4ab715=>_0x4ab715[_0x163a30(0x224)]))))[_0x163a30(0x2d9)](_0x4e892e=>!!_0x4e892e),_0xeb0eb2=_0x321529[_0x163a30(0x26f)](_0x1f7fbb,_0x1cefb4,_0x2f6062);return(_0x27060c=this[_0x163a30(0x2c6)][_0x163a30(0x200)](_0x42f1be))==null||_0x27060c[_0x163a30(0x229)](_0x3ffc5d,{'workbook':_0xeb0eb2}),new Promise(_0x1fa3c1=>{const _0x46d3e0=_0x163a30,_0x281630=this[_0x46d3e0(0x304)][_0x46d3e0(0x392)](_0x25aca1[_0x46d3e0(0x2f6)]['UNIVER_SHEET']);_0x281630?(this[_0x46d3e0(0x304)]['disposeUnit'](_0x281630['getUnitId']()),setTimeout(()=>{const _0x106017=_0x46d3e0;this[_0x106017(0x355)](_0xeb0eb2,_0x430c21),_0x1fa3c1(!0x0);},0x0)):(this[_0x46d3e0(0x355)](_0xeb0eb2,_0x430c21),_0x1fa3c1(!0x0));});}['_createUnit'](_0x4d4249,_0x59b931){const _0x284bb3=_0x459fe1,_0x495f8d=this[_0x284bb3(0x304)][_0x284bb3(0x274)](_0x25aca1[_0x284bb3(0x2f6)][_0x284bb3(0x2dc)],_0x4d4249);this['_univerInstanceService'][_0x284bb3(0x1f4)](_0x495f8d[_0x284bb3(0x2aa)]());const _0x393071=this[_0x284bb3(0x2da)][_0x284bb3(0x2fc)][_0x284bb3(0x362)](this['_compressMutationService'][_0x284bb3(0x2fc)]['getInterceptPoints']()[_0x284bb3(0x2e6)]);return _0x59b931==null||_0x59b931[_0x284bb3(0x2ec)](_0x257199=>{const _0x2fe95d=_0x284bb3,_0x5ac6b3=_0x257199[_0x2fe95d(0x2e2)][_0x2fe95d(0x258)](_0x9db338=>({'id':_0x9db338['id'],'params':JSON[_0x2fe95d(0x32e)](_0x9db338[_0x2fe95d(0x393)])}));({..._0x257199,'mutations':_0x393071(_0x5ac6b3,null)||_0x5ac6b3}['mutations']['forEach'](_0x1712f7=>{const _0x4a7345=_0x2fe95d;this['_commandService'][_0x4a7345(0x365)](_0x1712f7['id'])&&this['_commandService'][_0x4a7345(0x262)](_0x1712f7['id'],_0x1712f7[_0x4a7345(0x283)]);}));}),_0x495f8d;}};_0x309565=_0x453505([_0x125b0f(0x0,_0x321529[_0x459fe1(0x37e)]),_0x125b0f(0x1,_0x25aca1[_0x459fe1(0x22c)]),_0x125b0f(0x2,_0x25aca1[_0x459fe1(0x32b)]),_0x125b0f(0x3,_0x25aca1[_0x459fe1(0x245)]),_0x125b0f(0x4,_0x25aca1[_0x459fe1(0x242)](_0x12c199[_0x459fe1(0x237)])),_0x125b0f(0x5,_0x25aca1[_0x459fe1(0x242)](_0x321529[_0x459fe1(0x296)]))],_0x309565);function _0x3b3dd7(_0x16e8b7){const _0x44bfaf=_0x459fe1;var _0x46b952,_0x5dbe44;const _0x307143=[],{entities:_0x2f201c,historyIds:_0x4342e5}=_0x16e8b7,{datas:_0x4b08a6,users:_0x3a08a1}=_0x2f201c;for(const _0x4dc572 of _0x4342e5)if(_0x4b08a6[_0x4dc572]){const _0x58eb74=!!((_0x46b952=_0x3a08a1[_0x4b08a6[_0x4dc572][_0x44bfaf(0x373)]])!=null&&_0x46b952['anonymous']);_0x307143[_0x44bfaf(0x36e)]({'unitId':_0x4b08a6[_0x4dc572][_0x44bfaf(0x346)],'user':_0x58eb74?'':((_0x5dbe44=_0x3a08a1==null?void 0x0:_0x3a08a1[_0x4b08a6[_0x4dc572][_0x44bfaf(0x373)]])==null?void 0x0:_0x5dbe44[_0x44bfaf(0x3f7)])||'','isAnonymous':_0x58eb74,'id':_0x4dc572,'time':_0x4b08a6[_0x4dc572]['createTime']?Number(_0x4b08a6[_0x4dc572][_0x44bfaf(0x3e5)]):void 0x0,'commands':_0x4b08a6[_0x4dc572][_0x44bfaf(0x1e8)],'startRev':Number(_0x4b08a6[_0x4dc572]['startRevision']),'endRev':Number(_0x4b08a6[_0x4dc572][_0x44bfaf(0x24a)]),'recoverTime':_0x4b08a6[_0x4dc572][_0x44bfaf(0x396)]?Number(_0x4b08a6[_0x4dc572][_0x44bfaf(0x396)]):void 0x0});}return _0x307143;}var _0xf65f41=Object[_0x459fe1(0x23c)],_0x47f300=Object['getOwnPropertyDescriptor'],_0xb7e0c0=(_0x5ad21f,_0x10e4eb,_0x528d19,_0x468a24)=>{for(var _0x349be6=_0x468a24>0x1?void 0x0:_0x468a24?_0x47f300(_0x10e4eb,_0x528d19):_0x10e4eb,_0x57eaea=_0x5ad21f['length']-0x1,_0x233049;_0x57eaea>=0x0;_0x57eaea--)(_0x233049=_0x5ad21f[_0x57eaea])&&(_0x349be6=(_0x468a24?_0x233049(_0x10e4eb,_0x528d19,_0x349be6):_0x233049(_0x349be6))||_0x349be6);return _0x468a24&&_0x349be6&&_0xf65f41(_0x10e4eb,_0x528d19,_0x349be6),_0x349be6;},_0x3d8eed=(_0x794ba1,_0x4a6f7e)=>(_0x505d57,_0x42c141)=>_0x4a6f7e(_0x505d57,_0x42c141,_0x794ba1),_0x4bde80=(_0xe32f5e=>(_0xe32f5e[_0x459fe1(0x2ed)]=_0x459fe1(0x2c8),_0xe32f5e[_0x459fe1(0x3b4)]=_0x459fe1(0x1f0),_0xe32f5e['Error']='error',_0xe32f5e))(_0x4bde80||{}),_0x1eb1f0=(_0x28c6dd=>(_0x28c6dd[_0x459fe1(0x2b0)]=_0x459fe1(0x27a),_0x28c6dd[_0x459fe1(0x36c)]=_0x459fe1(0x21f),_0x28c6dd[_0x459fe1(0x358)]=_0x459fe1(0x2db),_0x28c6dd))(_0x1eb1f0||{});const _0x522374=_0x459fe1(0x26a);_0x3267ca['HistoryManagerService']=class extends _0x25aca1[_0x459fe1(0x2d7)]{constructor(_0x44e037,_0x24ed8a,_0x378761,_0x507381){const _0x4dac9a=_0x459fe1;super(),_0x33fc95(this,_0x4dac9a(0x289),new _0x346ae3[(_0x4dac9a(0x3b6))]([])),_0x33fc95(this,_0x4dac9a(0x2f1),this[_0x4dac9a(0x289)][_0x4dac9a(0x2d6)]()),_0x33fc95(this,'_currentVersion$',new _0x346ae3[(_0x4dac9a(0x3b6))]('')),_0x33fc95(this,'currentVersion$',this[_0x4dac9a(0x210)][_0x4dac9a(0x2d6)]()),_0x33fc95(this,_0x4dac9a(0x380),new _0x346ae3['BehaviorSubject'](_0x4dac9a(0x2c8))),_0x33fc95(this,_0x4dac9a(0x2c0),this[_0x4dac9a(0x380)][_0x4dac9a(0x2d6)]()),_0x33fc95(this,'_revertRevision$',new _0x346ae3[(_0x4dac9a(0x3b6))](0x0)),_0x33fc95(this,'revertRevision$',this[_0x4dac9a(0x252)]['asObservable']()),_0x33fc95(this,_0x4dac9a(0x1e9),new _0x346ae3[(_0x4dac9a(0x3b6))]('')),_0x33fc95(this,_0x4dac9a(0x273),this[_0x4dac9a(0x1e9)][_0x4dac9a(0x2d6)]()),_0x33fc95(this,_0x4dac9a(0x2af),!0x1),_0x33fc95(this,'_loadingState$',new _0x346ae3[(_0x4dac9a(0x3b6))](_0x4dac9a(0x27a))),_0x33fc95(this,_0x4dac9a(0x290),this[_0x4dac9a(0x253)][_0x4dac9a(0x2d6)]()),_0x33fc95(this,_0x4dac9a(0x2a2),null),_0x33fc95(this,_0x4dac9a(0x28b),!0x0),_0x33fc95(this,_0x4dac9a(0x32f),new Map()),_0x33fc95(this,'_historyContainerId'),_0x33fc95(this,_0x4dac9a(0x330)),_0x33fc95(this,_0x4dac9a(0x314)),_0x33fc95(this,_0x4dac9a(0x2d8),!0x1),(this['_messageService']=_0x44e037,this[_0x4dac9a(0x2f5)]=_0x24ed8a,this['_localeService']=_0x378761,this['_historyFetchService']=_0x507381);}async[_0x459fe1(0x2a0)](_0x5b1c93,_0x1d91d4,_0x36eabf){const _0x23c880=_0x459fe1;this[_0x23c880(0x26b)]=_0x1d91d4,this[_0x23c880(0x2d8)]=_0x36eabf,this[_0x23c880(0x1e9)][_0x23c880(0x30e)](_0x5b1c93),this[_0x23c880(0x2af)]=!0x0;const _0x1b9b59=await this[_0x23c880(0x2e9)][_0x23c880(0x3ed)](_0x5b1c93);if(this['_fetching']=!0x1,_0x1b9b59){const {versions:_0x365a23,lastLabel:_0x58727b,hasMore:_0x2c58e7,members:_0x1642a5}=_0x1b9b59;_0x365a23[_0x23c880(0x243)]===0x0&&_0x365a23[_0x23c880(0x36e)]({'unitId':_0x5b1c93,'id':_0x522374,'startRev':0x1,'endRev':0x0,'time':Date[_0x23c880(0x216)](),'user':this[_0x23c880(0x23f)]['t'](_0x23c880(0x303)),'commands':[],'isAnonymous':!0x1}),this[_0x23c880(0x3eb)](_0x365a23,_0x2c58e7,_0x58727b,_0x1642a5),this[_0x23c880(0x210)][_0x23c880(0x30e)](_0x365a23[0x0]['id']);}else this[_0x23c880(0x380)][_0x23c880(0x30e)]('error');}async[_0x459fe1(0x1f9)](){const _0x23b9dd=_0x459fe1;if(!this[_0x23b9dd(0x2a2)]||!this['_hasMore']||this[_0x23b9dd(0x2af)])return!0x1;this[_0x23b9dd(0x2af)]=!0x0;const _0x1a4ea7=await this['_historyFetchService'][_0x23b9dd(0x3ed)](this['unitId'],this[_0x23b9dd(0x2a2)]);if(this[_0x23b9dd(0x2af)]=!0x1,_0x1a4ea7){const {versions:_0x36ddb6,lastLabel:_0x3b7d7a,hasMore:_0x290a9f,members:_0x19f69e}=_0x1a4ea7;this[_0x23b9dd(0x3eb)](_0x36ddb6,_0x290a9f,_0x3b7d7a,_0x19f69e);}else this[_0x23b9dd(0x1de)][_0x23b9dd(0x3ab)]({'content':this[_0x23b9dd(0x23f)]['t'](_0x23b9dd(0x34a)),'type':_0x2239f3['MessageType'][_0x23b9dd(0x2be)],'duration':0xbb8});return!0x0;}async[_0x459fe1(0x1e5)](_0x3172f5){const _0x3f935d=_0x459fe1;var _0x41f001;const _0x3bbd31=(_0x41f001=this[_0x3f935d(0x289)][_0x3f935d(0x36a)])==null?void 0x0:_0x41f001[_0x3f935d(0x29c)](_0x29892f=>_0x29892f['id']===_0x3172f5),{endRev:_0x2976a0}=_0x3bbd31||{};_0x2976a0||_0x2976a0===0x0?(this['_loadingState$'][_0x3f935d(0x30e)]('loading'),await this[_0x3f935d(0x2e9)][_0x3f935d(0x23b)](this[_0x3f935d(0x346)],_0x2976a0),this[_0x3f935d(0x253)][_0x3f935d(0x30e)](_0x3f935d(0x2db))):this[_0x3f935d(0x380)][_0x3f935d(0x30e)](_0x3f935d(0x225));}async['triggerRevert'](_0x351efa){const _0x36bf3c=_0x459fe1,_0x450d15=_0x351efa?this[_0x36bf3c(0x2fb)](_0x351efa):this['getCurrentVersion']();if(!_0x450d15)return;const _0x431ed7=_0x450d15[_0x36bf3c(0x3d0)],_0x27c2f8=_0x145d7c(_0x450d15[_0x36bf3c(0x2e5)],this[_0x36bf3c(0x23f)]['getCurrentLocale']());await this[_0x36bf3c(0x2f5)][_0x36bf3c(0x312)]({'id':_0x36bf3c(0x214),'title':{'title':this[_0x36bf3c(0x23f)]['t']('editHistory.panel.revertConfirm')},'children':{'title':this[_0x36bf3c(0x23f)]['t'](_0x36bf3c(0x2ae))+_0x36bf3c(0x38b)+_0x27c2f8[_0x36bf3c(0x3d9)]+'\x20'+_0x27c2f8[_0x36bf3c(0x2e5)]+')'}})&&this[_0x36bf3c(0x252)]['next'](_0x431ed7);}[_0x459fe1(0x3eb)](_0x10fb7e,_0xaf0bd1,_0x285263,_0x3f2144){const _0x3140fa=_0x459fe1;this[_0x3140fa(0x289)]['next'](this[_0x3140fa(0x289)]['value']['concat'](_0x10fb7e)),this[_0x3140fa(0x28b)]=_0xaf0bd1,this[_0x3140fa(0x2a2)]=_0x285263,_0x3f2144&&Object[_0x3140fa(0x39c)](_0x3f2144)[_0x3140fa(0x2ec)](_0x3e9672=>this[_0x3140fa(0x32f)][_0x3140fa(0x229)](_0x3e9672,_0x3f2144[_0x3e9672]));}[_0x459fe1(0x375)](){const _0x1cf4b7=_0x459fe1;return this[_0x1cf4b7(0x2fb)](this[_0x1cf4b7(0x210)][_0x1cf4b7(0x36a)]);}['getVersion'](_0x44d49e){const _0x231fa5=_0x459fe1;var _0xa47843;return(_0xa47843=this[_0x231fa5(0x289)][_0x231fa5(0x36a)])==null?void 0x0:_0xa47843[_0x231fa5(0x29c)](_0xacd8f0=>_0xacd8f0['id']===_0x44d49e);}['getMember'](_0x5e4352){const _0x41bec2=_0x459fe1;return this[_0x41bec2(0x32f)][_0x41bec2(0x200)](_0x5e4352);}['_createMask'](){const _0x53ccc0=_0x459fe1;this[_0x53ccc0(0x314)]=document['createElement'](_0x53ccc0(0x3da)),this[_0x53ccc0(0x314)][_0x53ccc0(0x309)]='history-mask',this[_0x53ccc0(0x314)][_0x53ccc0(0x3f6)]['position']=_0x53ccc0(0x376),this['_maskElement']['style'][_0x53ccc0(0x3ea)]='0',this['_maskElement']['style'][_0x53ccc0(0x2cb)]='0',this[_0x53ccc0(0x314)][_0x53ccc0(0x3f6)]['width']=_0x53ccc0(0x399),this[_0x53ccc0(0x314)]['style']['height']=_0x53ccc0(0x399),this[_0x53ccc0(0x314)]['style'][_0x53ccc0(0x313)]=_0x53ccc0(0x377),this[_0x53ccc0(0x314)][_0x53ccc0(0x3f6)]['color']=_0x53ccc0(0x35c),this[_0x53ccc0(0x314)][_0x53ccc0(0x3f6)][_0x53ccc0(0x3db)]='flex',this[_0x53ccc0(0x314)][_0x53ccc0(0x3f6)][_0x53ccc0(0x27c)]=_0x53ccc0(0x385),this['_maskElement'][_0x53ccc0(0x3f6)][_0x53ccc0(0x1e3)]='1000',this[_0x53ccc0(0x314)]['style'][_0x53ccc0(0x3db)]=_0x53ccc0(0x1e6),this[_0x53ccc0(0x330)][_0x53ccc0(0x3bf)](this[_0x53ccc0(0x314)]);}['_initMaskContainer'](){const _0x4b8435=_0x459fe1;var _0x192df6;const _0x2213e4=(_0x192df6=document[_0x4b8435(0x31f)](this[_0x4b8435(0x26b)]))==null?void 0x0:_0x192df6[_0x4b8435(0x21a)](_0x4b8435(0x1fc));_0x2213e4&&(this['_maskContainer']=_0x2213e4,this[_0x4b8435(0x37f)]());}[_0x459fe1(0x28e)](){const _0x311d9a=_0x459fe1;this[_0x311d9a(0x330)]||this[_0x311d9a(0x315)](),this['_maskElement']&&(this[_0x311d9a(0x314)][_0x311d9a(0x3f6)][_0x311d9a(0x3db)]=_0x311d9a(0x1d7));}[_0x459fe1(0x226)](){const _0x433a43=_0x459fe1;this[_0x433a43(0x314)]&&(this[_0x433a43(0x314)]['style'][_0x433a43(0x3db)]=_0x433a43(0x1e6));}set[_0x459fe1(0x2d5)](_0x505916){const _0x2efede=_0x459fe1;this[_0x2efede(0x380)][_0x2efede(0x30e)](_0x505916);}set[_0x459fe1(0x249)](_0x51ca84){const _0x12ef6b=_0x459fe1;_0x51ca84!==this[_0x12ef6b(0x210)]['value']&&this[_0x12ef6b(0x210)][_0x12ef6b(0x30e)](_0x51ca84);}get[_0x459fe1(0x249)](){const _0x8bbdae=_0x459fe1;return this[_0x8bbdae(0x210)][_0x8bbdae(0x36a)];}set[_0x459fe1(0x346)](_0x1a658b){const _0x3d6d3e=_0x459fe1;this[_0x3d6d3e(0x1e9)][_0x3d6d3e(0x30e)](_0x1a658b);}get[_0x459fe1(0x346)](){const _0x2ec6a3=_0x459fe1;return this['_unitId$'][_0x2ec6a3(0x36a)];}get[_0x459fe1(0x35a)](){return this['_canRevert'];}get['loadingState'](){const _0x1cfbda=_0x459fe1;return this[_0x1cfbda(0x253)][_0x1cfbda(0x36a)];}},_0x3267ca['HistoryManagerService']=_0xb7e0c0([_0x3d8eed(0x0,_0x2381ad[_0x459fe1(0x30f)]),_0x3d8eed(0x1,_0x2381ad['IConfirmService']),_0x3d8eed(0x2,_0x25aca1[_0x459fe1(0x242)](_0x25aca1[_0x459fe1(0x1fe)])),_0x3d8eed(0x3,_0x25aca1[_0x459fe1(0x242)](_0x309565))],_0x3267ca['HistoryManagerService']);var _0x473545=function(){const _0x4c495c=_0x459fe1;return _0x473545=Object[_0x4c495c(0x251)]||function(_0x567eb4){const _0x458398=_0x4c495c;for(var _0x3f5fa7,_0x3a2e7d=0x1,_0xb6654b=arguments['length'];_0x3a2e7d<_0xb6654b;_0x3a2e7d++){_0x3f5fa7=arguments[_0x3a2e7d];for(var _0x27b1a3 in _0x3f5fa7)Object['prototype'][_0x458398(0x374)][_0x458398(0x3c2)](_0x3f5fa7,_0x27b1a3)&&(_0x567eb4[_0x27b1a3]=_0x3f5fa7[_0x27b1a3]);}return _0x567eb4;},_0x473545[_0x4c495c(0x207)](this,arguments);},_0x59b8fd=function(_0x2c155b,_0x30913a){const _0x29495b=_0x459fe1;var _0x3c7277={};for(var _0x127bf2 in _0x2c155b)Object[_0x29495b(0x280)][_0x29495b(0x374)]['call'](_0x2c155b,_0x127bf2)&&_0x30913a[_0x29495b(0x2d0)](_0x127bf2)<0x0&&(_0x3c7277[_0x127bf2]=_0x2c155b[_0x127bf2]);if(_0x2c155b!=null&&typeof Object[_0x29495b(0x337)]==_0x29495b(0x2ee)){for(var _0x3792da=0x0,_0x127bf2=Object['getOwnPropertySymbols'](_0x2c155b);_0x3792da<_0x127bf2['length'];_0x3792da++)_0x30913a[_0x29495b(0x2d0)](_0x127bf2[_0x3792da])<0x0&&Object[_0x29495b(0x280)]['propertyIsEnumerable'][_0x29495b(0x3c2)](_0x2c155b,_0x127bf2[_0x3792da])&&(_0x3c7277[_0x127bf2[_0x3792da]]=_0x2c155b[_0x127bf2[_0x3792da]]);}return _0x3c7277;},_0x4e82a7=_0x40a2bc[_0x459fe1(0x285)](function(_0x2964d5,_0x50fe63){const _0x7279f0=_0x459fe1;var _0x45fe97=_0x2964d5[_0x7279f0(0x261)],_0x701352=_0x2964d5['id'],_0x3df372=_0x2964d5[_0x7279f0(0x309)],_0x52d32d=_0x2964d5[_0x7279f0(0x2c2)],_0x205cab=_0x59b8fd(_0x2964d5,[_0x7279f0(0x261),'id',_0x7279f0(0x309),_0x7279f0(0x2c2)]),_0x532d4e=_0x7279f0(0x3e8)[_0x7279f0(0x397)](_0x701352,'\x20')[_0x7279f0(0x397)](_0x3df372||'')[_0x7279f0(0x23e)](),_0x3ccc46=_0x40a2bc[_0x7279f0(0x386)]('_'[_0x7279f0(0x397)](_0x5348ba()));return _0x1d609e(_0x45fe97,''[_0x7279f0(0x397)](_0x701352),{'defIds':_0x45fe97['defIds'],'idSuffix':_0x3ccc46[_0x7279f0(0x1ff)]},_0x473545({'ref':_0x50fe63,'className':_0x532d4e},_0x205cab),_0x52d32d);});function _0x1d609e(_0x539224,_0x1ac516,_0x1c2650,_0x4c5fd4,_0x4b7e69){const _0x2fd54f=_0x459fe1;return _0x40a2bc[_0x2fd54f(0x302)](_0x539224[_0x2fd54f(0x32a)],_0x473545(_0x473545({'key':_0x1ac516},_0x3984b4(_0x539224,_0x1c2650,_0x4b7e69)),_0x4c5fd4),(_0x51de97(_0x539224,_0x1c2650)[_0x2fd54f(0x33c)]||[])[_0x2fd54f(0x258)](function(_0xae5f6a,_0x50fad7){const _0x393e40=_0x2fd54f;return _0x1d609e(_0xae5f6a,''[_0x393e40(0x397)](_0x1ac516,'-')[_0x393e40(0x397)](_0x539224[_0x393e40(0x32a)],'-')[_0x393e40(0x397)](_0x50fad7),_0x1c2650,void 0x0,_0x4b7e69);}));}function _0x3984b4(_0x8fa823,_0x223846,_0x4db09f){const _0x54a127=_0x459fe1;var _0x435bf0=_0x473545({},_0x8fa823[_0x54a127(0x22f)]);_0x4db09f!=null&&_0x4db09f[_0x54a127(0x291)]&&_0x435bf0[_0x54a127(0x1f3)]==='colorChannel1'&&(_0x435bf0[_0x54a127(0x1f3)]=_0x4db09f[_0x54a127(0x291)]);var _0x457e75=_0x223846[_0x54a127(0x339)];return!_0x457e75||_0x457e75[_0x54a127(0x243)]===0x0||(_0x8fa823[_0x54a127(0x32a)]==='use'&&_0x435bf0[_0x54a127(0x3e6)]&&(_0x435bf0[_0x54a127(0x3e6)]=_0x435bf0[_0x54a127(0x3e6)]+_0x223846[_0x54a127(0x1fb)]),Object[_0x54a127(0x327)](_0x435bf0)[_0x54a127(0x2ec)](function(_0x2be846){const _0x544a15=_0x54a127;var _0x1021be=_0x2be846[0x0],_0x3eebcb=_0x2be846[0x1];typeof _0x3eebcb==_0x544a15(0x20d)&&(_0x435bf0[_0x1021be]=_0x3eebcb[_0x544a15(0x2fe)](/url\(#(.*)\)/,_0x544a15(0x3fa)[_0x544a15(0x397)](_0x223846['idSuffix'],')')));})),_0x435bf0;}function _0x51de97(_0x3b6fc,_0x25b5c2){const _0x287e50=_0x459fe1;var _0x26f8c9,_0x32f58f=_0x25b5c2[_0x287e50(0x339)];return!_0x32f58f||_0x32f58f['length']===0x0?_0x3b6fc:_0x3b6fc['tag']===_0x287e50(0x22e)&&(!((_0x26f8c9=_0x3b6fc[_0x287e50(0x33c)])===null||_0x26f8c9===void 0x0)&&_0x26f8c9[_0x287e50(0x243)])?_0x473545(_0x473545({},_0x3b6fc),{'children':_0x3b6fc[_0x287e50(0x33c)][_0x287e50(0x258)](function(_0x52a090){const _0x118640=_0x287e50;return typeof _0x52a090[_0x118640(0x22f)]['id']==_0x118640(0x20d)&&_0x32f58f&&_0x32f58f['indexOf'](_0x52a090[_0x118640(0x22f)]['id'])>-0x1?_0x473545(_0x473545({},_0x52a090),{'attrs':_0x473545(_0x473545({},_0x52a090[_0x118640(0x22f)]),{'id':_0x52a090[_0x118640(0x22f)]['id']+_0x25b5c2[_0x118640(0x1fb)]})}):_0x52a090;})}):_0x3b6fc;}function _0x5348ba(){const _0x448eef=_0x459fe1;return Math['random']()['toString'](0x24)[_0x448eef(0x3c6)](0x2,0x8);}_0x4e82a7[_0x459fe1(0x269)]=_0x459fe1(0x2de);var _0x1f036d={'tag':_0x459fe1(0x2ad),'attrs':{'fill':_0x459fe1(0x1e6),'viewBox':_0x459fe1(0x364),'width':'1em','height':_0x459fe1(0x1f2)},'children':[{'tag':'path','attrs':{'fill':_0x459fe1(0x3a0),'d':_0x459fe1(0x2c5)}}]},_0x8ee08c=_0x40a2bc[_0x459fe1(0x285)](function(_0x31c6f4,_0x32ac77){const _0x3f3220=_0x459fe1;return _0x40a2bc[_0x3f3220(0x302)](_0x4e82a7,Object[_0x3f3220(0x251)]({},_0x31c6f4,{'id':_0x3f3220(0x2b5),'ref':_0x32ac77,'icon':_0x1f036d}));});_0x8ee08c[_0x459fe1(0x269)]=_0x459fe1(0x3af);var _0x587df5={'tag':_0x459fe1(0x2ad),'attrs':{'fill':'none','viewBox':_0x459fe1(0x364),'width':_0x459fe1(0x1f2),'height':_0x459fe1(0x1f2)},'children':[{'tag':_0x459fe1(0x36f),'attrs':{'fill':_0x459fe1(0x291),'d':'M8.00695\x2014.9998C8.00461\x2014.9999\x208.00227\x2014.9999\x207.99993\x2014.9999C4.13397\x2014.9999\x201\x2011.8659\x201\x207.99995C1\x204.13624\x204.13035\x201.00365\x207.99321\x201.00003C7.9955\x201.00001\x207.99779\x201\x208.00008\x201C11.866\x201\x2015\x204.13397\x2015\x207.99993C15\x2011.8636\x2011.8697\x2014.9961\x208.00695\x2014.9998ZM13.3569\x208.01503C13.3568\x208.01001\x2013.3568\x208.00499\x2013.3568\x207.99995C13.3568\x205.04144\x2010.9584\x202.64309\x207.99993\x202.64309C5.04645\x202.64309\x202.65123\x205.03327\x202.64308\x207.98484C2.64317\x207.98986\x202.64322\x207.99489\x202.64322\x207.99993C2.64322\x2010.9584\x205.04157\x2013.3568\x208.00008\x2013.3568C10.9536\x2013.3568\x2013.3488\x2010.9666\x2013.3569\x208.01503Z','fillRule':_0x459fe1(0x241),'clipRule':'evenodd'}},{'tag':_0x459fe1(0x36f),'attrs':{'fill':_0x459fe1(0x3a0),'d':_0x459fe1(0x236),'fillRule':_0x459fe1(0x241),'clipRule':_0x459fe1(0x241)}}]},_0x505aac=_0x40a2bc[_0x459fe1(0x285)](function(_0x11c356,_0x2e2631){const _0x1a4b78=_0x459fe1;return _0x40a2bc[_0x1a4b78(0x302)](_0x4e82a7,Object[_0x1a4b78(0x251)]({},_0x11c356,{'id':_0x1a4b78(0x21f),'ref':_0x2e2631,'icon':_0x587df5}));});_0x505aac[_0x459fe1(0x269)]=_0x459fe1(0x36c);var _0x2947dd={'tag':'svg','attrs':{'fill':_0x459fe1(0x1e6),'viewBox':'0\x200\x2016\x2017','width':_0x459fe1(0x1f2),'height':_0x459fe1(0x1f2)},'children':[{'tag':'g','attrs':{'fill':_0x459fe1(0x3a0),'clipPath':_0x459fe1(0x2a5)},'children':[{'tag':_0x459fe1(0x36f),'attrs':{'d':_0x459fe1(0x33e)}},{'tag':_0x459fe1(0x36f),'attrs':{'d':_0x459fe1(0x29d),'fillRule':'evenodd','clipRule':_0x459fe1(0x241)}}]},{'tag':_0x459fe1(0x22e),'attrs':{},'children':[{'tag':_0x459fe1(0x387),'attrs':{'id':_0x459fe1(0x317)},'children':[{'tag':_0x459fe1(0x1ed),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x459fe1(0x2e8),'rx':0x4}}]}]}],'defIds':['restore-single_clip0_1247_2']},_0x450c28=_0x40a2bc[_0x459fe1(0x285)](function(_0xa6dd08,_0x4cacbd){const _0x145bee=_0x459fe1;return _0x40a2bc[_0x145bee(0x302)](_0x4e82a7,Object[_0x145bee(0x251)]({},_0xa6dd08,{'id':'restore-single','ref':_0x4cacbd,'icon':_0x2947dd}));});_0x450c28['displayName']='RestoreSingle';const _0xc6f63e={'versionListPanel':_0x459fe1(0x36d),'versionListPanelContent':_0x459fe1(0x26c),'versionDate':'univer-version-date','versionItem':'univer-version-item','versionItemHeader':'univer-version-item-header','versionItemHeaderExpand':_0x459fe1(0x277),'versionItemHeaderTime':_0x459fe1(0x3f5),'versionItemHeaderTimeTag':_0x459fe1(0x394),'versionItemHeaderRevert':_0x459fe1(0x25f),'versionItemContent':_0x459fe1(0x3bb),'active':_0x459fe1(0x201),'historyViewHeader':_0x459fe1(0x350),'historyViewHeaderBack':'univer-history-view-header-back','historyViewHeaderBackText':_0x459fe1(0x205),'historyViewHeaderRevert':_0x459fe1(0x3e3),'versionListLoading':_0x459fe1(0x2b4),'versionListLoadingIcon':_0x459fe1(0x360),'loadingSpin':'univer-loading-spin'};function _0x3317c2(){const _0x25db5f=_0x459fe1;var _0x38fd7c;const _0x2f0ac3=_0x25aca1[_0x25db5f(0x38e)](_0x3267ca[_0x25db5f(0x335)]),_0x5e7f54=_0x25aca1[_0x25db5f(0x38e)](_0x25aca1[_0x25db5f(0x1fe)]),_0x4e9b60=_0x40a2bc[_0x25db5f(0x311)](()=>{const _0x36631a=_0x25db5f;_0x2f0ac3['status']=_0x4bde80[_0x36631a(0x3b4)];},[_0x2f0ac3]),_0x59ac84=_0x40a2bc[_0x25db5f(0x311)](()=>{const _0x39a5f2=_0x25db5f;_0x2f0ac3[_0x39a5f2(0x2cf)]();},[_0x2f0ac3]),_0x4c34f8=_0x2381ad[_0x25db5f(0x25d)](_0x2f0ac3[_0x25db5f(0x3e1)]),_0x1542ed=_0x2381ad[_0x25db5f(0x25d)](_0x2f0ac3[_0x25db5f(0x2f1)]),_0x2aee6e=!(_0x4c34f8===((_0x38fd7c=_0x1542ed==null?void 0x0:_0x1542ed[0x0])==null?void 0x0:_0x38fd7c['id']))&&_0x2f0ac3['canRevert'];return _0x40a2bc['createElement'](_0x25db5f(0x3da),{'className':_0xc6f63e['historyViewHeader']},_0x40a2bc[_0x25db5f(0x302)](_0x25db5f(0x3da),{'onClick':_0x4e9b60,'className':_0xc6f63e[_0x25db5f(0x2ca)]},_0x40a2bc[_0x25db5f(0x302)](_0x8ee08c,{'style':{'fontSize':'24px'}})),_0x40a2bc[_0x25db5f(0x302)]('div',{'className':_0xc6f63e[_0x25db5f(0x24c)]},_0x2aee6e&&_0x40a2bc[_0x25db5f(0x302)](_0x2239f3[_0x25db5f(0x2eb)],{'type':_0x25db5f(0x2b6),'onClick':_0x59ac84},_0x5e7f54['t']('editHistory.header.revert'))));}var _0x2810db=Object[_0x459fe1(0x23c)],_0x1b4a7c=Object[_0x459fe1(0x2a9)],_0x4df56b=(_0x5190c6,_0x76a286,_0x3a277b,_0x176228)=>{const _0x5b77a3=_0x459fe1;for(var _0x1c28e7=_0x176228>0x1?void 0x0:_0x176228?_0x1b4a7c(_0x76a286,_0x3a277b):_0x76a286,_0x1af0cd=_0x5190c6[_0x5b77a3(0x243)]-0x1,_0x47de0a;_0x1af0cd>=0x0;_0x1af0cd--)(_0x47de0a=_0x5190c6[_0x1af0cd])&&(_0x1c28e7=(_0x176228?_0x47de0a(_0x76a286,_0x3a277b,_0x1c28e7):_0x47de0a(_0x1c28e7))||_0x1c28e7);return _0x176228&&_0x1c28e7&&_0x2810db(_0x76a286,_0x3a277b,_0x1c28e7),_0x1c28e7;},_0x45600c=(_0x5e5eae,_0x1709a6)=>(_0x54b56b,_0xfc4c2f)=>_0x1709a6(_0x54b56b,_0xfc4c2f,_0x5e5eae);let _0x2676fc=class extends _0x25aca1[_0x459fe1(0x2d7)]{constructor(_0xae70fb,_0x36f837,_0x386f5e,_0x43a884,_0x4b48ed,_0x10c01a){const _0x1c3956=_0x459fe1;super(),_0x33fc95(this,_0x1c3956(0x3cd)),(this[_0x1c3956(0x228)]=_0xae70fb,this[_0x1c3956(0x265)]=_0x36f837,this[_0x1c3956(0x1de)]=_0x386f5e,this[_0x1c3956(0x23f)]=_0x43a884,this[_0x1c3956(0x328)]=_0x4b48ed,this['_injector']=_0x10c01a,this['_init']());}[_0x459fe1(0x33d)](){const _0x23f248=_0x459fe1;this[_0x23f248(0x1d8)](this[_0x23f248(0x328)][_0x23f248(0x3e1)][_0x23f248(0x1f7)](_0x516fdf=>{const _0x36e147=_0x23f248;_0x516fdf&&this[_0x36e147(0x328)][_0x36e147(0x1e5)](_0x516fdf);})),this[_0x23f248(0x1d8)](this[_0x23f248(0x228)][_0x23f248(0x25a)][_0x23f248(0x1f7)](_0x1fb10e=>{const _0x36bc87=_0x23f248,_0x4c9ca0=this[_0x36bc87(0x328)]['unitId'];_0x4c9ca0&&(_0x1fb10e[_0x36bc87(0x1ee)]===_0x4fe704[_0x36bc87(0x3aa)]&&_0x1fb10e[_0x36bc87(0x36a)]===!0x0&&this['_permissionService'][_0x36bc87(0x35d)](new _0x2f4e36[(_0x36bc87(0x2c4))](_0x4c9ca0)['id'],!0x1),_0x1fb10e[_0x36bc87(0x1ee)]===_0x4fe704['RenameSheet']&&_0x1fb10e['value']===!0x0&&this['_permissionService'][_0x36bc87(0x35d)](new _0x2f4e36[(_0x36bc87(0x372))](_0x4c9ca0)['id'],!0x1),_0x1fb10e['subType']===_0x4fe704['MoveSheet']&&_0x1fb10e[_0x36bc87(0x36a)]===!0x0&&this[_0x36bc87(0x228)][_0x36bc87(0x35d)](new _0x2f4e36[(_0x36bc87(0x3c5))](_0x4c9ca0)['id'],!0x1),_0x1fb10e[_0x36bc87(0x1ee)]===_0x4fe704['HideSheet']&&_0x1fb10e[_0x36bc87(0x36a)]===!0x0&&this[_0x36bc87(0x228)]['updatePermissionPoint'](new _0x2f4e36[(_0x36bc87(0x286))](_0x4c9ca0)['id'],!0x1),_0x1fb10e[_0x36bc87(0x1ee)]===_0x4fe704[_0x36bc87(0x202)]&&_0x1fb10e[_0x36bc87(0x36a)]===!0x0&&this[_0x36bc87(0x228)][_0x36bc87(0x35d)](new _0x2f4e36[(_0x36bc87(0x2c4))](_0x4c9ca0)['id'],!0x1),_0x1fb10e['subType']===_0x4fe704[_0x36bc87(0x26e)]&&_0x1fb10e['value']===!0x0&&this[_0x36bc87(0x228)]['updatePermissionPoint'](new _0x2f4e36['WorkbookEditablePermission'](_0x4c9ca0)['id'],!0x1));})),this[_0x23f248(0x1d8)](this['_uiPartsService'][_0x23f248(0x2ff)](_0x2381ad[_0x23f248(0x206)][_0x23f248(0x3b2)],()=>_0x25aca1[_0x23f248(0x2d3)](_0x3317c2,this[_0x23f248(0x344)]))),this['disposeWithMe'](this['_historyManagerService'][_0x23f248(0x290)][_0x23f248(0x1f7)](_0x22bb8f=>{const _0x2f36a0=_0x23f248;var _0x4409dc;_0x22bb8f===_0x1eb1f0[_0x2f36a0(0x36c)]&&(this[_0x2f36a0(0x328)][_0x2f36a0(0x28e)](),this[_0x2f36a0(0x3cd)]=this[_0x2f36a0(0x1de)]['show']({'type':_0x2239f3[_0x2f36a0(0x357)][_0x2f36a0(0x3bc)],'content':this['_localeService']['t'](_0x2f36a0(0x28c))})),_0x22bb8f===_0x1eb1f0[_0x2f36a0(0x358)]&&((_0x4409dc=this[_0x2f36a0(0x3cd)])==null||_0x4409dc[_0x2f36a0(0x2a3)](),this[_0x2f36a0(0x328)][_0x2f36a0(0x226)]());}));}};_0x2676fc=_0x4df56b([_0x45600c(0x0,_0x25aca1[_0x459fe1(0x333)]),_0x45600c(0x1,_0x2381ad[_0x459fe1(0x288)]),_0x45600c(0x2,_0x2381ad[_0x459fe1(0x30f)]),_0x45600c(0x3,_0x25aca1[_0x459fe1(0x242)](_0x25aca1['LocaleService'])),_0x45600c(0x4,_0x25aca1[_0x459fe1(0x242)](_0x3267ca[_0x459fe1(0x335)])),_0x45600c(0x5,_0x25aca1[_0x459fe1(0x242)](_0x25aca1[_0x459fe1(0x390)]))],_0x2676fc);var _0x3da51a=Object[_0x459fe1(0x23c)],_0x237a96=Object[_0x459fe1(0x2a9)],_0x1d0e5a=(_0x3efe76,_0x48f9e9,_0x281049,_0x2c8d2b)=>{const _0x1193e0=_0x459fe1;for(var _0x5b8f50=_0x2c8d2b>0x1?void 0x0:_0x2c8d2b?_0x237a96(_0x48f9e9,_0x281049):_0x48f9e9,_0x46dd88=_0x3efe76[_0x1193e0(0x243)]-0x1,_0x1a45f2;_0x46dd88>=0x0;_0x46dd88--)(_0x1a45f2=_0x3efe76[_0x46dd88])&&(_0x5b8f50=(_0x2c8d2b?_0x1a45f2(_0x48f9e9,_0x281049,_0x5b8f50):_0x1a45f2(_0x5b8f50))||_0x5b8f50);return _0x2c8d2b&&_0x5b8f50&&_0x3da51a(_0x48f9e9,_0x281049,_0x5b8f50),_0x5b8f50;},_0x42bc66=(_0x575fc2,_0x1da746)=>(_0x238887,_0x58f18d)=>_0x1da746(_0x238887,_0x58f18d,_0x575fc2);let _0x2cbb15=class extends _0x25aca1[_0x459fe1(0x2d7)]{constructor(_0x26f655,_0x16a966,_0x8f6e3a){const _0x471ced=_0x459fe1;super(),_0x33fc95(this,_0x471ced(0x248),new Map()),_0x33fc95(this,'_currentVersionDiff$',new _0x346ae3[(_0x471ced(0x3b6))]({'ranges':new Map(),'active':null})),_0x33fc95(this,_0x471ced(0x1e2),this['_currentVersionDiff$'][_0x471ced(0x2d6)]()),(this[_0x471ced(0x328)]=_0x26f655,this[_0x471ced(0x25b)]=_0x16a966,this[_0x471ced(0x24e)]=_0x8f6e3a,this[_0x471ced(0x33d)]());}[_0x459fe1(0x33d)](){const _0x11f102=_0x459fe1;this['_diffRangesMap']=new Map(),this[_0x11f102(0x1d8)](this[_0x11f102(0x328)][_0x11f102(0x273)][_0x11f102(0x1f7)](_0x45ff36=>{const _0x1baf2b=_0x11f102;_0x45ff36&&!this[_0x1baf2b(0x248)][_0x1baf2b(0x361)](_0x45ff36)&&this[_0x1baf2b(0x248)][_0x1baf2b(0x229)](_0x45ff36,new Map());})),this['disposeWithMe'](this[_0x11f102(0x328)][_0x11f102(0x3e1)][_0x11f102(0x1f7)](async _0x597a2a=>{const _0x4702e1=_0x11f102;var _0x50a8f3;_0x597a2a&&(await this['ensureVersion'](_0x597a2a),this['_currentVersionDiff$'][_0x4702e1(0x30e)](((_0x50a8f3=this['_diffRangesMap']['get'](this['_historyManagerService']['unitId']))==null?void 0x0:_0x50a8f3[_0x4702e1(0x200)](_0x597a2a))||{'ranges':new Map(),'active':null}));}));}async['ensureVersion'](_0x5a7e26){const _0x46afc7=_0x459fe1;var _0x12cc59,_0x124653;const _0x3924e0=this[_0x46afc7(0x328)][_0x46afc7(0x2fb)](_0x5a7e26),_0xa682d=this[_0x46afc7(0x328)]['unitId'];if(!_0x3924e0||!_0xa682d)return;const _0x40ad33=this['_diffRangesMap']['get'](_0xa682d);if(_0x40ad33||this[_0x46afc7(0x248)][_0x46afc7(0x229)](_0xa682d,new Map()),(_0x12cc59=this['_diffRangesMap']['get'](_0xa682d))!=null&&_0x12cc59[_0x46afc7(0x361)](_0x3924e0['id']))return;const {startRev:_0x5a44de,endRev:_0x34115c}=_0x3924e0;if(_0x5a44de===0x1){_0x40ad33[_0x46afc7(0x229)](_0x3924e0['id'],{'ranges':new Map(),'active':null});return;}const _0x15b9b8=_0x5a44de-0x1,_0x2b56be=_0x34115c,_0x1839e1=await this['_snapshotServerService'][_0x46afc7(0x340)]({},{'unitID':_0xa682d,'from':_0x15b9b8,'to':_0x2b56be,'type':_0x565cc4[_0x46afc7(0x2dc)]});if(((_0x124653=_0x1839e1['error'])==null?void 0x0:_0x124653[_0x46afc7(0x37d)])===_0x5ab8d9['OK']){const _0x35d935=_0x1839e1['changesets']['map'](_0x321529['parseProtocolChangeset'])[_0x46afc7(0x258)](_0xc4fb58=>_0xc4fb58[_0x46afc7(0x2e2)]['map'](_0x3d8813=>({..._0x3d8813,'params':{..._0x3d8813['params'],'memberId':_0xc4fb58[_0x46afc7(0x349)]}})))['flat'](),_0x5e10b2=this['_transformMutationByOrder'](_0x35d935),_0x586fff=this[_0x46afc7(0x272)](_0x35d935),_0x418e00=this['_extractRanges'](_0x5e10b2);_0x40ad33[_0x46afc7(0x229)](_0x3924e0['id'],{'ranges':_0x418e00,'active':_0x586fff});}}['_transformMutationByOrder'](_0x333829){const _0x387b89=_0x459fe1;let _0x16241e=[];for(let _0x207e23=0x0;_0x207e23<_0x333829[_0x387b89(0x243)];_0x207e23++){const _0x4f7142=_0x333829[_0x207e23];if(_0x16241e[_0x387b89(0x36e)](_0x4f7142),_0x207e23!==_0x333829['length']-0x1){const _0x548414=_0x333829[_0x207e23+0x1],_0x572c01=this[_0x387b89(0x25b)][_0x387b89(0x221)](_0x16241e,[_0x548414]);_0x321529[_0x387b89(0x2c3)](_0x572c01)?_0x16241e=_0x572c01[_0x387b89(0x3e7)]:_0x16241e=[];}}return _0x16241e;}[_0x459fe1(0x272)](_0x44ed78){const _0x2efb3a=_0x459fe1;let _0x5eb78e=[];return _0x44ed78[_0x2efb3a(0x2ec)](_0x4455ec=>{const _0xe3660a=_0x2efb3a;if(_0x4455ec['id']===_0x2f4e36[_0xe3660a(0x331)]['id']){const _0x3bf59e=_0x4455ec[_0xe3660a(0x283)];_0x5eb78e['push'](_0x3bf59e[_0xe3660a(0x278)]['id']);}else{if(_0x4455ec['id']===_0x2f4e36[_0xe3660a(0x341)]['id']){const _0x550711=_0x4455ec[_0xe3660a(0x283)];_0x5eb78e[_0xe3660a(0x243)]>0x0&&(_0x5eb78e=_0x5eb78e['filter'](_0x4a4668=>_0x4a4668!==_0x550711['subUnitId']));}else{if(_0x4455ec['id']===_0x2f4e36[_0xe3660a(0x3e9)]['id']){const _0x4babda=_0x4455ec[_0xe3660a(0x283)];_0x4babda['hidden']?_0x5eb78e=_0x5eb78e['filter'](_0x59cb95=>_0x59cb95!==_0x4babda[_0xe3660a(0x2e7)]):_0x5eb78e[_0xe3660a(0x36e)](_0x4babda['subUnitId']);}else{const _0x4f0ee0=_0x4455ec[_0xe3660a(0x283)];_0x4f0ee0[_0xe3660a(0x2e7)]&&_0x5eb78e[_0xe3660a(0x36e)](_0x4f0ee0[_0xe3660a(0x2e7)]);}}}}),_0x5eb78e['length']>0x0?_0x5eb78e[_0x5eb78e[_0x2efb3a(0x243)]-0x1]:null;}[_0x459fe1(0x2cd)](_0x165c72){const _0x42314c=_0x459fe1,_0xefbe6b=new Map();return _0x165c72[_0x42314c(0x2ec)](_0x3c7d54=>{const _0x133623=_0x42314c;var _0x1f162d,_0x386775;const _0x4bc6c7=(_0x1f162d=_0x3c7d54[_0x133623(0x283)])==null?void 0x0:_0x1f162d['memberId'];if(_0x4bc6c7){_0xefbe6b[_0x133623(0x361)](_0x4bc6c7)||_0xefbe6b[_0x133623(0x229)](_0x4bc6c7,[]);const _0x21c98e=this[_0x133623(0x27d)](_0x3c7d54);(_0x386775=_0xefbe6b[_0x133623(0x200)](_0x4bc6c7))==null||_0x386775[_0x133623(0x36e)](..._0x21c98e);}}),_0xefbe6b['forEach']((_0x5052e2,_0x49af61)=>{const _0x335152=_0x42314c;_0xefbe6b[_0x335152(0x229)](_0x49af61,this[_0x335152(0x319)](_0x5052e2));}),_0xefbe6b;}[_0x459fe1(0x27d)](_0x330e80){const _0x1a2559=_0x459fe1;switch(_0x330e80['id']){case _0x2f4e36[_0x1a2559(0x233)]['id']:{const _0x4204d8=_0x330e80[_0x1a2559(0x283)];return _0x4204d8[_0x1a2559(0x2f7)]['map'](_0xf6c131=>_0xf6c131[_0x1a2559(0x3dc)][_0x1a2559(0x258)](_0x4d94e4=>({'range':_0x4d94e4,'unitId':_0x4204d8[_0x1a2559(0x346)],'subUnitId':_0x4204d8[_0x1a2559(0x2e7)]})))['flat']();}case _0x2f4e36['AddWorksheetMergeMutation']['id']:{const _0x8d932f=_0x330e80[_0x1a2559(0x283)];return _0x8d932f[_0x1a2559(0x3dc)][_0x1a2559(0x258)](_0x3c2a10=>({'range':_0x3c2a10,'unitId':_0x8d932f['unitId'],'subUnitId':_0x8d932f[_0x1a2559(0x2e7)]}));}case _0x2f4e36[_0x1a2559(0x20e)]['id']:{const _0x4d5753=_0x330e80['params'];return[{'range':_0x4d5753[_0x1a2559(0x2df)],'unitId':_0x4d5753[_0x1a2559(0x346)],'subUnitId':_0x4d5753['subUnitId']}];}case _0x2f4e36[_0x1a2559(0x34e)]['id']:{const _0x2bc056=_0x330e80[_0x1a2559(0x283)];return[{'range':_0x2bc056[_0x1a2559(0x2df)],'unitId':_0x2bc056[_0x1a2559(0x346)],'subUnitId':_0x2bc056[_0x1a2559(0x2e7)]}];}case _0x2f4e36[_0x1a2559(0x306)]['id']:{const _0x84298d=_0x330e80[_0x1a2559(0x283)],{from:_0x325209,to:_0x5ea0aa,unitId:_0x36ce01}=_0x84298d;return[{'range':_0x39e023(_0x325209[_0x1a2559(0x36a)]),'unitId':_0x36ce01,'subUnitId':_0x325209[_0x1a2559(0x2e7)]},{'range':_0x39e023(_0x5ea0aa['value']),'unitId':_0x36ce01,'subUnitId':_0x5ea0aa[_0x1a2559(0x2e7)]}];}case _0x2f4e36['MoveRowsMutation']['id']:{const _0x2de77a=_0x330e80[_0x1a2559(0x283)],{unitId:_0x5ac7b1,subUnitId:_0x108662,sourceRange:_0x17da7b,targetRange:_0x4aa2ad}=_0x2de77a,_0x234bb1=_0x17da7b[_0x1a2559(0x2c1)]-_0x17da7b['startRow']+0x1;return[{'range':_0x4aa2ad[_0x1a2559(0x1fd)]<=_0x17da7b[_0x1a2559(0x1fd)]?_0x4aa2ad:{..._0x4aa2ad,'startRow':_0x4aa2ad['startRow']-_0x234bb1,'endRow':_0x4aa2ad[_0x1a2559(0x2c1)]-_0x234bb1},'unitId':_0x5ac7b1,'subUnitId':_0x108662}];}case _0x2f4e36[_0x1a2559(0x22a)]['id']:{const _0x53d9fa=_0x330e80[_0x1a2559(0x283)],{unitId:_0x378387,subUnitId:_0x44942a,sourceRange:_0x2e2fa4,targetRange:_0x5f1b98}=_0x53d9fa,_0xa5c2dc=_0x2e2fa4[_0x1a2559(0x33b)]-_0x2e2fa4[_0x1a2559(0x3b8)]+0x1;return[{'range':_0x5f1b98[_0x1a2559(0x3b8)]<=_0x2e2fa4['startColumn']?_0x5f1b98:{..._0x5f1b98,'startColumn':_0x5f1b98['startColumn']-_0xa5c2dc,'endColumn':_0x5f1b98[_0x1a2559(0x33b)]-_0xa5c2dc},'unitId':_0x378387,'subUnitId':_0x44942a}];}case _0x2f4e36[_0x1a2559(0x203)]['id']:{const _0x2a23b6=_0x330e80[_0x1a2559(0x283)],{values:_0x22f93b,unitId:_0x3b6b07,subUnitId:_0x4c9c20}=_0x2a23b6;return Object[_0x1a2559(0x1eb)](_0x22f93b)['map'](_0x4399ef=>_0x4399ef[_0x1a2559(0x3dc)][_0x1a2559(0x258)](_0xed9f33=>({'range':_0xed9f33,'unitId':_0x3b6b07,'subUnitId':_0x4c9c20})))['flat']();}case _0x2f4e36[_0x1a2559(0x3cf)]['id']:{const _0x50064b=_0x330e80[_0x1a2559(0x283)],{ranges:_0x3beac3,unitId:_0x4492bb,subUnitId:_0x121b3b}=_0x50064b;return _0x3beac3[_0x1a2559(0x258)](_0x191de6=>({'range':_0x191de6,'unitId':_0x4492bb,'subUnitId':_0x121b3b}));}case _0x2f4e36['ReorderRangeMutation']['id']:{const _0x5948b4=_0x330e80['params'],{unitId:_0x63eb94,subUnitId:_0x2432f3,range:_0x559254}=_0x5948b4;return[{'range':_0x559254,'unitId':_0x63eb94,'subUnitId':_0x2432f3}];}case _0x2f4e36[_0x1a2559(0x3a8)]['id']:{const _0x477d0e=_0x330e80['params'];return _0x477d0e[_0x1a2559(0x1d6)][_0x1a2559(0x3dc)]['map'](_0x146c05=>({'range':_0x146c05,'unitId':_0x477d0e[_0x1a2559(0x346)],'subUnitId':_0x477d0e['subUnitId']}));}case _0x2f4e36[_0x1a2559(0x1dd)]['id']:{const _0x5eadcc=_0x330e80[_0x1a2559(0x283)];return _0x5eadcc[_0x1a2559(0x28f)]?_0x2f0c11(_0x5eadcc['cellValue'])[_0x1a2559(0x258)](_0x352d23=>({'range':_0x352d23,'unitId':_0x5eadcc[_0x1a2559(0x346)],'subUnitId':_0x5eadcc[_0x1a2559(0x2e7)]})):[];}case _0x31591e[_0x1a2559(0x1da)]['id']:{const _0x80ab0b=_0x330e80['params'];return[{'range':_0x80ab0b[_0x1a2559(0x2df)],'unitId':_0x80ab0b['unitId'],'subUnitId':_0x80ab0b['subUnitId']}];}case _0x280b22[_0x1a2559(0x1e0)]['id']:{const _0x26ad05=_0x330e80[_0x1a2559(0x283)];return(Array['isArray'](_0x26ad05[_0x1a2559(0x1d6)])?_0x26ad05['rule']:[_0x26ad05[_0x1a2559(0x1d6)]])[_0x1a2559(0x258)](_0x1e23a0=>_0x1e23a0[_0x1a2559(0x3dc)][_0x1a2559(0x258)](_0x4f58a8=>({'range':_0x4f58a8,'unitId':_0x26ad05[_0x1a2559(0x346)],'subUnitId':_0x26ad05['subUnitId']})))[_0x1a2559(0x238)]();}case _0xbed94c[_0x1a2559(0x345)]['id']:{const _0x538fd7=_0x330e80[_0x1a2559(0x283)];return _0x538fd7['rule']['ranges']['map'](_0x2a9a9b=>({'range':_0x2a9a9b,'unitId':_0x538fd7[_0x1a2559(0x346)],'subUnitId':_0x538fd7[_0x1a2559(0x2e7)]}));}default:return[];}}['_combineRanges'](_0x2f7150){const _0x2ebbe6=_0x459fe1;if(_0x2f7150[_0x2ebbe6(0x243)]<=0x1)return _0x2f7150;const _0x33bc4b=new Map();return _0x2f7150[_0x2ebbe6(0x2ec)](_0x336eb1=>{const _0xa998ab=_0x2ebbe6;var _0x46cd75;const {unitId:_0x247b0b,subUnitId:_0x44229f}=_0x336eb1,_0x4639ad=_0x247b0b+'-'+_0x44229f;_0x33bc4b[_0xa998ab(0x361)](_0x4639ad)?(_0x46cd75=_0x33bc4b[_0xa998ab(0x200)](_0x4639ad))==null||_0x46cd75[_0xa998ab(0x36e)](_0x336eb1):_0x33bc4b['set'](_0x4639ad,[_0x336eb1]);}),Array['from'](_0x33bc4b[_0x2ebbe6(0x1eb)]())[_0x2ebbe6(0x258)](_0x1f1579=>new _0x2f4e36[(_0x2ebbe6(0x29e))]()['add'](..._0x1f1579[_0x2ebbe6(0x258)](_0xc00bb6=>_0xc00bb6[_0x2ebbe6(0x2df)]))[_0x2ebbe6(0x3ec)]()[_0x2ebbe6(0x258)](_0x8a95bd=>({'range':_0x8a95bd,'unitId':_0x1f1579[0x0][_0x2ebbe6(0x346)],'subUnitId':_0x1f1579[0x0]['subUnitId']})))[_0x2ebbe6(0x238)]();}};_0x2cbb15=_0x1d0e5a([_0x42bc66(0x0,_0x25aca1['Inject'](_0x3267ca[_0x459fe1(0x335)])),_0x42bc66(0x1,_0x321529[_0x459fe1(0x381)]),_0x42bc66(0x2,_0x321529['ISnapshotServerService'])],_0x2cbb15);function _0x39e023(_0x4c50eb){const _0x46fda5=_0x459fe1;return new _0x25aca1[(_0x46fda5(0x334))](_0x4c50eb)[_0x46fda5(0x2bc)]();}function _0x2f0c11(_0x2fabf8){const _0x1c775a=_0x459fe1,_0x2e1e25=new _0x25aca1['ObjectMatrix'](_0x2fabf8),_0xa290fa=new _0x25aca1[(_0x1c775a(0x334))]();return _0x2e1e25[_0x1c775a(0x2f4)]((_0xda6c52,_0x1f2bb2)=>{const _0x3fbddd=_0x1c775a;_0xa290fa[_0x3fbddd(0x2bd)](_0xda6c52,_0x1f2bb2,0x1);}),_0x2f4e36[_0x1c775a(0x23a)](_0xa290fa);}var _0x2e9fa2=Object[_0x459fe1(0x23c)],_0x7d722=Object[_0x459fe1(0x2a9)],_0x1ad1e7=(_0x4fcd72,_0x27db2f,_0x20c6b4,_0x606369)=>{for(var _0x45de32=_0x606369>0x1?void 0x0:_0x606369?_0x7d722(_0x27db2f,_0x20c6b4):_0x27db2f,_0x1ef785=_0x4fcd72['length']-0x1,_0x28d637;_0x1ef785>=0x0;_0x1ef785--)(_0x28d637=_0x4fcd72[_0x1ef785])&&(_0x45de32=(_0x606369?_0x28d637(_0x27db2f,_0x20c6b4,_0x45de32):_0x28d637(_0x45de32))||_0x45de32);return _0x606369&&_0x45de32&&_0x2e9fa2(_0x27db2f,_0x20c6b4,_0x45de32),_0x45de32;},_0x292dc0=(_0x54b74e,_0x4b05fe)=>(_0x453801,_0x4fc06f)=>_0x4b05fe(_0x453801,_0x4fc06f,_0x54b74e);let _0x42bca5=class extends _0x25aca1[_0x459fe1(0x2d7)]{constructor(_0x113d56,_0xa30819,_0x1b49b2,_0x32d3e1,_0x561d7d,_0x33e205,_0x59ea17){const _0x6f81c5=_0x459fe1;super(),_0x33fc95(this,_0x6f81c5(0x26d),new Set()),_0x33fc95(this,'_lastPointer',null),(this['_context']=_0x113d56,this[_0x6f81c5(0x328)]=_0xa30819,this[_0x6f81c5(0x367)]=_0x1b49b2,this[_0x6f81c5(0x304)]=_0x32d3e1,this[_0x6f81c5(0x211)]=_0x561d7d,this[_0x6f81c5(0x2e4)]=_0x33e205,this['_commandService']=_0x59ea17,this['_init']());}[_0x459fe1(0x33d)](){const _0x5d2afc=_0x459fe1;this['_initRender'](),this[_0x5d2afc(0x3b3)]();}[_0x459fe1(0x3b5)](){const _0x4b2ecf=_0x459fe1;this['disposeWithMe'](_0x346ae3[_0x4b2ecf(0x32c)]([this[_0x4b2ecf(0x328)][_0x4b2ecf(0x290)],this[_0x4b2ecf(0x2e4)]['currentSkeleton$']])[_0x4b2ecf(0x281)](_0x346ae3[_0x4b2ecf(0x1fa)](([_0x513952,_0x42c980])=>{const _0x3ef2fe=_0x4b2ecf;if(_0x513952===_0x1eb1f0['Loaded']&&_0x42c980){const _0x33aa41=_0x42c980[_0x3ef2fe(0x3f8)];return this[_0x3ef2fe(0x367)][_0x3ef2fe(0x1e2)][_0x3ef2fe(0x281)](_0x346ae3[_0x3ef2fe(0x258)](_0x138e62=>{const _0x275ad4=_0x3ef2fe,_0x560180=new Map();return _0x138e62[_0x275ad4(0x3dc)][_0x275ad4(0x2ec)]((_0x4cf596,_0x3b39ac)=>{const _0x3587d0=_0x4cf596['filter'](_0x1d0cea=>_0x1d0cea['subUnitId']===_0x33aa41);_0x560180['set'](_0x3b39ac,_0x3587d0);}),{'skeleton':_0x42c980,'diffs':_0x560180};}));}return _0x346ae3['of']({'skeleton':null,'diffs':new Map()});}))[_0x4b2ecf(0x1f7)](({skeleton:_0x17cdfb,diffs:_0x268f06})=>{const _0x56f605=_0x4b2ecf;this[_0x56f605(0x33f)](),_0x17cdfb&&this[_0x56f605(0x267)](_0x17cdfb,_0x268f06);})),this[_0x4b2ecf(0x1d8)](this[_0x4b2ecf(0x2e4)][_0x4b2ecf(0x3d1)][_0x4b2ecf(0x1f7)](_0x4c1e32=>{const _0x3ad315=_0x4b2ecf;if(_0x4c1e32==null)return;const {skeleton:_0x556123}=_0x4c1e32,{scene:_0xd47894}=this['_context'];_0xd47894['onPointerMove$'][_0x3ad315(0x298)](_0x25aca1[_0x3ad315(0x3df)](_0x2c38d9=>{const _0x2492d4=_0x3ad315;var _0x4e105e,_0x154109;const {offsetX:_0x224aff,offsetY:_0x2e58b0}=_0x2c38d9,{x:_0x4fb5fe,y:_0x304163}=_0xd47894[_0x2492d4(0x2e3)](_0x25ba17[_0x2492d4(0x3f4)][_0x2492d4(0x20f)]([_0x224aff,_0x2e58b0])),{scaleX:_0x35be64,scaleY:_0x2a22e3}=_0xd47894['getAncestorScale'](),_0x33445a=_0xd47894[_0x2492d4(0x21c)](_0x35bb2e[_0x2492d4(0x1f8)][_0x2492d4(0x2d4)]),_0x4ea947=_0xd47894[_0x2492d4(0x30a)](_0x25ba17[_0x2492d4(0x3f4)][_0x2492d4(0x20f)]([_0x4fb5fe,_0x304163]),_0x33445a),_0x47f890=_0x556123[_0x2492d4(0x2a1)](_0x224aff,_0x2e58b0,_0x35be64,_0x2a22e3,_0x4ea947);((_0x4e105e=this[_0x2492d4(0x30d)])==null?void 0x0:_0x4e105e[_0x2492d4(0x231)])===_0x47f890['column']&&((_0x154109=this[_0x2492d4(0x30d)])==null?void 0x0:_0x154109[_0x2492d4(0x38c)])===_0x47f890[_0x2492d4(0x38c)]||this[_0x2492d4(0x26d)][_0x2492d4(0x2ec)](_0x5705a1=>{const _0x3ae9d9=_0x2492d4;_0x5705a1[_0x3ae9d9(0x20a)](_0x47f890);});},0x64));}));}[_0x459fe1(0x3b3)](){const _0x3c52ff=_0x459fe1;this['disposeWithMe'](this[_0x3c52ff(0x328)][_0x3c52ff(0x290)]['subscribe'](_0x557080=>{const _0x13223b=_0x3c52ff,_0x145d35=new _0x25aca1[(_0x13223b(0x3a2))]();return _0x557080===_0x1eb1f0[_0x13223b(0x358)]&&(_0x145d35[_0x13223b(0x2a3)](),_0x145d35[_0x13223b(0x21e)](this[_0x13223b(0x367)]['currentVersionDiff$'][_0x13223b(0x1f7)](_0x3b4ae4=>{const _0x3cb6bf=_0x13223b;_0x3b4ae4[_0x3cb6bf(0x28a)]&&this[_0x3cb6bf(0x3e4)]['executeCommand'](_0x2f4e36[_0x3cb6bf(0x240)]['id'],{'unitId':this['_context'][_0x3cb6bf(0x346)],'subUnitId':_0x3b4ae4['active']});}))),()=>_0x145d35[_0x13223b(0x2a3)]();}));}['_updateDiffMarks'](_0xe9418a,_0x474674){const _0x531491=_0x459fe1;var _0xa50a57;const _0x554f04=(_0xa50a57=this[_0x531491(0x2e4)][_0x531491(0x398)]())==null?void 0x0:_0xa50a57[_0x531491(0x3b9)];if(!_0x554f04)return;this['_diffs'][_0x531491(0x2ec)](_0x4222a8=>{const _0x3e4aa5=_0x531491;_0x4222a8[_0x3e4aa5(0x35b)]();});const {scene:_0x150339}=this[_0x531491(0x39a)],_0x5a37e3=Array[_0x531491(0x2ac)](_0x474674[_0x531491(0x39c)]())[_0x531491(0x258)](_0x2baf2d=>_0x474674[_0x531491(0x200)](_0x2baf2d)['map'](_0x82f68a=>{const _0x48e431=_0x531491;var _0x21b161;const {range:_0x203193,subUnitId:_0xd58109,unitId:_0x53c00a}=_0x82f68a,{startColumn:_0x17ccb8,startRow:_0x10284e,endColumn:_0x567aed,endRow:_0x5f151c}=_0x203193,_0x164ea1=_0x35bb2e['getCoordByCell'](_0x10284e,_0x17ccb8,_0x150339,_0x554f04),_0x2d3b82=_0x35bb2e[_0x48e431(0x247)](_0x5f151c,_0x567aed,_0x150339,_0x554f04),{columnHeaderHeightAndMarginTop:_0x14fe4f}=_0x554f04,{startX:_0x167f42,startY:_0x442ad6}=_0x164ea1,{endX:_0x151944,endY:_0x3645da}=_0x2d3b82,_0x40015f=_0x151944-_0x167f42,_0x309bc4=_0x3645da-_0x442ad6,_0x227134={'labelPosition':_0x442ad6-_0x14fe4f>=0x14?_0x48e431(0x3ea):'bottom','sheetID':_0xd58109,'range':_0x203193,'color':_0x48e431(0x326),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x48e431(0x326),'name':((_0x21b161=this[_0x48e431(0x328)][_0x48e431(0x24d)](_0x2baf2d))==null?void 0x0:_0x21b161['name'])||'','selection':_0x53c00a+'-'+_0xd58109+'-'+_0x203193[_0x48e431(0x3b8)]+'-'+_0x203193[_0x48e431(0x1fd)]+'-'+_0x203193['endColumn']+'-'+_0x203193[_0x48e431(0x2c1)],'left':_0x167f42,'top':_0x442ad6,'width':_0x40015f,'height':_0x309bc4,'evented':!0x1,'zIndex':0x1};return new _0x3a166c[(_0x48e431(0x3d2))]('',_0x227134);}))[_0x531491(0x238)]();_0x150339['addObjects'](_0x5a37e3,0x1),this[_0x531491(0x26d)]=new Set(_0x5a37e3);}['_removeDiffMarks'](){const _0x679625=_0x459fe1;var _0x2187aa;(_0x2187aa=this['_diffs'])==null||_0x2187aa[_0x679625(0x2ec)](_0x343fe7=>_0x343fe7['dispose']());}[_0x459fe1(0x368)](){const _0x12ee11=_0x459fe1;return _0x35bb2e[_0x12ee11(0x39e)](this[_0x12ee11(0x304)],this['_renderManagerService']);}};_0x42bca5=_0x1ad1e7([_0x292dc0(0x1,_0x25aca1[_0x459fe1(0x242)](_0x3267ca[_0x459fe1(0x335)])),_0x292dc0(0x2,_0x25aca1[_0x459fe1(0x242)](_0x2cbb15)),_0x292dc0(0x3,_0x25aca1[_0x459fe1(0x22c)]),_0x292dc0(0x4,_0x25ba17['IRenderManagerService']),_0x292dc0(0x5,_0x25aca1[_0x459fe1(0x242)](_0x35bb2e[_0x459fe1(0x34c)])),_0x292dc0(0x6,_0x25aca1['ICommandService'])],_0x42bca5);function _0xb209fe(_0x2571e7){const _0x2a58d7=_0x459fe1;var _0x174f07,_0x29d62a,_0x475678='';if(typeof _0x2571e7==_0x2a58d7(0x20d)||typeof _0x2571e7==_0x2a58d7(0x363))_0x475678+=_0x2571e7;else{if(typeof _0x2571e7==_0x2a58d7(0x21b)){if(Array[_0x2a58d7(0x2bb)](_0x2571e7)){var _0x5077ae=_0x2571e7[_0x2a58d7(0x243)];for(_0x174f07=0x0;_0x174f07<_0x5077ae;_0x174f07++)_0x2571e7[_0x174f07]&&(_0x29d62a=_0xb209fe(_0x2571e7[_0x174f07]))&&(_0x475678&&(_0x475678+='\x20'),_0x475678+=_0x29d62a);}else{for(_0x29d62a in _0x2571e7)_0x2571e7[_0x29d62a]&&(_0x475678&&(_0x475678+='\x20'),_0x475678+=_0x29d62a);}}}return _0x475678;}function _0x3aab83(){const _0x59da64=_0x459fe1;for(var _0x351f4a,_0x5218c9,_0x3781c3=0x0,_0x1173e5='',_0x87a4b5=arguments[_0x59da64(0x243)];_0x3781c3<_0x87a4b5;_0x3781c3++)(_0x351f4a=arguments[_0x3781c3])&&(_0x5218c9=_0xb209fe(_0x351f4a))&&(_0x1173e5&&(_0x1173e5+='\x20'),_0x1173e5+=_0x5218c9);return _0x1173e5;}function _0x196a9a(){const _0x21cecc=_0x459fe1,_0x3d7b13=_0x25aca1[_0x21cecc(0x38e)](_0x3267ca[_0x21cecc(0x335)]),_0x2a452d=_0x2381ad[_0x21cecc(0x25d)](_0x3d7b13['versions$']),[_0x1ba4a5,_0x47b376]=_0x40a2bc[_0x21cecc(0x34d)](!0x1),_0x57a0d1=_0x2fa2a0(_0x2a452d);return _0x2a452d?_0x40a2bc['createElement'](_0x21cecc(0x3da),{'className':_0xc6f63e[_0x21cecc(0x215)]},_0x40a2bc[_0x21cecc(0x302)](_0x21cecc(0x3da),{'className':_0xc6f63e[_0x21cecc(0x3f3)]},_0x57a0d1[_0x21cecc(0x258)]((_0x113d13,_0x1fbce6)=>_0x40a2bc['createElement'](_0x40a2bc[_0x21cecc(0x34b)],{'key':_0x113d13[_0x21cecc(0x2b1)]},_0x40a2bc[_0x21cecc(0x302)](_0x4a6727,{'date':_0x113d13[_0x21cecc(0x2b1)]}),_0x113d13[_0x21cecc(0x3ae)][_0x21cecc(0x258)]((_0x49b6d6,_0x2bbc3c)=>_0x40a2bc[_0x21cecc(0x302)](_0x9f2215,{'key':_0x1fbce6+'-'+_0x2bbc3c,'index':[_0x1fbce6,_0x2bbc3c],'item':_0x49b6d6})))),_0x1ba4a5&&_0x40a2bc[_0x21cecc(0x302)](_0x9c3174,null))):_0x40a2bc[_0x21cecc(0x302)](_0x8246f,null);}function _0x9c3174(){const _0x3f70cd=_0x459fe1;return _0x40a2bc[_0x3f70cd(0x302)](_0x3f70cd(0x3da),{'className':_0xc6f63e[_0x3f70cd(0x31c)]},_0x40a2bc[_0x3f70cd(0x302)](_0x505aac,{'className':_0xc6f63e[_0x3f70cd(0x268)]}));}function _0x8246f(){const _0x706937=_0x459fe1;return _0x40a2bc['createElement'](_0x706937(0x3da),{'className':_0x3aab83(_0xc6f63e[_0x706937(0x295)],_0x706937(0x3c9))},_0x40a2bc[_0x706937(0x302)](_0x706937(0x378),{'className':_0x3aab83(_0xc6f63e[_0x706937(0x2b8)],_0x706937(0x3ca))},_0x40a2bc[_0x706937(0x302)](_0x505aac,{'className':_0x706937(0x31b)})));}function _0x4a6727(_0x476a54){const _0x5307cc=_0x459fe1,_0x8b7bba=_0x25aca1[_0x5307cc(0x38e)](_0x25aca1['LocaleService']),{date:_0x3e518a}=_0x476a54;return _0x40a2bc['createElement'](_0x5307cc(0x3da),{'className':_0xc6f63e['versionDate']},_0x2c7780(_0x3e518a,_0x8b7bba[_0x5307cc(0x1ea)]()));}function _0x9f2215(_0x17d203){const _0x160d12=_0x459fe1,{item:_0x210001,index:_0x36ddd9}=_0x17d203,{time:_0x106682,user:_0x466a5e}=_0x210001,[_0x56d54e,_0x37231c]=_0x36ddd9,_0x1c4745=_0x25aca1[_0x160d12(0x38e)](_0x3267ca[_0x160d12(0x335)]),_0x33ad40=_0x2381ad[_0x160d12(0x25d)](_0x1c4745[_0x160d12(0x3e1)],'',!0x0)===_0x210001['id'],_0x49251f=_0x56d54e===0x0&&_0x37231c===0x0,_0x3661db=!_0x49251f&&_0x1c4745[_0x160d12(0x35a)],_0x54182f=_0x25aca1['useDependency'](_0x25aca1[_0x160d12(0x1fe)]),_0x50e6f6=_0x54182f[_0x160d12(0x1ea)](),_0x147e78=_0x145d7c(_0x106682,_0x50e6f6),_0x4e1bbf=_0x54182f['t'](_0x160d12(0x353)),_0x568b2b=_0x40a2bc[_0x160d12(0x311)](_0x1004a8=>{const _0x2d1e53=_0x160d12;_0x1c4745[_0x2d1e53(0x3d3)]!==_0x1eb1f0[_0x2d1e53(0x36c)]&&(_0x1c4745[_0x2d1e53(0x249)]=_0x1004a8);},[_0x1c4745]),_0x43513f=_0x40a2bc[_0x160d12(0x311)](_0x2f0276=>{const _0x595bb1=_0x160d12;_0x1c4745[_0x595bb1(0x2cf)](_0x2f0276);},[_0x1c4745]);return _0x40a2bc[_0x160d12(0x302)](_0x160d12(0x3da),{'className':_0x3aab83(_0xc6f63e[_0x160d12(0x2d2)],{[_0xc6f63e['active']]:_0x33ad40}),'onClick':()=>_0x568b2b(_0x210001['id'])},_0x40a2bc[_0x160d12(0x302)](_0x160d12(0x3da),{'className':_0xc6f63e['versionItemHeader']},_0x40a2bc['createElement']('div',{'className':_0xc6f63e['versionItemHeaderExpand']}),_0x40a2bc[_0x160d12(0x302)](_0x160d12(0x3da),{'className':_0xc6f63e[_0x160d12(0x250)]},_0x40a2bc['createElement'](_0x160d12(0x378),null,_0x147e78[_0x160d12(0x2e5)]),_0x49251f&&_0x40a2bc[_0x160d12(0x302)](_0x160d12(0x378),{'className':_0xc6f63e['versionItemHeaderTimeTag']},_0x4e1bbf)),_0x40a2bc['createElement']('div',null,_0x3661db&&_0x40a2bc[_0x160d12(0x302)](_0x2239f3[_0x160d12(0x3b7)],{'title':_0x54182f['t'](_0x160d12(0x2f2))},_0x40a2bc[_0x160d12(0x302)](_0x160d12(0x3da),{'onClick':_0x5b920c=>{const _0x37a26e=_0x160d12;_0x5b920c[_0x37a26e(0x3ac)](),_0x43513f(_0x210001['id']);},'className':_0xc6f63e['versionItemHeaderRevert']},_0x40a2bc[_0x160d12(0x302)](_0x450c28,null))))),_0x40a2bc[_0x160d12(0x302)](_0x160d12(0x3da),{'className':_0xc6f63e[_0x160d12(0x352)]},_0xb3f422(_0x210001,_0x54182f)));}var _0x1e6b35=Object[_0x459fe1(0x23c)],_0x3c9278=Object[_0x459fe1(0x2a9)],_0x5f1332=(_0x1d374f,_0x16c458,_0x2f7c07,_0x56b982)=>{const _0x987e36=_0x459fe1;for(var _0x4a4200=_0x56b982>0x1?void 0x0:_0x56b982?_0x3c9278(_0x16c458,_0x2f7c07):_0x16c458,_0x1d06c2=_0x1d374f[_0x987e36(0x243)]-0x1,_0x5d9aae;_0x1d06c2>=0x0;_0x1d06c2--)(_0x5d9aae=_0x1d374f[_0x1d06c2])&&(_0x4a4200=(_0x56b982?_0x5d9aae(_0x16c458,_0x2f7c07,_0x4a4200):_0x5d9aae(_0x4a4200))||_0x4a4200);return _0x56b982&&_0x4a4200&&_0x1e6b35(_0x16c458,_0x2f7c07,_0x4a4200),_0x4a4200;},_0x41957b=(_0x3b52dd,_0x42626b)=>(_0x17a5f8,_0x5675f4)=>_0x42626b(_0x17a5f8,_0x5675f4,_0x3b52dd);const _0x28aa89=_0x459fe1(0x217);let _0xb58f66=class extends _0x25aca1[_0x459fe1(0x2d7)]{constructor(_0x4da221,_0x23bede,_0x505762,_0x3dada3){const _0x3f27fe=_0x459fe1;super(),_0x33fc95(this,_0x3f27fe(0x3d6),null),(this[_0x3f27fe(0x1f6)]=_0x4da221,this[_0x3f27fe(0x204)]=_0x23bede,this[_0x3f27fe(0x23f)]=_0x505762,this[_0x3f27fe(0x328)]=_0x3dada3,this[_0x3f27fe(0x33d)]());}['_init'](){const _0x169537=_0x459fe1;this[_0x169537(0x266)](),this[_0x169537(0x3ad)]();}[_0x459fe1(0x3ad)](){const _0x1115f6=_0x459fe1;if(this['_sidebarDisposable'])return;const _0x201a87={'header':{'title':this['_localeService']['t']('editHistory.panel.title')},'children':{'label':_0x28aa89},'onClose':()=>{const _0xe675c9=_0x4fc5;this[_0xe675c9(0x3d6)]=null,this[_0xe675c9(0x328)]['status']=_0x4bde80['Exited'];}};this[_0x1115f6(0x3d6)]=this[_0x1115f6(0x1f6)][_0x1115f6(0x348)]({..._0x201a87});}[_0x459fe1(0x266)](){const _0x291cad=_0x459fe1;this[_0x291cad(0x1d8)](this[_0x291cad(0x204)]['register'](_0x28aa89,_0x196a9a)),this[_0x291cad(0x1d8)](this[_0x291cad(0x1f6)][_0x291cad(0x371)][_0x291cad(0x281)](_0x346ae3['debounceTime'](0x64))['subscribe'](_0x244caf=>{const _0x5bf683=_0x291cad,{target:_0x28add4}=_0x244caf||{};if(_0x28add4){const {scrollTop:_0x1bf38f,scrollHeight:_0x4804ce,clientHeight:_0x1dcfb0}=_0x28add4;_0x1bf38f+_0x1dcfb0>=_0x4804ce-0x5&&this[_0x5bf683(0x328)][_0x5bf683(0x1f9)]();}}));}};_0xb58f66=_0x5f1332([_0x41957b(0x0,_0x2381ad[_0x459fe1(0x31d)]),_0x41957b(0x1,_0x25aca1[_0x459fe1(0x242)](_0x2381ad[_0x459fe1(0x2e1)])),_0x41957b(0x2,_0x25aca1['Inject'](_0x25aca1[_0x459fe1(0x1fe)])),_0x41957b(0x3,_0x25aca1[_0x459fe1(0x242)](_0x3267ca[_0x459fe1(0x335)]))],_0xb58f66);class _0x58889c extends _0x25aca1[_0x459fe1(0x2d7)]{constructor(){const _0x1fed3f=_0x459fe1;super(),_0x33fc95(this,_0x1fed3f(0x1d9),new _0x346ae3[(_0x1fed3f(0x230))]());}[_0x459fe1(0x348)](){const _0x3364c1=_0x459fe1;return _0x25aca1[_0x3364c1(0x3a7)](()=>{});}[_0x459fe1(0x2f0)](){}[_0x459fe1(0x359)](_0x2c3d77){}['getDialogs$'](){const _0x25d679=_0x459fe1;return this[_0x25d679(0x1d9)]['asObservable']();}}var _0x3a6b21=Object[_0x459fe1(0x23c)],_0x4f0779=Object[_0x459fe1(0x2a9)],_0xcf2526=(_0x1e5137,_0x178916,_0x1d43dc)=>_0x178916 in _0x1e5137?_0x3a6b21(_0x1e5137,_0x178916,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1d43dc}):_0x1e5137[_0x178916]=_0x1d43dc,_0xb2c824=(_0x47e05e,_0x4267fa,_0x59125d,_0xbd7f32)=>{const _0x210730=_0x459fe1;for(var _0x59cea5=_0xbd7f32>0x1?void 0x0:_0xbd7f32?_0x4f0779(_0x4267fa,_0x59125d):_0x4267fa,_0x53cbbc=_0x47e05e[_0x210730(0x243)]-0x1,_0x8b7cf7;_0x53cbbc>=0x0;_0x53cbbc--)(_0x8b7cf7=_0x47e05e[_0x53cbbc])&&(_0x59cea5=(_0xbd7f32?_0x8b7cf7(_0x4267fa,_0x59125d,_0x59cea5):_0x8b7cf7(_0x59cea5))||_0x59cea5);return _0xbd7f32&&_0x59cea5&&_0x3a6b21(_0x4267fa,_0x59125d,_0x59cea5),_0x59cea5;},_0x2ab91f=(_0x254531,_0x5808ba)=>(_0x1a28b6,_0x39251a)=>_0x5808ba(_0x1a28b6,_0x39251a,_0x254531),_0x3f8e92=(_0x11519e,_0x56a3bd,_0x2e20a8)=>_0xcf2526(_0x11519e,_0x56a3bd+'',_0x2e20a8);const _0x13a7a5=_0x459fe1(0x299);_0x3267ca[_0x459fe1(0x39f)]=class extends _0x25aca1[_0x459fe1(0x316)]{constructor(_0x5f05cb=_0x46b85b,_0x9c69f8,_0x4949ac,_0x18d423){const _0x11e822=_0x459fe1;super(),this[_0x11e822(0x2ba)]=_0x5f05cb,this[_0x11e822(0x344)]=_0x9c69f8,this[_0x11e822(0x211)]=_0x4949ac,this[_0x11e822(0x3c8)]=_0x18d423;const {..._0x136514}=this['_config'];this[_0x11e822(0x3c8)]['setConfig'](_0x52a7b8,_0x136514);}[_0x459fe1(0x1db)](){const _0x3b4a23=_0x459fe1;[[_0x3267ca[_0x3b4a23(0x335)]],[_0x2676fc],[_0x2cbb15],[_0x309565],[_0xb58f66],[_0x12c199['HTTPService']],[_0x696cf6],[_0x12c199[_0x3b4a23(0x3c7)],{'useClass':_0x12c199[_0x3b4a23(0x3d7)]}],[_0x321529[_0x3b4a23(0x37e)],{'useClass':_0x3a166c[_0x3b4a23(0x3a1)]}],[_0x25aca1[_0x3b4a23(0x3d4)],{'useClass':_0x3a166c[_0x3b4a23(0x20b)]}],[_0x2381ad[_0x3b4a23(0x3c0)],{'useClass':_0x58889c}],[_0x42f896[_0x3b4a23(0x351)],{'useClass':_0x3a166c[_0x3b4a23(0x3c3)]}]]['forEach'](_0x1b4835=>this[_0x3b4a23(0x344)][_0x3b4a23(0x21e)](_0x1b4835)),this[_0x3b4a23(0x344)][_0x3b4a23(0x200)](_0x2676fc);}[_0x459fe1(0x347)](){const _0x8d112f=_0x459fe1;[[_0x42bca5]][_0x8d112f(0x2ec)](_0xf209ff=>{const _0x26b766=_0x8d112f;this[_0x26b766(0x1d8)](this[_0x26b766(0x211)][_0x26b766(0x234)](_0x25aca1[_0x26b766(0x2f6)][_0x26b766(0x2dc)],_0xf209ff));}),this[_0x8d112f(0x344)]['get'](_0x696cf6),this[_0x8d112f(0x344)]['get'](_0xb58f66);}['onSteady'](){const _0x26966c=_0x459fe1;this[_0x26966c(0x344)][_0x26966c(0x200)](_0x2cbb15);}},_0x3f8e92(_0x3267ca[_0x459fe1(0x39f)],_0x459fe1(0x2ce),_0x13a7a5),_0x3267ca[_0x459fe1(0x39f)]=_0xb2c824([_0x25aca1['DependentOn'](_0x35bb2e[_0x459fe1(0x37b)]),_0x2ab91f(0x1,_0x25aca1['Inject'](_0x25aca1[_0x459fe1(0x390)])),_0x2ab91f(0x2,_0x25ba17[_0x459fe1(0x219)]),_0x2ab91f(0x3,_0x25aca1[_0x459fe1(0x245)])],_0x3267ca[_0x459fe1(0x39f)]),_0x3267ca[_0x459fe1(0x1e1)]=_0x4bde80,Object['defineProperty'](_0x3267ca,Symbol[_0x459fe1(0x320)],{'value':_0x459fe1(0x354)});}));function _0x4fc5(_0x51df2d,_0x40fe61){const _0x559788=_0x5597();return _0x4fc5=function(_0x4fc5fd,_0x43a454){_0x4fc5fd=_0x4fc5fd-0x1d5;let _0x5b14dd=_0x559788[_0x4fc5fd];return _0x5b14dd;},_0x4fc5(_0x51df2d,_0x40fe61);}function _0x5597(){const _0x20a8c0=['IRenderManagerService','querySelector','object','getViewport','[HistoryFetchService]:\x20request\x20snapshot\x20error!','add','loading','CreateSheet','transformMutations','SetCellStyle','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','block','error','hideMask','LICENSE_DISTRO_REJECTED','_permissionService','set','MoveColsMutation','@univerjs/design','IUniverInstanceService','ViemRwHgtClWdt','defs','attrs','Subject','column','MoveWorksheet','AddRangeProtectionMutation','registerRenderModule','Duplicate','M7.17852\x201.82153C7.17852\x201.36781\x207.54633\x201\x208.00005\x201C11.866\x201\x2015\x204.13397\x2015\x207.99993C15\x2011.8659\x2011.866\x2014.9999\x208.00005\x2014.9999C4.1341\x2014.9999\x201.00012\x2011.8659\x201.00012\x207.99993C1.00012\x207.54621\x201.36793\x207.1784\x201.82165\x207.1784C2.27537\x207.1784\x202.64318\x207.54621\x202.64318\x207.99993C2.64318\x2010.9584\x205.04153\x2013.3568\x208.00005\x2013.3568C10.9586\x2013.3568\x2013.3569\x2010.9584\x2013.3569\x207.99993C13.3569\x205.04141\x2010.9586\x202.64306\x208.00005\x202.64306C7.54633\x202.64306\x207.17852\x202.27525\x207.17852\x201.82153Z','HTTPService','flat','APPLY_REJECT','findAllRectangle','loadSheet','defineProperty','rev','trim','_localeService','SetWorksheetActiveOperation','evenodd','Inject','length','Print','IConfigService','InsertHyperlink','getCoordByCell','_diffRangesMap','currentVersion','endRevision','View','historyViewHeaderRevert','getMember','_snapshotServerService','2813216PyusJA','versionItemHeaderTime','assign','_revertRevision$','_loadingState$','_getAPIPrefix','SetColumnStyle','SNAPSHOT_HAS_BEEN_REMOVED','UNDEFINED','map','UniverSheets','permissionPointUpdate$','_transformService','historyListServerUrl','useObservable','COMPLETION_FINISHED','univer-version-item-header-revert','@univerjs/sheets','icon','syncExecuteCommand','state$','LICENSE_IMPORT_SIZE_EXCEEDED','_uiPartsService','_initPanel','_updateDiffMarks','versionListLoadingIcon','displayName','VIRTUAL_VERSION_NOW','_historyContainerId','univer-version-list-panel-content','_diffs','FloatImg','transformSnapshotToWorkbookData','YUUMI_UNABLE_LOAD_URL','InsertRow','_getActiveSubUnitId','unitId$','createUnit','PivotTable','editHistory.action.revertSheetSuffix','univer-version-item-header-expand','sheet','DeleteWorksheetProtectionMutation','init','action','justifyContent','_getRangesByMutation','Delete','LICENSE_EXPORT_SIZE_EXCEEDED','prototype','pipe','insertSheet','params','10434915WKbvpm','forwardRef','WorkbookHideSheetPermission','RwHgtClWdt','IUIPartsService','_versions$','active','_hasMore','editHistory.info.loading','5ieakjP','showMask','cellValue','loadingState$','colorChannel1','SelectProtectedCells','UniverCollaboration','Today','empty','CompressMutationService','all','subscribeEvent','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','@univerjs/ui','UNRECOGNIZED','find','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','RangeMergeUtil','UpdateDataValidationMutation','triggerLoadVersions','getCellPositionByOffset','_lastLabel','dispose','edit-history-viewer.config','url(#restore-single_clip0_1247_2)','blockMeta','ManageCollaborator','editHistory.action.revertSheetPrefix','getOwnPropertyDescriptor','getUnitId','setDV','from','svg','editHistory.panel.revertConfirmText','_fetching','Init','dateString','Sort','ICellEditorManagerService','univer-version-list-loading','back-single','primary','_cellEditorManagerService','emptyText','editSheet','_config','isArray','getDataRange','setValue','Error','ZH_CN','status$','endRow','extend','isTransformMutationsSuccess','WorkbookEditablePermission','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','_workbookDataCache','EditExtraObject','entered','@univerjs/sheets-filter','historyViewHeaderBack','left','ViewHistory','_extractRanges','pluginName','triggerRevert','indexOf','&lastLabel=','versionItem','connectInjector','VIEW_MAIN','status','asObservable','Disposable','_canRevert','filter','_compressMutationService','loaded','UNIVER_SHEET','deleteProtection','UniverIcon','range','SelectUnProtectedCells','ComponentManager','mutations','getRelativeToViewportCoord','_sheetSkeletonManagerService','time','COMPRESS_MUTATION_APPLY','subUnitId','#fff','_historyFetchService','UniverSheetsFilter','Button','forEach','Entered','function','8rspHLY','close','versions$','editHistory.panel.revertDesc','users','forValue','_confirmService','UniverInstanceType','rules','addProtection','DeleteRow','@univerjs/network','getVersion','interceptor','UNIVER_UNKNOWN','replace','registerComponent','react','CONNECTOR_DATA_TOO_LARGE','createElement','editHistory.panel.currentUser','_univerInstanceService','rxjs','MoveRangeMutation','user','TOO_MANY_REQUESTS','className','getVpScrollXYInfoByPosToVp','875259gMJeCn','Filter','_lastPointer','next','IMessageService','UniverDesign','useCallback','confirm','backgroundColor','_maskElement','_initMaskContainer','Plugin','restore-single_clip0_1247_2','YUUMI_SUBSCRIPTION_NOT_FOUND','_combineRanges','entities','m-auto\x20animate-spin360','versionListLoading','ISidebarService','getUnitOnRev','getElementById','toStringTag','setFrozen','SetFrozenMutation','@univerjs-pro/collaboration-client','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','@univerjs/sheets-ui','rgba(58,\x2096,\x20247,\x200.20)','entries','_historyManagerService','includes','tag','ICommandService','combineLatest','RevertRevisionMutation','parse','_members','_maskContainer','InsertSheetMutation','commands','IPermissionService','ObjectMatrix','HistoryManagerService','DeleteColumn','getOwnPropertySymbols','MoveSheet','defIds','editHistory.action.','endColumn','children','_init','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','_removeDiffMarks','fetchMissingChangesets','RemoveSheetMutation','UniverSheetsUi','CopySheet','_injector','SetConditionalRuleMutation','unitId','onRendered','open','userID','editHistory.panel.listFetchError','Fragment','SheetSkeletonManagerService','useState','InsertColMutation','setCF','univer-history-view-header','IImageIoService','versionItemContent','editHistory.panel.currentVersion','Module','_createUnit','SetCellValue','MessageType','Loaded','closeAll','canRevert','makeDirty','white','updatePermissionPoint','SetRowStyle','APPLY_REVISION_CONFILICT','univer-version-list-loading-icon','has','fetchThroughInterceptors','number','0\x200\x2016\x2016','hasCommand','UniverUi','_versionDiffService','_getSheetObject','revertSheet','value','EditWorksheetCell','Loading','univer-version-list-panel','push','path','padStart','scrollEvent$','WorkbookRenameSheetPermission','userId','hasOwnProperty','getCurrentVersion','absolute','rgba(225,\x20225,\x20225,\x200.5)','span','3vSvPPP','UNIVER_SLIDE','UniverSheetsUIPlugin','UNIVER_DOC','code','ISnapshotServerService','_createMask','_status$','ITransformService','DeleteSheet','DeleteRangeProtectionMutation','ENSURE_SNAPSHOT_EXECUTION','center','useRef','clipPath','APPLY_NON_SEQUENTIAL_REVISION','editHistory.action.etc','INVALID_ARGUMENT',':\x20(','row','@univerjs/engine-render','useDependency','Export','Injector','LocaleType','getCurrentUnitForType','data','univer-version-item-header-time-tag','removeSheet','recoverTime','concat','getCurrent','100%','_context','PERMISSION_DENIED','keys','65DnvSTP','getSheetObject','UniverEditHistoryViewerPlugin','currentColor','SnapshotServerOverHTTPService','DisposableCollection','SNAPSHOT_INVALID_SNAPSHOT','toISOString','getMinutes','blocks','toDisposable','SetRangeProtectionMutation','NOT_FOUND','Edit','show','stopPropagation','_openPanel','versions','BackSingle','setFilter','exports','HEADER','_initActiveSwitch','Exited','_initRender','BehaviorSubject','Tooltip','startColumn','skeleton','getDeserializedSheetBlock','univer-version-item-content','Info','RecoverHistory','History','append','IDialogService','reduce','call','ImageIoService','/list?length=20','WorkbookMoveSheetPermission','substring','IHTTPImplementation','_configService','flex\x20items-center\x20justify-center','text-gray-500','1685457CJpvhP','symbol','_loadingMessage','LICENSE_MAX_UNITS_EXCEEDED','RemoveNumfmtMutation','endRev','currentSkeleton$','SheetCollabCursorShape','loadingState','IAuthzIoService','UniverNetwork','_sidebarDisposable','FetchHTTPImplementation','3134544PQIaVq','date','div','display','ranges','CreateWorksheet','ViewFilter','debounce','UniverSheetsConditionalFormatting','currentVersion$','UniverDataValidation','univer-history-view-header-revert','_commandService','createTime','xlink:href','m1Prime','univerjs-icon\x20univerjs-icon-','SetWorksheetHideMutation','top','_updateVersions','merge','getVersions','16UPSboD','UniverCore','@univerjs/core','APPLY_PERMISSION_DENIED','HideWorksheet','versionListPanelContent','Vector2','univer-version-item-header-time','style','name','sheetId','RenameSheet','url(#$1','clear','80420CrFTnE','amd','rule','flex','disposeWithMe','_dialogOptions$','SetSheetsFilterRangeMutation','onStarting','body','SetRangeValuesMutation','_messageService','ALREADY_EXISTS','AddDataValidationMutation','HistoryModeStatus','currentVersionDiff$','zIndex','getConfig','triggerLoadSheet','none','5516988PXoGSV','command','_unitId$','getCurrentLocale','values','UNAUTHENTICATED','rect','subType','Copy','exited','split','1em','fill','focusUnit','HideSheet','_sidebarService','subscribe','VIEWPORT_KEY','loadMoreVersions','switchMap','idSuffix','.univer-app-container-content','startRow','LocaleService','current','get','univer-active','Comment','SetNumfmtMutation','_componentManager','univer-history-view-header-back-text','BuiltInUIPart','apply','YUUMI_URL_COL_OUT_OF_RANGE','200PCVPOm','onMouseMove','AuthzIoHttpService','then','string','InsertRowMutation','FromArray','_currentVersion$','_renderManagerService','INTERNAL_ERROR','@univerjs/data-validation','confirm-revert-revision','versionListPanel','now','history-panel','Share'];_0x5597=function(){return _0x20a8c0;};return _0x5597();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/edit-history-viewer",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "private": false,
5
5
  "description": "UniverSheet Edit History Viewer",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -50,22 +50,22 @@
50
50
  "dependencies": {
51
51
  "@univerjs/icons": "^0.1.78",
52
52
  "clsx": "^2.1.1",
53
- "@univerjs-pro/collaboration": "0.4.0",
54
- "@univerjs-pro/collaboration-client": "0.4.0",
55
- "@univerjs/core": "0.4.0",
56
- "@univerjs/data-validation": "0.4.0",
57
- "@univerjs/docs": "0.4.0",
58
- "@univerjs/design": "0.4.0",
59
- "@univerjs/drawing": "0.4.0",
60
- "@univerjs/docs-ui": "0.4.0",
61
- "@univerjs/engine-render": "0.4.0",
53
+ "@univerjs-pro/collaboration": "0.4.1",
54
+ "@univerjs/core": "0.4.1",
55
+ "@univerjs-pro/collaboration-client": "0.4.1",
56
+ "@univerjs/data-validation": "0.4.1",
57
+ "@univerjs/design": "0.4.1",
58
+ "@univerjs/docs-ui": "0.4.1",
59
+ "@univerjs/docs": "0.4.1",
60
+ "@univerjs/network": "0.4.1",
61
+ "@univerjs/drawing": "0.4.1",
62
+ "@univerjs/engine-render": "0.4.1",
62
63
  "@univerjs/protocol": "0.1.39-alpha.30",
63
- "@univerjs/network": "0.4.0",
64
- "@univerjs/sheets-conditional-formatting": "0.4.0",
65
- "@univerjs/sheets-filter": "0.4.0",
66
- "@univerjs/sheets-ui": "0.4.0",
67
- "@univerjs/ui": "0.4.0",
68
- "@univerjs/sheets": "0.4.0"
64
+ "@univerjs/sheets": "0.4.1",
65
+ "@univerjs/sheets-conditional-formatting": "0.4.1",
66
+ "@univerjs/sheets-filter": "0.4.1",
67
+ "@univerjs/ui": "0.4.1",
68
+ "@univerjs/sheets-ui": "0.4.1"
69
69
  },
70
70
  "devDependencies": {
71
71
  "@types/react": "^18.3.11",
@@ -75,7 +75,7 @@
75
75
  "typescript": "5.6.3",
76
76
  "vite": "^5.4.8",
77
77
  "vitest": "^2.1.2",
78
- "@univerjs-infra/shared": "0.4.0"
78
+ "@univerjs-infra/shared": "0.4.1"
79
79
  },
80
80
  "univerSpace": {
81
81
  ".": {