@univerjs-pro/edit-history-viewer 0.10.9 → 0.10.10

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 _0x5c1aa2=_0x1a4b;(function(_0x2b1b2e,_0x191747){const _0x72b9d=_0x1a4b,_0x7983b4=_0x2b1b2e();while(!![]){try{const _0x46ecc1=parseInt(_0x72b9d(0x19f))/0x1*(parseInt(_0x72b9d(0x1a6))/0x2)+-parseInt(_0x72b9d(0x1b1))/0x3+parseInt(_0x72b9d(0x19c))/0x4*(-parseInt(_0x72b9d(0x199))/0x5)+-parseInt(_0x72b9d(0x1b2))/0x6*(-parseInt(_0x72b9d(0x1a3))/0x7)+parseInt(_0x72b9d(0x1b5))/0x8+parseInt(_0x72b9d(0x1a2))/0x9+parseInt(_0x72b9d(0x1b6))/0xa*(-parseInt(_0x72b9d(0x1a1))/0xb);if(_0x46ecc1===_0x191747)break;else _0x7983b4['push'](_0x7983b4['shift']());}catch(_0x2ee062){_0x7983b4['push'](_0x7983b4['shift']());}}}(_0x350b,0xc7965));function _0x350b(){const _0x5c2a90=['exports',',\x20etc.','set\x20data\x20validation','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Current\x20Version','Current\x20User','Failed\x20to\x20get\x20edit\x20history\x20list','Restore\x20this\x20version?','2508447LwWahz','1890666dajFtf','created\x20workbook','edited\x20worksheet','1036072kYexmi','650dRgcTO','add\x20protection','add\x20conditional\x20formatting','Edit\x20History','7495zqhvrx','inserted\x20worksheet','deleted\x20worksheet','824KWKntS','Unknown\x20User','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','1ESTGkB','loading,\x20please\x20wait...','182138WKbdcv','11099808dUsfPt','35AKfwGt','set\x20filter','Reverted\x20from','200692OojfVQ','Confirm','Restore\x20this\x20version'];_0x350b=function(){return _0x5c2a90;};return _0x350b();}function _0x1a4b(_0xa89934,_0x11c3e2){const _0x350bb7=_0x350b();return _0x1a4b=function(_0x1a4b38,_0x5387f4){_0x1a4b38=_0x1a4b38-0x197;let _0x5ba162=_0x350bb7[_0x1a4b38];return _0x5ba162;},_0x1a4b(_0xa89934,_0x11c3e2);}const e={'editHistory':{'panel':{'title':_0x5c1aa2(0x198),'unknownUser':_0x5c1aa2(0x19d),'listFetchError':_0x5c1aa2(0x1af),'revertConfirm':_0x5c1aa2(0x1b0),'revertConfirmText':_0x5c1aa2(0x19e),'cancel':'Cancel','confirm':_0x5c1aa2(0x1a7),'reverting':'Reverting,\x20please\x20wait...','revertFailed':_0x5c1aa2(0x1ac),'currentVersion':_0x5c1aa2(0x1ad),'currentUser':_0x5c1aa2(0x1ae),'revertDesc':_0x5c1aa2(0x1a8)},'info':{'loading':_0x5c1aa2(0x1a0)},'header':{'back':'Back','revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0x5c1aa2(0x19a),'removeSheet':_0x5c1aa2(0x19b),'createSheet':_0x5c1aa2(0x1b3),'setFilter':_0x5c1aa2(0x1a4),'setFrozen':'set\x20frozen','editSheet':_0x5c1aa2(0x1b4),'revertSheet':'reverted\x20workbook','revertSheetPrefix':_0x5c1aa2(0x1a5),'revertSheetSuffix':'','setDV':_0x5c1aa2(0x1ab),'setCF':'set\x20conditional\x20formatting','addCF':_0x5c1aa2(0x197),'addProtection':_0x5c1aa2(0x1b7),'addSparkline':'add\x20sparkline','deleteProtection':'delete\x20protection','etc':_0x5c1aa2(0x1aa)}}},t=e;module[_0x5c1aa2(0x1a9)]=t;
1
+ 'use strict';function _0x8635(_0x29d659,_0x13f0c0){const _0x36d978=_0x36d9();return _0x8635=function(_0x8635c1,_0x5a1740){_0x8635c1=_0x8635c1-0x1d2;let _0x3137ba=_0x36d978[_0x8635c1];return _0x3137ba;},_0x8635(_0x29d659,_0x13f0c0);}const _0x3317a5=_0x8635;(function(_0x4eb514,_0x5554f5){const _0x42fc54=_0x8635,_0x2316a2=_0x4eb514();while(!![]){try{const _0x635986=-parseInt(_0x42fc54(0x1d8))/0x1*(parseInt(_0x42fc54(0x1ed))/0x2)+parseInt(_0x42fc54(0x1e3))/0x3+parseInt(_0x42fc54(0x1e7))/0x4*(-parseInt(_0x42fc54(0x1d6))/0x5)+parseInt(_0x42fc54(0x1f3))/0x6*(-parseInt(_0x42fc54(0x1da))/0x7)+parseInt(_0x42fc54(0x1d5))/0x8*(-parseInt(_0x42fc54(0x1ec))/0x9)+-parseInt(_0x42fc54(0x1f1))/0xa+-parseInt(_0x42fc54(0x1e5))/0xb*(-parseInt(_0x42fc54(0x1e0))/0xc);if(_0x635986===_0x5554f5)break;else _0x2316a2['push'](_0x2316a2['shift']());}catch(_0x5b3a41){_0x2316a2['push'](_0x2316a2['shift']());}}}(_0x36d9,0xc5ec4));function _0x36d9(){const _0x4f90e8=['120ovMOKW','9855FqwCCU','Current\x20User','1BNiyQd','edited\x20worksheet','602xSPyFc','Reverting,\x20please\x20wait...','deleted\x20worksheet','add\x20conditional\x20formatting','Back','exports','1737888oBKZSg','add\x20protection','loading,\x20please\x20wait...','1354416eWvezL','Restore\x20this\x20version','418sjjpui','Unknown\x20User','712FTHKsT','add\x20sparkline','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Reverted\x20from','set\x20conditional\x20formatting','431523KDYfnd','2938398RshKoU','set\x20data\x20validation','Edit\x20History','created\x20workbook','14651780lFUYnn','delete\x20protection','79512jYtfYa','Current\x20Version','set\x20filter','set\x20frozen','Restore\x20this\x20version?'];_0x36d9=function(){return _0x4f90e8;};return _0x36d9();}const e={'editHistory':{'panel':{'title':_0x3317a5(0x1ef),'unknownUser':_0x3317a5(0x1e6),'listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list','revertConfirm':_0x3317a5(0x1d4),'revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':'Cancel','confirm':'Confirm','reverting':_0x3317a5(0x1db),'revertFailed':_0x3317a5(0x1e9),'currentVersion':_0x3317a5(0x1f4),'currentUser':_0x3317a5(0x1d7),'revertDesc':_0x3317a5(0x1e4)},'info':{'loading':_0x3317a5(0x1e2)},'header':{'back':_0x3317a5(0x1de),'revert':_0x3317a5(0x1e4)},'action':{'insertSheet':'inserted\x20worksheet','removeSheet':_0x3317a5(0x1dc),'createSheet':_0x3317a5(0x1f0),'setFilter':_0x3317a5(0x1d2),'setFrozen':_0x3317a5(0x1d3),'editSheet':_0x3317a5(0x1d9),'revertSheet':'reverted\x20workbook','revertSheetPrefix':_0x3317a5(0x1ea),'revertSheetSuffix':'','setDV':_0x3317a5(0x1ee),'setCF':_0x3317a5(0x1eb),'addCF':_0x3317a5(0x1dd),'addProtection':_0x3317a5(0x1e1),'addSparkline':_0x3317a5(0x1e8),'deleteProtection':_0x3317a5(0x1f2),'etc':',\x20etc.'}}},t=e;module[_0x3317a5(0x1df)]=t;
@@ -1 +1 @@
1
- 'use strict';const _0x39ec91=_0x4572;function _0x5067(){const _0x45badc=['2757050HZvJEu','created\x20workbook','301256jbAKLZ','set\x20filter','Reverting,\x20please\x20wait...','Restore\x20this\x20version?','add\x20protection','575079VLfoAq','inserted\x20worksheet','16MqPmtN','add\x20conditional\x20formatting','1QVomYQ','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','set\x20frozen','27688160JsUUfY','Reverted\x20from',',\x20etc.','953314wIuhkn','Current\x20User','add\x20sparkline','set\x20data\x20validation','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','Restore\x20this\x20version','edited\x20worksheet','5620419eZLIEF','set\x20conditional\x20formatting','91zcOULM','reverted\x20workbook','Back','loading,\x20please\x20wait...','delete\x20protection','Cancel','Current\x20Version','341574FLpBeC'];_0x5067=function(){return _0x45badc;};return _0x5067();}(function(_0x294c9f,_0x3f5e27){const _0x341817=_0x4572,_0xef5b0d=_0x294c9f();while(!![]){try{const _0x3d6235=parseInt(_0x341817(0x117))/0x1*(parseInt(_0x341817(0x11d))/0x2)+parseInt(_0x341817(0x113))/0x3*(-parseInt(_0x341817(0x115))/0x4)+-parseInt(_0x341817(0x10c))/0x5+parseInt(_0x341817(0x10b))/0x6*(-parseInt(_0x341817(0x104))/0x7)+-parseInt(_0x341817(0x10e))/0x8+-parseInt(_0x341817(0x124))/0x9+parseInt(_0x341817(0x11a))/0xa;if(_0x3d6235===_0x3f5e27)break;else _0xef5b0d['push'](_0xef5b0d['shift']());}catch(_0x1273e0){_0xef5b0d['push'](_0xef5b0d['shift']());}}}(_0x5067,0x8030a));function _0x4572(_0x1d2353,_0x54769b){const _0x506720=_0x5067();return _0x4572=function(_0x45721d,_0x2cace2){_0x45721d=_0x45721d-0x103;let _0x3c0b1f=_0x506720[_0x45721d];return _0x3c0b1f;},_0x4572(_0x1d2353,_0x54769b);}const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':'Unknown\x20User','listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list','revertConfirm':_0x39ec91(0x111),'revertConfirmText':_0x39ec91(0x121),'cancel':_0x39ec91(0x109),'confirm':'Confirm','reverting':_0x39ec91(0x110),'revertFailed':_0x39ec91(0x118),'currentVersion':_0x39ec91(0x10a),'currentUser':_0x39ec91(0x11e),'revertDesc':_0x39ec91(0x122)},'info':{'loading':_0x39ec91(0x107)},'header':{'back':_0x39ec91(0x106),'revert':_0x39ec91(0x122)},'action':{'insertSheet':_0x39ec91(0x114),'removeSheet':'deleted\x20worksheet','createSheet':_0x39ec91(0x10d),'setFilter':_0x39ec91(0x10f),'setFrozen':_0x39ec91(0x119),'editSheet':_0x39ec91(0x123),'revertSheet':_0x39ec91(0x105),'revertSheetPrefix':_0x39ec91(0x11b),'revertSheetSuffix':'','setDV':_0x39ec91(0x120),'setCF':_0x39ec91(0x103),'addCF':_0x39ec91(0x116),'addProtection':_0x39ec91(0x112),'addSparkline':_0x39ec91(0x11f),'deleteProtection':_0x39ec91(0x108),'etc':_0x39ec91(0x11c)}}},t=e;module['exports']=t;
1
+ 'use strict';const _0x1ed731=_0x506c;(function(_0x491929,_0x3824f0){const _0x6d6097=_0x506c,_0x1ede53=_0x491929();while(!![]){try{const _0x497e1f=parseInt(_0x6d6097(0x206))/0x1+parseInt(_0x6d6097(0x1f9))/0x2*(parseInt(_0x6d6097(0x208))/0x3)+parseInt(_0x6d6097(0x1ef))/0x4+parseInt(_0x6d6097(0x1f8))/0x5*(-parseInt(_0x6d6097(0x1fe))/0x6)+parseInt(_0x6d6097(0x1f6))/0x7*(parseInt(_0x6d6097(0x1f2))/0x8)+parseInt(_0x6d6097(0x203))/0x9*(parseInt(_0x6d6097(0x207))/0xa)+-parseInt(_0x6d6097(0x1f1))/0xb;if(_0x497e1f===_0x3824f0)break;else _0x1ede53['push'](_0x1ede53['shift']());}catch(_0x471f4b){_0x1ede53['push'](_0x1ede53['shift']());}}}(_0x315c,0x58dcf));function _0x315c(){const _0x4599db=['Restore\x20this\x20version','add\x20conditional\x20formatting','1359WdsTFb','Failed\x20to\x20get\x20edit\x20history\x20list','set\x20filter','59058LlQERP','33190Fkjece','1299QTHZsj','inserted\x20worksheet','set\x20frozen','Current\x20User','created\x20workbook','set\x20data\x20validation','1315336yetMrO','edited\x20worksheet','8659013iRQPSS','232TgrTZT','Cancel','exports','Unknown\x20User','103418wGWTCf',',\x20etc.','503990RAKmRl','1094NaJiiu','reverted\x20workbook','Reverting,\x20please\x20wait...','Current\x20Version','Confirm','24YdCost','Back','Edit\x20History'];_0x315c=function(){return _0x4599db;};return _0x315c();}const e={'editHistory':{'panel':{'title':_0x1ed731(0x200),'unknownUser':_0x1ed731(0x1f5),'listFetchError':_0x1ed731(0x204),'revertConfirm':'Restore\x20this\x20version?','revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':_0x1ed731(0x1f3),'confirm':_0x1ed731(0x1fd),'reverting':_0x1ed731(0x1fb),'revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':_0x1ed731(0x1fc),'currentUser':_0x1ed731(0x1ec),'revertDesc':_0x1ed731(0x201)},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':_0x1ed731(0x1ff),'revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0x1ed731(0x1ea),'removeSheet':'deleted\x20worksheet','createSheet':_0x1ed731(0x1ed),'setFilter':_0x1ed731(0x205),'setFrozen':_0x1ed731(0x1eb),'editSheet':_0x1ed731(0x1f0),'revertSheet':_0x1ed731(0x1fa),'revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':_0x1ed731(0x1ee),'setCF':'set\x20conditional\x20formatting','addCF':_0x1ed731(0x202),'addProtection':'add\x20protection','addSparkline':'add\x20sparkline','deleteProtection':'delete\x20protection','etc':_0x1ed731(0x1f7)}}},t=e;function _0x506c(_0x55c21a,_0x45768e){const _0x315ccb=_0x315c();return _0x506c=function(_0x506c0a,_0x59949e){_0x506c0a=_0x506c0a-0x1ea;let _0x34a74b=_0x315ccb[_0x506c0a];return _0x34a74b;},_0x506c(_0x55c21a,_0x45768e);}module[_0x1ed731(0x1f4)]=t;
@@ -1 +1 @@
1
- 'use strict';function _0x2455(_0x46265f,_0x2f4900){const _0x2535a4=_0x2535();return _0x2455=function(_0x24555e,_0x4cdb5c){_0x24555e=_0x24555e-0x94;let _0x47098b=_0x2535a4[_0x24555e];return _0x47098b;},_0x2455(_0x46265f,_0x2f4900);}const _0x2df8ff=_0x2455;function _0x2535(){const _0x5dcd5d=['48fusmyM','3427210WXWQfb','set\x20filter','set\x20frozen','Unknown\x20User','Failed\x20to\x20get\x20edit\x20history\x20list','Reverting,\x20please\x20wait...','Reverted\x20from','Current\x20User','22669TCYKbM','3617952PUGlUI','set\x20conditional\x20formatting','9378099OYRrdw','reverted\x20workbook','6489uBGbYT','add\x20sparkline','created\x20workbook','5448oYMgMv','exports','1515928DPXGgu','add\x20protection','Restore\x20this\x20version','Edit\x20History','edited\x20worksheet','977172ApedqI','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','Cancel','loading,\x20please\x20wait...','deleted\x20worksheet','Back','set\x20data\x20validation','Restore\x20this\x20version?','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Confirm'];_0x2535=function(){return _0x5dcd5d;};return _0x2535();}(function(_0x2d9831,_0x4a83eb){const _0x3ba2f0=_0x2455,_0x347012=_0x2d9831();while(!![]){try{const _0x9f6475=parseInt(_0x3ba2f0(0x9a))/0x1*(parseInt(_0x3ba2f0(0xb3))/0x2)+parseInt(_0x3ba2f0(0xa9))/0x3+parseInt(_0x3ba2f0(0xa4))/0x4+-parseInt(_0x3ba2f0(0xb4))/0x5+-parseInt(_0x3ba2f0(0x9b))/0x6+parseInt(_0x3ba2f0(0x9f))/0x7*(-parseInt(_0x3ba2f0(0xa2))/0x8)+parseInt(_0x3ba2f0(0x9d))/0x9;if(_0x9f6475===_0x4a83eb)break;else _0x347012['push'](_0x347012['shift']());}catch(_0x3a2909){_0x347012['push'](_0x347012['shift']());}}}(_0x2535,0x5a96c));const e={'editHistory':{'panel':{'title':_0x2df8ff(0xa7),'unknownUser':_0x2df8ff(0x95),'listFetchError':_0x2df8ff(0x96),'revertConfirm':_0x2df8ff(0xb0),'revertConfirmText':_0x2df8ff(0xaa),'cancel':_0x2df8ff(0xab),'confirm':_0x2df8ff(0xb2),'reverting':_0x2df8ff(0x97),'revertFailed':_0x2df8ff(0xb1),'currentVersion':'Current\x20Version','currentUser':_0x2df8ff(0x99),'revertDesc':_0x2df8ff(0xa6)},'info':{'loading':_0x2df8ff(0xac)},'header':{'back':_0x2df8ff(0xae),'revert':'Restore\x20this\x20version'},'action':{'insertSheet':'inserted\x20worksheet','removeSheet':_0x2df8ff(0xad),'createSheet':_0x2df8ff(0xa1),'setFilter':_0x2df8ff(0xb5),'setFrozen':_0x2df8ff(0x94),'editSheet':_0x2df8ff(0xa8),'revertSheet':_0x2df8ff(0x9e),'revertSheetPrefix':_0x2df8ff(0x98),'revertSheetSuffix':'','setDV':_0x2df8ff(0xaf),'setCF':_0x2df8ff(0x9c),'addCF':'add\x20conditional\x20formatting','addProtection':_0x2df8ff(0xa5),'addSparkline':_0x2df8ff(0xa0),'deleteProtection':'delete\x20protection','etc':',\x20etc.'}}},t=e;module[_0x2df8ff(0xa3)]=t;
1
+ 'use strict';const _0x577b43=_0x4a13;(function(_0x2a560e,_0x589dd3){const _0x3b38e0=_0x4a13,_0x226d7d=_0x2a560e();while(!![]){try{const _0x193ecb=parseInt(_0x3b38e0(0x188))/0x1+-parseInt(_0x3b38e0(0x19e))/0x2+parseInt(_0x3b38e0(0x190))/0x3*(parseInt(_0x3b38e0(0x1a1))/0x4)+parseInt(_0x3b38e0(0x198))/0x5*(parseInt(_0x3b38e0(0x194))/0x6)+-parseInt(_0x3b38e0(0x191))/0x7+parseInt(_0x3b38e0(0x1a2))/0x8*(parseInt(_0x3b38e0(0x18c))/0x9)+parseInt(_0x3b38e0(0x1a4))/0xa;if(_0x193ecb===_0x589dd3)break;else _0x226d7d['push'](_0x226d7d['shift']());}catch(_0x14bb99){_0x226d7d['push'](_0x226d7d['shift']());}}}(_0x4b45,0xa88a3));const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':'Unknown\x20User','listFetchError':_0x577b43(0x18a),'revertConfirm':_0x577b43(0x193),'revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':_0x577b43(0x19c),'confirm':'Confirm','reverting':_0x577b43(0x1a5),'revertFailed':_0x577b43(0x18d),'currentVersion':_0x577b43(0x199),'currentUser':_0x577b43(0x18e),'revertDesc':_0x577b43(0x19f)},'info':{'loading':_0x577b43(0x18f)},'header':{'back':_0x577b43(0x1a3),'revert':_0x577b43(0x19f)},'action':{'insertSheet':_0x577b43(0x18b),'removeSheet':_0x577b43(0x19a),'createSheet':'created\x20workbook','setFilter':_0x577b43(0x19b),'setFrozen':'set\x20frozen','editSheet':'edited\x20worksheet','revertSheet':_0x577b43(0x1a0),'revertSheetPrefix':_0x577b43(0x195),'revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':_0x577b43(0x19d),'addCF':_0x577b43(0x196),'addProtection':_0x577b43(0x189),'addSparkline':'add\x20sparkline','deleteProtection':_0x577b43(0x192),'etc':',\x20etc.'}}},t=e;function _0x4b45(){const _0x5d9cf8=['8QuxbML','48POVkKK','Back','2157510mJJwCz','Reverting,\x20please\x20wait...','478641lQjoDK','add\x20protection','Failed\x20to\x20get\x20edit\x20history\x20list','inserted\x20worksheet','641799UoqiCN','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Current\x20User','loading,\x20please\x20wait...','1524819tRXyLN','3784872hiKwlQ','delete\x20protection','Restore\x20this\x20version?','5766uUoTfs','Reverted\x20from','add\x20conditional\x20formatting','exports','15aRPOOm','Current\x20Version','deleted\x20worksheet','set\x20filter','Cancel','set\x20conditional\x20formatting','1821304crmDMN','Restore\x20this\x20version','reverted\x20workbook'];_0x4b45=function(){return _0x5d9cf8;};return _0x4b45();}function _0x4a13(_0x1683d2,_0x3eb31a){const _0x4b45b3=_0x4b45();return _0x4a13=function(_0x4a137c,_0x598b65){_0x4a137c=_0x4a137c-0x188;let _0x30d180=_0x4b45b3[_0x4a137c];return _0x30d180;},_0x4a13(_0x1683d2,_0x3eb31a);}module[_0x577b43(0x197)]=t;
@@ -1 +1 @@
1
- 'use strict';function _0x24a8(_0x1db81b,_0x104acf){const _0x4b9150=_0x4b91();return _0x24a8=function(_0x24a885,_0x48ed89){_0x24a885=_0x24a885-0x80;let _0x23fda8=_0x4b9150[_0x24a885];return _0x23fda8;},_0x24a8(_0x1db81b,_0x104acf);}const _0x44840b=_0x24a8;(function(_0x42c00c,_0x260f34){const _0xd76323=_0x24a8,_0x5a932f=_0x42c00c();while(!![]){try{const _0x5e060b=-parseInt(_0xd76323(0x9e))/0x1+parseInt(_0xd76323(0x80))/0x2*(parseInt(_0xd76323(0x8d))/0x3)+parseInt(_0xd76323(0x91))/0x4*(parseInt(_0xd76323(0x98))/0x5)+-parseInt(_0xd76323(0x85))/0x6+-parseInt(_0xd76323(0x8f))/0x7+parseInt(_0xd76323(0x89))/0x8+-parseInt(_0xd76323(0x81))/0x9;if(_0x5e060b===_0x260f34)break;else _0x5a932f['push'](_0x5a932f['shift']());}catch(_0x331d05){_0x5a932f['push'](_0x5a932f['shift']());}}}(_0x4b91,0x5c9b9));const e={'editHistory':{'panel':{'title':'历史记录','unknownUser':_0x44840b(0x95),'listFetchError':_0x44840b(0x83),'revertConfirm':_0x44840b(0x9f),'revertConfirmText':_0x44840b(0x9c),'cancel':'取消','confirm':'确认','reverting':_0x44840b(0x84),'revertFailed':_0x44840b(0x9b),'currentVersion':_0x44840b(0x8c),'currentUser':_0x44840b(0x8a),'revertDesc':'还原到此版本'},'info':{'loading':'加载中,请稍等...'},'header':{'back':'返回','revert':_0x44840b(0x92)},'action':{'insertSheet':_0x44840b(0x97),'removeSheet':_0x44840b(0x94),'createSheet':_0x44840b(0x88),'setFilter':_0x44840b(0x9d),'setFrozen':_0x44840b(0x8b),'editSheet':'编辑了工作表','revertSheet':_0x44840b(0x96),'revertSheetPrefix':_0x44840b(0x87),'revertSheetSuffix':_0x44840b(0x9a),'setDV':_0x44840b(0x93),'setCF':'设置了条件格式','addCF':_0x44840b(0x8e),'addProtection':_0x44840b(0x99),'addSparkline':_0x44840b(0x86),'deleteProtection':_0x44840b(0x90),'etc':',等'}}};function _0x4b91(){const _0x3f3747=['2101782iybAvY','添加了迷你图','还原了','创建了工作表','1372088jYhSSJ','当前用户','冻结了工作表','当前版本','3lxkDIw','添加了条件格式','1023421pIWiti','移除了保护范围','8VUcWun','还原到此版本','设置了数据验证','删除了工作表','未知用户','还原了版本','插入了工作表','1670010yDuTXB','添加了保护范围','的版本','未知错误,请刷新页面查看还原结果','该文档将会被还原到选中版本','设置了筛选','34330hndWoY','还原到此版本?','229710Gfvpxm','397971kkiFwU','exports','获取编辑历史记录列表失败','正在还原,请稍等...'];_0x4b91=function(){return _0x3f3747;};return _0x4b91();}module[_0x44840b(0x82)]=e;
1
+ 'use strict';const _0x2539d7=_0x5793;(function(_0x2ac715,_0x27e860){const _0xaa1cc2=_0x5793,_0x55df11=_0x2ac715();while(!![]){try{const _0x38416e=parseInt(_0xaa1cc2(0x7e))/0x1+-parseInt(_0xaa1cc2(0x99))/0x2*(parseInt(_0xaa1cc2(0x86))/0x3)+parseInt(_0xaa1cc2(0x9b))/0x4+-parseInt(_0xaa1cc2(0x93))/0x5+-parseInt(_0xaa1cc2(0x8f))/0x6*(parseInt(_0xaa1cc2(0x81))/0x7)+parseInt(_0xaa1cc2(0x85))/0x8*(parseInt(_0xaa1cc2(0x91))/0x9)+-parseInt(_0xaa1cc2(0x84))/0xa*(-parseInt(_0xaa1cc2(0x7f))/0xb);if(_0x38416e===_0x27e860)break;else _0x55df11['push'](_0x55df11['shift']());}catch(_0x31a32c){_0x55df11['push'](_0x55df11['shift']());}}}(_0x5d10,0x776ad));function _0x5d10(){const _0x5ef4c9=['添加了条件格式','设置了数据验证','该文档将会被还原到选中版本','96596vvhILl','正在还原,请稍等...','2454080dbXIeY','删除了工作表','还原了版本','813305aGfwlg','319qrRCEt','还原到此版本?','756581AIgJNa','冻结了工作表','添加了迷你图','460310EpVmvq','472mZiGYC','48agcJOj','移除了保护范围','exports','未知用户','创建了工作表','获取编辑历史记录列表失败','当前版本','编辑了工作表','历史记录','36saJdAP','还原到此版本','603KOyUjW','未知错误,请刷新页面查看还原结果','4276390xjVQqC','添加了保护范围','的版本'];_0x5d10=function(){return _0x5ef4c9;};return _0x5d10();}const e={'editHistory':{'panel':{'title':_0x2539d7(0x8e),'unknownUser':_0x2539d7(0x89),'listFetchError':_0x2539d7(0x8b),'revertConfirm':_0x2539d7(0x80),'revertConfirmText':_0x2539d7(0x98),'cancel':'取消','confirm':'确认','reverting':_0x2539d7(0x9a),'revertFailed':_0x2539d7(0x92),'currentVersion':_0x2539d7(0x8c),'currentUser':'当前用户','revertDesc':_0x2539d7(0x90)},'info':{'loading':'加载中,请稍等...'},'header':{'back':'返回','revert':_0x2539d7(0x90)},'action':{'insertSheet':'插入了工作表','removeSheet':_0x2539d7(0x9c),'createSheet':_0x2539d7(0x8a),'setFilter':'设置了筛选','setFrozen':_0x2539d7(0x82),'editSheet':_0x2539d7(0x8d),'revertSheet':_0x2539d7(0x9d),'revertSheetPrefix':'还原了','revertSheetSuffix':_0x2539d7(0x95),'setDV':_0x2539d7(0x97),'setCF':'设置了条件格式','addCF':_0x2539d7(0x96),'addProtection':_0x2539d7(0x94),'addSparkline':_0x2539d7(0x83),'deleteProtection':_0x2539d7(0x87),'etc':',等'}}};function _0x5793(_0x4b9a1f,_0x198b63){const _0x5d1090=_0x5d10();return _0x5793=function(_0x579303,_0x11a6d0){_0x579303=_0x579303-0x7e;let _0x32f350=_0x5d1090[_0x579303];return _0x32f350;},_0x5793(_0x4b9a1f,_0x198b63);}module[_0x2539d7(0x88)]=e;
@@ -1 +1 @@
1
- 'use strict';const _0x429e59=_0x41a4;(function(_0x4bc20e,_0x1b93ec){const _0x70612f=_0x41a4,_0x286c5b=_0x4bc20e();while(!![]){try{const _0x163cea=parseInt(_0x70612f(0xae))/0x1+-parseInt(_0x70612f(0xba))/0x2+parseInt(_0x70612f(0xaf))/0x3*(parseInt(_0x70612f(0xbc))/0x4)+-parseInt(_0x70612f(0xad))/0x5*(-parseInt(_0x70612f(0xb6))/0x6)+-parseInt(_0x70612f(0xbb))/0x7+-parseInt(_0x70612f(0xbf))/0x8*(parseInt(_0x70612f(0xb9))/0x9)+parseInt(_0x70612f(0xca))/0xa;if(_0x163cea===_0x1b93ec)break;else _0x286c5b['push'](_0x286c5b['shift']());}catch(_0xe1c6f5){_0x286c5b['push'](_0x286c5b['shift']());}}}(_0x9852,0xc1bf2));function _0x41a4(_0x412abf,_0x2a2177){const _0x985270=_0x9852();return _0x41a4=function(_0x41a424,_0x9bce14){_0x41a424=_0x41a424-0xad;let _0x5df51a=_0x985270[_0x41a424];return _0x5df51a;},_0x41a4(_0x412abf,_0x2a2177);}const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':_0x429e59(0xb3),'listFetchError':_0x429e59(0xc5),'revertConfirm':_0x429e59(0xb0),'revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':'Cancel','confirm':_0x429e59(0xb2),'reverting':_0x429e59(0xcb),'revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':_0x429e59(0xc6),'currentUser':_0x429e59(0xc8),'revertDesc':'Restore\x20this\x20version'},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':_0x429e59(0xc3),'revert':_0x429e59(0xbd)},'action':{'insertSheet':_0x429e59(0xc9),'removeSheet':_0x429e59(0xb8),'createSheet':_0x429e59(0xc2),'setFilter':_0x429e59(0xb5),'setFrozen':_0x429e59(0xbe),'editSheet':'edited\x20worksheet','revertSheet':'reverted\x20workbook','revertSheetPrefix':_0x429e59(0xc4),'revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':'set\x20conditional\x20formatting','addCF':_0x429e59(0xb4),'addProtection':_0x429e59(0xc7),'addSparkline':_0x429e59(0xb1),'deleteProtection':_0x429e59(0xc0),'etc':_0x429e59(0xb7)}}},t=e;function _0x9852(){const _0x5a9fd6=['Restore\x20this\x20version?','add\x20sparkline','Confirm','Unknown\x20User','add\x20conditional\x20formatting','set\x20filter','186lHWcJz',',\x20etc.','deleted\x20worksheet','432mKmmEC','2940810hKxeKo','1379406DPpSeF','24NEzUUh','Restore\x20this\x20version','set\x20frozen','207472qbVMyb','delete\x20protection','exports','created\x20workbook','Back','Reverted\x20from','Failed\x20to\x20get\x20edit\x20history\x20list','Current\x20Version','add\x20protection','Current\x20User','inserted\x20worksheet','11610170HYGFcL','Reverting,\x20please\x20wait...','14425GKfNvE','1001527QvobuD','726951DbIAoS'];_0x9852=function(){return _0x5a9fd6;};return _0x9852();}module[_0x429e59(0xc1)]=t;
1
+ 'use strict';const _0x4e0deb=_0x5002;(function(_0x364c90,_0x3e4520){const _0x146b89=_0x5002,_0x26cb7b=_0x364c90();while(!![]){try{const _0x1c5cf6=parseInt(_0x146b89(0xe5))/0x1+-parseInt(_0x146b89(0xd8))/0x2*(-parseInt(_0x146b89(0xd7))/0x3)+-parseInt(_0x146b89(0xdc))/0x4*(parseInt(_0x146b89(0xea))/0x5)+-parseInt(_0x146b89(0xec))/0x6*(-parseInt(_0x146b89(0xe3))/0x7)+parseInt(_0x146b89(0xdd))/0x8+parseInt(_0x146b89(0xd2))/0x9+-parseInt(_0x146b89(0xd5))/0xa*(parseInt(_0x146b89(0xe4))/0xb);if(_0x1c5cf6===_0x3e4520)break;else _0x26cb7b['push'](_0x26cb7b['shift']());}catch(_0x2be8d6){_0x26cb7b['push'](_0x26cb7b['shift']());}}}(_0x4779,0x52f72));function _0x4779(){const _0x46999c=['Restore\x20this\x20version','Unknown\x20User','304icKHLw','1014120bnyexD','Reverted\x20from','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','Back','loading,\x20please\x20wait...','inserted\x20worksheet','707RUrvEO','7227dTGrZB','667951Olpywz','set\x20data\x20validation','delete\x20protection','deleted\x20worksheet','edited\x20worksheet','18565ovpBbl','Edit\x20History','16548QdNfrE','add\x20conditional\x20formatting','Confirm','Restore\x20this\x20version?',',\x20etc.','4905594XcTQWw','set\x20conditional\x20formatting','reverted\x20workbook','20310LeJodR','Current\x20Version','1167OVxpuc','1738ZVlisu','exports'];_0x4779=function(){return _0x46999c;};return _0x4779();}const e={'editHistory':{'panel':{'title':_0x4e0deb(0xeb),'unknownUser':_0x4e0deb(0xdb),'listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list','revertConfirm':_0x4e0deb(0xef),'revertConfirmText':_0x4e0deb(0xdf),'cancel':'Cancel','confirm':_0x4e0deb(0xee),'reverting':'Reverting,\x20please\x20wait...','revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':_0x4e0deb(0xd6),'currentUser':'Current\x20User','revertDesc':_0x4e0deb(0xda)},'info':{'loading':_0x4e0deb(0xe1)},'header':{'back':_0x4e0deb(0xe0),'revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0x4e0deb(0xe2),'removeSheet':_0x4e0deb(0xe8),'createSheet':'created\x20workbook','setFilter':'set\x20filter','setFrozen':'set\x20frozen','editSheet':_0x4e0deb(0xe9),'revertSheet':_0x4e0deb(0xd4),'revertSheetPrefix':_0x4e0deb(0xde),'revertSheetSuffix':'','setDV':_0x4e0deb(0xe6),'setCF':_0x4e0deb(0xd3),'addCF':_0x4e0deb(0xed),'addProtection':'add\x20protection','addSparkline':'add\x20sparkline','deleteProtection':_0x4e0deb(0xe7),'etc':_0x4e0deb(0xd1)}}},t=e;function _0x5002(_0x577d16,_0x46d62a){const _0x477947=_0x4779();return _0x5002=function(_0x5002fb,_0x3d6c08){_0x5002fb=_0x5002fb-0xd1;let _0x4ec704=_0x477947[_0x5002fb];return _0x4ec704;},_0x5002(_0x577d16,_0x46d62a);}module[_0x4e0deb(0xd9)]=t;
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x4545b5=_0x7f8e;(function(_0x270231,_0x289dd2){const _0x28feaf=_0x7f8e,_0x238511=_0x270231();while(!![]){try{const _0x27767f=parseInt(_0x28feaf(0x2c4))/0x1*(parseInt(_0x28feaf(0x2c7))/0x2)+-parseInt(_0x28feaf(0x350))/0x3*(-parseInt(_0x28feaf(0x1c4))/0x4)+parseInt(_0x28feaf(0x2a0))/0x5+parseInt(_0x28feaf(0x1fb))/0x6*(parseInt(_0x28feaf(0x32f))/0x7)+-parseInt(_0x28feaf(0x27c))/0x8+parseInt(_0x28feaf(0x264))/0x9+-parseInt(_0x28feaf(0x21a))/0xa;if(_0x27767f===_0x289dd2)break;else _0x238511['push'](_0x238511['shift']());}catch(_0xe8f2a2){_0x238511['push'](_0x238511['shift']());}}}(_0x4699,0xc537e));var Fe=Object[_0x4545b5(0x2f7)],Ye=(_0x11db69,_0x3766cf,_0x2a881a)=>_0x3766cf in _0x11db69?Fe(_0x11db69,_0x3766cf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a881a}):_0x11db69[_0x3766cf]=_0x2a881a,l=(_0x355a72,_0x2fc546,_0x32f09b)=>Ye(_0x355a72,typeof _0x2fc546!=_0x4545b5(0x1d6)?_0x2fc546+'':_0x2fc546,_0x32f09b);import{RevertRevisionMutation as _0x476e21,CreateUnitMutation as _0x3868e1,ISnapshotServerService as _0x3a4c65,CompressMutationService as _0x151216,transformSnapshotToWorkbookData as _0x4847dc,ITransformService as _0x16054d,parseProtocolChangeset as _0x4c4c48,isTransformMutationsSuccess as _0x53a066}from'@univerjs-pro/collaboration';import{SnapshotServerOverHTTPService as _0x3b9f87,CollaborationImageIoService as _0x14765c}from'@univerjs-pro/collaboration-client';import{Disposable as _0x362c85,LocaleType as _0x50597,IUniverInstanceService as _0xeffb67,ICommandService as _0x5f5a0e,IConfigService as _0x397e5e,Inject as _0x46eb52,UniverInstanceType as _0x3490af,LocaleService as _0x24a800,IPermissionService as _0x3a3cd9,Injector as _0x5de72a,ObjectMatrix as _0x24c742,debounce as _0x312f55,DisposableCollection as _0x146fe0,toDisposable as _0x2693b2,DependentOn as _0x3528c6,Plugin as _0x3405ec,merge as _0x18b8eb}from'@univerjs/core';import{IImageIoService as _0x261a63}from'@univerjs/drawing';import{IRenderManagerService as _0x22ce8e,Vector2 as _0x5d4f6b,SHEET_VIEWPORT_KEY as _0x32453b}from'@univerjs/engine-render';import{HTTPService as _0x582c8c,UniverNetworkPlugin as _0x32016d}from'@univerjs/network';import{ICellEditorManagerService as _0x1a2a1d,SheetSkeletonManagerService as _0xff2bd1,getCoordByCell as _0x655332,getSheetObject as _0x51d184,UniverSheetsUIPlugin as _0x598266}from'@univerjs/sheets-ui';import{IMessageService as _0x321fa2,IConfirmService as _0x175630,useDependency as _0x15a1f0,useObservable as _0x249562,IUIPartsService as _0x5469e2,BuiltInUIPart as _0x18ede5,connectInjector as _0x17261e,ISidebarService as _0xf89d12,ComponentManager as _0x17a581,IDialogService as _0x40d55e}from'@univerjs/ui';import{MessageType as _0xb1f11a,clsx as _0xf4d8ec,Button as _0x458216,borderBottomClassName as _0x3351f7,Tooltip as _0x191834}from'@univerjs/design';import{InsertSheetMutation as _0x3c965a,RemoveSheetMutation as _0x1bb28c,SetFrozenMutation as _0x41183a,AddWorksheetProtectionMutation as _0xf1d0e3,AddRangeProtectionMutation as _0x434f1c,DeleteRangeProtectionMutation as _0x8535de,DeleteWorksheetProtectionMutation as _0x24ac64,SheetPermissionInitController as _0x4022f5,WorkbookEditablePermission as _0x21c8bd,WorkbookRenameSheetPermission as _0x27afca,WorkbookMoveSheetPermission as _0x165a25,WorkbookHideSheetPermission as _0x24ee69,SetWorksheetHideMutation as _0xbe349e,SetRangeValuesMutation as _0x41d1bd,SetRangeProtectionMutation as _0x45aabc,ReorderRangeMutation as _0x4fe558,RemoveNumfmtMutation as _0x219af8,SetNumfmtMutation as _0x5e35bb,MoveColsMutation as _0x5767d5,MoveRowsMutation as _0xded98c,MoveRangeMutation as _0x4cb9cc,InsertColMutation as _0x152ecd,InsertRowMutation as _0x4854d0,AddWorksheetMergeMutation as _0x38cdf5,RangeMergeUtil as _0x4c975e,findAllRectangle as _0x36072c,SetWorksheetActiveOperation as _0x5384cd}from'@univerjs/sheets';import{BehaviorSubject as _0x52acba,combineLatest as _0x567958,switchMap as _0x53eb9c,map as _0x4576ff,of as _0x176703,debounceTime as _0x3cf76c,Subject as _0x1fc9e2}from'rxjs';import{AddSheetSparklineMutation as _0x2315bd}from'@univerjs-pro/sheets-sparkline';import{AddDataValidationMutation as _0x1f0bed,UpdateDataValidationMutation as _0x53cd8a}from'@univerjs/data-validation';import{SetConditionalRuleMutation as _0x7388b6,AddConditionalRuleMutation as _0x10cae3}from'@univerjs/sheets-conditional-formatting';import{SetSheetsFilterRangeMutation as _0x558159}from'@univerjs/sheets-filter';import{jsxs as _0x2d95d8,jsx as _0x181a71}from'react/jsx-runtime';import{forwardRef as _0xb643dd,useRef as _0x11c90b,createElement as _0x465f4c,useCallback as _0x3cf014,useState as _0x125466,Fragment as _0x50b26f}from'react';import{SheetCollabCursorShape as _0x87dd88}from'@univerjs-pro/collaboration-client-ui';const we='edit-history-viewer.config',_e={};var is=Object['getOwnPropertyDescriptor'],rs=(_0x8e8bdb,_0x467fb2,_0x472d42,_0x43b389)=>{const _0x24be30=_0x4545b5;for(var _0x34b5b1=_0x43b389>0x1?void 0x0:_0x43b389?is(_0x467fb2,_0x472d42):_0x467fb2,_0x579617=_0x8e8bdb[_0x24be30(0x1f9)]-0x1,_0x214223;_0x579617>=0x0;_0x579617--)(_0x214223=_0x8e8bdb[_0x579617])&&(_0x34b5b1=_0x214223(_0x34b5b1)||_0x34b5b1);return _0x34b5b1;},ns=(_0x5cd2ea,_0x1615a6)=>(_0x30a598,_0x4a91a5)=>_0x1615a6(_0x30a598,_0x4a91a5,_0x5cd2ea);let H=class extends _0x362c85{constructor(_0x3f5d0a){const _0x47bc35=_0x4545b5;super(),this[_0x47bc35(0x1ec)]=_0x3f5d0a,this[_0x47bc35(0x1cd)]();}[_0x4545b5(0x1cd)](){const _0x1c202d=_0x4545b5;this[_0x1c202d(0x1e3)](this['_cellEditorManagerService']['state$'][_0x1c202d(0x2a6)](_0x3aa26a=>{const _0x45f017=_0x1c202d;_0x3aa26a!=null&&_0x3aa26a['show']&&this[_0x45f017(0x1ec)][_0x45f017(0x273)]({'show':!0x1});}));}};H=rs([ns(0x0,_0x1a2a1d)],H);var X=(_0x3e5b4c=>(_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x327)]=0x0]=_0x4545b5(0x327),_0x3e5b4c[_0x3e5b4c['OK']=0x1]='OK',_0x3e5b4c[_0x3e5b4c['INTERNAL_ERROR']=0x2]=_0x4545b5(0x1f2),_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x35d)]=0x3]=_0x4545b5(0x35d),_0x3e5b4c[_0x3e5b4c['NOT_FOUND']=0x4]=_0x4545b5(0x1f6),_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x2f3)]=0x5]=_0x4545b5(0x2f3),_0x3e5b4c[_0x3e5b4c['ALREADY_EXISTS']=0x6]=_0x4545b5(0x305),_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x2fd)]=0x7]=_0x4545b5(0x2fd),_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x235)]=0x8]=_0x4545b5(0x235),_0x3e5b4c[_0x3e5b4c['COMPLETION_FINISHED']=0x9]=_0x4545b5(0x1cf),_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x2e4)]=0xa]='LOGIN_FAILED',_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x244)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x368)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x1ea)]=0xd]=_0x4545b5(0x1ea),_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x241)]=0xe]=_0x4545b5(0x241),_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x310)]=0x1389]=_0x4545b5(0x310),_0x3e5b4c[_0x3e5b4c['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4545b5(0x1bb),_0x3e5b4c[_0x3e5b4c['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4545b5(0x1d8),_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x255)]=0x1773]=_0x4545b5(0x255),_0x3e5b4c[_0x3e5b4c['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x3e5b4c[_0x3e5b4c['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4545b5(0x28b),_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x34a)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3e5b4c[_0x3e5b4c['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4545b5(0x21d),_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x227)]=0x1b5d]='APPLY_DUPLICATED',_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x288)]=0x1f41]=_0x4545b5(0x288),_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x228)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3e5b4c[_0x3e5b4c['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4545b5(0x1d3),_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x1df)]=0x232b]=_0x4545b5(0x1df),_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x257)]=0x232c]=_0x4545b5(0x257),_0x3e5b4c[_0x3e5b4c['LICENSE_DISTRO_REJECTED']=0x232d]=_0x4545b5(0x20e),_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x2dd)]=0x2711]=_0x4545b5(0x2dd),_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x31c)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3e5b4c[_0x3e5b4c['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x321)]=0x2714]=_0x4545b5(0x321),_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x24b)]=0x271a]=_0x4545b5(0x24b),_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x28a)]=0x271b]=_0x4545b5(0x28a),_0x3e5b4c[_0x3e5b4c['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x4545b5(0x1b8),_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x22a)]=0x271d]=_0x4545b5(0x22a),_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x2ff)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x240)]=0x271f]=_0x4545b5(0x240),_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x340)]=0x2720]=_0x4545b5(0x340),_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x33c)]=0x2af9]=_0x4545b5(0x33c),_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x32c)]=0x2ee1]=_0x4545b5(0x32c),_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x2b1)]=0x2ee2]='INVALID_INVITE_CODE',_0x3e5b4c[_0x3e5b4c['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x3e5b4c[_0x3e5b4c['USER_NOT_INVITED_CODE']=0x2ee4]=_0x4545b5(0x28c),_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x1f1)]=0x2ee5]=_0x4545b5(0x1f1),_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x2b8)]=0x32c9]=_0x4545b5(0x2b8),_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x260)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x2f9)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x3e5b4c[_0x3e5b4c[_0x4545b5(0x302)]=-0x1]='UNRECOGNIZED',_0x3e5b4c))(X||{}),F=(_0x49089d=>(_0x49089d[_0x49089d[_0x4545b5(0x20f)]=0x0]=_0x4545b5(0x20f),_0x49089d[_0x49089d['UNIVER_DOC']=0x1]=_0x4545b5(0x229),_0x49089d[_0x49089d['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x49089d[_0x49089d[_0x4545b5(0x204)]=0x3]=_0x4545b5(0x204),_0x49089d[_0x49089d[_0x4545b5(0x22c)]=0x4]=_0x4545b5(0x22c),_0x49089d[_0x49089d[_0x4545b5(0x302)]=-0x1]=_0x4545b5(0x302),_0x49089d))(F||{}),D=(_0x28eb9e=>(_0x28eb9e[_0x28eb9e['View']=0x0]=_0x4545b5(0x325),_0x28eb9e[_0x28eb9e[_0x4545b5(0x22d)]=0x1]='Edit',_0x28eb9e[_0x28eb9e[_0x4545b5(0x213)]=0x2]=_0x4545b5(0x213),_0x28eb9e[_0x28eb9e[_0x4545b5(0x2e6)]=0x3]=_0x4545b5(0x2e6),_0x28eb9e[_0x28eb9e[_0x4545b5(0x2fe)]=0x4]=_0x4545b5(0x2fe),_0x28eb9e[_0x28eb9e['Comment']=0x5]=_0x4545b5(0x21b),_0x28eb9e[_0x28eb9e['Copy']=0x6]=_0x4545b5(0x25b),_0x28eb9e[_0x28eb9e[_0x4545b5(0x2e9)]=0x7]=_0x4545b5(0x2e9),_0x28eb9e[_0x28eb9e['Export']=0x8]='Export',_0x28eb9e[_0x28eb9e[_0x4545b5(0x2af)]=0x9]=_0x4545b5(0x2af),_0x28eb9e[_0x28eb9e[_0x4545b5(0x311)]=0xa]=_0x4545b5(0x311),_0x28eb9e[_0x28eb9e[_0x4545b5(0x210)]=0xb]='HideWorksheet',_0x28eb9e[_0x28eb9e[_0x4545b5(0x292)]=0xc]=_0x4545b5(0x292),_0x28eb9e[_0x28eb9e[_0x4545b5(0x208)]=0xd]='CreateWorksheet',_0x28eb9e[_0x28eb9e[_0x4545b5(0x27a)]=0xe]='SetWorksheetStyle',_0x28eb9e[_0x28eb9e[_0x4545b5(0x253)]=0xf]=_0x4545b5(0x253),_0x28eb9e[_0x28eb9e['InsertHyperlink']=0x10]=_0x4545b5(0x36a),_0x28eb9e[_0x28eb9e[_0x4545b5(0x28e)]=0x11]='Sort',_0x28eb9e[_0x28eb9e[_0x4545b5(0x2fc)]=0x12]=_0x4545b5(0x2fc),_0x28eb9e[_0x28eb9e[_0x4545b5(0x308)]=0x13]=_0x4545b5(0x308),_0x28eb9e[_0x28eb9e[_0x4545b5(0x2cf)]=0x14]=_0x4545b5(0x2cf),_0x28eb9e[_0x28eb9e[_0x4545b5(0x2c2)]=0x15]=_0x4545b5(0x2c2),_0x28eb9e[_0x28eb9e[_0x4545b5(0x219)]=0x16]='RwHgtClWdt',_0x28eb9e[_0x28eb9e[_0x4545b5(0x307)]=0x17]=_0x4545b5(0x307),_0x28eb9e[_0x28eb9e['ViewFilter']=0x18]=_0x4545b5(0x26a),_0x28eb9e[_0x28eb9e[_0x4545b5(0x34f)]=0x19]='MoveSheet',_0x28eb9e[_0x28eb9e['DeleteSheet']=0x1a]=_0x4545b5(0x315),_0x28eb9e[_0x28eb9e[_0x4545b5(0x2e0)]=0x1b]=_0x4545b5(0x2e0),_0x28eb9e[_0x28eb9e['CopySheet']=0x1c]='CopySheet',_0x28eb9e[_0x28eb9e[_0x4545b5(0x23d)]=0x1d]=_0x4545b5(0x23d),_0x28eb9e[_0x28eb9e['CreateSheet']=0x1e]=_0x4545b5(0x2be),_0x28eb9e[_0x28eb9e[_0x4545b5(0x23f)]=0x1f]=_0x4545b5(0x23f),_0x28eb9e[_0x28eb9e[_0x4545b5(0x1bc)]=0x20]=_0x4545b5(0x1bc),_0x28eb9e[_0x28eb9e['SetCellStyle']=0x21]=_0x4545b5(0x1d1),_0x28eb9e[_0x28eb9e['SetCellValue']=0x22]=_0x4545b5(0x230),_0x28eb9e[_0x28eb9e[_0x4545b5(0x2ac)]=0x23]='SetRowStyle',_0x28eb9e[_0x28eb9e[_0x4545b5(0x23c)]=0x24]='SetColumnStyle',_0x28eb9e[_0x28eb9e[_0x4545b5(0x1c7)]=0x25]=_0x4545b5(0x1c7),_0x28eb9e[_0x28eb9e[_0x4545b5(0x31b)]=0x26]='InsertColumn',_0x28eb9e[_0x28eb9e['DeleteRow']=0x27]=_0x4545b5(0x1fc),_0x28eb9e[_0x28eb9e['DeleteColumn']=0x28]=_0x4545b5(0x266),_0x28eb9e[_0x28eb9e[_0x4545b5(0x2a7)]=0x29]=_0x4545b5(0x2a7),_0x28eb9e[_0x28eb9e['Delete']=0x2a]=_0x4545b5(0x23a),_0x28eb9e[_0x28eb9e[_0x4545b5(0x2e2)]=0x2b]=_0x4545b5(0x2e2),_0x28eb9e[_0x28eb9e['ViewHistory']=0x2c]=_0x4545b5(0x1dc),_0x28eb9e[_0x28eb9e['CreatePermissionObject']=0x2d]=_0x4545b5(0x25e),_0x28eb9e[_0x28eb9e['UNRECOGNIZED']=-0x1]=_0x4545b5(0x302),_0x28eb9e))(D||{});function as(_0x356b6f){const _0x22cf3d=_0x4545b5;return!!(_0x356b6f&&_0x356b6f[_0x22cf3d(0x1c9)]&&_0x356b6f[_0x22cf3d(0x1c9)]!==X['OK']&&_0x356b6f[_0x22cf3d(0x1c9)]!=='OK');}const re=(_0x1e7634,_0x2eeaa2)=>{const _0x492921=_0x4545b5;if(!_0x1e7634)return{'date':'','time':''};const _0x468bc8=new Date(_0x1e7634),_0x426782=_0x468bc8[_0x492921(0x30b)]()[_0x492921(0x218)]('T')[0x0];switch(_0x2eeaa2){case _0x50597[_0x492921(0x334)]:return{'date':ee(_0x426782,_0x2eeaa2),'time':_0x468bc8[_0x492921(0x2de)]()+':'+String(_0x468bc8[_0x492921(0x2d8)]())[_0x492921(0x276)](0x2,'0')};default:return{'date':ee(_0x426782,_0x2eeaa2),'time':_0x468bc8['getHours']()+':'+_0x468bc8['getMinutes']()};}},os=(_0x2476b4,_0x4110ad)=>{const _0x57107a=_0x4545b5,_0x24cd0f=_0x2476b4[_0x57107a(0x1ba)]||_0x4110ad['t']('editHistory.panel.unknownUser');if(_0x2476b4['commands'][_0x57107a(0x1d0)](_0x2efcb7=>_0x2efcb7===_0x476e21['id'])&&_0x2476b4[_0x57107a(0x20c)]){const _0x5bffa6=re(_0x2476b4['recoverTime'],_0x4110ad[_0x57107a(0x285)]()),_0x3c9240=_0x5bffa6['date']+'\x20'+_0x5bffa6[_0x57107a(0x2d3)];return _0x24cd0f+'\x20'+_0x4110ad['t'](_0x57107a(0x274))+'\x20'+_0x3c9240+'\x20'+_0x4110ad['t']('editHistory.action.revertSheetSuffix');}const _0x3dd764=cs(_0x2476b4),_0x52f455=_0x3dd764['length']===0x1?_0x4110ad['t'](_0x3dd764[0x0]):''+_0x4110ad['t'](_0x3dd764[0x0])+_0x4110ad['t']('editHistory.action.etc');return _0x24cd0f+'\x20'+_0x52f455;};function cs(_0x49275e){const _0x48d2b4=_0x4545b5;if(_0x49275e[_0x48d2b4(0x359)][_0x48d2b4(0x1f9)]===0x0)return[''];const _0x1b608c=_0x48d2b4(0x335),_0x1a02cb=_0x1b608c+'editSheet',_0x39982f=[{'id':_0x3868e1['id'],'action':_0x1b608c+_0x48d2b4(0x2db)},{'id':_0x476e21['id'],'action':_0x1b608c+_0x48d2b4(0x2b4)},{'id':_0x3c965a['id'],'action':_0x1b608c+_0x48d2b4(0x280)},{'id':_0x1bb28c['id'],'action':_0x1b608c+_0x48d2b4(0x20b)},{'id':_0x41183a['id'],'action':_0x1b608c+_0x48d2b4(0x23b)},{'id':_0x558159['id'],'action':_0x1b608c+_0x48d2b4(0x203)},{'id':_0x1f0bed['id'],'action':_0x1b608c+_0x48d2b4(0x209)},{'id':_0x53cd8a['id'],'action':_0x1b608c+_0x48d2b4(0x209)},{'id':_0x7388b6['id'],'action':_0x1b608c+_0x48d2b4(0x231)},{'id':_0x10cae3['id'],'action':_0x1b608c+_0x48d2b4(0x231)},{'id':_0xf1d0e3['id'],'action':_0x1b608c+_0x48d2b4(0x35c)},{'id':_0x434f1c['id'],'action':_0x1b608c+_0x48d2b4(0x35c)},{'id':_0x2315bd['id'],'action':_0x1b608c+_0x48d2b4(0x2c1)},{'id':_0x8535de['id'],'action':_0x1b608c+_0x48d2b4(0x1d5)},{'id':_0x24ac64['id'],'action':_0x1b608c+_0x48d2b4(0x1d5)}][_0x48d2b4(0x336)](_0x470b7=>_0x49275e[_0x48d2b4(0x359)][_0x48d2b4(0x1e7)](_0x470b7['id']));return _0x39982f!=null&&_0x39982f[_0x48d2b4(0x1f9)]?_0x39982f['map'](_0x2e9301=>_0x2e9301[_0x48d2b4(0x25f)]):[_0x1a02cb];}function ee(_0x3ce752,_0x39934f){const _0x3f5190=_0x4545b5,[_0x46450a,_0x33974f,_0x554109]=new Date()[_0x3f5190(0x30b)]()['split']('T')[0x0][_0x3f5190(0x218)]('-'),[_0xb101ba,_0x5cde46,_0x185f98]=_0x3ce752['split']('-'),_0x325fda=_0x46450a===_0xb101ba&&_0x33974f===_0x5cde46&&_0x554109===_0x185f98;let _0x26667b='',_0x117db9='',_0x26f957='';switch(_0x39934f){case _0x50597[_0x3f5190(0x334)]:return _0x325fda?'今天':(_0x26667b=_0x46450a===_0xb101ba?'':_0xb101ba+'年',_0x117db9=_0x5cde46+'月',_0x26f957=_0x185f98+'日',''+_0x26667b+_0x117db9+_0x26f957);default:return _0x325fda?_0x3f5190(0x281):(_0x26667b=_0x46450a===_0xb101ba?'':_0xb101ba+'-',_0x117db9=_0x5cde46+'-',_0x26f957=''+_0x185f98,''+_0x26667b+_0x117db9+_0x26f957);}}function ls(_0x4ccc8f){const _0x454ee1=_0x4545b5;return _0x4ccc8f?_0x4ccc8f[_0x454ee1(0x34c)]((_0x1cbd1e,_0x1b2e51)=>{const _0x138a80=_0x454ee1,_0x123f48=new Date(_0x1b2e51[_0x138a80(0x2d3)])[_0x138a80(0x30b)]()['split']('T')[0x0];return _0x1cbd1e['length']>0x0&&_0x1cbd1e[_0x1cbd1e[_0x138a80(0x1f9)]-0x1][_0x138a80(0x1da)]===_0x123f48?_0x1cbd1e[_0x1cbd1e['length']-0x1][_0x138a80(0x2ab)][_0x138a80(0x1f4)](_0x1b2e51):_0x1cbd1e[_0x138a80(0x1f4)]({'dateString':_0x123f48,'versions':[_0x1b2e51]}),_0x1cbd1e;},[]):[];}var us=Object[_0x4545b5(0x2d9)],_s=(_0x16f925,_0x28c972,_0x447c60,_0x237f39)=>{const _0x617cfa=_0x4545b5;for(var _0x50ebaf=_0x237f39>0x1?void 0x0:_0x237f39?us(_0x28c972,_0x447c60):_0x28c972,_0x59151a=_0x16f925[_0x617cfa(0x1f9)]-0x1,_0x1234ec;_0x59151a>=0x0;_0x59151a--)(_0x1234ec=_0x16f925[_0x59151a])&&(_0x50ebaf=_0x1234ec(_0x50ebaf)||_0x50ebaf);return _0x50ebaf;},N=(_0x457b8e,_0x5e6546)=>(_0x1394cd,_0x2c9078)=>_0x5e6546(_0x1394cd,_0x2c9078,_0x457b8e);const hs=_0x4545b5(0x205);function _0x7f8e(_0x2ce092,_0x1bc4f2){const _0x469934=_0x4699();return _0x7f8e=function(_0x7f8ec1,_0x2dcc58){_0x7f8ec1=_0x7f8ec1-0x1b2;let _0x4a9a44=_0x469934[_0x7f8ec1];return _0x4a9a44;},_0x7f8e(_0x2ce092,_0x1bc4f2);}let Y=class extends _0x362c85{constructor(_0x42cf9f,_0x41fa9b,_0x2b7253,_0x459efa,_0x24acfe,_0x2765e2,_0x4de6a6){const _0xe6f13e=_0x4545b5;super(),l(this,_0xe6f13e(0x291),new Map()),(this['_snapshotServerService']=_0x42cf9f,this['_univerInstanceService']=_0x41fa9b,this[_0xe6f13e(0x282)]=_0x2b7253,this[_0xe6f13e(0x1de)]=_0x459efa,this[_0xe6f13e(0x1c8)]=_0x24acfe,this[_0xe6f13e(0x361)]=_0x2765e2,this[_0xe6f13e(0x339)]=_0x4de6a6);}[_0x4545b5(0x2b0)](){const _0x12a29c=_0x4545b5;this['_workbookDataCache'][_0x12a29c(0x319)](),super['dispose']();}async[_0x4545b5(0x2fb)](_0x5e8d62,_0x1c6722){const _0x45e007=_0x4545b5,_0x2997ef=this[_0x45e007(0x207)]()+'/'+_0x5e8d62+_0x45e007(0x239)+(_0x1c6722?'&lastLabel='+_0x1c6722:'');try{const _0xa1efb4=(await this[_0x45e007(0x1c8)][_0x45e007(0x284)](_0x2997ef))[_0x45e007(0x1d9)];if(_0xa1efb4&&_0xa1efb4[_0x45e007(0x35b)]&&_0xa1efb4['error']['code']===X['OK']){const {hasMore:_0x28d5ef,lastLabel:_0x51239a}=_0xa1efb4,_0x597a44=ds(_0xa1efb4),_0x3c0e3f=_0xa1efb4[_0x45e007(0x283)][_0x45e007(0x2fa)];return{'hasMore':_0x28d5ef,'lastLabel':_0x51239a,'versions':_0x597a44,'members':_0x3c0e3f};}}catch(_0x2ffe1b){console[_0x45e007(0x35b)](_0x2ffe1b);}return null;}[_0x4545b5(0x207)](){const _0x49078a=_0x4545b5;var _0x5e6269;const _0x51d9a2=this[_0x49078a(0x1de)]['getConfig'](we);return(_0x5e6269=_0x51d9a2==null?void 0x0:_0x51d9a2['historyListServerUrl'])!=null?_0x5e6269:hs;}async[_0x4545b5(0x2b3)](_0x5b4e8f,_0x31e062,_0x11b10f){const _0x2cc0e0=_0x4545b5;var _0x222076,_0x319879;_0x11b10f===void 0x0&&(_0x11b10f={}),this[_0x2cc0e0(0x291)]['has'](_0x5b4e8f)||this['_workbookDataCache']['set'](_0x5b4e8f,new Map());const {snapshot:_0x272964,changesets:_0x13127b,error:_0x23310d}=await this[_0x2cc0e0(0x278)][_0x2cc0e0(0x1c5)](_0x11b10f,{'unitID':_0x5b4e8f,'type':F[_0x2cc0e0(0x1d2)],'revision':_0x31e062});if(as(_0x23310d)||!_0x272964||!_0x272964['workbook'])throw new Error('[HistoryFetchService]:\x20request\x20snapshot\x20error!');const _0x22b3e9=(_0x222076=_0x13127b==null?void 0x0:_0x13127b['length'])!=null?_0x222076:0x0;if(_0x31e062!==0x0&&_0x272964[_0x2cc0e0(0x293)]+_0x22b3e9!==_0x31e062)throw new Error(_0x2cc0e0(0x21c));const {workbook:_0x2e2d9f}=_0x272964,_0x396433=_0x2e2d9f[_0x2cc0e0(0x29a)]?Object['entries'](_0x2e2d9f[_0x2cc0e0(0x29a)])['map'](([_0x3058ba,_0x154996])=>{const _0x4ccce7=_0x2cc0e0;var _0x20abb9,_0x3e4513;return(_0x3e4513=(_0x20abb9=_0x154996[_0x4ccce7(0x2a5)])==null?void 0x0:_0x20abb9[_0x4ccce7(0x1cc)](_0x285b4c=>_0x285b4c))!=null?_0x3e4513:[];})[_0x2cc0e0(0x22b)]():[],_0x918fcc=(await Promise[_0x2cc0e0(0x232)](_0x396433[_0x2cc0e0(0x1cc)](_0x10d306=>this[_0x2cc0e0(0x278)][_0x2cc0e0(0x20d)](_0x11b10f,{'unitID':_0x5b4e8f,'type':F['UNIVER_SHEET'],'blockID':_0x10d306})['then'](_0x17c9a2=>_0x17c9a2[_0x2cc0e0(0x1ef)]))))[_0x2cc0e0(0x336)](_0x584109=>!!_0x584109),_0x137b20=_0x4847dc(_0x272964,_0x918fcc,_0x11b10f);return(_0x319879=this[_0x2cc0e0(0x291)][_0x2cc0e0(0x284)](_0x5b4e8f))==null||_0x319879[_0x2cc0e0(0x316)](_0x31e062,{'workbook':_0x137b20}),new Promise(_0xfcbef3=>{const _0x3e535c=_0x2cc0e0,_0x1dc4e8=this[_0x3e535c(0x33a)][_0x3e535c(0x29e)](_0x3490af['UNIVER_SHEET']);_0x1dc4e8?(this[_0x3e535c(0x33a)][_0x3e535c(0x289)](_0x1dc4e8[_0x3e535c(0x1bf)]()),setTimeout(()=>{const _0x3e6cde=_0x3e535c;this[_0x3e6cde(0x1e4)](_0x137b20,_0x13127b),this[_0x3e6cde(0x339)]['refreshRangeProtectPermission'](),_0xfcbef3(!0x0);},0x0)):(this[_0x3e535c(0x1e4)](_0x137b20,_0x13127b),_0xfcbef3(!0x0));});}['_createUnit'](_0x2538cb,_0x36cd16){const _0x6193c4=_0x4545b5,_0x1a89c3=this[_0x6193c4(0x33a)][_0x6193c4(0x2e1)](_0x3490af[_0x6193c4(0x1d2)],_0x2538cb);this['_univerInstanceService'][_0x6193c4(0x323)](_0x1a89c3[_0x6193c4(0x1bf)]());const _0x48085c=this['_compressMutationService']['interceptor'][_0x6193c4(0x22e)](this[_0x6193c4(0x361)][_0x6193c4(0x314)][_0x6193c4(0x31d)]()['COMPRESS_MUTATION_APPLY']);return _0x36cd16==null||_0x36cd16['forEach'](_0x212b58=>{const _0x3d758f=_0x6193c4,_0x4be9a1=_0x212b58[_0x3d758f(0x2e5)][_0x3d758f(0x1cc)](_0x353843=>({'id':_0x353843['id'],'params':JSON['parse'](_0x353843[_0x3d758f(0x27f)])}));({..._0x212b58,'mutations':_0x48085c(_0x4be9a1,null)||_0x4be9a1}[_0x3d758f(0x2e5)]['forEach'](_0xc1b014=>{const _0x28f7a8=_0x3d758f;this['_commandService'][_0x28f7a8(0x236)](_0xc1b014['id'])&&this['_commandService'][_0x28f7a8(0x1c2)](_0xc1b014['id'],_0xc1b014['params']);}));}),_0x1a89c3;}};Y=_s([N(0x0,_0x3a4c65),N(0x1,_0xeffb67),N(0x2,_0x5f5a0e),N(0x3,_0x397e5e),N(0x4,_0x46eb52(_0x582c8c)),N(0x5,_0x46eb52(_0x151216)),N(0x6,_0x46eb52(_0x4022f5))],Y);function ds(_0x2cf3f1){const _0x1119cc=_0x4545b5;var _0x1e07a8,_0x27a5e9;const _0x9ce5f5=[],{entities:_0x396eb4,historyIds:_0x22f1f3}=_0x2cf3f1,{datas:_0x5443ec,users:_0x19c87f}=_0x396eb4;for(const _0x3c0dc3 of _0x22f1f3)if(_0x5443ec[_0x3c0dc3]){const _0x20fde1=!!((_0x1e07a8=_0x19c87f[_0x5443ec[_0x3c0dc3][_0x1119cc(0x2a3)]])!=null&&_0x1e07a8['anonymous']);_0x9ce5f5['push']({'unitId':_0x5443ec[_0x3c0dc3]['unitId'],'user':_0x20fde1?'':((_0x27a5e9=_0x19c87f==null?void 0x0:_0x19c87f[_0x5443ec[_0x3c0dc3]['userId']])==null?void 0x0:_0x27a5e9[_0x1119cc(0x2f4)])||'','isAnonymous':_0x20fde1,'id':_0x3c0dc3,'time':_0x5443ec[_0x3c0dc3][_0x1119cc(0x2dc)]?Number(_0x5443ec[_0x3c0dc3][_0x1119cc(0x2dc)]):void 0x0,'commands':_0x5443ec[_0x3c0dc3]['command'],'startRev':Number(_0x5443ec[_0x3c0dc3]['startRevision']),'endRev':Number(_0x5443ec[_0x3c0dc3]['endRevision']),'recoverTime':_0x5443ec[_0x3c0dc3][_0x1119cc(0x20c)]?Number(_0x5443ec[_0x3c0dc3][_0x1119cc(0x20c)]):void 0x0});}return _0x9ce5f5;}var vs=Object['getOwnPropertyDescriptor'],fs=(_0x190ef7,_0x4cbeb2,_0x241c28,_0x26e003)=>{const _0x3b6e4c=_0x4545b5;for(var _0xdce452=_0x26e003>0x1?void 0x0:_0x26e003?vs(_0x4cbeb2,_0x241c28):_0x4cbeb2,_0x5ac4ce=_0x190ef7[_0x3b6e4c(0x1f9)]-0x1,_0x558e8;_0x5ac4ce>=0x0;_0x5ac4ce--)(_0x558e8=_0x190ef7[_0x5ac4ce])&&(_0xdce452=_0x558e8(_0xdce452)||_0xdce452);return _0xdce452;},V=(_0x378fd2,_0x2cd52c)=>(_0x3635f9,_0x30919b)=>_0x2cd52c(_0x3635f9,_0x30919b,_0x378fd2),ne=(_0x463b98=>(_0x463b98['Entered']=_0x4545b5(0x360),_0x463b98['Exited']='exited',_0x463b98[_0x4545b5(0x263)]=_0x4545b5(0x35b),_0x463b98))(ne||{}),T=(_0x2a6998=>(_0x2a6998['Init']=_0x4545b5(0x24e),_0x2a6998[_0x4545b5(0x1fa)]=_0x4545b5(0x2ef),_0x2a6998[_0x4545b5(0x25d)]=_0x4545b5(0x1c1),_0x2a6998))(T||{});const ms=_0x4545b5(0x26c);function _0x4699(){const _0x28a687=['YUUMI_UNABLE_LOAD_URL','getHours','_createMask','HideSheet','createUnit','RecoverHistory','evenodd','LOGIN_FAILED','mutations','Print','univer-animate-spin','scrollEvent$','Share','_historyManagerService','div','#0B9EFB','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','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','loading','justifyContent','absolute','range','UNAUTHENTICATED','name','onPointerMove$','_sidebarDisposable','defineProperty','univerjs-icon\x20univerjs-icon-','EMAIL_HAS_BEEN_BOUND','users','getVersions','Filter','INVALID_ARGUMENT','Duplicate','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','endRev','_versions$','UNRECOGNIZED','forEach','_updateDiffMarks','ALREADY_EXISTS','color','ViemRwHgtClWdt','PivotTable','bottom','_initActiveSwitch','toISOString','univer-m-auto\x20univer-animate-spin',':\x20(','revertRevision$','width','CHANGESET_REVISION_CONFILICT','DeleteWorksheet','white','primary','interceptor','DeleteSheet','set','rgba(225,\x20225,\x20225,\x200.5)','unitId','clear','open','InsertColumn','YUUMI_URL_COL_OUT_OF_RANGE','getInterceptPoints','editHistory.panel.cancel','none','_maskContainer','YUUMI_SUBSCRIPTION_NOT_FOUND','editHistory.panel.listFetchError','focusUnit','editHistory.panel.revertConfirmText','View','subType','UNDEFINED','left','xlink:href','_historyContainerId','call','INVITE_CODE_HAS_BEEN_UES','_localeService','executeCommand','28ZWCFLW','replace','.univer-app-container-content','fetchMissingChangesets','_canRevert','ZH_CN','editHistory.action.','filter','idSuffix','_historyFetchService','_sheetPermissionInitController','_univerInstanceService','hidden','PY_RUNTIME_SCRIPT_ERROR','restore-icon','trim','getVpScrollXYInfoByPosToVp','YUUMI_CONNECTOR_URL_NOT_FOUND','getCellPositionByOffset','defs','entries','_getActiveSubUnitId','rect','_sidebarService','prototype','versions$','_status$','APPLY_REVISION_CONFILICT','value','reduce','getVersion','span','MoveSheet','1502853seodEk','currentVersionDiff$','currentVersion$','getAncestorScale','ranges','setConfig','_permissionService','cellValue','position','commands','_loadingState$','error','addProtection','PERMISSION_DENIED','display','rule','entered','_compressMutationService','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','sheetId','params','ensureVersion','restore-icon_clip0_1247_2','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','colorChannel1','InsertHyperlink','canRevert','top','triggerLoadVersions','http://www.w3.org/2000/svg','current','_injector','Info','YUUMI_TABLE_NOT_FOUND_IN_UNIT','loadMoreVersions','user','SNAPSHOT_INVALID_SNAPSHOT','SelectUnProtectedCells','createElement','mask','getUnitId','_removeDiffMarks','loaded','syncExecuteCommand','_diffRangesMap','4mPjtYR','getUnitOnRev','attrs','InsertRow','_httpService','code','rgba(58,\x2096,\x20247,\x200.20)','_confirmService','map','_init','LoadingMultiIcon','COMPLETION_FINISHED','some','SetCellStyle','UNIVER_SHEET','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','values','deleteProtection','symbol','back-icon','SNAPSHOT_HAS_BEEN_REMOVED','body','dateString','path','ViewHistory','Exited','_configService','LICENSE_IMPORT_SIZE_EXCEEDED','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','register','icon','disposeWithMe','_createUnit','svg','_lastLabel','includes','_config','makeDirty','EMAIL_VERIFY_CODE_MISMATCH','from','_cellEditorManagerService','_currentVersion$','getElementById','block','_currentVersionDiff$','INVITE_CODE_ALREADY_BOUND','INTERNAL_ERROR','history-mask','push','column','NOT_FOUND','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','getCurrent','length','Loading','2129670kigFNe','DeleteRow','onSteady','_extractRanges','_lastPointer','_messageService','_maskElement','flex','setFilter','UNIVER_SLIDE','/universer-api/history','triggerLoadSheet','_getAPIPrefix','CreateWorksheet','setDV','1em','removeSheet','recoverTime','getDeserializedSheetBlock','LICENSE_DISTRO_REJECTED','UNIVER_UNKNOWN','HideWorksheet','extend','use','ManageCollaborator','loading-multi-icon','_renderManagerService','currentSkeleton$','subUnitId','split','RwHgtClWdt','27250180HbmKHA','Comment','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','APPLY_PERMISSION_DENIED','toString','addObjects','_updateVersions','add','concat','_combineRanges','date','hasOwnProperty','_revertRevision$','APPLY_DUPLICATED','LICENSE_MAX_UNITS_EXCEEDED','UNIVER_DOC','YUUMI_ALL_TABLES_IS_INVALID','flat','UNIVER_PROJECT','Edit','fetchThroughInterceptors','next','SetCellValue','setCF','all','sheet','editHistory.panel.revertDesc','TOO_MANY_REQUESTS','hasCommand','rules','substring','/list?length=20','Delete','setFrozen','SetColumnStyle','RenameSheet','onMouseMove','SelectProtectedCells','YUUMI_AI_RUN_FAILED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','pipe','_openPanel','MOBILE_VERIFY_CODE_MISMATCH','_unitId$','updatePermissionPoint','0\x200\x2016\x2017','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','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','loadingState$','YUUMI_NO_CUBOID_FOR_QUESTION','children','_initPanel','init','_diffs','show','center','function','EditWorksheetCell','isArray','ENSURE_SNAPSHOT_EXECUTION','active','LICENSE_EXPORT_SIZE_EXCEEDED','getMember','editHistory.panel.revertConfirm','onRendered','Copy','loadingState','Loaded','CreatePermissionObject','action','MOBILE_HAS_BEEN_BOUND','univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','keys','Error','2011032oKmUuZ','pluginName','DeleteColumn','_versionDiffService','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','startColumn','ViewFilter','showMask','VIRTUAL_VERSION_NOW','string','_componentManager','asObservable','userID','currentColor','BackIcon','setState','editHistory.action.revertSheetPrefix','_dialogOptions$','padStart','_getRangesByMutation','_snapshotServerService','row','SetWorksheetStyle','m1Prime','3981416qGCbyK','merge','status$','data','insertSheet','Today','_commandService','entities','get','getCurrentLocale','indexOf','getDataRange','CONNECTOR_DATA_TOO_LARGE','disposeUnit','YUUMI_ASYNCIO_CANCELLED','APPLY_NON_SEQUENTIAL_REVISION','USER_NOT_INVITED_CODE','100%','Sort','status','endRow','_workbookDataCache','RenameWorksheet','rev','0\x200\x2016\x2016','editHistory.header.revert','find','height','triggerRevert','_transformMutationByOrder','blockMeta','editHistory.panel.confirm','memberId','history-panel','getCurrentUnitForType','currentVersion','5116755jFcNrl','unitId$','_uiPartsService','userId','_transformService','blocks','subscribe','EditExtraObject','UniverIcon','confirm-revert-revision','zIndex','versions','SetRowStyle','tag','_getSheetObject','MoveWorksheet','dispose','INVALID_INVITE_CODE','apply','loadSheet','revertSheet','has','_hasMore','_context','WECHAT_HAS_BEEN_BOUND','univer-overflow-hidden','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-items-center\x20univer-justify-center','endColumn','CreateSheet','displayName','now','addSparkline','History','className','51KoKyzJ','_fetching','assign','33842qNanpw','getCurrentVersion','HEADER','stopPropagation','_sheetSkeletonManagerService','univer-text-2xl\x20dark:univer-text-white','1000','transformMutations','FloatImg','url(#$1','defIds','_initRender','time','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getRelativeToViewportCoord','style','FromArray','getMinutes','getOwnPropertyDescriptor','_members','createSheet','createTime'];_0x4699=function(){return _0x28a687;};return _0x4699();}let E=class extends _0x362c85{constructor(_0x49d2fb,_0x25fb87,_0x13a64d,_0xbd987a){const _0xfaa629=_0x4545b5;super(),l(this,_0xfaa629(0x301),new _0x52acba([])),l(this,_0xfaa629(0x348),this[_0xfaa629(0x301)]['asObservable']()),l(this,_0xfaa629(0x1ed),new _0x52acba('')),l(this,_0xfaa629(0x352),this['_currentVersion$']['asObservable']()),l(this,'_status$',new _0x52acba(_0xfaa629(0x360))),l(this,_0xfaa629(0x27e),this[_0xfaa629(0x349)][_0xfaa629(0x26f)]()),l(this,_0xfaa629(0x226),new _0x52acba(0x0)),l(this,_0xfaa629(0x30e),this[_0xfaa629(0x226)][_0xfaa629(0x26f)]()),l(this,'_unitId$',new _0x52acba('')),l(this,_0xfaa629(0x2a1),this[_0xfaa629(0x245)]['asObservable']()),l(this,'_fetching',!0x1),l(this,'_loadingState$',new _0x52acba(_0xfaa629(0x24e))),l(this,'loadingState$',this[_0xfaa629(0x35a)][_0xfaa629(0x26f)]()),l(this,'_lastLabel',null),l(this,_0xfaa629(0x2b6),!0x0),l(this,_0xfaa629(0x2da),new Map()),l(this,_0xfaa629(0x32a)),l(this,'_maskContainer'),l(this,'_maskElement'),l(this,_0xfaa629(0x333),!0x1),(this[_0xfaa629(0x200)]=_0x49d2fb,this[_0xfaa629(0x1cb)]=_0x25fb87,this['_localeService']=_0x13a64d,this['_historyFetchService']=_0xbd987a);}async[_0x4545b5(0x1b3)](_0x18bc82,_0x25a3aa,_0x2bd7e5){const _0xf34807=_0x4545b5;this[_0xf34807(0x32a)]=_0x25a3aa,this['_canRevert']=_0x2bd7e5,this['_unitId$'][_0xf34807(0x22f)](_0x18bc82),this[_0xf34807(0x2c5)]=!0x0;const _0x209d07=await this[_0xf34807(0x338)][_0xf34807(0x2fb)](_0x18bc82);if(this[_0xf34807(0x2c5)]=!0x1,_0x209d07){const {versions:_0xec8dd8,lastLabel:_0x476b69,hasMore:_0x46f9e6,members:_0x237c33}=_0x209d07;_0xec8dd8[_0xf34807(0x1f9)]===0x0&&_0xec8dd8[_0xf34807(0x1f4)]({'unitId':_0x18bc82,'id':ms,'startRev':0x1,'endRev':0x0,'time':Date[_0xf34807(0x2c0)](),'user':this['_localeService']['t']('editHistory.panel.currentUser'),'commands':[],'isAnonymous':!0x1}),this[_0xf34807(0x220)](_0xec8dd8,_0x46f9e6,_0x476b69,_0x237c33),this['_currentVersion$'][_0xf34807(0x22f)](_0xec8dd8[0x0]['id']);}else this[_0xf34807(0x349)][_0xf34807(0x22f)]('error');}async[_0x4545b5(0x1b9)](){const _0x697544=_0x4545b5;if(!this[_0x697544(0x1e6)]||!this['_hasMore']||this[_0x697544(0x2c5)])return!0x1;this[_0x697544(0x2c5)]=!0x0;const _0x2ba0bf=await this[_0x697544(0x338)][_0x697544(0x2fb)](this[_0x697544(0x318)],this[_0x697544(0x1e6)]);if(this[_0x697544(0x2c5)]=!0x1,_0x2ba0bf){const {versions:_0x225d1e,lastLabel:_0x389d69,hasMore:_0x4b1577,members:_0x2f9269}=_0x2ba0bf;this['_updateVersions'](_0x225d1e,_0x4b1577,_0x389d69,_0x2f9269);}else this[_0x697544(0x200)][_0x697544(0x250)]({'content':this[_0x697544(0x32d)]['t'](_0x697544(0x322)),'type':_0xb1f11a['Error'],'duration':0xbb8});return!0x0;}async['triggerLoadSheet'](_0x346c7a){const _0xf9eb91=_0x4545b5;var _0x345a21;const _0x167996=(_0x345a21=this['_versions$'][_0xf9eb91(0x34b)])==null?void 0x0:_0x345a21[_0xf9eb91(0x296)](_0x916fc4=>_0x916fc4['id']===_0x346c7a),{endRev:_0x42c404}=_0x167996||{};_0x42c404||_0x42c404===0x0?(this['_loadingState$'][_0xf9eb91(0x22f)]('loading'),await this[_0xf9eb91(0x338)][_0xf9eb91(0x2b3)](this[_0xf9eb91(0x318)],_0x42c404),this[_0xf9eb91(0x35a)][_0xf9eb91(0x22f)](_0xf9eb91(0x1c1))):this['_status$']['next']('error');}async[_0x4545b5(0x298)](_0x4cc7c8){const _0x1b7dca=_0x4545b5,_0x2fa4d5=_0x4cc7c8?this[_0x1b7dca(0x34d)](_0x4cc7c8):this[_0x1b7dca(0x2c8)]();if(!_0x2fa4d5)return;const _0x14a674=_0x2fa4d5[_0x1b7dca(0x300)],_0x7330d8=re(_0x2fa4d5[_0x1b7dca(0x2d3)],this[_0x1b7dca(0x32d)][_0x1b7dca(0x285)]());await this[_0x1b7dca(0x1cb)]['confirm']({'id':_0x1b7dca(0x2a9),'title':{'title':this[_0x1b7dca(0x32d)]['t'](_0x1b7dca(0x259))},'children':{'title':this[_0x1b7dca(0x32d)]['t'](_0x1b7dca(0x324))+_0x1b7dca(0x30d)+_0x7330d8[_0x1b7dca(0x224)]+'\x20'+_0x7330d8[_0x1b7dca(0x2d3)]+')'},'cancelText':this[_0x1b7dca(0x32d)]['t'](_0x1b7dca(0x31e)),'confirmText':this[_0x1b7dca(0x32d)]['t'](_0x1b7dca(0x29b))})&&this[_0x1b7dca(0x226)][_0x1b7dca(0x22f)](_0x14a674);}[_0x4545b5(0x220)](_0x26f438,_0x49d036,_0x5a287a,_0x199842){const _0x478d3b=_0x4545b5;this['_versions$']['next'](this[_0x478d3b(0x301)]['value']['concat'](_0x26f438)),this[_0x478d3b(0x2b6)]=_0x49d036,this[_0x478d3b(0x1e6)]=_0x5a287a,_0x199842&&Object[_0x478d3b(0x262)](_0x199842)[_0x478d3b(0x303)](_0xe209ca=>this[_0x478d3b(0x2da)][_0x478d3b(0x316)](_0xe209ca,_0x199842[_0xe209ca]));}[_0x4545b5(0x2c8)](){const _0x545989=_0x4545b5;return this['getVersion'](this[_0x545989(0x1ed)]['value']);}[_0x4545b5(0x34d)](_0x3d5dab){const _0x48e877=_0x4545b5;var _0x859baf;return(_0x859baf=this['_versions$'][_0x48e877(0x34b)])==null?void 0x0:_0x859baf[_0x48e877(0x296)](_0x561bb1=>_0x561bb1['id']===_0x3d5dab);}[_0x4545b5(0x258)](_0x230280){const _0x4de0b7=_0x4545b5;return this[_0x4de0b7(0x2da)][_0x4de0b7(0x284)](_0x230280);}[_0x4545b5(0x2df)](){const _0x4a5f4a=_0x4545b5;this['_maskElement']=document[_0x4a5f4a(0x1bd)]('div'),this[_0x4a5f4a(0x201)][_0x4a5f4a(0x2c3)]=_0x4a5f4a(0x1f3),this[_0x4a5f4a(0x201)]['style'][_0x4a5f4a(0x358)]=_0x4a5f4a(0x2f1),this[_0x4a5f4a(0x201)]['style'][_0x4a5f4a(0x1b2)]='0',this[_0x4a5f4a(0x201)][_0x4a5f4a(0x2d6)][_0x4a5f4a(0x328)]='0',this[_0x4a5f4a(0x201)][_0x4a5f4a(0x2d6)][_0x4a5f4a(0x30f)]=_0x4a5f4a(0x28d),this['_maskElement']['style'][_0x4a5f4a(0x297)]=_0x4a5f4a(0x28d),this[_0x4a5f4a(0x201)][_0x4a5f4a(0x2d6)]['backgroundColor']=_0x4a5f4a(0x317),this[_0x4a5f4a(0x201)][_0x4a5f4a(0x2d6)][_0x4a5f4a(0x306)]=_0x4a5f4a(0x312),this[_0x4a5f4a(0x201)][_0x4a5f4a(0x2d6)][_0x4a5f4a(0x35e)]=_0x4a5f4a(0x202),this[_0x4a5f4a(0x201)][_0x4a5f4a(0x2d6)][_0x4a5f4a(0x2f0)]=_0x4a5f4a(0x251),this[_0x4a5f4a(0x201)]['style'][_0x4a5f4a(0x2aa)]=_0x4a5f4a(0x2cd),this[_0x4a5f4a(0x201)]['style'][_0x4a5f4a(0x35e)]=_0x4a5f4a(0x31f),this[_0x4a5f4a(0x320)]['append'](this[_0x4a5f4a(0x201)]);}['_initMaskContainer'](){const _0x3b8747=_0x4545b5;var _0xe207db;const _0xd8d423=(_0xe207db=document[_0x3b8747(0x1ee)](this[_0x3b8747(0x32a)]))==null?void 0x0:_0xe207db['querySelector'](_0x3b8747(0x331));_0xd8d423&&(this[_0x3b8747(0x320)]=_0xd8d423,this[_0x3b8747(0x2df)]());}[_0x4545b5(0x26b)](){const _0x219529=_0x4545b5;this[_0x219529(0x320)]||this['_initMaskContainer'](),this[_0x219529(0x201)]&&(this[_0x219529(0x201)][_0x219529(0x2d6)]['display']='flex');}['hideMask'](){const _0x199995=_0x4545b5;this[_0x199995(0x201)]&&(this['_maskElement']['style'][_0x199995(0x35e)]=_0x199995(0x31f));}set[_0x4545b5(0x28f)](_0x5504c0){const _0x49b230=_0x4545b5;this['_status$'][_0x49b230(0x22f)](_0x5504c0);}set['currentVersion'](_0x3f581e){const _0xce417c=_0x4545b5;_0x3f581e!==this['_currentVersion$'][_0xce417c(0x34b)]&&this[_0xce417c(0x1ed)]['next'](_0x3f581e);}get[_0x4545b5(0x29f)](){const _0x579fcb=_0x4545b5;return this[_0x579fcb(0x1ed)]['value'];}set[_0x4545b5(0x318)](_0x2de10b){const _0x410165=_0x4545b5;this[_0x410165(0x245)][_0x410165(0x22f)](_0x2de10b);}get[_0x4545b5(0x318)](){const _0x210488=_0x4545b5;return this[_0x210488(0x245)][_0x210488(0x34b)];}get[_0x4545b5(0x36b)](){const _0x428a10=_0x4545b5;return this[_0x428a10(0x333)];}get['loadingState'](){const _0x18c093=_0x4545b5;return this[_0x18c093(0x35a)][_0x18c093(0x34b)];}};E=fs([V(0x0,_0x321fa2),V(0x1,_0x175630),V(0x2,_0x46eb52(_0x24a800)),V(0x3,_0x46eb52(Y))],E);var S=function(){const _0x1d3c74=_0x4545b5;return S=Object[_0x1d3c74(0x2c6)]||function(_0x33395c){const _0x5e7e2c=_0x1d3c74;for(var _0x555e47,_0xd76cb6=0x1,_0x39e876=arguments[_0x5e7e2c(0x1f9)];_0xd76cb6<_0x39e876;_0xd76cb6++){_0x555e47=arguments[_0xd76cb6];for(var _0x5388ca in _0x555e47)Object[_0x5e7e2c(0x347)][_0x5e7e2c(0x225)]['call'](_0x555e47,_0x5388ca)&&(_0x33395c[_0x5388ca]=_0x555e47[_0x5388ca]);}return _0x33395c;},S[_0x1d3c74(0x2b2)](this,arguments);},Is=function(_0x431aee,_0x889a14){const _0x3e44c9=_0x4545b5;var _0x5a8759={};for(var _0x217a23 in _0x431aee)Object[_0x3e44c9(0x347)][_0x3e44c9(0x225)][_0x3e44c9(0x32b)](_0x431aee,_0x217a23)&&_0x889a14['indexOf'](_0x217a23)<0x0&&(_0x5a8759[_0x217a23]=_0x431aee[_0x217a23]);if(_0x431aee!=null&&typeof Object['getOwnPropertySymbols']==_0x3e44c9(0x252)){for(var _0x4a37be=0x0,_0x217a23=Object['getOwnPropertySymbols'](_0x431aee);_0x4a37be<_0x217a23[_0x3e44c9(0x1f9)];_0x4a37be++)_0x889a14[_0x3e44c9(0x286)](_0x217a23[_0x4a37be])<0x0&&Object['prototype']['propertyIsEnumerable']['call'](_0x431aee,_0x217a23[_0x4a37be])&&(_0x5a8759[_0x217a23[_0x4a37be]]=_0x431aee[_0x217a23[_0x4a37be]]);}return _0x5a8759;},G=_0xb643dd(function(_0x190300,_0x3387ca){const _0x31d821=_0x4545b5;var _0x353285=_0x190300[_0x31d821(0x1e2)],_0xfcbf9c=_0x190300['id'],_0x2de2e0=_0x190300[_0x31d821(0x2c3)],_0x3f1d21=_0x190300[_0x31d821(0x211)],_0x4692f1=Is(_0x190300,[_0x31d821(0x1e2),'id',_0x31d821(0x2c3),_0x31d821(0x211)]),_0x5efd72=_0x31d821(0x2f8)['concat'](_0xfcbf9c,'\x20')['concat'](_0x2de2e0||'')[_0x31d821(0x33e)](),_0x8670e8=_0x11c90b('_'[_0x31d821(0x222)](ps()));return Pe(_0x353285,''[_0x31d821(0x222)](_0xfcbf9c),{'defIds':_0x353285['defIds'],'idSuffix':_0x8670e8[_0x31d821(0x1b5)]},S({'ref':_0x3387ca,'className':_0x5efd72},_0x4692f1),_0x3f1d21);});function Pe(_0x4485a8,_0x25dc9f,_0x2dfc76,_0x31f4ee,_0x14c6ff){const _0x2c5abd=_0x4545b5;return _0x465f4c(_0x4485a8[_0x2c5abd(0x2ad)],S(S({'key':_0x25dc9f},gs(_0x4485a8,_0x2dfc76,_0x14c6ff)),_0x31f4ee),(Ss(_0x4485a8,_0x2dfc76)[_0x2c5abd(0x24c)]||[])['map'](function(_0x58214c,_0x4a93b5){const _0x2a1b02=_0x2c5abd;return Pe(_0x58214c,''[_0x2a1b02(0x222)](_0x25dc9f,'-')[_0x2a1b02(0x222)](_0x4485a8[_0x2a1b02(0x2ad)],'-')[_0x2a1b02(0x222)](_0x4a93b5),_0x2dfc76,void 0x0,_0x14c6ff);}));}function gs(_0x559a77,_0x49908d,_0x2ad4d2){const _0x8b76c6=_0x4545b5;var _0x1e4726=S({},_0x559a77[_0x8b76c6(0x1c6)]);_0x2ad4d2!=null&&_0x2ad4d2[_0x8b76c6(0x369)]&&_0x1e4726['fill']===_0x8b76c6(0x369)&&(_0x1e4726['fill']=_0x2ad4d2[_0x8b76c6(0x369)]),_0x559a77['tag']===_0x8b76c6(0x1be)&&_0x1e4726['id']&&(_0x1e4726['id']=_0x1e4726['id']+_0x49908d[_0x8b76c6(0x337)]),Object[_0x8b76c6(0x343)](_0x1e4726)['forEach'](function(_0x60352f){const _0x2a7ac0=_0x8b76c6;var _0x44cfab=_0x60352f[0x0],_0x466854=_0x60352f[0x1];_0x44cfab===_0x2a7ac0(0x1be)&&typeof _0x466854=='string'&&(_0x1e4726[_0x44cfab]=_0x466854[_0x2a7ac0(0x330)](/url\(#(.*)\)/,_0x2a7ac0(0x2d0)[_0x2a7ac0(0x222)](_0x49908d[_0x2a7ac0(0x337)],')')));});var _0x39ffb8=_0x49908d[_0x8b76c6(0x2d1)];return!_0x39ffb8||_0x39ffb8[_0x8b76c6(0x1f9)]===0x0||(_0x559a77['tag']===_0x8b76c6(0x212)&&_0x1e4726[_0x8b76c6(0x329)]&&(_0x1e4726[_0x8b76c6(0x329)]=_0x1e4726['xlink:href']+_0x49908d['idSuffix']),Object[_0x8b76c6(0x343)](_0x1e4726)['forEach'](function(_0x34abed){const _0x322abd=_0x8b76c6;var _0x138509=_0x34abed[0x0],_0x387d8d=_0x34abed[0x1];typeof _0x387d8d==_0x322abd(0x26d)&&(_0x1e4726[_0x138509]=_0x387d8d[_0x322abd(0x330)](/url\(#(.*)\)/,_0x322abd(0x2d0)[_0x322abd(0x222)](_0x49908d[_0x322abd(0x337)],')')));})),_0x1e4726;}function Ss(_0x1777c3,_0x50783d){const _0x46e54f=_0x4545b5;var _0x32abd0,_0x577452=_0x50783d[_0x46e54f(0x2d1)];return!_0x577452||_0x577452['length']===0x0?_0x1777c3:_0x1777c3[_0x46e54f(0x2ad)]===_0x46e54f(0x342)&&(!((_0x32abd0=_0x1777c3[_0x46e54f(0x24c)])===null||_0x32abd0===void 0x0)&&_0x32abd0['length'])?S(S({},_0x1777c3),{'children':_0x1777c3['children'][_0x46e54f(0x1cc)](function(_0x2473ab){const _0x4ccf66=_0x46e54f;return typeof _0x2473ab[_0x4ccf66(0x1c6)]['id']==_0x4ccf66(0x26d)&&_0x577452&&_0x577452['includes'](_0x2473ab['attrs']['id'])?S(S({},_0x2473ab),{'attrs':S(S({},_0x2473ab[_0x4ccf66(0x1c6)]),{'id':_0x2473ab[_0x4ccf66(0x1c6)]['id']+_0x50783d[_0x4ccf66(0x337)]})}):_0x2473ab;})}):_0x1777c3;}function ps(){const _0x4d9585=_0x4545b5;return Math['random']()[_0x4d9585(0x21e)](0x24)[_0x4d9585(0x238)](0x2,0x8);}G[_0x4545b5(0x2bf)]=_0x4545b5(0x2a8);var Es={'tag':_0x4545b5(0x1e5),'attrs':{'xmlns':_0x4545b5(0x1b4),'fill':_0x4545b5(0x31f),'viewBox':_0x4545b5(0x294),'width':'1em','height':_0x4545b5(0x20a)},'children':[{'tag':'path','attrs':{'fill':_0x4545b5(0x271),'d':_0x4545b5(0x362)}}]},Te=_0xb643dd(function(_0x5e0d93,_0x38f2ec){const _0x437a2f=_0x4545b5;return _0x465f4c(G,Object['assign']({},_0x5e0d93,{'id':_0x437a2f(0x1d7),'ref':_0x38f2ec,'icon':Es}));});Te[_0x4545b5(0x2bf)]=_0x4545b5(0x272);var Rs={'tag':_0x4545b5(0x1e5),'attrs':{'xmlns':_0x4545b5(0x1b4),'fill':_0x4545b5(0x31f),'viewBox':'0\x200\x2016\x2016','width':_0x4545b5(0x20a),'height':_0x4545b5(0x20a)},'children':[{'tag':_0x4545b5(0x1db),'attrs':{'fill':_0x4545b5(0x2ec),'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':_0x4545b5(0x2e3),'clipRule':_0x4545b5(0x2e3)}},{'tag':'path','attrs':{'fill':_0x4545b5(0x2ec),'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':_0x4545b5(0x2e3),'clipRule':_0x4545b5(0x2e3)}}]},ae=_0xb643dd(function(_0x477a15,_0x5f2d63){const _0x3d48f5=_0x4545b5;return _0x465f4c(G,Object[_0x3d48f5(0x2c6)]({},_0x477a15,{'id':_0x3d48f5(0x214),'ref':_0x5f2d63,'icon':Rs}));});ae[_0x4545b5(0x2bf)]=_0x4545b5(0x1ce);var Os={'tag':_0x4545b5(0x1e5),'attrs':{'xmlns':_0x4545b5(0x1b4),'fill':_0x4545b5(0x31f),'viewBox':_0x4545b5(0x247),'width':_0x4545b5(0x20a),'height':_0x4545b5(0x20a)},'children':[{'tag':'g','attrs':{'fill':_0x4545b5(0x271),'clipPath':'url(#restore-icon_clip0_1247_2)'},'children':[{'tag':_0x4545b5(0x1db),'attrs':{'d':_0x4545b5(0x2ee)}},{'tag':_0x4545b5(0x1db),'attrs':{'d':_0x4545b5(0x249),'fillRule':'evenodd','clipRule':_0x4545b5(0x2e3)}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4545b5(0x366)},'children':[{'tag':_0x4545b5(0x345),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x4545b5(0x312),'rx':0x4}}]}]}],'defIds':[_0x4545b5(0x366)]},Le=_0xb643dd(function(_0x480e5e,_0x561167){const _0x1d409e=_0x4545b5;return _0x465f4c(G,Object[_0x1d409e(0x2c6)]({},_0x480e5e,{'id':_0x1d409e(0x33d),'ref':_0x561167,'icon':Os}));});Le[_0x4545b5(0x2bf)]='RestoreIcon';function Ms(){const _0x592439=_0x4545b5;var _0x450aa2;const _0x23a255=_0x15a1f0(E),_0x516ae0=_0x15a1f0(_0x24a800),_0x2e9d0a=_0x3cf014(()=>{const _0x852914=_0x7f8e;_0x23a255[_0x852914(0x28f)]=ne['Exited'];},[_0x23a255]),_0x5e2add=_0x3cf014(()=>{const _0x10251d=_0x7f8e;_0x23a255[_0x10251d(0x298)]();},[_0x23a255]),_0x4ab4ed=_0x249562(_0x23a255['currentVersion$']),_0x315ada=_0x249562(_0x23a255[_0x592439(0x348)]),_0x48985e=_0x4ab4ed===((_0x450aa2=_0x315ada==null?void 0x0:_0x315ada[0x0])==null?void 0x0:_0x450aa2['id']),_0xc44a44=_0x4ab4ed!==''&&!_0x48985e&&_0x23a255[_0x592439(0x36b)];return _0x2d95d8('div',{'className':_0xf4d8ec(_0x592439(0x2ed),_0x3351f7),'children':[_0x181a71('a',{'className':_0x592439(0x2bb),'onClick':_0x2e9d0a,'children':_0x181a71(Te,{'className':_0x592439(0x2cc)})}),_0x181a71(_0x592439(0x2eb),{'className':_0x592439(0x1e0),'children':_0xc44a44&&_0x181a71(_0x458216,{'variant':_0x592439(0x313),'onClick':_0x5e2add,'children':_0x516ae0['t'](_0x592439(0x295))})})]});}var Ns=Object['getOwnPropertyDescriptor'],bs=(_0x702fac,_0x438cb4,_0x55c5f0,_0x315737)=>{const _0x4eb85e=_0x4545b5;for(var _0x5f3d1e=_0x315737>0x1?void 0x0:_0x315737?Ns(_0x438cb4,_0x55c5f0):_0x438cb4,_0x3527f9=_0x702fac[_0x4eb85e(0x1f9)]-0x1,_0x4520d7;_0x3527f9>=0x0;_0x3527f9--)(_0x4520d7=_0x702fac[_0x3527f9])&&(_0x5f3d1e=_0x4520d7(_0x5f3d1e)||_0x5f3d1e);return _0x5f3d1e;},y=(_0x8286b5,_0x5deb1b)=>(_0x1450b7,_0x37440e)=>_0x5deb1b(_0x1450b7,_0x37440e,_0x8286b5);let B=class extends _0x362c85{constructor(_0x146937,_0x19ef69,_0x4ebd8d,_0x41c849,_0x149a22,_0x3094b1){const _0x431e6c=_0x4545b5;super(),this[_0x431e6c(0x356)]=_0x146937,this[_0x431e6c(0x2a2)]=_0x19ef69,this['_messageService']=_0x4ebd8d,this[_0x431e6c(0x32d)]=_0x41c849,this['_historyManagerService']=_0x149a22,this[_0x431e6c(0x1b6)]=_0x3094b1,this[_0x431e6c(0x1cd)]();}[_0x4545b5(0x1cd)](){const _0x39f691=_0x4545b5;this[_0x39f691(0x1e3)](this[_0x39f691(0x2ea)]['currentVersion$'][_0x39f691(0x2a6)](_0x11ec15=>{const _0xa07f33=_0x39f691;_0x11ec15&&this[_0xa07f33(0x2ea)][_0xa07f33(0x206)](_0x11ec15);})),this['disposeWithMe'](this[_0x39f691(0x356)]['permissionPointUpdate$'][_0x39f691(0x2a6)](_0x4289b2=>{const _0x48bba7=_0x39f691,_0x139991=this[_0x48bba7(0x2ea)][_0x48bba7(0x318)];_0x139991&&(_0x4289b2[_0x48bba7(0x326)]===D[_0x48bba7(0x22d)]&&_0x4289b2[_0x48bba7(0x34b)]===!0x0&&this[_0x48bba7(0x356)]['updatePermissionPoint'](new _0x21c8bd(_0x139991)['id'],!0x1),_0x4289b2[_0x48bba7(0x326)]===D[_0x48bba7(0x23d)]&&_0x4289b2[_0x48bba7(0x34b)]===!0x0&&this[_0x48bba7(0x356)][_0x48bba7(0x246)](new _0x27afca(_0x139991)['id'],!0x1),_0x4289b2[_0x48bba7(0x326)]===D[_0x48bba7(0x34f)]&&_0x4289b2[_0x48bba7(0x34b)]===!0x0&&this[_0x48bba7(0x356)]['updatePermissionPoint'](new _0x165a25(_0x139991)['id'],!0x1),_0x4289b2['subType']===D[_0x48bba7(0x2e0)]&&_0x4289b2[_0x48bba7(0x34b)]===!0x0&&this[_0x48bba7(0x356)][_0x48bba7(0x246)](new _0x24ee69(_0x139991)['id'],!0x1),_0x4289b2[_0x48bba7(0x326)]===D[_0x48bba7(0x21b)]&&_0x4289b2[_0x48bba7(0x34b)]===!0x0&&this[_0x48bba7(0x356)][_0x48bba7(0x246)](new _0x21c8bd(_0x139991)['id'],!0x1),_0x4289b2[_0x48bba7(0x326)]===D[_0x48bba7(0x2cf)]&&_0x4289b2[_0x48bba7(0x34b)]===!0x0&&this[_0x48bba7(0x356)]['updatePermissionPoint'](new _0x21c8bd(_0x139991)['id'],!0x1));})),this[_0x39f691(0x1e3)](this['_uiPartsService']['registerComponent'](_0x18ede5[_0x39f691(0x2c9)],()=>_0x17261e(Ms,this[_0x39f691(0x1b6)]))),this[_0x39f691(0x1e3)](this[_0x39f691(0x2ea)][_0x39f691(0x24a)]['subscribe'](_0x55bc81=>{const _0x57c2eb=_0x39f691;_0x55bc81===T[_0x57c2eb(0x1fa)]&&(this[_0x57c2eb(0x2ea)][_0x57c2eb(0x26b)](),this[_0x57c2eb(0x200)][_0x57c2eb(0x250)]({'type':_0xb1f11a[_0x57c2eb(0x1b7)],'content':this['_localeService']['t']('editHistory.info.loading')})),_0x55bc81===T['Loaded']&&this[_0x57c2eb(0x2ea)]['hideMask']();}));}};B=bs([y(0x0,_0x3a3cd9),y(0x1,_0x5469e2),y(0x2,_0x321fa2),y(0x3,_0x46eb52(_0x24a800)),y(0x4,_0x46eb52(E)),y(0x5,_0x46eb52(_0x5de72a))],B);var Ds=Object['getOwnPropertyDescriptor'],ys=(_0x4ff74d,_0x2ef12d,_0x11f8a2,_0x5d29d1)=>{const _0x81ac54=_0x4545b5;for(var _0x2b9b0d=_0x5d29d1>0x1?void 0x0:_0x5d29d1?Ds(_0x2ef12d,_0x11f8a2):_0x2ef12d,_0x4df2ff=_0x4ff74d[_0x81ac54(0x1f9)]-0x1,_0x31b23e;_0x4df2ff>=0x0;_0x4df2ff--)(_0x31b23e=_0x4ff74d[_0x4df2ff])&&(_0x2b9b0d=_0x31b23e(_0x2b9b0d)||_0x2b9b0d);return _0x2b9b0d;},Q=(_0x27adbb,_0xd81aea)=>(_0x39e5cf,_0x8833b3)=>_0xd81aea(_0x39e5cf,_0x8833b3,_0x27adbb);let $=class extends _0x362c85{constructor(_0x1151dd,_0x36215f,_0x470f0e){const _0x2bfed6=_0x4545b5;super(),l(this,_0x2bfed6(0x1c3),new Map()),l(this,_0x2bfed6(0x1f0),new _0x52acba({'ranges':new Map(),'active':null})),l(this,_0x2bfed6(0x351),this[_0x2bfed6(0x1f0)][_0x2bfed6(0x26f)]()),(this[_0x2bfed6(0x2ea)]=_0x1151dd,this[_0x2bfed6(0x2a4)]=_0x36215f,this[_0x2bfed6(0x278)]=_0x470f0e,this[_0x2bfed6(0x1cd)]());}['_init'](){const _0x1e64fd=_0x4545b5;this['_diffRangesMap']=new Map(),this[_0x1e64fd(0x1e3)](this[_0x1e64fd(0x2ea)][_0x1e64fd(0x2a1)]['subscribe'](_0x36c0ac=>{const _0x593262=_0x1e64fd;_0x36c0ac&&!this[_0x593262(0x1c3)][_0x593262(0x2b5)](_0x36c0ac)&&this[_0x593262(0x1c3)]['set'](_0x36c0ac,new Map());})),this[_0x1e64fd(0x1e3)](this['_historyManagerService']['currentVersion$']['subscribe'](async _0x982bb2=>{const _0x142fca=_0x1e64fd;var _0x34fc8b;_0x982bb2&&(await this[_0x142fca(0x365)](_0x982bb2),this[_0x142fca(0x1f0)][_0x142fca(0x22f)](((_0x34fc8b=this[_0x142fca(0x1c3)][_0x142fca(0x284)](this[_0x142fca(0x2ea)]['unitId']))==null?void 0x0:_0x34fc8b['get'](_0x982bb2))||{'ranges':new Map(),'active':null}));}));}async[_0x4545b5(0x365)](_0x5ec139){const _0x8c271e=_0x4545b5;var _0x25aae7,_0x101037;const _0x5ae077=this[_0x8c271e(0x2ea)][_0x8c271e(0x34d)](_0x5ec139),_0x200e1c=this['_historyManagerService']['unitId'];if(!_0x5ae077||!_0x200e1c)return;const _0x4edf83=this[_0x8c271e(0x1c3)]['get'](_0x200e1c);if(_0x4edf83||this[_0x8c271e(0x1c3)][_0x8c271e(0x316)](_0x200e1c,new Map()),(_0x25aae7=this[_0x8c271e(0x1c3)][_0x8c271e(0x284)](_0x200e1c))!=null&&_0x25aae7[_0x8c271e(0x2b5)](_0x5ae077['id']))return;const {startRev:_0x888e8e,endRev:_0x3dfe99}=_0x5ae077;if(_0x888e8e===0x1){_0x4edf83[_0x8c271e(0x316)](_0x5ae077['id'],{'ranges':new Map(),'active':null});return;}const _0x5e9239=_0x888e8e-0x1,_0x53133b=_0x3dfe99,_0x19a6a0=await this[_0x8c271e(0x278)][_0x8c271e(0x332)]({},{'unitID':_0x200e1c,'from':_0x5e9239,'to':_0x53133b,'type':F[_0x8c271e(0x1d2)]});if(((_0x101037=_0x19a6a0[_0x8c271e(0x35b)])==null?void 0x0:_0x101037[_0x8c271e(0x1c9)])===X['OK']){const _0x24f50c=_0x19a6a0['changesets'][_0x8c271e(0x1cc)](_0x4c4c48)[_0x8c271e(0x1cc)](_0x3a0df2=>_0x3a0df2['mutations'][_0x8c271e(0x1cc)](_0x48de55=>({..._0x48de55,'params':{..._0x48de55[_0x8c271e(0x364)],'memberId':_0x3a0df2[_0x8c271e(0x270)]}})))[_0x8c271e(0x22b)](),_0x425f36=this[_0x8c271e(0x299)](_0x24f50c),_0x117fe7=this[_0x8c271e(0x344)](_0x24f50c),_0x292c70=this[_0x8c271e(0x1fe)](_0x425f36);_0x4edf83[_0x8c271e(0x316)](_0x5ae077['id'],{'ranges':_0x292c70,'active':_0x117fe7});}}[_0x4545b5(0x299)](_0x3eca84){const _0x4518b5=_0x4545b5;let _0x222f72=[];for(let _0x11cf00=0x0;_0x11cf00<_0x3eca84['length'];_0x11cf00++){const _0x8af594=_0x3eca84[_0x11cf00];if(_0x222f72[_0x4518b5(0x1f4)](_0x8af594),_0x11cf00!==_0x3eca84[_0x4518b5(0x1f9)]-0x1){const _0x18d9ab=_0x3eca84[_0x11cf00+0x1],_0xb0e724=this['_transformService'][_0x4518b5(0x2ce)](_0x222f72,[_0x18d9ab]);_0x53a066(_0xb0e724)?_0x222f72=_0xb0e724[_0x4518b5(0x27b)]:_0x222f72=[];}}return _0x222f72;}['_getActiveSubUnitId'](_0x11058b){const _0x4086bd=_0x4545b5;let _0x4cda4c=[];return _0x11058b[_0x4086bd(0x303)](_0x38cfa8=>{const _0x31f032=_0x4086bd;if(_0x38cfa8['id']===_0x3c965a['id']){const _0x539255=_0x38cfa8[_0x31f032(0x364)];_0x4cda4c['push'](_0x539255[_0x31f032(0x233)]['id']);}else{if(_0x38cfa8['id']===_0x1bb28c['id']){const _0x11dd95=_0x38cfa8['params'];_0x4cda4c[_0x31f032(0x1f9)]>0x0&&(_0x4cda4c=_0x4cda4c[_0x31f032(0x336)](_0x41ec45=>_0x41ec45!==_0x11dd95[_0x31f032(0x217)]));}else{if(_0x38cfa8['id']===_0xbe349e['id']){const _0x426842=_0x38cfa8[_0x31f032(0x364)];_0x426842[_0x31f032(0x33b)]?_0x4cda4c=_0x4cda4c[_0x31f032(0x336)](_0x304fd4=>_0x304fd4!==_0x426842[_0x31f032(0x217)]):_0x4cda4c['push'](_0x426842['subUnitId']);}else{const _0x599d60=_0x38cfa8[_0x31f032(0x364)];_0x599d60[_0x31f032(0x217)]&&_0x4cda4c[_0x31f032(0x1f4)](_0x599d60[_0x31f032(0x217)]);}}}}),_0x4cda4c['length']>0x0?_0x4cda4c[_0x4cda4c[_0x4086bd(0x1f9)]-0x1]:null;}[_0x4545b5(0x1fe)](_0x2d6f0e){const _0x5abda6=new Map();return _0x2d6f0e['forEach'](_0x5e17bb=>{const _0x33ec3a=_0x7f8e;var _0x17bff5,_0x5f04ca;const _0x50035d=(_0x17bff5=_0x5e17bb[_0x33ec3a(0x364)])==null?void 0x0:_0x17bff5[_0x33ec3a(0x29c)];if(_0x50035d){_0x5abda6[_0x33ec3a(0x2b5)](_0x50035d)||_0x5abda6[_0x33ec3a(0x316)](_0x50035d,[]);const _0x488bae=this[_0x33ec3a(0x277)](_0x5e17bb);(_0x5f04ca=_0x5abda6[_0x33ec3a(0x284)](_0x50035d))==null||_0x5f04ca['push'](..._0x488bae);}}),_0x5abda6['forEach']((_0x5e6091,_0x120dcc)=>{const _0x221a31=_0x7f8e;_0x5abda6[_0x221a31(0x316)](_0x120dcc,this[_0x221a31(0x223)](_0x5e6091));}),_0x5abda6;}[_0x4545b5(0x277)](_0x1716ab){const _0x1faf23=_0x4545b5;switch(_0x1716ab['id']){case _0x434f1c['id']:{const _0x589f62=_0x1716ab[_0x1faf23(0x364)];return _0x589f62[_0x1faf23(0x237)]['map'](_0x21bf64=>_0x21bf64[_0x1faf23(0x354)][_0x1faf23(0x1cc)](_0x5afca2=>({'range':_0x5afca2,'unitId':_0x589f62[_0x1faf23(0x318)],'subUnitId':_0x589f62[_0x1faf23(0x217)]})))[_0x1faf23(0x22b)]();}case _0x38cdf5['id']:{const _0x224bfd=_0x1716ab['params'];return _0x224bfd[_0x1faf23(0x354)]['map'](_0x18e1b1=>({'range':_0x18e1b1,'unitId':_0x224bfd[_0x1faf23(0x318)],'subUnitId':_0x224bfd[_0x1faf23(0x217)]}));}case _0x4854d0['id']:{const _0x44d427=_0x1716ab[_0x1faf23(0x364)];return[{'range':_0x44d427['range'],'unitId':_0x44d427[_0x1faf23(0x318)],'subUnitId':_0x44d427[_0x1faf23(0x217)]}];}case _0x152ecd['id']:{const _0x427aa7=_0x1716ab[_0x1faf23(0x364)];return[{'range':_0x427aa7[_0x1faf23(0x2f2)],'unitId':_0x427aa7['unitId'],'subUnitId':_0x427aa7['subUnitId']}];}case _0x4cb9cc['id']:{const _0x2a7abf=_0x1716ab[_0x1faf23(0x364)],{from:_0x425d4c,to:_0x10cf3b,unitId:_0x465cf7}=_0x2a7abf;return[{'range':he(_0x425d4c['value']),'unitId':_0x465cf7,'subUnitId':_0x425d4c[_0x1faf23(0x217)]},{'range':he(_0x10cf3b['value']),'unitId':_0x465cf7,'subUnitId':_0x10cf3b[_0x1faf23(0x217)]}];}case _0xded98c['id']:{const _0x59f480=_0x1716ab[_0x1faf23(0x364)],{unitId:_0x46cb07,subUnitId:_0x3b6bc5,sourceRange:_0x149a65,targetRange:_0x24ce40}=_0x59f480,_0x16a939=_0x149a65[_0x1faf23(0x290)]-_0x149a65[_0x1faf23(0x2ba)]+0x1;return[{'range':_0x24ce40[_0x1faf23(0x2ba)]<=_0x149a65[_0x1faf23(0x2ba)]?_0x24ce40:{..._0x24ce40,'startRow':_0x24ce40[_0x1faf23(0x2ba)]-_0x16a939,'endRow':_0x24ce40[_0x1faf23(0x290)]-_0x16a939},'unitId':_0x46cb07,'subUnitId':_0x3b6bc5}];}case _0x5767d5['id']:{const _0x15c0bd=_0x1716ab[_0x1faf23(0x364)],{unitId:_0x10bc08,subUnitId:_0x4b304b,sourceRange:_0x15f42c,targetRange:_0x58c15e}=_0x15c0bd,_0x31ba41=_0x15f42c[_0x1faf23(0x2bd)]-_0x15f42c['startColumn']+0x1;return[{'range':_0x58c15e[_0x1faf23(0x269)]<=_0x15f42c[_0x1faf23(0x269)]?_0x58c15e:{..._0x58c15e,'startColumn':_0x58c15e[_0x1faf23(0x269)]-_0x31ba41,'endColumn':_0x58c15e[_0x1faf23(0x2bd)]-_0x31ba41},'unitId':_0x10bc08,'subUnitId':_0x4b304b}];}case _0x5e35bb['id']:{const _0x2aa3c6=_0x1716ab[_0x1faf23(0x364)],{values:_0x237fe1,unitId:_0x53ce7a,subUnitId:_0x300b3d}=_0x2aa3c6;return Object[_0x1faf23(0x1d4)](_0x237fe1)[_0x1faf23(0x1cc)](_0x234a16=>_0x234a16[_0x1faf23(0x354)]['map'](_0x42380e=>({'range':_0x42380e,'unitId':_0x53ce7a,'subUnitId':_0x300b3d})))[_0x1faf23(0x22b)]();}case _0x219af8['id']:{const _0x361f75=_0x1716ab[_0x1faf23(0x364)],{ranges:_0x5b28e8,unitId:_0x13bd6a,subUnitId:_0x1dd0db}=_0x361f75;return _0x5b28e8[_0x1faf23(0x1cc)](_0x353ff4=>({'range':_0x353ff4,'unitId':_0x13bd6a,'subUnitId':_0x1dd0db}));}case _0x4fe558['id']:{const _0x4950a4=_0x1716ab[_0x1faf23(0x364)],{unitId:_0x1dee30,subUnitId:_0x414b81,range:_0xe328ec}=_0x4950a4;return[{'range':_0xe328ec,'unitId':_0x1dee30,'subUnitId':_0x414b81}];}case _0x45aabc['id']:{const _0x5a8cf3=_0x1716ab[_0x1faf23(0x364)];return _0x5a8cf3[_0x1faf23(0x35f)][_0x1faf23(0x354)][_0x1faf23(0x1cc)](_0x13b5e1=>({'range':_0x13b5e1,'unitId':_0x5a8cf3[_0x1faf23(0x318)],'subUnitId':_0x5a8cf3['subUnitId']}));}case _0x41d1bd['id']:{const _0x166950=_0x1716ab[_0x1faf23(0x364)];return _0x166950['cellValue']?Cs(_0x166950[_0x1faf23(0x357)])[_0x1faf23(0x1cc)](_0x22437a=>({'range':_0x22437a,'unitId':_0x166950[_0x1faf23(0x318)],'subUnitId':_0x166950[_0x1faf23(0x217)]})):[];}case _0x558159['id']:{const _0x376f5a=_0x1716ab[_0x1faf23(0x364)];return[{'range':_0x376f5a[_0x1faf23(0x2f2)],'unitId':_0x376f5a['unitId'],'subUnitId':_0x376f5a[_0x1faf23(0x217)]}];}case _0x1f0bed['id']:{const _0x54fd07=_0x1716ab[_0x1faf23(0x364)];return(Array[_0x1faf23(0x254)](_0x54fd07[_0x1faf23(0x35f)])?_0x54fd07[_0x1faf23(0x35f)]:[_0x54fd07[_0x1faf23(0x35f)]])[_0x1faf23(0x1cc)](_0x2f8cc8=>_0x2f8cc8[_0x1faf23(0x354)][_0x1faf23(0x1cc)](_0x537b46=>({'range':_0x537b46,'unitId':_0x54fd07[_0x1faf23(0x318)],'subUnitId':_0x54fd07['subUnitId']})))[_0x1faf23(0x22b)]();}case _0x7388b6['id']:{const _0x1c60dc=_0x1716ab[_0x1faf23(0x364)];return _0x1c60dc[_0x1faf23(0x35f)][_0x1faf23(0x354)][_0x1faf23(0x1cc)](_0x1b551f=>({'range':_0x1b551f,'unitId':_0x1c60dc[_0x1faf23(0x318)],'subUnitId':_0x1c60dc[_0x1faf23(0x217)]}));}default:return[];}}[_0x4545b5(0x223)](_0x230601){const _0x3a6905=_0x4545b5;if(_0x230601['length']<=0x1)return _0x230601;const _0x1d2fd0=new Map();return _0x230601[_0x3a6905(0x303)](_0x3cc74e=>{const _0x250f7c=_0x3a6905;var _0x1f4f92;const {unitId:_0x52529e,subUnitId:_0x2afbdd}=_0x3cc74e,_0x289d56=_0x52529e+'-'+_0x2afbdd;_0x1d2fd0['has'](_0x289d56)?(_0x1f4f92=_0x1d2fd0[_0x250f7c(0x284)](_0x289d56))==null||_0x1f4f92[_0x250f7c(0x1f4)](_0x3cc74e):_0x1d2fd0[_0x250f7c(0x316)](_0x289d56,[_0x3cc74e]);}),Array[_0x3a6905(0x1eb)](_0x1d2fd0[_0x3a6905(0x1d4)]())[_0x3a6905(0x1cc)](_0x3361c5=>new _0x4c975e()[_0x3a6905(0x221)](..._0x3361c5[_0x3a6905(0x1cc)](_0x2c5cdb=>_0x2c5cdb[_0x3a6905(0x2f2)]))[_0x3a6905(0x27d)]()[_0x3a6905(0x1cc)](_0x4a6130=>({'range':_0x4a6130,'unitId':_0x3361c5[0x0]['unitId'],'subUnitId':_0x3361c5[0x0][_0x3a6905(0x217)]})))[_0x3a6905(0x22b)]();}};$=ys([Q(0x0,_0x46eb52(E)),Q(0x1,_0x16054d),Q(0x2,_0x3a4c65)],$);function he(_0x46e8ea){const _0x57bdb4=_0x4545b5;return new _0x24c742(_0x46e8ea)[_0x57bdb4(0x287)]();}function Cs(_0x4a630b){const _0x178d75=new _0x24c742(_0x4a630b),_0x258592=new _0x24c742();return _0x178d75['forValue']((_0x50fc1d,_0xf2002d)=>{_0x258592['setValue'](_0x50fc1d,_0xf2002d,0x1);}),_0x36072c(_0x258592);}var ws=Object[_0x4545b5(0x2d9)],Ps=(_0x196763,_0x4af593,_0x2a1434,_0x1b3a03)=>{const _0x29f4fe=_0x4545b5;for(var _0x1d9d3a=_0x1b3a03>0x1?void 0x0:_0x1b3a03?ws(_0x4af593,_0x2a1434):_0x4af593,_0x5c5df4=_0x196763[_0x29f4fe(0x1f9)]-0x1,_0x2af42a;_0x5c5df4>=0x0;_0x5c5df4--)(_0x2af42a=_0x196763[_0x5c5df4])&&(_0x1d9d3a=_0x2af42a(_0x1d9d3a)||_0x1d9d3a);return _0x1d9d3a;},C=(_0x2badc1,_0x22125b)=>(_0x37c890,_0x16139a)=>_0x22125b(_0x37c890,_0x16139a,_0x2badc1);let te=class extends _0x362c85{constructor(_0x100576,_0x3f9e5,_0x32c4b1,_0x987712,_0x5d5240,_0x111ec2,_0xbadcc2){const _0x231d1e=_0x4545b5;super(),l(this,'_diffs',new Set()),l(this,_0x231d1e(0x1ff),null),(this[_0x231d1e(0x2b7)]=_0x100576,this[_0x231d1e(0x2ea)]=_0x3f9e5,this[_0x231d1e(0x267)]=_0x32c4b1,this['_univerInstanceService']=_0x987712,this[_0x231d1e(0x215)]=_0x5d5240,this[_0x231d1e(0x2cb)]=_0x111ec2,this['_commandService']=_0xbadcc2,this[_0x231d1e(0x1cd)]());}['_init'](){const _0x5515b3=_0x4545b5;this[_0x5515b3(0x2d2)](),this[_0x5515b3(0x30a)]();}[_0x4545b5(0x2d2)](){const _0x5e2629=_0x4545b5;this['disposeWithMe'](_0x567958([this[_0x5e2629(0x2ea)][_0x5e2629(0x24a)],this[_0x5e2629(0x2cb)][_0x5e2629(0x216)]])[_0x5e2629(0x242)](_0x53eb9c(([_0x802a01,_0x35fc02])=>{const _0x4230cd=_0x5e2629;if(_0x802a01===T[_0x4230cd(0x25d)]&&_0x35fc02){const _0x356087=_0x35fc02[_0x4230cd(0x363)];return this['_versionDiffService'][_0x4230cd(0x351)][_0x4230cd(0x242)](_0x4576ff(_0x4b9f9=>{const _0x54100c=_0x4230cd,_0x549010=new Map();return _0x4b9f9[_0x54100c(0x354)]['forEach']((_0x59ae6f,_0x4f3e70)=>{const _0x127a1b=_0x54100c,_0x553fb1=_0x59ae6f[_0x127a1b(0x336)](_0x33bda9=>_0x33bda9[_0x127a1b(0x217)]===_0x356087);_0x549010[_0x127a1b(0x316)](_0x4f3e70,_0x553fb1);}),{'skeleton':_0x35fc02,'diffs':_0x549010};}));}return _0x176703({'skeleton':null,'diffs':new Map()});}))[_0x5e2629(0x2a6)](({skeleton:_0x503497,diffs:_0x578709})=>{const _0x330a0a=_0x5e2629;this[_0x330a0a(0x1c0)](),_0x503497&&this[_0x330a0a(0x304)](_0x503497,_0x578709);})),this[_0x5e2629(0x1e3)](this[_0x5e2629(0x2cb)]['currentSkeleton$'][_0x5e2629(0x2a6)](_0x228ec2=>{const _0x3d9e9f=_0x5e2629;if(_0x228ec2==null)return;const {skeleton:_0x5f1582}=_0x228ec2,{scene:_0x31c106}=this['_context'];_0x31c106[_0x3d9e9f(0x2f5)]['subscribeEvent'](_0x312f55(_0x7439a1=>{const _0x269fc2=_0x3d9e9f;var _0x2723c4,_0xc61583;const {offsetX:_0x1d6040,offsetY:_0xb69edf}=_0x7439a1,{x:_0x3a706f,y:_0x8a0604}=_0x31c106[_0x269fc2(0x2d5)](_0x5d4f6b[_0x269fc2(0x2d7)]([_0x1d6040,_0xb69edf])),{scaleX:_0x118e51,scaleY:_0x2852f0}=_0x31c106[_0x269fc2(0x353)](),_0x18ea1b=_0x31c106['getViewport'](_0x32453b['VIEW_MAIN']),_0x389111=_0x31c106[_0x269fc2(0x33f)](_0x5d4f6b['FromArray']([_0x3a706f,_0x8a0604]),_0x18ea1b),_0x3f2e28=_0x5f1582[_0x269fc2(0x341)](_0x1d6040,_0xb69edf,_0x118e51,_0x2852f0,_0x389111);((_0x2723c4=this['_lastPointer'])==null?void 0x0:_0x2723c4[_0x269fc2(0x1f5)])===_0x3f2e28[_0x269fc2(0x1f5)]&&((_0xc61583=this[_0x269fc2(0x1ff)])==null?void 0x0:_0xc61583[_0x269fc2(0x279)])===_0x3f2e28[_0x269fc2(0x279)]||this['_diffs']['forEach'](_0x47697e=>{const _0x1ddcfb=_0x269fc2;_0x47697e[_0x1ddcfb(0x23e)](_0x3f2e28);});},0x64));}));}[_0x4545b5(0x30a)](){const _0x18414c=_0x4545b5;this[_0x18414c(0x1e3)](this['_historyManagerService'][_0x18414c(0x24a)][_0x18414c(0x2a6)](_0x12e9b4=>{const _0x58cb74=_0x18414c,_0x21aae4=new _0x146fe0();return _0x12e9b4===T[_0x58cb74(0x25d)]&&(_0x21aae4[_0x58cb74(0x2b0)](),_0x21aae4[_0x58cb74(0x221)](this['_versionDiffService']['currentVersionDiff$'][_0x58cb74(0x2a6)](_0x1b0f92=>{const _0x3fa115=_0x58cb74;_0x1b0f92[_0x3fa115(0x256)]&&this[_0x3fa115(0x282)][_0x3fa115(0x32e)](_0x5384cd['id'],{'unitId':this[_0x3fa115(0x2b7)][_0x3fa115(0x318)],'subUnitId':_0x1b0f92[_0x3fa115(0x256)]});}))),()=>_0x21aae4[_0x58cb74(0x2b0)]();}));}['_updateDiffMarks'](_0x40d213,_0x10f519){const _0x13be95=_0x4545b5;var _0x40e639;const _0x48ec5c=(_0x40e639=this[_0x13be95(0x2cb)][_0x13be95(0x1f8)]())==null?void 0x0:_0x40e639['skeleton'];if(!_0x48ec5c)return;this[_0x13be95(0x24f)][_0x13be95(0x303)](_0x49e884=>{const _0x35f458=_0x13be95;_0x49e884[_0x35f458(0x1e9)]();});const {scene:_0x59485c}=this[_0x13be95(0x2b7)],_0x2ba770=Array[_0x13be95(0x1eb)](_0x10f519[_0x13be95(0x262)]())[_0x13be95(0x1cc)](_0x338100=>_0x10f519[_0x13be95(0x284)](_0x338100)[_0x13be95(0x1cc)](_0xbcdf17=>{const _0x5577a8=_0x13be95;var _0x1f9639;const {range:_0x5bb060,subUnitId:_0x828996,unitId:_0x55506d}=_0xbcdf17,{startColumn:_0x16fd29,startRow:_0x5b6c4d,endColumn:_0x5a24a9,endRow:_0x2391da}=_0x5bb060,_0x17c740=_0x655332(_0x5b6c4d,_0x16fd29,_0x59485c,_0x48ec5c),_0x2ca30a=_0x655332(_0x2391da,_0x5a24a9,_0x59485c,_0x48ec5c),{columnHeaderHeightAndMarginTop:_0x3578e2}=_0x48ec5c,{startX:_0xc7c651,startY:_0x3a7eb5}=_0x17c740,{endX:_0x37c06c,endY:_0x440f03}=_0x2ca30a,_0x233909=_0x37c06c-_0xc7c651,_0x45d733=_0x440f03-_0x3a7eb5,_0x4a68ae={'labelPosition':_0x3a7eb5-_0x3578e2>=0x14?_0x5577a8(0x1b2):_0x5577a8(0x309),'sheetID':_0x828996,'range':_0x5bb060,'color':'rgba(58,\x2096,\x20247,\x200.20)','fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x5577a8(0x1ca),'name':((_0x1f9639=this[_0x5577a8(0x2ea)][_0x5577a8(0x258)](_0x338100))==null?void 0x0:_0x1f9639[_0x5577a8(0x2f4)])||'','selection':_0x55506d+'-'+_0x828996+'-'+_0x5bb060[_0x5577a8(0x269)]+'-'+_0x5bb060[_0x5577a8(0x2ba)]+'-'+_0x5bb060['endColumn']+'-'+_0x5bb060[_0x5577a8(0x290)],'left':_0xc7c651,'top':_0x3a7eb5,'width':_0x233909,'height':_0x45d733,'evented':!0x1,'zIndex':0x1};return new _0x87dd88('',_0x4a68ae);}))['flat']();_0x59485c[_0x13be95(0x21f)](_0x2ba770,0x1),this['_diffs']=new Set(_0x2ba770);}[_0x4545b5(0x1c0)](){const _0x3905bc=_0x4545b5;var _0x2c8e18;(_0x2c8e18=this[_0x3905bc(0x24f)])==null||_0x2c8e18[_0x3905bc(0x303)](_0x4e42c6=>_0x4e42c6[_0x3905bc(0x2b0)]());}[_0x4545b5(0x2ae)](){return _0x51d184(this['_univerInstanceService'],this['_renderManagerService']);}};te=Ps([C(0x1,_0x46eb52(E)),C(0x2,_0x46eb52($)),C(0x3,_0xeffb67),C(0x4,_0x22ce8e),C(0x5,_0x46eb52(_0xff2bd1)),C(0x6,_0x5f5a0e)],te);function Ts(){const _0x47ccac=_0x4545b5,_0x1b2853=_0x15a1f0(E),_0x4193dd=_0x249562(_0x1b2853[_0x47ccac(0x348)]),[_0x256dcb,_0x247553]=_0x125466(!0x1),_0xd3e814=ls(_0x4193dd);return _0x4193dd?_0x181a71(_0x47ccac(0x2eb),{'className':_0x47ccac(0x2b9),'children':_0x2d95d8(_0x47ccac(0x2eb),{'className':_0x47ccac(0x261),'children':[_0xd3e814[_0x47ccac(0x1cc)]((_0xcb51a6,_0x37170e)=>_0x2d95d8(_0x50b26f,{'children':[_0x181a71(Vs,{'date':_0xcb51a6['dateString']}),_0xcb51a6['versions'][_0x47ccac(0x1cc)]((_0x5c698,_0x347a4f)=>_0x181a71(ks,{'index':[_0x37170e,_0x347a4f],'item':_0x5c698},_0x37170e+'-'+_0x347a4f))]},_0xcb51a6[_0x47ccac(0x1da)])),_0x256dcb&&_0x181a71(Ls,{})]})}):_0x181a71($s,{});}function Ls(){const _0x320942=_0x4545b5;return _0x181a71(_0x320942(0x2eb),{'className':_0x320942(0x1f7),'children':_0x181a71(ae,{'className':_0x320942(0x2e7)})});}function $s(){const _0x403de9=_0x4545b5;return _0x181a71(_0x403de9(0x2eb),{'className':_0x403de9(0x2bc),'children':_0x181a71(_0x403de9(0x34e),{'className':'univer-text-gray-500','children':_0x181a71(ae,{'className':_0x403de9(0x30c)})})});}function Vs(_0x28bd80){const _0x361383=_0x4545b5,_0x33d75e=_0x15a1f0(_0x24a800),{date:_0x3dd7fd}=_0x28bd80;return _0x181a71('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','children':ee(_0x3dd7fd,_0x33d75e[_0x361383(0x285)]())});}function ks(_0x10a107){const _0x49ab78=_0x4545b5,{item:_0x2cf367,index:_0x3a34b0}=_0x10a107,{time:_0x3d51a8,user:_0x1d60ad}=_0x2cf367,[_0x75887a,_0x37dc1f]=_0x3a34b0,_0x54b733=_0x15a1f0(E),_0x14bea2=_0x249562(_0x54b733['currentVersion$'],'',!0x0)===_0x2cf367['id'],_0x4461e1=_0x75887a===0x0&&_0x37dc1f===0x0,_0x398f94=!_0x4461e1&&_0x54b733[_0x49ab78(0x36b)],_0x3c9272=_0x15a1f0(_0x24a800),_0x4ced43=_0x3c9272[_0x49ab78(0x285)](),_0x4ddd69=re(_0x3d51a8,_0x4ced43),_0x323856=_0x3c9272['t']('editHistory.panel.currentVersion'),_0x281334=_0x3cf014(_0x1468fa=>{const _0x2f7d9e=_0x49ab78;_0x54b733[_0x2f7d9e(0x25c)]!==T[_0x2f7d9e(0x1fa)]&&(_0x54b733['currentVersion']=_0x1468fa);},[_0x54b733]),_0x1e4ef6=_0x3cf014(_0x2bd99b=>{_0x54b733['triggerRevert'](_0x2bd99b);},[_0x54b733]);return _0x2d95d8('div',{'className':_0xf4d8ec('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':_0x14bea2}),'onClick':()=>_0x281334(_0x2cf367['id']),'children':[_0x2d95d8(_0x49ab78(0x2eb),{'className':'univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','children':[_0x2d95d8(_0x49ab78(0x2eb),{'className':_0x49ab78(0x2d4),'children':[_0x181a71(_0x49ab78(0x34e),{'children':_0x4ddd69['time']}),_0x4461e1&&_0x181a71(_0x49ab78(0x34e),{'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':_0x323856})]}),_0x181a71(_0x49ab78(0x2eb),{'children':_0x398f94&&_0x181a71(_0x191834,{'title':_0x3c9272['t'](_0x49ab78(0x234)),'children':_0x181a71(_0x49ab78(0x2eb),{'onClick':_0x259115=>{const _0x52e4e4=_0x49ab78;_0x259115[_0x52e4e4(0x2ca)](),_0x1e4ef6(_0x2cf367['id']);},'className':_0x49ab78(0x268),'children':_0x181a71(Le,{})})})})]}),_0x181a71(_0x49ab78(0x2eb),{'className':_0x49ab78(0x367),'children':os(_0x2cf367,_0x3c9272)})]});}var Us=Object['getOwnPropertyDescriptor'],xs=(_0x32305d,_0x4df5c6,_0x2b4e37,_0x58ad5c)=>{for(var _0x41e452=_0x58ad5c>0x1?void 0x0:_0x58ad5c?Us(_0x4df5c6,_0x2b4e37):_0x4df5c6,_0xbcb8a4=_0x32305d['length']-0x1,_0x43857f;_0xbcb8a4>=0x0;_0xbcb8a4--)(_0x43857f=_0x32305d[_0xbcb8a4])&&(_0x41e452=_0x43857f(_0x41e452)||_0x41e452);return _0x41e452;},k=(_0x4b071e,_0x2e4a30)=>(_0x28b6d7,_0x403af1)=>_0x2e4a30(_0x28b6d7,_0x403af1,_0x4b071e);const de=_0x4545b5(0x29d);let j=class extends _0x362c85{constructor(_0x26b4e1,_0x4076e6,_0x20c08e,_0x18b697){const _0x8c4a44=_0x4545b5;super(),l(this,'_sidebarDisposable',null),(this['_sidebarService']=_0x26b4e1,this[_0x8c4a44(0x26e)]=_0x4076e6,this[_0x8c4a44(0x32d)]=_0x20c08e,this[_0x8c4a44(0x2ea)]=_0x18b697,this[_0x8c4a44(0x1cd)]());}['_init'](){const _0x203293=_0x4545b5;this[_0x203293(0x24d)](),this[_0x203293(0x243)]();}[_0x4545b5(0x243)](){const _0x3d1bd7=_0x4545b5;if(this[_0x3d1bd7(0x2f6)])return;const _0x2b4415={'header':{'title':this['_localeService']['t']('editHistory.panel.title')},'children':{'label':de},'onClose':()=>{const _0x54c2b4=_0x3d1bd7;this[_0x54c2b4(0x2f6)]=null,this[_0x54c2b4(0x2ea)]['status']=ne[_0x54c2b4(0x1dd)];}};this['_sidebarDisposable']=this[_0x3d1bd7(0x346)]['open']({..._0x2b4415});}[_0x4545b5(0x24d)](){const _0xb34bde=_0x4545b5;this['disposeWithMe'](this[_0xb34bde(0x26e)][_0xb34bde(0x1e1)](de,Ts)),this[_0xb34bde(0x1e3)](this[_0xb34bde(0x346)][_0xb34bde(0x2e8)][_0xb34bde(0x242)](_0x3cf76c(0x64))[_0xb34bde(0x2a6)](_0x44e9fd=>{const _0xe8be14=_0xb34bde,{target:_0x446412}=_0x44e9fd||{};if(_0x446412){const {scrollTop:_0x17b966,scrollHeight:_0x2d96ad,clientHeight:_0x4ec340}=_0x446412;_0x17b966+_0x4ec340>=_0x2d96ad-0x5&&this[_0xe8be14(0x2ea)][_0xe8be14(0x1b9)]();}}));}};j=xs([k(0x0,_0xf89d12),k(0x1,_0x46eb52(_0x17a581)),k(0x2,_0x46eb52(_0x24a800)),k(0x3,_0x46eb52(E))],j);class Hs extends _0x362c85{constructor(){const _0x27be27=_0x4545b5;super(),l(this,_0x27be27(0x275),new _0x1fc9e2());}[_0x4545b5(0x31a)](){return _0x2693b2(()=>{});}['close'](){}['closeAll'](_0x179714){}['getDialogs$'](){const _0x4b6fe3=_0x4545b5;return this[_0x4b6fe3(0x275)][_0x4b6fe3(0x26f)]();}}var Fs=Object['defineProperty'],Ys=Object[_0x4545b5(0x2d9)],Bs=(_0x5f21e1,_0x2e747d,_0x5906ce)=>_0x2e747d in _0x5f21e1?Fs(_0x5f21e1,_0x2e747d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5906ce}):_0x5f21e1[_0x2e747d]=_0x5906ce,js=(_0x5528ca,_0x3b458b,_0x255a4f,_0x33698b)=>{const _0x3525ca=_0x4545b5;for(var _0x145912=_0x33698b>0x1?void 0x0:_0x33698b?Ys(_0x3b458b,_0x255a4f):_0x3b458b,_0xdef841=_0x5528ca[_0x3525ca(0x1f9)]-0x1,_0x250b62;_0xdef841>=0x0;_0xdef841--)(_0x250b62=_0x5528ca[_0xdef841])&&(_0x145912=_0x250b62(_0x145912)||_0x145912);return _0x145912;},J=(_0xee7378,_0x460b6f)=>(_0x307389,_0x2565d2)=>_0x460b6f(_0x307389,_0x2565d2,_0xee7378),As=(_0x86f718,_0x3d82f8,_0x3d6d05)=>Bs(_0x86f718,_0x3d82f8+'',_0x3d6d05);const Ws=_0x4545b5(0x248);let se=class extends _0x3405ec{constructor(_0x4c6b5d=_e,_0x2a7159,_0xc2801a,_0x1350ea){const _0xe02247=_0x4545b5;super(),this[_0xe02247(0x1e8)]=_0x4c6b5d,this[_0xe02247(0x1b6)]=_0x2a7159,this[_0xe02247(0x215)]=_0xc2801a,this[_0xe02247(0x1de)]=_0x1350ea;const {..._0xe805ad}=_0x18b8eb({},_e,this[_0xe02247(0x1e8)]);this[_0xe02247(0x1de)][_0xe02247(0x355)](we,_0xe805ad);}['onStarting'](){const _0x1f98cf=_0x4545b5;[[E],[B],[$],[Y],[j],[H],[_0x3a4c65,{'useClass':_0x3b9f87}],[_0x40d55e,{'useClass':Hs}],[_0x261a63,{'useClass':_0x14765c}]][_0x1f98cf(0x303)](_0x4fda2c=>this['_injector'][_0x1f98cf(0x221)](_0x4fda2c)),this[_0x1f98cf(0x1b6)][_0x1f98cf(0x284)](B);}[_0x4545b5(0x25a)](){const _0x5aa7aa=_0x4545b5;[[te]][_0x5aa7aa(0x303)](_0x3f73da=>{const _0x453905=_0x5aa7aa;this['disposeWithMe'](this[_0x453905(0x215)]['registerRenderModule'](_0x3490af[_0x453905(0x1d2)],_0x3f73da));}),this[_0x5aa7aa(0x1b6)]['get'](H),this[_0x5aa7aa(0x1b6)][_0x5aa7aa(0x284)](j);}[_0x4545b5(0x1fd)](){const _0x34c968=_0x4545b5;this[_0x34c968(0x1b6)][_0x34c968(0x284)]($);}};As(se,_0x4545b5(0x265),Ws),se=js([_0x3528c6(_0x598266,_0x32016d),J(0x1,_0x46eb52(_0x5de72a)),J(0x2,_0x22ce8e),J(0x3,_0x397e5e)],se);export{E as HistoryManagerService,ne as HistoryModeStatus,se as UniverEditHistoryViewerPlugin};
1
+ const _0x41ba85=_0x61ef;(function(_0x4a8846,_0x23b9ed){const _0x1b8412=_0x61ef,_0x546125=_0x4a8846();while(!![]){try{const _0x313989=parseInt(_0x1b8412(0x160))/0x1+-parseInt(_0x1b8412(0xea))/0x2*(parseInt(_0x1b8412(0xeb))/0x3)+parseInt(_0x1b8412(0x1b0))/0x4*(-parseInt(_0x1b8412(0x216))/0x5)+-parseInt(_0x1b8412(0xd0))/0x6*(parseInt(_0x1b8412(0xde))/0x7)+parseInt(_0x1b8412(0x12b))/0x8*(parseInt(_0x1b8412(0x101))/0x9)+parseInt(_0x1b8412(0x173))/0xa+parseInt(_0x1b8412(0x19d))/0xb*(parseInt(_0x1b8412(0x1be))/0xc);if(_0x313989===_0x23b9ed)break;else _0x546125['push'](_0x546125['shift']());}catch(_0x2a4c2c){_0x546125['push'](_0x546125['shift']());}}}(_0x2590,0x5c665));var Fe=Object[_0x41ba85(0x172)],Ye=(_0x36ff02,_0x32bdda,_0x1eca66)=>_0x32bdda in _0x36ff02?Fe(_0x36ff02,_0x32bdda,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1eca66}):_0x36ff02[_0x32bdda]=_0x1eca66,l=(_0x71c7fb,_0x340779,_0x56ef1a)=>Ye(_0x71c7fb,typeof _0x340779!=_0x41ba85(0x210)?_0x340779+'':_0x340779,_0x56ef1a);import{RevertRevisionMutation as _0x32a0c4,CreateUnitMutation as _0x8d01c6,ISnapshotServerService as _0x908af1,CompressMutationService as _0x134f2d,transformSnapshotToWorkbookData as _0x2dca93,ITransformService as _0x3c79f6,parseProtocolChangeset as _0x1fdc8a,isTransformMutationsSuccess as _0xff2e41}from'@univerjs-pro/collaboration';import{SnapshotServerOverHTTPService as _0x3da349,CollaborationImageIoService as _0x3c3f52}from'@univerjs-pro/collaboration-client';import{Disposable as _0x40327d,LocaleType as _0x4d070c,IUniverInstanceService as _0x193cfc,ICommandService as _0x260d10,IConfigService as _0x403f22,Inject as _0x4f81be,UniverInstanceType as _0x123f4a,LocaleService as _0x4c63a5,IPermissionService as _0x1d5bd2,Injector as _0x35402c,ObjectMatrix as _0x333dad,debounce as _0x1e6c60,DisposableCollection as _0x1db468,toDisposable as _0x375bcb,DependentOn as _0x43b14a,Plugin as _0x212788,merge as _0x5d38ea}from'@univerjs/core';import{IImageIoService as _0x1a2447}from'@univerjs/drawing';import{IRenderManagerService as _0x17b882,Vector2 as _0x1dd855,SHEET_VIEWPORT_KEY as _0x2b21a1}from'@univerjs/engine-render';import{HTTPService as _0x2b0173,UniverNetworkPlugin as _0x424b43}from'@univerjs/network';import{ICellEditorManagerService as _0x39fa38,SheetSkeletonManagerService as _0x5e6bd2,getCoordByCell as _0x5ef0a7,getSheetObject as _0x5e71ca,UniverSheetsUIPlugin as _0xc97d6}from'@univerjs/sheets-ui';import{IMessageService as _0xa86b0,IConfirmService as _0x4b46b,useDependency as _0x34193d,useObservable as _0x2e3f3b,IUIPartsService as _0x5f4a72,BuiltInUIPart as _0x33af2e,connectInjector as _0x2f5ce2,ISidebarService as _0x23af6a,ComponentManager as _0x56619a,IDialogService as _0x4736eb}from'@univerjs/ui';import{MessageType as _0xb0b4a,clsx as _0x498ce4,Button as _0x327f1d,borderBottomClassName as _0x2e30b5,Tooltip as _0x3d2852}from'@univerjs/design';import{InsertSheetMutation as _0x8d8adc,RemoveSheetMutation as _0x2e2429,SetFrozenMutation as _0x4f9173,AddWorksheetProtectionMutation as _0x4d86d8,AddRangeProtectionMutation as _0x240285,DeleteRangeProtectionMutation as _0x246fa7,DeleteWorksheetProtectionMutation as _0x5ed5e8,SheetPermissionInitController as _0x5da0a1,WorkbookEditablePermission as _0x5be3c8,WorkbookRenameSheetPermission as _0x136679,WorkbookMoveSheetPermission as _0x32eccc,WorkbookHideSheetPermission as _0x5547d5,SetWorksheetHideMutation as _0x5cd61d,SetRangeValuesMutation as _0x33853d,SetRangeProtectionMutation as _0x45535d,ReorderRangeMutation as _0x119c77,RemoveNumfmtMutation as _0x103fac,SetNumfmtMutation as _0x31573a,MoveColsMutation as _0x3010e1,MoveRowsMutation as _0x6b65a9,MoveRangeMutation as _0x176f33,InsertColMutation as _0x256181,InsertRowMutation as _0x13421f,AddWorksheetMergeMutation as _0x2250ca,RangeMergeUtil as _0x4d9e9e,findAllRectangle as _0x404726,SetWorksheetActiveOperation as _0x545469}from'@univerjs/sheets';function _0x2590(){const _0x2174e1=['deleteProtection','sheetId','closeAll',':\x20(','YUUMI_AI_RUN_FAILED','LICENSE_DISTRO_REJECTED','MoveWorksheet','_combineRanges','HideWorksheet','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','1000','subUnitId','_getRangesByMutation','567024RcuUbK','_uiPartsService','Exited','_univerInstanceService','then','from','fetchMissingChangesets','cellValue','querySelector','SelectUnProtectedCells','zIndex','Sort','displayName','_historyFetchService','currentColor','_hasMore','showMask','INVITE_CODE_REQUIRED','CopySheet','YUUMI_SUBSCRIPTION_NOT_FOUND','startRevision','0\x200\x2016\x2016','stopPropagation','USER_NOT_INVITED_CODE','back-icon','getCurrentLocale','action','changesets','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','append','Print','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','LICENSE_EXPORT_SIZE_EXCEEDED','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','univer-m-auto\x20univer-animate-spin','editHistory.panel.revertConfirm','pluginName','disposeUnit','memberId','univer-text-gray-500','COMPLETION_FINISHED','Duplicate','univer-ml-2.5\x20univer-flex\x20univer-h-8\x20univer-w-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','APPLY_DUPLICATED','onSteady','1em','_loadingState$','loadingState$','white','values','getOwnPropertyDescriptor','_sidebarDisposable','triggerRevert','rgba(58,\x2096,\x20247,\x200.20)','push','apply','body','column','editHistory.panel.listFetchError','length','loadingState','concat','editHistory.header.revert','loadSheet','subType','_init','ManageCollaborator','className','history-mask','fetchThroughInterceptors','tag','FromArray','_localeService','Export','onPointerMove$','EditExtraObject','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','http://www.w3.org/2000/svg','attrs','currentVersionDiff$','_sidebarService','loading-multi-icon','symbol','&lastLabel=','currentVersion$','Share','YUUMI_ASYNCIO_CANCELLED','url(#restore-icon_clip0_1247_2)','590VwRPBy','RenameWorksheet','editHistory.panel.currentUser','onStarting','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','current','loadMoreVersions','UniverIcon','InsertRow','split','show','TOO_MANY_REQUESTS','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','_openPanel','get','SetCellStyle','url(#$1','SetColumnStyle','xlink:href','keys','_historyContainerId','call','function','startColumn','date','justifyContent','mutations','width','range','_versionDiffService','APPLY_NON_SEQUENTIAL_REVISION','_lastPointer','/list?length=20','hidden','prototype','_componentManager','CONNECTOR_DATA_TOO_LARGE','getHours','SNAPSHOT_INVALID_SNAPSHOT','anonymous','restore-icon','none','YUUMI_NO_CUBOID_FOR_QUESTION','VIEW_MAIN','LICENSE_MAX_UNITS_EXCEEDED','INVALID_INVITE_CODE','state$','createUnit','register','_permissionService','display','setConfig','PERMISSION_DENIED','userId','unitId','getOwnPropertySymbols','entities','editSheet','UNIVER_SHEET','versions','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','status','_httpService','entries','getMember','rules','INVITE_CODE_HAS_BEEN_UES','defIds','user','History','bottom','code','string','path','DeleteRow','endColumn','_commandService','editHistory.panel.unknownUser','_removeDiffMarks','recoverTime','backgroundColor','RwHgtClWdt','UNIVER_UNKNOWN','endRev','endRow','univer-overflow-hidden','toString','BackIcon','RenameSheet','some','UNAUTHENTICATED','canRevert','YUUMI_ALL_TABLES_IS_INVALID','editHistory.panel.revertDesc','status$','_sheetSkeletonManagerService','error','_workbookDataCache','UNIVER_SLIDE','entered','_injector','editHistory.panel.cancel','EditWorksheetCell','span','CreatePermissionObject','COMPRESS_MUTATION_APPLY','history-panel','Comment','INVITE_CODE_ALREADY_BOUND','scrollEvent$','MOBILE_VERIFY_CODE_MISMATCH','createSheet','/universer-api/history','row','setDV','LICENSE_IMPORT_SIZE_EXCEEDED','unitId$','flex','sheet','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','334626giowcL','ViewHistory','getInterceptPoints','icon','idSuffix','colorChannel1','includes','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','_cellEditorManagerService','versions$','block','has','ZH_CN','active','77nsLYBg','flat','skeleton','_lastLabel','data','HideSheet','View','registerRenderModule','_renderManagerService','toISOString','blockMeta','style','1554tCRHjs','1083DiLyHw','dispose','Copy','INVALID_ARGUMENT','permissionPointUpdate$','APPLY_REJECT','asObservable','set','FloatImg','InsertHyperlink','getCurrentVersion','subscribe','EMAIL_VERIFY_CODE_MISMATCH','getDialogs$','SetRowStyle','disposeWithMe','UNIVER_PROJECT','_dialogOptions$','substring','Loading','_transformMutationByOrder','workbook','148572hPeWTY','interceptor','editHistory.action.etc','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','onRendered','startRow','_members','_messageService','ALREADY_EXISTS','triggerLoadSheet','edit-history-viewer.config','command','univer-flex\x20univer-items-center\x20univer-justify-center','DeleteWorksheet','SetWorksheetStyle','find','merge','_maskContainer','_currentVersion$','NOT_FOUND','#0B9EFB','loaded','next','editHistory.action.','SelectProtectedCells','rev','ranges','WECHAT_HAS_BEEN_BOUND','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','params','_diffs','_config','setFilter','addSparkline','getVersion','position','_updateDiffMarks','use','MOBILE_HAS_BEEN_BOUND','registerComponent','Filter','120foSFKG','_fetching','_snapshotServerService','rgba(225,\x20225,\x20225,\x200.5)','getUnitOnRev','users','PY_RUNTIME_SCRIPT_ERROR','_maskElement','subscribeEvent','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','DeleteColumn','svg','updatePermissionPoint','_initActiveSwitch','parse','add','ENSURE_SNAPSHOT_EXECUTION','Delete','_createMask','left','SetCellValue','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_sheetPermissionInitController','getVersions','evenodd','Loaded','_initPanel','rect','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getCurrent','createTime','clear','Entered','refreshRangeProtectPermission','.univer-app-container-content','name','univer-text-2xl\x20dark:univer-text-white','setCF','EMAIL_HAS_BEEN_BOUND','endRevision','_transformService','trim','color','insertSheet','getCurrentUnitForType','time','children','Edit','fill','getViewport','triggerLoadVersions','map','padStart','728751sxujjT','reduce','_diffRangesMap','focusUnit','UNDEFINED','currentSkeleton$','_extractRanges','Init','exited','APPLY_REVISION_CONFILICT','Error','hasOwnProperty','YUUMI_CONNECTOR_URL_NOT_FOUND','forEach','div','_revertRevision$','init','getMinutes','defineProperty','4028040UEFMjT','PivotTable','univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','commands','LoadingMultiIcon','SNAPSHOT_HAS_BEEN_REMOVED','hideMask','ViemRwHgtClWdt','editHistory.panel.title','editHistory.panel.currentVersion','defs','YUUMI_UNABLE_LOAD_URL','extend','hasCommand','DeleteSheet','[HistoryFetchService]:\x20request\x20snapshot\x20error!','_status$','value','pipe','INTERNAL_ERROR','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','_getAPIPrefix','LOGIN_FAILED','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','_configService','_initRender','syncExecuteCommand','getCellPositionByOffset','forValue','top','_getActiveSubUnitId','_versions$','addObjects','YUUMI_URL_COL_OUT_OF_RANGE','_compressMutationService','_historyManagerService','getUnitId','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getElementById','Today','executeCommand','InsertColumn','88kbFwLQ','setValue','indexOf','random','ensureVersion','rule','editHistory.info.loading','_unitId$','_initMaskContainer','_getSheetObject','filter','_canRevert','_createUnit','UNRECOGNIZED','_currentVersionDiff$','loading','assign','APPLY_PERMISSION_DENIED','_context','16432DqXQPd'];_0x2590=function(){return _0x2174e1;};return _0x2590();}import{BehaviorSubject as _0x4c7e09,combineLatest as _0x201e91,switchMap as _0x99703d,map as _0x1ad9b3,of as _0x3f9446,debounceTime as _0x26061b,Subject as _0x18f5e0}from'rxjs';import{AddSheetSparklineMutation as _0x106422}from'@univerjs-pro/sheets-sparkline';import{AddDataValidationMutation as _0x5a95cf,UpdateDataValidationMutation as _0x53d4cd}from'@univerjs/data-validation';import{SetConditionalRuleMutation as _0xd1157c,AddConditionalRuleMutation as _0x6c46df}from'@univerjs/sheets-conditional-formatting';import{SetSheetsFilterRangeMutation as _0x4ce04c}from'@univerjs/sheets-filter';import{jsxs as _0x5bccf3,jsx as _0x5a62cd}from'react/jsx-runtime';import{forwardRef as _0x1afff1,useRef as _0x3fbac3,createElement as _0x32bd31,useCallback as _0x2f12f4,useState as _0x4345c0,Fragment as _0x51852b}from'react';import{SheetCollabCursorShape as _0x1c3b65}from'@univerjs-pro/collaboration-client-ui';const we=_0x41ba85(0x10b),_e={};var is=Object[_0x41ba85(0x1f0)],rs=(_0x443cec,_0x4f0151,_0x33cbc7,_0x2da81b)=>{const _0x1875b6=_0x41ba85;for(var _0x71017a=_0x2da81b>0x1?void 0x0:_0x2da81b?is(_0x4f0151,_0x33cbc7):_0x4f0151,_0x41b7d6=_0x443cec[_0x1875b6(0x1f9)]-0x1,_0x3e5ede;_0x41b7d6>=0x0;_0x41b7d6--)(_0x3e5ede=_0x443cec[_0x41b7d6])&&(_0x71017a=_0x3e5ede(_0x71017a)||_0x71017a);return _0x71017a;},ns=(_0x1ae020,_0x48e22c)=>(_0x418acc,_0x3bbe47)=>_0x48e22c(_0x418acc,_0x3bbe47,_0x1ae020);let H=class extends _0x40327d{constructor(_0x3c1dbd){const _0x2b9880=_0x41ba85;super(),this[_0x2b9880(0xd8)]=_0x3c1dbd,this['_init']();}['_init'](){const _0x1cb59e=_0x41ba85;this['disposeWithMe'](this[_0x1cb59e(0xd8)][_0x1cb59e(0x244)]['subscribe'](_0x2f6f23=>{const _0x334837=_0x1cb59e;_0x2f6f23!=null&&_0x2f6f23['show']&&this[_0x334837(0xd8)]['setState']({'show':!0x1});}));}};H=rs([ns(0x0,_0x39fa38)],H);var X=(_0x515a03=>(_0x515a03[_0x515a03[_0x41ba85(0x164)]=0x0]='UNDEFINED',_0x515a03[_0x515a03['OK']=0x1]='OK',_0x515a03[_0x515a03[_0x41ba85(0x186)]=0x2]=_0x41ba85(0x186),_0x515a03[_0x515a03[_0x41ba85(0x24a)]=0x3]=_0x41ba85(0x24a),_0x515a03[_0x515a03['NOT_FOUND']=0x4]=_0x41ba85(0x114),_0x515a03[_0x515a03['UNAUTHENTICATED']=0x5]=_0x41ba85(0x270),_0x515a03[_0x515a03[_0x41ba85(0x109)]=0x6]=_0x41ba85(0x109),_0x515a03[_0x515a03[_0x41ba85(0xee)]=0x7]=_0x41ba85(0xee),_0x515a03[_0x515a03['TOO_MANY_REQUESTS']=0x8]=_0x41ba85(0x221),_0x515a03[_0x515a03[_0x41ba85(0x1e6)]=0x9]=_0x41ba85(0x1e6),_0x515a03[_0x515a03[_0x41ba85(0x189)]=0xa]=_0x41ba85(0x189),_0x515a03[_0x515a03['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x41ba85(0xc6),_0x515a03[_0x515a03[_0x41ba85(0x198)]=0xc]=_0x41ba85(0x198),_0x515a03[_0x515a03[_0x41ba85(0xf7)]=0xd]=_0x41ba85(0xf7),_0x515a03[_0x515a03[_0x41ba85(0x11e)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x515a03[_0x515a03['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x515a03[_0x515a03[_0x41ba85(0x23c)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x515a03[_0x515a03[_0x41ba85(0x178)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x515a03[_0x515a03[_0x41ba85(0x13b)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x515a03[_0x515a03[_0x41ba85(0xf0)]=0x1b59]=_0x41ba85(0xf0),_0x515a03[_0x515a03[_0x41ba85(0x234)]=0x1b5a]=_0x41ba85(0x234),_0x515a03[_0x515a03[_0x41ba85(0x169)]=0x1b5b]=_0x41ba85(0x169),_0x515a03[_0x515a03[_0x41ba85(0x1ae)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x515a03[_0x515a03[_0x41ba85(0x1e9)]=0x1b5d]='APPLY_DUPLICATED',_0x515a03[_0x515a03[_0x41ba85(0x23a)]=0x1f41]=_0x41ba85(0x23a),_0x515a03[_0x515a03[_0x41ba85(0x242)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x515a03[_0x515a03['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x41ba85(0x104),_0x515a03[_0x515a03['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x41ba85(0xcb),_0x515a03[_0x515a03['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x41ba85(0x1de),_0x515a03[_0x515a03[_0x41ba85(0x1b6)]=0x232d]=_0x41ba85(0x1b6),_0x515a03[_0x515a03[_0x41ba85(0x17e)]=0x2711]=_0x41ba85(0x17e),_0x515a03[_0x515a03[_0x41ba85(0x194)]=0x2712]=_0x41ba85(0x194),_0x515a03[_0x515a03['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x515a03[_0x515a03[_0x41ba85(0x1d1)]=0x2714]=_0x41ba85(0x1d1),_0x515a03[_0x515a03[_0x41ba85(0x240)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x515a03[_0x515a03['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x41ba85(0x214),_0x515a03[_0x515a03[_0x41ba85(0x140)]=0x271c]=_0x41ba85(0x140),_0x515a03[_0x515a03[_0x41ba85(0x272)]=0x271d]=_0x41ba85(0x272),_0x515a03[_0x515a03['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x41ba85(0x134),_0x515a03[_0x515a03[_0x41ba85(0x1b5)]=0x271f]=_0x41ba85(0x1b5),_0x515a03[_0x515a03[_0x41ba85(0x16c)]=0x2720]=_0x41ba85(0x16c),_0x515a03[_0x515a03[_0x41ba85(0x131)]=0x2af9]=_0x41ba85(0x131),_0x515a03[_0x515a03[_0x41ba85(0x258)]=0x2ee1]=_0x41ba85(0x258),_0x515a03[_0x515a03[_0x41ba85(0x243)]=0x2ee2]='INVALID_INVITE_CODE',_0x515a03[_0x515a03[_0x41ba85(0x1cf)]=0x2ee3]=_0x41ba85(0x1cf),_0x515a03[_0x515a03[_0x41ba85(0x1d5)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x515a03[_0x515a03[_0x41ba85(0x282)]=0x2ee5]=_0x41ba85(0x282),_0x515a03[_0x515a03[_0x41ba85(0x11c)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x515a03[_0x515a03[_0x41ba85(0x128)]=0x32ca]=_0x41ba85(0x128),_0x515a03[_0x515a03[_0x41ba85(0x151)]=0x32cb]=_0x41ba85(0x151),_0x515a03[_0x515a03[_0x41ba85(0x1aa)]=-0x1]=_0x41ba85(0x1aa),_0x515a03))(X||{}),F=(_0xdc1a2=>(_0xdc1a2[_0xdc1a2['UNIVER_UNKNOWN']=0x0]=_0x41ba85(0x268),_0xdc1a2[_0xdc1a2['UNIVER_DOC']=0x1]='UNIVER_DOC',_0xdc1a2[_0xdc1a2[_0x41ba85(0x250)]=0x2]='UNIVER_SHEET',_0xdc1a2[_0xdc1a2[_0x41ba85(0x278)]=0x3]=_0x41ba85(0x278),_0xdc1a2[_0xdc1a2['UNIVER_PROJECT']=0x4]=_0x41ba85(0xfb),_0xdc1a2[_0xdc1a2['UNRECOGNIZED']=-0x1]=_0x41ba85(0x1aa),_0xdc1a2))(F||{}),D=(_0x4292e0=>(_0x4292e0[_0x4292e0[_0x41ba85(0xe4)]=0x0]=_0x41ba85(0xe4),_0x4292e0[_0x4292e0['Edit']=0x1]=_0x41ba85(0x15a),_0x4292e0[_0x4292e0[_0x41ba85(0x200)]=0x2]='ManageCollaborator',_0x4292e0[_0x4292e0['Print']=0x3]=_0x41ba85(0x1dc),_0x4292e0[_0x4292e0[_0x41ba85(0x1e7)]=0x4]='Duplicate',_0x4292e0[_0x4292e0[_0x41ba85(0x281)]=0x5]='Comment',_0x4292e0[_0x4292e0[_0x41ba85(0xed)]=0x6]=_0x41ba85(0xed),_0x4292e0[_0x4292e0[_0x41ba85(0x213)]=0x7]=_0x41ba85(0x213),_0x4292e0[_0x4292e0[_0x41ba85(0x207)]=0x8]=_0x41ba85(0x207),_0x4292e0[_0x4292e0['MoveWorksheet']=0x9]=_0x41ba85(0x1b7),_0x4292e0[_0x4292e0[_0x41ba85(0x10e)]=0xa]=_0x41ba85(0x10e),_0x4292e0[_0x4292e0[_0x41ba85(0x1b9)]=0xb]=_0x41ba85(0x1b9),_0x4292e0[_0x4292e0[_0x41ba85(0x217)]=0xc]=_0x41ba85(0x217),_0x4292e0[_0x4292e0['CreateWorksheet']=0xd]='CreateWorksheet',_0x4292e0[_0x4292e0[_0x41ba85(0x10f)]=0xe]='SetWorksheetStyle',_0x4292e0[_0x4292e0[_0x41ba85(0x27c)]=0xf]=_0x41ba85(0x27c),_0x4292e0[_0x4292e0[_0x41ba85(0xf4)]=0x10]=_0x41ba85(0xf4),_0x4292e0[_0x4292e0['Sort']=0x11]=_0x41ba85(0x1c9),_0x4292e0[_0x4292e0[_0x41ba85(0x12a)]=0x12]=_0x41ba85(0x12a),_0x4292e0[_0x4292e0[_0x41ba85(0x174)]=0x13]=_0x41ba85(0x174),_0x4292e0[_0x4292e0[_0x41ba85(0xf3)]=0x14]=_0x41ba85(0xf3),_0x4292e0[_0x4292e0[_0x41ba85(0x25b)]=0x15]='History',_0x4292e0[_0x4292e0[_0x41ba85(0x267)]=0x16]=_0x41ba85(0x267),_0x4292e0[_0x4292e0[_0x41ba85(0x17a)]=0x17]=_0x41ba85(0x17a),_0x4292e0[_0x4292e0['ViewFilter']=0x18]='ViewFilter',_0x4292e0[_0x4292e0['MoveSheet']=0x19]='MoveSheet',_0x4292e0[_0x4292e0[_0x41ba85(0x181)]=0x1a]=_0x41ba85(0x181),_0x4292e0[_0x4292e0[_0x41ba85(0xe3)]=0x1b]='HideSheet',_0x4292e0[_0x4292e0[_0x41ba85(0x1d0)]=0x1c]=_0x41ba85(0x1d0),_0x4292e0[_0x4292e0[_0x41ba85(0x26e)]=0x1d]='RenameSheet',_0x4292e0[_0x4292e0['CreateSheet']=0x1e]='CreateSheet',_0x4292e0[_0x4292e0[_0x41ba85(0x119)]=0x1f]='SelectProtectedCells',_0x4292e0[_0x4292e0['SelectUnProtectedCells']=0x20]=_0x41ba85(0x1c7),_0x4292e0[_0x4292e0[_0x41ba85(0x225)]=0x21]=_0x41ba85(0x225),_0x4292e0[_0x4292e0['SetCellValue']=0x22]=_0x41ba85(0x13f),_0x4292e0[_0x4292e0[_0x41ba85(0xf9)]=0x23]=_0x41ba85(0xf9),_0x4292e0[_0x4292e0[_0x41ba85(0x227)]=0x24]=_0x41ba85(0x227),_0x4292e0[_0x4292e0[_0x41ba85(0x21e)]=0x25]=_0x41ba85(0x21e),_0x4292e0[_0x4292e0[_0x41ba85(0x19c)]=0x26]='InsertColumn',_0x4292e0[_0x4292e0['DeleteRow']=0x27]=_0x41ba85(0x260),_0x4292e0[_0x4292e0['DeleteColumn']=0x28]=_0x41ba85(0x135),_0x4292e0[_0x4292e0[_0x41ba85(0x209)]=0x29]=_0x41ba85(0x209),_0x4292e0[_0x4292e0[_0x41ba85(0x13c)]=0x2a]='Delete',_0x4292e0[_0x4292e0['RecoverHistory']=0x2b]='RecoverHistory',_0x4292e0[_0x4292e0['ViewHistory']=0x2c]=_0x41ba85(0xd1),_0x4292e0[_0x4292e0['CreatePermissionObject']=0x2d]=_0x41ba85(0x27e),_0x4292e0[_0x4292e0[_0x41ba85(0x1aa)]=-0x1]='UNRECOGNIZED',_0x4292e0))(D||{});function as(_0x1516a4){const _0x5ce2d2=_0x41ba85;return!!(_0x1516a4&&_0x1516a4[_0x5ce2d2(0x25d)]&&_0x1516a4[_0x5ce2d2(0x25d)]!==X['OK']&&_0x1516a4[_0x5ce2d2(0x25d)]!=='OK');}const re=(_0x44fa29,_0x2f5e20)=>{const _0x2b0ea4=_0x41ba85;if(!_0x44fa29)return{'date':'','time':''};const _0x25cdfb=new Date(_0x44fa29),_0x289552=_0x25cdfb[_0x2b0ea4(0xe7)]()[_0x2b0ea4(0x21f)]('T')[0x0];switch(_0x2f5e20){case _0x4d070c[_0x2b0ea4(0xdc)]:return{'date':ee(_0x289552,_0x2f5e20),'time':_0x25cdfb[_0x2b0ea4(0x23b)]()+':'+String(_0x25cdfb[_0x2b0ea4(0x171)]())[_0x2b0ea4(0x15f)](0x2,'0')};default:return{'date':ee(_0x289552,_0x2f5e20),'time':_0x25cdfb[_0x2b0ea4(0x23b)]()+':'+_0x25cdfb['getMinutes']()};}},os=(_0x4c17fc,_0x372d47)=>{const _0x58a4f1=_0x41ba85,_0x4320fa=_0x4c17fc[_0x58a4f1(0x25a)]||_0x372d47['t'](_0x58a4f1(0x263));if(_0x4c17fc['commands'][_0x58a4f1(0x26f)](_0x4d60a2=>_0x4d60a2===_0x32a0c4['id'])&&_0x4c17fc['recoverTime']){const _0x1aaec7=re(_0x4c17fc[_0x58a4f1(0x265)],_0x372d47[_0x58a4f1(0x1d7)]()),_0x5e15a7=_0x1aaec7[_0x58a4f1(0x22e)]+'\x20'+_0x1aaec7[_0x58a4f1(0x158)];return _0x4320fa+'\x20'+_0x372d47['t']('editHistory.action.revertSheetPrefix')+'\x20'+_0x5e15a7+'\x20'+_0x372d47['t']('editHistory.action.revertSheetSuffix');}const _0x576cd3=cs(_0x4c17fc),_0x21547e=_0x576cd3[_0x58a4f1(0x1f9)]===0x1?_0x372d47['t'](_0x576cd3[0x0]):''+_0x372d47['t'](_0x576cd3[0x0])+_0x372d47['t'](_0x58a4f1(0x103));return _0x4320fa+'\x20'+_0x21547e;};function cs(_0x407d0f){const _0x49b6bc=_0x41ba85;if(_0x407d0f[_0x49b6bc(0x176)]['length']===0x0)return[''];const _0x1f5886=_0x49b6bc(0x118),_0x378f32=_0x1f5886+_0x49b6bc(0x24f),_0x352922=[{'id':_0x8d01c6['id'],'action':_0x1f5886+_0x49b6bc(0xc7)},{'id':_0x32a0c4['id'],'action':_0x1f5886+'revertSheet'},{'id':_0x8d8adc['id'],'action':_0x1f5886+_0x49b6bc(0x156)},{'id':_0x2e2429['id'],'action':_0x1f5886+'removeSheet'},{'id':_0x4f9173['id'],'action':_0x1f5886+'setFrozen'},{'id':_0x4ce04c['id'],'action':_0x1f5886+_0x49b6bc(0x122)},{'id':_0x5a95cf['id'],'action':_0x1f5886+_0x49b6bc(0xca)},{'id':_0x53d4cd['id'],'action':_0x1f5886+_0x49b6bc(0xca)},{'id':_0xd1157c['id'],'action':_0x1f5886+_0x49b6bc(0x150)},{'id':_0x6c46df['id'],'action':_0x1f5886+_0x49b6bc(0x150)},{'id':_0x4d86d8['id'],'action':_0x1f5886+'addProtection'},{'id':_0x240285['id'],'action':_0x1f5886+'addProtection'},{'id':_0x106422['id'],'action':_0x1f5886+_0x49b6bc(0x123)},{'id':_0x246fa7['id'],'action':_0x1f5886+_0x49b6bc(0x1b1)},{'id':_0x5ed5e8['id'],'action':_0x1f5886+_0x49b6bc(0x1b1)}]['filter'](_0x37879e=>_0x407d0f[_0x49b6bc(0x176)]['includes'](_0x37879e['id']));return _0x352922!=null&&_0x352922['length']?_0x352922['map'](_0x2abd3e=>_0x2abd3e[_0x49b6bc(0x1d8)]):[_0x378f32];}function ee(_0x556524,_0xe9984a){const _0x325401=_0x41ba85,[_0x3fa6b9,_0x3517ff,_0x1912e1]=new Date()[_0x325401(0xe7)]()[_0x325401(0x21f)]('T')[0x0][_0x325401(0x21f)]('-'),[_0x5ae035,_0x28b81f,_0xd7b9db]=_0x556524[_0x325401(0x21f)]('-'),_0x495b25=_0x3fa6b9===_0x5ae035&&_0x3517ff===_0x28b81f&&_0x1912e1===_0xd7b9db;let _0x3be4a7='',_0xc68752='',_0x91e187='';switch(_0xe9984a){case _0x4d070c['ZH_CN']:return _0x495b25?'今天':(_0x3be4a7=_0x3fa6b9===_0x5ae035?'':_0x5ae035+'年',_0xc68752=_0x28b81f+'月',_0x91e187=_0xd7b9db+'日',''+_0x3be4a7+_0xc68752+_0x91e187);default:return _0x495b25?_0x325401(0x19a):(_0x3be4a7=_0x3fa6b9===_0x5ae035?'':_0x5ae035+'-',_0xc68752=_0x28b81f+'-',_0x91e187=''+_0xd7b9db,''+_0x3be4a7+_0xc68752+_0x91e187);}}function ls(_0x133b00){const _0x46b39a=_0x41ba85;return _0x133b00?_0x133b00[_0x46b39a(0x161)]((_0x3eea94,_0x3da32f)=>{const _0x5f1808=_0x46b39a,_0x53f351=new Date(_0x3da32f[_0x5f1808(0x158)])[_0x5f1808(0xe7)]()[_0x5f1808(0x21f)]('T')[0x0];return _0x3eea94[_0x5f1808(0x1f9)]>0x0&&_0x3eea94[_0x3eea94[_0x5f1808(0x1f9)]-0x1]['dateString']===_0x53f351?_0x3eea94[_0x3eea94['length']-0x1][_0x5f1808(0x251)]['push'](_0x3da32f):_0x3eea94[_0x5f1808(0x1f4)]({'dateString':_0x53f351,'versions':[_0x3da32f]}),_0x3eea94;},[]):[];}var us=Object[_0x41ba85(0x1f0)],_s=(_0x54857e,_0x3ca8d9,_0x529e01,_0x22082f)=>{for(var _0xea8308=_0x22082f>0x1?void 0x0:_0x22082f?us(_0x3ca8d9,_0x529e01):_0x3ca8d9,_0x27d139=_0x54857e['length']-0x1,_0x49b3a8;_0x27d139>=0x0;_0x27d139--)(_0x49b3a8=_0x54857e[_0x27d139])&&(_0xea8308=_0x49b3a8(_0xea8308)||_0xea8308);return _0xea8308;},N=(_0x5bd9b2,_0x3e9ff3)=>(_0x209f32,_0x4bee93)=>_0x3e9ff3(_0x209f32,_0x4bee93,_0x5bd9b2);const hs=_0x41ba85(0xc8);let Y=class extends _0x40327d{constructor(_0x57bee9,_0x359cfd,_0x570720,_0x233cf,_0x466218,_0x3c8f60,_0x90cb81){const _0x5b0206=_0x41ba85;super(),l(this,_0x5b0206(0x277),new Map()),(this[_0x5b0206(0x12d)]=_0x57bee9,this[_0x5b0206(0x1c1)]=_0x359cfd,this[_0x5b0206(0x262)]=_0x570720,this[_0x5b0206(0x18b)]=_0x233cf,this[_0x5b0206(0x254)]=_0x466218,this[_0x5b0206(0x195)]=_0x3c8f60,this['_sheetPermissionInitController']=_0x90cb81);}[_0x41ba85(0xec)](){const _0x1e2ef1=_0x41ba85;this['_workbookDataCache'][_0x1e2ef1(0x14a)](),super['dispose']();}async['getVersions'](_0x4a52ae,_0x1ee029){const _0x2ca089=_0x41ba85,_0x3b0f5a=this[_0x2ca089(0x188)]()+'/'+_0x4a52ae+_0x2ca089(0x236)+(_0x1ee029?_0x2ca089(0x211)+_0x1ee029:'');try{const _0x5ccedb=(await this[_0x2ca089(0x254)][_0x2ca089(0x224)](_0x3b0f5a))[_0x2ca089(0x1f6)];if(_0x5ccedb&&_0x5ccedb[_0x2ca089(0x276)]&&_0x5ccedb[_0x2ca089(0x276)][_0x2ca089(0x25d)]===X['OK']){const {hasMore:_0x2d3cd7,lastLabel:_0x3146c7}=_0x5ccedb,_0x3f5d63=ds(_0x5ccedb),_0x37e012=_0x5ccedb[_0x2ca089(0x24e)][_0x2ca089(0x130)];return{'hasMore':_0x2d3cd7,'lastLabel':_0x3146c7,'versions':_0x3f5d63,'members':_0x37e012};}}catch(_0x10914a){console['error'](_0x10914a);}return null;}[_0x41ba85(0x188)](){const _0x21d31a=_0x41ba85;var _0x5c8903;const _0x179f19=this[_0x21d31a(0x18b)]['getConfig'](we);return(_0x5c8903=_0x179f19==null?void 0x0:_0x179f19['historyListServerUrl'])!=null?_0x5c8903:hs;}async[_0x41ba85(0x1fd)](_0x44d302,_0x318d54,_0x3d9149){const _0x47258b=_0x41ba85;var _0x5b4ee0,_0x2972a1;_0x3d9149===void 0x0&&(_0x3d9149={}),this[_0x47258b(0x277)]['has'](_0x44d302)||this[_0x47258b(0x277)][_0x47258b(0xf2)](_0x44d302,new Map());const {snapshot:_0x281a37,changesets:_0x5778b8,error:_0x446298}=await this[_0x47258b(0x12d)][_0x47258b(0x12f)](_0x3d9149,{'unitID':_0x44d302,'type':F[_0x47258b(0x250)],'revision':_0x318d54});if(as(_0x446298)||!_0x281a37||!_0x281a37[_0x47258b(0x100)])throw new Error(_0x47258b(0x182));const _0x1250d0=(_0x5b4ee0=_0x5778b8==null?void 0x0:_0x5778b8[_0x47258b(0x1f9)])!=null?_0x5b4ee0:0x0;if(_0x318d54!==0x0&&_0x281a37[_0x47258b(0x11a)]+_0x1250d0!==_0x318d54)throw new Error(_0x47258b(0x252));const {workbook:_0x5ccf0a}=_0x281a37,_0x358e13=_0x5ccf0a[_0x47258b(0xe8)]?Object[_0x47258b(0x255)](_0x5ccf0a['blockMeta'])[_0x47258b(0x15e)](([_0x274c22,_0x5ee6bd])=>{var _0xd6ca0b,_0x2f10a3;return(_0x2f10a3=(_0xd6ca0b=_0x5ee6bd['blocks'])==null?void 0x0:_0xd6ca0b['map'](_0xd33426=>_0xd33426))!=null?_0x2f10a3:[];})[_0x47258b(0xdf)]():[],_0x178762=(await Promise['all'](_0x358e13['map'](_0x15f14a=>this['_snapshotServerService']['getDeserializedSheetBlock'](_0x3d9149,{'unitID':_0x44d302,'type':F[_0x47258b(0x250)],'blockID':_0x15f14a})[_0x47258b(0x1c2)](_0x4b5983=>_0x4b5983[_0x47258b(0xda)]))))['filter'](_0x149c59=>!!_0x149c59),_0x4bb2b3=_0x2dca93(_0x281a37,_0x178762,_0x3d9149);return(_0x2972a1=this[_0x47258b(0x277)][_0x47258b(0x224)](_0x44d302))==null||_0x2972a1[_0x47258b(0xf2)](_0x318d54,{'workbook':_0x4bb2b3}),new Promise(_0x15d658=>{const _0x205621=_0x47258b,_0x44448f=this[_0x205621(0x1c1)][_0x205621(0x157)](_0x123f4a[_0x205621(0x250)]);_0x44448f?(this[_0x205621(0x1c1)][_0x205621(0x1e3)](_0x44448f[_0x205621(0x197)]()),setTimeout(()=>{const _0x219dec=_0x205621;this[_0x219dec(0x1a9)](_0x4bb2b3,_0x5778b8),this[_0x219dec(0x141)][_0x219dec(0x14c)](),_0x15d658(!0x0);},0x0)):(this[_0x205621(0x1a9)](_0x4bb2b3,_0x5778b8),_0x15d658(!0x0));});}[_0x41ba85(0x1a9)](_0x4520f1,_0x552acd){const _0x3d3e87=_0x41ba85,_0x14039c=this[_0x3d3e87(0x1c1)][_0x3d3e87(0x245)](_0x123f4a[_0x3d3e87(0x250)],_0x4520f1);this[_0x3d3e87(0x1c1)][_0x3d3e87(0x163)](_0x14039c[_0x3d3e87(0x197)]());const _0xcf1570=this[_0x3d3e87(0x195)][_0x3d3e87(0x102)][_0x3d3e87(0x203)](this[_0x3d3e87(0x195)][_0x3d3e87(0x102)][_0x3d3e87(0xd2)]()[_0x3d3e87(0x27f)]);return _0x552acd==null||_0x552acd[_0x3d3e87(0x16d)](_0x3c4754=>{const _0x49d00e=_0x3d3e87,_0x3254a4=_0x3c4754[_0x49d00e(0x230)][_0x49d00e(0x15e)](_0x39d20b=>({'id':_0x39d20b['id'],'params':JSON[_0x49d00e(0x139)](_0x39d20b[_0x49d00e(0xe2)])}));({..._0x3c4754,'mutations':_0xcf1570(_0x3254a4,null)||_0x3254a4}[_0x49d00e(0x230)][_0x49d00e(0x16d)](_0x3f5c48=>{const _0x4f2006=_0x49d00e;this[_0x4f2006(0x262)][_0x4f2006(0x180)](_0x3f5c48['id'])&&this[_0x4f2006(0x262)][_0x4f2006(0x18d)](_0x3f5c48['id'],_0x3f5c48['params']);}));}),_0x14039c;}};Y=_s([N(0x0,_0x908af1),N(0x1,_0x193cfc),N(0x2,_0x260d10),N(0x3,_0x403f22),N(0x4,_0x4f81be(_0x2b0173)),N(0x5,_0x4f81be(_0x134f2d)),N(0x6,_0x4f81be(_0x5da0a1))],Y);function ds(_0x483fe9){const _0x268b93=_0x41ba85;var _0x4f2457,_0x518bf8;const _0x3cfcba=[],{entities:_0x256faf,historyIds:_0x213734}=_0x483fe9,{datas:_0x18ecce,users:_0x233da8}=_0x256faf;for(const _0x12ae42 of _0x213734)if(_0x18ecce[_0x12ae42]){const _0x2c5900=!!((_0x4f2457=_0x233da8[_0x18ecce[_0x12ae42][_0x268b93(0x24b)]])!=null&&_0x4f2457[_0x268b93(0x23d)]);_0x3cfcba[_0x268b93(0x1f4)]({'unitId':_0x18ecce[_0x12ae42][_0x268b93(0x24c)],'user':_0x2c5900?'':((_0x518bf8=_0x233da8==null?void 0x0:_0x233da8[_0x18ecce[_0x12ae42][_0x268b93(0x24b)]])==null?void 0x0:_0x518bf8[_0x268b93(0x14e)])||'','isAnonymous':_0x2c5900,'id':_0x12ae42,'time':_0x18ecce[_0x12ae42][_0x268b93(0x149)]?Number(_0x18ecce[_0x12ae42][_0x268b93(0x149)]):void 0x0,'commands':_0x18ecce[_0x12ae42][_0x268b93(0x10c)],'startRev':Number(_0x18ecce[_0x12ae42][_0x268b93(0x1d2)]),'endRev':Number(_0x18ecce[_0x12ae42][_0x268b93(0x152)]),'recoverTime':_0x18ecce[_0x12ae42]['recoverTime']?Number(_0x18ecce[_0x12ae42][_0x268b93(0x265)]):void 0x0});}return _0x3cfcba;}var vs=Object[_0x41ba85(0x1f0)],fs=(_0x5ca050,_0x6b1c86,_0x5b436e,_0x9c0ae9)=>{const _0x9b6065=_0x41ba85;for(var _0x482dbf=_0x9c0ae9>0x1?void 0x0:_0x9c0ae9?vs(_0x6b1c86,_0x5b436e):_0x6b1c86,_0x4d1333=_0x5ca050[_0x9b6065(0x1f9)]-0x1,_0x4de91c;_0x4d1333>=0x0;_0x4d1333--)(_0x4de91c=_0x5ca050[_0x4d1333])&&(_0x482dbf=_0x4de91c(_0x482dbf)||_0x482dbf);return _0x482dbf;},V=(_0x24c86d,_0x5b3c06)=>(_0x21ccbf,_0x26476f)=>_0x5b3c06(_0x21ccbf,_0x26476f,_0x24c86d),ne=(_0x5cc0db=>(_0x5cc0db[_0x41ba85(0x14b)]=_0x41ba85(0x279),_0x5cc0db[_0x41ba85(0x1c0)]=_0x41ba85(0x168),_0x5cc0db[_0x41ba85(0x16a)]='error',_0x5cc0db))(ne||{}),T=(_0x18cbc9=>(_0x18cbc9[_0x41ba85(0x167)]=_0x41ba85(0x170),_0x18cbc9[_0x41ba85(0xfe)]='loading',_0x18cbc9[_0x41ba85(0x144)]='loaded',_0x18cbc9))(T||{});const ms='VIRTUAL_VERSION_NOW';let E=class extends _0x40327d{constructor(_0x1ca350,_0x35bc29,_0x12deae,_0x9b9516){const _0x1876ef=_0x41ba85;super(),l(this,_0x1876ef(0x192),new _0x4c7e09([])),l(this,_0x1876ef(0xd9),this[_0x1876ef(0x192)][_0x1876ef(0xf1)]()),l(this,_0x1876ef(0x113),new _0x4c7e09('')),l(this,_0x1876ef(0x212),this['_currentVersion$']['asObservable']()),l(this,_0x1876ef(0x183),new _0x4c7e09(_0x1876ef(0x279))),l(this,_0x1876ef(0x274),this['_status$']['asObservable']()),l(this,_0x1876ef(0x16f),new _0x4c7e09(0x0)),l(this,'revertRevision$',this['_revertRevision$']['asObservable']()),l(this,_0x1876ef(0x1a4),new _0x4c7e09('')),l(this,_0x1876ef(0xcc),this[_0x1876ef(0x1a4)]['asObservable']()),l(this,'_fetching',!0x1),l(this,_0x1876ef(0x1ec),new _0x4c7e09('init')),l(this,'loadingState$',this[_0x1876ef(0x1ec)][_0x1876ef(0xf1)]()),l(this,_0x1876ef(0xe1),null),l(this,_0x1876ef(0x1cd),!0x0),l(this,_0x1876ef(0x107),new Map()),l(this,_0x1876ef(0x22a)),l(this,_0x1876ef(0x112)),l(this,_0x1876ef(0x132)),l(this,'_canRevert',!0x1),(this[_0x1876ef(0x108)]=_0x1ca350,this['_confirmService']=_0x35bc29,this[_0x1876ef(0x206)]=_0x12deae,this[_0x1876ef(0x1cb)]=_0x9b9516);}async[_0x41ba85(0x15d)](_0x3347ab,_0x2cfb57,_0x5027a9){const _0x3b952b=_0x41ba85;this[_0x3b952b(0x22a)]=_0x2cfb57,this[_0x3b952b(0x1a8)]=_0x5027a9,this[_0x3b952b(0x1a4)]['next'](_0x3347ab),this[_0x3b952b(0x12c)]=!0x0;const _0x1a52e0=await this['_historyFetchService'][_0x3b952b(0x142)](_0x3347ab);if(this[_0x3b952b(0x12c)]=!0x1,_0x1a52e0){const {versions:_0x2fe772,lastLabel:_0x48f168,hasMore:_0x346957,members:_0x4d0838}=_0x1a52e0;_0x2fe772[_0x3b952b(0x1f9)]===0x0&&_0x2fe772[_0x3b952b(0x1f4)]({'unitId':_0x3347ab,'id':ms,'startRev':0x1,'endRev':0x0,'time':Date['now'](),'user':this[_0x3b952b(0x206)]['t'](_0x3b952b(0x218)),'commands':[],'isAnonymous':!0x1}),this['_updateVersions'](_0x2fe772,_0x346957,_0x48f168,_0x4d0838),this[_0x3b952b(0x113)][_0x3b952b(0x117)](_0x2fe772[0x0]['id']);}else this['_status$'][_0x3b952b(0x117)]('error');}async[_0x41ba85(0x21c)](){const _0x5a7443=_0x41ba85;if(!this[_0x5a7443(0xe1)]||!this['_hasMore']||this[_0x5a7443(0x12c)])return!0x1;this[_0x5a7443(0x12c)]=!0x0;const _0x20f331=await this[_0x5a7443(0x1cb)][_0x5a7443(0x142)](this[_0x5a7443(0x24c)],this[_0x5a7443(0xe1)]);if(this[_0x5a7443(0x12c)]=!0x1,_0x20f331){const {versions:_0x2163a1,lastLabel:_0x40a5e4,hasMore:_0x1ef74c,members:_0x527d3a}=_0x20f331;this['_updateVersions'](_0x2163a1,_0x1ef74c,_0x40a5e4,_0x527d3a);}else this[_0x5a7443(0x108)][_0x5a7443(0x220)]({'content':this[_0x5a7443(0x206)]['t'](_0x5a7443(0x1f8)),'type':_0xb0b4a[_0x5a7443(0x16a)],'duration':0xbb8});return!0x0;}async[_0x41ba85(0x10a)](_0x492670){const _0x3de1d9=_0x41ba85;var _0x37e18d;const _0x41cfc2=(_0x37e18d=this[_0x3de1d9(0x192)][_0x3de1d9(0x184)])==null?void 0x0:_0x37e18d[_0x3de1d9(0x110)](_0x4e10e8=>_0x4e10e8['id']===_0x492670),{endRev:_0x6114e5}=_0x41cfc2||{};_0x6114e5||_0x6114e5===0x0?(this[_0x3de1d9(0x1ec)][_0x3de1d9(0x117)](_0x3de1d9(0x1ac)),await this[_0x3de1d9(0x1cb)][_0x3de1d9(0x1fd)](this[_0x3de1d9(0x24c)],_0x6114e5),this[_0x3de1d9(0x1ec)][_0x3de1d9(0x117)](_0x3de1d9(0x116))):this[_0x3de1d9(0x183)][_0x3de1d9(0x117)](_0x3de1d9(0x276));}async[_0x41ba85(0x1f2)](_0xa3ae94){const _0x15b9ac=_0x41ba85,_0x20f458=_0xa3ae94?this[_0x15b9ac(0x124)](_0xa3ae94):this['getCurrentVersion']();if(!_0x20f458)return;const _0x2f462c=_0x20f458[_0x15b9ac(0x269)],_0x541be2=re(_0x20f458['time'],this[_0x15b9ac(0x206)][_0x15b9ac(0x1d7)]());await this['_confirmService']['confirm']({'id':'confirm-revert-revision','title':{'title':this[_0x15b9ac(0x206)]['t'](_0x15b9ac(0x1e1))},'children':{'title':this[_0x15b9ac(0x206)]['t']('editHistory.panel.revertConfirmText')+_0x15b9ac(0x1b4)+_0x541be2[_0x15b9ac(0x22e)]+'\x20'+_0x541be2['time']+')'},'cancelText':this['_localeService']['t'](_0x15b9ac(0x27b)),'confirmText':this['_localeService']['t']('editHistory.panel.confirm')})&&this['_revertRevision$'][_0x15b9ac(0x117)](_0x2f462c);}['_updateVersions'](_0x1ef846,_0x3d8098,_0x21b10b,_0x100b72){const _0x27b4a1=_0x41ba85;this['_versions$'][_0x27b4a1(0x117)](this[_0x27b4a1(0x192)][_0x27b4a1(0x184)][_0x27b4a1(0x1fb)](_0x1ef846)),this[_0x27b4a1(0x1cd)]=_0x3d8098,this[_0x27b4a1(0xe1)]=_0x21b10b,_0x100b72&&Object[_0x27b4a1(0x229)](_0x100b72)[_0x27b4a1(0x16d)](_0x1ccbe4=>this['_members'][_0x27b4a1(0xf2)](_0x1ccbe4,_0x100b72[_0x1ccbe4]));}[_0x41ba85(0xf5)](){const _0x2b4af3=_0x41ba85;return this[_0x2b4af3(0x124)](this[_0x2b4af3(0x113)][_0x2b4af3(0x184)]);}['getVersion'](_0x1457e6){const _0x5dac9d=_0x41ba85;var _0x576ea3;return(_0x576ea3=this['_versions$'][_0x5dac9d(0x184)])==null?void 0x0:_0x576ea3[_0x5dac9d(0x110)](_0x2575a5=>_0x2575a5['id']===_0x1457e6);}['getMember'](_0x4dd7ec){const _0x5724aa=_0x41ba85;return this['_members'][_0x5724aa(0x224)](_0x4dd7ec);}[_0x41ba85(0x13d)](){const _0x562417=_0x41ba85;this[_0x562417(0x132)]=document['createElement']('div'),this[_0x562417(0x132)][_0x562417(0x201)]=_0x562417(0x202),this['_maskElement'][_0x562417(0xe9)][_0x562417(0x125)]='absolute',this['_maskElement']['style']['top']='0',this[_0x562417(0x132)]['style'][_0x562417(0x13e)]='0',this[_0x562417(0x132)][_0x562417(0xe9)][_0x562417(0x231)]='100%',this[_0x562417(0x132)]['style']['height']='100%',this[_0x562417(0x132)][_0x562417(0xe9)][_0x562417(0x266)]=_0x562417(0x12e),this[_0x562417(0x132)][_0x562417(0xe9)][_0x562417(0x155)]=_0x562417(0x1ee),this[_0x562417(0x132)][_0x562417(0xe9)]['display']=_0x562417(0xcd),this['_maskElement'][_0x562417(0xe9)][_0x562417(0x22f)]='center',this[_0x562417(0x132)][_0x562417(0xe9)][_0x562417(0x1c8)]=_0x562417(0x1bb),this[_0x562417(0x132)][_0x562417(0xe9)][_0x562417(0x248)]='none',this[_0x562417(0x112)][_0x562417(0x1db)](this['_maskElement']);}[_0x41ba85(0x1a5)](){const _0x3f9f22=_0x41ba85;var _0x4ab36;const _0x18cc96=(_0x4ab36=document[_0x3f9f22(0x199)](this['_historyContainerId']))==null?void 0x0:_0x4ab36[_0x3f9f22(0x1c6)](_0x3f9f22(0x14d));_0x18cc96&&(this[_0x3f9f22(0x112)]=_0x18cc96,this[_0x3f9f22(0x13d)]());}[_0x41ba85(0x1ce)](){const _0xb24eca=_0x41ba85;this[_0xb24eca(0x112)]||this[_0xb24eca(0x1a5)](),this[_0xb24eca(0x132)]&&(this[_0xb24eca(0x132)]['style']['display']=_0xb24eca(0xcd));}[_0x41ba85(0x179)](){const _0x4ae561=_0x41ba85;this[_0x4ae561(0x132)]&&(this[_0x4ae561(0x132)][_0x4ae561(0xe9)]['display']=_0x4ae561(0x23f));}set[_0x41ba85(0x253)](_0x521413){const _0x53b22f=_0x41ba85;this[_0x53b22f(0x183)]['next'](_0x521413);}set['currentVersion'](_0x11e98f){const _0x228405=_0x41ba85;_0x11e98f!==this[_0x228405(0x113)][_0x228405(0x184)]&&this[_0x228405(0x113)][_0x228405(0x117)](_0x11e98f);}get['currentVersion'](){return this['_currentVersion$']['value'];}set[_0x41ba85(0x24c)](_0x5ed5aa){const _0x2f3dde=_0x41ba85;this['_unitId$'][_0x2f3dde(0x117)](_0x5ed5aa);}get[_0x41ba85(0x24c)](){const _0x159ff7=_0x41ba85;return this[_0x159ff7(0x1a4)][_0x159ff7(0x184)];}get[_0x41ba85(0x271)](){return this['_canRevert'];}get[_0x41ba85(0x1fa)](){const _0x350282=_0x41ba85;return this[_0x350282(0x1ec)][_0x350282(0x184)];}};E=fs([V(0x0,_0xa86b0),V(0x1,_0x4b46b),V(0x2,_0x4f81be(_0x4c63a5)),V(0x3,_0x4f81be(Y))],E);var S=function(){const _0x2cea94=_0x41ba85;return S=Object[_0x2cea94(0x1ad)]||function(_0x3ecd46){const _0x1f864d=_0x2cea94;for(var _0x7000b4,_0xeb4716=0x1,_0x317197=arguments[_0x1f864d(0x1f9)];_0xeb4716<_0x317197;_0xeb4716++){_0x7000b4=arguments[_0xeb4716];for(var _0x2ae193 in _0x7000b4)Object[_0x1f864d(0x238)][_0x1f864d(0x16b)][_0x1f864d(0x22b)](_0x7000b4,_0x2ae193)&&(_0x3ecd46[_0x2ae193]=_0x7000b4[_0x2ae193]);}return _0x3ecd46;},S[_0x2cea94(0x1f5)](this,arguments);},Is=function(_0xc23239,_0x4bff90){const _0x515095=_0x41ba85;var _0x5ad481={};for(var _0x4560f3 in _0xc23239)Object['prototype']['hasOwnProperty']['call'](_0xc23239,_0x4560f3)&&_0x4bff90[_0x515095(0x19f)](_0x4560f3)<0x0&&(_0x5ad481[_0x4560f3]=_0xc23239[_0x4560f3]);if(_0xc23239!=null&&typeof Object[_0x515095(0x24d)]==_0x515095(0x22c)){for(var _0x4570dd=0x0,_0x4560f3=Object[_0x515095(0x24d)](_0xc23239);_0x4570dd<_0x4560f3['length'];_0x4570dd++)_0x4bff90['indexOf'](_0x4560f3[_0x4570dd])<0x0&&Object[_0x515095(0x238)]['propertyIsEnumerable'][_0x515095(0x22b)](_0xc23239,_0x4560f3[_0x4570dd])&&(_0x5ad481[_0x4560f3[_0x4570dd]]=_0xc23239[_0x4560f3[_0x4570dd]]);}return _0x5ad481;},G=_0x1afff1(function(_0x3cf50,_0xd93c39){const _0x13af7b=_0x41ba85;var _0x30b3b9=_0x3cf50['icon'],_0x44ca55=_0x3cf50['id'],_0xb63e11=_0x3cf50[_0x13af7b(0x201)],_0x504cc9=_0x3cf50[_0x13af7b(0x17f)],_0x3bb5b9=Is(_0x3cf50,[_0x13af7b(0xd3),'id','className','extend']),_0x334d2e='univerjs-icon\x20univerjs-icon-'[_0x13af7b(0x1fb)](_0x44ca55,'\x20')['concat'](_0xb63e11||'')[_0x13af7b(0x154)](),_0x20ce70=_0x3fbac3('_'[_0x13af7b(0x1fb)](ps()));return Pe(_0x30b3b9,''['concat'](_0x44ca55),{'defIds':_0x30b3b9[_0x13af7b(0x259)],'idSuffix':_0x20ce70[_0x13af7b(0x21b)]},S({'ref':_0xd93c39,'className':_0x334d2e},_0x3bb5b9),_0x504cc9);});function Pe(_0x98b397,_0x288934,_0x471e68,_0x2b76e4,_0x34a7f8){const _0x128604=_0x41ba85;return _0x32bd31(_0x98b397['tag'],S(S({'key':_0x288934},gs(_0x98b397,_0x471e68,_0x34a7f8)),_0x2b76e4),(Ss(_0x98b397,_0x471e68)[_0x128604(0x159)]||[])[_0x128604(0x15e)](function(_0x1eb84c,_0x22e507){const _0x316f5f=_0x128604;return Pe(_0x1eb84c,''[_0x316f5f(0x1fb)](_0x288934,'-')['concat'](_0x98b397['tag'],'-')[_0x316f5f(0x1fb)](_0x22e507),_0x471e68,void 0x0,_0x34a7f8);}));}function gs(_0xb78e06,_0x5bfefa,_0x3cbc09){const _0x51fceb=_0x41ba85;var _0x15a082=S({},_0xb78e06[_0x51fceb(0x20c)]);_0x3cbc09!=null&&_0x3cbc09[_0x51fceb(0xd5)]&&_0x15a082['fill']==='colorChannel1'&&(_0x15a082[_0x51fceb(0x15b)]=_0x3cbc09[_0x51fceb(0xd5)]),_0xb78e06[_0x51fceb(0x204)]==='mask'&&_0x15a082['id']&&(_0x15a082['id']=_0x15a082['id']+_0x5bfefa[_0x51fceb(0xd4)]),Object[_0x51fceb(0x255)](_0x15a082)['forEach'](function(_0xe118d0){const _0x46e5c6=_0x51fceb;var _0x5090fb=_0xe118d0[0x0],_0x394d84=_0xe118d0[0x1];_0x5090fb==='mask'&&typeof _0x394d84==_0x46e5c6(0x25e)&&(_0x15a082[_0x5090fb]=_0x394d84['replace'](/url\(#(.*)\)/,_0x46e5c6(0x226)['concat'](_0x5bfefa[_0x46e5c6(0xd4)],')')));});var _0x3146bb=_0x5bfefa[_0x51fceb(0x259)];return!_0x3146bb||_0x3146bb['length']===0x0||(_0xb78e06[_0x51fceb(0x204)]===_0x51fceb(0x127)&&_0x15a082['xlink:href']&&(_0x15a082[_0x51fceb(0x228)]=_0x15a082[_0x51fceb(0x228)]+_0x5bfefa[_0x51fceb(0xd4)]),Object[_0x51fceb(0x255)](_0x15a082)[_0x51fceb(0x16d)](function(_0x218e15){const _0x56eff8=_0x51fceb;var _0x47add5=_0x218e15[0x0],_0x143dff=_0x218e15[0x1];typeof _0x143dff=='string'&&(_0x15a082[_0x47add5]=_0x143dff['replace'](/url\(#(.*)\)/,_0x56eff8(0x226)['concat'](_0x5bfefa['idSuffix'],')')));})),_0x15a082;}function Ss(_0x437307,_0x17f31e){const _0x1db03b=_0x41ba85;var _0x9b92e9,_0x2592f7=_0x17f31e[_0x1db03b(0x259)];return!_0x2592f7||_0x2592f7[_0x1db03b(0x1f9)]===0x0?_0x437307:_0x437307[_0x1db03b(0x204)]===_0x1db03b(0x17d)&&(!((_0x9b92e9=_0x437307[_0x1db03b(0x159)])===null||_0x9b92e9===void 0x0)&&_0x9b92e9['length'])?S(S({},_0x437307),{'children':_0x437307['children'][_0x1db03b(0x15e)](function(_0xbc8daf){const _0x2541c9=_0x1db03b;return typeof _0xbc8daf[_0x2541c9(0x20c)]['id']==_0x2541c9(0x25e)&&_0x2592f7&&_0x2592f7[_0x2541c9(0xd6)](_0xbc8daf[_0x2541c9(0x20c)]['id'])?S(S({},_0xbc8daf),{'attrs':S(S({},_0xbc8daf[_0x2541c9(0x20c)]),{'id':_0xbc8daf['attrs']['id']+_0x17f31e['idSuffix']})}):_0xbc8daf;})}):_0x437307;}function ps(){const _0x2b9019=_0x41ba85;return Math[_0x2b9019(0x1a0)]()[_0x2b9019(0x26c)](0x24)[_0x2b9019(0xfd)](0x2,0x8);}G[_0x41ba85(0x1ca)]=_0x41ba85(0x21d);var Es={'tag':_0x41ba85(0x136),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x41ba85(0x23f),'viewBox':_0x41ba85(0x1d3),'width':_0x41ba85(0x1eb),'height':'1em'},'children':[{'tag':_0x41ba85(0x25f),'attrs':{'fill':'currentColor','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=_0x1afff1(function(_0x684242,_0x4d62c5){const _0x4db304=_0x41ba85;return _0x32bd31(G,Object[_0x4db304(0x1ad)]({},_0x684242,{'id':_0x4db304(0x1d6),'ref':_0x4d62c5,'icon':Es}));});Te[_0x41ba85(0x1ca)]=_0x41ba85(0x26d);var Rs={'tag':_0x41ba85(0x136),'attrs':{'xmlns':_0x41ba85(0x20b),'fill':_0x41ba85(0x23f),'viewBox':_0x41ba85(0x1d3),'width':_0x41ba85(0x1eb),'height':_0x41ba85(0x1eb)},'children':[{'tag':_0x41ba85(0x25f),'attrs':{'fill':_0x41ba85(0x115),'d':_0x41ba85(0x20a),'fillOpacity':0.2,'fillRule':_0x41ba85(0x143),'clipRule':'evenodd'}},{'tag':_0x41ba85(0x25f),'attrs':{'fill':'#0B9EFB','d':_0x41ba85(0x1ba),'fillRule':_0x41ba85(0x143),'clipRule':_0x41ba85(0x143)}}]},ae=_0x1afff1(function(_0x7f3ad,_0x33ff9a){const _0xd79e81=_0x41ba85;return _0x32bd31(G,Object[_0xd79e81(0x1ad)]({},_0x7f3ad,{'id':_0xd79e81(0x20f),'ref':_0x33ff9a,'icon':Rs}));});ae['displayName']=_0x41ba85(0x177);var Os={'tag':'svg','attrs':{'xmlns':_0x41ba85(0x20b),'fill':_0x41ba85(0x23f),'viewBox':'0\x200\x2016\x2017','width':_0x41ba85(0x1eb),'height':_0x41ba85(0x1eb)},'children':[{'tag':'g','attrs':{'fill':_0x41ba85(0x1cc),'clipPath':_0x41ba85(0x215)},'children':[{'tag':'path','attrs':{'d':_0x41ba85(0x21a)}},{'tag':_0x41ba85(0x25f),'attrs':{'d':_0x41ba85(0xd7),'fillRule':'evenodd','clipRule':'evenodd'}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'restore-icon_clip0_1247_2'},'children':[{'tag':_0x41ba85(0x146),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x41ba85(0x1ee),'rx':0x4}}]}]}],'defIds':['restore-icon_clip0_1247_2']},Le=_0x1afff1(function(_0x1e6963,_0x4ec033){const _0x3b2725=_0x41ba85;return _0x32bd31(G,Object['assign']({},_0x1e6963,{'id':_0x3b2725(0x23e),'ref':_0x4ec033,'icon':Os}));});Le['displayName']='RestoreIcon';function Ms(){const _0x407205=_0x41ba85;var _0x1da502;const _0x5d3358=_0x34193d(E),_0x59ebd4=_0x34193d(_0x4c63a5),_0x299365=_0x2f12f4(()=>{const _0x4becc7=_0x61ef;_0x5d3358[_0x4becc7(0x253)]=ne['Exited'];},[_0x5d3358]),_0x410f40=_0x2f12f4(()=>{const _0x2cfc67=_0x61ef;_0x5d3358[_0x2cfc67(0x1f2)]();},[_0x5d3358]),_0x1ad537=_0x2e3f3b(_0x5d3358[_0x407205(0x212)]),_0x2bea28=_0x2e3f3b(_0x5d3358[_0x407205(0xd9)]),_0xf29517=_0x1ad537===((_0x1da502=_0x2bea28==null?void 0x0:_0x2bea28[0x0])==null?void 0x0:_0x1da502['id']),_0x4e7850=_0x1ad537!==''&&!_0xf29517&&_0x5d3358[_0x407205(0x271)];return _0x5bccf3(_0x407205(0x16e),{'className':_0x498ce4('univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center',_0x2e30b5),'children':[_0x5a62cd('a',{'className':_0x407205(0x1e8),'onClick':_0x299365,'children':_0x5a62cd(Te,{'className':_0x407205(0x14f)})}),_0x5a62cd(_0x407205(0x16e),{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','children':_0x4e7850&&_0x5a62cd(_0x327f1d,{'variant':'primary','onClick':_0x410f40,'children':_0x59ebd4['t'](_0x407205(0x1fc))})})]});}var Ns=Object[_0x41ba85(0x1f0)],bs=(_0x5e71ed,_0x51e9ec,_0x3a3ec3,_0x43bb9f)=>{const _0x4d8376=_0x41ba85;for(var _0x5ece14=_0x43bb9f>0x1?void 0x0:_0x43bb9f?Ns(_0x51e9ec,_0x3a3ec3):_0x51e9ec,_0x9b069d=_0x5e71ed[_0x4d8376(0x1f9)]-0x1,_0x511deb;_0x9b069d>=0x0;_0x9b069d--)(_0x511deb=_0x5e71ed[_0x9b069d])&&(_0x5ece14=_0x511deb(_0x5ece14)||_0x5ece14);return _0x5ece14;},y=(_0x33b44c,_0x31c14f)=>(_0x56fb90,_0x42eabc)=>_0x31c14f(_0x56fb90,_0x42eabc,_0x33b44c);let B=class extends _0x40327d{constructor(_0x7dfbd3,_0x2f466a,_0xed23d1,_0x26d3da,_0x159874,_0x161a3b){const _0x185875=_0x41ba85;super(),this[_0x185875(0x247)]=_0x7dfbd3,this[_0x185875(0x1bf)]=_0x2f466a,this['_messageService']=_0xed23d1,this[_0x185875(0x206)]=_0x26d3da,this[_0x185875(0x196)]=_0x159874,this[_0x185875(0x27a)]=_0x161a3b,this[_0x185875(0x1ff)]();}[_0x41ba85(0x1ff)](){const _0x586707=_0x41ba85;this['disposeWithMe'](this['_historyManagerService'][_0x586707(0x212)][_0x586707(0xf6)](_0x3431e4=>{_0x3431e4&&this['_historyManagerService']['triggerLoadSheet'](_0x3431e4);})),this[_0x586707(0xfa)](this['_permissionService'][_0x586707(0xef)]['subscribe'](_0x3c9e47=>{const _0xb19da5=_0x586707,_0x1d24ee=this['_historyManagerService'][_0xb19da5(0x24c)];_0x1d24ee&&(_0x3c9e47[_0xb19da5(0x1fe)]===D['Edit']&&_0x3c9e47[_0xb19da5(0x184)]===!0x0&&this[_0xb19da5(0x247)][_0xb19da5(0x137)](new _0x5be3c8(_0x1d24ee)['id'],!0x1),_0x3c9e47[_0xb19da5(0x1fe)]===D[_0xb19da5(0x26e)]&&_0x3c9e47['value']===!0x0&&this[_0xb19da5(0x247)][_0xb19da5(0x137)](new _0x136679(_0x1d24ee)['id'],!0x1),_0x3c9e47[_0xb19da5(0x1fe)]===D['MoveSheet']&&_0x3c9e47[_0xb19da5(0x184)]===!0x0&&this[_0xb19da5(0x247)][_0xb19da5(0x137)](new _0x32eccc(_0x1d24ee)['id'],!0x1),_0x3c9e47[_0xb19da5(0x1fe)]===D['HideSheet']&&_0x3c9e47[_0xb19da5(0x184)]===!0x0&&this[_0xb19da5(0x247)][_0xb19da5(0x137)](new _0x5547d5(_0x1d24ee)['id'],!0x1),_0x3c9e47[_0xb19da5(0x1fe)]===D['Comment']&&_0x3c9e47[_0xb19da5(0x184)]===!0x0&&this[_0xb19da5(0x247)]['updatePermissionPoint'](new _0x5be3c8(_0x1d24ee)['id'],!0x1),_0x3c9e47[_0xb19da5(0x1fe)]===D[_0xb19da5(0xf3)]&&_0x3c9e47[_0xb19da5(0x184)]===!0x0&&this[_0xb19da5(0x247)][_0xb19da5(0x137)](new _0x5be3c8(_0x1d24ee)['id'],!0x1));})),this['disposeWithMe'](this[_0x586707(0x1bf)][_0x586707(0x129)](_0x33af2e['HEADER'],()=>_0x2f5ce2(Ms,this['_injector']))),this['disposeWithMe'](this[_0x586707(0x196)][_0x586707(0x1ed)][_0x586707(0xf6)](_0x4334e8=>{const _0x595059=_0x586707;_0x4334e8===T[_0x595059(0xfe)]&&(this['_historyManagerService'][_0x595059(0x1ce)](),this['_messageService'][_0x595059(0x220)]({'type':_0xb0b4a['Info'],'content':this[_0x595059(0x206)]['t'](_0x595059(0x1a3))})),_0x4334e8===T[_0x595059(0x144)]&&this[_0x595059(0x196)]['hideMask']();}));}};B=bs([y(0x0,_0x1d5bd2),y(0x1,_0x5f4a72),y(0x2,_0xa86b0),y(0x3,_0x4f81be(_0x4c63a5)),y(0x4,_0x4f81be(E)),y(0x5,_0x4f81be(_0x35402c))],B);var Ds=Object[_0x41ba85(0x1f0)],ys=(_0x8ad449,_0x37aa37,_0x43f3f2,_0x473150)=>{for(var _0xc207f=_0x473150>0x1?void 0x0:_0x473150?Ds(_0x37aa37,_0x43f3f2):_0x37aa37,_0x55f355=_0x8ad449['length']-0x1,_0x261681;_0x55f355>=0x0;_0x55f355--)(_0x261681=_0x8ad449[_0x55f355])&&(_0xc207f=_0x261681(_0xc207f)||_0xc207f);return _0xc207f;},Q=(_0x194872,_0x5c33cf)=>(_0x99f61f,_0x3e2476)=>_0x5c33cf(_0x99f61f,_0x3e2476,_0x194872);function _0x61ef(_0x15636b,_0x2f357a){const _0x259085=_0x2590();return _0x61ef=function(_0x61ef93,_0x5e0cae){_0x61ef93=_0x61ef93-0xc5;let _0x5af288=_0x259085[_0x61ef93];return _0x5af288;},_0x61ef(_0x15636b,_0x2f357a);}let $=class extends _0x40327d{constructor(_0x61a8de,_0x5564b3,_0x68fb74){const _0x1fbea1=_0x41ba85;super(),l(this,'_diffRangesMap',new Map()),l(this,'_currentVersionDiff$',new _0x4c7e09({'ranges':new Map(),'active':null})),l(this,_0x1fbea1(0x20d),this['_currentVersionDiff$'][_0x1fbea1(0xf1)]()),(this['_historyManagerService']=_0x61a8de,this[_0x1fbea1(0x153)]=_0x5564b3,this['_snapshotServerService']=_0x68fb74,this[_0x1fbea1(0x1ff)]());}[_0x41ba85(0x1ff)](){const _0x80e9de=_0x41ba85;this[_0x80e9de(0x162)]=new Map(),this[_0x80e9de(0xfa)](this[_0x80e9de(0x196)][_0x80e9de(0xcc)]['subscribe'](_0xb9c1ea=>{const _0x54550d=_0x80e9de;_0xb9c1ea&&!this[_0x54550d(0x162)][_0x54550d(0xdb)](_0xb9c1ea)&&this[_0x54550d(0x162)][_0x54550d(0xf2)](_0xb9c1ea,new Map());})),this[_0x80e9de(0xfa)](this[_0x80e9de(0x196)][_0x80e9de(0x212)]['subscribe'](async _0x22cbdc=>{const _0xc542f9=_0x80e9de;var _0x5669e5;_0x22cbdc&&(await this['ensureVersion'](_0x22cbdc),this[_0xc542f9(0x1ab)][_0xc542f9(0x117)](((_0x5669e5=this[_0xc542f9(0x162)]['get'](this[_0xc542f9(0x196)][_0xc542f9(0x24c)]))==null?void 0x0:_0x5669e5[_0xc542f9(0x224)](_0x22cbdc))||{'ranges':new Map(),'active':null}));}));}async[_0x41ba85(0x1a1)](_0x3de756){const _0x2795df=_0x41ba85;var _0x2028ff,_0x5e7dc8;const _0x4cd48a=this[_0x2795df(0x196)][_0x2795df(0x124)](_0x3de756),_0x20e363=this['_historyManagerService'][_0x2795df(0x24c)];if(!_0x4cd48a||!_0x20e363)return;const _0x2b0427=this[_0x2795df(0x162)][_0x2795df(0x224)](_0x20e363);if(_0x2b0427||this['_diffRangesMap'][_0x2795df(0xf2)](_0x20e363,new Map()),(_0x2028ff=this[_0x2795df(0x162)][_0x2795df(0x224)](_0x20e363))!=null&&_0x2028ff['has'](_0x4cd48a['id']))return;const {startRev:_0x29f280,endRev:_0x2f482a}=_0x4cd48a;if(_0x29f280===0x1){_0x2b0427[_0x2795df(0xf2)](_0x4cd48a['id'],{'ranges':new Map(),'active':null});return;}const _0x485542=_0x29f280-0x1,_0x3448e9=_0x2f482a,_0x5aa352=await this[_0x2795df(0x12d)][_0x2795df(0x1c4)]({},{'unitID':_0x20e363,'from':_0x485542,'to':_0x3448e9,'type':F[_0x2795df(0x250)]});if(((_0x5e7dc8=_0x5aa352[_0x2795df(0x276)])==null?void 0x0:_0x5e7dc8[_0x2795df(0x25d)])===X['OK']){const _0x504107=_0x5aa352[_0x2795df(0x1d9)]['map'](_0x1fdc8a)[_0x2795df(0x15e)](_0x1b13a8=>_0x1b13a8[_0x2795df(0x230)]['map'](_0xdce0e7=>({..._0xdce0e7,'params':{..._0xdce0e7[_0x2795df(0x11f)],'memberId':_0x1b13a8['userID']}})))[_0x2795df(0xdf)](),_0xcf0066=this[_0x2795df(0xff)](_0x504107),_0x336a62=this[_0x2795df(0x191)](_0x504107),_0x4fed55=this[_0x2795df(0x166)](_0xcf0066);_0x2b0427[_0x2795df(0xf2)](_0x4cd48a['id'],{'ranges':_0x4fed55,'active':_0x336a62});}}[_0x41ba85(0xff)](_0xe50b1d){const _0x466368=_0x41ba85;let _0x207348=[];for(let _0x3a0186=0x0;_0x3a0186<_0xe50b1d[_0x466368(0x1f9)];_0x3a0186++){const _0x52df9f=_0xe50b1d[_0x3a0186];if(_0x207348[_0x466368(0x1f4)](_0x52df9f),_0x3a0186!==_0xe50b1d['length']-0x1){const _0x1b13a4=_0xe50b1d[_0x3a0186+0x1],_0x5323b7=this[_0x466368(0x153)]['transformMutations'](_0x207348,[_0x1b13a4]);_0xff2e41(_0x5323b7)?_0x207348=_0x5323b7['m1Prime']:_0x207348=[];}}return _0x207348;}[_0x41ba85(0x191)](_0x27e5ea){const _0x367108=_0x41ba85;let _0x57be57=[];return _0x27e5ea[_0x367108(0x16d)](_0x8ec0b6=>{const _0x1877d5=_0x367108;if(_0x8ec0b6['id']===_0x8d8adc['id']){const _0x56d6bf=_0x8ec0b6[_0x1877d5(0x11f)];_0x57be57[_0x1877d5(0x1f4)](_0x56d6bf[_0x1877d5(0xce)]['id']);}else{if(_0x8ec0b6['id']===_0x2e2429['id']){const _0x4b5e8c=_0x8ec0b6['params'];_0x57be57[_0x1877d5(0x1f9)]>0x0&&(_0x57be57=_0x57be57[_0x1877d5(0x1a7)](_0x39e13d=>_0x39e13d!==_0x4b5e8c[_0x1877d5(0x1bc)]));}else{if(_0x8ec0b6['id']===_0x5cd61d['id']){const _0x51b884=_0x8ec0b6[_0x1877d5(0x11f)];_0x51b884[_0x1877d5(0x237)]?_0x57be57=_0x57be57[_0x1877d5(0x1a7)](_0x5b45c5=>_0x5b45c5!==_0x51b884['subUnitId']):_0x57be57['push'](_0x51b884[_0x1877d5(0x1bc)]);}else{const _0x349ecd=_0x8ec0b6[_0x1877d5(0x11f)];_0x349ecd['subUnitId']&&_0x57be57[_0x1877d5(0x1f4)](_0x349ecd[_0x1877d5(0x1bc)]);}}}}),_0x57be57[_0x367108(0x1f9)]>0x0?_0x57be57[_0x57be57[_0x367108(0x1f9)]-0x1]:null;}[_0x41ba85(0x166)](_0x45d34d){const _0x154b0a=_0x41ba85,_0x770554=new Map();return _0x45d34d[_0x154b0a(0x16d)](_0x4c652b=>{const _0x180d18=_0x154b0a;var _0x4fa8f2,_0x2672b9;const _0x2741f6=(_0x4fa8f2=_0x4c652b[_0x180d18(0x11f)])==null?void 0x0:_0x4fa8f2[_0x180d18(0x1e4)];if(_0x2741f6){_0x770554[_0x180d18(0xdb)](_0x2741f6)||_0x770554['set'](_0x2741f6,[]);const _0x5478f9=this[_0x180d18(0x1bd)](_0x4c652b);(_0x2672b9=_0x770554[_0x180d18(0x224)](_0x2741f6))==null||_0x2672b9[_0x180d18(0x1f4)](..._0x5478f9);}}),_0x770554[_0x154b0a(0x16d)]((_0x1ac4da,_0x5a40e8)=>{const _0xeabd90=_0x154b0a;_0x770554[_0xeabd90(0xf2)](_0x5a40e8,this['_combineRanges'](_0x1ac4da));}),_0x770554;}[_0x41ba85(0x1bd)](_0x206f0f){const _0x28d606=_0x41ba85;switch(_0x206f0f['id']){case _0x240285['id']:{const _0x458deb=_0x206f0f[_0x28d606(0x11f)];return _0x458deb[_0x28d606(0x257)][_0x28d606(0x15e)](_0x3094df=>_0x3094df[_0x28d606(0x11b)][_0x28d606(0x15e)](_0x7ee9e8=>({'range':_0x7ee9e8,'unitId':_0x458deb['unitId'],'subUnitId':_0x458deb[_0x28d606(0x1bc)]})))[_0x28d606(0xdf)]();}case _0x2250ca['id']:{const _0x255ede=_0x206f0f['params'];return _0x255ede[_0x28d606(0x11b)][_0x28d606(0x15e)](_0x35d028=>({'range':_0x35d028,'unitId':_0x255ede[_0x28d606(0x24c)],'subUnitId':_0x255ede[_0x28d606(0x1bc)]}));}case _0x13421f['id']:{const _0x3958af=_0x206f0f[_0x28d606(0x11f)];return[{'range':_0x3958af[_0x28d606(0x232)],'unitId':_0x3958af[_0x28d606(0x24c)],'subUnitId':_0x3958af[_0x28d606(0x1bc)]}];}case _0x256181['id']:{const _0x365d6e=_0x206f0f[_0x28d606(0x11f)];return[{'range':_0x365d6e[_0x28d606(0x232)],'unitId':_0x365d6e[_0x28d606(0x24c)],'subUnitId':_0x365d6e[_0x28d606(0x1bc)]}];}case _0x176f33['id']:{const _0x2b68b1=_0x206f0f['params'],{from:_0x32591f,to:_0xc27fa,unitId:_0x3c9cfd}=_0x2b68b1;return[{'range':he(_0x32591f['value']),'unitId':_0x3c9cfd,'subUnitId':_0x32591f['subUnitId']},{'range':he(_0xc27fa[_0x28d606(0x184)]),'unitId':_0x3c9cfd,'subUnitId':_0xc27fa[_0x28d606(0x1bc)]}];}case _0x6b65a9['id']:{const _0xbf6315=_0x206f0f[_0x28d606(0x11f)],{unitId:_0x3bac8b,subUnitId:_0x325a66,sourceRange:_0x52cc30,targetRange:_0x347044}=_0xbf6315,_0xbbe2db=_0x52cc30[_0x28d606(0x26a)]-_0x52cc30[_0x28d606(0x106)]+0x1;return[{'range':_0x347044[_0x28d606(0x106)]<=_0x52cc30[_0x28d606(0x106)]?_0x347044:{..._0x347044,'startRow':_0x347044[_0x28d606(0x106)]-_0xbbe2db,'endRow':_0x347044[_0x28d606(0x26a)]-_0xbbe2db},'unitId':_0x3bac8b,'subUnitId':_0x325a66}];}case _0x3010e1['id']:{const _0x3f39e1=_0x206f0f[_0x28d606(0x11f)],{unitId:_0x1aedae,subUnitId:_0x51e457,sourceRange:_0xa248ab,targetRange:_0x506ee5}=_0x3f39e1,_0x5e5ae1=_0xa248ab['endColumn']-_0xa248ab[_0x28d606(0x22d)]+0x1;return[{'range':_0x506ee5[_0x28d606(0x22d)]<=_0xa248ab[_0x28d606(0x22d)]?_0x506ee5:{..._0x506ee5,'startColumn':_0x506ee5[_0x28d606(0x22d)]-_0x5e5ae1,'endColumn':_0x506ee5[_0x28d606(0x261)]-_0x5e5ae1},'unitId':_0x1aedae,'subUnitId':_0x51e457}];}case _0x31573a['id']:{const _0x393c30=_0x206f0f[_0x28d606(0x11f)],{values:_0x5c4a0f,unitId:_0x132224,subUnitId:_0x1668d1}=_0x393c30;return Object[_0x28d606(0x1ef)](_0x5c4a0f)['map'](_0x4cc746=>_0x4cc746[_0x28d606(0x11b)][_0x28d606(0x15e)](_0x3b15d7=>({'range':_0x3b15d7,'unitId':_0x132224,'subUnitId':_0x1668d1})))[_0x28d606(0xdf)]();}case _0x103fac['id']:{const _0x3dfac9=_0x206f0f[_0x28d606(0x11f)],{ranges:_0x201fa7,unitId:_0x59929f,subUnitId:_0xb19d97}=_0x3dfac9;return _0x201fa7['map'](_0x10f7b3=>({'range':_0x10f7b3,'unitId':_0x59929f,'subUnitId':_0xb19d97}));}case _0x119c77['id']:{const _0x40e363=_0x206f0f['params'],{unitId:_0x4de184,subUnitId:_0x5080cd,range:_0x1c8bd6}=_0x40e363;return[{'range':_0x1c8bd6,'unitId':_0x4de184,'subUnitId':_0x5080cd}];}case _0x45535d['id']:{const _0x37a15f=_0x206f0f[_0x28d606(0x11f)];return _0x37a15f[_0x28d606(0x1a2)][_0x28d606(0x11b)][_0x28d606(0x15e)](_0x327165=>({'range':_0x327165,'unitId':_0x37a15f['unitId'],'subUnitId':_0x37a15f[_0x28d606(0x1bc)]}));}case _0x33853d['id']:{const _0x40af33=_0x206f0f[_0x28d606(0x11f)];return _0x40af33[_0x28d606(0x1c5)]?Cs(_0x40af33['cellValue'])[_0x28d606(0x15e)](_0x7a7b08=>({'range':_0x7a7b08,'unitId':_0x40af33[_0x28d606(0x24c)],'subUnitId':_0x40af33[_0x28d606(0x1bc)]})):[];}case _0x4ce04c['id']:{const _0x382263=_0x206f0f['params'];return[{'range':_0x382263[_0x28d606(0x232)],'unitId':_0x382263[_0x28d606(0x24c)],'subUnitId':_0x382263[_0x28d606(0x1bc)]}];}case _0x5a95cf['id']:{const _0x25d63c=_0x206f0f[_0x28d606(0x11f)];return(Array['isArray'](_0x25d63c[_0x28d606(0x1a2)])?_0x25d63c[_0x28d606(0x1a2)]:[_0x25d63c[_0x28d606(0x1a2)]])[_0x28d606(0x15e)](_0x11013a=>_0x11013a[_0x28d606(0x11b)][_0x28d606(0x15e)](_0x4e762e=>({'range':_0x4e762e,'unitId':_0x25d63c[_0x28d606(0x24c)],'subUnitId':_0x25d63c[_0x28d606(0x1bc)]})))[_0x28d606(0xdf)]();}case _0xd1157c['id']:{const _0x304aaa=_0x206f0f[_0x28d606(0x11f)];return _0x304aaa[_0x28d606(0x1a2)]['ranges'][_0x28d606(0x15e)](_0x466f92=>({'range':_0x466f92,'unitId':_0x304aaa[_0x28d606(0x24c)],'subUnitId':_0x304aaa['subUnitId']}));}default:return[];}}[_0x41ba85(0x1b8)](_0x540dbf){const _0x18a171=_0x41ba85;if(_0x540dbf['length']<=0x1)return _0x540dbf;const _0x4e1010=new Map();return _0x540dbf[_0x18a171(0x16d)](_0x48cf3c=>{const _0x233225=_0x18a171;var _0x58fc31;const {unitId:_0xfa1669,subUnitId:_0x48db75}=_0x48cf3c,_0x2cbf19=_0xfa1669+'-'+_0x48db75;_0x4e1010['has'](_0x2cbf19)?(_0x58fc31=_0x4e1010['get'](_0x2cbf19))==null||_0x58fc31[_0x233225(0x1f4)](_0x48cf3c):_0x4e1010[_0x233225(0xf2)](_0x2cbf19,[_0x48cf3c]);}),Array['from'](_0x4e1010[_0x18a171(0x1ef)]())[_0x18a171(0x15e)](_0x5b8972=>new _0x4d9e9e()[_0x18a171(0x13a)](..._0x5b8972[_0x18a171(0x15e)](_0x3220a8=>_0x3220a8[_0x18a171(0x232)]))[_0x18a171(0x111)]()[_0x18a171(0x15e)](_0x2e93cd=>({'range':_0x2e93cd,'unitId':_0x5b8972[0x0][_0x18a171(0x24c)],'subUnitId':_0x5b8972[0x0][_0x18a171(0x1bc)]})))['flat']();}};$=ys([Q(0x0,_0x4f81be(E)),Q(0x1,_0x3c79f6),Q(0x2,_0x908af1)],$);function he(_0x397e9f){return new _0x333dad(_0x397e9f)['getDataRange']();}function Cs(_0xa305ca){const _0x278d03=_0x41ba85,_0x2a7302=new _0x333dad(_0xa305ca),_0x2fef95=new _0x333dad();return _0x2a7302[_0x278d03(0x18f)]((_0x4a1e44,_0x5b8991)=>{const _0x58e6a1=_0x278d03;_0x2fef95[_0x58e6a1(0x19e)](_0x4a1e44,_0x5b8991,0x1);}),_0x404726(_0x2fef95);}var ws=Object[_0x41ba85(0x1f0)],Ps=(_0x4bdb06,_0x2da6d2,_0x88ee1e,_0x41c626)=>{const _0x28cef6=_0x41ba85;for(var _0x4a2212=_0x41c626>0x1?void 0x0:_0x41c626?ws(_0x2da6d2,_0x88ee1e):_0x2da6d2,_0x7ef444=_0x4bdb06[_0x28cef6(0x1f9)]-0x1,_0xf90d1;_0x7ef444>=0x0;_0x7ef444--)(_0xf90d1=_0x4bdb06[_0x7ef444])&&(_0x4a2212=_0xf90d1(_0x4a2212)||_0x4a2212);return _0x4a2212;},C=(_0x168ff8,_0x297a54)=>(_0x445c88,_0x1cb8d4)=>_0x297a54(_0x445c88,_0x1cb8d4,_0x168ff8);let te=class extends _0x40327d{constructor(_0x12d6df,_0x599056,_0x167712,_0xd09ffb,_0x48dcf6,_0x45ca88,_0x57f2fa){const _0x2512c3=_0x41ba85;super(),l(this,'_diffs',new Set()),l(this,'_lastPointer',null),(this['_context']=_0x12d6df,this['_historyManagerService']=_0x599056,this[_0x2512c3(0x233)]=_0x167712,this[_0x2512c3(0x1c1)]=_0xd09ffb,this[_0x2512c3(0xe6)]=_0x48dcf6,this[_0x2512c3(0x275)]=_0x45ca88,this[_0x2512c3(0x262)]=_0x57f2fa,this[_0x2512c3(0x1ff)]());}['_init'](){const _0x30aba8=_0x41ba85;this['_initRender'](),this[_0x30aba8(0x138)]();}[_0x41ba85(0x18c)](){const _0x212767=_0x41ba85;this[_0x212767(0xfa)](_0x201e91([this[_0x212767(0x196)][_0x212767(0x1ed)],this[_0x212767(0x275)][_0x212767(0x165)]])[_0x212767(0x185)](_0x99703d(([_0x1649d8,_0x5c8c30])=>{const _0x44aab0=_0x212767;if(_0x1649d8===T['Loaded']&&_0x5c8c30){const _0x33e054=_0x5c8c30[_0x44aab0(0x1b2)];return this[_0x44aab0(0x233)][_0x44aab0(0x20d)]['pipe'](_0x1ad9b3(_0x737290=>{const _0x5c59d4=_0x44aab0,_0x508372=new Map();return _0x737290['ranges'][_0x5c59d4(0x16d)]((_0x42089b,_0x4db429)=>{const _0xf68d74=_0x5c59d4,_0xb984e7=_0x42089b[_0xf68d74(0x1a7)](_0x5f5a0e=>_0x5f5a0e['subUnitId']===_0x33e054);_0x508372['set'](_0x4db429,_0xb984e7);}),{'skeleton':_0x5c8c30,'diffs':_0x508372};}));}return _0x3f9446({'skeleton':null,'diffs':new Map()});}))['subscribe'](({skeleton:_0x4cb22f,diffs:_0x5f5727})=>{const _0x5f406d=_0x212767;this[_0x5f406d(0x264)](),_0x4cb22f&&this[_0x5f406d(0x126)](_0x4cb22f,_0x5f5727);})),this[_0x212767(0xfa)](this[_0x212767(0x275)][_0x212767(0x165)]['subscribe'](_0x596b07=>{const _0x4d3259=_0x212767;if(_0x596b07==null)return;const {skeleton:_0x2fba25}=_0x596b07,{scene:_0x29a995}=this[_0x4d3259(0x1af)];_0x29a995[_0x4d3259(0x208)][_0x4d3259(0x133)](_0x1e6c60(_0x3eb5b1=>{const _0x1af14d=_0x4d3259;var _0x50d790,_0xcfaa2b;const {offsetX:_0x116703,offsetY:_0x29ac38}=_0x3eb5b1,{x:_0x5c1c83,y:_0xdad518}=_0x29a995['getRelativeToViewportCoord'](_0x1dd855[_0x1af14d(0x205)]([_0x116703,_0x29ac38])),{scaleX:_0x1b7c48,scaleY:_0x166093}=_0x29a995['getAncestorScale'](),_0x5a954e=_0x29a995[_0x1af14d(0x15c)](_0x2b21a1[_0x1af14d(0x241)]),_0x42fd5a=_0x29a995['getVpScrollXYInfoByPosToVp'](_0x1dd855[_0x1af14d(0x205)]([_0x5c1c83,_0xdad518]),_0x5a954e),_0x1e7559=_0x2fba25[_0x1af14d(0x18e)](_0x116703,_0x29ac38,_0x1b7c48,_0x166093,_0x42fd5a);((_0x50d790=this[_0x1af14d(0x235)])==null?void 0x0:_0x50d790[_0x1af14d(0x1f7)])===_0x1e7559[_0x1af14d(0x1f7)]&&((_0xcfaa2b=this[_0x1af14d(0x235)])==null?void 0x0:_0xcfaa2b[_0x1af14d(0xc9)])===_0x1e7559['row']||this[_0x1af14d(0x120)][_0x1af14d(0x16d)](_0x1ac235=>{_0x1ac235['onMouseMove'](_0x1e7559);});},0x64));}));}['_initActiveSwitch'](){const _0x27347f=_0x41ba85;this[_0x27347f(0xfa)](this[_0x27347f(0x196)][_0x27347f(0x1ed)]['subscribe'](_0x2933d8=>{const _0x2e0de1=_0x27347f,_0x4d9b47=new _0x1db468();return _0x2933d8===T['Loaded']&&(_0x4d9b47[_0x2e0de1(0xec)](),_0x4d9b47[_0x2e0de1(0x13a)](this[_0x2e0de1(0x233)][_0x2e0de1(0x20d)][_0x2e0de1(0xf6)](_0x24f5db=>{const _0x24441e=_0x2e0de1;_0x24f5db[_0x24441e(0xdd)]&&this['_commandService'][_0x24441e(0x19b)](_0x545469['id'],{'unitId':this[_0x24441e(0x1af)][_0x24441e(0x24c)],'subUnitId':_0x24f5db['active']});}))),()=>_0x4d9b47['dispose']();}));}['_updateDiffMarks'](_0x390ceb,_0x44eb00){const _0x3dc0d3=_0x41ba85;var _0x2f705c;const _0x3339bd=(_0x2f705c=this[_0x3dc0d3(0x275)][_0x3dc0d3(0x148)]())==null?void 0x0:_0x2f705c[_0x3dc0d3(0xe0)];if(!_0x3339bd)return;this[_0x3dc0d3(0x120)][_0x3dc0d3(0x16d)](_0x487250=>{_0x487250['makeDirty']();});const {scene:_0x510f5b}=this[_0x3dc0d3(0x1af)],_0x12b61b=Array[_0x3dc0d3(0x1c3)](_0x44eb00[_0x3dc0d3(0x229)]())[_0x3dc0d3(0x15e)](_0x4880d1=>_0x44eb00['get'](_0x4880d1)[_0x3dc0d3(0x15e)](_0x38236d=>{const _0x5f0d09=_0x3dc0d3;var _0x4e1162;const {range:_0x33ad10,subUnitId:_0x30bf14,unitId:_0x2972b4}=_0x38236d,{startColumn:_0x304eac,startRow:_0x5303b1,endColumn:_0x46791f,endRow:_0x173eac}=_0x33ad10,_0x45d9f5=_0x5ef0a7(_0x5303b1,_0x304eac,_0x510f5b,_0x3339bd),_0xe14dc6=_0x5ef0a7(_0x173eac,_0x46791f,_0x510f5b,_0x3339bd),{columnHeaderHeightAndMarginTop:_0x4275c3}=_0x3339bd,{startX:_0x3b9349,startY:_0x4e9640}=_0x45d9f5,{endX:_0x30a13c,endY:_0x295ed5}=_0xe14dc6,_0x35b0d6=_0x30a13c-_0x3b9349,_0x9073d6=_0x295ed5-_0x4e9640,_0x3d2d28={'labelPosition':_0x4e9640-_0x4275c3>=0x14?_0x5f0d09(0x190):_0x5f0d09(0x25c),'sheetID':_0x30bf14,'range':_0x33ad10,'color':_0x5f0d09(0x1f3),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x5f0d09(0x1f3),'name':((_0x4e1162=this[_0x5f0d09(0x196)][_0x5f0d09(0x256)](_0x4880d1))==null?void 0x0:_0x4e1162['name'])||'','selection':_0x2972b4+'-'+_0x30bf14+'-'+_0x33ad10[_0x5f0d09(0x22d)]+'-'+_0x33ad10[_0x5f0d09(0x106)]+'-'+_0x33ad10[_0x5f0d09(0x261)]+'-'+_0x33ad10[_0x5f0d09(0x26a)],'left':_0x3b9349,'top':_0x4e9640,'width':_0x35b0d6,'height':_0x9073d6,'evented':!0x1,'zIndex':0x1};return new _0x1c3b65('',_0x3d2d28);}))[_0x3dc0d3(0xdf)]();_0x510f5b[_0x3dc0d3(0x193)](_0x12b61b,0x1),this[_0x3dc0d3(0x120)]=new Set(_0x12b61b);}[_0x41ba85(0x264)](){const _0x3f2009=_0x41ba85;var _0x24bdf6;(_0x24bdf6=this['_diffs'])==null||_0x24bdf6[_0x3f2009(0x16d)](_0x550080=>_0x550080[_0x3f2009(0xec)]());}[_0x41ba85(0x1a6)](){const _0x2d7868=_0x41ba85;return _0x5e71ca(this[_0x2d7868(0x1c1)],this[_0x2d7868(0xe6)]);}};te=Ps([C(0x1,_0x4f81be(E)),C(0x2,_0x4f81be($)),C(0x3,_0x193cfc),C(0x4,_0x17b882),C(0x5,_0x4f81be(_0x5e6bd2)),C(0x6,_0x260d10)],te);function Ts(){const _0x46cb42=_0x41ba85,_0x3e9778=_0x34193d(E),_0x18e993=_0x2e3f3b(_0x3e9778['versions$']),[_0x339c71,_0x41220a]=_0x4345c0(!0x1),_0x4cb1ab=ls(_0x18e993);return _0x18e993?_0x5a62cd(_0x46cb42(0x16e),{'className':_0x46cb42(0x26b),'children':_0x5bccf3(_0x46cb42(0x16e),{'className':_0x46cb42(0x175),'children':[_0x4cb1ab[_0x46cb42(0x15e)]((_0x2b0479,_0x44f3aa)=>_0x5bccf3(_0x51852b,{'children':[_0x5a62cd(Vs,{'date':_0x2b0479['dateString']}),_0x2b0479[_0x46cb42(0x251)][_0x46cb42(0x15e)]((_0x5a6846,_0x5c0a3d)=>_0x5a62cd(ks,{'index':[_0x44f3aa,_0x5c0a3d],'item':_0x5a6846},_0x44f3aa+'-'+_0x5c0a3d))]},_0x2b0479['dateString'])),_0x339c71&&_0x5a62cd(Ls,{})]})}):_0x5a62cd($s,{});}function Ls(){const _0x4b396c=_0x41ba85;return _0x5a62cd(_0x4b396c(0x16e),{'className':_0x4b396c(0x1da),'children':_0x5a62cd(ae,{'className':'univer-animate-spin'})});}function $s(){const _0x11b853=_0x41ba85;return _0x5a62cd(_0x11b853(0x16e),{'className':_0x11b853(0x10d),'children':_0x5a62cd(_0x11b853(0x27d),{'className':_0x11b853(0x1e5),'children':_0x5a62cd(ae,{'className':_0x11b853(0x1e0)})})});}function Vs(_0x52c7a4){const _0x17b0f2=_0x41ba85,_0x50af76=_0x34193d(_0x4c63a5),{date:_0x41d114}=_0x52c7a4;return _0x5a62cd('div',{'className':_0x17b0f2(0x1dd),'children':ee(_0x41d114,_0x50af76[_0x17b0f2(0x1d7)]())});}function ks(_0x1c8833){const _0x34d801=_0x41ba85,{item:_0x3a5e1c,index:_0x4b0504}=_0x1c8833,{time:_0x1cc0d7,user:_0x912f33}=_0x3a5e1c,[_0x48a115,_0xf37fd7]=_0x4b0504,_0x4f53a6=_0x34193d(E),_0x13b53a=_0x2e3f3b(_0x4f53a6['currentVersion$'],'',!0x0)===_0x3a5e1c['id'],_0x4ec97f=_0x48a115===0x0&&_0xf37fd7===0x0,_0x20759f=!_0x4ec97f&&_0x4f53a6[_0x34d801(0x271)],_0x3ac365=_0x34193d(_0x4c63a5),_0x29a8f0=_0x3ac365[_0x34d801(0x1d7)](),_0x3d14b0=re(_0x1cc0d7,_0x29a8f0),_0x28f5f5=_0x3ac365['t'](_0x34d801(0x17c)),_0x1e073f=_0x2f12f4(_0x1eec94=>{const _0x846b5f=_0x34d801;_0x4f53a6[_0x846b5f(0x1fa)]!==T[_0x846b5f(0xfe)]&&(_0x4f53a6['currentVersion']=_0x1eec94);},[_0x4f53a6]),_0xeca2e0=_0x2f12f4(_0x4cc1a0=>{const _0x4489df=_0x34d801;_0x4f53a6[_0x4489df(0x1f2)](_0x4cc1a0);},[_0x4f53a6]);return _0x5bccf3(_0x34d801(0x16e),{'className':_0x498ce4(_0x34d801(0x18a),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x13b53a}),'onClick':()=>_0x1e073f(_0x3a5e1c['id']),'children':[_0x5bccf3('div',{'className':_0x34d801(0xcf),'children':[_0x5bccf3(_0x34d801(0x16e),{'className':_0x34d801(0x147),'children':[_0x5a62cd(_0x34d801(0x27d),{'children':_0x3d14b0[_0x34d801(0x158)]}),_0x4ec97f&&_0x5a62cd('span',{'className':_0x34d801(0x1df),'children':_0x28f5f5})]}),_0x5a62cd('div',{'children':_0x20759f&&_0x5a62cd(_0x3d2852,{'title':_0x3ac365['t'](_0x34d801(0x273)),'children':_0x5a62cd(_0x34d801(0x16e),{'onClick':_0x4245e5=>{const _0x5457de=_0x34d801;_0x4245e5[_0x5457de(0x1d4)](),_0xeca2e0(_0x3a5e1c['id']);},'className':_0x34d801(0x222),'children':_0x5a62cd(Le,{})})})})]}),_0x5a62cd('div',{'className':_0x34d801(0x11d),'children':os(_0x3a5e1c,_0x3ac365)})]});}var Us=Object[_0x41ba85(0x1f0)],xs=(_0x10eaf9,_0x4c4d6c,_0x5c9dde,_0x51ef19)=>{const _0x32eb11=_0x41ba85;for(var _0x1ea78b=_0x51ef19>0x1?void 0x0:_0x51ef19?Us(_0x4c4d6c,_0x5c9dde):_0x4c4d6c,_0x353cf1=_0x10eaf9[_0x32eb11(0x1f9)]-0x1,_0x1088bc;_0x353cf1>=0x0;_0x353cf1--)(_0x1088bc=_0x10eaf9[_0x353cf1])&&(_0x1ea78b=_0x1088bc(_0x1ea78b)||_0x1ea78b);return _0x1ea78b;},k=(_0x26ef0a,_0x46ce5b)=>(_0x2c753c,_0x25935f)=>_0x46ce5b(_0x2c753c,_0x25935f,_0x26ef0a);const de=_0x41ba85(0x280);let j=class extends _0x40327d{constructor(_0xc1424c,_0x43be2c,_0xf94859,_0x2f85eb){const _0x4aebf5=_0x41ba85;super(),l(this,_0x4aebf5(0x1f1),null),(this[_0x4aebf5(0x20e)]=_0xc1424c,this[_0x4aebf5(0x239)]=_0x43be2c,this[_0x4aebf5(0x206)]=_0xf94859,this[_0x4aebf5(0x196)]=_0x2f85eb,this['_init']());}[_0x41ba85(0x1ff)](){const _0x6a4ab3=_0x41ba85;this[_0x6a4ab3(0x145)](),this['_openPanel']();}[_0x41ba85(0x223)](){const _0x2ac5a3=_0x41ba85;if(this['_sidebarDisposable'])return;const _0xb06586={'header':{'title':this[_0x2ac5a3(0x206)]['t'](_0x2ac5a3(0x17b))},'children':{'label':de},'onClose':()=>{const _0x501b1b=_0x2ac5a3;this[_0x501b1b(0x1f1)]=null,this[_0x501b1b(0x196)][_0x501b1b(0x253)]=ne[_0x501b1b(0x1c0)];}};this[_0x2ac5a3(0x1f1)]=this[_0x2ac5a3(0x20e)]['open']({..._0xb06586});}[_0x41ba85(0x145)](){const _0x18c289=_0x41ba85;this[_0x18c289(0xfa)](this[_0x18c289(0x239)][_0x18c289(0x246)](de,Ts)),this[_0x18c289(0xfa)](this[_0x18c289(0x20e)][_0x18c289(0xc5)][_0x18c289(0x185)](_0x26061b(0x64))[_0x18c289(0xf6)](_0x23ff13=>{const _0x1a086e=_0x18c289,{target:_0x1fe9cd}=_0x23ff13||{};if(_0x1fe9cd){const {scrollTop:_0x39f713,scrollHeight:_0x71c913,clientHeight:_0x5dd9a0}=_0x1fe9cd;_0x39f713+_0x5dd9a0>=_0x71c913-0x5&&this['_historyManagerService'][_0x1a086e(0x21c)]();}}));}};j=xs([k(0x0,_0x23af6a),k(0x1,_0x4f81be(_0x56619a)),k(0x2,_0x4f81be(_0x4c63a5)),k(0x3,_0x4f81be(E))],j);class Hs extends _0x40327d{constructor(){const _0x19f3d9=_0x41ba85;super(),l(this,_0x19f3d9(0xfc),new _0x18f5e0());}['open'](){return _0x375bcb(()=>{});}['close'](){}[_0x41ba85(0x1b3)](_0x14ba50){}[_0x41ba85(0xf8)](){const _0x45c905=_0x41ba85;return this['_dialogOptions$'][_0x45c905(0xf1)]();}}var Fs=Object[_0x41ba85(0x172)],Ys=Object[_0x41ba85(0x1f0)],Bs=(_0x3e2619,_0x4118d5,_0x1b2a23)=>_0x4118d5 in _0x3e2619?Fs(_0x3e2619,_0x4118d5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b2a23}):_0x3e2619[_0x4118d5]=_0x1b2a23,js=(_0x4d43cc,_0x544898,_0x430f53,_0x5bc7f0)=>{const _0x15ea91=_0x41ba85;for(var _0x5dfcec=_0x5bc7f0>0x1?void 0x0:_0x5bc7f0?Ys(_0x544898,_0x430f53):_0x544898,_0x47edee=_0x4d43cc[_0x15ea91(0x1f9)]-0x1,_0x2e0621;_0x47edee>=0x0;_0x47edee--)(_0x2e0621=_0x4d43cc[_0x47edee])&&(_0x5dfcec=_0x2e0621(_0x5dfcec)||_0x5dfcec);return _0x5dfcec;},J=(_0x3c8607,_0x52f743)=>(_0x3f12ea,_0xce25f)=>_0x52f743(_0x3f12ea,_0xce25f,_0x3c8607),As=(_0x57c205,_0x42ea83,_0xc248bf)=>Bs(_0x57c205,_0x42ea83+'',_0xc248bf);const Ws=_0x41ba85(0x187);let se=class extends _0x212788{constructor(_0x10910e=_e,_0x2ef533,_0xf4e4a8,_0x3e5ca5){const _0x54ccd0=_0x41ba85;super(),this[_0x54ccd0(0x121)]=_0x10910e,this[_0x54ccd0(0x27a)]=_0x2ef533,this[_0x54ccd0(0xe6)]=_0xf4e4a8,this[_0x54ccd0(0x18b)]=_0x3e5ca5;const {..._0x4a96f9}=_0x5d38ea({},_e,this['_config']);this[_0x54ccd0(0x18b)][_0x54ccd0(0x249)](we,_0x4a96f9);}[_0x41ba85(0x219)](){const _0x5882dd=_0x41ba85;[[E],[B],[$],[Y],[j],[H],[_0x908af1,{'useClass':_0x3da349}],[_0x4736eb,{'useClass':Hs}],[_0x1a2447,{'useClass':_0x3c3f52}]]['forEach'](_0xeaadcd=>this[_0x5882dd(0x27a)]['add'](_0xeaadcd)),this[_0x5882dd(0x27a)]['get'](B);}[_0x41ba85(0x105)](){const _0x2511c1=_0x41ba85;[[te]][_0x2511c1(0x16d)](_0x5aeac4=>{const _0x57a26c=_0x2511c1;this[_0x57a26c(0xfa)](this[_0x57a26c(0xe6)][_0x57a26c(0xe5)](_0x123f4a[_0x57a26c(0x250)],_0x5aeac4));}),this[_0x2511c1(0x27a)]['get'](H),this[_0x2511c1(0x27a)][_0x2511c1(0x224)](j);}[_0x41ba85(0x1ea)](){const _0x546919=_0x41ba85;this[_0x546919(0x27a)][_0x546919(0x224)]($);}};As(se,_0x41ba85(0x1e2),Ws),se=js([_0x43b14a(_0xc97d6,_0x424b43),J(0x1,_0x4f81be(_0x35402c)),J(0x2,_0x17b882),J(0x3,_0x403f22)],se);export{E as HistoryManagerService,ne as HistoryModeStatus,se as UniverEditHistoryViewerPlugin};
@@ -1 +1 @@
1
- function _0x4102(_0x5d3b36,_0x3dc59c){const _0x306a05=_0x306a();return _0x4102=function(_0x41020f,_0x577b47){_0x41020f=_0x41020f-0x16f;let _0x4cd11d=_0x306a05[_0x41020f];return _0x4cd11d;},_0x4102(_0x5d3b36,_0x3dc59c);}const _0x5a3102=_0x4102;function _0x306a(){const _0x1f8d27=['delete\x20protection','edited\x20worksheet','add\x20protection','Failed\x20to\x20get\x20edit\x20history\x20list','1347255jGEZmh','inserted\x20worksheet','3835060UzKWkE','839933fSwbnY',',\x20etc.','set\x20frozen','reverted\x20workbook','deleted\x20worksheet','loading,\x20please\x20wait...','add\x20conditional\x20formatting','4419852jOZBAP','Restore\x20this\x20version','Back','3603005aZguBC','Reverted\x20from','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','set\x20filter','Edit\x20History','1467072Nkuwmr','set\x20conditional\x20formatting','Confirm','Cancel','Current\x20User','292010loYTna','Reverting,\x20please\x20wait...','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','set\x20data\x20validation','created\x20workbook'];_0x306a=function(){return _0x1f8d27;};return _0x306a();}(function(_0x495c2a,_0x3af2a3){const _0x3e98bb=_0x4102,_0x3eb68d=_0x495c2a();while(!![]){try{const _0x4f0e60=-parseInt(_0x3e98bb(0x17c))/0x1+parseInt(_0x3e98bb(0x18b))/0x2+parseInt(_0x3e98bb(0x179))/0x3+-parseInt(_0x3e98bb(0x17b))/0x4+-parseInt(_0x3e98bb(0x170))/0x5+parseInt(_0x3e98bb(0x183))/0x6+parseInt(_0x3e98bb(0x186))/0x7;if(_0x4f0e60===_0x3af2a3)break;else _0x3eb68d['push'](_0x3eb68d['shift']());}catch(_0x5a17a5){_0x3eb68d['push'](_0x3eb68d['shift']());}}}(_0x306a,0x8cd6e));const e={'editHistory':{'panel':{'title':_0x5a3102(0x18a),'unknownUser':'Unknown\x20User','listFetchError':_0x5a3102(0x178),'revertConfirm':'Restore\x20this\x20version?','revertConfirmText':_0x5a3102(0x172),'cancel':_0x5a3102(0x18e),'confirm':_0x5a3102(0x18d),'reverting':_0x5a3102(0x171),'revertFailed':_0x5a3102(0x188),'currentVersion':'Current\x20Version','currentUser':_0x5a3102(0x16f),'revertDesc':_0x5a3102(0x184)},'info':{'loading':_0x5a3102(0x181)},'header':{'back':_0x5a3102(0x185),'revert':_0x5a3102(0x184)},'action':{'insertSheet':_0x5a3102(0x17a),'removeSheet':_0x5a3102(0x180),'createSheet':_0x5a3102(0x174),'setFilter':_0x5a3102(0x189),'setFrozen':_0x5a3102(0x17e),'editSheet':_0x5a3102(0x176),'revertSheet':_0x5a3102(0x17f),'revertSheetPrefix':_0x5a3102(0x187),'revertSheetSuffix':'','setDV':_0x5a3102(0x173),'setCF':_0x5a3102(0x18c),'addCF':_0x5a3102(0x182),'addProtection':_0x5a3102(0x177),'addSparkline':'add\x20sparkline','deleteProtection':_0x5a3102(0x175),'etc':_0x5a3102(0x17d)}}},t=e;export{t as default};
1
+ const _0x584983=_0x238c;(function(_0x222984,_0x4fdffa){const _0x9de68c=_0x238c,_0x1d608a=_0x222984();while(!![]){try{const _0x777942=-parseInt(_0x9de68c(0x167))/0x1*(parseInt(_0x9de68c(0x166))/0x2)+parseInt(_0x9de68c(0x16a))/0x3*(parseInt(_0x9de68c(0x172))/0x4)+parseInt(_0x9de68c(0x174))/0x5+parseInt(_0x9de68c(0x160))/0x6*(parseInt(_0x9de68c(0x15c))/0x7)+parseInt(_0x9de68c(0x169))/0x8*(parseInt(_0x9de68c(0x15d))/0x9)+parseInt(_0x9de68c(0x159))/0xa+parseInt(_0x9de68c(0x165))/0xb*(-parseInt(_0x9de68c(0x158))/0xc);if(_0x777942===_0x4fdffa)break;else _0x1d608a['push'](_0x1d608a['shift']());}catch(_0x4da7f5){_0x1d608a['push'](_0x1d608a['shift']());}}}(_0x473b,0xc8879));function _0x473b(){const _0x46cf3e=['add\x20conditional\x20formatting','Restore\x20this\x20version','created\x20workbook','Reverting,\x20please\x20wait...','Restore\x20this\x20version?','1396480TFuLPv','Current\x20Version','204445sdrRxp','set\x20data\x20validation','10279944iRJxGW','7196170fODSZI','Confirm','delete\x20protection','7mUcqjG','27SwcgNk','Back','set\x20frozen','8957514hyDQBF','inserted\x20worksheet','Cancel','Unknown\x20User','edited\x20worksheet','22EuLJzG','40168LJUsYi','35hYAXxc','Failed\x20to\x20get\x20edit\x20history\x20list','1693568OcKVpW','3wUQVrQ','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','deleted\x20worksheet'];_0x473b=function(){return _0x46cf3e;};return _0x473b();}const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':_0x584983(0x163),'listFetchError':_0x584983(0x168),'revertConfirm':_0x584983(0x171),'revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':_0x584983(0x162),'confirm':_0x584983(0x15a),'reverting':_0x584983(0x170),'revertFailed':_0x584983(0x16b),'currentVersion':_0x584983(0x173),'currentUser':'Current\x20User','revertDesc':_0x584983(0x16e)},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':_0x584983(0x15e),'revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0x584983(0x161),'removeSheet':_0x584983(0x16c),'createSheet':_0x584983(0x16f),'setFilter':'set\x20filter','setFrozen':_0x584983(0x15f),'editSheet':_0x584983(0x164),'revertSheet':'reverted\x20workbook','revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':_0x584983(0x175),'setCF':'set\x20conditional\x20formatting','addCF':_0x584983(0x16d),'addProtection':'add\x20protection','addSparkline':'add\x20sparkline','deleteProtection':_0x584983(0x15b),'etc':',\x20etc.'}}},t=e;function _0x238c(_0x1e899c,_0x437b6b){const _0x473b7c=_0x473b();return _0x238c=function(_0x238cce,_0x688947){_0x238cce=_0x238cce-0x158;let _0x895343=_0x473b7c[_0x238cce];return _0x895343;},_0x238c(_0x1e899c,_0x437b6b);}export{t as default};