@univerjs-pro/edit-history-viewer 0.9.2-nightly.202507131606 → 0.9.2-nightly.202507151607
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.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -0
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -0
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -0
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -0
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -0
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -0
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/locale/ca-ES.d.ts +3 -0
- package/lib/types/locale/es-ES.d.ts +3 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -0
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -0
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/es/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x2063(_0x6a24f2,_0x5ae0ff){const _0x40a604=_0x40a6();return _0x2063=function(_0x206310,_0x4f1876){_0x206310=_0x206310-0x1c2;let _0x115767=_0x40a604[_0x206310];return _0x115767;},_0x2063(_0x6a24f2,_0x5ae0ff);}const _0x459345=_0x2063;(function(_0x88e413,_0x8e46be){const _0x1286df=_0x2063,_0x39a9bf=_0x88e413();while(!![]){try{const _0x418120=parseInt(_0x1286df(0x1d4))/0x1+parseInt(_0x1286df(0x1d1))/0x2+-parseInt(_0x1286df(0x1d5))/0x3*(parseInt(_0x1286df(0x1c9))/0x4)+parseInt(_0x1286df(0x1dc))/0x5*(-parseInt(_0x1286df(0x1e1))/0x6)+parseInt(_0x1286df(0x1d8))/0x7+parseInt(_0x1286df(0x1ce))/0x8*(parseInt(_0x1286df(0x1cb))/0x9)+parseInt(_0x1286df(0x1d7))/0xa*(parseInt(_0x1286df(0x1c3))/0xb);if(_0x418120===_0x8e46be)break;else _0x39a9bf['push'](_0x39a9bf['shift']());}catch(_0x4f0ada){_0x39a9bf['push'](_0x39a9bf['shift']());}}}(_0x40a6,0x1e236));function _0x40a6(){const _0x5e8c8a=['add\x20protection',',\x20etc.','620088eiPvNd','add\x20conditional\x20formatting','9vMzZdg','Restore\x20this\x20version','reverted\x20workbook','638440ZbDyJd','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','Current\x20Version','401776OWOgMs','set\x20data\x20validation','Confirm','78255emmcnT','3SvlwwF','Restore\x20this\x20version?','753030teSNgH','93240JqbqNT','Cancel','inserted\x20worksheet','Reverting,\x20please\x20wait...','55WqHLvA','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Unknown\x20User','Failed\x20to\x20get\x20edit\x20history\x20list','deleted\x20worksheet','92238RNWxqQ','add\x20sparkline','11UxLpZU','set\x20conditional\x20formatting','Reverted\x20from','Back'];_0x40a6=function(){return _0x5e8c8a;};return _0x40a6();}const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':_0x459345(0x1de),'listFetchError':_0x459345(0x1df),'revertConfirm':_0x459345(0x1d6),'revertConfirmText':_0x459345(0x1cf),'cancel':_0x459345(0x1d9),'confirm':_0x459345(0x1d3),'reverting':_0x459345(0x1db),'revertFailed':_0x459345(0x1dd),'currentVersion':_0x459345(0x1d0),'currentUser':'Current\x20User','revertDesc':_0x459345(0x1cc)},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':_0x459345(0x1c6),'revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0x459345(0x1da),'removeSheet':_0x459345(0x1e0),'createSheet':'created\x20workbook','setFilter':'set\x20filter','setFrozen':'set\x20frozen','editSheet':'edited\x20worksheet','revertSheet':_0x459345(0x1cd),'revertSheetPrefix':_0x459345(0x1c5),'revertSheetSuffix':'','setDV':_0x459345(0x1d2),'setCF':_0x459345(0x1c4),'addCF':_0x459345(0x1ca),'addProtection':_0x459345(0x1c7),'addSparkline':_0x459345(0x1c2),'deleteProtection':'delete\x20protection','etc':_0x459345(0x1c8)}}},t=e;export{t as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1d741a=_0x2a1f;(function(_0x1b4fe9,_0x6ec3fe){const _0x36d2bf=_0x2a1f,_0x30353d=_0x1b4fe9();while(!![]){try{const _0x43413a=-parseInt(_0x36d2bf(0x192))/0x1+-parseInt(_0x36d2bf(0x191))/0x2*(-parseInt(_0x36d2bf(0x18a))/0x3)+parseInt(_0x36d2bf(0x19b))/0x4+-parseInt(_0x36d2bf(0x19a))/0x5*(parseInt(_0x36d2bf(0x19e))/0x6)+parseInt(_0x36d2bf(0x19d))/0x7*(parseInt(_0x36d2bf(0x1a1))/0x8)+-parseInt(_0x36d2bf(0x195))/0x9*(parseInt(_0x36d2bf(0x1a0))/0xa)+parseInt(_0x36d2bf(0x187))/0xb;if(_0x43413a===_0x6ec3fe)break;else _0x30353d['push'](_0x30353d['shift']());}catch(_0x3a223e){_0x30353d['push'](_0x30353d['shift']());}}}(_0x47d3,0x5eeb6));const e={'editHistory':{'panel':{'title':_0x1d741a(0x19c),'unknownUser':_0x1d741a(0x188),'listFetchError':_0x1d741a(0x196),'revertConfirm':_0x1d741a(0x18b),'revertConfirmText':_0x1d741a(0x17e),'cancel':_0x1d741a(0x186),'confirm':_0x1d741a(0x180),'reverting':_0x1d741a(0x18c),'revertFailed':_0x1d741a(0x189),'currentVersion':_0x1d741a(0x18e),'currentUser':_0x1d741a(0x181),'revertDesc':'Restore\x20this\x20version'},'info':{'loading':_0x1d741a(0x183)},'header':{'back':_0x1d741a(0x182),'revert':_0x1d741a(0x194)},'action':{'insertSheet':_0x1d741a(0x197),'removeSheet':_0x1d741a(0x18f),'createSheet':_0x1d741a(0x184),'setFilter':'set\x20filter','setFrozen':_0x1d741a(0x190),'editSheet':'edited\x20worksheet','revertSheet':_0x1d741a(0x185),'revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':_0x1d741a(0x18d),'setCF':'set\x20conditional\x20formatting','addCF':_0x1d741a(0x17f),'addProtection':_0x1d741a(0x198),'addSparkline':_0x1d741a(0x19f),'deleteProtection':_0x1d741a(0x199),'etc':_0x1d741a(0x193)}}},t=e;function _0x2a1f(_0x198843,_0x165b15){const _0x47d3da=_0x47d3();return _0x2a1f=function(_0x2a1f18,_0x469da0){_0x2a1f18=_0x2a1f18-0x17e;let _0x16fa48=_0x47d3da[_0x2a1f18];return _0x16fa48;},_0x2a1f(_0x198843,_0x165b15);}export{t as default};function _0x47d3(){const _0x4b49a0=['1155848RJXoDt','Edit\x20History','35nNrrwL','20442tmXThj','add\x20sparkline','3433820YnSaQX','1233136UZwNyj','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','add\x20conditional\x20formatting','Confirm','Current\x20User','Back','loading,\x20please\x20wait...','created\x20workbook','reverted\x20workbook','Cancel','2982573vVFRMB','Unknown\x20User','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','1902GftriM','Restore\x20this\x20version?','Reverting,\x20please\x20wait...','set\x20data\x20validation','Current\x20Version','deleted\x20worksheet','set\x20frozen','742mdARPC','704391uGxBEr',',\x20etc.','Restore\x20this\x20version','9mDieEK','Failed\x20to\x20get\x20edit\x20history\x20list','inserted\x20worksheet','add\x20protection','delete\x20protection','190csYvZf'];_0x47d3=function(){return _0x4b49a0;};return _0x47d3();}
|
package/lib/es/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x5a15(){const _0x2cce07=['Reverting,\x20please\x20wait...','10453632mIvujj','loading,\x20please\x20wait...','Unknown\x20User','add\x20protection','reverted\x20workbook','created\x20workbook','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','set\x20data\x20validation','2679439engNqN','Restore\x20this\x20version?','set\x20filter','Cancel','Failed\x20to\x20get\x20edit\x20history\x20list','Restore\x20this\x20version','Back','900075tbnWFR','Reverted\x20from','172cYqqfz','add\x20sparkline','add\x20conditional\x20formatting','6589386HhxKPf',',\x20etc.','delete\x20protection','inserted\x20worksheet','Edit\x20History','1538358HhzxkU','42710QDbxhA','554238ZjYycL','deleted\x20worksheet','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version'];_0x5a15=function(){return _0x2cce07;};return _0x5a15();}const _0x8accf0=_0x4cc2;(function(_0x544ebd,_0x21f495){const _0x1fbd26=_0x4cc2,_0x531003=_0x544ebd();while(!![]){try{const _0x1268da=-parseInt(_0x1fbd26(0x11c))/0x1+parseInt(_0x1fbd26(0x126))/0x2+parseInt(_0x1fbd26(0x128))/0x3+parseInt(_0x1fbd26(0x11e))/0x4*(parseInt(_0x1fbd26(0x127))/0x5)+parseInt(_0x1fbd26(0x121))/0x6+parseInt(_0x1fbd26(0x115))/0x7+-parseInt(_0x1fbd26(0x10d))/0x8;if(_0x1268da===_0x21f495)break;else _0x531003['push'](_0x531003['shift']());}catch(_0x1fc534){_0x531003['push'](_0x531003['shift']());}}}(_0x5a15,0x91604));function _0x4cc2(_0x2da319,_0x1915f2){const _0x5a151a=_0x5a15();return _0x4cc2=function(_0x4cc20e,_0x4c7dda){_0x4cc20e=_0x4cc20e-0x10a;let _0x2e4210=_0x5a151a[_0x4cc20e];return _0x2e4210;},_0x4cc2(_0x2da319,_0x1915f2);}const e={'editHistory':{'panel':{'title':_0x8accf0(0x125),'unknownUser':_0x8accf0(0x10f),'listFetchError':_0x8accf0(0x119),'revertConfirm':_0x8accf0(0x116),'revertConfirmText':_0x8accf0(0x10b),'cancel':_0x8accf0(0x118),'confirm':'Confirm','reverting':_0x8accf0(0x10c),'revertFailed':_0x8accf0(0x113),'currentVersion':'Current\x20Version','currentUser':'Current\x20User','revertDesc':_0x8accf0(0x11a)},'info':{'loading':_0x8accf0(0x10e)},'header':{'back':_0x8accf0(0x11b),'revert':_0x8accf0(0x11a)},'action':{'insertSheet':_0x8accf0(0x124),'removeSheet':_0x8accf0(0x10a),'createSheet':_0x8accf0(0x112),'setFilter':_0x8accf0(0x117),'setFrozen':'set\x20frozen','editSheet':'edited\x20worksheet','revertSheet':_0x8accf0(0x111),'revertSheetPrefix':_0x8accf0(0x11d),'revertSheetSuffix':'','setDV':_0x8accf0(0x114),'setCF':'set\x20conditional\x20formatting','addCF':_0x8accf0(0x120),'addProtection':_0x8accf0(0x110),'addSparkline':_0x8accf0(0x11f),'deleteProtection':_0x8accf0(0x123),'etc':_0x8accf0(0x122)}}},t=e;export{t as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x4f1c(){const _0x1509aa=['还原到此版本?','编辑了工作表','563082wOUEvA','正在还原,请稍等...','165460OaTJLe','创建了工作表','设置了筛选','还原到此版本','849264oeLaBC','冻结了工作表','删除了工作表','设置了数据验证','还原了','加载中,请稍等...','105316rnQicD','还原了版本','当前版本','10704001fYTRgE','添加了保护范围','1342196nbdcCd','57xJwifB','55560PwmKnW','的版本','移除了保护范围','70yoXbKp','该文档将会被还原到选中版本','576daYOYx','获取编辑历史记录列表失败','14jeQTaH','历史记录'];_0x4f1c=function(){return _0x1509aa;};return _0x4f1c();}const _0x38c1c1=_0x3aef;(function(_0x308cc4,_0x11f994){const _0x56501e=_0x3aef,_0x370580=_0x308cc4();while(!![]){try{const _0x1c5243=-parseInt(_0x56501e(0x98))/0x1+parseInt(_0x56501e(0x89))/0x2+parseInt(_0x56501e(0x8a))/0x3*(parseInt(_0x56501e(0x84))/0x4)+-parseInt(_0x56501e(0x8e))/0x5*(parseInt(_0x56501e(0x96))/0x6)+parseInt(_0x56501e(0x92))/0x7*(-parseInt(_0x56501e(0x7e))/0x8)+parseInt(_0x56501e(0x90))/0x9*(parseInt(_0x56501e(0x8b))/0xa)+parseInt(_0x56501e(0x87))/0xb;if(_0x1c5243===_0x11f994)break;else _0x370580['push'](_0x370580['shift']());}catch(_0x441846){_0x370580['push'](_0x370580['shift']());}}}(_0x4f1c,0xc55c6));const e={'editHistory':{'panel':{'title':_0x38c1c1(0x93),'unknownUser':'未知用户','listFetchError':_0x38c1c1(0x91),'revertConfirm':_0x38c1c1(0x94),'revertConfirmText':_0x38c1c1(0x8f),'cancel':'取消','confirm':'确认','reverting':_0x38c1c1(0x97),'revertFailed':'未知错误,请刷新页面查看还原结果','currentVersion':_0x38c1c1(0x86),'currentUser':'当前用户','revertDesc':_0x38c1c1(0x7d)},'info':{'loading':_0x38c1c1(0x83)},'header':{'back':'返回','revert':_0x38c1c1(0x7d)},'action':{'insertSheet':'插入了工作表','removeSheet':_0x38c1c1(0x80),'createSheet':_0x38c1c1(0x7b),'setFilter':_0x38c1c1(0x7c),'setFrozen':_0x38c1c1(0x7f),'editSheet':_0x38c1c1(0x95),'revertSheet':_0x38c1c1(0x85),'revertSheetPrefix':_0x38c1c1(0x82),'revertSheetSuffix':_0x38c1c1(0x8c),'setDV':_0x38c1c1(0x81),'setCF':'设置了条件格式','addCF':'添加了条件格式','addProtection':_0x38c1c1(0x88),'addSparkline':'添加了迷你图','deleteProtection':_0x38c1c1(0x8d),'etc':',等'}}};function _0x3aef(_0x4dd0bb,_0x17dd7a){const _0x4f1c0f=_0x4f1c();return _0x3aef=function(_0x3aef18,_0x1769c9){_0x3aef18=_0x3aef18-0x7b;let _0x4c34bd=_0x4f1c0f[_0x3aef18];return _0x4c34bd;},_0x3aef(_0x4dd0bb,_0x17dd7a);}export{e as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x4bf3(_0x103997,_0x4c7f03){const _0x47599f=_0x4759();return _0x4bf3=function(_0x4bf33b,_0x22570e){_0x4bf33b=_0x4bf33b-0x1c6;let _0x42003a=_0x47599f[_0x4bf33b];return _0x42003a;},_0x4bf3(_0x103997,_0x4c7f03);}function _0x4759(){const _0x329611=['inserted\x20worksheet','2227194vwCIDo','3132582vggwZG','created\x20workbook','8mXtlcL','7156604IHVKlX','set\x20filter','Current\x20User','Restore\x20this\x20version','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Confirm','loading,\x20please\x20wait...','Failed\x20to\x20get\x20edit\x20history\x20list','1782935HyNQSG','Unknown\x20User','set\x20data\x20validation','add\x20sparkline','5056515UZdJiB',',\x20etc.','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','15EgQkSf','2518119QbjUvx','add\x20conditional\x20formatting','13015247BxeBnP','Restore\x20this\x20version?','add\x20protection','Reverted\x20from','deleted\x20worksheet'];_0x4759=function(){return _0x329611;};return _0x4759();}const _0x3a0653=_0x4bf3;(function(_0x42dd87,_0x24a881){const _0x219624=_0x4bf3,_0x194a8e=_0x42dd87();while(!![]){try{const _0x4f7e4b=parseInt(_0x219624(0x1d5))/0x1+-parseInt(_0x219624(0x1ca))/0x2+-parseInt(_0x219624(0x1dd))/0x3+parseInt(_0x219624(0x1cd))/0x4+parseInt(_0x219624(0x1dc))/0x5*(parseInt(_0x219624(0x1c9))/0x6)+-parseInt(_0x219624(0x1df))/0x7+-parseInt(_0x219624(0x1cc))/0x8*(-parseInt(_0x219624(0x1d9))/0x9);if(_0x4f7e4b===_0x24a881)break;else _0x194a8e['push'](_0x194a8e['shift']());}catch(_0x362bad){_0x194a8e['push'](_0x194a8e['shift']());}}}(_0x4759,0xefe05));const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':_0x3a0653(0x1d6),'listFetchError':_0x3a0653(0x1d4),'revertConfirm':_0x3a0653(0x1e0),'revertConfirmText':_0x3a0653(0x1db),'cancel':'Cancel','confirm':_0x3a0653(0x1d2),'reverting':'Reverting,\x20please\x20wait...','revertFailed':_0x3a0653(0x1d1),'currentVersion':'Current\x20Version','currentUser':_0x3a0653(0x1cf),'revertDesc':_0x3a0653(0x1d0)},'info':{'loading':_0x3a0653(0x1d3)},'header':{'back':'Back','revert':_0x3a0653(0x1d0)},'action':{'insertSheet':_0x3a0653(0x1c8),'removeSheet':_0x3a0653(0x1c7),'createSheet':_0x3a0653(0x1cb),'setFilter':_0x3a0653(0x1ce),'setFrozen':'set\x20frozen','editSheet':'edited\x20worksheet','revertSheet':'reverted\x20workbook','revertSheetPrefix':_0x3a0653(0x1c6),'revertSheetSuffix':'','setDV':_0x3a0653(0x1d7),'setCF':'set\x20conditional\x20formatting','addCF':_0x3a0653(0x1de),'addProtection':_0x3a0653(0x1e1),'addSparkline':_0x3a0653(0x1d8),'deleteProtection':'delete\x20protection','etc':_0x3a0653(0x1da)}}},t=e;export{t as default};
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x2c19(){const _0x48c783=['isArray','bottom','blockMeta','editHistory.panel.cancel','USER_NOT_INVITED_CODE','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','endColumn','active','getVersion','DeleteColumn','ensureVersion','disposeWithMe','skeleton','140268EKrOGR','asObservable','_currentVersion$','UniverIcon','InsertColumn','commands','_commandService','some','fill','_injector','_sheetSkeletonManagerService','INTERNAL_ERROR','push','1000','value','SetCellValue','loading-multi-icon','View','COMPLETION_FINISHED','editHistory.panel.confirm','UNIVER_SLIDE','versions$','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','rule','name','History','none','currentSkeleton$','body','rect',':\x20(','/list?length=20','_snapshotServerService','add','univer-mx-[-20px]\x20univer-overflow-hidden','getCurrent','historyListServerUrl','startRow','unitId','UNAUTHENTICATED','_removeDiffMarks','setCF','init','RenameWorksheet','_localeService','transformMutations','backgroundColor','colorChannel1','endRow','_diffs','block','loaded','get','rules','span','univer-text-2xl','SNAPSHOT_HAS_BEEN_REMOVED','currentVersion$','univerjs-icon\x20univerjs-icon-','editHistory.panel.revertDesc','RecoverHistory','function','filter','rgba(58,\x2096,\x20247,\x200.20)','_openPanel','all','getCurrentVersion','getUnitId','parse','_workbookDataCache','sheetId','_historyManagerService','_transformMutationByOrder','YUUMI_NO_CUBOID_FOR_QUESTION','position','ViemRwHgtClWdt','Info','100%','interceptor','defs','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','editHistory.action.revertSheetPrefix','data','_componentManager','propertyIsEnumerable','setDV','div','UNIVER_SHEET','NOT_FOUND','univer-h-full\x20univer-overflow-auto\x20univer-border-t\x20univer-border-gray-200','children','_renderManagerService','M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z','[HistoryFetchService]:\x20request\x20snapshot\x20error!','6qGrfIC','startColumn','prototype','updatePermissionPoint','YUUMI_TABLE_NOT_FOUND_IN_UNIT','assign','InsertHyperlink','EditExtraObject','merge','univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','idSuffix','10872567MnHnLw','univer-pl-[26px]\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','subscribe','LICENSE_EXPORT_SIZE_EXCEEDED','triggerLoadSheet','_getRangesByMutation','editHistory.action.','has','_fetching','WECHAT_HAS_BEEN_BOUND','createSheet','restore-icon_clip0_1247_2','_config','CreatePermissionObject','UNRECOGNIZED','InsertRow','LOGIN_FAILED','editHistory.panel.listFetchError','ViewHistory','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','hasCommand','left','pluginName','string','symbol','rev','editHistory.info.loading','history-panel','getInterceptPoints','_transformService','getVersions','userId','_univerInstanceService','getMember','display','Filter','zIndex','subscribeEvent','YUUMI_URL_COL_OUT_OF_RANGE','YUUMI_ASYNCIO_CANCELLED','extend','_unitId$','loadingState$','DeleteWorksheet','evenodd','FromArray','split','_updateDiffMarks','_updateVersions','time','ViewFilter','0\x200\x2016\x2017','then','1771015exvJGR','CopySheet','YUUMI_RATE_OVER_LIMIT','flex','EMAIL_HAS_BEEN_BOUND','_versionDiffService','univer-text-gray-500','_maskContainer','univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','cellValue','editHistory.header.revert','getHours','error','stopPropagation','_createUnit','_initMaskContainer','5117056epbdWn','params','univer-flex\x20univer-h-[60px]\x20univer-cursor-default\x20univer-flex-col\x20univer-justify-center\x20univer-px-4\x20univer-py-1.5','_combineRanges','Sort','_extractRanges','ENSURE_SNAPSHOT_EXECUTION','user','130130PPjpWB','current','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','Entered','INVITE_CODE_ALREADY_BOUND','editHistory.panel.currentUser','getDialogs$','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','_historyContainerId','mask','open','PivotTable','xlink:href','LICENSE_DISTRO_REJECTED','ManageCollaborator','date','replace','univer-flex\x20univer-items-center\x20univer-justify-center','_initActiveSwitch','icon','padStart','endRevision','M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','UNIVER_UNKNOWN','entries','APPLY_DUPLICATED','getOwnPropertyDescriptor','dateString','getCellPositionByOffset','_versions$','ZH_CN','center','toString','editHistory.panel.revertConfirmText','Edit','_canRevert','M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z','MOBILE_HAS_BEEN_BOUND','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','pipe','/universer-api/history','_createMask','_context','concat','_lastLabel','flat','MoveSheet','PY_RUNTIME_SCRIPT_ERROR','SetCellStyle','append','hidden','SetRowStyle','RwHgtClWdt','users','editHistory.action.etc','ranges','setFilter','status','currentVersion','onSteady','EditWorksheetCell','_dialogOptions$','getViewport','includes','executeCommand','ALREADY_EXISTS','Share','triggerRevert','setState','triggerLoadVersions','entities','top','_revertRevision$','YUUMI_SUBSCRIPTION_NOT_FOUND','_historyFetchService','hideMask','YUUMI_CONNECTOR_URL_NOT_FOUND','tag','now','YUUMI_UNABLE_LOAD_URL','toISOString','getRelativeToViewportCoord','editHistory.panel.currentVersion','scrollEvent$','showMask','entered','_init','APPLY_PERMISSION_DENIED','getCurrentUnitForType','Delete','DeleteRow','_messageService','length','.univer-app-container-content','INVALID_ARGUMENT','_hasMore','show','SelectProtectedCells','defIds','reduce','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','1em','fetchMissingChangesets','LICENSE_IMPORT_SIZE_EXCEEDED','className','_getAPIPrefix','COMPRESS_MUTATION_APPLY','indexOf','_currentVersionDiff$','CONNECTOR_DATA_TOO_LARGE','677992ZRbjAM','FloatImg','forValue','_compressMutationService','YUUMI_ALL_TABLES_IS_INVALID','_sidebarDisposable','canRevert','HideWorksheet','univer-m-auto\x20univer-animate-spin','trim','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','svg','call','createElement','clipPath','memberId','_getSheetObject','getCurrentLocale','style','currentColor','color','setValue','SelectUnProtectedCells','sheet','_uiPartsService','getElementById','Loaded','#0B9EFB','INVITE_CODE_HAS_BEEN_UES','row','Duplicate','_lastPointer','http://www.w3.org/2000/svg','exited','registerRenderModule','CreateSheet','editSheet','loadMoreVersions','42141kkxUnt','attrs','Today','Exited','_confirmService','url(#restore-icon_clip0_1247_2)','CHANGESET_REVISION_CONFILICT','random','back-icon','revertSheet','DeleteSheet','forEach','createTime','mutations','displayName','SNAPSHOT_INVALID_SNAPSHOT','BackIcon','values','APPLY_REJECT','map','&lastLabel=','makeDirty','CreateWorksheet','loading','_cellEditorManagerService','defineProperty','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-pl-5\x20univer-text-sm\x20univer-font-medium\x20univer-text-[#1e222b]','action','clear','UNDEFINED','permissionPointUpdate$','YUUMI_AI_RUN_FAILED','0\x200\x2016\x2016','getMinutes','UNIVER_DOC','INVALID_INVITE_CODE','set','SetColumnStyle','EMAIL_VERIFY_CODE_MISMATCH','Init','_initPanel','_status$','subUnitId','MoveWorksheet','startRevision','_configService','height','fetchThroughInterceptors','getDeserializedSheetBlock','_permissionService','getOwnPropertySymbols','PERMISSION_DENIED','RenameSheet','changesets','_diffRangesMap','keys','path','Copy','from','registerComponent','_sidebarService','UNIVER_PROJECT','currentVersionDiff$','closeAll','confirm','HideSheet','_members','next','Comment','primary','Error','MOBILE_VERIFY_CODE_MISMATCH','justifyContent','APPLY_NON_SEQUENTIAL_REVISION','url(#$1','Loading','endRev','univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-400','recoverTime','82CNnPvz','unitId$','subType','LICENSE_MAX_UNITS_EXCEEDED','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','hasOwnProperty','status$','loadSheet','syncExecuteCommand','_maskElement','state$','loadingState','SetWorksheetStyle','range','TOO_MANY_REQUESTS','removeSheet','_initRender','code','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','versions','find','_loadingState$','getConfig','univer-animate-spin','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','univer-ml-2.5\x20univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20hover:univer-bg-[rgba(30,34,43,0.06)]','dispose'];_0x2c19=function(){return _0x48c783;};return _0x2c19();}const _0x4f03cb=_0x490d;(function(_0x3c4f1a,_0x2e96a0){const _0x2d0330=_0x490d,_0x4ba677=_0x3c4f1a();while(!![]){try{const _0xc76d38=parseInt(_0x2d0330(0x12b))/0x1+parseInt(_0x2d0330(0x20e))/0x2*(-parseInt(_0x2d0330(0x1bf))/0x3)+-parseInt(_0x2d0330(0x236))/0x4+parseInt(_0x2d0330(0x113))/0x5+parseInt(_0x2d0330(0x294))/0x6*(-parseInt(_0x2d0330(0x199))/0x7)+-parseInt(_0x2d0330(0x123))/0x8+parseInt(_0x2d0330(0xde))/0x9;if(_0xc76d38===_0x2e96a0)break;else _0x4ba677['push'](_0x4ba677['shift']());}catch(_0x4e0f5b){_0x4ba677['push'](_0x4ba677['shift']());}}}(_0x2c19,0x54352));var Fe=Object[_0x4f03cb(0x1d8)],Ye=(_0x19d195,_0x50a157,_0x553d94)=>_0x50a157 in _0x19d195?Fe(_0x19d195,_0x50a157,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x553d94}):_0x19d195[_0x50a157]=_0x553d94,l=(_0x49d49c,_0x27e98b,_0x3c5ccc)=>Ye(_0x49d49c,typeof _0x27e98b!=_0x4f03cb(0xf6)?_0x27e98b+'':_0x27e98b,_0x3c5ccc);import{RevertRevisionMutation as _0x1c110c,CreateUnitMutation as _0x2cb93f,ISnapshotServerService as _0x321951,CompressMutationService as _0x1e635d,transformSnapshotToWorkbookData as _0x5f071b,ITransformService as _0x60989f,parseProtocolChangeset as _0x1ce613,isTransformMutationsSuccess as _0x3eed03}from'@univerjs-pro/collaboration';import{SnapshotServerOverHTTPService as _0x709038,CollaborationImageIoService as _0x6b602d}from'@univerjs-pro/collaboration-client';import{Disposable as _0x14da56,LocaleType as _0x58708e,IUniverInstanceService as _0x5eb68e,ICommandService as _0x4e59cf,IConfigService as _0x32044b,Inject as _0x29c844,UniverInstanceType as _0x347ff2,LocaleService as _0xc4817c,IPermissionService as _0x25ea87,Injector as _0x5d250a,ObjectMatrix as _0x29cfab,debounce as _0x511975,DisposableCollection as _0x5e0d43,toDisposable as _0x1c3dc4,DependentOn as _0x4d945d,Plugin as _0x499fd0,merge as _0x4f62e6}from'@univerjs/core';import{IImageIoService as _0x81f62a}from'@univerjs/drawing';import{IRenderManagerService as _0x1036f5,Vector2 as _0x2042b8,SHEET_VIEWPORT_KEY as _0x395c32}from'@univerjs/engine-render';import{HTTPService as _0x455bda,UniverNetworkPlugin as _0xe5ea8f}from'@univerjs/network';import{ICellEditorManagerService as _0x901f2d,SheetSkeletonManagerService as _0x37bd78,getCoordByCell as _0x47369d,getSheetObject as _0x4a132d,UniverSheetsUIPlugin as _0x11b987}from'@univerjs/sheets-ui';import{IMessageService as _0x4b8863,IConfirmService as _0x5da584,useDependency as _0x3e4431,useObservable as _0x636491,IUIPartsService as _0x2d927d,BuiltInUIPart as _0x27e01a,connectInjector as _0x168070,ISidebarService as _0xe7aeb2,ComponentManager as _0x5754cd,IDialogService as _0x2ba098}from'@univerjs/ui';import{MessageType as _0x5c6c44,clsx as _0x8ef2c9,Button as _0x5af250,borderBottomClassName as _0x22d313,Tooltip as _0x800034}from'@univerjs/design';import{InsertSheetMutation as _0x4112ef,RemoveSheetMutation as _0x1ea322,SetFrozenMutation as _0x22ec25,AddWorksheetProtectionMutation as _0x2f4554,AddRangeProtectionMutation as _0xe036fd,DeleteRangeProtectionMutation as _0x24beba,DeleteWorksheetProtectionMutation as _0x69a186,WorkbookEditablePermission as _0x16a647,WorkbookRenameSheetPermission as _0x2f252c,WorkbookMoveSheetPermission as _0x322255,WorkbookHideSheetPermission as _0xe18ad6,SetWorksheetHideMutation as _0x4846e8,SetRangeValuesMutation as _0x57f631,SetRangeProtectionMutation as _0x1a487a,ReorderRangeMutation as _0x4603b5,RemoveNumfmtMutation as _0x1b5e63,SetNumfmtMutation as _0x1f7843,MoveColsMutation as _0x53cd15,MoveRowsMutation as _0x27f4c7,MoveRangeMutation as _0x4ae231,InsertColMutation as _0xac09e4,InsertRowMutation as _0x5b3818,AddWorksheetMergeMutation as _0x52df04,RangeMergeUtil as _0x47f80d,findAllRectangle as _0x186d7f,SetWorksheetActiveOperation as _0x5d6394}from'@univerjs/sheets';import{BehaviorSubject as _0x3f8395,combineLatest as _0x40b610,switchMap as _0x4aeb7d,map as _0x367a6d,of as _0x33018e,debounceTime as _0x2b6425,Subject as _0x1cb6e2}from'rxjs';import{AddSheetSparklineMutation as _0x4c3b13}from'@univerjs-pro/sheets-sparkline';import{AddDataValidationMutation as _0x28371b,UpdateDataValidationMutation as _0x2fc347}from'@univerjs/data-validation';import{SetConditionalRuleMutation as _0x1b6e0c,AddConditionalRuleMutation as _0xcf2b45}from'@univerjs/sheets-conditional-formatting';import{SetSheetsFilterRangeMutation as _0x90ab09}from'@univerjs/sheets-filter';import{jsxs as _0x407034,jsx as _0x18caf9}from'react/jsx-runtime';import{forwardRef as _0x17629b,useRef as _0x444400,createElement as _0x1916bb,useCallback as _0x4b1762,useState as _0xa81ac4,Fragment as _0x5b883c}from'react';import{SheetCollabCursorShape as _0x5d43d2}from'@univerjs-pro/collaboration-client-ui';const we='edit-history-viewer.config',_e={};var ss=Object['getOwnPropertyDescriptor'],is=(_0x4740c3,_0x18fbbc,_0x4a2871,_0x484150)=>{const _0x28f4b9=_0x4f03cb;for(var _0x2eec41=_0x484150>0x1?void 0x0:_0x484150?ss(_0x18fbbc,_0x4a2871):_0x18fbbc,_0x3e2a57=_0x4740c3[_0x28f4b9(0x187)]-0x1,_0x35edb3;_0x3e2a57>=0x0;_0x3e2a57--)(_0x35edb3=_0x4740c3[_0x3e2a57])&&(_0x2eec41=_0x35edb3(_0x2eec41)||_0x2eec41);return _0x2eec41;},rs=(_0x996e8f,_0x4bd436)=>(_0xd8b5f7,_0x27e605)=>_0x4bd436(_0xd8b5f7,_0x27e605,_0x996e8f);let H=class extends _0x14da56{constructor(_0x724544){const _0x4f8ab4=_0x4f03cb;super(),this[_0x4f8ab4(0x1d7)]=_0x724544,this[_0x4f8ab4(0x181)]();}['_init'](){const _0x21f806=_0x4f03cb;this[_0x21f806(0x234)](this[_0x21f806(0x1d7)][_0x21f806(0x218)][_0x21f806(0xe0)](_0x238e9d=>{const _0x53d0a0=_0x21f806;_0x238e9d!=null&&_0x238e9d[_0x53d0a0(0x18b)]&&this[_0x53d0a0(0x1d7)][_0x53d0a0(0x16f)]({'show':!0x1});}));}};H=is([rs(0x0,_0x901f2d)],H);var X=(_0x3dbb4a=>(_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x1dc)]=0x0]=_0x4f03cb(0x1dc),_0x3dbb4a[_0x3dbb4a['OK']=0x1]='OK',_0x3dbb4a[_0x3dbb4a['INTERNAL_ERROR']=0x2]=_0x4f03cb(0x241),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x1f2)]=0x3]=_0x4f03cb(0x1f2),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x28e)]=0x4]=_0x4f03cb(0x28e),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x25d)]=0x5]=_0x4f03cb(0x25d),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x16c)]=0x6]=_0x4f03cb(0x16c),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x189)]=0x7]=_0x4f03cb(0x189),_0x3dbb4a[_0x3dbb4a['TOO_MANY_REQUESTS']=0x8]=_0x4f03cb(0x21c),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x248)]=0x9]=_0x4f03cb(0x248),_0x3dbb4a[_0x3dbb4a['LOGIN_FAILED']=0xa]=_0x4f03cb(0xee),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x206)]=0xb]=_0x4f03cb(0x206),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x12d)]=0xc]=_0x4f03cb(0x12d),_0x3dbb4a[_0x3dbb4a['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x4f03cb(0x1e5),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x24c)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3dbb4a[_0x3dbb4a['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x4f03cb(0x1c5),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x1ce)]=0x1771]=_0x4f03cb(0x1ce),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x26e)]=0x1772]=_0x4f03cb(0x26e),_0x3dbb4a[_0x3dbb4a['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x4f03cb(0x129),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x1d1)]=0x1b59]=_0x4f03cb(0x1d1),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x208)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3dbb4a[_0x3dbb4a['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x182)]=0x1b5c]=_0x4f03cb(0x182),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x144)]=0x1b5d]=_0x4f03cb(0x144),_0x3dbb4a[_0x3dbb4a['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x4f03cb(0x198),_0x3dbb4a[_0x3dbb4a['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x4f03cb(0x211),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x226)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x192)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3dbb4a[_0x3dbb4a['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4f03cb(0xe1),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x138)]=0x232d]=_0x4f03cb(0x138),_0x3dbb4a[_0x3dbb4a['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4f03cb(0x17a),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x104)]=0x2712]=_0x4f03cb(0x104),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x115)]=0x2713]=_0x4f03cb(0x115),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x174)]=0x2714]=_0x4f03cb(0x174),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x27f)]=0x271a]=_0x4f03cb(0x27f),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x105)]=0x271b]=_0x4f03cb(0x105),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x298)]=0x271c]=_0x4f03cb(0x298),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x19d)]=0x271d]=_0x4f03cb(0x19d),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x220)]=0x271e]=_0x4f03cb(0x220),_0x3dbb4a[_0x3dbb4a['YUUMI_AI_RUN_FAILED']=0x271f]=_0x4f03cb(0x1de),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x177)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x15a)]=0x2af9]=_0x4f03cb(0x15a),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x1b5)]=0x2ee1]=_0x4f03cb(0x1b5),_0x3dbb4a[_0x3dbb4a['INVALID_INVITE_CODE']=0x2ee2]=_0x4f03cb(0x1e2),_0x3dbb4a[_0x3dbb4a['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x22d)]=0x2ee4]=_0x4f03cb(0x22d),_0x3dbb4a[_0x3dbb4a['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4f03cb(0x12f),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0xe7)]=0x32c9]=_0x4f03cb(0xe7),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x150)]=0x32ca]=_0x4f03cb(0x150),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0x117)]=0x32cb]=_0x4f03cb(0x117),_0x3dbb4a[_0x3dbb4a[_0x4f03cb(0xec)]=-0x1]=_0x4f03cb(0xec),_0x3dbb4a))(X||{}),F=(_0x892d27=>(_0x892d27[_0x892d27[_0x4f03cb(0x142)]=0x0]=_0x4f03cb(0x142),_0x892d27[_0x892d27[_0x4f03cb(0x1e1)]=0x1]=_0x4f03cb(0x1e1),_0x892d27[_0x892d27[_0x4f03cb(0x28d)]=0x2]=_0x4f03cb(0x28d),_0x892d27[_0x892d27[_0x4f03cb(0x24a)]=0x3]=_0x4f03cb(0x24a),_0x892d27[_0x892d27[_0x4f03cb(0x1fc)]=0x4]=_0x4f03cb(0x1fc),_0x892d27[_0x892d27[_0x4f03cb(0xec)]=-0x1]='UNRECOGNIZED',_0x892d27))(F||{}),b=(_0x226871=>(_0x226871[_0x226871[_0x4f03cb(0x247)]=0x0]=_0x4f03cb(0x247),_0x226871[_0x226871[_0x4f03cb(0x14d)]=0x1]=_0x4f03cb(0x14d),_0x226871[_0x226871[_0x4f03cb(0x139)]=0x2]=_0x4f03cb(0x139),_0x226871[_0x226871['Print']=0x3]='Print',_0x226871[_0x226871[_0x4f03cb(0x1b7)]=0x4]='Duplicate',_0x226871[_0x226871['Comment']=0x5]=_0x4f03cb(0x203),_0x226871[_0x226871[_0x4f03cb(0x1f8)]=0x6]=_0x4f03cb(0x1f8),_0x226871[_0x226871[_0x4f03cb(0x16d)]=0x7]=_0x4f03cb(0x16d),_0x226871[_0x226871['Export']=0x8]='Export',_0x226871[_0x226871[_0x4f03cb(0x1ea)]=0x9]='MoveWorksheet',_0x226871[_0x226871[_0x4f03cb(0x109)]=0xa]=_0x4f03cb(0x109),_0x226871[_0x226871[_0x4f03cb(0x1a0)]=0xb]=_0x4f03cb(0x1a0),_0x226871[_0x226871[_0x4f03cb(0x261)]=0xc]=_0x4f03cb(0x261),_0x226871[_0x226871[_0x4f03cb(0x1d5)]=0xd]=_0x4f03cb(0x1d5),_0x226871[_0x226871[_0x4f03cb(0x21a)]=0xe]=_0x4f03cb(0x21a),_0x226871[_0x226871[_0x4f03cb(0x167)]=0xf]='EditWorksheetCell',_0x226871[_0x226871[_0x4f03cb(0x29a)]=0x10]=_0x4f03cb(0x29a),_0x226871[_0x226871[_0x4f03cb(0x127)]=0x11]=_0x4f03cb(0x127),_0x226871[_0x226871[_0x4f03cb(0x101)]=0x12]=_0x4f03cb(0x101),_0x226871[_0x226871[_0x4f03cb(0x136)]=0x13]='PivotTable',_0x226871[_0x226871[_0x4f03cb(0x19a)]=0x14]='FloatImg',_0x226871[_0x226871[_0x4f03cb(0x24f)]=0x15]=_0x4f03cb(0x24f),_0x226871[_0x226871['RwHgtClWdt']=0x16]=_0x4f03cb(0x15f),_0x226871[_0x226871['ViemRwHgtClWdt']=0x17]=_0x4f03cb(0x281),_0x226871[_0x226871[_0x4f03cb(0x110)]=0x18]='ViewFilter',_0x226871[_0x226871[_0x4f03cb(0x159)]=0x19]=_0x4f03cb(0x159),_0x226871[_0x226871[_0x4f03cb(0x1c9)]=0x1a]=_0x4f03cb(0x1c9),_0x226871[_0x226871[_0x4f03cb(0x200)]=0x1b]='HideSheet',_0x226871[_0x226871[_0x4f03cb(0x114)]=0x1c]=_0x4f03cb(0x114),_0x226871[_0x226871[_0x4f03cb(0x1f3)]=0x1d]=_0x4f03cb(0x1f3),_0x226871[_0x226871[_0x4f03cb(0x1bc)]=0x1e]=_0x4f03cb(0x1bc),_0x226871[_0x226871[_0x4f03cb(0x18c)]=0x1f]=_0x4f03cb(0x18c),_0x226871[_0x226871[_0x4f03cb(0x1af)]=0x20]=_0x4f03cb(0x1af),_0x226871[_0x226871[_0x4f03cb(0x15b)]=0x21]=_0x4f03cb(0x15b),_0x226871[_0x226871[_0x4f03cb(0x245)]=0x22]=_0x4f03cb(0x245),_0x226871[_0x226871[_0x4f03cb(0x15e)]=0x23]=_0x4f03cb(0x15e),_0x226871[_0x226871[_0x4f03cb(0x1e4)]=0x24]=_0x4f03cb(0x1e4),_0x226871[_0x226871[_0x4f03cb(0xed)]=0x25]=_0x4f03cb(0xed),_0x226871[_0x226871[_0x4f03cb(0x23a)]=0x26]=_0x4f03cb(0x23a),_0x226871[_0x226871['DeleteRow']=0x27]=_0x4f03cb(0x185),_0x226871[_0x226871[_0x4f03cb(0x232)]=0x28]=_0x4f03cb(0x232),_0x226871[_0x226871[_0x4f03cb(0x29b)]=0x29]=_0x4f03cb(0x29b),_0x226871[_0x226871[_0x4f03cb(0x184)]=0x2a]='Delete',_0x226871[_0x226871[_0x4f03cb(0x272)]=0x2b]=_0x4f03cb(0x272),_0x226871[_0x226871['ViewHistory']=0x2c]=_0x4f03cb(0xf0),_0x226871[_0x226871['CreatePermissionObject']=0x2d]=_0x4f03cb(0xeb),_0x226871[_0x226871[_0x4f03cb(0xec)]=-0x1]=_0x4f03cb(0xec),_0x226871))(b||{});function ns(_0x4f1ba7){const _0x55e2ed=_0x4f03cb;return!!(_0x4f1ba7&&_0x4f1ba7['code']&&_0x4f1ba7[_0x55e2ed(0x21f)]!==X['OK']&&_0x4f1ba7[_0x55e2ed(0x21f)]!=='OK');}const re=(_0x5728c9,_0x7d73f6)=>{const _0x406fe4=_0x4f03cb;if(!_0x5728c9)return{'date':'','time':''};const _0x5b1f66=new Date(_0x5728c9),_0x39669e=_0x5b1f66[_0x406fe4(0x17b)]()['split']('T')[0x0];switch(_0x7d73f6){case _0x58708e[_0x406fe4(0x149)]:return{'date':ee(_0x39669e,_0x7d73f6),'time':_0x5b1f66[_0x406fe4(0x11e)]()+':'+String(_0x5b1f66[_0x406fe4(0x1e0)]())[_0x406fe4(0x13f)](0x2,'0')};default:return{'date':ee(_0x39669e,_0x7d73f6),'time':_0x5b1f66[_0x406fe4(0x11e)]()+':'+_0x5b1f66[_0x406fe4(0x1e0)]()};}},as=(_0x56c34f,_0x4d8513)=>{const _0x57dd36=_0x4f03cb,_0x3d8ed1=_0x56c34f[_0x57dd36(0x12a)]||_0x4d8513['t']('editHistory.panel.unknownUser');if(_0x56c34f['commands'][_0x57dd36(0x23d)](_0x301e18=>_0x301e18===_0x1c110c['id'])&&_0x56c34f['recoverTime']){const _0x461fd9=re(_0x56c34f[_0x57dd36(0x20d)],_0x4d8513[_0x57dd36(0x1aa)]()),_0x1aa879=_0x461fd9[_0x57dd36(0x13a)]+'\x20'+_0x461fd9[_0x57dd36(0x10f)];return _0x3d8ed1+'\x20'+_0x4d8513['t'](_0x57dd36(0x287))+'\x20'+_0x1aa879+'\x20'+_0x4d8513['t']('editHistory.action.revertSheetSuffix');}const _0x2e33b6=os(_0x56c34f),_0x1117b3=_0x2e33b6['length']===0x1?_0x4d8513['t'](_0x2e33b6[0x0]):''+_0x4d8513['t'](_0x2e33b6[0x0])+_0x4d8513['t'](_0x57dd36(0x161));return _0x3d8ed1+'\x20'+_0x1117b3;};function os(_0x102605){const _0x5e83a3=_0x4f03cb;if(_0x102605[_0x5e83a3(0x23b)][_0x5e83a3(0x187)]===0x0)return[''];const _0x169429=_0x5e83a3(0xe4),_0x2bf1e3=_0x169429+_0x5e83a3(0x1bd),_0x279ebf=[{'id':_0x2cb93f['id'],'action':_0x169429+_0x5e83a3(0xe8)},{'id':_0x1c110c['id'],'action':_0x169429+_0x5e83a3(0x1c8)},{'id':_0x4112ef['id'],'action':_0x169429+'insertSheet'},{'id':_0x1ea322['id'],'action':_0x169429+_0x5e83a3(0x21d)},{'id':_0x22ec25['id'],'action':_0x169429+'setFrozen'},{'id':_0x90ab09['id'],'action':_0x169429+_0x5e83a3(0x163)},{'id':_0x28371b['id'],'action':_0x169429+'setDV'},{'id':_0x2fc347['id'],'action':_0x169429+_0x5e83a3(0x28b)},{'id':_0x1b6e0c['id'],'action':_0x169429+_0x5e83a3(0x25f)},{'id':_0xcf2b45['id'],'action':_0x169429+_0x5e83a3(0x25f)},{'id':_0x2f4554['id'],'action':_0x169429+'addProtection'},{'id':_0xe036fd['id'],'action':_0x169429+'addProtection'},{'id':_0x4c3b13['id'],'action':_0x169429+'addSparkline'},{'id':_0x24beba['id'],'action':_0x169429+'deleteProtection'},{'id':_0x69a186['id'],'action':_0x169429+'deleteProtection'}][_0x5e83a3(0x274)](_0xf37006=>_0x102605[_0x5e83a3(0x23b)][_0x5e83a3(0x16a)](_0xf37006['id']));return _0x279ebf!=null&&_0x279ebf['length']?_0x279ebf[_0x5e83a3(0x1d2)](_0x4b42bb=>_0x4b42bb[_0x5e83a3(0x1da)]):[_0x2bf1e3];}function ee(_0x4a5a35,_0x52ec3f){const _0x1fb2bd=_0x4f03cb,[_0x5eb6ad,_0x5bcf0e,_0x4355f2]=new Date()['toISOString']()[_0x1fb2bd(0x10c)]('T')[0x0][_0x1fb2bd(0x10c)]('-'),[_0x330b86,_0x263b0a,_0x18f9fe]=_0x4a5a35[_0x1fb2bd(0x10c)]('-'),_0x26ec26=_0x5eb6ad===_0x330b86&&_0x5bcf0e===_0x263b0a&&_0x4355f2===_0x18f9fe;let _0x37ed46='',_0x8854a2='',_0x2d5035='';switch(_0x52ec3f){case _0x58708e[_0x1fb2bd(0x149)]:return _0x26ec26?'今天':(_0x37ed46=_0x5eb6ad===_0x330b86?'':_0x330b86+'年',_0x8854a2=_0x263b0a+'月',_0x2d5035=_0x18f9fe+'日',''+_0x37ed46+_0x8854a2+_0x2d5035);default:return _0x26ec26?_0x1fb2bd(0x1c1):(_0x37ed46=_0x5eb6ad===_0x330b86?'':_0x330b86+'-',_0x8854a2=_0x263b0a+'-',_0x2d5035=''+_0x18f9fe,''+_0x37ed46+_0x8854a2+_0x2d5035);}}function cs(_0x58989){const _0x2b65ce=_0x4f03cb;return _0x58989?_0x58989[_0x2b65ce(0x18e)]((_0x2ca014,_0x56299c)=>{const _0x215717=_0x2b65ce,_0x1d9f78=new Date(_0x56299c['time'])[_0x215717(0x17b)]()[_0x215717(0x10c)]('T')[0x0];return _0x2ca014[_0x215717(0x187)]>0x0&&_0x2ca014[_0x2ca014[_0x215717(0x187)]-0x1][_0x215717(0x146)]===_0x1d9f78?_0x2ca014[_0x2ca014[_0x215717(0x187)]-0x1][_0x215717(0x221)]['push'](_0x56299c):_0x2ca014[_0x215717(0x242)]({'dateString':_0x1d9f78,'versions':[_0x56299c]}),_0x2ca014;},[]):[];}var ls=Object[_0x4f03cb(0x145)],us=(_0x54e028,_0x2465b,_0x3d128a,_0x27b91a)=>{const _0x1a792d=_0x4f03cb;for(var _0x439776=_0x27b91a>0x1?void 0x0:_0x27b91a?ls(_0x2465b,_0x3d128a):_0x2465b,_0x2a53dc=_0x54e028[_0x1a792d(0x187)]-0x1,_0x42b770;_0x2a53dc>=0x0;_0x2a53dc--)(_0x42b770=_0x54e028[_0x2a53dc])&&(_0x439776=_0x42b770(_0x439776)||_0x439776);return _0x439776;},D=(_0x4091e8,_0x25b0bb)=>(_0x5d076b,_0x295715)=>_0x25b0bb(_0x5d076b,_0x295715,_0x4091e8);const _s=_0x4f03cb(0x153);let Y=class extends _0x14da56{constructor(_0x28f75c,_0x2841e0,_0x244071,_0x151c1d,_0x570be8,_0xdb450c){const _0x1e421b=_0x4f03cb;super(),l(this,'_workbookDataCache',new Map()),(this[_0x1e421b(0x256)]=_0x28f75c,this[_0x1e421b(0xfe)]=_0x2841e0,this[_0x1e421b(0x23c)]=_0x244071,this[_0x1e421b(0x1ec)]=_0x151c1d,this['_httpService']=_0x570be8,this[_0x1e421b(0x19c)]=_0xdb450c);}['dispose'](){const _0x5bb7cc=_0x4f03cb;this[_0x5bb7cc(0x27b)][_0x5bb7cc(0x1db)](),super[_0x5bb7cc(0x228)]();}async[_0x4f03cb(0xfc)](_0x2da2e4,_0x202496){const _0x5a1adb=_0x4f03cb,_0x46dabc=this[_0x5a1adb(0x194)]()+'/'+_0x2da2e4+_0x5a1adb(0x255)+(_0x202496?_0x5a1adb(0x1d3)+_0x202496:'');try{const _0xcb8319=(await this['_httpService']['get'](_0x46dabc))[_0x5a1adb(0x252)];if(_0xcb8319&&_0xcb8319[_0x5a1adb(0x11f)]&&_0xcb8319[_0x5a1adb(0x11f)][_0x5a1adb(0x21f)]===X['OK']){const {hasMore:_0x569574,lastLabel:_0x4c1d66}=_0xcb8319,_0x57b22e=hs(_0xcb8319),_0x523ad5=_0xcb8319[_0x5a1adb(0x171)][_0x5a1adb(0x160)];return{'hasMore':_0x569574,'lastLabel':_0x4c1d66,'versions':_0x57b22e,'members':_0x523ad5};}}catch(_0x50c0a4){console[_0x5a1adb(0x11f)](_0x50c0a4);}return null;}['_getAPIPrefix'](){const _0x39967b=_0x4f03cb;var _0x2a9c98;const _0x2e6430=this[_0x39967b(0x1ec)][_0x39967b(0x224)](we);return(_0x2a9c98=_0x2e6430==null?void 0x0:_0x2e6430[_0x39967b(0x25a)])!=null?_0x2a9c98:_s;}async[_0x4f03cb(0x215)](_0x480535,_0xb1749e,_0x40763a){const _0x117766=_0x4f03cb;var _0x52731e,_0x508b7c;_0x40763a===void 0x0&&(_0x40763a={}),this[_0x117766(0x27b)][_0x117766(0xe5)](_0x480535)||this[_0x117766(0x27b)][_0x117766(0x1e3)](_0x480535,new Map());const {snapshot:_0x3e61aa,changesets:_0x1bcf88,error:_0x12f2dc}=await this['_snapshotServerService']['getUnitOnRev'](_0x40763a,{'unitID':_0x480535,'type':F[_0x117766(0x28d)],'revision':_0xb1749e});if(ns(_0x12f2dc)||!_0x3e61aa||!_0x3e61aa['workbook'])throw new Error(_0x117766(0x293));const _0x22d300=(_0x52731e=_0x1bcf88==null?void 0x0:_0x1bcf88['length'])!=null?_0x52731e:0x0;if(_0xb1749e!==0x0&&_0x3e61aa[_0x117766(0xf7)]+_0x22d300!==_0xb1749e)throw new Error(_0x117766(0x212));const {workbook:_0x7e783b}=_0x3e61aa,_0x53d6c7=_0x7e783b['blockMeta']?Object[_0x117766(0x143)](_0x7e783b[_0x117766(0x22b)])[_0x117766(0x1d2)](([_0x245742,_0x32e335])=>{const _0x3ceb1d=_0x117766;var _0x29934e,_0x59682c;return(_0x59682c=(_0x29934e=_0x32e335['blocks'])==null?void 0x0:_0x29934e[_0x3ceb1d(0x1d2)](_0x301583=>_0x301583))!=null?_0x59682c:[];})['flat']():[],_0x47463d=(await Promise[_0x117766(0x277)](_0x53d6c7[_0x117766(0x1d2)](_0x20d3fb=>this[_0x117766(0x256)][_0x117766(0x1ef)](_0x40763a,{'unitID':_0x480535,'type':F[_0x117766(0x28d)],'blockID':_0x20d3fb})[_0x117766(0x112)](_0x12206a=>_0x12206a[_0x117766(0x268)]))))[_0x117766(0x274)](_0x31cc9b=>!!_0x31cc9b),_0x264872=_0x5f071b(_0x3e61aa,_0x47463d,_0x40763a);return(_0x508b7c=this[_0x117766(0x27b)][_0x117766(0x26a)](_0x480535))==null||_0x508b7c['set'](_0xb1749e,{'workbook':_0x264872}),new Promise(_0x5371ba=>{const _0x4a9c4e=_0x117766,_0x557262=this['_univerInstanceService'][_0x4a9c4e(0x183)](_0x347ff2[_0x4a9c4e(0x28d)]);_0x557262?(this[_0x4a9c4e(0xfe)]['disposeUnit'](_0x557262[_0x4a9c4e(0x279)]()),setTimeout(()=>{const _0x493e49=_0x4a9c4e;this[_0x493e49(0x121)](_0x264872,_0x1bcf88),_0x5371ba(!0x0);},0x0)):(this[_0x4a9c4e(0x121)](_0x264872,_0x1bcf88),_0x5371ba(!0x0));});}['_createUnit'](_0x324abb,_0x3e479f){const _0xf461d8=_0x4f03cb,_0x5e268a=this[_0xf461d8(0xfe)]['createUnit'](_0x347ff2[_0xf461d8(0x28d)],_0x324abb);this[_0xf461d8(0xfe)]['focusUnit'](_0x5e268a[_0xf461d8(0x279)]());const _0x4e06b=this[_0xf461d8(0x19c)][_0xf461d8(0x284)][_0xf461d8(0x1ee)](this[_0xf461d8(0x19c)][_0xf461d8(0x284)][_0xf461d8(0xfa)]()[_0xf461d8(0x195)]);return _0x3e479f==null||_0x3e479f[_0xf461d8(0x1ca)](_0x2dfe7e=>{const _0x2adced=_0xf461d8,_0x1cd69d=_0x2dfe7e[_0x2adced(0x1cc)][_0x2adced(0x1d2)](_0x3e5f6c=>({'id':_0x3e5f6c['id'],'params':JSON[_0x2adced(0x27a)](_0x3e5f6c[_0x2adced(0x288)])}));({..._0x2dfe7e,'mutations':_0x4e06b(_0x1cd69d,null)||_0x1cd69d}[_0x2adced(0x1cc)][_0x2adced(0x1ca)](_0x358fdb=>{const _0xf2a84b=_0x2adced;this[_0xf2a84b(0x23c)][_0xf2a84b(0xf2)](_0x358fdb['id'])&&this[_0xf2a84b(0x23c)][_0xf2a84b(0x216)](_0x358fdb['id'],_0x358fdb[_0xf2a84b(0x124)]);}));}),_0x5e268a;}};Y=us([D(0x0,_0x321951),D(0x1,_0x5eb68e),D(0x2,_0x4e59cf),D(0x3,_0x32044b),D(0x4,_0x29c844(_0x455bda)),D(0x5,_0x29c844(_0x1e635d))],Y);function hs(_0x30c80e){const _0x1adae2=_0x4f03cb;var _0x5250c5,_0x57065a;const _0x882936=[],{entities:_0xd0bc81,historyIds:_0x53a8e6}=_0x30c80e,{datas:_0x2c6557,users:_0x3da7be}=_0xd0bc81;for(const _0x149e9e of _0x53a8e6)if(_0x2c6557[_0x149e9e]){const _0x2fcd38=!!((_0x5250c5=_0x3da7be[_0x2c6557[_0x149e9e][_0x1adae2(0xfd)]])!=null&&_0x5250c5['anonymous']);_0x882936['push']({'unitId':_0x2c6557[_0x149e9e][_0x1adae2(0x25c)],'user':_0x2fcd38?'':((_0x57065a=_0x3da7be==null?void 0x0:_0x3da7be[_0x2c6557[_0x149e9e][_0x1adae2(0xfd)]])==null?void 0x0:_0x57065a['name'])||'','isAnonymous':_0x2fcd38,'id':_0x149e9e,'time':_0x2c6557[_0x149e9e][_0x1adae2(0x1cb)]?Number(_0x2c6557[_0x149e9e][_0x1adae2(0x1cb)]):void 0x0,'commands':_0x2c6557[_0x149e9e]['command'],'startRev':Number(_0x2c6557[_0x149e9e][_0x1adae2(0x1eb)]),'endRev':Number(_0x2c6557[_0x149e9e][_0x1adae2(0x140)]),'recoverTime':_0x2c6557[_0x149e9e][_0x1adae2(0x20d)]?Number(_0x2c6557[_0x149e9e]['recoverTime']):void 0x0});}return _0x882936;}var ds=Object['getOwnPropertyDescriptor'],vs=(_0x2629cf,_0x5f2c66,_0x16eb4c,_0x5ba201)=>{const _0x30fe2e=_0x4f03cb;for(var _0x547e5f=_0x5ba201>0x1?void 0x0:_0x5ba201?ds(_0x5f2c66,_0x16eb4c):_0x5f2c66,_0x2e3ca9=_0x2629cf[_0x30fe2e(0x187)]-0x1,_0x2b4088;_0x2e3ca9>=0x0;_0x2e3ca9--)(_0x2b4088=_0x2629cf[_0x2e3ca9])&&(_0x547e5f=_0x2b4088(_0x547e5f)||_0x547e5f);return _0x547e5f;},V=(_0x39852c,_0xbfc68c)=>(_0x3f9731,_0x59e7a5)=>_0xbfc68c(_0x3f9731,_0x59e7a5,_0x39852c),ne=(_0x53b691=>(_0x53b691[_0x4f03cb(0x12e)]='entered',_0x53b691[_0x4f03cb(0x1c2)]=_0x4f03cb(0x1ba),_0x53b691[_0x4f03cb(0x205)]='error',_0x53b691))(ne||{}),T=(_0x204c2e=>(_0x204c2e[_0x4f03cb(0x1e6)]='init',_0x204c2e[_0x4f03cb(0x20a)]=_0x4f03cb(0x1d6),_0x204c2e[_0x4f03cb(0x1b3)]='loaded',_0x204c2e))(T||{});const fs='VIRTUAL_VERSION_NOW';let E=class extends _0x14da56{constructor(_0x40f7c4,_0x212d4d,_0x404b32,_0x503bd8){const _0x4b4938=_0x4f03cb;super(),l(this,'_versions$',new _0x3f8395([])),l(this,_0x4b4938(0x24b),this[_0x4b4938(0x148)][_0x4b4938(0x237)]()),l(this,_0x4b4938(0x238),new _0x3f8395('')),l(this,_0x4b4938(0x26f),this[_0x4b4938(0x238)]['asObservable']()),l(this,_0x4b4938(0x1e8),new _0x3f8395(_0x4b4938(0x180))),l(this,_0x4b4938(0x214),this[_0x4b4938(0x1e8)]['asObservable']()),l(this,_0x4b4938(0x173),new _0x3f8395(0x0)),l(this,'revertRevision$',this[_0x4b4938(0x173)]['asObservable']()),l(this,_0x4b4938(0x107),new _0x3f8395('')),l(this,_0x4b4938(0x20f),this[_0x4b4938(0x107)][_0x4b4938(0x237)]()),l(this,_0x4b4938(0xe6),!0x1),l(this,_0x4b4938(0x223),new _0x3f8395(_0x4b4938(0x260))),l(this,_0x4b4938(0x108),this[_0x4b4938(0x223)][_0x4b4938(0x237)]()),l(this,_0x4b4938(0x157),null),l(this,_0x4b4938(0x18a),!0x0),l(this,_0x4b4938(0x201),new Map()),l(this,_0x4b4938(0x133)),l(this,_0x4b4938(0x11a)),l(this,_0x4b4938(0x217)),l(this,_0x4b4938(0x14e),!0x1),(this[_0x4b4938(0x186)]=_0x40f7c4,this[_0x4b4938(0x1c3)]=_0x212d4d,this[_0x4b4938(0x262)]=_0x404b32,this[_0x4b4938(0x175)]=_0x503bd8);}async[_0x4f03cb(0x170)](_0xe35b5a,_0x1989a4,_0x3bdb25){const _0x4caea1=_0x4f03cb;this['_historyContainerId']=_0x1989a4,this['_canRevert']=_0x3bdb25,this[_0x4caea1(0x107)][_0x4caea1(0x202)](_0xe35b5a),this[_0x4caea1(0xe6)]=!0x0;const _0x9348ef=await this['_historyFetchService'][_0x4caea1(0xfc)](_0xe35b5a);if(this[_0x4caea1(0xe6)]=!0x1,_0x9348ef){const {versions:_0x1cf541,lastLabel:_0x42da67,hasMore:_0x2640fc,members:_0x1dee14}=_0x9348ef;_0x1cf541[_0x4caea1(0x187)]===0x0&&_0x1cf541['push']({'unitId':_0xe35b5a,'id':fs,'startRev':0x1,'endRev':0x0,'time':Date[_0x4caea1(0x179)](),'user':this[_0x4caea1(0x262)]['t'](_0x4caea1(0x130)),'commands':[],'isAnonymous':!0x1}),this[_0x4caea1(0x10e)](_0x1cf541,_0x2640fc,_0x42da67,_0x1dee14),this[_0x4caea1(0x238)][_0x4caea1(0x202)](_0x1cf541[0x0]['id']);}else this[_0x4caea1(0x1e8)][_0x4caea1(0x202)](_0x4caea1(0x11f));}async[_0x4f03cb(0x1be)](){const _0x2aa13c=_0x4f03cb;if(!this[_0x2aa13c(0x157)]||!this[_0x2aa13c(0x18a)]||this[_0x2aa13c(0xe6)])return!0x1;this[_0x2aa13c(0xe6)]=!0x0;const _0x5bb66b=await this[_0x2aa13c(0x175)]['getVersions'](this[_0x2aa13c(0x25c)],this['_lastLabel']);if(this['_fetching']=!0x1,_0x5bb66b){const {versions:_0x39f02c,lastLabel:_0x147533,hasMore:_0x1c5f95,members:_0x2509e2}=_0x5bb66b;this['_updateVersions'](_0x39f02c,_0x1c5f95,_0x147533,_0x2509e2);}else this['_messageService']['show']({'content':this[_0x2aa13c(0x262)]['t'](_0x2aa13c(0xef)),'type':_0x5c6c44['Error'],'duration':0xbb8});return!0x0;}async[_0x4f03cb(0xe2)](_0x4be813){const _0x25bad7=_0x4f03cb;var _0x407ea7;const _0x562fea=(_0x407ea7=this[_0x25bad7(0x148)]['value'])==null?void 0x0:_0x407ea7['find'](_0x159ed3=>_0x159ed3['id']===_0x4be813),{endRev:_0x1a48e2}=_0x562fea||{};_0x1a48e2||_0x1a48e2===0x0?(this[_0x25bad7(0x223)][_0x25bad7(0x202)](_0x25bad7(0x1d6)),await this[_0x25bad7(0x175)][_0x25bad7(0x215)](this[_0x25bad7(0x25c)],_0x1a48e2),this[_0x25bad7(0x223)][_0x25bad7(0x202)](_0x25bad7(0x269))):this[_0x25bad7(0x1e8)][_0x25bad7(0x202)](_0x25bad7(0x11f));}async[_0x4f03cb(0x16e)](_0x439a32){const _0x2fac7f=_0x4f03cb,_0x5036a0=_0x439a32?this[_0x2fac7f(0x231)](_0x439a32):this['getCurrentVersion']();if(!_0x5036a0)return;const _0x1d46ca=_0x5036a0[_0x2fac7f(0x20b)],_0x55eef5=re(_0x5036a0[_0x2fac7f(0x10f)],this[_0x2fac7f(0x262)][_0x2fac7f(0x1aa)]());await this[_0x2fac7f(0x1c3)][_0x2fac7f(0x1ff)]({'id':'confirm-revert-revision','title':{'title':this['_localeService']['t']('editHistory.panel.revertConfirm')},'children':{'title':this[_0x2fac7f(0x262)]['t'](_0x2fac7f(0x14c))+_0x2fac7f(0x254)+_0x55eef5['date']+'\x20'+_0x55eef5[_0x2fac7f(0x10f)]+')'},'cancelText':this['_localeService']['t'](_0x2fac7f(0x22c)),'confirmText':this[_0x2fac7f(0x262)]['t'](_0x2fac7f(0x249))})&&this[_0x2fac7f(0x173)][_0x2fac7f(0x202)](_0x1d46ca);}[_0x4f03cb(0x10e)](_0x1d5040,_0x6219d4,_0x3058b6,_0x4c59b7){const _0x109151=_0x4f03cb;this['_versions$'][_0x109151(0x202)](this[_0x109151(0x148)][_0x109151(0x244)][_0x109151(0x156)](_0x1d5040)),this[_0x109151(0x18a)]=_0x6219d4,this[_0x109151(0x157)]=_0x3058b6,_0x4c59b7&&Object[_0x109151(0x1f6)](_0x4c59b7)[_0x109151(0x1ca)](_0x11e410=>this['_members'][_0x109151(0x1e3)](_0x11e410,_0x4c59b7[_0x11e410]));}[_0x4f03cb(0x278)](){const _0x28d90c=_0x4f03cb;return this[_0x28d90c(0x231)](this[_0x28d90c(0x238)]['value']);}[_0x4f03cb(0x231)](_0x32a670){const _0xbdca6=_0x4f03cb;var _0x46b8c9;return(_0x46b8c9=this['_versions$'][_0xbdca6(0x244)])==null?void 0x0:_0x46b8c9[_0xbdca6(0x222)](_0x11c4a4=>_0x11c4a4['id']===_0x32a670);}[_0x4f03cb(0xff)](_0x38bd5d){const _0x183359=_0x4f03cb;return this[_0x183359(0x201)]['get'](_0x38bd5d);}['_createMask'](){const _0x3dffcc=_0x4f03cb;this['_maskElement']=document[_0x3dffcc(0x1a6)]('div'),this['_maskElement'][_0x3dffcc(0x193)]='history-mask',this[_0x3dffcc(0x217)][_0x3dffcc(0x1ab)][_0x3dffcc(0x280)]='absolute',this[_0x3dffcc(0x217)][_0x3dffcc(0x1ab)][_0x3dffcc(0x172)]='0',this[_0x3dffcc(0x217)][_0x3dffcc(0x1ab)][_0x3dffcc(0xf3)]='0',this[_0x3dffcc(0x217)][_0x3dffcc(0x1ab)]['width']=_0x3dffcc(0x283),this['_maskElement'][_0x3dffcc(0x1ab)][_0x3dffcc(0x1ed)]='100%',this[_0x3dffcc(0x217)][_0x3dffcc(0x1ab)][_0x3dffcc(0x264)]='rgba(225,\x20225,\x20225,\x200.5)',this[_0x3dffcc(0x217)]['style'][_0x3dffcc(0x1ad)]='white',this[_0x3dffcc(0x217)][_0x3dffcc(0x1ab)]['display']=_0x3dffcc(0x116),this['_maskElement'][_0x3dffcc(0x1ab)][_0x3dffcc(0x207)]=_0x3dffcc(0x14a),this[_0x3dffcc(0x217)][_0x3dffcc(0x1ab)][_0x3dffcc(0x102)]=_0x3dffcc(0x243),this['_maskElement'][_0x3dffcc(0x1ab)][_0x3dffcc(0x100)]=_0x3dffcc(0x250),this['_maskContainer'][_0x3dffcc(0x15c)](this['_maskElement']);}['_initMaskContainer'](){const _0xe5929b=_0x4f03cb;var _0x14e9ff;const _0x1bcf8a=(_0x14e9ff=document[_0xe5929b(0x1b2)](this['_historyContainerId']))==null?void 0x0:_0x14e9ff['querySelector'](_0xe5929b(0x188));_0x1bcf8a&&(this[_0xe5929b(0x11a)]=_0x1bcf8a,this[_0xe5929b(0x154)]());}[_0x4f03cb(0x17f)](){const _0x5e4f26=_0x4f03cb;this['_maskContainer']||this[_0x5e4f26(0x122)](),this['_maskElement']&&(this[_0x5e4f26(0x217)][_0x5e4f26(0x1ab)]['display']='flex');}[_0x4f03cb(0x176)](){const _0x1a4d3c=_0x4f03cb;this[_0x1a4d3c(0x217)]&&(this[_0x1a4d3c(0x217)][_0x1a4d3c(0x1ab)][_0x1a4d3c(0x100)]=_0x1a4d3c(0x250));}set[_0x4f03cb(0x164)](_0x33caa6){const _0x300e4c=_0x4f03cb;this[_0x300e4c(0x1e8)][_0x300e4c(0x202)](_0x33caa6);}set[_0x4f03cb(0x165)](_0x2e5a2e){const _0x5e96d7=_0x4f03cb;_0x2e5a2e!==this[_0x5e96d7(0x238)][_0x5e96d7(0x244)]&&this[_0x5e96d7(0x238)][_0x5e96d7(0x202)](_0x2e5a2e);}get[_0x4f03cb(0x165)](){const _0x5da6a6=_0x4f03cb;return this[_0x5da6a6(0x238)]['value'];}set['unitId'](_0x32cb34){const _0x389f9b=_0x4f03cb;this[_0x389f9b(0x107)][_0x389f9b(0x202)](_0x32cb34);}get[_0x4f03cb(0x25c)](){const _0x3e62b4=_0x4f03cb;return this[_0x3e62b4(0x107)][_0x3e62b4(0x244)];}get['canRevert'](){const _0xbf8472=_0x4f03cb;return this[_0xbf8472(0x14e)];}get['loadingState'](){const _0x2d0348=_0x4f03cb;return this[_0x2d0348(0x223)]['value'];}};E=vs([V(0x0,_0x4b8863),V(0x1,_0x5da584),V(0x2,_0x29c844(_0xc4817c)),V(0x3,_0x29c844(Y))],E);var g=function(){const _0x23ad83=_0x4f03cb;return g=Object[_0x23ad83(0x299)]||function(_0x4f0ac9){const _0x3bf8d6=_0x23ad83;for(var _0x854c1a,_0x5007ce=0x1,_0x4d5ca7=arguments[_0x3bf8d6(0x187)];_0x5007ce<_0x4d5ca7;_0x5007ce++){_0x854c1a=arguments[_0x5007ce];for(var _0x477add in _0x854c1a)Object[_0x3bf8d6(0x296)][_0x3bf8d6(0x213)][_0x3bf8d6(0x1a5)](_0x854c1a,_0x477add)&&(_0x4f0ac9[_0x477add]=_0x854c1a[_0x477add]);}return _0x4f0ac9;},g['apply'](this,arguments);},ms=function(_0x138542,_0x1834d7){const _0x22065b=_0x4f03cb;var _0x3547e5={};for(var _0x37c952 in _0x138542)Object[_0x22065b(0x296)][_0x22065b(0x213)]['call'](_0x138542,_0x37c952)&&_0x1834d7[_0x22065b(0x196)](_0x37c952)<0x0&&(_0x3547e5[_0x37c952]=_0x138542[_0x37c952]);if(_0x138542!=null&&typeof Object[_0x22065b(0x1f1)]==_0x22065b(0x273)){for(var _0x115894=0x0,_0x37c952=Object['getOwnPropertySymbols'](_0x138542);_0x115894<_0x37c952[_0x22065b(0x187)];_0x115894++)_0x1834d7['indexOf'](_0x37c952[_0x115894])<0x0&&Object['prototype'][_0x22065b(0x28a)]['call'](_0x138542,_0x37c952[_0x115894])&&(_0x3547e5[_0x37c952[_0x115894]]=_0x138542[_0x37c952[_0x115894]]);}return _0x3547e5;},G=_0x17629b(function(_0x13ea87,_0x314cd8){const _0x2d6ec0=_0x4f03cb;var _0x4e48d7=_0x13ea87[_0x2d6ec0(0x13e)],_0x3cd138=_0x13ea87['id'],_0x37ca1a=_0x13ea87['className'],_0x29526f=_0x13ea87[_0x2d6ec0(0x106)],_0x2a10ca=ms(_0x13ea87,[_0x2d6ec0(0x13e),'id',_0x2d6ec0(0x193),_0x2d6ec0(0x106)]),_0x4593ac=_0x2d6ec0(0x270)[_0x2d6ec0(0x156)](_0x3cd138,'\x20')['concat'](_0x37ca1a||'')[_0x2d6ec0(0x1a2)](),_0x20091e=_0x444400('_'['concat'](gs()));return Pe(_0x4e48d7,''['concat'](_0x3cd138),{'defIds':_0x4e48d7[_0x2d6ec0(0x18d)],'idSuffix':_0x20091e[_0x2d6ec0(0x12c)]},g({'ref':_0x314cd8,'className':_0x4593ac},_0x2a10ca),_0x29526f);});function Pe(_0x6e4324,_0x55ba61,_0x5d1c79,_0x514f54,_0x496596){const _0x198f68=_0x4f03cb;return _0x1916bb(_0x6e4324[_0x198f68(0x178)],g(g({'key':_0x55ba61},Is(_0x6e4324,_0x5d1c79,_0x496596)),_0x514f54),(Ss(_0x6e4324,_0x5d1c79)['children']||[])[_0x198f68(0x1d2)](function(_0x503814,_0x572173){const _0x583f5e=_0x198f68;return Pe(_0x503814,''[_0x583f5e(0x156)](_0x55ba61,'-')[_0x583f5e(0x156)](_0x6e4324['tag'],'-')[_0x583f5e(0x156)](_0x572173),_0x5d1c79,void 0x0,_0x496596);}));}function Is(_0x292a54,_0x415f5d,_0x1a3993){const _0x4e9d00=_0x4f03cb;var _0x55c1c2=g({},_0x292a54[_0x4e9d00(0x1c0)]);_0x1a3993!=null&&_0x1a3993[_0x4e9d00(0x265)]&&_0x55c1c2[_0x4e9d00(0x23e)]===_0x4e9d00(0x265)&&(_0x55c1c2[_0x4e9d00(0x23e)]=_0x1a3993['colorChannel1']),_0x292a54['tag']==='mask'&&_0x55c1c2['id']&&(_0x55c1c2['id']=_0x55c1c2['id']+_0x415f5d[_0x4e9d00(0xdd)]),Object[_0x4e9d00(0x143)](_0x55c1c2)['forEach'](function(_0x2d6417){const _0xe27954=_0x4e9d00;var _0x146c76=_0x2d6417[0x0],_0x1bea4a=_0x2d6417[0x1];_0x146c76===_0xe27954(0x134)&&typeof _0x1bea4a==_0xe27954(0xf5)&&(_0x55c1c2[_0x146c76]=_0x1bea4a['replace'](/url\(#(.*)\)/,'url(#$1'[_0xe27954(0x156)](_0x415f5d[_0xe27954(0xdd)],')')));});var _0x347118=_0x415f5d[_0x4e9d00(0x18d)];return!_0x347118||_0x347118[_0x4e9d00(0x187)]===0x0||(_0x292a54[_0x4e9d00(0x178)]==='use'&&_0x55c1c2['xlink:href']&&(_0x55c1c2[_0x4e9d00(0x137)]=_0x55c1c2[_0x4e9d00(0x137)]+_0x415f5d[_0x4e9d00(0xdd)]),Object['entries'](_0x55c1c2)[_0x4e9d00(0x1ca)](function(_0x3e6c64){const _0x2370e2=_0x4e9d00;var _0x3f4cec=_0x3e6c64[0x0],_0x270893=_0x3e6c64[0x1];typeof _0x270893=='string'&&(_0x55c1c2[_0x3f4cec]=_0x270893[_0x2370e2(0x13b)](/url\(#(.*)\)/,_0x2370e2(0x209)['concat'](_0x415f5d[_0x2370e2(0xdd)],')')));})),_0x55c1c2;}function Ss(_0x3e5d7d,_0x25e036){const _0x130330=_0x4f03cb;var _0x254658,_0x4486cd=_0x25e036[_0x130330(0x18d)];return!_0x4486cd||_0x4486cd[_0x130330(0x187)]===0x0?_0x3e5d7d:_0x3e5d7d['tag']===_0x130330(0x285)&&(!((_0x254658=_0x3e5d7d['children'])===null||_0x254658===void 0x0)&&_0x254658[_0x130330(0x187)])?g(g({},_0x3e5d7d),{'children':_0x3e5d7d[_0x130330(0x290)][_0x130330(0x1d2)](function(_0x21e271){const _0x3e8c1d=_0x130330;return typeof _0x21e271[_0x3e8c1d(0x1c0)]['id']==_0x3e8c1d(0xf5)&&_0x4486cd&&_0x4486cd[_0x3e8c1d(0x16a)](_0x21e271['attrs']['id'])?g(g({},_0x21e271),{'attrs':g(g({},_0x21e271[_0x3e8c1d(0x1c0)]),{'id':_0x21e271[_0x3e8c1d(0x1c0)]['id']+_0x25e036[_0x3e8c1d(0xdd)]})}):_0x21e271;})}):_0x3e5d7d;}function gs(){const _0x1f5d14=_0x4f03cb;return Math[_0x1f5d14(0x1c6)]()[_0x1f5d14(0x14b)](0x24)['substring'](0x2,0x8);}G[_0x4f03cb(0x1cd)]=_0x4f03cb(0x239);var ps={'tag':_0x4f03cb(0x1a4),'attrs':{'xmlns':_0x4f03cb(0x1b9),'fill':_0x4f03cb(0x250),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':_0x4f03cb(0x1f7),'attrs':{'fill':_0x4f03cb(0x1ac),'d':_0x4f03cb(0x14f)}}]},Te=_0x17629b(function(_0x59f688,_0x1c51a1){const _0x50cc76=_0x4f03cb;return _0x1916bb(G,Object[_0x50cc76(0x299)]({},_0x59f688,{'id':_0x50cc76(0x1c7),'ref':_0x1c51a1,'icon':ps}));});Te[_0x4f03cb(0x1cd)]=_0x4f03cb(0x1cf);var Es={'tag':_0x4f03cb(0x1a4),'attrs':{'xmlns':_0x4f03cb(0x1b9),'fill':_0x4f03cb(0x250),'viewBox':_0x4f03cb(0x1df),'width':_0x4f03cb(0x190),'height':_0x4f03cb(0x190)},'children':[{'tag':_0x4f03cb(0x1f7),'attrs':{'fill':_0x4f03cb(0x1b4),'d':_0x4f03cb(0x132),'fillOpacity':0.2,'fillRule':_0x4f03cb(0x10a),'clipRule':_0x4f03cb(0x10a)}},{'tag':'path','attrs':{'fill':_0x4f03cb(0x1b4),'d':_0x4f03cb(0x22e),'fillRule':_0x4f03cb(0x10a),'clipRule':_0x4f03cb(0x10a)}}]},ae=_0x17629b(function(_0x28fba6,_0x1bce9c){const _0x2fd50b=_0x4f03cb;return _0x1916bb(G,Object[_0x2fd50b(0x299)]({},_0x28fba6,{'id':_0x2fd50b(0x246),'ref':_0x1bce9c,'icon':Es}));});ae[_0x4f03cb(0x1cd)]='LoadingMultiIcon';var Rs={'tag':_0x4f03cb(0x1a4),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4f03cb(0x250),'viewBox':_0x4f03cb(0x111),'width':_0x4f03cb(0x190),'height':_0x4f03cb(0x190)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x4f03cb(0x1c4)},'children':[{'tag':_0x4f03cb(0x1f7),'attrs':{'d':_0x4f03cb(0x292)}},{'tag':'path','attrs':{'d':_0x4f03cb(0x141),'fillRule':_0x4f03cb(0x10a),'clipRule':_0x4f03cb(0x10a)}}]},{'tag':_0x4f03cb(0x285),'attrs':{},'children':[{'tag':_0x4f03cb(0x1a7),'attrs':{'id':_0x4f03cb(0xe9)},'children':[{'tag':_0x4f03cb(0x253),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':'white','rx':0x4}}]}]}],'defIds':['restore-icon_clip0_1247_2']},Le=_0x17629b(function(_0x5ac964,_0x119b2b){const _0xe3e7bf=_0x4f03cb;return _0x1916bb(G,Object[_0xe3e7bf(0x299)]({},_0x5ac964,{'id':'restore-icon','ref':_0x119b2b,'icon':Rs}));});Le[_0x4f03cb(0x1cd)]='RestoreIcon';function Os(){const _0x4651ef=_0x4f03cb;var _0x45929e;const _0x13d8f6=_0x3e4431(E),_0x13b7bb=_0x3e4431(_0xc4817c),_0x2b1aeb=_0x4b1762(()=>{const _0x3cbaf2=_0x490d;_0x13d8f6[_0x3cbaf2(0x164)]=ne[_0x3cbaf2(0x1c2)];},[_0x13d8f6]),_0x560b69=_0x4b1762(()=>{const _0x4202b2=_0x490d;_0x13d8f6[_0x4202b2(0x16e)]();},[_0x13d8f6]),_0x4c372c=_0x636491(_0x13d8f6[_0x4651ef(0x26f)]),_0x21d57a=_0x636491(_0x13d8f6[_0x4651ef(0x24b)]),_0x3dba1d=_0x4c372c===((_0x45929e=_0x21d57a==null?void 0x0:_0x21d57a[0x0])==null?void 0x0:_0x45929e['id']),_0xdea446=_0x4c372c!==''&&!_0x3dba1d&&_0x13d8f6[_0x4651ef(0x19f)];return _0x407034(_0x4651ef(0x28c),{'className':_0x8ef2c9(_0x4651ef(0x1a3),_0x22d313),'children':[_0x18caf9(_0x4651ef(0x28c),{'onClick':_0x2b1aeb,'className':_0x4651ef(0x227),'children':_0x18caf9(Te,{'className':_0x4651ef(0x26d)})}),_0x18caf9(_0x4651ef(0x28c),{'className':_0x4651ef(0x18f),'children':_0xdea446&&_0x18caf9(_0x5af250,{'variant':_0x4651ef(0x204),'onClick':_0x560b69,'children':_0x13b7bb['t'](_0x4651ef(0x11d))})})]});}var Ms=Object[_0x4f03cb(0x145)],Ns=(_0x2b488f,_0xfe6d19,_0x36510a,_0x3fc9b4)=>{for(var _0x11cffa=_0x3fc9b4>0x1?void 0x0:_0x3fc9b4?Ms(_0xfe6d19,_0x36510a):_0xfe6d19,_0x201de8=_0x2b488f['length']-0x1,_0x49b102;_0x201de8>=0x0;_0x201de8--)(_0x49b102=_0x2b488f[_0x201de8])&&(_0x11cffa=_0x49b102(_0x11cffa)||_0x11cffa);return _0x11cffa;},y=(_0x45adfc,_0x1073ea)=>(_0x167dbf,_0x4c33e3)=>_0x1073ea(_0x167dbf,_0x4c33e3,_0x45adfc);let B=class extends _0x14da56{constructor(_0x4b6318,_0x3dc5f2,_0x4c5e9f,_0x401ead,_0x91f3d2,_0x44bbc8){const _0x487fbf=_0x4f03cb;super(),this[_0x487fbf(0x1f0)]=_0x4b6318,this['_uiPartsService']=_0x3dc5f2,this['_messageService']=_0x4c5e9f,this['_localeService']=_0x401ead,this['_historyManagerService']=_0x91f3d2,this['_injector']=_0x44bbc8,this[_0x487fbf(0x181)]();}[_0x4f03cb(0x181)](){const _0x3eafdf=_0x4f03cb;this[_0x3eafdf(0x234)](this[_0x3eafdf(0x27d)]['currentVersion$'][_0x3eafdf(0xe0)](_0x118d1c=>{const _0x33ca26=_0x3eafdf;_0x118d1c&&this[_0x33ca26(0x27d)][_0x33ca26(0xe2)](_0x118d1c);})),this['disposeWithMe'](this[_0x3eafdf(0x1f0)][_0x3eafdf(0x1dd)][_0x3eafdf(0xe0)](_0x110de3=>{const _0x22fa3d=_0x3eafdf,_0x55be55=this[_0x22fa3d(0x27d)]['unitId'];_0x55be55&&(_0x110de3[_0x22fa3d(0x210)]===b[_0x22fa3d(0x14d)]&&_0x110de3[_0x22fa3d(0x244)]===!0x0&&this[_0x22fa3d(0x1f0)][_0x22fa3d(0x297)](new _0x16a647(_0x55be55)['id'],!0x1),_0x110de3[_0x22fa3d(0x210)]===b[_0x22fa3d(0x1f3)]&&_0x110de3[_0x22fa3d(0x244)]===!0x0&&this[_0x22fa3d(0x1f0)][_0x22fa3d(0x297)](new _0x2f252c(_0x55be55)['id'],!0x1),_0x110de3[_0x22fa3d(0x210)]===b['MoveSheet']&&_0x110de3[_0x22fa3d(0x244)]===!0x0&&this[_0x22fa3d(0x1f0)][_0x22fa3d(0x297)](new _0x322255(_0x55be55)['id'],!0x1),_0x110de3[_0x22fa3d(0x210)]===b[_0x22fa3d(0x200)]&&_0x110de3[_0x22fa3d(0x244)]===!0x0&&this[_0x22fa3d(0x1f0)]['updatePermissionPoint'](new _0xe18ad6(_0x55be55)['id'],!0x1),_0x110de3[_0x22fa3d(0x210)]===b['Comment']&&_0x110de3['value']===!0x0&&this['_permissionService'][_0x22fa3d(0x297)](new _0x16a647(_0x55be55)['id'],!0x1),_0x110de3[_0x22fa3d(0x210)]===b['FloatImg']&&_0x110de3['value']===!0x0&&this[_0x22fa3d(0x1f0)][_0x22fa3d(0x297)](new _0x16a647(_0x55be55)['id'],!0x1));})),this[_0x3eafdf(0x234)](this[_0x3eafdf(0x1b1)][_0x3eafdf(0x1fa)](_0x27e01a['HEADER'],()=>_0x168070(Os,this[_0x3eafdf(0x23f)]))),this[_0x3eafdf(0x234)](this['_historyManagerService'][_0x3eafdf(0x108)]['subscribe'](_0x4f5d07=>{const _0x4be467=_0x3eafdf;_0x4f5d07===T['Loading']&&(this[_0x4be467(0x27d)][_0x4be467(0x17f)](),this[_0x4be467(0x186)][_0x4be467(0x18b)]({'type':_0x5c6c44[_0x4be467(0x282)],'content':this['_localeService']['t'](_0x4be467(0xf8))})),_0x4f5d07===T['Loaded']&&this['_historyManagerService'][_0x4be467(0x176)]();}));}};B=Ns([y(0x0,_0x25ea87),y(0x1,_0x2d927d),y(0x2,_0x4b8863),y(0x3,_0x29c844(_0xc4817c)),y(0x4,_0x29c844(E)),y(0x5,_0x29c844(_0x5d250a))],B);var bs=Object[_0x4f03cb(0x145)],Ds=(_0x52cb61,_0x1b00ee,_0xcb1e1a,_0x5bd50c)=>{const _0x27e047=_0x4f03cb;for(var _0x2aebdb=_0x5bd50c>0x1?void 0x0:_0x5bd50c?bs(_0x1b00ee,_0xcb1e1a):_0x1b00ee,_0x4bee99=_0x52cb61[_0x27e047(0x187)]-0x1,_0x362694;_0x4bee99>=0x0;_0x4bee99--)(_0x362694=_0x52cb61[_0x4bee99])&&(_0x2aebdb=_0x362694(_0x2aebdb)||_0x2aebdb);return _0x2aebdb;},Q=(_0x5beefc,_0x555932)=>(_0x1de0d7,_0x56e1ed)=>_0x555932(_0x1de0d7,_0x56e1ed,_0x5beefc);let $=class extends _0x14da56{constructor(_0x2e90e8,_0x4aeb38,_0x200bff){const _0x7ae0e8=_0x4f03cb;super(),l(this,_0x7ae0e8(0x1f5),new Map()),l(this,_0x7ae0e8(0x197),new _0x3f8395({'ranges':new Map(),'active':null})),l(this,_0x7ae0e8(0x1fd),this['_currentVersionDiff$'][_0x7ae0e8(0x237)]()),(this['_historyManagerService']=_0x2e90e8,this[_0x7ae0e8(0xfb)]=_0x4aeb38,this[_0x7ae0e8(0x256)]=_0x200bff,this['_init']());}[_0x4f03cb(0x181)](){const _0x4671b7=_0x4f03cb;this[_0x4671b7(0x1f5)]=new Map(),this['disposeWithMe'](this['_historyManagerService'][_0x4671b7(0x20f)]['subscribe'](_0x482a65=>{const _0x2f0561=_0x4671b7;_0x482a65&&!this[_0x2f0561(0x1f5)][_0x2f0561(0xe5)](_0x482a65)&&this[_0x2f0561(0x1f5)]['set'](_0x482a65,new Map());})),this[_0x4671b7(0x234)](this[_0x4671b7(0x27d)][_0x4671b7(0x26f)]['subscribe'](async _0x14fae8=>{const _0x24886a=_0x4671b7;var _0x5100bd;_0x14fae8&&(await this['ensureVersion'](_0x14fae8),this['_currentVersionDiff$'][_0x24886a(0x202)](((_0x5100bd=this[_0x24886a(0x1f5)][_0x24886a(0x26a)](this[_0x24886a(0x27d)]['unitId']))==null?void 0x0:_0x5100bd['get'](_0x14fae8))||{'ranges':new Map(),'active':null}));}));}async[_0x4f03cb(0x233)](_0x76a281){const _0x39db60=_0x4f03cb;var _0x31680d,_0x5ec140;const _0x16a03d=this['_historyManagerService'][_0x39db60(0x231)](_0x76a281),_0x59b6c1=this[_0x39db60(0x27d)][_0x39db60(0x25c)];if(!_0x16a03d||!_0x59b6c1)return;const _0x3f2372=this[_0x39db60(0x1f5)]['get'](_0x59b6c1);if(_0x3f2372||this[_0x39db60(0x1f5)][_0x39db60(0x1e3)](_0x59b6c1,new Map()),(_0x31680d=this['_diffRangesMap'][_0x39db60(0x26a)](_0x59b6c1))!=null&&_0x31680d[_0x39db60(0xe5)](_0x16a03d['id']))return;const {startRev:_0x52da71,endRev:_0x2f1d3a}=_0x16a03d;if(_0x52da71===0x1){_0x3f2372[_0x39db60(0x1e3)](_0x16a03d['id'],{'ranges':new Map(),'active':null});return;}const _0x2bd98c=_0x52da71-0x1,_0x4e6e52=_0x2f1d3a,_0x4b46b8=await this[_0x39db60(0x256)][_0x39db60(0x191)]({},{'unitID':_0x59b6c1,'from':_0x2bd98c,'to':_0x4e6e52,'type':F[_0x39db60(0x28d)]});if(((_0x5ec140=_0x4b46b8[_0x39db60(0x11f)])==null?void 0x0:_0x5ec140[_0x39db60(0x21f)])===X['OK']){const _0x203da9=_0x4b46b8[_0x39db60(0x1f4)][_0x39db60(0x1d2)](_0x1ce613)['map'](_0x19d977=>_0x19d977[_0x39db60(0x1cc)][_0x39db60(0x1d2)](_0xa27379=>({..._0xa27379,'params':{..._0xa27379[_0x39db60(0x124)],'memberId':_0x19d977['userID']}})))[_0x39db60(0x158)](),_0x12f1a1=this[_0x39db60(0x27e)](_0x203da9),_0x230075=this['_getActiveSubUnitId'](_0x203da9),_0x1779f9=this[_0x39db60(0x128)](_0x12f1a1);_0x3f2372[_0x39db60(0x1e3)](_0x16a03d['id'],{'ranges':_0x1779f9,'active':_0x230075});}}[_0x4f03cb(0x27e)](_0x328954){const _0x4cc0cb=_0x4f03cb;let _0x5776d5=[];for(let _0x43dcdf=0x0;_0x43dcdf<_0x328954[_0x4cc0cb(0x187)];_0x43dcdf++){const _0x25b7fc=_0x328954[_0x43dcdf];if(_0x5776d5[_0x4cc0cb(0x242)](_0x25b7fc),_0x43dcdf!==_0x328954['length']-0x1){const _0x4418b3=_0x328954[_0x43dcdf+0x1],_0x40893e=this[_0x4cc0cb(0xfb)][_0x4cc0cb(0x263)](_0x5776d5,[_0x4418b3]);_0x3eed03(_0x40893e)?_0x5776d5=_0x40893e['m1Prime']:_0x5776d5=[];}}return _0x5776d5;}['_getActiveSubUnitId'](_0x47b8ed){const _0x22fdfa=_0x4f03cb;let _0x3631aa=[];return _0x47b8ed[_0x22fdfa(0x1ca)](_0xd1f2a3=>{const _0x4fea6d=_0x22fdfa;if(_0xd1f2a3['id']===_0x4112ef['id']){const _0x296a0b=_0xd1f2a3['params'];_0x3631aa[_0x4fea6d(0x242)](_0x296a0b[_0x4fea6d(0x1b0)]['id']);}else{if(_0xd1f2a3['id']===_0x1ea322['id']){const _0x24b757=_0xd1f2a3['params'];_0x3631aa['length']>0x0&&(_0x3631aa=_0x3631aa[_0x4fea6d(0x274)](_0x263151=>_0x263151!==_0x24b757[_0x4fea6d(0x1e9)]));}else{if(_0xd1f2a3['id']===_0x4846e8['id']){const _0x10871d=_0xd1f2a3[_0x4fea6d(0x124)];_0x10871d[_0x4fea6d(0x15d)]?_0x3631aa=_0x3631aa[_0x4fea6d(0x274)](_0x2bfcf0=>_0x2bfcf0!==_0x10871d[_0x4fea6d(0x1e9)]):_0x3631aa[_0x4fea6d(0x242)](_0x10871d['subUnitId']);}else{const _0x44458d=_0xd1f2a3['params'];_0x44458d[_0x4fea6d(0x1e9)]&&_0x3631aa['push'](_0x44458d[_0x4fea6d(0x1e9)]);}}}}),_0x3631aa[_0x22fdfa(0x187)]>0x0?_0x3631aa[_0x3631aa[_0x22fdfa(0x187)]-0x1]:null;}[_0x4f03cb(0x128)](_0x8261ef){const _0xdce46a=_0x4f03cb,_0x5a70db=new Map();return _0x8261ef[_0xdce46a(0x1ca)](_0x1f7f74=>{const _0xd98ca7=_0xdce46a;var _0x539540,_0x403f2d;const _0x31d14b=(_0x539540=_0x1f7f74[_0xd98ca7(0x124)])==null?void 0x0:_0x539540[_0xd98ca7(0x1a8)];if(_0x31d14b){_0x5a70db[_0xd98ca7(0xe5)](_0x31d14b)||_0x5a70db[_0xd98ca7(0x1e3)](_0x31d14b,[]);const _0x1a1821=this['_getRangesByMutation'](_0x1f7f74);(_0x403f2d=_0x5a70db[_0xd98ca7(0x26a)](_0x31d14b))==null||_0x403f2d['push'](..._0x1a1821);}}),_0x5a70db[_0xdce46a(0x1ca)]((_0x2e5433,_0x58491a)=>{const _0xf24a29=_0xdce46a;_0x5a70db['set'](_0x58491a,this[_0xf24a29(0x126)](_0x2e5433));}),_0x5a70db;}[_0x4f03cb(0xe3)](_0x403d86){const _0x221870=_0x4f03cb;switch(_0x403d86['id']){case _0xe036fd['id']:{const _0x364e72=_0x403d86[_0x221870(0x124)];return _0x364e72[_0x221870(0x26b)][_0x221870(0x1d2)](_0xd815c0=>_0xd815c0['ranges'][_0x221870(0x1d2)](_0x527bcd=>({'range':_0x527bcd,'unitId':_0x364e72[_0x221870(0x25c)],'subUnitId':_0x364e72[_0x221870(0x1e9)]})))[_0x221870(0x158)]();}case _0x52df04['id']:{const _0x61842d=_0x403d86[_0x221870(0x124)];return _0x61842d[_0x221870(0x162)]['map'](_0x36a949=>({'range':_0x36a949,'unitId':_0x61842d[_0x221870(0x25c)],'subUnitId':_0x61842d[_0x221870(0x1e9)]}));}case _0x5b3818['id']:{const _0x4a3066=_0x403d86[_0x221870(0x124)];return[{'range':_0x4a3066[_0x221870(0x21b)],'unitId':_0x4a3066[_0x221870(0x25c)],'subUnitId':_0x4a3066[_0x221870(0x1e9)]}];}case _0xac09e4['id']:{const _0x2a9dcb=_0x403d86[_0x221870(0x124)];return[{'range':_0x2a9dcb[_0x221870(0x21b)],'unitId':_0x2a9dcb['unitId'],'subUnitId':_0x2a9dcb[_0x221870(0x1e9)]}];}case _0x4ae231['id']:{const _0x59901e=_0x403d86[_0x221870(0x124)],{from:_0xed75c4,to:_0xf5916c,unitId:_0x2e3818}=_0x59901e;return[{'range':he(_0xed75c4[_0x221870(0x244)]),'unitId':_0x2e3818,'subUnitId':_0xed75c4['subUnitId']},{'range':he(_0xf5916c[_0x221870(0x244)]),'unitId':_0x2e3818,'subUnitId':_0xf5916c[_0x221870(0x1e9)]}];}case _0x27f4c7['id']:{const _0x563c2a=_0x403d86['params'],{unitId:_0x38fecf,subUnitId:_0x4bb19b,sourceRange:_0x3320ff,targetRange:_0x243ea8}=_0x563c2a,_0x44e301=_0x3320ff[_0x221870(0x266)]-_0x3320ff[_0x221870(0x25b)]+0x1;return[{'range':_0x243ea8[_0x221870(0x25b)]<=_0x3320ff[_0x221870(0x25b)]?_0x243ea8:{..._0x243ea8,'startRow':_0x243ea8[_0x221870(0x25b)]-_0x44e301,'endRow':_0x243ea8[_0x221870(0x266)]-_0x44e301},'unitId':_0x38fecf,'subUnitId':_0x4bb19b}];}case _0x53cd15['id']:{const _0xee3c60=_0x403d86[_0x221870(0x124)],{unitId:_0x123726,subUnitId:_0x4d40ee,sourceRange:_0x283627,targetRange:_0x2d6492}=_0xee3c60,_0x461542=_0x283627[_0x221870(0x22f)]-_0x283627[_0x221870(0x295)]+0x1;return[{'range':_0x2d6492[_0x221870(0x295)]<=_0x283627[_0x221870(0x295)]?_0x2d6492:{..._0x2d6492,'startColumn':_0x2d6492[_0x221870(0x295)]-_0x461542,'endColumn':_0x2d6492[_0x221870(0x22f)]-_0x461542},'unitId':_0x123726,'subUnitId':_0x4d40ee}];}case _0x1f7843['id']:{const _0x38e2d0=_0x403d86[_0x221870(0x124)],{values:_0x2bc1b7,unitId:_0x202295,subUnitId:_0x10c214}=_0x38e2d0;return Object['values'](_0x2bc1b7)['map'](_0x3d3c40=>_0x3d3c40[_0x221870(0x162)]['map'](_0x539ddc=>({'range':_0x539ddc,'unitId':_0x202295,'subUnitId':_0x10c214})))[_0x221870(0x158)]();}case _0x1b5e63['id']:{const _0xe27987=_0x403d86['params'],{ranges:_0x2d69aa,unitId:_0x13f6b3,subUnitId:_0x32d24f}=_0xe27987;return _0x2d69aa[_0x221870(0x1d2)](_0x488422=>({'range':_0x488422,'unitId':_0x13f6b3,'subUnitId':_0x32d24f}));}case _0x4603b5['id']:{const _0x17979b=_0x403d86[_0x221870(0x124)],{unitId:_0x3d68df,subUnitId:_0x508814,range:_0x368f8f}=_0x17979b;return[{'range':_0x368f8f,'unitId':_0x3d68df,'subUnitId':_0x508814}];}case _0x1a487a['id']:{const _0x155abf=_0x403d86['params'];return _0x155abf[_0x221870(0x24d)][_0x221870(0x162)]['map'](_0x1951b5=>({'range':_0x1951b5,'unitId':_0x155abf['unitId'],'subUnitId':_0x155abf[_0x221870(0x1e9)]}));}case _0x57f631['id']:{const _0x271701=_0x403d86[_0x221870(0x124)];return _0x271701[_0x221870(0x11c)]?ys(_0x271701[_0x221870(0x11c)])[_0x221870(0x1d2)](_0x4ecbf7=>({'range':_0x4ecbf7,'unitId':_0x271701[_0x221870(0x25c)],'subUnitId':_0x271701['subUnitId']})):[];}case _0x90ab09['id']:{const _0x56b623=_0x403d86['params'];return[{'range':_0x56b623[_0x221870(0x21b)],'unitId':_0x56b623[_0x221870(0x25c)],'subUnitId':_0x56b623[_0x221870(0x1e9)]}];}case _0x28371b['id']:{const _0x1b53a0=_0x403d86[_0x221870(0x124)];return(Array[_0x221870(0x229)](_0x1b53a0[_0x221870(0x24d)])?_0x1b53a0[_0x221870(0x24d)]:[_0x1b53a0['rule']])[_0x221870(0x1d2)](_0x1288ad=>_0x1288ad[_0x221870(0x162)]['map'](_0x478834=>({'range':_0x478834,'unitId':_0x1b53a0[_0x221870(0x25c)],'subUnitId':_0x1b53a0[_0x221870(0x1e9)]})))[_0x221870(0x158)]();}case _0x1b6e0c['id']:{const _0x2e2433=_0x403d86[_0x221870(0x124)];return _0x2e2433[_0x221870(0x24d)]['ranges'][_0x221870(0x1d2)](_0x229eb4=>({'range':_0x229eb4,'unitId':_0x2e2433[_0x221870(0x25c)],'subUnitId':_0x2e2433[_0x221870(0x1e9)]}));}default:return[];}}[_0x4f03cb(0x126)](_0x536185){const _0x53df1a=_0x4f03cb;if(_0x536185[_0x53df1a(0x187)]<=0x1)return _0x536185;const _0x4374bb=new Map();return _0x536185['forEach'](_0x3fe553=>{const _0x51e3cc=_0x53df1a;var _0x1bf72f;const {unitId:_0x5b2448,subUnitId:_0x10734b}=_0x3fe553,_0x25029f=_0x5b2448+'-'+_0x10734b;_0x4374bb['has'](_0x25029f)?(_0x1bf72f=_0x4374bb[_0x51e3cc(0x26a)](_0x25029f))==null||_0x1bf72f[_0x51e3cc(0x242)](_0x3fe553):_0x4374bb['set'](_0x25029f,[_0x3fe553]);}),Array[_0x53df1a(0x1f9)](_0x4374bb[_0x53df1a(0x1d0)]())['map'](_0x285d9b=>new _0x47f80d()[_0x53df1a(0x257)](..._0x285d9b[_0x53df1a(0x1d2)](_0x20eef1=>_0x20eef1[_0x53df1a(0x21b)]))[_0x53df1a(0x29c)]()[_0x53df1a(0x1d2)](_0x4bdda6=>({'range':_0x4bdda6,'unitId':_0x285d9b[0x0][_0x53df1a(0x25c)],'subUnitId':_0x285d9b[0x0][_0x53df1a(0x1e9)]})))['flat']();}};$=Ds([Q(0x0,_0x29c844(E)),Q(0x1,_0x60989f),Q(0x2,_0x321951)],$);function he(_0x12f13f){return new _0x29cfab(_0x12f13f)['getDataRange']();}function ys(_0x298e50){const _0xb21434=_0x4f03cb,_0x38469c=new _0x29cfab(_0x298e50),_0x36b03c=new _0x29cfab();return _0x38469c[_0xb21434(0x19b)]((_0x570a8e,_0x265fed)=>{const _0x5c6f01=_0xb21434;_0x36b03c[_0x5c6f01(0x1ae)](_0x570a8e,_0x265fed,0x1);}),_0x186d7f(_0x36b03c);}var Cs=Object['getOwnPropertyDescriptor'],ws=(_0x181d85,_0x241744,_0x3a3c7c,_0x311a90)=>{for(var _0x47123f=_0x311a90>0x1?void 0x0:_0x311a90?Cs(_0x241744,_0x3a3c7c):_0x241744,_0x438333=_0x181d85['length']-0x1,_0x5bd0d6;_0x438333>=0x0;_0x438333--)(_0x5bd0d6=_0x181d85[_0x438333])&&(_0x47123f=_0x5bd0d6(_0x47123f)||_0x47123f);return _0x47123f;},C=(_0x4eb08c,_0x5071eb)=>(_0x5531cd,_0x187a8c)=>_0x5071eb(_0x5531cd,_0x187a8c,_0x4eb08c);let te=class extends _0x14da56{constructor(_0x34df52,_0x2805e8,_0x32980a,_0x31d4d5,_0x234f72,_0x2715b0,_0x3cb409){const _0x58208e=_0x4f03cb;super(),l(this,'_diffs',new Set()),l(this,_0x58208e(0x1b8),null),(this[_0x58208e(0x155)]=_0x34df52,this['_historyManagerService']=_0x2805e8,this['_versionDiffService']=_0x32980a,this[_0x58208e(0xfe)]=_0x31d4d5,this[_0x58208e(0x291)]=_0x234f72,this['_sheetSkeletonManagerService']=_0x2715b0,this[_0x58208e(0x23c)]=_0x3cb409,this[_0x58208e(0x181)]());}[_0x4f03cb(0x181)](){const _0x1f4177=_0x4f03cb;this['_initRender'](),this[_0x1f4177(0x13d)]();}[_0x4f03cb(0x21e)](){const _0x1caafb=_0x4f03cb;this['disposeWithMe'](_0x40b610([this['_historyManagerService'][_0x1caafb(0x108)],this[_0x1caafb(0x240)][_0x1caafb(0x251)]])[_0x1caafb(0x152)](_0x4aeb7d(([_0x24189d,_0x1d565b])=>{const _0x7e1906=_0x1caafb;if(_0x24189d===T['Loaded']&&_0x1d565b){const _0x8345d8=_0x1d565b[_0x7e1906(0x27c)];return this[_0x7e1906(0x118)][_0x7e1906(0x1fd)][_0x7e1906(0x152)](_0x367a6d(_0x5f3aee=>{const _0xa1a11f=_0x7e1906,_0x3b9bfa=new Map();return _0x5f3aee['ranges'][_0xa1a11f(0x1ca)]((_0x3884c3,_0x5dbc96)=>{const _0x1ff7e4=_0xa1a11f,_0x2af103=_0x3884c3[_0x1ff7e4(0x274)](_0x138cd5=>_0x138cd5[_0x1ff7e4(0x1e9)]===_0x8345d8);_0x3b9bfa[_0x1ff7e4(0x1e3)](_0x5dbc96,_0x2af103);}),{'skeleton':_0x1d565b,'diffs':_0x3b9bfa};}));}return _0x33018e({'skeleton':null,'diffs':new Map()});}))[_0x1caafb(0xe0)](({skeleton:_0x375ff4,diffs:_0x27e46d})=>{const _0x535e8e=_0x1caafb;this[_0x535e8e(0x25e)](),_0x375ff4&&this[_0x535e8e(0x10d)](_0x375ff4,_0x27e46d);})),this['disposeWithMe'](this[_0x1caafb(0x240)][_0x1caafb(0x251)][_0x1caafb(0xe0)](_0x351fef=>{const _0x1f3642=_0x1caafb;if(_0x351fef==null)return;const {skeleton:_0x22eb36}=_0x351fef,{scene:_0x2af02e}=this[_0x1f3642(0x155)];_0x2af02e['onPointerMove$'][_0x1f3642(0x103)](_0x511975(_0x12406f=>{const _0x5c8519=_0x1f3642;var _0x5e42e0,_0x5bcfad;const {offsetX:_0x249825,offsetY:_0x1b695d}=_0x12406f,{x:_0x40a82b,y:_0x499652}=_0x2af02e[_0x5c8519(0x17c)](_0x2042b8[_0x5c8519(0x10b)]([_0x249825,_0x1b695d])),{scaleX:_0x2e59d2,scaleY:_0x36c1b8}=_0x2af02e['getAncestorScale'](),_0x39a575=_0x2af02e[_0x5c8519(0x169)](_0x395c32['VIEW_MAIN']),_0x1cb110=_0x2af02e['getVpScrollXYInfoByPosToVp'](_0x2042b8['FromArray']([_0x40a82b,_0x499652]),_0x39a575),_0x51f0ff=_0x22eb36[_0x5c8519(0x147)](_0x249825,_0x1b695d,_0x2e59d2,_0x36c1b8,_0x1cb110);((_0x5e42e0=this['_lastPointer'])==null?void 0x0:_0x5e42e0['column'])===_0x51f0ff['column']&&((_0x5bcfad=this[_0x5c8519(0x1b8)])==null?void 0x0:_0x5bcfad[_0x5c8519(0x1b6)])===_0x51f0ff['row']||this[_0x5c8519(0x267)]['forEach'](_0x1ba361=>{_0x1ba361['onMouseMove'](_0x51f0ff);});},0x64));}));}[_0x4f03cb(0x13d)](){const _0x4f1d8f=_0x4f03cb;this[_0x4f1d8f(0x234)](this['_historyManagerService']['loadingState$'][_0x4f1d8f(0xe0)](_0x5c37b0=>{const _0x3df4d9=_0x4f1d8f,_0x5e6a8c=new _0x5e0d43();return _0x5c37b0===T[_0x3df4d9(0x1b3)]&&(_0x5e6a8c[_0x3df4d9(0x228)](),_0x5e6a8c[_0x3df4d9(0x257)](this[_0x3df4d9(0x118)]['currentVersionDiff$'][_0x3df4d9(0xe0)](_0x325143=>{const _0x13b34c=_0x3df4d9;_0x325143[_0x13b34c(0x230)]&&this[_0x13b34c(0x23c)][_0x13b34c(0x16b)](_0x5d6394['id'],{'unitId':this[_0x13b34c(0x155)][_0x13b34c(0x25c)],'subUnitId':_0x325143[_0x13b34c(0x230)]});}))),()=>_0x5e6a8c[_0x3df4d9(0x228)]();}));}[_0x4f03cb(0x10d)](_0x4f7080,_0x4fbeaf){const _0x4bf6b3=_0x4f03cb;var _0x5055bd;const _0x332ef3=(_0x5055bd=this[_0x4bf6b3(0x240)][_0x4bf6b3(0x259)]())==null?void 0x0:_0x5055bd[_0x4bf6b3(0x235)];if(!_0x332ef3)return;this['_diffs'][_0x4bf6b3(0x1ca)](_0x2ceb22=>{const _0x24d133=_0x4bf6b3;_0x2ceb22[_0x24d133(0x1d4)]();});const {scene:_0x3e2379}=this[_0x4bf6b3(0x155)],_0x30f6ee=Array[_0x4bf6b3(0x1f9)](_0x4fbeaf[_0x4bf6b3(0x1f6)]())[_0x4bf6b3(0x1d2)](_0x5b4e1d=>_0x4fbeaf[_0x4bf6b3(0x26a)](_0x5b4e1d)[_0x4bf6b3(0x1d2)](_0x71fc19=>{const _0x50054f=_0x4bf6b3;var _0x25f22b;const {range:_0x557fc4,subUnitId:_0x2867bb,unitId:_0x4b4b78}=_0x71fc19,{startColumn:_0x44a079,startRow:_0x4d9fdd,endColumn:_0x3298ba,endRow:_0xdf1b42}=_0x557fc4,_0x521e07=_0x47369d(_0x4d9fdd,_0x44a079,_0x3e2379,_0x332ef3),_0x755080=_0x47369d(_0xdf1b42,_0x3298ba,_0x3e2379,_0x332ef3),{columnHeaderHeightAndMarginTop:_0x45d03e}=_0x332ef3,{startX:_0x47ba8c,startY:_0x173dc2}=_0x521e07,{endX:_0x20c925,endY:_0x584b56}=_0x755080,_0x354b20=_0x20c925-_0x47ba8c,_0x5e6e54=_0x584b56-_0x173dc2,_0x3abd3a={'labelPosition':_0x173dc2-_0x45d03e>=0x14?'top':_0x50054f(0x22a),'sheetID':_0x2867bb,'range':_0x557fc4,'color':_0x50054f(0x275),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x50054f(0x275),'name':((_0x25f22b=this[_0x50054f(0x27d)][_0x50054f(0xff)](_0x5b4e1d))==null?void 0x0:_0x25f22b[_0x50054f(0x24e)])||'','selection':_0x4b4b78+'-'+_0x2867bb+'-'+_0x557fc4[_0x50054f(0x295)]+'-'+_0x557fc4[_0x50054f(0x25b)]+'-'+_0x557fc4[_0x50054f(0x22f)]+'-'+_0x557fc4[_0x50054f(0x266)],'left':_0x47ba8c,'top':_0x173dc2,'width':_0x354b20,'height':_0x5e6e54,'evented':!0x1,'zIndex':0x1};return new _0x5d43d2('',_0x3abd3a);}))[_0x4bf6b3(0x158)]();_0x3e2379['addObjects'](_0x30f6ee,0x1),this[_0x4bf6b3(0x267)]=new Set(_0x30f6ee);}[_0x4f03cb(0x25e)](){const _0x2fff4c=_0x4f03cb;var _0x1c73eb;(_0x1c73eb=this[_0x2fff4c(0x267)])==null||_0x1c73eb[_0x2fff4c(0x1ca)](_0x283ae4=>_0x283ae4[_0x2fff4c(0x228)]());}[_0x4f03cb(0x1a9)](){const _0x4220cc=_0x4f03cb;return _0x4a132d(this[_0x4220cc(0xfe)],this[_0x4220cc(0x291)]);}};te=ws([C(0x1,_0x29c844(E)),C(0x2,_0x29c844($)),C(0x3,_0x5eb68e),C(0x4,_0x1036f5),C(0x5,_0x29c844(_0x37bd78)),C(0x6,_0x4e59cf)],te);function Ps(){const _0x542b21=_0x4f03cb,_0x48e38a=_0x3e4431(E),_0x1f7382=_0x636491(_0x48e38a[_0x542b21(0x24b)]),[_0x3da8f0,_0x9de3da]=_0xa81ac4(!0x1),_0x3ab7ff=cs(_0x1f7382);return _0x1f7382?_0x18caf9(_0x542b21(0x28c),{'className':_0x542b21(0x258),'children':_0x407034(_0x542b21(0x28c),{'className':_0x542b21(0x28f),'children':[_0x3ab7ff[_0x542b21(0x1d2)]((_0x5b251b,_0x820792)=>_0x407034(_0x5b883c,{'children':[_0x18caf9($s,{'date':_0x5b251b[_0x542b21(0x146)]}),_0x5b251b['versions'][_0x542b21(0x1d2)]((_0x2af636,_0xaae9f5)=>_0x18caf9(Vs,{'index':[_0x820792,_0xaae9f5],'item':_0x2af636},_0x820792+'-'+_0xaae9f5))]},_0x5b251b[_0x542b21(0x146)])),_0x3da8f0&&_0x18caf9(Ts,{})]})}):_0x18caf9(Ls,{});}function Ts(){const _0x22795b=_0x4f03cb;return _0x18caf9(_0x22795b(0x28c),{'className':_0x22795b(0xf1),'children':_0x18caf9(ae,{'className':_0x22795b(0x225)})});}function Ls(){const _0x3b6834=_0x4f03cb;return _0x18caf9(_0x3b6834(0x28c),{'className':_0x3b6834(0x13c),'children':_0x18caf9(_0x3b6834(0x26c),{'className':_0x3b6834(0x119),'children':_0x18caf9(ae,{'className':_0x3b6834(0x1a1)})})});}function _0x490d(_0xaae600,_0x709404){const _0x2c1989=_0x2c19();return _0x490d=function(_0x490d76,_0x29c63d){_0x490d76=_0x490d76-0xdd;let _0x2642ce=_0x2c1989[_0x490d76];return _0x2642ce;},_0x490d(_0xaae600,_0x709404);}function $s(_0x1d6184){const _0x3aa187=_0x4f03cb,_0x14171b=_0x3e4431(_0xc4817c),{date:_0x1f4850}=_0x1d6184;return _0x18caf9(_0x3aa187(0x28c),{'className':_0x3aa187(0x1d9),'children':ee(_0x1f4850,_0x14171b[_0x3aa187(0x1aa)]())});}function Vs(_0x4b7714){const _0x143927=_0x4f03cb,{item:_0x3cb37c,index:_0x26a8de}=_0x4b7714,{time:_0x161142,user:_0x21550b}=_0x3cb37c,[_0x3e9b02,_0x5d4f4a]=_0x26a8de,_0x30ebc1=_0x3e4431(E),_0x3c1143=_0x636491(_0x30ebc1[_0x143927(0x26f)],'',!0x0)===_0x3cb37c['id'],_0x3c49d0=_0x3e9b02===0x0&&_0x5d4f4a===0x0,_0x2fe57b=!_0x3c49d0&&_0x30ebc1[_0x143927(0x19f)],_0x24a74b=_0x3e4431(_0xc4817c),_0x43cb67=_0x24a74b[_0x143927(0x1aa)](),_0x4de3a8=re(_0x161142,_0x43cb67),_0x5e6f84=_0x24a74b['t'](_0x143927(0x17d)),_0x2a34bf=_0x4b1762(_0x29532d=>{const _0x26f6e0=_0x143927;_0x30ebc1[_0x26f6e0(0x219)]!==T[_0x26f6e0(0x20a)]&&(_0x30ebc1['currentVersion']=_0x29532d);},[_0x30ebc1]),_0x30309b=_0x4b1762(_0x34e510=>{const _0x3e1927=_0x143927;_0x30ebc1[_0x3e1927(0x16e)](_0x34e510);},[_0x30ebc1]);return _0x407034(_0x143927(0x28c),{'className':_0x8ef2c9(_0x143927(0x125),{'univer-bg-gray-50':_0x3c1143}),'onClick':()=>_0x2a34bf(_0x3cb37c['id']),'children':[_0x407034(_0x143927(0x28c),{'className':_0x143927(0x151),'children':[_0x18caf9(_0x143927(0x28c),{'className':_0x143927(0x20c)}),_0x407034(_0x143927(0x28c),{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[_0x18caf9(_0x143927(0x26c),{'children':_0x4de3a8[_0x143927(0x10f)]}),_0x3c49d0&&_0x18caf9(_0x143927(0x26c),{'className':_0x143927(0x11b),'children':_0x5e6f84})]}),_0x18caf9(_0x143927(0x28c),{'children':_0x2fe57b&&_0x18caf9(_0x800034,{'title':_0x24a74b['t'](_0x143927(0x271)),'children':_0x18caf9(_0x143927(0x28c),{'onClick':_0x3745fd=>{const _0x629d83=_0x143927;_0x3745fd[_0x629d83(0x120)](),_0x30309b(_0x3cb37c['id']);},'className':_0x143927(0x29d),'children':_0x18caf9(Le,{})})})})]}),_0x18caf9('div',{'className':_0x143927(0xdf),'children':as(_0x3cb37c,_0x24a74b)})]});}var ks=Object[_0x4f03cb(0x145)],xs=(_0x147a8d,_0x4d2619,_0x52f826,_0x1bde56)=>{const _0x4d1f1c=_0x4f03cb;for(var _0xb9143a=_0x1bde56>0x1?void 0x0:_0x1bde56?ks(_0x4d2619,_0x52f826):_0x4d2619,_0x3d556e=_0x147a8d[_0x4d1f1c(0x187)]-0x1,_0x112bc0;_0x3d556e>=0x0;_0x3d556e--)(_0x112bc0=_0x147a8d[_0x3d556e])&&(_0xb9143a=_0x112bc0(_0xb9143a)||_0xb9143a);return _0xb9143a;},k=(_0x1fbadf,_0xbda0e8)=>(_0x41dcc9,_0x16b0ff)=>_0xbda0e8(_0x41dcc9,_0x16b0ff,_0x1fbadf);const de=_0x4f03cb(0xf9);let j=class extends _0x14da56{constructor(_0x198c39,_0x23e873,_0x241842,_0x53d708){const _0x3b2cfc=_0x4f03cb;super(),l(this,_0x3b2cfc(0x19e),null),(this['_sidebarService']=_0x198c39,this[_0x3b2cfc(0x289)]=_0x23e873,this['_localeService']=_0x241842,this[_0x3b2cfc(0x27d)]=_0x53d708,this['_init']());}[_0x4f03cb(0x181)](){this['_initPanel'](),this['_openPanel']();}[_0x4f03cb(0x276)](){const _0x4f6716=_0x4f03cb;if(this[_0x4f6716(0x19e)])return;const _0x800d37={'header':{'title':this['_localeService']['t']('editHistory.panel.title')},'children':{'label':de},'onClose':()=>{const _0x325572=_0x4f6716;this[_0x325572(0x19e)]=null,this[_0x325572(0x27d)][_0x325572(0x164)]=ne['Exited'];}};this[_0x4f6716(0x19e)]=this[_0x4f6716(0x1fb)][_0x4f6716(0x135)]({..._0x800d37});}[_0x4f03cb(0x1e7)](){const _0x23170e=_0x4f03cb;this[_0x23170e(0x234)](this[_0x23170e(0x289)]['register'](de,Ps)),this[_0x23170e(0x234)](this[_0x23170e(0x1fb)][_0x23170e(0x17e)][_0x23170e(0x152)](_0x2b6425(0x64))['subscribe'](_0x22f140=>{const _0x4df9ab=_0x23170e,{target:_0x4d2c16}=_0x22f140||{};if(_0x4d2c16){const {scrollTop:_0x3bf5a0,scrollHeight:_0x4a6fb5,clientHeight:_0x3d6823}=_0x4d2c16;_0x3bf5a0+_0x3d6823>=_0x4a6fb5-0x5&&this[_0x4df9ab(0x27d)][_0x4df9ab(0x1be)]();}}));}};j=xs([k(0x0,_0xe7aeb2),k(0x1,_0x29c844(_0x5754cd)),k(0x2,_0x29c844(_0xc4817c)),k(0x3,_0x29c844(E))],j);class Us extends _0x14da56{constructor(){const _0x56470d=_0x4f03cb;super(),l(this,_0x56470d(0x168),new _0x1cb6e2());}[_0x4f03cb(0x135)](){return _0x1c3dc4(()=>{});}['close'](){}[_0x4f03cb(0x1fe)](_0x1c9b4a){}[_0x4f03cb(0x131)](){const _0x11f99e=_0x4f03cb;return this[_0x11f99e(0x168)][_0x11f99e(0x237)]();}}var Hs=Object[_0x4f03cb(0x1d8)],Fs=Object['getOwnPropertyDescriptor'],Ys=(_0x14b446,_0x5c6aa6,_0x48bda3)=>_0x5c6aa6 in _0x14b446?Hs(_0x14b446,_0x5c6aa6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x48bda3}):_0x14b446[_0x5c6aa6]=_0x48bda3,Bs=(_0x4302ac,_0x34073b,_0xc185b8,_0x14893f)=>{for(var _0x24b573=_0x14893f>0x1?void 0x0:_0x14893f?Fs(_0x34073b,_0xc185b8):_0x34073b,_0x5cc550=_0x4302ac['length']-0x1,_0x276def;_0x5cc550>=0x0;_0x5cc550--)(_0x276def=_0x4302ac[_0x5cc550])&&(_0x24b573=_0x276def(_0x24b573)||_0x24b573);return _0x24b573;},J=(_0x4a4989,_0xd19cc8)=>(_0x3489e2,_0x2b842c)=>_0xd19cc8(_0x3489e2,_0x2b842c,_0x4a4989),js=(_0xc2a1f1,_0x3649a1,_0x464ed6)=>Ys(_0xc2a1f1,_0x3649a1+'',_0x464ed6);const As=_0x4f03cb(0x286);let se=class extends _0x499fd0{constructor(_0x283ee7=_e,_0x31703c,_0x5581a1,_0x55e2f6){const _0x59733c=_0x4f03cb;super(),this[_0x59733c(0xea)]=_0x283ee7,this[_0x59733c(0x23f)]=_0x31703c,this[_0x59733c(0x291)]=_0x5581a1,this[_0x59733c(0x1ec)]=_0x55e2f6;const {..._0x4169b2}=_0x4f62e6({},_e,this[_0x59733c(0xea)]);this[_0x59733c(0x1ec)]['setConfig'](we,_0x4169b2);}['onStarting'](){const _0x4f4348=_0x4f03cb;[[E],[B],[$],[Y],[j],[H],[_0x321951,{'useClass':_0x709038}],[_0x2ba098,{'useClass':Us}],[_0x81f62a,{'useClass':_0x6b602d}]][_0x4f4348(0x1ca)](_0x536818=>this['_injector']['add'](_0x536818)),this['_injector']['get'](B);}['onRendered'](){const _0x528e70=_0x4f03cb;[[te]][_0x528e70(0x1ca)](_0xe54f8a=>{const _0x2a005f=_0x528e70;this[_0x2a005f(0x234)](this[_0x2a005f(0x291)][_0x2a005f(0x1bb)](_0x347ff2[_0x2a005f(0x28d)],_0xe54f8a));}),this[_0x528e70(0x23f)][_0x528e70(0x26a)](H),this[_0x528e70(0x23f)][_0x528e70(0x26a)](j);}[_0x4f03cb(0x166)](){const _0x51e4b2=_0x4f03cb;this['_injector'][_0x51e4b2(0x26a)]($);}};js(se,_0x4f03cb(0xf4),As),se=Bs([_0x4d945d(_0x11b987,_0xe5ea8f),J(0x1,_0x29c844(_0x5d250a)),J(0x2,_0x1036f5),J(0x3,_0x32044b)],se);export{E as HistoryManagerService,ne as HistoryModeStatus,se as UniverEditHistoryViewerPlugin};
|
|
1
|
+
const _0x1fbfe3=_0x2c88;(function(_0x358dad,_0x578e2c){const _0x538bb6=_0x2c88,_0x28d90f=_0x358dad();while(!![]){try{const _0x3372fa=-parseInt(_0x538bb6(0x204))/0x1+-parseInt(_0x538bb6(0x21b))/0x2+parseInt(_0x538bb6(0x240))/0x3+-parseInt(_0x538bb6(0x22b))/0x4+parseInt(_0x538bb6(0x2ed))/0x5+parseInt(_0x538bb6(0x25f))/0x6+parseInt(_0x538bb6(0x1d4))/0x7;if(_0x3372fa===_0x578e2c)break;else _0x28d90f['push'](_0x28d90f['shift']());}catch(_0x10bdef){_0x28d90f['push'](_0x28d90f['shift']());}}}(_0x75ec,0xbe210));var Fe=Object[_0x1fbfe3(0x23f)],Ye=(_0x3e55ac,_0x564e2a,_0x413e72)=>_0x564e2a in _0x3e55ac?Fe(_0x3e55ac,_0x564e2a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x413e72}):_0x3e55ac[_0x564e2a]=_0x413e72,l=(_0x406834,_0x774247,_0x3848a2)=>Ye(_0x406834,typeof _0x774247!='symbol'?_0x774247+'':_0x774247,_0x3848a2);import{RevertRevisionMutation as _0x164bcd,CreateUnitMutation as _0x44819b,ISnapshotServerService as _0x51cf3f,CompressMutationService as _0x5379f3,transformSnapshotToWorkbookData as _0x40158c,ITransformService as _0x152fce,parseProtocolChangeset as _0x3f80bf,isTransformMutationsSuccess as _0x403313}from'@univerjs-pro/collaboration';import{SnapshotServerOverHTTPService as _0x15590c,CollaborationImageIoService as _0x5b040f}from'@univerjs-pro/collaboration-client';import{Disposable as _0x3970fc,LocaleType as _0x43d6e4,IUniverInstanceService as _0x1cb631,ICommandService as _0x4c6efd,IConfigService as _0xb9a432,Inject as _0xa84778,UniverInstanceType as _0x384d1d,LocaleService as _0x343be2,IPermissionService as _0x173fc9,Injector as _0x3bfcdd,ObjectMatrix as _0x17df7f,debounce as _0x390bc6,DisposableCollection as _0x513974,toDisposable as _0x1d8d8c,DependentOn as _0x336255,Plugin as _0x41f863,merge as _0x2046c3}from'@univerjs/core';import{IImageIoService as _0x3b1d31}from'@univerjs/drawing';import{IRenderManagerService as _0x8b6592,Vector2 as _0x2fcafa,SHEET_VIEWPORT_KEY as _0x52fde9}from'@univerjs/engine-render';import{HTTPService as _0x5a7067,UniverNetworkPlugin as _0x5d7838}from'@univerjs/network';import{ICellEditorManagerService as _0x491310,SheetSkeletonManagerService as _0x53e857,getCoordByCell as _0x18fbde,getSheetObject as _0x3548cc,UniverSheetsUIPlugin as _0x2af04a}from'@univerjs/sheets-ui';import{IMessageService as _0x14bf7b,IConfirmService as _0xe71a8d,useDependency as _0xf02295,useObservable as _0x57b9ca,IUIPartsService as _0x1256ba,BuiltInUIPart as _0x3e007e,connectInjector as _0x2d34ce,ISidebarService as _0x315048,ComponentManager as _0x1d1422,IDialogService as _0x59d1d5}from'@univerjs/ui';import{MessageType as _0x1b71c0,clsx as _0x2e2861,Button as _0x2afba5,borderBottomClassName as _0x2984ef,Tooltip as _0xfdc9a3}from'@univerjs/design';import{InsertSheetMutation as _0x11bbc4,RemoveSheetMutation as _0x17758c,SetFrozenMutation as _0x2397b3,AddWorksheetProtectionMutation as _0x13b180,AddRangeProtectionMutation as _0x5a689c,DeleteRangeProtectionMutation as _0x5cb7a1,DeleteWorksheetProtectionMutation as _0x261661,WorkbookEditablePermission as _0x389270,WorkbookRenameSheetPermission as _0x1184a9,WorkbookMoveSheetPermission as _0x4d9bb6,WorkbookHideSheetPermission as _0x36baf0,SetWorksheetHideMutation as _0x573de6,SetRangeValuesMutation as _0xbb4413,SetRangeProtectionMutation as _0x13066e,ReorderRangeMutation as _0x17c762,RemoveNumfmtMutation as _0x41acec,SetNumfmtMutation as _0x3273f1,MoveColsMutation as _0x4b5049,MoveRowsMutation as _0x4bfa5b,MoveRangeMutation as _0xc5c6cd,InsertColMutation as _0x1201c0,InsertRowMutation as _0x43c172,AddWorksheetMergeMutation as _0x3c326b,RangeMergeUtil as _0x1ac882,findAllRectangle as _0x541b55,SetWorksheetActiveOperation as _0x2bb3d7}from'@univerjs/sheets';import{BehaviorSubject as _0x1147cb,combineLatest as _0x3625bc,switchMap as _0x25a3e4,map as _0x219ba0,of as _0xa03eac,debounceTime as _0xc1722,Subject as _0x401884}from'rxjs';import{AddSheetSparklineMutation as _0x22c44e}from'@univerjs-pro/sheets-sparkline';import{AddDataValidationMutation as _0x25b3c0,UpdateDataValidationMutation as _0x398de2}from'@univerjs/data-validation';import{SetConditionalRuleMutation as _0x482a92,AddConditionalRuleMutation as _0x2e6db0}from'@univerjs/sheets-conditional-formatting';import{SetSheetsFilterRangeMutation as _0x4b44ae}from'@univerjs/sheets-filter';import{jsxs as _0x4ba140,jsx as _0x333879}from'react/jsx-runtime';import{forwardRef as _0x464d4c,useRef as _0x18baab,createElement as _0x537a70,useCallback as _0x1b1709,useState as _0x472cb2,Fragment as _0x11a54a}from'react';import{SheetCollabCursorShape as _0x100d4d}from'@univerjs-pro/collaboration-client-ui';const we=_0x1fbfe3(0x270),_e={};var ss=Object[_0x1fbfe3(0x256)],is=(_0x4dadd3,_0x50e096,_0x38e474,_0x55fc88)=>{const _0xdaf096=_0x1fbfe3;for(var _0x21ce03=_0x55fc88>0x1?void 0x0:_0x55fc88?ss(_0x50e096,_0x38e474):_0x50e096,_0xc572c9=_0x4dadd3[_0xdaf096(0x304)]-0x1,_0x43b6aa;_0xc572c9>=0x0;_0xc572c9--)(_0x43b6aa=_0x4dadd3[_0xc572c9])&&(_0x21ce03=_0x43b6aa(_0x21ce03)||_0x21ce03);return _0x21ce03;},rs=(_0x575b7d,_0x25a61f)=>(_0x4569f1,_0x4c4019)=>_0x25a61f(_0x4569f1,_0x4c4019,_0x575b7d);let H=class extends _0x3970fc{constructor(_0x3ce1aa){const _0x1a3c87=_0x1fbfe3;super(),this[_0x1a3c87(0x2ce)]=_0x3ce1aa,this['_init']();}[_0x1fbfe3(0x236)](){const _0xa23351=_0x1fbfe3;this[_0xa23351(0x230)](this[_0xa23351(0x2ce)][_0xa23351(0x24d)][_0xa23351(0x205)](_0x514b5b=>{const _0x4ae152=_0xa23351;_0x514b5b!=null&&_0x514b5b['show']&&this[_0x4ae152(0x2ce)]['setState']({'show':!0x1});}));}};H=is([rs(0x0,_0x491310)],H);var X=(_0x453835=>(_0x453835[_0x453835[_0x1fbfe3(0x272)]=0x0]=_0x1fbfe3(0x272),_0x453835[_0x453835['OK']=0x1]='OK',_0x453835[_0x453835['INTERNAL_ERROR']=0x2]=_0x1fbfe3(0x23e),_0x453835[_0x453835[_0x1fbfe3(0x22d)]=0x3]=_0x1fbfe3(0x22d),_0x453835[_0x453835[_0x1fbfe3(0x2d1)]=0x4]=_0x1fbfe3(0x2d1),_0x453835[_0x453835[_0x1fbfe3(0x1f7)]=0x5]='UNAUTHENTICATED',_0x453835[_0x453835[_0x1fbfe3(0x2c1)]=0x6]=_0x1fbfe3(0x2c1),_0x453835[_0x453835[_0x1fbfe3(0x1d7)]=0x7]=_0x1fbfe3(0x1d7),_0x453835[_0x453835[_0x1fbfe3(0x1dc)]=0x8]=_0x1fbfe3(0x1dc),_0x453835[_0x453835['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x453835[_0x453835[_0x1fbfe3(0x190)]=0xa]=_0x1fbfe3(0x190),_0x453835[_0x453835[_0x1fbfe3(0x277)]=0xb]=_0x1fbfe3(0x277),_0x453835[_0x453835[_0x1fbfe3(0x2a3)]=0xc]=_0x1fbfe3(0x2a3),_0x453835[_0x453835[_0x1fbfe3(0x2bd)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x453835[_0x453835[_0x1fbfe3(0x201)]=0xe]=_0x1fbfe3(0x201),_0x453835[_0x453835[_0x1fbfe3(0x1a3)]=0x1389]=_0x1fbfe3(0x1a3),_0x453835[_0x453835[_0x1fbfe3(0x28a)]=0x1771]=_0x1fbfe3(0x28a),_0x453835[_0x453835[_0x1fbfe3(0x24b)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x453835[_0x453835[_0x1fbfe3(0x2f6)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x453835[_0x453835[_0x1fbfe3(0x2ee)]=0x1b59]=_0x1fbfe3(0x2ee),_0x453835[_0x453835['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1fbfe3(0x16a),_0x453835[_0x453835[_0x1fbfe3(0x1b8)]=0x1b5b]=_0x1fbfe3(0x1b8),_0x453835[_0x453835[_0x1fbfe3(0x2fe)]=0x1b5c]=_0x1fbfe3(0x2fe),_0x453835[_0x453835[_0x1fbfe3(0x2a7)]=0x1b5d]='APPLY_DUPLICATED',_0x453835[_0x453835[_0x1fbfe3(0x1ff)]=0x1f41]=_0x1fbfe3(0x1ff),_0x453835[_0x453835[_0x1fbfe3(0x2a8)]=0x2329]=_0x1fbfe3(0x2a8),_0x453835[_0x453835[_0x1fbfe3(0x2e3)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x453835[_0x453835[_0x1fbfe3(0x1bd)]=0x232b]=_0x1fbfe3(0x1bd),_0x453835[_0x453835[_0x1fbfe3(0x1af)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x453835[_0x453835['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x453835[_0x453835['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x1fbfe3(0x29b),_0x453835[_0x453835['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x453835[_0x453835[_0x1fbfe3(0x326)]=0x2713]=_0x1fbfe3(0x326),_0x453835[_0x453835[_0x1fbfe3(0x2c8)]=0x2714]=_0x1fbfe3(0x2c8),_0x453835[_0x453835[_0x1fbfe3(0x2f3)]=0x271a]=_0x1fbfe3(0x2f3),_0x453835[_0x453835['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x1fbfe3(0x1a6),_0x453835[_0x453835['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x453835[_0x453835[_0x1fbfe3(0x1c4)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x453835[_0x453835[_0x1fbfe3(0x303)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x453835[_0x453835[_0x1fbfe3(0x274)]=0x271f]=_0x1fbfe3(0x274),_0x453835[_0x453835['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x453835[_0x453835[_0x1fbfe3(0x202)]=0x2af9]=_0x1fbfe3(0x202),_0x453835[_0x453835['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x453835[_0x453835[_0x1fbfe3(0x2db)]=0x2ee2]=_0x1fbfe3(0x2db),_0x453835[_0x453835[_0x1fbfe3(0x242)]=0x2ee3]=_0x1fbfe3(0x242),_0x453835[_0x453835['USER_NOT_INVITED_CODE']=0x2ee4]=_0x1fbfe3(0x2d4),_0x453835[_0x453835[_0x1fbfe3(0x169)]=0x2ee5]=_0x1fbfe3(0x169),_0x453835[_0x453835[_0x1fbfe3(0x269)]=0x32c9]=_0x1fbfe3(0x269),_0x453835[_0x453835[_0x1fbfe3(0x1d6)]=0x32ca]=_0x1fbfe3(0x1d6),_0x453835[_0x453835[_0x1fbfe3(0x2ad)]=0x32cb]=_0x1fbfe3(0x2ad),_0x453835[_0x453835[_0x1fbfe3(0x185)]=-0x1]=_0x1fbfe3(0x185),_0x453835))(X||{}),F=(_0x42a13d=>(_0x42a13d[_0x42a13d[_0x1fbfe3(0x1da)]=0x0]=_0x1fbfe3(0x1da),_0x42a13d[_0x42a13d[_0x1fbfe3(0x2e6)]=0x1]='UNIVER_DOC',_0x42a13d[_0x42a13d[_0x1fbfe3(0x21a)]=0x2]=_0x1fbfe3(0x21a),_0x42a13d[_0x42a13d[_0x1fbfe3(0x2b7)]=0x3]=_0x1fbfe3(0x2b7),_0x42a13d[_0x42a13d[_0x1fbfe3(0x209)]=0x4]=_0x1fbfe3(0x209),_0x42a13d[_0x42a13d[_0x1fbfe3(0x185)]=-0x1]=_0x1fbfe3(0x185),_0x42a13d))(F||{}),b=(_0x3393d8=>(_0x3393d8[_0x3393d8[_0x1fbfe3(0x27f)]=0x0]=_0x1fbfe3(0x27f),_0x3393d8[_0x3393d8[_0x1fbfe3(0x1b4)]=0x1]=_0x1fbfe3(0x1b4),_0x3393d8[_0x3393d8[_0x1fbfe3(0x27d)]=0x2]=_0x1fbfe3(0x27d),_0x3393d8[_0x3393d8[_0x1fbfe3(0x2af)]=0x3]=_0x1fbfe3(0x2af),_0x3393d8[_0x3393d8[_0x1fbfe3(0x287)]=0x4]=_0x1fbfe3(0x287),_0x3393d8[_0x3393d8[_0x1fbfe3(0x2c7)]=0x5]=_0x1fbfe3(0x2c7),_0x3393d8[_0x3393d8[_0x1fbfe3(0x193)]=0x6]=_0x1fbfe3(0x193),_0x3393d8[_0x3393d8['Share']=0x7]=_0x1fbfe3(0x2d5),_0x3393d8[_0x3393d8[_0x1fbfe3(0x1b2)]=0x8]=_0x1fbfe3(0x1b2),_0x3393d8[_0x3393d8['MoveWorksheet']=0x9]=_0x1fbfe3(0x234),_0x3393d8[_0x3393d8[_0x1fbfe3(0x1c7)]=0xa]=_0x1fbfe3(0x1c7),_0x3393d8[_0x3393d8[_0x1fbfe3(0x28f)]=0xb]=_0x1fbfe3(0x28f),_0x3393d8[_0x3393d8['RenameWorksheet']=0xc]=_0x1fbfe3(0x315),_0x3393d8[_0x3393d8['CreateWorksheet']=0xd]=_0x1fbfe3(0x309),_0x3393d8[_0x3393d8[_0x1fbfe3(0x1e5)]=0xe]=_0x1fbfe3(0x1e5),_0x3393d8[_0x3393d8[_0x1fbfe3(0x2d6)]=0xf]=_0x1fbfe3(0x2d6),_0x3393d8[_0x3393d8[_0x1fbfe3(0x189)]=0x10]='InsertHyperlink',_0x3393d8[_0x3393d8[_0x1fbfe3(0x218)]=0x11]='Sort',_0x3393d8[_0x3393d8[_0x1fbfe3(0x1c9)]=0x12]=_0x1fbfe3(0x1c9),_0x3393d8[_0x3393d8[_0x1fbfe3(0x2a0)]=0x13]='PivotTable',_0x3393d8[_0x3393d8[_0x1fbfe3(0x297)]=0x14]=_0x1fbfe3(0x297),_0x3393d8[_0x3393d8[_0x1fbfe3(0x2fa)]=0x15]=_0x1fbfe3(0x2fa),_0x3393d8[_0x3393d8['RwHgtClWdt']=0x16]=_0x1fbfe3(0x16d),_0x3393d8[_0x3393d8[_0x1fbfe3(0x31a)]=0x17]=_0x1fbfe3(0x31a),_0x3393d8[_0x3393d8['ViewFilter']=0x18]=_0x1fbfe3(0x1fd),_0x3393d8[_0x3393d8[_0x1fbfe3(0x259)]=0x19]=_0x1fbfe3(0x259),_0x3393d8[_0x3393d8['DeleteSheet']=0x1a]=_0x1fbfe3(0x1f1),_0x3393d8[_0x3393d8[_0x1fbfe3(0x1ec)]=0x1b]=_0x1fbfe3(0x1ec),_0x3393d8[_0x3393d8[_0x1fbfe3(0x31e)]=0x1c]='CopySheet',_0x3393d8[_0x3393d8[_0x1fbfe3(0x16c)]=0x1d]=_0x1fbfe3(0x16c),_0x3393d8[_0x3393d8['CreateSheet']=0x1e]='CreateSheet',_0x3393d8[_0x3393d8[_0x1fbfe3(0x251)]=0x1f]=_0x1fbfe3(0x251),_0x3393d8[_0x3393d8[_0x1fbfe3(0x168)]=0x20]=_0x1fbfe3(0x168),_0x3393d8[_0x3393d8['SetCellStyle']=0x21]=_0x1fbfe3(0x1f9),_0x3393d8[_0x3393d8[_0x1fbfe3(0x2b4)]=0x22]=_0x1fbfe3(0x2b4),_0x3393d8[_0x3393d8[_0x1fbfe3(0x1b7)]=0x23]=_0x1fbfe3(0x1b7),_0x3393d8[_0x3393d8['SetColumnStyle']=0x24]=_0x1fbfe3(0x2f0),_0x3393d8[_0x3393d8[_0x1fbfe3(0x1e3)]=0x25]=_0x1fbfe3(0x1e3),_0x3393d8[_0x3393d8[_0x1fbfe3(0x1a8)]=0x26]='InsertColumn',_0x3393d8[_0x3393d8[_0x1fbfe3(0x1cb)]=0x27]=_0x1fbfe3(0x1cb),_0x3393d8[_0x3393d8[_0x1fbfe3(0x266)]=0x28]=_0x1fbfe3(0x266),_0x3393d8[_0x3393d8['EditExtraObject']=0x29]=_0x1fbfe3(0x1c1),_0x3393d8[_0x3393d8['Delete']=0x2a]=_0x1fbfe3(0x2cb),_0x3393d8[_0x3393d8[_0x1fbfe3(0x2d9)]=0x2b]='RecoverHistory',_0x3393d8[_0x3393d8[_0x1fbfe3(0x28b)]=0x2c]='ViewHistory',_0x3393d8[_0x3393d8[_0x1fbfe3(0x294)]=0x2d]=_0x1fbfe3(0x294),_0x3393d8[_0x3393d8[_0x1fbfe3(0x185)]=-0x1]='UNRECOGNIZED',_0x3393d8))(b||{});function ns(_0x1a198){const _0x2d7cc3=_0x1fbfe3;return!!(_0x1a198&&_0x1a198[_0x2d7cc3(0x225)]&&_0x1a198[_0x2d7cc3(0x225)]!==X['OK']&&_0x1a198[_0x2d7cc3(0x225)]!=='OK');}const re=(_0x507f86,_0x180272)=>{const _0x3ac17d=_0x1fbfe3;if(!_0x507f86)return{'date':'','time':''};const _0x29e925=new Date(_0x507f86),_0x1e4bc4=_0x29e925[_0x3ac17d(0x175)]()[_0x3ac17d(0x25a)]('T')[0x0];switch(_0x180272){case _0x43d6e4[_0x3ac17d(0x1de)]:return{'date':ee(_0x1e4bc4,_0x180272),'time':_0x29e925[_0x3ac17d(0x25b)]()+':'+String(_0x29e925[_0x3ac17d(0x1d5)]())['padStart'](0x2,'0')};default:return{'date':ee(_0x1e4bc4,_0x180272),'time':_0x29e925[_0x3ac17d(0x25b)]()+':'+_0x29e925[_0x3ac17d(0x1d5)]()};}},as=(_0x499186,_0x1c1b9d)=>{const _0x84f510=_0x1fbfe3,_0xdab03=_0x499186[_0x84f510(0x20b)]||_0x1c1b9d['t']('editHistory.panel.unknownUser');if(_0x499186[_0x84f510(0x30b)][_0x84f510(0x1b9)](_0x43ecc9=>_0x43ecc9===_0x164bcd['id'])&&_0x499186[_0x84f510(0x271)]){const _0x2fb70e=re(_0x499186[_0x84f510(0x271)],_0x1c1b9d[_0x84f510(0x310)]()),_0xbf58b3=_0x2fb70e[_0x84f510(0x265)]+'\x20'+_0x2fb70e[_0x84f510(0x2be)];return _0xdab03+'\x20'+_0x1c1b9d['t'](_0x84f510(0x2b9))+'\x20'+_0xbf58b3+'\x20'+_0x1c1b9d['t'](_0x84f510(0x1ab));}const _0x36f4c1=os(_0x499186),_0x14de7b=_0x36f4c1[_0x84f510(0x304)]===0x1?_0x1c1b9d['t'](_0x36f4c1[0x0]):''+_0x1c1b9d['t'](_0x36f4c1[0x0])+_0x1c1b9d['t']('editHistory.action.etc');return _0xdab03+'\x20'+_0x14de7b;};function os(_0x4a62fe){const _0x475d22=_0x1fbfe3;if(_0x4a62fe[_0x475d22(0x30b)][_0x475d22(0x304)]===0x0)return[''];const _0x371f7b=_0x475d22(0x19d),_0x2d85f6=_0x371f7b+_0x475d22(0x1c5),_0x2414f5=[{'id':_0x44819b['id'],'action':_0x371f7b+_0x475d22(0x1ed)},{'id':_0x164bcd['id'],'action':_0x371f7b+_0x475d22(0x181)},{'id':_0x11bbc4['id'],'action':_0x371f7b+_0x475d22(0x253)},{'id':_0x17758c['id'],'action':_0x371f7b+'removeSheet'},{'id':_0x2397b3['id'],'action':_0x371f7b+_0x475d22(0x1f0)},{'id':_0x4b44ae['id'],'action':_0x371f7b+'setFilter'},{'id':_0x25b3c0['id'],'action':_0x371f7b+_0x475d22(0x2b3)},{'id':_0x398de2['id'],'action':_0x371f7b+_0x475d22(0x2b3)},{'id':_0x482a92['id'],'action':_0x371f7b+_0x475d22(0x17d)},{'id':_0x2e6db0['id'],'action':_0x371f7b+_0x475d22(0x17d)},{'id':_0x13b180['id'],'action':_0x371f7b+_0x475d22(0x268)},{'id':_0x5a689c['id'],'action':_0x371f7b+_0x475d22(0x268)},{'id':_0x22c44e['id'],'action':_0x371f7b+_0x475d22(0x29c)},{'id':_0x5cb7a1['id'],'action':_0x371f7b+_0x475d22(0x2a5)},{'id':_0x261661['id'],'action':_0x371f7b+_0x475d22(0x2a5)}][_0x475d22(0x1df)](_0x1972f7=>_0x4a62fe[_0x475d22(0x30b)]['includes'](_0x1972f7['id']));return _0x2414f5!=null&&_0x2414f5[_0x475d22(0x304)]?_0x2414f5[_0x475d22(0x1e2)](_0x1cfb6c=>_0x1cfb6c[_0x475d22(0x307)]):[_0x2d85f6];}function ee(_0x4fc7ac,_0x5ea542){const _0x43ad76=_0x1fbfe3,[_0x210cd6,_0x24218f,_0x116009]=new Date()[_0x43ad76(0x175)]()[_0x43ad76(0x25a)]('T')[0x0]['split']('-'),[_0x3cc95f,_0xb406f3,_0x30d472]=_0x4fc7ac[_0x43ad76(0x25a)]('-'),_0x54c3ec=_0x210cd6===_0x3cc95f&&_0x24218f===_0xb406f3&&_0x116009===_0x30d472;let _0xf33b7d='',_0xab9327='',_0x4b69d4='';switch(_0x5ea542){case _0x43d6e4['ZH_CN']:return _0x54c3ec?'今天':(_0xf33b7d=_0x210cd6===_0x3cc95f?'':_0x3cc95f+'年',_0xab9327=_0xb406f3+'月',_0x4b69d4=_0x30d472+'日',''+_0xf33b7d+_0xab9327+_0x4b69d4);default:return _0x54c3ec?_0x43ad76(0x267):(_0xf33b7d=_0x210cd6===_0x3cc95f?'':_0x3cc95f+'-',_0xab9327=_0xb406f3+'-',_0x4b69d4=''+_0x30d472,''+_0xf33b7d+_0xab9327+_0x4b69d4);}}function cs(_0x395cc1){const _0x43afef=_0x1fbfe3;return _0x395cc1?_0x395cc1[_0x43afef(0x179)]((_0xd27505,_0x1bef94)=>{const _0x30c1a5=_0x43afef,_0x56333e=new Date(_0x1bef94[_0x30c1a5(0x2be)])[_0x30c1a5(0x175)]()[_0x30c1a5(0x25a)]('T')[0x0];return _0xd27505[_0x30c1a5(0x304)]>0x0&&_0xd27505[_0xd27505[_0x30c1a5(0x304)]-0x1][_0x30c1a5(0x173)]===_0x56333e?_0xd27505[_0xd27505[_0x30c1a5(0x304)]-0x1][_0x30c1a5(0x1ae)][_0x30c1a5(0x24e)](_0x1bef94):_0xd27505[_0x30c1a5(0x24e)]({'dateString':_0x56333e,'versions':[_0x1bef94]}),_0xd27505;},[]):[];}var ls=Object[_0x1fbfe3(0x256)],us=(_0x5f4f79,_0x3e3884,_0x1691a9,_0x18e01e)=>{for(var _0x5c6f27=_0x18e01e>0x1?void 0x0:_0x18e01e?ls(_0x3e3884,_0x1691a9):_0x3e3884,_0x4d1029=_0x5f4f79['length']-0x1,_0x529016;_0x4d1029>=0x0;_0x4d1029--)(_0x529016=_0x5f4f79[_0x4d1029])&&(_0x5c6f27=_0x529016(_0x5c6f27)||_0x5c6f27);return _0x5c6f27;},D=(_0x538a47,_0x5ec9a3)=>(_0x16f292,_0x1af85d)=>_0x5ec9a3(_0x16f292,_0x1af85d,_0x538a47);const _s=_0x1fbfe3(0x255);let Y=class extends _0x3970fc{constructor(_0x589619,_0xac6fae,_0x36283d,_0x5766e8,_0x1bc5f3,_0x288103){const _0x3b1882=_0x1fbfe3;super(),l(this,_0x3b1882(0x226),new Map()),(this['_snapshotServerService']=_0x589619,this['_univerInstanceService']=_0xac6fae,this[_0x3b1882(0x215)]=_0x36283d,this[_0x3b1882(0x198)]=_0x5766e8,this['_httpService']=_0x1bc5f3,this[_0x3b1882(0x235)]=_0x288103);}[_0x1fbfe3(0x2e0)](){const _0x31430f=_0x1fbfe3;this[_0x31430f(0x226)][_0x31430f(0x1ef)](),super['dispose']();}async[_0x1fbfe3(0x261)](_0x22d7d0,_0x310846){const _0x1cb622=_0x1fbfe3,_0x2c54cc=this[_0x1cb622(0x2d2)]()+'/'+_0x22d7d0+_0x1cb622(0x1fe)+(_0x310846?'&lastLabel='+_0x310846:'');try{const _0x1227f6=(await this[_0x1cb622(0x223)][_0x1cb622(0x290)](_0x2c54cc))[_0x1cb622(0x260)];if(_0x1227f6&&_0x1227f6['error']&&_0x1227f6['error']['code']===X['OK']){const {hasMore:_0x1cf895,lastLabel:_0x47035b}=_0x1227f6,_0x3cc0bc=hs(_0x1227f6),_0x184ffd=_0x1227f6[_0x1cb622(0x1a4)][_0x1cb622(0x176)];return{'hasMore':_0x1cf895,'lastLabel':_0x47035b,'versions':_0x3cc0bc,'members':_0x184ffd};}}catch(_0x21a208){console[_0x1cb622(0x1ee)](_0x21a208);}return null;}[_0x1fbfe3(0x2d2)](){const _0xbbb64e=_0x1fbfe3;var _0x3d3d27;const _0x36b429=this[_0xbbb64e(0x198)][_0xbbb64e(0x316)](we);return(_0x3d3d27=_0x36b429==null?void 0x0:_0x36b429['historyListServerUrl'])!=null?_0x3d3d27:_s;}async[_0x1fbfe3(0x180)](_0x302b87,_0x430cf8,_0x20ad8c){const _0x2f23fa=_0x1fbfe3;var _0xf4e4b1,_0x1e2c47;_0x20ad8c===void 0x0&&(_0x20ad8c={}),this[_0x2f23fa(0x226)]['has'](_0x302b87)||this[_0x2f23fa(0x226)]['set'](_0x302b87,new Map());const {snapshot:_0x2eca0c,changesets:_0x2c983c,error:_0x346b8b}=await this[_0x2f23fa(0x245)]['getUnitOnRev'](_0x20ad8c,{'unitID':_0x302b87,'type':F[_0x2f23fa(0x21a)],'revision':_0x430cf8});if(ns(_0x346b8b)||!_0x2eca0c||!_0x2eca0c[_0x2f23fa(0x295)])throw new Error('[HistoryFetchService]:\x20request\x20snapshot\x20error!');const _0x3c8874=(_0xf4e4b1=_0x2c983c==null?void 0x0:_0x2c983c[_0x2f23fa(0x304)])!=null?_0xf4e4b1:0x0;if(_0x430cf8!==0x0&&_0x2eca0c[_0x2f23fa(0x308)]+_0x3c8874!==_0x430cf8)throw new Error(_0x2f23fa(0x1fc));const {workbook:_0x47090b}=_0x2eca0c,_0x894329=_0x47090b[_0x2f23fa(0x1d8)]?Object[_0x2f23fa(0x2d0)](_0x47090b['blockMeta'])['map'](([_0x1b7dba,_0x56a827])=>{const _0x12991d=_0x2f23fa;var _0xff7638,_0x25e0bf;return(_0x25e0bf=(_0xff7638=_0x56a827['blocks'])==null?void 0x0:_0xff7638[_0x12991d(0x1e2)](_0x988871=>_0x988871))!=null?_0x25e0bf:[];})[_0x2f23fa(0x29f)]():[],_0x26eeaa=(await Promise[_0x2f23fa(0x2f9)](_0x894329[_0x2f23fa(0x1e2)](_0x592271=>this[_0x2f23fa(0x245)][_0x2f23fa(0x1ce)](_0x20ad8c,{'unitID':_0x302b87,'type':F[_0x2f23fa(0x21a)],'blockID':_0x592271})['then'](_0x142262=>_0x142262[_0x2f23fa(0x2e2)]))))[_0x2f23fa(0x1df)](_0x14aed1=>!!_0x14aed1),_0x2e91a8=_0x40158c(_0x2eca0c,_0x26eeaa,_0x20ad8c);return(_0x1e2c47=this[_0x2f23fa(0x226)]['get'](_0x302b87))==null||_0x1e2c47[_0x2f23fa(0x212)](_0x430cf8,{'workbook':_0x2e91a8}),new Promise(_0x35590f=>{const _0x1d1eb3=_0x2f23fa,_0x523f1a=this['_univerInstanceService'][_0x1d1eb3(0x2c2)](_0x384d1d['UNIVER_SHEET']);_0x523f1a?(this[_0x1d1eb3(0x291)][_0x1d1eb3(0x1e9)](_0x523f1a[_0x1d1eb3(0x1ac)]()),setTimeout(()=>{const _0x2c0d63=_0x1d1eb3;this[_0x2c0d63(0x192)](_0x2e91a8,_0x2c983c),_0x35590f(!0x0);},0x0)):(this[_0x1d1eb3(0x192)](_0x2e91a8,_0x2c983c),_0x35590f(!0x0));});}[_0x1fbfe3(0x192)](_0x7aca81,_0x1f029f){const _0x56d6ae=_0x1fbfe3,_0x219bca=this[_0x56d6ae(0x291)]['createUnit'](_0x384d1d[_0x56d6ae(0x21a)],_0x7aca81);this[_0x56d6ae(0x291)][_0x56d6ae(0x283)](_0x219bca['getUnitId']());const _0x4d705d=this[_0x56d6ae(0x235)][_0x56d6ae(0x1f8)][_0x56d6ae(0x1aa)](this[_0x56d6ae(0x235)][_0x56d6ae(0x1f8)][_0x56d6ae(0x208)]()['COMPRESS_MUTATION_APPLY']);return _0x1f029f==null||_0x1f029f[_0x56d6ae(0x25c)](_0x7ece22=>{const _0x1bb04d=_0x56d6ae,_0xad74de=_0x7ece22['mutations'][_0x1bb04d(0x1e2)](_0x48a443=>({'id':_0x48a443['id'],'params':JSON[_0x1bb04d(0x31b)](_0x48a443[_0x1bb04d(0x18d)])}));({..._0x7ece22,'mutations':_0x4d705d(_0xad74de,null)||_0xad74de}[_0x1bb04d(0x31c)][_0x1bb04d(0x25c)](_0x2ec76f=>{const _0xae13ff=_0x1bb04d;this['_commandService'][_0xae13ff(0x199)](_0x2ec76f['id'])&&this[_0xae13ff(0x215)]['syncExecuteCommand'](_0x2ec76f['id'],_0x2ec76f[_0xae13ff(0x232)]);}));}),_0x219bca;}};Y=us([D(0x0,_0x51cf3f),D(0x1,_0x1cb631),D(0x2,_0x4c6efd),D(0x3,_0xb9a432),D(0x4,_0xa84778(_0x5a7067)),D(0x5,_0xa84778(_0x5379f3))],Y);function hs(_0x55cdc0){const _0x10fc42=_0x1fbfe3;var _0x26d30d,_0x1761c5;const _0xb85fe1=[],{entities:_0x45c84d,historyIds:_0x62a83}=_0x55cdc0,{datas:_0x16d6ca,users:_0x4c34c8}=_0x45c84d;for(const _0x1cd887 of _0x62a83)if(_0x16d6ca[_0x1cd887]){const _0x1e5acb=!!((_0x26d30d=_0x4c34c8[_0x16d6ca[_0x1cd887]['userId']])!=null&&_0x26d30d[_0x10fc42(0x21d)]);_0xb85fe1[_0x10fc42(0x24e)]({'unitId':_0x16d6ca[_0x1cd887][_0x10fc42(0x26d)],'user':_0x1e5acb?'':((_0x1761c5=_0x4c34c8==null?void 0x0:_0x4c34c8[_0x16d6ca[_0x1cd887][_0x10fc42(0x246)]])==null?void 0x0:_0x1761c5['name'])||'','isAnonymous':_0x1e5acb,'id':_0x1cd887,'time':_0x16d6ca[_0x1cd887]['createTime']?Number(_0x16d6ca[_0x1cd887][_0x10fc42(0x2cd)]):void 0x0,'commands':_0x16d6ca[_0x1cd887][_0x10fc42(0x1f6)],'startRev':Number(_0x16d6ca[_0x1cd887][_0x10fc42(0x24a)]),'endRev':Number(_0x16d6ca[_0x1cd887][_0x10fc42(0x1e6)]),'recoverTime':_0x16d6ca[_0x1cd887][_0x10fc42(0x271)]?Number(_0x16d6ca[_0x1cd887][_0x10fc42(0x271)]):void 0x0});}return _0xb85fe1;}var ds=Object[_0x1fbfe3(0x256)],vs=(_0x226e4d,_0x434637,_0x2c241c,_0x34e2cf)=>{const _0x3ab577=_0x1fbfe3;for(var _0x1381e8=_0x34e2cf>0x1?void 0x0:_0x34e2cf?ds(_0x434637,_0x2c241c):_0x434637,_0x43158=_0x226e4d[_0x3ab577(0x304)]-0x1,_0x3f1cff;_0x43158>=0x0;_0x43158--)(_0x3f1cff=_0x226e4d[_0x43158])&&(_0x1381e8=_0x3f1cff(_0x1381e8)||_0x1381e8);return _0x1381e8;},V=(_0x3fb5f3,_0x3ab539)=>(_0x30e547,_0x290633)=>_0x3ab539(_0x30e547,_0x290633,_0x3fb5f3),ne=(_0x5227f0=>(_0x5227f0[_0x1fbfe3(0x20e)]=_0x1fbfe3(0x247),_0x5227f0[_0x1fbfe3(0x2ae)]='exited',_0x5227f0[_0x1fbfe3(0x229)]=_0x1fbfe3(0x1ee),_0x5227f0))(ne||{}),T=(_0x3594ba=>(_0x3594ba[_0x1fbfe3(0x184)]='init',_0x3594ba[_0x1fbfe3(0x325)]='loading',_0x3594ba['Loaded']=_0x1fbfe3(0x2a4),_0x3594ba))(T||{});const fs=_0x1fbfe3(0x2ca);let E=class extends _0x3970fc{constructor(_0x146a5c,_0x2bd019,_0x115f1b,_0x17360a){const _0x2d4486=_0x1fbfe3;super(),l(this,_0x2d4486(0x1b0),new _0x1147cb([])),l(this,'versions$',this[_0x2d4486(0x1b0)]['asObservable']()),l(this,_0x2d4486(0x288),new _0x1147cb('')),l(this,'currentVersion$',this[_0x2d4486(0x288)]['asObservable']()),l(this,_0x2d4486(0x2c9),new _0x1147cb(_0x2d4486(0x247))),l(this,'status$',this[_0x2d4486(0x2c9)][_0x2d4486(0x20f)]()),l(this,_0x2d4486(0x1d3),new _0x1147cb(0x0)),l(this,_0x2d4486(0x317),this[_0x2d4486(0x1d3)][_0x2d4486(0x20f)]()),l(this,'_unitId$',new _0x1147cb('')),l(this,_0x2d4486(0x1e0),this[_0x2d4486(0x2f1)]['asObservable']()),l(this,_0x2d4486(0x21f),!0x1),l(this,_0x2d4486(0x27c),new _0x1147cb(_0x2d4486(0x2dd))),l(this,'loadingState$',this[_0x2d4486(0x27c)][_0x2d4486(0x20f)]()),l(this,'_lastLabel',null),l(this,_0x2d4486(0x243),!0x0),l(this,_0x2d4486(0x2ab),new Map()),l(this,_0x2d4486(0x210)),l(this,_0x2d4486(0x241)),l(this,_0x2d4486(0x1f3)),l(this,_0x2d4486(0x239),!0x1),(this['_messageService']=_0x146a5c,this[_0x2d4486(0x24c)]=_0x2bd019,this[_0x2d4486(0x1a5)]=_0x115f1b,this[_0x2d4486(0x278)]=_0x17360a);}async[_0x1fbfe3(0x200)](_0x1cba37,_0x1c5050,_0x4a8122){const _0x3f56dd=_0x1fbfe3;this['_historyContainerId']=_0x1c5050,this['_canRevert']=_0x4a8122,this['_unitId$'][_0x3f56dd(0x2ac)](_0x1cba37),this['_fetching']=!0x0;const _0x4a073a=await this[_0x3f56dd(0x278)][_0x3f56dd(0x261)](_0x1cba37);if(this[_0x3f56dd(0x21f)]=!0x1,_0x4a073a){const {versions:_0x4689e5,lastLabel:_0x330913,hasMore:_0x26338d,members:_0xcc0fad}=_0x4a073a;_0x4689e5[_0x3f56dd(0x304)]===0x0&&_0x4689e5[_0x3f56dd(0x24e)]({'unitId':_0x1cba37,'id':fs,'startRev':0x1,'endRev':0x0,'time':Date[_0x3f56dd(0x311)](),'user':this['_localeService']['t'](_0x3f56dd(0x258)),'commands':[],'isAnonymous':!0x1}),this[_0x3f56dd(0x1bc)](_0x4689e5,_0x26338d,_0x330913,_0xcc0fad),this[_0x3f56dd(0x288)][_0x3f56dd(0x2ac)](_0x4689e5[0x0]['id']);}else this[_0x3f56dd(0x2c9)][_0x3f56dd(0x2ac)]('error');}async['loadMoreVersions'](){const _0x107983=_0x1fbfe3;if(!this['_lastLabel']||!this['_hasMore']||this[_0x107983(0x21f)])return!0x1;this[_0x107983(0x21f)]=!0x0;const _0x4d7e3e=await this[_0x107983(0x278)][_0x107983(0x261)](this['unitId'],this['_lastLabel']);if(this['_fetching']=!0x1,_0x4d7e3e){const {versions:_0x32e51c,lastLabel:_0x3cd7f4,hasMore:_0x5b08be,members:_0x476157}=_0x4d7e3e;this[_0x107983(0x1bc)](_0x32e51c,_0x5b08be,_0x3cd7f4,_0x476157);}else this[_0x107983(0x177)][_0x107983(0x249)]({'content':this['_localeService']['t']('editHistory.panel.listFetchError'),'type':_0x1b71c0[_0x107983(0x229)],'duration':0xbb8});return!0x0;}async['triggerLoadSheet'](_0x1afba9){const _0x1bc17e=_0x1fbfe3;var _0x2b88f6;const _0x412be1=(_0x2b88f6=this[_0x1bc17e(0x1b0)][_0x1bc17e(0x23c)])==null?void 0x0:_0x2b88f6[_0x1bc17e(0x1b6)](_0xfd23f3=>_0xfd23f3['id']===_0x1afba9),{endRev:_0x145c00}=_0x412be1||{};_0x145c00||_0x145c00===0x0?(this[_0x1bc17e(0x27c)][_0x1bc17e(0x2ac)]('loading'),await this['_historyFetchService']['loadSheet'](this[_0x1bc17e(0x26d)],_0x145c00),this['_loadingState$']['next'](_0x1bc17e(0x2a4))):this['_status$'][_0x1bc17e(0x2ac)](_0x1bc17e(0x1ee));}async[_0x1fbfe3(0x1cd)](_0x2e30c5){const _0x211721=_0x1fbfe3,_0xd0d6bd=_0x2e30c5?this[_0x211721(0x1d1)](_0x2e30c5):this['getCurrentVersion']();if(!_0xd0d6bd)return;const _0x35aa46=_0xd0d6bd[_0x211721(0x298)],_0x5a41c2=re(_0xd0d6bd[_0x211721(0x2be)],this[_0x211721(0x1a5)][_0x211721(0x310)]());await this[_0x211721(0x24c)][_0x211721(0x174)]({'id':_0x211721(0x2c4),'title':{'title':this[_0x211721(0x1a5)]['t']('editHistory.panel.revertConfirm')},'children':{'title':this[_0x211721(0x1a5)]['t'](_0x211721(0x17e))+_0x211721(0x284)+_0x5a41c2[_0x211721(0x265)]+'\x20'+_0x5a41c2[_0x211721(0x2be)]+')'},'cancelText':this[_0x211721(0x1a5)]['t'](_0x211721(0x262)),'confirmText':this[_0x211721(0x1a5)]['t'](_0x211721(0x320))})&&this[_0x211721(0x1d3)][_0x211721(0x2ac)](_0x35aa46);}['_updateVersions'](_0x331375,_0x16296d,_0x5f4d7f,_0x31dd4f){const _0x5e08d3=_0x1fbfe3;this[_0x5e08d3(0x1b0)][_0x5e08d3(0x2ac)](this['_versions$'][_0x5e08d3(0x23c)][_0x5e08d3(0x2a2)](_0x331375)),this['_hasMore']=_0x16296d,this[_0x5e08d3(0x2a6)]=_0x5f4d7f,_0x31dd4f&&Object[_0x5e08d3(0x1cc)](_0x31dd4f)[_0x5e08d3(0x25c)](_0x2afc2a=>this['_members'][_0x5e08d3(0x212)](_0x2afc2a,_0x31dd4f[_0x2afc2a]));}[_0x1fbfe3(0x263)](){const _0x4ff16d=_0x1fbfe3;return this['getVersion'](this['_currentVersion$'][_0x4ff16d(0x23c)]);}[_0x1fbfe3(0x1d1)](_0x326b71){const _0x24625b=_0x1fbfe3;var _0x377b1c;return(_0x377b1c=this['_versions$'][_0x24625b(0x23c)])==null?void 0x0:_0x377b1c['find'](_0x515bbd=>_0x515bbd['id']===_0x326b71);}[_0x1fbfe3(0x2ec)](_0x28050c){const _0xb4b1ba=_0x1fbfe3;return this[_0xb4b1ba(0x2ab)]['get'](_0x28050c);}[_0x1fbfe3(0x1ca)](){const _0x446fa5=_0x1fbfe3;this[_0x446fa5(0x1f3)]=document[_0x446fa5(0x2a9)](_0x446fa5(0x2a1)),this[_0x446fa5(0x1f3)][_0x446fa5(0x1b5)]='history-mask',this['_maskElement'][_0x446fa5(0x2b0)][_0x446fa5(0x1c0)]='absolute',this[_0x446fa5(0x1f3)][_0x446fa5(0x2b0)][_0x446fa5(0x23a)]='0',this[_0x446fa5(0x1f3)][_0x446fa5(0x2b0)][_0x446fa5(0x2bf)]='0',this['_maskElement']['style'][_0x446fa5(0x2dc)]=_0x446fa5(0x2c5),this[_0x446fa5(0x1f3)][_0x446fa5(0x2b0)][_0x446fa5(0x25d)]=_0x446fa5(0x2c5),this[_0x446fa5(0x1f3)][_0x446fa5(0x2b0)][_0x446fa5(0x1bf)]=_0x446fa5(0x191),this[_0x446fa5(0x1f3)][_0x446fa5(0x2b0)][_0x446fa5(0x29d)]=_0x446fa5(0x211),this[_0x446fa5(0x1f3)][_0x446fa5(0x2b0)][_0x446fa5(0x2fb)]='flex',this[_0x446fa5(0x1f3)][_0x446fa5(0x2b0)][_0x446fa5(0x2d7)]=_0x446fa5(0x20a),this[_0x446fa5(0x1f3)][_0x446fa5(0x2b0)][_0x446fa5(0x1ba)]=_0x446fa5(0x22a),this[_0x446fa5(0x1f3)][_0x446fa5(0x2b0)][_0x446fa5(0x2fb)]='none',this['_maskContainer']['append'](this[_0x446fa5(0x1f3)]);}[_0x1fbfe3(0x2cc)](){const _0x104c57=_0x1fbfe3;var _0x1c6618;const _0x2ca69b=(_0x1c6618=document[_0x104c57(0x313)](this['_historyContainerId']))==null?void 0x0:_0x1c6618[_0x104c57(0x17c)](_0x104c57(0x2f8));_0x2ca69b&&(this[_0x104c57(0x241)]=_0x2ca69b,this['_createMask']());}[_0x1fbfe3(0x1c2)](){const _0x26cdb3=_0x1fbfe3;this[_0x26cdb3(0x241)]||this[_0x26cdb3(0x2cc)](),this['_maskElement']&&(this['_maskElement'][_0x26cdb3(0x2b0)][_0x26cdb3(0x2fb)]=_0x26cdb3(0x214));}[_0x1fbfe3(0x2d3)](){const _0x2e76e1=_0x1fbfe3;this[_0x2e76e1(0x1f3)]&&(this['_maskElement'][_0x2e76e1(0x2b0)][_0x2e76e1(0x2fb)]='none');}set[_0x1fbfe3(0x1f5)](_0x4a2eef){const _0x3bf872=_0x1fbfe3;this[_0x3bf872(0x2c9)][_0x3bf872(0x2ac)](_0x4a2eef);}set[_0x1fbfe3(0x1a0)](_0x271323){const _0x542ae9=_0x1fbfe3;_0x271323!==this[_0x542ae9(0x288)][_0x542ae9(0x23c)]&&this[_0x542ae9(0x288)][_0x542ae9(0x2ac)](_0x271323);}get['currentVersion'](){const _0x485f88=_0x1fbfe3;return this[_0x485f88(0x288)][_0x485f88(0x23c)];}set[_0x1fbfe3(0x26d)](_0x2d70be){const _0x286401=_0x1fbfe3;this['_unitId$'][_0x286401(0x2ac)](_0x2d70be);}get['unitId'](){const _0x2ffa84=_0x1fbfe3;return this[_0x2ffa84(0x2f1)][_0x2ffa84(0x23c)];}get[_0x1fbfe3(0x18e)](){const _0x16ce84=_0x1fbfe3;return this[_0x16ce84(0x239)];}get['loadingState'](){const _0x32588e=_0x1fbfe3;return this[_0x32588e(0x27c)][_0x32588e(0x23c)];}};E=vs([V(0x0,_0x14bf7b),V(0x1,_0xe71a8d),V(0x2,_0xa84778(_0x343be2)),V(0x3,_0xa84778(Y))],E);var g=function(){const _0x432b64=_0x1fbfe3;return g=Object[_0x432b64(0x16e)]||function(_0x3531d8){const _0x142432=_0x432b64;for(var _0x43b993,_0x2bc1c6=0x1,_0x52192a=arguments[_0x142432(0x304)];_0x2bc1c6<_0x52192a;_0x2bc1c6++){_0x43b993=arguments[_0x2bc1c6];for(var _0xfe01be in _0x43b993)Object['prototype'][_0x142432(0x248)][_0x142432(0x1e8)](_0x43b993,_0xfe01be)&&(_0x3531d8[_0xfe01be]=_0x43b993[_0xfe01be]);}return _0x3531d8;},g[_0x432b64(0x2f5)](this,arguments);},ms=function(_0xcf21e6,_0xea8806){const _0x21a528=_0x1fbfe3;var _0x3511c1={};for(var _0x24b72e in _0xcf21e6)Object[_0x21a528(0x26f)][_0x21a528(0x248)][_0x21a528(0x1e8)](_0xcf21e6,_0x24b72e)&&_0xea8806['indexOf'](_0x24b72e)<0x0&&(_0x3511c1[_0x24b72e]=_0xcf21e6[_0x24b72e]);if(_0xcf21e6!=null&&typeof Object[_0x21a528(0x2df)]==_0x21a528(0x19b)){for(var _0x5efa75=0x0,_0x24b72e=Object[_0x21a528(0x2df)](_0xcf21e6);_0x5efa75<_0x24b72e[_0x21a528(0x304)];_0x5efa75++)_0xea8806[_0x21a528(0x257)](_0x24b72e[_0x5efa75])<0x0&&Object[_0x21a528(0x26f)]['propertyIsEnumerable']['call'](_0xcf21e6,_0x24b72e[_0x5efa75])&&(_0x3511c1[_0x24b72e[_0x5efa75]]=_0xcf21e6[_0x24b72e[_0x5efa75]]);}return _0x3511c1;},G=_0x464d4c(function(_0x4ba1df,_0x10b736){const _0x1a4b1d=_0x1fbfe3;var _0x59865a=_0x4ba1df['icon'],_0x439cd7=_0x4ba1df['id'],_0x4753e6=_0x4ba1df[_0x1a4b1d(0x1b5)],_0x3ad626=_0x4ba1df[_0x1a4b1d(0x26e)],_0x7fbf49=ms(_0x4ba1df,[_0x1a4b1d(0x231),'id',_0x1a4b1d(0x1b5),_0x1a4b1d(0x26e)]),_0x5b5024='univerjs-icon\x20univerjs-icon-'[_0x1a4b1d(0x2a2)](_0x439cd7,'\x20')[_0x1a4b1d(0x2a2)](_0x4753e6||'')[_0x1a4b1d(0x2bc)](),_0x4fc83d=_0x18baab('_'[_0x1a4b1d(0x2a2)](gs()));return Pe(_0x59865a,''['concat'](_0x439cd7),{'defIds':_0x59865a[_0x1a4b1d(0x2e4)],'idSuffix':_0x4fc83d[_0x1a4b1d(0x19e)]},g({'ref':_0x10b736,'className':_0x5b5024},_0x7fbf49),_0x3ad626);});function Pe(_0x3ec23c,_0x1770c8,_0x43109f,_0x4b08e6,_0x112102){const _0x4f6d3f=_0x1fbfe3;return _0x537a70(_0x3ec23c[_0x4f6d3f(0x186)],g(g({'key':_0x1770c8},Is(_0x3ec23c,_0x43109f,_0x112102)),_0x4b08e6),(Ss(_0x3ec23c,_0x43109f)[_0x4f6d3f(0x318)]||[])[_0x4f6d3f(0x1e2)](function(_0x2bbac3,_0x2ad19b){const _0x641d5c=_0x4f6d3f;return Pe(_0x2bbac3,''['concat'](_0x1770c8,'-')['concat'](_0x3ec23c[_0x641d5c(0x186)],'-')[_0x641d5c(0x2a2)](_0x2ad19b),_0x43109f,void 0x0,_0x112102);}));}function Is(_0x9a528,_0x5959cb,_0x5f584b){const _0xb3fa4a=_0x1fbfe3;var _0x3fa7e8=g({},_0x9a528[_0xb3fa4a(0x166)]);_0x5f584b!=null&&_0x5f584b[_0xb3fa4a(0x29a)]&&_0x3fa7e8[_0xb3fa4a(0x23b)]===_0xb3fa4a(0x29a)&&(_0x3fa7e8[_0xb3fa4a(0x23b)]=_0x5f584b[_0xb3fa4a(0x29a)]),_0x9a528['tag']==='mask'&&_0x3fa7e8['id']&&(_0x3fa7e8['id']=_0x3fa7e8['id']+_0x5959cb['idSuffix']),Object['entries'](_0x3fa7e8)['forEach'](function(_0x15a274){const _0x58cc61=_0xb3fa4a;var _0x17f7e2=_0x15a274[0x0],_0x513826=_0x15a274[0x1];_0x17f7e2===_0x58cc61(0x17f)&&typeof _0x513826==_0x58cc61(0x2b2)&&(_0x3fa7e8[_0x17f7e2]=_0x513826['replace'](/url\(#(.*)\)/,_0x58cc61(0x170)[_0x58cc61(0x2a2)](_0x5959cb[_0x58cc61(0x25e)],')')));});var _0x10d9bf=_0x5959cb['defIds'];return!_0x10d9bf||_0x10d9bf[_0xb3fa4a(0x304)]===0x0||(_0x9a528['tag']===_0xb3fa4a(0x2da)&&_0x3fa7e8[_0xb3fa4a(0x17b)]&&(_0x3fa7e8['xlink:href']=_0x3fa7e8[_0xb3fa4a(0x17b)]+_0x5959cb['idSuffix']),Object[_0xb3fa4a(0x2d0)](_0x3fa7e8)[_0xb3fa4a(0x25c)](function(_0x2d913c){const _0x593f60=_0xb3fa4a;var _0x36ddbd=_0x2d913c[0x0],_0x3b8fde=_0x2d913c[0x1];typeof _0x3b8fde==_0x593f60(0x2b2)&&(_0x3fa7e8[_0x36ddbd]=_0x3b8fde[_0x593f60(0x293)](/url\(#(.*)\)/,_0x593f60(0x170)['concat'](_0x5959cb[_0x593f60(0x25e)],')')));})),_0x3fa7e8;}function _0x2c88(_0x54822b,_0x431ef4){const _0x75ec8d=_0x75ec();return _0x2c88=function(_0x2c88a3,_0x4a6a0b){_0x2c88a3=_0x2c88a3-0x166;let _0x278dd6=_0x75ec8d[_0x2c88a3];return _0x278dd6;},_0x2c88(_0x54822b,_0x431ef4);}function Ss(_0x15dd70,_0x104fa4){const _0x4d898e=_0x1fbfe3;var _0x145965,_0x260c2f=_0x104fa4['defIds'];return!_0x260c2f||_0x260c2f[_0x4d898e(0x304)]===0x0?_0x15dd70:_0x15dd70[_0x4d898e(0x186)]===_0x4d898e(0x299)&&(!((_0x145965=_0x15dd70[_0x4d898e(0x318)])===null||_0x145965===void 0x0)&&_0x145965[_0x4d898e(0x304)])?g(g({},_0x15dd70),{'children':_0x15dd70[_0x4d898e(0x318)][_0x4d898e(0x1e2)](function(_0x48e7d5){const _0x4811d1=_0x4d898e;return typeof _0x48e7d5['attrs']['id']=='string'&&_0x260c2f&&_0x260c2f[_0x4811d1(0x1d2)](_0x48e7d5[_0x4811d1(0x166)]['id'])?g(g({},_0x48e7d5),{'attrs':g(g({},_0x48e7d5[_0x4811d1(0x166)]),{'id':_0x48e7d5['attrs']['id']+_0x104fa4[_0x4811d1(0x25e)]})}):_0x48e7d5;})}):_0x15dd70;}function gs(){const _0x43dbe4=_0x1fbfe3;return Math['random']()[_0x43dbe4(0x26b)](0x24)[_0x43dbe4(0x30e)](0x2,0x8);}G[_0x1fbfe3(0x312)]=_0x1fbfe3(0x1dd);var ps={'tag':'svg','attrs':{'xmlns':_0x1fbfe3(0x281),'fill':_0x1fbfe3(0x280),'viewBox':_0x1fbfe3(0x187),'width':'1em','height':_0x1fbfe3(0x194)},'children':[{'tag':_0x1fbfe3(0x178),'attrs':{'fill':_0x1fbfe3(0x1fb),'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=_0x464d4c(function(_0x1e67ca,_0x5ec8b5){const _0x2d54f3=_0x1fbfe3;return _0x537a70(G,Object[_0x2d54f3(0x16e)]({},_0x1e67ca,{'id':'back-icon','ref':_0x5ec8b5,'icon':ps}));});Te[_0x1fbfe3(0x312)]=_0x1fbfe3(0x30f);var Es={'tag':_0x1fbfe3(0x2e7),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x1fbfe3(0x187),'width':_0x1fbfe3(0x194),'height':_0x1fbfe3(0x194)},'children':[{'tag':_0x1fbfe3(0x178),'attrs':{'fill':'#0B9EFB','d':_0x1fbfe3(0x2ff),'fillOpacity':0.2,'fillRule':_0x1fbfe3(0x217),'clipRule':'evenodd'}},{'tag':'path','attrs':{'fill':_0x1fbfe3(0x2d8),'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':_0x1fbfe3(0x217),'clipRule':_0x1fbfe3(0x217)}}]},ae=_0x464d4c(function(_0x25fd23,_0x5c8415){const _0x2a2a6f=_0x1fbfe3;return _0x537a70(G,Object[_0x2a2a6f(0x16e)]({},_0x25fd23,{'id':_0x2a2a6f(0x28e),'ref':_0x5c8415,'icon':Es}));});function _0x75ec(){const _0x46cdeb=['values','YUUMI_ALL_TABLES_IS_INVALID','editSheet','_initPanel','DeleteWorksheet','Loaded','Filter','_createMask','DeleteRow','keys','triggerRevert','getDeserializedSheetBlock','VIEW_MAIN','getRelativeToViewportCoord','getVersion','includes','_revertRevision$','10667713USmjab','getMinutes','MOBILE_HAS_BEEN_BOUND','INVALID_ARGUMENT','blockMeta','_context','UNIVER_UNKNOWN','cellValue','TOO_MANY_REQUESTS','UniverIcon','ZH_CN','filter','unitId$','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-pl-5\x20univer-text-sm\x20univer-font-medium\x20univer-text-[#1e222b]','map','InsertRow','changesets','SetWorksheetStyle','endRevision','subscribeEvent','call','disposeUnit','stopPropagation','onPointerMove$','HideSheet','createSheet','error','clear','setFrozen','DeleteSheet','closeAll','_maskElement','open','status','command','UNAUTHENTICATED','interceptor','SetCellStyle','ranges','currentColor','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','ViewFilter','/list?length=20','CONNECTOR_DATA_TOO_LARGE','triggerLoadVersions','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','PY_RUNTIME_SCRIPT_ERROR','editHistory.panel.title','1157507GTArim','subscribe','_diffs','HEADER','getInterceptPoints','UNIVER_PROJECT','center','user','startColumn','_removeDiffMarks','Entered','asObservable','_historyContainerId','white','set','getViewport','flex','_commandService','register','evenodd','Sort','loadMoreVersions','UNIVER_SHEET','2346024zKyBLg','_lastPointer','anonymous','versions$','_fetching','univer-animate-spin','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','add','_httpService','editHistory.panel.currentVersion','code','_workbookDataCache','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','Error','1000','480972ckqwCD','_sidebarService','PERMISSION_DENIED','scrollEvent$','name','disposeWithMe','icon','params','endColumn','MoveWorksheet','_compressMutationService','_init','has','univer-m-auto\x20univer-animate-spin','_canRevert','top','fill','value','span','INTERNAL_ERROR','defineProperty','1996584BcxoPp','_maskContainer','INVITE_CODE_REQUIRED','_hasMore','_uiPartsService','_snapshotServerService','userId','entered','hasOwnProperty','show','startRevision','SNAPSHOT_HAS_BEEN_REMOVED','_confirmService','state$','push','rules','currentSkeleton$','SelectProtectedCells','0\x200\x2016\x2017','insertSheet','currentVersionDiff$','/universer-api/history','getOwnPropertyDescriptor','indexOf','editHistory.panel.currentUser','MoveSheet','split','getHours','forEach','height','idSuffix','4267176IABMzP','body','getVersions','editHistory.panel.cancel','getCurrentVersion','FromArray','date','DeleteColumn','Today','addProtection','WECHAT_HAS_BEEN_BOUND','getCellPositionByOffset','toString','_openPanel','unitId','extend','prototype','edit-history-viewer.config','recoverTime','UNDEFINED','_transformMutationByOrder','YUUMI_AI_RUN_FAILED','active','editHistory.info.loading','MOBILE_VERIFY_CODE_MISMATCH','_historyFetchService','ensureVersion','rgba(58,\x2096,\x20247,\x200.20)','url(#restore-icon_clip0_1247_2)','_loadingState$','ManageCollaborator','from','View','none','http://www.w3.org/2000/svg','editHistory.header.revert','focusUnit',':\x20(','updatePermissionPoint','range','Duplicate','_currentVersion$','_componentManager','SNAPSHOT_INVALID_SNAPSHOT','ViewHistory','univer-text-2xl','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','loading-multi-icon','HideWorksheet','get','_univerInstanceService','loadingState','replace','CreatePermissionObject','workbook','startRow','FloatImg','endRev','defs','colorChannel1','YUUMI_UNABLE_LOAD_URL','addSparkline','color','triggerLoadSheet','flat','PivotTable','div','concat','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','loaded','deleteProtection','_lastLabel','APPLY_DUPLICATED','LICENSE_MAX_UNITS_EXCEEDED','createElement','pipe','_members','next','EMAIL_HAS_BEEN_BOUND','Exited','Print','style','_versionDiffService','string','setDV','SetCellValue','univer-mx-[-20px]\x20univer-overflow-hidden','setValue','UNIVER_SLIDE','pluginName','editHistory.action.revertSheetPrefix','_injector','_dialogOptions$','trim','EMAIL_VERIFY_CODE_MISMATCH','time','left','univer-ml-2.5\x20univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20hover:univer-bg-[rgba(30,34,43,0.06)]','ALREADY_EXISTS','getCurrentUnitForType','getDataRange','confirm-revert-revision','100%','memberId','Comment','YUUMI_SUBSCRIPTION_NOT_FOUND','_status$','VIRTUAL_VERSION_NOW','Delete','_initMaskContainer','createTime','_cellEditorManagerService','_getActiveSubUnitId','entries','NOT_FOUND','_getAPIPrefix','hideMask','USER_NOT_INVITED_CODE','Share','EditWorksheetCell','justifyContent','#0B9EFB','RecoverHistory','use','INVALID_INVITE_CODE','width','init','close','getOwnPropertySymbols','dispose','bottom','block','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','defIds','_initRender','UNIVER_DOC','svg','sheetId','getCurrent','_permissionService','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','getMember','1644235oQGmGa','APPLY_REJECT','currentVersion$','SetColumnStyle','_unitId$','_sidebarDisposable','YUUMI_NO_CUBOID_FOR_QUESTION','userID','apply','ENSURE_SNAPSHOT_EXECUTION','_initActiveSwitch','.univer-app-container-content','all','History','display','restore-icon_clip0_1247_2','permissionPointUpdate$','APPLY_PERMISSION_DENIED','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','merge','makeDirty','getDialogs$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','length','loadingState$','m1Prime','action','rev','CreateWorksheet','getAncestorScale','commands','univer-pl-[26px]\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','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','substring','BackIcon','getCurrentLocale','now','displayName','getElementById','registerComponent','RenameWorksheet','getConfig','revertRevision$','children','rule','ViemRwHgtClWdt','parse','mutations','registerRenderModule','CopySheet','subType','editHistory.panel.confirm','RestoreIcon','_sheetSkeletonManagerService','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','editHistory.panel.revertDesc','Loading','YUUMI_RATE_OVER_LIMIT','attrs','_getRangesByMutation','SelectUnProtectedCells','INVITE_CODE_ALREADY_BOUND','APPLY_NON_SEQUENTIAL_REVISION','univer-text-gray-500','RenameSheet','RwHgtClWdt','assign','_combineRanges','url(#$1','_diffRangesMap','_historyManagerService','dateString','confirm','toISOString','users','_messageService','path','reduce','_transformService','xlink:href','querySelector','setCF','editHistory.panel.revertConfirmText','mask','loadSheet','revertSheet','Info','sheet','Init','UNRECOGNIZED','tag','0\x200\x2016\x2016','transformMutations','InsertHyperlink','_currentVersionDiff$','clipPath','endRow','data','canRevert','setConfig','LOGIN_FAILED','rgba(225,\x20225,\x20225,\x200.5)','_createUnit','Copy','1em','_extractRanges','subUnitId','forValue','_configService','hasCommand','_config','function','isArray','editHistory.action.','current','_updateDiffMarks','currentVersion','fetchMissingChangesets','_renderManagerService','CHANGESET_REVISION_CONFILICT','entities','_localeService','YUUMI_ASYNCIO_CANCELLED','hidden','InsertColumn','univer-flex\x20univer-h-[60px]\x20univer-cursor-default\x20univer-flex-col\x20univer-justify-center\x20univer-px-4\x20univer-py-1.5','fetchThroughInterceptors','editHistory.action.revertSheetSuffix','getUnitId','univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-400','versions','LICENSE_EXPORT_SIZE_EXCEEDED','_versions$','univer-flex\x20univer-items-center\x20univer-justify-center','Export','addObjects','Edit','className','find','SetRowStyle','APPLY_REVISION_CONFILICT','some','zIndex','executeCommand','_updateVersions','LICENSE_IMPORT_SIZE_EXCEEDED','onRendered','backgroundColor','position','EditExtraObject','showMask'];_0x75ec=function(){return _0x46cdeb;};return _0x75ec();}ae[_0x1fbfe3(0x312)]='LoadingMultiIcon';var Rs={'tag':_0x1fbfe3(0x2e7),'attrs':{'xmlns':_0x1fbfe3(0x281),'fill':_0x1fbfe3(0x280),'viewBox':_0x1fbfe3(0x252),'width':_0x1fbfe3(0x194),'height':_0x1fbfe3(0x194)},'children':[{'tag':'g','attrs':{'fill':_0x1fbfe3(0x1fb),'clipPath':_0x1fbfe3(0x27b)},'children':[{'tag':_0x1fbfe3(0x178),'attrs':{'d':_0x1fbfe3(0x2eb)}},{'tag':_0x1fbfe3(0x178),'attrs':{'d':_0x1fbfe3(0x221),'fillRule':_0x1fbfe3(0x217),'clipRule':_0x1fbfe3(0x217)}}]},{'tag':_0x1fbfe3(0x299),'attrs':{},'children':[{'tag':_0x1fbfe3(0x18b),'attrs':{'id':_0x1fbfe3(0x2fc)},'children':[{'tag':'rect','attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x1fbfe3(0x211),'rx':0x4}}]}]}],'defIds':[_0x1fbfe3(0x2fc)]},Le=_0x464d4c(function(_0x16cd02,_0x5be95c){return _0x537a70(G,Object['assign']({},_0x16cd02,{'id':'restore-icon','ref':_0x5be95c,'icon':Rs}));});Le['displayName']=_0x1fbfe3(0x321);function Os(){const _0x21e604=_0x1fbfe3;var _0x53b5fd;const _0x2878d6=_0xf02295(E),_0x295839=_0xf02295(_0x343be2),_0x51c028=_0x1b1709(()=>{const _0x46d366=_0x2c88;_0x2878d6[_0x46d366(0x1f5)]=ne['Exited'];},[_0x2878d6]),_0x109286=_0x1b1709(()=>{const _0x2fbdbc=_0x2c88;_0x2878d6[_0x2fbdbc(0x1cd)]();},[_0x2878d6]),_0x46852a=_0x57b9ca(_0x2878d6[_0x21e604(0x2ef)]),_0x5baecd=_0x57b9ca(_0x2878d6[_0x21e604(0x21e)]),_0x179871=_0x46852a===((_0x53b5fd=_0x5baecd==null?void 0x0:_0x5baecd[0x0])==null?void 0x0:_0x53b5fd['id']),_0x996ac6=_0x46852a!==''&&!_0x179871&&_0x2878d6['canRevert'];return _0x4ba140(_0x21e604(0x2a1),{'className':_0x2e2861(_0x21e604(0x28d),_0x2984ef),'children':[_0x333879(_0x21e604(0x2a1),{'onClick':_0x51c028,'className':_0x21e604(0x2c0),'children':_0x333879(Te,{'className':_0x21e604(0x28c)})}),_0x333879(_0x21e604(0x2a1),{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','children':_0x996ac6&&_0x333879(_0x2afba5,{'variant':'primary','onClick':_0x109286,'children':_0x295839['t'](_0x21e604(0x282))})})]});}var Ms=Object[_0x1fbfe3(0x256)],Ns=(_0x36e512,_0x530277,_0x205ece,_0x3ef8ff)=>{for(var _0x30b2c7=_0x3ef8ff>0x1?void 0x0:_0x3ef8ff?Ms(_0x530277,_0x205ece):_0x530277,_0x4e1402=_0x36e512['length']-0x1,_0x5e6c9e;_0x4e1402>=0x0;_0x4e1402--)(_0x5e6c9e=_0x36e512[_0x4e1402])&&(_0x30b2c7=_0x5e6c9e(_0x30b2c7)||_0x30b2c7);return _0x30b2c7;},y=(_0x323bee,_0x4790ac)=>(_0x57eac1,_0x38bf1c)=>_0x4790ac(_0x57eac1,_0x38bf1c,_0x323bee);let B=class extends _0x3970fc{constructor(_0x148a6f,_0x3108ba,_0x5cbb90,_0x152cbf,_0x2e5c45,_0x163300){const _0x4fd76a=_0x1fbfe3;super(),this['_permissionService']=_0x148a6f,this[_0x4fd76a(0x244)]=_0x3108ba,this[_0x4fd76a(0x177)]=_0x5cbb90,this[_0x4fd76a(0x1a5)]=_0x152cbf,this[_0x4fd76a(0x172)]=_0x2e5c45,this[_0x4fd76a(0x2ba)]=_0x163300,this['_init']();}[_0x1fbfe3(0x236)](){const _0x352292=_0x1fbfe3;this[_0x352292(0x230)](this[_0x352292(0x172)]['currentVersion$'][_0x352292(0x205)](_0x28384e=>{const _0xb6c636=_0x352292;_0x28384e&&this[_0xb6c636(0x172)][_0xb6c636(0x29e)](_0x28384e);})),this[_0x352292(0x230)](this[_0x352292(0x2ea)][_0x352292(0x2fd)]['subscribe'](_0x4e9870=>{const _0x43ce47=_0x352292,_0x28ae0e=this[_0x43ce47(0x172)][_0x43ce47(0x26d)];_0x28ae0e&&(_0x4e9870[_0x43ce47(0x31f)]===b[_0x43ce47(0x1b4)]&&_0x4e9870[_0x43ce47(0x23c)]===!0x0&&this[_0x43ce47(0x2ea)][_0x43ce47(0x285)](new _0x389270(_0x28ae0e)['id'],!0x1),_0x4e9870[_0x43ce47(0x31f)]===b[_0x43ce47(0x16c)]&&_0x4e9870[_0x43ce47(0x23c)]===!0x0&&this['_permissionService'][_0x43ce47(0x285)](new _0x1184a9(_0x28ae0e)['id'],!0x1),_0x4e9870['subType']===b['MoveSheet']&&_0x4e9870[_0x43ce47(0x23c)]===!0x0&&this[_0x43ce47(0x2ea)][_0x43ce47(0x285)](new _0x4d9bb6(_0x28ae0e)['id'],!0x1),_0x4e9870[_0x43ce47(0x31f)]===b[_0x43ce47(0x1ec)]&&_0x4e9870[_0x43ce47(0x23c)]===!0x0&&this[_0x43ce47(0x2ea)][_0x43ce47(0x285)](new _0x36baf0(_0x28ae0e)['id'],!0x1),_0x4e9870[_0x43ce47(0x31f)]===b[_0x43ce47(0x2c7)]&&_0x4e9870[_0x43ce47(0x23c)]===!0x0&&this[_0x43ce47(0x2ea)][_0x43ce47(0x285)](new _0x389270(_0x28ae0e)['id'],!0x1),_0x4e9870[_0x43ce47(0x31f)]===b[_0x43ce47(0x297)]&&_0x4e9870[_0x43ce47(0x23c)]===!0x0&&this['_permissionService'][_0x43ce47(0x285)](new _0x389270(_0x28ae0e)['id'],!0x1));})),this['disposeWithMe'](this[_0x352292(0x244)][_0x352292(0x314)](_0x3e007e[_0x352292(0x207)],()=>_0x2d34ce(Os,this[_0x352292(0x2ba)]))),this['disposeWithMe'](this[_0x352292(0x172)][_0x352292(0x305)][_0x352292(0x205)](_0xa5765=>{const _0x4f3cd3=_0x352292;_0xa5765===T[_0x4f3cd3(0x325)]&&(this[_0x4f3cd3(0x172)]['showMask'](),this[_0x4f3cd3(0x177)][_0x4f3cd3(0x249)]({'type':_0x1b71c0[_0x4f3cd3(0x182)],'content':this[_0x4f3cd3(0x1a5)]['t'](_0x4f3cd3(0x276))})),_0xa5765===T[_0x4f3cd3(0x1c8)]&&this[_0x4f3cd3(0x172)][_0x4f3cd3(0x2d3)]();}));}};B=Ns([y(0x0,_0x173fc9),y(0x1,_0x1256ba),y(0x2,_0x14bf7b),y(0x3,_0xa84778(_0x343be2)),y(0x4,_0xa84778(E)),y(0x5,_0xa84778(_0x3bfcdd))],B);var bs=Object[_0x1fbfe3(0x256)],Ds=(_0x10bfca,_0x2e70d6,_0x3a570e,_0x470bb4)=>{const _0x930eb2=_0x1fbfe3;for(var _0x354832=_0x470bb4>0x1?void 0x0:_0x470bb4?bs(_0x2e70d6,_0x3a570e):_0x2e70d6,_0x28613e=_0x10bfca[_0x930eb2(0x304)]-0x1,_0x22476c;_0x28613e>=0x0;_0x28613e--)(_0x22476c=_0x10bfca[_0x28613e])&&(_0x354832=_0x22476c(_0x354832)||_0x354832);return _0x354832;},Q=(_0x2e8851,_0x2345a7)=>(_0x3b60e8,_0x1d196d)=>_0x2345a7(_0x3b60e8,_0x1d196d,_0x2e8851);let $=class extends _0x3970fc{constructor(_0x343d53,_0x222e92,_0x3d04a8){const _0x292303=_0x1fbfe3;super(),l(this,_0x292303(0x171),new Map()),l(this,_0x292303(0x18a),new _0x1147cb({'ranges':new Map(),'active':null})),l(this,_0x292303(0x254),this[_0x292303(0x18a)][_0x292303(0x20f)]()),(this['_historyManagerService']=_0x343d53,this[_0x292303(0x17a)]=_0x222e92,this[_0x292303(0x245)]=_0x3d04a8,this[_0x292303(0x236)]());}[_0x1fbfe3(0x236)](){const _0x3d6f7c=_0x1fbfe3;this['_diffRangesMap']=new Map(),this[_0x3d6f7c(0x230)](this[_0x3d6f7c(0x172)]['unitId$']['subscribe'](_0x43dd0d=>{const _0x3b92b3=_0x3d6f7c;_0x43dd0d&&!this[_0x3b92b3(0x171)]['has'](_0x43dd0d)&&this[_0x3b92b3(0x171)]['set'](_0x43dd0d,new Map());})),this['disposeWithMe'](this[_0x3d6f7c(0x172)][_0x3d6f7c(0x2ef)]['subscribe'](async _0x6aa70b=>{const _0x5012e1=_0x3d6f7c;var _0x4d6047;_0x6aa70b&&(await this[_0x5012e1(0x279)](_0x6aa70b),this[_0x5012e1(0x18a)]['next'](((_0x4d6047=this[_0x5012e1(0x171)]['get'](this[_0x5012e1(0x172)]['unitId']))==null?void 0x0:_0x4d6047['get'](_0x6aa70b))||{'ranges':new Map(),'active':null}));}));}async[_0x1fbfe3(0x279)](_0x18aea1){const _0x2c55c3=_0x1fbfe3;var _0x328381,_0x4284e4;const _0x4126f0=this[_0x2c55c3(0x172)][_0x2c55c3(0x1d1)](_0x18aea1),_0x2d1870=this['_historyManagerService'][_0x2c55c3(0x26d)];if(!_0x4126f0||!_0x2d1870)return;const _0x46fdc9=this[_0x2c55c3(0x171)]['get'](_0x2d1870);if(_0x46fdc9||this[_0x2c55c3(0x171)]['set'](_0x2d1870,new Map()),(_0x328381=this[_0x2c55c3(0x171)]['get'](_0x2d1870))!=null&&_0x328381[_0x2c55c3(0x237)](_0x4126f0['id']))return;const {startRev:_0x29fd44,endRev:_0x1e5588}=_0x4126f0;if(_0x29fd44===0x1){_0x46fdc9[_0x2c55c3(0x212)](_0x4126f0['id'],{'ranges':new Map(),'active':null});return;}const _0x56812d=_0x29fd44-0x1,_0x19d4fc=_0x1e5588,_0x10729e=await this[_0x2c55c3(0x245)][_0x2c55c3(0x1a1)]({},{'unitID':_0x2d1870,'from':_0x56812d,'to':_0x19d4fc,'type':F['UNIVER_SHEET']});if(((_0x4284e4=_0x10729e['error'])==null?void 0x0:_0x4284e4[_0x2c55c3(0x225)])===X['OK']){const _0x3d910a=_0x10729e[_0x2c55c3(0x1e4)][_0x2c55c3(0x1e2)](_0x3f80bf)[_0x2c55c3(0x1e2)](_0x4ec8d0=>_0x4ec8d0['mutations']['map'](_0x2e42a8=>({..._0x2e42a8,'params':{..._0x2e42a8[_0x2c55c3(0x232)],'memberId':_0x4ec8d0[_0x2c55c3(0x2f4)]}})))[_0x2c55c3(0x29f)](),_0x172bac=this[_0x2c55c3(0x273)](_0x3d910a),_0x37c34b=this[_0x2c55c3(0x2cf)](_0x3d910a),_0x291763=this['_extractRanges'](_0x172bac);_0x46fdc9['set'](_0x4126f0['id'],{'ranges':_0x291763,'active':_0x37c34b});}}[_0x1fbfe3(0x273)](_0x15280b){const _0x2e08fa=_0x1fbfe3;let _0x12e2c8=[];for(let _0x5b02cb=0x0;_0x5b02cb<_0x15280b[_0x2e08fa(0x304)];_0x5b02cb++){const _0x2cc305=_0x15280b[_0x5b02cb];if(_0x12e2c8['push'](_0x2cc305),_0x5b02cb!==_0x15280b[_0x2e08fa(0x304)]-0x1){const _0x3ae914=_0x15280b[_0x5b02cb+0x1],_0x5b4922=this['_transformService'][_0x2e08fa(0x188)](_0x12e2c8,[_0x3ae914]);_0x403313(_0x5b4922)?_0x12e2c8=_0x5b4922[_0x2e08fa(0x306)]:_0x12e2c8=[];}}return _0x12e2c8;}[_0x1fbfe3(0x2cf)](_0x1bd4d6){const _0x1c1ddc=_0x1fbfe3;let _0x49fd89=[];return _0x1bd4d6['forEach'](_0x5d90fd=>{const _0x2562b8=_0x2c88;if(_0x5d90fd['id']===_0x11bbc4['id']){const _0x12e37b=_0x5d90fd['params'];_0x49fd89['push'](_0x12e37b[_0x2562b8(0x183)]['id']);}else{if(_0x5d90fd['id']===_0x17758c['id']){const _0x16ffcc=_0x5d90fd['params'];_0x49fd89[_0x2562b8(0x304)]>0x0&&(_0x49fd89=_0x49fd89['filter'](_0x1979ca=>_0x1979ca!==_0x16ffcc[_0x2562b8(0x196)]));}else{if(_0x5d90fd['id']===_0x573de6['id']){const _0x1fc3d4=_0x5d90fd[_0x2562b8(0x232)];_0x1fc3d4[_0x2562b8(0x1a7)]?_0x49fd89=_0x49fd89['filter'](_0x1b4aca=>_0x1b4aca!==_0x1fc3d4['subUnitId']):_0x49fd89[_0x2562b8(0x24e)](_0x1fc3d4[_0x2562b8(0x196)]);}else{const _0x3f9d77=_0x5d90fd[_0x2562b8(0x232)];_0x3f9d77[_0x2562b8(0x196)]&&_0x49fd89[_0x2562b8(0x24e)](_0x3f9d77[_0x2562b8(0x196)]);}}}}),_0x49fd89[_0x1c1ddc(0x304)]>0x0?_0x49fd89[_0x49fd89['length']-0x1]:null;}[_0x1fbfe3(0x195)](_0x5c6777){const _0x239f1d=_0x1fbfe3,_0x444500=new Map();return _0x5c6777[_0x239f1d(0x25c)](_0x5dfd99=>{const _0x53203f=_0x239f1d;var _0xfc7727,_0x1cd9d8;const _0x573c65=(_0xfc7727=_0x5dfd99[_0x53203f(0x232)])==null?void 0x0:_0xfc7727[_0x53203f(0x2c6)];if(_0x573c65){_0x444500[_0x53203f(0x237)](_0x573c65)||_0x444500[_0x53203f(0x212)](_0x573c65,[]);const _0xa20e81=this[_0x53203f(0x167)](_0x5dfd99);(_0x1cd9d8=_0x444500[_0x53203f(0x290)](_0x573c65))==null||_0x1cd9d8[_0x53203f(0x24e)](..._0xa20e81);}}),_0x444500['forEach']((_0xa2a17e,_0x599717)=>{const _0x1101d7=_0x239f1d;_0x444500[_0x1101d7(0x212)](_0x599717,this[_0x1101d7(0x16f)](_0xa2a17e));}),_0x444500;}[_0x1fbfe3(0x167)](_0x11b17d){const _0x3ccaf3=_0x1fbfe3;switch(_0x11b17d['id']){case _0x5a689c['id']:{const _0x1a80e4=_0x11b17d['params'];return _0x1a80e4[_0x3ccaf3(0x24f)][_0x3ccaf3(0x1e2)](_0x19b269=>_0x19b269['ranges'][_0x3ccaf3(0x1e2)](_0x18283d=>({'range':_0x18283d,'unitId':_0x1a80e4['unitId'],'subUnitId':_0x1a80e4[_0x3ccaf3(0x196)]})))['flat']();}case _0x3c326b['id']:{const _0x48e9de=_0x11b17d[_0x3ccaf3(0x232)];return _0x48e9de[_0x3ccaf3(0x1fa)][_0x3ccaf3(0x1e2)](_0x36328e=>({'range':_0x36328e,'unitId':_0x48e9de[_0x3ccaf3(0x26d)],'subUnitId':_0x48e9de[_0x3ccaf3(0x196)]}));}case _0x43c172['id']:{const _0x151304=_0x11b17d[_0x3ccaf3(0x232)];return[{'range':_0x151304[_0x3ccaf3(0x286)],'unitId':_0x151304['unitId'],'subUnitId':_0x151304[_0x3ccaf3(0x196)]}];}case _0x1201c0['id']:{const _0x192cae=_0x11b17d[_0x3ccaf3(0x232)];return[{'range':_0x192cae[_0x3ccaf3(0x286)],'unitId':_0x192cae[_0x3ccaf3(0x26d)],'subUnitId':_0x192cae[_0x3ccaf3(0x196)]}];}case _0xc5c6cd['id']:{const _0x3c31fc=_0x11b17d[_0x3ccaf3(0x232)],{from:_0x515701,to:_0x5d7601,unitId:_0x520572}=_0x3c31fc;return[{'range':he(_0x515701[_0x3ccaf3(0x23c)]),'unitId':_0x520572,'subUnitId':_0x515701[_0x3ccaf3(0x196)]},{'range':he(_0x5d7601[_0x3ccaf3(0x23c)]),'unitId':_0x520572,'subUnitId':_0x5d7601['subUnitId']}];}case _0x4bfa5b['id']:{const _0x4d5741=_0x11b17d['params'],{unitId:_0x30c9ef,subUnitId:_0x345966,sourceRange:_0x4f1513,targetRange:_0x3c89e3}=_0x4d5741,_0xac95c9=_0x4f1513[_0x3ccaf3(0x18c)]-_0x4f1513[_0x3ccaf3(0x296)]+0x1;return[{'range':_0x3c89e3[_0x3ccaf3(0x296)]<=_0x4f1513[_0x3ccaf3(0x296)]?_0x3c89e3:{..._0x3c89e3,'startRow':_0x3c89e3[_0x3ccaf3(0x296)]-_0xac95c9,'endRow':_0x3c89e3[_0x3ccaf3(0x18c)]-_0xac95c9},'unitId':_0x30c9ef,'subUnitId':_0x345966}];}case _0x4b5049['id']:{const _0x3af442=_0x11b17d['params'],{unitId:_0x2f3b35,subUnitId:_0x47fa98,sourceRange:_0x34d222,targetRange:_0x2a6edc}=_0x3af442,_0x3ee8f4=_0x34d222[_0x3ccaf3(0x233)]-_0x34d222[_0x3ccaf3(0x20c)]+0x1;return[{'range':_0x2a6edc[_0x3ccaf3(0x20c)]<=_0x34d222[_0x3ccaf3(0x20c)]?_0x2a6edc:{..._0x2a6edc,'startColumn':_0x2a6edc['startColumn']-_0x3ee8f4,'endColumn':_0x2a6edc[_0x3ccaf3(0x233)]-_0x3ee8f4},'unitId':_0x2f3b35,'subUnitId':_0x47fa98}];}case _0x3273f1['id']:{const _0x11c06d=_0x11b17d['params'],{values:_0x2f7a11,unitId:_0x272631,subUnitId:_0x336cec}=_0x11c06d;return Object[_0x3ccaf3(0x1c3)](_0x2f7a11)[_0x3ccaf3(0x1e2)](_0x1eb7db=>_0x1eb7db[_0x3ccaf3(0x1fa)][_0x3ccaf3(0x1e2)](_0x3e5fd6=>({'range':_0x3e5fd6,'unitId':_0x272631,'subUnitId':_0x336cec})))[_0x3ccaf3(0x29f)]();}case _0x41acec['id']:{const _0x39ff59=_0x11b17d[_0x3ccaf3(0x232)],{ranges:_0x496415,unitId:_0x3cc6ad,subUnitId:_0x2a5637}=_0x39ff59;return _0x496415[_0x3ccaf3(0x1e2)](_0x512c34=>({'range':_0x512c34,'unitId':_0x3cc6ad,'subUnitId':_0x2a5637}));}case _0x17c762['id']:{const _0x4b903b=_0x11b17d[_0x3ccaf3(0x232)],{unitId:_0x31bf9b,subUnitId:_0x5e9cf6,range:_0x91bced}=_0x4b903b;return[{'range':_0x91bced,'unitId':_0x31bf9b,'subUnitId':_0x5e9cf6}];}case _0x13066e['id']:{const _0x48992d=_0x11b17d['params'];return _0x48992d[_0x3ccaf3(0x319)]['ranges'][_0x3ccaf3(0x1e2)](_0x513879=>({'range':_0x513879,'unitId':_0x48992d[_0x3ccaf3(0x26d)],'subUnitId':_0x48992d[_0x3ccaf3(0x196)]}));}case _0xbb4413['id']:{const _0x453547=_0x11b17d[_0x3ccaf3(0x232)];return _0x453547[_0x3ccaf3(0x1db)]?ys(_0x453547[_0x3ccaf3(0x1db)])['map'](_0x50a446=>({'range':_0x50a446,'unitId':_0x453547['unitId'],'subUnitId':_0x453547[_0x3ccaf3(0x196)]})):[];}case _0x4b44ae['id']:{const _0x39f34b=_0x11b17d[_0x3ccaf3(0x232)];return[{'range':_0x39f34b[_0x3ccaf3(0x286)],'unitId':_0x39f34b['unitId'],'subUnitId':_0x39f34b[_0x3ccaf3(0x196)]}];}case _0x25b3c0['id']:{const _0x4bb323=_0x11b17d[_0x3ccaf3(0x232)];return(Array[_0x3ccaf3(0x19c)](_0x4bb323[_0x3ccaf3(0x319)])?_0x4bb323[_0x3ccaf3(0x319)]:[_0x4bb323[_0x3ccaf3(0x319)]])[_0x3ccaf3(0x1e2)](_0x231db1=>_0x231db1['ranges'][_0x3ccaf3(0x1e2)](_0x4d1aff=>({'range':_0x4d1aff,'unitId':_0x4bb323[_0x3ccaf3(0x26d)],'subUnitId':_0x4bb323[_0x3ccaf3(0x196)]})))[_0x3ccaf3(0x29f)]();}case _0x482a92['id']:{const _0x22ed6b=_0x11b17d[_0x3ccaf3(0x232)];return _0x22ed6b[_0x3ccaf3(0x319)][_0x3ccaf3(0x1fa)][_0x3ccaf3(0x1e2)](_0xcbad27=>({'range':_0xcbad27,'unitId':_0x22ed6b[_0x3ccaf3(0x26d)],'subUnitId':_0x22ed6b[_0x3ccaf3(0x196)]}));}default:return[];}}[_0x1fbfe3(0x16f)](_0x2895ec){const _0x3c45a1=_0x1fbfe3;if(_0x2895ec[_0x3c45a1(0x304)]<=0x1)return _0x2895ec;const _0x429422=new Map();return _0x2895ec[_0x3c45a1(0x25c)](_0x6195b5=>{const _0x43bb8a=_0x3c45a1;var _0x3d3e19;const {unitId:_0x2a68be,subUnitId:_0xf33119}=_0x6195b5,_0x4a3f35=_0x2a68be+'-'+_0xf33119;_0x429422['has'](_0x4a3f35)?(_0x3d3e19=_0x429422[_0x43bb8a(0x290)](_0x4a3f35))==null||_0x3d3e19[_0x43bb8a(0x24e)](_0x6195b5):_0x429422[_0x43bb8a(0x212)](_0x4a3f35,[_0x6195b5]);}),Array[_0x3c45a1(0x27e)](_0x429422[_0x3c45a1(0x1c3)]())['map'](_0x38f99c=>new _0x1ac882()[_0x3c45a1(0x222)](..._0x38f99c[_0x3c45a1(0x1e2)](_0x3d93d5=>_0x3d93d5[_0x3c45a1(0x286)]))[_0x3c45a1(0x300)]()[_0x3c45a1(0x1e2)](_0xd47a4b=>({'range':_0xd47a4b,'unitId':_0x38f99c[0x0][_0x3c45a1(0x26d)],'subUnitId':_0x38f99c[0x0][_0x3c45a1(0x196)]})))[_0x3c45a1(0x29f)]();}};$=Ds([Q(0x0,_0xa84778(E)),Q(0x1,_0x152fce),Q(0x2,_0x51cf3f)],$);function he(_0x28e174){const _0x316936=_0x1fbfe3;return new _0x17df7f(_0x28e174)[_0x316936(0x2c3)]();}function ys(_0xde6707){const _0x145ff8=_0x1fbfe3,_0x4ffb49=new _0x17df7f(_0xde6707),_0x5a589d=new _0x17df7f();return _0x4ffb49[_0x145ff8(0x197)]((_0x3b2890,_0x2d72d4)=>{const _0x37dbd7=_0x145ff8;_0x5a589d[_0x37dbd7(0x2b6)](_0x3b2890,_0x2d72d4,0x1);}),_0x541b55(_0x5a589d);}var Cs=Object[_0x1fbfe3(0x256)],ws=(_0x65822b,_0x434eb5,_0x4536ae,_0x557b54)=>{const _0x1bb76e=_0x1fbfe3;for(var _0x5bdbd1=_0x557b54>0x1?void 0x0:_0x557b54?Cs(_0x434eb5,_0x4536ae):_0x434eb5,_0x449b04=_0x65822b[_0x1bb76e(0x304)]-0x1,_0x414e0b;_0x449b04>=0x0;_0x449b04--)(_0x414e0b=_0x65822b[_0x449b04])&&(_0x5bdbd1=_0x414e0b(_0x5bdbd1)||_0x5bdbd1);return _0x5bdbd1;},C=(_0x32ae85,_0x2e4287)=>(_0x496e11,_0x5a171b)=>_0x2e4287(_0x496e11,_0x5a171b,_0x32ae85);let te=class extends _0x3970fc{constructor(_0x4f2b0f,_0x1ddd99,_0x3cb89f,_0xb49edc,_0x554933,_0x433a96,_0x2260e1){const _0x3eb4e7=_0x1fbfe3;super(),l(this,_0x3eb4e7(0x206),new Set()),l(this,_0x3eb4e7(0x21c),null),(this[_0x3eb4e7(0x1d9)]=_0x4f2b0f,this[_0x3eb4e7(0x172)]=_0x1ddd99,this['_versionDiffService']=_0x3cb89f,this[_0x3eb4e7(0x291)]=_0xb49edc,this[_0x3eb4e7(0x1a2)]=_0x554933,this[_0x3eb4e7(0x322)]=_0x433a96,this[_0x3eb4e7(0x215)]=_0x2260e1,this[_0x3eb4e7(0x236)]());}[_0x1fbfe3(0x236)](){const _0x436169=_0x1fbfe3;this[_0x436169(0x2e5)](),this[_0x436169(0x2f7)]();}[_0x1fbfe3(0x2e5)](){const _0x2de3f9=_0x1fbfe3;this['disposeWithMe'](_0x3625bc([this[_0x2de3f9(0x172)]['loadingState$'],this['_sheetSkeletonManagerService'][_0x2de3f9(0x250)]])[_0x2de3f9(0x2aa)](_0x25a3e4(([_0x159368,_0x40d651])=>{const _0x2afb0f=_0x2de3f9;if(_0x159368===T[_0x2afb0f(0x1c8)]&&_0x40d651){const _0x3a0abf=_0x40d651[_0x2afb0f(0x2e8)];return this[_0x2afb0f(0x2b1)][_0x2afb0f(0x254)][_0x2afb0f(0x2aa)](_0x219ba0(_0x496967=>{const _0x131752=_0x2afb0f,_0x18d101=new Map();return _0x496967[_0x131752(0x1fa)]['forEach']((_0x5f1d84,_0x568d43)=>{const _0x2c0f62=_0x131752,_0x2010e5=_0x5f1d84[_0x2c0f62(0x1df)](_0x467f28=>_0x467f28[_0x2c0f62(0x196)]===_0x3a0abf);_0x18d101[_0x2c0f62(0x212)](_0x568d43,_0x2010e5);}),{'skeleton':_0x40d651,'diffs':_0x18d101};}));}return _0xa03eac({'skeleton':null,'diffs':new Map()});}))[_0x2de3f9(0x205)](({skeleton:_0x48ed67,diffs:_0x2485cc})=>{const _0x2a41da=_0x2de3f9;this[_0x2a41da(0x20d)](),_0x48ed67&&this['_updateDiffMarks'](_0x48ed67,_0x2485cc);})),this[_0x2de3f9(0x230)](this[_0x2de3f9(0x322)][_0x2de3f9(0x250)][_0x2de3f9(0x205)](_0x5addc0=>{const _0x146a17=_0x2de3f9;if(_0x5addc0==null)return;const {skeleton:_0x35659d}=_0x5addc0,{scene:_0x5c23af}=this[_0x146a17(0x1d9)];_0x5c23af[_0x146a17(0x1eb)][_0x146a17(0x1e7)](_0x390bc6(_0x3c72c7=>{const _0x198728=_0x146a17;var _0x40191f,_0x26ee8a;const {offsetX:_0x5d99cf,offsetY:_0x5dc2c5}=_0x3c72c7,{x:_0x4d8320,y:_0x58af40}=_0x5c23af[_0x198728(0x1d0)](_0x2fcafa[_0x198728(0x264)]([_0x5d99cf,_0x5dc2c5])),{scaleX:_0x6e2bec,scaleY:_0x581089}=_0x5c23af[_0x198728(0x30a)](),_0x30423f=_0x5c23af[_0x198728(0x213)](_0x52fde9[_0x198728(0x1cf)]),_0x1ff21e=_0x5c23af['getVpScrollXYInfoByPosToVp'](_0x2fcafa['FromArray']([_0x4d8320,_0x58af40]),_0x30423f),_0x2a0b7b=_0x35659d[_0x198728(0x26a)](_0x5d99cf,_0x5dc2c5,_0x6e2bec,_0x581089,_0x1ff21e);((_0x40191f=this[_0x198728(0x21c)])==null?void 0x0:_0x40191f['column'])===_0x2a0b7b['column']&&((_0x26ee8a=this['_lastPointer'])==null?void 0x0:_0x26ee8a['row'])===_0x2a0b7b['row']||this[_0x198728(0x206)][_0x198728(0x25c)](_0x31b5fb=>{_0x31b5fb['onMouseMove'](_0x2a0b7b);});},0x64));}));}['_initActiveSwitch'](){const _0x4ea7e1=_0x1fbfe3;this[_0x4ea7e1(0x230)](this['_historyManagerService'][_0x4ea7e1(0x305)][_0x4ea7e1(0x205)](_0x5e8e1d=>{const _0x360780=_0x4ea7e1,_0x76a369=new _0x513974();return _0x5e8e1d===T[_0x360780(0x1c8)]&&(_0x76a369[_0x360780(0x2e0)](),_0x76a369['add'](this[_0x360780(0x2b1)]['currentVersionDiff$'][_0x360780(0x205)](_0x2ee95e=>{const _0x4cee3e=_0x360780;_0x2ee95e[_0x4cee3e(0x275)]&&this['_commandService'][_0x4cee3e(0x1bb)](_0x2bb3d7['id'],{'unitId':this[_0x4cee3e(0x1d9)][_0x4cee3e(0x26d)],'subUnitId':_0x2ee95e[_0x4cee3e(0x275)]});}))),()=>_0x76a369['dispose']();}));}[_0x1fbfe3(0x19f)](_0x9a55c5,_0x4a6746){const _0x440b02=_0x1fbfe3;var _0x175c1f;const _0x4e673f=(_0x175c1f=this[_0x440b02(0x322)][_0x440b02(0x2e9)]())==null?void 0x0:_0x175c1f['skeleton'];if(!_0x4e673f)return;this[_0x440b02(0x206)][_0x440b02(0x25c)](_0x4d2d09=>{const _0x659cf5=_0x440b02;_0x4d2d09[_0x659cf5(0x301)]();});const {scene:_0x45c388}=this[_0x440b02(0x1d9)],_0x2e8e28=Array[_0x440b02(0x27e)](_0x4a6746[_0x440b02(0x1cc)]())[_0x440b02(0x1e2)](_0x41a34a=>_0x4a6746[_0x440b02(0x290)](_0x41a34a)[_0x440b02(0x1e2)](_0x55251b=>{const _0x5b2cca=_0x440b02;var _0x3e7cd9;const {range:_0xac50f6,subUnitId:_0x24dc46,unitId:_0x1090b3}=_0x55251b,{startColumn:_0x4f8977,startRow:_0x701745,endColumn:_0xad48a5,endRow:_0x223690}=_0xac50f6,_0x1ea797=_0x18fbde(_0x701745,_0x4f8977,_0x45c388,_0x4e673f),_0x18783f=_0x18fbde(_0x223690,_0xad48a5,_0x45c388,_0x4e673f),{columnHeaderHeightAndMarginTop:_0x35f2c5}=_0x4e673f,{startX:_0x2fd5cd,startY:_0x2879b5}=_0x1ea797,{endX:_0x46c641,endY:_0x5ce3f3}=_0x18783f,_0x24e49a=_0x46c641-_0x2fd5cd,_0x201cb9=_0x5ce3f3-_0x2879b5,_0x3052c0={'labelPosition':_0x2879b5-_0x35f2c5>=0x14?_0x5b2cca(0x23a):_0x5b2cca(0x2e1),'sheetID':_0x24dc46,'range':_0xac50f6,'color':'rgba(58,\x2096,\x20247,\x200.20)','fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x5b2cca(0x27a),'name':((_0x3e7cd9=this[_0x5b2cca(0x172)][_0x5b2cca(0x2ec)](_0x41a34a))==null?void 0x0:_0x3e7cd9[_0x5b2cca(0x22f)])||'','selection':_0x1090b3+'-'+_0x24dc46+'-'+_0xac50f6[_0x5b2cca(0x20c)]+'-'+_0xac50f6['startRow']+'-'+_0xac50f6[_0x5b2cca(0x233)]+'-'+_0xac50f6[_0x5b2cca(0x18c)],'left':_0x2fd5cd,'top':_0x2879b5,'width':_0x24e49a,'height':_0x201cb9,'evented':!0x1,'zIndex':0x1};return new _0x100d4d('',_0x3052c0);}))['flat']();_0x45c388[_0x440b02(0x1b3)](_0x2e8e28,0x1),this[_0x440b02(0x206)]=new Set(_0x2e8e28);}['_removeDiffMarks'](){const _0x2ca26a=_0x1fbfe3;var _0x2ac13c;(_0x2ac13c=this[_0x2ca26a(0x206)])==null||_0x2ac13c['forEach'](_0x745055=>_0x745055[_0x2ca26a(0x2e0)]());}['_getSheetObject'](){const _0x44b9ac=_0x1fbfe3;return _0x3548cc(this[_0x44b9ac(0x291)],this[_0x44b9ac(0x1a2)]);}};te=ws([C(0x1,_0xa84778(E)),C(0x2,_0xa84778($)),C(0x3,_0x1cb631),C(0x4,_0x8b6592),C(0x5,_0xa84778(_0x53e857)),C(0x6,_0x4c6efd)],te);function Ps(){const _0x4350e6=_0x1fbfe3,_0x339bf9=_0xf02295(E),_0x30e971=_0x57b9ca(_0x339bf9[_0x4350e6(0x21e)]),[_0x1941f9,_0x38bcf6]=_0x472cb2(!0x1),_0x1b0cf8=cs(_0x30e971);return _0x30e971?_0x333879(_0x4350e6(0x2a1),{'className':_0x4350e6(0x2b5),'children':_0x4ba140('div',{'className':'univer-h-full\x20univer-overflow-auto\x20univer-border-t\x20univer-border-gray-200','children':[_0x1b0cf8['map']((_0x439fb4,_0x4d4f78)=>_0x4ba140(_0x11a54a,{'children':[_0x333879($s,{'date':_0x439fb4[_0x4350e6(0x173)]}),_0x439fb4[_0x4350e6(0x1ae)][_0x4350e6(0x1e2)]((_0x2896ba,_0x43356b)=>_0x333879(Vs,{'index':[_0x4d4f78,_0x43356b],'item':_0x2896ba},_0x4d4f78+'-'+_0x43356b))]},_0x439fb4[_0x4350e6(0x173)])),_0x1941f9&&_0x333879(Ts,{})]})}):_0x333879(Ls,{});}function Ts(){const _0x51c858=_0x1fbfe3;return _0x333879(_0x51c858(0x2a1),{'className':_0x51c858(0x227),'children':_0x333879(ae,{'className':_0x51c858(0x220)})});}function Ls(){const _0x3c0d42=_0x1fbfe3;return _0x333879(_0x3c0d42(0x2a1),{'className':_0x3c0d42(0x1b1),'children':_0x333879(_0x3c0d42(0x23d),{'className':_0x3c0d42(0x16b),'children':_0x333879(ae,{'className':_0x3c0d42(0x238)})})});}function $s(_0x202a3b){const _0x3475ef=_0x1fbfe3,_0xdd0260=_0xf02295(_0x343be2),{date:_0x31e9e8}=_0x202a3b;return _0x333879('div',{'className':_0x3475ef(0x1e1),'children':ee(_0x31e9e8,_0xdd0260[_0x3475ef(0x310)]())});}function Vs(_0x2bc690){const _0x178faf=_0x1fbfe3,{item:_0x2b584d,index:_0x1b4e8c}=_0x2bc690,{time:_0x13c408,user:_0x4895fe}=_0x2b584d,[_0x46f63e,_0x53eb55]=_0x1b4e8c,_0x4842c4=_0xf02295(E),_0xfd3366=_0x57b9ca(_0x4842c4[_0x178faf(0x2ef)],'',!0x0)===_0x2b584d['id'],_0x31955c=_0x46f63e===0x0&&_0x53eb55===0x0,_0x512d54=!_0x31955c&&_0x4842c4[_0x178faf(0x18e)],_0x3db5a5=_0xf02295(_0x343be2),_0x552771=_0x3db5a5[_0x178faf(0x310)](),_0x2bed72=re(_0x13c408,_0x552771),_0x53fd5a=_0x3db5a5['t'](_0x178faf(0x224)),_0x694686=_0x1b1709(_0x1eb927=>{const _0xc3622=_0x178faf;_0x4842c4[_0xc3622(0x292)]!==T[_0xc3622(0x325)]&&(_0x4842c4[_0xc3622(0x1a0)]=_0x1eb927);},[_0x4842c4]),_0x380b4b=_0x1b1709(_0x57bcdc=>{const _0x4056f5=_0x178faf;_0x4842c4[_0x4056f5(0x1cd)](_0x57bcdc);},[_0x4842c4]);return _0x4ba140(_0x178faf(0x2a1),{'className':_0x2e2861(_0x178faf(0x1a9),{'univer-bg-gray-50':_0xfd3366}),'onClick':()=>_0x694686(_0x2b584d['id']),'children':[_0x4ba140(_0x178faf(0x2a1),{'className':'univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','children':[_0x333879(_0x178faf(0x2a1),{'className':_0x178faf(0x1ad)}),_0x4ba140('div',{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[_0x333879(_0x178faf(0x23d),{'children':_0x2bed72[_0x178faf(0x2be)]}),_0x31955c&&_0x333879(_0x178faf(0x23d),{'className':_0x178faf(0x30d),'children':_0x53fd5a})]}),_0x333879(_0x178faf(0x2a1),{'children':_0x512d54&&_0x333879(_0xfdc9a3,{'title':_0x3db5a5['t'](_0x178faf(0x324)),'children':_0x333879('div',{'onClick':_0xa94ff1=>{const _0x341158=_0x178faf;_0xa94ff1[_0x341158(0x1ea)](),_0x380b4b(_0x2b584d['id']);},'className':_0x178faf(0x323),'children':_0x333879(Le,{})})})})]}),_0x333879(_0x178faf(0x2a1),{'className':_0x178faf(0x30c),'children':as(_0x2b584d,_0x3db5a5)})]});}var ks=Object[_0x1fbfe3(0x256)],xs=(_0x10e4d2,_0xaefc28,_0x2d77e0,_0xb58de1)=>{for(var _0x22e6cc=_0xb58de1>0x1?void 0x0:_0xb58de1?ks(_0xaefc28,_0x2d77e0):_0xaefc28,_0x4b50a4=_0x10e4d2['length']-0x1,_0x23bb84;_0x4b50a4>=0x0;_0x4b50a4--)(_0x23bb84=_0x10e4d2[_0x4b50a4])&&(_0x22e6cc=_0x23bb84(_0x22e6cc)||_0x22e6cc);return _0x22e6cc;},k=(_0x955da8,_0xa0b51e)=>(_0x185ce5,_0x188c39)=>_0xa0b51e(_0x185ce5,_0x188c39,_0x955da8);const de='history-panel';let j=class extends _0x3970fc{constructor(_0x18fb51,_0x2980f9,_0x532068,_0x5be0cb){const _0x4fb4f2=_0x1fbfe3;super(),l(this,_0x4fb4f2(0x2f2),null),(this[_0x4fb4f2(0x22c)]=_0x18fb51,this[_0x4fb4f2(0x289)]=_0x2980f9,this['_localeService']=_0x532068,this[_0x4fb4f2(0x172)]=_0x5be0cb,this['_init']());}[_0x1fbfe3(0x236)](){const _0x4087c0=_0x1fbfe3;this['_initPanel'](),this[_0x4087c0(0x26c)]();}[_0x1fbfe3(0x26c)](){const _0x3d7445=_0x1fbfe3;if(this['_sidebarDisposable'])return;const _0x3f8602={'header':{'title':this[_0x3d7445(0x1a5)]['t'](_0x3d7445(0x203))},'children':{'label':de},'onClose':()=>{const _0x593015=_0x3d7445;this[_0x593015(0x2f2)]=null,this[_0x593015(0x172)][_0x593015(0x1f5)]=ne[_0x593015(0x2ae)];}};this['_sidebarDisposable']=this['_sidebarService'][_0x3d7445(0x1f4)]({..._0x3f8602});}[_0x1fbfe3(0x1c6)](){const _0xd195e=_0x1fbfe3;this[_0xd195e(0x230)](this[_0xd195e(0x289)][_0xd195e(0x216)](de,Ps)),this[_0xd195e(0x230)](this[_0xd195e(0x22c)][_0xd195e(0x22e)][_0xd195e(0x2aa)](_0xc1722(0x64))[_0xd195e(0x205)](_0x3d67ff=>{const _0x276552=_0xd195e,{target:_0x22d368}=_0x3d67ff||{};if(_0x22d368){const {scrollTop:_0x4e41aa,scrollHeight:_0xc1ccd6,clientHeight:_0x404667}=_0x22d368;_0x4e41aa+_0x404667>=_0xc1ccd6-0x5&&this[_0x276552(0x172)][_0x276552(0x219)]();}}));}};j=xs([k(0x0,_0x315048),k(0x1,_0xa84778(_0x1d1422)),k(0x2,_0xa84778(_0x343be2)),k(0x3,_0xa84778(E))],j);class Us extends _0x3970fc{constructor(){super(),l(this,'_dialogOptions$',new _0x401884());}[_0x1fbfe3(0x1f4)](){return _0x1d8d8c(()=>{});}[_0x1fbfe3(0x2de)](){}[_0x1fbfe3(0x1f2)](_0x148c61){}[_0x1fbfe3(0x302)](){const _0x11bb8e=_0x1fbfe3;return this[_0x11bb8e(0x2bb)][_0x11bb8e(0x20f)]();}}var Hs=Object[_0x1fbfe3(0x23f)],Fs=Object[_0x1fbfe3(0x256)],Ys=(_0x566925,_0x3c3330,_0x1ec148)=>_0x3c3330 in _0x566925?Hs(_0x566925,_0x3c3330,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ec148}):_0x566925[_0x3c3330]=_0x1ec148,Bs=(_0x2a9395,_0x25cee7,_0x5df8c0,_0x7be89a)=>{const _0x1413ba=_0x1fbfe3;for(var _0x355f46=_0x7be89a>0x1?void 0x0:_0x7be89a?Fs(_0x25cee7,_0x5df8c0):_0x25cee7,_0x134f71=_0x2a9395[_0x1413ba(0x304)]-0x1,_0x1d147e;_0x134f71>=0x0;_0x134f71--)(_0x1d147e=_0x2a9395[_0x134f71])&&(_0x355f46=_0x1d147e(_0x355f46)||_0x355f46);return _0x355f46;},J=(_0x25274b,_0x59ab1c)=>(_0x24994b,_0x605ff5)=>_0x59ab1c(_0x24994b,_0x605ff5,_0x25274b),js=(_0x544f05,_0x177fc8,_0x4b03e9)=>Ys(_0x544f05,_0x177fc8+'',_0x4b03e9);const As=_0x1fbfe3(0x228);let se=class extends _0x41f863{constructor(_0x1cc89d=_e,_0x3f3553,_0x2c7671,_0x56a2e5){const _0x536d17=_0x1fbfe3;super(),this[_0x536d17(0x19a)]=_0x1cc89d,this[_0x536d17(0x2ba)]=_0x3f3553,this[_0x536d17(0x1a2)]=_0x2c7671,this[_0x536d17(0x198)]=_0x56a2e5;const {..._0x2dc54e}=_0x2046c3({},_e,this[_0x536d17(0x19a)]);this[_0x536d17(0x198)][_0x536d17(0x18f)](we,_0x2dc54e);}['onStarting'](){const _0x3b4815=_0x1fbfe3;[[E],[B],[$],[Y],[j],[H],[_0x51cf3f,{'useClass':_0x15590c}],[_0x59d1d5,{'useClass':Us}],[_0x3b1d31,{'useClass':_0x5b040f}]][_0x3b4815(0x25c)](_0x1a5ad0=>this[_0x3b4815(0x2ba)]['add'](_0x1a5ad0)),this[_0x3b4815(0x2ba)][_0x3b4815(0x290)](B);}[_0x1fbfe3(0x1be)](){const _0x34b950=_0x1fbfe3;[[te]][_0x34b950(0x25c)](_0x38b302=>{const _0x566da8=_0x34b950;this[_0x566da8(0x230)](this['_renderManagerService'][_0x566da8(0x31d)](_0x384d1d[_0x566da8(0x21a)],_0x38b302));}),this[_0x34b950(0x2ba)][_0x34b950(0x290)](H),this[_0x34b950(0x2ba)][_0x34b950(0x290)](j);}['onSteady'](){const _0x3cb08f=_0x1fbfe3;this[_0x3cb08f(0x2ba)][_0x3cb08f(0x290)]($);}};js(se,_0x1fbfe3(0x2b8),As),se=Bs([_0x336255(_0x2af04a,_0x5d7838),J(0x1,_0xa84778(_0x3bfcdd)),J(0x2,_0x8b6592),J(0x3,_0xb9a432)],se);export{E as HistoryManagerService,ne as HistoryModeStatus,se as UniverEditHistoryViewerPlugin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x2d9827=_0xe3c3;(function(_0x18efbb,_0x985ac4){const _0x29d81d=_0xe3c3,_0x21cc8a=_0x18efbb();while(!![]){try{const _0x42ceeb=-parseInt(_0x29d81d(0x1d6))/0x1*(parseInt(_0x29d81d(0x1e9))/0x2)+parseInt(_0x29d81d(0x1ee))/0x3+parseInt(_0x29d81d(0x1ea))/0x4*(parseInt(_0x29d81d(0x1d7))/0x5)+parseInt(_0x29d81d(0x1de))/0x6+-parseInt(_0x29d81d(0x1eb))/0x7+-parseInt(_0x29d81d(0x1ef))/0x8*(parseInt(_0x29d81d(0x1dc))/0x9)+-parseInt(_0x29d81d(0x1d8))/0xa;if(_0x42ceeb===_0x985ac4)break;else _0x21cc8a['push'](_0x21cc8a['shift']());}catch(_0x56a167){_0x21cc8a['push'](_0x21cc8a['shift']());}}}(_0x48bd,0xbb1d3));const e={'editHistory':{'panel':{'title':_0x2d9827(0x1e7),'unknownUser':_0x2d9827(0x1ec),'listFetchError':_0x2d9827(0x1d3),'revertConfirm':'Restore\x20this\x20version?','revertConfirmText':_0x2d9827(0x1db),'cancel':_0x2d9827(0x1e2),'confirm':'Confirm','reverting':_0x2d9827(0x1f0),'revertFailed':_0x2d9827(0x1dd),'currentVersion':'Current\x20Version','currentUser':_0x2d9827(0x1e5),'revertDesc':_0x2d9827(0x1e1)},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':_0x2d9827(0x1e8),'revert':_0x2d9827(0x1e1)},'action':{'insertSheet':_0x2d9827(0x1e4),'removeSheet':_0x2d9827(0x1e6),'createSheet':_0x2d9827(0x1d9),'setFilter':_0x2d9827(0x1e0),'setFrozen':_0x2d9827(0x1d5),'editSheet':'edited\x20worksheet','revertSheet':'reverted\x20workbook','revertSheetPrefix':_0x2d9827(0x1f1),'revertSheetSuffix':'','setDV':_0x2d9827(0x1d4),'setCF':'set\x20conditional\x20formatting','addCF':_0x2d9827(0x1ed),'addProtection':'add\x20protection','addSparkline':_0x2d9827(0x1e3),'deleteProtection':_0x2d9827(0x1df),'etc':_0x2d9827(0x1da)}}},t=e;function _0xe3c3(_0x507211,_0x33639e){const _0x48bd38=_0x48bd();return _0xe3c3=function(_0xe3c31b,_0x30727e){_0xe3c31b=_0xe3c31b-0x1d3;let _0x273220=_0x48bd38[_0xe3c31b];return _0x273220;},_0xe3c3(_0x507211,_0x33639e);}export{t as default};function _0x48bd(){const _0x5058be=['deleted\x20worksheet','Edit\x20History','Back','2998zNQopf','4CGJnrG','2475039VcpAcR','Unknown\x20User','add\x20conditional\x20formatting','392445Sherda','1853176rdgpuW','Reverting,\x20please\x20wait...','Reverted\x20from','Failed\x20to\x20get\x20edit\x20history\x20list','set\x20data\x20validation','set\x20frozen','189eLTgfR','4694425yKTCvY','339300SVTvJS','created\x20workbook',',\x20etc.','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','27rlwYvd','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','6374868taBcUD','delete\x20protection','set\x20filter','Restore\x20this\x20version','Cancel','add\x20sparkline','inserted\x20worksheet','Current\x20User'];_0x48bd=function(){return _0x5058be;};return _0x48bd();}
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x17fc(_0x2cfa58,_0x1714b6){const _0xbf1e2b=_0xbf1e();return _0x17fc=function(_0x17fcb6,_0x1a362c){_0x17fcb6=_0x17fcb6-0x196;let _0x1c7f86=_0xbf1e2b[_0x17fcb6];return _0x1c7f86;},_0x17fc(_0x2cfa58,_0x1714b6);}const _0x3cc98e=_0x17fc;(function(_0x15653d,_0x356911){const _0x170a78=_0x17fc,_0x3b587b=_0x15653d();while(!![]){try{const _0x504cce=-parseInt(_0x170a78(0x198))/0x1+parseInt(_0x170a78(0x1a7))/0x2*(parseInt(_0x170a78(0x19d))/0x3)+-parseInt(_0x170a78(0x1af))/0x4+-parseInt(_0x170a78(0x1ae))/0x5*(parseInt(_0x170a78(0x1ab))/0x6)+parseInt(_0x170a78(0x19f))/0x7*(parseInt(_0x170a78(0x1a2))/0x8)+parseInt(_0x170a78(0x1aa))/0x9*(-parseInt(_0x170a78(0x19e))/0xa)+parseInt(_0x170a78(0x1ac))/0xb*(parseInt(_0x170a78(0x1a9))/0xc);if(_0x504cce===_0x356911)break;else _0x3b587b['push'](_0x3b587b['shift']());}catch(_0x822b92){_0x3b587b['push'](_0x3b587b['shift']());}}}(_0xbf1e,0x52ab9));const e={'editHistory':{'panel':{'title':_0x3cc98e(0x1b5),'unknownUser':_0x3cc98e(0x19b),'listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list','revertConfirm':_0x3cc98e(0x196),'revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':_0x3cc98e(0x1a3),'confirm':_0x3cc98e(0x199),'reverting':_0x3cc98e(0x1ad),'revertFailed':_0x3cc98e(0x1a1),'currentVersion':_0x3cc98e(0x1a5),'currentUser':_0x3cc98e(0x19c),'revertDesc':_0x3cc98e(0x1b2)},'info':{'loading':_0x3cc98e(0x1a0)},'header':{'back':_0x3cc98e(0x1b1),'revert':_0x3cc98e(0x1b2)},'action':{'insertSheet':'inserted\x20worksheet','removeSheet':_0x3cc98e(0x1a8),'createSheet':'created\x20workbook','setFilter':'set\x20filter','setFrozen':_0x3cc98e(0x197),'editSheet':_0x3cc98e(0x19a),'revertSheet':_0x3cc98e(0x1a6),'revertSheetPrefix':_0x3cc98e(0x1b0),'revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':_0x3cc98e(0x1a4),'addCF':'add\x20conditional\x20formatting','addProtection':'add\x20protection','addSparkline':_0x3cc98e(0x1b3),'deleteProtection':'delete\x20protection','etc':_0x3cc98e(0x1b4)}}};export{e as default};function _0xbf1e(){const _0x8475b7=['12860388lGYCLP','275733xRNXgL','1212QpJfwz','22mdvWGO','Reverting,\x20please\x20wait...','6485ihPUbi','1983652pOqxLR','Reverted\x20from','Back','Restore\x20this\x20version','add\x20sparkline',',\x20etc.','Edit\x20History','Restore\x20this\x20version?','set\x20frozen','658883vEBtMd','Confirm','edited\x20worksheet','Unknown\x20User','Current\x20User','13449uSnSoV','160LyYBEg','721qAochd','loading,\x20please\x20wait...','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','4456lQPZdX','Cancel','set\x20conditional\x20formatting','Current\x20Version','reverted\x20workbook','20TpLWrk','deleted\x20worksheet'];_0xbf1e=function(){return _0x8475b7;};return _0xbf1e();}
|