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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ko-KR.js +1 -1
  8. package/lib/cjs/locale/ru-RU.js +1 -1
  9. package/lib/cjs/locale/vi-VN.js +1 -1
  10. package/lib/cjs/locale/zh-CN.js +1 -1
  11. package/lib/cjs/locale/zh-TW.js +1 -1
  12. package/lib/es/index.js +1 -1
  13. package/lib/es/locale/ca-ES.js +1 -1
  14. package/lib/es/locale/en-US.js +1 -1
  15. package/lib/es/locale/es-ES.js +1 -1
  16. package/lib/es/locale/fa-IR.js +1 -1
  17. package/lib/es/locale/fr-FR.js +1 -1
  18. package/lib/es/locale/ko-KR.js +1 -1
  19. package/lib/es/locale/ru-RU.js +1 -1
  20. package/lib/es/locale/vi-VN.js +1 -1
  21. package/lib/es/locale/zh-CN.js +1 -1
  22. package/lib/es/locale/zh-TW.js +1 -1
  23. package/lib/index.js +1 -1
  24. package/lib/locale/ca-ES.js +1 -1
  25. package/lib/locale/en-US.js +1 -1
  26. package/lib/locale/es-ES.js +1 -1
  27. package/lib/locale/fa-IR.js +1 -1
  28. package/lib/locale/fr-FR.js +1 -1
  29. package/lib/locale/ko-KR.js +1 -1
  30. package/lib/locale/ru-RU.js +1 -1
  31. package/lib/locale/vi-VN.js +1 -1
  32. package/lib/locale/zh-CN.js +1 -1
  33. package/lib/locale/zh-TW.js +1 -1
  34. package/lib/umd/index.js +1 -1
  35. package/lib/umd/locale/ca-ES.js +1 -1
  36. package/lib/umd/locale/en-US.js +1 -1
  37. package/lib/umd/locale/es-ES.js +1 -1
  38. package/lib/umd/locale/fa-IR.js +1 -1
  39. package/lib/umd/locale/fr-FR.js +1 -1
  40. package/lib/umd/locale/ko-KR.js +1 -1
  41. package/lib/umd/locale/ru-RU.js +1 -1
  42. package/lib/umd/locale/vi-VN.js +1 -1
  43. package/lib/umd/locale/zh-CN.js +1 -1
  44. package/lib/umd/locale/zh-TW.js +1 -1
  45. package/package.json +17 -17
