@univerjs-pro/edit-history-viewer 0.10.6-nightly.202509060614 → 0.10.6-nightly.202509060724

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.
Files changed (45) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ko-KR.js +1 -1
  8. package/lib/cjs/locale/ru-RU.js +1 -1
  9. package/lib/cjs/locale/vi-VN.js +1 -1
  10. package/lib/cjs/locale/zh-CN.js +1 -1
  11. package/lib/cjs/locale/zh-TW.js +1 -1
  12. package/lib/es/index.js +1 -1
  13. package/lib/es/locale/ca-ES.js +1 -1
  14. package/lib/es/locale/en-US.js +1 -1
  15. package/lib/es/locale/es-ES.js +1 -1
  16. package/lib/es/locale/fa-IR.js +1 -1
  17. package/lib/es/locale/fr-FR.js +1 -1
  18. package/lib/es/locale/ko-KR.js +1 -1
  19. package/lib/es/locale/ru-RU.js +1 -1
  20. package/lib/es/locale/vi-VN.js +1 -1
  21. package/lib/es/locale/zh-CN.js +1 -1
  22. package/lib/es/locale/zh-TW.js +1 -1
  23. package/lib/index.js +1 -1
  24. package/lib/locale/ca-ES.js +1 -1
  25. package/lib/locale/en-US.js +1 -1
  26. package/lib/locale/es-ES.js +1 -1
  27. package/lib/locale/fa-IR.js +1 -1
  28. package/lib/locale/fr-FR.js +1 -1
  29. package/lib/locale/ko-KR.js +1 -1
  30. package/lib/locale/ru-RU.js +1 -1
  31. package/lib/locale/vi-VN.js +1 -1
  32. package/lib/locale/zh-CN.js +1 -1
  33. package/lib/locale/zh-TW.js +1 -1
  34. package/lib/umd/index.js +1 -1
  35. package/lib/umd/locale/ca-ES.js +1 -1
  36. package/lib/umd/locale/en-US.js +1 -1
  37. package/lib/umd/locale/es-ES.js +1 -1
  38. package/lib/umd/locale/fa-IR.js +1 -1
  39. package/lib/umd/locale/fr-FR.js +1 -1
  40. package/lib/umd/locale/ko-KR.js +1 -1
  41. package/lib/umd/locale/ru-RU.js +1 -1
  42. package/lib/umd/locale/vi-VN.js +1 -1
  43. package/lib/umd/locale/zh-CN.js +1 -1
  44. package/lib/umd/locale/zh-TW.js +1 -1
  45. package/package.json +16 -16
