@univerjs-pro/edit-history-loader 1.0.0-alpha.1 → 1.0.0-alpha.2
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/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.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-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.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-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/services/history-locale.d.ts +5 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.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-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +43 -43
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x2a6827=_0x3209;(function(_0xa0dcd0,_0x13f7ed){const _0x3cef74=_0x3209,_0x3991d5=_0xa0dcd0();while(!![]){try{const _0x2d4369=-parseInt(_0x3cef74(0x1aa))/0x1*(parseInt(_0x3cef74(0x188))/0x2)+-parseInt(_0x3cef74(0x284))/0x3*(-parseInt(_0x3cef74(0x258))/0x4)+-parseInt(_0x3cef74(0x196))/0x5+parseInt(_0x3cef74(0x203))/0x6*(-parseInt(_0x3cef74(0x1b7))/0x7)+parseInt(_0x3cef74(0x256))/0x8+parseInt(_0x3cef74(0x194))/0x9+parseInt(_0x3cef74(0x28b))/0xa;if(_0x2d4369===_0x13f7ed)break;else _0x3991d5['push'](_0x3991d5['shift']());}catch(_0x208641){_0x3991d5['push'](_0x3991d5['shift']());}}}(_0x4d60,0x47347),Object['defineProperty'](exports,Symbol[_0x2a6827(0x246)],{'value':_0x2a6827(0x29e)}));let e=require('@univerjs/core'),t=require('@univerjs/sheets'),n=require('@univerjs-pro/collaboration'),r=require('@univerjs-pro/collaboration-client'),i=require('@univerjs-pro/edit-history-viewer'),a=require('@univerjs-pro/license'),o=require('@univerjs-pro/sheets-chart'),s=require('@univerjs-pro/sheets-chart-ui'),c=require('@univerjs-pro/sheets-pivot'),l=require('@univerjs-pro/sheets-shape'),u=require('@univerjs-pro/sheets-shape-ui'),d=require('@univerjs-pro/sheets-sparkline'),f=require('@univerjs-pro/sheets-sparkline-ui'),p=require('@univerjs/data-validation'),m=require('@univerjs/design'),h=require('@univerjs/docs'),g=require('@univerjs/docs-ui'),_=require('@univerjs/drawing'),v=require('@univerjs/drawing-ui'),y=require('@univerjs/engine-formula'),b=require('@univerjs/engine-render'),x=require('@univerjs/network'),S=require('@univerjs/rpc'),C=require('@univerjs/sheets-conditional-formatting'),ee=require('@univerjs/sheets-conditional-formatting-ui'),w=require('@univerjs/sheets-data-validation'),T=require('@univerjs/sheets-data-validation-ui'),E=require('@univerjs/sheets-drawing'),D=require('@univerjs/sheets-drawing-ui'),O=require('@univerjs/sheets-filter'),te=require('@univerjs/sheets-filter-ui'),ne=require('@univerjs/sheets-formula'),re=require('@univerjs/sheets-formula-ui'),ie=require('@univerjs/sheets-hyper-link'),ae=require('@univerjs/sheets-hyper-link-ui'),k=require('@univerjs/sheets-numfmt'),A=require('@univerjs/sheets-table'),j=require('@univerjs/sheets-ui'),M=require('@univerjs/ui'),N=require('rxjs'),oe=require('@univerjs/icons'),P=require('@univerjs-pro/collaboration-client-ui');const F=_0x2a6827(0x1c7),I={'historyPanelComponentKey':_0x2a6827(0x201)};function L(_0x4c050a){'@babel/helpers - typeof';const _0x5ee9ce=_0x2a6827;return L=typeof Symbol==_0x5ee9ce(0x1cc)&&typeof Symbol[_0x5ee9ce(0x1de)]=='symbol'?function(_0x18e22d){return typeof _0x18e22d;}:function(_0x5b43c5){const _0x1b96dd=_0x5ee9ce;return _0x5b43c5&&typeof Symbol==_0x1b96dd(0x1cc)&&_0x5b43c5[_0x1b96dd(0x29c)]===Symbol&&_0x5b43c5!==Symbol[_0x1b96dd(0x1e1)]?_0x1b96dd(0x21d):typeof _0x5b43c5;},L(_0x4c050a);}function se(_0x2e09a2,_0x3b186f){const _0x59dc74=_0x2a6827;if(L(_0x2e09a2)!='object'||!_0x2e09a2)return _0x2e09a2;var _0x220d0f=_0x2e09a2[Symbol['toPrimitive']];if(_0x220d0f!==void 0x0){var _0x2dff9f=_0x220d0f[_0x59dc74(0x239)](_0x2e09a2,_0x3b186f||'default');if(L(_0x2dff9f)!=_0x59dc74(0x189))return _0x2dff9f;throw TypeError(_0x59dc74(0x1ef));}return(_0x3b186f==='string'?String:Number)(_0x2e09a2);}function ce(_0x5ee868){const _0x58d12f=_0x2a6827;var _0x1dc904=se(_0x5ee868,_0x58d12f(0x1a3));return L(_0x1dc904)==_0x58d12f(0x21d)?_0x1dc904:_0x1dc904+'';}function R(_0x42c9d3,_0x95834e,_0x2a4505){return(_0x95834e=ce(_0x95834e))in _0x42c9d3?Object['defineProperty'](_0x42c9d3,_0x95834e,{'value':_0x2a4505,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x42c9d3[_0x95834e]=_0x2a4505,_0x42c9d3;}function z(_0x3b221e,_0x5f3b91){return function(_0x4fe312,_0x3d75cf){_0x5f3b91(_0x4fe312,_0x3d75cf,_0x3b221e);};}function B(_0xcbb7dd,_0x4dfb09,_0x31d827,_0x4e953b){const _0x15bef5=_0x2a6827;var _0xcf4444=arguments[_0x15bef5(0x1da)],_0x1473de=_0xcf4444<0x3?_0x4dfb09:_0x4e953b===null?_0x4e953b=Object[_0x15bef5(0x217)](_0x4dfb09,_0x31d827):_0x4e953b,_0x415785;if(typeof Reflect==_0x15bef5(0x189)&&typeof Reflect[_0x15bef5(0x20f)]==_0x15bef5(0x1cc))_0x1473de=Reflect[_0x15bef5(0x20f)](_0xcbb7dd,_0x4dfb09,_0x31d827,_0x4e953b);else{for(var _0x2e22b1=_0xcbb7dd[_0x15bef5(0x1da)]-0x1;_0x2e22b1>=0x0;_0x2e22b1--)(_0x415785=_0xcbb7dd[_0x2e22b1])&&(_0x1473de=(_0xcf4444<0x3?_0x415785(_0x1473de):_0xcf4444>0x3?_0x415785(_0x4dfb09,_0x31d827,_0x1473de):_0x415785(_0x4dfb09,_0x31d827))||_0x1473de);}return _0xcf4444>0x3&&_0x1473de&&Object[_0x15bef5(0x1b4)](_0x4dfb09,_0x31d827,_0x1473de),_0x1473de;}const V='UNIVER_CONTAINER_ID',H=_0x2a6827(0x25b);let U=class extends e[_0x2a6827(0x19b)]{constructor(_0x134ec4,_0x5430b5,_0x5aaf0f,_0x4fd2b8,_0x334c02,_0x1f7295,_0x4ac1a2,_0x486fc7,_0x1ad489,_0x3add16){const _0x72efec=_0x2a6827;super(),this[_0x72efec(0x244)]=_0x134ec4,this[_0x72efec(0x288)]=_0x5430b5,this[_0x72efec(0x23e)]=_0x5aaf0f,this[_0x72efec(0x1e2)]=_0x4fd2b8,this[_0x72efec(0x1c2)]=_0x334c02,this[_0x72efec(0x238)]=_0x1f7295,this['_selectionProtectionRuleModel']=_0x4ac1a2,this[_0x72efec(0x23a)]=_0x486fc7,this[_0x72efec(0x1cb)]=_0x1ad489,this[_0x72efec(0x240)]=_0x3add16,R(this,_0x72efec(0x276),new N[(_0x72efec(0x1dd))](null)),R(this,_0x72efec(0x22b),this['_historyUniver$'][_0x72efec(0x22a)]()),R(this,_0x72efec(0x290),new e[(_0x72efec(0x1c6))]()),R(this,_0x72efec(0x26f),new Map()),R(this,_0x72efec(0x24a),null),this[_0x72efec(0x26b)]();}get[_0x2a6827(0x265)](){const _0x683e7d=_0x2a6827;return this[_0x683e7d(0x276)][_0x683e7d(0x1eb)];}[_0x2a6827(0x26b)](){const _0x2139aa=_0x2a6827;this[_0x2139aa(0x264)](),this[_0x2139aa(0x1fd)]();}[_0x2a6827(0x264)](){const _0xc8b99d=_0x2a6827;var _0x300936;let _0x3dd6f3=(_0x300936=this[_0xc8b99d(0x23e)]['getConfig'](_0xc8b99d(0x1f4)))==null?'univer-container':_0x300936,_0x941104=document[_0xc8b99d(0x193)](_0x3dd6f3);if(!_0x941104)return;let _0xeac70=document[_0xc8b99d(0x259)](_0xc8b99d(0x24c));_0xeac70['id']=H,_0xeac70[_0xc8b99d(0x1bc)][_0xc8b99d(0x260)]=_0xc8b99d(0x1d9),_0xeac70[_0xc8b99d(0x29b)][_0xc8b99d(0x27e)]=_0xc8b99d(0x289),_0xeac70[_0xc8b99d(0x29b)][_0xc8b99d(0x1f9)]='0',_0xeac70['style'][_0xc8b99d(0x271)]='0',_0xeac70[_0xc8b99d(0x29b)][_0xc8b99d(0x1dc)]='100%',_0xeac70[_0xc8b99d(0x29b)][_0xc8b99d(0x1fa)]=_0xc8b99d(0x294),_0xeac70[_0xc8b99d(0x29b)][_0xc8b99d(0x299)]='49',_0xeac70[_0xc8b99d(0x29b)][_0xc8b99d(0x1ff)]='none',_0x941104[_0xc8b99d(0x1ba)](_0xeac70);}[_0x2a6827(0x1fd)](){const _0x2f0d94=_0x2a6827;[[b['UniverRenderEnginePlugin']],[M['UniverUIPlugin'],{'container':H,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[M['IDialogService'],null]]}],[x['UniverNetworkPlugin']],[_[_0x2f0d94(0x1b9)],{'override':[[_[_0x2f0d94(0x232)],null]]}],[h[_0x2f0d94(0x1bb)],{'hasScroll':!0x1}],[g['UniverDocsUIPlugin']],[k['UniverSheetsNumfmtPlugin']],[t[_0x2f0d94(0x233)],{'notExecuteFormula':!0x0}],[j['UniverSheetsUIPlugin']],[ne['UniverSheetsFormulaPlugin']],[re['UniverSheetsFormulaUIPlugin']],[n[_0x2f0d94(0x1e5)]],[O[_0x2f0d94(0x1ab)]],[te[_0x2f0d94(0x1f1)]],[C[_0x2f0d94(0x21e)]],[ee['UniverSheetsConditionalFormattingUIPlugin']],[ie['UniverSheetsHyperLinkPlugin']],[ae[_0x2f0d94(0x204)]],[p[_0x2f0d94(0x2a5)]],[w[_0x2f0d94(0x1c8)]],[T[_0x2f0d94(0x273)]],[y[_0x2f0d94(0x243)],{'notExecuteFormula':!0x0}],[v[_0x2f0d94(0x198)]],[E[_0x2f0d94(0x1bd)]],[D[_0x2f0d94(0x199)]],[d[_0x2f0d94(0x1d5)]],[f[_0x2f0d94(0x211)]],[o[_0x2f0d94(0x29f)]],[s[_0x2f0d94(0x29a)]],[l['UniverSheetsShapePlugin']],[u[_0x2f0d94(0x251)]],[c[_0x2f0d94(0x1e0)],{'notExecuteFormula':!0x0}],[A['UniverSheetsTablePlugin']]]['forEach'](([_0xe9ce2,_0x2d4dbe])=>this['registerPlugin'](_0xe9ce2,_0x2d4dbe));}[_0x2a6827(0x1c9)](){const _0x262d27=_0x2a6827;super[_0x262d27(0x1c9)](),this[_0x262d27(0x21a)](),this[_0x262d27(0x26f)][_0x262d27(0x24e)]();}[_0x2a6827(0x241)](_0x4db553,_0xe9480f,_0xed6ca9){const _0x41c690=_0x2a6827;if(this[_0x41c690(0x26f)][_0x41c690(0x27a)](_0x4db553[_0x41c690(0x1be)])&&!_0xed6ca9)throw Error(_0x41c690(0x25e)+_0x4db553['pluginName']+_0x41c690(0x237));this['_pluginMap'][_0x41c690(0x224)](_0x4db553[_0x41c690(0x1be)],[_0x4db553,_0xe9480f]);}[_0x2a6827(0x1b5)](){const _0x560427=_0x2a6827;return Array[_0x560427(0x278)](this[_0x560427(0x26f)]['values']());}['mountHistoryContent'](_0x134ca6,_0x4e1793){const _0x5e4f5a=_0x2a6827;let _0x96c14c=document[_0x5e4f5a(0x193)](H);_0x96c14c&&(_0x96c14c[_0x5e4f5a(0x29b)][_0x5e4f5a(0x1ff)]=_0x5e4f5a(0x26e),this[_0x5e4f5a(0x212)](_0x134ca6,H,_0x4e1793));}[_0x2a6827(0x21a)](){const _0x3ea12f=_0x2a6827;var _0x3d5c17;this['_disposableCollection'][_0x3ea12f(0x1c9)](),(_0x3d5c17=this[_0x3ea12f(0x265)])==null||_0x3d5c17[_0x3ea12f(0x1c9)](),this[_0x3ea12f(0x276)][_0x3ea12f(0x275)](null);let _0x37c2c4=document[_0x3ea12f(0x193)](H);_0x37c2c4&&(_0x37c2c4[_0x3ea12f(0x29b)][_0x3ea12f(0x1ff)]='none',this['_internalWebWorker']&&(this[_0x3ea12f(0x24a)][_0x3ea12f(0x283)](),this[_0x3ea12f(0x24a)]=null));}[_0x2a6827(0x212)](_0x43f2ed,_0x463bf2,_0x37da75){const _0x44c662=_0x2a6827;var _0x4b815c,_0x205328,_0x4b5e71,_0x59bb5c,_0x39fda8;if(this[_0x44c662(0x265)])return;let _0xb2f994=new e[(_0x44c662(0x192))]({'locales':{[this[_0x44c662(0x244)]['getCurrentLocale']()]:this[_0x44c662(0x244)][_0x44c662(0x219)]()},'override':[[e[_0x44c662(0x247)],{'useClass':r[_0x44c662(0x1df)]}]]}),_0x3f491=_0xb2f994[_0x44c662(0x20c)]();this['disposeWithMe'](this[_0x44c662(0x240)][_0x44c662(0x263)][_0x44c662(0x285)](_0xdc9e80=>{const _0x4528ef=_0x44c662;_0x3f491[_0x4528ef(0x222)](e[_0x4528ef(0x245)])[_0x4528ef(0x1fb)](_0xdc9e80);})),this[_0x44c662(0x2a7)](this[_0x44c662(0x240)][_0x44c662(0x282)]['subscribe'](_0x1ce2f5=>{const _0x2973f7=_0x44c662;_0x3f491[_0x2973f7(0x222)](e[_0x2973f7(0x245)])[_0x2973f7(0x208)](_0x1ce2f5);})),_0x3f491['get'](e[_0x44c662(0x255)])[_0x44c662(0x19f)](this['_localeService']['getCurrentLocale']()),_0x3f491[_0x44c662(0x222)](e['IConfigService'])[_0x44c662(0x29d)](r['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY'],this[_0x44c662(0x23e)][_0x44c662(0x286)](r['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']));let _0xce5371=this['_configService']['getConfig'](a[_0x44c662(0x267)]);_0xce5371&&_0xb2f994[_0x44c662(0x241)](a[_0x44c662(0x200)],{'license':_0xce5371['ls']});let _0x315d7b=(_0x4b815c=this['_configService'][_0x44c662(0x286)]('edit-history-loader.config'))==null?void 0x0:_0x4b815c[_0x44c662(0x20a)],_0x45e975=!!_0x315d7b;_0x45e975&&(this[_0x44c662(0x24a)]=_0x315d7b instanceof Worker?_0x315d7b:null,_0xb2f994['registerPlugin'](S[_0x44c662(0x269)],{'workerURL':_0x315d7b})),this[_0x44c662(0x26f)][_0x44c662(0x210)](([_0x27c787,_0x2dd816])=>{_0xb2f994['registerPlugin'](_0x27c787,_0x2dd816);}),_0xb2f994[_0x44c662(0x241)](i[_0x44c662(0x1b6)],{'historyListServerUrl':(_0x205328=this['_configService'][_0x44c662(0x286)](_0x44c662(0x1c7)))==null?void 0x0:_0x205328['historyListServerUrl'],'historyPanelComponentKey':(_0x4b5e71=this[_0x44c662(0x23e)]['getConfig'](_0x44c662(0x1c7)))==null?void 0x0:_0x4b5e71[_0x44c662(0x19d)],'historyPanelHidden':(_0x59bb5c=this[_0x44c662(0x23e)]['getConfig'](_0x44c662(0x1c7)))==null?void 0x0:_0x59bb5c['historyPanelHidden'],'historyAIassistantEnabled':(_0x39fda8=this[_0x44c662(0x23e)][_0x44c662(0x286)](_0x44c662(0x1c7)))==null?void 0x0:_0x39fda8['historyAIassistantEnabled']}),_0x3f491[_0x44c662(0x190)](_0xd39d06=>{this['_initListener'](_0xd39d06,_0x43f2ed);}),this[_0x44c662(0x276)][_0x44c662(0x275)](_0xb2f994);let _0xa7b9cd=_0x3f491[_0x44c662(0x222)](i[_0x44c662(0x18d)]),_0x26b1c9=this[_0x44c662(0x1d3)](_0x43f2ed),_0x13b4ce=()=>{const _0x24cd66=_0x44c662;_0x37da75?_0xa7b9cd[_0x24cd66(0x1cd)](_0x43f2ed,_0x463bf2,_0x26b1c9,_0x37da75):_0xa7b9cd[_0x24cd66(0x293)](_0x43f2ed,_0x463bf2,_0x26b1c9);};if(this[_0x44c662(0x1c2)][_0x44c662(0x274)]({'content':this['_localeService']['t'](_0x44c662(0x22e)),'type':m[_0x44c662(0x270)][_0x44c662(0x19a)]}),_0x45e975)try{_0x3f491[_0x44c662(0x222)](S[_0x44c662(0x1a0)])['whenReady']()[_0x44c662(0x1af)](()=>{_0x13b4ce();});}catch{_0x13b4ce();}else _0x13b4ce();}[_0x2a6827(0x24f)](_0x475099,_0x3225c3){const _0x1c9356=_0x2a6827;let _0x3b5efb=_0x475099[_0x1c9356(0x222)](i[_0x1c9356(0x18d)]);this[_0x1c9356(0x290)][_0x1c9356(0x235)](_0x3b5efb[_0x1c9356(0x22f)][_0x1c9356(0x285)](_0x49c155=>{const _0x48a9ac=_0x1c9356;switch(_0x49c155){case i['HistoryModeStatus'][_0x48a9ac(0x1d0)]:this['_dialogService']['closeAll'](),this[_0x48a9ac(0x1cb)][_0x48a9ac(0x19c)]();break;case i[_0x48a9ac(0x213)][_0x48a9ac(0x1b8)]:this['_commandService'][_0x48a9ac(0x1b1)](G['id']),this[_0x48a9ac(0x21a)]();break;case i[_0x48a9ac(0x213)]['Error']:this[_0x48a9ac(0x21a)](),this[_0x48a9ac(0x1c2)][_0x48a9ac(0x274)]({'content':this[_0x48a9ac(0x244)]['t'](_0x48a9ac(0x296)),'type':m['MessageType']['Error'],'duration':0xbb8});break;default:break;}})),this[_0x1c9356(0x290)][_0x1c9356(0x235)](_0x3b5efb[_0x1c9356(0x25a)][_0x1c9356(0x285)](async _0x4e61b4=>{const _0x23b839=_0x1c9356;_0x4e61b4&&this['_commandService'][_0x23b839(0x1b1)](n[_0x23b839(0x191)]['id'],{'unitId':_0x3225c3,'revision':_0x4e61b4});}));}[_0x2a6827(0x1d3)](_0x16ff1d){const _0x28e0e7=_0x2a6827;let _0x881005=this['_univerInstanceService']['getUnit'](_0x16ff1d)['getSheets']()['map'](_0x28a1d5=>_0x28a1d5[_0x28e0e7(0x262)]()),_0x399705=new t[(_0x28e0e7(0x28f))](_0x16ff1d)['id'],_0x209725=_0x881005[_0x28e0e7(0x266)](_0x263d66=>new t[(_0x28e0e7(0x18a))](_0x16ff1d,_0x263d66)['id']),_0xa2af86=_0x881005[_0x28e0e7(0x266)](_0x1a7913=>this[_0x28e0e7(0x195)][_0x28e0e7(0x1ed)](_0x16ff1d,_0x1a7913)[_0x28e0e7(0x266)](_0x137786=>new t[(_0x28e0e7(0x1ec))](_0x16ff1d,_0x1a7913,_0x137786['permissionId'])['id']))[_0x28e0e7(0x268)](),_0x1f5d2f=new t[(_0x28e0e7(0x1d8))](_0x16ff1d)['id'];return this[_0x28e0e7(0x238)][_0x28e0e7(0x1e4)]([_0x399705,..._0x209725,..._0xa2af86,_0x1f5d2f])[_0x28e0e7(0x1d1)](_0x30edc4=>!!_0x30edc4['value']);}};function _0x4d60(){const _0x427be9=['CollaborationEvent','IconManager','asObservable','historyUniver$','Injector','IDialogService','edit-history-loader.info.initializing','status$','Error','getSheets','IImageIoService','UniverSheetsPlugin','Inject','add','mutations','\x20has\x20been\x20registered.','_permissionService','call','_dialogService','values','univerContainerId','[MobileHistoryLoaderService]:\x20Plugin\x20','_configService','UNIVER_UNKNOWN','_themeService','registerPlugin','IMenuManagerService','UniverFormulaEnginePlugin','_localeService','ThemeService','toStringTag','IAuthzIoService','merge','CommandType','_internalWebWorker','getSheetBySheetId','div','SYNCED','clear','_initListener','_historyManagerService','UniverSheetsShapeUIPlugin','getCollabEntity','_setupSubUnitSync','IUniverInstanceService','LocaleService','1063512IOXirO','getSheetCommandTarget','22588NINNsX','createElement','revertRevision$','univer-history-container','getUnitId','_injector','[HistoryLoaderService]:\x20Plugin\x20','UniverMobileUIPlugin','uComp','none','getSheetId','darkMode$','_initContainer','historyUniver','map','LS_CONFIG_KEY','flat','UniverRPCMainThreadPlugin','IURLService','_init','_updateSubUnitFromURLParams','disposeUnit','block','_pluginMap','MessageType','left','getMenuHiddenObservable','UniverSheetsDataValidationUIPlugin','show','next','_historyUniver$','onSteady','from','getCurrentLocale','has','UniverSheetsShapePlugin','EDIT_HISTORY_LOADER_PLUGIN_CONFIG_KEY','ILocalCacheService','position','UniverSheetsNumfmtPlugin','_iconManager','MenuItemType','currentTheme$','terminate','3CmAOlW','subscribe','getConfig','some','_univerInstanceService','absolute','_urlService','4347150NwGXAp','UniverSheetsMobileUIPlugin','_collaborationController','onStarting','WorkbookEditablePermission','_disposableCollection','event$','removeAll','triggerLoadVersions','100%','reload','edit-history-loader.panel.listFetchError','UniverNetworkPlugin','Plugin','zIndex','UniverSheetsChartUIPlugin','style','constructor','setConfig','Module','UniverSheetsChartPlugin','menu','toDisposable','UniverSheetsDataValidationMobileUIPlugin','data','getActiveSheet','UniverDataValidationPlugin','CollaborationController','disposeWithMe','getCurrentUnitOfType','univer.operation.toggle-edit-history','UniverDocsUIPlugin','UniverEditHistoryLoaderMobilePlugin','2WZfuxP','object','WorksheetEditPermission','ICommandService','onCommandExecuted','HistoryManagerService','subunit','UniverEditHistoryLoaderPlugin','invoke','RevertRevisionMutation','Univer','getElementById','1901178SKzcNc','_selectionProtectionRuleModel','224900EBVAcN','UniverSheetsFormulaUIPlugin','UniverDrawingUIPlugin','UniverSheetsDrawingUIPlugin','Loading','Disposable','close','historyPanelComponentKey','OTHERS','setLocale','IRemoteInstanceService','IPermissionService','status','string','session','IConfigService','univer-container','UNIVER_SHEET','registerCommand','unsubscribe','34667GdShUV','UniverSheetsFilterPlugin','type','BUTTON','HistoryIcon','then','takeUntil','executeCommand','_registerIcons','UniverInstanceType','defineProperty','getAllPlugins','UniverEditHistoryViewerPlugin','161JDRhxs','Exited','UniverDrawingPlugin','appendChild','UniverDocsPlugin','dataset','UniverSheetsDrawingPlugin','pluginName','_config','_revertErrorTimer','UniverEditHistoryViewerMobilePlugin','_messageService','CHANGESET_ACK','@univerjs-pro/edit-history-loader','version','DisposableCollection','edit-history-loader.config','UniverSheetsDataValidationPlugin','dispose','loadUnit','_sidebarService','function','triggerCustomVersions','UniverRenderEnginePlugin','dispose$','Entered','every','combineLatest','_checkCanRevert','params','UniverSheetSparklinePlugin','permissionId','urlChange$','WorkbookRecoverHistoryPermission','history-container','length','historyPanelHidden','width','BehaviorSubject','iterator','AuthzIoHttpService','UniverSheetsPivotTablePlugin','prototype','_commandService','UniverSheetsFormulaPlugin','composePermission','UniverCollaborationPlugin','_menuManagerService','Workbook','UNIVER_HISTORY_CONTAINER_ID','_dataLoaderService','state$','value','RangeProtectionPermissionEditPoint','getSubunitRuleList','exhaustSavingTask','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','RangeProtectionRuleModel','UniverSheetsFilterUIPlugin','getUnit','getUnhiddenWorksheets','UNIVER_CONTAINER_ID','edit-history-loader.panel.revertFailed','_updateURLWithCurrentState','RxDisposable','OPERATION','top','height','setDarkMode','setParam','_initPlugins','packageName','display','UniverLicensePlugin','history-panel','mountHistoryContent','107802XXUfJW','UniverSheetsHyperLinkUIPlugin','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','edit-history-loader.panel.reverting','_localCacheService','setTheme','SetWorksheetActivateCommand','workerURL','eventID','__getInjector','CollaborationStatus','IMessageService','decorate','forEach','UniverSheetSparklineUIPlugin','_initUniver','HistoryModeStatus','mergeMenu','univer.operation.exit-edit-history','MobileHistoryLoaderService','getOwnPropertyDescriptor','_handleRevertAcknowledgement','getLocales','unMountHistoryContent','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','ISidebarService','symbol','UniverSheetsConditionalFormattingPlugin','DataLoaderService','activeSheet$','whenReady','get','location','set','fromCollab','ToggleEditHistoryOperation','pipe'];_0x4d60=function(){return _0x427be9;};return _0x4d60();}U=B([z(0x0,(0x0,e[_0x2a6827(0x234)])(e[_0x2a6827(0x255)])),z(0x1,e[_0x2a6827(0x254)]),z(0x2,e['IConfigService']),z(0x3,e[_0x2a6827(0x18b)]),z(0x4,M['IMessageService']),z(0x5,e[_0x2a6827(0x1a1)]),z(0x6,(0x0,e['Inject'])(t[_0x2a6827(0x1f0)])),z(0x7,(0x0,e[_0x2a6827(0x234)])(M['IDialogService'])),z(0x8,(0x0,e[_0x2a6827(0x234)])(M[_0x2a6827(0x21c)])),z(0x9,(0x0,e[_0x2a6827(0x234)])(e[_0x2a6827(0x245)]))],U);const W={'id':_0x2a6827(0x2a9),'type':e[_0x2a6827(0x249)][_0x2a6827(0x1f8)],'handler':_0x11f4f6=>{const _0x310b79=_0x2a6827;let _0xa5b989=_0x11f4f6[_0x310b79(0x222)](U),{unitId:_0x39db9e}=(0x0,t[_0x310b79(0x257)])(_0x11f4f6[_0x310b79(0x222)](e[_0x310b79(0x254)]))||{};return _0x39db9e?(_0xa5b989[_0x310b79(0x202)](_0x39db9e),!0x0):!0x1;}},G={'id':_0x2a6827(0x215),'type':e[_0x2a6827(0x249)][_0x2a6827(0x1f8)],'handler':()=>!0x0};var K=_0x2a6827(0x1c4),le='1.0.0-alpha.1';let q=class extends e['Disposable']{constructor(_0x64edf){const _0xe9f650=_0x2a6827;super(),this[_0xe9f650(0x280)]=_0x64edf,this[_0xe9f650(0x1b2)]();}[_0x2a6827(0x1b2)](){const _0x326fb0=_0x2a6827;this[_0x326fb0(0x2a7)](this[_0x326fb0(0x280)]['register']({'HistoryIcon':oe[_0x326fb0(0x1ae)]}));}};q=B([z(0x0,(0x0,e[_0x2a6827(0x234)])(M[_0x2a6827(0x229)]))],q);function ue(_0x279d7f){const _0x5a1819=_0x2a6827;return{'id':W['id'],'type':M[_0x5a1819(0x281)][_0x5a1819(0x1ad)],'icon':'HistoryIcon','tooltip':'edit-history-loader.panel.title','hidden$':(0x0,M[_0x5a1819(0x272)])(_0x279d7f,e['UniverInstanceType']['UNIVER_SHEET']),'disabled$':(0x0,j['getCurrentRangeDisable$'])(_0x279d7f,{'workbookTypes':[t['WorkbookViewHistoryPermission']],'worksheetTypes':[],'rangeTypes':[]})};}const de={[M['RibbonStartGroup'][_0x2a6827(0x19e)]]:{[W['id']]:{'order':0.2,'menuItemFactory':ue}}};let J=class extends e[_0x2a6827(0x1f7)]{constructor(_0x3d9b70,_0x14d910,_0x3ce9c6,_0x1e4c99,_0xef997c,_0xf93ac6,_0x3adedc,_0x223543,_0x27fc8e,_0x19aa7f){const _0x3da37e=_0x2a6827;super(),this[_0x3da37e(0x1e2)]=_0x3d9b70,this[_0x3da37e(0x1e6)]=_0x14d910,this[_0x3da37e(0x250)]=_0x3ce9c6,this[_0x3da37e(0x244)]=_0x1e4c99,this[_0x3da37e(0x1c2)]=_0xef997c,this[_0x3da37e(0x28d)]=_0xf93ac6,this['_localCacheService']=_0x3adedc,this[_0x3da37e(0x1e9)]=_0x223543,this['_univerInstanceService']=_0x27fc8e,this[_0x3da37e(0x28a)]=_0x19aa7f,R(this,'_revertErrorTimer',null),this[_0x3da37e(0x26b)]();}['_init'](){const _0x30ca3f=_0x2a6827;[W,G][_0x30ca3f(0x210)](_0xe00ae3=>this['disposeWithMe']((0x0,e[_0x30ca3f(0x2a1)])(this['_commandService'][_0x30ca3f(0x1a8)](_0xe00ae3)))),this['_menuManagerService'][_0x30ca3f(0x214)](de),this[_0x30ca3f(0x2a7)](this['_commandService'][_0x30ca3f(0x18c)](async(_0x359186,_0x325a97)=>{const _0xbf09ce=_0x30ca3f;if(_0x359186['id']===n['RevertRevisionMutation']['id']){let {unitId:_0xfdd2c4}=_0x359186[_0xbf09ce(0x1d4)];this[_0xbf09ce(0x1c2)][_0xbf09ce(0x274)]({'content':this[_0xbf09ce(0x244)]['t'](_0xbf09ce(0x206)),'type':m[_0xbf09ce(0x270)][_0xbf09ce(0x19a)],'duration':0x1388});let _0x413b64=this['_collaborationController']['getCollabEntity'](_0xfdd2c4);_0x325a97!=null&&_0x325a97[_0xbf09ce(0x225)]?this[_0xbf09ce(0x218)](_0x413b64,async()=>(setTimeout(()=>window[_0xbf09ce(0x223)][_0xbf09ce(0x295)]()),!0x0),!0x0):this[_0xbf09ce(0x218)](_0x413b64,async()=>{const _0x973761=_0xbf09ce;let _0x264588=this[_0x973761(0x288)]['getCurrentUnitOfType'](e[_0x973761(0x1b3)]['UNIVER_SHEET']),_0x11292c=_0x264588==null?void 0x0:_0x264588[_0x973761(0x2a4)]();if(!_0x11292c)return!0x1;this[_0x973761(0x288)][_0x973761(0x26d)](_0xfdd2c4);let _0x49ae8d=await this[_0x973761(0x1e9)][_0x973761(0x1ca)](_0xfdd2c4,e[_0x973761(0x1b3)]['UNIVER_SHEET']);return _0x49ae8d&&_0x49ae8d instanceof e[_0x973761(0x1e7)]?(await this[_0x973761(0x253)](_0x49ae8d,_0x11292c['getSheetId']()),!0x0):!0x1;});}}));}[_0x2a6827(0x218)](_0x4a933a,_0x722c40,_0x3e7241=!0x1){const _0x286f43=_0x2a6827;let _0x45d32f=(0x0,N[_0x286f43(0x1d2)])([_0x4a933a[_0x286f43(0x1a4)]['event$'],_0x4a933a['state$']])[_0x286f43(0x285)](async([_0x803a07,_0x173ba1])=>{const _0x1af0cb=_0x286f43;if(_0x803a07['eventID']===n[_0x1af0cb(0x228)][_0x1af0cb(0x1c3)]&&(_0x173ba1==null?void 0x0:_0x173ba1[_0x1af0cb(0x1a2)])===r[_0x1af0cb(0x20d)]['SYNCED']&&_0x803a07[_0x1af0cb(0x2a3)][_0x1af0cb(0x236)][_0x1af0cb(0x287)](_0xefb22d=>_0xefb22d['id']===n[_0x1af0cb(0x191)]['id'])&&await _0x722c40()){var _0x30539a;this['_historyManagerService'][_0x1af0cb(0x21a)](),_0x45d32f[_0x1af0cb(0x1a9)](),this[_0x1af0cb(0x1c0)]&&clearTimeout(this['_revertErrorTimer']),await((_0x30539a=this[_0x1af0cb(0x207)])==null?void 0x0:_0x30539a[_0x1af0cb(0x1ee)]()),this[_0x1af0cb(0x1c2)][_0x1af0cb(0x292)]();}});_0x3e7241&&(this[_0x286f43(0x1c0)]=setTimeout(()=>{const _0x21d043=_0x286f43;_0x45d32f[_0x21d043(0x1a9)](),this['_messageService'][_0x21d043(0x274)]({'content':this['_localeService']['t'](_0x21d043(0x1f5)),'type':m['MessageType']['Error'],'duration':0xbb8});},0x1388));}async[_0x2a6827(0x253)](_0x322c73,_0x57e3bc){const _0x404799=_0x2a6827;await this[_0x404799(0x26c)](_0x322c73,_0x57e3bc),_0x322c73[_0x404799(0x220)][_0x404799(0x227)]((0x0,N['takeUntil'])(this['dispose$']))[_0x404799(0x285)](_0x161259=>{_0x161259&&this['_updateURLWithCurrentState'](_0x161259);}),this['_urlService'][_0x404799(0x1d7)]['pipe']((0x0,N[_0x404799(0x1b0)])(this[_0x404799(0x1cf)]))['subscribe'](()=>this[_0x404799(0x26c)](_0x322c73,_0x57e3bc));}['_updateURLWithCurrentState'](_0xadaf91,_0x10df00=!0x1){const _0x336b62=_0x2a6827;let _0xc5df02=this['_urlService']['getParam'](_0x336b62(0x18e));_0xadaf91[_0x336b62(0x262)]()!==_0xc5df02&&this['_urlService'][_0x336b62(0x1fc)]('subunit',_0xadaf91['getSheetId'](),_0x10df00);}async[_0x2a6827(0x26c)](_0xc7aa49,_0x4a7970){const _0x7a8647=_0x2a6827;var _0x15aeef;if(!_0x4a7970||!_0xc7aa49[_0x7a8647(0x24b)](_0x4a7970)){let _0x343ca0=_0xc7aa49['getUnhiddenWorksheets']()[0x0],_0x327884=_0xc7aa49['getSheetBySheetId'](_0x343ca0);if(!_0x327884)return;this[_0x7a8647(0x1f6)](_0x327884,!0x0),await this['_commandService'][_0x7a8647(0x1b1)](t['SetWorksheetActivateCommand']['id'],{'unitId':_0xc7aa49['getUnitId'](),'subUnitId':_0x343ca0});return;}((_0x15aeef=_0xc7aa49['getActiveSheet']())==null?void 0x0:_0x15aeef[_0x7a8647(0x262)]())!==_0x4a7970&&await this[_0x7a8647(0x1e2)][_0x7a8647(0x1b1)](t['SetWorksheetActivateCommand']['id'],{'unitId':_0xc7aa49[_0x7a8647(0x25c)](),'subUnitId':_0x4a7970});}};J=B([z(0x0,e['ICommandService']),z(0x1,M['IMenuManagerService']),z(0x2,(0x0,e[_0x2a6827(0x234)])(U)),z(0x3,(0x0,e[_0x2a6827(0x234)])(e[_0x2a6827(0x255)])),z(0x4,M[_0x2a6827(0x20e)]),z(0x5,(0x0,e[_0x2a6827(0x234)])(r[_0x2a6827(0x2a6)])),z(0x6,r['ILocalCacheService']),z(0x7,(0x0,e[_0x2a6827(0x234)])(r[_0x2a6827(0x21f)])),z(0x8,e[_0x2a6827(0x254)]),z(0x9,P[_0x2a6827(0x26a)])],J);const Y='univer-history-container-mobile';let X=class extends e[_0x2a6827(0x19b)]{constructor(_0x366e4d,_0x3a8118,_0x4ae3e5,_0x10bd24,_0x56bce5,_0x556d93,_0x1b080c,_0x3ba3ea,_0x197497,_0x57e9f3){const _0x277b1e=_0x2a6827;super(),this[_0x277b1e(0x244)]=_0x366e4d,this[_0x277b1e(0x288)]=_0x3a8118,this[_0x277b1e(0x23e)]=_0x4ae3e5,this[_0x277b1e(0x1e2)]=_0x10bd24,this[_0x277b1e(0x1c2)]=_0x56bce5,this[_0x277b1e(0x238)]=_0x556d93,this[_0x277b1e(0x195)]=_0x1b080c,this[_0x277b1e(0x23a)]=_0x3ba3ea,this['_sidebarService']=_0x197497,this[_0x277b1e(0x240)]=_0x57e9f3,R(this,_0x277b1e(0x276),new N['BehaviorSubject'](null)),R(this,_0x277b1e(0x22b),this[_0x277b1e(0x276)]['asObservable']()),R(this,_0x277b1e(0x290),new e[(_0x277b1e(0x1c6))]()),R(this,_0x277b1e(0x26f),new Map()),R(this,'_internalWebWorker',null),this[_0x277b1e(0x26b)]();}get[_0x2a6827(0x265)](){const _0x377dd0=_0x2a6827;return this[_0x377dd0(0x276)][_0x377dd0(0x1eb)];}['_init'](){const _0x767610=_0x2a6827;this[_0x767610(0x264)](),this[_0x767610(0x1fd)]();}[_0x2a6827(0x264)](){const _0x13297d=_0x2a6827;var _0x299c28;let _0x2a9772=(_0x299c28=this[_0x13297d(0x23e)][_0x13297d(0x286)](_0x13297d(0x1f4)))==null?_0x13297d(0x1a6):_0x299c28,_0x4462c9=document['getElementById'](_0x2a9772);if(!_0x4462c9)return;let _0x44669e=document['createElement']('div');_0x44669e['id']=Y,_0x44669e[_0x13297d(0x1bc)][_0x13297d(0x260)]=_0x13297d(0x1d9),_0x44669e['style'][_0x13297d(0x27e)]=_0x13297d(0x289),_0x44669e[_0x13297d(0x29b)][_0x13297d(0x1f9)]='0',_0x44669e[_0x13297d(0x29b)][_0x13297d(0x271)]='0',_0x44669e[_0x13297d(0x29b)]['width']='100%',_0x44669e[_0x13297d(0x29b)][_0x13297d(0x1fa)]='100%',_0x44669e[_0x13297d(0x29b)]['zIndex']='49',_0x44669e[_0x13297d(0x29b)][_0x13297d(0x1ff)]=_0x13297d(0x261),_0x4462c9['appendChild'](_0x44669e);}[_0x2a6827(0x1fd)](){const _0x55c898=_0x2a6827;[[b[_0x55c898(0x1ce)]],[M[_0x55c898(0x25f)],{'container':Y,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[M[_0x55c898(0x22d)],null]]}],[x[_0x55c898(0x297)]],[_[_0x55c898(0x1b9)],{'override':[[_[_0x55c898(0x232)],null]]}],[h['UniverDocsPlugin'],{'hasScroll':!0x1}],[g[_0x55c898(0x186)]],[k[_0x55c898(0x27f)]],[t['UniverSheetsPlugin'],{'notExecuteFormula':!0x0}],[j[_0x55c898(0x28c)]],[ne[_0x55c898(0x1e3)]],[re[_0x55c898(0x197)]],[n['UniverCollaborationPlugin']],[O[_0x55c898(0x1ab)]],[C[_0x55c898(0x21e)]],[ie['UniverSheetsHyperLinkPlugin']],[ae[_0x55c898(0x204)]],[p['UniverDataValidationPlugin']],[w[_0x55c898(0x1c8)]],[T[_0x55c898(0x2a2)]],[y[_0x55c898(0x243)],{'notExecuteFormula':!0x0}],[v[_0x55c898(0x198)]],[E[_0x55c898(0x1bd)]],[D['UniverSheetsDrawingUIPlugin']],[d[_0x55c898(0x1d5)]],[f[_0x55c898(0x211)]],[o['UniverSheetsChartPlugin']],[s[_0x55c898(0x29a)]],[l[_0x55c898(0x27b)]],[u[_0x55c898(0x251)]],[c[_0x55c898(0x1e0)],{'notExecuteFormula':!0x0}],[A['UniverSheetsTablePlugin']]]['forEach'](([_0x84174a,_0x289abd])=>this['registerPlugin'](_0x84174a,_0x289abd));}['dispose'](){const _0x18daa9=_0x2a6827;super[_0x18daa9(0x1c9)](),this['unMountHistoryContent'](),this[_0x18daa9(0x26f)][_0x18daa9(0x24e)]();}['registerPlugin'](_0x1e8b05,_0x7472c,_0x1ebaa4){const _0x2f146a=_0x2a6827;if(this[_0x2f146a(0x26f)][_0x2f146a(0x27a)](_0x1e8b05[_0x2f146a(0x1be)])&&!_0x1ebaa4)throw Error(_0x2f146a(0x23d)+_0x1e8b05[_0x2f146a(0x1be)]+'\x20has\x20been\x20registered.');this[_0x2f146a(0x26f)][_0x2f146a(0x224)](_0x1e8b05['pluginName'],[_0x1e8b05,_0x7472c]);}['getAllPlugins'](){const _0xc347d2=_0x2a6827;return Array[_0xc347d2(0x278)](this['_pluginMap'][_0xc347d2(0x23b)]());}['mountHistoryContent'](_0x416b86,_0x516f80){const _0x243315=_0x2a6827;let _0x2c4735=document[_0x243315(0x193)](Y);_0x2c4735&&(_0x2c4735['style'][_0x243315(0x1ff)]=_0x243315(0x26e),this['_initUniver'](_0x416b86,Y,_0x516f80));}['unMountHistoryContent'](){const _0x129b51=_0x2a6827;var _0x27b3a6;this[_0x129b51(0x290)][_0x129b51(0x1c9)](),(_0x27b3a6=this['historyUniver'])==null||_0x27b3a6[_0x129b51(0x1c9)](),this[_0x129b51(0x276)][_0x129b51(0x275)](null);let _0x272d13=document['getElementById'](Y);_0x272d13&&(_0x272d13['style'][_0x129b51(0x1ff)]='none',this['_internalWebWorker']&&(this[_0x129b51(0x24a)][_0x129b51(0x283)](),this[_0x129b51(0x24a)]=null));}['_initUniver'](_0x1bb883,_0x376991,_0x152d6a){const _0x46a30c=_0x2a6827;var _0x87cf15,_0x18b24a,_0x1abd8b,_0x1587f4;if(this[_0x46a30c(0x265)])return;let _0x69737b=new e[(_0x46a30c(0x192))]({'locales':{[this[_0x46a30c(0x244)]['getCurrentLocale']()]:this[_0x46a30c(0x244)][_0x46a30c(0x219)]()},'override':[[e[_0x46a30c(0x247)],{'useClass':r[_0x46a30c(0x1df)]}]]}),_0x2f40f9=_0x69737b[_0x46a30c(0x20c)]();this[_0x46a30c(0x2a7)](this['_themeService'][_0x46a30c(0x263)][_0x46a30c(0x285)](_0x556558=>{const _0x497908=_0x46a30c;_0x2f40f9[_0x497908(0x222)](e[_0x497908(0x245)])[_0x497908(0x1fb)](_0x556558);})),this[_0x46a30c(0x2a7)](this[_0x46a30c(0x240)][_0x46a30c(0x282)][_0x46a30c(0x285)](_0x364508=>{const _0xf4867=_0x46a30c;_0x2f40f9[_0xf4867(0x222)](e[_0xf4867(0x245)])['setTheme'](_0x364508);})),_0x2f40f9['get'](e[_0x46a30c(0x255)])[_0x46a30c(0x19f)](this['_localeService'][_0x46a30c(0x279)]()),_0x2f40f9['get'](e[_0x46a30c(0x1a5)])['setConfig'](r[_0x46a30c(0x205)],this['_configService']['getConfig'](r[_0x46a30c(0x205)]));let _0x4bb7dd=this[_0x46a30c(0x23e)]['getConfig'](a[_0x46a30c(0x267)]);_0x4bb7dd&&_0x69737b[_0x46a30c(0x241)](a['UniverLicensePlugin'],{'license':_0x4bb7dd['ls']});let _0x50ea61=(_0x87cf15=this[_0x46a30c(0x23e)][_0x46a30c(0x286)](_0x46a30c(0x1c7)))==null?void 0x0:_0x87cf15[_0x46a30c(0x20a)],_0x2499a6=!!_0x50ea61;_0x2499a6&&(this['_internalWebWorker']=_0x50ea61 instanceof Worker?_0x50ea61:null,_0x69737b[_0x46a30c(0x241)](S[_0x46a30c(0x269)],{'workerURL':_0x50ea61})),this['_pluginMap'][_0x46a30c(0x210)](([_0x14fafb,_0xc4bf67])=>{_0x69737b['registerPlugin'](_0x14fafb,_0xc4bf67);}),_0x69737b[_0x46a30c(0x241)](i[_0x46a30c(0x1c1)],{'historyListServerUrl':(_0x18b24a=this['_configService'][_0x46a30c(0x286)]('edit-history-loader.config'))==null?void 0x0:_0x18b24a['historyListServerUrl'],'historyPanelComponentKey':(_0x1abd8b=this[_0x46a30c(0x23e)][_0x46a30c(0x286)](_0x46a30c(0x1c7)))==null?void 0x0:_0x1abd8b[_0x46a30c(0x19d)],'historyPanelHidden':(_0x1587f4=this[_0x46a30c(0x23e)]['getConfig']('edit-history-loader.config'))==null?void 0x0:_0x1587f4[_0x46a30c(0x1db)]}),_0x2f40f9[_0x46a30c(0x190)](_0x1e16d1=>{const _0x12342e=_0x46a30c;this[_0x12342e(0x24f)](_0x1e16d1,_0x1bb883);}),this[_0x46a30c(0x276)][_0x46a30c(0x275)](_0x69737b);let _0x141217=_0x2f40f9[_0x46a30c(0x222)](i[_0x46a30c(0x18d)]),_0x325942=this['_checkCanRevert'](_0x1bb883),_0x5557f5=()=>{const _0x1e3fe2=_0x46a30c;_0x152d6a?_0x141217[_0x1e3fe2(0x1cd)](_0x1bb883,_0x376991,_0x325942,_0x152d6a):_0x141217[_0x1e3fe2(0x293)](_0x1bb883,_0x376991,_0x325942);};if(this[_0x46a30c(0x1c2)][_0x46a30c(0x274)]({'content':this[_0x46a30c(0x244)]['t'](_0x46a30c(0x22e)),'type':m[_0x46a30c(0x270)][_0x46a30c(0x19a)]}),_0x2499a6)try{_0x2f40f9[_0x46a30c(0x222)](S[_0x46a30c(0x1a0)])[_0x46a30c(0x221)]()[_0x46a30c(0x1af)](()=>{_0x5557f5();});}catch{_0x5557f5();}else _0x5557f5();}[_0x2a6827(0x24f)](_0x50b830,_0x4832fa){const _0x5ab439=_0x2a6827;let _0x12210b=_0x50b830['get'](i[_0x5ab439(0x18d)]);this[_0x5ab439(0x290)]['add'](_0x12210b['status$'][_0x5ab439(0x285)](_0x5d874a=>{const _0x1a2f94=_0x5ab439;switch(_0x5d874a){case i[_0x1a2f94(0x213)]['Entered']:this[_0x1a2f94(0x23a)]['closeAll'](),this[_0x1a2f94(0x1cb)]['close']();break;case i[_0x1a2f94(0x213)][_0x1a2f94(0x1b8)]:this[_0x1a2f94(0x1e2)]['executeCommand'](G['id']),this[_0x1a2f94(0x21a)]();break;case i[_0x1a2f94(0x213)]['Error']:this[_0x1a2f94(0x21a)](),this['_messageService'][_0x1a2f94(0x274)]({'content':this['_localeService']['t'](_0x1a2f94(0x296)),'type':m[_0x1a2f94(0x270)]['Error'],'duration':0xbb8});break;default:break;}})),this[_0x5ab439(0x290)][_0x5ab439(0x235)](_0x12210b['revertRevision$'][_0x5ab439(0x285)](async _0x3af8c7=>{const _0x1532f3=_0x5ab439;_0x3af8c7&&this[_0x1532f3(0x1e2)]['executeCommand'](n[_0x1532f3(0x191)]['id'],{'unitId':_0x4832fa,'revision':_0x3af8c7});}));}[_0x2a6827(0x1d3)](_0x2e2818){const _0x20f05e=_0x2a6827;let _0x4d823d=this[_0x20f05e(0x288)][_0x20f05e(0x1f2)](_0x2e2818)[_0x20f05e(0x231)]()[_0x20f05e(0x266)](_0xb43594=>_0xb43594[_0x20f05e(0x262)]()),_0x75834d=new t[(_0x20f05e(0x28f))](_0x2e2818)['id'],_0x2ba854=_0x4d823d[_0x20f05e(0x266)](_0x151914=>new t[(_0x20f05e(0x18a))](_0x2e2818,_0x151914)['id']),_0x2e6333=_0x4d823d[_0x20f05e(0x266)](_0x115982=>this[_0x20f05e(0x195)][_0x20f05e(0x1ed)](_0x2e2818,_0x115982)[_0x20f05e(0x266)](_0x3eb2c0=>new t[(_0x20f05e(0x1ec))](_0x2e2818,_0x115982,_0x3eb2c0[_0x20f05e(0x1d6)])['id']))[_0x20f05e(0x268)](),_0x4a4efb=new t[(_0x20f05e(0x1d8))](_0x2e2818)['id'];return this[_0x20f05e(0x238)][_0x20f05e(0x1e4)]([_0x75834d,..._0x2ba854,..._0x2e6333,_0x4a4efb])[_0x20f05e(0x1d1)](_0x3b9c28=>!!_0x3b9c28[_0x20f05e(0x1eb)]);}};X=B([z(0x0,(0x0,e[_0x2a6827(0x234)])(e[_0x2a6827(0x255)])),z(0x1,e['IUniverInstanceService']),z(0x2,e[_0x2a6827(0x1a5)]),z(0x3,e[_0x2a6827(0x18b)]),z(0x4,M[_0x2a6827(0x20e)]),z(0x5,e['IPermissionService']),z(0x6,(0x0,e[_0x2a6827(0x234)])(t[_0x2a6827(0x1f0)])),z(0x7,(0x0,e[_0x2a6827(0x234)])(M['IDialogService'])),z(0x8,(0x0,e[_0x2a6827(0x234)])(M['ISidebarService'])),z(0x9,(0x0,e['Inject'])(e[_0x2a6827(0x245)]))],X);let Z=class extends e[_0x2a6827(0x298)]{constructor(_0x4e7fe7=I,_0x5bba15,_0x12e1c2){const _0xbd2ddb=_0x2a6827;super(),this[_0xbd2ddb(0x1bf)]=_0x4e7fe7,this[_0xbd2ddb(0x25d)]=_0x5bba15,this[_0xbd2ddb(0x23e)]=_0x12e1c2;let {menu:_0xbe4870,..._0xdee78b}=(0x0,e['merge'])({},I,this[_0xbd2ddb(0x1bf)]);_0xbe4870&&this['_configService'][_0xbd2ddb(0x29d)](_0xbd2ddb(0x2a0),_0xbe4870,{'merge':!0x0}),this[_0xbd2ddb(0x23e)][_0xbd2ddb(0x29d)](F,_0xdee78b),this[_0xbd2ddb(0x1bf)][_0xbd2ddb(0x23c)]&&this[_0xbd2ddb(0x23e)][_0xbd2ddb(0x29d)](_0xbd2ddb(0x1f4),this[_0xbd2ddb(0x1bf)]['univerContainerId']);}[_0x2a6827(0x28e)](){const _0x45261f=_0x2a6827;this[_0x45261f(0x25d)][_0x45261f(0x235)]([q]),this[_0x45261f(0x25d)][_0x45261f(0x222)](q),[[U,{'useClass':X}],[J]][_0x45261f(0x210)](_0x483e8d=>this[_0x45261f(0x25d)][_0x45261f(0x235)](_0x483e8d));}[_0x2a6827(0x277)](){const _0x50f6a0=_0x2a6827;this[_0x50f6a0(0x25d)][_0x50f6a0(0x222)](J);}};R(Z,'type',e['UniverInstanceType'][_0x2a6827(0x23f)]),R(Z,_0x2a6827(0x1be),'UNIVER_EDIT_HISTORY_LOADER_MOBILE_PLUGIN'),R(Z,_0x2a6827(0x1fe),K),R(Z,_0x2a6827(0x1c5),le),Z=B([(0x0,e['DependentOn'])(a[_0x2a6827(0x200)]),z(0x1,(0x0,e['Inject'])(e[_0x2a6827(0x22c)])),z(0x2,e[_0x2a6827(0x1a5)])],Z);let Q=class extends e[_0x2a6827(0x1f7)]{constructor(_0x2b494a,_0xf789be,_0x4301e0,_0x40500f,_0x5e9810,_0x3dad66,_0x4eb443,_0x10fa3e,_0x4d8ec2,_0x2a4915){const _0x335dec=_0x2a6827;super(),this[_0x335dec(0x1e2)]=_0x2b494a,this[_0x335dec(0x1e6)]=_0xf789be,this[_0x335dec(0x250)]=_0x4301e0,this[_0x335dec(0x244)]=_0x40500f,this[_0x335dec(0x1c2)]=_0x5e9810,this[_0x335dec(0x28d)]=_0x3dad66,this[_0x335dec(0x207)]=_0x4eb443,this[_0x335dec(0x1e9)]=_0x10fa3e,this[_0x335dec(0x288)]=_0x4d8ec2,this[_0x335dec(0x28a)]=_0x2a4915,R(this,_0x335dec(0x1c0),null),this[_0x335dec(0x26b)]();}[_0x2a6827(0x26b)](){const _0x1c906b=_0x2a6827;[W,G][_0x1c906b(0x210)](_0x48cb9c=>this[_0x1c906b(0x2a7)]((0x0,e[_0x1c906b(0x2a1)])(this[_0x1c906b(0x1e2)][_0x1c906b(0x1a8)](_0x48cb9c)))),this[_0x1c906b(0x1e6)][_0x1c906b(0x214)](de),this[_0x1c906b(0x2a7)](this[_0x1c906b(0x1e2)]['onCommandExecuted'](async(_0x22c662,_0x13c1ec)=>{const _0x40ad30=_0x1c906b;if(_0x22c662['id']===n[_0x40ad30(0x191)]['id']){let {unitId:_0x29f59c}=_0x22c662[_0x40ad30(0x1d4)];this[_0x40ad30(0x1c2)][_0x40ad30(0x274)]({'content':this[_0x40ad30(0x244)]['t']('edit-history-loader.panel.reverting'),'type':m[_0x40ad30(0x270)][_0x40ad30(0x19a)],'duration':0x1388});let _0x23497d=this[_0x40ad30(0x28d)][_0x40ad30(0x252)](_0x29f59c);_0x13c1ec!=null&&_0x13c1ec[_0x40ad30(0x225)]?this[_0x40ad30(0x218)](_0x23497d,async()=>(setTimeout(()=>window['location'][_0x40ad30(0x295)]()),!0x0),!0x0):this['_handleRevertAcknowledgement'](_0x23497d,async()=>{const _0x5651e1=_0x40ad30;let _0x568e90=this[_0x5651e1(0x288)][_0x5651e1(0x2a8)](e[_0x5651e1(0x1b3)][_0x5651e1(0x1a7)]),_0x50af9c=_0x568e90==null?void 0x0:_0x568e90['getActiveSheet']();if(!_0x50af9c)return!0x1;this[_0x5651e1(0x288)][_0x5651e1(0x26d)](_0x29f59c);let _0x14ff52=await this[_0x5651e1(0x1e9)][_0x5651e1(0x1ca)](_0x29f59c,e[_0x5651e1(0x1b3)][_0x5651e1(0x1a7)]);return _0x14ff52&&_0x14ff52 instanceof e[_0x5651e1(0x1e7)]?(await this[_0x5651e1(0x253)](_0x14ff52,_0x50af9c[_0x5651e1(0x262)]()),!0x0):!0x1;});}}));}[_0x2a6827(0x218)](_0x2eccee,_0xa1478b,_0xb8efad=!0x1){const _0x4f5c75=_0x2a6827;let _0x3932ae=(0x0,N[_0x4f5c75(0x1d2)])([_0x2eccee[_0x4f5c75(0x1a4)][_0x4f5c75(0x291)],_0x2eccee[_0x4f5c75(0x1ea)]])[_0x4f5c75(0x285)](async([_0x44699e,_0x35a44b])=>{const _0x22c33b=_0x4f5c75;if(_0x44699e[_0x22c33b(0x20b)]===n['CollaborationEvent'][_0x22c33b(0x1c3)]&&(_0x35a44b==null?void 0x0:_0x35a44b[_0x22c33b(0x1a2)])===r['CollaborationStatus'][_0x22c33b(0x24d)]&&_0x44699e[_0x22c33b(0x2a3)]['mutations']['some'](_0x4f2949=>_0x4f2949['id']===n['RevertRevisionMutation']['id'])&&await _0xa1478b()){var _0x3d4fa7;this[_0x22c33b(0x250)]['unMountHistoryContent'](),_0x3932ae[_0x22c33b(0x1a9)](),this[_0x22c33b(0x1c0)]&&clearTimeout(this[_0x22c33b(0x1c0)]),await((_0x3d4fa7=this[_0x22c33b(0x207)])==null?void 0x0:_0x3d4fa7[_0x22c33b(0x1ee)]());}});_0xb8efad&&(this[_0x4f5c75(0x1c0)]=setTimeout(()=>{const _0x435f96=_0x4f5c75;_0x3932ae['unsubscribe'](),this[_0x435f96(0x1c2)][_0x435f96(0x274)]({'content':this[_0x435f96(0x244)]['t'](_0x435f96(0x1f5)),'type':m['MessageType'][_0x435f96(0x230)],'duration':0xbb8});},0x1388));}async[_0x2a6827(0x253)](_0x27ac71,_0xad5df){const _0x3f6095=_0x2a6827;await this[_0x3f6095(0x26c)](_0x27ac71,_0xad5df),_0x27ac71[_0x3f6095(0x220)][_0x3f6095(0x227)]((0x0,N[_0x3f6095(0x1b0)])(this[_0x3f6095(0x1cf)]))[_0x3f6095(0x285)](_0x543360=>{_0x543360&&this['_updateURLWithCurrentState'](_0x543360);}),this[_0x3f6095(0x28a)]['urlChange$'][_0x3f6095(0x227)]((0x0,N[_0x3f6095(0x1b0)])(this[_0x3f6095(0x1cf)]))[_0x3f6095(0x285)](()=>this[_0x3f6095(0x26c)](_0x27ac71,_0xad5df));}[_0x2a6827(0x1f6)](_0x4de9d0,_0x32fe52=!0x1){const _0x4bce14=_0x2a6827;let _0x5b5f7f=this['_urlService']['getParam']('subunit');_0x4de9d0['getSheetId']()!==_0x5b5f7f&&this[_0x4bce14(0x28a)][_0x4bce14(0x1fc)]('subunit',_0x4de9d0[_0x4bce14(0x262)](),_0x32fe52);}async[_0x2a6827(0x26c)](_0x2b885b,_0x59ec4b){const _0x4a5cbf=_0x2a6827;var _0x366987;if(!_0x59ec4b||!_0x2b885b[_0x4a5cbf(0x24b)](_0x59ec4b)){let _0x5767b8=_0x2b885b[_0x4a5cbf(0x1f3)]()[0x0],_0x4898f8=_0x2b885b[_0x4a5cbf(0x24b)](_0x5767b8);if(!_0x4898f8)return;this[_0x4a5cbf(0x1f6)](_0x4898f8,!0x0),await this[_0x4a5cbf(0x1e2)]['executeCommand'](t[_0x4a5cbf(0x209)]['id'],{'unitId':_0x2b885b[_0x4a5cbf(0x25c)](),'subUnitId':_0x5767b8});return;}((_0x366987=_0x2b885b[_0x4a5cbf(0x2a4)]())==null?void 0x0:_0x366987[_0x4a5cbf(0x262)]())!==_0x59ec4b&&await this[_0x4a5cbf(0x1e2)]['executeCommand'](t[_0x4a5cbf(0x209)]['id'],{'unitId':_0x2b885b['getUnitId'](),'subUnitId':_0x59ec4b});}};Q=B([z(0x0,e[_0x2a6827(0x18b)]),z(0x1,M[_0x2a6827(0x242)]),z(0x2,(0x0,e[_0x2a6827(0x234)])(U)),z(0x3,(0x0,e[_0x2a6827(0x234)])(e['LocaleService'])),z(0x4,M[_0x2a6827(0x20e)]),z(0x5,(0x0,e['Inject'])(r[_0x2a6827(0x2a6)])),z(0x6,r[_0x2a6827(0x27d)]),z(0x7,(0x0,e[_0x2a6827(0x234)])(r[_0x2a6827(0x21f)])),z(0x8,e['IUniverInstanceService']),z(0x9,P[_0x2a6827(0x26a)])],Q);function _0x3209(_0x4664ec,_0x483b57){_0x4664ec=_0x4664ec-0x186;const _0x4d6046=_0x4d60();let _0x320996=_0x4d6046[_0x4664ec];return _0x320996;}let $=class extends e[_0x2a6827(0x298)]{constructor(_0x900561=I,_0x363917,_0x10ee3e){const _0x3e5b91=_0x2a6827;super(),this[_0x3e5b91(0x1bf)]=_0x900561,this[_0x3e5b91(0x25d)]=_0x363917,this[_0x3e5b91(0x23e)]=_0x10ee3e;let {menu:_0x3998f5,..._0x1f4b39}=(0x0,e[_0x3e5b91(0x248)])({},I,this['_config']);_0x3998f5&&this[_0x3e5b91(0x23e)][_0x3e5b91(0x29d)](_0x3e5b91(0x2a0),_0x3998f5,{'merge':!0x0}),this[_0x3e5b91(0x23e)][_0x3e5b91(0x29d)](F,_0x1f4b39),this[_0x3e5b91(0x1bf)][_0x3e5b91(0x23c)]&&this[_0x3e5b91(0x23e)][_0x3e5b91(0x29d)](V,this['_config'][_0x3e5b91(0x23c)]);}[_0x2a6827(0x28e)](){const _0x2cd2ac=_0x2a6827;this[_0x2cd2ac(0x25d)]['add']([q]),this[_0x2cd2ac(0x25d)][_0x2cd2ac(0x222)](q),[[U],[Q]][_0x2cd2ac(0x210)](_0xe4f23c=>this['_injector'][_0x2cd2ac(0x235)](_0xe4f23c));}[_0x2a6827(0x277)](){const _0x2ddc7e=_0x2a6827;this[_0x2ddc7e(0x25d)][_0x2ddc7e(0x222)](Q);}};R($,_0x2a6827(0x1ac),e[_0x2a6827(0x1b3)][_0x2a6827(0x23f)]),R($,_0x2a6827(0x1be),_0x2a6827(0x21b)),R($,_0x2a6827(0x1fe),K),R($,_0x2a6827(0x1c5),le),$=B([(0x0,e['DependentOn'])(a[_0x2a6827(0x200)]),z(0x1,(0x0,e['Inject'])(e[_0x2a6827(0x22c)])),z(0x2,e['IConfigService'])],$),exports[_0x2a6827(0x27c)]=F,Object[_0x2a6827(0x1b4)](exports,'HistoryLoaderService',{'enumerable':!0x0,'get':function(){return U;}}),Object[_0x2a6827(0x1b4)](exports,_0x2a6827(0x216),{'enumerable':!0x0,'get':function(){return X;}}),exports[_0x2a6827(0x226)]=W,exports['UNIVER_CONTAINER_ID_KEY']=V,exports[_0x2a6827(0x1e8)]=H,Object[_0x2a6827(0x1b4)](exports,_0x2a6827(0x187),{'enumerable':!0x0,'get':function(){return Z;}}),Object[_0x2a6827(0x1b4)](exports,_0x2a6827(0x18f),{'enumerable':!0x0,'get':function(){return $;}});
|
|
1
|
+
const _0x27a5d8=_0x56fc;(function(_0x87779a,_0x28b0fe){const _0x4e0d97=_0x56fc,_0x487a45=_0x87779a();while(!![]){try{const _0x31dea2=-parseInt(_0x4e0d97(0xfb))/0x1+parseInt(_0x4e0d97(0x136))/0x2*(parseInt(_0x4e0d97(0x157))/0x3)+-parseInt(_0x4e0d97(0x110))/0x4*(-parseInt(_0x4e0d97(0x177))/0x5)+parseInt(_0x4e0d97(0x16a))/0x6*(-parseInt(_0x4e0d97(0x104))/0x7)+parseInt(_0x4e0d97(0x123))/0x8+-parseInt(_0x4e0d97(0x121))/0x9*(-parseInt(_0x4e0d97(0x9f))/0xa)+-parseInt(_0x4e0d97(0xac))/0xb;if(_0x31dea2===_0x28b0fe)break;else _0x487a45['push'](_0x487a45['shift']());}catch(_0x387ce0){_0x487a45['push'](_0x487a45['shift']());}}}(_0x1d74,0xddd05),Object['defineProperty'](exports,Symbol[_0x27a5d8(0x7f)],{'value':_0x27a5d8(0xbd)}));let e=require('@univerjs/core'),t=require('@univerjs/sheets'),n=require('@univerjs-pro/collaboration'),r=require('@univerjs-pro/collaboration-client'),i=require('@univerjs-pro/edit-history-viewer'),a=require('@univerjs-pro/license'),o=require('@univerjs-pro/sheets-chart'),s=require('@univerjs-pro/sheets-chart-ui'),c=require('@univerjs-pro/sheets-pivot'),l=require('@univerjs-pro/sheets-shape'),u=require('@univerjs-pro/sheets-shape-ui'),d=require('@univerjs-pro/sheets-sparkline'),f=require('@univerjs-pro/sheets-sparkline-ui'),p=require('@univerjs/data-validation'),m=require('@univerjs/design'),h=require('@univerjs/docs'),g=require('@univerjs/docs-ui'),_=require('@univerjs/drawing'),v=require('@univerjs/drawing-ui'),y=require('@univerjs/engine-formula'),b=require('@univerjs/engine-render'),x=require('@univerjs/network'),S=require('@univerjs/rpc'),C=require('@univerjs/sheets-conditional-formatting'),ee=require('@univerjs/sheets-conditional-formatting-ui'),w=require('@univerjs/sheets-data-validation'),T=require('@univerjs/sheets-data-validation-ui'),E=require('@univerjs/sheets-drawing'),D=require('@univerjs/sheets-drawing-ui'),O=require('@univerjs/sheets-filter'),te=require('@univerjs/sheets-filter-ui'),ne=require('@univerjs/sheets-formula'),re=require('@univerjs/sheets-formula-ui'),ie=require('@univerjs/sheets-hyper-link'),ae=require('@univerjs/sheets-hyper-link-ui'),oe=require('@univerjs/sheets-numfmt'),k=require('@univerjs/sheets-table'),A=require('@univerjs/sheets-ui'),j=require('@univerjs/ui'),M=require('rxjs'),se=require('@univerjs/icons'),N=require('@univerjs-pro/collaboration-client-ui');const P=_0x27a5d8(0x185),F={'historyPanelComponentKey':'history-panel'};function I(_0x58951a){const _0x8c2910=_0x27a5d8;let _0x562749=_0x58951a[_0x8c2910(0xbb)]();return{'locale':_0x562749,'locales':{[_0x562749]:_0x58951a[_0x8c2910(0x122)]()},'direction':_0x58951a[_0x8c2910(0xc9)]()};}function L(_0x284f08,_0x2fafca){const _0x838763=_0x27a5d8;let _0x2f7319=_0x2fafca['getDirection']();_0x284f08[_0x838763(0x115)]=_0x2f7319,_0x284f08[_0x838763(0xae)]['direction']=_0x2f7319;}function R(_0x364a87){'@babel/helpers - typeof';const _0x10c252=_0x27a5d8;return R=typeof Symbol==_0x10c252(0x139)&&typeof Symbol[_0x10c252(0x17d)]==_0x10c252(0x153)?function(_0x49f35d){return typeof _0x49f35d;}:function(_0x52194c){const _0xfa16cb=_0x10c252;return _0x52194c&&typeof Symbol=='function'&&_0x52194c[_0xfa16cb(0x10e)]===Symbol&&_0x52194c!==Symbol[_0xfa16cb(0x11a)]?_0xfa16cb(0x153):typeof _0x52194c;},R(_0x364a87);}function ce(_0x3c7cc1,_0x480144){const _0xd2b647=_0x27a5d8;if(R(_0x3c7cc1)!='object'||!_0x3c7cc1)return _0x3c7cc1;var _0x24ae9f=_0x3c7cc1[Symbol[_0xd2b647(0x130)]];if(_0x24ae9f!==void 0x0){var _0x7b091d=_0x24ae9f[_0xd2b647(0x11f)](_0x3c7cc1,_0x480144||'default');if(R(_0x7b091d)!=_0xd2b647(0x112))return _0x7b091d;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x480144==='string'?String:Number)(_0x3c7cc1);}function le(_0x44d6b2){const _0x13d5d9=_0x27a5d8;var _0x33482b=ce(_0x44d6b2,_0x13d5d9(0x193));return R(_0x33482b)==_0x13d5d9(0x153)?_0x33482b:_0x33482b+'';}function z(_0x282da8,_0x3452c8,_0x18205b){const _0x2de9bc=_0x27a5d8;return(_0x3452c8=le(_0x3452c8))in _0x282da8?Object[_0x2de9bc(0x142)](_0x282da8,_0x3452c8,{'value':_0x18205b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x282da8[_0x3452c8]=_0x18205b,_0x282da8;}function B(_0x148250,_0x22bcbc){return function(_0x355f0e,_0x53920c){_0x22bcbc(_0x355f0e,_0x53920c,_0x148250);};}function _0x1d74(){const _0x5d3af3=['4496930oyHIMH','close','[MobileHistoryLoaderService]:\x20Plugin\x20','HistoryLoaderService','MenuItemType','unMountHistoryContent','_disposableCollection','absolute','_historyManagerService','type','MessageType','onStarting','RibbonStartGroup','13052853Kneldj','loadUnit','style','CollaborationStatus','UniverSheetsDrawingUIPlugin','getElementById','__getInjector','getCurrentUnitOfType','IRemoteInstanceService','getSheetId','Univer','univer-history-container-mobile','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UniverSheetsShapePlugin','UniverSheetsMobileUIPlugin','getCurrentLocale','urlChange$','Module','UniverSheetSparklinePlugin','get','top','WorkbookRecoverHistoryPermission','_initListener','HistoryModeStatus','subunit','IDialogService','_localCacheService','setDarkMode','uComp','getDirection','RangeProtectionPermissionEditPoint','getUnhiddenWorksheets','Entered','has','executeCommand','_internalWebWorker','UniverSheetsDataValidationMobileUIPlugin','setLocale','Workbook','_permissionService','getCollabEntity','ThemeService','_dataLoaderService','_urlService','DependentOn','UniverSheetsFilterPlugin','menu','_initUniver','_selectionProtectionRuleModel','\x20has\x20been\x20registered.','UniverDocsUIPlugin','IUniverInstanceService','historyListServerUrl','height','CommandType','width','currentTheme$','combineLatest','UniverMobileUIPlugin','none','Error','_configService','UniverSheetsConditionalFormattingPlugin','setConfig','unsubscribe','Inject','activeSheet$','subscribe','_injector','CollaborationEvent','_handleRevertAcknowledgement','map','getParam','_setupSubUnitSync','edit-history-loader.panel.listFetchError','LocaleService','AuthzIoHttpService','@univerjs-pro/edit-history-loader','RxDisposable','204250UOYOHO','triggerLoadVersions','_updateSubUnitFromURLParams','_init','UniverSheetsFormulaPlugin','display','edit-history-loader.panel.reverting','add','univer.operation.exit-edit-history','7OSoCeA','show','setTheme','darkMode$','mountHistoryContent','WorkbookViewHistoryPermission','permissionId','IAuthzIoService','location','div','constructor','IMessageService','2168GlpgUP','WorksheetEditPermission','object','UniverSheetsPlugin','UniverSheetsPivotTablePlugin','dir','_historyUniver$','set','UniverNetworkPlugin','historyPanelHidden','prototype','flat','CollaborationController','disposeUnit','UniverSheetsDataValidationPlugin','call','univerContainerId','18luItSD','getLocales','2305920jlSUjl','UniverDocsPlugin','IImageIoService','forEach','UNIVER_EDIT_HISTORY_LOADER_MOBILE_PLUGIN','UniverDataValidationPlugin','_checkCanRevert','_pluginMap','values','register','_themeService','RangeProtectionRuleModel','LS_CONFIG_KEY','toPrimitive','reload','IURLService','UniverUIPlugin','removeAll','left','2055814GBUUFN','IMenuManagerService','UniverSheetsConditionalFormattingUIPlugin','function','_menuManagerService','_messageService','historyUniver','createElement','historyAIassistantEnabled','_iconManager','session','_sidebarService','defineProperty','UNIVER_CONTAINER_ID','data','UniverSheetsChartPlugin','UniverFormulaEnginePlugin','getUnitId','edit-history-loader.panel.revertFailed','UniverDrawingUIPlugin','state$','mutations','UniverSheetsFormulaUIPlugin','UniverLicensePlugin','_registerIcons','ILocalCacheService','_commandService','then','getActiveSheet','symbol','zIndex','HistoryIcon','IPermissionService','3rfzPod','DataLoaderService','RevertRevisionMutation','mergeMenu','WorkbookEditablePermission','edit-history-loader.info.initializing','toDisposable','revertRevision$','ICommandService','registerPlugin','_localeService','disposeWithMe','UNIVER_SHEET','onCommandExecuted','clear','exhaustSavingTask','getOwnPropertyDescriptor','_config','from','6394158TruJMd','Disposable','triggerCustomVersions','length','100%','closeAll','BehaviorSubject','ISidebarService','decorate','event$','asObservable','terminate','UniverSheetsShapeUIPlugin','10605LbwHYF','_revertErrorTimer','onSteady','status','UniverSheetsTablePlugin','composePermission','iterator','pipe','DisposableCollection','UniverRenderEnginePlugin','Injector','_collaborationController','value','univer-container','edit-history-loader.config','_initContainer','getMenuHiddenObservable','getConfig','pluginName','getUnit','UniverSheetsChartUIPlugin','_initPlugins','params','dispose','UniverRPCMainThreadPlugin','status$','SYNCED','workerURL','string','Exited','EDIT_HISTORY_LOADER_PLUGIN_CONFIG_KEY','whenReady','merge','UniverSheetSparklineUIPlugin','Loading','OPERATION','every','version','fromCollab','UniverSheetsHyperLinkUIPlugin','MobileHistoryLoaderService','some','toStringTag','_updateURLWithCurrentState','_univerInstanceService','dispose$','historyPanelComponentKey','dataset','UniverInstanceType','getSheetBySheetId','UniverSheetsHyperLinkPlugin','UNIVER_HISTORY_CONTAINER_ID','IconManager','UniverSheetsDrawingPlugin','UNIVER_UNKNOWN','IConfigService','SetWorksheetActivateCommand','UniverEditHistoryViewerMobilePlugin','takeUntil','HistoryManagerService','position','UniverEditHistoryLoaderMobilePlugin','UniverSheetsUIPlugin','eventID','1.0.0-alpha.2','edit-history-loader.panel.title','next','getAllPlugins','invoke','appendChild','CHANGESET_ACK','registerCommand','getSheets','_dialogService'];_0x1d74=function(){return _0x5d3af3;};return _0x1d74();}function V(_0x5a20d6,_0x20003b,_0x4e77a1,_0x1bc6da){const _0x2782dc=_0x27a5d8;var _0x4a6c28=arguments['length'],_0x502feb=_0x4a6c28<0x3?_0x20003b:_0x1bc6da===null?_0x1bc6da=Object[_0x2782dc(0x167)](_0x20003b,_0x4e77a1):_0x1bc6da,_0x270049;if(typeof Reflect=='object'&&typeof Reflect[_0x2782dc(0x172)]==_0x2782dc(0x139))_0x502feb=Reflect[_0x2782dc(0x172)](_0x5a20d6,_0x20003b,_0x4e77a1,_0x1bc6da);else{for(var _0x2ba7ad=_0x5a20d6[_0x2782dc(0x16d)]-0x1;_0x2ba7ad>=0x0;_0x2ba7ad--)(_0x270049=_0x5a20d6[_0x2ba7ad])&&(_0x502feb=(_0x4a6c28<0x3?_0x270049(_0x502feb):_0x4a6c28>0x3?_0x270049(_0x20003b,_0x4e77a1,_0x502feb):_0x270049(_0x20003b,_0x4e77a1))||_0x502feb);}return _0x4a6c28>0x3&&_0x502feb&&Object['defineProperty'](_0x20003b,_0x4e77a1,_0x502feb),_0x502feb;}const H=_0x27a5d8(0x143),U='univer-history-container';let W=class extends e['Disposable']{constructor(_0x5523e5,_0x24a008,_0x307d9e,_0x844ce9,_0x3b5d8a,_0x18e1c1,_0x44e5a7,_0x25dacd,_0x4cf072,_0x330b84){const _0x155460=_0x27a5d8;super(),this[_0x155460(0x161)]=_0x5523e5,this[_0x155460(0x81)]=_0x24a008,this[_0x155460(0xe9)]=_0x307d9e,this[_0x155460(0x150)]=_0x844ce9,this[_0x155460(0x13b)]=_0x3b5d8a,this['_permissionService']=_0x18e1c1,this[_0x155460(0xdc)]=_0x44e5a7,this[_0x155460(0x9e)]=_0x25dacd,this['_sidebarService']=_0x4cf072,this[_0x155460(0x12d)]=_0x330b84,z(this,'_historyUniver$',new M[(_0x155460(0x170))](null)),z(this,'historyUniver$',this[_0x155460(0x116)][_0x155460(0x174)]()),z(this,_0x155460(0xa5),new e[(_0x155460(0x17f))]()),z(this,_0x155460(0x12a),new Map()),z(this,'_internalWebWorker',null),this[_0x155460(0xfe)]();}get[_0x27a5d8(0x13c)](){const _0x35a55d=_0x27a5d8;return this[_0x35a55d(0x116)][_0x35a55d(0x183)];}[_0x27a5d8(0xfe)](){const _0x2f279a=_0x27a5d8;this[_0x2f279a(0x186)](),this[_0x2f279a(0x18c)]();}[_0x27a5d8(0x186)](){const _0x564fd7=_0x27a5d8;var _0x559508;let _0xa858e0=(_0x559508=this['_configService']['getConfig'](_0x564fd7(0x143)))==null?_0x564fd7(0x184):_0x559508,_0x55db7d=document['getElementById'](_0xa858e0);if(!_0x55db7d)return;let _0x3810ea=document[_0x564fd7(0x13d)](_0x564fd7(0x10d));_0x3810ea['id']=U,_0x3810ea['dataset']['uComp']='history-container',_0x3810ea[_0x564fd7(0xae)]['position']=_0x564fd7(0xa6),_0x3810ea['style'][_0x564fd7(0xc0)]='0',_0x3810ea['style'][_0x564fd7(0x135)]='0',_0x3810ea[_0x564fd7(0xae)][_0x564fd7(0xe3)]='100%',_0x3810ea[_0x564fd7(0xae)][_0x564fd7(0xe1)]='100%',_0x3810ea[_0x564fd7(0xae)][_0x564fd7(0x154)]='49',_0x3810ea['style'][_0x564fd7(0x100)]=_0x564fd7(0xe7),L(_0x3810ea,this['_localeService']),_0x55db7d[_0x564fd7(0x9a)](_0x3810ea);}[_0x27a5d8(0x18c)](){const _0x42a644=_0x27a5d8;[[b[_0x42a644(0x180)]],[j[_0x42a644(0x133)],{'container':U,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[j[_0x42a644(0xc5)],null]]}],[x[_0x42a644(0x118)]],[_['UniverDrawingPlugin'],{'override':[[_[_0x42a644(0x125)],null]]}],[h[_0x42a644(0x124)],{'hasScroll':!0x1}],[g['UniverDocsUIPlugin']],[oe['UniverSheetsNumfmtPlugin']],[t[_0x42a644(0x113)],{'notExecuteFormula':!0x0}],[A[_0x42a644(0x93)]],[ne[_0x42a644(0xff)]],[re[_0x42a644(0x14c)]],[n['UniverCollaborationPlugin']],[O[_0x42a644(0xd9)]],[te['UniverSheetsFilterUIPlugin']],[C[_0x42a644(0xea)]],[ee[_0x42a644(0x138)]],[ie[_0x42a644(0x87)]],[ae[_0x42a644(0x7c)]],[p[_0x42a644(0x128)]],[w[_0x42a644(0x11e)]],[T['UniverSheetsDataValidationUIPlugin']],[y[_0x42a644(0x146)],{'notExecuteFormula':!0x0}],[v[_0x42a644(0x149)]],[E[_0x42a644(0x8a)]],[D[_0x42a644(0xb0)]],[d[_0x42a644(0xbe)]],[f[_0x42a644(0x198)]],[o[_0x42a644(0x145)]],[s['UniverSheetsChartUIPlugin']],[l[_0x42a644(0xb9)]],[u['UniverSheetsShapeUIPlugin']],[c['UniverSheetsPivotTablePlugin'],{'notExecuteFormula':!0x0}],[k[_0x42a644(0x17b)]]][_0x42a644(0x126)](([_0x3ac03b,_0x20e2be])=>this['registerPlugin'](_0x3ac03b,_0x20e2be));}['dispose'](){const _0x234029=_0x27a5d8;super[_0x234029(0x18e)](),this[_0x234029(0xa4)](),this[_0x234029(0x12a)][_0x234029(0x165)]();}['registerPlugin'](_0x39cf92,_0x355bb8,_0x36d5d5){const _0x36807b=_0x27a5d8;if(this['_pluginMap'][_0x36807b(0xcd)](_0x39cf92[_0x36807b(0x189)])&&!_0x36d5d5)throw Error('[HistoryLoaderService]:\x20Plugin\x20'+_0x39cf92['pluginName']+'\x20has\x20been\x20registered.');this[_0x36807b(0x12a)][_0x36807b(0x117)](_0x39cf92[_0x36807b(0x189)],[_0x39cf92,_0x355bb8]);}['getAllPlugins'](){const _0x1b9b4a=_0x27a5d8;return Array[_0x1b9b4a(0x169)](this['_pluginMap'][_0x1b9b4a(0x12b)]());}[_0x27a5d8(0x108)](_0x54e6b5,_0x25fd33){const _0x41142c=_0x27a5d8;let _0x5bf367=document[_0x41142c(0xb1)](U);_0x5bf367&&(_0x5bf367['style'][_0x41142c(0x100)]='block',this[_0x41142c(0xdb)](_0x54e6b5,U,_0x25fd33));}[_0x27a5d8(0xa4)](){const _0x1d2cf2=_0x27a5d8;var _0x560b5e;this[_0x1d2cf2(0xa5)][_0x1d2cf2(0x18e)](),(_0x560b5e=this[_0x1d2cf2(0x13c)])==null||_0x560b5e[_0x1d2cf2(0x18e)](),this[_0x1d2cf2(0x116)]['next'](null);let _0x59a2ab=document[_0x1d2cf2(0xb1)](U);_0x59a2ab&&(_0x59a2ab[_0x1d2cf2(0xae)][_0x1d2cf2(0x100)]=_0x1d2cf2(0xe7),this[_0x1d2cf2(0xcf)]&&(this[_0x1d2cf2(0xcf)][_0x1d2cf2(0x175)](),this['_internalWebWorker']=null));}[_0x27a5d8(0xdb)](_0x499a9a,_0x49adbf,_0x28af2b){const _0x74755=_0x27a5d8;var _0x19a46a,_0x5c533c,_0x2b1466,_0x8e3d57,_0x37a3c9;if(this[_0x74755(0x13c)])return;let _0x39265b=new e[(_0x74755(0xb6))]({...I(this['_localeService']),'override':[[e[_0x74755(0x10b)],{'useClass':r[_0x74755(0xf8)]}]]}),_0xc2268a=_0x39265b['__getInjector']();this[_0x74755(0x162)](this['_themeService'][_0x74755(0x107)][_0x74755(0xef)](_0x456d62=>{const _0x8c38b8=_0x74755;_0xc2268a['get'](e[_0x8c38b8(0xd5)])['setDarkMode'](_0x456d62);})),this[_0x74755(0x162)](this[_0x74755(0x12d)][_0x74755(0xe4)][_0x74755(0xef)](_0x9d31ab=>{const _0x3912ec=_0x74755;_0xc2268a[_0x3912ec(0xbf)](e['ThemeService'])[_0x3912ec(0x106)](_0x9d31ab);}));let _0x147c3a=_0xc2268a[_0x74755(0xbf)](e[_0x74755(0xf7)]);_0x147c3a[_0x74755(0xd1)](this[_0x74755(0x161)][_0x74755(0xbb)]()),_0x147c3a['setDirection'](this[_0x74755(0x161)][_0x74755(0xc9)]()),_0xc2268a['get'](e[_0x74755(0x8c)])[_0x74755(0xeb)](r[_0x74755(0xb8)],this['_configService'][_0x74755(0x188)](r[_0x74755(0xb8)]));let _0x1297ae=this[_0x74755(0xe9)][_0x74755(0x188)](a[_0x74755(0x12f)]);_0x1297ae&&_0x39265b[_0x74755(0x160)](a[_0x74755(0x14d)],{'license':_0x1297ae['ls']});let _0x117db2=(_0x19a46a=this[_0x74755(0xe9)]['getConfig'](_0x74755(0x185)))==null?void 0x0:_0x19a46a[_0x74755(0x192)],_0x31738b=!!_0x117db2;_0x31738b&&(this[_0x74755(0xcf)]=_0x117db2 instanceof Worker?_0x117db2:null,_0x39265b[_0x74755(0x160)](S[_0x74755(0x18f)],{'workerURL':_0x117db2})),this[_0x74755(0x12a)][_0x74755(0x126)](([_0xa9a22a,_0x32b3c5])=>{const _0x3b0fc0=_0x74755;_0x39265b[_0x3b0fc0(0x160)](_0xa9a22a,_0x32b3c5);}),_0x39265b[_0x74755(0x160)](i['UniverEditHistoryViewerPlugin'],{'historyListServerUrl':(_0x5c533c=this[_0x74755(0xe9)][_0x74755(0x188)](_0x74755(0x185)))==null?void 0x0:_0x5c533c['historyListServerUrl'],'historyPanelComponentKey':(_0x2b1466=this[_0x74755(0xe9)][_0x74755(0x188)](_0x74755(0x185)))==null?void 0x0:_0x2b1466[_0x74755(0x83)],'historyPanelHidden':(_0x8e3d57=this[_0x74755(0xe9)][_0x74755(0x188)]('edit-history-loader.config'))==null?void 0x0:_0x8e3d57[_0x74755(0x119)],'historyAIassistantEnabled':(_0x37a3c9=this[_0x74755(0xe9)][_0x74755(0x188)](_0x74755(0x185)))==null?void 0x0:_0x37a3c9[_0x74755(0x13e)]}),_0xc2268a['invoke'](_0x57ab28=>{this['_initListener'](_0x57ab28,_0x499a9a);}),this['_historyUniver$']['next'](_0x39265b);let _0x4be6f2=_0xc2268a[_0x74755(0xbf)](i[_0x74755(0x90)]),_0x32311c=this[_0x74755(0x129)](_0x499a9a),_0x28751e=()=>{_0x28af2b?_0x4be6f2['triggerCustomVersions'](_0x499a9a,_0x49adbf,_0x32311c,_0x28af2b):_0x4be6f2['triggerLoadVersions'](_0x499a9a,_0x49adbf,_0x32311c);};if(this[_0x74755(0x13b)][_0x74755(0x105)]({'content':this[_0x74755(0x161)]['t']('edit-history-loader.info.initializing'),'type':m[_0x74755(0xa9)]['Loading']}),_0x31738b)try{_0xc2268a[_0x74755(0xbf)](S[_0x74755(0xb4)])[_0x74755(0x196)]()['then'](()=>{_0x28751e();});}catch{_0x28751e();}else _0x28751e();}[_0x27a5d8(0xc2)](_0x5be8cf,_0x526c93){const _0x155f24=_0x27a5d8;let _0x238751=_0x5be8cf['get'](i[_0x155f24(0x90)]);this[_0x155f24(0xa5)][_0x155f24(0x102)](_0x238751['status$'][_0x155f24(0xef)](_0x298dfe=>{const _0x4c70d2=_0x155f24;switch(_0x298dfe){case i[_0x4c70d2(0xc3)]['Entered']:this[_0x4c70d2(0x9e)][_0x4c70d2(0x16f)](),this[_0x4c70d2(0x141)]['close']();break;case i[_0x4c70d2(0xc3)][_0x4c70d2(0x194)]:this[_0x4c70d2(0x150)][_0x4c70d2(0xce)](K['id']),this[_0x4c70d2(0xa4)]();break;case i[_0x4c70d2(0xc3)][_0x4c70d2(0xe8)]:this[_0x4c70d2(0xa4)](),this['_messageService'][_0x4c70d2(0x105)]({'content':this[_0x4c70d2(0x161)]['t'](_0x4c70d2(0xf6)),'type':m[_0x4c70d2(0xa9)][_0x4c70d2(0xe8)],'duration':0xbb8});break;default:break;}})),this[_0x155f24(0xa5)][_0x155f24(0x102)](_0x238751['revertRevision$'][_0x155f24(0xef)](async _0x5a6f84=>{const _0x140066=_0x155f24;_0x5a6f84&&this[_0x140066(0x150)][_0x140066(0xce)](n[_0x140066(0x159)]['id'],{'unitId':_0x526c93,'revision':_0x5a6f84});}));}[_0x27a5d8(0x129)](_0x11d82f){const _0x28f4d2=_0x27a5d8;let _0x2ad20d=this['_univerInstanceService'][_0x28f4d2(0x18a)](_0x11d82f)[_0x28f4d2(0x9d)]()['map'](_0x2fd12d=>_0x2fd12d[_0x28f4d2(0xb5)]()),_0x5567d0=new t[(_0x28f4d2(0x15b))](_0x11d82f)['id'],_0x4cdb34=_0x2ad20d['map'](_0x329b1b=>new t[(_0x28f4d2(0x111))](_0x11d82f,_0x329b1b)['id']),_0xb82b31=_0x2ad20d[_0x28f4d2(0xf3)](_0x1a5626=>this[_0x28f4d2(0xdc)]['getSubunitRuleList'](_0x11d82f,_0x1a5626)[_0x28f4d2(0xf3)](_0x2ba45b=>new t[(_0x28f4d2(0xca))](_0x11d82f,_0x1a5626,_0x2ba45b[_0x28f4d2(0x10a)])['id']))['flat'](),_0x298b56=new t[(_0x28f4d2(0xc1))](_0x11d82f)['id'];return this[_0x28f4d2(0xd3)][_0x28f4d2(0x17c)]([_0x5567d0,..._0x4cdb34,..._0xb82b31,_0x298b56])[_0x28f4d2(0x79)](_0x2707c0=>!!_0x2707c0[_0x28f4d2(0x183)]);}};W=V([B(0x0,(0x0,e[_0x27a5d8(0xed)])(e[_0x27a5d8(0xf7)])),B(0x1,e[_0x27a5d8(0xdf)]),B(0x2,e[_0x27a5d8(0x8c)]),B(0x3,e[_0x27a5d8(0x15f)]),B(0x4,j['IMessageService']),B(0x5,e[_0x27a5d8(0x156)]),B(0x6,(0x0,e[_0x27a5d8(0xed)])(t['RangeProtectionRuleModel'])),B(0x7,(0x0,e['Inject'])(j['IDialogService'])),B(0x8,(0x0,e[_0x27a5d8(0xed)])(j['ISidebarService'])),B(0x9,(0x0,e['Inject'])(e[_0x27a5d8(0xd5)]))],W);const G={'id':'univer.operation.toggle-edit-history','type':e['CommandType'][_0x27a5d8(0x19a)],'handler':_0x2ca9c5=>{const _0x371a65=_0x27a5d8;let _0xd9cea4=_0x2ca9c5[_0x371a65(0xbf)](W),{unitId:_0x2042a1}=(0x0,t['getSheetCommandTarget'])(_0x2ca9c5[_0x371a65(0xbf)](e['IUniverInstanceService']))||{};return _0x2042a1?(_0xd9cea4[_0x371a65(0x108)](_0x2042a1),!0x0):!0x1;}},K={'id':_0x27a5d8(0x103),'type':e[_0x27a5d8(0xe2)][_0x27a5d8(0x19a)],'handler':()=>!0x0};var ue=_0x27a5d8(0xf9),de=_0x27a5d8(0x95);let q=class extends e['Disposable']{constructor(_0x4c3bc6){const _0x33754b=_0x27a5d8;super(),this[_0x33754b(0x13f)]=_0x4c3bc6,this[_0x33754b(0x14e)]();}[_0x27a5d8(0x14e)](){const _0x423133=_0x27a5d8;this[_0x423133(0x162)](this[_0x423133(0x13f)][_0x423133(0x12c)]({'HistoryIcon':se[_0x423133(0x155)]}));}};q=V([B(0x0,(0x0,e[_0x27a5d8(0xed)])(j[_0x27a5d8(0x89)]))],q);function fe(_0x5f368d){const _0x208599=_0x27a5d8;return{'id':G['id'],'type':j[_0x208599(0xa3)]['BUTTON'],'icon':_0x208599(0x155),'tooltip':_0x208599(0x96),'hidden$':(0x0,j[_0x208599(0x187)])(_0x5f368d,e[_0x208599(0x85)][_0x208599(0x163)]),'disabled$':(0x0,A['getCurrentRangeDisable$'])(_0x5f368d,{'workbookTypes':[t[_0x208599(0x109)]],'worksheetTypes':[],'rangeTypes':[]})};}const pe={[j[_0x27a5d8(0xab)]['OTHERS']]:{[G['id']]:{'order':0.2,'menuItemFactory':fe}}};let J=class extends e[_0x27a5d8(0xfa)]{constructor(_0x194cc4,_0x1d3396,_0x5975c8,_0x380e19,_0x544dc0,_0x224436,_0x17f300,_0x2501aa,_0x2a09fd,_0x3f8327){const _0x34d1b9=_0x27a5d8;super(),this['_commandService']=_0x194cc4,this[_0x34d1b9(0x13a)]=_0x1d3396,this[_0x34d1b9(0xa7)]=_0x5975c8,this[_0x34d1b9(0x161)]=_0x380e19,this[_0x34d1b9(0x13b)]=_0x544dc0,this['_collaborationController']=_0x224436,this[_0x34d1b9(0xc6)]=_0x17f300,this[_0x34d1b9(0xd6)]=_0x2501aa,this[_0x34d1b9(0x81)]=_0x2a09fd,this[_0x34d1b9(0xd7)]=_0x3f8327,z(this,_0x34d1b9(0x178),null),this['_init']();}[_0x27a5d8(0xfe)](){const _0x179c24=_0x27a5d8;[G,K][_0x179c24(0x126)](_0x515e6c=>this[_0x179c24(0x162)]((0x0,e['toDisposable'])(this['_commandService'][_0x179c24(0x9c)](_0x515e6c)))),this[_0x179c24(0x13a)]['mergeMenu'](pe),this[_0x179c24(0x162)](this['_commandService']['onCommandExecuted'](async(_0x30365e,_0x14c326)=>{const _0x46d2fe=_0x179c24;if(_0x30365e['id']===n['RevertRevisionMutation']['id']){let {unitId:_0x58f76f}=_0x30365e[_0x46d2fe(0x18d)];this[_0x46d2fe(0x13b)][_0x46d2fe(0x105)]({'content':this['_localeService']['t'](_0x46d2fe(0x101)),'type':m[_0x46d2fe(0xa9)][_0x46d2fe(0x199)],'duration':0x1388});let _0x33c5b4=this[_0x46d2fe(0x182)]['getCollabEntity'](_0x58f76f);_0x14c326!=null&&_0x14c326[_0x46d2fe(0x7b)]?this[_0x46d2fe(0xf2)](_0x33c5b4,async()=>(setTimeout(()=>window[_0x46d2fe(0x10c)]['reload']()),!0x0),!0x0):this[_0x46d2fe(0xf2)](_0x33c5b4,async()=>{const _0x3e14e9=_0x46d2fe;let _0xfae0a1=this[_0x3e14e9(0x81)]['getCurrentUnitOfType'](e[_0x3e14e9(0x85)][_0x3e14e9(0x163)]),_0x17029d=_0xfae0a1==null?void 0x0:_0xfae0a1[_0x3e14e9(0x152)]();if(!_0x17029d)return!0x1;this['_univerInstanceService'][_0x3e14e9(0x11d)](_0x58f76f);let _0x1acca2=await this[_0x3e14e9(0xd6)][_0x3e14e9(0xad)](_0x58f76f,e['UniverInstanceType']['UNIVER_SHEET']);return _0x1acca2&&_0x1acca2 instanceof e[_0x3e14e9(0xd2)]?(await this['_setupSubUnitSync'](_0x1acca2,_0x17029d[_0x3e14e9(0xb5)]()),!0x0):!0x1;});}}));}[_0x27a5d8(0xf2)](_0x69f654,_0x1f6fb7,_0x3a01e3=!0x1){const _0x492c2e=_0x27a5d8;let _0x2bc527=(0x0,M[_0x492c2e(0xe5)])([_0x69f654[_0x492c2e(0x140)][_0x492c2e(0x173)],_0x69f654[_0x492c2e(0x14a)]])[_0x492c2e(0xef)](async([_0xb259db,_0x23136a])=>{const _0x22ed00=_0x492c2e;if(_0xb259db[_0x22ed00(0x94)]===n['CollaborationEvent'][_0x22ed00(0x9b)]&&(_0x23136a==null?void 0x0:_0x23136a['status'])===r[_0x22ed00(0xaf)][_0x22ed00(0x191)]&&_0xb259db[_0x22ed00(0x144)][_0x22ed00(0x14b)][_0x22ed00(0x7e)](_0x26a5fa=>_0x26a5fa['id']===n[_0x22ed00(0x159)]['id'])&&await _0x1f6fb7()){var _0x681a58;this[_0x22ed00(0xa7)][_0x22ed00(0xa4)](),_0x2bc527['unsubscribe'](),this['_revertErrorTimer']&&clearTimeout(this['_revertErrorTimer']),await((_0x681a58=this[_0x22ed00(0xc6)])==null?void 0x0:_0x681a58['exhaustSavingTask']()),this['_messageService'][_0x22ed00(0x134)]();}});_0x3a01e3&&(this['_revertErrorTimer']=setTimeout(()=>{const _0xe56976=_0x492c2e;_0x2bc527[_0xe56976(0xec)](),this[_0xe56976(0x13b)]['show']({'content':this[_0xe56976(0x161)]['t']('edit-history-loader.panel.revertFailed'),'type':m[_0xe56976(0xa9)][_0xe56976(0xe8)],'duration':0xbb8});},0x1388));}async['_setupSubUnitSync'](_0x1e9689,_0x3cf026){const _0x47114c=_0x27a5d8;await this[_0x47114c(0xfd)](_0x1e9689,_0x3cf026),_0x1e9689[_0x47114c(0xee)]['pipe']((0x0,M[_0x47114c(0x8f)])(this[_0x47114c(0x82)]))['subscribe'](_0x4df551=>{_0x4df551&&this['_updateURLWithCurrentState'](_0x4df551);}),this[_0x47114c(0xd7)][_0x47114c(0xbc)][_0x47114c(0x17e)]((0x0,M[_0x47114c(0x8f)])(this[_0x47114c(0x82)]))['subscribe'](()=>this[_0x47114c(0xfd)](_0x1e9689,_0x3cf026));}[_0x27a5d8(0x80)](_0x1e692e,_0x5233dd=!0x1){const _0x2646e7=_0x27a5d8;let _0x527abd=this[_0x2646e7(0xd7)][_0x2646e7(0xf4)]('subunit');_0x1e692e[_0x2646e7(0xb5)]()!==_0x527abd&&this['_urlService']['setParam'](_0x2646e7(0xc4),_0x1e692e[_0x2646e7(0xb5)](),_0x5233dd);}async[_0x27a5d8(0xfd)](_0xd17fdc,_0x467c1c){const _0x58f808=_0x27a5d8;var _0x5da153;if(!_0x467c1c||!_0xd17fdc[_0x58f808(0x86)](_0x467c1c)){let _0x3c1cc4=_0xd17fdc['getUnhiddenWorksheets']()[0x0],_0x47beb6=_0xd17fdc[_0x58f808(0x86)](_0x3c1cc4);if(!_0x47beb6)return;this[_0x58f808(0x80)](_0x47beb6,!0x0),await this['_commandService'][_0x58f808(0xce)](t[_0x58f808(0x8d)]['id'],{'unitId':_0xd17fdc[_0x58f808(0x147)](),'subUnitId':_0x3c1cc4});return;}((_0x5da153=_0xd17fdc[_0x58f808(0x152)]())==null?void 0x0:_0x5da153[_0x58f808(0xb5)]())!==_0x467c1c&&await this[_0x58f808(0x150)][_0x58f808(0xce)](t['SetWorksheetActivateCommand']['id'],{'unitId':_0xd17fdc['getUnitId'](),'subUnitId':_0x467c1c});}};J=V([B(0x0,e[_0x27a5d8(0x15f)]),B(0x1,j[_0x27a5d8(0x137)]),B(0x2,(0x0,e[_0x27a5d8(0xed)])(W)),B(0x3,(0x0,e[_0x27a5d8(0xed)])(e[_0x27a5d8(0xf7)])),B(0x4,j['IMessageService']),B(0x5,(0x0,e[_0x27a5d8(0xed)])(r[_0x27a5d8(0x11c)])),B(0x6,r[_0x27a5d8(0x14f)]),B(0x7,(0x0,e[_0x27a5d8(0xed)])(r[_0x27a5d8(0x158)])),B(0x8,e[_0x27a5d8(0xdf)]),B(0x9,N[_0x27a5d8(0x132)])],J);const Y=_0x27a5d8(0xb7);let X=class extends e[_0x27a5d8(0x16b)]{constructor(_0x598ab5,_0xf8ba7b,_0x54bb2c,_0x3cc38e,_0x17f342,_0x5da0ca,_0x518ce4,_0x6fd8fd,_0x588b25,_0x437e7b){const _0x5e6bb9=_0x27a5d8;super(),this[_0x5e6bb9(0x161)]=_0x598ab5,this['_univerInstanceService']=_0xf8ba7b,this[_0x5e6bb9(0xe9)]=_0x54bb2c,this['_commandService']=_0x3cc38e,this[_0x5e6bb9(0x13b)]=_0x17f342,this['_permissionService']=_0x5da0ca,this['_selectionProtectionRuleModel']=_0x518ce4,this['_dialogService']=_0x6fd8fd,this['_sidebarService']=_0x588b25,this['_themeService']=_0x437e7b,z(this,_0x5e6bb9(0x116),new M[(_0x5e6bb9(0x170))](null)),z(this,'historyUniver$',this[_0x5e6bb9(0x116)][_0x5e6bb9(0x174)]()),z(this,_0x5e6bb9(0xa5),new e[(_0x5e6bb9(0x17f))]()),z(this,_0x5e6bb9(0x12a),new Map()),z(this,'_internalWebWorker',null),this[_0x5e6bb9(0xfe)]();}get[_0x27a5d8(0x13c)](){const _0xb2576d=_0x27a5d8;return this['_historyUniver$'][_0xb2576d(0x183)];}['_init'](){const _0x219d3d=_0x27a5d8;this[_0x219d3d(0x186)](),this[_0x219d3d(0x18c)]();}[_0x27a5d8(0x186)](){const _0x2f9a4d=_0x27a5d8;var _0x968c43;let _0xc34f9a=(_0x968c43=this[_0x2f9a4d(0xe9)][_0x2f9a4d(0x188)](_0x2f9a4d(0x143)))==null?'univer-container':_0x968c43,_0x507677=document[_0x2f9a4d(0xb1)](_0xc34f9a);if(!_0x507677)return;let _0x202111=document['createElement'](_0x2f9a4d(0x10d));_0x202111['id']=Y,_0x202111[_0x2f9a4d(0x84)][_0x2f9a4d(0xc8)]='history-container',_0x202111['style'][_0x2f9a4d(0x91)]=_0x2f9a4d(0xa6),_0x202111[_0x2f9a4d(0xae)]['top']='0',_0x202111[_0x2f9a4d(0xae)][_0x2f9a4d(0x135)]='0',_0x202111['style']['width']=_0x2f9a4d(0x16e),_0x202111[_0x2f9a4d(0xae)][_0x2f9a4d(0xe1)]=_0x2f9a4d(0x16e),_0x202111['style']['zIndex']='49',_0x202111['style'][_0x2f9a4d(0x100)]=_0x2f9a4d(0xe7),L(_0x202111,this[_0x2f9a4d(0x161)]),_0x507677['appendChild'](_0x202111);}[_0x27a5d8(0x18c)](){const _0x4c2581=_0x27a5d8;[[b['UniverRenderEnginePlugin']],[j[_0x4c2581(0xe6)],{'container':Y,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[j['IDialogService'],null]]}],[x[_0x4c2581(0x118)]],[_['UniverDrawingPlugin'],{'override':[[_[_0x4c2581(0x125)],null]]}],[h[_0x4c2581(0x124)],{'hasScroll':!0x1}],[g[_0x4c2581(0xde)]],[oe['UniverSheetsNumfmtPlugin']],[t['UniverSheetsPlugin'],{'notExecuteFormula':!0x0}],[A[_0x4c2581(0xba)]],[ne[_0x4c2581(0xff)]],[re[_0x4c2581(0x14c)]],[n['UniverCollaborationPlugin']],[O[_0x4c2581(0xd9)]],[C['UniverSheetsConditionalFormattingPlugin']],[ie['UniverSheetsHyperLinkPlugin']],[ae[_0x4c2581(0x7c)]],[p[_0x4c2581(0x128)]],[w[_0x4c2581(0x11e)]],[T[_0x4c2581(0xd0)]],[y[_0x4c2581(0x146)],{'notExecuteFormula':!0x0}],[v[_0x4c2581(0x149)]],[E[_0x4c2581(0x8a)]],[D[_0x4c2581(0xb0)]],[d['UniverSheetSparklinePlugin']],[f[_0x4c2581(0x198)]],[o[_0x4c2581(0x145)]],[s[_0x4c2581(0x18b)]],[l[_0x4c2581(0xb9)]],[u[_0x4c2581(0x176)]],[c[_0x4c2581(0x114)],{'notExecuteFormula':!0x0}],[k[_0x4c2581(0x17b)]]]['forEach'](([_0x1dd31f,_0x33280f])=>this[_0x4c2581(0x160)](_0x1dd31f,_0x33280f));}['dispose'](){const _0x8bd24d=_0x27a5d8;super[_0x8bd24d(0x18e)](),this[_0x8bd24d(0xa4)](),this['_pluginMap'][_0x8bd24d(0x165)]();}[_0x27a5d8(0x160)](_0x5b442e,_0x2b1ac2,_0x1d2561){const _0x3a3667=_0x27a5d8;if(this['_pluginMap'][_0x3a3667(0xcd)](_0x5b442e[_0x3a3667(0x189)])&&!_0x1d2561)throw Error(_0x3a3667(0xa1)+_0x5b442e['pluginName']+_0x3a3667(0xdd));this['_pluginMap']['set'](_0x5b442e[_0x3a3667(0x189)],[_0x5b442e,_0x2b1ac2]);}[_0x27a5d8(0x98)](){const _0x460a0c=_0x27a5d8;return Array[_0x460a0c(0x169)](this['_pluginMap'][_0x460a0c(0x12b)]());}[_0x27a5d8(0x108)](_0x4d948c,_0x5d6221){const _0x31d384=_0x27a5d8;let _0x298545=document[_0x31d384(0xb1)](Y);_0x298545&&(_0x298545[_0x31d384(0xae)][_0x31d384(0x100)]='block',this[_0x31d384(0xdb)](_0x4d948c,Y,_0x5d6221));}[_0x27a5d8(0xa4)](){const _0x14ed1b=_0x27a5d8;var _0x965f61;this[_0x14ed1b(0xa5)]['dispose'](),(_0x965f61=this[_0x14ed1b(0x13c)])==null||_0x965f61['dispose'](),this[_0x14ed1b(0x116)][_0x14ed1b(0x97)](null);let _0x18f3d0=document[_0x14ed1b(0xb1)](Y);_0x18f3d0&&(_0x18f3d0[_0x14ed1b(0xae)][_0x14ed1b(0x100)]=_0x14ed1b(0xe7),this[_0x14ed1b(0xcf)]&&(this['_internalWebWorker']['terminate'](),this[_0x14ed1b(0xcf)]=null));}[_0x27a5d8(0xdb)](_0x3ca356,_0x5904d3,_0x3a9a83){const _0x4a199e=_0x27a5d8;var _0x2412ed,_0xea0555,_0x3cac2f,_0x45dc0f;if(this['historyUniver'])return;let _0x4583c7=new e[(_0x4a199e(0xb6))]({...I(this[_0x4a199e(0x161)]),'override':[[e['IAuthzIoService'],{'useClass':r[_0x4a199e(0xf8)]}]]}),_0x2411db=_0x4583c7[_0x4a199e(0xb2)]();this['disposeWithMe'](this['_themeService'][_0x4a199e(0x107)][_0x4a199e(0xef)](_0x7ea397=>{const _0x23bc5a=_0x4a199e;_0x2411db['get'](e[_0x23bc5a(0xd5)])[_0x23bc5a(0xc7)](_0x7ea397);})),this[_0x4a199e(0x162)](this[_0x4a199e(0x12d)]['currentTheme$']['subscribe'](_0x267cc3=>{const _0x572472=_0x4a199e;_0x2411db[_0x572472(0xbf)](e[_0x572472(0xd5)])[_0x572472(0x106)](_0x267cc3);}));let _0xc88f68=_0x2411db[_0x4a199e(0xbf)](e[_0x4a199e(0xf7)]);_0xc88f68[_0x4a199e(0xd1)](this[_0x4a199e(0x161)][_0x4a199e(0xbb)]()),_0xc88f68['setDirection'](this[_0x4a199e(0x161)]['getDirection']()),_0x2411db[_0x4a199e(0xbf)](e[_0x4a199e(0x8c)])[_0x4a199e(0xeb)](r[_0x4a199e(0xb8)],this[_0x4a199e(0xe9)]['getConfig'](r[_0x4a199e(0xb8)]));let _0x17d3fe=this['_configService']['getConfig'](a[_0x4a199e(0x12f)]);_0x17d3fe&&_0x4583c7['registerPlugin'](a[_0x4a199e(0x14d)],{'license':_0x17d3fe['ls']});let _0x243932=(_0x2412ed=this['_configService'][_0x4a199e(0x188)](_0x4a199e(0x185)))==null?void 0x0:_0x2412ed['workerURL'],_0x42538a=!!_0x243932;_0x42538a&&(this[_0x4a199e(0xcf)]=_0x243932 instanceof Worker?_0x243932:null,_0x4583c7[_0x4a199e(0x160)](S[_0x4a199e(0x18f)],{'workerURL':_0x243932})),this[_0x4a199e(0x12a)][_0x4a199e(0x126)](([_0x48da7a,_0x7a4b85])=>{const _0x2426b2=_0x4a199e;_0x4583c7[_0x2426b2(0x160)](_0x48da7a,_0x7a4b85);}),_0x4583c7['registerPlugin'](i[_0x4a199e(0x8e)],{'historyListServerUrl':(_0xea0555=this['_configService']['getConfig'](_0x4a199e(0x185)))==null?void 0x0:_0xea0555[_0x4a199e(0xe0)],'historyPanelComponentKey':(_0x3cac2f=this[_0x4a199e(0xe9)][_0x4a199e(0x188)](_0x4a199e(0x185)))==null?void 0x0:_0x3cac2f[_0x4a199e(0x83)],'historyPanelHidden':(_0x45dc0f=this[_0x4a199e(0xe9)][_0x4a199e(0x188)](_0x4a199e(0x185)))==null?void 0x0:_0x45dc0f[_0x4a199e(0x119)]}),_0x2411db[_0x4a199e(0x99)](_0x485cd0=>{const _0x50b703=_0x4a199e;this[_0x50b703(0xc2)](_0x485cd0,_0x3ca356);}),this[_0x4a199e(0x116)]['next'](_0x4583c7);let _0x1b0ca0=_0x2411db[_0x4a199e(0xbf)](i[_0x4a199e(0x90)]),_0x7a2384=this['_checkCanRevert'](_0x3ca356),_0x1c8edb=()=>{const _0xaf8af5=_0x4a199e;_0x3a9a83?_0x1b0ca0[_0xaf8af5(0x16c)](_0x3ca356,_0x5904d3,_0x7a2384,_0x3a9a83):_0x1b0ca0[_0xaf8af5(0xfc)](_0x3ca356,_0x5904d3,_0x7a2384);};if(this[_0x4a199e(0x13b)][_0x4a199e(0x105)]({'content':this[_0x4a199e(0x161)]['t'](_0x4a199e(0x15c)),'type':m[_0x4a199e(0xa9)][_0x4a199e(0x199)]}),_0x42538a)try{_0x2411db['get'](S[_0x4a199e(0xb4)])[_0x4a199e(0x196)]()[_0x4a199e(0x151)](()=>{_0x1c8edb();});}catch{_0x1c8edb();}else _0x1c8edb();}[_0x27a5d8(0xc2)](_0x2a5370,_0x295b94){const _0x4bd580=_0x27a5d8;let _0x49ed8d=_0x2a5370[_0x4bd580(0xbf)](i[_0x4bd580(0x90)]);this[_0x4bd580(0xa5)][_0x4bd580(0x102)](_0x49ed8d[_0x4bd580(0x190)][_0x4bd580(0xef)](_0x36de2b=>{const _0xd4795c=_0x4bd580;switch(_0x36de2b){case i[_0xd4795c(0xc3)][_0xd4795c(0xcc)]:this['_dialogService'][_0xd4795c(0x16f)](),this['_sidebarService'][_0xd4795c(0xa0)]();break;case i[_0xd4795c(0xc3)]['Exited']:this[_0xd4795c(0x150)][_0xd4795c(0xce)](K['id']),this[_0xd4795c(0xa4)]();break;case i[_0xd4795c(0xc3)][_0xd4795c(0xe8)]:this[_0xd4795c(0xa4)](),this[_0xd4795c(0x13b)][_0xd4795c(0x105)]({'content':this[_0xd4795c(0x161)]['t']('edit-history-loader.panel.listFetchError'),'type':m[_0xd4795c(0xa9)][_0xd4795c(0xe8)],'duration':0xbb8});break;default:break;}})),this['_disposableCollection'][_0x4bd580(0x102)](_0x49ed8d[_0x4bd580(0x15e)][_0x4bd580(0xef)](async _0x439d98=>{const _0x5e73a0=_0x4bd580;_0x439d98&&this[_0x5e73a0(0x150)][_0x5e73a0(0xce)](n['RevertRevisionMutation']['id'],{'unitId':_0x295b94,'revision':_0x439d98});}));}[_0x27a5d8(0x129)](_0x7282e8){const _0x320820=_0x27a5d8;let _0x3036cb=this[_0x320820(0x81)][_0x320820(0x18a)](_0x7282e8)[_0x320820(0x9d)]()[_0x320820(0xf3)](_0x505032=>_0x505032['getSheetId']()),_0x4f1400=new t[(_0x320820(0x15b))](_0x7282e8)['id'],_0x5da4a5=_0x3036cb[_0x320820(0xf3)](_0x1def4a=>new t[(_0x320820(0x111))](_0x7282e8,_0x1def4a)['id']),_0x4c7898=_0x3036cb[_0x320820(0xf3)](_0x5838f5=>this[_0x320820(0xdc)]['getSubunitRuleList'](_0x7282e8,_0x5838f5)['map'](_0x38bdd8=>new t[(_0x320820(0xca))](_0x7282e8,_0x5838f5,_0x38bdd8[_0x320820(0x10a)])['id']))[_0x320820(0x11b)](),_0xe362e2=new t[(_0x320820(0xc1))](_0x7282e8)['id'];return this[_0x320820(0xd3)]['composePermission']([_0x4f1400,..._0x5da4a5,..._0x4c7898,_0xe362e2])[_0x320820(0x79)](_0x3bb443=>!!_0x3bb443[_0x320820(0x183)]);}};X=V([B(0x0,(0x0,e['Inject'])(e[_0x27a5d8(0xf7)])),B(0x1,e['IUniverInstanceService']),B(0x2,e[_0x27a5d8(0x8c)]),B(0x3,e[_0x27a5d8(0x15f)]),B(0x4,j[_0x27a5d8(0x10f)]),B(0x5,e[_0x27a5d8(0x156)]),B(0x6,(0x0,e[_0x27a5d8(0xed)])(t[_0x27a5d8(0x12e)])),B(0x7,(0x0,e[_0x27a5d8(0xed)])(j[_0x27a5d8(0xc5)])),B(0x8,(0x0,e['Inject'])(j[_0x27a5d8(0x171)])),B(0x9,(0x0,e['Inject'])(e[_0x27a5d8(0xd5)]))],X);let Z=class extends e['Plugin']{constructor(_0x558301=F,_0x15533e,_0x8fed3f){const _0xc9ff3c=_0x27a5d8;super(),this['_config']=_0x558301,this['_injector']=_0x15533e,this[_0xc9ff3c(0xe9)]=_0x8fed3f;let {menu:_0x5473c3,..._0x46d1f8}=(0x0,e[_0xc9ff3c(0x197)])({},F,this[_0xc9ff3c(0x168)]);_0x5473c3&&this[_0xc9ff3c(0xe9)][_0xc9ff3c(0xeb)](_0xc9ff3c(0xda),_0x5473c3,{'merge':!0x0}),this['_configService'][_0xc9ff3c(0xeb)](P,_0x46d1f8),this['_config']['univerContainerId']&&this[_0xc9ff3c(0xe9)][_0xc9ff3c(0xeb)](_0xc9ff3c(0x143),this['_config'][_0xc9ff3c(0x120)]);}[_0x27a5d8(0xaa)](){const _0x24749d=_0x27a5d8;this[_0x24749d(0xf0)][_0x24749d(0x102)]([q]),this[_0x24749d(0xf0)][_0x24749d(0xbf)](q),[[W,{'useClass':X}],[J]]['forEach'](_0xf6bf2b=>this[_0x24749d(0xf0)][_0x24749d(0x102)](_0xf6bf2b));}[_0x27a5d8(0x179)](){const _0x50a56a=_0x27a5d8;this[_0x50a56a(0xf0)][_0x50a56a(0xbf)](J);}};z(Z,_0x27a5d8(0xa8),e[_0x27a5d8(0x85)]['UNIVER_UNKNOWN']),z(Z,_0x27a5d8(0x189),_0x27a5d8(0x127)),z(Z,'packageName',ue),z(Z,_0x27a5d8(0x7a),de),Z=V([(0x0,e['DependentOn'])(a['UniverLicensePlugin']),B(0x1,(0x0,e[_0x27a5d8(0xed)])(e[_0x27a5d8(0x181)])),B(0x2,e[_0x27a5d8(0x8c)])],Z);let Q=class extends e[_0x27a5d8(0xfa)]{constructor(_0x5d9a0e,_0x484c92,_0x2fba43,_0x1c2304,_0x29920a,_0x2e427f,_0x33567b,_0x4cd842,_0x454ab7,_0x160db6){const _0x32596f=_0x27a5d8;super(),this[_0x32596f(0x150)]=_0x5d9a0e,this[_0x32596f(0x13a)]=_0x484c92,this['_historyManagerService']=_0x2fba43,this[_0x32596f(0x161)]=_0x1c2304,this[_0x32596f(0x13b)]=_0x29920a,this['_collaborationController']=_0x2e427f,this[_0x32596f(0xc6)]=_0x33567b,this['_dataLoaderService']=_0x4cd842,this[_0x32596f(0x81)]=_0x454ab7,this[_0x32596f(0xd7)]=_0x160db6,z(this,_0x32596f(0x178),null),this[_0x32596f(0xfe)]();}['_init'](){const _0x2ef6b3=_0x27a5d8;[G,K]['forEach'](_0xfe6aa1=>this[_0x2ef6b3(0x162)]((0x0,e[_0x2ef6b3(0x15d)])(this[_0x2ef6b3(0x150)][_0x2ef6b3(0x9c)](_0xfe6aa1)))),this[_0x2ef6b3(0x13a)][_0x2ef6b3(0x15a)](pe),this[_0x2ef6b3(0x162)](this[_0x2ef6b3(0x150)][_0x2ef6b3(0x164)](async(_0x3153a7,_0x281c37)=>{const _0x52bfa3=_0x2ef6b3;if(_0x3153a7['id']===n['RevertRevisionMutation']['id']){let {unitId:_0x519f60}=_0x3153a7[_0x52bfa3(0x18d)];this['_messageService'][_0x52bfa3(0x105)]({'content':this[_0x52bfa3(0x161)]['t']('edit-history-loader.panel.reverting'),'type':m[_0x52bfa3(0xa9)][_0x52bfa3(0x199)],'duration':0x1388});let _0x2cbb13=this['_collaborationController'][_0x52bfa3(0xd4)](_0x519f60);_0x281c37!=null&&_0x281c37['fromCollab']?this[_0x52bfa3(0xf2)](_0x2cbb13,async()=>(setTimeout(()=>window[_0x52bfa3(0x10c)][_0x52bfa3(0x131)]()),!0x0),!0x0):this[_0x52bfa3(0xf2)](_0x2cbb13,async()=>{const _0x107a27=_0x52bfa3;let _0x39b4b7=this[_0x107a27(0x81)][_0x107a27(0xb3)](e['UniverInstanceType'][_0x107a27(0x163)]),_0x4c2928=_0x39b4b7==null?void 0x0:_0x39b4b7['getActiveSheet']();if(!_0x4c2928)return!0x1;this[_0x107a27(0x81)][_0x107a27(0x11d)](_0x519f60);let _0x246531=await this[_0x107a27(0xd6)][_0x107a27(0xad)](_0x519f60,e[_0x107a27(0x85)][_0x107a27(0x163)]);return _0x246531&&_0x246531 instanceof e[_0x107a27(0xd2)]?(await this[_0x107a27(0xf5)](_0x246531,_0x4c2928['getSheetId']()),!0x0):!0x1;});}}));}[_0x27a5d8(0xf2)](_0x51e4a8,_0x44eadc,_0x5d4165=!0x1){const _0x3bf7ec=_0x27a5d8;let _0x51aeff=(0x0,M['combineLatest'])([_0x51e4a8[_0x3bf7ec(0x140)]['event$'],_0x51e4a8[_0x3bf7ec(0x14a)]])[_0x3bf7ec(0xef)](async([_0x390ec2,_0x30047f])=>{const _0xe76103=_0x3bf7ec;if(_0x390ec2[_0xe76103(0x94)]===n[_0xe76103(0xf1)]['CHANGESET_ACK']&&(_0x30047f==null?void 0x0:_0x30047f[_0xe76103(0x17a)])===r['CollaborationStatus'][_0xe76103(0x191)]&&_0x390ec2[_0xe76103(0x144)][_0xe76103(0x14b)][_0xe76103(0x7e)](_0x1f8daa=>_0x1f8daa['id']===n[_0xe76103(0x159)]['id'])&&await _0x44eadc()){var _0x46cedc;this['_historyManagerService']['unMountHistoryContent'](),_0x51aeff[_0xe76103(0xec)](),this[_0xe76103(0x178)]&&clearTimeout(this['_revertErrorTimer']),await((_0x46cedc=this['_localCacheService'])==null?void 0x0:_0x46cedc[_0xe76103(0x166)]());}});_0x5d4165&&(this[_0x3bf7ec(0x178)]=setTimeout(()=>{const _0x529fc5=_0x3bf7ec;_0x51aeff[_0x529fc5(0xec)](),this[_0x529fc5(0x13b)][_0x529fc5(0x105)]({'content':this[_0x529fc5(0x161)]['t'](_0x529fc5(0x148)),'type':m[_0x529fc5(0xa9)]['Error'],'duration':0xbb8});},0x1388));}async[_0x27a5d8(0xf5)](_0x13e4e8,_0x4c462c){const _0x511481=_0x27a5d8;await this[_0x511481(0xfd)](_0x13e4e8,_0x4c462c),_0x13e4e8['activeSheet$'][_0x511481(0x17e)]((0x0,M[_0x511481(0x8f)])(this[_0x511481(0x82)]))[_0x511481(0xef)](_0x32890a=>{const _0x37ee02=_0x511481;_0x32890a&&this[_0x37ee02(0x80)](_0x32890a);}),this[_0x511481(0xd7)]['urlChange$'][_0x511481(0x17e)]((0x0,M[_0x511481(0x8f)])(this[_0x511481(0x82)]))[_0x511481(0xef)](()=>this[_0x511481(0xfd)](_0x13e4e8,_0x4c462c));}['_updateURLWithCurrentState'](_0x2a132e,_0x82606e=!0x1){const _0x358358=_0x27a5d8;let _0x312fd1=this['_urlService'][_0x358358(0xf4)](_0x358358(0xc4));_0x2a132e[_0x358358(0xb5)]()!==_0x312fd1&&this[_0x358358(0xd7)]['setParam'](_0x358358(0xc4),_0x2a132e[_0x358358(0xb5)](),_0x82606e);}async[_0x27a5d8(0xfd)](_0x29c39c,_0x447c61){const _0x14889d=_0x27a5d8;var _0x33b426;if(!_0x447c61||!_0x29c39c['getSheetBySheetId'](_0x447c61)){let _0x37f195=_0x29c39c[_0x14889d(0xcb)]()[0x0],_0x58d03d=_0x29c39c[_0x14889d(0x86)](_0x37f195);if(!_0x58d03d)return;this[_0x14889d(0x80)](_0x58d03d,!0x0),await this[_0x14889d(0x150)]['executeCommand'](t[_0x14889d(0x8d)]['id'],{'unitId':_0x29c39c[_0x14889d(0x147)](),'subUnitId':_0x37f195});return;}((_0x33b426=_0x29c39c['getActiveSheet']())==null?void 0x0:_0x33b426[_0x14889d(0xb5)]())!==_0x447c61&&await this[_0x14889d(0x150)][_0x14889d(0xce)](t[_0x14889d(0x8d)]['id'],{'unitId':_0x29c39c[_0x14889d(0x147)](),'subUnitId':_0x447c61});}};function _0x56fc(_0x3d3229,_0x10af10){_0x3d3229=_0x3d3229-0x79;const _0x1d74de=_0x1d74();let _0x56fc67=_0x1d74de[_0x3d3229];return _0x56fc67;}Q=V([B(0x0,e['ICommandService']),B(0x1,j[_0x27a5d8(0x137)]),B(0x2,(0x0,e[_0x27a5d8(0xed)])(W)),B(0x3,(0x0,e[_0x27a5d8(0xed)])(e['LocaleService'])),B(0x4,j[_0x27a5d8(0x10f)]),B(0x5,(0x0,e[_0x27a5d8(0xed)])(r['CollaborationController'])),B(0x6,r[_0x27a5d8(0x14f)]),B(0x7,(0x0,e[_0x27a5d8(0xed)])(r[_0x27a5d8(0x158)])),B(0x8,e['IUniverInstanceService']),B(0x9,N[_0x27a5d8(0x132)])],Q);let $=class extends e['Plugin']{constructor(_0x6b6f78=F,_0x57954f,_0x14d72c){const _0x334962=_0x27a5d8;super(),this[_0x334962(0x168)]=_0x6b6f78,this['_injector']=_0x57954f,this[_0x334962(0xe9)]=_0x14d72c;let {menu:_0x2299d2,..._0x111c8b}=(0x0,e['merge'])({},F,this[_0x334962(0x168)]);_0x2299d2&&this[_0x334962(0xe9)][_0x334962(0xeb)]('menu',_0x2299d2,{'merge':!0x0}),this['_configService']['setConfig'](P,_0x111c8b),this[_0x334962(0x168)][_0x334962(0x120)]&&this[_0x334962(0xe9)][_0x334962(0xeb)](H,this[_0x334962(0x168)][_0x334962(0x120)]);}[_0x27a5d8(0xaa)](){const _0xe37434=_0x27a5d8;this[_0xe37434(0xf0)][_0xe37434(0x102)]([q]),this[_0xe37434(0xf0)][_0xe37434(0xbf)](q),[[W],[Q]][_0xe37434(0x126)](_0x54f9cc=>this['_injector'][_0xe37434(0x102)](_0x54f9cc));}[_0x27a5d8(0x179)](){this['_injector']['get'](Q);}};z($,_0x27a5d8(0xa8),e[_0x27a5d8(0x85)][_0x27a5d8(0x8b)]),z($,_0x27a5d8(0x189),'UNIVER_EDIT_HISTORY_LOADER_PLUGIN'),z($,'packageName',ue),z($,'version',de),$=V([(0x0,e[_0x27a5d8(0xd8)])(a[_0x27a5d8(0x14d)]),B(0x1,(0x0,e['Inject'])(e['Injector'])),B(0x2,e[_0x27a5d8(0x8c)])],$),exports[_0x27a5d8(0x195)]=P,Object[_0x27a5d8(0x142)](exports,_0x27a5d8(0xa2),{'enumerable':!0x0,'get':function(){return W;}}),Object[_0x27a5d8(0x142)](exports,_0x27a5d8(0x7d),{'enumerable':!0x0,'get':function(){return X;}}),exports['ToggleEditHistoryOperation']=G,exports['UNIVER_CONTAINER_ID_KEY']=H,exports[_0x27a5d8(0x88)]=U,Object[_0x27a5d8(0x142)](exports,_0x27a5d8(0x92),{'enumerable':!0x0,'get':function(){return Z;}}),Object[_0x27a5d8(0x142)](exports,'UniverEditHistoryLoaderPlugin',{'enumerable':!0x0,'get':function(){return $;}});
|
package/lib/cjs/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x23fad1=_0x59e2;function _0x59e2(_0x4bc4a1,_0x46f78e){_0x4bc4a1=_0x4bc4a1-0xda;const _0x57be89=_0x57be();let _0x59e271=_0x57be89[_0x4bc4a1];return _0x59e271;}(function(_0x31c09f,_0x1b15fc){const _0x5bbe7f=_0x59e2,_0x5db606=_0x31c09f();while(!![]){try{const _0x278f71=-parseInt(_0x5bbe7f(0xda))/0x1+parseInt(_0x5bbe7f(0xe7))/0x2*(-parseInt(_0x5bbe7f(0xde))/0x3)+-parseInt(_0x5bbe7f(0xe0))/0x4*(parseInt(_0x5bbe7f(0xe8))/0x5)+parseInt(_0x5bbe7f(0xe3))/0x6+parseInt(_0x5bbe7f(0xdc))/0x7*(parseInt(_0x5bbe7f(0xe1))/0x8)+-parseInt(_0x5bbe7f(0xe6))/0x9+parseInt(_0x5bbe7f(0xe5))/0xa;if(_0x278f71===_0x1b15fc)break;else _0x5db606['push'](_0x5db606['shift']());}catch(_0x6df16e){_0x5db606['push'](_0x5db606['shift']());}}}(_0x57be,0x9a373));const e={'edit-history-loader':{'panel':{'title':'سجل\x20التحرير','reverting':_0x23fad1(0xdb),'revertFailed':_0x23fad1(0xdd),'listFetchError':_0x23fad1(0xdf)},'info':{'initializing':_0x23fad1(0xe2)}}};function _0x57be(){const _0x12c543=['فشل\x20في\x20الحصول\x20على\x20قائمة\x20سجل\x20التحرير','36MAhlAn','7601128UbBtwI','جارٍ\x20التهيئة،\x20يرجى\x20الانتظار...','812214mufard','exports','15023710zTXGhZ','3029562HPqYFe','26xUSiRG','435895pgOYbb','613790EnQlvp','جارٍ\x20الاستعادة،\x20يرجى\x20الانتظار...','7vSZuXB','خطأ\x20غير\x20معروف،\x20يرجى\x20تحديث\x20الصفحة\x20لعرض\x20نتيجة\x20الاستعادة','51045NFgrLR'];_0x57be=function(){return _0x12c543;};return _0x57be();}module[_0x23fad1(0xe4)]=e;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2e68eb=_0x34f7;(function(_0x408f31,_0x5edf05){const _0x4da5ac=_0x34f7,_0x48a907=_0x408f31();while(!![]){try{const _0x5639c3=parseInt(_0x4da5ac(0x14e))/0x1+parseInt(_0x4da5ac(0x153))/0x2+-parseInt(_0x4da5ac(0x155))/0x3+-parseInt(_0x4da5ac(0x152))/0x4*(parseInt(_0x4da5ac(0x14c))/0x5)+-parseInt(_0x4da5ac(0x154))/0x6*(parseInt(_0x4da5ac(0x14f))/0x7)+-parseInt(_0x4da5ac(0x14d))/0x8+-parseInt(_0x4da5ac(0x151))/0x9*(-parseInt(_0x4da5ac(0x14b))/0xa);if(_0x5639c3===_0x5edf05)break;else _0x48a907['push'](_0x48a907['shift']());}catch(_0x2a8e82){_0x48a907['push'](_0x48a907['shift']());}}}(_0x5404,0xb9d61));function _0x34f7(_0x1db2c1,_0x1939bd){_0x1db2c1=_0x1db2c1-0x14a;const _0x540437=_0x5404();let _0x34f703=_0x540437[_0x1db2c1];return _0x34f703;}const e={'edit-history-loader':{'panel':{'title':_0x2e68eb(0x150),'reverting':_0x2e68eb(0x14a),'revertFailed':'Error\x20desconegut,\x20actualitzeu\x20la\x20pàgina\x20per\x20veure\x20el\x20resultat\x20de\x20la\x20restauració','listFetchError':_0x2e68eb(0x156)},'info':{'initializing':'Inicialitzant,\x20espereu...'}}};function _0x5404(){const _0x28c9ba=['Restaurant,\x20espereu...','10qzOGwd','4320zoUbIa','10674280aXaZmt','475238YzieUZ','4396NUkkNi','Historial\x20d\x27edicions','23556861OtOeJQ','5132pwEvKY','2973560MdMgpg','11202MSNMSr','608967LBQfhr','No\x20s\x27ha\x20pogut\x20obtenir\x20la\x20llista\x20de\x20l\x27historial','exports'];_0x5404=function(){return _0x28c9ba;};return _0x5404();}module[_0x2e68eb(0x157)]=e;
|
package/lib/cjs/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x1a6770=_0x3f6f;function _0x4bcb(){const _0x3b749a=['165753CUnvCA','2088006eJMfBm','64445feLkZv','exports','16lUPGTX','2710449tlqrbI','304256gmtqhs','668085nyDQHf','844760ZvNXsw'];_0x4bcb=function(){return _0x3b749a;};return _0x4bcb();}(function(_0x165538,_0x20d21d){const _0x1d43f7=_0x3f6f,_0x46aeec=_0x165538();while(!![]){try{const _0x4073e7=parseInt(_0x1d43f7(0x1e6))/0x1+-parseInt(_0x1d43f7(0x1e3))/0x2+parseInt(_0x1d43f7(0x1e4))/0x3+parseInt(_0x1d43f7(0x1e1))/0x4*(-parseInt(_0x1d43f7(0x1e8))/0x5)+parseInt(_0x1d43f7(0x1e7))/0x6+-parseInt(_0x1d43f7(0x1e2))/0x7+parseInt(_0x1d43f7(0x1e5))/0x8;if(_0x4073e7===_0x20d21d)break;else _0x46aeec['push'](_0x46aeec['shift']());}catch(_0x385564){_0x46aeec['push'](_0x46aeec['shift']());}}}(_0x4bcb,0x3d511));function _0x3f6f(_0x46289d,_0x4455e4){_0x46289d=_0x46289d-0x1e0;const _0x4bcb8a=_0x4bcb();let _0x3f6fcb=_0x4bcb8a[_0x46289d];return _0x3f6fcb;}const e={'edit-history-loader':{'panel':{'title':'Bearbeitungsverlauf','reverting':'Wiederherstellung\x20läuft,\x20bitte\x20warten...','revertFailed':'Unbekannter\x20Fehler,\x20bitte\x20aktualisieren\x20Sie\x20die\x20Seite,\x20um\x20das\x20Ergebnis\x20der\x20Wiederherstellung\x20anzuzeigen','listFetchError':'Fehler\x20beim\x20Abrufen\x20der\x20Bearbeitungshistorie'},'info':{'initializing':'Initialisierung\x20läuft,\x20bitte\x20warten...'}}};module[_0x1a6770(0x1e0)]=e;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x19c2(_0x4bd6fd,_0xbfb6a1){_0x4bd6fd=_0x4bd6fd-0xf4;const _0x7bc1e2=_0x7bc1();let _0x19c291=_0x7bc1e2[_0x4bd6fd];return _0x19c291;}function _0x7bc1(){const _0x2db341=['420102TJmhSc','46974860vkNMXv','Initializing,\x20please\x20wait...','4XANPvh','336972IFippj','203cDrqZr','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','11hpqxsf','12174976EQdNzQ','19ggIMtP','7348150ALPPdl','Edit\x20History','130054PRORnB','Failed\x20to\x20get\x20edit\x20history\x20list','2422965ejqsJh'];_0x7bc1=function(){return _0x2db341;};return _0x7bc1();}const _0x1c064a=_0x19c2;(function(_0x364a64,_0x245d4d){const _0x423301=_0x19c2,_0x1d0de1=_0x364a64();while(!![]){try{const _0x24619d=-parseInt(_0x423301(0xfe))/0x1*(parseInt(_0x423301(0x101))/0x2)+-parseInt(_0x423301(0xf4))/0x3*(parseInt(_0x423301(0xf8))/0x4)+parseInt(_0x423301(0xff))/0x5+parseInt(_0x423301(0xf9))/0x6*(-parseInt(_0x423301(0xfa))/0x7)+-parseInt(_0x423301(0xfd))/0x8+-parseInt(_0x423301(0xf5))/0x9+-parseInt(_0x423301(0xf6))/0xa*(-parseInt(_0x423301(0xfc))/0xb);if(_0x24619d===_0x245d4d)break;else _0x1d0de1['push'](_0x1d0de1['shift']());}catch(_0x3f28ea){_0x1d0de1['push'](_0x1d0de1['shift']());}}}(_0x7bc1,0xe23ec));const e={'edit-history-loader':{'panel':{'title':_0x1c064a(0x100),'reverting':'Reverting,\x20please\x20wait...','revertFailed':_0x1c064a(0xfb),'listFetchError':_0x1c064a(0x102)},'info':{'initializing':_0x1c064a(0xf7)}}};module['exports']=e;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2b0c22=_0x1318;function _0x1318(_0x42c9f7,_0x189e5b){_0x42c9f7=_0x42c9f7-0x1e7;const _0x3f4baa=_0x3f4b();let _0x1318fd=_0x3f4baa[_0x42c9f7];return _0x1318fd;}(function(_0x1433ed,_0x5b374f){const _0x32c210=_0x1318,_0x26851f=_0x1433ed();while(!![]){try{const _0x47b3a5=-parseInt(_0x32c210(0x1f0))/0x1+parseInt(_0x32c210(0x1ed))/0x2+parseInt(_0x32c210(0x1f2))/0x3+-parseInt(_0x32c210(0x1e8))/0x4*(parseInt(_0x32c210(0x1e9))/0x5)+parseInt(_0x32c210(0x1f3))/0x6*(parseInt(_0x32c210(0x1ec))/0x7)+parseInt(_0x32c210(0x1ef))/0x8+parseInt(_0x32c210(0x1e7))/0x9;if(_0x47b3a5===_0x5b374f)break;else _0x26851f['push'](_0x26851f['shift']());}catch(_0x5b2fcb){_0x26851f['push'](_0x26851f['shift']());}}}(_0x3f4b,0x3fa10));function _0x3f4b(){const _0x118efe=['49WaicUT','923270ltivNE','Inicializando,\x20espere...','424280jOGYLO','357437opItZY','Error\x20desconocido,\x20actualice\x20la\x20página\x20para\x20ver\x20el\x20resultado\x20de\x20la\x20restauración','307221McWOyz','281898ghUrcg','986085SvTYYG','874924rTeIAs','10iTgxPx','Restaurando,\x20espere...','Historial\x20de\x20ediciones'];_0x3f4b=function(){return _0x118efe;};return _0x3f4b();}const e={'edit-history-loader':{'panel':{'title':_0x2b0c22(0x1eb),'reverting':_0x2b0c22(0x1ea),'revertFailed':_0x2b0c22(0x1f1),'listFetchError':'No\x20se\x20pudo\x20obtener\x20la\x20lista\x20del\x20historial\x20de\x20ediciones'},'info':{'initializing':_0x2b0c22(0x1ee)}}};module['exports']=e;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x494c(){const _0x4418d1=['exports','14550239MoAofz','1355225IIWZbK','4VfIcTe','در\x20حال\x20راهاندازی،\x20لطفا\x20صبر\x20کنید...','9793256BscNsi','تاریخچه\x20ویرایش','3758658nuLvFV','خطای\x20ناشناخته،\x20لطفا\x20صفحه\x20را\x20بارگذاری\x20مجدد\x20کنید\x20تا\x20نتیجه\x20بازگردانی\x20را\x20مشاهده\x20کنید','در\x20حال\x20بازگردانی،\x20لطفا\x20صبر\x20کنید...','دریافت\x20لیست\x20تاریخچه\x20ویرایش\x20ناموفق\x20بود','15360534iGWEbf','34TbeWEN','10yZusvX','4731815odWZRG','16923gfkKZV','14nvPYRU'];_0x494c=function(){return _0x4418d1;};return _0x494c();}const _0x58de10=_0xcd78;(function(_0x3ddbb9,_0xdc1d75){const _0x24e181=_0xcd78,_0x23e32e=_0x3ddbb9();while(!![]){try{const _0x53c902=parseInt(_0x24e181(0x71))/0x1+parseInt(_0x24e181(0x6a))/0x2*(parseInt(_0x24e181(0x6d))/0x3)+-parseInt(_0x24e181(0x72))/0x4*(parseInt(_0x24e181(0x6c))/0x5)+-parseInt(_0x24e181(0x76))/0x6*(-parseInt(_0x24e181(0x6e))/0x7)+-parseInt(_0x24e181(0x74))/0x8+parseInt(_0x24e181(0x69))/0x9+-parseInt(_0x24e181(0x6b))/0xa*(parseInt(_0x24e181(0x70))/0xb);if(_0x53c902===_0xdc1d75)break;else _0x23e32e['push'](_0x23e32e['shift']());}catch(_0xe13330){_0x23e32e['push'](_0x23e32e['shift']());}}}(_0x494c,0xdffd9));const e={'edit-history-loader':{'panel':{'title':_0x58de10(0x75),'reverting':_0x58de10(0x78),'revertFailed':_0x58de10(0x77),'listFetchError':_0x58de10(0x68)},'info':{'initializing':_0x58de10(0x73)}}};function _0xcd78(_0x2fe08b,_0xb38f92){_0x2fe08b=_0x2fe08b-0x68;const _0x494c63=_0x494c();let _0xcd78f5=_0x494c63[_0x2fe08b];return _0xcd78f5;}module[_0x58de10(0x6f)]=e;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x30c412=_0x8381;function _0x8381(_0x36b644,_0x380b59){_0x36b644=_0x36b644-0x115;const _0x42a1d2=_0x42a1();let _0x83819a=_0x42a1d2[_0x36b644];return _0x83819a;}(function(_0x402341,_0x5d2707){const _0x136823=_0x8381,_0x1d7ef7=_0x402341();while(!![]){try{const _0x5a346c=-parseInt(_0x136823(0x122))/0x1*(-parseInt(_0x136823(0x11a))/0x2)+parseInt(_0x136823(0x11c))/0x3*(parseInt(_0x136823(0x11f))/0x4)+-parseInt(_0x136823(0x123))/0x5+parseInt(_0x136823(0x124))/0x6*(-parseInt(_0x136823(0x119))/0x7)+-parseInt(_0x136823(0x117))/0x8*(parseInt(_0x136823(0x115))/0x9)+parseInt(_0x136823(0x11b))/0xa+-parseInt(_0x136823(0x116))/0xb*(-parseInt(_0x136823(0x118))/0xc);if(_0x5a346c===_0x5d2707)break;else _0x1d7ef7['push'](_0x1d7ef7['shift']());}catch(_0x15503c){_0x1d7ef7['push'](_0x1d7ef7['shift']());}}}(_0x42a1,0x73ac3));const e={'edit-history-loader':{'panel':{'title':_0x30c412(0x120),'reverting':'Restauration\x20en\x20cours,\x20veuillez\x20patienter...','revertFailed':_0x30c412(0x11e),'listFetchError':_0x30c412(0x121)},'info':{'initializing':_0x30c412(0x11d)}}};module['exports']=e;function _0x42a1(){const _0x2c15d9=['Historique\x20des\x20modifications','Échec\x20de\x20l\x27obtention\x20de\x20la\x20liste\x20de\x20l\x27historique','532655eQSfan','3269865zcQzIG','30uHTqIN','15291jkaRYG','209ZMeLiJ','4008FrvPqC','440652XQWlAu','787255KrpkcG','2lpraAY','5317950RESCqC','5829xGkQvt','Initialisation\x20en\x20cours,\x20veuillez\x20patienter...','Erreur\x20inconnue,\x20veuillez\x20actualiser\x20la\x20page\x20pour\x20voir\x20le\x20résultat\x20de\x20la\x20restauration','1604wknMLk'];_0x42a1=function(){return _0x2c15d9;};return _0x42a1();}
|
package/lib/cjs/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x13e461=_0x39c3;(function(_0x525b10,_0x1797ba){const _0x517aac=_0x39c3,_0xe06aa7=_0x525b10();while(!![]){try{const _0x28d700=-parseInt(_0x517aac(0x1c2))/0x1+-parseInt(_0x517aac(0x1c5))/0x2*(parseInt(_0x517aac(0x1bf))/0x3)+-parseInt(_0x517aac(0x1c4))/0x4*(-parseInt(_0x517aac(0x1be))/0x5)+-parseInt(_0x517aac(0x1cb))/0x6*(parseInt(_0x517aac(0x1cc))/0x7)+-parseInt(_0x517aac(0x1c1))/0x8+-parseInt(_0x517aac(0x1c0))/0x9+parseInt(_0x517aac(0x1ca))/0xa;if(_0x28d700===_0x1797ba)break;else _0xe06aa7['push'](_0xe06aa7['shift']());}catch(_0x2133a9){_0xe06aa7['push'](_0xe06aa7['shift']());}}}(_0x5081,0xdf096));function _0x39c3(_0x7c491f,_0x57d761){_0x7c491f=_0x7c491f-0x1be;const _0x50812a=_0x5081();let _0x39c3b6=_0x50812a[_0x7c491f];return _0x39c3b6;}function _0x5081(){const _0x3eee6a=['exports','Kesalahan\x20tidak\x20diketahui,\x20harap\x20segarkan\x20halaman\x20untuk\x20melihat\x20hasil\x20pengembalian','Gagal\x20mendapatkan\x20daftar\x20riwayat\x20edit','Mengembalikan,\x20harap\x20tunggu...','51909040hBjujK','6vswkVl','3336053GQQxaC','216805jHBkJE','1602786BCMzKu','8065530XZqhGS','8955872dihHLd','919464RKCgTL','Riwayat\x20Edit','68phrNDf','6SJNNLy'];_0x5081=function(){return _0x3eee6a;};return _0x5081();}const e={'edit-history-loader':{'panel':{'title':_0x13e461(0x1c3),'reverting':_0x13e461(0x1c9),'revertFailed':_0x13e461(0x1c7),'listFetchError':_0x13e461(0x1c8)},'info':{'initializing':'Menginisialisasi,\x20harap\x20tunggu...'}}};module[_0x13e461(0x1c6)]=e;
|
package/lib/cjs/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x49f461=_0xe031;function _0x3022(){const _0xfb227b=['246EPGBnT','3840GhLryH','Cronologia\x20modifiche','404jDTqZG','exports','3487GWjXAh','15draeOU','18410OMfCsp','32270HMbFjg','Impossibile\x20ottenere\x20l\x27elenco\x20della\x20cronologia\x20modifiche','657508tWmkpT','Errore\x20sconosciuto,\x20aggiorna\x20la\x20pagina\x20per\x20visualizzare\x20il\x20risultato\x20del\x20ripristino','4593fCeyGa','36vvxGHd','60710XOHUmt','457904zBPgTB','Ripristino\x20in\x20corso,\x20attendi...','4616612ZkbeXG'];_0x3022=function(){return _0xfb227b;};return _0x3022();}function _0xe031(_0x2fa5d0,_0x4086d8){_0x2fa5d0=_0x2fa5d0-0x7d;const _0x3022c4=_0x3022();let _0xe03135=_0x3022c4[_0x2fa5d0];return _0xe03135;}(function(_0x5337e4,_0x5521a9){const _0x27e565=_0xe031,_0x10832f=_0x5337e4();while(!![]){try{const _0x34fd8b=-parseInt(_0x27e565(0x84))/0x1*(-parseInt(_0x27e565(0x8d))/0x2)+parseInt(_0x27e565(0x7e))/0x3*(parseInt(_0x27e565(0x82))/0x4)+-parseInt(_0x27e565(0x80))/0x5*(-parseInt(_0x27e565(0x8a))/0x6)+-parseInt(_0x27e565(0x89))/0x7+parseInt(_0x27e565(0x87))/0x8*(parseInt(_0x27e565(0x85))/0x9)+parseInt(_0x27e565(0x7f))/0xa*(parseInt(_0x27e565(0x7d))/0xb)+parseInt(_0x27e565(0x8b))/0xc*(-parseInt(_0x27e565(0x86))/0xd);if(_0x34fd8b===_0x5521a9)break;else _0x10832f['push'](_0x10832f['shift']());}catch(_0x112d17){_0x10832f['push'](_0x10832f['shift']());}}}(_0x3022,0xa4496));const e={'edit-history-loader':{'panel':{'title':_0x49f461(0x8c),'reverting':_0x49f461(0x88),'revertFailed':_0x49f461(0x83),'listFetchError':_0x49f461(0x81)},'info':{'initializing':'Inizializzazione\x20in\x20corso,\x20attendi...'}}};module[_0x49f461(0x8e)]=e;
|
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x533bd6=_0x31e5;(function(_0x58f035,_0x5f4833){const _0x1b8cd6=_0x31e5,_0x9220a1=_0x58f035();while(!![]){try{const _0x364b5b=parseInt(_0x1b8cd6(0x154))/0x1*(-parseInt(_0x1b8cd6(0x160))/0x2)+parseInt(_0x1b8cd6(0x155))/0x3+-parseInt(_0x1b8cd6(0x158))/0x4*(parseInt(_0x1b8cd6(0x15f))/0x5)+parseInt(_0x1b8cd6(0x152))/0x6+-parseInt(_0x1b8cd6(0x15c))/0x7+parseInt(_0x1b8cd6(0x153))/0x8+-parseInt(_0x1b8cd6(0x156))/0x9*(parseInt(_0x1b8cd6(0x15a))/0xa);if(_0x364b5b===_0x5f4833)break;else _0x9220a1['push'](_0x9220a1['shift']());}catch(_0x1cdbf3){_0x9220a1['push'](_0x9220a1['shift']());}}}(_0x2d7f,0xcd286));function _0x31e5(_0x599059,_0x5e0dbb){_0x599059=_0x599059-0x151;const _0x2d7fc2=_0x2d7f();let _0x31e57d=_0x2d7fc2[_0x599059];return _0x31e57d;}const e={'edit-history-loader':{'panel':{'title':_0x533bd6(0x151),'reverting':_0x533bd6(0x159),'revertFailed':_0x533bd6(0x157),'listFetchError':_0x533bd6(0x15b)},'info':{'initializing':_0x533bd6(0x15e)}}};function _0x2d7f(){const _0x458b94=['230QNqmXP','編集履歴リストの取得に失敗しました','2697751JLxJGq','exports','初期化中です。お待ちください...','20tvcEUW','436uoiqAd','編集履歴','9596538pTxnQv','11658216zDpUqt','3944OjulNB','3964050iUDOgG','782577eOrWum','不明なエラーが発生しました。ページを更新して復元結果を確認してください','292620zVtbHA','復元中です。お待ちください...'];_0x2d7f=function(){return _0x458b94;};return _0x2d7f();}module[_0x533bd6(0x15d)]=e;
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1afb5d=_0x2ee0;function _0x2710(){const _0x5d0c12=['알\x20수\x20없는\x20오류가\x20발생했습니다.\x20페이지를\x20새로\x20고침하여\x20복원\x20결과를\x20확인하세요','403752YzcazO','초기화\x20중입니다.\x20잠시만\x20기다려\x20주세요...','1581076KNsqje','423670MFIKuv','906866TqcdSk','21FcyXbR','편집\x20기록\x20목록을\x20가져오지\x20못했습니다','3467544JGszPy','exports','689472LMAfmb','2501868OSaucd'];_0x2710=function(){return _0x5d0c12;};return _0x2710();}(function(_0x53f734,_0x134507){const _0x14d20a=_0x2ee0,_0x3a7bfe=_0x53f734();while(!![]){try{const _0x76564=-parseInt(_0x14d20a(0x177))/0x1+-parseInt(_0x14d20a(0x17b))/0x2+-parseInt(_0x14d20a(0x174))/0x3+parseInt(_0x14d20a(0x179))/0x4+parseInt(_0x14d20a(0x17a))/0x5+-parseInt(_0x14d20a(0x175))/0x6+parseInt(_0x14d20a(0x170))/0x7*(parseInt(_0x14d20a(0x172))/0x8);if(_0x76564===_0x134507)break;else _0x3a7bfe['push'](_0x3a7bfe['shift']());}catch(_0x283624){_0x3a7bfe['push'](_0x3a7bfe['shift']());}}}(_0x2710,0x43779));function _0x2ee0(_0x2511a1,_0xc11d7){_0x2511a1=_0x2511a1-0x170;const _0x271001=_0x2710();let _0x2ee0b2=_0x271001[_0x2511a1];return _0x2ee0b2;}const e={'edit-history-loader':{'panel':{'title':'편집\x20기록','reverting':'복원\x20중입니다.\x20잠시만\x20기다려\x20주세요...','revertFailed':_0x1afb5d(0x176),'listFetchError':_0x1afb5d(0x171)},'info':{'initializing':_0x1afb5d(0x178)}}};module[_0x1afb5d(0x173)]=e;
|
package/lib/cjs/locale/pl-PL.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x321c27=_0x49a5;function _0x4be1(){const _0x3c0ae4=['210YvEeHV','exports','4SYNjMn','Historia\x20edycji','530xIItIo','Inicjalizowanie,\x20proszę\x20czekać...','Nie\x20udało\x20się\x20pobrać\x20listy\x20historii\x20edycji','9siTxKh','3504123mkbtyT','226426lHTKHZ','Przywracanie,\x20proszę\x20czekać...','4420095Ticnpq','288652EuhEcf','2477032nzrFem','718680byvVlV','807873HAMFyM'];_0x4be1=function(){return _0x3c0ae4;};return _0x4be1();}(function(_0x3bff18,_0x5de6d5){const _0x4ad6ab=_0x49a5,_0x38c538=_0x3bff18();while(!![]){try{const _0x5349c1=parseInt(_0x4ad6ab(0xab))/0x1+parseInt(_0x4ad6ab(0xa6))/0x2+parseInt(_0x4ad6ab(0xb5))/0x3*(parseInt(_0x4ad6ab(0xaf))/0x4)+parseInt(_0x4ad6ab(0xa8))/0x5+parseInt(_0x4ad6ab(0xad))/0x6*(parseInt(_0x4ad6ab(0xa9))/0x7)+-parseInt(_0x4ad6ab(0xaa))/0x8*(-parseInt(_0x4ad6ab(0xb4))/0x9)+parseInt(_0x4ad6ab(0xb1))/0xa*(-parseInt(_0x4ad6ab(0xac))/0xb);if(_0x5349c1===_0x5de6d5)break;else _0x38c538['push'](_0x38c538['shift']());}catch(_0x573a0b){_0x38c538['push'](_0x38c538['shift']());}}}(_0x4be1,0xb5bab));function _0x49a5(_0x2879ba,_0x31dc0){_0x2879ba=_0x2879ba-0xa6;const _0x4be143=_0x4be1();let _0x49a52d=_0x4be143[_0x2879ba];return _0x49a52d;}const e={'edit-history-loader':{'panel':{'title':_0x321c27(0xb0),'reverting':_0x321c27(0xa7),'revertFailed':'Nieznany\x20błąd,\x20odśwież\x20stronę,\x20aby\x20zobaczyć\x20wynik\x20przywracania','listFetchError':_0x321c27(0xb3)},'info':{'initializing':_0x321c27(0xb2)}}};module[_0x321c27(0xae)]=e;
|
package/lib/cjs/locale/pt-BR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x230691=_0x356f;(function(_0x35392,_0x257281){const _0x55fe31=_0x356f,_0x27dec6=_0x35392();while(!![]){try{const _0x4f1b18=-parseInt(_0x55fe31(0x195))/0x1*(-parseInt(_0x55fe31(0x193))/0x2)+parseInt(_0x55fe31(0x198))/0x3+parseInt(_0x55fe31(0x18c))/0x4*(parseInt(_0x55fe31(0x18a))/0x5)+-parseInt(_0x55fe31(0x196))/0x6+parseInt(_0x55fe31(0x190))/0x7*(parseInt(_0x55fe31(0x18d))/0x8)+parseInt(_0x55fe31(0x197))/0x9*(parseInt(_0x55fe31(0x18f))/0xa)+parseInt(_0x55fe31(0x194))/0xb*(-parseInt(_0x55fe31(0x18e))/0xc);if(_0x4f1b18===_0x257281)break;else _0x27dec6['push'](_0x27dec6['shift']());}catch(_0x3918dc){_0x27dec6['push'](_0x27dec6['shift']());}}}(_0x2184,0xc1645));const e={'edit-history-loader':{'panel':{'title':_0x230691(0x191),'reverting':'Revertendo,\x20aguarde...','revertFailed':'Erro\x20desconhecido,\x20atualize\x20a\x20página\x20para\x20ver\x20o\x20resultado\x20da\x20reversão','listFetchError':_0x230691(0x18b)},'info':{'initializing':_0x230691(0x192)}}};function _0x356f(_0x483fbd,_0x5c4384){_0x483fbd=_0x483fbd-0x18a;const _0x2184fb=_0x2184();let _0x356f68=_0x2184fb[_0x483fbd];return _0x356f68;}function _0x2184(){const _0x407e3f=['Falha\x20ao\x20obter\x20a\x20lista\x20de\x20histórico\x20de\x20edição','4XyhAgM','12451016CrZXUn','9825384yoISad','2140870RQdngB','7DkwLpi','Histórico\x20de\x20Edição','Inicializando,\x20aguarde...','2426BoDiCG','44LXwAPK','373XorSkC','4330902WWRhIq','9pqrXcc','3430944Lmdqzg','7112585QQlmaM'];_0x2184=function(){return _0x407e3f;};return _0x2184();}module['exports']=e;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x23ac0c=_0x3b0f;function _0x3873(){const _0x24f81b=['14WYsVnD','33kowjpJ','История\x20изменений','Восстановление,\x20подождите...','1491930zGevTU','100268SVCDYB','4702408mREber','8040879ZxUSTB','193259JpdKMr','2270ttazOU','exports','2911026OQAfnI','438vCHKUl','2168XsmLuV'];_0x3873=function(){return _0x24f81b;};return _0x3873();}(function(_0xc9a970,_0x1cc26d){const _0x5d423a=_0x3b0f,_0x577532=_0xc9a970();while(!![]){try{const _0x166f87=parseInt(_0x5d423a(0x86))/0x1*(-parseInt(_0x5d423a(0x87))/0x2)+-parseInt(_0x5d423a(0x89))/0x3*(parseInt(_0x5d423a(0x7f))/0x4)+-parseInt(_0x5d423a(0x7e))/0x5+-parseInt(_0x5d423a(0x85))/0x6*(parseInt(_0x5d423a(0x88))/0x7)+-parseInt(_0x5d423a(0x80))/0x8+-parseInt(_0x5d423a(0x81))/0x9+-parseInt(_0x5d423a(0x83))/0xa*(-parseInt(_0x5d423a(0x82))/0xb);if(_0x166f87===_0x1cc26d)break;else _0x577532['push'](_0x577532['shift']());}catch(_0x129ff2){_0x577532['push'](_0x577532['shift']());}}}(_0x3873,0x770fa));const e={'edit-history-loader':{'panel':{'title':_0x23ac0c(0x8a),'reverting':_0x23ac0c(0x8b),'revertFailed':'Неизвестная\x20ошибка,\x20обновите\x20страницу\x20для\x20просмотра\x20результата\x20восстановления','listFetchError':'Не\x20удалось\x20получить\x20список\x20истории\x20изменений'},'info':{'initializing':'Инициализация,\x20подождите...'}}};function _0x3b0f(_0x2d732d,_0x40fd2c){_0x2d732d=_0x2d732d-0x7e;const _0x3873f0=_0x3873();let _0x3b0fda=_0x3873f0[_0x2d732d];return _0x3b0fda;}module[_0x23ac0c(0x84)]=e;
|
package/lib/cjs/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1ceafc=_0x2c44;function _0x2c44(_0x1cf97e,_0x2fc635){_0x1cf97e=_0x1cf97e-0x170;const _0x537ff6=_0x537f();let _0x2c44b5=_0x537ff6[_0x1cf97e];return _0x2c44b5;}function _0x537f(){const _0x3f5b77=['12Szlbex','246503mIzCBm','Inicializace,\x20prosím\x20počkejte...','8dWPirb','2kUxzHO','2373534EzMdAh','7736560utDVUC','Obnovuje\x20sa,\x20prosím\x20počkajte...','17935269ONfkbd','10DaxhvH','Nepodarilo\x20sa\x20získať\x20zoznam\x20histórie\x20úprav','1293817gwAITk','1595613xmHTDI','729318DXxqxi','4WZJlWn'];_0x537f=function(){return _0x3f5b77;};return _0x537f();}(function(_0x2a786f,_0x48fcef){const _0x13c0a5=_0x2c44,_0x6dae16=_0x2a786f();while(!![]){try{const _0x4da14e=-parseInt(_0x13c0a5(0x17a))/0x1*(-parseInt(_0x13c0a5(0x17d))/0x2)+-parseInt(_0x13c0a5(0x176))/0x3*(-parseInt(_0x13c0a5(0x178))/0x4)+-parseInt(_0x13c0a5(0x173))/0x5*(-parseInt(_0x13c0a5(0x177))/0x6)+parseInt(_0x13c0a5(0x175))/0x7*(parseInt(_0x13c0a5(0x17c))/0x8)+parseInt(_0x13c0a5(0x17e))/0x9+parseInt(_0x13c0a5(0x170))/0xa+parseInt(_0x13c0a5(0x172))/0xb*(-parseInt(_0x13c0a5(0x179))/0xc);if(_0x4da14e===_0x48fcef)break;else _0x6dae16['push'](_0x6dae16['shift']());}catch(_0x1e54a6){_0x6dae16['push'](_0x6dae16['shift']());}}}(_0x537f,0x95b5e));const e={'edit-history-loader':{'panel':{'title':'História\x20úprav','reverting':_0x1ceafc(0x171),'revertFailed':'Neznáma\x20chyba,\x20obnovte\x20stránku\x20a\x20pozrite\x20si\x20výsledok\x20obnovenia','listFetchError':_0x1ceafc(0x174)},'info':{'initializing':_0x1ceafc(0x17b)}}};module['exports']=e;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2311db=_0x6c14;(function(_0x50bbd2,_0x2e0956){const _0x4a04ca=_0x6c14,_0x169100=_0x50bbd2();while(!![]){try{const _0x241f7e=parseInt(_0x4a04ca(0x12b))/0x1*(-parseInt(_0x4a04ca(0x132))/0x2)+-parseInt(_0x4a04ca(0x12f))/0x3*(parseInt(_0x4a04ca(0x129))/0x4)+-parseInt(_0x4a04ca(0x125))/0x5*(-parseInt(_0x4a04ca(0x12e))/0x6)+-parseInt(_0x4a04ca(0x128))/0x7+-parseInt(_0x4a04ca(0x12d))/0x8*(-parseInt(_0x4a04ca(0x123))/0x9)+-parseInt(_0x4a04ca(0x12a))/0xa*(parseInt(_0x4a04ca(0x131))/0xb)+parseInt(_0x4a04ca(0x12c))/0xc;if(_0x241f7e===_0x2e0956)break;else _0x169100['push'](_0x169100['shift']());}catch(_0x3180d2){_0x169100['push'](_0x169100['shift']());}}}(_0x47df,0x4f253));function _0x47df(){const _0x22f423=['989366hMJQnd','2008oWKFDR','10710TLGTfN','9181PACbOq','18755580yNVnIP','32tThgmW','1788pQlwdx','2847JoKVrQ','đang\x20khởi\x20tạo,\x20vui\x20lòng\x20đợi...','4389kgDKBM','74xfhjZh','exports','269442DlUXBW','Đang\x20khôi\x20phục,\x20vui\x20lòng\x20đợi...','440NvWrIx','Lỗi\x20không\x20xác\x20định,\x20vui\x20lòng\x20làm\x20mới\x20trang\x20để\x20xem\x20kết\x20quả\x20khôi\x20phục','Lịch\x20sử\x20chỉnh\x20sửa'];_0x47df=function(){return _0x22f423;};return _0x47df();}function _0x6c14(_0x493d70,_0x7c0473){_0x493d70=_0x493d70-0x123;const _0x47df5e=_0x47df();let _0x6c1410=_0x47df5e[_0x493d70];return _0x6c1410;}const e={'edit-history-loader':{'panel':{'title':_0x2311db(0x127),'reverting':_0x2311db(0x124),'revertFailed':_0x2311db(0x126),'listFetchError':'Không\x20thể\x20lấy\x20danh\x20sách\x20lịch\x20sử\x20chỉnh\x20sửa'},'info':{'initializing':_0x2311db(0x130)}}};module[_0x2311db(0x133)]=e;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5c87(){const _0x40b404=['9061227AdpPQe','5971848AoXoZb','2143860nNWuXW','初始化中,请稍等...','168458kZGfhW','28118100YuJVwJ','获取编辑历史记录列表失败','20znymsT','exports','历史记录','474171veTdFt','18wWBBEC','20965GZskof','7QXkLny','正在还原,请稍等...','未知错误,请刷新页面查看还原结果'];_0x5c87=function(){return _0x40b404;};return _0x5c87();}const _0x446773=_0x1124;(function(_0xf9c59d,_0xd13cfa){const _0x55f0da=_0x1124,_0xe5e7d9=_0xf9c59d();while(!![]){try{const _0x3660af=-parseInt(_0x55f0da(0x185))/0x1+-parseInt(_0x55f0da(0x183))/0x2+parseInt(_0x55f0da(0x18b))/0x3*(parseInt(_0x55f0da(0x188))/0x4)+-parseInt(_0x55f0da(0x18d))/0x5*(parseInt(_0x55f0da(0x18c))/0x6)+-parseInt(_0x55f0da(0x18e))/0x7*(parseInt(_0x55f0da(0x182))/0x8)+-parseInt(_0x55f0da(0x181))/0x9+parseInt(_0x55f0da(0x186))/0xa;if(_0x3660af===_0xd13cfa)break;else _0xe5e7d9['push'](_0xe5e7d9['shift']());}catch(_0x194319){_0xe5e7d9['push'](_0xe5e7d9['shift']());}}}(_0x5c87,0x91784));const e={'edit-history-loader':{'panel':{'title':_0x446773(0x18a),'reverting':_0x446773(0x18f),'revertFailed':_0x446773(0x180),'listFetchError':_0x446773(0x187)},'info':{'initializing':_0x446773(0x184)}}};function _0x1124(_0x31307b,_0x13c0f2){_0x31307b=_0x31307b-0x180;const _0x5c87e5=_0x5c87();let _0x112417=_0x5c87e5[_0x31307b];return _0x112417;}module[_0x446773(0x189)]=e;
|
package/lib/cjs/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x51f635=_0x5b27;(function(_0x2f1edd,_0x5cebb0){const _0x21beac=_0x5b27,_0xce5002=_0x2f1edd();while(!![]){try{const _0x59adf7=-parseInt(_0x21beac(0x13b))/0x1*(-parseInt(_0x21beac(0x13a))/0x2)+-parseInt(_0x21beac(0x137))/0x3+parseInt(_0x21beac(0x134))/0x4*(-parseInt(_0x21beac(0x136))/0x5)+-parseInt(_0x21beac(0x13d))/0x6+parseInt(_0x21beac(0x138))/0x7+parseInt(_0x21beac(0x133))/0x8+parseInt(_0x21beac(0x132))/0x9;if(_0x59adf7===_0x5cebb0)break;else _0xce5002['push'](_0xce5002['shift']());}catch(_0x22283b){_0xce5002['push'](_0xce5002['shift']());}}}(_0x3fc3,0x8a574));function _0x5b27(_0x32ce56,_0x53803e){_0x32ce56=_0x32ce56-0x132;const _0x3fc39a=_0x3fc3();let _0x5b2706=_0x3fc39a[_0x32ce56];return _0x5b2706;}const e={'edit-history-loader':{'panel':{'title':_0x51f635(0x13c),'reverting':'正在還原,請稍候...','revertFailed':_0x51f635(0x13e),'listFetchError':_0x51f635(0x135)},'info':{'initializing':_0x51f635(0x139)}}};module[_0x51f635(0x13f)]=e;function _0x3fc3(){const _0x597e35=['6375690gXXrYI','發生未知錯誤,請重新整理頁面查看還原結果','exports','13201659cwdSfI','7132048RsnhwC','266872jccfYu','無法取得編輯歷程列表','65oeLBMQ','3167586XcENsE','1043945ZJWNzz','初始化中,請稍候...','2inVvHj','1044963KLOIbR','編輯歷程'];_0x3fc3=function(){return _0x597e35;};return _0x3fc3();}
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x550847=_0x1312;(function(_0x49c7e4,_0x15bbad){const _0x4514a1=_0x1312,_0x5b2244=_0x49c7e4();while(!![]){try{const _0x1b9261=parseInt(_0x4514a1(0x183))/0x1*(-parseInt(_0x4514a1(0x189))/0x2)+-parseInt(_0x4514a1(0x18b))/0x3*(parseInt(_0x4514a1(0x18c))/0x4)+-parseInt(_0x4514a1(0x186))/0x5+-parseInt(_0x4514a1(0x181))/0x6+parseInt(_0x4514a1(0x180))/0x7+parseInt(_0x4514a1(0x182))/0x8*(-parseInt(_0x4514a1(0x185))/0x9)+parseInt(_0x4514a1(0x18a))/0xa;if(_0x1b9261===_0x15bbad)break;else _0x5b2244['push'](_0x5b2244['shift']());}catch(_0x10bd12){_0x5b2244['push'](_0x5b2244['shift']());}}}(_0x54e3,0xeea13));const e={'edit-history-loader':{'panel':{'title':_0x550847(0x188),'reverting':'正在還原,請稍候...','revertFailed':'發生未知錯誤,請重新整理頁面查看還原結果','listFetchError':_0x550847(0x184)},'info':{'initializing':'初始化中,請稍候...'}}};function _0x54e3(){const _0x403ad4=['16599dohAeb','無法取得編輯歷程列表','9HNAJRA','1076300AfAZFe','exports','編輯歷程','194VZfwoj','19772620ArXUZC','84nmuioL','26140rYfFLo','8402569ZZOGsx','909222oUWZAt','322576YOecGn'];_0x54e3=function(){return _0x403ad4;};return _0x54e3();}function _0x1312(_0x216f96,_0x485cfc){_0x216f96=_0x216f96-0x180;const _0x54e383=_0x54e3();let _0x1312f4=_0x54e383[_0x216f96];return _0x1312f4;}module[_0x550847(0x187)]=e;
|