@@ -1 +1 @@
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
+ 'use strict';const _0x203ffa=_0x5c39;(function(_0x2bc3ed,_0x14f57e){const _0x26c81a=_0x5c39,_0x162d0b=_0x2bc3ed();while(!![]){try{const _0x113cd7=parseInt(_0x26c81a(0x12f))/0x1*(-parseInt(_0x26c81a(0x13b))/0x2)+parseInt(_0x26c81a(0x145))/0x3+parseInt(_0x26c81a(0x148))/0x4+-parseInt(_0x26c81a(0x12b))/0x5+-parseInt(_0x26c81a(0x135))/0x6+-parseInt(_0x26c81a(0x13a))/0x7+-parseInt(_0x26c81a(0x141))/0x8*(-parseInt(_0x26c81a(0x13c))/0x9);if(_0x113cd7===_0x14f57e)break;else _0x162d0b['push'](_0x162d0b['shift']());}catch(_0x401065){_0x162d0b['push'](_0x162d0b['shift']());}}}(_0x178f,0xe829b));const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':_0x203ffa(0x130),'listFetchError':_0x203ffa(0x139),'revertConfirm':_0x203ffa(0x132),'revertConfirmText':_0x203ffa(0x13e),'cancel':_0x203ffa(0x142),'confirm':_0x203ffa(0x128),'reverting':_0x203ffa(0x13d),'revertFailed':_0x203ffa(0x133),'currentVersion':'Current\x20Version','currentUser':_0x203ffa(0x12a),'revertDesc':_0x203ffa(0x138)},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':_0x203ffa(0x146),'revert':_0x203ffa(0x138)},'action':{'insertSheet':_0x203ffa(0x137),'removeSheet':_0x203ffa(0x140),'createSheet':_0x203ffa(0x134),'setFilter':_0x203ffa(0x147),'setFrozen':'set\x20frozen','editSheet':_0x203ffa(0x129),'revertSheet':_0x203ffa(0x144),'revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':_0x203ffa(0x131),'setCF':_0x203ffa(0x136),'addCF':_0x203ffa(0x12e),'addProtection':_0x203ffa(0x143),'addSparkline':_0x203ffa(0x12c),'deleteProtection':_0x203ffa(0x13f),'etc':_0x203ffa(0x12d)}}},t=e;function _0x178f(){const _0x45f852=['Current\x20User','794650yJtINI','add\x20sparkline',',\x20etc.','add\x20conditional\x20formatting','1710496iDahzA','Unknown\x20User','set\x20data\x20validation','Restore\x20this\x20version?','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','created\x20workbook','3454938NAKIgi','set\x20conditional\x20formatting','inserted\x20worksheet','Restore\x20this\x20version','Failed\x20to\x20get\x20edit\x20history\x20list','1402492HUNjcR','2fQVCSq','9WkdIEq','Reverting,\x20please\x20wait...','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','delete\x20protection','deleted\x20worksheet','10586360DORKxU','Cancel','add\x20protection','reverted\x20workbook','1752609aOhiAT','Back','set\x20filter','6756184TOzkSu','exports','Confirm','edited\x20worksheet'];_0x178f=function(){return _0x45f852;};return _0x178f();}function _0x5c39(_0x14c455,_0x4ac07e){const _0x178f6d=_0x178f();return _0x5c39=function(_0x5c39da,_0x2c33c2){_0x5c39da=_0x5c39da-0x127;let _0x1cfcd0=_0x178f6d[_0x5c39da];return _0x1cfcd0;},_0x5c39(_0x14c455,_0x4ac07e);}module[_0x203ffa(0x127)]=t;
@@ -1 +1 @@
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
+ 'use strict';const _0x451663=_0x47f2;(function(_0xaba4ad,_0x625f75){const _0x4e21c6=_0x47f2,_0xce1edf=_0xaba4ad();while(!![]){try{const _0x546dd5=parseInt(_0x4e21c6(0x1a0))/0x1*(parseInt(_0x4e21c6(0x18a))/0x2)+parseInt(_0x4e21c6(0x1a5))/0x3+parseInt(_0x4e21c6(0x1a7))/0x4*(parseInt(_0x4e21c6(0x191))/0x5)+-parseInt(_0x4e21c6(0x19b))/0x6*(parseInt(_0x4e21c6(0x19f))/0x7)+-parseInt(_0x4e21c6(0x196))/0x8+parseInt(_0x4e21c6(0x1a8))/0x9+-parseInt(_0x4e21c6(0x199))/0xa*(parseInt(_0x4e21c6(0x190))/0xb);if(_0x546dd5===_0x625f75)break;else _0xce1edf['push'](_0xce1edf['shift']());}catch(_0xe9b4ef){_0xce1edf['push'](_0xce1edf['shift']());}}}(_0x48a6,0xb9137));function _0x47f2(_0x7e7abb,_0xb22b71){const _0x48a688=_0x48a6();return _0x47f2=function(_0x47f297,_0x36dd79){_0x47f297=_0x47f297-0x187;let _0x44d74a=_0x48a688[_0x47f297];return _0x44d74a;},_0x47f2(_0x7e7abb,_0xb22b71);}const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':_0x451663(0x18d),'listFetchError':_0x451663(0x187),'revertConfirm':_0x451663(0x188),'revertConfirmText':_0x451663(0x1a6),'cancel':_0x451663(0x18b),'confirm':'Confirm','reverting':_0x451663(0x19a),'revertFailed':_0x451663(0x189),'currentVersion':_0x451663(0x19d),'currentUser':_0x451663(0x195),'revertDesc':_0x451663(0x1a1)},'info':{'loading':_0x451663(0x1a4)},'header':{'back':_0x451663(0x19c),'revert':_0x451663(0x1a1)},'action':{'insertSheet':_0x451663(0x1a3),'removeSheet':_0x451663(0x1a2),'createSheet':_0x451663(0x194),'setFilter':_0x451663(0x18f),'setFrozen':_0x451663(0x192),'editSheet':'edited\x20worksheet','revertSheet':_0x451663(0x18e),'revertSheetPrefix':_0x451663(0x193),'revertSheetSuffix':'','setDV':_0x451663(0x198),'setCF':'set\x20conditional\x20formatting','addCF':_0x451663(0x197),'addProtection':'add\x20protection','addSparkline':_0x451663(0x18c),'deleteProtection':_0x451663(0x19e),'etc':',\x20etc.'}}},t=e;function _0x48a6(){const _0x47bff5=['loading,\x20please\x20wait...','1425543dhpXAo','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','60hwAYAM','10789083FwRMLh','Failed\x20to\x20get\x20edit\x20history\x20list','Restore\x20this\x20version?','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','19108KqTPec','Cancel','add\x20sparkline','Unknown\x20User','reverted\x20workbook','set\x20filter','3614127vTJMLP','26385iLpETf','set\x20frozen','Reverted\x20from','created\x20workbook','Current\x20User','2559912NGlWnr','add\x20conditional\x20formatting','set\x20data\x20validation','10RlvvAZ','Reverting,\x20please\x20wait...','310038PdsEdb','Back','Current\x20Version','delete\x20protection','56REHnUS','7CKrbEe','Restore\x20this\x20version','deleted\x20worksheet','inserted\x20worksheet'];_0x48a6=function(){return _0x47bff5;};return _0x48a6();}module['exports']=t;
@@ -1 +1 @@
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
+ 'use strict';const _0x38df0b=_0xa3ad;(function(_0x4d6d4a,_0x301882){const _0x2df95c=_0xa3ad,_0x57b1e5=_0x4d6d4a();while(!![]){try{const _0xcdcb77=-parseInt(_0x2df95c(0x15c))/0x1*(parseInt(_0x2df95c(0x150))/0x2)+-parseInt(_0x2df95c(0x160))/0x3*(-parseInt(_0x2df95c(0x15f))/0x4)+parseInt(_0x2df95c(0x14b))/0x5+parseInt(_0x2df95c(0x163))/0x6*(-parseInt(_0x2df95c(0x14a))/0x7)+-parseInt(_0x2df95c(0x147))/0x8*(-parseInt(_0x2df95c(0x15a))/0x9)+-parseInt(_0x2df95c(0x156))/0xa+parseInt(_0x2df95c(0x14c))/0xb;if(_0xcdcb77===_0x301882)break;else _0x57b1e5['push'](_0x57b1e5['shift']());}catch(_0x22ee93){_0x57b1e5['push'](_0x57b1e5['shift']());}}}(_0x1e57,0x51de6));const e={'editHistory':{'panel':{'title':_0x38df0b(0x166),'unknownUser':_0x38df0b(0x148),'listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list','revertConfirm':_0x38df0b(0x159),'revertConfirmText':_0x38df0b(0x155),'cancel':_0x38df0b(0x15e),'confirm':_0x38df0b(0x161),'reverting':'Reverting,\x20please\x20wait...','revertFailed':_0x38df0b(0x164),'currentVersion':_0x38df0b(0x144),'currentUser':_0x38df0b(0x14f),'revertDesc':_0x38df0b(0x157)},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':_0x38df0b(0x153),'revert':_0x38df0b(0x157)},'action':{'insertSheet':_0x38df0b(0x154),'removeSheet':_0x38df0b(0x149),'createSheet':_0x38df0b(0x151),'setFilter':_0x38df0b(0x152),'setFrozen':'set\x20frozen','editSheet':_0x38df0b(0x15d),'revertSheet':_0x38df0b(0x14e),'revertSheetPrefix':_0x38df0b(0x162),'revertSheetSuffix':'','setDV':_0x38df0b(0x145),'setCF':_0x38df0b(0x146),'addCF':_0x38df0b(0x14d),'addProtection':_0x38df0b(0x15b),'addSparkline':_0x38df0b(0x167),'deleteProtection':'delete\x20protection','etc':_0x38df0b(0x165)}}},t=e;function _0xa3ad(_0x459aaf,_0x31bd4d){const _0x1e571d=_0x1e57();return _0xa3ad=function(_0xa3adc7,_0x438a32){_0xa3adc7=_0xa3adc7-0x144;let _0x4be32a=_0x1e571d[_0xa3adc7];return _0x4be32a;},_0xa3ad(_0x459aaf,_0x31bd4d);}function _0x1e57(){const _0x1fdcec=['reverted\x20workbook','Current\x20User','2uwtqIg','created\x20workbook','set\x20filter','Back','inserted\x20worksheet','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','5542210RlcuTT','Restore\x20this\x20version','exports','Restore\x20this\x20version?','9GrUZfM','add\x20protection','184690uXtpiI','edited\x20worksheet','Cancel','92qlqILe','32883RNBLli','Confirm','Reverted\x20from','30tMVoGz','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result',',\x20etc.','Edit\x20History','add\x20sparkline','Current\x20Version','set\x20data\x20validation','set\x20conditional\x20formatting','1145960zCXmER','Unknown\x20User','deleted\x20worksheet','174251DCovIB','2039220sqoWJw','4350698ZjlxZv','add\x20conditional\x20formatting'];_0x1e57=function(){return _0x1fdcec;};return _0x1e57();}module[_0x38df0b(0x158)]=t;
@@ -1 +1 @@
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
+ 'use strict';const _0x23debd=_0x477a;function _0x477a(_0x4e4412,_0x4c6059){const _0x89f0e0=_0x89f0();return _0x477a=function(_0x477a61,_0x53284a){_0x477a61=_0x477a61-0x12f;let _0x3b47eb=_0x89f0e0[_0x477a61];return _0x3b47eb;},_0x477a(_0x4e4412,_0x4c6059);}function _0x89f0(){const _0x40bcfe=['当前用户','48jhHukZ','20mytUmo','还原了版本','删除了工作表','195740fAzLID','还原了','编辑了工作表','设置了条件格式','添加了保护范围','1716726afGKzX','正在还原,请稍等...','移除了保护范围','exports','1593992Yqhvfd','还原到此版本','66QrRimu','插入了工作表','14aryGNT','设置了数据验证','获取编辑历史记录列表失败','的版本','还原到此版本?','该文档将会被还原到选中版本','创建了工作表','3408498JfMuvM','添加了条件格式','1IVbEcX','2969080IRJBTY','1508196TVVVDs','未知错误,请刷新页面查看还原结果','806326sFSLuO','未知用户','添加了迷你图','加载中,请稍等...'];_0x89f0=function(){return _0x40bcfe;};return _0x89f0();}(function(_0x8f4175,_0x5153b5){const _0x38b2b3=_0x477a,_0x29ab3a=_0x8f4175();while(!![]){try{const _0x5a0413=-parseInt(_0x38b2b3(0x14a))/0x1*(parseInt(_0x38b2b3(0x14e))/0x2)+-parseInt(_0x38b2b3(0x139))/0x3+parseInt(_0x38b2b3(0x13d))/0x4+parseInt(_0x38b2b3(0x134))/0x5*(parseInt(_0x38b2b3(0x130))/0x6)+parseInt(_0x38b2b3(0x141))/0x7*(parseInt(_0x38b2b3(0x14b))/0x8)+parseInt(_0x38b2b3(0x148))/0x9*(parseInt(_0x38b2b3(0x131))/0xa)+parseInt(_0x38b2b3(0x13f))/0xb*(-parseInt(_0x38b2b3(0x14c))/0xc);if(_0x5a0413===_0x5153b5)break;else _0x29ab3a['push'](_0x29ab3a['shift']());}catch(_0x28c2c0){_0x29ab3a['push'](_0x29ab3a['shift']());}}}(_0x89f0,0x75a65));const e={'editHistory':{'panel':{'title':'历史记录','unknownUser':_0x23debd(0x14f),'listFetchError':_0x23debd(0x143),'revertConfirm':_0x23debd(0x145),'revertConfirmText':_0x23debd(0x146),'cancel':'取消','confirm':'确认','reverting':_0x23debd(0x13a),'revertFailed':_0x23debd(0x14d),'currentVersion':'当前版本','currentUser':_0x23debd(0x12f),'revertDesc':_0x23debd(0x13e)},'info':{'loading':_0x23debd(0x151)},'header':{'back':'返回','revert':'还原到此版本'},'action':{'insertSheet':_0x23debd(0x140),'removeSheet':_0x23debd(0x133),'createSheet':_0x23debd(0x147),'setFilter':'设置了筛选','setFrozen':'冻结了工作表','editSheet':_0x23debd(0x136),'revertSheet':_0x23debd(0x132),'revertSheetPrefix':_0x23debd(0x135),'revertSheetSuffix':_0x23debd(0x144),'setDV':_0x23debd(0x142),'setCF':_0x23debd(0x137),'addCF':_0x23debd(0x149),'addProtection':_0x23debd(0x138),'addSparkline':_0x23debd(0x150),'deleteProtection':_0x23debd(0x13b),'etc':',等'}}};module[_0x23debd(0x13c)]=e;
@@ -1 +1 @@
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;
1
+ 'use strict';const _0x5b2138=_0x5d1f;(function(_0x1b7aae,_0x48c76c){const _0x30e2f9=_0x5d1f,_0x200868=_0x1b7aae();while(!![]){try{const _0x279be4=parseInt(_0x30e2f9(0x99))/0x1*(parseInt(_0x30e2f9(0xa2))/0x2)+-parseInt(_0x30e2f9(0xa1))/0x3+-parseInt(_0x30e2f9(0x95))/0x4+parseInt(_0x30e2f9(0x8f))/0x5*(parseInt(_0x30e2f9(0xac))/0x6)+-parseInt(_0x30e2f9(0x9c))/0x7+-parseInt(_0x30e2f9(0x9b))/0x8+parseInt(_0x30e2f9(0x91))/0x9*(parseInt(_0x30e2f9(0x8c))/0xa);if(_0x279be4===_0x48c76c)break;else _0x200868['push'](_0x200868['shift']());}catch(_0x14259e){_0x200868['push'](_0x200868['shift']());}}}(_0x6e36,0xd5549));function _0x5d1f(_0x27cdec,_0x48b666){const _0x6e3666=_0x6e36();return _0x5d1f=function(_0x5d1f05,_0x2664a9){_0x5d1f05=_0x5d1f05-0x8b;let _0x1f2221=_0x6e3666[_0x5d1f05];return _0x1f2221;},_0x5d1f(_0x27cdec,_0x48b666);}function _0x6e36(){const _0x1d33f0=['Failed\x20to\x20get\x20edit\x20history\x20list','Reverting,\x20please\x20wait...','Reverted\x20from','Restore\x20this\x20version','add\x20conditional\x20formatting','Back','30KybMnv','set\x20data\x20validation','deleted\x20worksheet','add\x20protection','set\x20filter','Edit\x20History','18835820HaltFM','set\x20conditional\x20formatting','exports','134905kiYKqD','loading,\x20please\x20wait...','9SCVoeh','edited\x20worksheet','Confirm','Restore\x20this\x20version?','6281724ycFCSH','Cancel','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','created\x20workbook','39kESXKt','add\x20sparkline','7009080fMZAgk','995421xwhAPO','reverted\x20workbook','inserted\x20worksheet','Unknown\x20User',',\x20etc.','841140PZHYJR','88434WOMaAh','delete\x20protection','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','set\x20frozen'];_0x6e36=function(){return _0x1d33f0;};return _0x6e36();}const e={'editHistory':{'panel':{'title':_0x5b2138(0x8b),'unknownUser':_0x5b2138(0x9f),'listFetchError':_0x5b2138(0xa6),'revertConfirm':_0x5b2138(0x94),'revertConfirmText':_0x5b2138(0x97),'cancel':_0x5b2138(0x96),'confirm':_0x5b2138(0x93),'reverting':_0x5b2138(0xa7),'revertFailed':_0x5b2138(0xa4),'currentVersion':'Current\x20Version','currentUser':'Current\x20User','revertDesc':_0x5b2138(0xa9)},'info':{'loading':_0x5b2138(0x90)},'header':{'back':_0x5b2138(0xab),'revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0x5b2138(0x9e),'removeSheet':_0x5b2138(0xae),'createSheet':_0x5b2138(0x98),'setFilter':_0x5b2138(0xb0),'setFrozen':_0x5b2138(0xa5),'editSheet':_0x5b2138(0x92),'revertSheet':_0x5b2138(0x9d),'revertSheetPrefix':_0x5b2138(0xa8),'revertSheetSuffix':'','setDV':_0x5b2138(0xad),'setCF':_0x5b2138(0x8d),'addCF':_0x5b2138(0xaa),'addProtection':_0x5b2138(0xaf),'addSparkline':_0x5b2138(0x9a),'deleteProtection':_0x5b2138(0xa3),'etc':_0x5b2138(0xa0)}}},t=e;module[_0x5b2138(0x8e)]=t;
package/lib/es/index.js CHANGED
@@ -1 +1 @@
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
+ const _0x5a93be=_0xa3f9;(function(_0x2fb603,_0x330cdc){const _0x4feb70=_0xa3f9,_0x5b6ece=_0x2fb603();while(!![]){try{const _0x1f6b15=-parseInt(_0x4feb70(0x279))/0x1+-parseInt(_0x4feb70(0x319))/0x2*(parseInt(_0x4feb70(0x258))/0x3)+parseInt(_0x4feb70(0x179))/0x4*(parseInt(_0x4feb70(0x184))/0x5)+-parseInt(_0x4feb70(0x182))/0x6*(-parseInt(_0x4feb70(0x263))/0x7)+parseInt(_0x4feb70(0x261))/0x8+parseInt(_0x4feb70(0x24a))/0x9+parseInt(_0x4feb70(0x226))/0xa;if(_0x1f6b15===_0x330cdc)break;else _0x5b6ece['push'](_0x5b6ece['shift']());}catch(_0x2367d3){_0x5b6ece['push'](_0x5b6ece['shift']());}}}(_0x31a6,0x9efa2));var Fe=Object[_0x5a93be(0x264)],Ye=(_0x159318,_0x2ef40b,_0x3ea753)=>_0x2ef40b in _0x159318?Fe(_0x159318,_0x2ef40b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ea753}):_0x159318[_0x2ef40b]=_0x3ea753,l=(_0x36c00,_0x562bf5,_0x263b5a)=>Ye(_0x36c00,typeof _0x562bf5!=_0x5a93be(0x2aa)?_0x562bf5+'':_0x562bf5,_0x263b5a);import{RevertRevisionMutation as _0x55cd66,CreateUnitMutation as _0x50f340,ISnapshotServerService as _0x349e65,CompressMutationService as _0x2b0fcf,transformSnapshotToWorkbookData as _0x1a4323,ITransformService as _0x253b73,parseProtocolChangeset as _0x453676,isTransformMutationsSuccess as _0x345763}from'@univerjs-pro/collaboration';import{SnapshotServerOverHTTPService as _0x519c13,CollaborationImageIoService as _0x44da1f}from'@univerjs-pro/collaboration-client';import{Disposable as _0x1e4563,LocaleType as _0x444a30,IUniverInstanceService as _0x207a91,ICommandService as _0x39c498,IConfigService as _0x1b9e1e,Inject as _0x4ed92a,UniverInstanceType as _0x1ad7d0,LocaleService as _0x1d19dc,IPermissionService as _0x4f7457,Injector as _0x391434,ObjectMatrix as _0x644215,debounce as _0x2ad767,DisposableCollection as _0x462453,toDisposable as _0x34e051,DependentOn as _0x3047d3,Plugin as _0x3fa1ba,merge as _0x680b45}from'@univerjs/core';import{IImageIoService as _0x5e9913}from'@univerjs/drawing';import{IRenderManagerService as _0x590fdf,Vector2 as _0x39f273,SHEET_VIEWPORT_KEY as _0x179211}from'@univerjs/engine-render';import{HTTPService as _0x4d600c,UniverNetworkPlugin as _0x24e675}from'@univerjs/network';import{ICellEditorManagerService as _0x2d7bd5,SheetSkeletonManagerService as _0x3ceff0,getCoordByCell as _0x38477d,getSheetObject as _0x4362ed,UniverSheetsUIPlugin as _0x36013d}from'@univerjs/sheets-ui';import{IMessageService as _0x18abf5,IConfirmService as _0x244812,useDependency as _0x29733e,useObservable as _0x4c9d85,IUIPartsService as _0x58f2ed,BuiltInUIPart as _0x43e012,connectInjector as _0x6ed513,ISidebarService as _0x272e7a,ComponentManager as _0x15f2d4,IDialogService as _0x2cbdb4}from'@univerjs/ui';import{MessageType as _0x51657f,clsx as _0x5654c3,Button as _0x46d12d,borderBottomClassName as _0x1c46b3,Tooltip as _0x4196f6}from'@univerjs/design';import{InsertSheetMutation as _0x5e0110,RemoveSheetMutation as _0x6f8c45,SetFrozenMutation as _0x10af3c,AddWorksheetProtectionMutation as _0x325e75,AddRangeProtectionMutation as _0x2d954d,DeleteRangeProtectionMutation as _0x453885,DeleteWorksheetProtectionMutation as _0x260648,WorkbookEditablePermission as _0x2fa407,WorkbookRenameSheetPermission as _0x1c0b0d,WorkbookMoveSheetPermission as _0x5b1674,WorkbookHideSheetPermission as _0x4d0afc,SetWorksheetHideMutation as _0x16227f,SetRangeValuesMutation as _0x4eedf3,SetRangeProtectionMutation as _0x3269a6,ReorderRangeMutation as _0x4ab93e,RemoveNumfmtMutation as _0x5b3011,SetNumfmtMutation as _0x5ab9e6,MoveColsMutation as _0x265e4b,MoveRowsMutation as _0x1b2a9c,MoveRangeMutation as _0x827e17,InsertColMutation as _0x22d5eb,InsertRowMutation as _0x88b794,AddWorksheetMergeMutation as _0x36ca9c,RangeMergeUtil as _0x5dbdea,findAllRectangle as _0x3175c9,SetWorksheetActiveOperation as _0x5ba9c2}from'@univerjs/sheets';import{BehaviorSubject as _0x3a8853,combineLatest as _0x1b37d0,switchMap as _0x3edf3e,map as _0x21b23a,of as _0x59cabe,debounceTime as _0x538fa4,Subject as _0x2dc34b}from'rxjs';function _0x31a6(){const _0x2d9990=['loading','2LjRIAs','getConfig','RestoreIcon','.univer-app-container-content','Entered','span','PY_RUNTIME_SCRIPT_ERROR','COMPLETION_FINISHED','split','rect','InsertHyperlink','CreateSheet','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','UNRECOGNIZED','Print','range','ALREADY_EXISTS','0\x200\x2016\x2016','_loadingState$','subscribeEvent','52360dFmRSG','body','SetCellStyle','loadingState$','PivotTable','UNAUTHENTICATED','entries','merge','editHistory.info.loading','42NibYth','fetchMissingChangesets','305CDSutM','padStart','editHistory.panel.unknownUser','univerjs-icon\x20univerjs-icon-','displayName','open','userID','anonymous','bottom','ViewFilter','INVITE_CODE_ALREADY_BOUND','set','restore-icon_clip0_1247_2','show','length','rgba(58,\x2096,\x20247,\x200.20)','parse','createTime','SetRowStyle','function','SetCellValue','loaded','COMPRESS_MUTATION_APPLY','setCF','entered','currentVersionDiff$','_getAPIPrefix','100%','_initPanel','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','Delete','className','Loaded','editSheet','LOGIN_FAILED','_workbookDataCache','ENSURE_SNAPSHOT_EXECUTION','UniverIcon','editHistory.panel.revertDesc','addSparkline','setConfig','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','idSuffix','YUUMI_URL_COL_OUT_OF_RANGE','unitId$','use','revertSheet','onMouseMove','url(#restore-icon_clip0_1247_2)','editHistory.panel.confirm','APPLY_REJECT','_sidebarDisposable','_univerInstanceService','indexOf','_dialogOptions$','_componentManager','none','LICENSE_DISTRO_REJECTED','UNIVER_DOC','loadMoreVersions','endRev','div','getHours','_commandService','EMAIL_VERIFY_CODE_MISMATCH','has','clipPath','confirm','_uiPartsService','createElement','triggerRevert','syncExecuteCommand','scrollEvent$','DeleteColumn','date','Info','startRevision','top','_context','startColumn','_historyContainerId','setDV','_extractRanges','hasOwnProperty','HideSheet','History','rgba(225,\x20225,\x20225,\x200.5)','reduce','filter','versions','call','_createMask','endRow','revertRevision$','row','INVITE_CODE_HAS_BEEN_UES','UNDEFINED','confirm-revert-revision','replace','getOwnPropertySymbols','left','style','_lastPointer','endColumn','insertSheet','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','init','extend','YUUMI_TABLE_NOT_FOUND_IN_UNIT','endRevision','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','apply','INVALID_ARGUMENT','_versions$','LICENSE_MAX_UNITS_EXCEEDED','updatePermissionPoint','_sidebarService','RenameSheet','some','subUnitId','YUUMI_CONNECTOR_URL_NOT_FOUND','Export','_fetching','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','toISOString','RwHgtClWdt','close',':\x20(','dateString','editHistory.panel.title','_hasMore','makeDirty','_localeService','dispose','LICENSE_EXPORT_SIZE_EXCEEDED','_combineRanges','hasCommand','MoveWorksheet','_initMaskContainer','CreatePermissionObject','values','YUUMI_RATE_OVER_LIMIT','univer-text-gray-500','RenameWorksheet','editHistory.action.revertSheetSuffix','interceptor','column','mutations','center','ManageCollaborator','_initRender','assign','Error','edit-history-viewer.config','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getOwnPropertyDescriptor','ZH_CN','univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','attrs','back-icon','PERMISSION_DENIED','asObservable','2182520ChTYVB','forValue','backgroundColor','setValue','MoveSheet','_currentVersionDiff$','getMinutes','DeleteWorksheet','DeleteRow','/universer-api/history','workbook','keys','exited','_config','_maskElement','editHistory.action.etc','FloatImg','http://www.w3.org/2000/svg','svg','editHistory.panel.currentUser','getViewport','commands','_lastLabel','MOBILE_VERIFY_CODE_MISMATCH','_diffs','getUnitId','zIndex','_status$','APPLY_REVISION_CONFILICT','includes','editHistory.header.revert','_confirmService','register','xlink:href','NOT_FOUND','subType','2650545TExshS','_renderManagerService','univer-overflow-hidden','_snapshotServerService','push','history-mask','editHistory.action.','0\x200\x2016\x2017','time','blocks','onSteady','getDeserializedSheetBlock','concat','_unitId$','1796043bnnbiY','_init','currentVersion','tag','deleteProtection','position','rev','_sheetSkeletonManagerService','_currentVersion$','1589000FHwqHO','ViemRwHgtClWdt','840539cCCauZ','defineProperty','getVersion','users','icon','EditExtraObject','EMAIL_HAS_BEEN_BOUND','createUnit','find','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','_diffRangesMap','hideMask','prototype','_getActiveSubUnitId','SNAPSHOT_INVALID_SNAPSHOT','append','active','univer-m-auto\x20univer-animate-spin','[HistoryFetchService]:\x20request\x20snapshot\x20error!','ranges','_configService','primary','1100560YZYOiq','LICENSE_IMPORT_SIZE_EXCEEDED','params','subscribe','DeleteSheet','UNIVER_SLIDE','forEach','showMask','sheetId','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','Share','name','getUnitOnRev','ViewHistory','error','hidden','display','SNAPSHOT_HAS_BEEN_REMOVED','removeSheet','univer-animate-spin','setFrozen','memberId','editHistory.panel.cancel','cellValue','evenodd','from','_compressMutationService','string','Comment','status','editHistory.action.revertSheetPrefix','UNIVER_PROJECT','trim','YUUMI_UNABLE_LOAD_URL','addProtection','VIEW_MAIN','editHistory.panel.currentVersion','toString','Today','closeAll','sheet','_permissionService','YUUMI_NO_CUBOID_FOR_QUESTION','get','_createUnit','getVersions','Filter','getVpScrollXYInfoByPosToVp','onStarting','symbol','currentVersion$','disposeWithMe','recoverTime','triggerLoadVersions','YUUMI_ASYNCIO_CANCELLED','INTERNAL_ERROR','EditWorksheetCell','map','value','getAncestorScale','status$','BackIcon','canRevert','getDataRange','path','startRow','univer-ml-2.5\x20univer-flex\x20univer-h-8\x20univer-w-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','next','addObjects','defs','flat','unitId','YUUMI_AI_RUN_FAILED','_revertRevision$','defIds','CONNECTOR_DATA_TOO_LARGE','_updateVersions','loading-multi-icon','Exited','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','historyListServerUrl','focusUnit','clear','APPLY_DUPLICATED','_historyManagerService','SetColumnStyle','YUUMI_SUBSCRIPTION_NOT_FOUND','getMember','_injector','_canRevert','height','transformMutations','currentColor','versions$','_transformMutationByOrder','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','getCurrent','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','INVALID_INVITE_CODE','user','white','color','InsertRow','Sort','View','Edit','1em','_initActiveSwitch','_removeDiffMarks','code','children','_getRangesByMutation','flex','registerRenderModule','FromArray','then','INVITE_CODE_REQUIRED','permissionPointUpdate$','WECHAT_HAS_BEEN_BOUND','colorChannel1','APPLY_NON_SEQUENTIAL_REVISION','CopySheet','_updateDiffMarks','_messageService','history-panel','action','loadSheet','Copy','restore-icon','currentSkeleton$','add','m1Prime','UNIVER_SHEET','_historyFetchService','MOBILE_HAS_BEEN_BOUND','triggerLoadSheet','_transformService','userId','getInterceptPoints','loadingState','SetWorksheetStyle','entities','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','&lastLabel=','_maskContainer','mask','_members','getCellPositionByOffset','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','rule','APPLY_PERMISSION_DENIED','SelectProtectedCells','pipe','getCurrentLocale','RecoverHistory','executeCommand','_getSheetObject','HideWorksheet'];_0x31a6=function(){return _0x2d9990;};return _0x31a6();}import{AddSheetSparklineMutation as _0x50ad2d}from'@univerjs-pro/sheets-sparkline';import{AddDataValidationMutation as _0xb127ba,UpdateDataValidationMutation as _0x11f339}from'@univerjs/data-validation';import{SetConditionalRuleMutation as _0x1203ba,AddConditionalRuleMutation as _0x4bb3f8}from'@univerjs/sheets-conditional-formatting';import{SetSheetsFilterRangeMutation as _0x5340c8}from'@univerjs/sheets-filter';import{jsxs as _0x119ce9,jsx as _0x4a569a}from'react/jsx-runtime';import{forwardRef as _0x1d01e3,useRef as _0x34b458,createElement as _0x1a34bb,useCallback as _0x1d38fb,useState as _0x36e04f,Fragment as _0x4e8a35}from'react';import{SheetCollabCursorShape as _0x46ba4a}from'@univerjs-pro/collaboration-client-ui';const we=_0x5a93be(0x21d),_e={};var ss=Object['getOwnPropertyDescriptor'],is=(_0xe253e2,_0x50735d,_0x2670d7,_0x5b44c3)=>{const _0x305019=_0x5a93be;for(var _0x4869bc=_0x5b44c3>0x1?void 0x0:_0x5b44c3?ss(_0x50735d,_0x2670d7):_0x50735d,_0x59f794=_0xe253e2[_0x305019(0x192)]-0x1,_0x4330fe;_0x59f794>=0x0;_0x59f794--)(_0x4330fe=_0xe253e2[_0x59f794])&&(_0x4869bc=_0x4330fe(_0x4869bc)||_0x4869bc);return _0x4869bc;},rs=(_0x2d126a,_0x5d2667)=>(_0x13e96b,_0x3c2809)=>_0x5d2667(_0x13e96b,_0x3c2809,_0x2d126a);let H=class extends _0x1e4563{constructor(_0x4055d9){const _0x4df3dd=_0x5a93be;super(),this['_cellEditorManagerService']=_0x4055d9,this[_0x4df3dd(0x259)]();}[_0x5a93be(0x259)](){const _0x219b13=_0x5a93be;this[_0x219b13(0x2ac)](this['_cellEditorManagerService']['state$'][_0x219b13(0x27c)](_0xc4e7f=>{const _0x1c74e4=_0x219b13;_0xc4e7f!=null&&_0xc4e7f[_0x1c74e4(0x191)]&&this['_cellEditorManagerService']['setState']({'show':!0x1});}));}};H=is([rs(0x0,_0x2d7bd5)],H);var X=(_0x4d5aac=>(_0x4d5aac[_0x4d5aac[_0x5a93be(0x1e4)]=0x0]=_0x5a93be(0x1e4),_0x4d5aac[_0x4d5aac['OK']=0x1]='OK',_0x4d5aac[_0x4d5aac[_0x5a93be(0x2b0)]=0x2]=_0x5a93be(0x2b0),_0x4d5aac[_0x4d5aac[_0x5a93be(0x224)]=0x3]=_0x5a93be(0x224),_0x4d5aac[_0x4d5aac[_0x5a93be(0x248)]=0x4]=_0x5a93be(0x248),_0x4d5aac[_0x4d5aac[_0x5a93be(0x17e)]=0x5]=_0x5a93be(0x17e),_0x4d5aac[_0x4d5aac[_0x5a93be(0x175)]=0x6]=_0x5a93be(0x175),_0x4d5aac[_0x4d5aac[_0x5a93be(0x1f4)]=0x7]=_0x5a93be(0x1f4),_0x4d5aac[_0x4d5aac['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x4d5aac[_0x4d5aac[_0x5a93be(0x320)]=0x9]=_0x5a93be(0x320),_0x4d5aac[_0x4d5aac[_0x5a93be(0x1a6)]=0xa]=_0x5a93be(0x1a6),_0x4d5aac[_0x4d5aac[_0x5a93be(0x23d)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x4d5aac[_0x4d5aac[_0x5a93be(0x1ed)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4d5aac[_0x4d5aac['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x5a93be(0x1c4),_0x4d5aac[_0x4d5aac[_0x5a93be(0x21e)]=0xe]=_0x5a93be(0x21e),_0x4d5aac[_0x4d5aac['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4d5aac[_0x4d5aac[_0x5a93be(0x271)]=0x1771]=_0x5a93be(0x271),_0x4d5aac[_0x4d5aac[_0x5a93be(0x28a)]=0x1772]=_0x5a93be(0x28a),_0x4d5aac[_0x4d5aac['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x5a93be(0x1a8),_0x4d5aac[_0x4d5aac['APPLY_REJECT']=0x1b59]=_0x5a93be(0x1b6),_0x4d5aac[_0x4d5aac[_0x5a93be(0x2f2)]=0x1b5a]=_0x5a93be(0x2f2),_0x4d5aac[_0x4d5aac[_0x5a93be(0x242)]=0x1b5b]=_0x5a93be(0x242),_0x4d5aac[_0x4d5aac[_0x5a93be(0x310)]=0x1b5c]=_0x5a93be(0x310),_0x4d5aac[_0x4d5aac['APPLY_DUPLICATED']=0x1b5d]=_0x5a93be(0x2cd),_0x4d5aac[_0x4d5aac[_0x5a93be(0x2c5)]=0x1f41]=_0x5a93be(0x2c5),_0x4d5aac[_0x4d5aac[_0x5a93be(0x1f6)]=0x2329]=_0x5a93be(0x1f6),_0x4d5aac[_0x4d5aac['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x5a93be(0x1f2),_0x4d5aac[_0x4d5aac[_0x5a93be(0x27a)]=0x232b]=_0x5a93be(0x27a),_0x4d5aac[_0x4d5aac['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x5a93be(0x20a),_0x4d5aac[_0x4d5aac['LICENSE_DISTRO_REJECTED']=0x232d]=_0x5a93be(0x1bd),_0x4d5aac[_0x4d5aac[_0x5a93be(0x29a)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x4d5aac[_0x4d5aac[_0x5a93be(0x1af)]=0x2712]=_0x5a93be(0x1af),_0x4d5aac[_0x4d5aac['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x5a93be(0x211),_0x4d5aac[_0x4d5aac[_0x5a93be(0x2d0)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x4d5aac[_0x4d5aac[_0x5a93be(0x2a3)]=0x271a]=_0x5a93be(0x2a3),_0x4d5aac[_0x4d5aac[_0x5a93be(0x2af)]=0x271b]=_0x5a93be(0x2af),_0x4d5aac[_0x4d5aac[_0x5a93be(0x1f0)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x4d5aac[_0x4d5aac['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x4d5aac[_0x4d5aac['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x4d5aac[_0x4d5aac[_0x5a93be(0x2c2)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x4d5aac[_0x4d5aac[_0x5a93be(0x1fc)]=0x2720]=_0x5a93be(0x1fc),_0x4d5aac[_0x4d5aac[_0x5a93be(0x31f)]=0x2af9]=_0x5a93be(0x31f),_0x4d5aac[_0x4d5aac[_0x5a93be(0x1e3)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x4d5aac[_0x4d5aac[_0x5a93be(0x2dc)]=0x2ee2]=_0x5a93be(0x2dc),_0x4d5aac[_0x4d5aac[_0x5a93be(0x2ee)]=0x2ee3]=_0x5a93be(0x2ee),_0x4d5aac[_0x4d5aac['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x4d5aac[_0x4d5aac[_0x5a93be(0x18e)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4d5aac[_0x4d5aac['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x5a93be(0x2f0),_0x4d5aac[_0x4d5aac['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x5a93be(0x300),_0x4d5aac[_0x4d5aac[_0x5a93be(0x269)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x4d5aac[_0x4d5aac['UNRECOGNIZED']=-0x1]=_0x5a93be(0x172),_0x4d5aac))(X||{}),F=(_0x38b487=>(_0x38b487[_0x38b487['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x38b487[_0x38b487['UNIVER_DOC']=0x1]=_0x5a93be(0x1be),_0x38b487[_0x38b487[_0x5a93be(0x2fe)]=0x2]='UNIVER_SHEET',_0x38b487[_0x38b487['UNIVER_SLIDE']=0x3]=_0x5a93be(0x27e),_0x38b487[_0x38b487[_0x5a93be(0x298)]=0x4]=_0x5a93be(0x298),_0x38b487[_0x38b487[_0x5a93be(0x172)]=-0x1]='UNRECOGNIZED',_0x38b487))(F||{}),b=(_0x5e5d46=>(_0x5e5d46[_0x5e5d46['View']=0x0]=_0x5a93be(0x2e2),_0x5e5d46[_0x5e5d46[_0x5a93be(0x2e3)]=0x1]=_0x5a93be(0x2e3),_0x5e5d46[_0x5e5d46[_0x5a93be(0x219)]=0x2]='ManageCollaborator',_0x5e5d46[_0x5e5d46[_0x5a93be(0x173)]=0x3]=_0x5a93be(0x173),_0x5e5d46[_0x5e5d46['Duplicate']=0x4]='Duplicate',_0x5e5d46[_0x5e5d46[_0x5a93be(0x295)]=0x5]=_0x5a93be(0x295),_0x5e5d46[_0x5e5d46[_0x5a93be(0x2f9)]=0x6]=_0x5a93be(0x2f9),_0x5e5d46[_0x5e5d46[_0x5a93be(0x283)]=0x7]=_0x5a93be(0x283),_0x5e5d46[_0x5e5d46[_0x5a93be(0x1fd)]=0x8]=_0x5a93be(0x1fd),_0x5e5d46[_0x5e5d46[_0x5a93be(0x20d)]=0x9]=_0x5a93be(0x20d),_0x5e5d46[_0x5e5d46[_0x5a93be(0x22d)]=0xa]=_0x5a93be(0x22d),_0x5e5d46[_0x5e5d46[_0x5a93be(0x317)]=0xb]=_0x5a93be(0x317),_0x5e5d46[_0x5e5d46['RenameWorksheet']=0xc]=_0x5a93be(0x213),_0x5e5d46[_0x5e5d46['CreateWorksheet']=0xd]='CreateWorksheet',_0x5e5d46[_0x5e5d46[_0x5a93be(0x306)]=0xe]=_0x5a93be(0x306),_0x5e5d46[_0x5e5d46[_0x5a93be(0x2b1)]=0xf]=_0x5a93be(0x2b1),_0x5e5d46[_0x5e5d46[_0x5a93be(0x16f)]=0x10]='InsertHyperlink',_0x5e5d46[_0x5e5d46[_0x5a93be(0x2e1)]=0x11]=_0x5a93be(0x2e1),_0x5e5d46[_0x5e5d46[_0x5a93be(0x2a7)]=0x12]=_0x5a93be(0x2a7),_0x5e5d46[_0x5e5d46[_0x5a93be(0x17d)]=0x13]=_0x5a93be(0x17d),_0x5e5d46[_0x5e5d46['FloatImg']=0x14]=_0x5a93be(0x236),_0x5e5d46[_0x5e5d46['History']=0x15]=_0x5a93be(0x1d9),_0x5e5d46[_0x5e5d46['RwHgtClWdt']=0x16]=_0x5a93be(0x201),_0x5e5d46[_0x5e5d46[_0x5a93be(0x262)]=0x17]=_0x5a93be(0x262),_0x5e5d46[_0x5e5d46[_0x5a93be(0x18d)]=0x18]=_0x5a93be(0x18d),_0x5e5d46[_0x5e5d46[_0x5a93be(0x22a)]=0x19]=_0x5a93be(0x22a),_0x5e5d46[_0x5e5d46[_0x5a93be(0x27d)]=0x1a]=_0x5a93be(0x27d),_0x5e5d46[_0x5e5d46[_0x5a93be(0x1d8)]=0x1b]=_0x5a93be(0x1d8),_0x5e5d46[_0x5e5d46[_0x5a93be(0x2f3)]=0x1c]=_0x5a93be(0x2f3),_0x5e5d46[_0x5e5d46[_0x5a93be(0x1f9)]=0x1d]=_0x5a93be(0x1f9),_0x5e5d46[_0x5e5d46[_0x5a93be(0x170)]=0x1e]=_0x5a93be(0x170),_0x5e5d46[_0x5e5d46[_0x5a93be(0x311)]=0x1f]=_0x5a93be(0x311),_0x5e5d46[_0x5e5d46['SelectUnProtectedCells']=0x20]='SelectUnProtectedCells',_0x5e5d46[_0x5e5d46[_0x5a93be(0x17b)]=0x21]=_0x5a93be(0x17b),_0x5e5d46[_0x5e5d46['SetCellValue']=0x22]=_0x5a93be(0x198),_0x5e5d46[_0x5e5d46[_0x5a93be(0x196)]=0x23]='SetRowStyle',_0x5e5d46[_0x5e5d46[_0x5a93be(0x2cf)]=0x24]=_0x5a93be(0x2cf),_0x5e5d46[_0x5e5d46[_0x5a93be(0x2e0)]=0x25]=_0x5a93be(0x2e0),_0x5e5d46[_0x5e5d46['InsertColumn']=0x26]='InsertColumn',_0x5e5d46[_0x5e5d46[_0x5a93be(0x22e)]=0x27]=_0x5a93be(0x22e),_0x5e5d46[_0x5e5d46[_0x5a93be(0x1cd)]=0x28]='DeleteColumn',_0x5e5d46[_0x5e5d46[_0x5a93be(0x268)]=0x29]=_0x5a93be(0x268),_0x5e5d46[_0x5e5d46[_0x5a93be(0x1a2)]=0x2a]=_0x5a93be(0x1a2),_0x5e5d46[_0x5e5d46[_0x5a93be(0x314)]=0x2b]=_0x5a93be(0x314),_0x5e5d46[_0x5e5d46[_0x5a93be(0x286)]=0x2c]=_0x5a93be(0x286),_0x5e5d46[_0x5e5d46[_0x5a93be(0x20f)]=0x2d]=_0x5a93be(0x20f),_0x5e5d46[_0x5e5d46[_0x5a93be(0x172)]=-0x1]='UNRECOGNIZED',_0x5e5d46))(b||{});function _0xa3f9(_0x4909fc,_0x566767){const _0x31a6b8=_0x31a6();return _0xa3f9=function(_0xa3f940,_0x418b5f){_0xa3f940=_0xa3f940-0x16f;let _0xae6439=_0x31a6b8[_0xa3f940];return _0xae6439;},_0xa3f9(_0x4909fc,_0x566767);}function ns(_0x159efe){const _0x184e9b=_0x5a93be;return!!(_0x159efe&&_0x159efe[_0x184e9b(0x2e7)]&&_0x159efe[_0x184e9b(0x2e7)]!==X['OK']&&_0x159efe[_0x184e9b(0x2e7)]!=='OK');}const re=(_0xb366a,_0x39eac6)=>{const _0x4d5426=_0x5a93be;if(!_0xb366a)return{'date':'','time':''};const _0x460817=new Date(_0xb366a),_0xd6fce6=_0x460817[_0x4d5426(0x200)]()['split']('T')[0x0];switch(_0x39eac6){case _0x444a30[_0x4d5426(0x220)]:return{'date':ee(_0xd6fce6,_0x39eac6),'time':_0x460817['getHours']()+':'+String(_0x460817[_0x4d5426(0x22c)]())[_0x4d5426(0x185)](0x2,'0')};default:return{'date':ee(_0xd6fce6,_0x39eac6),'time':_0x460817[_0x4d5426(0x1c2)]()+':'+_0x460817[_0x4d5426(0x22c)]()};}},as=(_0x41c931,_0x3cef3b)=>{const _0x350f4f=_0x5a93be,_0x2d564a=_0x41c931[_0x350f4f(0x2dd)]||_0x3cef3b['t'](_0x350f4f(0x186));if(_0x41c931[_0x350f4f(0x23b)][_0x350f4f(0x1fa)](_0x49ce99=>_0x49ce99===_0x55cd66['id'])&&_0x41c931['recoverTime']){const _0x43f026=re(_0x41c931[_0x350f4f(0x2ad)],_0x3cef3b['getCurrentLocale']()),_0x527de9=_0x43f026[_0x350f4f(0x1ce)]+'\x20'+_0x43f026[_0x350f4f(0x252)];return _0x2d564a+'\x20'+_0x3cef3b['t'](_0x350f4f(0x297))+'\x20'+_0x527de9+'\x20'+_0x3cef3b['t'](_0x350f4f(0x214));}const _0x1ffca8=os(_0x41c931),_0x59327f=_0x1ffca8[_0x350f4f(0x192)]===0x1?_0x3cef3b['t'](_0x1ffca8[0x0]):''+_0x3cef3b['t'](_0x1ffca8[0x0])+_0x3cef3b['t'](_0x350f4f(0x235));return _0x2d564a+'\x20'+_0x59327f;};function os(_0x543daf){const _0xb25e83=_0x5a93be;if(_0x543daf[_0xb25e83(0x23b)][_0xb25e83(0x192)]===0x0)return[''];const _0x183e4c=_0xb25e83(0x250),_0x1b8594=_0x183e4c+_0xb25e83(0x1a5),_0x53b2ed=[{'id':_0x50f340['id'],'action':_0x183e4c+'createSheet'},{'id':_0x55cd66['id'],'action':_0x183e4c+_0xb25e83(0x1b2)},{'id':_0x5e0110['id'],'action':_0x183e4c+_0xb25e83(0x1ec)},{'id':_0x6f8c45['id'],'action':_0x183e4c+_0xb25e83(0x28b)},{'id':_0x10af3c['id'],'action':_0x183e4c+_0xb25e83(0x28d)},{'id':_0x5340c8['id'],'action':_0x183e4c+'setFilter'},{'id':_0xb127ba['id'],'action':_0x183e4c+'setDV'},{'id':_0x11f339['id'],'action':_0x183e4c+_0xb25e83(0x1d5)},{'id':_0x1203ba['id'],'action':_0x183e4c+_0xb25e83(0x19b)},{'id':_0x4bb3f8['id'],'action':_0x183e4c+_0xb25e83(0x19b)},{'id':_0x325e75['id'],'action':_0x183e4c+_0xb25e83(0x29b)},{'id':_0x2d954d['id'],'action':_0x183e4c+'addProtection'},{'id':_0x50ad2d['id'],'action':_0x183e4c+_0xb25e83(0x1ab)},{'id':_0x453885['id'],'action':_0x183e4c+'deleteProtection'},{'id':_0x260648['id'],'action':_0x183e4c+_0xb25e83(0x25c)}][_0xb25e83(0x1dc)](_0x53695c=>_0x543daf[_0xb25e83(0x23b)][_0xb25e83(0x243)](_0x53695c['id']));return _0x53b2ed!=null&&_0x53b2ed[_0xb25e83(0x192)]?_0x53b2ed['map'](_0x32416e=>_0x32416e[_0xb25e83(0x2f7)]):[_0x1b8594];}function ee(_0x36f52b,_0x4ccfd2){const _0x428263=_0x5a93be,[_0x314c15,_0xb0273f,_0x2784b6]=new Date()['toISOString']()[_0x428263(0x321)]('T')[0x0][_0x428263(0x321)]('-'),[_0xb84c04,_0x44ad5c,_0x266313]=_0x36f52b[_0x428263(0x321)]('-'),_0x55e05e=_0x314c15===_0xb84c04&&_0xb0273f===_0x44ad5c&&_0x2784b6===_0x266313;let _0x35fcdf='',_0x4016ab='',_0xe517c9='';switch(_0x4ccfd2){case _0x444a30[_0x428263(0x220)]:return _0x55e05e?'今天':(_0x35fcdf=_0x314c15===_0xb84c04?'':_0xb84c04+'年',_0x4016ab=_0x44ad5c+'月',_0xe517c9=_0x266313+'日',''+_0x35fcdf+_0x4016ab+_0xe517c9);default:return _0x55e05e?_0x428263(0x29f):(_0x35fcdf=_0x314c15===_0xb84c04?'':_0xb84c04+'-',_0x4016ab=_0x44ad5c+'-',_0xe517c9=''+_0x266313,''+_0x35fcdf+_0x4016ab+_0xe517c9);}}function cs(_0x26bee2){const _0x3c4cae=_0x5a93be;return _0x26bee2?_0x26bee2[_0x3c4cae(0x1db)]((_0x305551,_0x4bbda8)=>{const _0x35e058=_0x3c4cae,_0x451906=new Date(_0x4bbda8['time'])['toISOString']()[_0x35e058(0x321)]('T')[0x0];return _0x305551['length']>0x0&&_0x305551[_0x305551['length']-0x1]['dateString']===_0x451906?_0x305551[_0x305551[_0x35e058(0x192)]-0x1][_0x35e058(0x1dd)]['push'](_0x4bbda8):_0x305551[_0x35e058(0x24e)]({'dateString':_0x451906,'versions':[_0x4bbda8]}),_0x305551;},[]):[];}var ls=Object['getOwnPropertyDescriptor'],us=(_0x27e112,_0x542a81,_0x1cd9ff,_0x114e3f)=>{const _0x2ccd23=_0x5a93be;for(var _0x2fdc3e=_0x114e3f>0x1?void 0x0:_0x114e3f?ls(_0x542a81,_0x1cd9ff):_0x542a81,_0x11fd3e=_0x27e112[_0x2ccd23(0x192)]-0x1,_0x5171e8;_0x11fd3e>=0x0;_0x11fd3e--)(_0x5171e8=_0x27e112[_0x11fd3e])&&(_0x2fdc3e=_0x5171e8(_0x2fdc3e)||_0x2fdc3e);return _0x2fdc3e;},D=(_0x127312,_0x4d9641)=>(_0x3a543d,_0x197c7d)=>_0x4d9641(_0x3a543d,_0x197c7d,_0x127312);const _s=_0x5a93be(0x22f);let Y=class extends _0x1e4563{constructor(_0x10d0b7,_0x2fbe3a,_0xcec7b2,_0x73475a,_0x56b3d6,_0x1bf5b0){const _0x27573f=_0x5a93be;super(),l(this,_0x27573f(0x1a7),new Map()),(this[_0x27573f(0x24d)]=_0x10d0b7,this[_0x27573f(0x1b8)]=_0x2fbe3a,this[_0x27573f(0x1c3)]=_0xcec7b2,this['_configService']=_0x73475a,this['_httpService']=_0x56b3d6,this[_0x27573f(0x293)]=_0x1bf5b0);}[_0x5a93be(0x209)](){const _0xa1a9b1=_0x5a93be;this[_0xa1a9b1(0x1a7)][_0xa1a9b1(0x2cc)](),super['dispose']();}async[_0x5a93be(0x2a6)](_0x4a0928,_0x24cbc5){const _0x59e8ff=_0x5a93be,_0x28746d=this['_getAPIPrefix']()+'/'+_0x4a0928+'/list?length=20'+(_0x24cbc5?_0x59e8ff(0x309)+_0x24cbc5:'');try{const _0x2623f8=(await this['_httpService'][_0x59e8ff(0x2a4)](_0x28746d))[_0x59e8ff(0x17a)];if(_0x2623f8&&_0x2623f8[_0x59e8ff(0x287)]&&_0x2623f8['error'][_0x59e8ff(0x2e7)]===X['OK']){const {hasMore:_0x272222,lastLabel:_0x2b6fd6}=_0x2623f8,_0x2d5cff=hs(_0x2623f8),_0x493bc0=_0x2623f8[_0x59e8ff(0x307)][_0x59e8ff(0x266)];return{'hasMore':_0x272222,'lastLabel':_0x2b6fd6,'versions':_0x2d5cff,'members':_0x493bc0};}}catch(_0x30f68d){console[_0x59e8ff(0x287)](_0x30f68d);}return null;}[_0x5a93be(0x19e)](){const _0x228f8f=_0x5a93be;var _0x431c24;const _0x2878bf=this['_configService'][_0x228f8f(0x31a)](we);return(_0x431c24=_0x2878bf==null?void 0x0:_0x2878bf[_0x228f8f(0x2ca)])!=null?_0x431c24:_s;}async[_0x5a93be(0x2f8)](_0x8b5ef3,_0x874313,_0x4c9603){const _0x2fa456=_0x5a93be;var _0x5236b6,_0x3a6a58;_0x4c9603===void 0x0&&(_0x4c9603={}),this[_0x2fa456(0x1a7)][_0x2fa456(0x1c5)](_0x8b5ef3)||this[_0x2fa456(0x1a7)][_0x2fa456(0x18f)](_0x8b5ef3,new Map());const {snapshot:_0x18b4b0,changesets:_0xb5c731,error:_0x3d9cab}=await this[_0x2fa456(0x24d)][_0x2fa456(0x285)](_0x4c9603,{'unitID':_0x8b5ef3,'type':F[_0x2fa456(0x2fe)],'revision':_0x874313});if(ns(_0x3d9cab)||!_0x18b4b0||!_0x18b4b0[_0x2fa456(0x230)])throw new Error(_0x2fa456(0x275));const _0x4ef42a=(_0x5236b6=_0xb5c731==null?void 0x0:_0xb5c731[_0x2fa456(0x192)])!=null?_0x5236b6:0x0;if(_0x874313!==0x0&&_0x18b4b0[_0x2fa456(0x25e)]+_0x4ef42a!==_0x874313)throw new Error('[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!');const {workbook:_0x3ea817}=_0x18b4b0,_0x3ee0a0=_0x3ea817['blockMeta']?Object[_0x2fa456(0x17f)](_0x3ea817['blockMeta'])[_0x2fa456(0x2b2)](([_0x306974,_0x918af2])=>{const _0x38adb9=_0x2fa456;var _0x2b158c,_0x560393;return(_0x560393=(_0x2b158c=_0x918af2[_0x38adb9(0x253)])==null?void 0x0:_0x2b158c[_0x38adb9(0x2b2)](_0x254279=>_0x254279))!=null?_0x560393:[];})['flat']():[],_0x4b2cce=(await Promise['all'](_0x3ee0a0[_0x2fa456(0x2b2)](_0x2ed620=>this[_0x2fa456(0x24d)][_0x2fa456(0x255)](_0x4c9603,{'unitID':_0x8b5ef3,'type':F['UNIVER_SHEET'],'blockID':_0x2ed620})[_0x2fa456(0x2ed)](_0x48efcd=>_0x48efcd['block']))))[_0x2fa456(0x1dc)](_0x1d4a4f=>!!_0x1d4a4f),_0xdb4f66=_0x1a4323(_0x18b4b0,_0x4b2cce,_0x4c9603);return(_0x3a6a58=this[_0x2fa456(0x1a7)]['get'](_0x8b5ef3))==null||_0x3a6a58[_0x2fa456(0x18f)](_0x874313,{'workbook':_0xdb4f66}),new Promise(_0x1bddd5=>{const _0xe68fde=_0x2fa456,_0x1ee15e=this[_0xe68fde(0x1b8)]['getCurrentUnitForType'](_0x1ad7d0['UNIVER_SHEET']);_0x1ee15e?(this[_0xe68fde(0x1b8)]['disposeUnit'](_0x1ee15e['getUnitId']()),setTimeout(()=>{const _0x49764e=_0xe68fde;this[_0x49764e(0x2a5)](_0xdb4f66,_0xb5c731),_0x1bddd5(!0x0);},0x0)):(this[_0xe68fde(0x2a5)](_0xdb4f66,_0xb5c731),_0x1bddd5(!0x0));});}[_0x5a93be(0x2a5)](_0x5b3641,_0x1fb146){const _0x39016e=_0x5a93be,_0x26ab4c=this[_0x39016e(0x1b8)][_0x39016e(0x26a)](_0x1ad7d0['UNIVER_SHEET'],_0x5b3641);this[_0x39016e(0x1b8)][_0x39016e(0x2cb)](_0x26ab4c[_0x39016e(0x23f)]());const _0x4c25b8=this[_0x39016e(0x293)][_0x39016e(0x215)]['fetchThroughInterceptors'](this[_0x39016e(0x293)][_0x39016e(0x215)][_0x39016e(0x304)]()[_0x39016e(0x19a)]);return _0x1fb146==null||_0x1fb146['forEach'](_0x976091=>{const _0x26b717=_0x39016e,_0xbe194a=_0x976091[_0x26b717(0x217)]['map'](_0x4ba98b=>({'id':_0x4ba98b['id'],'params':JSON[_0x26b717(0x194)](_0x4ba98b['data'])}));({..._0x976091,'mutations':_0x4c25b8(_0xbe194a,null)||_0xbe194a}['mutations'][_0x26b717(0x27f)](_0x45a675=>{const _0x1c8252=_0x26b717;this[_0x1c8252(0x1c3)][_0x1c8252(0x20c)](_0x45a675['id'])&&this[_0x1c8252(0x1c3)][_0x1c8252(0x1cb)](_0x45a675['id'],_0x45a675[_0x1c8252(0x27b)]);}));}),_0x26ab4c;}};Y=us([D(0x0,_0x349e65),D(0x1,_0x207a91),D(0x2,_0x39c498),D(0x3,_0x1b9e1e),D(0x4,_0x4ed92a(_0x4d600c)),D(0x5,_0x4ed92a(_0x2b0fcf))],Y);function hs(_0x1046cf){const _0x5450ae=_0x5a93be;var _0x3d62ec,_0x187d53;const _0x441196=[],{entities:_0x3d2340,historyIds:_0x714466}=_0x1046cf,{datas:_0x53c6e0,users:_0x91bd1b}=_0x3d2340;for(const _0x24b365 of _0x714466)if(_0x53c6e0[_0x24b365]){const _0x3cf937=!!((_0x3d62ec=_0x91bd1b[_0x53c6e0[_0x24b365][_0x5450ae(0x303)]])!=null&&_0x3d62ec[_0x5450ae(0x18b)]);_0x441196[_0x5450ae(0x24e)]({'unitId':_0x53c6e0[_0x24b365][_0x5450ae(0x2c1)],'user':_0x3cf937?'':((_0x187d53=_0x91bd1b==null?void 0x0:_0x91bd1b[_0x53c6e0[_0x24b365][_0x5450ae(0x303)]])==null?void 0x0:_0x187d53[_0x5450ae(0x284)])||'','isAnonymous':_0x3cf937,'id':_0x24b365,'time':_0x53c6e0[_0x24b365][_0x5450ae(0x195)]?Number(_0x53c6e0[_0x24b365][_0x5450ae(0x195)]):void 0x0,'commands':_0x53c6e0[_0x24b365]['command'],'startRev':Number(_0x53c6e0[_0x24b365][_0x5450ae(0x1d0)]),'endRev':Number(_0x53c6e0[_0x24b365][_0x5450ae(0x1f1)]),'recoverTime':_0x53c6e0[_0x24b365]['recoverTime']?Number(_0x53c6e0[_0x24b365][_0x5450ae(0x2ad)]):void 0x0});}return _0x441196;}var ds=Object[_0x5a93be(0x21f)],vs=(_0x22f343,_0x57aa41,_0xd8904d,_0x3e9115)=>{const _0x1c6f15=_0x5a93be;for(var _0xd048f1=_0x3e9115>0x1?void 0x0:_0x3e9115?ds(_0x57aa41,_0xd8904d):_0x57aa41,_0x4a2e4a=_0x22f343[_0x1c6f15(0x192)]-0x1,_0x109c38;_0x4a2e4a>=0x0;_0x4a2e4a--)(_0x109c38=_0x22f343[_0x4a2e4a])&&(_0xd048f1=_0x109c38(_0xd048f1)||_0xd048f1);return _0xd048f1;},V=(_0x7e9aa7,_0x3edc48)=>(_0x5beade,_0x3006be)=>_0x3edc48(_0x5beade,_0x3006be,_0x7e9aa7),ne=(_0x2f0fb7=>(_0x2f0fb7[_0x5a93be(0x31d)]=_0x5a93be(0x19c),_0x2f0fb7['Exited']=_0x5a93be(0x232),_0x2f0fb7[_0x5a93be(0x21c)]='error',_0x2f0fb7))(ne||{}),T=(_0x17fa10=>(_0x17fa10['Init']=_0x5a93be(0x1ee),_0x17fa10['Loading']=_0x5a93be(0x318),_0x17fa10[_0x5a93be(0x1a4)]=_0x5a93be(0x199),_0x17fa10))(T||{});const fs='VIRTUAL_VERSION_NOW';let E=class extends _0x1e4563{constructor(_0x33dace,_0x1ef59a,_0x21b14a,_0x349bc9){const _0x464eaf=_0x5a93be;super(),l(this,'_versions$',new _0x3a8853([])),l(this,_0x464eaf(0x2d7),this[_0x464eaf(0x1f5)]['asObservable']()),l(this,_0x464eaf(0x260),new _0x3a8853('')),l(this,_0x464eaf(0x2ab),this[_0x464eaf(0x260)][_0x464eaf(0x225)]()),l(this,_0x464eaf(0x241),new _0x3a8853(_0x464eaf(0x19c))),l(this,_0x464eaf(0x2b5),this[_0x464eaf(0x241)]['asObservable']()),l(this,'_revertRevision$',new _0x3a8853(0x0)),l(this,_0x464eaf(0x1e1),this[_0x464eaf(0x2c3)][_0x464eaf(0x225)]()),l(this,_0x464eaf(0x257),new _0x3a8853('')),l(this,_0x464eaf(0x1b0),this[_0x464eaf(0x257)][_0x464eaf(0x225)]()),l(this,_0x464eaf(0x1fe),!0x1),l(this,_0x464eaf(0x177),new _0x3a8853(_0x464eaf(0x1ee))),l(this,'loadingState$',this[_0x464eaf(0x177)][_0x464eaf(0x225)]()),l(this,_0x464eaf(0x23c),null),l(this,_0x464eaf(0x206),!0x0),l(this,_0x464eaf(0x30c),new Map()),l(this,_0x464eaf(0x1d4)),l(this,_0x464eaf(0x30a)),l(this,_0x464eaf(0x234)),l(this,'_canRevert',!0x1),(this[_0x464eaf(0x2f5)]=_0x33dace,this[_0x464eaf(0x245)]=_0x1ef59a,this[_0x464eaf(0x208)]=_0x21b14a,this[_0x464eaf(0x2ff)]=_0x349bc9);}async[_0x5a93be(0x2ae)](_0x4c4017,_0x29ddce,_0x3412e9){const _0x566de2=_0x5a93be;this[_0x566de2(0x1d4)]=_0x29ddce,this[_0x566de2(0x2d3)]=_0x3412e9,this[_0x566de2(0x257)]['next'](_0x4c4017),this['_fetching']=!0x0;const _0x2ab452=await this[_0x566de2(0x2ff)][_0x566de2(0x2a6)](_0x4c4017);if(this['_fetching']=!0x1,_0x2ab452){const {versions:_0xecbdf2,lastLabel:_0x4c75dc,hasMore:_0x413afd,members:_0xe5838}=_0x2ab452;_0xecbdf2['length']===0x0&&_0xecbdf2[_0x566de2(0x24e)]({'unitId':_0x4c4017,'id':fs,'startRev':0x1,'endRev':0x0,'time':Date['now'](),'user':this['_localeService']['t'](_0x566de2(0x239)),'commands':[],'isAnonymous':!0x1}),this['_updateVersions'](_0xecbdf2,_0x413afd,_0x4c75dc,_0xe5838),this[_0x566de2(0x260)][_0x566de2(0x2bd)](_0xecbdf2[0x0]['id']);}else this['_status$']['next'](_0x566de2(0x287));}async[_0x5a93be(0x1bf)](){const _0x123072=_0x5a93be;if(!this[_0x123072(0x23c)]||!this[_0x123072(0x206)]||this[_0x123072(0x1fe)])return!0x1;this[_0x123072(0x1fe)]=!0x0;const _0x35666c=await this['_historyFetchService'][_0x123072(0x2a6)](this[_0x123072(0x2c1)],this[_0x123072(0x23c)]);if(this[_0x123072(0x1fe)]=!0x1,_0x35666c){const {versions:_0x463f25,lastLabel:_0x566647,hasMore:_0x3cc0ad,members:_0x2eaddb}=_0x35666c;this[_0x123072(0x2c6)](_0x463f25,_0x3cc0ad,_0x566647,_0x2eaddb);}else this[_0x123072(0x2f5)][_0x123072(0x191)]({'content':this[_0x123072(0x208)]['t']('editHistory.panel.listFetchError'),'type':_0x51657f[_0x123072(0x21c)],'duration':0xbb8});return!0x0;}async['triggerLoadSheet'](_0x1fc6db){const _0x4f7096=_0x5a93be;var _0x3a661c;const _0x4926e8=(_0x3a661c=this[_0x4f7096(0x1f5)][_0x4f7096(0x2b3)])==null?void 0x0:_0x3a661c[_0x4f7096(0x26b)](_0x316c3f=>_0x316c3f['id']===_0x1fc6db),{endRev:_0x39f6da}=_0x4926e8||{};_0x39f6da||_0x39f6da===0x0?(this[_0x4f7096(0x177)][_0x4f7096(0x2bd)](_0x4f7096(0x318)),await this[_0x4f7096(0x2ff)]['loadSheet'](this[_0x4f7096(0x2c1)],_0x39f6da),this[_0x4f7096(0x177)][_0x4f7096(0x2bd)](_0x4f7096(0x199))):this['_status$']['next'](_0x4f7096(0x287));}async[_0x5a93be(0x1ca)](_0x310e72){const _0x2bddb2=_0x5a93be,_0x1e4e4d=_0x310e72?this[_0x2bddb2(0x265)](_0x310e72):this['getCurrentVersion']();if(!_0x1e4e4d)return;const _0x538029=_0x1e4e4d[_0x2bddb2(0x1c0)],_0x3813f5=re(_0x1e4e4d[_0x2bddb2(0x252)],this['_localeService']['getCurrentLocale']());await this[_0x2bddb2(0x245)][_0x2bddb2(0x1c7)]({'id':_0x2bddb2(0x1e5),'title':{'title':this[_0x2bddb2(0x208)]['t']('editHistory.panel.revertConfirm')},'children':{'title':this[_0x2bddb2(0x208)]['t']('editHistory.panel.revertConfirmText')+_0x2bddb2(0x203)+_0x3813f5['date']+'\x20'+_0x3813f5[_0x2bddb2(0x252)]+')'},'cancelText':this['_localeService']['t'](_0x2bddb2(0x28f)),'confirmText':this[_0x2bddb2(0x208)]['t'](_0x2bddb2(0x1b5))})&&this[_0x2bddb2(0x2c3)][_0x2bddb2(0x2bd)](_0x538029);}[_0x5a93be(0x2c6)](_0x3c04a5,_0x1ed033,_0x3dd218,_0x120036){const _0x4cc81a=_0x5a93be;this[_0x4cc81a(0x1f5)]['next'](this[_0x4cc81a(0x1f5)][_0x4cc81a(0x2b3)][_0x4cc81a(0x256)](_0x3c04a5)),this[_0x4cc81a(0x206)]=_0x1ed033,this['_lastLabel']=_0x3dd218,_0x120036&&Object[_0x4cc81a(0x231)](_0x120036)[_0x4cc81a(0x27f)](_0x3bf315=>this[_0x4cc81a(0x30c)][_0x4cc81a(0x18f)](_0x3bf315,_0x120036[_0x3bf315]));}['getCurrentVersion'](){const _0x1aca52=_0x5a93be;return this[_0x1aca52(0x265)](this[_0x1aca52(0x260)][_0x1aca52(0x2b3)]);}['getVersion'](_0x1cba36){const _0x5bcc6b=_0x5a93be;var _0x57c692;return(_0x57c692=this['_versions$']['value'])==null?void 0x0:_0x57c692[_0x5bcc6b(0x26b)](_0x5689f3=>_0x5689f3['id']===_0x1cba36);}[_0x5a93be(0x2d1)](_0x1fb0d1){const _0x5a8c98=_0x5a93be;return this[_0x5a8c98(0x30c)]['get'](_0x1fb0d1);}[_0x5a93be(0x1df)](){const _0x101639=_0x5a93be;this[_0x101639(0x234)]=document[_0x101639(0x1c9)](_0x101639(0x1c1)),this[_0x101639(0x234)]['className']=_0x101639(0x24f),this['_maskElement']['style'][_0x101639(0x25d)]='absolute',this['_maskElement'][_0x101639(0x1e9)][_0x101639(0x1d1)]='0',this[_0x101639(0x234)]['style'][_0x101639(0x1e8)]='0',this[_0x101639(0x234)][_0x101639(0x1e9)]['width']=_0x101639(0x19f),this['_maskElement'][_0x101639(0x1e9)][_0x101639(0x2d4)]=_0x101639(0x19f),this[_0x101639(0x234)][_0x101639(0x1e9)][_0x101639(0x228)]=_0x101639(0x1da),this[_0x101639(0x234)][_0x101639(0x1e9)][_0x101639(0x2df)]=_0x101639(0x2de),this['_maskElement']['style'][_0x101639(0x289)]=_0x101639(0x2ea),this['_maskElement'][_0x101639(0x1e9)]['justifyContent']=_0x101639(0x218),this[_0x101639(0x234)][_0x101639(0x1e9)][_0x101639(0x240)]='1000',this[_0x101639(0x234)][_0x101639(0x1e9)][_0x101639(0x289)]=_0x101639(0x1bc),this['_maskContainer'][_0x101639(0x272)](this['_maskElement']);}[_0x5a93be(0x20e)](){const _0x416cfb=_0x5a93be;var _0xd22a37;const _0x2b5e4a=(_0xd22a37=document['getElementById'](this[_0x416cfb(0x1d4)]))==null?void 0x0:_0xd22a37['querySelector'](_0x416cfb(0x31c));_0x2b5e4a&&(this[_0x416cfb(0x30a)]=_0x2b5e4a,this[_0x416cfb(0x1df)]());}[_0x5a93be(0x280)](){const _0x470ef6=_0x5a93be;this[_0x470ef6(0x30a)]||this[_0x470ef6(0x20e)](),this['_maskElement']&&(this[_0x470ef6(0x234)]['style'][_0x470ef6(0x289)]=_0x470ef6(0x2ea));}['hideMask'](){const _0xdd6e16=_0x5a93be;this[_0xdd6e16(0x234)]&&(this[_0xdd6e16(0x234)]['style'][_0xdd6e16(0x289)]=_0xdd6e16(0x1bc));}set[_0x5a93be(0x296)](_0x5ca51e){const _0xa65557=_0x5a93be;this['_status$'][_0xa65557(0x2bd)](_0x5ca51e);}set[_0x5a93be(0x25a)](_0x2b9322){const _0x1d0f42=_0x5a93be;_0x2b9322!==this['_currentVersion$'][_0x1d0f42(0x2b3)]&&this[_0x1d0f42(0x260)][_0x1d0f42(0x2bd)](_0x2b9322);}get[_0x5a93be(0x25a)](){const _0x16858d=_0x5a93be;return this[_0x16858d(0x260)][_0x16858d(0x2b3)];}set['unitId'](_0x440286){const _0x3a4553=_0x5a93be;this['_unitId$'][_0x3a4553(0x2bd)](_0x440286);}get[_0x5a93be(0x2c1)](){const _0x540cea=_0x5a93be;return this[_0x540cea(0x257)][_0x540cea(0x2b3)];}get[_0x5a93be(0x2b7)](){return this['_canRevert'];}get[_0x5a93be(0x305)](){const _0x540069=_0x5a93be;return this[_0x540069(0x177)]['value'];}};E=vs([V(0x0,_0x18abf5),V(0x1,_0x244812),V(0x2,_0x4ed92a(_0x1d19dc)),V(0x3,_0x4ed92a(Y))],E);var S=function(){const _0x57efe2=_0x5a93be;return S=Object[_0x57efe2(0x21b)]||function(_0x264e50){const _0x3dadc3=_0x57efe2;for(var _0x3413b3,_0x3e1f4=0x1,_0x504ecc=arguments[_0x3dadc3(0x192)];_0x3e1f4<_0x504ecc;_0x3e1f4++){_0x3413b3=arguments[_0x3e1f4];for(var _0x553676 in _0x3413b3)Object[_0x3dadc3(0x26f)][_0x3dadc3(0x1d7)]['call'](_0x3413b3,_0x553676)&&(_0x264e50[_0x553676]=_0x3413b3[_0x553676]);}return _0x264e50;},S[_0x57efe2(0x1f3)](this,arguments);},ms=function(_0x57c398,_0x36cbc6){const _0x47f229=_0x5a93be;var _0x122ce6={};for(var _0x2cc627 in _0x57c398)Object[_0x47f229(0x26f)][_0x47f229(0x1d7)]['call'](_0x57c398,_0x2cc627)&&_0x36cbc6['indexOf'](_0x2cc627)<0x0&&(_0x122ce6[_0x2cc627]=_0x57c398[_0x2cc627]);if(_0x57c398!=null&&typeof Object[_0x47f229(0x1e7)]==_0x47f229(0x197)){for(var _0x574251=0x0,_0x2cc627=Object['getOwnPropertySymbols'](_0x57c398);_0x574251<_0x2cc627[_0x47f229(0x192)];_0x574251++)_0x36cbc6[_0x47f229(0x1b9)](_0x2cc627[_0x574251])<0x0&&Object[_0x47f229(0x26f)]['propertyIsEnumerable'][_0x47f229(0x1de)](_0x57c398,_0x2cc627[_0x574251])&&(_0x122ce6[_0x2cc627[_0x574251]]=_0x57c398[_0x2cc627[_0x574251]]);}return _0x122ce6;},G=_0x1d01e3(function(_0x3063ae,_0x4e4731){const _0x26ff52=_0x5a93be;var _0x26eda2=_0x3063ae[_0x26ff52(0x267)],_0x436811=_0x3063ae['id'],_0x4f0eda=_0x3063ae[_0x26ff52(0x1a3)],_0x1103ad=_0x3063ae[_0x26ff52(0x1ef)],_0x1ed317=ms(_0x3063ae,[_0x26ff52(0x267),'id',_0x26ff52(0x1a3),_0x26ff52(0x1ef)]),_0x2b199e=_0x26ff52(0x187)[_0x26ff52(0x256)](_0x436811,'\x20')[_0x26ff52(0x256)](_0x4f0eda||'')[_0x26ff52(0x299)](),_0x4fc164=_0x34b458('_'['concat'](Ss()));return Pe(_0x26eda2,''[_0x26ff52(0x256)](_0x436811),{'defIds':_0x26eda2[_0x26ff52(0x2c4)],'idSuffix':_0x4fc164['current']},S({'ref':_0x4e4731,'className':_0x2b199e},_0x1ed317),_0x1103ad);});function Pe(_0x1ba0de,_0x121a69,_0xb0bb63,_0x4b0a65,_0x3ced4b){const _0xa3252d=_0x5a93be;return _0x1a34bb(_0x1ba0de['tag'],S(S({'key':_0x121a69},Is(_0x1ba0de,_0xb0bb63,_0x3ced4b)),_0x4b0a65),(gs(_0x1ba0de,_0xb0bb63)['children']||[])[_0xa3252d(0x2b2)](function(_0x51f21a,_0xf2ee3c){const _0x570e17=_0xa3252d;return Pe(_0x51f21a,''[_0x570e17(0x256)](_0x121a69,'-')['concat'](_0x1ba0de['tag'],'-')[_0x570e17(0x256)](_0xf2ee3c),_0xb0bb63,void 0x0,_0x3ced4b);}));}function Is(_0x38e8cb,_0x4603ab,_0x4e323d){const _0xf4acc3=_0x5a93be;var _0x2ef780=S({},_0x38e8cb[_0xf4acc3(0x222)]);_0x4e323d!=null&&_0x4e323d[_0xf4acc3(0x2f1)]&&_0x2ef780['fill']===_0xf4acc3(0x2f1)&&(_0x2ef780['fill']=_0x4e323d[_0xf4acc3(0x2f1)]),_0x38e8cb[_0xf4acc3(0x25b)]===_0xf4acc3(0x30b)&&_0x2ef780['id']&&(_0x2ef780['id']=_0x2ef780['id']+_0x4603ab[_0xf4acc3(0x1ae)]),Object['entries'](_0x2ef780)[_0xf4acc3(0x27f)](function(_0x398c6f){const _0x5d64ed=_0xf4acc3;var _0x1d9955=_0x398c6f[0x0],_0x2e7411=_0x398c6f[0x1];_0x1d9955===_0x5d64ed(0x30b)&&typeof _0x2e7411==_0x5d64ed(0x294)&&(_0x2ef780[_0x1d9955]=_0x2e7411[_0x5d64ed(0x1e6)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x4603ab[_0x5d64ed(0x1ae)],')')));});var _0x8fdce2=_0x4603ab[_0xf4acc3(0x2c4)];return!_0x8fdce2||_0x8fdce2[_0xf4acc3(0x192)]===0x0||(_0x38e8cb[_0xf4acc3(0x25b)]===_0xf4acc3(0x1b1)&&_0x2ef780['xlink:href']&&(_0x2ef780[_0xf4acc3(0x247)]=_0x2ef780['xlink:href']+_0x4603ab[_0xf4acc3(0x1ae)]),Object[_0xf4acc3(0x17f)](_0x2ef780)[_0xf4acc3(0x27f)](function(_0x589fb2){const _0x37c913=_0xf4acc3;var _0x447074=_0x589fb2[0x0],_0x218a48=_0x589fb2[0x1];typeof _0x218a48==_0x37c913(0x294)&&(_0x2ef780[_0x447074]=_0x218a48['replace'](/url\(#(.*)\)/,'url(#$1'[_0x37c913(0x256)](_0x4603ab[_0x37c913(0x1ae)],')')));})),_0x2ef780;}function gs(_0x103283,_0x4cb202){const _0x4cee85=_0x5a93be;var _0x317239,_0x4f7a53=_0x4cb202['defIds'];return!_0x4f7a53||_0x4f7a53[_0x4cee85(0x192)]===0x0?_0x103283:_0x103283[_0x4cee85(0x25b)]===_0x4cee85(0x2bf)&&(!((_0x317239=_0x103283[_0x4cee85(0x2e8)])===null||_0x317239===void 0x0)&&_0x317239[_0x4cee85(0x192)])?S(S({},_0x103283),{'children':_0x103283['children'][_0x4cee85(0x2b2)](function(_0x278f13){const _0x3c70e1=_0x4cee85;return typeof _0x278f13['attrs']['id']==_0x3c70e1(0x294)&&_0x4f7a53&&_0x4f7a53['includes'](_0x278f13[_0x3c70e1(0x222)]['id'])?S(S({},_0x278f13),{'attrs':S(S({},_0x278f13['attrs']),{'id':_0x278f13['attrs']['id']+_0x4cb202[_0x3c70e1(0x1ae)]})}):_0x278f13;})}):_0x103283;}function Ss(){const _0x315bce=_0x5a93be;return Math['random']()[_0x315bce(0x29e)](0x24)['substring'](0x2,0x8);}G[_0x5a93be(0x188)]=_0x5a93be(0x1a9);var ps={'tag':_0x5a93be(0x238),'attrs':{'xmlns':_0x5a93be(0x237),'fill':'none','viewBox':_0x5a93be(0x176),'width':_0x5a93be(0x2e4),'height':_0x5a93be(0x2e4)},'children':[{'tag':_0x5a93be(0x2b9),'attrs':{'fill':_0x5a93be(0x2d6),'d':'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'}}]},Te=_0x1d01e3(function(_0x33552e,_0xc103eb){const _0x2293ff=_0x5a93be;return _0x1a34bb(G,Object[_0x2293ff(0x21b)]({},_0x33552e,{'id':_0x2293ff(0x223),'ref':_0xc103eb,'icon':ps}));});Te[_0x5a93be(0x188)]=_0x5a93be(0x2b6);var Es={'tag':_0x5a93be(0x238),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5a93be(0x1bc),'viewBox':'0\x200\x2016\x2016','width':_0x5a93be(0x2e4),'height':_0x5a93be(0x2e4)},'children':[{'tag':_0x5a93be(0x2b9),'attrs':{'fill':'#0B9EFB','d':_0x5a93be(0x1ff),'fillOpacity':0.2,'fillRule':_0x5a93be(0x291),'clipRule':_0x5a93be(0x291)}},{'tag':_0x5a93be(0x2b9),'attrs':{'fill':'#0B9EFB','d':_0x5a93be(0x26c),'fillRule':_0x5a93be(0x291),'clipRule':_0x5a93be(0x291)}}]},ae=_0x1d01e3(function(_0x56203f,_0x266dd9){const _0x1b5c91=_0x5a93be;return _0x1a34bb(G,Object[_0x1b5c91(0x21b)]({},_0x56203f,{'id':_0x1b5c91(0x2c7),'ref':_0x266dd9,'icon':Es}));});ae[_0x5a93be(0x188)]='LoadingMultiIcon';var Rs={'tag':_0x5a93be(0x238),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x5a93be(0x251),'width':_0x5a93be(0x2e4),'height':_0x5a93be(0x2e4)},'children':[{'tag':'g','attrs':{'fill':_0x5a93be(0x2d6),'clipPath':_0x5a93be(0x1b4)},'children':[{'tag':'path','attrs':{'d':_0x5a93be(0x2c9)}},{'tag':_0x5a93be(0x2b9),'attrs':{'d':'M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','fillRule':'evenodd','clipRule':_0x5a93be(0x291)}}]},{'tag':_0x5a93be(0x2bf),'attrs':{},'children':[{'tag':_0x5a93be(0x1c6),'attrs':{'id':_0x5a93be(0x190)},'children':[{'tag':_0x5a93be(0x322),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':'white','rx':0x4}}]}]}],'defIds':['restore-icon_clip0_1247_2']},Le=_0x1d01e3(function(_0xd0a836,_0x3bb962){const _0x48a48a=_0x5a93be;return _0x1a34bb(G,Object[_0x48a48a(0x21b)]({},_0xd0a836,{'id':_0x48a48a(0x2fa),'ref':_0x3bb962,'icon':Rs}));});Le['displayName']=_0x5a93be(0x31b);function Os(){const _0x5adb1d=_0x5a93be;var _0x174168;const _0x546bfc=_0x29733e(E),_0x324f38=_0x29733e(_0x1d19dc),_0x22733f=_0x1d38fb(()=>{const _0x198f73=_0xa3f9;_0x546bfc[_0x198f73(0x296)]=ne[_0x198f73(0x2c8)];},[_0x546bfc]),_0x5eb294=_0x1d38fb(()=>{const _0x4012bb=_0xa3f9;_0x546bfc[_0x4012bb(0x1ca)]();},[_0x546bfc]),_0x592454=_0x4c9d85(_0x546bfc['currentVersion$']),_0x26ccde=_0x4c9d85(_0x546bfc[_0x5adb1d(0x2d7)]),_0x3ce70c=_0x592454===((_0x174168=_0x26ccde==null?void 0x0:_0x26ccde[0x0])==null?void 0x0:_0x174168['id']),_0x1b6911=_0x592454!==''&&!_0x3ce70c&&_0x546bfc[_0x5adb1d(0x2b7)];return _0x119ce9(_0x5adb1d(0x1c1),{'className':_0x5654c3(_0x5adb1d(0x282),_0x1c46b3),'children':[_0x4a569a('a',{'className':_0x5adb1d(0x2bb),'onClick':_0x22733f,'children':_0x4a569a(Te,{'className':'univer-text-2xl\x20dark:univer-text-white'})}),_0x4a569a(_0x5adb1d(0x1c1),{'className':_0x5adb1d(0x2d9),'children':_0x1b6911&&_0x4a569a(_0x46d12d,{'variant':_0x5adb1d(0x278),'onClick':_0x5eb294,'children':_0x324f38['t'](_0x5adb1d(0x244))})})]});}var Ms=Object[_0x5a93be(0x21f)],Ns=(_0x2a77fe,_0x4ebaaa,_0x4a5dbf,_0x248583)=>{const _0x9ac58a=_0x5a93be;for(var _0x18b54e=_0x248583>0x1?void 0x0:_0x248583?Ms(_0x4ebaaa,_0x4a5dbf):_0x4ebaaa,_0x4000c6=_0x2a77fe[_0x9ac58a(0x192)]-0x1,_0x2f71f5;_0x4000c6>=0x0;_0x4000c6--)(_0x2f71f5=_0x2a77fe[_0x4000c6])&&(_0x18b54e=_0x2f71f5(_0x18b54e)||_0x18b54e);return _0x18b54e;},y=(_0x39f3ee,_0x42bf32)=>(_0x147358,_0x42124e)=>_0x42bf32(_0x147358,_0x42124e,_0x39f3ee);let B=class extends _0x1e4563{constructor(_0x1d59aa,_0x3f0c49,_0x4d6602,_0x28629d,_0x53bae9,_0x52fa4f){const _0xbd8523=_0x5a93be;super(),this[_0xbd8523(0x2a2)]=_0x1d59aa,this[_0xbd8523(0x1c8)]=_0x3f0c49,this['_messageService']=_0x4d6602,this['_localeService']=_0x28629d,this[_0xbd8523(0x2ce)]=_0x53bae9,this[_0xbd8523(0x2d2)]=_0x52fa4f,this[_0xbd8523(0x259)]();}[_0x5a93be(0x259)](){const _0x4a6ba3=_0x5a93be;this[_0x4a6ba3(0x2ac)](this[_0x4a6ba3(0x2ce)][_0x4a6ba3(0x2ab)][_0x4a6ba3(0x27c)](_0x3fd78c=>{const _0x15e55f=_0x4a6ba3;_0x3fd78c&&this[_0x15e55f(0x2ce)][_0x15e55f(0x301)](_0x3fd78c);})),this[_0x4a6ba3(0x2ac)](this[_0x4a6ba3(0x2a2)][_0x4a6ba3(0x2ef)][_0x4a6ba3(0x27c)](_0x384bac=>{const _0x2b783f=_0x4a6ba3,_0xdbf715=this['_historyManagerService'][_0x2b783f(0x2c1)];_0xdbf715&&(_0x384bac[_0x2b783f(0x249)]===b[_0x2b783f(0x2e3)]&&_0x384bac[_0x2b783f(0x2b3)]===!0x0&&this['_permissionService'][_0x2b783f(0x1f7)](new _0x2fa407(_0xdbf715)['id'],!0x1),_0x384bac['subType']===b[_0x2b783f(0x1f9)]&&_0x384bac[_0x2b783f(0x2b3)]===!0x0&&this[_0x2b783f(0x2a2)][_0x2b783f(0x1f7)](new _0x1c0b0d(_0xdbf715)['id'],!0x1),_0x384bac[_0x2b783f(0x249)]===b[_0x2b783f(0x22a)]&&_0x384bac[_0x2b783f(0x2b3)]===!0x0&&this['_permissionService'][_0x2b783f(0x1f7)](new _0x5b1674(_0xdbf715)['id'],!0x1),_0x384bac[_0x2b783f(0x249)]===b['HideSheet']&&_0x384bac[_0x2b783f(0x2b3)]===!0x0&&this[_0x2b783f(0x2a2)]['updatePermissionPoint'](new _0x4d0afc(_0xdbf715)['id'],!0x1),_0x384bac[_0x2b783f(0x249)]===b[_0x2b783f(0x295)]&&_0x384bac[_0x2b783f(0x2b3)]===!0x0&&this[_0x2b783f(0x2a2)][_0x2b783f(0x1f7)](new _0x2fa407(_0xdbf715)['id'],!0x1),_0x384bac['subType']===b[_0x2b783f(0x236)]&&_0x384bac['value']===!0x0&&this[_0x2b783f(0x2a2)][_0x2b783f(0x1f7)](new _0x2fa407(_0xdbf715)['id'],!0x1));})),this[_0x4a6ba3(0x2ac)](this[_0x4a6ba3(0x1c8)]['registerComponent'](_0x43e012['HEADER'],()=>_0x6ed513(Os,this[_0x4a6ba3(0x2d2)]))),this[_0x4a6ba3(0x2ac)](this[_0x4a6ba3(0x2ce)][_0x4a6ba3(0x17c)][_0x4a6ba3(0x27c)](_0x488ef4=>{const _0x1f96a9=_0x4a6ba3;_0x488ef4===T['Loading']&&(this[_0x1f96a9(0x2ce)][_0x1f96a9(0x280)](),this[_0x1f96a9(0x2f5)][_0x1f96a9(0x191)]({'type':_0x51657f[_0x1f96a9(0x1cf)],'content':this['_localeService']['t'](_0x1f96a9(0x181))})),_0x488ef4===T['Loaded']&&this[_0x1f96a9(0x2ce)][_0x1f96a9(0x26e)]();}));}};B=Ns([y(0x0,_0x4f7457),y(0x1,_0x58f2ed),y(0x2,_0x18abf5),y(0x3,_0x4ed92a(_0x1d19dc)),y(0x4,_0x4ed92a(E)),y(0x5,_0x4ed92a(_0x391434))],B);var bs=Object[_0x5a93be(0x21f)],Ds=(_0x29993d,_0x59753b,_0x21e5e9,_0x4545fe)=>{const _0x5f18a6=_0x5a93be;for(var _0x665b5e=_0x4545fe>0x1?void 0x0:_0x4545fe?bs(_0x59753b,_0x21e5e9):_0x59753b,_0xd38535=_0x29993d[_0x5f18a6(0x192)]-0x1,_0x3161d6;_0xd38535>=0x0;_0xd38535--)(_0x3161d6=_0x29993d[_0xd38535])&&(_0x665b5e=_0x3161d6(_0x665b5e)||_0x665b5e);return _0x665b5e;},Q=(_0x161049,_0x607707)=>(_0x502bbd,_0x22dd87)=>_0x607707(_0x502bbd,_0x22dd87,_0x161049);let $=class extends _0x1e4563{constructor(_0xd63943,_0x5682b1,_0x566780){const _0xd84535=_0x5a93be;super(),l(this,_0xd84535(0x26d),new Map()),l(this,_0xd84535(0x22b),new _0x3a8853({'ranges':new Map(),'active':null})),l(this,'currentVersionDiff$',this[_0xd84535(0x22b)]['asObservable']()),(this[_0xd84535(0x2ce)]=_0xd63943,this[_0xd84535(0x302)]=_0x5682b1,this[_0xd84535(0x24d)]=_0x566780,this[_0xd84535(0x259)]());}[_0x5a93be(0x259)](){const _0x259559=_0x5a93be;this[_0x259559(0x26d)]=new Map(),this[_0x259559(0x2ac)](this[_0x259559(0x2ce)][_0x259559(0x1b0)][_0x259559(0x27c)](_0x53ebd6=>{const _0x24491d=_0x259559;_0x53ebd6&&!this[_0x24491d(0x26d)]['has'](_0x53ebd6)&&this[_0x24491d(0x26d)][_0x24491d(0x18f)](_0x53ebd6,new Map());})),this[_0x259559(0x2ac)](this[_0x259559(0x2ce)][_0x259559(0x2ab)][_0x259559(0x27c)](async _0x3cc17c=>{const _0x1c5855=_0x259559;var _0x3d24a8;_0x3cc17c&&(await this['ensureVersion'](_0x3cc17c),this[_0x1c5855(0x22b)][_0x1c5855(0x2bd)](((_0x3d24a8=this[_0x1c5855(0x26d)]['get'](this[_0x1c5855(0x2ce)][_0x1c5855(0x2c1)]))==null?void 0x0:_0x3d24a8[_0x1c5855(0x2a4)](_0x3cc17c))||{'ranges':new Map(),'active':null}));}));}async['ensureVersion'](_0x5dfc39){const _0x4bc6dd=_0x5a93be;var _0x5a6021,_0x5311c5;const _0x32ed42=this[_0x4bc6dd(0x2ce)][_0x4bc6dd(0x265)](_0x5dfc39),_0x3df841=this['_historyManagerService'][_0x4bc6dd(0x2c1)];if(!_0x32ed42||!_0x3df841)return;const _0x50faaf=this['_diffRangesMap'][_0x4bc6dd(0x2a4)](_0x3df841);if(_0x50faaf||this[_0x4bc6dd(0x26d)]['set'](_0x3df841,new Map()),(_0x5a6021=this[_0x4bc6dd(0x26d)]['get'](_0x3df841))!=null&&_0x5a6021[_0x4bc6dd(0x1c5)](_0x32ed42['id']))return;const {startRev:_0x3dd0d9,endRev:_0x3b0cb6}=_0x32ed42;if(_0x3dd0d9===0x1){_0x50faaf[_0x4bc6dd(0x18f)](_0x32ed42['id'],{'ranges':new Map(),'active':null});return;}const _0x434faa=_0x3dd0d9-0x1,_0x1d76a7=_0x3b0cb6,_0x2bc39a=await this[_0x4bc6dd(0x24d)][_0x4bc6dd(0x183)]({},{'unitID':_0x3df841,'from':_0x434faa,'to':_0x1d76a7,'type':F[_0x4bc6dd(0x2fe)]});if(((_0x5311c5=_0x2bc39a[_0x4bc6dd(0x287)])==null?void 0x0:_0x5311c5[_0x4bc6dd(0x2e7)])===X['OK']){const _0xad692e=_0x2bc39a['changesets']['map'](_0x453676)[_0x4bc6dd(0x2b2)](_0x2ae4e7=>_0x2ae4e7[_0x4bc6dd(0x217)][_0x4bc6dd(0x2b2)](_0x6c2917=>({..._0x6c2917,'params':{..._0x6c2917[_0x4bc6dd(0x27b)],'memberId':_0x2ae4e7[_0x4bc6dd(0x18a)]}})))[_0x4bc6dd(0x2c0)](),_0x2f3f09=this[_0x4bc6dd(0x2d8)](_0xad692e),_0x313542=this[_0x4bc6dd(0x270)](_0xad692e),_0x22832c=this[_0x4bc6dd(0x1d6)](_0x2f3f09);_0x50faaf[_0x4bc6dd(0x18f)](_0x32ed42['id'],{'ranges':_0x22832c,'active':_0x313542});}}['_transformMutationByOrder'](_0x5058a8){const _0x2cb894=_0x5a93be;let _0x421a33=[];for(let _0x259c61=0x0;_0x259c61<_0x5058a8[_0x2cb894(0x192)];_0x259c61++){const _0x44bce8=_0x5058a8[_0x259c61];if(_0x421a33[_0x2cb894(0x24e)](_0x44bce8),_0x259c61!==_0x5058a8[_0x2cb894(0x192)]-0x1){const _0x4cd360=_0x5058a8[_0x259c61+0x1],_0x329efe=this[_0x2cb894(0x302)][_0x2cb894(0x2d5)](_0x421a33,[_0x4cd360]);_0x345763(_0x329efe)?_0x421a33=_0x329efe[_0x2cb894(0x2fd)]:_0x421a33=[];}}return _0x421a33;}[_0x5a93be(0x270)](_0x3e21d3){const _0x5b0fe9=_0x5a93be;let _0x3d9b63=[];return _0x3e21d3[_0x5b0fe9(0x27f)](_0xdb279b=>{const _0x4fa572=_0x5b0fe9;if(_0xdb279b['id']===_0x5e0110['id']){const _0x35e4a0=_0xdb279b[_0x4fa572(0x27b)];_0x3d9b63['push'](_0x35e4a0[_0x4fa572(0x2a1)]['id']);}else{if(_0xdb279b['id']===_0x6f8c45['id']){const _0x4d7453=_0xdb279b[_0x4fa572(0x27b)];_0x3d9b63[_0x4fa572(0x192)]>0x0&&(_0x3d9b63=_0x3d9b63[_0x4fa572(0x1dc)](_0x127586=>_0x127586!==_0x4d7453['subUnitId']));}else{if(_0xdb279b['id']===_0x16227f['id']){const _0x5890e6=_0xdb279b[_0x4fa572(0x27b)];_0x5890e6[_0x4fa572(0x288)]?_0x3d9b63=_0x3d9b63[_0x4fa572(0x1dc)](_0x38984a=>_0x38984a!==_0x5890e6[_0x4fa572(0x1fb)]):_0x3d9b63[_0x4fa572(0x24e)](_0x5890e6[_0x4fa572(0x1fb)]);}else{const _0x42ad93=_0xdb279b['params'];_0x42ad93[_0x4fa572(0x1fb)]&&_0x3d9b63['push'](_0x42ad93[_0x4fa572(0x1fb)]);}}}}),_0x3d9b63[_0x5b0fe9(0x192)]>0x0?_0x3d9b63[_0x3d9b63[_0x5b0fe9(0x192)]-0x1]:null;}[_0x5a93be(0x1d6)](_0x36b46b){const _0x54b7bb=_0x5a93be,_0x9e0f94=new Map();return _0x36b46b[_0x54b7bb(0x27f)](_0x302413=>{const _0x57b8e2=_0x54b7bb;var _0x2e4f73,_0x7150af;const _0x44b505=(_0x2e4f73=_0x302413[_0x57b8e2(0x27b)])==null?void 0x0:_0x2e4f73[_0x57b8e2(0x28e)];if(_0x44b505){_0x9e0f94[_0x57b8e2(0x1c5)](_0x44b505)||_0x9e0f94['set'](_0x44b505,[]);const _0x517cf0=this[_0x57b8e2(0x2e9)](_0x302413);(_0x7150af=_0x9e0f94[_0x57b8e2(0x2a4)](_0x44b505))==null||_0x7150af[_0x57b8e2(0x24e)](..._0x517cf0);}}),_0x9e0f94[_0x54b7bb(0x27f)]((_0x10ef35,_0x203aa9)=>{const _0x871139=_0x54b7bb;_0x9e0f94[_0x871139(0x18f)](_0x203aa9,this['_combineRanges'](_0x10ef35));}),_0x9e0f94;}['_getRangesByMutation'](_0x26f809){const _0x1f6e2c=_0x5a93be;switch(_0x26f809['id']){case _0x2d954d['id']:{const _0x54dfd4=_0x26f809['params'];return _0x54dfd4['rules'][_0x1f6e2c(0x2b2)](_0xa312f5=>_0xa312f5[_0x1f6e2c(0x276)]['map'](_0x42c99c=>({'range':_0x42c99c,'unitId':_0x54dfd4[_0x1f6e2c(0x2c1)],'subUnitId':_0x54dfd4['subUnitId']})))[_0x1f6e2c(0x2c0)]();}case _0x36ca9c['id']:{const _0x9ed30d=_0x26f809['params'];return _0x9ed30d[_0x1f6e2c(0x276)][_0x1f6e2c(0x2b2)](_0x30ef07=>({'range':_0x30ef07,'unitId':_0x9ed30d[_0x1f6e2c(0x2c1)],'subUnitId':_0x9ed30d['subUnitId']}));}case _0x88b794['id']:{const _0x46f08b=_0x26f809['params'];return[{'range':_0x46f08b[_0x1f6e2c(0x174)],'unitId':_0x46f08b[_0x1f6e2c(0x2c1)],'subUnitId':_0x46f08b['subUnitId']}];}case _0x22d5eb['id']:{const _0x3699d1=_0x26f809[_0x1f6e2c(0x27b)];return[{'range':_0x3699d1['range'],'unitId':_0x3699d1[_0x1f6e2c(0x2c1)],'subUnitId':_0x3699d1['subUnitId']}];}case _0x827e17['id']:{const _0x27507f=_0x26f809[_0x1f6e2c(0x27b)],{from:_0x13e64e,to:_0x1957c1,unitId:_0x214f91}=_0x27507f;return[{'range':he(_0x13e64e['value']),'unitId':_0x214f91,'subUnitId':_0x13e64e[_0x1f6e2c(0x1fb)]},{'range':he(_0x1957c1['value']),'unitId':_0x214f91,'subUnitId':_0x1957c1[_0x1f6e2c(0x1fb)]}];}case _0x1b2a9c['id']:{const _0x73b0d=_0x26f809[_0x1f6e2c(0x27b)],{unitId:_0x103982,subUnitId:_0x9065a3,sourceRange:_0x437455,targetRange:_0x554cab}=_0x73b0d,_0x4a00a3=_0x437455[_0x1f6e2c(0x1e0)]-_0x437455[_0x1f6e2c(0x2ba)]+0x1;return[{'range':_0x554cab[_0x1f6e2c(0x2ba)]<=_0x437455['startRow']?_0x554cab:{..._0x554cab,'startRow':_0x554cab[_0x1f6e2c(0x2ba)]-_0x4a00a3,'endRow':_0x554cab[_0x1f6e2c(0x1e0)]-_0x4a00a3},'unitId':_0x103982,'subUnitId':_0x9065a3}];}case _0x265e4b['id']:{const _0x14d730=_0x26f809['params'],{unitId:_0x4b80ca,subUnitId:_0x26d91a,sourceRange:_0x3c93f3,targetRange:_0x2545e5}=_0x14d730,_0x5cc600=_0x3c93f3['endColumn']-_0x3c93f3[_0x1f6e2c(0x1d3)]+0x1;return[{'range':_0x2545e5['startColumn']<=_0x3c93f3['startColumn']?_0x2545e5:{..._0x2545e5,'startColumn':_0x2545e5[_0x1f6e2c(0x1d3)]-_0x5cc600,'endColumn':_0x2545e5['endColumn']-_0x5cc600},'unitId':_0x4b80ca,'subUnitId':_0x26d91a}];}case _0x5ab9e6['id']:{const _0x38ef1c=_0x26f809[_0x1f6e2c(0x27b)],{values:_0x407283,unitId:_0x22a1e0,subUnitId:_0x49f196}=_0x38ef1c;return Object[_0x1f6e2c(0x210)](_0x407283)[_0x1f6e2c(0x2b2)](_0x3fe08c=>_0x3fe08c[_0x1f6e2c(0x276)][_0x1f6e2c(0x2b2)](_0x1e17bf=>({'range':_0x1e17bf,'unitId':_0x22a1e0,'subUnitId':_0x49f196})))['flat']();}case _0x5b3011['id']:{const _0x46d7d4=_0x26f809[_0x1f6e2c(0x27b)],{ranges:_0x241d20,unitId:_0x12fbe4,subUnitId:_0x16c672}=_0x46d7d4;return _0x241d20[_0x1f6e2c(0x2b2)](_0x56ab82=>({'range':_0x56ab82,'unitId':_0x12fbe4,'subUnitId':_0x16c672}));}case _0x4ab93e['id']:{const _0x2324ee=_0x26f809['params'],{unitId:_0x2a3b2f,subUnitId:_0x1aa802,range:_0x12a96e}=_0x2324ee;return[{'range':_0x12a96e,'unitId':_0x2a3b2f,'subUnitId':_0x1aa802}];}case _0x3269a6['id']:{const _0xce9be=_0x26f809['params'];return _0xce9be[_0x1f6e2c(0x30f)][_0x1f6e2c(0x276)]['map'](_0x2756dd=>({'range':_0x2756dd,'unitId':_0xce9be['unitId'],'subUnitId':_0xce9be[_0x1f6e2c(0x1fb)]}));}case _0x4eedf3['id']:{const _0x406886=_0x26f809[_0x1f6e2c(0x27b)];return _0x406886[_0x1f6e2c(0x290)]?ys(_0x406886['cellValue'])[_0x1f6e2c(0x2b2)](_0xab87c3=>({'range':_0xab87c3,'unitId':_0x406886[_0x1f6e2c(0x2c1)],'subUnitId':_0x406886[_0x1f6e2c(0x1fb)]})):[];}case _0x5340c8['id']:{const _0x1e1828=_0x26f809[_0x1f6e2c(0x27b)];return[{'range':_0x1e1828[_0x1f6e2c(0x174)],'unitId':_0x1e1828['unitId'],'subUnitId':_0x1e1828[_0x1f6e2c(0x1fb)]}];}case _0xb127ba['id']:{const _0x402685=_0x26f809[_0x1f6e2c(0x27b)];return(Array['isArray'](_0x402685[_0x1f6e2c(0x30f)])?_0x402685['rule']:[_0x402685[_0x1f6e2c(0x30f)]])['map'](_0x226583=>_0x226583[_0x1f6e2c(0x276)][_0x1f6e2c(0x2b2)](_0x41e9e8=>({'range':_0x41e9e8,'unitId':_0x402685['unitId'],'subUnitId':_0x402685[_0x1f6e2c(0x1fb)]})))[_0x1f6e2c(0x2c0)]();}case _0x1203ba['id']:{const _0x26cbe5=_0x26f809[_0x1f6e2c(0x27b)];return _0x26cbe5[_0x1f6e2c(0x30f)][_0x1f6e2c(0x276)]['map'](_0x2f3f77=>({'range':_0x2f3f77,'unitId':_0x26cbe5['unitId'],'subUnitId':_0x26cbe5['subUnitId']}));}default:return[];}}[_0x5a93be(0x20b)](_0x2989b1){const _0x24391d=_0x5a93be;if(_0x2989b1['length']<=0x1)return _0x2989b1;const _0x21576b=new Map();return _0x2989b1[_0x24391d(0x27f)](_0x5767a9=>{const _0x26e16c=_0x24391d;var _0x562a18;const {unitId:_0x378889,subUnitId:_0x2e1888}=_0x5767a9,_0x110e58=_0x378889+'-'+_0x2e1888;_0x21576b[_0x26e16c(0x1c5)](_0x110e58)?(_0x562a18=_0x21576b['get'](_0x110e58))==null||_0x562a18[_0x26e16c(0x24e)](_0x5767a9):_0x21576b['set'](_0x110e58,[_0x5767a9]);}),Array[_0x24391d(0x292)](_0x21576b[_0x24391d(0x210)]())[_0x24391d(0x2b2)](_0x524a93=>new _0x5dbdea()[_0x24391d(0x2fc)](..._0x524a93[_0x24391d(0x2b2)](_0xd0ef10=>_0xd0ef10[_0x24391d(0x174)]))[_0x24391d(0x180)]()['map'](_0x1c3b26=>({'range':_0x1c3b26,'unitId':_0x524a93[0x0]['unitId'],'subUnitId':_0x524a93[0x0][_0x24391d(0x1fb)]})))['flat']();}};$=Ds([Q(0x0,_0x4ed92a(E)),Q(0x1,_0x253b73),Q(0x2,_0x349e65)],$);function he(_0x2e5983){const _0x230d06=_0x5a93be;return new _0x644215(_0x2e5983)[_0x230d06(0x2b8)]();}function ys(_0x55902a){const _0x33fd13=_0x5a93be,_0x5697e5=new _0x644215(_0x55902a),_0x5219ce=new _0x644215();return _0x5697e5[_0x33fd13(0x227)]((_0x205eaa,_0x443a4d)=>{const _0x1271da=_0x33fd13;_0x5219ce[_0x1271da(0x229)](_0x205eaa,_0x443a4d,0x1);}),_0x3175c9(_0x5219ce);}var Cs=Object[_0x5a93be(0x21f)],ws=(_0x23e70f,_0x33c314,_0x38be9c,_0x464f43)=>{for(var _0x1a067f=_0x464f43>0x1?void 0x0:_0x464f43?Cs(_0x33c314,_0x38be9c):_0x33c314,_0x4625ab=_0x23e70f['length']-0x1,_0x492452;_0x4625ab>=0x0;_0x4625ab--)(_0x492452=_0x23e70f[_0x4625ab])&&(_0x1a067f=_0x492452(_0x1a067f)||_0x1a067f);return _0x1a067f;},C=(_0x169d91,_0xc4192)=>(_0x316b5a,_0x472dfa)=>_0xc4192(_0x316b5a,_0x472dfa,_0x169d91);let te=class extends _0x1e4563{constructor(_0x26763d,_0x4e9b70,_0x59fdc9,_0x1c4325,_0x177968,_0x492c6e,_0x49cecc){const _0x11f1aa=_0x5a93be;super(),l(this,'_diffs',new Set()),l(this,_0x11f1aa(0x1ea),null),(this[_0x11f1aa(0x1d2)]=_0x26763d,this[_0x11f1aa(0x2ce)]=_0x4e9b70,this['_versionDiffService']=_0x59fdc9,this[_0x11f1aa(0x1b8)]=_0x1c4325,this[_0x11f1aa(0x24b)]=_0x177968,this[_0x11f1aa(0x25f)]=_0x492c6e,this[_0x11f1aa(0x1c3)]=_0x49cecc,this['_init']());}[_0x5a93be(0x259)](){const _0x427d7f=_0x5a93be;this[_0x427d7f(0x21a)](),this['_initActiveSwitch']();}[_0x5a93be(0x21a)](){const _0x38fa3b=_0x5a93be;this['disposeWithMe'](_0x1b37d0([this['_historyManagerService'][_0x38fa3b(0x17c)],this[_0x38fa3b(0x25f)][_0x38fa3b(0x2fb)]])[_0x38fa3b(0x312)](_0x3edf3e(([_0x29c70c,_0x511e0d])=>{const _0x4ef87f=_0x38fa3b;if(_0x29c70c===T[_0x4ef87f(0x1a4)]&&_0x511e0d){const _0x4851cc=_0x511e0d[_0x4ef87f(0x281)];return this['_versionDiffService'][_0x4ef87f(0x19d)][_0x4ef87f(0x312)](_0x21b23a(_0x4cf447=>{const _0x14f15a=_0x4ef87f,_0x10014f=new Map();return _0x4cf447[_0x14f15a(0x276)][_0x14f15a(0x27f)]((_0x3f71ed,_0x5482c4)=>{const _0x13da66=_0x14f15a,_0x3445b5=_0x3f71ed['filter'](_0x19de1c=>_0x19de1c[_0x13da66(0x1fb)]===_0x4851cc);_0x10014f[_0x13da66(0x18f)](_0x5482c4,_0x3445b5);}),{'skeleton':_0x511e0d,'diffs':_0x10014f};}));}return _0x59cabe({'skeleton':null,'diffs':new Map()});}))['subscribe'](({skeleton:_0x9e7ba3,diffs:_0x18f4a9})=>{const _0x9abc86=_0x38fa3b;this[_0x9abc86(0x2e6)](),_0x9e7ba3&&this[_0x9abc86(0x2f4)](_0x9e7ba3,_0x18f4a9);})),this[_0x38fa3b(0x2ac)](this[_0x38fa3b(0x25f)][_0x38fa3b(0x2fb)][_0x38fa3b(0x27c)](_0x36c53f=>{const _0x2d9782=_0x38fa3b;if(_0x36c53f==null)return;const {skeleton:_0x53e258}=_0x36c53f,{scene:_0x5f41f4}=this[_0x2d9782(0x1d2)];_0x5f41f4['onPointerMove$'][_0x2d9782(0x178)](_0x2ad767(_0xe1697d=>{const _0x4ae718=_0x2d9782;var _0x2b94f7,_0x4c5daa;const {offsetX:_0x2e7830,offsetY:_0x32b078}=_0xe1697d,{x:_0x45c627,y:_0x348214}=_0x5f41f4['getRelativeToViewportCoord'](_0x39f273['FromArray']([_0x2e7830,_0x32b078])),{scaleX:_0x46d6e7,scaleY:_0x34edbe}=_0x5f41f4[_0x4ae718(0x2b4)](),_0x2bd109=_0x5f41f4[_0x4ae718(0x23a)](_0x179211[_0x4ae718(0x29c)]),_0x3df457=_0x5f41f4[_0x4ae718(0x2a8)](_0x39f273[_0x4ae718(0x2ec)]([_0x45c627,_0x348214]),_0x2bd109),_0x411441=_0x53e258[_0x4ae718(0x30d)](_0x2e7830,_0x32b078,_0x46d6e7,_0x34edbe,_0x3df457);((_0x2b94f7=this[_0x4ae718(0x1ea)])==null?void 0x0:_0x2b94f7['column'])===_0x411441[_0x4ae718(0x216)]&&((_0x4c5daa=this[_0x4ae718(0x1ea)])==null?void 0x0:_0x4c5daa[_0x4ae718(0x1e2)])===_0x411441['row']||this[_0x4ae718(0x23e)]['forEach'](_0x46d2da=>{const _0x4726ea=_0x4ae718;_0x46d2da[_0x4726ea(0x1b3)](_0x411441);});},0x64));}));}[_0x5a93be(0x2e5)](){const _0x1b6a91=_0x5a93be;this[_0x1b6a91(0x2ac)](this[_0x1b6a91(0x2ce)]['loadingState$'][_0x1b6a91(0x27c)](_0xd3296a=>{const _0x4d37f5=_0x1b6a91,_0x46ff5c=new _0x462453();return _0xd3296a===T[_0x4d37f5(0x1a4)]&&(_0x46ff5c[_0x4d37f5(0x209)](),_0x46ff5c[_0x4d37f5(0x2fc)](this['_versionDiffService'][_0x4d37f5(0x19d)][_0x4d37f5(0x27c)](_0x3641ce=>{const _0x3c904b=_0x4d37f5;_0x3641ce[_0x3c904b(0x273)]&&this['_commandService'][_0x3c904b(0x315)](_0x5ba9c2['id'],{'unitId':this['_context']['unitId'],'subUnitId':_0x3641ce[_0x3c904b(0x273)]});}))),()=>_0x46ff5c['dispose']();}));}[_0x5a93be(0x2f4)](_0x3a3b76,_0x37a26c){const _0x58390c=_0x5a93be;var _0x361a5e;const _0x1edd8b=(_0x361a5e=this['_sheetSkeletonManagerService'][_0x58390c(0x2da)]())==null?void 0x0:_0x361a5e['skeleton'];if(!_0x1edd8b)return;this[_0x58390c(0x23e)]['forEach'](_0x3731ca=>{const _0x24d51b=_0x58390c;_0x3731ca[_0x24d51b(0x207)]();});const {scene:_0xba2277}=this['_context'],_0x51b010=Array[_0x58390c(0x292)](_0x37a26c[_0x58390c(0x231)]())['map'](_0x4ba4da=>_0x37a26c[_0x58390c(0x2a4)](_0x4ba4da)[_0x58390c(0x2b2)](_0x505590=>{const _0x493691=_0x58390c;var _0x4c3a83;const {range:_0x30a035,subUnitId:_0x9ea3b7,unitId:_0x5f8c68}=_0x505590,{startColumn:_0x5b85f8,startRow:_0x3b94b9,endColumn:_0x11426d,endRow:_0x448951}=_0x30a035,_0x25cc71=_0x38477d(_0x3b94b9,_0x5b85f8,_0xba2277,_0x1edd8b),_0x424924=_0x38477d(_0x448951,_0x11426d,_0xba2277,_0x1edd8b),{columnHeaderHeightAndMarginTop:_0x495bea}=_0x1edd8b,{startX:_0x129c9c,startY:_0x3d4dc4}=_0x25cc71,{endX:_0x31a776,endY:_0x22423c}=_0x424924,_0x3561a8=_0x31a776-_0x129c9c,_0x28e3f6=_0x22423c-_0x3d4dc4,_0x505070={'labelPosition':_0x3d4dc4-_0x495bea>=0x14?'top':_0x493691(0x18c),'sheetID':_0x9ea3b7,'range':_0x30a035,'color':_0x493691(0x193),'fillAfterStrokeEnabled':!0x0,'backgroundColor':'rgba(58,\x2096,\x20247,\x200.20)','name':((_0x4c3a83=this[_0x493691(0x2ce)][_0x493691(0x2d1)](_0x4ba4da))==null?void 0x0:_0x4c3a83[_0x493691(0x284)])||'','selection':_0x5f8c68+'-'+_0x9ea3b7+'-'+_0x30a035[_0x493691(0x1d3)]+'-'+_0x30a035['startRow']+'-'+_0x30a035[_0x493691(0x1eb)]+'-'+_0x30a035['endRow'],'left':_0x129c9c,'top':_0x3d4dc4,'width':_0x3561a8,'height':_0x28e3f6,'evented':!0x1,'zIndex':0x1};return new _0x46ba4a('',_0x505070);}))['flat']();_0xba2277[_0x58390c(0x2be)](_0x51b010,0x1),this[_0x58390c(0x23e)]=new Set(_0x51b010);}[_0x5a93be(0x2e6)](){const _0x35657f=_0x5a93be;var _0xf83af1;(_0xf83af1=this['_diffs'])==null||_0xf83af1[_0x35657f(0x27f)](_0x476634=>_0x476634[_0x35657f(0x209)]());}[_0x5a93be(0x316)](){const _0x482c24=_0x5a93be;return _0x4362ed(this[_0x482c24(0x1b8)],this['_renderManagerService']);}};te=ws([C(0x1,_0x4ed92a(E)),C(0x2,_0x4ed92a($)),C(0x3,_0x207a91),C(0x4,_0x590fdf),C(0x5,_0x4ed92a(_0x3ceff0)),C(0x6,_0x39c498)],te);function Ps(){const _0x52a0fb=_0x5a93be,_0x5f2466=_0x29733e(E),_0x37b61e=_0x4c9d85(_0x5f2466[_0x52a0fb(0x2d7)]),[_0x344628,_0x1b100e]=_0x36e04f(!0x1),_0xcd1a57=cs(_0x37b61e);return _0x37b61e?_0x4a569a(_0x52a0fb(0x1c1),{'className':_0x52a0fb(0x24c),'children':_0x119ce9(_0x52a0fb(0x1c1),{'className':_0x52a0fb(0x221),'children':[_0xcd1a57['map']((_0x840e72,_0x3ebbc2)=>_0x119ce9(_0x4e8a35,{'children':[_0x4a569a($s,{'date':_0x840e72[_0x52a0fb(0x204)]}),_0x840e72[_0x52a0fb(0x1dd)][_0x52a0fb(0x2b2)]((_0x544bb4,_0x10009d)=>_0x4a569a(Vs,{'index':[_0x3ebbc2,_0x10009d],'item':_0x544bb4},_0x3ebbc2+'-'+_0x10009d))]},_0x840e72[_0x52a0fb(0x204)])),_0x344628&&_0x4a569a(Ts,{})]})}):_0x4a569a(Ls,{});}function Ts(){const _0x4648d7=_0x5a93be;return _0x4a569a(_0x4648d7(0x1c1),{'className':_0x4648d7(0x2bc),'children':_0x4a569a(ae,{'className':_0x4648d7(0x28c)})});}function Ls(){const _0x570178=_0x5a93be;return _0x4a569a(_0x570178(0x1c1),{'className':'univer-flex\x20univer-items-center\x20univer-justify-center','children':_0x4a569a(_0x570178(0x31e),{'className':_0x570178(0x212),'children':_0x4a569a(ae,{'className':_0x570178(0x274)})})});}function $s(_0x5e0158){const _0x288049=_0x5a93be,_0x58ef87=_0x29733e(_0x1d19dc),{date:_0x4a0385}=_0x5e0158;return _0x4a569a(_0x288049(0x1c1),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','children':ee(_0x4a0385,_0x58ef87[_0x288049(0x313)]())});}function Vs(_0x4d0a8a){const _0xb6acf4=_0x5a93be,{item:_0x4dbc59,index:_0x18864c}=_0x4d0a8a,{time:_0x805bb6,user:_0xfe9051}=_0x4dbc59,[_0x44e045,_0x4c3012]=_0x18864c,_0x10aaaa=_0x29733e(E),_0x56f0a7=_0x4c9d85(_0x10aaaa[_0xb6acf4(0x2ab)],'',!0x0)===_0x4dbc59['id'],_0x1daa61=_0x44e045===0x0&&_0x4c3012===0x0,_0x35f1e1=!_0x1daa61&&_0x10aaaa[_0xb6acf4(0x2b7)],_0x511b1b=_0x29733e(_0x1d19dc),_0x44b938=_0x511b1b[_0xb6acf4(0x313)](),_0x69bfe9=re(_0x805bb6,_0x44b938),_0x408376=_0x511b1b['t'](_0xb6acf4(0x29d)),_0x59ede7=_0x1d38fb(_0x2c87dd=>{const _0x2bf335=_0xb6acf4;_0x10aaaa['loadingState']!==T['Loading']&&(_0x10aaaa[_0x2bf335(0x25a)]=_0x2c87dd);},[_0x10aaaa]),_0x36b85d=_0x1d38fb(_0x1ead2b=>{const _0x46bc2b=_0xb6acf4;_0x10aaaa[_0x46bc2b(0x1ca)](_0x1ead2b);},[_0x10aaaa]);return _0x119ce9(_0xb6acf4(0x1c1),{'className':_0x5654c3('univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-flex-col\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-px-4\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800',{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x56f0a7}),'onClick':()=>_0x59ede7(_0x4dbc59['id']),'children':[_0x119ce9(_0xb6acf4(0x1c1),{'className':_0xb6acf4(0x1ad),'children':[_0x119ce9(_0xb6acf4(0x1c1),{'className':_0xb6acf4(0x2db),'children':[_0x4a569a(_0xb6acf4(0x31e),{'children':_0x69bfe9[_0xb6acf4(0x252)]}),_0x1daa61&&_0x4a569a(_0xb6acf4(0x31e),{'className':_0xb6acf4(0x1a1),'children':_0x408376})]}),_0x4a569a(_0xb6acf4(0x1c1),{'children':_0x35f1e1&&_0x4a569a(_0x4196f6,{'title':_0x511b1b['t'](_0xb6acf4(0x1aa)),'children':_0x4a569a(_0xb6acf4(0x1c1),{'onClick':_0x936697=>{_0x936697['stopPropagation'](),_0x36b85d(_0x4dbc59['id']);},'className':_0xb6acf4(0x308),'children':_0x4a569a(Le,{})})})})]}),_0x4a569a('div',{'className':_0xb6acf4(0x30e),'children':as(_0x4dbc59,_0x511b1b)})]});}var ks=Object['getOwnPropertyDescriptor'],Us=(_0x3b3012,_0x58377d,_0x6eeb4a,_0x4fe679)=>{const _0x1e101b=_0x5a93be;for(var _0x3895c4=_0x4fe679>0x1?void 0x0:_0x4fe679?ks(_0x58377d,_0x6eeb4a):_0x58377d,_0xf073e8=_0x3b3012[_0x1e101b(0x192)]-0x1,_0x5b987f;_0xf073e8>=0x0;_0xf073e8--)(_0x5b987f=_0x3b3012[_0xf073e8])&&(_0x3895c4=_0x5b987f(_0x3895c4)||_0x3895c4);return _0x3895c4;},k=(_0x563c7a,_0x455e7d)=>(_0x4f2a60,_0x2288d7)=>_0x455e7d(_0x4f2a60,_0x2288d7,_0x563c7a);const de=_0x5a93be(0x2f6);let j=class extends _0x1e4563{constructor(_0x584997,_0x3c3e24,_0x4b2f74,_0x4f7cc2){const _0x3b5746=_0x5a93be;super(),l(this,_0x3b5746(0x1b7),null),(this[_0x3b5746(0x1f8)]=_0x584997,this['_componentManager']=_0x3c3e24,this[_0x3b5746(0x208)]=_0x4b2f74,this['_historyManagerService']=_0x4f7cc2,this[_0x3b5746(0x259)]());}[_0x5a93be(0x259)](){this['_initPanel'](),this['_openPanel']();}['_openPanel'](){const _0x2ac320=_0x5a93be;if(this[_0x2ac320(0x1b7)])return;const _0x300e63={'header':{'title':this[_0x2ac320(0x208)]['t'](_0x2ac320(0x205))},'children':{'label':de},'onClose':()=>{const _0x5047d9=_0x2ac320;this['_sidebarDisposable']=null,this[_0x5047d9(0x2ce)][_0x5047d9(0x296)]=ne['Exited'];}};this[_0x2ac320(0x1b7)]=this[_0x2ac320(0x1f8)]['open']({..._0x300e63});}[_0x5a93be(0x1a0)](){const _0x5d208d=_0x5a93be;this['disposeWithMe'](this[_0x5d208d(0x1bb)][_0x5d208d(0x246)](de,Ps)),this[_0x5d208d(0x2ac)](this['_sidebarService'][_0x5d208d(0x1cc)][_0x5d208d(0x312)](_0x538fa4(0x64))['subscribe'](_0x51e907=>{const _0x5f4268=_0x5d208d,{target:_0xedf028}=_0x51e907||{};if(_0xedf028){const {scrollTop:_0x504bc5,scrollHeight:_0x3093d4,clientHeight:_0x367fe3}=_0xedf028;_0x504bc5+_0x367fe3>=_0x3093d4-0x5&&this[_0x5f4268(0x2ce)][_0x5f4268(0x1bf)]();}}));}};j=Us([k(0x0,_0x272e7a),k(0x1,_0x4ed92a(_0x15f2d4)),k(0x2,_0x4ed92a(_0x1d19dc)),k(0x3,_0x4ed92a(E))],j);class xs extends _0x1e4563{constructor(){const _0x560922=_0x5a93be;super(),l(this,_0x560922(0x1ba),new _0x2dc34b());}[_0x5a93be(0x189)](){return _0x34e051(()=>{});}[_0x5a93be(0x202)](){}[_0x5a93be(0x2a0)](_0x57bb51){}['getDialogs$'](){const _0x3cfe20=_0x5a93be;return this[_0x3cfe20(0x1ba)][_0x3cfe20(0x225)]();}}var Hs=Object[_0x5a93be(0x264)],Fs=Object['getOwnPropertyDescriptor'],Ys=(_0x205119,_0x2c75e2,_0x9fe6a5)=>_0x2c75e2 in _0x205119?Hs(_0x205119,_0x2c75e2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x9fe6a5}):_0x205119[_0x2c75e2]=_0x9fe6a5,Bs=(_0x4b91f9,_0x2de64f,_0xaa0877,_0x35734e)=>{const _0x554c96=_0x5a93be;for(var _0x1b9256=_0x35734e>0x1?void 0x0:_0x35734e?Fs(_0x2de64f,_0xaa0877):_0x2de64f,_0x2189b3=_0x4b91f9[_0x554c96(0x192)]-0x1,_0x46cf58;_0x2189b3>=0x0;_0x2189b3--)(_0x46cf58=_0x4b91f9[_0x2189b3])&&(_0x1b9256=_0x46cf58(_0x1b9256)||_0x1b9256);return _0x1b9256;},J=(_0x5782b6,_0x3efa94)=>(_0x2042a7,_0x54a7ea)=>_0x3efa94(_0x2042a7,_0x54a7ea,_0x5782b6),js=(_0x5c7a0c,_0x2b68a4,_0x533686)=>Ys(_0x5c7a0c,_0x2b68a4+'',_0x533686);const As=_0x5a93be(0x171);let se=class extends _0x3fa1ba{constructor(_0x3f9be0=_e,_0x30b509,_0x576f85,_0x1f1d75){const _0x41450a=_0x5a93be;super(),this[_0x41450a(0x233)]=_0x3f9be0,this[_0x41450a(0x2d2)]=_0x30b509,this['_renderManagerService']=_0x576f85,this[_0x41450a(0x277)]=_0x1f1d75;const {..._0x21e813}=_0x680b45({},_e,this['_config']);this[_0x41450a(0x277)][_0x41450a(0x1ac)](we,_0x21e813);}[_0x5a93be(0x2a9)](){const _0x19a0d3=_0x5a93be;[[E],[B],[$],[Y],[j],[H],[_0x349e65,{'useClass':_0x519c13}],[_0x2cbdb4,{'useClass':xs}],[_0x5e9913,{'useClass':_0x44da1f}]][_0x19a0d3(0x27f)](_0x1ed8c4=>this[_0x19a0d3(0x2d2)][_0x19a0d3(0x2fc)](_0x1ed8c4)),this['_injector'][_0x19a0d3(0x2a4)](B);}['onRendered'](){const _0x382294=_0x5a93be;[[te]][_0x382294(0x27f)](_0x15898b=>{const _0x3ac9df=_0x382294;this[_0x3ac9df(0x2ac)](this[_0x3ac9df(0x24b)][_0x3ac9df(0x2eb)](_0x1ad7d0[_0x3ac9df(0x2fe)],_0x15898b));}),this['_injector'][_0x382294(0x2a4)](H),this[_0x382294(0x2d2)]['get'](j);}[_0x5a93be(0x254)](){const _0x3dfd7f=_0x5a93be;this[_0x3dfd7f(0x2d2)][_0x3dfd7f(0x2a4)]($);}};js(se,'pluginName',As),se=Bs([_0x3047d3(_0x36013d,_0x24e675),J(0x1,_0x4ed92a(_0x391434)),J(0x2,_0x590fdf),J(0x3,_0x1b9e1e)],se);export{E as HistoryManagerService,ne as HistoryModeStatus,se as UniverEditHistoryViewerPlugin};
@@ -1 +1 @@
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};
1
+ const _0x2db11f=_0x4c07;function _0x4c07(_0x770621,_0x3707ee){const _0x520159=_0x5201();return _0x4c07=function(_0x4c070c,_0x1de217){_0x4c070c=_0x4c070c-0xaa;let _0x199b51=_0x520159[_0x4c070c];return _0x199b51;},_0x4c07(_0x770621,_0x3707ee);}function _0x5201(){const _0x3637f9=['Edit\x20History','110169lsoiaI','set\x20filter','50044pHqRcY','480zXDvRO','1738455HFSQzX','386813OZTarR','set\x20data\x20validation','reverted\x20workbook','Cancel','Reverting,\x20please\x20wait...','4294848UGEZGp','124142MiPhrL','add\x20sparkline','Restore\x20this\x20version','9095306BElhAa','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','set\x20frozen','delete\x20protection','add\x20conditional\x20formatting','1BgGgDr','Current\x20Version',',\x20etc.','Back','Restore\x20this\x20version?','edited\x20worksheet','Failed\x20to\x20get\x20edit\x20history\x20list','inserted\x20worksheet','63CwpXld','12DRLKtL','Reverted\x20from','Confirm','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','deleted\x20worksheet','set\x20conditional\x20formatting'];_0x5201=function(){return _0x3637f9;};return _0x5201();}(function(_0xe0ae05,_0x19b342){const _0x5e5381=_0x4c07,_0x22c85a=_0xe0ae05();while(!![]){try{const _0x54b071=parseInt(_0x5e5381(0xb0))/0x1*(-parseInt(_0x5e5381(0xcb))/0x2)+-parseInt(_0x5e5381(0xb8))/0x3*(-parseInt(_0x5e5381(0xc2))/0x4)+parseInt(_0x5e5381(0xc4))/0x5+-parseInt(_0x5e5381(0xb9))/0x6*(-parseInt(_0x5e5381(0xc5))/0x7)+-parseInt(_0x5e5381(0xca))/0x8+-parseInt(_0x5e5381(0xc0))/0x9*(parseInt(_0x5e5381(0xc3))/0xa)+parseInt(_0x5e5381(0xab))/0xb;if(_0x54b071===_0x19b342)break;else _0x22c85a['push'](_0x22c85a['shift']());}catch(_0xf5507){_0x22c85a['push'](_0x22c85a['shift']());}}}(_0x5201,0x5834b));const e={'editHistory':{'panel':{'title':_0x2db11f(0xbf),'unknownUser':'Unknown\x20User','listFetchError':_0x2db11f(0xb6),'revertConfirm':_0x2db11f(0xb4),'revertConfirmText':_0x2db11f(0xac),'cancel':_0x2db11f(0xc8),'confirm':_0x2db11f(0xbb),'reverting':_0x2db11f(0xc9),'revertFailed':_0x2db11f(0xbc),'currentVersion':_0x2db11f(0xb1),'currentUser':'Current\x20User','revertDesc':'Restore\x20this\x20version'},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':_0x2db11f(0xb3),'revert':_0x2db11f(0xaa)},'action':{'insertSheet':_0x2db11f(0xb7),'removeSheet':_0x2db11f(0xbd),'createSheet':'created\x20workbook','setFilter':_0x2db11f(0xc1),'setFrozen':_0x2db11f(0xad),'editSheet':_0x2db11f(0xb5),'revertSheet':_0x2db11f(0xc7),'revertSheetPrefix':_0x2db11f(0xba),'revertSheetSuffix':'','setDV':_0x2db11f(0xc6),'setCF':_0x2db11f(0xbe),'addCF':_0x2db11f(0xaf),'addProtection':'add\x20protection','addSparkline':_0x2db11f(0xcc),'deleteProtection':_0x2db11f(0xae),'etc':_0x2db11f(0xb2)}}},t=e;export{t as default};