@univerjs-pro/edit-history-viewer 0.9.2-nightly.202507131606 → 0.9.2-nightly.202507141607

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.
@@ -1 +1 @@
1
- const _0x45bf2a=_0x3f56;(function(_0x26b8c9,_0xf46dd){const _0x5d99a4=_0x3f56,_0x5d3db7=_0x26b8c9();while(!![]){try{const _0x5b268c=parseInt(_0x5d99a4(0xe2))/0x1*(-parseInt(_0x5d99a4(0xfd))/0x2)+-parseInt(_0x5d99a4(0xfe))/0x3*(-parseInt(_0x5d99a4(0xee))/0x4)+parseInt(_0x5d99a4(0xe4))/0x5*(parseInt(_0x5d99a4(0xe5))/0x6)+parseInt(_0x5d99a4(0xf5))/0x7*(-parseInt(_0x5d99a4(0xe9))/0x8)+parseInt(_0x5d99a4(0xdf))/0x9+-parseInt(_0x5d99a4(0xe1))/0xa+parseInt(_0x5d99a4(0xf3))/0xb*(-parseInt(_0x5d99a4(0xf1))/0xc);if(_0x5b268c===_0xf46dd)break;else _0x5d3db7['push'](_0x5d3db7['shift']());}catch(_0xf4f15d){_0x5d3db7['push'](_0x5d3db7['shift']());}}}(_0x333e,0x2c009));const e={'editHistory':{'panel':{'title':_0x45bf2a(0xe3),'unknownUser':_0x45bf2a(0xf4),'listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list','revertConfirm':_0x45bf2a(0xe8),'revertConfirmText':_0x45bf2a(0xf2),'cancel':'Cancel','confirm':_0x45bf2a(0xf0),'reverting':_0x45bf2a(0xfa),'revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':_0x45bf2a(0xf7),'currentUser':'Current\x20User','revertDesc':'Restore\x20this\x20version'},'info':{'loading':_0x45bf2a(0xf9)},'header':{'back':'Back','revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0x45bf2a(0xfc),'removeSheet':_0x45bf2a(0xef),'createSheet':_0x45bf2a(0xe7),'setFilter':_0x45bf2a(0xe6),'setFrozen':_0x45bf2a(0xfb),'editSheet':_0x45bf2a(0xe0),'revertSheet':_0x45bf2a(0xf6),'revertSheetPrefix':_0x45bf2a(0xea),'revertSheetSuffix':'','setDV':_0x45bf2a(0xf8),'setCF':_0x45bf2a(0xed),'addCF':'add\x20conditional\x20formatting','addProtection':_0x45bf2a(0xeb),'addSparkline':'add\x20sparkline','deleteProtection':'delete\x20protection','etc':_0x45bf2a(0xec)}}},t=e;function _0x3f56(_0x29f1f8,_0x17ed3a){const _0x333e04=_0x333e();return _0x3f56=function(_0x3f56d9,_0x4b04fd){_0x3f56d9=_0x3f56d9-0xdf;let _0x4662cb=_0x333e04[_0x3f56d9];return _0x4662cb;},_0x3f56(_0x29f1f8,_0x17ed3a);}export{t as default};function _0x333e(){const _0x396d8c=['Reverting,\x20please\x20wait...','set\x20frozen','inserted\x20worksheet','417524aQAQuo','85221pLCBKT','715131rTsiDk','edited\x20worksheet','47670wKqcLM','1VfJpeK','Edit\x20History','292450sGdzku','30oIcxEo','set\x20filter','created\x20workbook','Restore\x20this\x20version?','16rcLskh','Reverted\x20from','add\x20protection',',\x20etc.','set\x20conditional\x20formatting','40JaCTJN','deleted\x20worksheet','Confirm','54084UrULBs','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','11kaTYUu','Unknown\x20User','901985KTSzCa','reverted\x20workbook','Current\x20Version','set\x20data\x20validation','loading,\x20please\x20wait...'];_0x333e=function(){return _0x396d8c;};return _0x333e();}
1
+ const _0x1faa50=_0xcd3d;function _0xcd3d(_0x114a5f,_0x9b664f){const _0x7f67cc=_0x7f67();return _0xcd3d=function(_0xcd3da4,_0x47376b){_0xcd3da4=_0xcd3da4-0x9c;let _0x13fb36=_0x7f67cc[_0xcd3da4];return _0x13fb36;},_0xcd3d(_0x114a5f,_0x9b664f);}(function(_0x5e2fd4,_0x29eec8){const _0x3ed5eb=_0xcd3d,_0x29f131=_0x5e2fd4();while(!![]){try{const _0x5ba30a=-parseInt(_0x3ed5eb(0xbc))/0x1+parseInt(_0x3ed5eb(0xbf))/0x2*(-parseInt(_0x3ed5eb(0xa5))/0x3)+parseInt(_0x3ed5eb(0xb0))/0x4*(-parseInt(_0x3ed5eb(0xb5))/0x5)+-parseInt(_0x3ed5eb(0xad))/0x6*(-parseInt(_0x3ed5eb(0xa1))/0x7)+parseInt(_0x3ed5eb(0xae))/0x8*(-parseInt(_0x3ed5eb(0xb1))/0x9)+parseInt(_0x3ed5eb(0xb4))/0xa+parseInt(_0x3ed5eb(0xa7))/0xb;if(_0x5ba30a===_0x29eec8)break;else _0x29f131['push'](_0x29f131['shift']());}catch(_0x49735b){_0x29f131['push'](_0x29f131['shift']());}}}(_0x7f67,0xeed58));function _0x7f67(){const _0x18de42=['25296ehoMzi','set\x20data\x20validation','6337408MSnkZb','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','deleted\x20worksheet','Confirm','edited\x20worksheet','Edit\x20History','746454jirihq','8hmUUWx','add\x20conditional\x20formatting','8Vswfxe','8474859kzvLge','loading,\x20please\x20wait...','set\x20filter','16913370fhUunu','1637525ywfiQU','Current\x20User','Current\x20Version',',\x20etc.','inserted\x20worksheet','Failed\x20to\x20get\x20edit\x20history\x20list','Reverted\x20from','1301425SlGqFz','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Restore\x20this\x20version','2EosdJP','set\x20frozen','delete\x20protection','add\x20sparkline','Back','created\x20workbook','91vGZPji','Reverting,\x20please\x20wait...','Restore\x20this\x20version?','Cancel'];_0x7f67=function(){return _0x18de42;};return _0x7f67();}const e={'editHistory':{'panel':{'title':_0x1faa50(0xac),'unknownUser':'Unknown\x20User','listFetchError':_0x1faa50(0xba),'revertConfirm':_0x1faa50(0xa3),'revertConfirmText':_0x1faa50(0xa8),'cancel':_0x1faa50(0xa4),'confirm':_0x1faa50(0xaa),'reverting':_0x1faa50(0xa2),'revertFailed':_0x1faa50(0xbd),'currentVersion':_0x1faa50(0xb7),'currentUser':_0x1faa50(0xb6),'revertDesc':'Restore\x20this\x20version'},'info':{'loading':_0x1faa50(0xb2)},'header':{'back':_0x1faa50(0x9f),'revert':_0x1faa50(0xbe)},'action':{'insertSheet':_0x1faa50(0xb9),'removeSheet':_0x1faa50(0xa9),'createSheet':_0x1faa50(0xa0),'setFilter':_0x1faa50(0xb3),'setFrozen':_0x1faa50(0x9c),'editSheet':_0x1faa50(0xab),'revertSheet':'reverted\x20workbook','revertSheetPrefix':_0x1faa50(0xbb),'revertSheetSuffix':'','setDV':_0x1faa50(0xa6),'setCF':'set\x20conditional\x20formatting','addCF':_0x1faa50(0xaf),'addProtection':'add\x20protection','addSparkline':_0x1faa50(0x9e),'deleteProtection':_0x1faa50(0x9d),'etc':_0x1faa50(0xb8)}}},t=e;export{t as default};
@@ -1 +1 @@
1
- const _0x4d7a31=_0x30e4;function _0x226d(){const _0x4a1982=['edited\x20worksheet','set\x20frozen','4435590CQvQrS','delete\x20protection','21oCpQZT','16912IRSCwO','set\x20data\x20validation','set\x20conditional\x20formatting','2316933Hapbqt','Edit\x20History','add\x20sparkline','add\x20conditional\x20formatting','8OErOjD','set\x20filter','1904259PRzMwX','created\x20workbook','inserted\x20worksheet','11wLLfjr','Confirm','Reverting,\x20please\x20wait...','Failed\x20to\x20get\x20edit\x20history\x20list','Unknown\x20User','deleted\x20worksheet','Restore\x20this\x20version','Cancel','add\x20protection','393085xuRVgY','Restore\x20this\x20version?','reverted\x20workbook',',\x20etc.','651824oSikwQ','loading,\x20please\x20wait...','2098536KOwkxP','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','12tIfcKh'];_0x226d=function(){return _0x4a1982;};return _0x226d();}(function(_0x22e0a9,_0x2bd84a){const _0x2614b6=_0x30e4,_0x705a1c=_0x22e0a9();while(!![]){try{const _0x26855a=parseInt(_0x2614b6(0xad))/0x1*(-parseInt(_0x2614b6(0xae))/0x2)+parseInt(_0x2614b6(0xa8))/0x3*(-parseInt(_0x2614b6(0xa3))/0x4)+-parseInt(_0x2614b6(0xc3))/0x5+parseInt(_0x2614b6(0xa5))/0x6+-parseInt(_0x2614b6(0xb7))/0x7*(-parseInt(_0x2614b6(0xb5))/0x8)+parseInt(_0x2614b6(0xb1))/0x9+-parseInt(_0x2614b6(0xab))/0xa*(-parseInt(_0x2614b6(0xba))/0xb);if(_0x26855a===_0x2bd84a)break;else _0x705a1c['push'](_0x705a1c['shift']());}catch(_0x52b99d){_0x705a1c['push'](_0x705a1c['shift']());}}}(_0x226d,0x65434));function _0x30e4(_0x4fa0f5,_0x505ccf){const _0x226ddc=_0x226d();return _0x30e4=function(_0x30e4c8,_0x894ca4){_0x30e4c8=_0x30e4c8-0xa1;let _0x578efa=_0x226ddc[_0x30e4c8];return _0x578efa;},_0x30e4(_0x4fa0f5,_0x505ccf);}const e={'editHistory':{'panel':{'title':_0x4d7a31(0xb2),'unknownUser':_0x4d7a31(0xbe),'listFetchError':_0x4d7a31(0xbd),'revertConfirm':_0x4d7a31(0xc4),'revertConfirmText':_0x4d7a31(0xa7),'cancel':_0x4d7a31(0xc1),'confirm':_0x4d7a31(0xbb),'reverting':_0x4d7a31(0xbc),'revertFailed':_0x4d7a31(0xa6),'currentVersion':'Current\x20Version','currentUser':'Current\x20User','revertDesc':_0x4d7a31(0xc0)},'info':{'loading':_0x4d7a31(0xa4)},'header':{'back':'Back','revert':_0x4d7a31(0xc0)},'action':{'insertSheet':_0x4d7a31(0xb9),'removeSheet':_0x4d7a31(0xbf),'createSheet':_0x4d7a31(0xb8),'setFilter':_0x4d7a31(0xb6),'setFrozen':_0x4d7a31(0xaa),'editSheet':_0x4d7a31(0xa9),'revertSheet':_0x4d7a31(0xa1),'revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':_0x4d7a31(0xaf),'setCF':_0x4d7a31(0xb0),'addCF':_0x4d7a31(0xb4),'addProtection':_0x4d7a31(0xc2),'addSparkline':_0x4d7a31(0xb3),'deleteProtection':_0x4d7a31(0xac),'etc':_0x4d7a31(0xa2)}}},t=e;export{t as default};
1
+ function _0x1aa6(_0x302d3c,_0x4f4c7f){const _0x3a3baa=_0x3a3b();return _0x1aa6=function(_0x1aa661,_0x18c7cc){_0x1aa661=_0x1aa661-0x1b8;let _0x27a51b=_0x3a3baa[_0x1aa661];return _0x27a51b;},_0x1aa6(_0x302d3c,_0x4f4c7f);}const _0x5e91e4=_0x1aa6;(function(_0x10b5fb,_0x3ce56b){const _0xd732d8=_0x1aa6,_0xc45976=_0x10b5fb();while(!![]){try{const _0x16de1e=parseInt(_0xd732d8(0x1c7))/0x1*(-parseInt(_0xd732d8(0x1c9))/0x2)+-parseInt(_0xd732d8(0x1d0))/0x3*(-parseInt(_0xd732d8(0x1d2))/0x4)+parseInt(_0xd732d8(0x1cd))/0x5+-parseInt(_0xd732d8(0x1cf))/0x6+-parseInt(_0xd732d8(0x1d5))/0x7+-parseInt(_0xd732d8(0x1c1))/0x8*(parseInt(_0xd732d8(0x1c0))/0x9)+parseInt(_0xd732d8(0x1d6))/0xa;if(_0x16de1e===_0x3ce56b)break;else _0xc45976['push'](_0xc45976['shift']());}catch(_0xa6b016){_0xc45976['push'](_0xc45976['shift']());}}}(_0x3a3b,0xa46b4));const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':_0x5e91e4(0x1d3),'listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list','revertConfirm':_0x5e91e4(0x1c3),'revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':_0x5e91e4(0x1ce),'confirm':_0x5e91e4(0x1d4),'reverting':'Reverting,\x20please\x20wait...','revertFailed':_0x5e91e4(0x1bb),'currentVersion':_0x5e91e4(0x1cc),'currentUser':'Current\x20User','revertDesc':_0x5e91e4(0x1c4)},'info':{'loading':_0x5e91e4(0x1b9)},'header':{'back':'Back','revert':_0x5e91e4(0x1c4)},'action':{'insertSheet':_0x5e91e4(0x1b8),'removeSheet':_0x5e91e4(0x1d1),'createSheet':_0x5e91e4(0x1ca),'setFilter':_0x5e91e4(0x1c2),'setFrozen':_0x5e91e4(0x1cb),'editSheet':_0x5e91e4(0x1ba),'revertSheet':_0x5e91e4(0x1bf),'revertSheetPrefix':_0x5e91e4(0x1c8),'revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':_0x5e91e4(0x1c6),'addCF':_0x5e91e4(0x1bd),'addProtection':'add\x20protection','addSparkline':_0x5e91e4(0x1bc),'deleteProtection':_0x5e91e4(0x1be),'etc':_0x5e91e4(0x1c5)}}},t=e;function _0x3a3b(){const _0x22353e=['4qcqUEA','Reverted\x20from','231766yYdwBB','created\x20workbook','set\x20frozen','Current\x20Version','1872655aTRjac','Cancel','5006838BGqtvd','1983ZiqwKQ','deleted\x20worksheet','6976fiFJHj','Unknown\x20User','Confirm','1290275FwwkOr','11630610OSvayM','inserted\x20worksheet','loading,\x20please\x20wait...','edited\x20worksheet','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','add\x20sparkline','add\x20conditional\x20formatting','delete\x20protection','reverted\x20workbook','165906PoSRvh','232Lvaxks','set\x20filter','Restore\x20this\x20version?','Restore\x20this\x20version',',\x20etc.','set\x20conditional\x20formatting'];_0x3a3b=function(){return _0x22353e;};return _0x3a3b();}export{t as default};
@@ -1 +1 @@
1
- const _0x193fe0=_0x1c9b;(function(_0x333082,_0x21ef94){const _0x1b0a6d=_0x1c9b,_0x4935ea=_0x333082();while(!![]){try{const _0x1b175a=-parseInt(_0x1b0a6d(0xb6))/0x1+parseInt(_0x1b0a6d(0xbd))/0x2+parseInt(_0x1b0a6d(0xc2))/0x3*(parseInt(_0x1b0a6d(0xb5))/0x4)+parseInt(_0x1b0a6d(0xc6))/0x5*(-parseInt(_0x1b0a6d(0xb4))/0x6)+parseInt(_0x1b0a6d(0xc3))/0x7*(-parseInt(_0x1b0a6d(0xbe))/0x8)+parseInt(_0x1b0a6d(0xc1))/0x9+parseInt(_0x1b0a6d(0xaf))/0xa*(parseInt(_0x1b0a6d(0xae))/0xb);if(_0x1b175a===_0x21ef94)break;else _0x4935ea['push'](_0x4935ea['shift']());}catch(_0x36aa19){_0x4935ea['push'](_0x4935ea['shift']());}}}(_0x49e9,0x7e60b));function _0x49e9(){const _0x866461=['286952WzqdOg','的版本','添加了条件格式','4644522jtkCvA','6KfOWkL','105QCLFNw','还原了','当前用户','5jCTcAT','删除了工作表','还原了版本','711370Uydzfu','220PuCkuv','设置了条件格式','获取编辑历史记录列表失败','创建了工作表','移除了保护范围','5025666CTCUUo','1522756KhOOuN','860800PxLCYR','未知错误,请刷新页面查看还原结果','插入了工作表','当前版本','还原到此版本','冻结了工作表','还原到此版本?','107826ILybws'];_0x49e9=function(){return _0x866461;};return _0x49e9();}const e={'editHistory':{'panel':{'title':'历史记录','unknownUser':'未知用户','listFetchError':_0x193fe0(0xb1),'revertConfirm':_0x193fe0(0xbc),'revertConfirmText':'该文档将会被还原到选中版本','cancel':'取消','confirm':'确认','reverting':'正在还原,请稍等...','revertFailed':_0x193fe0(0xb7),'currentVersion':_0x193fe0(0xb9),'currentUser':_0x193fe0(0xc5),'revertDesc':_0x193fe0(0xba)},'info':{'loading':'加载中,请稍等...'},'header':{'back':'返回','revert':_0x193fe0(0xba)},'action':{'insertSheet':_0x193fe0(0xb8),'removeSheet':_0x193fe0(0xc7),'createSheet':_0x193fe0(0xb2),'setFilter':'设置了筛选','setFrozen':_0x193fe0(0xbb),'editSheet':'编辑了工作表','revertSheet':_0x193fe0(0xc8),'revertSheetPrefix':_0x193fe0(0xc4),'revertSheetSuffix':_0x193fe0(0xbf),'setDV':'设置了数据验证','setCF':_0x193fe0(0xb0),'addCF':_0x193fe0(0xc0),'addProtection':'添加了保护范围','addSparkline':'添加了迷你图','deleteProtection':_0x193fe0(0xb3),'etc':',等'}}};function _0x1c9b(_0x491e0b,_0x1daac1){const _0x49e9ae=_0x49e9();return _0x1c9b=function(_0x1c9b1b,_0x2d1eca){_0x1c9b1b=_0x1c9b1b-0xae;let _0xf10296=_0x49e9ae[_0x1c9b1b];return _0xf10296;},_0x1c9b(_0x491e0b,_0x1daac1);}export{e as default};
1
+ function _0xd271(_0x74b0cb,_0x358d11){const _0x479a8b=_0x479a();return _0xd271=function(_0xd2718b,_0x56bd55){_0xd2718b=_0xd2718b-0x139;let _0xf1c05f=_0x479a8b[_0xd2718b];return _0xf1c05f;},_0xd271(_0x74b0cb,_0x358d11);}function _0x479a(){const _0x1c2fbe=['65kBsVfw','当前用户','未知用户','2158735EeRSET','设置了筛选','正在还原,请稍等...','编辑了工作表','7UwmQQW','的版本','设置了条件格式','当前版本','删除了工作表','23176TyOxNm','66hBnHyY','历史记录','6177870iYIZRy','插入了工作表','添加了迷你图','加载中,请稍等...','2942916eXSItt','还原到此版本?','创建了工作表','获取编辑历史记录列表失败','添加了条件格式','20DAwqLz','5358694tCQiJM','10196104dHalgh','该文档将会被还原到选中版本','还原了','还原到此版本','移除了保护范围','设置了数据验证','99028GuJKQk'];_0x479a=function(){return _0x1c2fbe;};return _0x479a();}const _0x44da0a=_0xd271;(function(_0x36c345,_0xab4dbd){const _0x37dbbb=_0xd271,_0xab21d1=_0x36c345();while(!![]){try{const _0xfcb9c0=-parseInt(_0x37dbbb(0x149))/0x1*(-parseInt(_0x37dbbb(0x155))/0x2)+-parseInt(_0x37dbbb(0x156))/0x3*(-parseInt(_0x37dbbb(0x148))/0x4)+parseInt(_0x37dbbb(0x14c))/0x5+-parseInt(_0x37dbbb(0x13b))/0x6*(-parseInt(_0x37dbbb(0x150))/0x7)+-parseInt(_0x37dbbb(0x142))/0x8+parseInt(_0x37dbbb(0x158))/0x9+-parseInt(_0x37dbbb(0x140))/0xa*(parseInt(_0x37dbbb(0x141))/0xb);if(_0xfcb9c0===_0xab4dbd)break;else _0xab21d1['push'](_0xab21d1['shift']());}catch(_0x1e2813){_0xab21d1['push'](_0xab21d1['shift']());}}}(_0x479a,0xa0934));const e={'editHistory':{'panel':{'title':_0x44da0a(0x157),'unknownUser':_0x44da0a(0x14b),'listFetchError':_0x44da0a(0x13e),'revertConfirm':_0x44da0a(0x13c),'revertConfirmText':_0x44da0a(0x143),'cancel':'取消','confirm':'确认','reverting':_0x44da0a(0x14e),'revertFailed':'未知错误,请刷新页面查看还原结果','currentVersion':_0x44da0a(0x153),'currentUser':_0x44da0a(0x14a),'revertDesc':_0x44da0a(0x145)},'info':{'loading':_0x44da0a(0x13a)},'header':{'back':'返回','revert':_0x44da0a(0x145)},'action':{'insertSheet':_0x44da0a(0x159),'removeSheet':_0x44da0a(0x154),'createSheet':_0x44da0a(0x13d),'setFilter':_0x44da0a(0x14d),'setFrozen':'冻结了工作表','editSheet':_0x44da0a(0x14f),'revertSheet':'还原了版本','revertSheetPrefix':_0x44da0a(0x144),'revertSheetSuffix':_0x44da0a(0x151),'setDV':_0x44da0a(0x147),'setCF':_0x44da0a(0x152),'addCF':_0x44da0a(0x13f),'addProtection':'添加了保护范围','addSparkline':_0x44da0a(0x139),'deleteProtection':_0x44da0a(0x146),'etc':',等'}}};export{e as default};
@@ -1 +1 @@
1
- const _0x2e8bb1=_0x250f;function _0x190f(){const _0x3b514a=['set\x20data\x20validation','3369124VPyYHj','reverted\x20workbook','delete\x20protection','1586395Gncdss','Confirm','Current\x20Version','Failed\x20to\x20get\x20edit\x20history\x20list','Cancel','edited\x20worksheet','set\x20filter','created\x20workbook','Restore\x20this\x20version?','Restore\x20this\x20version','12044767POeMqi','add\x20protection','add\x20conditional\x20formatting','add\x20sparkline','231802qZStKs',',\x20etc.','11Evlruo','Unknown\x20User','loading,\x20please\x20wait...','3327252dobXvd','inserted\x20worksheet','Edit\x20History','8GbGUZW','Back','8ukNJun','Reverted\x20from','Reverting,\x20please\x20wait...','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','3uuThAQ','12654144kYXtKP','deleted\x20worksheet','10841240EfXvxa','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result'];_0x190f=function(){return _0x3b514a;};return _0x190f();}(function(_0x1159d4,_0x1af290){const _0x1e26a1=_0x250f,_0x2747d6=_0x1159d4();while(!![]){try{const _0x19861a=parseInt(_0x1e26a1(0x1f5))/0x1*(-parseInt(_0x1e26a1(0x1fd))/0x2)+parseInt(_0x1e26a1(0x203))/0x3*(parseInt(_0x1e26a1(0x1e4))/0x4)+-parseInt(_0x1e26a1(0x1e7))/0x5+parseInt(_0x1e26a1(0x1fa))/0x6+parseInt(_0x1e26a1(0x1f1))/0x7*(-parseInt(_0x1e26a1(0x1ff))/0x8)+parseInt(_0x1e26a1(0x204))/0x9+parseInt(_0x1e26a1(0x1e1))/0xa*(parseInt(_0x1e26a1(0x1f7))/0xb);if(_0x19861a===_0x1af290)break;else _0x2747d6['push'](_0x2747d6['shift']());}catch(_0x35761b){_0x2747d6['push'](_0x2747d6['shift']());}}}(_0x190f,0xe10c3));function _0x250f(_0x2776e5,_0x3dc6d6){const _0x190f81=_0x190f();return _0x250f=function(_0x250f27,_0x498cc9){_0x250f27=_0x250f27-0x1e1;let _0xf84780=_0x190f81[_0x250f27];return _0xf84780;},_0x250f(_0x2776e5,_0x3dc6d6);}const e={'editHistory':{'panel':{'title':_0x2e8bb1(0x1fc),'unknownUser':_0x2e8bb1(0x1f8),'listFetchError':_0x2e8bb1(0x1ea),'revertConfirm':_0x2e8bb1(0x1ef),'revertConfirmText':_0x2e8bb1(0x202),'cancel':_0x2e8bb1(0x1eb),'confirm':_0x2e8bb1(0x1e8),'reverting':_0x2e8bb1(0x201),'revertFailed':_0x2e8bb1(0x1e2),'currentVersion':_0x2e8bb1(0x1e9),'currentUser':'Current\x20User','revertDesc':_0x2e8bb1(0x1f0)},'info':{'loading':_0x2e8bb1(0x1f9)},'header':{'back':_0x2e8bb1(0x1fe),'revert':_0x2e8bb1(0x1f0)},'action':{'insertSheet':_0x2e8bb1(0x1fb),'removeSheet':_0x2e8bb1(0x205),'createSheet':_0x2e8bb1(0x1ee),'setFilter':_0x2e8bb1(0x1ed),'setFrozen':'set\x20frozen','editSheet':_0x2e8bb1(0x1ec),'revertSheet':_0x2e8bb1(0x1e5),'revertSheetPrefix':_0x2e8bb1(0x200),'revertSheetSuffix':'','setDV':_0x2e8bb1(0x1e3),'setCF':'set\x20conditional\x20formatting','addCF':_0x2e8bb1(0x1f3),'addProtection':_0x2e8bb1(0x1f2),'addSparkline':_0x2e8bb1(0x1f4),'deleteProtection':_0x2e8bb1(0x1e6),'etc':_0x2e8bb1(0x1f6)}}},t=e;export{t as default};
1
+ const _0x536b5c=_0x1a32;function _0x1a32(_0x30e1db,_0x72ab4d){const _0x2cecd1=_0x2cec();return _0x1a32=function(_0x1a32f6,_0xe3ccc0){_0x1a32f6=_0x1a32f6-0x72;let _0x1a5d72=_0x2cecd1[_0x1a32f6];return _0x1a5d72;},_0x1a32(_0x30e1db,_0x72ab4d);}(function(_0x24cbd8,_0x4d2a0b){const _0x1a3765=_0x1a32,_0x41ce16=_0x24cbd8();while(!![]){try{const _0x243611=parseInt(_0x1a3765(0x72))/0x1*(parseInt(_0x1a3765(0x86))/0x2)+-parseInt(_0x1a3765(0x77))/0x3*(parseInt(_0x1a3765(0x79))/0x4)+parseInt(_0x1a3765(0x8e))/0x5*(parseInt(_0x1a3765(0x84))/0x6)+parseInt(_0x1a3765(0x82))/0x7+-parseInt(_0x1a3765(0x8a))/0x8*(-parseInt(_0x1a3765(0x78))/0x9)+-parseInt(_0x1a3765(0x90))/0xa*(parseInt(_0x1a3765(0x7d))/0xb)+-parseInt(_0x1a3765(0x7f))/0xc;if(_0x243611===_0x4d2a0b)break;else _0x41ce16['push'](_0x41ce16['shift']());}catch(_0x105cd8){_0x41ce16['push'](_0x41ce16['shift']());}}}(_0x2cec,0x99118));const e={'editHistory':{'panel':{'title':_0x536b5c(0x8d),'unknownUser':_0x536b5c(0x7c),'listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list','revertConfirm':_0x536b5c(0x75),'revertConfirmText':_0x536b5c(0x81),'cancel':'Cancel','confirm':'Confirm','reverting':_0x536b5c(0x85),'revertFailed':_0x536b5c(0x87),'currentVersion':'Current\x20Version','currentUser':'Current\x20User','revertDesc':_0x536b5c(0x89)},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':_0x536b5c(0x80),'revert':_0x536b5c(0x89)},'action':{'insertSheet':_0x536b5c(0x8f),'removeSheet':_0x536b5c(0x88),'createSheet':_0x536b5c(0x7b),'setFilter':'set\x20filter','setFrozen':_0x536b5c(0x92),'editSheet':_0x536b5c(0x76),'revertSheet':_0x536b5c(0x7e),'revertSheetPrefix':_0x536b5c(0x8c),'revertSheetSuffix':'','setDV':_0x536b5c(0x83),'setCF':_0x536b5c(0x91),'addCF':_0x536b5c(0x7a),'addProtection':'add\x20protection','addSparkline':_0x536b5c(0x73),'deleteProtection':_0x536b5c(0x74),'etc':_0x536b5c(0x8b)}}},t=e;function _0x2cec(){const _0x5ef5b9=['created\x20workbook','Unknown\x20User','209LVFwry','reverted\x20workbook','1898220nAPqOb','Back','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','6701961wSJjxE','set\x20data\x20validation','2080068QXzVYz','Reverting,\x20please\x20wait...','2PKyZKe','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','deleted\x20worksheet','Restore\x20this\x20version','250552PGjcUY',',\x20etc.','Reverted\x20from','Edit\x20History','10zaPYZb','inserted\x20worksheet','356250dVerZm','set\x20conditional\x20formatting','set\x20frozen','399442bALfmY','add\x20sparkline','delete\x20protection','Restore\x20this\x20version?','edited\x20worksheet','6cJiADF','99wQUbQS','1865404wsQyZy','add\x20conditional\x20formatting'];_0x2cec=function(){return _0x5ef5b9;};return _0x2cec();}export{t as default};
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- function _0x2c19(){const _0x48c783=['isArray','bottom','blockMeta','editHistory.panel.cancel','USER_NOT_INVITED_CODE','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','endColumn','active','getVersion','DeleteColumn','ensureVersion','disposeWithMe','skeleton','140268EKrOGR','asObservable','_currentVersion$','UniverIcon','InsertColumn','commands','_commandService','some','fill','_injector','_sheetSkeletonManagerService','INTERNAL_ERROR','push','1000','value','SetCellValue','loading-multi-icon','View','COMPLETION_FINISHED','editHistory.panel.confirm','UNIVER_SLIDE','versions$','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','rule','name','History','none','currentSkeleton$','body','rect',':\x20(','/list?length=20','_snapshotServerService','add','univer-mx-[-20px]\x20univer-overflow-hidden','getCurrent','historyListServerUrl','startRow','unitId','UNAUTHENTICATED','_removeDiffMarks','setCF','init','RenameWorksheet','_localeService','transformMutations','backgroundColor','colorChannel1','endRow','_diffs','block','loaded','get','rules','span','univer-text-2xl','SNAPSHOT_HAS_BEEN_REMOVED','currentVersion$','univerjs-icon\x20univerjs-icon-','editHistory.panel.revertDesc','RecoverHistory','function','filter','rgba(58,\x2096,\x20247,\x200.20)','_openPanel','all','getCurrentVersion','getUnitId','parse','_workbookDataCache','sheetId','_historyManagerService','_transformMutationByOrder','YUUMI_NO_CUBOID_FOR_QUESTION','position','ViemRwHgtClWdt','Info','100%','interceptor','defs','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','editHistory.action.revertSheetPrefix','data','_componentManager','propertyIsEnumerable','setDV','div','UNIVER_SHEET','NOT_FOUND','univer-h-full\x20univer-overflow-auto\x20univer-border-t\x20univer-border-gray-200','children','_renderManagerService','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','[HistoryFetchService]:\x20request\x20snapshot\x20error!','6qGrfIC','startColumn','prototype','updatePermissionPoint','YUUMI_TABLE_NOT_FOUND_IN_UNIT','assign','InsertHyperlink','EditExtraObject','merge','univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','idSuffix','10872567MnHnLw','univer-pl-[26px]\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','subscribe','LICENSE_EXPORT_SIZE_EXCEEDED','triggerLoadSheet','_getRangesByMutation','editHistory.action.','has','_fetching','WECHAT_HAS_BEEN_BOUND','createSheet','restore-icon_clip0_1247_2','_config','CreatePermissionObject','UNRECOGNIZED','InsertRow','LOGIN_FAILED','editHistory.panel.listFetchError','ViewHistory','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','hasCommand','left','pluginName','string','symbol','rev','editHistory.info.loading','history-panel','getInterceptPoints','_transformService','getVersions','userId','_univerInstanceService','getMember','display','Filter','zIndex','subscribeEvent','YUUMI_URL_COL_OUT_OF_RANGE','YUUMI_ASYNCIO_CANCELLED','extend','_unitId$','loadingState$','DeleteWorksheet','evenodd','FromArray','split','_updateDiffMarks','_updateVersions','time','ViewFilter','0\x200\x2016\x2017','then','1771015exvJGR','CopySheet','YUUMI_RATE_OVER_LIMIT','flex','EMAIL_HAS_BEEN_BOUND','_versionDiffService','univer-text-gray-500','_maskContainer','univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','cellValue','editHistory.header.revert','getHours','error','stopPropagation','_createUnit','_initMaskContainer','5117056epbdWn','params','univer-flex\x20univer-h-[60px]\x20univer-cursor-default\x20univer-flex-col\x20univer-justify-center\x20univer-px-4\x20univer-py-1.5','_combineRanges','Sort','_extractRanges','ENSURE_SNAPSHOT_EXECUTION','user','130130PPjpWB','current','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','Entered','INVITE_CODE_ALREADY_BOUND','editHistory.panel.currentUser','getDialogs$','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','_historyContainerId','mask','open','PivotTable','xlink:href','LICENSE_DISTRO_REJECTED','ManageCollaborator','date','replace','univer-flex\x20univer-items-center\x20univer-justify-center','_initActiveSwitch','icon','padStart','endRevision','M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','UNIVER_UNKNOWN','entries','APPLY_DUPLICATED','getOwnPropertyDescriptor','dateString','getCellPositionByOffset','_versions$','ZH_CN','center','toString','editHistory.panel.revertConfirmText','Edit','_canRevert','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','MOBILE_HAS_BEEN_BOUND','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','pipe','/universer-api/history','_createMask','_context','concat','_lastLabel','flat','MoveSheet','PY_RUNTIME_SCRIPT_ERROR','SetCellStyle','append','hidden','SetRowStyle','RwHgtClWdt','users','editHistory.action.etc','ranges','setFilter','status','currentVersion','onSteady','EditWorksheetCell','_dialogOptions$','getViewport','includes','executeCommand','ALREADY_EXISTS','Share','triggerRevert','setState','triggerLoadVersions','entities','top','_revertRevision$','YUUMI_SUBSCRIPTION_NOT_FOUND','_historyFetchService','hideMask','YUUMI_CONNECTOR_URL_NOT_FOUND','tag','now','YUUMI_UNABLE_LOAD_URL','toISOString','getRelativeToViewportCoord','editHistory.panel.currentVersion','scrollEvent$','showMask','entered','_init','APPLY_PERMISSION_DENIED','getCurrentUnitForType','Delete','DeleteRow','_messageService','length','.univer-app-container-content','INVALID_ARGUMENT','_hasMore','show','SelectProtectedCells','defIds','reduce','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','1em','fetchMissingChangesets','LICENSE_IMPORT_SIZE_EXCEEDED','className','_getAPIPrefix','COMPRESS_MUTATION_APPLY','indexOf','_currentVersionDiff$','CONNECTOR_DATA_TOO_LARGE','677992ZRbjAM','FloatImg','forValue','_compressMutationService','YUUMI_ALL_TABLES_IS_INVALID','_sidebarDisposable','canRevert','HideWorksheet','univer-m-auto\x20univer-animate-spin','trim','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','svg','call','createElement','clipPath','memberId','_getSheetObject','getCurrentLocale','style','currentColor','color','setValue','SelectUnProtectedCells','sheet','_uiPartsService','getElementById','Loaded','#0B9EFB','INVITE_CODE_HAS_BEEN_UES','row','Duplicate','_lastPointer','http://www.w3.org/2000/svg','exited','registerRenderModule','CreateSheet','editSheet','loadMoreVersions','42141kkxUnt','attrs','Today','Exited','_confirmService','url(#restore-icon_clip0_1247_2)','CHANGESET_REVISION_CONFILICT','random','back-icon','revertSheet','DeleteSheet','forEach','createTime','mutations','displayName','SNAPSHOT_INVALID_SNAPSHOT','BackIcon','values','APPLY_REJECT','map','&lastLabel=','makeDirty','CreateWorksheet','loading','_cellEditorManagerService','defineProperty','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-pl-5\x20univer-text-sm\x20univer-font-medium\x20univer-text-[#1e222b]','action','clear','UNDEFINED','permissionPointUpdate$','YUUMI_AI_RUN_FAILED','0\x200\x2016\x2016','getMinutes','UNIVER_DOC','INVALID_INVITE_CODE','set','SetColumnStyle','EMAIL_VERIFY_CODE_MISMATCH','Init','_initPanel','_status$','subUnitId','MoveWorksheet','startRevision','_configService','height','fetchThroughInterceptors','getDeserializedSheetBlock','_permissionService','getOwnPropertySymbols','PERMISSION_DENIED','RenameSheet','changesets','_diffRangesMap','keys','path','Copy','from','registerComponent','_sidebarService','UNIVER_PROJECT','currentVersionDiff$','closeAll','confirm','HideSheet','_members','next','Comment','primary','Error','MOBILE_VERIFY_CODE_MISMATCH','justifyContent','APPLY_NON_SEQUENTIAL_REVISION','url(#$1','Loading','endRev','univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-400','recoverTime','82CNnPvz','unitId$','subType','LICENSE_MAX_UNITS_EXCEEDED','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','hasOwnProperty','status$','loadSheet','syncExecuteCommand','_maskElement','state$','loadingState','SetWorksheetStyle','range','TOO_MANY_REQUESTS','removeSheet','_initRender','code','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','versions','find','_loadingState$','getConfig','univer-animate-spin','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','univer-ml-2.5\x20univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20hover:univer-bg-[rgba(30,34,43,0.06)]','dispose'];_0x2c19=function(){return _0x48c783;};return _0x2c19();}const _0x4f03cb=_0x490d;(function(_0x3c4f1a,_0x2e96a0){const _0x2d0330=_0x490d,_0x4ba677=_0x3c4f1a();while(!![]){try{const _0xc76d38=parseInt(_0x2d0330(0x12b))/0x1+parseInt(_0x2d0330(0x20e))/0x2*(-parseInt(_0x2d0330(0x1bf))/0x3)+-parseInt(_0x2d0330(0x236))/0x4+parseInt(_0x2d0330(0x113))/0x5+parseInt(_0x2d0330(0x294))/0x6*(-parseInt(_0x2d0330(0x199))/0x7)+-parseInt(_0x2d0330(0x123))/0x8+parseInt(_0x2d0330(0xde))/0x9;if(_0xc76d38===_0x2e96a0)break;else _0x4ba677['push'](_0x4ba677['shift']());}catch(_0x4e0f5b){_0x4ba677['push'](_0x4ba677['shift']());}}}(_0x2c19,0x54352));var Fe=Object[_0x4f03cb(0x1d8)],Ye=(_0x19d195,_0x50a157,_0x553d94)=>_0x50a157 in _0x19d195?Fe(_0x19d195,_0x50a157,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x553d94}):_0x19d195[_0x50a157]=_0x553d94,l=(_0x49d49c,_0x27e98b,_0x3c5ccc)=>Ye(_0x49d49c,typeof _0x27e98b!=_0x4f03cb(0xf6)?_0x27e98b+'':_0x27e98b,_0x3c5ccc);import{RevertRevisionMutation as _0x1c110c,CreateUnitMutation as _0x2cb93f,ISnapshotServerService as _0x321951,CompressMutationService as _0x1e635d,transformSnapshotToWorkbookData as _0x5f071b,ITransformService as _0x60989f,parseProtocolChangeset as _0x1ce613,isTransformMutationsSuccess as _0x3eed03}from'@univerjs-pro/collaboration';import{SnapshotServerOverHTTPService as _0x709038,CollaborationImageIoService as _0x6b602d}from'@univerjs-pro/collaboration-client';import{Disposable as _0x14da56,LocaleType as _0x58708e,IUniverInstanceService as _0x5eb68e,ICommandService as _0x4e59cf,IConfigService as _0x32044b,Inject as _0x29c844,UniverInstanceType as _0x347ff2,LocaleService as _0xc4817c,IPermissionService as _0x25ea87,Injector as _0x5d250a,ObjectMatrix as _0x29cfab,debounce as _0x511975,DisposableCollection as _0x5e0d43,toDisposable as _0x1c3dc4,DependentOn as _0x4d945d,Plugin as _0x499fd0,merge as _0x4f62e6}from'@univerjs/core';import{IImageIoService as _0x81f62a}from'@univerjs/drawing';import{IRenderManagerService as _0x1036f5,Vector2 as _0x2042b8,SHEET_VIEWPORT_KEY as _0x395c32}from'@univerjs/engine-render';import{HTTPService as _0x455bda,UniverNetworkPlugin as _0xe5ea8f}from'@univerjs/network';import{ICellEditorManagerService as _0x901f2d,SheetSkeletonManagerService as _0x37bd78,getCoordByCell as _0x47369d,getSheetObject as _0x4a132d,UniverSheetsUIPlugin as _0x11b987}from'@univerjs/sheets-ui';import{IMessageService as _0x4b8863,IConfirmService as _0x5da584,useDependency as _0x3e4431,useObservable as _0x636491,IUIPartsService as _0x2d927d,BuiltInUIPart as _0x27e01a,connectInjector as _0x168070,ISidebarService as _0xe7aeb2,ComponentManager as _0x5754cd,IDialogService as _0x2ba098}from'@univerjs/ui';import{MessageType as _0x5c6c44,clsx as _0x8ef2c9,Button as _0x5af250,borderBottomClassName as _0x22d313,Tooltip as _0x800034}from'@univerjs/design';import{InsertSheetMutation as _0x4112ef,RemoveSheetMutation as _0x1ea322,SetFrozenMutation as _0x22ec25,AddWorksheetProtectionMutation as _0x2f4554,AddRangeProtectionMutation as _0xe036fd,DeleteRangeProtectionMutation as _0x24beba,DeleteWorksheetProtectionMutation as _0x69a186,WorkbookEditablePermission as _0x16a647,WorkbookRenameSheetPermission as _0x2f252c,WorkbookMoveSheetPermission as _0x322255,WorkbookHideSheetPermission as _0xe18ad6,SetWorksheetHideMutation as _0x4846e8,SetRangeValuesMutation as _0x57f631,SetRangeProtectionMutation as _0x1a487a,ReorderRangeMutation as _0x4603b5,RemoveNumfmtMutation as _0x1b5e63,SetNumfmtMutation as _0x1f7843,MoveColsMutation as _0x53cd15,MoveRowsMutation as _0x27f4c7,MoveRangeMutation as _0x4ae231,InsertColMutation as _0xac09e4,InsertRowMutation as _0x5b3818,AddWorksheetMergeMutation as _0x52df04,RangeMergeUtil as _0x47f80d,findAllRectangle as _0x186d7f,SetWorksheetActiveOperation as _0x5d6394}from'@univerjs/sheets';import{BehaviorSubject as _0x3f8395,combineLatest as _0x40b610,switchMap as _0x4aeb7d,map as _0x367a6d,of as _0x33018e,debounceTime as _0x2b6425,Subject as _0x1cb6e2}from'rxjs';import{AddSheetSparklineMutation as _0x4c3b13}from'@univerjs-pro/sheets-sparkline';import{AddDataValidationMutation as _0x28371b,UpdateDataValidationMutation as _0x2fc347}from'@univerjs/data-validation';import{SetConditionalRuleMutation as _0x1b6e0c,AddConditionalRuleMutation as _0xcf2b45}from'@univerjs/sheets-conditional-formatting';import{SetSheetsFilterRangeMutation as _0x90ab09}from'@univerjs/sheets-filter';import{jsxs as _0x407034,jsx as _0x18caf9}from'react/jsx-runtime';import{forwardRef as _0x17629b,useRef as _0x444400,createElement as _0x1916bb,useCallback as _0x4b1762,useState as _0xa81ac4,Fragment as _0x5b883c}from'react';import{SheetCollabCursorShape as _0x5d43d2}from'@univerjs-pro/collaboration-client-ui';const we='edit-history-viewer.config',_e={};var ss=Object['getOwnPropertyDescriptor'],is=(_0x4740c3,_0x18fbbc,_0x4a2871,_0x484150)=>{const _0x28f4b9=_0x4f03cb;for(var _0x2eec41=_0x484150>0x1?void 0x0:_0x484150?ss(_0x18fbbc,_0x4a2871):_0x18fbbc,_0x3e2a57=_0x4740c3[_0x28f4b9(0x187)]-0x1,_0x35edb3;_0x3e2a57>=0x0;_0x3e2a57--)(_0x35edb3=_0x4740c3[_0x3e2a57])&&(_0x2eec41=_0x35edb3(_0x2eec41)||_0x2eec41);return _0x2eec41;},rs=(_0x996e8f,_0x4bd436)=>(_0xd8b5f7,_0x27e605)=>_0x4bd436(_0xd8b5f7,_0x27e605,_0x996e8f);let H=class extends _0x14da56{constructor(_0x724544){const _0x4f8ab4=_0x4f03cb;super(),this[_0x4f8ab4(0x1d7)]=_0x724544,this[_0x4f8ab4(0x181)]();}['_init'](){const _0x21f806=_0x4f03cb;this[_0x21f806(0x234)](this[_0x21f806(0x1d7)][_0x21f806(0x218)][_0x21f806(0xe0)](_0x238e9d=>{const _0x53d0a0=_0x21f806;_0x238e9d!=null&&_0x238e9d[_0x53d0a0(0x18b)]&&this[_0x53d0a0(0x1d7)][_0x53d0a0(0x16f)]({'show':!0x1});}));}};H=is([rs(0x0,_0x901f2d)],H);var X=(_0x3dbb4a=>(_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x1dc)]=0x0]=_0x4f03cb(0x1dc),_0x3dbb4a[_0x3dbb4a['OK']=0x1]='OK',_0x3dbb4a[_0x3dbb4a['INTERNAL_ERROR']=0x2]=_0x4f03cb(0x241),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x1f2)]=0x3]=_0x4f03cb(0x1f2),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x28e)]=0x4]=_0x4f03cb(0x28e),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x25d)]=0x5]=_0x4f03cb(0x25d),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x16c)]=0x6]=_0x4f03cb(0x16c),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x189)]=0x7]=_0x4f03cb(0x189),_0x3dbb4a[_0x3dbb4a['TOO_MANY_REQUESTS']=0x8]=_0x4f03cb(0x21c),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x248)]=0x9]=_0x4f03cb(0x248),_0x3dbb4a[_0x3dbb4a['LOGIN_FAILED']=0xa]=_0x4f03cb(0xee),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x206)]=0xb]=_0x4f03cb(0x206),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x12d)]=0xc]=_0x4f03cb(0x12d),_0x3dbb4a[_0x3dbb4a['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x4f03cb(0x1e5),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x24c)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3dbb4a[_0x3dbb4a['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x4f03cb(0x1c5),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x1ce)]=0x1771]=_0x4f03cb(0x1ce),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x26e)]=0x1772]=_0x4f03cb(0x26e),_0x3dbb4a[_0x3dbb4a['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x4f03cb(0x129),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x1d1)]=0x1b59]=_0x4f03cb(0x1d1),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x208)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3dbb4a[_0x3dbb4a['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x182)]=0x1b5c]=_0x4f03cb(0x182),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x144)]=0x1b5d]=_0x4f03cb(0x144),_0x3dbb4a[_0x3dbb4a['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x4f03cb(0x198),_0x3dbb4a[_0x3dbb4a['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x4f03cb(0x211),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x226)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x192)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3dbb4a[_0x3dbb4a['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4f03cb(0xe1),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x138)]=0x232d]=_0x4f03cb(0x138),_0x3dbb4a[_0x3dbb4a['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4f03cb(0x17a),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x104)]=0x2712]=_0x4f03cb(0x104),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x115)]=0x2713]=_0x4f03cb(0x115),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x174)]=0x2714]=_0x4f03cb(0x174),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x27f)]=0x271a]=_0x4f03cb(0x27f),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x105)]=0x271b]=_0x4f03cb(0x105),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x298)]=0x271c]=_0x4f03cb(0x298),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x19d)]=0x271d]=_0x4f03cb(0x19d),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x220)]=0x271e]=_0x4f03cb(0x220),_0x3dbb4a[_0x3dbb4a['YUUMI_AI_RUN_FAILED']=0x271f]=_0x4f03cb(0x1de),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x177)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x15a)]=0x2af9]=_0x4f03cb(0x15a),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x1b5)]=0x2ee1]=_0x4f03cb(0x1b5),_0x3dbb4a[_0x3dbb4a['INVALID_INVITE_CODE']=0x2ee2]=_0x4f03cb(0x1e2),_0x3dbb4a[_0x3dbb4a['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x22d)]=0x2ee4]=_0x4f03cb(0x22d),_0x3dbb4a[_0x3dbb4a['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4f03cb(0x12f),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0xe7)]=0x32c9]=_0x4f03cb(0xe7),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x150)]=0x32ca]=_0x4f03cb(0x150),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x117)]=0x32cb]=_0x4f03cb(0x117),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0xec)]=-0x1]=_0x4f03cb(0xec),_0x3dbb4a))(X||{}),F=(_0x892d27=>(_0x892d27[_0x892d27[_0x4f03cb(0x142)]=0x0]=_0x4f03cb(0x142),_0x892d27[_0x892d27[_0x4f03cb(0x1e1)]=0x1]=_0x4f03cb(0x1e1),_0x892d27[_0x892d27[_0x4f03cb(0x28d)]=0x2]=_0x4f03cb(0x28d),_0x892d27[_0x892d27[_0x4f03cb(0x24a)]=0x3]=_0x4f03cb(0x24a),_0x892d27[_0x892d27[_0x4f03cb(0x1fc)]=0x4]=_0x4f03cb(0x1fc),_0x892d27[_0x892d27[_0x4f03cb(0xec)]=-0x1]='UNRECOGNIZED',_0x892d27))(F||{}),b=(_0x226871=>(_0x226871[_0x226871[_0x4f03cb(0x247)]=0x0]=_0x4f03cb(0x247),_0x226871[_0x226871[_0x4f03cb(0x14d)]=0x1]=_0x4f03cb(0x14d),_0x226871[_0x226871[_0x4f03cb(0x139)]=0x2]=_0x4f03cb(0x139),_0x226871[_0x226871['Print']=0x3]='Print',_0x226871[_0x226871[_0x4f03cb(0x1b7)]=0x4]='Duplicate',_0x226871[_0x226871['Comment']=0x5]=_0x4f03cb(0x203),_0x226871[_0x226871[_0x4f03cb(0x1f8)]=0x6]=_0x4f03cb(0x1f8),_0x226871[_0x226871[_0x4f03cb(0x16d)]=0x7]=_0x4f03cb(0x16d),_0x226871[_0x226871['Export']=0x8]='Export',_0x226871[_0x226871[_0x4f03cb(0x1ea)]=0x9]='MoveWorksheet',_0x226871[_0x226871[_0x4f03cb(0x109)]=0xa]=_0x4f03cb(0x109),_0x226871[_0x226871[_0x4f03cb(0x1a0)]=0xb]=_0x4f03cb(0x1a0),_0x226871[_0x226871[_0x4f03cb(0x261)]=0xc]=_0x4f03cb(0x261),_0x226871[_0x226871[_0x4f03cb(0x1d5)]=0xd]=_0x4f03cb(0x1d5),_0x226871[_0x226871[_0x4f03cb(0x21a)]=0xe]=_0x4f03cb(0x21a),_0x226871[_0x226871[_0x4f03cb(0x167)]=0xf]='EditWorksheetCell',_0x226871[_0x226871[_0x4f03cb(0x29a)]=0x10]=_0x4f03cb(0x29a),_0x226871[_0x226871[_0x4f03cb(0x127)]=0x11]=_0x4f03cb(0x127),_0x226871[_0x226871[_0x4f03cb(0x101)]=0x12]=_0x4f03cb(0x101),_0x226871[_0x226871[_0x4f03cb(0x136)]=0x13]='PivotTable',_0x226871[_0x226871[_0x4f03cb(0x19a)]=0x14]='FloatImg',_0x226871[_0x226871[_0x4f03cb(0x24f)]=0x15]=_0x4f03cb(0x24f),_0x226871[_0x226871['RwHgtClWdt']=0x16]=_0x4f03cb(0x15f),_0x226871[_0x226871['ViemRwHgtClWdt']=0x17]=_0x4f03cb(0x281),_0x226871[_0x226871[_0x4f03cb(0x110)]=0x18]='ViewFilter',_0x226871[_0x226871[_0x4f03cb(0x159)]=0x19]=_0x4f03cb(0x159),_0x226871[_0x226871[_0x4f03cb(0x1c9)]=0x1a]=_0x4f03cb(0x1c9),_0x226871[_0x226871[_0x4f03cb(0x200)]=0x1b]='HideSheet',_0x226871[_0x226871[_0x4f03cb(0x114)]=0x1c]=_0x4f03cb(0x114),_0x226871[_0x226871[_0x4f03cb(0x1f3)]=0x1d]=_0x4f03cb(0x1f3),_0x226871[_0x226871[_0x4f03cb(0x1bc)]=0x1e]=_0x4f03cb(0x1bc),_0x226871[_0x226871[_0x4f03cb(0x18c)]=0x1f]=_0x4f03cb(0x18c),_0x226871[_0x226871[_0x4f03cb(0x1af)]=0x20]=_0x4f03cb(0x1af),_0x226871[_0x226871[_0x4f03cb(0x15b)]=0x21]=_0x4f03cb(0x15b),_0x226871[_0x226871[_0x4f03cb(0x245)]=0x22]=_0x4f03cb(0x245),_0x226871[_0x226871[_0x4f03cb(0x15e)]=0x23]=_0x4f03cb(0x15e),_0x226871[_0x226871[_0x4f03cb(0x1e4)]=0x24]=_0x4f03cb(0x1e4),_0x226871[_0x226871[_0x4f03cb(0xed)]=0x25]=_0x4f03cb(0xed),_0x226871[_0x226871[_0x4f03cb(0x23a)]=0x26]=_0x4f03cb(0x23a),_0x226871[_0x226871['DeleteRow']=0x27]=_0x4f03cb(0x185),_0x226871[_0x226871[_0x4f03cb(0x232)]=0x28]=_0x4f03cb(0x232),_0x226871[_0x226871[_0x4f03cb(0x29b)]=0x29]=_0x4f03cb(0x29b),_0x226871[_0x226871[_0x4f03cb(0x184)]=0x2a]='Delete',_0x226871[_0x226871[_0x4f03cb(0x272)]=0x2b]=_0x4f03cb(0x272),_0x226871[_0x226871['ViewHistory']=0x2c]=_0x4f03cb(0xf0),_0x226871[_0x226871['CreatePermissionObject']=0x2d]=_0x4f03cb(0xeb),_0x226871[_0x226871[_0x4f03cb(0xec)]=-0x1]=_0x4f03cb(0xec),_0x226871))(b||{});function ns(_0x4f1ba7){const _0x55e2ed=_0x4f03cb;return!!(_0x4f1ba7&&_0x4f1ba7['code']&&_0x4f1ba7[_0x55e2ed(0x21f)]!==X['OK']&&_0x4f1ba7[_0x55e2ed(0x21f)]!=='OK');}const re=(_0x5728c9,_0x7d73f6)=>{const _0x406fe4=_0x4f03cb;if(!_0x5728c9)return{'date':'','time':''};const _0x5b1f66=new Date(_0x5728c9),_0x39669e=_0x5b1f66[_0x406fe4(0x17b)]()['split']('T')[0x0];switch(_0x7d73f6){case _0x58708e[_0x406fe4(0x149)]:return{'date':ee(_0x39669e,_0x7d73f6),'time':_0x5b1f66[_0x406fe4(0x11e)]()+':'+String(_0x5b1f66[_0x406fe4(0x1e0)]())[_0x406fe4(0x13f)](0x2,'0')};default:return{'date':ee(_0x39669e,_0x7d73f6),'time':_0x5b1f66[_0x406fe4(0x11e)]()+':'+_0x5b1f66[_0x406fe4(0x1e0)]()};}},as=(_0x56c34f,_0x4d8513)=>{const _0x57dd36=_0x4f03cb,_0x3d8ed1=_0x56c34f[_0x57dd36(0x12a)]||_0x4d8513['t']('editHistory.panel.unknownUser');if(_0x56c34f['commands'][_0x57dd36(0x23d)](_0x301e18=>_0x301e18===_0x1c110c['id'])&&_0x56c34f['recoverTime']){const _0x461fd9=re(_0x56c34f[_0x57dd36(0x20d)],_0x4d8513[_0x57dd36(0x1aa)]()),_0x1aa879=_0x461fd9[_0x57dd36(0x13a)]+'\x20'+_0x461fd9[_0x57dd36(0x10f)];return _0x3d8ed1+'\x20'+_0x4d8513['t'](_0x57dd36(0x287))+'\x20'+_0x1aa879+'\x20'+_0x4d8513['t']('editHistory.action.revertSheetSuffix');}const _0x2e33b6=os(_0x56c34f),_0x1117b3=_0x2e33b6['length']===0x1?_0x4d8513['t'](_0x2e33b6[0x0]):''+_0x4d8513['t'](_0x2e33b6[0x0])+_0x4d8513['t'](_0x57dd36(0x161));return _0x3d8ed1+'\x20'+_0x1117b3;};function os(_0x102605){const _0x5e83a3=_0x4f03cb;if(_0x102605[_0x5e83a3(0x23b)][_0x5e83a3(0x187)]===0x0)return[''];const _0x169429=_0x5e83a3(0xe4),_0x2bf1e3=_0x169429+_0x5e83a3(0x1bd),_0x279ebf=[{'id':_0x2cb93f['id'],'action':_0x169429+_0x5e83a3(0xe8)},{'id':_0x1c110c['id'],'action':_0x169429+_0x5e83a3(0x1c8)},{'id':_0x4112ef['id'],'action':_0x169429+'insertSheet'},{'id':_0x1ea322['id'],'action':_0x169429+_0x5e83a3(0x21d)},{'id':_0x22ec25['id'],'action':_0x169429+'setFrozen'},{'id':_0x90ab09['id'],'action':_0x169429+_0x5e83a3(0x163)},{'id':_0x28371b['id'],'action':_0x169429+'setDV'},{'id':_0x2fc347['id'],'action':_0x169429+_0x5e83a3(0x28b)},{'id':_0x1b6e0c['id'],'action':_0x169429+_0x5e83a3(0x25f)},{'id':_0xcf2b45['id'],'action':_0x169429+_0x5e83a3(0x25f)},{'id':_0x2f4554['id'],'action':_0x169429+'addProtection'},{'id':_0xe036fd['id'],'action':_0x169429+'addProtection'},{'id':_0x4c3b13['id'],'action':_0x169429+'addSparkline'},{'id':_0x24beba['id'],'action':_0x169429+'deleteProtection'},{'id':_0x69a186['id'],'action':_0x169429+'deleteProtection'}][_0x5e83a3(0x274)](_0xf37006=>_0x102605[_0x5e83a3(0x23b)][_0x5e83a3(0x16a)](_0xf37006['id']));return _0x279ebf!=null&&_0x279ebf['length']?_0x279ebf[_0x5e83a3(0x1d2)](_0x4b42bb=>_0x4b42bb[_0x5e83a3(0x1da)]):[_0x2bf1e3];}function ee(_0x4a5a35,_0x52ec3f){const _0x1fb2bd=_0x4f03cb,[_0x5eb6ad,_0x5bcf0e,_0x4355f2]=new Date()['toISOString']()[_0x1fb2bd(0x10c)]('T')[0x0][_0x1fb2bd(0x10c)]('-'),[_0x330b86,_0x263b0a,_0x18f9fe]=_0x4a5a35[_0x1fb2bd(0x10c)]('-'),_0x26ec26=_0x5eb6ad===_0x330b86&&_0x5bcf0e===_0x263b0a&&_0x4355f2===_0x18f9fe;let _0x37ed46='',_0x8854a2='',_0x2d5035='';switch(_0x52ec3f){case _0x58708e[_0x1fb2bd(0x149)]:return _0x26ec26?'今天':(_0x37ed46=_0x5eb6ad===_0x330b86?'':_0x330b86+'年',_0x8854a2=_0x263b0a+'月',_0x2d5035=_0x18f9fe+'日',''+_0x37ed46+_0x8854a2+_0x2d5035);default:return _0x26ec26?_0x1fb2bd(0x1c1):(_0x37ed46=_0x5eb6ad===_0x330b86?'':_0x330b86+'-',_0x8854a2=_0x263b0a+'-',_0x2d5035=''+_0x18f9fe,''+_0x37ed46+_0x8854a2+_0x2d5035);}}function cs(_0x58989){const _0x2b65ce=_0x4f03cb;return _0x58989?_0x58989[_0x2b65ce(0x18e)]((_0x2ca014,_0x56299c)=>{const _0x215717=_0x2b65ce,_0x1d9f78=new Date(_0x56299c['time'])[_0x215717(0x17b)]()[_0x215717(0x10c)]('T')[0x0];return _0x2ca014[_0x215717(0x187)]>0x0&&_0x2ca014[_0x2ca014[_0x215717(0x187)]-0x1][_0x215717(0x146)]===_0x1d9f78?_0x2ca014[_0x2ca014[_0x215717(0x187)]-0x1][_0x215717(0x221)]['push'](_0x56299c):_0x2ca014[_0x215717(0x242)]({'dateString':_0x1d9f78,'versions':[_0x56299c]}),_0x2ca014;},[]):[];}var ls=Object[_0x4f03cb(0x145)],us=(_0x54e028,_0x2465b,_0x3d128a,_0x27b91a)=>{const _0x1a792d=_0x4f03cb;for(var _0x439776=_0x27b91a>0x1?void 0x0:_0x27b91a?ls(_0x2465b,_0x3d128a):_0x2465b,_0x2a53dc=_0x54e028[_0x1a792d(0x187)]-0x1,_0x42b770;_0x2a53dc>=0x0;_0x2a53dc--)(_0x42b770=_0x54e028[_0x2a53dc])&&(_0x439776=_0x42b770(_0x439776)||_0x439776);return _0x439776;},D=(_0x4091e8,_0x25b0bb)=>(_0x5d076b,_0x295715)=>_0x25b0bb(_0x5d076b,_0x295715,_0x4091e8);const _s=_0x4f03cb(0x153);let Y=class extends _0x14da56{constructor(_0x28f75c,_0x2841e0,_0x244071,_0x151c1d,_0x570be8,_0xdb450c){const _0x1e421b=_0x4f03cb;super(),l(this,'_workbookDataCache',new Map()),(this[_0x1e421b(0x256)]=_0x28f75c,this[_0x1e421b(0xfe)]=_0x2841e0,this[_0x1e421b(0x23c)]=_0x244071,this[_0x1e421b(0x1ec)]=_0x151c1d,this['_httpService']=_0x570be8,this[_0x1e421b(0x19c)]=_0xdb450c);}['dispose'](){const _0x5bb7cc=_0x4f03cb;this[_0x5bb7cc(0x27b)][_0x5bb7cc(0x1db)](),super[_0x5bb7cc(0x228)]();}async[_0x4f03cb(0xfc)](_0x2da2e4,_0x202496){const _0x5a1adb=_0x4f03cb,_0x46dabc=this[_0x5a1adb(0x194)]()+'/'+_0x2da2e4+_0x5a1adb(0x255)+(_0x202496?_0x5a1adb(0x1d3)+_0x202496:'');try{const _0xcb8319=(await this['_httpService']['get'](_0x46dabc))[_0x5a1adb(0x252)];if(_0xcb8319&&_0xcb8319[_0x5a1adb(0x11f)]&&_0xcb8319[_0x5a1adb(0x11f)][_0x5a1adb(0x21f)]===X['OK']){const {hasMore:_0x569574,lastLabel:_0x4c1d66}=_0xcb8319,_0x57b22e=hs(_0xcb8319),_0x523ad5=_0xcb8319[_0x5a1adb(0x171)][_0x5a1adb(0x160)];return{'hasMore':_0x569574,'lastLabel':_0x4c1d66,'versions':_0x57b22e,'members':_0x523ad5};}}catch(_0x50c0a4){console[_0x5a1adb(0x11f)](_0x50c0a4);}return null;}['_getAPIPrefix'](){const _0x39967b=_0x4f03cb;var _0x2a9c98;const _0x2e6430=this[_0x39967b(0x1ec)][_0x39967b(0x224)](we);return(_0x2a9c98=_0x2e6430==null?void 0x0:_0x2e6430[_0x39967b(0x25a)])!=null?_0x2a9c98:_s;}async[_0x4f03cb(0x215)](_0x480535,_0xb1749e,_0x40763a){const _0x117766=_0x4f03cb;var _0x52731e,_0x508b7c;_0x40763a===void 0x0&&(_0x40763a={}),this[_0x117766(0x27b)][_0x117766(0xe5)](_0x480535)||this[_0x117766(0x27b)][_0x117766(0x1e3)](_0x480535,new Map());const {snapshot:_0x3e61aa,changesets:_0x1bcf88,error:_0x12f2dc}=await this['_snapshotServerService']['getUnitOnRev'](_0x40763a,{'unitID':_0x480535,'type':F[_0x117766(0x28d)],'revision':_0xb1749e});if(ns(_0x12f2dc)||!_0x3e61aa||!_0x3e61aa['workbook'])throw new Error(_0x117766(0x293));const _0x22d300=(_0x52731e=_0x1bcf88==null?void 0x0:_0x1bcf88['length'])!=null?_0x52731e:0x0;if(_0xb1749e!==0x0&&_0x3e61aa[_0x117766(0xf7)]+_0x22d300!==_0xb1749e)throw new Error(_0x117766(0x212));const {workbook:_0x7e783b}=_0x3e61aa,_0x53d6c7=_0x7e783b['blockMeta']?Object[_0x117766(0x143)](_0x7e783b[_0x117766(0x22b)])[_0x117766(0x1d2)](([_0x245742,_0x32e335])=>{const _0x3ceb1d=_0x117766;var _0x29934e,_0x59682c;return(_0x59682c=(_0x29934e=_0x32e335['blocks'])==null?void 0x0:_0x29934e[_0x3ceb1d(0x1d2)](_0x301583=>_0x301583))!=null?_0x59682c:[];})['flat']():[],_0x47463d=(await Promise[_0x117766(0x277)](_0x53d6c7[_0x117766(0x1d2)](_0x20d3fb=>this[_0x117766(0x256)][_0x117766(0x1ef)](_0x40763a,{'unitID':_0x480535,'type':F[_0x117766(0x28d)],'blockID':_0x20d3fb})[_0x117766(0x112)](_0x12206a=>_0x12206a[_0x117766(0x268)]))))[_0x117766(0x274)](_0x31cc9b=>!!_0x31cc9b),_0x264872=_0x5f071b(_0x3e61aa,_0x47463d,_0x40763a);return(_0x508b7c=this[_0x117766(0x27b)][_0x117766(0x26a)](_0x480535))==null||_0x508b7c['set'](_0xb1749e,{'workbook':_0x264872}),new Promise(_0x5371ba=>{const _0x4a9c4e=_0x117766,_0x557262=this['_univerInstanceService'][_0x4a9c4e(0x183)](_0x347ff2[_0x4a9c4e(0x28d)]);_0x557262?(this[_0x4a9c4e(0xfe)]['disposeUnit'](_0x557262[_0x4a9c4e(0x279)]()),setTimeout(()=>{const _0x493e49=_0x4a9c4e;this[_0x493e49(0x121)](_0x264872,_0x1bcf88),_0x5371ba(!0x0);},0x0)):(this[_0x4a9c4e(0x121)](_0x264872,_0x1bcf88),_0x5371ba(!0x0));});}['_createUnit'](_0x324abb,_0x3e479f){const _0xf461d8=_0x4f03cb,_0x5e268a=this[_0xf461d8(0xfe)]['createUnit'](_0x347ff2[_0xf461d8(0x28d)],_0x324abb);this[_0xf461d8(0xfe)]['focusUnit'](_0x5e268a[_0xf461d8(0x279)]());const _0x4e06b=this[_0xf461d8(0x19c)][_0xf461d8(0x284)][_0xf461d8(0x1ee)](this[_0xf461d8(0x19c)][_0xf461d8(0x284)][_0xf461d8(0xfa)]()[_0xf461d8(0x195)]);return _0x3e479f==null||_0x3e479f[_0xf461d8(0x1ca)](_0x2dfe7e=>{const _0x2adced=_0xf461d8,_0x1cd69d=_0x2dfe7e[_0x2adced(0x1cc)][_0x2adced(0x1d2)](_0x3e5f6c=>({'id':_0x3e5f6c['id'],'params':JSON[_0x2adced(0x27a)](_0x3e5f6c[_0x2adced(0x288)])}));({..._0x2dfe7e,'mutations':_0x4e06b(_0x1cd69d,null)||_0x1cd69d}[_0x2adced(0x1cc)][_0x2adced(0x1ca)](_0x358fdb=>{const _0xf2a84b=_0x2adced;this[_0xf2a84b(0x23c)][_0xf2a84b(0xf2)](_0x358fdb['id'])&&this[_0xf2a84b(0x23c)][_0xf2a84b(0x216)](_0x358fdb['id'],_0x358fdb[_0xf2a84b(0x124)]);}));}),_0x5e268a;}};Y=us([D(0x0,_0x321951),D(0x1,_0x5eb68e),D(0x2,_0x4e59cf),D(0x3,_0x32044b),D(0x4,_0x29c844(_0x455bda)),D(0x5,_0x29c844(_0x1e635d))],Y);function hs(_0x30c80e){const _0x1adae2=_0x4f03cb;var _0x5250c5,_0x57065a;const _0x882936=[],{entities:_0xd0bc81,historyIds:_0x53a8e6}=_0x30c80e,{datas:_0x2c6557,users:_0x3da7be}=_0xd0bc81;for(const _0x149e9e of _0x53a8e6)if(_0x2c6557[_0x149e9e]){const _0x2fcd38=!!((_0x5250c5=_0x3da7be[_0x2c6557[_0x149e9e][_0x1adae2(0xfd)]])!=null&&_0x5250c5['anonymous']);_0x882936['push']({'unitId':_0x2c6557[_0x149e9e][_0x1adae2(0x25c)],'user':_0x2fcd38?'':((_0x57065a=_0x3da7be==null?void 0x0:_0x3da7be[_0x2c6557[_0x149e9e][_0x1adae2(0xfd)]])==null?void 0x0:_0x57065a['name'])||'','isAnonymous':_0x2fcd38,'id':_0x149e9e,'time':_0x2c6557[_0x149e9e][_0x1adae2(0x1cb)]?Number(_0x2c6557[_0x149e9e][_0x1adae2(0x1cb)]):void 0x0,'commands':_0x2c6557[_0x149e9e]['command'],'startRev':Number(_0x2c6557[_0x149e9e][_0x1adae2(0x1eb)]),'endRev':Number(_0x2c6557[_0x149e9e][_0x1adae2(0x140)]),'recoverTime':_0x2c6557[_0x149e9e][_0x1adae2(0x20d)]?Number(_0x2c6557[_0x149e9e]['recoverTime']):void 0x0});}return _0x882936;}var ds=Object['getOwnPropertyDescriptor'],vs=(_0x2629cf,_0x5f2c66,_0x16eb4c,_0x5ba201)=>{const _0x30fe2e=_0x4f03cb;for(var _0x547e5f=_0x5ba201>0x1?void 0x0:_0x5ba201?ds(_0x5f2c66,_0x16eb4c):_0x5f2c66,_0x2e3ca9=_0x2629cf[_0x30fe2e(0x187)]-0x1,_0x2b4088;_0x2e3ca9>=0x0;_0x2e3ca9--)(_0x2b4088=_0x2629cf[_0x2e3ca9])&&(_0x547e5f=_0x2b4088(_0x547e5f)||_0x547e5f);return _0x547e5f;},V=(_0x39852c,_0xbfc68c)=>(_0x3f9731,_0x59e7a5)=>_0xbfc68c(_0x3f9731,_0x59e7a5,_0x39852c),ne=(_0x53b691=>(_0x53b691[_0x4f03cb(0x12e)]='entered',_0x53b691[_0x4f03cb(0x1c2)]=_0x4f03cb(0x1ba),_0x53b691[_0x4f03cb(0x205)]='error',_0x53b691))(ne||{}),T=(_0x204c2e=>(_0x204c2e[_0x4f03cb(0x1e6)]='init',_0x204c2e[_0x4f03cb(0x20a)]=_0x4f03cb(0x1d6),_0x204c2e[_0x4f03cb(0x1b3)]='loaded',_0x204c2e))(T||{});const fs='VIRTUAL_VERSION_NOW';let E=class extends _0x14da56{constructor(_0x40f7c4,_0x212d4d,_0x404b32,_0x503bd8){const _0x4b4938=_0x4f03cb;super(),l(this,'_versions$',new _0x3f8395([])),l(this,_0x4b4938(0x24b),this[_0x4b4938(0x148)][_0x4b4938(0x237)]()),l(this,_0x4b4938(0x238),new _0x3f8395('')),l(this,_0x4b4938(0x26f),this[_0x4b4938(0x238)]['asObservable']()),l(this,_0x4b4938(0x1e8),new _0x3f8395(_0x4b4938(0x180))),l(this,_0x4b4938(0x214),this[_0x4b4938(0x1e8)]['asObservable']()),l(this,_0x4b4938(0x173),new _0x3f8395(0x0)),l(this,'revertRevision$',this[_0x4b4938(0x173)]['asObservable']()),l(this,_0x4b4938(0x107),new _0x3f8395('')),l(this,_0x4b4938(0x20f),this[_0x4b4938(0x107)][_0x4b4938(0x237)]()),l(this,_0x4b4938(0xe6),!0x1),l(this,_0x4b4938(0x223),new _0x3f8395(_0x4b4938(0x260))),l(this,_0x4b4938(0x108),this[_0x4b4938(0x223)][_0x4b4938(0x237)]()),l(this,_0x4b4938(0x157),null),l(this,_0x4b4938(0x18a),!0x0),l(this,_0x4b4938(0x201),new Map()),l(this,_0x4b4938(0x133)),l(this,_0x4b4938(0x11a)),l(this,_0x4b4938(0x217)),l(this,_0x4b4938(0x14e),!0x1),(this[_0x4b4938(0x186)]=_0x40f7c4,this[_0x4b4938(0x1c3)]=_0x212d4d,this[_0x4b4938(0x262)]=_0x404b32,this[_0x4b4938(0x175)]=_0x503bd8);}async[_0x4f03cb(0x170)](_0xe35b5a,_0x1989a4,_0x3bdb25){const _0x4caea1=_0x4f03cb;this['_historyContainerId']=_0x1989a4,this['_canRevert']=_0x3bdb25,this[_0x4caea1(0x107)][_0x4caea1(0x202)](_0xe35b5a),this[_0x4caea1(0xe6)]=!0x0;const _0x9348ef=await this['_historyFetchService'][_0x4caea1(0xfc)](_0xe35b5a);if(this[_0x4caea1(0xe6)]=!0x1,_0x9348ef){const {versions:_0x1cf541,lastLabel:_0x42da67,hasMore:_0x2640fc,members:_0x1dee14}=_0x9348ef;_0x1cf541[_0x4caea1(0x187)]===0x0&&_0x1cf541['push']({'unitId':_0xe35b5a,'id':fs,'startRev':0x1,'endRev':0x0,'time':Date[_0x4caea1(0x179)](),'user':this[_0x4caea1(0x262)]['t'](_0x4caea1(0x130)),'commands':[],'isAnonymous':!0x1}),this[_0x4caea1(0x10e)](_0x1cf541,_0x2640fc,_0x42da67,_0x1dee14),this[_0x4caea1(0x238)][_0x4caea1(0x202)](_0x1cf541[0x0]['id']);}else this[_0x4caea1(0x1e8)][_0x4caea1(0x202)](_0x4caea1(0x11f));}async[_0x4f03cb(0x1be)](){const _0x2aa13c=_0x4f03cb;if(!this[_0x2aa13c(0x157)]||!this[_0x2aa13c(0x18a)]||this[_0x2aa13c(0xe6)])return!0x1;this[_0x2aa13c(0xe6)]=!0x0;const _0x5bb66b=await this[_0x2aa13c(0x175)]['getVersions'](this[_0x2aa13c(0x25c)],this['_lastLabel']);if(this['_fetching']=!0x1,_0x5bb66b){const {versions:_0x39f02c,lastLabel:_0x147533,hasMore:_0x1c5f95,members:_0x2509e2}=_0x5bb66b;this['_updateVersions'](_0x39f02c,_0x1c5f95,_0x147533,_0x2509e2);}else this['_messageService']['show']({'content':this[_0x2aa13c(0x262)]['t'](_0x2aa13c(0xef)),'type':_0x5c6c44['Error'],'duration':0xbb8});return!0x0;}async[_0x4f03cb(0xe2)](_0x4be813){const _0x25bad7=_0x4f03cb;var _0x407ea7;const _0x562fea=(_0x407ea7=this[_0x25bad7(0x148)]['value'])==null?void 0x0:_0x407ea7['find'](_0x159ed3=>_0x159ed3['id']===_0x4be813),{endRev:_0x1a48e2}=_0x562fea||{};_0x1a48e2||_0x1a48e2===0x0?(this[_0x25bad7(0x223)][_0x25bad7(0x202)](_0x25bad7(0x1d6)),await this[_0x25bad7(0x175)][_0x25bad7(0x215)](this[_0x25bad7(0x25c)],_0x1a48e2),this[_0x25bad7(0x223)][_0x25bad7(0x202)](_0x25bad7(0x269))):this[_0x25bad7(0x1e8)][_0x25bad7(0x202)](_0x25bad7(0x11f));}async[_0x4f03cb(0x16e)](_0x439a32){const _0x2fac7f=_0x4f03cb,_0x5036a0=_0x439a32?this[_0x2fac7f(0x231)](_0x439a32):this['getCurrentVersion']();if(!_0x5036a0)return;const _0x1d46ca=_0x5036a0[_0x2fac7f(0x20b)],_0x55eef5=re(_0x5036a0[_0x2fac7f(0x10f)],this[_0x2fac7f(0x262)][_0x2fac7f(0x1aa)]());await this[_0x2fac7f(0x1c3)][_0x2fac7f(0x1ff)]({'id':'confirm-revert-revision','title':{'title':this['_localeService']['t']('editHistory.panel.revertConfirm')},'children':{'title':this[_0x2fac7f(0x262)]['t'](_0x2fac7f(0x14c))+_0x2fac7f(0x254)+_0x55eef5['date']+'\x20'+_0x55eef5[_0x2fac7f(0x10f)]+')'},'cancelText':this['_localeService']['t'](_0x2fac7f(0x22c)),'confirmText':this[_0x2fac7f(0x262)]['t'](_0x2fac7f(0x249))})&&this[_0x2fac7f(0x173)][_0x2fac7f(0x202)](_0x1d46ca);}[_0x4f03cb(0x10e)](_0x1d5040,_0x6219d4,_0x3058b6,_0x4c59b7){const _0x109151=_0x4f03cb;this['_versions$'][_0x109151(0x202)](this[_0x109151(0x148)][_0x109151(0x244)][_0x109151(0x156)](_0x1d5040)),this[_0x109151(0x18a)]=_0x6219d4,this[_0x109151(0x157)]=_0x3058b6,_0x4c59b7&&Object[_0x109151(0x1f6)](_0x4c59b7)[_0x109151(0x1ca)](_0x11e410=>this['_members'][_0x109151(0x1e3)](_0x11e410,_0x4c59b7[_0x11e410]));}[_0x4f03cb(0x278)](){const _0x28d90c=_0x4f03cb;return this[_0x28d90c(0x231)](this[_0x28d90c(0x238)]['value']);}[_0x4f03cb(0x231)](_0x32a670){const _0xbdca6=_0x4f03cb;var _0x46b8c9;return(_0x46b8c9=this['_versions$'][_0xbdca6(0x244)])==null?void 0x0:_0x46b8c9[_0xbdca6(0x222)](_0x11c4a4=>_0x11c4a4['id']===_0x32a670);}[_0x4f03cb(0xff)](_0x38bd5d){const _0x183359=_0x4f03cb;return this[_0x183359(0x201)]['get'](_0x38bd5d);}['_createMask'](){const _0x3dffcc=_0x4f03cb;this['_maskElement']=document[_0x3dffcc(0x1a6)]('div'),this['_maskElement'][_0x3dffcc(0x193)]='history-mask',this[_0x3dffcc(0x217)][_0x3dffcc(0x1ab)][_0x3dffcc(0x280)]='absolute',this[_0x3dffcc(0x217)][_0x3dffcc(0x1ab)][_0x3dffcc(0x172)]='0',this[_0x3dffcc(0x217)][_0x3dffcc(0x1ab)][_0x3dffcc(0xf3)]='0',this[_0x3dffcc(0x217)][_0x3dffcc(0x1ab)]['width']=_0x3dffcc(0x283),this['_maskElement'][_0x3dffcc(0x1ab)][_0x3dffcc(0x1ed)]='100%',this[_0x3dffcc(0x217)][_0x3dffcc(0x1ab)][_0x3dffcc(0x264)]='rgba(225,\x20225,\x20225,\x200.5)',this[_0x3dffcc(0x217)]['style'][_0x3dffcc(0x1ad)]='white',this[_0x3dffcc(0x217)][_0x3dffcc(0x1ab)]['display']=_0x3dffcc(0x116),this['_maskElement'][_0x3dffcc(0x1ab)][_0x3dffcc(0x207)]=_0x3dffcc(0x14a),this[_0x3dffcc(0x217)][_0x3dffcc(0x1ab)][_0x3dffcc(0x102)]=_0x3dffcc(0x243),this['_maskElement'][_0x3dffcc(0x1ab)][_0x3dffcc(0x100)]=_0x3dffcc(0x250),this['_maskContainer'][_0x3dffcc(0x15c)](this['_maskElement']);}['_initMaskContainer'](){const _0xe5929b=_0x4f03cb;var _0x14e9ff;const _0x1bcf8a=(_0x14e9ff=document[_0xe5929b(0x1b2)](this['_historyContainerId']))==null?void 0x0:_0x14e9ff['querySelector'](_0xe5929b(0x188));_0x1bcf8a&&(this[_0xe5929b(0x11a)]=_0x1bcf8a,this[_0xe5929b(0x154)]());}[_0x4f03cb(0x17f)](){const _0x5e4f26=_0x4f03cb;this['_maskContainer']||this[_0x5e4f26(0x122)](),this['_maskElement']&&(this[_0x5e4f26(0x217)][_0x5e4f26(0x1ab)]['display']='flex');}[_0x4f03cb(0x176)](){const _0x1a4d3c=_0x4f03cb;this[_0x1a4d3c(0x217)]&&(this[_0x1a4d3c(0x217)][_0x1a4d3c(0x1ab)][_0x1a4d3c(0x100)]=_0x1a4d3c(0x250));}set[_0x4f03cb(0x164)](_0x33caa6){const _0x300e4c=_0x4f03cb;this[_0x300e4c(0x1e8)][_0x300e4c(0x202)](_0x33caa6);}set[_0x4f03cb(0x165)](_0x2e5a2e){const _0x5e96d7=_0x4f03cb;_0x2e5a2e!==this[_0x5e96d7(0x238)][_0x5e96d7(0x244)]&&this[_0x5e96d7(0x238)][_0x5e96d7(0x202)](_0x2e5a2e);}get[_0x4f03cb(0x165)](){const _0x5da6a6=_0x4f03cb;return this[_0x5da6a6(0x238)]['value'];}set['unitId'](_0x32cb34){const _0x389f9b=_0x4f03cb;this[_0x389f9b(0x107)][_0x389f9b(0x202)](_0x32cb34);}get[_0x4f03cb(0x25c)](){const _0x3e62b4=_0x4f03cb;return this[_0x3e62b4(0x107)][_0x3e62b4(0x244)];}get['canRevert'](){const _0xbf8472=_0x4f03cb;return this[_0xbf8472(0x14e)];}get['loadingState'](){const _0x2d0348=_0x4f03cb;return this[_0x2d0348(0x223)]['value'];}};E=vs([V(0x0,_0x4b8863),V(0x1,_0x5da584),V(0x2,_0x29c844(_0xc4817c)),V(0x3,_0x29c844(Y))],E);var g=function(){const _0x23ad83=_0x4f03cb;return g=Object[_0x23ad83(0x299)]||function(_0x4f0ac9){const _0x3bf8d6=_0x23ad83;for(var _0x854c1a,_0x5007ce=0x1,_0x4d5ca7=arguments[_0x3bf8d6(0x187)];_0x5007ce<_0x4d5ca7;_0x5007ce++){_0x854c1a=arguments[_0x5007ce];for(var _0x477add in _0x854c1a)Object[_0x3bf8d6(0x296)][_0x3bf8d6(0x213)][_0x3bf8d6(0x1a5)](_0x854c1a,_0x477add)&&(_0x4f0ac9[_0x477add]=_0x854c1a[_0x477add]);}return _0x4f0ac9;},g['apply'](this,arguments);},ms=function(_0x138542,_0x1834d7){const _0x22065b=_0x4f03cb;var _0x3547e5={};for(var _0x37c952 in _0x138542)Object[_0x22065b(0x296)][_0x22065b(0x213)]['call'](_0x138542,_0x37c952)&&_0x1834d7[_0x22065b(0x196)](_0x37c952)<0x0&&(_0x3547e5[_0x37c952]=_0x138542[_0x37c952]);if(_0x138542!=null&&typeof Object[_0x22065b(0x1f1)]==_0x22065b(0x273)){for(var _0x115894=0x0,_0x37c952=Object['getOwnPropertySymbols'](_0x138542);_0x115894<_0x37c952[_0x22065b(0x187)];_0x115894++)_0x1834d7['indexOf'](_0x37c952[_0x115894])<0x0&&Object['prototype'][_0x22065b(0x28a)]['call'](_0x138542,_0x37c952[_0x115894])&&(_0x3547e5[_0x37c952[_0x115894]]=_0x138542[_0x37c952[_0x115894]]);}return _0x3547e5;},G=_0x17629b(function(_0x13ea87,_0x314cd8){const _0x2d6ec0=_0x4f03cb;var _0x4e48d7=_0x13ea87[_0x2d6ec0(0x13e)],_0x3cd138=_0x13ea87['id'],_0x37ca1a=_0x13ea87['className'],_0x29526f=_0x13ea87[_0x2d6ec0(0x106)],_0x2a10ca=ms(_0x13ea87,[_0x2d6ec0(0x13e),'id',_0x2d6ec0(0x193),_0x2d6ec0(0x106)]),_0x4593ac=_0x2d6ec0(0x270)[_0x2d6ec0(0x156)](_0x3cd138,'\x20')['concat'](_0x37ca1a||'')[_0x2d6ec0(0x1a2)](),_0x20091e=_0x444400('_'['concat'](gs()));return Pe(_0x4e48d7,''['concat'](_0x3cd138),{'defIds':_0x4e48d7[_0x2d6ec0(0x18d)],'idSuffix':_0x20091e[_0x2d6ec0(0x12c)]},g({'ref':_0x314cd8,'className':_0x4593ac},_0x2a10ca),_0x29526f);});function Pe(_0x6e4324,_0x55ba61,_0x5d1c79,_0x514f54,_0x496596){const _0x198f68=_0x4f03cb;return _0x1916bb(_0x6e4324[_0x198f68(0x178)],g(g({'key':_0x55ba61},Is(_0x6e4324,_0x5d1c79,_0x496596)),_0x514f54),(Ss(_0x6e4324,_0x5d1c79)['children']||[])[_0x198f68(0x1d2)](function(_0x503814,_0x572173){const _0x583f5e=_0x198f68;return Pe(_0x503814,''[_0x583f5e(0x156)](_0x55ba61,'-')[_0x583f5e(0x156)](_0x6e4324['tag'],'-')[_0x583f5e(0x156)](_0x572173),_0x5d1c79,void 0x0,_0x496596);}));}function Is(_0x292a54,_0x415f5d,_0x1a3993){const _0x4e9d00=_0x4f03cb;var _0x55c1c2=g({},_0x292a54[_0x4e9d00(0x1c0)]);_0x1a3993!=null&&_0x1a3993[_0x4e9d00(0x265)]&&_0x55c1c2[_0x4e9d00(0x23e)]===_0x4e9d00(0x265)&&(_0x55c1c2[_0x4e9d00(0x23e)]=_0x1a3993['colorChannel1']),_0x292a54['tag']==='mask'&&_0x55c1c2['id']&&(_0x55c1c2['id']=_0x55c1c2['id']+_0x415f5d[_0x4e9d00(0xdd)]),Object[_0x4e9d00(0x143)](_0x55c1c2)['forEach'](function(_0x2d6417){const _0xe27954=_0x4e9d00;var _0x146c76=_0x2d6417[0x0],_0x1bea4a=_0x2d6417[0x1];_0x146c76===_0xe27954(0x134)&&typeof _0x1bea4a==_0xe27954(0xf5)&&(_0x55c1c2[_0x146c76]=_0x1bea4a['replace'](/url\(#(.*)\)/,'url(#$1'[_0xe27954(0x156)](_0x415f5d[_0xe27954(0xdd)],')')));});var _0x347118=_0x415f5d[_0x4e9d00(0x18d)];return!_0x347118||_0x347118[_0x4e9d00(0x187)]===0x0||(_0x292a54[_0x4e9d00(0x178)]==='use'&&_0x55c1c2['xlink:href']&&(_0x55c1c2[_0x4e9d00(0x137)]=_0x55c1c2[_0x4e9d00(0x137)]+_0x415f5d[_0x4e9d00(0xdd)]),Object['entries'](_0x55c1c2)[_0x4e9d00(0x1ca)](function(_0x3e6c64){const _0x2370e2=_0x4e9d00;var _0x3f4cec=_0x3e6c64[0x0],_0x270893=_0x3e6c64[0x1];typeof _0x270893=='string'&&(_0x55c1c2[_0x3f4cec]=_0x270893[_0x2370e2(0x13b)](/url\(#(.*)\)/,_0x2370e2(0x209)['concat'](_0x415f5d[_0x2370e2(0xdd)],')')));})),_0x55c1c2;}function Ss(_0x3e5d7d,_0x25e036){const _0x130330=_0x4f03cb;var _0x254658,_0x4486cd=_0x25e036[_0x130330(0x18d)];return!_0x4486cd||_0x4486cd[_0x130330(0x187)]===0x0?_0x3e5d7d:_0x3e5d7d['tag']===_0x130330(0x285)&&(!((_0x254658=_0x3e5d7d['children'])===null||_0x254658===void 0x0)&&_0x254658[_0x130330(0x187)])?g(g({},_0x3e5d7d),{'children':_0x3e5d7d[_0x130330(0x290)][_0x130330(0x1d2)](function(_0x21e271){const _0x3e8c1d=_0x130330;return typeof _0x21e271[_0x3e8c1d(0x1c0)]['id']==_0x3e8c1d(0xf5)&&_0x4486cd&&_0x4486cd[_0x3e8c1d(0x16a)](_0x21e271['attrs']['id'])?g(g({},_0x21e271),{'attrs':g(g({},_0x21e271[_0x3e8c1d(0x1c0)]),{'id':_0x21e271[_0x3e8c1d(0x1c0)]['id']+_0x25e036[_0x3e8c1d(0xdd)]})}):_0x21e271;})}):_0x3e5d7d;}function gs(){const _0x1f5d14=_0x4f03cb;return Math[_0x1f5d14(0x1c6)]()[_0x1f5d14(0x14b)](0x24)['substring'](0x2,0x8);}G[_0x4f03cb(0x1cd)]=_0x4f03cb(0x239);var ps={'tag':_0x4f03cb(0x1a4),'attrs':{'xmlns':_0x4f03cb(0x1b9),'fill':_0x4f03cb(0x250),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':_0x4f03cb(0x1f7),'attrs':{'fill':_0x4f03cb(0x1ac),'d':_0x4f03cb(0x14f)}}]},Te=_0x17629b(function(_0x59f688,_0x1c51a1){const _0x50cc76=_0x4f03cb;return _0x1916bb(G,Object[_0x50cc76(0x299)]({},_0x59f688,{'id':_0x50cc76(0x1c7),'ref':_0x1c51a1,'icon':ps}));});Te[_0x4f03cb(0x1cd)]=_0x4f03cb(0x1cf);var Es={'tag':_0x4f03cb(0x1a4),'attrs':{'xmlns':_0x4f03cb(0x1b9),'fill':_0x4f03cb(0x250),'viewBox':_0x4f03cb(0x1df),'width':_0x4f03cb(0x190),'height':_0x4f03cb(0x190)},'children':[{'tag':_0x4f03cb(0x1f7),'attrs':{'fill':_0x4f03cb(0x1b4),'d':_0x4f03cb(0x132),'fillOpacity':0.2,'fillRule':_0x4f03cb(0x10a),'clipRule':_0x4f03cb(0x10a)}},{'tag':'path','attrs':{'fill':_0x4f03cb(0x1b4),'d':_0x4f03cb(0x22e),'fillRule':_0x4f03cb(0x10a),'clipRule':_0x4f03cb(0x10a)}}]},ae=_0x17629b(function(_0x28fba6,_0x1bce9c){const _0x2fd50b=_0x4f03cb;return _0x1916bb(G,Object[_0x2fd50b(0x299)]({},_0x28fba6,{'id':_0x2fd50b(0x246),'ref':_0x1bce9c,'icon':Es}));});ae[_0x4f03cb(0x1cd)]='LoadingMultiIcon';var Rs={'tag':_0x4f03cb(0x1a4),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4f03cb(0x250),'viewBox':_0x4f03cb(0x111),'width':_0x4f03cb(0x190),'height':_0x4f03cb(0x190)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x4f03cb(0x1c4)},'children':[{'tag':_0x4f03cb(0x1f7),'attrs':{'d':_0x4f03cb(0x292)}},{'tag':'path','attrs':{'d':_0x4f03cb(0x141),'fillRule':_0x4f03cb(0x10a),'clipRule':_0x4f03cb(0x10a)}}]},{'tag':_0x4f03cb(0x285),'attrs':{},'children':[{'tag':_0x4f03cb(0x1a7),'attrs':{'id':_0x4f03cb(0xe9)},'children':[{'tag':_0x4f03cb(0x253),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':'white','rx':0x4}}]}]}],'defIds':['restore-icon_clip0_1247_2']},Le=_0x17629b(function(_0x5ac964,_0x119b2b){const _0xe3e7bf=_0x4f03cb;return _0x1916bb(G,Object[_0xe3e7bf(0x299)]({},_0x5ac964,{'id':'restore-icon','ref':_0x119b2b,'icon':Rs}));});Le[_0x4f03cb(0x1cd)]='RestoreIcon';function Os(){const _0x4651ef=_0x4f03cb;var _0x45929e;const _0x13d8f6=_0x3e4431(E),_0x13b7bb=_0x3e4431(_0xc4817c),_0x2b1aeb=_0x4b1762(()=>{const _0x3cbaf2=_0x490d;_0x13d8f6[_0x3cbaf2(0x164)]=ne[_0x3cbaf2(0x1c2)];},[_0x13d8f6]),_0x560b69=_0x4b1762(()=>{const _0x4202b2=_0x490d;_0x13d8f6[_0x4202b2(0x16e)]();},[_0x13d8f6]),_0x4c372c=_0x636491(_0x13d8f6[_0x4651ef(0x26f)]),_0x21d57a=_0x636491(_0x13d8f6[_0x4651ef(0x24b)]),_0x3dba1d=_0x4c372c===((_0x45929e=_0x21d57a==null?void 0x0:_0x21d57a[0x0])==null?void 0x0:_0x45929e['id']),_0xdea446=_0x4c372c!==''&&!_0x3dba1d&&_0x13d8f6[_0x4651ef(0x19f)];return _0x407034(_0x4651ef(0x28c),{'className':_0x8ef2c9(_0x4651ef(0x1a3),_0x22d313),'children':[_0x18caf9(_0x4651ef(0x28c),{'onClick':_0x2b1aeb,'className':_0x4651ef(0x227),'children':_0x18caf9(Te,{'className':_0x4651ef(0x26d)})}),_0x18caf9(_0x4651ef(0x28c),{'className':_0x4651ef(0x18f),'children':_0xdea446&&_0x18caf9(_0x5af250,{'variant':_0x4651ef(0x204),'onClick':_0x560b69,'children':_0x13b7bb['t'](_0x4651ef(0x11d))})})]});}var Ms=Object[_0x4f03cb(0x145)],Ns=(_0x2b488f,_0xfe6d19,_0x36510a,_0x3fc9b4)=>{for(var _0x11cffa=_0x3fc9b4>0x1?void 0x0:_0x3fc9b4?Ms(_0xfe6d19,_0x36510a):_0xfe6d19,_0x201de8=_0x2b488f['length']-0x1,_0x49b102;_0x201de8>=0x0;_0x201de8--)(_0x49b102=_0x2b488f[_0x201de8])&&(_0x11cffa=_0x49b102(_0x11cffa)||_0x11cffa);return _0x11cffa;},y=(_0x45adfc,_0x1073ea)=>(_0x167dbf,_0x4c33e3)=>_0x1073ea(_0x167dbf,_0x4c33e3,_0x45adfc);let B=class extends _0x14da56{constructor(_0x4b6318,_0x3dc5f2,_0x4c5e9f,_0x401ead,_0x91f3d2,_0x44bbc8){const _0x487fbf=_0x4f03cb;super(),this[_0x487fbf(0x1f0)]=_0x4b6318,this['_uiPartsService']=_0x3dc5f2,this['_messageService']=_0x4c5e9f,this['_localeService']=_0x401ead,this['_historyManagerService']=_0x91f3d2,this['_injector']=_0x44bbc8,this[_0x487fbf(0x181)]();}[_0x4f03cb(0x181)](){const _0x3eafdf=_0x4f03cb;this[_0x3eafdf(0x234)](this[_0x3eafdf(0x27d)]['currentVersion$'][_0x3eafdf(0xe0)](_0x118d1c=>{const _0x33ca26=_0x3eafdf;_0x118d1c&&this[_0x33ca26(0x27d)][_0x33ca26(0xe2)](_0x118d1c);})),this['disposeWithMe'](this[_0x3eafdf(0x1f0)][_0x3eafdf(0x1dd)][_0x3eafdf(0xe0)](_0x110de3=>{const _0x22fa3d=_0x3eafdf,_0x55be55=this[_0x22fa3d(0x27d)]['unitId'];_0x55be55&&(_0x110de3[_0x22fa3d(0x210)]===b[_0x22fa3d(0x14d)]&&_0x110de3[_0x22fa3d(0x244)]===!0x0&&this[_0x22fa3d(0x1f0)][_0x22fa3d(0x297)](new _0x16a647(_0x55be55)['id'],!0x1),_0x110de3[_0x22fa3d(0x210)]===b[_0x22fa3d(0x1f3)]&&_0x110de3[_0x22fa3d(0x244)]===!0x0&&this[_0x22fa3d(0x1f0)][_0x22fa3d(0x297)](new _0x2f252c(_0x55be55)['id'],!0x1),_0x110de3[_0x22fa3d(0x210)]===b['MoveSheet']&&_0x110de3[_0x22fa3d(0x244)]===!0x0&&this[_0x22fa3d(0x1f0)][_0x22fa3d(0x297)](new _0x322255(_0x55be55)['id'],!0x1),_0x110de3[_0x22fa3d(0x210)]===b[_0x22fa3d(0x200)]&&_0x110de3[_0x22fa3d(0x244)]===!0x0&&this[_0x22fa3d(0x1f0)]['updatePermissionPoint'](new _0xe18ad6(_0x55be55)['id'],!0x1),_0x110de3[_0x22fa3d(0x210)]===b['Comment']&&_0x110de3['value']===!0x0&&this['_permissionService'][_0x22fa3d(0x297)](new _0x16a647(_0x55be55)['id'],!0x1),_0x110de3[_0x22fa3d(0x210)]===b['FloatImg']&&_0x110de3['value']===!0x0&&this[_0x22fa3d(0x1f0)][_0x22fa3d(0x297)](new _0x16a647(_0x55be55)['id'],!0x1));})),this[_0x3eafdf(0x234)](this[_0x3eafdf(0x1b1)][_0x3eafdf(0x1fa)](_0x27e01a['HEADER'],()=>_0x168070(Os,this[_0x3eafdf(0x23f)]))),this[_0x3eafdf(0x234)](this['_historyManagerService'][_0x3eafdf(0x108)]['subscribe'](_0x4f5d07=>{const _0x4be467=_0x3eafdf;_0x4f5d07===T['Loading']&&(this[_0x4be467(0x27d)][_0x4be467(0x17f)](),this[_0x4be467(0x186)][_0x4be467(0x18b)]({'type':_0x5c6c44[_0x4be467(0x282)],'content':this['_localeService']['t'](_0x4be467(0xf8))})),_0x4f5d07===T['Loaded']&&this['_historyManagerService'][_0x4be467(0x176)]();}));}};B=Ns([y(0x0,_0x25ea87),y(0x1,_0x2d927d),y(0x2,_0x4b8863),y(0x3,_0x29c844(_0xc4817c)),y(0x4,_0x29c844(E)),y(0x5,_0x29c844(_0x5d250a))],B);var bs=Object[_0x4f03cb(0x145)],Ds=(_0x52cb61,_0x1b00ee,_0xcb1e1a,_0x5bd50c)=>{const _0x27e047=_0x4f03cb;for(var _0x2aebdb=_0x5bd50c>0x1?void 0x0:_0x5bd50c?bs(_0x1b00ee,_0xcb1e1a):_0x1b00ee,_0x4bee99=_0x52cb61[_0x27e047(0x187)]-0x1,_0x362694;_0x4bee99>=0x0;_0x4bee99--)(_0x362694=_0x52cb61[_0x4bee99])&&(_0x2aebdb=_0x362694(_0x2aebdb)||_0x2aebdb);return _0x2aebdb;},Q=(_0x5beefc,_0x555932)=>(_0x1de0d7,_0x56e1ed)=>_0x555932(_0x1de0d7,_0x56e1ed,_0x5beefc);let $=class extends _0x14da56{constructor(_0x2e90e8,_0x4aeb38,_0x200bff){const _0x7ae0e8=_0x4f03cb;super(),l(this,_0x7ae0e8(0x1f5),new Map()),l(this,_0x7ae0e8(0x197),new _0x3f8395({'ranges':new Map(),'active':null})),l(this,_0x7ae0e8(0x1fd),this['_currentVersionDiff$'][_0x7ae0e8(0x237)]()),(this['_historyManagerService']=_0x2e90e8,this[_0x7ae0e8(0xfb)]=_0x4aeb38,this[_0x7ae0e8(0x256)]=_0x200bff,this['_init']());}[_0x4f03cb(0x181)](){const _0x4671b7=_0x4f03cb;this[_0x4671b7(0x1f5)]=new Map(),this['disposeWithMe'](this['_historyManagerService'][_0x4671b7(0x20f)]['subscribe'](_0x482a65=>{const _0x2f0561=_0x4671b7;_0x482a65&&!this[_0x2f0561(0x1f5)][_0x2f0561(0xe5)](_0x482a65)&&this[_0x2f0561(0x1f5)]['set'](_0x482a65,new Map());})),this[_0x4671b7(0x234)](this[_0x4671b7(0x27d)][_0x4671b7(0x26f)]['subscribe'](async _0x14fae8=>{const _0x24886a=_0x4671b7;var _0x5100bd;_0x14fae8&&(await this['ensureVersion'](_0x14fae8),this['_currentVersionDiff$'][_0x24886a(0x202)](((_0x5100bd=this[_0x24886a(0x1f5)][_0x24886a(0x26a)](this[_0x24886a(0x27d)]['unitId']))==null?void 0x0:_0x5100bd['get'](_0x14fae8))||{'ranges':new Map(),'active':null}));}));}async[_0x4f03cb(0x233)](_0x76a281){const _0x39db60=_0x4f03cb;var _0x31680d,_0x5ec140;const _0x16a03d=this['_historyManagerService'][_0x39db60(0x231)](_0x76a281),_0x59b6c1=this[_0x39db60(0x27d)][_0x39db60(0x25c)];if(!_0x16a03d||!_0x59b6c1)return;const _0x3f2372=this[_0x39db60(0x1f5)]['get'](_0x59b6c1);if(_0x3f2372||this[_0x39db60(0x1f5)][_0x39db60(0x1e3)](_0x59b6c1,new Map()),(_0x31680d=this['_diffRangesMap'][_0x39db60(0x26a)](_0x59b6c1))!=null&&_0x31680d[_0x39db60(0xe5)](_0x16a03d['id']))return;const {startRev:_0x52da71,endRev:_0x2f1d3a}=_0x16a03d;if(_0x52da71===0x1){_0x3f2372[_0x39db60(0x1e3)](_0x16a03d['id'],{'ranges':new Map(),'active':null});return;}const _0x2bd98c=_0x52da71-0x1,_0x4e6e52=_0x2f1d3a,_0x4b46b8=await this[_0x39db60(0x256)][_0x39db60(0x191)]({},{'unitID':_0x59b6c1,'from':_0x2bd98c,'to':_0x4e6e52,'type':F[_0x39db60(0x28d)]});if(((_0x5ec140=_0x4b46b8[_0x39db60(0x11f)])==null?void 0x0:_0x5ec140[_0x39db60(0x21f)])===X['OK']){const _0x203da9=_0x4b46b8[_0x39db60(0x1f4)][_0x39db60(0x1d2)](_0x1ce613)['map'](_0x19d977=>_0x19d977[_0x39db60(0x1cc)][_0x39db60(0x1d2)](_0xa27379=>({..._0xa27379,'params':{..._0xa27379[_0x39db60(0x124)],'memberId':_0x19d977['userID']}})))[_0x39db60(0x158)](),_0x12f1a1=this[_0x39db60(0x27e)](_0x203da9),_0x230075=this['_getActiveSubUnitId'](_0x203da9),_0x1779f9=this[_0x39db60(0x128)](_0x12f1a1);_0x3f2372[_0x39db60(0x1e3)](_0x16a03d['id'],{'ranges':_0x1779f9,'active':_0x230075});}}[_0x4f03cb(0x27e)](_0x328954){const _0x4cc0cb=_0x4f03cb;let _0x5776d5=[];for(let _0x43dcdf=0x0;_0x43dcdf<_0x328954[_0x4cc0cb(0x187)];_0x43dcdf++){const _0x25b7fc=_0x328954[_0x43dcdf];if(_0x5776d5[_0x4cc0cb(0x242)](_0x25b7fc),_0x43dcdf!==_0x328954['length']-0x1){const _0x4418b3=_0x328954[_0x43dcdf+0x1],_0x40893e=this[_0x4cc0cb(0xfb)][_0x4cc0cb(0x263)](_0x5776d5,[_0x4418b3]);_0x3eed03(_0x40893e)?_0x5776d5=_0x40893e['m1Prime']:_0x5776d5=[];}}return _0x5776d5;}['_getActiveSubUnitId'](_0x47b8ed){const _0x22fdfa=_0x4f03cb;let _0x3631aa=[];return _0x47b8ed[_0x22fdfa(0x1ca)](_0xd1f2a3=>{const _0x4fea6d=_0x22fdfa;if(_0xd1f2a3['id']===_0x4112ef['id']){const _0x296a0b=_0xd1f2a3['params'];_0x3631aa[_0x4fea6d(0x242)](_0x296a0b[_0x4fea6d(0x1b0)]['id']);}else{if(_0xd1f2a3['id']===_0x1ea322['id']){const _0x24b757=_0xd1f2a3['params'];_0x3631aa['length']>0x0&&(_0x3631aa=_0x3631aa[_0x4fea6d(0x274)](_0x263151=>_0x263151!==_0x24b757[_0x4fea6d(0x1e9)]));}else{if(_0xd1f2a3['id']===_0x4846e8['id']){const _0x10871d=_0xd1f2a3[_0x4fea6d(0x124)];_0x10871d[_0x4fea6d(0x15d)]?_0x3631aa=_0x3631aa[_0x4fea6d(0x274)](_0x2bfcf0=>_0x2bfcf0!==_0x10871d[_0x4fea6d(0x1e9)]):_0x3631aa[_0x4fea6d(0x242)](_0x10871d['subUnitId']);}else{const _0x44458d=_0xd1f2a3['params'];_0x44458d[_0x4fea6d(0x1e9)]&&_0x3631aa['push'](_0x44458d[_0x4fea6d(0x1e9)]);}}}}),_0x3631aa[_0x22fdfa(0x187)]>0x0?_0x3631aa[_0x3631aa[_0x22fdfa(0x187)]-0x1]:null;}[_0x4f03cb(0x128)](_0x8261ef){const _0xdce46a=_0x4f03cb,_0x5a70db=new Map();return _0x8261ef[_0xdce46a(0x1ca)](_0x1f7f74=>{const _0xd98ca7=_0xdce46a;var _0x539540,_0x403f2d;const _0x31d14b=(_0x539540=_0x1f7f74[_0xd98ca7(0x124)])==null?void 0x0:_0x539540[_0xd98ca7(0x1a8)];if(_0x31d14b){_0x5a70db[_0xd98ca7(0xe5)](_0x31d14b)||_0x5a70db[_0xd98ca7(0x1e3)](_0x31d14b,[]);const _0x1a1821=this['_getRangesByMutation'](_0x1f7f74);(_0x403f2d=_0x5a70db[_0xd98ca7(0x26a)](_0x31d14b))==null||_0x403f2d['push'](..._0x1a1821);}}),_0x5a70db[_0xdce46a(0x1ca)]((_0x2e5433,_0x58491a)=>{const _0xf24a29=_0xdce46a;_0x5a70db['set'](_0x58491a,this[_0xf24a29(0x126)](_0x2e5433));}),_0x5a70db;}[_0x4f03cb(0xe3)](_0x403d86){const _0x221870=_0x4f03cb;switch(_0x403d86['id']){case _0xe036fd['id']:{const _0x364e72=_0x403d86[_0x221870(0x124)];return _0x364e72[_0x221870(0x26b)][_0x221870(0x1d2)](_0xd815c0=>_0xd815c0['ranges'][_0x221870(0x1d2)](_0x527bcd=>({'range':_0x527bcd,'unitId':_0x364e72[_0x221870(0x25c)],'subUnitId':_0x364e72[_0x221870(0x1e9)]})))[_0x221870(0x158)]();}case _0x52df04['id']:{const _0x61842d=_0x403d86[_0x221870(0x124)];return _0x61842d[_0x221870(0x162)]['map'](_0x36a949=>({'range':_0x36a949,'unitId':_0x61842d[_0x221870(0x25c)],'subUnitId':_0x61842d[_0x221870(0x1e9)]}));}case _0x5b3818['id']:{const _0x4a3066=_0x403d86[_0x221870(0x124)];return[{'range':_0x4a3066[_0x221870(0x21b)],'unitId':_0x4a3066[_0x221870(0x25c)],'subUnitId':_0x4a3066[_0x221870(0x1e9)]}];}case _0xac09e4['id']:{const _0x2a9dcb=_0x403d86[_0x221870(0x124)];return[{'range':_0x2a9dcb[_0x221870(0x21b)],'unitId':_0x2a9dcb['unitId'],'subUnitId':_0x2a9dcb[_0x221870(0x1e9)]}];}case _0x4ae231['id']:{const _0x59901e=_0x403d86[_0x221870(0x124)],{from:_0xed75c4,to:_0xf5916c,unitId:_0x2e3818}=_0x59901e;return[{'range':he(_0xed75c4[_0x221870(0x244)]),'unitId':_0x2e3818,'subUnitId':_0xed75c4['subUnitId']},{'range':he(_0xf5916c[_0x221870(0x244)]),'unitId':_0x2e3818,'subUnitId':_0xf5916c[_0x221870(0x1e9)]}];}case _0x27f4c7['id']:{const _0x563c2a=_0x403d86['params'],{unitId:_0x38fecf,subUnitId:_0x4bb19b,sourceRange:_0x3320ff,targetRange:_0x243ea8}=_0x563c2a,_0x44e301=_0x3320ff[_0x221870(0x266)]-_0x3320ff[_0x221870(0x25b)]+0x1;return[{'range':_0x243ea8[_0x221870(0x25b)]<=_0x3320ff[_0x221870(0x25b)]?_0x243ea8:{..._0x243ea8,'startRow':_0x243ea8[_0x221870(0x25b)]-_0x44e301,'endRow':_0x243ea8[_0x221870(0x266)]-_0x44e301},'unitId':_0x38fecf,'subUnitId':_0x4bb19b}];}case _0x53cd15['id']:{const _0xee3c60=_0x403d86[_0x221870(0x124)],{unitId:_0x123726,subUnitId:_0x4d40ee,sourceRange:_0x283627,targetRange:_0x2d6492}=_0xee3c60,_0x461542=_0x283627[_0x221870(0x22f)]-_0x283627[_0x221870(0x295)]+0x1;return[{'range':_0x2d6492[_0x221870(0x295)]<=_0x283627[_0x221870(0x295)]?_0x2d6492:{..._0x2d6492,'startColumn':_0x2d6492[_0x221870(0x295)]-_0x461542,'endColumn':_0x2d6492[_0x221870(0x22f)]-_0x461542},'unitId':_0x123726,'subUnitId':_0x4d40ee}];}case _0x1f7843['id']:{const _0x38e2d0=_0x403d86[_0x221870(0x124)],{values:_0x2bc1b7,unitId:_0x202295,subUnitId:_0x10c214}=_0x38e2d0;return Object['values'](_0x2bc1b7)['map'](_0x3d3c40=>_0x3d3c40[_0x221870(0x162)]['map'](_0x539ddc=>({'range':_0x539ddc,'unitId':_0x202295,'subUnitId':_0x10c214})))[_0x221870(0x158)]();}case _0x1b5e63['id']:{const _0xe27987=_0x403d86['params'],{ranges:_0x2d69aa,unitId:_0x13f6b3,subUnitId:_0x32d24f}=_0xe27987;return _0x2d69aa[_0x221870(0x1d2)](_0x488422=>({'range':_0x488422,'unitId':_0x13f6b3,'subUnitId':_0x32d24f}));}case _0x4603b5['id']:{const _0x17979b=_0x403d86[_0x221870(0x124)],{unitId:_0x3d68df,subUnitId:_0x508814,range:_0x368f8f}=_0x17979b;return[{'range':_0x368f8f,'unitId':_0x3d68df,'subUnitId':_0x508814}];}case _0x1a487a['id']:{const _0x155abf=_0x403d86['params'];return _0x155abf[_0x221870(0x24d)][_0x221870(0x162)]['map'](_0x1951b5=>({'range':_0x1951b5,'unitId':_0x155abf['unitId'],'subUnitId':_0x155abf[_0x221870(0x1e9)]}));}case _0x57f631['id']:{const _0x271701=_0x403d86[_0x221870(0x124)];return _0x271701[_0x221870(0x11c)]?ys(_0x271701[_0x221870(0x11c)])[_0x221870(0x1d2)](_0x4ecbf7=>({'range':_0x4ecbf7,'unitId':_0x271701[_0x221870(0x25c)],'subUnitId':_0x271701['subUnitId']})):[];}case _0x90ab09['id']:{const _0x56b623=_0x403d86['params'];return[{'range':_0x56b623[_0x221870(0x21b)],'unitId':_0x56b623[_0x221870(0x25c)],'subUnitId':_0x56b623[_0x221870(0x1e9)]}];}case _0x28371b['id']:{const _0x1b53a0=_0x403d86[_0x221870(0x124)];return(Array[_0x221870(0x229)](_0x1b53a0[_0x221870(0x24d)])?_0x1b53a0[_0x221870(0x24d)]:[_0x1b53a0['rule']])[_0x221870(0x1d2)](_0x1288ad=>_0x1288ad[_0x221870(0x162)]['map'](_0x478834=>({'range':_0x478834,'unitId':_0x1b53a0[_0x221870(0x25c)],'subUnitId':_0x1b53a0[_0x221870(0x1e9)]})))[_0x221870(0x158)]();}case _0x1b6e0c['id']:{const _0x2e2433=_0x403d86[_0x221870(0x124)];return _0x2e2433[_0x221870(0x24d)]['ranges'][_0x221870(0x1d2)](_0x229eb4=>({'range':_0x229eb4,'unitId':_0x2e2433[_0x221870(0x25c)],'subUnitId':_0x2e2433[_0x221870(0x1e9)]}));}default:return[];}}[_0x4f03cb(0x126)](_0x536185){const _0x53df1a=_0x4f03cb;if(_0x536185[_0x53df1a(0x187)]<=0x1)return _0x536185;const _0x4374bb=new Map();return _0x536185['forEach'](_0x3fe553=>{const _0x51e3cc=_0x53df1a;var _0x1bf72f;const {unitId:_0x5b2448,subUnitId:_0x10734b}=_0x3fe553,_0x25029f=_0x5b2448+'-'+_0x10734b;_0x4374bb['has'](_0x25029f)?(_0x1bf72f=_0x4374bb[_0x51e3cc(0x26a)](_0x25029f))==null||_0x1bf72f[_0x51e3cc(0x242)](_0x3fe553):_0x4374bb['set'](_0x25029f,[_0x3fe553]);}),Array[_0x53df1a(0x1f9)](_0x4374bb[_0x53df1a(0x1d0)]())['map'](_0x285d9b=>new _0x47f80d()[_0x53df1a(0x257)](..._0x285d9b[_0x53df1a(0x1d2)](_0x20eef1=>_0x20eef1[_0x53df1a(0x21b)]))[_0x53df1a(0x29c)]()[_0x53df1a(0x1d2)](_0x4bdda6=>({'range':_0x4bdda6,'unitId':_0x285d9b[0x0][_0x53df1a(0x25c)],'subUnitId':_0x285d9b[0x0][_0x53df1a(0x1e9)]})))['flat']();}};$=Ds([Q(0x0,_0x29c844(E)),Q(0x1,_0x60989f),Q(0x2,_0x321951)],$);function he(_0x12f13f){return new _0x29cfab(_0x12f13f)['getDataRange']();}function ys(_0x298e50){const _0xb21434=_0x4f03cb,_0x38469c=new _0x29cfab(_0x298e50),_0x36b03c=new _0x29cfab();return _0x38469c[_0xb21434(0x19b)]((_0x570a8e,_0x265fed)=>{const _0x5c6f01=_0xb21434;_0x36b03c[_0x5c6f01(0x1ae)](_0x570a8e,_0x265fed,0x1);}),_0x186d7f(_0x36b03c);}var Cs=Object['getOwnPropertyDescriptor'],ws=(_0x181d85,_0x241744,_0x3a3c7c,_0x311a90)=>{for(var _0x47123f=_0x311a90>0x1?void 0x0:_0x311a90?Cs(_0x241744,_0x3a3c7c):_0x241744,_0x438333=_0x181d85['length']-0x1,_0x5bd0d6;_0x438333>=0x0;_0x438333--)(_0x5bd0d6=_0x181d85[_0x438333])&&(_0x47123f=_0x5bd0d6(_0x47123f)||_0x47123f);return _0x47123f;},C=(_0x4eb08c,_0x5071eb)=>(_0x5531cd,_0x187a8c)=>_0x5071eb(_0x5531cd,_0x187a8c,_0x4eb08c);let te=class extends _0x14da56{constructor(_0x34df52,_0x2805e8,_0x32980a,_0x31d4d5,_0x234f72,_0x2715b0,_0x3cb409){const _0x58208e=_0x4f03cb;super(),l(this,'_diffs',new Set()),l(this,_0x58208e(0x1b8),null),(this[_0x58208e(0x155)]=_0x34df52,this['_historyManagerService']=_0x2805e8,this['_versionDiffService']=_0x32980a,this[_0x58208e(0xfe)]=_0x31d4d5,this[_0x58208e(0x291)]=_0x234f72,this['_sheetSkeletonManagerService']=_0x2715b0,this[_0x58208e(0x23c)]=_0x3cb409,this[_0x58208e(0x181)]());}[_0x4f03cb(0x181)](){const _0x1f4177=_0x4f03cb;this['_initRender'](),this[_0x1f4177(0x13d)]();}[_0x4f03cb(0x21e)](){const _0x1caafb=_0x4f03cb;this['disposeWithMe'](_0x40b610([this['_historyManagerService'][_0x1caafb(0x108)],this[_0x1caafb(0x240)][_0x1caafb(0x251)]])[_0x1caafb(0x152)](_0x4aeb7d(([_0x24189d,_0x1d565b])=>{const _0x7e1906=_0x1caafb;if(_0x24189d===T['Loaded']&&_0x1d565b){const _0x8345d8=_0x1d565b[_0x7e1906(0x27c)];return this[_0x7e1906(0x118)][_0x7e1906(0x1fd)][_0x7e1906(0x152)](_0x367a6d(_0x5f3aee=>{const _0xa1a11f=_0x7e1906,_0x3b9bfa=new Map();return _0x5f3aee['ranges'][_0xa1a11f(0x1ca)]((_0x3884c3,_0x5dbc96)=>{const _0x1ff7e4=_0xa1a11f,_0x2af103=_0x3884c3[_0x1ff7e4(0x274)](_0x138cd5=>_0x138cd5[_0x1ff7e4(0x1e9)]===_0x8345d8);_0x3b9bfa[_0x1ff7e4(0x1e3)](_0x5dbc96,_0x2af103);}),{'skeleton':_0x1d565b,'diffs':_0x3b9bfa};}));}return _0x33018e({'skeleton':null,'diffs':new Map()});}))[_0x1caafb(0xe0)](({skeleton:_0x375ff4,diffs:_0x27e46d})=>{const _0x535e8e=_0x1caafb;this[_0x535e8e(0x25e)](),_0x375ff4&&this[_0x535e8e(0x10d)](_0x375ff4,_0x27e46d);})),this['disposeWithMe'](this[_0x1caafb(0x240)][_0x1caafb(0x251)][_0x1caafb(0xe0)](_0x351fef=>{const _0x1f3642=_0x1caafb;if(_0x351fef==null)return;const {skeleton:_0x22eb36}=_0x351fef,{scene:_0x2af02e}=this[_0x1f3642(0x155)];_0x2af02e['onPointerMove$'][_0x1f3642(0x103)](_0x511975(_0x12406f=>{const _0x5c8519=_0x1f3642;var _0x5e42e0,_0x5bcfad;const {offsetX:_0x249825,offsetY:_0x1b695d}=_0x12406f,{x:_0x40a82b,y:_0x499652}=_0x2af02e[_0x5c8519(0x17c)](_0x2042b8[_0x5c8519(0x10b)]([_0x249825,_0x1b695d])),{scaleX:_0x2e59d2,scaleY:_0x36c1b8}=_0x2af02e['getAncestorScale'](),_0x39a575=_0x2af02e[_0x5c8519(0x169)](_0x395c32['VIEW_MAIN']),_0x1cb110=_0x2af02e['getVpScrollXYInfoByPosToVp'](_0x2042b8['FromArray']([_0x40a82b,_0x499652]),_0x39a575),_0x51f0ff=_0x22eb36[_0x5c8519(0x147)](_0x249825,_0x1b695d,_0x2e59d2,_0x36c1b8,_0x1cb110);((_0x5e42e0=this['_lastPointer'])==null?void 0x0:_0x5e42e0['column'])===_0x51f0ff['column']&&((_0x5bcfad=this[_0x5c8519(0x1b8)])==null?void 0x0:_0x5bcfad[_0x5c8519(0x1b6)])===_0x51f0ff['row']||this[_0x5c8519(0x267)]['forEach'](_0x1ba361=>{_0x1ba361['onMouseMove'](_0x51f0ff);});},0x64));}));}[_0x4f03cb(0x13d)](){const _0x4f1d8f=_0x4f03cb;this[_0x4f1d8f(0x234)](this['_historyManagerService']['loadingState$'][_0x4f1d8f(0xe0)](_0x5c37b0=>{const _0x3df4d9=_0x4f1d8f,_0x5e6a8c=new _0x5e0d43();return _0x5c37b0===T[_0x3df4d9(0x1b3)]&&(_0x5e6a8c[_0x3df4d9(0x228)](),_0x5e6a8c[_0x3df4d9(0x257)](this[_0x3df4d9(0x118)]['currentVersionDiff$'][_0x3df4d9(0xe0)](_0x325143=>{const _0x13b34c=_0x3df4d9;_0x325143[_0x13b34c(0x230)]&&this[_0x13b34c(0x23c)][_0x13b34c(0x16b)](_0x5d6394['id'],{'unitId':this[_0x13b34c(0x155)][_0x13b34c(0x25c)],'subUnitId':_0x325143[_0x13b34c(0x230)]});}))),()=>_0x5e6a8c[_0x3df4d9(0x228)]();}));}[_0x4f03cb(0x10d)](_0x4f7080,_0x4fbeaf){const _0x4bf6b3=_0x4f03cb;var _0x5055bd;const _0x332ef3=(_0x5055bd=this[_0x4bf6b3(0x240)][_0x4bf6b3(0x259)]())==null?void 0x0:_0x5055bd[_0x4bf6b3(0x235)];if(!_0x332ef3)return;this['_diffs'][_0x4bf6b3(0x1ca)](_0x2ceb22=>{const _0x24d133=_0x4bf6b3;_0x2ceb22[_0x24d133(0x1d4)]();});const {scene:_0x3e2379}=this[_0x4bf6b3(0x155)],_0x30f6ee=Array[_0x4bf6b3(0x1f9)](_0x4fbeaf[_0x4bf6b3(0x1f6)]())[_0x4bf6b3(0x1d2)](_0x5b4e1d=>_0x4fbeaf[_0x4bf6b3(0x26a)](_0x5b4e1d)[_0x4bf6b3(0x1d2)](_0x71fc19=>{const _0x50054f=_0x4bf6b3;var _0x25f22b;const {range:_0x557fc4,subUnitId:_0x2867bb,unitId:_0x4b4b78}=_0x71fc19,{startColumn:_0x44a079,startRow:_0x4d9fdd,endColumn:_0x3298ba,endRow:_0xdf1b42}=_0x557fc4,_0x521e07=_0x47369d(_0x4d9fdd,_0x44a079,_0x3e2379,_0x332ef3),_0x755080=_0x47369d(_0xdf1b42,_0x3298ba,_0x3e2379,_0x332ef3),{columnHeaderHeightAndMarginTop:_0x45d03e}=_0x332ef3,{startX:_0x47ba8c,startY:_0x173dc2}=_0x521e07,{endX:_0x20c925,endY:_0x584b56}=_0x755080,_0x354b20=_0x20c925-_0x47ba8c,_0x5e6e54=_0x584b56-_0x173dc2,_0x3abd3a={'labelPosition':_0x173dc2-_0x45d03e>=0x14?'top':_0x50054f(0x22a),'sheetID':_0x2867bb,'range':_0x557fc4,'color':_0x50054f(0x275),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x50054f(0x275),'name':((_0x25f22b=this[_0x50054f(0x27d)][_0x50054f(0xff)](_0x5b4e1d))==null?void 0x0:_0x25f22b[_0x50054f(0x24e)])||'','selection':_0x4b4b78+'-'+_0x2867bb+'-'+_0x557fc4[_0x50054f(0x295)]+'-'+_0x557fc4[_0x50054f(0x25b)]+'-'+_0x557fc4[_0x50054f(0x22f)]+'-'+_0x557fc4[_0x50054f(0x266)],'left':_0x47ba8c,'top':_0x173dc2,'width':_0x354b20,'height':_0x5e6e54,'evented':!0x1,'zIndex':0x1};return new _0x5d43d2('',_0x3abd3a);}))[_0x4bf6b3(0x158)]();_0x3e2379['addObjects'](_0x30f6ee,0x1),this[_0x4bf6b3(0x267)]=new Set(_0x30f6ee);}[_0x4f03cb(0x25e)](){const _0x2fff4c=_0x4f03cb;var _0x1c73eb;(_0x1c73eb=this[_0x2fff4c(0x267)])==null||_0x1c73eb[_0x2fff4c(0x1ca)](_0x283ae4=>_0x283ae4[_0x2fff4c(0x228)]());}[_0x4f03cb(0x1a9)](){const _0x4220cc=_0x4f03cb;return _0x4a132d(this[_0x4220cc(0xfe)],this[_0x4220cc(0x291)]);}};te=ws([C(0x1,_0x29c844(E)),C(0x2,_0x29c844($)),C(0x3,_0x5eb68e),C(0x4,_0x1036f5),C(0x5,_0x29c844(_0x37bd78)),C(0x6,_0x4e59cf)],te);function Ps(){const _0x542b21=_0x4f03cb,_0x48e38a=_0x3e4431(E),_0x1f7382=_0x636491(_0x48e38a[_0x542b21(0x24b)]),[_0x3da8f0,_0x9de3da]=_0xa81ac4(!0x1),_0x3ab7ff=cs(_0x1f7382);return _0x1f7382?_0x18caf9(_0x542b21(0x28c),{'className':_0x542b21(0x258),'children':_0x407034(_0x542b21(0x28c),{'className':_0x542b21(0x28f),'children':[_0x3ab7ff[_0x542b21(0x1d2)]((_0x5b251b,_0x820792)=>_0x407034(_0x5b883c,{'children':[_0x18caf9($s,{'date':_0x5b251b[_0x542b21(0x146)]}),_0x5b251b['versions'][_0x542b21(0x1d2)]((_0x2af636,_0xaae9f5)=>_0x18caf9(Vs,{'index':[_0x820792,_0xaae9f5],'item':_0x2af636},_0x820792+'-'+_0xaae9f5))]},_0x5b251b[_0x542b21(0x146)])),_0x3da8f0&&_0x18caf9(Ts,{})]})}):_0x18caf9(Ls,{});}function Ts(){const _0x22795b=_0x4f03cb;return _0x18caf9(_0x22795b(0x28c),{'className':_0x22795b(0xf1),'children':_0x18caf9(ae,{'className':_0x22795b(0x225)})});}function Ls(){const _0x3b6834=_0x4f03cb;return _0x18caf9(_0x3b6834(0x28c),{'className':_0x3b6834(0x13c),'children':_0x18caf9(_0x3b6834(0x26c),{'className':_0x3b6834(0x119),'children':_0x18caf9(ae,{'className':_0x3b6834(0x1a1)})})});}function _0x490d(_0xaae600,_0x709404){const _0x2c1989=_0x2c19();return _0x490d=function(_0x490d76,_0x29c63d){_0x490d76=_0x490d76-0xdd;let _0x2642ce=_0x2c1989[_0x490d76];return _0x2642ce;},_0x490d(_0xaae600,_0x709404);}function $s(_0x1d6184){const _0x3aa187=_0x4f03cb,_0x14171b=_0x3e4431(_0xc4817c),{date:_0x1f4850}=_0x1d6184;return _0x18caf9(_0x3aa187(0x28c),{'className':_0x3aa187(0x1d9),'children':ee(_0x1f4850,_0x14171b[_0x3aa187(0x1aa)]())});}function Vs(_0x4b7714){const _0x143927=_0x4f03cb,{item:_0x3cb37c,index:_0x26a8de}=_0x4b7714,{time:_0x161142,user:_0x21550b}=_0x3cb37c,[_0x3e9b02,_0x5d4f4a]=_0x26a8de,_0x30ebc1=_0x3e4431(E),_0x3c1143=_0x636491(_0x30ebc1[_0x143927(0x26f)],'',!0x0)===_0x3cb37c['id'],_0x3c49d0=_0x3e9b02===0x0&&_0x5d4f4a===0x0,_0x2fe57b=!_0x3c49d0&&_0x30ebc1[_0x143927(0x19f)],_0x24a74b=_0x3e4431(_0xc4817c),_0x43cb67=_0x24a74b[_0x143927(0x1aa)](),_0x4de3a8=re(_0x161142,_0x43cb67),_0x5e6f84=_0x24a74b['t'](_0x143927(0x17d)),_0x2a34bf=_0x4b1762(_0x29532d=>{const _0x26f6e0=_0x143927;_0x30ebc1[_0x26f6e0(0x219)]!==T[_0x26f6e0(0x20a)]&&(_0x30ebc1['currentVersion']=_0x29532d);},[_0x30ebc1]),_0x30309b=_0x4b1762(_0x34e510=>{const _0x3e1927=_0x143927;_0x30ebc1[_0x3e1927(0x16e)](_0x34e510);},[_0x30ebc1]);return _0x407034(_0x143927(0x28c),{'className':_0x8ef2c9(_0x143927(0x125),{'univer-bg-gray-50':_0x3c1143}),'onClick':()=>_0x2a34bf(_0x3cb37c['id']),'children':[_0x407034(_0x143927(0x28c),{'className':_0x143927(0x151),'children':[_0x18caf9(_0x143927(0x28c),{'className':_0x143927(0x20c)}),_0x407034(_0x143927(0x28c),{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[_0x18caf9(_0x143927(0x26c),{'children':_0x4de3a8[_0x143927(0x10f)]}),_0x3c49d0&&_0x18caf9(_0x143927(0x26c),{'className':_0x143927(0x11b),'children':_0x5e6f84})]}),_0x18caf9(_0x143927(0x28c),{'children':_0x2fe57b&&_0x18caf9(_0x800034,{'title':_0x24a74b['t'](_0x143927(0x271)),'children':_0x18caf9(_0x143927(0x28c),{'onClick':_0x3745fd=>{const _0x629d83=_0x143927;_0x3745fd[_0x629d83(0x120)](),_0x30309b(_0x3cb37c['id']);},'className':_0x143927(0x29d),'children':_0x18caf9(Le,{})})})})]}),_0x18caf9('div',{'className':_0x143927(0xdf),'children':as(_0x3cb37c,_0x24a74b)})]});}var ks=Object[_0x4f03cb(0x145)],xs=(_0x147a8d,_0x4d2619,_0x52f826,_0x1bde56)=>{const _0x4d1f1c=_0x4f03cb;for(var _0xb9143a=_0x1bde56>0x1?void 0x0:_0x1bde56?ks(_0x4d2619,_0x52f826):_0x4d2619,_0x3d556e=_0x147a8d[_0x4d1f1c(0x187)]-0x1,_0x112bc0;_0x3d556e>=0x0;_0x3d556e--)(_0x112bc0=_0x147a8d[_0x3d556e])&&(_0xb9143a=_0x112bc0(_0xb9143a)||_0xb9143a);return _0xb9143a;},k=(_0x1fbadf,_0xbda0e8)=>(_0x41dcc9,_0x16b0ff)=>_0xbda0e8(_0x41dcc9,_0x16b0ff,_0x1fbadf);const de=_0x4f03cb(0xf9);let j=class extends _0x14da56{constructor(_0x198c39,_0x23e873,_0x241842,_0x53d708){const _0x3b2cfc=_0x4f03cb;super(),l(this,_0x3b2cfc(0x19e),null),(this['_sidebarService']=_0x198c39,this[_0x3b2cfc(0x289)]=_0x23e873,this['_localeService']=_0x241842,this[_0x3b2cfc(0x27d)]=_0x53d708,this['_init']());}[_0x4f03cb(0x181)](){this['_initPanel'](),this['_openPanel']();}[_0x4f03cb(0x276)](){const _0x4f6716=_0x4f03cb;if(this[_0x4f6716(0x19e)])return;const _0x800d37={'header':{'title':this['_localeService']['t']('editHistory.panel.title')},'children':{'label':de},'onClose':()=>{const _0x325572=_0x4f6716;this[_0x325572(0x19e)]=null,this[_0x325572(0x27d)][_0x325572(0x164)]=ne['Exited'];}};this[_0x4f6716(0x19e)]=this[_0x4f6716(0x1fb)][_0x4f6716(0x135)]({..._0x800d37});}[_0x4f03cb(0x1e7)](){const _0x23170e=_0x4f03cb;this[_0x23170e(0x234)](this[_0x23170e(0x289)]['register'](de,Ps)),this[_0x23170e(0x234)](this[_0x23170e(0x1fb)][_0x23170e(0x17e)][_0x23170e(0x152)](_0x2b6425(0x64))['subscribe'](_0x22f140=>{const _0x4df9ab=_0x23170e,{target:_0x4d2c16}=_0x22f140||{};if(_0x4d2c16){const {scrollTop:_0x3bf5a0,scrollHeight:_0x4a6fb5,clientHeight:_0x3d6823}=_0x4d2c16;_0x3bf5a0+_0x3d6823>=_0x4a6fb5-0x5&&this[_0x4df9ab(0x27d)][_0x4df9ab(0x1be)]();}}));}};j=xs([k(0x0,_0xe7aeb2),k(0x1,_0x29c844(_0x5754cd)),k(0x2,_0x29c844(_0xc4817c)),k(0x3,_0x29c844(E))],j);class Us extends _0x14da56{constructor(){const _0x56470d=_0x4f03cb;super(),l(this,_0x56470d(0x168),new _0x1cb6e2());}[_0x4f03cb(0x135)](){return _0x1c3dc4(()=>{});}['close'](){}[_0x4f03cb(0x1fe)](_0x1c9b4a){}[_0x4f03cb(0x131)](){const _0x11f99e=_0x4f03cb;return this[_0x11f99e(0x168)][_0x11f99e(0x237)]();}}var Hs=Object[_0x4f03cb(0x1d8)],Fs=Object['getOwnPropertyDescriptor'],Ys=(_0x14b446,_0x5c6aa6,_0x48bda3)=>_0x5c6aa6 in _0x14b446?Hs(_0x14b446,_0x5c6aa6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x48bda3}):_0x14b446[_0x5c6aa6]=_0x48bda3,Bs=(_0x4302ac,_0x34073b,_0xc185b8,_0x14893f)=>{for(var _0x24b573=_0x14893f>0x1?void 0x0:_0x14893f?Fs(_0x34073b,_0xc185b8):_0x34073b,_0x5cc550=_0x4302ac['length']-0x1,_0x276def;_0x5cc550>=0x0;_0x5cc550--)(_0x276def=_0x4302ac[_0x5cc550])&&(_0x24b573=_0x276def(_0x24b573)||_0x24b573);return _0x24b573;},J=(_0x4a4989,_0xd19cc8)=>(_0x3489e2,_0x2b842c)=>_0xd19cc8(_0x3489e2,_0x2b842c,_0x4a4989),js=(_0xc2a1f1,_0x3649a1,_0x464ed6)=>Ys(_0xc2a1f1,_0x3649a1+'',_0x464ed6);const As=_0x4f03cb(0x286);let se=class extends _0x499fd0{constructor(_0x283ee7=_e,_0x31703c,_0x5581a1,_0x55e2f6){const _0x59733c=_0x4f03cb;super(),this[_0x59733c(0xea)]=_0x283ee7,this[_0x59733c(0x23f)]=_0x31703c,this[_0x59733c(0x291)]=_0x5581a1,this[_0x59733c(0x1ec)]=_0x55e2f6;const {..._0x4169b2}=_0x4f62e6({},_e,this[_0x59733c(0xea)]);this[_0x59733c(0x1ec)]['setConfig'](we,_0x4169b2);}['onStarting'](){const _0x4f4348=_0x4f03cb;[[E],[B],[$],[Y],[j],[H],[_0x321951,{'useClass':_0x709038}],[_0x2ba098,{'useClass':Us}],[_0x81f62a,{'useClass':_0x6b602d}]][_0x4f4348(0x1ca)](_0x536818=>this['_injector']['add'](_0x536818)),this['_injector']['get'](B);}['onRendered'](){const _0x528e70=_0x4f03cb;[[te]][_0x528e70(0x1ca)](_0xe54f8a=>{const _0x2a005f=_0x528e70;this[_0x2a005f(0x234)](this[_0x2a005f(0x291)][_0x2a005f(0x1bb)](_0x347ff2[_0x2a005f(0x28d)],_0xe54f8a));}),this[_0x528e70(0x23f)][_0x528e70(0x26a)](H),this[_0x528e70(0x23f)][_0x528e70(0x26a)](j);}[_0x4f03cb(0x166)](){const _0x51e4b2=_0x4f03cb;this['_injector'][_0x51e4b2(0x26a)]($);}};js(se,_0x4f03cb(0xf4),As),se=Bs([_0x4d945d(_0x11b987,_0xe5ea8f),J(0x1,_0x29c844(_0x5d250a)),J(0x2,_0x1036f5),J(0x3,_0x32044b)],se);export{E as HistoryManagerService,ne as HistoryModeStatus,se as UniverEditHistoryViewerPlugin};
1
+ const _0x153239=_0x595a;(function(_0x163bb9,_0x39f3f1){const _0x26b045=_0x595a,_0x4c89ad=_0x163bb9();while(!![]){try{const _0x2c4295=-parseInt(_0x26b045(0x21a))/0x1+-parseInt(_0x26b045(0x21f))/0x2+-parseInt(_0x26b045(0x222))/0x3*(parseInt(_0x26b045(0x15d))/0x4)+parseInt(_0x26b045(0x2d1))/0x5+parseInt(_0x26b045(0x13e))/0x6*(-parseInt(_0x26b045(0x17e))/0x7)+parseInt(_0x26b045(0x142))/0x8+parseInt(_0x26b045(0x1b8))/0x9;if(_0x2c4295===_0x39f3f1)break;else _0x4c89ad['push'](_0x4c89ad['shift']());}catch(_0x3955ad){_0x4c89ad['push'](_0x4c89ad['shift']());}}}(_0x2508,0xef994));var Fe=Object[_0x153239(0x1b3)],Ye=(_0x2d3e8d,_0x30b110,_0x2752db)=>_0x30b110 in _0x2d3e8d?Fe(_0x2d3e8d,_0x30b110,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2752db}):_0x2d3e8d[_0x30b110]=_0x2752db,l=(_0xf132c1,_0x1de379,_0x1a956e)=>Ye(_0xf132c1,typeof _0x1de379!=_0x153239(0x253)?_0x1de379+'':_0x1de379,_0x1a956e);import{RevertRevisionMutation as _0x50a714,CreateUnitMutation as _0x387fc3,ISnapshotServerService as _0x49b068,CompressMutationService as _0x5ede0d,transformSnapshotToWorkbookData as _0x295d74,ITransformService as _0x5682dc,parseProtocolChangeset as _0x485b42,isTransformMutationsSuccess as _0x2f7c2b}from'@univerjs-pro/collaboration';import{SnapshotServerOverHTTPService as _0x540f42,CollaborationImageIoService as _0x3e5fd3}from'@univerjs-pro/collaboration-client';import{Disposable as _0x3f3ea2,LocaleType as _0x380a71,IUniverInstanceService as _0xcdc529,ICommandService as _0x27321f,IConfigService as _0x12b814,Inject as _0xec2d2,UniverInstanceType as _0x4a5044,LocaleService as _0x4b5be2,IPermissionService as _0xc26bc2,Injector as _0x1c09ab,ObjectMatrix as _0x4852f4,debounce as _0x19a0e9,DisposableCollection as _0x4f1512,toDisposable as _0x10fbb4,DependentOn as _0x308d2c,Plugin as _0x36ae4b,merge as _0x3e1d66}from'@univerjs/core';import{IImageIoService as _0x39052e}from'@univerjs/drawing';import{IRenderManagerService as _0x98bc71,Vector2 as _0xd918f9,SHEET_VIEWPORT_KEY as _0x302532}from'@univerjs/engine-render';import{HTTPService as _0x3576c5,UniverNetworkPlugin as _0x3ee37b}from'@univerjs/network';import{ICellEditorManagerService as _0x5b7b0b,SheetSkeletonManagerService as _0x3e9bdc,getCoordByCell as _0x17fd2c,getSheetObject as _0x4840b6,UniverSheetsUIPlugin as _0x345463}from'@univerjs/sheets-ui';import{IMessageService as _0x437997,IConfirmService as _0x44ae04,useDependency as _0x2ef851,useObservable as _0x2e2564,IUIPartsService as _0x2a1036,BuiltInUIPart as _0x451448,connectInjector as _0x141671,ISidebarService as _0x5dcd1a,ComponentManager as _0x3a5433,IDialogService as _0x545c1d}from'@univerjs/ui';import{MessageType as _0x1c8e28,clsx as _0x356a9e,Button as _0x10a181,borderBottomClassName as _0x152b6a,Tooltip as _0x8b0342}from'@univerjs/design';import{InsertSheetMutation as _0x1fa960,RemoveSheetMutation as _0x9bc5c5,SetFrozenMutation as _0x36fe10,AddWorksheetProtectionMutation as _0x302f1e,AddRangeProtectionMutation as _0x551bf4,DeleteRangeProtectionMutation as _0x458096,DeleteWorksheetProtectionMutation as _0x4a60f2,WorkbookEditablePermission as _0x25b07,WorkbookRenameSheetPermission as _0x2c8499,WorkbookMoveSheetPermission as _0x1b1504,WorkbookHideSheetPermission as _0x1e555a,SetWorksheetHideMutation as _0x323102,SetRangeValuesMutation as _0x492626,SetRangeProtectionMutation as _0x5556f8,ReorderRangeMutation as _0x4ac0bd,RemoveNumfmtMutation as _0x3d0967,SetNumfmtMutation as _0x2bbd83,MoveColsMutation as _0x2fd0fe,MoveRowsMutation as _0x316f05,MoveRangeMutation as _0x5621b3,InsertColMutation as _0x35691f,InsertRowMutation as _0xd0a2ce,AddWorksheetMergeMutation as _0x425881,RangeMergeUtil as _0x445e03,findAllRectangle as _0x22f33e,SetWorksheetActiveOperation as _0x16d031}from'@univerjs/sheets';import{BehaviorSubject as _0x2108dd,combineLatest as _0x2449b8,switchMap as _0x1e07cb,map as _0x10f062,of as _0x1b3af4,debounceTime as _0x5dbbac,Subject as _0x43fa9a}from'rxjs';import{AddSheetSparklineMutation as _0x247aed}from'@univerjs-pro/sheets-sparkline';import{AddDataValidationMutation as _0x54db3c,UpdateDataValidationMutation as _0x4b8805}from'@univerjs/data-validation';import{SetConditionalRuleMutation as _0x2d4a07,AddConditionalRuleMutation as _0x50d6de}from'@univerjs/sheets-conditional-formatting';function _0x595a(_0xa91997,_0xdf0e74){const _0x2508c7=_0x2508();return _0x595a=function(_0x595aa6,_0x224135){_0x595aa6=_0x595aa6-0x127;let _0x40f053=_0x2508c7[_0x595aa6];return _0x40f053;},_0x595a(_0xa91997,_0xdf0e74);}import{SetSheetsFilterRangeMutation as _0x14f8b3}from'@univerjs/sheets-filter';import{jsxs as _0x443960,jsx as _0x41308f}from'react/jsx-runtime';import{forwardRef as _0x49fb22,useRef as _0x5441e2,createElement as _0x57eb9b,useCallback as _0x596c8b,useState as _0x1823b9,Fragment as _0x41969b}from'react';import{SheetCollabCursorShape as _0x1b8714}from'@univerjs-pro/collaboration-client-ui';const we=_0x153239(0x20e),_e={};var ss=Object[_0x153239(0x255)],is=(_0x475079,_0x58cd47,_0x20694c,_0x476233)=>{const _0x2e6953=_0x153239;for(var _0x1baff2=_0x476233>0x1?void 0x0:_0x476233?ss(_0x58cd47,_0x20694c):_0x58cd47,_0x25fcdc=_0x475079[_0x2e6953(0x24a)]-0x1,_0x3d087f;_0x25fcdc>=0x0;_0x25fcdc--)(_0x3d087f=_0x475079[_0x25fcdc])&&(_0x1baff2=_0x3d087f(_0x1baff2)||_0x1baff2);return _0x1baff2;},rs=(_0x1332c7,_0x5e5010)=>(_0x6d66fd,_0x1717a9)=>_0x5e5010(_0x6d66fd,_0x1717a9,_0x1332c7);let H=class extends _0x3f3ea2{constructor(_0x5a6dcb){const _0x53f509=_0x153239;super(),this[_0x53f509(0x20d)]=_0x5a6dcb,this['_init']();}[_0x153239(0x194)](){const _0x4c0d9c=_0x153239;this[_0x4c0d9c(0x240)](this['_cellEditorManagerService']['state$'][_0x4c0d9c(0x1df)](_0x38b934=>{const _0x404de1=_0x4c0d9c;_0x38b934!=null&&_0x38b934[_0x404de1(0x130)]&&this[_0x404de1(0x20d)][_0x404de1(0x158)]({'show':!0x1});}));}};H=is([rs(0x0,_0x5b7b0b)],H);var X=(_0x1c379b=>(_0x1c379b[_0x1c379b[_0x153239(0x132)]=0x0]='UNDEFINED',_0x1c379b[_0x1c379b['OK']=0x1]='OK',_0x1c379b[_0x1c379b[_0x153239(0x1b2)]=0x2]=_0x153239(0x1b2),_0x1c379b[_0x1c379b['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x1c379b[_0x1c379b[_0x153239(0x2c6)]=0x4]=_0x153239(0x2c6),_0x1c379b[_0x1c379b['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x1c379b[_0x1c379b[_0x153239(0x1e6)]=0x6]='ALREADY_EXISTS',_0x1c379b[_0x1c379b[_0x153239(0x1be)]=0x7]='INVALID_ARGUMENT',_0x1c379b[_0x1c379b[_0x153239(0x2a9)]=0x8]=_0x153239(0x2a9),_0x1c379b[_0x1c379b['COMPLETION_FINISHED']=0x9]=_0x153239(0x212),_0x1c379b[_0x1c379b[_0x153239(0x246)]=0xa]=_0x153239(0x246),_0x1c379b[_0x1c379b[_0x153239(0x17c)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x1c379b[_0x1c379b['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x1c379b[_0x1c379b[_0x153239(0x1ad)]=0xd]=_0x153239(0x1ad),_0x1c379b[_0x1c379b['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x153239(0x1de),_0x1c379b[_0x1c379b['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x153239(0x12d),_0x1c379b[_0x1c379b[_0x153239(0x2c0)]=0x1771]=_0x153239(0x2c0),_0x1c379b[_0x1c379b[_0x153239(0x149)]=0x1772]=_0x153239(0x149),_0x1c379b[_0x1c379b['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1c379b[_0x1c379b[_0x153239(0x1a2)]=0x1b59]='APPLY_REJECT',_0x1c379b[_0x1c379b['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x153239(0x2ca),_0x1c379b[_0x1c379b[_0x153239(0x29f)]=0x1b5b]=_0x153239(0x29f),_0x1c379b[_0x1c379b[_0x153239(0x1d0)]=0x1b5c]=_0x153239(0x1d0),_0x1c379b[_0x1c379b[_0x153239(0x12f)]=0x1b5d]=_0x153239(0x12f),_0x1c379b[_0x1c379b[_0x153239(0x14b)]=0x1f41]=_0x153239(0x14b),_0x1c379b[_0x1c379b[_0x153239(0x274)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x1c379b[_0x1c379b[_0x153239(0x272)]=0x232a]=_0x153239(0x272),_0x1c379b[_0x1c379b[_0x153239(0x20a)]=0x232b]=_0x153239(0x20a),_0x1c379b[_0x1c379b[_0x153239(0x179)]=0x232c]=_0x153239(0x179),_0x1c379b[_0x1c379b['LICENSE_DISTRO_REJECTED']=0x232d]=_0x153239(0x20f),_0x1c379b[_0x1c379b['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1c379b[_0x1c379b[_0x153239(0x2af)]=0x2712]=_0x153239(0x2af),_0x1c379b[_0x1c379b[_0x153239(0x17d)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1c379b[_0x1c379b['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x153239(0x264),_0x1c379b[_0x1c379b['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x153239(0x1f5),_0x1c379b[_0x1c379b['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x153239(0x2b6),_0x1c379b[_0x1c379b[_0x153239(0x1e4)]=0x271c]=_0x153239(0x1e4),_0x1c379b[_0x1c379b[_0x153239(0x262)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x1c379b[_0x1c379b[_0x153239(0x14c)]=0x271e]=_0x153239(0x14c),_0x1c379b[_0x1c379b[_0x153239(0x295)]=0x271f]=_0x153239(0x295),_0x1c379b[_0x1c379b[_0x153239(0x1ca)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x1c379b[_0x1c379b[_0x153239(0x22e)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1c379b[_0x1c379b[_0x153239(0x17b)]=0x2ee1]=_0x153239(0x17b),_0x1c379b[_0x1c379b[_0x153239(0x1f0)]=0x2ee2]=_0x153239(0x1f0),_0x1c379b[_0x1c379b[_0x153239(0x1fe)]=0x2ee3]=_0x153239(0x1fe),_0x1c379b[_0x1c379b[_0x153239(0x243)]=0x2ee4]=_0x153239(0x243),_0x1c379b[_0x1c379b[_0x153239(0x1cc)]=0x2ee5]=_0x153239(0x1cc),_0x1c379b[_0x1c379b[_0x153239(0x205)]=0x32c9]=_0x153239(0x205),_0x1c379b[_0x1c379b['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x153239(0x173),_0x1c379b[_0x1c379b['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x153239(0x1c7),_0x1c379b[_0x1c379b[_0x153239(0x28e)]=-0x1]=_0x153239(0x28e),_0x1c379b))(X||{}),F=(_0x4b4f00=>(_0x4b4f00[_0x4b4f00[_0x153239(0x257)]=0x0]=_0x153239(0x257),_0x4b4f00[_0x4b4f00['UNIVER_DOC']=0x1]=_0x153239(0x234),_0x4b4f00[_0x4b4f00['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x4b4f00[_0x4b4f00[_0x153239(0x275)]=0x3]=_0x153239(0x275),_0x4b4f00[_0x4b4f00[_0x153239(0x277)]=0x4]=_0x153239(0x277),_0x4b4f00[_0x4b4f00[_0x153239(0x28e)]=-0x1]=_0x153239(0x28e),_0x4b4f00))(F||{}),b=(_0x13b6be=>(_0x13b6be[_0x13b6be[_0x153239(0x22d)]=0x0]=_0x153239(0x22d),_0x13b6be[_0x13b6be[_0x153239(0x265)]=0x1]=_0x153239(0x265),_0x13b6be[_0x13b6be[_0x153239(0x18d)]=0x2]=_0x153239(0x18d),_0x13b6be[_0x13b6be[_0x153239(0x224)]=0x3]=_0x153239(0x224),_0x13b6be[_0x13b6be[_0x153239(0x159)]=0x4]=_0x153239(0x159),_0x13b6be[_0x13b6be[_0x153239(0x29b)]=0x5]='Comment',_0x13b6be[_0x13b6be[_0x153239(0x289)]=0x6]=_0x153239(0x289),_0x13b6be[_0x13b6be[_0x153239(0x1dc)]=0x7]=_0x153239(0x1dc),_0x13b6be[_0x13b6be['Export']=0x8]=_0x153239(0x19a),_0x13b6be[_0x13b6be[_0x153239(0x1fa)]=0x9]=_0x153239(0x1fa),_0x13b6be[_0x13b6be[_0x153239(0x2c1)]=0xa]=_0x153239(0x2c1),_0x13b6be[_0x13b6be[_0x153239(0x216)]=0xb]='HideWorksheet',_0x13b6be[_0x13b6be[_0x153239(0x2a3)]=0xc]='RenameWorksheet',_0x13b6be[_0x13b6be[_0x153239(0x266)]=0xd]=_0x153239(0x266),_0x13b6be[_0x13b6be['SetWorksheetStyle']=0xe]=_0x153239(0x1f9),_0x13b6be[_0x13b6be['EditWorksheetCell']=0xf]='EditWorksheetCell',_0x13b6be[_0x13b6be[_0x153239(0x15c)]=0x10]=_0x153239(0x15c),_0x13b6be[_0x13b6be[_0x153239(0x1cf)]=0x11]=_0x153239(0x1cf),_0x13b6be[_0x13b6be[_0x153239(0x1e8)]=0x12]='Filter',_0x13b6be[_0x13b6be['PivotTable']=0x13]=_0x153239(0x181),_0x13b6be[_0x13b6be[_0x153239(0x171)]=0x14]=_0x153239(0x171),_0x13b6be[_0x13b6be[_0x153239(0x278)]=0x15]=_0x153239(0x278),_0x13b6be[_0x13b6be['RwHgtClWdt']=0x16]=_0x153239(0x1bf),_0x13b6be[_0x13b6be['ViemRwHgtClWdt']=0x17]=_0x153239(0x2c8),_0x13b6be[_0x13b6be['ViewFilter']=0x18]=_0x153239(0x17f),_0x13b6be[_0x13b6be[_0x153239(0x165)]=0x19]=_0x153239(0x165),_0x13b6be[_0x13b6be[_0x153239(0x1b0)]=0x1a]=_0x153239(0x1b0),_0x13b6be[_0x13b6be['HideSheet']=0x1b]=_0x153239(0x299),_0x13b6be[_0x13b6be[_0x153239(0x1f8)]=0x1c]='CopySheet',_0x13b6be[_0x13b6be[_0x153239(0x1ff)]=0x1d]=_0x153239(0x1ff),_0x13b6be[_0x13b6be['CreateSheet']=0x1e]='CreateSheet',_0x13b6be[_0x13b6be[_0x153239(0x254)]=0x1f]=_0x153239(0x254),_0x13b6be[_0x13b6be[_0x153239(0x204)]=0x20]=_0x153239(0x204),_0x13b6be[_0x13b6be[_0x153239(0x1b7)]=0x21]=_0x153239(0x1b7),_0x13b6be[_0x13b6be[_0x153239(0x198)]=0x22]=_0x153239(0x198),_0x13b6be[_0x13b6be[_0x153239(0x1c8)]=0x23]=_0x153239(0x1c8),_0x13b6be[_0x13b6be['SetColumnStyle']=0x24]=_0x153239(0x1c4),_0x13b6be[_0x13b6be[_0x153239(0x2d3)]=0x25]='InsertRow',_0x13b6be[_0x13b6be['InsertColumn']=0x26]=_0x153239(0x27e),_0x13b6be[_0x13b6be[_0x153239(0x273)]=0x27]=_0x153239(0x273),_0x13b6be[_0x13b6be[_0x153239(0x250)]=0x28]=_0x153239(0x250),_0x13b6be[_0x13b6be[_0x153239(0x217)]=0x29]=_0x153239(0x217),_0x13b6be[_0x13b6be['Delete']=0x2a]=_0x153239(0x15a),_0x13b6be[_0x13b6be[_0x153239(0x178)]=0x2b]='RecoverHistory',_0x13b6be[_0x13b6be[_0x153239(0x157)]=0x2c]=_0x153239(0x157),_0x13b6be[_0x13b6be[_0x153239(0x1ea)]=0x2d]='CreatePermissionObject',_0x13b6be[_0x13b6be[_0x153239(0x28e)]=-0x1]=_0x153239(0x28e),_0x13b6be))(b||{});function ns(_0x152c1c){const _0x34970d=_0x153239;return!!(_0x152c1c&&_0x152c1c[_0x34970d(0x28d)]&&_0x152c1c[_0x34970d(0x28d)]!==X['OK']&&_0x152c1c['code']!=='OK');}const re=(_0x2242dc,_0x2001c9)=>{const _0x7e55cd=_0x153239;if(!_0x2242dc)return{'date':'','time':''};const _0x345e64=new Date(_0x2242dc),_0xa0236e=_0x345e64[_0x7e55cd(0x25d)]()[_0x7e55cd(0x168)]('T')[0x0];switch(_0x2001c9){case _0x380a71[_0x7e55cd(0x263)]:return{'date':ee(_0xa0236e,_0x2001c9),'time':_0x345e64[_0x7e55cd(0x294)]()+':'+String(_0x345e64[_0x7e55cd(0x1bc)]())[_0x7e55cd(0x180)](0x2,'0')};default:return{'date':ee(_0xa0236e,_0x2001c9),'time':_0x345e64[_0x7e55cd(0x294)]()+':'+_0x345e64[_0x7e55cd(0x1bc)]()};}},as=(_0x3d66ae,_0x57261e)=>{const _0x82697=_0x153239,_0x509c0c=_0x3d66ae[_0x82697(0x2b2)]||_0x57261e['t'](_0x82697(0x1e3));if(_0x3d66ae['commands'][_0x82697(0x296)](_0xa57d3f=>_0xa57d3f===_0x50a714['id'])&&_0x3d66ae[_0x82697(0x156)]){const _0x3ddaae=re(_0x3d66ae[_0x82697(0x156)],_0x57261e['getCurrentLocale']()),_0x3369f9=_0x3ddaae['date']+'\x20'+_0x3ddaae[_0x82697(0x161)];return _0x509c0c+'\x20'+_0x57261e['t'](_0x82697(0x297))+'\x20'+_0x3369f9+'\x20'+_0x57261e['t'](_0x82697(0x26b));}const _0x51a44e=os(_0x3d66ae),_0x36534d=_0x51a44e[_0x82697(0x24a)]===0x1?_0x57261e['t'](_0x51a44e[0x0]):''+_0x57261e['t'](_0x51a44e[0x0])+_0x57261e['t'](_0x82697(0x1a4));return _0x509c0c+'\x20'+_0x36534d;};function os(_0xc9d50e){const _0x2cf402=_0x153239;if(_0xc9d50e[_0x2cf402(0x214)][_0x2cf402(0x24a)]===0x0)return[''];const _0x5538db=_0x2cf402(0x147),_0x2e652c=_0x5538db+_0x2cf402(0x12e),_0x2f3e53=[{'id':_0x387fc3['id'],'action':_0x5538db+_0x2cf402(0x25c)},{'id':_0x50a714['id'],'action':_0x5538db+_0x2cf402(0x1f3)},{'id':_0x1fa960['id'],'action':_0x5538db+_0x2cf402(0x203)},{'id':_0x9bc5c5['id'],'action':_0x5538db+_0x2cf402(0x154)},{'id':_0x36fe10['id'],'action':_0x5538db+_0x2cf402(0x136)},{'id':_0x14f8b3['id'],'action':_0x5538db+'setFilter'},{'id':_0x54db3c['id'],'action':_0x5538db+_0x2cf402(0x1cb)},{'id':_0x4b8805['id'],'action':_0x5538db+_0x2cf402(0x1cb)},{'id':_0x2d4a07['id'],'action':_0x5538db+'setCF'},{'id':_0x50d6de['id'],'action':_0x5538db+'setCF'},{'id':_0x302f1e['id'],'action':_0x5538db+_0x2cf402(0x1c1)},{'id':_0x551bf4['id'],'action':_0x5538db+'addProtection'},{'id':_0x247aed['id'],'action':_0x5538db+_0x2cf402(0x280)},{'id':_0x458096['id'],'action':_0x5538db+_0x2cf402(0x1fb)},{'id':_0x4a60f2['id'],'action':_0x5538db+_0x2cf402(0x1fb)}][_0x2cf402(0x187)](_0x4710ba=>_0xc9d50e['commands']['includes'](_0x4710ba['id']));return _0x2f3e53!=null&&_0x2f3e53[_0x2cf402(0x24a)]?_0x2f3e53['map'](_0x3e0076=>_0x3e0076[_0x2cf402(0x1e9)]):[_0x2e652c];}function ee(_0x116dc9,_0x19f36a){const _0x296062=_0x153239,[_0x4dd878,_0x3214bb,_0x117e95]=new Date()[_0x296062(0x25d)]()[_0x296062(0x168)]('T')[0x0][_0x296062(0x168)]('-'),[_0x50a4e9,_0x522d33,_0x49deb2]=_0x116dc9[_0x296062(0x168)]('-'),_0x35986f=_0x4dd878===_0x50a4e9&&_0x3214bb===_0x522d33&&_0x117e95===_0x49deb2;let _0x1510ae='',_0x9bfab='',_0x3613d5='';switch(_0x19f36a){case _0x380a71[_0x296062(0x263)]:return _0x35986f?'今天':(_0x1510ae=_0x4dd878===_0x50a4e9?'':_0x50a4e9+'年',_0x9bfab=_0x522d33+'月',_0x3613d5=_0x49deb2+'日',''+_0x1510ae+_0x9bfab+_0x3613d5);default:return _0x35986f?_0x296062(0x167):(_0x1510ae=_0x4dd878===_0x50a4e9?'':_0x50a4e9+'-',_0x9bfab=_0x522d33+'-',_0x3613d5=''+_0x49deb2,''+_0x1510ae+_0x9bfab+_0x3613d5);}}function cs(_0x6da1a0){const _0x4f5c00=_0x153239;return _0x6da1a0?_0x6da1a0[_0x4f5c00(0x155)]((_0x442d08,_0x402067)=>{const _0x3ba2d2=_0x4f5c00,_0x3ad604=new Date(_0x402067[_0x3ba2d2(0x161)])['toISOString']()[_0x3ba2d2(0x168)]('T')[0x0];return _0x442d08[_0x3ba2d2(0x24a)]>0x0&&_0x442d08[_0x442d08[_0x3ba2d2(0x24a)]-0x1][_0x3ba2d2(0x1d4)]===_0x3ad604?_0x442d08[_0x442d08[_0x3ba2d2(0x24a)]-0x1]['versions'][_0x3ba2d2(0x127)](_0x402067):_0x442d08[_0x3ba2d2(0x127)]({'dateString':_0x3ad604,'versions':[_0x402067]}),_0x442d08;},[]):[];}var ls=Object[_0x153239(0x255)],us=(_0x5c24fa,_0x2b3bb9,_0x566b95,_0x86d0b6)=>{const _0x54d2d1=_0x153239;for(var _0x54fd25=_0x86d0b6>0x1?void 0x0:_0x86d0b6?ls(_0x2b3bb9,_0x566b95):_0x2b3bb9,_0x2e7b3b=_0x5c24fa[_0x54d2d1(0x24a)]-0x1,_0x5501e3;_0x2e7b3b>=0x0;_0x2e7b3b--)(_0x5501e3=_0x5c24fa[_0x2e7b3b])&&(_0x54fd25=_0x5501e3(_0x54fd25)||_0x54fd25);return _0x54fd25;},D=(_0x4a50cf,_0x4db74d)=>(_0x3e0f26,_0x16fc4d)=>_0x4db74d(_0x3e0f26,_0x16fc4d,_0x4a50cf);const _s='/universer-api/history';let Y=class extends _0x3f3ea2{constructor(_0x39b204,_0x58b9dd,_0xcba4bf,_0x3ba570,_0x294ea8,_0x1e3891){const _0x2b2ac7=_0x153239;super(),l(this,'_workbookDataCache',new Map()),(this['_snapshotServerService']=_0x39b204,this[_0x2b2ac7(0x1a1)]=_0x58b9dd,this[_0x2b2ac7(0x292)]=_0xcba4bf,this[_0x2b2ac7(0x186)]=_0x3ba570,this[_0x2b2ac7(0x2b4)]=_0x294ea8,this[_0x2b2ac7(0x1a6)]=_0x1e3891);}[_0x153239(0x209)](){const _0x11741d=_0x153239;this[_0x11741d(0x162)][_0x11741d(0x1cd)](),super[_0x11741d(0x209)]();}async['getVersions'](_0x13b68a,_0x848c52){const _0x4e09cf=_0x153239,_0x59eb5a=this[_0x4e09cf(0x190)]()+'/'+_0x13b68a+_0x4e09cf(0x249)+(_0x848c52?_0x4e09cf(0x13c)+_0x848c52:'');try{const _0x38a8cb=(await this[_0x4e09cf(0x2b4)][_0x4e09cf(0x150)](_0x59eb5a))[_0x4e09cf(0x193)];if(_0x38a8cb&&_0x38a8cb[_0x4e09cf(0x221)]&&_0x38a8cb[_0x4e09cf(0x221)][_0x4e09cf(0x28d)]===X['OK']){const {hasMore:_0x348e83,lastLabel:_0x3d1db8}=_0x38a8cb,_0x16649f=hs(_0x38a8cb),_0x3388f5=_0x38a8cb[_0x4e09cf(0x1aa)][_0x4e09cf(0x12a)];return{'hasMore':_0x348e83,'lastLabel':_0x3d1db8,'versions':_0x16649f,'members':_0x3388f5};}}catch(_0x21b627){console[_0x4e09cf(0x221)](_0x21b627);}return null;}[_0x153239(0x190)](){const _0x34f475=_0x153239;var _0xf2d39f;const _0x6d649f=this['_configService'][_0x34f475(0x239)](we);return(_0xf2d39f=_0x6d649f==null?void 0x0:_0x6d649f[_0x34f475(0x2cd)])!=null?_0xf2d39f:_s;}async[_0x153239(0x152)](_0xbbfae1,_0x34a207,_0x25c3af){const _0x3020cf=_0x153239;var _0x3272a3,_0x18a605;_0x25c3af===void 0x0&&(_0x25c3af={}),this['_workbookDataCache'][_0x3020cf(0x140)](_0xbbfae1)||this['_workbookDataCache'][_0x3020cf(0x24e)](_0xbbfae1,new Map());const {snapshot:_0x3c5f1e,changesets:_0x5e1d11,error:_0x520215}=await this[_0x3020cf(0x215)]['getUnitOnRev'](_0x25c3af,{'unitID':_0xbbfae1,'type':F[_0x3020cf(0x29a)],'revision':_0x34a207});if(ns(_0x520215)||!_0x3c5f1e||!_0x3c5f1e[_0x3020cf(0x1a7)])throw new Error(_0x3020cf(0x23f));const _0x9aa389=(_0x3272a3=_0x5e1d11==null?void 0x0:_0x5e1d11['length'])!=null?_0x3272a3:0x0;if(_0x34a207!==0x0&&_0x3c5f1e['rev']+_0x9aa389!==_0x34a207)throw new Error('[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!');const {workbook:_0x106998}=_0x3c5f1e,_0x7fa27c=_0x106998[_0x3020cf(0x15f)]?Object['entries'](_0x106998[_0x3020cf(0x15f)])[_0x3020cf(0x210)](([_0x2667a0,_0x5a92c0])=>{const _0x10f3fa=_0x3020cf;var _0x5570e6,_0x4209c8;return(_0x4209c8=(_0x5570e6=_0x5a92c0[_0x10f3fa(0x211)])==null?void 0x0:_0x5570e6[_0x10f3fa(0x210)](_0x279eaf=>_0x279eaf))!=null?_0x4209c8:[];})['flat']():[],_0x1afdd5=(await Promise[_0x3020cf(0x2be)](_0x7fa27c[_0x3020cf(0x210)](_0x58b108=>this['_snapshotServerService']['getDeserializedSheetBlock'](_0x25c3af,{'unitID':_0xbbfae1,'type':F['UNIVER_SHEET'],'blockID':_0x58b108})['then'](_0x1f241b=>_0x1f241b[_0x3020cf(0x1d8)]))))[_0x3020cf(0x187)](_0x1d530c=>!!_0x1d530c),_0x2f7ea1=_0x295d74(_0x3c5f1e,_0x1afdd5,_0x25c3af);return(_0x18a605=this[_0x3020cf(0x162)][_0x3020cf(0x150)](_0xbbfae1))==null||_0x18a605[_0x3020cf(0x24e)](_0x34a207,{'workbook':_0x2f7ea1}),new Promise(_0x49d88a=>{const _0x15aa55=_0x3020cf,_0x39bd90=this['_univerInstanceService']['getCurrentUnitForType'](_0x4a5044[_0x15aa55(0x29a)]);_0x39bd90?(this[_0x15aa55(0x1a1)][_0x15aa55(0x226)](_0x39bd90['getUnitId']()),setTimeout(()=>{this['_createUnit'](_0x2f7ea1,_0x5e1d11),_0x49d88a(!0x0);},0x0)):(this[_0x15aa55(0x177)](_0x2f7ea1,_0x5e1d11),_0x49d88a(!0x0));});}['_createUnit'](_0x2dae68,_0x1f3e8b){const _0x33bb68=_0x153239,_0x247f31=this['_univerInstanceService'][_0x33bb68(0x2a7)](_0x4a5044[_0x33bb68(0x29a)],_0x2dae68);this[_0x33bb68(0x1a1)][_0x33bb68(0x24d)](_0x247f31[_0x33bb68(0x2a8)]());const _0x4df105=this[_0x33bb68(0x1a6)]['interceptor'][_0x33bb68(0x1ab)](this[_0x33bb68(0x1a6)][_0x33bb68(0x20c)][_0x33bb68(0x27a)]()[_0x33bb68(0x293)]);return _0x1f3e8b==null||_0x1f3e8b[_0x33bb68(0x2d0)](_0x3ed302=>{const _0x49b306=_0x33bb68,_0xaef83d=_0x3ed302[_0x49b306(0x183)][_0x49b306(0x210)](_0x19eb2f=>({'id':_0x19eb2f['id'],'params':JSON[_0x49b306(0x175)](_0x19eb2f[_0x49b306(0x185)])}));({..._0x3ed302,'mutations':_0x4df105(_0xaef83d,null)||_0xaef83d}['mutations'][_0x49b306(0x2d0)](_0x8439f9=>{const _0x95797d=_0x49b306;this[_0x95797d(0x292)][_0x95797d(0x163)](_0x8439f9['id'])&&this[_0x95797d(0x292)][_0x95797d(0x1d3)](_0x8439f9['id'],_0x8439f9[_0x95797d(0x230)]);}));}),_0x247f31;}};Y=us([D(0x0,_0x49b068),D(0x1,_0xcdc529),D(0x2,_0x27321f),D(0x3,_0x12b814),D(0x4,_0xec2d2(_0x3576c5)),D(0x5,_0xec2d2(_0x5ede0d))],Y);function hs(_0x470660){const _0x36061b=_0x153239;var _0x281066,_0x46ddb6;const _0x2efc14=[],{entities:_0x2f233b,historyIds:_0x276807}=_0x470660,{datas:_0x30448e,users:_0x248e0c}=_0x2f233b;for(const _0x40d6c6 of _0x276807)if(_0x30448e[_0x40d6c6]){const _0x217581=!!((_0x281066=_0x248e0c[_0x30448e[_0x40d6c6]['userId']])!=null&&_0x281066['anonymous']);_0x2efc14['push']({'unitId':_0x30448e[_0x40d6c6][_0x36061b(0x25a)],'user':_0x217581?'':((_0x46ddb6=_0x248e0c==null?void 0x0:_0x248e0c[_0x30448e[_0x40d6c6][_0x36061b(0x241)]])==null?void 0x0:_0x46ddb6[_0x36061b(0x29c)])||'','isAnonymous':_0x217581,'id':_0x40d6c6,'time':_0x30448e[_0x40d6c6][_0x36061b(0x1a9)]?Number(_0x30448e[_0x40d6c6]['createTime']):void 0x0,'commands':_0x30448e[_0x40d6c6][_0x36061b(0x24f)],'startRev':Number(_0x30448e[_0x40d6c6]['startRevision']),'endRev':Number(_0x30448e[_0x40d6c6][_0x36061b(0x2d6)]),'recoverTime':_0x30448e[_0x40d6c6][_0x36061b(0x156)]?Number(_0x30448e[_0x40d6c6][_0x36061b(0x156)]):void 0x0});}return _0x2efc14;}var ds=Object[_0x153239(0x255)],vs=(_0x38039b,_0x52a463,_0x4c4719,_0x39b085)=>{const _0x3b7a5f=_0x153239;for(var _0x3b02c8=_0x39b085>0x1?void 0x0:_0x39b085?ds(_0x52a463,_0x4c4719):_0x52a463,_0x34219b=_0x38039b[_0x3b7a5f(0x24a)]-0x1,_0x2142a4;_0x34219b>=0x0;_0x34219b--)(_0x2142a4=_0x38039b[_0x34219b])&&(_0x3b02c8=_0x2142a4(_0x3b02c8)||_0x3b02c8);return _0x3b02c8;},V=(_0x367a47,_0x2a28d0)=>(_0x5b4b86,_0x5ac93c)=>_0x2a28d0(_0x5b4b86,_0x5ac93c,_0x367a47),ne=(_0xf3f08a=>(_0xf3f08a['Entered']=_0x153239(0x1a8),_0xf3f08a[_0x153239(0x200)]=_0x153239(0x2a2),_0xf3f08a[_0x153239(0x16b)]=_0x153239(0x221),_0xf3f08a))(ne||{}),T=(_0x50555b=>(_0x50555b[_0x153239(0x2aa)]=_0x153239(0x131),_0x50555b[_0x153239(0x1a5)]=_0x153239(0x2d2),_0x50555b[_0x153239(0x1c3)]='loaded',_0x50555b))(T||{});function _0x2508(){const _0x376776=['onSteady','1em','endColumn','back-icon','387042exNaMG','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','error','309azKufk','loading-multi-icon','Print','registerComponent','disposeUnit','rect','svg','function','append','cellValue','fill','View','PY_RUNTIME_SCRIPT_ERROR','add','params','hideMask','row','pluginName','UNIVER_DOC',':\x20(','current','loadMoreVersions','_versionDiffService','getConfig','univer-h-full\x20univer-overflow-auto\x20univer-border-t\x20univer-border-gray-200','currentSkeleton$','0\x200\x2016\x2016','defIds','flex','[HistoryFetchService]:\x20request\x20snapshot\x20error!','disposeWithMe','userId','_removeDiffMarks','USER_NOT_INVITED_CODE','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','value','LOGIN_FAILED','subUnitId','backgroundColor','/list?length=20','length','zIndex','_transformMutationByOrder','focusUnit','set','command','DeleteColumn','startRow','className','symbol','SelectProtectedCells','getOwnPropertyDescriptor','_status$','UNIVER_UNKNOWN','center','extend','unitId','color','createSheet','toISOString','status','_sheetSkeletonManagerService','_permissionService','currentVersion','YUUMI_ALL_TABLES_IS_INVALID','ZH_CN','YUUMI_SUBSCRIPTION_NOT_FOUND','Edit','CreateWorksheet','attrs','_initMaskContainer','getRelativeToViewportCoord','skeleton','editHistory.action.revertSheetSuffix','FromArray','_lastLabel','keys','executeCommand','string','getVersions','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','DeleteRow','LICENSE_MAX_UNITS_EXCEEDED','UNIVER_SLIDE','BackIcon','UNIVER_PROJECT','History','_lastPointer','getInterceptPoints','idSuffix','univerjs-icon\x20univerjs-icon-','getViewport','InsertColumn','UniverIcon','addSparkline','confirm-revert-revision','loadingState$','rule','_openPanel','ensureVersion','mask','sheetId','getCurrent','Copy','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','_members','range','code','UNRECOGNIZED','xlink:href','random','userID','_commandService','COMPRESS_MUTATION_APPLY','getHours','YUUMI_AI_RUN_FAILED','some','editHistory.action.revertSheetPrefix','assign','HideSheet','UNIVER_SHEET','Comment','name','fetchMissingChangesets','_renderManagerService','APPLY_REVISION_CONFILICT','_initRender','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','exited','RenameWorksheet','rgba(58,\x2096,\x20247,\x200.20)','_initPanel','flat','createUnit','getUnitId','TOO_MANY_REQUESTS','Init','_historyContainerId','evenodd','isArray','_confirmService','YUUMI_URL_COL_OUT_OF_RANGE','clipPath','entries','user','currentVersionDiff$','_httpService','editHistory.panel.revertDesc','YUUMI_ASYNCIO_CANCELLED','_hasMore','primary','getCurrentLocale','_versions$','history-panel','_createMask','HEADER','all','now','SNAPSHOT_INVALID_SNAPSHOT','DeleteWorksheet','editHistory.panel.listFetchError','_updateDiffMarks','asObservable','_revertRevision$','NOT_FOUND','apply','ViemRwHgtClWdt','displayName','APPLY_NON_SEQUENTIAL_REVISION','editHistory.panel.revertConfirm','changesets','historyListServerUrl','univer-ml-2.5\x20univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20hover:univer-bg-[rgba(30,34,43,0.06)]','1000','forEach','5838530MwQFJy','loading','InsertRow','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','Info','endRevision','defs','endRev','triggerLoadSheet','ranges','width','span','push','versions$','getElementById','users','permissionPointUpdate$','_diffs','CHANGESET_REVISION_CONFILICT','editSheet','APPLY_DUPLICATED','show','init','UNDEFINED','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-pl-5\x20univer-text-sm\x20univer-font-medium\x20univer-text-[#1e222b]','onStarting','createElement','setFrozen','endRow','canRevert','top','div','propertyIsEnumerable','&lastLabel=','_config','54bvhRjY','substring','has','prototype','2624128zbEbXg','restore-icon_clip0_1247_2','loadingState','colorChannel1','RestoreIcon','editHistory.action.','_injector','SNAPSHOT_HAS_BEEN_REMOVED','editHistory.info.loading','CONNECTOR_DATA_TOO_LARGE','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','http://www.w3.org/2000/svg','restore-icon','values','get','left','loadSheet','children','removeSheet','reduce','recoverTime','ViewHistory','setState','Duplicate','Delete','_initActiveSwitch','InsertHyperlink','53764qpYHKg','pipe','blockMeta','_canRevert','time','_workbookDataCache','hasCommand','_combineRanges','MoveSheet','_sidebarDisposable','Today','split','concat','triggerRevert','Error','open','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','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','indexOf','100%','FloatImg','style','MOBILE_HAS_BEEN_BOUND','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','parse','updatePermissionPoint','_createUnit','RecoverHistory','LICENSE_EXPORT_SIZE_EXCEEDED','versions','INVITE_CODE_HAS_BEEN_UES','MOBILE_VERIFY_CODE_MISMATCH','YUUMI_RATE_OVER_LIMIT','990752UzJbjb','ViewFilter','padStart','PivotTable','_historyFetchService','mutations','_diffRangesMap','data','_configService','filter','_uiPartsService','m1Prime','rgba(225,\x20225,\x20225,\x200.5)','onPointerMove$','hasOwnProperty','ManageCollaborator','_extractRanges','editHistory.panel.cancel','_getAPIPrefix','stopPropagation','transformMutations','body','_init','editHistory.header.revert','bottom','.univer-app-container-content','SetCellValue','getDialogs$','Export','_maskElement','call','_currentVersion$','unitId$','querySelector','setValue','_univerInstanceService','APPLY_REJECT','_messageService','editHistory.action.etc','Loading','_compressMutationService','workbook','entered','createTime','entities','fetchThroughInterceptors','position','EMAIL_VERIFY_CODE_MISMATCH','column','_sidebarService','DeleteSheet','date','INTERNAL_ERROR','defineProperty','none','LoadingMultiIcon','display','SetCellStyle','29379258GKPfgR','univer-animate-spin','_context','_historyManagerService','getMinutes','#0B9EFB','INVALID_ARGUMENT','RwHgtClWdt','white','addProtection','univer-m-auto\x20univer-animate-spin','Loaded','SetColumnStyle','icon','setConfig','EMAIL_HAS_BEEN_BOUND','SetRowStyle','_maskContainer','YUUMI_CONNECTOR_URL_NOT_FOUND','setDV','INVITE_CODE_ALREADY_BOUND','clear','_updateVersions','Sort','APPLY_PERMISSION_DENIED','_getRangesByMutation','startColumn','syncExecuteCommand','dateString','showMask','getVersion','_unitId$','block','onMouseMove','_getActiveSubUnitId','includes','Share','_fetching','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','subscribe','getMember','_dialogOptions$','_componentManager','editHistory.panel.unknownUser','YUUMI_TABLE_NOT_FOUND_IN_UNIT','url(#$1','ALREADY_EXISTS','getCellPositionByOffset','Filter','action','CreatePermissionObject','history-mask','loaded','find','editHistory.panel.currentVersion','tag','INVALID_INVITE_CODE','triggerLoadVersions','_localeService','revertSheet','active','YUUMI_NO_CUBOID_FOR_QUESTION','subType','path','CopySheet','SetWorksheetStyle','MoveWorksheet','deleteProtection','from','getOwnPropertySymbols','INVITE_CODE_REQUIRED','RenameSheet','Exited','editHistory.panel.title','rules','insertSheet','SelectUnProtectedCells','WECHAT_HAS_BEEN_BOUND','VIEW_MAIN','_transformService','_loadingState$','dispose','LICENSE_IMPORT_SIZE_EXCEEDED','next','interceptor','_cellEditorManagerService','edit-history-viewer.config','LICENSE_DISTRO_REJECTED','map','blocks','COMPLETION_FINISHED','_currentVersionDiff$','commands','_snapshotServerService','HideWorksheet','EditExtraObject','memberId','currentVersion$','926920bUSqKd'];_0x2508=function(){return _0x376776;};return _0x2508();}const fs='VIRTUAL_VERSION_NOW';let E=class extends _0x3f3ea2{constructor(_0x5030c7,_0x3db439,_0x2d94a3,_0x3e8371){const _0x4d7e53=_0x153239;super(),l(this,'_versions$',new _0x2108dd([])),l(this,_0x4d7e53(0x128),this[_0x4d7e53(0x2ba)]['asObservable']()),l(this,_0x4d7e53(0x19d),new _0x2108dd('')),l(this,_0x4d7e53(0x219),this[_0x4d7e53(0x19d)][_0x4d7e53(0x2c4)]()),l(this,_0x4d7e53(0x256),new _0x2108dd(_0x4d7e53(0x1a8))),l(this,'status$',this['_status$'][_0x4d7e53(0x2c4)]()),l(this,_0x4d7e53(0x2c5),new _0x2108dd(0x0)),l(this,'revertRevision$',this[_0x4d7e53(0x2c5)][_0x4d7e53(0x2c4)]()),l(this,_0x4d7e53(0x1d7),new _0x2108dd('')),l(this,_0x4d7e53(0x19e),this[_0x4d7e53(0x1d7)][_0x4d7e53(0x2c4)]()),l(this,_0x4d7e53(0x1dd),!0x1),l(this,_0x4d7e53(0x208),new _0x2108dd('init')),l(this,'loadingState$',this[_0x4d7e53(0x208)][_0x4d7e53(0x2c4)]()),l(this,'_lastLabel',null),l(this,_0x4d7e53(0x2b7),!0x0),l(this,'_members',new Map()),l(this,_0x4d7e53(0x2ab)),l(this,'_maskContainer'),l(this,_0x4d7e53(0x19b)),l(this,_0x4d7e53(0x160),!0x1),(this[_0x4d7e53(0x1a3)]=_0x5030c7,this[_0x4d7e53(0x2ae)]=_0x3db439,this[_0x4d7e53(0x1f2)]=_0x2d94a3,this[_0x4d7e53(0x182)]=_0x3e8371);}async[_0x153239(0x1f1)](_0x2a3da3,_0x4c4b3f,_0x3f628c){const _0x4ebb74=_0x153239;this[_0x4ebb74(0x2ab)]=_0x4c4b3f,this[_0x4ebb74(0x160)]=_0x3f628c,this[_0x4ebb74(0x1d7)][_0x4ebb74(0x20b)](_0x2a3da3),this[_0x4ebb74(0x1dd)]=!0x0;const _0x59cd9a=await this[_0x4ebb74(0x182)][_0x4ebb74(0x271)](_0x2a3da3);if(this['_fetching']=!0x1,_0x59cd9a){const {versions:_0x1f7e0a,lastLabel:_0x30b414,hasMore:_0x53a4a3,members:_0x2ddd65}=_0x59cd9a;_0x1f7e0a[_0x4ebb74(0x24a)]===0x0&&_0x1f7e0a['push']({'unitId':_0x2a3da3,'id':fs,'startRev':0x1,'endRev':0x0,'time':Date[_0x4ebb74(0x2bf)](),'user':this[_0x4ebb74(0x1f2)]['t']('editHistory.panel.currentUser'),'commands':[],'isAnonymous':!0x1}),this[_0x4ebb74(0x1ce)](_0x1f7e0a,_0x53a4a3,_0x30b414,_0x2ddd65),this[_0x4ebb74(0x19d)][_0x4ebb74(0x20b)](_0x1f7e0a[0x0]['id']);}else this[_0x4ebb74(0x256)][_0x4ebb74(0x20b)]('error');}async[_0x153239(0x237)](){const _0x1a069e=_0x153239;if(!this['_lastLabel']||!this[_0x1a069e(0x2b7)]||this['_fetching'])return!0x1;this['_fetching']=!0x0;const _0x2f434f=await this['_historyFetchService'][_0x1a069e(0x271)](this[_0x1a069e(0x25a)],this['_lastLabel']);if(this['_fetching']=!0x1,_0x2f434f){const {versions:_0x3fa8d2,lastLabel:_0x49dddf,hasMore:_0xbcab63,members:_0x265509}=_0x2f434f;this['_updateVersions'](_0x3fa8d2,_0xbcab63,_0x49dddf,_0x265509);}else this['_messageService'][_0x1a069e(0x130)]({'content':this['_localeService']['t'](_0x1a069e(0x2c2)),'type':_0x1c8e28[_0x1a069e(0x16b)],'duration':0xbb8});return!0x0;}async[_0x153239(0x2d9)](_0x31c037){const _0x2eac10=_0x153239;var _0x2bd01c;const _0xb20806=(_0x2bd01c=this[_0x2eac10(0x2ba)][_0x2eac10(0x245)])==null?void 0x0:_0x2bd01c[_0x2eac10(0x1ed)](_0x3b8fac=>_0x3b8fac['id']===_0x31c037),{endRev:_0x2a44a8}=_0xb20806||{};_0x2a44a8||_0x2a44a8===0x0?(this['_loadingState$'][_0x2eac10(0x20b)](_0x2eac10(0x2d2)),await this[_0x2eac10(0x182)][_0x2eac10(0x152)](this[_0x2eac10(0x25a)],_0x2a44a8),this[_0x2eac10(0x208)][_0x2eac10(0x20b)](_0x2eac10(0x1ec))):this[_0x2eac10(0x256)][_0x2eac10(0x20b)](_0x2eac10(0x221));}async[_0x153239(0x16a)](_0x13400a){const _0xba058e=_0x153239,_0x3064ea=_0x13400a?this[_0xba058e(0x1d6)](_0x13400a):this['getCurrentVersion']();if(!_0x3064ea)return;const _0x18d79e=_0x3064ea[_0xba058e(0x2d8)],_0x2e4e96=re(_0x3064ea['time'],this[_0xba058e(0x1f2)]['getCurrentLocale']());await this[_0xba058e(0x2ae)]['confirm']({'id':_0xba058e(0x281),'title':{'title':this[_0xba058e(0x1f2)]['t'](_0xba058e(0x2cb))},'children':{'title':this['_localeService']['t']('editHistory.panel.revertConfirmText')+_0xba058e(0x235)+_0x2e4e96[_0xba058e(0x1b1)]+'\x20'+_0x2e4e96['time']+')'},'cancelText':this['_localeService']['t'](_0xba058e(0x18f)),'confirmText':this[_0xba058e(0x1f2)]['t']('editHistory.panel.confirm')})&&this[_0xba058e(0x2c5)]['next'](_0x18d79e);}[_0x153239(0x1ce)](_0x4672f4,_0x3e924a,_0x11ba24,_0x37ffb5){const _0x374618=_0x153239;this[_0x374618(0x2ba)]['next'](this[_0x374618(0x2ba)][_0x374618(0x245)][_0x374618(0x169)](_0x4672f4)),this['_hasMore']=_0x3e924a,this[_0x374618(0x26d)]=_0x11ba24,_0x37ffb5&&Object[_0x374618(0x26e)](_0x37ffb5)[_0x374618(0x2d0)](_0x7fc517=>this['_members']['set'](_0x7fc517,_0x37ffb5[_0x7fc517]));}['getCurrentVersion'](){const _0xd9fd4c=_0x153239;return this[_0xd9fd4c(0x1d6)](this['_currentVersion$']['value']);}[_0x153239(0x1d6)](_0x2d829a){const _0x40c8a3=_0x153239;var _0x5dee1a;return(_0x5dee1a=this['_versions$']['value'])==null?void 0x0:_0x5dee1a[_0x40c8a3(0x1ed)](_0x550039=>_0x550039['id']===_0x2d829a);}['getMember'](_0x4929bf){const _0x3ccb6d=_0x153239;return this[_0x3ccb6d(0x28b)][_0x3ccb6d(0x150)](_0x4929bf);}[_0x153239(0x2bc)](){const _0x1c9dd9=_0x153239;this[_0x1c9dd9(0x19b)]=document[_0x1c9dd9(0x135)]('div'),this['_maskElement']['className']=_0x1c9dd9(0x1eb),this[_0x1c9dd9(0x19b)][_0x1c9dd9(0x172)][_0x1c9dd9(0x1ac)]='absolute',this[_0x1c9dd9(0x19b)]['style'][_0x1c9dd9(0x139)]='0',this[_0x1c9dd9(0x19b)][_0x1c9dd9(0x172)][_0x1c9dd9(0x151)]='0',this[_0x1c9dd9(0x19b)][_0x1c9dd9(0x172)][_0x1c9dd9(0x2db)]=_0x1c9dd9(0x170),this[_0x1c9dd9(0x19b)]['style']['height']=_0x1c9dd9(0x170),this['_maskElement']['style'][_0x1c9dd9(0x248)]=_0x1c9dd9(0x18a),this[_0x1c9dd9(0x19b)][_0x1c9dd9(0x172)][_0x1c9dd9(0x25b)]=_0x1c9dd9(0x1c0),this[_0x1c9dd9(0x19b)][_0x1c9dd9(0x172)][_0x1c9dd9(0x1b6)]=_0x1c9dd9(0x23e),this[_0x1c9dd9(0x19b)][_0x1c9dd9(0x172)]['justifyContent']=_0x1c9dd9(0x258),this['_maskElement'][_0x1c9dd9(0x172)][_0x1c9dd9(0x24b)]=_0x1c9dd9(0x2cf),this[_0x1c9dd9(0x19b)][_0x1c9dd9(0x172)][_0x1c9dd9(0x1b6)]=_0x1c9dd9(0x1b4),this[_0x1c9dd9(0x1c9)][_0x1c9dd9(0x22a)](this[_0x1c9dd9(0x19b)]);}[_0x153239(0x268)](){const _0x4b9089=_0x153239;var _0x456904;const _0x939802=(_0x456904=document[_0x4b9089(0x129)](this['_historyContainerId']))==null?void 0x0:_0x456904[_0x4b9089(0x19f)](_0x4b9089(0x197));_0x939802&&(this[_0x4b9089(0x1c9)]=_0x939802,this[_0x4b9089(0x2bc)]());}[_0x153239(0x1d5)](){const _0x24aed0=_0x153239;this[_0x24aed0(0x1c9)]||this[_0x24aed0(0x268)](),this[_0x24aed0(0x19b)]&&(this['_maskElement'][_0x24aed0(0x172)][_0x24aed0(0x1b6)]=_0x24aed0(0x23e));}[_0x153239(0x231)](){const _0x381f0e=_0x153239;this[_0x381f0e(0x19b)]&&(this[_0x381f0e(0x19b)][_0x381f0e(0x172)][_0x381f0e(0x1b6)]=_0x381f0e(0x1b4));}set[_0x153239(0x25e)](_0x4a4715){const _0x32286f=_0x153239;this[_0x32286f(0x256)]['next'](_0x4a4715);}set[_0x153239(0x261)](_0x185798){const _0x120162=_0x153239;_0x185798!==this[_0x120162(0x19d)][_0x120162(0x245)]&&this[_0x120162(0x19d)]['next'](_0x185798);}get[_0x153239(0x261)](){const _0x3577c5=_0x153239;return this[_0x3577c5(0x19d)][_0x3577c5(0x245)];}set['unitId'](_0x554502){const _0xceeef8=_0x153239;this[_0xceeef8(0x1d7)][_0xceeef8(0x20b)](_0x554502);}get[_0x153239(0x25a)](){const _0x26575c=_0x153239;return this[_0x26575c(0x1d7)]['value'];}get[_0x153239(0x138)](){const _0xb6329a=_0x153239;return this[_0xb6329a(0x160)];}get[_0x153239(0x144)](){return this['_loadingState$']['value'];}};E=vs([V(0x0,_0x437997),V(0x1,_0x44ae04),V(0x2,_0xec2d2(_0x4b5be2)),V(0x3,_0xec2d2(Y))],E);var g=function(){const _0xf6310c=_0x153239;return g=Object[_0xf6310c(0x298)]||function(_0x4d0042){const _0x3c23dd=_0xf6310c;for(var _0x51b047,_0x4907b1=0x1,_0x5cdf11=arguments[_0x3c23dd(0x24a)];_0x4907b1<_0x5cdf11;_0x4907b1++){_0x51b047=arguments[_0x4907b1];for(var _0x5357d8 in _0x51b047)Object[_0x3c23dd(0x141)][_0x3c23dd(0x18c)][_0x3c23dd(0x19c)](_0x51b047,_0x5357d8)&&(_0x4d0042[_0x5357d8]=_0x51b047[_0x5357d8]);}return _0x4d0042;},g[_0xf6310c(0x2c7)](this,arguments);},ms=function(_0x59dc5e,_0x20c4f4){const _0x5bc4e0=_0x153239;var _0x3e2f68={};for(var _0x3a1348 in _0x59dc5e)Object['prototype']['hasOwnProperty'][_0x5bc4e0(0x19c)](_0x59dc5e,_0x3a1348)&&_0x20c4f4['indexOf'](_0x3a1348)<0x0&&(_0x3e2f68[_0x3a1348]=_0x59dc5e[_0x3a1348]);if(_0x59dc5e!=null&&typeof Object['getOwnPropertySymbols']==_0x5bc4e0(0x229)){for(var _0x1a933f=0x0,_0x3a1348=Object[_0x5bc4e0(0x1fd)](_0x59dc5e);_0x1a933f<_0x3a1348[_0x5bc4e0(0x24a)];_0x1a933f++)_0x20c4f4[_0x5bc4e0(0x16f)](_0x3a1348[_0x1a933f])<0x0&&Object[_0x5bc4e0(0x141)][_0x5bc4e0(0x13b)]['call'](_0x59dc5e,_0x3a1348[_0x1a933f])&&(_0x3e2f68[_0x3a1348[_0x1a933f]]=_0x59dc5e[_0x3a1348[_0x1a933f]]);}return _0x3e2f68;},G=_0x49fb22(function(_0x26362f,_0x177b00){const _0x40d549=_0x153239;var _0x589d7d=_0x26362f[_0x40d549(0x1c5)],_0x53f8e4=_0x26362f['id'],_0xee3df8=_0x26362f[_0x40d549(0x252)],_0x3a1f65=_0x26362f[_0x40d549(0x259)],_0x1ae1c7=ms(_0x26362f,[_0x40d549(0x1c5),'id','className','extend']),_0x5abad6=_0x40d549(0x27c)[_0x40d549(0x169)](_0x53f8e4,'\x20')[_0x40d549(0x169)](_0xee3df8||'')['trim'](),_0x386b06=_0x5441e2('_'[_0x40d549(0x169)](gs()));return Pe(_0x589d7d,''[_0x40d549(0x169)](_0x53f8e4),{'defIds':_0x589d7d[_0x40d549(0x23d)],'idSuffix':_0x386b06[_0x40d549(0x236)]},g({'ref':_0x177b00,'className':_0x5abad6},_0x1ae1c7),_0x3a1f65);});function Pe(_0x5a00c0,_0x30a8f1,_0x59ce77,_0x254193,_0x2d6399){const _0x4b2bf8=_0x153239;return _0x57eb9b(_0x5a00c0[_0x4b2bf8(0x1ef)],g(g({'key':_0x30a8f1},Is(_0x5a00c0,_0x59ce77,_0x2d6399)),_0x254193),(Ss(_0x5a00c0,_0x59ce77)[_0x4b2bf8(0x153)]||[])[_0x4b2bf8(0x210)](function(_0x389d81,_0xd66610){const _0x271129=_0x4b2bf8;return Pe(_0x389d81,''[_0x271129(0x169)](_0x30a8f1,'-')[_0x271129(0x169)](_0x5a00c0[_0x271129(0x1ef)],'-')[_0x271129(0x169)](_0xd66610),_0x59ce77,void 0x0,_0x2d6399);}));}function Is(_0x5d2bde,_0x377a9a,_0xb0b20){const _0x315db1=_0x153239;var _0x390d3c=g({},_0x5d2bde[_0x315db1(0x267)]);_0xb0b20!=null&&_0xb0b20[_0x315db1(0x145)]&&_0x390d3c[_0x315db1(0x22c)]===_0x315db1(0x145)&&(_0x390d3c[_0x315db1(0x22c)]=_0xb0b20[_0x315db1(0x145)]),_0x5d2bde[_0x315db1(0x1ef)]==='mask'&&_0x390d3c['id']&&(_0x390d3c['id']=_0x390d3c['id']+_0x377a9a[_0x315db1(0x27b)]),Object[_0x315db1(0x2b1)](_0x390d3c)[_0x315db1(0x2d0)](function(_0x52cb78){const _0x342be0=_0x315db1;var _0x550781=_0x52cb78[0x0],_0x1a37bc=_0x52cb78[0x1];_0x550781===_0x342be0(0x286)&&typeof _0x1a37bc==_0x342be0(0x270)&&(_0x390d3c[_0x550781]=_0x1a37bc['replace'](/url\(#(.*)\)/,_0x342be0(0x1e5)[_0x342be0(0x169)](_0x377a9a[_0x342be0(0x27b)],')')));});var _0x368bc8=_0x377a9a['defIds'];return!_0x368bc8||_0x368bc8[_0x315db1(0x24a)]===0x0||(_0x5d2bde['tag']==='use'&&_0x390d3c[_0x315db1(0x28f)]&&(_0x390d3c['xlink:href']=_0x390d3c[_0x315db1(0x28f)]+_0x377a9a[_0x315db1(0x27b)]),Object['entries'](_0x390d3c)['forEach'](function(_0x21c348){const _0x2c4a53=_0x315db1;var _0xe06439=_0x21c348[0x0],_0x6d1147=_0x21c348[0x1];typeof _0x6d1147==_0x2c4a53(0x270)&&(_0x390d3c[_0xe06439]=_0x6d1147['replace'](/url\(#(.*)\)/,_0x2c4a53(0x1e5)[_0x2c4a53(0x169)](_0x377a9a[_0x2c4a53(0x27b)],')')));})),_0x390d3c;}function Ss(_0x286954,_0x352fa9){const _0x21f274=_0x153239;var _0x1cbc4a,_0x459316=_0x352fa9[_0x21f274(0x23d)];return!_0x459316||_0x459316[_0x21f274(0x24a)]===0x0?_0x286954:_0x286954['tag']===_0x21f274(0x2d7)&&(!((_0x1cbc4a=_0x286954[_0x21f274(0x153)])===null||_0x1cbc4a===void 0x0)&&_0x1cbc4a[_0x21f274(0x24a)])?g(g({},_0x286954),{'children':_0x286954[_0x21f274(0x153)]['map'](function(_0x14e385){const _0x455e63=_0x21f274;return typeof _0x14e385[_0x455e63(0x267)]['id']==_0x455e63(0x270)&&_0x459316&&_0x459316[_0x455e63(0x1db)](_0x14e385[_0x455e63(0x267)]['id'])?g(g({},_0x14e385),{'attrs':g(g({},_0x14e385[_0x455e63(0x267)]),{'id':_0x14e385[_0x455e63(0x267)]['id']+_0x352fa9['idSuffix']})}):_0x14e385;})}):_0x286954;}function gs(){const _0x2cbd2f=_0x153239;return Math[_0x2cbd2f(0x290)]()['toString'](0x24)[_0x2cbd2f(0x13f)](0x2,0x8);}G[_0x153239(0x2c9)]=_0x153239(0x27f);var ps={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x153239(0x1b4),'viewBox':_0x153239(0x23c),'width':'1em','height':'1em'},'children':[{'tag':_0x153239(0x1f7),'attrs':{'fill':'currentColor','d':_0x153239(0x16e)}}]},Te=_0x49fb22(function(_0x5841d3,_0x470d51){const _0x7274f2=_0x153239;return _0x57eb9b(G,Object['assign']({},_0x5841d3,{'id':_0x7274f2(0x21e),'ref':_0x470d51,'icon':ps}));});Te[_0x153239(0x2c9)]=_0x153239(0x276);var Es={'tag':_0x153239(0x228),'attrs':{'xmlns':_0x153239(0x14d),'fill':_0x153239(0x1b4),'viewBox':_0x153239(0x23c),'width':_0x153239(0x21c),'height':'1em'},'children':[{'tag':_0x153239(0x1f7),'attrs':{'fill':'#0B9EFB','d':_0x153239(0x174),'fillOpacity':0.2,'fillRule':_0x153239(0x2ac),'clipRule':'evenodd'}},{'tag':_0x153239(0x1f7),'attrs':{'fill':_0x153239(0x1bd),'d':'M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','fillRule':_0x153239(0x2ac),'clipRule':'evenodd'}}]},ae=_0x49fb22(function(_0x4aebab,_0xaef161){const _0x56ab72=_0x153239;return _0x57eb9b(G,Object[_0x56ab72(0x298)]({},_0x4aebab,{'id':_0x56ab72(0x223),'ref':_0xaef161,'icon':Es}));});ae[_0x153239(0x2c9)]=_0x153239(0x1b5);var Rs={'tag':_0x153239(0x228),'attrs':{'xmlns':_0x153239(0x14d),'fill':_0x153239(0x1b4),'viewBox':'0\x200\x2016\x2017','width':'1em','height':_0x153239(0x21c)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':'url(#restore-icon_clip0_1247_2)'},'children':[{'tag':_0x153239(0x1f7),'attrs':{'d':_0x153239(0x28a)}},{'tag':'path','attrs':{'d':_0x153239(0x16d),'fillRule':_0x153239(0x2ac),'clipRule':'evenodd'}}]},{'tag':_0x153239(0x2d7),'attrs':{},'children':[{'tag':_0x153239(0x2b0),'attrs':{'id':'restore-icon_clip0_1247_2'},'children':[{'tag':_0x153239(0x227),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x153239(0x1c0),'rx':0x4}}]}]}],'defIds':[_0x153239(0x143)]},Le=_0x49fb22(function(_0x23923b,_0x429d52){const _0x1e52bf=_0x153239;return _0x57eb9b(G,Object[_0x1e52bf(0x298)]({},_0x23923b,{'id':_0x1e52bf(0x14e),'ref':_0x429d52,'icon':Rs}));});Le['displayName']=_0x153239(0x146);function Os(){const _0x3487c6=_0x153239;var _0x1290fd;const _0x26538d=_0x2ef851(E),_0x268a45=_0x2ef851(_0x4b5be2),_0x5dd46e=_0x596c8b(()=>{const _0x59617c=_0x595a;_0x26538d['status']=ne[_0x59617c(0x200)];},[_0x26538d]),_0x1f0970=_0x596c8b(()=>{const _0x2b4562=_0x595a;_0x26538d[_0x2b4562(0x16a)]();},[_0x26538d]),_0x2f5d10=_0x2e2564(_0x26538d[_0x3487c6(0x219)]),_0x4753ee=_0x2e2564(_0x26538d['versions$']),_0x43b36e=_0x2f5d10===((_0x1290fd=_0x4753ee==null?void 0x0:_0x4753ee[0x0])==null?void 0x0:_0x1290fd['id']),_0x3ad6f8=_0x2f5d10!==''&&!_0x43b36e&&_0x26538d[_0x3487c6(0x138)];return _0x443960(_0x3487c6(0x13a),{'className':_0x356a9e(_0x3487c6(0x2a1),_0x152b6a),'children':[_0x41308f(_0x3487c6(0x13a),{'onClick':_0x5dd46e,'className':_0x3487c6(0x2ce),'children':_0x41308f(Te,{'className':'univer-text-2xl'})}),_0x41308f(_0x3487c6(0x13a),{'className':_0x3487c6(0x220),'children':_0x3ad6f8&&_0x41308f(_0x10a181,{'variant':_0x3487c6(0x2b8),'onClick':_0x1f0970,'children':_0x268a45['t'](_0x3487c6(0x195))})})]});}var Ms=Object[_0x153239(0x255)],Ns=(_0x4ef0c2,_0x48b6d2,_0x4853cb,_0x210ec2)=>{const _0x54e030=_0x153239;for(var _0x298f9e=_0x210ec2>0x1?void 0x0:_0x210ec2?Ms(_0x48b6d2,_0x4853cb):_0x48b6d2,_0x377a1f=_0x4ef0c2[_0x54e030(0x24a)]-0x1,_0x2ab6b6;_0x377a1f>=0x0;_0x377a1f--)(_0x2ab6b6=_0x4ef0c2[_0x377a1f])&&(_0x298f9e=_0x2ab6b6(_0x298f9e)||_0x298f9e);return _0x298f9e;},y=(_0x698a39,_0x273a18)=>(_0x36de35,_0x2f901a)=>_0x273a18(_0x36de35,_0x2f901a,_0x698a39);let B=class extends _0x3f3ea2{constructor(_0x296930,_0x54e588,_0x224411,_0x562012,_0x218cec,_0x3ad0c7){const _0x3a69bf=_0x153239;super(),this['_permissionService']=_0x296930,this['_uiPartsService']=_0x54e588,this[_0x3a69bf(0x1a3)]=_0x224411,this[_0x3a69bf(0x1f2)]=_0x562012,this[_0x3a69bf(0x1bb)]=_0x218cec,this['_injector']=_0x3ad0c7,this[_0x3a69bf(0x194)]();}[_0x153239(0x194)](){const _0x5b34bb=_0x153239;this[_0x5b34bb(0x240)](this[_0x5b34bb(0x1bb)][_0x5b34bb(0x219)][_0x5b34bb(0x1df)](_0x467610=>{const _0x5b6fe6=_0x5b34bb;_0x467610&&this[_0x5b6fe6(0x1bb)][_0x5b6fe6(0x2d9)](_0x467610);})),this['disposeWithMe'](this[_0x5b34bb(0x260)][_0x5b34bb(0x12b)][_0x5b34bb(0x1df)](_0x411abf=>{const _0x5accb0=_0x5b34bb,_0x1badde=this[_0x5accb0(0x1bb)][_0x5accb0(0x25a)];_0x1badde&&(_0x411abf[_0x5accb0(0x1f6)]===b[_0x5accb0(0x265)]&&_0x411abf[_0x5accb0(0x245)]===!0x0&&this[_0x5accb0(0x260)]['updatePermissionPoint'](new _0x25b07(_0x1badde)['id'],!0x1),_0x411abf[_0x5accb0(0x1f6)]===b['RenameSheet']&&_0x411abf[_0x5accb0(0x245)]===!0x0&&this['_permissionService'][_0x5accb0(0x176)](new _0x2c8499(_0x1badde)['id'],!0x1),_0x411abf[_0x5accb0(0x1f6)]===b[_0x5accb0(0x165)]&&_0x411abf['value']===!0x0&&this[_0x5accb0(0x260)][_0x5accb0(0x176)](new _0x1b1504(_0x1badde)['id'],!0x1),_0x411abf[_0x5accb0(0x1f6)]===b[_0x5accb0(0x299)]&&_0x411abf[_0x5accb0(0x245)]===!0x0&&this[_0x5accb0(0x260)]['updatePermissionPoint'](new _0x1e555a(_0x1badde)['id'],!0x1),_0x411abf[_0x5accb0(0x1f6)]===b[_0x5accb0(0x29b)]&&_0x411abf[_0x5accb0(0x245)]===!0x0&&this[_0x5accb0(0x260)][_0x5accb0(0x176)](new _0x25b07(_0x1badde)['id'],!0x1),_0x411abf[_0x5accb0(0x1f6)]===b[_0x5accb0(0x171)]&&_0x411abf[_0x5accb0(0x245)]===!0x0&&this[_0x5accb0(0x260)][_0x5accb0(0x176)](new _0x25b07(_0x1badde)['id'],!0x1));})),this[_0x5b34bb(0x240)](this[_0x5b34bb(0x188)][_0x5b34bb(0x225)](_0x451448[_0x5b34bb(0x2bd)],()=>_0x141671(Os,this[_0x5b34bb(0x148)]))),this[_0x5b34bb(0x240)](this['_historyManagerService'][_0x5b34bb(0x282)][_0x5b34bb(0x1df)](_0x4b52e7=>{const _0x425ddc=_0x5b34bb;_0x4b52e7===T['Loading']&&(this['_historyManagerService'][_0x425ddc(0x1d5)](),this[_0x425ddc(0x1a3)][_0x425ddc(0x130)]({'type':_0x1c8e28[_0x425ddc(0x2d5)],'content':this[_0x425ddc(0x1f2)]['t'](_0x425ddc(0x14a))})),_0x4b52e7===T[_0x425ddc(0x1c3)]&&this[_0x425ddc(0x1bb)][_0x425ddc(0x231)]();}));}};B=Ns([y(0x0,_0xc26bc2),y(0x1,_0x2a1036),y(0x2,_0x437997),y(0x3,_0xec2d2(_0x4b5be2)),y(0x4,_0xec2d2(E)),y(0x5,_0xec2d2(_0x1c09ab))],B);var bs=Object[_0x153239(0x255)],Ds=(_0x2c83ea,_0xcce37f,_0x3f97d5,_0x54d67e)=>{for(var _0x4e0c3a=_0x54d67e>0x1?void 0x0:_0x54d67e?bs(_0xcce37f,_0x3f97d5):_0xcce37f,_0x270031=_0x2c83ea['length']-0x1,_0x714b68;_0x270031>=0x0;_0x270031--)(_0x714b68=_0x2c83ea[_0x270031])&&(_0x4e0c3a=_0x714b68(_0x4e0c3a)||_0x4e0c3a);return _0x4e0c3a;},Q=(_0x40971a,_0x14b179)=>(_0x534486,_0x8df0eb)=>_0x14b179(_0x534486,_0x8df0eb,_0x40971a);let $=class extends _0x3f3ea2{constructor(_0x56cc81,_0x2b087e,_0x1db4a2){const _0x358ecb=_0x153239;super(),l(this,_0x358ecb(0x184),new Map()),l(this,_0x358ecb(0x213),new _0x2108dd({'ranges':new Map(),'active':null})),l(this,_0x358ecb(0x2b3),this['_currentVersionDiff$'][_0x358ecb(0x2c4)]()),(this['_historyManagerService']=_0x56cc81,this[_0x358ecb(0x207)]=_0x2b087e,this[_0x358ecb(0x215)]=_0x1db4a2,this[_0x358ecb(0x194)]());}[_0x153239(0x194)](){const _0x3938e9=_0x153239;this[_0x3938e9(0x184)]=new Map(),this[_0x3938e9(0x240)](this[_0x3938e9(0x1bb)][_0x3938e9(0x19e)][_0x3938e9(0x1df)](_0x70f69a=>{const _0x4b61fa=_0x3938e9;_0x70f69a&&!this[_0x4b61fa(0x184)][_0x4b61fa(0x140)](_0x70f69a)&&this[_0x4b61fa(0x184)][_0x4b61fa(0x24e)](_0x70f69a,new Map());})),this[_0x3938e9(0x240)](this[_0x3938e9(0x1bb)][_0x3938e9(0x219)][_0x3938e9(0x1df)](async _0x20bbc0=>{const _0x48fe2c=_0x3938e9;var _0x5d5a4f;_0x20bbc0&&(await this[_0x48fe2c(0x285)](_0x20bbc0),this[_0x48fe2c(0x213)][_0x48fe2c(0x20b)](((_0x5d5a4f=this[_0x48fe2c(0x184)][_0x48fe2c(0x150)](this[_0x48fe2c(0x1bb)]['unitId']))==null?void 0x0:_0x5d5a4f['get'](_0x20bbc0))||{'ranges':new Map(),'active':null}));}));}async[_0x153239(0x285)](_0x2c706d){const _0x72cad6=_0x153239;var _0x1e5a64,_0x3e5b24;const _0x188ca9=this['_historyManagerService'][_0x72cad6(0x1d6)](_0x2c706d),_0x29d2a4=this[_0x72cad6(0x1bb)][_0x72cad6(0x25a)];if(!_0x188ca9||!_0x29d2a4)return;const _0x497b16=this[_0x72cad6(0x184)][_0x72cad6(0x150)](_0x29d2a4);if(_0x497b16||this[_0x72cad6(0x184)][_0x72cad6(0x24e)](_0x29d2a4,new Map()),(_0x1e5a64=this[_0x72cad6(0x184)][_0x72cad6(0x150)](_0x29d2a4))!=null&&_0x1e5a64['has'](_0x188ca9['id']))return;const {startRev:_0x3c1643,endRev:_0xee67c}=_0x188ca9;if(_0x3c1643===0x1){_0x497b16[_0x72cad6(0x24e)](_0x188ca9['id'],{'ranges':new Map(),'active':null});return;}const _0x111d7a=_0x3c1643-0x1,_0x2b56e7=_0xee67c,_0x4ec16d=await this[_0x72cad6(0x215)][_0x72cad6(0x29d)]({},{'unitID':_0x29d2a4,'from':_0x111d7a,'to':_0x2b56e7,'type':F[_0x72cad6(0x29a)]});if(((_0x3e5b24=_0x4ec16d[_0x72cad6(0x221)])==null?void 0x0:_0x3e5b24[_0x72cad6(0x28d)])===X['OK']){const _0xb9105f=_0x4ec16d[_0x72cad6(0x2cc)][_0x72cad6(0x210)](_0x485b42)[_0x72cad6(0x210)](_0x15a07f=>_0x15a07f['mutations'][_0x72cad6(0x210)](_0x4f7aab=>({..._0x4f7aab,'params':{..._0x4f7aab[_0x72cad6(0x230)],'memberId':_0x15a07f[_0x72cad6(0x291)]}})))[_0x72cad6(0x2a6)](),_0x1ed096=this[_0x72cad6(0x24c)](_0xb9105f),_0x15a3ef=this[_0x72cad6(0x1da)](_0xb9105f),_0x1cf636=this[_0x72cad6(0x18e)](_0x1ed096);_0x497b16[_0x72cad6(0x24e)](_0x188ca9['id'],{'ranges':_0x1cf636,'active':_0x15a3ef});}}[_0x153239(0x24c)](_0x279f18){const _0x5182e9=_0x153239;let _0x562563=[];for(let _0x35840d=0x0;_0x35840d<_0x279f18[_0x5182e9(0x24a)];_0x35840d++){const _0x15b51c=_0x279f18[_0x35840d];if(_0x562563['push'](_0x15b51c),_0x35840d!==_0x279f18[_0x5182e9(0x24a)]-0x1){const _0x3eed0f=_0x279f18[_0x35840d+0x1],_0x4a0319=this[_0x5182e9(0x207)][_0x5182e9(0x192)](_0x562563,[_0x3eed0f]);_0x2f7c2b(_0x4a0319)?_0x562563=_0x4a0319[_0x5182e9(0x189)]:_0x562563=[];}}return _0x562563;}[_0x153239(0x1da)](_0x302776){const _0x36595f=_0x153239;let _0xf10d6a=[];return _0x302776['forEach'](_0x16f31a=>{const _0x1770d4=_0x595a;if(_0x16f31a['id']===_0x1fa960['id']){const _0x4c6d02=_0x16f31a[_0x1770d4(0x230)];_0xf10d6a['push'](_0x4c6d02['sheet']['id']);}else{if(_0x16f31a['id']===_0x9bc5c5['id']){const _0x92f7ae=_0x16f31a[_0x1770d4(0x230)];_0xf10d6a[_0x1770d4(0x24a)]>0x0&&(_0xf10d6a=_0xf10d6a[_0x1770d4(0x187)](_0x4fd7a9=>_0x4fd7a9!==_0x92f7ae['subUnitId']));}else{if(_0x16f31a['id']===_0x323102['id']){const _0x9f262b=_0x16f31a[_0x1770d4(0x230)];_0x9f262b['hidden']?_0xf10d6a=_0xf10d6a[_0x1770d4(0x187)](_0x23d81b=>_0x23d81b!==_0x9f262b['subUnitId']):_0xf10d6a[_0x1770d4(0x127)](_0x9f262b[_0x1770d4(0x247)]);}else{const _0xc4ae10=_0x16f31a[_0x1770d4(0x230)];_0xc4ae10[_0x1770d4(0x247)]&&_0xf10d6a[_0x1770d4(0x127)](_0xc4ae10[_0x1770d4(0x247)]);}}}}),_0xf10d6a[_0x36595f(0x24a)]>0x0?_0xf10d6a[_0xf10d6a['length']-0x1]:null;}[_0x153239(0x18e)](_0x4f5c45){const _0x334c23=_0x153239,_0x81006a=new Map();return _0x4f5c45[_0x334c23(0x2d0)](_0x5ca858=>{const _0x45f04c=_0x334c23;var _0x3915e7,_0x20fb07;const _0x2f9619=(_0x3915e7=_0x5ca858['params'])==null?void 0x0:_0x3915e7[_0x45f04c(0x218)];if(_0x2f9619){_0x81006a['has'](_0x2f9619)||_0x81006a[_0x45f04c(0x24e)](_0x2f9619,[]);const _0x332f73=this['_getRangesByMutation'](_0x5ca858);(_0x20fb07=_0x81006a[_0x45f04c(0x150)](_0x2f9619))==null||_0x20fb07[_0x45f04c(0x127)](..._0x332f73);}}),_0x81006a[_0x334c23(0x2d0)]((_0x5827ca,_0x1aeeb0)=>{const _0xfe9c3c=_0x334c23;_0x81006a['set'](_0x1aeeb0,this[_0xfe9c3c(0x164)](_0x5827ca));}),_0x81006a;}[_0x153239(0x1d1)](_0x2b56f0){const _0x2a5749=_0x153239;switch(_0x2b56f0['id']){case _0x551bf4['id']:{const _0x5e47d8=_0x2b56f0[_0x2a5749(0x230)];return _0x5e47d8[_0x2a5749(0x202)][_0x2a5749(0x210)](_0x5e4860=>_0x5e4860[_0x2a5749(0x2da)][_0x2a5749(0x210)](_0x32b54d=>({'range':_0x32b54d,'unitId':_0x5e47d8[_0x2a5749(0x25a)],'subUnitId':_0x5e47d8[_0x2a5749(0x247)]})))[_0x2a5749(0x2a6)]();}case _0x425881['id']:{const _0x27c0a3=_0x2b56f0['params'];return _0x27c0a3[_0x2a5749(0x2da)][_0x2a5749(0x210)](_0x2961c4=>({'range':_0x2961c4,'unitId':_0x27c0a3[_0x2a5749(0x25a)],'subUnitId':_0x27c0a3['subUnitId']}));}case _0xd0a2ce['id']:{const _0x3d8c87=_0x2b56f0['params'];return[{'range':_0x3d8c87[_0x2a5749(0x28c)],'unitId':_0x3d8c87['unitId'],'subUnitId':_0x3d8c87[_0x2a5749(0x247)]}];}case _0x35691f['id']:{const _0xc9a7e4=_0x2b56f0['params'];return[{'range':_0xc9a7e4[_0x2a5749(0x28c)],'unitId':_0xc9a7e4[_0x2a5749(0x25a)],'subUnitId':_0xc9a7e4[_0x2a5749(0x247)]}];}case _0x5621b3['id']:{const _0x228b3b=_0x2b56f0[_0x2a5749(0x230)],{from:_0x4e5597,to:_0x1d0f0a,unitId:_0x49a24b}=_0x228b3b;return[{'range':he(_0x4e5597[_0x2a5749(0x245)]),'unitId':_0x49a24b,'subUnitId':_0x4e5597[_0x2a5749(0x247)]},{'range':he(_0x1d0f0a[_0x2a5749(0x245)]),'unitId':_0x49a24b,'subUnitId':_0x1d0f0a[_0x2a5749(0x247)]}];}case _0x316f05['id']:{const _0x449289=_0x2b56f0[_0x2a5749(0x230)],{unitId:_0x2aefb6,subUnitId:_0x334b1d,sourceRange:_0x19b0ec,targetRange:_0x37bdb9}=_0x449289,_0x5d270a=_0x19b0ec['endRow']-_0x19b0ec['startRow']+0x1;return[{'range':_0x37bdb9[_0x2a5749(0x251)]<=_0x19b0ec['startRow']?_0x37bdb9:{..._0x37bdb9,'startRow':_0x37bdb9[_0x2a5749(0x251)]-_0x5d270a,'endRow':_0x37bdb9[_0x2a5749(0x137)]-_0x5d270a},'unitId':_0x2aefb6,'subUnitId':_0x334b1d}];}case _0x2fd0fe['id']:{const _0x45cef0=_0x2b56f0[_0x2a5749(0x230)],{unitId:_0x30bab,subUnitId:_0x4ba887,sourceRange:_0x187072,targetRange:_0x1ca2a3}=_0x45cef0,_0x272e16=_0x187072[_0x2a5749(0x21d)]-_0x187072[_0x2a5749(0x1d2)]+0x1;return[{'range':_0x1ca2a3[_0x2a5749(0x1d2)]<=_0x187072[_0x2a5749(0x1d2)]?_0x1ca2a3:{..._0x1ca2a3,'startColumn':_0x1ca2a3[_0x2a5749(0x1d2)]-_0x272e16,'endColumn':_0x1ca2a3[_0x2a5749(0x21d)]-_0x272e16},'unitId':_0x30bab,'subUnitId':_0x4ba887}];}case _0x2bbd83['id']:{const _0x282b5d=_0x2b56f0[_0x2a5749(0x230)],{values:_0x5e35b5,unitId:_0x40c46f,subUnitId:_0x3d35c9}=_0x282b5d;return Object[_0x2a5749(0x14f)](_0x5e35b5)[_0x2a5749(0x210)](_0x4720f4=>_0x4720f4[_0x2a5749(0x2da)][_0x2a5749(0x210)](_0xd6ac29=>({'range':_0xd6ac29,'unitId':_0x40c46f,'subUnitId':_0x3d35c9})))[_0x2a5749(0x2a6)]();}case _0x3d0967['id']:{const _0x199baf=_0x2b56f0[_0x2a5749(0x230)],{ranges:_0x3f2fcf,unitId:_0x162d31,subUnitId:_0x291102}=_0x199baf;return _0x3f2fcf[_0x2a5749(0x210)](_0x10051b=>({'range':_0x10051b,'unitId':_0x162d31,'subUnitId':_0x291102}));}case _0x4ac0bd['id']:{const _0x3bdb58=_0x2b56f0[_0x2a5749(0x230)],{unitId:_0x2a4655,subUnitId:_0x400880,range:_0xe6b9bf}=_0x3bdb58;return[{'range':_0xe6b9bf,'unitId':_0x2a4655,'subUnitId':_0x400880}];}case _0x5556f8['id']:{const _0x3e8c16=_0x2b56f0[_0x2a5749(0x230)];return _0x3e8c16[_0x2a5749(0x283)][_0x2a5749(0x2da)][_0x2a5749(0x210)](_0x391d4b=>({'range':_0x391d4b,'unitId':_0x3e8c16[_0x2a5749(0x25a)],'subUnitId':_0x3e8c16[_0x2a5749(0x247)]}));}case _0x492626['id']:{const _0x3be820=_0x2b56f0[_0x2a5749(0x230)];return _0x3be820[_0x2a5749(0x22b)]?ys(_0x3be820[_0x2a5749(0x22b)])[_0x2a5749(0x210)](_0x1a0747=>({'range':_0x1a0747,'unitId':_0x3be820[_0x2a5749(0x25a)],'subUnitId':_0x3be820[_0x2a5749(0x247)]})):[];}case _0x14f8b3['id']:{const _0x3dc3f6=_0x2b56f0[_0x2a5749(0x230)];return[{'range':_0x3dc3f6[_0x2a5749(0x28c)],'unitId':_0x3dc3f6[_0x2a5749(0x25a)],'subUnitId':_0x3dc3f6[_0x2a5749(0x247)]}];}case _0x54db3c['id']:{const _0x1d9ea4=_0x2b56f0[_0x2a5749(0x230)];return(Array[_0x2a5749(0x2ad)](_0x1d9ea4[_0x2a5749(0x283)])?_0x1d9ea4['rule']:[_0x1d9ea4[_0x2a5749(0x283)]])[_0x2a5749(0x210)](_0x2e0eda=>_0x2e0eda[_0x2a5749(0x2da)]['map'](_0x18cd4c=>({'range':_0x18cd4c,'unitId':_0x1d9ea4[_0x2a5749(0x25a)],'subUnitId':_0x1d9ea4['subUnitId']})))[_0x2a5749(0x2a6)]();}case _0x2d4a07['id']:{const _0x27324d=_0x2b56f0[_0x2a5749(0x230)];return _0x27324d[_0x2a5749(0x283)][_0x2a5749(0x2da)][_0x2a5749(0x210)](_0x1495c5=>({'range':_0x1495c5,'unitId':_0x27324d[_0x2a5749(0x25a)],'subUnitId':_0x27324d[_0x2a5749(0x247)]}));}default:return[];}}['_combineRanges'](_0x9dfde8){const _0x352b04=_0x153239;if(_0x9dfde8['length']<=0x1)return _0x9dfde8;const _0x217d3c=new Map();return _0x9dfde8[_0x352b04(0x2d0)](_0x59f857=>{const _0x29b2a2=_0x352b04;var _0x33f1ac;const {unitId:_0x1e2d14,subUnitId:_0xe1d7b1}=_0x59f857,_0x34ef52=_0x1e2d14+'-'+_0xe1d7b1;_0x217d3c[_0x29b2a2(0x140)](_0x34ef52)?(_0x33f1ac=_0x217d3c[_0x29b2a2(0x150)](_0x34ef52))==null||_0x33f1ac[_0x29b2a2(0x127)](_0x59f857):_0x217d3c[_0x29b2a2(0x24e)](_0x34ef52,[_0x59f857]);}),Array[_0x352b04(0x1fc)](_0x217d3c[_0x352b04(0x14f)]())[_0x352b04(0x210)](_0x41a041=>new _0x445e03()['add'](..._0x41a041[_0x352b04(0x210)](_0x34afc0=>_0x34afc0[_0x352b04(0x28c)]))['merge']()[_0x352b04(0x210)](_0x3947a0=>({'range':_0x3947a0,'unitId':_0x41a041[0x0][_0x352b04(0x25a)],'subUnitId':_0x41a041[0x0][_0x352b04(0x247)]})))['flat']();}};$=Ds([Q(0x0,_0xec2d2(E)),Q(0x1,_0x5682dc),Q(0x2,_0x49b068)],$);function he(_0x4ce181){return new _0x4852f4(_0x4ce181)['getDataRange']();}function ys(_0x405ca5){const _0x528fa9=new _0x4852f4(_0x405ca5),_0x31a9a7=new _0x4852f4();return _0x528fa9['forValue']((_0x3ee475,_0x1ad69e)=>{const _0x5c6db3=_0x595a;_0x31a9a7[_0x5c6db3(0x1a0)](_0x3ee475,_0x1ad69e,0x1);}),_0x22f33e(_0x31a9a7);}var Cs=Object['getOwnPropertyDescriptor'],ws=(_0x496a76,_0xc4c41,_0x3ea3c8,_0x38493d)=>{const _0x3764b4=_0x153239;for(var _0x3f222f=_0x38493d>0x1?void 0x0:_0x38493d?Cs(_0xc4c41,_0x3ea3c8):_0xc4c41,_0x14e35b=_0x496a76[_0x3764b4(0x24a)]-0x1,_0x51a5c0;_0x14e35b>=0x0;_0x14e35b--)(_0x51a5c0=_0x496a76[_0x14e35b])&&(_0x3f222f=_0x51a5c0(_0x3f222f)||_0x3f222f);return _0x3f222f;},C=(_0x89fe26,_0x1be7b1)=>(_0x53b6fd,_0x59296f)=>_0x1be7b1(_0x53b6fd,_0x59296f,_0x89fe26);let te=class extends _0x3f3ea2{constructor(_0x4f5ca8,_0x12a193,_0xc78b55,_0x1f9755,_0xa12d12,_0x40d46a,_0x1e7b63){const _0x36b81c=_0x153239;super(),l(this,_0x36b81c(0x12c),new Set()),l(this,_0x36b81c(0x279),null),(this[_0x36b81c(0x1ba)]=_0x4f5ca8,this[_0x36b81c(0x1bb)]=_0x12a193,this[_0x36b81c(0x238)]=_0xc78b55,this[_0x36b81c(0x1a1)]=_0x1f9755,this[_0x36b81c(0x29e)]=_0xa12d12,this[_0x36b81c(0x25f)]=_0x40d46a,this['_commandService']=_0x1e7b63,this[_0x36b81c(0x194)]());}[_0x153239(0x194)](){const _0x844bbc=_0x153239;this[_0x844bbc(0x2a0)](),this[_0x844bbc(0x15b)]();}['_initRender'](){const _0x529938=_0x153239;this[_0x529938(0x240)](_0x2449b8([this[_0x529938(0x1bb)][_0x529938(0x282)],this[_0x529938(0x25f)][_0x529938(0x23b)]])['pipe'](_0x1e07cb(([_0x3f3588,_0x5baa94])=>{const _0x11bd5e=_0x529938;if(_0x3f3588===T[_0x11bd5e(0x1c3)]&&_0x5baa94){const _0x1d4a71=_0x5baa94[_0x11bd5e(0x287)];return this['_versionDiffService']['currentVersionDiff$'][_0x11bd5e(0x15e)](_0x10f062(_0x5eccd4=>{const _0x3b6cf6=_0x11bd5e,_0xadf761=new Map();return _0x5eccd4[_0x3b6cf6(0x2da)][_0x3b6cf6(0x2d0)]((_0x14b8ac,_0x44a31b)=>{const _0x40a850=_0x3b6cf6,_0x4cc20d=_0x14b8ac['filter'](_0x16198e=>_0x16198e[_0x40a850(0x247)]===_0x1d4a71);_0xadf761[_0x40a850(0x24e)](_0x44a31b,_0x4cc20d);}),{'skeleton':_0x5baa94,'diffs':_0xadf761};}));}return _0x1b3af4({'skeleton':null,'diffs':new Map()});}))[_0x529938(0x1df)](({skeleton:_0x3ca54c,diffs:_0x466b67})=>{const _0x34e144=_0x529938;this[_0x34e144(0x242)](),_0x3ca54c&&this[_0x34e144(0x2c3)](_0x3ca54c,_0x466b67);})),this[_0x529938(0x240)](this[_0x529938(0x25f)][_0x529938(0x23b)]['subscribe'](_0x119b56=>{const _0x30165e=_0x529938;if(_0x119b56==null)return;const {skeleton:_0x2ea145}=_0x119b56,{scene:_0x23883e}=this[_0x30165e(0x1ba)];_0x23883e[_0x30165e(0x18b)]['subscribeEvent'](_0x19a0e9(_0x481f8d=>{const _0xadd04f=_0x30165e;var _0x111f21,_0x333a92;const {offsetX:_0x1a2e46,offsetY:_0x4479a1}=_0x481f8d,{x:_0x28d01e,y:_0x12d87f}=_0x23883e[_0xadd04f(0x269)](_0xd918f9[_0xadd04f(0x26c)]([_0x1a2e46,_0x4479a1])),{scaleX:_0x18fab7,scaleY:_0x186e67}=_0x23883e['getAncestorScale'](),_0x3613f9=_0x23883e[_0xadd04f(0x27d)](_0x302532[_0xadd04f(0x206)]),_0x1b6218=_0x23883e['getVpScrollXYInfoByPosToVp'](_0xd918f9[_0xadd04f(0x26c)]([_0x28d01e,_0x12d87f]),_0x3613f9),_0x4559a8=_0x2ea145[_0xadd04f(0x1e7)](_0x1a2e46,_0x4479a1,_0x18fab7,_0x186e67,_0x1b6218);((_0x111f21=this[_0xadd04f(0x279)])==null?void 0x0:_0x111f21[_0xadd04f(0x1ae)])===_0x4559a8['column']&&((_0x333a92=this['_lastPointer'])==null?void 0x0:_0x333a92[_0xadd04f(0x232)])===_0x4559a8[_0xadd04f(0x232)]||this[_0xadd04f(0x12c)]['forEach'](_0x1e5806=>{const _0x37e2a9=_0xadd04f;_0x1e5806[_0x37e2a9(0x1d9)](_0x4559a8);});},0x64));}));}['_initActiveSwitch'](){const _0x1f61f2=_0x153239;this[_0x1f61f2(0x240)](this['_historyManagerService'][_0x1f61f2(0x282)][_0x1f61f2(0x1df)](_0xa8ca40=>{const _0x412a52=_0x1f61f2,_0x5949c4=new _0x4f1512();return _0xa8ca40===T[_0x412a52(0x1c3)]&&(_0x5949c4[_0x412a52(0x209)](),_0x5949c4[_0x412a52(0x22f)](this[_0x412a52(0x238)]['currentVersionDiff$'][_0x412a52(0x1df)](_0x22190d=>{const _0xfbb59b=_0x412a52;_0x22190d[_0xfbb59b(0x1f4)]&&this[_0xfbb59b(0x292)][_0xfbb59b(0x26f)](_0x16d031['id'],{'unitId':this['_context'][_0xfbb59b(0x25a)],'subUnitId':_0x22190d[_0xfbb59b(0x1f4)]});}))),()=>_0x5949c4[_0x412a52(0x209)]();}));}['_updateDiffMarks'](_0xb026a2,_0x265e35){const _0x2cb6a4=_0x153239;var _0x68b52;const _0x166cbb=(_0x68b52=this['_sheetSkeletonManagerService'][_0x2cb6a4(0x288)]())==null?void 0x0:_0x68b52[_0x2cb6a4(0x26a)];if(!_0x166cbb)return;this[_0x2cb6a4(0x12c)][_0x2cb6a4(0x2d0)](_0x21205f=>{_0x21205f['makeDirty']();});const {scene:_0x186722}=this[_0x2cb6a4(0x1ba)],_0x35a3a4=Array[_0x2cb6a4(0x1fc)](_0x265e35[_0x2cb6a4(0x26e)]())[_0x2cb6a4(0x210)](_0x310d4f=>_0x265e35[_0x2cb6a4(0x150)](_0x310d4f)[_0x2cb6a4(0x210)](_0x15be14=>{const _0x1ca49e=_0x2cb6a4;var _0x21ecc3;const {range:_0x1e481d,subUnitId:_0x2808fd,unitId:_0x183121}=_0x15be14,{startColumn:_0x755bc,startRow:_0x14819e,endColumn:_0x13d6b8,endRow:_0x1e2c3a}=_0x1e481d,_0xbd3f3e=_0x17fd2c(_0x14819e,_0x755bc,_0x186722,_0x166cbb),_0x5ed9fc=_0x17fd2c(_0x1e2c3a,_0x13d6b8,_0x186722,_0x166cbb),{columnHeaderHeightAndMarginTop:_0x217b12}=_0x166cbb,{startX:_0x27bed7,startY:_0x4454a6}=_0xbd3f3e,{endX:_0x5cbfb8,endY:_0x49b038}=_0x5ed9fc,_0x274a61=_0x5cbfb8-_0x27bed7,_0x2edefc=_0x49b038-_0x4454a6,_0x4a8b0a={'labelPosition':_0x4454a6-_0x217b12>=0x14?'top':_0x1ca49e(0x196),'sheetID':_0x2808fd,'range':_0x1e481d,'color':_0x1ca49e(0x2a4),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x1ca49e(0x2a4),'name':((_0x21ecc3=this['_historyManagerService'][_0x1ca49e(0x1e0)](_0x310d4f))==null?void 0x0:_0x21ecc3['name'])||'','selection':_0x183121+'-'+_0x2808fd+'-'+_0x1e481d[_0x1ca49e(0x1d2)]+'-'+_0x1e481d[_0x1ca49e(0x251)]+'-'+_0x1e481d['endColumn']+'-'+_0x1e481d[_0x1ca49e(0x137)],'left':_0x27bed7,'top':_0x4454a6,'width':_0x274a61,'height':_0x2edefc,'evented':!0x1,'zIndex':0x1};return new _0x1b8714('',_0x4a8b0a);}))[_0x2cb6a4(0x2a6)]();_0x186722['addObjects'](_0x35a3a4,0x1),this['_diffs']=new Set(_0x35a3a4);}[_0x153239(0x242)](){const _0x3e901e=_0x153239;var _0x56a6a9;(_0x56a6a9=this[_0x3e901e(0x12c)])==null||_0x56a6a9[_0x3e901e(0x2d0)](_0x2a1862=>_0x2a1862[_0x3e901e(0x209)]());}['_getSheetObject'](){return _0x4840b6(this['_univerInstanceService'],this['_renderManagerService']);}};te=ws([C(0x1,_0xec2d2(E)),C(0x2,_0xec2d2($)),C(0x3,_0xcdc529),C(0x4,_0x98bc71),C(0x5,_0xec2d2(_0x3e9bdc)),C(0x6,_0x27321f)],te);function Ps(){const _0x1dbb9d=_0x153239,_0x4c32bb=_0x2ef851(E),_0x1bf23f=_0x2e2564(_0x4c32bb[_0x1dbb9d(0x128)]),[_0x221899,_0x4b276b]=_0x1823b9(!0x1),_0x44627c=cs(_0x1bf23f);return _0x1bf23f?_0x41308f(_0x1dbb9d(0x13a),{'className':'univer-mx-[-20px]\x20univer-overflow-hidden','children':_0x443960(_0x1dbb9d(0x13a),{'className':_0x1dbb9d(0x23a),'children':[_0x44627c[_0x1dbb9d(0x210)]((_0x2e2726,_0x1ee7d1)=>_0x443960(_0x41969b,{'children':[_0x41308f($s,{'date':_0x2e2726[_0x1dbb9d(0x1d4)]}),_0x2e2726[_0x1dbb9d(0x17a)][_0x1dbb9d(0x210)]((_0x20a329,_0x15d2d4)=>_0x41308f(Vs,{'index':[_0x1ee7d1,_0x15d2d4],'item':_0x20a329},_0x1ee7d1+'-'+_0x15d2d4))]},_0x2e2726[_0x1dbb9d(0x1d4)])),_0x221899&&_0x41308f(Ts,{})]})}):_0x41308f(Ls,{});}function Ts(){const _0x14b9f3=_0x153239;return _0x41308f(_0x14b9f3(0x13a),{'className':'univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','children':_0x41308f(ae,{'className':_0x14b9f3(0x1b9)})});}function Ls(){const _0x33d8d7=_0x153239;return _0x41308f(_0x33d8d7(0x13a),{'className':'univer-flex\x20univer-items-center\x20univer-justify-center','children':_0x41308f(_0x33d8d7(0x2dc),{'className':'univer-text-gray-500','children':_0x41308f(ae,{'className':_0x33d8d7(0x1c2)})})});}function $s(_0x9ecfd){const _0x5969db=_0x153239,_0x20ef16=_0x2ef851(_0x4b5be2),{date:_0x3afc14}=_0x9ecfd;return _0x41308f(_0x5969db(0x13a),{'className':_0x5969db(0x133),'children':ee(_0x3afc14,_0x20ef16[_0x5969db(0x2b9)]())});}function Vs(_0x468947){const _0x3ec724=_0x153239,{item:_0x51b489,index:_0x248fb9}=_0x468947,{time:_0x183b8c,user:_0x5f28f4}=_0x51b489,[_0x3016be,_0x537b56]=_0x248fb9,_0x1aba87=_0x2ef851(E),_0x25d19a=_0x2e2564(_0x1aba87[_0x3ec724(0x219)],'',!0x0)===_0x51b489['id'],_0x4c502a=_0x3016be===0x0&&_0x537b56===0x0,_0x513ef5=!_0x4c502a&&_0x1aba87['canRevert'],_0x30f9a2=_0x2ef851(_0x4b5be2),_0x24a0a9=_0x30f9a2['getCurrentLocale'](),_0x2242c6=re(_0x183b8c,_0x24a0a9),_0x44a5e0=_0x30f9a2['t'](_0x3ec724(0x1ee)),_0x10d320=_0x596c8b(_0x1f1072=>{const _0x50854d=_0x3ec724;_0x1aba87['loadingState']!==T['Loading']&&(_0x1aba87[_0x50854d(0x261)]=_0x1f1072);},[_0x1aba87]),_0x293122=_0x596c8b(_0x59cd34=>{const _0x3b7b0b=_0x3ec724;_0x1aba87[_0x3b7b0b(0x16a)](_0x59cd34);},[_0x1aba87]);return _0x443960(_0x3ec724(0x13a),{'className':_0x356a9e('univer-flex\x20univer-h-[60px]\x20univer-cursor-default\x20univer-flex-col\x20univer-justify-center\x20univer-px-4\x20univer-py-1.5',{'univer-bg-gray-50':_0x25d19a}),'onClick':()=>_0x10d320(_0x51b489['id']),'children':[_0x443960('div',{'className':_0x3ec724(0x2d4),'children':[_0x41308f(_0x3ec724(0x13a),{'className':'univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-400'}),_0x443960(_0x3ec724(0x13a),{'className':_0x3ec724(0x244),'children':[_0x41308f(_0x3ec724(0x2dc),{'children':_0x2242c6[_0x3ec724(0x161)]}),_0x4c502a&&_0x41308f(_0x3ec724(0x2dc),{'className':'univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','children':_0x44a5e0})]}),_0x41308f(_0x3ec724(0x13a),{'children':_0x513ef5&&_0x41308f(_0x8b0342,{'title':_0x30f9a2['t'](_0x3ec724(0x2b5)),'children':_0x41308f(_0x3ec724(0x13a),{'onClick':_0x4ac6fe=>{const _0x355317=_0x3ec724;_0x4ac6fe[_0x355317(0x191)](),_0x293122(_0x51b489['id']);},'className':'univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','children':_0x41308f(Le,{})})})})]}),_0x41308f('div',{'className':'univer-pl-[26px]\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':as(_0x51b489,_0x30f9a2)})]});}var ks=Object[_0x153239(0x255)],xs=(_0x5da407,_0xa1802e,_0x337275,_0x1bcc1c)=>{const _0x123f63=_0x153239;for(var _0x3ee0ac=_0x1bcc1c>0x1?void 0x0:_0x1bcc1c?ks(_0xa1802e,_0x337275):_0xa1802e,_0x3f31f5=_0x5da407[_0x123f63(0x24a)]-0x1,_0x5717ad;_0x3f31f5>=0x0;_0x3f31f5--)(_0x5717ad=_0x5da407[_0x3f31f5])&&(_0x3ee0ac=_0x5717ad(_0x3ee0ac)||_0x3ee0ac);return _0x3ee0ac;},k=(_0x3fb3a8,_0x540bee)=>(_0x330676,_0x2d6402)=>_0x540bee(_0x330676,_0x2d6402,_0x3fb3a8);const de=_0x153239(0x2bb);let j=class extends _0x3f3ea2{constructor(_0xe5daa9,_0x1ef28b,_0x1be4f7,_0x3bc5a4){const _0x278158=_0x153239;super(),l(this,_0x278158(0x166),null),(this['_sidebarService']=_0xe5daa9,this['_componentManager']=_0x1ef28b,this[_0x278158(0x1f2)]=_0x1be4f7,this[_0x278158(0x1bb)]=_0x3bc5a4,this[_0x278158(0x194)]());}['_init'](){const _0x67e249=_0x153239;this[_0x67e249(0x2a5)](),this['_openPanel']();}[_0x153239(0x284)](){const _0x2bea31=_0x153239;if(this['_sidebarDisposable'])return;const _0x19c648={'header':{'title':this['_localeService']['t'](_0x2bea31(0x201))},'children':{'label':de},'onClose':()=>{const _0x4abfae=_0x2bea31;this[_0x4abfae(0x166)]=null,this[_0x4abfae(0x1bb)][_0x4abfae(0x25e)]=ne[_0x4abfae(0x200)];}};this['_sidebarDisposable']=this[_0x2bea31(0x1af)]['open']({..._0x19c648});}[_0x153239(0x2a5)](){const _0x478cd2=_0x153239;this[_0x478cd2(0x240)](this[_0x478cd2(0x1e2)]['register'](de,Ps)),this[_0x478cd2(0x240)](this[_0x478cd2(0x1af)]['scrollEvent$'][_0x478cd2(0x15e)](_0x5dbbac(0x64))[_0x478cd2(0x1df)](_0x100c15=>{const _0x2cbe0b=_0x478cd2,{target:_0x225688}=_0x100c15||{};if(_0x225688){const {scrollTop:_0x485f35,scrollHeight:_0x1182f7,clientHeight:_0x188ed0}=_0x225688;_0x485f35+_0x188ed0>=_0x1182f7-0x5&&this['_historyManagerService'][_0x2cbe0b(0x237)]();}}));}};j=xs([k(0x0,_0x5dcd1a),k(0x1,_0xec2d2(_0x3a5433)),k(0x2,_0xec2d2(_0x4b5be2)),k(0x3,_0xec2d2(E))],j);class Us extends _0x3f3ea2{constructor(){const _0xe67cf0=_0x153239;super(),l(this,_0xe67cf0(0x1e1),new _0x43fa9a());}[_0x153239(0x16c)](){return _0x10fbb4(()=>{});}['close'](){}['closeAll'](_0x5e5922){}[_0x153239(0x199)](){const _0x1bdfa0=_0x153239;return this['_dialogOptions$'][_0x1bdfa0(0x2c4)]();}}var Hs=Object['defineProperty'],Fs=Object['getOwnPropertyDescriptor'],Ys=(_0x1cc27f,_0x3270ee,_0x3d8cf1)=>_0x3270ee in _0x1cc27f?Hs(_0x1cc27f,_0x3270ee,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d8cf1}):_0x1cc27f[_0x3270ee]=_0x3d8cf1,Bs=(_0x1ff007,_0x2197c1,_0x1cbb2f,_0x288465)=>{const _0x1c4bf1=_0x153239;for(var _0x31768f=_0x288465>0x1?void 0x0:_0x288465?Fs(_0x2197c1,_0x1cbb2f):_0x2197c1,_0x1f8906=_0x1ff007[_0x1c4bf1(0x24a)]-0x1,_0x11bbe2;_0x1f8906>=0x0;_0x1f8906--)(_0x11bbe2=_0x1ff007[_0x1f8906])&&(_0x31768f=_0x11bbe2(_0x31768f)||_0x31768f);return _0x31768f;},J=(_0x37d31a,_0x40244d)=>(_0x5b7dd6,_0x467870)=>_0x40244d(_0x5b7dd6,_0x467870,_0x37d31a),js=(_0x380509,_0x41abeb,_0xe97cba)=>Ys(_0x380509,_0x41abeb+'',_0xe97cba);const As='UNIVER_EDIT_HISTORY_VIEWER_PLUGIN';let se=class extends _0x36ae4b{constructor(_0x7ad522=_e,_0x58804d,_0x45001a,_0x94c825){const _0x1c5187=_0x153239;super(),this[_0x1c5187(0x13d)]=_0x7ad522,this['_injector']=_0x58804d,this[_0x1c5187(0x29e)]=_0x45001a,this[_0x1c5187(0x186)]=_0x94c825;const {..._0x5624b8}=_0x3e1d66({},_e,this['_config']);this[_0x1c5187(0x186)][_0x1c5187(0x1c6)](we,_0x5624b8);}[_0x153239(0x134)](){const _0x5564ff=_0x153239;[[E],[B],[$],[Y],[j],[H],[_0x49b068,{'useClass':_0x540f42}],[_0x545c1d,{'useClass':Us}],[_0x39052e,{'useClass':_0x3e5fd3}]]['forEach'](_0x394f7c=>this[_0x5564ff(0x148)]['add'](_0x394f7c)),this[_0x5564ff(0x148)]['get'](B);}['onRendered'](){const _0x42183d=_0x153239;[[te]]['forEach'](_0x1296c4=>{const _0x37a3f1=_0x595a;this[_0x37a3f1(0x240)](this[_0x37a3f1(0x29e)]['registerRenderModule'](_0x4a5044[_0x37a3f1(0x29a)],_0x1296c4));}),this[_0x42183d(0x148)][_0x42183d(0x150)](H),this[_0x42183d(0x148)]['get'](j);}[_0x153239(0x21b)](){const _0x4c8efa=_0x153239;this[_0x4c8efa(0x148)][_0x4c8efa(0x150)]($);}};js(se,_0x153239(0x233),As),se=Bs([_0x308d2c(_0x345463,_0x3ee37b),J(0x1,_0xec2d2(_0x1c09ab)),J(0x2,_0x98bc71),J(0x3,_0x12b814)],se);export{E as HistoryManagerService,ne as HistoryModeStatus,se as UniverEditHistoryViewerPlugin};
@@ -1 +1 @@
1
- function _0x2787(){const _0x55efb3=['Restore\x20this\x20version?','created\x20workbook','reverted\x20workbook','Edit\x20History','13638CqUJaO','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','deleted\x20worksheet','set\x20frozen','2657529yYmkhQ','Reverting,\x20please\x20wait...','120MBDOVr','Current\x20User','inserted\x20worksheet','loading,\x20please\x20wait...','11XhDoEZ','add\x20sparkline','35159470WEKIYO','Confirm','Restore\x20this\x20version','1184168IoLuWT','set\x20conditional\x20formatting','set\x20data\x20validation',',\x20etc.','18328cumZYN','add\x20protection','212405EFqRYc','7iTTDmG','Reverted\x20from','908GIaAZE','470323dnwQNM','Unknown\x20User'];_0x2787=function(){return _0x55efb3;};return _0x2787();}const _0xbf157f=_0x2718;(function(_0x18c89a,_0x2f8176){const _0xd9989=_0x2718,_0x53f255=_0x18c89a();while(!![]){try{const _0x5ca47e=-parseInt(_0xd9989(0x8d))/0x1+-parseInt(_0xd9989(0x83))/0x2+-parseInt(_0xd9989(0x93))/0x3*(parseInt(_0xd9989(0x8c))/0x4)+parseInt(_0xd9989(0x89))/0x5*(-parseInt(_0xd9989(0x99))/0x6)+parseInt(_0xd9989(0x8a))/0x7*(parseInt(_0xd9989(0x87))/0x8)+parseInt(_0xd9989(0x97))/0x9+parseInt(_0xd9989(0x80))/0xa*(parseInt(_0xd9989(0x7e))/0xb);if(_0x5ca47e===_0x2f8176)break;else _0x53f255['push'](_0x53f255['shift']());}catch(_0x19b03e){_0x53f255['push'](_0x53f255['shift']());}}}(_0x2787,0xd44ae));const e={'editHistory':{'panel':{'title':_0xbf157f(0x92),'unknownUser':_0xbf157f(0x8e),'listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list','revertConfirm':_0xbf157f(0x8f),'revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':'Cancel','confirm':_0xbf157f(0x81),'reverting':_0xbf157f(0x98),'revertFailed':_0xbf157f(0x94),'currentVersion':'Current\x20Version','currentUser':_0xbf157f(0x9a),'revertDesc':_0xbf157f(0x82)},'info':{'loading':_0xbf157f(0x7d)},'header':{'back':'Back','revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0xbf157f(0x7c),'removeSheet':_0xbf157f(0x95),'createSheet':_0xbf157f(0x90),'setFilter':'set\x20filter','setFrozen':_0xbf157f(0x96),'editSheet':'edited\x20worksheet','revertSheet':_0xbf157f(0x91),'revertSheetPrefix':_0xbf157f(0x8b),'revertSheetSuffix':'','setDV':_0xbf157f(0x85),'setCF':_0xbf157f(0x84),'addCF':'add\x20conditional\x20formatting','addProtection':_0xbf157f(0x88),'addSparkline':_0xbf157f(0x7f),'deleteProtection':'delete\x20protection','etc':_0xbf157f(0x86)}}};function _0x2718(_0x5bbc28,_0x5d84c6){const _0x27877e=_0x2787();return _0x2718=function(_0x271897,_0x52e4d0){_0x271897=_0x271897-0x7c;let _0x9f7a18=_0x27877e[_0x271897];return _0x9f7a18;},_0x2718(_0x5bbc28,_0x5d84c6);}export{e as default};
1
+ function _0x3e42(){const _0x4d12da=['set\x20filter','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','19039999EAjWqh','20SFLDHB','reverted\x20workbook','Back','18xIICdK','12965832SSRsGe',',\x20etc.','Reverting,\x20please\x20wait...','add\x20sparkline','Restore\x20this\x20version?','Reverted\x20from','set\x20frozen','2huvwMm','edited\x20worksheet','add\x20conditional\x20formatting','1486158QAanjW','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','3946404ovOVtw','set\x20data\x20validation','4WjwaiD','6138035fhZbOj','36848ilaylL','11778237SZyLLG','created\x20workbook','Current\x20Version','delete\x20protection','deleted\x20worksheet','inserted\x20worksheet','loading,\x20please\x20wait...','Restore\x20this\x20version'];_0x3e42=function(){return _0x4d12da;};return _0x3e42();}const _0x5b2bd5=_0x4456;function _0x4456(_0xe17415,_0x1e5d44){const _0x3e42ae=_0x3e42();return _0x4456=function(_0x4456b7,_0x2dfef0){_0x4456b7=_0x4456b7-0x1ec;let _0x5b7a58=_0x3e42ae[_0x4456b7];return _0x5b7a58;},_0x4456(_0xe17415,_0x1e5d44);}(function(_0x4a6584,_0x47bc78){const _0xcd28f0=_0x4456,_0x348cea=_0x4a6584();while(!![]){try{const _0x261909=-parseInt(_0xcd28f0(0x1fb))/0x1*(-parseInt(_0xcd28f0(0x1fe))/0x2)+parseInt(_0xcd28f0(0x200))/0x3+-parseInt(_0xcd28f0(0x202))/0x4*(-parseInt(_0xcd28f0(0x203))/0x5)+parseInt(_0xcd28f0(0x1f3))/0x6*(-parseInt(_0xcd28f0(0x204))/0x7)+parseInt(_0xcd28f0(0x1f4))/0x8+-parseInt(_0xcd28f0(0x205))/0x9+-parseInt(_0xcd28f0(0x1f0))/0xa*(parseInt(_0xcd28f0(0x1ef))/0xb);if(_0x261909===_0x47bc78)break;else _0x348cea['push'](_0x348cea['shift']());}catch(_0x27a5aa){_0x348cea['push'](_0x348cea['shift']());}}}(_0x3e42,0xd2dab));const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':'Unknown\x20User','listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list','revertConfirm':_0x5b2bd5(0x1f8),'revertConfirmText':_0x5b2bd5(0x1ff),'cancel':'Cancel','confirm':'Confirm','reverting':_0x5b2bd5(0x1f6),'revertFailed':_0x5b2bd5(0x1ee),'currentVersion':_0x5b2bd5(0x207),'currentUser':'Current\x20User','revertDesc':_0x5b2bd5(0x1ec)},'info':{'loading':_0x5b2bd5(0x20b)},'header':{'back':_0x5b2bd5(0x1f2),'revert':_0x5b2bd5(0x1ec)},'action':{'insertSheet':_0x5b2bd5(0x20a),'removeSheet':_0x5b2bd5(0x209),'createSheet':_0x5b2bd5(0x206),'setFilter':_0x5b2bd5(0x1ed),'setFrozen':_0x5b2bd5(0x1fa),'editSheet':_0x5b2bd5(0x1fc),'revertSheet':_0x5b2bd5(0x1f1),'revertSheetPrefix':_0x5b2bd5(0x1f9),'revertSheetSuffix':'','setDV':_0x5b2bd5(0x201),'setCF':'set\x20conditional\x20formatting','addCF':_0x5b2bd5(0x1fd),'addProtection':'add\x20protection','addSparkline':_0x5b2bd5(0x1f7),'deleteProtection':_0x5b2bd5(0x208),'etc':_0x5b2bd5(0x1f5)}}};export{e as default};
@@ -1 +1 @@
1
- const _0x4722b5=_0x5612;function _0xd436(){const _0x11a297=['834bcyeuO','ورق\x20کاری\x20ویرایش\x20شده','حذف\x20حفاظت','12792230rSMxAE','،\x20و\x20غیره','افزودن\x20حفاظت','ورق\x20کاری\x20اضافه\x20شده','خطای\x20ناشناخته،\x20لطفا\x20صفحه\x20را\x20بارگذاری\x20مجدد\x20کنید\x20تا\x20نتیجه\x20بازگردانی\x20را\x20مشاهده\x20کنید','30932jhDXxQ','این\x20سند\x20به\x20نسخه\x20انتخاب\x20شده\x20بازگردانده\x20خواهد\x20شد','3376edDvXh','تنظیم\x20قالب\x20بندی\x20شرطی','تنظیم\x20اعتبار\x20سنجی\x20داده','کاربر\x20ناشناخته','2595876sdfDqr','تنظیم\x20فیلتر','4NWSCIx','تنظیم\x20منجمد','بازگردانی\x20این\x20نسخه','در\x20حال\x20بارگذاری،\x20لطفا\x20صبر\x20کنید...','39UdWRCK','44388wSEgeu','این\x20نسخه\x20را\x20بازگردانی\x20کنید؟','ورق\x20کاری\x20حذف\x20شده','لغو','در\x20حال\x20بازگردانی،\x20لطفا\x20صبر\x20کنید...','30147227CzRftQ','افزودن\x20نمودار\x20کوچک','دریافت\x20لیست\x20تاریخچه\x20ویرایش\x20ناموفق\x20بود','ورق\x20کاری\x20بازگردانی\x20شده','تاریخچه\x20ویرایش','افزودن\x20قالب\x20بندی\x20شرطی','43285CJMjSA','کاربر\x20فعلی','بازگشت','23261oWIPUn','بازگردانی\x20از'];_0xd436=function(){return _0x11a297;};return _0xd436();}function _0x5612(_0xcfe9d4,_0x2c56cc){const _0xd4369e=_0xd436();return _0x5612=function(_0x561238,_0x44e695){_0x561238=_0x561238-0xef;let _0x5172a8=_0xd4369e[_0x561238];return _0x5172a8;},_0x5612(_0xcfe9d4,_0x2c56cc);}(function(_0x4c76df,_0x219a5a){const _0x43e82b=_0x5612,_0x9deb38=_0x4c76df();while(!![]){try{const _0x47c655=parseInt(_0x43e82b(0xf1))/0x1*(parseInt(_0x43e82b(0x10a))/0x2)+-parseInt(_0x43e82b(0x110))/0x3*(parseInt(_0x43e82b(0x112))/0x4)+parseInt(_0x43e82b(0xfd))/0x5*(parseInt(_0x43e82b(0x102))/0x6)+-parseInt(_0x43e82b(0x100))/0x7*(parseInt(_0x43e82b(0x10c))/0x8)+-parseInt(_0x43e82b(0xf2))/0x9+-parseInt(_0x43e82b(0x105))/0xa+parseInt(_0x43e82b(0xf7))/0xb;if(_0x47c655===_0x219a5a)break;else _0x9deb38['push'](_0x9deb38['shift']());}catch(_0xd730fc){_0x9deb38['push'](_0x9deb38['shift']());}}}(_0xd436,0xf3049));const e={'editHistory':{'panel':{'title':_0x4722b5(0xfb),'unknownUser':_0x4722b5(0x10f),'listFetchError':_0x4722b5(0xf9),'revertConfirm':_0x4722b5(0xf3),'revertConfirmText':_0x4722b5(0x10b),'cancel':_0x4722b5(0xf5),'confirm':'تایید','reverting':_0x4722b5(0xf6),'revertFailed':_0x4722b5(0x109),'currentVersion':'نسخه\x20فعلی','currentUser':_0x4722b5(0xfe),'revertDesc':_0x4722b5(0xef)},'info':{'loading':_0x4722b5(0xf0)},'header':{'back':_0x4722b5(0xff),'revert':_0x4722b5(0xef)},'action':{'insertSheet':_0x4722b5(0x108),'removeSheet':_0x4722b5(0xf4),'createSheet':'ورق\x20کاری\x20ایجاد\x20شده','setFilter':_0x4722b5(0x111),'setFrozen':_0x4722b5(0x113),'editSheet':_0x4722b5(0x103),'revertSheet':_0x4722b5(0xfa),'revertSheetPrefix':_0x4722b5(0x101),'revertSheetSuffix':'','setDV':_0x4722b5(0x10e),'setCF':_0x4722b5(0x10d),'addCF':_0x4722b5(0xfc),'addProtection':_0x4722b5(0x107),'addSparkline':_0x4722b5(0xf8),'deleteProtection':_0x4722b5(0x104),'etc':_0x4722b5(0x106)}}};export{e as default};
1
+ const _0xda7a2=_0x188f;(function(_0x646dae,_0x26de8d){const _0x252f11=_0x188f,_0x44fdea=_0x646dae();while(!![]){try{const _0x396cee=parseInt(_0x252f11(0xfa))/0x1+-parseInt(_0x252f11(0xee))/0x2+parseInt(_0x252f11(0xe6))/0x3+-parseInt(_0x252f11(0xf6))/0x4+parseInt(_0x252f11(0xed))/0x5+-parseInt(_0x252f11(0xea))/0x6*(-parseInt(_0x252f11(0xf8))/0x7)+parseInt(_0x252f11(0xf9))/0x8;if(_0x396cee===_0x26de8d)break;else _0x44fdea['push'](_0x44fdea['shift']());}catch(_0x36696c){_0x44fdea['push'](_0x44fdea['shift']());}}}(_0x5e31,0x9affe));function _0x188f(_0x5e274e,_0x28c0a2){const _0x5e31ea=_0x5e31();return _0x188f=function(_0x188fc6,_0x288728){_0x188fc6=_0x188fc6-0xe4;let _0x1e6d60=_0x5e31ea[_0x188fc6];return _0x1e6d60;},_0x188f(_0x5e274e,_0x28c0a2);}const e={'editHistory':{'panel':{'title':'تاریخچه\x20ویرایش','unknownUser':'کاربر\x20ناشناخته','listFetchError':_0xda7a2(0xef),'revertConfirm':'این\x20نسخه\x20را\x20بازگردانی\x20کنید؟','revertConfirmText':_0xda7a2(0xe9),'cancel':_0xda7a2(0xfb),'confirm':_0xda7a2(0xeb),'reverting':_0xda7a2(0xf7),'revertFailed':_0xda7a2(0xfc),'currentVersion':_0xda7a2(0xe8),'currentUser':_0xda7a2(0xec),'revertDesc':'بازگردانی\x20این\x20نسخه'},'info':{'loading':'در\x20حال\x20بارگذاری،\x20لطفا\x20صبر\x20کنید...'},'header':{'back':_0xda7a2(0xe7),'revert':'بازگردانی\x20این\x20نسخه'},'action':{'insertSheet':'ورق\x20کاری\x20اضافه\x20شده','removeSheet':_0xda7a2(0xf4),'createSheet':_0xda7a2(0xe4),'setFilter':'تنظیم\x20فیلتر','setFrozen':_0xda7a2(0xf5),'editSheet':'ورق\x20کاری\x20ویرایش\x20شده','revertSheet':'ورق\x20کاری\x20بازگردانی\x20شده','revertSheetPrefix':_0xda7a2(0xe5),'revertSheetSuffix':'','setDV':_0xda7a2(0xfd),'setCF':'تنظیم\x20قالب\x20بندی\x20شرطی','addCF':_0xda7a2(0xf1),'addProtection':_0xda7a2(0xf0),'addSparkline':_0xda7a2(0xf2),'deleteProtection':'حذف\x20حفاظت','etc':_0xda7a2(0xf3)}}};function _0x5e31(){const _0x42d5c4=['638512xzziht','دریافت\x20لیست\x20تاریخچه\x20ویرایش\x20ناموفق\x20بود','افزودن\x20حفاظت','افزودن\x20قالب\x20بندی\x20شرطی','افزودن\x20نمودار\x20کوچک','،\x20و\x20غیره','ورق\x20کاری\x20حذف\x20شده','تنظیم\x20منجمد','4438080uqNPxr','در\x20حال\x20بازگردانی،\x20لطفا\x20صبر\x20کنید...','541485PiaEXO','5674144VhRiUq','64831KVQZXr','لغو','خطای\x20ناشناخته،\x20لطفا\x20صفحه\x20را\x20بارگذاری\x20مجدد\x20کنید\x20تا\x20نتیجه\x20بازگردانی\x20را\x20مشاهده\x20کنید','تنظیم\x20اعتبار\x20سنجی\x20داده','ورق\x20کاری\x20ایجاد\x20شده','بازگردانی\x20از','1100565qVDOgM','بازگشت','نسخه\x20فعلی','این\x20سند\x20به\x20نسخه\x20انتخاب\x20شده\x20بازگردانده\x20خواهد\x20شد','18QVAnbl','تایید','کاربر\x20فعلی','3453175HJBXzC'];_0x5e31=function(){return _0x42d5c4;};return _0x5e31();}export{e as default};