@univerjs-pro/edit-history-loader 0.6.5 → 0.6.6
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/es/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +36 -36
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var _0x3b6654=_0x159d;(function(_0x21ed77,_0x3913de){var _0x147d4e=_0x159d,_0xeca031=_0x21ed77();while(!![]){try{var _0x3c726e=-parseInt(_0x147d4e(0x161))/0x1+parseInt(_0x147d4e(0x102))/0x2*(parseInt(_0x147d4e(0xd6))/0x3)+-parseInt(_0x147d4e(0xca))/0x4+parseInt(_0x147d4e(0x19e))/0x5*(parseInt(_0x147d4e(0x160))/0x6)+-parseInt(_0x147d4e(0x1bc))/0x7*(-parseInt(_0x147d4e(0xe8))/0x8)+parseInt(_0x147d4e(0xe2))/0x9*(parseInt(_0x147d4e(0x156))/0xa)+parseInt(_0x147d4e(0x152))/0xb*(-parseInt(_0x147d4e(0xfb))/0xc);if(_0x3c726e===_0x3913de)break;else _0xeca031['push'](_0xeca031['shift']());}catch(_0x49d947){_0xeca031['push'](_0xeca031['shift']());}}}(_0x1d6f,0x83888));var j=Object['defineProperty'],x=(_0x1c5df4,_0x1e0c04,_0x4b47aa)=>_0x1e0c04 in _0x1c5df4?j(_0x1c5df4,_0x1e0c04,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4b47aa}):_0x1c5df4[_0x1e0c04]=_0x4b47aa,f=(_0x2826c3,_0x12e1cc,_0x4c130e)=>x(_0x2826c3,typeof _0x12e1cc!=_0x3b6654(0x11a)?_0x12e1cc+'':_0x12e1cc,_0x4c130e);Object[_0x3b6654(0xf7)](exports,Symbol[_0x3b6654(0x16c)],{'value':'Module'});const I=require(_0x3b6654(0xf3)),p=require(_0x3b6654(0x15f)),y=require('@univerjs-pro/edit-history-viewer'),V=require(_0x3b6654(0x139)),F=require(_0x3b6654(0x162)),A=require('@univerjs-pro/sheets-sparkline-ui'),s=require(_0x3b6654(0x106)),$=require('@univerjs/data-validation'),E=require(_0x3b6654(0x153)),Y=require(_0x3b6654(0xfc)),W=require(_0x3b6654(0x17c)),H=require('@univerjs/drawing'),K=require(_0x3b6654(0xd1)),B=require(_0x3b6654(0x165)),G=require(_0x3b6654(0x11d)),z=require('@univerjs/network'),Z=require(_0x3b6654(0xeb)),h=require('@univerjs/sheets'),J=require(_0x3b6654(0x151)),Q=require(_0x3b6654(0x15a)),X=require(_0x3b6654(0x1a5)),ee=require(_0x3b6654(0x198)),ie=require(_0x3b6654(0x1c9)),te=require('@univerjs/sheets-drawing-ui'),re=require(_0x3b6654(0x1a1)),ne=require('@univerjs/sheets-filter-ui'),oe=require(_0x3b6654(0x167)),se=require(_0x3b6654(0x131)),ae=require(_0x3b6654(0xc9)),ce=require(_0x3b6654(0x122)),le=require(_0x3b6654(0xf5)),O=require(_0x3b6654(0x155)),g=require(_0x3b6654(0x1ad)),ue=require(_0x3b6654(0x15c)),C=require('react'),N=_0x3b6654(0x144),M={};var ge=Object['getOwnPropertyDescriptor'],ve=(_0x42cb14,_0x2893f3,_0x229488,_0x22a01c)=>{for(var _0x1c88bd=_0x22a01c>0x1?void 0x0:_0x22a01c?ge(_0x2893f3,_0x229488):_0x2893f3,_0x3cceed=_0x42cb14['length']-0x1,_0xa140d7;_0x3cceed>=0x0;_0x3cceed--)(_0xa140d7=_0x42cb14[_0x3cceed])&&(_0x1c88bd=_0xa140d7(_0x1c88bd)||_0x1c88bd);return _0x1c88bd;},d=(_0x4bdf80,_0x5193cc)=>(_0xe6e59c,_0xf994cc)=>_0x5193cc(_0xe6e59c,_0xf994cc,_0x4bdf80);const de=_0x3b6654(0x166),P=_0x3b6654(0x121),m=_0x3b6654(0x130);exports[_0x3b6654(0xcc)]=class extends s[_0x3b6654(0xda)]{constructor(_0x1b0b08,_0x4c9b9e,_0x2f977b,_0x2a33b2,_0x17cfbc,_0x3ab255,_0x17f7b4,_0x634965,_0xaebaff){var _0x376154=_0x3b6654;super(),f(this,_0x376154(0x1ca),null),f(this,_0x376154(0x1d3),new s[(_0x376154(0x143))]()),f(this,_0x376154(0x17d),new Map()),(this[_0x376154(0xe4)]=_0x1b0b08,this[_0x376154(0x1c1)]=_0x4c9b9e,this[_0x376154(0x129)]=_0x2f977b,this[_0x376154(0x117)]=_0x2a33b2,this[_0x376154(0x177)]=_0x17cfbc,this[_0x376154(0x189)]=_0x3ab255,this[_0x376154(0x11e)]=_0x17f7b4,this[_0x376154(0xcd)]=_0x634965,this['_sidebarService']=_0xaebaff,this[_0x376154(0x101)]());}[_0x3b6654(0x101)](){var _0x45c81f=_0x3b6654;this[_0x45c81f(0x176)](),this[_0x45c81f(0x1ac)]();}[_0x3b6654(0x176)](){var _0x46598b=_0x3b6654,_0x332b5b;const _0x11af21=(_0x332b5b=this[_0x46598b(0x129)][_0x46598b(0x1a4)](P))!=null?_0x332b5b:de,_0x4ac7fa=document[_0x46598b(0x127)](_0x11af21);if(!_0x4ac7fa)return;const _0x402545=document[_0x46598b(0x123)]('div');_0x402545['id']=m,_0x402545[_0x46598b(0x12c)][_0x46598b(0xcf)](_0x46598b(0x130)),_0x402545[_0x46598b(0x120)]['position']=_0x46598b(0x12e),_0x402545['style'][_0x46598b(0x1be)]='0',_0x402545['style']['left']='0',_0x402545[_0x46598b(0x120)][_0x46598b(0x12f)]='100%',_0x402545[_0x46598b(0x120)]['height']=_0x46598b(0x14e),_0x402545[_0x46598b(0x120)]['zIndex']=_0x46598b(0xed),_0x402545[_0x46598b(0x120)][_0x46598b(0x140)]=_0x46598b(0x190),_0x4ac7fa[_0x46598b(0x1aa)](_0x402545);}['_initPlugins'](){var _0x1305f=_0x3b6654,_0x230059;[[G[_0x1305f(0x126)]],[g[_0x1305f(0x10c)],{'container':m,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[g['IDialogService'],null]]}],[z[_0x1305f(0xdd)]],[H['UniverDrawingPlugin'],{'override':[[H[_0x1305f(0xef)],null]]}],[Y['UniverDocsPlugin'],{'hasScroll':!0x1}],[W['UniverDocsUIPlugin']],[le['UniverSheetsNumfmtPlugin']],[h[_0x1305f(0x1af)],{'notExecuteFormula':!0x0}],[O[_0x1305f(0x112)]],[oe[_0x1305f(0x125)]],[se[_0x1305f(0x13e)]],[I[_0x1305f(0x119)]],[re[_0x1305f(0x163)]],[ne[_0x1305f(0x1b0)]],[J['UniverSheetsConditionalFormattingPlugin']],[Q[_0x1305f(0x16f)]],[ae[_0x1305f(0xf9)]],[ce[_0x1305f(0x193)]],[$['UniverDataValidationPlugin']],[X[_0x1305f(0x15b)]],[ee['UniverSheetsDataValidationUIPlugin']],[B[_0x1305f(0x19d)],{'notExecuteFormula':!0x0}],[Z[_0x1305f(0x118)],{'workerURL':_0x1305f(0xe7)}],[K[_0x1305f(0x1b9)]],[ie[_0x1305f(0x19a)]],[te[_0x1305f(0x17b)]],[F[_0x1305f(0x128)]],[A[_0x1305f(0x17f)]],[V[_0x1305f(0xfd)],{'notExecuteFormula':!0x0}],[y[_0x1305f(0x157)],{'historyListServerUrl':(_0x230059=this[_0x1305f(0x129)][_0x1305f(0x1a4)](N))==null?void 0x0:_0x230059['historyListServerUrl']}]][_0x1305f(0x148)](([_0x508053,_0x4bcfa7])=>this['registerPlugin'](_0x508053,_0x4bcfa7));}[_0x3b6654(0x181)](){var _0x158960=_0x3b6654;super[_0x158960(0x181)](),this[_0x158960(0x170)](),this[_0x158960(0x17d)][_0x158960(0x1b5)]();}[_0x3b6654(0x1ab)](_0x1c7ffa,_0x316102,_0xdacb85){var _0x3bd44d=_0x3b6654;if(this[_0x3bd44d(0x17d)][_0x3bd44d(0xde)](_0x1c7ffa[_0x3bd44d(0x158)])&&!_0xdacb85)throw new Error(_0x3bd44d(0xfe)+_0x1c7ffa[_0x3bd44d(0x158)]+_0x3bd44d(0x18c));this[_0x3bd44d(0x17d)][_0x3bd44d(0xee)](_0x1c7ffa[_0x3bd44d(0x158)],[_0x1c7ffa,_0x316102]);}[_0x3b6654(0x111)](){var _0x149ca3=_0x3b6654;return Array[_0x149ca3(0x1c6)](this[_0x149ca3(0x17d)][_0x149ca3(0x14b)]());}[_0x3b6654(0x11c)](_0x1bb57f){var _0x467684=_0x3b6654;const _0x388f22=document[_0x467684(0x127)](m);_0x388f22&&(_0x388f22[_0x467684(0x120)][_0x467684(0x140)]=_0x467684(0x192),this['_initUniver'](_0x1bb57f,m));}[_0x3b6654(0x170)](){var _0x5092f6=_0x3b6654,_0xc346e8;this[_0x5092f6(0x1d3)]['dispose'](),(_0xc346e8=this[_0x5092f6(0x1ca)])==null||_0xc346e8[_0x5092f6(0x181)](),this['_historyUniver']=null;const _0x39ab8d=document[_0x5092f6(0x127)](m);_0x39ab8d&&(_0x39ab8d[_0x5092f6(0x120)]['display']=_0x5092f6(0x190));}['_initUniver'](_0x3c8edb,_0x150a7c){var _0x129f1e=_0x3b6654;if(this[_0x129f1e(0x1ca)])return;const _0x3e39c2=new s[(_0x129f1e(0xf2))]({'theme':E[_0x129f1e(0x10d)],'locales':{[this[_0x129f1e(0xe4)][_0x129f1e(0x169)]()]:this[_0x129f1e(0xe4)]['getLocales']()},'override':[[s[_0x129f1e(0x1b4)],{'useClass':p['AuthzIoHttpService']}]]});this['_historyUniver']=_0x3e39c2;const _0x3678b4=_0x3e39c2[_0x129f1e(0xf6)]();_0x3678b4[_0x129f1e(0x1d6)](s[_0x129f1e(0x187)])[_0x129f1e(0x1c3)](this[_0x129f1e(0xe4)][_0x129f1e(0x169)]()),_0x3678b4[_0x129f1e(0x1d6)](s['IConfigService'])[_0x129f1e(0x100)](p[_0x129f1e(0x104)],this[_0x129f1e(0x129)][_0x129f1e(0x1a4)](p['SNAPSHOT_SERVER_URL_KEY'])),this[_0x129f1e(0x17d)][_0x129f1e(0x148)](([_0x2a5ab0,_0x516842])=>{var _0x30475b=_0x129f1e;_0x3e39c2[_0x30475b(0x1ab)](_0x2a5ab0,_0x516842);}),_0x3678b4[_0x129f1e(0x178)](_0x4fabfc=>{this['_initListener'](_0x4fabfc,_0x3c8edb);});const _0x23637c=_0x3678b4[_0x129f1e(0x1d6)](y[_0x129f1e(0x12a)]),_0x331841=this[_0x129f1e(0x1c0)](_0x3c8edb);_0x23637c[_0x129f1e(0xe6)](_0x3c8edb,_0x150a7c,_0x331841);}[_0x3b6654(0x11f)](_0x979c08,_0x3437f6){var _0x5159fc=_0x3b6654;const _0x284630=_0x979c08['get'](y[_0x5159fc(0x12a)]);this[_0x5159fc(0x1d3)][_0x5159fc(0xcf)](_0x284630['status$'][_0x5159fc(0x18f)](_0x3ccf2b=>{var _0x471248=_0x5159fc;switch(_0x3ccf2b){case y['HistoryModeStatus'][_0x471248(0x1c5)]:this[_0x471248(0xcd)][_0x471248(0xe5)](),this[_0x471248(0xec)]['close']();break;case y[_0x471248(0x14c)][_0x471248(0x12b)]:this['unMountHistoryContent']();break;case y[_0x471248(0x14c)]['Error']:this[_0x471248(0x170)](),this[_0x471248(0x177)][_0x471248(0x1b1)]({'content':this[_0x471248(0xe4)]['t'](_0x471248(0xdf)),'type':E[_0x471248(0x1b7)]['Error'],'duration':0xbb8});break;}})),this[_0x5159fc(0x1d3)][_0x5159fc(0xcf)](_0x284630['revertRevision$'][_0x5159fc(0x18f)](async _0x5f579f=>{var _0x1f3b99=_0x5159fc;_0x5f579f&&this[_0x1f3b99(0x117)][_0x1f3b99(0x194)](I[_0x1f3b99(0x168)]['id'],{'unitId':_0x3437f6,'revision':_0x5f579f});}));}[_0x3b6654(0x1c0)](_0xfc8e97){var _0x13c505=_0x3b6654;const _0x39f9ce=this[_0x13c505(0x1c1)]['getUnit'](_0xfc8e97)[_0x13c505(0x16e)]()[_0x13c505(0x141)](_0x43a8c5=>_0x43a8c5['getSheetId']()),_0x1eb8b3=new h[(_0x13c505(0x1a8))](_0xfc8e97)['id'],_0x36a79e=_0x39f9ce[_0x13c505(0x141)](_0x4fd3f1=>new h[(_0x13c505(0x1d2))](_0xfc8e97,_0x4fd3f1)['id']),_0x461b88=_0x39f9ce[_0x13c505(0x141)](_0x50d862=>this[_0x13c505(0x11e)][_0x13c505(0x114)](_0xfc8e97,_0x50d862)[_0x13c505(0x141)](_0x4b9aee=>new h[(_0x13c505(0xe0))](_0xfc8e97,_0x50d862,_0x4b9aee[_0x13c505(0x1d5)])['id']))[_0x13c505(0xcb)](),_0x4e9e4e=new h['WorkbookRecoverHistoryPermission'](_0xfc8e97)['id'];return this[_0x13c505(0x189)][_0x13c505(0x1ce)]([_0x1eb8b3,..._0x36a79e,..._0x461b88,_0x4e9e4e])[_0x13c505(0xff)](_0x510395=>!!_0x510395[_0x13c505(0x107)]);}},exports[_0x3b6654(0xcc)]=ve([d(0x0,s[_0x3b6654(0x13a)](s[_0x3b6654(0x187)])),d(0x1,s[_0x3b6654(0x19b)]),d(0x2,s[_0x3b6654(0x13c)]),d(0x3,s['ICommandService']),d(0x4,g[_0x3b6654(0x1bd)]),d(0x5,s[_0x3b6654(0x15e)]),d(0x6,s[_0x3b6654(0x13a)](h[_0x3b6654(0x199)])),d(0x7,s[_0x3b6654(0x13a)](g[_0x3b6654(0xd2)])),d(0x8,s['Inject'](g[_0x3b6654(0x1a0)]))],exports[_0x3b6654(0xcc)]);var u=function(){var _0x18d6e5=_0x3b6654;return u=Object[_0x18d6e5(0x147)]||function(_0x5b67ad){var _0x26d1c7=_0x18d6e5;for(var _0x5533ff,_0x4f7fb0=0x1,_0x4ac3fe=arguments[_0x26d1c7(0x142)];_0x4f7fb0<_0x4ac3fe;_0x4f7fb0++){_0x5533ff=arguments[_0x4f7fb0];for(var _0x4249e1 in _0x5533ff)Object[_0x26d1c7(0x1cd)]['hasOwnProperty'][_0x26d1c7(0xf4)](_0x5533ff,_0x4249e1)&&(_0x5b67ad[_0x4249e1]=_0x5533ff[_0x4249e1]);}return _0x5b67ad;},u['apply'](this,arguments);},he=function(_0x1a0284,_0x217c2b){var _0x58cdf6=_0x3b6654,_0x5bbc72={};for(var _0x2aaf4b in _0x1a0284)Object['prototype'][_0x58cdf6(0x16d)][_0x58cdf6(0xf4)](_0x1a0284,_0x2aaf4b)&&_0x217c2b['indexOf'](_0x2aaf4b)<0x0&&(_0x5bbc72[_0x2aaf4b]=_0x1a0284[_0x2aaf4b]);if(_0x1a0284!=null&&typeof Object['getOwnPropertySymbols']==_0x58cdf6(0x164)){for(var _0x1895e2=0x0,_0x2aaf4b=Object[_0x58cdf6(0xd9)](_0x1a0284);_0x1895e2<_0x2aaf4b[_0x58cdf6(0x142)];_0x1895e2++)_0x217c2b[_0x58cdf6(0x1cb)](_0x2aaf4b[_0x1895e2])<0x0&&Object[_0x58cdf6(0x1cd)]['propertyIsEnumerable']['call'](_0x1a0284,_0x2aaf4b[_0x1895e2])&&(_0x5bbc72[_0x2aaf4b[_0x1895e2]]=_0x1a0284[_0x2aaf4b[_0x1895e2]]);}return _0x5bbc72;},L=C[_0x3b6654(0xe3)](function(_0x1d055c,_0x4376a3){var _0x1d9856=_0x3b6654,_0x3da117=_0x1d055c[_0x1d9856(0x197)],_0x256e3f=_0x1d055c['id'],_0x5a2464=_0x1d055c[_0x1d9856(0x186)],_0x327308=_0x1d055c['extend'],_0x57e579=he(_0x1d055c,[_0x1d9856(0x197),'id',_0x1d9856(0x186),'extend']),_0x26aeb8='univerjs-icon\x20univerjs-icon-'[_0x1d9856(0xd7)](_0x256e3f,'\x20')[_0x1d9856(0xd7)](_0x5a2464||'')['trim'](),_0xe90177=C['useRef']('_'['concat'](fe()));return T(_0x3da117,''['concat'](_0x256e3f),{'defIds':_0x3da117[_0x1d9856(0x11b)],'idSuffix':_0xe90177[_0x1d9856(0x146)]},u({'ref':_0x4376a3,'className':_0x26aeb8},_0x57e579),_0x327308);});function T(_0x1d21de,_0x4faa9e,_0x3246fd,_0x55be3e,_0x1477cd){var _0x164db8=_0x3b6654;return C[_0x164db8(0x123)](_0x1d21de[_0x164db8(0x18a)],u(u({'key':_0x4faa9e},_e(_0x1d21de,_0x3246fd,_0x1477cd)),_0x55be3e),(Se(_0x1d21de,_0x3246fd)['children']||[])[_0x164db8(0x141)](function(_0x2ba70c,_0x4715ab){var _0x6b6219=_0x164db8;return T(_0x2ba70c,''[_0x6b6219(0xd7)](_0x4faa9e,'-')[_0x6b6219(0xd7)](_0x1d21de['tag'],'-')[_0x6b6219(0xd7)](_0x4715ab),_0x3246fd,void 0x0,_0x1477cd);}));}function _e(_0x28dc36,_0x1b0a15,_0x397c71){var _0x35f45a=_0x3b6654,_0xe8f7b1=u({},_0x28dc36['attrs']);_0x397c71!=null&&_0x397c71[_0x35f45a(0xf8)]&&_0xe8f7b1[_0x35f45a(0x138)]==='colorChannel1'&&(_0xe8f7b1['fill']=_0x397c71[_0x35f45a(0xf8)]),_0x28dc36[_0x35f45a(0x18a)]===_0x35f45a(0x174)&&_0xe8f7b1['id']&&(_0xe8f7b1['id']=_0xe8f7b1['id']+_0x1b0a15['idSuffix']),Object[_0x35f45a(0x184)](_0xe8f7b1)[_0x35f45a(0x148)](function(_0x200122){var _0x157b82=_0x35f45a,_0x8885f0=_0x200122[0x0],_0x77a13c=_0x200122[0x1];_0x8885f0===_0x157b82(0x174)&&typeof _0x77a13c==_0x157b82(0x1c2)&&(_0xe8f7b1[_0x8885f0]=_0x77a13c[_0x157b82(0x149)](/url\(#(.*)\)/,_0x157b82(0x110)['concat'](_0x1b0a15[_0x157b82(0x136)],')')));});var _0x4d0ffe=_0x1b0a15[_0x35f45a(0x11b)];return!_0x4d0ffe||_0x4d0ffe[_0x35f45a(0x142)]===0x0||(_0x28dc36[_0x35f45a(0x18a)]===_0x35f45a(0x1bf)&&_0xe8f7b1['xlink:href']&&(_0xe8f7b1[_0x35f45a(0x172)]=_0xe8f7b1['xlink:href']+_0x1b0a15[_0x35f45a(0x136)]),Object['entries'](_0xe8f7b1)[_0x35f45a(0x148)](function(_0x31cf3b){var _0x1bf596=_0x35f45a,_0x193a9d=_0x31cf3b[0x0],_0x56122b=_0x31cf3b[0x1];typeof _0x56122b=='string'&&(_0xe8f7b1[_0x193a9d]=_0x56122b['replace'](/url\(#(.*)\)/,_0x1bf596(0x110)[_0x1bf596(0xd7)](_0x1b0a15['idSuffix'],')')));})),_0xe8f7b1;}function Se(_0x52f928,_0x4f93d2){var _0x5ba7ff=_0x3b6654,_0x2c21d1,_0x26e0c2=_0x4f93d2[_0x5ba7ff(0x11b)];return!_0x26e0c2||_0x26e0c2[_0x5ba7ff(0x142)]===0x0?_0x52f928:_0x52f928[_0x5ba7ff(0x18a)]==='defs'&&(!((_0x2c21d1=_0x52f928[_0x5ba7ff(0x175)])===null||_0x2c21d1===void 0x0)&&_0x2c21d1[_0x5ba7ff(0x142)])?u(u({},_0x52f928),{'children':_0x52f928[_0x5ba7ff(0x175)][_0x5ba7ff(0x141)](function(_0x4602e7){var _0x29e1c4=_0x5ba7ff;return typeof _0x4602e7[_0x29e1c4(0x150)]['id']=='string'&&_0x26e0c2&&_0x26e0c2[_0x29e1c4(0x1cb)](_0x4602e7['attrs']['id'])>-0x1?u(u({},_0x4602e7),{'attrs':u(u({},_0x4602e7['attrs']),{'id':_0x4602e7[_0x29e1c4(0x150)]['id']+_0x4f93d2[_0x29e1c4(0x136)]})}):_0x4602e7;})}):_0x52f928;}function fe(){var _0x2ea72c=_0x3b6654;return Math[_0x2ea72c(0x1b6)]()[_0x2ea72c(0x13b)](0x24)[_0x2ea72c(0x191)](0x2,0x8);}L[_0x3b6654(0x183)]=_0x3b6654(0x116);var ye={'tag':_0x3b6654(0xce),'attrs':{'fill':_0x3b6654(0x190),'viewBox':_0x3b6654(0x1bb),'width':_0x3b6654(0x12d),'height':_0x3b6654(0x12d)},'children':[{'tag':'g','attrs':{'fill':_0x3b6654(0x1d0),'clipPath':_0x3b6654(0x103)},'children':[{'tag':_0x3b6654(0x16a),'attrs':{'d':_0x3b6654(0x159)}},{'tag':_0x3b6654(0x16a),'attrs':{'d':_0x3b6654(0x115)}}]},{'tag':_0x3b6654(0x105),'attrs':{},'children':[{'tag':_0x3b6654(0x18b),'attrs':{'id':_0x3b6654(0x1a2)},'children':[{'tag':_0x3b6654(0x16a),'attrs':{'fill':_0x3b6654(0xdb),'d':_0x3b6654(0x14f)}}]}]}],'defIds':['history-single_clip0_907_281']},k=C[_0x3b6654(0xe3)](function(_0x3a2f52,_0x20c2d3){var _0x167d60=_0x3b6654;return C[_0x167d60(0x123)](L,Object['assign']({},_0x3a2f52,{'id':'history-single','ref':_0x20c2d3,'icon':ye}));});k[_0x3b6654(0x183)]=_0x3b6654(0x19c);function _0x159d(_0x8d365e,_0x4efb27){var _0x1d6f59=_0x1d6f();return _0x159d=function(_0x159d73,_0x41332b){_0x159d73=_0x159d73-0xc9;var _0x309480=_0x1d6f59[_0x159d73];return _0x309480;},_0x159d(_0x8d365e,_0x4efb27);}const R={'id':_0x3b6654(0xd3),'type':s[_0x3b6654(0xfa)]['OPERATION'],'handler':_0x3fcd41=>{var _0x1f8cbd=_0x3b6654;const _0x109f95=_0x3fcd41[_0x1f8cbd(0x1d6)](exports['HistoryLoaderService']),_0x35ab3f=_0x3fcd41[_0x1f8cbd(0x1d6)](s[_0x1f8cbd(0x19b)]),{unitId:_0xea64bf}=h[_0x1f8cbd(0xd4)](_0x35ab3f)||{};return _0xea64bf?(_0x109f95[_0x1f8cbd(0x11c)](_0xea64bf),!0x0):!0x1;}},D=_0x3b6654(0x19c);function me(_0x470a5a){var _0x3c393e=_0x3b6654;return{'id':R['id'],'type':g[_0x3c393e(0x1c4)][_0x3c393e(0x109)],'icon':D,'tooltip':_0x3c393e(0x171),'hidden$':g[_0x3c393e(0x1ae)](_0x470a5a,s[_0x3c393e(0x1c8)][_0x3c393e(0x14a)]),'disabled$':O[_0x3c393e(0x173)](_0x470a5a,{'workbookTypes':[h[_0x3c393e(0x1a8)],h[_0x3c393e(0x1b2)]],'worksheetTypes':[],'rangeTypes':[]})};}const pe={[g[_0x3b6654(0xd8)][_0x3b6654(0xd5)]]:{[R['id']]:{'order':0x0,'menuItemFactory':me}}};var Ie=Object[_0x3b6654(0x1c7)],Ce=(_0x1f406e,_0x1698e4,_0x48f2e6,_0x402934)=>{var _0x496f53=_0x3b6654;for(var _0x2e9056=_0x402934>0x1?void 0x0:_0x402934?Ie(_0x1698e4,_0x48f2e6):_0x1698e4,_0x46cf92=_0x1f406e[_0x496f53(0x142)]-0x1,_0x475f95;_0x46cf92>=0x0;_0x46cf92--)(_0x475f95=_0x1f406e[_0x46cf92])&&(_0x2e9056=_0x475f95(_0x2e9056)||_0x2e9056);return _0x2e9056;},_=(_0x32c3ff,_0x1ae169)=>(_0x3f2a5,_0x77c73a)=>_0x1ae169(_0x3f2a5,_0x77c73a,_0x32c3ff);let b=class extends s[_0x3b6654(0x1a9)]{constructor(_0x1c4643,_0x3f5f85,_0x119f87,_0x38fc16,_0x2ded82,_0x41ea72,_0x1eca06,_0x27df0b){var _0x111253=_0x3b6654;super(),f(this,_0x111253(0x124),null),(this[_0x111253(0x117)]=_0x1c4643,this[_0x111253(0xd0)]=_0x3f5f85,this['_componentManager']=_0x119f87,this[_0x111253(0x13f)]=_0x38fc16,this[_0x111253(0xe4)]=_0x2ded82,this['_messageService']=_0x41ea72,this[_0x111253(0xe1)]=_0x1eca06,this['_localCacheService']=_0x27df0b,this[_0x111253(0x101)]());}['_init'](){var _0x3722a7=_0x3b6654;[R]['forEach'](_0x391ab9=>this[_0x3722a7(0x10b)](s[_0x3722a7(0xf1)](this[_0x3722a7(0x117)][_0x3722a7(0x137)](_0x391ab9)))),this['disposeWithMe'](this[_0x3722a7(0x13d)][_0x3722a7(0x19f)](D,k)),this[_0x3722a7(0xd0)][_0x3722a7(0x18d)](pe),this[_0x3722a7(0x10b)](this['_commandService'][_0x3722a7(0xdc)](_0x43945e=>{var _0x5e0e77=_0x3722a7;if(_0x43945e['id']===I['RevertRevisionMutation']['id']){this[_0x5e0e77(0x177)][_0x5e0e77(0x1b1)]({'content':this[_0x5e0e77(0xe4)]['t'](_0x5e0e77(0x10f)),'type':E[_0x5e0e77(0x1b7)]['Loading'],'duration':0x1388});const {unitId:_0xec1579}=_0x43945e[_0x5e0e77(0x185)],_0x2a7e01=this[_0x5e0e77(0xe1)][_0x5e0e77(0x17e)](_0xec1579),_0x127763=ue[_0x5e0e77(0x182)]([_0x2a7e01[_0x5e0e77(0x1cc)][_0x5e0e77(0x1a6)],_0x2a7e01[_0x5e0e77(0x1d4)]])['subscribe'](async([_0x124d2a,_0x4904a2])=>{var _0x302bb4=_0x5e0e77,_0x1bd675;_0x124d2a['eventID']===I[_0x302bb4(0xf0)][_0x302bb4(0x1ba)]&&(_0x4904a2==null?void 0x0:_0x4904a2[_0x302bb4(0x1a3)])===p['CollaborationStatus'][_0x302bb4(0x154)]&&_0x124d2a[_0x302bb4(0x1b8)][_0x302bb4(0x18e)][_0x302bb4(0x1a7)](_0x2f38ba=>_0x2f38ba['id']===I['RevertRevisionMutation']['id'])&&(this[_0x302bb4(0x13f)][_0x302bb4(0x170)](),_0x127763[_0x302bb4(0x145)](),this[_0x302bb4(0x124)]&&clearTimeout(this[_0x302bb4(0x124)]),await((_0x1bd675=this[_0x302bb4(0x1b3)])==null?void 0x0:_0x1bd675[_0x302bb4(0x132)]()),setTimeout(()=>window[_0x302bb4(0x17a)][_0x302bb4(0x195)]()));});this[_0x5e0e77(0x124)]=setTimeout(()=>{var _0x551c05=_0x5e0e77;_0x127763[_0x551c05(0x145)](),this['_messageService']['show']({'content':this[_0x551c05(0xe4)]['t'](_0x551c05(0x1d1)),'type':E[_0x551c05(0x1b7)][_0x551c05(0x134)],'duration':0xbb8});},0x1388);}}));}};b=Ce([_(0x0,s['ICommandService']),_(0x1,g['IMenuManagerService']),_(0x2,s[_0x3b6654(0x13a)](g[_0x3b6654(0xea)])),_(0x3,s[_0x3b6654(0x13a)](exports[_0x3b6654(0xcc)])),_(0x4,s[_0x3b6654(0x13a)](s['LocaleService'])),_(0x5,g['IMessageService']),_(0x6,s[_0x3b6654(0x13a)](p[_0x3b6654(0x188)])),_(0x7,p['ILocalCacheService'])],b);var Ue=Object[_0x3b6654(0x1c7)],Ee=(_0x1b4256,_0xf6601c,_0x2bf4c4,_0x51b768)=>{var _0x5bf150=_0x3b6654;for(var _0x41cbe7=_0x51b768>0x1?void 0x0:_0x51b768?Ue(_0xf6601c,_0x2bf4c4):_0xf6601c,_0x103c2d=_0x1b4256[_0x5bf150(0x142)]-0x1,_0x3ca33d;_0x103c2d>=0x0;_0x103c2d--)(_0x3ca33d=_0x1b4256[_0x103c2d])&&(_0x41cbe7=_0x3ca33d(_0x41cbe7)||_0x41cbe7);return _0x41cbe7;},w=(_0x29235c,_0xf2a1a8)=>(_0x3ca405,_0x3a481a)=>_0xf2a1a8(_0x3ca405,_0x3a481a,_0x29235c);function _0x1d6f(){var _0x2ebfeb=['clear','random','MessageType','data','UniverDrawingUIPlugin','CHANGESET_ACK','0\x200\x2016\x2016','4466525UcUzkP','IMessageService','top','use','_checkCanRevert','_univerInstanceService','string','setLocale','MenuItemType','Entered','from','getOwnPropertyDescriptor','UniverInstanceType','@univerjs/sheets-drawing','_historyUniver','indexOf','session','prototype','composePermission','univerContainerId','currentColor','editHistory.panel.revertFailed','WorksheetEditPermission','_disposableCollection','state$','permissionId','get','@univerjs/sheets-hyper-link','469436yzRqTv','flat','HistoryLoaderService','_dialogService','svg','add','_menuManagerService','@univerjs/drawing-ui','IDialogService','univer.operation.toggle-edit-history','getSheetCommandTarget','OTHERS','1998OWoqha','concat','RibbonStartGroup','getOwnPropertySymbols','Disposable','#fff','onCommandExecuted','UniverNetworkPlugin','has','editHistory.panel.listFetchError','RangeProtectionPermissionEditPoint','_collaborationController','2340xiUJSj','forwardRef','_localeService','closeAll','triggerLoadVersions','./worker.js','8sCRSyh','Injector','ComponentManager','@univerjs/rpc','_sidebarService','1000','set','IImageIoService','CollaborationEvent','toDisposable','Univer','@univerjs-pro/collaboration','call','@univerjs/sheets-numfmt','__getInjector','defineProperty','colorChannel1','UniverSheetsHyperLinkPlugin','CommandType','129924PEaFVF','@univerjs/docs','UniverSheetsPivotTablePlugin','[HistoryLoaderService]:\x20Plugin\x20','every','setConfig','_init','1822bLeZfc','url(#history-single_clip0_907_281)','SNAPSHOT_SERVER_URL_KEY','defs','@univerjs/core','value','UNIVER_CONTAINER_ID_KEY','BUTTON','UNIVER_UNKNOWN','disposeWithMe','UniverUIPlugin','greenTheme','UNIVER_HISTORY_CONTAINER_ID','editHistory.panel.reverting','url(#$1','getAllPlugins','UniverSheetsUIPlugin','_injector','getSubunitRuleList','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','UniverIcon','_commandService','UniverRPCMainThreadPlugin','UniverCollaborationPlugin','symbol','defIds','mountHistoryContent','@univerjs/engine-render','_selectionProtectionRuleModel','_initListener','style','UNIVER_CONTAINER_ID','@univerjs/sheets-hyper-link-ui','createElement','_revertErrorTimer','UniverSheetsFormulaPlugin','UniverRenderEnginePlugin','getElementById','UniverSheetSparklinePlugin','_configService','HistoryManagerService','Exited','classList','1em','absolute','width','univer-history-container','@univerjs/sheets-formula-ui','exhaustSavingTask','menu','Error','type','idSuffix','registerCommand','fill','@univerjs-pro/sheets-pivot','Inject','toString','IConfigService','_componentManager','UniverSheetsFormulaUIPlugin','_historyManagerService','display','map','length','DisposableCollection','edit-history-loader.config','unsubscribe','current','assign','forEach','replace','UNIVER_SHEET','values','HistoryModeStatus','merge','100%','M0\x200H16V16H0z','attrs','@univerjs/sheets-conditional-formatting','1397XNUDIS','@univerjs/design','SYNCED','@univerjs/sheets-ui','34930WHFdJA','UniverEditHistoryViewerPlugin','pluginName','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','@univerjs/sheets-conditional-formatting-ui','UniverSheetsDataValidationPlugin','rxjs','onStarting','IPermissionService','@univerjs-pro/collaboration-client','48gOdRAm','663601TGuDHA','@univerjs-pro/sheets-sparkline','UniverSheetsFilterPlugin','function','@univerjs/engine-formula','univer-container','@univerjs/sheets-formula','RevertRevisionMutation','getCurrentLocale','path','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','toStringTag','hasOwnProperty','getSheets','UniverSheetsConditionalFormattingUIPlugin','unMountHistoryContent','editHistory.panel.title','xlink:href','getCurrentRangeDisable$','mask','children','_initContainer','_messageService','invoke','onSteady','location','UniverSheetsDrawingUIPlugin','@univerjs/docs-ui','_pluginMap','getCollabEntity','UniverSheetSparklineUIPlugin','_config','dispose','combineLatest','displayName','entries','params','className','LocaleService','CollaborationController','_permissionService','tag','clipPath','\x20has\x20been\x20registered.','mergeMenu','mutations','subscribe','none','substring','block','UniverSheetsHyperLinkUIPlugin','executeCommand','reload','UniverEditHistoryLoaderPlugin','icon','@univerjs/sheets-data-validation-ui','RangeProtectionRuleModel','UniverSheetsDrawingPlugin','IUniverInstanceService','HistorySingle','UniverFormulaEnginePlugin','338605PqgfkG','register','ISidebarService','@univerjs/sheets-filter','history-single_clip0_907_281','status','getConfig','@univerjs/sheets-data-validation','event$','some','WorkbookEditablePermission','RxDisposable','appendChild','registerPlugin','_initPlugins','@univerjs/ui','getMenuHiddenObservable','UniverSheetsPlugin','UniverSheetsFilterUIPlugin','show','WorkbookViewHistoryPermission','_localCacheService','IAuthzIoService'];_0x1d6f=function(){return _0x2ebfeb;};return _0x1d6f();}const be=_0x3b6654(0x16b);var U;exports[_0x3b6654(0x196)]=(U=class extends s['Plugin']{constructor(_0x26ca44=M,_0x1167be,_0x5ec047){var _0x4316d4=_0x3b6654;super(),this[_0x4316d4(0x180)]=_0x26ca44,this[_0x4316d4(0x113)]=_0x1167be,this[_0x4316d4(0x129)]=_0x5ec047;const {menu:_0x4af4bb,..._0x4fed4d}=s[_0x4316d4(0x14d)]({},M,this[_0x4316d4(0x180)]);_0x4af4bb&&this[_0x4316d4(0x129)][_0x4316d4(0x100)](_0x4316d4(0x133),_0x4af4bb,{'merge':!0x0}),this[_0x4316d4(0x129)][_0x4316d4(0x100)](N,_0x4fed4d),this[_0x4316d4(0x180)][_0x4316d4(0x1cf)]&&this[_0x4316d4(0x129)][_0x4316d4(0x100)](P,this['_config'][_0x4316d4(0x1cf)]);}[_0x3b6654(0x15d)](){var _0x5c7cd6=_0x3b6654;[[exports[_0x5c7cd6(0xcc)]],[b]]['forEach'](_0xdb802a=>this['_injector']['add'](_0xdb802a));}[_0x3b6654(0x179)](){var _0x4ab080=_0x3b6654;this[_0x4ab080(0x113)][_0x4ab080(0x1d6)](b);}},f(U,_0x3b6654(0x135),s['UniverInstanceType'][_0x3b6654(0x10a)]),f(U,_0x3b6654(0x158),be),U),exports[_0x3b6654(0x196)]=Ee([w(0x1,s[_0x3b6654(0x13a)](s[_0x3b6654(0xe9)])),w(0x2,s['IConfigService'])],exports[_0x3b6654(0x196)]),exports[_0x3b6654(0x108)]=P,exports[_0x3b6654(0x10e)]=m;
|
|
1
|
+
'use strict';var _0x431d01=_0x58f4;(function(_0x3c469c,_0xae7546){var _0x2e15df=_0x58f4,_0x3e2fce=_0x3c469c();while(!![]){try{var _0x1e2b9e=parseInt(_0x2e15df(0x148))/0x1*(parseInt(_0x2e15df(0x155))/0x2)+-parseInt(_0x2e15df(0x18b))/0x3*(parseInt(_0x2e15df(0x13d))/0x4)+-parseInt(_0x2e15df(0xeb))/0x5+parseInt(_0x2e15df(0x159))/0x6+parseInt(_0x2e15df(0x183))/0x7+-parseInt(_0x2e15df(0x133))/0x8+parseInt(_0x2e15df(0xfe))/0x9;if(_0x1e2b9e===_0xae7546)break;else _0x3e2fce['push'](_0x3e2fce['shift']());}catch(_0x314460){_0x3e2fce['push'](_0x3e2fce['shift']());}}}(_0x2b31,0xc157b));var j=Object['defineProperty'],x=(_0x2a9d9e,_0x1c7dfb,_0x5bf3de)=>_0x1c7dfb in _0x2a9d9e?j(_0x2a9d9e,_0x1c7dfb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5bf3de}):_0x2a9d9e[_0x1c7dfb]=_0x5bf3de,f=(_0x4b79c1,_0x83ea02,_0x5441ab)=>x(_0x4b79c1,typeof _0x83ea02!=_0x431d01(0xed)?_0x83ea02+'':_0x83ea02,_0x5441ab);Object['defineProperty'](exports,Symbol[_0x431d01(0x144)],{'value':_0x431d01(0x137)});const I=require(_0x431d01(0xe5)),p=require('@univerjs-pro/collaboration-client'),y=require('@univerjs-pro/edit-history-viewer'),V=require(_0x431d01(0x18f)),F=require(_0x431d01(0x104)),A=require(_0x431d01(0x103)),s=require(_0x431d01(0xc8)),$=require(_0x431d01(0xc3)),E=require(_0x431d01(0x12a)),Y=require('@univerjs/docs'),W=require(_0x431d01(0x15f)),H=require('@univerjs/drawing'),K=require('@univerjs/drawing-ui'),B=require(_0x431d01(0xad)),G=require('@univerjs/engine-render'),z=require(_0x431d01(0x162)),Z=require(_0x431d01(0x140)),h=require(_0x431d01(0xd5)),J=require('@univerjs/sheets-conditional-formatting'),Q=require('@univerjs/sheets-conditional-formatting-ui'),X=require(_0x431d01(0xee)),ee=require(_0x431d01(0xaf)),ie=require(_0x431d01(0x12c)),te=require(_0x431d01(0x13a)),re=require('@univerjs/sheets-filter'),ne=require(_0x431d01(0x19c)),oe=require('@univerjs/sheets-formula'),se=require(_0x431d01(0x149)),ae=require('@univerjs/sheets-hyper-link'),ce=require(_0x431d01(0x18e)),le=require(_0x431d01(0xb6)),O=require(_0x431d01(0x141)),g=require('@univerjs/ui'),ue=require(_0x431d01(0x165)),C=require(_0x431d01(0xfa)),N=_0x431d01(0xe4),M={};var ge=Object['getOwnPropertyDescriptor'],ve=(_0x4656da,_0x4fdd8e,_0x4d508d,_0x352bc6)=>{for(var _0x3bfe9f=_0x352bc6>0x1?void 0x0:_0x352bc6?ge(_0x4fdd8e,_0x4d508d):_0x4fdd8e,_0x493df7=_0x4656da['length']-0x1,_0x2240ed;_0x493df7>=0x0;_0x493df7--)(_0x2240ed=_0x4656da[_0x493df7])&&(_0x3bfe9f=_0x2240ed(_0x3bfe9f)||_0x3bfe9f);return _0x3bfe9f;},d=(_0x57f7de,_0x28f07a)=>(_0x547104,_0x4a86bd)=>_0x28f07a(_0x547104,_0x4a86bd,_0x57f7de);const de=_0x431d01(0xb9),P='UNIVER_CONTAINER_ID',m=_0x431d01(0xf0);exports[_0x431d01(0x179)]=class extends s[_0x431d01(0x189)]{constructor(_0x3899b9,_0x54b55e,_0x39849c,_0x214092,_0x602458,_0x23ca39,_0x141988,_0x5d9624,_0x3c72b8){var _0x365836=_0x431d01;super(),f(this,'_historyUniver',null),f(this,'_disposableCollection',new s['DisposableCollection']()),f(this,_0x365836(0x185),new Map()),(this[_0x365836(0x18d)]=_0x3899b9,this[_0x365836(0xf9)]=_0x54b55e,this['_configService']=_0x39849c,this[_0x365836(0x135)]=_0x214092,this[_0x365836(0x10c)]=_0x602458,this['_permissionService']=_0x23ca39,this[_0x365836(0xc0)]=_0x141988,this[_0x365836(0x145)]=_0x5d9624,this[_0x365836(0x197)]=_0x3c72b8,this[_0x365836(0x198)]());}[_0x431d01(0x198)](){var _0x1435e=_0x431d01;this[_0x1435e(0x16e)](),this[_0x1435e(0xac)]();}[_0x431d01(0x16e)](){var _0x436a9d=_0x431d01,_0xf6779f;const _0x2a1e49=(_0xf6779f=this[_0x436a9d(0x15d)][_0x436a9d(0x17b)](P))!=null?_0xf6779f:de,_0x56725f=document[_0x436a9d(0x12d)](_0x2a1e49);if(!_0x56725f)return;const _0x2ef63d=document[_0x436a9d(0xf4)]('div');_0x2ef63d['id']=m,_0x2ef63d[_0x436a9d(0x14c)][_0x436a9d(0xf7)](_0x436a9d(0xf0)),_0x2ef63d[_0x436a9d(0xce)][_0x436a9d(0xdc)]='absolute',_0x2ef63d[_0x436a9d(0xce)][_0x436a9d(0xf8)]='0',_0x2ef63d[_0x436a9d(0xce)][_0x436a9d(0x199)]='0',_0x2ef63d['style'][_0x436a9d(0x118)]=_0x436a9d(0x121),_0x2ef63d[_0x436a9d(0xce)][_0x436a9d(0xbb)]=_0x436a9d(0x121),_0x2ef63d['style'][_0x436a9d(0xd0)]=_0x436a9d(0x14a),_0x2ef63d[_0x436a9d(0xce)][_0x436a9d(0x157)]=_0x436a9d(0xcd),_0x56725f[_0x436a9d(0x15c)](_0x2ef63d);}[_0x431d01(0xac)](){var _0x14521d=_0x431d01,_0x1590ae;[[G[_0x14521d(0x112)]],[g[_0x14521d(0xba)],{'container':m,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[g[_0x14521d(0x110)],null]]}],[z[_0x14521d(0x125)]],[H[_0x14521d(0xbf)],{'override':[[H[_0x14521d(0x17a)],null]]}],[Y[_0x14521d(0xc9)],{'hasScroll':!0x1}],[W[_0x14521d(0x164)]],[le[_0x14521d(0xaa)]],[h[_0x14521d(0x152)],{'notExecuteFormula':!0x0}],[O[_0x14521d(0x119)]],[oe[_0x14521d(0xd6)]],[se[_0x14521d(0xd2)]],[I['UniverCollaborationPlugin']],[re[_0x14521d(0x186)]],[ne['UniverSheetsFilterUIPlugin']],[J['UniverSheetsConditionalFormattingPlugin']],[Q['UniverSheetsConditionalFormattingUIPlugin']],[ae[_0x14521d(0xea)]],[ce[_0x14521d(0xe7)]],[$['UniverDataValidationPlugin']],[X[_0x14521d(0x132)]],[ee[_0x14521d(0x17d)]],[B[_0x14521d(0xd9)],{'notExecuteFormula':!0x0}],[Z[_0x14521d(0x174)],{'workerURL':_0x14521d(0xbc)}],[K[_0x14521d(0xd7)]],[ie['UniverSheetsDrawingPlugin']],[te['UniverSheetsDrawingUIPlugin']],[F[_0x14521d(0x17e)]],[A['UniverSheetSparklineUIPlugin']],[V[_0x14521d(0x170)],{'notExecuteFormula':!0x0}],[y[_0x14521d(0xde)],{'historyListServerUrl':(_0x1590ae=this['_configService']['getConfig'](N))==null?void 0x0:_0x1590ae[_0x14521d(0xd3)]}]][_0x14521d(0xef)](([_0x3fdcfb,_0x328976])=>this[_0x14521d(0xf6)](_0x3fdcfb,_0x328976));}[_0x431d01(0x10d)](){var _0x3c2ff2=_0x431d01;super[_0x3c2ff2(0x10d)](),this[_0x3c2ff2(0xb1)](),this[_0x3c2ff2(0x185)][_0x3c2ff2(0x196)]();}[_0x431d01(0xf6)](_0x535fb3,_0x1ca665,_0x273685){var _0xb50e9e=_0x431d01;if(this[_0xb50e9e(0x185)][_0xb50e9e(0x169)](_0x535fb3['pluginName'])&&!_0x273685)throw new Error(_0xb50e9e(0x9f)+_0x535fb3[_0xb50e9e(0xa4)]+_0xb50e9e(0x147));this[_0xb50e9e(0x185)]['set'](_0x535fb3[_0xb50e9e(0xa4)],[_0x535fb3,_0x1ca665]);}[_0x431d01(0xc6)](){var _0x9ecef9=_0x431d01;return Array[_0x9ecef9(0xb7)](this[_0x9ecef9(0x185)]['values']());}[_0x431d01(0x176)](_0x3da0a2){var _0x153a14=_0x431d01;const _0x54b00f=document['getElementById'](m);_0x54b00f&&(_0x54b00f[_0x153a14(0xce)][_0x153a14(0x157)]=_0x153a14(0x113),this[_0x153a14(0x15a)](_0x3da0a2,m));}['unMountHistoryContent'](){var _0x2898be=_0x431d01,_0x168375;this[_0x2898be(0xab)][_0x2898be(0x10d)](),(_0x168375=this[_0x2898be(0xe0)])==null||_0x168375[_0x2898be(0x10d)](),this[_0x2898be(0xe0)]=null;const _0x3d50d9=document[_0x2898be(0x12d)](m);_0x3d50d9&&(_0x3d50d9[_0x2898be(0xce)]['display']=_0x2898be(0xcd));}[_0x431d01(0x15a)](_0x4457cd,_0x544321){var _0x273777=_0x431d01;if(this['_historyUniver'])return;const _0x14f06d=new s[(_0x273777(0x16b))]({'theme':E[_0x273777(0x17f)],'locales':{[this[_0x273777(0x18d)][_0x273777(0xe8)]()]:this[_0x273777(0x18d)][_0x273777(0x115)]()},'override':[[s[_0x273777(0xc5)],{'useClass':p[_0x273777(0x129)]}]]});this[_0x273777(0xe0)]=_0x14f06d;const _0x4f1526=_0x14f06d['__getInjector']();_0x4f1526[_0x273777(0x10e)](s['LocaleService'])[_0x273777(0x18c)](this['_localeService'][_0x273777(0xe8)]()),_0x4f1526[_0x273777(0x10e)](s[_0x273777(0xae)])[_0x273777(0x13f)](p[_0x273777(0xb5)],this[_0x273777(0x15d)]['getConfig'](p['SNAPSHOT_SERVER_URL_KEY'])),this[_0x273777(0x185)][_0x273777(0xef)](([_0x3f6e97,_0x305891])=>{var _0x3c323b=_0x273777;_0x14f06d[_0x3c323b(0xf6)](_0x3f6e97,_0x305891);}),_0x4f1526['invoke'](_0x3ed2f7=>{var _0x139e1f=_0x273777;this[_0x139e1f(0xec)](_0x3ed2f7,_0x4457cd);});const _0x58e782=_0x4f1526[_0x273777(0x10e)](y[_0x273777(0xe2)]),_0x5da32d=this['_checkCanRevert'](_0x4457cd);_0x58e782['triggerLoadVersions'](_0x4457cd,_0x544321,_0x5da32d);}['_initListener'](_0x20aff2,_0x2d5000){var _0x54192b=_0x431d01;const _0x14ed23=_0x20aff2[_0x54192b(0x10e)](y[_0x54192b(0xe2)]);this['_disposableCollection'][_0x54192b(0xf7)](_0x14ed23['status$'][_0x54192b(0x15e)](_0x131663=>{var _0x1698f6=_0x54192b;switch(_0x131663){case y[_0x1698f6(0x18a)][_0x1698f6(0x123)]:this[_0x1698f6(0x145)][_0x1698f6(0x14f)](),this[_0x1698f6(0x197)][_0x1698f6(0x10f)]();break;case y[_0x1698f6(0x18a)][_0x1698f6(0x146)]:this[_0x1698f6(0xb1)]();break;case y[_0x1698f6(0x18a)]['Error']:this[_0x1698f6(0xb1)](),this[_0x1698f6(0x10c)][_0x1698f6(0xca)]({'content':this[_0x1698f6(0x18d)]['t'](_0x1698f6(0xbe)),'type':E[_0x1698f6(0x130)]['Error'],'duration':0xbb8});break;}})),this[_0x54192b(0xab)][_0x54192b(0xf7)](_0x14ed23[_0x54192b(0xe6)][_0x54192b(0x15e)](async _0x637f01=>{var _0x4b3bff=_0x54192b;_0x637f01&&this[_0x4b3bff(0x135)][_0x4b3bff(0x167)](I[_0x4b3bff(0x172)]['id'],{'unitId':_0x2d5000,'revision':_0x637f01});}));}[_0x431d01(0x14d)](_0x22a854){var _0x43332c=_0x431d01;const _0x24e391=this[_0x43332c(0xf9)][_0x43332c(0x12f)](_0x22a854)[_0x43332c(0x122)]()[_0x43332c(0xfd)](_0x3af289=>_0x3af289[_0x43332c(0xfc)]()),_0x2e5824=new h[(_0x43332c(0x139))](_0x22a854)['id'],_0x21b6c1=_0x24e391[_0x43332c(0xfd)](_0x3173e8=>new h['WorksheetEditPermission'](_0x22a854,_0x3173e8)['id']),_0x5ce806=_0x24e391[_0x43332c(0xfd)](_0x5dcc67=>this['_selectionProtectionRuleModel']['getSubunitRuleList'](_0x22a854,_0x5dcc67)[_0x43332c(0xfd)](_0x217fd3=>new h['RangeProtectionPermissionEditPoint'](_0x22a854,_0x5dcc67,_0x217fd3['permissionId'])['id']))[_0x43332c(0x107)](),_0x528671=new h[(_0x43332c(0xe9))](_0x22a854)['id'];return this[_0x43332c(0x117)][_0x43332c(0x153)]([_0x2e5824,..._0x21b6c1,..._0x5ce806,_0x528671])[_0x43332c(0xdd)](_0x5786d0=>!!_0x5786d0['value']);}},exports[_0x431d01(0x179)]=ve([d(0x0,s[_0x431d01(0xe3)](s[_0x431d01(0x16f)])),d(0x1,s[_0x431d01(0xcb)]),d(0x2,s['IConfigService']),d(0x3,s[_0x431d01(0x161)]),d(0x4,g[_0x431d01(0xdf)]),d(0x5,s[_0x431d01(0x142)]),d(0x6,s[_0x431d01(0xe3)](h[_0x431d01(0xa1)])),d(0x7,s[_0x431d01(0xe3)](g['IDialogService'])),d(0x8,s['Inject'](g[_0x431d01(0x190)]))],exports[_0x431d01(0x179)]);var u=function(){var _0x125868=_0x431d01;return u=Object[_0x125868(0x195)]||function(_0x11eb09){var _0x26b226=_0x125868;for(var _0x3a80a2,_0x1a3c92=0x1,_0x9b00a8=arguments[_0x26b226(0x9e)];_0x1a3c92<_0x9b00a8;_0x1a3c92++){_0x3a80a2=arguments[_0x1a3c92];for(var _0x39da04 in _0x3a80a2)Object[_0x26b226(0xcc)][_0x26b226(0x12b)][_0x26b226(0x14e)](_0x3a80a2,_0x39da04)&&(_0x11eb09[_0x39da04]=_0x3a80a2[_0x39da04]);}return _0x11eb09;},u[_0x125868(0x102)](this,arguments);},he=function(_0x139088,_0x182de4){var _0x55a404=_0x431d01,_0x12a692={};for(var _0x2a4ab7 in _0x139088)Object[_0x55a404(0xcc)][_0x55a404(0x12b)][_0x55a404(0x14e)](_0x139088,_0x2a4ab7)&&_0x182de4[_0x55a404(0x151)](_0x2a4ab7)<0x0&&(_0x12a692[_0x2a4ab7]=_0x139088[_0x2a4ab7]);if(_0x139088!=null&&typeof Object[_0x55a404(0x177)]=='function'){for(var _0x5653db=0x0,_0x2a4ab7=Object['getOwnPropertySymbols'](_0x139088);_0x5653db<_0x2a4ab7[_0x55a404(0x9e)];_0x5653db++)_0x182de4[_0x55a404(0x151)](_0x2a4ab7[_0x5653db])<0x0&&Object[_0x55a404(0xcc)]['propertyIsEnumerable']['call'](_0x139088,_0x2a4ab7[_0x5653db])&&(_0x12a692[_0x2a4ab7[_0x5653db]]=_0x139088[_0x2a4ab7[_0x5653db]]);}return _0x12a692;},L=C[_0x431d01(0xa8)](function(_0xbf59b9,_0x2d2847){var _0x1474ea=_0x431d01,_0x433dc0=_0xbf59b9[_0x1474ea(0x127)],_0x3e6c0a=_0xbf59b9['id'],_0x1592cb=_0xbf59b9[_0x1474ea(0x180)],_0x5487ee=_0xbf59b9['extend'],_0x25ac3c=he(_0xbf59b9,['icon','id',_0x1474ea(0x180),_0x1474ea(0x126)]),_0x4101af=_0x1474ea(0x181)[_0x1474ea(0x191)](_0x3e6c0a,'\x20')[_0x1474ea(0x191)](_0x1592cb||'')[_0x1474ea(0x106)](),_0x368923=C[_0x1474ea(0xf3)]('_'[_0x1474ea(0x191)](fe()));return T(_0x433dc0,''['concat'](_0x3e6c0a),{'defIds':_0x433dc0[_0x1474ea(0x158)],'idSuffix':_0x368923[_0x1474ea(0xb3)]},u({'ref':_0x2d2847,'className':_0x4101af},_0x25ac3c),_0x5487ee);});function T(_0x33ae29,_0x4456ba,_0x4e70e8,_0x52b5bc,_0x128925){var _0x11c640=_0x431d01;return C['createElement'](_0x33ae29[_0x11c640(0xf5)],u(u({'key':_0x4456ba},_e(_0x33ae29,_0x4e70e8,_0x128925)),_0x52b5bc),(Se(_0x33ae29,_0x4e70e8)['children']||[])['map'](function(_0x480239,_0x32274f){var _0x794f5a=_0x11c640;return T(_0x480239,''[_0x794f5a(0x191)](_0x4456ba,'-')['concat'](_0x33ae29[_0x794f5a(0xf5)],'-')[_0x794f5a(0x191)](_0x32274f),_0x4e70e8,void 0x0,_0x128925);}));}function _e(_0x58afcf,_0x4060dd,_0x15e853){var _0x3c72a1=_0x431d01,_0x57fbae=u({},_0x58afcf[_0x3c72a1(0x136)]);_0x15e853!=null&&_0x15e853[_0x3c72a1(0x178)]&&_0x57fbae[_0x3c72a1(0xc1)]===_0x3c72a1(0x178)&&(_0x57fbae[_0x3c72a1(0xc1)]=_0x15e853[_0x3c72a1(0x178)]),_0x58afcf['tag']===_0x3c72a1(0x101)&&_0x57fbae['id']&&(_0x57fbae['id']=_0x57fbae['id']+_0x4060dd[_0x3c72a1(0x19d)]),Object[_0x3c72a1(0x16c)](_0x57fbae)[_0x3c72a1(0xef)](function(_0x446d03){var _0x385a6b=_0x3c72a1,_0x3fac29=_0x446d03[0x0],_0x3a5809=_0x446d03[0x1];_0x3fac29===_0x385a6b(0x101)&&typeof _0x3a5809==_0x385a6b(0x160)&&(_0x57fbae[_0x3fac29]=_0x3a5809[_0x385a6b(0x14b)](/url\(#(.*)\)/,_0x385a6b(0x156)[_0x385a6b(0x191)](_0x4060dd['idSuffix'],')')));});var _0x4a28c1=_0x4060dd[_0x3c72a1(0x158)];return!_0x4a28c1||_0x4a28c1['length']===0x0||(_0x58afcf[_0x3c72a1(0xf5)]===_0x3c72a1(0x114)&&_0x57fbae['xlink:href']&&(_0x57fbae[_0x3c72a1(0x11f)]=_0x57fbae['xlink:href']+_0x4060dd[_0x3c72a1(0x19d)]),Object[_0x3c72a1(0x16c)](_0x57fbae)['forEach'](function(_0x373b00){var _0x485b3b=_0x3c72a1,_0x19eb9a=_0x373b00[0x0],_0x5bb8b0=_0x373b00[0x1];typeof _0x5bb8b0=='string'&&(_0x57fbae[_0x19eb9a]=_0x5bb8b0['replace'](/url\(#(.*)\)/,_0x485b3b(0x156)[_0x485b3b(0x191)](_0x4060dd[_0x485b3b(0x19d)],')')));})),_0x57fbae;}function Se(_0x4564de,_0x4479b8){var _0x55bc31=_0x431d01,_0x32e4f4,_0x210726=_0x4479b8[_0x55bc31(0x158)];return!_0x210726||_0x210726[_0x55bc31(0x9e)]===0x0?_0x4564de:_0x4564de[_0x55bc31(0xf5)]===_0x55bc31(0xc7)&&(!((_0x32e4f4=_0x4564de['children'])===null||_0x32e4f4===void 0x0)&&_0x32e4f4[_0x55bc31(0x9e)])?u(u({},_0x4564de),{'children':_0x4564de['children']['map'](function(_0x64313c){var _0x2c324b=_0x55bc31;return typeof _0x64313c['attrs']['id']==_0x2c324b(0x160)&&_0x210726&&_0x210726[_0x2c324b(0x151)](_0x64313c[_0x2c324b(0x136)]['id'])>-0x1?u(u({},_0x64313c),{'attrs':u(u({},_0x64313c[_0x2c324b(0x136)]),{'id':_0x64313c['attrs']['id']+_0x4479b8[_0x2c324b(0x19d)]})}):_0x64313c;})}):_0x4564de;}function fe(){var _0x2c443a=_0x431d01;return Math[_0x2c443a(0xbd)]()[_0x2c443a(0xa5)](0x24)[_0x2c443a(0xa9)](0x2,0x8);}L['displayName']=_0x431d01(0xb0);var ye={'tag':'svg','attrs':{'fill':_0x431d01(0xcd),'viewBox':'0\x200\x2016\x2016','width':_0x431d01(0x11b),'height':_0x431d01(0x11b)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x431d01(0xa7)},'children':[{'tag':_0x431d01(0x11c),'attrs':{'d':_0x431d01(0x150)}},{'tag':_0x431d01(0x11c),'attrs':{'d':_0x431d01(0x19b)}}]},{'tag':_0x431d01(0xc7),'attrs':{},'children':[{'tag':_0x431d01(0x193),'attrs':{'id':_0x431d01(0xa3)},'children':[{'tag':'path','attrs':{'fill':_0x431d01(0x138),'d':_0x431d01(0x187)}}]}]}],'defIds':[_0x431d01(0xa3)]},k=C[_0x431d01(0xa8)](function(_0x196831,_0xc7c8c4){var _0xec54a5=_0x431d01;return C[_0xec54a5(0xf4)](L,Object[_0xec54a5(0x195)]({},_0x196831,{'id':'history-single','ref':_0xc7c8c4,'icon':ye}));});k[_0x431d01(0x11d)]=_0x431d01(0x163);const R={'id':_0x431d01(0x16d),'type':s['CommandType']['OPERATION'],'handler':_0x14ae2a=>{var _0xecdb53=_0x431d01;const _0x4bfbd4=_0x14ae2a[_0xecdb53(0x10e)](exports[_0xecdb53(0x179)]),_0x4eecbb=_0x14ae2a[_0xecdb53(0x10e)](s['IUniverInstanceService']),{unitId:_0x54e174}=h['getSheetCommandTarget'](_0x4eecbb)||{};return _0x54e174?(_0x4bfbd4[_0xecdb53(0x176)](_0x54e174),!0x0):!0x1;}},D='HistorySingle';function me(_0xafb5bf){var _0x3c3f1f=_0x431d01;return{'id':R['id'],'type':g['MenuItemType'][_0x3c3f1f(0xb4)],'icon':D,'tooltip':_0x3c3f1f(0x11e),'hidden$':g[_0x3c3f1f(0xfb)](_0xafb5bf,s['UniverInstanceType'][_0x3c3f1f(0x168)]),'disabled$':O[_0x3c3f1f(0x100)](_0xafb5bf,{'workbookTypes':[h[_0x3c3f1f(0x139)],h[_0x3c3f1f(0x10a)]],'worksheetTypes':[],'rangeTypes':[]})};}const pe={[g[_0x431d01(0x19a)][_0x431d01(0x173)]]:{[R['id']]:{'order':0x0,'menuItemFactory':me}}};function _0x2b31(){var _0x476c19=['CollaborationEvent','toStringTag','_dialogService','Exited','\x20has\x20been\x20registered.','197423NqxzLB','@univerjs/sheets-formula-ui','1000','replace','classList','_checkCanRevert','call','closeAll','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','indexOf','UniverSheetsPlugin','composePermission','event$','6wEbmIF','url(#$1','display','defIds','1935102PSYXII','_initUniver','_revertErrorTimer','appendChild','_configService','subscribe','@univerjs/docs-ui','string','ICommandService','@univerjs/network','HistorySingle','UniverDocsUIPlugin','rxjs','state$','executeCommand','UNIVER_SHEET','has','reload','Univer','entries','univer.operation.toggle-edit-history','_initContainer','LocaleService','UniverSheetsPivotTablePlugin','unsubscribe','RevertRevisionMutation','OTHERS','UniverRPCMainThreadPlugin','_config','mountHistoryContent','getOwnPropertySymbols','colorChannel1','HistoryLoaderService','IImageIoService','getConfig','_historyManagerService','UniverSheetsDataValidationUIPlugin','UniverSheetSparklinePlugin','greenTheme','className','univerjs-icon\x20univerjs-icon-','getCollabEntity','1376256yFatvz','session','_pluginMap','UniverSheetsFilterPlugin','M0\x200H16V16H0z','onCommandExecuted','Disposable','HistoryModeStatus','27ctFjtZ','setLocale','_localeService','@univerjs/sheets-hyper-link-ui','@univerjs-pro/sheets-pivot','ISidebarService','concat','mutations','clipPath','register','assign','clear','_sidebarService','_init','left','RibbonStartGroup','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','@univerjs/sheets-filter-ui','idSuffix','length','[HistoryLoaderService]:\x20Plugin\x20','SYNCED','RangeProtectionRuleModel','_localCacheService','history-single_clip0_907_281','pluginName','toString','eventID','url(#history-single_clip0_907_281)','forwardRef','substring','UniverSheetsNumfmtPlugin','_disposableCollection','_initPlugins','@univerjs/engine-formula','IConfigService','@univerjs/sheets-data-validation-ui','UniverIcon','unMountHistoryContent','IMenuManagerService','current','BUTTON','SNAPSHOT_SERVER_URL_KEY','@univerjs/sheets-numfmt','from','type','univer-container','UniverUIPlugin','height','./worker.js','random','editHistory.panel.listFetchError','UniverDrawingPlugin','_selectionProtectionRuleModel','fill','CHANGESET_ACK','@univerjs/data-validation','location','IAuthzIoService','getAllPlugins','defs','@univerjs/core','UniverDocsPlugin','show','IUniverInstanceService','prototype','none','style','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','zIndex','disposeWithMe','UniverSheetsFormulaUIPlugin','historyListServerUrl','UNIVER_HISTORY_CONTAINER_ID','@univerjs/sheets','UniverSheetsFormulaPlugin','UniverDrawingUIPlugin','UNIVER_UNKNOWN','UniverFormulaEnginePlugin','getOwnPropertyDescriptor','combineLatest','position','every','UniverEditHistoryViewerPlugin','IMessageService','_historyUniver','status','HistoryManagerService','Inject','edit-history-loader.config','@univerjs-pro/collaboration','revertRevision$','UniverSheetsHyperLinkUIPlugin','getCurrentLocale','WorkbookRecoverHistoryPermission','UniverSheetsHyperLinkPlugin','6425700InETZL','_initListener','symbol','@univerjs/sheets-data-validation','forEach','univer-history-container','_collaborationController','RxDisposable','useRef','createElement','tag','registerPlugin','add','top','_univerInstanceService','react','getMenuHiddenObservable','getSheetId','map','14276205UCfgTS','menu','getCurrentRangeDisable$','mask','apply','@univerjs-pro/sheets-sparkline-ui','@univerjs-pro/sheets-sparkline','onStarting','trim','flat','_menuManagerService','_componentManager','WorkbookViewHistoryPermission','univerContainerId','_messageService','dispose','get','close','IDialogService','Loading','UniverRenderEnginePlugin','block','use','getLocales','UniverEditHistoryLoaderPlugin','_permissionService','width','UniverSheetsUIPlugin','Plugin','1em','path','displayName','editHistory.panel.title','xlink:href','Error','100%','getSheets','Entered','ComponentManager','UniverNetworkPlugin','extend','icon','_injector','AuthzIoHttpService','@univerjs/design','hasOwnProperty','@univerjs/sheets-drawing','getElementById','exhaustSavingTask','getUnit','MessageType','editHistory.panel.revertFailed','UniverSheetsDataValidationPlugin','1333800MiZFcm','onSteady','_commandService','attrs','Module','#fff','WorkbookEditablePermission','@univerjs/sheets-drawing-ui','CollaborationStatus','CollaborationController','201708gtNUXS','data','setConfig','@univerjs/rpc','@univerjs/sheets-ui','IPermissionService'];_0x2b31=function(){return _0x476c19;};return _0x2b31();}var Ie=Object[_0x431d01(0xda)],Ce=(_0x51819d,_0x224451,_0x41eb47,_0x4d2be7)=>{var _0x27b909=_0x431d01;for(var _0x124dc3=_0x4d2be7>0x1?void 0x0:_0x4d2be7?Ie(_0x224451,_0x41eb47):_0x224451,_0x4d1913=_0x51819d[_0x27b909(0x9e)]-0x1,_0x5921a0;_0x4d1913>=0x0;_0x4d1913--)(_0x5921a0=_0x51819d[_0x4d1913])&&(_0x124dc3=_0x5921a0(_0x124dc3)||_0x124dc3);return _0x124dc3;},_=(_0xdc8b15,_0x567fc2)=>(_0xf42a84,_0x41d256)=>_0x567fc2(_0xf42a84,_0x41d256,_0xdc8b15);function _0x58f4(_0x6a8dba,_0x38f3c8){var _0x2b315d=_0x2b31();return _0x58f4=function(_0x58f492,_0x5114d3){_0x58f492=_0x58f492-0x9e;var _0x303378=_0x2b315d[_0x58f492];return _0x303378;},_0x58f4(_0x6a8dba,_0x38f3c8);}let b=class extends s[_0x431d01(0xf2)]{constructor(_0x2401fd,_0x243520,_0x5bfa13,_0x3c0044,_0x47a104,_0x17f425,_0x3af54b,_0x347400){var _0x3ef2cf=_0x431d01;super(),f(this,_0x3ef2cf(0x15b),null),(this[_0x3ef2cf(0x135)]=_0x2401fd,this[_0x3ef2cf(0x108)]=_0x243520,this[_0x3ef2cf(0x109)]=_0x5bfa13,this[_0x3ef2cf(0x17c)]=_0x3c0044,this[_0x3ef2cf(0x18d)]=_0x47a104,this['_messageService']=_0x17f425,this[_0x3ef2cf(0xf1)]=_0x3af54b,this['_localCacheService']=_0x347400,this['_init']());}['_init'](){var _0x5cb1ae=_0x431d01;[R][_0x5cb1ae(0xef)](_0x5ea61e=>this['disposeWithMe'](s['toDisposable'](this['_commandService']['registerCommand'](_0x5ea61e)))),this[_0x5cb1ae(0xd1)](this[_0x5cb1ae(0x109)][_0x5cb1ae(0x194)](D,k)),this[_0x5cb1ae(0x108)]['mergeMenu'](pe),this[_0x5cb1ae(0xd1)](this[_0x5cb1ae(0x135)][_0x5cb1ae(0x188)](_0x9446c7=>{var _0x5bb43d=_0x5cb1ae;if(_0x9446c7['id']===I[_0x5bb43d(0x172)]['id']){this[_0x5bb43d(0x10c)][_0x5bb43d(0xca)]({'content':this[_0x5bb43d(0x18d)]['t']('editHistory.panel.reverting'),'type':E[_0x5bb43d(0x130)][_0x5bb43d(0x111)],'duration':0x1388});const {unitId:_0x222581}=_0x9446c7['params'],_0x2bda2e=this[_0x5bb43d(0xf1)][_0x5bb43d(0x182)](_0x222581),_0x2706fc=ue[_0x5bb43d(0xdb)]([_0x2bda2e[_0x5bb43d(0x184)][_0x5bb43d(0x154)],_0x2bda2e[_0x5bb43d(0x166)]])[_0x5bb43d(0x15e)](async([_0x5684e3,_0x2f8bdf])=>{var _0x1de8fb=_0x5bb43d,_0x3c6fac;_0x5684e3[_0x1de8fb(0xa6)]===I[_0x1de8fb(0x143)][_0x1de8fb(0xc2)]&&(_0x2f8bdf==null?void 0x0:_0x2f8bdf[_0x1de8fb(0xe1)])===p[_0x1de8fb(0x13b)][_0x1de8fb(0xa0)]&&_0x5684e3[_0x1de8fb(0x13e)][_0x1de8fb(0x192)]['some'](_0x3cf3d8=>_0x3cf3d8['id']===I[_0x1de8fb(0x172)]['id'])&&(this[_0x1de8fb(0x17c)]['unMountHistoryContent'](),_0x2706fc[_0x1de8fb(0x171)](),this[_0x1de8fb(0x15b)]&&clearTimeout(this[_0x1de8fb(0x15b)]),await((_0x3c6fac=this[_0x1de8fb(0xa2)])==null?void 0x0:_0x3c6fac[_0x1de8fb(0x12e)]()),setTimeout(()=>window[_0x1de8fb(0xc4)][_0x1de8fb(0x16a)]()));});this[_0x5bb43d(0x15b)]=setTimeout(()=>{var _0x364591=_0x5bb43d;_0x2706fc['unsubscribe'](),this[_0x364591(0x10c)][_0x364591(0xca)]({'content':this['_localeService']['t'](_0x364591(0x131)),'type':E[_0x364591(0x130)][_0x364591(0x120)],'duration':0xbb8});},0x1388);}}));}};b=Ce([_(0x0,s[_0x431d01(0x161)]),_(0x1,g[_0x431d01(0xb2)]),_(0x2,s['Inject'](g[_0x431d01(0x124)])),_(0x3,s[_0x431d01(0xe3)](exports['HistoryLoaderService'])),_(0x4,s[_0x431d01(0xe3)](s['LocaleService'])),_(0x5,g[_0x431d01(0xdf)]),_(0x6,s[_0x431d01(0xe3)](p[_0x431d01(0x13c)])),_(0x7,p['ILocalCacheService'])],b);var Ue=Object[_0x431d01(0xda)],Ee=(_0x5ea36e,_0x4e192b,_0x5c1e02,_0x266707)=>{for(var _0x3d7069=_0x266707>0x1?void 0x0:_0x266707?Ue(_0x4e192b,_0x5c1e02):_0x4e192b,_0x211f50=_0x5ea36e['length']-0x1,_0x3817ef;_0x211f50>=0x0;_0x211f50--)(_0x3817ef=_0x5ea36e[_0x211f50])&&(_0x3d7069=_0x3817ef(_0x3d7069)||_0x3d7069);return _0x3d7069;},w=(_0xad0975,_0x929996)=>(_0x3757d4,_0x3a71c0)=>_0x929996(_0x3757d4,_0x3a71c0,_0xad0975);const be=_0x431d01(0xcf);var U;exports[_0x431d01(0x116)]=(U=class extends s[_0x431d01(0x11a)]{constructor(_0x186b76=M,_0x2c6bad,_0x53390a){var _0x4306ea=_0x431d01;super(),this[_0x4306ea(0x175)]=_0x186b76,this['_injector']=_0x2c6bad,this[_0x4306ea(0x15d)]=_0x53390a;const {menu:_0x40ccbe,..._0x29a50e}=s['merge']({},M,this[_0x4306ea(0x175)]);_0x40ccbe&&this[_0x4306ea(0x15d)][_0x4306ea(0x13f)](_0x4306ea(0xff),_0x40ccbe,{'merge':!0x0}),this['_configService'][_0x4306ea(0x13f)](N,_0x29a50e),this[_0x4306ea(0x175)][_0x4306ea(0x10b)]&&this[_0x4306ea(0x15d)][_0x4306ea(0x13f)](P,this[_0x4306ea(0x175)][_0x4306ea(0x10b)]);}[_0x431d01(0x105)](){var _0x27f212=_0x431d01;[[exports[_0x27f212(0x179)]],[b]][_0x27f212(0xef)](_0x4c2547=>this[_0x27f212(0x128)][_0x27f212(0xf7)](_0x4c2547));}[_0x431d01(0x134)](){var _0x57e43a=_0x431d01;this['_injector'][_0x57e43a(0x10e)](b);}},f(U,_0x431d01(0xb8),s['UniverInstanceType'][_0x431d01(0xd8)]),f(U,_0x431d01(0xa4),be),U),exports[_0x431d01(0x116)]=Ee([w(0x1,s['Inject'](s['Injector'])),w(0x2,s['IConfigService'])],exports[_0x431d01(0x116)]),exports['UNIVER_CONTAINER_ID_KEY']=P,exports[_0x431d01(0xd4)]=m;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0x259844=_0x57d4;function _0x57d4(_0x54ce39,_0x38b79e){var _0x5c2361=_0x5c23();return _0x57d4=function(_0x57d40b,_0x18cc2d){_0x57d40b=_0x57d40b-0x148;var _0x563572=_0x5c2361[_0x57d40b];return _0x563572;},_0x57d4(_0x54ce39,_0x38b79e);}(function(_0x59f8d6,_0x82efcf){var _0x17d47b=_0x57d4,_0x3d4bab=_0x59f8d6();while(!![]){try{var _0xbbee98=parseInt(_0x17d47b(0x19f))/0x1*(-parseInt(_0x17d47b(0x16a))/0x2)+parseInt(_0x17d47b(0x1d3))/0x3+parseInt(_0x17d47b(0x18e))/0x4*(-parseInt(_0x17d47b(0x166))/0x5)+parseInt(_0x17d47b(0x1dc))/0x6*(-parseInt(_0x17d47b(0x19d))/0x7)+-parseInt(_0x17d47b(0x1b9))/0x8+parseInt(_0x17d47b(0x187))/0x9*(-parseInt(_0x17d47b(0x167))/0xa)+parseInt(_0x17d47b(0x17a))/0xb*(parseInt(_0x17d47b(0x14a))/0xc);if(_0xbbee98===_0x82efcf)break;else _0x3d4bab['push'](_0x3d4bab['shift']());}catch(_0x1d9e2e){_0x3d4bab['push'](_0x3d4bab['shift']());}}}(_0x5c23,0xcdbc7));var B=Object[_0x259844(0x1ad)],G=(_0x577d17,_0x574efb,_0x4d70af)=>_0x574efb in _0x577d17?B(_0x577d17,_0x574efb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d70af}):_0x577d17[_0x574efb]=_0x4d70af,d=(_0x1cffce,_0x4523b8,_0x401d12)=>G(_0x1cffce,typeof _0x4523b8!=_0x259844(0x19e)?_0x4523b8+'':_0x4523b8,_0x401d12);import{UniverCollaborationPlugin as _0x3b22b8,RevertRevisionMutation as _0x5cb242,CollaborationEvent as _0x4bf6bc}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x197100,SNAPSHOT_SERVER_URL_KEY as _0x2d7892,CollaborationController as _0x366986,ILocalCacheService as _0x727bf5,CollaborationStatus as _0xbd8624}from'@univerjs-pro/collaboration-client';import{UniverEditHistoryViewerPlugin as _0x3f410c,HistoryManagerService as _0x52a14d,HistoryModeStatus as _0x1c7828}from'@univerjs-pro/edit-history-viewer';import{UniverSheetsPivotTablePlugin as _0x55ea8c}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x57a785}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x31b4d6}from'@univerjs-pro/sheets-sparkline-ui';import{Inject as _0x2cc396,LocaleService as _0x532a40,IUniverInstanceService as _0x1e8199,IConfigService as _0x4e8b2f,ICommandService as _0x439dd8,IPermissionService as _0x4f17f7,Disposable as _0x3b8048,DisposableCollection as _0x41240d,Univer as _0x142942,IAuthzIoService as _0x6d945,CommandType as _0x3d6f65,UniverInstanceType as _0x3ec4d5,RxDisposable as _0x9d4831,toDisposable as _0x5d6cb0,Plugin as _0x26e3f3,merge as _0x46f4eb,Injector as _0x3f4c31}from'@univerjs/core';import{UniverDataValidationPlugin as _0x457b44}from'@univerjs/data-validation';import{greenTheme as _0x4388af,MessageType as _0x568992}from'@univerjs/design';import{UniverDocsPlugin as _0x4e536e}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x267181}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0x42d286,IImageIoService as _0x5d9d9c}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x3caf72}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x2e133c}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x51e2c9}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x3b4960}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0xb105fe}from'@univerjs/rpc';import{RangeProtectionRuleModel as _0x157aa6,UniverSheetsPlugin as _0x422509,WorkbookEditablePermission as _0x357a3c,WorksheetEditPermission as _0x548737,RangeProtectionPermissionEditPoint as _0x2489ce,WorkbookRecoverHistoryPermission as _0x19120d,getSheetCommandTarget as _0x4c68f6,WorkbookViewHistoryPermission as _0x455e67}from'@univerjs/sheets';import{UniverSheetsConditionalFormattingPlugin as _0x5aef84}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x27df75}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x279ca0}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationUIPlugin as _0x2953ba}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x4bbbb7}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0x3b578d}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x4ddd5b}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x1a4507}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x2351cf}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x1e903e}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x20523f}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x293876}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x1073c8}from'@univerjs/sheets-numfmt';import{UniverSheetsUIPlugin as _0x1c4e23,getCurrentRangeDisable$ as _0x4c5ec8}from'@univerjs/sheets-ui';import{IMessageService as _0x62c420,IDialogService as _0xd9a9c2,ISidebarService as _0x2a9215,UniverUIPlugin as _0x56ab4d,getMenuHiddenObservable as _0x5ebf63,MenuItemType as _0x11ee82,RibbonStartGroup as _0x36a14d,IMenuManagerService as _0x2dcdd4,ComponentManager as _0x5b7c8e}from'@univerjs/ui';import{combineLatest as _0x284ecb}from'rxjs';import{forwardRef as _0x5c89eb,useRef as _0x2e65c4,createElement as _0x4fe9de}from'react';const j=_0x259844(0x156),R={};var ti=Object['getOwnPropertyDescriptor'],ri=(_0x3e6d90,_0x201560,_0x196fa0,_0x266520)=>{var _0x173cfa=_0x259844;for(var _0x56a670=_0x266520>0x1?void 0x0:_0x266520?ti(_0x201560,_0x196fa0):_0x201560,_0x1910d0=_0x3e6d90[_0x173cfa(0x15d)]-0x1,_0x10bec5;_0x1910d0>=0x0;_0x1910d0--)(_0x10bec5=_0x3e6d90[_0x1910d0])&&(_0x56a670=_0x10bec5(_0x56a670)||_0x56a670);return _0x56a670;},g=(_0x2b8275,_0x53e1a2)=>(_0x4f8110,_0x3750e7)=>_0x53e1a2(_0x4f8110,_0x3750e7,_0x2b8275);const ni='univer-container',A=_0x259844(0x16d),m=_0x259844(0x183);let f=class extends _0x3b8048{constructor(_0x24678e,_0x1909c6,_0x229088,_0x384da2,_0x2d5c4b,_0x2445eb,_0x195153,_0x1d6ae7,_0x28321a){var _0x5145f0=_0x259844;super(),d(this,_0x5145f0(0x1ce),null),d(this,_0x5145f0(0x1a7),new _0x41240d()),d(this,'_pluginMap',new Map()),(this[_0x5145f0(0x178)]=_0x24678e,this[_0x5145f0(0x153)]=_0x1909c6,this[_0x5145f0(0x176)]=_0x229088,this[_0x5145f0(0x19a)]=_0x384da2,this[_0x5145f0(0x162)]=_0x2d5c4b,this[_0x5145f0(0x157)]=_0x2445eb,this[_0x5145f0(0x14e)]=_0x195153,this[_0x5145f0(0x1c9)]=_0x1d6ae7,this[_0x5145f0(0x151)]=_0x28321a,this[_0x5145f0(0x1b3)]());}[_0x259844(0x1b3)](){var _0x4ee5cc=_0x259844;this['_initContainer'](),this[_0x4ee5cc(0x1a9)]();}[_0x259844(0x1c8)](){var _0x1c2b1b=_0x259844,_0x47eb4e;const _0x4c09a6=(_0x47eb4e=this[_0x1c2b1b(0x176)][_0x1c2b1b(0x1a6)](A))!=null?_0x47eb4e:ni,_0x2dc712=document[_0x1c2b1b(0x154)](_0x4c09a6);if(!_0x2dc712)return;const _0x5a7319=document['createElement'](_0x1c2b1b(0x15c));_0x5a7319['id']=m,_0x5a7319[_0x1c2b1b(0x1e5)][_0x1c2b1b(0x1b5)](_0x1c2b1b(0x183)),_0x5a7319[_0x1c2b1b(0x192)][_0x1c2b1b(0x16e)]=_0x1c2b1b(0x1b1),_0x5a7319[_0x1c2b1b(0x192)]['top']='0',_0x5a7319[_0x1c2b1b(0x192)]['left']='0',_0x5a7319[_0x1c2b1b(0x192)]['width']='100%',_0x5a7319[_0x1c2b1b(0x192)][_0x1c2b1b(0x1ba)]=_0x1c2b1b(0x174),_0x5a7319[_0x1c2b1b(0x192)][_0x1c2b1b(0x1e1)]=_0x1c2b1b(0x1ec),_0x5a7319[_0x1c2b1b(0x192)][_0x1c2b1b(0x1b7)]=_0x1c2b1b(0x186),_0x2dc712['appendChild'](_0x5a7319);}[_0x259844(0x1a9)](){var _0x1671ec=_0x259844,_0xb4a679;[[_0x51e2c9],[_0x56ab4d,{'container':m,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0xd9a9c2,null]]}],[_0x3b4960],[_0x42d286,{'override':[[_0x5d9d9c,null]]}],[_0x4e536e,{'hasScroll':!0x1}],[_0x267181],[_0x1073c8],[_0x422509,{'notExecuteFormula':!0x0}],[_0x1c4e23],[_0x2351cf],[_0x1e903e],[_0x3b22b8],[_0x4ddd5b],[_0x1a4507],[_0x5aef84],[_0x27df75],[_0x20523f],[_0x293876],[_0x457b44],[_0x279ca0],[_0x2953ba],[_0x2e133c,{'notExecuteFormula':!0x0}],[_0xb105fe,{'workerURL':'./worker.js'}],[_0x3caf72],[_0x4bbbb7],[_0x3b578d],[_0x57a785],[_0x31b4d6],[_0x55ea8c,{'notExecuteFormula':!0x0}],[_0x3f410c,{'historyListServerUrl':(_0xb4a679=this['_configService'][_0x1671ec(0x1a6)](j))==null?void 0x0:_0xb4a679['historyListServerUrl']}]][_0x1671ec(0x14f)](([_0x650448,_0x5f41a7])=>this[_0x1671ec(0x15b)](_0x650448,_0x5f41a7));}['dispose'](){var _0x366866=_0x259844;super[_0x366866(0x1df)](),this[_0x366866(0x1c2)](),this[_0x366866(0x1db)][_0x366866(0x1de)]();}[_0x259844(0x15b)](_0x17232f,_0x2094be,_0x24afac){var _0x555322=_0x259844;if(this[_0x555322(0x1db)][_0x555322(0x1bd)](_0x17232f['pluginName'])&&!_0x24afac)throw new Error(_0x555322(0x148)+_0x17232f[_0x555322(0x1e7)]+_0x555322(0x16f));this[_0x555322(0x1db)][_0x555322(0x15a)](_0x17232f[_0x555322(0x1e7)],[_0x17232f,_0x2094be]);}[_0x259844(0x179)](){var _0x383833=_0x259844;return Array[_0x383833(0x15f)](this[_0x383833(0x1db)]['values']());}[_0x259844(0x161)](_0x17d7fc){var _0x398f31=_0x259844;const _0x54954f=document[_0x398f31(0x154)](m);_0x54954f&&(_0x54954f[_0x398f31(0x192)][_0x398f31(0x1b7)]=_0x398f31(0x18c),this[_0x398f31(0x1af)](_0x17d7fc,m));}['unMountHistoryContent'](){var _0x549d6b=_0x259844,_0x508145;this[_0x549d6b(0x1a7)][_0x549d6b(0x1df)](),(_0x508145=this[_0x549d6b(0x1ce)])==null||_0x508145[_0x549d6b(0x1df)](),this[_0x549d6b(0x1ce)]=null;const _0x1d8d9f=document['getElementById'](m);_0x1d8d9f&&(_0x1d8d9f[_0x549d6b(0x192)][_0x549d6b(0x1b7)]=_0x549d6b(0x186));}[_0x259844(0x1af)](_0x3bac6f,_0x3b9be7){var _0x4776aa=_0x259844;if(this[_0x4776aa(0x1ce)])return;const _0x2367ff=new _0x142942({'theme':_0x4388af,'locales':{[this[_0x4776aa(0x178)][_0x4776aa(0x1a8)]()]:this[_0x4776aa(0x178)][_0x4776aa(0x19b)]()},'override':[[_0x6d945,{'useClass':_0x197100}]]});this[_0x4776aa(0x1ce)]=_0x2367ff;const _0x1fa6f1=_0x2367ff['__getInjector']();_0x1fa6f1[_0x4776aa(0x18d)](_0x532a40)['setLocale'](this[_0x4776aa(0x178)][_0x4776aa(0x1a8)]()),_0x1fa6f1[_0x4776aa(0x18d)](_0x4e8b2f)[_0x4776aa(0x169)](_0x2d7892,this['_configService']['getConfig'](_0x2d7892)),this[_0x4776aa(0x1db)][_0x4776aa(0x14f)](([_0x1d80ce,_0x384ef8])=>{_0x2367ff['registerPlugin'](_0x1d80ce,_0x384ef8);}),_0x1fa6f1[_0x4776aa(0x1da)](_0x23e987=>{var _0x2f5275=_0x4776aa;this[_0x2f5275(0x160)](_0x23e987,_0x3bac6f);});const _0x3a6531=_0x1fa6f1['get'](_0x52a14d),_0x2b2a6b=this['_checkCanRevert'](_0x3bac6f);_0x3a6531[_0x4776aa(0x1e0)](_0x3bac6f,_0x3b9be7,_0x2b2a6b);}['_initListener'](_0x1e21bf,_0x4982ca){var _0x43bc45=_0x259844;const _0xa9eb77=_0x1e21bf['get'](_0x52a14d);this[_0x43bc45(0x1a7)][_0x43bc45(0x1b5)](_0xa9eb77['status$']['subscribe'](_0x4bdb26=>{var _0x59459d=_0x43bc45;switch(_0x4bdb26){case _0x1c7828[_0x59459d(0x18b)]:this[_0x59459d(0x1c9)][_0x59459d(0x152)](),this[_0x59459d(0x151)][_0x59459d(0x1a2)]();break;case _0x1c7828[_0x59459d(0x171)]:this[_0x59459d(0x1c2)]();break;case _0x1c7828['Error']:this['unMountHistoryContent'](),this[_0x59459d(0x162)]['show']({'content':this[_0x59459d(0x178)]['t'](_0x59459d(0x1e8)),'type':_0x568992[_0x59459d(0x1cb)],'duration':0xbb8});break;}})),this[_0x43bc45(0x1a7)][_0x43bc45(0x1b5)](_0xa9eb77['revertRevision$'][_0x43bc45(0x1b0)](async _0x47bb6a=>{var _0x32905d=_0x43bc45;_0x47bb6a&&this[_0x32905d(0x19a)]['executeCommand'](_0x5cb242['id'],{'unitId':_0x4982ca,'revision':_0x47bb6a});}));}['_checkCanRevert'](_0xc5d5b2){var _0x4bf2ca=_0x259844;const _0x4a8f52=this['_univerInstanceService'][_0x4bf2ca(0x163)](_0xc5d5b2)['getSheets']()[_0x4bf2ca(0x1cf)](_0x19d5b5=>_0x19d5b5[_0x4bf2ca(0x150)]()),_0x3aa4d0=new _0x357a3c(_0xc5d5b2)['id'],_0x17d652=_0x4a8f52[_0x4bf2ca(0x1cf)](_0x31d2f1=>new _0x548737(_0xc5d5b2,_0x31d2f1)['id']),_0x4d5075=_0x4a8f52[_0x4bf2ca(0x1cf)](_0x25876b=>this[_0x4bf2ca(0x14e)][_0x4bf2ca(0x158)](_0xc5d5b2,_0x25876b)[_0x4bf2ca(0x1cf)](_0x4578aa=>new _0x2489ce(_0xc5d5b2,_0x25876b,_0x4578aa[_0x4bf2ca(0x1d8)])['id']))['flat'](),_0x1eb168=new _0x19120d(_0xc5d5b2)['id'];return this['_permissionService']['composePermission']([_0x3aa4d0,..._0x17d652,..._0x4d5075,_0x1eb168])['every'](_0x558420=>!!_0x558420[_0x4bf2ca(0x191)]);}};f=ri([g(0x0,_0x2cc396(_0x532a40)),g(0x1,_0x1e8199),g(0x2,_0x4e8b2f),g(0x3,_0x439dd8),g(0x4,_0x62c420),g(0x5,_0x4f17f7),g(0x6,_0x2cc396(_0x157aa6)),g(0x7,_0x2cc396(_0xd9a9c2)),g(0x8,_0x2cc396(_0x2a9215))],f);var l=function(){var _0x3dfa16=_0x259844;return l=Object[_0x3dfa16(0x1e3)]||function(_0x2aeb71){var _0xb17708=_0x3dfa16;for(var _0x5dda0b,_0x5f362d=0x1,_0x465bd=arguments[_0xb17708(0x15d)];_0x5f362d<_0x465bd;_0x5f362d++){_0x5dda0b=arguments[_0x5f362d];for(var _0x55d2b6 in _0x5dda0b)Object[_0xb17708(0x15e)][_0xb17708(0x195)][_0xb17708(0x149)](_0x5dda0b,_0x55d2b6)&&(_0x2aeb71[_0x55d2b6]=_0x5dda0b[_0x55d2b6]);}return _0x2aeb71;},l[_0x3dfa16(0x18a)](this,arguments);},oi=function(_0x28baaf,_0x2c69cc){var _0x43008f=_0x259844,_0x3cfefa={};for(var _0x175cbe in _0x28baaf)Object[_0x43008f(0x15e)][_0x43008f(0x195)][_0x43008f(0x149)](_0x28baaf,_0x175cbe)&&_0x2c69cc['indexOf'](_0x175cbe)<0x0&&(_0x3cfefa[_0x175cbe]=_0x28baaf[_0x175cbe]);if(_0x28baaf!=null&&typeof Object[_0x43008f(0x1c3)]==_0x43008f(0x16b)){for(var _0x2d6bc5=0x0,_0x175cbe=Object[_0x43008f(0x1c3)](_0x28baaf);_0x2d6bc5<_0x175cbe[_0x43008f(0x15d)];_0x2d6bc5++)_0x2c69cc[_0x43008f(0x1e2)](_0x175cbe[_0x2d6bc5])<0x0&&Object[_0x43008f(0x15e)][_0x43008f(0x18f)][_0x43008f(0x149)](_0x28baaf,_0x175cbe[_0x2d6bc5])&&(_0x3cfefa[_0x175cbe[_0x2d6bc5]]=_0x28baaf[_0x175cbe[_0x2d6bc5]]);}return _0x3cfefa;},V=_0x5c89eb(function(_0x3a1ddd,_0x5e10f7){var _0x546029=_0x259844,_0x19e38a=_0x3a1ddd[_0x546029(0x17c)],_0x5a1d5e=_0x3a1ddd['id'],_0x46e855=_0x3a1ddd['className'],_0x9bad46=_0x3a1ddd['extend'],_0x44cca6=oi(_0x3a1ddd,[_0x546029(0x17c),'id',_0x546029(0x159),_0x546029(0x173)]),_0x49a0e0=_0x546029(0x1a0)[_0x546029(0x1d9)](_0x5a1d5e,'\x20')[_0x546029(0x1d9)](_0x46e855||'')[_0x546029(0x19c)](),_0x440648=_0x2e65c4('_'['concat'](ci()));return F(_0x19e38a,''['concat'](_0x5a1d5e),{'defIds':_0x19e38a[_0x546029(0x1e9)],'idSuffix':_0x440648[_0x546029(0x193)]},l({'ref':_0x5e10f7,'className':_0x49a0e0},_0x44cca6),_0x9bad46);});function F(_0x68c440,_0xc6f532,_0x3e1215,_0x260266,_0x474a52){var _0x11e567=_0x259844;return _0x4fe9de(_0x68c440[_0x11e567(0x1a1)],l(l({'key':_0xc6f532},si(_0x68c440,_0x3e1215,_0x474a52)),_0x260266),(ai(_0x68c440,_0x3e1215)[_0x11e567(0x17b)]||[])[_0x11e567(0x1cf)](function(_0x3e9b6d,_0x1c8696){var _0x2a8716=_0x11e567;return F(_0x3e9b6d,''[_0x2a8716(0x1d9)](_0xc6f532,'-')[_0x2a8716(0x1d9)](_0x68c440[_0x2a8716(0x1a1)],'-')[_0x2a8716(0x1d9)](_0x1c8696),_0x3e1215,void 0x0,_0x474a52);}));}function si(_0x13211a,_0x13fc69,_0x1f5eec){var _0x490d50=_0x259844,_0x344815=l({},_0x13211a[_0x490d50(0x177)]);_0x1f5eec!=null&&_0x1f5eec[_0x490d50(0x1c4)]&&_0x344815[_0x490d50(0x14c)]===_0x490d50(0x1c4)&&(_0x344815[_0x490d50(0x14c)]=_0x1f5eec[_0x490d50(0x1c4)]),_0x13211a[_0x490d50(0x1a1)]===_0x490d50(0x16c)&&_0x344815['id']&&(_0x344815['id']=_0x344815['id']+_0x13fc69[_0x490d50(0x1ac)]),Object['entries'](_0x344815)[_0x490d50(0x14f)](function(_0x5519da){var _0x340eac=_0x490d50,_0x5d308d=_0x5519da[0x0],_0x4ac66b=_0x5519da[0x1];_0x5d308d===_0x340eac(0x16c)&&typeof _0x4ac66b==_0x340eac(0x185)&&(_0x344815[_0x5d308d]=_0x4ac66b['replace'](/url\(#(.*)\)/,'url(#$1'[_0x340eac(0x1d9)](_0x13fc69[_0x340eac(0x1ac)],')')));});var _0x535095=_0x13fc69['defIds'];return!_0x535095||_0x535095[_0x490d50(0x15d)]===0x0||(_0x13211a[_0x490d50(0x1a1)]===_0x490d50(0x1c1)&&_0x344815[_0x490d50(0x1bf)]&&(_0x344815[_0x490d50(0x1bf)]=_0x344815['xlink:href']+_0x13fc69['idSuffix']),Object[_0x490d50(0x1c5)](_0x344815)[_0x490d50(0x14f)](function(_0x52fb98){var _0x4658c1=_0x490d50,_0x44a629=_0x52fb98[0x0],_0x57cd4a=_0x52fb98[0x1];typeof _0x57cd4a==_0x4658c1(0x185)&&(_0x344815[_0x44a629]=_0x57cd4a[_0x4658c1(0x170)](/url\(#(.*)\)/,_0x4658c1(0x1d0)[_0x4658c1(0x1d9)](_0x13fc69[_0x4658c1(0x1ac)],')')));})),_0x344815;}function ai(_0x1f2413,_0x195e63){var _0x23d7fc=_0x259844,_0x537bad,_0x140e21=_0x195e63[_0x23d7fc(0x1e9)];return!_0x140e21||_0x140e21[_0x23d7fc(0x15d)]===0x0?_0x1f2413:_0x1f2413[_0x23d7fc(0x1a1)]===_0x23d7fc(0x194)&&(!((_0x537bad=_0x1f2413['children'])===null||_0x537bad===void 0x0)&&_0x537bad[_0x23d7fc(0x15d)])?l(l({},_0x1f2413),{'children':_0x1f2413[_0x23d7fc(0x17b)][_0x23d7fc(0x1cf)](function(_0x13983b){var _0x166242=_0x23d7fc;return typeof _0x13983b[_0x166242(0x177)]['id']==_0x166242(0x185)&&_0x140e21&&_0x140e21[_0x166242(0x1e2)](_0x13983b[_0x166242(0x177)]['id'])>-0x1?l(l({},_0x13983b),{'attrs':l(l({},_0x13983b[_0x166242(0x177)]),{'id':_0x13983b[_0x166242(0x177)]['id']+_0x195e63['idSuffix']})}):_0x13983b;})}):_0x1f2413;}function ci(){var _0x1b0dfb=_0x259844;return Math[_0x1b0dfb(0x1bb)]()[_0x1b0dfb(0x1ab)](0x24)[_0x1b0dfb(0x1ea)](0x2,0x8);}V[_0x259844(0x1ae)]=_0x259844(0x1b2);var li={'tag':_0x259844(0x1d1),'attrs':{'fill':'none','viewBox':_0x259844(0x1cc),'width':'1em','height':_0x259844(0x17e)},'children':[{'tag':'g','attrs':{'fill':_0x259844(0x188),'clipPath':_0x259844(0x1aa)},'children':[{'tag':'path','attrs':{'d':_0x259844(0x1a3)}},{'tag':_0x259844(0x14b),'attrs':{'d':_0x259844(0x198)}}]},{'tag':_0x259844(0x194),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x259844(0x1d4)},'children':[{'tag':_0x259844(0x14b),'attrs':{'fill':_0x259844(0x1a5),'d':_0x259844(0x1be)}}]}]}],'defIds':[_0x259844(0x1d4)]},$=_0x5c89eb(function(_0x46a859,_0xbb6f94){var _0x4c385a=_0x259844;return _0x4fe9de(V,Object['assign']({},_0x46a859,{'id':_0x4c385a(0x190),'ref':_0xbb6f94,'icon':li}));});$['displayName']='HistorySingle';const b={'id':'univer.operation.toggle-edit-history','type':_0x3d6f65['OPERATION'],'handler':_0x150d42=>{var _0x3e1726=_0x259844;const _0x543698=_0x150d42[_0x3e1726(0x18d)](f),_0x355855=_0x150d42['get'](_0x1e8199),{unitId:_0x1bf17c}=_0x4c68f6(_0x355855)||{};return _0x1bf17c?(_0x543698['mountHistoryContent'](_0x1bf17c),!0x0):!0x1;}},W=_0x259844(0x1c6);function ui(_0x2d6884){var _0x5f21c2=_0x259844;return{'id':b['id'],'type':_0x11ee82[_0x5f21c2(0x1cd)],'icon':W,'tooltip':_0x5f21c2(0x197),'hidden$':_0x5ebf63(_0x2d6884,_0x3ec4d5[_0x5f21c2(0x1b6)]),'disabled$':_0x4c5ec8(_0x2d6884,{'workbookTypes':[_0x357a3c,_0x455e67],'worksheetTypes':[],'rangeTypes':[]})};}const gi={[_0x36a14d[_0x259844(0x196)]]:{[b['id']]:{'order':0x0,'menuItemFactory':ui}}};var vi=Object['getOwnPropertyDescriptor'],hi=(_0x40c348,_0x17df35,_0x5a7b7a,_0x463392)=>{for(var _0x431ac6=_0x463392>0x1?void 0x0:_0x463392?vi(_0x17df35,_0x5a7b7a):_0x17df35,_0x224223=_0x40c348['length']-0x1,_0x3cb900;_0x224223>=0x0;_0x224223--)(_0x3cb900=_0x40c348[_0x224223])&&(_0x431ac6=_0x3cb900(_0x431ac6)||_0x431ac6);return _0x431ac6;},h=(_0x72d86d,_0x53be52)=>(_0x592436,_0x43dc23)=>_0x53be52(_0x592436,_0x43dc23,_0x72d86d);let p=class extends _0x9d4831{constructor(_0x4da61e,_0x3eeacb,_0x16d454,_0x267bbc,_0x54c8a2,_0x23456e,_0x3f235d,_0x4dd9ee){var _0x5f0cd2=_0x259844;super(),d(this,_0x5f0cd2(0x1d7),null),(this[_0x5f0cd2(0x19a)]=_0x4da61e,this[_0x5f0cd2(0x155)]=_0x3eeacb,this[_0x5f0cd2(0x172)]=_0x16d454,this[_0x5f0cd2(0x1d6)]=_0x267bbc,this['_localeService']=_0x54c8a2,this[_0x5f0cd2(0x162)]=_0x23456e,this[_0x5f0cd2(0x184)]=_0x3f235d,this['_localCacheService']=_0x4dd9ee,this['_init']());}[_0x259844(0x1b3)](){var _0x48429a=_0x259844;[b][_0x48429a(0x14f)](_0x3c4d40=>this[_0x48429a(0x1b8)](_0x5d6cb0(this[_0x48429a(0x19a)][_0x48429a(0x168)](_0x3c4d40)))),this['disposeWithMe'](this[_0x48429a(0x172)]['register'](W,$)),this['_menuManagerService'][_0x48429a(0x1bc)](gi),this[_0x48429a(0x1b8)](this['_commandService']['onCommandExecuted'](_0x221c76=>{var _0x5a837b=_0x48429a;if(_0x221c76['id']===_0x5cb242['id']){this['_messageService']['show']({'content':this['_localeService']['t'](_0x5a837b(0x199)),'type':_0x568992[_0x5a837b(0x1ca)],'duration':0x1388});const {unitId:_0x2ca321}=_0x221c76[_0x5a837b(0x1d2)],_0x3b09cf=this[_0x5a837b(0x184)][_0x5a837b(0x1eb)](_0x2ca321),_0x27a7bf=_0x284ecb([_0x3b09cf[_0x5a837b(0x1ed)]['event$'],_0x3b09cf['state$']])[_0x5a837b(0x1b0)](async([_0x549e70,_0x3f7590])=>{var _0x53d1a9=_0x5a837b,_0x24b21e;_0x549e70[_0x53d1a9(0x1e4)]===_0x4bf6bc[_0x53d1a9(0x1d5)]&&(_0x3f7590==null?void 0x0:_0x3f7590[_0x53d1a9(0x1e6)])===_0xbd8624[_0x53d1a9(0x189)]&&_0x549e70[_0x53d1a9(0x164)][_0x53d1a9(0x1c0)][_0x53d1a9(0x14d)](_0x4b5447=>_0x4b5447['id']===_0x5cb242['id'])&&(this[_0x53d1a9(0x1d6)][_0x53d1a9(0x1c2)](),_0x27a7bf[_0x53d1a9(0x17d)](),this[_0x53d1a9(0x1d7)]&&clearTimeout(this[_0x53d1a9(0x1d7)]),await((_0x24b21e=this['_localCacheService'])==null?void 0x0:_0x24b21e[_0x53d1a9(0x180)]()),setTimeout(()=>window['location']['reload']()));});this['_revertErrorTimer']=setTimeout(()=>{var _0x476b41=_0x5a837b;_0x27a7bf[_0x476b41(0x17d)](),this[_0x476b41(0x162)]['show']({'content':this[_0x476b41(0x178)]['t'](_0x476b41(0x1dd)),'type':_0x568992[_0x476b41(0x1cb)],'duration':0xbb8});},0x1388);}}));}};p=hi([h(0x0,_0x439dd8),h(0x1,_0x2dcdd4),h(0x2,_0x2cc396(_0x5b7c8e)),h(0x3,_0x2cc396(f)),h(0x4,_0x2cc396(_0x532a40)),h(0x5,_0x62c420),h(0x6,_0x2cc396(_0x366986)),h(0x7,_0x727bf5)],p);var di=Object[_0x259844(0x165)],mi=(_0x56d1ea,_0x294e09,_0x1ceaf0,_0x86845e)=>{var _0x236ad8=_0x259844;for(var _0x52dd54=_0x86845e>0x1?void 0x0:_0x86845e?di(_0x294e09,_0x1ceaf0):_0x294e09,_0x364507=_0x56d1ea[_0x236ad8(0x15d)]-0x1,_0x57ff8d;_0x364507>=0x0;_0x364507--)(_0x57ff8d=_0x56d1ea[_0x364507])&&(_0x52dd54=_0x57ff8d(_0x52dd54)||_0x52dd54);return _0x52dd54;},M=(_0x5632f1,_0x25e8ab)=>(_0x578e46,_0x48249f)=>_0x25e8ab(_0x578e46,_0x48249f,_0x5632f1);function _0x5c23(){var _0x3d0767=['unsubscribe','1em','menu','exhaustSavingTask','UNIVER_UNKNOWN','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','univer-history-container','_collaborationController','string','none','106209yiTuVV','currentColor','SYNCED','apply','Entered','block','get','20DjKAZC','propertyIsEnumerable','history-single','value','style','current','defs','hasOwnProperty','OTHERS','editHistory.panel.title','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','editHistory.panel.reverting','_commandService','getLocales','trim','1673224vXxVvz','symbol','501GqjqsW','univerjs-icon\x20univerjs-icon-','tag','close','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','onStarting','#fff','getConfig','_disposableCollection','getCurrentLocale','_initPlugins','url(#history-single_clip0_907_281)','toString','idSuffix','defineProperty','displayName','_initUniver','subscribe','absolute','UniverIcon','_init','_config','add','UNIVER_SHEET','display','disposeWithMe','691024BTtKcg','height','random','mergeMenu','has','M0\x200H16V16H0z','xlink:href','mutations','use','unMountHistoryContent','getOwnPropertySymbols','colorChannel1','entries','HistorySingle','_injector','_initContainer','_dialogService','Loading','Error','0\x200\x2016\x2016','BUTTON','_historyUniver','map','url(#$1','svg','params','4569795FGkbrO','history-single_clip0_907_281','CHANGESET_ACK','_historyManagerService','_revertErrorTimer','permissionId','concat','invoke','_pluginMap','24dqhwEJ','editHistory.panel.revertFailed','clear','dispose','triggerLoadVersions','zIndex','indexOf','assign','eventID','classList','status','pluginName','editHistory.panel.listFetchError','defIds','substring','getCollabEntity','1000','session','[HistoryLoaderService]:\x20Plugin\x20','call','13495308GrPlLP','path','fill','some','_selectionProtectionRuleModel','forEach','getSheetId','_sidebarService','closeAll','_univerInstanceService','getElementById','_menuManagerService','edit-history-loader.config','_permissionService','getSubunitRuleList','className','set','registerPlugin','div','length','prototype','from','_initListener','mountHistoryContent','_messageService','getUnit','data','getOwnPropertyDescriptor','988735Gwjcrc','730UxzBcN','registerCommand','setConfig','148VyfCvS','function','mask','UNIVER_CONTAINER_ID','position','\x20has\x20been\x20registered.','replace','Exited','_componentManager','extend','100%','univerContainerId','_configService','attrs','_localeService','getAllPlugins','22hwPalO','children','icon'];_0x5c23=function(){return _0x3d0767;};return _0x5c23();}const fi=_0x259844(0x182);var _;let O=(_=class extends _0x26e3f3{constructor(_0x4b7a8b=R,_0x49aecf,_0x2571ee){var _0x223ca0=_0x259844;super(),this[_0x223ca0(0x1b4)]=_0x4b7a8b,this[_0x223ca0(0x1c7)]=_0x49aecf,this[_0x223ca0(0x176)]=_0x2571ee;const {menu:_0x51bf9d,..._0x5db20d}=_0x46f4eb({},R,this[_0x223ca0(0x1b4)]);_0x51bf9d&&this['_configService'][_0x223ca0(0x169)](_0x223ca0(0x17f),_0x51bf9d,{'merge':!0x0}),this[_0x223ca0(0x176)][_0x223ca0(0x169)](j,_0x5db20d),this[_0x223ca0(0x1b4)][_0x223ca0(0x175)]&&this['_configService'][_0x223ca0(0x169)](A,this[_0x223ca0(0x1b4)][_0x223ca0(0x175)]);}[_0x259844(0x1a4)](){var _0x5de84b=_0x259844;[[f],[p]][_0x5de84b(0x14f)](_0x4d1342=>this[_0x5de84b(0x1c7)][_0x5de84b(0x1b5)](_0x4d1342));}['onSteady'](){var _0x3d8dc0=_0x259844;this[_0x3d8dc0(0x1c7)][_0x3d8dc0(0x18d)](p);}},d(_,'type',_0x3ec4d5[_0x259844(0x181)]),d(_,_0x259844(0x1e7),fi),_);O=mi([M(0x1,_0x2cc396(_0x3f4c31)),M(0x2,_0x4e8b2f)],O);export{f as HistoryLoaderService,A as UNIVER_CONTAINER_ID_KEY,m as UNIVER_HISTORY_CONTAINER_ID,O as UniverEditHistoryLoaderPlugin};
|
|
1
|
+
var _0x4b451f=_0x4971;(function(_0x551c90,_0x136b22){var _0x561b89=_0x4971,_0x552270=_0x551c90();while(!![]){try{var _0x579ab7=parseInt(_0x561b89(0x184))/0x1*(-parseInt(_0x561b89(0x1e6))/0x2)+parseInt(_0x561b89(0x16e))/0x3+parseInt(_0x561b89(0x1c5))/0x4*(parseInt(_0x561b89(0x1ab))/0x5)+-parseInt(_0x561b89(0x1db))/0x6*(-parseInt(_0x561b89(0x181))/0x7)+parseInt(_0x561b89(0x1d2))/0x8+-parseInt(_0x561b89(0x1ce))/0x9*(parseInt(_0x561b89(0x16b))/0xa)+-parseInt(_0x561b89(0x190))/0xb*(parseInt(_0x561b89(0x1d1))/0xc);if(_0x579ab7===_0x136b22)break;else _0x552270['push'](_0x552270['shift']());}catch(_0xac1429){_0x552270['push'](_0x552270['shift']());}}}(_0x569d,0xd3083));var B=Object['defineProperty'],G=(_0x321200,_0x264245,_0x5d83d8)=>_0x264245 in _0x321200?B(_0x321200,_0x264245,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5d83d8}):_0x321200[_0x264245]=_0x5d83d8,d=(_0x2fefef,_0x8d8496,_0x2d8937)=>G(_0x2fefef,typeof _0x8d8496!=_0x4b451f(0x1f0)?_0x8d8496+'':_0x8d8496,_0x2d8937);import{UniverCollaborationPlugin as _0x176eac,RevertRevisionMutation as _0x4f0114,CollaborationEvent as _0x93bfdd}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x198180,SNAPSHOT_SERVER_URL_KEY as _0x530b3d,CollaborationController as _0xd4be4e,ILocalCacheService as _0x1cc44f,CollaborationStatus as _0x59289f}from'@univerjs-pro/collaboration-client';function _0x4971(_0x1dad88,_0x28b3de){var _0x569de7=_0x569d();return _0x4971=function(_0x497176,_0x4dbf45){_0x497176=_0x497176-0x16a;var _0x1d16c7=_0x569de7[_0x497176];return _0x1d16c7;},_0x4971(_0x1dad88,_0x28b3de);}import{UniverEditHistoryViewerPlugin as _0x4ba1b0,HistoryManagerService as _0x27c90c,HistoryModeStatus as _0xfd5071}from'@univerjs-pro/edit-history-viewer';import{UniverSheetsPivotTablePlugin as _0x23a435}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x531cd7}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x52d126}from'@univerjs-pro/sheets-sparkline-ui';import{Inject as _0x34ee50,LocaleService as _0x4a5aaa,IUniverInstanceService as _0x4533f7,IConfigService as _0x508091,ICommandService as _0x5b1a60,IPermissionService as _0x1943c2,Disposable as _0x3592e7,DisposableCollection as _0x90c33c,Univer as _0xdece3e,IAuthzIoService as _0x3323a2,CommandType as _0x33947b,UniverInstanceType as _0x51d6fe,RxDisposable as _0x431dc6,toDisposable as _0x373d61,Plugin as _0x1ee14b,merge as _0x275c0a,Injector as _0x532570}from'@univerjs/core';import{UniverDataValidationPlugin as _0x5928f8}from'@univerjs/data-validation';import{greenTheme as _0x244e1d,MessageType as _0x4bf47e}from'@univerjs/design';import{UniverDocsPlugin as _0x3879d9}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x49818f}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0xa966f1,IImageIoService as _0x1b9b97}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x440446}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x25e7d8}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x43383f}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x59970c}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0x21ed89}from'@univerjs/rpc';import{RangeProtectionRuleModel as _0x3a84e1,UniverSheetsPlugin as _0x692ab4,WorkbookEditablePermission as _0x28cf97,WorksheetEditPermission as _0x57e325,RangeProtectionPermissionEditPoint as _0x725435,WorkbookRecoverHistoryPermission as _0x105b1c,getSheetCommandTarget as _0x41b653,WorkbookViewHistoryPermission as _0x14f13e}from'@univerjs/sheets';import{UniverSheetsConditionalFormattingPlugin as _0x3c1daa}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x5404ea}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x50cb5d}from'@univerjs/sheets-data-validation';function _0x569d(){var _0x22a01a=['length','location','setLocale','idSuffix','getConfig','none','position','classList','assign','toString','onStarting','_config','getOwnPropertySymbols','mutations','_injector','set','pluginName','entries','Loading','Error','3624864cVRDTM','path','historyListServerUrl','use','getSheetId','history-single_clip0_907_281','url(#history-single_clip0_907_281)','getCurrentLocale','subscribe','20061fbBDxU','permissionId','Entered','34238364FUdHFU','6207096CAKlZY','getSubunitRuleList','__getInjector','editHistory.panel.reverting','getSheets','prototype','UNIVER_UNKNOWN','concat','forEach','5490lRstmM','HistorySingle','call','status$','univerjs-icon\x20univerjs-icon-','width','unsubscribe','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','zIndex','disposeWithMe','trim','34798ZBbpLK','_sidebarService','close','editHistory.panel.revertFailed','editHistory.panel.listFetchError','clear','SYNCED','1000','propertyIsEnumerable','extend','symbol','defIds','indexOf','add','Exited','unMountHistoryContent','_historyUniver','status','_commandService','hasOwnProperty','univer-history-container','getCollabEntity','_initListener','triggerLoadVersions','register','top','from','fill','edit-history-loader.config','display','_init','dispose','OPERATION','_componentManager','clipPath','string','univerContainerId','attrs','_selectionProtectionRuleModel','_initUniver','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','flat','revertRevision$','substring','onSteady','xlink:href','2430Pakxjd','getLocales','type','4114272DNzNWr','random','values','composePermission','absolute','_permissionService','_collaborationController','style','univer-container','registerPlugin','left','_initPlugins','_initContainer','apply','_pluginMap','onCommandExecuted','UNIVER_SHEET','icon','show','11753AXXLzG','_historyManagerService','createElement','19vfhGWz','_univerInstanceService','height','menu','invoke','_disposableCollection','_configService','_messageService','_localeService','state$','[HistoryLoaderService]:\x20Plugin\x20','map','11hWGBTr','setConfig','_menuManagerService','mountHistoryContent','UniverIcon','url(#$1','OTHERS','_dialogService','children','_checkCanRevert','function','tag','colorChannel1','params','_revertErrorTimer','_localCacheService','displayName','\x20has\x20been\x20registered.','defs','every','getUnit','UNIVER_CONTAINER_ID','get','BUTTON','getOwnPropertyDescriptor','#fff','reload','5OuEqpe','exhaustSavingTask','registerCommand','getElementById','replace','mask'];_0x569d=function(){return _0x22a01a;};return _0x569d();}import{UniverSheetsDataValidationUIPlugin as _0x3338c8}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x1c4960}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0x85fab5}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x3ae112}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x52d5f3}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x2d076a}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x42e347}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x4433a1}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x2adcbe}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x2d18b1}from'@univerjs/sheets-numfmt';import{UniverSheetsUIPlugin as _0x2a9508,getCurrentRangeDisable$ as _0xe8e557}from'@univerjs/sheets-ui';import{IMessageService as _0x123a4b,IDialogService as _0x3743b9,ISidebarService as _0x5dd4b2,UniverUIPlugin as _0x11ccf6,getMenuHiddenObservable as _0x2e248e,MenuItemType as _0xd7e00,RibbonStartGroup as _0x5de6d6,IMenuManagerService as _0x52952b,ComponentManager as _0x296149}from'@univerjs/ui';import{combineLatest as _0x526ade}from'rxjs';import{forwardRef as _0x239519,useRef as _0x2506a5,createElement as _0x41ebf2}from'react';const j=_0x4b451f(0x202),R={};var ti=Object[_0x4b451f(0x1a8)],ri=(_0x288dce,_0x576423,_0x9e655f,_0x899df9)=>{var _0x495309=_0x4b451f;for(var _0x1505b5=_0x899df9>0x1?void 0x0:_0x899df9?ti(_0x576423,_0x9e655f):_0x576423,_0x359dbe=_0x288dce[_0x495309(0x1b1)]-0x1,_0x48a758;_0x359dbe>=0x0;_0x359dbe--)(_0x48a758=_0x288dce[_0x359dbe])&&(_0x1505b5=_0x48a758(_0x1505b5)||_0x1505b5);return _0x1505b5;},g=(_0x1e2303,_0x272a6d)=>(_0x266d7d,_0x6a4aae)=>_0x272a6d(_0x266d7d,_0x6a4aae,_0x1e2303);const ni=_0x4b451f(0x176),A=_0x4b451f(0x1a5),m=_0x4b451f(0x1fa);let f=class extends _0x3592e7{constructor(_0x39f702,_0x16ac1d,_0x25ace1,_0x208a9c,_0x50637b,_0x3c485e,_0x3a6e13,_0x11d835,_0x1c5291){var _0x5efb8e=_0x4b451f;super(),d(this,_0x5efb8e(0x1f6),null),d(this,_0x5efb8e(0x189),new _0x90c33c()),d(this,_0x5efb8e(0x17c),new Map()),(this[_0x5efb8e(0x18c)]=_0x39f702,this[_0x5efb8e(0x185)]=_0x16ac1d,this[_0x5efb8e(0x18a)]=_0x25ace1,this['_commandService']=_0x208a9c,this[_0x5efb8e(0x18b)]=_0x50637b,this[_0x5efb8e(0x173)]=_0x3c485e,this[_0x5efb8e(0x20c)]=_0x3a6e13,this['_dialogService']=_0x11d835,this[_0x5efb8e(0x1e7)]=_0x1c5291,this[_0x5efb8e(0x204)]());}[_0x4b451f(0x204)](){var _0x5da1c4=_0x4b451f;this[_0x5da1c4(0x17a)](),this[_0x5da1c4(0x179)]();}[_0x4b451f(0x17a)](){var _0x2891cb=_0x4b451f,_0x134437;const _0x1d483c=(_0x134437=this[_0x2891cb(0x18a)][_0x2891cb(0x1b5)](A))!=null?_0x134437:ni,_0x28497c=document[_0x2891cb(0x1ae)](_0x1d483c);if(!_0x28497c)return;const _0xe13d5a=document[_0x2891cb(0x183)]('div');_0xe13d5a['id']=m,_0xe13d5a[_0x2891cb(0x1b8)][_0x2891cb(0x1f3)]('univer-history-container'),_0xe13d5a[_0x2891cb(0x175)][_0x2891cb(0x1b7)]=_0x2891cb(0x172),_0xe13d5a[_0x2891cb(0x175)][_0x2891cb(0x1ff)]='0',_0xe13d5a[_0x2891cb(0x175)][_0x2891cb(0x178)]='0',_0xe13d5a[_0x2891cb(0x175)][_0x2891cb(0x1e0)]='100%',_0xe13d5a[_0x2891cb(0x175)][_0x2891cb(0x186)]='100%',_0xe13d5a['style'][_0x2891cb(0x1e3)]=_0x2891cb(0x1ed),_0xe13d5a[_0x2891cb(0x175)][_0x2891cb(0x203)]=_0x2891cb(0x1b6),_0x28497c['appendChild'](_0xe13d5a);}[_0x4b451f(0x179)](){var _0x433334=_0x4b451f,_0x1aa1db;[[_0x43383f],[_0x11ccf6,{'container':m,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x3743b9,null]]}],[_0x59970c],[_0xa966f1,{'override':[[_0x1b9b97,null]]}],[_0x3879d9,{'hasScroll':!0x1}],[_0x49818f],[_0x2d18b1],[_0x692ab4,{'notExecuteFormula':!0x0}],[_0x2a9508],[_0x2d076a],[_0x42e347],[_0x176eac],[_0x3ae112],[_0x52d5f3],[_0x3c1daa],[_0x5404ea],[_0x4433a1],[_0x2adcbe],[_0x5928f8],[_0x50cb5d],[_0x3338c8],[_0x25e7d8,{'notExecuteFormula':!0x0}],[_0x21ed89,{'workerURL':'./worker.js'}],[_0x440446],[_0x1c4960],[_0x85fab5],[_0x531cd7],[_0x52d126],[_0x23a435,{'notExecuteFormula':!0x0}],[_0x4ba1b0,{'historyListServerUrl':(_0x1aa1db=this[_0x433334(0x18a)][_0x433334(0x1b5)](j))==null?void 0x0:_0x1aa1db[_0x433334(0x1c7)]}]][_0x433334(0x1da)](([_0x576a95,_0x54304c])=>this[_0x433334(0x177)](_0x576a95,_0x54304c));}[_0x4b451f(0x205)](){var _0x2ac4bb=_0x4b451f;super['dispose'](),this[_0x2ac4bb(0x1f5)](),this['_pluginMap'][_0x2ac4bb(0x1eb)]();}['registerPlugin'](_0x12b3be,_0x556479,_0x2ae586){var _0x1cbf96=_0x4b451f;if(this[_0x1cbf96(0x17c)]['has'](_0x12b3be['pluginName'])&&!_0x2ae586)throw new Error(_0x1cbf96(0x18e)+_0x12b3be[_0x1cbf96(0x1c1)]+_0x1cbf96(0x1a1));this['_pluginMap'][_0x1cbf96(0x1c0)](_0x12b3be['pluginName'],[_0x12b3be,_0x556479]);}['getAllPlugins'](){var _0xb8e88=_0x4b451f;return Array[_0xb8e88(0x200)](this[_0xb8e88(0x17c)][_0xb8e88(0x170)]());}[_0x4b451f(0x193)](_0x547149){var _0x4493bc=_0x4b451f;const _0x4d27d5=document[_0x4493bc(0x1ae)](m);_0x4d27d5&&(_0x4d27d5['style'][_0x4493bc(0x203)]='block',this['_initUniver'](_0x547149,m));}[_0x4b451f(0x1f5)](){var _0x2b2f14=_0x4b451f,_0x5f0cdd;this[_0x2b2f14(0x189)][_0x2b2f14(0x205)](),(_0x5f0cdd=this[_0x2b2f14(0x1f6)])==null||_0x5f0cdd[_0x2b2f14(0x205)](),this[_0x2b2f14(0x1f6)]=null;const _0x229968=document['getElementById'](m);_0x229968&&(_0x229968[_0x2b2f14(0x175)][_0x2b2f14(0x203)]=_0x2b2f14(0x1b6));}[_0x4b451f(0x20d)](_0x4fac0f,_0x1b3257){var _0x12efcb=_0x4b451f;if(this[_0x12efcb(0x1f6)])return;const _0x2d0347=new _0xdece3e({'theme':_0x244e1d,'locales':{[this[_0x12efcb(0x18c)][_0x12efcb(0x1cc)]()]:this[_0x12efcb(0x18c)][_0x12efcb(0x16c)]()},'override':[[_0x3323a2,{'useClass':_0x198180}]]});this['_historyUniver']=_0x2d0347;const _0x22f0aa=_0x2d0347[_0x12efcb(0x1d4)]();_0x22f0aa['get'](_0x4a5aaa)[_0x12efcb(0x1b3)](this['_localeService'][_0x12efcb(0x1cc)]()),_0x22f0aa[_0x12efcb(0x1a6)](_0x508091)[_0x12efcb(0x191)](_0x530b3d,this[_0x12efcb(0x18a)][_0x12efcb(0x1b5)](_0x530b3d)),this['_pluginMap'][_0x12efcb(0x1da)](([_0x5aeeaf,_0x1ae243])=>{var _0x2bc58f=_0x12efcb;_0x2d0347[_0x2bc58f(0x177)](_0x5aeeaf,_0x1ae243);}),_0x22f0aa[_0x12efcb(0x188)](_0x5ae820=>{this['_initListener'](_0x5ae820,_0x4fac0f);});const _0x242827=_0x22f0aa[_0x12efcb(0x1a6)](_0x27c90c),_0x206cd4=this['_checkCanRevert'](_0x4fac0f);_0x242827[_0x12efcb(0x1fd)](_0x4fac0f,_0x1b3257,_0x206cd4);}[_0x4b451f(0x1fc)](_0xc36cf,_0x5bbbda){var _0x248d59=_0x4b451f;const _0x409e3b=_0xc36cf[_0x248d59(0x1a6)](_0x27c90c);this[_0x248d59(0x189)][_0x248d59(0x1f3)](_0x409e3b[_0x248d59(0x1de)]['subscribe'](_0xab774d=>{var _0x50f666=_0x248d59;switch(_0xab774d){case _0xfd5071[_0x50f666(0x1d0)]:this[_0x50f666(0x197)]['closeAll'](),this[_0x50f666(0x1e7)][_0x50f666(0x1e8)]();break;case _0xfd5071[_0x50f666(0x1f4)]:this[_0x50f666(0x1f5)]();break;case _0xfd5071[_0x50f666(0x1c4)]:this['unMountHistoryContent'](),this[_0x50f666(0x18b)]['show']({'content':this['_localeService']['t'](_0x50f666(0x1ea)),'type':_0x4bf47e['Error'],'duration':0xbb8});break;}})),this[_0x248d59(0x189)][_0x248d59(0x1f3)](_0x409e3b[_0x248d59(0x210)]['subscribe'](async _0x782ae6=>{var _0x4af587=_0x248d59;_0x782ae6&&this[_0x4af587(0x1f8)]['executeCommand'](_0x4f0114['id'],{'unitId':_0x5bbbda,'revision':_0x782ae6});}));}[_0x4b451f(0x199)](_0x79ebdd){var _0x34ce81=_0x4b451f;const _0x2580bd=this[_0x34ce81(0x185)][_0x34ce81(0x1a4)](_0x79ebdd)[_0x34ce81(0x1d6)]()[_0x34ce81(0x18f)](_0x533a7d=>_0x533a7d[_0x34ce81(0x1c9)]()),_0x6b51f8=new _0x28cf97(_0x79ebdd)['id'],_0x21b5c1=_0x2580bd[_0x34ce81(0x18f)](_0x663ff9=>new _0x57e325(_0x79ebdd,_0x663ff9)['id']),_0x4cfd3a=_0x2580bd[_0x34ce81(0x18f)](_0x576dd2=>this[_0x34ce81(0x20c)][_0x34ce81(0x1d3)](_0x79ebdd,_0x576dd2)['map'](_0x1fe755=>new _0x725435(_0x79ebdd,_0x576dd2,_0x1fe755[_0x34ce81(0x1cf)])['id']))[_0x34ce81(0x20f)](),_0x4acb14=new _0x105b1c(_0x79ebdd)['id'];return this[_0x34ce81(0x173)][_0x34ce81(0x171)]([_0x6b51f8,..._0x21b5c1,..._0x4cfd3a,_0x4acb14])[_0x34ce81(0x1a3)](_0x550866=>!!_0x550866['value']);}};f=ri([g(0x0,_0x34ee50(_0x4a5aaa)),g(0x1,_0x4533f7),g(0x2,_0x508091),g(0x3,_0x5b1a60),g(0x4,_0x123a4b),g(0x5,_0x1943c2),g(0x6,_0x34ee50(_0x3a84e1)),g(0x7,_0x34ee50(_0x3743b9)),g(0x8,_0x34ee50(_0x5dd4b2))],f);var l=function(){var _0x5c416e=_0x4b451f;return l=Object['assign']||function(_0xf10eb7){var _0x5debb4=_0x4971;for(var _0x1202b3,_0x24327f=0x1,_0xa29d76=arguments['length'];_0x24327f<_0xa29d76;_0x24327f++){_0x1202b3=arguments[_0x24327f];for(var _0x481be3 in _0x1202b3)Object['prototype']['hasOwnProperty'][_0x5debb4(0x1dd)](_0x1202b3,_0x481be3)&&(_0xf10eb7[_0x481be3]=_0x1202b3[_0x481be3]);}return _0xf10eb7;},l[_0x5c416e(0x17b)](this,arguments);},oi=function(_0xa81a51,_0x162595){var _0x16e34b=_0x4b451f,_0x1851ed={};for(var _0x1779ba in _0xa81a51)Object['prototype'][_0x16e34b(0x1f9)][_0x16e34b(0x1dd)](_0xa81a51,_0x1779ba)&&_0x162595[_0x16e34b(0x1f2)](_0x1779ba)<0x0&&(_0x1851ed[_0x1779ba]=_0xa81a51[_0x1779ba]);if(_0xa81a51!=null&&typeof Object['getOwnPropertySymbols']==_0x16e34b(0x19a)){for(var _0x42ebbd=0x0,_0x1779ba=Object[_0x16e34b(0x1bd)](_0xa81a51);_0x42ebbd<_0x1779ba[_0x16e34b(0x1b1)];_0x42ebbd++)_0x162595[_0x16e34b(0x1f2)](_0x1779ba[_0x42ebbd])<0x0&&Object[_0x16e34b(0x1d7)][_0x16e34b(0x1ee)][_0x16e34b(0x1dd)](_0xa81a51,_0x1779ba[_0x42ebbd])&&(_0x1851ed[_0x1779ba[_0x42ebbd]]=_0xa81a51[_0x1779ba[_0x42ebbd]]);}return _0x1851ed;},V=_0x239519(function(_0x3e1318,_0x419af2){var _0x48d51a=_0x4b451f,_0x3c44c4=_0x3e1318['icon'],_0x3e20f8=_0x3e1318['id'],_0xd67b71=_0x3e1318['className'],_0x242a70=_0x3e1318[_0x48d51a(0x1ef)],_0x1c6f08=oi(_0x3e1318,[_0x48d51a(0x17f),'id','className','extend']),_0x4d039e=_0x48d51a(0x1df)[_0x48d51a(0x1d9)](_0x3e20f8,'\x20')['concat'](_0xd67b71||'')[_0x48d51a(0x1e5)](),_0x2da330=_0x2506a5('_'[_0x48d51a(0x1d9)](ci()));return F(_0x3c44c4,''[_0x48d51a(0x1d9)](_0x3e20f8),{'defIds':_0x3c44c4[_0x48d51a(0x1f1)],'idSuffix':_0x2da330['current']},l({'ref':_0x419af2,'className':_0x4d039e},_0x1c6f08),_0x242a70);});function F(_0x1a1b23,_0x49dc62,_0x34bc48,_0xc2ea11,_0x5b6b46){var _0x51fe75=_0x4b451f;return _0x41ebf2(_0x1a1b23['tag'],l(l({'key':_0x49dc62},si(_0x1a1b23,_0x34bc48,_0x5b6b46)),_0xc2ea11),(ai(_0x1a1b23,_0x34bc48)[_0x51fe75(0x198)]||[])[_0x51fe75(0x18f)](function(_0x5378b3,_0x353d1b){var _0x1e2735=_0x51fe75;return F(_0x5378b3,''[_0x1e2735(0x1d9)](_0x49dc62,'-')['concat'](_0x1a1b23['tag'],'-')[_0x1e2735(0x1d9)](_0x353d1b),_0x34bc48,void 0x0,_0x5b6b46);}));}function si(_0x5e8653,_0x3f85e0,_0x16c7f9){var _0x59384e=_0x4b451f,_0x197523=l({},_0x5e8653[_0x59384e(0x20b)]);_0x16c7f9!=null&&_0x16c7f9[_0x59384e(0x19c)]&&_0x197523['fill']===_0x59384e(0x19c)&&(_0x197523[_0x59384e(0x201)]=_0x16c7f9['colorChannel1']),_0x5e8653['tag']===_0x59384e(0x1b0)&&_0x197523['id']&&(_0x197523['id']=_0x197523['id']+_0x3f85e0[_0x59384e(0x1b4)]),Object[_0x59384e(0x1c2)](_0x197523)[_0x59384e(0x1da)](function(_0x119688){var _0x4fd653=_0x59384e,_0x254d3c=_0x119688[0x0],_0x58b9d9=_0x119688[0x1];_0x254d3c===_0x4fd653(0x1b0)&&typeof _0x58b9d9==_0x4fd653(0x209)&&(_0x197523[_0x254d3c]=_0x58b9d9[_0x4fd653(0x1af)](/url\(#(.*)\)/,'url(#$1'[_0x4fd653(0x1d9)](_0x3f85e0[_0x4fd653(0x1b4)],')')));});var _0x10bbb2=_0x3f85e0['defIds'];return!_0x10bbb2||_0x10bbb2[_0x59384e(0x1b1)]===0x0||(_0x5e8653['tag']===_0x59384e(0x1c8)&&_0x197523[_0x59384e(0x16a)]&&(_0x197523['xlink:href']=_0x197523[_0x59384e(0x16a)]+_0x3f85e0[_0x59384e(0x1b4)]),Object[_0x59384e(0x1c2)](_0x197523)['forEach'](function(_0x5bb5aa){var _0x2759d4=_0x59384e,_0x218a61=_0x5bb5aa[0x0],_0x2f61bb=_0x5bb5aa[0x1];typeof _0x2f61bb==_0x2759d4(0x209)&&(_0x197523[_0x218a61]=_0x2f61bb['replace'](/url\(#(.*)\)/,_0x2759d4(0x195)[_0x2759d4(0x1d9)](_0x3f85e0[_0x2759d4(0x1b4)],')')));})),_0x197523;}function ai(_0x3a5e43,_0x10c0b9){var _0x30ce34=_0x4b451f,_0x4d9f27,_0x5e3e08=_0x10c0b9[_0x30ce34(0x1f1)];return!_0x5e3e08||_0x5e3e08[_0x30ce34(0x1b1)]===0x0?_0x3a5e43:_0x3a5e43[_0x30ce34(0x19b)]==='defs'&&(!((_0x4d9f27=_0x3a5e43['children'])===null||_0x4d9f27===void 0x0)&&_0x4d9f27[_0x30ce34(0x1b1)])?l(l({},_0x3a5e43),{'children':_0x3a5e43[_0x30ce34(0x198)][_0x30ce34(0x18f)](function(_0x9dac4d){var _0x884c83=_0x30ce34;return typeof _0x9dac4d[_0x884c83(0x20b)]['id']=='string'&&_0x5e3e08&&_0x5e3e08[_0x884c83(0x1f2)](_0x9dac4d[_0x884c83(0x20b)]['id'])>-0x1?l(l({},_0x9dac4d),{'attrs':l(l({},_0x9dac4d[_0x884c83(0x20b)]),{'id':_0x9dac4d[_0x884c83(0x20b)]['id']+_0x10c0b9[_0x884c83(0x1b4)]})}):_0x9dac4d;})}):_0x3a5e43;}function ci(){var _0x100563=_0x4b451f;return Math[_0x100563(0x16f)]()[_0x100563(0x1ba)](0x24)[_0x100563(0x211)](0x2,0x8);}V['displayName']=_0x4b451f(0x194);var li={'tag':'svg','attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x4b451f(0x1cb)},'children':[{'tag':_0x4b451f(0x1c6),'attrs':{'d':_0x4b451f(0x20e)}},{'tag':'path','attrs':{'d':_0x4b451f(0x1e2)}}]},{'tag':_0x4b451f(0x1a2),'attrs':{},'children':[{'tag':_0x4b451f(0x208),'attrs':{'id':_0x4b451f(0x1ca)},'children':[{'tag':_0x4b451f(0x1c6),'attrs':{'fill':_0x4b451f(0x1a9),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['history-single_clip0_907_281']},$=_0x239519(function(_0x18fdaa,_0x2f35ef){var _0x33189f=_0x4b451f;return _0x41ebf2(V,Object[_0x33189f(0x1b9)]({},_0x18fdaa,{'id':'history-single','ref':_0x2f35ef,'icon':li}));});$[_0x4b451f(0x1a0)]=_0x4b451f(0x1dc);const b={'id':'univer.operation.toggle-edit-history','type':_0x33947b[_0x4b451f(0x206)],'handler':_0x258a8f=>{var _0xcf4107=_0x4b451f;const _0x15f488=_0x258a8f[_0xcf4107(0x1a6)](f),_0x3b086a=_0x258a8f['get'](_0x4533f7),{unitId:_0x5027be}=_0x41b653(_0x3b086a)||{};return _0x5027be?(_0x15f488[_0xcf4107(0x193)](_0x5027be),!0x0):!0x1;}},W=_0x4b451f(0x1dc);function ui(_0x15dc09){var _0x5aed1d=_0x4b451f;return{'id':b['id'],'type':_0xd7e00[_0x5aed1d(0x1a7)],'icon':W,'tooltip':'editHistory.panel.title','hidden$':_0x2e248e(_0x15dc09,_0x51d6fe[_0x5aed1d(0x17e)]),'disabled$':_0xe8e557(_0x15dc09,{'workbookTypes':[_0x28cf97,_0x14f13e],'worksheetTypes':[],'rangeTypes':[]})};}const gi={[_0x5de6d6[_0x4b451f(0x196)]]:{[b['id']]:{'order':0x0,'menuItemFactory':ui}}};var vi=Object['getOwnPropertyDescriptor'],hi=(_0x1f7138,_0x4e0228,_0x362680,_0x55063c)=>{var _0x2c238c=_0x4b451f;for(var _0x4312b8=_0x55063c>0x1?void 0x0:_0x55063c?vi(_0x4e0228,_0x362680):_0x4e0228,_0x324ecc=_0x1f7138[_0x2c238c(0x1b1)]-0x1,_0x106f20;_0x324ecc>=0x0;_0x324ecc--)(_0x106f20=_0x1f7138[_0x324ecc])&&(_0x4312b8=_0x106f20(_0x4312b8)||_0x4312b8);return _0x4312b8;},h=(_0x595407,_0x2316eb)=>(_0xa1e67b,_0x7928b2)=>_0x2316eb(_0xa1e67b,_0x7928b2,_0x595407);let p=class extends _0x431dc6{constructor(_0x28025a,_0x32cddf,_0x3893a4,_0x4633dc,_0x2defdd,_0x534436,_0x5cfaa4,_0x54176d){var _0x3b5af5=_0x4b451f;super(),d(this,'_revertErrorTimer',null),(this[_0x3b5af5(0x1f8)]=_0x28025a,this['_menuManagerService']=_0x32cddf,this[_0x3b5af5(0x207)]=_0x3893a4,this['_historyManagerService']=_0x4633dc,this['_localeService']=_0x2defdd,this[_0x3b5af5(0x18b)]=_0x534436,this[_0x3b5af5(0x174)]=_0x5cfaa4,this['_localCacheService']=_0x54176d,this[_0x3b5af5(0x204)]());}[_0x4b451f(0x204)](){var _0x4c8424=_0x4b451f;[b][_0x4c8424(0x1da)](_0x3045d6=>this[_0x4c8424(0x1e4)](_0x373d61(this[_0x4c8424(0x1f8)][_0x4c8424(0x1ad)](_0x3045d6)))),this[_0x4c8424(0x1e4)](this['_componentManager'][_0x4c8424(0x1fe)](W,$)),this[_0x4c8424(0x192)]['mergeMenu'](gi),this[_0x4c8424(0x1e4)](this[_0x4c8424(0x1f8)][_0x4c8424(0x17d)](_0x5e56ce=>{var _0x16f552=_0x4c8424;if(_0x5e56ce['id']===_0x4f0114['id']){this[_0x16f552(0x18b)][_0x16f552(0x180)]({'content':this[_0x16f552(0x18c)]['t'](_0x16f552(0x1d5)),'type':_0x4bf47e[_0x16f552(0x1c3)],'duration':0x1388});const {unitId:_0x2b8ff2}=_0x5e56ce[_0x16f552(0x19d)],_0x3aac56=this[_0x16f552(0x174)][_0x16f552(0x1fb)](_0x2b8ff2),_0x52b50f=_0x526ade([_0x3aac56['session']['event$'],_0x3aac56[_0x16f552(0x18d)]])[_0x16f552(0x1cd)](async([_0x19934a,_0x19905e])=>{var _0x585f4f=_0x16f552,_0x164a94;_0x19934a['eventID']===_0x93bfdd['CHANGESET_ACK']&&(_0x19905e==null?void 0x0:_0x19905e[_0x585f4f(0x1f7)])===_0x59289f[_0x585f4f(0x1ec)]&&_0x19934a['data'][_0x585f4f(0x1be)]['some'](_0x41d6d0=>_0x41d6d0['id']===_0x4f0114['id'])&&(this[_0x585f4f(0x182)]['unMountHistoryContent'](),_0x52b50f[_0x585f4f(0x1e1)](),this[_0x585f4f(0x19e)]&&clearTimeout(this['_revertErrorTimer']),await((_0x164a94=this[_0x585f4f(0x19f)])==null?void 0x0:_0x164a94[_0x585f4f(0x1ac)]()),setTimeout(()=>window[_0x585f4f(0x1b2)][_0x585f4f(0x1aa)]()));});this[_0x16f552(0x19e)]=setTimeout(()=>{var _0x6b9eda=_0x16f552;_0x52b50f[_0x6b9eda(0x1e1)](),this[_0x6b9eda(0x18b)]['show']({'content':this[_0x6b9eda(0x18c)]['t'](_0x6b9eda(0x1e9)),'type':_0x4bf47e[_0x6b9eda(0x1c4)],'duration':0xbb8});},0x1388);}}));}};p=hi([h(0x0,_0x5b1a60),h(0x1,_0x52952b),h(0x2,_0x34ee50(_0x296149)),h(0x3,_0x34ee50(f)),h(0x4,_0x34ee50(_0x4a5aaa)),h(0x5,_0x123a4b),h(0x6,_0x34ee50(_0xd4be4e)),h(0x7,_0x1cc44f)],p);var di=Object[_0x4b451f(0x1a8)],mi=(_0x5c8500,_0x4dcbaa,_0x1bedf1,_0xb3317a)=>{var _0x24dcc3=_0x4b451f;for(var _0x44d950=_0xb3317a>0x1?void 0x0:_0xb3317a?di(_0x4dcbaa,_0x1bedf1):_0x4dcbaa,_0x2de200=_0x5c8500[_0x24dcc3(0x1b1)]-0x1,_0x57db53;_0x2de200>=0x0;_0x2de200--)(_0x57db53=_0x5c8500[_0x2de200])&&(_0x44d950=_0x57db53(_0x44d950)||_0x44d950);return _0x44d950;},M=(_0x530a89,_0x58d42f)=>(_0x3e35ac,_0x594cd8)=>_0x58d42f(_0x3e35ac,_0x594cd8,_0x530a89);const fi='UNIVER_EDIT_HISTORY_LOADER_PLUGIN';var _;let O=(_=class extends _0x1ee14b{constructor(_0x49a026=R,_0x1ca0fb,_0x141fb1){var _0x48d186=_0x4b451f;super(),this['_config']=_0x49a026,this['_injector']=_0x1ca0fb,this[_0x48d186(0x18a)]=_0x141fb1;const {menu:_0x395286,..._0x26aa04}=_0x275c0a({},R,this[_0x48d186(0x1bc)]);_0x395286&&this[_0x48d186(0x18a)][_0x48d186(0x191)](_0x48d186(0x187),_0x395286,{'merge':!0x0}),this[_0x48d186(0x18a)][_0x48d186(0x191)](j,_0x26aa04),this['_config'][_0x48d186(0x20a)]&&this['_configService'][_0x48d186(0x191)](A,this[_0x48d186(0x1bc)]['univerContainerId']);}[_0x4b451f(0x1bb)](){var _0x176cd0=_0x4b451f;[[f],[p]][_0x176cd0(0x1da)](_0x56c779=>this['_injector']['add'](_0x56c779));}[_0x4b451f(0x212)](){var _0x132337=_0x4b451f;this[_0x132337(0x1bf)][_0x132337(0x1a6)](p);}},d(_,_0x4b451f(0x16d),_0x51d6fe[_0x4b451f(0x1d8)]),d(_,_0x4b451f(0x1c1),fi),_);O=mi([M(0x1,_0x34ee50(_0x532570)),M(0x2,_0x508091)],O);export{f as HistoryLoaderService,A as UNIVER_CONTAINER_ID_KEY,m as UNIVER_HISTORY_CONTAINER_ID,O as UniverEditHistoryLoaderPlugin};
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x1818(_0x142843,_0x1de300){var _0x53a014=_0x53a0();return _0x1818=function(_0x1818a6,_0x4ff488){_0x1818a6=_0x1818a6-0x1dd;var _0x2d9b1f=_0x53a014[_0x1818a6];return _0x2d9b1f;},_0x1818(_0x142843,_0x1de300);}(function(_0x280443,_0x29152d){var _0x17d543=_0x1818,_0x39638f=_0x280443();while(!![]){try{var _0x2cf6ac=parseInt(_0x17d543(0x2ed))/0x1*(-parseInt(_0x17d543(0x282))/0x2)+-parseInt(_0x17d543(0x2ea))/0x3*(-parseInt(_0x17d543(0x1eb))/0x4)+parseInt(_0x17d543(0x1f0))/0x5+parseInt(_0x17d543(0x2c8))/0x6+-parseInt(_0x17d543(0x23c))/0x7+parseInt(_0x17d543(0x2ab))/0x8+-parseInt(_0x17d543(0x2df))/0x9*(parseInt(_0x17d543(0x22e))/0xa);if(_0x2cf6ac===_0x29152d)break;else _0x39638f['push'](_0x39638f['shift']());}catch(_0x37937c){_0x39638f['push'](_0x39638f['shift']());}}}(_0x53a0,0x8c915),function(_0x4c0bea,_0x47cc46){var _0x347414=_0x1818;typeof exports==_0x347414(0x2a2)&&typeof module<'u'?_0x47cc46(exports,require(_0x347414(0x230)),require(_0x347414(0x24b)),require('@univerjs-pro/edit-history-viewer'),require('@univerjs-pro/sheets-pivot'),require(_0x347414(0x2f3)),require(_0x347414(0x22b)),require(_0x347414(0x2b0)),require(_0x347414(0x2b8)),require(_0x347414(0x2cc)),require('@univerjs/docs'),require(_0x347414(0x258)),require(_0x347414(0x283)),require(_0x347414(0x1e0)),require(_0x347414(0x28e)),require('@univerjs/engine-render'),require('@univerjs/network'),require(_0x347414(0x25b)),require(_0x347414(0x1ea)),require(_0x347414(0x274)),require(_0x347414(0x27b)),require(_0x347414(0x2e2)),require('@univerjs/sheets-data-validation-ui'),require('@univerjs/sheets-drawing'),require(_0x347414(0x206)),require(_0x347414(0x291)),require('@univerjs/sheets-filter-ui'),require(_0x347414(0x276)),require(_0x347414(0x216)),require(_0x347414(0x26c)),require(_0x347414(0x2d5)),require(_0x347414(0x2e4)),require(_0x347414(0x289)),require('@univerjs/ui'),require(_0x347414(0x2bd)),require(_0x347414(0x210))):typeof define==_0x347414(0x275)&&define[_0x347414(0x2b2)]?define([_0x347414(0x2b6),'@univerjs-pro/collaboration','@univerjs-pro/collaboration-client',_0x347414(0x2bb),_0x347414(0x213),'@univerjs-pro/sheets-sparkline',_0x347414(0x22b),'@univerjs/core',_0x347414(0x2b8),_0x347414(0x2cc),'@univerjs/docs',_0x347414(0x258),_0x347414(0x283),'@univerjs/drawing-ui',_0x347414(0x28e),_0x347414(0x235),_0x347414(0x20c),_0x347414(0x25b),_0x347414(0x1ea),_0x347414(0x274),_0x347414(0x27b),_0x347414(0x2e2),_0x347414(0x2ca),_0x347414(0x1ed),_0x347414(0x206),_0x347414(0x291),_0x347414(0x2bf),_0x347414(0x276),_0x347414(0x216),_0x347414(0x26c),_0x347414(0x2d5),'@univerjs/sheets-numfmt',_0x347414(0x289),'@univerjs/ui','rxjs',_0x347414(0x210)],_0x47cc46):(_0x4c0bea=typeof globalThis<'u'?globalThis:_0x4c0bea||self,_0x47cc46(_0x4c0bea['UniverProEditHistoryLoader']={},_0x4c0bea[_0x347414(0x2a8)],_0x4c0bea['UniverProCollaborationClient'],_0x4c0bea[_0x347414(0x207)],_0x4c0bea[_0x347414(0x1e9)],_0x4c0bea[_0x347414(0x266)],_0x4c0bea[_0x347414(0x295)],_0x4c0bea[_0x347414(0x1fb)],_0x4c0bea['UniverDataValidation'],_0x4c0bea['UniverDesign'],_0x4c0bea['UniverDocs'],_0x4c0bea[_0x347414(0x21e)],_0x4c0bea[_0x347414(0x2da)],_0x4c0bea['UniverDrawingUi'],_0x4c0bea[_0x347414(0x252)],_0x4c0bea[_0x347414(0x1fd)],_0x4c0bea[_0x347414(0x227)],_0x4c0bea[_0x347414(0x2fc)],_0x4c0bea[_0x347414(0x2ba)],_0x4c0bea[_0x347414(0x23d)],_0x4c0bea[_0x347414(0x1f9)],_0x4c0bea['UniverSheetsDataValidation'],_0x4c0bea[_0x347414(0x2e3)],_0x4c0bea['UniverSheetsDrawing'],_0x4c0bea['UniverSheetsDrawingUi'],_0x4c0bea[_0x347414(0x2ec)],_0x4c0bea['UniverSheetsFilterUi'],_0x4c0bea[_0x347414(0x2bc)],_0x4c0bea[_0x347414(0x247)],_0x4c0bea[_0x347414(0x20b)],_0x4c0bea['UniverSheetsHyperLinkUi'],_0x4c0bea[_0x347414(0x21b)],_0x4c0bea[_0x347414(0x299)],_0x4c0bea[_0x347414(0x218)],_0x4c0bea[_0x347414(0x2bd)],_0x4c0bea['React']));}(this,function(_0x3bfa3e,_0x64bf28,_0x6b353e,_0xda1639,_0x2b93b9,_0x3837f2,_0x297af6,_0x1c3182,_0x38a3de,_0x501ff3,_0x1fdedf,_0x5ac16a,_0x3f12de,_0x519e9c,_0x1c98f9,_0x24cf42,_0x5cffa2,_0x5eda5e,_0x2830fd,_0x2af2a6,_0xdfb479,_0x3212b8,_0x23decd,_0x193fd4,_0x3adb0c,_0xb22b66,_0x2d768d,_0x2287ae,_0x7a2040,_0x22b5bc,_0x28d9b6,_0x15d582,_0x91d590,_0x9bfb35,_0x5d90a,_0x90c974){'use strict';var _0xf86f48=_0x1818;var _0x5025ba=Object[_0xf86f48(0x2de)],_0xa2c046=(_0xdff0b8,_0xc57073,_0x5b3c7a)=>_0xc57073 in _0xdff0b8?_0x5025ba(_0xdff0b8,_0xc57073,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b3c7a}):_0xdff0b8[_0xc57073]=_0x5b3c7a,_0x312973=(_0x2c6694,_0x4d75b1,_0x3fe70b)=>_0xa2c046(_0x2c6694,typeof _0x4d75b1!='symbol'?_0x4d75b1+'':_0x4d75b1,_0x3fe70b),_0x30dca1;const _0x3d99ad='edit-history-loader.config',_0x4a97cf={};var _0x37f809=Object[_0xf86f48(0x28a)],_0x4d9f38=(_0x2fbf91,_0x23dbd8,_0x4f7f60,_0x4029b7)=>{for(var _0x495164=_0x4029b7>0x1?void 0x0:_0x4029b7?_0x37f809(_0x23dbd8,_0x4f7f60):_0x23dbd8,_0x1f9856=_0x2fbf91['length']-0x1,_0x399be2;_0x1f9856>=0x0;_0x1f9856--)(_0x399be2=_0x2fbf91[_0x1f9856])&&(_0x495164=_0x399be2(_0x495164)||_0x495164);return _0x495164;},_0x4e61b4=(_0x3f4f1c,_0x19d576)=>(_0x14c357,_0x1910bf)=>_0x19d576(_0x14c357,_0x1910bf,_0x3f4f1c);const _0x511ade=_0xf86f48(0x259),_0x25db12=_0xf86f48(0x221),_0x55b0be=_0xf86f48(0x242);_0x3bfa3e[_0xf86f48(0x2cf)]=class extends _0x1c3182[_0xf86f48(0x264)]{constructor(_0x5dc281,_0x3c1413,_0x5dafbe,_0x519ab7,_0x1a22ed,_0x109453,_0x10833d,_0x280bbd,_0x29fd4c){var _0x4ee4d4=_0xf86f48;super(),_0x312973(this,_0x4ee4d4(0x261),null),_0x312973(this,_0x4ee4d4(0x29e),new _0x1c3182[(_0x4ee4d4(0x2f4))]()),_0x312973(this,_0x4ee4d4(0x2e6),new Map()),(this[_0x4ee4d4(0x2c7)]=_0x5dc281,this['_univerInstanceService']=_0x3c1413,this['_configService']=_0x5dafbe,this['_commandService']=_0x519ab7,this[_0x4ee4d4(0x225)]=_0x1a22ed,this[_0x4ee4d4(0x2ee)]=_0x109453,this[_0x4ee4d4(0x229)]=_0x10833d,this[_0x4ee4d4(0x254)]=_0x280bbd,this[_0x4ee4d4(0x2d9)]=_0x29fd4c,this[_0x4ee4d4(0x1e5)]());}[_0xf86f48(0x1e5)](){var _0x256f9c=_0xf86f48;this['_initContainer'](),this[_0x256f9c(0x293)]();}[_0xf86f48(0x28d)](){var _0x7996d2=_0xf86f48,_0x1a2a94;const _0x2eec43=(_0x1a2a94=this['_configService'][_0x7996d2(0x2d1)](_0x25db12))!=null?_0x1a2a94:_0x511ade,_0x1c0baf=document[_0x7996d2(0x2c5)](_0x2eec43);if(!_0x1c0baf)return;const _0x10199=document['createElement'](_0x7996d2(0x25c));_0x10199['id']=_0x55b0be,_0x10199[_0x7996d2(0x202)][_0x7996d2(0x2e0)](_0x7996d2(0x242)),_0x10199['style'][_0x7996d2(0x265)]=_0x7996d2(0x23a),_0x10199[_0x7996d2(0x28c)][_0x7996d2(0x1f2)]='0',_0x10199[_0x7996d2(0x28c)][_0x7996d2(0x1dd)]='0',_0x10199['style'][_0x7996d2(0x2f8)]='100%',_0x10199[_0x7996d2(0x28c)][_0x7996d2(0x271)]=_0x7996d2(0x26d),_0x10199[_0x7996d2(0x28c)][_0x7996d2(0x267)]=_0x7996d2(0x219),_0x10199[_0x7996d2(0x28c)][_0x7996d2(0x212)]=_0x7996d2(0x2d3),_0x1c0baf['appendChild'](_0x10199);}['_initPlugins'](){var _0x401698=_0xf86f48,_0x35aed6;[[_0x24cf42[_0x401698(0x237)]],[_0x9bfb35[_0x401698(0x272)],{'container':_0x55b0be,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x9bfb35['IDialogService'],null]]}],[_0x5cffa2['UniverNetworkPlugin']],[_0x3f12de[_0x401698(0x249)],{'override':[[_0x3f12de[_0x401698(0x2a1)],null]]}],[_0x1fdedf[_0x401698(0x1f4)],{'hasScroll':!0x1}],[_0x5ac16a[_0x401698(0x28f)]],[_0x15d582[_0x401698(0x215)]],[_0x2830fd['UniverSheetsPlugin'],{'notExecuteFormula':!0x0}],[_0x91d590[_0x401698(0x250)]],[_0x2287ae[_0x401698(0x285)]],[_0x7a2040[_0x401698(0x2af)]],[_0x64bf28['UniverCollaborationPlugin']],[_0xb22b66[_0x401698(0x222)]],[_0x2d768d[_0x401698(0x25a)]],[_0x2af2a6[_0x401698(0x292)]],[_0xdfb479[_0x401698(0x257)]],[_0x22b5bc['UniverSheetsHyperLinkPlugin']],[_0x28d9b6[_0x401698(0x2f5)]],[_0x38a3de['UniverDataValidationPlugin']],[_0x3212b8['UniverSheetsDataValidationPlugin']],[_0x23decd[_0x401698(0x2aa)]],[_0x1c98f9[_0x401698(0x24a)],{'notExecuteFormula':!0x0}],[_0x5eda5e[_0x401698(0x29a)],{'workerURL':'./worker.js'}],[_0x519e9c['UniverDrawingUIPlugin']],[_0x193fd4[_0x401698(0x1e4)]],[_0x3adb0c['UniverSheetsDrawingUIPlugin']],[_0x3837f2['UniverSheetSparklinePlugin']],[_0x297af6[_0x401698(0x2e1)]],[_0x2b93b9[_0x401698(0x1f3)],{'notExecuteFormula':!0x0}],[_0xda1639['UniverEditHistoryViewerPlugin'],{'historyListServerUrl':(_0x35aed6=this[_0x401698(0x20e)][_0x401698(0x2d1)](_0x3d99ad))==null?void 0x0:_0x35aed6[_0x401698(0x2b3)]}]][_0x401698(0x1f1)](([_0x42ea30,_0x810f40])=>this[_0x401698(0x20f)](_0x42ea30,_0x810f40));}[_0xf86f48(0x245)](){var _0x4fe577=_0xf86f48;super[_0x4fe577(0x245)](),this[_0x4fe577(0x2a9)](),this[_0x4fe577(0x2e6)][_0x4fe577(0x2d8)]();}[_0xf86f48(0x20f)](_0xd84076,_0xd54154,_0x551161){var _0xe48219=_0xf86f48;if(this['_pluginMap'][_0xe48219(0x2e8)](_0xd84076[_0xe48219(0x270)])&&!_0x551161)throw new Error(_0xe48219(0x26e)+_0xd84076[_0xe48219(0x270)]+_0xe48219(0x2fb));this[_0xe48219(0x2e6)][_0xe48219(0x23b)](_0xd84076[_0xe48219(0x270)],[_0xd84076,_0xd54154]);}[_0xf86f48(0x2c1)](){var _0x2e40f3=_0xf86f48;return Array['from'](this[_0x2e40f3(0x2e6)][_0x2e40f3(0x203)]());}[_0xf86f48(0x232)](_0x1a93aa){var _0x29a05b=_0xf86f48;const _0x41a5fb=document[_0x29a05b(0x2c5)](_0x55b0be);_0x41a5fb&&(_0x41a5fb[_0x29a05b(0x28c)][_0x29a05b(0x212)]=_0x29a05b(0x2c4),this[_0x29a05b(0x24f)](_0x1a93aa,_0x55b0be));}['unMountHistoryContent'](){var _0xf362a2=_0xf86f48,_0x3e21f8;this[_0xf362a2(0x29e)]['dispose'](),(_0x3e21f8=this[_0xf362a2(0x261)])==null||_0x3e21f8[_0xf362a2(0x245)](),this[_0xf362a2(0x261)]=null;const _0x191448=document[_0xf362a2(0x2c5)](_0x55b0be);_0x191448&&(_0x191448[_0xf362a2(0x28c)][_0xf362a2(0x212)]=_0xf362a2(0x2d3));}['_initUniver'](_0x134707,_0x477e73){var _0x32c4af=_0xf86f48;if(this[_0x32c4af(0x261)])return;const _0x152710=new _0x1c3182['Univer']({'theme':_0x501ff3[_0x32c4af(0x2b9)],'locales':{[this['_localeService'][_0x32c4af(0x1fc)]()]:this['_localeService'][_0x32c4af(0x260)]()},'override':[[_0x1c3182['IAuthzIoService'],{'useClass':_0x6b353e[_0x32c4af(0x2d2)]}]]});this[_0x32c4af(0x261)]=_0x152710;const _0x5e08bd=_0x152710[_0x32c4af(0x25f)]();_0x5e08bd[_0x32c4af(0x27f)](_0x1c3182[_0x32c4af(0x28b)])['setLocale'](this[_0x32c4af(0x2c7)][_0x32c4af(0x1fc)]()),_0x5e08bd[_0x32c4af(0x27f)](_0x1c3182[_0x32c4af(0x2c6)])[_0x32c4af(0x251)](_0x6b353e[_0x32c4af(0x1e3)],this[_0x32c4af(0x20e)]['getConfig'](_0x6b353e[_0x32c4af(0x1e3)])),this['_pluginMap'][_0x32c4af(0x1f1)](([_0x8463be,_0x1b6da8])=>{_0x152710['registerPlugin'](_0x8463be,_0x1b6da8);}),_0x5e08bd['invoke'](_0x2bd01c=>{var _0x1aa839=_0x32c4af;this[_0x1aa839(0x231)](_0x2bd01c,_0x134707);});const _0x568146=_0x5e08bd[_0x32c4af(0x27f)](_0xda1639[_0x32c4af(0x27a)]),_0x5aa660=this[_0x32c4af(0x233)](_0x134707);_0x568146[_0x32c4af(0x21c)](_0x134707,_0x477e73,_0x5aa660);}[_0xf86f48(0x231)](_0x26bbeb,_0x789514){var _0x2ad54b=_0xf86f48;const _0x4dc4b5=_0x26bbeb['get'](_0xda1639[_0x2ad54b(0x27a)]);this['_disposableCollection'][_0x2ad54b(0x2e0)](_0x4dc4b5['status$'][_0x2ad54b(0x279)](_0x52e859=>{var _0x15b261=_0x2ad54b;switch(_0x52e859){case _0xda1639['HistoryModeStatus'][_0x15b261(0x1e8)]:this[_0x15b261(0x254)][_0x15b261(0x226)](),this['_sidebarService'][_0x15b261(0x1ee)]();break;case _0xda1639[_0x15b261(0x208)][_0x15b261(0x277)]:this[_0x15b261(0x2a9)]();break;case _0xda1639[_0x15b261(0x208)][_0x15b261(0x298)]:this['unMountHistoryContent'](),this[_0x15b261(0x225)]['show']({'content':this['_localeService']['t']('editHistory.panel.listFetchError'),'type':_0x501ff3[_0x15b261(0x2d4)][_0x15b261(0x298)],'duration':0xbb8});break;}})),this[_0x2ad54b(0x29e)][_0x2ad54b(0x2e0)](_0x4dc4b5[_0x2ad54b(0x255)][_0x2ad54b(0x279)](async _0x1cc525=>{var _0x2fd405=_0x2ad54b;_0x1cc525&&this['_commandService']['executeCommand'](_0x64bf28[_0x2fd405(0x2d7)]['id'],{'unitId':_0x789514,'revision':_0x1cc525});}));}['_checkCanRevert'](_0x1f8cc7){var _0x5620a5=_0xf86f48;const _0x7d8463=this[_0x5620a5(0x1e2)]['getUnit'](_0x1f8cc7)[_0x5620a5(0x2f1)]()[_0x5620a5(0x26b)](_0xb287=>_0xb287['getSheetId']()),_0x210232=new _0x2830fd[(_0x5620a5(0x268))](_0x1f8cc7)['id'],_0x4f5cc4=_0x7d8463[_0x5620a5(0x26b)](_0x1a0cde=>new _0x2830fd[(_0x5620a5(0x2dc))](_0x1f8cc7,_0x1a0cde)['id']),_0x18c717=_0x7d8463[_0x5620a5(0x26b)](_0xc7857e=>this['_selectionProtectionRuleModel'][_0x5620a5(0x24e)](_0x1f8cc7,_0xc7857e)[_0x5620a5(0x26b)](_0x2ed56b=>new _0x2830fd['RangeProtectionPermissionEditPoint'](_0x1f8cc7,_0xc7857e,_0x2ed56b[_0x5620a5(0x280)])['id']))['flat'](),_0x73c7e3=new _0x2830fd['WorkbookRecoverHistoryPermission'](_0x1f8cc7)['id'];return this[_0x5620a5(0x2ee)][_0x5620a5(0x2eb)]([_0x210232,..._0x4f5cc4,..._0x18c717,_0x73c7e3])[_0x5620a5(0x2fa)](_0x11388f=>!!_0x11388f[_0x5620a5(0x24c)]);}},_0x3bfa3e['HistoryLoaderService']=_0x4d9f38([_0x4e61b4(0x0,_0x1c3182[_0xf86f48(0x2d0)](_0x1c3182[_0xf86f48(0x28b)])),_0x4e61b4(0x1,_0x1c3182['IUniverInstanceService']),_0x4e61b4(0x2,_0x1c3182[_0xf86f48(0x2c6)]),_0x4e61b4(0x3,_0x1c3182[_0xf86f48(0x278)]),_0x4e61b4(0x4,_0x9bfb35[_0xf86f48(0x2a7)]),_0x4e61b4(0x5,_0x1c3182['IPermissionService']),_0x4e61b4(0x6,_0x1c3182[_0xf86f48(0x2d0)](_0x2830fd['RangeProtectionRuleModel'])),_0x4e61b4(0x7,_0x1c3182[_0xf86f48(0x2d0)](_0x9bfb35[_0xf86f48(0x2b1)])),_0x4e61b4(0x8,_0x1c3182[_0xf86f48(0x2d0)](_0x9bfb35[_0xf86f48(0x234)]))],_0x3bfa3e[_0xf86f48(0x2cf)]);var _0x589963=function(){var _0x106d44=_0xf86f48;return _0x589963=Object['assign']||function(_0x341343){var _0x3adf12=_0x1818;for(var _0x19c193,_0x55b7c9=0x1,_0xc8b491=arguments[_0x3adf12(0x2c9)];_0x55b7c9<_0xc8b491;_0x55b7c9++){_0x19c193=arguments[_0x55b7c9];for(var _0x2a5f7c in _0x19c193)Object[_0x3adf12(0x20d)][_0x3adf12(0x238)]['call'](_0x19c193,_0x2a5f7c)&&(_0x341343[_0x2a5f7c]=_0x19c193[_0x2a5f7c]);}return _0x341343;},_0x589963[_0x106d44(0x200)](this,arguments);},_0x496e61=function(_0xa7d353,_0x351db6){var _0x586fdd=_0xf86f48,_0xd1ab72={};for(var _0x96fed2 in _0xa7d353)Object[_0x586fdd(0x20d)]['hasOwnProperty'][_0x586fdd(0x256)](_0xa7d353,_0x96fed2)&&_0x351db6[_0x586fdd(0x20a)](_0x96fed2)<0x0&&(_0xd1ab72[_0x96fed2]=_0xa7d353[_0x96fed2]);if(_0xa7d353!=null&&typeof Object['getOwnPropertySymbols']==_0x586fdd(0x275)){for(var _0x49af93=0x0,_0x96fed2=Object[_0x586fdd(0x2b5)](_0xa7d353);_0x49af93<_0x96fed2['length'];_0x49af93++)_0x351db6['indexOf'](_0x96fed2[_0x49af93])<0x0&&Object[_0x586fdd(0x20d)]['propertyIsEnumerable'][_0x586fdd(0x256)](_0xa7d353,_0x96fed2[_0x49af93])&&(_0xd1ab72[_0x96fed2[_0x49af93]]=_0xa7d353[_0x96fed2[_0x49af93]]);}return _0xd1ab72;},_0xd461e7=_0x90c974[_0xf86f48(0x1f8)](function(_0x5abe3e,_0x57441c){var _0x41c0f4=_0xf86f48,_0x2f60f5=_0x5abe3e[_0x41c0f4(0x253)],_0x1e1cd8=_0x5abe3e['id'],_0x3d26e1=_0x5abe3e[_0x41c0f4(0x2be)],_0x5f0ae2=_0x5abe3e[_0x41c0f4(0x248)],_0x500a4d=_0x496e61(_0x5abe3e,[_0x41c0f4(0x253),'id',_0x41c0f4(0x2be),'extend']),_0x436b68=_0x41c0f4(0x209)[_0x41c0f4(0x1ec)](_0x1e1cd8,'\x20')[_0x41c0f4(0x1ec)](_0x3d26e1||'')[_0x41c0f4(0x24d)](),_0x4eafea=_0x90c974[_0x41c0f4(0x2a3)]('_'['concat'](_0x5be46f()));return _0x2f9a1d(_0x2f60f5,''['concat'](_0x1e1cd8),{'defIds':_0x2f60f5['defIds'],'idSuffix':_0x4eafea[_0x41c0f4(0x2fd)]},_0x589963({'ref':_0x57441c,'className':_0x436b68},_0x500a4d),_0x5f0ae2);});function _0x2f9a1d(_0xd9961e,_0x3714e5,_0x58452c,_0x4fc628,_0x40f2ba){var _0x1298db=_0xf86f48;return _0x90c974['createElement'](_0xd9961e[_0x1298db(0x243)],_0x589963(_0x589963({'key':_0x3714e5},_0x5c6b10(_0xd9961e,_0x58452c,_0x40f2ba)),_0x4fc628),(_0x53ec4a(_0xd9961e,_0x58452c)[_0x1298db(0x25e)]||[])[_0x1298db(0x26b)](function(_0x43622d,_0x1c14c0){var _0x3a95bc=_0x1298db;return _0x2f9a1d(_0x43622d,''[_0x3a95bc(0x1ec)](_0x3714e5,'-')[_0x3a95bc(0x1ec)](_0xd9961e[_0x3a95bc(0x243)],'-')[_0x3a95bc(0x1ec)](_0x1c14c0),_0x58452c,void 0x0,_0x40f2ba);}));}function _0x5c6b10(_0x232559,_0x410929,_0x451b07){var _0x1b4f7b=_0xf86f48,_0x28b4c1=_0x589963({},_0x232559[_0x1b4f7b(0x2ac)]);_0x451b07!=null&&_0x451b07[_0x1b4f7b(0x2b7)]&&_0x28b4c1[_0x1b4f7b(0x204)]===_0x1b4f7b(0x2b7)&&(_0x28b4c1[_0x1b4f7b(0x204)]=_0x451b07[_0x1b4f7b(0x2b7)]),_0x232559['tag']==='mask'&&_0x28b4c1['id']&&(_0x28b4c1['id']=_0x28b4c1['id']+_0x410929[_0x1b4f7b(0x236)]),Object[_0x1b4f7b(0x263)](_0x28b4c1)['forEach'](function(_0x59f3db){var _0x187a60=_0x1b4f7b,_0x5b2cc5=_0x59f3db[0x0],_0x12d6ce=_0x59f3db[0x1];_0x5b2cc5===_0x187a60(0x2ce)&&typeof _0x12d6ce=='string'&&(_0x28b4c1[_0x5b2cc5]=_0x12d6ce[_0x187a60(0x27e)](/url\(#(.*)\)/,_0x187a60(0x211)[_0x187a60(0x1ec)](_0x410929[_0x187a60(0x236)],')')));});var _0x4119a5=_0x410929[_0x1b4f7b(0x2a5)];return!_0x4119a5||_0x4119a5[_0x1b4f7b(0x2c9)]===0x0||(_0x232559[_0x1b4f7b(0x243)]===_0x1b4f7b(0x1e6)&&_0x28b4c1[_0x1b4f7b(0x2e7)]&&(_0x28b4c1[_0x1b4f7b(0x2e7)]=_0x28b4c1[_0x1b4f7b(0x2e7)]+_0x410929[_0x1b4f7b(0x236)]),Object['entries'](_0x28b4c1)[_0x1b4f7b(0x1f1)](function(_0x481a51){var _0x5c2b8=_0x1b4f7b,_0x1b2069=_0x481a51[0x0],_0x5b7575=_0x481a51[0x1];typeof _0x5b7575==_0x5c2b8(0x1ef)&&(_0x28b4c1[_0x1b2069]=_0x5b7575['replace'](/url\(#(.*)\)/,_0x5c2b8(0x211)[_0x5c2b8(0x1ec)](_0x410929[_0x5c2b8(0x236)],')')));})),_0x28b4c1;}function _0x53ec4a(_0x40f8f8,_0x87e93a){var _0x339ab4=_0xf86f48,_0x182da2,_0x231bac=_0x87e93a['defIds'];return!_0x231bac||_0x231bac[_0x339ab4(0x2c9)]===0x0?_0x40f8f8:_0x40f8f8['tag']===_0x339ab4(0x2e5)&&(!((_0x182da2=_0x40f8f8[_0x339ab4(0x25e)])===null||_0x182da2===void 0x0)&&_0x182da2[_0x339ab4(0x2c9)])?_0x589963(_0x589963({},_0x40f8f8),{'children':_0x40f8f8[_0x339ab4(0x25e)]['map'](function(_0x111ed2){var _0x334b2e=_0x339ab4;return typeof _0x111ed2[_0x334b2e(0x2ac)]['id']=='string'&&_0x231bac&&_0x231bac[_0x334b2e(0x20a)](_0x111ed2[_0x334b2e(0x2ac)]['id'])>-0x1?_0x589963(_0x589963({},_0x111ed2),{'attrs':_0x589963(_0x589963({},_0x111ed2['attrs']),{'id':_0x111ed2['attrs']['id']+_0x87e93a[_0x334b2e(0x236)]})}):_0x111ed2;})}):_0x40f8f8;}function _0x5be46f(){var _0x1624a9=_0xf86f48;return Math[_0x1624a9(0x1fe)]()[_0x1624a9(0x2c3)](0x24)[_0x1624a9(0x1f6)](0x2,0x8);}_0xd461e7[_0xf86f48(0x284)]=_0xf86f48(0x29f);var _0x2127f0={'tag':'svg','attrs':{'fill':_0xf86f48(0x2d3),'viewBox':'0\x200\x2016\x2016','width':_0xf86f48(0x2ae),'height':'1em'},'children':[{'tag':'g','attrs':{'fill':_0xf86f48(0x2e9),'clipPath':'url(#history-single_clip0_907_281)'},'children':[{'tag':_0xf86f48(0x1de),'attrs':{'d':'M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z'}},{'tag':_0xf86f48(0x1de),'attrs':{'d':_0xf86f48(0x21f)}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0xf86f48(0x2f9),'attrs':{'id':_0xf86f48(0x2c0)},'children':[{'tag':'path','attrs':{'fill':_0xf86f48(0x2fe),'d':_0xf86f48(0x23e)}}]}]}],'defIds':[_0xf86f48(0x2c0)]},_0xc913c=_0x90c974[_0xf86f48(0x1f8)](function(_0x49ec33,_0x471dff){var _0x58ec93=_0xf86f48;return _0x90c974['createElement'](_0xd461e7,Object[_0x58ec93(0x224)]({},_0x49ec33,{'id':_0x58ec93(0x29b),'ref':_0x471dff,'icon':_0x2127f0}));});_0xc913c[_0xf86f48(0x284)]=_0xf86f48(0x21a);const _0x11f8b8={'id':_0xf86f48(0x2a0),'type':_0x1c3182[_0xf86f48(0x217)][_0xf86f48(0x2dd)],'handler':_0x255fbc=>{var _0x36051b=_0xf86f48;const _0x240691=_0x255fbc[_0x36051b(0x27f)](_0x3bfa3e['HistoryLoaderService']),_0x3fa30f=_0x255fbc[_0x36051b(0x27f)](_0x1c3182[_0x36051b(0x1ff)]),{unitId:_0x347b94}=_0x2830fd['getSheetCommandTarget'](_0x3fa30f)||{};return _0x347b94?(_0x240691[_0x36051b(0x232)](_0x347b94),!0x0):!0x1;}},_0x4cfefc=_0xf86f48(0x21a);function _0x3f9ce8(_0xd09aa9){var _0x32199d=_0xf86f48;return{'id':_0x11f8b8['id'],'type':_0x9bfb35[_0x32199d(0x1f5)][_0x32199d(0x2f2)],'icon':_0x4cfefc,'tooltip':_0x32199d(0x269),'hidden$':_0x9bfb35[_0x32199d(0x281)](_0xd09aa9,_0x1c3182['UniverInstanceType'][_0x32199d(0x26a)]),'disabled$':_0x91d590[_0x32199d(0x2a6)](_0xd09aa9,{'workbookTypes':[_0x2830fd[_0x32199d(0x268)],_0x2830fd[_0x32199d(0x21d)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x243837={[_0x9bfb35[_0xf86f48(0x287)][_0xf86f48(0x1e1)]]:{[_0x11f8b8['id']]:{'order':0x0,'menuItemFactory':_0x3f9ce8}}};var _0x2bce58=Object['getOwnPropertyDescriptor'],_0x548e0a=(_0x387592,_0x571959,_0x4ed1be,_0x155bc5)=>{var _0x504789=_0xf86f48;for(var _0x23f55d=_0x155bc5>0x1?void 0x0:_0x155bc5?_0x2bce58(_0x571959,_0x4ed1be):_0x571959,_0x1d7945=_0x387592[_0x504789(0x2c9)]-0x1,_0x11b2d8;_0x1d7945>=0x0;_0x1d7945--)(_0x11b2d8=_0x387592[_0x1d7945])&&(_0x23f55d=_0x11b2d8(_0x23f55d)||_0x23f55d);return _0x23f55d;},_0x393694=(_0x14a418,_0x3b9a48)=>(_0x2c3d20,_0xa016eb)=>_0x3b9a48(_0x2c3d20,_0xa016eb,_0x14a418);let _0x97d49a=class extends _0x1c3182[_0xf86f48(0x246)]{constructor(_0x48286c,_0x25b3c5,_0x4e771e,_0x9112aa,_0x3f51ea,_0x27343b,_0xd4a21a,_0x95e70e){var _0x421292=_0xf86f48;super(),_0x312973(this,_0x421292(0x244),null),(this[_0x421292(0x29c)]=_0x48286c,this[_0x421292(0x240)]=_0x25b3c5,this[_0x421292(0x1fa)]=_0x4e771e,this['_historyManagerService']=_0x9112aa,this[_0x421292(0x2c7)]=_0x3f51ea,this['_messageService']=_0x27343b,this[_0x421292(0x262)]=_0xd4a21a,this[_0x421292(0x201)]=_0x95e70e,this[_0x421292(0x1e5)]());}['_init'](){var _0x2ad09c=_0xf86f48;[_0x11f8b8][_0x2ad09c(0x1f1)](_0x1e305e=>this[_0x2ad09c(0x2cd)](_0x1c3182[_0x2ad09c(0x22a)](this[_0x2ad09c(0x29c)][_0x2ad09c(0x290)](_0x1e305e)))),this['disposeWithMe'](this[_0x2ad09c(0x1fa)]['register'](_0x4cfefc,_0xc913c)),this[_0x2ad09c(0x240)][_0x2ad09c(0x22f)](_0x243837),this[_0x2ad09c(0x2cd)](this[_0x2ad09c(0x29c)][_0x2ad09c(0x1f7)](_0x16c9f3=>{var _0x24d271=_0x2ad09c;if(_0x16c9f3['id']===_0x64bf28[_0x24d271(0x2d7)]['id']){this['_messageService'][_0x24d271(0x27c)]({'content':this['_localeService']['t'](_0x24d271(0x23f)),'type':_0x501ff3[_0x24d271(0x2d4)]['Loading'],'duration':0x1388});const {unitId:_0x36a578}=_0x16c9f3[_0x24d271(0x26f)],_0x43e04c=this[_0x24d271(0x262)][_0x24d271(0x297)](_0x36a578),_0x51264f=_0x5d90a[_0x24d271(0x22c)]([_0x43e04c['session']['event$'],_0x43e04c[_0x24d271(0x296)]])[_0x24d271(0x279)](async([_0x365f26,_0x12d111])=>{var _0x11b5f3=_0x24d271,_0x3e2c37;_0x365f26[_0x11b5f3(0x294)]===_0x64bf28[_0x11b5f3(0x2b4)][_0x11b5f3(0x2d6)]&&(_0x12d111==null?void 0x0:_0x12d111[_0x11b5f3(0x241)])===_0x6b353e[_0x11b5f3(0x2f6)][_0x11b5f3(0x288)]&&_0x365f26['data']['mutations'][_0x11b5f3(0x239)](_0xb06e7c=>_0xb06e7c['id']===_0x64bf28[_0x11b5f3(0x2d7)]['id'])&&(this[_0x11b5f3(0x220)][_0x11b5f3(0x2a9)](),_0x51264f[_0x11b5f3(0x2ad)](),this[_0x11b5f3(0x244)]&&clearTimeout(this['_revertErrorTimer']),await((_0x3e2c37=this['_localCacheService'])==null?void 0x0:_0x3e2c37[_0x11b5f3(0x22d)]()),setTimeout(()=>window[_0x11b5f3(0x2db)][_0x11b5f3(0x2f0)]()));});this['_revertErrorTimer']=setTimeout(()=>{var _0x2e8ea1=_0x24d271;_0x51264f[_0x2e8ea1(0x2ad)](),this[_0x2e8ea1(0x225)][_0x2e8ea1(0x27c)]({'content':this[_0x2e8ea1(0x2c7)]['t']('editHistory.panel.revertFailed'),'type':_0x501ff3[_0x2e8ea1(0x2d4)][_0x2e8ea1(0x298)],'duration':0xbb8});},0x1388);}}));}};_0x97d49a=_0x548e0a([_0x393694(0x0,_0x1c3182[_0xf86f48(0x278)]),_0x393694(0x1,_0x9bfb35['IMenuManagerService']),_0x393694(0x2,_0x1c3182[_0xf86f48(0x2d0)](_0x9bfb35[_0xf86f48(0x25d)])),_0x393694(0x3,_0x1c3182[_0xf86f48(0x2d0)](_0x3bfa3e[_0xf86f48(0x2cf)])),_0x393694(0x4,_0x1c3182[_0xf86f48(0x2d0)](_0x1c3182[_0xf86f48(0x28b)])),_0x393694(0x5,_0x9bfb35['IMessageService']),_0x393694(0x6,_0x1c3182[_0xf86f48(0x2d0)](_0x6b353e['CollaborationController'])),_0x393694(0x7,_0x6b353e[_0xf86f48(0x2c2)])],_0x97d49a);var _0x377a70=Object[_0xf86f48(0x28a)],_0x2886ee=(_0x266ec8,_0x5833ac,_0x4f2e31,_0x5d8529)=>{for(var _0x559d84=_0x5d8529>0x1?void 0x0:_0x5d8529?_0x377a70(_0x5833ac,_0x4f2e31):_0x5833ac,_0x3ba9f2=_0x266ec8['length']-0x1,_0xc7e573;_0x3ba9f2>=0x0;_0x3ba9f2--)(_0xc7e573=_0x266ec8[_0x3ba9f2])&&(_0x559d84=_0xc7e573(_0x559d84)||_0x559d84);return _0x559d84;},_0x15501c=(_0x570a12,_0x1c2071)=>(_0x11a3d9,_0x4709d8)=>_0x1c2071(_0x11a3d9,_0x4709d8,_0x570a12);const _0x552c4d='UNIVER_EDIT_HISTORY_LOADER_PLUGIN';_0x3bfa3e[_0xf86f48(0x2a4)]=(_0x30dca1=class extends _0x1c3182[_0xf86f48(0x2f7)]{constructor(_0x3cfa40=_0x4a97cf,_0x4c98fb,_0x99bcfd){var _0x3acb27=_0xf86f48;super(),this[_0x3acb27(0x29d)]=_0x3cfa40,this[_0x3acb27(0x205)]=_0x4c98fb,this[_0x3acb27(0x20e)]=_0x99bcfd;const {menu:_0x1116e3,..._0x21639e}=_0x1c3182[_0x3acb27(0x2cb)]({},_0x4a97cf,this[_0x3acb27(0x29d)]);_0x1116e3&&this[_0x3acb27(0x20e)][_0x3acb27(0x251)](_0x3acb27(0x228),_0x1116e3,{'merge':!0x0}),this[_0x3acb27(0x20e)][_0x3acb27(0x251)](_0x3d99ad,_0x21639e),this[_0x3acb27(0x29d)][_0x3acb27(0x223)]&&this[_0x3acb27(0x20e)]['setConfig'](_0x25db12,this[_0x3acb27(0x29d)][_0x3acb27(0x223)]);}[_0xf86f48(0x1e7)](){var _0x1f073b=_0xf86f48;[[_0x3bfa3e['HistoryLoaderService']],[_0x97d49a]][_0x1f073b(0x1f1)](_0x963d88=>this['_injector']['add'](_0x963d88));}[_0xf86f48(0x286)](){var _0x96c52b=_0xf86f48;this['_injector'][_0x96c52b(0x27f)](_0x97d49a);}},_0x312973(_0x30dca1,_0xf86f48(0x2ef),_0x1c3182[_0xf86f48(0x2ff)][_0xf86f48(0x1df)]),_0x312973(_0x30dca1,_0xf86f48(0x270),_0x552c4d),_0x30dca1),_0x3bfa3e['UniverEditHistoryLoaderPlugin']=_0x2886ee([_0x15501c(0x1,_0x1c3182['Inject'](_0x1c3182[_0xf86f48(0x27d)])),_0x15501c(0x2,_0x1c3182[_0xf86f48(0x2c6)])],_0x3bfa3e[_0xf86f48(0x2a4)]),_0x3bfa3e[_0xf86f48(0x214)]=_0x25db12,_0x3bfa3e['UNIVER_HISTORY_CONTAINER_ID']=_0x55b0be,Object[_0xf86f48(0x2de)](_0x3bfa3e,Symbol[_0xf86f48(0x273)],{'value':'Module'});}));function _0x53a0(){var _0xdf4047=['params','pluginName','height','UniverUIPlugin','toStringTag','@univerjs/sheets-conditional-formatting','function','@univerjs/sheets-formula','Exited','ICommandService','subscribe','HistoryManagerService','@univerjs/sheets-conditional-formatting-ui','show','Injector','replace','get','permissionId','getMenuHiddenObservable','26pXowEE','@univerjs/drawing','displayName','UniverSheetsFormulaPlugin','onSteady','RibbonStartGroup','SYNCED','@univerjs/sheets-ui','getOwnPropertyDescriptor','LocaleService','style','_initContainer','@univerjs/engine-formula','UniverDocsUIPlugin','registerCommand','@univerjs/sheets-filter','UniverSheetsConditionalFormattingPlugin','_initPlugins','eventID','UniverProSheetsSparklineUi','state$','getCollabEntity','Error','UniverSheetsUi','UniverRPCMainThreadPlugin','history-single','_commandService','_config','_disposableCollection','UniverIcon','univer.operation.toggle-edit-history','IImageIoService','object','useRef','UniverEditHistoryLoaderPlugin','defIds','getCurrentRangeDisable$','IMessageService','UniverProCollaboration','unMountHistoryContent','UniverSheetsDataValidationUIPlugin','8399304bPhugK','attrs','unsubscribe','1em','UniverSheetsFormulaUIPlugin','@univerjs/core','IDialogService','amd','historyListServerUrl','CollaborationEvent','getOwnPropertySymbols','exports','colorChannel1','@univerjs/data-validation','greenTheme','UniverSheets','@univerjs-pro/edit-history-viewer','UniverSheetsFormula','rxjs','className','@univerjs/sheets-filter-ui','history-single_clip0_907_281','getAllPlugins','ILocalCacheService','toString','block','getElementById','IConfigService','_localeService','4422624xydESh','length','@univerjs/sheets-data-validation-ui','merge','@univerjs/design','disposeWithMe','mask','HistoryLoaderService','Inject','getConfig','AuthzIoHttpService','none','MessageType','@univerjs/sheets-hyper-link-ui','CHANGESET_ACK','RevertRevisionMutation','clear','_sidebarService','UniverDrawing','location','WorksheetEditPermission','OPERATION','defineProperty','11322DgVYFH','add','UniverSheetSparklineUIPlugin','@univerjs/sheets-data-validation','UniverSheetsDataValidationUi','@univerjs/sheets-numfmt','defs','_pluginMap','xlink:href','has','currentColor','238287JhEYyg','composePermission','UniverSheetsFilter','32598oAczau','_permissionService','type','reload','getSheets','BUTTON','@univerjs-pro/sheets-sparkline','DisposableCollection','UniverSheetsHyperLinkUIPlugin','CollaborationStatus','Plugin','width','clipPath','every','\x20has\x20been\x20registered.','UniverRpc','current','#fff','UniverInstanceType','left','path','UNIVER_UNKNOWN','@univerjs/drawing-ui','OTHERS','_univerInstanceService','SNAPSHOT_SERVER_URL_KEY','UniverSheetsDrawingPlugin','_init','use','onStarting','Entered','UniverProSheetsPivot','@univerjs/sheets','12bsJHyS','concat','@univerjs/sheets-drawing','close','string','598625sYOlDo','forEach','top','UniverSheetsPivotTablePlugin','UniverDocsPlugin','MenuItemType','substring','onCommandExecuted','forwardRef','UniverSheetsConditionalFormattingUi','_componentManager','UniverCore','getCurrentLocale','UniverEngineRender','random','IUniverInstanceService','apply','_localCacheService','classList','values','fill','_injector','@univerjs/sheets-drawing-ui','UniverProEditHistoryViewer','HistoryModeStatus','univerjs-icon\x20univerjs-icon-','indexOf','UniverSheetsHyperLink','@univerjs/network','prototype','_configService','registerPlugin','react','url(#$1','display','@univerjs-pro/sheets-pivot','UNIVER_CONTAINER_ID_KEY','UniverSheetsNumfmtPlugin','@univerjs/sheets-formula-ui','CommandType','UniverUi','1000','HistorySingle','UniverSheetsNumfmt','triggerLoadVersions','WorkbookViewHistoryPermission','UniverDocsUi','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','_historyManagerService','UNIVER_CONTAINER_ID','UniverSheetsFilterPlugin','univerContainerId','assign','_messageService','closeAll','UniverNetwork','menu','_selectionProtectionRuleModel','toDisposable','@univerjs-pro/sheets-sparkline-ui','combineLatest','exhaustSavingTask','7430bZacbg','mergeMenu','@univerjs-pro/collaboration','_initListener','mountHistoryContent','_checkCanRevert','ISidebarService','@univerjs/engine-render','idSuffix','UniverRenderEnginePlugin','hasOwnProperty','some','absolute','set','1475572zSYBQS','UniverSheetsConditionalFormatting','M0\x200H16V16H0z','editHistory.panel.reverting','_menuManagerService','status','univer-history-container','tag','_revertErrorTimer','dispose','RxDisposable','UniverSheetsFormulaUi','extend','UniverDrawingPlugin','UniverFormulaEnginePlugin','@univerjs-pro/collaboration-client','value','trim','getSubunitRuleList','_initUniver','UniverSheetsUIPlugin','setConfig','UniverEngineFormula','icon','_dialogService','revertRevision$','call','UniverSheetsConditionalFormattingUIPlugin','@univerjs/docs-ui','univer-container','UniverSheetsFilterUIPlugin','@univerjs/rpc','div','ComponentManager','children','__getInjector','getLocales','_historyUniver','_collaborationController','entries','Disposable','position','UniverProSheetsSparkline','zIndex','WorkbookEditablePermission','editHistory.panel.title','UNIVER_SHEET','map','@univerjs/sheets-hyper-link','100%','[HistoryLoaderService]:\x20Plugin\x20'];_0x53a0=function(){return _0xdf4047;};return _0x53a0();}
|
|
1
|
+
(function(_0x4012c7,_0x59dc40){var _0x16d476=_0x2d7f,_0x5cf18c=_0x4012c7();while(!![]){try{var _0x39c6bf=parseInt(_0x16d476(0x1e5))/0x1*(-parseInt(_0x16d476(0x1c4))/0x2)+parseInt(_0x16d476(0x260))/0x3*(-parseInt(_0x16d476(0x212))/0x4)+-parseInt(_0x16d476(0x207))/0x5*(parseInt(_0x16d476(0x255))/0x6)+-parseInt(_0x16d476(0x19c))/0x7*(-parseInt(_0x16d476(0x194))/0x8)+parseInt(_0x16d476(0x196))/0x9+parseInt(_0x16d476(0x182))/0xa*(parseInt(_0x16d476(0x166))/0xb)+parseInt(_0x16d476(0x18a))/0xc*(parseInt(_0x16d476(0x235))/0xd);if(_0x39c6bf===_0x59dc40)break;else _0x5cf18c['push'](_0x5cf18c['shift']());}catch(_0x2b40f6){_0x5cf18c['push'](_0x5cf18c['shift']());}}}(_0x128a,0xc2314),function(_0x4295f6,_0x24060a){var _0x413f8a=_0x2d7f;typeof exports==_0x413f8a(0x219)&&typeof module<'u'?_0x24060a(exports,require(_0x413f8a(0x1fb)),require(_0x413f8a(0x1de)),require('@univerjs-pro/edit-history-viewer'),require(_0x413f8a(0x21b)),require(_0x413f8a(0x265)),require(_0x413f8a(0x23a)),require(_0x413f8a(0x26b)),require(_0x413f8a(0x261)),require(_0x413f8a(0x217)),require(_0x413f8a(0x160)),require(_0x413f8a(0x177)),require(_0x413f8a(0x1be)),require(_0x413f8a(0x1f8)),require(_0x413f8a(0x15e)),require(_0x413f8a(0x1df)),require(_0x413f8a(0x231)),require(_0x413f8a(0x1b2)),require('@univerjs/sheets'),require(_0x413f8a(0x1d4)),require(_0x413f8a(0x18f)),require('@univerjs/sheets-data-validation'),require(_0x413f8a(0x168)),require(_0x413f8a(0x248)),require(_0x413f8a(0x27d)),require('@univerjs/sheets-filter'),require('@univerjs/sheets-filter-ui'),require(_0x413f8a(0x247)),require(_0x413f8a(0x17a)),require(_0x413f8a(0x273)),require(_0x413f8a(0x184)),require('@univerjs/sheets-numfmt'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require(_0x413f8a(0x181)),require(_0x413f8a(0x286))):typeof define==_0x413f8a(0x18c)&&define[_0x413f8a(0x190)]?define([_0x413f8a(0x27f),_0x413f8a(0x1fb),_0x413f8a(0x1de),_0x413f8a(0x20d),_0x413f8a(0x21b),'@univerjs-pro/sheets-sparkline',_0x413f8a(0x23a),_0x413f8a(0x26b),_0x413f8a(0x261),_0x413f8a(0x217),'@univerjs/docs',_0x413f8a(0x177),_0x413f8a(0x1be),_0x413f8a(0x1f8),_0x413f8a(0x15e),'@univerjs/engine-render',_0x413f8a(0x231),_0x413f8a(0x1b2),_0x413f8a(0x1b4),'@univerjs/sheets-conditional-formatting','@univerjs/sheets-conditional-formatting-ui','@univerjs/sheets-data-validation',_0x413f8a(0x168),_0x413f8a(0x248),_0x413f8a(0x27d),_0x413f8a(0x277),'@univerjs/sheets-filter-ui','@univerjs/sheets-formula',_0x413f8a(0x17a),'@univerjs/sheets-hyper-link','@univerjs/sheets-hyper-link-ui',_0x413f8a(0x222),'@univerjs/sheets-ui',_0x413f8a(0x240),_0x413f8a(0x181),'react'],_0x24060a):(_0x4295f6=typeof globalThis<'u'?globalThis:_0x4295f6||self,_0x24060a(_0x4295f6[_0x413f8a(0x21f)]={},_0x4295f6[_0x413f8a(0x191)],_0x4295f6[_0x413f8a(0x172)],_0x4295f6[_0x413f8a(0x203)],_0x4295f6[_0x413f8a(0x257)],_0x4295f6[_0x413f8a(0x23f)],_0x4295f6[_0x413f8a(0x228)],_0x4295f6[_0x413f8a(0x1db)],_0x4295f6[_0x413f8a(0x25e)],_0x4295f6[_0x413f8a(0x1b8)],_0x4295f6['UniverDocs'],_0x4295f6[_0x413f8a(0x1cb)],_0x4295f6[_0x413f8a(0x202)],_0x4295f6['UniverDrawingUi'],_0x4295f6[_0x413f8a(0x282)],_0x4295f6['UniverEngineRender'],_0x4295f6[_0x413f8a(0x15f)],_0x4295f6[_0x413f8a(0x1e4)],_0x4295f6[_0x413f8a(0x244)],_0x4295f6['UniverSheetsConditionalFormatting'],_0x4295f6[_0x413f8a(0x1b6)],_0x4295f6['UniverSheetsDataValidation'],_0x4295f6['UniverSheetsDataValidationUi'],_0x4295f6[_0x413f8a(0x1f6)],_0x4295f6[_0x413f8a(0x174)],_0x4295f6[_0x413f8a(0x1b3)],_0x4295f6[_0x413f8a(0x1ab)],_0x4295f6[_0x413f8a(0x193)],_0x4295f6[_0x413f8a(0x179)],_0x4295f6[_0x413f8a(0x175)],_0x4295f6[_0x413f8a(0x1e3)],_0x4295f6[_0x413f8a(0x1ff)],_0x4295f6['UniverSheetsUi'],_0x4295f6[_0x413f8a(0x229)],_0x4295f6[_0x413f8a(0x181)],_0x4295f6[_0x413f8a(0x1fc)]));}(this,function(_0x3e7ba7,_0x51b9db,_0x125857,_0x34e698,_0x54bdfe,_0x447cf4,_0xb1328,_0x17ea8d,_0x426c47,_0x24242a,_0x239f76,_0x5aa452,_0xdfdf3c,_0x107c19,_0x6fc0df,_0x1e65da,_0x3a6592,_0x5e0c0d,_0x1020d9,_0xb52f8e,_0x40475c,_0x23edda,_0x277329,_0x6c854b,_0x2372b4,_0x2212a2,_0x3082af,_0x128dc4,_0x56b57f,_0x21a457,_0x1fd2ab,_0x1eb27b,_0x35d838,_0x25da3d,_0x32fd9f,_0x3830f2){'use strict';var _0x4e6358=_0x2d7f;var _0x138886=Object['defineProperty'],_0x2413a8=(_0x41b603,_0x224711,_0x53ed7b)=>_0x224711 in _0x41b603?_0x138886(_0x41b603,_0x224711,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x53ed7b}):_0x41b603[_0x224711]=_0x53ed7b,_0x42cde1=(_0x34ff6f,_0x50f705,_0x4ebf9a)=>_0x2413a8(_0x34ff6f,typeof _0x50f705!=_0x4e6358(0x238)?_0x50f705+'':_0x50f705,_0x4ebf9a),_0x353599;const _0x2de263='edit-history-loader.config',_0x4f0c92={};var _0x1a67d4=Object[_0x4e6358(0x230)],_0x1aee1e=(_0x39e117,_0x308603,_0x32b549,_0x104993)=>{var _0x56b698=_0x4e6358;for(var _0x80cc52=_0x104993>0x1?void 0x0:_0x104993?_0x1a67d4(_0x308603,_0x32b549):_0x308603,_0x37ce7d=_0x39e117[_0x56b698(0x226)]-0x1,_0x43524a;_0x37ce7d>=0x0;_0x37ce7d--)(_0x43524a=_0x39e117[_0x37ce7d])&&(_0x80cc52=_0x43524a(_0x80cc52)||_0x80cc52);return _0x80cc52;},_0x318114=(_0x26ce55,_0x45cd02)=>(_0xdd5417,_0x588787)=>_0x45cd02(_0xdd5417,_0x588787,_0x26ce55);const _0xd1b4c8=_0x4e6358(0x1ec),_0x425717=_0x4e6358(0x1b7),_0x2e7dca=_0x4e6358(0x23e);_0x3e7ba7[_0x4e6358(0x1bc)]=class extends _0x17ea8d[_0x4e6358(0x1b1)]{constructor(_0x4b5ff6,_0x402a3b,_0x5d5865,_0x106fd7,_0x37abc3,_0xef69c9,_0x1b06d1,_0x163a21,_0x1983fc){var _0x474b32=_0x4e6358;super(),_0x42cde1(this,_0x474b32(0x211),null),_0x42cde1(this,'_disposableCollection',new _0x17ea8d[(_0x474b32(0x162))]()),_0x42cde1(this,_0x474b32(0x20b),new Map()),(this[_0x474b32(0x270)]=_0x4b5ff6,this[_0x474b32(0x26e)]=_0x402a3b,this[_0x474b32(0x1ef)]=_0x5d5865,this[_0x474b32(0x27e)]=_0x106fd7,this['_messageService']=_0x37abc3,this['_permissionService']=_0xef69c9,this[_0x474b32(0x1c6)]=_0x1b06d1,this['_dialogService']=_0x163a21,this[_0x474b32(0x1f7)]=_0x1983fc,this[_0x474b32(0x1e2)]());}['_init'](){var _0x21e999=_0x4e6358;this['_initContainer'](),this[_0x21e999(0x1f0)]();}[_0x4e6358(0x1d7)](){var _0x2e05f9=_0x4e6358,_0x2ed912;const _0x5db2b9=(_0x2ed912=this[_0x2e05f9(0x1ef)][_0x2e05f9(0x1d9)](_0x425717))!=null?_0x2ed912:_0xd1b4c8,_0x27efec=document['getElementById'](_0x5db2b9);if(!_0x27efec)return;const _0xd0a870=document[_0x2e05f9(0x20f)](_0x2e05f9(0x185));_0xd0a870['id']=_0x2e7dca,_0xd0a870[_0x2e05f9(0x1aa)][_0x2e05f9(0x276)](_0x2e05f9(0x23e)),_0xd0a870[_0x2e05f9(0x16d)][_0x2e05f9(0x24d)]=_0x2e05f9(0x1c5),_0xd0a870[_0x2e05f9(0x16d)][_0x2e05f9(0x1f4)]='0',_0xd0a870[_0x2e05f9(0x16d)][_0x2e05f9(0x18b)]='0',_0xd0a870[_0x2e05f9(0x16d)][_0x2e05f9(0x1e8)]=_0x2e05f9(0x1c1),_0xd0a870['style'][_0x2e05f9(0x259)]=_0x2e05f9(0x1c1),_0xd0a870['style']['zIndex']=_0x2e05f9(0x271),_0xd0a870['style'][_0x2e05f9(0x161)]=_0x2e05f9(0x1f2),_0x27efec[_0x2e05f9(0x16c)](_0xd0a870);}[_0x4e6358(0x1f0)](){var _0x419637=_0x4e6358,_0x4394e5;[[_0x1e65da[_0x419637(0x1ed)]],[_0x25da3d[_0x419637(0x189)],{'container':_0x2e7dca,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x25da3d[_0x419637(0x24b)],null]]}],[_0x3a6592[_0x419637(0x19b)]],[_0xdfdf3c[_0x419637(0x1cf)],{'override':[[_0xdfdf3c[_0x419637(0x163)],null]]}],[_0x239f76[_0x419637(0x18e)],{'hasScroll':!0x1}],[_0x5aa452[_0x419637(0x221)]],[_0x1eb27b['UniverSheetsNumfmtPlugin']],[_0x1020d9[_0x419637(0x1d1)],{'notExecuteFormula':!0x0}],[_0x35d838[_0x419637(0x213)]],[_0x128dc4[_0x419637(0x1c0)]],[_0x56b57f[_0x419637(0x272)]],[_0x51b9db[_0x419637(0x25c)]],[_0x2212a2['UniverSheetsFilterPlugin']],[_0x3082af['UniverSheetsFilterUIPlugin']],[_0xb52f8e[_0x419637(0x1fe)]],[_0x40475c[_0x419637(0x210)]],[_0x21a457[_0x419637(0x266)]],[_0x1fd2ab[_0x419637(0x269)]],[_0x426c47[_0x419637(0x25d)]],[_0x23edda['UniverSheetsDataValidationPlugin']],[_0x277329[_0x419637(0x1ae)]],[_0x6fc0df[_0x419637(0x237)],{'notExecuteFormula':!0x0}],[_0x5e0c0d[_0x419637(0x22d)],{'workerURL':_0x419637(0x19f)}],[_0x107c19[_0x419637(0x19a)]],[_0x6c854b[_0x419637(0x216)]],[_0x2372b4[_0x419637(0x1f5)]],[_0x447cf4[_0x419637(0x1fd)]],[_0xb1328[_0x419637(0x1a3)]],[_0x54bdfe[_0x419637(0x264)],{'notExecuteFormula':!0x0}],[_0x34e698['UniverEditHistoryViewerPlugin'],{'historyListServerUrl':(_0x4394e5=this[_0x419637(0x1ef)][_0x419637(0x1d9)](_0x2de263))==null?void 0x0:_0x4394e5[_0x419637(0x1a4)]}]][_0x419637(0x1da)](([_0x45a094,_0x1526c9])=>this[_0x419637(0x201)](_0x45a094,_0x1526c9));}[_0x4e6358(0x1b0)](){var _0x17573b=_0x4e6358;super[_0x17573b(0x1b0)](),this[_0x17573b(0x223)](),this['_pluginMap']['clear']();}[_0x4e6358(0x201)](_0x40387f,_0x5c6ccd,_0x6c6414){var _0x194596=_0x4e6358;if(this[_0x194596(0x20b)][_0x194596(0x1eb)](_0x40387f[_0x194596(0x283)])&&!_0x6c6414)throw new Error(_0x194596(0x1c3)+_0x40387f[_0x194596(0x283)]+_0x194596(0x253));this[_0x194596(0x20b)][_0x194596(0x208)](_0x40387f[_0x194596(0x283)],[_0x40387f,_0x5c6ccd]);}[_0x4e6358(0x22a)](){var _0x1a55d1=_0x4e6358;return Array[_0x1a55d1(0x1a9)](this[_0x1a55d1(0x20b)][_0x1a55d1(0x1e1)]());}[_0x4e6358(0x254)](_0x48d098){var _0x1ea9b8=_0x4e6358;const _0x143182=document[_0x1ea9b8(0x1d2)](_0x2e7dca);_0x143182&&(_0x143182[_0x1ea9b8(0x16d)][_0x1ea9b8(0x161)]='block',this[_0x1ea9b8(0x18d)](_0x48d098,_0x2e7dca));}[_0x4e6358(0x223)](){var _0x2f505c=_0x4e6358,_0x392286;this['_disposableCollection']['dispose'](),(_0x392286=this[_0x2f505c(0x211)])==null||_0x392286[_0x2f505c(0x1b0)](),this[_0x2f505c(0x211)]=null;const _0x54ca23=document[_0x2f505c(0x1d2)](_0x2e7dca);_0x54ca23&&(_0x54ca23['style'][_0x2f505c(0x161)]=_0x2f505c(0x1f2));}['_initUniver'](_0x2ea477,_0xe01695){var _0x569620=_0x4e6358;if(this[_0x569620(0x211)])return;const _0x10ec37=new _0x17ea8d[(_0x569620(0x1a6))]({'theme':_0x24242a[_0x569620(0x26a)],'locales':{[this[_0x569620(0x270)][_0x569620(0x22c)]()]:this[_0x569620(0x270)][_0x569620(0x256)]()},'override':[[_0x17ea8d[_0x569620(0x188)],{'useClass':_0x125857['AuthzIoHttpService']}]]});this[_0x569620(0x211)]=_0x10ec37;const _0x38ba1a=_0x10ec37['__getInjector']();_0x38ba1a[_0x569620(0x17f)](_0x17ea8d[_0x569620(0x1b5)])[_0x569620(0x1dd)](this[_0x569620(0x270)][_0x569620(0x22c)]()),_0x38ba1a['get'](_0x17ea8d[_0x569620(0x1a5)])[_0x569620(0x1a1)](_0x125857[_0x569620(0x243)],this['_configService'][_0x569620(0x1d9)](_0x125857['SNAPSHOT_SERVER_URL_KEY'])),this[_0x569620(0x20b)][_0x569620(0x1da)](([_0x56c39f,_0x3b1c84])=>{_0x10ec37['registerPlugin'](_0x56c39f,_0x3b1c84);}),_0x38ba1a['invoke'](_0x31fb57=>{this['_initListener'](_0x31fb57,_0x2ea477);});const _0x1fade9=_0x38ba1a[_0x569620(0x17f)](_0x34e698['HistoryManagerService']),_0x3ff0a4=this['_checkCanRevert'](_0x2ea477);_0x1fade9['triggerLoadVersions'](_0x2ea477,_0xe01695,_0x3ff0a4);}['_initListener'](_0x47c1a6,_0x5437f8){var _0x3f79e7=_0x4e6358;const _0x5e907f=_0x47c1a6[_0x3f79e7(0x17f)](_0x34e698[_0x3f79e7(0x1ee)]);this[_0x3f79e7(0x22b)][_0x3f79e7(0x276)](_0x5e907f['status$'][_0x3f79e7(0x1a0)](_0x514854=>{var _0x922433=_0x3f79e7;switch(_0x514854){case _0x34e698[_0x922433(0x233)]['Entered']:this[_0x922433(0x1e0)][_0x922433(0x21c)](),this[_0x922433(0x1f7)][_0x922433(0x1cc)]();break;case _0x34e698['HistoryModeStatus']['Exited']:this['unMountHistoryContent']();break;case _0x34e698[_0x922433(0x233)][_0x922433(0x268)]:this[_0x922433(0x223)](),this['_messageService']['show']({'content':this[_0x922433(0x270)]['t']('editHistory.panel.listFetchError'),'type':_0x24242a[_0x922433(0x173)]['Error'],'duration':0xbb8});break;}})),this[_0x3f79e7(0x22b)][_0x3f79e7(0x276)](_0x5e907f[_0x3f79e7(0x21d)][_0x3f79e7(0x1a0)](async _0x1e3a7b=>{var _0x449410=_0x3f79e7;_0x1e3a7b&&this['_commandService'][_0x449410(0x1cd)](_0x51b9db['RevertRevisionMutation']['id'],{'unitId':_0x5437f8,'revision':_0x1e3a7b});}));}[_0x4e6358(0x19d)](_0x447b4c){var _0x3427d0=_0x4e6358;const _0x5c7334=this[_0x3427d0(0x26e)][_0x3427d0(0x206)](_0x447b4c)[_0x3427d0(0x1ce)]()['map'](_0x3d6b97=>_0x3d6b97[_0x3427d0(0x199)]()),_0x1d4b1d=new _0x1020d9['WorkbookEditablePermission'](_0x447b4c)['id'],_0x5b0dc7=_0x5c7334['map'](_0x34de8f=>new _0x1020d9[(_0x3427d0(0x1ac))](_0x447b4c,_0x34de8f)['id']),_0x19b24c=_0x5c7334['map'](_0x5ba2e1=>this['_selectionProtectionRuleModel'][_0x3427d0(0x1ad)](_0x447b4c,_0x5ba2e1)['map'](_0x52ba37=>new _0x1020d9['RangeProtectionPermissionEditPoint'](_0x447b4c,_0x5ba2e1,_0x52ba37[_0x3427d0(0x1e6)])['id']))['flat'](),_0x1231b8=new _0x1020d9['WorkbookRecoverHistoryPermission'](_0x447b4c)['id'];return this[_0x3427d0(0x232)][_0x3427d0(0x1d6)]([_0x1d4b1d,..._0x5b0dc7,..._0x19b24c,_0x1231b8])[_0x3427d0(0x289)](_0x44888a=>!!_0x44888a[_0x3427d0(0x164)]);}},_0x3e7ba7[_0x4e6358(0x1bc)]=_0x1aee1e([_0x318114(0x0,_0x17ea8d['Inject'](_0x17ea8d[_0x4e6358(0x1b5)])),_0x318114(0x1,_0x17ea8d[_0x4e6358(0x275)]),_0x318114(0x2,_0x17ea8d[_0x4e6358(0x1a5)]),_0x318114(0x3,_0x17ea8d[_0x4e6358(0x288)]),_0x318114(0x4,_0x25da3d[_0x4e6358(0x25f)]),_0x318114(0x5,_0x17ea8d[_0x4e6358(0x170)]),_0x318114(0x6,_0x17ea8d[_0x4e6358(0x16b)](_0x1020d9[_0x4e6358(0x26f)])),_0x318114(0x7,_0x17ea8d['Inject'](_0x25da3d[_0x4e6358(0x24b)])),_0x318114(0x8,_0x17ea8d['Inject'](_0x25da3d['ISidebarService']))],_0x3e7ba7[_0x4e6358(0x1bc)]);var _0x3063f3=function(){var _0x343c08=_0x4e6358;return _0x3063f3=Object['assign']||function(_0x52949f){var _0x1f9a46=_0x2d7f;for(var _0x977abf,_0x1f4e10=0x1,_0x445662=arguments[_0x1f9a46(0x226)];_0x1f4e10<_0x445662;_0x1f4e10++){_0x977abf=arguments[_0x1f4e10];for(var _0x32b58b in _0x977abf)Object[_0x1f9a46(0x234)][_0x1f9a46(0x209)][_0x1f9a46(0x1d3)](_0x977abf,_0x32b58b)&&(_0x52949f[_0x32b58b]=_0x977abf[_0x32b58b]);}return _0x52949f;},_0x3063f3[_0x343c08(0x186)](this,arguments);},_0x257481=function(_0x492ddb,_0xd6b577){var _0x1bd20b=_0x4e6358,_0xf3d302={};for(var _0x5e66a6 in _0x492ddb)Object['prototype'][_0x1bd20b(0x209)][_0x1bd20b(0x1d3)](_0x492ddb,_0x5e66a6)&&_0xd6b577['indexOf'](_0x5e66a6)<0x0&&(_0xf3d302[_0x5e66a6]=_0x492ddb[_0x5e66a6]);if(_0x492ddb!=null&&typeof Object[_0x1bd20b(0x285)]==_0x1bd20b(0x18c)){for(var _0xa810cb=0x0,_0x5e66a6=Object[_0x1bd20b(0x285)](_0x492ddb);_0xa810cb<_0x5e66a6[_0x1bd20b(0x226)];_0xa810cb++)_0xd6b577[_0x1bd20b(0x1f9)](_0x5e66a6[_0xa810cb])<0x0&&Object[_0x1bd20b(0x234)][_0x1bd20b(0x1a7)][_0x1bd20b(0x1d3)](_0x492ddb,_0x5e66a6[_0xa810cb])&&(_0xf3d302[_0x5e66a6[_0xa810cb]]=_0x492ddb[_0x5e66a6[_0xa810cb]]);}return _0xf3d302;},_0x5e75e3=_0x3830f2[_0x4e6358(0x236)](function(_0x3f1e76,_0x11fcdc){var _0x226a8b=_0x4e6358,_0x208c5f=_0x3f1e76['icon'],_0x2887bb=_0x3f1e76['id'],_0x306827=_0x3f1e76['className'],_0x5e09d9=_0x3f1e76[_0x226a8b(0x245)],_0x283c13=_0x257481(_0x3f1e76,['icon','id',_0x226a8b(0x1fa),_0x226a8b(0x245)]),_0x4cc32c='univerjs-icon\x20univerjs-icon-'['concat'](_0x2887bb,'\x20')[_0x226a8b(0x1b9)](_0x306827||'')[_0x226a8b(0x1d5)](),_0xb6ba51=_0x3830f2[_0x226a8b(0x1ca)]('_'[_0x226a8b(0x1b9)](_0x4e8c36()));return _0x489e90(_0x208c5f,''[_0x226a8b(0x1b9)](_0x2887bb),{'defIds':_0x208c5f[_0x226a8b(0x169)],'idSuffix':_0xb6ba51[_0x226a8b(0x246)]},_0x3063f3({'ref':_0x11fcdc,'className':_0x4cc32c},_0x283c13),_0x5e09d9);});function _0x489e90(_0x1a9fc7,_0x47b451,_0x47ce06,_0x290580,_0x30d471){var _0x2b0eff=_0x4e6358;return _0x3830f2['createElement'](_0x1a9fc7[_0x2b0eff(0x1c2)],_0x3063f3(_0x3063f3({'key':_0x47b451},_0x54fc3f(_0x1a9fc7,_0x47ce06,_0x30d471)),_0x290580),(_0x146e4c(_0x1a9fc7,_0x47ce06)['children']||[])['map'](function(_0x303c1a,_0x15e1ce){var _0x4ae4cb=_0x2b0eff;return _0x489e90(_0x303c1a,''[_0x4ae4cb(0x1b9)](_0x47b451,'-')[_0x4ae4cb(0x1b9)](_0x1a9fc7['tag'],'-')[_0x4ae4cb(0x1b9)](_0x15e1ce),_0x47ce06,void 0x0,_0x30d471);}));}function _0x54fc3f(_0x278317,_0x4788a6,_0x192b66){var _0x3a816f=_0x4e6358,_0x1872eb=_0x3063f3({},_0x278317[_0x3a816f(0x251)]);_0x192b66!=null&&_0x192b66[_0x3a816f(0x263)]&&_0x1872eb[_0x3a816f(0x258)]==='colorChannel1'&&(_0x1872eb['fill']=_0x192b66[_0x3a816f(0x263)]),_0x278317['tag']===_0x3a816f(0x252)&&_0x1872eb['id']&&(_0x1872eb['id']=_0x1872eb['id']+_0x4788a6['idSuffix']),Object[_0x3a816f(0x16e)](_0x1872eb)['forEach'](function(_0x547fa5){var _0x55a840=_0x3a816f,_0x33d39a=_0x547fa5[0x0],_0x6c6108=_0x547fa5[0x1];_0x33d39a===_0x55a840(0x252)&&typeof _0x6c6108==_0x55a840(0x215)&&(_0x1872eb[_0x33d39a]=_0x6c6108[_0x55a840(0x16f)](/url\(#(.*)\)/,_0x55a840(0x27a)[_0x55a840(0x1b9)](_0x4788a6[_0x55a840(0x17b)],')')));});var _0x4ad8f5=_0x4788a6[_0x3a816f(0x169)];return!_0x4ad8f5||_0x4ad8f5[_0x3a816f(0x226)]===0x0||(_0x278317[_0x3a816f(0x1c2)]===_0x3a816f(0x278)&&_0x1872eb[_0x3a816f(0x1f3)]&&(_0x1872eb['xlink:href']=_0x1872eb[_0x3a816f(0x1f3)]+_0x4788a6[_0x3a816f(0x17b)]),Object[_0x3a816f(0x16e)](_0x1872eb)[_0x3a816f(0x1da)](function(_0x503ea4){var _0x1d72f0=_0x3a816f,_0x2ebe1d=_0x503ea4[0x0],_0x4ccd88=_0x503ea4[0x1];typeof _0x4ccd88==_0x1d72f0(0x215)&&(_0x1872eb[_0x2ebe1d]=_0x4ccd88[_0x1d72f0(0x16f)](/url\(#(.*)\)/,_0x1d72f0(0x27a)[_0x1d72f0(0x1b9)](_0x4788a6[_0x1d72f0(0x17b)],')')));})),_0x1872eb;}function _0x146e4c(_0x5764e5,_0x79e9bf){var _0x1499da=_0x4e6358,_0x5286d2,_0xe57f9d=_0x79e9bf[_0x1499da(0x169)];return!_0xe57f9d||_0xe57f9d[_0x1499da(0x226)]===0x0?_0x5764e5:_0x5764e5['tag']===_0x1499da(0x1d0)&&(!((_0x5286d2=_0x5764e5[_0x1499da(0x25b)])===null||_0x5286d2===void 0x0)&&_0x5286d2[_0x1499da(0x226)])?_0x3063f3(_0x3063f3({},_0x5764e5),{'children':_0x5764e5[_0x1499da(0x25b)][_0x1499da(0x20e)](function(_0x4d9094){var _0x389b73=_0x1499da;return typeof _0x4d9094['attrs']['id']=='string'&&_0xe57f9d&&_0xe57f9d[_0x389b73(0x1f9)](_0x4d9094['attrs']['id'])>-0x1?_0x3063f3(_0x3063f3({},_0x4d9094),{'attrs':_0x3063f3(_0x3063f3({},_0x4d9094['attrs']),{'id':_0x4d9094['attrs']['id']+_0x79e9bf[_0x389b73(0x17b)]})}):_0x4d9094;})}):_0x5764e5;}function _0x4e8c36(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}_0x5e75e3[_0x4e6358(0x250)]=_0x4e6358(0x1f1);var _0xfe8153={'tag':_0x4e6358(0x280),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x4e6358(0x281),'height':_0x4e6358(0x281)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x4e6358(0x1a2)},'children':[{'tag':_0x4e6358(0x239),'attrs':{'d':'M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z'}},{'tag':_0x4e6358(0x239),'attrs':{'d':_0x4e6358(0x183)}}]},{'tag':_0x4e6358(0x1d0),'attrs':{},'children':[{'tag':_0x4e6358(0x16a),'attrs':{'id':_0x4e6358(0x26c)},'children':[{'tag':'path','attrs':{'fill':_0x4e6358(0x24f),'d':_0x4e6358(0x224)}}]}]}],'defIds':[_0x4e6358(0x26c)]},_0x367ee6=_0x3830f2[_0x4e6358(0x236)](function(_0x64efa1,_0x315a54){var _0x108715=_0x4e6358;return _0x3830f2['createElement'](_0x5e75e3,Object[_0x108715(0x178)]({},_0x64efa1,{'id':_0x108715(0x220),'ref':_0x315a54,'icon':_0xfe8153}));});_0x367ee6['displayName']=_0x4e6358(0x1d8);const _0x31403e={'id':_0x4e6358(0x1af),'type':_0x17ea8d[_0x4e6358(0x20c)][_0x4e6358(0x1bf)],'handler':_0x138140=>{var _0x5d5e6c=_0x4e6358;const _0x2bc7b5=_0x138140[_0x5d5e6c(0x17f)](_0x3e7ba7['HistoryLoaderService']),_0x27ce65=_0x138140['get'](_0x17ea8d[_0x5d5e6c(0x275)]),{unitId:_0x563839}=_0x1020d9['getSheetCommandTarget'](_0x27ce65)||{};return _0x563839?(_0x2bc7b5[_0x5d5e6c(0x254)](_0x563839),!0x0):!0x1;}},_0x177054='HistorySingle';function _0x25e329(_0x52daa5){var _0x27f5ba=_0x4e6358;return{'id':_0x31403e['id'],'type':_0x25da3d['MenuItemType'][_0x27f5ba(0x26d)],'icon':_0x177054,'tooltip':_0x27f5ba(0x218),'hidden$':_0x25da3d[_0x27f5ba(0x23b)](_0x52daa5,_0x17ea8d[_0x27f5ba(0x167)][_0x27f5ba(0x1c8)]),'disabled$':_0x35d838[_0x27f5ba(0x176)](_0x52daa5,{'workbookTypes':[_0x1020d9[_0x27f5ba(0x17e)],_0x1020d9[_0x27f5ba(0x262)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x437acf={[_0x25da3d[_0x4e6358(0x165)]['OTHERS']]:{[_0x31403e['id']]:{'order':0x0,'menuItemFactory':_0x25e329}}};var _0x15f9e4=Object[_0x4e6358(0x230)],_0x2e3c48=(_0x442c98,_0x4c5820,_0x3fdcbb,_0x281bcf)=>{for(var _0x541646=_0x281bcf>0x1?void 0x0:_0x281bcf?_0x15f9e4(_0x4c5820,_0x3fdcbb):_0x4c5820,_0x5ca8ed=_0x442c98['length']-0x1,_0x3f1ead;_0x5ca8ed>=0x0;_0x5ca8ed--)(_0x3f1ead=_0x442c98[_0x5ca8ed])&&(_0x541646=_0x3f1ead(_0x541646)||_0x541646);return _0x541646;},_0x1fcf93=(_0x4ecc9d,_0x5cd1c9)=>(_0x8be69f,_0xa05e16)=>_0x5cd1c9(_0x8be69f,_0xa05e16,_0x4ecc9d);let _0x25e8d9=class extends _0x17ea8d['RxDisposable']{constructor(_0x36a68d,_0xb49d90,_0xcb85fe,_0x469af9,_0x119f9e,_0x5dd819,_0x20c67a,_0x26b17f){var _0x2e6385=_0x4e6358;super(),_0x42cde1(this,'_revertErrorTimer',null),(this[_0x2e6385(0x27e)]=_0x36a68d,this['_menuManagerService']=_0xb49d90,this['_componentManager']=_0xcb85fe,this[_0x2e6385(0x1e9)]=_0x469af9,this[_0x2e6385(0x270)]=_0x119f9e,this[_0x2e6385(0x205)]=_0x5dd819,this[_0x2e6385(0x27c)]=_0x20c67a,this[_0x2e6385(0x21a)]=_0x26b17f,this[_0x2e6385(0x1e2)]());}[_0x4e6358(0x1e2)](){var _0x74c441=_0x4e6358;[_0x31403e][_0x74c441(0x1da)](_0x40342b=>this[_0x74c441(0x241)](_0x17ea8d[_0x74c441(0x214)](this[_0x74c441(0x27e)][_0x74c441(0x1e7)](_0x40342b)))),this['disposeWithMe'](this[_0x74c441(0x198)][_0x74c441(0x187)](_0x177054,_0x367ee6)),this['_menuManagerService']['mergeMenu'](_0x437acf),this['disposeWithMe'](this['_commandService'][_0x74c441(0x287)](_0x5c0a9c=>{var _0x11fae2=_0x74c441;if(_0x5c0a9c['id']===_0x51b9db[_0x11fae2(0x22e)]['id']){this[_0x11fae2(0x205)][_0x11fae2(0x17c)]({'content':this[_0x11fae2(0x270)]['t'](_0x11fae2(0x1dc)),'type':_0x24242a[_0x11fae2(0x173)][_0x11fae2(0x25a)],'duration':0x1388});const {unitId:_0x525e6b}=_0x5c0a9c[_0x11fae2(0x225)],_0x3d70d9=this[_0x11fae2(0x27c)][_0x11fae2(0x24e)](_0x525e6b),_0x3bd856=_0x32fd9f['combineLatest']([_0x3d70d9[_0x11fae2(0x249)]['event$'],_0x3d70d9[_0x11fae2(0x24c)]])['subscribe'](async([_0x14640e,_0xb90005])=>{var _0x53aac2=_0x11fae2,_0x3332f4;_0x14640e['eventID']===_0x51b9db[_0x53aac2(0x180)][_0x53aac2(0x1ba)]&&(_0xb90005==null?void 0x0:_0xb90005['status'])===_0x125857[_0x53aac2(0x20a)]['SYNCED']&&_0x14640e['data'][_0x53aac2(0x171)][_0x53aac2(0x1c9)](_0x2ffa7a=>_0x2ffa7a['id']===_0x51b9db[_0x53aac2(0x22e)]['id'])&&(this[_0x53aac2(0x1e9)][_0x53aac2(0x223)](),_0x3bd856[_0x53aac2(0x200)](),this[_0x53aac2(0x27b)]&&clearTimeout(this['_revertErrorTimer']),await((_0x3332f4=this[_0x53aac2(0x21a)])==null?void 0x0:_0x3332f4[_0x53aac2(0x17d)]()),setTimeout(()=>window[_0x53aac2(0x242)][_0x53aac2(0x19e)]()));});this[_0x11fae2(0x27b)]=setTimeout(()=>{var _0x994e8c=_0x11fae2;_0x3bd856[_0x994e8c(0x200)](),this[_0x994e8c(0x205)]['show']({'content':this['_localeService']['t'](_0x994e8c(0x1ea)),'type':_0x24242a[_0x994e8c(0x173)][_0x994e8c(0x268)],'duration':0xbb8});},0x1388);}}));}};_0x25e8d9=_0x2e3c48([_0x1fcf93(0x0,_0x17ea8d['ICommandService']),_0x1fcf93(0x1,_0x25da3d[_0x4e6358(0x197)]),_0x1fcf93(0x2,_0x17ea8d[_0x4e6358(0x16b)](_0x25da3d[_0x4e6358(0x1a8)])),_0x1fcf93(0x3,_0x17ea8d[_0x4e6358(0x16b)](_0x3e7ba7['HistoryLoaderService'])),_0x1fcf93(0x4,_0x17ea8d[_0x4e6358(0x16b)](_0x17ea8d['LocaleService'])),_0x1fcf93(0x5,_0x25da3d[_0x4e6358(0x25f)]),_0x1fcf93(0x6,_0x17ea8d[_0x4e6358(0x16b)](_0x125857[_0x4e6358(0x23c)])),_0x1fcf93(0x7,_0x125857[_0x4e6358(0x24a)])],_0x25e8d9);var _0x1c0271=Object[_0x4e6358(0x230)],_0xaf0c8e=(_0x2f9756,_0x188d9e,_0xf7ccfb,_0xfb3207)=>{for(var _0x54641b=_0xfb3207>0x1?void 0x0:_0xfb3207?_0x1c0271(_0x188d9e,_0xf7ccfb):_0x188d9e,_0x145beb=_0x2f9756['length']-0x1,_0x34110c;_0x145beb>=0x0;_0x145beb--)(_0x34110c=_0x2f9756[_0x145beb])&&(_0x54641b=_0x34110c(_0x54641b)||_0x54641b);return _0x54641b;},_0x1ebc91=(_0x1e1ebd,_0x183661)=>(_0xcf1554,_0x2fb73a)=>_0x183661(_0xcf1554,_0x2fb73a,_0x1e1ebd);const _0x4b0a86='UNIVER_EDIT_HISTORY_LOADER_PLUGIN';_0x3e7ba7[_0x4e6358(0x284)]=(_0x353599=class extends _0x17ea8d['Plugin']{constructor(_0x57be59=_0x4f0c92,_0x53a2c3,_0x59e6c4){var _0x446b26=_0x4e6358;super(),this[_0x446b26(0x267)]=_0x57be59,this[_0x446b26(0x274)]=_0x53a2c3,this[_0x446b26(0x1ef)]=_0x59e6c4;const {menu:_0x367818,..._0x4c456c}=_0x17ea8d[_0x446b26(0x192)]({},_0x4f0c92,this[_0x446b26(0x267)]);_0x367818&&this[_0x446b26(0x1ef)]['setConfig'](_0x446b26(0x1c7),_0x367818,{'merge':!0x0}),this[_0x446b26(0x1ef)][_0x446b26(0x1a1)](_0x2de263,_0x4c456c),this[_0x446b26(0x267)]['univerContainerId']&&this['_configService'][_0x446b26(0x1a1)](_0x425717,this[_0x446b26(0x267)][_0x446b26(0x21e)]);}[_0x4e6358(0x23d)](){var _0x2d0bde=_0x4e6358;[[_0x3e7ba7[_0x2d0bde(0x1bc)]],[_0x25e8d9]][_0x2d0bde(0x1da)](_0x120e72=>this[_0x2d0bde(0x274)][_0x2d0bde(0x276)](_0x120e72));}['onSteady'](){var _0xfdd2a7=_0x4e6358;this['_injector'][_0xfdd2a7(0x17f)](_0x25e8d9);}},_0x42cde1(_0x353599,_0x4e6358(0x195),_0x17ea8d[_0x4e6358(0x167)]['UNIVER_UNKNOWN']),_0x42cde1(_0x353599,_0x4e6358(0x283),_0x4b0a86),_0x353599),_0x3e7ba7[_0x4e6358(0x284)]=_0xaf0c8e([_0x1ebc91(0x1,_0x17ea8d[_0x4e6358(0x16b)](_0x17ea8d[_0x4e6358(0x22f)])),_0x1ebc91(0x2,_0x17ea8d[_0x4e6358(0x1a5)])],_0x3e7ba7[_0x4e6358(0x284)]),_0x3e7ba7[_0x4e6358(0x227)]=_0x425717,_0x3e7ba7[_0x4e6358(0x1bb)]=_0x2e7dca,Object[_0x4e6358(0x1bd)](_0x3e7ba7,Symbol[_0x4e6358(0x279)],{'value':_0x4e6358(0x204)});}));function _0x2d7f(_0x567b71,_0x34eb85){var _0x128a6f=_0x128a();return _0x2d7f=function(_0x2d7f17,_0x35a5bf){_0x2d7f17=_0x2d7f17-0x15e;var _0x543cec=_0x128a6f[_0x2d7f17];return _0x543cec;},_0x2d7f(_0x567b71,_0x34eb85);}function _0x128a(){var _0x132bd9=['WorksheetEditPermission','getSubunitRuleList','UniverSheetsDataValidationUIPlugin','univer.operation.toggle-edit-history','dispose','Disposable','@univerjs/rpc','UniverSheetsFilter','@univerjs/sheets','LocaleService','UniverSheetsConditionalFormattingUi','UNIVER_CONTAINER_ID','UniverDesign','concat','CHANGESET_ACK','UNIVER_HISTORY_CONTAINER_ID','HistoryLoaderService','defineProperty','@univerjs/drawing','OPERATION','UniverSheetsFormulaPlugin','100%','tag','[HistoryLoaderService]:\x20Plugin\x20','44HrrArr','absolute','_selectionProtectionRuleModel','menu','UNIVER_SHEET','some','useRef','UniverDocsUi','close','executeCommand','getSheets','UniverDrawingPlugin','defs','UniverSheetsPlugin','getElementById','call','@univerjs/sheets-conditional-formatting','trim','composePermission','_initContainer','HistorySingle','getConfig','forEach','UniverCore','editHistory.panel.reverting','setLocale','@univerjs-pro/collaboration-client','@univerjs/engine-render','_dialogService','values','_init','UniverSheetsHyperLinkUi','UniverRpc','27499LAsRZm','permissionId','registerCommand','width','_historyManagerService','editHistory.panel.revertFailed','has','univer-container','UniverRenderEnginePlugin','HistoryManagerService','_configService','_initPlugins','UniverIcon','none','xlink:href','top','UniverSheetsDrawingUIPlugin','UniverSheetsDrawing','_sidebarService','@univerjs/drawing-ui','indexOf','className','@univerjs-pro/collaboration','React','UniverSheetSparklinePlugin','UniverSheetsConditionalFormattingPlugin','UniverSheetsNumfmt','unsubscribe','registerPlugin','UniverDrawing','UniverProEditHistoryViewer','Module','_messageService','getUnit','2142995gpfwLC','set','hasOwnProperty','CollaborationStatus','_pluginMap','CommandType','@univerjs-pro/edit-history-viewer','map','createElement','UniverSheetsConditionalFormattingUIPlugin','_historyUniver','4KVHgJW','UniverSheetsUIPlugin','toDisposable','string','UniverSheetsDrawingPlugin','@univerjs/design','editHistory.panel.title','object','_localCacheService','@univerjs-pro/sheets-pivot','closeAll','revertRevision$','univerContainerId','UniverProEditHistoryLoader','history-single','UniverDocsUIPlugin','@univerjs/sheets-numfmt','unMountHistoryContent','M0\x200H16V16H0z','params','length','UNIVER_CONTAINER_ID_KEY','UniverProSheetsSparklineUi','UniverUi','getAllPlugins','_disposableCollection','getCurrentLocale','UniverRPCMainThreadPlugin','RevertRevisionMutation','Injector','getOwnPropertyDescriptor','@univerjs/network','_permissionService','HistoryModeStatus','prototype','13aqizoS','forwardRef','UniverFormulaEnginePlugin','symbol','path','@univerjs-pro/sheets-sparkline-ui','getMenuHiddenObservable','CollaborationController','onStarting','univer-history-container','UniverProSheetsSparkline','@univerjs/ui','disposeWithMe','location','SNAPSHOT_SERVER_URL_KEY','UniverSheets','extend','current','@univerjs/sheets-formula','@univerjs/sheets-drawing','session','ILocalCacheService','IDialogService','state$','position','getCollabEntity','#fff','displayName','attrs','mask','\x20has\x20been\x20registered.','mountHistoryContent','6eZguaS','getLocales','UniverProSheetsPivot','fill','height','Loading','children','UniverCollaborationPlugin','UniverDataValidationPlugin','UniverDataValidation','IMessageService','3194109nNHgYl','@univerjs/data-validation','WorkbookViewHistoryPermission','colorChannel1','UniverSheetsPivotTablePlugin','@univerjs-pro/sheets-sparkline','UniverSheetsHyperLinkPlugin','_config','Error','UniverSheetsHyperLinkUIPlugin','greenTheme','@univerjs/core','history-single_clip0_907_281','BUTTON','_univerInstanceService','RangeProtectionRuleModel','_localeService','1000','UniverSheetsFormulaUIPlugin','@univerjs/sheets-hyper-link','_injector','IUniverInstanceService','add','@univerjs/sheets-filter','use','toStringTag','url(#$1','_revertErrorTimer','_collaborationController','@univerjs/sheets-drawing-ui','_commandService','exports','svg','1em','UniverEngineFormula','pluginName','UniverEditHistoryLoaderPlugin','getOwnPropertySymbols','react','onCommandExecuted','ICommandService','every','@univerjs/engine-formula','UniverNetwork','@univerjs/docs','display','DisposableCollection','IImageIoService','value','RibbonStartGroup','143nBuena','UniverInstanceType','@univerjs/sheets-data-validation-ui','defIds','clipPath','Inject','appendChild','style','entries','replace','IPermissionService','mutations','UniverProCollaborationClient','MessageType','UniverSheetsDrawingUi','UniverSheetsHyperLink','getCurrentRangeDisable$','@univerjs/docs-ui','assign','UniverSheetsFormulaUi','@univerjs/sheets-formula-ui','idSuffix','show','exhaustSavingTask','WorkbookEditablePermission','get','CollaborationEvent','rxjs','288220ePpHKa','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','@univerjs/sheets-hyper-link-ui','div','apply','register','IAuthzIoService','UniverUIPlugin','18032532zjLsIR','left','function','_initUniver','UniverDocsPlugin','@univerjs/sheets-conditional-formatting-ui','amd','UniverProCollaboration','merge','UniverSheetsFormula','279016ODxdrV','type','7891083WmoRFo','IMenuManagerService','_componentManager','getSheetId','UniverDrawingUIPlugin','UniverNetworkPlugin','28QlOTfi','_checkCanRevert','reload','./worker.js','subscribe','setConfig','url(#history-single_clip0_907_281)','UniverSheetSparklineUIPlugin','historyListServerUrl','IConfigService','Univer','propertyIsEnumerable','ComponentManager','from','classList','UniverSheetsFilterUi'];_0x128a=function(){return _0x132bd9;};return _0x128a();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/edit-history-loader",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.6",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "UniverSheet edit history loader",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -47,47 +47,47 @@
|
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@univerjs/icons": "^0.2.21",
|
|
50
|
-
"@univerjs-pro/collaboration": "0.6.
|
|
51
|
-
"@univerjs-pro/edit-history-viewer": "0.6.
|
|
52
|
-
"@univerjs-pro/
|
|
53
|
-
"@univerjs-pro/sheets-
|
|
54
|
-
"@univerjs
|
|
55
|
-
"@univerjs-pro/
|
|
56
|
-
"@univerjs/
|
|
57
|
-
"@univerjs/
|
|
58
|
-
"@univerjs/
|
|
59
|
-
"@univerjs/docs-ui": "0.6.
|
|
60
|
-
"@univerjs/
|
|
61
|
-
"@univerjs/
|
|
62
|
-
"@univerjs/
|
|
63
|
-
"@univerjs/
|
|
64
|
-
"@univerjs/
|
|
65
|
-
"@univerjs/
|
|
66
|
-
"@univerjs/
|
|
67
|
-
"@univerjs/
|
|
68
|
-
"@univerjs/sheets-
|
|
69
|
-
"@univerjs/sheets-
|
|
70
|
-
"@univerjs/sheets-
|
|
71
|
-
"@univerjs/sheets-
|
|
72
|
-
"@univerjs/
|
|
73
|
-
"@univerjs/sheets-
|
|
74
|
-
"@univerjs/sheets-filter": "0.6.
|
|
75
|
-
"@univerjs/sheets-
|
|
76
|
-
"@univerjs/sheets-
|
|
77
|
-
"@univerjs/sheets-
|
|
78
|
-
"@univerjs/sheets-hyper-link": "0.6.
|
|
79
|
-
"@univerjs/sheets-
|
|
80
|
-
"@univerjs/sheets-
|
|
81
|
-
"@univerjs/ui": "0.6.
|
|
82
|
-
"@univerjs/
|
|
50
|
+
"@univerjs-pro/collaboration": "0.6.6",
|
|
51
|
+
"@univerjs-pro/edit-history-viewer": "0.6.6",
|
|
52
|
+
"@univerjs-pro/sheets-pivot": "0.6.6",
|
|
53
|
+
"@univerjs-pro/sheets-sparkline": "0.6.6",
|
|
54
|
+
"@univerjs/core": "0.6.6",
|
|
55
|
+
"@univerjs-pro/collaboration-client": "0.6.6",
|
|
56
|
+
"@univerjs/data-validation": "0.6.6",
|
|
57
|
+
"@univerjs-pro/sheets-sparkline-ui": "0.6.6",
|
|
58
|
+
"@univerjs/design": "0.6.6",
|
|
59
|
+
"@univerjs/docs-ui": "0.6.6",
|
|
60
|
+
"@univerjs/drawing": "0.6.6",
|
|
61
|
+
"@univerjs/drawing-ui": "0.6.6",
|
|
62
|
+
"@univerjs/engine-render": "0.6.6",
|
|
63
|
+
"@univerjs/engine-formula": "0.6.6",
|
|
64
|
+
"@univerjs/network": "0.6.6",
|
|
65
|
+
"@univerjs/sheets": "0.6.6",
|
|
66
|
+
"@univerjs/docs": "0.6.6",
|
|
67
|
+
"@univerjs/rpc": "0.6.6",
|
|
68
|
+
"@univerjs/sheets-conditional-formatting": "0.6.6",
|
|
69
|
+
"@univerjs/sheets-conditional-formatting-ui": "0.6.6",
|
|
70
|
+
"@univerjs/sheets-data-validation": "0.6.6",
|
|
71
|
+
"@univerjs/sheets-drawing": "0.6.6",
|
|
72
|
+
"@univerjs/sheets-data-validation-ui": "0.6.6",
|
|
73
|
+
"@univerjs/sheets-filter": "0.6.6",
|
|
74
|
+
"@univerjs/sheets-filter-ui": "0.6.6",
|
|
75
|
+
"@univerjs/sheets-formula": "0.6.6",
|
|
76
|
+
"@univerjs/sheets-drawing-ui": "0.6.6",
|
|
77
|
+
"@univerjs/sheets-hyper-link": "0.6.6",
|
|
78
|
+
"@univerjs/sheets-hyper-link-ui": "0.6.6",
|
|
79
|
+
"@univerjs/sheets-formula-ui": "0.6.6",
|
|
80
|
+
"@univerjs/sheets-numfmt": "0.6.6",
|
|
81
|
+
"@univerjs/sheets-ui": "0.6.6",
|
|
82
|
+
"@univerjs/ui": "0.6.6"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
85
|
"react": "18.3.1",
|
|
86
86
|
"rxjs": "^7.8.1",
|
|
87
87
|
"typescript": "^5.8.2",
|
|
88
|
-
"vite": "^6.2.
|
|
88
|
+
"vite": "^6.2.1",
|
|
89
89
|
"vitest": "^3.0.8",
|
|
90
|
-
"@univerjs-infra/shared": "0.6.
|
|
90
|
+
"@univerjs-infra/shared": "0.6.6"
|
|
91
91
|
},
|
|
92
92
|
"scripts": {
|
|
93
93
|
"test": "vitest run",
|