@@ -1 +1 @@
1
- 'use strict';function _0x312e(){const _0x2a5186=['add\x20protection','delete\x20protection','Back','set\x20frozen','created\x20workbook','30HiFXzQ','Unknown\x20User','Current\x20Version','8jVOYta','1627CuVTFX','Cancel','add\x20conditional\x20formatting','exports','6752745XSNspd','Reverting,\x20please\x20wait...','set\x20filter','inserted\x20worksheet','1046404mOGqkD','9244020NTYDyJ','Current\x20User','add\x20sparkline','reverted\x20workbook','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','3157980lKpqYX','Reverted\x20from','3697194FudqBQ','10GlUTBP','set\x20conditional\x20formatting','2206212UxXeyP','Restore\x20this\x20version'];_0x312e=function(){return _0x2a5186;};return _0x312e();}const _0x149d38=_0x4a43;function _0x4a43(_0x48b3d2,_0x202b94){const _0x312e1e=_0x312e();return _0x4a43=function(_0x4a4366,_0x594c89){_0x4a4366=_0x4a4366-0x1be;let _0x1ad211=_0x312e1e[_0x4a4366];return _0x1ad211;},_0x4a43(_0x48b3d2,_0x202b94);}(function(_0x2241f7,_0x44126c){const _0x3e2013=_0x4a43,_0x2ee606=_0x2241f7();while(!![]){try{const _0x443e7d=-parseInt(_0x3e2013(0x1da))/0x1*(-parseInt(_0x3e2013(0x1d6))/0x2)+parseInt(_0x3e2013(0x1cf))/0x3+parseInt(_0x3e2013(0x1c4))/0x4*(parseInt(_0x3e2013(0x1cd))/0x5)+-parseInt(_0x3e2013(0x1cc))/0x6+-parseInt(_0x3e2013(0x1ca))/0x7+-parseInt(_0x3e2013(0x1d9))/0x8*(parseInt(_0x3e2013(0x1c0))/0x9)+parseInt(_0x3e2013(0x1c5))/0xa;if(_0x443e7d===_0x44126c)break;else _0x2ee606['push'](_0x2ee606['shift']());}catch(_0x5525fb){_0x2ee606['push'](_0x2ee606['shift']());}}}(_0x312e,0x5f289));const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':_0x149d38(0x1d7),'listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list','revertConfirm':'Restore\x20this\x20version?','revertConfirmText':_0x149d38(0x1c9),'cancel':_0x149d38(0x1db),'confirm':'Confirm','reverting':_0x149d38(0x1c1),'revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':_0x149d38(0x1d8),'currentUser':_0x149d38(0x1c6),'revertDesc':_0x149d38(0x1d0)},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':_0x149d38(0x1d3),'revert':_0x149d38(0x1d0)},'action':{'insertSheet':_0x149d38(0x1c3),'removeSheet':'deleted\x20worksheet','createSheet':_0x149d38(0x1d5),'setFilter':_0x149d38(0x1c2),'setFrozen':_0x149d38(0x1d4),'editSheet':'edited\x20worksheet','revertSheet':_0x149d38(0x1c8),'revertSheetPrefix':_0x149d38(0x1cb),'revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':_0x149d38(0x1ce),'addCF':_0x149d38(0x1be),'addProtection':_0x149d38(0x1d1),'addSparkline':_0x149d38(0x1c7),'deleteProtection':_0x149d38(0x1d2),'etc':',\x20etc.'}}},t=e;module[_0x149d38(0x1bf)]=t;
1
+ 'use strict';function _0x54ec(_0x287edd,_0x273e9c){const _0x33fc0e=_0x33fc();return _0x54ec=function(_0x54ecd6,_0x3a77a3){_0x54ecd6=_0x54ecd6-0x19a;let _0x134c30=_0x33fc0e[_0x54ecd6];return _0x134c30;},_0x54ec(_0x287edd,_0x273e9c);}const _0x5cb3f6=_0x54ec;(function(_0xc32e13,_0x2336eb){const _0x4d4c27=_0x54ec,_0x47129e=_0xc32e13();while(!![]){try{const _0x224cb3=parseInt(_0x4d4c27(0x1b9))/0x1*(parseInt(_0x4d4c27(0x1a9))/0x2)+-parseInt(_0x4d4c27(0x19b))/0x3+parseInt(_0x4d4c27(0x19f))/0x4+-parseInt(_0x4d4c27(0x1b1))/0x5+parseInt(_0x4d4c27(0x1aa))/0x6*(-parseInt(_0x4d4c27(0x1a0))/0x7)+-parseInt(_0x4d4c27(0x1ae))/0x8*(parseInt(_0x4d4c27(0x19e))/0x9)+parseInt(_0x4d4c27(0x1a8))/0xa*(parseInt(_0x4d4c27(0x19c))/0xb);if(_0x224cb3===_0x2336eb)break;else _0x47129e['push'](_0x47129e['shift']());}catch(_0x404cec){_0x47129e['push'](_0x47129e['shift']());}}}(_0x33fc,0x33d11));const e={'editHistory':{'panel':{'title':_0x5cb3f6(0x1ba),'unknownUser':_0x5cb3f6(0x1b3),'listFetchError':_0x5cb3f6(0x1a5),'revertConfirm':_0x5cb3f6(0x1b0),'revertConfirmText':_0x5cb3f6(0x1a6),'cancel':_0x5cb3f6(0x1b6),'confirm':'Confirm','reverting':_0x5cb3f6(0x1bb),'revertFailed':_0x5cb3f6(0x1b2),'currentVersion':_0x5cb3f6(0x19d),'currentUser':_0x5cb3f6(0x1af),'revertDesc':'Restore\x20this\x20version'},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':'Back','revert':_0x5cb3f6(0x1a1)},'action':{'insertSheet':_0x5cb3f6(0x1a7),'removeSheet':'deleted\x20worksheet','createSheet':_0x5cb3f6(0x19a),'setFilter':_0x5cb3f6(0x1ac),'setFrozen':_0x5cb3f6(0x1ad),'editSheet':_0x5cb3f6(0x1b4),'revertSheet':_0x5cb3f6(0x1a2),'revertSheetPrefix':_0x5cb3f6(0x1b7),'revertSheetSuffix':'','setDV':_0x5cb3f6(0x1a3),'setCF':_0x5cb3f6(0x1b8),'addCF':_0x5cb3f6(0x1bd),'addProtection':_0x5cb3f6(0x1ab),'addSparkline':_0x5cb3f6(0x1bc),'deleteProtection':_0x5cb3f6(0x1b5),'etc':_0x5cb3f6(0x1a4)}}},t=e;function _0x33fc(){const _0x357cd1=['created\x20workbook','127371EIhpfG','77TKyZPH','Current\x20Version','9rdEyBJ','961916Lforre','623VSsdOg','Restore\x20this\x20version','reverted\x20workbook','set\x20data\x20validation',',\x20etc.','Failed\x20to\x20get\x20edit\x20history\x20list','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','inserted\x20worksheet','1056250vwpTkR','4yMeUSv','4398lcqCxy','add\x20protection','set\x20filter','set\x20frozen','2369256VZtBey','Current\x20User','Restore\x20this\x20version?','2023500GibFTc','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Unknown\x20User','edited\x20worksheet','delete\x20protection','Cancel','Reverted\x20from','set\x20conditional\x20formatting','20469TirouG','Edit\x20History','Reverting,\x20please\x20wait...','add\x20sparkline','add\x20conditional\x20formatting'];_0x33fc=function(){return _0x357cd1;};return _0x33fc();}module['exports']=t;
@@ -1 +1 @@
1
- 'use strict';const _0x5bd1cb=_0x46de;function _0x46de(_0x4485e0,_0x151046){const _0x587a72=_0x587a();return _0x46de=function(_0x46dee3,_0x1ae2a6){_0x46dee3=_0x46dee3-0xfe;let _0xe40e6d=_0x587a72[_0x46dee3];return _0xe40e6d;},_0x46de(_0x4485e0,_0x151046);}(function(_0x32e74d,_0x91f20){const _0x7050d5=_0x46de,_0x5b879b=_0x32e74d();while(!![]){try{const _0x1879c7=-parseInt(_0x7050d5(0x123))/0x1*(parseInt(_0x7050d5(0x10f))/0x2)+-parseInt(_0x7050d5(0x105))/0x3*(-parseInt(_0x7050d5(0x10e))/0x4)+parseInt(_0x7050d5(0x10d))/0x5*(parseInt(_0x7050d5(0xfe))/0x6)+-parseInt(_0x7050d5(0x100))/0x7*(-parseInt(_0x7050d5(0x112))/0x8)+parseInt(_0x7050d5(0x102))/0x9+-parseInt(_0x7050d5(0x107))/0xa+-parseInt(_0x7050d5(0x10b))/0xb*(parseInt(_0x7050d5(0x111))/0xc);if(_0x1879c7===_0x91f20)break;else _0x5b879b['push'](_0x5b879b['shift']());}catch(_0x56ec86){_0x5b879b['push'](_0x5b879b['shift']());}}}(_0x587a,0xc02a4));function _0x587a(){const _0x9dbeb6=['85832keqGnT','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Restore\x20this\x20version','Confirm','Current\x20User','Restore\x20this\x20version?','set\x20conditional\x20formatting','set\x20filter','inserted\x20worksheet','Reverting,\x20please\x20wait...','Edit\x20History','delete\x20protection','add\x20conditional\x20formatting','Current\x20Version','loading,\x20please\x20wait...','Cancel','created\x20workbook','249976QktLLI','8130snpvHL',',\x20etc.','917anHGqF','reverted\x20workbook','11588337QgOMcV','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','set\x20data\x20validation','1407cIkjXq','deleted\x20worksheet','10252310julsBm','set\x20frozen','Unknown\x20User','add\x20sparkline','11MxgacQ','edited\x20worksheet','5755bxtqDN','7996CPydSz','12bLFmIO','Failed\x20to\x20get\x20edit\x20history\x20list','22536396pKQwwe'];_0x587a=function(){return _0x9dbeb6;};return _0x587a();}const e={'editHistory':{'panel':{'title':_0x5bd1cb(0x11c),'unknownUser':_0x5bd1cb(0x109),'listFetchError':_0x5bd1cb(0x110),'revertConfirm':_0x5bd1cb(0x117),'revertConfirmText':_0x5bd1cb(0x103),'cancel':_0x5bd1cb(0x121),'confirm':_0x5bd1cb(0x115),'reverting':_0x5bd1cb(0x11b),'revertFailed':_0x5bd1cb(0x113),'currentVersion':_0x5bd1cb(0x11f),'currentUser':_0x5bd1cb(0x116),'revertDesc':'Restore\x20this\x20version'},'info':{'loading':_0x5bd1cb(0x120)},'header':{'back':'Back','revert':_0x5bd1cb(0x114)},'action':{'insertSheet':_0x5bd1cb(0x11a),'removeSheet':_0x5bd1cb(0x106),'createSheet':_0x5bd1cb(0x122),'setFilter':_0x5bd1cb(0x119),'setFrozen':_0x5bd1cb(0x108),'editSheet':_0x5bd1cb(0x10c),'revertSheet':_0x5bd1cb(0x101),'revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':_0x5bd1cb(0x104),'setCF':_0x5bd1cb(0x118),'addCF':_0x5bd1cb(0x11e),'addProtection':'add\x20protection','addSparkline':_0x5bd1cb(0x10a),'deleteProtection':_0x5bd1cb(0x11d),'etc':_0x5bd1cb(0xff)}}},t=e;module['exports']=t;
1
+ 'use strict';const _0x1eec3a=_0x3960;(function(_0xe92b88,_0x3035df){const _0x49891a=_0x3960,_0xd04428=_0xe92b88();while(!![]){try{const _0x3c4bab=parseInt(_0x49891a(0x133))/0x1*(parseInt(_0x49891a(0x116))/0x2)+parseInt(_0x49891a(0x127))/0x3+parseInt(_0x49891a(0x12f))/0x4+parseInt(_0x49891a(0x11f))/0x5+parseInt(_0x49891a(0x114))/0x6*(-parseInt(_0x49891a(0x124))/0x7)+-parseInt(_0x49891a(0x119))/0x8+parseInt(_0x49891a(0x132))/0x9*(-parseInt(_0x49891a(0x122))/0xa);if(_0x3c4bab===_0x3035df)break;else _0xd04428['push'](_0xd04428['shift']());}catch(_0x4e41aa){_0xd04428['push'](_0xd04428['shift']());}}}(_0x5910,0x7df3e));function _0x3960(_0x5c2890,_0x32eb0b){const _0x5910d2=_0x5910();return _0x3960=function(_0x3960e3,_0xb25ef1){_0x3960e3=_0x3960e3-0x114;let _0x4a2601=_0x5910d2[_0x3960e3];return _0x4a2601;},_0x3960(_0x5c2890,_0x32eb0b);}function _0x5910(){const _0x5aa5b0=['Failed\x20to\x20get\x20edit\x20history\x20list','inserted\x20worksheet','exports','set\x20data\x20validation','loading,\x20please\x20wait...','2379992pySRzM','Cancel','Unknown\x20User','9lKgyOh','65629cAwRQj','6FUPGSV','created\x20workbook','8LvFooN',',\x20etc.','set\x20frozen','2057984pfWkRL','Restore\x20this\x20version','reverted\x20workbook','Current\x20Version','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Edit\x20History','5094325bsciKa','edited\x20worksheet','set\x20filter','12791510QKBDQN','Reverting,\x20please\x20wait...','5238002OZjKDy','add\x20protection','add\x20sparkline','2772624KDSfDy','deleted\x20worksheet','Restore\x20this\x20version?'];_0x5910=function(){return _0x5aa5b0;};return _0x5910();}const e={'editHistory':{'panel':{'title':_0x1eec3a(0x11e),'unknownUser':_0x1eec3a(0x131),'listFetchError':_0x1eec3a(0x12a),'revertConfirm':_0x1eec3a(0x129),'revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':_0x1eec3a(0x130),'confirm':'Confirm','reverting':_0x1eec3a(0x123),'revertFailed':_0x1eec3a(0x11d),'currentVersion':_0x1eec3a(0x11c),'currentUser':'Current\x20User','revertDesc':_0x1eec3a(0x11a)},'info':{'loading':_0x1eec3a(0x12e)},'header':{'back':'Back','revert':_0x1eec3a(0x11a)},'action':{'insertSheet':_0x1eec3a(0x12b),'removeSheet':_0x1eec3a(0x128),'createSheet':_0x1eec3a(0x115),'setFilter':_0x1eec3a(0x121),'setFrozen':_0x1eec3a(0x118),'editSheet':_0x1eec3a(0x120),'revertSheet':_0x1eec3a(0x11b),'revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':_0x1eec3a(0x12d),'setCF':'set\x20conditional\x20formatting','addCF':'add\x20conditional\x20formatting','addProtection':_0x1eec3a(0x125),'addSparkline':_0x1eec3a(0x126),'deleteProtection':'delete\x20protection','etc':_0x1eec3a(0x117)}}},t=e;module[_0x1eec3a(0x12c)]=t;
@@ -1 +1 @@
1
- 'use strict';const _0x26d620=_0x18ed;function _0x3c0f(){const _0x24c104=['还原到此版本','设置了筛选','冻结了工作表','5274foUMEX','exports','30348MEMecb','还原到此版本?','获取编辑历史记录列表失败','该文档将会被还原到选中版本','10847KxueuK','历史记录','未知错误,请刷新页面查看还原结果','加载中,请稍等...','正在还原,请稍等...','删除了工作表','4kaYCmr','未知用户','4622466UiiKhz','插入了工作表','334296XFIrLU','设置了条件格式','移除了保护范围','当前版本','3091NWMgJU','77gjbTSI','3728350RWbRyX','134PRkOYj','1236624vMLgtH','添加了条件格式','6740ZCbBlc','添加了迷你图','还原了','的版本','添加了保护范围'];_0x3c0f=function(){return _0x24c104;};return _0x3c0f();}(function(_0x518265,_0x553cbb){const _0x1357a0=_0x18ed,_0x1f2d67=_0x518265();while(!![]){try{const _0x81effe=parseInt(_0x1357a0(0x1e4))/0x1*(parseInt(_0x1357a0(0x1f5))/0x2)+parseInt(_0x1357a0(0x1f6))/0x3+-parseInt(_0x1357a0(0x1ea))/0x4*(-parseInt(_0x1357a0(0x1f4))/0x5)+-parseInt(_0x1357a0(0x1ec))/0x6+parseInt(_0x1357a0(0x1f3))/0x7*(parseInt(_0x1357a0(0x1ee))/0x8)+parseInt(_0x1357a0(0x1de))/0x9*(-parseInt(_0x1357a0(0x1f8))/0xa)+-parseInt(_0x1357a0(0x1f2))/0xb*(parseInt(_0x1357a0(0x1e0))/0xc);if(_0x81effe===_0x553cbb)break;else _0x1f2d67['push'](_0x1f2d67['shift']());}catch(_0x53ea78){_0x1f2d67['push'](_0x1f2d67['shift']());}}}(_0x3c0f,0x72524));const e={'editHistory':{'panel':{'title':_0x26d620(0x1e5),'unknownUser':_0x26d620(0x1eb),'listFetchError':_0x26d620(0x1e2),'revertConfirm':_0x26d620(0x1e1),'revertConfirmText':_0x26d620(0x1e3),'cancel':'取消','confirm':'确认','reverting':_0x26d620(0x1e8),'revertFailed':_0x26d620(0x1e6),'currentVersion':_0x26d620(0x1f1),'currentUser':'当前用户','revertDesc':_0x26d620(0x1db)},'info':{'loading':_0x26d620(0x1e7)},'header':{'back':'返回','revert':'还原到此版本'},'action':{'insertSheet':_0x26d620(0x1ed),'removeSheet':_0x26d620(0x1e9),'createSheet':'创建了工作表','setFilter':_0x26d620(0x1dc),'setFrozen':_0x26d620(0x1dd),'editSheet':'编辑了工作表','revertSheet':'还原了版本','revertSheetPrefix':_0x26d620(0x1fa),'revertSheetSuffix':_0x26d620(0x1fb),'setDV':'设置了数据验证','setCF':_0x26d620(0x1ef),'addCF':_0x26d620(0x1f7),'addProtection':_0x26d620(0x1fc),'addSparkline':_0x26d620(0x1f9),'deleteProtection':_0x26d620(0x1f0),'etc':',等'}}};function _0x18ed(_0x497ec1,_0x3f7e9e){const _0x3c0f52=_0x3c0f();return _0x18ed=function(_0x18edca,_0x3ce1fd){_0x18edca=_0x18edca-0x1db;let _0x242550=_0x3c0f52[_0x18edca];return _0x242550;},_0x18ed(_0x497ec1,_0x3f7e9e);}module[_0x26d620(0x1df)]=e;
1
+ 'use strict';function _0x3ab3(_0x577542,_0x287077){const _0x4538f7=_0x4538();return _0x3ab3=function(_0x3ab3a1,_0x380a74){_0x3ab3a1=_0x3ab3a1-0x11f;let _0x5da071=_0x4538f7[_0x3ab3a1];return _0x5da071;},_0x3ab3(_0x577542,_0x287077);}const _0x495675=_0x3ab3;(function(_0x4ffb56,_0x29729d){const _0x11d6ae=_0x3ab3,_0x15e58d=_0x4ffb56();while(!![]){try{const _0x258169=-parseInt(_0x11d6ae(0x12c))/0x1+-parseInt(_0x11d6ae(0x122))/0x2+-parseInt(_0x11d6ae(0x127))/0x3*(parseInt(_0x11d6ae(0x12a))/0x4)+-parseInt(_0x11d6ae(0x133))/0x5+parseInt(_0x11d6ae(0x12f))/0x6*(-parseInt(_0x11d6ae(0x128))/0x7)+-parseInt(_0x11d6ae(0x121))/0x8+parseInt(_0x11d6ae(0x138))/0x9;if(_0x258169===_0x29729d)break;else _0x15e58d['push'](_0x15e58d['shift']());}catch(_0x1f21ce){_0x15e58d['push'](_0x15e58d['shift']());}}}(_0x4538,0x9e8ef));function _0x4538(){const _0x3ad115=['设置了条件格式','111udoVvl','35hTZeaM','移除了保护范围','52388nopcNh','删除了工作表','699154BbBPpr','还原到此版本?','插入了工作表','765030HJvBnc','冻结了工作表','添加了迷你图','历史记录','2398280ZnEpkF','还原到此版本','该文档将会被还原到选中版本','还原了','获取编辑历史记录列表失败','45253152rxvDYv','加载中,请稍等...','正在还原,请稍等...','添加了条件格式','设置了筛选','当前用户','6363616uyqQxD','2564594bAFeXG','exports','未知错误,请刷新页面查看还原结果','添加了保护范围'];_0x4538=function(){return _0x3ad115;};return _0x4538();}const e={'editHistory':{'panel':{'title':_0x495675(0x132),'unknownUser':'未知用户','listFetchError':_0x495675(0x137),'revertConfirm':_0x495675(0x12d),'revertConfirmText':_0x495675(0x135),'cancel':'取消','confirm':'确认','reverting':_0x495675(0x13a),'revertFailed':_0x495675(0x124),'currentVersion':'当前版本','currentUser':_0x495675(0x120),'revertDesc':'还原到此版本'},'info':{'loading':_0x495675(0x139)},'header':{'back':'返回','revert':_0x495675(0x134)},'action':{'insertSheet':_0x495675(0x12e),'removeSheet':_0x495675(0x12b),'createSheet':'创建了工作表','setFilter':_0x495675(0x11f),'setFrozen':_0x495675(0x130),'editSheet':'编辑了工作表','revertSheet':'还原了版本','revertSheetPrefix':_0x495675(0x136),'revertSheetSuffix':'的版本','setDV':'设置了数据验证','setCF':_0x495675(0x126),'addCF':_0x495675(0x13b),'addProtection':_0x495675(0x125),'addSparkline':_0x495675(0x131),'deleteProtection':_0x495675(0x129),'etc':',等'}}};module[_0x495675(0x123)]=e;
@@ -1 +1 @@
1
- 'use strict';const _0x1b2db2=_0x1cee;(function(_0x5be3be,_0x248e3c){const _0x26127e=_0x1cee,_0x20d450=_0x5be3be();while(!![]){try{const _0x3f5ace=parseInt(_0x26127e(0xd9))/0x1+-parseInt(_0x26127e(0xea))/0x2+parseInt(_0x26127e(0xe5))/0x3*(parseInt(_0x26127e(0xe9))/0x4)+parseInt(_0x26127e(0xee))/0x5*(-parseInt(_0x26127e(0xda))/0x6)+-parseInt(_0x26127e(0xd7))/0x7*(parseInt(_0x26127e(0xd8))/0x8)+-parseInt(_0x26127e(0xde))/0x9*(-parseInt(_0x26127e(0xdd))/0xa)+parseInt(_0x26127e(0xf2))/0xb;if(_0x3f5ace===_0x248e3c)break;else _0x20d450['push'](_0x20d450['shift']());}catch(_0x105e18){_0x20d450['push'](_0x20d450['shift']());}}}(_0x233c,0xde951));function _0x1cee(_0x2a743c,_0x268665){const _0x233c42=_0x233c();return _0x1cee=function(_0x1cee15,_0x179e22){_0x1cee15=_0x1cee15-0xd4;let _0x385c1a=_0x233c42[_0x1cee15];return _0x385c1a;},_0x1cee(_0x2a743c,_0x268665);}function _0x233c(){const _0x22eb44=['This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','Current\x20Version','Restore\x20this\x20version','8306529soiSKy','Reverted\x20from','reverted\x20workbook','set\x20filter','507206dVgtLv','8XRmjhf','20470EBaiVw','12hPoPpk','set\x20conditional\x20formatting','set\x20data\x20validation','11703350IhIfHG','9KTTCHm','delete\x20protection','deleted\x20worksheet','Restore\x20this\x20version?','add\x20protection','Confirm','inserted\x20worksheet','6WadVFt','Current\x20User','Edit\x20History','Failed\x20to\x20get\x20edit\x20history\x20list','1357316eiGmoj','1513386AUzdHk','set\x20frozen','loading,\x20please\x20wait...','exports','2209385ZKKgCy'];_0x233c=function(){return _0x22eb44;};return _0x233c();}const e={'editHistory':{'panel':{'title':_0x1b2db2(0xe7),'unknownUser':'Unknown\x20User','listFetchError':_0x1b2db2(0xe8),'revertConfirm':_0x1b2db2(0xe1),'revertConfirmText':_0x1b2db2(0xef),'cancel':'Cancel','confirm':_0x1b2db2(0xe3),'reverting':'Reverting,\x20please\x20wait...','revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':_0x1b2db2(0xf0),'currentUser':_0x1b2db2(0xe6),'revertDesc':'Restore\x20this\x20version'},'info':{'loading':_0x1b2db2(0xec)},'header':{'back':'Back','revert':_0x1b2db2(0xf1)},'action':{'insertSheet':_0x1b2db2(0xe4),'removeSheet':_0x1b2db2(0xe0),'createSheet':'created\x20workbook','setFilter':_0x1b2db2(0xd6),'setFrozen':_0x1b2db2(0xeb),'editSheet':'edited\x20worksheet','revertSheet':_0x1b2db2(0xd5),'revertSheetPrefix':_0x1b2db2(0xd4),'revertSheetSuffix':'','setDV':_0x1b2db2(0xdc),'setCF':_0x1b2db2(0xdb),'addCF':'add\x20conditional\x20formatting','addProtection':_0x1b2db2(0xe2),'addSparkline':'add\x20sparkline','deleteProtection':_0x1b2db2(0xdf),'etc':',\x20etc.'}}},t=e;module[_0x1b2db2(0xed)]=t;
1
+ 'use strict';const _0x505bcd=_0x3273;function _0x37f2(){const _0xa1bcc1=['created\x20workbook','378072DxUzHF','add\x20sparkline','Edit\x20History','Unknown\x20User','13777848GyWtml','Current\x20Version','Restore\x20this\x20version?','1361342dUYQfR','1231840HZRXVJ','Cancel','deleted\x20worksheet','Confirm','Failed\x20to\x20get\x20edit\x20history\x20list','delete\x20protection','inserted\x20worksheet','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','5124471PoQUvF','add\x20conditional\x20formatting','set\x20conditional\x20formatting','6166716iAzYuW','exports','Reverting,\x20please\x20wait...',',\x20etc.','set\x20data\x20validation','loading,\x20please\x20wait...','84zUWhgj','6068350KrzGpT','Back','edited\x20worksheet','Restore\x20this\x20version'];_0x37f2=function(){return _0xa1bcc1;};return _0x37f2();}(function(_0x551a76,_0x4c222e){const _0x5f2d9e=_0x3273,_0x2c2d2b=_0x551a76();while(!![]){try{const _0x48c768=parseInt(_0x5f2d9e(0xc5))/0x1+parseInt(_0x5f2d9e(0xc6))/0x2+-parseInt(_0x5f2d9e(0xcf))/0x3+-parseInt(_0x5f2d9e(0xd2))/0x4+parseInt(_0x5f2d9e(0xd9))/0x5+parseInt(_0x5f2d9e(0xde))/0x6*(-parseInt(_0x5f2d9e(0xd8))/0x7)+parseInt(_0x5f2d9e(0xc2))/0x8;if(_0x48c768===_0x4c222e)break;else _0x2c2d2b['push'](_0x2c2d2b['shift']());}catch(_0x2282ec){_0x2c2d2b['push'](_0x2c2d2b['shift']());}}}(_0x37f2,0xdd7af));function _0x3273(_0x2ffc28,_0x2993b1){const _0x37f2eb=_0x37f2();return _0x3273=function(_0x327381,_0x23dd4e){_0x327381=_0x327381-0xc0;let _0x3daad8=_0x37f2eb[_0x327381];return _0x3daad8;},_0x3273(_0x2ffc28,_0x2993b1);}const e={'editHistory':{'panel':{'title':_0x505bcd(0xc0),'unknownUser':_0x505bcd(0xc1),'listFetchError':_0x505bcd(0xca),'revertConfirm':_0x505bcd(0xc4),'revertConfirmText':_0x505bcd(0xce),'cancel':_0x505bcd(0xc7),'confirm':_0x505bcd(0xc9),'reverting':_0x505bcd(0xd4),'revertFailed':_0x505bcd(0xcd),'currentVersion':_0x505bcd(0xc3),'currentUser':'Current\x20User','revertDesc':_0x505bcd(0xdc)},'info':{'loading':_0x505bcd(0xd7)},'header':{'back':_0x505bcd(0xda),'revert':_0x505bcd(0xdc)},'action':{'insertSheet':_0x505bcd(0xcc),'removeSheet':_0x505bcd(0xc8),'createSheet':_0x505bcd(0xdd),'setFilter':'set\x20filter','setFrozen':'set\x20frozen','editSheet':_0x505bcd(0xdb),'revertSheet':'reverted\x20workbook','revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':_0x505bcd(0xd6),'setCF':_0x505bcd(0xd1),'addCF':_0x505bcd(0xd0),'addProtection':'add\x20protection','addSparkline':_0x505bcd(0xdf),'deleteProtection':_0x505bcd(0xcb),'etc':_0x505bcd(0xd5)}}},t=e;module[_0x505bcd(0xd3)]=t;
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x3671b9=_0x4337;(function(_0x2b1c7f,_0x4b42bf){const _0x4c9781=_0x4337,_0x4babac=_0x2b1c7f();while(!![]){try{const _0x569383=parseInt(_0x4c9781(0x215))/0x1*(parseInt(_0x4c9781(0x11c))/0x2)+parseInt(_0x4c9781(0x18e))/0x3+-parseInt(_0x4c9781(0x294))/0x4*(-parseInt(_0x4c9781(0x150))/0x5)+parseInt(_0x4c9781(0x2a4))/0x6*(-parseInt(_0x4c9781(0x246))/0x7)+parseInt(_0x4c9781(0x148))/0x8+parseInt(_0x4c9781(0x29b))/0x9+-parseInt(_0x4c9781(0x122))/0xa;if(_0x569383===_0x4b42bf)break;else _0x4babac['push'](_0x4babac['shift']());}catch(_0x2b5cd8){_0x4babac['push'](_0x4babac['shift']());}}}(_0x4979,0xe3e62));var Fe=Object[_0x3671b9(0x1a5)],Ye=(_0x50d7f0,_0x41ab93,_0x217c02)=>_0x41ab93 in _0x50d7f0?Fe(_0x50d7f0,_0x41ab93,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x217c02}):_0x50d7f0[_0x41ab93]=_0x217c02,l=(_0x5548f4,_0x2a995a,_0x3e312a)=>Ye(_0x5548f4,typeof _0x2a995a!=_0x3671b9(0x1ec)?_0x2a995a+'':_0x2a995a,_0x3e312a);import{RevertRevisionMutation as _0x3938ef,CreateUnitMutation as _0x366bde,ISnapshotServerService as _0x4d19af,CompressMutationService as _0x122f23,transformSnapshotToWorkbookData as _0x458b0e,ITransformService as _0xe20cbd,parseProtocolChangeset as _0x3b6198,isTransformMutationsSuccess as _0xcab15}from'@univerjs-pro/collaboration';import{SnapshotServerOverHTTPService as _0x433c72,CollaborationImageIoService as _0x3fdcad}from'@univerjs-pro/collaboration-client';import{Disposable as _0x587ade,LocaleType as _0x22b624,IUniverInstanceService as _0x5f54c2,ICommandService as _0x2607ee,IConfigService as _0x2f1556,Inject as _0x3b34a7,UniverInstanceType as _0x232445,LocaleService as _0x2a3e90,IPermissionService as _0x57b379,Injector as _0xcc3682,ObjectMatrix as _0x290a60,debounce as _0x5858ea,DisposableCollection as _0x16772a,toDisposable as _0xfed24a,DependentOn as _0x3d14f4,Plugin as _0x20bddf,merge as _0xd200a5}from'@univerjs/core';import{IImageIoService as _0x1eff1f}from'@univerjs/drawing';import{IRenderManagerService as _0x14921b,Vector2 as _0x13506d,SHEET_VIEWPORT_KEY as _0x5efac4}from'@univerjs/engine-render';import{HTTPService as _0x33ec51,UniverNetworkPlugin as _0xa026c8}from'@univerjs/network';import{ICellEditorManagerService as _0xb9d68a,SheetSkeletonManagerService as _0x11909c,getCoordByCell as _0x266461,getSheetObject as _0x378f9e,UniverSheetsUIPlugin as _0x452d19}from'@univerjs/sheets-ui';import{IMessageService as _0xda9cb5,IConfirmService as _0x3111ea,useDependency as _0xbfb901,useObservable as _0x37e168,IUIPartsService as _0xbceaae,BuiltInUIPart as _0x468b68,connectInjector as _0x289ce6,ISidebarService as _0x3d34cd,ComponentManager as _0x38be49,IDialogService as _0x56bb9e}from'@univerjs/ui';import{MessageType as _0x49305d,clsx as _0x29bbf0,Button as _0x23ef70,borderBottomClassName as _0x4b8be7,Tooltip as _0x389a05}from'@univerjs/design';import{InsertSheetMutation as _0x1bd1a5,RemoveSheetMutation as _0x59aa77,SetFrozenMutation as _0xf96a47,AddWorksheetProtectionMutation as _0x5e988e,AddRangeProtectionMutation as _0x38045e,DeleteRangeProtectionMutation as _0x4f6c6a,DeleteWorksheetProtectionMutation as _0x4f303c,SheetPermissionInitController as _0x5289f6,WorkbookEditablePermission as _0x1f5dec,WorkbookRenameSheetPermission as _0x3eb1f1,WorkbookMoveSheetPermission as _0x2d46b6,WorkbookHideSheetPermission as _0x56d8b6,SetWorksheetHideMutation as _0x3f70e3,SetRangeValuesMutation as _0x4bb022,SetRangeProtectionMutation as _0x336dc3,ReorderRangeMutation as _0x4b5937,RemoveNumfmtMutation as _0x2fad85,SetNumfmtMutation as _0x254b28,MoveColsMutation as _0x549387,MoveRowsMutation as _0x3bf157,MoveRangeMutation as _0x2b0385,InsertColMutation as _0x573cb4,InsertRowMutation as _0x2f9599,AddWorksheetMergeMutation as _0x4f2d8e,RangeMergeUtil as _0x35d8ad,findAllRectangle as _0x356584,SetWorksheetActiveOperation as _0x55ccc8}from'@univerjs/sheets';import{BehaviorSubject as _0x3920ef,combineLatest as _0x3c2cf2,switchMap as _0x25e157,map as _0x3484bf,of as _0x3711e1,debounceTime as _0x15997d,Subject as _0xb39147}from'rxjs';import{AddSheetSparklineMutation as _0x2d2ae3}from'@univerjs-pro/sheets-sparkline';import{AddDataValidationMutation as _0x3e3162,UpdateDataValidationMutation as _0x30859f}from'@univerjs/data-validation';import{SetConditionalRuleMutation as _0x54cacb,AddConditionalRuleMutation as _0x1323b9}from'@univerjs/sheets-conditional-formatting';import{SetSheetsFilterRangeMutation as _0x8a3317}from'@univerjs/sheets-filter';import{jsxs as _0x1873c3,jsx as _0x42d6d4}from'react/jsx-runtime';import{forwardRef as _0xf7d3d7,useRef as _0x393a1e,createElement as _0x4d2297,useCallback as _0x4a9ffb,useState as _0xff519c,Fragment as _0xbcc4e1}from'react';import{SheetCollabCursorShape as _0x28db5c}from'@univerjs-pro/collaboration-client-ui';const we=_0x3671b9(0x276),_e={};var is=Object[_0x3671b9(0x261)],rs=(_0x18a7d8,_0x4e29f5,_0x29c62a,_0xcf1ce5)=>{const _0x4554eb=_0x3671b9;for(var _0x300a39=_0xcf1ce5>0x1?void 0x0:_0xcf1ce5?is(_0x4e29f5,_0x29c62a):_0x4e29f5,_0x1012b0=_0x18a7d8[_0x4554eb(0x280)]-0x1,_0x1559f2;_0x1012b0>=0x0;_0x1012b0--)(_0x1559f2=_0x18a7d8[_0x1012b0])&&(_0x300a39=_0x1559f2(_0x300a39)||_0x300a39);return _0x300a39;},ns=(_0x3376b0,_0x17daa2)=>(_0x45797c,_0x36cf25)=>_0x17daa2(_0x45797c,_0x36cf25,_0x3376b0);let H=class extends _0x587ade{constructor(_0x2a6e89){const _0x4669cf=_0x3671b9;super(),this[_0x4669cf(0x15f)]=_0x2a6e89,this[_0x4669cf(0x1cd)]();}[_0x3671b9(0x1cd)](){const _0x476c6a=_0x3671b9;this['disposeWithMe'](this['_cellEditorManagerService'][_0x476c6a(0x252)][_0x476c6a(0x28d)](_0x4e6f1c=>{const _0x2b0d5b=_0x476c6a;_0x4e6f1c!=null&&_0x4e6f1c[_0x2b0d5b(0x161)]&&this[_0x2b0d5b(0x15f)][_0x2b0d5b(0x27c)]({'show':!0x1});}));}};H=rs([ns(0x0,_0xb9d68a)],H);var X=(_0x148178=>(_0x148178[_0x148178['UNDEFINED']=0x0]='UNDEFINED',_0x148178[_0x148178['OK']=0x1]='OK',_0x148178[_0x148178[_0x3671b9(0x144)]=0x2]='INTERNAL_ERROR',_0x148178[_0x148178['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x148178[_0x148178[_0x3671b9(0x1d0)]=0x4]=_0x3671b9(0x1d0),_0x148178[_0x148178['UNAUTHENTICATED']=0x5]=_0x3671b9(0x1eb),_0x148178[_0x148178[_0x3671b9(0x193)]=0x6]='ALREADY_EXISTS',_0x148178[_0x148178['INVALID_ARGUMENT']=0x7]=_0x3671b9(0x287),_0x148178[_0x148178[_0x3671b9(0x17e)]=0x8]=_0x3671b9(0x17e),_0x148178[_0x148178[_0x3671b9(0x169)]=0x9]=_0x3671b9(0x169),_0x148178[_0x148178[_0x3671b9(0x11a)]=0xa]=_0x3671b9(0x11a),_0x148178[_0x148178[_0x3671b9(0x216)]=0xb]=_0x3671b9(0x216),_0x148178[_0x148178['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x3671b9(0x198),_0x148178[_0x148178[_0x3671b9(0x295)]=0xd]=_0x3671b9(0x295),_0x148178[_0x148178[_0x3671b9(0x1d9)]=0xe]=_0x3671b9(0x1d9),_0x148178[_0x148178[_0x3671b9(0x2aa)]=0x1389]=_0x3671b9(0x2aa),_0x148178[_0x148178[_0x3671b9(0x18b)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x148178[_0x148178[_0x3671b9(0x226)]=0x1772]=_0x3671b9(0x226),_0x148178[_0x148178[_0x3671b9(0x212)]=0x1773]=_0x3671b9(0x212),_0x148178[_0x148178[_0x3671b9(0x2b6)]=0x1b59]='APPLY_REJECT',_0x148178[_0x148178[_0x3671b9(0x183)]=0x1b5a]=_0x3671b9(0x183),_0x148178[_0x148178[_0x3671b9(0x23a)]=0x1b5b]=_0x3671b9(0x23a),_0x148178[_0x148178['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3671b9(0x22b),_0x148178[_0x148178[_0x3671b9(0x290)]=0x1b5d]='APPLY_DUPLICATED',_0x148178[_0x148178[_0x3671b9(0x134)]=0x1f41]=_0x3671b9(0x134),_0x148178[_0x148178[_0x3671b9(0x14f)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x148178[_0x148178[_0x3671b9(0x25b)]=0x232a]=_0x3671b9(0x25b),_0x148178[_0x148178[_0x3671b9(0x299)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x148178[_0x148178[_0x3671b9(0x25a)]=0x232c]=_0x3671b9(0x25a),_0x148178[_0x148178['LICENSE_DISTRO_REJECTED']=0x232d]=_0x3671b9(0x156),_0x148178[_0x148178['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x3671b9(0x113),_0x148178[_0x148178[_0x3671b9(0x242)]=0x2712]=_0x3671b9(0x242),_0x148178[_0x148178[_0x3671b9(0x172)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x148178[_0x148178[_0x3671b9(0x211)]=0x2714]=_0x3671b9(0x211),_0x148178[_0x148178['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x3671b9(0x116),_0x148178[_0x148178['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x148178[_0x148178[_0x3671b9(0x153)]=0x271c]=_0x3671b9(0x153),_0x148178[_0x148178['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x3671b9(0x1b3),_0x148178[_0x148178['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x3671b9(0x1b9),_0x148178[_0x148178['YUUMI_AI_RUN_FAILED']=0x271f]=_0x3671b9(0x19e),_0x148178[_0x148178['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x148178[_0x148178[_0x3671b9(0x279)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x148178[_0x148178[_0x3671b9(0x138)]=0x2ee1]=_0x3671b9(0x138),_0x148178[_0x148178[_0x3671b9(0x28b)]=0x2ee2]=_0x3671b9(0x28b),_0x148178[_0x148178['INVITE_CODE_REQUIRED']=0x2ee3]=_0x3671b9(0x2b9),_0x148178[_0x148178[_0x3671b9(0x167)]=0x2ee4]=_0x3671b9(0x167),_0x148178[_0x148178[_0x3671b9(0x272)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x148178[_0x148178[_0x3671b9(0x1ab)]=0x32c9]=_0x3671b9(0x1ab),_0x148178[_0x148178['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x3671b9(0x2a6),_0x148178[_0x148178[_0x3671b9(0x117)]=0x32cb]=_0x3671b9(0x117),_0x148178[_0x148178[_0x3671b9(0x288)]=-0x1]=_0x3671b9(0x288),_0x148178))(X||{}),F=(_0x236167=>(_0x236167[_0x236167[_0x3671b9(0x1ca)]=0x0]=_0x3671b9(0x1ca),_0x236167[_0x236167[_0x3671b9(0x298)]=0x1]='UNIVER_DOC',_0x236167[_0x236167[_0x3671b9(0x174)]=0x2]=_0x3671b9(0x174),_0x236167[_0x236167[_0x3671b9(0x205)]=0x3]=_0x3671b9(0x205),_0x236167[_0x236167['UNIVER_PROJECT']=0x4]=_0x3671b9(0x163),_0x236167[_0x236167[_0x3671b9(0x288)]=-0x1]=_0x3671b9(0x288),_0x236167))(F||{}),D=(_0x552d48=>(_0x552d48[_0x552d48['View']=0x0]=_0x3671b9(0x235),_0x552d48[_0x552d48['Edit']=0x1]='Edit',_0x552d48[_0x552d48['ManageCollaborator']=0x2]=_0x3671b9(0x1fd),_0x552d48[_0x552d48['Print']=0x3]='Print',_0x552d48[_0x552d48[_0x3671b9(0x196)]=0x4]=_0x3671b9(0x196),_0x552d48[_0x552d48['Comment']=0x5]=_0x3671b9(0x1fa),_0x552d48[_0x552d48['Copy']=0x6]='Copy',_0x552d48[_0x552d48[_0x3671b9(0x214)]=0x7]=_0x3671b9(0x214),_0x552d48[_0x552d48[_0x3671b9(0x210)]=0x8]=_0x3671b9(0x210),_0x552d48[_0x552d48[_0x3671b9(0x135)]=0x9]=_0x3671b9(0x135),_0x552d48[_0x552d48[_0x3671b9(0x2ad)]=0xa]=_0x3671b9(0x2ad),_0x552d48[_0x552d48[_0x3671b9(0x17a)]=0xb]=_0x3671b9(0x17a),_0x552d48[_0x552d48[_0x3671b9(0x23f)]=0xc]=_0x3671b9(0x23f),_0x552d48[_0x552d48[_0x3671b9(0x20a)]=0xd]=_0x3671b9(0x20a),_0x552d48[_0x552d48[_0x3671b9(0x201)]=0xe]='SetWorksheetStyle',_0x552d48[_0x552d48[_0x3671b9(0x1aa)]=0xf]=_0x3671b9(0x1aa),_0x552d48[_0x552d48[_0x3671b9(0x1a7)]=0x10]=_0x3671b9(0x1a7),_0x552d48[_0x552d48[_0x3671b9(0x1a8)]=0x11]=_0x3671b9(0x1a8),_0x552d48[_0x552d48[_0x3671b9(0x258)]=0x12]=_0x3671b9(0x258),_0x552d48[_0x552d48[_0x3671b9(0x155)]=0x13]='PivotTable',_0x552d48[_0x552d48[_0x3671b9(0x259)]=0x14]=_0x3671b9(0x259),_0x552d48[_0x552d48['History']=0x15]='History',_0x552d48[_0x552d48[_0x3671b9(0x15d)]=0x16]='RwHgtClWdt',_0x552d48[_0x552d48[_0x3671b9(0x27f)]=0x17]=_0x3671b9(0x27f),_0x552d48[_0x552d48[_0x3671b9(0x1b1)]=0x18]=_0x3671b9(0x1b1),_0x552d48[_0x552d48[_0x3671b9(0x143)]=0x19]='MoveSheet',_0x552d48[_0x552d48['DeleteSheet']=0x1a]=_0x3671b9(0x27b),_0x552d48[_0x552d48[_0x3671b9(0x26b)]=0x1b]='HideSheet',_0x552d48[_0x552d48[_0x3671b9(0x221)]=0x1c]=_0x3671b9(0x221),_0x552d48[_0x552d48['RenameSheet']=0x1d]=_0x3671b9(0x228),_0x552d48[_0x552d48[_0x3671b9(0x263)]=0x1e]=_0x3671b9(0x263),_0x552d48[_0x552d48['SelectProtectedCells']=0x1f]='SelectProtectedCells',_0x552d48[_0x552d48['SelectUnProtectedCells']=0x20]=_0x3671b9(0x247),_0x552d48[_0x552d48[_0x3671b9(0x2c4)]=0x21]=_0x3671b9(0x2c4),_0x552d48[_0x552d48[_0x3671b9(0x1d4)]=0x22]=_0x3671b9(0x1d4),_0x552d48[_0x552d48[_0x3671b9(0x15b)]=0x23]='SetRowStyle',_0x552d48[_0x552d48[_0x3671b9(0x1af)]=0x24]='SetColumnStyle',_0x552d48[_0x552d48[_0x3671b9(0x249)]=0x25]=_0x3671b9(0x249),_0x552d48[_0x552d48['InsertColumn']=0x26]='InsertColumn',_0x552d48[_0x552d48[_0x3671b9(0x157)]=0x27]=_0x3671b9(0x157),_0x552d48[_0x552d48[_0x3671b9(0x207)]=0x28]=_0x3671b9(0x207),_0x552d48[_0x552d48[_0x3671b9(0x2a8)]=0x29]=_0x3671b9(0x2a8),_0x552d48[_0x552d48[_0x3671b9(0x1f4)]=0x2a]=_0x3671b9(0x1f4),_0x552d48[_0x552d48['RecoverHistory']=0x2b]='RecoverHistory',_0x552d48[_0x552d48[_0x3671b9(0x14c)]=0x2c]=_0x3671b9(0x14c),_0x552d48[_0x552d48[_0x3671b9(0x190)]=0x2d]=_0x3671b9(0x190),_0x552d48[_0x552d48[_0x3671b9(0x288)]=-0x1]=_0x3671b9(0x288),_0x552d48))(D||{});function as(_0x33f767){const _0x57db4d=_0x3671b9;return!!(_0x33f767&&_0x33f767['code']&&_0x33f767[_0x57db4d(0x18f)]!==X['OK']&&_0x33f767['code']!=='OK');}const re=(_0xf2cf1a,_0x154b0b)=>{const _0x81043f=_0x3671b9;if(!_0xf2cf1a)return{'date':'','time':''};const _0x501bfc=new Date(_0xf2cf1a),_0x1fbaa7=_0x501bfc[_0x81043f(0x152)]()[_0x81043f(0x229)]('T')[0x0];switch(_0x154b0b){case _0x22b624[_0x81043f(0x2b2)]:return{'date':ee(_0x1fbaa7,_0x154b0b),'time':_0x501bfc[_0x81043f(0x1dd)]()+':'+String(_0x501bfc[_0x81043f(0x2be)]())[_0x81043f(0x283)](0x2,'0')};default:return{'date':ee(_0x1fbaa7,_0x154b0b),'time':_0x501bfc[_0x81043f(0x1dd)]()+':'+_0x501bfc[_0x81043f(0x2be)]()};}},os=(_0x32c297,_0x1970be)=>{const _0x175bdb=_0x3671b9,_0x3b3ca4=_0x32c297[_0x175bdb(0x230)]||_0x1970be['t'](_0x175bdb(0x154));if(_0x32c297[_0x175bdb(0x12d)][_0x175bdb(0x218)](_0x213c1d=>_0x213c1d===_0x3938ef['id'])&&_0x32c297[_0x175bdb(0x1b4)]){const _0x5b53ef=re(_0x32c297[_0x175bdb(0x1b4)],_0x1970be['getCurrentLocale']()),_0x4eef4a=_0x5b53ef[_0x175bdb(0x170)]+'\x20'+_0x5b53ef[_0x175bdb(0x2bf)];return _0x3b3ca4+'\x20'+_0x1970be['t'](_0x175bdb(0x14d))+'\x20'+_0x4eef4a+'\x20'+_0x1970be['t'](_0x175bdb(0x19f));}const _0x453a51=cs(_0x32c297),_0x55711a=_0x453a51[_0x175bdb(0x280)]===0x1?_0x1970be['t'](_0x453a51[0x0]):''+_0x1970be['t'](_0x453a51[0x0])+_0x1970be['t']('editHistory.action.etc');return _0x3b3ca4+'\x20'+_0x55711a;};function cs(_0x5331ef){const _0x39e7fb=_0x3671b9;if(_0x5331ef[_0x39e7fb(0x12d)][_0x39e7fb(0x280)]===0x0)return[''];const _0x467b7c=_0x39e7fb(0x1f5),_0x31d580=_0x467b7c+_0x39e7fb(0x1d8),_0xb38865=[{'id':_0x366bde['id'],'action':_0x467b7c+_0x39e7fb(0x1da)},{'id':_0x3938ef['id'],'action':_0x467b7c+_0x39e7fb(0x1f0)},{'id':_0x1bd1a5['id'],'action':_0x467b7c+_0x39e7fb(0x274)},{'id':_0x59aa77['id'],'action':_0x467b7c+_0x39e7fb(0x208)},{'id':_0xf96a47['id'],'action':_0x467b7c+'setFrozen'},{'id':_0x8a3317['id'],'action':_0x467b7c+_0x39e7fb(0x2bd)},{'id':_0x3e3162['id'],'action':_0x467b7c+_0x39e7fb(0x1fc)},{'id':_0x30859f['id'],'action':_0x467b7c+'setDV'},{'id':_0x54cacb['id'],'action':_0x467b7c+_0x39e7fb(0x1a0)},{'id':_0x1323b9['id'],'action':_0x467b7c+_0x39e7fb(0x1a0)},{'id':_0x5e988e['id'],'action':_0x467b7c+_0x39e7fb(0x292)},{'id':_0x38045e['id'],'action':_0x467b7c+'addProtection'},{'id':_0x2d2ae3['id'],'action':_0x467b7c+_0x39e7fb(0x1b0)},{'id':_0x4f6c6a['id'],'action':_0x467b7c+_0x39e7fb(0x180)},{'id':_0x4f303c['id'],'action':_0x467b7c+_0x39e7fb(0x180)}][_0x39e7fb(0x13f)](_0x1c51bb=>_0x5331ef['commands'][_0x39e7fb(0x22c)](_0x1c51bb['id']));return _0xb38865!=null&&_0xb38865['length']?_0xb38865['map'](_0x25d414=>_0x25d414[_0x39e7fb(0x251)]):[_0x31d580];}function _0x4979(){const _0x5f41d9=['width','mask','call','APPLY_REJECT','hidden','trim','INVITE_CODE_REQUIRED','_configService','entries','setConfig','setFilter','getMinutes','time','row','getOwnPropertySymbols','_versions$','Info','SetCellStyle','blockMeta','indexOf','userID','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','_getAPIPrefix','registerComponent','getCurrentLocale','open','concat','YUUMI_UNABLE_LOAD_URL','Loading','style','YUUMI_NO_CUBOID_FOR_QUESTION','EMAIL_HAS_BEEN_BOUND','createElement','Today','LOGIN_FAILED','center','1373050BwZttf','assign','univer-flex\x20univer-items-center\x20univer-justify-center','colorChannel1','forEach','substring','12583090ZUXsqR','_historyFetchService','univer-m-auto\x20univer-animate-spin','interceptor','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','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','Entered','entered','triggerRevert','1000','historyListServerUrl','commands','endRow','loading','cellValue','RestoreIcon','_createUnit','getUnitOnRev','CONNECTOR_DATA_TOO_LARGE','MoveWorksheet','ranges','values','INVITE_CODE_HAS_BEEN_UES','_sheetSkeletonManagerService','_combineRanges','confirm','primary','canRevert','dispose','filter','height','getVersions','editHistory.panel.listFetchError','MoveSheet','INTERNAL_ERROR','blocks','sheetId','string','353080hpwxMj','evenodd','column','find','ViewHistory','editHistory.action.revertSheetPrefix','icon','LICENSE_MAX_UNITS_EXCEEDED','55285DIzPlI','attrs','toISOString','YUUMI_TABLE_NOT_FOUND_IN_UNIT','editHistory.panel.unknownUser','PivotTable','LICENSE_DISTRO_REJECTED','DeleteRow','entities','univer-ml-2.5\x20univer-flex\x20univer-h-8\x20univer-w-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','triggerLoadSheet','SetRowStyle','triggerLoadVersions','RwHgtClWdt','userId','_cellEditorManagerService','isArray','show','value','UNIVER_PROJECT','updatePermissionPoint','_loadingState$','confirm-revert-revision','USER_NOT_INVITED_CODE','_workbookDataCache','COMPLETION_FINISHED','transformMutations','_historyManagerService','_transformMutationByOrder','forValue','merge','BackIcon','date',':\x20(','YUUMI_RATE_OVER_LIMIT','_univerInstanceService','UNIVER_SHEET','skeleton','http://www.w3.org/2000/svg','append','unitId','loadingState','HideWorksheet','subUnitId','getViewport','onPointerMove$','TOO_MANY_REQUESTS','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','deleteProtection','_openPanel','apply','APPLY_NON_SEQUENTIAL_REVISION','univerjs-icon\x20univerjs-icon-','fetchMissingChangesets','_canRevert','getDialogs$','position','LoadingMultiIcon','editHistory.header.revert','SNAPSHOT_INVALID_SNAPSHOT','displayName','Loaded','806964mtpwrA','code','CreatePermissionObject','asObservable','getVpScrollXYInfoByPosToVp','ALREADY_EXISTS','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','setValue','Duplicate','startRevision','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','unitId$','map','history-mask','workbook','_getActiveSubUnitId','YUUMI_AI_RUN_FAILED','editHistory.action.revertSheetSuffix','setCF','_hasMore','rule','startRow','top','defineProperty','_transformService','InsertHyperlink','Sort','getMember','EditWorksheetCell','WECHAT_HAS_BEEN_BOUND','univer-animate-spin','url(#$1','_currentVersionDiff$','SetColumnStyle','addSparkline','ViewFilter','_lastPointer','YUUMI_ALL_TABLES_IS_INVALID','recoverTime','_renderManagerService','versions','_localeService','_fetching','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','createTime','_updateDiffMarks','editHistory.panel.revertConfirmText','getUnitId','replace','extend','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-flex-col\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-px-4\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','registerRenderModule','getConfig','disposeWithMe','_dialogOptions$','_revertRevision$','loadMoreVersions','init','editHistory.panel.revertConfirm','UNIVER_UNKNOWN','mutations','active','_init','command','clipPath','NOT_FOUND','toString','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','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','SetCellValue','_historyContainerId','getVersion','univer-overflow-hidden','editSheet','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','createSheet','_getRangesByMutation','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','getHours','propertyIsEnumerable','_unitId$','getDeserializedSheetBlock','flex','_context','_extractRanges','rgba(225,\x20225,\x20225,\x200.5)','currentSkeleton$','subscribeEvent','editHistory.info.loading','getCurrentVersion','tag','subType','UNAUTHENTICATED','symbol','makeDirty','white','set','revertSheet','display','from','xlink:href','Delete','editHistory.action.','getInterceptPoints','disposeUnit','ensureVersion','div','Comment','executeCommand','setDV','ManageCollaborator','idSuffix','color','restore-icon_clip0_1247_2','SetWorksheetStyle','.univer-app-container-content','_uiPartsService','pluginName','UNIVER_SLIDE','scrollEvent$','DeleteColumn','removeSheet','endRevision','CreateWorksheet','VIEW_MAIN','name','prototype','hideMask','currentVersion','Export','YUUMI_SUBSCRIPTION_NOT_FOUND','ENSURE_SNAPSHOT_EXECUTION','Exited','Share','1Hwcbgr','MOBILE_VERIFY_CODE_MISMATCH','endRev','some','_versionDiffService','_lastLabel','getAncestorScale','0\x200\x2016\x2016','_injector','FromArray','pipe','error','CopySheet','_createMask','&lastLabel=','keys','random','SNAPSHOT_HAS_BEEN_REMOVED','_httpService','RenameSheet','split','hasOwnProperty','APPLY_PERMISSION_DENIED','includes','getCellPositionByOffset','_permissionService','span','user','_updateVersions','_config','_commandService','univer-text-2xl\x20dark:univer-text-white','View','_sidebarDisposable','_members','rect','justifyContent','APPLY_REVISION_CONFILICT','_initActiveSwitch','all','Init','100%','RenameWorksheet','currentVersion$','params','YUUMI_URL_COL_OUT_OF_RANGE','now','1em','push','14JIQAwL','SelectUnProtectedCells','next','InsertRow','_compressMutationService','endColumn','backgroundColor','block','none','#0B9EFB','_sheetPermissionInitController','action','state$','history-panel','getRelativeToViewportCoord','_status$','_messageService','m1Prime','Filter','FloatImg','LICENSE_EXPORT_SIZE_EXCEEDED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_sidebarService','url(#restore-icon_clip0_1247_2)','path','defIds','showMask','getOwnPropertyDescriptor','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','CreateSheet','flat','/list?length=20','rules','_removeDiffMarks','restore-icon','defs','_getSheetObject','HideSheet','exited','loadSheet','has','_snapshotServerService','Error','zIndex','INVITE_CODE_ALREADY_BOUND','onMouseMove','insertSheet','_maskElement','edit-history-viewer.config','memberId','getCurrent','PY_RUNTIME_SCRIPT_ERROR','editHistory.panel.currentVersion','DeleteSheet','setState','_initMaskContainer','getElementById','ViemRwHgtClWdt','length','_diffRangesMap','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','padStart','get','_maskContainer','onSteady','INVALID_ARGUMENT','UNRECOGNIZED','versions$','sheet','INVALID_INVITE_CODE','range','subscribe','dateString','status','APPLY_DUPLICATED','back-icon','addProtection','children','556YYCBOc','EMAIL_VERIFY_CODE_MISMATCH','rgba(58,\x2096,\x20247,\x200.20)','body','UNIVER_DOC','LICENSE_IMPORT_SIZE_EXCEEDED','startColumn','8693856xQAkYF','_diffs','_currentVersion$','clear','parse','_initRender','editHistory.panel.currentUser','className','currentVersionDiff$','3932316jIpFnG','_confirmService','MOBILE_HAS_BEEN_BOUND','fetchThroughInterceptors','EditExtraObject','_initPanel','CHANGESET_REVISION_CONFILICT','add','loadingState$','DeleteWorksheet','svg','0\x200\x2016\x2017','loading-multi-icon','Edit','ZH_CN'];_0x4979=function(){return _0x5f41d9;};return _0x4979();}function ee(_0x4e5b47,_0x367dde){const _0x39e91a=_0x3671b9,[_0x45df37,_0x54e53a,_0x1376a4]=new Date()['toISOString']()[_0x39e91a(0x229)]('T')[0x0]['split']('-'),[_0x31fd41,_0x2377a8,_0x2a98f8]=_0x4e5b47[_0x39e91a(0x229)]('-'),_0x633a78=_0x45df37===_0x31fd41&&_0x54e53a===_0x2377a8&&_0x1376a4===_0x2a98f8;let _0x2893e5='',_0x3cf358='',_0x560d6e='';switch(_0x367dde){case _0x22b624[_0x39e91a(0x2b2)]:return _0x633a78?'今天':(_0x2893e5=_0x45df37===_0x31fd41?'':_0x31fd41+'年',_0x3cf358=_0x2377a8+'月',_0x560d6e=_0x2a98f8+'日',''+_0x2893e5+_0x3cf358+_0x560d6e);default:return _0x633a78?_0x39e91a(0x119):(_0x2893e5=_0x45df37===_0x31fd41?'':_0x31fd41+'-',_0x3cf358=_0x2377a8+'-',_0x560d6e=''+_0x2a98f8,''+_0x2893e5+_0x3cf358+_0x560d6e);}}function ls(_0x3d83cc){return _0x3d83cc?_0x3d83cc['reduce']((_0x301d9c,_0x508b78)=>{const _0x622143=_0x4337,_0x1f2e2d=new Date(_0x508b78['time'])[_0x622143(0x152)]()[_0x622143(0x229)]('T')[0x0];return _0x301d9c['length']>0x0&&_0x301d9c[_0x301d9c['length']-0x1][_0x622143(0x28e)]===_0x1f2e2d?_0x301d9c[_0x301d9c[_0x622143(0x280)]-0x1]['versions'][_0x622143(0x245)](_0x508b78):_0x301d9c[_0x622143(0x245)]({'dateString':_0x1f2e2d,'versions':[_0x508b78]}),_0x301d9c;},[]):[];}var us=Object[_0x3671b9(0x261)],_s=(_0x1d1b0a,_0xb09985,_0x1b8aed,_0x544da7)=>{const _0x4035d3=_0x3671b9;for(var _0x50dcf1=_0x544da7>0x1?void 0x0:_0x544da7?us(_0xb09985,_0x1b8aed):_0xb09985,_0x8e31b4=_0x1d1b0a[_0x4035d3(0x280)]-0x1,_0x59240f;_0x8e31b4>=0x0;_0x8e31b4--)(_0x59240f=_0x1d1b0a[_0x8e31b4])&&(_0x50dcf1=_0x59240f(_0x50dcf1)||_0x50dcf1);return _0x50dcf1;},N=(_0x1a8946,_0x265edb)=>(_0x4358b1,_0x59f9d4)=>_0x265edb(_0x4358b1,_0x59f9d4,_0x1a8946);const hs='/universer-api/history';let Y=class extends _0x587ade{constructor(_0x38a89d,_0x196c6d,_0x48e83a,_0x3d2bed,_0x31fd43,_0xb2e27e,_0x2ec67c){const _0x20252c=_0x3671b9;super(),l(this,_0x20252c(0x168),new Map()),(this[_0x20252c(0x26f)]=_0x38a89d,this[_0x20252c(0x173)]=_0x196c6d,this[_0x20252c(0x233)]=_0x48e83a,this[_0x20252c(0x2ba)]=_0x3d2bed,this['_httpService']=_0x31fd43,this[_0x20252c(0x24a)]=_0xb2e27e,this[_0x20252c(0x250)]=_0x2ec67c);}['dispose'](){const _0x2c2d60=_0x3671b9;this[_0x2c2d60(0x168)][_0x2c2d60(0x29e)](),super['dispose']();}async['getVersions'](_0x245993,_0x201c55){const _0x5d1df9=_0x3671b9,_0x1aeff4=this[_0x5d1df9(0x10e)]()+'/'+_0x245993+_0x5d1df9(0x265)+(_0x201c55?_0x5d1df9(0x223)+_0x201c55:'');try{const _0x3258b6=(await this[_0x5d1df9(0x227)][_0x5d1df9(0x284)](_0x1aeff4))[_0x5d1df9(0x297)];if(_0x3258b6&&_0x3258b6[_0x5d1df9(0x220)]&&_0x3258b6['error'][_0x5d1df9(0x18f)]===X['OK']){const {hasMore:_0x48c161,lastLabel:_0x4ca288}=_0x3258b6,_0x5834da=ds(_0x3258b6),_0x5e5662=_0x3258b6[_0x5d1df9(0x158)]['users'];return{'hasMore':_0x48c161,'lastLabel':_0x4ca288,'versions':_0x5834da,'members':_0x5e5662};}}catch(_0x4b7930){console[_0x5d1df9(0x220)](_0x4b7930);}return null;}[_0x3671b9(0x10e)](){const _0x22ebc7=_0x3671b9;var _0x3667c9;const _0x34db54=this['_configService'][_0x22ebc7(0x1c3)](we);return(_0x3667c9=_0x34db54==null?void 0x0:_0x34db54[_0x22ebc7(0x12c)])!=null?_0x3667c9:hs;}async[_0x3671b9(0x26d)](_0x518643,_0x34efb7,_0x189968){const _0x25b25c=_0x3671b9;var _0x4ea97a,_0x45e293;_0x189968===void 0x0&&(_0x189968={}),this[_0x25b25c(0x168)][_0x25b25c(0x26e)](_0x518643)||this[_0x25b25c(0x168)][_0x25b25c(0x1ef)](_0x518643,new Map());const {snapshot:_0x18acc1,changesets:_0x5f4d28,error:_0x19c871}=await this[_0x25b25c(0x26f)][_0x25b25c(0x133)](_0x189968,{'unitID':_0x518643,'type':F['UNIVER_SHEET'],'revision':_0x34efb7});if(as(_0x19c871)||!_0x18acc1||!_0x18acc1[_0x25b25c(0x19c)])throw new Error('[HistoryFetchService]:\x20request\x20snapshot\x20error!');const _0x63d9f9=(_0x4ea97a=_0x5f4d28==null?void 0x0:_0x5f4d28[_0x25b25c(0x280)])!=null?_0x4ea97a:0x0;if(_0x34efb7!==0x0&&_0x18acc1['rev']+_0x63d9f9!==_0x34efb7)throw new Error(_0x25b25c(0x127));const {workbook:_0x4efb9f}=_0x18acc1,_0x5a5cc6=_0x4efb9f[_0x25b25c(0x2c5)]?Object['entries'](_0x4efb9f['blockMeta'])[_0x25b25c(0x19a)](([_0x174107,_0x12c427])=>{const _0x30f15c=_0x25b25c;var _0x48edf4,_0x151a88;return(_0x151a88=(_0x48edf4=_0x12c427[_0x30f15c(0x145)])==null?void 0x0:_0x48edf4[_0x30f15c(0x19a)](_0x4d98ea=>_0x4d98ea))!=null?_0x151a88:[];})[_0x25b25c(0x264)]():[],_0x571888=(await Promise[_0x25b25c(0x23c)](_0x5a5cc6[_0x25b25c(0x19a)](_0xa69eb6=>this['_snapshotServerService'][_0x25b25c(0x1e0)](_0x189968,{'unitID':_0x518643,'type':F[_0x25b25c(0x174)],'blockID':_0xa69eb6})['then'](_0x5d165a=>_0x5d165a[_0x25b25c(0x24d)]))))[_0x25b25c(0x13f)](_0x52d9d9=>!!_0x52d9d9),_0x15e8e1=_0x458b0e(_0x18acc1,_0x571888,_0x189968);return(_0x45e293=this[_0x25b25c(0x168)]['get'](_0x518643))==null||_0x45e293['set'](_0x34efb7,{'workbook':_0x15e8e1}),new Promise(_0xa1223c=>{const _0x5d6136=_0x25b25c,_0x538fd5=this['_univerInstanceService']['getCurrentUnitForType'](_0x232445['UNIVER_SHEET']);_0x538fd5?(this[_0x5d6136(0x173)][_0x5d6136(0x1f7)](_0x538fd5['getUnitId']()),setTimeout(()=>{const _0x1ca177=_0x5d6136;this[_0x1ca177(0x132)](_0x15e8e1,_0x5f4d28),this['_sheetPermissionInitController']['refreshRangeProtectPermission'](),_0xa1223c(!0x0);},0x0)):(this['_createUnit'](_0x15e8e1,_0x5f4d28),_0xa1223c(!0x0));});}[_0x3671b9(0x132)](_0x205b15,_0x1475ad){const _0x5bb0a1=_0x3671b9,_0x3eded9=this[_0x5bb0a1(0x173)]['createUnit'](_0x232445[_0x5bb0a1(0x174)],_0x205b15);this[_0x5bb0a1(0x173)]['focusUnit'](_0x3eded9[_0x5bb0a1(0x1bd)]());const _0x556700=this[_0x5bb0a1(0x24a)][_0x5bb0a1(0x125)][_0x5bb0a1(0x2a7)](this[_0x5bb0a1(0x24a)]['interceptor'][_0x5bb0a1(0x1f6)]()['COMPRESS_MUTATION_APPLY']);return _0x1475ad==null||_0x1475ad[_0x5bb0a1(0x120)](_0xcecf9=>{const _0x541d5a=_0x5bb0a1,_0x272313=_0xcecf9[_0x541d5a(0x1cb)]['map'](_0xb99315=>({'id':_0xb99315['id'],'params':JSON[_0x541d5a(0x29f)](_0xb99315['data'])}));({..._0xcecf9,'mutations':_0x556700(_0x272313,null)||_0x272313}[_0x541d5a(0x1cb)][_0x541d5a(0x120)](_0x2364ac=>{const _0x25884f=_0x541d5a;this['_commandService']['hasCommand'](_0x2364ac['id'])&&this[_0x25884f(0x233)]['syncExecuteCommand'](_0x2364ac['id'],_0x2364ac[_0x25884f(0x241)]);}));}),_0x3eded9;}};Y=_s([N(0x0,_0x4d19af),N(0x1,_0x5f54c2),N(0x2,_0x2607ee),N(0x3,_0x2f1556),N(0x4,_0x3b34a7(_0x33ec51)),N(0x5,_0x3b34a7(_0x122f23)),N(0x6,_0x3b34a7(_0x5289f6))],Y);function ds(_0x284996){const _0x36acef=_0x3671b9;var _0x62d517,_0x11830c;const _0x655d67=[],{entities:_0x314c8d,historyIds:_0x56c727}=_0x284996,{datas:_0x37de1d,users:_0x56a051}=_0x314c8d;for(const _0x44c44a of _0x56c727)if(_0x37de1d[_0x44c44a]){const _0x26e8d5=!!((_0x62d517=_0x56a051[_0x37de1d[_0x44c44a][_0x36acef(0x15e)]])!=null&&_0x62d517['anonymous']);_0x655d67[_0x36acef(0x245)]({'unitId':_0x37de1d[_0x44c44a]['unitId'],'user':_0x26e8d5?'':((_0x11830c=_0x56a051==null?void 0x0:_0x56a051[_0x37de1d[_0x44c44a]['userId']])==null?void 0x0:_0x11830c[_0x36acef(0x20c)])||'','isAnonymous':_0x26e8d5,'id':_0x44c44a,'time':_0x37de1d[_0x44c44a]['createTime']?Number(_0x37de1d[_0x44c44a][_0x36acef(0x1ba)]):void 0x0,'commands':_0x37de1d[_0x44c44a][_0x36acef(0x1ce)],'startRev':Number(_0x37de1d[_0x44c44a][_0x36acef(0x197)]),'endRev':Number(_0x37de1d[_0x44c44a][_0x36acef(0x209)]),'recoverTime':_0x37de1d[_0x44c44a]['recoverTime']?Number(_0x37de1d[_0x44c44a]['recoverTime']):void 0x0});}return _0x655d67;}var vs=Object[_0x3671b9(0x261)],fs=(_0x387ea8,_0x4dd167,_0x1b507f,_0xa73d)=>{const _0x58fb5d=_0x3671b9;for(var _0xb2e43d=_0xa73d>0x1?void 0x0:_0xa73d?vs(_0x4dd167,_0x1b507f):_0x4dd167,_0x277d3b=_0x387ea8[_0x58fb5d(0x280)]-0x1,_0x23a0db;_0x277d3b>=0x0;_0x277d3b--)(_0x23a0db=_0x387ea8[_0x277d3b])&&(_0xb2e43d=_0x23a0db(_0xb2e43d)||_0xb2e43d);return _0xb2e43d;},V=(_0x47be7d,_0x3b5938)=>(_0x56bacf,_0x390a1b)=>_0x3b5938(_0x56bacf,_0x390a1b,_0x47be7d),ne=(_0x46139e=>(_0x46139e[_0x3671b9(0x128)]='entered',_0x46139e[_0x3671b9(0x213)]=_0x3671b9(0x26c),_0x46139e[_0x3671b9(0x270)]=_0x3671b9(0x220),_0x46139e))(ne||{}),T=(_0x19833f=>(_0x19833f[_0x3671b9(0x23d)]='init',_0x19833f[_0x3671b9(0x114)]=_0x3671b9(0x12f),_0x19833f[_0x3671b9(0x18d)]='loaded',_0x19833f))(T||{});const ms='VIRTUAL_VERSION_NOW';let E=class extends _0x587ade{constructor(_0x3f1d30,_0x4a6f1b,_0x451897,_0x59e043){const _0x267dc6=_0x3671b9;super(),l(this,'_versions$',new _0x3920ef([])),l(this,_0x267dc6(0x289),this['_versions$'][_0x267dc6(0x191)]()),l(this,'_currentVersion$',new _0x3920ef('')),l(this,_0x267dc6(0x240),this[_0x267dc6(0x29d)]['asObservable']()),l(this,_0x267dc6(0x255),new _0x3920ef(_0x267dc6(0x129))),l(this,'status$',this[_0x267dc6(0x255)][_0x267dc6(0x191)]()),l(this,_0x267dc6(0x1c6),new _0x3920ef(0x0)),l(this,'revertRevision$',this[_0x267dc6(0x1c6)]['asObservable']()),l(this,_0x267dc6(0x1df),new _0x3920ef('')),l(this,_0x267dc6(0x199),this[_0x267dc6(0x1df)][_0x267dc6(0x191)]()),l(this,_0x267dc6(0x1b8),!0x1),l(this,'_loadingState$',new _0x3920ef(_0x267dc6(0x1c8))),l(this,'loadingState$',this[_0x267dc6(0x165)][_0x267dc6(0x191)]()),l(this,_0x267dc6(0x21a),null),l(this,_0x267dc6(0x1a1),!0x0),l(this,_0x267dc6(0x237),new Map()),l(this,'_historyContainerId'),l(this,'_maskContainer'),l(this,_0x267dc6(0x275)),l(this,_0x267dc6(0x186),!0x1),(this[_0x267dc6(0x256)]=_0x3f1d30,this['_confirmService']=_0x4a6f1b,this[_0x267dc6(0x1b7)]=_0x451897,this[_0x267dc6(0x123)]=_0x59e043);}async[_0x3671b9(0x15c)](_0x18e2c4,_0x42b75d,_0x20bd97){const _0xbe06ab=_0x3671b9;this[_0xbe06ab(0x1d5)]=_0x42b75d,this[_0xbe06ab(0x186)]=_0x20bd97,this[_0xbe06ab(0x1df)][_0xbe06ab(0x248)](_0x18e2c4),this[_0xbe06ab(0x1b8)]=!0x0;const _0xcd3867=await this['_historyFetchService'][_0xbe06ab(0x141)](_0x18e2c4);if(this[_0xbe06ab(0x1b8)]=!0x1,_0xcd3867){const {versions:_0x30d066,lastLabel:_0x447991,hasMore:_0x1fd19a,members:_0x5c5f0c}=_0xcd3867;_0x30d066['length']===0x0&&_0x30d066[_0xbe06ab(0x245)]({'unitId':_0x18e2c4,'id':ms,'startRev':0x1,'endRev':0x0,'time':Date[_0xbe06ab(0x243)](),'user':this['_localeService']['t'](_0xbe06ab(0x2a1)),'commands':[],'isAnonymous':!0x1}),this[_0xbe06ab(0x231)](_0x30d066,_0x1fd19a,_0x447991,_0x5c5f0c),this['_currentVersion$'][_0xbe06ab(0x248)](_0x30d066[0x0]['id']);}else this[_0xbe06ab(0x255)]['next'](_0xbe06ab(0x220));}async[_0x3671b9(0x1c7)](){const _0x5aed4e=_0x3671b9;if(!this['_lastLabel']||!this['_hasMore']||this[_0x5aed4e(0x1b8)])return!0x1;this[_0x5aed4e(0x1b8)]=!0x0;const _0x53b6f8=await this[_0x5aed4e(0x123)][_0x5aed4e(0x141)](this['unitId'],this[_0x5aed4e(0x21a)]);if(this[_0x5aed4e(0x1b8)]=!0x1,_0x53b6f8){const {versions:_0x447954,lastLabel:_0x8cafd8,hasMore:_0x2a77c2,members:_0x5e0eab}=_0x53b6f8;this['_updateVersions'](_0x447954,_0x2a77c2,_0x8cafd8,_0x5e0eab);}else this['_messageService']['show']({'content':this[_0x5aed4e(0x1b7)]['t'](_0x5aed4e(0x142)),'type':_0x49305d[_0x5aed4e(0x270)],'duration':0xbb8});return!0x0;}async[_0x3671b9(0x15a)](_0x45c123){const _0x8e2942=_0x3671b9;var _0x21016f;const _0x2d223c=(_0x21016f=this[_0x8e2942(0x2c2)][_0x8e2942(0x162)])==null?void 0x0:_0x21016f[_0x8e2942(0x14b)](_0x36609f=>_0x36609f['id']===_0x45c123),{endRev:_0x240604}=_0x2d223c||{};_0x240604||_0x240604===0x0?(this[_0x8e2942(0x165)][_0x8e2942(0x248)](_0x8e2942(0x12f)),await this['_historyFetchService'][_0x8e2942(0x26d)](this[_0x8e2942(0x178)],_0x240604),this[_0x8e2942(0x165)][_0x8e2942(0x248)]('loaded')):this['_status$'][_0x8e2942(0x248)](_0x8e2942(0x220));}async[_0x3671b9(0x12a)](_0x54e861){const _0x39b0e7=_0x3671b9,_0x28d4fb=_0x54e861?this[_0x39b0e7(0x1d6)](_0x54e861):this[_0x39b0e7(0x1e8)]();if(!_0x28d4fb)return;const _0x3c1286=_0x28d4fb[_0x39b0e7(0x217)],_0x47ace8=re(_0x28d4fb[_0x39b0e7(0x2bf)],this[_0x39b0e7(0x1b7)][_0x39b0e7(0x110)]());await this[_0x39b0e7(0x2a5)][_0x39b0e7(0x13b)]({'id':_0x39b0e7(0x166),'title':{'title':this[_0x39b0e7(0x1b7)]['t'](_0x39b0e7(0x1c9))},'children':{'title':this[_0x39b0e7(0x1b7)]['t'](_0x39b0e7(0x1bc))+_0x39b0e7(0x171)+_0x47ace8[_0x39b0e7(0x170)]+'\x20'+_0x47ace8[_0x39b0e7(0x2bf)]+')'},'cancelText':this[_0x39b0e7(0x1b7)]['t']('editHistory.panel.cancel'),'confirmText':this[_0x39b0e7(0x1b7)]['t']('editHistory.panel.confirm')})&&this[_0x39b0e7(0x1c6)][_0x39b0e7(0x248)](_0x3c1286);}[_0x3671b9(0x231)](_0x1ef318,_0x3ccac7,_0x1fa790,_0x24e5ad){const _0x4ede67=_0x3671b9;this['_versions$']['next'](this[_0x4ede67(0x2c2)][_0x4ede67(0x162)][_0x4ede67(0x112)](_0x1ef318)),this[_0x4ede67(0x1a1)]=_0x3ccac7,this[_0x4ede67(0x21a)]=_0x1fa790,_0x24e5ad&&Object[_0x4ede67(0x224)](_0x24e5ad)[_0x4ede67(0x120)](_0x405485=>this[_0x4ede67(0x237)][_0x4ede67(0x1ef)](_0x405485,_0x24e5ad[_0x405485]));}[_0x3671b9(0x1e8)](){const _0x1b4238=_0x3671b9;return this['getVersion'](this[_0x1b4238(0x29d)][_0x1b4238(0x162)]);}[_0x3671b9(0x1d6)](_0x3a879e){const _0x22ede4=_0x3671b9;var _0x14470d;return(_0x14470d=this[_0x22ede4(0x2c2)][_0x22ede4(0x162)])==null?void 0x0:_0x14470d['find'](_0x158d24=>_0x158d24['id']===_0x3a879e);}[_0x3671b9(0x1a9)](_0x39e550){const _0x3f9288=_0x3671b9;return this[_0x3f9288(0x237)]['get'](_0x39e550);}[_0x3671b9(0x222)](){const _0x656370=_0x3671b9;this[_0x656370(0x275)]=document[_0x656370(0x118)](_0x656370(0x1f9)),this[_0x656370(0x275)][_0x656370(0x2a2)]=_0x656370(0x19b),this[_0x656370(0x275)][_0x656370(0x115)][_0x656370(0x188)]='absolute',this[_0x656370(0x275)][_0x656370(0x115)][_0x656370(0x1a4)]='0',this[_0x656370(0x275)][_0x656370(0x115)]['left']='0',this[_0x656370(0x275)]['style'][_0x656370(0x2b3)]=_0x656370(0x23e),this[_0x656370(0x275)][_0x656370(0x115)][_0x656370(0x140)]=_0x656370(0x23e),this[_0x656370(0x275)]['style'][_0x656370(0x24c)]=_0x656370(0x1e4),this['_maskElement'][_0x656370(0x115)][_0x656370(0x1ff)]=_0x656370(0x1ee),this[_0x656370(0x275)][_0x656370(0x115)][_0x656370(0x1f1)]=_0x656370(0x1e1),this['_maskElement']['style'][_0x656370(0x239)]=_0x656370(0x11b),this[_0x656370(0x275)][_0x656370(0x115)][_0x656370(0x271)]=_0x656370(0x12b),this[_0x656370(0x275)]['style']['display']='none',this[_0x656370(0x285)][_0x656370(0x177)](this[_0x656370(0x275)]);}[_0x3671b9(0x27d)](){const _0xc70baa=_0x3671b9;var _0x178b78;const _0x3c685e=(_0x178b78=document[_0xc70baa(0x27e)](this[_0xc70baa(0x1d5)]))==null?void 0x0:_0x178b78['querySelector'](_0xc70baa(0x202));_0x3c685e&&(this[_0xc70baa(0x285)]=_0x3c685e,this[_0xc70baa(0x222)]());}[_0x3671b9(0x260)](){const _0x3ad184=_0x3671b9;this[_0x3ad184(0x285)]||this[_0x3ad184(0x27d)](),this[_0x3ad184(0x275)]&&(this[_0x3ad184(0x275)][_0x3ad184(0x115)][_0x3ad184(0x1f1)]=_0x3ad184(0x1e1));}['hideMask'](){const _0x284def=_0x3671b9;this['_maskElement']&&(this[_0x284def(0x275)]['style'][_0x284def(0x1f1)]=_0x284def(0x24e));}set[_0x3671b9(0x28f)](_0x410d37){const _0x94768f=_0x3671b9;this[_0x94768f(0x255)][_0x94768f(0x248)](_0x410d37);}set[_0x3671b9(0x20f)](_0x2b6b4a){const _0x27de33=_0x3671b9;_0x2b6b4a!==this['_currentVersion$'][_0x27de33(0x162)]&&this[_0x27de33(0x29d)][_0x27de33(0x248)](_0x2b6b4a);}get['currentVersion'](){const _0x275e42=_0x3671b9;return this['_currentVersion$'][_0x275e42(0x162)];}set[_0x3671b9(0x178)](_0x1936f7){const _0x96b43a=_0x3671b9;this[_0x96b43a(0x1df)]['next'](_0x1936f7);}get[_0x3671b9(0x178)](){const _0x12ef36=_0x3671b9;return this[_0x12ef36(0x1df)][_0x12ef36(0x162)];}get[_0x3671b9(0x13d)](){const _0x1b6eaa=_0x3671b9;return this[_0x1b6eaa(0x186)];}get[_0x3671b9(0x179)](){const _0x1667aa=_0x3671b9;return this[_0x1667aa(0x165)][_0x1667aa(0x162)];}};E=fs([V(0x0,_0xda9cb5),V(0x1,_0x3111ea),V(0x2,_0x3b34a7(_0x2a3e90)),V(0x3,_0x3b34a7(Y))],E);var S=function(){const _0x40a73e=_0x3671b9;return S=Object[_0x40a73e(0x11d)]||function(_0x98b265){const _0x26290c=_0x40a73e;for(var _0x187f12,_0x5dd049=0x1,_0x3c4e71=arguments['length'];_0x5dd049<_0x3c4e71;_0x5dd049++){_0x187f12=arguments[_0x5dd049];for(var _0x4cecbd in _0x187f12)Object[_0x26290c(0x20d)][_0x26290c(0x22a)][_0x26290c(0x2b5)](_0x187f12,_0x4cecbd)&&(_0x98b265[_0x4cecbd]=_0x187f12[_0x4cecbd]);}return _0x98b265;},S[_0x40a73e(0x182)](this,arguments);},Is=function(_0x22cd2b,_0x14f2d3){const _0x101e17=_0x3671b9;var _0x2481f1={};for(var _0x288fb8 in _0x22cd2b)Object[_0x101e17(0x20d)][_0x101e17(0x22a)][_0x101e17(0x2b5)](_0x22cd2b,_0x288fb8)&&_0x14f2d3[_0x101e17(0x10b)](_0x288fb8)<0x0&&(_0x2481f1[_0x288fb8]=_0x22cd2b[_0x288fb8]);if(_0x22cd2b!=null&&typeof Object[_0x101e17(0x2c1)]=='function'){for(var _0x511284=0x0,_0x288fb8=Object[_0x101e17(0x2c1)](_0x22cd2b);_0x511284<_0x288fb8[_0x101e17(0x280)];_0x511284++)_0x14f2d3[_0x101e17(0x10b)](_0x288fb8[_0x511284])<0x0&&Object[_0x101e17(0x20d)][_0x101e17(0x1de)][_0x101e17(0x2b5)](_0x22cd2b,_0x288fb8[_0x511284])&&(_0x2481f1[_0x288fb8[_0x511284]]=_0x22cd2b[_0x288fb8[_0x511284]]);}return _0x2481f1;},G=_0xf7d3d7(function(_0x20e10e,_0x244a8d){const _0x4f48ad=_0x3671b9;var _0x4643da=_0x20e10e[_0x4f48ad(0x14e)],_0x94ea13=_0x20e10e['id'],_0x5a629e=_0x20e10e[_0x4f48ad(0x2a2)],_0x3e8348=_0x20e10e[_0x4f48ad(0x1bf)],_0x1297cc=Is(_0x20e10e,[_0x4f48ad(0x14e),'id','className','extend']),_0x17cd66=_0x4f48ad(0x184)['concat'](_0x94ea13,'\x20')[_0x4f48ad(0x112)](_0x5a629e||'')[_0x4f48ad(0x2b8)](),_0x5240f5=_0x393a1e('_'['concat'](ps()));return Pe(_0x4643da,''[_0x4f48ad(0x112)](_0x94ea13),{'defIds':_0x4643da['defIds'],'idSuffix':_0x5240f5['current']},S({'ref':_0x244a8d,'className':_0x17cd66},_0x1297cc),_0x3e8348);});function Pe(_0x126248,_0x4fccfc,_0x747f1c,_0x476d68,_0x589591){const _0x520149=_0x3671b9;return _0x4d2297(_0x126248[_0x520149(0x1e9)],S(S({'key':_0x4fccfc},gs(_0x126248,_0x747f1c,_0x589591)),_0x476d68),(Ss(_0x126248,_0x747f1c)[_0x520149(0x293)]||[])[_0x520149(0x19a)](function(_0x517d72,_0x11eccf){const _0x5ef1a8=_0x520149;return Pe(_0x517d72,''[_0x5ef1a8(0x112)](_0x4fccfc,'-')[_0x5ef1a8(0x112)](_0x126248['tag'],'-')['concat'](_0x11eccf),_0x747f1c,void 0x0,_0x589591);}));}function gs(_0x78bef2,_0x183331,_0x2a32a4){const _0x33d587=_0x3671b9;var _0x230bea=S({},_0x78bef2[_0x33d587(0x151)]);_0x2a32a4!=null&&_0x2a32a4['colorChannel1']&&_0x230bea['fill']==='colorChannel1'&&(_0x230bea['fill']=_0x2a32a4[_0x33d587(0x11f)]),_0x78bef2['tag']===_0x33d587(0x2b4)&&_0x230bea['id']&&(_0x230bea['id']=_0x230bea['id']+_0x183331['idSuffix']),Object['entries'](_0x230bea)['forEach'](function(_0x2e1554){const _0x11b377=_0x33d587;var _0x5d4b0e=_0x2e1554[0x0],_0x50a684=_0x2e1554[0x1];_0x5d4b0e==='mask'&&typeof _0x50a684==_0x11b377(0x147)&&(_0x230bea[_0x5d4b0e]=_0x50a684[_0x11b377(0x1be)](/url\(#(.*)\)/,_0x11b377(0x1ad)[_0x11b377(0x112)](_0x183331[_0x11b377(0x1fe)],')')));});var _0xfdf820=_0x183331[_0x33d587(0x25f)];return!_0xfdf820||_0xfdf820[_0x33d587(0x280)]===0x0||(_0x78bef2[_0x33d587(0x1e9)]==='use'&&_0x230bea[_0x33d587(0x1f3)]&&(_0x230bea[_0x33d587(0x1f3)]=_0x230bea[_0x33d587(0x1f3)]+_0x183331[_0x33d587(0x1fe)]),Object[_0x33d587(0x2bb)](_0x230bea)[_0x33d587(0x120)](function(_0x4091bb){const _0xd56ebc=_0x33d587;var _0xd44986=_0x4091bb[0x0],_0x3afca1=_0x4091bb[0x1];typeof _0x3afca1==_0xd56ebc(0x147)&&(_0x230bea[_0xd44986]=_0x3afca1[_0xd56ebc(0x1be)](/url\(#(.*)\)/,_0xd56ebc(0x1ad)[_0xd56ebc(0x112)](_0x183331[_0xd56ebc(0x1fe)],')')));})),_0x230bea;}function Ss(_0xa8e90,_0x3f9a50){const _0x120795=_0x3671b9;var _0x2aceac,_0x4ced23=_0x3f9a50[_0x120795(0x25f)];return!_0x4ced23||_0x4ced23[_0x120795(0x280)]===0x0?_0xa8e90:_0xa8e90[_0x120795(0x1e9)]===_0x120795(0x269)&&(!((_0x2aceac=_0xa8e90[_0x120795(0x293)])===null||_0x2aceac===void 0x0)&&_0x2aceac[_0x120795(0x280)])?S(S({},_0xa8e90),{'children':_0xa8e90[_0x120795(0x293)]['map'](function(_0x54b757){const _0x45785c=_0x120795;return typeof _0x54b757['attrs']['id']=='string'&&_0x4ced23&&_0x4ced23[_0x45785c(0x22c)](_0x54b757[_0x45785c(0x151)]['id'])?S(S({},_0x54b757),{'attrs':S(S({},_0x54b757[_0x45785c(0x151)]),{'id':_0x54b757[_0x45785c(0x151)]['id']+_0x3f9a50[_0x45785c(0x1fe)]})}):_0x54b757;})}):_0xa8e90;}function ps(){const _0x389b69=_0x3671b9;return Math[_0x389b69(0x225)]()[_0x389b69(0x1d1)](0x24)[_0x389b69(0x121)](0x2,0x8);}G[_0x3671b9(0x18c)]='UniverIcon';var Es={'tag':_0x3671b9(0x2ae),'attrs':{'xmlns':_0x3671b9(0x176),'fill':_0x3671b9(0x24e),'viewBox':_0x3671b9(0x21c),'width':_0x3671b9(0x244),'height':_0x3671b9(0x244)},'children':[{'tag':_0x3671b9(0x25e),'attrs':{'fill':'currentColor','d':_0x3671b9(0x1d3)}}]},Te=_0xf7d3d7(function(_0x19ab3c,_0x53a7eb){const _0x4a56fe=_0x3671b9;return _0x4d2297(G,Object[_0x4a56fe(0x11d)]({},_0x19ab3c,{'id':_0x4a56fe(0x291),'ref':_0x53a7eb,'icon':Es}));});Te[_0x3671b9(0x18c)]=_0x3671b9(0x16f);var Rs={'tag':_0x3671b9(0x2ae),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3671b9(0x24e),'viewBox':_0x3671b9(0x21c),'width':_0x3671b9(0x244),'height':_0x3671b9(0x244)},'children':[{'tag':_0x3671b9(0x25e),'attrs':{'fill':_0x3671b9(0x24f),'d':_0x3671b9(0x194),'fillOpacity':0.2,'fillRule':_0x3671b9(0x149),'clipRule':_0x3671b9(0x149)}},{'tag':_0x3671b9(0x25e),'attrs':{'fill':_0x3671b9(0x24f),'d':_0x3671b9(0x10d),'fillRule':'evenodd','clipRule':_0x3671b9(0x149)}}]},ae=_0xf7d3d7(function(_0x2a9300,_0x4fda64){const _0x581d10=_0x3671b9;return _0x4d2297(G,Object['assign']({},_0x2a9300,{'id':_0x581d10(0x2b0),'ref':_0x4fda64,'icon':Rs}));});ae['displayName']=_0x3671b9(0x189);var Os={'tag':_0x3671b9(0x2ae),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x3671b9(0x2af),'width':_0x3671b9(0x244),'height':_0x3671b9(0x244)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x3671b9(0x25d)},'children':[{'tag':_0x3671b9(0x25e),'attrs':{'d':_0x3671b9(0x1dc)}},{'tag':'path','attrs':{'d':'M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','fillRule':'evenodd','clipRule':'evenodd'}}]},{'tag':_0x3671b9(0x269),'attrs':{},'children':[{'tag':_0x3671b9(0x1cf),'attrs':{'id':_0x3671b9(0x200)},'children':[{'tag':_0x3671b9(0x238),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x3671b9(0x1ee),'rx':0x4}}]}]}],'defIds':['restore-icon_clip0_1247_2']},Le=_0xf7d3d7(function(_0x443fd1,_0x52f748){const _0xc8bb36=_0x3671b9;return _0x4d2297(G,Object[_0xc8bb36(0x11d)]({},_0x443fd1,{'id':_0xc8bb36(0x268),'ref':_0x52f748,'icon':Os}));});Le[_0x3671b9(0x18c)]=_0x3671b9(0x131);function Ms(){const _0x302a19=_0x3671b9;var _0x21307e;const _0x5ef07b=_0xbfb901(E),_0x4de551=_0xbfb901(_0x2a3e90),_0xa8ac37=_0x4a9ffb(()=>{const _0xc14dd=_0x4337;_0x5ef07b[_0xc14dd(0x28f)]=ne[_0xc14dd(0x213)];},[_0x5ef07b]),_0x557117=_0x4a9ffb(()=>{const _0x47469d=_0x4337;_0x5ef07b[_0x47469d(0x12a)]();},[_0x5ef07b]),_0x10284e=_0x37e168(_0x5ef07b[_0x302a19(0x240)]),_0x20c1e7=_0x37e168(_0x5ef07b[_0x302a19(0x289)]),_0xc9baa3=_0x10284e===((_0x21307e=_0x20c1e7==null?void 0x0:_0x20c1e7[0x0])==null?void 0x0:_0x21307e['id']),_0x34f52d=_0x10284e!==''&&!_0xc9baa3&&_0x5ef07b[_0x302a19(0x13d)];return _0x1873c3(_0x302a19(0x1f9),{'className':_0x29bbf0(_0x302a19(0x1d2),_0x4b8be7),'children':[_0x42d6d4('a',{'className':_0x302a19(0x159),'onClick':_0xa8ac37,'children':_0x42d6d4(Te,{'className':_0x302a19(0x234)})}),_0x42d6d4(_0x302a19(0x1f9),{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','children':_0x34f52d&&_0x42d6d4(_0x23ef70,{'variant':_0x302a19(0x13c),'onClick':_0x557117,'children':_0x4de551['t'](_0x302a19(0x18a))})})]});}var Ns=Object[_0x3671b9(0x261)],bs=(_0x497aff,_0xbeb922,_0xb20431,_0x3d4e08)=>{const _0x635474=_0x3671b9;for(var _0x2d8f16=_0x3d4e08>0x1?void 0x0:_0x3d4e08?Ns(_0xbeb922,_0xb20431):_0xbeb922,_0x473ef6=_0x497aff[_0x635474(0x280)]-0x1,_0x3a613b;_0x473ef6>=0x0;_0x473ef6--)(_0x3a613b=_0x497aff[_0x473ef6])&&(_0x2d8f16=_0x3a613b(_0x2d8f16)||_0x2d8f16);return _0x2d8f16;},y=(_0x9301f,_0x45f8de)=>(_0xc9f34d,_0xfd4125)=>_0x45f8de(_0xc9f34d,_0xfd4125,_0x9301f);let B=class extends _0x587ade{constructor(_0xe805b0,_0x13153c,_0x39a440,_0x4767c9,_0x471621,_0x525d7e){const _0x3ca4ad=_0x3671b9;super(),this[_0x3ca4ad(0x22e)]=_0xe805b0,this[_0x3ca4ad(0x203)]=_0x13153c,this[_0x3ca4ad(0x256)]=_0x39a440,this[_0x3ca4ad(0x1b7)]=_0x4767c9,this[_0x3ca4ad(0x16b)]=_0x471621,this['_injector']=_0x525d7e,this[_0x3ca4ad(0x1cd)]();}[_0x3671b9(0x1cd)](){const _0xcf161f=_0x3671b9;this['disposeWithMe'](this[_0xcf161f(0x16b)][_0xcf161f(0x240)][_0xcf161f(0x28d)](_0x2c1036=>{const _0x43f780=_0xcf161f;_0x2c1036&&this[_0x43f780(0x16b)]['triggerLoadSheet'](_0x2c1036);})),this[_0xcf161f(0x1c4)](this[_0xcf161f(0x22e)]['permissionPointUpdate$']['subscribe'](_0x153475=>{const _0x5cbaed=_0xcf161f,_0x3219b0=this[_0x5cbaed(0x16b)]['unitId'];_0x3219b0&&(_0x153475[_0x5cbaed(0x1ea)]===D[_0x5cbaed(0x2b1)]&&_0x153475['value']===!0x0&&this[_0x5cbaed(0x22e)]['updatePermissionPoint'](new _0x1f5dec(_0x3219b0)['id'],!0x1),_0x153475['subType']===D['RenameSheet']&&_0x153475[_0x5cbaed(0x162)]===!0x0&&this[_0x5cbaed(0x22e)][_0x5cbaed(0x164)](new _0x3eb1f1(_0x3219b0)['id'],!0x1),_0x153475['subType']===D['MoveSheet']&&_0x153475['value']===!0x0&&this['_permissionService'][_0x5cbaed(0x164)](new _0x2d46b6(_0x3219b0)['id'],!0x1),_0x153475[_0x5cbaed(0x1ea)]===D['HideSheet']&&_0x153475[_0x5cbaed(0x162)]===!0x0&&this['_permissionService'][_0x5cbaed(0x164)](new _0x56d8b6(_0x3219b0)['id'],!0x1),_0x153475[_0x5cbaed(0x1ea)]===D[_0x5cbaed(0x1fa)]&&_0x153475[_0x5cbaed(0x162)]===!0x0&&this[_0x5cbaed(0x22e)][_0x5cbaed(0x164)](new _0x1f5dec(_0x3219b0)['id'],!0x1),_0x153475[_0x5cbaed(0x1ea)]===D[_0x5cbaed(0x259)]&&_0x153475[_0x5cbaed(0x162)]===!0x0&&this[_0x5cbaed(0x22e)]['updatePermissionPoint'](new _0x1f5dec(_0x3219b0)['id'],!0x1));})),this[_0xcf161f(0x1c4)](this['_uiPartsService'][_0xcf161f(0x10f)](_0x468b68['HEADER'],()=>_0x289ce6(Ms,this[_0xcf161f(0x21d)]))),this[_0xcf161f(0x1c4)](this[_0xcf161f(0x16b)][_0xcf161f(0x2ac)][_0xcf161f(0x28d)](_0x3b4e5d=>{const _0x41302a=_0xcf161f;_0x3b4e5d===T[_0x41302a(0x114)]&&(this[_0x41302a(0x16b)][_0x41302a(0x260)](),this['_messageService'][_0x41302a(0x161)]({'type':_0x49305d[_0x41302a(0x2c3)],'content':this[_0x41302a(0x1b7)]['t'](_0x41302a(0x1e7))})),_0x3b4e5d===T[_0x41302a(0x18d)]&&this[_0x41302a(0x16b)][_0x41302a(0x20e)]();}));}};B=bs([y(0x0,_0x57b379),y(0x1,_0xbceaae),y(0x2,_0xda9cb5),y(0x3,_0x3b34a7(_0x2a3e90)),y(0x4,_0x3b34a7(E)),y(0x5,_0x3b34a7(_0xcc3682))],B);var Ds=Object['getOwnPropertyDescriptor'],ys=(_0xe8f8ac,_0x36cfd3,_0x2d9543,_0x1cc4f7)=>{const _0x5be97b=_0x3671b9;for(var _0x162563=_0x1cc4f7>0x1?void 0x0:_0x1cc4f7?Ds(_0x36cfd3,_0x2d9543):_0x36cfd3,_0x4b33c8=_0xe8f8ac[_0x5be97b(0x280)]-0x1,_0xc6001b;_0x4b33c8>=0x0;_0x4b33c8--)(_0xc6001b=_0xe8f8ac[_0x4b33c8])&&(_0x162563=_0xc6001b(_0x162563)||_0x162563);return _0x162563;},Q=(_0x22c1cf,_0x50f88c)=>(_0x5a7fcf,_0x690747)=>_0x50f88c(_0x5a7fcf,_0x690747,_0x22c1cf);let $=class extends _0x587ade{constructor(_0xee01ae,_0x371d68,_0x47f0b9){const _0x3e6a48=_0x3671b9;super(),l(this,_0x3e6a48(0x281),new Map()),l(this,_0x3e6a48(0x1ae),new _0x3920ef({'ranges':new Map(),'active':null})),l(this,_0x3e6a48(0x2a3),this[_0x3e6a48(0x1ae)][_0x3e6a48(0x191)]()),(this[_0x3e6a48(0x16b)]=_0xee01ae,this[_0x3e6a48(0x1a6)]=_0x371d68,this[_0x3e6a48(0x26f)]=_0x47f0b9,this[_0x3e6a48(0x1cd)]());}['_init'](){const _0xcd59a0=_0x3671b9;this['_diffRangesMap']=new Map(),this[_0xcd59a0(0x1c4)](this[_0xcd59a0(0x16b)][_0xcd59a0(0x199)]['subscribe'](_0x53ed9e=>{const _0x215510=_0xcd59a0;_0x53ed9e&&!this['_diffRangesMap']['has'](_0x53ed9e)&&this[_0x215510(0x281)]['set'](_0x53ed9e,new Map());})),this[_0xcd59a0(0x1c4)](this[_0xcd59a0(0x16b)][_0xcd59a0(0x240)]['subscribe'](async _0x26b8b4=>{const _0x354567=_0xcd59a0;var _0x1fae14;_0x26b8b4&&(await this[_0x354567(0x1f8)](_0x26b8b4),this[_0x354567(0x1ae)][_0x354567(0x248)](((_0x1fae14=this[_0x354567(0x281)][_0x354567(0x284)](this[_0x354567(0x16b)][_0x354567(0x178)]))==null?void 0x0:_0x1fae14['get'](_0x26b8b4))||{'ranges':new Map(),'active':null}));}));}async[_0x3671b9(0x1f8)](_0x68b0f3){const _0xe61fb4=_0x3671b9;var _0x2bed27,_0x13b760;const _0x1448b4=this[_0xe61fb4(0x16b)]['getVersion'](_0x68b0f3),_0x29c85a=this[_0xe61fb4(0x16b)][_0xe61fb4(0x178)];if(!_0x1448b4||!_0x29c85a)return;const _0xa82913=this[_0xe61fb4(0x281)][_0xe61fb4(0x284)](_0x29c85a);if(_0xa82913||this[_0xe61fb4(0x281)][_0xe61fb4(0x1ef)](_0x29c85a,new Map()),(_0x2bed27=this[_0xe61fb4(0x281)][_0xe61fb4(0x284)](_0x29c85a))!=null&&_0x2bed27['has'](_0x1448b4['id']))return;const {startRev:_0x34c649,endRev:_0x1acb69}=_0x1448b4;if(_0x34c649===0x1){_0xa82913[_0xe61fb4(0x1ef)](_0x1448b4['id'],{'ranges':new Map(),'active':null});return;}const _0x100922=_0x34c649-0x1,_0x5a7fcd=_0x1acb69,_0x2f67bd=await this[_0xe61fb4(0x26f)][_0xe61fb4(0x185)]({},{'unitID':_0x29c85a,'from':_0x100922,'to':_0x5a7fcd,'type':F[_0xe61fb4(0x174)]});if(((_0x13b760=_0x2f67bd[_0xe61fb4(0x220)])==null?void 0x0:_0x13b760[_0xe61fb4(0x18f)])===X['OK']){const _0x223665=_0x2f67bd['changesets']['map'](_0x3b6198)['map'](_0x26612a=>_0x26612a[_0xe61fb4(0x1cb)][_0xe61fb4(0x19a)](_0x2e39b7=>({..._0x2e39b7,'params':{..._0x2e39b7[_0xe61fb4(0x241)],'memberId':_0x26612a[_0xe61fb4(0x10c)]}})))[_0xe61fb4(0x264)](),_0x174d16=this[_0xe61fb4(0x16c)](_0x223665),_0x494bc2=this[_0xe61fb4(0x19d)](_0x223665),_0x577e21=this[_0xe61fb4(0x1e3)](_0x174d16);_0xa82913[_0xe61fb4(0x1ef)](_0x1448b4['id'],{'ranges':_0x577e21,'active':_0x494bc2});}}[_0x3671b9(0x16c)](_0x2fe5f9){const _0xaf6393=_0x3671b9;let _0x29bd8b=[];for(let _0x302923=0x0;_0x302923<_0x2fe5f9[_0xaf6393(0x280)];_0x302923++){const _0x302744=_0x2fe5f9[_0x302923];if(_0x29bd8b[_0xaf6393(0x245)](_0x302744),_0x302923!==_0x2fe5f9[_0xaf6393(0x280)]-0x1){const _0x521a9f=_0x2fe5f9[_0x302923+0x1],_0x5ee363=this[_0xaf6393(0x1a6)][_0xaf6393(0x16a)](_0x29bd8b,[_0x521a9f]);_0xcab15(_0x5ee363)?_0x29bd8b=_0x5ee363[_0xaf6393(0x257)]:_0x29bd8b=[];}}return _0x29bd8b;}[_0x3671b9(0x19d)](_0x41bcf7){const _0x5e95a1=_0x3671b9;let _0x22997f=[];return _0x41bcf7[_0x5e95a1(0x120)](_0x517087=>{const _0x34da68=_0x5e95a1;if(_0x517087['id']===_0x1bd1a5['id']){const _0x4ab906=_0x517087['params'];_0x22997f[_0x34da68(0x245)](_0x4ab906[_0x34da68(0x28a)]['id']);}else{if(_0x517087['id']===_0x59aa77['id']){const _0x12a1f1=_0x517087[_0x34da68(0x241)];_0x22997f[_0x34da68(0x280)]>0x0&&(_0x22997f=_0x22997f[_0x34da68(0x13f)](_0x3f3ab9=>_0x3f3ab9!==_0x12a1f1[_0x34da68(0x17b)]));}else{if(_0x517087['id']===_0x3f70e3['id']){const _0x27c8e9=_0x517087['params'];_0x27c8e9[_0x34da68(0x2b7)]?_0x22997f=_0x22997f[_0x34da68(0x13f)](_0x2570d4=>_0x2570d4!==_0x27c8e9[_0x34da68(0x17b)]):_0x22997f[_0x34da68(0x245)](_0x27c8e9[_0x34da68(0x17b)]);}else{const _0x5cffc6=_0x517087[_0x34da68(0x241)];_0x5cffc6[_0x34da68(0x17b)]&&_0x22997f['push'](_0x5cffc6[_0x34da68(0x17b)]);}}}}),_0x22997f[_0x5e95a1(0x280)]>0x0?_0x22997f[_0x22997f['length']-0x1]:null;}[_0x3671b9(0x1e3)](_0x140aaa){const _0x9f92c6=_0x3671b9,_0x2f2b86=new Map();return _0x140aaa['forEach'](_0x5914c5=>{const _0x11e340=_0x4337;var _0x2a48f4,_0x1b2c17;const _0x2bd5d4=(_0x2a48f4=_0x5914c5[_0x11e340(0x241)])==null?void 0x0:_0x2a48f4[_0x11e340(0x277)];if(_0x2bd5d4){_0x2f2b86['has'](_0x2bd5d4)||_0x2f2b86[_0x11e340(0x1ef)](_0x2bd5d4,[]);const _0x2599b5=this[_0x11e340(0x1db)](_0x5914c5);(_0x1b2c17=_0x2f2b86['get'](_0x2bd5d4))==null||_0x1b2c17[_0x11e340(0x245)](..._0x2599b5);}}),_0x2f2b86[_0x9f92c6(0x120)]((_0x51cd7a,_0x432c4f)=>{const _0x1172c1=_0x9f92c6;_0x2f2b86[_0x1172c1(0x1ef)](_0x432c4f,this[_0x1172c1(0x13a)](_0x51cd7a));}),_0x2f2b86;}[_0x3671b9(0x1db)](_0x1078b4){const _0x20a33b=_0x3671b9;switch(_0x1078b4['id']){case _0x38045e['id']:{const _0x311ba0=_0x1078b4['params'];return _0x311ba0[_0x20a33b(0x266)]['map'](_0x296748=>_0x296748[_0x20a33b(0x136)]['map'](_0xb3755f=>({'range':_0xb3755f,'unitId':_0x311ba0[_0x20a33b(0x178)],'subUnitId':_0x311ba0[_0x20a33b(0x17b)]})))[_0x20a33b(0x264)]();}case _0x4f2d8e['id']:{const _0x36f071=_0x1078b4[_0x20a33b(0x241)];return _0x36f071[_0x20a33b(0x136)][_0x20a33b(0x19a)](_0x16c182=>({'range':_0x16c182,'unitId':_0x36f071[_0x20a33b(0x178)],'subUnitId':_0x36f071['subUnitId']}));}case _0x2f9599['id']:{const _0x35840=_0x1078b4[_0x20a33b(0x241)];return[{'range':_0x35840[_0x20a33b(0x28c)],'unitId':_0x35840[_0x20a33b(0x178)],'subUnitId':_0x35840[_0x20a33b(0x17b)]}];}case _0x573cb4['id']:{const _0x249a02=_0x1078b4[_0x20a33b(0x241)];return[{'range':_0x249a02[_0x20a33b(0x28c)],'unitId':_0x249a02[_0x20a33b(0x178)],'subUnitId':_0x249a02[_0x20a33b(0x17b)]}];}case _0x2b0385['id']:{const _0x218c43=_0x1078b4[_0x20a33b(0x241)],{from:_0x3ebbfb,to:_0x218920,unitId:_0x5821dd}=_0x218c43;return[{'range':he(_0x3ebbfb[_0x20a33b(0x162)]),'unitId':_0x5821dd,'subUnitId':_0x3ebbfb[_0x20a33b(0x17b)]},{'range':he(_0x218920[_0x20a33b(0x162)]),'unitId':_0x5821dd,'subUnitId':_0x218920[_0x20a33b(0x17b)]}];}case _0x3bf157['id']:{const _0x5a6b01=_0x1078b4[_0x20a33b(0x241)],{unitId:_0x5c335c,subUnitId:_0x162323,sourceRange:_0x178e89,targetRange:_0x347b75}=_0x5a6b01,_0x2c80d8=_0x178e89[_0x20a33b(0x12e)]-_0x178e89['startRow']+0x1;return[{'range':_0x347b75[_0x20a33b(0x1a3)]<=_0x178e89[_0x20a33b(0x1a3)]?_0x347b75:{..._0x347b75,'startRow':_0x347b75['startRow']-_0x2c80d8,'endRow':_0x347b75[_0x20a33b(0x12e)]-_0x2c80d8},'unitId':_0x5c335c,'subUnitId':_0x162323}];}case _0x549387['id']:{const _0x39befa=_0x1078b4['params'],{unitId:_0x1735d5,subUnitId:_0x16acf9,sourceRange:_0x235def,targetRange:_0x32f483}=_0x39befa,_0x4db3a2=_0x235def[_0x20a33b(0x24b)]-_0x235def[_0x20a33b(0x29a)]+0x1;return[{'range':_0x32f483[_0x20a33b(0x29a)]<=_0x235def[_0x20a33b(0x29a)]?_0x32f483:{..._0x32f483,'startColumn':_0x32f483[_0x20a33b(0x29a)]-_0x4db3a2,'endColumn':_0x32f483[_0x20a33b(0x24b)]-_0x4db3a2},'unitId':_0x1735d5,'subUnitId':_0x16acf9}];}case _0x254b28['id']:{const _0xbe1775=_0x1078b4[_0x20a33b(0x241)],{values:_0x258988,unitId:_0x42e9ab,subUnitId:_0x1ee31b}=_0xbe1775;return Object['values'](_0x258988)[_0x20a33b(0x19a)](_0x4da6e7=>_0x4da6e7['ranges'][_0x20a33b(0x19a)](_0x4d2c19=>({'range':_0x4d2c19,'unitId':_0x42e9ab,'subUnitId':_0x1ee31b})))[_0x20a33b(0x264)]();}case _0x2fad85['id']:{const _0x383d0f=_0x1078b4[_0x20a33b(0x241)],{ranges:_0x20b760,unitId:_0x70b7fd,subUnitId:_0x1bc1b4}=_0x383d0f;return _0x20b760[_0x20a33b(0x19a)](_0x2dccb3=>({'range':_0x2dccb3,'unitId':_0x70b7fd,'subUnitId':_0x1bc1b4}));}case _0x4b5937['id']:{const _0x3a50f1=_0x1078b4[_0x20a33b(0x241)],{unitId:_0xab497a,subUnitId:_0x1e0991,range:_0x8080f3}=_0x3a50f1;return[{'range':_0x8080f3,'unitId':_0xab497a,'subUnitId':_0x1e0991}];}case _0x336dc3['id']:{const _0x534e42=_0x1078b4[_0x20a33b(0x241)];return _0x534e42[_0x20a33b(0x1a2)]['ranges'][_0x20a33b(0x19a)](_0x5cf910=>({'range':_0x5cf910,'unitId':_0x534e42[_0x20a33b(0x178)],'subUnitId':_0x534e42['subUnitId']}));}case _0x4bb022['id']:{const _0x4c7e37=_0x1078b4[_0x20a33b(0x241)];return _0x4c7e37[_0x20a33b(0x130)]?Cs(_0x4c7e37[_0x20a33b(0x130)])[_0x20a33b(0x19a)](_0x1d8bb9=>({'range':_0x1d8bb9,'unitId':_0x4c7e37['unitId'],'subUnitId':_0x4c7e37[_0x20a33b(0x17b)]})):[];}case _0x8a3317['id']:{const _0x461ef0=_0x1078b4[_0x20a33b(0x241)];return[{'range':_0x461ef0['range'],'unitId':_0x461ef0[_0x20a33b(0x178)],'subUnitId':_0x461ef0[_0x20a33b(0x17b)]}];}case _0x3e3162['id']:{const _0x5e4e8f=_0x1078b4[_0x20a33b(0x241)];return(Array[_0x20a33b(0x160)](_0x5e4e8f[_0x20a33b(0x1a2)])?_0x5e4e8f[_0x20a33b(0x1a2)]:[_0x5e4e8f[_0x20a33b(0x1a2)]])[_0x20a33b(0x19a)](_0x599b2b=>_0x599b2b[_0x20a33b(0x136)][_0x20a33b(0x19a)](_0x254dd5=>({'range':_0x254dd5,'unitId':_0x5e4e8f[_0x20a33b(0x178)],'subUnitId':_0x5e4e8f[_0x20a33b(0x17b)]})))[_0x20a33b(0x264)]();}case _0x54cacb['id']:{const _0x2b38cd=_0x1078b4[_0x20a33b(0x241)];return _0x2b38cd[_0x20a33b(0x1a2)][_0x20a33b(0x136)][_0x20a33b(0x19a)](_0xcfcf0c=>({'range':_0xcfcf0c,'unitId':_0x2b38cd[_0x20a33b(0x178)],'subUnitId':_0x2b38cd['subUnitId']}));}default:return[];}}[_0x3671b9(0x13a)](_0x147651){const _0x4fe5c3=_0x3671b9;if(_0x147651['length']<=0x1)return _0x147651;const _0x23745b=new Map();return _0x147651[_0x4fe5c3(0x120)](_0x16a07d=>{const _0x4bbb67=_0x4fe5c3;var _0x57e8c0;const {unitId:_0x103490,subUnitId:_0x345945}=_0x16a07d,_0x400930=_0x103490+'-'+_0x345945;_0x23745b[_0x4bbb67(0x26e)](_0x400930)?(_0x57e8c0=_0x23745b[_0x4bbb67(0x284)](_0x400930))==null||_0x57e8c0['push'](_0x16a07d):_0x23745b['set'](_0x400930,[_0x16a07d]);}),Array[_0x4fe5c3(0x1f2)](_0x23745b[_0x4fe5c3(0x137)]())[_0x4fe5c3(0x19a)](_0x1374d7=>new _0x35d8ad()[_0x4fe5c3(0x2ab)](..._0x1374d7['map'](_0xaeb2e=>_0xaeb2e[_0x4fe5c3(0x28c)]))[_0x4fe5c3(0x16e)]()[_0x4fe5c3(0x19a)](_0x4ade57=>({'range':_0x4ade57,'unitId':_0x1374d7[0x0][_0x4fe5c3(0x178)],'subUnitId':_0x1374d7[0x0][_0x4fe5c3(0x17b)]})))[_0x4fe5c3(0x264)]();}};$=ys([Q(0x0,_0x3b34a7(E)),Q(0x1,_0xe20cbd),Q(0x2,_0x4d19af)],$);function he(_0x16a8c6){return new _0x290a60(_0x16a8c6)['getDataRange']();}function Cs(_0xa2bb99){const _0x445ae8=_0x3671b9,_0x3e6f12=new _0x290a60(_0xa2bb99),_0x3b62fc=new _0x290a60();return _0x3e6f12[_0x445ae8(0x16d)]((_0x256b80,_0x3ae532)=>{const _0x53e308=_0x445ae8;_0x3b62fc[_0x53e308(0x195)](_0x256b80,_0x3ae532,0x1);}),_0x356584(_0x3b62fc);}var ws=Object[_0x3671b9(0x261)],Ps=(_0x33e1be,_0x2947ac,_0x4ff94f,_0x2f2db1)=>{for(var _0xf8548c=_0x2f2db1>0x1?void 0x0:_0x2f2db1?ws(_0x2947ac,_0x4ff94f):_0x2947ac,_0x270ff1=_0x33e1be['length']-0x1,_0x3e656b;_0x270ff1>=0x0;_0x270ff1--)(_0x3e656b=_0x33e1be[_0x270ff1])&&(_0xf8548c=_0x3e656b(_0xf8548c)||_0xf8548c);return _0xf8548c;},C=(_0x5c4303,_0x8e8121)=>(_0x1cfe40,_0x3ba014)=>_0x8e8121(_0x1cfe40,_0x3ba014,_0x5c4303);let te=class extends _0x587ade{constructor(_0x58369f,_0x46b0cf,_0x50cc6f,_0x46cc53,_0x28dd83,_0x41fa17,_0x421319){const _0x5c84b0=_0x3671b9;super(),l(this,_0x5c84b0(0x29c),new Set()),l(this,_0x5c84b0(0x1b2),null),(this[_0x5c84b0(0x1e2)]=_0x58369f,this[_0x5c84b0(0x16b)]=_0x46b0cf,this['_versionDiffService']=_0x50cc6f,this[_0x5c84b0(0x173)]=_0x46cc53,this[_0x5c84b0(0x1b5)]=_0x28dd83,this[_0x5c84b0(0x139)]=_0x41fa17,this['_commandService']=_0x421319,this[_0x5c84b0(0x1cd)]());}['_init'](){const _0x57e1b9=_0x3671b9;this[_0x57e1b9(0x2a0)](),this[_0x57e1b9(0x23b)]();}[_0x3671b9(0x2a0)](){const _0x116633=_0x3671b9;this[_0x116633(0x1c4)](_0x3c2cf2([this['_historyManagerService']['loadingState$'],this['_sheetSkeletonManagerService'][_0x116633(0x1e5)]])[_0x116633(0x21f)](_0x25e157(([_0x1dd29b,_0x56ecfe])=>{const _0x44078a=_0x116633;if(_0x1dd29b===T[_0x44078a(0x18d)]&&_0x56ecfe){const _0x3d26c6=_0x56ecfe[_0x44078a(0x146)];return this[_0x44078a(0x219)][_0x44078a(0x2a3)][_0x44078a(0x21f)](_0x3484bf(_0x409372=>{const _0x3c033d=_0x44078a,_0x5d4e2f=new Map();return _0x409372[_0x3c033d(0x136)][_0x3c033d(0x120)]((_0x50d6bb,_0x5dfa38)=>{const _0x33a5f2=_0x3c033d,_0x4656a6=_0x50d6bb[_0x33a5f2(0x13f)](_0x573171=>_0x573171[_0x33a5f2(0x17b)]===_0x3d26c6);_0x5d4e2f[_0x33a5f2(0x1ef)](_0x5dfa38,_0x4656a6);}),{'skeleton':_0x56ecfe,'diffs':_0x5d4e2f};}));}return _0x3711e1({'skeleton':null,'diffs':new Map()});}))[_0x116633(0x28d)](({skeleton:_0x40143f,diffs:_0x43c37e})=>{const _0x2fa78d=_0x116633;this[_0x2fa78d(0x267)](),_0x40143f&&this[_0x2fa78d(0x1bb)](_0x40143f,_0x43c37e);})),this['disposeWithMe'](this[_0x116633(0x139)][_0x116633(0x1e5)][_0x116633(0x28d)](_0x5dc04a=>{const _0x3c673f=_0x116633;if(_0x5dc04a==null)return;const {skeleton:_0x104652}=_0x5dc04a,{scene:_0x354c0d}=this['_context'];_0x354c0d[_0x3c673f(0x17d)][_0x3c673f(0x1e6)](_0x5858ea(_0x168f77=>{const _0x92ae08=_0x3c673f;var _0x225c48,_0x25f443;const {offsetX:_0x144212,offsetY:_0x4a5e27}=_0x168f77,{x:_0x1b1b9b,y:_0x5f1548}=_0x354c0d[_0x92ae08(0x254)](_0x13506d[_0x92ae08(0x21e)]([_0x144212,_0x4a5e27])),{scaleX:_0x34ae6c,scaleY:_0x490b7e}=_0x354c0d[_0x92ae08(0x21b)](),_0x47a901=_0x354c0d[_0x92ae08(0x17c)](_0x5efac4[_0x92ae08(0x20b)]),_0x36aace=_0x354c0d[_0x92ae08(0x192)](_0x13506d[_0x92ae08(0x21e)]([_0x1b1b9b,_0x5f1548]),_0x47a901),_0x21ff41=_0x104652[_0x92ae08(0x22d)](_0x144212,_0x4a5e27,_0x34ae6c,_0x490b7e,_0x36aace);((_0x225c48=this['_lastPointer'])==null?void 0x0:_0x225c48[_0x92ae08(0x14a)])===_0x21ff41[_0x92ae08(0x14a)]&&((_0x25f443=this['_lastPointer'])==null?void 0x0:_0x25f443[_0x92ae08(0x2c0)])===_0x21ff41[_0x92ae08(0x2c0)]||this['_diffs']['forEach'](_0x4e064d=>{const _0x1bbea3=_0x92ae08;_0x4e064d[_0x1bbea3(0x273)](_0x21ff41);});},0x64));}));}['_initActiveSwitch'](){const _0x3f8f48=_0x3671b9;this[_0x3f8f48(0x1c4)](this[_0x3f8f48(0x16b)][_0x3f8f48(0x2ac)]['subscribe'](_0x4b6fd1=>{const _0x364c14=_0x3f8f48,_0x135e78=new _0x16772a();return _0x4b6fd1===T[_0x364c14(0x18d)]&&(_0x135e78[_0x364c14(0x13e)](),_0x135e78[_0x364c14(0x2ab)](this['_versionDiffService'][_0x364c14(0x2a3)][_0x364c14(0x28d)](_0x4b7328=>{const _0x530313=_0x364c14;_0x4b7328[_0x530313(0x1cc)]&&this['_commandService'][_0x530313(0x1fb)](_0x55ccc8['id'],{'unitId':this[_0x530313(0x1e2)]['unitId'],'subUnitId':_0x4b7328[_0x530313(0x1cc)]});}))),()=>_0x135e78[_0x364c14(0x13e)]();}));}['_updateDiffMarks'](_0xa4aa5d,_0x380be1){const _0x266968=_0x3671b9;var _0x442fd5;const _0x526dbf=(_0x442fd5=this[_0x266968(0x139)][_0x266968(0x278)]())==null?void 0x0:_0x442fd5[_0x266968(0x175)];if(!_0x526dbf)return;this[_0x266968(0x29c)][_0x266968(0x120)](_0x3ef83b=>{const _0x3b5985=_0x266968;_0x3ef83b[_0x3b5985(0x1ed)]();});const {scene:_0x25904d}=this[_0x266968(0x1e2)],_0x380bcf=Array[_0x266968(0x1f2)](_0x380be1[_0x266968(0x224)]())[_0x266968(0x19a)](_0x3b7324=>_0x380be1[_0x266968(0x284)](_0x3b7324)['map'](_0x3aeea6=>{const _0x1660da=_0x266968;var _0x5a904a;const {range:_0x121694,subUnitId:_0x20e3b9,unitId:_0x2ac858}=_0x3aeea6,{startColumn:_0x421298,startRow:_0x43c9b7,endColumn:_0x2e3309,endRow:_0x378671}=_0x121694,_0x215da8=_0x266461(_0x43c9b7,_0x421298,_0x25904d,_0x526dbf),_0x16758e=_0x266461(_0x378671,_0x2e3309,_0x25904d,_0x526dbf),{columnHeaderHeightAndMarginTop:_0x400e0b}=_0x526dbf,{startX:_0x1f602e,startY:_0x3caab5}=_0x215da8,{endX:_0x259048,endY:_0x2ee16e}=_0x16758e,_0x340080=_0x259048-_0x1f602e,_0x303d46=_0x2ee16e-_0x3caab5,_0x367973={'labelPosition':_0x3caab5-_0x400e0b>=0x14?_0x1660da(0x1a4):'bottom','sheetID':_0x20e3b9,'range':_0x121694,'color':_0x1660da(0x296),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x1660da(0x296),'name':((_0x5a904a=this['_historyManagerService']['getMember'](_0x3b7324))==null?void 0x0:_0x5a904a['name'])||'','selection':_0x2ac858+'-'+_0x20e3b9+'-'+_0x121694[_0x1660da(0x29a)]+'-'+_0x121694[_0x1660da(0x1a3)]+'-'+_0x121694[_0x1660da(0x24b)]+'-'+_0x121694[_0x1660da(0x12e)],'left':_0x1f602e,'top':_0x3caab5,'width':_0x340080,'height':_0x303d46,'evented':!0x1,'zIndex':0x1};return new _0x28db5c('',_0x367973);}))[_0x266968(0x264)]();_0x25904d['addObjects'](_0x380bcf,0x1),this[_0x266968(0x29c)]=new Set(_0x380bcf);}[_0x3671b9(0x267)](){const _0x388d27=_0x3671b9;var _0x17e41c;(_0x17e41c=this[_0x388d27(0x29c)])==null||_0x17e41c['forEach'](_0x2b346a=>_0x2b346a[_0x388d27(0x13e)]());}[_0x3671b9(0x26a)](){const _0x3c9403=_0x3671b9;return _0x378f9e(this[_0x3c9403(0x173)],this[_0x3c9403(0x1b5)]);}};te=Ps([C(0x1,_0x3b34a7(E)),C(0x2,_0x3b34a7($)),C(0x3,_0x5f54c2),C(0x4,_0x14921b),C(0x5,_0x3b34a7(_0x11909c)),C(0x6,_0x2607ee)],te);function Ts(){const _0x136b19=_0x3671b9,_0x17f3f3=_0xbfb901(E),_0x37ddce=_0x37e168(_0x17f3f3['versions$']),[_0x4ed31c,_0x1a54fa]=_0xff519c(!0x1),_0x133f02=ls(_0x37ddce);return _0x37ddce?_0x42d6d4(_0x136b19(0x1f9),{'className':_0x136b19(0x1d7),'children':_0x1873c3(_0x136b19(0x1f9),{'className':'univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','children':[_0x133f02[_0x136b19(0x19a)]((_0x1a10bb,_0x5aee38)=>_0x1873c3(_0xbcc4e1,{'children':[_0x42d6d4(Vs,{'date':_0x1a10bb[_0x136b19(0x28e)]}),_0x1a10bb[_0x136b19(0x1b6)]['map']((_0xfc6ceb,_0x49a153)=>_0x42d6d4(ks,{'index':[_0x5aee38,_0x49a153],'item':_0xfc6ceb},_0x5aee38+'-'+_0x49a153))]},_0x1a10bb['dateString'])),_0x4ed31c&&_0x42d6d4(Ls,{})]})}):_0x42d6d4($s,{});}function Ls(){const _0x268752=_0x3671b9;return _0x42d6d4('div',{'className':'univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','children':_0x42d6d4(ae,{'className':_0x268752(0x1ac)})});}function $s(){const _0x5498e1=_0x3671b9;return _0x42d6d4(_0x5498e1(0x1f9),{'className':_0x5498e1(0x11e),'children':_0x42d6d4('span',{'className':'univer-text-gray-500','children':_0x42d6d4(ae,{'className':_0x5498e1(0x124)})})});}function Vs(_0x518b9d){const _0x2b1b39=_0x3671b9,_0x567ef2=_0xbfb901(_0x2a3e90),{date:_0x10a9b5}=_0x518b9d;return _0x42d6d4('div',{'className':_0x2b1b39(0x262),'children':ee(_0x10a9b5,_0x567ef2[_0x2b1b39(0x110)]())});}function ks(_0x295466){const _0x28df6e=_0x3671b9,{item:_0x59a00b,index:_0x50ebc4}=_0x295466,{time:_0x2495fb,user:_0x560c2a}=_0x59a00b,[_0x533e1e,_0x32104]=_0x50ebc4,_0x57674d=_0xbfb901(E),_0x5941ca=_0x37e168(_0x57674d[_0x28df6e(0x240)],'',!0x0)===_0x59a00b['id'],_0x317f6e=_0x533e1e===0x0&&_0x32104===0x0,_0x2d7987=!_0x317f6e&&_0x57674d[_0x28df6e(0x13d)],_0xcdafeb=_0xbfb901(_0x2a3e90),_0x2ac861=_0xcdafeb[_0x28df6e(0x110)](),_0x23c92d=re(_0x2495fb,_0x2ac861),_0x4c5402=_0xcdafeb['t'](_0x28df6e(0x27a)),_0x4fd6c2=_0x4a9ffb(_0x5f0c75=>{const _0x53d4f9=_0x28df6e;_0x57674d[_0x53d4f9(0x179)]!==T[_0x53d4f9(0x114)]&&(_0x57674d[_0x53d4f9(0x20f)]=_0x5f0c75);},[_0x57674d]),_0x40da67=_0x4a9ffb(_0x160ab9=>{const _0x1b82cb=_0x28df6e;_0x57674d[_0x1b82cb(0x12a)](_0x160ab9);},[_0x57674d]);return _0x1873c3(_0x28df6e(0x1f9),{'className':_0x29bbf0(_0x28df6e(0x1c1),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x5941ca}),'onClick':()=>_0x4fd6c2(_0x59a00b['id']),'children':[_0x1873c3('div',{'className':'univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','children':[_0x1873c3(_0x28df6e(0x1f9),{'className':_0x28df6e(0x282),'children':[_0x42d6d4('span',{'children':_0x23c92d[_0x28df6e(0x2bf)]}),_0x317f6e&&_0x42d6d4(_0x28df6e(0x22f),{'className':_0x28df6e(0x17f),'children':_0x4c5402})]}),_0x42d6d4(_0x28df6e(0x1f9),{'children':_0x2d7987&&_0x42d6d4(_0x389a05,{'title':_0xcdafeb['t']('editHistory.panel.revertDesc'),'children':_0x42d6d4('div',{'onClick':_0x159804=>{_0x159804['stopPropagation'](),_0x40da67(_0x59a00b['id']);},'className':_0x28df6e(0x126),'children':_0x42d6d4(Le,{})})})})]}),_0x42d6d4(_0x28df6e(0x1f9),{'className':_0x28df6e(0x1c0),'children':os(_0x59a00b,_0xcdafeb)})]});}function _0x4337(_0x5287f2,_0x37d3a0){const _0x4979e6=_0x4979();return _0x4337=function(_0x433736,_0xd0a01d){_0x433736=_0x433736-0x10b;let _0x266674=_0x4979e6[_0x433736];return _0x266674;},_0x4337(_0x5287f2,_0x37d3a0);}var Us=Object['getOwnPropertyDescriptor'],xs=(_0x46478b,_0x3d5a7e,_0x1999a2,_0xf3343e)=>{for(var _0x30fcdf=_0xf3343e>0x1?void 0x0:_0xf3343e?Us(_0x3d5a7e,_0x1999a2):_0x3d5a7e,_0x546204=_0x46478b['length']-0x1,_0x16321c;_0x546204>=0x0;_0x546204--)(_0x16321c=_0x46478b[_0x546204])&&(_0x30fcdf=_0x16321c(_0x30fcdf)||_0x30fcdf);return _0x30fcdf;},k=(_0x4aeb71,_0x14720a)=>(_0x599fb7,_0x40cb0b)=>_0x14720a(_0x599fb7,_0x40cb0b,_0x4aeb71);const de=_0x3671b9(0x253);let j=class extends _0x587ade{constructor(_0x4fb559,_0x2ba864,_0x546b56,_0x38f64b){const _0x19669e=_0x3671b9;super(),l(this,_0x19669e(0x236),null),(this[_0x19669e(0x25c)]=_0x4fb559,this['_componentManager']=_0x2ba864,this[_0x19669e(0x1b7)]=_0x546b56,this[_0x19669e(0x16b)]=_0x38f64b,this[_0x19669e(0x1cd)]());}[_0x3671b9(0x1cd)](){const _0x55f0d0=_0x3671b9;this[_0x55f0d0(0x2a9)](),this[_0x55f0d0(0x181)]();}['_openPanel'](){const _0x497b11=_0x3671b9;if(this['_sidebarDisposable'])return;const _0x83e09d={'header':{'title':this[_0x497b11(0x1b7)]['t']('editHistory.panel.title')},'children':{'label':de},'onClose':()=>{const _0x1a08e8=_0x497b11;this[_0x1a08e8(0x236)]=null,this[_0x1a08e8(0x16b)][_0x1a08e8(0x28f)]=ne[_0x1a08e8(0x213)];}};this[_0x497b11(0x236)]=this[_0x497b11(0x25c)][_0x497b11(0x111)]({..._0x83e09d});}[_0x3671b9(0x2a9)](){const _0xf93e54=_0x3671b9;this[_0xf93e54(0x1c4)](this['_componentManager']['register'](de,Ts)),this[_0xf93e54(0x1c4)](this['_sidebarService'][_0xf93e54(0x206)]['pipe'](_0x15997d(0x64))[_0xf93e54(0x28d)](_0x139708=>{const _0x2e65f6=_0xf93e54,{target:_0x1af505}=_0x139708||{};if(_0x1af505){const {scrollTop:_0x47ea11,scrollHeight:_0x1c4219,clientHeight:_0x18dcaa}=_0x1af505;_0x47ea11+_0x18dcaa>=_0x1c4219-0x5&&this['_historyManagerService'][_0x2e65f6(0x1c7)]();}}));}};j=xs([k(0x0,_0x3d34cd),k(0x1,_0x3b34a7(_0x38be49)),k(0x2,_0x3b34a7(_0x2a3e90)),k(0x3,_0x3b34a7(E))],j);class Hs extends _0x587ade{constructor(){const _0x4f5937=_0x3671b9;super(),l(this,_0x4f5937(0x1c5),new _0xb39147());}['open'](){return _0xfed24a(()=>{});}['close'](){}['closeAll'](_0x454cc5){}[_0x3671b9(0x187)](){return this['_dialogOptions$']['asObservable']();}}var Fs=Object[_0x3671b9(0x1a5)],Ys=Object[_0x3671b9(0x261)],Bs=(_0x347341,_0x3ea190,_0x42fb49)=>_0x3ea190 in _0x347341?Fs(_0x347341,_0x3ea190,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x42fb49}):_0x347341[_0x3ea190]=_0x42fb49,js=(_0x141e86,_0x7028b7,_0x29d778,_0xa87f2c)=>{for(var _0xb48af3=_0xa87f2c>0x1?void 0x0:_0xa87f2c?Ys(_0x7028b7,_0x29d778):_0x7028b7,_0x7c81da=_0x141e86['length']-0x1,_0x39e2bc;_0x7c81da>=0x0;_0x7c81da--)(_0x39e2bc=_0x141e86[_0x7c81da])&&(_0xb48af3=_0x39e2bc(_0xb48af3)||_0xb48af3);return _0xb48af3;},J=(_0x2e63c9,_0x3d8d76)=>(_0x476fd4,_0x1bf480)=>_0x3d8d76(_0x476fd4,_0x1bf480,_0x2e63c9),As=(_0x5e3b08,_0x1d46e0,_0x348d7a)=>Bs(_0x5e3b08,_0x1d46e0+'',_0x348d7a);const Ws='UNIVER_EDIT_HISTORY_VIEWER_PLUGIN';let se=class extends _0x20bddf{constructor(_0x422a41=_e,_0x10e160,_0x1ca28c,_0x146509){const _0x33faf1=_0x3671b9;super(),this[_0x33faf1(0x232)]=_0x422a41,this[_0x33faf1(0x21d)]=_0x10e160,this[_0x33faf1(0x1b5)]=_0x1ca28c,this[_0x33faf1(0x2ba)]=_0x146509;const {..._0x271c4a}=_0xd200a5({},_e,this[_0x33faf1(0x232)]);this['_configService'][_0x33faf1(0x2bc)](we,_0x271c4a);}['onStarting'](){const _0x48b84c=_0x3671b9;[[E],[B],[$],[Y],[j],[H],[_0x4d19af,{'useClass':_0x433c72}],[_0x56bb9e,{'useClass':Hs}],[_0x1eff1f,{'useClass':_0x3fdcad}]]['forEach'](_0x1e310d=>this['_injector'][_0x48b84c(0x2ab)](_0x1e310d)),this[_0x48b84c(0x21d)]['get'](B);}['onRendered'](){const _0xbdd71c=_0x3671b9;[[te]][_0xbdd71c(0x120)](_0x5d29de=>{const _0x42fda1=_0xbdd71c;this[_0x42fda1(0x1c4)](this['_renderManagerService'][_0x42fda1(0x1c2)](_0x232445[_0x42fda1(0x174)],_0x5d29de));}),this[_0xbdd71c(0x21d)][_0xbdd71c(0x284)](H),this[_0xbdd71c(0x21d)]['get'](j);}[_0x3671b9(0x286)](){const _0x237e54=_0x3671b9;this[_0x237e54(0x21d)][_0x237e54(0x284)]($);}};As(se,_0x3671b9(0x204),Ws),se=js([_0x3d14f4(_0x452d19,_0xa026c8),J(0x1,_0x3b34a7(_0xcc3682)),J(0x2,_0x14921b),J(0x3,_0x2f1556)],se);export{E as HistoryManagerService,ne as HistoryModeStatus,se as UniverEditHistoryViewerPlugin};
1
+ const _0x1fc33d=_0x1e42;(function(_0x17e022,_0x40f60a){const _0x4c66ce=_0x1e42,_0x2195df=_0x17e022();while(!![]){try{const _0x15172b=-parseInt(_0x4c66ce(0x1c7))/0x1+parseInt(_0x4c66ce(0x276))/0x2*(parseInt(_0x4c66ce(0x189))/0x3)+-parseInt(_0x4c66ce(0x20f))/0x4+parseInt(_0x4c66ce(0x177))/0x5+-parseInt(_0x4c66ce(0x12d))/0x6*(parseInt(_0x4c66ce(0x269))/0x7)+-parseInt(_0x4c66ce(0x1cb))/0x8+parseInt(_0x4c66ce(0x23c))/0x9*(parseInt(_0x4c66ce(0x11d))/0xa);if(_0x15172b===_0x40f60a)break;else _0x2195df['push'](_0x2195df['shift']());}catch(_0x932f36){_0x2195df['push'](_0x2195df['shift']());}}}(_0x4147,0x973c5));var Fe=Object[_0x1fc33d(0x26f)],Ye=(_0x55ee0b,_0x1acd17,_0x1a64c5)=>_0x1acd17 in _0x55ee0b?Fe(_0x55ee0b,_0x1acd17,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a64c5}):_0x55ee0b[_0x1acd17]=_0x1a64c5,l=(_0x1afbd9,_0x4c8b12,_0x3d50cb)=>Ye(_0x1afbd9,typeof _0x4c8b12!=_0x1fc33d(0x2ac)?_0x4c8b12+'':_0x4c8b12,_0x3d50cb);import{RevertRevisionMutation as _0x36c11a,CreateUnitMutation as _0x1d5268,ISnapshotServerService as _0xecd97f,CompressMutationService as _0x1d1a1d,transformSnapshotToWorkbookData as _0x2e7fc1,ITransformService as _0x5d73a0,parseProtocolChangeset as _0x56d21b,isTransformMutationsSuccess as _0x489360}from'@univerjs-pro/collaboration';import{SnapshotServerOverHTTPService as _0x86fdee,CollaborationImageIoService as _0x592601}from'@univerjs-pro/collaboration-client';import{Disposable as _0x5f2034,LocaleType as _0x2a612e,IUniverInstanceService as _0xb6c582,ICommandService as _0x17182e,IConfigService as _0x51d64d,Inject as _0x2dcf86,UniverInstanceType as _0x3e4d1b,LocaleService as _0x355079,IPermissionService as _0x2553d3,Injector as _0x2f2c8d,ObjectMatrix as _0x467977,debounce as _0x34ab28,DisposableCollection as _0x34c9fc,toDisposable as _0x219d05,DependentOn as _0x14637c,Plugin as _0x1bd273,merge as _0x3aa8ee}from'@univerjs/core';import{IImageIoService as _0x516ccf}from'@univerjs/drawing';import{IRenderManagerService as _0x197255,Vector2 as _0x42502d,SHEET_VIEWPORT_KEY as _0xdf5a4c}from'@univerjs/engine-render';import{HTTPService as _0x1ce90d,UniverNetworkPlugin as _0x11d4d9}from'@univerjs/network';import{ICellEditorManagerService as _0x961c1,SheetSkeletonManagerService as _0x5e93a4,getCoordByCell as _0x5d5a0f,getSheetObject as _0x2042e3,UniverSheetsUIPlugin as _0x433042}from'@univerjs/sheets-ui';import{IMessageService as _0x5e5f14,IConfirmService as _0x11ab99,useDependency as _0x2953d2,useObservable as _0x8c74e2,IUIPartsService as _0x121ab7,BuiltInUIPart as _0x52b944,connectInjector as _0x2f7fe7,ISidebarService as _0xba97fd,ComponentManager as _0x44681e,IDialogService as _0x219097}from'@univerjs/ui';import{MessageType as _0x26d1e6,clsx as _0x3a44b6,Button as _0xcbc90d,borderBottomClassName as _0x429cb9,Tooltip as _0x43ca80}from'@univerjs/design';import{InsertSheetMutation as _0x92afe3,RemoveSheetMutation as _0x1fbaec,SetFrozenMutation as _0x4631d9,AddWorksheetProtectionMutation as _0x3424ed,AddRangeProtectionMutation as _0x1f4b2b,DeleteRangeProtectionMutation as _0x3ffaaa,DeleteWorksheetProtectionMutation as _0x3ee315,SheetPermissionInitController as _0x1fafe6,WorkbookEditablePermission as _0x17b0fa,WorkbookRenameSheetPermission as _0x3c9836,WorkbookMoveSheetPermission as _0x7a055f,WorkbookHideSheetPermission as _0x5a34e2,SetWorksheetHideMutation as _0x162cc1,SetRangeValuesMutation as _0x354bf1,SetRangeProtectionMutation as _0x45e30d,ReorderRangeMutation as _0xaf0778,RemoveNumfmtMutation as _0x28882a,SetNumfmtMutation as _0x3bbedd,MoveColsMutation as _0x4aca1b,MoveRowsMutation as _0xaaa2a4,MoveRangeMutation as _0x53840f,InsertColMutation as _0x398a7d,InsertRowMutation as _0x322fa0,AddWorksheetMergeMutation as _0x50bb44,RangeMergeUtil as _0x3eab0d,findAllRectangle as _0x5e8f1d,SetWorksheetActiveOperation as _0x11bbb7}from'@univerjs/sheets';import{BehaviorSubject as _0x10109f,combineLatest as _0x21dce4,switchMap as _0x285da9,map as _0x3a22ea,of as _0x2d23b2,debounceTime as _0x4622f3,Subject as _0x2a5bae}from'rxjs';import{AddSheetSparklineMutation as _0x58f694}from'@univerjs-pro/sheets-sparkline';import{AddDataValidationMutation as _0x1c5bae,UpdateDataValidationMutation as _0x12e660}from'@univerjs/data-validation';import{SetConditionalRuleMutation as _0xb5b206,AddConditionalRuleMutation as _0x2fbc22}from'@univerjs/sheets-conditional-formatting';import{SetSheetsFilterRangeMutation as _0x42fbcd}from'@univerjs/sheets-filter';import{jsxs as _0x1cfe7d,jsx as _0x25531c}from'react/jsx-runtime';import{forwardRef as _0x4ad49f,useRef as _0x39f188,createElement as _0x1927fc,useCallback as _0x2f72a7,useState as _0x4ac8de,Fragment as _0x2f0225}from'react';import{SheetCollabCursorShape as _0x33fc42}from'@univerjs-pro/collaboration-client-ui';const we='edit-history-viewer.config',_e={};var is=Object[_0x1fc33d(0x2ad)],rs=(_0x21c25e,_0x1fbf7e,_0x1170e6,_0x56cb34)=>{for(var _0x39933f=_0x56cb34>0x1?void 0x0:_0x56cb34?is(_0x1fbf7e,_0x1170e6):_0x1fbf7e,_0x1a6aab=_0x21c25e['length']-0x1,_0xa1c8ea;_0x1a6aab>=0x0;_0x1a6aab--)(_0xa1c8ea=_0x21c25e[_0x1a6aab])&&(_0x39933f=_0xa1c8ea(_0x39933f)||_0x39933f);return _0x39933f;},ns=(_0x5b8df4,_0x59550e)=>(_0x2a03d5,_0x11ef78)=>_0x59550e(_0x2a03d5,_0x11ef78,_0x5b8df4);let H=class extends _0x5f2034{constructor(_0x45d441){const _0x4ef533=_0x1fc33d;super(),this[_0x4ef533(0x233)]=_0x45d441,this[_0x4ef533(0x1b2)]();}[_0x1fc33d(0x1b2)](){const _0x2e8183=_0x1fc33d;this['disposeWithMe'](this[_0x2e8183(0x233)][_0x2e8183(0x1a0)]['subscribe'](_0x2ade05=>{const _0x4c66=_0x2e8183;_0x2ade05!=null&&_0x2ade05['show']&&this[_0x4c66(0x233)][_0x4c66(0x1d9)]({'show':!0x1});}));}};H=rs([ns(0x0,_0x961c1)],H);var X=(_0x44f493=>(_0x44f493[_0x44f493[_0x1fc33d(0x287)]=0x0]=_0x1fc33d(0x287),_0x44f493[_0x44f493['OK']=0x1]='OK',_0x44f493[_0x44f493[_0x1fc33d(0x25c)]=0x2]=_0x1fc33d(0x25c),_0x44f493[_0x44f493[_0x1fc33d(0x1af)]=0x3]=_0x1fc33d(0x1af),_0x44f493[_0x44f493[_0x1fc33d(0x1fc)]=0x4]='NOT_FOUND',_0x44f493[_0x44f493[_0x1fc33d(0x21c)]=0x5]=_0x1fc33d(0x21c),_0x44f493[_0x44f493[_0x1fc33d(0x272)]=0x6]=_0x1fc33d(0x272),_0x44f493[_0x44f493['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x44f493[_0x44f493[_0x1fc33d(0x2c9)]=0x8]=_0x1fc33d(0x2c9),_0x44f493[_0x44f493['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x44f493[_0x44f493['LOGIN_FAILED']=0xa]=_0x1fc33d(0x171),_0x44f493[_0x44f493['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x1fc33d(0x143),_0x44f493[_0x44f493[_0x1fc33d(0x126)]=0xc]=_0x1fc33d(0x126),_0x44f493[_0x44f493['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x1fc33d(0x261),_0x44f493[_0x44f493[_0x1fc33d(0x2d1)]=0xe]=_0x1fc33d(0x2d1),_0x44f493[_0x44f493[_0x1fc33d(0x200)]=0x1389]=_0x1fc33d(0x200),_0x44f493[_0x44f493['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1fc33d(0x140),_0x44f493[_0x44f493['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x1fc33d(0x220),_0x44f493[_0x44f493[_0x1fc33d(0x290)]=0x1773]=_0x1fc33d(0x290),_0x44f493[_0x44f493['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x44f493[_0x44f493[_0x1fc33d(0x25f)]=0x1b5a]=_0x1fc33d(0x25f),_0x44f493[_0x44f493[_0x1fc33d(0x232)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x44f493[_0x44f493['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x1fc33d(0x1eb),_0x44f493[_0x44f493[_0x1fc33d(0x286)]=0x1b5d]=_0x1fc33d(0x286),_0x44f493[_0x44f493[_0x1fc33d(0x149)]=0x1f41]=_0x1fc33d(0x149),_0x44f493[_0x44f493[_0x1fc33d(0x242)]=0x2329]=_0x1fc33d(0x242),_0x44f493[_0x44f493[_0x1fc33d(0x1b3)]=0x232a]=_0x1fc33d(0x1b3),_0x44f493[_0x44f493['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1fc33d(0x260),_0x44f493[_0x44f493[_0x1fc33d(0x2a6)]=0x232c]=_0x1fc33d(0x2a6),_0x44f493[_0x44f493['LICENSE_DISTRO_REJECTED']=0x232d]=_0x1fc33d(0x24a),_0x44f493[_0x44f493[_0x1fc33d(0x2a5)]=0x2711]=_0x1fc33d(0x2a5),_0x44f493[_0x44f493['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x44f493[_0x44f493['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x44f493[_0x44f493['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x1fc33d(0x282),_0x44f493[_0x44f493['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x44f493[_0x44f493[_0x1fc33d(0x17f)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x44f493[_0x44f493[_0x1fc33d(0x22a)]=0x271c]=_0x1fc33d(0x22a),_0x44f493[_0x44f493[_0x1fc33d(0x11f)]=0x271d]=_0x1fc33d(0x11f),_0x44f493[_0x44f493[_0x1fc33d(0x1b5)]=0x271e]=_0x1fc33d(0x1b5),_0x44f493[_0x44f493[_0x1fc33d(0x2b7)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x44f493[_0x44f493[_0x1fc33d(0x2c5)]=0x2720]=_0x1fc33d(0x2c5),_0x44f493[_0x44f493[_0x1fc33d(0x274)]=0x2af9]=_0x1fc33d(0x274),_0x44f493[_0x44f493[_0x1fc33d(0x2b9)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x44f493[_0x44f493[_0x1fc33d(0x152)]=0x2ee2]=_0x1fc33d(0x152),_0x44f493[_0x44f493[_0x1fc33d(0x23b)]=0x2ee3]=_0x1fc33d(0x23b),_0x44f493[_0x44f493[_0x1fc33d(0x1c3)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x44f493[_0x44f493[_0x1fc33d(0x279)]=0x2ee5]=_0x1fc33d(0x279),_0x44f493[_0x44f493['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x1fc33d(0x121),_0x44f493[_0x44f493[_0x1fc33d(0x13c)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x44f493[_0x44f493[_0x1fc33d(0x1fa)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x44f493[_0x44f493[_0x1fc33d(0x2a4)]=-0x1]='UNRECOGNIZED',_0x44f493))(X||{}),F=(_0x56f0bd=>(_0x56f0bd[_0x56f0bd[_0x1fc33d(0x1b4)]=0x0]=_0x1fc33d(0x1b4),_0x56f0bd[_0x56f0bd['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x56f0bd[_0x56f0bd[_0x1fc33d(0x185)]=0x2]=_0x1fc33d(0x185),_0x56f0bd[_0x56f0bd['UNIVER_SLIDE']=0x3]=_0x1fc33d(0x1e5),_0x56f0bd[_0x56f0bd['UNIVER_PROJECT']=0x4]=_0x1fc33d(0x28d),_0x56f0bd[_0x56f0bd[_0x1fc33d(0x2a4)]=-0x1]=_0x1fc33d(0x2a4),_0x56f0bd))(F||{}),D=(_0x1a2051=>(_0x1a2051[_0x1a2051[_0x1fc33d(0x179)]=0x0]=_0x1fc33d(0x179),_0x1a2051[_0x1a2051[_0x1fc33d(0x2af)]=0x1]=_0x1fc33d(0x2af),_0x1a2051[_0x1a2051[_0x1fc33d(0x1be)]=0x2]=_0x1fc33d(0x1be),_0x1a2051[_0x1a2051[_0x1fc33d(0x1b6)]=0x3]=_0x1fc33d(0x1b6),_0x1a2051[_0x1a2051[_0x1fc33d(0x28e)]=0x4]=_0x1fc33d(0x28e),_0x1a2051[_0x1a2051[_0x1fc33d(0x15a)]=0x5]=_0x1fc33d(0x15a),_0x1a2051[_0x1a2051[_0x1fc33d(0x1ed)]=0x6]=_0x1fc33d(0x1ed),_0x1a2051[_0x1a2051[_0x1fc33d(0x227)]=0x7]='Share',_0x1a2051[_0x1a2051[_0x1fc33d(0x16d)]=0x8]=_0x1fc33d(0x16d),_0x1a2051[_0x1a2051[_0x1fc33d(0x12e)]=0x9]=_0x1fc33d(0x12e),_0x1a2051[_0x1a2051[_0x1fc33d(0x155)]=0xa]=_0x1fc33d(0x155),_0x1a2051[_0x1a2051[_0x1fc33d(0x19b)]=0xb]='HideWorksheet',_0x1a2051[_0x1a2051[_0x1fc33d(0x2a9)]=0xc]='RenameWorksheet',_0x1a2051[_0x1a2051[_0x1fc33d(0x20a)]=0xd]=_0x1fc33d(0x20a),_0x1a2051[_0x1a2051[_0x1fc33d(0x271)]=0xe]=_0x1fc33d(0x271),_0x1a2051[_0x1a2051[_0x1fc33d(0x239)]=0xf]=_0x1fc33d(0x239),_0x1a2051[_0x1a2051[_0x1fc33d(0x1cf)]=0x10]='InsertHyperlink',_0x1a2051[_0x1a2051['Sort']=0x11]=_0x1fc33d(0x283),_0x1a2051[_0x1a2051['Filter']=0x12]=_0x1fc33d(0x16e),_0x1a2051[_0x1a2051[_0x1fc33d(0x1e9)]=0x13]=_0x1fc33d(0x1e9),_0x1a2051[_0x1a2051[_0x1fc33d(0x258)]=0x14]=_0x1fc33d(0x258),_0x1a2051[_0x1a2051['History']=0x15]=_0x1fc33d(0x26b),_0x1a2051[_0x1a2051[_0x1fc33d(0x223)]=0x16]=_0x1fc33d(0x223),_0x1a2051[_0x1a2051[_0x1fc33d(0x1ca)]=0x17]=_0x1fc33d(0x1ca),_0x1a2051[_0x1a2051[_0x1fc33d(0x117)]=0x18]='ViewFilter',_0x1a2051[_0x1a2051[_0x1fc33d(0x2be)]=0x19]='MoveSheet',_0x1a2051[_0x1a2051[_0x1fc33d(0x1a6)]=0x1a]='DeleteSheet',_0x1a2051[_0x1a2051[_0x1fc33d(0x198)]=0x1b]=_0x1fc33d(0x198),_0x1a2051[_0x1a2051[_0x1fc33d(0x176)]=0x1c]=_0x1fc33d(0x176),_0x1a2051[_0x1a2051['RenameSheet']=0x1d]='RenameSheet',_0x1a2051[_0x1a2051[_0x1fc33d(0x1e0)]=0x1e]=_0x1fc33d(0x1e0),_0x1a2051[_0x1a2051[_0x1fc33d(0x1d3)]=0x1f]=_0x1fc33d(0x1d3),_0x1a2051[_0x1a2051[_0x1fc33d(0x24b)]=0x20]='SelectUnProtectedCells',_0x1a2051[_0x1a2051['SetCellStyle']=0x21]=_0x1fc33d(0x125),_0x1a2051[_0x1a2051[_0x1fc33d(0x229)]=0x22]=_0x1fc33d(0x229),_0x1a2051[_0x1a2051[_0x1fc33d(0x1b7)]=0x23]=_0x1fc33d(0x1b7),_0x1a2051[_0x1a2051['SetColumnStyle']=0x24]='SetColumnStyle',_0x1a2051[_0x1a2051[_0x1fc33d(0x237)]=0x25]=_0x1fc33d(0x237),_0x1a2051[_0x1a2051['InsertColumn']=0x26]=_0x1fc33d(0x27c),_0x1a2051[_0x1a2051['DeleteRow']=0x27]=_0x1fc33d(0x128),_0x1a2051[_0x1a2051[_0x1fc33d(0x29d)]=0x28]=_0x1fc33d(0x29d),_0x1a2051[_0x1a2051[_0x1fc33d(0x1cd)]=0x29]='EditExtraObject',_0x1a2051[_0x1a2051[_0x1fc33d(0x1d6)]=0x2a]=_0x1fc33d(0x1d6),_0x1a2051[_0x1a2051['RecoverHistory']=0x2b]=_0x1fc33d(0x133),_0x1a2051[_0x1a2051[_0x1fc33d(0x1d0)]=0x2c]='ViewHistory',_0x1a2051[_0x1a2051[_0x1fc33d(0x281)]=0x2d]=_0x1fc33d(0x281),_0x1a2051[_0x1a2051[_0x1fc33d(0x2a4)]=-0x1]='UNRECOGNIZED',_0x1a2051))(D||{});function _0x4147(){const _0x3bc426=['getOwnPropertySymbols','defineProperty','_context','SetWorksheetStyle','ALREADY_EXISTS','setFrozen','PY_RUNTIME_SCRIPT_ERROR','hideMask','422148HarxFa','dateString','syncExecuteCommand','INVITE_CODE_ALREADY_BOUND','subType','back-icon','InsertColumn','value','univer-flex\x20univer-items-center\x20univer-justify-center','editHistory.panel.revertConfirm','currentVersion$','CreatePermissionObject','YUUMI_SUBSCRIPTION_NOT_FOUND','Sort','_historyContainerId','userId','APPLY_DUPLICATED','UNDEFINED',':\x20(','editHistory.panel.revertDesc','pipe','_sheetSkeletonManagerService','ranges','UNIVER_PROJECT','Duplicate','_sheetPermissionInitController','ENSURE_SNAPSHOT_EXECUTION','disposeWithMe','/universer-api/history','getElementById','transformMutations','_renderManagerService','_historyFetchService','confirm-revert-revision','center','_lastLabel','ZH_CN','concat','editHistory.header.revert','DeleteColumn','memberId','forEach','icon','HEADER','1em','loadingState$','UNRECOGNIZED','YUUMI_UNABLE_LOAD_URL','LICENSE_EXPORT_SIZE_EXCEEDED','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','call','RenameWorksheet','setFilter','setDV','symbol','getOwnPropertyDescriptor','absolute','Edit','_unitId$','_componentManager','has','_compressMutationService','anonymous','onStarting','changesets','YUUMI_AI_RUN_FAILED','body','INVITE_CODE_HAS_BEEN_UES','restore-icon','height','commands','getCellPositionByOffset','MoveSheet','BackIcon','dispose','startColumn','versions$','register','_getAPIPrefix','YUUMI_CONNECTOR_URL_NOT_FOUND','univerjs-icon\x20univerjs-icon-','startRow','_diffRangesMap','TOO_MANY_REQUESTS','getCurrentVersion','display','triggerLoadVersions','padStart','toISOString','http://www.w3.org/2000/svg','url(#restore-icon_clip0_1247_2)','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ViewFilter','VIEW_MAIN','rev','code','endRow','div','20yemRoL','createElement','YUUMI_ALL_TABLES_IS_INVALID','push','WECHAT_HAS_BEEN_BOUND','_currentVersion$','color','_getRangesByMutation','SetCellStyle','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-flex-col\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-px-4\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','DeleteRow','getRelativeToViewportCoord','_members','evenodd','assign','7139442dewMxQ','MoveWorksheet','open','defs','entities','command','RecoverHistory','getVersion','restore-icon_clip0_1247_2','getUnitId','_versionDiffService','_combineRanges','loading','triggerLoadSheet','toString','MOBILE_HAS_BEEN_BOUND','Today','_initPanel','_workbookDataCache','SNAPSHOT_INVALID_SNAPSHOT','entered','univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','MOBILE_VERIFY_CODE_MISMATCH','indexOf','versions','_versions$','endRevision','now','CONNECTOR_DATA_TOO_LARGE','onMouseMove','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','keys','_diffs','add','tag','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','fetchMissingChangesets','INVALID_INVITE_CODE','Loading','_commandService','DeleteWorksheet','0\x200\x2016\x2016','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','getVersions','string','Comment','blockMeta','idSuffix','hasOwnProperty','onSteady','Error','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','loadMoreVersions','currentVersion','_removeDiffMarks','getCurrentLocale','flat','next','_loadingState$','[HistoryFetchService]:\x20request\x20snapshot\x20error!','className','addObjects','registerComponent','hasCommand','Export','Filter','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','currentColor','LOGIN_FAILED','width','zIndex','reduce','_updateDiffMarks','CopySheet','2660245WOXKyR','Entered','View','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','onRendered','editHistory.panel.confirm','fill','_config','YUUMI_ASYNCIO_CANCELLED','url(#$1','editSheet','#0B9EFB','/list?length=20','VIRTUAL_VERSION_NOW','UNIVER_SHEET','_uiPartsService','left','unitId','6StTfpL','disposeUnit','history-panel','column','rules','makeDirty','getAncestorScale','closeAll','getDataRange','addProtection','100%','colorChannel1','_historyManagerService','COMPRESS_MUTATION_APPLY','displayName','HideSheet','mask','active','HideWorksheet','_hasMore','_revertRevision$','addSparkline','svg','state$','date','primary','endColumn','_getSheetObject','data','DeleteSheet','.univer-app-container-content','status','white','name','prototype','getConfig','currentSkeleton$','_fetching','PERMISSION_DENIED','users','_currentVersionDiff$','_init','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UNIVER_UNKNOWN','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','Print','SetRowStyle','getMinutes','all','_messageService','editHistory.action.etc','_dialogOptions$','hidden','ManageCollaborator','block','random','_configService','style','USER_NOT_INVITED_CODE','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','replace','_sidebarDisposable','1160971aVScqy','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','params','ViemRwHgtClWdt','4305648FAWdZE','_confirmService','EditExtraObject','cellValue','InsertHyperlink','ViewHistory','unitId$','triggerRevert','SelectProtectedCells','some','Loaded','Delete','set','stopPropagation','setState','sheetId','isArray','loaded','length','editHistory.panel.cancel','_injector','CreateSheet','_updateVersions','currentVersionDiff$','createSheet','trim','UNIVER_SLIDE','editHistory.panel.unknownUser','_maskContainer','startRevision','PivotTable','revertSheet','APPLY_PERMISSION_DENIED','_maskElement','Copy','recoverTime','editHistory.panel.listFetchError','none','split','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','showMask','userID','sheet','defIds','_httpService','_permissionService','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','EMAIL_HAS_BEEN_BOUND','children','NOT_FOUND','values','error','_transformMutationByOrder','CHANGESET_REVISION_CONFILICT','interceptor','setCF','mutations','includes','focusUnit','clipPath','editHistory.panel.currentUser','_initActiveSwitch','filter','CreateWorksheet','setConfig','propertyIsEnumerable','Exited','path','4769952fHqYno','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','blocks','then','span','0\x200\x2016\x2017','deleteProtection','rule','_initRender','editHistory.info.loading','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','extend','subUnitId','UNAUTHENTICATED','univer-text-gray-500','editHistory.action.','getMember','SNAPSHOT_HAS_BEEN_REMOVED','get','show','RwHgtClWdt','querySelector','map','history-mask','Share','entries','SetCellValue','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_snapshotServerService','rgba(58,\x2096,\x20247,\x200.20)','parse','_extractRanges','createTime','top','from','APPLY_REVISION_CONFILICT','_cellEditorManagerService','_getActiveSubUnitId','_lastPointer','_sidebarService','InsertRow','loadSheet','EditWorksheetCell','init','INVITE_CODE_REQUIRED','16860762SmZPBZ','Init','row','ensureVersion','_createUnit','getDeserializedSheetBlock','LICENSE_MAX_UNITS_EXCEEDED','editHistory.panel.title','getHours','asObservable','getUnitOnRev','_canRevert','loadingState','FromArray','LICENSE_DISTRO_REJECTED','SelectUnProtectedCells','&lastLabel=','canRevert','find','range','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','workbook','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','_status$','getInterceptPoints','xlink:href','time','append','FloatImg','updatePermissionPoint','editHistory.action.revertSheetSuffix','confirm','INTERNAL_ERROR','attrs','flex','APPLY_NON_SEQUENTIAL_REVISION','LICENSE_IMPORT_SIZE_EXCEEDED','EMAIL_VERIFY_CODE_MISMATCH','_localeService','univer-animate-spin','loading-multi-icon','subscribe','Info','getVpScrollXYInfoByPosToVp','_univerInstanceService','7DbKugl','use','History','univer-ml-2.5\x20univer-flex\x20univer-h-8\x20univer-w-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','rgba(225,\x20225,\x20225,\x200.5)'];_0x4147=function(){return _0x3bc426;};return _0x4147();}function as(_0x1b5d5d){const _0x1848e9=_0x1fc33d;return!!(_0x1b5d5d&&_0x1b5d5d[_0x1848e9(0x11a)]&&_0x1b5d5d[_0x1848e9(0x11a)]!==X['OK']&&_0x1b5d5d[_0x1848e9(0x11a)]!=='OK');}const re=(_0x22887b,_0x48e77e)=>{const _0x370ec5=_0x1fc33d;if(!_0x22887b)return{'date':'','time':''};const _0x53f4c3=new Date(_0x22887b),_0x244969=_0x53f4c3['toISOString']()[_0x370ec5(0x1f1)]('T')[0x0];switch(_0x48e77e){case _0x2a612e[_0x370ec5(0x29a)]:return{'date':ee(_0x244969,_0x48e77e),'time':_0x53f4c3[_0x370ec5(0x244)]()+':'+String(_0x53f4c3[_0x370ec5(0x1b8)]())[_0x370ec5(0x2cd)](0x2,'0')};default:return{'date':ee(_0x244969,_0x48e77e),'time':_0x53f4c3['getHours']()+':'+_0x53f4c3[_0x370ec5(0x1b8)]()};}},os=(_0x21c027,_0x1da682)=>{const _0x520a0d=_0x1fc33d,_0x3d4fec=_0x21c027['user']||_0x1da682['t'](_0x520a0d(0x1e6));if(_0x21c027['commands'][_0x520a0d(0x1d4)](_0x8b2334=>_0x8b2334===_0x36c11a['id'])&&_0x21c027[_0x520a0d(0x1ee)]){const _0x5449a3=re(_0x21c027['recoverTime'],_0x1da682[_0x520a0d(0x164)]()),_0x3b96bf=_0x5449a3[_0x520a0d(0x1a1)]+'\x20'+_0x5449a3['time'];return _0x3d4fec+'\x20'+_0x1da682['t']('editHistory.action.revertSheetPrefix')+'\x20'+_0x3b96bf+'\x20'+_0x1da682['t'](_0x520a0d(0x25a));}const _0x470e88=cs(_0x21c027),_0x4e649b=_0x470e88[_0x520a0d(0x1dd)]===0x1?_0x1da682['t'](_0x470e88[0x0]):''+_0x1da682['t'](_0x470e88[0x0])+_0x1da682['t'](_0x520a0d(0x1bb));return _0x3d4fec+'\x20'+_0x4e649b;};function cs(_0x4bedf3){const _0x56310d=_0x1fc33d;if(_0x4bedf3['commands'][_0x56310d(0x1dd)]===0x0)return[''];const _0x3fccaf=_0x56310d(0x21e),_0x29a936=_0x3fccaf+_0x56310d(0x181),_0x3221ef=[{'id':_0x1d5268['id'],'action':_0x3fccaf+_0x56310d(0x1e3)},{'id':_0x36c11a['id'],'action':_0x3fccaf+_0x56310d(0x1ea)},{'id':_0x92afe3['id'],'action':_0x3fccaf+'insertSheet'},{'id':_0x1fbaec['id'],'action':_0x3fccaf+'removeSheet'},{'id':_0x4631d9['id'],'action':_0x3fccaf+_0x56310d(0x273)},{'id':_0x42fbcd['id'],'action':_0x3fccaf+_0x56310d(0x2aa)},{'id':_0x1c5bae['id'],'action':_0x3fccaf+_0x56310d(0x2ab)},{'id':_0x12e660['id'],'action':_0x3fccaf+_0x56310d(0x2ab)},{'id':_0xb5b206['id'],'action':_0x3fccaf+'setCF'},{'id':_0x2fbc22['id'],'action':_0x3fccaf+_0x56310d(0x202)},{'id':_0x3424ed['id'],'action':_0x3fccaf+'addProtection'},{'id':_0x1f4b2b['id'],'action':_0x3fccaf+_0x56310d(0x192)},{'id':_0x58f694['id'],'action':_0x3fccaf+_0x56310d(0x19e)},{'id':_0x3ffaaa['id'],'action':_0x3fccaf+'deleteProtection'},{'id':_0x3ee315['id'],'action':_0x3fccaf+_0x56310d(0x215)}][_0x56310d(0x209)](_0x12bfa5=>_0x4bedf3[_0x56310d(0x2bc)]['includes'](_0x12bfa5['id']));return _0x3221ef!=null&&_0x3221ef[_0x56310d(0x1dd)]?_0x3221ef['map'](_0x51a231=>_0x51a231['action']):[_0x29a936];}function ee(_0x2b805e,_0x4a9996){const _0x5d93cc=_0x1fc33d,[_0x3986be,_0x41e93f,_0x2035f8]=new Date()[_0x5d93cc(0x2ce)]()[_0x5d93cc(0x1f1)]('T')[0x0][_0x5d93cc(0x1f1)]('-'),[_0x37f572,_0x33fac5,_0x15a205]=_0x2b805e[_0x5d93cc(0x1f1)]('-'),_0x2b2867=_0x3986be===_0x37f572&&_0x41e93f===_0x33fac5&&_0x2035f8===_0x15a205;let _0x4abe8b='',_0x1707cf='',_0x33f971='';switch(_0x4a9996){case _0x2a612e[_0x5d93cc(0x29a)]:return _0x2b2867?'今天':(_0x4abe8b=_0x3986be===_0x37f572?'':_0x37f572+'年',_0x1707cf=_0x33fac5+'月',_0x33f971=_0x15a205+'日',''+_0x4abe8b+_0x1707cf+_0x33f971);default:return _0x2b2867?_0x5d93cc(0x13d):(_0x4abe8b=_0x3986be===_0x37f572?'':_0x37f572+'-',_0x1707cf=_0x33fac5+'-',_0x33f971=''+_0x15a205,''+_0x4abe8b+_0x1707cf+_0x33f971);}}function ls(_0x29f8c0){const _0x4ad48e=_0x1fc33d;return _0x29f8c0?_0x29f8c0[_0x4ad48e(0x174)]((_0x19ec62,_0x550a95)=>{const _0x5c7bfb=_0x4ad48e,_0x147aea=new Date(_0x550a95[_0x5c7bfb(0x256)])['toISOString']()[_0x5c7bfb(0x1f1)]('T')[0x0];return _0x19ec62[_0x5c7bfb(0x1dd)]>0x0&&_0x19ec62[_0x19ec62[_0x5c7bfb(0x1dd)]-0x1][_0x5c7bfb(0x277)]===_0x147aea?_0x19ec62[_0x19ec62[_0x5c7bfb(0x1dd)]-0x1][_0x5c7bfb(0x145)]['push'](_0x550a95):_0x19ec62[_0x5c7bfb(0x120)]({'dateString':_0x147aea,'versions':[_0x550a95]}),_0x19ec62;},[]):[];}var us=Object[_0x1fc33d(0x2ad)],_s=(_0xb82ab4,_0x30bcc0,_0x22c76e,_0x2c6046)=>{const _0x39df81=_0x1fc33d;for(var _0x5f257c=_0x2c6046>0x1?void 0x0:_0x2c6046?us(_0x30bcc0,_0x22c76e):_0x30bcc0,_0x6166fc=_0xb82ab4[_0x39df81(0x1dd)]-0x1,_0xbd319f;_0x6166fc>=0x0;_0x6166fc--)(_0xbd319f=_0xb82ab4[_0x6166fc])&&(_0x5f257c=_0xbd319f(_0x5f257c)||_0x5f257c);return _0x5f257c;},N=(_0x4035fe,_0x1aee54)=>(_0x31a532,_0x379808)=>_0x1aee54(_0x31a532,_0x379808,_0x4035fe);const hs=_0x1fc33d(0x292);let Y=class extends _0x5f2034{constructor(_0x322f49,_0x2b9746,_0x1d0636,_0x5f4a06,_0xd57071,_0x468b36,_0x1b99c8){const _0x5a8a4d=_0x1fc33d;super(),l(this,_0x5a8a4d(0x13f),new Map()),(this[_0x5a8a4d(0x22b)]=_0x322f49,this['_univerInstanceService']=_0x2b9746,this[_0x5a8a4d(0x154)]=_0x1d0636,this[_0x5a8a4d(0x1c1)]=_0x5f4a06,this[_0x5a8a4d(0x1f7)]=_0xd57071,this[_0x5a8a4d(0x2b3)]=_0x468b36,this['_sheetPermissionInitController']=_0x1b99c8);}[_0x1fc33d(0x2c0)](){const _0xdb9e7c=_0x1fc33d;this[_0xdb9e7c(0x13f)]['clear'](),super[_0xdb9e7c(0x2c0)]();}async[_0x1fc33d(0x158)](_0xa454dd,_0x48f9cf){const _0x3af2ca=_0x1fc33d,_0x2de34d=this[_0x3af2ca(0x2c4)]()+'/'+_0xa454dd+_0x3af2ca(0x183)+(_0x48f9cf?_0x3af2ca(0x24c)+_0x48f9cf:'');try{const _0x5e7296=(await this[_0x3af2ca(0x1f7)][_0x3af2ca(0x221)](_0x2de34d))[_0x3af2ca(0x2b8)];if(_0x5e7296&&_0x5e7296[_0x3af2ca(0x1fe)]&&_0x5e7296['error'][_0x3af2ca(0x11a)]===X['OK']){const {hasMore:_0x501c03,lastLabel:_0x1781a9}=_0x5e7296,_0x571195=ds(_0x5e7296),_0x521184=_0x5e7296[_0x3af2ca(0x131)][_0x3af2ca(0x1b0)];return{'hasMore':_0x501c03,'lastLabel':_0x1781a9,'versions':_0x571195,'members':_0x521184};}}catch(_0x2b76ff){console[_0x3af2ca(0x1fe)](_0x2b76ff);}return null;}[_0x1fc33d(0x2c4)](){const _0x11be74=_0x1fc33d;var _0x7047cd;const _0xe4cd32=this[_0x11be74(0x1c1)][_0x11be74(0x1ac)](we);return(_0x7047cd=_0xe4cd32==null?void 0x0:_0xe4cd32['historyListServerUrl'])!=null?_0x7047cd:hs;}async[_0x1fc33d(0x238)](_0x153107,_0x47a0d1,_0x2e4dc8){const _0x3919f1=_0x1fc33d;var _0x6f2aea,_0x25dc26;_0x2e4dc8===void 0x0&&(_0x2e4dc8={}),this['_workbookDataCache'][_0x3919f1(0x2b2)](_0x153107)||this[_0x3919f1(0x13f)]['set'](_0x153107,new Map());const {snapshot:_0x30615b,changesets:_0x4c6328,error:_0x27ba11}=await this['_snapshotServerService'][_0x3919f1(0x246)](_0x2e4dc8,{'unitID':_0x153107,'type':F[_0x3919f1(0x185)],'revision':_0x47a0d1});if(as(_0x27ba11)||!_0x30615b||!_0x30615b[_0x3919f1(0x251)])throw new Error(_0x3919f1(0x168));const _0x473886=(_0x6f2aea=_0x4c6328==null?void 0x0:_0x4c6328[_0x3919f1(0x1dd)])!=null?_0x6f2aea:0x0;if(_0x47a0d1!==0x0&&_0x30615b[_0x3919f1(0x119)]+_0x473886!==_0x47a0d1)throw new Error(_0x3919f1(0x252));const {workbook:_0x42f3b4}=_0x30615b,_0x387522=_0x42f3b4[_0x3919f1(0x15b)]?Object[_0x3919f1(0x228)](_0x42f3b4[_0x3919f1(0x15b)])[_0x3919f1(0x225)](([_0x4468a2,_0x1e6886])=>{const _0x1bf464=_0x3919f1;var _0x1cc209,_0x1bda30;return(_0x1bda30=(_0x1cc209=_0x1e6886[_0x1bf464(0x211)])==null?void 0x0:_0x1cc209['map'](_0x1027ab=>_0x1027ab))!=null?_0x1bda30:[];})[_0x3919f1(0x165)]():[],_0x4ca10f=(await Promise[_0x3919f1(0x1b9)](_0x387522[_0x3919f1(0x225)](_0x144034=>this[_0x3919f1(0x22b)][_0x3919f1(0x241)](_0x2e4dc8,{'unitID':_0x153107,'type':F[_0x3919f1(0x185)],'blockID':_0x144034})[_0x3919f1(0x212)](_0xd28652=>_0xd28652[_0x3919f1(0x1bf)]))))[_0x3919f1(0x209)](_0x17db84=>!!_0x17db84),_0x292272=_0x2e7fc1(_0x30615b,_0x4ca10f,_0x2e4dc8);return(_0x25dc26=this[_0x3919f1(0x13f)]['get'](_0x153107))==null||_0x25dc26['set'](_0x47a0d1,{'workbook':_0x292272}),new Promise(_0x4ef86b=>{const _0x56c744=_0x3919f1,_0x3e0ddc=this[_0x56c744(0x268)]['getCurrentUnitForType'](_0x3e4d1b['UNIVER_SHEET']);_0x3e0ddc?(this[_0x56c744(0x268)][_0x56c744(0x18a)](_0x3e0ddc[_0x56c744(0x136)]()),setTimeout(()=>{const _0x29a9a8=_0x56c744;this[_0x29a9a8(0x240)](_0x292272,_0x4c6328),this[_0x29a9a8(0x28f)]['refreshRangeProtectPermission'](),_0x4ef86b(!0x0);},0x0)):(this[_0x56c744(0x240)](_0x292272,_0x4c6328),_0x4ef86b(!0x0));});}['_createUnit'](_0x30d05a,_0x292855){const _0x123d83=_0x1fc33d,_0x345d6e=this['_univerInstanceService']['createUnit'](_0x3e4d1b[_0x123d83(0x185)],_0x30d05a);this[_0x123d83(0x268)][_0x123d83(0x205)](_0x345d6e[_0x123d83(0x136)]());const _0xcbe913=this[_0x123d83(0x2b3)][_0x123d83(0x201)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x123d83(0x201)][_0x123d83(0x254)]()[_0x123d83(0x196)]);return _0x292855==null||_0x292855[_0x123d83(0x29f)](_0x54a4dc=>{const _0x438fbf=_0x123d83,_0x7dc506=_0x54a4dc['mutations'][_0x438fbf(0x225)](_0x5e0ca6=>({'id':_0x5e0ca6['id'],'params':JSON[_0x438fbf(0x22d)](_0x5e0ca6[_0x438fbf(0x1a5)])}));({..._0x54a4dc,'mutations':_0xcbe913(_0x7dc506,null)||_0x7dc506}['mutations'][_0x438fbf(0x29f)](_0x39d599=>{const _0x2927df=_0x438fbf;this[_0x2927df(0x154)][_0x2927df(0x16c)](_0x39d599['id'])&&this['_commandService'][_0x2927df(0x278)](_0x39d599['id'],_0x39d599['params']);}));}),_0x345d6e;}};Y=_s([N(0x0,_0xecd97f),N(0x1,_0xb6c582),N(0x2,_0x17182e),N(0x3,_0x51d64d),N(0x4,_0x2dcf86(_0x1ce90d)),N(0x5,_0x2dcf86(_0x1d1a1d)),N(0x6,_0x2dcf86(_0x1fafe6))],Y);function ds(_0x3df693){const _0x51f7a6=_0x1fc33d;var _0x4fe950,_0x1054de;const _0x4631cb=[],{entities:_0x5b78cc,historyIds:_0x2ca782}=_0x3df693,{datas:_0x351575,users:_0x4ab132}=_0x5b78cc;for(const _0x396c83 of _0x2ca782)if(_0x351575[_0x396c83]){const _0x4b54cb=!!((_0x4fe950=_0x4ab132[_0x351575[_0x396c83][_0x51f7a6(0x285)]])!=null&&_0x4fe950[_0x51f7a6(0x2b4)]);_0x4631cb[_0x51f7a6(0x120)]({'unitId':_0x351575[_0x396c83]['unitId'],'user':_0x4b54cb?'':((_0x1054de=_0x4ab132==null?void 0x0:_0x4ab132[_0x351575[_0x396c83]['userId']])==null?void 0x0:_0x1054de[_0x51f7a6(0x1aa)])||'','isAnonymous':_0x4b54cb,'id':_0x396c83,'time':_0x351575[_0x396c83]['createTime']?Number(_0x351575[_0x396c83][_0x51f7a6(0x22f)]):void 0x0,'commands':_0x351575[_0x396c83][_0x51f7a6(0x132)],'startRev':Number(_0x351575[_0x396c83][_0x51f7a6(0x1e8)]),'endRev':Number(_0x351575[_0x396c83][_0x51f7a6(0x147)]),'recoverTime':_0x351575[_0x396c83][_0x51f7a6(0x1ee)]?Number(_0x351575[_0x396c83]['recoverTime']):void 0x0});}return _0x4631cb;}var vs=Object[_0x1fc33d(0x2ad)],fs=(_0x5dcae1,_0x4f45bf,_0x242d5b,_0x3f68c9)=>{for(var _0x343d30=_0x3f68c9>0x1?void 0x0:_0x3f68c9?vs(_0x4f45bf,_0x242d5b):_0x4f45bf,_0x471cb9=_0x5dcae1['length']-0x1,_0x3f4233;_0x471cb9>=0x0;_0x471cb9--)(_0x3f4233=_0x5dcae1[_0x471cb9])&&(_0x343d30=_0x3f4233(_0x343d30)||_0x343d30);return _0x343d30;},V=(_0x8aa35,_0x1ff7a7)=>(_0x2f532e,_0x4cd9be)=>_0x1ff7a7(_0x2f532e,_0x4cd9be,_0x8aa35),ne=(_0x58d5a6=>(_0x58d5a6[_0x1fc33d(0x178)]='entered',_0x58d5a6['Exited']='exited',_0x58d5a6[_0x1fc33d(0x15f)]=_0x1fc33d(0x1fe),_0x58d5a6))(ne||{}),T=(_0x2fd432=>(_0x2fd432[_0x1fc33d(0x23d)]=_0x1fc33d(0x23a),_0x2fd432[_0x1fc33d(0x153)]=_0x1fc33d(0x139),_0x2fd432[_0x1fc33d(0x1d5)]=_0x1fc33d(0x1dc),_0x2fd432))(T||{});const ms=_0x1fc33d(0x184);let E=class extends _0x5f2034{constructor(_0x410ea8,_0x542955,_0x2194a6,_0x5844f9){const _0x1e1131=_0x1fc33d;super(),l(this,_0x1e1131(0x146),new _0x10109f([])),l(this,_0x1e1131(0x2c2),this['_versions$'][_0x1e1131(0x245)]()),l(this,_0x1e1131(0x122),new _0x10109f('')),l(this,_0x1e1131(0x280),this[_0x1e1131(0x122)]['asObservable']()),l(this,_0x1e1131(0x253),new _0x10109f(_0x1e1131(0x141))),l(this,'status$',this[_0x1e1131(0x253)][_0x1e1131(0x245)]()),l(this,'_revertRevision$',new _0x10109f(0x0)),l(this,'revertRevision$',this[_0x1e1131(0x19d)][_0x1e1131(0x245)]()),l(this,'_unitId$',new _0x10109f('')),l(this,_0x1e1131(0x1d1),this['_unitId$'][_0x1e1131(0x245)]()),l(this,_0x1e1131(0x1ae),!0x1),l(this,_0x1e1131(0x167),new _0x10109f('init')),l(this,_0x1e1131(0x2a3),this[_0x1e1131(0x167)][_0x1e1131(0x245)]()),l(this,'_lastLabel',null),l(this,_0x1e1131(0x19c),!0x0),l(this,_0x1e1131(0x12a),new Map()),l(this,_0x1e1131(0x284)),l(this,'_maskContainer'),l(this,_0x1e1131(0x1ec)),l(this,'_canRevert',!0x1),(this[_0x1e1131(0x1ba)]=_0x410ea8,this[_0x1e1131(0x1cc)]=_0x542955,this[_0x1e1131(0x262)]=_0x2194a6,this[_0x1e1131(0x296)]=_0x5844f9);}async[_0x1fc33d(0x2cc)](_0x2f3cc5,_0x1b54c7,_0x4eb401){const _0x242b6f=_0x1fc33d;this[_0x242b6f(0x284)]=_0x1b54c7,this['_canRevert']=_0x4eb401,this[_0x242b6f(0x2b0)]['next'](_0x2f3cc5),this[_0x242b6f(0x1ae)]=!0x0;const _0x5ce801=await this[_0x242b6f(0x296)]['getVersions'](_0x2f3cc5);if(this['_fetching']=!0x1,_0x5ce801){const {versions:_0x460f95,lastLabel:_0x5ada56,hasMore:_0x29710f,members:_0x55af29}=_0x5ce801;_0x460f95[_0x242b6f(0x1dd)]===0x0&&_0x460f95[_0x242b6f(0x120)]({'unitId':_0x2f3cc5,'id':ms,'startRev':0x1,'endRev':0x0,'time':Date[_0x242b6f(0x148)](),'user':this['_localeService']['t'](_0x242b6f(0x207)),'commands':[],'isAnonymous':!0x1}),this[_0x242b6f(0x1e1)](_0x460f95,_0x29710f,_0x5ada56,_0x55af29),this[_0x242b6f(0x122)][_0x242b6f(0x166)](_0x460f95[0x0]['id']);}else this['_status$'][_0x242b6f(0x166)]('error');}async[_0x1fc33d(0x161)](){const _0x1e419e=_0x1fc33d;if(!this[_0x1e419e(0x299)]||!this[_0x1e419e(0x19c)]||this[_0x1e419e(0x1ae)])return!0x1;this['_fetching']=!0x0;const _0x2cb9b7=await this['_historyFetchService']['getVersions'](this[_0x1e419e(0x188)],this[_0x1e419e(0x299)]);if(this[_0x1e419e(0x1ae)]=!0x1,_0x2cb9b7){const {versions:_0x3a5082,lastLabel:_0x49be82,hasMore:_0x136b0a,members:_0x507c20}=_0x2cb9b7;this[_0x1e419e(0x1e1)](_0x3a5082,_0x136b0a,_0x49be82,_0x507c20);}else this[_0x1e419e(0x1ba)]['show']({'content':this[_0x1e419e(0x262)]['t'](_0x1e419e(0x1ef)),'type':_0x26d1e6[_0x1e419e(0x15f)],'duration':0xbb8});return!0x0;}async[_0x1fc33d(0x13a)](_0x1c6102){const _0x5b3b8d=_0x1fc33d;var _0x3581a9;const _0x31c6ec=(_0x3581a9=this[_0x5b3b8d(0x146)][_0x5b3b8d(0x27d)])==null?void 0x0:_0x3581a9[_0x5b3b8d(0x24e)](_0x1a4871=>_0x1a4871['id']===_0x1c6102),{endRev:_0x5e3da6}=_0x31c6ec||{};_0x5e3da6||_0x5e3da6===0x0?(this[_0x5b3b8d(0x167)][_0x5b3b8d(0x166)](_0x5b3b8d(0x139)),await this[_0x5b3b8d(0x296)][_0x5b3b8d(0x238)](this[_0x5b3b8d(0x188)],_0x5e3da6),this[_0x5b3b8d(0x167)][_0x5b3b8d(0x166)](_0x5b3b8d(0x1dc))):this[_0x5b3b8d(0x253)]['next'](_0x5b3b8d(0x1fe));}async[_0x1fc33d(0x1d2)](_0x4de509){const _0x3a8039=_0x1fc33d,_0x213822=_0x4de509?this[_0x3a8039(0x134)](_0x4de509):this[_0x3a8039(0x2ca)]();if(!_0x213822)return;const _0x21e654=_0x213822['endRev'],_0x4e043e=re(_0x213822[_0x3a8039(0x256)],this['_localeService'][_0x3a8039(0x164)]());await this[_0x3a8039(0x1cc)][_0x3a8039(0x25b)]({'id':_0x3a8039(0x297),'title':{'title':this[_0x3a8039(0x262)]['t'](_0x3a8039(0x27f))},'children':{'title':this[_0x3a8039(0x262)]['t']('editHistory.panel.revertConfirmText')+_0x3a8039(0x288)+_0x4e043e[_0x3a8039(0x1a1)]+'\x20'+_0x4e043e[_0x3a8039(0x256)]+')'},'cancelText':this[_0x3a8039(0x262)]['t'](_0x3a8039(0x1de)),'confirmText':this[_0x3a8039(0x262)]['t'](_0x3a8039(0x17c))})&&this['_revertRevision$'][_0x3a8039(0x166)](_0x21e654);}['_updateVersions'](_0x44c37d,_0x206362,_0x36bea3,_0x5a6880){const _0x107654=_0x1fc33d;this[_0x107654(0x146)][_0x107654(0x166)](this['_versions$']['value'][_0x107654(0x29b)](_0x44c37d)),this[_0x107654(0x19c)]=_0x206362,this[_0x107654(0x299)]=_0x36bea3,_0x5a6880&&Object[_0x107654(0x14c)](_0x5a6880)['forEach'](_0x1d1275=>this['_members']['set'](_0x1d1275,_0x5a6880[_0x1d1275]));}[_0x1fc33d(0x2ca)](){const _0x2cbc5=_0x1fc33d;return this['getVersion'](this['_currentVersion$'][_0x2cbc5(0x27d)]);}[_0x1fc33d(0x134)](_0x220f24){const _0x36c107=_0x1fc33d;var _0x3d76e1;return(_0x3d76e1=this[_0x36c107(0x146)][_0x36c107(0x27d)])==null?void 0x0:_0x3d76e1[_0x36c107(0x24e)](_0x2c5b47=>_0x2c5b47['id']===_0x220f24);}[_0x1fc33d(0x21f)](_0x5cc9c1){const _0x11bd8e=_0x1fc33d;return this[_0x11bd8e(0x12a)][_0x11bd8e(0x221)](_0x5cc9c1);}['_createMask'](){const _0x26e86e=_0x1fc33d;this[_0x26e86e(0x1ec)]=document[_0x26e86e(0x11e)](_0x26e86e(0x11c)),this['_maskElement'][_0x26e86e(0x169)]=_0x26e86e(0x226),this[_0x26e86e(0x1ec)]['style']['position']=_0x26e86e(0x2ae),this[_0x26e86e(0x1ec)][_0x26e86e(0x1c2)]['top']='0',this[_0x26e86e(0x1ec)][_0x26e86e(0x1c2)][_0x26e86e(0x187)]='0',this[_0x26e86e(0x1ec)][_0x26e86e(0x1c2)][_0x26e86e(0x172)]='100%',this[_0x26e86e(0x1ec)][_0x26e86e(0x1c2)][_0x26e86e(0x2bb)]=_0x26e86e(0x193),this[_0x26e86e(0x1ec)][_0x26e86e(0x1c2)]['backgroundColor']=_0x26e86e(0x26d),this['_maskElement'][_0x26e86e(0x1c2)][_0x26e86e(0x123)]=_0x26e86e(0x1a9),this['_maskElement'][_0x26e86e(0x1c2)][_0x26e86e(0x2cb)]=_0x26e86e(0x25e),this[_0x26e86e(0x1ec)][_0x26e86e(0x1c2)]['justifyContent']=_0x26e86e(0x298),this[_0x26e86e(0x1ec)][_0x26e86e(0x1c2)][_0x26e86e(0x173)]='1000',this[_0x26e86e(0x1ec)]['style'][_0x26e86e(0x2cb)]=_0x26e86e(0x1f0),this['_maskContainer'][_0x26e86e(0x257)](this['_maskElement']);}['_initMaskContainer'](){const _0xd78f0c=_0x1fc33d;var _0x4600d8;const _0xa8f45=(_0x4600d8=document[_0xd78f0c(0x293)](this[_0xd78f0c(0x284)]))==null?void 0x0:_0x4600d8[_0xd78f0c(0x224)](_0xd78f0c(0x1a7));_0xa8f45&&(this[_0xd78f0c(0x1e7)]=_0xa8f45,this['_createMask']());}[_0x1fc33d(0x1f3)](){const _0x4728a5=_0x1fc33d;this[_0x4728a5(0x1e7)]||this['_initMaskContainer'](),this[_0x4728a5(0x1ec)]&&(this[_0x4728a5(0x1ec)]['style'][_0x4728a5(0x2cb)]=_0x4728a5(0x25e));}[_0x1fc33d(0x275)](){const _0x128c47=_0x1fc33d;this[_0x128c47(0x1ec)]&&(this[_0x128c47(0x1ec)][_0x128c47(0x1c2)][_0x128c47(0x2cb)]=_0x128c47(0x1f0));}set[_0x1fc33d(0x1a8)](_0x1dbbc9){const _0x4c128d=_0x1fc33d;this[_0x4c128d(0x253)]['next'](_0x1dbbc9);}set[_0x1fc33d(0x162)](_0x5ea1be){const _0x1b7559=_0x1fc33d;_0x5ea1be!==this[_0x1b7559(0x122)][_0x1b7559(0x27d)]&&this['_currentVersion$'][_0x1b7559(0x166)](_0x5ea1be);}get['currentVersion'](){return this['_currentVersion$']['value'];}set['unitId'](_0x3bfef3){const _0x353a82=_0x1fc33d;this['_unitId$'][_0x353a82(0x166)](_0x3bfef3);}get[_0x1fc33d(0x188)](){const _0x2541f9=_0x1fc33d;return this[_0x2541f9(0x2b0)][_0x2541f9(0x27d)];}get[_0x1fc33d(0x24d)](){const _0x4105ff=_0x1fc33d;return this[_0x4105ff(0x247)];}get[_0x1fc33d(0x248)](){const _0x26b6f0=_0x1fc33d;return this[_0x26b6f0(0x167)][_0x26b6f0(0x27d)];}};E=fs([V(0x0,_0x5e5f14),V(0x1,_0x11ab99),V(0x2,_0x2dcf86(_0x355079)),V(0x3,_0x2dcf86(Y))],E);var S=function(){const _0xcdfdcc=_0x1fc33d;return S=Object[_0xcdfdcc(0x12c)]||function(_0x5cc976){const _0x29a15d=_0xcdfdcc;for(var _0x33e4d4,_0x452017=0x1,_0x955c6f=arguments[_0x29a15d(0x1dd)];_0x452017<_0x955c6f;_0x452017++){_0x33e4d4=arguments[_0x452017];for(var _0x5d262a in _0x33e4d4)Object[_0x29a15d(0x1ab)][_0x29a15d(0x15d)][_0x29a15d(0x2a8)](_0x33e4d4,_0x5d262a)&&(_0x5cc976[_0x5d262a]=_0x33e4d4[_0x5d262a]);}return _0x5cc976;},S['apply'](this,arguments);},Is=function(_0x5c4c4c,_0x170719){const _0x46e6c8=_0x1fc33d;var _0x1e0e88={};for(var _0x2ee904 in _0x5c4c4c)Object[_0x46e6c8(0x1ab)][_0x46e6c8(0x15d)][_0x46e6c8(0x2a8)](_0x5c4c4c,_0x2ee904)&&_0x170719[_0x46e6c8(0x144)](_0x2ee904)<0x0&&(_0x1e0e88[_0x2ee904]=_0x5c4c4c[_0x2ee904]);if(_0x5c4c4c!=null&&typeof Object[_0x46e6c8(0x26e)]=='function'){for(var _0x2db902=0x0,_0x2ee904=Object['getOwnPropertySymbols'](_0x5c4c4c);_0x2db902<_0x2ee904[_0x46e6c8(0x1dd)];_0x2db902++)_0x170719[_0x46e6c8(0x144)](_0x2ee904[_0x2db902])<0x0&&Object[_0x46e6c8(0x1ab)][_0x46e6c8(0x20c)][_0x46e6c8(0x2a8)](_0x5c4c4c,_0x2ee904[_0x2db902])&&(_0x1e0e88[_0x2ee904[_0x2db902]]=_0x5c4c4c[_0x2ee904[_0x2db902]]);}return _0x1e0e88;},G=_0x4ad49f(function(_0x5f1b8e,_0x4c0163){const _0x1b29b6=_0x1fc33d;var _0x3f7d2c=_0x5f1b8e[_0x1b29b6(0x2a0)],_0x180784=_0x5f1b8e['id'],_0x3c1de0=_0x5f1b8e[_0x1b29b6(0x169)],_0x39cb63=_0x5f1b8e[_0x1b29b6(0x21a)],_0xad96c6=Is(_0x5f1b8e,[_0x1b29b6(0x2a0),'id',_0x1b29b6(0x169),'extend']),_0x525947=_0x1b29b6(0x2c6)[_0x1b29b6(0x29b)](_0x180784,'\x20')['concat'](_0x3c1de0||'')[_0x1b29b6(0x1e4)](),_0x22df9d=_0x39f188('_'[_0x1b29b6(0x29b)](ps()));return Pe(_0x3f7d2c,''[_0x1b29b6(0x29b)](_0x180784),{'defIds':_0x3f7d2c[_0x1b29b6(0x1f6)],'idSuffix':_0x22df9d['current']},S({'ref':_0x4c0163,'className':_0x525947},_0xad96c6),_0x39cb63);});function Pe(_0x52e82b,_0x35611d,_0x19842c,_0x4a93fb,_0x4f13d5){const _0x5dbcd0=_0x1fc33d;return _0x1927fc(_0x52e82b[_0x5dbcd0(0x14f)],S(S({'key':_0x35611d},gs(_0x52e82b,_0x19842c,_0x4f13d5)),_0x4a93fb),(Ss(_0x52e82b,_0x19842c)[_0x5dbcd0(0x1fb)]||[])[_0x5dbcd0(0x225)](function(_0x15b3ce,_0x2480ea){const _0x557f5d=_0x5dbcd0;return Pe(_0x15b3ce,''[_0x557f5d(0x29b)](_0x35611d,'-')['concat'](_0x52e82b[_0x557f5d(0x14f)],'-')[_0x557f5d(0x29b)](_0x2480ea),_0x19842c,void 0x0,_0x4f13d5);}));}function gs(_0x80f568,_0x23add2,_0x2238eb){const _0x4f5246=_0x1fc33d;var _0x1581d2=S({},_0x80f568[_0x4f5246(0x25d)]);_0x2238eb!=null&&_0x2238eb[_0x4f5246(0x194)]&&_0x1581d2[_0x4f5246(0x17d)]==='colorChannel1'&&(_0x1581d2['fill']=_0x2238eb[_0x4f5246(0x194)]),_0x80f568[_0x4f5246(0x14f)]===_0x4f5246(0x199)&&_0x1581d2['id']&&(_0x1581d2['id']=_0x1581d2['id']+_0x23add2[_0x4f5246(0x15c)]),Object[_0x4f5246(0x228)](_0x1581d2)[_0x4f5246(0x29f)](function(_0x49a4ca){const _0x2fa4da=_0x4f5246;var _0x4c890b=_0x49a4ca[0x0],_0x22985b=_0x49a4ca[0x1];_0x4c890b===_0x2fa4da(0x199)&&typeof _0x22985b==_0x2fa4da(0x159)&&(_0x1581d2[_0x4c890b]=_0x22985b[_0x2fa4da(0x1c5)](/url\(#(.*)\)/,_0x2fa4da(0x180)['concat'](_0x23add2[_0x2fa4da(0x15c)],')')));});var _0x22e9a5=_0x23add2[_0x4f5246(0x1f6)];return!_0x22e9a5||_0x22e9a5['length']===0x0||(_0x80f568[_0x4f5246(0x14f)]===_0x4f5246(0x26a)&&_0x1581d2['xlink:href']&&(_0x1581d2['xlink:href']=_0x1581d2[_0x4f5246(0x255)]+_0x23add2[_0x4f5246(0x15c)]),Object[_0x4f5246(0x228)](_0x1581d2)[_0x4f5246(0x29f)](function(_0x5e31c5){const _0x4db988=_0x4f5246;var _0x29e20c=_0x5e31c5[0x0],_0x540514=_0x5e31c5[0x1];typeof _0x540514=='string'&&(_0x1581d2[_0x29e20c]=_0x540514[_0x4db988(0x1c5)](/url\(#(.*)\)/,_0x4db988(0x180)[_0x4db988(0x29b)](_0x23add2['idSuffix'],')')));})),_0x1581d2;}function Ss(_0xd755ce,_0x41d275){const _0x152041=_0x1fc33d;var _0x708e21,_0x53cad4=_0x41d275[_0x152041(0x1f6)];return!_0x53cad4||_0x53cad4[_0x152041(0x1dd)]===0x0?_0xd755ce:_0xd755ce[_0x152041(0x14f)]===_0x152041(0x130)&&(!((_0x708e21=_0xd755ce[_0x152041(0x1fb)])===null||_0x708e21===void 0x0)&&_0x708e21[_0x152041(0x1dd)])?S(S({},_0xd755ce),{'children':_0xd755ce[_0x152041(0x1fb)][_0x152041(0x225)](function(_0x513dd7){const _0x3d7d2=_0x152041;return typeof _0x513dd7[_0x3d7d2(0x25d)]['id']==_0x3d7d2(0x159)&&_0x53cad4&&_0x53cad4[_0x3d7d2(0x204)](_0x513dd7[_0x3d7d2(0x25d)]['id'])?S(S({},_0x513dd7),{'attrs':S(S({},_0x513dd7[_0x3d7d2(0x25d)]),{'id':_0x513dd7['attrs']['id']+_0x41d275[_0x3d7d2(0x15c)]})}):_0x513dd7;})}):_0xd755ce;}function _0x1e42(_0x4120e4,_0x3d76bd){const _0x4147f2=_0x4147();return _0x1e42=function(_0x1e4240,_0x2140d6){_0x1e4240=_0x1e4240-0x117;let _0x4c6072=_0x4147f2[_0x1e4240];return _0x4c6072;},_0x1e42(_0x4120e4,_0x3d76bd);}function ps(){const _0x2db3ad=_0x1fc33d;return Math[_0x2db3ad(0x1c0)]()[_0x2db3ad(0x13b)](0x24)['substring'](0x2,0x8);}G[_0x1fc33d(0x197)]='UniverIcon';var Es={'tag':'svg','attrs':{'xmlns':_0x1fc33d(0x2cf),'fill':_0x1fc33d(0x1f0),'viewBox':_0x1fc33d(0x156),'width':_0x1fc33d(0x2a2),'height':_0x1fc33d(0x2a2)},'children':[{'tag':'path','attrs':{'fill':_0x1fc33d(0x170),'d':_0x1fc33d(0x210)}}]},Te=_0x4ad49f(function(_0x1bc488,_0x294b3e){const _0x5d8c04=_0x1fc33d;return _0x1927fc(G,Object[_0x5d8c04(0x12c)]({},_0x1bc488,{'id':_0x5d8c04(0x27b),'ref':_0x294b3e,'icon':Es}));});Te['displayName']=_0x1fc33d(0x2bf);var Rs={'tag':_0x1fc33d(0x19f),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1fc33d(0x1f0),'viewBox':_0x1fc33d(0x156),'width':_0x1fc33d(0x2a2),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':'#0B9EFB','d':_0x1fc33d(0x160),'fillOpacity':0.2,'fillRule':_0x1fc33d(0x12b),'clipRule':_0x1fc33d(0x12b)}},{'tag':_0x1fc33d(0x20e),'attrs':{'fill':_0x1fc33d(0x182),'d':_0x1fc33d(0x17a),'fillRule':_0x1fc33d(0x12b),'clipRule':_0x1fc33d(0x12b)}}]},ae=_0x4ad49f(function(_0x3cb22a,_0x189663){const _0x2a3001=_0x1fc33d;return _0x1927fc(G,Object[_0x2a3001(0x12c)]({},_0x3cb22a,{'id':_0x2a3001(0x264),'ref':_0x189663,'icon':Rs}));});ae[_0x1fc33d(0x197)]='LoadingMultiIcon';var Os={'tag':_0x1fc33d(0x19f),'attrs':{'xmlns':_0x1fc33d(0x2cf),'fill':_0x1fc33d(0x1f0),'viewBox':_0x1fc33d(0x214),'width':_0x1fc33d(0x2a2),'height':_0x1fc33d(0x2a2)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x1fc33d(0x2d0)},'children':[{'tag':_0x1fc33d(0x20e),'attrs':{'d':_0x1fc33d(0x250)}},{'tag':_0x1fc33d(0x20e),'attrs':{'d':_0x1fc33d(0x16f),'fillRule':_0x1fc33d(0x12b),'clipRule':'evenodd'}}]},{'tag':_0x1fc33d(0x130),'attrs':{},'children':[{'tag':_0x1fc33d(0x206),'attrs':{'id':_0x1fc33d(0x135)},'children':[{'tag':'rect','attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x1fc33d(0x1a9),'rx':0x4}}]}]}],'defIds':[_0x1fc33d(0x135)]},Le=_0x4ad49f(function(_0x4a0ebd,_0x19b63c){const _0x2d2b5e=_0x1fc33d;return _0x1927fc(G,Object[_0x2d2b5e(0x12c)]({},_0x4a0ebd,{'id':_0x2d2b5e(0x2ba),'ref':_0x19b63c,'icon':Os}));});Le[_0x1fc33d(0x197)]='RestoreIcon';function Ms(){const _0xb4ddb2=_0x1fc33d;var _0x184686;const _0x395c09=_0x2953d2(E),_0x5829af=_0x2953d2(_0x355079),_0x3d229d=_0x2f72a7(()=>{const _0x42e121=_0x1e42;_0x395c09[_0x42e121(0x1a8)]=ne[_0x42e121(0x20d)];},[_0x395c09]),_0x2b61ee=_0x2f72a7(()=>{const _0x1b8470=_0x1e42;_0x395c09[_0x1b8470(0x1d2)]();},[_0x395c09]),_0x18db25=_0x8c74e2(_0x395c09[_0xb4ddb2(0x280)]),_0x2efdc6=_0x8c74e2(_0x395c09[_0xb4ddb2(0x2c2)]),_0x41b94e=_0x18db25===((_0x184686=_0x2efdc6==null?void 0x0:_0x2efdc6[0x0])==null?void 0x0:_0x184686['id']),_0xf83e41=_0x18db25!==''&&!_0x41b94e&&_0x395c09[_0xb4ddb2(0x24d)];return _0x1cfe7d(_0xb4ddb2(0x11c),{'className':_0x3a44b6(_0xb4ddb2(0x1f9),_0x429cb9),'children':[_0x25531c('a',{'className':_0xb4ddb2(0x26c),'onClick':_0x3d229d,'children':_0x25531c(Te,{'className':'univer-text-2xl\x20dark:univer-text-white'})}),_0x25531c(_0xb4ddb2(0x11c),{'className':_0xb4ddb2(0x157),'children':_0xf83e41&&_0x25531c(_0xcbc90d,{'variant':_0xb4ddb2(0x1a2),'onClick':_0x2b61ee,'children':_0x5829af['t'](_0xb4ddb2(0x29c))})})]});}var Ns=Object[_0x1fc33d(0x2ad)],bs=(_0x48c686,_0x3cfa06,_0x104ad4,_0x930f1e)=>{const _0x1ce6c6=_0x1fc33d;for(var _0x3ee8b4=_0x930f1e>0x1?void 0x0:_0x930f1e?Ns(_0x3cfa06,_0x104ad4):_0x3cfa06,_0x211470=_0x48c686[_0x1ce6c6(0x1dd)]-0x1,_0x47b8d8;_0x211470>=0x0;_0x211470--)(_0x47b8d8=_0x48c686[_0x211470])&&(_0x3ee8b4=_0x47b8d8(_0x3ee8b4)||_0x3ee8b4);return _0x3ee8b4;},y=(_0x472dbe,_0x38cdca)=>(_0x3237fd,_0x3cc9ac)=>_0x38cdca(_0x3237fd,_0x3cc9ac,_0x472dbe);let B=class extends _0x5f2034{constructor(_0x1295af,_0x304041,_0x80f7e1,_0x225b97,_0x32179d,_0xa9f8){const _0x1d1ef1=_0x1fc33d;super(),this[_0x1d1ef1(0x1f8)]=_0x1295af,this[_0x1d1ef1(0x186)]=_0x304041,this[_0x1d1ef1(0x1ba)]=_0x80f7e1,this[_0x1d1ef1(0x262)]=_0x225b97,this[_0x1d1ef1(0x195)]=_0x32179d,this[_0x1d1ef1(0x1df)]=_0xa9f8,this[_0x1d1ef1(0x1b2)]();}[_0x1fc33d(0x1b2)](){const _0x5001e6=_0x1fc33d;this[_0x5001e6(0x291)](this[_0x5001e6(0x195)][_0x5001e6(0x280)][_0x5001e6(0x265)](_0x3dabef=>{const _0x1932a6=_0x5001e6;_0x3dabef&&this[_0x1932a6(0x195)]['triggerLoadSheet'](_0x3dabef);})),this['disposeWithMe'](this[_0x5001e6(0x1f8)]['permissionPointUpdate$'][_0x5001e6(0x265)](_0x3b5d27=>{const _0x1ba2ec=_0x5001e6,_0x7e05ca=this[_0x1ba2ec(0x195)][_0x1ba2ec(0x188)];_0x7e05ca&&(_0x3b5d27['subType']===D[_0x1ba2ec(0x2af)]&&_0x3b5d27[_0x1ba2ec(0x27d)]===!0x0&&this[_0x1ba2ec(0x1f8)][_0x1ba2ec(0x259)](new _0x17b0fa(_0x7e05ca)['id'],!0x1),_0x3b5d27[_0x1ba2ec(0x27a)]===D['RenameSheet']&&_0x3b5d27[_0x1ba2ec(0x27d)]===!0x0&&this['_permissionService']['updatePermissionPoint'](new _0x3c9836(_0x7e05ca)['id'],!0x1),_0x3b5d27[_0x1ba2ec(0x27a)]===D['MoveSheet']&&_0x3b5d27[_0x1ba2ec(0x27d)]===!0x0&&this['_permissionService']['updatePermissionPoint'](new _0x7a055f(_0x7e05ca)['id'],!0x1),_0x3b5d27['subType']===D[_0x1ba2ec(0x198)]&&_0x3b5d27[_0x1ba2ec(0x27d)]===!0x0&&this[_0x1ba2ec(0x1f8)][_0x1ba2ec(0x259)](new _0x5a34e2(_0x7e05ca)['id'],!0x1),_0x3b5d27[_0x1ba2ec(0x27a)]===D[_0x1ba2ec(0x15a)]&&_0x3b5d27[_0x1ba2ec(0x27d)]===!0x0&&this[_0x1ba2ec(0x1f8)][_0x1ba2ec(0x259)](new _0x17b0fa(_0x7e05ca)['id'],!0x1),_0x3b5d27['subType']===D[_0x1ba2ec(0x258)]&&_0x3b5d27[_0x1ba2ec(0x27d)]===!0x0&&this[_0x1ba2ec(0x1f8)][_0x1ba2ec(0x259)](new _0x17b0fa(_0x7e05ca)['id'],!0x1));})),this[_0x5001e6(0x291)](this[_0x5001e6(0x186)][_0x5001e6(0x16b)](_0x52b944[_0x5001e6(0x2a1)],()=>_0x2f7fe7(Ms,this[_0x5001e6(0x1df)]))),this[_0x5001e6(0x291)](this[_0x5001e6(0x195)][_0x5001e6(0x2a3)][_0x5001e6(0x265)](_0x11a36d=>{const _0x2a187b=_0x5001e6;_0x11a36d===T[_0x2a187b(0x153)]&&(this[_0x2a187b(0x195)][_0x2a187b(0x1f3)](),this['_messageService'][_0x2a187b(0x222)]({'type':_0x26d1e6[_0x2a187b(0x266)],'content':this['_localeService']['t'](_0x2a187b(0x218))})),_0x11a36d===T[_0x2a187b(0x1d5)]&&this[_0x2a187b(0x195)]['hideMask']();}));}};B=bs([y(0x0,_0x2553d3),y(0x1,_0x121ab7),y(0x2,_0x5e5f14),y(0x3,_0x2dcf86(_0x355079)),y(0x4,_0x2dcf86(E)),y(0x5,_0x2dcf86(_0x2f2c8d))],B);var Ds=Object[_0x1fc33d(0x2ad)],ys=(_0x4c3b33,_0x515542,_0x55c42a,_0x24e53b)=>{const _0x49e3c9=_0x1fc33d;for(var _0x1f7550=_0x24e53b>0x1?void 0x0:_0x24e53b?Ds(_0x515542,_0x55c42a):_0x515542,_0x3ae2ef=_0x4c3b33[_0x49e3c9(0x1dd)]-0x1,_0x3b8a7c;_0x3ae2ef>=0x0;_0x3ae2ef--)(_0x3b8a7c=_0x4c3b33[_0x3ae2ef])&&(_0x1f7550=_0x3b8a7c(_0x1f7550)||_0x1f7550);return _0x1f7550;},Q=(_0x87e85,_0x1dbbc8)=>(_0x1a8d1c,_0x51d539)=>_0x1dbbc8(_0x1a8d1c,_0x51d539,_0x87e85);let $=class extends _0x5f2034{constructor(_0x24cdb7,_0x123aaf,_0x363297){const _0x21774d=_0x1fc33d;super(),l(this,_0x21774d(0x2c8),new Map()),l(this,'_currentVersionDiff$',new _0x10109f({'ranges':new Map(),'active':null})),l(this,'currentVersionDiff$',this['_currentVersionDiff$'][_0x21774d(0x245)]()),(this[_0x21774d(0x195)]=_0x24cdb7,this['_transformService']=_0x123aaf,this[_0x21774d(0x22b)]=_0x363297,this[_0x21774d(0x1b2)]());}[_0x1fc33d(0x1b2)](){const _0x15ad0a=_0x1fc33d;this['_diffRangesMap']=new Map(),this[_0x15ad0a(0x291)](this[_0x15ad0a(0x195)][_0x15ad0a(0x1d1)][_0x15ad0a(0x265)](_0x4030e1=>{const _0x1b3fa8=_0x15ad0a;_0x4030e1&&!this[_0x1b3fa8(0x2c8)][_0x1b3fa8(0x2b2)](_0x4030e1)&&this[_0x1b3fa8(0x2c8)]['set'](_0x4030e1,new Map());})),this[_0x15ad0a(0x291)](this[_0x15ad0a(0x195)]['currentVersion$'][_0x15ad0a(0x265)](async _0x2e5090=>{const _0x4abf9d=_0x15ad0a;var _0x24a8b5;_0x2e5090&&(await this[_0x4abf9d(0x23f)](_0x2e5090),this[_0x4abf9d(0x1b1)][_0x4abf9d(0x166)](((_0x24a8b5=this[_0x4abf9d(0x2c8)][_0x4abf9d(0x221)](this['_historyManagerService'][_0x4abf9d(0x188)]))==null?void 0x0:_0x24a8b5[_0x4abf9d(0x221)](_0x2e5090))||{'ranges':new Map(),'active':null}));}));}async['ensureVersion'](_0x5bbc7e){const _0x2d5c80=_0x1fc33d;var _0x5a19d0,_0x3361b;const _0x586756=this['_historyManagerService']['getVersion'](_0x5bbc7e),_0x4ff529=this[_0x2d5c80(0x195)]['unitId'];if(!_0x586756||!_0x4ff529)return;const _0x3df5e8=this[_0x2d5c80(0x2c8)][_0x2d5c80(0x221)](_0x4ff529);if(_0x3df5e8||this[_0x2d5c80(0x2c8)][_0x2d5c80(0x1d7)](_0x4ff529,new Map()),(_0x5a19d0=this[_0x2d5c80(0x2c8)][_0x2d5c80(0x221)](_0x4ff529))!=null&&_0x5a19d0[_0x2d5c80(0x2b2)](_0x586756['id']))return;const {startRev:_0xd1ba01,endRev:_0xfab26e}=_0x586756;if(_0xd1ba01===0x1){_0x3df5e8[_0x2d5c80(0x1d7)](_0x586756['id'],{'ranges':new Map(),'active':null});return;}const _0x185ca2=_0xd1ba01-0x1,_0x363be9=_0xfab26e,_0x4ee5ba=await this[_0x2d5c80(0x22b)][_0x2d5c80(0x151)]({},{'unitID':_0x4ff529,'from':_0x185ca2,'to':_0x363be9,'type':F[_0x2d5c80(0x185)]});if(((_0x3361b=_0x4ee5ba[_0x2d5c80(0x1fe)])==null?void 0x0:_0x3361b['code'])===X['OK']){const _0x3e380c=_0x4ee5ba[_0x2d5c80(0x2b6)][_0x2d5c80(0x225)](_0x56d21b)[_0x2d5c80(0x225)](_0xf560ed=>_0xf560ed[_0x2d5c80(0x203)]['map'](_0x4ff251=>({..._0x4ff251,'params':{..._0x4ff251['params'],'memberId':_0xf560ed[_0x2d5c80(0x1f4)]}})))[_0x2d5c80(0x165)](),_0x6ff77e=this[_0x2d5c80(0x1ff)](_0x3e380c),_0x252c31=this[_0x2d5c80(0x234)](_0x3e380c),_0x4786a8=this[_0x2d5c80(0x22e)](_0x6ff77e);_0x3df5e8[_0x2d5c80(0x1d7)](_0x586756['id'],{'ranges':_0x4786a8,'active':_0x252c31});}}['_transformMutationByOrder'](_0x5547c){const _0x5736a0=_0x1fc33d;let _0x78d16c=[];for(let _0x1611b6=0x0;_0x1611b6<_0x5547c[_0x5736a0(0x1dd)];_0x1611b6++){const _0x43cd1e=_0x5547c[_0x1611b6];if(_0x78d16c[_0x5736a0(0x120)](_0x43cd1e),_0x1611b6!==_0x5547c[_0x5736a0(0x1dd)]-0x1){const _0x5478e7=_0x5547c[_0x1611b6+0x1],_0x19887d=this['_transformService'][_0x5736a0(0x294)](_0x78d16c,[_0x5478e7]);_0x489360(_0x19887d)?_0x78d16c=_0x19887d['m1Prime']:_0x78d16c=[];}}return _0x78d16c;}[_0x1fc33d(0x234)](_0x461b15){const _0x27f5e1=_0x1fc33d;let _0x5c3309=[];return _0x461b15[_0x27f5e1(0x29f)](_0x2593e5=>{const _0x54c047=_0x27f5e1;if(_0x2593e5['id']===_0x92afe3['id']){const _0x59879a=_0x2593e5['params'];_0x5c3309[_0x54c047(0x120)](_0x59879a[_0x54c047(0x1f5)]['id']);}else{if(_0x2593e5['id']===_0x1fbaec['id']){const _0xeb2e62=_0x2593e5[_0x54c047(0x1c9)];_0x5c3309[_0x54c047(0x1dd)]>0x0&&(_0x5c3309=_0x5c3309['filter'](_0x3609c5=>_0x3609c5!==_0xeb2e62[_0x54c047(0x21b)]));}else{if(_0x2593e5['id']===_0x162cc1['id']){const _0x5155f5=_0x2593e5[_0x54c047(0x1c9)];_0x5155f5[_0x54c047(0x1bd)]?_0x5c3309=_0x5c3309[_0x54c047(0x209)](_0x3b65c2=>_0x3b65c2!==_0x5155f5[_0x54c047(0x21b)]):_0x5c3309[_0x54c047(0x120)](_0x5155f5[_0x54c047(0x21b)]);}else{const _0x13ef59=_0x2593e5['params'];_0x13ef59[_0x54c047(0x21b)]&&_0x5c3309[_0x54c047(0x120)](_0x13ef59['subUnitId']);}}}}),_0x5c3309['length']>0x0?_0x5c3309[_0x5c3309[_0x27f5e1(0x1dd)]-0x1]:null;}[_0x1fc33d(0x22e)](_0x405ba2){const _0x46dc45=_0x1fc33d,_0x227cb5=new Map();return _0x405ba2[_0x46dc45(0x29f)](_0x586b56=>{const _0x5a9933=_0x46dc45;var _0x2f3266,_0x1bf6a4;const _0x4435b6=(_0x2f3266=_0x586b56[_0x5a9933(0x1c9)])==null?void 0x0:_0x2f3266[_0x5a9933(0x29e)];if(_0x4435b6){_0x227cb5[_0x5a9933(0x2b2)](_0x4435b6)||_0x227cb5[_0x5a9933(0x1d7)](_0x4435b6,[]);const _0x1695f3=this[_0x5a9933(0x124)](_0x586b56);(_0x1bf6a4=_0x227cb5[_0x5a9933(0x221)](_0x4435b6))==null||_0x1bf6a4[_0x5a9933(0x120)](..._0x1695f3);}}),_0x227cb5[_0x46dc45(0x29f)]((_0x10dab4,_0x1b9d25)=>{const _0x567e95=_0x46dc45;_0x227cb5['set'](_0x1b9d25,this[_0x567e95(0x138)](_0x10dab4));}),_0x227cb5;}[_0x1fc33d(0x124)](_0x288c52){const _0x1de26f=_0x1fc33d;switch(_0x288c52['id']){case _0x1f4b2b['id']:{const _0x21e905=_0x288c52[_0x1de26f(0x1c9)];return _0x21e905[_0x1de26f(0x18d)][_0x1de26f(0x225)](_0x1f1aee=>_0x1f1aee[_0x1de26f(0x28c)][_0x1de26f(0x225)](_0x335756=>({'range':_0x335756,'unitId':_0x21e905[_0x1de26f(0x188)],'subUnitId':_0x21e905['subUnitId']})))[_0x1de26f(0x165)]();}case _0x50bb44['id']:{const _0x163d12=_0x288c52['params'];return _0x163d12[_0x1de26f(0x28c)][_0x1de26f(0x225)](_0x566aa4=>({'range':_0x566aa4,'unitId':_0x163d12[_0x1de26f(0x188)],'subUnitId':_0x163d12[_0x1de26f(0x21b)]}));}case _0x322fa0['id']:{const _0x522597=_0x288c52[_0x1de26f(0x1c9)];return[{'range':_0x522597[_0x1de26f(0x24f)],'unitId':_0x522597[_0x1de26f(0x188)],'subUnitId':_0x522597[_0x1de26f(0x21b)]}];}case _0x398a7d['id']:{const _0x386f8e=_0x288c52['params'];return[{'range':_0x386f8e[_0x1de26f(0x24f)],'unitId':_0x386f8e[_0x1de26f(0x188)],'subUnitId':_0x386f8e[_0x1de26f(0x21b)]}];}case _0x53840f['id']:{const _0x44ccba=_0x288c52[_0x1de26f(0x1c9)],{from:_0x4d7439,to:_0x2fe9ba,unitId:_0xe9c183}=_0x44ccba;return[{'range':he(_0x4d7439[_0x1de26f(0x27d)]),'unitId':_0xe9c183,'subUnitId':_0x4d7439[_0x1de26f(0x21b)]},{'range':he(_0x2fe9ba[_0x1de26f(0x27d)]),'unitId':_0xe9c183,'subUnitId':_0x2fe9ba[_0x1de26f(0x21b)]}];}case _0xaaa2a4['id']:{const _0x2be796=_0x288c52[_0x1de26f(0x1c9)],{unitId:_0x18a88e,subUnitId:_0x12e304,sourceRange:_0x200529,targetRange:_0x12dd08}=_0x2be796,_0x30739d=_0x200529[_0x1de26f(0x11b)]-_0x200529['startRow']+0x1;return[{'range':_0x12dd08[_0x1de26f(0x2c7)]<=_0x200529[_0x1de26f(0x2c7)]?_0x12dd08:{..._0x12dd08,'startRow':_0x12dd08['startRow']-_0x30739d,'endRow':_0x12dd08[_0x1de26f(0x11b)]-_0x30739d},'unitId':_0x18a88e,'subUnitId':_0x12e304}];}case _0x4aca1b['id']:{const _0x3186c6=_0x288c52['params'],{unitId:_0x3986dd,subUnitId:_0x2b2449,sourceRange:_0x141113,targetRange:_0x5f53ca}=_0x3186c6,_0x478da7=_0x141113['endColumn']-_0x141113[_0x1de26f(0x2c1)]+0x1;return[{'range':_0x5f53ca[_0x1de26f(0x2c1)]<=_0x141113[_0x1de26f(0x2c1)]?_0x5f53ca:{..._0x5f53ca,'startColumn':_0x5f53ca['startColumn']-_0x478da7,'endColumn':_0x5f53ca[_0x1de26f(0x1a3)]-_0x478da7},'unitId':_0x3986dd,'subUnitId':_0x2b2449}];}case _0x3bbedd['id']:{const _0x18362a=_0x288c52['params'],{values:_0x303ee8,unitId:_0x17d464,subUnitId:_0x41cbc7}=_0x18362a;return Object[_0x1de26f(0x1fd)](_0x303ee8)[_0x1de26f(0x225)](_0x4d4bfd=>_0x4d4bfd[_0x1de26f(0x28c)][_0x1de26f(0x225)](_0x386c34=>({'range':_0x386c34,'unitId':_0x17d464,'subUnitId':_0x41cbc7})))['flat']();}case _0x28882a['id']:{const _0x4e5484=_0x288c52[_0x1de26f(0x1c9)],{ranges:_0x3a4b70,unitId:_0x3e08bf,subUnitId:_0x4d9790}=_0x4e5484;return _0x3a4b70[_0x1de26f(0x225)](_0x5c692f=>({'range':_0x5c692f,'unitId':_0x3e08bf,'subUnitId':_0x4d9790}));}case _0xaf0778['id']:{const _0xb4943f=_0x288c52[_0x1de26f(0x1c9)],{unitId:_0x314087,subUnitId:_0x1d7181,range:_0x5b96d1}=_0xb4943f;return[{'range':_0x5b96d1,'unitId':_0x314087,'subUnitId':_0x1d7181}];}case _0x45e30d['id']:{const _0x524049=_0x288c52[_0x1de26f(0x1c9)];return _0x524049['rule'][_0x1de26f(0x28c)]['map'](_0x9f54cb=>({'range':_0x9f54cb,'unitId':_0x524049[_0x1de26f(0x188)],'subUnitId':_0x524049['subUnitId']}));}case _0x354bf1['id']:{const _0x4ccf01=_0x288c52[_0x1de26f(0x1c9)];return _0x4ccf01[_0x1de26f(0x1ce)]?Cs(_0x4ccf01[_0x1de26f(0x1ce)])[_0x1de26f(0x225)](_0x47e138=>({'range':_0x47e138,'unitId':_0x4ccf01['unitId'],'subUnitId':_0x4ccf01[_0x1de26f(0x21b)]})):[];}case _0x42fbcd['id']:{const _0x1cc06a=_0x288c52[_0x1de26f(0x1c9)];return[{'range':_0x1cc06a[_0x1de26f(0x24f)],'unitId':_0x1cc06a[_0x1de26f(0x188)],'subUnitId':_0x1cc06a[_0x1de26f(0x21b)]}];}case _0x1c5bae['id']:{const _0xfc7eb4=_0x288c52['params'];return(Array[_0x1de26f(0x1db)](_0xfc7eb4[_0x1de26f(0x216)])?_0xfc7eb4[_0x1de26f(0x216)]:[_0xfc7eb4['rule']])[_0x1de26f(0x225)](_0x59ab47=>_0x59ab47[_0x1de26f(0x28c)][_0x1de26f(0x225)](_0x57c901=>({'range':_0x57c901,'unitId':_0xfc7eb4['unitId'],'subUnitId':_0xfc7eb4[_0x1de26f(0x21b)]})))[_0x1de26f(0x165)]();}case _0xb5b206['id']:{const _0x4a1847=_0x288c52[_0x1de26f(0x1c9)];return _0x4a1847['rule']['ranges'][_0x1de26f(0x225)](_0x2ab287=>({'range':_0x2ab287,'unitId':_0x4a1847[_0x1de26f(0x188)],'subUnitId':_0x4a1847[_0x1de26f(0x21b)]}));}default:return[];}}[_0x1fc33d(0x138)](_0xc28cfb){const _0x256685=_0x1fc33d;if(_0xc28cfb[_0x256685(0x1dd)]<=0x1)return _0xc28cfb;const _0x445dfa=new Map();return _0xc28cfb[_0x256685(0x29f)](_0x48bbc8=>{const _0x444f19=_0x256685;var _0x5a9477;const {unitId:_0x10e959,subUnitId:_0x4f298a}=_0x48bbc8,_0x5846b9=_0x10e959+'-'+_0x4f298a;_0x445dfa[_0x444f19(0x2b2)](_0x5846b9)?(_0x5a9477=_0x445dfa[_0x444f19(0x221)](_0x5846b9))==null||_0x5a9477[_0x444f19(0x120)](_0x48bbc8):_0x445dfa[_0x444f19(0x1d7)](_0x5846b9,[_0x48bbc8]);}),Array[_0x256685(0x231)](_0x445dfa[_0x256685(0x1fd)]())[_0x256685(0x225)](_0x372a46=>new _0x3eab0d()[_0x256685(0x14e)](..._0x372a46[_0x256685(0x225)](_0x1f281e=>_0x1f281e[_0x256685(0x24f)]))['merge']()[_0x256685(0x225)](_0x24d5f1=>({'range':_0x24d5f1,'unitId':_0x372a46[0x0][_0x256685(0x188)],'subUnitId':_0x372a46[0x0][_0x256685(0x21b)]})))[_0x256685(0x165)]();}};$=ys([Q(0x0,_0x2dcf86(E)),Q(0x1,_0x5d73a0),Q(0x2,_0xecd97f)],$);function he(_0x4451b9){const _0x144ead=_0x1fc33d;return new _0x467977(_0x4451b9)[_0x144ead(0x191)]();}function Cs(_0x2ee357){const _0x551c03=new _0x467977(_0x2ee357),_0x45da55=new _0x467977();return _0x551c03['forValue']((_0xa5a86c,_0x45e8d9)=>{_0x45da55['setValue'](_0xa5a86c,_0x45e8d9,0x1);}),_0x5e8f1d(_0x45da55);}var ws=Object[_0x1fc33d(0x2ad)],Ps=(_0x2da260,_0x209e5b,_0x32052f,_0x46905d)=>{const _0x29241f=_0x1fc33d;for(var _0x470ba1=_0x46905d>0x1?void 0x0:_0x46905d?ws(_0x209e5b,_0x32052f):_0x209e5b,_0x30877c=_0x2da260[_0x29241f(0x1dd)]-0x1,_0x4a5849;_0x30877c>=0x0;_0x30877c--)(_0x4a5849=_0x2da260[_0x30877c])&&(_0x470ba1=_0x4a5849(_0x470ba1)||_0x470ba1);return _0x470ba1;},C=(_0x8030d0,_0x3b1704)=>(_0x4351f4,_0x4b68c9)=>_0x3b1704(_0x4351f4,_0x4b68c9,_0x8030d0);let te=class extends _0x5f2034{constructor(_0x31f01e,_0x23e502,_0x1b4e82,_0x126332,_0x4b83ec,_0x7c6e15,_0x5ae111){const _0x34fcf5=_0x1fc33d;super(),l(this,_0x34fcf5(0x14d),new Set()),l(this,'_lastPointer',null),(this[_0x34fcf5(0x270)]=_0x31f01e,this[_0x34fcf5(0x195)]=_0x23e502,this[_0x34fcf5(0x137)]=_0x1b4e82,this['_univerInstanceService']=_0x126332,this[_0x34fcf5(0x295)]=_0x4b83ec,this[_0x34fcf5(0x28b)]=_0x7c6e15,this[_0x34fcf5(0x154)]=_0x5ae111,this[_0x34fcf5(0x1b2)]());}[_0x1fc33d(0x1b2)](){const _0x5dd895=_0x1fc33d;this[_0x5dd895(0x217)](),this[_0x5dd895(0x208)]();}[_0x1fc33d(0x217)](){const _0x1b291d=_0x1fc33d;this[_0x1b291d(0x291)](_0x21dce4([this[_0x1b291d(0x195)][_0x1b291d(0x2a3)],this[_0x1b291d(0x28b)][_0x1b291d(0x1ad)]])['pipe'](_0x285da9(([_0xad630e,_0xd77424])=>{const _0x29a628=_0x1b291d;if(_0xad630e===T[_0x29a628(0x1d5)]&&_0xd77424){const _0x412d38=_0xd77424[_0x29a628(0x1da)];return this['_versionDiffService'][_0x29a628(0x1e2)][_0x29a628(0x28a)](_0x3a22ea(_0x48fea8=>{const _0x1817ec=_0x29a628,_0x227784=new Map();return _0x48fea8[_0x1817ec(0x28c)]['forEach']((_0x57d41f,_0xd85325)=>{const _0x44e978=_0x1817ec,_0x1f32cf=_0x57d41f[_0x44e978(0x209)](_0x562343=>_0x562343[_0x44e978(0x21b)]===_0x412d38);_0x227784[_0x44e978(0x1d7)](_0xd85325,_0x1f32cf);}),{'skeleton':_0xd77424,'diffs':_0x227784};}));}return _0x2d23b2({'skeleton':null,'diffs':new Map()});}))[_0x1b291d(0x265)](({skeleton:_0x400116,diffs:_0x3e23e2})=>{const _0x1b951a=_0x1b291d;this[_0x1b951a(0x163)](),_0x400116&&this['_updateDiffMarks'](_0x400116,_0x3e23e2);})),this['disposeWithMe'](this[_0x1b291d(0x28b)][_0x1b291d(0x1ad)]['subscribe'](_0x591294=>{const _0x1a00ff=_0x1b291d;if(_0x591294==null)return;const {skeleton:_0x5103c7}=_0x591294,{scene:_0xda8215}=this[_0x1a00ff(0x270)];_0xda8215['onPointerMove$']['subscribeEvent'](_0x34ab28(_0x2dd726=>{const _0x1debd0=_0x1a00ff;var _0x14409b,_0x600007;const {offsetX:_0x32f2a4,offsetY:_0x23559a}=_0x2dd726,{x:_0x5f3570,y:_0x1e43d8}=_0xda8215[_0x1debd0(0x129)](_0x42502d[_0x1debd0(0x249)]([_0x32f2a4,_0x23559a])),{scaleX:_0x1f06c4,scaleY:_0x425120}=_0xda8215[_0x1debd0(0x18f)](),_0x291a0a=_0xda8215['getViewport'](_0xdf5a4c[_0x1debd0(0x118)]),_0x5ec06d=_0xda8215[_0x1debd0(0x267)](_0x42502d[_0x1debd0(0x249)]([_0x5f3570,_0x1e43d8]),_0x291a0a),_0x30978d=_0x5103c7[_0x1debd0(0x2bd)](_0x32f2a4,_0x23559a,_0x1f06c4,_0x425120,_0x5ec06d);((_0x14409b=this[_0x1debd0(0x235)])==null?void 0x0:_0x14409b['column'])===_0x30978d[_0x1debd0(0x18c)]&&((_0x600007=this['_lastPointer'])==null?void 0x0:_0x600007[_0x1debd0(0x23e)])===_0x30978d[_0x1debd0(0x23e)]||this['_diffs'][_0x1debd0(0x29f)](_0x5a1833=>{const _0x3391a4=_0x1debd0;_0x5a1833[_0x3391a4(0x14a)](_0x30978d);});},0x64));}));}[_0x1fc33d(0x208)](){const _0x528d27=_0x1fc33d;this['disposeWithMe'](this['_historyManagerService'][_0x528d27(0x2a3)][_0x528d27(0x265)](_0x3c85bd=>{const _0x2724df=_0x528d27,_0x4bfde2=new _0x34c9fc();return _0x3c85bd===T[_0x2724df(0x1d5)]&&(_0x4bfde2[_0x2724df(0x2c0)](),_0x4bfde2[_0x2724df(0x14e)](this[_0x2724df(0x137)][_0x2724df(0x1e2)]['subscribe'](_0x3fbd6a=>{const _0x3576b3=_0x2724df;_0x3fbd6a[_0x3576b3(0x19a)]&&this[_0x3576b3(0x154)]['executeCommand'](_0x11bbb7['id'],{'unitId':this[_0x3576b3(0x270)]['unitId'],'subUnitId':_0x3fbd6a[_0x3576b3(0x19a)]});}))),()=>_0x4bfde2['dispose']();}));}[_0x1fc33d(0x175)](_0x3c6d56,_0x5d1585){const _0x140f73=_0x1fc33d;var _0x44015b;const _0x117700=(_0x44015b=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x44015b['skeleton'];if(!_0x117700)return;this[_0x140f73(0x14d)][_0x140f73(0x29f)](_0x4066df=>{const _0x1caf94=_0x140f73;_0x4066df[_0x1caf94(0x18e)]();});const {scene:_0x1f352a}=this[_0x140f73(0x270)],_0x5165c8=Array[_0x140f73(0x231)](_0x5d1585[_0x140f73(0x14c)]())['map'](_0xaf711e=>_0x5d1585[_0x140f73(0x221)](_0xaf711e)['map'](_0x46d916=>{const _0x401c7c=_0x140f73;var _0x497703;const {range:_0x43d071,subUnitId:_0x3a7819,unitId:_0xa5eff}=_0x46d916,{startColumn:_0x473618,startRow:_0x69b8aa,endColumn:_0x42ec53,endRow:_0xf9b57f}=_0x43d071,_0x35f846=_0x5d5a0f(_0x69b8aa,_0x473618,_0x1f352a,_0x117700),_0x3850d9=_0x5d5a0f(_0xf9b57f,_0x42ec53,_0x1f352a,_0x117700),{columnHeaderHeightAndMarginTop:_0x968961}=_0x117700,{startX:_0x72cf45,startY:_0x648d64}=_0x35f846,{endX:_0x564af6,endY:_0x106c15}=_0x3850d9,_0x3458f8=_0x564af6-_0x72cf45,_0x4071aa=_0x106c15-_0x648d64,_0x15b8df={'labelPosition':_0x648d64-_0x968961>=0x14?_0x401c7c(0x230):'bottom','sheetID':_0x3a7819,'range':_0x43d071,'color':'rgba(58,\x2096,\x20247,\x200.20)','fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x401c7c(0x22c),'name':((_0x497703=this[_0x401c7c(0x195)][_0x401c7c(0x21f)](_0xaf711e))==null?void 0x0:_0x497703[_0x401c7c(0x1aa)])||'','selection':_0xa5eff+'-'+_0x3a7819+'-'+_0x43d071['startColumn']+'-'+_0x43d071[_0x401c7c(0x2c7)]+'-'+_0x43d071[_0x401c7c(0x1a3)]+'-'+_0x43d071[_0x401c7c(0x11b)],'left':_0x72cf45,'top':_0x648d64,'width':_0x3458f8,'height':_0x4071aa,'evented':!0x1,'zIndex':0x1};return new _0x33fc42('',_0x15b8df);}))[_0x140f73(0x165)]();_0x1f352a[_0x140f73(0x16a)](_0x5165c8,0x1),this[_0x140f73(0x14d)]=new Set(_0x5165c8);}['_removeDiffMarks'](){const _0x49f0d6=_0x1fc33d;var _0x2759d4;(_0x2759d4=this[_0x49f0d6(0x14d)])==null||_0x2759d4['forEach'](_0x1a208a=>_0x1a208a['dispose']());}[_0x1fc33d(0x1a4)](){const _0x19182a=_0x1fc33d;return _0x2042e3(this[_0x19182a(0x268)],this[_0x19182a(0x295)]);}};te=Ps([C(0x1,_0x2dcf86(E)),C(0x2,_0x2dcf86($)),C(0x3,_0xb6c582),C(0x4,_0x197255),C(0x5,_0x2dcf86(_0x5e93a4)),C(0x6,_0x17182e)],te);function Ts(){const _0x4d61ce=_0x1fc33d,_0xfb8b40=_0x2953d2(E),_0x15015a=_0x8c74e2(_0xfb8b40[_0x4d61ce(0x2c2)]),[_0x20212e,_0x23eead]=_0x4ac8de(!0x1),_0x5db953=ls(_0x15015a);return _0x15015a?_0x25531c('div',{'className':'univer-overflow-hidden','children':_0x1cfe7d('div',{'className':_0x4d61ce(0x142),'children':[_0x5db953['map']((_0x193ab7,_0xfa5c50)=>_0x1cfe7d(_0x2f0225,{'children':[_0x25531c(Vs,{'date':_0x193ab7[_0x4d61ce(0x277)]}),_0x193ab7[_0x4d61ce(0x145)]['map']((_0x24cc0d,_0x45d6ec)=>_0x25531c(ks,{'index':[_0xfa5c50,_0x45d6ec],'item':_0x24cc0d},_0xfa5c50+'-'+_0x45d6ec))]},_0x193ab7[_0x4d61ce(0x277)])),_0x20212e&&_0x25531c(Ls,{})]})}):_0x25531c($s,{});}function Ls(){const _0x1a40c9=_0x1fc33d;return _0x25531c(_0x1a40c9(0x11c),{'className':_0x1a40c9(0x150),'children':_0x25531c(ae,{'className':_0x1a40c9(0x263)})});}function $s(){const _0x411a00=_0x1fc33d;return _0x25531c('div',{'className':_0x411a00(0x27e),'children':_0x25531c(_0x411a00(0x213),{'className':_0x411a00(0x21d),'children':_0x25531c(ae,{'className':'univer-m-auto\x20univer-animate-spin'})})});}function Vs(_0x5d1b82){const _0x5ca0f1=_0x1fc33d,_0x427351=_0x2953d2(_0x355079),{date:_0x5c44b5}=_0x5d1b82;return _0x25531c('div',{'className':_0x5ca0f1(0x2a7),'children':ee(_0x5c44b5,_0x427351[_0x5ca0f1(0x164)]())});}function ks(_0x2e8365){const _0x3499e3=_0x1fc33d,{item:_0xa05dab,index:_0x109e1d}=_0x2e8365,{time:_0x561909,user:_0x2fd8b8}=_0xa05dab,[_0x4dea15,_0x52636a]=_0x109e1d,_0x3a85c6=_0x2953d2(E),_0x186fe7=_0x8c74e2(_0x3a85c6[_0x3499e3(0x280)],'',!0x0)===_0xa05dab['id'],_0x2df2eb=_0x4dea15===0x0&&_0x52636a===0x0,_0x320f10=!_0x2df2eb&&_0x3a85c6[_0x3499e3(0x24d)],_0x34dc29=_0x2953d2(_0x355079),_0x2714d8=_0x34dc29[_0x3499e3(0x164)](),_0x582f41=re(_0x561909,_0x2714d8),_0x46192e=_0x34dc29['t']('editHistory.panel.currentVersion'),_0x575c46=_0x2f72a7(_0x2340ed=>{const _0x286c31=_0x3499e3;_0x3a85c6[_0x286c31(0x248)]!==T[_0x286c31(0x153)]&&(_0x3a85c6[_0x286c31(0x162)]=_0x2340ed);},[_0x3a85c6]),_0x2fdc01=_0x2f72a7(_0x477b40=>{const _0x4546d7=_0x3499e3;_0x3a85c6[_0x4546d7(0x1d2)](_0x477b40);},[_0x3a85c6]);return _0x1cfe7d(_0x3499e3(0x11c),{'className':_0x3a44b6(_0x3499e3(0x127),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x186fe7}),'onClick':()=>_0x575c46(_0xa05dab['id']),'children':[_0x1cfe7d('div',{'className':'univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','children':[_0x1cfe7d('div',{'className':_0x3499e3(0x219),'children':[_0x25531c(_0x3499e3(0x213),{'children':_0x582f41[_0x3499e3(0x256)]}),_0x2df2eb&&_0x25531c(_0x3499e3(0x213),{'className':_0x3499e3(0x1f2),'children':_0x46192e})]}),_0x25531c('div',{'children':_0x320f10&&_0x25531c(_0x43ca80,{'title':_0x34dc29['t'](_0x3499e3(0x289)),'children':_0x25531c(_0x3499e3(0x11c),{'onClick':_0x519941=>{const _0x583f76=_0x3499e3;_0x519941[_0x583f76(0x1d8)](),_0x2fdc01(_0xa05dab['id']);},'className':_0x3499e3(0x1c8),'children':_0x25531c(Le,{})})})})]}),_0x25531c('div',{'className':_0x3499e3(0x1c4),'children':os(_0xa05dab,_0x34dc29)})]});}var Us=Object['getOwnPropertyDescriptor'],xs=(_0x3cd705,_0x3aa706,_0x337185,_0x2db16b)=>{const _0x122340=_0x1fc33d;for(var _0x5d3437=_0x2db16b>0x1?void 0x0:_0x2db16b?Us(_0x3aa706,_0x337185):_0x3aa706,_0x1c6080=_0x3cd705[_0x122340(0x1dd)]-0x1,_0x569bac;_0x1c6080>=0x0;_0x1c6080--)(_0x569bac=_0x3cd705[_0x1c6080])&&(_0x5d3437=_0x569bac(_0x5d3437)||_0x5d3437);return _0x5d3437;},k=(_0x3f142c,_0x332c26)=>(_0x50a5fd,_0x1a68d7)=>_0x332c26(_0x50a5fd,_0x1a68d7,_0x3f142c);const de=_0x1fc33d(0x18b);let j=class extends _0x5f2034{constructor(_0x291513,_0x242653,_0x551c36,_0x3dc688){const _0x540fa1=_0x1fc33d;super(),l(this,_0x540fa1(0x1c6),null),(this['_sidebarService']=_0x291513,this[_0x540fa1(0x2b1)]=_0x242653,this['_localeService']=_0x551c36,this['_historyManagerService']=_0x3dc688,this[_0x540fa1(0x1b2)]());}[_0x1fc33d(0x1b2)](){const _0x3ea607=_0x1fc33d;this[_0x3ea607(0x13e)](),this['_openPanel']();}['_openPanel'](){const _0x41c6fe=_0x1fc33d;if(this[_0x41c6fe(0x1c6)])return;const _0x136cfc={'header':{'title':this[_0x41c6fe(0x262)]['t'](_0x41c6fe(0x243))},'children':{'label':de},'onClose':()=>{const _0xfb7bd3=_0x41c6fe;this['_sidebarDisposable']=null,this['_historyManagerService'][_0xfb7bd3(0x1a8)]=ne[_0xfb7bd3(0x20d)];}};this[_0x41c6fe(0x1c6)]=this[_0x41c6fe(0x236)]['open']({..._0x136cfc});}[_0x1fc33d(0x13e)](){const _0x447459=_0x1fc33d;this[_0x447459(0x291)](this['_componentManager'][_0x447459(0x2c3)](de,Ts)),this[_0x447459(0x291)](this[_0x447459(0x236)]['scrollEvent$'][_0x447459(0x28a)](_0x4622f3(0x64))['subscribe'](_0x4123ba=>{const _0x49d29c=_0x447459,{target:_0x242990}=_0x4123ba||{};if(_0x242990){const {scrollTop:_0x27a44a,scrollHeight:_0x3b64e6,clientHeight:_0x12494c}=_0x242990;_0x27a44a+_0x12494c>=_0x3b64e6-0x5&&this[_0x49d29c(0x195)][_0x49d29c(0x161)]();}}));}};j=xs([k(0x0,_0xba97fd),k(0x1,_0x2dcf86(_0x44681e)),k(0x2,_0x2dcf86(_0x355079)),k(0x3,_0x2dcf86(E))],j);class Hs extends _0x5f2034{constructor(){const _0x5f09bc=_0x1fc33d;super(),l(this,_0x5f09bc(0x1bc),new _0x2a5bae());}[_0x1fc33d(0x12f)](){return _0x219d05(()=>{});}['close'](){}[_0x1fc33d(0x190)](_0x5152af){}['getDialogs$'](){const _0x5f16e8=_0x1fc33d;return this[_0x5f16e8(0x1bc)][_0x5f16e8(0x245)]();}}var Fs=Object['defineProperty'],Ys=Object['getOwnPropertyDescriptor'],Bs=(_0x2692a0,_0xa25386,_0x2c3955)=>_0xa25386 in _0x2692a0?Fs(_0x2692a0,_0xa25386,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c3955}):_0x2692a0[_0xa25386]=_0x2c3955,js=(_0x5efc8e,_0xa888e6,_0x2f0b59,_0x71b069)=>{const _0x5d0bce=_0x1fc33d;for(var _0x31dc1e=_0x71b069>0x1?void 0x0:_0x71b069?Ys(_0xa888e6,_0x2f0b59):_0xa888e6,_0x22c22f=_0x5efc8e[_0x5d0bce(0x1dd)]-0x1,_0x2903f7;_0x22c22f>=0x0;_0x22c22f--)(_0x2903f7=_0x5efc8e[_0x22c22f])&&(_0x31dc1e=_0x2903f7(_0x31dc1e)||_0x31dc1e);return _0x31dc1e;},J=(_0xba246e,_0xda8abc)=>(_0x3a2d92,_0x8da03c)=>_0xda8abc(_0x3a2d92,_0x8da03c,_0xba246e),As=(_0x36a771,_0xc34723,_0x5eddfc)=>Bs(_0x36a771,_0xc34723+'',_0x5eddfc);const Ws=_0x1fc33d(0x14b);let se=class extends _0x1bd273{constructor(_0x126de5=_e,_0x3e674f,_0x2afbe8,_0x4520a1){const _0x32cbce=_0x1fc33d;super(),this[_0x32cbce(0x17e)]=_0x126de5,this['_injector']=_0x3e674f,this['_renderManagerService']=_0x2afbe8,this['_configService']=_0x4520a1;const {..._0x4dc572}=_0x3aa8ee({},_e,this['_config']);this['_configService'][_0x32cbce(0x20b)](we,_0x4dc572);}[_0x1fc33d(0x2b5)](){const _0x4afe14=_0x1fc33d;[[E],[B],[$],[Y],[j],[H],[_0xecd97f,{'useClass':_0x86fdee}],[_0x219097,{'useClass':Hs}],[_0x516ccf,{'useClass':_0x592601}]]['forEach'](_0x28bafe=>this[_0x4afe14(0x1df)][_0x4afe14(0x14e)](_0x28bafe)),this['_injector'][_0x4afe14(0x221)](B);}[_0x1fc33d(0x17b)](){const _0x5dfc88=_0x1fc33d;[[te]]['forEach'](_0x7dad41=>{const _0x25e452=_0x1e42;this[_0x25e452(0x291)](this[_0x25e452(0x295)]['registerRenderModule'](_0x3e4d1b[_0x25e452(0x185)],_0x7dad41));}),this[_0x5dfc88(0x1df)]['get'](H),this[_0x5dfc88(0x1df)][_0x5dfc88(0x221)](j);}[_0x1fc33d(0x15e)](){const _0x48d52a=_0x1fc33d;this['_injector'][_0x48d52a(0x221)]($);}};As(se,'pluginName',Ws),se=js([_0x14637c(_0x433042,_0x11d4d9),J(0x1,_0x2dcf86(_0x2f2c8d)),J(0x2,_0x197255),J(0x3,_0x51d64d)],se);export{E as HistoryManagerService,ne as HistoryModeStatus,se as UniverEditHistoryViewerPlugin};
@@ -1 +1 @@
1
- const _0x5bc71e=_0x5835;(function(_0x5cd666,_0x2290ed){const _0x3ee1ea=_0x5835,_0x4292cd=_0x5cd666();while(!![]){try{const _0x28d1e9=parseInt(_0x3ee1ea(0xe1))/0x1*(parseInt(_0x3ee1ea(0xde))/0x2)+-parseInt(_0x3ee1ea(0xd8))/0x3+parseInt(_0x3ee1ea(0xe5))/0x4+parseInt(_0x3ee1ea(0xd4))/0x5*(parseInt(_0x3ee1ea(0xdb))/0x6)+-parseInt(_0x3ee1ea(0xdd))/0x7*(parseInt(_0x3ee1ea(0xd6))/0x8)+parseInt(_0x3ee1ea(0xd0))/0x9+-parseInt(_0x3ee1ea(0xe6))/0xa;if(_0x28d1e9===_0x2290ed)break;else _0x4292cd['push'](_0x4292cd['shift']());}catch(_0x105993){_0x4292cd['push'](_0x4292cd['shift']());}}}(_0x2715,0xd7674));function _0x5835(_0x4af253,_0x1757d3){const _0x2715f4=_0x2715();return _0x5835=function(_0x5835a2,_0x2425e6){_0x5835a2=_0x5835a2-0xcb;let _0xdc020=_0x2715f4[_0x5835a2];return _0xdc020;},_0x5835(_0x4af253,_0x1757d3);}function _0x2715(){const _0x5e071d=['delete\x20protection','add\x20conditional\x20formatting','3928100ccDvNq','5719140HliZUz','add\x20sparkline','Unknown\x20User','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','Edit\x20History','reverted\x20workbook','Cancel','Current\x20Version','set\x20filter','2842479epKmgt','loading,\x20please\x20wait...','Confirm','inserted\x20worksheet','70hBMkwT','Restore\x20this\x20version?','360MWFdmg','Current\x20User','2175774eLXxvR','created\x20workbook','Restore\x20this\x20version','505896IXpOjc','Failed\x20to\x20get\x20edit\x20history\x20list','62657cGGKBz','207958zMQZxQ',',\x20etc.','set\x20frozen','1XqTwGr','edited\x20worksheet'];_0x2715=function(){return _0x5e071d;};return _0x2715();}const e={'editHistory':{'panel':{'title':_0x5bc71e(0xcb),'unknownUser':_0x5bc71e(0xe8),'listFetchError':_0x5bc71e(0xdc),'revertConfirm':_0x5bc71e(0xd5),'revertConfirmText':_0x5bc71e(0xe9),'cancel':_0x5bc71e(0xcd),'confirm':_0x5bc71e(0xd2),'reverting':'Reverting,\x20please\x20wait...','revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':_0x5bc71e(0xce),'currentUser':_0x5bc71e(0xd7),'revertDesc':_0x5bc71e(0xda)},'info':{'loading':_0x5bc71e(0xd1)},'header':{'back':'Back','revert':_0x5bc71e(0xda)},'action':{'insertSheet':_0x5bc71e(0xd3),'removeSheet':'deleted\x20worksheet','createSheet':_0x5bc71e(0xd9),'setFilter':_0x5bc71e(0xcf),'setFrozen':_0x5bc71e(0xe0),'editSheet':_0x5bc71e(0xe2),'revertSheet':_0x5bc71e(0xcc),'revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':'set\x20conditional\x20formatting','addCF':_0x5bc71e(0xe4),'addProtection':'add\x20protection','addSparkline':_0x5bc71e(0xe7),'deleteProtection':_0x5bc71e(0xe3),'etc':_0x5bc71e(0xdf)}}},t=e;export{t as default};
1
+ function _0xbf1d(){const _0x6fc2e6=['Current\x20Version','edited\x20worksheet','set\x20frozen','set\x20filter','Reverted\x20from','45605WiHEWP','2633OpQrVl','created\x20workbook','add\x20sparkline','4218720bMnagE','354SZsLBC','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','842950PmuQOX','Reverting,\x20please\x20wait...','6440798QAqcay','deleted\x20worksheet','Cancel','inserted\x20worksheet','516tXxRyo','add\x20conditional\x20formatting','set\x20data\x20validation','Confirm','Restore\x20this\x20version','865713mzQIPx','Edit\x20History','4SuOaES','Unknown\x20User','4704810mPQogG','Current\x20User','90YpveVI','loading,\x20please\x20wait...','add\x20protection','Restore\x20this\x20version?','reverted\x20workbook','set\x20conditional\x20formatting'];_0xbf1d=function(){return _0x6fc2e6;};return _0xbf1d();}const _0x44e2ef=_0x4edc;function _0x4edc(_0x192f52,_0x482f48){const _0xbf1d8=_0xbf1d();return _0x4edc=function(_0x4edc8b,_0xf37fd0){_0x4edc8b=_0x4edc8b-0xe8;let _0xbde147=_0xbf1d8[_0x4edc8b];return _0xbde147;},_0x4edc(_0x192f52,_0x482f48);}(function(_0x3feb2b,_0x40bea0){const _0x41f03d=_0x4edc,_0x4f7f4a=_0x3feb2b();while(!![]){try{const _0x5f50cd=parseInt(_0x41f03d(0x106))/0x1*(parseInt(_0x41f03d(0x10a))/0x2)+parseInt(_0x41f03d(0xf4))/0x3*(parseInt(_0x41f03d(0xf6))/0x4)+parseInt(_0x41f03d(0x105))/0x5*(parseInt(_0x41f03d(0xef))/0x6)+-parseInt(_0x41f03d(0xeb))/0x7+-parseInt(_0x41f03d(0x109))/0x8+-parseInt(_0x41f03d(0xfa))/0x9*(-parseInt(_0x41f03d(0xe9))/0xa)+-parseInt(_0x41f03d(0xf8))/0xb;if(_0x5f50cd===_0x40bea0)break;else _0x4f7f4a['push'](_0x4f7f4a['shift']());}catch(_0x4109cc){_0x4f7f4a['push'](_0x4f7f4a['shift']());}}}(_0xbf1d,0x7bbb4));const e={'editHistory':{'panel':{'title':_0x44e2ef(0xf5),'unknownUser':_0x44e2ef(0xf7),'listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list','revertConfirm':_0x44e2ef(0xfd),'revertConfirmText':_0x44e2ef(0xe8),'cancel':_0x44e2ef(0xed),'confirm':_0x44e2ef(0xf2),'reverting':_0x44e2ef(0xea),'revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':_0x44e2ef(0x100),'currentUser':_0x44e2ef(0xf9),'revertDesc':_0x44e2ef(0xf3)},'info':{'loading':_0x44e2ef(0xfb)},'header':{'back':'Back','revert':_0x44e2ef(0xf3)},'action':{'insertSheet':_0x44e2ef(0xee),'removeSheet':_0x44e2ef(0xec),'createSheet':_0x44e2ef(0x107),'setFilter':_0x44e2ef(0x103),'setFrozen':_0x44e2ef(0x102),'editSheet':_0x44e2ef(0x101),'revertSheet':_0x44e2ef(0xfe),'revertSheetPrefix':_0x44e2ef(0x104),'revertSheetSuffix':'','setDV':_0x44e2ef(0xf1),'setCF':_0x44e2ef(0xff),'addCF':_0x44e2ef(0xf0),'addProtection':_0x44e2ef(0xfc),'addSparkline':_0x44e2ef(0x108),'deleteProtection':'delete\x20protection','etc':',\x20etc.'}}},t=e;export{t as default};
@@ -1 +1 @@
1
- function _0x5323(){const _0x4d50aa=['Current\x20Version','Reverting,\x20please\x20wait...','2sWcZXq','84wUBKaY','Edit\x20History','3634827bOHDXM','add\x20sparkline','loading,\x20please\x20wait...','set\x20filter','90uUwYpb','Current\x20User','Cancel','168664AOdUEg','edited\x20worksheet','Failed\x20to\x20get\x20edit\x20history\x20list','inserted\x20worksheet','663984mWSzNn','95250vVcCQT','Back','add\x20protection','reverted\x20workbook','set\x20frozen','Restore\x20this\x20version?','Reverted\x20from','1977708rZsxYK','56051ZZVPdC','4294180ijfXfy','add\x20conditional\x20formatting','Restore\x20this\x20version','Confirm'];_0x5323=function(){return _0x4d50aa;};return _0x5323();}const _0xaa8c63=_0x3e40;(function(_0x3903ae,_0x1e67ed){const _0x38b8bb=_0x3e40,_0xb34728=_0x3903ae();while(!![]){try{const _0x267a2a=-parseInt(_0x38b8bb(0x187))/0x1+-parseInt(_0x38b8bb(0x170))/0x2*(-parseInt(_0x38b8bb(0x186))/0x3)+parseInt(_0x38b8bb(0x17e))/0x4+parseInt(_0x38b8bb(0x17f))/0x5*(-parseInt(_0x38b8bb(0x171))/0x6)+parseInt(_0x38b8bb(0x173))/0x7+-parseInt(_0x38b8bb(0x17a))/0x8*(parseInt(_0x38b8bb(0x177))/0x9)+-parseInt(_0x38b8bb(0x188))/0xa;if(_0x267a2a===_0x1e67ed)break;else _0xb34728['push'](_0xb34728['shift']());}catch(_0x76be8f){_0xb34728['push'](_0xb34728['shift']());}}}(_0x5323,0x5d236));function _0x3e40(_0x4abfaf,_0x18f7cc){const _0x5323cf=_0x5323();return _0x3e40=function(_0x3e40af,_0x569c6f){_0x3e40af=_0x3e40af-0x16e;let _0x383d95=_0x5323cf[_0x3e40af];return _0x383d95;},_0x3e40(_0x4abfaf,_0x18f7cc);}const e={'editHistory':{'panel':{'title':_0xaa8c63(0x172),'unknownUser':'Unknown\x20User','listFetchError':_0xaa8c63(0x17c),'revertConfirm':_0xaa8c63(0x184),'revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':_0xaa8c63(0x179),'confirm':_0xaa8c63(0x18b),'reverting':_0xaa8c63(0x16f),'revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':_0xaa8c63(0x16e),'currentUser':_0xaa8c63(0x178),'revertDesc':_0xaa8c63(0x18a)},'info':{'loading':_0xaa8c63(0x175)},'header':{'back':_0xaa8c63(0x180),'revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0xaa8c63(0x17d),'removeSheet':'deleted\x20worksheet','createSheet':'created\x20workbook','setFilter':_0xaa8c63(0x176),'setFrozen':_0xaa8c63(0x183),'editSheet':_0xaa8c63(0x17b),'revertSheet':_0xaa8c63(0x182),'revertSheetPrefix':_0xaa8c63(0x185),'revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':'set\x20conditional\x20formatting','addCF':_0xaa8c63(0x189),'addProtection':_0xaa8c63(0x181),'addSparkline':_0xaa8c63(0x174),'deleteProtection':'delete\x20protection','etc':',\x20etc.'}}};export{e as default};
1
+ const _0xdbccea=_0xd0ce;(function(_0x5e34d4,_0x349d7){const _0x199b5c=_0xd0ce,_0x37ff7f=_0x5e34d4();while(!![]){try{const _0x5cfa3e=parseInt(_0x199b5c(0x10f))/0x1+-parseInt(_0x199b5c(0x104))/0x2*(parseInt(_0x199b5c(0xf6))/0x3)+-parseInt(_0x199b5c(0xff))/0x4*(-parseInt(_0x199b5c(0x106))/0x5)+-parseInt(_0x199b5c(0xfe))/0x6*(parseInt(_0x199b5c(0xfc))/0x7)+-parseInt(_0x199b5c(0x10e))/0x8+parseInt(_0x199b5c(0x102))/0x9*(-parseInt(_0x199b5c(0x101))/0xa)+-parseInt(_0x199b5c(0x110))/0xb*(-parseInt(_0x199b5c(0xf5))/0xc);if(_0x5cfa3e===_0x349d7)break;else _0x37ff7f['push'](_0x37ff7f['shift']());}catch(_0x1035ad){_0x37ff7f['push'](_0x37ff7f['shift']());}}}(_0x4e37,0xc3c5f));const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':_0xdbccea(0x10c),'listFetchError':_0xdbccea(0xf9),'revertConfirm':_0xdbccea(0x107),'revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':_0xdbccea(0xfd),'confirm':_0xdbccea(0x103),'reverting':'Reverting,\x20please\x20wait...','revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':'Current\x20Version','currentUser':_0xdbccea(0xfb),'revertDesc':_0xdbccea(0x10a)},'info':{'loading':_0xdbccea(0x100)},'header':{'back':_0xdbccea(0x108),'revert':_0xdbccea(0x10a)},'action':{'insertSheet':_0xdbccea(0xfa),'removeSheet':_0xdbccea(0x10d),'createSheet':_0xdbccea(0x105),'setFilter':'set\x20filter','setFrozen':'set\x20frozen','editSheet':'edited\x20worksheet','revertSheet':_0xdbccea(0x109),'revertSheetPrefix':_0xdbccea(0x111),'revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':'set\x20conditional\x20formatting','addCF':_0xdbccea(0x10b),'addProtection':_0xdbccea(0xf8),'addSparkline':'add\x20sparkline','deleteProtection':_0xdbccea(0xf7),'etc':',\x20etc.'}}};function _0xd0ce(_0xecee9e,_0x208245){const _0x4e3769=_0x4e37();return _0xd0ce=function(_0xd0ced8,_0x5ded4a){_0xd0ced8=_0xd0ced8-0xf5;let _0xd1812f=_0x4e3769[_0xd0ced8];return _0xd1812f;},_0xd0ce(_0xecee9e,_0x208245);}export{e as default};function _0x4e37(){const _0x220867=['add\x20protection','Failed\x20to\x20get\x20edit\x20history\x20list','inserted\x20worksheet','Current\x20User','5327eQVclF','Cancel','966llUoNQ','4ISRUDL','loading,\x20please\x20wait...','2574640VDnUJJ','36zfQSEE','Confirm','9466nXhJvt','created\x20workbook','3639490skgwPh','Restore\x20this\x20version?','Back','reverted\x20workbook','Restore\x20this\x20version','add\x20conditional\x20formatting','Unknown\x20User','deleted\x20worksheet','517632HGhZLy','71682THWDyr','72611IqCGdG','Reverted\x20from','4428qipqkp','771ZxiMEr','delete\x20protection'];_0x4e37=function(){return _0x220867;};return _0x4e37();}