@univerjs-pro/edit-history-viewer 0.9.4 → 0.10.0-nightly.202507310307

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 (46) 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/types/services/history-fetch.service.d.ts +1 -1
  35. package/lib/umd/index.js +1 -1
  36. package/lib/umd/locale/ca-ES.js +1 -1
  37. package/lib/umd/locale/en-US.js +1 -1
  38. package/lib/umd/locale/es-ES.js +1 -1
  39. package/lib/umd/locale/fa-IR.js +1 -1
  40. package/lib/umd/locale/fr-FR.js +1 -1
  41. package/lib/umd/locale/ko-KR.js +1 -1
  42. package/lib/umd/locale/ru-RU.js +1 -1
  43. package/lib/umd/locale/vi-VN.js +1 -1
  44. package/lib/umd/locale/zh-CN.js +1 -1
  45. package/lib/umd/locale/zh-TW.js +1 -1
  46. package/package.json +18 -18
@@ -1 +1 @@
1
- 'use strict';function _0x3665(_0x2897d4,_0x5da02b){const _0x8fae73=_0x8fae();return _0x3665=function(_0x366555,_0x418ea2){_0x366555=_0x366555-0x14c;let _0x40096c=_0x8fae73[_0x366555];return _0x40096c;},_0x3665(_0x2897d4,_0x5da02b);}const _0x4c90e0=_0x3665;(function(_0x21e325,_0x3a2102){const _0x46eabd=_0x3665,_0x33c22d=_0x21e325();while(!![]){try{const _0x5be5cb=parseInt(_0x46eabd(0x154))/0x1+parseInt(_0x46eabd(0x156))/0x2*(-parseInt(_0x46eabd(0x15c))/0x3)+parseInt(_0x46eabd(0x160))/0x4*(parseInt(_0x46eabd(0x15e))/0x5)+parseInt(_0x46eabd(0x165))/0x6*(parseInt(_0x46eabd(0x153))/0x7)+parseInt(_0x46eabd(0x15d))/0x8+parseInt(_0x46eabd(0x150))/0x9*(parseInt(_0x46eabd(0x163))/0xa)+parseInt(_0x46eabd(0x16b))/0xb*(-parseInt(_0x46eabd(0x159))/0xc);if(_0x5be5cb===_0x3a2102)break;else _0x33c22d['push'](_0x33c22d['shift']());}catch(_0x1058aa){_0x33c22d['push'](_0x33c22d['shift']());}}}(_0x8fae,0xc155a));function _0x8fae(){const _0x27bdf1=['Restore\x20this\x20version','created\x20workbook','Confirm','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','inserted\x20worksheet','44qfiZMX','delete\x20protection','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Reverted\x20from','set\x20conditional\x20formatting','72fNimrn','Reverting,\x20please\x20wait...','add\x20sparkline','7RqKdVc','723352HDNPBs','set\x20filter','12iBMHav','add\x20conditional\x20formatting','add\x20protection','2664708JmLLyP',',\x20etc.','exports','129612GsJjEg','3162176xQfWbd','5KApCzs','loading,\x20please\x20wait...','2458124HUECUO','deleted\x20worksheet','Back','96190jXamqs','Edit\x20History','775506VKjwme'];_0x8fae=function(){return _0x27bdf1;};return _0x8fae();}const e={'editHistory':{'panel':{'title':_0x4c90e0(0x164),'unknownUser':'Unknown\x20User','listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list','revertConfirm':'Restore\x20this\x20version?','revertConfirmText':_0x4c90e0(0x169),'cancel':'Cancel','confirm':_0x4c90e0(0x168),'reverting':_0x4c90e0(0x151),'revertFailed':_0x4c90e0(0x14d),'currentVersion':'Current\x20Version','currentUser':'Current\x20User','revertDesc':_0x4c90e0(0x166)},'info':{'loading':_0x4c90e0(0x15f)},'header':{'back':_0x4c90e0(0x162),'revert':_0x4c90e0(0x166)},'action':{'insertSheet':_0x4c90e0(0x16a),'removeSheet':_0x4c90e0(0x161),'createSheet':_0x4c90e0(0x167),'setFilter':_0x4c90e0(0x155),'setFrozen':'set\x20frozen','editSheet':'edited\x20worksheet','revertSheet':'reverted\x20workbook','revertSheetPrefix':_0x4c90e0(0x14e),'revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':_0x4c90e0(0x14f),'addCF':_0x4c90e0(0x157),'addProtection':_0x4c90e0(0x158),'addSparkline':_0x4c90e0(0x152),'deleteProtection':_0x4c90e0(0x14c),'etc':_0x4c90e0(0x15a)}}},t=e;module[_0x4c90e0(0x15b)]=t;
1
+ 'use strict';const _0x4eecab=_0x46a3;function _0x46a3(_0x4961c7,_0x531ae3){const _0x3e4875=_0x3e48();return _0x46a3=function(_0x46a374,_0x5d0492){_0x46a374=_0x46a374-0x160;let _0x472699=_0x3e4875[_0x46a374];return _0x472699;},_0x46a3(_0x4961c7,_0x531ae3);}(function(_0x16707e,_0xa9cf82){const _0x3e1b90=_0x46a3,_0x31704c=_0x16707e();while(!![]){try{const _0x59bc8d=parseInt(_0x3e1b90(0x17c))/0x1*(-parseInt(_0x3e1b90(0x170))/0x2)+parseInt(_0x3e1b90(0x175))/0x3+-parseInt(_0x3e1b90(0x17d))/0x4+-parseInt(_0x3e1b90(0x166))/0x5+parseInt(_0x3e1b90(0x168))/0x6+parseInt(_0x3e1b90(0x16f))/0x7*(-parseInt(_0x3e1b90(0x16e))/0x8)+-parseInt(_0x3e1b90(0x16c))/0x9*(-parseInt(_0x3e1b90(0x17f))/0xa);if(_0x59bc8d===_0xa9cf82)break;else _0x31704c['push'](_0x31704c['shift']());}catch(_0x4c7711){_0x31704c['push'](_0x31704c['shift']());}}}(_0x3e48,0xae322));function _0x3e48(){const _0x5efb5b=['119090FPGKYA','Failed\x20to\x20get\x20edit\x20history\x20list','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Current\x20Version','Reverting,\x20please\x20wait...','exports','created\x20workbook','add\x20sparkline','5041995gtxUux','set\x20data\x20validation','7499454KLpfFn','Restore\x20this\x20version','Back','set\x20frozen','1413HhDmEf','set\x20conditional\x20formatting','1677160oTWOkg','28MpbbDb','10MasoYT','Confirm','add\x20conditional\x20formatting','Edit\x20History','reverted\x20workbook','1559334umBctt','Cancel','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','loading,\x20please\x20wait...','edited\x20worksheet','Restore\x20this\x20version?','Unknown\x20User','136058xjQbKJ','1594500VcuISg','add\x20protection'];_0x3e48=function(){return _0x5efb5b;};return _0x3e48();}const e={'editHistory':{'panel':{'title':_0x4eecab(0x173),'unknownUser':_0x4eecab(0x17b),'listFetchError':_0x4eecab(0x180),'revertConfirm':_0x4eecab(0x17a),'revertConfirmText':_0x4eecab(0x177),'cancel':_0x4eecab(0x176),'confirm':_0x4eecab(0x171),'reverting':_0x4eecab(0x162),'revertFailed':_0x4eecab(0x160),'currentVersion':_0x4eecab(0x161),'currentUser':'Current\x20User','revertDesc':_0x4eecab(0x169)},'info':{'loading':_0x4eecab(0x178)},'header':{'back':_0x4eecab(0x16a),'revert':_0x4eecab(0x169)},'action':{'insertSheet':'inserted\x20worksheet','removeSheet':'deleted\x20worksheet','createSheet':_0x4eecab(0x164),'setFilter':'set\x20filter','setFrozen':_0x4eecab(0x16b),'editSheet':_0x4eecab(0x179),'revertSheet':_0x4eecab(0x174),'revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':_0x4eecab(0x167),'setCF':_0x4eecab(0x16d),'addCF':_0x4eecab(0x172),'addProtection':_0x4eecab(0x17e),'addSparkline':_0x4eecab(0x165),'deleteProtection':'delete\x20protection','etc':',\x20etc.'}}},t=e;module[_0x4eecab(0x163)]=t;
@@ -1 +1 @@
1
- 'use strict';function _0x3c76(_0x53c504,_0x4e0871){const _0x4e1626=_0x4e16();return _0x3c76=function(_0x3c76ee,_0x216b17){_0x3c76ee=_0x3c76ee-0x1cf;let _0x5c5b5a=_0x4e1626[_0x3c76ee];return _0x5c5b5a;},_0x3c76(_0x53c504,_0x4e0871);}const _0x2e9cab=_0x3c76;(function(_0x5b3827,_0x29f9c8){const _0x34ed5b=_0x3c76,_0x55d679=_0x5b3827();while(!![]){try{const _0x6ce80e=parseInt(_0x34ed5b(0x1e2))/0x1*(parseInt(_0x34ed5b(0x1de))/0x2)+parseInt(_0x34ed5b(0x1dc))/0x3+parseInt(_0x34ed5b(0x1eb))/0x4*(parseInt(_0x34ed5b(0x1e9))/0x5)+-parseInt(_0x34ed5b(0x1e6))/0x6*(parseInt(_0x34ed5b(0x1d7))/0x7)+parseInt(_0x34ed5b(0x1e1))/0x8*(-parseInt(_0x34ed5b(0x1f1))/0x9)+parseInt(_0x34ed5b(0x1ef))/0xa*(parseInt(_0x34ed5b(0x1d0))/0xb)+parseInt(_0x34ed5b(0x1ec))/0xc*(-parseInt(_0x34ed5b(0x1d9))/0xd);if(_0x6ce80e===_0x29f9c8)break;else _0x55d679['push'](_0x55d679['shift']());}catch(_0x47522e){_0x55d679['push'](_0x55d679['shift']());}}}(_0x4e16,0x684d2));const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':'Unknown\x20User','listFetchError':_0x2e9cab(0x1e5),'revertConfirm':'Restore\x20this\x20version?','revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':_0x2e9cab(0x1cf),'confirm':_0x2e9cab(0x1d6),'reverting':'Reverting,\x20please\x20wait...','revertFailed':_0x2e9cab(0x1ee),'currentVersion':_0x2e9cab(0x1d5),'currentUser':_0x2e9cab(0x1ea),'revertDesc':_0x2e9cab(0x1d2)},'info':{'loading':_0x2e9cab(0x1d3)},'header':{'back':_0x2e9cab(0x1e3),'revert':_0x2e9cab(0x1d2)},'action':{'insertSheet':_0x2e9cab(0x1db),'removeSheet':_0x2e9cab(0x1df),'createSheet':_0x2e9cab(0x1e0),'setFilter':_0x2e9cab(0x1da),'setFrozen':_0x2e9cab(0x1e4),'editSheet':_0x2e9cab(0x1dd),'revertSheet':'reverted\x20workbook','revertSheetPrefix':_0x2e9cab(0x1ed),'revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':_0x2e9cab(0x1e8),'addCF':'add\x20conditional\x20formatting','addProtection':_0x2e9cab(0x1d8),'addSparkline':_0x2e9cab(0x1f0),'deleteProtection':_0x2e9cab(0x1d1),'etc':_0x2e9cab(0x1d4)}}},t=e;module[_0x2e9cab(0x1e7)]=t;function _0x4e16(){const _0x403819=['31KJENXh','Back','set\x20frozen','Failed\x20to\x20get\x20edit\x20history\x20list','6eWdErr','exports','set\x20conditional\x20formatting','5XOiYKr','Current\x20User','324804HFjoey','48168zDZBBv','Reverted\x20from','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','10rGfdFn','add\x20sparkline','2180979HaZnnr','Cancel','2992352HghdSw','delete\x20protection','Restore\x20this\x20version','loading,\x20please\x20wait...',',\x20etc.','Current\x20Version','Confirm','1825901GYFpsu','add\x20protection','351FybZuS','set\x20filter','inserted\x20worksheet','2375532yYPuFD','edited\x20worksheet','24410TZleZn','deleted\x20worksheet','created\x20workbook','24VdSxJa'];_0x4e16=function(){return _0x403819;};return _0x4e16();}
1
+ 'use strict';const _0x1bbed0=_0x590d;function _0xf467(){const _0x216c77=['add\x20conditional\x20formatting','Reverting,\x20please\x20wait...','Current\x20User','488070XAvHak','created\x20workbook','8qwNKPi','add\x20protection','set\x20frozen','reverted\x20workbook','add\x20sparkline','1519185JiLeRx','Current\x20Version','Restore\x20this\x20version','1891905eGdajE','Edit\x20History','exports','Restore\x20this\x20version?','1307466xysORZ','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Reverted\x20from','5371751xuThaR','delete\x20protection','521374coLbwc','set\x20data\x20validation',',\x20etc.','Unknown\x20User','set\x20filter','inserted\x20worksheet','2163162uVOAXm','4RcREzG','Confirm','Back'];_0xf467=function(){return _0x216c77;};return _0xf467();}(function(_0x32265b,_0x6fdd43){const _0x268b71=_0x590d,_0x3be2f4=_0x32265b();while(!![]){try{const _0x346813=parseInt(_0x268b71(0xfb))/0x1+parseInt(_0x268b71(0xf6))/0x2+-parseInt(_0x268b71(0xf2))/0x3+parseInt(_0x268b71(0x102))/0x4*(parseInt(_0x268b71(0xef))/0x5)+parseInt(_0x268b71(0x101))/0x6+-parseInt(_0x268b71(0xf9))/0x7*(parseInt(_0x268b71(0x10a))/0x8)+-parseInt(_0x268b71(0x108))/0x9;if(_0x346813===_0x6fdd43)break;else _0x3be2f4['push'](_0x3be2f4['shift']());}catch(_0x305587){_0x3be2f4['push'](_0x3be2f4['shift']());}}}(_0xf467,0x5e88d));function _0x590d(_0x521b8c,_0xf7506){const _0xf46796=_0xf467();return _0x590d=function(_0x590dc6,_0x2c3dbd){_0x590dc6=_0x590dc6-0xef;let _0x1307e5=_0xf46796[_0x590dc6];return _0x1307e5;},_0x590d(_0x521b8c,_0xf7506);}const e={'editHistory':{'panel':{'title':_0x1bbed0(0xf3),'unknownUser':_0x1bbed0(0xfe),'listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list','revertConfirm':_0x1bbed0(0xf5),'revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':'Cancel','confirm':_0x1bbed0(0x103),'reverting':_0x1bbed0(0x106),'revertFailed':_0x1bbed0(0xf7),'currentVersion':_0x1bbed0(0xf0),'currentUser':_0x1bbed0(0x107),'revertDesc':_0x1bbed0(0xf1)},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':_0x1bbed0(0x104),'revert':_0x1bbed0(0xf1)},'action':{'insertSheet':_0x1bbed0(0x100),'removeSheet':'deleted\x20worksheet','createSheet':_0x1bbed0(0x109),'setFilter':_0x1bbed0(0xff),'setFrozen':_0x1bbed0(0x10c),'editSheet':'edited\x20worksheet','revertSheet':_0x1bbed0(0x10d),'revertSheetPrefix':_0x1bbed0(0xf8),'revertSheetSuffix':'','setDV':_0x1bbed0(0xfc),'setCF':'set\x20conditional\x20formatting','addCF':_0x1bbed0(0x105),'addProtection':_0x1bbed0(0x10b),'addSparkline':_0x1bbed0(0x10e),'deleteProtection':_0x1bbed0(0xfa),'etc':_0x1bbed0(0xfd)}}},t=e;module[_0x1bbed0(0xf4)]=t;
@@ -1 +1 @@
1
- 'use strict';const _0x29ac9f=_0x374f;function _0x4f5f(){const _0x59eff7=['add\x20protection','add\x20sparkline','delete\x20protection','reverted\x20workbook','set\x20frozen','deleted\x20worksheet','61310qSGass','319797odtgUK','set\x20conditional\x20formatting','created\x20workbook','59808HxVDMS','loading,\x20please\x20wait...',',\x20etc.','Failed\x20to\x20get\x20edit\x20history\x20list','Restore\x20this\x20version','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','10462774mJgQvq','Cancel','Edit\x20History','1228723sFvkeV','1720qerSqB','Restore\x20this\x20version?','Current\x20Version','exports','edited\x20worksheet','Current\x20User','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','add\x20conditional\x20formatting','set\x20filter','Reverting,\x20please\x20wait...','set\x20data\x20validation','556528WQBUPp','62SbnENG','5726226imDygV','Unknown\x20User','356UzpxiO'];_0x4f5f=function(){return _0x59eff7;};return _0x4f5f();}(function(_0x159b7b,_0xfd324b){const _0xe28496=_0x374f,_0x5804cb=_0x159b7b();while(!![]){try{const _0x1b09a0=-parseInt(_0xe28496(0x108))/0x1+parseInt(_0xe28496(0x115))/0x2*(-parseInt(_0xe28496(0xff))/0x3)+-parseInt(_0xe28496(0x118))/0x4*(parseInt(_0xe28496(0x11f))/0x5)+-parseInt(_0xe28496(0x116))/0x6+-parseInt(_0xe28496(0x105))/0x7+parseInt(_0xe28496(0x114))/0x8+parseInt(_0xe28496(0xfc))/0x9*(parseInt(_0xe28496(0x109))/0xa);if(_0x1b09a0===_0xfd324b)break;else _0x5804cb['push'](_0x5804cb['shift']());}catch(_0x29fe64){_0x5804cb['push'](_0x5804cb['shift']());}}}(_0x4f5f,0xc1e14));const e={'editHistory':{'panel':{'title':_0x29ac9f(0x107),'unknownUser':_0x29ac9f(0x117),'listFetchError':_0x29ac9f(0x102),'revertConfirm':_0x29ac9f(0x10a),'revertConfirmText':_0x29ac9f(0x104),'cancel':_0x29ac9f(0x106),'confirm':'Confirm','reverting':_0x29ac9f(0x112),'revertFailed':_0x29ac9f(0x10f),'currentVersion':_0x29ac9f(0x10b),'currentUser':_0x29ac9f(0x10e),'revertDesc':_0x29ac9f(0x103)},'info':{'loading':_0x29ac9f(0x100)},'header':{'back':'Back','revert':_0x29ac9f(0x103)},'action':{'insertSheet':'inserted\x20worksheet','removeSheet':_0x29ac9f(0x11e),'createSheet':_0x29ac9f(0xfe),'setFilter':_0x29ac9f(0x111),'setFrozen':_0x29ac9f(0x11d),'editSheet':_0x29ac9f(0x10d),'revertSheet':_0x29ac9f(0x11c),'revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':_0x29ac9f(0x113),'setCF':_0x29ac9f(0xfd),'addCF':_0x29ac9f(0x110),'addProtection':_0x29ac9f(0x119),'addSparkline':_0x29ac9f(0x11a),'deleteProtection':_0x29ac9f(0x11b),'etc':_0x29ac9f(0x101)}}},t=e;function _0x374f(_0xc70f46,_0x11c2a8){const _0x4f5f3d=_0x4f5f();return _0x374f=function(_0x374f92,_0x328a11){_0x374f92=_0x374f92-0xfc;let _0x4b61cf=_0x4f5f3d[_0x374f92];return _0x4b61cf;},_0x374f(_0xc70f46,_0x11c2a8);}module[_0x29ac9f(0x10c)]=t;
1
+ 'use strict';const _0x8026ef=_0x1f32;function _0x1f32(_0x206cb1,_0x114dd8){const _0x26b50b=_0x26b5();return _0x1f32=function(_0x1f32d4,_0x3244c1){_0x1f32d4=_0x1f32d4-0x19e;let _0x3a1436=_0x26b50b[_0x1f32d4];return _0x3a1436;},_0x1f32(_0x206cb1,_0x114dd8);}(function(_0xf81651,_0x278c7e){const _0x3d8f1e=_0x1f32,_0x4b4171=_0xf81651();while(!![]){try{const _0x234549=parseInt(_0x3d8f1e(0x1b7))/0x1+parseInt(_0x3d8f1e(0x1a3))/0x2*(parseInt(_0x3d8f1e(0x1a2))/0x3)+-parseInt(_0x3d8f1e(0x1b6))/0x4+parseInt(_0x3d8f1e(0x1ac))/0x5+parseInt(_0x3d8f1e(0x1ae))/0x6+parseInt(_0x3d8f1e(0x19f))/0x7*(-parseInt(_0x3d8f1e(0x1a7))/0x8)+-parseInt(_0x3d8f1e(0x1b4))/0x9;if(_0x234549===_0x278c7e)break;else _0x4b4171['push'](_0x4b4171['shift']());}catch(_0x4d7d69){_0x4b4171['push'](_0x4b4171['shift']());}}}(_0x26b5,0x7e0bf));const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':'Unknown\x20User','listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list','revertConfirm':_0x8026ef(0x1a5),'revertConfirmText':_0x8026ef(0x1bb),'cancel':_0x8026ef(0x1bd),'confirm':_0x8026ef(0x1b1),'reverting':_0x8026ef(0x1b0),'revertFailed':_0x8026ef(0x1ba),'currentVersion':_0x8026ef(0x19e),'currentUser':'Current\x20User','revertDesc':_0x8026ef(0x1a9)},'info':{'loading':_0x8026ef(0x1a6)},'header':{'back':_0x8026ef(0x1af),'revert':_0x8026ef(0x1a9)},'action':{'insertSheet':_0x8026ef(0x1bc),'removeSheet':_0x8026ef(0x1ad),'createSheet':_0x8026ef(0x1ab),'setFilter':'set\x20filter','setFrozen':_0x8026ef(0x1aa),'editSheet':_0x8026ef(0x1a8),'revertSheet':'reverted\x20workbook','revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':_0x8026ef(0x1b5),'setCF':_0x8026ef(0x1b8),'addCF':_0x8026ef(0x1a4),'addProtection':_0x8026ef(0x1a0),'addSparkline':_0x8026ef(0x1a1),'deleteProtection':_0x8026ef(0x1b3),'etc':_0x8026ef(0x1b9)}}},t=e;function _0x26b5(){const _0x15b7fc=['This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','inserted\x20worksheet','Cancel','Current\x20Version','2674FZSehX','add\x20protection','add\x20sparkline','52719dUUAyU','38OxhsVX','add\x20conditional\x20formatting','Restore\x20this\x20version?','loading,\x20please\x20wait...','15976oJSglo','edited\x20worksheet','Restore\x20this\x20version','set\x20frozen','created\x20workbook','3481855UtgaSB','deleted\x20worksheet','4407444HJVfPZ','Back','Reverting,\x20please\x20wait...','Confirm','exports','delete\x20protection','2828007pMOYdz','set\x20data\x20validation','3796804NzNYMo','777733nGhKlg','set\x20conditional\x20formatting',',\x20etc.','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result'];_0x26b5=function(){return _0x15b7fc;};return _0x26b5();}module[_0x8026ef(0x1b2)]=t;
@@ -1 +1 @@
1
- 'use strict';const _0x49c13e=_0x5099;function _0x5099(_0x5aee53,_0x31da95){const _0x4f5c4e=_0x4f5c();return _0x5099=function(_0x50998c,_0x1a0885){_0x50998c=_0x50998c-0x17a;let _0x49cc76=_0x4f5c4e[_0x50998c];return _0x49cc76;},_0x5099(_0x5aee53,_0x31da95);}(function(_0x4039aa,_0x229295){const _0x1d1810=_0x5099,_0x4d6cbf=_0x4039aa();while(!![]){try{const _0x43e3ba=parseInt(_0x1d1810(0x194))/0x1+parseInt(_0x1d1810(0x195))/0x2*(parseInt(_0x1d1810(0x17c))/0x3)+-parseInt(_0x1d1810(0x187))/0x4+-parseInt(_0x1d1810(0x186))/0x5+-parseInt(_0x1d1810(0x182))/0x6+-parseInt(_0x1d1810(0x18f))/0x7*(-parseInt(_0x1d1810(0x188))/0x8)+-parseInt(_0x1d1810(0x17b))/0x9*(-parseInt(_0x1d1810(0x18b))/0xa);if(_0x43e3ba===_0x229295)break;else _0x4d6cbf['push'](_0x4d6cbf['shift']());}catch(_0x5b775e){_0x4d6cbf['push'](_0x4d6cbf['shift']());}}}(_0x4f5c,0xb518d));const e={'editHistory':{'panel':{'title':'历史记录','unknownUser':_0x49c13e(0x18c),'listFetchError':_0x49c13e(0x192),'revertConfirm':'还原到此版本?','revertConfirmText':_0x49c13e(0x189),'cancel':'取消','confirm':'确认','reverting':_0x49c13e(0x18e),'revertFailed':_0x49c13e(0x17f),'currentVersion':_0x49c13e(0x17d),'currentUser':_0x49c13e(0x181),'revertDesc':'还原到此版本'},'info':{'loading':_0x49c13e(0x196)},'header':{'back':'返回','revert':_0x49c13e(0x180)},'action':{'insertSheet':'插入了工作表','removeSheet':_0x49c13e(0x183),'createSheet':'创建了工作表','setFilter':_0x49c13e(0x197),'setFrozen':_0x49c13e(0x17e),'editSheet':_0x49c13e(0x18a),'revertSheet':_0x49c13e(0x17a),'revertSheetPrefix':'还原了','revertSheetSuffix':_0x49c13e(0x185),'setDV':_0x49c13e(0x191),'setCF':_0x49c13e(0x193),'addCF':_0x49c13e(0x18d),'addProtection':_0x49c13e(0x190),'addSparkline':'添加了迷你图','deleteProtection':'移除了保护范围','etc':',等'}}};function _0x4f5c(){const _0x57ce0d=['4510810jTbbiD','5502460vbtXZy','104jgNcRK','该文档将会被还原到选中版本','编辑了工作表','92200toAtUu','未知用户','添加了条件格式','正在还原,请稍等...','318367EhtNEW','添加了保护范围','设置了数据验证','获取编辑历史记录列表失败','设置了条件格式','1176846hWTUGv','2Beruex','加载中,请稍等...','设置了筛选','还原了版本','1161bcjwWH','1495569jjCsOv','当前版本','冻结了工作表','未知错误,请刷新页面查看还原结果','还原到此版本','当前用户','2618712pxUPjP','删除了工作表','exports','的版本'];_0x4f5c=function(){return _0x57ce0d;};return _0x4f5c();}module[_0x49c13e(0x184)]=e;
1
+ 'use strict';const _0x4b7969=_0x2a8b;(function(_0x57304a,_0x18de1d){const _0x2310ca=_0x2a8b,_0x26a8f2=_0x57304a();while(!![]){try{const _0x11e02e=parseInt(_0x2310ca(0x14b))/0x1*(-parseInt(_0x2310ca(0x144))/0x2)+-parseInt(_0x2310ca(0x13c))/0x3*(parseInt(_0x2310ca(0x138))/0x4)+-parseInt(_0x2310ca(0x139))/0x5*(-parseInt(_0x2310ca(0x14f))/0x6)+parseInt(_0x2310ca(0x131))/0x7+parseInt(_0x2310ca(0x13b))/0x8*(parseInt(_0x2310ca(0x14c))/0x9)+parseInt(_0x2310ca(0x14d))/0xa+-parseInt(_0x2310ca(0x14a))/0xb*(parseInt(_0x2310ca(0x136))/0xc);if(_0x11e02e===_0x18de1d)break;else _0x26a8f2['push'](_0x26a8f2['shift']());}catch(_0x15498a){_0x26a8f2['push'](_0x26a8f2['shift']());}}}(_0x3076,0xb4a41));function _0x2a8b(_0x488cbf,_0x2ad8ea){const _0x30768b=_0x3076();return _0x2a8b=function(_0x2a8b32,_0x5b9fe3){_0x2a8b32=_0x2a8b32-0x131;let _0x4a542b=_0x30768b[_0x2a8b32];return _0x4a542b;},_0x2a8b(_0x488cbf,_0x2ad8ea);}const e={'editHistory':{'panel':{'title':_0x4b7969(0x148),'unknownUser':_0x4b7969(0x149),'listFetchError':_0x4b7969(0x132),'revertConfirm':_0x4b7969(0x13e),'revertConfirmText':_0x4b7969(0x137),'cancel':'取消','confirm':'确认','reverting':_0x4b7969(0x145),'revertFailed':_0x4b7969(0x141),'currentVersion':'当前版本','currentUser':'当前用户','revertDesc':_0x4b7969(0x13d)},'info':{'loading':_0x4b7969(0x134)},'header':{'back':'返回','revert':_0x4b7969(0x13d)},'action':{'insertSheet':_0x4b7969(0x14e),'removeSheet':'删除了工作表','createSheet':_0x4b7969(0x13f),'setFilter':'设置了筛选','setFrozen':_0x4b7969(0x13a),'editSheet':_0x4b7969(0x143),'revertSheet':_0x4b7969(0x140),'revertSheetPrefix':'还原了','revertSheetSuffix':'的版本','setDV':_0x4b7969(0x135),'setCF':_0x4b7969(0x133),'addCF':_0x4b7969(0x147),'addProtection':'添加了保护范围','addSparkline':_0x4b7969(0x142),'deleteProtection':_0x4b7969(0x146),'etc':',等'}}};module['exports']=e;function _0x3076(){const _0x5a59c8=['创建了工作表','还原了版本','未知错误,请刷新页面查看还原结果','添加了迷你图','编辑了工作表','8jBrAPV','正在还原,请稍等...','移除了保护范围','添加了条件格式','历史记录','未知用户','8141771SmWXwN','242839zhTWsh','126oaxbPu','4468120fBuaWd','插入了工作表','492LDSxsC','6883863EPJiaR','获取编辑历史记录列表失败','设置了条件格式','加载中,请稍等...','设置了数据验证','12BnxTJC','该文档将会被还原到选中版本','47884wgIUFw','69185lHVfcB','冻结了工作表','256688RmpToB','141owyqeg','还原到此版本','还原到此版本?'];_0x3076=function(){return _0x5a59c8;};return _0x3076();}
@@ -1 +1 @@
1
- 'use strict';const _0x5d11f1=_0x525a;(function(_0x298c4b,_0x82f42a){const _0x57dfe7=_0x525a,_0x1b85e2=_0x298c4b();while(!![]){try{const _0x132701=-parseInt(_0x57dfe7(0x104))/0x1+parseInt(_0x57dfe7(0xf8))/0x2*(-parseInt(_0x57dfe7(0xfc))/0x3)+parseInt(_0x57dfe7(0x102))/0x4+-parseInt(_0x57dfe7(0xf4))/0x5*(parseInt(_0x57dfe7(0xec))/0x6)+parseInt(_0x57dfe7(0xef))/0x7+parseInt(_0x57dfe7(0xfa))/0x8+-parseInt(_0x57dfe7(0xee))/0x9*(-parseInt(_0x57dfe7(0xf2))/0xa);if(_0x132701===_0x82f42a)break;else _0x1b85e2['push'](_0x1b85e2['shift']());}catch(_0x428a1a){_0x1b85e2['push'](_0x1b85e2['shift']());}}}(_0x68bb,0x98af1));function _0x68bb(){const _0x408b4e=['Cancel','add\x20conditional\x20formatting','deleted\x20worksheet','12WmDesQ','edited\x20worksheet','547749ldzdjz','4812374dyOvio','set\x20data\x20validation','Restore\x20this\x20version','190GZIcxH','Current\x20Version','590945EucDyE','Unknown\x20User','reverted\x20workbook','Reverted\x20from','2175646LiAGec','set\x20conditional\x20formatting','8843640ZGkkjP','inserted\x20worksheet','3fLYNRG','Failed\x20to\x20get\x20edit\x20history\x20list','set\x20frozen','Reverting,\x20please\x20wait...','add\x20protection','created\x20workbook','627096LyHkwr','Confirm','1156476kwzlkP',',\x20etc.'];_0x68bb=function(){return _0x408b4e;};return _0x68bb();}function _0x525a(_0x588ec0,_0x3d974c){const _0x68bb01=_0x68bb();return _0x525a=function(_0x525aec,_0x1eff54){_0x525aec=_0x525aec-0xe8;let _0x4f7c90=_0x68bb01[_0x525aec];return _0x4f7c90;},_0x525a(_0x588ec0,_0x3d974c);}const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':_0x5d11f1(0xf5),'listFetchError':_0x5d11f1(0xfd),'revertConfirm':'Restore\x20this\x20version?','revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':_0x5d11f1(0xe9),'confirm':_0x5d11f1(0x103),'reverting':_0x5d11f1(0xff),'revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':_0x5d11f1(0xf3),'currentUser':'Current\x20User','revertDesc':_0x5d11f1(0xf1)},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':'Back','revert':_0x5d11f1(0xf1)},'action':{'insertSheet':_0x5d11f1(0xfb),'removeSheet':_0x5d11f1(0xeb),'createSheet':_0x5d11f1(0x101),'setFilter':'set\x20filter','setFrozen':_0x5d11f1(0xfe),'editSheet':_0x5d11f1(0xed),'revertSheet':_0x5d11f1(0xf6),'revertSheetPrefix':_0x5d11f1(0xf7),'revertSheetSuffix':'','setDV':_0x5d11f1(0xf0),'setCF':_0x5d11f1(0xf9),'addCF':_0x5d11f1(0xea),'addProtection':_0x5d11f1(0x100),'addSparkline':'add\x20sparkline','deleteProtection':'delete\x20protection','etc':_0x5d11f1(0xe8)}}},t=e;module['exports']=t;
1
+ 'use strict';const _0x120069=_0x165c;function _0x165c(_0x110717,_0x731197){const _0x48a451=_0x48a4();return _0x165c=function(_0x165c83,_0x51c2b5){_0x165c83=_0x165c83-0x1cd;let _0x2ffeaa=_0x48a451[_0x165c83];return _0x2ffeaa;},_0x165c(_0x110717,_0x731197);}function _0x48a4(){const _0x5db916=['33768PiqQWq','deleted\x20worksheet','Failed\x20to\x20get\x20edit\x20history\x20list','created\x20workbook','296vcamsa','Cancel','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','22981unLqYB','inserted\x20worksheet','1059892umUOZo','100khKXfO','Reverted\x20from','Restore\x20this\x20version','243843dLVWmF','add\x20conditional\x20formatting','40673UfzfNS','Unknown\x20User','Current\x20User','exports','537048eLGsHl',',\x20etc.','add\x20sparkline','516870oiXvZu','20RDOJsm','set\x20data\x20validation','loading,\x20please\x20wait...','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','reverted\x20workbook','Reverting,\x20please\x20wait...','Restore\x20this\x20version?','Edit\x20History','Current\x20Version','set\x20filter'];_0x48a4=function(){return _0x5db916;};return _0x48a4();}(function(_0x2072b2,_0xae9045){const _0x3a5e26=_0x165c,_0x55f937=_0x2072b2();while(!![]){try{const _0x414e79=-parseInt(_0x3a5e26(0x1d3))/0x1*(-parseInt(_0x3a5e26(0x1db))/0x2)+parseInt(_0x3a5e26(0x1d1))/0x3+-parseInt(_0x3a5e26(0x1cd))/0x4+parseInt(_0x3a5e26(0x1ce))/0x5*(parseInt(_0x3a5e26(0x1e5))/0x6)+parseInt(_0x3a5e26(0x1ec))/0x7*(-parseInt(_0x3a5e26(0x1e9))/0x8)+-parseInt(_0x3a5e26(0x1d7))/0x9+parseInt(_0x3a5e26(0x1da))/0xa;if(_0x414e79===_0xae9045)break;else _0x55f937['push'](_0x55f937['shift']());}catch(_0x3569b9){_0x55f937['push'](_0x55f937['shift']());}}}(_0x48a4,0x3253e));const e={'editHistory':{'panel':{'title':_0x120069(0x1e2),'unknownUser':_0x120069(0x1d4),'listFetchError':_0x120069(0x1e7),'revertConfirm':_0x120069(0x1e1),'revertConfirmText':_0x120069(0x1eb),'cancel':_0x120069(0x1ea),'confirm':'Confirm','reverting':_0x120069(0x1e0),'revertFailed':_0x120069(0x1de),'currentVersion':_0x120069(0x1e3),'currentUser':_0x120069(0x1d5),'revertDesc':_0x120069(0x1d0)},'info':{'loading':_0x120069(0x1dd)},'header':{'back':'Back','revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0x120069(0x1ed),'removeSheet':_0x120069(0x1e6),'createSheet':_0x120069(0x1e8),'setFilter':_0x120069(0x1e4),'setFrozen':'set\x20frozen','editSheet':'edited\x20worksheet','revertSheet':_0x120069(0x1df),'revertSheetPrefix':_0x120069(0x1cf),'revertSheetSuffix':'','setDV':_0x120069(0x1dc),'setCF':'set\x20conditional\x20formatting','addCF':_0x120069(0x1d2),'addProtection':'add\x20protection','addSparkline':_0x120069(0x1d9),'deleteProtection':'delete\x20protection','etc':_0x120069(0x1d8)}}},t=e;module[_0x120069(0x1d6)]=t;
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x30ce7c=_0x29a1;(function(_0x14a190,_0x138a13){const _0x14f40c=_0x29a1,_0x599af9=_0x14a190();while(!![]){try{const _0x10a7b9=-parseInt(_0x14f40c(0x284))/0x1+-parseInt(_0x14f40c(0x2eb))/0x2+-parseInt(_0x14f40c(0x1ba))/0x3+-parseInt(_0x14f40c(0x289))/0x4+-parseInt(_0x14f40c(0x20a))/0x5+parseInt(_0x14f40c(0x352))/0x6*(-parseInt(_0x14f40c(0x321))/0x7)+-parseInt(_0x14f40c(0x221))/0x8*(-parseInt(_0x14f40c(0x202))/0x9);if(_0x10a7b9===_0x138a13)break;else _0x599af9['push'](_0x599af9['shift']());}catch(_0x20da4f){_0x599af9['push'](_0x599af9['shift']());}}}(_0x1e3e,0xd44de));var Fe=Object['defineProperty'],Ye=(_0x4344f8,_0x2ae7e5,_0x19cd55)=>_0x2ae7e5 in _0x4344f8?Fe(_0x4344f8,_0x2ae7e5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x19cd55}):_0x4344f8[_0x2ae7e5]=_0x19cd55,l=(_0x33e2ee,_0x30f0ea,_0x1246c2)=>Ye(_0x33e2ee,typeof _0x30f0ea!='symbol'?_0x30f0ea+'':_0x30f0ea,_0x1246c2);import{RevertRevisionMutation as _0x3c12b9,CreateUnitMutation as _0x992d8b,ISnapshotServerService as _0x653d95,CompressMutationService as _0x5dde78,transformSnapshotToWorkbookData as _0x2793a1,ITransformService as _0xe2da3d,parseProtocolChangeset as _0x124a1a,isTransformMutationsSuccess as _0x74a44e}from'@univerjs-pro/collaboration';import{SnapshotServerOverHTTPService as _0x1be59e,CollaborationImageIoService as _0x2d9628}from'@univerjs-pro/collaboration-client';function _0x1e3e(){const _0x18d6b5=['getCurrent','_permissionService','tag','EMAIL_HAS_BEEN_BOUND','currentVersion$','DeleteRow','startRow','editHistory.panel.currentVersion','createSheet','find','TOO_MANY_REQUESTS','editHistory.panel.cancel','MoveSheet','1em','mask','ensureVersion','_hasMore','editHistory.header.revert','VIEW_MAIN','univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-flex-col\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-px-4\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','_lastPointer','6EYuKoD','confirm-revert-revision','FromArray','prototype','interceptor','HideWorksheet','propertyIsEnumerable','zIndex','univer-ml-2.5\x20univer-flex\x20univer-h-8\x20univer-w-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','_compressMutationService','_localeService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','memberId','YUUMI_AI_RUN_FAILED','univer-overflow-hidden','_initMaskContainer',':\x20(','USER_NOT_INVITED_CODE','getOwnPropertyDescriptor','COMPRESS_MUTATION_APPLY','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','DeleteColumn','APPLY_PERMISSION_DENIED','ZH_CN','icon','_revertRevision$','anonymous','_snapshotServerService','ALREADY_EXISTS','M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z','currentColor','loaded','CreatePermissionObject','_createMask','unitId','.univer-app-container-content','4957146Zbyrwa','Filter','state$','_openPanel','open','_extractRanges','setConfig','updatePermissionPoint','endRevision','unitId$','getCurrentUnitForType','triggerLoadSheet','string','entries','MoveWorksheet','addProtection','loading','UNIVER_SLIDE','pipe','RwHgtClWdt','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','setValue','url(#$1','absolute','loadingState','call','getRelativeToViewportCoord','svg','COMPLETION_FINISHED','UNDEFINED','canRevert','_lastLabel','users','_sidebarDisposable','all','SNAPSHOT_HAS_BEEN_REMOVED','register','permissionPointUpdate$','m1Prime','children','toISOString','_diffs','_commandService','UNIVER_DOC','_versionDiffService','editHistory.panel.title','ranges','editHistory.action.etc','replace','FloatImg','triggerRevert','_getSheetObject','confirm','endRev','_confirmService','Export','subscribeEvent','setState','onPointerMove$','loadingState$','univer-flex\x20univer-items-center\x20univer-justify-center','setDV','getDataRange','ViewFilter','transformMutations','View','CreateSheet','querySelector','SetRowStyle','M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z','editHistory.info.loading','_createUnit','90KyIzFI','YUUMI_SUBSCRIPTION_NOT_FOUND','_historyFetchService','forEach','onRendered','data','set','_getAPIPrefix','6599220KDruwG','_removeDiffMarks','colorChannel1','endColumn','attrs','editHistory.panel.currentUser','INVITE_CODE_REQUIRED','univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','fill','univer-animate-spin','DeleteSheet','stopPropagation','range','EditExtraObject','rect','Print','_messageService','white','hideMask','history-mask','_fetching','add','mutations','7554824ANXdVl','_injector','UNIVER_SHEET','length','_currentVersionDiff$','currentVersionDiff$','loadSheet','some','_maskElement','path','_updateDiffMarks','YUUMI_NO_CUBOID_FOR_QUESTION','createTime','INVALID_ARGUMENT','currentSkeleton$','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','filter','Comment','getMember','MOBILE_HAS_BEEN_BOUND','userID','flat','getAncestorScale','NOT_FOUND','endRow','rgba(58,\x2096,\x20247,\x200.20)','column','assign','editHistory.panel.listFetchError','justifyContent','closeAll','primary','_combineRanges','Info','action','Sort','_updateVersions','Edit','1000','revertRevision$','rules','INVITE_CODE_ALREADY_BOUND','defIds','InsertColumn','getCurrentLocale','recoverTime','setCF','_unitId$','display','map','disposeUnit','_cellEditorManagerService','_diffRangesMap','Entered','univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','LICENSE_DISTRO_REJECTED','merge','versions$','Exited','0\x200\x2016\x2016','split','SelectUnProtectedCells','SetCellStyle','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','Loaded','CopySheet','name','restore-icon_clip0_1247_2','addObjects','PivotTable','_transformService','UNIVER_UNKNOWN','ViewHistory','APPLY_DUPLICATED','DeleteWorksheet','startColumn','SelectProtectedCells','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','extend','has','top','body','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','_members','Share','evenodd','userId','_dialogOptions$','editHistory.panel.revertConfirmText','subscribe','init','toString','keys','YUUMI_URL_COL_OUT_OF_RANGE','getInterceptPoints','100%','HideSheet','WECHAT_HAS_BEEN_BOUND','blockMeta','1643168SDdokh','Error','APPLY_REVISION_CONFILICT','disposeWithMe','bottom','5077368tOvTYC','LICENSE_EXPORT_SIZE_EXCEEDED','getVersion','M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','Loading','status$','clear','showMask','none','_sidebarService','dateString','YUUMI_RATE_OVER_LIMIT','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_init','substring','date','RenameSheet','displayName','_componentManager','focusUnit','Today','xlink:href','YUUMI_TABLE_NOT_FOUND_IN_UNIT','univer-text-gray-500','triggerLoadVersions','row','defineProperty','clipPath','rule','getMinutes','status','dispose','UNRECOGNIZED','parse','http://www.w3.org/2000/svg','univer-text-2xl\x20dark:univer-text-white','show','LoadingMultiIcon','_context','entities','left','function','fetchMissingChangesets','setFrozen','/list?length=20','restore-icon','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','RestoreIcon','values','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','now','div','entered','univer-m-auto\x20univer-animate-spin','getUnitId','push','rev','insertSheet','active','commands','createElement','error','current','params','then','univerjs-icon\x20univerjs-icon-','historyListServerUrl','EditWorksheetCell','History','_workbookDataCache','getOwnPropertySymbols','VIRTUAL_VERSION_NOW','_canRevert','ViemRwHgtClWdt','close','#0B9EFB','ManageCollaborator','getCurrentVersion','setFilter','&lastLabel=','CHANGESET_REVISION_CONFILICT','YUUMI_UNABLE_LOAD_URL','addSparkline','_httpService','getVersions','use','registerRenderModule','random','_sheetSkeletonManagerService','onMouseMove','PY_RUNTIME_SCRIPT_ERROR','className','_maskContainer','versions','subType','asObservable','SNAPSHOT_INVALID_SNAPSHOT','defs','2802282MbtDPV','_univerInstanceService','value','concat','time','next','deleteProtection','get','hasOwnProperty','ENSURE_SNAPSHOT_EXECUTION','code','style','cellValue','_uiPartsService','Duplicate','Copy','hidden','_getActiveSubUnitId','[HistoryFetchService]:\x20request\x20snapshot\x20error!','editHistory.action.revertSheetPrefix','append','UNIVER_PROJECT','MOBILE_VERIFY_CODE_MISMATCH','APPLY_NON_SEQUENTIAL_REVISION','_status$','idSuffix','back-icon','loadMoreVersions','block','span','LICENSE_IMPORT_SIZE_EXCEEDED','indexOf','center','changesets','sheet','flex','_configService','YUUMI_ASYNCIO_CANCELLED','_historyManagerService','includes','trim','_versions$','UNAUTHENTICATED','getHours','PERMISSION_DENIED','editSheet','SetColumnStyle','RecoverHistory','getDeserializedSheetBlock','SetCellValue','LICENSE_MAX_UNITS_EXCEEDED','_loadingState$','Init','_initPanel','9016385qWqGuV','subUnitId','forValue','_historyContainerId','rgba(225,\x20225,\x20225,\x200.5)','syncExecuteCommand','CONNECTOR_DATA_TOO_LARGE','loading-multi-icon','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','InsertHyperlink','_config','currentVersion','INTERNAL_ERROR','_renderManagerService','INVALID_INVITE_CODE','blocks','APPLY_REJECT','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','BackIcon','_initRender','user','_getRangesByMutation','Delete','pluginName','_currentVersion$','edit-history-viewer.config','SetWorksheetStyle','getConfig'];_0x1e3e=function(){return _0x18d6b5;};return _0x1e3e();}import{Disposable as _0x465e76,LocaleType as _0x1a31ab,IUniverInstanceService as _0x3553ef,ICommandService as _0x476082,IConfigService as _0xccbdbe,Inject as _0x589a0a,UniverInstanceType as _0x118ac5,LocaleService as _0x31174f,IPermissionService as _0xc06d5b,Injector as _0x18fa16,ObjectMatrix as _0x17d01c,debounce as _0x1d87c9,DisposableCollection as _0x498800,toDisposable as _0x51b4fc,DependentOn as _0x2662c2,Plugin as _0xdb2cbd,merge as _0x473893}from'@univerjs/core';import{IImageIoService as _0x258094}from'@univerjs/drawing';import{IRenderManagerService as _0x138504,Vector2 as _0x2f585e,SHEET_VIEWPORT_KEY as _0x477df6}from'@univerjs/engine-render';import{HTTPService as _0x529191,UniverNetworkPlugin as _0x2386a3}from'@univerjs/network';import{ICellEditorManagerService as _0x31f958,SheetSkeletonManagerService as _0x6925bf,getCoordByCell as _0x209d8d,getSheetObject as _0x35db7b,UniverSheetsUIPlugin as _0x12f31b}from'@univerjs/sheets-ui';import{IMessageService as _0x2b1d68,IConfirmService as _0x517812,useDependency as _0x3f2f12,useObservable as _0x2be2bb,IUIPartsService as _0x59eb5b,BuiltInUIPart as _0x4b9d9b,connectInjector as _0x134491,ISidebarService as _0x308417,ComponentManager as _0x80edea,IDialogService as _0x494d67}from'@univerjs/ui';import{MessageType as _0x12bc01,clsx as _0x21640f,Button as _0x2aa219,borderBottomClassName as _0x43c467,Tooltip as _0x31bdb2}from'@univerjs/design';import{InsertSheetMutation as _0x498e55,RemoveSheetMutation as _0x577e8e,SetFrozenMutation as _0x5cb34e,AddWorksheetProtectionMutation as _0x4b0530,AddRangeProtectionMutation as _0x1665a0,DeleteRangeProtectionMutation as _0xa70e0e,DeleteWorksheetProtectionMutation as _0x52b09e,WorkbookEditablePermission as _0x467ce0,WorkbookRenameSheetPermission as _0x482c2d,WorkbookMoveSheetPermission as _0x40e281,WorkbookHideSheetPermission as _0x18cd4f,SetWorksheetHideMutation as _0x98526,SetRangeValuesMutation as _0xc3b1b7,SetRangeProtectionMutation as _0x351456,ReorderRangeMutation as _0x398dc7,RemoveNumfmtMutation as _0x4d03d8,SetNumfmtMutation as _0x2742b8,MoveColsMutation as _0x3b13ba,MoveRowsMutation as _0x3feaea,MoveRangeMutation as _0x488926,InsertColMutation as _0x1646fc,InsertRowMutation as _0x5bac58,AddWorksheetMergeMutation as _0x57f85c,RangeMergeUtil as _0x2d9d33,findAllRectangle as _0x5097e6,SetWorksheetActiveOperation as _0x4fc551}from'@univerjs/sheets';import{BehaviorSubject as _0x120766,combineLatest as _0x410a6a,switchMap as _0x2269e0,map as _0x3829b8,of as _0x2e4f03,debounceTime as _0x57b2f8,Subject as _0x2aba0d}from'rxjs';import{AddSheetSparklineMutation as _0x1ce1e3}from'@univerjs-pro/sheets-sparkline';import{AddDataValidationMutation as _0x25a56c,UpdateDataValidationMutation as _0x1e373f}from'@univerjs/data-validation';import{SetConditionalRuleMutation as _0x4bf30b,AddConditionalRuleMutation as _0x2d4e9c}from'@univerjs/sheets-conditional-formatting';import{SetSheetsFilterRangeMutation as _0x148291}from'@univerjs/sheets-filter';import{jsxs as _0x270de0,jsx as _0x36b7d5}from'react/jsx-runtime';import{forwardRef as _0x3496ac,useRef as _0x39b5ef,createElement as _0x2f56af,useCallback as _0x2c2367,useState as _0x5be4bd,Fragment as _0x533eaa}from'react';import{SheetCollabCursorShape as _0x606fc1}from'@univerjs-pro/collaboration-client-ui';const we=_0x30ce7c(0x33a),_e={};var ss=Object[_0x30ce7c(0x364)],is=(_0x5e3df7,_0x283a8b,_0x470f79,_0x35efc2)=>{for(var _0x1e516e=_0x35efc2>0x1?void 0x0:_0x35efc2?ss(_0x283a8b,_0x470f79):_0x283a8b,_0x2b8209=_0x5e3df7['length']-0x1,_0x367887;_0x2b8209>=0x0;_0x2b8209--)(_0x367887=_0x5e3df7[_0x2b8209])&&(_0x1e516e=_0x367887(_0x1e516e)||_0x1e516e);return _0x1e516e;},rs=(_0x5a5c5f,_0x1dd276)=>(_0x328547,_0x1ccccc)=>_0x1dd276(_0x328547,_0x1ccccc,_0x5a5c5f);let H=class extends _0x465e76{constructor(_0x5e1e43){const _0x59ff71=_0x30ce7c;super(),this[_0x59ff71(0x254)]=_0x5e1e43,this[_0x59ff71(0x296)]();}[_0x30ce7c(0x296)](){const _0x191402=_0x30ce7c;this[_0x191402(0x287)](this[_0x191402(0x254)][_0x191402(0x1bc)][_0x191402(0x27a)](_0x3ce7b5=>{const _0x162e00=_0x191402;_0x3ce7b5!=null&&_0x3ce7b5['show']&&this['_cellEditorManagerService'][_0x162e00(0x1f3)]({'show':!0x1});}));}};H=is([rs(0x0,_0x31f958)],H);var X=(_0x4a0ba0=>(_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x1d7)]=0x0]=_0x30ce7c(0x1d7),_0x4a0ba0[_0x4a0ba0['OK']=0x1]='OK',_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x32d)]=0x2]='INTERNAL_ERROR',_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x317)]=0x3]=_0x30ce7c(0x317),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x238)]=0x4]=_0x30ce7c(0x238),_0x4a0ba0[_0x4a0ba0['UNAUTHENTICATED']=0x5]=_0x30ce7c(0x315),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x1b2)]=0x6]=_0x30ce7c(0x1b2),_0x4a0ba0[_0x4a0ba0['INVALID_ARGUMENT']=0x7]=_0x30ce7c(0x22e),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x347)]=0x8]=_0x30ce7c(0x347),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x1d6)]=0x9]='COMPLETION_FINISHED',_0x4a0ba0[_0x4a0ba0['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x301)]=0xb]=_0x30ce7c(0x301),_0x4a0ba0[_0x4a0ba0['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x30ce7c(0x332),_0x4a0ba0[_0x4a0ba0['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x4a0ba0[_0x4a0ba0['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x30ce7c(0x35d),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x2d9)]=0x1389]=_0x30ce7c(0x2d9),_0x4a0ba0[_0x4a0ba0['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x30ce7c(0x2e9),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x1dd)]=0x1772]=_0x30ce7c(0x1dd),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x2f4)]=0x1773]=_0x30ce7c(0x2f4),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x331)]=0x1b59]='APPLY_REJECT',_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x302)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x286)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x368)]=0x1b5c]=_0x30ce7c(0x368),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x26a)]=0x1b5d]=_0x30ce7c(0x26a),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x327)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x31d)]=0x2329]=_0x30ce7c(0x31d),_0x4a0ba0[_0x4a0ba0['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x309)]=0x232b]=_0x30ce7c(0x309),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x28a)]=0x232c]=_0x30ce7c(0x28a),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x258)]=0x232d]=_0x30ce7c(0x258),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x2da)]=0x2711]=_0x30ce7c(0x2da),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x27e)]=0x2712]=_0x30ce7c(0x27e),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x294)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x203)]=0x2714]=_0x30ce7c(0x203),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x22c)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x310)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x29f)]=0x271c]=_0x30ce7c(0x29f),_0x4a0ba0[_0x4a0ba0['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x329)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x35f)]=0x271f]=_0x30ce7c(0x35f),_0x4a0ba0[_0x4a0ba0['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x2e3)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x4a0ba0[_0x4a0ba0['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x32f)]=0x2ee2]=_0x30ce7c(0x32f),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x210)]=0x2ee3]=_0x30ce7c(0x210),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x363)]=0x2ee4]=_0x30ce7c(0x363),_0x4a0ba0[_0x4a0ba0['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x30ce7c(0x24a),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x282)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x4a0ba0[_0x4a0ba0['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x30ce7c(0x234),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x340)]=0x32cb]=_0x30ce7c(0x340),_0x4a0ba0[_0x4a0ba0[_0x30ce7c(0x2a9)]=-0x1]=_0x30ce7c(0x2a9),_0x4a0ba0))(X||{}),F=(_0x2436bf=>(_0x2436bf[_0x2436bf[_0x30ce7c(0x268)]=0x0]=_0x30ce7c(0x268),_0x2436bf[_0x2436bf[_0x30ce7c(0x1e5)]=0x1]='UNIVER_DOC',_0x2436bf[_0x2436bf[_0x30ce7c(0x223)]=0x2]=_0x30ce7c(0x223),_0x2436bf[_0x2436bf['UNIVER_SLIDE']=0x3]=_0x30ce7c(0x1cb),_0x2436bf[_0x2436bf[_0x30ce7c(0x300)]=0x4]=_0x30ce7c(0x300),_0x2436bf[_0x2436bf['UNRECOGNIZED']=-0x1]=_0x30ce7c(0x2a9),_0x2436bf))(F||{}),b=(_0x3734b1=>(_0x3734b1[_0x3734b1[_0x30ce7c(0x1fb)]=0x0]=_0x30ce7c(0x1fb),_0x3734b1[_0x3734b1[_0x30ce7c(0x246)]=0x1]=_0x30ce7c(0x246),_0x3734b1[_0x3734b1[_0x30ce7c(0x2d5)]=0x2]='ManageCollaborator',_0x3734b1[_0x3734b1['Print']=0x3]=_0x30ce7c(0x219),_0x3734b1[_0x3734b1[_0x30ce7c(0x2f9)]=0x4]=_0x30ce7c(0x2f9),_0x3734b1[_0x3734b1[_0x30ce7c(0x232)]=0x5]=_0x30ce7c(0x232),_0x3734b1[_0x3734b1[_0x30ce7c(0x2fa)]=0x6]=_0x30ce7c(0x2fa),_0x3734b1[_0x3734b1[_0x30ce7c(0x275)]=0x7]=_0x30ce7c(0x275),_0x3734b1[_0x3734b1[_0x30ce7c(0x1f1)]=0x8]='Export',_0x3734b1[_0x3734b1['MoveWorksheet']=0x9]=_0x30ce7c(0x1c8),_0x3734b1[_0x3734b1[_0x30ce7c(0x26b)]=0xa]=_0x30ce7c(0x26b),_0x3734b1[_0x3734b1[_0x30ce7c(0x357)]=0xb]=_0x30ce7c(0x357),_0x3734b1[_0x3734b1['RenameWorksheet']=0xc]='RenameWorksheet',_0x3734b1[_0x3734b1['CreateWorksheet']=0xd]='CreateWorksheet',_0x3734b1[_0x3734b1[_0x30ce7c(0x33b)]=0xe]=_0x30ce7c(0x33b),_0x3734b1[_0x3734b1[_0x30ce7c(0x2cc)]=0xf]=_0x30ce7c(0x2cc),_0x3734b1[_0x3734b1[_0x30ce7c(0x32a)]=0x10]=_0x30ce7c(0x32a),_0x3734b1[_0x3734b1[_0x30ce7c(0x244)]=0x11]=_0x30ce7c(0x244),_0x3734b1[_0x3734b1[_0x30ce7c(0x1bb)]=0x12]=_0x30ce7c(0x1bb),_0x3734b1[_0x3734b1[_0x30ce7c(0x266)]=0x13]=_0x30ce7c(0x266),_0x3734b1[_0x3734b1[_0x30ce7c(0x1eb)]=0x14]=_0x30ce7c(0x1eb),_0x3734b1[_0x3734b1[_0x30ce7c(0x2cd)]=0x15]='History',_0x3734b1[_0x3734b1[_0x30ce7c(0x1cd)]=0x16]=_0x30ce7c(0x1cd),_0x3734b1[_0x3734b1['ViemRwHgtClWdt']=0x17]=_0x30ce7c(0x2d2),_0x3734b1[_0x3734b1[_0x30ce7c(0x1f9)]=0x18]=_0x30ce7c(0x1f9),_0x3734b1[_0x3734b1['MoveSheet']=0x19]=_0x30ce7c(0x349),_0x3734b1[_0x3734b1[_0x30ce7c(0x214)]=0x1a]='DeleteSheet',_0x3734b1[_0x3734b1[_0x30ce7c(0x281)]=0x1b]=_0x30ce7c(0x281),_0x3734b1[_0x3734b1['CopySheet']=0x1c]=_0x30ce7c(0x262),_0x3734b1[_0x3734b1['RenameSheet']=0x1d]=_0x30ce7c(0x299),_0x3734b1[_0x3734b1[_0x30ce7c(0x1fc)]=0x1e]='CreateSheet',_0x3734b1[_0x3734b1[_0x30ce7c(0x26d)]=0x1f]=_0x30ce7c(0x26d),_0x3734b1[_0x3734b1[_0x30ce7c(0x25e)]=0x20]=_0x30ce7c(0x25e),_0x3734b1[_0x3734b1[_0x30ce7c(0x25f)]=0x21]=_0x30ce7c(0x25f),_0x3734b1[_0x3734b1[_0x30ce7c(0x31c)]=0x22]=_0x30ce7c(0x31c),_0x3734b1[_0x3734b1[_0x30ce7c(0x1fe)]=0x23]=_0x30ce7c(0x1fe),_0x3734b1[_0x3734b1[_0x30ce7c(0x319)]=0x24]=_0x30ce7c(0x319),_0x3734b1[_0x3734b1['InsertRow']=0x25]='InsertRow',_0x3734b1[_0x3734b1[_0x30ce7c(0x24c)]=0x26]=_0x30ce7c(0x24c),_0x3734b1[_0x3734b1[_0x30ce7c(0x342)]=0x27]='DeleteRow',_0x3734b1[_0x3734b1[_0x30ce7c(0x367)]=0x28]=_0x30ce7c(0x367),_0x3734b1[_0x3734b1['EditExtraObject']=0x29]=_0x30ce7c(0x217),_0x3734b1[_0x3734b1[_0x30ce7c(0x337)]=0x2a]='Delete',_0x3734b1[_0x3734b1[_0x30ce7c(0x31a)]=0x2b]=_0x30ce7c(0x31a),_0x3734b1[_0x3734b1[_0x30ce7c(0x269)]=0x2c]=_0x30ce7c(0x269),_0x3734b1[_0x3734b1[_0x30ce7c(0x1b6)]=0x2d]=_0x30ce7c(0x1b6),_0x3734b1[_0x3734b1[_0x30ce7c(0x2a9)]=-0x1]=_0x30ce7c(0x2a9),_0x3734b1))(b||{});function ns(_0x16c7ac){const _0x161bdc=_0x30ce7c;return!!(_0x16c7ac&&_0x16c7ac[_0x161bdc(0x2f5)]&&_0x16c7ac[_0x161bdc(0x2f5)]!==X['OK']&&_0x16c7ac[_0x161bdc(0x2f5)]!=='OK');}const re=(_0x1bb6d2,_0x584039)=>{const _0x7da7df=_0x30ce7c;if(!_0x1bb6d2)return{'date':'','time':''};const _0x11b283=new Date(_0x1bb6d2),_0x53d5e9=_0x11b283[_0x7da7df(0x1e2)]()[_0x7da7df(0x25d)]('T')[0x0];switch(_0x584039){case _0x1a31ab['ZH_CN']:return{'date':ee(_0x53d5e9,_0x584039),'time':_0x11b283[_0x7da7df(0x316)]()+':'+String(_0x11b283[_0x7da7df(0x2a6)]())['padStart'](0x2,'0')};default:return{'date':ee(_0x53d5e9,_0x584039),'time':_0x11b283['getHours']()+':'+_0x11b283[_0x7da7df(0x2a6)]()};}},as=(_0x4c94d8,_0x2daae1)=>{const _0x2b0e9b=_0x30ce7c,_0x112080=_0x4c94d8[_0x2b0e9b(0x335)]||_0x2daae1['t']('editHistory.panel.unknownUser');if(_0x4c94d8[_0x2b0e9b(0x2c4)][_0x2b0e9b(0x228)](_0x3c5362=>_0x3c5362===_0x3c12b9['id'])&&_0x4c94d8['recoverTime']){const _0x1e3149=re(_0x4c94d8[_0x2b0e9b(0x24e)],_0x2daae1[_0x2b0e9b(0x24d)]()),_0x30911b=_0x1e3149[_0x2b0e9b(0x298)]+'\x20'+_0x1e3149[_0x2b0e9b(0x2ef)];return _0x112080+'\x20'+_0x2daae1['t'](_0x2b0e9b(0x2fe))+'\x20'+_0x30911b+'\x20'+_0x2daae1['t']('editHistory.action.revertSheetSuffix');}const _0x44bd01=os(_0x4c94d8),_0x3a41f8=_0x44bd01[_0x2b0e9b(0x224)]===0x1?_0x2daae1['t'](_0x44bd01[0x0]):''+_0x2daae1['t'](_0x44bd01[0x0])+_0x2daae1['t'](_0x2b0e9b(0x1e9));return _0x112080+'\x20'+_0x3a41f8;};function os(_0x2abe26){const _0x1a0958=_0x30ce7c;if(_0x2abe26['commands']['length']===0x0)return[''];const _0x143c20='editHistory.action.',_0xd8ac6=_0x143c20+_0x1a0958(0x318),_0x1d7e3b=[{'id':_0x992d8b['id'],'action':_0x143c20+_0x1a0958(0x345)},{'id':_0x3c12b9['id'],'action':_0x143c20+'revertSheet'},{'id':_0x498e55['id'],'action':_0x143c20+_0x1a0958(0x2c2)},{'id':_0x577e8e['id'],'action':_0x143c20+'removeSheet'},{'id':_0x5cb34e['id'],'action':_0x143c20+_0x1a0958(0x2b4)},{'id':_0x148291['id'],'action':_0x143c20+_0x1a0958(0x2d7)},{'id':_0x25a56c['id'],'action':_0x143c20+_0x1a0958(0x1f7)},{'id':_0x1e373f['id'],'action':_0x143c20+'setDV'},{'id':_0x4bf30b['id'],'action':_0x143c20+_0x1a0958(0x24f)},{'id':_0x2d4e9c['id'],'action':_0x143c20+_0x1a0958(0x24f)},{'id':_0x4b0530['id'],'action':_0x143c20+_0x1a0958(0x1c9)},{'id':_0x1665a0['id'],'action':_0x143c20+'addProtection'},{'id':_0x1ce1e3['id'],'action':_0x143c20+_0x1a0958(0x2db)},{'id':_0xa70e0e['id'],'action':_0x143c20+_0x1a0958(0x2f1)},{'id':_0x52b09e['id'],'action':_0x143c20+_0x1a0958(0x2f1)}][_0x1a0958(0x231)](_0x599866=>_0x2abe26[_0x1a0958(0x2c4)][_0x1a0958(0x312)](_0x599866['id']));return _0x1d7e3b!=null&&_0x1d7e3b['length']?_0x1d7e3b['map'](_0x12ca5d=>_0x12ca5d[_0x1a0958(0x243)]):[_0xd8ac6];}function ee(_0x4633a8,_0x5bc9ff){const _0x1cebd5=_0x30ce7c,[_0x4b6403,_0x413f7e,_0x223c80]=new Date()['toISOString']()[_0x1cebd5(0x25d)]('T')[0x0][_0x1cebd5(0x25d)]('-'),[_0x2b5eb2,_0x9c2629,_0x1bc49f]=_0x4633a8['split']('-'),_0x47e4bc=_0x4b6403===_0x2b5eb2&&_0x413f7e===_0x9c2629&&_0x223c80===_0x1bc49f;let _0x2a61b6='',_0x40dda9='',_0x3de8e3='';switch(_0x5bc9ff){case _0x1a31ab[_0x1cebd5(0x369)]:return _0x47e4bc?'今天':(_0x2a61b6=_0x4b6403===_0x2b5eb2?'':_0x2b5eb2+'年',_0x40dda9=_0x9c2629+'月',_0x3de8e3=_0x1bc49f+'日',''+_0x2a61b6+_0x40dda9+_0x3de8e3);default:return _0x47e4bc?_0x1cebd5(0x29d):(_0x2a61b6=_0x4b6403===_0x2b5eb2?'':_0x2b5eb2+'-',_0x40dda9=_0x9c2629+'-',_0x3de8e3=''+_0x1bc49f,''+_0x2a61b6+_0x40dda9+_0x3de8e3);}}function cs(_0x3a15f0){return _0x3a15f0?_0x3a15f0['reduce']((_0x13900a,_0x14025e)=>{const _0x4045ce=_0x29a1,_0x34ed5a=new Date(_0x14025e[_0x4045ce(0x2ef)])[_0x4045ce(0x1e2)]()['split']('T')[0x0];return _0x13900a[_0x4045ce(0x224)]>0x0&&_0x13900a[_0x13900a[_0x4045ce(0x224)]-0x1][_0x4045ce(0x293)]===_0x34ed5a?_0x13900a[_0x13900a['length']-0x1][_0x4045ce(0x2e6)][_0x4045ce(0x2c0)](_0x14025e):_0x13900a[_0x4045ce(0x2c0)]({'dateString':_0x34ed5a,'versions':[_0x14025e]}),_0x13900a;},[]):[];}var ls=Object[_0x30ce7c(0x364)],us=(_0x57d8f8,_0x32c5f1,_0x3bfaf8,_0x356a8e)=>{for(var _0x15d12a=_0x356a8e>0x1?void 0x0:_0x356a8e?ls(_0x32c5f1,_0x3bfaf8):_0x32c5f1,_0x22e90c=_0x57d8f8['length']-0x1,_0xc607a2;_0x22e90c>=0x0;_0x22e90c--)(_0xc607a2=_0x57d8f8[_0x22e90c])&&(_0x15d12a=_0xc607a2(_0x15d12a)||_0x15d12a);return _0x15d12a;},D=(_0x104982,_0x58086a)=>(_0x106a4a,_0x5d3a05)=>_0x58086a(_0x106a4a,_0x5d3a05,_0x104982);const _s='/universer-api/history';let Y=class extends _0x465e76{constructor(_0x214dfa,_0x489351,_0x37e794,_0x782427,_0x4f9170,_0x3967c6){const _0x58173d=_0x30ce7c;super(),l(this,_0x58173d(0x2ce),new Map()),(this[_0x58173d(0x1b1)]=_0x214dfa,this[_0x58173d(0x2ec)]=_0x489351,this[_0x58173d(0x1e4)]=_0x37e794,this[_0x58173d(0x30f)]=_0x782427,this[_0x58173d(0x2dc)]=_0x4f9170,this['_compressMutationService']=_0x3967c6);}['dispose'](){const _0x5ac2f6=_0x30ce7c;this[_0x5ac2f6(0x2ce)][_0x5ac2f6(0x28f)](),super[_0x5ac2f6(0x2a8)]();}async[_0x30ce7c(0x2dd)](_0x394f7c,_0x3f41f2){const _0x523f18=_0x30ce7c,_0x9557fe=this[_0x523f18(0x209)]()+'/'+_0x394f7c+_0x523f18(0x2b5)+(_0x3f41f2?_0x523f18(0x2d8)+_0x3f41f2:'');try{const _0x2f57b1=(await this[_0x523f18(0x2dc)][_0x523f18(0x2f2)](_0x9557fe))[_0x523f18(0x272)];if(_0x2f57b1&&_0x2f57b1[_0x523f18(0x2c6)]&&_0x2f57b1[_0x523f18(0x2c6)][_0x523f18(0x2f5)]===X['OK']){const {hasMore:_0x4e3483,lastLabel:_0xd58aae}=_0x2f57b1,_0x5e8d75=hs(_0x2f57b1),_0x2aa348=_0x2f57b1[_0x523f18(0x2b0)][_0x523f18(0x1da)];return{'hasMore':_0x4e3483,'lastLabel':_0xd58aae,'versions':_0x5e8d75,'members':_0x2aa348};}}catch(_0x583c2c){console[_0x523f18(0x2c6)](_0x583c2c);}return null;}[_0x30ce7c(0x209)](){const _0x563253=_0x30ce7c;var _0x2e778a;const _0x41d397=this['_configService'][_0x563253(0x33c)](we);return(_0x2e778a=_0x41d397==null?void 0x0:_0x41d397[_0x563253(0x2cb)])!=null?_0x2e778a:_s;}async['loadSheet'](_0xc5bc2d,_0x506d58,_0x3597e0){const _0x363262=_0x30ce7c;var _0x9a5559,_0x2a1b13;_0x3597e0===void 0x0&&(_0x3597e0={}),this[_0x363262(0x2ce)][_0x363262(0x270)](_0xc5bc2d)||this[_0x363262(0x2ce)][_0x363262(0x208)](_0xc5bc2d,new Map());const {snapshot:_0x400f1b,changesets:_0x3bd4f3,error:_0x188fd1}=await this[_0x363262(0x1b1)]['getUnitOnRev'](_0x3597e0,{'unitID':_0xc5bc2d,'type':F[_0x363262(0x223)],'revision':_0x506d58});if(ns(_0x188fd1)||!_0x400f1b||!_0x400f1b['workbook'])throw new Error(_0x363262(0x2fd));const _0x34a764=(_0x9a5559=_0x3bd4f3==null?void 0x0:_0x3bd4f3[_0x363262(0x224)])!=null?_0x9a5559:0x0;if(_0x506d58!==0x0&&_0x400f1b[_0x363262(0x2c1)]+_0x34a764!==_0x506d58)throw new Error(_0x363262(0x273));const {workbook:_0x4d5599}=_0x400f1b,_0x137d49=_0x4d5599[_0x363262(0x283)]?Object[_0x363262(0x1c7)](_0x4d5599[_0x363262(0x283)])[_0x363262(0x252)](([_0x43182b,_0x1793a2])=>{const _0x5d8cda=_0x363262;var _0x22f127,_0x359d66;return(_0x359d66=(_0x22f127=_0x1793a2[_0x5d8cda(0x330)])==null?void 0x0:_0x22f127[_0x5d8cda(0x252)](_0x190083=>_0x190083))!=null?_0x359d66:[];})[_0x363262(0x236)]():[],_0x23a268=(await Promise[_0x363262(0x1dc)](_0x137d49['map'](_0x4207ae=>this[_0x363262(0x1b1)][_0x363262(0x31b)](_0x3597e0,{'unitID':_0xc5bc2d,'type':F['UNIVER_SHEET'],'blockID':_0x4207ae})[_0x363262(0x2c9)](_0x1fb46d=>_0x1fb46d[_0x363262(0x307)]))))['filter'](_0x3292aa=>!!_0x3292aa),_0x1d6587=_0x2793a1(_0x400f1b,_0x23a268,_0x3597e0);return(_0x2a1b13=this[_0x363262(0x2ce)][_0x363262(0x2f2)](_0xc5bc2d))==null||_0x2a1b13[_0x363262(0x208)](_0x506d58,{'workbook':_0x1d6587}),new Promise(_0x5b1ec2=>{const _0x4637c5=_0x363262,_0x303228=this['_univerInstanceService'][_0x4637c5(0x1c4)](_0x118ac5[_0x4637c5(0x223)]);_0x303228?(this[_0x4637c5(0x2ec)][_0x4637c5(0x253)](_0x303228[_0x4637c5(0x2bf)]()),setTimeout(()=>{const _0x87a8be=_0x4637c5;this[_0x87a8be(0x201)](_0x1d6587,_0x3bd4f3),_0x5b1ec2(!0x0);},0x0)):(this[_0x4637c5(0x201)](_0x1d6587,_0x3bd4f3),_0x5b1ec2(!0x0));});}[_0x30ce7c(0x201)](_0xd5393d,_0x331789){const _0x5b7716=_0x30ce7c,_0x596dae=this[_0x5b7716(0x2ec)]['createUnit'](_0x118ac5['UNIVER_SHEET'],_0xd5393d);this[_0x5b7716(0x2ec)][_0x5b7716(0x29c)](_0x596dae[_0x5b7716(0x2bf)]());const _0x29ef6c=this[_0x5b7716(0x35b)][_0x5b7716(0x356)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x5b7716(0x356)][_0x5b7716(0x27f)]()[_0x5b7716(0x365)]);return _0x331789==null||_0x331789[_0x5b7716(0x205)](_0x1d71b5=>{const _0x518a0e=_0x5b7716,_0x4c2e55=_0x1d71b5[_0x518a0e(0x220)][_0x518a0e(0x252)](_0x1284e8=>({'id':_0x1284e8['id'],'params':JSON[_0x518a0e(0x2aa)](_0x1284e8[_0x518a0e(0x207)])}));({..._0x1d71b5,'mutations':_0x29ef6c(_0x4c2e55,null)||_0x4c2e55}['mutations']['forEach'](_0x32316f=>{const _0xa7c8d1=_0x518a0e;this[_0xa7c8d1(0x1e4)]['hasCommand'](_0x32316f['id'])&&this[_0xa7c8d1(0x1e4)][_0xa7c8d1(0x326)](_0x32316f['id'],_0x32316f[_0xa7c8d1(0x2c8)]);}));}),_0x596dae;}};Y=us([D(0x0,_0x653d95),D(0x1,_0x3553ef),D(0x2,_0x476082),D(0x3,_0xccbdbe),D(0x4,_0x589a0a(_0x529191)),D(0x5,_0x589a0a(_0x5dde78))],Y);function hs(_0x3a8e6d){const _0x167c11=_0x30ce7c;var _0xe8143c,_0x4b206d;const _0x1918bc=[],{entities:_0xae43fe,historyIds:_0x1aef2d}=_0x3a8e6d,{datas:_0x3a44f1,users:_0x50fd3c}=_0xae43fe;for(const _0x392ab8 of _0x1aef2d)if(_0x3a44f1[_0x392ab8]){const _0x55e500=!!((_0xe8143c=_0x50fd3c[_0x3a44f1[_0x392ab8][_0x167c11(0x277)]])!=null&&_0xe8143c[_0x167c11(0x1b0)]);_0x1918bc[_0x167c11(0x2c0)]({'unitId':_0x3a44f1[_0x392ab8]['unitId'],'user':_0x55e500?'':((_0x4b206d=_0x50fd3c==null?void 0x0:_0x50fd3c[_0x3a44f1[_0x392ab8][_0x167c11(0x277)]])==null?void 0x0:_0x4b206d[_0x167c11(0x263)])||'','isAnonymous':_0x55e500,'id':_0x392ab8,'time':_0x3a44f1[_0x392ab8]['createTime']?Number(_0x3a44f1[_0x392ab8][_0x167c11(0x22d)]):void 0x0,'commands':_0x3a44f1[_0x392ab8]['command'],'startRev':Number(_0x3a44f1[_0x392ab8]['startRevision']),'endRev':Number(_0x3a44f1[_0x392ab8][_0x167c11(0x1c2)]),'recoverTime':_0x3a44f1[_0x392ab8]['recoverTime']?Number(_0x3a44f1[_0x392ab8][_0x167c11(0x24e)]):void 0x0});}return _0x1918bc;}var ds=Object[_0x30ce7c(0x364)],vs=(_0x28d36f,_0x25d160,_0x2fd5ce,_0x4e0106)=>{const _0x1295e9=_0x30ce7c;for(var _0xb3a669=_0x4e0106>0x1?void 0x0:_0x4e0106?ds(_0x25d160,_0x2fd5ce):_0x25d160,_0x152c49=_0x28d36f[_0x1295e9(0x224)]-0x1,_0x3adbd5;_0x152c49>=0x0;_0x152c49--)(_0x3adbd5=_0x28d36f[_0x152c49])&&(_0xb3a669=_0x3adbd5(_0xb3a669)||_0xb3a669);return _0xb3a669;},V=(_0xa179f,_0x5e9ac3)=>(_0x5d2672,_0x23c977)=>_0x5e9ac3(_0x5d2672,_0x23c977,_0xa179f),ne=(_0x3079d0=>(_0x3079d0[_0x30ce7c(0x256)]=_0x30ce7c(0x2bd),_0x3079d0[_0x30ce7c(0x25b)]='exited',_0x3079d0[_0x30ce7c(0x285)]='error',_0x3079d0))(ne||{}),T=(_0x196aeb=>(_0x196aeb[_0x30ce7c(0x31f)]=_0x30ce7c(0x27b),_0x196aeb[_0x30ce7c(0x28d)]=_0x30ce7c(0x1ca),_0x196aeb[_0x30ce7c(0x261)]=_0x30ce7c(0x1b5),_0x196aeb))(T||{});const fs=_0x30ce7c(0x2d0);let E=class extends _0x465e76{constructor(_0x69c7a9,_0x106037,_0x6c1e8a,_0x552752){const _0x592399=_0x30ce7c;super(),l(this,_0x592399(0x314),new _0x120766([])),l(this,_0x592399(0x25a),this['_versions$']['asObservable']()),l(this,_0x592399(0x339),new _0x120766('')),l(this,_0x592399(0x341),this[_0x592399(0x339)]['asObservable']()),l(this,_0x592399(0x303),new _0x120766(_0x592399(0x2bd))),l(this,_0x592399(0x28e),this['_status$'][_0x592399(0x2e8)]()),l(this,_0x592399(0x1af),new _0x120766(0x0)),l(this,_0x592399(0x248),this['_revertRevision$']['asObservable']()),l(this,'_unitId$',new _0x120766('')),l(this,'unitId$',this[_0x592399(0x250)][_0x592399(0x2e8)]()),l(this,_0x592399(0x21e),!0x1),l(this,_0x592399(0x31e),new _0x120766('init')),l(this,_0x592399(0x1f5),this[_0x592399(0x31e)][_0x592399(0x2e8)]()),l(this,'_lastLabel',null),l(this,'_hasMore',!0x0),l(this,'_members',new Map()),l(this,_0x592399(0x324)),l(this,_0x592399(0x2e5)),l(this,_0x592399(0x229)),l(this,'_canRevert',!0x1),(this[_0x592399(0x21a)]=_0x69c7a9,this[_0x592399(0x1f0)]=_0x106037,this['_localeService']=_0x6c1e8a,this[_0x592399(0x204)]=_0x552752);}async[_0x30ce7c(0x2a1)](_0x5d3363,_0x4c3bf3,_0x868702){const _0x2f69f6=_0x30ce7c;this['_historyContainerId']=_0x4c3bf3,this['_canRevert']=_0x868702,this[_0x2f69f6(0x250)][_0x2f69f6(0x2f0)](_0x5d3363),this[_0x2f69f6(0x21e)]=!0x0;const _0x48d0ba=await this[_0x2f69f6(0x204)][_0x2f69f6(0x2dd)](_0x5d3363);if(this[_0x2f69f6(0x21e)]=!0x1,_0x48d0ba){const {versions:_0x41ec80,lastLabel:_0x49a1d7,hasMore:_0x2bf015,members:_0x4928a7}=_0x48d0ba;_0x41ec80[_0x2f69f6(0x224)]===0x0&&_0x41ec80[_0x2f69f6(0x2c0)]({'unitId':_0x5d3363,'id':fs,'startRev':0x1,'endRev':0x0,'time':Date[_0x2f69f6(0x2bb)](),'user':this[_0x2f69f6(0x35c)]['t'](_0x2f69f6(0x20f)),'commands':[],'isAnonymous':!0x1}),this[_0x2f69f6(0x245)](_0x41ec80,_0x2bf015,_0x49a1d7,_0x4928a7),this['_currentVersion$'][_0x2f69f6(0x2f0)](_0x41ec80[0x0]['id']);}else this[_0x2f69f6(0x303)]['next']('error');}async[_0x30ce7c(0x306)](){const _0x4f436e=_0x30ce7c;if(!this['_lastLabel']||!this[_0x4f436e(0x34d)]||this[_0x4f436e(0x21e)])return!0x1;this['_fetching']=!0x0;const _0x185931=await this[_0x4f436e(0x204)][_0x4f436e(0x2dd)](this['unitId'],this[_0x4f436e(0x1d9)]);if(this[_0x4f436e(0x21e)]=!0x1,_0x185931){const {versions:_0x35cbdd,lastLabel:_0x5160b5,hasMore:_0x19d78a,members:_0x2ec2ff}=_0x185931;this[_0x4f436e(0x245)](_0x35cbdd,_0x19d78a,_0x5160b5,_0x2ec2ff);}else this[_0x4f436e(0x21a)][_0x4f436e(0x2ad)]({'content':this[_0x4f436e(0x35c)]['t'](_0x4f436e(0x23d)),'type':_0x12bc01[_0x4f436e(0x285)],'duration':0xbb8});return!0x0;}async['triggerLoadSheet'](_0xa96309){const _0x110daa=_0x30ce7c;var _0x30e22e;const _0x43e4db=(_0x30e22e=this[_0x110daa(0x314)][_0x110daa(0x2ed)])==null?void 0x0:_0x30e22e[_0x110daa(0x346)](_0x41416f=>_0x41416f['id']===_0xa96309),{endRev:_0xfc1a41}=_0x43e4db||{};_0xfc1a41||_0xfc1a41===0x0?(this['_loadingState$'][_0x110daa(0x2f0)](_0x110daa(0x1ca)),await this[_0x110daa(0x204)][_0x110daa(0x227)](this[_0x110daa(0x1b8)],_0xfc1a41),this[_0x110daa(0x31e)][_0x110daa(0x2f0)](_0x110daa(0x1b5))):this['_status$'][_0x110daa(0x2f0)](_0x110daa(0x2c6));}async[_0x30ce7c(0x1ec)](_0x2001bf){const _0x33af13=_0x30ce7c,_0x354228=_0x2001bf?this[_0x33af13(0x28b)](_0x2001bf):this[_0x33af13(0x2d6)]();if(!_0x354228)return;const _0x10d09e=_0x354228[_0x33af13(0x1ef)],_0x7410b1=re(_0x354228[_0x33af13(0x2ef)],this['_localeService']['getCurrentLocale']());await this[_0x33af13(0x1f0)][_0x33af13(0x1ee)]({'id':_0x33af13(0x353),'title':{'title':this['_localeService']['t']('editHistory.panel.revertConfirm')},'children':{'title':this[_0x33af13(0x35c)]['t'](_0x33af13(0x279))+_0x33af13(0x362)+_0x7410b1[_0x33af13(0x298)]+'\x20'+_0x7410b1[_0x33af13(0x2ef)]+')'},'cancelText':this['_localeService']['t'](_0x33af13(0x348)),'confirmText':this[_0x33af13(0x35c)]['t']('editHistory.panel.confirm')})&&this['_revertRevision$'][_0x33af13(0x2f0)](_0x10d09e);}[_0x30ce7c(0x245)](_0x451eb0,_0xc7b2c9,_0x5bfb9a,_0x694ed9){const _0x585fb7=_0x30ce7c;this[_0x585fb7(0x314)]['next'](this[_0x585fb7(0x314)]['value']['concat'](_0x451eb0)),this[_0x585fb7(0x34d)]=_0xc7b2c9,this[_0x585fb7(0x1d9)]=_0x5bfb9a,_0x694ed9&&Object[_0x585fb7(0x27d)](_0x694ed9)[_0x585fb7(0x205)](_0x2b1a8e=>this[_0x585fb7(0x274)][_0x585fb7(0x208)](_0x2b1a8e,_0x694ed9[_0x2b1a8e]));}[_0x30ce7c(0x2d6)](){const _0x373dec=_0x30ce7c;return this[_0x373dec(0x28b)](this[_0x373dec(0x339)][_0x373dec(0x2ed)]);}[_0x30ce7c(0x28b)](_0x3284bf){const _0x1a9b65=_0x30ce7c;var _0x59fcea;return(_0x59fcea=this[_0x1a9b65(0x314)][_0x1a9b65(0x2ed)])==null?void 0x0:_0x59fcea[_0x1a9b65(0x346)](_0x1da25f=>_0x1da25f['id']===_0x3284bf);}[_0x30ce7c(0x233)](_0x188452){const _0x18175b=_0x30ce7c;return this[_0x18175b(0x274)][_0x18175b(0x2f2)](_0x188452);}[_0x30ce7c(0x1b7)](){const _0x3477bc=_0x30ce7c;this['_maskElement']=document[_0x3477bc(0x2c5)]('div'),this[_0x3477bc(0x229)][_0x3477bc(0x2e4)]=_0x3477bc(0x21d),this[_0x3477bc(0x229)]['style']['position']=_0x3477bc(0x1d1),this[_0x3477bc(0x229)][_0x3477bc(0x2f6)]['top']='0',this['_maskElement']['style'][_0x3477bc(0x2b1)]='0',this[_0x3477bc(0x229)][_0x3477bc(0x2f6)]['width']='100%',this[_0x3477bc(0x229)][_0x3477bc(0x2f6)]['height']=_0x3477bc(0x280),this['_maskElement'][_0x3477bc(0x2f6)]['backgroundColor']=_0x3477bc(0x325),this['_maskElement'][_0x3477bc(0x2f6)]['color']=_0x3477bc(0x21b),this[_0x3477bc(0x229)]['style']['display']=_0x3477bc(0x30e),this[_0x3477bc(0x229)][_0x3477bc(0x2f6)][_0x3477bc(0x23e)]=_0x3477bc(0x30b),this[_0x3477bc(0x229)][_0x3477bc(0x2f6)][_0x3477bc(0x359)]=_0x3477bc(0x247),this[_0x3477bc(0x229)]['style'][_0x3477bc(0x251)]=_0x3477bc(0x291),this[_0x3477bc(0x2e5)][_0x3477bc(0x2ff)](this['_maskElement']);}[_0x30ce7c(0x361)](){const _0x48f685=_0x30ce7c;var _0x2240c7;const _0xd06e81=(_0x2240c7=document['getElementById'](this[_0x48f685(0x324)]))==null?void 0x0:_0x2240c7[_0x48f685(0x1fd)](_0x48f685(0x1b9));_0xd06e81&&(this[_0x48f685(0x2e5)]=_0xd06e81,this[_0x48f685(0x1b7)]());}[_0x30ce7c(0x290)](){const _0x31eada=_0x30ce7c;this[_0x31eada(0x2e5)]||this[_0x31eada(0x361)](),this[_0x31eada(0x229)]&&(this[_0x31eada(0x229)][_0x31eada(0x2f6)][_0x31eada(0x251)]=_0x31eada(0x30e));}['hideMask'](){const _0x456e10=_0x30ce7c;this[_0x456e10(0x229)]&&(this['_maskElement'][_0x456e10(0x2f6)]['display']=_0x456e10(0x291));}set['status'](_0x455f48){const _0x31a5a4=_0x30ce7c;this[_0x31a5a4(0x303)][_0x31a5a4(0x2f0)](_0x455f48);}set[_0x30ce7c(0x32c)](_0x319ec6){const _0x30cad8=_0x30ce7c;_0x319ec6!==this['_currentVersion$'][_0x30cad8(0x2ed)]&&this[_0x30cad8(0x339)][_0x30cad8(0x2f0)](_0x319ec6);}get['currentVersion'](){const _0x441e01=_0x30ce7c;return this[_0x441e01(0x339)][_0x441e01(0x2ed)];}set['unitId'](_0x56a6b0){const _0x5db123=_0x30ce7c;this[_0x5db123(0x250)][_0x5db123(0x2f0)](_0x56a6b0);}get[_0x30ce7c(0x1b8)](){const _0x2547e4=_0x30ce7c;return this[_0x2547e4(0x250)][_0x2547e4(0x2ed)];}get['canRevert'](){const _0x5b1305=_0x30ce7c;return this[_0x5b1305(0x2d1)];}get[_0x30ce7c(0x1d2)](){const _0x511a3c=_0x30ce7c;return this[_0x511a3c(0x31e)][_0x511a3c(0x2ed)];}};function _0x29a1(_0x3d7edb,_0x406e43){const _0x1e3ed1=_0x1e3e();return _0x29a1=function(_0x29a112,_0x1cb601){_0x29a112=_0x29a112-0x1af;let _0x15d329=_0x1e3ed1[_0x29a112];return _0x15d329;},_0x29a1(_0x3d7edb,_0x406e43);}E=vs([V(0x0,_0x2b1d68),V(0x1,_0x517812),V(0x2,_0x589a0a(_0x31174f)),V(0x3,_0x589a0a(Y))],E);var S=function(){const _0x2b1498=_0x30ce7c;return S=Object[_0x2b1498(0x23c)]||function(_0x197042){const _0x1625bc=_0x2b1498;for(var _0x2c6901,_0x271eaa=0x1,_0x103855=arguments[_0x1625bc(0x224)];_0x271eaa<_0x103855;_0x271eaa++){_0x2c6901=arguments[_0x271eaa];for(var _0x188108 in _0x2c6901)Object[_0x1625bc(0x355)][_0x1625bc(0x2f3)][_0x1625bc(0x1d3)](_0x2c6901,_0x188108)&&(_0x197042[_0x188108]=_0x2c6901[_0x188108]);}return _0x197042;},S['apply'](this,arguments);},ms=function(_0x5af9ec,_0x44319d){const _0x5b764f=_0x30ce7c;var _0xf893a7={};for(var _0x5b63c8 in _0x5af9ec)Object[_0x5b764f(0x355)][_0x5b764f(0x2f3)]['call'](_0x5af9ec,_0x5b63c8)&&_0x44319d[_0x5b764f(0x30a)](_0x5b63c8)<0x0&&(_0xf893a7[_0x5b63c8]=_0x5af9ec[_0x5b63c8]);if(_0x5af9ec!=null&&typeof Object[_0x5b764f(0x2cf)]==_0x5b764f(0x2b2)){for(var _0x4ab954=0x0,_0x5b63c8=Object['getOwnPropertySymbols'](_0x5af9ec);_0x4ab954<_0x5b63c8[_0x5b764f(0x224)];_0x4ab954++)_0x44319d[_0x5b764f(0x30a)](_0x5b63c8[_0x4ab954])<0x0&&Object[_0x5b764f(0x355)][_0x5b764f(0x358)][_0x5b764f(0x1d3)](_0x5af9ec,_0x5b63c8[_0x4ab954])&&(_0xf893a7[_0x5b63c8[_0x4ab954]]=_0x5af9ec[_0x5b63c8[_0x4ab954]]);}return _0xf893a7;},G=_0x3496ac(function(_0x2a0546,_0xfb7d0a){const _0xdcbf06=_0x30ce7c;var _0x81ffee=_0x2a0546[_0xdcbf06(0x36a)],_0x3fb7d4=_0x2a0546['id'],_0x604a9=_0x2a0546['className'],_0x3c5814=_0x2a0546[_0xdcbf06(0x26f)],_0x5c2217=ms(_0x2a0546,[_0xdcbf06(0x36a),'id',_0xdcbf06(0x2e4),_0xdcbf06(0x26f)]),_0x324c35=_0xdcbf06(0x2ca)['concat'](_0x3fb7d4,'\x20')[_0xdcbf06(0x2ee)](_0x604a9||'')[_0xdcbf06(0x313)](),_0x296f6b=_0x39b5ef('_'['concat'](Ss()));return Pe(_0x81ffee,''[_0xdcbf06(0x2ee)](_0x3fb7d4),{'defIds':_0x81ffee[_0xdcbf06(0x24b)],'idSuffix':_0x296f6b[_0xdcbf06(0x2c7)]},S({'ref':_0xfb7d0a,'className':_0x324c35},_0x5c2217),_0x3c5814);});function Pe(_0x39589b,_0x2adf9c,_0x165139,_0xefb8cf,_0x2b9c16){const _0xd826c2=_0x30ce7c;return _0x2f56af(_0x39589b[_0xd826c2(0x33f)],S(S({'key':_0x2adf9c},Is(_0x39589b,_0x165139,_0x2b9c16)),_0xefb8cf),(gs(_0x39589b,_0x165139)['children']||[])[_0xd826c2(0x252)](function(_0x298b0e,_0x143e84){const _0xe5372=_0xd826c2;return Pe(_0x298b0e,''[_0xe5372(0x2ee)](_0x2adf9c,'-')[_0xe5372(0x2ee)](_0x39589b[_0xe5372(0x33f)],'-')[_0xe5372(0x2ee)](_0x143e84),_0x165139,void 0x0,_0x2b9c16);}));}function Is(_0x5b154f,_0x1ccead,_0x153cb9){const _0x1d309f=_0x30ce7c;var _0x508aad=S({},_0x5b154f[_0x1d309f(0x20e)]);_0x153cb9!=null&&_0x153cb9[_0x1d309f(0x20c)]&&_0x508aad[_0x1d309f(0x212)]===_0x1d309f(0x20c)&&(_0x508aad['fill']=_0x153cb9[_0x1d309f(0x20c)]),_0x5b154f[_0x1d309f(0x33f)]===_0x1d309f(0x34b)&&_0x508aad['id']&&(_0x508aad['id']=_0x508aad['id']+_0x1ccead[_0x1d309f(0x304)]),Object[_0x1d309f(0x1c7)](_0x508aad)['forEach'](function(_0xf87fb3){const _0x28246d=_0x1d309f;var _0x4ab2e1=_0xf87fb3[0x0],_0x5df976=_0xf87fb3[0x1];_0x4ab2e1===_0x28246d(0x34b)&&typeof _0x5df976==_0x28246d(0x1c6)&&(_0x508aad[_0x4ab2e1]=_0x5df976[_0x28246d(0x1ea)](/url\(#(.*)\)/,_0x28246d(0x1d0)['concat'](_0x1ccead['idSuffix'],')')));});var _0x539ede=_0x1ccead[_0x1d309f(0x24b)];return!_0x539ede||_0x539ede[_0x1d309f(0x224)]===0x0||(_0x5b154f['tag']===_0x1d309f(0x2de)&&_0x508aad[_0x1d309f(0x29e)]&&(_0x508aad[_0x1d309f(0x29e)]=_0x508aad[_0x1d309f(0x29e)]+_0x1ccead[_0x1d309f(0x304)]),Object['entries'](_0x508aad)[_0x1d309f(0x205)](function(_0x376d18){const _0x3bee07=_0x1d309f;var _0x49fec6=_0x376d18[0x0],_0x220c69=_0x376d18[0x1];typeof _0x220c69==_0x3bee07(0x1c6)&&(_0x508aad[_0x49fec6]=_0x220c69[_0x3bee07(0x1ea)](/url\(#(.*)\)/,'url(#$1'[_0x3bee07(0x2ee)](_0x1ccead[_0x3bee07(0x304)],')')));})),_0x508aad;}function gs(_0x1e5cf8,_0x10ea8e){const _0x3e524d=_0x30ce7c;var _0x17aaa0,_0x24cfc9=_0x10ea8e[_0x3e524d(0x24b)];return!_0x24cfc9||_0x24cfc9[_0x3e524d(0x224)]===0x0?_0x1e5cf8:_0x1e5cf8[_0x3e524d(0x33f)]===_0x3e524d(0x2ea)&&(!((_0x17aaa0=_0x1e5cf8[_0x3e524d(0x1e1)])===null||_0x17aaa0===void 0x0)&&_0x17aaa0[_0x3e524d(0x224)])?S(S({},_0x1e5cf8),{'children':_0x1e5cf8['children']['map'](function(_0x580212){const _0x3e0b67=_0x3e524d;return typeof _0x580212['attrs']['id']==_0x3e0b67(0x1c6)&&_0x24cfc9&&_0x24cfc9[_0x3e0b67(0x312)](_0x580212['attrs']['id'])?S(S({},_0x580212),{'attrs':S(S({},_0x580212[_0x3e0b67(0x20e)]),{'id':_0x580212[_0x3e0b67(0x20e)]['id']+_0x10ea8e[_0x3e0b67(0x304)]})}):_0x580212;})}):_0x1e5cf8;}function Ss(){const _0x4e0547=_0x30ce7c;return Math[_0x4e0547(0x2e0)]()[_0x4e0547(0x27c)](0x24)[_0x4e0547(0x297)](0x2,0x8);}G['displayName']='UniverIcon';var ps={'tag':_0x30ce7c(0x1d5),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x30ce7c(0x291),'viewBox':_0x30ce7c(0x25c),'width':_0x30ce7c(0x34a),'height':_0x30ce7c(0x34a)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x30ce7c(0x1ff)}}]},Te=_0x3496ac(function(_0x3c7705,_0x5cc65d){const _0x33b0cb=_0x30ce7c;return _0x2f56af(G,Object[_0x33b0cb(0x23c)]({},_0x3c7705,{'id':_0x33b0cb(0x305),'ref':_0x5cc65d,'icon':ps}));});Te['displayName']=_0x30ce7c(0x333);var Es={'tag':_0x30ce7c(0x1d5),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x30ce7c(0x291),'viewBox':_0x30ce7c(0x25c),'width':_0x30ce7c(0x34a),'height':_0x30ce7c(0x34a)},'children':[{'tag':_0x30ce7c(0x22a),'attrs':{'fill':_0x30ce7c(0x2d4),'d':_0x30ce7c(0x366),'fillOpacity':0.2,'fillRule':_0x30ce7c(0x276),'clipRule':_0x30ce7c(0x276)}},{'tag':_0x30ce7c(0x22a),'attrs':{'fill':_0x30ce7c(0x2d4),'d':'M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','fillRule':_0x30ce7c(0x276),'clipRule':_0x30ce7c(0x276)}}]},ae=_0x3496ac(function(_0x234e8a,_0x53b28a){const _0x1ff0af=_0x30ce7c;return _0x2f56af(G,Object['assign']({},_0x234e8a,{'id':_0x1ff0af(0x328),'ref':_0x53b28a,'icon':Es}));});ae[_0x30ce7c(0x29a)]=_0x30ce7c(0x2ae);var Rs={'tag':_0x30ce7c(0x1d5),'attrs':{'xmlns':_0x30ce7c(0x2ab),'fill':_0x30ce7c(0x291),'viewBox':'0\x200\x2016\x2017','width':'1em','height':_0x30ce7c(0x34a)},'children':[{'tag':'g','attrs':{'fill':_0x30ce7c(0x1b4),'clipPath':'url(#restore-icon_clip0_1247_2)'},'children':[{'tag':_0x30ce7c(0x22a),'attrs':{'d':_0x30ce7c(0x1b3)}},{'tag':_0x30ce7c(0x22a),'attrs':{'d':_0x30ce7c(0x28c),'fillRule':_0x30ce7c(0x276),'clipRule':_0x30ce7c(0x276)}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x30ce7c(0x2a4),'attrs':{'id':_0x30ce7c(0x264)},'children':[{'tag':_0x30ce7c(0x218),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x30ce7c(0x21b),'rx':0x4}}]}]}],'defIds':['restore-icon_clip0_1247_2']},Le=_0x3496ac(function(_0x29f18e,_0x5c9c49){const _0x953e77=_0x30ce7c;return _0x2f56af(G,Object['assign']({},_0x29f18e,{'id':_0x953e77(0x2b6),'ref':_0x5c9c49,'icon':Rs}));});Le[_0x30ce7c(0x29a)]=_0x30ce7c(0x2b8);function Os(){const _0x3f265b=_0x30ce7c;var _0x7ad59a;const _0x5a0a32=_0x3f2f12(E),_0x26e654=_0x3f2f12(_0x31174f),_0x5490f1=_0x2c2367(()=>{_0x5a0a32['status']=ne['Exited'];},[_0x5a0a32]),_0x577b49=_0x2c2367(()=>{const _0x3ac35b=_0x29a1;_0x5a0a32[_0x3ac35b(0x1ec)]();},[_0x5a0a32]),_0x577cb1=_0x2be2bb(_0x5a0a32['currentVersion$']),_0x3b4447=_0x2be2bb(_0x5a0a32['versions$']),_0x214be3=_0x577cb1===((_0x7ad59a=_0x3b4447==null?void 0x0:_0x3b4447[0x0])==null?void 0x0:_0x7ad59a['id']),_0x194af0=_0x577cb1!==''&&!_0x214be3&&_0x5a0a32[_0x3f265b(0x1d8)];return _0x270de0(_0x3f265b(0x2bc),{'className':_0x21640f(_0x3f265b(0x2ba),_0x43c467),'children':[_0x36b7d5('a',{'className':_0x3f265b(0x35a),'onClick':_0x5490f1,'children':_0x36b7d5(Te,{'className':_0x3f265b(0x2ac)})}),_0x36b7d5(_0x3f265b(0x2bc),{'className':_0x3f265b(0x26e),'children':_0x194af0&&_0x36b7d5(_0x2aa219,{'variant':_0x3f265b(0x240),'onClick':_0x577b49,'children':_0x26e654['t'](_0x3f265b(0x34e))})})]});}var Ms=Object[_0x30ce7c(0x364)],Ns=(_0x571cf6,_0x4fcc61,_0x4a1e1c,_0xa4c208)=>{const _0x2b131e=_0x30ce7c;for(var _0x3edd94=_0xa4c208>0x1?void 0x0:_0xa4c208?Ms(_0x4fcc61,_0x4a1e1c):_0x4fcc61,_0x5b70a6=_0x571cf6[_0x2b131e(0x224)]-0x1,_0x2d3b28;_0x5b70a6>=0x0;_0x5b70a6--)(_0x2d3b28=_0x571cf6[_0x5b70a6])&&(_0x3edd94=_0x2d3b28(_0x3edd94)||_0x3edd94);return _0x3edd94;},y=(_0x286c32,_0x1096de)=>(_0x9dd0b9,_0x461efa)=>_0x1096de(_0x9dd0b9,_0x461efa,_0x286c32);let B=class extends _0x465e76{constructor(_0x55f4f1,_0xd49d5c,_0x209ff1,_0x4a0d5f,_0x33a178,_0x45ca7c){const _0x50c889=_0x30ce7c;super(),this['_permissionService']=_0x55f4f1,this[_0x50c889(0x2f8)]=_0xd49d5c,this[_0x50c889(0x21a)]=_0x209ff1,this[_0x50c889(0x35c)]=_0x4a0d5f,this['_historyManagerService']=_0x33a178,this[_0x50c889(0x222)]=_0x45ca7c,this['_init']();}[_0x30ce7c(0x296)](){const _0x391d37=_0x30ce7c;this[_0x391d37(0x287)](this[_0x391d37(0x311)]['currentVersion$']['subscribe'](_0x5bdb42=>{const _0xa991df=_0x391d37;_0x5bdb42&&this[_0xa991df(0x311)][_0xa991df(0x1c5)](_0x5bdb42);})),this[_0x391d37(0x287)](this[_0x391d37(0x33e)][_0x391d37(0x1df)][_0x391d37(0x27a)](_0x29e772=>{const _0x298173=_0x391d37,_0x448bf3=this[_0x298173(0x311)][_0x298173(0x1b8)];_0x448bf3&&(_0x29e772[_0x298173(0x2e7)]===b[_0x298173(0x246)]&&_0x29e772[_0x298173(0x2ed)]===!0x0&&this[_0x298173(0x33e)][_0x298173(0x1c1)](new _0x467ce0(_0x448bf3)['id'],!0x1),_0x29e772['subType']===b[_0x298173(0x299)]&&_0x29e772[_0x298173(0x2ed)]===!0x0&&this[_0x298173(0x33e)][_0x298173(0x1c1)](new _0x482c2d(_0x448bf3)['id'],!0x1),_0x29e772[_0x298173(0x2e7)]===b[_0x298173(0x349)]&&_0x29e772['value']===!0x0&&this[_0x298173(0x33e)]['updatePermissionPoint'](new _0x40e281(_0x448bf3)['id'],!0x1),_0x29e772[_0x298173(0x2e7)]===b['HideSheet']&&_0x29e772[_0x298173(0x2ed)]===!0x0&&this[_0x298173(0x33e)]['updatePermissionPoint'](new _0x18cd4f(_0x448bf3)['id'],!0x1),_0x29e772['subType']===b[_0x298173(0x232)]&&_0x29e772[_0x298173(0x2ed)]===!0x0&&this['_permissionService']['updatePermissionPoint'](new _0x467ce0(_0x448bf3)['id'],!0x1),_0x29e772[_0x298173(0x2e7)]===b[_0x298173(0x1eb)]&&_0x29e772[_0x298173(0x2ed)]===!0x0&&this['_permissionService'][_0x298173(0x1c1)](new _0x467ce0(_0x448bf3)['id'],!0x1));})),this['disposeWithMe'](this['_uiPartsService']['registerComponent'](_0x4b9d9b['HEADER'],()=>_0x134491(Os,this['_injector']))),this[_0x391d37(0x287)](this['_historyManagerService'][_0x391d37(0x1f5)][_0x391d37(0x27a)](_0x560ef2=>{const _0x2b1d7e=_0x391d37;_0x560ef2===T[_0x2b1d7e(0x28d)]&&(this[_0x2b1d7e(0x311)][_0x2b1d7e(0x290)](),this['_messageService'][_0x2b1d7e(0x2ad)]({'type':_0x12bc01[_0x2b1d7e(0x242)],'content':this[_0x2b1d7e(0x35c)]['t'](_0x2b1d7e(0x200))})),_0x560ef2===T[_0x2b1d7e(0x261)]&&this['_historyManagerService'][_0x2b1d7e(0x21c)]();}));}};B=Ns([y(0x0,_0xc06d5b),y(0x1,_0x59eb5b),y(0x2,_0x2b1d68),y(0x3,_0x589a0a(_0x31174f)),y(0x4,_0x589a0a(E)),y(0x5,_0x589a0a(_0x18fa16))],B);var bs=Object['getOwnPropertyDescriptor'],Ds=(_0x1c987b,_0x5bade0,_0x47f374,_0x587bfa)=>{const _0x37af10=_0x30ce7c;for(var _0x322411=_0x587bfa>0x1?void 0x0:_0x587bfa?bs(_0x5bade0,_0x47f374):_0x5bade0,_0x4ac609=_0x1c987b[_0x37af10(0x224)]-0x1,_0x43a8de;_0x4ac609>=0x0;_0x4ac609--)(_0x43a8de=_0x1c987b[_0x4ac609])&&(_0x322411=_0x43a8de(_0x322411)||_0x322411);return _0x322411;},Q=(_0xdc78ba,_0x937a05)=>(_0x22bb0c,_0x5a9306)=>_0x937a05(_0x22bb0c,_0x5a9306,_0xdc78ba);let $=class extends _0x465e76{constructor(_0x2cbf5e,_0x3c62c4,_0x163f9b){const _0x10d3f4=_0x30ce7c;super(),l(this,'_diffRangesMap',new Map()),l(this,_0x10d3f4(0x225),new _0x120766({'ranges':new Map(),'active':null})),l(this,_0x10d3f4(0x226),this[_0x10d3f4(0x225)][_0x10d3f4(0x2e8)]()),(this[_0x10d3f4(0x311)]=_0x2cbf5e,this[_0x10d3f4(0x267)]=_0x3c62c4,this['_snapshotServerService']=_0x163f9b,this[_0x10d3f4(0x296)]());}[_0x30ce7c(0x296)](){const _0x401c17=_0x30ce7c;this['_diffRangesMap']=new Map(),this[_0x401c17(0x287)](this['_historyManagerService'][_0x401c17(0x1c3)]['subscribe'](_0x599201=>{const _0x3f045b=_0x401c17;_0x599201&&!this[_0x3f045b(0x255)][_0x3f045b(0x270)](_0x599201)&&this[_0x3f045b(0x255)][_0x3f045b(0x208)](_0x599201,new Map());})),this['disposeWithMe'](this['_historyManagerService'][_0x401c17(0x341)]['subscribe'](async _0x39343e=>{const _0xd6cf43=_0x401c17;var _0x9188c8;_0x39343e&&(await this[_0xd6cf43(0x34c)](_0x39343e),this['_currentVersionDiff$'][_0xd6cf43(0x2f0)](((_0x9188c8=this[_0xd6cf43(0x255)][_0xd6cf43(0x2f2)](this['_historyManagerService'][_0xd6cf43(0x1b8)]))==null?void 0x0:_0x9188c8[_0xd6cf43(0x2f2)](_0x39343e))||{'ranges':new Map(),'active':null}));}));}async[_0x30ce7c(0x34c)](_0xfddaa4){const _0x3bfa11=_0x30ce7c;var _0x547f29,_0x378d08;const _0xe829f5=this['_historyManagerService'][_0x3bfa11(0x28b)](_0xfddaa4),_0x557a30=this[_0x3bfa11(0x311)][_0x3bfa11(0x1b8)];if(!_0xe829f5||!_0x557a30)return;const _0x97bf84=this[_0x3bfa11(0x255)][_0x3bfa11(0x2f2)](_0x557a30);if(_0x97bf84||this['_diffRangesMap'][_0x3bfa11(0x208)](_0x557a30,new Map()),(_0x547f29=this[_0x3bfa11(0x255)][_0x3bfa11(0x2f2)](_0x557a30))!=null&&_0x547f29['has'](_0xe829f5['id']))return;const {startRev:_0xaeab6b,endRev:_0x790ccf}=_0xe829f5;if(_0xaeab6b===0x1){_0x97bf84[_0x3bfa11(0x208)](_0xe829f5['id'],{'ranges':new Map(),'active':null});return;}const _0x1ee678=_0xaeab6b-0x1,_0x5b3c83=_0x790ccf,_0x50638a=await this[_0x3bfa11(0x1b1)][_0x3bfa11(0x2b3)]({},{'unitID':_0x557a30,'from':_0x1ee678,'to':_0x5b3c83,'type':F[_0x3bfa11(0x223)]});if(((_0x378d08=_0x50638a[_0x3bfa11(0x2c6)])==null?void 0x0:_0x378d08[_0x3bfa11(0x2f5)])===X['OK']){const _0x38d6d2=_0x50638a[_0x3bfa11(0x30c)]['map'](_0x124a1a)[_0x3bfa11(0x252)](_0x5cc314=>_0x5cc314[_0x3bfa11(0x220)]['map'](_0x10bd17=>({..._0x10bd17,'params':{..._0x10bd17[_0x3bfa11(0x2c8)],'memberId':_0x5cc314[_0x3bfa11(0x235)]}})))[_0x3bfa11(0x236)](),_0xc2e5bf=this['_transformMutationByOrder'](_0x38d6d2),_0x1a5fbb=this[_0x3bfa11(0x2fc)](_0x38d6d2),_0x5e3c4e=this[_0x3bfa11(0x1bf)](_0xc2e5bf);_0x97bf84[_0x3bfa11(0x208)](_0xe829f5['id'],{'ranges':_0x5e3c4e,'active':_0x1a5fbb});}}['_transformMutationByOrder'](_0x4a2fc4){const _0x3b9b07=_0x30ce7c;let _0x40b537=[];for(let _0xdc9c16=0x0;_0xdc9c16<_0x4a2fc4[_0x3b9b07(0x224)];_0xdc9c16++){const _0x36ba6a=_0x4a2fc4[_0xdc9c16];if(_0x40b537['push'](_0x36ba6a),_0xdc9c16!==_0x4a2fc4[_0x3b9b07(0x224)]-0x1){const _0x41159e=_0x4a2fc4[_0xdc9c16+0x1],_0x56508e=this[_0x3b9b07(0x267)][_0x3b9b07(0x1fa)](_0x40b537,[_0x41159e]);_0x74a44e(_0x56508e)?_0x40b537=_0x56508e[_0x3b9b07(0x1e0)]:_0x40b537=[];}}return _0x40b537;}['_getActiveSubUnitId'](_0x55290c){const _0x130307=_0x30ce7c;let _0x31cf12=[];return _0x55290c['forEach'](_0xca4dd3=>{const _0x5adedf=_0x29a1;if(_0xca4dd3['id']===_0x498e55['id']){const _0x52f4fb=_0xca4dd3['params'];_0x31cf12[_0x5adedf(0x2c0)](_0x52f4fb[_0x5adedf(0x30d)]['id']);}else{if(_0xca4dd3['id']===_0x577e8e['id']){const _0x178f8a=_0xca4dd3[_0x5adedf(0x2c8)];_0x31cf12[_0x5adedf(0x224)]>0x0&&(_0x31cf12=_0x31cf12[_0x5adedf(0x231)](_0xc23ffc=>_0xc23ffc!==_0x178f8a[_0x5adedf(0x322)]));}else{if(_0xca4dd3['id']===_0x98526['id']){const _0x3d7b1e=_0xca4dd3[_0x5adedf(0x2c8)];_0x3d7b1e[_0x5adedf(0x2fb)]?_0x31cf12=_0x31cf12[_0x5adedf(0x231)](_0x17253e=>_0x17253e!==_0x3d7b1e[_0x5adedf(0x322)]):_0x31cf12[_0x5adedf(0x2c0)](_0x3d7b1e[_0x5adedf(0x322)]);}else{const _0x11c1e4=_0xca4dd3[_0x5adedf(0x2c8)];_0x11c1e4[_0x5adedf(0x322)]&&_0x31cf12[_0x5adedf(0x2c0)](_0x11c1e4[_0x5adedf(0x322)]);}}}}),_0x31cf12['length']>0x0?_0x31cf12[_0x31cf12[_0x130307(0x224)]-0x1]:null;}[_0x30ce7c(0x1bf)](_0x48789d){const _0x35888a=_0x30ce7c,_0x4399df=new Map();return _0x48789d[_0x35888a(0x205)](_0x58d239=>{const _0x4e7d8f=_0x35888a;var _0x32a49c,_0x4f7043;const _0x2a2d49=(_0x32a49c=_0x58d239[_0x4e7d8f(0x2c8)])==null?void 0x0:_0x32a49c[_0x4e7d8f(0x35e)];if(_0x2a2d49){_0x4399df[_0x4e7d8f(0x270)](_0x2a2d49)||_0x4399df['set'](_0x2a2d49,[]);const _0x23d7d0=this[_0x4e7d8f(0x336)](_0x58d239);(_0x4f7043=_0x4399df['get'](_0x2a2d49))==null||_0x4f7043[_0x4e7d8f(0x2c0)](..._0x23d7d0);}}),_0x4399df[_0x35888a(0x205)]((_0x510052,_0x15352a)=>{const _0x53d84a=_0x35888a;_0x4399df[_0x53d84a(0x208)](_0x15352a,this['_combineRanges'](_0x510052));}),_0x4399df;}[_0x30ce7c(0x336)](_0x330a5c){const _0x22fbaf=_0x30ce7c;switch(_0x330a5c['id']){case _0x1665a0['id']:{const _0x8256f=_0x330a5c[_0x22fbaf(0x2c8)];return _0x8256f[_0x22fbaf(0x249)][_0x22fbaf(0x252)](_0xa2c94e=>_0xa2c94e[_0x22fbaf(0x1e8)][_0x22fbaf(0x252)](_0x2b6c7b=>({'range':_0x2b6c7b,'unitId':_0x8256f[_0x22fbaf(0x1b8)],'subUnitId':_0x8256f[_0x22fbaf(0x322)]})))[_0x22fbaf(0x236)]();}case _0x57f85c['id']:{const _0x1e8b54=_0x330a5c[_0x22fbaf(0x2c8)];return _0x1e8b54[_0x22fbaf(0x1e8)][_0x22fbaf(0x252)](_0x308fd2=>({'range':_0x308fd2,'unitId':_0x1e8b54[_0x22fbaf(0x1b8)],'subUnitId':_0x1e8b54[_0x22fbaf(0x322)]}));}case _0x5bac58['id']:{const _0x2d0bb3=_0x330a5c[_0x22fbaf(0x2c8)];return[{'range':_0x2d0bb3[_0x22fbaf(0x216)],'unitId':_0x2d0bb3[_0x22fbaf(0x1b8)],'subUnitId':_0x2d0bb3[_0x22fbaf(0x322)]}];}case _0x1646fc['id']:{const _0x479325=_0x330a5c[_0x22fbaf(0x2c8)];return[{'range':_0x479325['range'],'unitId':_0x479325[_0x22fbaf(0x1b8)],'subUnitId':_0x479325[_0x22fbaf(0x322)]}];}case _0x488926['id']:{const _0x2321ed=_0x330a5c[_0x22fbaf(0x2c8)],{from:_0x4adf06,to:_0x187774,unitId:_0x2d0524}=_0x2321ed;return[{'range':he(_0x4adf06['value']),'unitId':_0x2d0524,'subUnitId':_0x4adf06['subUnitId']},{'range':he(_0x187774['value']),'unitId':_0x2d0524,'subUnitId':_0x187774[_0x22fbaf(0x322)]}];}case _0x3feaea['id']:{const _0x1f195b=_0x330a5c[_0x22fbaf(0x2c8)],{unitId:_0x398d5b,subUnitId:_0x5de3be,sourceRange:_0x2a4244,targetRange:_0x499c2a}=_0x1f195b,_0x1deb06=_0x2a4244[_0x22fbaf(0x239)]-_0x2a4244[_0x22fbaf(0x343)]+0x1;return[{'range':_0x499c2a[_0x22fbaf(0x343)]<=_0x2a4244['startRow']?_0x499c2a:{..._0x499c2a,'startRow':_0x499c2a[_0x22fbaf(0x343)]-_0x1deb06,'endRow':_0x499c2a[_0x22fbaf(0x239)]-_0x1deb06},'unitId':_0x398d5b,'subUnitId':_0x5de3be}];}case _0x3b13ba['id']:{const _0x2a93f8=_0x330a5c[_0x22fbaf(0x2c8)],{unitId:_0x1a7962,subUnitId:_0x2a11e1,sourceRange:_0x2c8956,targetRange:_0x455eff}=_0x2a93f8,_0x1e68c4=_0x2c8956['endColumn']-_0x2c8956['startColumn']+0x1;return[{'range':_0x455eff[_0x22fbaf(0x26c)]<=_0x2c8956[_0x22fbaf(0x26c)]?_0x455eff:{..._0x455eff,'startColumn':_0x455eff[_0x22fbaf(0x26c)]-_0x1e68c4,'endColumn':_0x455eff[_0x22fbaf(0x20d)]-_0x1e68c4},'unitId':_0x1a7962,'subUnitId':_0x2a11e1}];}case _0x2742b8['id']:{const _0x4c3de0=_0x330a5c[_0x22fbaf(0x2c8)],{values:_0x30be84,unitId:_0x51f5d8,subUnitId:_0x34957d}=_0x4c3de0;return Object['values'](_0x30be84)[_0x22fbaf(0x252)](_0x2c2807=>_0x2c2807[_0x22fbaf(0x1e8)][_0x22fbaf(0x252)](_0x1be9cb=>({'range':_0x1be9cb,'unitId':_0x51f5d8,'subUnitId':_0x34957d})))['flat']();}case _0x4d03d8['id']:{const _0x55d2d0=_0x330a5c[_0x22fbaf(0x2c8)],{ranges:_0x191762,unitId:_0x853499,subUnitId:_0x15ed4e}=_0x55d2d0;return _0x191762['map'](_0x111ccf=>({'range':_0x111ccf,'unitId':_0x853499,'subUnitId':_0x15ed4e}));}case _0x398dc7['id']:{const _0x32eed3=_0x330a5c[_0x22fbaf(0x2c8)],{unitId:_0x231987,subUnitId:_0x4655ba,range:_0x13242e}=_0x32eed3;return[{'range':_0x13242e,'unitId':_0x231987,'subUnitId':_0x4655ba}];}case _0x351456['id']:{const _0x275382=_0x330a5c[_0x22fbaf(0x2c8)];return _0x275382[_0x22fbaf(0x2a5)]['ranges'][_0x22fbaf(0x252)](_0x40c90c=>({'range':_0x40c90c,'unitId':_0x275382[_0x22fbaf(0x1b8)],'subUnitId':_0x275382['subUnitId']}));}case _0xc3b1b7['id']:{const _0x1972f5=_0x330a5c[_0x22fbaf(0x2c8)];return _0x1972f5[_0x22fbaf(0x2f7)]?ys(_0x1972f5[_0x22fbaf(0x2f7)])[_0x22fbaf(0x252)](_0x3031d7=>({'range':_0x3031d7,'unitId':_0x1972f5[_0x22fbaf(0x1b8)],'subUnitId':_0x1972f5[_0x22fbaf(0x322)]})):[];}case _0x148291['id']:{const _0x15daf3=_0x330a5c[_0x22fbaf(0x2c8)];return[{'range':_0x15daf3[_0x22fbaf(0x216)],'unitId':_0x15daf3[_0x22fbaf(0x1b8)],'subUnitId':_0x15daf3['subUnitId']}];}case _0x25a56c['id']:{const _0x2ce5c4=_0x330a5c[_0x22fbaf(0x2c8)];return(Array['isArray'](_0x2ce5c4[_0x22fbaf(0x2a5)])?_0x2ce5c4[_0x22fbaf(0x2a5)]:[_0x2ce5c4['rule']])[_0x22fbaf(0x252)](_0xf07d1=>_0xf07d1['ranges'][_0x22fbaf(0x252)](_0x568e24=>({'range':_0x568e24,'unitId':_0x2ce5c4[_0x22fbaf(0x1b8)],'subUnitId':_0x2ce5c4['subUnitId']})))['flat']();}case _0x4bf30b['id']:{const _0x13b924=_0x330a5c['params'];return _0x13b924[_0x22fbaf(0x2a5)][_0x22fbaf(0x1e8)][_0x22fbaf(0x252)](_0x3a4634=>({'range':_0x3a4634,'unitId':_0x13b924[_0x22fbaf(0x1b8)],'subUnitId':_0x13b924['subUnitId']}));}default:return[];}}[_0x30ce7c(0x241)](_0x43e911){const _0x54b518=_0x30ce7c;if(_0x43e911['length']<=0x1)return _0x43e911;const _0x484ee7=new Map();return _0x43e911[_0x54b518(0x205)](_0x21aa62=>{const _0x4e5c05=_0x54b518;var _0x404b14;const {unitId:_0x313d2b,subUnitId:_0x158cdb}=_0x21aa62,_0x4edc3d=_0x313d2b+'-'+_0x158cdb;_0x484ee7[_0x4e5c05(0x270)](_0x4edc3d)?(_0x404b14=_0x484ee7[_0x4e5c05(0x2f2)](_0x4edc3d))==null||_0x404b14[_0x4e5c05(0x2c0)](_0x21aa62):_0x484ee7[_0x4e5c05(0x208)](_0x4edc3d,[_0x21aa62]);}),Array['from'](_0x484ee7[_0x54b518(0x2b9)]())[_0x54b518(0x252)](_0xdad714=>new _0x2d9d33()[_0x54b518(0x21f)](..._0xdad714[_0x54b518(0x252)](_0x4c8094=>_0x4c8094[_0x54b518(0x216)]))[_0x54b518(0x259)]()[_0x54b518(0x252)](_0x19c7e0=>({'range':_0x19c7e0,'unitId':_0xdad714[0x0][_0x54b518(0x1b8)],'subUnitId':_0xdad714[0x0][_0x54b518(0x322)]})))[_0x54b518(0x236)]();}};$=Ds([Q(0x0,_0x589a0a(E)),Q(0x1,_0xe2da3d),Q(0x2,_0x653d95)],$);function he(_0x405043){const _0x37c71a=_0x30ce7c;return new _0x17d01c(_0x405043)[_0x37c71a(0x1f8)]();}function ys(_0x4678bd){const _0x419160=_0x30ce7c,_0x485074=new _0x17d01c(_0x4678bd),_0x4ddd5a=new _0x17d01c();return _0x485074[_0x419160(0x323)]((_0x1d2c18,_0x2fc94d)=>{const _0x504598=_0x419160;_0x4ddd5a[_0x504598(0x1cf)](_0x1d2c18,_0x2fc94d,0x1);}),_0x5097e6(_0x4ddd5a);}var Cs=Object[_0x30ce7c(0x364)],ws=(_0x36b9a7,_0x5df3d3,_0x35f847,_0x5a4bb7)=>{const _0xa0e136=_0x30ce7c;for(var _0x4e2ae5=_0x5a4bb7>0x1?void 0x0:_0x5a4bb7?Cs(_0x5df3d3,_0x35f847):_0x5df3d3,_0x4bb526=_0x36b9a7[_0xa0e136(0x224)]-0x1,_0xb85f6c;_0x4bb526>=0x0;_0x4bb526--)(_0xb85f6c=_0x36b9a7[_0x4bb526])&&(_0x4e2ae5=_0xb85f6c(_0x4e2ae5)||_0x4e2ae5);return _0x4e2ae5;},C=(_0x322da2,_0x490119)=>(_0x1f0526,_0xbfdcde)=>_0x490119(_0x1f0526,_0xbfdcde,_0x322da2);let te=class extends _0x465e76{constructor(_0x56bd6c,_0x1fb96e,_0x54474b,_0x14d60d,_0x456907,_0x458b39,_0x4fdd81){const _0x5dcdc9=_0x30ce7c;super(),l(this,_0x5dcdc9(0x1e3),new Set()),l(this,_0x5dcdc9(0x351),null),(this[_0x5dcdc9(0x2af)]=_0x56bd6c,this[_0x5dcdc9(0x311)]=_0x1fb96e,this['_versionDiffService']=_0x54474b,this[_0x5dcdc9(0x2ec)]=_0x14d60d,this[_0x5dcdc9(0x32e)]=_0x456907,this[_0x5dcdc9(0x2e1)]=_0x458b39,this[_0x5dcdc9(0x1e4)]=_0x4fdd81,this['_init']());}['_init'](){this['_initRender'](),this['_initActiveSwitch']();}[_0x30ce7c(0x334)](){const _0x1b39b0=_0x30ce7c;this[_0x1b39b0(0x287)](_0x410a6a([this[_0x1b39b0(0x311)][_0x1b39b0(0x1f5)],this[_0x1b39b0(0x2e1)][_0x1b39b0(0x22f)]])[_0x1b39b0(0x1cc)](_0x2269e0(([_0x418d41,_0x55da7f])=>{const _0xfc1188=_0x1b39b0;if(_0x418d41===T[_0xfc1188(0x261)]&&_0x55da7f){const _0x1a3f26=_0x55da7f['sheetId'];return this['_versionDiffService'][_0xfc1188(0x226)]['pipe'](_0x3829b8(_0x2b0809=>{const _0x5fd68=_0xfc1188,_0x5915ac=new Map();return _0x2b0809[_0x5fd68(0x1e8)][_0x5fd68(0x205)]((_0x2d12fd,_0x307cd0)=>{const _0x2f562e=_0x5fd68,_0x140cd9=_0x2d12fd[_0x2f562e(0x231)](_0x1ac521=>_0x1ac521[_0x2f562e(0x322)]===_0x1a3f26);_0x5915ac['set'](_0x307cd0,_0x140cd9);}),{'skeleton':_0x55da7f,'diffs':_0x5915ac};}));}return _0x2e4f03({'skeleton':null,'diffs':new Map()});}))[_0x1b39b0(0x27a)](({skeleton:_0x3f1f25,diffs:_0x4bf6f8})=>{const _0x3bd826=_0x1b39b0;this['_removeDiffMarks'](),_0x3f1f25&&this[_0x3bd826(0x22b)](_0x3f1f25,_0x4bf6f8);})),this[_0x1b39b0(0x287)](this[_0x1b39b0(0x2e1)]['currentSkeleton$']['subscribe'](_0x3dd17b=>{const _0x50b0fc=_0x1b39b0;if(_0x3dd17b==null)return;const {skeleton:_0x3f4c0a}=_0x3dd17b,{scene:_0x8ae02d}=this[_0x50b0fc(0x2af)];_0x8ae02d[_0x50b0fc(0x1f4)][_0x50b0fc(0x1f2)](_0x1d87c9(_0x37da71=>{const _0x57cc8b=_0x50b0fc;var _0x11702f,_0x248cee;const {offsetX:_0x4ef788,offsetY:_0x2686ff}=_0x37da71,{x:_0x1596f2,y:_0x1b55a5}=_0x8ae02d[_0x57cc8b(0x1d4)](_0x2f585e[_0x57cc8b(0x354)]([_0x4ef788,_0x2686ff])),{scaleX:_0x17adb6,scaleY:_0x56b049}=_0x8ae02d[_0x57cc8b(0x237)](),_0x472164=_0x8ae02d['getViewport'](_0x477df6[_0x57cc8b(0x34f)]),_0x5bdb6b=_0x8ae02d['getVpScrollXYInfoByPosToVp'](_0x2f585e[_0x57cc8b(0x354)]([_0x1596f2,_0x1b55a5]),_0x472164),_0x53c49e=_0x3f4c0a['getCellPositionByOffset'](_0x4ef788,_0x2686ff,_0x17adb6,_0x56b049,_0x5bdb6b);((_0x11702f=this['_lastPointer'])==null?void 0x0:_0x11702f['column'])===_0x53c49e[_0x57cc8b(0x23b)]&&((_0x248cee=this[_0x57cc8b(0x351)])==null?void 0x0:_0x248cee[_0x57cc8b(0x2a2)])===_0x53c49e['row']||this[_0x57cc8b(0x1e3)]['forEach'](_0xb002f5=>{const _0x266785=_0x57cc8b;_0xb002f5[_0x266785(0x2e2)](_0x53c49e);});},0x64));}));}['_initActiveSwitch'](){const _0x2d1278=_0x30ce7c;this[_0x2d1278(0x287)](this[_0x2d1278(0x311)][_0x2d1278(0x1f5)]['subscribe'](_0x2322e6=>{const _0xd6180=_0x2d1278,_0xb42c40=new _0x498800();return _0x2322e6===T['Loaded']&&(_0xb42c40['dispose'](),_0xb42c40[_0xd6180(0x21f)](this[_0xd6180(0x1e6)][_0xd6180(0x226)][_0xd6180(0x27a)](_0x3f668d=>{const _0x3be48a=_0xd6180;_0x3f668d[_0x3be48a(0x2c3)]&&this[_0x3be48a(0x1e4)]['executeCommand'](_0x4fc551['id'],{'unitId':this[_0x3be48a(0x2af)]['unitId'],'subUnitId':_0x3f668d['active']});}))),()=>_0xb42c40[_0xd6180(0x2a8)]();}));}['_updateDiffMarks'](_0x202296,_0x497480){const _0x563127=_0x30ce7c;var _0x3ae617;const _0x4613bb=(_0x3ae617=this[_0x563127(0x2e1)][_0x563127(0x33d)]())==null?void 0x0:_0x3ae617['skeleton'];if(!_0x4613bb)return;this['_diffs'][_0x563127(0x205)](_0x5f224f=>{_0x5f224f['makeDirty']();});const {scene:_0x36a8ec}=this[_0x563127(0x2af)],_0x364455=Array['from'](_0x497480[_0x563127(0x27d)]())[_0x563127(0x252)](_0x266daf=>_0x497480[_0x563127(0x2f2)](_0x266daf)[_0x563127(0x252)](_0x13f09e=>{const _0x113868=_0x563127;var _0x325258;const {range:_0x3ee588,subUnitId:_0x300a58,unitId:_0x469f14}=_0x13f09e,{startColumn:_0x5a159e,startRow:_0x426355,endColumn:_0x2da21f,endRow:_0x54c035}=_0x3ee588,_0x501cde=_0x209d8d(_0x426355,_0x5a159e,_0x36a8ec,_0x4613bb),_0x54e897=_0x209d8d(_0x54c035,_0x2da21f,_0x36a8ec,_0x4613bb),{columnHeaderHeightAndMarginTop:_0x26d5c6}=_0x4613bb,{startX:_0xd693b3,startY:_0x4beeb8}=_0x501cde,{endX:_0x29905c,endY:_0x305ea8}=_0x54e897,_0x786351=_0x29905c-_0xd693b3,_0xd14700=_0x305ea8-_0x4beeb8,_0x376da8={'labelPosition':_0x4beeb8-_0x26d5c6>=0x14?_0x113868(0x271):_0x113868(0x288),'sheetID':_0x300a58,'range':_0x3ee588,'color':_0x113868(0x23a),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x113868(0x23a),'name':((_0x325258=this[_0x113868(0x311)][_0x113868(0x233)](_0x266daf))==null?void 0x0:_0x325258['name'])||'','selection':_0x469f14+'-'+_0x300a58+'-'+_0x3ee588['startColumn']+'-'+_0x3ee588['startRow']+'-'+_0x3ee588[_0x113868(0x20d)]+'-'+_0x3ee588[_0x113868(0x239)],'left':_0xd693b3,'top':_0x4beeb8,'width':_0x786351,'height':_0xd14700,'evented':!0x1,'zIndex':0x1};return new _0x606fc1('',_0x376da8);}))[_0x563127(0x236)]();_0x36a8ec[_0x563127(0x265)](_0x364455,0x1),this[_0x563127(0x1e3)]=new Set(_0x364455);}[_0x30ce7c(0x20b)](){const _0x494102=_0x30ce7c;var _0x577b95;(_0x577b95=this[_0x494102(0x1e3)])==null||_0x577b95[_0x494102(0x205)](_0x35b74d=>_0x35b74d[_0x494102(0x2a8)]());}[_0x30ce7c(0x1ed)](){const _0x5e6784=_0x30ce7c;return _0x35db7b(this[_0x5e6784(0x2ec)],this['_renderManagerService']);}};te=ws([C(0x1,_0x589a0a(E)),C(0x2,_0x589a0a($)),C(0x3,_0x3553ef),C(0x4,_0x138504),C(0x5,_0x589a0a(_0x6925bf)),C(0x6,_0x476082)],te);function Ps(){const _0x2e43ec=_0x30ce7c,_0x454f21=_0x3f2f12(E),_0x70b4a1=_0x2be2bb(_0x454f21[_0x2e43ec(0x25a)]),[_0x2ba363,_0x2e4515]=_0x5be4bd(!0x1),_0x38ffe4=cs(_0x70b4a1);return _0x70b4a1?_0x36b7d5('div',{'className':_0x2e43ec(0x360),'children':_0x270de0(_0x2e43ec(0x2bc),{'className':'univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','children':[_0x38ffe4[_0x2e43ec(0x252)]((_0xff29cf,_0x251cfa)=>_0x270de0(_0x533eaa,{'children':[_0x36b7d5($s,{'date':_0xff29cf[_0x2e43ec(0x293)]}),_0xff29cf['versions'][_0x2e43ec(0x252)]((_0x54c55d,_0x4f3125)=>_0x36b7d5(Vs,{'index':[_0x251cfa,_0x4f3125],'item':_0x54c55d},_0x251cfa+'-'+_0x4f3125))]},_0xff29cf['dateString'])),_0x2ba363&&_0x36b7d5(Ts,{})]})}):_0x36b7d5(Ls,{});}function Ts(){const _0x40b4ed=_0x30ce7c;return _0x36b7d5(_0x40b4ed(0x2bc),{'className':'univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','children':_0x36b7d5(ae,{'className':_0x40b4ed(0x213)})});}function Ls(){const _0x538d5f=_0x30ce7c;return _0x36b7d5('div',{'className':_0x538d5f(0x1f6),'children':_0x36b7d5(_0x538d5f(0x308),{'className':_0x538d5f(0x2a0),'children':_0x36b7d5(ae,{'className':_0x538d5f(0x2be)})})});}function $s(_0x54c880){const _0x348d83=_0x30ce7c,_0xfa3bc0=_0x3f2f12(_0x31174f),{date:_0x5e94dc}=_0x54c880;return _0x36b7d5(_0x348d83(0x2bc),{'className':_0x348d83(0x230),'children':ee(_0x5e94dc,_0xfa3bc0[_0x348d83(0x24d)]())});}function Vs(_0x3696b4){const _0xbd4b6b=_0x30ce7c,{item:_0x14f267,index:_0x2f4414}=_0x3696b4,{time:_0x5c837c,user:_0x5283d5}=_0x14f267,[_0x48a20f,_0x2c3650]=_0x2f4414,_0x5eaf61=_0x3f2f12(E),_0x4e69a8=_0x2be2bb(_0x5eaf61['currentVersion$'],'',!0x0)===_0x14f267['id'],_0x4675cf=_0x48a20f===0x0&&_0x2c3650===0x0,_0xb915a7=!_0x4675cf&&_0x5eaf61[_0xbd4b6b(0x1d8)],_0x3e830d=_0x3f2f12(_0x31174f),_0x11b91f=_0x3e830d[_0xbd4b6b(0x24d)](),_0x4d4bd3=re(_0x5c837c,_0x11b91f),_0x526bbf=_0x3e830d['t'](_0xbd4b6b(0x344)),_0x3a1884=_0x2c2367(_0xc86122=>{const _0x337d93=_0xbd4b6b;_0x5eaf61[_0x337d93(0x1d2)]!==T[_0x337d93(0x28d)]&&(_0x5eaf61['currentVersion']=_0xc86122);},[_0x5eaf61]),_0xb31139=_0x2c2367(_0x3522be=>{const _0x4827eb=_0xbd4b6b;_0x5eaf61[_0x4827eb(0x1ec)](_0x3522be);},[_0x5eaf61]);return _0x270de0('div',{'className':_0x21640f(_0xbd4b6b(0x350),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x4e69a8}),'onClick':()=>_0x3a1884(_0x14f267['id']),'children':[_0x270de0(_0xbd4b6b(0x2bc),{'className':_0xbd4b6b(0x2b7),'children':[_0x270de0(_0xbd4b6b(0x2bc),{'className':_0xbd4b6b(0x295),'children':[_0x36b7d5(_0xbd4b6b(0x308),{'children':_0x4d4bd3[_0xbd4b6b(0x2ef)]}),_0x4675cf&&_0x36b7d5(_0xbd4b6b(0x308),{'className':_0xbd4b6b(0x211),'children':_0x526bbf})]}),_0x36b7d5(_0xbd4b6b(0x2bc),{'children':_0xb915a7&&_0x36b7d5(_0x31bdb2,{'title':_0x3e830d['t']('editHistory.panel.revertDesc'),'children':_0x36b7d5(_0xbd4b6b(0x2bc),{'onClick':_0x461f9b=>{const _0x14d654=_0xbd4b6b;_0x461f9b[_0x14d654(0x215)](),_0xb31139(_0x14f267['id']);},'className':_0xbd4b6b(0x257),'children':_0x36b7d5(Le,{})})})})]}),_0x36b7d5(_0xbd4b6b(0x2bc),{'className':_0xbd4b6b(0x1ce),'children':as(_0x14f267,_0x3e830d)})]});}var ks=Object[_0x30ce7c(0x364)],Us=(_0x22c9d8,_0x539973,_0x20d136,_0x2d62d1)=>{const _0x11b2f8=_0x30ce7c;for(var _0x1ab2c9=_0x2d62d1>0x1?void 0x0:_0x2d62d1?ks(_0x539973,_0x20d136):_0x539973,_0x14a3b7=_0x22c9d8[_0x11b2f8(0x224)]-0x1,_0x4dd9dc;_0x14a3b7>=0x0;_0x14a3b7--)(_0x4dd9dc=_0x22c9d8[_0x14a3b7])&&(_0x1ab2c9=_0x4dd9dc(_0x1ab2c9)||_0x1ab2c9);return _0x1ab2c9;},k=(_0xb030dd,_0x332248)=>(_0x179a8f,_0x3bb11b)=>_0x332248(_0x179a8f,_0x3bb11b,_0xb030dd);const de='history-panel';let j=class extends _0x465e76{constructor(_0x4a2447,_0x3dfd87,_0xe271fe,_0x2f785e){const _0x56356b=_0x30ce7c;super(),l(this,_0x56356b(0x1db),null),(this[_0x56356b(0x292)]=_0x4a2447,this['_componentManager']=_0x3dfd87,this[_0x56356b(0x35c)]=_0xe271fe,this['_historyManagerService']=_0x2f785e,this[_0x56356b(0x296)]());}[_0x30ce7c(0x296)](){const _0x337b9e=_0x30ce7c;this[_0x337b9e(0x320)](),this[_0x337b9e(0x1bd)]();}[_0x30ce7c(0x1bd)](){const _0x540005=_0x30ce7c;if(this[_0x540005(0x1db)])return;const _0x40376c={'header':{'title':this['_localeService']['t'](_0x540005(0x1e7))},'children':{'label':de},'onClose':()=>{const _0x29402a=_0x540005;this[_0x29402a(0x1db)]=null,this[_0x29402a(0x311)][_0x29402a(0x2a7)]=ne[_0x29402a(0x25b)];}};this['_sidebarDisposable']=this[_0x540005(0x292)][_0x540005(0x1be)]({..._0x40376c});}[_0x30ce7c(0x320)](){const _0x3df618=_0x30ce7c;this[_0x3df618(0x287)](this[_0x3df618(0x29b)][_0x3df618(0x1de)](de,Ps)),this['disposeWithMe'](this[_0x3df618(0x292)]['scrollEvent$'][_0x3df618(0x1cc)](_0x57b2f8(0x64))['subscribe'](_0x7ae81e=>{const _0x5896b8=_0x3df618,{target:_0x6df1f3}=_0x7ae81e||{};if(_0x6df1f3){const {scrollTop:_0x23d2d4,scrollHeight:_0x426546,clientHeight:_0x337770}=_0x6df1f3;_0x23d2d4+_0x337770>=_0x426546-0x5&&this['_historyManagerService'][_0x5896b8(0x306)]();}}));}};j=Us([k(0x0,_0x308417),k(0x1,_0x589a0a(_0x80edea)),k(0x2,_0x589a0a(_0x31174f)),k(0x3,_0x589a0a(E))],j);class xs extends _0x465e76{constructor(){const _0x565c87=_0x30ce7c;super(),l(this,_0x565c87(0x278),new _0x2aba0d());}['open'](){return _0x51b4fc(()=>{});}[_0x30ce7c(0x2d3)](){}[_0x30ce7c(0x23f)](_0x1bffc3){}['getDialogs$'](){const _0x181703=_0x30ce7c;return this[_0x181703(0x278)]['asObservable']();}}var Hs=Object[_0x30ce7c(0x2a3)],Fs=Object[_0x30ce7c(0x364)],Ys=(_0x62540,_0x4dc7cd,_0x1848e0)=>_0x4dc7cd in _0x62540?Hs(_0x62540,_0x4dc7cd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1848e0}):_0x62540[_0x4dc7cd]=_0x1848e0,Bs=(_0x142862,_0x305a0f,_0x3a19bf,_0x5a247b)=>{const _0x52644d=_0x30ce7c;for(var _0x38f8a9=_0x5a247b>0x1?void 0x0:_0x5a247b?Fs(_0x305a0f,_0x3a19bf):_0x305a0f,_0x58b692=_0x142862[_0x52644d(0x224)]-0x1,_0x47b13a;_0x58b692>=0x0;_0x58b692--)(_0x47b13a=_0x142862[_0x58b692])&&(_0x38f8a9=_0x47b13a(_0x38f8a9)||_0x38f8a9);return _0x38f8a9;},J=(_0xa07a75,_0x2216d3)=>(_0x2a77df,_0xa9cec2)=>_0x2216d3(_0x2a77df,_0xa9cec2,_0xa07a75),js=(_0x54c3e1,_0x7806dd,_0xfcff45)=>Ys(_0x54c3e1,_0x7806dd+'',_0xfcff45);const As=_0x30ce7c(0x260);let se=class extends _0xdb2cbd{constructor(_0x2a7a25=_e,_0x4050e7,_0x6f8d0f,_0x400e5f){const _0x27cae2=_0x30ce7c;super(),this[_0x27cae2(0x32b)]=_0x2a7a25,this[_0x27cae2(0x222)]=_0x4050e7,this[_0x27cae2(0x32e)]=_0x6f8d0f,this[_0x27cae2(0x30f)]=_0x400e5f;const {..._0x23aac2}=_0x473893({},_e,this[_0x27cae2(0x32b)]);this[_0x27cae2(0x30f)][_0x27cae2(0x1c0)](we,_0x23aac2);}['onStarting'](){const _0x469597=_0x30ce7c;[[E],[B],[$],[Y],[j],[H],[_0x653d95,{'useClass':_0x1be59e}],[_0x494d67,{'useClass':xs}],[_0x258094,{'useClass':_0x2d9628}]][_0x469597(0x205)](_0x8d9e3=>this[_0x469597(0x222)][_0x469597(0x21f)](_0x8d9e3)),this[_0x469597(0x222)][_0x469597(0x2f2)](B);}[_0x30ce7c(0x206)](){const _0x3e32d5=_0x30ce7c;[[te]][_0x3e32d5(0x205)](_0x1dd789=>{const _0x21ecef=_0x3e32d5;this['disposeWithMe'](this[_0x21ecef(0x32e)][_0x21ecef(0x2df)](_0x118ac5[_0x21ecef(0x223)],_0x1dd789));}),this[_0x3e32d5(0x222)][_0x3e32d5(0x2f2)](H),this[_0x3e32d5(0x222)][_0x3e32d5(0x2f2)](j);}['onSteady'](){const _0x4a0a9e=_0x30ce7c;this[_0x4a0a9e(0x222)]['get']($);}};js(se,_0x30ce7c(0x338),As),se=Bs([_0x2662c2(_0x12f31b,_0x2386a3),J(0x1,_0x589a0a(_0x18fa16)),J(0x2,_0x138504),J(0x3,_0xccbdbe)],se);export{E as HistoryManagerService,ne as HistoryModeStatus,se as UniverEditHistoryViewerPlugin};
1
+ const _0x566977=_0x1884;(function(_0x1975bf,_0x4f1d44){const _0x58bb8f=_0x1884,_0x44d59b=_0x1975bf();while(!![]){try{const _0x5861a1=parseInt(_0x58bb8f(0x151))/0x1*(-parseInt(_0x58bb8f(0x1a6))/0x2)+parseInt(_0x58bb8f(0xc2))/0x3+parseInt(_0x58bb8f(0x245))/0x4*(parseInt(_0x58bb8f(0x12d))/0x5)+-parseInt(_0x58bb8f(0xe2))/0x6+-parseInt(_0x58bb8f(0xe1))/0x7+-parseInt(_0x58bb8f(0x21a))/0x8+parseInt(_0x58bb8f(0x14a))/0x9;if(_0x5861a1===_0x4f1d44)break;else _0x44d59b['push'](_0x44d59b['shift']());}catch(_0xee9634){_0x44d59b['push'](_0x44d59b['shift']());}}}(_0x5f1f,0x981ff));var Fe=Object[_0x566977(0x23a)],Ye=(_0x8b893c,_0x5ec216,_0x59d3dc)=>_0x5ec216 in _0x8b893c?Fe(_0x8b893c,_0x5ec216,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59d3dc}):_0x8b893c[_0x5ec216]=_0x59d3dc,l=(_0xf0e717,_0x4a9e34,_0x4f3795)=>Ye(_0xf0e717,typeof _0x4a9e34!=_0x566977(0x153)?_0x4a9e34+'':_0x4a9e34,_0x4f3795);function _0x5f1f(){const _0x4b1900=['defineProperty','HEADER','attrs','setFilter','onStarting','RenameSheet','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','VIRTUAL_VERSION_NOW','editHistory.info.loading','row','getDataRange','60XnpgKT','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','flat','getOwnPropertySymbols','univerjs-icon\x20univerjs-icon-','subscribe','_maskContainer','YUUMI_CONNECTOR_URL_NOT_FOUND','none','setCF','HideWorksheet','reduce','then','_historyFetchService','length','call','trim','white','FromArray','getCellPositionByOffset','concat','memberId','status','onSteady','pluginName','disposeUnit','rules','stopPropagation','m1Prime','blockMeta','_lastLabel','EMAIL_HAS_BEEN_BOUND','hasOwnProperty','get','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','ManageCollaborator','skeleton','Error','random','back-icon','ViewFilter','UNAUTHENTICATED','hideMask','ViemRwHgtClWdt','getVpScrollXYInfoByPosToVp','addProtection','YUUMI_ASYNCIO_CANCELLED','getRelativeToViewportCoord','triggerLoadVersions','_diffs','editHistory.panel.currentVersion','_initMaskContainer','3414084snKlbS','_config','UNIVER_SLIDE','showMask','_currentVersionDiff$','code','colorChannel1','endColumn','currentSkeleton$','body','loadingState','height','UNIVER_UNKNOWN','_init','icon','changesets','interceptor','absolute','editHistory.action.','data','url(#$1','editHistory.panel.cancel','InsertHyperlink','_removeDiffMarks','path','anonymous','currentVersion','USER_NOT_INVITED_CODE','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getOwnPropertyDescriptor','CONNECTOR_DATA_TOO_LARGE','2910621DKplOc','6474840JeVJhv','loading-multi-icon','split','APPLY_NON_SEQUENTIAL_REVISION','_maskElement','apply','indexOf','univer-text-gray-500','versions','getVersion','SelectProtectedCells','left','asObservable','mask','_context','setState','_permissionService','EditExtraObject','displayName','clear','span','_lastPointer','padStart','getMember','createElement','_transformMutationByOrder','fill','Today','#0B9EFB','now','primary','_renderManagerService','INTERNAL_ERROR','UniverIcon','loadSheet','string','triggerLoadSheet','fetchMissingChangesets','HideSheet','canRevert','onRendered','_dialogOptions$','ranges','focusUnit','SetWorksheetStyle','_versionDiffService','syncExecuteCommand','_initRender','toString','top','WECHAT_HAS_BEEN_BOUND','createUnit','INVALID_INVITE_CODE','YUUMI_ALL_TABLES_IS_INVALID','MoveWorksheet','isArray','historyListServerUrl','getDeserializedSheetBlock','INVITE_CODE_ALREADY_BOUND','FloatImg','mutations','Duplicate','onPointerMove$','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','exited','getViewport','currentVersionDiff$','replace','_sidebarDisposable','userID','subType','rgba(225,\x20225,\x20225,\x200.5)','tag','getUnitOnRev','InsertColumn','313165zECepI','Filter','RenameWorksheet','toISOString','getCurrentVersion','startColumn','url(#restore-icon_clip0_1247_2)','Loaded','filter','endRow','_univerInstanceService','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','unitId$','univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','map','users','entered','InsertRow','fetchThroughInterceptors','restore-icon','RwHgtClWdt','forValue','100%','user','display','executeCommand','entities','action','YUUMI_UNABLE_LOAD_URL','5821398ewjLQW','_updateDiffMarks','prototype','setFrozen','PY_RUNTIME_SCRIPT_ERROR','DeleteWorksheet','confirm','240531LfWNTo','[HistoryFetchService]:\x20request\x20snapshot\x20error!','symbol','children','_createMask','_versions$','unitId','zIndex','editHistory.panel.title','createSheet','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','Exited','getAncestorScale','defIds','Info','CopySheet','merge','getConfig','getCurrentUnitForType','editHistory.panel.revertDesc','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','getUnitId','Copy','_diffRangesMap','insertSheet','_openPanel','setConfig','currentColor','deleteProtection','revertSheet','dispose','forEach','versions$','SetCellStyle','updatePermissionPoint','NOT_FOUND','querySelector','Delete','style','state$','UNIVER_PROJECT','addSparkline','column','Sort','RestoreIcon','position','bottom','LICENSE_EXPORT_SIZE_EXCEEDED','PERMISSION_DENIED','from','endRev','range','_getActiveSubUnitId','univer-animate-spin','/universer-api/history','workbook','_commandService','history-panel','getCurrentLocale','univer-ml-2.5\x20univer-flex\x20univer-h-8\x20univer-w-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','CreatePermissionObject','svg','_createUnit','1000','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','UNRECOGNIZED','univer-m-auto\x20univer-animate-spin','find','hasCommand','UNDEFINED','CreateSheet','INVITE_CODE_REQUIRED','function','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','Loading','ensureVersion','permissionPointUpdate$','block','COMPLETION_FINISHED','UNIVER_DOC','LICENSE_MAX_UNITS_EXCEEDED','commands','View','editHistory.header.revert','cellValue','2HvYDLr','addObjects','loading','keys','LoadingMultiIcon','YUUMI_SUBSCRIPTION_NOT_FOUND','_cellEditorManagerService','0\x200\x2016\x2017','makeDirty','error','editHistory.panel.unknownUser','propertyIsEnumerable','YUUMI_AI_RUN_FAILED','LICENSE_IMPORT_SIZE_EXCEEDED','TOO_MANY_REQUESTS','onMouseMove','includes','userId','recoverTime','currentVersion$','setValue','params','_transformService','Export','createTime','_httpService','backgroundColor','loaded','CreateWorksheet','APPLY_PERMISSION_DENIED','APPLY_REVISION_CONFILICT','0\x200\x2016\x2016','_sidebarService','EditWorksheetCell','univer-flex\x20univer-items-center\x20univer-justify-center','_members','SNAPSHOT_INVALID_SNAPSHOT','_combineRanges','INVALID_ARGUMENT','_compressMutationService','getVersions','time','all','PivotTable','_sheetSkeletonManagerService','_loadingState$','loadingState$','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','_fetching','YUUMI_URL_COL_OUT_OF_RANGE','_revertRevision$','dateString','center','push','LICENSE_DISTRO_REJECTED','open','next','removeSheet','_uiPartsService','_historyManagerService','setDV','_confirmService','SNAPSHOT_HAS_BEEN_REMOVED','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','ViewHistory','BackIcon','_getSheetObject','revertRevision$','className','ALREADY_EXISTS','Share','_getAPIPrefix','values','_getRangesByMutation','ENSURE_SNAPSHOT_EXECUTION','SetRowStyle','_hasMore','EMAIL_VERIFY_CODE_MISMATCH','DeleteSheet','YUUMI_RATE_OVER_LIMIT','DeleteRow','CHANGESET_REVISION_CONFILICT','editHistory.panel.revertConfirm','_injector','has','rgba(58,\x2096,\x20247,\x200.20)','History','rule','DeleteColumn','MOBILE_HAS_BEEN_BOUND','justifyContent','editHistory.action.revertSheetPrefix','getMinutes','_currentVersion$','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','div','registerRenderModule','add','show','entries','MoveSheet','set','_unitId$','pipe','startRow','_messageService','defs','_status$','flex','_initActiveSwitch','getHours','disposeWithMe','_updateVersions','endRevision','SelectUnProtectedCells','sheet','2926144TYjLPe','_localeService','Edit','_configService','rev','COMPRESS_MUTATION_APPLY','Comment','1em','_canRevert','use','value','http://www.w3.org/2000/svg','_historyContainerId','_snapshotServerService','_extractRanges','triggerRevert','subUnitId','getDialogs$','YUUMI_NO_CUBOID_FOR_QUESTION','subscribeEvent','_componentManager','restore-icon_clip0_1247_2','assign','UNIVER_SHEET','idSuffix','APPLY_DUPLICATED','_workbookDataCache','LOGIN_FAILED','xlink:href','YUUMI_TABLE_NOT_FOUND_IN_UNIT','ZH_CN','evenodd'];_0x5f1f=function(){return _0x4b1900;};return _0x5f1f();}import{RevertRevisionMutation as _0x444c6d,CreateUnitMutation as _0x1af444,ISnapshotServerService as _0x4f6960,CompressMutationService as _0x29d7d7,transformSnapshotToWorkbookData as _0x3c0b26,ITransformService as _0x15768a,parseProtocolChangeset as _0x2a792e,isTransformMutationsSuccess as _0x23d374}from'@univerjs-pro/collaboration';import{SnapshotServerOverHTTPService as _0x3db04b,CollaborationImageIoService as _0x520df6}from'@univerjs-pro/collaboration-client';import{Disposable as _0x5590c1,LocaleType as _0x4e34de,IUniverInstanceService as _0x994981,ICommandService as _0xb75958,IConfigService as _0x529bdf,Inject as _0x2acfaf,UniverInstanceType as _0x8dc024,LocaleService as _0x2a7309,IPermissionService as _0x5ceb03,Injector as _0x3a07f0,ObjectMatrix as _0x297bff,debounce as _0x57e50a,DisposableCollection as _0x10bdaa,toDisposable as _0x4e2c66,DependentOn as _0x4fb3d1,Plugin as _0x4f728f,merge as _0x1c63d3}from'@univerjs/core';import{IImageIoService as _0x12e43a}from'@univerjs/drawing';import{IRenderManagerService as _0x576170,Vector2 as _0x2ed8fd,SHEET_VIEWPORT_KEY as _0x34386c}from'@univerjs/engine-render';import{HTTPService as _0x5fbc9b,UniverNetworkPlugin as _0x1928d4}from'@univerjs/network';import{ICellEditorManagerService as _0x1831d9,SheetSkeletonManagerService as _0x416df7,getCoordByCell as _0x4f31d8,getSheetObject as _0x50bbec,UniverSheetsUIPlugin as _0x3d00ef}from'@univerjs/sheets-ui';import{IMessageService as _0x1a43e3,IConfirmService as _0x205399,useDependency as _0x363c8e,useObservable as _0x4edcff,IUIPartsService as _0x422117,BuiltInUIPart as _0x1f15d5,connectInjector as _0x1ef8a1,ISidebarService as _0x2b9a0b,ComponentManager as _0x3c9487,IDialogService as _0x21a344}from'@univerjs/ui';import{MessageType as _0x4b2766,clsx as _0x28ba81,Button as _0x4085d5,borderBottomClassName as _0x2d6598,Tooltip as _0x1daa71}from'@univerjs/design';import{InsertSheetMutation as _0x59aa06,RemoveSheetMutation as _0x2f0e9e,SetFrozenMutation as _0x5ca746,AddWorksheetProtectionMutation as _0x3ba2a3,AddRangeProtectionMutation as _0x44bfb,DeleteRangeProtectionMutation as _0x1430f7,DeleteWorksheetProtectionMutation as _0x17899b,WorkbookEditablePermission as _0x12faab,WorkbookRenameSheetPermission as _0x366ec5,WorkbookMoveSheetPermission as _0x33ba42,WorkbookHideSheetPermission as _0x3b92d8,SetWorksheetHideMutation as _0x4f98d0,SetRangeValuesMutation as _0x4db3b1,SetRangeProtectionMutation as _0x493598,ReorderRangeMutation as _0x2f09f9,RemoveNumfmtMutation as _0x12f0ea,SetNumfmtMutation as _0x178f5e,MoveColsMutation as _0x35ed85,MoveRowsMutation as _0x195784,MoveRangeMutation as _0x4f36b2,InsertColMutation as _0x1ada67,InsertRowMutation as _0x7aad2e,AddWorksheetMergeMutation as _0x4dc5d6,RangeMergeUtil as _0x46ea24,findAllRectangle as _0x40f121,SetWorksheetActiveOperation as _0x11b1e6}from'@univerjs/sheets';import{BehaviorSubject as _0x47ae32,combineLatest as _0x452eb4,switchMap as _0x153a9c,map as _0x1521cb,of as _0x4b3fd5,debounceTime as _0x567a57,Subject as _0x315d50}from'rxjs';import{AddSheetSparklineMutation as _0x244d4f}from'@univerjs-pro/sheets-sparkline';import{AddDataValidationMutation as _0x28c162,UpdateDataValidationMutation as _0x4fe83e}from'@univerjs/data-validation';import{SetConditionalRuleMutation as _0x31ec97,AddConditionalRuleMutation as _0x1a0fff}from'@univerjs/sheets-conditional-formatting';import{SetSheetsFilterRangeMutation as _0x145de4}from'@univerjs/sheets-filter';import{jsxs as _0x2cda88,jsx as _0x1ad646}from'react/jsx-runtime';import{forwardRef as _0x37bf36,useRef as _0x6e038,createElement as _0x1089bd,useCallback as _0x12ae05,useState as _0x14e544,Fragment as _0xd810d6}from'react';import{SheetCollabCursorShape as _0x3f648d}from'@univerjs-pro/collaboration-client-ui';const we='edit-history-viewer.config',_e={};var ss=Object[_0x566977(0xdf)],is=(_0x581150,_0x149321,_0x5c8760,_0x4f4834)=>{const _0x404ec1=_0x566977;for(var _0x11964=_0x4f4834>0x1?void 0x0:_0x4f4834?ss(_0x149321,_0x5c8760):_0x149321,_0x15b067=_0x581150[_0x404ec1(0x253)]-0x1,_0x495824;_0x15b067>=0x0;_0x15b067--)(_0x495824=_0x581150[_0x15b067])&&(_0x11964=_0x495824(_0x11964)||_0x11964);return _0x11964;},rs=(_0x1ee967,_0x35fa61)=>(_0x1ca9fb,_0x424c0f)=>_0x35fa61(_0x1ca9fb,_0x424c0f,_0x1ee967);let H=class extends _0x5590c1{constructor(_0x3f8764){const _0x8a695a=_0x566977;super(),this['_cellEditorManagerService']=_0x3f8764,this[_0x8a695a(0xcf)]();}[_0x566977(0xcf)](){const _0xf009d7=_0x566977;this[_0xf009d7(0x215)](this[_0xf009d7(0x1ac)][_0xf009d7(0x178)][_0xf009d7(0x24a)](_0x1341a1=>{const _0x4f190f=_0xf009d7;_0x1341a1!=null&&_0x1341a1[_0x4f190f(0x208)]&&this['_cellEditorManagerService'][_0x4f190f(0xf1)]({'show':!0x1});}));}};H=is([rs(0x0,_0x1831d9)],H);var X=(_0x25b239=>(_0x25b239[_0x25b239[_0x566977(0x196)]=0x0]=_0x566977(0x196),_0x25b239[_0x25b239['OK']=0x1]='OK',_0x25b239[_0x25b239['INTERNAL_ERROR']=0x2]=_0x566977(0x102),_0x25b239[_0x25b239['PERMISSION_DENIED']=0x3]=_0x566977(0x181),_0x25b239[_0x25b239[_0x566977(0x174)]=0x4]=_0x566977(0x174),_0x25b239[_0x25b239[_0x566977(0xb7)]=0x5]=_0x566977(0xb7),_0x25b239[_0x25b239[_0x566977(0x1eb)]=0x6]=_0x566977(0x1eb),_0x25b239[_0x25b239[_0x566977(0x1cc)]=0x7]=_0x566977(0x1cc),_0x25b239[_0x25b239[_0x566977(0x1b4)]=0x8]=_0x566977(0x1b4),_0x25b239[_0x25b239[_0x566977(0x19f)]=0x9]=_0x566977(0x19f),_0x25b239[_0x25b239[_0x566977(0x235)]=0xa]=_0x566977(0x235),_0x25b239[_0x25b239['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x25b239[_0x25b239[_0x566977(0x19a)]=0xc]=_0x566977(0x19a),_0x25b239[_0x25b239[_0x566977(0x1f3)]=0xd]=_0x566977(0x1f3),_0x25b239[_0x25b239[_0x566977(0x246)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x25b239[_0x25b239[_0x566977(0x1f7)]=0x1389]=_0x566977(0x1f7),_0x25b239[_0x25b239[_0x566977(0x1ca)]=0x1771]=_0x566977(0x1ca),_0x25b239[_0x25b239[_0x566977(0x1e4)]=0x1772]=_0x566977(0x1e4),_0x25b239[_0x25b239[_0x566977(0x1f0)]=0x1773]=_0x566977(0x1f0),_0x25b239[_0x25b239['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x25b239[_0x25b239[_0x566977(0xe5)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x25b239[_0x25b239['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x566977(0x1c4),_0x25b239[_0x25b239[_0x566977(0x1c3)]=0x1b5c]=_0x566977(0x1c3),_0x25b239[_0x25b239[_0x566977(0x233)]=0x1b5d]=_0x566977(0x233),_0x25b239[_0x25b239[_0x566977(0xe0)]=0x1f41]=_0x566977(0xe0),_0x25b239[_0x25b239[_0x566977(0x1a1)]=0x2329]=_0x566977(0x1a1),_0x25b239[_0x25b239[_0x566977(0x15b)]=0x232a]=_0x566977(0x15b),_0x25b239[_0x25b239['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x566977(0x1b3),_0x25b239[_0x25b239['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x566977(0x180),_0x25b239[_0x25b239[_0x566977(0x1dc)]=0x232d]=_0x566977(0x1dc),_0x25b239[_0x25b239[_0x566977(0x149)]=0x2711]=_0x566977(0x149),_0x25b239[_0x25b239[_0x566977(0x1d7)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x25b239[_0x25b239[_0x566977(0x1f5)]=0x2713]=_0x566977(0x1f5),_0x25b239[_0x25b239[_0x566977(0x1ab)]=0x2714]=_0x566977(0x1ab),_0x25b239[_0x25b239[_0x566977(0x22c)]=0x271a]=_0x566977(0x22c),_0x25b239[_0x25b239[_0x566977(0xbc)]=0x271b]=_0x566977(0xbc),_0x25b239[_0x25b239[_0x566977(0x237)]=0x271c]=_0x566977(0x237),_0x25b239[_0x25b239['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x566977(0x117),_0x25b239[_0x25b239['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x566977(0xde),_0x25b239[_0x25b239[_0x566977(0x1b2)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x25b239[_0x25b239[_0x566977(0x24c)]=0x2720]=_0x566977(0x24c),_0x25b239[_0x25b239[_0x566977(0x14e)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x25b239[_0x25b239['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x25b239[_0x25b239[_0x566977(0x116)]=0x2ee2]='INVALID_INVITE_CODE',_0x25b239[_0x25b239[_0x566977(0x198)]=0x2ee3]=_0x566977(0x198),_0x25b239[_0x25b239['USER_NOT_INVITED_CODE']=0x2ee4]=_0x566977(0xdd),_0x25b239[_0x25b239[_0x566977(0x11c)]=0x2ee5]=_0x566977(0x11c),_0x25b239[_0x25b239['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x566977(0x114),_0x25b239[_0x25b239[_0x566977(0x1ff)]=0x32ca]=_0x566977(0x1ff),_0x25b239[_0x25b239['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x566977(0xad),_0x25b239[_0x25b239[_0x566977(0x192)]=-0x1]=_0x566977(0x192),_0x25b239))(X||{}),F=(_0x4186b0=>(_0x4186b0[_0x4186b0[_0x566977(0xce)]=0x0]=_0x566977(0xce),_0x4186b0[_0x4186b0[_0x566977(0x1a0)]=0x1]=_0x566977(0x1a0),_0x4186b0[_0x4186b0['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x4186b0[_0x4186b0[_0x566977(0xc4)]=0x3]='UNIVER_SLIDE',_0x4186b0[_0x4186b0[_0x566977(0x179)]=0x4]=_0x566977(0x179),_0x4186b0[_0x4186b0[_0x566977(0x192)]=-0x1]=_0x566977(0x192),_0x4186b0))(F||{}),b=(_0x473874=>(_0x473874[_0x473874['View']=0x0]=_0x566977(0x1a3),_0x473874[_0x473874[_0x566977(0x21c)]=0x1]=_0x566977(0x21c),_0x473874[_0x473874[_0x566977(0xb1)]=0x2]=_0x566977(0xb1),_0x473874[_0x473874['Print']=0x3]='Print',_0x473874[_0x473874[_0x566977(0x11f)]=0x4]=_0x566977(0x11f),_0x473874[_0x473874[_0x566977(0x220)]=0x5]=_0x566977(0x220),_0x473874[_0x473874['Copy']=0x6]=_0x566977(0x167),_0x473874[_0x473874[_0x566977(0x1ec)]=0x7]='Share',_0x473874[_0x473874[_0x566977(0x1bd)]=0x8]=_0x566977(0x1bd),_0x473874[_0x473874[_0x566977(0x118)]=0x9]=_0x566977(0x118),_0x473874[_0x473874['DeleteWorksheet']=0xa]=_0x566977(0x14f),_0x473874[_0x473874[_0x566977(0x24f)]=0xb]=_0x566977(0x24f),_0x473874[_0x473874[_0x566977(0x12f)]=0xc]=_0x566977(0x12f),_0x473874[_0x473874[_0x566977(0x1c2)]=0xd]='CreateWorksheet',_0x473874[_0x473874[_0x566977(0x10e)]=0xe]=_0x566977(0x10e),_0x473874[_0x473874[_0x566977(0x1c7)]=0xf]=_0x566977(0x1c7),_0x473874[_0x473874[_0x566977(0xd8)]=0x10]=_0x566977(0xd8),_0x473874[_0x473874[_0x566977(0x17c)]=0x11]='Sort',_0x473874[_0x473874[_0x566977(0x12e)]=0x12]=_0x566977(0x12e),_0x473874[_0x473874[_0x566977(0x1d1)]=0x13]=_0x566977(0x1d1),_0x473874[_0x473874[_0x566977(0x11d)]=0x14]='FloatImg',_0x473874[_0x473874[_0x566977(0x1fc)]=0x15]=_0x566977(0x1fc),_0x473874[_0x473874[_0x566977(0x141)]=0x16]=_0x566977(0x141),_0x473874[_0x473874['ViemRwHgtClWdt']=0x17]=_0x566977(0xb9),_0x473874[_0x473874[_0x566977(0xb6)]=0x18]='ViewFilter',_0x473874[_0x473874[_0x566977(0x20a)]=0x19]=_0x566977(0x20a),_0x473874[_0x473874[_0x566977(0x1f4)]=0x1a]=_0x566977(0x1f4),_0x473874[_0x473874[_0x566977(0x108)]=0x1b]='HideSheet',_0x473874[_0x473874[_0x566977(0x160)]=0x1c]=_0x566977(0x160),_0x473874[_0x473874[_0x566977(0x23f)]=0x1d]='RenameSheet',_0x473874[_0x473874[_0x566977(0x197)]=0x1e]=_0x566977(0x197),_0x473874[_0x473874['SelectProtectedCells']=0x1f]=_0x566977(0xec),_0x473874[_0x473874[_0x566977(0x218)]=0x20]=_0x566977(0x218),_0x473874[_0x473874[_0x566977(0x172)]=0x21]='SetCellStyle',_0x473874[_0x473874['SetCellValue']=0x22]='SetCellValue',_0x473874[_0x473874[_0x566977(0x1f1)]=0x23]=_0x566977(0x1f1),_0x473874[_0x473874['SetColumnStyle']=0x24]='SetColumnStyle',_0x473874[_0x473874[_0x566977(0x13e)]=0x25]='InsertRow',_0x473874[_0x473874['InsertColumn']=0x26]=_0x566977(0x12c),_0x473874[_0x473874[_0x566977(0x1f6)]=0x27]='DeleteRow',_0x473874[_0x473874[_0x566977(0x1fe)]=0x28]=_0x566977(0x1fe),_0x473874[_0x473874[_0x566977(0xf3)]=0x29]='EditExtraObject',_0x473874[_0x473874[_0x566977(0x176)]=0x2a]=_0x566977(0x176),_0x473874[_0x473874['RecoverHistory']=0x2b]='RecoverHistory',_0x473874[_0x473874[_0x566977(0x1e6)]=0x2c]='ViewHistory',_0x473874[_0x473874[_0x566977(0x18d)]=0x2d]=_0x566977(0x18d),_0x473874[_0x473874[_0x566977(0x192)]=-0x1]=_0x566977(0x192),_0x473874))(b||{});function ns(_0x6666cb){const _0x28ec99=_0x566977;return!!(_0x6666cb&&_0x6666cb['code']&&_0x6666cb[_0x28ec99(0xc7)]!==X['OK']&&_0x6666cb[_0x28ec99(0xc7)]!=='OK');}const re=(_0x1900a5,_0x52a704)=>{const _0x31b88c=_0x566977;if(!_0x1900a5)return{'date':'','time':''};const _0x20a725=new Date(_0x1900a5),_0x26afb4=_0x20a725[_0x31b88c(0x130)]()[_0x31b88c(0xe4)]('T')[0x0];switch(_0x52a704){case _0x4e34de[_0x31b88c(0x238)]:return{'date':ee(_0x26afb4,_0x52a704),'time':_0x20a725['getHours']()+':'+String(_0x20a725[_0x31b88c(0x202)]())[_0x31b88c(0xf8)](0x2,'0')};default:return{'date':ee(_0x26afb4,_0x52a704),'time':_0x20a725[_0x31b88c(0x214)]()+':'+_0x20a725[_0x31b88c(0x202)]()};}},as=(_0x293117,_0x472c00)=>{const _0x45d0d7=_0x566977,_0x3cbffa=_0x293117[_0x45d0d7(0x144)]||_0x472c00['t'](_0x45d0d7(0x1b0));if(_0x293117[_0x45d0d7(0x1a2)]['some'](_0x122a29=>_0x122a29===_0x444c6d['id'])&&_0x293117[_0x45d0d7(0x1b8)]){const _0x2bde07=re(_0x293117[_0x45d0d7(0x1b8)],_0x472c00[_0x45d0d7(0x18b)]()),_0x4e93a7=_0x2bde07['date']+'\x20'+_0x2bde07[_0x45d0d7(0x1cf)];return _0x3cbffa+'\x20'+_0x472c00['t'](_0x45d0d7(0x201))+'\x20'+_0x4e93a7+'\x20'+_0x472c00['t']('editHistory.action.revertSheetSuffix');}const _0x3ff65b=os(_0x293117),_0x37b744=_0x3ff65b[_0x45d0d7(0x253)]===0x1?_0x472c00['t'](_0x3ff65b[0x0]):''+_0x472c00['t'](_0x3ff65b[0x0])+_0x472c00['t']('editHistory.action.etc');return _0x3cbffa+'\x20'+_0x37b744;};function os(_0x1ffb68){const _0x49345c=_0x566977;if(_0x1ffb68[_0x49345c(0x1a2)][_0x49345c(0x253)]===0x0)return[''];const _0x2b2bb=_0x49345c(0xd4),_0x2e300b=_0x2b2bb+'editSheet',_0x5362e0=[{'id':_0x1af444['id'],'action':_0x2b2bb+_0x49345c(0x15a)},{'id':_0x444c6d['id'],'action':_0x2b2bb+_0x49345c(0x16e)},{'id':_0x59aa06['id'],'action':_0x2b2bb+_0x49345c(0x169)},{'id':_0x2f0e9e['id'],'action':_0x2b2bb+_0x49345c(0x1df)},{'id':_0x5ca746['id'],'action':_0x2b2bb+_0x49345c(0x14d)},{'id':_0x145de4['id'],'action':_0x2b2bb+_0x49345c(0x23d)},{'id':_0x28c162['id'],'action':_0x2b2bb+_0x49345c(0x1e2)},{'id':_0x4fe83e['id'],'action':_0x2b2bb+_0x49345c(0x1e2)},{'id':_0x31ec97['id'],'action':_0x2b2bb+_0x49345c(0x24e)},{'id':_0x1a0fff['id'],'action':_0x2b2bb+'setCF'},{'id':_0x3ba2a3['id'],'action':_0x2b2bb+_0x49345c(0xbb)},{'id':_0x44bfb['id'],'action':_0x2b2bb+_0x49345c(0xbb)},{'id':_0x244d4f['id'],'action':_0x2b2bb+_0x49345c(0x17a)},{'id':_0x1430f7['id'],'action':_0x2b2bb+_0x49345c(0x16d)},{'id':_0x17899b['id'],'action':_0x2b2bb+'deleteProtection'}][_0x49345c(0x135)](_0x191e15=>_0x1ffb68[_0x49345c(0x1a2)][_0x49345c(0x1b6)](_0x191e15['id']));return _0x5362e0!=null&&_0x5362e0['length']?_0x5362e0[_0x49345c(0x13b)](_0x258424=>_0x258424[_0x49345c(0x148)]):[_0x2e300b];}function ee(_0x18acbe,_0x19ee5f){const _0x4ab234=_0x566977,[_0x2d4110,_0x594485,_0x3b5e2d]=new Date()['toISOString']()['split']('T')[0x0][_0x4ab234(0xe4)]('-'),[_0x1120dd,_0x1b231c,_0x4e1e87]=_0x18acbe[_0x4ab234(0xe4)]('-'),_0x2ff4c4=_0x2d4110===_0x1120dd&&_0x594485===_0x1b231c&&_0x3b5e2d===_0x4e1e87;let _0x12355c='',_0x12aab2='',_0x2519c0='';switch(_0x19ee5f){case _0x4e34de['ZH_CN']:return _0x2ff4c4?'今天':(_0x12355c=_0x2d4110===_0x1120dd?'':_0x1120dd+'年',_0x12aab2=_0x1b231c+'月',_0x2519c0=_0x4e1e87+'日',''+_0x12355c+_0x12aab2+_0x2519c0);default:return _0x2ff4c4?_0x4ab234(0xfd):(_0x12355c=_0x2d4110===_0x1120dd?'':_0x1120dd+'-',_0x12aab2=_0x1b231c+'-',_0x2519c0=''+_0x4e1e87,''+_0x12355c+_0x12aab2+_0x2519c0);}}function cs(_0x447ec5){const _0x53bc09=_0x566977;return _0x447ec5?_0x447ec5[_0x53bc09(0x250)]((_0x1834df,_0x4eede8)=>{const _0xac5a9f=_0x53bc09,_0x10723a=new Date(_0x4eede8[_0xac5a9f(0x1cf)])[_0xac5a9f(0x130)]()[_0xac5a9f(0xe4)]('T')[0x0];return _0x1834df['length']>0x0&&_0x1834df[_0x1834df[_0xac5a9f(0x253)]-0x1][_0xac5a9f(0x1d9)]===_0x10723a?_0x1834df[_0x1834df['length']-0x1][_0xac5a9f(0xea)][_0xac5a9f(0x1db)](_0x4eede8):_0x1834df[_0xac5a9f(0x1db)]({'dateString':_0x10723a,'versions':[_0x4eede8]}),_0x1834df;},[]):[];}var ls=Object[_0x566977(0xdf)],us=(_0x549e17,_0x3438b2,_0xb1da40,_0x118c56)=>{const _0x501daa=_0x566977;for(var _0x3cea30=_0x118c56>0x1?void 0x0:_0x118c56?ls(_0x3438b2,_0xb1da40):_0x3438b2,_0x5503d0=_0x549e17[_0x501daa(0x253)]-0x1,_0x31e0fb;_0x5503d0>=0x0;_0x5503d0--)(_0x31e0fb=_0x549e17[_0x5503d0])&&(_0x3cea30=_0x31e0fb(_0x3cea30)||_0x3cea30);return _0x3cea30;},D=(_0x859aaa,_0x5f3427)=>(_0x58cc09,_0x337b7c)=>_0x5f3427(_0x58cc09,_0x337b7c,_0x859aaa);const _s=_0x566977(0x187);let Y=class extends _0x5590c1{constructor(_0x75d0ac,_0x3cf66a,_0x5581c8,_0x2f3592,_0x1e2421,_0x364c4d){const _0x4450fe=_0x566977;super(),l(this,_0x4450fe(0x234),new Map()),(this[_0x4450fe(0x227)]=_0x75d0ac,this['_univerInstanceService']=_0x3cf66a,this[_0x4450fe(0x189)]=_0x5581c8,this[_0x4450fe(0x21d)]=_0x2f3592,this[_0x4450fe(0x1bf)]=_0x1e2421,this[_0x4450fe(0x1cd)]=_0x364c4d);}[_0x566977(0x16f)](){const _0x4f47c4=_0x566977;this['_workbookDataCache'][_0x4f47c4(0xf5)](),super[_0x4f47c4(0x16f)]();}async[_0x566977(0x1ce)](_0x55d6a3,_0x31657d){const _0x545738=_0x566977,_0x279f8b=this['_getAPIPrefix']()+'/'+_0x55d6a3+'/list?length=20'+(_0x31657d?'&lastLabel='+_0x31657d:'');try{const _0x2f336d=(await this[_0x545738(0x1bf)][_0x545738(0xaf)](_0x279f8b))[_0x545738(0xcb)];if(_0x2f336d&&_0x2f336d[_0x545738(0x1af)]&&_0x2f336d[_0x545738(0x1af)][_0x545738(0xc7)]===X['OK']){const {hasMore:_0x5464aa,lastLabel:_0x58d3e1}=_0x2f336d,_0xa577c1=hs(_0x2f336d),_0x2c9723=_0x2f336d[_0x545738(0x147)][_0x545738(0x13c)];return{'hasMore':_0x5464aa,'lastLabel':_0x58d3e1,'versions':_0xa577c1,'members':_0x2c9723};}}catch(_0x4a672b){console[_0x545738(0x1af)](_0x4a672b);}return null;}[_0x566977(0x1ed)](){const _0x35f1b1=_0x566977;var _0x49c3d1;const _0x4249f8=this[_0x35f1b1(0x21d)][_0x35f1b1(0x162)](we);return(_0x49c3d1=_0x4249f8==null?void 0x0:_0x4249f8[_0x35f1b1(0x11a)])!=null?_0x49c3d1:_s;}async[_0x566977(0x104)](_0x2a7bf2,_0xaf9b11,_0x6dcff1){const _0x41c63c=_0x566977;var _0x1bff9b,_0x4039c2;_0x6dcff1===void 0x0&&(_0x6dcff1={}),this['_workbookDataCache']['has'](_0x2a7bf2)||this[_0x41c63c(0x234)]['set'](_0x2a7bf2,new Map());const {snapshot:_0x333a21,changesets:_0x3b8ec2,error:_0x5ff5bc}=await this['_snapshotServerService'][_0x41c63c(0x12b)](_0x6dcff1,{'unitID':_0x2a7bf2,'type':F[_0x41c63c(0x231)],'revision':_0xaf9b11});if(ns(_0x5ff5bc)||!_0x333a21||!_0x333a21[_0x41c63c(0x188)])throw new Error(_0x41c63c(0x152));const _0x7f3ed0=(_0x1bff9b=_0x3b8ec2==null?void 0x0:_0x3b8ec2[_0x41c63c(0x253)])!=null?_0x1bff9b:0x0;if(_0xaf9b11!==0x0&&_0x333a21[_0x41c63c(0x21e)]+_0x7f3ed0!==_0xaf9b11)throw new Error('[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!');const {workbook:_0x579f18}=_0x333a21,_0x35f7d1=_0x579f18[_0x41c63c(0xab)]?Object['entries'](_0x579f18['blockMeta'])[_0x41c63c(0x13b)](([_0x3d3d3c,_0x5ad85c])=>{const _0x2f7226=_0x41c63c;var _0x2d80c2,_0x3a6ceb;return(_0x3a6ceb=(_0x2d80c2=_0x5ad85c['blocks'])==null?void 0x0:_0x2d80c2[_0x2f7226(0x13b)](_0x4d0b3d=>_0x4d0b3d))!=null?_0x3a6ceb:[];})['flat']():[],_0x37d47f=(await Promise[_0x41c63c(0x1d0)](_0x35f7d1[_0x41c63c(0x13b)](_0x253ab3=>this['_snapshotServerService'][_0x41c63c(0x11b)](_0x6dcff1,{'unitID':_0x2a7bf2,'type':F['UNIVER_SHEET'],'blockID':_0x253ab3})[_0x41c63c(0x251)](_0x807474=>_0x807474[_0x41c63c(0x19e)]))))[_0x41c63c(0x135)](_0x1476ee=>!!_0x1476ee),_0x547032=_0x3c0b26(_0x333a21,_0x37d47f,_0x6dcff1);return(_0x4039c2=this[_0x41c63c(0x234)][_0x41c63c(0xaf)](_0x2a7bf2))==null||_0x4039c2['set'](_0xaf9b11,{'workbook':_0x547032}),new Promise(_0x34e03b=>{const _0x3dcc87=_0x41c63c,_0x2d4551=this['_univerInstanceService'][_0x3dcc87(0x163)](_0x8dc024[_0x3dcc87(0x231)]);_0x2d4551?(this[_0x3dcc87(0x137)][_0x3dcc87(0xa7)](_0x2d4551['getUnitId']()),setTimeout(()=>{const _0x1ceeb3=_0x3dcc87;this[_0x1ceeb3(0x18f)](_0x547032,_0x3b8ec2),_0x34e03b(!0x0);},0x0)):(this[_0x3dcc87(0x18f)](_0x547032,_0x3b8ec2),_0x34e03b(!0x0));});}['_createUnit'](_0x2ed9a1,_0x409d87){const _0x2ba61a=_0x566977,_0x2e9b7a=this[_0x2ba61a(0x137)][_0x2ba61a(0x115)](_0x8dc024[_0x2ba61a(0x231)],_0x2ed9a1);this[_0x2ba61a(0x137)][_0x2ba61a(0x10d)](_0x2e9b7a[_0x2ba61a(0x166)]());const _0x6ccec=this[_0x2ba61a(0x1cd)][_0x2ba61a(0xd2)][_0x2ba61a(0x13f)](this['_compressMutationService'][_0x2ba61a(0xd2)]['getInterceptPoints']()[_0x2ba61a(0x21f)]);return _0x409d87==null||_0x409d87[_0x2ba61a(0x170)](_0x327ac4=>{const _0x3ad199=_0x2ba61a,_0x56bb1c=_0x327ac4[_0x3ad199(0x11e)]['map'](_0x45bf60=>({'id':_0x45bf60['id'],'params':JSON['parse'](_0x45bf60[_0x3ad199(0xd5)])}));({..._0x327ac4,'mutations':_0x6ccec(_0x56bb1c,null)||_0x56bb1c}[_0x3ad199(0x11e)][_0x3ad199(0x170)](_0x3bfc4a=>{const _0x2f85f5=_0x3ad199;this['_commandService'][_0x2f85f5(0x195)](_0x3bfc4a['id'])&&this[_0x2f85f5(0x189)][_0x2f85f5(0x110)](_0x3bfc4a['id'],_0x3bfc4a[_0x2f85f5(0x1bb)]);}));}),_0x2e9b7a;}};Y=us([D(0x0,_0x4f6960),D(0x1,_0x994981),D(0x2,_0xb75958),D(0x3,_0x529bdf),D(0x4,_0x2acfaf(_0x5fbc9b)),D(0x5,_0x2acfaf(_0x29d7d7))],Y);function hs(_0x5a5a7c){const _0x5642a0=_0x566977;var _0x5a74e2,_0x5e3fcd;const _0x2498bd=[],{entities:_0x466565,historyIds:_0x44c753}=_0x5a5a7c,{datas:_0x1196d5,users:_0x401587}=_0x466565;for(const _0x4cf556 of _0x44c753)if(_0x1196d5[_0x4cf556]){const _0x3d502f=!!((_0x5a74e2=_0x401587[_0x1196d5[_0x4cf556][_0x5642a0(0x1b7)]])!=null&&_0x5a74e2[_0x5642a0(0xdb)]);_0x2498bd[_0x5642a0(0x1db)]({'unitId':_0x1196d5[_0x4cf556]['unitId'],'user':_0x3d502f?'':((_0x5e3fcd=_0x401587==null?void 0x0:_0x401587[_0x1196d5[_0x4cf556][_0x5642a0(0x1b7)]])==null?void 0x0:_0x5e3fcd['name'])||'','isAnonymous':_0x3d502f,'id':_0x4cf556,'time':_0x1196d5[_0x4cf556][_0x5642a0(0x1be)]?Number(_0x1196d5[_0x4cf556][_0x5642a0(0x1be)]):void 0x0,'commands':_0x1196d5[_0x4cf556]['command'],'startRev':Number(_0x1196d5[_0x4cf556]['startRevision']),'endRev':Number(_0x1196d5[_0x4cf556][_0x5642a0(0x217)]),'recoverTime':_0x1196d5[_0x4cf556][_0x5642a0(0x1b8)]?Number(_0x1196d5[_0x4cf556][_0x5642a0(0x1b8)]):void 0x0});}return _0x2498bd;}var ds=Object[_0x566977(0xdf)],vs=(_0x50e781,_0x419103,_0x5bd350,_0x4463e3)=>{const _0x5ebf74=_0x566977;for(var _0x6ef0c7=_0x4463e3>0x1?void 0x0:_0x4463e3?ds(_0x419103,_0x5bd350):_0x419103,_0x1bc6d9=_0x50e781[_0x5ebf74(0x253)]-0x1,_0x4cb1f1;_0x1bc6d9>=0x0;_0x1bc6d9--)(_0x4cb1f1=_0x50e781[_0x1bc6d9])&&(_0x6ef0c7=_0x4cb1f1(_0x6ef0c7)||_0x6ef0c7);return _0x6ef0c7;},V=(_0x56c402,_0x45b5f4)=>(_0x26bde5,_0x38012a)=>_0x45b5f4(_0x26bde5,_0x38012a,_0x56c402),ne=(_0xc2d04c=>(_0xc2d04c['Entered']=_0x566977(0x13d),_0xc2d04c[_0x566977(0x15c)]=_0x566977(0x122),_0xc2d04c[_0x566977(0xb3)]=_0x566977(0x1af),_0xc2d04c))(ne||{}),T=(_0x1d4b1f=>(_0x1d4b1f['Init']='init',_0x1d4b1f[_0x566977(0x19b)]=_0x566977(0x1a8),_0x1d4b1f[_0x566977(0x134)]=_0x566977(0x1c1),_0x1d4b1f))(T||{});const fs=_0x566977(0x241);let E=class extends _0x5590c1{constructor(_0x18c9eb,_0x55317d,_0x2c8b77,_0x15f381){const _0x28525c=_0x566977;super(),l(this,_0x28525c(0x156),new _0x47ae32([])),l(this,_0x28525c(0x171),this[_0x28525c(0x156)][_0x28525c(0xee)]()),l(this,_0x28525c(0x203),new _0x47ae32('')),l(this,'currentVersion$',this[_0x28525c(0x203)][_0x28525c(0xee)]()),l(this,_0x28525c(0x211),new _0x47ae32(_0x28525c(0x13d))),l(this,'status$',this[_0x28525c(0x211)][_0x28525c(0xee)]()),l(this,'_revertRevision$',new _0x47ae32(0x0)),l(this,_0x28525c(0x1e9),this[_0x28525c(0x1d8)][_0x28525c(0xee)]()),l(this,_0x28525c(0x20c),new _0x47ae32('')),l(this,_0x28525c(0x139),this[_0x28525c(0x20c)][_0x28525c(0xee)]()),l(this,_0x28525c(0x1d6),!0x1),l(this,_0x28525c(0x1d3),new _0x47ae32('init')),l(this,_0x28525c(0x1d4),this['_loadingState$'][_0x28525c(0xee)]()),l(this,'_lastLabel',null),l(this,_0x28525c(0x1f2),!0x0),l(this,_0x28525c(0x1c9),new Map()),l(this,_0x28525c(0x226)),l(this,_0x28525c(0x24b)),l(this,_0x28525c(0xe6)),l(this,'_canRevert',!0x1),(this['_messageService']=_0x18c9eb,this['_confirmService']=_0x55317d,this['_localeService']=_0x2c8b77,this[_0x28525c(0x252)]=_0x15f381);}async[_0x566977(0xbe)](_0x41d6d1,_0x316810,_0x1438cc){const _0xd246a4=_0x566977;this[_0xd246a4(0x226)]=_0x316810,this[_0xd246a4(0x222)]=_0x1438cc,this['_unitId$'][_0xd246a4(0x1de)](_0x41d6d1),this['_fetching']=!0x0;const _0x5633fa=await this[_0xd246a4(0x252)][_0xd246a4(0x1ce)](_0x41d6d1);if(this[_0xd246a4(0x1d6)]=!0x1,_0x5633fa){const {versions:_0x2275b3,lastLabel:_0x4e3740,hasMore:_0x27e603,members:_0x144157}=_0x5633fa;_0x2275b3[_0xd246a4(0x253)]===0x0&&_0x2275b3[_0xd246a4(0x1db)]({'unitId':_0x41d6d1,'id':fs,'startRev':0x1,'endRev':0x0,'time':Date[_0xd246a4(0xff)](),'user':this[_0xd246a4(0x21b)]['t']('editHistory.panel.currentUser'),'commands':[],'isAnonymous':!0x1}),this['_updateVersions'](_0x2275b3,_0x27e603,_0x4e3740,_0x144157),this[_0xd246a4(0x203)]['next'](_0x2275b3[0x0]['id']);}else this[_0xd246a4(0x211)][_0xd246a4(0x1de)](_0xd246a4(0x1af));}async['loadMoreVersions'](){const _0x3c7f87=_0x566977;if(!this[_0x3c7f87(0xac)]||!this[_0x3c7f87(0x1f2)]||this[_0x3c7f87(0x1d6)])return!0x1;this[_0x3c7f87(0x1d6)]=!0x0;const _0x4edc49=await this[_0x3c7f87(0x252)]['getVersions'](this['unitId'],this[_0x3c7f87(0xac)]);if(this[_0x3c7f87(0x1d6)]=!0x1,_0x4edc49){const {versions:_0x45d64f,lastLabel:_0x3b4319,hasMore:_0x50fe67,members:_0x592f3b}=_0x4edc49;this[_0x3c7f87(0x216)](_0x45d64f,_0x50fe67,_0x3b4319,_0x592f3b);}else this['_messageService']['show']({'content':this[_0x3c7f87(0x21b)]['t']('editHistory.panel.listFetchError'),'type':_0x4b2766[_0x3c7f87(0xb3)],'duration':0xbb8});return!0x0;}async[_0x566977(0x106)](_0xbf8a02){const _0x149fc7=_0x566977;var _0x143b37;const _0x13167d=(_0x143b37=this[_0x149fc7(0x156)][_0x149fc7(0x224)])==null?void 0x0:_0x143b37[_0x149fc7(0x194)](_0x3bcc46=>_0x3bcc46['id']===_0xbf8a02),{endRev:_0x9ca153}=_0x13167d||{};_0x9ca153||_0x9ca153===0x0?(this['_loadingState$'][_0x149fc7(0x1de)](_0x149fc7(0x1a8)),await this[_0x149fc7(0x252)][_0x149fc7(0x104)](this['unitId'],_0x9ca153),this[_0x149fc7(0x1d3)][_0x149fc7(0x1de)](_0x149fc7(0x1c1))):this[_0x149fc7(0x211)][_0x149fc7(0x1de)](_0x149fc7(0x1af));}async['triggerRevert'](_0xe87450){const _0x1a2098=_0x566977,_0x3542c4=_0xe87450?this[_0x1a2098(0xeb)](_0xe87450):this['getCurrentVersion']();if(!_0x3542c4)return;const _0x9dad38=_0x3542c4[_0x1a2098(0x183)],_0xed56b4=re(_0x3542c4[_0x1a2098(0x1cf)],this[_0x1a2098(0x21b)][_0x1a2098(0x18b)]());await this[_0x1a2098(0x1e3)][_0x1a2098(0x150)]({'id':'confirm-revert-revision','title':{'title':this['_localeService']['t'](_0x1a2098(0x1f8))},'children':{'title':this[_0x1a2098(0x21b)]['t']('editHistory.panel.revertConfirmText')+':\x20('+_0xed56b4['date']+'\x20'+_0xed56b4[_0x1a2098(0x1cf)]+')'},'cancelText':this[_0x1a2098(0x21b)]['t'](_0x1a2098(0xd7)),'confirmText':this[_0x1a2098(0x21b)]['t']('editHistory.panel.confirm')})&&this[_0x1a2098(0x1d8)][_0x1a2098(0x1de)](_0x9dad38);}['_updateVersions'](_0x2335b1,_0x117dbd,_0x27ea51,_0x4249bc){const _0x5472e4=_0x566977;this[_0x5472e4(0x156)][_0x5472e4(0x1de)](this[_0x5472e4(0x156)][_0x5472e4(0x224)]['concat'](_0x2335b1)),this[_0x5472e4(0x1f2)]=_0x117dbd,this[_0x5472e4(0xac)]=_0x27ea51,_0x4249bc&&Object[_0x5472e4(0x1a9)](_0x4249bc)[_0x5472e4(0x170)](_0x5bd47b=>this[_0x5472e4(0x1c9)][_0x5472e4(0x20b)](_0x5bd47b,_0x4249bc[_0x5bd47b]));}[_0x566977(0x131)](){const _0x2fe5a3=_0x566977;return this[_0x2fe5a3(0xeb)](this['_currentVersion$'][_0x2fe5a3(0x224)]);}[_0x566977(0xeb)](_0x14eb06){const _0x2e9219=_0x566977;var _0x1bde83;return(_0x1bde83=this[_0x2e9219(0x156)][_0x2e9219(0x224)])==null?void 0x0:_0x1bde83['find'](_0x261b10=>_0x261b10['id']===_0x14eb06);}[_0x566977(0xf9)](_0x4f8a92){const _0x101541=_0x566977;return this[_0x101541(0x1c9)]['get'](_0x4f8a92);}[_0x566977(0x155)](){const _0x40fb6c=_0x566977;this[_0x40fb6c(0xe6)]=document[_0x40fb6c(0xfa)]('div'),this[_0x40fb6c(0xe6)][_0x40fb6c(0x1ea)]='history-mask',this['_maskElement'][_0x40fb6c(0x177)][_0x40fb6c(0x17e)]=_0x40fb6c(0xd3),this[_0x40fb6c(0xe6)]['style'][_0x40fb6c(0x113)]='0',this[_0x40fb6c(0xe6)][_0x40fb6c(0x177)][_0x40fb6c(0xed)]='0',this[_0x40fb6c(0xe6)]['style']['width']='100%',this[_0x40fb6c(0xe6)][_0x40fb6c(0x177)][_0x40fb6c(0xcd)]=_0x40fb6c(0x143),this['_maskElement']['style'][_0x40fb6c(0x1c0)]=_0x40fb6c(0x129),this[_0x40fb6c(0xe6)][_0x40fb6c(0x177)]['color']=_0x40fb6c(0x256),this[_0x40fb6c(0xe6)][_0x40fb6c(0x177)][_0x40fb6c(0x145)]=_0x40fb6c(0x212),this[_0x40fb6c(0xe6)][_0x40fb6c(0x177)][_0x40fb6c(0x200)]=_0x40fb6c(0x1da),this[_0x40fb6c(0xe6)]['style'][_0x40fb6c(0x158)]=_0x40fb6c(0x190),this[_0x40fb6c(0xe6)][_0x40fb6c(0x177)][_0x40fb6c(0x145)]='none',this['_maskContainer']['append'](this[_0x40fb6c(0xe6)]);}[_0x566977(0xc1)](){const _0xb46c5c=_0x566977;var _0x185795;const _0x48afa8=(_0x185795=document['getElementById'](this[_0xb46c5c(0x226)]))==null?void 0x0:_0x185795[_0xb46c5c(0x175)]('.univer-app-container-content');_0x48afa8&&(this[_0xb46c5c(0x24b)]=_0x48afa8,this[_0xb46c5c(0x155)]());}[_0x566977(0xc5)](){const _0x2f1a96=_0x566977;this[_0x2f1a96(0x24b)]||this[_0x2f1a96(0xc1)](),this[_0x2f1a96(0xe6)]&&(this[_0x2f1a96(0xe6)][_0x2f1a96(0x177)][_0x2f1a96(0x145)]=_0x2f1a96(0x212));}[_0x566977(0xb8)](){const _0x2ec14d=_0x566977;this[_0x2ec14d(0xe6)]&&(this[_0x2ec14d(0xe6)][_0x2ec14d(0x177)][_0x2ec14d(0x145)]=_0x2ec14d(0x24d));}set['status'](_0x22ac09){const _0x497222=_0x566977;this[_0x497222(0x211)][_0x497222(0x1de)](_0x22ac09);}set[_0x566977(0xdc)](_0x3108b3){const _0xc9eab7=_0x566977;_0x3108b3!==this[_0xc9eab7(0x203)][_0xc9eab7(0x224)]&&this['_currentVersion$'][_0xc9eab7(0x1de)](_0x3108b3);}get[_0x566977(0xdc)](){const _0xfd70d0=_0x566977;return this[_0xfd70d0(0x203)][_0xfd70d0(0x224)];}set[_0x566977(0x157)](_0x4f099e){const _0x17bc7d=_0x566977;this[_0x17bc7d(0x20c)]['next'](_0x4f099e);}get[_0x566977(0x157)](){const _0x5c18f0=_0x566977;return this['_unitId$'][_0x5c18f0(0x224)];}get[_0x566977(0x109)](){const _0x133458=_0x566977;return this[_0x133458(0x222)];}get[_0x566977(0xcc)](){const _0x505c73=_0x566977;return this[_0x505c73(0x1d3)][_0x505c73(0x224)];}};E=vs([V(0x0,_0x1a43e3),V(0x1,_0x205399),V(0x2,_0x2acfaf(_0x2a7309)),V(0x3,_0x2acfaf(Y))],E);var S=function(){const _0x2f1b26=_0x566977;return S=Object[_0x2f1b26(0x230)]||function(_0x4b3d5a){const _0x9bffdb=_0x2f1b26;for(var _0x42aff4,_0x45921e=0x1,_0x8e8d6=arguments['length'];_0x45921e<_0x8e8d6;_0x45921e++){_0x42aff4=arguments[_0x45921e];for(var _0x1b4470 in _0x42aff4)Object[_0x9bffdb(0x14c)][_0x9bffdb(0xae)][_0x9bffdb(0x254)](_0x42aff4,_0x1b4470)&&(_0x4b3d5a[_0x1b4470]=_0x42aff4[_0x1b4470]);}return _0x4b3d5a;},S[_0x2f1b26(0xe7)](this,arguments);},ms=function(_0x191948,_0x1ce363){const _0x46ed35=_0x566977;var _0x33ca4c={};for(var _0x29f2a2 in _0x191948)Object[_0x46ed35(0x14c)][_0x46ed35(0xae)][_0x46ed35(0x254)](_0x191948,_0x29f2a2)&&_0x1ce363['indexOf'](_0x29f2a2)<0x0&&(_0x33ca4c[_0x29f2a2]=_0x191948[_0x29f2a2]);if(_0x191948!=null&&typeof Object[_0x46ed35(0x248)]==_0x46ed35(0x199)){for(var _0x1d1f94=0x0,_0x29f2a2=Object['getOwnPropertySymbols'](_0x191948);_0x1d1f94<_0x29f2a2[_0x46ed35(0x253)];_0x1d1f94++)_0x1ce363[_0x46ed35(0xe8)](_0x29f2a2[_0x1d1f94])<0x0&&Object[_0x46ed35(0x14c)][_0x46ed35(0x1b1)][_0x46ed35(0x254)](_0x191948,_0x29f2a2[_0x1d1f94])&&(_0x33ca4c[_0x29f2a2[_0x1d1f94]]=_0x191948[_0x29f2a2[_0x1d1f94]]);}return _0x33ca4c;},G=_0x37bf36(function(_0x27cbaa,_0x181803){const _0x28264d=_0x566977;var _0x373598=_0x27cbaa[_0x28264d(0xd0)],_0x1b2a25=_0x27cbaa['id'],_0xcc012c=_0x27cbaa[_0x28264d(0x1ea)],_0x979e14=_0x27cbaa['extend'],_0x31b7b5=ms(_0x27cbaa,[_0x28264d(0xd0),'id','className','extend']),_0x384589=_0x28264d(0x249)[_0x28264d(0x259)](_0x1b2a25,'\x20')[_0x28264d(0x259)](_0xcc012c||'')[_0x28264d(0x255)](),_0x16583b=_0x6e038('_'[_0x28264d(0x259)](Ss()));return Pe(_0x373598,''[_0x28264d(0x259)](_0x1b2a25),{'defIds':_0x373598['defIds'],'idSuffix':_0x16583b['current']},S({'ref':_0x181803,'className':_0x384589},_0x31b7b5),_0x979e14);});function Pe(_0x40a0cf,_0x4e0fcc,_0x2c5bff,_0xe4b2a8,_0x54aab0){const _0x50e226=_0x566977;return _0x1089bd(_0x40a0cf['tag'],S(S({'key':_0x4e0fcc},Is(_0x40a0cf,_0x2c5bff,_0x54aab0)),_0xe4b2a8),(gs(_0x40a0cf,_0x2c5bff)['children']||[])[_0x50e226(0x13b)](function(_0x287a39,_0x592226){const _0x417d06=_0x50e226;return Pe(_0x287a39,''[_0x417d06(0x259)](_0x4e0fcc,'-')[_0x417d06(0x259)](_0x40a0cf[_0x417d06(0x12a)],'-')['concat'](_0x592226),_0x2c5bff,void 0x0,_0x54aab0);}));}function Is(_0x27e561,_0x29b6d1,_0xc9101a){const _0x4e3157=_0x566977;var _0x14b3e9=S({},_0x27e561['attrs']);_0xc9101a!=null&&_0xc9101a['colorChannel1']&&_0x14b3e9[_0x4e3157(0xfc)]===_0x4e3157(0xc8)&&(_0x14b3e9[_0x4e3157(0xfc)]=_0xc9101a[_0x4e3157(0xc8)]),_0x27e561['tag']===_0x4e3157(0xef)&&_0x14b3e9['id']&&(_0x14b3e9['id']=_0x14b3e9['id']+_0x29b6d1[_0x4e3157(0x232)]),Object[_0x4e3157(0x209)](_0x14b3e9)[_0x4e3157(0x170)](function(_0x113b44){const _0x4650ea=_0x4e3157;var _0x50f494=_0x113b44[0x0],_0x1f8535=_0x113b44[0x1];_0x50f494===_0x4650ea(0xef)&&typeof _0x1f8535=='string'&&(_0x14b3e9[_0x50f494]=_0x1f8535[_0x4650ea(0x125)](/url\(#(.*)\)/,'url(#$1'[_0x4650ea(0x259)](_0x29b6d1[_0x4650ea(0x232)],')')));});var _0xdaa725=_0x29b6d1[_0x4e3157(0x15e)];return!_0xdaa725||_0xdaa725['length']===0x0||(_0x27e561[_0x4e3157(0x12a)]===_0x4e3157(0x223)&&_0x14b3e9['xlink:href']&&(_0x14b3e9[_0x4e3157(0x236)]=_0x14b3e9[_0x4e3157(0x236)]+_0x29b6d1[_0x4e3157(0x232)]),Object['entries'](_0x14b3e9)[_0x4e3157(0x170)](function(_0x13bcf){const _0x251d62=_0x4e3157;var _0x4dc003=_0x13bcf[0x0],_0x4d76fd=_0x13bcf[0x1];typeof _0x4d76fd=='string'&&(_0x14b3e9[_0x4dc003]=_0x4d76fd['replace'](/url\(#(.*)\)/,_0x251d62(0xd6)['concat'](_0x29b6d1[_0x251d62(0x232)],')')));})),_0x14b3e9;}function gs(_0x284ab1,_0x587a18){const _0x3436b8=_0x566977;var _0x4c4a04,_0x468e85=_0x587a18[_0x3436b8(0x15e)];return!_0x468e85||_0x468e85['length']===0x0?_0x284ab1:_0x284ab1[_0x3436b8(0x12a)]===_0x3436b8(0x210)&&(!((_0x4c4a04=_0x284ab1[_0x3436b8(0x154)])===null||_0x4c4a04===void 0x0)&&_0x4c4a04[_0x3436b8(0x253)])?S(S({},_0x284ab1),{'children':_0x284ab1[_0x3436b8(0x154)]['map'](function(_0x4866ef){const _0x3e49e1=_0x3436b8;return typeof _0x4866ef[_0x3e49e1(0x23c)]['id']==_0x3e49e1(0x105)&&_0x468e85&&_0x468e85[_0x3e49e1(0x1b6)](_0x4866ef[_0x3e49e1(0x23c)]['id'])?S(S({},_0x4866ef),{'attrs':S(S({},_0x4866ef[_0x3e49e1(0x23c)]),{'id':_0x4866ef[_0x3e49e1(0x23c)]['id']+_0x587a18['idSuffix']})}):_0x4866ef;})}):_0x284ab1;}function Ss(){const _0x2b557b=_0x566977;return Math[_0x2b557b(0xb4)]()[_0x2b557b(0x112)](0x24)['substring'](0x2,0x8);}G[_0x566977(0xf4)]=_0x566977(0x103);var ps={'tag':_0x566977(0x18e),'attrs':{'xmlns':_0x566977(0x225),'fill':_0x566977(0x24d),'viewBox':_0x566977(0x1c5),'width':_0x566977(0x221),'height':'1em'},'children':[{'tag':_0x566977(0xda),'attrs':{'fill':_0x566977(0x16c),'d':_0x566977(0x1d5)}}]},Te=_0x37bf36(function(_0x25e771,_0x4e8459){const _0x3142ab=_0x566977;return _0x1089bd(G,Object['assign']({},_0x25e771,{'id':_0x3142ab(0xb5),'ref':_0x4e8459,'icon':ps}));});Te[_0x566977(0xf4)]=_0x566977(0x1e7);var Es={'tag':_0x566977(0x18e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x566977(0x24d),'viewBox':_0x566977(0x1c5),'width':_0x566977(0x221),'height':_0x566977(0x221)},'children':[{'tag':'path','attrs':{'fill':_0x566977(0xfe),'d':'M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','fillOpacity':0.2,'fillRule':_0x566977(0x239),'clipRule':'evenodd'}},{'tag':'path','attrs':{'fill':_0x566977(0xfe),'d':'M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','fillRule':_0x566977(0x239),'clipRule':_0x566977(0x239)}}]},ae=_0x37bf36(function(_0x3a9c45,_0x294a92){const _0x5ef031=_0x566977;return _0x1089bd(G,Object[_0x5ef031(0x230)]({},_0x3a9c45,{'id':_0x5ef031(0xe3),'ref':_0x294a92,'icon':Es}));});ae[_0x566977(0xf4)]=_0x566977(0x1aa);var Rs={'tag':_0x566977(0x18e),'attrs':{'xmlns':_0x566977(0x225),'fill':_0x566977(0x24d),'viewBox':_0x566977(0x1ad),'width':_0x566977(0x221),'height':_0x566977(0x221)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x566977(0x133)},'children':[{'tag':_0x566977(0xda),'attrs':{'d':_0x566977(0x1e5)}},{'tag':_0x566977(0xda),'attrs':{'d':_0x566977(0x240),'fillRule':_0x566977(0x239),'clipRule':'evenodd'}}]},{'tag':_0x566977(0x210),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x566977(0x22f)},'children':[{'tag':'rect','attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':'white','rx':0x4}}]}]}],'defIds':[_0x566977(0x22f)]},Le=_0x37bf36(function(_0x7fcdc6,_0x452fd5){const _0x592eae=_0x566977;return _0x1089bd(G,Object[_0x592eae(0x230)]({},_0x7fcdc6,{'id':_0x592eae(0x140),'ref':_0x452fd5,'icon':Rs}));});Le['displayName']=_0x566977(0x17d);function Os(){const _0x43b0bd=_0x566977;var _0x2f3f97;const _0x5bc514=_0x363c8e(E),_0x4f4f3b=_0x363c8e(_0x2a7309),_0x26ef79=_0x12ae05(()=>{const _0x12d48c=_0x1884;_0x5bc514['status']=ne[_0x12d48c(0x15c)];},[_0x5bc514]),_0x5173d5=_0x12ae05(()=>{const _0x2420ce=_0x1884;_0x5bc514[_0x2420ce(0x229)]();},[_0x5bc514]),_0x4b1ac7=_0x4edcff(_0x5bc514[_0x43b0bd(0x1b9)]),_0x5149fb=_0x4edcff(_0x5bc514[_0x43b0bd(0x171)]),_0x2e9559=_0x4b1ac7===((_0x2f3f97=_0x5149fb==null?void 0x0:_0x5149fb[0x0])==null?void 0x0:_0x2f3f97['id']),_0x4e77f7=_0x4b1ac7!==''&&!_0x2e9559&&_0x5bc514[_0x43b0bd(0x109)];return _0x2cda88(_0x43b0bd(0x205),{'className':_0x28ba81('univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center',_0x2d6598),'children':[_0x1ad646('a',{'className':_0x43b0bd(0x18c),'onClick':_0x26ef79,'children':_0x1ad646(Te,{'className':'univer-text-2xl\x20dark:univer-text-white'})}),_0x1ad646(_0x43b0bd(0x205),{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','children':_0x4e77f7&&_0x1ad646(_0x4085d5,{'variant':_0x43b0bd(0x100),'onClick':_0x5173d5,'children':_0x4f4f3b['t'](_0x43b0bd(0x1a4))})})]});}var Ms=Object[_0x566977(0xdf)],Ns=(_0x314343,_0x1ef61d,_0x3824e7,_0x36a578)=>{const _0xabbe13=_0x566977;for(var _0x50c490=_0x36a578>0x1?void 0x0:_0x36a578?Ms(_0x1ef61d,_0x3824e7):_0x1ef61d,_0x3712aa=_0x314343[_0xabbe13(0x253)]-0x1,_0x1aedb9;_0x3712aa>=0x0;_0x3712aa--)(_0x1aedb9=_0x314343[_0x3712aa])&&(_0x50c490=_0x1aedb9(_0x50c490)||_0x50c490);return _0x50c490;},y=(_0x4f7356,_0x4931d6)=>(_0x1318e3,_0x25c031)=>_0x4931d6(_0x1318e3,_0x25c031,_0x4f7356);let B=class extends _0x5590c1{constructor(_0x4998d9,_0x46d1b9,_0xc1adea,_0x5d6265,_0x62a5d2,_0x1dceee){const _0x4391f0=_0x566977;super(),this[_0x4391f0(0xf2)]=_0x4998d9,this[_0x4391f0(0x1e0)]=_0x46d1b9,this[_0x4391f0(0x20f)]=_0xc1adea,this['_localeService']=_0x5d6265,this[_0x4391f0(0x1e1)]=_0x62a5d2,this[_0x4391f0(0x1f9)]=_0x1dceee,this[_0x4391f0(0xcf)]();}['_init'](){const _0x1687ef=_0x566977;this[_0x1687ef(0x215)](this['_historyManagerService']['currentVersion$'][_0x1687ef(0x24a)](_0x56c6d5=>{const _0x1cea2f=_0x1687ef;_0x56c6d5&&this[_0x1cea2f(0x1e1)][_0x1cea2f(0x106)](_0x56c6d5);})),this['disposeWithMe'](this[_0x1687ef(0xf2)][_0x1687ef(0x19d)][_0x1687ef(0x24a)](_0x3ef235=>{const _0x567306=_0x1687ef,_0x3a2898=this[_0x567306(0x1e1)][_0x567306(0x157)];_0x3a2898&&(_0x3ef235[_0x567306(0x128)]===b[_0x567306(0x21c)]&&_0x3ef235[_0x567306(0x224)]===!0x0&&this[_0x567306(0xf2)][_0x567306(0x173)](new _0x12faab(_0x3a2898)['id'],!0x1),_0x3ef235[_0x567306(0x128)]===b['RenameSheet']&&_0x3ef235['value']===!0x0&&this[_0x567306(0xf2)]['updatePermissionPoint'](new _0x366ec5(_0x3a2898)['id'],!0x1),_0x3ef235[_0x567306(0x128)]===b[_0x567306(0x20a)]&&_0x3ef235[_0x567306(0x224)]===!0x0&&this[_0x567306(0xf2)][_0x567306(0x173)](new _0x33ba42(_0x3a2898)['id'],!0x1),_0x3ef235[_0x567306(0x128)]===b['HideSheet']&&_0x3ef235['value']===!0x0&&this[_0x567306(0xf2)][_0x567306(0x173)](new _0x3b92d8(_0x3a2898)['id'],!0x1),_0x3ef235[_0x567306(0x128)]===b[_0x567306(0x220)]&&_0x3ef235['value']===!0x0&&this[_0x567306(0xf2)][_0x567306(0x173)](new _0x12faab(_0x3a2898)['id'],!0x1),_0x3ef235[_0x567306(0x128)]===b[_0x567306(0x11d)]&&_0x3ef235[_0x567306(0x224)]===!0x0&&this['_permissionService']['updatePermissionPoint'](new _0x12faab(_0x3a2898)['id'],!0x1));})),this[_0x1687ef(0x215)](this[_0x1687ef(0x1e0)]['registerComponent'](_0x1f15d5[_0x1687ef(0x23b)],()=>_0x1ef8a1(Os,this[_0x1687ef(0x1f9)]))),this[_0x1687ef(0x215)](this[_0x1687ef(0x1e1)][_0x1687ef(0x1d4)]['subscribe'](_0x37fc86=>{const _0x2d47fb=_0x1687ef;_0x37fc86===T['Loading']&&(this['_historyManagerService'][_0x2d47fb(0xc5)](),this[_0x2d47fb(0x20f)]['show']({'type':_0x4b2766[_0x2d47fb(0x15f)],'content':this['_localeService']['t'](_0x2d47fb(0x242))})),_0x37fc86===T[_0x2d47fb(0x134)]&&this[_0x2d47fb(0x1e1)][_0x2d47fb(0xb8)]();}));}};B=Ns([y(0x0,_0x5ceb03),y(0x1,_0x422117),y(0x2,_0x1a43e3),y(0x3,_0x2acfaf(_0x2a7309)),y(0x4,_0x2acfaf(E)),y(0x5,_0x2acfaf(_0x3a07f0))],B);var bs=Object['getOwnPropertyDescriptor'],Ds=(_0x2ea0a4,_0x3369da,_0x7cc1d6,_0x568bfe)=>{const _0x293875=_0x566977;for(var _0x311c36=_0x568bfe>0x1?void 0x0:_0x568bfe?bs(_0x3369da,_0x7cc1d6):_0x3369da,_0x425567=_0x2ea0a4[_0x293875(0x253)]-0x1,_0x44cabb;_0x425567>=0x0;_0x425567--)(_0x44cabb=_0x2ea0a4[_0x425567])&&(_0x311c36=_0x44cabb(_0x311c36)||_0x311c36);return _0x311c36;},Q=(_0x440966,_0x5817f7)=>(_0x387f1e,_0x29a7b2)=>_0x5817f7(_0x387f1e,_0x29a7b2,_0x440966);let $=class extends _0x5590c1{constructor(_0x472498,_0x344a45,_0x2f2ab7){const _0x336833=_0x566977;super(),l(this,_0x336833(0x168),new Map()),l(this,_0x336833(0xc6),new _0x47ae32({'ranges':new Map(),'active':null})),l(this,_0x336833(0x124),this[_0x336833(0xc6)]['asObservable']()),(this['_historyManagerService']=_0x472498,this[_0x336833(0x1bc)]=_0x344a45,this['_snapshotServerService']=_0x2f2ab7,this[_0x336833(0xcf)]());}['_init'](){const _0x6f1e0c=_0x566977;this[_0x6f1e0c(0x168)]=new Map(),this[_0x6f1e0c(0x215)](this[_0x6f1e0c(0x1e1)]['unitId$'][_0x6f1e0c(0x24a)](_0x317c89=>{const _0x365502=_0x6f1e0c;_0x317c89&&!this['_diffRangesMap'][_0x365502(0x1fa)](_0x317c89)&&this[_0x365502(0x168)][_0x365502(0x20b)](_0x317c89,new Map());})),this[_0x6f1e0c(0x215)](this['_historyManagerService'][_0x6f1e0c(0x1b9)][_0x6f1e0c(0x24a)](async _0x58c762=>{const _0x404c9b=_0x6f1e0c;var _0x3cb73f;_0x58c762&&(await this['ensureVersion'](_0x58c762),this[_0x404c9b(0xc6)]['next'](((_0x3cb73f=this['_diffRangesMap'][_0x404c9b(0xaf)](this['_historyManagerService'][_0x404c9b(0x157)]))==null?void 0x0:_0x3cb73f[_0x404c9b(0xaf)](_0x58c762))||{'ranges':new Map(),'active':null}));}));}async[_0x566977(0x19c)](_0x149df4){const _0x7bf2d3=_0x566977;var _0x20a560,_0x5780df;const _0x57f879=this[_0x7bf2d3(0x1e1)][_0x7bf2d3(0xeb)](_0x149df4),_0x5cc105=this[_0x7bf2d3(0x1e1)]['unitId'];if(!_0x57f879||!_0x5cc105)return;const _0x39bd87=this[_0x7bf2d3(0x168)][_0x7bf2d3(0xaf)](_0x5cc105);if(_0x39bd87||this[_0x7bf2d3(0x168)]['set'](_0x5cc105,new Map()),(_0x20a560=this[_0x7bf2d3(0x168)][_0x7bf2d3(0xaf)](_0x5cc105))!=null&&_0x20a560[_0x7bf2d3(0x1fa)](_0x57f879['id']))return;const {startRev:_0x4fbdbf,endRev:_0x314a35}=_0x57f879;if(_0x4fbdbf===0x1){_0x39bd87[_0x7bf2d3(0x20b)](_0x57f879['id'],{'ranges':new Map(),'active':null});return;}const _0x192980=_0x4fbdbf-0x1,_0x4183fc=_0x314a35,_0x47df59=await this[_0x7bf2d3(0x227)][_0x7bf2d3(0x107)]({},{'unitID':_0x5cc105,'from':_0x192980,'to':_0x4183fc,'type':F[_0x7bf2d3(0x231)]});if(((_0x5780df=_0x47df59[_0x7bf2d3(0x1af)])==null?void 0x0:_0x5780df[_0x7bf2d3(0xc7)])===X['OK']){const _0x273a14=_0x47df59[_0x7bf2d3(0xd1)][_0x7bf2d3(0x13b)](_0x2a792e)[_0x7bf2d3(0x13b)](_0x4ff51e=>_0x4ff51e[_0x7bf2d3(0x11e)][_0x7bf2d3(0x13b)](_0x4d3123=>({..._0x4d3123,'params':{..._0x4d3123[_0x7bf2d3(0x1bb)],'memberId':_0x4ff51e[_0x7bf2d3(0x127)]}})))[_0x7bf2d3(0x247)](),_0x10349e=this[_0x7bf2d3(0xfb)](_0x273a14),_0x22486d=this['_getActiveSubUnitId'](_0x273a14),_0x324c56=this[_0x7bf2d3(0x228)](_0x10349e);_0x39bd87[_0x7bf2d3(0x20b)](_0x57f879['id'],{'ranges':_0x324c56,'active':_0x22486d});}}[_0x566977(0xfb)](_0x209935){const _0x4e1128=_0x566977;let _0x1236bc=[];for(let _0x250de5=0x0;_0x250de5<_0x209935[_0x4e1128(0x253)];_0x250de5++){const _0x2a1a0e=_0x209935[_0x250de5];if(_0x1236bc[_0x4e1128(0x1db)](_0x2a1a0e),_0x250de5!==_0x209935['length']-0x1){const _0x6a6805=_0x209935[_0x250de5+0x1],_0x71ac92=this[_0x4e1128(0x1bc)]['transformMutations'](_0x1236bc,[_0x6a6805]);_0x23d374(_0x71ac92)?_0x1236bc=_0x71ac92[_0x4e1128(0xaa)]:_0x1236bc=[];}}return _0x1236bc;}[_0x566977(0x185)](_0x5c04c0){const _0xf42f01=_0x566977;let _0x56e3fd=[];return _0x5c04c0[_0xf42f01(0x170)](_0x1d1563=>{const _0x550489=_0xf42f01;if(_0x1d1563['id']===_0x59aa06['id']){const _0x2f9d8c=_0x1d1563['params'];_0x56e3fd[_0x550489(0x1db)](_0x2f9d8c[_0x550489(0x219)]['id']);}else{if(_0x1d1563['id']===_0x2f0e9e['id']){const _0x1606ce=_0x1d1563[_0x550489(0x1bb)];_0x56e3fd['length']>0x0&&(_0x56e3fd=_0x56e3fd['filter'](_0x3eca83=>_0x3eca83!==_0x1606ce[_0x550489(0x22a)]));}else{if(_0x1d1563['id']===_0x4f98d0['id']){const _0x188048=_0x1d1563['params'];_0x188048['hidden']?_0x56e3fd=_0x56e3fd[_0x550489(0x135)](_0x3ac48f=>_0x3ac48f!==_0x188048[_0x550489(0x22a)]):_0x56e3fd['push'](_0x188048[_0x550489(0x22a)]);}else{const _0x168d6a=_0x1d1563[_0x550489(0x1bb)];_0x168d6a['subUnitId']&&_0x56e3fd[_0x550489(0x1db)](_0x168d6a[_0x550489(0x22a)]);}}}}),_0x56e3fd['length']>0x0?_0x56e3fd[_0x56e3fd[_0xf42f01(0x253)]-0x1]:null;}[_0x566977(0x228)](_0xc599f4){const _0x57ac37=_0x566977,_0x5aab92=new Map();return _0xc599f4[_0x57ac37(0x170)](_0x1749bc=>{const _0x2d19d4=_0x57ac37;var _0xb8c57a,_0x5b5b47;const _0x33b371=(_0xb8c57a=_0x1749bc[_0x2d19d4(0x1bb)])==null?void 0x0:_0xb8c57a[_0x2d19d4(0x25a)];if(_0x33b371){_0x5aab92[_0x2d19d4(0x1fa)](_0x33b371)||_0x5aab92['set'](_0x33b371,[]);const _0x1ce057=this[_0x2d19d4(0x1ef)](_0x1749bc);(_0x5b5b47=_0x5aab92[_0x2d19d4(0xaf)](_0x33b371))==null||_0x5b5b47['push'](..._0x1ce057);}}),_0x5aab92[_0x57ac37(0x170)]((_0x5a932a,_0x116eb6)=>{const _0x23c0a6=_0x57ac37;_0x5aab92['set'](_0x116eb6,this[_0x23c0a6(0x1cb)](_0x5a932a));}),_0x5aab92;}[_0x566977(0x1ef)](_0x3a8c83){const _0x126717=_0x566977;switch(_0x3a8c83['id']){case _0x44bfb['id']:{const _0x4867f7=_0x3a8c83['params'];return _0x4867f7[_0x126717(0xa8)][_0x126717(0x13b)](_0x2b2046=>_0x2b2046[_0x126717(0x10c)]['map'](_0x53bc56=>({'range':_0x53bc56,'unitId':_0x4867f7[_0x126717(0x157)],'subUnitId':_0x4867f7[_0x126717(0x22a)]})))[_0x126717(0x247)]();}case _0x4dc5d6['id']:{const _0x2ce287=_0x3a8c83[_0x126717(0x1bb)];return _0x2ce287['ranges'][_0x126717(0x13b)](_0x390e3d=>({'range':_0x390e3d,'unitId':_0x2ce287[_0x126717(0x157)],'subUnitId':_0x2ce287[_0x126717(0x22a)]}));}case _0x7aad2e['id']:{const _0x125f19=_0x3a8c83[_0x126717(0x1bb)];return[{'range':_0x125f19[_0x126717(0x184)],'unitId':_0x125f19['unitId'],'subUnitId':_0x125f19['subUnitId']}];}case _0x1ada67['id']:{const _0x5f587d=_0x3a8c83[_0x126717(0x1bb)];return[{'range':_0x5f587d[_0x126717(0x184)],'unitId':_0x5f587d[_0x126717(0x157)],'subUnitId':_0x5f587d[_0x126717(0x22a)]}];}case _0x4f36b2['id']:{const _0x30a285=_0x3a8c83['params'],{from:_0x4ae077,to:_0x40a56a,unitId:_0x4015f4}=_0x30a285;return[{'range':he(_0x4ae077[_0x126717(0x224)]),'unitId':_0x4015f4,'subUnitId':_0x4ae077['subUnitId']},{'range':he(_0x40a56a[_0x126717(0x224)]),'unitId':_0x4015f4,'subUnitId':_0x40a56a[_0x126717(0x22a)]}];}case _0x195784['id']:{const _0x399f3b=_0x3a8c83['params'],{unitId:_0x1bf5c8,subUnitId:_0x17e79e,sourceRange:_0x894a6,targetRange:_0x1a6ec5}=_0x399f3b,_0xed3a1f=_0x894a6[_0x126717(0x136)]-_0x894a6[_0x126717(0x20e)]+0x1;return[{'range':_0x1a6ec5[_0x126717(0x20e)]<=_0x894a6['startRow']?_0x1a6ec5:{..._0x1a6ec5,'startRow':_0x1a6ec5['startRow']-_0xed3a1f,'endRow':_0x1a6ec5['endRow']-_0xed3a1f},'unitId':_0x1bf5c8,'subUnitId':_0x17e79e}];}case _0x35ed85['id']:{const _0x418d3f=_0x3a8c83[_0x126717(0x1bb)],{unitId:_0x1b5602,subUnitId:_0x340e0a,sourceRange:_0x274a86,targetRange:_0x4991dd}=_0x418d3f,_0x18bc1c=_0x274a86[_0x126717(0xc9)]-_0x274a86[_0x126717(0x132)]+0x1;return[{'range':_0x4991dd[_0x126717(0x132)]<=_0x274a86[_0x126717(0x132)]?_0x4991dd:{..._0x4991dd,'startColumn':_0x4991dd[_0x126717(0x132)]-_0x18bc1c,'endColumn':_0x4991dd['endColumn']-_0x18bc1c},'unitId':_0x1b5602,'subUnitId':_0x340e0a}];}case _0x178f5e['id']:{const _0x1fd4ab=_0x3a8c83[_0x126717(0x1bb)],{values:_0x269a2c,unitId:_0x464fae,subUnitId:_0x599512}=_0x1fd4ab;return Object[_0x126717(0x1ee)](_0x269a2c)[_0x126717(0x13b)](_0x36d6d8=>_0x36d6d8[_0x126717(0x10c)][_0x126717(0x13b)](_0x5a9896=>({'range':_0x5a9896,'unitId':_0x464fae,'subUnitId':_0x599512})))[_0x126717(0x247)]();}case _0x12f0ea['id']:{const _0x5289e0=_0x3a8c83[_0x126717(0x1bb)],{ranges:_0xadeb81,unitId:_0x46697a,subUnitId:_0x258145}=_0x5289e0;return _0xadeb81[_0x126717(0x13b)](_0x5a6611=>({'range':_0x5a6611,'unitId':_0x46697a,'subUnitId':_0x258145}));}case _0x2f09f9['id']:{const _0x310ead=_0x3a8c83[_0x126717(0x1bb)],{unitId:_0x330ad7,subUnitId:_0x5275c6,range:_0x3d73cc}=_0x310ead;return[{'range':_0x3d73cc,'unitId':_0x330ad7,'subUnitId':_0x5275c6}];}case _0x493598['id']:{const _0xe514c3=_0x3a8c83[_0x126717(0x1bb)];return _0xe514c3['rule'][_0x126717(0x10c)][_0x126717(0x13b)](_0x4728e4=>({'range':_0x4728e4,'unitId':_0xe514c3[_0x126717(0x157)],'subUnitId':_0xe514c3[_0x126717(0x22a)]}));}case _0x4db3b1['id']:{const _0x39567e=_0x3a8c83['params'];return _0x39567e[_0x126717(0x1a5)]?ys(_0x39567e[_0x126717(0x1a5)])[_0x126717(0x13b)](_0x5c0158=>({'range':_0x5c0158,'unitId':_0x39567e[_0x126717(0x157)],'subUnitId':_0x39567e['subUnitId']})):[];}case _0x145de4['id']:{const _0x15e82d=_0x3a8c83[_0x126717(0x1bb)];return[{'range':_0x15e82d['range'],'unitId':_0x15e82d[_0x126717(0x157)],'subUnitId':_0x15e82d['subUnitId']}];}case _0x28c162['id']:{const _0x5341ec=_0x3a8c83[_0x126717(0x1bb)];return(Array[_0x126717(0x119)](_0x5341ec[_0x126717(0x1fd)])?_0x5341ec[_0x126717(0x1fd)]:[_0x5341ec['rule']])[_0x126717(0x13b)](_0x4ccf8f=>_0x4ccf8f['ranges']['map'](_0x331c53=>({'range':_0x331c53,'unitId':_0x5341ec[_0x126717(0x157)],'subUnitId':_0x5341ec[_0x126717(0x22a)]})))[_0x126717(0x247)]();}case _0x31ec97['id']:{const _0x378639=_0x3a8c83[_0x126717(0x1bb)];return _0x378639[_0x126717(0x1fd)]['ranges'][_0x126717(0x13b)](_0x3d34e1=>({'range':_0x3d34e1,'unitId':_0x378639[_0x126717(0x157)],'subUnitId':_0x378639['subUnitId']}));}default:return[];}}[_0x566977(0x1cb)](_0x40b127){const _0x58f66c=_0x566977;if(_0x40b127['length']<=0x1)return _0x40b127;const _0x1a6b09=new Map();return _0x40b127[_0x58f66c(0x170)](_0x553cfa=>{const _0x2d598c=_0x58f66c;var _0x102d53;const {unitId:_0x456a8f,subUnitId:_0xb192d1}=_0x553cfa,_0x3130b5=_0x456a8f+'-'+_0xb192d1;_0x1a6b09['has'](_0x3130b5)?(_0x102d53=_0x1a6b09[_0x2d598c(0xaf)](_0x3130b5))==null||_0x102d53[_0x2d598c(0x1db)](_0x553cfa):_0x1a6b09[_0x2d598c(0x20b)](_0x3130b5,[_0x553cfa]);}),Array[_0x58f66c(0x182)](_0x1a6b09['values']())['map'](_0x3ba9d3=>new _0x46ea24()['add'](..._0x3ba9d3[_0x58f66c(0x13b)](_0x240744=>_0x240744[_0x58f66c(0x184)]))[_0x58f66c(0x161)]()[_0x58f66c(0x13b)](_0x33131c=>({'range':_0x33131c,'unitId':_0x3ba9d3[0x0][_0x58f66c(0x157)],'subUnitId':_0x3ba9d3[0x0][_0x58f66c(0x22a)]})))[_0x58f66c(0x247)]();}};$=Ds([Q(0x0,_0x2acfaf(E)),Q(0x1,_0x15768a),Q(0x2,_0x4f6960)],$);function he(_0xca7212){const _0x27cc3c=_0x566977;return new _0x297bff(_0xca7212)[_0x27cc3c(0x244)]();}function ys(_0x143a19){const _0x704b19=_0x566977,_0x58432b=new _0x297bff(_0x143a19),_0x77c80=new _0x297bff();return _0x58432b[_0x704b19(0x142)]((_0xf0a711,_0x542a18)=>{const _0x8870b4=_0x704b19;_0x77c80[_0x8870b4(0x1ba)](_0xf0a711,_0x542a18,0x1);}),_0x40f121(_0x77c80);}var Cs=Object[_0x566977(0xdf)],ws=(_0xdee71a,_0x41ae19,_0x21989d,_0xf6148)=>{const _0x271b3f=_0x566977;for(var _0x42802b=_0xf6148>0x1?void 0x0:_0xf6148?Cs(_0x41ae19,_0x21989d):_0x41ae19,_0x31e516=_0xdee71a[_0x271b3f(0x253)]-0x1,_0xa7c649;_0x31e516>=0x0;_0x31e516--)(_0xa7c649=_0xdee71a[_0x31e516])&&(_0x42802b=_0xa7c649(_0x42802b)||_0x42802b);return _0x42802b;},C=(_0x1dd0d1,_0x1ad3fa)=>(_0x31218b,_0x33cf83)=>_0x1ad3fa(_0x31218b,_0x33cf83,_0x1dd0d1);let te=class extends _0x5590c1{constructor(_0x156035,_0x55a342,_0xf4417a,_0x25439b,_0x44a8f7,_0x49a662,_0x209c59){const _0x581f86=_0x566977;super(),l(this,_0x581f86(0xbf),new Set()),l(this,'_lastPointer',null),(this['_context']=_0x156035,this[_0x581f86(0x1e1)]=_0x55a342,this[_0x581f86(0x10f)]=_0xf4417a,this['_univerInstanceService']=_0x25439b,this[_0x581f86(0x101)]=_0x44a8f7,this[_0x581f86(0x1d2)]=_0x49a662,this[_0x581f86(0x189)]=_0x209c59,this[_0x581f86(0xcf)]());}[_0x566977(0xcf)](){const _0x249a03=_0x566977;this[_0x249a03(0x111)](),this[_0x249a03(0x213)]();}['_initRender'](){const _0x2bc1f3=_0x566977;this[_0x2bc1f3(0x215)](_0x452eb4([this[_0x2bc1f3(0x1e1)][_0x2bc1f3(0x1d4)],this['_sheetSkeletonManagerService'][_0x2bc1f3(0xca)]])[_0x2bc1f3(0x20d)](_0x153a9c(([_0x2432fe,_0x4ca2d5])=>{const _0x2b4747=_0x2bc1f3;if(_0x2432fe===T['Loaded']&&_0x4ca2d5){const _0x1ca1da=_0x4ca2d5['sheetId'];return this['_versionDiffService'][_0x2b4747(0x124)][_0x2b4747(0x20d)](_0x1521cb(_0x1e8aa2=>{const _0x4da6a1=_0x2b4747,_0x5adfd4=new Map();return _0x1e8aa2[_0x4da6a1(0x10c)][_0x4da6a1(0x170)]((_0x36b008,_0x3fe480)=>{const _0x3187d0=_0x4da6a1,_0x5e51b7=_0x36b008[_0x3187d0(0x135)](_0x316675=>_0x316675['subUnitId']===_0x1ca1da);_0x5adfd4[_0x3187d0(0x20b)](_0x3fe480,_0x5e51b7);}),{'skeleton':_0x4ca2d5,'diffs':_0x5adfd4};}));}return _0x4b3fd5({'skeleton':null,'diffs':new Map()});}))[_0x2bc1f3(0x24a)](({skeleton:_0x555c90,diffs:_0x210076})=>{const _0x4f1aac=_0x2bc1f3;this[_0x4f1aac(0xd9)](),_0x555c90&&this[_0x4f1aac(0x14b)](_0x555c90,_0x210076);})),this['disposeWithMe'](this[_0x2bc1f3(0x1d2)][_0x2bc1f3(0xca)][_0x2bc1f3(0x24a)](_0x494ba6=>{const _0x3f5ac8=_0x2bc1f3;if(_0x494ba6==null)return;const {skeleton:_0x503578}=_0x494ba6,{scene:_0x2cf309}=this[_0x3f5ac8(0xf0)];_0x2cf309[_0x3f5ac8(0x120)][_0x3f5ac8(0x22d)](_0x57e50a(_0x304eb6=>{const _0x11bd5d=_0x3f5ac8;var _0x493b60,_0x4002f3;const {offsetX:_0x6b821,offsetY:_0x5b2a61}=_0x304eb6,{x:_0x11bded,y:_0x50a6d8}=_0x2cf309[_0x11bd5d(0xbd)](_0x2ed8fd[_0x11bd5d(0x257)]([_0x6b821,_0x5b2a61])),{scaleX:_0x57c189,scaleY:_0xc9887e}=_0x2cf309[_0x11bd5d(0x15d)](),_0x13da1c=_0x2cf309[_0x11bd5d(0x123)](_0x34386c['VIEW_MAIN']),_0x5f4451=_0x2cf309[_0x11bd5d(0xba)](_0x2ed8fd[_0x11bd5d(0x257)]([_0x11bded,_0x50a6d8]),_0x13da1c),_0x3bd0bf=_0x503578[_0x11bd5d(0x258)](_0x6b821,_0x5b2a61,_0x57c189,_0xc9887e,_0x5f4451);((_0x493b60=this['_lastPointer'])==null?void 0x0:_0x493b60[_0x11bd5d(0x17b)])===_0x3bd0bf['column']&&((_0x4002f3=this[_0x11bd5d(0xf7)])==null?void 0x0:_0x4002f3[_0x11bd5d(0x243)])===_0x3bd0bf['row']||this[_0x11bd5d(0xbf)][_0x11bd5d(0x170)](_0x341882=>{const _0x368689=_0x11bd5d;_0x341882[_0x368689(0x1b5)](_0x3bd0bf);});},0x64));}));}['_initActiveSwitch'](){const _0x39156d=_0x566977;this[_0x39156d(0x215)](this[_0x39156d(0x1e1)][_0x39156d(0x1d4)][_0x39156d(0x24a)](_0x52c019=>{const _0x29c64b=_0x39156d,_0xdd66ba=new _0x10bdaa();return _0x52c019===T[_0x29c64b(0x134)]&&(_0xdd66ba[_0x29c64b(0x16f)](),_0xdd66ba[_0x29c64b(0x207)](this[_0x29c64b(0x10f)][_0x29c64b(0x124)]['subscribe'](_0x103bb7=>{const _0x395f41=_0x29c64b;_0x103bb7['active']&&this[_0x395f41(0x189)][_0x395f41(0x146)](_0x11b1e6['id'],{'unitId':this['_context'][_0x395f41(0x157)],'subUnitId':_0x103bb7['active']});}))),()=>_0xdd66ba[_0x29c64b(0x16f)]();}));}[_0x566977(0x14b)](_0x204775,_0x41aa7f){const _0x4b51ed=_0x566977;var _0x17c85b;const _0xe8326e=(_0x17c85b=this[_0x4b51ed(0x1d2)]['getCurrent']())==null?void 0x0:_0x17c85b[_0x4b51ed(0xb2)];if(!_0xe8326e)return;this[_0x4b51ed(0xbf)][_0x4b51ed(0x170)](_0x543498=>{const _0x1f6998=_0x4b51ed;_0x543498[_0x1f6998(0x1ae)]();});const {scene:_0x3afad8}=this['_context'],_0x278ac0=Array[_0x4b51ed(0x182)](_0x41aa7f['keys']())[_0x4b51ed(0x13b)](_0x933ef7=>_0x41aa7f[_0x4b51ed(0xaf)](_0x933ef7)[_0x4b51ed(0x13b)](_0x48516b=>{const _0x202101=_0x4b51ed;var _0x194c84;const {range:_0x454fdb,subUnitId:_0x1df499,unitId:_0x5c658f}=_0x48516b,{startColumn:_0xba2735,startRow:_0x19dc37,endColumn:_0x2b84f7,endRow:_0x148d04}=_0x454fdb,_0x10e6ea=_0x4f31d8(_0x19dc37,_0xba2735,_0x3afad8,_0xe8326e),_0x4156c3=_0x4f31d8(_0x148d04,_0x2b84f7,_0x3afad8,_0xe8326e),{columnHeaderHeightAndMarginTop:_0x23eb79}=_0xe8326e,{startX:_0x17c4b0,startY:_0x1faa56}=_0x10e6ea,{endX:_0x40d6c5,endY:_0x1fa892}=_0x4156c3,_0x4f00a5=_0x40d6c5-_0x17c4b0,_0x328b03=_0x1fa892-_0x1faa56,_0x55317c={'labelPosition':_0x1faa56-_0x23eb79>=0x14?_0x202101(0x113):_0x202101(0x17f),'sheetID':_0x1df499,'range':_0x454fdb,'color':_0x202101(0x1fb),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x202101(0x1fb),'name':((_0x194c84=this[_0x202101(0x1e1)][_0x202101(0xf9)](_0x933ef7))==null?void 0x0:_0x194c84['name'])||'','selection':_0x5c658f+'-'+_0x1df499+'-'+_0x454fdb[_0x202101(0x132)]+'-'+_0x454fdb[_0x202101(0x20e)]+'-'+_0x454fdb[_0x202101(0xc9)]+'-'+_0x454fdb[_0x202101(0x136)],'left':_0x17c4b0,'top':_0x1faa56,'width':_0x4f00a5,'height':_0x328b03,'evented':!0x1,'zIndex':0x1};return new _0x3f648d('',_0x55317c);}))[_0x4b51ed(0x247)]();_0x3afad8[_0x4b51ed(0x1a7)](_0x278ac0,0x1),this[_0x4b51ed(0xbf)]=new Set(_0x278ac0);}[_0x566977(0xd9)](){const _0x4d7dfc=_0x566977;var _0x950b35;(_0x950b35=this['_diffs'])==null||_0x950b35[_0x4d7dfc(0x170)](_0x62e1ef=>_0x62e1ef[_0x4d7dfc(0x16f)]());}[_0x566977(0x1e8)](){const _0x5ecaad=_0x566977;return _0x50bbec(this[_0x5ecaad(0x137)],this[_0x5ecaad(0x101)]);}};te=ws([C(0x1,_0x2acfaf(E)),C(0x2,_0x2acfaf($)),C(0x3,_0x994981),C(0x4,_0x576170),C(0x5,_0x2acfaf(_0x416df7)),C(0x6,_0xb75958)],te);function Ps(){const _0x148913=_0x566977,_0x36ca0c=_0x363c8e(E),_0x4f5bfd=_0x4edcff(_0x36ca0c[_0x148913(0x171)]),[_0x539dba,_0x2fe5fb]=_0x14e544(!0x1),_0x995b68=cs(_0x4f5bfd);return _0x4f5bfd?_0x1ad646(_0x148913(0x205),{'className':'univer-overflow-hidden','children':_0x2cda88('div',{'className':_0x148913(0x13a),'children':[_0x995b68[_0x148913(0x13b)]((_0x33f258,_0x90b4a6)=>_0x2cda88(_0xd810d6,{'children':[_0x1ad646($s,{'date':_0x33f258[_0x148913(0x1d9)]}),_0x33f258['versions']['map']((_0x3f5b27,_0x5aac3b)=>_0x1ad646(Vs,{'index':[_0x90b4a6,_0x5aac3b],'item':_0x3f5b27},_0x90b4a6+'-'+_0x5aac3b))]},_0x33f258[_0x148913(0x1d9)])),_0x539dba&&_0x1ad646(Ts,{})]})}):_0x1ad646(Ls,{});}function Ts(){const _0x793b11=_0x566977;return _0x1ad646(_0x793b11(0x205),{'className':_0x793b11(0xb0),'children':_0x1ad646(ae,{'className':_0x793b11(0x186)})});}function Ls(){const _0x5499e6=_0x566977;return _0x1ad646(_0x5499e6(0x205),{'className':_0x5499e6(0x1c8),'children':_0x1ad646(_0x5499e6(0xf6),{'className':_0x5499e6(0xe9),'children':_0x1ad646(ae,{'className':_0x5499e6(0x193)})})});}function $s(_0x1e5bfe){const _0x183a23=_0x566977,_0x5606c4=_0x363c8e(_0x2a7309),{date:_0x37910c}=_0x1e5bfe;return _0x1ad646(_0x183a23(0x205),{'className':_0x183a23(0x165),'children':ee(_0x37910c,_0x5606c4[_0x183a23(0x18b)]())});}function Vs(_0x4c2778){const _0x169f09=_0x566977,{item:_0x429f90,index:_0x5cb970}=_0x4c2778,{time:_0x20dde0,user:_0x277465}=_0x429f90,[_0x3f6372,_0x5dba94]=_0x5cb970,_0x5c7856=_0x363c8e(E),_0x595898=_0x4edcff(_0x5c7856[_0x169f09(0x1b9)],'',!0x0)===_0x429f90['id'],_0x3b0cbc=_0x3f6372===0x0&&_0x5dba94===0x0,_0x52363b=!_0x3b0cbc&&_0x5c7856[_0x169f09(0x109)],_0x314e23=_0x363c8e(_0x2a7309),_0x4597a4=_0x314e23[_0x169f09(0x18b)](),_0x32caae=re(_0x20dde0,_0x4597a4),_0x55d039=_0x314e23['t'](_0x169f09(0xc0)),_0x1a308f=_0x12ae05(_0x50fa3c=>{const _0x4e62f=_0x169f09;_0x5c7856[_0x4e62f(0xcc)]!==T[_0x4e62f(0x19b)]&&(_0x5c7856[_0x4e62f(0xdc)]=_0x50fa3c);},[_0x5c7856]),_0x198c72=_0x12ae05(_0x15f0a2=>{const _0x1bc1d6=_0x169f09;_0x5c7856[_0x1bc1d6(0x229)](_0x15f0a2);},[_0x5c7856]);return _0x2cda88(_0x169f09(0x205),{'className':_0x28ba81(_0x169f09(0x204),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x595898}),'onClick':()=>_0x1a308f(_0x429f90['id']),'children':[_0x2cda88(_0x169f09(0x205),{'className':_0x169f09(0x121),'children':[_0x2cda88(_0x169f09(0x205),{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[_0x1ad646('span',{'children':_0x32caae[_0x169f09(0x1cf)]}),_0x3b0cbc&&_0x1ad646(_0x169f09(0xf6),{'className':'univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','children':_0x55d039})]}),_0x1ad646(_0x169f09(0x205),{'children':_0x52363b&&_0x1ad646(_0x1daa71,{'title':_0x314e23['t'](_0x169f09(0x164)),'children':_0x1ad646('div',{'onClick':_0xc95381=>{const _0x36d3b9=_0x169f09;_0xc95381[_0x36d3b9(0xa9)](),_0x198c72(_0x429f90['id']);},'className':_0x169f09(0x138),'children':_0x1ad646(Le,{})})})})]}),_0x1ad646(_0x169f09(0x205),{'className':_0x169f09(0x191),'children':as(_0x429f90,_0x314e23)})]});}var ks=Object['getOwnPropertyDescriptor'],Us=(_0x94c105,_0x556e84,_0x491e2a,_0x1acaf5)=>{const _0x197854=_0x566977;for(var _0x30740c=_0x1acaf5>0x1?void 0x0:_0x1acaf5?ks(_0x556e84,_0x491e2a):_0x556e84,_0x59730c=_0x94c105[_0x197854(0x253)]-0x1,_0x179b28;_0x59730c>=0x0;_0x59730c--)(_0x179b28=_0x94c105[_0x59730c])&&(_0x30740c=_0x179b28(_0x30740c)||_0x30740c);return _0x30740c;},k=(_0x4663b9,_0x49e36d)=>(_0x5ad72d,_0x186f53)=>_0x49e36d(_0x5ad72d,_0x186f53,_0x4663b9);const de=_0x566977(0x18a);let j=class extends _0x5590c1{constructor(_0x5e31b5,_0xa04322,_0x2f22e8,_0x4ac8d2){const _0x4ac696=_0x566977;super(),l(this,'_sidebarDisposable',null),(this[_0x4ac696(0x1c6)]=_0x5e31b5,this[_0x4ac696(0x22e)]=_0xa04322,this['_localeService']=_0x2f22e8,this[_0x4ac696(0x1e1)]=_0x4ac8d2,this[_0x4ac696(0xcf)]());}[_0x566977(0xcf)](){const _0x577188=_0x566977;this['_initPanel'](),this[_0x577188(0x16a)]();}['_openPanel'](){const _0x5e96a8=_0x566977;if(this['_sidebarDisposable'])return;const _0x589d65={'header':{'title':this['_localeService']['t'](_0x5e96a8(0x159))},'children':{'label':de},'onClose':()=>{const _0x44df12=_0x5e96a8;this['_sidebarDisposable']=null,this['_historyManagerService'][_0x44df12(0x25b)]=ne['Exited'];}};this[_0x5e96a8(0x126)]=this['_sidebarService'][_0x5e96a8(0x1dd)]({..._0x589d65});}['_initPanel'](){const _0x2638b2=_0x566977;this[_0x2638b2(0x215)](this[_0x2638b2(0x22e)]['register'](de,Ps)),this[_0x2638b2(0x215)](this['_sidebarService']['scrollEvent$'][_0x2638b2(0x20d)](_0x567a57(0x64))[_0x2638b2(0x24a)](_0x2bb5ab=>{const _0x4a1861=_0x2638b2,{target:_0x5d147b}=_0x2bb5ab||{};if(_0x5d147b){const {scrollTop:_0x29b3ac,scrollHeight:_0x560bb5,clientHeight:_0x48373f}=_0x5d147b;_0x29b3ac+_0x48373f>=_0x560bb5-0x5&&this[_0x4a1861(0x1e1)]['loadMoreVersions']();}}));}};j=Us([k(0x0,_0x2b9a0b),k(0x1,_0x2acfaf(_0x3c9487)),k(0x2,_0x2acfaf(_0x2a7309)),k(0x3,_0x2acfaf(E))],j);function _0x1884(_0x53f865,_0x4092bb){const _0x5f1fa1=_0x5f1f();return _0x1884=function(_0x188464,_0x2f9d1e){_0x188464=_0x188464-0xa7;let _0x1f506a=_0x5f1fa1[_0x188464];return _0x1f506a;},_0x1884(_0x53f865,_0x4092bb);}class xs extends _0x5590c1{constructor(){const _0x2b908b=_0x566977;super(),l(this,_0x2b908b(0x10b),new _0x315d50());}[_0x566977(0x1dd)](){return _0x4e2c66(()=>{});}['close'](){}['closeAll'](_0x2cec4b){}[_0x566977(0x22b)](){const _0x11c22f=_0x566977;return this[_0x11c22f(0x10b)]['asObservable']();}}var Hs=Object['defineProperty'],Fs=Object[_0x566977(0xdf)],Ys=(_0x423ee6,_0x448d94,_0x4877a6)=>_0x448d94 in _0x423ee6?Hs(_0x423ee6,_0x448d94,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4877a6}):_0x423ee6[_0x448d94]=_0x4877a6,Bs=(_0x5268b3,_0x825074,_0x2056c5,_0x3f8ba0)=>{const _0x35146d=_0x566977;for(var _0x1fe001=_0x3f8ba0>0x1?void 0x0:_0x3f8ba0?Fs(_0x825074,_0x2056c5):_0x825074,_0x15e97f=_0x5268b3[_0x35146d(0x253)]-0x1,_0x2245aa;_0x15e97f>=0x0;_0x15e97f--)(_0x2245aa=_0x5268b3[_0x15e97f])&&(_0x1fe001=_0x2245aa(_0x1fe001)||_0x1fe001);return _0x1fe001;},J=(_0x323f19,_0x417d2f)=>(_0x2de71a,_0x2bb0b6)=>_0x417d2f(_0x2de71a,_0x2bb0b6,_0x323f19),js=(_0xc6988e,_0x298978,_0x203d30)=>Ys(_0xc6988e,_0x298978+'',_0x203d30);const As='UNIVER_EDIT_HISTORY_VIEWER_PLUGIN';let se=class extends _0x4f728f{constructor(_0x39f7e5=_e,_0x4da760,_0x1ab43a,_0x3cf236){const _0x59040b=_0x566977;super(),this[_0x59040b(0xc3)]=_0x39f7e5,this['_injector']=_0x4da760,this[_0x59040b(0x101)]=_0x1ab43a,this[_0x59040b(0x21d)]=_0x3cf236;const {..._0x48c716}=_0x1c63d3({},_e,this[_0x59040b(0xc3)]);this['_configService'][_0x59040b(0x16b)](we,_0x48c716);}[_0x566977(0x23e)](){const _0x4eddc0=_0x566977;[[E],[B],[$],[Y],[j],[H],[_0x4f6960,{'useClass':_0x3db04b}],[_0x21a344,{'useClass':xs}],[_0x12e43a,{'useClass':_0x520df6}]]['forEach'](_0x36d3ca=>this[_0x4eddc0(0x1f9)][_0x4eddc0(0x207)](_0x36d3ca)),this[_0x4eddc0(0x1f9)][_0x4eddc0(0xaf)](B);}[_0x566977(0x10a)](){const _0x27cdd3=_0x566977;[[te]][_0x27cdd3(0x170)](_0x364cc9=>{const _0xdf6760=_0x27cdd3;this[_0xdf6760(0x215)](this[_0xdf6760(0x101)][_0xdf6760(0x206)](_0x8dc024['UNIVER_SHEET'],_0x364cc9));}),this[_0x27cdd3(0x1f9)][_0x27cdd3(0xaf)](H),this[_0x27cdd3(0x1f9)][_0x27cdd3(0xaf)](j);}[_0x566977(0x25c)](){const _0x474ab1=_0x566977;this[_0x474ab1(0x1f9)]['get']($);}};js(se,_0x566977(0x25d),As),se=Bs([_0x4fb3d1(_0x3d00ef,_0x1928d4),J(0x1,_0x2acfaf(_0x3a07f0)),J(0x2,_0x576170),J(0x3,_0x529bdf)],se);export{E as HistoryManagerService,ne as HistoryModeStatus,se as UniverEditHistoryViewerPlugin};
@@ -1 +1 @@
1
- const _0x12aa6a=_0x49b4;(function(_0x3e929b,_0x3ef623){const _0x5aa279=_0x49b4,_0x1a9c90=_0x3e929b();while(!![]){try{const _0x4bbd89=-parseInt(_0x5aa279(0xba))/0x1*(parseInt(_0x5aa279(0xc1))/0x2)+parseInt(_0x5aa279(0xc2))/0x3+parseInt(_0x5aa279(0xce))/0x4*(-parseInt(_0x5aa279(0xbe))/0x5)+parseInt(_0x5aa279(0xcf))/0x6+parseInt(_0x5aa279(0xc4))/0x7+parseInt(_0x5aa279(0xcc))/0x8*(parseInt(_0x5aa279(0xca))/0x9)+parseInt(_0x5aa279(0xc7))/0xa;if(_0x4bbd89===_0x3ef623)break;else _0x1a9c90['push'](_0x1a9c90['shift']());}catch(_0xc85fa6){_0x1a9c90['push'](_0x1a9c90['shift']());}}}(_0x2eb5,0xc35f3));const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':_0x12aa6a(0xd7),'listFetchError':_0x12aa6a(0xd3),'revertConfirm':_0x12aa6a(0xc0),'revertConfirmText':_0x12aa6a(0xbc),'cancel':'Cancel','confirm':'Confirm','reverting':_0x12aa6a(0xd5),'revertFailed':_0x12aa6a(0xbb),'currentVersion':_0x12aa6a(0xb9),'currentUser':_0x12aa6a(0xd4),'revertDesc':'Restore\x20this\x20version'},'info':{'loading':_0x12aa6a(0xc5)},'header':{'back':_0x12aa6a(0xc6),'revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0x12aa6a(0xc8),'removeSheet':_0x12aa6a(0xcb),'createSheet':'created\x20workbook','setFilter':_0x12aa6a(0xcd),'setFrozen':_0x12aa6a(0xd6),'editSheet':_0x12aa6a(0xd2),'revertSheet':'reverted\x20workbook','revertSheetPrefix':_0x12aa6a(0xc9),'revertSheetSuffix':'','setDV':_0x12aa6a(0xbd),'setCF':_0x12aa6a(0xc3),'addCF':_0x12aa6a(0xd0),'addProtection':_0x12aa6a(0xd1),'addSparkline':'add\x20sparkline','deleteProtection':_0x12aa6a(0xbf),'etc':',\x20etc.'}}},t=e;export{t as default};function _0x49b4(_0x584b8b,_0x439528){const _0x2eb5c8=_0x2eb5();return _0x49b4=function(_0x49b44a,_0x24175d){_0x49b44a=_0x49b44a-0xb9;let _0x3c54f5=_0x2eb5c8[_0x49b44a];return _0x3c54f5;},_0x49b4(_0x584b8b,_0x439528);}function _0x2eb5(){const _0x1b55b8=['loading,\x20please\x20wait...','Back','14718150qMWlAT','inserted\x20worksheet','Reverted\x20from','36tSLxDl','deleted\x20worksheet','385584xgQAUK','set\x20filter','204eNjceU','342588gEoKow','add\x20conditional\x20formatting','add\x20protection','edited\x20worksheet','Failed\x20to\x20get\x20edit\x20history\x20list','Current\x20User','Reverting,\x20please\x20wait...','set\x20frozen','Unknown\x20User','Current\x20Version','289509JGRysf','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','set\x20data\x20validation','84335MxcBZV','delete\x20protection','Restore\x20this\x20version?','10LMvkHF','1478079cpZnNX','set\x20conditional\x20formatting','6255249GeCfLZ'];_0x2eb5=function(){return _0x1b55b8;};return _0x2eb5();}
1
+ const _0x16710c=_0x3a97;function _0x3a97(_0x16d393,_0x405406){const _0x4b08ec=_0x4b08();return _0x3a97=function(_0x3a9738,_0x3c2e6c){_0x3a9738=_0x3a9738-0x11f;let _0x4a4c95=_0x4b08ec[_0x3a9738];return _0x4a4c95;},_0x3a97(_0x16d393,_0x405406);}function _0x4b08(){const _0x5189b5=[',\x20etc.','add\x20conditional\x20formatting','Unknown\x20User','3767344ePUqUK','reverted\x20workbook','2531020jZaexS','deleted\x20worksheet','Restore\x20this\x20version?','edited\x20worksheet','1494pHYsJd','set\x20data\x20validation','9rQmQZd','7MSsnNZ','3066546LHzHeF','Cancel','add\x20sparkline','Edit\x20History','Confirm','set\x20frozen','set\x20conditional\x20formatting','Restore\x20this\x20version','loading,\x20please\x20wait...','delete\x20protection','created\x20workbook','Reverting,\x20please\x20wait...','3964kdyktn','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','523960OaAvrp','Reverted\x20from','23370720hnbEmq','set\x20filter','1705620TwkZST','Failed\x20to\x20get\x20edit\x20history\x20list'];_0x4b08=function(){return _0x5189b5;};return _0x4b08();}(function(_0x19f991,_0xd0c09f){const _0x1c4e2b=_0x3a97,_0x176e0b=_0x19f991();while(!![]){try{const _0x3dec2a=-parseInt(_0x1c4e2b(0x13e))/0x1+-parseInt(_0x1c4e2b(0x121))/0x2+parseInt(_0x1c4e2b(0x12c))/0x3*(parseInt(_0x1c4e2b(0x13c))/0x4)+-parseInt(_0x1c4e2b(0x128))/0x5+-parseInt(_0x1c4e2b(0x130))/0x6*(parseInt(_0x1c4e2b(0x12f))/0x7)+parseInt(_0x1c4e2b(0x126))/0x8*(parseInt(_0x1c4e2b(0x12e))/0x9)+parseInt(_0x1c4e2b(0x11f))/0xa;if(_0x3dec2a===_0xd0c09f)break;else _0x176e0b['push'](_0x176e0b['shift']());}catch(_0x105c91){_0x176e0b['push'](_0x176e0b['shift']());}}}(_0x4b08,0xdd8b3));const e={'editHistory':{'panel':{'title':_0x16710c(0x133),'unknownUser':_0x16710c(0x125),'listFetchError':_0x16710c(0x122),'revertConfirm':_0x16710c(0x12a),'revertConfirmText':_0x16710c(0x13d),'cancel':_0x16710c(0x131),'confirm':_0x16710c(0x134),'reverting':_0x16710c(0x13b),'revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':'Current\x20Version','currentUser':'Current\x20User','revertDesc':_0x16710c(0x137)},'info':{'loading':_0x16710c(0x138)},'header':{'back':'Back','revert':_0x16710c(0x137)},'action':{'insertSheet':'inserted\x20worksheet','removeSheet':_0x16710c(0x129),'createSheet':_0x16710c(0x13a),'setFilter':_0x16710c(0x120),'setFrozen':_0x16710c(0x135),'editSheet':_0x16710c(0x12b),'revertSheet':_0x16710c(0x127),'revertSheetPrefix':_0x16710c(0x13f),'revertSheetSuffix':'','setDV':_0x16710c(0x12d),'setCF':_0x16710c(0x136),'addCF':_0x16710c(0x124),'addProtection':'add\x20protection','addSparkline':_0x16710c(0x132),'deleteProtection':_0x16710c(0x139),'etc':_0x16710c(0x123)}}},t=e;export{t as default};