@univerjs/preset-sheets-collaboration 0.20.1 → 0.21.0

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/umd/index.js CHANGED
@@ -1,23 +1,23 @@
1
1
  // @univerjs-pro/collaboration-client/index
2
- function _0x50be(_0x17c9b4,_0x10d094){_0x17c9b4=_0x17c9b4-0x182;const _0x4e0e3a=_0x4e0e();let _0x50be3f=_0x4e0e3a[_0x17c9b4];return _0x50be3f;}(function(_0xb06a95,_0x1a1a1a){const _0x3c8876=_0x50be,_0x4fd1c3=_0xb06a95();while(!![]){try{const _0x430759=parseInt(_0x3c8876(0x44c))/0x1+parseInt(_0x3c8876(0x1e3))/0x2*(parseInt(_0x3c8876(0x3fc))/0x3)+parseInt(_0x3c8876(0x3e2))/0x4*(-parseInt(_0x3c8876(0x26f))/0x5)+parseInt(_0x3c8876(0x249))/0x6*(-parseInt(_0x3c8876(0x351))/0x7)+-parseInt(_0x3c8876(0x4f3))/0x8*(-parseInt(_0x3c8876(0x4d9))/0x9)+-parseInt(_0x3c8876(0x314))/0xa+parseInt(_0x3c8876(0x4a1))/0xb;if(_0x430759===_0x1a1a1a)break;else _0x4fd1c3['push'](_0x4fd1c3['shift']());}catch(_0x561db1){_0x4fd1c3['push'](_0x4fd1c3['shift']());}}}(_0x4e0e,0x2c6bf),function(_0x4ab413,_0x492c8e){const _0xe0a257=_0x50be;typeof exports==_0xe0a257(0x240)&&typeof module<'u'?_0x492c8e(exports,require(`@univerjs-pro/collaboration`),require(`@univerjs/core`),require(`@univerjs/docs`),require(`@univerjs/sheets`),require(`rxjs`),require(`@univerjs/telemetry`),require(`rxjs/operators`),require(`@univerjs/network`),require(`@univerjs-pro/license`),require(`@univerjs/drawing`)):typeof define==_0xe0a257(0x329)&&define[_0xe0a257(0x4cf)]?define([_0xe0a257(0x50d),_0xe0a257(0x36b),_0xe0a257(0x296),_0xe0a257(0x32a),'@univerjs/sheets',_0xe0a257(0x265),_0xe0a257(0x501),'rxjs/operators',_0xe0a257(0x404),_0xe0a257(0x23a),_0xe0a257(0x194)],_0x492c8e):(_0x4ab413=typeof globalThis<'u'?globalThis:_0x4ab413||self,_0x492c8e(_0x4ab413[_0xe0a257(0x4f2)]={},_0x4ab413['UniverProCollaboration'],_0x4ab413[_0xe0a257(0x1c6)],_0x4ab413[_0xe0a257(0x320)],_0x4ab413[_0xe0a257(0x31c)],_0x4ab413[_0xe0a257(0x265)],_0x4ab413['UniverTelemetry'],_0x4ab413[_0xe0a257(0x265)][_0xe0a257(0x4af)],_0x4ab413[_0xe0a257(0x4c7)],_0x4ab413[_0xe0a257(0x2c2)],_0x4ab413[_0xe0a257(0x2dc)]));}(this,function(_0x584a9c,_0x4a1cad,_0x4fa1c7,_0x5ed934,_0x376d47,_0x431df8,_0x169a2d,_0x3bb026,_0x4ba8c3,_0x5626bb,_0x332921){const _0x2f9c02=_0x50be;Object[_0x2f9c02(0x2be)](_0x584a9c,Symbol[_0x2f9c02(0x2f1)],{'value':'Module'});var _0x17ee5a=Object[_0x2f9c02(0x34e)],_0x432488=Object[_0x2f9c02(0x2be)],_0x19a276=Object[_0x2f9c02(0x1b2)],_0x368a5e=Object[_0x2f9c02(0x4c1)],_0x2242f7=Object['getPrototypeOf'],_0x1c7131=Object[_0x2f9c02(0x4d0)][_0x2f9c02(0x1fb)],_0x3712b0=(_0xfad4f2,_0x5a5c6f)=>()=>(_0x5a5c6f||_0xfad4f2((_0x5a5c6f={'exports':{}})[_0x2f9c02(0x50d)],_0x5a5c6f),_0x5a5c6f[_0x2f9c02(0x50d)]),_0xeee039=(_0x1d61cb,_0x9f0a68,_0x5413d3,_0x52d77d)=>{const _0x11c533=_0x2f9c02;if(_0x9f0a68&&typeof _0x9f0a68==_0x11c533(0x240)||typeof _0x9f0a68==_0x11c533(0x329)){for(var _0x1e8000=_0x368a5e(_0x9f0a68),_0x5d835f=0x0,_0x2897c4=_0x1e8000[_0x11c533(0x4ca)],_0x3afebe;_0x5d835f<_0x2897c4;_0x5d835f++)_0x3afebe=_0x1e8000[_0x5d835f],!_0x1c7131['call'](_0x1d61cb,_0x3afebe)&&_0x3afebe!==_0x5413d3&&_0x432488(_0x1d61cb,_0x3afebe,{'get':(_0x5f21f7=>_0x9f0a68[_0x5f21f7])[_0x11c533(0x3bd)](null,_0x3afebe),'enumerable':!(_0x52d77d=_0x19a276(_0x9f0a68,_0x3afebe))||_0x52d77d[_0x11c533(0x20a)]});}return _0x1d61cb;},_0x124565=(_0x50e044,_0x201104,_0x5c9455)=>(_0x5c9455=_0x50e044==null?{}:_0x17ee5a(_0x2242f7(_0x50e044)),_0xeee039(_0x201104||!_0x50e044||!_0x50e044[_0x2f9c02(0x48a)]?_0x432488(_0x5c9455,_0x2f9c02(0x491),{'value':_0x50e044,'enumerable':!0x0}):_0x5c9455,_0x50e044));let _0x4b06c5=_0x2f9c02(0x2de),_0x2877b3=0x4e20,_0x59f5dd=function(_0x46dde1){const _0xc64f38=_0x2f9c02;return _0x46dde1[_0x46dde1[_0xc64f38(0x2c8)]=0x0]=_0xc64f38(0x2c8),_0x46dde1[_0x46dde1['OK']=0x1]='OK',_0x46dde1[_0x46dde1[_0xc64f38(0x492)]=0x2]=_0xc64f38(0x492),_0x46dde1[_0x46dde1[_0xc64f38(0x331)]=0x3]=_0xc64f38(0x331),_0x46dde1[_0x46dde1[_0xc64f38(0x4d4)]=0x4]=_0xc64f38(0x4d4),_0x46dde1[_0x46dde1[_0xc64f38(0x3be)]=0x5]=_0xc64f38(0x3be),_0x46dde1[_0x46dde1[_0xc64f38(0x413)]=0x6]=_0xc64f38(0x413),_0x46dde1[_0x46dde1[_0xc64f38(0x42e)]=0x7]=_0xc64f38(0x42e),_0x46dde1[_0x46dde1[_0xc64f38(0x371)]=0x8]='TOO_MANY_REQUESTS',_0x46dde1[_0x46dde1[_0xc64f38(0x23d)]=0x9]=_0xc64f38(0x23d),_0x46dde1[_0x46dde1['LOGIN_FAILED']=0xa]=_0xc64f38(0x277),_0x46dde1[_0x46dde1[_0xc64f38(0x452)]=0xb]=_0xc64f38(0x452),_0x46dde1[_0x46dde1[_0xc64f38(0x311)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x46dde1[_0x46dde1[_0xc64f38(0x1d3)]=0xd]=_0xc64f38(0x1d3),_0x46dde1[_0x46dde1['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0xc64f38(0x195),_0x46dde1[_0x46dde1[_0xc64f38(0x3f3)]=0xf]=_0xc64f38(0x3f3),_0x46dde1[_0x46dde1[_0xc64f38(0x42f)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x46dde1[_0x46dde1[_0xc64f38(0x235)]=0x64]=_0xc64f38(0x235),_0x46dde1[_0x46dde1[_0xc64f38(0x3c8)]=0x65]='ERROR_AGAIN',_0x46dde1[_0x46dde1['USER_NOT_FOUND']=0xc9]=_0xc64f38(0x44d),_0x46dde1[_0x46dde1[_0xc64f38(0x39c)]=0xca]=_0xc64f38(0x39c),_0x46dde1[_0x46dde1[_0xc64f38(0x385)]=0x1389]=_0xc64f38(0x385),_0x46dde1[_0x46dde1['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x46dde1[_0x46dde1[_0xc64f38(0x434)]=0x1772]=_0xc64f38(0x434),_0x46dde1[_0x46dde1[_0xc64f38(0x2ac)]=0x1773]=_0xc64f38(0x2ac),_0x46dde1[_0x46dde1[_0xc64f38(0x4d5)]=0x1b59]=_0xc64f38(0x4d5),_0x46dde1[_0x46dde1[_0xc64f38(0x37b)]=0x1b5a]=_0xc64f38(0x37b),_0x46dde1[_0x46dde1[_0xc64f38(0x190)]=0x1b5b]=_0xc64f38(0x190),_0x46dde1[_0x46dde1[_0xc64f38(0x245)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x46dde1[_0x46dde1['APPLY_DUPLICATED']=0x1b5d]=_0xc64f38(0x2ff),_0x46dde1[_0x46dde1['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x46dde1[_0x46dde1['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0xc64f38(0x4e3),_0x46dde1[_0x46dde1[_0xc64f38(0x198)]=0x232a]=_0xc64f38(0x198),_0x46dde1[_0x46dde1[_0xc64f38(0x25d)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x46dde1[_0x46dde1[_0xc64f38(0x402)]=0x232c]=_0xc64f38(0x402),_0x46dde1[_0x46dde1[_0xc64f38(0x2b8)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x46dde1[_0x46dde1['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xc64f38(0x4f8),_0x46dde1[_0x46dde1[_0xc64f38(0x224)]=0x2712]=_0xc64f38(0x224),_0x46dde1[_0x46dde1[_0xc64f38(0x238)]=0x2713]=_0xc64f38(0x238),_0x46dde1[_0x46dde1[_0xc64f38(0x30a)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x46dde1[_0x46dde1[_0xc64f38(0x498)]=0x271a]=_0xc64f38(0x498),_0x46dde1[_0x46dde1['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0xc64f38(0x4c4),_0x46dde1[_0x46dde1['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0xc64f38(0x2e1),_0x46dde1[_0x46dde1[_0xc64f38(0x2fa)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x46dde1[_0x46dde1[_0xc64f38(0x363)]=0x271e]=_0xc64f38(0x363),_0x46dde1[_0x46dde1[_0xc64f38(0x4a2)]=0x271f]=_0xc64f38(0x4a2),_0x46dde1[_0x46dde1[_0xc64f38(0x422)]=0x2720]=_0xc64f38(0x422),_0x46dde1[_0x46dde1[_0xc64f38(0x228)]=0x2af9]=_0xc64f38(0x228),_0x46dde1[_0x46dde1[_0xc64f38(0x49b)]=0x2ee1]=_0xc64f38(0x49b),_0x46dde1[_0x46dde1[_0xc64f38(0x287)]=0x2ee2]=_0xc64f38(0x287),_0x46dde1[_0x46dde1[_0xc64f38(0x1dd)]=0x2ee3]=_0xc64f38(0x1dd),_0x46dde1[_0x46dde1[_0xc64f38(0x3ea)]=0x2ee4]=_0xc64f38(0x3ea),_0x46dde1[_0x46dde1['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0xc64f38(0x532),_0x46dde1[_0x46dde1[_0xc64f38(0x1a2)]=0x32c9]=_0xc64f38(0x1a2),_0x46dde1[_0x46dde1[_0xc64f38(0x48c)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x46dde1[_0x46dde1[_0xc64f38(0x2a6)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x46dde1[_0x46dde1[_0xc64f38(0x4bc)]=0x36b1]=_0xc64f38(0x4bc),_0x46dde1[_0x46dde1['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0xc64f38(0x276),_0x46dde1[_0x46dde1[_0xc64f38(0x40b)]=0x36b3]=_0xc64f38(0x40b),_0x46dde1[_0x46dde1[_0xc64f38(0x18f)]=0x36b4]=_0xc64f38(0x18f),_0x46dde1[_0x46dde1[_0xc64f38(0x392)]=0x36b5]=_0xc64f38(0x392),_0x46dde1[_0x46dde1[_0xc64f38(0x3cd)]=0x36b6]=_0xc64f38(0x3cd),_0x46dde1[_0x46dde1[_0xc64f38(0x34f)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x46dde1[_0x46dde1[_0xc64f38(0x47b)]=0x36b8]=_0xc64f38(0x47b),_0x46dde1[_0x46dde1[_0xc64f38(0x4f7)]=0x3715]=_0xc64f38(0x4f7),_0x46dde1[_0x46dde1[_0xc64f38(0x214)]=0x3716]=_0xc64f38(0x214),_0x46dde1[_0x46dde1[_0xc64f38(0x4db)]=0x3717]=_0xc64f38(0x4db),_0x46dde1[_0x46dde1[_0xc64f38(0x44b)]=0x37dd]=_0xc64f38(0x44b),_0x46dde1[_0x46dde1[_0xc64f38(0x4f9)]=0x3a99]=_0xc64f38(0x4f9),_0x46dde1[_0x46dde1[_0xc64f38(0x261)]=0x3a9a]=_0xc64f38(0x261),_0x46dde1[_0x46dde1[_0xc64f38(0x399)]=0x3a9b]=_0xc64f38(0x399),_0x46dde1[_0x46dde1[_0xc64f38(0x244)]=0x3a9c]=_0xc64f38(0x244),_0x46dde1[_0x46dde1[_0xc64f38(0x233)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x46dde1[_0x46dde1[_0xc64f38(0x24a)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x46dde1[_0x46dde1[_0xc64f38(0x3ef)]=0x3a9f]=_0xc64f38(0x3ef),_0x46dde1[_0x46dde1[_0xc64f38(0x312)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x46dde1[_0x46dde1['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x46dde1;}({}),_0x139b11=function(_0x30126a){const _0x5cee85=_0x2f9c02;return _0x30126a[_0x30126a[_0x5cee85(0x3b7)]=0x0]=_0x5cee85(0x3b7),_0x30126a[_0x30126a['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x30126a[_0x30126a[_0x5cee85(0x528)]=0x2]='UNIVER_SHEET',_0x30126a[_0x30126a[_0x5cee85(0x30e)]=0x3]=_0x5cee85(0x30e),_0x30126a[_0x30126a[_0x5cee85(0x22b)]=0x4]=_0x5cee85(0x22b),_0x30126a[_0x30126a[_0x5cee85(0x3b4)]=-0x1]=_0x5cee85(0x3b4),_0x30126a;}({}),_0x35b3d8=function(_0x361f6f){const _0x224f13=_0x2f9c02;return _0x361f6f[_0x361f6f[_0x224f13(0x199)]=0x0]=_0x224f13(0x199),_0x361f6f[_0x361f6f[_0x224f13(0x489)]=0x1]=_0x224f13(0x489),_0x361f6f[_0x361f6f[_0x224f13(0x4ec)]=0x2]=_0x224f13(0x4ec),_0x361f6f[_0x361f6f['LEAVE']=0x3]=_0x224f13(0x221),_0x361f6f[_0x361f6f['INGEST']=0x4]=_0x224f13(0x316),_0x361f6f[_0x361f6f[_0x224f13(0x4d1)]=0x5]=_0x224f13(0x4d1),_0x361f6f[_0x361f6f['RECV']=0x6]='RECV',_0x361f6f[_0x361f6f[_0x224f13(0x3b4)]=-0x1]='UNRECOGNIZED',_0x361f6f;}({}),_0x2a47fe=function(_0x33332f){const _0x41822f=_0x2f9c02;return _0x33332f[_0x33332f[_0x41822f(0x45c)]=0x0]=_0x41822f(0x45c),_0x33332f[_0x33332f['OK']=0x1]='OK',_0x33332f[_0x33332f[_0x41822f(0x50f)]=0x2]=_0x41822f(0x50f),_0x33332f[_0x33332f['JOIN_ROOM_FULL']=0x3e9]=_0x41822f(0x33b),_0x33332f[_0x33332f[_0x41822f(0x45a)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x33332f[_0x33332f[_0x41822f(0x34a)]=0x3eb]=_0x41822f(0x34a),_0x33332f[_0x33332f[_0x41822f(0x41c)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x33332f[_0x33332f[_0x41822f(0x3b4)]=-0x1]=_0x41822f(0x3b4),_0x33332f;}({}),_0x472134=function(_0x7ff2e0){const _0x556b14=_0x2f9c02;return _0x7ff2e0[_0x7ff2e0['Undefined']=0x0]='Undefined',_0x7ff2e0[_0x7ff2e0[_0x556b14(0x3c1)]=0x1]=_0x556b14(0x3c1),_0x7ff2e0[_0x7ff2e0[_0x556b14(0x1ff)]=0x2]=_0x556b14(0x1ff),_0x7ff2e0[_0x7ff2e0['UnitEmbedded']=0x3]=_0x556b14(0x35b),_0x7ff2e0[_0x7ff2e0['UnitSnapshot']=0x4]='UnitSnapshot',_0x7ff2e0[_0x7ff2e0['UserProfileImg']=0x5]=_0x556b14(0x3e3),_0x7ff2e0[_0x7ff2e0['ClipsheetFragments']=0x6]=_0x556b14(0x357),_0x7ff2e0[_0x7ff2e0[_0x556b14(0x4f1)]=0x7]=_0x556b14(0x4f1),_0x7ff2e0[_0x7ff2e0['UNRECOGNIZED']=-0x1]=_0x556b14(0x3b4),_0x7ff2e0;}({});function _0x3e97de(_0x56d714){const _0x2bb868=_0x2f9c02;return JSON[_0x2bb868(0x38a)](_0x56d714)[_0x2bb868(0x4ca)];}function _0x27cf47(_0x5cbeff){'@babel/helpers - typeof';const _0x3704ad=_0x2f9c02;return _0x27cf47=typeof Symbol==_0x3704ad(0x329)&&typeof Symbol[_0x3704ad(0x227)]=='symbol'?function(_0x5dc005){return typeof _0x5dc005;}:function(_0x54cd9b){const _0x153de3=_0x3704ad;return _0x54cd9b&&typeof Symbol=='function'&&_0x54cd9b['constructor']===Symbol&&_0x54cd9b!==Symbol[_0x153de3(0x4d0)]?'symbol':typeof _0x54cd9b;},_0x27cf47(_0x5cbeff);}function _0x116391(_0x5495c2,_0x2f96c1){const _0x28e095=_0x2f9c02;if(_0x27cf47(_0x5495c2)!=_0x28e095(0x240)||!_0x5495c2)return _0x5495c2;var _0x5ada2e=_0x5495c2[Symbol[_0x28e095(0x2a0)]];if(_0x5ada2e!==void 0x0){var _0x36c85c=_0x5ada2e[_0x28e095(0x18a)](_0x5495c2,_0x2f96c1||_0x28e095(0x491));if(_0x27cf47(_0x36c85c)!=_0x28e095(0x240))return _0x36c85c;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x2f96c1===_0x28e095(0x3c0)?String:Number)(_0x5495c2);}function _0xe160c6(_0x58ec47){const _0x9122cf=_0x2f9c02;var _0x55e14a=_0x116391(_0x58ec47,_0x9122cf(0x3c0));return _0x27cf47(_0x55e14a)==_0x9122cf(0x4c5)?_0x55e14a:_0x55e14a+'';}function _0x17e69d(_0x34f5e4,_0x4b51cc,_0x3c88b2){const _0x4ad25e=_0x2f9c02;return(_0x4b51cc=_0xe160c6(_0x4b51cc))in _0x34f5e4?Object[_0x4ad25e(0x2be)](_0x34f5e4,_0x4b51cc,{'value':_0x3c88b2,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x34f5e4[_0x4b51cc]=_0x3c88b2,_0x34f5e4;}let _0x1ef886=function(_0x498390){const _0x15c0a9=_0x2f9c02;return _0x498390[_0x15c0a9(0x202)]=_0x15c0a9(0x202),_0x498390[_0x15c0a9(0x331)]=_0x15c0a9(0x331),_0x498390['CONFLICT']=_0x15c0a9(0x4da),_0x498390[_0x15c0a9(0x52e)]='CLOSE_ROOM',_0x498390['JOIN_ROOM_FAILED']=_0x15c0a9(0x186),_0x498390[_0x15c0a9(0x2d4)]=_0x15c0a9(0x2d4),_0x498390[_0x15c0a9(0x4c9)]=_0x15c0a9(0x4c9),_0x498390['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x498390;}({});var _0x1619bd=class{constructor(){const _0x1623d9=_0x2f9c02;_0x17e69d(this,'_event$',new _0x431df8[(_0x1623d9(0x43c))]()),_0x17e69d(this,_0x1623d9(0x466),this[_0x1623d9(0x41d)][_0x1623d9(0x3a3)]());}[_0x2f9c02(0x2e5)](_0x2fb7c6){this['_event$']['next'](_0x2fb7c6);}},_0x4b7f70=class{constructor(){const _0x17e807=_0x2f9c02;_0x17e69d(this,_0x17e807(0x383),new _0x431df8[(_0x17e807(0x43c))]()),_0x17e69d(this,_0x17e807(0x339),this['_commentUpdate$'][_0x17e807(0x3a3)]());}['onCommentUpdate'](_0x4ee506){const _0x35a9e1=_0x2f9c02;this[_0x35a9e1(0x383)][_0x35a9e1(0x4d6)](_0x4ee506);}};function _0x4bc410(_0xc9e99,_0x4ba9a7){return function(_0x52e7d9,_0x2c7506){_0x4ba9a7(_0x52e7d9,_0x2c7506,_0xc9e99);};}function _0x230514(_0x20e5dc,_0x4d3e91,_0x31e4bf,_0x1583a9){const _0x49a880=_0x2f9c02;var _0x2358c8=arguments['length'],_0x1c0b62=_0x2358c8<0x3?_0x4d3e91:_0x1583a9===null?_0x1583a9=Object[_0x49a880(0x1b2)](_0x4d3e91,_0x31e4bf):_0x1583a9,_0x33b8f1;if(typeof Reflect=='object'&&typeof Reflect[_0x49a880(0x242)]==_0x49a880(0x329))_0x1c0b62=Reflect[_0x49a880(0x242)](_0x20e5dc,_0x4d3e91,_0x31e4bf,_0x1583a9);else{for(var _0x3c3ce3=_0x20e5dc[_0x49a880(0x4ca)]-0x1;_0x3c3ce3>=0x0;_0x3c3ce3--)(_0x33b8f1=_0x20e5dc[_0x3c3ce3])&&(_0x1c0b62=(_0x2358c8<0x3?_0x33b8f1(_0x1c0b62):_0x2358c8>0x3?_0x33b8f1(_0x4d3e91,_0x31e4bf,_0x1c0b62):_0x33b8f1(_0x4d3e91,_0x31e4bf))||_0x1c0b62);}return _0x2358c8>0x3&&_0x1c0b62&&Object['defineProperty'](_0x4d3e91,_0x31e4bf,_0x1c0b62),_0x1c0b62;}let _0xd0b104=class extends _0x4fa1c7[_0x2f9c02(0x406)]{constructor(_0x3595d6,_0x5947fa){const _0x21675d=_0x2f9c02;super(),this[_0x21675d(0x450)]=_0x3595d6,this[_0x21675d(0x2ba)]=_0x5947fa,_0x17e69d(this,_0x21675d(0x3f7),new Map()),_0x17e69d(this,_0x21675d(0x216),new _0x431df8['Subject']()),this['disposeWithMe']((0x0,_0x431df8[_0x21675d(0x1fd)])(this[_0x21675d(0x450)][_0x21675d(0x288)](_0x4fa1c7[_0x21675d(0x319)][_0x21675d(0x528)])[_0x21675d(0x2a4)]((0x0,_0x3bb026[_0x21675d(0x1e4)])(_0x1565e5=>_0x1565e5['getUnitId']())),this['_univerInstanceService'][_0x21675d(0x288)](_0x4fa1c7[_0x21675d(0x319)][_0x21675d(0x1c3)])[_0x21675d(0x2a4)]((0x0,_0x3bb026[_0x21675d(0x1e4)])(_0x73e886=>_0x73e886['getUnitId']())),this[_0x21675d(0x450)]['getTypeOfUnitDisposed$'](_0x4fa1c7['UniverInstanceType']['UNIVER_SLIDE'])[_0x21675d(0x2a4)]((0x0,_0x3bb026[_0x21675d(0x1e4)])(_0x98371e=>_0x98371e[_0x21675d(0x34d)]())))[_0x21675d(0x47f)](_0x214a40=>this[_0x21675d(0x523)](_0x214a40)));}['waitForRoom$'](_0x1dd4f5){const _0x3c46d2=_0x2f9c02;return this[_0x3c46d2(0x3f7)][_0x3c46d2(0x3d0)](_0x1dd4f5)?(0x0,_0x431df8['of'])(this[_0x3c46d2(0x3f7)][_0x3c46d2(0x1df)](_0x1dd4f5)):this[_0x3c46d2(0x216)][_0x3c46d2(0x2a4)]((0x0,_0x3bb026[_0x3c46d2(0x1e4)])(_0x3a333c=>{const _0x115d70=_0x3c46d2;if(_0x3a333c===_0x1dd4f5)return this[_0x115d70(0x3f7)]['get'](_0x3a333c);}));}[_0x2f9c02(0x1d5)](_0xff71ea){const _0x344d28=_0x2f9c02;this[_0x344d28(0x2ba)]['setCurrentUser'](_0xff71ea);}[_0x2f9c02(0x4b3)](){const _0x22da9b=_0x2f9c02;return this[_0x22da9b(0x2ba)][_0x22da9b(0x4b3)]();}[_0x2f9c02(0x20e)](_0x18e806,_0x305d11){const _0x12edda=_0x2f9c02;let _0x2a4070=this[_0x12edda(0x3f7)][_0x12edda(0x1df)](_0x18e806);_0x2a4070||(_0x2a4070=new _0x3739da(),this[_0x12edda(0x3f7)][_0x12edda(0x2c0)](_0x18e806,_0x2a4070),this[_0x12edda(0x216)]['next'](_0x18e806)),_0x2a4070['updateMember'](_0x305d11);}[_0x2f9c02(0x3d1)](_0x4c67cf,_0x4f970e){const _0x11c708=_0x2f9c02;let _0x392cff=this['_roomMembers'][_0x11c708(0x1df)](_0x4c67cf);_0x392cff&&_0x392cff[_0x11c708(0x3d1)](_0x4f970e);}[_0x2f9c02(0x1e1)](_0x20b9bf){const _0x264658=_0x2f9c02;return this[_0x264658(0x3f7)][_0x264658(0x1df)](_0x20b9bf);}[_0x2f9c02(0x47a)](_0x189530,_0xe81071){const _0x9ae67c=_0x2f9c02;let _0x30ef0c=this[_0x9ae67c(0x3f7)][_0x9ae67c(0x1df)](_0x189530);if(_0x30ef0c)return _0x30ef0c[_0x9ae67c(0x47a)](_0xe81071);}[_0x2f9c02(0x523)](_0x34d480){const _0x2e6d2c=_0x2f9c02;let _0x5db25d=this[_0x2e6d2c(0x3f7)][_0x2e6d2c(0x1df)](_0x34d480);_0x5db25d&&(_0x5db25d[_0x2e6d2c(0x4a5)](),this[_0x2e6d2c(0x3f7)]['delete'](_0x34d480));}['dispose'](){const _0x115472=_0x2f9c02;this[_0x115472(0x3f7)][_0x115472(0x401)](_0x58ecf0=>_0x58ecf0[_0x115472(0x4a5)]()),this[_0x115472(0x3f7)]['clear'](),this[_0x115472(0x216)]['complete']();}};_0xd0b104=_0x230514([_0x4bc410(0x0,_0x4fa1c7[_0x2f9c02(0x1fc)]),_0x4bc410(0x1,(0x0,_0x4fa1c7['Inject'])(_0x4fa1c7[_0x2f9c02(0x47e)]))],_0xd0b104);var _0x3739da=class extends _0x4fa1c7[_0x2f9c02(0x406)]{constructor(..._0x10a084){const _0x288051=_0x2f9c02;super(..._0x10a084),_0x17e69d(this,'_members',new Map()),_0x17e69d(this,_0x288051(0x4ab),new _0x431df8[(_0x288051(0x346))](this['_members'])),_0x17e69d(this,_0x288051(0x393),this[_0x288051(0x4ab)][_0x288051(0x3a3)]());}[_0x2f9c02(0x4a5)](){const _0x5ad497=_0x2f9c02;this[_0x5ad497(0x32b)][_0x5ad497(0x2a2)]();}[_0x2f9c02(0x20e)](_0x578339){const _0x224012=_0x2f9c02;this[_0x224012(0x32b)]['set'](_0x578339[_0x224012(0x33c)],_0x578339),this['_emitMembers']();}[_0x2f9c02(0x3d1)](_0xdc5f56){const _0x403a3b=_0x2f9c02;this[_0x403a3b(0x32b)][_0x403a3b(0x2dd)](_0xdc5f56);}['getMember'](_0x1ad9aa){const _0x44284d=_0x2f9c02;return this[_0x44284d(0x32b)][_0x44284d(0x1df)](_0x1ad9aa);}[_0x2f9c02(0x21b)](){const _0x5c7cbb=_0x2f9c02;return Array[_0x5c7cbb(0x28e)](this['_members'][_0x5c7cbb(0x32e)]());}[_0x2f9c02(0x334)](){const _0x169872=_0x2f9c02;this['_members$'][_0x169872(0x4d6)](this[_0x169872(0x32b)]);}};let _0x1b3cf0=function(_0xb90ae2){const _0x4a13ce=_0x2f9c02;return _0xb90ae2[_0xb90ae2[_0x4a13ce(0x343)]=0x0]=_0x4a13ce(0x343),_0xb90ae2[_0xb90ae2[_0x4a13ce(0x236)]=0x1]=_0x4a13ce(0x236),_0xb90ae2[_0xb90ae2[_0x4a13ce(0x1d0)]=0x2]=_0x4a13ce(0x1d0),_0xb90ae2[_0xb90ae2[_0x4a13ce(0x1c7)]=0x3]='ONLINE',_0xb90ae2;}({}),_0x5f07ca={[_0x2a47fe['FAIL']]:_0x2f9c02(0x2ed),[_0x2a47fe[_0x2f9c02(0x33b)]]:_0x2f9c02(0x26d),[_0x2a47fe[_0x2f9c02(0x45a)]]:_0x2f9c02(0x458),[_0x2a47fe[_0x2f9c02(0x34a)]]:_0x2f9c02(0x445),[_0x2a47fe['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'},_0x49ff16=class extends _0x4fa1c7[_0x2f9c02(0x1bb)]{get[_0x2f9c02(0x4be)](){const _0x52ba67=_0x2f9c02;return this[_0x52ba67(0x1d7)]['getValue']();}constructor(_0x432878,_0xdc4051,_0x5a91c0,_0x20b74c,_0x342838,_0x3e7cf9,_0x225f48,_0x29562a){const _0x4bda69=_0x2f9c02;super(),this[_0x4bda69(0x210)]=_0x432878,this[_0x4bda69(0x22c)]=_0x5a91c0,this[_0x4bda69(0x280)]=_0x20b74c,this[_0x4bda69(0x4c8)]=_0x342838,this[_0x4bda69(0x4f4)]=_0x3e7cf9,this[_0x4bda69(0x298)]=_0x225f48,this[_0x4bda69(0x487)]=_0x29562a,_0x17e69d(this,_0x4bda69(0x1d7),new _0x431df8[(_0x4bda69(0x346))](_0x1b3cf0[_0x4bda69(0x343)])),_0x17e69d(this,_0x4bda69(0x424),this[_0x4bda69(0x1d7)][_0x4bda69(0x3a3)]()),_0x17e69d(this,'_event$',new _0x431df8[(_0x4bda69(0x43c))]()),_0x17e69d(this,_0x4bda69(0x466),this[_0x4bda69(0x41d)][_0x4bda69(0x3a3)]()),_0x17e69d(this,_0x4bda69(0x271),void 0x0),_0x17e69d(this,_0x4bda69(0x377),void 0x0),_0x17e69d(this,_0x4bda69(0x192),void 0x0),_0x17e69d(this,_0x4bda69(0x2f7),!0x1),_0x17e69d(this,_0x4bda69(0x3cc),null),this['_shouldReportTelemetry']=!!this[_0x4bda69(0x487)],_0xdc4051[_0x4bda69(0x2a4)]((0x0,_0x431df8[_0x4bda69(0x182)])(this[_0x4bda69(0x26e)]))[_0x4bda69(0x47f)](_0x4af80a=>{const _0x52d27d=_0x4bda69;if(_0x4af80a!==void 0x0){if(this[_0x52d27d(0x271)]=_0x4af80a,_0x4af80a)this[_0x52d27d(0x317)](_0x4af80a),this[_0x52d27d(0x377)]=_0x4af80a[_0x52d27d(0x32f)][_0x52d27d(0x47f)](_0x459bb4=>{const _0xefa845=_0x52d27d;_0x459bb4[_0xefa845(0x20d)]===this[_0xefa845(0x210)]&&this[_0xefa845(0x50e)](_0x459bb4);});else{var _0x41c0e5;this[_0x52d27d(0x49d)](),this[_0x52d27d(0x1d7)][_0x52d27d(0x4d6)](_0x1b3cf0['OFFLINE']),(_0x41c0e5=this[_0x52d27d(0x377)])==null||_0x41c0e5[_0x52d27d(0x48e)](),this[_0x52d27d(0x377)]=null;}}});}[_0x2f9c02(0x1cf)](){const _0x231600=_0x2f9c02;var _0x5e0510,_0x46028e;return(_0x5e0510=(_0x46028e=this[_0x231600(0x271)])==null?void 0x0:_0x46028e['memberID'])==null?null:_0x5e0510;}['dispose'](){const _0x16de3d=_0x2f9c02;super[_0x16de3d(0x4a5)](),this['close'](),this[_0x16de3d(0x26e)]['next'](),this[_0x16de3d(0x26e)]['complete']();}[_0x2f9c02(0x33d)](){const _0x3d9da5=_0x2f9c02;var _0x23548f,_0xd31fea;this[_0x3d9da5(0x49d)](),(_0x23548f=this[_0x3d9da5(0x271)])==null||_0x23548f['send']({'cmd':_0x35b3d8[_0x3d9da5(0x221)],'data':{'roomID':this[_0x3d9da5(0x210)]}}),(_0xd31fea=this['_socket'])==null||_0xd31fea[_0x3d9da5(0x33d)](),this['_event$'][_0x3d9da5(0x2a3)](),this[_0x3d9da5(0x1d7)][_0x3d9da5(0x2a3)]();}['_onCombEvent'](_0x40ee94){const _0x467ac8=_0x2f9c02;_0x40ee94[_0x467ac8(0x1da)]===_0x35b3d8[_0x467ac8(0x4ec)]?this['_onJoinRoomEvent'](_0x40ee94):_0x40ee94[_0x467ac8(0x1da)]===_0x35b3d8[_0x467ac8(0x437)]&&this['_onRecvEvent'](_0x40ee94);}[_0x2f9c02(0x317)](_0x1a6fec){const _0x26a5be=_0x2f9c02;this['_sessionStatus$'][_0x26a5be(0x4d6)](_0x1b3cf0['JOINING']),_0x1a6fec[_0x26a5be(0x419)]({'cmd':_0x35b3d8['JOIN'],'routeKey':this[_0x26a5be(0x210)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x2f9c02(0x381)](_0x42e186){const _0x5a4234=_0x2f9c02;var _0x193944;if(_0x42e186['code']in _0x5f07ca){this[_0x5a4234(0x298)][_0x5a4234(0x2e5)]({'id':_0x1ef886[_0x5a4234(0x186)],'data':_0x5f07ca[_0x42e186[_0x5a4234(0x1f7)]]}),this['_sessionStatus$']['next'](_0x1b3cf0[_0x5a4234(0x1d0)]);return;}this[_0x5a4234(0x1d7)][_0x5a4234(0x4d6)](_0x1b3cf0['ONLINE']);let _0x5f26d0=(_0x193944=_0x42e186[_0x5a4234(0x275)][_0x5a4234(0x20c)][this[_0x5a4234(0x210)]])==null?void 0x0:_0x193944['members'];_0x5f26d0&&_0x5f26d0['forEach'](_0x3a9fcc=>this[_0x5a4234(0x4c8)][_0x5a4234(0x20e)](this[_0x5a4234(0x210)],_0x3a9fcc));}[_0x2f9c02(0x1a7)](_0x34b2c1){const _0x4bd7df=_0x2f9c02;try{let _0x4e924f=_0x34b2c1['data'];switch(_0x4e924f[_0x4bd7df(0x509)]){case _0x4a1cad[_0x4bd7df(0x31f)][_0x4bd7df(0x511)]:this[_0x4bd7df(0x22f)](_0x4e924f),this[_0x4bd7df(0x41d)]['next'](_0x4e924f);break;case _0x4a1cad[_0x4bd7df(0x31f)]['USERS_LEAVE']:this[_0x4bd7df(0x254)](_0x4e924f),this[_0x4bd7df(0x41d)][_0x4bd7df(0x4d6)](_0x4e924f);break;case _0x4a1cad[_0x4bd7df(0x31f)][_0x4bd7df(0x2e3)]:case _0x4a1cad[_0x4bd7df(0x31f)][_0x4bd7df(0x514)]:this[_0x4bd7df(0x2f2)](),this[_0x4bd7df(0x27a)](),this['_event$']['next'](_0x4e924f);break;case _0x4a1cad[_0x4bd7df(0x31f)][_0x4bd7df(0x3eb)]:this[_0x4bd7df(0x22c)][_0x4bd7df(0x2c3)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x4e924f)),this[_0x4bd7df(0x41d)][_0x4bd7df(0x4d6)](_0x4e924f);break;case _0x4a1cad[_0x4bd7df(0x31f)]['COMMENT_UPDATE']:this[_0x4bd7df(0x4f4)][_0x4bd7df(0x3a9)](_0x4e924f['data']),this[_0x4bd7df(0x41d)][_0x4bd7df(0x4d6)](_0x4e924f);break;default:this['_event$']['next'](_0x4e924f);}}catch(_0x43b394){this[_0x4bd7df(0x22c)]['error'](_0x43b394,_0x34b2c1);}}[_0x2f9c02(0x22f)](_0x30bb05){const _0x4e446c=_0x2f9c02;this[_0x4e446c(0x4c8)][_0x4e446c(0x20e)](this[_0x4e446c(0x210)],_0x30bb05[_0x4e446c(0x275)]);}[_0x2f9c02(0x254)](_0x44d33e){const _0x5ea8a2=_0x2f9c02;this[_0x5ea8a2(0x4c8)][_0x5ea8a2(0x3d1)](this[_0x5ea8a2(0x210)],_0x44d33e[_0x5ea8a2(0x275)][_0x5ea8a2(0x33c)]);}async[_0x2f9c02(0x419)](_0x2c58cd,_0x28e8d3){const _0x52a17f=_0x2f9c02;if(this[_0x52a17f(0x4be)]!==_0x1b3cf0[_0x52a17f(0x1c7)]||!this[_0x52a17f(0x271)])throw Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x2c58cd['eventID']===_0x4a1cad['CollaborationEvent'][_0x52a17f(0x3a5)]&&(this[_0x52a17f(0x2e9)](),this[_0x52a17f(0x463)](_0x2c58cd)),this[_0x52a17f(0x271)][_0x52a17f(0x419)]({'cmd':_0x35b3d8[_0x52a17f(0x316)],'routeKey':_0x28e8d3,'routeType':'','data':_0x2c58cd});}catch(_0x45b11b){this['_logService'][_0x52a17f(0x2c3)](_0x45b11b);}}[_0x2f9c02(0x2e9)](){const _0xa83f1f=_0x2f9c02;var _0xb2881f;this[_0xa83f1f(0x192)]=setTimeout(()=>{const _0x54fe0a=_0xa83f1f;this['_collaborationTimeoutTimer']=null,this[_0x54fe0a(0x298)][_0x54fe0a(0x2e5)]({'id':_0x1ef886['SUBMIT_CHANGESET_TIMEOUT']});},(_0xb2881f=this[_0xa83f1f(0x280)][_0xa83f1f(0x21e)](_0xa83f1f(0x23e)))==null?_0x2877b3:_0xb2881f);}['_clearCollaborationTimeoutTimer'](){const _0x38d91e=_0x2f9c02;this[_0x38d91e(0x192)]&&(clearTimeout(this[_0x38d91e(0x192)]),this[_0x38d91e(0x192)]=null);}[_0x2f9c02(0x463)](_0x34d84b){const _0x5aeae4=_0x2f9c02;if(!this['_shouldReportTelemetry'])return;let {data:_0x1505d2}=_0x34d84b,{unitID:_0x33de47,changeset:_0x4f2ba3}=_0x1505d2,{mutations:_0x591095,type:_0x107bb2}=_0x4f2ba3;this[_0x5aeae4(0x3cc)]={'unitId':_0x33de47,'type':_0x107bb2,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x3e97de(_0x591095)};}[_0x2f9c02(0x2f2)](){const _0x25df04=_0x2f9c02;if(this[_0x25df04(0x2f7)]){if(!this[_0x25df04(0x3cc)]){this[_0x25df04(0x22c)][_0x25df04(0x2c3)]('[CollaborationSession]',_0x25df04(0x3f1));return;}this[_0x25df04(0x3cc)][_0x25df04(0x2d5)]=performance[_0x25df04(0x43f)](),this[_0x25df04(0x3cc)][_0x25df04(0x1c2)]=this[_0x25df04(0x3cc)]['stopTime']-this['_telemetryInfo'][_0x25df04(0x1f1)],this[_0x25df04(0x487)][_0x25df04(0x435)]('collaboration_new_changeset',this[_0x25df04(0x3cc)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};_0x49ff16=_0x230514([_0x4bc410(0x2,_0x4fa1c7['ILogService']),_0x4bc410(0x3,_0x4fa1c7['IConfigService']),_0x4bc410(0x4,(0x0,_0x4fa1c7['Inject'])(_0xd0b104)),_0x4bc410(0x5,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4b7f70)),_0x4bc410(0x6,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x1619bd)),_0x4bc410(0x7,(0x0,_0x4fa1c7[_0x2f9c02(0x476)])(_0x169a2d[_0x2f9c02(0x440)]))],_0x49ff16);let _0x259e4f=(0x0,_0x4fa1c7[_0x2f9c02(0x41b)])(_0x2f9c02(0x3dd));function _0x1eedb3(_0x36d2b6){return'unit-cache-'+_0x36d2b6;}function _0x4d1d57(_0x429bd5){const _0x1b1146=_0x2f9c02;let {unitID:_0x1b5506,mutations:_0x5050a5}=_0x429bd5;return{'unitId':_0x1b5506,'subUnitId':_0x5050a5[_0x1b1146(0x4ca)]>0x0?_0x5050a5[0x0][_0x1b1146(0x433)][_0x1b1146(0x459)]:null};}let _0x1de656=class{constructor(_0x31bc24,_0x559d59,_0x463615){const _0x3b7e0e=_0x2f9c02;this['_injector']=_0x31bc24,this[_0x3b7e0e(0x1d2)]=_0x559d59,this[_0x3b7e0e(0x420)]=_0x463615;}['transformSelections'](_0x3fd204){const _0x124166=_0x2f9c02;var _0x3f4c40,_0x2aaecc;let _0xa300ba=this[_0x124166(0x427)]['get'](_0x376d47[_0x124166(0x2e6)]),{unitId:_0x305a3a,subUnitId:_0x8d8283}=_0x4d1d57(_0x3fd204),_0x457b92=_0xa300ba==null?void 0x0:_0xa300ba[_0x124166(0x185)](_0x305a3a)[_0x124166(0x426)](),_0x28657e=(_0x3f4c40=this[_0x124166(0x420)][_0x124166(0x4cc)](_0x305a3a))==null||(_0x3f4c40=_0x3f4c40[_0x124166(0x4fd)]())==null?void 0x0:_0x3f4c40[_0x124166(0x4e8)]();if(_0x457b92[_0x124166(0x4ca)]===0x0||!_0x305a3a||!_0x8d8283)return;let _0x4e0d1f=[{'id':_0x376d47['SetSelectionsOperation']['id'],'params':{'unitId':_0x305a3a,'subUnitId':_0x28657e,'selections':_0x4fa1c7[_0x124166(0x29b)][_0x124166(0x376)](_0x457b92)}}],_0x39311f=this['_transformService'][_0x124166(0x3f8)](_0x3fd204,_0x4e0d1f);if(!(0x0,_0x4a1cad[_0x124166(0x502)])(_0x39311f))throw _0x39311f[_0x124166(0x2c3)];let _0x57b679=(_0x2aaecc=_0x39311f[_0x124166(0x2e0)][0x0])==null||(_0x2aaecc=_0x2aaecc[_0x124166(0x433)])==null?void 0x0:_0x2aaecc[_0x124166(0x205)];if(Array[_0x124166(0x3de)](_0x57b679)&&_0x57b679[_0x124166(0x4ca)]){if(_0x57b679[_0x124166(0x4ca)]===_0x4e0d1f[0x0][_0x124166(0x433)]['selections']['length']&&_0x57b679[_0x124166(0x3f2)]((_0x4aba2b,_0x94defb)=>_0x4fa1c7[_0x124166(0x19c)][_0x124166(0x353)](_0x4aba2b[_0x124166(0x496)],_0x4e0d1f[0x0][_0x124166(0x433)]['selections'][_0x94defb]['range'])))return;this[_0x124166(0x427)]['get'](_0x4fa1c7[_0x124166(0x398)])[_0x124166(0x2fc)](_0x376d47[_0x124166(0x531)]['id'],{'unitId':_0x305a3a,'subUnitId':_0x28657e,'selections':_0x57b679});}}};_0x1de656=_0x230514([_0x4bc410(0x0,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7[_0x2f9c02(0x204)])),_0x4bc410(0x1,_0x4a1cad[_0x2f9c02(0x1e0)]),_0x4bc410(0x2,_0x4fa1c7[_0x2f9c02(0x1fc)])],_0x1de656);let _0x12f31b=(0x0,_0x4fa1c7[_0x2f9c02(0x41b)])('univer-pro.collaboration-client.single-active-unit-service'),_0x97ee5b=function(_0x2cd2e6){const _0xaa78d9=_0x2f9c02;return _0x2cd2e6[_0x2cd2e6[_0xaa78d9(0x4fe)]=0x0]=_0xaa78d9(0x4fe),_0x2cd2e6[_0x2cd2e6[_0xaa78d9(0x1a0)]=0x1]=_0xaa78d9(0x1a0),_0x2cd2e6;}({}),_0x1f2256=_0x2f9c02(0x37f);Symbol(_0x1f2256);let _0x112cff={};function _0x3cd204(_0x9fac83){const _0x2d0db1=_0x2f9c02;var _0x4d63dd;return!!((_0x4d63dd=_0x9fac83['params'])!=null&&_0x4d63dd[_0x2d0db1(0x43a)]);}let _0x41b686=new Set([_0x376d47[_0x2f9c02(0x297)]['id']]);function _0x5f007c(_0x1d54b9,_0xcddf79,_0x2f15da,_0x7b8593,_0x19be45){const _0x8e444b=_0x2f9c02;var _0x1273eb,_0x3a873f,_0x101a62,_0x180ba7;let _0x175bcb=[];for(let _0x4a3eb5 of _0x1d54b9){if(_0x41b686[_0x8e444b(0x3d0)](_0x4a3eb5['id'])){if(_0x175bcb[_0x8e444b(0x4ca)]>0x0)break;_0x175bcb[_0x8e444b(0x3a1)](_0x4a3eb5);break;}if(_0x3cd204(_0x4a3eb5)){if(_0x175bcb[_0x8e444b(0x4ca)]>0x0)break;_0x175bcb[_0x8e444b(0x3a1)](_0x4a3eb5);break;}_0x175bcb['push'](_0x4a3eb5);}let _0x246799=(_0x1273eb=(_0x3a873f=_0x19be45['getCurrentUser']())==null?void 0x0:_0x3a873f[_0x8e444b(0x3ba)])==null?_0x8e444b(0x2db):_0x1273eb,_0x3324eb=(_0x101a62=(_0x180ba7=_0x19be45[_0x8e444b(0x4b3)]())==null?void 0x0:_0x180ba7[_0x8e444b(0x33c)])==null?_0x8e444b(0x2db):_0x101a62;return{'changeset':{'unitID':_0xcddf79,'type':(0x0,_0x4a1cad[_0x8e444b(0x1ab)])(_0x2f15da[_0x8e444b(0x2ab)](_0xcddf79)),'baseRev':_0x7b8593[_0x8e444b(0x3a6)](_0xcddf79),'revision':0x0,'userID':_0x246799,'memberID':_0x3324eb,'mutations':_0x175bcb},'pendingMutations':_0x1d54b9[_0x8e444b(0x29d)](_0x175bcb[_0x8e444b(0x4ca)])};}function _0x380723(_0x50e5cb,_0x12bc52,_0x2f0e8a,_0x20e62a,_0x1a9d20){const _0x4d1514=_0x2f9c02;var _0x3a41bd,_0x3d2392,_0x21db5c,_0x50654b;let _0x1599dd=[_0x50e5cb['reduce']((_0x4a3476,_0x4c8530)=>{const _0x55cd4b=_0x50be;var _0x3f54c1;let {id:_0x3655ca}=_0x4a3476,{id:_0x5b3010,type:_0x353158}=_0x4c8530,_0x3189d2=(_0x3f54c1=_0x4a3476[_0x55cd4b(0x433)])==null?{'actions':null}:_0x3f54c1,_0x38293d=_0x4c8530[_0x55cd4b(0x433)];if(_0x3655ca&&_0x3655ca!==_0x5b3010)throw Error(_0x55cd4b(0x2ef)+_0x3655ca+'\x20-\x20'+_0x5b3010+'.');return{..._0x4a3476,'id':_0x5b3010,'type':_0x353158,'params':{'unitId':_0x38293d[_0x55cd4b(0x2a9)],'textRanges':_0x38293d[_0x55cd4b(0x19b)],'actions':_0x4fa1c7[_0x55cd4b(0x209)][_0x55cd4b(0x2fe)](_0x3189d2['actions'],_0x38293d[_0x55cd4b(0x3ad)])}};},{})],_0x584d53=(_0x3a41bd=(_0x3d2392=_0x1a9d20[_0x4d1514(0x4b3)]())==null?void 0x0:_0x3d2392['userID'])==null?_0x4d1514(0x2db):_0x3a41bd,_0x21b467=(_0x21db5c=(_0x50654b=_0x1a9d20[_0x4d1514(0x4b3)]())==null?void 0x0:_0x50654b['memberID'])==null?'unknown':_0x21db5c;return{'changeset':{'unitID':_0x12bc52,'type':(0x0,_0x4a1cad[_0x4d1514(0x1ab)])(_0x2f0e8a['getUnitType'](_0x12bc52)),'baseRev':_0x20e62a[_0x4d1514(0x3a6)](_0x12bc52),'revision':0x0,'userID':_0x584d53,'memberID':_0x21b467,'mutations':_0x1599dd},'pendingMutations':[]};}function _0x5a47c6(_0x45661d,_0x153d4a){const _0x203b38=_0x2f9c02;let _0x48d9f0=new _0x431df8['ReplaySubject'](0x1);return setTimeout(()=>_0x48d9f0[_0x203b38(0x4d6)](_0x153d4a),_0x45661d),_0x48d9f0[_0x203b38(0x3a3)]()[_0x203b38(0x2a4)]((0x0,_0x431df8[_0x203b38(0x3c2)])(0x1));}var _0x28159e,_0x5af425,_0x4d39aa;let _0x4fcdb8=function(_0x1ae689){const _0x5dfb4f=_0x2f9c02;return _0x1ae689['NOT_COLLAB']='not_collab',_0x1ae689[_0x5dfb4f(0x24b)]=_0x5dfb4f(0x3e7),_0x1ae689[_0x5dfb4f(0x1be)]=_0x5dfb4f(0x3da),_0x1ae689[_0x5dfb4f(0x479)]='awaiting',_0x1ae689[_0x5dfb4f(0x25c)]=_0x5dfb4f(0x32d),_0x1ae689[_0x5dfb4f(0x30c)]='fetch_missing',_0x1ae689[_0x5dfb4f(0x4da)]=_0x5dfb4f(0x418),_0x1ae689['OFFLINE']=_0x5dfb4f(0x211),_0x1ae689;}({}),_0x31c09c=0x4e20,_0x32eb76=0x2bf20;var _0x5b7b9a=class{constructor(_0x54f3d8,_0x5cd670,_0xafa7fb,_0x4fb7e9,_0x174cdb,_0x3d2247,_0x5a3d32,_0xbf119c,_0x24be20){const _0x1ed22f=_0x2f9c02;this['unitID']=_0x54f3d8,this['type']=_0x5cd670,this[_0x1ed22f(0x1ae)]=_0x174cdb,this['_commandService']=_0x3d2247,this[_0x1ed22f(0x40d)]=_0x5a3d32,this['_revisionService']=_0xbf119c,this[_0x1ed22f(0x521)]=_0x24be20,_0x17e69d(this,_0x1ed22f(0x18b),null),_0x17e69d(this,_0x1ed22f(0x4b9),[]),this['_awaitingChangeset']=_0xafa7fb,this[_0x1ed22f(0x4b9)]=_0x4fb7e9;}['_checkMissing'](_0x805a57){const _0x5a3833=_0x2f9c02;let _0xa52b94=this[_0x5a3833(0x46d)]['getCurrentRevOfUnit'](this[_0x5a3833(0x264)]);return _0x805a57['revision']>_0xa52b94+0x1?(this[_0x5a3833(0x1ae)][_0x5a3833(0x484)]({'from':_0xa52b94,'to':_0x805a57[_0x5a3833(0x520)]-0x1}),!0x0):!0x1;}[_0x2f9c02(0x30d)](_0x45978b){const _0x191ff3=_0x2f9c02;this['_undoRedoService'][_0x191ff3(0x475)](this[_0x191ff3(0x264)],_0x45978b);}[_0x2f9c02(0x39d)](_0x5b7242){const _0x4bdde4=_0x2f9c02;var _0x1f905c,_0xc8b563;(_0x1f905c=(_0xc8b563=this['_handler'])[_0x4bdde4(0x295)])==null||_0x1f905c[_0x4bdde4(0x18a)](_0xc8b563,_0x5b7242);}[_0x2f9c02(0x291)](_0x1f0095){const _0x547f22=_0x2f9c02;var _0x476751,_0x673e70;return(_0x476751=(_0x673e70=this[_0x547f22(0x1ae)])[_0x547f22(0x4dd)])==null?void 0x0:_0x476751['call'](_0x673e70,_0x1f0095);}[_0x2f9c02(0x2ec)](_0x30f1df){const _0x29c3ef=_0x2f9c02;var _0xf3ed6,_0x7d97b7;return(_0xf3ed6=(_0x7d97b7=this[_0x29c3ef(0x1ae)])['onTransformState'])==null?void 0x0:_0xf3ed6[_0x29c3ef(0x18a)](_0x7d97b7,_0x30f1df);}[_0x2f9c02(0x3d3)](_0x385411){const _0x3fc921=_0x2f9c02;var _0x4e3026,_0x400d77,_0x19d2a0;return(_0x4e3026=(_0x400d77=(_0x19d2a0=this[_0x3fc921(0x1ae)])[_0x3fc921(0x39e)])==null?void 0x0:_0x400d77['call'](_0x19d2a0,_0x385411))==null?_0x385411:_0x4e3026;}[_0x2f9c02(0x19e)](_0x4a5957){const _0x1cb41f=_0x2f9c02;var _0x513b85,_0x328f0e,_0x69c5;return(_0x513b85=(_0x328f0e=(_0x69c5=this[_0x1cb41f(0x1ae)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x328f0e[_0x1cb41f(0x18a)](_0x69c5,_0x4a5957))==null?_0x4a5957:_0x513b85;}[_0x2f9c02(0x29f)](_0x5cb93c){const _0x4ea0fc=_0x2f9c02;if(this[_0x4ea0fc(0x29a)]===_0x139b11['UNIVER_DOC']){let {unitID:_0x559952,mutations:_0x496150,memberID:_0x2b7389}=_0x5cb93c,_0x5ad52e=_0x496150[_0x4ea0fc(0x4ca)]>0x0?_0x496150[0x0][_0x4ea0fc(0x433)]['textRanges']:[];if(Array['isArray'](_0x5ad52e)&&_0x5ad52e['length']>0x0){var _0x3583bc,_0x1e64f5;(_0x3583bc=(_0x1e64f5=this[_0x4ea0fc(0x1ae)])[_0x4ea0fc(0x42a)])==null||_0x3583bc[_0x4ea0fc(0x18a)](_0x1e64f5,{'unitID':_0x559952,'memberID':_0x2b7389,'textRanges':_0x5ad52e});}}}['_updateLocalCache'](){const _0x34c4f8=_0x2f9c02;var _0x213d3b;(_0x213d3b=this['_localCacheService'])==null||_0x213d3b[_0x34c4f8(0x21f)](this[_0x34c4f8(0x264)],this['type'],this['_awaitingChangeset'],this[_0x34c4f8(0x4b9)]);}[_0x2f9c02(0x35d)](){const _0x1dd096=_0x2f9c02;return this['_revisionService'][_0x1dd096(0x3a6)](this[_0x1dd096(0x264)]);}[_0x2f9c02(0x33a)](){const _0x412f93=_0x2f9c02;this['_revisionService']['incrementRevOfUnit'](this[_0x412f93(0x264)]);}[_0x2f9c02(0x3b6)](_0x36afac){const _0x591528=_0x2f9c02;let _0x2c1699=this[_0x591528(0x3d3)](_0x36afac);_0x2c1699=this[_0x591528(0x19e)](_0x2c1699);let _0x122d35=(0x0,_0x4fa1c7[_0x591528(0x234)])(_0x2c1699[_0x591528(0x494)],this[_0x591528(0x1bc)],{'fromCollab':!0x0});if(!_0x122d35[_0x591528(0x3d4)]){var _0x49af26;throw _0x122d35[_0x591528(0x2c3)]instanceof Error?_0x122d35[_0x591528(0x2c3)]:Error((_0x49af26=_0x122d35[_0x591528(0x2c3)])==null?_0x591528(0x1e6):_0x49af26);}this[_0x591528(0x291)](_0x2c1699),this[_0x591528(0x2ec)](_0x2c1699),this[_0x591528(0x30d)](_0x36afac),this[_0x591528(0x39d)](_0x2c1699),this[_0x591528(0x29f)](_0x2c1699),this['_incrementRevisionNumber']();}};let _0x2ce86e=class extends _0x5b7b9a{constructor(_0x24086d,_0x2214af,_0x480c8b,_0x25d7cf,_0x1f5868,_0x2fe422,_0x3169e9,_0x22ac78,_0x272369,_0x1791b8){const _0x767d79=_0x2f9c02;super(_0x24086d,_0x2214af,null,[],_0x480c8b,_0x3169e9,_0x2fe422,_0x25d7cf,_0x1791b8),this[_0x767d79(0x427)]=_0x1f5868,this[_0x767d79(0x22c)]=_0x22ac78,this['_transformService']=_0x272369,this['localCacheService']=_0x1791b8,_0x17e69d(this,'status',_0x4fcdb8[_0x767d79(0x24b)]);}[_0x2f9c02(0x326)](_0x2c4c22){const _0x4ace7c=_0x2f9c02;let _0xfa56dd=this[_0x4ace7c(0x427)]['createInstance'](_0x5ce61d,this[_0x4ace7c(0x264)],this[_0x4ace7c(0x29a)],[_0x2c4c22],this['_handler']);return _0xfa56dd[_0x4ace7c(0x388)](),_0xfa56dd[_0x4ace7c(0x530)](),_0xfa56dd;}[_0x2f9c02(0x4e0)](_0x1bc82c){const _0xe89e54=_0x2f9c02;if(this[_0xe89e54(0x24c)](_0x1bc82c))return this['_injector'][_0xe89e54(0x1ad)](_0x27e4ef,this['unitID'],this[_0xe89e54(0x29a)],null,[],null,[_0x1bc82c],this[_0xe89e54(0x1ae)]);try{let _0xbf5415=this['_transformService'][_0xe89e54(0x3f8)](_0x1bc82c,[_0x4a1cad[_0xe89e54(0x358)]]);if((0x0,_0x4a1cad[_0xe89e54(0x502)])(_0xbf5415)){let {c1Prime:_0x1a33e3}=_0xbf5415;return this[_0xe89e54(0x3b6)](_0x1a33e3),this;}throw _0xbf5415[_0xe89e54(0x2c3)];}catch(_0x5df73d){return this['_logService'][_0xe89e54(0x2c3)](_0x5df73d),this[_0xe89e54(0x493)](!0x1);}}['_onConflict'](_0x1ca200){const _0x2818cc=_0x2f9c02;return this[_0x2818cc(0x427)][_0x2818cc(0x1ad)](_0x224de7,this[_0x2818cc(0x264)],this['type'],null,[],this['_handler'],_0x1ca200);}[_0x2f9c02(0x1e2)](){const _0x2f81e5=_0x2f9c02;throw Error(_0x2f81e5(0x2e2));}[_0x2f9c02(0x1a6)](){const _0x477448=_0x2f9c02;throw Error(_0x477448(0x292));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x3c6bf7=_0x2f9c02;return this[_0x3c6bf7(0x427)][_0x3c6bf7(0x1ad)](_0x31f6a0,this[_0x3c6bf7(0x264)],this[_0x3c6bf7(0x29a)],null,[],this['_handler']);}['toggleOnline'](){return this;}[_0x2f9c02(0x237)](){const _0x262131=_0x2f9c02;throw Error(_0x262131(0x1f6));}[_0x2f9c02(0x25b)](){const _0x387eee=_0x2f9c02;let _0x5d4641=this[_0x387eee(0x46d)][_0x387eee(0x3a6)](this[_0x387eee(0x264)]);return this[_0x387eee(0x1ae)][_0x387eee(0x484)]({'from':_0x5d4641,'to':0x0}),this['_injector'][_0x387eee(0x1ad)](_0x27e4ef,this[_0x387eee(0x264)],this[_0x387eee(0x29a)],null,[],null,[],this['_handler']);}};_0x2ce86e=_0x230514([_0x4bc410(0x3,(0x0,_0x4fa1c7['Inject'])(_0x4a1cad[_0x2f9c02(0x3ae)])),_0x4bc410(0x4,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7[_0x2f9c02(0x204)])),_0x4bc410(0x5,_0x4fa1c7[_0x2f9c02(0x3d5)]),_0x4bc410(0x6,_0x4fa1c7[_0x2f9c02(0x398)]),_0x4bc410(0x7,_0x4fa1c7[_0x2f9c02(0x2b3)]),_0x4bc410(0x8,_0x4a1cad['ITransformService']),_0x4bc410(0x9,(0x0,_0x4fa1c7[_0x2f9c02(0x476)])(_0x259e4f))],_0x2ce86e);let _0x5ce61d=_0x28159e=class extends _0x5b7b9a{constructor(_0x23cac4,_0xffd6d5,_0x30ba37,_0x1bab23,_0x41c6c3,_0x239651,_0x2ab392,_0x33a0e0,_0x5d521f,_0x449c3d,_0x4d3e34,_0x249eca,_0x4ac005,_0x57e82e){const _0x4875da=_0x2f9c02;super(_0x23cac4,_0xffd6d5,null,_0x30ba37,_0x1bab23,_0x5d521f,_0x4ac005,_0x239651,_0x57e82e),this['_injector']=_0x41c6c3,this[_0x4875da(0x4c8)]=_0x2ab392,this[_0x4875da(0x22c)]=_0x33a0e0,this[_0x4875da(0x280)]=_0x449c3d,this['_transformService']=_0x4d3e34,this[_0x4875da(0x450)]=_0x249eca,_0x17e69d(this,_0x4875da(0x454),_0x4fcdb8[_0x4875da(0x1be)]),_0x17e69d(this,'_scheduleCompleteTimestamp',null),_0x17e69d(this,_0x4875da(0x4b5),null);}[_0x2f9c02(0x326)](_0x343355){const _0x379646=_0x2f9c02;return this['_pendingMutations'][_0x379646(0x3a1)](_0x343355),this[_0x379646(0x530)](),this;}[_0x2f9c02(0x4e0)](_0x5371bb){const _0x4e2ec7=_0x2f9c02;if(this[_0x4e2ec7(0x24c)](_0x5371bb))return this[_0x4e2ec7(0x2ea)](),this[_0x4e2ec7(0x427)][_0x4e2ec7(0x1ad)](_0x27e4ef,this[_0x4e2ec7(0x264)],this[_0x4e2ec7(0x29a)],null,this[_0x4e2ec7(0x4b9)],null,[_0x5371bb],this['_handler']);try{let _0x2b9122=this[_0x4e2ec7(0x1d2)][_0x4e2ec7(0x3f8)](_0x5371bb,this[_0x4e2ec7(0x4b9)]);if((0x0,_0x4a1cad[_0x4e2ec7(0x502)])(_0x2b9122)){let {c1Prime:_0xfbf040,m2Prime:_0x11fe69}=_0x2b9122;this[_0x4e2ec7(0x3b6)](_0xfbf040);let _0x38ec70=this['_injector']['createInstance'](_0x28159e,this['unitID'],this[_0x4e2ec7(0x29a)],_0x11fe69,this[_0x4e2ec7(0x1ae)]);this['_clearScheduledTask']();let _0xd641f6=new Date()['getTime'](),_0x62edb1=this['_scheduleCompleteTimestamp']?Math[_0x4e2ec7(0x4ce)](this[_0x4e2ec7(0x219)]-_0xd641f6,0x0):this[_0x4e2ec7(0x49a)]();return _0x38ec70['_schedule'](_0x62edb1),_0x38ec70;}throw _0x2b9122[_0x4e2ec7(0x2c3)];}catch(_0x5ebb57){return this[_0x4e2ec7(0x22c)][_0x4e2ec7(0x2c3)](_0x5ebb57),this[_0x4e2ec7(0x493)](!0x1);}}[_0x2f9c02(0x1e2)](){const _0x41fb7b=_0x2f9c02;throw Error(_0x41fb7b(0x313));}[_0x2f9c02(0x1a6)](){const _0x26248b=_0x2f9c02;throw Error(_0x26248b(0x471));}[_0x2f9c02(0x306)](){return this;}['toggleOffline'](){const _0x483768=_0x2f9c02;return this[_0x483768(0x2ea)](),this[_0x483768(0x427)]['createInstance'](_0x31f6a0,this['unitID'],this[_0x483768(0x29a)],null,this[_0x483768(0x4b9)],this['_handler']);}[_0x2f9c02(0x3c7)](){return this;}[_0x2f9c02(0x388)](_0x29c586){const _0x673543=_0x2f9c02;let _0x5e51ad=_0x29c586==null?this[_0x673543(0x49a)]():_0x29c586;this[_0x673543(0x219)]=new Date()['getTime']()+_0x5e51ad,this[_0x673543(0x4b5)]=setTimeout(()=>{const _0x4e5bc5=_0x673543;this[_0x4e5bc5(0x2ea)]();let _0x198821=null;switch(this[_0x4e5bc5(0x29a)]){case _0x139b11[_0x4e5bc5(0x528)]:_0x198821=_0x5f007c(this[_0x4e5bc5(0x4b9)],this[_0x4e5bc5(0x264)],this[_0x4e5bc5(0x450)],this[_0x4e5bc5(0x46d)],this[_0x4e5bc5(0x4c8)]);break;case _0x139b11[_0x4e5bc5(0x1c3)]:_0x198821=this[_0x4e5bc5(0x4b9)][_0x4e5bc5(0x3f2)](_0x4eba0c=>_0x4eba0c['id']===_0x5ed934[_0x4e5bc5(0x1ac)]['id'])?_0x380723(this[_0x4e5bc5(0x4b9)],this[_0x4e5bc5(0x264)],this[_0x4e5bc5(0x450)],this[_0x4e5bc5(0x46d)],this['_memberService']):_0x5f007c(this[_0x4e5bc5(0x4b9)],this[_0x4e5bc5(0x264)],this['_univerInstanceService'],this[_0x4e5bc5(0x46d)],this[_0x4e5bc5(0x4c8)]);break;default:throw Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+'\x20in\x20_schedule.');}let {changeset:_0x42e2a2,pendingMutations:_0x2cf2bf}=_0x198821;this[_0x4e5bc5(0x1ae)]['onSendChangeset'](_0x42e2a2);let _0x3bfa4f=_0x2cf2bf[_0x4e5bc5(0x4ca)]?this[_0x4e5bc5(0x427)]['createInstance'](_0x378326,this[_0x4e5bc5(0x264)],this['type'],_0x42e2a2,_0x2cf2bf,this[_0x4e5bc5(0x1ae)],void 0x0):this[_0x4e5bc5(0x427)][_0x4e5bc5(0x1ad)](_0x2d15ae,this['unitID'],this[_0x4e5bc5(0x29a)],_0x42e2a2,this[_0x4e5bc5(0x1ae)]);_0x3bfa4f[_0x4e5bc5(0x530)](),this[_0x4e5bc5(0x1ae)][_0x4e5bc5(0x3fe)](this,_0x3bfa4f);},_0x5e51ad);}['_getSendChangesetTimeout'](){const _0x261bae=_0x2f9c02;var _0x1f23c7;let _0x2153bc=this[_0x261bae(0x280)][_0x261bae(0x21e)](_0x1f2256);return(_0x1f23c7=_0x2153bc==null?void 0x0:_0x2153bc['sendChangesetTimeout'])==null?0x7d0:_0x1f23c7;}[_0x2f9c02(0x237)](){throw Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2f9c02(0x2ea)](){const _0x14754d=_0x2f9c02;this[_0x14754d(0x4b5)]!=null&&(clearTimeout(this[_0x14754d(0x4b5)]),this['_sendingTimer']=null);}['_onConflict'](_0x5621c5){const _0x1e47ab=_0x2f9c02;return this[_0x1e47ab(0x2ea)](),this[_0x1e47ab(0x427)][_0x1e47ab(0x1ad)](_0x224de7,this[_0x1e47ab(0x264)],this[_0x1e47ab(0x29a)],null,this['_pendingMutations'],this['_handler'],_0x5621c5);}};_0x5ce61d=_0x28159e=_0x230514([_0x4bc410(0x4,(0x0,_0x4fa1c7['Inject'])(_0x4fa1c7[_0x2f9c02(0x204)])),_0x4bc410(0x5,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4a1cad[_0x2f9c02(0x3ae)])),_0x4bc410(0x6,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0xd0b104)),_0x4bc410(0x7,_0x4fa1c7[_0x2f9c02(0x2b3)]),_0x4bc410(0x8,_0x4fa1c7[_0x2f9c02(0x398)]),_0x4bc410(0x9,_0x4fa1c7[_0x2f9c02(0x2bc)]),_0x4bc410(0xa,_0x4a1cad[_0x2f9c02(0x1e0)]),_0x4bc410(0xb,_0x4fa1c7[_0x2f9c02(0x1fc)]),_0x4bc410(0xc,_0x4fa1c7[_0x2f9c02(0x3d5)]),_0x4bc410(0xd,(0x0,_0x4fa1c7[_0x2f9c02(0x476)])(_0x259e4f))],_0x5ce61d);let _0x2d15ae=_0x5af425=class extends _0x5b7b9a{constructor(_0xa04eb9,_0x510d0d,_0x57551c,_0xe55643,_0x57b621,_0x269c3f,_0x52fe5a,_0x1a76c1,_0x16f9cf,_0x3a1a01,_0x2baa16){const _0x30f297=_0x2f9c02;super(_0xa04eb9,_0x510d0d,_0x57551c,[],_0xe55643,_0x52fe5a,_0x3a1a01,_0x269c3f,_0x2baa16),this[_0x30f297(0x427)]=_0x57b621,this[_0x30f297(0x22c)]=_0x1a76c1,this['_transformService']=_0x16f9cf,_0x17e69d(this,_0x30f297(0x454),_0x4fcdb8[_0x30f297(0x479)]),_0x17e69d(this,_0x30f297(0x4c6),0x0),_0x17e69d(this,_0x30f297(0x2b5),0x0),_0x17e69d(this,_0x30f297(0x3c6),void 0x0),_0x17e69d(this,_0x30f297(0x414),void 0x0);}[_0x2f9c02(0x326)](_0xa3f201){const _0x1c313b=_0x2f9c02;this[_0x1c313b(0x2ea)]();let _0x297b4a=this[_0x1c313b(0x427)][_0x1c313b(0x1ad)](_0x378326,this[_0x1c313b(0x264)],this['type'],this[_0x1c313b(0x18b)],[_0xa3f201],this[_0x1c313b(0x1ae)],this[_0x1c313b(0x3c6)]);return _0x297b4a['_updateLocalCache'](),_0x297b4a;}[_0x2f9c02(0x4e0)](_0x2126c9){const _0x4ea1d9=_0x2f9c02;if(this[_0x4ea1d9(0x24c)](_0x2126c9))return this[_0x4ea1d9(0x2ea)](),this[_0x4ea1d9(0x427)][_0x4ea1d9(0x1ad)](_0x27e4ef,this[_0x4ea1d9(0x264)],this['type'],this[_0x4ea1d9(0x18b)],[],null,[_0x2126c9],this[_0x4ea1d9(0x1ae)]);try{let _0x248f31=this[_0x4ea1d9(0x1d2)][_0x4ea1d9(0x2d9)]([_0x2126c9],[this['_awaitingChangeset']],!0x1);if((0x0,_0x4a1cad[_0x4ea1d9(0x25a)])(_0x248f31)){let {c1Prime:_0x4c89a3,c2Prime:_0x5c0a21}=_0x248f31;this[_0x4ea1d9(0x3b6)](_0x4c89a3[0x0]),_0x5c0a21[0x0]['baseRev']=this[_0x4ea1d9(0x35d)](),this['_clearScheduledTask']();let _0xef01b=this[_0x4ea1d9(0x427)]['createInstance'](_0x5af425,this['unitID'],this['type'],_0x5c0a21[0x0],this[_0x4ea1d9(0x1ae)]);return _0xef01b[_0x4ea1d9(0x530)](),_0xef01b;}return this[_0x4ea1d9(0x493)](!0x1);}catch(_0x18f58e){return this[_0x4ea1d9(0x22c)][_0x4ea1d9(0x2c3)](_0x18f58e),this[_0x4ea1d9(0x493)](!0x1);}}[_0x2f9c02(0x1e2)](_0x32a13f){const _0x2abae0=_0x2f9c02;this['_clearScheduledTask']();let _0x5d2749=this[_0x2abae0(0x46d)][_0x2abae0(0x3a6)](this['unitID']);if(_0x32a13f['revision']<_0x5d2749-0x1)return this;if(this[_0x2abae0(0x24c)](_0x32a13f))return this[_0x2abae0(0x427)][_0x2abae0(0x1ad)](_0x27e4ef,this[_0x2abae0(0x264)],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x2abae0(0x1ae)]);this[_0x2abae0(0x33a)]();let _0x13a9a2=this['_injector'][_0x2abae0(0x1ad)](_0x2ce86e,this['unitID'],this[_0x2abae0(0x29a)],this[_0x2abae0(0x1ae)]);return _0x13a9a2['_updateLocalCache'](),_0x13a9a2;}[_0x2f9c02(0x1a6)](_0x20c966){const _0x1dc01b=_0x2f9c02;return this[_0x1dc01b(0x493)](!!(_0x20c966!=null&&_0x20c966['isPermissionRej']));}[_0x2f9c02(0x306)](_0x2302fd){const _0x19d4e0=_0x2f9c02;return this['_maxTotalRetryTimeout']>_0x32eb76?this[_0x19d4e0(0x365)]():(this[_0x19d4e0(0x3c6)]=_0x5a47c6(this['_resendTimeout'],{'timeout':this[_0x19d4e0(0x4c6)],'reqId':_0x2302fd[_0x19d4e0(0x1fa)]}),this[_0x19d4e0(0x414)]=this[_0x19d4e0(0x3c6)][_0x19d4e0(0x47f)](({reqId:_0x15a5c8,timeout:_0x43a235})=>{const _0x1cbc34=_0x19d4e0;this[_0x1cbc34(0x2f3)](_0x15a5c8,_0x43a235);}),this);}[_0x2f9c02(0x365)](){const _0xa1953b=_0x2f9c02;return this[_0xa1953b(0x2ea)](),this[_0xa1953b(0x427)][_0xa1953b(0x1ad)](_0x31f6a0,this[_0xa1953b(0x264)],this[_0xa1953b(0x29a)],this[_0xa1953b(0x18b)],[],this[_0xa1953b(0x1ae)]);}[_0x2f9c02(0x3c7)](){return this;}[_0x2f9c02(0x237)](){const _0x2ad6d1=_0x2f9c02;this[_0x2ad6d1(0x1ae)]['onSendChangeset'](this[_0x2ad6d1(0x18b)]);}[_0x2f9c02(0x493)](_0x2b8c93){const _0x2e7181=_0x2f9c02;return this['_clearScheduledTask'](),this[_0x2e7181(0x427)][_0x2e7181(0x1ad)](_0x224de7,this[_0x2e7181(0x264)],this[_0x2e7181(0x29a)],this[_0x2e7181(0x18b)],[],this[_0x2e7181(0x1ae)],_0x2b8c93);}[_0x2f9c02(0x2f3)](_0x46f167,_0x587c69){const _0x300da6=_0x2f9c02;var _0x4c1b86;_0x46f167===((_0x4c1b86=this[_0x300da6(0x18b)])==null?void 0x0:_0x4c1b86['reqId'])&&(this['resend'](),this['_resendTimeout']=_0x587c69===0x0?0x3e8:Math[_0x300da6(0x217)](_0x587c69*0x2,_0x31c09c),this[_0x300da6(0x2b5)]+=this[_0x300da6(0x4c6)]);}[_0x2f9c02(0x2ea)](){const _0x29dadf=_0x2f9c02;var _0x42d0c2;(_0x42d0c2=this[_0x29dadf(0x414)])==null||_0x42d0c2[_0x29dadf(0x48e)](),this[_0x29dadf(0x4c6)]=0x0,this[_0x29dadf(0x2b5)]=0x0;}};_0x2d15ae=_0x5af425=_0x230514([_0x4bc410(0x4,(0x0,_0x4fa1c7['Inject'])(_0x4fa1c7[_0x2f9c02(0x204)])),_0x4bc410(0x5,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4a1cad[_0x2f9c02(0x3ae)])),_0x4bc410(0x6,_0x4fa1c7[_0x2f9c02(0x398)]),_0x4bc410(0x7,_0x4fa1c7['ILogService']),_0x4bc410(0x8,_0x4a1cad[_0x2f9c02(0x1e0)]),_0x4bc410(0x9,_0x4fa1c7[_0x2f9c02(0x3d5)]),_0x4bc410(0xa,(0x0,_0x4fa1c7['Optional'])(_0x259e4f))],_0x2d15ae);let _0x378326=_0x4d39aa=class extends _0x5b7b9a{constructor(_0x3ed5eb,_0x6b5c4f,_0x4ceb43,_0x49668f,_0x5d6259,_0x100a36,_0x45bfa9,_0x21355,_0x3f260e,_0x48133d,_0x448216,_0x181d36,_0xa3efe3){const _0x434ffa=_0x2f9c02;super(_0x3ed5eb,_0x6b5c4f,_0x4ceb43,_0x49668f,_0x5d6259,_0x3f260e,_0x181d36,_0x21355,_0xa3efe3),this[_0x434ffa(0x427)]=_0x45bfa9,this['_logService']=_0x48133d,this['_transformService']=_0x448216,this[_0x434ffa(0x4cd)]=_0xa3efe3,_0x17e69d(this,_0x434ffa(0x454),_0x4fcdb8['AWAITING_WITH_PENDING']),_0x17e69d(this,_0x434ffa(0x4c6),0x0),_0x17e69d(this,_0x434ffa(0x2b5),0x0),_0x17e69d(this,_0x434ffa(0x3c6),void 0x0),_0x17e69d(this,'_sender',void 0x0),_0x100a36&&(this['_resendTimer']=_0x100a36,this[_0x434ffa(0x414)]=this[_0x434ffa(0x3c6)][_0x434ffa(0x47f)](({reqId:_0x17f272,timeout:_0xcaeade})=>{this['_resendWithTimeout'](_0x17f272,_0xcaeade);}));}[_0x2f9c02(0x326)](_0x1970ad){const _0x4961f5=_0x2f9c02;return this[_0x4961f5(0x4b9)][_0x4961f5(0x3a1)](_0x1970ad),this;}[_0x2f9c02(0x4e0)](_0x310041){const _0x2145f7=_0x2f9c02;if(this[_0x2145f7(0x24c)](_0x310041))return this[_0x2145f7(0x2ea)](),this[_0x2145f7(0x427)][_0x2145f7(0x1ad)](_0x27e4ef,this[_0x2145f7(0x264)],this[_0x2145f7(0x29a)],this[_0x2145f7(0x18b)],this['_pendingMutations'],null,[_0x310041],this[_0x2145f7(0x1ae)]);try{let _0x6f8346=this[_0x2145f7(0x1d2)][_0x2145f7(0x2d9)]([_0x310041],[this[_0x2145f7(0x18b)]],!0x1);if((0x0,_0x4a1cad['isTransformChangesetsSuccess'])(_0x6f8346)){let {c1Prime:_0x26c531,c2Prime:_0xb4e475}=_0x6f8346,_0x25398d=this[_0x2145f7(0x1d2)][_0x2145f7(0x3f8)](_0x26c531[0x0],this['_pendingMutations']);if((0x0,_0x4a1cad[_0x2145f7(0x502)])(_0x25398d)){let {c1Prime:_0x38441b,m2Prime:_0x3406ec}=_0x25398d;return this[_0x2145f7(0x3b6)](_0x38441b),_0xb4e475[0x0][_0x2145f7(0x18e)]=this[_0x2145f7(0x35d)](),this['_clearScheduledTask'](),this['_injector']['createInstance'](_0x4d39aa,this[_0x2145f7(0x264)],this[_0x2145f7(0x29a)],_0xb4e475[0x0],_0x3406ec,this[_0x2145f7(0x1ae)],void 0x0);}throw _0x25398d[_0x2145f7(0x2c3)];}throw _0x6f8346[_0x2145f7(0x2c3)];}catch(_0x5b6a47){return this['_logService'][_0x2145f7(0x2c3)](_0x5b6a47),this[_0x2145f7(0x493)](!0x1);}}[_0x2f9c02(0x1e2)](_0x26adfc){const _0x88a9e1=_0x2f9c02;if(this[_0x88a9e1(0x2ea)](),this[_0x88a9e1(0x24c)](_0x26adfc))return this['_injector'][_0x88a9e1(0x1ad)](_0x27e4ef,this[_0x88a9e1(0x264)],this[_0x88a9e1(0x29a)],null,this[_0x88a9e1(0x4b9)],this[_0x88a9e1(0x18b)],[],this['_handler']);this[_0x88a9e1(0x33a)]();let _0x410de8=this[_0x88a9e1(0x427)][_0x88a9e1(0x1ad)](_0x5ce61d,this[_0x88a9e1(0x264)],this[_0x88a9e1(0x29a)],this[_0x88a9e1(0x4b9)],this[_0x88a9e1(0x1ae)]);return _0x410de8[_0x88a9e1(0x388)](),_0x410de8[_0x88a9e1(0x530)](),_0x410de8;}[_0x2f9c02(0x1a6)](_0x3886ea){const _0x2413dc=_0x2f9c02;return this['_onConflict'](!!(_0x3886ea!=null&&_0x3886ea[_0x2413dc(0x405)]));}[_0x2f9c02(0x306)](_0x4c43f9){const _0x1228a6=_0x2f9c02;return this[_0x1228a6(0x2b5)]>_0x32eb76?this['toggleOffline']():(this[_0x1228a6(0x3c6)]=_0x5a47c6(this[_0x1228a6(0x4c6)],{'timeout':this[_0x1228a6(0x4c6)],'reqId':_0x4c43f9[_0x1228a6(0x1fa)]}),this[_0x1228a6(0x414)]=this[_0x1228a6(0x3c6)]['subscribe'](({reqId:_0xc5b62c,timeout:_0x25a413})=>{const _0x2c854d=_0x1228a6;this[_0x2c854d(0x2f3)](_0xc5b62c,_0x25a413);}),this);}[_0x2f9c02(0x365)](){const _0x3cb590=_0x2f9c02;return this[_0x3cb590(0x2ea)](),this[_0x3cb590(0x427)]['createInstance'](_0x31f6a0,this[_0x3cb590(0x264)],this[_0x3cb590(0x29a)],this[_0x3cb590(0x18b)],this['_pendingMutations'],this[_0x3cb590(0x1ae)]);}[_0x2f9c02(0x3c7)](){return this;}['resend'](){const _0x472eb2=_0x2f9c02;this[_0x472eb2(0x1ae)][_0x472eb2(0x1a9)](this[_0x472eb2(0x18b)]);}['_onConflict'](_0x1e1eec){const _0x1fe2c4=_0x2f9c02;return this[_0x1fe2c4(0x2ea)](),this[_0x1fe2c4(0x427)][_0x1fe2c4(0x1ad)](_0x224de7,this[_0x1fe2c4(0x264)],this[_0x1fe2c4(0x29a)],null,this[_0x1fe2c4(0x4b9)],this[_0x1fe2c4(0x1ae)],_0x1e1eec);}[_0x2f9c02(0x2f3)](_0x149f95,_0x2a341a){const _0x5ae0a3=_0x2f9c02;var _0x47c2a0;_0x149f95===((_0x47c2a0=this[_0x5ae0a3(0x18b)])==null?void 0x0:_0x47c2a0[_0x5ae0a3(0x1fa)])&&(this[_0x5ae0a3(0x237)](),this['_resendTimeout']=_0x2a341a===0x0?0x3e8:Math[_0x5ae0a3(0x217)](_0x2a341a*0x2,_0x31c09c),this[_0x5ae0a3(0x2b5)]+=this[_0x5ae0a3(0x4c6)]);}['_clearScheduledTask'](){const _0x27d193=_0x2f9c02;var _0x5efc12;(_0x5efc12=this[_0x27d193(0x414)])==null||_0x5efc12[_0x27d193(0x48e)](),this[_0x27d193(0x4c6)]=0x0,this[_0x27d193(0x2b5)]=0x0;}};_0x378326=_0x4d39aa=_0x230514([_0x4bc410(0x6,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7[_0x2f9c02(0x204)])),_0x4bc410(0x7,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4a1cad[_0x2f9c02(0x3ae)])),_0x4bc410(0x8,_0x4fa1c7['ICommandService']),_0x4bc410(0x9,_0x4fa1c7[_0x2f9c02(0x2b3)]),_0x4bc410(0xa,_0x4a1cad[_0x2f9c02(0x1e0)]),_0x4bc410(0xb,_0x4fa1c7[_0x2f9c02(0x3d5)]),_0x4bc410(0xc,(0x0,_0x4fa1c7['Optional'])(_0x259e4f))],_0x378326);let _0x224de7=class extends _0x5b7b9a{constructor(_0x5e2590,_0x12f562,_0x2cfbcd,_0x196607,_0x5ef4ce,_0x23fd58=!0x1,_0x321131,_0x4f68bd,_0x54400f,_0x433b8a,_0x4b9715,_0x532aaa,_0x4d7ddc){const _0x272345=_0x2f9c02;super(_0x5e2590,_0x12f562,_0x2cfbcd,_0x196607,_0x5ef4ce,_0x4f68bd,_0x54400f,_0x433b8a,_0x4d7ddc),this[_0x272345(0x39b)]=_0x23fd58,this[_0x272345(0x425)]=_0x321131,this[_0x272345(0x44a)]=_0x4b9715,this[_0x272345(0x298)]=_0x532aaa,this['localCacheService']=_0x4d7ddc,_0x17e69d(this,_0x272345(0x454),_0x4fcdb8[_0x272345(0x4da)]),this[_0x272345(0x4ef)](),this['_clearLocalCache'](),this[_0x272345(0x3a2)]();}[_0x2f9c02(0x326)](){return this;}[_0x2f9c02(0x4e0)](){return this;}[_0x2f9c02(0x1e2)](){return this;}['onRemoteRej'](){return this;}[_0x2f9c02(0x306)](){return this;}[_0x2f9c02(0x365)](){return this;}[_0x2f9c02(0x3c7)](){return this;}['resend'](){const _0x2b094c=_0x2f9c02;throw Error(_0x2b094c(0x1f2));}[_0x2f9c02(0x327)](){const _0x2186a7=_0x2f9c02;var _0x1897fe;(_0x1897fe=this['_localCacheService'])==null||_0x1897fe[_0x2186a7(0x21f)](this[_0x2186a7(0x264)],this[_0x2186a7(0x29a)],null,[]);}[_0x2f9c02(0x4ef)](){const _0x2dd93a=_0x2f9c02;this[_0x2dd93a(0x39b)]?this[_0x2dd93a(0x298)][_0x2dd93a(0x2e5)]({'id':_0x1ef886[_0x2dd93a(0x331)]}):this[_0x2dd93a(0x298)]['emitEvent']({'id':_0x1ef886['CONFLICT']});}['_disableEditing'](){const _0x291ac9=_0x2f9c02;this[_0x291ac9(0x425)][_0x291ac9(0x284)](new _0x376d47['WorkbookEditablePermission'](this[_0x291ac9(0x264)])['id'],!0x1);}};_0x224de7=_0x230514([_0x4bc410(0x6,(0x0,_0x4fa1c7['Inject'])(_0x4fa1c7['IPermissionService'])),_0x4bc410(0x7,_0x4fa1c7[_0x2f9c02(0x398)]),_0x4bc410(0x8,_0x4fa1c7['IUndoRedoService']),_0x4bc410(0x9,(0x0,_0x4fa1c7['Inject'])(_0x4a1cad[_0x2f9c02(0x3ae)])),_0x4bc410(0xa,(0x0,_0x4fa1c7['Inject'])(_0x4fa1c7[_0x2f9c02(0x436)])),_0x4bc410(0xb,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x1619bd)),_0x4bc410(0xc,(0x0,_0x4fa1c7['Optional'])(_0x259e4f))],_0x224de7);let _0x31f6a0=class extends _0x5b7b9a{constructor(_0xb6c54d,_0x5d967c,_0xb26025,_0x2332c3,_0x1f0cfa,_0xe94fb0,_0x3b4c38,_0x5a682b,_0x5b350f,_0x34be44){const _0x1fb9d7=_0x2f9c02;super(_0xb6c54d,_0x5d967c,_0xb26025,_0x2332c3,_0x1f0cfa,_0x5a682b,_0x5b350f,_0x3b4c38,_0x34be44),this[_0x1fb9d7(0x427)]=_0xe94fb0,_0x17e69d(this,_0x1fb9d7(0x454),_0x4fcdb8['OFFLINE']);}[_0x2f9c02(0x326)](_0x13199b){const _0x20cc4e=_0x2f9c02;return this[_0x20cc4e(0x4b9)][_0x20cc4e(0x3a1)](_0x13199b),this[_0x20cc4e(0x530)](),this;}[_0x2f9c02(0x4e0)](_0x4132a6){throw Error('[OfflineState]:\x20received\x20changeset.');}[_0x2f9c02(0x1e2)](){const _0x3e9f69=_0x2f9c02;throw Error(_0x3e9f69(0x29e));}[_0x2f9c02(0x1a6)](){const _0x2f3b0b=_0x2f9c02;throw Error(_0x2f3b0b(0x4e1));}[_0x2f9c02(0x306)](){return this;}['toggleOffline'](){return this;}[_0x2f9c02(0x3c7)](){const _0x16617c=_0x2f9c02;let {_injector:_0x785d22,_pendingMutations:_0x36e080,_awaitingChangeset:_0x9a73c4,unitID:_0x42fc29,_handler:_0xe05abb,type:_0x3c9c0c}=this,_0x28d295=_0x1e0eb8(_0x785d22,_0x42fc29,_0x3c9c0c,_0x9a73c4,_0x36e080,_0xe05abb);return _0x28d295 instanceof _0x5ce61d?_0x28d295[_0x16617c(0x388)]():(_0x28d295 instanceof _0x378326||_0x28d295 instanceof _0x2d15ae)&&_0x28d295[_0x16617c(0x237)](),_0x28d295;}[_0x2f9c02(0x237)](){throw Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};_0x31f6a0=_0x230514([_0x4bc410(0x5,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7[_0x2f9c02(0x204)])),_0x4bc410(0x6,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4a1cad[_0x2f9c02(0x3ae)])),_0x4bc410(0x7,_0x4fa1c7[_0x2f9c02(0x398)]),_0x4bc410(0x8,_0x4fa1c7[_0x2f9c02(0x3d5)]),_0x4bc410(0x9,(0x0,_0x4fa1c7['Optional'])(_0x259e4f))],_0x31f6a0);let _0x27e4ef=class extends _0x5b7b9a{constructor(_0x5bc7af,_0x3b8c10,_0x324172,_0x3aa3b2,_0x363389,_0x283a65,_0x31d861,_0xfb72fe,_0x2d7860,_0x4eedfd,_0x98fb10,_0x4f2623,_0x20ed09,_0x1200d8){const _0xb5f6bc=_0x2f9c02;super(_0x5bc7af,_0x3b8c10,_0x324172,_0x3aa3b2,_0x31d861,_0x98fb10,_0x4f2623,_0x2d7860,_0x1200d8),this['_acknowledgedAwaitingChangeset']=_0x363389,this['_queuedRemoteChangesets']=_0x283a65,this[_0xb5f6bc(0x427)]=_0xfb72fe,this['_logService']=_0x4eedfd,this[_0xb5f6bc(0x1d2)]=_0x20ed09,this['localCacheService']=_0x1200d8,_0x17e69d(this,_0xb5f6bc(0x454),_0x4fcdb8[_0xb5f6bc(0x30c)]);}[_0x2f9c02(0x28b)](_0x89b0cf){const _0x26e81c=_0x2f9c02;try{let _0x47ea63=[..._0x89b0cf,...this[_0x26e81c(0x453)]],_0x2aafb5=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']]['filter'](_0x432c3a=>!!_0x432c3a),_0x18c526,_0x1682ab;if(_0x2aafb5['length']){let _0x3ae4be=this[_0x26e81c(0x1d2)][_0x26e81c(0x2d9)](_0x47ea63,_0x2aafb5,!0x1);if(!(0x0,_0x4a1cad['isTransformChangesetsSuccess'])(_0x3ae4be))throw _0x3ae4be[_0x26e81c(0x2c3)];_0x18c526=_0x3ae4be[_0x26e81c(0x439)],_0x1682ab=_0x3ae4be['c2Prime'];}else _0x18c526=_0x47ea63,_0x1682ab=[];let _0x1fa877=this[_0x26e81c(0x4b9)];_0x18c526['forEach'](_0xb88d93=>{const _0x5a695e=_0x26e81c;let _0x46b613;if(_0x1fa877[_0x5a695e(0x4ca)]){let _0x210c21=this['_transformService'][_0x5a695e(0x3f8)](_0xb88d93,_0x1fa877);if(!(0x0,_0x4a1cad['isTransformMutationsWithChangesetSuccess'])(_0x210c21))throw _0x210c21['error'];_0x46b613=_0x210c21[_0x5a695e(0x439)],_0x1fa877=_0x210c21[_0x5a695e(0x2e0)];}else _0x46b613=_0xb88d93;this['_executeRemoteChangeset'](_0x46b613);}),this[_0x26e81c(0x3d9)]&&this[_0x26e81c(0x33a)](),this[_0x26e81c(0x18b)]&&_0x1682ab[_0x26e81c(0x4ca)]&&(_0x1682ab[0x0][_0x26e81c(0x18e)]=this[_0x26e81c(0x35d)]());let _0x68154c;if(this[_0x26e81c(0x18b)]&&_0x1fa877['length']!==0x0)_0x68154c=this[_0x26e81c(0x427)][_0x26e81c(0x1ad)](_0x378326,this[_0x26e81c(0x264)],this[_0x26e81c(0x29a)],_0x1682ab[0x0],_0x1fa877,this[_0x26e81c(0x1ae)],void 0x0);else{if(this[_0x26e81c(0x18b)]&&_0x1fa877[_0x26e81c(0x4ca)]===0x0)_0x1682ab[0x0]['baseRev']=this[_0x26e81c(0x35d)](),_0x68154c=this[_0x26e81c(0x427)][_0x26e81c(0x1ad)](_0x2d15ae,this['unitID'],this['type'],_0x1682ab[0x0],this['_handler']);else{if(_0x1fa877[_0x26e81c(0x4ca)]!==0x0){let _0x1534f2=this[_0x26e81c(0x427)][_0x26e81c(0x1ad)](_0x5ce61d,this[_0x26e81c(0x264)],this['type'],_0x1fa877,this[_0x26e81c(0x1ae)]);_0x1534f2[_0x26e81c(0x388)](),_0x68154c=_0x1534f2;}else _0x68154c=this[_0x26e81c(0x427)][_0x26e81c(0x1ad)](_0x2ce86e,this['unitID'],this[_0x26e81c(0x29a)],this[_0x26e81c(0x1ae)]);}}return _0x68154c[_0x26e81c(0x530)](),_0x68154c;}catch(_0x27cec0){return this[_0x26e81c(0x22c)]['error']('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x27cec0),this[_0x26e81c(0x427)][_0x26e81c(0x1ad)](_0x224de7,this[_0x26e81c(0x264)],this[_0x26e81c(0x29a)],this[_0x26e81c(0x18b)],this[_0x26e81c(0x4b9)],this[_0x26e81c(0x1ae)],!0x1);}}[_0x2f9c02(0x237)](){const _0x585fe2=_0x2f9c02;throw Error(_0x585fe2(0x20b));}[_0x2f9c02(0x326)](_0x55125f){const _0x465bcb=_0x2f9c02;return this[_0x465bcb(0x4b9)][_0x465bcb(0x3a1)](_0x55125f),this;}[_0x2f9c02(0x4e0)](_0x548b86){const _0x322d5e=_0x2f9c02;return this[_0x322d5e(0x453)][_0x322d5e(0x3a1)](_0x548b86),this;}[_0x2f9c02(0x1e2)](_0x3fc141){const _0x2306ba=_0x2f9c02;if(this[_0x2306ba(0x18b)])return this[_0x2306ba(0x3d9)]=this[_0x2306ba(0x18b)],this[_0x2306ba(0x18b)]=null,this;throw Error(_0x2306ba(0x3dc));}[_0x2f9c02(0x1a6)](_0x417ac5){const _0x11b969=_0x2f9c02;return this[_0x11b969(0x493)](!!(_0x417ac5!=null&&_0x417ac5[_0x11b969(0x405)]));}[_0x2f9c02(0x306)](){return this;}[_0x2f9c02(0x365)](){const _0x501291=_0x2f9c02;return this['_injector']['createInstance'](_0x31f6a0,this[_0x501291(0x264)],this[_0x501291(0x29a)],this[_0x501291(0x18b)],this[_0x501291(0x4b9)],this['_handler']);}['toggleOnline'](){return this;}[_0x2f9c02(0x493)](_0x345e9b){const _0x29b60f=_0x2f9c02;return this['_injector'][_0x29b60f(0x1ad)](_0x224de7,this['unitID'],this[_0x29b60f(0x29a)],this[_0x29b60f(0x18b)],this[_0x29b60f(0x4b9)],this['_handler'],_0x345e9b);}};_0x27e4ef=_0x230514([_0x4bc410(0x7,(0x0,_0x4fa1c7['Inject'])(_0x4fa1c7[_0x2f9c02(0x204)])),_0x4bc410(0x8,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4a1cad[_0x2f9c02(0x3ae)])),_0x4bc410(0x9,_0x4fa1c7['ILogService']),_0x4bc410(0xa,_0x4fa1c7[_0x2f9c02(0x398)]),_0x4bc410(0xb,_0x4fa1c7[_0x2f9c02(0x3d5)]),_0x4bc410(0xc,_0x4a1cad[_0x2f9c02(0x1e0)]),_0x4bc410(0xd,(0x0,_0x4fa1c7[_0x2f9c02(0x476)])(_0x259e4f))],_0x27e4ef);function _0x1e0eb8(_0x41c5ac,_0x49a8ec,_0x15c890,_0x536ed0,_0x40dc28,_0x362527){const _0x42165b=_0x2f9c02;return _0x536ed0&&_0x40dc28[_0x42165b(0x4ca)]?_0x41c5ac[_0x42165b(0x1ad)](_0x378326,_0x49a8ec,_0x15c890,_0x536ed0,_0x40dc28,_0x362527,void 0x0):_0x536ed0?_0x41c5ac[_0x42165b(0x1ad)](_0x2d15ae,_0x49a8ec,_0x15c890,_0x536ed0,_0x362527):_0x40dc28['length']?_0x41c5ac['createInstance'](_0x5ce61d,_0x49a8ec,_0x15c890,_0x40dc28,_0x362527):_0x41c5ac['createInstance'](_0x2ce86e,_0x49a8ec,_0x15c890,_0x362527);}let _0x531b37=class extends _0x4fa1c7['RxDisposable']{get[_0x2f9c02(0x1de)](){const _0x26fbc7=_0x2f9c02;return this[_0x26fbc7(0x428)];}constructor(_0x451d64,_0x26be45,_0x2d8fec,_0x2ffb3b,_0x34555c,_0x42a512,_0x5dc489,_0x3c6473,_0x2776a7,_0x1f8ea2,_0x2304f7,_0x2778f5,_0x30f28e,_0x3a0381){const _0x4a4643=_0x2f9c02;super(),this[_0x4a4643(0x264)]=_0x451d64,this[_0x4a4643(0x45f)]=_0x26be45,this[_0x4a4643(0x308)]=_0x2d8fec,this[_0x4a4643(0x427)]=_0x2ffb3b,this['_compressMutationService']=_0x34555c,this['_localeService']=_0x42a512,this[_0x4a4643(0x46d)]=_0x5dc489,this[_0x4a4643(0x43d)]=_0x3c6473,this[_0x4a4643(0x450)]=_0x2776a7,this[_0x4a4643(0x22c)]=_0x1f8ea2,this[_0x4a4643(0x1bc)]=_0x2304f7,this[_0x4a4643(0x425)]=_0x2778f5,this[_0x4a4643(0x321)]=_0x30f28e,this[_0x4a4643(0x521)]=_0x3a0381,_0x17e69d(this,_0x4a4643(0x46a),new _0x431df8['BehaviorSubject'](null)),_0x17e69d(this,_0x4a4643(0x4ae),this[_0x4a4643(0x46a)][_0x4a4643(0x3a3)]()),_0x17e69d(this,_0x4a4643(0x428),void 0x0),_0x17e69d(this,_0x4a4643(0x36c),!0x1),_0x17e69d(this,'_changesetSessionId',''),_0x17e69d(this,'_changesetReqId',0x0),_0x17e69d(this,_0x4a4643(0x51e),this['state$'][_0x4a4643(0x2a4)]((0x0,_0x431df8[_0x4a4643(0x1e4)])(_0x9ec51=>_0x9ec51?_0x9ec51[_0x4a4643(0x454)]:_0x4fcdb8[_0x4a4643(0x1d0)]),(0x0,_0x431df8['shareReplay'])(0x1))),_0x17e69d(this,'_transitionLocked',!0x1),_0x17e69d(this,_0x4a4643(0x225),[]);}async[_0x2f9c02(0x51f)](){const _0x343f57=_0x2f9c02;if(this['state'])throw Error(_0x343f57(0x464));await this['_init']();}['pauseCollaboration'](){const _0xdbf162=_0x2f9c02;return this[_0xdbf162(0x36c)]=!0x0,(0x0,_0x4fa1c7['toDisposable'])(()=>{const _0x32f506=_0xdbf162;this['_collaborationPaused']=!0x1,this[_0x32f506(0x191)]();});}[_0x2f9c02(0x4b7)](_0x4ac703){const _0x2237fc=_0x2f9c02;this[_0x2237fc(0x534)](_0x4ac703);}[_0x2f9c02(0x257)](_0xf2b3e8){const _0x2f4bfb=_0x2f9c02;this[_0x2f4bfb(0x428)]=_0xf2b3e8,this['_state$'][_0x2f4bfb(0x4d6)](_0xf2b3e8);}async[_0x2f9c02(0x33f)](){const _0x35e08f=_0x2f9c02;if(this['_updateState'](await this[_0x35e08f(0x1ca)]()),this['_singleActiveUnitService']){var _0x53006a;(_0x53006a=this[_0x35e08f(0x321)])==null||_0x53006a[_0x35e08f(0x3bf)](this['unitID']),this[_0x35e08f(0x345)](this['_singleActiveUnitService'][_0x35e08f(0x285)](this[_0x35e08f(0x264)])[_0x35e08f(0x47f)](_0x5c04af=>{const _0x2ef2cf=_0x35e08f;this[_0x2ef2cf(0x22c)][_0x2ef2cf(0x2cf)](_0x2ef2cf(0x382),_0x2ef2cf(0x212),_0x5c04af),_0x5c04af===_0x97ee5b[_0x2ef2cf(0x1a0)]?(this[_0x2ef2cf(0x43d)][_0x2ef2cf(0x2e5)]({'id':_0x1ef886[_0x2ef2cf(0x202)]}),this['_permissionService']['updatePermissionPoint'](new _0x376d47['WorkbookEditablePermission'](this[_0x2ef2cf(0x264)])['id'],!0x1),this[_0x2ef2cf(0x425)][_0x2ef2cf(0x395)](!0x1)):(this[_0x2ef2cf(0x425)]['updatePermissionPoint'](new _0x376d47[(_0x2ef2cf(0x2cd))](this['unitID'])['id'],!0x0),this[_0x2ef2cf(0x425)][_0x2ef2cf(0x395)](!0x0));}));}let _0x3ae380=!0x1;return this[_0x35e08f(0x345)](this['session']['sessionStatus$'][_0x35e08f(0x47f)](_0x5ac690=>{const _0x283d11=_0x35e08f;_0x5ac690===_0x1b3cf0[_0x283d11(0x1c7)]?this[_0x283d11(0x4fa)](_0x3ae380):_0x5ac690===_0x1b3cf0[_0x283d11(0x1d0)]&&(_0x3ae380=!0x0,this[_0x283d11(0x2b6)]());})),this['disposeWithMe'](this[_0x35e08f(0x45f)][_0x35e08f(0x466)][_0x35e08f(0x47f)](_0x3a1fe5=>{const _0x343cea=_0x35e08f;try{switch(_0x3a1fe5[_0x343cea(0x509)]){case _0x4a1cad[_0x343cea(0x31f)][_0x343cea(0x2cc)]:this[_0x343cea(0x474)]((0x0,_0x4a1cad[_0x343cea(0x2d6)])(_0x3a1fe5[_0x343cea(0x275)]));break;case _0x4a1cad['CollaborationEvent'][_0x343cea(0x2e3)]:this[_0x343cea(0x263)](_0x3a1fe5[_0x343cea(0x275)]);break;case _0x4a1cad['CollaborationEvent'][_0x343cea(0x45b)]:this['_onRemoteRejected']();break;case _0x4a1cad[_0x343cea(0x31f)][_0x343cea(0x514)]:this['_onRemoteRetry'](_0x3a1fe5[_0x343cea(0x275)]);break;case _0x4a1cad[_0x343cea(0x31f)][_0x343cea(0x3ca)]:this[_0x343cea(0x51d)](_0x3a1fe5[_0x343cea(0x275)][_0x343cea(0x1c8)]['map'](_0x58e800=>(0x0,_0x4a1cad['parseProtocolChangeset'])(_0x58e800)));break;case _0x4a1cad[_0x343cea(0x31f)][_0x343cea(0x380)]:this[_0x343cea(0x4a0)]({'isPermissionRej':!0x0});break;case _0x4a1cad[_0x343cea(0x31f)][_0x343cea(0x3a8)]:break;}}catch(_0x30952a){throw console[_0x343cea(0x2c3)](_0x343cea(0x486),_0x30952a),_0x30952a;}})),this[_0x35e08f(0x428)];}[_0x2f9c02(0x35e)](){const _0x5afcb=_0x2f9c02;this[_0x5afcb(0x368)]=!0x1;}[_0x2f9c02(0x515)](){const _0x32a48a=_0x2f9c02;if(this[_0x32a48a(0x368)])throw Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x32a48a(0x368)]=!0x0;}['_onLocalMutation'](_0x2ee539){const _0xc210ce=_0x2f9c02;this[_0xc210ce(0x515)](),this[_0xc210ce(0x257)](this[_0xc210ce(0x428)]['appendMutation'](_0x2ee539)),this[_0xc210ce(0x35e)]();}[_0x2f9c02(0x474)](_0x2daa9a){const _0x47dae5=_0x2f9c02;if(!(_0x2daa9a[_0x47dae5(0x520)]<=this['_revisionService'][_0x47dae5(0x3a6)](this[_0x47dae5(0x264)]))){if(this[_0x47dae5(0x36c)]){this[_0x47dae5(0x225)][_0x47dae5(0x3a1)](_0x2daa9a);return;}this['_applyRemoteChangeset'](_0x2daa9a);}}[_0x2f9c02(0x191)](){const _0x1b7736=_0x2f9c02;this[_0x1b7736(0x225)]['forEach'](_0x43ba26=>this[_0x1b7736(0x3f0)](_0x43ba26)),this[_0x1b7736(0x225)]=[];}[_0x2f9c02(0x3f0)](_0x2c762b){const _0x178d3b=_0x2f9c02;let _0xdd279=this[_0x178d3b(0x226)][_0x178d3b(0x524)][_0x178d3b(0x3a4)](this[_0x178d3b(0x226)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x2c762b['mutations'],null)||_0x2c762b['mutations'],_0x59deaa={..._0x2c762b,'mutations':_0xdd279};this['_lockTransition'](),this['_updateState'](this['_state'][_0x178d3b(0x4e0)](_0x59deaa)),this['_unlockTransition']();}[_0x2f9c02(0x263)](_0x39f6e8){const _0x16e2bb=_0x2f9c02;this['_lockTransition'](),this[_0x16e2bb(0x257)](this[_0x16e2bb(0x428)][_0x16e2bb(0x1e2)](_0x39f6e8)),this[_0x16e2bb(0x35e)]();}['_onRemoteRejected'](_0x259306){const _0x15216f=_0x2f9c02;this[_0x15216f(0x515)](),this[_0x15216f(0x257)](this[_0x15216f(0x428)][_0x15216f(0x1a6)](_0x259306)),this['_unlockTransition']();}[_0x2f9c02(0x27f)](_0x3ffade){const _0x50ac07=_0x2f9c02;this['_lockTransition'](),this[_0x50ac07(0x257)](this[_0x50ac07(0x428)][_0x50ac07(0x306)](_0x3ffade)),this[_0x50ac07(0x35e)]();}[_0x2f9c02(0x51d)](_0x5887ef){const _0x871af3=_0x2f9c02;if(!(this['_state']instanceof _0x27e4ef))throw TypeError(_0x871af3(0x28a));let _0x367570=_0x5887ef['map'](_0x41abbb=>{const _0x1b3cf6=_0x871af3;let _0x4e1d93=this[_0x1b3cf6(0x226)]['interceptor'][_0x1b3cf6(0x3a4)](this[_0x1b3cf6(0x226)][_0x1b3cf6(0x524)][_0x1b3cf6(0x36e)]()[_0x1b3cf6(0x40c)])(_0x41abbb[_0x1b3cf6(0x494)],null)||_0x41abbb['mutations'];return{..._0x41abbb,'mutations':_0x4e1d93};});this[_0x871af3(0x515)](),this[_0x871af3(0x257)](this[_0x871af3(0x428)]['onMissedChangesetFetched'](_0x367570)),this[_0x871af3(0x35e)]();}[_0x2f9c02(0x2b6)](){const _0x2ce58f=_0x2f9c02;this[_0x2ce58f(0x515)](),this[_0x2ce58f(0x257)](this['_state'][_0x2ce58f(0x365)]()),this[_0x2ce58f(0x35e)]();}[_0x2f9c02(0x4fa)](_0x492ab0=!0x1){const _0x20445e=_0x2f9c02;this['_lockTransition'](),this[_0x20445e(0x257)](this['_state'][_0x20445e(0x3c7)]()),this[_0x20445e(0x35e)]();let _0x571638=this[_0x20445e(0x428)];_0x492ab0&&_0x571638 instanceof _0x2ce86e&&(this[_0x20445e(0x515)](),this[_0x20445e(0x257)](_0x571638[_0x20445e(0x25b)]()),this[_0x20445e(0x35e)]());}async[_0x2f9c02(0x1ca)](){return new Promise(_0x357449=>{const _0x17c3c8=_0x50be;this[_0x17c3c8(0x45f)][_0x17c3c8(0x424)]['pipe']((0x0,_0x431df8[_0x17c3c8(0x3c2)])(0x1))[_0x17c3c8(0x47f)](async _0x39e99c=>{const _0xbbc05=_0x17c3c8;_0x357449(await this['_createInitialStateImpl'](_0x39e99c===_0x1b3cf0[_0xbbc05(0x1c7)]));});});}['_createHandler'](){const _0x570556=_0x2f9c02;let _0x663e45=this[_0x570556(0x264)];return{'onStateChange':(_0x37beb7,_0x13f9ab)=>{const _0x4183d0=_0x570556;if(_0x37beb7!==this[_0x4183d0(0x428)])throw Error(_0x4183d0(0x1d4)+_0x37beb7['status']+_0x4183d0(0x360)+_0x13f9ab[_0x4183d0(0x454)]+'\x0aCurrent:\x20'+this[_0x4183d0(0x428)]['status']);this[_0x4183d0(0x257)](_0x13f9ab);},'onSendChangeset':_0x22540d=>{const _0x1c8151=_0x570556;_0x22540d[_0x1c8151(0x22a)]||(_0x22540d[_0x1c8151(0x22a)]=this[_0x1c8151(0x1af)],_0x22540d[_0x1c8151(0x1fa)]=++this[_0x1c8151(0x274)]);let _0x16463e={'eventID':_0x4a1cad[_0x1c8151(0x31f)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x22540d[_0x1c8151(0x264)],'unitType':this[_0x1c8151(0x308)],'changeset':_0x22540d,'memberID':this[_0x1c8151(0x45f)][_0x1c8151(0x1cf)]()}};this['session'][_0x1c8151(0x419)](_0x16463e,this[_0x1c8151(0x264)]);},'onMissingChangesets':({from:_0x335e6a,to:_0x55d666})=>{const _0x1a1f42=_0x570556;this[_0x1a1f42(0x22c)][_0x1a1f42(0x2cf)](_0x1a1f42(0x382),_0x1a1f42(0x2c1)+_0x335e6a+_0x1a1f42(0x3df)+_0x55d666);let _0xc42cb0={'eventID':_0x4a1cad['CollaborationEvent']['FETCH_MISSING'],'data':{'unitID':_0x663e45,'unitType':this[_0x1a1f42(0x308)],'from':_0x335e6a,'to':_0x55d666}};this[_0x1a1f42(0x45f)]['send'](_0xc42cb0,this[_0x1a1f42(0x264)]);}};}async['_createInitialStateImpl'](_0x1a874a){const _0x12e5ae=_0x2f9c02;var _0x102c95,_0x58fca3,_0x1677bc;let _0xda1a1b=await((_0x102c95=this[_0x12e5ae(0x521)])==null?void 0x0:_0x102c95[_0x12e5ae(0x4c3)](this[_0x12e5ae(0x264)])),_0xa4e426=(_0x58fca3=_0xda1a1b==null?void 0x0:_0xda1a1b['mutations'])==null?[]:_0x58fca3,_0x484ffc=(_0x1677bc=_0xda1a1b==null?void 0x0:_0xda1a1b['awaitingChangeset'])==null?null:_0x1677bc,_0x597ed4=!!(_0x484ffc!=null&&_0x484ffc[_0x12e5ae(0x22a)])&&!!(_0x484ffc!=null&&_0x484ffc[_0x12e5ae(0x1fa)]);this[_0x12e5ae(0x1af)]=_0x597ed4?_0x484ffc['sid']:(0x0,_0x4a1cad['uuidv4'])(),this[_0x12e5ae(0x274)]=_0x597ed4?_0x484ffc['reqId']:0x0;let _0x4ec151=this['unitID'];try{this['_replayCachedMutations'](_0x484ffc,_0xa4e426);}catch(_0x38ecdf){this[_0x12e5ae(0x22c)][_0x12e5ae(0x2c3)](_0x38ecdf);}let _0x105f1d=this[_0x12e5ae(0x4df)]();if(_0x1a874a){let _0x9afa12=_0x1e0eb8(this[_0x12e5ae(0x427)],_0x4ec151,this[_0x12e5ae(0x308)],_0x484ffc,_0xa4e426,_0x105f1d);return _0x9afa12 instanceof _0x5ce61d?_0x9afa12['_schedule']():(_0x9afa12 instanceof _0x378326||_0x9afa12 instanceof _0x2d15ae)&&_0x9afa12[_0x12e5ae(0x237)](),_0x9afa12;}return this[_0x12e5ae(0x427)][_0x12e5ae(0x1ad)](_0x31f6a0,_0x4ec151,this['_type'],_0x484ffc,_0xa4e426,_0x105f1d);}['_replayCachedMutations'](_0x33744a,_0x3d989f){const _0x2a2d5f=_0x2f9c02;var _0x46c0ff,_0x42f4ee;let _0x36e917=this[_0x2a2d5f(0x226)]['interceptor'][_0x2a2d5f(0x3a4)](this['_compressMutationService'][_0x2a2d5f(0x524)]['getInterceptPoints']()[_0x2a2d5f(0x40c)]);(_0x46c0ff=_0x36e917((_0x33744a==null?void 0x0:_0x33744a[_0x2a2d5f(0x494)])||[],null))==null||_0x46c0ff['forEach'](_0x28b2c4=>this['_commandService']['executeCommand'](_0x28b2c4['id'],_0x28b2c4[_0x2a2d5f(0x433)])),(_0x42f4ee=_0x36e917(_0x3d989f||[],null))==null||_0x42f4ee[_0x2a2d5f(0x401)](_0x111a4f=>this[_0x2a2d5f(0x1bc)][_0x2a2d5f(0x2fc)](_0x111a4f['id'],_0x111a4f['params']));}};_0x531b37=_0x230514([_0x4bc410(0x3,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7[_0x2f9c02(0x204)])),_0x4bc410(0x4,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4a1cad['CompressMutationService'])),_0x4bc410(0x5,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7[_0x2f9c02(0x436)])),_0x4bc410(0x6,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4a1cad[_0x2f9c02(0x3ae)])),_0x4bc410(0x7,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x1619bd)),_0x4bc410(0x8,_0x4fa1c7['IUniverInstanceService']),_0x4bc410(0x9,_0x4fa1c7['ILogService']),_0x4bc410(0xa,_0x4fa1c7['ICommandService']),_0x4bc410(0xb,_0x4fa1c7[_0x2f9c02(0x218)]),_0x4bc410(0xc,(0x0,_0x4fa1c7[_0x2f9c02(0x476)])(_0x12f31b)),_0x4bc410(0xd,(0x0,_0x4fa1c7[_0x2f9c02(0x476)])(_0x259e4f))],_0x531b37);let _0x4ce514=class extends _0x531b37{constructor(_0x337163,_0x2a440a,_0x3594e2,_0x17176c,_0x18fa5e,_0x12e609,_0x2f9725,_0xfab856,_0x49a892,_0x42de48,_0x54745d,_0x574d01,_0x4dcb5a,_0x3c3a3d){const _0x26ca63=_0x2f9c02;super(_0x337163,_0x3594e2,_0x2a440a,_0x17176c,_0x18fa5e,_0x12e609,_0x2f9725,_0xfab856,_0x49a892,_0x42de48,_0x54745d,_0x574d01,_0x4dcb5a,_0x3c3a3d),this[_0x26ca63(0x264)]=_0x337163,this[_0x26ca63(0x29a)]=_0x2a440a,_0x17e69d(this,'_handlerCallback',null);}[_0x2f9c02(0x184)](_0x2bcb46){const _0x22b0bb=_0x2f9c02;this[_0x22b0bb(0x23f)]=_0x2bcb46;}[_0x2f9c02(0x4a5)](){const _0x3ee378=_0x2f9c02;this[_0x3ee378(0x23f)]=null,super[_0x3ee378(0x4a5)]();}[_0x2f9c02(0x4df)](){const _0x4d9fb0=_0x2f9c02;let _0x496441=super[_0x4d9fb0(0x4df)]();return _0x496441['onTransformIME']=_0x1599be=>{const _0x181ed5=_0x4d9fb0;var _0x41da14,_0x4fdc26;return(_0x41da14=this[_0x181ed5(0x23f)])==null||(_0x4fdc26=_0x41da14['onTransformIME'])==null?void 0x0:_0x4fdc26[_0x181ed5(0x18a)](_0x41da14,_0x1599be);},_0x496441['onTransformState']=_0x18a7ba=>{const _0x3119dc=_0x4d9fb0;var _0x4b9cda,_0xf74e40;return(_0x4b9cda=this['_handlerCallback'])==null||(_0xf74e40=_0x4b9cda[_0x3119dc(0x1e8)])==null?void 0x0:_0xf74e40[_0x3119dc(0x18a)](_0x4b9cda,_0x18a7ba);},_0x496441[_0x4d9fb0(0x295)]=_0x7caa9b=>{const _0x2a2b26=_0x4d9fb0;var _0x58f890,_0x17e5e8;return(_0x58f890=this[_0x2a2b26(0x23f)])==null||(_0x17e5e8=_0x58f890[_0x2a2b26(0x295)])==null?void 0x0:_0x17e5e8[_0x2a2b26(0x18a)](_0x58f890,_0x7caa9b);},_0x496441[_0x4d9fb0(0x42a)]=_0x444ff4=>{const _0x585b9e=_0x4d9fb0;var _0x24476b,_0x346691;return(_0x24476b=this[_0x585b9e(0x23f)])==null||(_0x346691=_0x24476b['onSyncEditingCollabCursor'])==null?void 0x0:_0x346691['call'](_0x24476b,_0x444ff4);},_0x496441['onTransformRemoteChangesetByIMECache']=_0x321e86=>{const _0x2567ef=_0x4d9fb0;var _0x4ca05a,_0x228b7f,_0x2d7aa3;if(!((_0x4ca05a=this[_0x2567ef(0x23f)])!=null&&_0x4ca05a[_0x2567ef(0x39e)]))throw Error(_0x2567ef(0x3f5));return(_0x228b7f=this[_0x2567ef(0x23f)])==null||(_0x2d7aa3=_0x228b7f[_0x2567ef(0x39e)])==null?void 0x0:_0x2d7aa3[_0x2567ef(0x18a)](_0x228b7f,_0x321e86);},_0x496441[_0x4d9fb0(0x193)]=_0x2b7cd3=>{const _0x3aa369=_0x4d9fb0;var _0x51c3d9,_0x771e48,_0x250309;if(!((_0x51c3d9=this['_handlerCallback'])!=null&&_0x51c3d9[_0x3aa369(0x193)]))throw Error(_0x3aa369(0x462));return(_0x771e48=this['_handlerCallback'])==null||(_0x250309=_0x771e48['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x250309[_0x3aa369(0x18a)](_0x771e48,_0x2b7cd3);},_0x496441;}async['_init'](){const _0x1c53f1=_0x2f9c02;let _0x4b3cf8=await super['_init']();return this[_0x1c53f1(0x345)](this[_0x1c53f1(0x1bc)][_0x1c53f1(0x37e)]((_0x2e52bf,_0x325757)=>{const _0x59bbec=_0x1c53f1;if(_0x2e52bf[_0x59bbec(0x29a)]!==_0x4fa1c7[_0x59bbec(0x478)][_0x59bbec(0x527)]||_0x325757!=null&&_0x325757[_0x59bbec(0x42c)]||_0x325757!=null&&_0x325757[_0x59bbec(0x2ee)]||_0x2e52bf['id']===_0x5ed934[_0x59bbec(0x1ac)]['id'])return;let _0x3cfdd9=_0x2e52bf[_0x59bbec(0x433)];if((_0x3cfdd9==null?void 0x0:_0x3cfdd9[_0x59bbec(0x2a9)])!==this['unitID'])return;let _0x1516e9=_0x2e52bf,_0x45b7f0=this[_0x59bbec(0x226)][_0x59bbec(0x524)][_0x59bbec(0x3a4)](this[_0x59bbec(0x226)]['interceptor'][_0x59bbec(0x36e)]()['COMPRESS_MUTATION_SEND'])([_0x1516e9],this['_univerInstanceService'])||[_0x1516e9];this['_onLocalMutation'](_0x45b7f0[0x0]);})),_0x4b3cf8;}};_0x4ce514=_0x230514([_0x4bc410(0x3,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7[_0x2f9c02(0x204)])),_0x4bc410(0x4,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4a1cad[_0x2f9c02(0x416)])),_0x4bc410(0x5,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7[_0x2f9c02(0x436)])),_0x4bc410(0x6,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4a1cad[_0x2f9c02(0x3ae)])),_0x4bc410(0x7,(0x0,_0x4fa1c7['Inject'])(_0x1619bd)),_0x4bc410(0x8,_0x4fa1c7[_0x2f9c02(0x1fc)]),_0x4bc410(0x9,_0x4fa1c7['ILogService']),_0x4bc410(0xa,_0x4fa1c7['ICommandService']),_0x4bc410(0xb,_0x4fa1c7[_0x2f9c02(0x218)]),_0x4bc410(0xc,(0x0,_0x4fa1c7[_0x2f9c02(0x476)])(_0x12f31b)),_0x4bc410(0xd,(0x0,_0x4fa1c7['Optional'])(_0x259e4f))],_0x4ce514);let _0x355a72=class extends _0x531b37{constructor(_0xe3732,_0x58ef79,_0x2b5a94,_0x4c9326,_0x28fe11,_0x585e7f,_0x1ff235,_0x4dea6b,_0x2fe6f3,_0x151583,_0x9c95d2,_0x282253,_0x5e3d1c,_0x13c6f0,_0xa6bd21){const _0x491149=_0x2f9c02;super(_0xe3732,_0x2b5a94,_0x58ef79,_0x4c9326,_0x28fe11,_0x585e7f,_0x1ff235,_0x2fe6f3,_0x151583,_0x9c95d2,_0x282253,_0x5e3d1c,_0x13c6f0,_0xa6bd21),this[_0x491149(0x264)]=_0xe3732,this[_0x491149(0x29a)]=_0x58ef79,this[_0x491149(0x207)]=_0x4dea6b;}['_createHandler'](){const _0x16e8dc=_0x2f9c02;let _0x3639fd=super['_createHandler']();return _0x3639fd[_0x16e8dc(0x295)]=_0x1bfd74=>this['_sheetTransformSelectionsService'][_0x16e8dc(0x1a1)](_0x1bfd74),_0x3639fd;}async[_0x2f9c02(0x33f)](){const _0x430042=_0x2f9c02;let _0x2479f7=await super['_init']();return this[_0x430042(0x345)](this[_0x430042(0x1bc)][_0x430042(0x37e)]((_0x2324a1,_0x3d80a5)=>{const _0xea85f8=_0x430042;if(_0x2324a1[_0xea85f8(0x29a)]!==_0x4fa1c7[_0xea85f8(0x478)][_0xea85f8(0x527)]||_0x3d80a5!=null&&_0x3d80a5[_0xea85f8(0x42c)]||_0x3d80a5!=null&&_0x3d80a5['onlyLocal'])return;let _0x4d12e0=_0x2324a1['params'];if((_0x4d12e0==null?void 0x0:_0x4d12e0[_0xea85f8(0x2a9)])!==this[_0xea85f8(0x264)])return;let _0x46072c=_0x2324a1,_0x11d9ae=this['_compressMutationService'][_0xea85f8(0x524)][_0xea85f8(0x3a4)](this[_0xea85f8(0x226)][_0xea85f8(0x524)][_0xea85f8(0x36e)]()[_0xea85f8(0x2bf)])([_0x46072c],this[_0xea85f8(0x450)])||[_0x46072c];this[_0xea85f8(0x534)](_0x11d9ae[0x0]);})),_0x2479f7;}};_0x355a72=_0x230514([_0x4bc410(0x3,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7[_0x2f9c02(0x204)])),_0x4bc410(0x4,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4a1cad[_0x2f9c02(0x416)])),_0x4bc410(0x5,(0x0,_0x4fa1c7['Inject'])(_0x4fa1c7[_0x2f9c02(0x436)])),_0x4bc410(0x6,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4a1cad['RevisionService'])),_0x4bc410(0x7,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x1de656)),_0x4bc410(0x8,(0x0,_0x4fa1c7['Inject'])(_0x1619bd)),_0x4bc410(0x9,_0x4fa1c7[_0x2f9c02(0x1fc)]),_0x4bc410(0xa,_0x4fa1c7['ILogService']),_0x4bc410(0xb,_0x4fa1c7[_0x2f9c02(0x398)]),_0x4bc410(0xc,_0x4fa1c7[_0x2f9c02(0x218)]),_0x4bc410(0xd,(0x0,_0x4fa1c7[_0x2f9c02(0x476)])(_0x12f31b)),_0x4bc410(0xe,(0x0,_0x4fa1c7['Optional'])(_0x259e4f))],_0x355a72);let _0x25bbcd=(0x0,_0x4fa1c7['createIdentifier'])('univer-pro.collaboration-client.network-condition.service');function _0x48e6d7(_0x5c5f30){const _0x35cedb=_0x2f9c02;let _0x21c411=_0x5c5f30[_0x35cedb(0x275)],_0x57dc82=JSON[_0x35cedb(0x1cb)](_0x21c411);switch(_0x57dc82['cmd']){case _0x35b3d8['HEARTBEAT']:case _0x35b3d8[_0x35cedb(0x489)]:{let _0x1aa577=_0x57dc82['infoRsp'];return{..._0x57dc82,'data':_0x1aa577,'cmd':_0x57dc82['cmd']};}case _0x35b3d8['JOIN']:{let _0x2a9653=_0x57dc82['joinRsp'];return{..._0x57dc82,'data':_0x2a9653,'cmd':_0x57dc82[_0x35cedb(0x1da)]};}case _0x35b3d8[_0x35cedb(0x437)]:{let _0x28f788=_0x57dc82['collaMsg'];switch(_0x28f788['eventID']){case _0x4a1cad['CollaborationEvent'][_0x35cedb(0x380)]:var _0x2b7fbc;return{..._0x57dc82,'data':{..._0x28f788,'data':(_0x2b7fbc=_0x28f788[_0x35cedb(0x1bd)])==null?void 0x0:_0x2b7fbc['cs']},'cmd':_0x57dc82[_0x35cedb(0x1da)]};case _0x4a1cad[_0x35cedb(0x31f)][_0x35cedb(0x2e3)]:var _0x300de9;return{..._0x57dc82,'data':{..._0x28f788,'data':(_0x300de9=_0x28f788[_0x35cedb(0x444)])==null?void 0x0:_0x300de9['cs']},'cmd':_0x57dc82[_0x35cedb(0x1da)]};case _0x4a1cad[_0x35cedb(0x31f)][_0x35cedb(0x2cc)]:var _0x3d99f7;return{..._0x57dc82,'data':{..._0x28f788,'data':(_0x3d99f7=_0x28f788[_0x35cedb(0x500)])==null?void 0x0:_0x3d99f7['cs']},'cmd':_0x57dc82[_0x35cedb(0x1da)]};case _0x4a1cad[_0x35cedb(0x31f)][_0x35cedb(0x45b)]:var _0x3c35c8;return{..._0x57dc82,'data':{..._0x28f788,'data':(_0x3c35c8=_0x28f788[_0x35cedb(0x344)])==null?void 0x0:_0x3c35c8['cs']},'cmd':_0x57dc82[_0x35cedb(0x1da)]};case _0x4a1cad[_0x35cedb(0x31f)][_0x35cedb(0x514)]:var _0x2e171b;return{..._0x57dc82,'data':{..._0x28f788,'data':(_0x2e171b=_0x28f788[_0x35cedb(0x49e)])==null?void 0x0:_0x2e171b['cs']},'cmd':_0x57dc82[_0x35cedb(0x1da)]};case _0x4a1cad[_0x35cedb(0x31f)][_0x35cedb(0x472)]:return{..._0x57dc82,'data':{..._0x28f788,'data':_0x28f788[_0x35cedb(0x2a1)]},'cmd':_0x57dc82[_0x35cedb(0x1da)]};case _0x4a1cad['CollaborationEvent'][_0x35cedb(0x511)]:return{..._0x57dc82,'data':{..._0x28f788,'data':_0x28f788[_0x35cedb(0x3cb)]},'cmd':_0x57dc82[_0x35cedb(0x1da)]};case _0x4a1cad[_0x35cedb(0x31f)][_0x35cedb(0x42b)]:return{..._0x57dc82,'data':{..._0x28f788,'data':_0x28f788['leaveEvent']},'cmd':_0x57dc82[_0x35cedb(0x1da)]};case _0x4a1cad[_0x35cedb(0x31f)][_0x35cedb(0x47d)]:return{..._0x57dc82,'data':{..._0x28f788,'data':_0x28f788['liveShareNewHost']},'cmd':_0x57dc82['cmd']};case _0x4a1cad[_0x35cedb(0x31f)]['LIVESHARE_FETCH_OPERATIONS']:case _0x4a1cad[_0x35cedb(0x31f)][_0x35cedb(0x4ff)]:return{..._0x57dc82,'data':{..._0x28f788,'data':_0x28f788['liveShareOperation']},'cmd':_0x57dc82[_0x35cedb(0x1da)]};case _0x4a1cad[_0x35cedb(0x31f)][_0x35cedb(0x232)]:return{..._0x57dc82,'data':{..._0x28f788,'data':_0x28f788[_0x35cedb(0x30b)]},'cmd':_0x57dc82[_0x35cedb(0x1da)]};case _0x4a1cad[_0x35cedb(0x31f)]['MSG_FOR_ERROR']:return{..._0x57dc82,'data':_0x28f788,'cmd':_0x57dc82['cmd']};case _0x4a1cad[_0x35cedb(0x31f)]['COMMENT_UPDATE']:return{..._0x57dc82,'data':{..._0x28f788,'data':_0x28f788['commentUpdateEvent']},'cmd':_0x57dc82[_0x35cedb(0x1da)]};case _0x4a1cad[_0x35cedb(0x31f)]['UPDATE_PERMISSION_OBJ']:return{..._0x57dc82,'data':{..._0x28f788,'data':_0x28f788[_0x35cedb(0x266)]},'cmd':_0x57dc82[_0x35cedb(0x1da)]};case _0x4a1cad[_0x35cedb(0x31f)][_0x35cedb(0x35f)]:return{..._0x57dc82,'data':{..._0x28f788,'data':_0x28f788['shouldCloseConn']},'cmd':_0x57dc82['cmd']};case _0x4a1cad['CollaborationEvent'][_0x35cedb(0x3a8)]:return{..._0x57dc82,'data':{..._0x28f788,'data':_0x28f788[_0x35cedb(0x4d3)]},'cmd':_0x57dc82[_0x35cedb(0x1da)]};default:return _0x57dc82;}}default:return _0x57dc82;}}function _0x247af3(_0x8edb6f){const _0x525260=_0x2f9c02;switch(_0x8edb6f[_0x525260(0x1da)]){case _0x35b3d8['HEARTBEAT']:case _0x35b3d8[_0x525260(0x489)]:return JSON[_0x525260(0x38a)]({'cmd':_0x8edb6f['cmd'],'routeKey':_0x8edb6f['routeKey']});case _0x35b3d8['INGEST']:{let _0x4fbcad;switch(_0x8edb6f[_0x525260(0x275)][_0x525260(0x509)]){case _0x4a1cad[_0x525260(0x31f)][_0x525260(0x472)]:_0x4fbcad={'eventID':_0x4a1cad[_0x525260(0x31f)][_0x525260(0x472)],'updateCursorEvent':_0x8edb6f[_0x525260(0x275)]['data']};break;case _0x4a1cad[_0x525260(0x31f)][_0x525260(0x42b)]:_0x4fbcad={'eventID':_0x4a1cad['CollaborationEvent'][_0x525260(0x42b)],'leaveEvent':_0x8edb6f[_0x525260(0x275)][_0x525260(0x275)]};break;case _0x4a1cad[_0x525260(0x31f)][_0x525260(0x511)]:_0x4fbcad={'eventID':_0x4a1cad[_0x525260(0x31f)][_0x525260(0x511)],'joinEvent':_0x8edb6f[_0x525260(0x275)][_0x525260(0x275)]};break;case _0x4a1cad[_0x525260(0x31f)][_0x525260(0x47d)]:_0x4fbcad={'eventID':_0x4a1cad[_0x525260(0x31f)][_0x525260(0x47d)],'liveShareNewHost':_0x8edb6f['data'][_0x525260(0x275)]};break;case _0x4a1cad[_0x525260(0x31f)]['LIVESHARE_OPERATION']:_0x4fbcad={'eventID':_0x4a1cad['CollaborationEvent'][_0x525260(0x4ff)],'liveShareOperation':_0x8edb6f[_0x525260(0x275)][_0x525260(0x275)]};break;case _0x4a1cad[_0x525260(0x31f)][_0x525260(0x232)]:_0x4fbcad={'eventID':_0x4a1cad['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x8edb6f[_0x525260(0x275)][_0x525260(0x275)]};break;case _0x4a1cad['CollaborationEvent']['LIVESHARE_REQUEST_HOST']:_0x4fbcad={'eventID':_0x4a1cad[_0x525260(0x31f)][_0x525260(0x412)],'liveShareRequestHost':_0x8edb6f['data'][_0x525260(0x275)]};break;case _0x4a1cad[_0x525260(0x31f)]['LIVESHARE_FETCH_OPERATIONS']:_0x4fbcad={'eventID':_0x4a1cad[_0x525260(0x31f)]['LIVESHARE_FETCH_OPERATIONS']};break;default:_0x4fbcad={'eventID':_0x8edb6f['data'][_0x525260(0x509)]};}return JSON[_0x525260(0x38a)]({'cmd':_0x8edb6f[_0x525260(0x1da)],'routeKey':_0x8edb6f[_0x525260(0x20d)],'collaMsg':_0x4fbcad});}case _0x35b3d8['JOIN']:return JSON[_0x525260(0x38a)]({'cmd':_0x8edb6f[_0x525260(0x1da)],'routeKey':_0x8edb6f[_0x525260(0x20d)],'joinReq':_0x8edb6f[_0x525260(0x275)]});case _0x35b3d8[_0x525260(0x221)]:return JSON['stringify']({'cmd':_0x8edb6f[_0x525260(0x1da)],'routeKey':_0x8edb6f[_0x525260(0x20d)],'leaveReq':_0x8edb6f['data']});default:throw Error(_0x525260(0x3cf));}}let _0x268137=(0x0,_0x4fa1c7[_0x2f9c02(0x41b)])(_0x2f9c02(0x267));function _0x3f82f9(_0x1acfc4,_0x3f7b01,_0x5f28ee){const _0x79a229=_0x2f9c02;return _0x1acfc4+'/'+_0x3f7b01+'/unit/'+_0x5f28ee+_0x79a229(0x1dc);}let _0x3a12ab=class extends _0x4fa1c7[_0x2f9c02(0x406)]{constructor(_0x571b9c,_0x4cd75c,_0x18c289,_0x586ee3,_0x5986b8){const _0x403e31=_0x2f9c02;super(),this[_0x403e31(0x427)]=_0x571b9c,this[_0x403e31(0x48d)]=_0x4cd75c,this[_0x403e31(0x280)]=_0x18c289,this[_0x403e31(0x22c)]=_0x586ee3,this[_0x403e31(0x366)]=_0x5986b8;}[_0x2f9c02(0x2d1)](_0x318701){const _0x1a0bee=_0x2f9c02;let _0x8ce13e=this['_injector'][_0x1a0bee(0x1df)](_0x4ba8c3[_0x1a0bee(0x4e2)]);if(!_0x8ce13e)throw Error(_0x1a0bee(0x220));let _0xed0814=_0x8ce13e[_0x1a0bee(0x307)](_0x318701);if(!_0xed0814)throw Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');let _0x2191a8=new _0x4fa1c7[(_0x1a0bee(0x1b0))](),_0x28616e=new _0x431df8[(_0x1a0bee(0x43c))]();_0x2191a8[_0x1a0bee(0x2ca)](_0xed0814[_0x1a0bee(0x223)]['subscribe'](_0x34f192=>_0x28616e[_0x1a0bee(0x4d6)](_0x34f192))),_0x2191a8[_0x1a0bee(0x2ca)]((0x0,_0x4fa1c7[_0x1a0bee(0x2eb)])(()=>_0x28616e[_0x1a0bee(0x2a3)]()));let _0x5bda81=new _0x431df8[(_0x1a0bee(0x43c))]();_0x2191a8['add'](_0xed0814['error$'][_0x1a0bee(0x47f)](_0x25eb4a=>_0x5bda81[_0x1a0bee(0x4d6)](_0x25eb4a))),_0x2191a8[_0x1a0bee(0x2ca)]((0x0,_0x4fa1c7[_0x1a0bee(0x2eb)])(()=>_0x5bda81[_0x1a0bee(0x2a3)]()));let _0x3adeb1=new _0x431df8[(_0x1a0bee(0x43c))]();_0x2191a8[_0x1a0bee(0x2ca)](_0xed0814[_0x1a0bee(0x32f)][_0x1a0bee(0x47f)](_0x1f0a81=>{let _0x441bd9=_0x48e6d7(_0x1f0a81);_0x3adeb1['next'](_0x441bd9);})),_0x2191a8[_0x1a0bee(0x2ca)]((0x0,_0x4fa1c7['toDisposable'])(()=>_0x3adeb1['complete']()));let _0xc7206e,_0x2dbfef=()=>{const _0x42b5f6=_0x1a0bee;_0x5bda81[_0x42b5f6(0x4d6)](new Event('connection\x20error')),_0x28616e[_0x42b5f6(0x4d6)](new Event(_0x42b5f6(0x250))),_0xc7206e[_0x42b5f6(0x33d)]();};return _0xc7206e={'memberID':'','close$':_0x28616e['asObservable'](),'error$':_0x5bda81[_0x1a0bee(0x3a3)](),'open$':_0xed0814[_0x1a0bee(0x4ee)],'message$':_0x3adeb1[_0x1a0bee(0x3a3)](),'send':_0x12b898=>{const _0x3ad342=_0x1a0bee;if(_0x12b898[_0x3ad342(0x1da)]===_0x35b3d8[_0x3ad342(0x316)]){if(_0x12b898[_0x3ad342(0x275)][_0x3ad342(0x509)]===_0x4a1cad[_0x3ad342(0x31f)][_0x3ad342(0x3a5)]){this['_submitChangeset'](_0xc7206e,_0x12b898[_0x3ad342(0x275)])[_0x3ad342(0x1f8)](_0x4e7470=>{const _0x5b644f=_0x3ad342;this[_0x5b644f(0x22c)][_0x5b644f(0x2c3)](_0x4e7470),_0x2dbfef();});return;}if(_0x12b898['data'][_0x3ad342(0x509)]===_0x4a1cad[_0x3ad342(0x31f)]['FETCH_MISSING']){let _0xb53ff4=_0x12b898[_0x3ad342(0x275)];this['_fetchMissChangesets'](_0xb53ff4)[_0x3ad342(0x2af)](_0x18e046=>{const _0x553426=_0x3ad342;_0x3adeb1['next']({'cmd':_0x35b3d8[_0x553426(0x437)],'code':_0x2a47fe['OK'],'routeKey':_0xb53ff4['data'][_0x553426(0x264)],'routeType':'','data':{'eventID':_0x4a1cad['CollaborationEvent'][_0x553426(0x3ca)],'data':{'changesets':_0x18e046}}});})['catch'](_0xca09d7=>{const _0x37a833=_0x3ad342;this['_logService'][_0x37a833(0x2c3)](_0xca09d7),_0x2dbfef();});return;}}_0xed0814['send'](_0x247af3(_0x12b898));},'close':()=>{const _0x11794c=_0x1a0bee;_0xed0814[_0x11794c(0x33d)](),_0x2191a8[_0x11794c(0x4a5)]();}},_0xc7206e;}async['_submitChangeset'](_0x5ed026,_0x3f73e3){const _0xb8db64=_0x2f9c02;var _0x1713f5;let {unitType:_0x24ee06,unitID:_0x8718fd,changeset:_0x4594cc}=_0x3f73e3[_0xb8db64(0x275)],_0x391022={'unitID':_0x8718fd,'memberID':_0x5ed026['memberID'],'type':_0x24ee06,'changeset':(0x0,_0x4a1cad['parseChangesetToProtocol'])(_0x4594cc)},_0x33747f=this[_0xb8db64(0x280)][_0xb8db64(0x21e)](_0x1f2256),_0x4563c9=_0x3f82f9((_0x1713f5=_0x33747f==null?void 0x0:_0x33747f[_0xb8db64(0x187)])==null?'/universer-api/comb':_0x1713f5,_0x24ee06,_0x8718fd);try{await this['_httpService'][_0xb8db64(0x340)](_0x4563c9,{'body':_0x391022});}catch(_0xf47064){throw this['_logService'][_0xb8db64(0x2c3)]('[CollaborationSession]',_0xb8db64(0x482)),_0xf47064;}}async[_0x2f9c02(0x2bb)](_0x1cd14a){const _0x3e19ec=_0x2f9c02;let {unitID:_0x88f1b4,from:_0x558167,to:_0x57d05a,unitType:_0x18043e}=_0x1cd14a[_0x3e19ec(0x275)];return(await this[_0x3e19ec(0x366)][_0x3e19ec(0x354)]({'metadata':void 0x0},{'unitID':_0x88f1b4,'type':_0x18043e,'from':_0x558167,'to':_0x57d05a}))[_0x3e19ec(0x1c8)][_0x3e19ec(0x1e4)](_0x1b94e5=>((_0x1b94e5[_0x3e19ec(0x494)]===null||_0x1b94e5['mutations']===void 0x0)&&(_0x1b94e5[_0x3e19ec(0x494)]=[]),_0x1b94e5));}};_0x3a12ab=_0x230514([_0x4bc410(0x0,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7[_0x2f9c02(0x204)])),_0x4bc410(0x1,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4ba8c3[_0x2f9c02(0x2c9)])),_0x4bc410(0x2,_0x4fa1c7[_0x2f9c02(0x2bc)]),_0x4bc410(0x3,_0x4fa1c7[_0x2f9c02(0x2b3)]),_0x4bc410(0x4,_0x4a1cad[_0x2f9c02(0x3fa)])],_0x3a12ab);let _0x163223=class extends _0x4fa1c7[_0x2f9c02(0x406)]{get[_0x2f9c02(0x271)](){const _0x35b7b0=_0x2f9c02;return this[_0x35b7b0(0x350)][_0x35b7b0(0x2ce)]();}constructor(_0x3d4229,_0xdcbe95,_0x58ac83,_0x2fda81,_0x418741,_0x410a93){const _0x28579f=_0x2f9c02;super(),this[_0x28579f(0x427)]=_0x3d4229,this[_0x28579f(0x22c)]=_0xdcbe95,this[_0x28579f(0x280)]=_0x58ac83,this[_0x28579f(0x38c)]=_0x2fda81,this[_0x28579f(0x298)]=_0x418741,this['_networkConditionService']=_0x410a93,_0x17e69d(this,_0x28579f(0x350),new _0x431df8[(_0x28579f(0x346))](void 0x0)),_0x17e69d(this,_0x28579f(0x525),this['_socket$'][_0x28579f(0x3a3)]()),_0x17e69d(this,_0x28579f(0x4d2),null),_0x17e69d(this,_0x28579f(0x2b9),new Map()),_0x17e69d(this,_0x28579f(0x394),new _0x431df8[(_0x28579f(0x346))](_0x1b3cf0[_0x28579f(0x343)])),_0x17e69d(this,_0x28579f(0x51e),this[_0x28579f(0x394)][_0x28579f(0x3a3)]()),_0x17e69d(this,_0x28579f(0x229),!0x1),_0x17e69d(this,_0x28579f(0x3b3),void 0x0),_0x17e69d(this,_0x28579f(0x3f6),0x0),_0x17e69d(this,_0x28579f(0x324),void 0x0),_0x17e69d(this,_0x28579f(0x24e),void 0x0),this[_0x28579f(0x41f)]();}[_0x2f9c02(0x41f)](){const _0x23eaad=_0x2f9c02;this['_networkConditionService']&&this['disposeWithMe'](this[_0x23eaad(0x513)][_0x23eaad(0x328)][_0x23eaad(0x47f)](_0x262fe4=>{const _0x28203f=_0x23eaad;_0x262fe4&&!this[_0x28203f(0x271)]&&this[_0x28203f(0x1b7)](),_0x262fe4||this[_0x28203f(0x3d7)]();}));}[_0x2f9c02(0x4a5)](){const _0x55ef0c=_0x2f9c02;super['dispose'](),this[_0x55ef0c(0x19a)](),this['_clearTimeoutTimer'](),this[_0x55ef0c(0x3d2)](),this['_sessions'][_0x55ef0c(0x401)](_0x468f7a=>_0x468f7a[_0x55ef0c(0x4a5)]()),this['_sessions'][_0x55ef0c(0x2a2)](),this['_status$'][_0x55ef0c(0x2a3)]();}async['requireSession'](_0x540bb5){const _0x1b0cc2=_0x2f9c02;if(this[_0x1b0cc2(0x2b9)][_0x1b0cc2(0x3d0)](_0x540bb5))return this['_sessions'][_0x1b0cc2(0x1df)](_0x540bb5);this[_0x1b0cc2(0x38d)]();let _0x356b39=this[_0x1b0cc2(0x427)][_0x1b0cc2(0x1ad)](_0x49ff16,_0x540bb5,this['_socket$'][_0x1b0cc2(0x3a3)]());return this['_sessions'][_0x1b0cc2(0x2c0)](_0x540bb5,_0x356b39),_0x356b39;}['closeSession'](_0x368cd4){const _0x52be11=_0x2f9c02;let _0x1e7c11=this['_sessions']['get'](_0x368cd4);if(_0x1e7c11&&(this[_0x52be11(0x2b9)][_0x52be11(0x2dd)](_0x368cd4),_0x1e7c11[_0x52be11(0x33d)]()),!this['_sessions'][_0x52be11(0x373)]){var _0x410577;(_0x410577=this[_0x52be11(0x271)])==null||_0x410577[_0x52be11(0x33d)]();}}[_0x2f9c02(0x1b7)](){const _0x40756c=_0x2f9c02;this[_0x40756c(0x3f6)]=0x0,this[_0x40756c(0x19a)](),this['_tryReconnect']();}[_0x2f9c02(0x19a)](){const _0x4c8233=_0x2f9c02;this[_0x4c8233(0x3b3)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x4c8233(0x3b3)]=null);}async[_0x2f9c02(0x2d2)](){const _0x24e4ab=_0x2f9c02;var _0x4b6033;let _0x486eee=this[_0x24e4ab(0x280)]['getConfig'](_0x1f2256),_0x48963d=(_0x4b6033=_0x486eee==null?void 0x0:_0x486eee[_0x24e4ab(0x52b)])==null?_0x4b06c5:_0x4b6033,_0x7876ff=await this[_0x24e4ab(0x38c)][_0x24e4ab(0x307)](_0x48963d);return this[_0x24e4ab(0x4d2)]=_0x7876ff,_0x7876ff;}async[_0x2f9c02(0x38d)](){const _0x185af2=_0x2f9c02;try{var _0x406dab,_0x511715;let _0x18695f=(_0x406dab=(_0x511715=this[_0x185af2(0x271)])==null?this[_0x185af2(0x4d2)]:_0x511715)==null?await this['_createSocket']():_0x406dab;if(_0x18695f){let _0x1ddf91=_0x18695f[_0x185af2(0x419)];_0x18695f['send']=_0x5200c0=>(_0x5200c0['cmd']!==_0x35b3d8['LEAVE']&&this['_rescheduleHeartbeat'](),_0x1ddf91['apply'](_0x18695f,[_0x5200c0])),_0x18695f['message$'][_0x185af2(0x47f)](_0x75e67a=>this[_0x185af2(0x467)](_0x18695f,_0x75e67a)),_0x18695f[_0x185af2(0x289)][_0x185af2(0x2a4)]((0x0,_0x3bb026[_0x185af2(0x3c2)])(0x1))[_0x185af2(0x47f)](_0x490f47=>this[_0x185af2(0x22c)][_0x185af2(0x2c3)](_0x185af2(0x400),_0x490f47)),_0x18695f[_0x185af2(0x4ee)]['pipe']((0x0,_0x3bb026[_0x185af2(0x3c2)])(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x18695f);}),_0x18695f[_0x185af2(0x223)]['pipe']((0x0,_0x3bb026[_0x185af2(0x3c2)])(0x1))[_0x185af2(0x47f)](_0x115f07=>{const _0x35aadb=_0x185af2;this[_0x35aadb(0x22c)][_0x35aadb(0x2cf)](_0x35aadb(0x293),_0x35aadb(0x259),_0x115f07),this[_0x35aadb(0x2b7)]();});}}catch(_0x23ff7f){this[_0x185af2(0x22c)][_0x185af2(0x2c3)](_0x23ff7f),this[_0x185af2(0x2b7)]();}}[_0x2f9c02(0x34b)](_0xdba4c4){const _0x2c3502=_0x2f9c02;this[_0x2c3502(0x22c)][_0x2c3502(0x2cf)](_0x2c3502(0x293),_0x2c3502(0x3d8)),_0xdba4c4[_0x2c3502(0x419)]({'cmd':_0x35b3d8[_0x2c3502(0x489)]}),this[_0x2c3502(0x46f)]();}['_onOffline'](){const _0x170c5f=_0x2f9c02;this[_0x170c5f(0x229)]=!0x1,this[_0x170c5f(0x4d2)]=null,this['_status$']['next'](_0x1b3cf0['OFFLINE']),this[_0x170c5f(0x350)][_0x170c5f(0x4d6)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x2f9c02(0x2b7)](){const _0x345668=_0x2f9c02;var _0xafc1d8;this[_0x345668(0x3d7)](),this[_0x345668(0x3f6)]<((_0xafc1d8=this['_configService'][_0x345668(0x21e)]('RETRY_CONNECTING_MAX_COUNT'))==null?0x3:_0xafc1d8)?(this[_0x345668(0x298)]['emitEvent']({'id':_0x1ef886[_0x345668(0x2d4)]}),this[_0x345668(0x362)]()):this[_0x345668(0x298)][_0x345668(0x2e5)]({'id':_0x1ef886['SOCKET_FAILED']});}[_0x2f9c02(0x362)](){const _0x48966a=_0x2f9c02;var _0x24c6a5;let _0x3e46c2=this['_retryCount'],_0x56dfba=this[_0x48966a(0x280)][_0x48966a(0x21e)](_0x1f2256),_0x44d954=_0x3e46c2===0x0?0x0:((_0x24c6a5=_0x56dfba==null?void 0x0:_0x56dfba[_0x48966a(0x448)])==null?0x4e20:_0x24c6a5)*0x2**_0x3e46c2;this[_0x48966a(0x3b3)]=setTimeout(()=>{const _0x2c267d=_0x48966a;clearTimeout(this[_0x2c267d(0x3b3)]),this['_retryConnectingTimer']=null,this[_0x2c267d(0x38d)]();},_0x44d954),this[_0x48966a(0x3f6)]+=0x1;}[_0x2f9c02(0x467)](_0x4bdf71,_0x37c259){const _0x1d757a=_0x2f9c02;let {cmd:_0x3adc28}=_0x37c259;_0x3adc28===_0x35b3d8[_0x1d757a(0x489)]&&!this['_socketReady']&&(_0x4bdf71[_0x1d757a(0x33c)]=_0x37c259[_0x1d757a(0x275)][_0x1d757a(0x33c)],this[_0x1d757a(0x350)][_0x1d757a(0x4d6)](_0x4bdf71),this[_0x1d757a(0x394)][_0x1d757a(0x4d6)](_0x1b3cf0[_0x1d757a(0x1c7)]),this[_0x1d757a(0x229)]=!0x0,this['_candidateSocket']=null),_0x3adc28===_0x35b3d8['HEARTBEAT']&&this[_0x1d757a(0x349)](),this[_0x1d757a(0x46f)]();}[_0x2f9c02(0x46f)](){const _0x4f6106=_0x2f9c02;var _0x3780d6;this[_0x4f6106(0x3d2)](),this[_0x4f6106(0x324)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x3780d6=this[_0x4f6106(0x280)]['getConfig'](_0x4f6106(0x526)))==null?0x7530:_0x3780d6);}[_0x2f9c02(0x46c)](){const _0x208064=_0x2f9c02;this['_socket']['send']({'cmd':_0x35b3d8[_0x208064(0x4d1)]}),this['_waitForHeartbeatResponse']();}[_0x2f9c02(0x533)](){const _0x468d54=_0x2f9c02;var _0x2ccbeb;this['_timeoutTimer']=setTimeout(()=>this[_0x468d54(0x2b7)](),(_0x2ccbeb=this[_0x468d54(0x280)][_0x468d54(0x21e)](_0x468d54(0x23e)))==null?_0x2877b3:_0x2ccbeb);}[_0x2f9c02(0x3d2)](){const _0x18c64e=_0x2f9c02;this[_0x18c64e(0x324)]!=null&&(clearTimeout(this[_0x18c64e(0x324)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){const _0x48fc21=_0x2f9c02;this[_0x48fc21(0x24e)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x48fc21(0x24e)]=null);}};_0x163223=_0x230514([_0x4bc410(0x0,(0x0,_0x4fa1c7['Inject'])(_0x4fa1c7[_0x2f9c02(0x204)])),_0x4bc410(0x1,_0x4fa1c7[_0x2f9c02(0x2b3)]),_0x4bc410(0x2,_0x4fa1c7[_0x2f9c02(0x2bc)]),_0x4bc410(0x3,_0x268137),_0x4bc410(0x4,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x1619bd)),_0x4bc410(0x5,(0x0,_0x4fa1c7[_0x2f9c02(0x476)])(_0x25bbcd))],_0x163223);let _0x7bd804=class extends _0x4fa1c7['RxDisposable']{constructor(_0x1f7f90,_0x5b4608,_0x5773b4,_0x15035b){const _0x4aeb4b=_0x2f9c02;var _0x558aa7;super(),this[_0x4aeb4b(0x427)]=_0x1f7f90,this[_0x4aeb4b(0x30f)]=_0x5b4608,this['_configService']=_0x5773b4,this[_0x4aeb4b(0x450)]=_0x15035b,_0x17e69d(this,'_entities',new Map()),_0x17e69d(this,_0x4aeb4b(0x456),new _0x431df8[(_0x4aeb4b(0x43c))]()),_0x17e69d(this,_0x4aeb4b(0x247),this['_entityInit$'][_0x4aeb4b(0x3a3)]()),((_0x558aa7=this[_0x4aeb4b(0x280)]['getConfig'](_0x4aeb4b(0x37f)))==null?void 0x0:_0x558aa7[_0x4aeb4b(0x506)])!==!0x1&&this[_0x4aeb4b(0x33f)]();}[_0x2f9c02(0x4a5)](){const _0x1dd7a4=_0x2f9c02;super[_0x1dd7a4(0x4a5)](),this[_0x1dd7a4(0x2fd)][_0x1dd7a4(0x401)](_0x48a1fc=>_0x48a1fc[_0x1dd7a4(0x4a5)]()),this[_0x1dd7a4(0x2fd)][_0x1dd7a4(0x2a2)]();}[_0x2f9c02(0x188)](_0x55ec83){const _0x48ffdc=_0x2f9c02;var _0x58cd9c;return(_0x58cd9c=this['_entities'][_0x48ffdc(0x1df)](_0x55ec83))==null?null:_0x58cd9c;}['getCollabEntity$'](_0x40a589){const _0x467ac2=_0x2f9c02;let _0x804e86=this[_0x467ac2(0x188)](_0x40a589);return _0x804e86?(0x0,_0x431df8['of'])(_0x804e86):this[_0x467ac2(0x456)][_0x467ac2(0x2a4)]((0x0,_0x3bb026[_0x467ac2(0x423)])(_0x2afffe=>_0x2afffe[_0x467ac2(0x264)]===_0x40a589));}[_0x2f9c02(0x4b4)](_0x1050e8){const _0x4f4bf2=_0x2f9c02;return(0x0,_0x431df8[_0x4f4bf2(0x2ae)])(this[_0x4f4bf2(0x38b)](_0x1050e8)[_0x4f4bf2(0x2a4)]((0x0,_0x3bb026[_0x4f4bf2(0x1e4)])(()=>void 0x0)));}[_0x2f9c02(0x33f)](){const _0x34a0b1=_0x2f9c02;this[_0x34a0b1(0x450)]['getTypeOfUnitAdded$'](_0x4fa1c7[_0x34a0b1(0x319)][_0x34a0b1(0x528)])[_0x34a0b1(0x2a4)]((0x0,_0x431df8[_0x34a0b1(0x182)])(this[_0x34a0b1(0x26e)]),(0x0,_0x3bb026[_0x34a0b1(0x18d)])(0x10))[_0x34a0b1(0x47f)](async _0x5403bf=>{const _0x2ddaae=_0x34a0b1;let _0x4ae5ec=_0x5403bf['getUnitId'](),_0x3f4399=await this[_0x2ddaae(0x3fb)](_0x4ae5ec,_0x139b11['UNIVER_SHEET']);this[_0x2ddaae(0x2fd)]['set'](_0x4ae5ec,_0x3f4399);}),this['_univerInstanceService'][_0x34a0b1(0x415)](_0x4fa1c7['UniverInstanceType'][_0x34a0b1(0x1c3)])[_0x34a0b1(0x2a4)]((0x0,_0x431df8[_0x34a0b1(0x182)])(this[_0x34a0b1(0x26e)]),(0x0,_0x3bb026[_0x34a0b1(0x18d)])(0x10))[_0x34a0b1(0x2a4)]((0x0,_0x3bb026[_0x34a0b1(0x423)])(_0x50e837=>!_0x50e837[_0x34a0b1(0x34d)]()['startsWith']('__')))[_0x34a0b1(0x47f)](async _0x21ac75=>{const _0x2773a8=_0x34a0b1;let _0x2baabe=_0x21ac75[_0x2773a8(0x34d)](),_0x2f9bec=await this[_0x2773a8(0x3fb)](_0x2baabe,_0x139b11['UNIVER_DOC']);this['_entities'][_0x2773a8(0x2c0)](_0x2baabe,_0x2f9bec);}),(0x0,_0x431df8[_0x34a0b1(0x1fd)])(this[_0x34a0b1(0x450)][_0x34a0b1(0x288)](_0x4fa1c7[_0x34a0b1(0x319)][_0x34a0b1(0x528)]),this[_0x34a0b1(0x450)][_0x34a0b1(0x288)](_0x4fa1c7[_0x34a0b1(0x319)]['UNIVER_DOC']))[_0x34a0b1(0x2a4)]((0x0,_0x431df8[_0x34a0b1(0x182)])(this[_0x34a0b1(0x26e)]))[_0x34a0b1(0x47f)](_0x3e2607=>{const _0x2bce17=_0x34a0b1;let _0x5a50c0=_0x3e2607['getUnitId'](),_0x183758=this[_0x2bce17(0x2fd)][_0x2bce17(0x1df)](_0x5a50c0);_0x183758&&(_0x183758[_0x2bce17(0x4a5)](),this[_0x2bce17(0x2fd)]['delete'](_0x5a50c0));});}async[_0x2f9c02(0x3fb)](_0x128642,_0x5e9fef){const _0x4b3b00=_0x2f9c02;let _0xed35b7=await this['_collabSessionService'][_0x4b3b00(0x241)](_0x128642),_0xddef08=this[_0x4b3b00(0x427)][_0x4b3b00(0x1ad)](this['_getCtorByUniverType'](_0x5e9fef),_0x128642,_0x5e9fef,_0xed35b7);return await _0xddef08[_0x4b3b00(0x51f)](),this[_0x4b3b00(0x456)][_0x4b3b00(0x4d6)](_0xddef08),_0xddef08;}[_0x2f9c02(0x255)](_0x5bc560){const _0x153ade=_0x2f9c02;switch(_0x5bc560){case _0x139b11['UNIVER_DOC']:return _0x4ce514;case _0x139b11[_0x153ade(0x528)]:return _0x355a72;default:throw Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x5bc560);}}};_0x7bd804=_0x230514([_0x4bc410(0x0,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7[_0x2f9c02(0x204)])),_0x4bc410(0x1,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x163223)),_0x4bc410(0x2,_0x4fa1c7[_0x2f9c02(0x2bc)]),_0x4bc410(0x3,_0x4fa1c7[_0x2f9c02(0x1fc)])],_0x7bd804);var _0x189a86=_0x2f9c02(0x273),_0x5f3351=_0x2f9c02(0x4c0);let _0x546b3d=class extends _0x4fa1c7[_0x2f9c02(0x406)]{constructor(_0x242ef2,_0xcc54e3){const _0x168166=_0x2f9c02;super(),this[_0x168166(0x450)]=_0x242ef2,this[_0x168166(0x280)]=_0xcc54e3,this[_0x168166(0x33f)]();}[_0x2f9c02(0x33f)](){const _0x49bd55=_0x2f9c02;this[_0x49bd55(0x345)](this['_univerInstanceService']['focused$'][_0x49bd55(0x47f)](()=>{const _0x2b5b73=_0x49bd55;var _0x4ec929;let _0x2d1627=this[_0x2b5b73(0x450)][_0x2b5b73(0x2f5)](),_0x564a46=(_0x4ec929=this[_0x2b5b73(0x280)]['getConfig']('DEFAULT_FILE_NAME'))==null?_0x2b5b73(0x4ac):_0x4ec929;_0x2d1627 instanceof _0x4fa1c7[_0x2b5b73(0x408)]&&(_0x564a46=_0x2d1627[_0x2b5b73(0x519)]),document[_0x2b5b73(0x336)]=_0x564a46;}));}};_0x546b3d=_0x230514([_0x4bc410(0x0,_0x4fa1c7[_0x2f9c02(0x1fc)]),_0x4bc410(0x1,_0x4fa1c7[_0x2f9c02(0x2bc)])],_0x546b3d);let _0x11cb43=class{constructor(_0x5d2f8e,_0x111515,_0x534ecc){const _0x5a4f0b=_0x2f9c02;this[_0x5a4f0b(0x280)]=_0x5d2f8e,this[_0x5a4f0b(0x48d)]=_0x111515,this['localeService']=_0x534ecc,this['init']();}[_0x2f9c02(0x51f)](){const _0x573c50=_0x2f9c02;this['_httpService'][_0x573c50(0x21c)]({'priority':0x1,'interceptor':(_0x2bb0fb,_0x200407)=>_0x200407(_0x2bb0fb)[_0x573c50(0x2a4)]((0x0,_0x431df8[_0x573c50(0x403)])(async _0x13ec6c=>{const _0x584dfb=_0x573c50;let _0x87aa5d=_0x13ec6c;if(_0x87aa5d['status']===0x191){if(typeof window>'u')throw Error(_0x584dfb(0x37a));if(window[_0x584dfb(0x51a)](this[_0x584dfb(0x281)]['t'](_0x584dfb(0x1b4)))){let _0x42fd72=window[_0x584dfb(0x206)](window[_0x584dfb(0x27b)][_0x584dfb(0x2d0)]);window[_0x584dfb(0x27b)][_0x584dfb(0x2d0)]=this[_0x584dfb(0x1ce)]()+_0x584dfb(0x356)+_0x42fd72;}}return _0x87aa5d;}))});}[_0x2f9c02(0x1ce)](){const _0x4756e9=_0x2f9c02;var _0x71e2f9;let _0xb9fd4d=this[_0x4756e9(0x280)][_0x4756e9(0x21e)](_0x1f2256);return(_0x71e2f9=_0xb9fd4d==null?void 0x0:_0xb9fd4d[_0x4756e9(0x3b9)])==null?_0x4756e9(0x44e):_0x71e2f9;}};_0x11cb43=_0x230514([_0x4bc410(0x0,_0x4fa1c7[_0x2f9c02(0x2bc)]),_0x4bc410(0x1,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4ba8c3['HTTPService'])),_0x4bc410(0x2,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7[_0x2f9c02(0x436)]))],_0x11cb43);let _0x54b97d=class extends _0x4fa1c7[_0x2f9c02(0x406)]{constructor(_0x1c7f3a,_0x30dc81){const _0x425c6b=_0x2f9c02;super(),this['_HTTPService']=_0x1c7f3a,this[_0x425c6b(0x280)]=_0x30dc81,_0x17e69d(this,_0x425c6b(0x1aa),!0x1),this[_0x425c6b(0x3ec)]();}[_0x2f9c02(0x3ec)](){const _0x419f78=_0x2f9c02;let _0x1161e6=this;this[_0x419f78(0x345)](this['_HTTPService'][_0x419f78(0x21c)]({'priority':0x3e7,'interceptor':(0x0,_0x4ba8c3[_0x419f78(0x485)])({'isMatch'(_0x36772b){const _0x1ef8c8=_0x419f78;var _0x2783fc;if(_0x36772b[_0x1ef8c8(0x1d9)]===_0x1ef8c8(0x396)&&(_0x2783fc=_0x36772b[_0x1ef8c8(0x4e6)])!=null&&_0x2783fc[_0x1ef8c8(0x46e)]){let {objectID:_0x3eebe2,objectType:_0x3c368f}=_0x36772b[_0x1ef8c8(0x4e6)][_0x1ef8c8(0x46e)]||{};if(!_0x3eebe2||_0x3c368f===void 0x0)return!0x1;let _0x38ebd7=_0x1161e6[_0x1ef8c8(0x1b8)]()+'/'+_0x3c368f+'/object/'+_0x3eebe2+_0x1ef8c8(0x2df);if(_0x36772b[_0x1ef8c8(0x260)]===_0x38ebd7)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x48ddeb){const _0x2323d8=_0x419f78;var _0x2099fd;return(_0x2099fd=_0x48ddeb['requestParams'])==null?void 0x0:_0x2099fd[_0x2323d8(0x46e)];},'mergeParamsToRequest'(_0x296561,_0xc8c9dd){const _0x140a9b=_0x419f78;let _0x1676c4=_0x1161e6['_getAPIPrefixPath']()+_0x140a9b(0x338),_0x57f4a5=_0x296561[_0x140a9b(0x4bb)]((_0x3533b7,_0x42cbbb)=>{const _0x563467=_0x140a9b;let {unitID:_0x38a3c3,objectID:_0x5a4c62,objectType:_0x4ae244,actions:_0x49d1de}=_0x42cbbb;return _0x3533b7[_0x38a3c3]||(_0x3533b7[_0x38a3c3]={}),_0x3533b7[_0x38a3c3][_0x5a4c62]||(_0x3533b7[_0x38a3c3][_0x5a4c62]={'objectID':_0x5a4c62,'objectType':_0x4ae244,'actions':[]}),_0x3533b7[_0x38a3c3][_0x5a4c62][_0x563467(0x3ad)][_0x563467(0x3a1)](..._0x49d1de),_0x3533b7;},{}),_0x464b98=[];for(let _0x1df324 in _0x57f4a5)for(let _0x3f9422 in _0x57f4a5[_0x1df324]){let {actions:_0x1c94fd,objectType:_0x4798e1}=_0x57f4a5[_0x1df324][_0x3f9422],_0x3f37d6=[...new Set(_0x1c94fd)];_0x464b98[_0x140a9b(0x3a1)]({'unitID':_0x1df324,'objectID':_0x3f9422,'objectType':_0x4798e1,'actions':_0x3f37d6});}return new _0x4ba8c3['HTTPRequest'](_0x140a9b(0x396),_0x1676c4,{'headers':_0xc8c9dd[_0x140a9b(0x283)],'withCredentials':_0xc8c9dd[_0x140a9b(0x483)],'responseType':_0xc8c9dd['responseType'],'body':{'requests':_0x464b98}});}},{'distributeResult'(_0x30e2dd,_0x2b364){const _0x292608=_0x419f78;let {objectActions:_0x14fa59}=_0x30e2dd;return _0x2b364[_0x292608(0x1e4)](_0xad4bc0=>{const _0x492e98=_0x292608;let {unitID:_0x3f372c,objectID:_0xefb728,actions:_0x4dff03}=_0xad4bc0,_0x12b695=_0x14fa59[_0x492e98(0x364)](_0x5cc560=>_0x5cc560[_0x492e98(0x264)]===_0x3f372c&&_0x5cc560[_0x492e98(0x465)]===_0xefb728);return{'config':_0xad4bc0,'result':{'actions':_0x4dff03[_0x492e98(0x1e4)](_0x5ed3d6=>_0x12b695==null?void 0x0:_0x12b695[_0x492e98(0x3ad)][_0x492e98(0x364)](_0x514678=>_0x514678[_0x492e98(0x23c)]===_0x5ed3d6))[_0x492e98(0x423)](_0xd3e879=>!!_0xd3e879),'error':_0x30e2dd[_0x492e98(0x2c3)]}};});}})}));}[_0x2f9c02(0x1b8)](){const _0x5c77ca=_0x2f9c02;var _0x16b400;let _0x223ce4=this[_0x5c77ca(0x280)][_0x5c77ca(0x21e)](_0x1f2256);return(_0x16b400=_0x223ce4==null?void 0x0:_0x223ce4['authzUrl'])==null?_0x5c77ca(0x347):_0x16b400;}async[_0x2f9c02(0x34e)](_0x32f17e){const _0xdd465=_0x2f9c02;let _0x4306ba=this[_0xdd465(0x1b8)]()+'/'+_0x32f17e[_0xdd465(0x1a4)]+'/object';return(await this[_0xdd465(0x35a)][_0xdd465(0x340)](_0x4306ba,{'body':_0x32f17e}))[_0xdd465(0x46e)][_0xdd465(0x465)]||'';}async[_0x2f9c02(0x3b0)](_0x51bbfa){const _0x28301f=_0x2f9c02;let _0x2ac4bb=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x28301f(0x35a)]['post'](_0x2ac4bb,{'body':_0x51bbfa}))['body']['objects'];}async[_0x2f9c02(0x4f0)](_0x2b6b9e){const _0x1abc78=_0x2f9c02;var _0x187487;let _0x2c1f78=this[_0x1abc78(0x1b8)]()+'/'+_0x2b6b9e[_0x1abc78(0x1a4)]+_0x1abc78(0x215)+_0x2b6b9e['objectID'],_0xe1aad2=await this[_0x1abc78(0x35a)][_0x1abc78(0x4e4)](_0x2c1f78,{'body':_0x2b6b9e});if((_0xe1aad2==null||(_0x187487=_0xe1aad2['body'])==null||(_0x187487=_0x187487[_0x1abc78(0x2c3)])==null?void 0x0:_0x187487[_0x1abc78(0x1f7)])!==0x1)throw Error(_0x1abc78(0x43b));}async[_0x2f9c02(0x2c6)](_0x5deabe){const _0x3a8f1a=_0x2f9c02;let _0x3f8bab=this[_0x3a8f1a(0x1b8)]()+'/'+_0x5deabe['objectType']+'/object/'+_0x5deabe['objectID']+_0x3a8f1a(0x2df);return(await this[_0x3a8f1a(0x35a)][_0x3a8f1a(0x340)](_0x3f8bab,{'body':_0x5deabe}))[_0x3a8f1a(0x46e)][_0x3a8f1a(0x3ad)];}async['batchAllowed'](_0x4538c1){const _0x4f88c6=_0x2f9c02;let _0x49f370=this['_getAPIPrefixPath']()+_0x4f88c6(0x338);return(await this[_0x4f88c6(0x35a)][_0x4f88c6(0x340)](_0x49f370,{'body':{'requests':_0x4538c1}}))[_0x4f88c6(0x46e)][_0x4f88c6(0x1e9)];}async[_0x2f9c02(0x48f)](_0x3d9edb){const _0x25eebc=_0x2f9c02;let _0x22df56=this[_0x25eebc(0x1b8)]()+'/'+_0x3d9edb[_0x25eebc(0x1a4)]+'/role',_0xe8676c=await this[_0x25eebc(0x35a)]['post'](_0x22df56,{'body':_0x3d9edb});return{'roles':_0xe8676c[_0x25eebc(0x46e)][_0x25eebc(0x24d)],'actions':_0xe8676c[_0x25eebc(0x46e)]['actions']};}async['deleteCollaborator'](_0x1a3d5c){const _0x4f5f1f=_0x2f9c02;let _0x309f7c=this['_getAPIPrefixPath']()+_0x4f5f1f(0x208);await this[_0x4f5f1f(0x35a)][_0x4f5f1f(0x2dd)](_0x309f7c,{'params':{'collaboratorID':_0x1a3d5c[_0x4f5f1f(0x473)],'objectID':_0x1a3d5c['objectID'],'unitID':_0x1a3d5c[_0x4f5f1f(0x264)]}});}async[_0x2f9c02(0x44f)](_0x5773b3){const _0x2dea8e=_0x2f9c02;let _0x125664=this[_0x2dea8e(0x1b8)]()+_0x2dea8e(0x208);await this[_0x2dea8e(0x35a)][_0x2dea8e(0x222)](_0x125664,{'body':_0x5773b3});}async['createCollaborator'](_0x5d422d){const _0x5908cf=_0x2f9c02;let _0x53e8ed=this[_0x5908cf(0x1b8)]()+'/collaborator';await this[_0x5908cf(0x35a)][_0x5908cf(0x340)](_0x53e8ed,{'body':_0x5d422d});}async[_0x2f9c02(0x302)](_0x45beba){const _0xafa887=_0x2f9c02;var _0x5d64d6;let _0x202eb7=this[_0xafa887(0x1b8)]()+_0xafa887(0x208),_0x3d4266=await this[_0xafa887(0x35a)]['get'](_0x202eb7,{'params':{'objectID':_0x45beba['objectID'],'unitID':_0x45beba[_0xafa887(0x264)]}});return this[_0xafa887(0x3aa)]((_0x5d64d6=_0x3d4266[_0xafa887(0x46e)][_0xafa887(0x352)])==null?!0x1:_0x5d64d6),_0x3d4266[_0xafa887(0x46e)][_0xafa887(0x239)];}async[_0x2f9c02(0x39a)](_0x3fe8c2){const _0x43792e=_0x2f9c02;let _0xb6a067=this[_0x43792e(0x1b8)]()+_0x43792e(0x208);await this[_0x43792e(0x35a)][_0x43792e(0x4e4)](_0xb6a067,{'body':_0x3fe8c2});}['setCfgEnableObjInherit'](_0x2ec6b1){this['_cfgEnableObjInherit']=_0x2ec6b1;}[_0x2f9c02(0x4a9)](){const _0x1bca03=_0x2f9c02;return this[_0x1bca03(0x1aa)];}};_0x54b97d=_0x230514([_0x4bc410(0x0,(0x0,_0x4fa1c7['Inject'])(_0x4ba8c3[_0x2f9c02(0x2c9)])),_0x4bc410(0x1,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7['IConfigService']))],_0x54b97d);var _0x2a3f05=_0x3712b0(()=>{}),_0x13f9ca=_0x3712b0((_0x1fb7ab,_0x5aae82)=>{(function(_0x1281e9,_0x468591){const _0x2bb218=_0x50be;typeof _0x1fb7ab=='object'?_0x5aae82[_0x2bb218(0x50d)]=_0x1fb7ab=_0x468591():typeof define==_0x2bb218(0x329)&&define['amd']?define([],_0x468591):_0x1281e9['CryptoJS']=_0x468591();}(_0x1fb7ab,function(){var _0x15340b=_0x15340b||function(_0x3d8d67,_0x22cf92){const _0x3250be=_0x50be;var _0x2cfaca;if(typeof window<'u'&&window[_0x3250be(0x230)]&&(_0x2cfaca=window['crypto']),typeof self<'u'&&self[_0x3250be(0x230)]&&(_0x2cfaca=self[_0x3250be(0x230)]),typeof globalThis<'u'&&globalThis[_0x3250be(0x230)]&&(_0x2cfaca=globalThis[_0x3250be(0x230)]),!_0x2cfaca&&typeof window<'u'&&window[_0x3250be(0x330)]&&(_0x2cfaca=window['msCrypto']),!_0x2cfaca&&typeof global<'u'&&global[_0x3250be(0x230)]&&(_0x2cfaca=global[_0x3250be(0x230)]),!_0x2cfaca&&typeof require==_0x3250be(0x329))try{_0x2cfaca=_0x2a3f05();}catch{}var _0x2f535a=function(){const _0x148e4e=_0x3250be;if(_0x2cfaca){if(typeof _0x2cfaca[_0x148e4e(0x42d)]==_0x148e4e(0x329))try{return _0x2cfaca[_0x148e4e(0x42d)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2cfaca['randomBytes']==_0x148e4e(0x329))try{return _0x2cfaca[_0x148e4e(0x2f9)](0x4)[_0x148e4e(0x3e0)]();}catch{}}throw Error(_0x148e4e(0x310));},_0x127121=Object[_0x3250be(0x34e)]||(function(){function _0x18f307(){}return function(_0x2163d3){var _0xe3fd6;return _0x18f307['prototype']=_0x2163d3,_0xe3fd6=new _0x18f307(),_0x18f307['prototype']=null,_0xe3fd6;};}()),_0x12992c={},_0x4dd546=_0x12992c['lib']={},_0x5b7b6b=_0x4dd546[_0x3250be(0x1bf)]=(function(){return{'extend':function(_0x1e91f7){const _0xe2c1f8=_0x50be;var _0x375fcf=_0x127121(this);return _0x1e91f7&&_0x375fcf[_0xe2c1f8(0x21a)](_0x1e91f7),(!_0x375fcf[_0xe2c1f8(0x1fb)](_0xe2c1f8(0x51f))||this[_0xe2c1f8(0x51f)]===_0x375fcf['init'])&&(_0x375fcf[_0xe2c1f8(0x51f)]=function(){const _0x2ec68b=_0xe2c1f8;_0x375fcf[_0x2ec68b(0x430)][_0x2ec68b(0x51f)]['apply'](this,arguments);}),_0x375fcf['init']['prototype']=_0x375fcf,_0x375fcf['$super']=this,_0x375fcf;},'create':function(){const _0x1026a0=_0x50be;var _0x242d4e=this[_0x1026a0(0x2f4)]();return _0x242d4e['init']['apply'](_0x242d4e,arguments),_0x242d4e;},'init':function(){},'mixIn':function(_0x36335d){const _0x1365af=_0x50be;for(var _0x497bba in _0x36335d)_0x36335d[_0x1365af(0x1fb)](_0x497bba)&&(this[_0x497bba]=_0x36335d[_0x497bba]);_0x36335d[_0x1365af(0x1fb)](_0x1365af(0x304))&&(this[_0x1365af(0x304)]=_0x36335d[_0x1365af(0x304)]);},'clone':function(){const _0x21d44a=_0x50be;return this[_0x21d44a(0x51f)]['prototype']['extend'](this);}};}()),_0x4cbfae=_0x4dd546[_0x3250be(0x183)]=_0x5b7b6b[_0x3250be(0x2f4)]({'init':function(_0x14bf3f,_0x4b8857){const _0x111e86=_0x3250be;_0x14bf3f=this[_0x111e86(0x457)]=_0x14bf3f||[],_0x4b8857==_0x22cf92?this[_0x111e86(0x27d)]=_0x14bf3f[_0x111e86(0x4ca)]*0x4:this[_0x111e86(0x27d)]=_0x4b8857;},'toString':function(_0x2150e2){const _0x242952=_0x3250be;return(_0x2150e2||_0x588fe0)[_0x242952(0x38a)](this);},'concat':function(_0x1ee1de){const _0x3150eb=_0x3250be;var _0x4609fa=this[_0x3150eb(0x457)],_0x4bc07b=_0x1ee1de[_0x3150eb(0x457)],_0x4a823f=this['sigBytes'],_0x59831c=_0x1ee1de[_0x3150eb(0x27d)];if(this[_0x3150eb(0x1c9)](),_0x4a823f%0x4)for(var _0x2cebeb=0x0;_0x2cebeb<_0x59831c;_0x2cebeb++){var _0xf2e753=_0x4bc07b[_0x2cebeb>>>0x2]>>>0x18-_0x2cebeb%0x4*0x8&0xff;_0x4609fa[_0x4a823f+_0x2cebeb>>>0x2]|=_0xf2e753<<0x18-(_0x4a823f+_0x2cebeb)%0x4*0x8;}else{for(var _0x34717f=0x0;_0x34717f<_0x59831c;_0x34717f+=0x4)_0x4609fa[_0x4a823f+_0x34717f>>>0x2]=_0x4bc07b[_0x34717f>>>0x2];}return this[_0x3150eb(0x27d)]+=_0x59831c,this;},'clamp':function(){const _0x72120e=_0x3250be;var _0x4f4c26=this['words'],_0x2fe5be=this[_0x72120e(0x27d)];_0x4f4c26[_0x2fe5be>>>0x2]&=0xffffffff<<0x20-_0x2fe5be%0x4*0x8,_0x4f4c26[_0x72120e(0x4ca)]=_0x3d8d67[_0x72120e(0x2e7)](_0x2fe5be/0x4);},'clone':function(){const _0x3b6f6f=_0x3250be;var _0x455e14=_0x5b7b6b[_0x3b6f6f(0x201)]['call'](this);return _0x455e14[_0x3b6f6f(0x457)]=this[_0x3b6f6f(0x457)][_0x3b6f6f(0x29d)](0x0),_0x455e14;},'random':function(_0x2380f3){const _0x2ee700=_0x3250be;for(var _0x459cc2=[],_0x2eac17=0x0;_0x2eac17<_0x2380f3;_0x2eac17+=0x4)_0x459cc2['push'](_0x2f535a());return new _0x4cbfae[(_0x2ee700(0x51f))](_0x459cc2,_0x2380f3);}}),_0xc66603=_0x12992c[_0x3250be(0x24f)]={},_0x588fe0=_0xc66603[_0x3250be(0x4ed)]={'stringify':function(_0x12d5af){const _0x58b08a=_0x3250be;for(var _0x2b126b=_0x12d5af['words'],_0x2e3fd3=_0x12d5af[_0x58b08a(0x27d)],_0x564aaf=[],_0x2f48c4=0x0;_0x2f48c4<_0x2e3fd3;_0x2f48c4++){var _0x4bfb06=_0x2b126b[_0x2f48c4>>>0x2]>>>0x18-_0x2f48c4%0x4*0x8&0xff;_0x564aaf[_0x58b08a(0x3a1)]((_0x4bfb06>>>0x4)[_0x58b08a(0x304)](0x10)),_0x564aaf[_0x58b08a(0x3a1)]((_0x4bfb06&0xf)[_0x58b08a(0x304)](0x10));}return _0x564aaf[_0x58b08a(0x4a4)]('');},'parse':function(_0x44af69){const _0x5a9ecf=_0x3250be;for(var _0x55245d=_0x44af69['length'],_0x342ef6=[],_0x6bd99c=0x0;_0x6bd99c<_0x55245d;_0x6bd99c+=0x2)_0x342ef6[_0x6bd99c>>>0x3]|=parseInt(_0x44af69[_0x5a9ecf(0x282)](_0x6bd99c,0x2),0x10)<<0x18-_0x6bd99c%0x8*0x4;return new _0x4cbfae[(_0x5a9ecf(0x51f))](_0x342ef6,_0x55245d/0x2);}},_0x137e49=_0xc66603[_0x3250be(0x268)]={'stringify':function(_0x23d543){const _0x3f0cc4=_0x3250be;for(var _0x1d943b=_0x23d543[_0x3f0cc4(0x457)],_0x408923=_0x23d543[_0x3f0cc4(0x27d)],_0x40ee0b=[],_0x3cef73=0x0;_0x3cef73<_0x408923;_0x3cef73++){var _0x4d0c62=_0x1d943b[_0x3cef73>>>0x2]>>>0x18-_0x3cef73%0x4*0x8&0xff;_0x40ee0b[_0x3f0cc4(0x3a1)](String[_0x3f0cc4(0x40e)](_0x4d0c62));}return _0x40ee0b['join']('');},'parse':function(_0x4d96bc){const _0x2782ca=_0x3250be;for(var _0x258f1f=_0x4d96bc[_0x2782ca(0x4ca)],_0x173dca=[],_0x37ea2b=0x0;_0x37ea2b<_0x258f1f;_0x37ea2b++)_0x173dca[_0x37ea2b>>>0x2]|=(_0x4d96bc[_0x2782ca(0x315)](_0x37ea2b)&0xff)<<0x18-_0x37ea2b%0x4*0x8;return new _0x4cbfae[(_0x2782ca(0x51f))](_0x173dca,_0x258f1f);}},_0x5bd116=_0xc66603[_0x3250be(0x1c4)]={'stringify':function(_0x47015a){const _0x440798=_0x3250be;try{return decodeURIComponent(escape(_0x137e49[_0x440798(0x38a)](_0x47015a)));}catch{throw Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x16c27c){return _0x137e49['parse'](unescape(encodeURIComponent(_0x16c27c)));}},_0x250153=_0x4dd546[_0x3250be(0x27c)]=_0x5b7b6b[_0x3250be(0x2f4)]({'reset':function(){const _0xc02c3a=_0x3250be;this[_0xc02c3a(0x3e1)]=new _0x4cbfae['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x1a3fee){const _0x3da68b=_0x3250be;typeof _0x1a3fee=='string'&&(_0x1a3fee=_0x5bd116[_0x3da68b(0x1cb)](_0x1a3fee)),this[_0x3da68b(0x3e1)]['concat'](_0x1a3fee),this['_nDataBytes']+=_0x1a3fee[_0x3da68b(0x27d)];},'_process':function(_0x4572ee){const _0x5927e2=_0x3250be;var _0x526b63,_0x211d00=this['_data'],_0x5cc951=_0x211d00['words'],_0x31c85b=_0x211d00[_0x5927e2(0x27d)],_0xc2497b=this[_0x5927e2(0x25f)],_0xf8f543=_0x31c85b/(_0xc2497b*0x4);_0xf8f543=_0x4572ee?_0x3d8d67[_0x5927e2(0x2e7)](_0xf8f543):_0x3d8d67[_0x5927e2(0x4ce)]((_0xf8f543|0x0)-this['_minBufferSize'],0x0);var _0x5dba0a=_0xf8f543*_0xc2497b,_0xd075fc=_0x3d8d67[_0x5927e2(0x217)](_0x5dba0a*0x4,_0x31c85b);if(_0x5dba0a){for(var _0x3e85b3=0x0;_0x3e85b3<_0x5dba0a;_0x3e85b3+=_0xc2497b)this[_0x5927e2(0x504)](_0x5cc951,_0x3e85b3);_0x526b63=_0x5cc951[_0x5927e2(0x2a7)](0x0,_0x5dba0a),_0x211d00[_0x5927e2(0x27d)]-=_0xd075fc;}return new _0x4cbfae[(_0x5927e2(0x51f))](_0x526b63,_0xd075fc);},'clone':function(){const _0x50fe43=_0x3250be;var _0x588d68=_0x5b7b6b[_0x50fe43(0x201)][_0x50fe43(0x18a)](this);return _0x588d68[_0x50fe43(0x3e1)]=this['_data']['clone'](),_0x588d68;},'_minBufferSize':0x0});_0x4dd546['Hasher']=_0x250153[_0x3250be(0x2f4)]({'cfg':_0x5b7b6b[_0x3250be(0x2f4)](),'init':function(_0x16d8cd){const _0x3a119d=_0x3250be;this['cfg']=this[_0x3a119d(0x36d)][_0x3a119d(0x2f4)](_0x16d8cd),this[_0x3a119d(0x3c9)]();},'reset':function(){const _0x24db5a=_0x3250be;_0x250153[_0x24db5a(0x3c9)][_0x24db5a(0x18a)](this),this[_0x24db5a(0x410)]();},'update':function(_0x4c30fe){const _0x365998=_0x3250be;return this[_0x365998(0x1ee)](_0x4c30fe),this[_0x365998(0x441)](),this;},'finalize':function(_0x403173){return _0x403173&&this['_append'](_0x403173),this['_doFinalize']();},'blockSize':0x200/0x20,'_createHelper':function(_0x414fe6){return function(_0x37c49d,_0xbcc79d){const _0x155ceb=_0x50be;return new _0x414fe6['init'](_0xbcc79d)[_0x155ceb(0x1a8)](_0x37c49d);};},'_createHmacHelper':function(_0x449573){return function(_0x2f1cd4,_0x21fccc){const _0x4f0dbc=_0x50be;return new _0x314e5a[(_0x4f0dbc(0x36f))][(_0x4f0dbc(0x51f))](_0x449573,_0x21fccc)['finalize'](_0x2f1cd4);};}});var _0x314e5a=_0x12992c[_0x3250be(0x1f9)]={};return _0x12992c;}(Math);return _0x15340b;}));}),_0x28191d=_0x3712b0((_0x39e253,_0x2c0cc8)=>{(function(_0x522dcd,_0x2fce5b){const _0x32882b=_0x50be;typeof _0x39e253==_0x32882b(0x240)?_0x2c0cc8[_0x32882b(0x50d)]=_0x39e253=_0x2fce5b(_0x13f9ca()):typeof define==_0x32882b(0x329)&&define['amd']?define([_0x32882b(0x256)],_0x2fce5b):_0x2fce5b(_0x522dcd['CryptoJS']);}(_0x39e253,function(_0x38a5e5){const _0x2be5b5=_0x50be;return(function(){const _0x42e1ed=_0x50be;var _0x4a2bdd=_0x38a5e5,_0x1b224a=_0x4a2bdd[_0x42e1ed(0x290)][_0x42e1ed(0x183)],_0x25860a=_0x4a2bdd[_0x42e1ed(0x24f)];_0x25860a[_0x42e1ed(0x4b6)]={'stringify':function(_0x2b661c){const _0x16d8ae=_0x42e1ed;var _0x494209=_0x2b661c[_0x16d8ae(0x457)],_0x245ec7=_0x2b661c[_0x16d8ae(0x27d)],_0xa603c8=this[_0x16d8ae(0x4e9)];_0x2b661c[_0x16d8ae(0x1c9)]();for(var _0x2d7619=[],_0x1437c8=0x0;_0x1437c8<_0x245ec7;_0x1437c8+=0x3)for(var _0x3ca4ae=_0x494209[_0x1437c8>>>0x2]>>>0x18-_0x1437c8%0x4*0x8&0xff,_0x8f8c8=_0x494209[_0x1437c8+0x1>>>0x2]>>>0x18-(_0x1437c8+0x1)%0x4*0x8&0xff,_0x29c96a=_0x494209[_0x1437c8+0x2>>>0x2]>>>0x18-(_0x1437c8+0x2)%0x4*0x8&0xff,_0x15783f=_0x3ca4ae<<0x10|_0x8f8c8<<0x8|_0x29c96a,_0x27120=0x0;_0x27120<0x4&&_0x1437c8+_0x27120*0.75<_0x245ec7;_0x27120++)_0x2d7619['push'](_0xa603c8[_0x16d8ae(0x40a)](_0x15783f>>>0x6*(0x3-_0x27120)&0x3f));var _0x506915=_0xa603c8[_0x16d8ae(0x40a)](0x40);if(_0x506915){for(;_0x2d7619[_0x16d8ae(0x4ca)]%0x4;)_0x2d7619['push'](_0x506915);}return _0x2d7619['join']('');},'parse':function(_0x2bb98b){const _0x4bb5f1=_0x42e1ed;var _0x2b7949=_0x2bb98b[_0x4bb5f1(0x4ca)],_0xd5a570=this[_0x4bb5f1(0x4e9)],_0x8c9140=this[_0x4bb5f1(0x231)];if(!_0x8c9140){_0x8c9140=this[_0x4bb5f1(0x231)]=[];for(var _0x205521=0x0;_0x205521<_0xd5a570[_0x4bb5f1(0x4ca)];_0x205521++)_0x8c9140[_0xd5a570['charCodeAt'](_0x205521)]=_0x205521;}var _0x2e8fc6=_0xd5a570[_0x4bb5f1(0x40a)](0x40);if(_0x2e8fc6){var _0xc3d184=_0x2bb98b[_0x4bb5f1(0x1d8)](_0x2e8fc6);_0xc3d184!==-0x1&&(_0x2b7949=_0xc3d184);}return _0x1e3fba(_0x2bb98b,_0x2b7949,_0x8c9140);},'_map':_0x42e1ed(0x33e)};function _0x1e3fba(_0x5e56ae,_0x505b33,_0x3fdd7d){const _0x5a2596=_0x42e1ed;for(var _0x5ede17=[],_0x4bff14=0x0,_0x4d1167=0x0;_0x4d1167<_0x505b33;_0x4d1167++)if(_0x4d1167%0x4){var _0x434a0b=_0x3fdd7d[_0x5e56ae[_0x5a2596(0x315)](_0x4d1167-0x1)]<<_0x4d1167%0x4*0x2|_0x3fdd7d[_0x5e56ae[_0x5a2596(0x315)](_0x4d1167)]>>>0x6-_0x4d1167%0x4*0x2;_0x5ede17[_0x4bff14>>>0x2]|=_0x434a0b<<0x18-_0x4bff14%0x4*0x8,_0x4bff14++;}return _0x1b224a['create'](_0x5ede17,_0x4bff14);}}()),_0x38a5e5[_0x2be5b5(0x24f)][_0x2be5b5(0x4b6)];}));}),_0x3bcf96=_0x3712b0((_0x2e9e36,_0x4f21a4)=>{(function(_0x37dfec,_0x3eb204){const _0x2bb9e8=_0x50be;typeof _0x2e9e36=='object'?_0x4f21a4[_0x2bb9e8(0x50d)]=_0x2e9e36=_0x3eb204(_0x13f9ca()):typeof define==_0x2bb9e8(0x329)&&define['amd']?define([_0x2bb9e8(0x256)],_0x3eb204):_0x3eb204(_0x37dfec[_0x2bb9e8(0x46b)]);}(_0x2e9e36,function(_0x3f7da9){const _0x3849ca=_0x50be;return function(_0x1e4579){const _0x1ddda9=_0x50be;var _0x501d16=_0x3f7da9,_0x241798=_0x501d16['lib'],_0x448fc2=_0x241798['WordArray'],_0x2da7ed=_0x241798[_0x1ddda9(0x378)],_0x14bf6d=_0x501d16[_0x1ddda9(0x1f9)],_0x4d5955=[];(function(){const _0x3c1d08=_0x1ddda9;for(var _0x372352=0x0;_0x372352<0x40;_0x372352++)_0x4d5955[_0x372352]=_0x1e4579['abs'](_0x1e4579[_0x3c1d08(0x480)](_0x372352+0x1))*0x100000000|0x0;}());var _0x1d712f=_0x14bf6d[_0x1ddda9(0x407)]=_0x2da7ed[_0x1ddda9(0x2f4)]({'_doReset':function(){const _0x3f0770=_0x1ddda9;this[_0x3f0770(0x1eb)]=new _0x448fc2[(_0x3f0770(0x51f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5e5c47,_0x5c5493){const _0x36d86f=_0x1ddda9;for(var _0x35c2e3=0x0;_0x35c2e3<0x10;_0x35c2e3++){var _0x5ed22d=_0x5c5493+_0x35c2e3,_0x2735fd=_0x5e5c47[_0x5ed22d];_0x5e5c47[_0x5ed22d]=(_0x2735fd<<0x8|_0x2735fd>>>0x18)&0xff00ff|(_0x2735fd<<0x18|_0x2735fd>>>0x8)&0xff00ff00;}var _0x5be8b9=this[_0x36d86f(0x1eb)][_0x36d86f(0x457)],_0x1055d0=_0x5e5c47[_0x5c5493+0x0],_0x315780=_0x5e5c47[_0x5c5493+0x1],_0x9c4d84=_0x5e5c47[_0x5c5493+0x2],_0x2c0ef7=_0x5e5c47[_0x5c5493+0x3],_0x229df2=_0x5e5c47[_0x5c5493+0x4],_0x2a5f4b=_0x5e5c47[_0x5c5493+0x5],_0x38a31f=_0x5e5c47[_0x5c5493+0x6],_0x242c1c=_0x5e5c47[_0x5c5493+0x7],_0x4cd3b3=_0x5e5c47[_0x5c5493+0x8],_0x4b0e99=_0x5e5c47[_0x5c5493+0x9],_0x15674d=_0x5e5c47[_0x5c5493+0xa],_0x47d514=_0x5e5c47[_0x5c5493+0xb],_0x5b5ec9=_0x5e5c47[_0x5c5493+0xc],_0x501682=_0x5e5c47[_0x5c5493+0xd],_0x5aa43e=_0x5e5c47[_0x5c5493+0xe],_0x3332ad=_0x5e5c47[_0x5c5493+0xf],_0x2d3871=_0x5be8b9[0x0],_0x51fda2=_0x5be8b9[0x1],_0x37a359=_0x5be8b9[0x2],_0x4bddf9=_0x5be8b9[0x3];_0x2d3871=_0x2a43de(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x1055d0,0x7,_0x4d5955[0x0]),_0x4bddf9=_0x2a43de(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x315780,0xc,_0x4d5955[0x1]),_0x37a359=_0x2a43de(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x9c4d84,0x11,_0x4d5955[0x2]),_0x51fda2=_0x2a43de(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x2c0ef7,0x16,_0x4d5955[0x3]),_0x2d3871=_0x2a43de(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x229df2,0x7,_0x4d5955[0x4]),_0x4bddf9=_0x2a43de(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x2a5f4b,0xc,_0x4d5955[0x5]),_0x37a359=_0x2a43de(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x38a31f,0x11,_0x4d5955[0x6]),_0x51fda2=_0x2a43de(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x242c1c,0x16,_0x4d5955[0x7]),_0x2d3871=_0x2a43de(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x4cd3b3,0x7,_0x4d5955[0x8]),_0x4bddf9=_0x2a43de(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x4b0e99,0xc,_0x4d5955[0x9]),_0x37a359=_0x2a43de(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x15674d,0x11,_0x4d5955[0xa]),_0x51fda2=_0x2a43de(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x47d514,0x16,_0x4d5955[0xb]),_0x2d3871=_0x2a43de(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x5b5ec9,0x7,_0x4d5955[0xc]),_0x4bddf9=_0x2a43de(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x501682,0xc,_0x4d5955[0xd]),_0x37a359=_0x2a43de(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x5aa43e,0x11,_0x4d5955[0xe]),_0x51fda2=_0x2a43de(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x3332ad,0x16,_0x4d5955[0xf]),_0x2d3871=_0x2999b7(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x315780,0x5,_0x4d5955[0x10]),_0x4bddf9=_0x2999b7(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x38a31f,0x9,_0x4d5955[0x11]),_0x37a359=_0x2999b7(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x47d514,0xe,_0x4d5955[0x12]),_0x51fda2=_0x2999b7(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x1055d0,0x14,_0x4d5955[0x13]),_0x2d3871=_0x2999b7(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x2a5f4b,0x5,_0x4d5955[0x14]),_0x4bddf9=_0x2999b7(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x15674d,0x9,_0x4d5955[0x15]),_0x37a359=_0x2999b7(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x3332ad,0xe,_0x4d5955[0x16]),_0x51fda2=_0x2999b7(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x229df2,0x14,_0x4d5955[0x17]),_0x2d3871=_0x2999b7(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x4b0e99,0x5,_0x4d5955[0x18]),_0x4bddf9=_0x2999b7(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x5aa43e,0x9,_0x4d5955[0x19]),_0x37a359=_0x2999b7(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x2c0ef7,0xe,_0x4d5955[0x1a]),_0x51fda2=_0x2999b7(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x4cd3b3,0x14,_0x4d5955[0x1b]),_0x2d3871=_0x2999b7(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x501682,0x5,_0x4d5955[0x1c]),_0x4bddf9=_0x2999b7(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x9c4d84,0x9,_0x4d5955[0x1d]),_0x37a359=_0x2999b7(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x242c1c,0xe,_0x4d5955[0x1e]),_0x51fda2=_0x2999b7(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x5b5ec9,0x14,_0x4d5955[0x1f]),_0x2d3871=_0x1b0e37(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x2a5f4b,0x4,_0x4d5955[0x20]),_0x4bddf9=_0x1b0e37(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x4cd3b3,0xb,_0x4d5955[0x21]),_0x37a359=_0x1b0e37(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x47d514,0x10,_0x4d5955[0x22]),_0x51fda2=_0x1b0e37(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x5aa43e,0x17,_0x4d5955[0x23]),_0x2d3871=_0x1b0e37(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x315780,0x4,_0x4d5955[0x24]),_0x4bddf9=_0x1b0e37(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x229df2,0xb,_0x4d5955[0x25]),_0x37a359=_0x1b0e37(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x242c1c,0x10,_0x4d5955[0x26]),_0x51fda2=_0x1b0e37(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x15674d,0x17,_0x4d5955[0x27]),_0x2d3871=_0x1b0e37(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x501682,0x4,_0x4d5955[0x28]),_0x4bddf9=_0x1b0e37(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x1055d0,0xb,_0x4d5955[0x29]),_0x37a359=_0x1b0e37(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x2c0ef7,0x10,_0x4d5955[0x2a]),_0x51fda2=_0x1b0e37(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x38a31f,0x17,_0x4d5955[0x2b]),_0x2d3871=_0x1b0e37(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x4b0e99,0x4,_0x4d5955[0x2c]),_0x4bddf9=_0x1b0e37(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x5b5ec9,0xb,_0x4d5955[0x2d]),_0x37a359=_0x1b0e37(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x3332ad,0x10,_0x4d5955[0x2e]),_0x51fda2=_0x1b0e37(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x9c4d84,0x17,_0x4d5955[0x2f]),_0x2d3871=_0x377cae(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x1055d0,0x6,_0x4d5955[0x30]),_0x4bddf9=_0x377cae(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x242c1c,0xa,_0x4d5955[0x31]),_0x37a359=_0x377cae(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x5aa43e,0xf,_0x4d5955[0x32]),_0x51fda2=_0x377cae(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x2a5f4b,0x15,_0x4d5955[0x33]),_0x2d3871=_0x377cae(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x5b5ec9,0x6,_0x4d5955[0x34]),_0x4bddf9=_0x377cae(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x2c0ef7,0xa,_0x4d5955[0x35]),_0x37a359=_0x377cae(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x15674d,0xf,_0x4d5955[0x36]),_0x51fda2=_0x377cae(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x315780,0x15,_0x4d5955[0x37]),_0x2d3871=_0x377cae(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x4cd3b3,0x6,_0x4d5955[0x38]),_0x4bddf9=_0x377cae(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x3332ad,0xa,_0x4d5955[0x39]),_0x37a359=_0x377cae(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x38a31f,0xf,_0x4d5955[0x3a]),_0x51fda2=_0x377cae(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x501682,0x15,_0x4d5955[0x3b]),_0x2d3871=_0x377cae(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x229df2,0x6,_0x4d5955[0x3c]),_0x4bddf9=_0x377cae(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x47d514,0xa,_0x4d5955[0x3d]),_0x37a359=_0x377cae(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x9c4d84,0xf,_0x4d5955[0x3e]),_0x51fda2=_0x377cae(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x4b0e99,0x15,_0x4d5955[0x3f]),_0x5be8b9[0x0]=_0x5be8b9[0x0]+_0x2d3871|0x0,_0x5be8b9[0x1]=_0x5be8b9[0x1]+_0x51fda2|0x0,_0x5be8b9[0x2]=_0x5be8b9[0x2]+_0x37a359|0x0,_0x5be8b9[0x3]=_0x5be8b9[0x3]+_0x4bddf9|0x0;},'_doFinalize':function(){const _0x544154=_0x1ddda9;var _0x1ea1ce=this[_0x544154(0x3e1)],_0x5dec12=_0x1ea1ce[_0x544154(0x457)],_0x4335f3=this[_0x544154(0x443)]*0x8,_0x17ee47=_0x1ea1ce[_0x544154(0x27d)]*0x8;_0x5dec12[_0x17ee47>>>0x5]|=0x80<<0x18-_0x17ee47%0x20;var _0x38defd=_0x1e4579[_0x544154(0x2cb)](_0x4335f3/0x100000000),_0x3ec75e=_0x4335f3;_0x5dec12[(_0x17ee47+0x40>>>0x9<<0x4)+0xf]=(_0x38defd<<0x8|_0x38defd>>>0x18)&0xff00ff|(_0x38defd<<0x18|_0x38defd>>>0x8)&0xff00ff00,_0x5dec12[(_0x17ee47+0x40>>>0x9<<0x4)+0xe]=(_0x3ec75e<<0x8|_0x3ec75e>>>0x18)&0xff00ff|(_0x3ec75e<<0x18|_0x3ec75e>>>0x8)&0xff00ff00,_0x1ea1ce[_0x544154(0x27d)]=(_0x5dec12[_0x544154(0x4ca)]+0x1)*0x4,this[_0x544154(0x441)]();for(var _0x343092=this[_0x544154(0x1eb)],_0x1cd755=_0x343092[_0x544154(0x457)],_0x591c6e=0x0;_0x591c6e<0x4;_0x591c6e++){var _0x84e487=_0x1cd755[_0x591c6e];_0x1cd755[_0x591c6e]=(_0x84e487<<0x8|_0x84e487>>>0x18)&0xff00ff|(_0x84e487<<0x18|_0x84e487>>>0x8)&0xff00ff00;}return _0x343092;},'clone':function(){const _0x2103df=_0x1ddda9;var _0x57fde2=_0x2da7ed[_0x2103df(0x201)][_0x2103df(0x18a)](this);return _0x57fde2[_0x2103df(0x1eb)]=this[_0x2103df(0x1eb)][_0x2103df(0x201)](),_0x57fde2;}});function _0x2a43de(_0xc0fd78,_0x226aea,_0x5b0845,_0x1d5468,_0x4d9e81,_0x46027f,_0x34e237){var _0x3dcb35=_0xc0fd78+(_0x226aea&_0x5b0845|~_0x226aea&_0x1d5468)+_0x4d9e81+_0x34e237;return(_0x3dcb35<<_0x46027f|_0x3dcb35>>>0x20-_0x46027f)+_0x226aea;}function _0x2999b7(_0x474717,_0x55d929,_0x3f7c4b,_0x2c6888,_0x398b0f,_0x59172c,_0x21203a){var _0x192084=_0x474717+(_0x55d929&_0x2c6888|_0x3f7c4b&~_0x2c6888)+_0x398b0f+_0x21203a;return(_0x192084<<_0x59172c|_0x192084>>>0x20-_0x59172c)+_0x55d929;}function _0x1b0e37(_0x13bd07,_0x406cee,_0x2333e2,_0x388794,_0x1d86fc,_0x1ed8c8,_0x1b474e){var _0x364a6b=_0x13bd07+(_0x406cee^_0x2333e2^_0x388794)+_0x1d86fc+_0x1b474e;return(_0x364a6b<<_0x1ed8c8|_0x364a6b>>>0x20-_0x1ed8c8)+_0x406cee;}function _0x377cae(_0x43fa78,_0x2dbc57,_0x4a77f9,_0x4b5504,_0x24f3e5,_0x444efe,_0xd52d14){var _0x1337f5=_0x43fa78+(_0x4a77f9^(_0x2dbc57|~_0x4b5504))+_0x24f3e5+_0xd52d14;return(_0x1337f5<<_0x444efe|_0x1337f5>>>0x20-_0x444efe)+_0x2dbc57;}_0x501d16[_0x1ddda9(0x407)]=_0x2da7ed[_0x1ddda9(0x251)](_0x1d712f),_0x501d16['HmacMD5']=_0x2da7ed['_createHmacHelper'](_0x1d712f);}(Math),_0x3f7da9[_0x3849ca(0x407)];}));}),_0x1b6f34=_0x3712b0((_0x450847,_0x466890)=>{(function(_0x5b4e53,_0x36277f){const _0x2a2660=_0x50be;typeof _0x450847=='object'?_0x466890[_0x2a2660(0x50d)]=_0x450847=_0x36277f(_0x13f9ca()):typeof define==_0x2a2660(0x329)&&define[_0x2a2660(0x4cf)]?define(['./core'],_0x36277f):_0x36277f(_0x5b4e53['CryptoJS']);}(_0x450847,function(_0xe4e848){const _0x1ab137=_0x50be;return(function(){const _0x1837dc=_0x50be;var _0x13cdb9=_0xe4e848,_0x1aa479=_0x13cdb9[_0x1837dc(0x290)],_0x2c647f=_0x1aa479['WordArray'],_0x1b2895=_0x1aa479[_0x1837dc(0x378)],_0x1a4d7b=_0x13cdb9[_0x1837dc(0x1f9)],_0x3c5f69=[],_0x3901d0=_0x1a4d7b[_0x1837dc(0x3ed)]=_0x1b2895[_0x1837dc(0x2f4)]({'_doReset':function(){this['_hash']=new _0x2c647f['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x134d6e,_0x2a7dc3){const _0x1eee4f=_0x1837dc;for(var _0x2b64c1=this[_0x1eee4f(0x1eb)][_0x1eee4f(0x457)],_0x22975b=_0x2b64c1[0x0],_0x15134b=_0x2b64c1[0x1],_0x2f9176=_0x2b64c1[0x2],_0x4cdd3d=_0x2b64c1[0x3],_0x539e87=_0x2b64c1[0x4],_0x46bdfa=0x0;_0x46bdfa<0x50;_0x46bdfa++){if(_0x46bdfa<0x10)_0x3c5f69[_0x46bdfa]=_0x134d6e[_0x2a7dc3+_0x46bdfa]|0x0;else{var _0x35eb22=_0x3c5f69[_0x46bdfa-0x3]^_0x3c5f69[_0x46bdfa-0x8]^_0x3c5f69[_0x46bdfa-0xe]^_0x3c5f69[_0x46bdfa-0x10];_0x3c5f69[_0x46bdfa]=_0x35eb22<<0x1|_0x35eb22>>>0x1f;}var _0x27f38e=(_0x22975b<<0x5|_0x22975b>>>0x1b)+_0x539e87+_0x3c5f69[_0x46bdfa];_0x46bdfa<0x14?_0x27f38e+=(_0x15134b&_0x2f9176|~_0x15134b&_0x4cdd3d)+0x5a827999:_0x46bdfa<0x28?_0x27f38e+=(_0x15134b^_0x2f9176^_0x4cdd3d)+0x6ed9eba1:_0x46bdfa<0x3c?_0x27f38e+=(_0x15134b&_0x2f9176|_0x15134b&_0x4cdd3d|_0x2f9176&_0x4cdd3d)-0x70e44324:_0x27f38e+=(_0x15134b^_0x2f9176^_0x4cdd3d)-0x359d3e2a,_0x539e87=_0x4cdd3d,_0x4cdd3d=_0x2f9176,_0x2f9176=_0x15134b<<0x1e|_0x15134b>>>0x2,_0x15134b=_0x22975b,_0x22975b=_0x27f38e;}_0x2b64c1[0x0]=_0x2b64c1[0x0]+_0x22975b|0x0,_0x2b64c1[0x1]=_0x2b64c1[0x1]+_0x15134b|0x0,_0x2b64c1[0x2]=_0x2b64c1[0x2]+_0x2f9176|0x0,_0x2b64c1[0x3]=_0x2b64c1[0x3]+_0x4cdd3d|0x0,_0x2b64c1[0x4]=_0x2b64c1[0x4]+_0x539e87|0x0;},'_doFinalize':function(){const _0x2bd092=_0x1837dc;var _0x5a6deb=this['_data'],_0x350ee7=_0x5a6deb[_0x2bd092(0x457)],_0x199d17=this[_0x2bd092(0x443)]*0x8,_0x4b90f2=_0x5a6deb['sigBytes']*0x8;return _0x350ee7[_0x4b90f2>>>0x5]|=0x80<<0x18-_0x4b90f2%0x20,_0x350ee7[(_0x4b90f2+0x40>>>0x9<<0x4)+0xe]=Math[_0x2bd092(0x2cb)](_0x199d17/0x100000000),_0x350ee7[(_0x4b90f2+0x40>>>0x9<<0x4)+0xf]=_0x199d17,_0x5a6deb['sigBytes']=_0x350ee7[_0x2bd092(0x4ca)]*0x4,this[_0x2bd092(0x441)](),this[_0x2bd092(0x1eb)];},'clone':function(){const _0x443267=_0x1837dc;var _0x53aa10=_0x1b2895['clone'][_0x443267(0x18a)](this);return _0x53aa10[_0x443267(0x1eb)]=this[_0x443267(0x1eb)]['clone'](),_0x53aa10;}});_0x13cdb9[_0x1837dc(0x3ed)]=_0x1b2895['_createHelper'](_0x3901d0),_0x13cdb9[_0x1837dc(0x1db)]=_0x1b2895[_0x1837dc(0x4ea)](_0x3901d0);}()),_0xe4e848[_0x1ab137(0x3ed)];}));}),_0x3327db=_0x3712b0((_0x985f87,_0x5079ca)=>{(function(_0x5d9fe4,_0x4490d0){const _0x42bd7a=_0x50be;typeof _0x985f87==_0x42bd7a(0x240)?_0x5079ca[_0x42bd7a(0x50d)]=_0x985f87=_0x4490d0(_0x13f9ca()):typeof define==_0x42bd7a(0x329)&&define['amd']?define([_0x42bd7a(0x256)],_0x4490d0):_0x4490d0(_0x5d9fe4[_0x42bd7a(0x46b)]);}(_0x985f87,function(_0x3618d6){(function(){const _0x4c3fb8=_0x50be;var _0x3c2044=_0x3618d6,_0x2b67fa=_0x3c2044['lib'][_0x4c3fb8(0x1bf)],_0xfecc9e=_0x3c2044[_0x4c3fb8(0x24f)][_0x4c3fb8(0x1c4)],_0x3a2f3d=_0x3c2044['algo'];_0x3a2f3d['HMAC']=_0x2b67fa[_0x4c3fb8(0x2f4)]({'init':function(_0x2bd78c,_0x303d57){const _0x4b63d7=_0x4c3fb8;_0x2bd78c=this[_0x4b63d7(0x468)]=new _0x2bd78c[(_0x4b63d7(0x51f))](),typeof _0x303d57=='string'&&(_0x303d57=_0xfecc9e[_0x4b63d7(0x1cb)](_0x303d57));var _0xd5ba0=_0x2bd78c[_0x4b63d7(0x25f)],_0x50d42f=_0xd5ba0*0x4;_0x303d57[_0x4b63d7(0x27d)]>_0x50d42f&&(_0x303d57=_0x2bd78c[_0x4b63d7(0x1a8)](_0x303d57)),_0x303d57['clamp']();for(var _0x5ecd76=this[_0x4b63d7(0x3ab)]=_0x303d57[_0x4b63d7(0x201)](),_0x1769fc=this[_0x4b63d7(0x490)]=_0x303d57[_0x4b63d7(0x201)](),_0x2692f4=_0x5ecd76[_0x4b63d7(0x457)],_0x152703=_0x1769fc[_0x4b63d7(0x457)],_0x445cfe=0x0;_0x445cfe<_0xd5ba0;_0x445cfe++)_0x2692f4[_0x445cfe]^=0x5c5c5c5c,_0x152703[_0x445cfe]^=0x36363636;_0x5ecd76['sigBytes']=_0x1769fc['sigBytes']=_0x50d42f,this[_0x4b63d7(0x3c9)]();},'reset':function(){const _0x4c7af2=_0x4c3fb8;var _0x32825c=this[_0x4c7af2(0x468)];_0x32825c[_0x4c7af2(0x3c9)](),_0x32825c[_0x4c7af2(0x4f0)](this['_iKey']);},'update':function(_0x2b7f12){const _0x46cba1=_0x4c3fb8;return this[_0x46cba1(0x468)][_0x46cba1(0x4f0)](_0x2b7f12),this;},'finalize':function(_0x2bd98a){const _0x25fa62=_0x4c3fb8;var _0x234a11=this[_0x25fa62(0x468)],_0x2e3dae=_0x234a11[_0x25fa62(0x1a8)](_0x2bd98a);return _0x234a11[_0x25fa62(0x3c9)](),_0x234a11[_0x25fa62(0x1a8)](this['_oKey']['clone']()[_0x25fa62(0x3e5)](_0x2e3dae));}});}());}));}),_0xd45db5=_0x3712b0((_0x4e9eda,_0x5305ac)=>{(function(_0x58b361,_0x4d96db,_0x5e45e5){const _0x3acd88=_0x50be;typeof _0x4e9eda=='object'?_0x5305ac[_0x3acd88(0x50d)]=_0x4e9eda=_0x4d96db(_0x13f9ca(),_0x1b6f34(),_0x3327db()):typeof define=='function'&&define['amd']?define([_0x3acd88(0x256),'./sha1','./hmac'],_0x4d96db):_0x4d96db(_0x58b361[_0x3acd88(0x46b)]);}(_0x4e9eda,function(_0x43b926){const _0x3903b4=_0x50be;return(function(){const _0x52b1b4=_0x50be;var _0x511f9d=_0x43b926,_0x2f56bf=_0x511f9d[_0x52b1b4(0x290)],_0x4f7086=_0x2f56bf[_0x52b1b4(0x1bf)],_0x31e430=_0x2f56bf[_0x52b1b4(0x183)],_0x146643=_0x511f9d[_0x52b1b4(0x1f9)],_0x448a11=_0x146643[_0x52b1b4(0x407)],_0x53dd19=_0x146643[_0x52b1b4(0x537)]=_0x4f7086[_0x52b1b4(0x2f4)]({'cfg':_0x4f7086[_0x52b1b4(0x2f4)]({'keySize':0x80/0x20,'hasher':_0x448a11,'iterations':0x1}),'init':function(_0xbd2274){const _0x2dd108=_0x52b1b4;this[_0x2dd108(0x36d)]=this[_0x2dd108(0x36d)]['extend'](_0xbd2274);},'compute':function(_0x4b5862,_0x1a4040){const _0x417ff3=_0x52b1b4;for(var _0x17d00d,_0x303f6c=this[_0x417ff3(0x36d)],_0x450830=_0x303f6c[_0x417ff3(0x28c)][_0x417ff3(0x34e)](),_0x5cba21=_0x31e430[_0x417ff3(0x34e)](),_0x4a720a=_0x5cba21['words'],_0xa68ef7=_0x303f6c['keySize'],_0x4e270b=_0x303f6c['iterations'];_0x4a720a[_0x417ff3(0x4ca)]<_0xa68ef7;){_0x17d00d&&_0x450830[_0x417ff3(0x4f0)](_0x17d00d),_0x17d00d=_0x450830['update'](_0x4b5862)[_0x417ff3(0x1a8)](_0x1a4040),_0x450830[_0x417ff3(0x3c9)]();for(var _0x2a7e31=0x1;_0x2a7e31<_0x4e270b;_0x2a7e31++)_0x17d00d=_0x450830[_0x417ff3(0x1a8)](_0x17d00d),_0x450830[_0x417ff3(0x3c9)]();_0x5cba21[_0x417ff3(0x3e5)](_0x17d00d);}return _0x5cba21[_0x417ff3(0x27d)]=_0xa68ef7*0x4,_0x5cba21;}});_0x511f9d[_0x52b1b4(0x537)]=function(_0xf1d914,_0x224cbf,_0x2bd5bd){const _0x892265=_0x52b1b4;return _0x53dd19[_0x892265(0x34e)](_0x2bd5bd)[_0x892265(0x270)](_0xf1d914,_0x224cbf);};}()),_0x43b926[_0x3903b4(0x537)];}));}),_0xdf37b6=_0x3712b0((_0x2aaa5a,_0x4170d7)=>{(function(_0x5b738f,_0x578e54,_0x2dbb33){const _0x3cede0=_0x50be;typeof _0x2aaa5a==_0x3cede0(0x240)?_0x4170d7[_0x3cede0(0x50d)]=_0x2aaa5a=_0x578e54(_0x13f9ca(),_0xd45db5()):typeof define==_0x3cede0(0x329)&&define[_0x3cede0(0x4cf)]?define([_0x3cede0(0x256),_0x3cede0(0x4b1)],_0x578e54):_0x578e54(_0x5b738f[_0x3cede0(0x46b)]);}(_0x2aaa5a,function(_0x45e8d2){const _0x149f10=_0x50be;_0x45e8d2[_0x149f10(0x290)][_0x149f10(0x2a5)]||function(_0x411669){const _0x418aca=_0x149f10;var _0x3b6b29=_0x45e8d2,_0x28e12a=_0x3b6b29[_0x418aca(0x290)],_0x30ef6b=_0x28e12a['Base'],_0x42e8cd=_0x28e12a[_0x418aca(0x183)],_0xc4b0f3=_0x28e12a[_0x418aca(0x27c)],_0x3ec6e9=_0x3b6b29[_0x418aca(0x24f)];_0x3ec6e9[_0x418aca(0x1c4)];var _0x44243e=_0x3ec6e9[_0x418aca(0x4b6)],_0x20e7d4=_0x3b6b29[_0x418aca(0x1f9)]['EvpKDF'],_0x10886f=_0x28e12a[_0x418aca(0x2a5)]=_0xc4b0f3[_0x418aca(0x2f4)]({'cfg':_0x30ef6b[_0x418aca(0x2f4)](),'createEncryptor':function(_0x5aa575,_0x52f16f){const _0x18a12a=_0x418aca;return this[_0x18a12a(0x34e)](this[_0x18a12a(0x2f0)],_0x5aa575,_0x52f16f);},'createDecryptor':function(_0x1438ea,_0x2fd922){const _0x431d7a=_0x418aca;return this[_0x431d7a(0x34e)](this[_0x431d7a(0x41a)],_0x1438ea,_0x2fd922);},'init':function(_0x1e8df5,_0x1dca74,_0x1412e3){const _0x4513d1=_0x418aca;this[_0x4513d1(0x36d)]=this[_0x4513d1(0x36d)][_0x4513d1(0x2f4)](_0x1412e3),this['_xformMode']=_0x1e8df5,this[_0x4513d1(0x272)]=_0x1dca74,this[_0x4513d1(0x3c9)]();},'reset':function(){const _0x58c4e7=_0x418aca;_0xc4b0f3[_0x58c4e7(0x3c9)][_0x58c4e7(0x18a)](this),this[_0x58c4e7(0x410)]();},'process':function(_0x349f39){const _0x2c4083=_0x418aca;return this[_0x2c4083(0x1ee)](_0x349f39),this[_0x2c4083(0x441)]();},'finalize':function(_0x50b82a){const _0x106cd4=_0x418aca;return _0x50b82a&&this[_0x106cd4(0x1ee)](_0x50b82a),this[_0x106cd4(0x4bf)]();},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5490ff(_0x17d423){return typeof _0x17d423=='string'?_0x5f38bb:_0x226b70;}return function(_0x2ee6e1){return{'encrypt':function(_0x314fb9,_0x24e0a3,_0x4c3b57){return _0x5490ff(_0x24e0a3)['encrypt'](_0x2ee6e1,_0x314fb9,_0x24e0a3,_0x4c3b57);},'decrypt':function(_0x188db6,_0x3b353b,_0xee0c35){const _0x35645e=_0x50be;return _0x5490ff(_0x3b353b)[_0x35645e(0x505)](_0x2ee6e1,_0x188db6,_0x3b353b,_0xee0c35);}};};}())});_0x28e12a[_0x418aca(0x535)]=_0x10886f[_0x418aca(0x2f4)]({'_doFinalize':function(){return this['_process'](!0x0);},'blockSize':0x1});var _0x403615=_0x3b6b29[_0x418aca(0x4a3)]={},_0x1243cb=_0x28e12a['BlockCipherMode']=_0x30ef6b[_0x418aca(0x2f4)]({'createEncryptor':function(_0x487a4f,_0x4b3e5){const _0x401cf6=_0x418aca;return this['Encryptor'][_0x401cf6(0x34e)](_0x487a4f,_0x4b3e5);},'createDecryptor':function(_0x36803f,_0x1510e){const _0x2e96fa=_0x418aca;return this[_0x2e96fa(0x4a7)][_0x2e96fa(0x34e)](_0x36803f,_0x1510e);},'init':function(_0x41a0a0,_0x4ecbad){const _0xea8841=_0x418aca;this['_cipher']=_0x41a0a0,this[_0xea8841(0x442)]=_0x4ecbad;}}),_0xa98e7e=_0x403615[_0x418aca(0x348)]=(function(){const _0x2a158c=_0x418aca;var _0x3ebd70=_0x1243cb[_0x2a158c(0x2f4)]();_0x3ebd70[_0x2a158c(0x372)]=_0x3ebd70[_0x2a158c(0x2f4)]({'processBlock':function(_0x6e14e2,_0x547ee3){const _0x21ed43=_0x2a158c;var _0x17b6da=this[_0x21ed43(0x387)],_0xf95b5=_0x17b6da[_0x21ed43(0x25f)];_0x1d68b2[_0x21ed43(0x18a)](this,_0x6e14e2,_0x547ee3,_0xf95b5),_0x17b6da['encryptBlock'](_0x6e14e2,_0x547ee3),this[_0x21ed43(0x333)]=_0x6e14e2[_0x21ed43(0x29d)](_0x547ee3,_0x547ee3+_0xf95b5);}}),_0x3ebd70[_0x2a158c(0x4a7)]=_0x3ebd70['extend']({'processBlock':function(_0x570532,_0x1db977){const _0x5655e2=_0x2a158c;var _0x363768=this['_cipher'],_0x25a640=_0x363768[_0x5655e2(0x25f)],_0xdb263e=_0x570532[_0x5655e2(0x29d)](_0x1db977,_0x1db977+_0x25a640);_0x363768['decryptBlock'](_0x570532,_0x1db977),_0x1d68b2[_0x5655e2(0x18a)](this,_0x570532,_0x1db977,_0x25a640),this['_prevBlock']=_0xdb263e;}});function _0x1d68b2(_0x545302,_0x44b83d,_0x23222f){const _0x59b838=_0x2a158c;var _0xffc218,_0x2a8e47=this[_0x59b838(0x442)];_0x2a8e47?(_0xffc218=_0x2a8e47,this[_0x59b838(0x442)]=_0x411669):_0xffc218=this[_0x59b838(0x333)];for(var _0x2bc0fd=0x0;_0x2bc0fd<_0x23222f;_0x2bc0fd++)_0x545302[_0x44b83d+_0x2bc0fd]^=_0xffc218[_0x2bc0fd];}return _0x3ebd70;}()),_0x241b4e=_0x3b6b29[_0x418aca(0x2b2)]={},_0x648b3b=_0x241b4e[_0x418aca(0x4e7)]={'pad':function(_0x5c6d72,_0x16d195){const _0x3e0182=_0x418aca;for(var _0x496859=_0x16d195*0x4,_0x27539a=_0x496859-_0x5c6d72['sigBytes']%_0x496859,_0x16c58b=_0x27539a<<0x18|_0x27539a<<0x10|_0x27539a<<0x8|_0x27539a,_0x435516=[],_0xec9bfe=0x0;_0xec9bfe<_0x27539a;_0xec9bfe+=0x4)_0x435516[_0x3e0182(0x3a1)](_0x16c58b);var _0x3954e2=_0x42e8cd[_0x3e0182(0x34e)](_0x435516,_0x27539a);_0x5c6d72[_0x3e0182(0x3e5)](_0x3954e2);},'unpad':function(_0x5cb43a){const _0x3b95af=_0x418aca;var _0x2dee10=_0x5cb43a[_0x3b95af(0x457)][_0x5cb43a[_0x3b95af(0x27d)]-0x1>>>0x2]&0xff;_0x5cb43a['sigBytes']-=_0x2dee10;}};_0x28e12a['BlockCipher']=_0x10886f[_0x418aca(0x2f4)]({'cfg':_0x10886f[_0x418aca(0x36d)][_0x418aca(0x2f4)]({'mode':_0xa98e7e,'padding':_0x648b3b}),'reset':function(){const _0x1a62b6=_0x418aca;var _0x1335c0;_0x10886f[_0x1a62b6(0x3c9)][_0x1a62b6(0x18a)](this);var _0x448ea8=this[_0x1a62b6(0x36d)],_0x4eae15=_0x448ea8['iv'],_0x12ed9b=_0x448ea8[_0x1a62b6(0x4a3)];this['_xformMode']==this[_0x1a62b6(0x2f0)]?_0x1335c0=_0x12ed9b[_0x1a62b6(0x2bd)]:(_0x1335c0=_0x12ed9b[_0x1a62b6(0x3db)],this[_0x1a62b6(0x379)]=0x1),this[_0x1a62b6(0x1cd)]&&this['_mode']['__creator']==_0x1335c0?this['_mode']['init'](this,_0x4eae15&&_0x4eae15['words']):(this[_0x1a62b6(0x1cd)]=_0x1335c0[_0x1a62b6(0x18a)](_0x12ed9b,this,_0x4eae15&&_0x4eae15[_0x1a62b6(0x457)]),this[_0x1a62b6(0x1cd)][_0x1a62b6(0x510)]=_0x1335c0);},'_doProcessBlock':function(_0x1affde,_0x14069f){const _0x220bb3=_0x418aca;this['_mode'][_0x220bb3(0x455)](_0x1affde,_0x14069f);},'_doFinalize':function(){const _0x225dba=_0x418aca;var _0x360667,_0x358b18=this['cfg'][_0x225dba(0x52a)];return this[_0x225dba(0x429)]==this[_0x225dba(0x2f0)]?(_0x358b18['pad'](this[_0x225dba(0x3e1)],this['blockSize']),_0x360667=this[_0x225dba(0x441)](!0x0)):(_0x360667=this[_0x225dba(0x441)](!0x0),_0x358b18[_0x225dba(0x50a)](_0x360667)),_0x360667;},'blockSize':0x80/0x20});var _0x6d6b9c=_0x28e12a['CipherParams']=_0x30ef6b[_0x418aca(0x2f4)]({'init':function(_0x427ea0){const _0x2b2383=_0x418aca;this[_0x2b2383(0x21a)](_0x427ea0);},'toString':function(_0x4e1eb6){const _0x4b9453=_0x418aca;return(_0x4e1eb6||this[_0x4b9453(0x52c)])[_0x4b9453(0x38a)](this);}}),_0x11450f=_0x3b6b29[_0x418aca(0x3e4)]={},_0x3fef68=_0x11450f[_0x418aca(0x2d3)]={'stringify':function(_0xad6180){const _0x4967dd=_0x418aca;var _0x209ed4,_0x2127dd=_0xad6180['ciphertext'],_0x396ebc=_0xad6180[_0x4967dd(0x4f5)];return _0x209ed4=_0x396ebc?_0x42e8cd[_0x4967dd(0x34e)]([0x53616c74,0x65645f5f])['concat'](_0x396ebc)[_0x4967dd(0x3e5)](_0x2127dd):_0x2127dd,_0x209ed4[_0x4967dd(0x304)](_0x44243e);},'parse':function(_0xc1c936){const _0x5803a8=_0x418aca;var _0x16500e,_0x284d40=_0x44243e['parse'](_0xc1c936),_0x49452e=_0x284d40[_0x5803a8(0x457)];return _0x49452e[0x0]==0x53616c74&&_0x49452e[0x1]==0x65645f5f&&(_0x16500e=_0x42e8cd['create'](_0x49452e[_0x5803a8(0x29d)](0x2,0x4)),_0x49452e['splice'](0x0,0x4),_0x284d40[_0x5803a8(0x27d)]-=0x10),_0x6d6b9c[_0x5803a8(0x34e)]({'ciphertext':_0x284d40,'salt':_0x16500e});}},_0x226b70=_0x28e12a[_0x418aca(0x367)]=_0x30ef6b[_0x418aca(0x2f4)]({'cfg':_0x30ef6b[_0x418aca(0x2f4)]({'format':_0x3fef68}),'encrypt':function(_0x2807f0,_0x48826e,_0x2d9701,_0x3192c0){const _0x569814=_0x418aca;_0x3192c0=this[_0x569814(0x36d)]['extend'](_0x3192c0);var _0x25f4c0=_0x2807f0['createEncryptor'](_0x2d9701,_0x3192c0),_0x1ee2ca=_0x25f4c0['finalize'](_0x48826e),_0x4b1cba=_0x25f4c0['cfg'];return _0x6d6b9c[_0x569814(0x34e)]({'ciphertext':_0x1ee2ca,'key':_0x2d9701,'iv':_0x4b1cba['iv'],'algorithm':_0x2807f0,'mode':_0x4b1cba[_0x569814(0x4a3)],'padding':_0x4b1cba[_0x569814(0x52a)],'blockSize':_0x2807f0[_0x569814(0x25f)],'formatter':_0x3192c0[_0x569814(0x3e4)]});},'decrypt':function(_0x5144bb,_0x471a0b,_0x31c3f5,_0x26db8b){const _0x29499b=_0x418aca;return _0x26db8b=this[_0x29499b(0x36d)]['extend'](_0x26db8b),_0x471a0b=this[_0x29499b(0x252)](_0x471a0b,_0x26db8b[_0x29499b(0x3e4)]),_0x5144bb['createDecryptor'](_0x31c3f5,_0x26db8b)['finalize'](_0x471a0b['ciphertext']);},'_parse':function(_0xe9b535,_0x4f8e36){const _0x2d06a9=_0x418aca;return typeof _0xe9b535=='string'?_0x4f8e36[_0x2d06a9(0x1cb)](_0xe9b535,this):_0xe9b535;}}),_0xa2ecae=_0x3b6b29['kdf']={},_0x236dda=_0xa2ecae['OpenSSL']={'execute':function(_0x2436da,_0x58a055,_0x129c27,_0x10b27,_0x2ae3bc){const _0x4c09f9=_0x418aca;if(_0x10b27||(_0x10b27=_0x42e8cd[_0x4c09f9(0x19d)](0x40/0x8)),_0x2ae3bc)var _0x282efa=_0x20e7d4['create']({'keySize':_0x58a055+_0x129c27,'hasher':_0x2ae3bc})[_0x4c09f9(0x270)](_0x2436da,_0x10b27);else var _0x282efa=_0x20e7d4[_0x4c09f9(0x34e)]({'keySize':_0x58a055+_0x129c27})[_0x4c09f9(0x270)](_0x2436da,_0x10b27);var _0x382c7d=_0x42e8cd[_0x4c09f9(0x34e)](_0x282efa[_0x4c09f9(0x457)][_0x4c09f9(0x29d)](_0x58a055),_0x129c27*0x4);return _0x282efa[_0x4c09f9(0x27d)]=_0x58a055*0x4,_0x6d6b9c[_0x4c09f9(0x34e)]({'key':_0x282efa,'iv':_0x382c7d,'salt':_0x10b27});}},_0x5f38bb=_0x28e12a[_0x418aca(0x3a7)]=_0x226b70[_0x418aca(0x2f4)]({'cfg':_0x226b70[_0x418aca(0x36d)][_0x418aca(0x2f4)]({'kdf':_0x236dda}),'encrypt':function(_0x5bf071,_0xf2f543,_0x52a270,_0x6a3a2e){const _0x1d14d9=_0x418aca;_0x6a3a2e=this[_0x1d14d9(0x36d)]['extend'](_0x6a3a2e);var _0x395b86=_0x6a3a2e['kdf'][_0x1d14d9(0x432)](_0x52a270,_0x5bf071[_0x1d14d9(0x213)],_0x5bf071['ivSize'],_0x6a3a2e[_0x1d14d9(0x4f5)],_0x6a3a2e[_0x1d14d9(0x28c)]);_0x6a3a2e['iv']=_0x395b86['iv'];var _0x23ec0e=_0x226b70[_0x1d14d9(0x390)][_0x1d14d9(0x18a)](this,_0x5bf071,_0xf2f543,_0x395b86[_0x1d14d9(0x1b5)],_0x6a3a2e);return _0x23ec0e[_0x1d14d9(0x21a)](_0x395b86),_0x23ec0e;},'decrypt':function(_0xcf6da7,_0xa5db86,_0x1ceb71,_0x52defa){const _0x193517=_0x418aca;_0x52defa=this[_0x193517(0x36d)]['extend'](_0x52defa),_0xa5db86=this['_parse'](_0xa5db86,_0x52defa[_0x193517(0x3e4)]);var _0x5cbe92=_0x52defa['kdf'][_0x193517(0x432)](_0x1ceb71,_0xcf6da7[_0x193517(0x213)],_0xcf6da7[_0x193517(0x384)],_0xa5db86[_0x193517(0x4f5)],_0x52defa[_0x193517(0x28c)]);return _0x52defa['iv']=_0x5cbe92['iv'],_0x226b70[_0x193517(0x505)][_0x193517(0x18a)](this,_0xcf6da7,_0xa5db86,_0x5cbe92['key'],_0x52defa);}});}();}));}),_0x563068=_0x3712b0((_0x47683a,_0xa3cf1)=>{(function(_0x43ac0b,_0x5e8519,_0x1b5895){const _0x27584a=_0x50be;typeof _0x47683a=='object'?_0xa3cf1[_0x27584a(0x50d)]=_0x47683a=_0x5e8519(_0x13f9ca(),_0x28191d(),_0x3bcf96(),_0xd45db5(),_0xdf37b6()):typeof define==_0x27584a(0x329)&&define[_0x27584a(0x4cf)]?define([_0x27584a(0x256),_0x27584a(0x369),_0x27584a(0x516),_0x27584a(0x4b1),'./cipher-core'],_0x5e8519):_0x5e8519(_0x43ac0b['CryptoJS']);}(_0x47683a,function(_0x1d74e3){const _0x600777=_0x50be;return(function(){const _0x6755be=_0x50be;var _0x533b7c=_0x1d74e3,_0x2637dd=_0x533b7c[_0x6755be(0x290)][_0x6755be(0x341)],_0x4ceb76=_0x533b7c[_0x6755be(0x1f9)],_0x258db5=[],_0x11890b=[],_0x196f98=[],_0x2e1c88=[],_0x4e5e8f=[],_0x4217bf=[],_0x5d2860=[],_0x35c18f=[],_0x30dc9b=[],_0x1bb4be=[];(function(){for(var _0x3e23b6=[],_0xb8f693=0x0;_0xb8f693<0x100;_0xb8f693++)_0xb8f693<0x80?_0x3e23b6[_0xb8f693]=_0xb8f693<<0x1:_0x3e23b6[_0xb8f693]=_0xb8f693<<0x1^0x11b;for(var _0x27c220=0x0,_0x3325f9=0x0,_0xb8f693=0x0;_0xb8f693<0x100;_0xb8f693++){var _0x1ee16c=_0x3325f9^_0x3325f9<<0x1^_0x3325f9<<0x2^_0x3325f9<<0x3^_0x3325f9<<0x4;_0x1ee16c=_0x1ee16c>>>0x8^_0x1ee16c&0xff^0x63,_0x258db5[_0x27c220]=_0x1ee16c,_0x11890b[_0x1ee16c]=_0x27c220;var _0x33b224=_0x3e23b6[_0x27c220],_0x1cf564=_0x3e23b6[_0x33b224],_0x13ba83=_0x3e23b6[_0x1cf564],_0x3de021=_0x3e23b6[_0x1ee16c]*0x101^_0x1ee16c*0x1010100;_0x196f98[_0x27c220]=_0x3de021<<0x18|_0x3de021>>>0x8,_0x2e1c88[_0x27c220]=_0x3de021<<0x10|_0x3de021>>>0x10,_0x4e5e8f[_0x27c220]=_0x3de021<<0x8|_0x3de021>>>0x18,_0x4217bf[_0x27c220]=_0x3de021;var _0x3de021=_0x13ba83*0x1010101^_0x1cf564*0x10001^_0x33b224*0x101^_0x27c220*0x1010100;_0x5d2860[_0x1ee16c]=_0x3de021<<0x18|_0x3de021>>>0x8,_0x35c18f[_0x1ee16c]=_0x3de021<<0x10|_0x3de021>>>0x10,_0x30dc9b[_0x1ee16c]=_0x3de021<<0x8|_0x3de021>>>0x18,_0x1bb4be[_0x1ee16c]=_0x3de021,_0x27c220?(_0x27c220=_0x33b224^_0x3e23b6[_0x3e23b6[_0x3e23b6[_0x13ba83^_0x33b224]]],_0x3325f9^=_0x3e23b6[_0x3e23b6[_0x3325f9]]):_0x27c220=_0x3325f9=0x1;}}());var _0x2214df=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x35184e=_0x4ceb76[_0x6755be(0x3f4)]=_0x2637dd[_0x6755be(0x2f4)]({'_doReset':function(){const _0x20964d=_0x6755be;var _0x2732cc;if(!(this[_0x20964d(0x375)]&&this[_0x20964d(0x3b1)]===this[_0x20964d(0x272)])){for(var _0x20141f=this['_keyPriorReset']=this[_0x20964d(0x272)],_0x5265b6=_0x20141f['words'],_0x376aa6=_0x20141f[_0x20964d(0x27d)]/0x4,_0xfa783e=((this[_0x20964d(0x375)]=_0x376aa6+0x6)+0x1)*0x4,_0x4f2193=this[_0x20964d(0x1f5)]=[],_0x3e79e1=0x0;_0x3e79e1<_0xfa783e;_0x3e79e1++)_0x3e79e1<_0x376aa6?_0x4f2193[_0x3e79e1]=_0x5265b6[_0x3e79e1]:(_0x2732cc=_0x4f2193[_0x3e79e1-0x1],_0x3e79e1%_0x376aa6?_0x376aa6>0x6&&_0x3e79e1%_0x376aa6==0x4&&(_0x2732cc=_0x258db5[_0x2732cc>>>0x18]<<0x18|_0x258db5[_0x2732cc>>>0x10&0xff]<<0x10|_0x258db5[_0x2732cc>>>0x8&0xff]<<0x8|_0x258db5[_0x2732cc&0xff]):(_0x2732cc=_0x2732cc<<0x8|_0x2732cc>>>0x18,_0x2732cc=_0x258db5[_0x2732cc>>>0x18]<<0x18|_0x258db5[_0x2732cc>>>0x10&0xff]<<0x10|_0x258db5[_0x2732cc>>>0x8&0xff]<<0x8|_0x258db5[_0x2732cc&0xff],_0x2732cc^=_0x2214df[_0x3e79e1/_0x376aa6|0x0]<<0x18),_0x4f2193[_0x3e79e1]=_0x4f2193[_0x3e79e1-_0x376aa6]^_0x2732cc);for(var _0x39c317=this['_invKeySchedule']=[],_0x4c6e86=0x0;_0x4c6e86<_0xfa783e;_0x4c6e86++){var _0x3e79e1=_0xfa783e-_0x4c6e86;if(_0x4c6e86%0x4)var _0x2732cc=_0x4f2193[_0x3e79e1];else var _0x2732cc=_0x4f2193[_0x3e79e1-0x4];_0x4c6e86<0x4||_0x3e79e1<=0x4?_0x39c317[_0x4c6e86]=_0x2732cc:_0x39c317[_0x4c6e86]=_0x5d2860[_0x258db5[_0x2732cc>>>0x18]]^_0x35c18f[_0x258db5[_0x2732cc>>>0x10&0xff]]^_0x30dc9b[_0x258db5[_0x2732cc>>>0x8&0xff]]^_0x1bb4be[_0x258db5[_0x2732cc&0xff]];}}},'encryptBlock':function(_0x1a0e3e,_0x332a07){const _0x323c3f=_0x6755be;this[_0x323c3f(0x323)](_0x1a0e3e,_0x332a07,this[_0x323c3f(0x1f5)],_0x196f98,_0x2e1c88,_0x4e5e8f,_0x4217bf,_0x258db5);},'decryptBlock':function(_0x42e4d1,_0x4d084f){const _0x53d76a=_0x6755be;var _0x2de5d5=_0x42e4d1[_0x4d084f+0x1];_0x42e4d1[_0x4d084f+0x1]=_0x42e4d1[_0x4d084f+0x3],_0x42e4d1[_0x4d084f+0x3]=_0x2de5d5,this[_0x53d76a(0x323)](_0x42e4d1,_0x4d084f,this['_invKeySchedule'],_0x5d2860,_0x35c18f,_0x30dc9b,_0x1bb4be,_0x11890b);var _0x2de5d5=_0x42e4d1[_0x4d084f+0x1];_0x42e4d1[_0x4d084f+0x1]=_0x42e4d1[_0x4d084f+0x3],_0x42e4d1[_0x4d084f+0x3]=_0x2de5d5;},'_doCryptBlock':function(_0x48569d,_0x22aff8,_0x52cff2,_0x53856e,_0x28a052,_0x2d2b23,_0x39c393,_0x241f47){for(var _0x1df611=this['_nRounds'],_0x5dd589=_0x48569d[_0x22aff8]^_0x52cff2[0x0],_0x5a59d4=_0x48569d[_0x22aff8+0x1]^_0x52cff2[0x1],_0xa48ebc=_0x48569d[_0x22aff8+0x2]^_0x52cff2[0x2],_0x2304f9=_0x48569d[_0x22aff8+0x3]^_0x52cff2[0x3],_0x270f5b=0x4,_0x11aab0=0x1;_0x11aab0<_0x1df611;_0x11aab0++){var _0x3c59a2=_0x53856e[_0x5dd589>>>0x18]^_0x28a052[_0x5a59d4>>>0x10&0xff]^_0x2d2b23[_0xa48ebc>>>0x8&0xff]^_0x39c393[_0x2304f9&0xff]^_0x52cff2[_0x270f5b++],_0x51afc9=_0x53856e[_0x5a59d4>>>0x18]^_0x28a052[_0xa48ebc>>>0x10&0xff]^_0x2d2b23[_0x2304f9>>>0x8&0xff]^_0x39c393[_0x5dd589&0xff]^_0x52cff2[_0x270f5b++],_0x5a8bcf=_0x53856e[_0xa48ebc>>>0x18]^_0x28a052[_0x2304f9>>>0x10&0xff]^_0x2d2b23[_0x5dd589>>>0x8&0xff]^_0x39c393[_0x5a59d4&0xff]^_0x52cff2[_0x270f5b++],_0x4e4f9a=_0x53856e[_0x2304f9>>>0x18]^_0x28a052[_0x5dd589>>>0x10&0xff]^_0x2d2b23[_0x5a59d4>>>0x8&0xff]^_0x39c393[_0xa48ebc&0xff]^_0x52cff2[_0x270f5b++];_0x5dd589=_0x3c59a2,_0x5a59d4=_0x51afc9,_0xa48ebc=_0x5a8bcf,_0x2304f9=_0x4e4f9a;}var _0x3c59a2=(_0x241f47[_0x5dd589>>>0x18]<<0x18|_0x241f47[_0x5a59d4>>>0x10&0xff]<<0x10|_0x241f47[_0xa48ebc>>>0x8&0xff]<<0x8|_0x241f47[_0x2304f9&0xff])^_0x52cff2[_0x270f5b++],_0x51afc9=(_0x241f47[_0x5a59d4>>>0x18]<<0x18|_0x241f47[_0xa48ebc>>>0x10&0xff]<<0x10|_0x241f47[_0x2304f9>>>0x8&0xff]<<0x8|_0x241f47[_0x5dd589&0xff])^_0x52cff2[_0x270f5b++],_0x5a8bcf=(_0x241f47[_0xa48ebc>>>0x18]<<0x18|_0x241f47[_0x2304f9>>>0x10&0xff]<<0x10|_0x241f47[_0x5dd589>>>0x8&0xff]<<0x8|_0x241f47[_0x5a59d4&0xff])^_0x52cff2[_0x270f5b++],_0x4e4f9a=(_0x241f47[_0x2304f9>>>0x18]<<0x18|_0x241f47[_0x5dd589>>>0x10&0xff]<<0x10|_0x241f47[_0x5a59d4>>>0x8&0xff]<<0x8|_0x241f47[_0xa48ebc&0xff])^_0x52cff2[_0x270f5b++];_0x48569d[_0x22aff8]=_0x3c59a2,_0x48569d[_0x22aff8+0x1]=_0x51afc9,_0x48569d[_0x22aff8+0x2]=_0x5a8bcf,_0x48569d[_0x22aff8+0x3]=_0x4e4f9a;},'keySize':0x100/0x20});_0x533b7c[_0x6755be(0x3f4)]=_0x2637dd[_0x6755be(0x251)](_0x35184e);}()),_0x1d74e3[_0x600777(0x3f4)];}));}),_0x228ede=_0x3712b0((_0x33f7e4,_0x104ce4)=>{(function(_0x2d97d2,_0x4b5dda){const _0x69b4ab=_0x50be;typeof _0x33f7e4==_0x69b4ab(0x240)?_0x104ce4[_0x69b4ab(0x50d)]=_0x33f7e4=_0x4b5dda(_0x13f9ca()):typeof define=='function'&&define[_0x69b4ab(0x4cf)]?define([_0x69b4ab(0x256)],_0x4b5dda):_0x4b5dda(_0x2d97d2[_0x69b4ab(0x46b)]);}(_0x33f7e4,function(_0x4e03a0){const _0x502a4c=_0x50be;return _0x4e03a0['enc'][_0x502a4c(0x1c4)];}));}),_0x33278f=_0x3712b0((_0x4f2d81,_0x5e09be)=>{(function(_0x590ea6,_0x208488){const _0x1539e7=_0x50be;typeof _0x4f2d81==_0x1539e7(0x240)?_0x5e09be['exports']=_0x4f2d81=_0x208488(_0x13f9ca()):typeof define==_0x1539e7(0x329)&&define[_0x1539e7(0x4cf)]?define([_0x1539e7(0x256)],_0x208488):_0x208488(_0x590ea6[_0x1539e7(0x46b)]);}(_0x4f2d81,function(_0x70e641){const _0x4d077f=_0x50be;return(function(){const _0x1cf641=_0x50be;if(typeof ArrayBuffer==_0x1cf641(0x329)){var _0x218aa9=_0x70e641[_0x1cf641(0x290)][_0x1cf641(0x183)],_0x4baf98=_0x218aa9[_0x1cf641(0x51f)],_0x48f07f=_0x218aa9[_0x1cf641(0x51f)]=function(_0x20f3a0){const _0x6ef3de=_0x1cf641;if(_0x20f3a0 instanceof ArrayBuffer&&(_0x20f3a0=new Uint8Array(_0x20f3a0)),(_0x20f3a0 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x20f3a0 instanceof Uint8ClampedArray||_0x20f3a0 instanceof Int16Array||_0x20f3a0 instanceof Uint16Array||_0x20f3a0 instanceof Int32Array||_0x20f3a0 instanceof Uint32Array||_0x20f3a0 instanceof Float32Array||_0x20f3a0 instanceof Float64Array)&&(_0x20f3a0=new Uint8Array(_0x20f3a0[_0x6ef3de(0x278)],_0x20f3a0[_0x6ef3de(0x38f)],_0x20f3a0[_0x6ef3de(0x4de)])),_0x20f3a0 instanceof Uint8Array){for(var _0x1f8057=_0x20f3a0[_0x6ef3de(0x4de)],_0x23b0c3=[],_0x193799=0x0;_0x193799<_0x1f8057;_0x193799++)_0x23b0c3[_0x193799>>>0x2]|=_0x20f3a0[_0x193799]<<0x18-_0x193799%0x4*0x8;_0x4baf98[_0x6ef3de(0x18a)](this,_0x23b0c3,_0x1f8057);}else _0x4baf98[_0x6ef3de(0x438)](this,arguments);};_0x48f07f[_0x1cf641(0x4d0)]=_0x218aa9;}}()),_0x70e641[_0x4d077f(0x290)][_0x4d077f(0x183)];}));}),_0x2d5fc6=_0x3712b0((_0x53ddfe,_0x29f9d5)=>{(function(_0x587fee,_0x4b490a,_0xd87c0){const _0x367bfa=_0x50be;typeof _0x53ddfe==_0x367bfa(0x240)?_0x29f9d5[_0x367bfa(0x50d)]=_0x53ddfe=_0x4b490a(_0x13f9ca(),_0xdf37b6()):typeof define=='function'&&define['amd']?define([_0x367bfa(0x256),_0x367bfa(0x262)],_0x4b490a):_0x4b490a(_0x587fee['CryptoJS']);}(_0x53ddfe,function(_0x18cc23){const _0x44618b=_0x50be;return _0x18cc23[_0x44618b(0x2b2)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x18cc23[_0x44618b(0x2b2)][_0x44618b(0x49f)];}));}),_0x15e936=_0x124565(_0x563068()),_0x49c8fe=_0x124565(_0x28191d()),_0x416a24=_0x124565(_0x228ede()),_0x4d0b22=_0x124565(_0x33278f()),_0x14f44b=_0x124565(_0x2d5fc6());function _0x4c3c1b(_0x4d1cb6,_0x3b9752){const _0x144e13=_0x2f9c02;let _0xf8cc43=_0x3b9752-_0x4d1cb6[_0x144e13(0x4ca)]%_0x3b9752;return _0x4d1cb6+String[_0x144e13(0x40e)](_0xf8cc43)[_0x144e13(0x477)](_0xf8cc43);}function _0x1df261(_0x4577f5,_0x3cf03b){const _0x3c0db5=_0x2f9c02;let _0x373876=_0x4d0b22[_0x3c0db5(0x491)][_0x3c0db5(0x19d)](0x10),_0x173845=_0x4c3c1b(_0x4577f5,0x10),_0x5732a0=_0x15e936[_0x3c0db5(0x491)][_0x3c0db5(0x390)](_0x416a24[_0x3c0db5(0x491)][_0x3c0db5(0x1cb)](_0x173845),_0x49c8fe['default'][_0x3c0db5(0x1cb)](_0x3cf03b),{'iv':_0x373876,'padding':_0x14f44b[_0x3c0db5(0x491)]});return _0x373876['concat'](_0x5732a0['ciphertext'])['toString'](_0x49c8fe[_0x3c0db5(0x491)]);}function _0x44e8ec(){const _0xf4fb2d=_0x2f9c02;let _0x3887c8=(0x0,_0x5626bb[_0xf4fb2d(0x4d7)])()[_0xf4fb2d(0x538)];if(typeof window<'u'&&window['location']!==void 0x0&&_0x3887c8){let _0x2bad2d={'time':Math[_0xf4fb2d(0x2cb)](Date[_0xf4fb2d(0x43f)]()/0x3e8),'domain':location['hostname']};return _0x1df261(JSON['stringify'](_0x2bad2d),_0x3887c8);}}let _0x3ac2a7=class{constructor(_0x269458){const _0x18d6b4=_0x2f9c02;this[_0x18d6b4(0x48d)]=_0x269458,this[_0x18d6b4(0x40f)]();}['_initRequestHeader'](){const _0xff29d0=_0x2f9c02;this['_httpService'][_0xff29d0(0x21c)]({'interceptor':(_0xbcc082,_0x293762)=>{const _0xbf5817=_0xff29d0;let _0x25b9f7=_0xbcc082[_0xbf5817(0x283)],_0x52a74a=_0x44e8ec();return _0x52a74a&&_0x25b9f7[_0xbf5817(0x2c0)](_0xbf5817(0x2c7),_0x52a74a),_0x293762(_0xbcc082);}});}};_0x3ac2a7=_0x230514([_0x4bc410(0x0,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4ba8c3[_0x2f9c02(0x2c9)]))],_0x3ac2a7);let _0x47428b=class extends _0x4fa1c7[_0x2f9c02(0x1bb)]{constructor(_0x21460d,_0x30e952,_0x441fa6){const _0x187f25=_0x2f9c02;super(),this['_logService']=_0x21460d,this[_0x187f25(0x48b)]=_0x30e952,this[_0x187f25(0x521)]=_0x441fa6,_0x17e69d(this,'_unitInfo$',new _0x431df8[(_0x187f25(0x346))](null)),_0x17e69d(this,_0x187f25(0x446),this[_0x187f25(0x1b6)][_0x187f25(0x3a3)]());}async['loadUnitOfRevision'](_0xa31ac0,_0xd6c8c1,_0x28dde0){const _0xf4a142=_0x2f9c02;this['_unitInfo$']['next']({'unitId':_0xa31ac0,'type':_0xd6c8c1});let _0x3b529a=null;switch(_0xd6c8c1){case _0x139b11[_0xf4a142(0x528)]:_0x3b529a=await this[_0xf4a142(0x48b)][_0xf4a142(0x460)](_0xa31ac0,_0x28dde0);break;case _0x139b11[_0xf4a142(0x1c3)]:_0x3b529a=await this[_0xf4a142(0x48b)]['loadDoc'](_0xa31ac0,_0x28dde0);break;default:this[_0xf4a142(0x22c)]['error']('[DataLoaderService]',_0xf4a142(0x31a));break;}return _0x3b529a;}async['loadUnit'](_0x432f38,_0x1c2475,_0xc7b90d){const _0x47c197=_0x2f9c02;var _0x26fbad;this[_0x47c197(0x1b6)][_0x47c197(0x4d6)]({'unitId':_0x432f38,'type':_0x1c2475,'subUnitId':_0xc7b90d});let _0x122cd9=0x0,_0x31fc21=await((_0x26fbad=this[_0x47c197(0x521)])==null?void 0x0:_0x26fbad['loadOfflineData'](_0x432f38));return _0x31fc21&&(_0x31fc21[_0x47c197(0x27e)]||_0x31fc21[_0x47c197(0x494)]['length']!==0x0)&&(_0x122cd9=_0x31fc21['rev']),_0x122cd9===0x0&&this[_0x47c197(0x22c)]['debug']('[DataLoaderService]',_0x47c197(0x447)),this[_0x47c197(0x325)](_0x432f38,_0x1c2475,_0x122cd9);}};_0x47428b=_0x230514([_0x4bc410(0x0,_0x4fa1c7[_0x2f9c02(0x2b3)]),_0x4bc410(0x1,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4a1cad[_0x2f9c02(0x200)])),_0x4bc410(0x2,(0x0,_0x4fa1c7['Optional'])(_0x259e4f))],_0x47428b);let _0x2369dd=[_0x2f9c02(0x41e),_0x2f9c02(0x3fd),_0x2f9c02(0x1d1),_0x2f9c02(0x3a0),_0x2f9c02(0x370)],_0x4d8c5e=class{constructor(_0x54d6a0,_0x503970,_0x56e61c){const _0x178565=_0x2f9c02;this['_httpService']=_0x54d6a0,this[_0x178565(0x280)]=_0x503970,this[_0x178565(0x450)]=_0x56e61c,_0x17e69d(this,'_waitCount',0x0),_0x17e69d(this,_0x178565(0x269),new _0x431df8[(_0x178565(0x43c))]()),_0x17e69d(this,_0x178565(0x253),this[_0x178565(0x269)]),_0x17e69d(this,'_imageSourceCache',new Map());}[_0x2f9c02(0x1a3)](_0x4bce61){const _0x499cd5=_0x2f9c02;this['_waitCount']=_0x4bce61,this['_change$'][_0x499cd5(0x4d6)](_0x4bce61);}[_0x2f9c02(0x38e)](_0x24b4cf,_0x4ff55e){const _0x17aff4=_0x2f9c02;if(_0x4ff55e===_0x332921[_0x17aff4(0x3ee)][_0x17aff4(0x507)]){let _0x27a78f=new Image();return _0x27a78f[_0x17aff4(0x503)]=_0x24b4cf,_0x27a78f;}return this['_imageSourceCache'][_0x17aff4(0x1df)](_0x24b4cf);}[_0x2f9c02(0x258)](_0x5ed35d,_0xa75b13,_0x449b8c){const _0x3c9ac0=_0x2f9c02;_0xa75b13===_0x332921['ImageSourceType'][_0x3c9ac0(0x507)]||_0x449b8c==null||this[_0x3c9ac0(0x409)][_0x3c9ac0(0x2c0)](_0x5ed35d,_0x449b8c);}async[_0x2f9c02(0x1f4)](_0x323837){const _0x4e5e46=_0x2f9c02;try{let _0x100feb=this['_replaceFileID'](this[_0x4e5e46(0x45e)](),''+_0x323837),_0x4934cc=(await this[_0x4e5e46(0x48d)][_0x4e5e46(0x1df)](_0x100feb))[_0x4e5e46(0x46e)];if(_0x4934cc[_0x4e5e46(0x2c3)]&&_0x4934cc[_0x4e5e46(0x2c3)][_0x4e5e46(0x1f7)]===_0x59f5dd['OK']){let _0x744b39=(0x0,_0x4fa1c7[_0x4e5e46(0x4eb)])(_0x4934cc[_0x4e5e46(0x260)],this[_0x4e5e46(0x518)]());return Promise[_0x4e5e46(0x19f)](_0x744b39);}return Promise[_0x4e5e46(0x1ea)](_0x4934cc[_0x4e5e46(0x2c3)]);}catch(_0x25bdda){return Promise[_0x4e5e46(0x1ea)](_0x25bdda);}}async[_0x2f9c02(0x488)](_0x491a25){const _0x346865=_0x2f9c02;let _0x1b58bc='';if(!_0x2369dd[_0x346865(0x389)](_0x491a25[_0x346865(0x29a)]))return this[_0x346865(0x1e5)](),Promise['reject'](Error(_0x332921[_0x346865(0x397)][_0x346865(0x421)]));if(_0x491a25[_0x346865(0x373)]>0x500000)return this['_decreaseWaiting'](),Promise[_0x346865(0x1ea)](Error(_0x332921[_0x346865(0x397)][_0x346865(0x50c)]));try{let _0x52ac3d=new FormData();_0x52ac3d[_0x346865(0x517)](_0x346865(0x2d7),_0x491a25);let _0x3a5843=this[_0x346865(0x450)][_0x346865(0x2f5)](),_0x5f2b35=_0x3a5843==null?void 0x0:_0x3a5843[_0x346865(0x34d)]();if(!_0x5f2b35)throw Error('unitId\x20is\x20not\x20found');let _0x567429=this[_0x346865(0x2f6)]()+_0x346865(0x286)+_0x491a25[_0x346865(0x373)][_0x346865(0x304)]()+'&source='+_0x472134['UnitEmbedded']+_0x346865(0x3af)+encodeURIComponent(_0x5f2b35),_0x200520={'body':_0x52ac3d},_0x2d4bff=(await this[_0x346865(0x48d)]['post'](_0x567429,_0x200520))[_0x346865(0x46e)];if(typeof _0x2d4bff[_0x346865(0x529)]!=_0x346865(0x3c0))return this['_decreaseWaiting'](),Promise[_0x346865(0x1ea)](Error(_0x332921['ImageUploadStatusType'][_0x346865(0x361)]));_0x1b58bc=_0x2d4bff[_0x346865(0x529)];}catch{return this[_0x346865(0x1e5)](),Promise[_0x346865(0x1ea)](Error(_0x332921['ImageUploadStatusType']['ERROR_IMAGE']));}return new Promise((_0x486d4c,_0x21d9f1)=>{const _0x3492be=_0x346865;let _0x44d812=new FileReader();_0x44d812[_0x3492be(0x417)](_0x491a25),_0x44d812[_0x3492be(0x2b0)]=_0x564b28=>{const _0x2d7be7=_0x3492be;var _0x594a08;let _0x3f6199=(_0x594a08=_0x564b28[_0x2d7be7(0x4ba)])==null?void 0x0:_0x594a08[_0x2d7be7(0x3d4)];if(_0x3f6199==null){this['_decreaseWaiting'](),_0x21d9f1(Error(_0x332921[_0x2d7be7(0x397)][_0x2d7be7(0x361)]));return;}_0x486d4c({'imageId':(0x0,_0x4fa1c7[_0x2d7be7(0x20f)])(0x6),'imageSourceType':_0x332921[_0x2d7be7(0x3ee)]['UUID'],'source':_0x1b58bc,'base64Cache':_0x3f6199,'status':_0x332921[_0x2d7be7(0x397)][_0x2d7be7(0x32c)]}),this['_decreaseWaiting']();};});}[_0x2f9c02(0x2f6)](){const _0xa0087b=_0x2f9c02;var _0x5e805c;let _0xac889d=this['_configService']['getConfig'](_0x1f2256);return(_0x5e805c=_0xac889d==null?void 0x0:_0xac889d[_0xa0087b(0x1b9)])==null?_0xa0087b(0x2da):_0x5e805c;}[_0x2f9c02(0x45e)](){const _0x970d12=_0x2f9c02;var _0x201042;let _0x59f292=this[_0x970d12(0x280)][_0x970d12(0x21e)](_0x1f2256);return(_0x201042=_0x59f292==null?void 0x0:_0x59f292[_0x970d12(0x318)])==null?_0x970d12(0x2b4):_0x201042;}[_0x2f9c02(0x518)](){const _0x14a6b4=_0x2f9c02;var _0x5e661e;let _0x322d15=this[_0x14a6b4(0x280)][_0x14a6b4(0x21e)](_0x1f2256);return(_0x5e661e=_0x322d15==null?void 0x0:_0x322d15[_0x14a6b4(0x2fb)])==null?location[_0x14a6b4(0x47c)]:_0x5e661e;}[_0x2f9c02(0x495)](_0x38c609,_0x1b81ca){const _0x203393=_0x2f9c02;return _0x38c609[_0x203393(0x37c)]('{fileID}',_0x1b81ca);}['_decreaseWaiting'](){const _0x51d804=_0x2f9c02;--this[_0x51d804(0x461)],this[_0x51d804(0x269)]['next'](this[_0x51d804(0x461)]);}};_0x4d8c5e=_0x230514([_0x4bc410(0x0,(0x0,_0x4fa1c7['Inject'])(_0x4ba8c3[_0x2f9c02(0x2c9)])),_0x4bc410(0x1,_0x4fa1c7[_0x2f9c02(0x2bc)]),_0x4bc410(0x2,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7[_0x2f9c02(0x1fc)]))],_0x4d8c5e);let _0x5c4c46=class{constructor(_0x87deb5,_0x32cb5f){const _0x263f72=_0x2f9c02;this[_0x263f72(0x280)]=_0x87deb5,this['_HTTPService']=_0x32cb5f;}[_0x2f9c02(0x1b8)](){const _0x3ea764=_0x2f9c02;var _0x243189;let _0x2298db=this['_configService'][_0x3ea764(0x21e)](_0x1f2256);return(_0x243189=_0x2298db==null?void 0x0:_0x2298db[_0x3ea764(0x4b2)])==null?_0x3ea764(0x347):_0x243189;}async[_0x2f9c02(0x3b0)](_0x50e7a7){const _0x1790c4=_0x2f9c02;let _0x1b8c69=this['_getAPIPrefixPath']()+_0x1790c4(0x208);return{'list':[{'title':_0x1790c4(0x4dc),'mentions':(await this[_0x1790c4(0x35a)][_0x1790c4(0x1df)](_0x1b8c69,{'params':{'objectID':_0x50e7a7[_0x1790c4(0x2a9)],'unitID':_0x50e7a7['unitId']}}))[_0x1790c4(0x46e)][_0x1790c4(0x239)][_0x1790c4(0x1e4)](_0x1fc058=>({'objectId':_0x1fc058['id'],'name':_0x1fc058['subject'][_0x1790c4(0x519)],'metadata':{'icon':_0x1fc058['subject'][_0x1790c4(0x374)]},'label':_0x1fc058[_0x1790c4(0x522)][_0x1790c4(0x519)],'objectType':_0x4fa1c7[_0x1790c4(0x1c5)][_0x1790c4(0x3e8)]})),'metadata':{},'type':_0x4fa1c7[_0x1790c4(0x1c5)][_0x1790c4(0x3e8)]}]};}};_0x5c4c46=_0x230514([_0x4bc410(0x0,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7[_0x2f9c02(0x2bc)])),_0x4bc410(0x1,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4ba8c3['HTTPService']))],_0x5c4c46);let _0x52f7f3=class extends _0x4fa1c7[_0x2f9c02(0x1bb)]{constructor(_0x2ac149,_0x177c93,_0x3e1f03,_0x232a5d,_0x9042e1){const _0x40c146=_0x2f9c02;super(),this[_0x40c146(0x427)]=_0x2ac149,this[_0x40c146(0x450)]=_0x177c93,this['_permissionService']=_0x3e1f03,this[_0x40c146(0x2c5)]=_0x232a5d,this[_0x40c146(0x298)]=_0x9042e1,this[_0x40c146(0x3f9)](),this[_0x40c146(0x31d)]();}[_0x2f9c02(0x31d)](){const _0x594a50=_0x2f9c02;let _0x3fea74=async _0x345fae=>{const _0x4886f0=_0x50be;(await this[_0x4886f0(0x2c5)][_0x4886f0(0x241)](_0x345fae))[_0x4886f0(0x466)][_0x4886f0(0x2a4)]((0x0,_0x3bb026[_0x4886f0(0x423)])(_0x5e1010=>_0x5e1010[_0x4886f0(0x509)]===_0x4a1cad['CollaborationEvent'][_0x4886f0(0x35f)]),(0x0,_0x3bb026[_0x4886f0(0x182)])(this[_0x4886f0(0x26e)]))[_0x4886f0(0x47f)](_0x20f4b5=>{const _0x15ed31=_0x4886f0;let {reason:_0x4a9b80}=_0x20f4b5[_0x15ed31(0x275)];this[_0x15ed31(0x298)][_0x15ed31(0x2e5)]({'id':_0x1ef886[_0x15ed31(0x52e)],'data':_0x4a9b80}),this[_0x15ed31(0x425)][_0x15ed31(0x284)](new _0x376d47[(_0x15ed31(0x2cd))](_0x345fae)['id'],!0x1),this[_0x15ed31(0x2c5)][_0x15ed31(0x4cb)](_0x345fae);});};(0x0,_0x431df8[_0x594a50(0x1fd)])(this[_0x594a50(0x450)]['getTypeOfUnitAdded$'](_0x4fa1c7['UniverInstanceType'][_0x594a50(0x528)]),this[_0x594a50(0x450)][_0x594a50(0x415)](_0x4fa1c7['UniverInstanceType'][_0x594a50(0x1c3)]))[_0x594a50(0x2a4)]((0x0,_0x3bb026[_0x594a50(0x1e4)])(_0x4285d2=>_0x4285d2[_0x594a50(0x34d)]()),(0x0,_0x3bb026[_0x594a50(0x423)])(_0x5787fe=>!(0x0,_0x4fa1c7[_0x594a50(0x470)])(_0x5787fe)),(0x0,_0x3bb026['takeUntil'])(this[_0x594a50(0x26e)]))[_0x594a50(0x47f)](_0x459973=>{_0x3fea74(_0x459973);});}[_0x2f9c02(0x3f9)](){const _0x1a9dde=_0x2f9c02;let _0x94068e=async _0x325480=>{const _0x533cbe=_0x50be;let _0x2e36d2=await this[_0x533cbe(0x2c5)][_0x533cbe(0x241)](_0x325480),_0x9f44d0=this[_0x533cbe(0x427)][_0x533cbe(0x1df)](_0x376d47[_0x533cbe(0x39f)]);_0x2e36d2[_0x533cbe(0x466)][_0x533cbe(0x2a4)]((0x0,_0x3bb026['filter'])(_0x2609f3=>_0x2609f3[_0x533cbe(0x509)]===_0x4a1cad[_0x533cbe(0x31f)][_0x533cbe(0x4d8)]),(0x0,_0x3bb026[_0x533cbe(0x182)])(this[_0x533cbe(0x26e)]))['subscribe'](_0x3879bc=>{const _0x47300c=_0x533cbe;let {objectId:_0x2cd359}=_0x3879bc[_0x47300c(0x275)];_0x2cd359===_0x325480?_0x9f44d0[_0x47300c(0x3c4)](_0x325480):_0x9f44d0[_0x47300c(0x49c)](_0x325480,_0x2cd359);});};(0x0,_0x431df8['merge'])(this['_univerInstanceService'][_0x1a9dde(0x415)](_0x4fa1c7['UniverInstanceType'][_0x1a9dde(0x528)]))[_0x1a9dde(0x2a4)]((0x0,_0x3bb026[_0x1a9dde(0x1e4)])(_0x2f08a1=>_0x2f08a1['getUnitId']()),(0x0,_0x3bb026[_0x1a9dde(0x423)])(_0x4e33b9=>!(0x0,_0x4fa1c7[_0x1a9dde(0x470)])(_0x4e33b9)),(0x0,_0x3bb026[_0x1a9dde(0x182)])(this[_0x1a9dde(0x26e)]))['subscribe'](_0x3d1940=>{_0x94068e(_0x3d1940);});}};_0x52f7f3=_0x230514([_0x4bc410(0x0,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7[_0x2f9c02(0x204)])),_0x4bc410(0x1,_0x4fa1c7[_0x2f9c02(0x1fc)]),_0x4bc410(0x2,_0x4fa1c7[_0x2f9c02(0x218)]),_0x4bc410(0x3,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x163223)),_0x4bc410(0x4,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x1619bd))],_0x52f7f3);let _0x34497c=class{constructor(_0x4e9573,_0x96428a){const _0x22a360=_0x2f9c02;this[_0x22a360(0x280)]=_0x4e9573,this[_0x22a360(0x48d)]=_0x96428a;}async['getUnitOnRev'](_0x1b2843,_0x2c112c){const _0x2e0b4f=_0x2f9c02;var _0x5dc993;let {unitID:_0x2a5b28,type:_0x760b33,revision:_0x5c663d=0x0}=_0x2c112c,_0x464819=this[_0x2e0b4f(0x1c0)]()+'/'+_0x760b33+_0x2e0b4f(0x26b)+_0x2a5b28+_0x2e0b4f(0x4fc)+_0x5c663d,_0x15f1fb=(await this[_0x2e0b4f(0x48d)]['get'](_0x464819))[_0x2e0b4f(0x46e)],_0x180898=(_0x5dc993=_0x15f1fb[_0x2e0b4f(0x508)])==null?void 0x0:_0x5dc993[_0x2e0b4f(0x355)];if(_0x180898){let _0xb99310=_0x180898==null?void 0x0:_0x180898['originalMeta'];_0x180898[_0x2e0b4f(0x451)]=_0x4a1cad[_0x2e0b4f(0x4fb)]['encode']((0x0,_0x4a1cad['b64DecodeUnicode'])(_0xb99310)),Object[_0x2e0b4f(0x248)](_0x180898[_0x2e0b4f(0x4b8)])[_0x2e0b4f(0x401)](([,_0xcad9c9])=>{const _0x185ec3=_0x2e0b4f;let _0x2b4a4b=_0xcad9c9[_0x185ec3(0x451)];_0xcad9c9[_0x185ec3(0x451)]=_0x4a1cad[_0x185ec3(0x4fb)][_0x185ec3(0x3b2)]((0x0,_0x4a1cad[_0x185ec3(0x26c)])(_0x2b4a4b));});}return _0x15f1fb;}async[_0x2f9c02(0x43e)](_0x29a10b,_0x5d29e0){const _0xe2f908=_0x2f9c02;let {unitID:_0x565507,type:_0x164867,blockID:_0x5e2dd1}=_0x5d29e0,_0x25b1e1=this['_getAPIPrefix']()+'/'+_0x164867+_0xe2f908(0x26b)+_0x565507+'/block/'+_0x5e2dd1;return(await this[_0xe2f908(0x48d)][_0xe2f908(0x1df)](_0x25b1e1))[_0xe2f908(0x46e)];}async[_0x2f9c02(0x22e)](_0x3b69a0,_0xd353e4){const _0x5cec58=_0x2f9c02;let {unitID:_0x12ec34,type:_0x293543,blockID:_0x2a3952}=_0xd353e4,_0x24ea16=this[_0x5cec58(0x2aa)]()+_0x5cec58(0x3e9)+_0x293543+'/unit/'+_0x12ec34+_0x5cec58(0x3e9)+_0x2a3952;return(await this[_0x5cec58(0x48d)][_0x5cec58(0x1df)](_0x24ea16))[_0x5cec58(0x46e)];}async[_0x2f9c02(0x354)](_0x264759,_0x6f0ddc){const _0x380629=_0x2f9c02;let {unitID:_0x589541,type:_0x1967b6,from:_0x2782a2,to:_0x33c546}=_0x6f0ddc,_0x5ca0d2=this[_0x380629(0x2aa)]()+'/'+_0x1967b6+_0x380629(0x26b)+_0x589541+_0x380629(0x3ff)+_0x2782a2+'&to='+_0x33c546;return(await this[_0x380629(0x48d)][_0x380629(0x1df)](_0x5ca0d2))[_0x380629(0x46e)];}[_0x2f9c02(0x1c0)](){const _0x58fdbd=_0x2f9c02;var _0x7db815;return(_0x7db815=this[_0x58fdbd(0x280)][_0x58fdbd(0x21e)](_0x58fdbd(0x536)))==null?this['_getAPIPrefix']():_0x7db815;}['_getAPIPrefix'](){const _0x58afe3=_0x2f9c02;var _0x241a05;let _0x5350d2=this[_0x58afe3(0x280)]['getConfig'](_0x1f2256);return(_0x241a05=_0x5350d2==null?void 0x0:_0x5350d2['snapshotServerUrl'])==null?_0x58afe3(0x21d):_0x241a05;}async[_0x2f9c02(0x4a6)](_0x2958de,_0x3923bd){const _0x2bd277=_0x2f9c02;let _0x45106e='/universer-api/snapshot/'+_0x3923bd[_0x2bd277(0x29a)]+_0x2bd277(0x26b)+_0x3923bd[_0x2bd277(0x264)]+_0x2bd277(0x512);return(await this[_0x2bd277(0x48d)][_0x2bd277(0x1df)](_0x45106e,{'params':{'resourceId':JSON[_0x2bd277(0x38a)](_0x3923bd[_0x2bd277(0x3d6)])}}))[_0x2bd277(0x46e)];}[_0x2f9c02(0x1c1)](){const _0x1f08b2=_0x2f9c02;throw Error(_0x1f08b2(0x469));}[_0x2f9c02(0x31e)](){const _0x203df1=_0x2f9c02;throw Error(_0x203df1(0x469));}[_0x2f9c02(0x481)](){const _0x28664c=_0x2f9c02;throw Error(_0x28664c(0x469));}[_0x2f9c02(0x4aa)](){const _0x1f38b3=_0x2f9c02;throw Error(_0x1f38b3(0x469));}[_0x2f9c02(0x431)](){const _0x3d12dd=_0x2f9c02;throw Error(_0x3d12dd(0x469));}[_0x2f9c02(0x299)](){const _0x2c58f0=_0x2f9c02;throw Error(_0x2c58f0(0x469));}};_0x34497c=_0x230514([_0x4bc410(0x0,_0x4fa1c7['IConfigService']),_0x4bc410(0x1,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4ba8c3[_0x2f9c02(0x2c9)]))],_0x34497c);let _0x38e162=class extends _0x4fa1c7[_0x2f9c02(0x4b0)]{constructor(_0x2c5e18,_0x37ddb0,_0x1acea3,_0x1015ba,_0x22f7ea){const _0x1de1cb=_0x2f9c02;super(_0x2c5e18,_0x37ddb0,_0x1acea3),this[_0x1de1cb(0x1d2)]=_0x1015ba,this[_0x1de1cb(0x22c)]=_0x22f7ea;}['transformUndoRedo'](_0x3ef885,_0x3379d8){const _0x29ff76=_0x2f9c02;let _0x1af9f2=this[_0x29ff76(0x31b)](_0x3ef885);if(_0x1af9f2)try{let _0xeef492=this[_0x29ff76(0x335)](_0x1af9f2,_0x3379d8);this[_0x29ff76(0x196)](_0x3ef885,_0xeef492);}catch(_0x5478a1){this[_0x29ff76(0x22c)][_0x29ff76(0x2c3)](_0x29ff76(0x1ec),_0x5478a1),this[_0x29ff76(0x386)](_0x3ef885);}let _0x2304b3=this[_0x29ff76(0x2d8)](_0x3ef885);if(_0x2304b3)try{let _0x5d4ee3=this[_0x29ff76(0x335)](_0x2304b3,_0x3379d8);this['_substituteRedoStack'](_0x3ef885,_0x5d4ee3);}catch(_0x1c4216){this[_0x29ff76(0x22c)][_0x29ff76(0x2c3)](_0x1c4216),this[_0x29ff76(0x23b)](_0x3ef885);}}['_clearUndo'](_0x5ac61c){const _0x44c305=_0x2f9c02;let _0x753470=this[_0x44c305(0x31b)](_0x5ac61c);_0x753470&&(_0x753470['length']=0x0,this[_0x44c305(0x22d)]());}[_0x2f9c02(0x23b)](_0x5e3a5c){const _0x5ce078=_0x2f9c02;let _0x48ed50=this[_0x5ce078(0x2d8)](_0x5e3a5c);_0x48ed50&&(_0x48ed50['length']=0x0,this[_0x5ce078(0x22d)]());}[_0x2f9c02(0x196)](_0x224bd1,_0x47b148){const _0x576c5d=_0x2f9c02;this[_0x576c5d(0x1f0)]['set'](_0x224bd1,_0x47b148),this[_0x576c5d(0x22d)]();}[_0x2f9c02(0x203)](_0x336b2f,_0x2674ae){const _0x1d406f=_0x2f9c02;this[_0x1d406f(0x499)][_0x1d406f(0x2c0)](_0x336b2f,_0x2674ae),this['_updateStatus']();}['_transformStack'](_0x505a0b,_0x33faa2){const _0x3b8067=_0x2f9c02;let _0x176590=[],_0x15a624=_0x33faa2,_0x1d368c=_0x33faa2;for(let _0x5d2e97=_0x505a0b[_0x3b8067(0x4ca)]-0x1;_0x5d2e97>=0x0;_0x5d2e97--){let {unitID:_0x4b54f9,undoMutations:_0x3af54b,redoMutations:_0xf2f08a}=_0x505a0b[_0x5d2e97],_0x5355d1=this[_0x3b8067(0x1d2)]['transformMutationsWithChangeset'](_0x15a624,_0x3af54b),_0x23d206=this[_0x3b8067(0x1d2)][_0x3b8067(0x3f8)](_0x1d368c,_0xf2f08a);if((0x0,_0x4a1cad[_0x3b8067(0x51b)])(_0x5355d1)||(0x0,_0x4a1cad[_0x3b8067(0x51b)])(_0x23d206)){this[_0x3b8067(0x22c)]['error'](_0x3b8067(0x1ec),_0x3b8067(0x3ac),_0x5355d1,_0x23d206);break;}_0x15a624=_0x5355d1[_0x3b8067(0x439)],_0x1d368c=_0x23d206[_0x3b8067(0x439)],_0x176590[_0x3b8067(0x3a1)]({'unitID':_0x4b54f9,'undoMutations':_0x5355d1[_0x3b8067(0x2e0)],'redoMutations':_0x23d206[_0x3b8067(0x2e0)]});}return _0x176590['reverse']();}};_0x38e162=_0x230514([_0x4bc410(0x0,_0x4fa1c7['IUniverInstanceService']),_0x4bc410(0x1,_0x4fa1c7[_0x2f9c02(0x398)]),_0x4bc410(0x2,_0x4fa1c7[_0x2f9c02(0x279)]),_0x4bc410(0x3,_0x4a1cad[_0x2f9c02(0x1e0)]),_0x4bc410(0x4,_0x4fa1c7['ILogService'])],_0x38e162);let _0x1c1bca=class extends _0x4fa1c7[_0x2f9c02(0x301)]{constructor(_0x10c129={},_0x2b80cd,_0x8cad28,_0x1b7d16){const _0x91b5fd=_0x2f9c02;super(),this['_config']=_0x10c129,this['_logService']=_0x2b80cd,this[_0x91b5fd(0x427)]=_0x8cad28,this[_0x91b5fd(0x280)]=_0x1b7d16;let {..._0x1d1336}=(0x0,_0x4fa1c7[_0x91b5fd(0x1fd)])({},_0x112cff,_0x10c129);if(!_0x1d1336['socketService'])throw Error(_0x91b5fd(0x2e4));this[_0x91b5fd(0x4c2)]=_0x1d1336,this[_0x91b5fd(0x280)][_0x91b5fd(0x3c3)](_0x1f2256,_0x1d1336);}[_0x2f9c02(0x34c)](){const _0x190a06=_0x2f9c02;this['_registerDependencies'](),this[_0x190a06(0x1ed)]();}['_registerDependencies'](){const _0x440f93=_0x2f9c02;var _0x41dd97,_0x1b326d;this[_0x440f93(0x427)]['has'](_0x4fa1c7[_0x440f93(0x3d5)])&&this['_logService'][_0x440f93(0x2c3)](_0x440f93(0x28f),_0x440f93(0x50b));let _0x181f58=(0x0,_0x4fa1c7[_0x440f93(0x1a5)])([[_0x4fa1c7[_0x440f93(0x3d5)],{'useClass':_0x38e162}],[_0x163223],[_0xd0b104],[_0x1de656],[_0x11cb43],[_0x3ac2a7],[_0x4b7f70],[_0x52f7f3],[_0x1619bd],[_0x47428b],[_0x268137,{'useClass':this[_0x440f93(0x4c2)][_0x440f93(0x3bb)]}],[_0x4a1cad[_0x440f93(0x3fa)],{'useClass':_0x34497c}],[_0x4fa1c7[_0x440f93(0x2f8)],{'useClass':_0x54b97d}],[_0x332921[_0x440f93(0x342)],{'useClass':_0x4d8c5e}],[_0x4fa1c7['IMentionIOService'],{'useClass':_0x5c4c46}],[_0x7bd804],[_0x546b3d]],(_0x41dd97=this[_0x440f93(0x4c2)])==null?void 0x0:_0x41dd97[_0x440f93(0x449)]);if(!((_0x1b326d=this[_0x440f93(0x4c2)])!=null&&_0x1b326d[_0x440f93(0x1fe)])){let _0x100df9=_0x181f58[_0x440f93(0x4f6)](([_0x19e025])=>_0x19e025===_0x12f31b);_0x100df9!==-0x1&&_0x181f58[_0x440f93(0x2a7)](_0x100df9,0x1);}(0x0,_0x4fa1c7[_0x440f93(0x52f)])(this[_0x440f93(0x427)],_0x181f58);}[_0x2f9c02(0x1ed)](){const _0x4b3afb=_0x2f9c02;var _0xd1a05,_0x285e49;if(this[_0x4b3afb(0x427)][_0x4b3afb(0x1df)](_0x4ba8c3[_0x4b3afb(0x2c9)])[_0x4b3afb(0x21c)]({'priority':0x14,'interceptor':(0x0,_0x4ba8c3[_0x4b3afb(0x1f3)])({'maxParallel':0x6})}),!((_0xd1a05=this[_0x4b3afb(0x4c2)])!=null&&_0xd1a05[_0x4b3afb(0x332)])){var _0x53843c;(_0x53843c=this[_0x4b3afb(0x427)][_0x4b3afb(0x1df)](_0x259e4f,_0x4fa1c7[_0x4b3afb(0x337)][_0x4b3afb(0x2e8)]))==null||_0x53843c['disableLocalCache']();}(_0x285e49=this[_0x4b3afb(0x4c2)])!=null&&_0x285e49[_0x4b3afb(0x243)]&&(0x0,_0x4fa1c7[_0x4b3afb(0x1cc)])(this[_0x4b3afb(0x427)],[[_0x11cb43]]),(0x0,_0x4fa1c7[_0x4b3afb(0x1cc)])(this[_0x4b3afb(0x427)],[[_0x3ac2a7],[_0x7bd804],[_0x52f7f3]]);}};_0x17e69d(_0x1c1bca,_0x2f9c02(0x36a),_0x2f9c02(0x37d)),_0x17e69d(_0x1c1bca,'packageName',_0x189a86),_0x17e69d(_0x1c1bca,'version',_0x5f3351),_0x1c1bca=_0x230514([(0x0,_0x4fa1c7[_0x2f9c02(0x4bd)])(_0x5626bb[_0x2f9c02(0x25e)],_0x4a1cad[_0x2f9c02(0x18c)],_0x4ba8c3[_0x2f9c02(0x246)]),_0x4bc410(0x1,_0x4fa1c7[_0x2f9c02(0x2b3)]),_0x4bc410(0x2,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7['Injector'])),_0x4bc410(0x3,_0x4fa1c7['IConfigService'])],_0x1c1bca),Object[_0x2f9c02(0x2be)](_0x584a9c,_0x2f9c02(0x1b3),{'enumerable':!0x0,'get':function(){return _0x54b97d;}}),Object[_0x2f9c02(0x2be)](_0x584a9c,_0x2f9c02(0x1ba),{'enumerable':!0x0,'get':function(){return _0x2d15ae;}}),Object[_0x2f9c02(0x2be)](_0x584a9c,_0x2f9c02(0x4ad),{'enumerable':!0x0,'get':function(){return _0x378326;}}),_0x584a9c['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=_0x1f2256,Object[_0x2f9c02(0x2be)](_0x584a9c,'CollaborationController',{'enumerable':!0x0,'get':function(){return _0x7bd804;}}),Object['defineProperty'](_0x584a9c,_0x2f9c02(0x197),{'enumerable':!0x0,'get':function(){return _0x531b37;}}),Object[_0x2f9c02(0x2be)](_0x584a9c,_0x2f9c02(0x1e7),{'enumerable':!0x0,'get':function(){return _0x4d8c5e;}}),Object[_0x2f9c02(0x2be)](_0x584a9c,_0x2f9c02(0x3bc),{'enumerable':!0x0,'get':function(){return _0x49ff16;}}),Object[_0x2f9c02(0x2be)](_0x584a9c,_0x2f9c02(0x322),{'enumerable':!0x0,'get':function(){return _0x163223;}}),Object[_0x2f9c02(0x2be)](_0x584a9c,_0x2f9c02(0x411),{'enumerable':!0x0,'get':function(){return _0x3a12ab;}}),_0x584a9c['CollaborationStatus']=_0x4fcdb8,_0x584a9c[_0x2f9c02(0x3c5)]=_0x1ef886,_0x584a9c[_0x2f9c02(0x300)]=_0x1619bd,Object[_0x2f9c02(0x2be)](_0x584a9c,_0x2f9c02(0x359),{'enumerable':!0x0,'get':function(){return _0x38e162;}}),_0x584a9c['CommentService']=_0x4b7f70,Object[_0x2f9c02(0x2be)](_0x584a9c,_0x2f9c02(0x2a8),{'enumerable':!0x0,'get':function(){return _0x224de7;}}),_0x584a9c[_0x2f9c02(0x1b1)]=_0x4b06c5,_0x584a9c[_0x2f9c02(0x29c)]=_0x2f9c02(0x1ef),_0x584a9c['DEFAULT_WS_SESSION_TICKET_URL']=_0x2f9c02(0x4e5),Object[_0x2f9c02(0x2be)](_0x584a9c,'DataLoaderService',{'enumerable':!0x0,'get':function(){return _0x47428b;}}),Object[_0x2f9c02(0x2be)](_0x584a9c,'DocCollaborationEntity',{'enumerable':!0x0,'get':function(){return _0x4ce514;}}),Object['defineProperty'](_0x584a9c,'FetchingMissState',{'enumerable':!0x0,'get':function(){return _0x27e4ef;}}),_0x584a9c[_0x2f9c02(0x391)]=_0x2f9c02(0x526),_0x584a9c['HEARTBEAT_TIMEOUT_KEY']=_0x2f9c02(0x23e),_0x584a9c[_0x2f9c02(0x52d)]=_0x268137,_0x584a9c[_0x2f9c02(0x2b1)]=_0x259e4f,_0x584a9c['INetworkConditionService']=_0x25bbcd,_0x584a9c['ISingleActiveUnitService']=_0x12f31b,_0x584a9c['LOCAL_CACHE_INTERVAL']=0x3e8,_0x584a9c[_0x2f9c02(0x28d)]=_0x2f9c02(0x3b5),Object[_0x2f9c02(0x2be)](_0x584a9c,_0x2f9c02(0x26a),{'enumerable':!0x0,'get':function(){return _0xd0b104;}}),Object['defineProperty'](_0x584a9c,_0x2f9c02(0x294),{'enumerable':!0x0,'get':function(){return _0x5c4c46;}}),Object['defineProperty'](_0x584a9c,_0x2f9c02(0x497),{'enumerable':!0x0,'get':function(){return _0x31f6a0;}}),Object[_0x2f9c02(0x2be)](_0x584a9c,'PendingState',{'enumerable':!0x0,'get':function(){return _0x5ce61d;}}),_0x584a9c[_0x2f9c02(0x303)]=_0x2f9c02(0x1d6),_0x584a9c[_0x2f9c02(0x309)]=_0x2f9c02(0x45d),_0x584a9c[_0x2f9c02(0x4a8)]=_0x1b3cf0,Object[_0x2f9c02(0x2be)](_0x584a9c,_0x2f9c02(0x51c),{'enumerable':!0x0,'get':function(){return _0x355a72;}}),Object['defineProperty'](_0x584a9c,_0x2f9c02(0x189),{'enumerable':!0x0,'get':function(){return _0x1de656;}}),Object[_0x2f9c02(0x2be)](_0x584a9c,_0x2f9c02(0x35c),{'enumerable':!0x0,'get':function(){return _0x34497c;}}),Object[_0x2f9c02(0x2be)](_0x584a9c,_0x2f9c02(0x2c4),{'enumerable':!0x0,'get':function(){return _0x2ce86e;}}),_0x584a9c[_0x2f9c02(0x3ce)]=_0x97ee5b,Object['defineProperty'](_0x584a9c,'UniverCollaborationClientPlugin',{'enumerable':!0x0,'get':function(){return _0x1c1bca;}}),_0x584a9c[_0x2f9c02(0x305)]=_0x48e6d7,_0x584a9c[_0x2f9c02(0x3e6)]=_0x1eedb3,_0x584a9c[_0x2f9c02(0x2ad)]=_0x247af3;}));function _0x4e0e(){const _0x38a756=['[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','APPLY_NON_SEQUENTIAL_REVISION','replace','UNIVER_COLLABORATION_CLIENT_PLUGIN','onMutationExecutedForCollab','collaboration-client.config','PERMISSION_REJ','_onJoinRoomEvent','[CollaborationEntity]','_commentUpdate$','ivSize','CHANGESET_REVISION_CONFILICT','_clearUndo','_cipher','_schedule','includes','stringify','getCollabEntity$','_socketService','_tryEnsureSocket','getImageSourceCache','byteOffset','encrypt','HEARTBEAT_INTERVAL_KEY','ENTITLE_INVALID_COUPON_CODE','members$','_status$','setShowComponents','POST','ImageUploadStatusType','ICommandService','REDEMPTION_CODE_FULLY_REDEEMED','putCollaborators','_isPermissionRej','USER_IS_ANONYMOUS','_transformSelections','onTransformRemoteChangesetByIMECache','SheetPermissionInitController','image/gif','push','_disableEditing','asObservable','fetchThroughInterceptors','SUBMIT_CHANGESET','getCurrentRevOfUnit','PasswordBasedCipher','UNISCRIPT_RUN','onCommentUpdate','setCfgEnableObjInherit','_oKey','transformStack\x20failed!','actions','RevisionService','&assign=','list','_keyPriorReset','encode','_retryConnectingTimer','UNRECOGNIZED','LOCAL_CACHE_INTERVAL','_executeRemoteChangeset','UNIVER_UNKNOWN','Inject','loginUrlKey','userID','socketService','CollaborationSession','bind','UNAUTHENTICATED','editingUnit','string','HttpImport','take','setConfig','initWorkbookPermissionChange','CollaborationUIEventId','_resendTimer','toggleOnline','ERROR_AGAIN','reset','PSEUDO_FETCH_MISSING_RESULT','joinEvent','_telemetryInfo','ENTITLE_COUPON_EXPIRED','UnitStatus','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','has','removeMember','_clearHeartbeatTimer','_transformRemoteChangesetByIMECache','result','IUndoRedoService','resourceIDs','_onOffline','socket\x20open.','_acknowledgedAwaitingChangeset','pending','createDecryptor','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','collaboration-client.local-cache-service','isArray','\x20to\x20','readInt32LE','_data','4uzvyfe','UserProfileImg','format','concat','getLocalCacheKey','synced','PERSON','/block/','USER_NOT_INVITED_CODE','MSG_FOR_ERROR','_initMergeInterceptor','SHA1','ImageSourceType','REDEMPTION_CODE_HAS_BEEN_CREATED','_applyRemoteChangeset','telemetry\x20info\x20is\x20not\x20initialized','every','AUTHORIZE_CODE_ILLEGAL','AES','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_retryCount','_roomMembers','transformMutationsWithChangeset','_initUnitPermissionChange','ISnapshotServerService','_startCollaboration','74835wjMhfG','image/jpeg','onStateChange','/fetchmissing?from=','[CollaborationSessionService]:\x20socket\x20error','forEach','LICENSE_EXPORT_SIZE_EXCEEDED','concatMap','@univerjs/network','isPermissionRej','Disposable','MD5','Workbook','_imageSourceCache','charAt','ENTITLE_DUP_SUBSCRIPTION','COMPRESS_MUTATION_APPLY','_undoRedoService','fromCharCode','_initRequestHeader','_doReset','CollaborationSocketService','LIVESHARE_REQUEST_HOST','ALREADY_EXISTS','_sender','getTypeOfUnitAdded$','CompressMutationService','readAsDataURL','conflict','send','_DEC_XFORM_MODE','createIdentifier','GLOBAL_ROOMS_CNT_EXCEEDS','_event$','image/png','_listenToNetworkCondition','_instanceService','ERROR_IMAGE_TYPE','YUUMI_CONNECTOR_URL_NOT_FOUND','filter','sessionStatus$','_permissionService','getCurrentSelections','_injector','_state','_xformMode','onSyncEditingCollabCursor','USERS_LEAVE','fromCollab','getRandomValues','INVALID_ARGUMENT','LOGIN_TOKEN_PROCESSING_FAILED','$super','copyFileMeta','execute','params','SNAPSHOT_HAS_BEEN_REMOVED','capture','LocaleService','RECV','apply','c1Prime','__splitChunk__','Failed\x20to\x20update\x20permission\x20point','Subject','_eventService','getSheetBlock','now','ITelemetryService','_process','_iv','_nDataBytes','csAckEvent','session.room-permission-denied','unitInfo$','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','retryConnectingInterval','override','_localeService','ENTITLE_NEED_BILLING_ADDRESS','229851SSHGPE','USER_NOT_FOUND','/universer-api/oidc/authpage','updateCollaborator','_univerInstanceService','originalMeta','MOBILE_VERIFY_CODE_MISMATCH','_queuedRemoteChangesets','status','processBlock','_entityInit$','words','session.room-not-exists','subUnitId','JOIN_ROOM_NOT_EXISTS','CHANGESET_REJ','UNKNOWN_CODE','RETRY_CONNECTING_MAX_COUNT','_getSignURL','session','loadSheet','_waitCount','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_startTelemetryCollaborationNewChangeset','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','objectID','event$','_onMessage','_hasher','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_state$','CryptoJS','_sendHeartbeat','_revisionService','body','_rescheduleHeartbeat','isInternalEditorID','[PendingState]:\x20received\x20rejection.','UPDATE_CURSOR','collaboratorID','_onRemoteChangeset','transformUndoRedo','Optional','repeat','CommandType','AWAITING','getMember','ENTITLE_USE_COUPON_NOT_1ST_TRADE','origin','LIVESHARE_NEW_HOST','UserManagerService','subscribe','sin','saveSheetBlock','submit\x20changeset\x20error!','withCredentials','onMissingChangesets','MergeInterceptorFactory','Error\x20on\x20receiving\x20event','_telemetryService','saveImage','HELLO','__esModule','_snapshotService','MOBILE_HAS_BEEN_BOUND','_httpService','unsubscribe','listRoles','_iKey','default','INTERNAL_ERROR','_onConflict','mutations','_replaceFileID','range','OfflineState','YUUMI_NO_CUBOID_FOR_QUESTION','_redoStacks','_getSendChangesetTimeout','INVITE_CODE_HAS_BEEN_UES','refreshPermission','_throwTelemetryCollaborationNewChangeset','csShouldRetryEvent','NoPadding','_onRemoteRejected','1338590bOelOk','YUUMI_AI_RUN_FAILED','mode','join','dispose','getResourcesRequest','Decryptor','SessionStatus','getCfgEnableObjInherit','saveChangeset','_members$','Univer','AwaitingWithPendingState','state$','operators','LocalUndoRedoService','./evpkdf','authzUrl','getCurrentUser','readyForCollab','_sendingTimer','Base64','onLocalMutation','sheets','_pendingMutations','target','reduce','ENTITLE_CAN_NOT_BUY_LOWER_OTP','DependentOn','sessionStatus','_doFinalize','0.20.1','getOwnPropertyNames','_config','loadOfflineData','YUUMI_ASYNCIO_CANCELLED','symbol','_resendTimeout','UniverNetwork','_memberService','SOCKET_FAILED','length','closeSession','getUnit','localCacheService','max','amd','prototype','HEARTBEAT','_candidateSocket','uniscriptRunEvent','NOT_FOUND','APPLY_REJECT','next','getGlobalObject','UPDATE_PERMISSION_OBJ','3059739EWSPOf','CONFLICT','ENTITLE_INSUFFICIENT_QUOTA','People','onTransformIME','byteLength','_createHandler','onRemoteChangeset','[OfflineState]:\x20received\x20rejection.','ISocketService','LICENSE_MAX_UNITS_EXCEEDED','put','/universer-api/user/session-ticket','requestParams','Pkcs7','getSheetId','_map','_createHmacHelper','resolveWithBasePath','JOIN','Hex','open$','_showConflictNotification','update','LLMInputData','UniverProCollaborationClient','8qJKqBL','_commentService','salt','findIndex','ENTITLE_CHAT_LIMIT_EXCEED','YUUMI_UNABLE_LOAD_URL','REDEMPTION_INVALID_CODE','_toggleOnline','textEncoder','/rev/','getActiveSheet','NO_OTHER_CLIENTS_EDITING','LIVESHARE_OPERATION','newCsEvent','@univerjs/telemetry','isTransformMutationsWithChangesetSuccess','src','_doProcessBlock','decrypt','enableCollaboration','BASE64','snapshot','eventID','unpad','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','ERROR_EXCEED_SIZE','exports','_onCombEvent','FAIL','__creator','USERS_ENTER','/resources','_networkConditionService','CHANGESET_SHOULD_RETRY','_lockTransition','./md5','append','_getDownloadEndpointURL','name','confirm','isTransformMutationsWithChangesetFailure','SheetCollaborationEntity','_onFetchMissResult','status$','init','revision','_localCacheService','subject','_removeRoom','interceptor','socket$','HEARTBEAT_INTERVAL','MUTATION','UNIVER_SHEET','FileId','padding','collabWebSocketUrl','formatter','ICollaborationSocketService','CLOSE_ROOM','registerDependencies','_updateLocalCache','SetSelectionsOperation','INVITE_CODE_ALREADY_BOUND','_waitForHeartbeatResponse','_onLocalMutation','StreamCipher','SNAPSHOT_URL_KEY','EvpKDF','__Key__','takeUntil','WordArray','addHandlerCallback','getWorkbookSelections','JOIN_ROOM_FAILED','collabSubmitChangesetUrl','getCollabEntity','SheetTransformSelectionsService','call','_awaitingChangeset','UniverCollaborationPlugin','delay','baseRev','PAYMENT_CHANNEL_NOT_SUPPORT','APPLY_REVISION_CONFILICT','_exhaustRemoteChangesetQueue','_collaborationTimeoutTimer','onTransformRemoteChangesetByStateCache','@univerjs/drawing','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_substituteUndoStack','CollaborationEntity','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UNKNOWN_CMD','_clearRetryConnectingTimer','textRanges','Rectangle','random','_transformRemoteChangesetByStateCache','resolve','OTHER_CLIENTS_EDITING','transformSelections','WECHAT_HAS_BEEN_BOUND','setWaitCount','objectType','mergeOverrideWithDependencies','onRemoteRej','_onRecvEvent','finalize','onSendChangeset','_cfgEnableObjInherit','mapDocumentTypeToUniverType','RichTextEditingMutation','createInstance','_handler','_changesetSessionId','DisposableCollection','DEFAULT_COLLAB_WEB_SOCKET_URL','getOwnPropertyDescriptor','AuthzIoHttpService','auth.needGotoLoginAlert','key','_unitInfo$','reconnect','_getAPIPrefixPath','uploadFileServerUrl','AwaitingState','RxDisposable','_commandService','permissionRejEvent','PENDING','Base','getSnapshotAPIPath','saveSnapshot','duration','UNIVER_DOC','Utf8','MentionType','UniverCore','ONLINE','changesets','clamp','_createInitialState','parse','touchDependencies','_mode','_getLoginPath','getMemberID','OFFLINE','image/jpg','_transformService','EMAIL_VERIFY_CODE_MISMATCH','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','setCurrentUser','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_sessionStatus$','indexOf','method','cmd','HmacSHA1','/new_changes','INVITE_CODE_REQUIRED','state','get','ITransformService','getRoom','onRemoteAck','14iZRCAO','map','_decreaseWaiting','[CollaborationState]:\x20apply\x20error!','CollaborationImageIoService','onTransformState','objectActions','reject','_hash','[CollaborationUndoRedoService]','_initDependencies','_append','/universer-api/uniscript','_undoStacks','startTime','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','ThresholdInterceptorFactory','getImage','_keySchedule','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','code','catch','algo','reqId','hasOwnProperty','IUniverInstanceService','merge','enableSingleActiveInstanceLock','HttpExport','SnapshotService','clone','OTHER_CLIENT_EDITING','_substituteRedoStack','Injector','selections','encodeURIComponent','_sheetTransformSelectionsService','/collaborator','JSONX','enumerable','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','roomInfos','routeKey','updateMember','generateRandomId','_unitID','offline','editing\x20status\x20changed\x20to','keySize','ENTITLE_REPORT_LIMIT_EXCEED','/object/','_roomCreated$','min','IPermissionService','_scheduleCompleteTimestamp','mixIn','getAllMembers','registerHTTPInterceptor','/universer-api/snapshot','getConfig','updateOfflineData','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','LEAVE','patch','close$','YUUMI_URL_COL_OUT_OF_RANGE','_remoteChangesetQueue','_compressMutationService','iterator','PY_RUNTIME_SCRIPT_ERROR','_socketReady','sid','UNIVER_PROJECT','_logService','_updateStatus','getDeserializedSheetBlock','_onUserJoin','crypto','_reverseMap','LIVESHARE_TERMINATE','REDEMPTION_USER_NOT_ELIGIBLE','sequenceExecute','CURRENT_STATUS_CANNOT_OPERATE','JOINING','resend','YUUMI_RATE_OVER_LIMIT','collaborators','@univerjs-pro/license','_clearRedo','action','COMPLETION_FINISHED','HEARTBEAT_TIMEOUT','_handlerCallback','object','requireSession','decorate','enableAuthServer','REDEMPTION_CODE_NOT_STARTED','APPLY_PERMISSION_DENIED','UniverNetworkPlugin','entityInit$','entries','1869618XREgEz','REDEMPTION_USER_REDEEM_TIMES_EXCEED','SYNCED','_checkMissing','roles','_timeoutTimer','enc','connection\x20error','_createHelper','_parse','change$','_onUserLeave','_getCtorByUniverType','./core','_updateState','addImageSourceCache','socket\x20close','isTransformChangesetsSuccess','fetchMiss','AWAITING_WITH_PENDING','LICENSE_IMPORT_SIZE_EXCEEDED','UniverLicensePlugin','blockSize','url','REDEMPTION_CODE_INACTIVE','./cipher-core','_onRemoteACK','unitID','rxjs','updatePermissionObjEvent','univer-pro.collaboration-client-socket-service','Latin1','_change$','MemberService','/unit/','b64DecodeUnicode','session.room-full','dispose$','761485ccfMpw','compute','_socket','_key','@univerjs-pro/collaboration-client','_changesetReqId','data','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','LOGIN_FAILED','buffer','IContextService','_clearCollaborationTimeoutTimer','location','BufferedBlockAlgorithm','sigBytes','awaitingChangeset','_onRemoteRetry','_configService','localeService','substr','headers','updatePermissionPoint','getUnitStatus$','?size=','INVALID_INVITE_CODE','getTypeOfUnitDisposed$','error$','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','onMissedChangesetFetched','hasher','LOCAL_CACHE_INTERVAL_KEY','from','[UniverCollaborationClientPlugin]','lib','_transformIMECache','[SyncedState]:\x20received\x20rejection.','[CollaborationSessionService]','MentionIoHttpService','onTransformSelections','@univerjs/core','InsertSheetMutation','_collaborationUIEventService','getLatestCsReqIdBySid','type','Tools','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','slice','[OfflineState]:\x20received\x20acknowledgement.','_syncEditingCollabCursor','toPrimitive','updateCursorEvent','clear','complete','pipe','Cipher','EMAIL_HAS_BEEN_BOUND','splice','ConflictState','unitId','_getAPIPrefix','getUnitType','ENSURE_SNAPSHOT_EXECUTION','serializeCombRequest','firstValueFrom','then','onload','ILocalCacheService','pad','ILogService','/universer-api/file/{fileID}/sign-url','_maxTotalRetryTimeout','_toggleOffline','_onConnectionFailed','LICENSE_DISTRO_REJECTED','_sessions','_userManagerService','_fetchMissChangesets','IConfigService','createEncryptor','defineProperty','COMPRESS_MUTATION_SEND','set','fetching\x20missing\x20changesets\x20from\x20','UniverProLicense','error','SyncedState','_collaborationSessionService','allowed','x-univer-host','UNDEFINED','HTTPService','add','floor','NEW_CHANGESETS','WorkbookEditablePermission','getValue','debug','href','_doCreateSocket','_createSocket','OpenSSL','SOCKET_FAILED_RETRY','stopTime','parseProtocolChangeset','file','_getRedoStack','transformChangesets','/universer-api/stream/file/upload','unknown','UniverDrawing','delete','ws://127.0.0.1:8000/universer-api/comb/connect','/allowed','m2Prime','YUUMI_TABLE_NOT_FOUND_IN_UNIT','[SyncedState]:\x20received\x20acknowledgement.','CHANGESET_ACK','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','emitEvent','SheetsSelectionsService','ceil','OPTIONAL','_scheduleCollaborationTimeoutTimer','_clearScheduledTask','toDisposable','_transformStateCache','session.join-failed','onlyLocal','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_ENC_XFORM_MODE','toStringTag','_stopTelemetryCollaborationNewChangeset','_resendWithTimeout','extend','getFocusedUnit','_getUploadFileURL','_shouldReportTelemetry','IAuthzIoService','randomBytes','YUUMI_ALL_TABLES_IS_INVALID','downloadEndpointUrl','executeCommand','_entities','compose','APPLY_DUPLICATED','CollaborationUIEventService','Plugin','listCollaborators','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','toString','deserializeToCombResponse','onRemoteRetry','createSocket','_type','RETRY_CONNECTING_MAX_COUNT_KEY','YUUMI_SUBSCRIPTION_NOT_FOUND','liveShareNewHost','FETCH_MISS','_transformUndoredo','UNIVER_SLIDE','_collabSessionService','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','DATA_SOURCE_TOO_LARGE','[PendingState]:\x20received\x20acknowledgement.','2202760WnLDvC','charCodeAt','INGEST','_joinRoom','signUrlServerUrl','UniverInstanceType','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_getUndoStack','UniverSheets','_initCloseConn','updateSnapshot','CollaborationEvent','UniverDocs','_singleActiveUnitService','CollaborationSessionService','_doCryptBlock','_sendHeartbeatTimer','loadUnitOfRevision','appendMutation','_clearLocalCache','online$','function','@univerjs/docs','_members','SUCCUSS','awaiting_with_pending','values','message$','msCrypto','PERMISSION_DENIED','enableOfflineEditing','_prevBlock','_emitMembers','_transformStack','title','Quantity','/-/object/-/batch_allowed','commentUpdate$','_incrementRevisionNumber','JOIN_ROOM_FULL','memberID','close','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_init','post','BlockCipher','IImageIoService','IDLE','csRejEvent','disposeWithMe','BehaviorSubject','/universer-api/authz','CBC','_clearTimeoutTimer','JOIN_ROOM_PERMISSION_DENIED','_onConnectionOpen','onStarting','getUnitId','create','ENTITLE_COUPON_USED_UP','_socket$','7LRDYAT','cfgEnableObjInherit','equals','fetchMissingChangesets','workbook','?url=','ClipsheetFragments','EmptyMutationInfo','CollaborativeUndoRedoService','_HTTPService','UnitEmbedded','SnapshotServerOverHTTPService','_getCurrentRevision','_unlockTransition','SHOULD_CLOSE_CONN','\x0aAfter:\x20','ERROR_IMAGE','_tryReconnect','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','find','toggleOffline','_snapshotServerService','SerializableCipher','_transitionLocked','./enc-base64','pluginName','@univerjs-pro/collaboration','_collaborationPaused','cfg','getInterceptPoints','HMAC','image/bmp','TOO_MANY_REQUESTS','Encryptor','size','avatar','_nRounds','deepClone','_socketMessageSubscription','Hasher','_minBufferSize'];_0x4e0e=function(){return _0x38a756;};return _0x4e0e();}
2
+ function _0x1dac(_0x4b6186,_0x48ead9){_0x4b6186=_0x4b6186-0x115;const _0x189ae1=_0x189a();let _0x1dac13=_0x189ae1[_0x4b6186];return _0x1dac13;}function _0x189a(){const _0x4609cf=['_getUndoStack','session','assign','rxjs',',\x20got\x20','FileId','function','{fileID}','_lockTransition','_executeRemoteChangeset','changesets','add','LIVESHARE_FETCH_OPERATIONS','aes-(cbc/ecb).decrypt\x20ciphertext\x20should\x20consist\x20of\x20blocks\x20with\x20size\x2016','_configService','copyFileMeta','getOwnPropertyDescriptor','UUID','@univerjs/protocol','closeSession','_memberService','enableOfflineEditing','dispose$','telemetry\x20info\x20is\x20not\x20initialized','onRemoteRetry','_permissionService','responseType','target','_rescheduleHeartbeat','disablePadding','commentUpdate$','hostname','ERROR_IMAGE_TYPE','textEncoder','mapDocumentTypeToUniverInstanceType','MUTATION','IUndoRedoService','_acknowledgedAwaitingChangeset','session.room-cnt-exceeds','duration','43599WbitLl','6cOlBuz','CollaborationUIEventId','SetSelectionsOperation','getFocusedUnit','_initRequestHeader','_onUserLeave','toHex','_sessionStatus$','_getDownloadEndpointURL','@univerjs/docs','onSyncEditingCollabCursor','initWorkbookPermissionChange','interceptor','selections','__Key__','ONLINE','_handler','univer-pro.collaboration-client-socket-service','loadUnitOfRevision','_onRemoteRejected','requestParams','permissionRejEvent','IImageIoService','IConfigService','collaborators','UniverInstanceType','@univerjs-pro/license','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_singleActiveUnitService','routeKey','getSheetId','getLatestCsReqIdBySid','fetchMiss','collaMsg','_retryConnectingTimer','toggleOffline','_onRemoteChangeset','onload','AWAITING','[CollaborationSession]','_transformStateCache','charCodeAt','snapshot','CollaborationSession','rev','FAIL','toggleOnline','RevisionService','onCommentUpdate','_changesetReqId','SheetsSelectionsService','CollaborationEntity','transformSelections','byteLength','getWorkbookSelections','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_collaborationPaused','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','disableLocalCache','?url=','withCredentials','_onRemoteRetry','transformStack\x20failed!','MSG_FOR_ERROR','onTransformRemoteChangesetByIMECache','RETRY_CONNECTING_MAX_COUNT_KEY','ISingleActiveUnitService','fetch_missing','SnapshotService','_unitInfo$','file','13864jWkhbk','[CollaborationState]:\x20apply\x20error!','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','unitId','_waitCount','CollaborationEvent','_compressMutationService','m2Prime','_createHandler','exports','2649339uAKEcD','_onConflict','type=','body','deserializeToCombResponse','_status$','code','_logService','Inject','_getUploadFileURL','@univerjs-pro/collaboration','ILocalCacheService','href','confirm','ThresholdInterceptorFactory','LIVESHARE_NEW_HOST','/block/','baseRev','onRemoteChangeset','getRoom','stopTime','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_getSendChangesetTimeout',',\x20got:\x20','updatePermissionObjEvent','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','Tools','subUnitId','OTHER_CLIENTS_EDITING','state','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','objectType','_onCombEvent','crypto','/unit/','updateMember','_localeService','emitEvent','updatePermissionPoint','operators','mergeOverrideWithDependencies','SUBMIT_CHANGESET_TIMEOUT','cipher\x20output\x20not\x20supported','_clearScheduledTask','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','resourceIDs','fetching\x20missing\x20changesets\x20from\x20','_getSignURL','\x20in\x20_schedule.','INGEST','saveSheetBlock','pipe','output','getAllMembers','resend','_eventService','isTransformMutationsWithChangesetFailure','CollaborationUIEventService','_univerInstanceService','/universer-api/stream/file/upload','onTransformSelections','onMutationExecutedForCollab','requireSession','getActiveSheet','CmdRspCode','_incrementRevisionNumber','cmd','reduce','_updateLocalCache','_applyRemoteChangeset','unitID','_clearRetryConnectingTimer','_members$','error$','_getCurrentRevision','HELLO','session.room-full','UserManagerService','/universer-api/uniscript','CollaborativeUndoRedoService','now','parseProtocolChangeset','NO_OTHER_CLIENTS_EDITING','AwaitingState','@univerjs/core','@univerjs/network','_telemetryInfo','FETCH_MISSING','socket$','getUnitOnRev','_onOffline','clear','_submitChangeset','complete','124SHfdCw','addImageSourceCache','getCurrentSelections','setCfgEnableObjInherit','shareReplay','_scheduleCompleteTimestamp','CombCmd','CHANGESET_ACK','COMPRESS_MUTATION_APPLY','data','localeService','Rectangle','[OfflineState]:\x20received\x20rejection.','appendMutation','_clearHeartbeatTimer','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','liveShareNewHost','_telemetryService','action','socketService','roomInfos','UniverTelemetry','encrypt','error','takeUntil','?size=','capture','_onRemoteACK','fetchMissingChangesets','getSnapshotAPIPath','_onConnectionOpen','isTransformMutationsWithChangesetSuccess','infoRsp','UniverProCollaboration','_members','_toggleOnline','MergeInterceptorFactory','[DataLoaderService]','includes','fromCharCode','UniverCollaborationClientPlugin','Disposable','SessionStatus','registerHTTPInterceptor','size','_unlockTransition','setShowComponents','_commentUpdate$','transformMutationsWithChangeset','_onLocalMutation','USERS_ENTER','SOCKET_FAILED_RETRY','status','sequenceExecute','/-/object/list','constructor','catch','downloadEndpointUrl','uploadFileServerUrl','_httpService','_socketReady','/-/object/-/batch_allowed','close','[PendingState]:\x20received\x20acknowledgement.','userID','reverse','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','3592410xbstWX','get','[CollaborationEntity]','compose','PendingState','_doCreateSocket','_collaborationSessionService','type','RETRY_CONNECTING_MAX_COUNT','event$','loadOfflineData','@univerjs/sheets','_createSocket','createIdentifier','state$','actions','_disableEditing','_startTelemetryCollaborationNewChangeset','_emitMembers','delete','method','version','HTTPService','retryConnectingInterval','disposeWithMe','focused$','leaveEvent','_initDependencies','_initUnitPermissionChange','UNIVER_SHEET','_updateState','/universer-api/authz','loadSheet','DEFAULT_WS_SESSION_TICKET_URL','_transformRemoteChangesetByIMECache','getUnitType','varSizeNonce','allowed','RxDisposable','_onFetchMissResult','onlyLocal','ICollaborationSocketService','_decreaseWaiting','/rev/','SOCKET_FAILED','_tryEnsureSocket','_sendHeartbeat','&assign=','LIVESHARE_TERMINATE','univer-pro.collaboration-client.single-active-unit-service','ImageUploadStatusType','avatar','UniverNetworkPlugin','_onMessage','_sendingTimer','/universer-api/snapshot/','packageName','SheetPermissionInitController','getMember','_updateStatus','every','SheetTransformSelectionsService','/role','sid','not_collab','auth.needGotoLoginAlert','UnitStatus','IMentionIOService','_sender','_shouldReportTelemetry','onRemoteRej','deleteCollaborator','revision','_resendTimer','_localCacheService','ITelemetryService','onRemoteAck','UniverProLicense','fromCollab','authzUrl','addHandlerCallback','executeCommand','UniverDocs','_sendHeartbeatTimer','IAuthzIoService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','UNIVER_DOC','_handlerCallback','JOIN_ROOM_NOT_EXISTS','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','enableAuthServer','SUBMIT_CHANGESET','rxjs/operators','_onUserJoin','failed\x20to\x20apply\x20missed\x20changesets!','parseChangesetToProtocol','_getLoginPath','resolveWithBasePath','RichTextEditingMutation','_roomCreated$','Plugin','sessionStatus','FETCH_MISS','PERMISSION_REJ','People','onMissedChangesetFetched','IUniverInstanceService','memberID','_awaitingChangeset','refreshPermission','_type','result','/collaborator','fromHex','positive\x20integer\x20expected,\x20got\x20','sessionStatus$','nonce','getMemberID','objectID','decrypt','min','_joinRoom','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','CollaborationController','sendChangesetTimeout','isPermissionRej','transformUndoRedo','readyForCollab','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','[SyncedState]:\x20received\x20acknowledgement.','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','AWAITING_WITH_PENDING','_transformIMECache','createSocket','_substituteRedoStack','BASE64','reject','_config','_userManagerService','_getAPIPrefix','_changesetSessionId','awaiting','UniverSheets','_waitForHeartbeatResponse','OfflineState','SHOULD_CLOSE_CONN','members','@univerjs-pro/collaboration-client','_tryReconnect','init','isInternalEditorID','OFFLINE','getSheetBlock','_throwTelemetryCollaborationNewChangeset','subscribe','firstValueFrom','_networkConditionService','ImageSourceType','conflict','message$','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','eventID','MentionIoHttpService','LocalUndoRedoService','_resendWithTimeout','HEARTBEAT_TIMEOUT_KEY','\x20of\x20length\x20','symbol','_redoStacks','session.room-permission-denied','UniverCollaborationPlugin','306OGWJDY','invalid\x20output,\x20must\x20be\x20aligned','\x22aes\x20key\x22\x20expected\x20Uint8Array\x20of\x20length\x2016/24/32,\x20got\x20length=','slice','roles','JOIN_ROOM_FULL','saveSnapshot','length=','/allowed','list','Univer','session.room-not-exists','getCollabEntity','string','PERMISSION_DENIED','/object/','aec/(cbc-ecb):\x20unpadded\x20plaintext\x20with\x20disabled\x20padding','_initCloseConn','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','/fetchmissing?from=','LEAVE','socket\x20close','UniverDrawing','_listenToNetworkCondition','UnitEmbedded','_isPermissionRej','_revisionService','LocaleService','UPDATE_PERMISSION_OBJ','_removeRoom','_checkMissing','LIVESHARE_OPERATION','SNAPSHOT_URL_KEY','getImage','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_state','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_transformStack','findIndex','fetchThroughInterceptors','next','_getRedoStack','name','_state$','_getCtorByUniverInstanceType','UNISCRIPT_RUN','CommandType','commentUpdateEvent','sheets','_injector','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','image/jpg','_replaceFileID','\x22output\x22\x20expected\x20Uint8Array\x20of\x20length\x20','DataLoaderService','_pendingMutations','updateCursorEvent','DEFAULT_COLLAB_WEB_SOCKET_URL','_transformUndoredo','find','ICommandService','_HTTPService','parse','signUrlServerUrl','_exhaustRemoteChangesetQueue','UNIVER_COLLABORATION_CLIENT_PLUGIN','textRanges','EmptyMutationInfo','_onJoinRoomEvent','x-univer-host','updateOfflineData','_transformSelections','_change$','onTransformRemoteChangesetByStateCache','_entityInit$','collaboration-client.config','583732YRDhRK','headers','USERS_LEAVE','UPDATE_CURSOR','ISocketService','CHANGESET_REJ','prototype','FetchingMissState','CompressMutationService','collaboration-client.local-cache-service','stringify','image/gif','[OfflineState]:\x20received\x20changeset.','[CollaborationSessionService]','isArray','values','SUCCUSS','[FetchMissState]','image/jpeg','buffer','getUnitStatus$','getDeserializedSheetBlock','HTTPRequest','dispose','getCurrentUser','uniscriptRunEvent','_schedule','_fetchMissChangesets','put','debug','RECV','_stopTelemetryCollaborationNewChangeset','_clearRedo','_cfgEnableObjInherit','_createInitialStateImpl','push','offline','string\x20expected','getConfig','save\x20fail\x20reason\x20is\x20','_entities','asObservable','Quantity','from','SyncedState','params','_transformRemoteChangesetByStateCache','forEach','_sheetTransformSelectionsService','Uint8Array','length','removeMember','UniverCore','toStringTag','_collaborationUIEventService','_snapshotServerService','_retryCount','IContextService','[SyncedState]:\x20received\x20rejection.','session.join-failed','setWaitCount','update','ILogService','_getAPIPrefixPath','take','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_onConnectionFailed','LOCAL_CACHE_INTERVAL_KEY','setConfig','_scheduleCollaborationTimeoutTimer','aes/pkcs7:\x20wrong\x20padding','INetworkConditionService','Optional','localCacheService','JOIN','generateRandomId','0.21.0','_clearCollaborationTimeoutTimer','getTypeOfUnitDisposed$','iterator','startTime','ITransformService','getTypeOfUnitAdded$','delay','socket\x20open.','has','_queuedRemoteChangesets','_clearTimeoutTimer','CHANGESET_SHOULD_RETRY','toDisposable','CollaborationSocketService','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_socket','call','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','reconnect','object','COMPRESS_MUTATION_SEND','isTransformChangesetsSuccess','defineProperty','UniverProCollaborationClient','getTime','_imageSourceCache','_maxTotalRetryTimeout','_createInitialState','joinRsp','HEARTBEAT','online$','_undoStacks','c1Prime','aes/pkcs7:\x20empty\x20ciphertext\x20not\x20allowed','Injector','entries','workbook','4870124RPJyQV','CollaborationImageIoService','getValue','cannot\x20encrypt()\x20twice\x20with\x20same\x20key\x20+\x20nonce','unknown','indexOf','replace','CommentService','encode','NEW_CHANGESETS','PENDING','send','map','[UniverCollaborationClientPlugin]','5566030LooeqF','saveImage','InsertSheetMutation','_instanceService','updateSnapshot','BehaviorSubject','editing\x20status\x20changed\x20to','getUnitId','JOIN_ROOM_FAILED','synced','set','DependentOn','default','Subject','_substituteUndoStack','BYTES_PER_ELEMENT','_clearLocalCache','collaboration_new_changeset','getCurrentRevOfUnit','createInstance','_remoteChangesetQueue','_sessions','ErrorCode','AuthzIoHttpService','_transformService','apply','collaboratorID','patch','open$','MentionType','_commandService','pluginName','IDLE','CONFLICT','complex\x20overlap\x20of\x20input\x20and\x20output\x20is\x20not\x20supported','byteOffset','joinEvent','HEARTBEAT_INTERVAL_KEY','_syncEditingCollabCursor','_clearUndo','_undoRedoService','&to=','fill','__splitChunk__','setCurrentUser','awaiting_with_pending','CollaborationSessionService','awaitingChangeset','connection\x20error','_resendTimeout','loadUnit','unsubscribe','getCollabEntity$','ISnapshotServerService','OTHER_CLIENT_EDITING','decorate','_candidateSocket','change$','WorkbookEditablePermission','/universer-api/file/{fileID}/sign-url','IPermissionService','objects','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','onLocalMutation','encodeURIComponent','/resources','override','_roomMembers','max','LIVESHARE_REQUEST_HOST','_registerDependencies','AAD','onMissingChangesets','_transitionLocked','onTransformIME','_collabSessionService','loadDoc','append','LOCAL_CACHE_INTERVAL','POST','@univerjs/drawing','CLOSE_ROOM','merge','_showConflictNotification','_socket$','/universer-api/comb','HEARTBEAT_TIMEOUT','DocCollaborationEntity','[CollaborationUndoRedoService]','PERSON','_timeoutTimer','_init','post','putCollaborators','getResourcesRequest','_collaborationTimeoutTimer','/universer-api/user/session-ticket','expected\x20Uint8Array','subarray','incrementRevOfUnit','getLocalCacheKey','JSONX','HEARTBEAT_INTERVAL','range','\x20-\x20','reqId','registerDependencies','touchDependencies','Module','_event$','filter','location','b64DecodeUnicode','2yCEAas','Failed\x20to\x20update\x20permission\x20point','_socketMessageSubscription','transformChangesets','_startCollaboration','JOINING','deepClone','SYNCED','\x22ciphertext\x22\x20expected\x20length\x20bigger\x20than\x20tagLength=','entityInit$','originalMeta','COMMENT_UPDATE','serializeCombRequest','PSEUDO_FETCH_MISSING_RESULT','mutations','isView','crypto.getRandomValues\x20must\x20be\x20defined','onTransformState','pauseCollaboration','_initMergeInterceptor','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_unitID','ERROR_IMAGE','_toggleOffline','getInterceptPoints','subject','_commentService','JOIN_ROOM_PERMISSION_DENIED','readAsDataURL'];_0x189a=function(){return _0x4609cf;};return _0x189a();}(function(_0x527bb9,_0x1c1226){const _0x42e71c=_0x1dac,_0x3a3542=_0x527bb9();while(!![]){try{const _0x5b3f0d=-parseInt(_0x42e71c(0x385))/0x1*(parseInt(_0x42e71c(0x294))/0x2)+parseInt(_0x42e71c(0x3ca))/0x3*(-parseInt(_0x42e71c(0x15a))/0x4)+parseInt(_0x42e71c(0x314))/0x5+-parseInt(_0x42e71c(0x3cb))/0x6*(-parseInt(_0x42e71c(0x306))/0x7)+parseInt(_0x42e71c(0x412))/0x8*(-parseInt(_0x42e71c(0x248))/0x9)+-parseInt(_0x42e71c(0x19d))/0xa+parseInt(_0x42e71c(0x41c))/0xb;if(_0x5b3f0d===_0x1c1226)break;else _0x3a3542['push'](_0x3a3542['shift']());}catch(_0x35c938){_0x3a3542['push'](_0x3a3542['shift']());}}}(_0x189a,0x91d79),function(_0x56b474,_0x1e6fb7){const _0xfe972f=_0x1dac;typeof exports==_0xfe972f(0x2f4)&&typeof module<'u'?_0x1e6fb7(exports,require(`@univerjs-pro/collaboration`),require(`@univerjs/core`),require(`@univerjs/docs`),require(`@univerjs/sheets`),require(`rxjs`),require(`@univerjs/protocol`),require(`@univerjs/telemetry`),require(`rxjs/operators`),require(`@univerjs/network`),require(`@univerjs-pro/license`),require(`@univerjs/drawing`)):typeof define=='function'&&define['amd']?define([_0xfe972f(0x41b),_0xfe972f(0x426),_0xfe972f(0x150),_0xfe972f(0x3d4),_0xfe972f(0x1a8),_0xfe972f(0x3a5),_0xfe972f(0x3b4),'@univerjs/telemetry',_0xfe972f(0x1f9),_0xfe972f(0x151),_0xfe972f(0x3e5),_0xfe972f(0x364)],_0x1e6fb7):(_0x56b474=typeof globalThis<'u'?globalThis:_0x56b474||self,_0x1e6fb7(_0x56b474[_0xfe972f(0x2f8)]={},_0x56b474[_0xfe972f(0x17b)],_0x56b474[_0xfe972f(0x2c8)],_0x56b474[_0xfe972f(0x1ef)],_0x56b474[_0xfe972f(0x22b)],_0x56b474['rxjs'],_0x56b474['UniverProtocol'],_0x56b474[_0xfe972f(0x16f)],_0x56b474[_0xfe972f(0x3a5)][_0xfe972f(0x123)],_0x56b474['UniverNetwork'],_0x56b474[_0xfe972f(0x1ea)],_0x56b474[_0xfe972f(0x25e)]));}(this,function(_0x5382ad,_0xba6f9e,_0x21f9b6,_0x1444ec,_0x17b170,_0x4ea2bc,_0x4d42e2,_0x486886,_0x40ad09,_0xf4c2fc,_0xaf7c7d,_0x432f50){const _0x582532=_0x1dac;Object[_0x582532(0x2f7)](_0x5382ad,Symbol[_0x582532(0x2c9)],{'value':_0x582532(0x380)});let _0x107e87='ws://127.0.0.1:8000/universer-api/comb/connect',_0x3ad1c7=0x4e20;function _0x3e065c(_0x1259e2){const _0x3e7037=_0x582532;return JSON[_0x3e7037(0x29e)](_0x1259e2)['length'];}function _0x5e134c(_0x2bf92d){'@babel/helpers - typeof';const _0x57fe0f=_0x582532;return _0x5e134c=typeof Symbol==_0x57fe0f(0x3a8)&&typeof Symbol[_0x57fe0f(0x2e3)]==_0x57fe0f(0x244)?function(_0x1e0d8d){return typeof _0x1e0d8d;}:function(_0x358cc3){const _0x346fb3=_0x57fe0f;return _0x358cc3&&typeof Symbol==_0x346fb3(0x3a8)&&_0x358cc3[_0x346fb3(0x191)]===Symbol&&_0x358cc3!==Symbol[_0x346fb3(0x29a)]?_0x346fb3(0x244):typeof _0x358cc3;},_0x5e134c(_0x2bf92d);}function _0x4d0d22(_0x10c70c,_0x2e4ffa){const _0x339d64=_0x582532;if(_0x5e134c(_0x10c70c)!='object'||!_0x10c70c)return _0x10c70c;var _0x556b61=_0x10c70c[Symbol['toPrimitive']];if(_0x556b61!==void 0x0){var _0x18dfc6=_0x556b61['call'](_0x10c70c,_0x2e4ffa||_0x339d64(0x320));if(_0x5e134c(_0x18dfc6)!=_0x339d64(0x2f4))return _0x18dfc6;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x2e4ffa===_0x339d64(0x255)?String:Number)(_0x10c70c);}function _0x3c3c9e(_0x3cf070){const _0x4677b9=_0x582532;var _0xc72b35=_0x4d0d22(_0x3cf070,_0x4677b9(0x255));return _0x5e134c(_0xc72b35)==_0x4677b9(0x244)?_0xc72b35:_0xc72b35+'';}function _0x158768(_0x4a029e,_0x3527eb,_0x25a2c7){const _0x40f22e=_0x582532;return(_0x3527eb=_0x3c3c9e(_0x3527eb))in _0x4a029e?Object[_0x40f22e(0x2f7)](_0x4a029e,_0x3527eb,{'value':_0x25a2c7,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4a029e[_0x3527eb]=_0x25a2c7,_0x4a029e;}let _0x214ddb=function(_0x31ac37){const _0x103e7f=_0x582532;return _0x31ac37[_0x103e7f(0x34a)]=_0x103e7f(0x34a),_0x31ac37[_0x103e7f(0x256)]=_0x103e7f(0x256),_0x31ac37[_0x103e7f(0x335)]=_0x103e7f(0x335),_0x31ac37[_0x103e7f(0x365)]=_0x103e7f(0x365),_0x31ac37[_0x103e7f(0x31c)]=_0x103e7f(0x31c),_0x31ac37[_0x103e7f(0x18d)]=_0x103e7f(0x18d),_0x31ac37[_0x103e7f(0x1c9)]=_0x103e7f(0x1c9),_0x31ac37[_0x103e7f(0x125)]=_0x103e7f(0x125),_0x31ac37;}({});var _0x49c645=class{constructor(){const _0x21dad4=_0x582532;_0x158768(this,_0x21dad4(0x381),new _0x4ea2bc['Subject']()),_0x158768(this,_0x21dad4(0x1a6),this[_0x21dad4(0x381)][_0x21dad4(0x2bd)]());}[_0x582532(0x121)](_0x11e2a8){const _0x3eb624=_0x582532;this[_0x3eb624(0x381)][_0x3eb624(0x270)](_0x11e2a8);}},_0x386670=class{constructor(){const _0x3fbfa9=_0x582532;_0x158768(this,_0x3fbfa9(0x189),new _0x4ea2bc[(_0x3fbfa9(0x321))]()),_0x158768(this,_0x3fbfa9(0x3c0),this[_0x3fbfa9(0x189)][_0x3fbfa9(0x2bd)]());}[_0x582532(0x3fb)](_0x459b49){const _0x42143b=_0x582532;this[_0x42143b(0x189)][_0x42143b(0x270)](_0x459b49);}};function _0x385b9b(_0x38a5e9,_0x55f3d3){return function(_0x477bf4,_0x276e0f){_0x55f3d3(_0x477bf4,_0x276e0f,_0x38a5e9);};}function _0x9fca30(_0x5afadf,_0x5b4d2b,_0x43dd84,_0x7630aa){const _0x4dd2b0=_0x582532;var _0x3a4f3b=arguments[_0x4dd2b0(0x2c6)],_0x4c5591=_0x3a4f3b<0x3?_0x5b4d2b:_0x7630aa===null?_0x7630aa=Object[_0x4dd2b0(0x3b2)](_0x5b4d2b,_0x43dd84):_0x7630aa,_0x595942;if(typeof Reflect==_0x4dd2b0(0x2f4)&&typeof Reflect[_0x4dd2b0(0x34b)]==_0x4dd2b0(0x3a8))_0x4c5591=Reflect[_0x4dd2b0(0x34b)](_0x5afadf,_0x5b4d2b,_0x43dd84,_0x7630aa);else{for(var _0x477ebd=_0x5afadf[_0x4dd2b0(0x2c6)]-0x1;_0x477ebd>=0x0;_0x477ebd--)(_0x595942=_0x5afadf[_0x477ebd])&&(_0x4c5591=(_0x3a4f3b<0x3?_0x595942(_0x4c5591):_0x3a4f3b>0x3?_0x595942(_0x5b4d2b,_0x43dd84,_0x4c5591):_0x595942(_0x5b4d2b,_0x43dd84))||_0x4c5591);}return _0x3a4f3b>0x3&&_0x4c5591&&Object[_0x4dd2b0(0x2f7)](_0x5b4d2b,_0x43dd84,_0x4c5591),_0x4c5591;}let _0x42c541=class extends _0x21f9b6[_0x582532(0x183)]{constructor(_0x2b9b4e,_0x1316d9){const _0x434808=_0x582532;super(),this[_0x434808(0x136)]=_0x2b9b4e,this[_0x434808(0x227)]=_0x1316d9,_0x158768(this,_0x434808(0x357),new Map()),_0x158768(this,'_roomCreated$',new _0x4ea2bc[(_0x434808(0x321))]()),this['disposeWithMe']((0x0,_0x4ea2bc['merge'])(this[_0x434808(0x136)][_0x434808(0x2e2)](_0x21f9b6[_0x434808(0x3e4)][_0x434808(0x1ba)])['pipe']((0x0,_0x40ad09[_0x434808(0x312)])(_0x35df16=>_0x35df16['getUnitId']())),this['_univerInstanceService'][_0x434808(0x2e2)](_0x21f9b6[_0x434808(0x3e4)][_0x434808(0x1f3)])['pipe']((0x0,_0x40ad09[_0x434808(0x312)])(_0xc81281=>_0xc81281[_0x434808(0x31b)]())))[_0x434808(0x237)](_0x826778=>this['_removeRoom'](_0x826778)));}['waitForRoom$'](_0x203c95){const _0x7a806e=_0x582532;return this[_0x7a806e(0x357)][_0x7a806e(0x2e9)](_0x203c95)?(0x0,_0x4ea2bc['of'])(this['_roomMembers'][_0x7a806e(0x19e)](_0x203c95)):this[_0x7a806e(0x200)][_0x7a806e(0x12f)]((0x0,_0x40ad09[_0x7a806e(0x312)])(_0x5742d1=>{const _0x2a19bb=_0x7a806e;if(_0x5742d1===_0x203c95)return this[_0x2a19bb(0x357)][_0x2a19bb(0x19e)](_0x5742d1);}));}['setCurrentUser'](_0x483747){const _0x2fbd68=_0x582532;this[_0x2fbd68(0x227)][_0x2fbd68(0x340)](_0x483747);}['getCurrentUser'](){const _0x263a1d=_0x582532;return this['_userManagerService'][_0x263a1d(0x2ac)]();}['updateMember'](_0x15f87d,_0x57e250){const _0xdc37e2=_0x582532;let _0x106ced=this[_0xdc37e2(0x357)][_0xdc37e2(0x19e)](_0x15f87d);_0x106ced||(_0x106ced=new _0x32b32e(),this[_0xdc37e2(0x357)]['set'](_0x15f87d,_0x106ced),this[_0xdc37e2(0x200)][_0xdc37e2(0x270)](_0x15f87d)),_0x106ced['updateMember'](_0x57e250);}['removeMember'](_0x490d69,_0x115f08){const _0x41d01e=_0x582532;let _0x2e86ed=this['_roomMembers'][_0x41d01e(0x19e)](_0x490d69);_0x2e86ed&&_0x2e86ed['removeMember'](_0x115f08);}[_0x582532(0x42f)](_0x12ac1a){const _0xeb9ab6=_0x582532;return this['_roomMembers'][_0xeb9ab6(0x19e)](_0x12ac1a);}['getMember'](_0x4ba3b6,_0x59dda1){const _0x3ba842=_0x582532;let _0x29f4b6=this[_0x3ba842(0x357)][_0x3ba842(0x19e)](_0x4ba3b6);if(_0x29f4b6)return _0x29f4b6[_0x3ba842(0x1d7)](_0x59dda1);}[_0x582532(0x265)](_0x4288be){const _0x9b9e2f=_0x582532;let _0x1cfb04=this[_0x9b9e2f(0x357)][_0x9b9e2f(0x19e)](_0x4288be);_0x1cfb04&&(_0x1cfb04['dispose'](),this[_0x9b9e2f(0x357)]['delete'](_0x4288be));}[_0x582532(0x2ab)](){const _0x1fa350=_0x582532;this[_0x1fa350(0x357)][_0x1fa350(0x2c3)](_0x61aacd=>_0x61aacd[_0x1fa350(0x2ab)]()),this[_0x1fa350(0x357)][_0x1fa350(0x157)](),this[_0x1fa350(0x200)][_0x1fa350(0x159)]();}};_0x42c541=_0x9fca30([_0x385b9b(0x0,_0x21f9b6['IUniverInstanceService']),_0x385b9b(0x1,(0x0,_0x21f9b6['Inject'])(_0x21f9b6[_0x582532(0x149)]))],_0x42c541);var _0x32b32e=class extends _0x21f9b6[_0x582532(0x183)]{constructor(..._0x861d6b){const _0x255839=_0x582532;super(..._0x861d6b),_0x158768(this,_0x255839(0x17c),new Map()),_0x158768(this,_0x255839(0x144),new _0x4ea2bc['BehaviorSubject'](this['_members'])),_0x158768(this,'members$',this['_members$'][_0x255839(0x2bd)]());}[_0x582532(0x2ab)](){const _0x155539=_0x582532;this[_0x155539(0x17c)]['clear']();}[_0x582532(0x11f)](_0x2033b1){const _0x46b543=_0x582532;this['_members']['set'](_0x2033b1[_0x46b543(0x208)],_0x2033b1),this[_0x46b543(0x1af)]();}[_0x582532(0x2c7)](_0x3ecaa3){const _0x5855f2=_0x582532;this[_0x5855f2(0x17c)]['delete'](_0x3ecaa3);}[_0x582532(0x1d7)](_0xf2956a){const _0x30e761=_0x582532;return this[_0x30e761(0x17c)][_0x30e761(0x19e)](_0xf2956a);}[_0x582532(0x131)](){const _0x4743f2=_0x582532;return Array['from'](this[_0x4743f2(0x17c)][_0x4743f2(0x2a3)]());}[_0x582532(0x1af)](){const _0x49d2bb=_0x582532;this[_0x49d2bb(0x144)][_0x49d2bb(0x270)](this[_0x49d2bb(0x17c)]);}};let _0x42d806=function(_0x6bb479){const _0x3023bf=_0x582532;return _0x6bb479[_0x6bb479['IDLE']=0x0]='IDLE',_0x6bb479[_0x6bb479[_0x3023bf(0x38a)]=0x1]=_0x3023bf(0x38a),_0x6bb479[_0x6bb479['OFFLINE']=0x2]='OFFLINE',_0x6bb479[_0x6bb479[_0x3023bf(0x3da)]=0x3]=_0x3023bf(0x3da),_0x6bb479;}({}),_0x156385={[_0x4d42e2['CmdRspCode'][_0x582532(0x3f8)]]:_0x582532(0x2cf),[_0x4d42e2[_0x582532(0x13c)][_0x582532(0x24d)]]:_0x582532(0x148),[_0x4d42e2['CmdRspCode'][_0x582532(0x1f5)]]:_0x582532(0x253),[_0x4d42e2[_0x582532(0x13c)][_0x582532(0x3a0)]]:_0x582532(0x246),[_0x4d42e2['CmdRspCode']['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x582532(0x3c8)},_0x172cb0=class extends _0x21f9b6[_0x582532(0x1c3)]{get[_0x582532(0x202)](){const _0x54155f=_0x582532;return this[_0x54155f(0x3d2)][_0x54155f(0x308)]();}constructor(_0x822249,_0x1d1e00,_0xb69246,_0x35f5fb,_0x41c167,_0x20f30e,_0xed35b4,_0x500542){const _0x1e195d=_0x582532;super(),this['_unitID']=_0x822249,this['_logService']=_0xb69246,this['_configService']=_0x35f5fb,this[_0x1e195d(0x3b6)]=_0x41c167,this[_0x1e195d(0x39f)]=_0x20f30e,this[_0x1e195d(0x2ca)]=_0xed35b4,this[_0x1e195d(0x16b)]=_0x500542,_0x158768(this,'_sessionStatus$',new _0x4ea2bc[(_0x1e195d(0x319))](_0x42d806[_0x1e195d(0x334)])),_0x158768(this,'sessionStatus$',this[_0x1e195d(0x3d2)][_0x1e195d(0x2bd)]()),_0x158768(this,'_event$',new _0x4ea2bc[(_0x1e195d(0x321))]()),_0x158768(this,_0x1e195d(0x1a6),this[_0x1e195d(0x381)][_0x1e195d(0x2bd)]()),_0x158768(this,_0x1e195d(0x2f0),void 0x0),_0x158768(this,_0x1e195d(0x387),void 0x0),_0x158768(this,_0x1e195d(0x373),void 0x0),_0x158768(this,_0x1e195d(0x1e2),!0x1),_0x158768(this,_0x1e195d(0x152),null),this[_0x1e195d(0x1e2)]=!!this[_0x1e195d(0x16b)],_0x1d1e00[_0x1e195d(0x12f)]((0x0,_0x4ea2bc[_0x1e195d(0x172)])(this['dispose$']))['subscribe'](_0x23c469=>{const _0x315cf3=_0x1e195d;if(_0x23c469!==void 0x0){if(this[_0x315cf3(0x2f0)]=_0x23c469,_0x23c469)this[_0x315cf3(0x216)](_0x23c469),this[_0x315cf3(0x387)]=_0x23c469[_0x315cf3(0x23c)][_0x315cf3(0x237)](_0x289d35=>{const _0x1dcc53=_0x315cf3;_0x289d35[_0x1dcc53(0x3e8)]===this[_0x1dcc53(0x39a)]&&this[_0x1dcc53(0x11c)](_0x289d35);});else{var _0x1b989d;this['_throwTelemetryCollaborationNewChangeset'](),this[_0x315cf3(0x3d2)][_0x315cf3(0x270)](_0x42d806[_0x315cf3(0x234)]),(_0x1b989d=this['_socketMessageSubscription'])==null||_0x1b989d[_0x315cf3(0x347)](),this[_0x315cf3(0x387)]=null;}}});}[_0x582532(0x212)](){const _0x58f033=_0x582532;var _0x372a0f,_0x34adbe;return(_0x372a0f=(_0x34adbe=this[_0x58f033(0x2f0)])==null?void 0x0:_0x34adbe[_0x58f033(0x208)])==null?null:_0x372a0f;}['dispose'](){const _0x46007b=_0x582532;super['dispose'](),this[_0x46007b(0x198)](),this[_0x46007b(0x3b8)][_0x46007b(0x270)](),this[_0x46007b(0x3b8)][_0x46007b(0x159)]();}[_0x582532(0x198)](){const _0x367d03=_0x582532;var _0x4ee0bc,_0x24a215;this[_0x367d03(0x236)](),(_0x4ee0bc=this[_0x367d03(0x2f0)])==null||_0x4ee0bc[_0x367d03(0x311)]({'cmd':_0x4d42e2[_0x367d03(0x160)][_0x367d03(0x25c)],'data':{'roomID':this[_0x367d03(0x39a)]}}),(_0x24a215=this[_0x367d03(0x2f0)])==null||_0x24a215['close'](),this[_0x367d03(0x381)]['complete'](),this[_0x367d03(0x3d2)][_0x367d03(0x159)]();}[_0x582532(0x11c)](_0x41cf3f){const _0x5da78c=_0x582532;_0x41cf3f[_0x5da78c(0x13e)]===_0x4d42e2[_0x5da78c(0x160)][_0x5da78c(0x2de)]?this[_0x5da78c(0x28c)](_0x41cf3f):_0x41cf3f['cmd']===_0x4d42e2[_0x5da78c(0x160)]['RECV']&&this['_onRecvEvent'](_0x41cf3f);}['_joinRoom'](_0x1b4e25){const _0x31abd7=_0x582532;this[_0x31abd7(0x3d2)][_0x31abd7(0x270)](_0x42d806[_0x31abd7(0x38a)]),_0x1b4e25['send']({'cmd':_0x4d42e2[_0x31abd7(0x160)]['JOIN'],'routeKey':this[_0x31abd7(0x39a)],'routeType':'','data':{'rooms':[{'roomID':this[_0x31abd7(0x39a)]}]}});}[_0x582532(0x28c)](_0x341e5b){const _0xdf6a5f=_0x582532;var _0x306846;if(_0x341e5b[_0xdf6a5f(0x422)]in _0x156385){this['_collaborationUIEventService']['emitEvent']({'id':_0x214ddb[_0xdf6a5f(0x31c)],'data':_0x156385[_0x341e5b[_0xdf6a5f(0x422)]]}),this['_sessionStatus$'][_0xdf6a5f(0x270)](_0x42d806[_0xdf6a5f(0x234)]);return;}this[_0xdf6a5f(0x3d2)][_0xdf6a5f(0x270)](_0x42d806['ONLINE']);let _0x598f45=(_0x306846=_0x341e5b[_0xdf6a5f(0x163)][_0xdf6a5f(0x16e)][this[_0xdf6a5f(0x39a)]])==null?void 0x0:_0x306846[_0xdf6a5f(0x22f)];_0x598f45&&_0x598f45[_0xdf6a5f(0x2c3)](_0x48283e=>this[_0xdf6a5f(0x3b6)][_0xdf6a5f(0x11f)](this[_0xdf6a5f(0x39a)],_0x48283e));}['_onRecvEvent'](_0x39da68){const _0x2319e0=_0x582532;try{let _0x3ed497=_0x39da68[_0x2319e0(0x163)];switch(_0x3ed497[_0x2319e0(0x23e)]){case _0xba6f9e[_0x2319e0(0x417)][_0x2319e0(0x18c)]:this[_0x2319e0(0x1fa)](_0x3ed497),this[_0x2319e0(0x381)][_0x2319e0(0x270)](_0x3ed497);break;case _0xba6f9e[_0x2319e0(0x417)]['USERS_LEAVE']:this['_onUserLeave'](_0x3ed497),this[_0x2319e0(0x381)][_0x2319e0(0x270)](_0x3ed497);break;case _0xba6f9e[_0x2319e0(0x417)][_0x2319e0(0x161)]:case _0xba6f9e[_0x2319e0(0x417)][_0x2319e0(0x2ec)]:this[_0x2319e0(0x2b3)](),this[_0x2319e0(0x2e1)](),this['_event$']['next'](_0x3ed497);break;case _0xba6f9e[_0x2319e0(0x417)]['MSG_FOR_ERROR']:this[_0x2319e0(0x423)][_0x2319e0(0x171)](_0x2319e0(0x2bb)+JSON['stringify'](_0x3ed497)),this[_0x2319e0(0x381)][_0x2319e0(0x270)](_0x3ed497);break;case _0xba6f9e[_0x2319e0(0x417)]['COMMENT_UPDATE']:this[_0x2319e0(0x39f)][_0x2319e0(0x3fb)](_0x3ed497[_0x2319e0(0x163)]),this[_0x2319e0(0x381)]['next'](_0x3ed497);break;default:this['_event$'][_0x2319e0(0x270)](_0x3ed497);}}catch(_0x172f8e){this[_0x2319e0(0x423)]['error'](_0x172f8e,_0x39da68);}}[_0x582532(0x1fa)](_0x665639){const _0x10af40=_0x582532;this[_0x10af40(0x3b6)]['updateMember'](this['_unitID'],_0x665639['data']);}[_0x582532(0x3d0)](_0xb51a20){const _0x156df5=_0x582532;this[_0x156df5(0x3b6)][_0x156df5(0x2c7)](this[_0x156df5(0x39a)],_0xb51a20['data']['memberID']);}async[_0x582532(0x311)](_0x19e807,_0x25cc40){const _0x5a9049=_0x582532;if(this['sessionStatus']!==_0x42d806['ONLINE']||!this['_socket'])throw Error(_0x5a9049(0x26c));try{_0x19e807[_0x5a9049(0x23e)]===_0xba6f9e[_0x5a9049(0x417)][_0x5a9049(0x1f8)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x5a9049(0x1ae)](_0x19e807)),this['_socket'][_0x5a9049(0x311)]({'cmd':_0x4d42e2[_0x5a9049(0x160)]['INGEST'],'routeKey':_0x25cc40,'routeType':'','data':_0x19e807});}catch(_0x5619d0){this[_0x5a9049(0x423)][_0x5a9049(0x171)](_0x5619d0);}}[_0x582532(0x2d9)](){const _0x1332a5=_0x582532;var _0x33009f;this[_0x1332a5(0x373)]=setTimeout(()=>{const _0x33510d=_0x1332a5;this['_collaborationTimeoutTimer']=null,this[_0x33510d(0x2ca)][_0x33510d(0x121)]({'id':_0x214ddb[_0x33510d(0x125)]});},(_0x33009f=this[_0x1332a5(0x3b0)][_0x1332a5(0x2ba)](_0x1332a5(0x36a)))==null?_0x3ad1c7:_0x33009f);}[_0x582532(0x2e1)](){const _0x579ab0=_0x582532;this[_0x579ab0(0x373)]&&(clearTimeout(this[_0x579ab0(0x373)]),this[_0x579ab0(0x373)]=null);}[_0x582532(0x1ae)](_0x296140){const _0x24af7f=_0x582532;if(!this[_0x24af7f(0x1e2)])return;let {data:_0x3be28d}=_0x296140,{unitID:_0x248049,changeset:_0x1c523b}=_0x3be28d,{mutations:_0x245e30,type:_0xa89f2e}=_0x1c523b;this[_0x24af7f(0x152)]={'unitId':_0x248049,'type':_0xa89f2e,'startTime':performance[_0x24af7f(0x14c)](),'stopTime':0x0,'duration':0x0,'size':_0x3e065c(_0x245e30)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x3f0354=_0x582532;if(this[_0x3f0354(0x1e2)]){if(!this[_0x3f0354(0x152)]){this[_0x3f0354(0x423)][_0x3f0354(0x171)](_0x3f0354(0x3f2),_0x3f0354(0x3b9));return;}this['_telemetryInfo'][_0x3f0354(0x430)]=performance['now'](),this[_0x3f0354(0x152)][_0x3f0354(0x3c9)]=this[_0x3f0354(0x152)][_0x3f0354(0x430)]-this['_telemetryInfo'][_0x3f0354(0x2e4)],this[_0x3f0354(0x16b)][_0x3f0354(0x174)](_0x3f0354(0x325),this[_0x3f0354(0x152)]),this['_telemetryInfo']=null;}}[_0x582532(0x236)](){this['_telemetryInfo']=null;}};_0x172cb0=_0x9fca30([_0x385b9b(0x2,_0x21f9b6['ILogService']),_0x385b9b(0x3,_0x21f9b6['IConfigService']),_0x385b9b(0x4,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x42c541)),_0x385b9b(0x5,(0x0,_0x21f9b6['Inject'])(_0x386670)),_0x385b9b(0x6,(0x0,_0x21f9b6['Inject'])(_0x49c645)),_0x385b9b(0x7,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x486886[_0x582532(0x1e8)]))],_0x172cb0);let _0x2705d1=(0x0,_0x21f9b6[_0x582532(0x1aa)])(_0x582532(0x29d));function _0x183d07(_0x452ca2){return'unit-cache-'+_0x452ca2;}function _0x5873bb(_0x2024f3){const _0x212b08=_0x582532;let {unitID:_0xaae179,mutations:_0x552b55}=_0x2024f3;return{'unitId':_0xaae179,'subUnitId':_0x552b55['length']>0x0?_0x552b55[0x0][_0x212b08(0x2c1)][_0x212b08(0x117)]:null};}let _0x43e293=class{constructor(_0x29ac54,_0x432363,_0x39fcb5){const _0x5bdb45=_0x582532;this[_0x5bdb45(0x279)]=_0x29ac54,this['_transformService']=_0x432363,this['_instanceService']=_0x39fcb5;}[_0x582532(0x3ff)](_0x538f53){const _0x3243a7=_0x582532;var _0x464b8d,_0x1f7a42;let _0x213269=this['_injector'][_0x3243a7(0x19e)](_0x17b170[_0x3243a7(0x3fd)]),{unitId:_0x3f9749,subUnitId:_0x31c1bb}=_0x5873bb(_0x538f53),_0x5038be=_0x213269==null?void 0x0:_0x213269[_0x3243a7(0x401)](_0x3f9749)[_0x3243a7(0x15c)](),_0x566a50=(_0x464b8d=this[_0x3243a7(0x317)]['getUnit'](_0x3f9749))==null||(_0x464b8d=_0x464b8d[_0x3243a7(0x13b)]())==null?void 0x0:_0x464b8d[_0x3243a7(0x3e9)]();if(_0x5038be[_0x3243a7(0x2c6)]===0x0||!_0x3f9749||!_0x31c1bb)return;let _0x2ae9b8=[{'id':_0x17b170[_0x3243a7(0x3cd)]['id'],'params':{'unitId':_0x3f9749,'subUnitId':_0x566a50,'selections':_0x21f9b6[_0x3243a7(0x116)][_0x3243a7(0x38b)](_0x5038be)}}],_0x2a0eda=this[_0x3243a7(0x32c)]['transformMutationsWithChangeset'](_0x538f53,_0x2ae9b8);if(!(0x0,_0xba6f9e[_0x3243a7(0x179)])(_0x2a0eda))throw _0x2a0eda[_0x3243a7(0x171)];let _0x1e6dc4=(_0x1f7a42=_0x2a0eda[_0x3243a7(0x419)][0x0])==null||(_0x1f7a42=_0x1f7a42['params'])==null?void 0x0:_0x1f7a42[_0x3243a7(0x3d8)];if(Array['isArray'](_0x1e6dc4)&&_0x1e6dc4[_0x3243a7(0x2c6)]){if(_0x1e6dc4[_0x3243a7(0x2c6)]===_0x2ae9b8[0x0]['params'][_0x3243a7(0x3d8)][_0x3243a7(0x2c6)]&&_0x1e6dc4[_0x3243a7(0x1d9)]((_0x2edcc7,_0x52e500)=>_0x21f9b6[_0x3243a7(0x165)]['equals'](_0x2edcc7[_0x3243a7(0x37b)],_0x2ae9b8[0x0][_0x3243a7(0x2c1)][_0x3243a7(0x3d8)][_0x52e500]['range'])))return;this[_0x3243a7(0x279)][_0x3243a7(0x19e)](_0x21f9b6[_0x3243a7(0x284)])[_0x3243a7(0x1ee)](_0x17b170['SetSelectionsOperation']['id'],{'unitId':_0x3f9749,'subUnitId':_0x566a50,'selections':_0x1e6dc4});}}};_0x43e293=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6['Inject'])(_0x21f9b6['Injector'])),_0x385b9b(0x1,_0xba6f9e[_0x582532(0x2e5)]),_0x385b9b(0x2,_0x21f9b6[_0x582532(0x207)])],_0x43e293);let _0x4ada3c=(0x0,_0x21f9b6[_0x582532(0x1aa)])(_0x582532(0x1ce)),_0x5e2f10=function(_0x3cac88){const _0x197712=_0x582532;return _0x3cac88[_0x3cac88[_0x197712(0x14e)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x3cac88[_0x3cac88[_0x197712(0x118)]=0x1]=_0x197712(0x118),_0x3cac88;}({}),_0x3b7e3d=_0x582532(0x293);Symbol(_0x3b7e3d);let _0x1a0a3c={};function _0x2582a0(_0x180e05){const _0x195008=_0x582532;var _0x4eb331;return!!((_0x4eb331=_0x180e05[_0x195008(0x2c1)])!=null&&_0x4eb331[_0x195008(0x33f)]);}let _0x1d0ff0=new Set([_0x17b170[_0x582532(0x316)]['id']]);function _0xb02396(_0x3f9fb7,_0x29be90,_0x56b7cb,_0x748d13,_0x4955fe){const _0x506b88=_0x582532;var _0x518218,_0x56190f,_0x1c0195,_0x2a5c29;let _0x28531a=[];for(let _0x576848 of _0x3f9fb7){if(_0x1d0ff0['has'](_0x576848['id'])){if(_0x28531a[_0x506b88(0x2c6)]>0x0)break;_0x28531a[_0x506b88(0x2b7)](_0x576848);break;}if(_0x2582a0(_0x576848)){if(_0x28531a[_0x506b88(0x2c6)]>0x0)break;_0x28531a[_0x506b88(0x2b7)](_0x576848);break;}_0x28531a[_0x506b88(0x2b7)](_0x576848);}let _0x29f864=(_0x518218=(_0x56190f=_0x4955fe[_0x506b88(0x2ac)]())==null?void 0x0:_0x56190f[_0x506b88(0x19a)])==null?_0x506b88(0x30a):_0x518218,_0x1dabaa=(_0x1c0195=(_0x2a5c29=_0x4955fe[_0x506b88(0x2ac)]())==null?void 0x0:_0x2a5c29[_0x506b88(0x208)])==null?'unknown':_0x1c0195;return{'changeset':{'unitID':_0x29be90,'type':(0x0,_0xba6f9e[_0x506b88(0x3c4)])(_0x56b7cb[_0x506b88(0x1c0)](_0x29be90)),'baseRev':_0x748d13['getCurrentRevOfUnit'](_0x29be90),'revision':0x0,'userID':_0x29f864,'memberID':_0x1dabaa,'mutations':_0x28531a},'pendingMutations':_0x3f9fb7[_0x506b88(0x24b)](_0x28531a[_0x506b88(0x2c6)])};}function _0x3b1a7d(_0x37f861,_0x2f28dc,_0x306487,_0x52c958,_0x3d2e92){const _0x480349=_0x582532;var _0x421a51,_0x1e1570,_0x1a8f06,_0x570c70;let _0x25a752=[_0x37f861[_0x480349(0x13f)]((_0x2c1c91,_0x499cce)=>{const _0x5c51d9=_0x480349;var _0x2251c2;let {id:_0x52b1c7}=_0x2c1c91,{id:_0x2f375c,type:_0x4fc9ab}=_0x499cce,_0x59c746=(_0x2251c2=_0x2c1c91[_0x5c51d9(0x2c1)])==null?{'actions':null}:_0x2251c2,_0x3dacc3=_0x499cce[_0x5c51d9(0x2c1)];if(_0x52b1c7&&_0x52b1c7!==_0x2f375c)throw Error(_0x5c51d9(0x128)+_0x52b1c7+_0x5c51d9(0x37c)+_0x2f375c+'.');return{..._0x2c1c91,'id':_0x2f375c,'type':_0x4fc9ab,'params':{'unitId':_0x3dacc3[_0x5c51d9(0x415)],'textRanges':_0x3dacc3[_0x5c51d9(0x28a)],'actions':_0x21f9b6[_0x5c51d9(0x379)][_0x5c51d9(0x1a0)](_0x59c746[_0x5c51d9(0x1ac)],_0x3dacc3[_0x5c51d9(0x1ac)])}};},{})],_0x1e423a=(_0x421a51=(_0x1e1570=_0x3d2e92[_0x480349(0x2ac)]())==null?void 0x0:_0x1e1570[_0x480349(0x19a)])==null?_0x480349(0x30a):_0x421a51,_0x5dc596=(_0x1a8f06=(_0x570c70=_0x3d2e92['getCurrentUser']())==null?void 0x0:_0x570c70['memberID'])==null?_0x480349(0x30a):_0x1a8f06;return{'changeset':{'unitID':_0x2f28dc,'type':(0x0,_0xba6f9e[_0x480349(0x3c4)])(_0x306487[_0x480349(0x1c0)](_0x2f28dc)),'baseRev':_0x52c958[_0x480349(0x326)](_0x2f28dc),'revision':0x0,'userID':_0x1e423a,'memberID':_0x5dc596,'mutations':_0x25a752},'pendingMutations':[]};}function _0x28d3ce(_0xca5a55,_0x47a5a1){const _0x54aa4e=_0x582532;let _0x4d1bb5=new _0x4ea2bc['ReplaySubject'](0x1);return setTimeout(()=>_0x4d1bb5[_0x54aa4e(0x270)](_0x47a5a1),_0xca5a55),_0x4d1bb5[_0x54aa4e(0x2bd)]()[_0x54aa4e(0x12f)]((0x0,_0x4ea2bc[_0x54aa4e(0x2d4)])(0x1));}var _0x5bce94,_0x5ccf93,_0x3cf1d4;let _0x259f7c=function(_0x1a1a73){const _0x37adff=_0x582532;return _0x1a1a73['NOT_COLLAB']=_0x37adff(0x1dd),_0x1a1a73[_0x37adff(0x38c)]=_0x37adff(0x31d),_0x1a1a73['PENDING']='pending',_0x1a1a73[_0x37adff(0x3f1)]=_0x37adff(0x22a),_0x1a1a73[_0x37adff(0x220)]=_0x37adff(0x341),_0x1a1a73[_0x37adff(0x203)]=_0x37adff(0x40e),_0x1a1a73[_0x37adff(0x335)]=_0x37adff(0x23b),_0x1a1a73[_0x37adff(0x234)]=_0x37adff(0x2b8),_0x1a1a73;}({}),_0x48a954=0x4e20,_0x35b288=0x2bf20;var _0x30bec6=class{constructor(_0xff5de9,_0x4d65fd,_0x379d75,_0x262837,_0x187099,_0x3543cc,_0x2acef3,_0x47aa4e,_0xca2853){const _0x1dbe70=_0x582532;this[_0x1dbe70(0x142)]=_0xff5de9,this[_0x1dbe70(0x1a4)]=_0x4d65fd,this['_handler']=_0x187099,this[_0x1dbe70(0x332)]=_0x3543cc,this[_0x1dbe70(0x33c)]=_0x2acef3,this[_0x1dbe70(0x262)]=_0x47aa4e,this[_0x1dbe70(0x1e7)]=_0xca2853,_0x158768(this,_0x1dbe70(0x209),null),_0x158768(this,'_pendingMutations',[]),this['_awaitingChangeset']=_0x379d75,this[_0x1dbe70(0x27f)]=_0x262837;}[_0x582532(0x266)](_0x20b949){const _0x4fdb1a=_0x582532;let _0x3ab845=this[_0x4fdb1a(0x262)][_0x4fdb1a(0x326)](this[_0x4fdb1a(0x142)]);return _0x20b949['revision']>_0x3ab845+0x1?(this[_0x4fdb1a(0x3db)][_0x4fdb1a(0x35c)]({'from':_0x3ab845,'to':_0x20b949[_0x4fdb1a(0x1e5)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x56ab9d){const _0x495402=_0x582532;this[_0x495402(0x33c)][_0x495402(0x21b)](this['unitID'],_0x56ab9d);}['_transformSelections'](_0x159487){const _0x42b4f0=_0x582532;var _0x5c1ea2,_0x487f3e;(_0x5c1ea2=(_0x487f3e=this[_0x42b4f0(0x3db)])[_0x42b4f0(0x138)])==null||_0x5c1ea2[_0x42b4f0(0x2f1)](_0x487f3e,_0x159487);}[_0x582532(0x221)](_0x5754ac){const _0x2c7b91=_0x582532;var _0x34d495,_0x3c3a78;return(_0x34d495=(_0x3c3a78=this[_0x2c7b91(0x3db)])['onTransformIME'])==null?void 0x0:_0x34d495[_0x2c7b91(0x2f1)](_0x3c3a78,_0x5754ac);}['_transformStateCache'](_0x5acbba){const _0x4597f4=_0x582532;var _0x1ed09f,_0x31a209;return(_0x1ed09f=(_0x31a209=this[_0x4597f4(0x3db)])[_0x4597f4(0x396)])==null?void 0x0:_0x1ed09f['call'](_0x31a209,_0x5acbba);}[_0x582532(0x1bf)](_0x1cf0fc){const _0x54c835=_0x582532;var _0xb00d35,_0x86c319,_0x7b78f1;return(_0xb00d35=(_0x86c319=(_0x7b78f1=this[_0x54c835(0x3db)])[_0x54c835(0x40b)])==null?void 0x0:_0x86c319[_0x54c835(0x2f1)](_0x7b78f1,_0x1cf0fc))==null?_0x1cf0fc:_0xb00d35;}['_transformRemoteChangesetByStateCache'](_0x1b6eb9){const _0x4f6f8d=_0x582532;var _0x33ab14,_0x2e6867,_0x35fb02;return(_0x33ab14=(_0x2e6867=(_0x35fb02=this[_0x4f6f8d(0x3db)])[_0x4f6f8d(0x291)])==null?void 0x0:_0x2e6867['call'](_0x35fb02,_0x1b6eb9))==null?_0x1b6eb9:_0x33ab14;}[_0x582532(0x33a)](_0x36cfd8){const _0x1d3ff0=_0x582532;if(this[_0x1d3ff0(0x1a4)]===_0x21f9b6[_0x1d3ff0(0x3e4)]['UNIVER_DOC']){let {unitID:_0xdbb2dc,mutations:_0x5f40a4,memberID:_0x29ae8c}=_0x36cfd8,_0x160d6a=_0x5f40a4['length']>0x0?_0x5f40a4[0x0][_0x1d3ff0(0x2c1)][_0x1d3ff0(0x28a)]:[];if(Array[_0x1d3ff0(0x2a2)](_0x160d6a)&&_0x160d6a[_0x1d3ff0(0x2c6)]>0x0){var _0x1437cf,_0x227188;(_0x1437cf=(_0x227188=this[_0x1d3ff0(0x3db)])[_0x1d3ff0(0x3d5)])==null||_0x1437cf['call'](_0x227188,{'unitID':_0xdbb2dc,'memberID':_0x29ae8c,'textRanges':_0x160d6a});}}}[_0x582532(0x140)](){const _0x11cc84=_0x582532;var _0x51dd2a;(_0x51dd2a=this[_0x11cc84(0x1e7)])==null||_0x51dd2a[_0x11cc84(0x28e)](this[_0x11cc84(0x142)],this[_0x11cc84(0x1a4)],this[_0x11cc84(0x209)],this[_0x11cc84(0x27f)]);}[_0x582532(0x146)](){const _0x524235=_0x582532;return this[_0x524235(0x262)][_0x524235(0x326)](this[_0x524235(0x142)]);}[_0x582532(0x13d)](){const _0xd3ea05=_0x582532;this[_0xd3ea05(0x262)][_0xd3ea05(0x377)](this['unitID']);}[_0x582532(0x3ab)](_0x408f50){const _0x2e0c5e=_0x582532;let _0x106a51=this[_0x2e0c5e(0x1bf)](_0x408f50);_0x106a51=this[_0x2e0c5e(0x2c2)](_0x106a51);let _0x1f3b0c=(0x0,_0x21f9b6[_0x2e0c5e(0x18f)])(_0x106a51['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x1f3b0c[_0x2e0c5e(0x20c)]){var _0x107267;throw _0x1f3b0c[_0x2e0c5e(0x171)]instanceof Error?_0x1f3b0c['error']:Error((_0x107267=_0x1f3b0c['error'])==null?_0x2e0c5e(0x413):_0x107267);}this['_transformIMECache'](_0x106a51),this[_0x2e0c5e(0x3f3)](_0x106a51),this[_0x2e0c5e(0x282)](_0x408f50),this[_0x2e0c5e(0x28f)](_0x106a51),this[_0x2e0c5e(0x33a)](_0x106a51),this[_0x2e0c5e(0x13d)]();}};let _0x51c4b3=class extends _0x30bec6{constructor(_0x191636,_0x3dbaae,_0x52c9db,_0x57a7be,_0x3685d2,_0x425356,_0xfff1c1,_0x1bf1b5,_0x34c474,_0xb38237){const _0x53ee51=_0x582532;super(_0x191636,_0x3dbaae,null,[],_0x52c9db,_0xfff1c1,_0x425356,_0x57a7be,_0xb38237),this[_0x53ee51(0x279)]=_0x3685d2,this[_0x53ee51(0x423)]=_0x1bf1b5,this[_0x53ee51(0x32c)]=_0x34c474,this[_0x53ee51(0x2dd)]=_0xb38237,_0x158768(this,_0x53ee51(0x18e),_0x259f7c[_0x53ee51(0x38c)]);}[_0x582532(0x167)](_0x1c6747){const _0x2fe4dc=_0x582532;let _0x4c7e7c=this[_0x2fe4dc(0x279)][_0x2fe4dc(0x327)](_0x348615,this[_0x2fe4dc(0x142)],this[_0x2fe4dc(0x1a4)],[_0x1c6747],this[_0x2fe4dc(0x3db)]);return _0x4c7e7c[_0x2fe4dc(0x2ae)](),_0x4c7e7c[_0x2fe4dc(0x140)](),_0x4c7e7c;}[_0x582532(0x42e)](_0xb4de09){const _0x758499=_0x582532;if(this['_checkMissing'](_0xb4de09))return this[_0x758499(0x279)][_0x758499(0x327)](_0x231f53,this[_0x758499(0x142)],this['type'],null,[],null,[_0xb4de09],this['_handler']);try{let _0x360525=this[_0x758499(0x32c)]['transformMutationsWithChangeset'](_0xb4de09,[_0xba6f9e[_0x758499(0x28b)]]);if((0x0,_0xba6f9e['isTransformMutationsWithChangesetSuccess'])(_0x360525)){let {c1Prime:_0x5c6725}=_0x360525;return this[_0x758499(0x3ab)](_0x5c6725),this;}throw _0x360525[_0x758499(0x171)];}catch(_0xd3a5bc){return this[_0x758499(0x423)][_0x758499(0x171)](_0xd3a5bc),this['_onConflict'](!0x1);}}[_0x582532(0x41d)](_0x42e58d){const _0x21f715=_0x582532;return this[_0x21f715(0x279)][_0x21f715(0x327)](_0x2d5de6,this[_0x21f715(0x142)],this['type'],null,[],this[_0x21f715(0x3db)],_0x42e58d);}['onRemoteAck'](){const _0x48cd23=_0x582532;throw Error(_0x48cd23(0x21e));}[_0x582532(0x1e3)](){const _0x578c8b=_0x582532;throw Error(_0x578c8b(0x2ce));}[_0x582532(0x3ba)](){return this;}['toggleOffline'](){const _0x187a31=_0x582532;return this[_0x187a31(0x279)][_0x187a31(0x327)](_0x23f8dc,this[_0x187a31(0x142)],this['type'],null,[],this[_0x187a31(0x3db)]);}[_0x582532(0x3f9)](){return this;}['resend'](){throw Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){const _0x68ae2=_0x582532;let _0x5900f8=this['_revisionService']['getCurrentRevOfUnit'](this[_0x68ae2(0x142)]);return this[_0x68ae2(0x3db)][_0x68ae2(0x35c)]({'from':_0x5900f8,'to':0x0}),this['_injector'][_0x68ae2(0x327)](_0x231f53,this['unitID'],this[_0x68ae2(0x1a4)],null,[],null,[],this[_0x68ae2(0x3db)]);}};_0x51c4b3=_0x9fca30([_0x385b9b(0x3,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x3fa)])),_0x385b9b(0x4,(0x0,_0x21f9b6['Inject'])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x5,_0x21f9b6[_0x582532(0x3c6)]),_0x385b9b(0x6,_0x21f9b6[_0x582532(0x284)]),_0x385b9b(0x7,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0x8,_0xba6f9e[_0x582532(0x2e5)]),_0x385b9b(0x9,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x51c4b3);let _0x348615=_0x5bce94=class extends _0x30bec6{constructor(_0x1ab62a,_0x2a7f2a,_0x3998da,_0x565924,_0x175d39,_0x30fabc,_0x468985,_0x40d4df,_0x1718f4,_0x2f0f9d,_0x5b7bce,_0x3b5ed8,_0x2dacb0,_0x4d6ed2){const _0x3381ed=_0x582532;super(_0x1ab62a,_0x2a7f2a,null,_0x3998da,_0x565924,_0x1718f4,_0x2dacb0,_0x30fabc,_0x4d6ed2),this[_0x3381ed(0x279)]=_0x175d39,this[_0x3381ed(0x3b6)]=_0x468985,this['_logService']=_0x40d4df,this[_0x3381ed(0x3b0)]=_0x2f0f9d,this[_0x3381ed(0x32c)]=_0x5b7bce,this[_0x3381ed(0x136)]=_0x3b5ed8,_0x158768(this,_0x3381ed(0x18e),_0x259f7c[_0x3381ed(0x310)]),_0x158768(this,_0x3381ed(0x15f),null),_0x158768(this,_0x3381ed(0x1d3),null);}[_0x582532(0x167)](_0x1754c8){const _0x5b4731=_0x582532;return this[_0x5b4731(0x27f)]['push'](_0x1754c8),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x13a597){const _0x2387b0=_0x582532;if(this[_0x2387b0(0x266)](_0x13a597))return this[_0x2387b0(0x127)](),this['_injector'][_0x2387b0(0x327)](_0x231f53,this[_0x2387b0(0x142)],this['type'],null,this[_0x2387b0(0x27f)],null,[_0x13a597],this[_0x2387b0(0x3db)]);try{let _0x4f4bd2=this['_transformService'][_0x2387b0(0x18a)](_0x13a597,this[_0x2387b0(0x27f)]);if((0x0,_0xba6f9e[_0x2387b0(0x179)])(_0x4f4bd2)){let {c1Prime:_0x30c7de,m2Prime:_0x5b12f6}=_0x4f4bd2;this['_executeRemoteChangeset'](_0x30c7de);let _0x47bad4=this[_0x2387b0(0x279)]['createInstance'](_0x5bce94,this[_0x2387b0(0x142)],this[_0x2387b0(0x1a4)],_0x5b12f6,this[_0x2387b0(0x3db)]);this[_0x2387b0(0x127)]();let _0x273fd8=new Date()[_0x2387b0(0x2f9)](),_0x4db129=this[_0x2387b0(0x15f)]?Math[_0x2387b0(0x358)](this[_0x2387b0(0x15f)]-_0x273fd8,0x0):this[_0x2387b0(0x432)]();return _0x47bad4[_0x2387b0(0x2ae)](_0x4db129),_0x47bad4;}throw _0x4f4bd2[_0x2387b0(0x171)];}catch(_0x228ca1){return this[_0x2387b0(0x423)][_0x2387b0(0x171)](_0x228ca1),this[_0x2387b0(0x41d)](!0x1);}}[_0x582532(0x1e9)](){const _0xe2bd34=_0x582532;throw Error(_0xe2bd34(0x199));}['onRemoteRej'](){throw Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x3df602=_0x582532;return this[_0x3df602(0x127)](),this[_0x3df602(0x279)][_0x3df602(0x327)](_0x23f8dc,this[_0x3df602(0x142)],this[_0x3df602(0x1a4)],null,this[_0x3df602(0x27f)],this[_0x3df602(0x3db)]);}[_0x582532(0x3f9)](){return this;}[_0x582532(0x2ae)](_0x5a4988){const _0x18dcd8=_0x582532;let _0x52fda7=_0x5a4988==null?this['_getSendChangesetTimeout']():_0x5a4988;this['_scheduleCompleteTimestamp']=new Date()[_0x18dcd8(0x2f9)]()+_0x52fda7,this[_0x18dcd8(0x1d3)]=setTimeout(()=>{const _0x4ff290=_0x18dcd8;this[_0x4ff290(0x127)]();let _0x299b1d=null;switch(this['type']){case _0x21f9b6[_0x4ff290(0x3e4)]['UNIVER_SHEET']:_0x299b1d=_0xb02396(this['_pendingMutations'],this[_0x4ff290(0x142)],this[_0x4ff290(0x136)],this[_0x4ff290(0x262)],this[_0x4ff290(0x3b6)]);break;case _0x21f9b6['UniverInstanceType'][_0x4ff290(0x1f3)]:_0x299b1d=this[_0x4ff290(0x27f)][_0x4ff290(0x1d9)](_0xd44c98=>_0xd44c98['id']===_0x1444ec[_0x4ff290(0x1ff)]['id'])?_0x3b1a7d(this[_0x4ff290(0x27f)],this[_0x4ff290(0x142)],this['_univerInstanceService'],this[_0x4ff290(0x262)],this[_0x4ff290(0x3b6)]):_0xb02396(this['_pendingMutations'],this[_0x4ff290(0x142)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']);break;default:throw Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x4ff290(0x1a4)]+_0x4ff290(0x12c));}let {changeset:_0xbfcbfa,pendingMutations:_0x3f827a}=_0x299b1d;this[_0x4ff290(0x3db)]['onSendChangeset'](_0xbfcbfa);let _0x18fee0=_0x3f827a['length']?this[_0x4ff290(0x279)]['createInstance'](_0x548b22,this[_0x4ff290(0x142)],this[_0x4ff290(0x1a4)],_0xbfcbfa,_0x3f827a,this[_0x4ff290(0x3db)],void 0x0):this[_0x4ff290(0x279)][_0x4ff290(0x327)](_0x4cb993,this[_0x4ff290(0x142)],this[_0x4ff290(0x1a4)],_0xbfcbfa,this[_0x4ff290(0x3db)]);_0x18fee0['_updateLocalCache'](),this[_0x4ff290(0x3db)]['onStateChange'](this,_0x18fee0);},_0x52fda7);}['_getSendChangesetTimeout'](){const _0x57542e=_0x582532;var _0x5388d8;let _0x8e446d=this[_0x57542e(0x3b0)]['getConfig'](_0x3b7e3d);return(_0x5388d8=_0x8e446d==null?void 0x0:_0x8e446d[_0x57542e(0x219)])==null?0x7d0:_0x5388d8;}['resend'](){const _0x16a690=_0x582532;throw Error(_0x16a690(0x115));}[_0x582532(0x127)](){const _0x410e28=_0x582532;this[_0x410e28(0x1d3)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x410e28(0x1d3)]=null);}[_0x582532(0x41d)](_0x5cce5b){const _0x1f328c=_0x582532;return this[_0x1f328c(0x127)](),this[_0x1f328c(0x279)][_0x1f328c(0x327)](_0x2d5de6,this[_0x1f328c(0x142)],this['type'],null,this[_0x1f328c(0x27f)],this[_0x1f328c(0x3db)],_0x5cce5b);}};_0x348615=_0x5bce94=_0x9fca30([_0x385b9b(0x4,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x5,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e['RevisionService'])),_0x385b9b(0x6,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x42c541)),_0x385b9b(0x7,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0x8,_0x21f9b6['ICommandService']),_0x385b9b(0x9,_0x21f9b6[_0x582532(0x3e2)]),_0x385b9b(0xa,_0xba6f9e[_0x582532(0x2e5)]),_0x385b9b(0xb,_0x21f9b6['IUniverInstanceService']),_0x385b9b(0xc,_0x21f9b6[_0x582532(0x3c6)]),_0x385b9b(0xd,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x348615);let _0x4cb993=_0x5ccf93=class extends _0x30bec6{constructor(_0x5ae621,_0x121bf5,_0x262e39,_0x2b5481,_0x514f22,_0x473c76,_0x2c09a5,_0x311085,_0x322bf4,_0x276cbf,_0x5370ee){const _0x5dc3d3=_0x582532;super(_0x5ae621,_0x121bf5,_0x262e39,[],_0x2b5481,_0x2c09a5,_0x276cbf,_0x473c76,_0x5370ee),this[_0x5dc3d3(0x279)]=_0x514f22,this['_logService']=_0x311085,this[_0x5dc3d3(0x32c)]=_0x322bf4,_0x158768(this,_0x5dc3d3(0x18e),_0x259f7c[_0x5dc3d3(0x3f1)]),_0x158768(this,_0x5dc3d3(0x345),0x0),_0x158768(this,_0x5dc3d3(0x2fb),0x0),_0x158768(this,_0x5dc3d3(0x1e6),void 0x0),_0x158768(this,_0x5dc3d3(0x1e1),void 0x0);}['appendMutation'](_0x1c2523){const _0x5db447=_0x582532;this[_0x5db447(0x127)]();let _0x5ad262=this[_0x5db447(0x279)]['createInstance'](_0x548b22,this[_0x5db447(0x142)],this['type'],this[_0x5db447(0x209)],[_0x1c2523],this['_handler'],this[_0x5db447(0x1e6)]);return _0x5ad262[_0x5db447(0x140)](),_0x5ad262;}[_0x582532(0x42e)](_0x44d48b){const _0x11b52d=_0x582532;if(this['_checkMissing'](_0x44d48b))return this[_0x11b52d(0x127)](),this['_injector'][_0x11b52d(0x327)](_0x231f53,this['unitID'],this[_0x11b52d(0x1a4)],this[_0x11b52d(0x209)],[],null,[_0x44d48b],this[_0x11b52d(0x3db)]);try{let _0x47b469=this[_0x11b52d(0x32c)][_0x11b52d(0x388)]([_0x44d48b],[this[_0x11b52d(0x209)]],!0x1);if((0x0,_0xba6f9e[_0x11b52d(0x2f6)])(_0x47b469)){let {c1Prime:_0x2c953a,c2Prime:_0x16c29a}=_0x47b469;this[_0x11b52d(0x3ab)](_0x2c953a[0x0]),_0x16c29a[0x0][_0x11b52d(0x42d)]=this[_0x11b52d(0x146)](),this['_clearScheduledTask']();let _0x4ad2ee=this[_0x11b52d(0x279)][_0x11b52d(0x327)](_0x5ccf93,this[_0x11b52d(0x142)],this['type'],_0x16c29a[0x0],this[_0x11b52d(0x3db)]);return _0x4ad2ee[_0x11b52d(0x140)](),_0x4ad2ee;}return this[_0x11b52d(0x41d)](!0x1);}catch(_0x471fbd){return this[_0x11b52d(0x423)][_0x11b52d(0x171)](_0x471fbd),this['_onConflict'](!0x1);}}[_0x582532(0x1e9)](_0xfda263){const _0x4c2b8a=_0x582532;this[_0x4c2b8a(0x127)]();let _0x52aa92=this[_0x4c2b8a(0x262)][_0x4c2b8a(0x326)](this[_0x4c2b8a(0x142)]);if(_0xfda263[_0x4c2b8a(0x1e5)]<_0x52aa92-0x1)return this;if(this[_0x4c2b8a(0x266)](_0xfda263))return this['_injector'][_0x4c2b8a(0x327)](_0x231f53,this[_0x4c2b8a(0x142)],this[_0x4c2b8a(0x1a4)],null,[],this[_0x4c2b8a(0x209)],[],this[_0x4c2b8a(0x3db)]);this[_0x4c2b8a(0x13d)]();let _0x1bec25=this[_0x4c2b8a(0x279)][_0x4c2b8a(0x327)](_0x51c4b3,this['unitID'],this[_0x4c2b8a(0x1a4)],this['_handler']);return _0x1bec25['_updateLocalCache'](),_0x1bec25;}['onRemoteRej'](_0x55fc0c){const _0x3cd3ea=_0x582532;return this[_0x3cd3ea(0x41d)](!!(_0x55fc0c!=null&&_0x55fc0c[_0x3cd3ea(0x21a)]));}[_0x582532(0x3ba)](_0x4ce1e4){const _0x379df2=_0x582532;return this[_0x379df2(0x2fb)]>_0x35b288?this['toggleOffline']():(this['_resendTimer']=_0x28d3ce(this['_resendTimeout'],{'timeout':this[_0x379df2(0x345)],'reqId':_0x4ce1e4[_0x379df2(0x37d)]}),this[_0x379df2(0x1e1)]=this[_0x379df2(0x1e6)][_0x379df2(0x237)](({reqId:_0x4c25e2,timeout:_0x961807})=>{const _0x48d43d=_0x379df2;this[_0x48d43d(0x241)](_0x4c25e2,_0x961807);}),this);}['toggleOffline'](){const _0x2fc99b=_0x582532;return this[_0x2fc99b(0x127)](),this[_0x2fc99b(0x279)][_0x2fc99b(0x327)](_0x23f8dc,this[_0x2fc99b(0x142)],this[_0x2fc99b(0x1a4)],this['_awaitingChangeset'],[],this[_0x2fc99b(0x3db)]);}['toggleOnline'](){return this;}[_0x582532(0x132)](){const _0x5a83d8=_0x582532;this[_0x5a83d8(0x3db)]['onSendChangeset'](this[_0x5a83d8(0x209)]);}['_onConflict'](_0x300cd1){const _0xbb9a50=_0x582532;return this['_clearScheduledTask'](),this['_injector']['createInstance'](_0x2d5de6,this[_0xbb9a50(0x142)],this[_0xbb9a50(0x1a4)],this[_0xbb9a50(0x209)],[],this[_0xbb9a50(0x3db)],_0x300cd1);}[_0x582532(0x241)](_0x1c096e,_0x47d51c){const _0x4dde86=_0x582532;var _0x35a75c;_0x1c096e===((_0x35a75c=this[_0x4dde86(0x209)])==null?void 0x0:_0x35a75c[_0x4dde86(0x37d)])&&(this[_0x4dde86(0x132)](),this[_0x4dde86(0x345)]=_0x47d51c===0x0?0x3e8:Math[_0x4dde86(0x215)](_0x47d51c*0x2,_0x48a954),this[_0x4dde86(0x2fb)]+=this[_0x4dde86(0x345)]);}['_clearScheduledTask'](){const _0x2e85ac=_0x582532;var _0x3b277c;(_0x3b277c=this[_0x2e85ac(0x1e1)])==null||_0x3b277c[_0x2e85ac(0x347)](),this[_0x2e85ac(0x345)]=0x0,this['_maxTotalRetryTimeout']=0x0;}};_0x4cb993=_0x5ccf93=_0x9fca30([_0x385b9b(0x4,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x5,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x3fa)])),_0x385b9b(0x6,_0x21f9b6['ICommandService']),_0x385b9b(0x7,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0x8,_0xba6f9e[_0x582532(0x2e5)]),_0x385b9b(0x9,_0x21f9b6[_0x582532(0x3c6)]),_0x385b9b(0xa,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x4cb993);let _0x548b22=_0x3cf1d4=class extends _0x30bec6{constructor(_0x13907a,_0x2ee344,_0x2e6ce6,_0x489fac,_0x29a727,_0x476a10,_0x58ad0d,_0x584c6a,_0x25884a,_0xa1a8c8,_0x50b2e0,_0x43a927,_0x993219){const _0x191ba0=_0x582532;super(_0x13907a,_0x2ee344,_0x2e6ce6,_0x489fac,_0x29a727,_0x25884a,_0x43a927,_0x584c6a,_0x993219),this[_0x191ba0(0x279)]=_0x58ad0d,this[_0x191ba0(0x423)]=_0xa1a8c8,this[_0x191ba0(0x32c)]=_0x50b2e0,this[_0x191ba0(0x2dd)]=_0x993219,_0x158768(this,_0x191ba0(0x18e),_0x259f7c['AWAITING_WITH_PENDING']),_0x158768(this,'_resendTimeout',0x0),_0x158768(this,_0x191ba0(0x2fb),0x0),_0x158768(this,_0x191ba0(0x1e6),void 0x0),_0x158768(this,_0x191ba0(0x1e1),void 0x0),_0x476a10&&(this['_resendTimer']=_0x476a10,this['_sender']=this[_0x191ba0(0x1e6)]['subscribe'](({reqId:_0x30324b,timeout:_0x5b4b07})=>{const _0x5a3859=_0x191ba0;this[_0x5a3859(0x241)](_0x30324b,_0x5b4b07);}));}[_0x582532(0x167)](_0x4cf22d){const _0x3d7741=_0x582532;return this[_0x3d7741(0x27f)][_0x3d7741(0x2b7)](_0x4cf22d),this;}[_0x582532(0x42e)](_0x375667){const _0x272661=_0x582532;if(this[_0x272661(0x266)](_0x375667))return this['_clearScheduledTask'](),this['_injector'][_0x272661(0x327)](_0x231f53,this[_0x272661(0x142)],this[_0x272661(0x1a4)],this[_0x272661(0x209)],this['_pendingMutations'],null,[_0x375667],this[_0x272661(0x3db)]);try{let _0x6af304=this[_0x272661(0x32c)]['transformChangesets']([_0x375667],[this[_0x272661(0x209)]],!0x1);if((0x0,_0xba6f9e[_0x272661(0x2f6)])(_0x6af304)){let {c1Prime:_0x40f146,c2Prime:_0x5a3f49}=_0x6af304,_0x260a89=this[_0x272661(0x32c)]['transformMutationsWithChangeset'](_0x40f146[0x0],this[_0x272661(0x27f)]);if((0x0,_0xba6f9e['isTransformMutationsWithChangesetSuccess'])(_0x260a89)){let {c1Prime:_0x44acfd,m2Prime:_0x2c0702}=_0x260a89;return this[_0x272661(0x3ab)](_0x44acfd),_0x5a3f49[0x0][_0x272661(0x42d)]=this['_getCurrentRevision'](),this[_0x272661(0x127)](),this['_injector'][_0x272661(0x327)](_0x3cf1d4,this['unitID'],this[_0x272661(0x1a4)],_0x5a3f49[0x0],_0x2c0702,this[_0x272661(0x3db)],void 0x0);}throw _0x260a89['error'];}throw _0x6af304[_0x272661(0x171)];}catch(_0x2435b6){return this['_logService']['error'](_0x2435b6),this[_0x272661(0x41d)](!0x1);}}[_0x582532(0x1e9)](_0x2214c6){const _0x56b1b3=_0x582532;if(this['_clearScheduledTask'](),this[_0x56b1b3(0x266)](_0x2214c6))return this['_injector'][_0x56b1b3(0x327)](_0x231f53,this[_0x56b1b3(0x142)],this['type'],null,this[_0x56b1b3(0x27f)],this[_0x56b1b3(0x209)],[],this[_0x56b1b3(0x3db)]);this[_0x56b1b3(0x13d)]();let _0x4f8c88=this[_0x56b1b3(0x279)][_0x56b1b3(0x327)](_0x348615,this['unitID'],this['type'],this[_0x56b1b3(0x27f)],this[_0x56b1b3(0x3db)]);return _0x4f8c88[_0x56b1b3(0x2ae)](),_0x4f8c88[_0x56b1b3(0x140)](),_0x4f8c88;}[_0x582532(0x1e3)](_0x552c10){const _0x516b8b=_0x582532;return this[_0x516b8b(0x41d)](!!(_0x552c10!=null&&_0x552c10['isPermissionRej']));}[_0x582532(0x3ba)](_0x1c22e0){const _0x153216=_0x582532;return this[_0x153216(0x2fb)]>_0x35b288?this['toggleOffline']():(this[_0x153216(0x1e6)]=_0x28d3ce(this['_resendTimeout'],{'timeout':this[_0x153216(0x345)],'reqId':_0x1c22e0[_0x153216(0x37d)]}),this[_0x153216(0x1e1)]=this[_0x153216(0x1e6)][_0x153216(0x237)](({reqId:_0x4d006d,timeout:_0x251a94})=>{const _0x189237=_0x153216;this[_0x189237(0x241)](_0x4d006d,_0x251a94);}),this);}['toggleOffline'](){const _0x101e23=_0x582532;return this[_0x101e23(0x127)](),this[_0x101e23(0x279)][_0x101e23(0x327)](_0x23f8dc,this[_0x101e23(0x142)],this[_0x101e23(0x1a4)],this[_0x101e23(0x209)],this['_pendingMutations'],this[_0x101e23(0x3db)]);}[_0x582532(0x3f9)](){return this;}[_0x582532(0x132)](){const _0x2a3017=_0x582532;this[_0x2a3017(0x3db)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x582532(0x41d)](_0x3a429a){const _0x4adf68=_0x582532;return this[_0x4adf68(0x127)](),this[_0x4adf68(0x279)]['createInstance'](_0x2d5de6,this['unitID'],this[_0x4adf68(0x1a4)],null,this['_pendingMutations'],this['_handler'],_0x3a429a);}[_0x582532(0x241)](_0x2dc870,_0x2b422a){const _0x542b7b=_0x582532;var _0x1d6961;_0x2dc870===((_0x1d6961=this['_awaitingChangeset'])==null?void 0x0:_0x1d6961['reqId'])&&(this['resend'](),this[_0x542b7b(0x345)]=_0x2b422a===0x0?0x3e8:Math[_0x542b7b(0x215)](_0x2b422a*0x2,_0x48a954),this[_0x542b7b(0x2fb)]+=this[_0x542b7b(0x345)]);}[_0x582532(0x127)](){const _0x50fd3f=_0x582532;var _0x5d9c8d;(_0x5d9c8d=this[_0x50fd3f(0x1e1)])==null||_0x5d9c8d[_0x50fd3f(0x347)](),this['_resendTimeout']=0x0,this['_maxTotalRetryTimeout']=0x0;}};_0x548b22=_0x3cf1d4=_0x9fca30([_0x385b9b(0x6,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6['Injector'])),_0x385b9b(0x7,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x3fa)])),_0x385b9b(0x8,_0x21f9b6['ICommandService']),_0x385b9b(0x9,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0xa,_0xba6f9e[_0x582532(0x2e5)]),_0x385b9b(0xb,_0x21f9b6['IUndoRedoService']),_0x385b9b(0xc,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x548b22);let _0x2d5de6=class extends _0x30bec6{constructor(_0xf5fd1c,_0x26b480,_0x15299f,_0x6d64be,_0x256cea,_0x452b50=!0x1,_0x35b082,_0x980067,_0x1d57b8,_0x503f15,_0x5d7213,_0x51214e,_0x28260a){const _0x275b6a=_0x582532;super(_0xf5fd1c,_0x26b480,_0x15299f,_0x6d64be,_0x256cea,_0x980067,_0x1d57b8,_0x503f15,_0x28260a),this[_0x275b6a(0x261)]=_0x452b50,this[_0x275b6a(0x3bb)]=_0x35b082,this[_0x275b6a(0x120)]=_0x5d7213,this[_0x275b6a(0x2ca)]=_0x51214e,this[_0x275b6a(0x2dd)]=_0x28260a,_0x158768(this,_0x275b6a(0x18e),_0x259f7c[_0x275b6a(0x335)]),this[_0x275b6a(0x367)](),this[_0x275b6a(0x324)](),this['_disableEditing']();}[_0x582532(0x167)](){return this;}[_0x582532(0x42e)](){return this;}['onRemoteAck'](){return this;}[_0x582532(0x1e3)](){return this;}[_0x582532(0x3ba)](){return this;}[_0x582532(0x3ee)](){return this;}['toggleOnline'](){return this;}['resend'](){const _0x34ac66=_0x582532;throw Error(_0x34ac66(0x2ef));}[_0x582532(0x324)](){const _0x3bb7c6=_0x582532;var _0x1d57c5;(_0x1d57c5=this[_0x3bb7c6(0x1e7)])==null||_0x1d57c5[_0x3bb7c6(0x28e)](this[_0x3bb7c6(0x142)],this[_0x3bb7c6(0x1a4)],null,[]);}[_0x582532(0x367)](){const _0x542e23=_0x582532;this[_0x542e23(0x261)]?this[_0x542e23(0x2ca)][_0x542e23(0x121)]({'id':_0x214ddb[_0x542e23(0x256)]}):this[_0x542e23(0x2ca)][_0x542e23(0x121)]({'id':_0x214ddb[_0x542e23(0x335)]});}[_0x582532(0x1ad)](){const _0x487c00=_0x582532;this[_0x487c00(0x3bb)][_0x487c00(0x122)](new _0x17b170[(_0x487c00(0x34e))](this[_0x487c00(0x142)])['id'],!0x1);}};_0x2d5de6=_0x9fca30([_0x385b9b(0x6,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x350)])),_0x385b9b(0x7,_0x21f9b6[_0x582532(0x284)]),_0x385b9b(0x8,_0x21f9b6[_0x582532(0x3c6)]),_0x385b9b(0x9,(0x0,_0x21f9b6['Inject'])(_0xba6f9e[_0x582532(0x3fa)])),_0x385b9b(0xa,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x263)])),_0x385b9b(0xb,(0x0,_0x21f9b6['Inject'])(_0x49c645)),_0x385b9b(0xc,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x2d5de6);let _0x23f8dc=class extends _0x30bec6{constructor(_0x247506,_0x28cd61,_0x1b682d,_0x5deb89,_0x2280ba,_0x11adb6,_0x1c7326,_0x162a22,_0x19c429,_0x4025f4){const _0x11a97d=_0x582532;super(_0x247506,_0x28cd61,_0x1b682d,_0x5deb89,_0x2280ba,_0x162a22,_0x19c429,_0x1c7326,_0x4025f4),this[_0x11a97d(0x279)]=_0x11adb6,_0x158768(this,'status',_0x259f7c[_0x11a97d(0x234)]);}[_0x582532(0x167)](_0x3ea730){const _0x1f2c53=_0x582532;return this[_0x1f2c53(0x27f)][_0x1f2c53(0x2b7)](_0x3ea730),this[_0x1f2c53(0x140)](),this;}[_0x582532(0x42e)](_0x2d467f){const _0x1387b2=_0x582532;throw Error(_0x1387b2(0x2a0));}[_0x582532(0x1e9)](){throw Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x433db6=_0x582532;throw Error(_0x433db6(0x166));}[_0x582532(0x3ba)](){return this;}['toggleOffline'](){return this;}[_0x582532(0x3f9)](){const _0x4fe268=_0x582532;let {_injector:_0x7ae0fc,_pendingMutations:_0x5506f7,_awaitingChangeset:_0x493394,unitID:_0x183c2c,_handler:_0x1f4062,type:_0xabb73c}=this,_0x4835d9=_0xb3493c(_0x7ae0fc,_0x183c2c,_0xabb73c,_0x493394,_0x5506f7,_0x1f4062);return _0x4835d9 instanceof _0x348615?_0x4835d9['_schedule']():(_0x4835d9 instanceof _0x548b22||_0x4835d9 instanceof _0x4cb993)&&_0x4835d9[_0x4fe268(0x132)](),_0x4835d9;}[_0x582532(0x132)](){const _0x5e4bbd=_0x582532;throw Error(_0x5e4bbd(0x352));}};_0x23f8dc=_0x9fca30([_0x385b9b(0x5,(0x0,_0x21f9b6['Inject'])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x6,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e['RevisionService'])),_0x385b9b(0x7,_0x21f9b6[_0x582532(0x284)]),_0x385b9b(0x8,_0x21f9b6[_0x582532(0x3c6)]),_0x385b9b(0x9,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x23f8dc);let _0x231f53=class extends _0x30bec6{constructor(_0x427c88,_0x2450d2,_0x2633b7,_0x585a2a,_0x4b94ba,_0x1cd96f,_0x35e160,_0x4a662b,_0x1aee75,_0x44fa75,_0x4f4d79,_0x546367,_0x2d8ec0,_0x43033d){const _0x444b02=_0x582532;super(_0x427c88,_0x2450d2,_0x2633b7,_0x585a2a,_0x35e160,_0x4f4d79,_0x546367,_0x1aee75,_0x43033d),this[_0x444b02(0x3c7)]=_0x4b94ba,this[_0x444b02(0x2ea)]=_0x1cd96f,this[_0x444b02(0x279)]=_0x4a662b,this['_logService']=_0x44fa75,this[_0x444b02(0x32c)]=_0x2d8ec0,this[_0x444b02(0x2dd)]=_0x43033d,_0x158768(this,_0x444b02(0x18e),_0x259f7c[_0x444b02(0x203)]);}['onMissedChangesetFetched'](_0x4c2705){const _0x3b27d8=_0x582532;try{let _0x3b940d=[..._0x4c2705,...this['_queuedRemoteChangesets']],_0x3086df=[this[_0x3b27d8(0x209)]||this[_0x3b27d8(0x3c7)]][_0x3b27d8(0x382)](_0x521c4f=>!!_0x521c4f),_0x208f1a,_0x334c7e;if(_0x3086df[_0x3b27d8(0x2c6)]){let _0x591f92=this['_transformService'][_0x3b27d8(0x388)](_0x3b940d,_0x3086df,!0x1);if(!(0x0,_0xba6f9e[_0x3b27d8(0x2f6)])(_0x591f92))throw _0x591f92[_0x3b27d8(0x171)];_0x208f1a=_0x591f92[_0x3b27d8(0x301)],_0x334c7e=_0x591f92['c2Prime'];}else _0x208f1a=_0x3b940d,_0x334c7e=[];let _0x2afad1=this[_0x3b27d8(0x27f)];_0x208f1a[_0x3b27d8(0x2c3)](_0x3e4a89=>{const _0xce38cc=_0x3b27d8;let _0x312a11;if(_0x2afad1['length']){let _0x4c7e2b=this[_0xce38cc(0x32c)][_0xce38cc(0x18a)](_0x3e4a89,_0x2afad1);if(!(0x0,_0xba6f9e[_0xce38cc(0x179)])(_0x4c7e2b))throw _0x4c7e2b[_0xce38cc(0x171)];_0x312a11=_0x4c7e2b[_0xce38cc(0x301)],_0x2afad1=_0x4c7e2b['m2Prime'];}else _0x312a11=_0x3e4a89;this['_executeRemoteChangeset'](_0x312a11);}),this[_0x3b27d8(0x3c7)]&&this[_0x3b27d8(0x13d)](),this['_awaitingChangeset']&&_0x334c7e['length']&&(_0x334c7e[0x0][_0x3b27d8(0x42d)]=this['_getCurrentRevision']());let _0x5b2675;if(this[_0x3b27d8(0x209)]&&_0x2afad1[_0x3b27d8(0x2c6)]!==0x0)_0x5b2675=this[_0x3b27d8(0x279)][_0x3b27d8(0x327)](_0x548b22,this['unitID'],this[_0x3b27d8(0x1a4)],_0x334c7e[0x0],_0x2afad1,this['_handler'],void 0x0);else{if(this[_0x3b27d8(0x209)]&&_0x2afad1[_0x3b27d8(0x2c6)]===0x0)_0x334c7e[0x0][_0x3b27d8(0x42d)]=this[_0x3b27d8(0x146)](),_0x5b2675=this['_injector']['createInstance'](_0x4cb993,this['unitID'],this[_0x3b27d8(0x1a4)],_0x334c7e[0x0],this[_0x3b27d8(0x3db)]);else{if(_0x2afad1['length']!==0x0){let _0xb65cc=this[_0x3b27d8(0x279)][_0x3b27d8(0x327)](_0x348615,this[_0x3b27d8(0x142)],this[_0x3b27d8(0x1a4)],_0x2afad1,this[_0x3b27d8(0x3db)]);_0xb65cc[_0x3b27d8(0x2ae)](),_0x5b2675=_0xb65cc;}else _0x5b2675=this[_0x3b27d8(0x279)]['createInstance'](_0x51c4b3,this['unitID'],this[_0x3b27d8(0x1a4)],this['_handler']);}}return _0x5b2675[_0x3b27d8(0x140)](),_0x5b2675;}catch(_0x581834){return this[_0x3b27d8(0x423)][_0x3b27d8(0x171)](_0x3b27d8(0x2a5),_0x3b27d8(0x1fb),_0x581834),this[_0x3b27d8(0x279)][_0x3b27d8(0x327)](_0x2d5de6,this[_0x3b27d8(0x142)],this['type'],this[_0x3b27d8(0x209)],this[_0x3b27d8(0x27f)],this[_0x3b27d8(0x3db)],!0x1);}}[_0x582532(0x132)](){const _0x527b08=_0x582532;throw Error(_0x527b08(0x21f));}[_0x582532(0x167)](_0x584773){const _0x3e095a=_0x582532;return this[_0x3e095a(0x27f)]['push'](_0x584773),this;}['onRemoteChangeset'](_0xe1d723){const _0x4fd9c3=_0x582532;return this[_0x4fd9c3(0x2ea)][_0x4fd9c3(0x2b7)](_0xe1d723),this;}[_0x582532(0x1e9)](_0x29181c){const _0x451fcf=_0x582532;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x451fcf(0x209)],this[_0x451fcf(0x209)]=null,this;throw Error(_0x451fcf(0x1f2));}[_0x582532(0x1e3)](_0x2afd4d){const _0x641db3=_0x582532;return this[_0x641db3(0x41d)](!!(_0x2afd4d!=null&&_0x2afd4d[_0x641db3(0x21a)]));}[_0x582532(0x3ba)](){return this;}[_0x582532(0x3ee)](){const _0x328a78=_0x582532;return this[_0x328a78(0x279)][_0x328a78(0x327)](_0x23f8dc,this[_0x328a78(0x142)],this[_0x328a78(0x1a4)],this[_0x328a78(0x209)],this[_0x328a78(0x27f)],this[_0x328a78(0x3db)]);}['toggleOnline'](){return this;}[_0x582532(0x41d)](_0x1eddc0){const _0x206e5c=_0x582532;return this[_0x206e5c(0x279)][_0x206e5c(0x327)](_0x2d5de6,this['unitID'],this[_0x206e5c(0x1a4)],this[_0x206e5c(0x209)],this[_0x206e5c(0x27f)],this[_0x206e5c(0x3db)],_0x1eddc0);}};_0x231f53=_0x9fca30([_0x385b9b(0x7,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x8,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x3fa)])),_0x385b9b(0x9,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0xa,_0x21f9b6[_0x582532(0x284)]),_0x385b9b(0xb,_0x21f9b6[_0x582532(0x3c6)]),_0x385b9b(0xc,_0xba6f9e[_0x582532(0x2e5)]),_0x385b9b(0xd,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x231f53);function _0xb3493c(_0x28f7ca,_0x443a9e,_0x28b251,_0x40faf5,_0x2ebb6e,_0x53b6b0){const _0x5b03b2=_0x582532;return _0x40faf5&&_0x2ebb6e['length']?_0x28f7ca[_0x5b03b2(0x327)](_0x548b22,_0x443a9e,_0x28b251,_0x40faf5,_0x2ebb6e,_0x53b6b0,void 0x0):_0x40faf5?_0x28f7ca['createInstance'](_0x4cb993,_0x443a9e,_0x28b251,_0x40faf5,_0x53b6b0):_0x2ebb6e['length']?_0x28f7ca['createInstance'](_0x348615,_0x443a9e,_0x28b251,_0x2ebb6e,_0x53b6b0):_0x28f7ca['createInstance'](_0x51c4b3,_0x443a9e,_0x28b251,_0x53b6b0);}let _0x20db3d=class extends _0x21f9b6[_0x582532(0x1c3)]{get[_0x582532(0x119)](){const _0x16d195=_0x582532;return this[_0x16d195(0x26b)];}constructor(_0x26a4d1,_0xf5a6e3,_0x50d5f8,_0x6fd0cc,_0x588da3,_0x45fa1c,_0x2f5ead,_0x472620,_0x48a7af,_0x383495,_0x3a2c94,_0x4b5044,_0x100fe9,_0xf01b31){const _0x307276=_0x582532;super(),this[_0x307276(0x142)]=_0x26a4d1,this[_0x307276(0x3a3)]=_0xf5a6e3,this[_0x307276(0x20b)]=_0x50d5f8,this['_injector']=_0x6fd0cc,this[_0x307276(0x418)]=_0x588da3,this[_0x307276(0x120)]=_0x45fa1c,this[_0x307276(0x262)]=_0x2f5ead,this['_eventService']=_0x472620,this[_0x307276(0x136)]=_0x48a7af,this[_0x307276(0x423)]=_0x383495,this[_0x307276(0x332)]=_0x3a2c94,this['_permissionService']=_0x4b5044,this['_singleActiveUnitService']=_0x100fe9,this[_0x307276(0x1e7)]=_0xf01b31,_0x158768(this,_0x307276(0x273),new _0x4ea2bc[(_0x307276(0x319))](null)),_0x158768(this,_0x307276(0x1ab),this[_0x307276(0x273)][_0x307276(0x2bd)]()),_0x158768(this,'_state',void 0x0),_0x158768(this,_0x307276(0x403),!0x1),_0x158768(this,'_changesetSessionId',''),_0x158768(this,_0x307276(0x3fc),0x0),_0x158768(this,'status$',this[_0x307276(0x1ab)][_0x307276(0x12f)]((0x0,_0x4ea2bc[_0x307276(0x312)])(_0x379ee3=>_0x379ee3?_0x379ee3[_0x307276(0x18e)]:_0x259f7c[_0x307276(0x234)]),(0x0,_0x4ea2bc[_0x307276(0x15e)])(0x1))),_0x158768(this,_0x307276(0x35d),!0x1),_0x158768(this,_0x307276(0x328),[]);}async[_0x582532(0x232)](){const _0x2d5cbf=_0x582532;if(this[_0x2d5cbf(0x119)])throw Error(_0x2d5cbf(0x399));await this[_0x2d5cbf(0x36f)]();}[_0x582532(0x397)](){const _0x186e19=_0x582532;return this[_0x186e19(0x403)]=!0x0,(0x0,_0x21f9b6[_0x186e19(0x2ed)])(()=>{const _0x18fbe3=_0x186e19;this[_0x18fbe3(0x403)]=!0x1,this[_0x18fbe3(0x288)]();});}[_0x582532(0x353)](_0x11bc01){this['_onLocalMutation'](_0x11bc01);}[_0x582532(0x1bb)](_0x401e0c){const _0x2e9e2a=_0x582532;this[_0x2e9e2a(0x26b)]=_0x401e0c,this[_0x2e9e2a(0x273)][_0x2e9e2a(0x270)](_0x401e0c);}async[_0x582532(0x36f)](){const _0x37363e=_0x582532;if(this['_updateState'](await this['_createInitialState']()),this[_0x37363e(0x3e7)]){var _0x3ffc3b;(_0x3ffc3b=this[_0x37363e(0x3e7)])==null||_0x3ffc3b['editingUnit'](this[_0x37363e(0x142)]),this['disposeWithMe'](this[_0x37363e(0x3e7)][_0x37363e(0x2a8)](this[_0x37363e(0x142)])[_0x37363e(0x237)](_0x27bf2a=>{const _0x1b53bf=_0x37363e;this[_0x1b53bf(0x423)][_0x1b53bf(0x2b1)](_0x1b53bf(0x19f),_0x1b53bf(0x31a),_0x27bf2a),_0x27bf2a===_0x5e2f10['OTHER_CLIENTS_EDITING']?(this[_0x1b53bf(0x133)][_0x1b53bf(0x121)]({'id':_0x214ddb['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x1b53bf(0x122)](new _0x17b170[(_0x1b53bf(0x34e))](this[_0x1b53bf(0x142)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x1b53bf(0x3bb)][_0x1b53bf(0x122)](new _0x17b170[(_0x1b53bf(0x34e))](this[_0x1b53bf(0x142)])['id'],!0x0),this[_0x1b53bf(0x3bb)][_0x1b53bf(0x188)](!0x0));}));}let _0x4a9604=!0x1;return this[_0x37363e(0x1b5)](this[_0x37363e(0x3a3)][_0x37363e(0x210)][_0x37363e(0x237)](_0x2df962=>{const _0x611f69=_0x37363e;_0x2df962===_0x42d806[_0x611f69(0x3da)]?this['_toggleOnline'](_0x4a9604):_0x2df962===_0x42d806[_0x611f69(0x234)]&&(_0x4a9604=!0x0,this[_0x611f69(0x39c)]());})),this[_0x37363e(0x1b5)](this[_0x37363e(0x3a3)]['event$'][_0x37363e(0x237)](_0x171d9a=>{const _0x39fc32=_0x37363e;try{switch(_0x171d9a[_0x39fc32(0x23e)]){case _0xba6f9e['CollaborationEvent'][_0x39fc32(0x30f)]:this['_onRemoteChangeset']((0x0,_0xba6f9e[_0x39fc32(0x14d)])(_0x171d9a['data']));break;case _0xba6f9e['CollaborationEvent'][_0x39fc32(0x161)]:this['_onRemoteACK'](_0x171d9a[_0x39fc32(0x163)]);break;case _0xba6f9e[_0x39fc32(0x417)][_0x39fc32(0x299)]:this[_0x39fc32(0x3de)]();break;case _0xba6f9e['CollaborationEvent'][_0x39fc32(0x2ec)]:this[_0x39fc32(0x408)](_0x171d9a[_0x39fc32(0x163)]);break;case _0xba6f9e[_0x39fc32(0x417)][_0x39fc32(0x392)]:this['_onFetchMissResult'](_0x171d9a['data'][_0x39fc32(0x3ac)]['map'](_0x123b1e=>(0x0,_0xba6f9e[_0x39fc32(0x14d)])(_0x123b1e)));break;case _0xba6f9e['CollaborationEvent'][_0x39fc32(0x204)]:this[_0x39fc32(0x3de)]({'isPermissionRej':!0x0});break;case _0xba6f9e[_0x39fc32(0x417)][_0x39fc32(0x275)]:break;}}catch(_0x431280){throw console[_0x39fc32(0x171)]('Error\x20on\x20receiving\x20event',_0x431280),_0x431280;}})),this[_0x37363e(0x26b)];}[_0x582532(0x187)](){const _0x46e37e=_0x582532;this[_0x46e37e(0x35d)]=!0x1;}[_0x582532(0x3aa)](){const _0x5c85b5=_0x582532;if(this[_0x5c85b5(0x35d)])throw Error(_0x5c85b5(0x217));this[_0x5c85b5(0x35d)]=!0x0;}[_0x582532(0x18b)](_0x26630a){const _0x188fc4=_0x582532;this['_lockTransition'](),this[_0x188fc4(0x1bb)](this[_0x188fc4(0x26b)][_0x188fc4(0x167)](_0x26630a)),this[_0x188fc4(0x187)]();}[_0x582532(0x3ef)](_0x42340a){const _0x3aa2ab=_0x582532;if(!(_0x42340a[_0x3aa2ab(0x1e5)]<=this[_0x3aa2ab(0x262)]['getCurrentRevOfUnit'](this[_0x3aa2ab(0x142)]))){if(this[_0x3aa2ab(0x403)]){this['_remoteChangesetQueue']['push'](_0x42340a);return;}this[_0x3aa2ab(0x141)](_0x42340a);}}[_0x582532(0x288)](){const _0xab48f2=_0x582532;this['_remoteChangesetQueue'][_0xab48f2(0x2c3)](_0x43462b=>this[_0xab48f2(0x141)](_0x43462b)),this['_remoteChangesetQueue']=[];}[_0x582532(0x141)](_0x36d493){const _0xac0e7b=_0x582532;let _0x25b3d8=this['_compressMutationService']['interceptor'][_0xac0e7b(0x26f)](this['_compressMutationService'][_0xac0e7b(0x3d7)][_0xac0e7b(0x39d)]()[_0xac0e7b(0x162)])(_0x36d493[_0xac0e7b(0x393)],null)||_0x36d493['mutations'],_0xf754fb={..._0x36d493,'mutations':_0x25b3d8};this['_lockTransition'](),this[_0xac0e7b(0x1bb)](this['_state'][_0xac0e7b(0x42e)](_0xf754fb)),this[_0xac0e7b(0x187)]();}[_0x582532(0x175)](_0x336e6c){const _0x4b0dc8=_0x582532;this[_0x4b0dc8(0x3aa)](),this['_updateState'](this[_0x4b0dc8(0x26b)]['onRemoteAck'](_0x336e6c)),this['_unlockTransition']();}['_onRemoteRejected'](_0x569511){const _0x5430c5=_0x582532;this[_0x5430c5(0x3aa)](),this['_updateState'](this['_state'][_0x5430c5(0x1e3)](_0x569511)),this['_unlockTransition']();}[_0x582532(0x408)](_0x4bacd4){const _0x7d2834=_0x582532;this[_0x7d2834(0x3aa)](),this[_0x7d2834(0x1bb)](this['_state'][_0x7d2834(0x3ba)](_0x4bacd4)),this[_0x7d2834(0x187)]();}[_0x582532(0x1c4)](_0x17dd99){const _0x53161a=_0x582532;if(!(this[_0x53161a(0x26b)]instanceof _0x231f53))throw TypeError(_0x53161a(0x431));let _0x31772a=_0x17dd99[_0x53161a(0x312)](_0x215dc2=>{const _0x5538ee=_0x53161a;let _0x5ed240=this['_compressMutationService'][_0x5538ee(0x3d7)][_0x5538ee(0x26f)](this['_compressMutationService'][_0x5538ee(0x3d7)]['getInterceptPoints']()[_0x5538ee(0x162)])(_0x215dc2[_0x5538ee(0x393)],null)||_0x215dc2[_0x5538ee(0x393)];return{..._0x215dc2,'mutations':_0x5ed240};});this['_lockTransition'](),this[_0x53161a(0x1bb)](this['_state'][_0x53161a(0x206)](_0x31772a)),this[_0x53161a(0x187)]();}[_0x582532(0x39c)](){const _0x438f21=_0x582532;this[_0x438f21(0x3aa)](),this[_0x438f21(0x1bb)](this[_0x438f21(0x26b)][_0x438f21(0x3ee)]()),this[_0x438f21(0x187)]();}[_0x582532(0x17d)](_0x472ae7=!0x1){const _0x20e23d=_0x582532;this[_0x20e23d(0x3aa)](),this[_0x20e23d(0x1bb)](this['_state'][_0x20e23d(0x3f9)]()),this[_0x20e23d(0x187)]();let _0x30212b=this[_0x20e23d(0x26b)];_0x472ae7&&_0x30212b instanceof _0x51c4b3&&(this[_0x20e23d(0x3aa)](),this[_0x20e23d(0x1bb)](_0x30212b[_0x20e23d(0x3eb)]()),this[_0x20e23d(0x187)]());}async[_0x582532(0x2fc)](){return new Promise(_0x2a4efd=>{const _0x2f9c0c=_0x1dac;this[_0x2f9c0c(0x3a3)][_0x2f9c0c(0x210)][_0x2f9c0c(0x12f)]((0x0,_0x4ea2bc[_0x2f9c0c(0x2d4)])(0x1))[_0x2f9c0c(0x237)](async _0x1d923e=>{const _0x3349a4=_0x2f9c0c;_0x2a4efd(await this['_createInitialStateImpl'](_0x1d923e===_0x42d806[_0x3349a4(0x3da)]));});});}[_0x582532(0x41a)](){const _0x3002f5=_0x582532;let _0x31dbab=this[_0x3002f5(0x142)];return{'onStateChange':(_0x128359,_0x276472)=>{const _0x33b240=_0x3002f5;if(_0x128359!==this[_0x33b240(0x26b)])throw Error(_0x33b240(0x19c)+_0x128359['status']+'\x0aAfter:\x20'+_0x276472[_0x33b240(0x18e)]+'\x0aCurrent:\x20'+this['_state']['status']);this[_0x33b240(0x1bb)](_0x276472);},'onSendChangeset':_0x35370d=>{const _0x2bb793=_0x3002f5;_0x35370d[_0x2bb793(0x1dc)]||(_0x35370d[_0x2bb793(0x1dc)]=this[_0x2bb793(0x229)],_0x35370d['reqId']=++this[_0x2bb793(0x3fc)]);let _0x4822a0={'eventID':_0xba6f9e[_0x2bb793(0x417)][_0x2bb793(0x1f8)],'data':{'unitID':_0x35370d[_0x2bb793(0x142)],'unitType':this['_type'],'changeset':_0x35370d,'memberID':this[_0x2bb793(0x3a3)]['getMemberID']()}};this['session'][_0x2bb793(0x311)](_0x4822a0,this[_0x2bb793(0x142)]);},'onMissingChangesets':({from:_0x516c72,to:_0x4f8067})=>{const _0x4b9f60=_0x3002f5;this[_0x4b9f60(0x423)]['debug'](_0x4b9f60(0x19f),_0x4b9f60(0x12a)+_0x516c72+'\x20to\x20'+_0x4f8067);let _0x39a23e={'eventID':_0xba6f9e[_0x4b9f60(0x417)]['FETCH_MISSING'],'data':{'unitID':_0x31dbab,'unitType':this['_type'],'from':_0x516c72,'to':_0x4f8067}};this[_0x4b9f60(0x3a3)][_0x4b9f60(0x311)](_0x39a23e,this[_0x4b9f60(0x142)]);}};}async[_0x582532(0x2b6)](_0x503ee7){const _0x27e280=_0x582532;var _0x37ad70,_0x20eb7b,_0x4c3ab0;let _0x5e64c2=await((_0x37ad70=this['_localCacheService'])==null?void 0x0:_0x37ad70[_0x27e280(0x1a7)](this[_0x27e280(0x142)])),_0x281145=(_0x20eb7b=_0x5e64c2==null?void 0x0:_0x5e64c2[_0x27e280(0x393)])==null?[]:_0x20eb7b,_0x2ed360=(_0x4c3ab0=_0x5e64c2==null?void 0x0:_0x5e64c2[_0x27e280(0x343)])==null?null:_0x4c3ab0,_0x3302b6=!!(_0x2ed360!=null&&_0x2ed360['sid'])&&!!(_0x2ed360!=null&&_0x2ed360[_0x27e280(0x37d)]);this[_0x27e280(0x229)]=_0x3302b6?_0x2ed360['sid']:(0x0,_0xba6f9e['uuidv4'])(),this[_0x27e280(0x3fc)]=_0x3302b6?_0x2ed360[_0x27e280(0x37d)]:0x0;let _0x29d98f=this[_0x27e280(0x142)];try{this['_replayCachedMutations'](_0x2ed360,_0x281145);}catch(_0x5e2559){this[_0x27e280(0x423)][_0x27e280(0x171)](_0x5e2559);}let _0x1b1bab=this['_createHandler']();if(_0x503ee7){let _0x39ce01=_0xb3493c(this['_injector'],_0x29d98f,this[_0x27e280(0x20b)],_0x2ed360,_0x281145,_0x1b1bab);return _0x39ce01 instanceof _0x348615?_0x39ce01[_0x27e280(0x2ae)]():(_0x39ce01 instanceof _0x548b22||_0x39ce01 instanceof _0x4cb993)&&_0x39ce01[_0x27e280(0x132)](),_0x39ce01;}return this[_0x27e280(0x279)]['createInstance'](_0x23f8dc,_0x29d98f,this['_type'],_0x2ed360,_0x281145,_0x1b1bab);}['_replayCachedMutations'](_0x378041,_0x76d9cf){const _0x10575c=_0x582532;var _0x420591,_0x49d536;let _0x38f89b=this[_0x10575c(0x418)]['interceptor'][_0x10575c(0x26f)](this[_0x10575c(0x418)][_0x10575c(0x3d7)][_0x10575c(0x39d)]()['COMPRESS_MUTATION_APPLY']);(_0x420591=_0x38f89b((_0x378041==null?void 0x0:_0x378041[_0x10575c(0x393)])||[],null))==null||_0x420591['forEach'](_0x21b9d0=>this[_0x10575c(0x332)][_0x10575c(0x1ee)](_0x21b9d0['id'],_0x21b9d0[_0x10575c(0x2c1)])),(_0x49d536=_0x38f89b(_0x76d9cf||[],null))==null||_0x49d536[_0x10575c(0x2c3)](_0x56cc4d=>this[_0x10575c(0x332)]['executeCommand'](_0x56cc4d['id'],_0x56cc4d['params']));}};_0x20db3d=_0x9fca30([_0x385b9b(0x3,(0x0,_0x21f9b6['Inject'])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x4,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x29c)])),_0x385b9b(0x5,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x263)])),_0x385b9b(0x6,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e['RevisionService'])),_0x385b9b(0x7,(0x0,_0x21f9b6['Inject'])(_0x49c645)),_0x385b9b(0x8,_0x21f9b6[_0x582532(0x207)]),_0x385b9b(0x9,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0xa,_0x21f9b6[_0x582532(0x284)]),_0x385b9b(0xb,_0x21f9b6['IPermissionService']),_0x385b9b(0xc,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x4ada3c)),_0x385b9b(0xd,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x20db3d);let _0xd1a0d8=class extends _0x20db3d{constructor(_0x10f124,_0x169208,_0x5f1b6d,_0x42aa08,_0x5bdcfa,_0x125779,_0x481f88,_0x5d941e,_0x1a953e,_0x314a42,_0x28230d,_0x103922,_0x17fb6d,_0x59804e){const _0x968c6a=_0x582532;super(_0x10f124,_0x5f1b6d,_0x169208,_0x42aa08,_0x5bdcfa,_0x125779,_0x481f88,_0x5d941e,_0x1a953e,_0x314a42,_0x28230d,_0x103922,_0x17fb6d,_0x59804e),this['unitID']=_0x10f124,this[_0x968c6a(0x1a4)]=_0x169208,_0x158768(this,_0x968c6a(0x1f4),null);}[_0x582532(0x1ed)](_0x3cdb81){const _0x27b06e=_0x582532;this[_0x27b06e(0x1f4)]=_0x3cdb81;}['dispose'](){const _0x3e57db=_0x582532;this[_0x3e57db(0x1f4)]=null,super[_0x3e57db(0x2ab)]();}[_0x582532(0x41a)](){const _0x35160a=_0x582532;let _0x31e4ea=super[_0x35160a(0x41a)]();return _0x31e4ea['onTransformIME']=_0x83cfb2=>{const _0x5ba091=_0x35160a;var _0x23da4b,_0x461fe8;return(_0x23da4b=this[_0x5ba091(0x1f4)])==null||(_0x461fe8=_0x23da4b[_0x5ba091(0x35e)])==null?void 0x0:_0x461fe8[_0x5ba091(0x2f1)](_0x23da4b,_0x83cfb2);},_0x31e4ea[_0x35160a(0x396)]=_0x454835=>{const _0x2a74b1=_0x35160a;var _0x3a5c6e,_0x10ca4f;return(_0x3a5c6e=this[_0x2a74b1(0x1f4)])==null||(_0x10ca4f=_0x3a5c6e[_0x2a74b1(0x396)])==null?void 0x0:_0x10ca4f[_0x2a74b1(0x2f1)](_0x3a5c6e,_0x454835);},_0x31e4ea[_0x35160a(0x138)]=_0x2daf09=>{const _0x1d0548=_0x35160a;var _0x504162,_0x5423ee;return(_0x504162=this[_0x1d0548(0x1f4)])==null||(_0x5423ee=_0x504162[_0x1d0548(0x138)])==null?void 0x0:_0x5423ee[_0x1d0548(0x2f1)](_0x504162,_0x2daf09);},_0x31e4ea[_0x35160a(0x3d5)]=_0x2c5b52=>{const _0x3eed36=_0x35160a;var _0x5a25cb,_0x298cc3;return(_0x5a25cb=this[_0x3eed36(0x1f4)])==null||(_0x298cc3=_0x5a25cb[_0x3eed36(0x3d5)])==null?void 0x0:_0x298cc3[_0x3eed36(0x2f1)](_0x5a25cb,_0x2c5b52);},_0x31e4ea[_0x35160a(0x40b)]=_0x1313d8=>{const _0x2a2136=_0x35160a;var _0x4651e8,_0x466d6b,_0x119823;if(!((_0x4651e8=this[_0x2a2136(0x1f4)])!=null&&_0x4651e8[_0x2a2136(0x40b)]))throw Error(_0x2a2136(0x27a));return(_0x466d6b=this[_0x2a2136(0x1f4)])==null||(_0x119823=_0x466d6b['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x119823[_0x2a2136(0x2f1)](_0x466d6b,_0x1313d8);},_0x31e4ea[_0x35160a(0x291)]=_0x223927=>{const _0x4ffbc5=_0x35160a;var _0x45a768,_0xc150f8,_0x4099e4;if(!((_0x45a768=this['_handlerCallback'])!=null&&_0x45a768[_0x4ffbc5(0x291)]))throw Error(_0x4ffbc5(0x2f2));return(_0xc150f8=this[_0x4ffbc5(0x1f4)])==null||(_0x4099e4=_0xc150f8[_0x4ffbc5(0x291)])==null?void 0x0:_0x4099e4[_0x4ffbc5(0x2f1)](_0xc150f8,_0x223927);},_0x31e4ea;}async[_0x582532(0x36f)](){const _0x46ef09=_0x582532;let _0x59ce32=await super[_0x46ef09(0x36f)]();return this['disposeWithMe'](this[_0x46ef09(0x332)][_0x46ef09(0x139)]((_0xe3338f,_0x1aa7aa)=>{const _0x26e996=_0x46ef09;if(_0xe3338f[_0x26e996(0x1a4)]!==_0x21f9b6[_0x26e996(0x276)]['MUTATION']||_0x1aa7aa!=null&&_0x1aa7aa[_0x26e996(0x1eb)]||_0x1aa7aa!=null&&_0x1aa7aa[_0x26e996(0x1c5)]||_0xe3338f['id']===_0x1444ec[_0x26e996(0x1ff)]['id'])return;let _0x417bfd=_0xe3338f[_0x26e996(0x2c1)];if((_0x417bfd==null?void 0x0:_0x417bfd[_0x26e996(0x415)])!==this[_0x26e996(0x142)])return;let _0x4aa6e3=_0xe3338f,_0x42a8bd=this[_0x26e996(0x418)]['interceptor']['fetchThroughInterceptors'](this[_0x26e996(0x418)][_0x26e996(0x3d7)][_0x26e996(0x39d)]()[_0x26e996(0x2f5)])([_0x4aa6e3],this[_0x26e996(0x136)])||[_0x4aa6e3];this[_0x26e996(0x18b)](_0x42a8bd[0x0]);})),_0x59ce32;}};_0xd1a0d8=_0x9fca30([_0x385b9b(0x3,(0x0,_0x21f9b6['Inject'])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x4,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x29c)])),_0x385b9b(0x5,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6['LocaleService'])),_0x385b9b(0x6,(0x0,_0x21f9b6['Inject'])(_0xba6f9e['RevisionService'])),_0x385b9b(0x7,(0x0,_0x21f9b6['Inject'])(_0x49c645)),_0x385b9b(0x8,_0x21f9b6[_0x582532(0x207)]),_0x385b9b(0x9,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0xa,_0x21f9b6['ICommandService']),_0x385b9b(0xb,_0x21f9b6['IPermissionService']),_0x385b9b(0xc,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x4ada3c)),_0x385b9b(0xd,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0xd1a0d8);let _0x33b45e=class extends _0x20db3d{constructor(_0xc4a590,_0x2e2468,_0xcaa88,_0x3efb95,_0x223014,_0x3d30dc,_0xf1e1c9,_0x50c931,_0xdf2647,_0x3e9b2f,_0x256650,_0x30bf3e,_0x2dc0e8,_0x1d95be,_0x534efc){const _0x311c7c=_0x582532;super(_0xc4a590,_0xcaa88,_0x2e2468,_0x3efb95,_0x223014,_0x3d30dc,_0xf1e1c9,_0xdf2647,_0x3e9b2f,_0x256650,_0x30bf3e,_0x2dc0e8,_0x1d95be,_0x534efc),this[_0x311c7c(0x142)]=_0xc4a590,this['type']=_0x2e2468,this['_sheetTransformSelectionsService']=_0x50c931;}[_0x582532(0x41a)](){const _0x559d13=_0x582532;let _0x3f8616=super[_0x559d13(0x41a)]();return _0x3f8616['onTransformSelections']=_0x210f73=>this[_0x559d13(0x2c4)][_0x559d13(0x3ff)](_0x210f73),_0x3f8616;}async['_init'](){const _0x8eb4eb=_0x582532;let _0x113bd8=await super[_0x8eb4eb(0x36f)]();return this[_0x8eb4eb(0x1b5)](this[_0x8eb4eb(0x332)][_0x8eb4eb(0x139)]((_0x3a20fa,_0x2e714e)=>{const _0x4b40e7=_0x8eb4eb;if(_0x3a20fa['type']!==_0x21f9b6[_0x4b40e7(0x276)][_0x4b40e7(0x3c5)]||_0x2e714e!=null&&_0x2e714e['fromCollab']||_0x2e714e!=null&&_0x2e714e['onlyLocal'])return;let _0x32b5bb=_0x3a20fa[_0x4b40e7(0x2c1)];if((_0x32b5bb==null?void 0x0:_0x32b5bb['unitId'])!==this[_0x4b40e7(0x142)])return;let _0x1b6823=_0x3a20fa,_0x5d71fa=this[_0x4b40e7(0x418)][_0x4b40e7(0x3d7)][_0x4b40e7(0x26f)](this['_compressMutationService'][_0x4b40e7(0x3d7)][_0x4b40e7(0x39d)]()[_0x4b40e7(0x2f5)])([_0x1b6823],this[_0x4b40e7(0x136)])||[_0x1b6823];this[_0x4b40e7(0x18b)](_0x5d71fa[0x0]);})),_0x113bd8;}};_0x33b45e=_0x9fca30([_0x385b9b(0x3,(0x0,_0x21f9b6['Inject'])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x4,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x29c)])),_0x385b9b(0x5,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x263)])),_0x385b9b(0x6,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x3fa)])),_0x385b9b(0x7,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x43e293)),_0x385b9b(0x8,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x49c645)),_0x385b9b(0x9,_0x21f9b6[_0x582532(0x207)]),_0x385b9b(0xa,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0xb,_0x21f9b6[_0x582532(0x284)]),_0x385b9b(0xc,_0x21f9b6[_0x582532(0x350)]),_0x385b9b(0xd,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x4ada3c)),_0x385b9b(0xe,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x33b45e);let _0x3cb508=(0x0,_0x21f9b6[_0x582532(0x1aa)])('univer-pro.collaboration-client.network-condition.service');function _0x8921cb(_0x385c33){const _0x42e667=_0x582532;let _0x1d69c5=_0x385c33[_0x42e667(0x163)],_0x3671af=JSON[_0x42e667(0x286)](_0x1d69c5);switch(_0x3671af[_0x42e667(0x13e)]){case _0x4d42e2[_0x42e667(0x160)]['HEARTBEAT']:case _0x4d42e2[_0x42e667(0x160)][_0x42e667(0x147)]:{let _0x37fff0=_0x3671af[_0x42e667(0x17a)];return{..._0x3671af,'data':_0x37fff0,'cmd':_0x3671af['cmd']};}case _0x4d42e2['CombCmd'][_0x42e667(0x2de)]:{let _0x43e4a6=_0x3671af[_0x42e667(0x2fd)];return{..._0x3671af,'data':_0x43e4a6,'cmd':_0x3671af[_0x42e667(0x13e)]};}case _0x4d42e2['CombCmd'][_0x42e667(0x2b2)]:{let _0x5b7a8a=_0x3671af[_0x42e667(0x3ec)];switch(_0x5b7a8a[_0x42e667(0x23e)]){case _0xba6f9e['CollaborationEvent'][_0x42e667(0x204)]:var _0x4d7f46;return{..._0x3671af,'data':{..._0x5b7a8a,'data':(_0x4d7f46=_0x5b7a8a[_0x42e667(0x3e0)])==null?void 0x0:_0x4d7f46['cs']},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)]['CHANGESET_ACK']:var _0x3eccc3;return{..._0x3671af,'data':{..._0x5b7a8a,'data':(_0x3eccc3=_0x5b7a8a['csAckEvent'])==null?void 0x0:_0x3eccc3['cs']},'cmd':_0x3671af['cmd']};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x30f)]:var _0x50ce85;return{..._0x3671af,'data':{..._0x5b7a8a,'data':(_0x50ce85=_0x5b7a8a['newCsEvent'])==null?void 0x0:_0x50ce85['cs']},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x299)]:var _0x596b98;return{..._0x3671af,'data':{..._0x5b7a8a,'data':(_0x596b98=_0x5b7a8a['csRejEvent'])==null?void 0x0:_0x596b98['cs']},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x2ec)]:var _0x1efbf2;return{..._0x3671af,'data':{..._0x5b7a8a,'data':(_0x1efbf2=_0x5b7a8a['csShouldRetryEvent'])==null?void 0x0:_0x1efbf2['cs']},'cmd':_0x3671af['cmd']};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x297)]:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x280)]},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x18c)]:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x338)]},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x296)]:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x1b7)]},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x42b)]:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x16a)]},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e['CollaborationEvent'][_0x42e667(0x3ae)]:case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x267)]:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a['liveShareOperation']},'cmd':_0x3671af['cmd']};case _0xba6f9e[_0x42e667(0x417)]['LIVESHARE_TERMINATE']:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x16a)]},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x40a)]:return{..._0x3671af,'data':_0x5b7a8a,'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x390)]:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x277)]},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x264)]:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x434)]},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)]['SHOULD_CLOSE_CONN']:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a['shouldCloseConn']},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)]['UNISCRIPT_RUN']:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x2ad)]},'cmd':_0x3671af[_0x42e667(0x13e)]};default:return _0x3671af;}}default:return _0x3671af;}}function _0x16a106(_0x1c0dc8){const _0x256211=_0x582532;switch(_0x1c0dc8['cmd']){case _0x4d42e2[_0x256211(0x160)]['HEARTBEAT']:case _0x4d42e2[_0x256211(0x160)][_0x256211(0x147)]:return JSON['stringify']({'cmd':_0x1c0dc8[_0x256211(0x13e)],'routeKey':_0x1c0dc8['routeKey']});case _0x4d42e2['CombCmd'][_0x256211(0x12d)]:{let _0x1e2f9f;switch(_0x1c0dc8[_0x256211(0x163)][_0x256211(0x23e)]){case _0xba6f9e[_0x256211(0x417)][_0x256211(0x297)]:_0x1e2f9f={'eventID':_0xba6f9e[_0x256211(0x417)]['UPDATE_CURSOR'],'updateCursorEvent':_0x1c0dc8[_0x256211(0x163)][_0x256211(0x163)]};break;case _0xba6f9e[_0x256211(0x417)][_0x256211(0x296)]:_0x1e2f9f={'eventID':_0xba6f9e[_0x256211(0x417)][_0x256211(0x296)],'leaveEvent':_0x1c0dc8[_0x256211(0x163)]['data']};break;case _0xba6f9e[_0x256211(0x417)][_0x256211(0x18c)]:_0x1e2f9f={'eventID':_0xba6f9e[_0x256211(0x417)][_0x256211(0x18c)],'joinEvent':_0x1c0dc8['data'][_0x256211(0x163)]};break;case _0xba6f9e['CollaborationEvent']['LIVESHARE_NEW_HOST']:_0x1e2f9f={'eventID':_0xba6f9e['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x1c0dc8['data']['data']};break;case _0xba6f9e[_0x256211(0x417)][_0x256211(0x267)]:_0x1e2f9f={'eventID':_0xba6f9e[_0x256211(0x417)][_0x256211(0x267)],'liveShareOperation':_0x1c0dc8[_0x256211(0x163)][_0x256211(0x163)]};break;case _0xba6f9e[_0x256211(0x417)]['LIVESHARE_TERMINATE']:_0x1e2f9f={'eventID':_0xba6f9e[_0x256211(0x417)][_0x256211(0x1cd)],'liveShareTerminate':_0x1c0dc8[_0x256211(0x163)][_0x256211(0x163)]};break;case _0xba6f9e[_0x256211(0x417)][_0x256211(0x359)]:_0x1e2f9f={'eventID':_0xba6f9e['CollaborationEvent'][_0x256211(0x359)],'liveShareRequestHost':_0x1c0dc8[_0x256211(0x163)][_0x256211(0x163)]};break;case _0xba6f9e[_0x256211(0x417)][_0x256211(0x3ae)]:_0x1e2f9f={'eventID':_0xba6f9e[_0x256211(0x417)][_0x256211(0x3ae)]};break;default:_0x1e2f9f={'eventID':_0x1c0dc8[_0x256211(0x163)]['eventID']};}return JSON[_0x256211(0x29e)]({'cmd':_0x1c0dc8[_0x256211(0x13e)],'routeKey':_0x1c0dc8[_0x256211(0x3e8)],'collaMsg':_0x1e2f9f});}case _0x4d42e2[_0x256211(0x160)][_0x256211(0x2de)]:return JSON[_0x256211(0x29e)]({'cmd':_0x1c0dc8['cmd'],'routeKey':_0x1c0dc8[_0x256211(0x3e8)],'joinReq':_0x1c0dc8['data']});case _0x4d42e2[_0x256211(0x160)][_0x256211(0x25c)]:return JSON['stringify']({'cmd':_0x1c0dc8[_0x256211(0x13e)],'routeKey':_0x1c0dc8[_0x256211(0x3e8)],'leaveReq':_0x1c0dc8[_0x256211(0x163)]});default:throw Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}let _0x1b8f90=(0x0,_0x21f9b6[_0x582532(0x1aa)])(_0x582532(0x3dc));function _0x24b777(_0x376e03,_0x2fc268,_0x12a2ea){const _0x193c97=_0x582532;return _0x376e03+'/'+_0x2fc268+_0x193c97(0x11e)+_0x12a2ea+'/new_changes';}let _0xc1659c=class extends _0x21f9b6[_0x582532(0x183)]{constructor(_0x199150,_0x527888,_0x2b584d,_0xbbc32a,_0x3bcb7d){const _0x964504=_0x582532;super(),this[_0x964504(0x279)]=_0x199150,this[_0x964504(0x195)]=_0x527888,this[_0x964504(0x3b0)]=_0x2b584d,this['_logService']=_0xbbc32a,this[_0x964504(0x2cb)]=_0x3bcb7d;}[_0x582532(0x1a2)](_0x19031d){const _0x556ba4=_0x582532;let _0x529db8=this[_0x556ba4(0x279)][_0x556ba4(0x19e)](_0xf4c2fc[_0x556ba4(0x298)]);if(!_0x529db8)throw Error(_0x556ba4(0x25a));let _0xe4d533=_0x529db8[_0x556ba4(0x222)](_0x19031d);if(!_0xe4d533)throw Error(_0x556ba4(0x169));let _0x249a19=new _0x21f9b6['DisposableCollection'](),_0x181336=new _0x4ea2bc[(_0x556ba4(0x321))]();_0x249a19[_0x556ba4(0x3ad)](_0xe4d533['close$'][_0x556ba4(0x237)](_0x3c07fe=>_0x181336[_0x556ba4(0x270)](_0x3c07fe))),_0x249a19[_0x556ba4(0x3ad)]((0x0,_0x21f9b6[_0x556ba4(0x2ed)])(()=>_0x181336[_0x556ba4(0x159)]()));let _0x52914d=new _0x4ea2bc[(_0x556ba4(0x321))]();_0x249a19[_0x556ba4(0x3ad)](_0xe4d533['error$'][_0x556ba4(0x237)](_0x1b37b2=>_0x52914d[_0x556ba4(0x270)](_0x1b37b2))),_0x249a19['add']((0x0,_0x21f9b6['toDisposable'])(()=>_0x52914d['complete']()));let _0x58a414=new _0x4ea2bc['Subject']();_0x249a19['add'](_0xe4d533['message$'][_0x556ba4(0x237)](_0xb4b92a=>{const _0x329b9a=_0x556ba4;let _0x45de10=_0x8921cb(_0xb4b92a);_0x58a414[_0x329b9a(0x270)](_0x45de10);})),_0x249a19[_0x556ba4(0x3ad)]((0x0,_0x21f9b6[_0x556ba4(0x2ed)])(()=>_0x58a414[_0x556ba4(0x159)]()));let _0x353b08,_0x4cb60b=()=>{const _0xc9bcee=_0x556ba4;_0x52914d[_0xc9bcee(0x270)](new Event(_0xc9bcee(0x344))),_0x181336['next'](new Event(_0xc9bcee(0x344))),_0x353b08[_0xc9bcee(0x198)]();};return _0x353b08={'memberID':'','close$':_0x181336[_0x556ba4(0x2bd)](),'error$':_0x52914d[_0x556ba4(0x2bd)](),'open$':_0xe4d533['open$'],'message$':_0x58a414[_0x556ba4(0x2bd)](),'send':_0x3464b3=>{const _0x24e645=_0x556ba4;if(_0x3464b3[_0x24e645(0x13e)]===_0x4d42e2[_0x24e645(0x160)][_0x24e645(0x12d)]){if(_0x3464b3['data']['eventID']===_0xba6f9e[_0x24e645(0x417)][_0x24e645(0x1f8)]){this[_0x24e645(0x158)](_0x353b08,_0x3464b3[_0x24e645(0x163)])[_0x24e645(0x192)](_0x2431ba=>{const _0x2bc1e6=_0x24e645;this['_logService'][_0x2bc1e6(0x171)](_0x2431ba),_0x4cb60b();});return;}if(_0x3464b3[_0x24e645(0x163)][_0x24e645(0x23e)]===_0xba6f9e['CollaborationEvent'][_0x24e645(0x153)]){let _0x21355d=_0x3464b3[_0x24e645(0x163)];this[_0x24e645(0x2af)](_0x21355d)['then'](_0x4fe1c8=>{const _0x35c49b=_0x24e645;_0x58a414[_0x35c49b(0x270)]({'cmd':_0x4d42e2[_0x35c49b(0x160)]['RECV'],'code':_0x4d42e2[_0x35c49b(0x13c)]['OK'],'routeKey':_0x21355d['data']['unitID'],'routeType':'','data':{'eventID':_0xba6f9e[_0x35c49b(0x417)][_0x35c49b(0x392)],'data':{'changesets':_0x4fe1c8}}});})['catch'](_0x3d1f29=>{const _0x4842e1=_0x24e645;this['_logService'][_0x4842e1(0x171)](_0x3d1f29),_0x4cb60b();});return;}}_0xe4d533[_0x24e645(0x311)](_0x16a106(_0x3464b3));},'close':()=>{const _0xf2094d=_0x556ba4;_0xe4d533[_0xf2094d(0x198)](),_0x249a19[_0xf2094d(0x2ab)]();}},_0x353b08;}async[_0x582532(0x158)](_0x25db4e,_0x479b09){const _0x58f5c6=_0x582532;var _0x55011d;let {unitType:_0x446821,unitID:_0x3a8b29,changeset:_0xce152}=_0x479b09['data'],_0x4dcd47={'unitID':_0x3a8b29,'memberID':_0x25db4e[_0x58f5c6(0x208)],'type':_0x446821,'changeset':(0x0,_0xba6f9e[_0x58f5c6(0x1fc)])(_0xce152)},_0x306f95=this['_configService']['getConfig'](_0x3b7e3d),_0x300e8a=_0x24b777((_0x55011d=_0x306f95==null?void 0x0:_0x306f95['collabSubmitChangesetUrl'])==null?_0x58f5c6(0x369):_0x55011d,_0x446821,_0x3a8b29);try{await this[_0x58f5c6(0x195)][_0x58f5c6(0x370)](_0x300e8a,{'body':_0x4dcd47});}catch(_0x2a8e95){throw this[_0x58f5c6(0x423)][_0x58f5c6(0x171)](_0x58f5c6(0x3f2),'submit\x20changeset\x20error!'),_0x2a8e95;}}async[_0x582532(0x2af)](_0x48a9a4){const _0x5635e7=_0x582532;let {unitID:_0x1c7e86,from:_0x5155ea,to:_0x5657b7,unitType:_0x1ad323}=_0x48a9a4[_0x5635e7(0x163)];return(await this[_0x5635e7(0x2cb)][_0x5635e7(0x176)]({'metadata':void 0x0},{'unitID':_0x1c7e86,'type':_0x1ad323,'from':_0x5155ea,'to':_0x5657b7}))['changesets']['map'](_0x1576f6=>((_0x1576f6[_0x5635e7(0x393)]===null||_0x1576f6[_0x5635e7(0x393)]===void 0x0)&&(_0x1576f6[_0x5635e7(0x393)]=[]),_0x1576f6));}};_0xc1659c=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x1,(0x0,_0x21f9b6['Inject'])(_0xf4c2fc[_0x582532(0x1b3)])),_0x385b9b(0x2,_0x21f9b6[_0x582532(0x3e2)]),_0x385b9b(0x3,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0x4,_0xba6f9e[_0x582532(0x349)])],_0xc1659c);let _0x457933=class extends _0x21f9b6[_0x582532(0x183)]{get[_0x582532(0x2f0)](){const _0x316d4d=_0x582532;return this['_socket$'][_0x316d4d(0x308)]();}constructor(_0x274e47,_0x156621,_0x16a7d9,_0x19677d,_0x17c6f6,_0x330429){const _0xfa7362=_0x582532;super(),this['_injector']=_0x274e47,this[_0xfa7362(0x423)]=_0x156621,this[_0xfa7362(0x3b0)]=_0x16a7d9,this['_socketService']=_0x19677d,this[_0xfa7362(0x2ca)]=_0x17c6f6,this['_networkConditionService']=_0x330429,_0x158768(this,_0xfa7362(0x368),new _0x4ea2bc[(_0xfa7362(0x319))](void 0x0)),_0x158768(this,_0xfa7362(0x154),this[_0xfa7362(0x368)][_0xfa7362(0x2bd)]()),_0x158768(this,_0xfa7362(0x34c),null),_0x158768(this,'_sessions',new Map()),_0x158768(this,_0xfa7362(0x421),new _0x4ea2bc[(_0xfa7362(0x319))](_0x42d806[_0xfa7362(0x334)])),_0x158768(this,'status$',this[_0xfa7362(0x421)][_0xfa7362(0x2bd)]()),_0x158768(this,'_socketReady',!0x1),_0x158768(this,_0xfa7362(0x3ed),void 0x0),_0x158768(this,_0xfa7362(0x2cc),0x0),_0x158768(this,_0xfa7362(0x1f0),void 0x0),_0x158768(this,_0xfa7362(0x36e),void 0x0),this[_0xfa7362(0x25f)]();}[_0x582532(0x25f)](){const _0x4447cf=_0x582532;this[_0x4447cf(0x239)]&&this['disposeWithMe'](this[_0x4447cf(0x239)][_0x4447cf(0x2ff)][_0x4447cf(0x237)](_0xe9096e=>{const _0x49c93e=_0x4447cf;_0xe9096e&&!this[_0x49c93e(0x2f0)]&&this[_0x49c93e(0x2f3)](),_0xe9096e||this[_0x49c93e(0x156)]();}));}[_0x582532(0x2ab)](){const _0xca7b81=_0x582532;super[_0xca7b81(0x2ab)](),this[_0xca7b81(0x143)](),this[_0xca7b81(0x2eb)](),this[_0xca7b81(0x168)](),this[_0xca7b81(0x329)][_0xca7b81(0x2c3)](_0x6026fc=>_0x6026fc[_0xca7b81(0x2ab)]()),this['_sessions']['clear'](),this[_0xca7b81(0x421)][_0xca7b81(0x159)]();}async[_0x582532(0x13a)](_0x208729){const _0x1a3f5a=_0x582532;if(this[_0x1a3f5a(0x329)][_0x1a3f5a(0x2e9)](_0x208729))return this['_sessions']['get'](_0x208729);this[_0x1a3f5a(0x1ca)]();let _0x4e66db=this[_0x1a3f5a(0x279)][_0x1a3f5a(0x327)](_0x172cb0,_0x208729,this[_0x1a3f5a(0x368)]['asObservable']());return this[_0x1a3f5a(0x329)][_0x1a3f5a(0x31e)](_0x208729,_0x4e66db),_0x4e66db;}[_0x582532(0x3b5)](_0x21865b){const _0x3d1083=_0x582532;let _0x53f6ad=this[_0x3d1083(0x329)][_0x3d1083(0x19e)](_0x21865b);if(_0x53f6ad&&(this['_sessions'][_0x3d1083(0x1b0)](_0x21865b),_0x53f6ad['close']()),!this[_0x3d1083(0x329)][_0x3d1083(0x186)]){var _0x2b8767;(_0x2b8767=this['_socket'])==null||_0x2b8767['close']();}}[_0x582532(0x2f3)](){const _0x1ce214=_0x582532;this[_0x1ce214(0x2cc)]=0x0,this[_0x1ce214(0x143)](),this[_0x1ce214(0x231)]();}[_0x582532(0x143)](){const _0x5a8e9a=_0x582532;this[_0x5a8e9a(0x3ed)]!=null&&(clearTimeout(this[_0x5a8e9a(0x3ed)]),this['_retryConnectingTimer']=null);}async[_0x582532(0x1a9)](){const _0x18d727=_0x582532;var _0x551242;let _0x3f2f63=this['_configService'][_0x18d727(0x2ba)](_0x3b7e3d),_0x20d39f=(_0x551242=_0x3f2f63==null?void 0x0:_0x3f2f63['collabWebSocketUrl'])==null?_0x107e87:_0x551242,_0x118078=await this['_socketService'][_0x18d727(0x222)](_0x20d39f);return this[_0x18d727(0x34c)]=_0x118078,_0x118078;}async['_tryEnsureSocket'](){const _0x3ca933=_0x582532;try{var _0x1ebc86,_0x5be31f;let _0x52a484=(_0x1ebc86=(_0x5be31f=this['_socket'])==null?this[_0x3ca933(0x34c)]:_0x5be31f)==null?await this[_0x3ca933(0x1a9)]():_0x1ebc86;if(_0x52a484){let _0x554ab8=_0x52a484[_0x3ca933(0x311)];_0x52a484['send']=_0x3653fe=>(_0x3653fe['cmd']!==_0x4d42e2[_0x3ca933(0x160)][_0x3ca933(0x25c)]&&this[_0x3ca933(0x3be)](),_0x554ab8[_0x3ca933(0x32d)](_0x52a484,[_0x3653fe])),_0x52a484[_0x3ca933(0x23c)][_0x3ca933(0x237)](_0x23ae2b=>this['_onMessage'](_0x52a484,_0x23ae2b)),_0x52a484[_0x3ca933(0x145)][_0x3ca933(0x12f)]((0x0,_0x40ad09[_0x3ca933(0x2d4)])(0x1))[_0x3ca933(0x237)](_0x5df1a4=>this[_0x3ca933(0x423)][_0x3ca933(0x171)]('[CollaborationSessionService]:\x20socket\x20error',_0x5df1a4)),_0x52a484[_0x3ca933(0x330)][_0x3ca933(0x12f)]((0x0,_0x40ad09['take'])(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x52a484);}),_0x52a484['close$']['pipe']((0x0,_0x40ad09[_0x3ca933(0x2d4)])(0x1))[_0x3ca933(0x237)](_0x1c1e5c=>{const _0x6098ea=_0x3ca933;this[_0x6098ea(0x423)][_0x6098ea(0x2b1)](_0x6098ea(0x2a1),_0x6098ea(0x25d),_0x1c1e5c),this[_0x6098ea(0x2d6)]();});}}catch(_0x3cee88){this[_0x3ca933(0x423)][_0x3ca933(0x171)](_0x3cee88),this['_onConnectionFailed']();}}[_0x582532(0x178)](_0x3d619a){const _0x24e79c=_0x582532;this[_0x24e79c(0x423)][_0x24e79c(0x2b1)](_0x24e79c(0x2a1),_0x24e79c(0x2e8)),_0x3d619a[_0x24e79c(0x311)]({'cmd':_0x4d42e2[_0x24e79c(0x160)][_0x24e79c(0x147)]}),this[_0x24e79c(0x3be)]();}[_0x582532(0x156)](){const _0x5ba959=_0x582532;this['_socketReady']=!0x1,this[_0x5ba959(0x34c)]=null,this['_status$'][_0x5ba959(0x270)](_0x42d806[_0x5ba959(0x234)]),this[_0x5ba959(0x368)]['next'](null),this[_0x5ba959(0x2eb)](),this['_clearHeartbeatTimer']();}[_0x582532(0x2d6)](){const _0xc2c44b=_0x582532;var _0x4c41d8;this[_0xc2c44b(0x156)](),this['_retryCount']<((_0x4c41d8=this[_0xc2c44b(0x3b0)][_0xc2c44b(0x2ba)]('RETRY_CONNECTING_MAX_COUNT'))==null?0x3:_0x4c41d8)?(this[_0xc2c44b(0x2ca)]['emitEvent']({'id':_0x214ddb[_0xc2c44b(0x18d)]}),this[_0xc2c44b(0x231)]()):this[_0xc2c44b(0x2ca)][_0xc2c44b(0x121)]({'id':_0x214ddb[_0xc2c44b(0x1c9)]});}[_0x582532(0x231)](){const _0x244ed0=_0x582532;var _0x1b247e;let _0x148ed3=this[_0x244ed0(0x2cc)],_0x47e147=this[_0x244ed0(0x3b0)][_0x244ed0(0x2ba)](_0x3b7e3d),_0x4298f8=_0x148ed3===0x0?0x0:((_0x1b247e=_0x47e147==null?void 0x0:_0x47e147[_0x244ed0(0x1b4)])==null?0x4e20:_0x1b247e)*0x2**_0x148ed3;this[_0x244ed0(0x3ed)]=setTimeout(()=>{const _0x109e54=_0x244ed0;clearTimeout(this['_retryConnectingTimer']),this[_0x109e54(0x3ed)]=null,this['_tryEnsureSocket']();},_0x4298f8),this[_0x244ed0(0x2cc)]+=0x1;}[_0x582532(0x1d2)](_0x2fd457,_0x321cea){const _0x2a2e96=_0x582532;let {cmd:_0x2855ec}=_0x321cea;_0x2855ec===_0x4d42e2[_0x2a2e96(0x160)][_0x2a2e96(0x147)]&&!this[_0x2a2e96(0x196)]&&(_0x2fd457[_0x2a2e96(0x208)]=_0x321cea[_0x2a2e96(0x163)][_0x2a2e96(0x208)],this['_socket$'][_0x2a2e96(0x270)](_0x2fd457),this[_0x2a2e96(0x421)][_0x2a2e96(0x270)](_0x42d806[_0x2a2e96(0x3da)]),this[_0x2a2e96(0x196)]=!0x0,this[_0x2a2e96(0x34c)]=null),_0x2855ec===_0x4d42e2[_0x2a2e96(0x160)][_0x2a2e96(0x2fe)]&&this[_0x2a2e96(0x2eb)](),this[_0x2a2e96(0x3be)]();}['_rescheduleHeartbeat'](){const _0x4f430b=_0x582532;var _0x519234;this[_0x4f430b(0x168)](),this[_0x4f430b(0x1f0)]=setTimeout(()=>this[_0x4f430b(0x1cb)](),(_0x519234=this[_0x4f430b(0x3b0)][_0x4f430b(0x2ba)](_0x4f430b(0x37a)))==null?0x7530:_0x519234);}[_0x582532(0x1cb)](){const _0x51cd57=_0x582532;this[_0x51cd57(0x2f0)][_0x51cd57(0x311)]({'cmd':_0x4d42e2[_0x51cd57(0x160)][_0x51cd57(0x2fe)]}),this[_0x51cd57(0x22c)]();}[_0x582532(0x22c)](){const _0x2f4916=_0x582532;var _0x2965f2;this[_0x2f4916(0x36e)]=setTimeout(()=>this[_0x2f4916(0x2d6)](),(_0x2965f2=this['_configService']['getConfig'](_0x2f4916(0x36a)))==null?_0x3ad1c7:_0x2965f2);}[_0x582532(0x168)](){const _0x44af00=_0x582532;this[_0x44af00(0x1f0)]!=null&&(clearTimeout(this[_0x44af00(0x1f0)]),this[_0x44af00(0x1f0)]=null);}[_0x582532(0x2eb)](){const _0xeb870b=_0x582532;this[_0xeb870b(0x36e)]!=null&&(clearTimeout(this[_0xeb870b(0x36e)]),this[_0xeb870b(0x36e)]=null);}};_0x457933=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x1,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0x2,_0x21f9b6['IConfigService']),_0x385b9b(0x3,_0x1b8f90),_0x385b9b(0x4,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x49c645)),_0x385b9b(0x5,(0x0,_0x21f9b6['Optional'])(_0x3cb508))],_0x457933);let _0x28cc0e=class extends _0x21f9b6[_0x582532(0x1c3)]{constructor(_0x51af53,_0x33e149,_0x16e70c,_0x34db9c){const _0x27654a=_0x582532;var _0x1bda93;super(),this['_injector']=_0x51af53,this[_0x27654a(0x35f)]=_0x33e149,this[_0x27654a(0x3b0)]=_0x16e70c,this['_univerInstanceService']=_0x34db9c,_0x158768(this,'_entities',new Map()),_0x158768(this,_0x27654a(0x292),new _0x4ea2bc[(_0x27654a(0x321))]()),_0x158768(this,_0x27654a(0x38e),this[_0x27654a(0x292)][_0x27654a(0x2bd)]()),((_0x1bda93=this[_0x27654a(0x3b0)]['getConfig'](_0x27654a(0x293)))==null?void 0x0:_0x1bda93['enableCollaboration'])!==!0x1&&this[_0x27654a(0x36f)]();}[_0x582532(0x2ab)](){const _0x4a0027=_0x582532;super[_0x4a0027(0x2ab)](),this[_0x4a0027(0x2bc)]['forEach'](_0x3fa063=>_0x3fa063['dispose']()),this[_0x4a0027(0x2bc)][_0x4a0027(0x157)]();}['getCollabEntity'](_0x5d8820){const _0x41afc6=_0x582532;var _0x5dbee9;return(_0x5dbee9=this[_0x41afc6(0x2bc)][_0x41afc6(0x19e)](_0x5d8820))==null?null:_0x5dbee9;}[_0x582532(0x348)](_0x1f517f){const _0x4b9f1b=_0x582532;let _0x27c5ee=this[_0x4b9f1b(0x254)](_0x1f517f);return _0x27c5ee?(0x0,_0x4ea2bc['of'])(_0x27c5ee):this[_0x4b9f1b(0x292)][_0x4b9f1b(0x12f)]((0x0,_0x40ad09[_0x4b9f1b(0x382)])(_0x777864=>_0x777864[_0x4b9f1b(0x142)]===_0x1f517f));}[_0x582532(0x21c)](_0x5007ab){const _0x1be260=_0x582532;return(0x0,_0x4ea2bc[_0x1be260(0x238)])(this[_0x1be260(0x348)](_0x5007ab)[_0x1be260(0x12f)]((0x0,_0x40ad09[_0x1be260(0x312)])(()=>void 0x0)));}[_0x582532(0x36f)](){const _0x9f900=_0x582532;this[_0x9f900(0x136)][_0x9f900(0x2e6)](_0x21f9b6[_0x9f900(0x3e4)][_0x9f900(0x1ba)])[_0x9f900(0x12f)]((0x0,_0x4ea2bc[_0x9f900(0x172)])(this[_0x9f900(0x3b8)]),(0x0,_0x40ad09['delay'])(0x10))[_0x9f900(0x237)](async _0x5c5669=>{const _0x44b92f=_0x9f900;let _0x416265=_0x5c5669['getUnitId'](),_0x146a86=await this[_0x44b92f(0x389)](_0x416265,_0x21f9b6['UniverInstanceType'][_0x44b92f(0x1ba)]);this[_0x44b92f(0x2bc)]['set'](_0x416265,_0x146a86);}),this[_0x9f900(0x136)][_0x9f900(0x2e6)](_0x21f9b6[_0x9f900(0x3e4)][_0x9f900(0x1f3)])[_0x9f900(0x12f)]((0x0,_0x4ea2bc['takeUntil'])(this[_0x9f900(0x3b8)]),(0x0,_0x40ad09[_0x9f900(0x2e7)])(0x10))[_0x9f900(0x12f)]((0x0,_0x40ad09[_0x9f900(0x382)])(_0x277d68=>!_0x277d68[_0x9f900(0x31b)]()['startsWith']('__')))[_0x9f900(0x237)](async _0xd24bcc=>{const _0x5ca650=_0x9f900;let _0x573ec0=_0xd24bcc[_0x5ca650(0x31b)](),_0x2251a3=await this['_startCollaboration'](_0x573ec0,_0x21f9b6[_0x5ca650(0x3e4)][_0x5ca650(0x1f3)]);this['_entities']['set'](_0x573ec0,_0x2251a3);}),(0x0,_0x4ea2bc[_0x9f900(0x366)])(this[_0x9f900(0x136)][_0x9f900(0x2e2)](_0x21f9b6[_0x9f900(0x3e4)][_0x9f900(0x1ba)]),this[_0x9f900(0x136)][_0x9f900(0x2e2)](_0x21f9b6[_0x9f900(0x3e4)]['UNIVER_DOC']))[_0x9f900(0x12f)]((0x0,_0x4ea2bc['takeUntil'])(this['dispose$']))[_0x9f900(0x237)](_0x177a7a=>{const _0x4dafdc=_0x9f900;let _0x5239bd=_0x177a7a[_0x4dafdc(0x31b)](),_0x407e1b=this[_0x4dafdc(0x2bc)]['get'](_0x5239bd);_0x407e1b&&(_0x407e1b[_0x4dafdc(0x2ab)](),this[_0x4dafdc(0x2bc)]['delete'](_0x5239bd));});}async[_0x582532(0x389)](_0x1c585b,_0x51ce10){const _0x498392=_0x582532;let _0x225ced=await this[_0x498392(0x35f)][_0x498392(0x13a)](_0x1c585b),_0x506704=this[_0x498392(0x279)][_0x498392(0x327)](this[_0x498392(0x274)](_0x51ce10),_0x1c585b,_0x51ce10,_0x225ced);return await _0x506704[_0x498392(0x232)](),this['_entityInit$']['next'](_0x506704),_0x506704;}[_0x582532(0x274)](_0x10cb28){const _0x179fa0=_0x582532;switch(_0x10cb28){case _0x21f9b6[_0x179fa0(0x3e4)]['UNIVER_DOC']:return _0xd1a0d8;case _0x21f9b6['UniverInstanceType'][_0x179fa0(0x1ba)]:return _0x33b45e;default:throw Error(_0x179fa0(0x26a)+_0x10cb28);}}};_0x28cc0e=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x1,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x457933)),_0x385b9b(0x2,_0x21f9b6[_0x582532(0x3e2)]),_0x385b9b(0x3,_0x21f9b6[_0x582532(0x207)])],_0x28cc0e);var _0x2aec61=_0x582532(0x230),_0x1c30ed=_0x582532(0x2e0);let _0x5e16b4=class extends _0x21f9b6[_0x582532(0x183)]{constructor(_0x2276dc,_0x61df2){const _0x19bdb3=_0x582532;super(),this[_0x19bdb3(0x136)]=_0x2276dc,this[_0x19bdb3(0x3b0)]=_0x61df2,this[_0x19bdb3(0x36f)]();}['_init'](){const _0x4cd0ad=_0x582532;this[_0x4cd0ad(0x1b5)](this[_0x4cd0ad(0x136)][_0x4cd0ad(0x1b6)][_0x4cd0ad(0x237)](()=>{const _0x1fadea=_0x4cd0ad;var _0x51b96b;let _0x336270=this[_0x1fadea(0x136)][_0x1fadea(0x3ce)](),_0x4618d8=(_0x51b96b=this[_0x1fadea(0x3b0)][_0x1fadea(0x2ba)]('DEFAULT_FILE_NAME'))==null?_0x1fadea(0x252):_0x51b96b;_0x336270 instanceof _0x21f9b6['Workbook']&&(_0x4618d8=_0x336270[_0x1fadea(0x272)]),document['title']=_0x4618d8;}));}};_0x5e16b4=_0x9fca30([_0x385b9b(0x0,_0x21f9b6[_0x582532(0x207)]),_0x385b9b(0x1,_0x21f9b6[_0x582532(0x3e2)])],_0x5e16b4);let _0x3d2f49=class{constructor(_0x51dd43,_0x2f8175,_0x563159){const _0x3495ee=_0x582532;this['_configService']=_0x51dd43,this[_0x3495ee(0x195)]=_0x2f8175,this[_0x3495ee(0x164)]=_0x563159,this[_0x3495ee(0x232)]();}[_0x582532(0x232)](){const _0x83af08=_0x582532;this[_0x83af08(0x195)][_0x83af08(0x185)]({'priority':0x1,'interceptor':(_0x49666d,_0x138292)=>_0x138292(_0x49666d)['pipe']((0x0,_0x4ea2bc['concatMap'])(async _0x538ca3=>{const _0x1b59e3=_0x83af08;let _0x231a5c=_0x538ca3;if(_0x231a5c[_0x1b59e3(0x18e)]===0x191){if(typeof window>'u')throw Error(_0x1b59e3(0x23d));if(window[_0x1b59e3(0x429)](this[_0x1b59e3(0x164)]['t'](_0x1b59e3(0x1de)))){let _0x2f5e6c=window[_0x1b59e3(0x354)](window[_0x1b59e3(0x383)][_0x1b59e3(0x428)]);window['location'][_0x1b59e3(0x428)]=this[_0x1b59e3(0x1fd)]()+_0x1b59e3(0x406)+_0x2f5e6c;}}return _0x231a5c;}))});}[_0x582532(0x1fd)](){const _0x201686=_0x582532;var _0x476484;let _0x7a2ce=this[_0x201686(0x3b0)][_0x201686(0x2ba)](_0x3b7e3d);return(_0x476484=_0x7a2ce==null?void 0x0:_0x7a2ce['loginUrlKey'])==null?'/universer-api/oidc/authpage':_0x476484;}};_0x3d2f49=_0x9fca30([_0x385b9b(0x0,_0x21f9b6['IConfigService']),_0x385b9b(0x1,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xf4c2fc[_0x582532(0x1b3)])),_0x385b9b(0x2,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6['LocaleService']))],_0x3d2f49);let _0x23b744=class extends _0x21f9b6['Disposable']{constructor(_0x213693,_0xb29efb){const _0x30aa78=_0x582532;super(),this[_0x30aa78(0x285)]=_0x213693,this[_0x30aa78(0x3b0)]=_0xb29efb,_0x158768(this,_0x30aa78(0x2b5),!0x1),this[_0x30aa78(0x398)]();}[_0x582532(0x398)](){const _0x3e0550=_0x582532;let _0x3896d4=this;this[_0x3e0550(0x1b5)](this[_0x3e0550(0x285)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':(0x0,_0xf4c2fc[_0x3e0550(0x17e)])({'isMatch'(_0x331e18){const _0x379a79=_0x3e0550;var _0x7786b9;if(_0x331e18[_0x379a79(0x1b1)]==='POST'&&(_0x7786b9=_0x331e18['requestParams'])!=null&&_0x7786b9[_0x379a79(0x41f)]){let {objectID:_0x51ac33,objectType:_0x5917c7}=_0x331e18[_0x379a79(0x3df)][_0x379a79(0x41f)]||{};if(!_0x51ac33||_0x5917c7===void 0x0)return!0x1;let _0x240696=_0x3896d4[_0x379a79(0x2d3)]()+'/'+_0x5917c7+_0x379a79(0x257)+_0x51ac33+'/allowed';if(_0x331e18['url']===_0x240696)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4de589){const _0x5d3112=_0x3e0550;var _0x5c06e8;return(_0x5c06e8=_0x4de589[_0x5d3112(0x3df)])==null?void 0x0:_0x5c06e8[_0x5d3112(0x41f)];},'mergeParamsToRequest'(_0x4c2486,_0x58c817){const _0x2f5015=_0x3e0550;let _0x38edc5=_0x3896d4[_0x2f5015(0x2d3)]()+_0x2f5015(0x197),_0x46b426=_0x4c2486['reduce']((_0x3b1deb,_0x1d9779)=>{const _0x1d7962=_0x2f5015;let {unitID:_0x6284a7,objectID:_0x1f85aa,objectType:_0xfe159e,actions:_0xff9ea0}=_0x1d9779;return _0x3b1deb[_0x6284a7]||(_0x3b1deb[_0x6284a7]={}),_0x3b1deb[_0x6284a7][_0x1f85aa]||(_0x3b1deb[_0x6284a7][_0x1f85aa]={'objectID':_0x1f85aa,'objectType':_0xfe159e,'actions':[]}),_0x3b1deb[_0x6284a7][_0x1f85aa][_0x1d7962(0x1ac)][_0x1d7962(0x2b7)](..._0xff9ea0),_0x3b1deb;},{}),_0x389ee1=[];for(let _0x2090d0 in _0x46b426)for(let _0x5f55b5 in _0x46b426[_0x2090d0]){let {actions:_0x1aa738,objectType:_0x296a0f}=_0x46b426[_0x2090d0][_0x5f55b5],_0x1ed8b9=[...new Set(_0x1aa738)];_0x389ee1[_0x2f5015(0x2b7)]({'unitID':_0x2090d0,'objectID':_0x5f55b5,'objectType':_0x296a0f,'actions':_0x1ed8b9});}return new _0xf4c2fc[(_0x2f5015(0x2aa))](_0x2f5015(0x363),_0x38edc5,{'headers':_0x58c817[_0x2f5015(0x295)],'withCredentials':_0x58c817[_0x2f5015(0x407)],'responseType':_0x58c817[_0x2f5015(0x3bc)],'body':{'requests':_0x389ee1}});}},{'distributeResult'(_0x49f6b4,_0x1a16a1){const _0x561f58=_0x3e0550;let {objectActions:_0x11a89a}=_0x49f6b4;return _0x1a16a1[_0x561f58(0x312)](_0x22adb5=>{const _0x7d100=_0x561f58;let {unitID:_0x53c07d,objectID:_0x24872c,actions:_0x541326}=_0x22adb5,_0x32fa9f=_0x11a89a[_0x7d100(0x283)](_0x1e3ec8=>_0x1e3ec8[_0x7d100(0x142)]===_0x53c07d&&_0x1e3ec8[_0x7d100(0x213)]===_0x24872c);return{'config':_0x22adb5,'result':{'actions':_0x541326['map'](_0x3e9a7a=>_0x32fa9f==null?void 0x0:_0x32fa9f[_0x7d100(0x1ac)][_0x7d100(0x283)](_0x23379f=>_0x23379f[_0x7d100(0x16c)]===_0x3e9a7a))['filter'](_0x5012e3=>!!_0x5012e3),'error':_0x49f6b4[_0x7d100(0x171)]}};});}})}));}['_getAPIPrefixPath'](){const _0x12c55f=_0x582532;var _0xdfa4cc;let _0x12c3d9=this[_0x12c55f(0x3b0)][_0x12c55f(0x2ba)](_0x3b7e3d);return(_0xdfa4cc=_0x12c3d9==null?void 0x0:_0x12c3d9[_0x12c55f(0x1ec)])==null?_0x12c55f(0x1bc):_0xdfa4cc;}async['create'](_0x3672b8){const _0x32724d=_0x582532;let _0x1c2691=this[_0x32724d(0x2d3)]()+'/'+_0x3672b8[_0x32724d(0x11b)]+'/object';return(await this[_0x32724d(0x285)][_0x32724d(0x370)](_0x1c2691,{'body':_0x3672b8}))[_0x32724d(0x41f)]['objectID']||'';}async[_0x582532(0x251)](_0x25a8a8){const _0x5135e2=_0x582532;let _0x755a28=this['_getAPIPrefixPath']()+_0x5135e2(0x190);return(await this[_0x5135e2(0x285)][_0x5135e2(0x370)](_0x755a28,{'body':_0x25a8a8}))[_0x5135e2(0x41f)][_0x5135e2(0x351)];}async[_0x582532(0x2d1)](_0x35c811){const _0x1116c1=_0x582532;var _0x15e7ed;let _0x16fa30=this[_0x1116c1(0x2d3)]()+'/'+_0x35c811[_0x1116c1(0x11b)]+'/object/'+_0x35c811[_0x1116c1(0x213)],_0x4ee158=await this[_0x1116c1(0x285)][_0x1116c1(0x2b0)](_0x16fa30,{'body':_0x35c811});if((_0x4ee158==null||(_0x15e7ed=_0x4ee158[_0x1116c1(0x41f)])==null||(_0x15e7ed=_0x15e7ed[_0x1116c1(0x171)])==null?void 0x0:_0x15e7ed[_0x1116c1(0x422)])!==0x1)throw Error(_0x1116c1(0x386));}async[_0x582532(0x1c2)](_0x3ee800){const _0x4be582=_0x582532;let _0x45a80d=this['_getAPIPrefixPath']()+'/'+_0x3ee800[_0x4be582(0x11b)]+_0x4be582(0x257)+_0x3ee800['objectID']+_0x4be582(0x250);return(await this[_0x4be582(0x285)][_0x4be582(0x370)](_0x45a80d,{'body':_0x3ee800}))[_0x4be582(0x41f)][_0x4be582(0x1ac)];}async['batchAllowed'](_0x49a5b5){const _0x80657b=_0x582532;let _0x59c25d=this[_0x80657b(0x2d3)]()+'/-/object/-/batch_allowed';return(await this[_0x80657b(0x285)][_0x80657b(0x370)](_0x59c25d,{'body':{'requests':_0x49a5b5}}))[_0x80657b(0x41f)]['objectActions'];}async['listRoles'](_0x2d6531){const _0x769ade=_0x582532;let _0x239ec2=this[_0x769ade(0x2d3)]()+'/'+_0x2d6531[_0x769ade(0x11b)]+_0x769ade(0x1db),_0x434332=await this[_0x769ade(0x285)][_0x769ade(0x370)](_0x239ec2,{'body':_0x2d6531});return{'roles':_0x434332[_0x769ade(0x41f)][_0x769ade(0x24c)],'actions':_0x434332[_0x769ade(0x41f)][_0x769ade(0x1ac)]};}async[_0x582532(0x1e4)](_0x5cc759){const _0x5b6717=_0x582532;let _0x317af8=this[_0x5b6717(0x2d3)]()+'/collaborator';await this[_0x5b6717(0x285)][_0x5b6717(0x1b0)](_0x317af8,{'params':{'collaboratorID':_0x5cc759[_0x5b6717(0x32e)],'objectID':_0x5cc759[_0x5b6717(0x213)],'unitID':_0x5cc759[_0x5b6717(0x142)]}});}async['updateCollaborator'](_0x5123bd){const _0x3a1ba8=_0x582532;let _0x6bd4d2=this[_0x3a1ba8(0x2d3)]()+'/collaborator';await this['_HTTPService'][_0x3a1ba8(0x32f)](_0x6bd4d2,{'body':_0x5123bd});}async['createCollaborator'](_0x300163){const _0x3e4cfa=_0x582532;let _0x29109c=this[_0x3e4cfa(0x2d3)]()+'/collaborator';await this[_0x3e4cfa(0x285)]['post'](_0x29109c,{'body':_0x300163});}async['listCollaborators'](_0x2dcee6){const _0x2e7663=_0x582532;var _0x1342a6;let _0x28910d=this[_0x2e7663(0x2d3)]()+_0x2e7663(0x20d),_0x134ee6=await this[_0x2e7663(0x285)]['get'](_0x28910d,{'params':{'objectID':_0x2dcee6['objectID'],'unitID':_0x2dcee6[_0x2e7663(0x142)]}});return this['setCfgEnableObjInherit']((_0x1342a6=_0x134ee6[_0x2e7663(0x41f)]['cfgEnableObjInherit'])==null?!0x1:_0x1342a6),_0x134ee6[_0x2e7663(0x41f)][_0x2e7663(0x3e3)];}async[_0x582532(0x371)](_0x272883){const _0x68c42a=_0x582532;let _0x5646c2=this[_0x68c42a(0x2d3)]()+'/collaborator';await this[_0x68c42a(0x285)][_0x68c42a(0x2b0)](_0x5646c2,{'body':_0x272883});}[_0x582532(0x15d)](_0x345801){const _0x46d200=_0x582532;this[_0x46d200(0x2b5)]=_0x345801;}['getCfgEnableObjInherit'](){return this['_cfgEnableObjInherit'];}};_0x23b744=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xf4c2fc[_0x582532(0x1b3)])),_0x385b9b(0x1,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x3e2)]))],_0x23b744);function _0x37b175(_0x1959ed){const _0x56bd31=_0x582532;return _0x1959ed instanceof Uint8Array||ArrayBuffer[_0x56bd31(0x394)](_0x1959ed)&&_0x1959ed['constructor'][_0x56bd31(0x272)]===_0x56bd31(0x2c5)&&_0x56bd31(0x323)in _0x1959ed&&_0x1959ed[_0x56bd31(0x323)]===0x1;}function _0xd9eca4(_0x4a6d80){const _0x1cd73f=_0x582532;if(typeof _0x4a6d80!='number')throw TypeError('number\x20expected,\x20got\x20'+typeof _0x4a6d80);if(!Number['isSafeInteger'](_0x4a6d80)||_0x4a6d80<0x0)throw RangeError(_0x1cd73f(0x20f)+_0x4a6d80);}function _0x2b212e(_0x140cd8,_0x1d08f5,_0x488135=''){const _0xad2eeb=_0x582532;let _0x24ad2d=_0x37b175(_0x140cd8),_0x18ffd7=_0x140cd8==null?void 0x0:_0x140cd8[_0xad2eeb(0x2c6)],_0x584d9e=_0x1d08f5!==void 0x0;if(!_0x24ad2d||_0x584d9e&&_0x18ffd7!==_0x1d08f5){let _0x52cf1e=_0x488135&&'\x22'+_0x488135+'\x22\x20',_0x113956=_0x584d9e?_0xad2eeb(0x243)+_0x1d08f5:'',_0x12259f=_0x24ad2d?_0xad2eeb(0x24f)+_0x18ffd7:_0xad2eeb(0x41e)+typeof _0x140cd8,_0x5e9184=_0x52cf1e+_0xad2eeb(0x375)+_0x113956+_0xad2eeb(0x3a6)+_0x12259f;throw _0x24ad2d?RangeError(_0x5e9184):TypeError(_0x5e9184);}return _0x140cd8;}function _0x50d30e(_0x37ea02){const _0x225515=_0x582532;return new Uint32Array(_0x37ea02[_0x225515(0x2a7)],_0x37ea02[_0x225515(0x337)],Math['floor'](_0x37ea02[_0x225515(0x400)]/0x4));}function _0x524ec3(..._0x569517){const _0x3ac672=_0x582532;for(let _0x225f98=0x0;_0x225f98<_0x569517[_0x3ac672(0x2c6)];_0x225f98++)_0x569517[_0x225f98][_0x3ac672(0x33e)](0x0);}let _0x4512aa=new Uint8Array(new Uint32Array([0x11223344])[_0x582532(0x2a7)])[0x0]===0x44,_0x4fcfce=_0x1e46d1=>_0x1e46d1<<0x18&0xff000000|_0x1e46d1<<0x8&0xff0000|_0x1e46d1>>>0x8&0xff00|_0x1e46d1>>>0x18&0xff,_0x32199a=_0x4512aa?_0x4a4442=>_0x4a4442:_0x5a0057=>{for(let _0x4fbd8f=0x0;_0x4fbd8f<_0x5a0057['length'];_0x4fbd8f++)_0x5a0057[_0x4fbd8f]=_0x4fcfce(_0x5a0057[_0x4fbd8f]);return _0x5a0057;};typeof Uint8Array['from']([])[_0x582532(0x3d1)]=='function'&&Uint8Array[_0x582532(0x20e)];function _0x5cc704(_0x363ee7){const _0x5b141d=_0x582532;if(typeof _0x363ee7!=_0x5b141d(0x255))throw TypeError(_0x5b141d(0x2b9));return new Uint8Array(new TextEncoder()[_0x5b141d(0x30e)](_0x363ee7));}function _0x2c06c8(_0x3a09a1,_0x4fc1a8){const _0x1c6f51=_0x582532;return!_0x3a09a1[_0x1c6f51(0x400)]||!_0x4fc1a8[_0x1c6f51(0x400)]?!0x1:_0x3a09a1['buffer']===_0x4fc1a8[_0x1c6f51(0x2a7)]&&_0x3a09a1[_0x1c6f51(0x337)]<_0x4fc1a8[_0x1c6f51(0x337)]+_0x4fc1a8['byteLength']&&_0x4fc1a8['byteOffset']<_0x3a09a1[_0x1c6f51(0x337)]+_0x3a09a1[_0x1c6f51(0x400)];}function _0x1c61a7(_0x1a1d5b,_0x5807e3){const _0x126a71=_0x582532;if(_0x2c06c8(_0x1a1d5b,_0x5807e3)&&_0x1a1d5b['byteOffset']<_0x5807e3[_0x126a71(0x337)])throw Error(_0x126a71(0x336));}function _0x3f3bb2(..._0x527e35){const _0x220d9d=_0x582532;let _0x2ca980=0x0;for(let _0x4305ab=0x0;_0x4305ab<_0x527e35[_0x220d9d(0x2c6)];_0x4305ab++){let _0x15ed96=_0x527e35[_0x4305ab];_0x2b212e(_0x15ed96),_0x2ca980+=_0x15ed96[_0x220d9d(0x2c6)];}let _0x23022b=new Uint8Array(_0x2ca980);for(let _0x4a9778=0x0,_0x273056=0x0;_0x4a9778<_0x527e35[_0x220d9d(0x2c6)];_0x4a9778++){let _0x2e739e=_0x527e35[_0x4a9778];_0x23022b[_0x220d9d(0x31e)](_0x2e739e,_0x273056),_0x273056+=_0x2e739e[_0x220d9d(0x2c6)];}return _0x23022b;}let _0x28fc36=(_0x3ce0fc,_0x28acb7)=>{const _0x478830=_0x582532;function _0x204523(_0x5c2dee,..._0x50286c){const _0x50569e=_0x1dac;if(_0x2b212e(_0x5c2dee,void 0x0,'key'),_0x3ce0fc['nonceLength']!==void 0x0){let _0x135478=_0x50286c[0x0];_0x2b212e(_0x135478,_0x3ce0fc[_0x50569e(0x1c1)]?void 0x0:_0x3ce0fc['nonceLength'],_0x50569e(0x211));}let _0x23a8ef=_0x3ce0fc['tagLength'];_0x23a8ef&&_0x50286c[0x1]!==void 0x0&&_0x2b212e(_0x50286c[0x1],void 0x0,_0x50569e(0x35b));let _0x20a3d4=_0x28acb7(_0x5c2dee,..._0x50286c),_0x1f69f4=(_0x443459,_0x212882)=>{const _0x222311=_0x50569e;if(_0x212882!==void 0x0){if(_0x443459!==0x2)throw Error(_0x222311(0x126));_0x2b212e(_0x212882,void 0x0,_0x222311(0x130));}},_0x2cb6c4=!0x1;return{'encrypt'(_0x102b94,_0x5b4f3d){const _0x5b89b2=_0x50569e;if(_0x2cb6c4)throw Error(_0x5b89b2(0x309));return _0x2cb6c4=!0x0,_0x2b212e(_0x102b94),_0x1f69f4(_0x20a3d4[_0x5b89b2(0x170)]['length'],_0x5b4f3d),_0x20a3d4[_0x5b89b2(0x170)](_0x102b94,_0x5b4f3d);},'decrypt'(_0x329304,_0x406a3d){const _0x5e0af5=_0x50569e;if(_0x2b212e(_0x329304),_0x23a8ef&&_0x329304[_0x5e0af5(0x2c6)]<_0x23a8ef)throw Error(_0x5e0af5(0x38d)+_0x23a8ef);return _0x1f69f4(_0x20a3d4['decrypt'][_0x5e0af5(0x2c6)],_0x406a3d),_0x20a3d4[_0x5e0af5(0x214)](_0x329304,_0x406a3d);}};}return Object[_0x478830(0x3a4)](_0x204523,_0x3ce0fc),_0x204523;};function _0x1a7d56(_0x5affb1,_0x2de016,_0x2a2914=!0x0){const _0xeb18be=_0x582532;if(_0x2de016===void 0x0)return new Uint8Array(_0x5affb1);if(_0x2b212e(_0x2de016,void 0x0,_0xeb18be(0x130)),_0x2de016[_0xeb18be(0x2c6)]!==_0x5affb1)throw Error(_0xeb18be(0x27d)+_0x5affb1+_0xeb18be(0x433)+_0x2de016[_0xeb18be(0x2c6)]);if(_0x2a2914&&!_0x37db50(_0x2de016))throw Error(_0xeb18be(0x249));return _0x2de016;}function _0x37db50(_0x5ec377){const _0x484fac=_0x582532;return _0x5ec377[_0x484fac(0x337)]%0x4==0x0;}function _0x11fe44(_0x489b78){const _0x2c2638=_0x582532;return Uint8Array[_0x2c2638(0x2bf)](_0x2b212e(_0x489b78));}function _0x8b606d(_0x37d8f1=0x20){const _0x44e972=_0x582532;_0xd9eca4(_0x37d8f1);let _0x3f205d=typeof globalThis==_0x44e972(0x2f4)?globalThis[_0x44e972(0x11d)]:null;if(typeof(_0x3f205d==null?void 0x0:_0x3f205d['getRandomValues'])!='function')throw Error(_0x44e972(0x395));return _0x3f205d['getRandomValues'](new Uint8Array(_0x37d8f1));}function _0x15511f(_0x339882){const _0x2c3c2f=_0x582532;if(![0x10,0x18,0x20]['includes'](_0x339882[_0x2c3c2f(0x2c6)]))throw Error(_0x2c3c2f(0x24a)+_0x339882['length']);}function _0x1b018f(_0x202a48){return _0x202a48<<0x1^0x11b&-(_0x202a48>>0x7);}function _0x12f5a0(_0x1d09c3,_0x416b8c){let _0x436761=0x0;for(;_0x416b8c>0x0;_0x416b8c>>=0x1)_0x436761^=_0x1d09c3&-(_0x416b8c&0x1),_0x1d09c3=_0x1b018f(_0x1d09c3);return _0x436761;}let _0x1a5e35=((()=>{let _0x5510b7=new Uint8Array(0x100);for(let _0xa645c9=0x0,_0x3cf41e=0x1;_0xa645c9<0x100;_0xa645c9++,_0x3cf41e^=_0x1b018f(_0x3cf41e))_0x5510b7[_0xa645c9]=_0x3cf41e;let _0x521f77=new Uint8Array(0x100);_0x521f77[0x0]=0x63;for(let _0x52f831=0x0;_0x52f831<0xff;_0x52f831++){let _0x1ecde2=_0x5510b7[0xff-_0x52f831];_0x1ecde2|=_0x1ecde2<<0x8,_0x521f77[_0x5510b7[_0x52f831]]=(_0x1ecde2^_0x1ecde2>>0x4^_0x1ecde2>>0x5^_0x1ecde2>>0x6^_0x1ecde2>>0x7^0x63)&0xff;}return _0x524ec3(_0x5510b7),_0x521f77;})()),_0x43968b=_0x1a5e35[_0x582532(0x312)]((_0x5bc5b6,_0x1484f4)=>_0x1a5e35[_0x582532(0x30b)](_0x1484f4)),_0x4d6e5b=_0x4a238f=>_0x4a238f<<0x18|_0x4a238f>>>0x8,_0x53fcd1=_0xc85dc0=>_0xc85dc0<<0x8|_0xc85dc0>>>0x18;function _0x2599ea(_0x5db2d0,_0x3d8558){const _0x5bcb4c=_0x582532;if(_0x5db2d0[_0x5bcb4c(0x2c6)]!==0x100)throw Error('Wrong\x20sbox\x20length');let _0x5d87ab=new Uint32Array(0x100)[_0x5bcb4c(0x312)]((_0x1c4d6c,_0x24e471)=>_0x3d8558(_0x5db2d0[_0x24e471])),_0x22bb4a=_0x5d87ab[_0x5bcb4c(0x312)](_0x53fcd1),_0x35148c=_0x22bb4a[_0x5bcb4c(0x312)](_0x53fcd1),_0x305127=_0x35148c['map'](_0x53fcd1),_0x1fc7f3=new Uint32Array(0x100*0x100),_0x5e9d59=new Uint32Array(0x100*0x100),_0xcecfc2=new Uint16Array(0x100*0x100);for(let _0x3ffecf=0x0;_0x3ffecf<0x100;_0x3ffecf++)for(let _0xb59215=0x0;_0xb59215<0x100;_0xb59215++){let _0x49d40d=_0x3ffecf*0x100+_0xb59215;_0x1fc7f3[_0x49d40d]=_0x5d87ab[_0x3ffecf]^_0x22bb4a[_0xb59215],_0x5e9d59[_0x49d40d]=_0x35148c[_0x3ffecf]^_0x305127[_0xb59215],_0xcecfc2[_0x49d40d]=_0x5db2d0[_0x3ffecf]<<0x8|_0x5db2d0[_0xb59215];}return{'sbox':_0x5db2d0,'sbox2':_0xcecfc2,'T0':_0x5d87ab,'T1':_0x22bb4a,'T2':_0x35148c,'T3':_0x305127,'T01':_0x1fc7f3,'T23':_0x5e9d59};}let _0x2bb216=_0x2599ea(_0x1a5e35,_0xc15696=>_0x12f5a0(_0xc15696,0x3)<<0x18|_0xc15696<<0x10|_0xc15696<<0x8|_0x12f5a0(_0xc15696,0x2)),_0x29174a=_0x2599ea(_0x43968b,_0xa268c1=>_0x12f5a0(_0xa268c1,0xb)<<0x18|_0x12f5a0(_0xa268c1,0xd)<<0x10|_0x12f5a0(_0xa268c1,0x9)<<0x8|_0x12f5a0(_0xa268c1,0xe)),_0x4f06a7=((()=>{let _0x58d08b=new Uint8Array(0x10);for(let _0x4738f9=0x0,_0x18aa3e=0x1;_0x4738f9<0x10;_0x4738f9++,_0x18aa3e=_0x1b018f(_0x18aa3e))_0x58d08b[_0x4738f9]=_0x18aa3e;return _0x58d08b;})());function _0x5a5350(_0x2e1daa){const _0x1a50f1=_0x582532;_0x2b212e(_0x2e1daa);let _0x3d342c=_0x2e1daa[_0x1a50f1(0x2c6)];_0x15511f(_0x2e1daa);let {sbox2:_0x595cf9}=_0x2bb216,_0x36cbe7=[];(!_0x4512aa||!_0x37db50(_0x2e1daa))&&_0x36cbe7[_0x1a50f1(0x2b7)](_0x2e1daa=_0x11fe44(_0x2e1daa));let _0x20bc1a=_0x32199a(_0x50d30e(_0x2e1daa)),_0x3e4067=_0x20bc1a[_0x1a50f1(0x2c6)],_0x3147f3=_0x2b76d2=>_0x4e9853(_0x595cf9,_0x2b76d2,_0x2b76d2,_0x2b76d2,_0x2b76d2),_0x4c62ea=new Uint32Array(_0x3d342c+0x1c);_0x4c62ea[_0x1a50f1(0x31e)](_0x20bc1a);for(let _0x2798c4=_0x3e4067;_0x2798c4<_0x4c62ea['length'];_0x2798c4++){let _0x488097=_0x4c62ea[_0x2798c4-0x1];_0x2798c4%_0x3e4067===0x0?_0x488097=_0x3147f3(_0x4d6e5b(_0x488097))^_0x4f06a7[_0x2798c4/_0x3e4067-0x1]:_0x3e4067>0x6&&_0x2798c4%_0x3e4067===0x4&&(_0x488097=_0x3147f3(_0x488097)),_0x4c62ea[_0x2798c4]=_0x4c62ea[_0x2798c4-_0x3e4067]^_0x488097;}return _0x524ec3(..._0x36cbe7),_0x4c62ea;}function _0x43ba7b(_0x538286){const _0x127c83=_0x582532;let _0x597222=_0x5a5350(_0x538286),_0x9bfe7d=_0x597222[_0x127c83(0x24b)](),_0x143795=_0x597222['length'],{sbox2:_0x3af405}=_0x2bb216,{T0:_0x3eec10,T1:_0x21f010,T2:_0x3ac128,T3:_0x2ab6aa}=_0x29174a;for(let _0x4fb6d5=0x0;_0x4fb6d5<_0x143795;_0x4fb6d5+=0x4)for(let _0x52fb3f=0x0;_0x52fb3f<0x4;_0x52fb3f++)_0x9bfe7d[_0x4fb6d5+_0x52fb3f]=_0x597222[_0x143795-_0x4fb6d5-0x4+_0x52fb3f];_0x524ec3(_0x597222);for(let _0x4c2273=0x4;_0x4c2273<_0x143795-0x4;_0x4c2273++){let _0x2bd4d4=_0x9bfe7d[_0x4c2273],_0x359c23=_0x4e9853(_0x3af405,_0x2bd4d4,_0x2bd4d4,_0x2bd4d4,_0x2bd4d4);_0x9bfe7d[_0x4c2273]=_0x3eec10[_0x359c23&0xff]^_0x21f010[_0x359c23>>>0x8&0xff]^_0x3ac128[_0x359c23>>>0x10&0xff]^_0x2ab6aa[_0x359c23>>>0x18];}return _0x9bfe7d;}function _0x3bc83e(_0x25d36f,_0x40ec53,_0x263691,_0x3ffa69,_0x297e8e,_0x23b143){return _0x25d36f[_0x263691<<0x8&0xff00|_0x3ffa69>>>0x8&0xff]^_0x40ec53[_0x297e8e>>>0x8&0xff00|_0x23b143>>>0x18&0xff];}function _0x4e9853(_0x30a18a,_0x22c724,_0x58bdf5,_0x5f1627,_0x47ecda){return _0x30a18a[_0x22c724&0xff|_0x58bdf5&0xff00]|_0x30a18a[_0x5f1627>>>0x10&0xff|_0x47ecda>>>0x10&0xff00]<<0x10;}function _0x42a4f2(_0x8b2762,_0x156c40,_0x2f8aff,_0x3aa835,_0x3d71a7){const _0x5700ef=_0x582532;let {sbox2:_0x3ae018,T01:_0x206f8d,T23:_0x4fc10e}=_0x2bb216,_0xb31bd4=0x0;_0x156c40^=_0x8b2762[_0xb31bd4++],_0x2f8aff^=_0x8b2762[_0xb31bd4++],_0x3aa835^=_0x8b2762[_0xb31bd4++],_0x3d71a7^=_0x8b2762[_0xb31bd4++];let _0x8e9559=_0x8b2762[_0x5700ef(0x2c6)]/0x4-0x2;for(let _0xc2951c=0x0;_0xc2951c<_0x8e9559;_0xc2951c++){let _0x300cc2=_0x8b2762[_0xb31bd4++]^_0x3bc83e(_0x206f8d,_0x4fc10e,_0x156c40,_0x2f8aff,_0x3aa835,_0x3d71a7),_0x5bcadd=_0x8b2762[_0xb31bd4++]^_0x3bc83e(_0x206f8d,_0x4fc10e,_0x2f8aff,_0x3aa835,_0x3d71a7,_0x156c40),_0x15b811=_0x8b2762[_0xb31bd4++]^_0x3bc83e(_0x206f8d,_0x4fc10e,_0x3aa835,_0x3d71a7,_0x156c40,_0x2f8aff),_0x484471=_0x8b2762[_0xb31bd4++]^_0x3bc83e(_0x206f8d,_0x4fc10e,_0x3d71a7,_0x156c40,_0x2f8aff,_0x3aa835);_0x156c40=_0x300cc2,_0x2f8aff=_0x5bcadd,_0x3aa835=_0x15b811,_0x3d71a7=_0x484471;}return{'s0':_0x8b2762[_0xb31bd4++]^_0x4e9853(_0x3ae018,_0x156c40,_0x2f8aff,_0x3aa835,_0x3d71a7),'s1':_0x8b2762[_0xb31bd4++]^_0x4e9853(_0x3ae018,_0x2f8aff,_0x3aa835,_0x3d71a7,_0x156c40),'s2':_0x8b2762[_0xb31bd4++]^_0x4e9853(_0x3ae018,_0x3aa835,_0x3d71a7,_0x156c40,_0x2f8aff),'s3':_0x8b2762[_0xb31bd4++]^_0x4e9853(_0x3ae018,_0x3d71a7,_0x156c40,_0x2f8aff,_0x3aa835)};}function _0x4537dd(_0x5043bc,_0x2c7101,_0x4920fb,_0x2a5d38,_0x22e04b){const _0x584f8c=_0x582532;let {sbox2:_0x3ced94,T01:_0x79fcf1,T23:_0x23eb7f}=_0x29174a,_0x151046=0x0;_0x2c7101^=_0x5043bc[_0x151046++],_0x4920fb^=_0x5043bc[_0x151046++],_0x2a5d38^=_0x5043bc[_0x151046++],_0x22e04b^=_0x5043bc[_0x151046++];let _0x2b1bb3=_0x5043bc[_0x584f8c(0x2c6)]/0x4-0x2;for(let _0x198297=0x0;_0x198297<_0x2b1bb3;_0x198297++){let _0x42dd3a=_0x5043bc[_0x151046++]^_0x3bc83e(_0x79fcf1,_0x23eb7f,_0x2c7101,_0x22e04b,_0x2a5d38,_0x4920fb),_0x4e601c=_0x5043bc[_0x151046++]^_0x3bc83e(_0x79fcf1,_0x23eb7f,_0x4920fb,_0x2c7101,_0x22e04b,_0x2a5d38),_0x5ef9a6=_0x5043bc[_0x151046++]^_0x3bc83e(_0x79fcf1,_0x23eb7f,_0x2a5d38,_0x4920fb,_0x2c7101,_0x22e04b),_0x5dd8ad=_0x5043bc[_0x151046++]^_0x3bc83e(_0x79fcf1,_0x23eb7f,_0x22e04b,_0x2a5d38,_0x4920fb,_0x2c7101);_0x2c7101=_0x42dd3a,_0x4920fb=_0x4e601c,_0x2a5d38=_0x5ef9a6,_0x22e04b=_0x5dd8ad;}return{'s0':_0x5043bc[_0x151046++]^_0x4e9853(_0x3ced94,_0x2c7101,_0x22e04b,_0x2a5d38,_0x4920fb),'s1':_0x5043bc[_0x151046++]^_0x4e9853(_0x3ced94,_0x4920fb,_0x2c7101,_0x22e04b,_0x2a5d38),'s2':_0x5043bc[_0x151046++]^_0x4e9853(_0x3ced94,_0x2a5d38,_0x4920fb,_0x2c7101,_0x22e04b),'s3':_0x5043bc[_0x151046++]^_0x4e9853(_0x3ced94,_0x22e04b,_0x2a5d38,_0x4920fb,_0x2c7101)};}function _0x5665ee(_0x38d7bc){const _0x33b95d=_0x582532;if(_0x2b212e(_0x38d7bc),_0x38d7bc[_0x33b95d(0x2c6)]%0x10!=0x0)throw Error(_0x33b95d(0x3af));}function _0x1d63e3(_0x3b504f,_0x3048ad,_0x261980){const _0x2cf438=_0x582532;_0x2b212e(_0x3b504f);let _0x158f68=_0x3b504f[_0x2cf438(0x2c6)],_0x4f6c24=_0x158f68%0x10;if(!_0x3048ad&&_0x4f6c24!==0x0)throw Error(_0x2cf438(0x258));if(_0x3048ad){let _0x1cc9a2=0x10-_0x4f6c24;_0x1cc9a2||(_0x1cc9a2=0x10),_0x158f68+=_0x1cc9a2;}_0x261980=_0x1a7d56(_0x158f68,_0x261980),_0x1c61a7(_0x3b504f,_0x261980),(!_0x4512aa||!_0x37db50(_0x3b504f))&&(_0x3b504f=_0x11fe44(_0x3b504f));let _0x4fb4d4=_0x50d30e(_0x3b504f);return _0x32199a(_0x4fb4d4),{'b':_0x4fb4d4,'o':_0x50d30e(_0x261980),'out':_0x261980};}function _0xe2a58(_0xb6937b,_0x20760b){const _0xb9be62=_0x582532;if(!_0x20760b)return _0xb6937b;let _0x4f8417=_0xb6937b[_0xb9be62(0x2c6)];if(_0x4f8417===0x0)throw Error(_0xb9be62(0x302));let _0x457a9a=_0xb6937b[_0x4f8417-0x1],_0x43e8de=0x1;_0x43e8de&=_0x457a9a-0x1>>>0x1f^0x1,_0x43e8de&=0x10-_0x457a9a>>>0x1f^0x1;for(let _0x2504a2=0x0;_0x2504a2<0x10;_0x2504a2++){let _0x353c46=_0x2504a2-_0x457a9a>>>0x1f,_0x533d3e=+((_0xb6937b[_0x4f8417-0x1-_0x2504a2]^_0x457a9a)===0x0);_0x43e8de&=_0x533d3e|_0x353c46^0x1;}if(!_0x43e8de)throw Error(_0xb9be62(0x2da));return _0xb6937b[_0xb9be62(0x376)](0x0,_0x4f8417-_0x457a9a);}function _0x142ef9(_0x441925){const _0x401e98=_0x582532;let _0x585aaf=new Uint8Array(0x10),_0x3a4758=_0x50d30e(_0x585aaf);_0x585aaf[_0x401e98(0x31e)](_0x441925);let _0x2ccb3a=0x10-_0x441925[_0x401e98(0x2c6)];for(let _0x511b31=0x10-_0x2ccb3a;_0x511b31<0x10;_0x511b31++)_0x585aaf[_0x511b31]=_0x2ccb3a;return _0x3a4758;}let _0x1cd376=_0x28fc36({'blockSize':0x10,'nonceLength':0x10},function(_0x51ec6c,_0x233b67,_0x53f855={}){const _0x25516f=_0x582532;let _0x1442a0=!_0x53f855[_0x25516f(0x3bf)];return{'encrypt'(_0x179b6b,_0x1c4ba6){const _0x19f34f=_0x25516f;let _0x4e5fee=_0x5a5350(_0x51ec6c),{b:_0x12039f,o:_0x28da20,out:_0x598d70}=_0x1d63e3(_0x179b6b,_0x1442a0,_0x1c4ba6),_0x53cf9d=_0x233b67,_0x28deb4=[_0x4e5fee];(!_0x4512aa||!_0x37db50(_0x53cf9d))&&_0x28deb4[_0x19f34f(0x2b7)](_0x53cf9d=_0x11fe44(_0x53cf9d));let _0x307dd6=_0x50d30e(_0x53cf9d);_0x32199a(_0x307dd6);let _0x368f5c=_0x307dd6[0x0],_0x2ca1bf=_0x307dd6[0x1],_0x1fc217=_0x307dd6[0x2],_0x5169a0=_0x307dd6[0x3],_0xa93538=0x0;for(;_0xa93538+0x4<=_0x12039f[_0x19f34f(0x2c6)];)_0x368f5c^=_0x12039f[_0xa93538+0x0],_0x2ca1bf^=_0x12039f[_0xa93538+0x1],_0x1fc217^=_0x12039f[_0xa93538+0x2],_0x5169a0^=_0x12039f[_0xa93538+0x3],{s0:_0x368f5c,s1:_0x2ca1bf,s2:_0x1fc217,s3:_0x5169a0}=_0x42a4f2(_0x4e5fee,_0x368f5c,_0x2ca1bf,_0x1fc217,_0x5169a0),_0x28da20[_0xa93538++]=_0x368f5c,_0x28da20[_0xa93538++]=_0x2ca1bf,_0x28da20[_0xa93538++]=_0x1fc217,_0x28da20[_0xa93538++]=_0x5169a0;if(_0x1442a0){let _0x5211e1=_0x142ef9(_0x179b6b[_0x19f34f(0x376)](_0xa93538*0x4));_0x32199a(_0x5211e1),_0x368f5c^=_0x5211e1[0x0],_0x2ca1bf^=_0x5211e1[0x1],_0x1fc217^=_0x5211e1[0x2],_0x5169a0^=_0x5211e1[0x3],{s0:_0x368f5c,s1:_0x2ca1bf,s2:_0x1fc217,s3:_0x5169a0}=_0x42a4f2(_0x4e5fee,_0x368f5c,_0x2ca1bf,_0x1fc217,_0x5169a0),_0x28da20[_0xa93538++]=_0x368f5c,_0x28da20[_0xa93538++]=_0x2ca1bf,_0x28da20[_0xa93538++]=_0x1fc217,_0x28da20[_0xa93538++]=_0x5169a0;}return _0x32199a(_0x28da20),_0x524ec3(..._0x28deb4),_0x598d70;},'decrypt'(_0x936a93,_0x1a49ae){const _0x54a305=_0x25516f;_0x5665ee(_0x936a93);let _0x5404b4=_0x43ba7b(_0x51ec6c),_0x46b331=_0x233b67,_0x3ea06c=[_0x5404b4];(!_0x4512aa||!_0x37db50(_0x46b331))&&_0x3ea06c[_0x54a305(0x2b7)](_0x46b331=_0x11fe44(_0x46b331));let _0x2da209=_0x50d30e(_0x46b331);_0x32199a(_0x2da209),_0x1a49ae=_0x1a7d56(_0x936a93['length'],_0x1a49ae),_0x1c61a7(_0x936a93,_0x1a49ae),(!_0x4512aa||!_0x37db50(_0x936a93))&&_0x3ea06c['push'](_0x936a93=_0x11fe44(_0x936a93));let _0x5ccd18=_0x50d30e(_0x936a93),_0x45b1b9=_0x50d30e(_0x1a49ae);_0x32199a(_0x5ccd18);let _0x2348ca=_0x2da209[0x0],_0x543eba=_0x2da209[0x1],_0x594d44=_0x2da209[0x2],_0x2bb1a4=_0x2da209[0x3];for(let _0x118bb4=0x0;_0x118bb4+0x4<=_0x5ccd18[_0x54a305(0x2c6)];){let _0x2477c9=_0x2348ca,_0x43ba60=_0x543eba,_0x5bf589=_0x594d44,_0x5c0832=_0x2bb1a4;_0x2348ca=_0x5ccd18[_0x118bb4+0x0],_0x543eba=_0x5ccd18[_0x118bb4+0x1],_0x594d44=_0x5ccd18[_0x118bb4+0x2],_0x2bb1a4=_0x5ccd18[_0x118bb4+0x3];let {s0:_0x41ee55,s1:_0x1f3131,s2:_0x4b9473,s3:_0x1054cd}=_0x4537dd(_0x5404b4,_0x2348ca,_0x543eba,_0x594d44,_0x2bb1a4);_0x45b1b9[_0x118bb4++]=_0x41ee55^_0x2477c9,_0x45b1b9[_0x118bb4++]=_0x1f3131^_0x43ba60,_0x45b1b9[_0x118bb4++]=_0x4b9473^_0x5bf589,_0x45b1b9[_0x118bb4++]=_0x1054cd^_0x5c0832;}return _0x32199a(_0x45b1b9),_0x524ec3(..._0x3ea06c),_0xe2a58(_0x1a49ae,_0x1442a0);}};});function _0x28a73e(_0x8a0a88){const _0x5bdc4d=_0x582532;let _0x172e02=atob(_0x8a0a88),_0x1b0445=new Uint8Array(_0x172e02[_0x5bdc4d(0x2c6)]);for(let _0x363c19=0x0;_0x363c19<_0x172e02[_0x5bdc4d(0x2c6)];_0x363c19++)_0x1b0445[_0x363c19]=_0x172e02[_0x5bdc4d(0x3f4)](_0x363c19);return _0x1b0445;}function _0x304433(_0x11ff17){const _0x1684c7=_0x582532;let _0x1b35c8='';for(let _0x21345a=0x0;_0x21345a<_0x11ff17[_0x1684c7(0x2c6)];_0x21345a++)_0x1b35c8+=String[_0x1684c7(0x181)](_0x11ff17[_0x21345a]);return btoa(_0x1b35c8);}function _0x202928(_0x202831,_0x349b91){const _0x209bd8=_0x582532;let _0x14e356=_0x28a73e(_0x349b91),_0x3dcbe4=_0x8b606d(0x10);return _0x304433(_0x3f3bb2(_0x3dcbe4,_0x1cd376(_0x14e356,_0x3dcbe4)[_0x209bd8(0x170)](_0x5cc704(_0x202831))));}function _0x14bffd(){const _0x246af9=_0x582532;let _0x57e86a=(0x0,_0xaf7c7d['getGlobalObject'])()[_0x246af9(0x3d9)];if(typeof window<'u'&&window[_0x246af9(0x383)]!==void 0x0&&_0x57e86a){let _0x467bde={'time':Math['floor'](Date[_0x246af9(0x14c)]()/0x3e8),'domain':location[_0x246af9(0x3c1)]};return _0x202928(JSON['stringify'](_0x467bde),_0x57e86a);}}let _0x23debf=class{constructor(_0x36eed4){const _0x40bfaf=_0x582532;this[_0x40bfaf(0x195)]=_0x36eed4,this[_0x40bfaf(0x3cf)]();}[_0x582532(0x3cf)](){const _0x4d2f94=_0x582532;this[_0x4d2f94(0x195)][_0x4d2f94(0x185)]({'interceptor':(_0x2dc6d8,_0x1ce67e)=>{const _0xc305ea=_0x4d2f94;let _0x594d28=_0x14bffd();return _0x594d28&&_0x2dc6d8['headers'][_0xc305ea(0x31e)](_0xc305ea(0x28d),_0x594d28),_0x1ce67e(_0x2dc6d8);}});}};_0x23debf=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xf4c2fc['HTTPService']))],_0x23debf);let _0xc0f129=class extends _0x21f9b6[_0x582532(0x1c3)]{constructor(_0x4c76c5,_0x1d15ee,_0x53f7ed){const _0x48f1be=_0x582532;super(),this[_0x48f1be(0x423)]=_0x4c76c5,this['_snapshotService']=_0x1d15ee,this['_localCacheService']=_0x53f7ed,_0x158768(this,_0x48f1be(0x410),new _0x4ea2bc[(_0x48f1be(0x319))](null)),_0x158768(this,'unitInfo$',this['_unitInfo$']['asObservable']());}async[_0x582532(0x3dd)](_0x5bc631,_0x49f49c,_0x374797){const _0x47bb92=_0x582532;this[_0x47bb92(0x410)][_0x47bb92(0x270)]({'unitId':_0x5bc631,'type':_0x49f49c});let _0x57d0cb=null;switch(_0x49f49c){case _0x21f9b6[_0x47bb92(0x3e4)][_0x47bb92(0x1ba)]:_0x57d0cb=await this['_snapshotService'][_0x47bb92(0x1bd)](_0x5bc631,_0x374797);break;case _0x21f9b6['UniverInstanceType'][_0x47bb92(0x1f3)]:_0x57d0cb=await this['_snapshotService'][_0x47bb92(0x360)](_0x5bc631,_0x374797);break;default:this[_0x47bb92(0x423)][_0x47bb92(0x171)]('[DataLoaderService]',_0x47bb92(0x1f6));break;}return _0x57d0cb;}async[_0x582532(0x346)](_0x2adb3a,_0x41a794,_0x4f5b3a){const _0x1d1ac0=_0x582532;var _0x4aee01;this[_0x1d1ac0(0x410)]['next']({'unitId':_0x2adb3a,'type':_0x41a794,'subUnitId':_0x4f5b3a});let _0x94face=0x0,_0x2bf44c=await((_0x4aee01=this['_localCacheService'])==null?void 0x0:_0x4aee01[_0x1d1ac0(0x1a7)](_0x2adb3a));return _0x2bf44c&&(_0x2bf44c[_0x1d1ac0(0x343)]||_0x2bf44c[_0x1d1ac0(0x393)][_0x1d1ac0(0x2c6)]!==0x0)&&(_0x94face=_0x2bf44c[_0x1d1ac0(0x3f7)]),_0x94face===0x0&&this[_0x1d1ac0(0x423)][_0x1d1ac0(0x2b1)](_0x1d1ac0(0x17f),_0x1d1ac0(0x404)),this[_0x1d1ac0(0x3dd)](_0x2adb3a,_0x41a794,_0x94face);}};_0xc0f129=_0x9fca30([_0x385b9b(0x0,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0x1,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x40f)])),_0x385b9b(0x2,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0xc0f129);let _0x20a57b=['image/png',_0x582532(0x2a6),_0x582532(0x27b),_0x582532(0x29f),'image/bmp'],_0x567524=class{constructor(_0x59cf01,_0x4d66ef,_0x423e07){const _0x4d8296=_0x582532;this[_0x4d8296(0x195)]=_0x59cf01,this['_configService']=_0x4d66ef,this[_0x4d8296(0x136)]=_0x423e07,_0x158768(this,_0x4d8296(0x416),0x0),_0x158768(this,_0x4d8296(0x290),new _0x4ea2bc['Subject']()),_0x158768(this,_0x4d8296(0x34d),this[_0x4d8296(0x290)]),_0x158768(this,_0x4d8296(0x2fa),new Map());}[_0x582532(0x2d0)](_0x31aaee){const _0x56bfa6=_0x582532;this[_0x56bfa6(0x416)]=_0x31aaee,this[_0x56bfa6(0x290)][_0x56bfa6(0x270)](_0x31aaee);}['getImageSourceCache'](_0x44f755,_0x80d942){const _0x22e950=_0x582532;if(_0x80d942===_0x432f50['ImageSourceType'][_0x22e950(0x224)]){let _0x19a232=new Image();return _0x19a232['src']=_0x44f755,_0x19a232;}return this[_0x22e950(0x2fa)][_0x22e950(0x19e)](_0x44f755);}[_0x582532(0x15b)](_0x4e2e0f,_0x329b36,_0x1a754e){const _0xbb2a08=_0x582532;_0x329b36===_0x432f50[_0xbb2a08(0x23a)]['BASE64']||_0x1a754e==null||this[_0xbb2a08(0x2fa)][_0xbb2a08(0x31e)](_0x4e2e0f,_0x1a754e);}async[_0x582532(0x269)](_0x2ee489){const _0x238a60=_0x582532;try{let _0x612eb2=this[_0x238a60(0x27c)](this[_0x238a60(0x12b)](),''+_0x2ee489),_0xb12a8d=(await this['_httpService']['get'](_0x612eb2))[_0x238a60(0x41f)];if(_0xb12a8d[_0x238a60(0x171)]&&_0xb12a8d[_0x238a60(0x171)][_0x238a60(0x422)]===_0x4d42e2[_0x238a60(0x32a)]['OK']){let _0x1f6949=(0x0,_0x21f9b6[_0x238a60(0x1fe)])(_0xb12a8d['url'],this['_getDownloadEndpointURL']());return Promise['resolve'](_0x1f6949);}return Promise[_0x238a60(0x225)](_0xb12a8d[_0x238a60(0x171)]);}catch(_0x5670fc){return Promise['reject'](_0x5670fc);}}async[_0x582532(0x315)](_0x45a0b2){const _0x298f9a=_0x582532;let _0x7fb1de='';if(!_0x20a57b[_0x298f9a(0x180)](_0x45a0b2['type']))return this[_0x298f9a(0x1c7)](),Promise[_0x298f9a(0x225)](Error(_0x432f50[_0x298f9a(0x1cf)][_0x298f9a(0x3c2)]));if(_0x45a0b2[_0x298f9a(0x186)]>0x500000)return this['_decreaseWaiting'](),Promise[_0x298f9a(0x225)](Error(_0x432f50[_0x298f9a(0x1cf)]['ERROR_EXCEED_SIZE']));try{let _0x15651a=new FormData();_0x15651a[_0x298f9a(0x361)](_0x298f9a(0x411),_0x45a0b2);let _0x35edb1=this['_univerInstanceService'][_0x298f9a(0x3ce)](),_0x223b53=_0x35edb1==null?void 0x0:_0x35edb1[_0x298f9a(0x31b)]();if(!_0x223b53)throw Error('unitId\x20is\x20not\x20found');let _0x4109ab=this[_0x298f9a(0x425)]()+_0x298f9a(0x173)+_0x45a0b2[_0x298f9a(0x186)]['toString']()+'&source='+_0x4d42e2['FileSource'][_0x298f9a(0x260)]+_0x298f9a(0x1cc)+encodeURIComponent(_0x223b53),_0x12c897={'body':_0x15651a},_0x132e18=(await this[_0x298f9a(0x195)][_0x298f9a(0x370)](_0x4109ab,_0x12c897))[_0x298f9a(0x41f)];if(typeof _0x132e18[_0x298f9a(0x3a7)]!=_0x298f9a(0x255))return this['_decreaseWaiting'](),Promise[_0x298f9a(0x225)](Error(_0x432f50['ImageUploadStatusType'][_0x298f9a(0x39b)]));_0x7fb1de=_0x132e18['FileId'];}catch{return this[_0x298f9a(0x1c7)](),Promise[_0x298f9a(0x225)](Error(_0x432f50['ImageUploadStatusType'][_0x298f9a(0x39b)]));}return new Promise((_0x440d97,_0x5c5c9b)=>{const _0x5f2f27=_0x298f9a;let _0x152f8f=new FileReader();_0x152f8f[_0x5f2f27(0x3a1)](_0x45a0b2),_0x152f8f[_0x5f2f27(0x3f0)]=_0xe8a163=>{const _0x4ae741=_0x5f2f27;var _0x38a0a1;let _0x449474=(_0x38a0a1=_0xe8a163[_0x4ae741(0x3bd)])==null?void 0x0:_0x38a0a1[_0x4ae741(0x20c)];if(_0x449474==null){this['_decreaseWaiting'](),_0x5c5c9b(Error(_0x432f50[_0x4ae741(0x1cf)][_0x4ae741(0x39b)]));return;}_0x440d97({'imageId':(0x0,_0x21f9b6[_0x4ae741(0x2df)])(0x6),'imageSourceType':_0x432f50[_0x4ae741(0x23a)][_0x4ae741(0x3b3)],'source':_0x7fb1de,'base64Cache':_0x449474,'status':_0x432f50[_0x4ae741(0x1cf)][_0x4ae741(0x2a4)]}),this[_0x4ae741(0x1c7)]();};});}[_0x582532(0x425)](){const _0x12da30=_0x582532;var _0x4c0d02;let _0x3363b6=this[_0x12da30(0x3b0)]['getConfig'](_0x3b7e3d);return(_0x4c0d02=_0x3363b6==null?void 0x0:_0x3363b6[_0x12da30(0x194)])==null?_0x12da30(0x137):_0x4c0d02;}[_0x582532(0x12b)](){const _0x5ebfe3=_0x582532;var _0x17ab87;let _0x939138=this[_0x5ebfe3(0x3b0)][_0x5ebfe3(0x2ba)](_0x3b7e3d);return(_0x17ab87=_0x939138==null?void 0x0:_0x939138[_0x5ebfe3(0x287)])==null?_0x5ebfe3(0x34f):_0x17ab87;}[_0x582532(0x3d3)](){const _0x5533aa=_0x582532;var _0x2bbb83;let _0x388621=this['_configService']['getConfig'](_0x3b7e3d);return(_0x2bbb83=_0x388621==null?void 0x0:_0x388621[_0x5533aa(0x193)])==null?location['origin']:_0x2bbb83;}['_replaceFileID'](_0x5c47a0,_0x38f5f9){const _0x44e421=_0x582532;return _0x5c47a0[_0x44e421(0x30c)](_0x44e421(0x3a9),_0x38f5f9);}[_0x582532(0x1c7)](){const _0x5c7d5a=_0x582532;--this['_waitCount'],this['_change$'][_0x5c7d5a(0x270)](this[_0x5c7d5a(0x416)]);}};_0x567524=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xf4c2fc[_0x582532(0x1b3)])),_0x385b9b(0x1,_0x21f9b6[_0x582532(0x3e2)]),_0x385b9b(0x2,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x207)]))],_0x567524);let _0x51ebde=class{constructor(_0x119f07,_0x17a32c){const _0x40875b=_0x582532;this['_configService']=_0x119f07,this[_0x40875b(0x285)]=_0x17a32c;}[_0x582532(0x2d3)](){const _0x390e02=_0x582532;var _0x4c1e97;let _0x4b114=this[_0x390e02(0x3b0)][_0x390e02(0x2ba)](_0x3b7e3d);return(_0x4c1e97=_0x4b114==null?void 0x0:_0x4b114[_0x390e02(0x1ec)])==null?'/universer-api/authz':_0x4c1e97;}async[_0x582532(0x251)](_0x30726f){const _0x19770a=_0x582532;let _0x2eb54c=this[_0x19770a(0x2d3)]()+'/collaborator';return{'list':[{'title':_0x19770a(0x205),'mentions':(await this[_0x19770a(0x285)]['get'](_0x2eb54c,{'params':{'objectID':_0x30726f[_0x19770a(0x415)],'unitID':_0x30726f[_0x19770a(0x415)]}}))['body']['collaborators']['map'](_0x30c717=>({'objectId':_0x30c717['id'],'name':_0x30c717[_0x19770a(0x39e)][_0x19770a(0x272)],'metadata':{'icon':_0x30c717[_0x19770a(0x39e)][_0x19770a(0x1d0)]},'label':_0x30c717[_0x19770a(0x39e)]['name'],'objectType':_0x21f9b6[_0x19770a(0x331)][_0x19770a(0x36d)]})),'metadata':{},'type':_0x21f9b6[_0x19770a(0x331)][_0x19770a(0x36d)]}]};}};_0x51ebde=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6['Inject'])(_0x21f9b6['IConfigService'])),_0x385b9b(0x1,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xf4c2fc[_0x582532(0x1b3)]))],_0x51ebde);let _0x2ff624=class extends _0x21f9b6[_0x582532(0x1c3)]{constructor(_0x2567eb,_0x42d4fc,_0x3afe36,_0xcac7e9,_0x40f732){const _0x521472=_0x582532;super(),this[_0x521472(0x279)]=_0x2567eb,this[_0x521472(0x136)]=_0x42d4fc,this[_0x521472(0x3bb)]=_0x3afe36,this[_0x521472(0x1a3)]=_0xcac7e9,this[_0x521472(0x2ca)]=_0x40f732,this[_0x521472(0x1b9)](),this['_initCloseConn']();}[_0x582532(0x259)](){const _0x508611=_0x582532;let _0x41f917=async _0x1beff0=>{const _0x38543c=_0x1dac;(await this['_collaborationSessionService'][_0x38543c(0x13a)](_0x1beff0))[_0x38543c(0x1a6)][_0x38543c(0x12f)]((0x0,_0x40ad09[_0x38543c(0x382)])(_0x26c956=>_0x26c956[_0x38543c(0x23e)]===_0xba6f9e[_0x38543c(0x417)][_0x38543c(0x22e)]),(0x0,_0x40ad09[_0x38543c(0x172)])(this[_0x38543c(0x3b8)]))[_0x38543c(0x237)](_0x3e88f0=>{const _0x566816=_0x38543c;let {reason:_0x381427}=_0x3e88f0[_0x566816(0x163)];this[_0x566816(0x2ca)][_0x566816(0x121)]({'id':_0x214ddb[_0x566816(0x365)],'data':_0x381427}),this[_0x566816(0x3bb)]['updatePermissionPoint'](new _0x17b170['WorkbookEditablePermission'](_0x1beff0)['id'],!0x1),this['_collaborationSessionService'][_0x566816(0x3b5)](_0x1beff0);});};(0x0,_0x4ea2bc[_0x508611(0x366)])(this[_0x508611(0x136)]['getTypeOfUnitAdded$'](_0x21f9b6['UniverInstanceType'][_0x508611(0x1ba)]),this['_univerInstanceService'][_0x508611(0x2e6)](_0x21f9b6[_0x508611(0x3e4)]['UNIVER_DOC']))[_0x508611(0x12f)]((0x0,_0x40ad09['map'])(_0x353819=>_0x353819['getUnitId']()),(0x0,_0x40ad09[_0x508611(0x382)])(_0x57f6d4=>!(0x0,_0x21f9b6[_0x508611(0x233)])(_0x57f6d4)),(0x0,_0x40ad09['takeUntil'])(this[_0x508611(0x3b8)]))[_0x508611(0x237)](_0x305db0=>{_0x41f917(_0x305db0);});}[_0x582532(0x1b9)](){const _0x1c7330=_0x582532;let _0x3e9e1e=async _0x2f2e48=>{const _0x4b74d9=_0x1dac;let _0x3d9a6a=await this['_collaborationSessionService'][_0x4b74d9(0x13a)](_0x2f2e48),_0x21542c=this[_0x4b74d9(0x279)]['get'](_0x17b170[_0x4b74d9(0x1d6)]);_0x3d9a6a[_0x4b74d9(0x1a6)][_0x4b74d9(0x12f)]((0x0,_0x40ad09['filter'])(_0x47ade5=>_0x47ade5[_0x4b74d9(0x23e)]===_0xba6f9e['CollaborationEvent']['UPDATE_PERMISSION_OBJ']),(0x0,_0x40ad09[_0x4b74d9(0x172)])(this[_0x4b74d9(0x3b8)]))[_0x4b74d9(0x237)](_0x3dc6cd=>{const _0x3200b2=_0x4b74d9;let {objectId:_0x362ae3}=_0x3dc6cd['data'];_0x362ae3===_0x2f2e48?_0x21542c[_0x3200b2(0x3d6)](_0x2f2e48):_0x21542c[_0x3200b2(0x20a)](_0x2f2e48,_0x362ae3);});};(0x0,_0x4ea2bc[_0x1c7330(0x366)])(this['_univerInstanceService'][_0x1c7330(0x2e6)](_0x21f9b6[_0x1c7330(0x3e4)]['UNIVER_SHEET']))[_0x1c7330(0x12f)]((0x0,_0x40ad09[_0x1c7330(0x312)])(_0x16f855=>_0x16f855[_0x1c7330(0x31b)]()),(0x0,_0x40ad09['filter'])(_0x437e61=>!(0x0,_0x21f9b6[_0x1c7330(0x233)])(_0x437e61)),(0x0,_0x40ad09['takeUntil'])(this[_0x1c7330(0x3b8)]))[_0x1c7330(0x237)](_0xfa03ba=>{_0x3e9e1e(_0xfa03ba);});}};_0x2ff624=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x1,_0x21f9b6['IUniverInstanceService']),_0x385b9b(0x2,_0x21f9b6[_0x582532(0x350)]),_0x385b9b(0x3,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x457933)),_0x385b9b(0x4,(0x0,_0x21f9b6['Inject'])(_0x49c645))],_0x2ff624);let _0x583f98=class{constructor(_0x488d32,_0x4e759d){const _0x5ba7c7=_0x582532;this[_0x5ba7c7(0x3b0)]=_0x488d32,this['_httpService']=_0x4e759d;}async[_0x582532(0x155)](_0x12fad3,_0x2e09f0){const _0x4eccee=_0x582532;var _0x48ee03;let {unitID:_0x25aeb5,type:_0x42bdee,revision:_0x55a56e=0x0}=_0x2e09f0,_0x5349d4=this[_0x4eccee(0x177)]()+'/'+_0x42bdee+'/unit/'+_0x25aeb5+_0x4eccee(0x1c8)+_0x55a56e,_0x1ecb54=(await this['_httpService'][_0x4eccee(0x19e)](_0x5349d4))[_0x4eccee(0x41f)],_0x5e3968=(_0x48ee03=_0x1ecb54[_0x4eccee(0x3f5)])==null?void 0x0:_0x48ee03[_0x4eccee(0x305)];if(_0x5e3968){let _0x58f4d3=_0x5e3968==null?void 0x0:_0x5e3968['originalMeta'];_0x5e3968['originalMeta']=_0xba6f9e[_0x4eccee(0x3c3)][_0x4eccee(0x30e)]((0x0,_0xba6f9e[_0x4eccee(0x384)])(_0x58f4d3)),Object[_0x4eccee(0x304)](_0x5e3968[_0x4eccee(0x278)])[_0x4eccee(0x2c3)](([,_0x5bfcbf])=>{const _0x2979aa=_0x4eccee;let _0x519785=_0x5bfcbf[_0x2979aa(0x38f)];_0x5bfcbf['originalMeta']=_0xba6f9e['textEncoder']['encode']((0x0,_0xba6f9e[_0x2979aa(0x384)])(_0x519785));});}return _0x1ecb54;}async[_0x582532(0x235)](_0x113abe,_0x177128){const _0x33110e=_0x582532;let {unitID:_0x2eaa90,type:_0xaa9c5d,blockID:_0x4c0b84}=_0x177128,_0x5d88a0=this[_0x33110e(0x228)]()+'/'+_0xaa9c5d+_0x33110e(0x11e)+_0x2eaa90+_0x33110e(0x42c)+_0x4c0b84;return(await this[_0x33110e(0x195)]['get'](_0x5d88a0))['body'];}async[_0x582532(0x2a9)](_0x2db860,_0x8f1534){const _0x59e13d=_0x582532;let {unitID:_0x2af368,type:_0x32c5c0,blockID:_0x120bb3}=_0x8f1534,_0xc5a377=this['_getAPIPrefix']()+'/block/'+_0x32c5c0+_0x59e13d(0x11e)+_0x2af368+_0x59e13d(0x42c)+_0x120bb3;return(await this[_0x59e13d(0x195)][_0x59e13d(0x19e)](_0xc5a377))[_0x59e13d(0x41f)];}async[_0x582532(0x176)](_0x5a9330,_0x46e10f){const _0x4aa548=_0x582532;let {unitID:_0x26eb6c,type:_0xac34c0,from:_0x3cfbbe,to:_0x23b9a6}=_0x46e10f,_0x1684aa=this['_getAPIPrefix']()+'/'+_0xac34c0+'/unit/'+_0x26eb6c+_0x4aa548(0x25b)+_0x3cfbbe+_0x4aa548(0x33d)+_0x23b9a6;return(await this[_0x4aa548(0x195)][_0x4aa548(0x19e)](_0x1684aa))['body'];}[_0x582532(0x177)](){const _0x173883=_0x582532;var _0x21e5a7;return(_0x21e5a7=this['_configService']['getConfig'](_0x173883(0x268)))==null?this[_0x173883(0x228)]():_0x21e5a7;}[_0x582532(0x228)](){const _0x409884=_0x582532;var _0x834c38;let _0x235f3c=this[_0x409884(0x3b0)][_0x409884(0x2ba)](_0x3b7e3d);return(_0x834c38=_0x235f3c==null?void 0x0:_0x235f3c['snapshotServerUrl'])==null?'/universer-api/snapshot':_0x834c38;}async[_0x582532(0x372)](_0x3f1365,_0x718086){const _0x4dc852=_0x582532;let _0x14fb0d=_0x4dc852(0x1d4)+_0x718086[_0x4dc852(0x1a4)]+_0x4dc852(0x11e)+_0x718086[_0x4dc852(0x142)]+_0x4dc852(0x355);return(await this[_0x4dc852(0x195)][_0x4dc852(0x19e)](_0x14fb0d,{'params':{'resourceId':JSON['stringify'](_0x718086[_0x4dc852(0x129)])}}))[_0x4dc852(0x41f)];}[_0x582532(0x24e)](){const _0x4a8d54=_0x582532;throw Error(_0x4a8d54(0x2d5));}[_0x582532(0x318)](){throw Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x582532(0x12e)](){const _0x3e0669=_0x582532;throw Error(_0x3e0669(0x2d5));}['saveChangeset'](){const _0x4385af=_0x582532;throw Error(_0x4385af(0x2d5));}[_0x582532(0x3b1)](){throw Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x582532(0x3ea)](){const _0x3a541f=_0x582532;throw Error(_0x3a541f(0x2d5));}};_0x583f98=_0x9fca30([_0x385b9b(0x0,_0x21f9b6[_0x582532(0x3e2)]),_0x385b9b(0x1,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xf4c2fc[_0x582532(0x1b3)]))],_0x583f98);let _0x42923c=class extends _0x21f9b6[_0x582532(0x240)]{constructor(_0x5b491f,_0x255d61,_0x11b184,_0x5cbc43,_0x5084e4){const _0x5223d4=_0x582532;super(_0x5b491f,_0x255d61,_0x11b184),this['_transformService']=_0x5cbc43,this[_0x5223d4(0x423)]=_0x5084e4;}[_0x582532(0x21b)](_0x256da3,_0x1ead75){const _0x34022c=_0x582532;let _0x1482a3=this[_0x34022c(0x3a2)](_0x256da3);if(_0x1482a3)try{let _0x14822e=this['_transformStack'](_0x1482a3,_0x1ead75);this['_substituteUndoStack'](_0x256da3,_0x14822e);}catch(_0x254aef){this[_0x34022c(0x423)][_0x34022c(0x171)](_0x34022c(0x36c),_0x254aef),this[_0x34022c(0x33b)](_0x256da3);}let _0x35562c=this[_0x34022c(0x271)](_0x256da3);if(_0x35562c)try{let _0xef1f6b=this[_0x34022c(0x26d)](_0x35562c,_0x1ead75);this['_substituteRedoStack'](_0x256da3,_0xef1f6b);}catch(_0x2f0ba2){this[_0x34022c(0x423)][_0x34022c(0x171)](_0x2f0ba2),this[_0x34022c(0x2b4)](_0x256da3);}}[_0x582532(0x33b)](_0x7e3b6f){const _0x15de06=_0x582532;let _0x532ed8=this[_0x15de06(0x3a2)](_0x7e3b6f);_0x532ed8&&(_0x532ed8[_0x15de06(0x2c6)]=0x0,this[_0x15de06(0x1d8)]());}[_0x582532(0x2b4)](_0x4ef4e4){const _0xdfbc8f=_0x582532;let _0x39a6ad=this['_getRedoStack'](_0x4ef4e4);_0x39a6ad&&(_0x39a6ad[_0xdfbc8f(0x2c6)]=0x0,this[_0xdfbc8f(0x1d8)]());}[_0x582532(0x322)](_0x5434bb,_0x3995ce){const _0x2acdf1=_0x582532;this[_0x2acdf1(0x300)][_0x2acdf1(0x31e)](_0x5434bb,_0x3995ce),this['_updateStatus']();}[_0x582532(0x223)](_0x2c8d3e,_0x2b411d){const _0x17efbc=_0x582532;this[_0x17efbc(0x245)][_0x17efbc(0x31e)](_0x2c8d3e,_0x2b411d),this[_0x17efbc(0x1d8)]();}[_0x582532(0x26d)](_0x4e2a3c,_0x1b1886){const _0x57759a=_0x582532;let _0x493079=[],_0x31827b=_0x1b1886,_0x49ec64=_0x1b1886;for(let _0xc2ab7=_0x4e2a3c['length']-0x1;_0xc2ab7>=0x0;_0xc2ab7--){let {unitID:_0x549ac4,undoMutations:_0x50f208,redoMutations:_0x5cd67a}=_0x4e2a3c[_0xc2ab7],_0x757007=this['_transformService'][_0x57759a(0x18a)](_0x31827b,_0x50f208),_0x211e5e=this[_0x57759a(0x32c)][_0x57759a(0x18a)](_0x49ec64,_0x5cd67a);if((0x0,_0xba6f9e[_0x57759a(0x134)])(_0x757007)||(0x0,_0xba6f9e[_0x57759a(0x134)])(_0x211e5e)){this[_0x57759a(0x423)][_0x57759a(0x171)]('[CollaborationUndoRedoService]',_0x57759a(0x409),_0x757007,_0x211e5e);break;}_0x31827b=_0x757007[_0x57759a(0x301)],_0x49ec64=_0x211e5e[_0x57759a(0x301)],_0x493079['push']({'unitID':_0x549ac4,'undoMutations':_0x757007[_0x57759a(0x419)],'redoMutations':_0x211e5e['m2Prime']});}return _0x493079[_0x57759a(0x19b)]();}};_0x42923c=_0x9fca30([_0x385b9b(0x0,_0x21f9b6[_0x582532(0x207)]),_0x385b9b(0x1,_0x21f9b6[_0x582532(0x284)]),_0x385b9b(0x2,_0x21f9b6[_0x582532(0x2cd)]),_0x385b9b(0x3,_0xba6f9e[_0x582532(0x2e5)]),_0x385b9b(0x4,_0x21f9b6[_0x582532(0x2d2)])],_0x42923c);let _0x10a260=class extends _0x21f9b6[_0x582532(0x201)]{constructor(_0x27815d={},_0x3ac0ff,_0x344d62,_0x5db8b2){const _0x5c6ace=_0x582532;super(),this[_0x5c6ace(0x226)]=_0x27815d,this['_logService']=_0x3ac0ff,this[_0x5c6ace(0x279)]=_0x344d62,this[_0x5c6ace(0x3b0)]=_0x5db8b2;let {..._0x5e6d3d}=(0x0,_0x21f9b6['merge'])({},_0x1a0a3c,_0x27815d);if(!_0x5e6d3d[_0x5c6ace(0x16d)])throw Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x5e6d3d,this[_0x5c6ace(0x3b0)][_0x5c6ace(0x2d8)](_0x3b7e3d,_0x5e6d3d);}['onStarting'](){const _0x467e47=_0x582532;this[_0x467e47(0x35a)](),this[_0x467e47(0x1b8)]();}[_0x582532(0x35a)](){const _0x25fa56=_0x582532;var _0x5658e6,_0x8385e5;this[_0x25fa56(0x279)][_0x25fa56(0x2e9)](_0x21f9b6[_0x25fa56(0x3c6)])&&this[_0x25fa56(0x423)][_0x25fa56(0x171)](_0x25fa56(0x313),_0x25fa56(0x21d));let _0x2df68c=(0x0,_0x21f9b6[_0x25fa56(0x124)])([[_0x21f9b6[_0x25fa56(0x3c6)],{'useClass':_0x42923c}],[_0x457933],[_0x42c541],[_0x43e293],[_0x3d2f49],[_0x23debf],[_0x386670],[_0x2ff624],[_0x49c645],[_0xc0f129],[_0x1b8f90,{'useClass':this[_0x25fa56(0x226)][_0x25fa56(0x16d)]}],[_0xba6f9e[_0x25fa56(0x349)],{'useClass':_0x583f98}],[_0x21f9b6[_0x25fa56(0x1f1)],{'useClass':_0x23b744}],[_0x432f50[_0x25fa56(0x3e1)],{'useClass':_0x567524}],[_0x21f9b6[_0x25fa56(0x1e0)],{'useClass':_0x51ebde}],[_0x28cc0e],[_0x5e16b4]],(_0x5658e6=this['_config'])==null?void 0x0:_0x5658e6[_0x25fa56(0x356)]);if(!((_0x8385e5=this[_0x25fa56(0x226)])!=null&&_0x8385e5['enableSingleActiveInstanceLock'])){let _0x4454a2=_0x2df68c[_0x25fa56(0x26e)](([_0x4e8457])=>_0x4e8457===_0x4ada3c);_0x4454a2!==-0x1&&_0x2df68c['splice'](_0x4454a2,0x1);}(0x0,_0x21f9b6[_0x25fa56(0x37e)])(this[_0x25fa56(0x279)],_0x2df68c);}[_0x582532(0x1b8)](){const _0x292f3e=_0x582532;var _0x55f659,_0x4fa2c8;if(this[_0x292f3e(0x279)][_0x292f3e(0x19e)](_0xf4c2fc[_0x292f3e(0x1b3)])[_0x292f3e(0x185)]({'priority':0x14,'interceptor':(0x0,_0xf4c2fc[_0x292f3e(0x42a)])({'maxParallel':0x6})}),!((_0x55f659=this[_0x292f3e(0x226)])!=null&&_0x55f659[_0x292f3e(0x3b7)])){var _0x4c4737;(_0x4c4737=this['_injector'][_0x292f3e(0x19e)](_0x2705d1,_0x21f9b6[_0x292f3e(0x2be)]['OPTIONAL']))==null||_0x4c4737[_0x292f3e(0x405)]();}(_0x4fa2c8=this[_0x292f3e(0x226)])!=null&&_0x4fa2c8[_0x292f3e(0x1f7)]&&(0x0,_0x21f9b6[_0x292f3e(0x37f)])(this['_injector'],[[_0x3d2f49]]),(0x0,_0x21f9b6[_0x292f3e(0x37f)])(this['_injector'],[[_0x23debf],[_0x28cc0e],[_0x2ff624]]);}};_0x158768(_0x10a260,_0x582532(0x333),_0x582532(0x289)),_0x158768(_0x10a260,_0x582532(0x1d5),_0x2aec61),_0x158768(_0x10a260,_0x582532(0x1b2),_0x1c30ed),_0x10a260=_0x9fca30([(0x0,_0x21f9b6[_0x582532(0x31f)])(_0xaf7c7d['UniverLicensePlugin'],_0xba6f9e[_0x582532(0x247)],_0xf4c2fc[_0x582532(0x1d1)]),_0x385b9b(0x1,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0x2,(0x0,_0x21f9b6['Inject'])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x3,_0x21f9b6[_0x582532(0x3e2)])],_0x10a260),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x32b),{'enumerable':!0x0,'get':function(){return _0x23b744;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x14f),{'enumerable':!0x0,'get':function(){return _0x4cb993;}}),Object[_0x582532(0x2f7)](_0x5382ad,'AwaitingWithPendingState',{'enumerable':!0x0,'get':function(){return _0x548b22;}}),_0x5382ad[_0x582532(0x11a)]=_0x3b7e3d,Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x218),{'enumerable':!0x0,'get':function(){return _0x28cc0e;}}),Object['defineProperty'](_0x5382ad,_0x582532(0x3fe),{'enumerable':!0x0,'get':function(){return _0x20db3d;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x307),{'enumerable':!0x0,'get':function(){return _0x567524;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x3f6),{'enumerable':!0x0,'get':function(){return _0x172cb0;}}),Object['defineProperty'](_0x5382ad,_0x582532(0x342),{'enumerable':!0x0,'get':function(){return _0x457933;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x2ee),{'enumerable':!0x0,'get':function(){return _0xc1659c;}}),_0x5382ad['CollaborationStatus']=_0x259f7c,_0x5382ad[_0x582532(0x3cc)]=_0x214ddb,_0x5382ad[_0x582532(0x135)]=_0x49c645,Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x14b),{'enumerable':!0x0,'get':function(){return _0x42923c;}}),_0x5382ad[_0x582532(0x30d)]=_0x386670,Object['defineProperty'](_0x5382ad,'ConflictState',{'enumerable':!0x0,'get':function(){return _0x2d5de6;}}),_0x5382ad[_0x582532(0x281)]=_0x107e87,_0x5382ad[_0x582532(0x414)]=_0x582532(0x14a),_0x5382ad[_0x582532(0x1be)]=_0x582532(0x374),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x27e),{'enumerable':!0x0,'get':function(){return _0xc0f129;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x36b),{'enumerable':!0x0,'get':function(){return _0xd1a0d8;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x29b),{'enumerable':!0x0,'get':function(){return _0x231f53;}}),_0x5382ad[_0x582532(0x339)]='HEARTBEAT_INTERVAL',_0x5382ad[_0x582532(0x242)]=_0x582532(0x36a),_0x5382ad[_0x582532(0x1c6)]=_0x1b8f90,_0x5382ad[_0x582532(0x427)]=_0x2705d1,_0x5382ad[_0x582532(0x2db)]=_0x3cb508,_0x5382ad[_0x582532(0x40d)]=_0x4ada3c,_0x5382ad[_0x582532(0x362)]=0x3e8,_0x5382ad[_0x582532(0x2d7)]=_0x582532(0x362),Object[_0x582532(0x2f7)](_0x5382ad,'MemberService',{'enumerable':!0x0,'get':function(){return _0x42c541;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x23f),{'enumerable':!0x0,'get':function(){return _0x51ebde;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x22d),{'enumerable':!0x0,'get':function(){return _0x23f8dc;}}),Object['defineProperty'](_0x5382ad,_0x582532(0x1a1),{'enumerable':!0x0,'get':function(){return _0x348615;}}),_0x5382ad[_0x582532(0x3e6)]=_0x582532(0x402),_0x5382ad[_0x582532(0x40c)]=_0x582532(0x1a5),_0x5382ad[_0x582532(0x184)]=_0x42d806,Object['defineProperty'](_0x5382ad,'SheetCollaborationEntity',{'enumerable':!0x0,'get':function(){return _0x33b45e;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x1da),{'enumerable':!0x0,'get':function(){return _0x43e293;}}),Object['defineProperty'](_0x5382ad,'SnapshotServerOverHTTPService',{'enumerable':!0x0,'get':function(){return _0x583f98;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x2c0),{'enumerable':!0x0,'get':function(){return _0x51c4b3;}}),_0x5382ad[_0x582532(0x1df)]=_0x5e2f10,Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x182),{'enumerable':!0x0,'get':function(){return _0x10a260;}}),_0x5382ad[_0x582532(0x420)]=_0x8921cb,_0x5382ad[_0x582532(0x378)]=_0x183d07,_0x5382ad[_0x582532(0x391)]=_0x16a106;}));
3
3
 
4
4
  // @univerjs-pro/collaboration-client/facade
5
- function _0x292c(_0xae326f,_0x300f21){_0xae326f=_0xae326f-0x175;const _0x33aec4=_0x33ae();let _0x292ca3=_0x33aec4[_0xae326f];return _0x292ca3;}(function(_0x274e4c,_0x3f9b0c){const _0x388347=_0x292c,_0x643a41=_0x274e4c();while(!![]){try{const _0x5d4c48=parseInt(_0x388347(0x18c))/0x1*(parseInt(_0x388347(0x188))/0x2)+-parseInt(_0x388347(0x1ab))/0x3+parseInt(_0x388347(0x17e))/0x4+parseInt(_0x388347(0x17a))/0x5*(parseInt(_0x388347(0x1a7))/0x6)+-parseInt(_0x388347(0x1bf))/0x7+-parseInt(_0x388347(0x1c4))/0x8+parseInt(_0x388347(0x1ac))/0x9;if(_0x5d4c48===_0x3f9b0c)break;else _0x643a41['push'](_0x643a41['shift']());}catch(_0x354678){_0x643a41['push'](_0x643a41['shift']());}}}(_0x33ae,0xa3b15),function(_0x1c2ada,_0x3e4964){const _0x43bb27=_0x292c;typeof exports=='object'&&typeof module<'u'?_0x3e4964(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core/facade`),require(`@univerjs/core`),require(`@univerjs-pro/collaboration`),require(`rxjs`)):typeof define==_0x43bb27(0x17f)&&define['amd']?define([_0x43bb27(0x19b),_0x43bb27(0x177),_0x43bb27(0x1a0),_0x43bb27(0x184),_0x43bb27(0x1c0),_0x43bb27(0x179)],_0x3e4964):(_0x1c2ada=typeof globalThis<'u'?globalThis:_0x1c2ada||self,_0x3e4964(_0x1c2ada[_0x43bb27(0x1c3)]={},_0x1c2ada[_0x43bb27(0x183)],_0x1c2ada[_0x43bb27(0x18e)],_0x1c2ada[_0x43bb27(0x1a2)],_0x1c2ada[_0x43bb27(0x1a3)],_0x1c2ada[_0x43bb27(0x179)]));}(this,function(_0x40b88f,_0x501736,_0x2c4a08,_0x5c64b9,_0x32de1a,_0x21b8db){const _0x398dd7=_0x292c;Object['defineProperty'](_0x40b88f,Symbol[_0x398dd7(0x1a1)],{'value':_0x398dd7(0x1a9)});var _0x36ae9a=class extends _0x2c4a08[_0x398dd7(0x19d)]{get[_0x398dd7(0x1b6)](){const _0x309911=_0x398dd7;return _0x501736[_0x309911(0x1b6)];}};_0x2c4a08[_0x398dd7(0x19d)][_0x398dd7(0x1ae)](_0x36ae9a);var _0x317e3a=class extends _0x2c4a08['FEventName']{get['CollaborationStatusChanged'](){const _0x162c05=_0x398dd7;return _0x162c05(0x18f);}};_0x2c4a08[_0x398dd7(0x1b1)][_0x398dd7(0x1ae)](_0x317e3a);function _0x306207(_0x3ecef8,_0x5cf808){return function(_0x398296,_0x5a57f2){_0x5cf808(_0x398296,_0x5a57f2,_0x3ecef8);};}function _0x120ca1(_0x1871b8,_0x14ca31,_0x2a7b49,_0x353ec3){const _0x5edad3=_0x398dd7;var _0x1eeec2=arguments[_0x5edad3(0x1b2)],_0x2aa954=_0x1eeec2<0x3?_0x14ca31:_0x353ec3===null?_0x353ec3=Object[_0x5edad3(0x187)](_0x14ca31,_0x2a7b49):_0x353ec3,_0x51e192;if(typeof Reflect==_0x5edad3(0x194)&&typeof Reflect[_0x5edad3(0x19e)]==_0x5edad3(0x17f))_0x2aa954=Reflect[_0x5edad3(0x19e)](_0x1871b8,_0x14ca31,_0x2a7b49,_0x353ec3);else{for(var _0x1f4f60=_0x1871b8[_0x5edad3(0x1b2)]-0x1;_0x1f4f60>=0x0;_0x1f4f60--)(_0x51e192=_0x1871b8[_0x1f4f60])&&(_0x2aa954=(_0x1eeec2<0x3?_0x51e192(_0x2aa954):_0x1eeec2>0x3?_0x51e192(_0x14ca31,_0x2a7b49,_0x2aa954):_0x51e192(_0x14ca31,_0x2a7b49))||_0x2aa954);}return _0x1eeec2>0x3&&_0x2aa954&&Object[_0x5edad3(0x1b0)](_0x14ca31,_0x2a7b49,_0x2aa954),_0x2aa954;}let _0x4b6b9a=class extends _0x2c4a08[_0x398dd7(0x195)]{constructor(_0x579153,_0x1afa20,_0x4619ef,_0x3ed91d,_0x3d52bb){const _0x94205f=_0x398dd7;super(),this[_0x94205f(0x1bc)]=_0x579153,this['_injector']=_0x1afa20,this[_0x94205f(0x18d)]=_0x4619ef,this[_0x94205f(0x1a8)]=_0x3ed91d,this[_0x94205f(0x1c1)]=_0x3d52bb;}async[_0x398dd7(0x1c2)](){const _0x3cf0=_0x398dd7;return this[_0x3cf0(0x191)]();}async[_0x398dd7(0x191)](){const _0x8095a1=_0x398dd7;throw Error(_0x8095a1(0x17d));}async[_0x398dd7(0x1af)](_0x5d08f1){return this['loadSheetAsync'](_0x5d08f1);}async[_0x398dd7(0x197)](_0x3da8d3,_0x140ac1){const _0x38b8af=_0x398dd7;return await this['_snapshotService'][_0x38b8af(0x1af)](_0x3da8d3,0x0,_0x140ac1)?(await this[_0x38b8af(0x1c1)][_0x38b8af(0x180)](_0x3da8d3),this['_handler'][_0x38b8af(0x178)](_0x3da8d3)):null;}[_0x398dd7(0x19c)](_0x25416e,_0xdab500){const _0x51d6a3=_0x398dd7;return(0x0,_0x5c64b9[_0x51d6a3(0x17c)])(this[_0x51d6a3(0x1b7)][_0x51d6a3(0x176)](_0x501736[_0x51d6a3(0x1bb)])[_0x51d6a3(0x19f)](_0x25416e)[_0x51d6a3(0x1b5)]((0x0,_0x21b8db[_0x51d6a3(0x181)])(_0xa728e7=>_0xa728e7[_0x51d6a3(0x199)]))[_0x51d6a3(0x189)](_0x22bbe2=>_0xdab500(Array[_0x51d6a3(0x186)](_0x22bbe2['values']()))));}[_0x398dd7(0x1ba)](_0x5ae5c6){const _0x536286=_0x398dd7;var _0x4bdbb9;let _0x540f0a;if(_0x5ae5c6)_0x540f0a=_0x5ae5c6;else{let _0x20b51e=this['_univerInstanceService'][_0x536286(0x18a)]();_0x540f0a=_0x20b51e==null?void 0x0:_0x20b51e[_0x536286(0x1a5)]();}if(!_0x540f0a)return _0x501736[_0x536286(0x1b6)][_0x536286(0x1ad)];let _0x200d18=this[_0x536286(0x1c1)][_0x536286(0x196)](_0x540f0a);return(_0x4bdbb9=_0x200d18==null?void 0x0:_0x200d18[_0x536286(0x1bd)][_0x536286(0x185)])==null?_0x501736[_0x536286(0x1b6)][_0x536286(0x1ad)]:_0x4bdbb9;}};_0x4b6b9a=_0x120ca1([_0x306207(0x1,(0x0,_0x5c64b9['Inject'])(_0x5c64b9['Injector'])),_0x306207(0x2,_0x5c64b9[_0x398dd7(0x1b9)]),_0x306207(0x3,(0x0,_0x5c64b9[_0x398dd7(0x1a6)])(_0x32de1a['SnapshotService'])),_0x306207(0x4,(0x0,_0x5c64b9[_0x398dd7(0x1a6)])(_0x501736['CollaborationController']))],_0x4b6b9a);var _0xb2e68c=class extends _0x2c4a08[_0x398dd7(0x192)]{[_0x398dd7(0x198)](_0x62b3d4){const _0x18c4d5=_0x398dd7;let _0x342a03=_0x62b3d4[_0x18c4d5(0x176)](_0x501736[_0x18c4d5(0x175)]);this[_0x18c4d5(0x1aa)](this[_0x18c4d5(0x19a)](this['Event'][_0x18c4d5(0x18f)],()=>{const _0x4a7061=_0x18c4d5;let _0x2b4346=new _0x5c64b9['DisposableCollection'](),_0x56343a=_0x342a03[_0x4a7061(0x1b3)]['subscribe'](_0x4a332e=>{const _0xb98ca9=_0x4a7061;let _0x22c4ae=_0x4a332e[_0xb98ca9(0x190)][_0xb98ca9(0x189)](_0x4a411b=>{const _0x5b6978=_0xb98ca9;let _0x5b48de={'unitId':_0x4a332e[_0x5b6978(0x182)],'status':_0x4a411b};this[_0x5b6978(0x193)](this['Event'][_0x5b6978(0x18f)],_0x5b48de);});_0x2b4346[_0xb98ca9(0x18b)]((0x0,_0x5c64b9[_0xb98ca9(0x17c)])(_0x22c4ae));});return _0x2b4346[_0x4a7061(0x18b)]((0x0,_0x5c64b9[_0x4a7061(0x17c)])(_0x56343a)),_0x2b4346;}));}[_0x398dd7(0x17b)](){const _0x3253e9=_0x398dd7;return this[_0x3253e9(0x1b7)][_0x3253e9(0x1be)](_0x4b6b9a,{'getUniverSheet':_0xf53d4e=>this['getUniverSheet'](_0xf53d4e)});}[_0x398dd7(0x1a4)](_0xc5de90,_0x462d95,_0x598c2d){const _0x24efa6=_0x398dd7;return this[_0x24efa6(0x1b7)][_0x24efa6(0x176)](_0x501736[_0x24efa6(0x1b4)])['loadUnit'](_0xc5de90,_0x462d95,_0x598c2d);}[_0x398dd7(0x1b8)](_0x42bf35,_0x431547,_0x3c4088){const _0x5dd813=_0x398dd7;return this['_injector'][_0x5dd813(0x176)](_0x501736['DataLoaderService'])['loadUnitOfRevision'](_0x42bf35,_0x431547,_0x3c4088);}};_0x2c4a08[_0x398dd7(0x192)]['extend'](_0xb2e68c),Object[_0x398dd7(0x1b0)](_0x40b88f,'FCollaboration',{'enumerable':!0x0,'get':function(){return _0x4b6b9a;}});}));function _0x33ae(){const _0x525349=['UniverProCollaborationClient','@univerjs/core','status','from','getOwnPropertyDescriptor','34DaSVZv','subscribe','getFocusedUnit','add','46091sXoAlP','_univerInstanceService','UniverCoreFacade','CollaborationStatusChanged','status$','loadActiveSheetAsync','FUniver','fireEvent','object','FBase','getCollabEntity','loadSheetAsync','_initialize','members$','registerEventHandler','exports','subscribeCollaborators','FEnum','decorate','waitForRoom$','@univerjs/core/facade','toStringTag','UniverCore','UniverProCollaboration','loadServerUnit','getUnitId','Inject','72jxpqKD','_snapshotService','Module','disposeWithMe','1490352yORlBj','6583590eOjRnp','NOT_COLLAB','extend','loadSheet','defineProperty','FEventName','length','entityInit$','DataLoaderService','pipe','CollaborationStatus','_injector','loadServerUnitOfRevision','IUniverInstanceService','getCollaborationStatus','MemberService','_handler','state','createInstance','5604354ALKSDu','@univerjs-pro/collaboration','_collaborationController','loadActiveSheet','UniverProCollaborationClientFacade','9381312lxmGsb','CollaborationController','get','@univerjs-pro/collaboration-client','getUniverSheet','rxjs','216120Xodomj','getCollaboration','toDisposable','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','4427240XVlMfR','function','readyForCollab','switchMap','unitID'];_0x33ae=function(){return _0x525349;};return _0x33ae();}
5
+ function _0x1786(_0x42ac8b,_0x442bad){_0x42ac8b=_0x42ac8b-0x1b3;const _0x465f91=_0x465f();let _0x178653=_0x465f91[_0x42ac8b];return _0x178653;}function _0x465f(){const _0x574421=['CollaborationStatusChanged','FCollaboration','getUnitId','rxjs','subscribeCollaborators','71BIXsFO','from','get','status','length','loadUnit','exports','values','@univerjs-pro/collaboration-client','85NDSxsg','FEnum','members$','_snapshotService','toDisposable','460350LVDAhT','loadServerUnit','loadSheet','7381680aQrXfE','_collaborationController','DisposableCollection','function','amd','CollaborationController','unitID','fireEvent','loadSheetAsync','UniverProCollaborationClientFacade','FEventName','createInstance','loadActiveSheetAsync','object','UniverCoreFacade','readyForCollab','_univerInstanceService','Inject','SnapshotService','2314602caHyKQ','@univerjs/core/facade','_injector','entityInit$','NOT_COLLAB','FBase','FUniver','subscribe','@univerjs-pro/collaboration','Event','getOwnPropertyDescriptor','defineProperty','loadUnitOfRevision','Module','24YmZqEx','_handler','Injector','380429fGArEb','2260EGDVac','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','switchMap','IUniverInstanceService','waitForRoom$','DataLoaderService','5558SAUZcK','add','getCollaboration','1220124rQupYu','extend','decorate','CollaborationStatus','loadServerUnitOfRevision','MemberService','getFocusedUnit','getUniverSheet','state'];_0x465f=function(){return _0x574421;};return _0x465f();}(function(_0x588cef,_0x551514){const _0x1be84f=_0x1786,_0x1753c0=_0x588cef();while(!![]){try{const _0x37e259=parseInt(_0x1be84f(0x1fa))/0x1*(parseInt(_0x1be84f(0x1e9))/0x2)+-parseInt(_0x1be84f(0x1bb))/0x3+parseInt(_0x1be84f(0x1e3))/0x4*(-parseInt(_0x1be84f(0x1b6))/0x5)+-parseInt(_0x1be84f(0x1ec))/0x6+-parseInt(_0x1be84f(0x1e2))/0x7*(parseInt(_0x1be84f(0x1df))/0x8)+-parseInt(_0x1be84f(0x1d1))/0x9+parseInt(_0x1be84f(0x1be))/0xa;if(_0x37e259===_0x551514)break;else _0x1753c0['push'](_0x1753c0['shift']());}catch(_0x4e8225){_0x1753c0['push'](_0x1753c0['shift']());}}}(_0x465f,0x24571),function(_0x3e96c0,_0x5e67b3){const _0x1bb46c=_0x1786;typeof exports==_0x1bb46c(0x1cb)&&typeof module<'u'?_0x5e67b3(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core/facade`),require(`@univerjs/core`),require(`@univerjs-pro/collaboration`),require(`rxjs`)):typeof define==_0x1bb46c(0x1c1)&&define[_0x1bb46c(0x1c2)]?define([_0x1bb46c(0x1b3),_0x1bb46c(0x1b5),_0x1bb46c(0x1d2),'@univerjs/core',_0x1bb46c(0x1d9),'rxjs'],_0x5e67b3):(_0x3e96c0=typeof globalThis<'u'?globalThis:_0x3e96c0||self,_0x5e67b3(_0x3e96c0[_0x1bb46c(0x1c7)]={},_0x3e96c0['UniverProCollaborationClient'],_0x3e96c0[_0x1bb46c(0x1cc)],_0x3e96c0['UniverCore'],_0x3e96c0['UniverProCollaboration'],_0x3e96c0[_0x1bb46c(0x1f8)]));}(this,function(_0x2ae065,_0x21c4b2,_0x2ada40,_0x6da4ff,_0x5a386d,_0x5930bc){const _0x4d33f7=_0x1786;Object['defineProperty'](_0x2ae065,Symbol['toStringTag'],{'value':_0x4d33f7(0x1de)});var _0x5b379d=class extends _0x2ada40['FEnum']{get['CollaborationStatus'](){const _0x403540=_0x4d33f7;return _0x21c4b2[_0x403540(0x1ef)];}};_0x2ada40[_0x4d33f7(0x1b7)][_0x4d33f7(0x1ed)](_0x5b379d);var _0x10e2a9=class extends _0x2ada40['FEventName']{get[_0x4d33f7(0x1f5)](){const _0x5d6328=_0x4d33f7;return _0x5d6328(0x1f5);}};_0x2ada40[_0x4d33f7(0x1c8)][_0x4d33f7(0x1ed)](_0x10e2a9);function _0x39c035(_0x2d58bb,_0x21511e){return function(_0xa3f24d,_0x401f36){_0x21511e(_0xa3f24d,_0x401f36,_0x2d58bb);};}function _0x48052d(_0x86cb5d,_0x2902d5,_0x5e7906,_0x5aa581){const _0x34da51=_0x4d33f7;var _0x3d786e=arguments[_0x34da51(0x1fe)],_0x3d1e=_0x3d786e<0x3?_0x2902d5:_0x5aa581===null?_0x5aa581=Object[_0x34da51(0x1db)](_0x2902d5,_0x5e7906):_0x5aa581,_0x2e1e97;if(typeof Reflect==_0x34da51(0x1cb)&&typeof Reflect[_0x34da51(0x1ee)]==_0x34da51(0x1c1))_0x3d1e=Reflect['decorate'](_0x86cb5d,_0x2902d5,_0x5e7906,_0x5aa581);else{for(var _0x5003e1=_0x86cb5d[_0x34da51(0x1fe)]-0x1;_0x5003e1>=0x0;_0x5003e1--)(_0x2e1e97=_0x86cb5d[_0x5003e1])&&(_0x3d1e=(_0x3d786e<0x3?_0x2e1e97(_0x3d1e):_0x3d786e>0x3?_0x2e1e97(_0x2902d5,_0x5e7906,_0x3d1e):_0x2e1e97(_0x2902d5,_0x5e7906))||_0x3d1e);}return _0x3d786e>0x3&&_0x3d1e&&Object['defineProperty'](_0x2902d5,_0x5e7906,_0x3d1e),_0x3d1e;}let _0x727f90=class extends _0x2ada40[_0x4d33f7(0x1d6)]{constructor(_0x3a9287,_0x18db48,_0x33b5e7,_0x5b6b0a,_0x5920a9){const _0x20cd0b=_0x4d33f7;super(),this[_0x20cd0b(0x1e0)]=_0x3a9287,this[_0x20cd0b(0x1d3)]=_0x18db48,this['_univerInstanceService']=_0x33b5e7,this[_0x20cd0b(0x1b9)]=_0x5b6b0a,this['_collaborationController']=_0x5920a9;}async['loadActiveSheet'](){const _0x17fe6e=_0x4d33f7;return this[_0x17fe6e(0x1ca)]();}async[_0x4d33f7(0x1ca)](){const _0x2ee707=_0x4d33f7;throw Error(_0x2ee707(0x1e4));}async[_0x4d33f7(0x1bd)](_0xb96f53){const _0x56cda4=_0x4d33f7;return this[_0x56cda4(0x1c6)](_0xb96f53);}async[_0x4d33f7(0x1c6)](_0x2055b6,_0x4d262d){const _0x83ccad=_0x4d33f7;return await this[_0x83ccad(0x1b9)][_0x83ccad(0x1bd)](_0x2055b6,0x0,_0x4d262d)?(await this[_0x83ccad(0x1bf)][_0x83ccad(0x1cd)](_0x2055b6),this[_0x83ccad(0x1e0)][_0x83ccad(0x1f3)](_0x2055b6)):null;}[_0x4d33f7(0x1f9)](_0x4453e7,_0x58e132){const _0x5b1ae8=_0x4d33f7;return(0x0,_0x6da4ff[_0x5b1ae8(0x1ba)])(this['_injector'][_0x5b1ae8(0x1fc)](_0x21c4b2[_0x5b1ae8(0x1f1)])[_0x5b1ae8(0x1e7)](_0x4453e7)['pipe']((0x0,_0x5930bc[_0x5b1ae8(0x1e5)])(_0x3479bd=>_0x3479bd[_0x5b1ae8(0x1b8)]))[_0x5b1ae8(0x1d8)](_0x24f2e4=>_0x58e132(Array[_0x5b1ae8(0x1fb)](_0x24f2e4[_0x5b1ae8(0x1b4)]()))));}['getCollaborationStatus'](_0x50be58){const _0x2ab72f=_0x4d33f7;var _0x2ec159;let _0x3116f3;if(_0x50be58)_0x3116f3=_0x50be58;else{let _0x40f2df=this[_0x2ab72f(0x1ce)][_0x2ab72f(0x1f2)]();_0x3116f3=_0x40f2df==null?void 0x0:_0x40f2df[_0x2ab72f(0x1f7)]();}if(!_0x3116f3)return _0x21c4b2[_0x2ab72f(0x1ef)][_0x2ab72f(0x1d5)];let _0x5ab197=this['_collaborationController']['getCollabEntity'](_0x3116f3);return(_0x2ec159=_0x5ab197==null?void 0x0:_0x5ab197[_0x2ab72f(0x1f4)][_0x2ab72f(0x1fd)])==null?_0x21c4b2['CollaborationStatus'][_0x2ab72f(0x1d5)]:_0x2ec159;}};_0x727f90=_0x48052d([_0x39c035(0x1,(0x0,_0x6da4ff['Inject'])(_0x6da4ff[_0x4d33f7(0x1e1)])),_0x39c035(0x2,_0x6da4ff[_0x4d33f7(0x1e6)]),_0x39c035(0x3,(0x0,_0x6da4ff[_0x4d33f7(0x1cf)])(_0x5a386d[_0x4d33f7(0x1d0)])),_0x39c035(0x4,(0x0,_0x6da4ff[_0x4d33f7(0x1cf)])(_0x21c4b2[_0x4d33f7(0x1c3)]))],_0x727f90);var _0x5da8ef=class extends _0x2ada40[_0x4d33f7(0x1d7)]{['_initialize'](_0x4a806d){const _0x193153=_0x4d33f7;let _0x4ff669=_0x4a806d[_0x193153(0x1fc)](_0x21c4b2['CollaborationController']);this['disposeWithMe'](this['registerEventHandler'](this[_0x193153(0x1da)][_0x193153(0x1f5)],()=>{const _0x5601fb=_0x193153;let _0x1d4079=new _0x6da4ff[(_0x5601fb(0x1c0))](),_0x13c898=_0x4ff669[_0x5601fb(0x1d4)][_0x5601fb(0x1d8)](_0x542b86=>{const _0x4ee6e0=_0x5601fb;let _0x34621e=_0x542b86['status$']['subscribe'](_0x134dd1=>{const _0x5a085c=_0x1786;let _0x153e69={'unitId':_0x542b86[_0x5a085c(0x1c4)],'status':_0x134dd1};this[_0x5a085c(0x1c5)](this[_0x5a085c(0x1da)][_0x5a085c(0x1f5)],_0x153e69);});_0x1d4079[_0x4ee6e0(0x1ea)]((0x0,_0x6da4ff[_0x4ee6e0(0x1ba)])(_0x34621e));});return _0x1d4079['add']((0x0,_0x6da4ff['toDisposable'])(_0x13c898)),_0x1d4079;}));}[_0x4d33f7(0x1eb)](){const _0x2433e3=_0x4d33f7;return this[_0x2433e3(0x1d3)][_0x2433e3(0x1c9)](_0x727f90,{'getUniverSheet':_0x128374=>this[_0x2433e3(0x1f3)](_0x128374)});}[_0x4d33f7(0x1bc)](_0x3ddfd3,_0x4bd757,_0xb4605b){const _0x539e41=_0x4d33f7;return this['_injector']['get'](_0x21c4b2['DataLoaderService'])[_0x539e41(0x1ff)](_0x3ddfd3,_0x4bd757,_0xb4605b);}[_0x4d33f7(0x1f0)](_0x55cdb5,_0x48689a,_0x1f223f){const _0x6bf600=_0x4d33f7;return this[_0x6bf600(0x1d3)][_0x6bf600(0x1fc)](_0x21c4b2[_0x6bf600(0x1e8)])[_0x6bf600(0x1dd)](_0x55cdb5,_0x48689a,_0x1f223f);}};_0x2ada40[_0x4d33f7(0x1d7)][_0x4d33f7(0x1ed)](_0x5da8ef),Object[_0x4d33f7(0x1dc)](_0x2ae065,_0x4d33f7(0x1f6),{'enumerable':!0x0,'get':function(){return _0x727f90;}});}));
6
6
 
7
7
  // @univerjs-pro/collaboration-client-ui/index
8
- function _0x84a9(_0x53c9ef,_0x42bbdc){_0x53c9ef=_0x53c9ef-0xa0;const _0x20d06=_0x20d0();let _0x84a97d=_0x20d06[_0x53c9ef];return _0x84a97d;}(function(_0x3c9cbf,_0x56f7b8){const _0x49b17c=_0x84a9,_0x76779d=_0x3c9cbf();while(!![]){try{const _0x225959=-parseInt(_0x49b17c(0x127))/0x1*(-parseInt(_0x49b17c(0xe2))/0x2)+parseInt(_0x49b17c(0x22c))/0x3+parseInt(_0x49b17c(0x378))/0x4*(-parseInt(_0x49b17c(0xa3))/0x5)+parseInt(_0x49b17c(0x145))/0x6*(parseInt(_0x49b17c(0x158))/0x7)+parseInt(_0x49b17c(0x36a))/0x8+parseInt(_0x49b17c(0x300))/0x9+parseInt(_0x49b17c(0x1f9))/0xa*(-parseInt(_0x49b17c(0x32f))/0xb);if(_0x225959===_0x56f7b8)break;else _0x76779d['push'](_0x76779d['shift']());}catch(_0x3347b8){_0x76779d['push'](_0x76779d['shift']());}}}(_0x20d0,0xe07d2),function(_0x35d55b,_0x4090fa){const _0x40bc5c=_0x84a9;typeof exports==_0x40bc5c(0xf0)&&typeof module<'u'?_0x4090fa(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core`),require(`@univerjs/ui`),require(`rxjs`),require(`@univerjs/design`),require(`react`),require(`react/jsx-runtime`),require(`@univerjs/rpc`),require(`@univerjs/sheets`),require(`@univerjs/engine-render`),require(`@univerjs/network`),require(`@univerjs/docs-ui`),require(`@univerjs/drawing`),require(`@univerjs-pro/collaboration`),require(`@univerjs/docs`),require(`@univerjs/engine-formula`),require(`rxjs/operators`),require(`@univerjs/sheets-ui`)):typeof define=='function'&&define[_0x40bc5c(0x2f6)]?define([_0x40bc5c(0x334),'@univerjs-pro/collaboration-client','@univerjs/core',_0x40bc5c(0x240),'rxjs',_0x40bc5c(0x21e),_0x40bc5c(0x31e),_0x40bc5c(0x342),'@univerjs/rpc',_0x40bc5c(0x13a),_0x40bc5c(0x222),_0x40bc5c(0x3b0),_0x40bc5c(0x107),_0x40bc5c(0x111),_0x40bc5c(0xd1),_0x40bc5c(0x2f8),'@univerjs/engine-formula','rxjs/operators',_0x40bc5c(0x200)],_0x4090fa):(_0x35d55b=typeof globalThis<'u'?globalThis:_0x35d55b||self,_0x4090fa(_0x35d55b['UniverProCollaborationClientUi']={},_0x35d55b[_0x40bc5c(0x1ea)],_0x35d55b[_0x40bc5c(0x243)],_0x35d55b['UniverUi'],_0x35d55b[_0x40bc5c(0x385)],_0x35d55b['UniverDesign'],_0x35d55b['React'],_0x35d55b[_0x40bc5c(0x156)],_0x35d55b[_0x40bc5c(0x2df)],_0x35d55b[_0x40bc5c(0x106)],_0x35d55b[_0x40bc5c(0x2a1)],_0x35d55b[_0x40bc5c(0x134)],_0x35d55b[_0x40bc5c(0x307)],_0x35d55b[_0x40bc5c(0x179)],_0x35d55b[_0x40bc5c(0x30e)],_0x35d55b[_0x40bc5c(0x358)],_0x35d55b['UniverEngineFormula'],_0x35d55b['rxjs']['operators'],_0x35d55b[_0x40bc5c(0x31a)]));}(this,function(_0x159966,_0x4a06d2,_0x13030d,_0x429bdf,_0x594669,_0x3df4e2,_0x4c0a01,_0x2f373e,_0x108d2d,_0x47b368,_0x5bc07b,_0x24b4f9,_0x57a234,_0x497386,_0x486545,_0x1aedbb,_0xe81250,_0x2525b7,_0x3c23de){const _0x24b96c=_0x84a9;Object[_0x24b96c(0x324)](_0x159966,Symbol[_0x24b96c(0xdf)],{'value':_0x24b96c(0x12f)});function _0x39d45f({ref:_0x5ca128,..._0xde6dbe}){const _0xb3b20f=_0x24b96c;let {icon:_0x2a6255,id:_0x224cc2,className:_0x341103,extend:_0x22bc4e,..._0x3db11a}=_0xde6dbe,_0x2fbf99=(_0xb3b20f(0x313)+_0x224cc2+'\x20'+(_0x341103||''))[_0xb3b20f(0x3a7)](),_0x5a8862=(0x0,_0x4c0a01['useRef'])('_'+_0x57d3ac());return _0x546513(_0x2a6255,''+_0x224cc2,{'defIds':_0x2a6255[_0xb3b20f(0x253)],'idSuffix':_0x5a8862['current']},{'ref':_0x5ca128,'className':_0x2fbf99,..._0x3db11a},_0x22bc4e);}function _0x546513(_0x47c5aa,_0x1cb9b4,_0x4e76f9,_0x361454,_0x56892b){const _0x38b404=_0x24b96c;return(0x0,_0x4c0a01['createElement'])(_0x47c5aa[_0x38b404(0x2db)],{'key':_0x1cb9b4,..._0x44ffa6(_0x47c5aa,_0x4e76f9,_0x56892b),..._0x361454},(_0x380e9f(_0x47c5aa,_0x4e76f9)[_0x38b404(0x11a)]||[])[_0x38b404(0x288)]((_0x340b4b,_0x5667f4)=>_0x546513(_0x340b4b,_0x1cb9b4+'-'+_0x47c5aa['tag']+'-'+_0x5667f4,_0x4e76f9,void 0x0,_0x56892b)));}function _0x44ffa6(_0x3a2c9f,_0x5dc838,_0x336050){const _0x2b6af0=_0x24b96c;let _0x53919f={..._0x3a2c9f[_0x2b6af0(0x2b3)]};_0x336050!=null&&_0x336050[_0x2b6af0(0x39d)]&&_0x53919f[_0x2b6af0(0xe8)]===_0x2b6af0(0x39d)&&(_0x53919f[_0x2b6af0(0xe8)]=_0x336050[_0x2b6af0(0x39d)]),_0x3a2c9f['tag']===_0x2b6af0(0x28f)&&_0x53919f['id']&&(_0x53919f['id']+=_0x5dc838['idSuffix']),Object['entries'](_0x53919f)[_0x2b6af0(0x172)](([_0x230a30,_0x5084c4])=>{const _0x426fa5=_0x2b6af0;_0x230a30===_0x426fa5(0x28f)&&typeof _0x5084c4==_0x426fa5(0x3ad)&&(_0x53919f[_0x230a30]=_0x5084c4['replace'](/url\(#(.*)\)/,_0x426fa5(0x30c)+_0x5dc838['idSuffix']+')'));});let {defIds:_0x20cb92}=_0x5dc838;return!_0x20cb92||_0x20cb92['length']===0x0?_0x53919f:(_0x3a2c9f[_0x2b6af0(0x2db)]===_0x2b6af0(0x190)&&_0x53919f[_0x2b6af0(0x2ce)]&&(_0x53919f[_0x2b6af0(0x2ce)]+=_0x5dc838[_0x2b6af0(0x2c5)]),Object[_0x2b6af0(0x1b7)](_0x53919f)[_0x2b6af0(0x172)](([_0x3eeff3,_0x28bc67])=>{const _0x58cd43=_0x2b6af0;typeof _0x28bc67=='string'&&(_0x53919f[_0x3eeff3]=_0x28bc67[_0x58cd43(0x29e)](/url\(#(.*)\)/,_0x58cd43(0x30c)+_0x5dc838[_0x58cd43(0x2c5)]+')'));}),_0x53919f);}function _0x380e9f(_0x3ad7d1,_0x559596){const _0x3c876c=_0x24b96c;var _0x5c2a97;let {defIds:_0x154dc9}=_0x559596;return!_0x154dc9||_0x154dc9['length']===0x0?_0x3ad7d1:_0x3ad7d1[_0x3c876c(0x2db)]===_0x3c876c(0x390)&&(_0x5c2a97=_0x3ad7d1['children'])!=null&&_0x5c2a97[_0x3c876c(0x36e)]?{..._0x3ad7d1,'children':_0x3ad7d1['children'][_0x3c876c(0x288)](_0xb2d8da=>typeof _0xb2d8da[_0x3c876c(0x2b3)]['id']==_0x3c876c(0x3ad)&&_0x154dc9&&_0x154dc9['includes'](_0xb2d8da['attrs']['id'])?{..._0xb2d8da,'attrs':{..._0xb2d8da['attrs'],'id':_0xb2d8da[_0x3c876c(0x2b3)]['id']+_0x559596['idSuffix']}}:_0xb2d8da)}:_0x3ad7d1;}function _0x57d3ac(){const _0x52c107=_0x24b96c;return Math[_0x52c107(0x12a)]()[_0x52c107(0x2d6)](0x24)[_0x52c107(0x1c1)](0x2,0x8);}_0x39d45f['displayName']='UniverIcon';let _0xb88bfb={'tag':'svg','attrs':{'xmlns':_0x24b96c(0x197),'fill':_0x24b96c(0x325),'viewBox':_0x24b96c(0xef),'width':_0x24b96c(0x2ec),'height':_0x24b96c(0x2ec)},'children':[{'tag':'g','attrs':{'clipPath':_0x24b96c(0x20c)},'children':[{'tag':_0x24b96c(0xff),'attrs':{'stroke':'currentColor','d':_0x24b96c(0x21f),'strokeLinecap':_0x24b96c(0x1c9),'strokeLinejoin':_0x24b96c(0x1c9),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x24b96c(0x151),'attrs':{'id':_0x24b96c(0xf5)},'children':[{'tag':_0x24b96c(0xff),'attrs':{'fill':_0x24b96c(0x187),'d':_0x24b96c(0x2b7)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x119257=(0x0,_0x4c0a01['forwardRef'])(function(_0x1b416e,_0x24b5f2){const _0xe61e2c=_0x24b96c;return(0x0,_0x4c0a01[_0xe61e2c(0x36b)])(_0x39d45f,Object['assign']({},_0x1b416e,{'id':'off-line-icon','ref':_0x24b5f2,'icon':_0xb88bfb}));});_0x119257['displayName']=_0x24b96c(0x257);let _0x1a3145={'tag':_0x24b96c(0x312),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x24b96c(0x325),'viewBox':'0\x200\x2017\x2016','width':_0x24b96c(0x2ec),'height':_0x24b96c(0x2ec)},'children':[{'tag':'g','attrs':{'clipPath':_0x24b96c(0x186)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x24b96c(0xeb),'strokeLinecap':_0x24b96c(0x1c9),'strokeLinejoin':_0x24b96c(0x1c9),'strokeWidth':1.2}}]},{'tag':_0x24b96c(0x390),'attrs':{},'children':[{'tag':_0x24b96c(0x151),'attrs':{'id':_0x24b96c(0xcd)},'children':[{'tag':'path','attrs':{'fill':_0x24b96c(0x187),'d':'M0\x200H16V16H0z','transform':_0x24b96c(0x26f)}}]}]}],'defIds':[_0x24b96c(0xcd)]},_0x3e58fc=(0x0,_0x4c0a01[_0x24b96c(0x392)])(function(_0x15781f,_0x4955df){const _0x25c440=_0x24b96c;return(0x0,_0x4c0a01['createElement'])(_0x39d45f,Object['assign']({},_0x15781f,{'id':_0x25c440(0x2cb),'ref':_0x4955df,'icon':_0x1a3145}));});_0x3e58fc[_0x24b96c(0x17e)]='OnLineIcon';function _0x54f9bc(_0x461892){const _0x4fec92=_0x24b96c;switch(_0x461892){case _0x4a06d2[_0x4fec92(0x124)][_0x4fec92(0x33e)]:return'collabStatus.offline';case _0x4a06d2[_0x4fec92(0x124)][_0x4fec92(0xee)]:return'collabStatus.conflict';case _0x4a06d2[_0x4fec92(0x124)][_0x4fec92(0x327)]:return _0x4fec92(0x35d);case _0x4a06d2[_0x4fec92(0x124)]['NOT_COLLAB']:return _0x4fec92(0x1e3);case _0x4a06d2['CollaborationStatus'][_0x4fec92(0x3a8)]:case _0x4a06d2[_0x4fec92(0x124)][_0x4fec92(0x171)]:return _0x4fec92(0x232);case _0x4a06d2[_0x4fec92(0x124)][_0x4fec92(0x354)]:case _0x4a06d2[_0x4fec92(0x124)][_0x4fec92(0x261)]:return _0x4fec92(0x117);}}function _0x12ed17(_0x2ff870){const _0x574c46=_0x24b96c;let {status$:_0x68daa7}=_0x2ff870,_0x179e7c=(0x0,_0x429bdf[_0x574c46(0x29b)])(_0x68daa7,_0x4a06d2[_0x574c46(0x124)][_0x574c46(0x208)]),_0x235c95=(0x0,_0x429bdf[_0x574c46(0x199)])(_0x13030d[_0x574c46(0x381)]),_0x22e1ce=(0x0,_0x429bdf[_0x574c46(0x199)])(_0x4a06d2['CollaborationSessionService']),_0x2db796=_0x179e7c!==_0x4a06d2['CollaborationStatus'][_0x574c46(0x33e)],_0x419416=_0x235c95['t'](_0x54f9bc(_0x179e7c)),_0xd1a7d9=_0x2db796?(0x0,_0x2f373e[_0x574c46(0xc2)])(_0x3e58fc,{}):(0x0,_0x2f373e[_0x574c46(0xc2)])(_0x119257,{}),_0x54ec2f=(0x0,_0x4c0a01[_0x574c46(0x1eb)])(()=>{_0x2db796||_0x22e1ce['reconnect']();},[_0x2db796,_0x22e1ce]);function _0x4fc60f(){const _0x41bb77=_0x574c46;return(0x0,_0x2f373e['jsxs'])(_0x41bb77(0x175),{'className':_0x41bb77(0x2cf),'onClick':_0x54ec2f,'children':[(0x0,_0x2f373e['jsx'])(_0x41bb77(0x175),{'className':(0x0,_0x3df4e2[_0x41bb77(0xfb)])(_0x41bb77(0x110),{'univer-text-green-500':_0x2db796,'univer-text-red-500':!_0x2db796}),'children':_0xd1a7d9}),(0x0,_0x2f373e['jsx'])(_0x41bb77(0x175),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x419416})]});}return _0x2db796?_0x4fc60f():(0x0,_0x2f373e['jsx'])(_0x3df4e2[_0x574c46(0x1a4)],{'title':_0x235c95['t'](_0x574c46(0x16e)),'children':_0x4fc60f()});}function _0x1f5272(_0x3c600b){'@babel/helpers - typeof';const _0x3fd240=_0x24b96c;return _0x1f5272=typeof Symbol==_0x3fd240(0x33d)&&typeof Symbol[_0x3fd240(0xe7)]=='symbol'?function(_0x1e4e8b){return typeof _0x1e4e8b;}:function(_0x3aafce){const _0x24ca6c=_0x3fd240;return _0x3aafce&&typeof Symbol==_0x24ca6c(0x33d)&&_0x3aafce[_0x24ca6c(0x2a3)]===Symbol&&_0x3aafce!==Symbol[_0x24ca6c(0x348)]?_0x24ca6c(0x359):typeof _0x3aafce;},_0x1f5272(_0x3c600b);}function _0x5639cc(_0x1c0f29,_0x3a089b){const _0xef9327=_0x24b96c;if(_0x1f5272(_0x1c0f29)!=_0xef9327(0xf0)||!_0x1c0f29)return _0x1c0f29;var _0x14713e=_0x1c0f29[Symbol['toPrimitive']];if(_0x14713e!==void 0x0){var _0x496e01=_0x14713e[_0xef9327(0x356)](_0x1c0f29,_0x3a089b||_0xef9327(0x33a));if(_0x1f5272(_0x496e01)!=_0xef9327(0xf0))return _0x496e01;throw TypeError(_0xef9327(0x149));}return(_0x3a089b==='string'?String:Number)(_0x1c0f29);}function _0x268348(_0x58d786){const _0x5d75ff=_0x24b96c;var _0x16dc1c=_0x5639cc(_0x58d786,_0x5d75ff(0x3ad));return _0x1f5272(_0x16dc1c)=='symbol'?_0x16dc1c:_0x16dc1c+'';}function _0x32f982(_0x50c3ee,_0x18977d,_0x1d4089){return(_0x18977d=_0x268348(_0x18977d))in _0x50c3ee?Object['defineProperty'](_0x50c3ee,_0x18977d,{'value':_0x1d4089,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x50c3ee[_0x18977d]=_0x1d4089,_0x50c3ee;}function _0x517da2(_0x2a09e3,_0x154027){return function(_0x3e641d,_0x7dfedc){_0x154027(_0x3e641d,_0x7dfedc,_0x2a09e3);};}function _0x12d4ea(_0x4dfc70,_0x5c4c1a,_0x4d9335,_0x33279){const _0x1c6f24=_0x24b96c;var _0x32f447=arguments['length'],_0x4626fa=_0x32f447<0x3?_0x5c4c1a:_0x33279===null?_0x33279=Object[_0x1c6f24(0x32d)](_0x5c4c1a,_0x4d9335):_0x33279,_0x1c7afd;if(typeof Reflect=='object'&&typeof Reflect[_0x1c6f24(0x138)]==_0x1c6f24(0x33d))_0x4626fa=Reflect[_0x1c6f24(0x138)](_0x4dfc70,_0x5c4c1a,_0x4d9335,_0x33279);else{for(var _0x423e7a=_0x4dfc70[_0x1c6f24(0x36e)]-0x1;_0x423e7a>=0x0;_0x423e7a--)(_0x1c7afd=_0x4dfc70[_0x423e7a])&&(_0x4626fa=(_0x32f447<0x3?_0x1c7afd(_0x4626fa):_0x32f447>0x3?_0x1c7afd(_0x5c4c1a,_0x4d9335,_0x4626fa):_0x1c7afd(_0x5c4c1a,_0x4d9335))||_0x4626fa);}return _0x32f447>0x3&&_0x4626fa&&Object[_0x1c6f24(0x324)](_0x5c4c1a,_0x4d9335,_0x4626fa),_0x4626fa;}let _0xab3962=class extends _0x13030d[_0x24b96c(0x328)]{constructor(_0x50634a,_0x1eea8a,_0x4289d4,_0x56eb1c){const _0x1b23a7=_0x24b96c;super(),this['_univerInstanceService']=_0x50634a,this['_injector']=_0x1eea8a,this[_0x1b23a7(0x1e5)]=_0x4289d4,this[_0x1b23a7(0x1fe)]=_0x56eb1c,_0x32f982(this,'_status$',new _0x594669[(_0x1b23a7(0x3a6))](_0x4a06d2[_0x1b23a7(0x124)][_0x1b23a7(0x208)])),this[_0x1b23a7(0xad)](),this['_initStatusListener']();}[_0x24b96c(0x15e)](){const _0x1ff015=_0x24b96c;this[_0x1ff015(0x220)](this['_univerInstanceService'][_0x1ff015(0x301)][_0x1ff015(0x2be)]((0x0,_0x594669[_0x1ff015(0x34b)])(()=>{const _0x13c0a1=_0x1ff015;let _0x31f4e6=this[_0x13c0a1(0x141)][_0x13c0a1(0x16c)]();return _0x31f4e6?this[_0x13c0a1(0x1e5)]['getCollabEntity$'](_0x31f4e6['getUnitId']()):(0x0,_0x594669['of'])(null);}),(0x0,_0x594669[_0x1ff015(0x34b)])(_0x2bcafa=>_0x2bcafa?_0x2bcafa[_0x1ff015(0xb2)]:(0x0,_0x594669['of'])(_0x4a06d2[_0x1ff015(0x124)][_0x1ff015(0x208)])))[_0x1ff015(0x320)](_0x256b48=>{const _0x35f0a3=_0x1ff015;this[_0x35f0a3(0x262)][_0x35f0a3(0x373)](_0x256b48);}));}['_initStatusComponent'](){const _0x3de841=_0x24b96c;this['disposeWithMe'](this[_0x3de841(0x1fe)]['registerComponent'](_0x429bdf[_0x3de841(0x1f7)][_0x3de841(0x1f0)],()=>(0x0,_0x429bdf[_0x3de841(0xc6)])(_0x31631e({'status$':this[_0x3de841(0x262)][_0x3de841(0x388)]()}),this[_0x3de841(0x23a)])));}};_0xab3962=_0x12d4ea([_0x517da2(0x0,_0x13030d[_0x24b96c(0x235)]),_0x517da2(0x1,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d['Injector'])),_0x517da2(0x2,(0x0,_0x13030d['Inject'])(_0x4a06d2[_0x24b96c(0x120)])),_0x517da2(0x3,_0x429bdf['IUIPartsService'])],_0xab3962);function _0x31631e(_0x23266a){let {status$:_0x5e1282}=_0x23266a;return function(){const _0x2ec936=_0x84a9;return(0x0,_0x2f373e[_0x2ec936(0xc2)])(_0x12ed17,{'status$':_0x5e1282});};}let _0x55c8b2=(0x0,_0x13030d[_0x24b96c(0x267)])(_0x24b96c(0x1b8)),_0x2d4814=class extends _0x13030d[_0x24b96c(0x2ae)]{constructor(_0x195def,_0x3af8bd,_0x2882e4,_0x18fe01,_0x442a90){const _0x206422=_0x24b96c;super(),this[_0x206422(0x31d)]=_0x195def,this[_0x206422(0xec)]=_0x3af8bd,this[_0x206422(0xa0)]=_0x2882e4,this[_0x206422(0x330)]=_0x18fe01,_0x442a90?_0x442a90==null||_0x442a90['whenReady']()[_0x206422(0x100)](()=>this[_0x206422(0xb7)]()):(this['_logService'][_0x206422(0x19d)](_0x206422(0xfe),_0x206422(0x14a)),this[_0x206422(0xb7)]());}async[_0x24b96c(0xb7)](){const _0x445ab5=_0x24b96c;let _0x5c353b=this[_0x445ab5(0x31d)][_0x445ab5(0x1c6)]('unit'),_0x10a16e=this['_urlService']['getParam'](_0x445ab5(0x35c)),_0xb7349=this[_0x445ab5(0x31d)][_0x445ab5(0x1c6)](_0x445ab5(0xbc));if(!_0x5c353b||!_0x10a16e){this[_0x445ab5(0xec)][_0x445ab5(0x19d)](_0x445ab5(0xfe),_0x445ab5(0x1fd));return;}let _0x21d4da=await this[_0x445ab5(0x330)][_0x445ab5(0x323)](_0x5c353b,Number(_0x10a16e),_0xb7349);_0x21d4da&&_0x21d4da instanceof _0x13030d['Workbook']&&this[_0x445ab5(0xb9)](_0x21d4da);}async[_0x24b96c(0xb9)](_0x4f6af4){const _0x3d0680=_0x24b96c;await this[_0x3d0680(0x203)](_0x4f6af4),_0x4f6af4[_0x3d0680(0x298)]['pipe']((0x0,_0x594669[_0x3d0680(0xc0)])(this[_0x3d0680(0x159)]))[_0x3d0680(0x320)](_0x430046=>{_0x430046&&this['_updateURLWithCurrentState'](_0x430046);}),this['_urlService'][_0x3d0680(0x31b)]['pipe']((0x0,_0x594669[_0x3d0680(0xc0)])(this[_0x3d0680(0x159)]))[_0x3d0680(0x320)](()=>this[_0x3d0680(0x203)](_0x4f6af4));}[_0x24b96c(0x128)](_0x5b6f5b,_0x1669f1=!0x1){const _0x4b8b4a=_0x24b96c;let _0x4ade55=this['_urlService'][_0x4b8b4a(0x1c6)](_0x4b8b4a(0xbc));_0x5b6f5b['getSheetId']()!==_0x4ade55&&this[_0x4b8b4a(0x31d)]['setParam'](_0x4b8b4a(0xbc),_0x5b6f5b[_0x4b8b4a(0x32a)](),_0x1669f1);}async[_0x24b96c(0x203)](_0x2fae54){const _0x5ca6bb=_0x24b96c;var _0x569f75;let _0x47c5a7=this['_urlService'][_0x5ca6bb(0x1c6)]('subunit');if(!_0x47c5a7||!_0x2fae54['getSheetBySheetId'](_0x47c5a7)){let _0x44c981=_0x2fae54[_0x5ca6bb(0x2c9)]()[0x0],_0x1ce690=_0x2fae54[_0x5ca6bb(0xa2)](_0x44c981);if(!_0x1ce690)return;this[_0x5ca6bb(0x128)](_0x1ce690,!0x0),await this['_commandService'][_0x5ca6bb(0x2a4)](_0x47b368[_0x5ca6bb(0x321)]['id'],{'unitId':_0x2fae54[_0x5ca6bb(0xf6)](),'subUnitId':_0x44c981});return;}((_0x569f75=_0x2fae54[_0x5ca6bb(0x12d)]())==null?void 0x0:_0x569f75['getSheetId']())!==_0x47c5a7&&await this[_0x5ca6bb(0xa0)][_0x5ca6bb(0x2a4)](_0x47b368['SetWorksheetActivateCommand']['id'],{'unitId':_0x2fae54[_0x5ca6bb(0xf6)](),'subUnitId':_0x47c5a7});}};_0x2d4814=_0x12d4ea([_0x517da2(0x0,_0x55c8b2),_0x517da2(0x1,_0x13030d[_0x24b96c(0x30f)]),_0x517da2(0x2,_0x13030d[_0x24b96c(0x2bb)]),_0x517da2(0x3,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x4a06d2['DataLoaderService'])),_0x517da2(0x4,(0x0,_0x13030d['Optional'])(_0x108d2d[_0x24b96c(0x139)]))],_0x2d4814);var _0x4837e7=_0x24b96c(0x36d),_0x47cc26=_0x24b96c(0x2a8);let _0x3543c2=class extends _0x13030d[_0x24b96c(0x2ae)]{constructor(_0x3db76a,_0x495a05){const _0x2a513c=_0x24b96c;super(),this[_0x2a513c(0x215)]=_0x3db76a,this[_0x2a513c(0x163)]=_0x495a05,this[_0x2a513c(0xb7)]();}[_0x24b96c(0xb7)](){const _0x1700f5=_0x24b96c;let _0x389513=this;this[_0x1700f5(0x220)](this[_0x1700f5(0x215)][_0x1700f5(0x245)]({'onBeforePasteImage':async _0x3a10db=>{const _0x3072c9=_0x1700f5;let _0x316bef=await _0x389513['_imageIoService'][_0x3072c9(0x125)](_0x3a10db);return _0x316bef?{'source':_0x316bef['source'],'imageSourceType':_0x316bef[_0x3072c9(0xb6)]}:null;}}));}};_0x3543c2=_0x12d4ea([_0x517da2(0x0,_0x57a234[_0x24b96c(0x39f)]),_0x517da2(0x1,_0x497386[_0x24b96c(0x35e)])],_0x3543c2);let _0x1d5af9=[_0x24b96c(0x372),_0x24b96c(0x2cc),'green.600',_0x24b96c(0x1d0),_0x24b96c(0x161),_0x24b96c(0x275)];var _0x57da1c=class extends _0x13030d[_0x24b96c(0x328)]{constructor(..._0xb94d75){const _0x34abb1=_0x24b96c;super(..._0xb94d75),_0x32f982(this,_0x34abb1(0x157),new Map()),_0x32f982(this,_0x34abb1(0x2e2),0x0);}[_0x24b96c(0x36f)](_0x5eed0e){const _0x218e81=_0x24b96c;if(this[_0x218e81(0x157)]['has'](_0x5eed0e))return this[_0x218e81(0x157)][_0x218e81(0x283)](_0x5eed0e);let _0x734cee=_0x1d5af9[this['_colorIndex']];return this[_0x218e81(0x2e2)]=(this[_0x218e81(0x2e2)]+0x1)%_0x1d5af9[_0x218e81(0x36e)],this[_0x218e81(0x157)][_0x218e81(0x13e)](_0x5eed0e,_0x734cee),_0x734cee;}},_0x536f7a=function(_0x90c6d5){return _0x90c6d5['Active']='1',_0x90c6d5['Inactive']='0',_0x90c6d5;}(_0x536f7a||{});function _0x4aec9f(_0x2d4b3c){const _0x3ecdbe=_0x24b96c;let _0x4ce1ee='';for(let _0x3c4831 of _0x2d4b3c){let {startOffset:_0x428398,endOffset:_0x5a30ca,isActive:_0x42ed25,rangeType:_0x140041,segmentId:_0x5e318e,segmentPage:_0x51fda4}=_0x3c4831;_0x4ce1ee['length']&&(_0x4ce1ee+=','),_0x4ce1ee+=_0x428398+':'+_0x5a30ca+':'+(_0x42ed25?_0x536f7a['Active']:_0x536f7a[_0x3ecdbe(0x227)])+':'+_0x140041+':'+_0x5e318e+':'+_0x51fda4;}return _0x4ce1ee;}function _0x1de834(_0x391448){const _0x56e328=_0x24b96c;let _0x2f7cb9=_0x391448['split'](','),_0x506bf8=[];for(let _0x1d276f of _0x2f7cb9){let [_0x4668df,_0x5b26dd,_0x46613b,_0x1f90de,_0x178391,_0x5279fa]=_0x1d276f[_0x56e328(0x160)](':');_0x506bf8[_0x56e328(0x264)]({'startOffset':Number(_0x4668df),'endOffset':Number(_0x5b26dd),'collapsed':_0x4668df===_0x5b26dd,'isActive':_0x46613b===_0x536f7a[_0x56e328(0xe5)],'rangeType':_0x1f90de===_0x13030d[_0x56e328(0x1ef)][_0x56e328(0x24b)]?_0x13030d[_0x56e328(0x1ef)][_0x56e328(0x24b)]:_0x13030d['DOC_RANGE_TYPE'][_0x56e328(0x2ee)],'segmentId':typeof _0x178391==_0x56e328(0x3ad)?String(_0x178391):'','segmentPage':Number(_0x5279fa==null?-0x1:_0x5279fa)});}return _0x506bf8[_0x56e328(0x2b6)](_0x3b2272=>_0x3b2272[_0x56e328(0x207)])||(_0x506bf8[0x0][_0x56e328(0x207)]=!0x0),_0x506bf8;}var _0x26ea35=class extends _0x13030d[_0x24b96c(0x2ae)]{constructor(..._0x20907b){const _0x592f54=_0x24b96c;super(..._0x20907b),_0x32f982(this,_0x592f54(0x1ba),new _0x594669[(_0x592f54(0x3a6))](null)),_0x32f982(this,_0x592f54(0x35f),this[_0x592f54(0x1ba)]['asObservable']());}[_0x24b96c(0x18c)](_0x27f662){const _0x29197a=_0x24b96c;let {unitID:_0x4b78b8,memberID:_0x30ae70,textRanges:_0x92d2b}=_0x27f662,_0x22f2b3=_0x4aec9f(_0x92d2b);if(_0x22f2b3==='')return;let _0x54201d={'unitID':_0x4b78b8,'memberID':_0x30ae70,'selection':_0x22f2b3};this[_0x29197a(0x1ba)][_0x29197a(0x373)](_0x54201d);}};let _0x1bd4ab=class extends _0x13030d['RxDisposable']{get['cursorInfo'](){const _0x2bc43b=_0x24b96c;return this['_cursorInfo$'][_0x2bc43b(0x135)]();}get['roomMembers'](){const _0x3d8632=_0x24b96c;return this[_0x3d8632(0x349)][_0x3d8632(0x135)]();}constructor(_0x2bfb23,_0x2c95ab,_0xc27237,_0x44882c,_0x557e78,_0xa8d28b,_0x3ef58a,_0x16cde3,_0xe31651){const _0x4be920=_0x24b96c;super(),this['unitID']=_0x2bfb23,this[_0x4be920(0xd6)]=_0x2c95ab,this[_0x4be920(0x23a)]=_0xc27237,this[_0x4be920(0x1d9)]=_0x44882c,this[_0x4be920(0xed)]=_0x557e78,this[_0x4be920(0x155)]=_0xa8d28b,this[_0x4be920(0x22d)]=_0x3ef58a,this[_0x4be920(0x141)]=_0x16cde3,this['_commandService']=_0xe31651,_0x32f982(this,'_online',!0x1),_0x32f982(this,_0x4be920(0xb7),!0x1),_0x32f982(this,_0x4be920(0x242),new _0x594669[(_0x4be920(0x3a6))](new Map())),_0x32f982(this,_0x4be920(0x340),this['_cursorInfo$'][_0x4be920(0x388)]()),_0x32f982(this,_0x4be920(0x349),new _0x594669['BehaviorSubject']([])),_0x32f982(this,_0x4be920(0x1b3),this[_0x4be920(0x349)][_0x4be920(0x2be)]((0x0,_0x594669[_0x4be920(0x188)])(0x12c))),_0x32f982(this,_0x4be920(0x10d),(0x0,_0x13030d[_0x4be920(0x2b0)])(_0x234c2a=>{const _0x42b76e=_0x4be920;let _0x3d2df8={'eventID':_0x486545[_0x42b76e(0x195)][_0x42b76e(0x1e1)],'data':{'unitID':this[_0x42b76e(0x343)],'memberID':this[_0x42b76e(0xd6)][_0x42b76e(0x126)](),'selection':_0x4aec9f(_0x234c2a)}};this[_0x42b76e(0xd6)][_0x42b76e(0x34d)](_0x3d2df8,this[_0x42b76e(0x343)]);},0x64));}[_0x24b96c(0x29f)](){const _0x182650=_0x24b96c;super['dispose'](),this[_0x182650(0x242)][_0x182650(0x373)](new Map()),this[_0x182650(0x242)][_0x182650(0xdc)](),this[_0x182650(0x349)][_0x182650(0x373)]([]),this[_0x182650(0x349)][_0x182650(0xdc)]();}[_0x24b96c(0x387)](){const _0xc558c5=_0x24b96c;this[_0xc558c5(0xb7)]||(this[_0xc558c5(0xb7)]=!0x0,this[_0xc558c5(0xd6)]['sessionStatus$']['pipe']((0x0,_0x594669['takeUntil'])(this[_0xc558c5(0x159)]))[_0xc558c5(0x320)](_0x7bb920=>{const _0x8b18ba=_0xc558c5;_0x7bb920===_0x4a06d2[_0x8b18ba(0x1f2)]['ONLINE']?this[_0x8b18ba(0x2de)]():this[_0x8b18ba(0x2a7)]();}),this[_0xc558c5(0xd6)][_0xc558c5(0x1a3)][_0xc558c5(0x2be)]((0x0,_0x594669[_0xc558c5(0xc0)])(this[_0xc558c5(0x159)]))[_0xc558c5(0x320)](_0x16077c=>{const _0x936e95=_0xc558c5;let _0x2740ab=_0x16077c[_0x936e95(0x2dc)];_0x2740ab===_0x486545[_0x936e95(0x195)][_0x936e95(0x1e1)]&&this[_0x936e95(0x1d6)](_0x16077c),_0x2740ab===_0x486545[_0x936e95(0x195)]['USERS_LEAVE']&&this[_0x936e95(0x258)](_0x16077c);}),this[_0xc558c5(0x220)](this[_0xc558c5(0xa0)][_0xc558c5(0xd3)](_0x436b4f=>{const _0x30c0ab=_0xc558c5;let _0x5632bc=_0x436b4f[_0x30c0ab(0x22a)];_0x5632bc!=null&&this[_0x30c0ab(0x1e4)]&&_0x436b4f['id']===_0x1aedbb[_0x30c0ab(0x1fa)]['id']&&_0x5632bc[_0x30c0ab(0x1bf)]===this[_0x30c0ab(0x343)]&&_0x5632bc['isEditing']===!0x1&&_0x5632bc['ranges'][_0x30c0ab(0x36e)]>0x0&&this[_0x30c0ab(0x10d)](_0x5632bc[_0x30c0ab(0x11e)]);})),this[_0xc558c5(0x155)][_0xc558c5(0x35f)]['pipe']((0x0,_0x594669[_0xc558c5(0xc0)])(this['dispose$']))[_0xc558c5(0x320)](_0x2aba93=>{const _0x3cb27d=_0xc558c5;if((_0x2aba93==null?void 0x0:_0x2aba93['unitID'])!==this[_0x3cb27d(0x343)])return;let _0x28bcfb={'eventID':_0x486545['CollaborationEvent'][_0x3cb27d(0x1e1)],'data':_0x2aba93};this['_onCursorUpdate'](_0x28bcfb);}),this['disposeWithMe'](this[_0xc558c5(0xa0)][_0xc558c5(0xd3)](_0xaec00d=>{const _0x525968=_0xc558c5;if(_0xaec00d[_0x525968(0x22a)]==null)return;let _0x3b62ee=_0xaec00d[_0x525968(0x22a)];if(_0xaec00d['id']!==_0x1aedbb['RichTextEditingMutation']['id']||_0x3b62ee[_0x525968(0x1bf)]!==this[_0x525968(0x343)])return;let _0x3c7817={'id':_0x525968(0x1ae),'params':_0x3b62ee},_0xa52f09=this['cursorInfo'];for(let [_0x4abf19,_0x1f8409]of _0xa52f09){let _0x53cc00={'id':_0x525968(0x1ae),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x1f8409[_0x525968(0x11e)]}},_0x309de5=this[_0x525968(0x22d)][_0x525968(0x26a)](_0x3c7817,_0x53cc00,!0x1);if((0x0,_0x486545[_0x525968(0x326)])(_0x309de5))throw _0x309de5['error'];_0xa52f09[_0x525968(0x13e)](_0x4abf19,{..._0x1f8409,'ranges':_0x309de5[_0x525968(0x32c)][_0x525968(0x22a)][_0x525968(0x132)]});}queueMicrotask(()=>{const _0x2fefb4=_0x525968;this[_0x2fefb4(0x242)][_0x2fefb4(0x373)](_0xa52f09);});})));}[_0x24b96c(0x1d6)](_0x48bdc4){const _0x14e332=_0x24b96c;var _0x82ab08,_0x12b1f6;let {memberID:_0x1ebdca,selection:_0x151be2}=_0x48bdc4[_0x14e332(0x366)],_0x4f7527=_0x1de834(_0x151be2),_0x125594=(_0x82ab08=(_0x12b1f6=this[_0x14e332(0xed)][_0x14e332(0x285)](this[_0x14e332(0x343)],_0x1ebdca))==null?void 0x0:_0x12b1f6['name'])==null?_0x14e332(0x1a6):_0x82ab08,_0x153512={'color':this[_0x14e332(0x1d9)]['assignAColorForMemberID'](_0x1ebdca),'name':_0x125594,'ranges':_0x4f7527},_0x5187d5=this[_0x14e332(0x336)];_0x5187d5[_0x14e332(0x13e)](_0x1ebdca,_0x153512),this[_0x14e332(0x242)][_0x14e332(0x373)](_0x5187d5);}['_onCursorDelete'](_0x1c6319){const _0x271cd9=_0x24b96c;let {memberID:_0x120cfe}=_0x1c6319[_0x271cd9(0x366)],_0x1775eb=this['cursorInfo'];_0x1775eb[_0x271cd9(0x103)](_0x120cfe),this[_0x271cd9(0x242)]['next'](_0x1775eb);}[_0x24b96c(0x2de)](){const _0x3d4424=_0x24b96c;var _0x2e975d;if(this[_0x3d4424(0x1e4)]=!0x0,((_0x2e975d=this[_0x3d4424(0x141)]['getFocusedUnit']())==null?void 0x0:_0x2e975d[_0x3d4424(0xf6)]())!==this[_0x3d4424(0x343)])return;let _0x17ac08=this[_0x3d4424(0x23a)][_0x3d4424(0x283)](_0x1aedbb[_0x3d4424(0x16a)])[_0x3d4424(0x396)]();Array['isArray'](_0x17ac08)&&_0x17ac08[_0x3d4424(0x36e)]>0x0&&this[_0x3d4424(0x10d)](_0x17ac08);}[_0x24b96c(0x2a7)](){const _0xa94f0b=_0x24b96c;this[_0xa94f0b(0x1e4)]=!0x1;}};_0x1bd4ab=_0x12d4ea([_0x517da2(0x2,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d[_0x24b96c(0x331)])),_0x517da2(0x3,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x57da1c)),_0x517da2(0x4,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x4a06d2[_0x24b96c(0x29c)])),_0x517da2(0x5,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x26ea35)),_0x517da2(0x6,_0x486545['ITransformService']),_0x517da2(0x7,_0x13030d[_0x24b96c(0x235)]),_0x517da2(0x8,_0x13030d[_0x24b96c(0x2bb)])],_0x1bd4ab);let _0x7b8e21=()=>{let _0x3bc873=[],_0x24efd8=!0x1;return _0x52a1fd=>{const _0x6ef6cf=_0x84a9;_0x3bc873[_0x6ef6cf(0x264)](_0x52a1fd),_0x24efd8||(_0x24efd8=!0x0,setTimeout(()=>{const _0xc21006=_0x6ef6cf;_0x3bc873[_0xc21006(0x172)](_0x3fa477=>_0x3fa477()),_0x3bc873=[],_0x24efd8=!0x1;}));};},_0x163c94=class extends _0x13030d[_0x24b96c(0x2ae)]{get[_0x24b96c(0x336)](){const _0x2862f2=_0x24b96c;return this['_cursorInfo$'][_0x2862f2(0x135)]();}get[_0x24b96c(0x295)](){const _0x5646c1=_0x24b96c;return this['_roomMembers$'][_0x5646c1(0x135)]();}constructor(_0x4b6238,_0x363d9a,_0x7e1108,_0x3a9f76,_0xc5dafd,_0x1cf06d,_0x4d9512,_0x4e4eff){const _0x172a0d=_0x24b96c;super(),this[_0x172a0d(0x343)]=_0x4b6238,this[_0x172a0d(0xd6)]=_0x363d9a,this['_injector']=_0x7e1108,this[_0x172a0d(0x1d9)]=_0x3a9f76,this[_0x172a0d(0xed)]=_0xc5dafd,this[_0x172a0d(0x141)]=_0x1cf06d,this[_0x172a0d(0xa0)]=_0x4d9512,this[_0x172a0d(0x20e)]=_0x4e4eff,_0x32f982(this,_0x172a0d(0x1e4),!0x1),_0x32f982(this,_0x172a0d(0xb7),!0x1),_0x32f982(this,'_cursorInfo$',new _0x594669[(_0x172a0d(0x3a6))](new Map())),_0x32f982(this,_0x172a0d(0x340),this[_0x172a0d(0x242)][_0x172a0d(0x388)]()),_0x32f982(this,'_roomMembers$',new _0x594669['BehaviorSubject']([])),_0x32f982(this,_0x172a0d(0x1b3),this[_0x172a0d(0x349)][_0x172a0d(0x2be)]((0x0,_0x594669[_0x172a0d(0x188)])(0x12c))),_0x32f982(this,_0x172a0d(0x10d),(0x0,_0x13030d[_0x172a0d(0x2b0)])((_0x4695eb,_0x126d6f)=>{const _0x405ce9=_0x172a0d;let _0x56b94b={'eventID':_0x486545[_0x405ce9(0x195)][_0x405ce9(0x1e1)],'data':{'unitID':this[_0x405ce9(0x343)],'memberID':this[_0x405ce9(0xd6)][_0x405ce9(0x126)](),'selection':(0x0,_0xe81250[_0x405ce9(0x2f1)])(_0x4695eb,_0x126d6f[_0x405ce9(0x1a7)])}};this['_session']['send'](_0x56b94b,this['unitID']);},0x64));}['dispose'](){const _0x5d0e67=_0x24b96c;super[_0x5d0e67(0x29f)](),this[_0x5d0e67(0x242)][_0x5d0e67(0x373)](new Map()),this[_0x5d0e67(0x242)][_0x5d0e67(0xdc)](),this[_0x5d0e67(0x349)]['next']([]),this[_0x5d0e67(0x349)][_0x5d0e67(0xdc)]();}[_0x24b96c(0x387)](){const _0x33a80c=_0x24b96c;this[_0x33a80c(0xb7)]||(this[_0x33a80c(0xb7)]=!0x0,this['_session'][_0x33a80c(0x286)][_0x33a80c(0x2be)]((0x0,_0x594669[_0x33a80c(0xc0)])(this[_0x33a80c(0x159)]))[_0x33a80c(0x320)](_0x541a70=>{const _0x5c0099=_0x33a80c;_0x541a70===_0x4a06d2['SessionStatus'][_0x5c0099(0x39a)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x33a80c(0xd6)][_0x33a80c(0x1a3)][_0x33a80c(0x2be)]((0x0,_0x594669[_0x33a80c(0xc0)])(this[_0x33a80c(0x159)]))[_0x33a80c(0x320)](_0x86bb61=>{const _0x2e2eff=_0x33a80c;let _0x4f1267=_0x86bb61[_0x2e2eff(0x2dc)];_0x4f1267===_0x486545[_0x2e2eff(0x195)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x86bb61),_0x4f1267===_0x486545[_0x2e2eff(0x195)][_0x2e2eff(0x18b)]&&this[_0x2e2eff(0x258)](_0x86bb61);}),this[_0x33a80c(0x2f2)](),this[_0x33a80c(0x220)](this['_commandService']['onCommandExecuted'](_0x4e3b84=>{const _0xb684b8=_0x33a80c;if(this['_online']&&_0x4e3b84['id']===_0x47b368[_0xb684b8(0xda)]['id']&&_0x4e3b84['params'][_0xb684b8(0x1bf)]===this[_0xb684b8(0x343)]){let _0x3bf9e9=_0x4e3b84[_0xb684b8(0x22a)];this['_updateLocalCursor'](_0x3bf9e9[_0xb684b8(0x30a)],_0x3bf9e9[_0xb684b8(0x27d)][0x0]);}})));}[_0x24b96c(0x1d6)](_0x1a87a2){const _0x38c870=_0x24b96c;var _0x337bc4,_0x1fd0dd;let {memberID:_0x1bedab,selection:_0x558164}=_0x1a87a2['data'],{sheetName:_0x15f59f,range:_0x49f3a6}=(0x0,_0xe81250[_0x38c870(0x15d)])(_0x558164),_0x34ce89={'name':(_0x337bc4=(_0x1fd0dd=this[_0x38c870(0xed)][_0x38c870(0x285)](this[_0x38c870(0x343)],_0x1bedab))==null?void 0x0:_0x1fd0dd[_0x38c870(0x1c4)])==null?_0x38c870(0x1a6):_0x337bc4,'range':this[_0x38c870(0x130)](_0x15f59f,_0x49f3a6),'sheetID':_0x15f59f,'color':this[_0x38c870(0x1d9)][_0x38c870(0x36f)](_0x1bedab),'selection':_0x558164},_0x100439=this[_0x38c870(0x336)];_0x100439[_0x38c870(0x13e)](_0x1bedab,_0x34ce89),this[_0x38c870(0x242)][_0x38c870(0x373)](_0x100439);}[_0x24b96c(0x258)](_0x28c4b3){const _0x10e137=_0x24b96c;let {memberID:_0x15a516}=_0x28c4b3[_0x10e137(0x366)],_0x69ed02=this[_0x10e137(0x336)];_0x69ed02['delete'](_0x15a516),this['_cursorInfo$']['next'](_0x69ed02);}[_0x24b96c(0x130)](_0x5728ee,_0x3cf6b0){const _0x2b7c41=_0x24b96c;var _0x272151;let _0x393c6c=(_0x272151=this[_0x2b7c41(0x141)][_0x2b7c41(0x28e)](this['unitID']))==null||(_0x272151=_0x272151[_0x2b7c41(0xa2)](_0x5728ee))==null?void 0x0:_0x272151[_0x2b7c41(0x1ec)]();return(_0x393c6c==null?void 0x0:_0x393c6c[_0x2b7c41(0x299)](_0x3f3eae=>_0x13030d['Rectangle'][_0x2b7c41(0x20a)](_0x3f3eae,_0x3cf6b0)))||_0x3cf6b0;}[_0x24b96c(0x2f2)](){const _0x3b68f5=_0x24b96c;let _0x31c8c9=new _0x13030d[(_0x3b68f5(0x19b))](),_0x36d977=_0x7b8e21(),_0x5885d3=()=>{_0x31c8c9['dispose']();let _0x2decc0=(_0x1ce68a,_0x2b65d3,_0x84f108,_0x19f520)=>{const _0x5b959e=_0x84a9;let _0x564fba=[];switch(_0x1ce68a['id']){case _0x47b368[_0x5b959e(0x177)]['DeleteRangeMoveLeftCommandId']:_0x564fba=(0x0,_0x47b368[_0x5b959e(0x1ab)])(_0x1ce68a,_0x19f520);break;case _0x47b368['EffectRefRangId'][_0x5b959e(0x18d)]:_0x564fba=(0x0,_0x47b368[_0x5b959e(0x369)])(_0x1ce68a,_0x19f520);break;case _0x47b368[_0x5b959e(0x177)][_0x5b959e(0x273)]:_0x564fba=(0x0,_0x47b368[_0x5b959e(0x1e6)])(_0x1ce68a,_0x19f520);break;case _0x47b368[_0x5b959e(0x177)][_0x5b959e(0x1a5)]:_0x564fba=(0x0,_0x47b368[_0x5b959e(0x109)])(_0x1ce68a,_0x19f520);break;case _0x47b368[_0x5b959e(0x177)][_0x5b959e(0x174)]:_0x564fba=(0x0,_0x47b368[_0x5b959e(0x252)])(_0x1ce68a,_0x19f520);break;case _0x47b368[_0x5b959e(0x177)]['InsertRowCommandId']:_0x564fba=(0x0,_0x47b368[_0x5b959e(0xf3)])(_0x1ce68a,_0x19f520);break;case _0x47b368[_0x5b959e(0x177)][_0x5b959e(0xf9)]:_0x564fba=(0x0,_0x47b368[_0x5b959e(0x30b)])(_0x1ce68a,_0x19f520);break;case _0x47b368[_0x5b959e(0x177)][_0x5b959e(0x304)]:_0x564fba=(0x0,_0x47b368[_0x5b959e(0x1f1)])(_0x1ce68a,_0x19f520);break;case _0x47b368[_0x5b959e(0x177)]['RemoveRowCommandId']:_0x564fba=(0x0,_0x47b368[_0x5b959e(0x268)])(_0x1ce68a,_0x19f520);break;}let _0x16cfd8=(0x0,_0x47b368[_0x5b959e(0x2a0)])(_0x564fba,_0x19f520),_0x4af4fd=this['cursorInfo']['get'](_0x2b65d3);if(_0x4af4fd&&_0x16cfd8){let _0x34c470={..._0x4af4fd,'range':_0x16cfd8};this[_0x5b959e(0x336)][_0x5b959e(0x13e)](_0x2b65d3,_0x34c470),_0x36d977(()=>{const _0x5c2d00=_0x5b959e;let _0x462be8=this[_0x5c2d00(0x20e)][_0x5c2d00(0x10e)](_0x16cfd8,_0x4dedd5=>(_0x462be8[_0x5c2d00(0x29f)](),_0x2decc0(_0x4dedd5,_0x2b65d3,_0x84f108,_0x16cfd8)));_0x31c8c9[_0x5c2d00(0x2e8)](_0x462be8);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x45d97e,_0x334f57)=>{const _0x497664=_0x84a9;let {range:_0x4fa1d1,sheetID:_0x20504a}=_0x45d97e,_0x80f811=this['_refRangeService']['registerRefRange'](_0x4fa1d1,_0x340e6e=>(_0x80f811[_0x497664(0x29f)](),_0x2decc0(_0x340e6e,_0x334f57,_0x20504a,_0x4fa1d1)));_0x31c8c9['add'](_0x80f811);});};this[_0x3b68f5(0x220)]((0x0,_0x13030d[_0x3b68f5(0x148)])(this[_0x3b68f5(0x242)][_0x3b68f5(0x320)](()=>{_0x5885d3();})));}[_0x24b96c(0x2de)](){const _0x3d17a7=_0x24b96c;var _0x2396a3,_0x835fbb;if(this[_0x3d17a7(0x1e4)]=!0x0,((_0x2396a3=this[_0x3d17a7(0x141)][_0x3d17a7(0x16c)]())==null?void 0x0:_0x2396a3[_0x3d17a7(0xf6)]())!==this[_0x3d17a7(0x343)])return;let _0x12107a=(_0x835fbb=this[_0x3d17a7(0x23a)]['get'](_0x47b368['SheetsSelectionsService'])[_0x3d17a7(0x3a9)]())==null?void 0x0:_0x835fbb[0x0],_0x18f405=this['_univerInstanceService']['getCurrentUnitForType'](_0x13030d[_0x3d17a7(0x3aa)][_0x3d17a7(0x2d8)])[_0x3d17a7(0x12d)]();_0x12107a&&_0x18f405&&this['_updateLocalCursor'](_0x18f405[_0x3d17a7(0x32a)](),_0x12107a);}[_0x24b96c(0x2a7)](){const _0x36d81e=_0x24b96c;this[_0x36d81e(0x1e4)]=!0x1;}};_0x163c94=_0x12d4ea([_0x517da2(0x2,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d['Injector'])),_0x517da2(0x3,(0x0,_0x13030d['Inject'])(_0x57da1c)),_0x517da2(0x4,(0x0,_0x13030d['Inject'])(_0x4a06d2[_0x24b96c(0x29c)])),_0x517da2(0x5,_0x13030d[_0x24b96c(0x235)]),_0x517da2(0x6,_0x13030d[_0x24b96c(0x2bb)]),_0x517da2(0x7,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x47b368[_0x24b96c(0x291)]))],_0x163c94);let _0x56259b=class extends _0x13030d[_0x24b96c(0x2ae)]{constructor(_0x4683d5,_0x1ade8c,_0x1c7aba){const _0x25f4ad=_0x24b96c;super(),this[_0x25f4ad(0x141)]=_0x4683d5,this['_injector']=_0x1ade8c,this[_0x25f4ad(0x18e)]=_0x1c7aba,_0x32f982(this,_0x25f4ad(0x2d2),new Map()),_0x32f982(this,_0x25f4ad(0x293),new _0x594669[(_0x25f4ad(0x21a))]()),this['_init']();}[_0x24b96c(0x29f)](){const _0x322038=_0x24b96c;super[_0x322038(0x29f)](),this[_0x322038(0x293)][_0x322038(0xdc)](),this[_0x322038(0x2d2)][_0x322038(0x172)](_0x46cf60=>_0x46cf60['dispose']());}['getCollabCursors$'](_0x57a5cb){const _0x31bbf0=_0x24b96c;return this['_entities']['has'](_0x57a5cb)?this[_0x31bbf0(0x2d2)]['get'](_0x57a5cb)[_0x31bbf0(0x340)]:this[_0x31bbf0(0x293)]['pipe']((0x0,_0x594669[_0x31bbf0(0xa7)])(_0x278d2c=>_0x278d2c['unitID']===_0x57a5cb),(0x0,_0x594669['switchMap'])(_0x20629b=>_0x20629b['cursorInfo$']));}['_init'](){const _0x273199=_0x24b96c;this[_0x273199(0x141)][_0x273199(0x21b)](_0x13030d[_0x273199(0x3aa)][_0x273199(0x2d8)])['pipe']((0x0,_0x594669[_0x273199(0xc0)])(this[_0x273199(0x159)]))[_0x273199(0x320)](async _0x3975d7=>{const _0xa3a71d=_0x273199;let _0x5b9b25=_0x3975d7[_0xa3a71d(0xf6)](),_0x4245d6=await this[_0xa3a71d(0x1b2)](_0x5b9b25);this['_entityInit$'][_0xa3a71d(0x373)](_0x4245d6),this['_entities'][_0xa3a71d(0x13e)](_0x5b9b25,_0x4245d6);}),this['_univerInstanceService'][_0x273199(0x21b)](_0x13030d[_0x273199(0x3aa)][_0x273199(0xd4)])['pipe']((0x0,_0x594669['takeUntil'])(this['dispose$']))['pipe']((0x0,_0x594669[_0x273199(0xa7)])(_0x8426e3=>!_0x8426e3[_0x273199(0xf6)]()[_0x273199(0x1c2)]('__')))[_0x273199(0x320)](async _0x3c7857=>{const _0x222f92=_0x273199;let _0x483875=_0x3c7857[_0x222f92(0xf6)](),_0x1a0c6d=await this[_0x222f92(0x2bd)](_0x483875);this[_0x222f92(0x293)][_0x222f92(0x373)](_0x1a0c6d),this[_0x222f92(0x2d2)][_0x222f92(0x13e)](_0x483875,_0x1a0c6d);}),(0x0,_0x594669[_0x273199(0xf7)])(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x13030d[_0x273199(0x3aa)][_0x273199(0xd4)]),this[_0x273199(0x141)][_0x273199(0x116)](_0x13030d[_0x273199(0x3aa)][_0x273199(0x2d8)]))[_0x273199(0x2be)]((0x0,_0x594669[_0x273199(0xc0)])(this['dispose$']))[_0x273199(0x320)](_0xd0fab9=>{const _0x1d9a30=_0x273199;let _0x757bd3=_0xd0fab9[_0x1d9a30(0xf6)](),_0x53b672=this['_entities'][_0x1d9a30(0x283)](_0x757bd3);_0x53b672&&(_0x53b672['dispose'](),this[_0x1d9a30(0x2d2)]['delete'](_0x757bd3));});}async[_0x24b96c(0x1b2)](_0x42a6bc){const _0x4de331=_0x24b96c;let _0x28ba97=await this[_0x4de331(0x18e)][_0x4de331(0x230)](_0x42a6bc),_0x54c252=this[_0x4de331(0x23a)][_0x4de331(0x1d2)](_0x163c94,_0x42a6bc,_0x28ba97);return _0x54c252[_0x4de331(0x387)](),_0x54c252;}async['_startDocCollabCursor'](_0x1e2f82){const _0x34aad9=_0x24b96c;let _0x2671d1=await this[_0x34aad9(0x18e)][_0x34aad9(0x230)](_0x1e2f82),_0x26e14e=this[_0x34aad9(0x23a)][_0x34aad9(0x1d2)](_0x1bd4ab,_0x1e2f82,_0x2671d1);return _0x26e14e['init'](),_0x26e14e;}};_0x56259b=_0x12d4ea([_0x517da2(0x0,_0x13030d[_0x24b96c(0x235)]),_0x517da2(0x1,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d['Injector'])),_0x517da2(0x2,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x4a06d2['CollaborationSessionService']))],_0x56259b);function _0x793ed2(_0x3f5196,_0x16f06f){const _0x26c95d=_0x24b96c;var _0x230200,_0x4cfb7d,_0x1cd3ff;let {radius:_0x293f09,width:_0x75a445,height:_0x4ed383}=_0x16f06f;_0x293f09=(_0x230200=_0x293f09)==null?0x0:_0x230200,_0x75a445=(_0x4cfb7d=_0x75a445)==null?0x1e:_0x4cfb7d,_0x4ed383=(_0x1cd3ff=_0x4ed383)==null?0x1e:_0x1cd3ff;let _0x1474e5=0x0,_0x8b72ef=0x0,_0xb513e2=0x0;_0x1474e5=_0x8b72ef=_0xb513e2=Math[_0x26c95d(0x24f)](_0x293f09,_0x75a445/0x2,_0x4ed383/0x2),_0x3f5196[_0x26c95d(0x30d)](),_0x3f5196[_0x26c95d(0x123)](_0x1474e5,0x0),_0x3f5196['lineTo'](_0x75a445-_0x8b72ef,0x0),_0x3f5196['arc'](_0x75a445-_0x8b72ef,_0x8b72ef,_0x8b72ef,Math['PI']*0x3/0x2,0x0,!0x1),_0x3f5196['lineTo'](_0x75a445,_0x4ed383-_0xb513e2),_0x3f5196[_0x26c95d(0x365)](_0x75a445-_0xb513e2,_0x4ed383-_0xb513e2,_0xb513e2,0x0,Math['PI']/0x2,!0x1),_0x3f5196[_0x26c95d(0xfc)](0x0,_0x4ed383),_0x3f5196[_0x26c95d(0xfc)](0x0,_0x1474e5),_0x3f5196[_0x26c95d(0x365)](_0x1474e5,_0x1474e5,_0x1474e5,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3f5196[_0x26c95d(0x3a0)](),_0x16f06f[_0x26c95d(0xe8)]&&(_0x3f5196[_0x26c95d(0x367)](),_0x3f5196[_0x26c95d(0x185)]=_0x16f06f['fill'],_0x16f06f[_0x26c95d(0x20f)]===_0x26c95d(0x17d)?_0x3f5196[_0x26c95d(0xe8)](_0x26c95d(0x17d)):_0x3f5196['fill'](),_0x3f5196['restore']());}var _0xe27d5c=class _0x412e26 extends _0x5bc07b[_0x24b96c(0x1b1)]{constructor(_0x323ded,_0x210cf1){const _0x52f281=_0x24b96c;super(_0x323ded,_0x210cf1),_0x32f982(this,_0x52f281(0x305),void 0x0),_0x32f982(this,_0x52f281(0x2d7),void 0x0),this['color']=_0x210cf1==null?void 0x0:_0x210cf1[_0x52f281(0x305)],this[_0x52f281(0x2d7)]=_0x210cf1==null?void 0x0:_0x210cf1[_0x52f281(0x2d7)];}static[_0x24b96c(0xea)](_0x208f08,_0x162c3a){const _0x12c7d0=_0x24b96c;let {text:_0x340ecf,color:_0x13353b}=_0x162c3a;_0x208f08[_0x12c7d0(0x367)](),_0x208f08[_0x12c7d0(0x1ca)]=_0x12c7d0(0x219);let _0x2450b2=_0x208f08[_0x12c7d0(0x3a2)](_0x340ecf)[_0x12c7d0(0x2c3)];if(_0x793ed2(_0x208f08,{'height':0x14,'radius':0x4,'width':Math[_0x12c7d0(0x24f)](_0x2450b2+0x8,0xc8),'fill':_0x13353b,'evented':!0x1}),_0x208f08[_0x12c7d0(0x185)]=_0x12c7d0(0x287),_0x2450b2>0xc0){let _0x5598a5='',_0x158db1=0x0;for(let _0x30a342 of _0x340ecf){let _0x31c80f=_0x208f08['measureText'](_0x30a342)[_0x12c7d0(0x2c3)];if(_0x158db1+_0x31c80f<=0xc0-_0x208f08[_0x12c7d0(0x3a2)](_0x12c7d0(0x36c))[_0x12c7d0(0x2c3)])_0x5598a5+=_0x30a342,_0x158db1+=_0x31c80f;else{_0x5598a5+=_0x12c7d0(0x36c);break;}}_0x208f08[_0x12c7d0(0xd2)](_0x5598a5,0x4,0xf);}else _0x208f08[_0x12c7d0(0xd2)](_0x340ecf,0x4,0xf);_0x208f08['restore']();}[_0x24b96c(0x38a)](_0x2cb9d2){const _0x16e5ed=_0x24b96c;_0x412e26[_0x16e5ed(0xea)](_0x2cb9d2,this);}};let _0x5684fa=_0x24b96c(0x1be);var _0xc683db=class{constructor(_0x43df1c,_0x37056c,_0x373648,_0x167221){const _0x50e1ac=_0x24b96c;this['_cursor']=_0x43df1c,this['_scene']=_0x37056c,this['_docSkeleton']=_0x373648,this[_0x50e1ac(0x20b)]=_0x167221,_0x32f982(this,'_shapes',[]),_0x32f982(this,_0x50e1ac(0x15c),null),_0x32f982(this,_0x50e1ac(0x277),null),_0x32f982(this,'_anchorDot',null),_0x32f982(this,_0x50e1ac(0x191),null),_0x32f982(this,_0x50e1ac(0x108),null),this['_render']();}set[_0x24b96c(0xca)](_0x57a7f4){const _0x17ceaf=_0x24b96c;_0x57a7f4?(this['_anchorDot']&&this[_0x17ceaf(0x284)][_0x17ceaf(0x165)](),this[_0x17ceaf(0x277)]&&this['_textBubble'][_0x17ceaf(0x2d9)]()):(this['_anchorDot']&&this['_anchorDot'][_0x17ceaf(0x2d9)](),this['_textBubble']&&this[_0x17ceaf(0x277)][_0x17ceaf(0x165)]());}[_0x24b96c(0x29f)](){const _0x48f859=_0x24b96c;for(let _0x27b45e of this[_0x48f859(0x1dd)])_0x27b45e['dispose']();this['_textBubble']&&this['_textBubble'][_0x48f859(0x29f)](),this[_0x48f859(0x284)]&&this[_0x48f859(0x284)][_0x48f859(0x29f)](),this['_anchor']&&this[_0x48f859(0x15c)][_0x48f859(0x29f)](),this[_0x48f859(0x108)]&&this[_0x48f859(0x108)]();}[_0x24b96c(0x119)](){const _0x182de1=_0x24b96c;let {_docSkeleton:_0x212e79,_document:_0x4e64b4}=this,{color:_0x3e5af4,name:_0x11709b,ranges:_0x20e4f6}=this[_0x182de1(0xc3)],_0x51fd28=_0x4e64b4[_0x182de1(0x22b)](),{docsLeft:_0x533e37,docsTop:_0x1037b8}=_0x51fd28,_0x172826=new _0x57a234[(_0x182de1(0x183))](_0x51fd28,_0x212e79);for(let {startOffset:_0xd67627,endOffset:_0xa123b4,rangeType:_0x4120ca,segmentId:_0x518a10,segmentPage:_0x40edbd,collapsed:_0x4a6b7a,isActive:_0x50463d}of _0x20e4f6){let _0x57f4d3=_0x212e79[_0x182de1(0x16b)](_0xd67627,!0x0,_0x518a10,_0x40edbd),_0x379ace=_0x212e79[_0x182de1(0x16b)](_0xa123b4,!0x0,_0x518a10,_0x40edbd);if(_0x379ace==null&&(_0x379ace=_0x212e79[_0x182de1(0x16b)](_0xa123b4-0x1,!0x1,_0x518a10,_0x40edbd)),_0x50463d){let {contentBoxPointGroup:_0x33b7ee}=_0x172826[_0x182de1(0x3b5)](_0x379ace,_0x379ace);if(_0x33b7ee[_0x182de1(0x36e)]===0x0)continue;this['_drawAnchor'](_0x3e5af4,_0x33b7ee,_0x533e37,_0x1037b8,_0x11709b),this[_0x182de1(0x108)]=this[_0x182de1(0x1f8)]();}if(_0x57f4d3&&_0x379ace){if(_0x4120ca===_0x13030d['DOC_RANGE_TYPE'][_0x182de1(0x2ee)]){var _0x289866;let {pointGroup:_0x6341ef}=(_0x289866=new _0x57a234[(_0x182de1(0x265))](_0x51fd28,_0x212e79)['getRangePointData'](_0x57f4d3,_0x379ace))==null?{}:_0x289866;if(_0x6341ef==null||_0x6341ef[_0x182de1(0x36e)]===0x0)continue;this['_drawRectRange'](_0x3e5af4,_0x6341ef,_0x533e37,_0x1037b8);}else{if(!_0x4a6b7a){let {borderBoxPointGroup:_0x1c54a1}=_0x172826['getRangePointData'](_0x57f4d3,_0x379ace);if(_0x1c54a1[_0x182de1(0x36e)]===0x0)continue;this[_0x182de1(0x374)](_0x3e5af4,_0x1c54a1,_0x533e37,_0x1037b8);}}}}}[_0x24b96c(0x281)](_0x57421e,_0x1529cc,_0x303bb1,_0x3851ba,_0x57a535){const _0x1182ba=_0x24b96c;let {left:_0x159fe8,top:_0xde2ebc,height:_0x35a74b}=this[_0x1182ba(0x180)](_0x1529cc),_0x7446ce=1.5/this[_0x1182ba(0x214)](),_0x1754ad=new _0x5bc07b[(_0x1182ba(0x35b))](_0x5684fa+(0x0,_0x13030d[_0x1182ba(0x280)])(0x6),{'left':_0x159fe8+_0x303bb1-_0x7446ce,'top':_0xde2ebc+_0x3851ba,'height':_0x35a74b,'width':1.5,'fill':_0x57421e||(0x0,_0x5bc07b[_0x1182ba(0x27a)])(_0x13030d['COLORS'][_0x1182ba(0x2b1)],0x0),'strokeWidth':_0x7446ce,'stroke':_0x1182ba(0x1f3),'evented':!0x0});this[_0x1182ba(0x15c)]=_0x1754ad,this[_0x1182ba(0x1df)]['addObject'](_0x1754ad,_0x57a234[_0x1182ba(0x1b4)]);let _0x39a228=new _0x5bc07b[(_0x1182ba(0x35b))](_0x5684fa+(0x0,_0x13030d[_0x1182ba(0x280)])(0x6),{'left':_0x159fe8+_0x303bb1-_0x7446ce,'top':_0xde2ebc+_0x3851ba-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x57421e||(0x0,_0x5bc07b[_0x1182ba(0x27a)])(_0x13030d[_0x1182ba(0xf4)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x57421e||(0x0,_0x5bc07b[_0x1182ba(0x27a)])(_0x13030d['COLORS']['black'],0x0),'evented':!0x1});this[_0x1182ba(0x284)]=_0x39a228,this[_0x1182ba(0x1df)][_0x1182ba(0x21d)](_0x39a228,_0x57a234[_0x1182ba(0x1b4)]);let _0x155960=new _0xe27d5c(_0x5684fa+(0x0,_0x13030d['generateRandomId'])(0x6),{'left':_0x159fe8+_0x303bb1-_0x7446ce,'top':_0xde2ebc+_0x3851ba-0x14,'text':_0x57a535,'color':_0x57421e});this[_0x1182ba(0x277)]=_0x155960,this[_0x1182ba(0x1df)][_0x1182ba(0x21d)](_0x155960,_0x57a234['TEXT_RANGE_LAYER_INDEX']),this[_0x1182ba(0xca)]=!0x1;}[_0x24b96c(0x1f8)](){const _0x161855=_0x24b96c;let _0x2ecf70=this[_0x161855(0x15c)]['onPointerEnter$'][_0x161855(0x18a)](()=>{this['_hover']=!0x0;}),_0x1e7054=this['_anchor'][_0x161855(0x19e)][_0x161855(0x18a)](()=>{const _0xf18dab=_0x161855;this[_0xf18dab(0x191)]&&clearTimeout(this[_0xf18dab(0x191)]),this[_0xf18dab(0x191)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x52e128=_0x161855;_0x2ecf70[_0x52e128(0x38b)](),_0x1e7054[_0x52e128(0x38b)]();};}['_drawTextRange'](_0x21d758,_0x1ac994,_0x444247,_0xc42759){const _0x28b3a4=_0x24b96c;let _0x8d66ba=0.2,_0x36b891=new _0x13030d[(_0x28b3a4(0x39e))](_0x21d758)[_0x28b3a4(0x1cd)](_0x8d66ba)[_0x28b3a4(0x278)](),_0x5915db=new _0x5bc07b[(_0x28b3a4(0x17f))]('collab-text-range-'+(0x0,_0x13030d[_0x28b3a4(0x280)])(0x6),{'pointsGroup':_0x1ac994,'fill':_0x36b891||(0x0,_0x5bc07b[_0x28b3a4(0x27a)])(_0x13030d[_0x28b3a4(0xf4)]['black'],_0x8d66ba),'left':_0x444247,'top':_0xc42759,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x28b3a4(0x1dd)]['push'](_0x5915db),this[_0x28b3a4(0x1df)][_0x28b3a4(0x21d)](_0x5915db,_0x57a234[_0x28b3a4(0x1b4)]);}[_0x24b96c(0x259)](_0x2d5434,_0x968345,_0x44895a,_0x2848ab){const _0x58531a=_0x24b96c;let _0x469557=0.2,_0x539cf0=new _0x13030d[(_0x58531a(0x39e))](_0x2d5434)[_0x58531a(0x1cd)](_0x469557)[_0x58531a(0x278)](),_0x516a61=new _0x5bc07b['RegularPolygon'](_0x58531a(0x2e9)+(0x0,_0x13030d[_0x58531a(0x280)])(0x6),{'pointsGroup':_0x968345,'fill':_0x539cf0||(0x0,_0x5bc07b[_0x58531a(0x27a)])(_0x13030d[_0x58531a(0xf4)]['black'],_0x469557),'left':_0x44895a,'top':_0x2848ab,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x58531a(0x1dd)][_0x58531a(0x264)](_0x516a61),this['_scene']['addObject'](_0x516a61,_0x57a234[_0x58531a(0x1b4)]);}[_0x24b96c(0x180)](_0x2da992){let _0x123e9d=_0x2da992[0x0],_0x74933c=_0x123e9d[0x0],_0x5d140f=_0x123e9d[0x2],{x:_0x588b8e,y:_0x4b742e}=_0x74933c,{x:_0x5e19f1,y:_0x664676}=_0x5d140f;return{'left':_0x588b8e,'top':_0x4b742e,'width':_0x5e19f1-_0x588b8e,'height':_0x664676-_0x4b742e};}[_0x24b96c(0x214)](){const _0x272d6a=_0x24b96c;let {scaleX:_0x4d141f,scaleY:_0x48ef67}=this[_0x272d6a(0x1df)][_0x272d6a(0x25f)]();return Math[_0x272d6a(0x269)](_0x4d141f,_0x48ef67);}};let _0x3ea851=class extends _0x13030d['RxDisposable']{constructor(_0x1f9bd4,_0x42a524,_0x346e23,_0x1eec5b,_0x118e16){const _0x22018e=_0x24b96c;super(),this[_0x22018e(0xbe)]=_0x1f9bd4,this[_0x22018e(0x39c)]=_0x42a524,this[_0x22018e(0x309)]=_0x346e23,this['_commandService']=_0x1eec5b,this['_themeService']=_0x118e16,_0x32f982(this,'_cursorShapes',[]),_0x32f982(this,'_cursors',[]),this[_0x22018e(0xb7)]();}[_0x24b96c(0xb7)](){const _0x23e10f=_0x24b96c;let _0x4bd5d2=this[_0x23e10f(0xbe)]['unitId'],_0xdaf29b=this[_0x23e10f(0x39c)];this[_0x23e10f(0x220)]((0x0,_0x594669[_0x23e10f(0x1ed)])([this[_0x23e10f(0x309)][_0x23e10f(0xc7)](_0x4bd5d2),this[_0x23e10f(0x2fa)][_0x23e10f(0x1cb)]])[_0x23e10f(0x2be)]((0x0,_0x2525b7[_0x23e10f(0x288)])(([_0x20acc9,_0x46d3d4])=>({'skeleton':_0xdaf29b[_0x23e10f(0x294)](),'cursors':[..._0x20acc9['values']()][_0x23e10f(0xc8)](_0x4d13ab=>({..._0x4d13ab,'color':this[_0x23e10f(0x2fa)][_0x23e10f(0x3b3)](_0x4d13ab[_0x23e10f(0x305)])}))})))[_0x23e10f(0x320)](_0x57960b=>{const _0x2f0313=_0x23e10f;if(this[_0x2f0313(0x192)](),_0x57960b){let {skeleton:_0x526442,cursors:_0x465ccb}=_0x57960b;this['_updateCollabCursors'](_0x526442,_0x465ccb);}})),this['_initResize'](),this[_0x23e10f(0x239)]();}[_0x24b96c(0x2f4)](_0x14a6e7,_0x463a47){const _0xe7599=_0x24b96c;let {scene:_0x3c43a6,mainComponent:_0x59124e}=this['_context'];this['_cursorShapes']=_0x463a47[_0xe7599(0x288)](_0x27e8b0=>new _0xc683db(_0x27e8b0,_0x3c43a6,_0x14a6e7,_0x59124e)),this[_0xe7599(0x212)]=_0x463a47;}[_0x24b96c(0x28d)](){const _0x26e030=_0x24b96c;this[_0x26e030(0x192)]();let {scene:_0x287c7c,mainComponent:_0x45dafb}=this[_0x26e030(0xbe)],_0x1935f9=this[_0x26e030(0x39c)][_0x26e030(0x294)]();this['_cursorShapes']=this['_cursors']['map'](_0x2b8e4d=>new _0xc683db(_0x2b8e4d,_0x287c7c,_0x1935f9,_0x45dafb));}[_0x24b96c(0x192)](){const _0x519a5c=_0x24b96c;this[_0x519a5c(0x3a3)]['forEach'](_0x14a70b=>_0x14a70b[_0x519a5c(0x29f)]()),this[_0x519a5c(0x3a3)]=[];}[_0x24b96c(0x239)](){const _0x4dad64=_0x24b96c;let _0x56e7e0=[_0x57a234[_0x4dad64(0x37d)]['id']];this['disposeWithMe'](this[_0x4dad64(0xa0)][_0x4dad64(0xd3)](_0x74892b=>{const _0x5ac7df=_0x4dad64;_0x56e7e0[_0x5ac7df(0x398)](_0x74892b['id'])&&_0x74892b[_0x5ac7df(0x22a)][_0x5ac7df(0x1bf)]===this[_0x5ac7df(0xbe)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x24b96c(0xc5)](){const _0x469832=_0x24b96c;this[_0x469832(0x220)]((0x0,_0x13030d['fromEventSubject'])(this['_context'][_0x469832(0x1a2)][_0x469832(0x2af)])[_0x469832(0x2be)]((0x0,_0x2525b7[_0x469832(0xa7)])(_0x3739b5=>_0x3739b5[_0x469832(0x35c)]===_0x5bc07b['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),(0x0,_0x2525b7[_0x469832(0x121)])(0x10))[_0x469832(0x320)](()=>{const _0x2b5784=_0x469832;this[_0x2b5784(0x28d)]();}));}};_0x3ea851=_0x12d4ea([_0x517da2(0x1,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x1aedbb[_0x24b96c(0x306)])),_0x517da2(0x2,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x56259b)),_0x517da2(0x3,_0x13030d[_0x24b96c(0x2bb)]),_0x517da2(0x4,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d[_0x24b96c(0xa8)]))],_0x3ea851);var _0x270909=class extends _0x5bc07b[_0x24b96c(0x1b1)]{constructor(_0x5b06fc,_0xfbb975){const _0x5e9ce5=_0x24b96c;if(super(_0x5b06fc,_0xfbb975),_0x32f982(this,_0x5e9ce5(0x23e),void 0x0),_0x32f982(this,_0x5e9ce5(0x2ab),!0x1),_0x32f982(this,'_range',void 0x0),_0x32f982(this,_0x5e9ce5(0x315),''),_0x32f982(this,'_labelPosition','top'),_0x32f982(this,_0x5e9ce5(0x17a),void 0x0),_0x32f982(this,_0x5e9ce5(0x2a6),void 0x0),_0x32f982(this,_0x5e9ce5(0x23c),void 0x0),_0x32f982(this,_0x5e9ce5(0x1de),0x4),_0x32f982(this,'_blinkTimer',void 0x0),_0x32f982(this,_0x5e9ce5(0x169),void 0x0),_0x32f982(this,_0x5e9ce5(0x376),!0x0),_0x32f982(this,_0x5e9ce5(0x3a5),0x0),_0xfbb975){var _0x44a4a0;if(this[_0x5e9ce5(0x333)](_0xfbb975),_0xfbb975[_0x5e9ce5(0x34c)]&&((_0x44a4a0=_0xfbb975['highlightSecond'])==null?this['_highlightSecond']:_0x44a4a0)){var _0x3a473a;this['_startBlinking']((_0x3a473a=_0xfbb975[_0x5e9ce5(0x221)])==null?this[_0x5e9ce5(0x1de)]:_0x3a473a);}}this[_0x5e9ce5(0x289)][_0x5e9ce5(0x18a)](()=>this[_0x5e9ce5(0x333)]({'hovered':!0x0})),this[_0x5e9ce5(0x19e)]['subscribeEvent'](()=>this[_0x5e9ce5(0x333)]({'hovered':!0x1}));}[_0x24b96c(0x3ae)](_0x1ff0e4){const _0xfdaf3d=_0x24b96c;this[_0xfdaf3d(0x3a5)]=_0x1ff0e4;}[_0x24b96c(0x333)](_0x543c0e){const _0x59a0ba=_0x24b96c;var _0x267ae8,_0x55ebec,_0x14277a,_0xa371c7,_0x170e04,_0x55fde8,_0x3aa6c7;this[_0x59a0ba(0x23e)]=(_0x267ae8=_0x543c0e[_0x59a0ba(0x305)])==null?this[_0x59a0ba(0x23e)]:_0x267ae8,this[_0x59a0ba(0x2ab)]=(_0x55ebec=_0x543c0e[_0x59a0ba(0x224)])==null?this[_0x59a0ba(0x2ab)]:_0x55ebec,this[_0x59a0ba(0x15f)]=(_0x14277a=_0x543c0e[_0x59a0ba(0x1a7)])==null?this['_range']:_0x14277a,this['_name']=(_0xa371c7=_0x543c0e[_0x59a0ba(0x1c4)])==null?this[_0x59a0ba(0x315)]:_0xa371c7,this[_0x59a0ba(0x318)]=(_0x170e04=_0x543c0e[_0x59a0ba(0x363)])==null?this[_0x59a0ba(0x318)]:_0x170e04,this['_backgroundColor']=(_0x55fde8=_0x543c0e[_0x59a0ba(0x266)])==null?this[_0x59a0ba(0x17a)]:_0x55fde8,this[_0x59a0ba(0x2a6)]=(_0x3aa6c7=_0x543c0e[_0x59a0ba(0x184)])==null?this['_showText']:_0x3aa6c7,_0x543c0e['highlightSecond']!==void 0x0&&(this['_highlightSecond']=_0x543c0e[_0x59a0ba(0x221)]),_0x543c0e['highlight']!==void 0x0&&(this['_highlight']=_0x543c0e[_0x59a0ba(0x34c)]),_0x543c0e[_0x59a0ba(0x20d)]!==void 0x0&&(this[_0x59a0ba(0x3a5)]=_0x543c0e[_0x59a0ba(0x20d)]),this[_0x59a0ba(0xf8)]({'width':_0x543c0e[_0x59a0ba(0x2c3)],'height':_0x543c0e[_0x59a0ba(0x168)]});}[_0x24b96c(0x25b)](_0x5ccec9){const _0x464c06=_0x24b96c;let {row:_0x255843,column:_0x5c781a}=_0x5ccec9;if(_0x255843>=this['_range']['startRow']&&_0x255843<=this['_range'][_0x464c06(0x225)]&&_0x5c781a>=this[_0x464c06(0x15f)]['startColumn']&&_0x5c781a<=this['_range'][_0x464c06(0xae)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['_startBlinking'](_0x15a8e3){const _0x314826=_0x24b96c;this[_0x314826(0x1aa)](),this['_isBlinkVisible']=!0x0,this[_0x314826(0x169)]=window[_0x314826(0xd8)](()=>{const _0x3e5f56=_0x314826;this[_0x3e5f56(0x376)]=!this['_isBlinkVisible'],this[_0x3e5f56(0x1d3)](!0x0);},0x1f4),this[_0x314826(0x1ad)]=window[_0x314826(0x189)](()=>{const _0x3d5209=_0x314826;this[_0x3d5209(0x1aa)](),this['_isBlinkVisible']=!0x0,this[_0x3d5209(0x1d3)](!0x0);},_0x15a8e3*0x3e8);}['_stopBlinking'](){const _0x43e6c1=_0x24b96c;this['_blinkIntervalTimer']&&(window['clearInterval'](this[_0x43e6c1(0x169)]),this[_0x43e6c1(0x169)]=void 0x0),this['_blinkTimer']&&(window[_0x43e6c1(0x395)](this[_0x43e6c1(0x1ad)]),this['_blinkTimer']=void 0x0);}[_0x24b96c(0x14d)](_0xe55b9d){return!0x1;}[_0x24b96c(0x29f)](){this['_stopBlinking'](),super['dispose']();}['_draw'](_0x5adf8f){const _0xd32a7d=_0x24b96c;var _0x36821e;let _0x27660a=this[_0xd32a7d(0x23e)],_0x44d470=this[_0xd32a7d(0x17a)];if(this[_0xd32a7d(0x23c)]&&!this[_0xd32a7d(0x376)]&&(_0x27660a=this['_getLighterColor'](this['_color']),_0x44d470=this[_0xd32a7d(0x17a)]?this[_0xd32a7d(0x24e)](this['_backgroundColor']):void 0x0),_0x5bc07b['Rect'][_0xd32a7d(0xea)](_0x5adf8f,{'width':this[_0xd32a7d(0x2c3)],'height':this['height'],'strokeWidth':(_0x36821e=this['strokeWidth'])==null?1.5:_0x36821e,'stroke':_0x27660a,'evented':!0x1,'fill':_0x44d470}),this['_hovered']||this['_showText']){var _0x231307;_0x5adf8f[_0xd32a7d(0x367)](),_0x5adf8f['transform'](0x1,0x0,0x0,0x1,this[_0xd32a7d(0x2c3)],(this['_labelPosition']===_0xd32a7d(0x355)?0x0:-0x14)+((_0x231307=this['_offsetY'])==null?0x0:_0x231307)),_0xe27d5c[_0xd32a7d(0xea)](_0x5adf8f,{'text':this['_name'],'color':_0x27660a}),_0x5adf8f[_0xd32a7d(0x1c3)]();}}[_0x24b96c(0x24e)](_0x498446){const _0xf4ec5a=_0x24b96c;return _0x498446[_0xf4ec5a(0x1c2)]('#')?'rgba('+Number[_0xf4ec5a(0x34f)](_0x498446[_0xf4ec5a(0x167)](0x1,0x3),0x10)+',\x20'+Number[_0xf4ec5a(0x34f)](_0x498446['slice'](0x3,0x5),0x10)+',\x20'+Number[_0xf4ec5a(0x34f)](_0x498446[_0xf4ec5a(0x167)](0x5,0x7),0x10)+_0xf4ec5a(0x2d5):_0x498446[_0xf4ec5a(0x1c2)]('rgba')?_0x498446[_0xf4ec5a(0x29e)](/[\d.]+\)$/g,_0xf4ec5a(0xa5)):_0x498446[_0xf4ec5a(0x1c2)](_0xf4ec5a(0x347))?_0x498446['replace'](_0xf4ec5a(0x347),'rgba')[_0xf4ec5a(0x29e)](')',_0xf4ec5a(0x2d5)):_0x498446;}};let _0x52222b=class extends _0x13030d[_0x24b96c(0x2ae)]{constructor(_0x593da9,_0x1f4b63,_0x3530ec,_0x28d813){const _0x5c9af3=_0x24b96c;super(),this[_0x5c9af3(0xbe)]=_0x593da9,this['_sheetSkeletonManagerService']=_0x1f4b63,this[_0x5c9af3(0x309)]=_0x3530ec,this[_0x5c9af3(0x2fa)]=_0x28d813,_0x32f982(this,'_cursors',new Set()),_0x32f982(this,'_lastPointer',null),this[_0x5c9af3(0xb7)]();}['_init'](){const _0x28aa95=_0x24b96c;this[_0x28aa95(0x310)][_0x28aa95(0x2ac)][_0x28aa95(0x2be)]((0x0,_0x2525b7[_0x28aa95(0xc0)])(this[_0x28aa95(0x159)]),(0x0,_0x2525b7[_0x28aa95(0x34b)])(_0x1ba561=>{const _0x367e5a=_0x28aa95;if(_0x1ba561){let _0x4206fe=_0x1ba561['sheetId'];return(0x0,_0x594669[_0x367e5a(0x1ed)])(this['_collabCursorController'][_0x367e5a(0xc7)](this['_context'][_0x367e5a(0x1bf)]),this[_0x367e5a(0x2fa)][_0x367e5a(0x1cb)])[_0x367e5a(0x2be)]((0x0,_0x2525b7[_0x367e5a(0x288)])(([_0x14294d,_0x2e44fd])=>{let _0x500595=new Map();return _0x14294d['forEach']((_0x3bd638,_0x389192)=>{const _0x1bf4ec=_0x84a9;if(_0x3bd638[_0x1bf4ec(0x105)]===_0x4206fe){let _0x3d7fd8={..._0x3bd638};_0x3d7fd8['color']=this[_0x1bf4ec(0x2fa)][_0x1bf4ec(0x3b3)](_0x3bd638['color']),_0x500595[_0x1bf4ec(0x13e)](_0x389192,_0x3d7fd8);}}),{'skeleton':_0x1ba561,'cursors':_0x500595};}));}return(0x0,_0x594669['of'])({'skeleton':null,'cursors':new Map()});}))[_0x28aa95(0x320)](({skeleton:_0x3ffc43,cursors:_0x12c696})=>{this['_removeCollabCursors'](),_0x3ffc43&&this['_updateCollabCursors'](_0x3ffc43,_0x12c696);}),this[_0x28aa95(0x310)]['currentSkeleton$'][_0x28aa95(0x320)](_0x23ee5b=>{const _0x50843a=_0x28aa95;if(_0x23ee5b==null)return;let {skeleton:_0x4cbff2}=_0x23ee5b,{scene:_0xa68e57}=this[_0x50843a(0xbe)];_0xa68e57[_0x50843a(0x2f5)][_0x50843a(0x18a)]((0x0,_0x13030d[_0x50843a(0x2b0)])(_0xe11da0=>{const _0x54bcbd=_0x50843a;var _0x2804bc,_0x306499;let {offsetX:_0x408125,offsetY:_0x5c06be}=_0xe11da0,{x:_0x48f2d3,y:_0x90db85}=_0xa68e57[_0x54bcbd(0x35a)](_0x5bc07b[_0x54bcbd(0x297)][_0x54bcbd(0x102)]([_0x408125,_0x5c06be])),{scaleX:_0x554ab7,scaleY:_0x474293}=_0xa68e57[_0x54bcbd(0x25f)](),_0x51f95f=_0xa68e57['getViewport'](_0x5bc07b['SHEET_VIEWPORT_KEY'][_0x54bcbd(0x19a)]),_0x1ecdbf=_0xa68e57[_0x54bcbd(0xa1)](_0x5bc07b[_0x54bcbd(0x297)][_0x54bcbd(0x102)]([_0x48f2d3,_0x90db85]),_0x51f95f),_0x17c90f=_0x4cbff2[_0x54bcbd(0x2e3)](_0x408125,_0x5c06be,_0x554ab7,_0x474293,_0x1ecdbf);((_0x2804bc=this[_0x54bcbd(0x115)])==null?void 0x0:_0x2804bc['column'])===_0x17c90f[_0x54bcbd(0x196)]&&((_0x306499=this[_0x54bcbd(0x115)])==null?void 0x0:_0x306499['row'])===_0x17c90f[_0x54bcbd(0x314)]||this[_0x54bcbd(0x212)][_0x54bcbd(0x172)](_0xa1f5f1=>{const _0x53e821=_0x54bcbd;_0xa1f5f1[_0x53e821(0x25b)](_0x17c90f);});},0x64));});}['_updateCollabCursors'](_0x45735d,_0x820b6){const _0x289aff=_0x24b96c;let _0x2cb338=this['_sheetSkeletonManagerService'][_0x289aff(0x2fe)]();if(!_0x2cb338)return;let _0x468d9f=this[_0x289aff(0x182)]();if(!_0x468d9f)return;this['_cursors'][_0x289aff(0x172)](_0x125a77=>{const _0x5c85be=_0x289aff;_0x125a77[_0x5c85be(0x1d3)]();});let {scene:_0x3a484b}=_0x468d9f,_0x3bb83e=_0x1def5d(Array['from'](_0x820b6[_0x289aff(0x319)]()))[_0x289aff(0x288)](_0x4e3438=>{const _0x1351e6=_0x289aff;let {color:_0x12342a,range:_0x157eb1,name:_0x6c74a0,selection:_0x287b01,sheetID:_0x357aab}=_0x4e3438,{startColumn:_0x24b824,startRow:_0x50f310,endColumn:_0x29eb56,endRow:_0x2e1216}=_0x157eb1,_0x376237=(0x0,_0x3c23de[_0x1351e6(0x2f0)])(_0x50f310,_0x24b824,_0x3a484b,_0x2cb338),_0x581e3a=(0x0,_0x3c23de[_0x1351e6(0x2f0)])(_0x2e1216,_0x29eb56,_0x3a484b,_0x2cb338),{columnHeaderHeightAndMarginTop:_0x4f99b0}=_0x2cb338,{startX:_0x4af1be,startY:_0x320ed}=_0x376237,{endX:_0x1abf81,endY:_0x1e6631}=_0x581e3a,_0x201f0b=_0x1abf81-_0x4af1be,_0x436d52=_0x1e6631-_0x320ed;return new _0x270909(_0x6c74a0,{'labelPosition':_0x320ed-_0x4f99b0>=0x14?_0x1351e6(0x15b):_0x1351e6(0x355),'sheetID':_0x357aab,'range':_0x157eb1,'color':_0x12342a,'name':_0x6c74a0,'selection':_0x287b01,'left':_0x4af1be,'top':_0x320ed,'width':_0x201f0b,'height':_0x436d52,'evented':!0x1,'zIndex':0x1389});});_0x3a484b[_0x289aff(0x1e7)](_0x3bb83e,0x1),this[_0x289aff(0x212)]=new Set(_0x3bb83e);}[_0x24b96c(0x192)](){const _0x4f3872=_0x24b96c;var _0x4cf383;(_0x4cf383=this[_0x4f3872(0x212)])==null||_0x4cf383[_0x4f3872(0x172)](_0x47e518=>_0x47e518['dispose']());}[_0x24b96c(0x182)](){const _0x45cc6d=_0x24b96c;return(0x0,_0x3c23de[_0x45cc6d(0x2d1)])(this[_0x45cc6d(0xbe)][_0x45cc6d(0xac)],this['_context']);}};_0x52222b=_0x12d4ea([_0x517da2(0x1,(0x0,_0x13030d['Inject'])(_0x3c23de['SheetSkeletonManagerService'])),_0x517da2(0x2,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x56259b)),_0x517da2(0x3,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d[_0x24b96c(0xa8)]))],_0x52222b);function _0x1def5d(_0x2e8b46){const _0x22795e=_0x24b96c;let _0x20fc00=new Map();return _0x2e8b46[_0x22795e(0x172)](_0x190fd3=>{const _0x5058c3=_0x22795e;if(_0x20fc00[_0x5058c3(0x361)](_0x190fd3['selection'])){let _0x5bce19=_0x20fc00[_0x5058c3(0x283)](_0x190fd3[_0x5058c3(0x231)]);_0x5bce19[_0x5058c3(0x1c4)]+=',\x20'+_0x190fd3['name'];}else _0x20fc00[_0x5058c3(0x13e)](_0x190fd3[_0x5058c3(0x231)],_0x190fd3);}),Array[_0x22795e(0x270)](_0x20fc00[_0x22795e(0x319)]());}let _0x1f50c9=class extends _0x13030d[_0x24b96c(0x328)]{constructor(_0xcc496a,_0x161b08,_0x7c115b,_0x14b19a,_0x503701,_0x415442){const _0x2fa3cf=_0x24b96c;super(),this[_0x2fa3cf(0xd9)]=_0xcc496a,this[_0x2fa3cf(0xdd)]=_0x161b08,this['_collaborationUIEventService']=_0x7c115b,this[_0x2fa3cf(0x101)]=_0x14b19a,this[_0x2fa3cf(0x24a)]=_0x503701,this[_0x2fa3cf(0x1ac)]=_0x415442,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x24b96c(0x271)](){const _0x1609e6=_0x24b96c;this[_0x1609e6(0x220)](this[_0x1609e6(0xd9)][_0x1609e6(0x33c)](()=>{const _0x3921a7=_0x1609e6;if(this['_localCacheService'][_0x3921a7(0x32b)][_0x3921a7(0x379)])return this[_0x3921a7(0x1ac)]['t'](_0x3921a7(0x104));}));}['_initEvent'](){const _0x58ffb8=_0x24b96c;this[_0x58ffb8(0x220)](this[_0x58ffb8(0x389)][_0x58ffb8(0x1a3)][_0x58ffb8(0x320)](_0x383422=>{const _0x5a2ded=_0x58ffb8;_0x383422['id']===_0x4a06d2[_0x5a2ded(0x1bc)][_0x5a2ded(0x1bd)]&&this[_0x5a2ded(0x101)][_0x5a2ded(0x2d9)]({'type':_0x3df4e2[_0x5a2ded(0x13b)][_0x5a2ded(0x391)],'content':this[_0x5a2ded(0x1ac)]['t'](_0x5a2ded(0x2b4))}),_0x383422['id']===_0x4a06d2[_0x5a2ded(0x1bc)][_0x5a2ded(0x394)]&&this[_0x5a2ded(0x101)][_0x5a2ded(0x2d9)]({'type':_0x3df4e2['MessageType'][_0x5a2ded(0x391)],'content':this[_0x5a2ded(0x1ac)]['t'](_0x5a2ded(0x26e))}),_0x383422['id']===_0x4a06d2[_0x5a2ded(0x1bc)]['PERMISSION_DENIED']&&this[_0x5a2ded(0x24a)][_0x5a2ded(0x2d9)]({'title':this[_0x5a2ded(0x1ac)]['t']('permission.title'),'content':this['_localeService']['t'](_0x5a2ded(0x14e)),'type':_0x5a2ded(0xaf),'duration':0x0}),_0x383422['id']===_0x4a06d2[_0x5a2ded(0x1bc)][_0x5a2ded(0xee)]&&this[_0x5a2ded(0x101)][_0x5a2ded(0x2d9)]({'type':_0x3df4e2[_0x5a2ded(0x13b)][_0x5a2ded(0xf1)],'content':this['_localeService']['t'](_0x5a2ded(0x26e))+'('+_0x383422[_0x5a2ded(0x366)]+')'}),_0x383422['id']===_0x4a06d2['CollaborationUIEventId'][_0x5a2ded(0x15a)]&&this[_0x5a2ded(0x101)][_0x5a2ded(0x2d9)]({'type':_0x3df4e2[_0x5a2ded(0x13b)][_0x5a2ded(0x391)],'content':this[_0x5a2ded(0x1ac)]['t'](_0x383422[_0x5a2ded(0x366)]||'')}),_0x383422['id']===_0x4a06d2[_0x5a2ded(0x1bc)][_0x5a2ded(0x37e)]&&this[_0x5a2ded(0x101)][_0x5a2ded(0x2d9)]({'type':_0x3df4e2['MessageType'][_0x5a2ded(0x391)],'content':this['_localeService']['t']('session.will-retry')}),_0x383422['id']===_0x4a06d2[_0x5a2ded(0x1bc)][_0x5a2ded(0x1d7)]&&this[_0x5a2ded(0x101)][_0x5a2ded(0x2d9)]({'type':_0x3df4e2[_0x5a2ded(0x13b)][_0x5a2ded(0xf1)],'content':this[_0x5a2ded(0x1ac)]['t']('session.connection-failed')}),_0x383422['id']===_0x4a06d2[_0x5a2ded(0x1bc)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x5a2ded(0x2d9)]({'type':_0x3df4e2[_0x5a2ded(0x13b)]['Error'],'content':this[_0x5a2ded(0x1ac)]['t'](_0x5a2ded(0x241))});}));}};_0x1f50c9=_0x12d4ea([_0x517da2(0x0,_0x429bdf[_0x24b96c(0x2c4)]),_0x517da2(0x1,_0x4a06d2[_0x24b96c(0x31c)]),_0x517da2(0x2,(0x0,_0x13030d['Inject'])(_0x4a06d2[_0x24b96c(0x335)])),_0x517da2(0x3,_0x429bdf['IMessageService']),_0x517da2(0x4,_0x429bdf['INotificationService']),_0x517da2(0x5,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d[_0x24b96c(0x381)]))],_0x1f50c9);let _0x4f4f93=_0x24b96c(0xe0);Symbol(_0x4f4f93);let _0x475def={},_0x5176c7=class{constructor(_0x18d598,_0x2640a8){const _0x4ec4b3=_0x24b96c;this[_0x4ec4b3(0x22d)]=_0x18d598,this[_0x4ec4b3(0x136)]=_0x2640a8;}['transformIMECache'](_0x5af586){const _0x1a6e9a=_0x24b96c;this['_transformUndoRedoStack'](_0x5af586),this[_0x1a6e9a(0x150)](_0x5af586);}[_0x24b96c(0x210)](_0x1a2cff){const _0x244b85=_0x24b96c;let {unitID:_0x5e6639}=_0x1a2cff,{redoCache:_0x3e0721}=this['_renderManagerService'][_0x244b85(0x12b)](_0x5e6639)[_0x244b85(0x237)](_0x57a234[_0x244b85(0x129)])[_0x244b85(0x143)]();if(_0x3e0721[_0x244b85(0x36e)]===0x0)return _0x1a2cff;let _0x409ddb=_0x13030d['Tools']['deepClone'](_0x1a2cff[_0x244b85(0x384)][0x0]);for(let _0x28ed40=0x0;_0x28ed40<_0x3e0721[_0x244b85(0x36e)];_0x28ed40++){let _0x5e023a={'id':_0x244b85(0x1ae),'params':{..._0x3e0721[_0x28ed40]}},_0xdc3638=this[_0x244b85(0x22d)]['transformMutation'](_0x409ddb,_0x5e023a,!0x1);if((0x0,_0x486545['isTransformMutationFailure'])(_0xdc3638))throw _0xdc3638['error'];_0x409ddb=_0xdc3638[_0x244b85(0x272)];}return{..._0x13030d[_0x244b85(0x142)]['deepClone'](_0x1a2cff),'mutations':[_0x409ddb]};}[_0x24b96c(0xcb)](_0x14d195){const _0x18fd46=_0x24b96c;let {unitID:_0x276044}=_0x14d195,_0x3c73ea=this[_0x18fd46(0x136)][_0x18fd46(0x12b)](_0x276044)[_0x18fd46(0x237)](_0x57a234[_0x18fd46(0x129)]),{undoCache:_0x381214,redoCache:_0x1dbd99}=_0x3c73ea[_0x18fd46(0x143)]();if(_0x381214['length']===0x0||_0x1dbd99['length']===0x0)return;let _0x310dff=[],_0x2a1cf6=[],_0x148847=_0x13030d['Tools'][_0x18fd46(0x2ed)](_0x14d195['mutations'][0x0]),_0x2b0c38=_0x13030d[_0x18fd46(0x142)][_0x18fd46(0x2ed)](_0x14d195[_0x18fd46(0x384)][0x0]);for(let _0x58577a=_0x381214[_0x18fd46(0x36e)]-0x1;_0x58577a>=0x0;_0x58577a--){let _0x4fa0bd={'id':'doc.mutation.rich-text-editing','params':{..._0x381214[_0x58577a]}},_0xd25560={'id':_0x18fd46(0x1ae),'params':{..._0x1dbd99[_0x58577a]}},_0x22c50e=this['_transformService'][_0x18fd46(0x26a)](_0x148847,_0x4fa0bd,!0x1),_0x15f32a=this[_0x18fd46(0x22d)][_0x18fd46(0x26a)](_0x2b0c38,_0xd25560,!0x1);if((0x0,_0x486545['isTransformMutationFailure'])(_0x22c50e))throw _0x22c50e[_0x18fd46(0xaf)];if((0x0,_0x486545[_0x18fd46(0x326)])(_0x15f32a))throw _0x15f32a[_0x18fd46(0xaf)];_0x310dff[_0x18fd46(0x254)](_0x22c50e['m2Prime'][_0x18fd46(0x22a)]),_0x2a1cf6[_0x18fd46(0x254)](_0x15f32a['m2Prime']['params']),_0x148847=_0x22c50e[_0x18fd46(0x272)],_0x2b0c38=_0x15f32a[_0x18fd46(0x272)];}_0x3c73ea[_0x18fd46(0x38f)]({'undoCache':_0x310dff,'redoCache':_0x2a1cf6});}[_0x24b96c(0x150)](_0xa5f304){const _0x4d6096=_0x24b96c;let {unitID:_0x1c1e86}=_0xa5f304,_0x293833=this[_0x4d6096(0x136)][_0x4d6096(0x12b)](_0x1c1e86)['with'](_0x57a234['DocIMEInputManagerService']),_0x232dfc=_0x293833[_0x4d6096(0x308)]();if(_0x232dfc==null)return;let _0x453c10=[{'id':_0x4d6096(0x1ae),'params':{'unitId':_0xa5f304[_0x4d6096(0x343)],'actions':null,'textRanges':[_0x232dfc]}}],_0x1e543f=this[_0x4d6096(0x22d)][_0x4d6096(0xdb)](_0xa5f304,_0x453c10);if(!(0x0,_0x486545['isTransformMutationsWithChangesetSuccess'])(_0x1e543f))throw _0x1e543f[_0x4d6096(0xaf)];let _0x31c431=_0x1e543f[_0x4d6096(0x32c)][0x0][_0x4d6096(0x22a)][_0x4d6096(0x132)];Array['isArray'](_0x31c431)&&_0x31c431[_0x4d6096(0x36e)]&&_0x293833[_0x4d6096(0x3b4)](_0x31c431[0x0]);}};_0x5176c7=_0x12d4ea([_0x517da2(0x0,_0x486545[_0x24b96c(0x2e0)]),_0x517da2(0x1,_0x5bc07b[_0x24b96c(0x162)])],_0x5176c7);let _0x570b4f=class{constructor(_0x58a4bd,_0x3aaf9d,_0x420b94){const _0x40a450=_0x24b96c;this['_injector']=_0x58a4bd,this['_transformService']=_0x3aaf9d,this[_0x40a450(0x11d)]=_0x420b94;}[_0x24b96c(0x1e2)](_0x528347){const _0x410db3=_0x24b96c;this[_0x410db3(0x1d8)](_0x528347);}[_0x24b96c(0x210)](_0x3279d3){const _0xc085c3=_0x24b96c;let {unitID:_0x4773c5}=_0x3279d3,{collaboration:_0x4585db}=this[_0xc085c3(0x11d)][_0xc085c3(0x213)](_0x4773c5);if(_0x4585db['length']===0x0)return _0x3279d3;let _0x2d5be9=_0x13030d[_0xc085c3(0x142)][_0xc085c3(0x2ed)](_0x3279d3[_0xc085c3(0x384)][0x0]);for(let _0x46c4b1=0x0;_0x46c4b1<_0x4585db[_0xc085c3(0x36e)];_0x46c4b1++){let _0x2dfe9a={'id':_0xc085c3(0x1ae),'params':{'unitId':_0x4585db[_0x46c4b1][_0xc085c3(0x1bf)],..._0x4585db[_0x46c4b1][_0xc085c3(0x2a2)]}},_0x8389f9=this[_0xc085c3(0x22d)][_0xc085c3(0x26a)](_0x2d5be9,_0x2dfe9a,!0x1);if((0x0,_0x486545['isTransformMutationFailure'])(_0x8389f9))throw _0x8389f9[_0xc085c3(0xaf)];_0x2d5be9=_0x8389f9[_0xc085c3(0x272)];}return{..._0x13030d['Tools'][_0xc085c3(0x2ed)](_0x3279d3),'mutations':[_0x2d5be9]};}[_0x24b96c(0x1d8)](_0x372134){const _0x49b61a=_0x24b96c;let {unitID:_0x2b5d54}=_0x372134,{history:_0x5629e9,collaboration:_0x2066cb}=this[_0x49b61a(0x11d)][_0x49b61a(0x213)](_0x2b5d54);if(_0x5629e9[_0x49b61a(0x36e)]===0x0&&_0x2066cb[_0x49b61a(0x36e)]===0x0)return;let _0x27f5c2=[],_0x17bb0f=[],_0x29ecb3=_0x13030d['Tools'][_0x49b61a(0x2ed)](_0x372134[_0x49b61a(0x384)][0x0]),_0x243f61=_0x13030d[_0x49b61a(0x142)][_0x49b61a(0x2ed)](_0x372134[_0x49b61a(0x384)][0x0]);for(let _0x40e196=_0x5629e9[_0x49b61a(0x36e)]-0x1;_0x40e196>=0x0;_0x40e196--){let _0x1ef8a4={'id':_0x49b61a(0x1ae),'params':{'unitId':_0x5629e9[_0x40e196][_0x49b61a(0x1bf)],..._0x5629e9[_0x40e196][_0x49b61a(0x33f)]}},_0x4abeeb={'id':_0x49b61a(0x1ae),'params':{'unitId':_0x5629e9[_0x40e196][_0x49b61a(0x1bf)],..._0x5629e9[_0x40e196]['redoState']}},_0x304d6a=this[_0x49b61a(0x22d)][_0x49b61a(0x26a)](_0x29ecb3,_0x1ef8a4,!0x1),_0xc6beca=this[_0x49b61a(0x22d)]['transformMutation'](_0x243f61,_0x4abeeb,!0x1);if((0x0,_0x486545[_0x49b61a(0x326)])(_0x304d6a))throw _0x304d6a[_0x49b61a(0xaf)];if((0x0,_0x486545[_0x49b61a(0x326)])(_0xc6beca))throw _0xc6beca[_0x49b61a(0xaf)];_0x27f5c2[_0x49b61a(0x254)]({..._0x5629e9[_0x40e196],'undoState':_0x304d6a[_0x49b61a(0x32c)][_0x49b61a(0x22a)],'redoState':_0xc6beca[_0x49b61a(0x32c)][_0x49b61a(0x22a)]}),_0x29ecb3=_0x304d6a['m1Prime'],_0x243f61=_0xc6beca[_0x49b61a(0x272)];}_0x29ecb3=_0x13030d['Tools'][_0x49b61a(0x2ed)](_0x372134[_0x49b61a(0x384)][0x0]),_0x243f61=_0x13030d['Tools'][_0x49b61a(0x2ed)](_0x372134['mutations'][0x0]);for(let _0x49c5b7=_0x2066cb['length']-0x1;_0x49c5b7>=0x0;_0x49c5b7--){let _0xc64be8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2066cb[_0x49c5b7][_0x49b61a(0x1bf)],..._0x2066cb[_0x49c5b7][_0x49b61a(0x33f)]}},_0x2a4f26={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2066cb[_0x49c5b7][_0x49b61a(0x1bf)],..._0x2066cb[_0x49c5b7]['redoState']}},_0x236fce=this[_0x49b61a(0x22d)][_0x49b61a(0x26a)](_0x29ecb3,_0xc64be8,!0x1),_0x12a5cd=this[_0x49b61a(0x22d)][_0x49b61a(0x26a)](_0x243f61,_0x2a4f26,!0x1);if((0x0,_0x486545[_0x49b61a(0x326)])(_0x236fce))throw _0x236fce['error'];if((0x0,_0x486545[_0x49b61a(0x326)])(_0x12a5cd))throw _0x12a5cd['error'];_0x17bb0f['unshift']({..._0x2066cb[_0x49c5b7],'undoState':_0x236fce[_0x49b61a(0x32c)][_0x49b61a(0x22a)],'redoState':_0x12a5cd[_0x49b61a(0x32c)][_0x49b61a(0x22a)]}),_0x29ecb3=_0x236fce[_0x49b61a(0x272)],_0x243f61=_0x12a5cd['m1Prime'];}this[_0x49b61a(0x11d)][_0x49b61a(0x23b)](_0x2b5d54,{'history':_0x27f5c2,'collaboration':_0x17bb0f});}};_0x570b4f=_0x12d4ea([_0x517da2(0x0,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d[_0x24b96c(0x331)])),_0x517da2(0x1,_0x486545[_0x24b96c(0x2e0)]),_0x517da2(0x2,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x57a234[_0x24b96c(0x17c)]))],_0x570b4f);let _0x38878b=class{constructor(_0x20eda7,_0x5b0735){const _0x51d9ec=_0x24b96c;this[_0x51d9ec(0x23a)]=_0x20eda7,this[_0x51d9ec(0x22d)]=_0x5b0735;}[_0x24b96c(0x26c)](_0x3dcd2f){const _0x121799=_0x24b96c;var _0x429f6a;let _0x530abb=this[_0x121799(0x23a)][_0x121799(0x283)](_0x1aedbb['DocSelectionManagerService']),_0x2e3940=(_0x429f6a=_0x530abb[_0x121799(0x396)]())==null?[]:_0x429f6a;if(_0x2e3940[_0x121799(0x36e)]===0x0)return;let _0x508a5a=_0x3dcd2f[_0x121799(0x343)],_0x31c650=[{'id':_0x121799(0x1ae),'params':{'unitId':_0x508a5a,'actions':null,'textRanges':_0x2e3940}}],_0xdb5ee2=this[_0x121799(0x22d)][_0x121799(0xdb)](_0x3dcd2f,_0x31c650);if(!(0x0,_0x486545[_0x121799(0x216)])(_0xdb5ee2))throw _0xdb5ee2[_0x121799(0xaf)];let _0x1f6e10=_0xdb5ee2['m2Prime'][0x0][_0x121799(0x22a)][_0x121799(0x132)];Array[_0x121799(0xe1)](_0x1f6e10)&&_0x1f6e10[_0x121799(0x36e)]&&_0x530abb['replaceDocRanges'](_0x1f6e10,{'unitId':_0x508a5a,'subUnitId':_0x508a5a},!0x1);}};_0x38878b=_0x12d4ea([_0x517da2(0x0,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d[_0x24b96c(0x331)])),_0x517da2(0x1,_0x486545[_0x24b96c(0x2e0)])],_0x38878b);let _0x11d522=class extends _0x13030d[_0x24b96c(0x328)]{constructor(_0xe974cc,_0x51fd68,_0x54d14e,_0xf6d5b3,_0xb9d924,_0x4fb6c9,_0x14bad8,_0x1f52f3){const _0xf5b3c=_0x24b96c;super(),this[_0xf5b3c(0x11d)]=_0xe974cc,this[_0xf5b3c(0x1e5)]=_0x51fd68,this[_0xf5b3c(0x251)]=_0x54d14e,this[_0xf5b3c(0x19f)]=_0xf6d5b3,this[_0xf5b3c(0x317)]=_0xb9d924,this[_0xf5b3c(0x26d)]=_0x4fb6c9,this[_0xf5b3c(0x101)]=_0x14bad8,this[_0xf5b3c(0x1ac)]=_0x1f52f3,_0x32f982(this,_0xf5b3c(0x262),new _0x594669[(_0xf5b3c(0x3a6))](_0x4a06d2['CollaborationStatus']['NOT_COLLAB'])),this[_0xf5b3c(0x345)]();}[_0x24b96c(0x345)](){const _0x1a3674=_0x24b96c;this['disposeWithMe'](this[_0x1a3674(0x1e5)]['entityInit$'][_0x1a3674(0x320)](_0x5ebfbf=>{const _0x4b50c5=_0x1a3674;let _0x38b767=this[_0x4b50c5(0x11d)][_0x4b50c5(0x338)][_0x4b50c5(0x320)](_0x3bb438=>{const _0x31f4d8=_0x4b50c5;if(_0x3bb438==null)return;let {unitId:_0x407f27,redoState:_0x1f42a1,commandId:_0x166440}=_0x3bb438;if(_0x407f27!==_0x5ebfbf[_0x31f4d8(0x343)])return;let _0x372bb4={'id':_0x166440,'type':_0x13030d['CommandType'][_0x31f4d8(0xd7)],'params':{'unitId':_0x407f27,'actions':_0x1f42a1[_0x31f4d8(0x1ff)],'textRanges':null}};_0x5ebfbf['onLocalMutation'](_0x372bb4);});_0x5ebfbf['disposeWithMe'](_0x38b767),_0x5ebfbf instanceof _0x4a06d2[_0x4b50c5(0x11b)]&&_0x5ebfbf[_0x4b50c5(0x34e)]({'onTransformIME':_0x57abf2=>this[_0x4b50c5(0x251)][_0x4b50c5(0x2e6)](_0x57abf2),'onTransformState':_0x45fe1f=>this['_docTransformStateCacheService'][_0x4b50c5(0x1e2)](_0x45fe1f),'onTransformSelections':_0x3fbbce=>this['_docTransformSelectionsService']['transformSelections'](_0x3fbbce),'onSyncEditingCollabCursor':_0x579595=>this[_0x4b50c5(0x26d)][_0x4b50c5(0x18c)](_0x579595),'onTransformRemoteChangesetByIMECache':_0x1695c5=>this[_0x4b50c5(0x251)][_0x4b50c5(0x210)](_0x1695c5),'onTransformRemoteChangesetByStateCache':_0x5bc5f9=>this[_0x4b50c5(0x19f)][_0x4b50c5(0x210)](_0x5bc5f9)});}));}};_0x11d522=_0x12d4ea([_0x517da2(0x0,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x57a234[_0x24b96c(0x17c)])),_0x517da2(0x1,(0x0,_0x13030d['Inject'])(_0x4a06d2['CollaborationController'])),_0x517da2(0x2,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x5176c7)),_0x517da2(0x3,(0x0,_0x13030d['Inject'])(_0x570b4f)),_0x517da2(0x4,(0x0,_0x13030d['Inject'])(_0x38878b)),_0x517da2(0x5,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x26ea35)),_0x517da2(0x6,_0x429bdf['IMessageService']),_0x517da2(0x7,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d[_0x24b96c(0x381)]))],_0x11d522);let _0x12c8b7=class extends _0x13030d[_0x24b96c(0x328)]{constructor(_0xa0bfb,_0x19d2f5,_0xb09fb4,_0x4865fb){const _0x4860f9=_0x24b96c;super(),this[_0x4860f9(0x23a)]=_0xa0bfb,this[_0x4860f9(0x113)]=_0x19d2f5,this[_0x4860f9(0xec)]=_0xb09fb4,this[_0x4860f9(0x1cf)]=_0x4865fb,_0x32f982(this,_0x4860f9(0x382),void 0x0),this[_0x4860f9(0xb7)]();}[_0x24b96c(0xb7)](){const _0x17e5f7=_0x24b96c;this['_initWindowErrorListener'](),this[_0x17e5f7(0x26b)](),this[_0x17e5f7(0x14b)](),this['_initUserListener']();}[_0x24b96c(0x164)](){const _0x1faeab=_0x24b96c;this[_0x1faeab(0x220)](this['_collaborationSessionService']['socket$'][_0x1faeab(0x320)](_0x4ee7f4=>{const _0x84e39c=_0x1faeab;this[_0x84e39c(0x382)]=_0x4ee7f4==null?void 0x0:_0x4ee7f4[_0x84e39c(0x2ad)];}));}[_0x24b96c(0x194)](){const _0x264695=_0x24b96c;let _0x26202f=_0x4d9099=>{const _0x530675=_0x84a9;var _0x422db4;this[_0x530675(0x201)](_0x530675(0xaf),_0x530675(0x3ab)+_0x4d9099[_0x530675(0x290)]+_0x530675(0x11f)+_0x4d9099[_0x530675(0x249)]+':'+_0x4d9099[_0x530675(0x31f)]+':'+_0x4d9099[_0x530675(0x250)]+'\x0a'+(((_0x422db4=_0x4d9099[_0x530675(0xaf)])==null?void 0x0:_0x422db4['stack'])||''));};window[_0x264695(0x2ef)](_0x264695(0xaf),_0x26202f),this[_0x264695(0x220)](()=>{const _0x2cba6b=_0x264695;window[_0x2cba6b(0xb4)]('error',_0x26202f);});}[_0x24b96c(0x26b)](){const _0x5a4f30=_0x24b96c;let _0x701cb8=_0x160c62=>{const _0x1f0735=_0x84a9;this['_uploadLog'](_0x1f0735(0xaf),_0x1f0735(0x1fb)+_0x160c62[_0x1f0735(0x1fc)]);};window[_0x5a4f30(0x2ef)](_0x5a4f30(0x357),_0x701cb8),this[_0x5a4f30(0x220)](()=>{const _0x38424e=_0x5a4f30;window[_0x38424e(0xb4)](_0x38424e(0x357),_0x701cb8);});}[_0x24b96c(0x14b)](){const _0x5d17c7=_0x24b96c;let _0xa20f64=this[_0x5d17c7(0xec)][_0x5d17c7(0xaf)][_0x5d17c7(0x1af)](this[_0x5d17c7(0xec)]);this[_0x5d17c7(0xec)][_0x5d17c7(0xaf)]=(..._0x3fe744)=>{const _0x5d5d47=_0x5d17c7;let _0x8accda=_0x3fe744[_0x5d5d47(0x288)](_0x1e817c=>_0x1e817c instanceof Error?_0x1e817c[_0x5d5d47(0x290)]+'\x0a'+_0x1e817c[_0x5d5d47(0x346)]:String(_0x1e817c))[_0x5d5d47(0x234)]('\x20');this[_0x5d5d47(0x201)]('error',_0x5d5d47(0x1cc)+_0x8accda),_0xa20f64(..._0x3fe744);},this[_0x5d17c7(0x220)](()=>{const _0x13ec64=_0x5d17c7;this[_0x13ec64(0xec)]['error']=_0xa20f64;});}[_0x24b96c(0x201)](_0x381900,_0x159e74){const _0x1a66d0=_0x24b96c;try{let _0x222e14={'userId':this[_0x1a66d0(0x382)],'logLabel':_0x381900,'content':_0x159e74};this[_0x1a66d0(0x113)][_0x1a66d0(0x217)]('/universer-api/frontend/logs',{'body':_0x222e14})[_0x1a66d0(0x2b8)](()=>{});}catch{}}};_0x12c8b7=_0x12d4ea([_0x517da2(0x0,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d[_0x24b96c(0x331)])),_0x517da2(0x1,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x24b4f9['HTTPService'])),_0x517da2(0x2,_0x13030d['ILogService']),_0x517da2(0x3,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x4a06d2['CollaborationSessionService']))],_0x12c8b7);let _0x4da0aa=function(_0x2dc5b1){const _0x407f58=_0x24b96c;return _0x2dc5b1[_0x2dc5b1[_0x407f58(0x11c)]=0x0]=_0x407f58(0x11c),_0x2dc5b1[_0x2dc5b1['OK']=0x1]='OK',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x351)]=0x2]='INTERNAL_ERROR',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x32e)]=0x3]=_0x407f58(0x32e),_0x2dc5b1[_0x2dc5b1['NOT_FOUND']=0x4]=_0x407f58(0x352),_0x2dc5b1[_0x2dc5b1['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x2dc5b1[_0x2dc5b1['ALREADY_EXISTS']=0x6]=_0x407f58(0x353),_0x2dc5b1[_0x2dc5b1['INVALID_ARGUMENT']=0x7]=_0x407f58(0x146),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x28b)]=0x8]=_0x407f58(0x28b),_0x2dc5b1[_0x2dc5b1[_0x407f58(0xb5)]=0x9]=_0x407f58(0xb5),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x341)]=0xa]=_0x407f58(0x341),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x28c)]=0xb]=_0x407f58(0x28c),_0x2dc5b1[_0x2dc5b1[_0x407f58(0xcf)]=0xc]=_0x407f58(0xcf),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x112)]=0xd]=_0x407f58(0x112),_0x2dc5b1[_0x2dc5b1['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x407f58(0x14c),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x24c)]=0xf]=_0x407f58(0x24c),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x133)]=0x10]=_0x407f58(0x133),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x10c)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x2dc5b1[_0x2dc5b1['ERROR_AGAIN']=0x65]='ERROR_AGAIN',_0x2dc5b1[_0x2dc5b1['USER_NOT_FOUND']=0xc9]=_0x407f58(0x1a1),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x2c2)]=0xca]='USER_IS_ANONYMOUS',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x1f4)]=0x1389]=_0x407f58(0x1f4),_0x2dc5b1[_0x2dc5b1['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x166)]=0x1772]=_0x407f58(0x166),_0x2dc5b1[_0x2dc5b1[_0x407f58(0xb1)]=0x1773]=_0x407f58(0xb1),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x399)]=0x1b59]='APPLY_REJECT',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x370)]=0x1b5a]=_0x407f58(0x370),_0x2dc5b1[_0x2dc5b1['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x407f58(0x1d5),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x3b2)]=0x1b5c]=_0x407f58(0x3b2),_0x2dc5b1[_0x2dc5b1[_0x407f58(0xa9)]=0x1b5d]=_0x407f58(0xa9),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x10a)]=0x1f41]=_0x407f58(0x10a),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x3af)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x2ff)]=0x232a]=_0x407f58(0x2ff),_0x2dc5b1[_0x2dc5b1[_0x407f58(0xc9)]=0x232b]=_0x407f58(0xc9),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x39b)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x260)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x34a)]=0x2711]=_0x407f58(0x34a),_0x2dc5b1[_0x2dc5b1['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x407f58(0x29a),_0x2dc5b1[_0x2dc5b1['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x407f58(0x2d4),_0x2dc5b1[_0x2dc5b1['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x407f58(0x38e),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x25c)]=0x271a]=_0x407f58(0x25c),_0x2dc5b1[_0x2dc5b1['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x407f58(0x2b9),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x25e)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x296)]=0x271d]=_0x407f58(0x296),_0x2dc5b1[_0x2dc5b1['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x407f58(0x1e0),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x29d)]=0x271f]=_0x407f58(0x29d),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x198)]=0x2720]=_0x407f58(0x198),_0x2dc5b1[_0x2dc5b1['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x1a0)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x25a)]=0x2ee2]=_0x407f58(0x25a),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x292)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x154)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x2dc5b1[_0x2dc5b1['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x407f58(0x2aa),_0x2dc5b1[_0x2dc5b1['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x407f58(0x282),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x2c1)]=0x32ca]=_0x407f58(0x2c1),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x218)]=0x32cb]=_0x407f58(0x218),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x1c5)]=0x36b1]=_0x407f58(0x1c5),_0x2dc5b1[_0x2dc5b1['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x407f58(0x2f9),_0x2dc5b1[_0x2dc5b1['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x407f58(0x152),_0x2dc5b1[_0x2dc5b1['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x144)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x21c)]=0x36b6]=_0x407f58(0x21c),_0x2dc5b1[_0x2dc5b1['ENTITLE_COUPON_USED_UP']=0x36b7]=_0x407f58(0x247),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x371)]=0x36b8]=_0x407f58(0x371),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x122)]=0x3715]=_0x407f58(0x122),_0x2dc5b1[_0x2dc5b1['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x407f58(0x244),_0x2dc5b1[_0x2dc5b1['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x407f58(0x2cd),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x209)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x2dc5b1[_0x2dc5b1['REDEMPTION_INVALID_CODE']=0x3a99]=_0x407f58(0x233),_0x2dc5b1[_0x2dc5b1[_0x407f58(0xb3)]=0x3a9a]=_0x407f58(0xb3),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x223)]=0x3a9b]=_0x407f58(0x223),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x1c0)]=0x3a9c]=_0x407f58(0x1c0),_0x2dc5b1[_0x2dc5b1['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x407f58(0x368),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x37a)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x1b6)]=0x3a9f]=_0x407f58(0x1b6),_0x2dc5b1[_0x2dc5b1['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x407f58(0x37f),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x2fd)]=-0x1]=_0x407f58(0x2fd),_0x2dc5b1;}({});function _0x447e58(_0x54ebaf){const _0x55de7a=_0x24b96c;var _0x14a35f,_0x442ed9;let _0x1216f4=(_0x14a35f=_0x54ebaf[_0x55de7a(0x2ca)])==null?void 0x0:_0x14a35f[_0x55de7a(0x1a8)],_0x529ad3=((_0x442ed9=_0x54ebaf[_0x55de7a(0x2ca)])==null?void 0x0:_0x442ed9[_0x55de7a(0x2ea)])||0x0;return _0x1216f4===_0xe81250[_0x55de7a(0x322)][_0x55de7a(0x2c6)]&&_0x529ad3>0x0;}function _0x3dc7a8(_0x1699cc){const _0x51c24d=_0x24b96c;return _0x1699cc[_0x51c24d(0x1f6)]===_0xe81250[_0x51c24d(0x2a9)][_0x51c24d(0x302)];}let _0x31ebc2=class extends _0x13030d['Disposable']{constructor(_0x3cbd21,_0x454a95,_0x256d32,_0x16d931,_0x347222,_0x2f391a,_0x542ce1){const _0x194d55=_0x24b96c;super(),this['_messageService']=_0x3cbd21,this[_0x194d55(0xa0)]=_0x454a95,this[_0x194d55(0xb0)]=_0x256d32,this[_0x194d55(0x113)]=_0x16d931,this[_0x194d55(0x141)]=_0x347222,this[_0x194d55(0xec)]=_0x2f391a,this['_localeService']=_0x542ce1,_0x32f982(this,_0x194d55(0x176),null),_0x32f982(this,'_maxFormulaLimit',0x0),_0x32f982(this,_0x194d55(0x1e9),0x0),_0x32f982(this,_0x194d55(0x211),[]),_0x32f982(this,_0x194d55(0x2fb),0x0),this[_0x194d55(0x1b9)]();}[_0x24b96c(0x1b9)](){const _0x16690e=_0x24b96c;this[_0x16690e(0x220)](this[_0x16690e(0xa0)][_0x16690e(0xe6)]((_0x5163e7,_0x270c18)=>{const _0x5dfb3c=_0x16690e;var _0x1e8393;if(_0x5163e7['id']!==_0xe81250[_0x5dfb3c(0xb8)]['id'])return;let _0x30595c=_0x5163e7[_0x5dfb3c(0x22a)];if(this['_hasFormulaInDirtyRanges']((_0x1e8393=_0x30595c['dirtyRanges'])==null?[]:_0x1e8393)&&!this['_checkCalculationAvailable']())throw this[_0x5dfb3c(0x2a5)](_0x5163e7,_0x270c18),this['_showGuardMessage'](),new _0x13030d[(_0x5dfb3c(0x1c7))]();})),this[_0x16690e(0x220)](this['_commandService']['onCommandExecuted']((_0x182718,_0x2add67)=>{const _0xf2c3d0=_0x16690e;if(_0x182718['id']!==_0xe81250['SetFormulaCalculationNotificationMutation']['id'])return;let _0x4d3550=_0x182718['params'];if(_0x447e58(_0x4d3550)){let _0x4f85a5=(0x0,_0x13030d['generateRandomId'])();this[_0xf2c3d0(0x211)][_0xf2c3d0(0x264)](_0x4f85a5),this[_0xf2c3d0(0x27f)](_0x4f85a5);}else{if(_0x3dc7a8(_0x4d3550)&&this[_0xf2c3d0(0x211)][_0xf2c3d0(0x36e)]>0x0){let _0x8c0042=this[_0xf2c3d0(0x211)][_0xf2c3d0(0x153)]();this[_0xf2c3d0(0x16f)](_0x8c0042);}}}));}['dispose'](){const _0x224cc5=_0x24b96c;super['dispose'](),this[_0x224cc5(0x1db)](),this[_0x224cc5(0x211)]=[],this[_0x224cc5(0x1e9)]=0x0,this[_0x224cc5(0x2bf)]=0x0,this['_lastResponseTimestamp']=0x0;}async['_checkAndWaitForCalculationPermission'](_0x11bc57,_0x3a9b59){const _0x418a1e=_0x24b96c;for(let _0x5b2cf9=0x0;_0x5b2cf9<0x1e;_0x5b2cf9++)try{if(await this[_0x418a1e(0x2e1)](),this[_0x418a1e(0xce)]()){this[_0x418a1e(0x13f)](_0x11bc57,_0x3a9b59),this[_0x418a1e(0x101)][_0x418a1e(0x2d9)]({'content':this[_0x418a1e(0x1ac)]['t'](_0x418a1e(0x2c0)),'type':_0x3df4e2[_0x418a1e(0x13b)][_0x418a1e(0x279)]});return;}await new Promise(_0x50b9a6=>{const _0x433858=_0x418a1e;this[_0x433858(0x176)]=window[_0x433858(0x189)](_0x50b9a6,0x3e8);});}catch(_0x13a00d){this[_0x418a1e(0xec)][_0x418a1e(0xaf)](_0x13a00d);}this[_0x418a1e(0x101)][_0x418a1e(0x2d9)]({'content':this['_localeService']['t'](_0x418a1e(0x12c)),'type':_0x3df4e2[_0x418a1e(0x13b)]['Error']});}[_0x24b96c(0x13f)](_0x45a143,_0x968484){const _0x3a31cf=_0x24b96c;try{this[_0x3a31cf(0xa0)][_0x3a31cf(0x2a4)](_0x45a143['id'],_0x45a143[_0x3a31cf(0x22a)],_0x968484);}catch(_0x4755dd){this[_0x3a31cf(0xec)][_0x3a31cf(0xaf)](_0x4755dd);}}[_0x24b96c(0x360)](_0x3f48be,_0x193a1b){const _0x39951e=_0x24b96c;_0x193a1b<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x193a1b,this[_0x39951e(0x2bf)]=Number[_0x39951e(0x34f)](_0x3f48be[_0x39951e(0x2f7)]),this[_0x39951e(0x1e9)]=Number['parseInt'](_0x3f48be[_0x39951e(0x1d4)]));}async[_0x24b96c(0x27f)](_0x3b7e92){const _0x197f79=_0x24b96c;let _0x2649f8=Date['now']();try{var _0x28ffa4,_0x4defd6;let _0x192a3a=((_0x28ffa4=this['_configService'][_0x197f79(0x3a4)](_0x4a06d2[_0x197f79(0x386)]))==null?void 0x0:_0x28ffa4[_0x197f79(0x1e8)])||'/universer-api/license/formula/limit/start',_0x4997cf=(await this['_httpService'][_0x197f79(0x217)](_0x192a3a,{'body':JSON[_0x197f79(0x2e7)]({'taskId':_0x3b7e92})}))['body'];if(((_0x4defd6=_0x4997cf['error'])==null?void 0x0:_0x4defd6[_0x197f79(0xbb)])!==_0x4da0aa['OK'])return;this['_setFormulaLimitStatus'](_0x4997cf[_0x197f79(0xc4)],_0x2649f8);}catch(_0x7d58cf){this[_0x197f79(0xec)]['error'](_0x7d58cf);}}async[_0x24b96c(0x2e1)](_0x3d91f7){const _0x144190=_0x24b96c;let _0x37c3f5=Date['now']();try{var _0x482089,_0x1bb055;let _0x371315=((_0x482089=this[_0x144190(0xb0)][_0x144190(0x3a4)](_0x4a06d2[_0x144190(0x386)]))==null?void 0x0:_0x482089['getFormulaLimitStatusUrl'])||_0x144190(0x344),_0x5a6a0d=_0x3d91f7?_0x371315+'?taskId='+encodeURIComponent(_0x3d91f7):_0x371315,_0x1a131c=(await this['_httpService'][_0x144190(0x283)](_0x5a6a0d))[_0x144190(0x1da)];if(((_0x1bb055=_0x1a131c[_0x144190(0xaf)])==null?void 0x0:_0x1bb055[_0x144190(0xbb)])!==_0x4da0aa['OK'])return;this[_0x144190(0x360)](_0x1a131c[_0x144190(0xc4)],_0x37c3f5);}catch(_0x313972){this[_0x144190(0xec)][_0x144190(0xaf)](_0x313972);}}async['_releaseCalculationLimit'](_0x5c3b35){const _0x58db7b=_0x24b96c;let _0x2fbf33=Date[_0x58db7b(0x393)]();try{var _0x446e66,_0x50fab0;let _0x779325=((_0x446e66=this[_0x58db7b(0xb0)][_0x58db7b(0x3a4)](_0x4a06d2['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x446e66[_0x58db7b(0xde)])||_0x58db7b(0x383),_0x2f09e2=(await this[_0x58db7b(0x113)][_0x58db7b(0x217)](_0x779325,{'body':JSON[_0x58db7b(0x2e7)]({'taskId':_0x5c3b35})}))[_0x58db7b(0x1da)];if(((_0x50fab0=_0x2f09e2['error'])==null?void 0x0:_0x50fab0[_0x58db7b(0xbb)])!==_0x4da0aa['OK'])return;this[_0x58db7b(0x360)](_0x2f09e2[_0x58db7b(0xc4)],_0x2fbf33);}catch(_0x1fa1e2){this[_0x58db7b(0xec)]['error'](_0x1fa1e2);}}[_0x24b96c(0xce)](){const _0x3908c0=_0x24b96c;return this[_0x3908c0(0x2bf)]===0x0?!0x0:this[_0x3908c0(0x2bf)]-this[_0x3908c0(0x1e9)]>0x0;}[_0x24b96c(0x1db)](){const _0x4c05c2=_0x24b96c;this[_0x4c05c2(0x176)]&&(clearTimeout(this[_0x4c05c2(0x176)]),this['_pollingInterval']=null);}[_0x24b96c(0x14f)](){const _0x18de74=_0x24b96c;this['_messageService'][_0x18de74(0x2d9)]({'content':this[_0x18de74(0x1ac)]['t'](_0x18de74(0x2ba)),'type':_0x3df4e2[_0x18de74(0x13b)][_0x18de74(0xe9)]});}[_0x24b96c(0xcc)](_0x14bd4e){const _0x4205b9=_0x24b96c;for(let _0x39fbeb of _0x14bd4e){let {unitId:_0xe9a631,sheetId:_0x2c5c81,range:_0x104d93}=_0x39fbeb,_0x25a22a=this['_univerInstanceService']['getUnit'](_0xe9a631);if(!_0x25a22a)continue;let _0x45bc52=_0x25a22a[_0x4205b9(0xa2)](_0x2c5c81);if(!_0x45bc52)continue;let _0x53cf56=_0x45bc52['getCellMatrix']();for(let _0x8a89fd=_0x104d93['startRow'];_0x8a89fd<=_0x104d93[_0x4205b9(0x225)];_0x8a89fd++)for(let _0xc7c22=_0x104d93['startColumn'];_0xc7c22<=_0x104d93[_0x4205b9(0xae)];_0xc7c22++){let _0x447fef=_0x53cf56['getValue'](_0x8a89fd,_0xc7c22);if(_0x447fef&&((0x0,_0x13030d['isFormulaString'])(_0x447fef['f'])||(0x0,_0x13030d[_0x4205b9(0xd0)])(_0x447fef['si'])))return!0x0;}}return!0x1;}};_0x31ebc2=_0x12d4ea([_0x517da2(0x0,(0x0,_0x13030d['Inject'])(_0x429bdf['IMessageService'])),_0x517da2(0x1,_0x13030d['ICommandService']),_0x517da2(0x2,_0x13030d[_0x24b96c(0x23f)]),_0x517da2(0x3,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x24b4f9[_0x24b96c(0x339)])),_0x517da2(0x4,_0x13030d[_0x24b96c(0x235)]),_0x517da2(0x5,_0x13030d['ILogService']),_0x517da2(0x6,(0x0,_0x13030d['Inject'])(_0x13030d[_0x24b96c(0x381)]))],_0x31ebc2);let _0x4f755f=class extends _0x13030d[_0x24b96c(0x328)]{constructor(_0x2183cc,_0x4d688a,_0x3de2f8){const _0x7ab778=_0x24b96c;super(),this[_0x7ab778(0xb0)]=_0x2183cc,this[_0x7ab778(0x375)]=_0x4d688a,this[_0x7ab778(0xba)]=_0x3de2f8,_0x32f982(this,_0x7ab778(0x236),new Map()),_0x32f982(this,_0x7ab778(0x1b0),new Map()),_0x32f982(this,_0x7ab778(0x205),!0x1);}[_0x24b96c(0x2d3)](){const _0x524419=_0x24b96c;this[_0x524419(0x205)]=!0x0;}['enableLocalCache'](){const _0x1f291e=_0x24b96c;this[_0x1f291e(0x205)]=!0x1;}get[_0x24b96c(0x32b)](){return this['_saveTaskMap'];}['dispose'](){const _0xb42c23=_0x24b96c;this['exhaustSavingTask']()[_0xb42c23(0x100)](()=>super[_0xb42c23(0x29f)]());}async[_0x24b96c(0xd5)](_0x48df14){const _0x3a4f3b=_0x24b96c;return this[_0x3a4f3b(0x205)]?null:this[_0x3a4f3b(0x375)][_0x3a4f3b(0x202)]((0x0,_0x4a06d2[_0x3a4f3b(0x13c)])(_0x48df14));}async[_0x24b96c(0x364)](_0x926570,_0x194ecf){const _0x4020a4=_0x24b96c;return!!this['_localStorageService'][_0x4020a4(0x178)](_0x926570,_0x194ecf);}['updateOfflineData'](_0x14c198,_0x568481,_0x370efa,_0x52615d){const _0x38e829=_0x24b96c;let _0x3e109b=this[_0x38e829(0xba)][_0x38e829(0x27e)](_0x14c198);this[_0x38e829(0x236)][_0x38e829(0x13e)](_0x14c198,{'unitID':_0x14c198,'type':_0x568481,'awaitingChangeset':_0x370efa,'mutations':_0x52615d,'rev':_0x3e109b}),this[_0x38e829(0x1b0)][_0x38e829(0x361)](_0x14c198)||this[_0x38e829(0x2eb)](_0x14c198);}['_scheduleSaving'](_0x421495){const _0x49af2e=_0x24b96c;let _0x3f8f9f=this['_getSaveTimeout']();_0x3f8f9f===0x0?this[_0x49af2e(0x2c7)](_0x421495):this[_0x49af2e(0x1b0)][_0x49af2e(0x13e)](_0x421495,setTimeout(()=>this[_0x49af2e(0x2c7)](_0x421495),_0x3f8f9f));}[_0x24b96c(0x246)](){const _0x2c12e9=_0x24b96c;var _0x397e1b;return(_0x397e1b=this['_configService'][_0x2c12e9(0x3a4)](_0x4a06d2[_0x2c12e9(0x3a1)]))==null?_0x4a06d2['LOCAL_CACHE_INTERVAL']:_0x397e1b;}[_0x24b96c(0x2c7)](_0x4914c8){const _0x2315a1=_0x24b96c;let _0x479973=this[_0x2315a1(0x1b0)][_0x2315a1(0x283)](_0x4914c8);return _0x479973!==void 0x0&&window[_0x2315a1(0x395)](_0x479973),this[_0x2315a1(0x375)]['setItem']((0x0,_0x4a06d2[_0x2315a1(0x13c)])(_0x4914c8),this[_0x2315a1(0x236)][_0x2315a1(0x283)](_0x4914c8))[_0x2315a1(0x100)](()=>this[_0x2315a1(0x1b0)][_0x2315a1(0x103)](_0x4914c8));}async['exhaustSavingTask'](){const _0x5a6c65=_0x24b96c;let _0x1704fd=[];this[_0x5a6c65(0x1b0)][_0x5a6c65(0x172)]((_0x5cf478,_0x5a5766)=>{const _0x2d3cc0=_0x5a6c65;window[_0x2d3cc0(0x395)](_0x5cf478),_0x1704fd['push'](this['_saveCache'](_0x5a5766)[_0x2d3cc0(0x100)](()=>{const _0x32c82d=_0x2d3cc0;this['_saveTaskMap'][_0x32c82d(0x103)](_0x5a5766);}));}),await Promise[_0x5a6c65(0xbd)](_0x1704fd);}};_0x4f755f=_0x12d4ea([_0x517da2(0x0,_0x13030d[_0x24b96c(0x23f)]),_0x517da2(0x1,_0x13030d[_0x24b96c(0x131)]),_0x517da2(0x2,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x486545[_0x24b96c(0x256)]))],_0x4f755f);var _0xabb915=class extends _0x13030d[_0x24b96c(0x2ae)]{constructor(){const _0x5823ba=_0x24b96c;super(),_0x32f982(this,'urlChange$',void 0x0),this[_0x5823ba(0x31b)]=(0x0,_0x594669['fromEvent'])(window,_0x5823ba(0x377))[_0x5823ba(0x2be)]((0x0,_0x594669[_0x5823ba(0xc0)])(this['dispose$']),(0x0,_0x594669['shareReplay'])(0x1),(0x0,_0x594669[_0x5823ba(0x337)])(void 0x0));}[_0x24b96c(0x2e5)](_0x9619b1,_0x532230,_0x3211a5=!0x1){const _0x4bb329=_0x24b96c;let _0x2bb504=new URL(window[_0x4bb329(0x22f)][_0x4bb329(0x1bb)]);_0x2bb504[_0x4bb329(0x33b)][_0x4bb329(0x13e)](_0x9619b1,_0x532230),_0x3211a5?window[_0x4bb329(0xaa)][_0x4bb329(0x12e)]('','',_0x2bb504[_0x4bb329(0x2d6)]()):window['history'][_0x4bb329(0x22e)]('','',_0x2bb504[_0x4bb329(0x2d6)]());}[_0x24b96c(0x16d)](_0x1858cb,_0x14f193=!0x1){const _0x3f73ea=_0x24b96c;let _0x54ba53=new URL(window[_0x3f73ea(0x22f)]['href']);_0x54ba53[_0x3f73ea(0x33b)]['delete'](_0x1858cb),_0x14f193?window['history'][_0x3f73ea(0x12e)]('','',_0x54ba53['toString']()):window[_0x3f73ea(0xaa)][_0x3f73ea(0x22e)]('','',_0x54ba53[_0x3f73ea(0x2d6)]());}['getParam'](_0x14935b){const _0x118272=_0x24b96c;var _0x4ee8a7;return(_0x4ee8a7=new URL(window[_0x118272(0x22f)]['href'])[_0x118272(0x33b)][_0x118272(0x283)](_0x14935b))==null?void 0x0:_0x4ee8a7;}};let _0x3db514=class extends _0x13030d[_0x24b96c(0xfa)]{constructor(_0x35bb5=_0x475def,_0xb69bcd,_0x338368,_0x27250f){const _0x3be8d0=_0x24b96c;super(),this['_config']=_0x35bb5,this[_0x3be8d0(0x136)]=_0xb69bcd,this[_0x3be8d0(0x23a)]=_0x338368,this[_0x3be8d0(0xb0)]=_0x27250f;let {..._0x1fb90c}=(0x0,_0x13030d[_0x3be8d0(0xf7)])({},_0x475def,this[_0x3be8d0(0x25d)]);this[_0x3be8d0(0xb0)][_0x3be8d0(0x248)](_0x4f4f93,_0x1fb90c);}[_0x24b96c(0x380)](){const _0x8f6b77=_0x24b96c;this[_0x8f6b77(0x1ee)](),this['_initDependencies']();}[_0x24b96c(0x173)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x2c9962=_0x24b96c;var _0x31fabd;let _0x45e9a1=[[_0x57da1c],[_0x31ebc2],[_0x38878b],[_0x5176c7],[_0x570b4f],[_0x26ea35],[_0x55c8b2,{'useClass':_0xabb915}],[_0x24b4f9[_0x2c9962(0x38d)],{'useClass':_0x24b4f9[_0x2c9962(0x170)]}],[_0x4a06d2[_0x2c9962(0x31c)],{'useClass':_0x4f755f}],[_0xab3962],[_0x11d522],[_0x1f50c9],[_0x56259b],[_0x3543c2],[_0x2d4814]];this[_0x2c9962(0x25d)][_0x2c9962(0x17b)]&&_0x45e9a1[_0x2c9962(0x264)]([_0x12c8b7]),(0x0,_0x13030d[_0x2c9962(0x2b5)])(this['_injector'],(0x0,_0x13030d[_0x2c9962(0x228)])(_0x45e9a1,(_0x31fabd=this[_0x2c9962(0x25d)])==null?void 0x0:_0x31fabd[_0x2c9962(0x19c)]));}['_registerRenderDependencies'](){const _0x5d7df6=_0x24b96c;this[_0x5d7df6(0x220)](this[_0x5d7df6(0x136)][_0x5d7df6(0xe3)](_0x13030d[_0x5d7df6(0x3aa)][_0x5d7df6(0xd4)],[_0x3ea851])),this[_0x5d7df6(0x220)](this[_0x5d7df6(0x136)][_0x5d7df6(0xe3)](_0x13030d[_0x5d7df6(0x3aa)]['UNIVER_SHEET'],[_0x52222b]));}[_0x24b96c(0x24d)](){const _0x43f0f2=_0x24b96c;(0x0,_0x13030d[_0x43f0f2(0x38c)])(this['_injector'],[[_0x56259b],[_0xab3962],[_0x11d522],[_0x1f50c9],[_0x2d4814],[_0x31ebc2]]),this['_config']['enableFrontendLog']&&(0x0,_0x13030d[_0x43f0f2(0x38c)])(this[_0x43f0f2(0x23a)],[[_0x12c8b7]]);}};_0x32f982(_0x3db514,'pluginName',_0x24b96c(0x263)),_0x32f982(_0x3db514,_0x24b96c(0x114),_0x4837e7),_0x32f982(_0x3db514,_0x24b96c(0x10b),_0x47cc26),_0x3db514=_0x12d4ea([(0x0,_0x13030d[_0x24b96c(0x350)])(_0x4a06d2[_0x24b96c(0x118)]),_0x517da2(0x1,_0x5bc07b[_0x24b96c(0x162)]),_0x517da2(0x2,(0x0,_0x13030d['Inject'])(_0x13030d[_0x24b96c(0x331)])),_0x517da2(0x3,_0x13030d[_0x24b96c(0x23f)])],_0x3db514);let _0x43ad0c=class extends _0x4a06d2[_0x24b96c(0x303)]{constructor(_0x22afe0,_0x31c531,_0xace4fa,_0x4f3823,_0x28412c){super(_0x22afe0,_0x31c531,_0xace4fa,_0x4f3823,_0x28412c);}async[_0x24b96c(0xa6)](_0xe447e){const _0x1f6732=_0x24b96c;let _0xb307e0=await this['_getSessionTicket'](),_0x2dfa99=this[_0x1f6732(0x2dd)](_0xe447e,_0xb307e0);return this[_0x1f6732(0x23d)](_0x2dfa99);}['_createSocketURL'](_0x29c239,_0x9499ff){const _0x50f71a=_0x24b96c;let _0x5c73cd=typeof window>'u'?new URL(_0x29c239):new URL(_0x29c239,window[_0x50f71a(0x22f)][_0x50f71a(0x2b2)]);_0x5c73cd[_0x50f71a(0x33b)][_0x50f71a(0x13e)](_0x50f71a(0x2c8),_0x9499ff);let _0x1b7bb5=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x50f71a(0x22f)][_0x50f71a(0x1d1)]);return _0x1b7bb5[_0x50f71a(0x283)](_0x50f71a(0x1ce))&&_0x5c73cd[_0x50f71a(0x33b)][_0x50f71a(0x13e)](_0x50f71a(0x1ce),_0x1b7bb5['get']('runId')),_0x5c73cd[_0x50f71a(0x2d6)]();}async['_getSessionTicket'](){const _0x3406a0=_0x24b96c;var _0x4cebe0,_0x3a279c,_0x1dd9c0;let _0x28ceee=this[_0x3406a0(0xb0)][_0x3406a0(0x3a4)](_0x4a06d2[_0x3406a0(0x386)]),_0x2476be=(_0x4cebe0=_0x28ceee==null?void 0x0:_0x28ceee['wsSessionTicketUrl'])==null?_0x4a06d2[_0x3406a0(0x206)]:_0x4cebe0;return(_0x3a279c=(_0x1dd9c0=(await this[_0x3406a0(0x113)]['get'](_0x2476be,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x1dd9c0[_0x3406a0(0x2da)])==null?'':_0x3a279c;}};_0x43ad0c=_0x12d4ea([_0x517da2(0x0,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d[_0x24b96c(0x331)])),_0x517da2(0x1,(0x0,_0x13030d['Inject'])(_0x24b4f9[_0x24b96c(0x339)])),_0x517da2(0x2,_0x13030d['IConfigService']),_0x517da2(0x3,_0x13030d[_0x24b96c(0x30f)]),_0x517da2(0x4,_0x486545[_0x24b96c(0x3ac)])],_0x43ad0c);let _0xef30b7=class extends _0x13030d[_0x24b96c(0x328)]{constructor(_0x4389a3,_0x57e51a,_0x19b4db){const _0x43496f=_0x24b96c;super(),this[_0x43496f(0x1b5)]=_0x4389a3,this['_httpService']=_0x57e51a,this[_0x43496f(0xb0)]=_0x19b4db;}async['runOnServer'](_0x1fea69,_0x1ebf20,_0x319dc5,..._0x319971){const _0x2dd3db=_0x24b96c;var _0xfc1093,_0x549b15,_0x423a1a,_0x27e6b4;let _0x54b571=this[_0x2dd3db(0x1b5)][_0x2dd3db(0x16c)]();if(!_0x54b571)throw Error(_0x2dd3db(0x2e4));let _0x4a4252=((_0xfc1093=this[_0x2dd3db(0xb0)][_0x2dd3db(0x3a4)](_0x4a06d2[_0x2dd3db(0xa4)]))==null?_0x4a06d2[_0x2dd3db(0x238)]:_0xfc1093)+'/'+_0x1fea69+_0x2dd3db(0x311)+_0x1ebf20,_0x158ec2={'scriptId':_0x1fea69,'runId':(_0x549b15=new URL(window['location'][_0x2dd3db(0x1bb)])[_0x2dd3db(0x33b)]['get']('runId'))==null?'':_0x549b15,'function':_0x1ebf20,'unitId':_0x54b571[_0x2dd3db(0xf6)](),'argsOfFunction':JSON[_0x2dd3db(0x2e7)](_0x319971),'invokeId':(_0x423a1a=_0x319dc5['invokeId'])==null?'':_0x423a1a,'executionId':(_0x27e6b4=_0x319dc5[_0x2dd3db(0x140)])==null?'':_0x27e6b4};try{let _0x5773d0=await this[_0x2dd3db(0x113)]['post'](_0x4a4252,{'body':_0x158ec2});return _0x5773d0[_0x2dd3db(0x1da)]['error']&&_0x5773d0[_0x2dd3db(0x1da)][_0x2dd3db(0xaf)]['code']!==_0x4da0aa['OK']?_0x2dd3db(0xe4):_0x5773d0[_0x2dd3db(0x1da)][_0x2dd3db(0x362)];}catch{return'Failed';}}};_0xef30b7=_0x12d4ea([_0x517da2(0x0,_0x13030d[_0x24b96c(0x235)]),_0x517da2(0x1,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x24b4f9[_0x24b96c(0x339)])),_0x517da2(0x2,_0x13030d['IConfigService'])],_0xef30b7);var _0x15b42c=function(_0x14c13c){const _0x524b57=_0x24b96c;return _0x14c13c[_0x14c13c[_0x524b57(0xc1)]=0x0]=_0x524b57(0xc1),_0x14c13c[_0x14c13c[_0x524b57(0x276)]=0x1]=_0x524b57(0x276),_0x14c13c[_0x14c13c[_0x524b57(0x1dc)]=0x2]=_0x524b57(0x1dc),_0x14c13c;}(_0x15b42c||{});let _0x529135=0x7530,_0x56d1bf=_0x24b96c(0x226);var _0x4603c6=class extends _0x13030d['Disposable']{constructor(){const _0x3d51e5=_0x24b96c;super(),_0x32f982(this,_0x3d51e5(0x3b1),(0x0,_0x13030d[_0x3d51e5(0x280)])()),_0x32f982(this,_0x3d51e5(0x147),new Set()),_0x32f982(this,_0x3d51e5(0x204),new Map()),_0x32f982(this,'_heartbeatTimer',null),_0x32f982(this,_0x3d51e5(0x2f3),new Map()),_0x32f982(this,_0x3d51e5(0xbf),new Map()),this[_0x3d51e5(0xb7)]();}[_0x24b96c(0x29f)](){const _0x105505=_0x24b96c;super[_0x105505(0x29f)](),this[_0x105505(0x2f3)][_0x105505(0x172)]((_0x521cc2,_0x2e132a)=>this[_0x105505(0x329)](_0x2e132a)),this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x24b96c(0x316)](_0x340e2b){const _0x4e536f=_0x24b96c;return this[_0x4e536f(0x1c8)](_0x340e2b)[_0x4e536f(0x2be)]((0x0,_0x594669[_0x4e536f(0x229)])());}[_0x24b96c(0x10f)](_0x1f9e16){const _0xf21af7=_0x24b96c;this[_0xf21af7(0x147)][_0xf21af7(0x379)]===0x0&&this['_scheduleHeartbeat'](),this[_0xf21af7(0x147)][_0xf21af7(0x2e8)](_0x1f9e16),this[_0xf21af7(0x18f)]({'type':_0x15b42c[_0xf21af7(0xc1)],'memberID':this[_0xf21af7(0x3b1)],'unitIDs':[_0x1f9e16],'isForwarded':!0x1});}[_0x24b96c(0x27c)](_0x4f346b){const _0x224e16=_0x24b96c;this['_selfUnitIDs'][_0x224e16(0x103)](_0x4f346b),this['_selfUnitIDs']['size']===0x0&&this[_0x224e16(0x27b)]&&window[_0x224e16(0x28a)](this[_0x224e16(0x27b)]);}[_0x24b96c(0xb7)](){const _0x78c228=_0x24b96c;this[_0x78c228(0x220)]((0x0,_0x13030d['toDisposable'])((0x0,_0x594669[_0x78c228(0x397)])(window,_0x78c228(0x37b))['subscribe'](_0x3e1fda=>{const _0x322609=_0x78c228;if(_0x3e1fda[_0x322609(0x37c)]!==_0x56d1bf||!_0x3e1fda['newValue'])return;let _0x23c1c2=JSON[_0x322609(0xf2)](_0x3e1fda['newValue']);this[_0x322609(0x2fc)](_0x23c1c2);}))),window[_0x78c228(0x2ef)]('unload',()=>this[_0x78c228(0x18f)]({'type':_0x15b42c[_0x78c228(0x276)],'memberID':this[_0x78c228(0x3b1)],'unitIDs':Array['from'](this[_0x78c228(0x147)])}));}[_0x24b96c(0x2fc)](_0x5162f3){const _0x337c98=_0x24b96c;switch(_0x5162f3[_0x337c98(0x35c)]){case _0x15b42c[_0x337c98(0xc1)]:this['_handleJoinEvent'](_0x5162f3);break;case _0x15b42c[_0x337c98(0x276)]:this[_0x337c98(0x1f5)](_0x5162f3);break;case _0x15b42c[_0x337c98(0x1dc)]:this[_0x337c98(0x193)](_0x5162f3);break;}}[_0x24b96c(0x1a9)](_0x5099f2){const _0x42060e=_0x24b96c;let {unitIDs:_0x2f0ce8,memberID:_0x21003b,isForwarded:_0x1950d0}=_0x5099f2;_0x2f0ce8[_0x42060e(0x172)](_0x51e139=>{const _0x2fef39=_0x42060e;if(!_0x1950d0&&this[_0x2fef39(0x204)]['has'](_0x51e139)&&this['_ensureSubject'](_0x51e139)[_0x2fef39(0x373)](_0x4a06d2[_0x2fef39(0x332)][_0x2fef39(0xab)]),!this[_0x2fef39(0x204)]['has'](_0x51e139)||!this[_0x2fef39(0x204)][_0x2fef39(0x283)](_0x51e139)[_0x2fef39(0x361)](_0x21003b)){let _0x42582b=this[_0x2fef39(0x204)][_0x2fef39(0x283)](_0x51e139)||new Set();_0x42582b[_0x2fef39(0x2e8)](_0x21003b),this[_0x2fef39(0x204)][_0x2fef39(0x13e)](_0x51e139,_0x42582b),this['_scheduleClearOtherTimer'](_0x21003b);}}),_0x1950d0||this['_send']({'type':_0x15b42c[_0x42060e(0xc1)],'memberID':this[_0x42060e(0x3b1)],'unitIDs':[...this[_0x42060e(0x147)]],'isForwarded':!0x0});}[_0x24b96c(0x2bc)](_0x190fab){const _0x56b706=_0x24b96c;this[_0x56b706(0x329)](_0x190fab);let _0x39a112=window[_0x56b706(0x189)](()=>{const _0x383014=_0x56b706;this[_0x383014(0x204)][_0x383014(0x172)](_0x47dc18=>{const _0x44b16d=_0x383014;_0x47dc18[_0x44b16d(0x103)](_0x190fab);});},_0x529135*0x2);this[_0x56b706(0x2f3)]['set'](_0x190fab,_0x39a112);}[_0x24b96c(0x329)](_0x28e971){const _0x132149=_0x24b96c;if(this['_clearOtherTimers'][_0x132149(0x361)](_0x28e971)){let _0x4cebd7=this[_0x132149(0x2f3)][_0x132149(0x283)](_0x28e971);_0x4cebd7&&window[_0x132149(0x395)](_0x4cebd7),this['_clearOtherTimers']['set'](_0x28e971,null);}}['_handleLeaveEvent'](_0x297a15){const _0x4f0063=_0x24b96c;let {memberID:_0x3f2415,unitIDs:_0x36da90}=_0x297a15;_0x36da90[_0x4f0063(0x172)](_0x116a17=>{const _0x3d5c2a=_0x4f0063;var _0x30f0b3;let _0x448a7c=this[_0x3d5c2a(0x204)]['get'](_0x116a17);_0x448a7c&&(_0x448a7c[_0x3d5c2a(0x103)](_0x3f2415),(_0x30f0b3=this['_ensureSubject'](_0x116a17))==null||_0x30f0b3[_0x3d5c2a(0x373)](_0x448a7c[_0x3d5c2a(0x379)]===0x0?_0x4a06d2['UnitStatus'][_0x3d5c2a(0x181)]:_0x4a06d2['UnitStatus'][_0x3d5c2a(0xab)]));}),this['_removeClearOtherTimer'](_0x3f2415);}[_0x24b96c(0x193)](_0x5002b4){const _0x320f62=_0x24b96c;this[_0x320f62(0x2bc)](_0x5002b4[_0x320f62(0x2ad)]);}[_0x24b96c(0x18f)](_0x209246){const _0x1484a4=_0x24b96c;localStorage[_0x1484a4(0x178)](_0x56d1bf,JSON[_0x1484a4(0x2e7)](_0x209246));}[_0x24b96c(0x255)](){const _0x36d78d=_0x24b96c;this['_heartbeatTimer']=window[_0x36d78d(0xd8)](()=>{const _0x1a0248=_0x36d78d;this[_0x1a0248(0x18f)]({'type':_0x15b42c[_0x1a0248(0x1dc)],'memberID':this[_0x1a0248(0x3b1)]});},_0x529135);}[_0x24b96c(0x1c8)](_0x23eb49){const _0x3e08a3=_0x24b96c;return this['_unitStatus']['has'](_0x23eb49)||this['_unitStatus'][_0x3e08a3(0x13e)](_0x23eb49,new _0x594669[(_0x3e08a3(0x3a6))](_0x4a06d2[_0x3e08a3(0x332)][_0x3e08a3(0x181)])),this[_0x3e08a3(0xbf)][_0x3e08a3(0x283)](_0x23eb49);}};Object[_0x24b96c(0x324)](_0x159966,_0x24b96c(0x274),{'enumerable':!0x0,'get':function(){return _0x43ad0c;}}),Object[_0x24b96c(0x324)](_0x159966,_0x24b96c(0x137),{'enumerable':!0x0,'get':function(){return _0x2d4814;}}),Object[_0x24b96c(0x324)](_0x159966,'DesktopCollaborationStatusDisplayController',{'enumerable':!0x0,'get':function(){return _0xab3962;}}),_0x159966['IURLService']=_0x55c8b2,Object[_0x24b96c(0x324)](_0x159966,'RemoteUniscriptService',{'enumerable':!0x0,'get':function(){return _0xef30b7;}}),_0x159966['SheetCollabCursorShape']=_0x270909,Object['defineProperty'](_0x159966,'UniverCollaborationClientUIPlugin',{'enumerable':!0x0,'get':function(){return _0x3db514;}}),_0x159966[_0x24b96c(0xfd)]=_0x4603c6,_0x159966[_0x24b96c(0x13d)]=_0xabb915;}));function _0x20d0(){const _0x59783f=['YUUMI_ASYNCIO_CANCELLED','formula.calculation.waiting','ICommandService','_scheduleClearOtherTimer','_startDocCollabCursor','pipe','_maxFormulaLimit','formula.calculation.started','MOBILE_HAS_BEEN_BOUND','USER_IS_ANONYMOUS','width','IBeforeCloseService','idSuffix','START_CALCULATION','_saveCache','sessionTicket','getUnhiddenWorksheets','stageInfo','on-line-icon','jiqing.500','ENTITLE_INSUFFICIENT_QUOTA','xlink:href','univer-flex\x20univer-items-center','Inject','getSheetObject','_entities','disableLocalCache','YUUMI_RATE_OVER_LIMIT',',\x200.2)','toString','text','UNIVER_SHEET','show','ticket','tag','eventID','_createSocketURL','_toggleOnline','UniverRpc','ITransformService','_getFormulaLimitStatus','_colorIndex','getCellPositionByOffset','[RemoteUniscriptService]:\x20no\x20focused\x20unit','setParam','transformIMECache','stringify','add','collab-rect-range-','totalFormulasToCalculate','_scheduleSaving','1em','deepClone','RECT','addEventListener','getCoordByCell','serializeRangeWithSheet','_onRefRangeChange','_clearOtherTimers','_updateCollabCursors','onPointerMove$','amd','maxFormulaLimit','@univerjs/docs','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_themeService','_lastResponseTimestamp','_handleEvent','UNRECOGNIZED','getCurrentSkeleton','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','1114722utllyq','focused$','SUCCESS','CollaborationSocketService','RemoveColCommandId','color','DocSkeletonManagerService','UniverDocsUi','getActiveRange','_collabCursorController','subUnitId','handleMoveRange','url(#$1','beginPath','UniverProCollaboration','ILogService','_sheetSkeletonManagerService','/run/','svg','univerjs-icon\x20univerjs-icon-','row','_name','getUnitStatus$','_docTransformSelectionsService','_labelPosition','values','UniverSheetsUi','urlChange$','ILocalCacheService','_urlService','react','lineno','subscribe','SetWorksheetActivateCommand','FormulaExecuteStageType','loadUnit','defineProperty','none','isTransformMutationFailure','FETCH_MISS','Disposable','_removeClearOtherTimer','getSheetId','saveTaskMap','m2Prime','getOwnPropertyDescriptor','PERMISSION_DENIED','187CjQVBZ','_dataLoaderService','Injector','UnitStatus','setShapeProps','exports','CollaborationUIEventService','cursorInfo','mapTo','docStateChange$','HTTPService','default','searchParams','registerBeforeClose','function','OFFLINE','undoState','cursorInfo$','LOGIN_FAILED','react/jsx-runtime','unitID','/universer-api/license/formula/limit/status','_initEntityListener','stack','rgb','prototype','_roomMembers$','YUUMI_UNABLE_LOAD_URL','switchMap','highlight','send','addHandlerCallback','parseInt','DependentOn','INTERNAL_ERROR','NOT_FOUND','ALREADY_EXISTS','SYNCED','bottom','call','unhandledrejection','UniverDocs','symbol','getRelativeToViewportCoord','Rect','type','collabStatus.fetchMiss','IImageIoService','collabCursorState$','_setFormulaLimitStatus','has','result','labelPosition','saveOfflineData','arc','data','save','REDEMPTION_USER_NOT_ELIGIBLE','handleDeleteRangeMoveUp','1070280HSFFET','createElement','...','@univerjs-pro/collaboration-client-ui','length','assignAColorForMemberID','APPLY_NON_SEQUENTIAL_REVISION','ENTITLE_USE_COUPON_NOT_1ST_TRADE','purple.300','next','_drawTextRange','_localStorageService','_isBlinkVisible','popstate','1081952HUkaQj','size','REDEMPTION_USER_REDEEM_TIMES_EXCEED','storage','key','SetDocZoomRatioOperation','SOCKET_FAILED_RETRY','DATA_SOURCE_TOO_LARGE','onStarting','LocaleService','_memberID','/universer-api/license/formula/limit/done','mutations','rxjs','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','init','asObservable','_collaborationUIEventService','_draw','unsubscribe','touchDependencies','ISocketService','YUUMI_SUBSCRIPTION_NOT_FOUND','setUndoRedoMutationParamsCache','defs','Warning','forwardRef','now','CLOSE_ROOM','clearTimeout','getDocRanges','fromEvent','includes','APPLY_REJECT','ONLINE','LICENSE_EXPORT_SIZE_EXCEEDED','_docSkeletonManagerService','colorChannel1','ColorKit','IDocClipboardService','closePath','LOCAL_CACHE_INTERVAL_KEY','measureText','_cursorShapes','getConfig','_offsetY','BehaviorSubject','trim','AWAITING','getCurrentSelections','UniverInstanceType','[Window\x20Error]:\x20','ISnapshotServerService','string','setOffsetY','LICENSE_MAX_UNITS_EXCEEDED','@univerjs/network','_id','APPLY_PERMISSION_DENIED','getColorFromTheme','setActiveRange','getRangePointData','_commandService','getVpScrollXYInfoByPosToVp','getSheetBySheetId','5VkhaQQ','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','0.2)','createSocket','filter','ThemeService','APPLY_DUPLICATED','history','OTHER_CLIENTS_EDITING','unit','_initStatusComponent','endColumn','error','_configService','ENSURE_SNAPSHOT_EXECUTION','status$','REDEMPTION_CODE_INACTIVE','removeEventListener','COMPLETION_FINISHED','imageSourceType','_init','SetFormulaCalculationStartMutation','_setupSubUnitSync','_revisionService','code','subunit','all','_context','_unitStatus','takeUntil','JOIN','jsx','_cursor','limitInfo','_initResize','connectInjector','getCollabCursors$','flatMap','LICENSE_IMPORT_SIZE_EXCEEDED','_hover','_transformUndoRedoStack','_hasFormulaInDirtyRanges','on-line-icon_clip0_910_349','_checkCalculationAvailable','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','isFormulaId','@univerjs-pro/collaboration','fillText','onCommandExecuted','UNIVER_DOC','loadOfflineData','_session','MUTATION','setInterval','_beforeCloseService','SetSelectionsOperation','transformMutationsWithChangeset','complete','_localCacheService','releaseFormulaLimitUrl','toStringTag','collaboration-client-ui.config','isArray','1422116RsagXl','registerRenderModule','Failed','Active','beforeCommandExecuted','iterator','fill','Loading','drawWith','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','_logService','_memberService','CONFLICT','0\x200\x2016\x2016','object','Error','parse','handleInsertRow','COLORS','off-line-icon_clip0_910_343','getUnitId','merge','transformByState','MoveRangeCommandId','Plugin','clsx','lineTo','WebBrowserSingleActiveUnitService','[CollaborationDataLoaderController]','path','then','_messageService','FromArray','delete','collaboration.offline-data-not-saved','sheetID','UniverSheets','@univerjs/docs-ui','_eventUnsubscribe','handleInsertRangeMoveDown','CONNECTOR_DATA_TOO_LARGE','version','CURRENT_STATUS_CANNOT_OPERATE','_updateLocalCursor','registerRefRange','editingUnit','univer-mr-2\x20univer-flex\x20univer-text-xl','@univerjs/drawing','EMAIL_VERIFY_CODE_MISMATCH','_httpService','packageName','_lastPointer','getTypeOfUnitDisposed$','collabStatus.synced','UniverCollaborationClientPlugin','_render','children','DocCollaborationEntity','UNDEFINED','_docStateChangeManagerService','ranges','\x20at\x20','CollaborationController','throttleTime','ENTITLE_CHAT_LIMIT_EXCEED','moveTo','CollaborationStatus','saveImage','getMemberID','2gnLzSu','_updateURLWithCurrentState','DocIMEInputManagerService','random','getRenderById','formula.calculation.unable','getActiveSheet','replaceState','Module','_getMergeRange','ILocalStorageService','textRanges','LOGIN_TOKEN_PROCESSING_FAILED','UniverNetwork','getValue','_renderManagerService','CollaborationDataLoaderController','decorate','IRemoteInstanceService','@univerjs/sheets','MessageType','getLocalCacheKey','WebURLService','set','_applyCommand','executionId','_univerInstanceService','Tools','getUndoRedoMutationParamsCache','ENTITLE_INVALID_COUPON_CODE','45618smWpZd','INVALID_ARGUMENT','_selfUnitIDs','toDisposable','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_monkeyPatchLogService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','triggerDblclick','permission.content','_showGuardMessage','_transformPreviousActiveRange','clipPath','ENTITLE_DUP_SUBSCRIPTION','shift','USER_NOT_INVITED_CODE','_syncEditingCollabCursorService','React','_assignedColors','777YOMzom','dispose$','JOIN_ROOM_FAILED','top','_anchor','deserializeRangeWithSheet','_initStatusListener','_range','split','blue.400','IRenderManagerService','_imageIoService','_initUserListener','hide','SNAPSHOT_HAS_BEEN_REMOVED','slice','height','_blinkIntervalTimer','DocSelectionManagerService','findNodePositionByCharIndex','getFocusedUnit','removeParam','collab-client.tooltip.reconnect','_releaseCalculationLimit','WebSocketService','AWAITING_WITH_PENDING','forEach','onRendered','InsertRangeMoveRightCommandId','div','_pollingInterval','EffectRefRangId','setItem','UniverDrawing','_backgroundColor','enableFrontendLog','DocStateChangeManagerService','evenodd','displayName','RegularPolygon','_getAnchorBounding','NO_OTHER_CLIENTS_EDITING','_getSheetObject','NodePositionConvertToCursor','showText','fillStyle','url(#on-line-icon_clip0_910_349)','white','debounceTime','setTimeout','subscribeEvent','USERS_LEAVE','syncEditingCollabCursor','DeleteRangeMoveUpCommandId','_collabSessionService','_send','use','_hideTimer','_removeCollabCursors','_handleHeartbeatEvent','_initWindowErrorListener','CollaborationEvent','column','http://www.w3.org/2000/svg','YUUMI_CONNECTOR_URL_NOT_FOUND','useDependency','VIEW_MAIN','DisposableCollection','override','debug','onPointerLeave$','_docTransformStateCacheService','INVITE_CODE_HAS_BEEN_UES','USER_NOT_FOUND','engine','event$','Tooltip','InsertRangeMoveDownCommandId','Unknown\x20user','range','stage','_handleJoinEvent','_stopBlinking','handleDeleteRangeMoveLeft','_localeService','_blinkTimer','doc.mutation.rich-text-editing','bind','_saveTaskMap','Shape','_startSheetCollabCursor','roomMembers$','TEXT_RANGE_LAYER_INDEX','_instanceService','REDEMPTION_CODE_HAS_BEEN_CREATED','entries','uni.network.url-service','_initCommandInterceptor','_collabCursorState$','href','CollaborationUIEventId','OTHER_CLIENT_EDITING','collab-text-anchor-','unitId','REDEMPTION_CODE_NOT_STARTED','substring','startsWith','restore','name','ENTITLE_CAN_NOT_BUY_LOWER_OTP','getParam','CanceledError','_ensureSubject','round','font','currentTheme$','[LogService\x20Error]:\x20','setAlpha','runId','_collaborationSessionService','red.300','search','createInstance','makeDirty','currentUsage','APPLY_REVISION_CONFILICT','_onCursorUpdate','SOCKET_FAILED','_transformHistoryAndStateStack','_colorAssignService','body','_clearPolling','HEARTBEAT','_shapes','_highlightSecond','_scene','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','UPDATE_CURSOR','transformStateCache','collabStatus.notCollab','_online','_collaborationController','handleInsertCol','addObjects','startFormulaLimitUrl','_currentUsage','UniverProCollaborationClient','useCallback','getMergeData','combineLatest','_registerDependencies','DOC_RANGE_TYPE','HEADER_MENU','handleIRemoveCol','SessionStatus','rgba(255,\x20255,\x20255,\x200.01)','CHANGESET_REVISION_CONFILICT','_handleLeaveEvent','functionsExecutedState','BuiltInUIPart','_handleHover','842750jDHWJz','SetTextSelectionsOperation','[Unhandled\x20Rejection]:\x20','reason','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_uiPartsService','actions','@univerjs/sheets-ui','_uploadLog','getItem','_updateSubUnitFromURLParams','_unitOnClients','_disabled','DEFAULT_WS_SESSION_TICKET_URL','isActive','NOT_COLLAB','ENTITLE_NEED_BILLING_ADDRESS','contains','_document','url(#off-line-icon_clip0_910_343)','offsetY','_refRangeService','fillRule','transformRemoteChangeset','_taskIds','_cursors','getStateCache','_getScale','_docClipboardService','isTransformMutationsWithChangesetSuccess','post','EMAIL_HAS_BEEN_BOUND','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','Subject','getTypeOfUnitAdded$','ENTITLE_COUPON_EXPIRED','addObject','@univerjs/design','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','disposeWithMe','highlightSecond','@univerjs/engine-render','REDEMPTION_CODE_FULLY_REDEEMED','hovered','endRow','ACTIVE_UNIT_EVENT_CHANNEL','Inactive','mergeOverrideWithDependencies','distinctUntilChanged','params','getOffsetConfig','296931QwdxAv','_transformService','pushState','location','requireSession','selection','collabStatus.syncing','REDEMPTION_INVALID_CODE','join','IUniverInstanceService','_cachedData','with','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_initCommandExecutedListener','_injector','setStateCache','_highlight','_doCreateSocket','_color','IConfigService','@univerjs/ui','session.collaboration-timeout','_cursorInfo$','UniverCore','ENTITLE_REPORT_LIMIT_EXCEED','addClipboardHook','_getSaveTimeout','ENTITLE_COUPON_USED_UP','setConfig','filename','_notificationService','TEXT','AUTHORIZE_CODE_ILLEGAL','_initDependencies','_getLighterColor','min','colno','_docTransformIMECacheService','handleInsertRangeMoveRight','defIds','unshift','_scheduleHeartbeat','RevisionService','OffLineIcon','_onCursorDelete','_drawRectRange','INVALID_INVITE_CODE','onMouseMove','YUUMI_NO_CUBOID_FOR_QUESTION','_config','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getAncestorScale','LICENSE_DISTRO_REJECTED','PENDING','_status$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','push','NodePositionConvertToRectRange','backgroundColor','createIdentifier','handleIRemoveRow','max','transformMutation','_initUnhandledRejectionListener','transformSelections','_docSyncEditingCollabCursorService','collaboration.closeRoom','translate(.97)','from','_setupBeforeClosingHandler','m1Prime','InsertColCommandId','BrowserCollaborationSocketService','yellow.400','LEAVE','_textBubble','toRgbString','Success','getColor','_heartbeatTimer','disposeUnit','selections','getCurrentRevOfUnit','_startCalculationLimit','generateRandomId','_drawAnchor','WECHAT_HAS_BEEN_BOUND','get','_anchorDot','getMember','sessionStatus$','#FFF','map','onPointerEnter$','clearInterval','TOO_MANY_REQUESTS','MOBILE_VERIFY_CODE_MISMATCH','_refreshCollabCursors','getUniverSheetInstance','mask','message','RefRangeService','INVITE_CODE_REQUIRED','_entityInit$','getSkeleton','roomMembers','YUUMI_ALL_TABLES_IS_INVALID','Vector2','activeSheet$','find','YUUMI_URL_COL_OUT_OF_RANGE','useObservable','MemberService','YUUMI_AI_RUN_FAILED','replace','dispose','runRefRangeMutations','UniverEngineRender','redoState','constructor','executeCommand','_checkAndWaitForCalculationPermission','_showText','_toggleOffline','0.20.1','FormulaExecutedStateType','INVITE_CODE_ALREADY_BOUND','_hovered','currentSkeleton$','memberID','RxDisposable','onTransformChange$','debounce','black','origin','attrs','collaboration.single-unit.warning','registerDependencies','some','M0\x200H16V16H0z','catch'];_0x20d0=function(){return _0x59783f;};return _0x20d0();}
8
+ function _0x1170(){const _0x378a22=['unitId','getColor','min','RxDisposable','WebSocketService','UniverSheets','RichTextEditingMutation','_configService','size','UNIVER_SHEET','_removeCollabCursors','addObject','key','m1Prime','resize','result','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','engine','1em','rgba(255,\x20255,\x20255,\x200.01)','UniverSheetsUi','_renderManagerService','replaceDocRanges','getTypeOfUnitDisposed$','/universer-api/license/formula/limit/start','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','eventID','MessageType','drawWith','_initCommandExecutedListener','off-line-icon_clip0_910_343','jsx','Rectangle','roomMembers$','mask','join','ErrorCode','UniverNetwork','UniverProtocol','handleInsertRangeMoveDown','Success','status$','textRanges','collaboration.closeRoom','_blinkIntervalTimer','evenodd','prototype','setTimeout','SYNCED','TRANSFORM_CHANGE_OBSERVABLE_TYPE','fromEventSubject','getActiveRange','addObjects','_assignedColors','on-line-icon_clip0_910_349','isTransformMutationFailure','createInstance','_updateSubUnitFromURLParams','saveOfflineData','PERMISSION_DENIED','_getAnchorBounding','_monkeyPatchLogService','path','requireSession','ONLINE','_startDocCollabCursor','_collabCursorState$','_colorIndex','UniverCollaborationClientPlugin','getSheetObject','maxFormulaLimit','createElement','_entityInit$','ranges','Disposable','subUnitId','searchParams','_refreshCollabCursors','[Window\x20Error]:\x20','0.21.0','toRgbString','_getSheetObject','registerBeforeClose','popstate','moveTo','forwardRef','iterator','_notificationService','_toggleOnline','on-line-icon','isActive','_updateLocalCursor','_anchor','selection','_getLighterColor','location','replace','debug','univer-h-8\x20univer-w-8\x20univer-rounded-lg','InsertRangeMoveRightCommandId','_stopBlinking','/universer-api/license/formula/limit/status','unload','black','setUndoRedoMutationParamsCache','3YPMfgM','getCurrentUnitForType','\x20at\x20','_handleEvent','DataLoaderService','has','getParam','replaceState','defs','focused$','_setFormulaLimitStatus','restore','_drawAnchor','show','_color','post','handleIRemoveRow','_onCursorDelete','random','LEAVE','substring','_initResize','Inactive','currentSkeleton$','_document','transform','debounce','stringify','UniverProCollaboration','AWAITING_WITH_PENDING','forEach','SheetsSelectionsService','code','split','call','FormulaExecuteStageType','Injector','memberID','_context','_online','setShapeProps','i18nKey','red.300','_revisionService','getUnitStatus$','OTHER_CLIENTS_EDITING','_removeClearOtherTimer','_maxFormulaLimit','dispose$','onStarting','collabStatus.offline','@univerjs/protocol','_initUnhandledRejectionListener','_initCommandInterceptor','loadUnit','onCommandExecuted','length','transformMutation','_startCalculationLimit','init','_localCacheService','green.600','map','string','780gpdRRC','@univerjs-pro/collaboration-client','url(#on-line-icon_clip0_910_349)','round','_initEvent','top','_pollingInterval','ILocalCacheService','_highlight','SetSelectionsOperation','xlink:href','LOCAL_CACHE_INTERVAL_KEY','setItem','undoState','\x20-\x20','type','tag','filter','version','_commandService','constructor','toPrimitive','stage','useRef','switchMap','_heartbeatTimer','SOCKET_FAILED','@univerjs/drawing','_shapes','unsubscribe','_toggleOffline','currentTheme$','getUniverSheetInstance','transformStateCache','Active','_logService','391844abOGYV','getDocRanges','getOwnPropertyDescriptor','UniverCore','Module','Inject','_collaborationUIEventService','data','univer-border-none\x20univer-bg-transparent','session.collaboration-timeout','InsertRowCommandId','removeEventListener','storage','_releaseCalculationLimit','hide','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_collaborationController','runId','collabStatus.fetchMiss','startsWith','_themeService','_disabled','USERS_LEAVE','Shape','sessionTicket','UniverProCollaborationClient','some','IRenderManagerService','getMember','_labelPosition','SheetCollabCursorShape','_taskIds','_saveCache','editingUnit','_registerDependencies','takeUntil','_createSocketURL','_getSaveTimeout','_config','event$','_cursors','_name','assignAColorForMemberID','functionsExecutedState','merge','?taskId=','getRenderById','bottom','unhandledrejection','exports','UniverCollaborationClientUIPlugin','shift','pushState','RemoteUniscriptService','runOnServer','_transformService','FromArray','collab-text-range-','packageName','colorClass','_hovered','rgb','preventDefault','get','getCellMatrix','startRow','useObservable','_scheduleHeartbeat','transformMutationsWithChangeset','_initEntityListener','lineTo','SetFormulaCalculationStartMutation','INotificationService','values','entityInit$','error','UniverEngineFormula','createSocket','UnitStatus','0.2)','clipPath','amd','IRemoteInstanceService','CollaborationSessionService','univer-text-orange-500','attrs','DeleteRangeMoveLeftCommandId','OnLineIcon','http://www.w3.org/2000/svg','isTransformMutationsWithChangesetSuccess','_docClipboardService','m2Prime','_handleHover','/universer-api/frontend/logs','useMemo','_unitStatus','fromEvent','labelPosition','getVpScrollXYInfoByPosToVp','_transformHistoryAndStateStack','_highlightSecond','collabStatus.syncing','limitInfo','white','_univerInstanceService','#0B9EFB','BehaviorSubject','releaseFormulaLimitUrl','translate(.97)','_memberID','univer-text-blue-500','width','SessionStatus','function','_messageService','hovered','_range','updateOfflineData','sessionStatus$','getRangePointData','whenReady','registerRefRange','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','add','div','includes','COLORS','6ExVLxz','...','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','_docTransformSelectionsService','_setupBeforeClosingHandler','connectInjector','DocStateChangeManagerService','startFormulaLimitUrl','getSheetId','BrowserCollaborationSocketService','3320MPDiAF','_isBlinkVisible','collaboration.offline-data-not-saved','CLOSE_ROOM','_instanceService','setActiveRange','unitID','serializeRangeWithSheet','InsertRangeMoveDownCommandId','name','reconnect','transformSelections','Error','syncEditingCollabCursor','DesktopCollaborationStatusDisplayController','RefRangeService','Workbook','_registerRenderDependencies','getSkeleton','_onRefRangeChange','getConfig','formula.calculation.started','SOCKET_FAILED_RETRY','shareReplay','decorate','_cursorShapes','_showGuardMessage','_anchorDot','loadOfflineData','enableFrontendLog','_showText','getFocusedUnit','docStateChange$','_offsetY','operators','ISocketService','DocSkeletonManagerService','wsSessionTicketUrl','_init','href','getAncestorScale','[RemoteUniscriptService]:\x20no\x20focused\x20unit','loading-multi-icon','backgroundColor','transformByState','purple.300','isArray','5408520mIddGV','_imageIoService','highlight','IMessageService','getRelativeToViewportCoord','mapTo','_blinkTimer','LOCAL_CACHE_INTERVAL','_startBlinking','closePath','sheetId','ThemeService','onLocalMutation','CollaborationController','getFormulaLimitStatusUrl','findNodePositionByCharIndex','getViewport','_onCursorUpdate','addEventListener','row','body','SetDocZoomRatioOperation','getItem','_sheetSkeletonManagerService','_docSyncEditingCollabCursorService','getStateCache','_lastPointer','history','HTTPService','jiqing.500','endRow','getCoordByCell','DocIMEInputManagerService','UniverProCollaborationClientUi','ITransformService','imageSourceType','RegularPolygon','subunit','_initDependencies','dispose','message','@univerjs/sheets','_textBubble','color','Failed','setInterval','_collabCursorController','_scheduleClearOtherTimer','session.will-retry','_unitOnClients','univerjs-icon\x20univerjs-icon-','CollaborationDataLoaderController','univer-text-green-500','CollaborationSocketService','lineno','default','_uiPartsService','_hover','_currentUsage','_clearPolling','Enter','isFormulaId','[Unhandled\x20Rejection]:\x20','_saveTaskMap','endColumn','_getSessionTicket','_scheduleSaving','OTHER_CLIENT_EDITING','roomMembers','DependentOn','highlightSecond','height','setParam','offsetY','SetWorksheetActivateCommand',',\x200.2)','push','distinctUntilChanged','combineLatest','_memberService','collabStatus.synced','set','currentColor','deepClone','0\x200\x2016\x2016','SUBMIT_CHANGESET_TIMEOUT','_handleJoinEvent','Tools','registerComponent','@univerjs/ui','_transformUndoRedoStack','filename','collab-client.tooltip.reconnect','_roomMembers$','CONFLICT','entries','univer-flex\x20univer-items-center\x20univer-justify-center','univer-text-red-500','NOT_COLLAB','totalFormulasToCalculate','UniverDocsUi','CollaborationEvent','PENDING','_docSkeletonManagerService','colorChannel1','spin','beginPath','exhaustSavingTask','save','all','asObservable','beforeCommandExecuted','_cursor','RemoveColCommandId','setAlpha','cursorInfo$','_clearOtherTimers','React','_id','_cachedData','6540940siLseu','FETCH_MISS','true','ILocalStorageService','_draw','yellow.400','_startSheetCollabCursor','10984784lqCUHX','EffectRefRangId','session.connection-failed','currentUsage','throttleTime','generateRandomId','parse','getUnhiddenWorksheets','getOffsetConfig','override','executionId','UniverDocs','_session','current','text','Unknown\x20user','217413WoMGzS','strokeWidth','_checkAndWaitForCalculationPermission','_docStateChangeManagerService','getColorFromTheme','_ensureSubject','RECT','svg','SetTextSelectionsOperation','@univerjs/core','getValue','AWAITING','IURLService','Loading','symbol','reason','toString','Warning','saveTaskMap','getUnit','params','_updateURLWithCurrentState','[CollaborationDataLoaderController]','redoState','onRendered','_entities','@univerjs/sheets-ui','M0\x200H16V16H0z','saveImage','_cursorInfo$','defineProperty','collabStatus.notCollab','_collabSessionService','fillRule','rgba(','urlChange$','stageInfo','clsx','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_applyCommand','setOffsetY','HEARTBEAT','UniverInstanceType','object','_send','univer-inline-flex\x20univer-items-center\x20univer-justify-center','Tooltip','_httpService','SHEET_VIEWPORT_KEY','IConfigService','BuiltInUIPart','slice','DocSelectionManagerService','indicator','children','ICommandService','_collaborationSessionService','getUnitId','getCollabEntity$','complete','deserializeRangeWithSheet','doc.mutation.rich-text-editing','rxjs','Rect','TEXT','range','ACTIVE_UNIT_EVENT_CHANNEL','collab-rect-range-','LocaleService','unshift','_refRangeService','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','unit','status','onPointerLeave$','SUCCESS','url(#$1','_lastResponseTimestamp','disposeWithMe','_getFormulaLimitStatus','handleIRemoveCol','clickable','delete','Vector2','univer-text-xl\x20univer-transition-colors\x20univer-duration-200','_transformPreviousActiveRange','CollaborationUIEventId','_drawTextRange','getTypeOfUnitAdded$','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','JOIN','search','TEXT_RANGE_LAYER_INDEX','Optional','JOIN_ROOM_FAILED','UniverRpc','_initWindowErrorListener','arc','span','@univerjs/docs-ui','measureText','parseInt','_initStatusListener','next','getSheetBySheetId','@univerjs-pro/collaboration-client-ui','pipe','[LogService\x20Error]:\x20','_status$','_backgroundColor','_urlService','fillText','collab-text-anchor-','#FFF','debounceTime','isEditing','CollaborationStatus','transformIMECache','useDependency','_selfUnitIDs','fill','clearInterval','touchDependencies','cursorInfo','mergeOverrideWithDependencies','UniverDrawing','mutations','SheetSkeletonManagerService','assign','handleDeleteRangeMoveLeft','triggerDblclick','IUIPartsService','now','UNIVER_DOC','UPDATE_CURSOR','handleMoveRange','column','DocCollaborationEntity','NO_OTHER_CLIENTS_EDITING','dirtyRanges','_initStatusComponent','displayName','WebBrowserSingleActiveUnitService','univer-m-0\x20univer-p-0','none','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','MemberService','polite','_localeService','transformRemoteChangeset','_docTransformStateCacheService','START_CALCULATION','formula.calculation.waiting','RevisionService','_updateCollabCursors','_getScale','_scene','ILogService','_initUserListener','_injector','InsertColCommandId','getUndoRedoMutationParamsCache','application/json','clearTimeout','getMemberID','1729211fueeNA','idSuffix','_uploadLog','_hasFormulaInDirtyRanges','handleDeleteRangeMoveUp','send','DOC_RANGE_TYPE','subscribeEvent','onPointerMove$','_getMergeRange','ISnapshotServerService','origin','_render','_eventUnsubscribe','handleInsertRow','_colorAssignService','stack','_drawRectRange','formula.calculation.unable','univer-appearance-none','then','use','useCallback','WebURLService','pluginName','onMouseMove','LoadingMultiIcon','fillStyle','_hideTimer','IUniverInstanceService','subscribe','with','_checkCalculationAvailable','newValue','static','catch','tooltipKey','_dataLoaderService','actions','registerDependencies','_handleHeartbeatEvent','executeCommand','@univerjs/rpc','_docTransformIMECacheService','rgba','@univerjs/docs','button'];_0x1170=function(){return _0x378a22;};return _0x1170();}function _0x3eb0(_0x35607c,_0x23c8bd){_0x35607c=_0x35607c-0xe1;const _0x117080=_0x1170();let _0x3eb0f0=_0x117080[_0x35607c];return _0x3eb0f0;}(function(_0x296b3b,_0x260d6e){const _0x2a6984=_0x3eb0,_0x4aced1=_0x296b3b();while(!![]){try{const _0x50422f=-parseInt(_0x2a6984(0x2c1))/0x1+-parseInt(_0x2a6984(0x3bd))/0x2*(parseInt(_0x2a6984(0x359))/0x3)+-parseInt(_0x2a6984(0x18d))/0x4+parseInt(_0x2a6984(0x15e))/0x5*(-parseInt(_0x2a6984(0x154))/0x6)+parseInt(_0x2a6984(0x205))/0x7+parseInt(_0x2a6984(0x20c))/0x8+parseInt(_0x2a6984(0x21c))/0x9*(parseInt(_0x2a6984(0x399))/0xa);if(_0x50422f===_0x260d6e)break;else _0x4aced1['push'](_0x4aced1['shift']());}catch(_0x435e9c){_0x4aced1['push'](_0x4aced1['shift']());}}}(_0x1170,0xdf1ad),function(_0x6306fa,_0x4882cc){const _0x58ff26=_0x3eb0;typeof exports=='object'&&typeof module<'u'?_0x4882cc(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core`),require(`@univerjs/ui`),require(`rxjs`),require(`@univerjs/design`),require(`react`),require(`react/jsx-runtime`),require(`@univerjs/rpc`),require(`@univerjs/sheets`),require(`@univerjs/engine-render`),require(`@univerjs/network`),require(`@univerjs/docs-ui`),require(`@univerjs/drawing`),require(`@univerjs-pro/collaboration`),require(`@univerjs/docs`),require(`@univerjs/engine-formula`),require(`rxjs/operators`),require(`@univerjs/sheets-ui`),require(`@univerjs/protocol`)):typeof define=='function'&&define[_0x58ff26(0x126)]?define([_0x58ff26(0x106),_0x58ff26(0x39a),_0x58ff26(0x225),_0x58ff26(0x1e6),_0x58ff26(0x25a),'@univerjs/design','react','react/jsx-runtime',_0x58ff26(0x2eb),_0x58ff26(0x1b6),'@univerjs/engine-render','@univerjs/network',_0x58ff26(0x27f),_0x58ff26(0x3b4),'@univerjs-pro/collaboration',_0x58ff26(0x2ee),'@univerjs/engine-formula','rxjs/operators',_0x58ff26(0x236),_0x58ff26(0x38c)],_0x4882cc):(_0x6306fa=typeof globalThis<'u'?globalThis:_0x6306fa||self,_0x4882cc(_0x6306fa[_0x58ff26(0x1ae)]={},_0x6306fa[_0x58ff26(0xee)],_0x6306fa[_0x58ff26(0x3c0)],_0x6306fa['UniverUi'],_0x6306fa['rxjs'],_0x6306fa['UniverDesign'],_0x6306fa[_0x58ff26(0x202)],_0x6306fa['React'],_0x6306fa[_0x58ff26(0x27b)],_0x6306fa[_0x58ff26(0x2f5)],_0x6306fa['UniverEngineRender'],_0x6306fa[_0x58ff26(0x315)],_0x6306fa[_0x58ff26(0x1f1)],_0x6306fa[_0x58ff26(0x299)],_0x6306fa[_0x58ff26(0x375)],_0x6306fa[_0x58ff26(0x217)],_0x6306fa[_0x58ff26(0x121)],_0x6306fa[_0x58ff26(0x25a)][_0x58ff26(0x180)],_0x6306fa[_0x58ff26(0x304)],_0x6306fa[_0x58ff26(0x316)]));}(this,function(_0x59af53,_0x5ba2ed,_0x3789e1,_0x28956d,_0x4a289e,_0x239455,_0x148fc0,_0x4f8cd5,_0x47f4ed,_0x5081db,_0x4b5cb2,_0x2ccad2,_0x4d692e,_0x5be687,_0x136fe4,_0x43a715,_0x12c154,_0x21659b,_0x35b411,_0x53e205){const _0x486c12=_0x3eb0;Object[_0x486c12(0x23a)](_0x59af53,Symbol['toStringTag'],{'value':_0x486c12(0x3c1)});function _0x412b8c({ref:_0x154f47,..._0x25e30b}){const _0xa16a68=_0x486c12;let {icon:_0x19d2e2,id:_0x5beaa6,className:_0x146bf8,extend:_0x1372c7,..._0xcd47e}=_0x25e30b,_0x5e1dab=(_0xa16a68(0x1bf)+_0x5beaa6+'\x20'+(_0x146bf8||''))['trim'](),_0x557b89=(0x0,_0x148fc0[_0xa16a68(0x3b0)])('_'+_0x4f713d());return _0x1d17e3(_0x19d2e2,''+_0x5beaa6,{'defIds':_0x19d2e2['defIds'],'idSuffix':_0x557b89[_0xa16a68(0x219)]},{'ref':_0x154f47,'className':_0x5e1dab,..._0xcd47e},_0x1372c7);}function _0x1d17e3(_0x48101e,_0x4fd882,_0x2d5cf1,_0x2b51e0,_0x79df68){const _0x4dfba9=_0x486c12;return(0x0,_0x148fc0[_0x4dfba9(0x337)])(_0x48101e[_0x4dfba9(0x3a9)],{'key':_0x4fd882,..._0x5dc3d1(_0x48101e,_0x2d5cf1,_0x79df68),..._0x2b51e0},(_0x1a2ec5(_0x48101e,_0x2d5cf1)[_0x4dfba9(0x252)]||[])[_0x4dfba9(0x397)]((_0x2c0f73,_0x20abe1)=>_0x1d17e3(_0x2c0f73,_0x4fd882+'-'+_0x48101e[_0x4dfba9(0x3a9)]+'-'+_0x20abe1,_0x2d5cf1,void 0x0,_0x79df68)));}function _0x5dc3d1(_0x53bb14,_0x42d6a3,_0x2ce14d){const _0x2d683a=_0x486c12;let _0x146a44={..._0x53bb14[_0x2d683a(0x12a)]};_0x2ce14d!=null&&_0x2ce14d[_0x2d683a(0x1f5)]&&_0x146a44['fill']===_0x2d683a(0x1f5)&&(_0x146a44[_0x2d683a(0x294)]=_0x2ce14d[_0x2d683a(0x1f5)]),_0x53bb14['tag']===_0x2d683a(0x312)&&_0x146a44['id']&&(_0x146a44['id']+=_0x42d6a3[_0x2d683a(0x2c2)]),Object[_0x2d683a(0x1ec)](_0x146a44)[_0x2d683a(0x377)](([_0xe7a392,_0x2ca131])=>{const _0x26c455=_0x2d683a;_0xe7a392==='mask'&&typeof _0x2ca131==_0x26c455(0x398)&&(_0x146a44[_0xe7a392]=_0x2ca131['replace'](/url\(#(.*)\)/,_0x26c455(0x268)+_0x42d6a3[_0x26c455(0x2c2)]+')'));});let {defIds:_0x1917b4}=_0x42d6a3;return!_0x1917b4||_0x1917b4[_0x2d683a(0x391)]===0x0?_0x146a44:(_0x53bb14[_0x2d683a(0x3a9)]===_0x2d683a(0x2d6)&&_0x146a44['xlink:href']&&(_0x146a44[_0x2d683a(0x3a3)]+=_0x42d6a3['idSuffix']),Object[_0x2d683a(0x1ec)](_0x146a44)[_0x2d683a(0x377)](([_0x54f5ab,_0x538ae7])=>{const _0x5301cc=_0x2d683a;typeof _0x538ae7==_0x5301cc(0x398)&&(_0x146a44[_0x54f5ab]=_0x538ae7[_0x5301cc(0x350)](/url\(#(.*)\)/,_0x5301cc(0x268)+_0x42d6a3['idSuffix']+')'));}),_0x146a44);}function _0x1a2ec5(_0x54de95,_0x58162d){const _0x845b84=_0x486c12;var _0x469d35;let {defIds:_0xf4bd05}=_0x58162d;return!_0xf4bd05||_0xf4bd05[_0x845b84(0x391)]===0x0?_0x54de95:_0x54de95[_0x845b84(0x3a9)]===_0x845b84(0x361)&&(_0x469d35=_0x54de95[_0x845b84(0x252)])!=null&&_0x469d35[_0x845b84(0x391)]?{..._0x54de95,'children':_0x54de95['children'][_0x845b84(0x397)](_0x2dd4ec=>typeof _0x2dd4ec[_0x845b84(0x12a)]['id']==_0x845b84(0x398)&&_0xf4bd05&&_0xf4bd05['includes'](_0x2dd4ec[_0x845b84(0x12a)]['id'])?{..._0x2dd4ec,'attrs':{..._0x2dd4ec[_0x845b84(0x12a)],'id':_0x2dd4ec[_0x845b84(0x12a)]['id']+_0x58162d[_0x845b84(0x2c2)]}}:_0x2dd4ec)}:_0x54de95;}function _0x4f713d(){const _0x31c3e4=_0x486c12;return Math[_0x31c3e4(0x36b)]()[_0x31c3e4(0x22c)](0x24)[_0x31c3e4(0x36d)](0x2,0x8);}_0x412b8c[_0x486c12(0x2a9)]='UniverIcon';let _0x2b3a9b={'tag':'svg','attrs':{'xmlns':_0x486c12(0x12d),'fill':_0x486c12(0x2ac),'viewBox':'0\x200\x2016\x2016','width':_0x486c12(0x302),'height':_0x486c12(0x302)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x486c12(0x32e),'attrs':{'stroke':_0x486c12(0x1df),'d':_0x486c12(0x2ad),'strokeLinecap':_0x486c12(0x39c),'strokeLinejoin':_0x486c12(0x39c),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x486c12(0x30e)},'children':[{'tag':_0x486c12(0x32e),'attrs':{'fill':_0x486c12(0x13c),'d':_0x486c12(0x237)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x5bf108=(0x0,_0x148fc0[_0x486c12(0x345)])(function(_0x5ec82c,_0x5760eb){const _0x41540e=_0x486c12;return(0x0,_0x148fc0['createElement'])(_0x412b8c,Object[_0x41540e(0x29c)]({},_0x5ec82c,{'id':'off-line-icon','ref':_0x5760eb,'icon':_0x2b3a9b}));});_0x5bf108[_0x486c12(0x2a9)]='OffLineIcon';let _0x682c12={'tag':_0x486c12(0x223),'attrs':{'xmlns':_0x486c12(0x12d),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x486c12(0x302),'height':_0x486c12(0x302)},'children':[{'tag':'g','attrs':{'clipPath':_0x486c12(0x39b)},'children':[{'tag':_0x486c12(0x32e),'attrs':{'stroke':_0x486c12(0x1df),'d':_0x486c12(0x300),'strokeLinecap':_0x486c12(0x39c),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x486c12(0x361),'attrs':{},'children':[{'tag':_0x486c12(0x125),'attrs':{'id':_0x486c12(0x326)},'children':[{'tag':_0x486c12(0x32e),'attrs':{'fill':_0x486c12(0x13c),'d':_0x486c12(0x237),'transform':_0x486c12(0x141)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x19e81b=(0x0,_0x148fc0['forwardRef'])(function(_0x2ff1fe,_0x2fc17d){const _0x181945=_0x486c12;return(0x0,_0x148fc0[_0x181945(0x337)])(_0x412b8c,Object[_0x181945(0x29c)]({},_0x2ff1fe,{'id':_0x181945(0x349),'ref':_0x2fc17d,'icon':_0x682c12}));});_0x19e81b[_0x486c12(0x2a9)]=_0x486c12(0x12c);let _0x24b25b={'tag':_0x486c12(0x223),'attrs':{'xmlns':_0x486c12(0x12d),'fill':'none','viewBox':_0x486c12(0x1e1),'width':'1em','height':_0x486c12(0x302)},'children':[{'tag':'path','attrs':{'fill':_0x486c12(0x13e),'d':_0x486c12(0x156),'fillOpacity':0.2,'fillRule':_0x486c12(0x31d),'clipRule':_0x486c12(0x31d)}},{'tag':_0x486c12(0x32e),'attrs':{'fill':_0x486c12(0x13e),'d':'M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','fillRule':_0x486c12(0x31d),'clipRule':'evenodd'}}]},_0x423b97=(0x0,_0x148fc0[_0x486c12(0x345)])(function(_0x49fb54,_0x4dce00){const _0xa107f6=_0x486c12;return(0x0,_0x148fc0['createElement'])(_0x412b8c,Object['assign']({},_0x49fb54,{'id':_0xa107f6(0x188),'ref':_0x4dce00,'icon':_0x24b25b}));});_0x423b97[_0x486c12(0x2a9)]=_0x486c12(0x2db);function _0x83fed(_0x3c8afd){const _0x48f29f=_0x486c12;switch(_0x3c8afd){case _0x5ba2ed[_0x48f29f(0x290)]['OFFLINE']:return{'icon':(0x0,_0x4f8cd5[_0x48f29f(0x30f)])(_0x5bf108,{}),'colorClass':_0x48f29f(0x1ee),'i18nKey':_0x48f29f(0x38b),'tooltipKey':_0x48f29f(0x1e9),'clickable':!0x0,'indicator':_0x48f29f(0x2e3)};case _0x5ba2ed[_0x48f29f(0x290)][_0x48f29f(0x1eb)]:return{'icon':(0x0,_0x4f8cd5[_0x48f29f(0x30f)])(_0x5bf108,{}),'colorClass':_0x48f29f(0x129),'i18nKey':'collabStatus.conflict','clickable':!0x1,'indicator':_0x48f29f(0x2e3)};case _0x5ba2ed['CollaborationStatus'][_0x48f29f(0x206)]:return{'icon':(0x0,_0x4f8cd5['jsx'])(_0x423b97,{}),'colorClass':'univer-text-blue-500','i18nKey':_0x48f29f(0xe7),'clickable':!0x1,'indicator':_0x48f29f(0x1f6)};case _0x5ba2ed['CollaborationStatus'][_0x48f29f(0x1ef)]:return{'icon':(0x0,_0x4f8cd5[_0x48f29f(0x30f)])(_0x19e81b,{}),'colorClass':'univer-text-gray-400','i18nKey':_0x48f29f(0x23b),'clickable':!0x1,'indicator':'static'};case _0x5ba2ed['CollaborationStatus'][_0x48f29f(0x227)]:case _0x5ba2ed[_0x48f29f(0x290)][_0x48f29f(0x376)]:return{'icon':(0x0,_0x4f8cd5['jsx'])(_0x423b97,{}),'colorClass':_0x48f29f(0x143),'i18nKey':_0x48f29f(0x13a),'clickable':!0x1,'indicator':_0x48f29f(0x1f6)};case _0x5ba2ed[_0x48f29f(0x290)][_0x48f29f(0x320)]:case _0x5ba2ed[_0x48f29f(0x290)][_0x48f29f(0x1f3)]:return{'icon':(0x0,_0x4f8cd5[_0x48f29f(0x30f)])(_0x19e81b,{}),'colorClass':_0x48f29f(0x1c1),'i18nKey':_0x48f29f(0x1dd),'clickable':!0x1,'indicator':'static'};}}function _0x4b4d17(_0x3874b3){const _0x4bc170=_0x486c12;let {status$:_0x2e19d7}=_0x3874b3,_0xd06cd1=(0x0,_0x28956d[_0x4bc170(0x117)])(_0x2e19d7,_0x5ba2ed['CollaborationStatus'][_0x4bc170(0x1ef)]),_0x29b6df=(0x0,_0x28956d[_0x4bc170(0x292)])(_0x3789e1[_0x4bc170(0x260)]),_0x451b6b=(0x0,_0x28956d[_0x4bc170(0x292)])(_0x5ba2ed[_0x4bc170(0x128)]),_0x2057b4=(0x0,_0x148fc0[_0x4bc170(0x133)])(()=>_0x83fed(_0xd06cd1),[_0xd06cd1]),_0x1db9ad=_0xd06cd1!==_0x5ba2ed['CollaborationStatus']['OFFLINE'],_0x315680=_0x29b6df['t'](_0x2057b4[_0x4bc170(0x382)]),_0x41b92c=_0x2057b4['tooltipKey']?_0x29b6df['t'](_0x2057b4[_0x4bc170(0x2e5)]):_0x315680,_0xab70f6=(0x0,_0x148fc0[_0x4bc170(0x2d7)])(()=>{const _0x204bbc=_0x4bc170;_0x1db9ad||_0x451b6b[_0x204bbc(0x168)]();},[_0x1db9ad,_0x451b6b]),_0x5725f6=(0x0,_0x148fc0['useCallback'])(_0x5ce383=>{const _0x933650=_0x4bc170;!_0x1db9ad&&(_0x5ce383['key']===_0x933650(0x1c9)||_0x5ce383[_0x933650(0x2fc)]==='\x20')&&(_0x5ce383[_0x933650(0x113)](),_0x451b6b[_0x933650(0x168)]());},[_0x1db9ad,_0x451b6b]),_0x50a6cf=(0x0,_0x4f8cd5['jsx'])(_0x4bc170(0x27e),{'className':(0x0,_0x239455[_0x4bc170(0x241)])('univer-flex\x20univer-items-center\x20univer-justify-center',_0x4bc170(0x270),_0x2057b4[_0x4bc170(0x110)],{'univer-animate-spin':_0x2057b4[_0x4bc170(0x251)]===_0x4bc170(0x1f6),'univer-animate-pulse':_0x2057b4[_0x4bc170(0x251)]==='pulse'}),'aria-hidden':_0x4bc170(0x207),'children':_0x2057b4['icon']}),_0x2fe446=(0x0,_0x4f8cd5['jsx'])(_0x4bc170(0x27e),{'className':(0x0,_0x239455[_0x4bc170(0x241)])(_0x4bc170(0x1ed),_0x4bc170(0x352),'univer-transition-all\x20univer-duration-200',_0x4bc170(0x263),'dark:focus:univer-ring-offset-gray-800',{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:univer-bg-gray-700':_0x2057b4[_0x4bc170(0x26d)],'univer-cursor-default':!_0x2057b4[_0x4bc170(0x26d)]}),'children':_0x50a6cf});return _0x2057b4[_0x4bc170(0x26d)]?(0x0,_0x4f8cd5[_0x4bc170(0x30f)])(_0x239455[_0x4bc170(0x24a)],{'title':_0x41b92c,'placement':_0x4bc170(0x104),'children':(0x0,_0x4f8cd5[_0x4bc170(0x30f)])(_0x4bc170(0x2ef),{'type':_0x4bc170(0x2ef),'onClick':_0xab70f6,'onKeyDown':_0x5725f6,'className':(0x0,_0x239455[_0x4bc170(0x241)])('univer-inline-flex\x20univer-items-center\x20univer-justify-center',_0x4bc170(0x3c5),_0x4bc170(0x2ab),_0x4bc170(0x2d4)),'aria-label':_0x315680+_0x4bc170(0x3a7)+_0x41b92c,'role':_0x4bc170(0x265),'aria-live':_0x4bc170(0x2af),'aria-atomic':_0x4bc170(0x207),'children':_0x2fe446})}):(0x0,_0x4f8cd5[_0x4bc170(0x30f)])(_0x239455['Tooltip'],{'title':_0x41b92c,'placement':_0x4bc170(0x104),'children':(0x0,_0x4f8cd5['jsx'])(_0x4bc170(0x151),{'className':(0x0,_0x239455['clsx'])(_0x4bc170(0x249),_0x4bc170(0x3c5),_0x4bc170(0x2ab)),'aria-label':_0x315680,'role':_0x4bc170(0x265),'aria-live':'polite','aria-atomic':_0x4bc170(0x207),'children':_0x2fe446})});}function _0x34d6b5(_0x272f63){'@babel/helpers - typeof';const _0x5a4d0b=_0x486c12;return _0x34d6b5=typeof Symbol==_0x5a4d0b(0x146)&&typeof Symbol[_0x5a4d0b(0x346)]==_0x5a4d0b(0x22a)?function(_0x2a9e15){return typeof _0x2a9e15;}:function(_0x1a5c22){const _0x704a1c=_0x5a4d0b;return _0x1a5c22&&typeof Symbol==_0x704a1c(0x146)&&_0x1a5c22[_0x704a1c(0x3ad)]===Symbol&&_0x1a5c22!==Symbol[_0x704a1c(0x31e)]?_0x704a1c(0x22a):typeof _0x1a5c22;},_0x34d6b5(_0x272f63);}function _0x408cfb(_0xc296c3,_0x4ad84f){const _0x2e0150=_0x486c12;if(_0x34d6b5(_0xc296c3)!='object'||!_0xc296c3)return _0xc296c3;var _0x50fb4b=_0xc296c3[Symbol[_0x2e0150(0x3ae)]];if(_0x50fb4b!==void 0x0){var _0x3f4347=_0x50fb4b[_0x2e0150(0x37b)](_0xc296c3,_0x4ad84f||_0x2e0150(0x1c4));if(_0x34d6b5(_0x3f4347)!='object')return _0x3f4347;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x4ad84f===_0x2e0150(0x398)?String:Number)(_0xc296c3);}function _0x21d468(_0xccac71){const _0x4e6f8d=_0x486c12;var _0x43a763=_0x408cfb(_0xccac71,_0x4e6f8d(0x398));return _0x34d6b5(_0x43a763)=='symbol'?_0x43a763:_0x43a763+'';}function _0x28a1e3(_0x47a4f7,_0x3c1a41,_0x56bb84){const _0x344b5e=_0x486c12;return(_0x3c1a41=_0x21d468(_0x3c1a41))in _0x47a4f7?Object[_0x344b5e(0x23a)](_0x47a4f7,_0x3c1a41,{'value':_0x56bb84,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x47a4f7[_0x3c1a41]=_0x56bb84,_0x47a4f7;}function _0x5dbd47(_0x34596a,_0x1f6e8d){return function(_0x559663,_0x42ad4d){_0x1f6e8d(_0x559663,_0x42ad4d,_0x34596a);};}function _0x2eed91(_0x4c7584,_0x33ebea,_0x358666,_0x3807b2){const _0x11a992=_0x486c12;var _0x4c9261=arguments[_0x11a992(0x391)],_0x24db04=_0x4c9261<0x3?_0x33ebea:_0x3807b2===null?_0x3807b2=Object[_0x11a992(0x3bf)](_0x33ebea,_0x358666):_0x3807b2,_0x5aecbc;if(typeof Reflect==_0x11a992(0x247)&&typeof Reflect[_0x11a992(0x176)]=='function')_0x24db04=Reflect[_0x11a992(0x176)](_0x4c7584,_0x33ebea,_0x358666,_0x3807b2);else{for(var _0x4dd6ae=_0x4c7584['length']-0x1;_0x4dd6ae>=0x0;_0x4dd6ae--)(_0x5aecbc=_0x4c7584[_0x4dd6ae])&&(_0x24db04=(_0x4c9261<0x3?_0x5aecbc(_0x24db04):_0x4c9261>0x3?_0x5aecbc(_0x33ebea,_0x358666,_0x24db04):_0x5aecbc(_0x33ebea,_0x358666))||_0x24db04);}return _0x4c9261>0x3&&_0x24db04&&Object[_0x11a992(0x23a)](_0x33ebea,_0x358666,_0x24db04),_0x24db04;}let _0x2f2efb=class extends _0x3789e1[_0x486c12(0x33a)]{constructor(_0x357c19,_0x2f27fb,_0x4e1788,_0x48c92e){const _0x2ec5fc=_0x486c12;super(),this[_0x2ec5fc(0x13d)]=_0x357c19,this[_0x2ec5fc(0x2bb)]=_0x2f27fb,this[_0x2ec5fc(0xe5)]=_0x4e1788,this['_uiPartsService']=_0x48c92e,_0x28a1e3(this,_0x2ec5fc(0x288),new _0x4a289e[(_0x2ec5fc(0x13f))](_0x5ba2ed['CollaborationStatus'][_0x2ec5fc(0x1ef)])),this['_initStatusComponent'](),this['_initStatusListener']();}[_0x486c12(0x282)](){const _0xbd4315=_0x486c12;this[_0xbd4315(0x26a)](this[_0xbd4315(0x13d)][_0xbd4315(0x362)]['pipe']((0x0,_0x4a289e[_0xbd4315(0x3b1)])(()=>{const _0x462cef=_0xbd4315;let _0x4a6d3e=this['_univerInstanceService'][_0x462cef(0x17d)]();return _0x4a6d3e?this[_0x462cef(0xe5)][_0x462cef(0x256)](_0x4a6d3e[_0x462cef(0x255)]()):(0x0,_0x4a289e['of'])(null);}),(0x0,_0x4a289e[_0xbd4315(0x3b1)])(_0x39ed51=>_0x39ed51?_0x39ed51[_0xbd4315(0x319)]:(0x0,_0x4a289e['of'])(_0x5ba2ed['CollaborationStatus'][_0xbd4315(0x1ef)])))[_0xbd4315(0x2df)](_0x47115a=>{this['_status$']['next'](_0x47115a);}));}[_0x486c12(0x2a8)](){const _0x5456e3=_0x486c12;this['disposeWithMe'](this[_0x5456e3(0x1c5)][_0x5456e3(0x1e5)](_0x28956d[_0x5456e3(0x24e)]['HEADER_MENU'],()=>(0x0,_0x28956d[_0x5456e3(0x159)])(_0xe0157a({'status$':this['_status$']['asObservable']()}),this[_0x5456e3(0x2bb)])));}};_0x2f2efb=_0x2eed91([_0x5dbd47(0x0,_0x3789e1[_0x486c12(0x2de)]),_0x5dbd47(0x1,(0x0,_0x3789e1['Inject'])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x5ba2ed['CollaborationController'])),_0x5dbd47(0x3,_0x28956d[_0x486c12(0x29f)])],_0x2f2efb);function _0xe0157a(_0x42b58a){let {status$:_0x43724c}=_0x42b58a;return function(){const _0x18ce6b=_0x3eb0;return(0x0,_0x4f8cd5[_0x18ce6b(0x30f)])(_0x4b4d17,{'status$':_0x43724c});};}let _0x1b48a9=(0x0,_0x3789e1['createIdentifier'])('uni.network.url-service'),_0xe6e34a=class extends _0x3789e1[_0x486c12(0x2f3)]{constructor(_0x20f4ed,_0xdd982c,_0x32038e,_0x418b08,_0x3e178a){const _0x40a6b9=_0x486c12;super(),this[_0x40a6b9(0x28a)]=_0x20f4ed,this[_0x40a6b9(0x3bc)]=_0xdd982c,this['_commandService']=_0x32038e,this[_0x40a6b9(0x2e6)]=_0x418b08,_0x3e178a?_0x3e178a==null||_0x3e178a[_0x40a6b9(0x14d)]()[_0x40a6b9(0x2d5)](()=>this[_0x40a6b9(0x184)]()):(this[_0x40a6b9(0x3bc)][_0x40a6b9(0x351)](_0x40a6b9(0x232),_0x40a6b9(0x14f)),this[_0x40a6b9(0x184)]());}async[_0x486c12(0x184)](){const _0x3c4c7e=_0x486c12;let _0x22c0be=this[_0x3c4c7e(0x28a)]['getParam']('unit'),_0x232282=this[_0x3c4c7e(0x28a)][_0x3c4c7e(0x35f)](_0x3c4c7e(0x3a8)),_0x47beb9=this[_0x3c4c7e(0x28a)][_0x3c4c7e(0x35f)](_0x3c4c7e(0x1b2));if(!_0x22c0be||!_0x232282){this[_0x3c4c7e(0x3bc)][_0x3c4c7e(0x351)](_0x3c4c7e(0x232),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}let _0x40c4d4=await this[_0x3c4c7e(0x2e6)][_0x3c4c7e(0x38f)](_0x22c0be,Number(_0x232282),_0x47beb9);_0x40c4d4&&_0x40c4d4 instanceof _0x3789e1[_0x3c4c7e(0x16e)]&&this['_setupSubUnitSync'](_0x40c4d4);}async['_setupSubUnitSync'](_0x322c77){const _0x5a594e=_0x486c12;await this[_0x5a594e(0x329)](_0x322c77),_0x322c77['activeSheet$'][_0x5a594e(0x286)]((0x0,_0x4a289e[_0x5a594e(0xf8)])(this[_0x5a594e(0x389)]))[_0x5a594e(0x2df)](_0x12b1a3=>{_0x12b1a3&&this['_updateURLWithCurrentState'](_0x12b1a3);}),this[_0x5a594e(0x28a)][_0x5a594e(0x23f)]['pipe']((0x0,_0x4a289e[_0x5a594e(0xf8)])(this[_0x5a594e(0x389)]))[_0x5a594e(0x2df)](()=>this[_0x5a594e(0x329)](_0x322c77));}[_0x486c12(0x231)](_0x3cdc47,_0x49e237=!0x1){const _0x10a993=_0x486c12;let _0x3df033=this[_0x10a993(0x28a)][_0x10a993(0x35f)](_0x10a993(0x1b2));_0x3cdc47[_0x10a993(0x15c)]()!==_0x3df033&&this[_0x10a993(0x28a)][_0x10a993(0x1d5)](_0x10a993(0x1b2),_0x3cdc47[_0x10a993(0x15c)](),_0x49e237);}async[_0x486c12(0x329)](_0x41c689){const _0x39567c=_0x486c12;var _0x3bce0e;let _0x25a182=this[_0x39567c(0x28a)][_0x39567c(0x35f)]('subunit');if(!_0x25a182||!_0x41c689[_0x39567c(0x284)](_0x25a182)){let _0x5dfa08=_0x41c689[_0x39567c(0x213)]()[0x0],_0x28212a=_0x41c689[_0x39567c(0x284)](_0x5dfa08);if(!_0x28212a)return;this[_0x39567c(0x231)](_0x28212a,!0x0),await this[_0x39567c(0x3ac)][_0x39567c(0x2ea)](_0x5081db[_0x39567c(0x1d7)]['id'],{'unitId':_0x41c689[_0x39567c(0x255)](),'subUnitId':_0x5dfa08});return;}((_0x3bce0e=_0x41c689['getActiveSheet']())==null?void 0x0:_0x3bce0e[_0x39567c(0x15c)]())!==_0x25a182&&await this[_0x39567c(0x3ac)]['executeCommand'](_0x5081db[_0x39567c(0x1d7)]['id'],{'unitId':_0x41c689['getUnitId'](),'subUnitId':_0x25a182});}};_0xe6e34a=_0x2eed91([_0x5dbd47(0x0,_0x1b48a9),_0x5dbd47(0x1,_0x3789e1[_0x486c12(0x2b9)]),_0x5dbd47(0x2,_0x3789e1[_0x486c12(0x253)]),_0x5dbd47(0x3,(0x0,_0x3789e1['Inject'])(_0x5ba2ed[_0x486c12(0x35d)])),_0x5dbd47(0x4,(0x0,_0x3789e1[_0x486c12(0x279)])(_0x47f4ed[_0x486c12(0x127)]))],_0xe6e34a);var _0x606168=_0x486c12(0x285),_0x34f54e=_0x486c12(0x33f);let _0x560036=class extends _0x3789e1['RxDisposable']{constructor(_0x1d10c6,_0x208f3f){const _0x5bd632=_0x486c12;super(),this['_docClipboardService']=_0x1d10c6,this[_0x5bd632(0x18e)]=_0x208f3f,this[_0x5bd632(0x184)]();}['_init'](){const _0x5d4c82=_0x486c12;let _0x26defa=this;this['disposeWithMe'](this[_0x5d4c82(0x12f)]['addClipboardHook']({'onBeforePasteImage':async _0x44a74f=>{const _0x4df972=_0x5d4c82;let _0x1b5cab=await _0x26defa['_imageIoService'][_0x4df972(0x238)](_0x44a74f);return _0x1b5cab?{'source':_0x1b5cab['source'],'imageSourceType':_0x1b5cab[_0x4df972(0x1b0)]}:null;}}));}};_0x560036=_0x2eed91([_0x5dbd47(0x0,_0x4d692e['IDocClipboardService']),_0x5dbd47(0x1,_0x5be687['IImageIoService'])],_0x560036);let _0x4cbed8=[_0x486c12(0x18b),_0x486c12(0x1aa),_0x486c12(0x396),_0x486c12(0x383),'blue.400',_0x486c12(0x20a)];var _0x3e01b5=class extends _0x3789e1[_0x486c12(0x33a)]{constructor(..._0xa81c6f){const _0xa93aa4=_0x486c12;super(..._0xa81c6f),_0x28a1e3(this,'_assignedColors',new Map()),_0x28a1e3(this,_0xa93aa4(0x333),0x0);}[_0x486c12(0xff)](_0xb79f37){const _0x3b2466=_0x486c12;if(this[_0x3b2466(0x325)]['has'](_0xb79f37))return this[_0x3b2466(0x325)]['get'](_0xb79f37);let _0x16fc3a=_0x4cbed8[this['_colorIndex']];return this[_0x3b2466(0x333)]=(this[_0x3b2466(0x333)]+0x1)%_0x4cbed8[_0x3b2466(0x391)],this[_0x3b2466(0x325)][_0x3b2466(0x1de)](_0xb79f37,_0x16fc3a),_0x16fc3a;}},_0x32684e=function(_0x785c03){const _0x37459d=_0x486c12;return _0x785c03[_0x37459d(0x3bb)]='1',_0x785c03[_0x37459d(0x36f)]='0',_0x785c03;}(_0x32684e||{});function _0x5138d6(_0x5258d5){const _0x3e8632=_0x486c12;let _0x2d9314='';for(let _0x2cc0d3 of _0x5258d5){let {startOffset:_0x1304b6,endOffset:_0x11ebb8,isActive:_0x46ce0d,rangeType:_0x3a4701,segmentId:_0x2ca50e,segmentPage:_0x59f267}=_0x2cc0d3;_0x2d9314['length']&&(_0x2d9314+=','),_0x2d9314+=_0x1304b6+':'+_0x11ebb8+':'+(_0x46ce0d?_0x32684e[_0x3e8632(0x3bb)]:_0x32684e[_0x3e8632(0x36f)])+':'+_0x3a4701+':'+_0x2ca50e+':'+_0x59f267;}return _0x2d9314;}function _0x429d89(_0xae8d4f){const _0x476aa1=_0x486c12;let _0x15fe18=_0xae8d4f[_0x476aa1(0x37a)](','),_0x2996ed=[];for(let _0x41595e of _0x15fe18){let [_0x2ba73d,_0x429348,_0x249a9d,_0x146f29,_0x163b2f,_0x59f943]=_0x41595e[_0x476aa1(0x37a)](':');_0x2996ed[_0x476aa1(0x1d9)]({'startOffset':Number(_0x2ba73d),'endOffset':Number(_0x429348),'collapsed':_0x2ba73d===_0x429348,'isActive':_0x249a9d===_0x32684e[_0x476aa1(0x3bb)],'rangeType':_0x146f29===_0x3789e1[_0x476aa1(0x2c7)]['TEXT']?_0x3789e1[_0x476aa1(0x2c7)][_0x476aa1(0x25c)]:_0x3789e1[_0x476aa1(0x2c7)]['RECT'],'segmentId':typeof _0x163b2f==_0x476aa1(0x398)?String(_0x163b2f):'','segmentPage':Number(_0x59f943==null?-0x1:_0x59f943)});}return _0x2996ed[_0x476aa1(0xef)](_0x253325=>_0x253325[_0x476aa1(0x34a)])||(_0x2996ed[0x0][_0x476aa1(0x34a)]=!0x0),_0x2996ed;}var _0xb4d8f5=class extends _0x3789e1[_0x486c12(0x2f3)]{constructor(..._0x2ee086){const _0x716738=_0x486c12;super(..._0x2ee086),_0x28a1e3(this,'_collabCursorState$',new _0x4a289e['BehaviorSubject'](null)),_0x28a1e3(this,'collabCursorState$',this[_0x716738(0x332)][_0x716738(0x1fb)]());}[_0x486c12(0x16b)](_0x30068a){const _0x2eef3e=_0x486c12;let {unitID:_0x4ce52a,memberID:_0x2c9828,textRanges:_0x5d9b2d}=_0x30068a,_0x2570dd=_0x5138d6(_0x5d9b2d);if(_0x2570dd==='')return;let _0x44014c={'unitID':_0x4ce52a,'memberID':_0x2c9828,'selection':_0x2570dd};this['_collabCursorState$'][_0x2eef3e(0x283)](_0x44014c);}};let _0x443cbb=class extends _0x3789e1[_0x486c12(0x2f3)]{get[_0x486c12(0x297)](){const _0x251928=_0x486c12;return this[_0x251928(0x239)][_0x251928(0x226)]();}get['roomMembers'](){const _0x4f9e82=_0x486c12;return this[_0x4f9e82(0x1ea)][_0x4f9e82(0x226)]();}constructor(_0x52bcce,_0x131d5f,_0x4489b5,_0x2fd13c,_0x11d727,_0x2526be,_0x1272cd,_0xff233d,_0x1258ed){const _0x53f315=_0x486c12;super(),this['unitID']=_0x52bcce,this['_session']=_0x131d5f,this['_injector']=_0x4489b5,this['_colorAssignService']=_0x2fd13c,this[_0x53f315(0x1dc)]=_0x11d727,this['_syncEditingCollabCursorService']=_0x2526be,this[_0x53f315(0x10c)]=_0x1272cd,this[_0x53f315(0x13d)]=_0xff233d,this[_0x53f315(0x3ac)]=_0x1258ed,_0x28a1e3(this,_0x53f315(0x380),!0x1),_0x28a1e3(this,_0x53f315(0x184),!0x1),_0x28a1e3(this,_0x53f315(0x239),new _0x4a289e['BehaviorSubject'](new Map())),_0x28a1e3(this,_0x53f315(0x200),this[_0x53f315(0x239)]['asObservable']()),_0x28a1e3(this,_0x53f315(0x1ea),new _0x4a289e['BehaviorSubject']([])),_0x28a1e3(this,_0x53f315(0x311),this[_0x53f315(0x1ea)][_0x53f315(0x286)]((0x0,_0x4a289e[_0x53f315(0x28e)])(0x12c))),_0x28a1e3(this,_0x53f315(0x34b),(0x0,_0x3789e1[_0x53f315(0x373)])(_0x173009=>{const _0x583fc3=_0x53f315;let _0x53924={'eventID':_0x136fe4[_0x583fc3(0x1f2)][_0x583fc3(0x2a2)],'data':{'unitID':this[_0x583fc3(0x164)],'memberID':this[_0x583fc3(0x218)][_0x583fc3(0x2c0)](),'selection':_0x5138d6(_0x173009)}};this['_session'][_0x583fc3(0x2c6)](_0x53924,this[_0x583fc3(0x164)]);},0x64));}[_0x486c12(0x1b4)](){const _0x3e9109=_0x486c12;super[_0x3e9109(0x1b4)](),this[_0x3e9109(0x239)][_0x3e9109(0x283)](new Map()),this[_0x3e9109(0x239)]['complete'](),this[_0x3e9109(0x1ea)][_0x3e9109(0x283)]([]),this[_0x3e9109(0x1ea)]['complete']();}[_0x486c12(0x394)](){const _0x19f062=_0x486c12;this[_0x19f062(0x184)]||(this[_0x19f062(0x184)]=!0x0,this[_0x19f062(0x218)][_0x19f062(0x14b)][_0x19f062(0x286)]((0x0,_0x4a289e['takeUntil'])(this[_0x19f062(0x389)]))[_0x19f062(0x2df)](_0x27b979=>{const _0x27336d=_0x19f062;_0x27b979===_0x5ba2ed[_0x27336d(0x145)]['ONLINE']?this[_0x27336d(0x348)]():this[_0x27336d(0x3b7)]();}),this[_0x19f062(0x218)][_0x19f062(0xfc)][_0x19f062(0x286)]((0x0,_0x4a289e[_0x19f062(0xf8)])(this['dispose$']))[_0x19f062(0x2df)](_0x492d51=>{const _0xb02562=_0x19f062;let _0x4d10df=_0x492d51['eventID'];_0x4d10df===_0x136fe4['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x492d51),_0x4d10df===_0x136fe4[_0xb02562(0x1f2)][_0xb02562(0xeb)]&&this[_0xb02562(0x36a)](_0x492d51);}),this[_0x19f062(0x26a)](this['_commandService'][_0x19f062(0x390)](_0x131ebe=>{const _0x3874aa=_0x19f062;let _0x1d1624=_0x131ebe[_0x3874aa(0x230)];_0x1d1624!=null&&this['_online']&&_0x131ebe['id']===_0x43a715[_0x3874aa(0x224)]['id']&&_0x1d1624[_0x3874aa(0x2f0)]===this['unitID']&&_0x1d1624[_0x3874aa(0x28f)]===!0x1&&_0x1d1624['ranges']['length']>0x0&&this[_0x3874aa(0x34b)](_0x1d1624[_0x3874aa(0x339)]);})),this['_syncEditingCollabCursorService']['collabCursorState$']['pipe']((0x0,_0x4a289e['takeUntil'])(this[_0x19f062(0x389)]))[_0x19f062(0x2df)](_0x4b8b36=>{const _0xe67b1b=_0x19f062;if((_0x4b8b36==null?void 0x0:_0x4b8b36[_0xe67b1b(0x164)])!==this['unitID'])return;let _0x26c39e={'eventID':_0x136fe4[_0xe67b1b(0x1f2)][_0xe67b1b(0x2a2)],'data':_0x4b8b36};this[_0xe67b1b(0x19e)](_0x26c39e);}),this[_0x19f062(0x26a)](this[_0x19f062(0x3ac)]['onCommandExecuted'](_0x3bd3ce=>{const _0x17e757=_0x19f062;if(_0x3bd3ce['params']==null)return;let _0x2bb3af=_0x3bd3ce[_0x17e757(0x230)];if(_0x3bd3ce['id']!==_0x43a715[_0x17e757(0x2f6)]['id']||_0x2bb3af['unitId']!==this[_0x17e757(0x164)])return;let _0xdf87a7={'id':_0x17e757(0x259),'params':_0x2bb3af},_0x232d06=this[_0x17e757(0x297)];for(let [_0x39850f,_0x308d7b]of _0x232d06){let _0x355df0={'id':_0x17e757(0x259),'params':{'unitId':this[_0x17e757(0x164)],'actions':null,'textRanges':_0x308d7b[_0x17e757(0x339)]}},_0x5a2aa0=this[_0x17e757(0x10c)][_0x17e757(0x392)](_0xdf87a7,_0x355df0,!0x1);if((0x0,_0x136fe4[_0x17e757(0x327)])(_0x5a2aa0))throw _0x5a2aa0[_0x17e757(0x120)];_0x232d06[_0x17e757(0x1de)](_0x39850f,{..._0x308d7b,'ranges':_0x5a2aa0[_0x17e757(0x130)]['params']['textRanges']});}queueMicrotask(()=>{const _0x4341b6=_0x17e757;this[_0x4341b6(0x239)][_0x4341b6(0x283)](_0x232d06);});})));}[_0x486c12(0x19e)](_0x27c495){const _0x4cb6f2=_0x486c12;var _0xada09,_0x2a9074;let {memberID:_0x4c460e,selection:_0x8f2140}=_0x27c495['data'],_0x2212b4=_0x429d89(_0x8f2140),_0x1e3a10=(_0xada09=(_0x2a9074=this[_0x4cb6f2(0x1dc)]['getMember'](this[_0x4cb6f2(0x164)],_0x4c460e))==null?void 0x0:_0x2a9074[_0x4cb6f2(0x167)])==null?_0x4cb6f2(0x21b):_0xada09,_0x4072f8={'color':this[_0x4cb6f2(0x2d0)][_0x4cb6f2(0xff)](_0x4c460e),'name':_0x1e3a10,'ranges':_0x2212b4},_0x51d523=this[_0x4cb6f2(0x297)];_0x51d523[_0x4cb6f2(0x1de)](_0x4c460e,_0x4072f8),this[_0x4cb6f2(0x239)][_0x4cb6f2(0x283)](_0x51d523);}[_0x486c12(0x36a)](_0x373a7d){const _0x703077=_0x486c12;let {memberID:_0x17c173}=_0x373a7d[_0x703077(0x3c4)],_0xdc4cc0=this[_0x703077(0x297)];_0xdc4cc0[_0x703077(0x26e)](_0x17c173),this[_0x703077(0x239)][_0x703077(0x283)](_0xdc4cc0);}['_toggleOnline'](){const _0x18bb2f=_0x486c12;var _0x516587;if(this[_0x18bb2f(0x380)]=!0x0,((_0x516587=this[_0x18bb2f(0x13d)][_0x18bb2f(0x17d)]())==null?void 0x0:_0x516587[_0x18bb2f(0x255)]())!==this[_0x18bb2f(0x164)])return;let _0x1fe2b1=this['_injector'][_0x18bb2f(0x114)](_0x43a715[_0x18bb2f(0x250)])[_0x18bb2f(0x3be)]();Array['isArray'](_0x1fe2b1)&&_0x1fe2b1['length']>0x0&&this['_updateLocalCursor'](_0x1fe2b1);}['_toggleOffline'](){const _0x3b6b00=_0x486c12;this[_0x3b6b00(0x380)]=!0x1;}};_0x443cbb=_0x2eed91([_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x3,(0x0,_0x3789e1['Inject'])(_0x3e01b5)),_0x5dbd47(0x4,(0x0,_0x3789e1['Inject'])(_0x5ba2ed[_0x486c12(0x2ae)])),_0x5dbd47(0x5,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0xb4d8f5)),_0x5dbd47(0x6,_0x136fe4[_0x486c12(0x1af)]),_0x5dbd47(0x7,_0x3789e1[_0x486c12(0x2de)]),_0x5dbd47(0x8,_0x3789e1[_0x486c12(0x253)])],_0x443cbb);let _0x54474f=()=>{let _0x2e032d=[],_0x2bfdf4=!0x1;return _0x5e1ead=>{_0x2e032d['push'](_0x5e1ead),_0x2bfdf4||(_0x2bfdf4=!0x0,setTimeout(()=>{const _0x5085a4=_0x3eb0;_0x2e032d[_0x5085a4(0x377)](_0x5c9302=>_0x5c9302()),_0x2e032d=[],_0x2bfdf4=!0x1;}));};},_0x35ff85=class extends _0x3789e1[_0x486c12(0x2f3)]{get[_0x486c12(0x297)](){const _0x557e5e=_0x486c12;return this[_0x557e5e(0x239)][_0x557e5e(0x226)]();}get[_0x486c12(0x1d1)](){const _0x3ad4da=_0x486c12;return this[_0x3ad4da(0x1ea)][_0x3ad4da(0x226)]();}constructor(_0x4634e9,_0x12a1c3,_0x109dae,_0x9189d1,_0x31007c,_0x3ab41d,_0x1e09d9,_0x21594e){const _0x2ea6a5=_0x486c12;super(),this[_0x2ea6a5(0x164)]=_0x4634e9,this['_session']=_0x12a1c3,this[_0x2ea6a5(0x2bb)]=_0x109dae,this[_0x2ea6a5(0x2d0)]=_0x9189d1,this[_0x2ea6a5(0x1dc)]=_0x31007c,this[_0x2ea6a5(0x13d)]=_0x3ab41d,this[_0x2ea6a5(0x3ac)]=_0x1e09d9,this['_refRangeService']=_0x21594e,_0x28a1e3(this,_0x2ea6a5(0x380),!0x1),_0x28a1e3(this,_0x2ea6a5(0x184),!0x1),_0x28a1e3(this,'_cursorInfo$',new _0x4a289e[(_0x2ea6a5(0x13f))](new Map())),_0x28a1e3(this,_0x2ea6a5(0x200),this[_0x2ea6a5(0x239)][_0x2ea6a5(0x1fb)]()),_0x28a1e3(this,'_roomMembers$',new _0x4a289e[(_0x2ea6a5(0x13f))]([])),_0x28a1e3(this,_0x2ea6a5(0x311),this[_0x2ea6a5(0x1ea)]['pipe']((0x0,_0x4a289e[_0x2ea6a5(0x28e)])(0x12c))),_0x28a1e3(this,_0x2ea6a5(0x34b),(0x0,_0x3789e1['debounce'])((_0x27abfc,_0x40ab46)=>{const _0x3d6e67=_0x2ea6a5;let _0x121ef3={'eventID':_0x136fe4[_0x3d6e67(0x1f2)][_0x3d6e67(0x2a2)],'data':{'unitID':this[_0x3d6e67(0x164)],'memberID':this[_0x3d6e67(0x218)]['getMemberID'](),'selection':(0x0,_0x12c154[_0x3d6e67(0x165)])(_0x27abfc,_0x40ab46[_0x3d6e67(0x25d)])}};this['_session']['send'](_0x121ef3,this[_0x3d6e67(0x164)]);},0x64));}[_0x486c12(0x1b4)](){const _0x270a13=_0x486c12;super[_0x270a13(0x1b4)](),this[_0x270a13(0x239)][_0x270a13(0x283)](new Map()),this[_0x270a13(0x239)][_0x270a13(0x257)](),this['_roomMembers$']['next']([]),this[_0x270a13(0x1ea)][_0x270a13(0x257)]();}[_0x486c12(0x394)](){const _0x5f425d=_0x486c12;this[_0x5f425d(0x184)]||(this[_0x5f425d(0x184)]=!0x0,this[_0x5f425d(0x218)]['sessionStatus$'][_0x5f425d(0x286)]((0x0,_0x4a289e['takeUntil'])(this['dispose$']))[_0x5f425d(0x2df)](_0x26ec04=>{const _0x4728a5=_0x5f425d;_0x26ec04===_0x5ba2ed['SessionStatus'][_0x4728a5(0x330)]?this[_0x4728a5(0x348)]():this['_toggleOffline']();}),this[_0x5f425d(0x218)][_0x5f425d(0xfc)][_0x5f425d(0x286)]((0x0,_0x4a289e[_0x5f425d(0xf8)])(this[_0x5f425d(0x389)]))[_0x5f425d(0x2df)](_0x207e0f=>{const _0x329e62=_0x5f425d;let _0x1cff83=_0x207e0f[_0x329e62(0x30a)];_0x1cff83===_0x136fe4['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x329e62(0x19e)](_0x207e0f),_0x1cff83===_0x136fe4['CollaborationEvent']['USERS_LEAVE']&&this[_0x329e62(0x36a)](_0x207e0f);}),this[_0x5f425d(0x171)](),this[_0x5f425d(0x26a)](this[_0x5f425d(0x3ac)][_0x5f425d(0x390)](_0x58fa97=>{const _0x394126=_0x5f425d;if(this[_0x394126(0x380)]&&_0x58fa97['id']===_0x5081db[_0x394126(0x3a2)]['id']&&_0x58fa97[_0x394126(0x230)][_0x394126(0x2f0)]===this[_0x394126(0x164)]){let _0x36fe10=_0x58fa97['params'];this[_0x394126(0x34b)](_0x36fe10[_0x394126(0x33b)],_0x36fe10['selections'][0x0]);}})));}[_0x486c12(0x19e)](_0x302a25){const _0xaa2a92=_0x486c12;var _0x16a206,_0x3208f7;let {memberID:_0x521d7d,selection:_0xc5707b}=_0x302a25[_0xaa2a92(0x3c4)],{sheetName:_0x53ebec,range:_0x154280}=(0x0,_0x12c154[_0xaa2a92(0x258)])(_0xc5707b),_0x235b8e={'name':(_0x16a206=(_0x3208f7=this['_memberService'][_0xaa2a92(0xf1)](this[_0xaa2a92(0x164)],_0x521d7d))==null?void 0x0:_0x3208f7[_0xaa2a92(0x167)])==null?_0xaa2a92(0x21b):_0x16a206,'range':this[_0xaa2a92(0x2ca)](_0x53ebec,_0x154280),'sheetID':_0x53ebec,'color':this[_0xaa2a92(0x2d0)][_0xaa2a92(0xff)](_0x521d7d),'selection':_0xc5707b},_0x10ce8d=this[_0xaa2a92(0x297)];_0x10ce8d[_0xaa2a92(0x1de)](_0x521d7d,_0x235b8e),this[_0xaa2a92(0x239)][_0xaa2a92(0x283)](_0x10ce8d);}[_0x486c12(0x36a)](_0x158f55){const _0x4aa443=_0x486c12;let {memberID:_0xfab6c9}=_0x158f55[_0x4aa443(0x3c4)],_0xd04186=this[_0x4aa443(0x297)];_0xd04186[_0x4aa443(0x26e)](_0xfab6c9),this[_0x4aa443(0x239)][_0x4aa443(0x283)](_0xd04186);}[_0x486c12(0x2ca)](_0x397d71,_0x65c539){const _0x486ca6=_0x486c12;var _0x1eb8b3;let _0x4f3cc6=(_0x1eb8b3=this['_univerInstanceService'][_0x486ca6(0x3b9)](this[_0x486ca6(0x164)]))==null||(_0x1eb8b3=_0x1eb8b3[_0x486ca6(0x284)](_0x397d71))==null?void 0x0:_0x1eb8b3['getMergeData']();return(_0x4f3cc6==null?void 0x0:_0x4f3cc6['find'](_0x4c5232=>_0x3789e1[_0x486ca6(0x310)]['contains'](_0x4c5232,_0x65c539)))||_0x65c539;}[_0x486c12(0x171)](){const _0x24fc46=_0x486c12;let _0x1de951=new _0x3789e1['DisposableCollection'](),_0xc23063=_0x54474f(),_0x1cfdc3=()=>{const _0x518b4d=_0x3eb0;_0x1de951['dispose']();let _0x5d91ee=(_0x486fdf,_0x551ae8,_0x4d7cd9,_0x4f28b6)=>{const _0x190e0d=_0x3eb0;let _0x4893b4=[];switch(_0x486fdf['id']){case _0x5081db[_0x190e0d(0x20d)][_0x190e0d(0x12b)]:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x29d)])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)]['DeleteRangeMoveUpCommandId']:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x2c5)])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)][_0x190e0d(0x2bc)]:_0x4893b4=(0x0,_0x5081db['handleInsertCol'])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)][_0x190e0d(0x166)]:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x317)])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)][_0x190e0d(0x353)]:_0x4893b4=(0x0,_0x5081db['handleInsertRangeMoveRight'])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)][_0x190e0d(0x3c7)]:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x2cf)])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)]['MoveRangeCommandId']:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x2a3)])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)][_0x190e0d(0x1fe)]:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x26c)])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)]['RemoveRowCommandId']:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x369)])(_0x486fdf,_0x4f28b6);break;}let _0x4d6a1d=(0x0,_0x5081db['runRefRangeMutations'])(_0x4893b4,_0x4f28b6),_0x343478=this['cursorInfo'][_0x190e0d(0x114)](_0x551ae8);if(_0x343478&&_0x4d6a1d){let _0x885a1c={..._0x343478,'range':_0x4d6a1d};this[_0x190e0d(0x297)][_0x190e0d(0x1de)](_0x551ae8,_0x885a1c),_0xc23063(()=>{const _0x577f23=_0x190e0d;let _0x29c0dc=this[_0x577f23(0x262)][_0x577f23(0x14e)](_0x4d6a1d,_0x1a11d7=>(_0x29c0dc[_0x577f23(0x1b4)](),_0x5d91ee(_0x1a11d7,_0x551ae8,_0x4d7cd9,_0x4d6a1d)));_0x1de951['add'](_0x29c0dc);});}return{'redos':[],'undos':[]};};this[_0x518b4d(0x297)][_0x518b4d(0x377)]((_0x2b29ab,_0x1345e3)=>{const _0x845aa4=_0x518b4d;let {range:_0x3404d3,sheetID:_0x2f9556}=_0x2b29ab,_0xc7475e=this['_refRangeService'][_0x845aa4(0x14e)](_0x3404d3,_0x28faf9=>(_0xc7475e[_0x845aa4(0x1b4)](),_0x5d91ee(_0x28faf9,_0x1345e3,_0x2f9556,_0x3404d3)));_0x1de951['add'](_0xc7475e);});};this['disposeWithMe']((0x0,_0x3789e1['toDisposable'])(this['_cursorInfo$'][_0x24fc46(0x2df)](()=>{_0x1cfdc3();})));}[_0x486c12(0x348)](){const _0x18aa1d=_0x486c12;var _0x5d0bb7,_0x58819d;if(this[_0x18aa1d(0x380)]=!0x0,((_0x5d0bb7=this[_0x18aa1d(0x13d)][_0x18aa1d(0x17d)]())==null?void 0x0:_0x5d0bb7[_0x18aa1d(0x255)]())!==this[_0x18aa1d(0x164)])return;let _0xb09e00=(_0x58819d=this[_0x18aa1d(0x2bb)][_0x18aa1d(0x114)](_0x5081db[_0x18aa1d(0x378)])['getCurrentSelections']())==null?void 0x0:_0x58819d[0x0],_0x29fa3c=this['_univerInstanceService'][_0x18aa1d(0x35a)](_0x3789e1[_0x18aa1d(0x246)][_0x18aa1d(0x2f9)])['getActiveSheet']();_0xb09e00&&_0x29fa3c&&this[_0x18aa1d(0x34b)](_0x29fa3c[_0x18aa1d(0x15c)](),_0xb09e00);}[_0x486c12(0x3b7)](){this['_online']=!0x1;}};_0x35ff85=_0x2eed91([_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x3,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3e01b5)),_0x5dbd47(0x4,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x5ba2ed[_0x486c12(0x2ae)])),_0x5dbd47(0x5,_0x3789e1[_0x486c12(0x2de)]),_0x5dbd47(0x6,_0x3789e1['ICommandService']),_0x5dbd47(0x7,(0x0,_0x3789e1['Inject'])(_0x5081db[_0x486c12(0x16d)]))],_0x35ff85);let _0x59bc3e=class extends _0x3789e1[_0x486c12(0x2f3)]{constructor(_0x5b1676,_0x4d8b34,_0x57bcac){const _0x1cbf1=_0x486c12;super(),this[_0x1cbf1(0x13d)]=_0x5b1676,this['_injector']=_0x4d8b34,this[_0x1cbf1(0x23c)]=_0x57bcac,_0x28a1e3(this,_0x1cbf1(0x235),new Map()),_0x28a1e3(this,_0x1cbf1(0x338),new _0x4a289e['Subject']()),this['_init']();}[_0x486c12(0x1b4)](){const _0x5a8f65=_0x486c12;super[_0x5a8f65(0x1b4)](),this[_0x5a8f65(0x338)][_0x5a8f65(0x257)](),this[_0x5a8f65(0x235)][_0x5a8f65(0x377)](_0x891527=>_0x891527[_0x5a8f65(0x1b4)]());}['getCollabCursors$'](_0xaac18e){const _0x450c12=_0x486c12;return this[_0x450c12(0x235)][_0x450c12(0x35e)](_0xaac18e)?this['_entities'][_0x450c12(0x114)](_0xaac18e)[_0x450c12(0x200)]:this['_entityInit$']['pipe']((0x0,_0x4a289e['filter'])(_0x516596=>_0x516596[_0x450c12(0x164)]===_0xaac18e),(0x0,_0x4a289e[_0x450c12(0x3b1)])(_0x2d4b09=>_0x2d4b09[_0x450c12(0x200)]));}['_init'](){const _0x120b07=_0x486c12;this[_0x120b07(0x13d)][_0x120b07(0x274)](_0x3789e1[_0x120b07(0x246)][_0x120b07(0x2f9)])[_0x120b07(0x286)]((0x0,_0x4a289e[_0x120b07(0xf8)])(this[_0x120b07(0x389)]))[_0x120b07(0x2df)](async _0x4176f6=>{const _0x1725cf=_0x120b07;let _0xf9fbbb=_0x4176f6[_0x1725cf(0x255)](),_0x3dba44=await this[_0x1725cf(0x20b)](_0xf9fbbb);this[_0x1725cf(0x338)][_0x1725cf(0x283)](_0x3dba44),this[_0x1725cf(0x235)][_0x1725cf(0x1de)](_0xf9fbbb,_0x3dba44);}),this[_0x120b07(0x13d)]['getTypeOfUnitAdded$'](_0x3789e1[_0x120b07(0x246)][_0x120b07(0x2a1)])[_0x120b07(0x286)]((0x0,_0x4a289e['takeUntil'])(this[_0x120b07(0x389)]))['pipe']((0x0,_0x4a289e[_0x120b07(0x3aa)])(_0x1df644=>!_0x1df644[_0x120b07(0x255)]()[_0x120b07(0xe8)]('__')))[_0x120b07(0x2df)](async _0x3896fb=>{const _0x35f852=_0x120b07;let _0x2b3962=_0x3896fb[_0x35f852(0x255)](),_0x105b95=await this[_0x35f852(0x331)](_0x2b3962);this['_entityInit$'][_0x35f852(0x283)](_0x105b95),this[_0x35f852(0x235)][_0x35f852(0x1de)](_0x2b3962,_0x105b95);}),(0x0,_0x4a289e[_0x120b07(0x101)])(this[_0x120b07(0x13d)][_0x120b07(0x307)](_0x3789e1[_0x120b07(0x246)][_0x120b07(0x2a1)]),this[_0x120b07(0x13d)][_0x120b07(0x307)](_0x3789e1[_0x120b07(0x246)]['UNIVER_SHEET']))[_0x120b07(0x286)]((0x0,_0x4a289e[_0x120b07(0xf8)])(this['dispose$']))[_0x120b07(0x2df)](_0x3c892d=>{const _0x39af94=_0x120b07;let _0x52b57b=_0x3c892d['getUnitId'](),_0x33e041=this[_0x39af94(0x235)][_0x39af94(0x114)](_0x52b57b);_0x33e041&&(_0x33e041[_0x39af94(0x1b4)](),this[_0x39af94(0x235)][_0x39af94(0x26e)](_0x52b57b));});}async['_startSheetCollabCursor'](_0x53111c){const _0x155f91=_0x486c12;let _0x7d5ef9=await this[_0x155f91(0x23c)][_0x155f91(0x32f)](_0x53111c),_0x2bcc3b=this[_0x155f91(0x2bb)][_0x155f91(0x328)](_0x35ff85,_0x53111c,_0x7d5ef9);return _0x2bcc3b[_0x155f91(0x394)](),_0x2bcc3b;}async[_0x486c12(0x331)](_0x31011d){const _0x38265a=_0x486c12;let _0x2af25c=await this['_collabSessionService'][_0x38265a(0x32f)](_0x31011d),_0x259f3a=this[_0x38265a(0x2bb)][_0x38265a(0x328)](_0x443cbb,_0x31011d,_0x2af25c);return _0x259f3a[_0x38265a(0x394)](),_0x259f3a;}};_0x59bc3e=_0x2eed91([_0x5dbd47(0x0,_0x3789e1[_0x486c12(0x2de)]),_0x5dbd47(0x1,(0x0,_0x3789e1['Inject'])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x5ba2ed[_0x486c12(0x128)]))],_0x59bc3e);function _0x2b2b89(_0xe705a3,_0x64ea77){const _0x320958=_0x486c12;var _0x313a87,_0x34160e,_0x394d5f;let {radius:_0x327d74,width:_0x53222c,height:_0x4c72da}=_0x64ea77;_0x327d74=(_0x313a87=_0x327d74)==null?0x0:_0x313a87,_0x53222c=(_0x34160e=_0x53222c)==null?0x1e:_0x34160e,_0x4c72da=(_0x394d5f=_0x4c72da)==null?0x1e:_0x394d5f;let _0x42fa09=0x0,_0x391d75=0x0,_0x2f5dba=0x0;_0x42fa09=_0x391d75=_0x2f5dba=Math[_0x320958(0x2f2)](_0x327d74,_0x53222c/0x2,_0x4c72da/0x2),_0xe705a3[_0x320958(0x1f7)](),_0xe705a3[_0x320958(0x344)](_0x42fa09,0x0),_0xe705a3['lineTo'](_0x53222c-_0x391d75,0x0),_0xe705a3[_0x320958(0x27d)](_0x53222c-_0x391d75,_0x391d75,_0x391d75,Math['PI']*0x3/0x2,0x0,!0x1),_0xe705a3[_0x320958(0x11b)](_0x53222c,_0x4c72da-_0x2f5dba),_0xe705a3[_0x320958(0x27d)](_0x53222c-_0x2f5dba,_0x4c72da-_0x2f5dba,_0x2f5dba,0x0,Math['PI']/0x2,!0x1),_0xe705a3[_0x320958(0x11b)](0x0,_0x4c72da),_0xe705a3[_0x320958(0x11b)](0x0,_0x42fa09),_0xe705a3[_0x320958(0x27d)](_0x42fa09,_0x42fa09,_0x42fa09,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xe705a3[_0x320958(0x196)](),_0x64ea77[_0x320958(0x294)]&&(_0xe705a3[_0x320958(0x1f9)](),_0xe705a3['fillStyle']=_0x64ea77['fill'],_0x64ea77[_0x320958(0x23d)]==='evenodd'?_0xe705a3[_0x320958(0x294)]('evenodd'):_0xe705a3['fill'](),_0xe705a3[_0x320958(0x364)]());}var _0x31aed2=class _0x3f0e2d extends _0x4b5cb2[_0x486c12(0xec)]{constructor(_0x254e33,_0x3a6150){const _0x4f0b33=_0x486c12;super(_0x254e33,_0x3a6150),_0x28a1e3(this,'color',void 0x0),_0x28a1e3(this,_0x4f0b33(0x21a),void 0x0),this[_0x4f0b33(0x1b8)]=_0x3a6150==null?void 0x0:_0x3a6150[_0x4f0b33(0x1b8)],this[_0x4f0b33(0x21a)]=_0x3a6150==null?void 0x0:_0x3a6150[_0x4f0b33(0x21a)];}static[_0x486c12(0x30c)](_0x1b1d84,_0xc70b39){const _0x1186cc=_0x486c12;let {text:_0x1071db,color:_0x9dd47a}=_0xc70b39;_0x1b1d84[_0x1186cc(0x1f9)](),_0x1b1d84['font']=_0x1186cc(0xe4);let _0x494478=_0x1b1d84[_0x1186cc(0x280)](_0x1071db)[_0x1186cc(0x144)];if(_0x2b2b89(_0x1b1d84,{'height':0x14,'radius':0x4,'width':Math[_0x1186cc(0x2f2)](_0x494478+0x8,0xc8),'fill':_0x9dd47a,'evented':!0x1}),_0x1b1d84[_0x1186cc(0x2dc)]=_0x1186cc(0x28d),_0x494478>0xc0){let _0x1e03f7='',_0x160878=0x0;for(let _0x3b3695 of _0x1071db){let _0xeb4548=_0x1b1d84[_0x1186cc(0x280)](_0x3b3695)[_0x1186cc(0x144)];if(_0x160878+_0xeb4548<=0xc0-_0x1b1d84['measureText'](_0x1186cc(0x155))[_0x1186cc(0x144)])_0x1e03f7+=_0x3b3695,_0x160878+=_0xeb4548;else{_0x1e03f7+='...';break;}}_0x1b1d84[_0x1186cc(0x28b)](_0x1e03f7,0x4,0xf);}else _0x1b1d84[_0x1186cc(0x28b)](_0x1071db,0x4,0xf);_0x1b1d84[_0x1186cc(0x364)]();}[_0x486c12(0x209)](_0x450793){_0x3f0e2d['drawWith'](_0x450793,this);}};let _0x41be05=_0x486c12(0x28c);var _0x210b6c=class{constructor(_0x18d080,_0x2e3fc3,_0x2ffa8a,_0x6278b){const _0x1862e4=_0x486c12;this[_0x1862e4(0x1fd)]=_0x18d080,this[_0x1862e4(0x2b8)]=_0x2e3fc3,this['_docSkeleton']=_0x2ffa8a,this[_0x1862e4(0x371)]=_0x6278b,_0x28a1e3(this,_0x1862e4(0x3b5),[]),_0x28a1e3(this,'_anchor',null),_0x28a1e3(this,_0x1862e4(0x1b7),null),_0x28a1e3(this,_0x1862e4(0x179),null),_0x28a1e3(this,_0x1862e4(0x2dd),null),_0x28a1e3(this,_0x1862e4(0x2ce),null),this[_0x1862e4(0x2cd)]();}set[_0x486c12(0x1c6)](_0x29f3fe){const _0x2a1958=_0x486c12;_0x29f3fe?(this[_0x2a1958(0x179)]&&this[_0x2a1958(0x179)]['hide'](),this[_0x2a1958(0x1b7)]&&this['_textBubble']['show']()):(this[_0x2a1958(0x179)]&&this[_0x2a1958(0x179)][_0x2a1958(0x366)](),this['_textBubble']&&this[_0x2a1958(0x1b7)][_0x2a1958(0xe3)]());}[_0x486c12(0x1b4)](){const _0x21608d=_0x486c12;for(let _0x547474 of this[_0x21608d(0x3b5)])_0x547474[_0x21608d(0x1b4)]();this[_0x21608d(0x1b7)]&&this[_0x21608d(0x1b7)][_0x21608d(0x1b4)](),this[_0x21608d(0x179)]&&this['_anchorDot'][_0x21608d(0x1b4)](),this[_0x21608d(0x34c)]&&this[_0x21608d(0x34c)][_0x21608d(0x1b4)](),this[_0x21608d(0x2ce)]&&this[_0x21608d(0x2ce)]();}['_render'](){const _0x24f58a=_0x486c12;let {_docSkeleton:_0x1a3e87,_document:_0x539462}=this,{color:_0x159c2f,name:_0x5a2577,ranges:_0x15cbbb}=this[_0x24f58a(0x1fd)],_0x4545ce=_0x539462[_0x24f58a(0x214)](),{docsLeft:_0xb94453,docsTop:_0x22f4ed}=_0x4545ce,_0xe8fd6a=new _0x4d692e['NodePositionConvertToCursor'](_0x4545ce,_0x1a3e87);for(let {startOffset:_0x35ba82,endOffset:_0x182245,rangeType:_0x8149be,segmentId:_0x3c067d,segmentPage:_0x122592,collapsed:_0x28179e,isActive:_0x33914c}of _0x15cbbb){let _0x1cf936=_0x1a3e87[_0x24f58a(0x19c)](_0x35ba82,!0x0,_0x3c067d,_0x122592),_0x56dde4=_0x1a3e87[_0x24f58a(0x19c)](_0x182245,!0x0,_0x3c067d,_0x122592);if(_0x56dde4==null&&(_0x56dde4=_0x1a3e87['findNodePositionByCharIndex'](_0x182245-0x1,!0x1,_0x3c067d,_0x122592)),_0x33914c){let {contentBoxPointGroup:_0x540b07}=_0xe8fd6a['getRangePointData'](_0x56dde4,_0x56dde4);if(_0x540b07[_0x24f58a(0x391)]===0x0)continue;this[_0x24f58a(0x365)](_0x159c2f,_0x540b07,_0xb94453,_0x22f4ed,_0x5a2577),this[_0x24f58a(0x2ce)]=this['_handleHover']();}if(_0x1cf936&&_0x56dde4){if(_0x8149be===_0x3789e1[_0x24f58a(0x2c7)][_0x24f58a(0x222)]){var _0x338d97;let {pointGroup:_0x55b21b}=(_0x338d97=new _0x4d692e['NodePositionConvertToRectRange'](_0x4545ce,_0x1a3e87)['getRangePointData'](_0x1cf936,_0x56dde4))==null?{}:_0x338d97;if(_0x55b21b==null||_0x55b21b[_0x24f58a(0x391)]===0x0)continue;this[_0x24f58a(0x2d2)](_0x159c2f,_0x55b21b,_0xb94453,_0x22f4ed);}else{if(!_0x28179e){let {borderBoxPointGroup:_0x326434}=_0xe8fd6a[_0x24f58a(0x14c)](_0x1cf936,_0x56dde4);if(_0x326434['length']===0x0)continue;this[_0x24f58a(0x273)](_0x159c2f,_0x326434,_0xb94453,_0x22f4ed);}}}}}[_0x486c12(0x365)](_0x1a806c,_0x41656c,_0x4beb98,_0x33090d,_0x410445){const _0x13f2c2=_0x486c12;let {left:_0x4c3193,top:_0x586718,height:_0x4dfa26}=this[_0x13f2c2(0x32c)](_0x41656c),_0x278608=1.5/this[_0x13f2c2(0x2b7)](),_0x24a261=new _0x4b5cb2[(_0x13f2c2(0x25b))](_0x41be05+(0x0,_0x3789e1[_0x13f2c2(0x211)])(0x6),{'left':_0x4c3193+_0x4beb98-_0x278608,'top':_0x586718+_0x33090d,'height':_0x4dfa26,'width':1.5,'fill':_0x1a806c||(0x0,_0x4b5cb2[_0x13f2c2(0x2f1)])(_0x3789e1[_0x13f2c2(0x153)][_0x13f2c2(0x357)],0x0),'strokeWidth':_0x278608,'stroke':_0x13f2c2(0x303),'evented':!0x0});this[_0x13f2c2(0x34c)]=_0x24a261,this[_0x13f2c2(0x2b8)][_0x13f2c2(0x2fb)](_0x24a261,_0x4d692e[_0x13f2c2(0x278)]);let _0x16f567=new _0x4b5cb2[(_0x13f2c2(0x25b))](_0x41be05+(0x0,_0x3789e1[_0x13f2c2(0x211)])(0x6),{'left':_0x4c3193+_0x4beb98-_0x278608,'top':_0x586718+_0x33090d-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x1a806c||(0x0,_0x4b5cb2['getColor'])(_0x3789e1[_0x13f2c2(0x153)][_0x13f2c2(0x357)],0x0),'strokeWidth':0x0,'stroke':_0x1a806c||(0x0,_0x4b5cb2[_0x13f2c2(0x2f1)])(_0x3789e1[_0x13f2c2(0x153)][_0x13f2c2(0x357)],0x0),'evented':!0x1});this[_0x13f2c2(0x179)]=_0x16f567,this[_0x13f2c2(0x2b8)][_0x13f2c2(0x2fb)](_0x16f567,_0x4d692e['TEXT_RANGE_LAYER_INDEX']);let _0x1af2eb=new _0x31aed2(_0x41be05+(0x0,_0x3789e1[_0x13f2c2(0x211)])(0x6),{'left':_0x4c3193+_0x4beb98-_0x278608,'top':_0x586718+_0x33090d-0x14,'text':_0x410445,'color':_0x1a806c});this[_0x13f2c2(0x1b7)]=_0x1af2eb,this['_scene'][_0x13f2c2(0x2fb)](_0x1af2eb,_0x4d692e[_0x13f2c2(0x278)]),this[_0x13f2c2(0x1c6)]=!0x1;}[_0x486c12(0x131)](){const _0x1f4857=_0x486c12;let _0xc75d6=this[_0x1f4857(0x34c)]['onPointerEnter$']['subscribeEvent'](()=>{const _0x441bbc=_0x1f4857;this[_0x441bbc(0x1c6)]=!0x0;}),_0x4516a3=this[_0x1f4857(0x34c)][_0x1f4857(0x266)][_0x1f4857(0x2c8)](()=>{const _0x6e1f2d=_0x1f4857;this[_0x6e1f2d(0x2dd)]&&clearTimeout(this[_0x6e1f2d(0x2dd)]),this['_hideTimer']=setTimeout(()=>{const _0x1cec1e=_0x6e1f2d;this[_0x1cec1e(0x1c6)]=!0x1;},0x7d0);});return()=>{const _0x1ab6cc=_0x1f4857;_0xc75d6[_0x1ab6cc(0x3b6)](),_0x4516a3['unsubscribe']();};}[_0x486c12(0x273)](_0x16400b,_0x3962db,_0x4e3f67,_0x1b0fbe){const _0x12f50b=_0x486c12;let _0x2ee898=0.2,_0x5e47ff=new _0x3789e1['ColorKit'](_0x16400b)[_0x12f50b(0x1ff)](_0x2ee898)[_0x12f50b(0x340)](),_0x5a672d=new _0x4b5cb2[(_0x12f50b(0x1b1))](_0x12f50b(0x10e)+(0x0,_0x3789e1[_0x12f50b(0x211)])(0x6),{'pointsGroup':_0x3962db,'fill':_0x5e47ff||(0x0,_0x4b5cb2['getColor'])(_0x3789e1['COLORS']['black'],_0x2ee898),'left':_0x4e3f67,'top':_0x1b0fbe,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x12f50b(0x3b5)][_0x12f50b(0x1d9)](_0x5a672d),this[_0x12f50b(0x2b8)][_0x12f50b(0x2fb)](_0x5a672d,_0x4d692e[_0x12f50b(0x278)]);}[_0x486c12(0x2d2)](_0x311592,_0x1a9843,_0x50b8cb,_0x49f096){const _0x20eaeb=_0x486c12;let _0x38c4db=0.2,_0x29cb5b=new _0x3789e1['ColorKit'](_0x311592)[_0x20eaeb(0x1ff)](_0x38c4db)['toRgbString'](),_0x5260d9=new _0x4b5cb2[(_0x20eaeb(0x1b1))](_0x20eaeb(0x25f)+(0x0,_0x3789e1[_0x20eaeb(0x211)])(0x6),{'pointsGroup':_0x1a9843,'fill':_0x29cb5b||(0x0,_0x4b5cb2[_0x20eaeb(0x2f1)])(_0x3789e1[_0x20eaeb(0x153)][_0x20eaeb(0x357)],_0x38c4db),'left':_0x50b8cb,'top':_0x49f096,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x20eaeb(0x3b5)][_0x20eaeb(0x1d9)](_0x5260d9),this[_0x20eaeb(0x2b8)][_0x20eaeb(0x2fb)](_0x5260d9,_0x4d692e['TEXT_RANGE_LAYER_INDEX']);}[_0x486c12(0x32c)](_0x337fb7){let _0x13106f=_0x337fb7[0x0],_0x4d5153=_0x13106f[0x0],_0x51eca9=_0x13106f[0x2],{x:_0x430fe6,y:_0x1f926b}=_0x4d5153,{x:_0x33dcc1,y:_0x1327a9}=_0x51eca9;return{'left':_0x430fe6,'top':_0x1f926b,'width':_0x33dcc1-_0x430fe6,'height':_0x1327a9-_0x1f926b};}[_0x486c12(0x2b7)](){const _0x4ef09f=_0x486c12;let {scaleX:_0x15c31d,scaleY:_0x429363}=this['_scene'][_0x4ef09f(0x186)]();return Math['max'](_0x15c31d,_0x429363);}};let _0x8c0b72=class extends _0x3789e1[_0x486c12(0x2f3)]{constructor(_0x583e0c,_0x35a3c5,_0x482636,_0x408868,_0x44a3d1){const _0x21ac07=_0x486c12;super(),this[_0x21ac07(0x37f)]=_0x583e0c,this[_0x21ac07(0x1f4)]=_0x35a3c5,this[_0x21ac07(0x1bb)]=_0x482636,this[_0x21ac07(0x3ac)]=_0x408868,this[_0x21ac07(0xe9)]=_0x44a3d1,_0x28a1e3(this,_0x21ac07(0x177),[]),_0x28a1e3(this,_0x21ac07(0xfd),[]),this[_0x21ac07(0x184)]();}['_init'](){const _0x238841=_0x486c12;let _0x369cd5=this[_0x238841(0x37f)]['unitId'],_0x3b404e=this[_0x238841(0x1f4)];this['disposeWithMe']((0x0,_0x4a289e[_0x238841(0x1db)])([this[_0x238841(0x1bb)]['getCollabCursors$'](_0x369cd5),this[_0x238841(0xe9)][_0x238841(0x3b8)]])[_0x238841(0x286)]((0x0,_0x21659b[_0x238841(0x397)])(([_0x36aa5e,_0x300c26])=>({'skeleton':_0x3b404e['getSkeleton'](),'cursors':[..._0x36aa5e[_0x238841(0x11e)]()]['flatMap'](_0x346453=>({..._0x346453,'color':this[_0x238841(0xe9)][_0x238841(0x220)](_0x346453[_0x238841(0x1b8)])}))})))[_0x238841(0x2df)](_0x3ca73a=>{if(this['_removeCollabCursors'](),_0x3ca73a){let {skeleton:_0x1a9e69,cursors:_0xab6dd7}=_0x3ca73a;this['_updateCollabCursors'](_0x1a9e69,_0xab6dd7);}})),this[_0x238841(0x36e)](),this[_0x238841(0x30d)]();}[_0x486c12(0x2b6)](_0x5df0b8,_0x51f6b9){const _0x2d0652=_0x486c12;let {scene:_0x7ff283,mainComponent:_0x8ad69c}=this[_0x2d0652(0x37f)];this[_0x2d0652(0x177)]=_0x51f6b9[_0x2d0652(0x397)](_0x47c2f7=>new _0x210b6c(_0x47c2f7,_0x7ff283,_0x5df0b8,_0x8ad69c)),this[_0x2d0652(0xfd)]=_0x51f6b9;}[_0x486c12(0x33d)](){const _0x59dedb=_0x486c12;this[_0x59dedb(0x2fa)]();let {scene:_0x57638a,mainComponent:_0x148049}=this[_0x59dedb(0x37f)],_0x3416b1=this[_0x59dedb(0x1f4)][_0x59dedb(0x170)]();this[_0x59dedb(0x177)]=this[_0x59dedb(0xfd)]['map'](_0x9a669c=>new _0x210b6c(_0x9a669c,_0x57638a,_0x3416b1,_0x148049));}[_0x486c12(0x2fa)](){const _0x24ef6b=_0x486c12;this[_0x24ef6b(0x177)][_0x24ef6b(0x377)](_0x210b37=>_0x210b37[_0x24ef6b(0x1b4)]()),this[_0x24ef6b(0x177)]=[];}['_initCommandExecutedListener'](){const _0x141e75=_0x486c12;let _0x5783f6=[_0x4d692e[_0x141e75(0x1a2)]['id']];this[_0x141e75(0x26a)](this[_0x141e75(0x3ac)][_0x141e75(0x390)](_0x336e7f=>{const _0x11bc21=_0x141e75;_0x5783f6[_0x11bc21(0x152)](_0x336e7f['id'])&&_0x336e7f['params'][_0x11bc21(0x2f0)]===this[_0x11bc21(0x37f)][_0x11bc21(0x2f0)]&&this[_0x11bc21(0x33d)]();}));}[_0x486c12(0x36e)](){const _0x2eaff6=_0x486c12;this['disposeWithMe']((0x0,_0x3789e1[_0x2eaff6(0x322)])(this['_context'][_0x2eaff6(0x301)]['onTransformChange$'])[_0x2eaff6(0x286)]((0x0,_0x21659b[_0x2eaff6(0x3aa)])(_0x27bee3=>_0x27bee3[_0x2eaff6(0x3a8)]===_0x4b5cb2[_0x2eaff6(0x321)][_0x2eaff6(0x2fe)]),(0x0,_0x21659b[_0x2eaff6(0x210)])(0x10))[_0x2eaff6(0x2df)](()=>{this['_refreshCollabCursors']();}));}};_0x8c0b72=_0x2eed91([_0x5dbd47(0x1,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x43a715[_0x486c12(0x182)])),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x59bc3e)),_0x5dbd47(0x3,_0x3789e1[_0x486c12(0x253)]),_0x5dbd47(0x4,(0x0,_0x3789e1['Inject'])(_0x3789e1['ThemeService']))],_0x8c0b72);var _0x573714=class extends _0x4b5cb2[_0x486c12(0xec)]{constructor(_0xb16d59,_0x1e0d6b){const _0x33e25a=_0x486c12;if(super(_0xb16d59,_0x1e0d6b),_0x28a1e3(this,_0x33e25a(0x367),void 0x0),_0x28a1e3(this,_0x33e25a(0x111),!0x1),_0x28a1e3(this,_0x33e25a(0x149),void 0x0),_0x28a1e3(this,'_name',''),_0x28a1e3(this,_0x33e25a(0xf2),_0x33e25a(0x39e)),_0x28a1e3(this,'_backgroundColor',void 0x0),_0x28a1e3(this,'_showText',void 0x0),_0x28a1e3(this,_0x33e25a(0x3a1),void 0x0),_0x28a1e3(this,_0x33e25a(0x139),0x4),_0x28a1e3(this,_0x33e25a(0x193),void 0x0),_0x28a1e3(this,_0x33e25a(0x31c),void 0x0),_0x28a1e3(this,_0x33e25a(0x15f),!0x0),_0x28a1e3(this,_0x33e25a(0x17f),0x0),_0x1e0d6b){var _0x1749e8;if(this[_0x33e25a(0x381)](_0x1e0d6b),_0x1e0d6b[_0x33e25a(0x18f)]&&((_0x1749e8=_0x1e0d6b[_0x33e25a(0x1d3)])==null?this[_0x33e25a(0x139)]:_0x1749e8)){var _0xf2b536;this['_startBlinking']((_0xf2b536=_0x1e0d6b[_0x33e25a(0x1d3)])==null?this[_0x33e25a(0x139)]:_0xf2b536);}}this['onPointerEnter$'][_0x33e25a(0x2c8)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x33e25a(0x266)][_0x33e25a(0x2c8)](()=>this[_0x33e25a(0x381)]({'hovered':!0x1}));}[_0x486c12(0x244)](_0x5abd76){this['_offsetY']=_0x5abd76;}[_0x486c12(0x381)](_0x284966){const _0x5f5b66=_0x486c12;var _0xf8407f,_0x341771,_0x110675,_0x3317c3,_0x5c34e7,_0xf17ea3,_0x494891;this[_0x5f5b66(0x367)]=(_0xf8407f=_0x284966['color'])==null?this[_0x5f5b66(0x367)]:_0xf8407f,this[_0x5f5b66(0x111)]=(_0x341771=_0x284966[_0x5f5b66(0x148)])==null?this[_0x5f5b66(0x111)]:_0x341771,this[_0x5f5b66(0x149)]=(_0x110675=_0x284966[_0x5f5b66(0x25d)])==null?this[_0x5f5b66(0x149)]:_0x110675,this[_0x5f5b66(0xfe)]=(_0x3317c3=_0x284966[_0x5f5b66(0x167)])==null?this['_name']:_0x3317c3,this[_0x5f5b66(0xf2)]=(_0x5c34e7=_0x284966[_0x5f5b66(0x136)])==null?this[_0x5f5b66(0xf2)]:_0x5c34e7,this[_0x5f5b66(0x289)]=(_0xf17ea3=_0x284966[_0x5f5b66(0x189)])==null?this[_0x5f5b66(0x289)]:_0xf17ea3,this[_0x5f5b66(0x17c)]=(_0x494891=_0x284966['showText'])==null?this[_0x5f5b66(0x17c)]:_0x494891,_0x284966['highlightSecond']!==void 0x0&&(this[_0x5f5b66(0x139)]=_0x284966[_0x5f5b66(0x1d3)]),_0x284966[_0x5f5b66(0x18f)]!==void 0x0&&(this[_0x5f5b66(0x3a1)]=_0x284966['highlight']),_0x284966[_0x5f5b66(0x1d6)]!==void 0x0&&(this[_0x5f5b66(0x17f)]=_0x284966[_0x5f5b66(0x1d6)]),this[_0x5f5b66(0x18a)]({'width':_0x284966[_0x5f5b66(0x144)],'height':_0x284966['height']});}[_0x486c12(0x2da)](_0x2ae81b){const _0x1f5bd4=_0x486c12;let {row:_0x345c1f,column:_0x95d49}=_0x2ae81b;if(_0x345c1f>=this[_0x1f5bd4(0x149)][_0x1f5bd4(0x116)]&&_0x345c1f<=this[_0x1f5bd4(0x149)][_0x1f5bd4(0x1ab)]&&_0x95d49>=this[_0x1f5bd4(0x149)]['startColumn']&&_0x95d49<=this['_range'][_0x1f5bd4(0x1cd)]){this[_0x1f5bd4(0x381)]({'hovered':!0x0});return;}this[_0x1f5bd4(0x381)]({'hovered':!0x1});}[_0x486c12(0x195)](_0x5abec8){const _0x3ff4c7=_0x486c12;this[_0x3ff4c7(0x354)](),this[_0x3ff4c7(0x15f)]=!0x0,this[_0x3ff4c7(0x31c)]=window[_0x3ff4c7(0x1ba)](()=>{const _0x386772=_0x3ff4c7;this['_isBlinkVisible']=!this[_0x386772(0x15f)],this['makeDirty'](!0x0);},0x1f4),this[_0x3ff4c7(0x193)]=window[_0x3ff4c7(0x31f)](()=>{const _0x42ec7c=_0x3ff4c7;this[_0x42ec7c(0x354)](),this[_0x42ec7c(0x15f)]=!0x0,this['makeDirty'](!0x0);},_0x5abec8*0x3e8);}[_0x486c12(0x354)](){const _0x1766e8=_0x486c12;this[_0x1766e8(0x31c)]&&(window['clearInterval'](this['_blinkIntervalTimer']),this[_0x1766e8(0x31c)]=void 0x0),this[_0x1766e8(0x193)]&&(window[_0x1766e8(0x2bf)](this[_0x1766e8(0x193)]),this[_0x1766e8(0x193)]=void 0x0);}[_0x486c12(0x29e)](_0x521dd2){return!0x1;}[_0x486c12(0x1b4)](){const _0x1d6344=_0x486c12;this[_0x1d6344(0x354)](),super[_0x1d6344(0x1b4)]();}[_0x486c12(0x209)](_0x44abf6){const _0x427c55=_0x486c12;var _0x260ed1;let _0x19294b=this[_0x427c55(0x367)],_0xa22401=this['_backgroundColor'];if(this[_0x427c55(0x3a1)]&&!this[_0x427c55(0x15f)]&&(_0x19294b=this[_0x427c55(0x34e)](this[_0x427c55(0x367)]),_0xa22401=this[_0x427c55(0x289)]?this[_0x427c55(0x34e)](this['_backgroundColor']):void 0x0),_0x4b5cb2[_0x427c55(0x25b)][_0x427c55(0x30c)](_0x44abf6,{'width':this['width'],'height':this[_0x427c55(0x1d4)],'strokeWidth':(_0x260ed1=this[_0x427c55(0x21d)])==null?1.5:_0x260ed1,'stroke':_0x19294b,'evented':!0x1,'fill':_0xa22401}),this[_0x427c55(0x111)]||this[_0x427c55(0x17c)]){var _0x1bc6e3;_0x44abf6['save'](),_0x44abf6[_0x427c55(0x372)](0x1,0x0,0x0,0x1,this[_0x427c55(0x144)],(this['_labelPosition']===_0x427c55(0x104)?0x0:-0x14)+((_0x1bc6e3=this['_offsetY'])==null?0x0:_0x1bc6e3)),_0x31aed2[_0x427c55(0x30c)](_0x44abf6,{'text':this[_0x427c55(0xfe)],'color':_0x19294b}),_0x44abf6[_0x427c55(0x364)]();}}[_0x486c12(0x34e)](_0x5e4b04){const _0x3b8cde=_0x486c12;return _0x5e4b04[_0x3b8cde(0xe8)]('#')?_0x3b8cde(0x23e)+Number[_0x3b8cde(0x281)](_0x5e4b04[_0x3b8cde(0x24f)](0x1,0x3),0x10)+',\x20'+Number['parseInt'](_0x5e4b04[_0x3b8cde(0x24f)](0x3,0x5),0x10)+',\x20'+Number[_0x3b8cde(0x281)](_0x5e4b04[_0x3b8cde(0x24f)](0x5,0x7),0x10)+_0x3b8cde(0x1d8):_0x5e4b04['startsWith'](_0x3b8cde(0x2ed))?_0x5e4b04[_0x3b8cde(0x350)](/[\d.]+\)$/g,_0x3b8cde(0x124)):_0x5e4b04['startsWith']('rgb')?_0x5e4b04[_0x3b8cde(0x350)](_0x3b8cde(0x112),_0x3b8cde(0x2ed))['replace'](')',_0x3b8cde(0x1d8)):_0x5e4b04;}};let _0x4d3930=class extends _0x3789e1[_0x486c12(0x2f3)]{constructor(_0x5786b5,_0x220fb4,_0x598bcc,_0x42204d){const _0x34141e=_0x486c12;super(),this[_0x34141e(0x37f)]=_0x5786b5,this[_0x34141e(0x1a4)]=_0x220fb4,this[_0x34141e(0x1bb)]=_0x598bcc,this[_0x34141e(0xe9)]=_0x42204d,_0x28a1e3(this,_0x34141e(0xfd),new Set()),_0x28a1e3(this,'_lastPointer',null),this['_init']();}['_init'](){const _0x50ad64=_0x486c12;this[_0x50ad64(0x1a4)][_0x50ad64(0x370)][_0x50ad64(0x286)]((0x0,_0x21659b['takeUntil'])(this[_0x50ad64(0x389)]),(0x0,_0x21659b['switchMap'])(_0x544d38=>{const _0x335084=_0x50ad64;if(_0x544d38){let _0x4e8cce=_0x544d38[_0x335084(0x197)];return(0x0,_0x4a289e[_0x335084(0x1db)])(this[_0x335084(0x1bb)]['getCollabCursors$'](this[_0x335084(0x37f)][_0x335084(0x2f0)]),this[_0x335084(0xe9)][_0x335084(0x3b8)])[_0x335084(0x286)]((0x0,_0x21659b[_0x335084(0x397)])(([_0x5739a6,_0x2fa677])=>{const _0x2cf6d9=_0x335084;let _0x2668e4=new Map();return _0x5739a6[_0x2cf6d9(0x377)]((_0xa33950,_0x5af9ba)=>{const _0x31d74b=_0x2cf6d9;if(_0xa33950['sheetID']===_0x4e8cce){let _0x107cfb={..._0xa33950};_0x107cfb[_0x31d74b(0x1b8)]=this[_0x31d74b(0xe9)][_0x31d74b(0x220)](_0xa33950[_0x31d74b(0x1b8)]),_0x2668e4[_0x31d74b(0x1de)](_0x5af9ba,_0x107cfb);}}),{'skeleton':_0x544d38,'cursors':_0x2668e4};}));}return(0x0,_0x4a289e['of'])({'skeleton':null,'cursors':new Map()});}))[_0x50ad64(0x2df)](({skeleton:_0x2f4ead,cursors:_0x4e48c5})=>{const _0xf76e27=_0x50ad64;this[_0xf76e27(0x2fa)](),_0x2f4ead&&this[_0xf76e27(0x2b6)](_0x2f4ead,_0x4e48c5);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x50ad64(0x2df)](_0x18443c=>{const _0x735014=_0x50ad64;if(_0x18443c==null)return;let {skeleton:_0x24a58c}=_0x18443c,{scene:_0x3167a0}=this[_0x735014(0x37f)];_0x3167a0[_0x735014(0x2c9)]['subscribeEvent']((0x0,_0x3789e1[_0x735014(0x373)])(_0x4fbf28=>{const _0x296de0=_0x735014;var _0x2e1f31,_0x4202d5;let {offsetX:_0x29993a,offsetY:_0x23c54f}=_0x4fbf28,{x:_0x401955,y:_0x583c35}=_0x3167a0[_0x296de0(0x191)](_0x4b5cb2[_0x296de0(0x26f)][_0x296de0(0x10d)]([_0x29993a,_0x23c54f])),{scaleX:_0xf62b14,scaleY:_0x5863df}=_0x3167a0[_0x296de0(0x186)](),_0x2b3971=_0x3167a0[_0x296de0(0x19d)](_0x4b5cb2[_0x296de0(0x24c)]['VIEW_MAIN']),_0x4de390=_0x3167a0[_0x296de0(0x137)](_0x4b5cb2['Vector2'][_0x296de0(0x10d)]([_0x401955,_0x583c35]),_0x2b3971),_0x37e856=_0x24a58c['getCellPositionByOffset'](_0x29993a,_0x23c54f,_0xf62b14,_0x5863df,_0x4de390);((_0x2e1f31=this[_0x296de0(0x1a7)])==null?void 0x0:_0x2e1f31[_0x296de0(0x2a4)])===_0x37e856['column']&&((_0x4202d5=this['_lastPointer'])==null?void 0x0:_0x4202d5[_0x296de0(0x1a0)])===_0x37e856['row']||this[_0x296de0(0xfd)][_0x296de0(0x377)](_0x1a2ccd=>{const _0x1198d3=_0x296de0;_0x1a2ccd[_0x1198d3(0x2da)](_0x37e856);});},0x64));});}[_0x486c12(0x2b6)](_0x1e8151,_0x2ba9a1){const _0x56e68b=_0x486c12;let _0x307601=this[_0x56e68b(0x1a4)]['getCurrentSkeleton']();if(!_0x307601)return;let _0x5a1c51=this[_0x56e68b(0x341)]();if(!_0x5a1c51)return;this[_0x56e68b(0xfd)]['forEach'](_0x5480dd=>{_0x5480dd['makeDirty']();});let {scene:_0x3104bf}=_0x5a1c51,_0x922b36=_0x172d5f(Array['from'](_0x2ba9a1[_0x56e68b(0x11e)]()))[_0x56e68b(0x397)](_0x3746a9=>{const _0x23a721=_0x56e68b;let {color:_0x445a53,range:_0x3e67bc,name:_0x10d9de,selection:_0x574084,sheetID:_0x52fe64}=_0x3746a9,{startColumn:_0xf47ac9,startRow:_0x571e9b,endColumn:_0x5f296c,endRow:_0x4d5ee0}=_0x3e67bc,_0x4e1f78=(0x0,_0x35b411['getCoordByCell'])(_0x571e9b,_0xf47ac9,_0x3104bf,_0x307601),_0x2a1efc=(0x0,_0x35b411[_0x23a721(0x1ac)])(_0x4d5ee0,_0x5f296c,_0x3104bf,_0x307601),{columnHeaderHeightAndMarginTop:_0x39d5cc}=_0x307601,{startX:_0x4413f5,startY:_0x18d29c}=_0x4e1f78,{endX:_0x5042c4,endY:_0x88a6b}=_0x2a1efc,_0x1a7d5f=_0x5042c4-_0x4413f5,_0x284116=_0x88a6b-_0x18d29c;return new _0x573714(_0x10d9de,{'labelPosition':_0x18d29c-_0x39d5cc>=0x14?_0x23a721(0x39e):_0x23a721(0x104),'sheetID':_0x52fe64,'range':_0x3e67bc,'color':_0x445a53,'name':_0x10d9de,'selection':_0x574084,'left':_0x4413f5,'top':_0x18d29c,'width':_0x1a7d5f,'height':_0x284116,'evented':!0x1,'zIndex':0x1389});});_0x3104bf[_0x56e68b(0x324)](_0x922b36,0x1),this[_0x56e68b(0xfd)]=new Set(_0x922b36);}['_removeCollabCursors'](){const _0x6e67f4=_0x486c12;var _0x495fdc;(_0x495fdc=this[_0x6e67f4(0xfd)])==null||_0x495fdc['forEach'](_0x3417b8=>_0x3417b8[_0x6e67f4(0x1b4)]());}[_0x486c12(0x341)](){const _0x2d40ae=_0x486c12;return(0x0,_0x35b411[_0x2d40ae(0x335)])(this[_0x2d40ae(0x37f)][_0x2d40ae(0x264)],this['_context']);}};_0x4d3930=_0x2eed91([_0x5dbd47(0x1,(0x0,_0x3789e1['Inject'])(_0x35b411[_0x486c12(0x29b)])),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x59bc3e)),_0x5dbd47(0x3,(0x0,_0x3789e1['Inject'])(_0x3789e1[_0x486c12(0x198)]))],_0x4d3930);function _0x172d5f(_0x462b4a){const _0x1c11e8=_0x486c12;let _0xa8874e=new Map();return _0x462b4a[_0x1c11e8(0x377)](_0xdd5fa7=>{const _0x5dc12a=_0x1c11e8;if(_0xa8874e[_0x5dc12a(0x35e)](_0xdd5fa7[_0x5dc12a(0x34d)])){let _0x452694=_0xa8874e[_0x5dc12a(0x114)](_0xdd5fa7[_0x5dc12a(0x34d)]);_0x452694[_0x5dc12a(0x167)]+=',\x20'+_0xdd5fa7[_0x5dc12a(0x167)];}else _0xa8874e['set'](_0xdd5fa7['selection'],_0xdd5fa7);}),Array['from'](_0xa8874e[_0x1c11e8(0x11e)]());}let _0x3bb688=class extends _0x3789e1['Disposable']{constructor(_0x28e265,_0x548d2b,_0x5da078,_0x226fe5,_0x476fd4,_0x199c42){const _0x1aa432=_0x486c12;super(),this['_beforeCloseService']=_0x28e265,this[_0x1aa432(0x395)]=_0x548d2b,this[_0x1aa432(0x3c3)]=_0x5da078,this[_0x1aa432(0x147)]=_0x226fe5,this[_0x1aa432(0x347)]=_0x476fd4,this[_0x1aa432(0x2b0)]=_0x199c42,this[_0x1aa432(0x158)](),this[_0x1aa432(0x39d)]();}[_0x486c12(0x158)](){const _0x19237b=_0x486c12;this['disposeWithMe'](this['_beforeCloseService'][_0x19237b(0x342)](()=>{const _0x58227d=_0x19237b;if(this[_0x58227d(0x395)][_0x58227d(0x22e)]['size'])return this[_0x58227d(0x2b0)]['t'](_0x58227d(0x160));}));}[_0x486c12(0x39d)](){const _0x51e10b=_0x486c12;this[_0x51e10b(0x26a)](this[_0x51e10b(0x3c3)]['event$']['subscribe'](_0x1f4207=>{const _0x1dd249=_0x51e10b;_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x1d0)]&&this[_0x1dd249(0x147)][_0x1dd249(0x366)]({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x22d)],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x161)]&&this[_0x1dd249(0x147)]['show']({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x22d)],'content':this[_0x1dd249(0x2b0)]['t'](_0x1dd249(0x31b))}),_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x32b)]&&this[_0x1dd249(0x347)][_0x1dd249(0x366)]({'title':this[_0x1dd249(0x2b0)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0x1dd249(0x120),'duration':0x0}),_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x1eb)]&&this[_0x1dd249(0x147)][_0x1dd249(0x366)]({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x16a)],'content':this[_0x1dd249(0x2b0)]['t'](_0x1dd249(0x31b))+'('+_0x1f4207[_0x1dd249(0x3c4)]+')'}),_0x1f4207['id']===_0x5ba2ed['CollaborationUIEventId'][_0x1dd249(0x27a)]&&this['_messageService'][_0x1dd249(0x366)]({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x22d)],'content':this[_0x1dd249(0x2b0)]['t'](_0x1f4207[_0x1dd249(0x3c4)]||'')}),_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x174)]&&this[_0x1dd249(0x147)]['show']({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x22d)],'content':this['_localeService']['t'](_0x1dd249(0x1bd))}),_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x3b3)]&&this[_0x1dd249(0x147)][_0x1dd249(0x366)]({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x16a)],'content':this[_0x1dd249(0x2b0)]['t'](_0x1dd249(0x20e))}),_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x1e2)]&&this[_0x1dd249(0x147)][_0x1dd249(0x366)]({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x16a)],'content':this[_0x1dd249(0x2b0)]['t'](_0x1dd249(0x3c6))});}));}};_0x3bb688=_0x2eed91([_0x5dbd47(0x0,_0x28956d['IBeforeCloseService']),_0x5dbd47(0x1,_0x5ba2ed[_0x486c12(0x3a0)]),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x5ba2ed['CollaborationUIEventService'])),_0x5dbd47(0x3,_0x28956d[_0x486c12(0x190)]),_0x5dbd47(0x4,_0x28956d[_0x486c12(0x11d)]),_0x5dbd47(0x5,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x260)]))],_0x3bb688);let _0x529e28='collaboration-client-ui.config';Symbol(_0x529e28);let _0x157272={},_0x1dc143=class{constructor(_0x316ab1,_0x6c5b5d){const _0x324d4e=_0x486c12;this[_0x324d4e(0x10c)]=_0x316ab1,this[_0x324d4e(0x305)]=_0x6c5b5d;}[_0x486c12(0x291)](_0x30c14f){const _0x29f88d=_0x486c12;this[_0x29f88d(0x1e7)](_0x30c14f),this[_0x29f88d(0x271)](_0x30c14f);}['transformRemoteChangeset'](_0x2ffaa7){const _0x417436=_0x486c12;let {unitID:_0xfa1e24}=_0x2ffaa7,{redoCache:_0x452345}=this[_0x417436(0x305)][_0x417436(0x103)](_0xfa1e24)['with'](_0x4d692e[_0x417436(0x1ad)])[_0x417436(0x2bd)]();if(_0x452345[_0x417436(0x391)]===0x0)return _0x2ffaa7;let _0x31d3d1=_0x3789e1['Tools'][_0x417436(0x1e0)](_0x2ffaa7[_0x417436(0x29a)][0x0]);for(let _0x4d5bbc=0x0;_0x4d5bbc<_0x452345['length'];_0x4d5bbc++){let _0x32cfa2={'id':_0x417436(0x259),'params':{..._0x452345[_0x4d5bbc]}},_0x410c73=this[_0x417436(0x10c)][_0x417436(0x392)](_0x31d3d1,_0x32cfa2,!0x1);if((0x0,_0x136fe4['isTransformMutationFailure'])(_0x410c73))throw _0x410c73[_0x417436(0x120)];_0x31d3d1=_0x410c73[_0x417436(0x2fd)];}return{..._0x3789e1['Tools'][_0x417436(0x1e0)](_0x2ffaa7),'mutations':[_0x31d3d1]};}[_0x486c12(0x1e7)](_0x981f2c){const _0xcacea=_0x486c12;let {unitID:_0x3f3b40}=_0x981f2c,_0x492f6a=this[_0xcacea(0x305)][_0xcacea(0x103)](_0x3f3b40)[_0xcacea(0x2e0)](_0x4d692e['DocIMEInputManagerService']),{undoCache:_0x1355e3,redoCache:_0x35f486}=_0x492f6a[_0xcacea(0x2bd)]();if(_0x1355e3['length']===0x0||_0x35f486['length']===0x0)return;let _0x35621a=[],_0x19eb0d=[],_0x51b906=_0x3789e1[_0xcacea(0x1e4)][_0xcacea(0x1e0)](_0x981f2c[_0xcacea(0x29a)][0x0]),_0x3dfaaf=_0x3789e1['Tools'][_0xcacea(0x1e0)](_0x981f2c['mutations'][0x0]);for(let _0x43824f=_0x1355e3['length']-0x1;_0x43824f>=0x0;_0x43824f--){let _0x357152={'id':'doc.mutation.rich-text-editing','params':{..._0x1355e3[_0x43824f]}},_0x2aee85={'id':_0xcacea(0x259),'params':{..._0x35f486[_0x43824f]}},_0x24754f=this[_0xcacea(0x10c)][_0xcacea(0x392)](_0x51b906,_0x357152,!0x1),_0x5d6704=this[_0xcacea(0x10c)][_0xcacea(0x392)](_0x3dfaaf,_0x2aee85,!0x1);if((0x0,_0x136fe4[_0xcacea(0x327)])(_0x24754f))throw _0x24754f[_0xcacea(0x120)];if((0x0,_0x136fe4[_0xcacea(0x327)])(_0x5d6704))throw _0x5d6704['error'];_0x35621a[_0xcacea(0x261)](_0x24754f[_0xcacea(0x130)]['params']),_0x19eb0d[_0xcacea(0x261)](_0x5d6704[_0xcacea(0x130)][_0xcacea(0x230)]),_0x51b906=_0x24754f[_0xcacea(0x2fd)],_0x3dfaaf=_0x5d6704[_0xcacea(0x2fd)];}_0x492f6a[_0xcacea(0x358)]({'undoCache':_0x35621a,'redoCache':_0x19eb0d});}[_0x486c12(0x271)](_0x30a90c){const _0x357bfd=_0x486c12;let {unitID:_0x13dea0}=_0x30a90c,_0x414888=this[_0x357bfd(0x305)]['getRenderById'](_0x13dea0)[_0x357bfd(0x2e0)](_0x4d692e[_0x357bfd(0x1ad)]),_0x1bc9d1=_0x414888[_0x357bfd(0x323)]();if(_0x1bc9d1==null)return;let _0x154f20=[{'id':_0x357bfd(0x259),'params':{'unitId':_0x30a90c[_0x357bfd(0x164)],'actions':null,'textRanges':[_0x1bc9d1]}}],_0x504c1c=this[_0x357bfd(0x10c)][_0x357bfd(0x119)](_0x30a90c,_0x154f20);if(!(0x0,_0x136fe4[_0x357bfd(0x12e)])(_0x504c1c))throw _0x504c1c[_0x357bfd(0x120)];let _0xce8f73=_0x504c1c[_0x357bfd(0x130)][0x0]['params'][_0x357bfd(0x31a)];Array[_0x357bfd(0x18c)](_0xce8f73)&&_0xce8f73[_0x357bfd(0x391)]&&_0x414888[_0x357bfd(0x163)](_0xce8f73[0x0]);}};_0x1dc143=_0x2eed91([_0x5dbd47(0x0,_0x136fe4[_0x486c12(0x1af)]),_0x5dbd47(0x1,_0x4b5cb2[_0x486c12(0xf0)])],_0x1dc143);let _0x4e2c0d=class{constructor(_0x27d192,_0x30d9a4,_0xf15f23){const _0xd152ed=_0x486c12;this[_0xd152ed(0x2bb)]=_0x27d192,this[_0xd152ed(0x10c)]=_0x30d9a4,this[_0xd152ed(0x21f)]=_0xf15f23;}[_0x486c12(0x3ba)](_0x9e0321){const _0x374891=_0x486c12;this[_0x374891(0x138)](_0x9e0321);}[_0x486c12(0x2b1)](_0x83b2ae){const _0x1b73d7=_0x486c12;let {unitID:_0x311984}=_0x83b2ae,{collaboration:_0x44e473}=this[_0x1b73d7(0x21f)][_0x1b73d7(0x1a6)](_0x311984);if(_0x44e473[_0x1b73d7(0x391)]===0x0)return _0x83b2ae;let _0x4d014c=_0x3789e1[_0x1b73d7(0x1e4)][_0x1b73d7(0x1e0)](_0x83b2ae[_0x1b73d7(0x29a)][0x0]);for(let _0x13616d=0x0;_0x13616d<_0x44e473['length'];_0x13616d++){let _0x1edf21={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x44e473[_0x13616d][_0x1b73d7(0x2f0)],..._0x44e473[_0x13616d][_0x1b73d7(0x233)]}},_0x2c024b=this[_0x1b73d7(0x10c)]['transformMutation'](_0x4d014c,_0x1edf21,!0x1);if((0x0,_0x136fe4[_0x1b73d7(0x327)])(_0x2c024b))throw _0x2c024b[_0x1b73d7(0x120)];_0x4d014c=_0x2c024b['m1Prime'];}return{..._0x3789e1['Tools']['deepClone'](_0x83b2ae),'mutations':[_0x4d014c]};}['_transformHistoryAndStateStack'](_0x9ed3b8){const _0x2de605=_0x486c12;let {unitID:_0x53c774}=_0x9ed3b8,{history:_0x37fb20,collaboration:_0x342682}=this[_0x2de605(0x21f)][_0x2de605(0x1a6)](_0x53c774);if(_0x37fb20[_0x2de605(0x391)]===0x0&&_0x342682[_0x2de605(0x391)]===0x0)return;let _0x20c38a=[],_0x482565=[],_0x41df6e=_0x3789e1['Tools'][_0x2de605(0x1e0)](_0x9ed3b8[_0x2de605(0x29a)][0x0]),_0x36b6ed=_0x3789e1[_0x2de605(0x1e4)][_0x2de605(0x1e0)](_0x9ed3b8[_0x2de605(0x29a)][0x0]);for(let _0x5f4282=_0x37fb20[_0x2de605(0x391)]-0x1;_0x5f4282>=0x0;_0x5f4282--){let _0x550fec={'id':_0x2de605(0x259),'params':{'unitId':_0x37fb20[_0x5f4282][_0x2de605(0x2f0)],..._0x37fb20[_0x5f4282][_0x2de605(0x3a6)]}},_0x3e4b1d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x37fb20[_0x5f4282][_0x2de605(0x2f0)],..._0x37fb20[_0x5f4282][_0x2de605(0x233)]}},_0x285154=this['_transformService'][_0x2de605(0x392)](_0x41df6e,_0x550fec,!0x1),_0x4699b1=this['_transformService']['transformMutation'](_0x36b6ed,_0x3e4b1d,!0x1);if((0x0,_0x136fe4[_0x2de605(0x327)])(_0x285154))throw _0x285154[_0x2de605(0x120)];if((0x0,_0x136fe4[_0x2de605(0x327)])(_0x4699b1))throw _0x4699b1[_0x2de605(0x120)];_0x20c38a[_0x2de605(0x261)]({..._0x37fb20[_0x5f4282],'undoState':_0x285154[_0x2de605(0x130)][_0x2de605(0x230)],'redoState':_0x4699b1[_0x2de605(0x130)][_0x2de605(0x230)]}),_0x41df6e=_0x285154['m1Prime'],_0x36b6ed=_0x4699b1['m1Prime'];}_0x41df6e=_0x3789e1[_0x2de605(0x1e4)][_0x2de605(0x1e0)](_0x9ed3b8['mutations'][0x0]),_0x36b6ed=_0x3789e1[_0x2de605(0x1e4)]['deepClone'](_0x9ed3b8[_0x2de605(0x29a)][0x0]);for(let _0xd0ab15=_0x342682[_0x2de605(0x391)]-0x1;_0xd0ab15>=0x0;_0xd0ab15--){let _0x587335={'id':_0x2de605(0x259),'params':{'unitId':_0x342682[_0xd0ab15][_0x2de605(0x2f0)],..._0x342682[_0xd0ab15][_0x2de605(0x3a6)]}},_0x2cb1ae={'id':_0x2de605(0x259),'params':{'unitId':_0x342682[_0xd0ab15][_0x2de605(0x2f0)],..._0x342682[_0xd0ab15][_0x2de605(0x233)]}},_0x4a3bde=this[_0x2de605(0x10c)]['transformMutation'](_0x41df6e,_0x587335,!0x1),_0x5054d8=this['_transformService']['transformMutation'](_0x36b6ed,_0x2cb1ae,!0x1);if((0x0,_0x136fe4[_0x2de605(0x327)])(_0x4a3bde))throw _0x4a3bde['error'];if((0x0,_0x136fe4['isTransformMutationFailure'])(_0x5054d8))throw _0x5054d8[_0x2de605(0x120)];_0x482565['unshift']({..._0x342682[_0xd0ab15],'undoState':_0x4a3bde[_0x2de605(0x130)][_0x2de605(0x230)],'redoState':_0x5054d8[_0x2de605(0x130)][_0x2de605(0x230)]}),_0x41df6e=_0x4a3bde['m1Prime'],_0x36b6ed=_0x5054d8[_0x2de605(0x2fd)];}this['_docStateChangeManagerService']['setStateCache'](_0x53c774,{'history':_0x20c38a,'collaboration':_0x482565});}};_0x4e2c0d=_0x2eed91([_0x5dbd47(0x0,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x1,_0x136fe4['ITransformService']),_0x5dbd47(0x2,(0x0,_0x3789e1['Inject'])(_0x4d692e[_0x486c12(0x15a)]))],_0x4e2c0d);let _0x115b18=class{constructor(_0x99f86e,_0x4ae26d){const _0xe3756c=_0x486c12;this[_0xe3756c(0x2bb)]=_0x99f86e,this[_0xe3756c(0x10c)]=_0x4ae26d;}[_0x486c12(0x169)](_0x28294b){const _0x33de51=_0x486c12;var _0x4ea723;let _0x5b48d9=this[_0x33de51(0x2bb)][_0x33de51(0x114)](_0x43a715[_0x33de51(0x250)]),_0x57a36f=(_0x4ea723=_0x5b48d9['getDocRanges']())==null?[]:_0x4ea723;if(_0x57a36f['length']===0x0)return;let _0x2d7aa=_0x28294b[_0x33de51(0x164)],_0x554c4e=[{'id':_0x33de51(0x259),'params':{'unitId':_0x2d7aa,'actions':null,'textRanges':_0x57a36f}}],_0x730645=this[_0x33de51(0x10c)][_0x33de51(0x119)](_0x28294b,_0x554c4e);if(!(0x0,_0x136fe4[_0x33de51(0x12e)])(_0x730645))throw _0x730645[_0x33de51(0x120)];let _0x4756d8=_0x730645[_0x33de51(0x130)][0x0][_0x33de51(0x230)]['textRanges'];Array['isArray'](_0x4756d8)&&_0x4756d8[_0x33de51(0x391)]&&_0x5b48d9[_0x33de51(0x306)](_0x4756d8,{'unitId':_0x2d7aa,'subUnitId':_0x2d7aa},!0x1);}};_0x115b18=_0x2eed91([_0x5dbd47(0x0,(0x0,_0x3789e1['Inject'])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x1,_0x136fe4[_0x486c12(0x1af)])],_0x115b18);let _0x27249b=class extends _0x3789e1['Disposable']{constructor(_0x3e5bf8,_0x5c57c7,_0x4a4265,_0x4c5283,_0x5edf8f,_0x110aca,_0x4efb86,_0x1248ec){const _0x164e76=_0x486c12;super(),this[_0x164e76(0x21f)]=_0x3e5bf8,this[_0x164e76(0xe5)]=_0x5c57c7,this[_0x164e76(0x2ec)]=_0x4a4265,this[_0x164e76(0x2b2)]=_0x4c5283,this[_0x164e76(0x157)]=_0x5edf8f,this['_docSyncEditingCollabCursorService']=_0x110aca,this[_0x164e76(0x147)]=_0x4efb86,this[_0x164e76(0x2b0)]=_0x1248ec,_0x28a1e3(this,'_status$',new _0x4a289e[(_0x164e76(0x13f))](_0x5ba2ed[_0x164e76(0x290)][_0x164e76(0x1ef)])),this[_0x164e76(0x11a)]();}[_0x486c12(0x11a)](){const _0xe1a8da=_0x486c12;this[_0xe1a8da(0x26a)](this[_0xe1a8da(0xe5)][_0xe1a8da(0x11f)][_0xe1a8da(0x2df)](_0x411399=>{const _0x520906=_0xe1a8da;let _0x116ad3=this[_0x520906(0x21f)][_0x520906(0x17e)][_0x520906(0x2df)](_0x1ba696=>{const _0x528465=_0x520906;if(_0x1ba696==null)return;let {unitId:_0x455bf1,redoState:_0x12e489,commandId:_0x100191}=_0x1ba696;if(_0x455bf1!==_0x411399[_0x528465(0x164)])return;let _0x2f8095={'id':_0x100191,'type':_0x3789e1['CommandType']['MUTATION'],'params':{'unitId':_0x455bf1,'actions':_0x12e489[_0x528465(0x2e7)],'textRanges':null}};_0x411399[_0x528465(0x199)](_0x2f8095);});_0x411399['disposeWithMe'](_0x116ad3),_0x411399 instanceof _0x5ba2ed[_0x520906(0x2a5)]&&_0x411399['addHandlerCallback']({'onTransformIME':_0x889800=>this[_0x520906(0x2ec)][_0x520906(0x291)](_0x889800),'onTransformState':_0x347202=>this[_0x520906(0x2b2)][_0x520906(0x3ba)](_0x347202),'onTransformSelections':_0x5a92f0=>this[_0x520906(0x157)][_0x520906(0x169)](_0x5a92f0),'onSyncEditingCollabCursor':_0x458f6d=>this[_0x520906(0x1a5)][_0x520906(0x16b)](_0x458f6d),'onTransformRemoteChangesetByIMECache':_0x320201=>this[_0x520906(0x2ec)][_0x520906(0x2b1)](_0x320201),'onTransformRemoteChangesetByStateCache':_0x3ff69e=>this[_0x520906(0x2b2)][_0x520906(0x2b1)](_0x3ff69e)});}));}};_0x27249b=_0x2eed91([_0x5dbd47(0x0,(0x0,_0x3789e1['Inject'])(_0x4d692e[_0x486c12(0x15a)])),_0x5dbd47(0x1,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x5ba2ed[_0x486c12(0x19a)])),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x1dc143)),_0x5dbd47(0x3,(0x0,_0x3789e1['Inject'])(_0x4e2c0d)),_0x5dbd47(0x4,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x115b18)),_0x5dbd47(0x5,(0x0,_0x3789e1['Inject'])(_0xb4d8f5)),_0x5dbd47(0x6,_0x28956d[_0x486c12(0x190)]),_0x5dbd47(0x7,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x260)]))],_0x27249b);let _0x558a6b=class extends _0x3789e1[_0x486c12(0x33a)]{constructor(_0x3c6f07,_0x40d970,_0x555e97,_0xe099e1){const _0x2c6d3b=_0x486c12;super(),this[_0x2c6d3b(0x2bb)]=_0x3c6f07,this[_0x2c6d3b(0x24b)]=_0x40d970,this[_0x2c6d3b(0x3bc)]=_0x555e97,this[_0x2c6d3b(0x254)]=_0xe099e1,_0x28a1e3(this,_0x2c6d3b(0x142),void 0x0),this['_init']();}[_0x486c12(0x184)](){const _0x2729a2=_0x486c12;this['_initWindowErrorListener'](),this[_0x2729a2(0x38d)](),this[_0x2729a2(0x32d)](),this[_0x2729a2(0x2ba)]();}[_0x486c12(0x2ba)](){const _0x1a1432=_0x486c12;this[_0x1a1432(0x26a)](this['_collaborationSessionService']['socket$'][_0x1a1432(0x2df)](_0x48041f=>{const _0x3d44f8=_0x1a1432;this[_0x3d44f8(0x142)]=_0x48041f==null?void 0x0:_0x48041f['memberID'];}));}[_0x486c12(0x27c)](){const _0x11f724=_0x486c12;let _0x5dd5dd=_0x5d125b=>{const _0x5d97b6=_0x3eb0;var _0x12bec3;this[_0x5d97b6(0x2c3)]('error',_0x5d97b6(0x33e)+_0x5d125b[_0x5d97b6(0x1b5)]+_0x5d97b6(0x35b)+_0x5d125b[_0x5d97b6(0x1e8)]+':'+_0x5d125b[_0x5d97b6(0x1c3)]+':'+_0x5d125b['colno']+'\x0a'+(((_0x12bec3=_0x5d125b[_0x5d97b6(0x120)])==null?void 0x0:_0x12bec3[_0x5d97b6(0x2d1)])||''));};window[_0x11f724(0x19f)](_0x11f724(0x120),_0x5dd5dd),this[_0x11f724(0x26a)](()=>{const _0x3d00b2=_0x11f724;window[_0x3d00b2(0x3c8)](_0x3d00b2(0x120),_0x5dd5dd);});}[_0x486c12(0x38d)](){const _0x3db13f=_0x486c12;let _0x12d373=_0x469d6d=>{const _0x4ed178=_0x3eb0;this[_0x4ed178(0x2c3)](_0x4ed178(0x120),_0x4ed178(0x1cb)+_0x469d6d[_0x4ed178(0x22b)]);};window[_0x3db13f(0x19f)](_0x3db13f(0x105),_0x12d373),this[_0x3db13f(0x26a)](()=>{const _0x2d0a6d=_0x3db13f;window[_0x2d0a6d(0x3c8)](_0x2d0a6d(0x105),_0x12d373);});}[_0x486c12(0x32d)](){const _0x5e8175=_0x486c12;let _0x103845=this[_0x5e8175(0x3bc)][_0x5e8175(0x120)]['bind'](this[_0x5e8175(0x3bc)]);this[_0x5e8175(0x3bc)][_0x5e8175(0x120)]=(..._0x337617)=>{const _0x51b125=_0x5e8175;let _0x56cdf1=_0x337617[_0x51b125(0x397)](_0x21e969=>_0x21e969 instanceof Error?_0x21e969[_0x51b125(0x1b5)]+'\x0a'+_0x21e969['stack']:String(_0x21e969))[_0x51b125(0x313)]('\x20');this['_uploadLog'](_0x51b125(0x120),_0x51b125(0x287)+_0x56cdf1),_0x103845(..._0x337617);},this['disposeWithMe'](()=>{const _0x3c3917=_0x5e8175;this[_0x3c3917(0x3bc)][_0x3c3917(0x120)]=_0x103845;});}['_uploadLog'](_0x332185,_0x3452ea){const _0x129fd0=_0x486c12;try{let _0x24d2d9={'userId':this[_0x129fd0(0x142)],'logLabel':_0x332185,'content':_0x3452ea};this['_httpService'][_0x129fd0(0x368)](_0x129fd0(0x132),{'body':_0x24d2d9})[_0x129fd0(0x2e4)](()=>{});}catch{}}};_0x558a6b=_0x2eed91([_0x5dbd47(0x0,(0x0,_0x3789e1['Inject'])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x1,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x2ccad2[_0x486c12(0x1a9)])),_0x5dbd47(0x2,_0x3789e1[_0x486c12(0x2b9)]),_0x5dbd47(0x3,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x5ba2ed[_0x486c12(0x128)]))],_0x558a6b);function _0x41a53b(_0xfb89fd){const _0x333910=_0x486c12;var _0x35dca6,_0x2d1e52;let _0x1f75ea=(_0x35dca6=_0xfb89fd[_0x333910(0x240)])==null?void 0x0:_0x35dca6[_0x333910(0x3af)],_0x24c6e8=((_0x2d1e52=_0xfb89fd[_0x333910(0x240)])==null?void 0x0:_0x2d1e52[_0x333910(0x1f0)])||0x0;return _0x1f75ea===_0x12c154[_0x333910(0x37c)][_0x333910(0x2b3)]&&_0x24c6e8>0x0;}function _0x30afc0(_0xa7bf90){const _0x3e2292=_0x486c12;return _0xa7bf90[_0x3e2292(0x100)]===_0x12c154['FormulaExecutedStateType'][_0x3e2292(0x267)];}let _0x3c0988=class extends _0x3789e1[_0x486c12(0x33a)]{constructor(_0x5ccb1b,_0x59a544,_0x4358ad,_0x1dcd3c,_0x358c22,_0x481255,_0x4b8e61){const _0x3a4425=_0x486c12;super(),this[_0x3a4425(0x147)]=_0x5ccb1b,this[_0x3a4425(0x3ac)]=_0x59a544,this[_0x3a4425(0x2f7)]=_0x4358ad,this['_httpService']=_0x1dcd3c,this[_0x3a4425(0x13d)]=_0x358c22,this[_0x3a4425(0x3bc)]=_0x481255,this['_localeService']=_0x4b8e61,_0x28a1e3(this,_0x3a4425(0x39f),null),_0x28a1e3(this,_0x3a4425(0x388),0x0),_0x28a1e3(this,_0x3a4425(0x1c7),0x0),_0x28a1e3(this,_0x3a4425(0xf4),[]),_0x28a1e3(this,_0x3a4425(0x269),0x0),this[_0x3a4425(0x38e)]();}[_0x486c12(0x38e)](){const _0x5f0ea2=_0x486c12;this[_0x5f0ea2(0x26a)](this[_0x5f0ea2(0x3ac)][_0x5f0ea2(0x1fc)]((_0x305dc2,_0xd91981)=>{const _0x15ec04=_0x5f0ea2;var _0x45f92a;if(_0x305dc2['id']!==_0x12c154[_0x15ec04(0x11c)]['id'])return;let _0x140b2f=_0x305dc2[_0x15ec04(0x230)];if(this['_hasFormulaInDirtyRanges']((_0x45f92a=_0x140b2f[_0x15ec04(0x2a7)])==null?[]:_0x45f92a)&&!this[_0x15ec04(0x2e1)]())throw this[_0x15ec04(0x21e)](_0x305dc2,_0xd91981),this[_0x15ec04(0x178)](),new _0x3789e1['CanceledError']();})),this[_0x5f0ea2(0x26a)](this[_0x5f0ea2(0x3ac)]['onCommandExecuted']((_0x4581b3,_0x2c1f5d)=>{const _0x395327=_0x5f0ea2;if(_0x4581b3['id']!==_0x12c154['SetFormulaCalculationNotificationMutation']['id'])return;let _0x5a954d=_0x4581b3[_0x395327(0x230)];if(_0x41a53b(_0x5a954d)){let _0x85e801=(0x0,_0x3789e1[_0x395327(0x211)])();this[_0x395327(0xf4)]['push'](_0x85e801),this['_startCalculationLimit'](_0x85e801);}else{if(_0x30afc0(_0x5a954d)&&this['_taskIds'][_0x395327(0x391)]>0x0){let _0x50a7c5=this['_taskIds'][_0x395327(0x108)]();this[_0x395327(0xe2)](_0x50a7c5);}}}));}['dispose'](){const _0x2ecfe0=_0x486c12;super['dispose'](),this[_0x2ecfe0(0x1c8)](),this[_0x2ecfe0(0xf4)]=[],this[_0x2ecfe0(0x1c7)]=0x0,this[_0x2ecfe0(0x388)]=0x0,this[_0x2ecfe0(0x269)]=0x0;}async[_0x486c12(0x21e)](_0x262399,_0xb6cf1c){const _0x1dba60=_0x486c12;for(let _0x574ebf=0x0;_0x574ebf<0x1e;_0x574ebf++)try{if(await this[_0x1dba60(0x26b)](),this[_0x1dba60(0x2e1)]()){this[_0x1dba60(0x243)](_0x262399,_0xb6cf1c),this[_0x1dba60(0x147)][_0x1dba60(0x366)]({'content':this['_localeService']['t'](_0x1dba60(0x173)),'type':_0x239455[_0x1dba60(0x30b)][_0x1dba60(0x318)]});return;}await new Promise(_0x267921=>{const _0x26160a=_0x1dba60;this[_0x26160a(0x39f)]=window['setTimeout'](_0x267921,0x3e8);});}catch(_0x438bc5){this[_0x1dba60(0x3bc)]['error'](_0x438bc5);}this['_messageService'][_0x1dba60(0x366)]({'content':this['_localeService']['t'](_0x1dba60(0x2d3)),'type':_0x239455[_0x1dba60(0x30b)][_0x1dba60(0x16a)]});}[_0x486c12(0x243)](_0x15f251,_0x133396){const _0xe7df52=_0x486c12;try{this['_commandService']['executeCommand'](_0x15f251['id'],_0x15f251['params'],_0x133396);}catch(_0x284dd3){this['_logService'][_0xe7df52(0x120)](_0x284dd3);}}[_0x486c12(0x363)](_0x548c07,_0x13a9ba){const _0x541435=_0x486c12;_0x13a9ba<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x13a9ba,this[_0x541435(0x388)]=Number[_0x541435(0x281)](_0x548c07[_0x541435(0x336)]),this['_currentUsage']=Number[_0x541435(0x281)](_0x548c07[_0x541435(0x20f)]));}async[_0x486c12(0x393)](_0x1d0c00){const _0x1d3c2d=_0x486c12;let _0x4eaf65=Date['now']();try{var _0x12470d,_0x184031;let _0x5b35c0=((_0x12470d=this[_0x1d3c2d(0x2f7)]['getConfig'](_0x5ba2ed[_0x1d3c2d(0x275)]))==null?void 0x0:_0x12470d[_0x1d3c2d(0x15b)])||_0x1d3c2d(0x308),_0x547230=(await this['_httpService']['post'](_0x5b35c0,{'body':JSON[_0x1d3c2d(0x374)]({'taskId':_0x1d0c00})}))[_0x1d3c2d(0x1a1)];if(((_0x184031=_0x547230['error'])==null?void 0x0:_0x184031[_0x1d3c2d(0x379)])!==_0x53e205[_0x1d3c2d(0x314)]['OK'])return;this[_0x1d3c2d(0x363)](_0x547230[_0x1d3c2d(0x13b)],_0x4eaf65);}catch(_0xb2e5db){this[_0x1d3c2d(0x3bc)][_0x1d3c2d(0x120)](_0xb2e5db);}}async[_0x486c12(0x26b)](_0x686d5f){const _0xcd475c=_0x486c12;let _0x4792ac=Date['now']();try{var _0x213fb7,_0x3c6e0c;let _0xd797c8=((_0x213fb7=this[_0xcd475c(0x2f7)][_0xcd475c(0x172)](_0x5ba2ed[_0xcd475c(0x275)]))==null?void 0x0:_0x213fb7[_0xcd475c(0x19b)])||_0xcd475c(0x355),_0x31000d=_0x686d5f?_0xd797c8+_0xcd475c(0x102)+encodeURIComponent(_0x686d5f):_0xd797c8,_0x461b68=(await this['_httpService'][_0xcd475c(0x114)](_0x31000d))[_0xcd475c(0x1a1)];if(((_0x3c6e0c=_0x461b68[_0xcd475c(0x120)])==null?void 0x0:_0x3c6e0c[_0xcd475c(0x379)])!==_0x53e205[_0xcd475c(0x314)]['OK'])return;this[_0xcd475c(0x363)](_0x461b68[_0xcd475c(0x13b)],_0x4792ac);}catch(_0x3b7f9e){this[_0xcd475c(0x3bc)]['error'](_0x3b7f9e);}}async[_0x486c12(0xe2)](_0x49ff96){const _0x41e0f3=_0x486c12;let _0x5bb5f9=Date[_0x41e0f3(0x2a0)]();try{var _0x11a615,_0x3faf12;let _0x16320a=((_0x11a615=this[_0x41e0f3(0x2f7)]['getConfig'](_0x5ba2ed[_0x41e0f3(0x275)]))==null?void 0x0:_0x11a615[_0x41e0f3(0x140)])||'/universer-api/license/formula/limit/done',_0x5b1c9d=(await this[_0x41e0f3(0x24b)][_0x41e0f3(0x368)](_0x16320a,{'body':JSON[_0x41e0f3(0x374)]({'taskId':_0x49ff96})}))['body'];if(((_0x3faf12=_0x5b1c9d['error'])==null?void 0x0:_0x3faf12[_0x41e0f3(0x379)])!==_0x53e205[_0x41e0f3(0x314)]['OK'])return;this[_0x41e0f3(0x363)](_0x5b1c9d[_0x41e0f3(0x13b)],_0x5bb5f9);}catch(_0x3b3096){this[_0x41e0f3(0x3bc)][_0x41e0f3(0x120)](_0x3b3096);}}[_0x486c12(0x2e1)](){const _0x24b62a=_0x486c12;return this[_0x24b62a(0x388)]===0x0?!0x0:this[_0x24b62a(0x388)]-this[_0x24b62a(0x1c7)]>0x0;}[_0x486c12(0x1c8)](){const _0x5d0264=_0x486c12;this[_0x5d0264(0x39f)]&&(clearTimeout(this['_pollingInterval']),this[_0x5d0264(0x39f)]=null);}[_0x486c12(0x178)](){const _0x5ef60c=_0x486c12;this[_0x5ef60c(0x147)][_0x5ef60c(0x366)]({'content':this['_localeService']['t'](_0x5ef60c(0x2b4)),'type':_0x239455[_0x5ef60c(0x30b)][_0x5ef60c(0x229)]});}[_0x486c12(0x2c4)](_0x2f40aa){const _0x58e4fc=_0x486c12;for(let _0x4eafe8 of _0x2f40aa){let {unitId:_0x434404,sheetId:_0xe2e04c,range:_0x5a7316}=_0x4eafe8,_0xe23547=this['_univerInstanceService'][_0x58e4fc(0x22f)](_0x434404);if(!_0xe23547)continue;let _0x49629e=_0xe23547['getSheetBySheetId'](_0xe2e04c);if(!_0x49629e)continue;let _0x1c9777=_0x49629e[_0x58e4fc(0x115)]();for(let _0x428936=_0x5a7316[_0x58e4fc(0x116)];_0x428936<=_0x5a7316[_0x58e4fc(0x1ab)];_0x428936++)for(let _0x791ad8=_0x5a7316['startColumn'];_0x791ad8<=_0x5a7316['endColumn'];_0x791ad8++){let _0x21895d=_0x1c9777[_0x58e4fc(0x226)](_0x428936,_0x791ad8);if(_0x21895d&&((0x0,_0x3789e1['isFormulaString'])(_0x21895d['f'])||(0x0,_0x3789e1[_0x58e4fc(0x1ca)])(_0x21895d['si'])))return!0x0;}}return!0x1;}};_0x3c0988=_0x2eed91([_0x5dbd47(0x0,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x28956d[_0x486c12(0x190)])),_0x5dbd47(0x1,_0x3789e1[_0x486c12(0x253)]),_0x5dbd47(0x2,_0x3789e1[_0x486c12(0x24d)]),_0x5dbd47(0x3,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x2ccad2[_0x486c12(0x1a9)])),_0x5dbd47(0x4,_0x3789e1[_0x486c12(0x2de)]),_0x5dbd47(0x5,_0x3789e1['ILogService']),_0x5dbd47(0x6,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1['LocaleService']))],_0x3c0988);let _0x49419b=class extends _0x3789e1['Disposable']{constructor(_0x346635,_0x507546,_0x1423a4){const _0x3117e2=_0x486c12;super(),this[_0x3117e2(0x2f7)]=_0x346635,this['_localStorageService']=_0x507546,this['_revisionService']=_0x1423a4,_0x28a1e3(this,_0x3117e2(0x204),new Map()),_0x28a1e3(this,_0x3117e2(0x1cc),new Map()),_0x28a1e3(this,_0x3117e2(0xea),!0x1);}['disableLocalCache'](){const _0x299471=_0x486c12;this[_0x299471(0xea)]=!0x0;}['enableLocalCache'](){const _0x3838d3=_0x486c12;this[_0x3838d3(0xea)]=!0x1;}get[_0x486c12(0x22e)](){const _0x210bb0=_0x486c12;return this[_0x210bb0(0x1cc)];}[_0x486c12(0x1b4)](){const _0x32421f=_0x486c12;this[_0x32421f(0x1f8)]()['then'](()=>super[_0x32421f(0x1b4)]());}async[_0x486c12(0x17a)](_0x2a4257){const _0xfe53a7=_0x486c12;return this[_0xfe53a7(0xea)]?null:this['_localStorageService'][_0xfe53a7(0x1a3)]((0x0,_0x5ba2ed['getLocalCacheKey'])(_0x2a4257));}async[_0x486c12(0x32a)](_0x4b1ab9,_0x54b9f7){return!!this['_localStorageService']['setItem'](_0x4b1ab9,_0x54b9f7);}[_0x486c12(0x14a)](_0x53b4c3,_0x1d8705,_0x5cdca9,_0x381cad){const _0x54ddb5=_0x486c12;let _0x2e3cd9=this[_0x54ddb5(0x384)]['getCurrentRevOfUnit'](_0x53b4c3);this[_0x54ddb5(0x204)]['set'](_0x53b4c3,{'unitID':_0x53b4c3,'type':_0x1d8705,'awaitingChangeset':_0x5cdca9,'mutations':_0x381cad,'rev':_0x2e3cd9}),this[_0x54ddb5(0x1cc)][_0x54ddb5(0x35e)](_0x53b4c3)||this[_0x54ddb5(0x1cf)](_0x53b4c3);}[_0x486c12(0x1cf)](_0x245429){const _0x3b3194=_0x486c12;let _0x19e80f=this['_getSaveTimeout']();_0x19e80f===0x0?this['_saveCache'](_0x245429):this[_0x3b3194(0x1cc)][_0x3b3194(0x1de)](_0x245429,setTimeout(()=>this[_0x3b3194(0xf5)](_0x245429),_0x19e80f));}[_0x486c12(0xfa)](){const _0xe35530=_0x486c12;var _0x19a71c;return(_0x19a71c=this['_configService'][_0xe35530(0x172)](_0x5ba2ed[_0xe35530(0x3a4)]))==null?_0x5ba2ed[_0xe35530(0x194)]:_0x19a71c;}[_0x486c12(0xf5)](_0x39367a){const _0x23a805=_0x486c12;let _0x5a18c0=this[_0x23a805(0x1cc)][_0x23a805(0x114)](_0x39367a);return _0x5a18c0!==void 0x0&&window[_0x23a805(0x2bf)](_0x5a18c0),this['_localStorageService'][_0x23a805(0x3a5)]((0x0,_0x5ba2ed['getLocalCacheKey'])(_0x39367a),this[_0x23a805(0x204)]['get'](_0x39367a))[_0x23a805(0x2d5)](()=>this[_0x23a805(0x1cc)][_0x23a805(0x26e)](_0x39367a));}async[_0x486c12(0x1f8)](){const _0x4e8654=_0x486c12;let _0x220d2e=[];this[_0x4e8654(0x1cc)][_0x4e8654(0x377)]((_0x2ec676,_0x2392c4)=>{const _0x2d5642=_0x4e8654;window['clearTimeout'](_0x2ec676),_0x220d2e[_0x2d5642(0x1d9)](this[_0x2d5642(0xf5)](_0x2392c4)[_0x2d5642(0x2d5)](()=>{const _0x5e2b8e=_0x2d5642;this[_0x5e2b8e(0x1cc)][_0x5e2b8e(0x26e)](_0x2392c4);}));}),await Promise[_0x4e8654(0x1fa)](_0x220d2e);}};_0x49419b=_0x2eed91([_0x5dbd47(0x0,_0x3789e1[_0x486c12(0x24d)]),_0x5dbd47(0x1,_0x3789e1[_0x486c12(0x208)]),_0x5dbd47(0x2,(0x0,_0x3789e1['Inject'])(_0x136fe4[_0x486c12(0x2b5)]))],_0x49419b);var _0x5b0485=class extends _0x3789e1[_0x486c12(0x2f3)]{constructor(){const _0x4fa941=_0x486c12;super(),_0x28a1e3(this,_0x4fa941(0x23f),void 0x0),this[_0x4fa941(0x23f)]=(0x0,_0x4a289e[_0x4fa941(0x135)])(window,_0x4fa941(0x343))['pipe']((0x0,_0x4a289e['takeUntil'])(this['dispose$']),(0x0,_0x4a289e[_0x4fa941(0x175)])(0x1),(0x0,_0x4a289e[_0x4fa941(0x192)])(void 0x0));}[_0x486c12(0x1d5)](_0x560112,_0x3f6c19,_0x14129e=!0x1){const _0x60e71d=_0x486c12;let _0x35a2fa=new URL(window[_0x60e71d(0x34f)][_0x60e71d(0x185)]);_0x35a2fa['searchParams']['set'](_0x560112,_0x3f6c19),_0x14129e?window[_0x60e71d(0x1a8)][_0x60e71d(0x360)]('','',_0x35a2fa[_0x60e71d(0x22c)]()):window[_0x60e71d(0x1a8)][_0x60e71d(0x109)]('','',_0x35a2fa[_0x60e71d(0x22c)]());}['removeParam'](_0x21ecf7,_0x39176f=!0x1){const _0x25f08e=_0x486c12;let _0x52cf29=new URL(window[_0x25f08e(0x34f)][_0x25f08e(0x185)]);_0x52cf29[_0x25f08e(0x33c)][_0x25f08e(0x26e)](_0x21ecf7),_0x39176f?window[_0x25f08e(0x1a8)]['replaceState']('','',_0x52cf29[_0x25f08e(0x22c)]()):window[_0x25f08e(0x1a8)][_0x25f08e(0x109)]('','',_0x52cf29['toString']());}['getParam'](_0x46710a){const _0x513557=_0x486c12;var _0x2bea5e;return(_0x2bea5e=new URL(window[_0x513557(0x34f)][_0x513557(0x185)])[_0x513557(0x33c)][_0x513557(0x114)](_0x46710a))==null?void 0x0:_0x2bea5e;}};let _0x4c8995=class extends _0x3789e1['Plugin']{constructor(_0x334f78=_0x157272,_0x3785,_0x3c3d32,_0x28af26){const _0x9c7c45=_0x486c12;super(),this[_0x9c7c45(0xfb)]=_0x334f78,this[_0x9c7c45(0x305)]=_0x3785,this[_0x9c7c45(0x2bb)]=_0x3c3d32,this['_configService']=_0x28af26;let {..._0x591ac8}=(0x0,_0x3789e1[_0x9c7c45(0x101)])({},_0x157272,this[_0x9c7c45(0xfb)]);this[_0x9c7c45(0x2f7)]['setConfig'](_0x529e28,_0x591ac8);}[_0x486c12(0x38a)](){const _0x338265=_0x486c12;this[_0x338265(0xf7)](),this[_0x338265(0x1b3)]();}[_0x486c12(0x234)](){const _0x480da0=_0x486c12;this[_0x480da0(0x16f)]();}[_0x486c12(0xf7)](){const _0x4dea67=_0x486c12;var _0x83d2a0;let _0x1aa8d7=[[_0x3e01b5],[_0x3c0988],[_0x115b18],[_0x1dc143],[_0x4e2c0d],[_0xb4d8f5],[_0x1b48a9,{'useClass':_0x5b0485}],[_0x2ccad2[_0x4dea67(0x181)],{'useClass':_0x2ccad2[_0x4dea67(0x2f4)]}],[_0x5ba2ed[_0x4dea67(0x3a0)],{'useClass':_0x49419b}],[_0x2f2efb],[_0x27249b],[_0x3bb688],[_0x59bc3e],[_0x560036],[_0xe6e34a]];this['_config'][_0x4dea67(0x17b)]&&_0x1aa8d7[_0x4dea67(0x1d9)]([_0x558a6b]),(0x0,_0x3789e1[_0x4dea67(0x2e8)])(this[_0x4dea67(0x2bb)],(0x0,_0x3789e1[_0x4dea67(0x298)])(_0x1aa8d7,(_0x83d2a0=this[_0x4dea67(0xfb)])==null?void 0x0:_0x83d2a0[_0x4dea67(0x215)]));}[_0x486c12(0x16f)](){const _0x397303=_0x486c12;this[_0x397303(0x26a)](this[_0x397303(0x305)]['registerRenderModule'](_0x3789e1['UniverInstanceType'][_0x397303(0x2a1)],[_0x8c0b72])),this[_0x397303(0x26a)](this['_renderManagerService']['registerRenderModule'](_0x3789e1[_0x397303(0x246)]['UNIVER_SHEET'],[_0x4d3930]));}['_initDependencies'](){const _0x554a4c=_0x486c12;(0x0,_0x3789e1[_0x554a4c(0x296)])(this[_0x554a4c(0x2bb)],[[_0x59bc3e],[_0x2f2efb],[_0x27249b],[_0x3bb688],[_0xe6e34a],[_0x3c0988]]),this[_0x554a4c(0xfb)][_0x554a4c(0x17b)]&&(0x0,_0x3789e1['touchDependencies'])(this[_0x554a4c(0x2bb)],[[_0x558a6b]]);}};_0x28a1e3(_0x4c8995,_0x486c12(0x2d9),'UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN'),_0x28a1e3(_0x4c8995,_0x486c12(0x10f),_0x606168),_0x28a1e3(_0x4c8995,_0x486c12(0x3ab),_0x34f54e),_0x4c8995=_0x2eed91([(0x0,_0x3789e1[_0x486c12(0x1d2)])(_0x5ba2ed[_0x486c12(0x334)]),_0x5dbd47(0x1,_0x4b5cb2[_0x486c12(0xf0)]),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x3,_0x3789e1[_0x486c12(0x24d)])],_0x4c8995);let _0x7679a8=class extends _0x5ba2ed[_0x486c12(0x1c2)]{constructor(_0x47d284,_0x788eb1,_0x2f8fd8,_0x37c9c8,_0x22d01c){super(_0x47d284,_0x788eb1,_0x2f8fd8,_0x37c9c8,_0x22d01c);}async[_0x486c12(0x122)](_0x140943){const _0x438b1c=_0x486c12;let _0x5cc25e=await this['_getSessionTicket'](),_0x38630b=this[_0x438b1c(0xf9)](_0x140943,_0x5cc25e);return this['_doCreateSocket'](_0x38630b);}['_createSocketURL'](_0x59f37c,_0x5beb49){const _0x3504b9=_0x486c12;let _0x147e2c=typeof window>'u'?new URL(_0x59f37c):new URL(_0x59f37c,window['location'][_0x3504b9(0x2cc)]);_0x147e2c['searchParams'][_0x3504b9(0x1de)](_0x3504b9(0xed),_0x5beb49);let _0x3dee12=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3504b9(0x34f)][_0x3504b9(0x277)]);return _0x3dee12[_0x3504b9(0x114)]('runId')&&_0x147e2c[_0x3504b9(0x33c)][_0x3504b9(0x1de)](_0x3504b9(0xe6),_0x3dee12[_0x3504b9(0x114)](_0x3504b9(0xe6))),_0x147e2c[_0x3504b9(0x22c)]();}async[_0x486c12(0x1ce)](){const _0x2cd3db=_0x486c12;var _0x46bb87,_0x426580,_0x266441;let _0x49ce9a=this['_configService'][_0x2cd3db(0x172)](_0x5ba2ed['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x1a4cda=(_0x46bb87=_0x49ce9a==null?void 0x0:_0x49ce9a[_0x2cd3db(0x183)])==null?_0x5ba2ed['DEFAULT_WS_SESSION_TICKET_URL']:_0x46bb87;return(_0x426580=(_0x266441=(await this[_0x2cd3db(0x24b)]['get'](_0x1a4cda,{'headers':{'Content-Type':_0x2cd3db(0x2be)}}))[_0x2cd3db(0x1a1)])==null?void 0x0:_0x266441['ticket'])==null?'':_0x426580;}};_0x7679a8=_0x2eed91([_0x5dbd47(0x0,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x1,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x2ccad2['HTTPService'])),_0x5dbd47(0x2,_0x3789e1[_0x486c12(0x24d)]),_0x5dbd47(0x3,_0x3789e1['ILogService']),_0x5dbd47(0x4,_0x136fe4[_0x486c12(0x2cb)])],_0x7679a8);let _0x4caaa6=class extends _0x3789e1[_0x486c12(0x33a)]{constructor(_0x511213,_0x1ab376,_0x1d115e){const _0x391bec=_0x486c12;super(),this[_0x391bec(0x162)]=_0x511213,this[_0x391bec(0x24b)]=_0x1ab376,this[_0x391bec(0x2f7)]=_0x1d115e;}async[_0x486c12(0x10b)](_0x41c07f,_0x429439,_0x496744,..._0x56b0ed){const _0x1bb5b2=_0x486c12;var _0x244cf6,_0x1103b9,_0x2010bc,_0x659e8b;let _0x45bd9f=this[_0x1bb5b2(0x162)][_0x1bb5b2(0x17d)]();if(!_0x45bd9f)throw Error(_0x1bb5b2(0x187));let _0x3b442f=((_0x244cf6=this[_0x1bb5b2(0x2f7)][_0x1bb5b2(0x172)](_0x5ba2ed[_0x1bb5b2(0x242)]))==null?_0x5ba2ed[_0x1bb5b2(0x309)]:_0x244cf6)+'/'+_0x41c07f+'/run/'+_0x429439,_0x437771={'scriptId':_0x41c07f,'runId':(_0x1103b9=new URL(window[_0x1bb5b2(0x34f)][_0x1bb5b2(0x185)])[_0x1bb5b2(0x33c)][_0x1bb5b2(0x114)](_0x1bb5b2(0xe6)))==null?'':_0x1103b9,'function':_0x429439,'unitId':_0x45bd9f[_0x1bb5b2(0x255)](),'argsOfFunction':JSON[_0x1bb5b2(0x374)](_0x56b0ed),'invokeId':(_0x2010bc=_0x496744['invokeId'])==null?'':_0x2010bc,'executionId':(_0x659e8b=_0x496744[_0x1bb5b2(0x216)])==null?'':_0x659e8b};try{let _0x1dc12c=await this[_0x1bb5b2(0x24b)][_0x1bb5b2(0x368)](_0x3b442f,{'body':_0x437771});return _0x1dc12c['body'][_0x1bb5b2(0x120)]&&_0x1dc12c[_0x1bb5b2(0x1a1)]['error'][_0x1bb5b2(0x379)]!==_0x53e205['ErrorCode']['OK']?'Failed':_0x1dc12c[_0x1bb5b2(0x1a1)][_0x1bb5b2(0x2ff)];}catch{return _0x1bb5b2(0x1b9);}}};_0x4caaa6=_0x2eed91([_0x5dbd47(0x0,_0x3789e1[_0x486c12(0x2de)]),_0x5dbd47(0x1,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x2ccad2['HTTPService'])),_0x5dbd47(0x2,_0x3789e1['IConfigService'])],_0x4caaa6);var _0x4626a9=function(_0x3795b4){const _0x705879=_0x486c12;return _0x3795b4[_0x3795b4[_0x705879(0x276)]=0x0]=_0x705879(0x276),_0x3795b4[_0x3795b4[_0x705879(0x36c)]=0x1]=_0x705879(0x36c),_0x3795b4[_0x3795b4['HEARTBEAT']=0x2]=_0x705879(0x245),_0x3795b4;}(_0x4626a9||{});let _0x4e3ed2=0x7530,_0x4653ed=_0x486c12(0x25e);var _0x12c06f=class extends _0x3789e1['Disposable']{constructor(){const _0x21ed61=_0x486c12;super(),_0x28a1e3(this,_0x21ed61(0x203),(0x0,_0x3789e1[_0x21ed61(0x211)])()),_0x28a1e3(this,'_selfUnitIDs',new Set()),_0x28a1e3(this,'_unitOnClients',new Map()),_0x28a1e3(this,_0x21ed61(0x3b2),null),_0x28a1e3(this,_0x21ed61(0x201),new Map()),_0x28a1e3(this,_0x21ed61(0x134),new Map()),this[_0x21ed61(0x184)]();}[_0x486c12(0x1b4)](){const _0x3632c3=_0x486c12;super[_0x3632c3(0x1b4)](),this['_clearOtherTimers'][_0x3632c3(0x377)]((_0x11b291,_0xbd5cbd)=>this[_0x3632c3(0x387)](_0xbd5cbd)),this['_heartbeatTimer']&&window[_0x3632c3(0x295)](this[_0x3632c3(0x3b2)]);}[_0x486c12(0x385)](_0x5b2872){const _0x51a467=_0x486c12;return this[_0x51a467(0x221)](_0x5b2872)[_0x51a467(0x286)]((0x0,_0x4a289e[_0x51a467(0x1da)])());}[_0x486c12(0xf6)](_0x427fd9){const _0x2944d5=_0x486c12;this[_0x2944d5(0x293)][_0x2944d5(0x2f8)]===0x0&&this[_0x2944d5(0x118)](),this['_selfUnitIDs'][_0x2944d5(0x150)](_0x427fd9),this['_send']({'type':_0x4626a9[_0x2944d5(0x276)],'memberID':this[_0x2944d5(0x203)],'unitIDs':[_0x427fd9],'isForwarded':!0x1});}['disposeUnit'](_0x32d735){const _0x22b5d0=_0x486c12;this[_0x22b5d0(0x293)][_0x22b5d0(0x26e)](_0x32d735),this[_0x22b5d0(0x293)][_0x22b5d0(0x2f8)]===0x0&&this[_0x22b5d0(0x3b2)]&&window['clearInterval'](this[_0x22b5d0(0x3b2)]);}['_init'](){const _0x49d701=_0x486c12;this[_0x49d701(0x26a)]((0x0,_0x3789e1['toDisposable'])((0x0,_0x4a289e['fromEvent'])(window,_0x49d701(0xe1))['subscribe'](_0x4853d6=>{const _0x16f3cc=_0x49d701;if(_0x4853d6[_0x16f3cc(0x2fc)]!==_0x4653ed||!_0x4853d6[_0x16f3cc(0x2e2)])return;let _0x3dce19=JSON[_0x16f3cc(0x212)](_0x4853d6[_0x16f3cc(0x2e2)]);this[_0x16f3cc(0x35c)](_0x3dce19);}))),window['addEventListener'](_0x49d701(0x356),()=>this[_0x49d701(0x248)]({'type':_0x4626a9[_0x49d701(0x36c)],'memberID':this['_id'],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x486c12(0x35c)](_0xb7cee1){const _0x35570f=_0x486c12;switch(_0xb7cee1[_0x35570f(0x3a8)]){case _0x4626a9[_0x35570f(0x276)]:this[_0x35570f(0x1e3)](_0xb7cee1);break;case _0x4626a9[_0x35570f(0x36c)]:this['_handleLeaveEvent'](_0xb7cee1);break;case _0x4626a9['HEARTBEAT']:this[_0x35570f(0x2e9)](_0xb7cee1);break;}}[_0x486c12(0x1e3)](_0x1f523a){const _0x524630=_0x486c12;let {unitIDs:_0x4b5674,memberID:_0x2bd38e,isForwarded:_0x24899c}=_0x1f523a;_0x4b5674[_0x524630(0x377)](_0x5b4d53=>{const _0x218589=_0x524630;if(!_0x24899c&&this['_unitOnClients'][_0x218589(0x35e)](_0x5b4d53)&&this[_0x218589(0x221)](_0x5b4d53)['next'](_0x5ba2ed[_0x218589(0x123)][_0x218589(0x386)]),!this[_0x218589(0x1be)][_0x218589(0x35e)](_0x5b4d53)||!this[_0x218589(0x1be)][_0x218589(0x114)](_0x5b4d53)[_0x218589(0x35e)](_0x2bd38e)){let _0x3bb28e=this[_0x218589(0x1be)][_0x218589(0x114)](_0x5b4d53)||new Set();_0x3bb28e[_0x218589(0x150)](_0x2bd38e),this['_unitOnClients']['set'](_0x5b4d53,_0x3bb28e),this['_scheduleClearOtherTimer'](_0x2bd38e);}}),_0x24899c||this[_0x524630(0x248)]({'type':_0x4626a9['JOIN'],'memberID':this['_id'],'unitIDs':[...this[_0x524630(0x293)]],'isForwarded':!0x0});}[_0x486c12(0x1bc)](_0x3d07e2){const _0x12fca4=_0x486c12;this[_0x12fca4(0x387)](_0x3d07e2);let _0x2d7612=window[_0x12fca4(0x31f)](()=>{const _0x372f9c=_0x12fca4;this['_unitOnClients'][_0x372f9c(0x377)](_0x558b82=>{const _0x48d6d3=_0x372f9c;_0x558b82[_0x48d6d3(0x26e)](_0x3d07e2);});},_0x4e3ed2*0x2);this[_0x12fca4(0x201)][_0x12fca4(0x1de)](_0x3d07e2,_0x2d7612);}[_0x486c12(0x387)](_0x6dbc1c){const _0x1f42bc=_0x486c12;if(this[_0x1f42bc(0x201)][_0x1f42bc(0x35e)](_0x6dbc1c)){let _0x179dff=this[_0x1f42bc(0x201)]['get'](_0x6dbc1c);_0x179dff&&window[_0x1f42bc(0x2bf)](_0x179dff),this[_0x1f42bc(0x201)]['set'](_0x6dbc1c,null);}}['_handleLeaveEvent'](_0x20f780){let {memberID:_0x47de61,unitIDs:_0x3c2fcc}=_0x20f780;_0x3c2fcc['forEach'](_0x3794f1=>{const _0xb69dde=_0x3eb0;var _0x3ab9d3;let _0x4e9709=this[_0xb69dde(0x1be)][_0xb69dde(0x114)](_0x3794f1);_0x4e9709&&(_0x4e9709[_0xb69dde(0x26e)](_0x47de61),(_0x3ab9d3=this[_0xb69dde(0x221)](_0x3794f1))==null||_0x3ab9d3[_0xb69dde(0x283)](_0x4e9709['size']===0x0?_0x5ba2ed[_0xb69dde(0x123)][_0xb69dde(0x2a6)]:_0x5ba2ed['UnitStatus'][_0xb69dde(0x386)]));}),this['_removeClearOtherTimer'](_0x47de61);}[_0x486c12(0x2e9)](_0x21a671){const _0x150ab2=_0x486c12;this['_scheduleClearOtherTimer'](_0x21a671[_0x150ab2(0x37e)]);}[_0x486c12(0x248)](_0x524f86){const _0x22d454=_0x486c12;localStorage['setItem'](_0x4653ed,JSON[_0x22d454(0x374)](_0x524f86));}[_0x486c12(0x118)](){const _0x1ec70e=_0x486c12;this['_heartbeatTimer']=window[_0x1ec70e(0x1ba)](()=>{const _0x13062d=_0x1ec70e;this['_send']({'type':_0x4626a9[_0x13062d(0x245)],'memberID':this[_0x13062d(0x203)]});},_0x4e3ed2);}[_0x486c12(0x221)](_0x2e8c7c){const _0x1f9807=_0x486c12;return this[_0x1f9807(0x134)][_0x1f9807(0x35e)](_0x2e8c7c)||this[_0x1f9807(0x134)][_0x1f9807(0x1de)](_0x2e8c7c,new _0x4a289e['BehaviorSubject'](_0x5ba2ed['UnitStatus'][_0x1f9807(0x2a6)])),this[_0x1f9807(0x134)][_0x1f9807(0x114)](_0x2e8c7c);}};Object[_0x486c12(0x23a)](_0x59af53,_0x486c12(0x15d),{'enumerable':!0x0,'get':function(){return _0x7679a8;}}),Object[_0x486c12(0x23a)](_0x59af53,_0x486c12(0x1c0),{'enumerable':!0x0,'get':function(){return _0xe6e34a;}}),Object['defineProperty'](_0x59af53,_0x486c12(0x16c),{'enumerable':!0x0,'get':function(){return _0x2f2efb;}}),_0x59af53[_0x486c12(0x228)]=_0x1b48a9,Object[_0x486c12(0x23a)](_0x59af53,_0x486c12(0x10a),{'enumerable':!0x0,'get':function(){return _0x4caaa6;}}),_0x59af53[_0x486c12(0xf3)]=_0x573714,Object[_0x486c12(0x23a)](_0x59af53,_0x486c12(0x107),{'enumerable':!0x0,'get':function(){return _0x4c8995;}}),_0x59af53[_0x486c12(0x2aa)]=_0x12c06f,_0x59af53[_0x486c12(0x2d8)]=_0x5b0485;}));
9
9
 
10
10
  // @univerjs-pro/collaboration-client-ui/facade
11
- function _0x2a6b(_0x1268b4,_0x2c6d83){_0x1268b4=_0x1268b4-0x1a7;var _0x19aa33=_0x19aa();var _0x2a6bff=_0x19aa33[_0x1268b4];return _0x2a6bff;}function _0x19aa(){var _0x28ff03=['runOnServer','get','42eCqycX','extend','UniverProCollaborationClientUi','664733ueaUwi','1596760Smpdug','FUniver','@univerjs-pro/collaboration-client-ui','107989zhVrce','_injector','function','amd','RemoteUniscriptService','8lRxdoh','2366262GdCkuU','1769583HHAUjJ','196484UpYOJo','UniverCoreFacade','25DOLyrM','7725060nouPbH'];_0x19aa=function(){return _0x28ff03;};return _0x19aa();}(function(_0x4a2243,_0x38f23a){var _0x675622=_0x2a6b,_0x44a88c=_0x4a2243();while(!![]){try{var _0x52e6f5=parseInt(_0x675622(0x1aa))/0x1+-parseInt(_0x675622(0x1ab))/0x2+-parseInt(_0x675622(0x1b5))/0x3+parseInt(_0x675622(0x1b6))/0x4*(parseInt(_0x675622(0x1b8))/0x5)+parseInt(_0x675622(0x1a7))/0x6*(-parseInt(_0x675622(0x1ae))/0x7)+parseInt(_0x675622(0x1b3))/0x8*(parseInt(_0x675622(0x1b4))/0x9)+parseInt(_0x675622(0x1b9))/0xa;if(_0x52e6f5===_0x38f23a)break;else _0x44a88c['push'](_0x44a88c['shift']());}catch(_0x17b3df){_0x44a88c['push'](_0x44a88c['shift']());}}}(_0x19aa,0x6dbfc),function(_0x29fa1b,_0x55aeb1){var _0x430a5e=_0x2a6b;typeof exports=='object'&&typeof module<'u'?_0x55aeb1(require(`@univerjs-pro/collaboration-client-ui`),require(`@univerjs/core/facade`)):typeof define==_0x430a5e(0x1b0)&&define[_0x430a5e(0x1b1)]?define([_0x430a5e(0x1ad),'@univerjs/core/facade'],_0x55aeb1):(_0x29fa1b=typeof globalThis<'u'?globalThis:_0x29fa1b||self,_0x55aeb1(_0x29fa1b[_0x430a5e(0x1a9)],_0x29fa1b[_0x430a5e(0x1b7)]));}(this,function(_0x58959c,_0x4d3e29){var _0x239443=_0x2a6b,_0x3871a5=class extends _0x4d3e29[_0x239443(0x1ac)]{[_0x239443(0x1ba)](_0x20d44d,_0x11ef09,..._0x46ad64){var _0x81ddd5=_0x239443;return this[_0x81ddd5(0x1af)][_0x81ddd5(0x1bb)](_0x58959c[_0x81ddd5(0x1b2)])['runOnServer'](_0x20d44d,_0x11ef09,{},..._0x46ad64);}};_0x4d3e29[_0x239443(0x1ac)][_0x239443(0x1a8)](_0x3871a5);}));
11
+ (function(_0x5506b9,_0x517984){var _0x370a75=_0x484b,_0x492708=_0x5506b9();while(!![]){try{var _0x42edf1=parseInt(_0x370a75(0x8c))/0x1+-parseInt(_0x370a75(0x8d))/0x2*(parseInt(_0x370a75(0x78))/0x3)+parseInt(_0x370a75(0x85))/0x4*(-parseInt(_0x370a75(0x88))/0x5)+parseInt(_0x370a75(0x79))/0x6+parseInt(_0x370a75(0x8b))/0x7*(parseInt(_0x370a75(0x7d))/0x8)+-parseInt(_0x370a75(0x7e))/0x9+-parseInt(_0x370a75(0x7a))/0xa*(-parseInt(_0x370a75(0x89))/0xb);if(_0x42edf1===_0x517984)break;else _0x492708['push'](_0x492708['shift']());}catch(_0x4ce3d0){_0x492708['push'](_0x492708['shift']());}}}(_0x1779,0x4bc9e),function(_0x39050b,_0x22c7c1){var _0x2b468b=_0x484b;typeof exports==_0x2b468b(0x7b)&&typeof module<'u'?_0x22c7c1(require(`@univerjs-pro/collaboration-client-ui`),require(`@univerjs/core/facade`)):typeof define=='function'&&define[_0x2b468b(0x8a)]?define([_0x2b468b(0x82),'@univerjs/core/facade'],_0x22c7c1):(_0x39050b=typeof globalThis<'u'?globalThis:_0x39050b||self,_0x22c7c1(_0x39050b[_0x2b468b(0x81)],_0x39050b[_0x2b468b(0x80)]));}(this,function(_0x5179e1,_0x7dae9c){var _0x5c5123=_0x484b,_0x1094e9=class extends _0x7dae9c[_0x5c5123(0x84)]{['runOnServer'](_0x23fdcb,_0x3921b8,..._0x9d145){var _0x323cca=_0x5c5123;return this[_0x323cca(0x83)][_0x323cca(0x7f)](_0x5179e1[_0x323cca(0x87)])[_0x323cca(0x7c)](_0x23fdcb,_0x3921b8,{},..._0x9d145);}};_0x7dae9c[_0x5c5123(0x84)][_0x5c5123(0x86)](_0x1094e9);}));function _0x484b(_0x6efd47,_0x2fb122){_0x6efd47=_0x6efd47-0x78;var _0x177950=_0x1779();var _0x484bdd=_0x177950[_0x6efd47];return _0x484bdd;}function _0x1779(){var _0x24c3a1=['amd','28UEKFOB','38153LmGzSQ','179182sWuBAK','15NfvTRX','477084qjoTTw','211420EEHpzj','object','runOnServer','55736zXYIku','5564295RKExFO','get','UniverCoreFacade','UniverProCollaborationClientUi','@univerjs-pro/collaboration-client-ui','_injector','FUniver','4276MDchNo','extend','RemoteUniscriptService','175EJuDeO','660byFjNJ'];_0x1779=function(){return _0x24c3a1;};return _0x1779();}
12
12
 
13
13
  // @univerjs-pro/thread-comment-datasource/index
14
- function _0x3ff3(){const _0x4fdf01=['commentUpdate$','delete','parse','map','UniverThreadCommentUi','code','UniverLicensePlugin','getMemberID','Inject','Add','_commentService','type','306230zpSUEX','133232WVkpEO','@univerjs-pro/collaboration-client','values','0.20.1','saveCommentToSnapshot','requireSession','getOwnPropertyDescriptor','UniverProThreadCommentDatasource','_config','Edit','UniverThreadCommentUIPlugin','default','UniverNetwork','UniverProCollaborationClient','/solved','pipe','unitId','getCurrentUser','Injector','object','subscribe','userID','merge','rangeId','filter','length','525855aOBITo','format','UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN','threadId','49xBehGT','get','forEach','1929078aprLBr','rxjs','Plugin','/add','replyId','toStringTag','customRanges','solved','defineProperty','UNRECOGNIZED','stringify','123606QCZvcO','995076YQyzQI','error','listComments','@univerjs/network','string','payload','_injector','onReady','add','CollaborationSessionService','@univerjs/thread-comment-ui','iterator','bufferTime','size','2pIYMNZ','addUser','UniverCore','constructor','users','replies','IThreadCommentDataSourceService','@univerjs/thread-comment','Solve','packageName','symbol','_userService','getComment','getUser','prototype','_init','_configService','@univerjs/core','amd','@univerjs-pro/thread-comment-datasource','exports','/universer-api/comment/unit/','1194070ZEsiZP','updateComment','YYYY/MM/DD\x20HH:mm','ref','decorate','addComment','user','Delete','resolveComment','content','OpenOrReOpen','function','Unknown','_threadCommentDataSource','Module','_sessionService','_httpService','_threadCommentModel','CustomRangeType','toPrimitive','DependentOn','UserManagerService','pluginName','userId','rangeType','find','root','dateKit','post','UniverProLicense','HTTPService','Reply','_initUserSync','_initDataSource','ThreadCommentModel','Solved','reply','comments','setConfig','dataSource','createTimestamp','body'];_0x3ff3=function(){return _0x4fdf01;};return _0x3ff3();}function _0x5351(_0x368f66,_0x5e54ae){_0x368f66=_0x368f66-0x10d;const _0x3ff3d5=_0x3ff3();let _0x5351d3=_0x3ff3d5[_0x368f66];return _0x5351d3;}(function(_0x497d0f,_0x4943ae){const _0x6faafd=_0x5351,_0x4235bf=_0x497d0f();while(!![]){try{const _0x236f8f=-parseInt(_0x6faafd(0x16e))/0x1*(parseInt(_0x6faafd(0x122))/0x2)+parseInt(_0x6faafd(0x189))/0x3+-parseInt(_0x6faafd(0x114))/0x4+parseInt(_0x6faafd(0x138))/0x5+-parseInt(_0x6faafd(0x113))/0x6*(-parseInt(_0x6faafd(0x18d))/0x7)+parseInt(_0x6faafd(0x16f))/0x8+parseInt(_0x6faafd(0x190))/0x9;if(_0x236f8f===_0x4943ae)break;else _0x4235bf['push'](_0x4235bf['shift']());}catch(_0xa5d6d5){_0x4235bf['push'](_0x4235bf['shift']());}}}(_0x3ff3,0x3933f),function(_0x379792,_0x39ab7b){const _0x548867=_0x5351;typeof exports==_0x548867(0x182)&&typeof module<'u'?_0x39ab7b(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs-pro/license`),require(`@univerjs/core`),require(`@univerjs/thread-comment-ui`),require(`@univerjs/thread-comment`),require(`rxjs`),require(`@univerjs/network`)):typeof define=='function'&&define[_0x548867(0x134)]?define([_0x548867(0x136),_0x548867(0x170),'@univerjs-pro/license',_0x548867(0x133),_0x548867(0x11e),_0x548867(0x129),_0x548867(0x191),_0x548867(0x117)],_0x39ab7b):(_0x379792=typeof globalThis<'u'?globalThis:_0x379792||self,_0x39ab7b(_0x379792[_0x548867(0x176)]={},_0x379792[_0x548867(0x17c)],_0x379792[_0x548867(0x155)],_0x379792[_0x548867(0x124)],_0x379792[_0x548867(0x166)],_0x379792['UniverThreadComment'],_0x379792['rxjs'],_0x379792[_0x548867(0x17b)]));}(this,function(_0x1ebd8f,_0x7596e9,_0xce5e77,_0x1849c8,_0x100e72,_0x3f0b21,_0x2c8005,_0x44e0cf){const _0x48a113=_0x5351;Object[_0x48a113(0x110)](_0x1ebd8f,Symbol[_0x48a113(0x10d)],{'value':_0x48a113(0x146)});var _0xf84156=_0x48a113(0x135),_0xefe58c=_0x48a113(0x172);let _0x49a927=function(_0x1de9d0){const _0x5810e9=_0x48a113;return _0x1de9d0[_0x1de9d0['OpenOrReOpen']=0x0]=_0x5810e9(0x142),_0x1de9d0[_0x1de9d0['Solved']=0x1]='Solved',_0x1de9d0[_0x1de9d0['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x1de9d0;}({}),_0xffc2db=function(_0x21ce89){const _0x13dc72=_0x48a113;return _0x21ce89[_0x21ce89[_0x13dc72(0x144)]=0x0]=_0x13dc72(0x144),_0x21ce89[_0x21ce89[_0x13dc72(0x16b)]=0x1]='Add',_0x21ce89[_0x21ce89[_0x13dc72(0x157)]=0x2]='Reply',_0x21ce89[_0x21ce89[_0x13dc72(0x178)]=0x3]=_0x13dc72(0x178),_0x21ce89[_0x21ce89['Delete']=0x4]=_0x13dc72(0x13f),_0x21ce89[_0x21ce89[_0x13dc72(0x12a)]=0x5]='Solve',_0x21ce89[_0x21ce89[_0x13dc72(0x111)]=-0x1]=_0x13dc72(0x111),_0x21ce89;}({}),_0x5c2408=_0x545e67=>(0x0,_0x1849c8[_0x48a113(0x153)])(new Date(+_0x545e67))[_0x48a113(0x18a)]('YYYY/MM/DD\x20HH:mm'),_0x4d04a2=async(_0x388569,_0xc410d2)=>{const _0x1913bb=_0x48a113;let _0x570b28=_0x388569[_0x1913bb(0x18e)](_0x1849c8[_0x1913bb(0x14d)]),_0x6ab104=_0x388569[_0x1913bb(0x18e)](_0x44e0cf[_0x1913bb(0x156)]);_0xc410d2[_0x1913bb(0x18f)](_0x2338f4=>{const _0x41ad1c=_0x1913bb;_0x570b28[_0x41ad1c(0x12f)](_0x2338f4)&&_0xc410d2[_0x41ad1c(0x163)](_0x2338f4);}),_0xc410d2[_0x1913bb(0x121)]&&(await _0x6ab104[_0x1913bb(0x18e)]('/universer-api/user/list',{'params':{'userIDs':[..._0xc410d2]}}))[_0x1913bb(0x161)][_0x1913bb(0x126)][_0x1913bb(0x18f)](_0x4275dc=>{const _0x32ccd0=_0x1913bb;_0x4275dc&&_0x570b28[_0x32ccd0(0x123)](_0x4275dc);});};function _0x3b2906(_0x47d508,_0x28b233){return function(_0x5bdaf0,_0x17c2ce){_0x28b233(_0x5bdaf0,_0x17c2ce,_0x47d508);};}function _0x3c08e8(_0x318262,_0x10100f,_0x2413c7,_0x581b40){const _0x500b39=_0x48a113;var _0x1e774f=arguments[_0x500b39(0x188)],_0x2590bd=_0x1e774f<0x3?_0x10100f:_0x581b40===null?_0x581b40=Object[_0x500b39(0x175)](_0x10100f,_0x2413c7):_0x581b40,_0x346afb;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x500b39(0x143))_0x2590bd=Reflect[_0x500b39(0x13c)](_0x318262,_0x10100f,_0x2413c7,_0x581b40);else{for(var _0x1a1b4f=_0x318262[_0x500b39(0x188)]-0x1;_0x1a1b4f>=0x0;_0x1a1b4f--)(_0x346afb=_0x318262[_0x1a1b4f])&&(_0x2590bd=(_0x1e774f<0x3?_0x346afb(_0x2590bd):_0x1e774f>0x3?_0x346afb(_0x10100f,_0x2413c7,_0x2590bd):_0x346afb(_0x10100f,_0x2413c7))||_0x2590bd);}return _0x1e774f>0x3&&_0x2590bd&&Object[_0x500b39(0x110)](_0x10100f,_0x2413c7,_0x2590bd),_0x2590bd;}let _0x4b2c91=class extends _0x1849c8['Disposable']{constructor(_0x5f295d,_0xc65b60,_0x4c39b2,_0x570c40){const _0x2b1bf8=_0x48a113;super(),this[_0x2b1bf8(0x16c)]=_0x5f295d,this[_0x2b1bf8(0x149)]=_0xc65b60,this[_0x2b1bf8(0x12d)]=_0x4c39b2,this[_0x2b1bf8(0x11a)]=_0x570c40,this['_init'](),this[_0x2b1bf8(0x158)]();}['_initUserSync'](){const _0x3d1944=_0x48a113;this['disposeWithMe'](this[_0x3d1944(0x149)][_0x3d1944(0x162)][_0x3d1944(0x17e)]((0x0,_0x2c8005[_0x3d1944(0x120)])(0x10))['subscribe'](_0x2ba365=>{const _0x40bfc5=_0x3d1944;let _0x331b48=new Set();_0x2ba365[_0x40bfc5(0x18f)](_0x22cca6=>{const _0x2dd6d6=_0x40bfc5;switch(_0x22cca6['type']){case _0x2dd6d6(0x11c):{let _0xe0735d=_0x22cca6[_0x2dd6d6(0x119)]['personId'];_0x331b48[_0x2dd6d6(0x11c)](_0xe0735d);break;}default:break;}}),_0x4d04a2(this[_0x40bfc5(0x11a)],_0x331b48);}));}[_0x48a113(0x131)](){const _0x56a58f=_0x48a113;this['disposeWithMe'](this[_0x56a58f(0x16c)][_0x56a58f(0x162)][_0x56a58f(0x183)](async _0xf1432a=>{const _0x46b222=_0x56a58f;var _0x559108;let _0x59d366=(_0x559108=this['_threadCommentModel']['getUnit'](_0xf1432a[_0x46b222(0x17f)])[_0x46b222(0x151)](_0x3e4d0e=>_0x3e4d0e[_0x46b222(0x18c)]===_0xf1432a[_0x46b222(0x18c)]))==null?void 0x0:_0x559108['root'];if(!_0x59d366)return;let {unitId:_0x5f3b18,subUnitId:_0xbff6bc}=_0x59d366;switch(_0xf1432a[_0x46b222(0x13e)]&&this[_0x46b222(0x12d)][_0x46b222(0x123)](_0xf1432a['user']),_0xf1432a[_0x46b222(0x16d)]){case _0xffc2db[_0x46b222(0x16b)]:break;case _0xffc2db[_0x46b222(0x157)]:var _0x2bf97c,_0x54ad76;this[_0x46b222(0x149)]['addComment'](_0x5f3b18,_0xbff6bc,{'unitId':_0x5f3b18,'subUnitId':_0xbff6bc,'ref':'','id':_0xf1432a[_0x46b222(0x194)],'dT':_0x5c2408(+_0xf1432a[_0x46b222(0x160)]),'threadId':_0xf1432a[_0x46b222(0x18c)],'personId':(_0x2bf97c=(_0x54ad76=_0xf1432a[_0x46b222(0x13e)])==null?void 0x0:_0x54ad76[_0x46b222(0x184)])==null?_0xf1432a[_0x46b222(0x14f)]:_0x2bf97c,'text':JSON['parse'](_0xf1432a[_0x46b222(0x141)]),'parentId':_0x59d366['id']});break;case _0xffc2db[_0x46b222(0x13f)]:{let _0x64ca58=this['_threadCommentModel'][_0x46b222(0x12e)](_0x5f3b18,_0xbff6bc,_0xf1432a['replyId']);_0x64ca58&&_0x64ca58['parentId']&&this[_0x46b222(0x149)]['deleteComment'](_0x5f3b18,_0xbff6bc,_0xf1432a[_0x46b222(0x194)]);break;}case _0xffc2db[_0x46b222(0x178)]:this['_threadCommentModel'][_0x46b222(0x139)](_0x5f3b18,_0xbff6bc,{'commentId':_0xf1432a[_0x46b222(0x194)],'text':JSON[_0x46b222(0x164)](_0xf1432a[_0x46b222(0x141)])});break;case _0xffc2db[_0x46b222(0x12a)]:{var _0x21b8fe;let _0x5e3f25=(_0x21b8fe=this['_threadCommentModel']['getUnit'](_0xf1432a[_0x46b222(0x17f)])['find'](_0x154ca2=>_0x154ca2[_0x46b222(0x18c)]===_0xf1432a[_0x46b222(0x18c)]))==null?void 0x0:_0x21b8fe[_0x46b222(0x152)];_0x5e3f25&&this[_0x46b222(0x149)][_0x46b222(0x140)](_0x5f3b18,_0xbff6bc,_0x5e3f25['id'],_0xf1432a[_0x46b222(0x10f)]===_0x49a927['Solved']);break;}default:break;}}));}};_0x4b2c91=_0x3c08e8([_0x3b2906(0x0,(0x0,_0x1849c8[_0x48a113(0x16a)])(_0x7596e9['CommentService'])),_0x3b2906(0x1,(0x0,_0x1849c8[_0x48a113(0x16a)])(_0x3f0b21[_0x48a113(0x15a)])),_0x3b2906(0x2,(0x0,_0x1849c8[_0x48a113(0x16a)])(_0x1849c8[_0x48a113(0x14d)])),_0x3b2906(0x3,(0x0,_0x1849c8[_0x48a113(0x16a)])(_0x1849c8[_0x48a113(0x181)]))],_0x4b2c91);let _0xbf59f7='thread-comment-data-source.config';Symbol(_0xbf59f7);let _0x467711={};function _0xafdc4a(_0x48c35b,_0xab80b2){const _0x1fe97f=_0x48a113;let _0x468642=_0x48c35b['replies'][0x0];return{..._0xab80b2,'id':_0x468642[_0x1fe97f(0x194)],'resolved':_0x48c35b['solved']===0x1,'dT':_0x5c2408(_0x468642[_0x1fe97f(0x160)]),'personId':_0x468642[_0x1fe97f(0x14f)],'threadId':_0x468642['threadId']};}function _0x1f02a3(_0x44c75a,_0x3a133f,_0x123a38){const _0x59a14f=_0x48a113;var _0xe6fbc4,_0x58b3b0;if(((_0xe6fbc4=_0x44c75a==null||(_0x58b3b0=_0x44c75a['replies'])==null?void 0x0:_0x58b3b0[_0x59a14f(0x188)])==null?0x0:_0xe6fbc4)>0x0){let _0x35526b=(_0x208155,_0x36ed99)=>({'id':_0x208155[_0x59a14f(0x194)],'threadId':_0x208155[_0x59a14f(0x18c)],'dT':_0x5c2408(_0x208155[_0x59a14f(0x160)]),'personId':_0x208155[_0x59a14f(0x14f)],'resolved':_0x44c75a[_0x59a14f(0x10f)]===_0x49a927[_0x59a14f(0x15b)],'unitId':_0x3a133f,'subUnitId':_0x123a38,'text':JSON[_0x59a14f(0x164)](_0x208155[_0x59a14f(0x141)]),'parentId':_0x36ed99}),_0x2923b2=_0x35526b(_0x44c75a[_0x59a14f(0x127)][0x0]);return{..._0x2923b2,'children':_0x44c75a[_0x59a14f(0x127)]['slice'](0x1)[_0x59a14f(0x165)](_0x30658c=>_0x35526b(_0x30658c,_0x2923b2['id']))};}return null;}let _0x3123d3=class{constructor(_0x40bd6f,_0x4831ba,_0x4123b2){const _0x5ba8a3=_0x48a113;this['_httpService']=_0x40bd6f,this[_0x5ba8a3(0x12d)]=_0x4831ba,this[_0x5ba8a3(0x147)]=_0x4123b2;}async[_0x48a113(0x13d)](_0x3c5c4d){const _0x425c1f=_0x48a113;var _0x3ba506,_0x3de056;let {parentId:_0x2251f4,unitId:_0x4cf9a7,text:_0x5d3511,threadId:_0x44dc27}=_0x3c5c4d,_0x408bde=(_0x3ba506=(_0x3de056=_0x5d3511[_0x425c1f(0x10e)])==null?void 0x0:_0x3de056[_0x425c1f(0x187)](_0x410967=>_0x410967['rangeType']===_0x1849c8['CustomRangeType']['COMMENT'])[_0x425c1f(0x165)](_0x549815=>_0x549815['rangeId']))==null?[]:_0x3ba506,_0x417fa2=JSON[_0x425c1f(0x112)](_0x5d3511),_0x59d69c=(await this[_0x425c1f(0x147)][_0x425c1f(0x174)](_0x4cf9a7))['getMemberID']();if(_0x2251f4){let _0xbcb077={'memberId':_0x59d69c,'unitId':_0x4cf9a7,'content':_0x417fa2,'mention':_0x408bde,'threadId':_0x44dc27},_0x2119d2=(await this[_0x425c1f(0x148)][_0x425c1f(0x154)](_0x425c1f(0x137)+_0x4cf9a7+'/reply',{'body':_0xbcb077}))[_0x425c1f(0x161)][_0x425c1f(0x15c)];return{..._0x3c5c4d,'id':_0x2119d2[_0x425c1f(0x194)],'dT':(0x0,_0x1849c8[_0x425c1f(0x153)])(+_0x2119d2[_0x425c1f(0x160)])[_0x425c1f(0x18a)](_0x425c1f(0x13a)),'personId':_0x2119d2[_0x425c1f(0x14f)]};}else{let _0x24e824={'memberId':_0x59d69c,'unitId':_0x4cf9a7,'content':_0x417fa2,'mention':_0x408bde};return _0xafdc4a((await this[_0x425c1f(0x148)][_0x425c1f(0x154)](_0x425c1f(0x137)+_0x4cf9a7+_0x425c1f(0x193),{'body':_0x24e824}))[_0x425c1f(0x161)]['comment'],_0x3c5c4d);}}async[_0x48a113(0x139)](_0x26807f){const _0x2b0eb8=_0x48a113;var _0x4fae7d,_0x2f2f6b;let {text:_0x42d10e,unitId:_0x461b02}=_0x26807f,_0x5d0e52=(_0x4fae7d=(_0x2f2f6b=_0x42d10e['customRanges'])==null?void 0x0:_0x2f2f6b['filter'](_0x4f3327=>_0x4f3327[_0x2b0eb8(0x150)]===_0x1849c8[_0x2b0eb8(0x14a)]['COMMENT'])['map'](_0x44bff3=>_0x44bff3[_0x2b0eb8(0x186)]))==null?[]:_0x4fae7d,_0x508507=JSON[_0x2b0eb8(0x112)](_0x42d10e),_0x253f3d=_0x26807f[_0x2b0eb8(0x18c)],_0x424f92=_0x26807f['id'],_0x52c987={'memberId':(await this[_0x2b0eb8(0x147)][_0x2b0eb8(0x174)](_0x461b02))[_0x2b0eb8(0x169)](),'unitId':_0x461b02,'threadId':_0x253f3d,'mention':_0x5d0e52,'content':_0x508507,'replyId':_0x424f92},_0x398ed4=await this[_0x2b0eb8(0x148)][_0x2b0eb8(0x154)](_0x2b0eb8(0x137)+_0x461b02+'/edit',{'body':_0x52c987});return!_0x398ed4['body']['error']||_0x398ed4[_0x2b0eb8(0x161)][_0x2b0eb8(0x115)][_0x2b0eb8(0x167)]===0x1;}async[_0x48a113(0x140)](_0x2ff972){const _0x171757=_0x48a113;let {unitId:_0x3f77a5}=_0x2ff972,_0x490145=_0x2ff972[_0x171757(0x18c)],_0x43b9a4={'memberId':this[_0x171757(0x12d)][_0x171757(0x180)]()[_0x171757(0x184)],'unitId':_0x3f77a5,'threadId':_0x490145,'solved':_0x2ff972['resolved']?_0x49a927[_0x171757(0x15b)]:_0x49a927[_0x171757(0x142)]},_0x124f69=await this[_0x171757(0x148)][_0x171757(0x154)](_0x171757(0x137)+_0x3f77a5+_0x171757(0x17d),{'body':_0x43b9a4});return!_0x124f69[_0x171757(0x161)][_0x171757(0x115)]||_0x124f69[_0x171757(0x161)][_0x171757(0x115)][_0x171757(0x167)]===0x1;}async['deleteComment'](_0x5a7581,_0x56fc24,_0x47d412,_0x3cbc60){const _0x5f051c=_0x48a113;let _0x591414={'memberId':(await this[_0x5f051c(0x147)][_0x5f051c(0x174)](_0x5a7581))[_0x5f051c(0x169)](),'threadId':_0x47d412,'replyId':_0x3cbc60,'unitId':_0x5a7581},_0x4f86d9=await this['_httpService'][_0x5f051c(0x154)](_0x5f051c(0x137)+_0x5a7581+'/delete',{'body':_0x591414});return!_0x4f86d9['body'][_0x5f051c(0x115)]||_0x4f86d9[_0x5f051c(0x161)][_0x5f051c(0x115)][_0x5f051c(0x167)]===0x1;}async[_0x48a113(0x116)](_0xaf8e1c,_0x2ea247,_0x3ea7aa){const _0x443313=_0x48a113;let _0x1b6f43={'unitId':_0xaf8e1c,'threadId':_0x3ea7aa},_0x4e7c38=await this[_0x443313(0x148)][_0x443313(0x154)](_0x443313(0x137)+_0xaf8e1c+'/list',{'body':_0x1b6f43}),_0x58e3de=_0x3ea7aa[_0x443313(0x165)](_0x1cfa99=>_0x1f02a3(_0x4e7c38[_0x443313(0x161)][_0x443313(0x15d)][_0x1cfa99],_0xaf8e1c,_0x2ea247))[_0x443313(0x187)](Boolean);return Object[_0x443313(0x171)](_0x4e7c38[_0x443313(0x161)][_0x443313(0x126)])[_0x443313(0x18f)](_0x5b67fc=>{const _0x3f129b=_0x443313;this[_0x3f129b(0x12d)][_0x3f129b(0x123)](_0x5b67fc);}),_0x58e3de;}[_0x48a113(0x173)](_0x305769){const _0x36daca=_0x48a113;return{'id':_0x305769['id'],'threadId':_0x305769[_0x36daca(0x18c)],'ref':_0x305769[_0x36daca(0x13b)]};}};_0x3123d3=_0x3c08e8([_0x3b2906(0x0,(0x0,_0x1849c8[_0x48a113(0x16a)])(_0x44e0cf['HTTPService'])),_0x3b2906(0x1,(0x0,_0x1849c8[_0x48a113(0x16a)])(_0x1849c8[_0x48a113(0x14d)])),_0x3b2906(0x2,(0x0,_0x1849c8['Inject'])(_0x7596e9[_0x48a113(0x11d)]))],_0x3123d3);let _0x1e3333=class extends _0x1849c8['Disposable']{constructor(_0x16687e,_0xdd18f3){const _0x5294ac=_0x48a113;super(),this['_threadCommentDataSourceService']=_0x16687e,this[_0x5294ac(0x145)]=_0xdd18f3,this[_0x5294ac(0x159)]();}[_0x48a113(0x159)](){const _0x561682=_0x48a113;this['_threadCommentDataSourceService'][_0x561682(0x15f)]=this[_0x561682(0x145)],this['_threadCommentDataSourceService']['syncUpdateMutationToColla']=!0x1;}};_0x1e3333=_0x3c08e8([_0x3b2906(0x0,_0x3f0b21[_0x48a113(0x128)]),_0x3b2906(0x1,(0x0,_0x1849c8[_0x48a113(0x16a)])(_0x3123d3))],_0x1e3333);function _0x1e120c(_0xbaa73c){'@babel/helpers - typeof';const _0x480eaa=_0x48a113;return _0x1e120c=typeof Symbol=='function'&&typeof Symbol[_0x480eaa(0x11f)]==_0x480eaa(0x12c)?function(_0x4d1ba9){return typeof _0x4d1ba9;}:function(_0x5707da){const _0xa4a5e7=_0x480eaa;return _0x5707da&&typeof Symbol==_0xa4a5e7(0x143)&&_0x5707da[_0xa4a5e7(0x125)]===Symbol&&_0x5707da!==Symbol[_0xa4a5e7(0x130)]?_0xa4a5e7(0x12c):typeof _0x5707da;},_0x1e120c(_0xbaa73c);}function _0x23515(_0x4f40ac,_0xf88ace){const _0x44405f=_0x48a113;if(_0x1e120c(_0x4f40ac)!=_0x44405f(0x182)||!_0x4f40ac)return _0x4f40ac;var _0x5e7484=_0x4f40ac[Symbol[_0x44405f(0x14b)]];if(_0x5e7484!==void 0x0){var _0x3c761d=_0x5e7484['call'](_0x4f40ac,_0xf88ace||_0x44405f(0x17a));if(_0x1e120c(_0x3c761d)!='object')return _0x3c761d;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0xf88ace==='string'?String:Number)(_0x4f40ac);}function _0x3a3015(_0x344c8a){const _0x278da3=_0x48a113;var _0x4d258c=_0x23515(_0x344c8a,_0x278da3(0x118));return _0x1e120c(_0x4d258c)==_0x278da3(0x12c)?_0x4d258c:_0x4d258c+'';}function _0x8ae3c7(_0x521cf6,_0x21907d,_0x74238b){const _0x29668b=_0x48a113;return(_0x21907d=_0x3a3015(_0x21907d))in _0x521cf6?Object[_0x29668b(0x110)](_0x521cf6,_0x21907d,{'value':_0x74238b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x521cf6[_0x21907d]=_0x74238b,_0x521cf6;}let _0x5547b0=class extends _0x1849c8[_0x48a113(0x192)]{constructor(_0x47b58f=_0x467711,_0x5bd17d,_0x3c5c42){const _0x5a4361=_0x48a113;super(),this[_0x5a4361(0x177)]=_0x47b58f,this['_injector']=_0x5bd17d,this['_configService']=_0x3c5c42;let {..._0x55ab6d}=(0x0,_0x1849c8[_0x5a4361(0x185)])({},_0x467711,this[_0x5a4361(0x177)]);this[_0x5a4361(0x132)][_0x5a4361(0x15e)](_0xbf59f7,_0x55ab6d);}['onStarting'](){const _0x2c2eb4=_0x48a113;[[_0x3123d3],[_0x1e3333],[_0x4b2c91]][_0x2c2eb4(0x18f)](_0x2e5dd8=>{const _0x1c66cd=_0x2c2eb4;this[_0x1c66cd(0x11a)]['add'](_0x2e5dd8);});}[_0x48a113(0x11b)](){const _0x1eaa9d=_0x48a113;this[_0x1eaa9d(0x11a)][_0x1eaa9d(0x18e)](_0x1e3333),this[_0x1eaa9d(0x11a)][_0x1eaa9d(0x18e)](_0x4b2c91);}};_0x8ae3c7(_0x5547b0,_0x48a113(0x14e),_0x48a113(0x18b)),_0x8ae3c7(_0x5547b0,_0x48a113(0x12b),_0xf84156),_0x8ae3c7(_0x5547b0,'version',_0xefe58c),_0x5547b0=_0x3c08e8([(0x0,_0x1849c8[_0x48a113(0x14c)])(_0x100e72[_0x48a113(0x179)],_0x7596e9['UniverCollaborationClientPlugin'],_0xce5e77[_0x48a113(0x168)]),_0x3b2906(0x1,(0x0,_0x1849c8[_0x48a113(0x16a)])(_0x1849c8['Injector'])),_0x3b2906(0x2,_0x1849c8['IConfigService'])],_0x5547b0),Object[_0x48a113(0x110)](_0x1ebd8f,'UniverThreadCommentDataSourcePlugin',{'enumerable':!0x0,'get':function(){return _0x5547b0;}});}));
14
+ function _0x2b19(_0x164bbb,_0x24b161){_0x164bbb=_0x164bbb-0x18b;const _0x28988f=_0x2898();let _0x2b1900=_0x28988f[_0x164bbb];return _0x2b1900;}function _0x2898(){const _0x365ab1=['_sessionService','object','@univerjs/thread-comment','972777qvbYTJ','/universer-api/comment/unit/','comment','default','_threadCommentDataSourceService','get','Add','replyId','symbol','resolveComment','customRanges','rangeType','UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN','merge','_initUserSync','UniverProCollaborationClient','map','_userService','userID','405dVBmXz','/reply','stringify','getOwnPropertyDescriptor','string','content','user','slice','filter','userId','parentId','UniverCollaborationClientPlugin','format','8kcNghO','HTTPService','pluginName','thread-comment-data-source.config','listComments','syncUpdateMutationToColla','function','packageName','UserManagerService','rxjs','code','root','type','UniverThreadComment','Solved','_commentService','updateComment','Reply','length','CustomRangeType','/solved','iterator','createTimestamp','pipe','Inject','_initDataSource','@univerjs/network','IThreadCommentDataSourceService','UniverProThreadCommentDatasource','Module','ThreadCommentModel','72948RLLfOr','disposeWithMe','/delete','0.21.0','@univerjs-pro/license','version','requireSession','_injector','Solve','UniverThreadCommentUi','find','delete','reply','_threadCommentModel','34915780kDleDT','2372718HYYOvH','@univerjs/protocol','saveCommentToSnapshot','@univerjs/thread-comment-ui','error','comments','getMemberID','onReady','_init','threadId','unitId','/universer-api/user/list','Delete','size','Edit','prototype','parse','post','96gaqNGc','addComment','UniverCore','amd','dateKit','CommentUpdateEventType','@univerjs-pro/collaboration-client','values','call','deleteComment','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','commentUpdate$','decorate','_threadCommentDataSource','DependentOn','_configService','CommentService','_config','rangeId','personId','_httpService','COMMENT','forEach','@univerjs/core','332605PmilGn','CommentSolvedStatus','defineProperty','add','onStarting','YYYY/MM/DD\x20HH:mm','Injector','dataSource','resolved','users','replies','UniverProLicense','getUser','body','580653AEWzPK','getUnit','/add','toPrimitive','UniverLicensePlugin','subscribe','addUser','UniverNetwork','Disposable','solved','6151537yvjKPO','UniverThreadCommentUIPlugin','bufferTime','exports'];_0x2898=function(){return _0x365ab1;};return _0x2898();}(function(_0x951e14,_0x27f202){const _0x5b7d0b=_0x2b19,_0x1f8514=_0x951e14();while(!![]){try{const _0x54fd27=-parseInt(_0x5b7d0b(0x21b))/0x1+-parseInt(_0x5b7d0b(0x1c3))/0x2*(-parseInt(_0x5b7d0b(0x1a3))/0x3)+-parseInt(_0x5b7d0b(0x1e2))/0x4*(parseInt(_0x5b7d0b(0x1b6))/0x5)+-parseInt(_0x5b7d0b(0x1f1))/0x6+-parseInt(_0x5b7d0b(0x19c))/0x7+-parseInt(_0x5b7d0b(0x203))/0x8*(parseInt(_0x5b7d0b(0x192))/0x9)+parseInt(_0x5b7d0b(0x1f0))/0xa;if(_0x54fd27===_0x27f202)break;else _0x1f8514['push'](_0x1f8514['shift']());}catch(_0x3f6ef2){_0x1f8514['push'](_0x1f8514['shift']());}}}(_0x2898,0xe323c),function(_0x432eb5,_0xa7d08c){const _0x490090=_0x2b19;typeof exports==_0x490090(0x1a1)&&typeof module<'u'?_0xa7d08c(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs-pro/license`),require(`@univerjs/core`),require(`@univerjs/thread-comment-ui`),require(`@univerjs/protocol`),require(`@univerjs/thread-comment`),require(`rxjs`),require(`@univerjs/network`)):typeof define==_0x490090(0x1c9)&&define[_0x490090(0x206)]?define([_0x490090(0x19f),_0x490090(0x209),_0x490090(0x1e6),_0x490090(0x21a),_0x490090(0x1f4),_0x490090(0x1f2),_0x490090(0x1a2),_0x490090(0x1cc),_0x490090(0x1dd)],_0xa7d08c):(_0x432eb5=typeof globalThis<'u'?globalThis:_0x432eb5||self,_0xa7d08c(_0x432eb5[_0x490090(0x1df)]={},_0x432eb5[_0x490090(0x1b2)],_0x432eb5[_0x490090(0x18f)],_0x432eb5[_0x490090(0x205)],_0x432eb5[_0x490090(0x1eb)],_0x432eb5['UniverProtocol'],_0x432eb5[_0x490090(0x1d0)],_0x432eb5[_0x490090(0x1cc)],_0x432eb5[_0x490090(0x199)]));}(this,function(_0x17009d,_0x43d9ee,_0x72892f,_0x43f138,_0x885b42,_0x2b045d,_0x1fa212,_0x2845e7,_0x12dc7b){const _0x446e9e=_0x2b19;Object[_0x446e9e(0x21d)](_0x17009d,Symbol['toStringTag'],{'value':_0x446e9e(0x1e0)});var _0x5af773='@univerjs-pro/thread-comment-datasource',_0x344790=_0x446e9e(0x1e5);let _0x3be6f2=_0x35ed88=>(0x0,_0x43f138[_0x446e9e(0x207)])(new Date(+_0x35ed88))[_0x446e9e(0x1c2)]('YYYY/MM/DD\x20HH:mm'),_0xf20770=async(_0x5d8ede,_0x589987)=>{const _0x506c71=_0x446e9e;let _0x4914ab=_0x5d8ede[_0x506c71(0x1a8)](_0x43f138['UserManagerService']),_0x1fee57=_0x5d8ede[_0x506c71(0x1a8)](_0x12dc7b[_0x506c71(0x1c4)]);_0x589987['forEach'](_0x39eee5=>{const _0x1671a3=_0x506c71;_0x4914ab[_0x1671a3(0x190)](_0x39eee5)&&_0x589987[_0x1671a3(0x1ed)](_0x39eee5);}),_0x589987[_0x506c71(0x1fe)]&&(await _0x1fee57[_0x506c71(0x1a8)](_0x506c71(0x1fc),{'params':{'userIDs':[..._0x589987]}}))[_0x506c71(0x191)][_0x506c71(0x18d)][_0x506c71(0x219)](_0x11a93e=>{const _0x1b3dd3=_0x506c71;_0x11a93e&&_0x4914ab[_0x1b3dd3(0x198)](_0x11a93e);});};function _0x26b3db(_0x3c35ef,_0x1d1574){return function(_0x4fa5f8,_0xff1682){_0x1d1574(_0x4fa5f8,_0xff1682,_0x3c35ef);};}function _0xc2ad05(_0x3d01f5,_0x319a6e,_0x2b9f81,_0x51aca1){const _0x3a75fc=_0x446e9e;var _0x40ef27=arguments['length'],_0x77c7a2=_0x40ef27<0x3?_0x319a6e:_0x51aca1===null?_0x51aca1=Object[_0x3a75fc(0x1b9)](_0x319a6e,_0x2b9f81):_0x51aca1,_0x335e73;if(typeof Reflect==_0x3a75fc(0x1a1)&&typeof Reflect['decorate']=='function')_0x77c7a2=Reflect[_0x3a75fc(0x20f)](_0x3d01f5,_0x319a6e,_0x2b9f81,_0x51aca1);else{for(var _0x44acdd=_0x3d01f5[_0x3a75fc(0x1d5)]-0x1;_0x44acdd>=0x0;_0x44acdd--)(_0x335e73=_0x3d01f5[_0x44acdd])&&(_0x77c7a2=(_0x40ef27<0x3?_0x335e73(_0x77c7a2):_0x40ef27>0x3?_0x335e73(_0x319a6e,_0x2b9f81,_0x77c7a2):_0x335e73(_0x319a6e,_0x2b9f81))||_0x77c7a2);}return _0x40ef27>0x3&&_0x77c7a2&&Object[_0x3a75fc(0x21d)](_0x319a6e,_0x2b9f81,_0x77c7a2),_0x77c7a2;}let _0x4e651d=class extends _0x43f138['Disposable']{constructor(_0x589a5b,_0x1cac16,_0x326612,_0x44f892){const _0x3744ea=_0x446e9e;super(),this[_0x3744ea(0x1d2)]=_0x589a5b,this[_0x3744ea(0x1ef)]=_0x1cac16,this[_0x3744ea(0x1b4)]=_0x326612,this[_0x3744ea(0x1e9)]=_0x44f892,this['_init'](),this['_initUserSync']();}[_0x446e9e(0x1b1)](){const _0x298b35=_0x446e9e;this[_0x298b35(0x1e3)](this[_0x298b35(0x1ef)][_0x298b35(0x20e)][_0x298b35(0x1da)]((0x0,_0x2845e7[_0x298b35(0x19e)])(0x10))['subscribe'](_0x4be9eb=>{const _0x20fe47=_0x298b35;let _0x430bc2=new Set();_0x4be9eb[_0x20fe47(0x219)](_0x5e803c=>{const _0x1e9f93=_0x20fe47;switch(_0x5e803c[_0x1e9f93(0x1cf)]){case'add':{let _0x197386=_0x5e803c['payload'][_0x1e9f93(0x216)];_0x430bc2[_0x1e9f93(0x21e)](_0x197386);break;}default:break;}}),_0xf20770(this['_injector'],_0x430bc2);}));}[_0x446e9e(0x1f9)](){const _0x26c1e3=_0x446e9e;this[_0x26c1e3(0x1e3)](this['_commentService']['commentUpdate$'][_0x26c1e3(0x197)](async _0x2defe1=>{const _0x1142fd=_0x26c1e3;var _0x1d4989;let _0x1bebf4=(_0x1d4989=this[_0x1142fd(0x1ef)][_0x1142fd(0x193)](_0x2defe1[_0x1142fd(0x1fb)])['find'](_0x2a9c0a=>_0x2a9c0a['threadId']===_0x2defe1['threadId']))==null?void 0x0:_0x1d4989[_0x1142fd(0x1ce)];if(!_0x1bebf4)return;let {unitId:_0x41bcca,subUnitId:_0x17bd7a}=_0x1bebf4;switch(_0x2defe1[_0x1142fd(0x1bc)]&&this['_userService'][_0x1142fd(0x198)](_0x2defe1[_0x1142fd(0x1bc)]),_0x2defe1['type']){case _0x2b045d['CommentUpdateEventType'][_0x1142fd(0x1a9)]:break;case _0x2b045d[_0x1142fd(0x208)][_0x1142fd(0x1d4)]:var _0x2b16ac,_0x5c751e;this['_threadCommentModel'][_0x1142fd(0x204)](_0x41bcca,_0x17bd7a,{'unitId':_0x41bcca,'subUnitId':_0x17bd7a,'ref':'','id':_0x2defe1['replyId'],'dT':_0x3be6f2(+_0x2defe1[_0x1142fd(0x1d9)]),'threadId':_0x2defe1[_0x1142fd(0x1fa)],'personId':(_0x2b16ac=(_0x5c751e=_0x2defe1[_0x1142fd(0x1bc)])==null?void 0x0:_0x5c751e[_0x1142fd(0x1b5)])==null?_0x2defe1[_0x1142fd(0x1bf)]:_0x2b16ac,'text':JSON[_0x1142fd(0x201)](_0x2defe1[_0x1142fd(0x1bb)]),'parentId':_0x1bebf4['id']});break;case _0x2b045d[_0x1142fd(0x208)][_0x1142fd(0x1fd)]:{let _0x107b11=this[_0x1142fd(0x1ef)]['getComment'](_0x41bcca,_0x17bd7a,_0x2defe1[_0x1142fd(0x1aa)]);_0x107b11&&_0x107b11[_0x1142fd(0x1c0)]&&this[_0x1142fd(0x1ef)][_0x1142fd(0x20c)](_0x41bcca,_0x17bd7a,_0x2defe1['replyId']);break;}case _0x2b045d[_0x1142fd(0x208)][_0x1142fd(0x1ff)]:this['_threadCommentModel'][_0x1142fd(0x1d3)](_0x41bcca,_0x17bd7a,{'commentId':_0x2defe1['replyId'],'text':JSON[_0x1142fd(0x201)](_0x2defe1[_0x1142fd(0x1bb)])});break;case _0x2b045d[_0x1142fd(0x208)][_0x1142fd(0x1ea)]:{var _0x1e5e26;let _0x3f6afb=(_0x1e5e26=this[_0x1142fd(0x1ef)][_0x1142fd(0x193)](_0x2defe1[_0x1142fd(0x1fb)])[_0x1142fd(0x1ec)](_0xaa1672=>_0xaa1672['threadId']===_0x2defe1['threadId']))==null?void 0x0:_0x1e5e26[_0x1142fd(0x1ce)];_0x3f6afb&&this[_0x1142fd(0x1ef)][_0x1142fd(0x1ac)](_0x41bcca,_0x17bd7a,_0x3f6afb['id'],_0x2defe1[_0x1142fd(0x19b)]===_0x2b045d['CommentSolvedStatus'][_0x1142fd(0x1d1)]);break;}default:break;}}));}};_0x4e651d=_0xc2ad05([_0x26b3db(0x0,(0x0,_0x43f138['Inject'])(_0x43d9ee[_0x446e9e(0x213)])),_0x26b3db(0x1,(0x0,_0x43f138[_0x446e9e(0x1db)])(_0x1fa212[_0x446e9e(0x1e1)])),_0x26b3db(0x2,(0x0,_0x43f138['Inject'])(_0x43f138['UserManagerService'])),_0x26b3db(0x3,(0x0,_0x43f138[_0x446e9e(0x1db)])(_0x43f138[_0x446e9e(0x221)]))],_0x4e651d);let _0x19e91f=_0x446e9e(0x1c6);Symbol(_0x19e91f);let _0x44f42b={};function _0x369159(_0x162191,_0x39eb2a){const _0x20e1f4=_0x446e9e;let _0x54d0a1=_0x162191['replies'][0x0];return{..._0x39eb2a,'id':_0x54d0a1['replyId'],'resolved':_0x162191[_0x20e1f4(0x19b)]===0x1,'dT':_0x3be6f2(_0x54d0a1[_0x20e1f4(0x1d9)]),'personId':_0x54d0a1[_0x20e1f4(0x1bf)],'threadId':_0x54d0a1[_0x20e1f4(0x1fa)]};}function _0x3c8d35(_0x3fac06,_0x4817d0,_0x47f880){const _0x4fb7cb=_0x446e9e;var _0x35b8ae,_0x6d99d;if(((_0x35b8ae=_0x3fac06==null||(_0x6d99d=_0x3fac06[_0x4fb7cb(0x18e)])==null?void 0x0:_0x6d99d['length'])==null?0x0:_0x35b8ae)>0x0){let _0x2ed2a2=(_0x1f376e,_0x552e8e)=>({'id':_0x1f376e[_0x4fb7cb(0x1aa)],'threadId':_0x1f376e[_0x4fb7cb(0x1fa)],'dT':_0x3be6f2(_0x1f376e[_0x4fb7cb(0x1d9)]),'personId':_0x1f376e[_0x4fb7cb(0x1bf)],'resolved':_0x3fac06['solved']===_0x2b045d[_0x4fb7cb(0x21c)][_0x4fb7cb(0x1d1)],'unitId':_0x4817d0,'subUnitId':_0x47f880,'text':JSON[_0x4fb7cb(0x201)](_0x1f376e[_0x4fb7cb(0x1bb)]),'parentId':_0x552e8e}),_0x330355=_0x2ed2a2(_0x3fac06[_0x4fb7cb(0x18e)][0x0]);return{..._0x330355,'children':_0x3fac06[_0x4fb7cb(0x18e)][_0x4fb7cb(0x1bd)](0x1)[_0x4fb7cb(0x1b3)](_0x332323=>_0x2ed2a2(_0x332323,_0x330355['id']))};}return null;}let _0x95412e=class{constructor(_0x293aa5,_0x5ef3f3,_0x1e5f9e){const _0x57fb05=_0x446e9e;this[_0x57fb05(0x217)]=_0x293aa5,this[_0x57fb05(0x1b4)]=_0x5ef3f3,this[_0x57fb05(0x1a0)]=_0x1e5f9e;}async[_0x446e9e(0x204)](_0xaf9687){const _0x21bbab=_0x446e9e;var _0x4c291d,_0xa8dbd6;let {parentId:_0x19b024,unitId:_0x5d9887,text:_0x31408a,threadId:_0x25fabe}=_0xaf9687,_0xbef6df=(_0x4c291d=(_0xa8dbd6=_0x31408a[_0x21bbab(0x1ad)])==null?void 0x0:_0xa8dbd6[_0x21bbab(0x1be)](_0x3c8d09=>_0x3c8d09[_0x21bbab(0x1ae)]===_0x43f138[_0x21bbab(0x1d6)][_0x21bbab(0x218)])[_0x21bbab(0x1b3)](_0x45552e=>_0x45552e[_0x21bbab(0x215)]))==null?[]:_0x4c291d,_0x5c4c80=JSON[_0x21bbab(0x1b8)](_0x31408a),_0x12fc94=(await this[_0x21bbab(0x1a0)][_0x21bbab(0x1e8)](_0x5d9887))[_0x21bbab(0x1f7)]();if(_0x19b024){let _0x205f5={'memberId':_0x12fc94,'unitId':_0x5d9887,'content':_0x5c4c80,'mention':_0xbef6df,'threadId':_0x25fabe},_0x241c9c=(await this[_0x21bbab(0x217)]['post'](_0x21bbab(0x1a4)+_0x5d9887+_0x21bbab(0x1b7),{'body':_0x205f5}))[_0x21bbab(0x191)][_0x21bbab(0x1ee)];return{..._0xaf9687,'id':_0x241c9c[_0x21bbab(0x1aa)],'dT':(0x0,_0x43f138[_0x21bbab(0x207)])(+_0x241c9c[_0x21bbab(0x1d9)])['format'](_0x21bbab(0x220)),'personId':_0x241c9c[_0x21bbab(0x1bf)]};}else{let _0x1bff64={'memberId':_0x12fc94,'unitId':_0x5d9887,'content':_0x5c4c80,'mention':_0xbef6df};return _0x369159((await this['_httpService'][_0x21bbab(0x202)](_0x21bbab(0x1a4)+_0x5d9887+_0x21bbab(0x194),{'body':_0x1bff64}))[_0x21bbab(0x191)][_0x21bbab(0x1a5)],_0xaf9687);}}async[_0x446e9e(0x1d3)](_0x547324){const _0x40b071=_0x446e9e;var _0x5d9f71,_0x2ecc68;let {text:_0x13080a,unitId:_0x604ed}=_0x547324,_0x4de829=(_0x5d9f71=(_0x2ecc68=_0x13080a['customRanges'])==null?void 0x0:_0x2ecc68[_0x40b071(0x1be)](_0x44f40a=>_0x44f40a[_0x40b071(0x1ae)]===_0x43f138['CustomRangeType'][_0x40b071(0x218)])[_0x40b071(0x1b3)](_0x275817=>_0x275817[_0x40b071(0x215)]))==null?[]:_0x5d9f71,_0x4d05b3=JSON['stringify'](_0x13080a),_0x1fa263=_0x547324[_0x40b071(0x1fa)],_0x1c208a=_0x547324['id'],_0x27d835={'memberId':(await this[_0x40b071(0x1a0)][_0x40b071(0x1e8)](_0x604ed))[_0x40b071(0x1f7)](),'unitId':_0x604ed,'threadId':_0x1fa263,'mention':_0x4de829,'content':_0x4d05b3,'replyId':_0x1c208a},_0x514777=await this[_0x40b071(0x217)][_0x40b071(0x202)](_0x40b071(0x1a4)+_0x604ed+'/edit',{'body':_0x27d835});return!_0x514777[_0x40b071(0x191)]['error']||_0x514777[_0x40b071(0x191)][_0x40b071(0x1f5)][_0x40b071(0x1cd)]===0x1;}async[_0x446e9e(0x1ac)](_0x304092){const _0xf2392=_0x446e9e;let {unitId:_0x3386c7}=_0x304092,_0x4174bc=_0x304092['threadId'],_0x94cf5b={'memberId':this['_userService']['getCurrentUser']()['userID'],'unitId':_0x3386c7,'threadId':_0x4174bc,'solved':_0x304092[_0xf2392(0x18c)]?_0x2b045d['CommentSolvedStatus'][_0xf2392(0x1d1)]:_0x2b045d['CommentSolvedStatus']['OpenOrReOpen']},_0x4f74bc=await this['_httpService']['post']('/universer-api/comment/unit/'+_0x3386c7+_0xf2392(0x1d7),{'body':_0x94cf5b});return!_0x4f74bc[_0xf2392(0x191)][_0xf2392(0x1f5)]||_0x4f74bc[_0xf2392(0x191)][_0xf2392(0x1f5)][_0xf2392(0x1cd)]===0x1;}async[_0x446e9e(0x20c)](_0x2ce220,_0x12bfc5,_0x1053a0,_0x31f0df){const _0x2a1b27=_0x446e9e;let _0x3d3da2={'memberId':(await this[_0x2a1b27(0x1a0)]['requireSession'](_0x2ce220))[_0x2a1b27(0x1f7)](),'threadId':_0x1053a0,'replyId':_0x31f0df,'unitId':_0x2ce220},_0x4f4a7b=await this[_0x2a1b27(0x217)]['post'](_0x2a1b27(0x1a4)+_0x2ce220+_0x2a1b27(0x1e4),{'body':_0x3d3da2});return!_0x4f4a7b[_0x2a1b27(0x191)][_0x2a1b27(0x1f5)]||_0x4f4a7b[_0x2a1b27(0x191)]['error']['code']===0x1;}async[_0x446e9e(0x1c7)](_0x4c5601,_0xfd77b3,_0x509006){const _0x1f8d7e=_0x446e9e;let _0x401954={'unitId':_0x4c5601,'threadId':_0x509006},_0x5c7de3=await this[_0x1f8d7e(0x217)][_0x1f8d7e(0x202)](_0x1f8d7e(0x1a4)+_0x4c5601+'/list',{'body':_0x401954}),_0x51bb1e=_0x509006[_0x1f8d7e(0x1b3)](_0x2a969e=>_0x3c8d35(_0x5c7de3['body'][_0x1f8d7e(0x1f6)][_0x2a969e],_0x4c5601,_0xfd77b3))[_0x1f8d7e(0x1be)](Boolean);return Object[_0x1f8d7e(0x20a)](_0x5c7de3[_0x1f8d7e(0x191)][_0x1f8d7e(0x18d)])['forEach'](_0x506e0d=>{const _0x433308=_0x1f8d7e;this[_0x433308(0x1b4)][_0x433308(0x198)](_0x506e0d);}),_0x51bb1e;}[_0x446e9e(0x1f3)](_0x357d30){const _0x189158=_0x446e9e;return{'id':_0x357d30['id'],'threadId':_0x357d30[_0x189158(0x1fa)],'ref':_0x357d30['ref']};}};_0x95412e=_0xc2ad05([_0x26b3db(0x0,(0x0,_0x43f138[_0x446e9e(0x1db)])(_0x12dc7b[_0x446e9e(0x1c4)])),_0x26b3db(0x1,(0x0,_0x43f138['Inject'])(_0x43f138[_0x446e9e(0x1cb)])),_0x26b3db(0x2,(0x0,_0x43f138[_0x446e9e(0x1db)])(_0x43d9ee['CollaborationSessionService']))],_0x95412e);let _0x42e325=class extends _0x43f138[_0x446e9e(0x19a)]{constructor(_0x151fa5,_0x13f0ae){const _0x4ef996=_0x446e9e;super(),this[_0x4ef996(0x1a7)]=_0x151fa5,this[_0x4ef996(0x210)]=_0x13f0ae,this[_0x4ef996(0x1dc)]();}[_0x446e9e(0x1dc)](){const _0x380cb5=_0x446e9e;this[_0x380cb5(0x1a7)][_0x380cb5(0x18b)]=this[_0x380cb5(0x210)],this[_0x380cb5(0x1a7)][_0x380cb5(0x1c8)]=!0x1;}};_0x42e325=_0xc2ad05([_0x26b3db(0x0,_0x1fa212[_0x446e9e(0x1de)]),_0x26b3db(0x1,(0x0,_0x43f138[_0x446e9e(0x1db)])(_0x95412e))],_0x42e325);function _0x5ae6cc(_0x469b8f){'@babel/helpers - typeof';const _0x455a07=_0x446e9e;return _0x5ae6cc=typeof Symbol=='function'&&typeof Symbol[_0x455a07(0x1d8)]==_0x455a07(0x1ab)?function(_0xc69698){return typeof _0xc69698;}:function(_0x556cf9){const _0x39879d=_0x455a07;return _0x556cf9&&typeof Symbol==_0x39879d(0x1c9)&&_0x556cf9['constructor']===Symbol&&_0x556cf9!==Symbol[_0x39879d(0x200)]?'symbol':typeof _0x556cf9;},_0x5ae6cc(_0x469b8f);}function _0x69cdf1(_0x413671,_0x5ed5b4){const _0x562b90=_0x446e9e;if(_0x5ae6cc(_0x413671)!='object'||!_0x413671)return _0x413671;var _0xcd815f=_0x413671[Symbol[_0x562b90(0x195)]];if(_0xcd815f!==void 0x0){var _0xd13930=_0xcd815f[_0x562b90(0x20b)](_0x413671,_0x5ed5b4||_0x562b90(0x1a6));if(_0x5ae6cc(_0xd13930)!='object')return _0xd13930;throw TypeError(_0x562b90(0x20d));}return(_0x5ed5b4===_0x562b90(0x1ba)?String:Number)(_0x413671);}function _0x5c4f09(_0x150a0d){const _0x1463bb=_0x446e9e;var _0x4eca7b=_0x69cdf1(_0x150a0d,_0x1463bb(0x1ba));return _0x5ae6cc(_0x4eca7b)==_0x1463bb(0x1ab)?_0x4eca7b:_0x4eca7b+'';}function _0x4ba6a4(_0x13242a,_0x509ff0,_0x3a63a0){const _0x21b821=_0x446e9e;return(_0x509ff0=_0x5c4f09(_0x509ff0))in _0x13242a?Object[_0x21b821(0x21d)](_0x13242a,_0x509ff0,{'value':_0x3a63a0,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x13242a[_0x509ff0]=_0x3a63a0,_0x13242a;}let _0x51b9e8=class extends _0x43f138['Plugin']{constructor(_0x39f1c0=_0x44f42b,_0x512135,_0x2b70ee){const _0xe6c6c=_0x446e9e;super(),this['_config']=_0x39f1c0,this[_0xe6c6c(0x1e9)]=_0x512135,this[_0xe6c6c(0x212)]=_0x2b70ee;let {..._0x4aab82}=(0x0,_0x43f138[_0xe6c6c(0x1b0)])({},_0x44f42b,this[_0xe6c6c(0x214)]);this[_0xe6c6c(0x212)]['setConfig'](_0x19e91f,_0x4aab82);}[_0x446e9e(0x21f)](){[[_0x95412e],[_0x42e325],[_0x4e651d]]['forEach'](_0x4906b5=>{const _0x79c38d=_0x2b19;this[_0x79c38d(0x1e9)][_0x79c38d(0x21e)](_0x4906b5);});}[_0x446e9e(0x1f8)](){const _0x339752=_0x446e9e;this['_injector'][_0x339752(0x1a8)](_0x42e325),this[_0x339752(0x1e9)][_0x339752(0x1a8)](_0x4e651d);}};_0x4ba6a4(_0x51b9e8,_0x446e9e(0x1c5),_0x446e9e(0x1af)),_0x4ba6a4(_0x51b9e8,_0x446e9e(0x1ca),_0x5af773),_0x4ba6a4(_0x51b9e8,_0x446e9e(0x1e7),_0x344790),_0x51b9e8=_0xc2ad05([(0x0,_0x43f138[_0x446e9e(0x211)])(_0x885b42[_0x446e9e(0x19d)],_0x43d9ee[_0x446e9e(0x1c1)],_0x72892f[_0x446e9e(0x196)]),_0x26b3db(0x1,(0x0,_0x43f138[_0x446e9e(0x1db)])(_0x43f138['Injector'])),_0x26b3db(0x2,_0x43f138['IConfigService'])],_0x51b9e8),Object[_0x446e9e(0x21d)](_0x17009d,'UniverThreadCommentDataSourcePlugin',{'enumerable':!0x0,'get':function(){return _0x51b9e8;}});}));
15
15
 
16
16
  // @univerjs-pro/edit-history-viewer/index
17
- function _0x4604(_0x11e170,_0x58747e){_0x11e170=_0x11e170-0x103;const _0xcf7949=_0xcf79();let _0x460480=_0xcf7949[_0x11e170];return _0x460480;}function _0xcf79(){const _0x22dc0b=['Button','getTableInfo','SetSheetTableMutation','_getSheetObject','value','setColData','forValue','strokeStyle','CreateSheet','APPLY_REVISION_CONFILICT','Loaded','evenodd','_labelPosition','endDateString','Failed\x20to\x20fetch\x20version\x20details:','univerjs-icon\x20univerjs-icon-','Comment','IMessageService','tag','focusUnit','updateBorderRanges','_findOverlappingShapes','UniverSheetsConditionalFormatting','SetPivotValueFilterMutation','_initPanel','origin','_renderDrawingHighlights','-detail-','showDiffMarks','stroke','SetPivotSortMutation','recoverTime','cellValue','4961621uoXQOp','bottom','UNIVER_EDIT_HISTORY_VIEWER_MOBILE_PLUGIN','drawingIds','currentVersionDiff$','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-top-0\x20univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_yieldToMain','pivotTableId','/universer-api/history','labelKey','stopPropagation','...','univer-max-h-[300px]\x20univer-overflow-y-auto\x20univer-py-1','fetchCreatorList','_sheetsFilterService','current','getMatrix','lastLabel','toISOString','link','SetCellStyle','SetPivotSubtotalTypeMutation','12px','toDisposable','addEventListener','3xFcJEh','ENSURE_SNAPSHOT_EXECUTION','IDialogService','updateBorder','getUnitId','some','setPivotFieldFormat','getVersions','useRef','univer-flex-1','_compressMutationService','YUUMI_UNABLE_LOAD_URL','Info','updateChartConfig','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','_status$','DATA_SOURCE_TOO_LARGE','_drawingDiffs','loadMoreVersions','PAYMENT_CHANNEL_NOT_SUPPORT','_univerInstanceService','removeSheet','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','div','more-down-icon','code','update','ISidebarService','_configService','[HistoryFetchService]:\x20request\x20snapshot\x20error!','editHistory.action.revertSheetSuffix','REDEMPTION_CODE_NOT_STARTED','setColWidth','addProtection','_sheetsPivotTableConfigModel','ViemRwHgtClWdt','setState','SetWorksheetPermissionPointsMutation','disposeUnit','univer-min-w-[240px]','xlink:href','evented','Today','user','getSubUnitId','univer-text-sm','permissionPointUpdate$','RemovePivotTableMutation','history-panel','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','now','ALREADY_EXISTS','viewportScrollX','SetCellValue','body','SetWorksheetNameMutation','UNDEFINED','CompressMutationService','RemovePivotFieldMutation','_getLighterColor','loadingState','ENTITLE_USE_COUPON_NOT_1ST_TRADE','setPivotCollapse','ghost','slice','SetPivotOptionMutation','filter','endRev','_updateWorksheetVisibility','startColumn','ranges','getPivotTableRangeInfo','SetSheetTableFilterMutation','RANGE_TYPE','translateY(-50%)','chartModelId','User','url(#$1','CollaborationImageIoService','dispose','updateDrawings','SetRowHiddenMutation','getCurrentLocale','_diffRangesMap','horizontal','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ReCalcSheetsFilterMutation','_applyWorkbookData','INTERNAL_ERROR','Shape','_getAPIPrefix','scene','_createUnit','ManageCollaborator','editHistory.action.insertDrawing','version','label','#FFF','INVALID_INVITE_CODE','UniverSheets','UNIVER_PROJECT','SetColDataMutation','MoreDownIcon','lineWidth','find','middle','_drawTextBubble','IUIPartsService','setColCount','getSparklineById','@univerjs/sheets-table','WorkbookMoveSheetPermission','_currentVersionDiff$','assign','getRule','_isBlinkVisible','_scrollToShape','_context','50%','historyAIassistantEnabled','createElement','show','rgba(198,40,40,0.5)','DependentOn','TOO_MANY_REQUESTS','insertBorder','getViewport','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getRuleById','_lastLabel','_confirmService','UniverSheetsUi','editSheet','editHistory.action.removeDrawing','USER_IS_ANONYMOUS','setFilter','SetWorksheetRangeThemeStyleMutation','jsxs','setValue','exited','moveCols','replace','MoveRowsMutation','register','1.66418','_dataValidationModel','editHistory.panel.cancel','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','HEADER','map','YUUMI_SUBSCRIPTION_NOT_FOUND','editHistory.panel.filterCollaboratorConfirm','_sidebarService','removeFilter','UniverProCollaborationClient','AddDataValidationMutation','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-gap-1.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','absolute','sparklineConfigMap','UNRECOGNIZED','@univerjs-pro/collaboration-client-ui','removeSparkline','row','onStarting','SheetsChartService','Delete','UpdateDataValidationMutation','RangeMergeUtil','INVALID_ARGUMENT','DeleteWorksheetRangeThemeStyleMutation','unknownUser','PivotTable','_sheetPermissionInitController','UniverNetworkPlugin','MoveConditionalRuleMutation','substring','currentVersion','historyPanelHidden','moveTo','WECHAT_HAS_BEEN_BOUND','Segmented','_combineRanges','categorizeMutationRanges','updateTable','INVITE_CODE_ALREADY_BOUND','targetRange','showRow','RecoverHistory','getMinutes','setPivotFilter','univer-flex\x20univer-items-center\x20univer-gap-2','syncExecuteCommand','clearInterval','toString','_loadingState$','CreateWorksheet','creators','refreshRangeProtectPermission','CHANGESET_REVISION_CONFILICT','History','none','RemoveSheetsShapeMutation','ChartUpdateSourceConfigMutation','_workbookDataCache','getSelectedVersionIsCurrentVersion','add','View','hideMask','Plugin','arrowRow','_hovered','UniverProEditHistoryViewer','setTimeout','includes','WorkbookHideSheetPermission','univer-relative','ViewFilter','SetWorksheetHideMutation','command','0.655','getSheets','rangeInfo','end','clearTimeout','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_stopBlinking','_removeDiffMarks','univer-mb-0.5\x20univer-flex\x20univer-items-center\x20univer-gap-2','UniverProCollaboration','Module','hasCommand','UNIVER_SHEET','SetWorksheetRightToLeftMutation','SetRowVisibleMutation','Share','setCF','getRelativeToViewportCoord','isArray','deleteCellRanges','executeCommand','getElementById','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-shrink-0\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-py-0.5\x20univer-text-xs\x20univer-text-primary-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-transparent\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','unitID','editHistory.action.','vertical','useCallback','concat','setDefaultStyle','YUUMI_NO_CUBOID_FOR_QUESTION','useMemo','action','SetSheetsFilterCriteriaMutation','SetSheetsFilterRangeMutation','Init','SetWorksheetStyle','Vector2','addRangeTheme','UniverProSheetsChart','_initRender','@univerjs-pro/collaboration-client','SetWorksheetRowHeightMutation','display','rowHeaderWidth','AddWorksheetMergeMutation','Duplicate','getMember','idSuffix','UniverEditHistoryViewerMobilePlugin','jsx','addRangeProtection','_snapshotServerService','loadInitialVersions','SetRangeValuesMutation','IPermissionService','exports','_direction','generateDiffMarks','showCol','removeAll','split','forEach','UpdateFieldPositionMutation','rgba(46,125,50,0.5)','_color','date','RevertRevisionMutation','getRange','_maskContainer','getSelectedVersionCanRevert','APPLY_PERMISSION_DENIED','deleteProtection','editHistory.panel.filterAll','setRowData','SheetSkeletonManagerService','subscribeEvent','_renderBorderRanges','colorChannel1','SheetTableService','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-flex\x20univer-h-[calc(100%-32px)]\x20univer-w-[calc(100%-16px)]\x20univer-flex-col\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-overflow-auto\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','hide','reorderRange','http://www.w3.org/2000/svg','LICENSE_MAX_UNITS_EXCEEDED','6BqIdDx','setRowHeight','registerDetailVersion','rxjs','_updateDiffMarks','SNAPSHOT_INVALID_SNAPSHOT','DeleteConditionalRuleMutation','Injector','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','useState','addSparkline','VIRTUAL_VERSION_NOW','addPivotTable','getSheetObject','MoveColsMutation','ObjectMatrix','startRow','rules','LICENSE_EXPORT_SIZE_EXCEEDED','_blinkTimer','setDV','subType','editHistory.panel.revertConfirmText','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','MessageType','EditExtraObject','_historyManagerService','insert','symbol','direction','triggerDblclick','univer-text-gray-500','editHistory.action.etc','ISnapshotServerService','BackIcon','pluginName','YUUMI_CONNECTOR_URL_NOT_FOUND','7.08645','highlightRow','UNIVER_UNKNOWN','createUnit','startsWith','data','startRevCreateTime','useDependency','deleteWorksheetRangeTheme','univer-text-2xl\x20dark:!univer-text-white','transform','_initMaskContainer','_openPanel$','_injector','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-end\x20univer-gap-2\x20univer-p-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','userId','SelectUnProtectedCells','_canRevert','IUniverInstanceService','cfId','columnHeaderHeight','SNAPSHOT_HAS_BEEN_REMOVED','univer-size-4','univer-mt-1\x20univer-text-xs\x20univer-text-gray-500','VersionDiffService','_highlightSecond','parse','name','IDrawingManagerService','RwHgtClWdt','_rangeProtectionRuleModel','-drawing-','univer-relative\x20univer-h-8','setSparkline','block','ViewHistory','setNumfmt','font','getDeserializedSheetBlock','updateShapeData','Exited','delete','parseInt','loaded','getMutationActionMap','EditWorksheetCell','AddSheetTableMutation','0.31','FromArray','CONTENT','_versions$','APPLY_DUPLICATED','_sheetTableService','setRangeValues','shapeId','ROW','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-1\x20univer-w-10\x20univer-rounded-full\x20univer-bg-gray-300\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_httpService','fillText','@univerjs-pro/edit-history-viewer','SnapshotServerOverHTTPService','all','editHistory.header.revert','RenameSheet','updatePivotSource','height','createSheet','_renderCellRanges','additionalFields','UniverSheetsMobileUIPlugin','triggerRevert','closePath','_name','univer-text-xs\x20univer-text-gray-400','updateDrawing','AddRangeProtectionMutation','addTable','COMPLETION_FINISHED','removeDV','flatMap','USER_NOT_INVITED_CODE','ENTITLE_CHAT_LIMIT_EXCEED','ENTITLE_DUP_SUBSCRIPTION','_config','zIndex','triggerLoadSheet','connectInjector','SheetsPivotTableConfigModel','DeleteWorksheetProtectionMutation','_sheetSkeletonManagerService','pipe','users','backgroundColor','_loadParams','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-px-3\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:hover:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_arrowDiffs','moveCF','VersionDiffRenderController','editHistory.panel.revertDesc','YUUMI_ALL_TABLES_IS_INVALID','updateValuePosition','active','clsx','Inject','UniverProSheetsSparkline','displayName','insertChart','paint0_linear_236_415','closeAll','removeRangeTheme','findAllRectangle','SetWorksheetOrderMutation','SetRowDataMutation','rgba(21,101,192,0.5)','ITransformService','historyListServerUrl','getSeconds','InsertSheetsChartMutation','getCurrentUnitCurrentVersion','attrs','setFrozen','highlight','univer-flex\x20univer-size-5\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center','LRUMap','onPointerEnter$','_uiPartsService','_localeService','@univerjs-pro/sheets-pivot','AUTHORIZE_CODE_ILLEGAL','SetColHiddenMutation','UpdateSheetsShapeDataMutation','0.20.1','tableId','linearGradient','ruleIds','creators$','_createMask','anonymous','getHours','_drawVerticalArrow','setRightToLeft','LOGIN_TOKEN_PROCESSING_FAILED','editHistory.info.loading','RemoveWorksheetMergeMutation','unmergeCells','COLUMN','react/jsx-runtime','SetPivotFilterMutation','removeEventListener','beginPath','loadHistoryCreatorList','changesets','M11.3536\x206.14645C11.5488\x206.34171\x2011.5488\x206.65829\x2011.3536\x206.85355L8.35355\x209.85355C8.15829\x2010.0488\x207.84171\x2010.0488\x207.64645\x209.85355L4.64645\x206.85355C4.45118\x206.65829\x204.45118\x206.34171\x204.64645\x206.14645C4.84171\x205.95118\x205.15829\x205.95118\x205.35355\x206.14645L8\x208.79289L10.6464\x206.14645C10.8417\x205.95118\x2011.1583\x205.95118\x2011.3536\x206.14645Z','setShapeProps','REDEMPTION_INVALID_CODE','SetWorksheetRowIsAutoHeightMutation','registerRenderModule','CopyWorksheetEndMutation','iterator','arc','SetTabColorMutation','COMPRESS_MUTATION_APPLY','renameSheet','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','objects','30px','INVITE_CODE_HAS_BEEN_UES','_showText','getDialogs$','_handleOverlappingShapes','insertRow','editHistory.panel.aiAssistant','SetPivotCollapseMutation','10px','DisposableCollection','onPointerLeave$','Fragment','FloatImg','next','ensureVersion','getCellPositionByOffset','SetNumfmtMutation','forwardRef','transparent','_permissionService','editHistory.panel.filterCollaboratorCancel','MOBILE_VERIFY_CODE_MISMATCH','UniverProSheetsShape','IRenderManagerService','call','setConfig','openPanel$','ReorderRangeMutation','highlightColumn','canRevert','AddPivotTableMutation','rgb','UNIVER_SLIDE','unitId','removeDiffMarks','_unitId$','SHEET_VIEWPORT_KEY','get','RemoveSheetsFilterMutation','getCurrentSkeleton','UpdatePivotTableSourceRangeMutation','min','editHistory.panel.currentVersion','arrowColumnRanges','currentSkeleton$','useObservable','defineProperty','deleteBorder','SetDrawingApplyMutation','fetchThroughInterceptors','SetPivotFieldFormatMutation','#2793FF','editHistory.panel.unknownUser','setPivotPosition','deleteRangeProtection','SetWorksheetColWidthMutation','RenamePivotFieldMutation','updateCellRanges','RemoveSheetMutation','173188GHAMqN','YUUMI_RATE_OVER_LIMIT','switchMap','_versionDiffService','UniverSheetsDrawing','subUnitIds','stringify','error','univer-animate-spin\x20univer-text-gray-400','Checkbox','CreateUnitMutation','InsertColumn','@univerjs/sheets-filter','SetRangeProtectionMutation','RemoveSheetSparklineMutation','SheetCollabCursorShape','copySheet','status$','INVITE_CODE_REQUIRED','_setFetching','APPLY_NON_SEQUENTIAL_REVISION','NOT_FOUND','_updateVersions','_hasMore','_messageService','path','getVersion','deleteDrawings','setTabColor','SetConditionalRuleMutation','_lastPointer','CopySheet','setGridlinesColor','UpdateSheetsShapeTypeMutation','editHistory.panel.filterCollaborator','currentVersion$','hovered','Disposable','time','DeleteSheetTableMutation','getVpScrollXYInfoByPosToVp','rev','DrawingApplyType','react','reorderSheet','_historyContainerId','scroll','LoadingMultiIcon','width','Edit','state$','ENTITLE_REPORT_LIMIT_EXCEED','parent','isSheetHidden','REMOVE','fill','span','getHistoryChangesets','Rect','_maskElement','revision','M1\x203.87476C1\x204.97933\x201.89543\x205.87476\x203\x205.87476L3\x207.67383C3\x208.7784\x203.89543\x209.67383\x205\x209.67383H5.5V13.5252C5.5\x2014.4089\x206.21634\x2015.1252\x207.1\x2015.1252H8.9C9.78366\x2015.1252\x2010.5\x2014.4089\x2010.5\x2013.5252V9.67383H11C12.1046\x209.67383\x2013\x208.7784\x2013\x207.67383V5.87476C14.1046\x205.87476\x2015\x204.97933\x2015\x203.87476V2.87476C15\x201.77019\x2014.1046\x200.874756\x2013\x200.874756H3C1.89543\x200.874756\x201\x201.77019\x201\x202.87476V3.87476ZM13\x202.07476H3C2.55817\x202.07476\x202.2\x202.43293\x202.2\x202.87476V3.87476C2.2\x204.31658\x202.55817\x204.67476\x203\x204.67476L13\x204.67383C13.4418\x204.67383\x2013.8\x204.31658\x2013.8\x203.87476V2.87476C13.8\x202.43293\x2013.4418\x202.07476\x2013\x202.07476ZM4.2\x207.67383V5.87476H11.8V7.67383C11.8\x208.11566\x2011.4418\x208.47383\x2011\x208.47383H5C4.55817\x208.47383\x204.2\x208.11566\x204.2\x207.67383ZM6.7\x209.67437H9.3V13.5252C9.3\x2013.7462\x209.12091\x2013.9252\x208.9\x2013.9252H7.1C6.87909\x2013.9252\x206.7\x2013.7462\x206.7\x2013.5252V9.67437Z','Unspecified','_extractRanges','DeleteSheet','SetPivotPositionMutation','getUnit','MoveSheet','removePivotField','SelectProtectedCells','getDrawingByParam','lineTo','toggleGridlines','moveRange','restore-icon_clip0_1247_2','onSteady','#0B9EFB','MoveRangeMutation','1em','_sidebarDisposable','versions','_creators$','UniverDrawing','WorkbookEditablePermission','UNAUTHENTICATED','editHistory.panel.confirm','Tooltip','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-sticky\x20univer-top-0\x20univer-z-10\x20univer-bg-gray-50\x20univer-px-4\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x20univer-text-xs\x20univer-font-semibold\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','sparklines','_drawingManagerService','9942246MYDEvA','reverse','startRev','columnData','from','confirm-revert-revision','constructor','interceptor','Print','setRangeTheme','@univerjs/ui','RemoveNumfmtMutation','REDEMPTION_USER_NOT_ELIGIBLE','AddPivotFieldMutation','ruleId','Export','FunnelIcon','onPointerMove$','function','_conditionalFormattingRuleModel','InsertRowMutation','EMAIL_HAS_BEEN_BOUND','push','getFilterModel','Dropdown','AddConditionalRuleMutation','userID','getCurrentUnitForType','stop','highlightSecond','YUUMI_ASYNCIO_CANCELLED','useEffect','toPrimitive','_getActiveSubUnitId','0\x200\x2016\x2016','REDEMPTION_CODE_FULLY_REDEEMED','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-blue-50\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','ENTITLE_NEED_BILLING_ADDRESS','getSheetId','@univerjs/drawing','length','@univerjs/engine-render','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','loadingState$','_sheetsChartService','univer-flex\x20univer-items-center\x20univer-justify-center','_revertRevision$','hideCol','SetGridlinesColorMutation','asObservable','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-400\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','merge','_dialogOptions$','CONNECTOR_DATA_TOO_LARGE','univer-h-12','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-truncate\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','rule','10ZqkpOQ','justifyContent','edit-history-viewer.config','white','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-border-t\x20univer-border-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-700\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','insertBorderRanges','svg','set','univer-px-3\x20univer-py-2\x20univer-text-sm\x20univer-font-semibold','M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z','open','className','getConfig','setOffsetY','M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','YUUMI_TABLE_NOT_FOUND_IN_UNIT','endColumn','univer-size-4\x20univer-shrink-0','updatePermissionPoint','SetColumnStyle','UniverDesign','univer-flex-1\x20univer-overflow-y-auto','RemoveDataValidationMutation','_historyFetchService',',\x200.2)','HideSheet','_componentManager','endRevision','SheetPermissionInitController','hidden','ChartUpdateConfigMutation','ToggleGridlinesMutation','default','/list?','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-sticky\x20univer-top-0\x20univer-z-10\x20univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','addObjects','setPivotOption','currentColor','0\x200\x2020\x2020','YUUMI_AI_RUN_FAILED','chartId','SetSheetSparklineMutation','params','100%','Entered','_highlight','_blinkIntervalTimer','ComponentManager','renamePivotField','rgba(','UniverNetwork','SetColVisibleMutation','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','style','key','versions$','groupIds','triggerLoadVersions','reduce','_borderDiffs','_drawHorizontalArrow','ICommandService','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_members','12124168ZGCnXV','deleteBorderRanges','insertCellRanges','CreatePermissionObject','resolve','clear','loadSheet','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-shrink-0\x20univer-cursor-pointer\x20univer-flex-col\x20univer-items-center\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','@univerjs-pro/collaboration','_renderArrowRanges','unitId$','5030924qVdfrJ','commands','1px','RestoreIcon','Sort','setRowIsAutoHeight','_categorizeMutationRanges','YUUMI_URL_COL_OUT_OF_RANGE','_openPanel','setWorksheetRangeTheme','_registerHeader','HistoryModeStatus','UniverInstanceType','@univerjs/sheets-conditional-formatting','@univerjs/sheets-drawing','isTransformMutationsSuccess','subUnitId','left','mergeCells','&endRevision=','flat','setRowCount','SetWorkbookNameMutation','entities','children','removeRow','UniverUi','IImageIoService','removeTable','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-truncate\x20univer-text-xs\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-400\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','editHistory.panel.title','SetRangeThemeMutation','univer-absolute\x20univer-top-0\x20univer-h-full','packageName','PY_RUNTIME_SCRIPT_ERROR','univer-ml-1\x20univer-flex\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','start','BuiltInUIPart','amd','arrowRowRanges','column','fetching','UpdateValuePositionMutation','InsertRow','MoveWorksheet','UpdatePivotFieldSourceInfoMutation','SetWorksheetRowAutoHeightMutation','Subject','SetWorksheetRowCountMutation','close','decorate','editHistory.panel.listFetchError','subscribe','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-top-1/2\x20univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','button','univer-size-8\x20univer-text-gray-400','editHistory.action.revertSheetPrefix','BehaviorSubject','Copy','keys','measureText','univer-pointer-events-auto\x20univer-flex\x20univer-flex-col\x20univer-rounded-t-2xl\x20univer-bg-white\x20univer-shadow-[0_-4px_24px_rgba(0,0,0,0.12)]\x20univer-transition-[height]\x20univer-duration-300\x20dark:!univer-bg-gray-950','updateChartSource','allRanges','ENTITLE_COUPON_USED_UP','univer-m-auto\x20univer-animate-spin','memberId','arrowColumn','prototype','userIds','WorkbookRenameSheetPermission','fillStyle','mutations','append','top','PERMISSION_DENIED','_init','range','SetRowStyle','insertCol','ENTITLE_INSUFFICIENT_QUOTA','ENTITLE_INVALID_COUPON_CODE','_sparklineDataSourceModel','AddRangeThemeMutation','ConditionalFormattingRuleModel','_renderManagerService','getDataRange','viewportScrollY','labelPosition','registerComponent','endRevCreateTime','drawingId','LICENSE_DISTRO_REJECTED','UniverDataValidation','removeChart','fetching$','_fetching$','0.2)','startDateString','DeleteColumn','flex','DeleteRow','RemoveSheetsChartMutation','setPivotSubtotalType','getInterceptPoints','_currentVersion$','getUnitOnRev','Filter','setInterval','defIds','color','/creators','has','_cellEditorManagerService','restore-icon','trim','showMask','React','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','SetWorksheetColumnCountMutation','unionPivotViewRange','updateFieldPosition','init','LocaleService','APPLY_REJECT','4833295FrSPop','mask','univer-w-10','univer-relative\x20univer-flex-1\x20univer-space-y-2\x20univer-pb-4','_unitCurrentVersionMap','SheetsFilterService','_cacheKey','#A656FF','transformByState','CURRENT_STATUS_CANNOT_OPERATE','_transformMutationByOrder','/cs?startRevision=','getOwnPropertyDescriptor','INSERT','join','InsertSheetsShapeMutation','M9.18035\x202.34502C9.21605\x202.15386\x209.31749\x201.9812\x209.46709\x201.85695C9.6167\x201.7327\x209.80504\x201.66469\x209.99951\x201.66469C10.194\x201.66469\x2010.3823\x201.7327\x2010.5319\x201.85695C10.6815\x201.9812\x2010.783\x202.15386\x2010.8187\x202.34502L11.6945\x206.97669C11.7567\x207.30598\x2011.9167\x207.60887\x2012.1537\x207.84583C12.3907\x208.08279\x2012.6936\x208.24282\x2013.0228\x208.30502L17.6545\x209.18085C17.8457\x209.21656\x2018.0183\x209.318\x2018.1426\x209.4676C18.2668\x209.6172\x2018.3348\x209.80555\x2018.3348\x2010C18.3348\x2010.1945\x2018.2668\x2010.3828\x2018.1426\x2010.5324C18.0183\x2010.682\x2017.8457\x2010.7835\x2017.6545\x2010.8192L13.0228\x2011.695C12.6936\x2011.7572\x2012.3907\x2011.9172\x2012.1537\x2012.1542C11.9167\x2012.3912\x2011.7567\x2012.6941\x2011.6945\x2013.0234L10.8187\x2017.655C10.783\x2017.8462\x2010.6815\x2018.0188\x2010.5319\x2018.1431C10.3823\x2018.2673\x2010.194\x2018.3353\x209.99951\x2018.3353C9.80504\x2018.3353\x209.6167\x2018.2673\x209.46709\x2018.1431C9.31749\x2018.0188\x209.21605\x2017.8462\x209.18035\x2017.655L8.30451\x2013.0234C8.24231\x2012.6941\x208.08228\x2012.3912\x207.84532\x2012.1542C7.60836\x2011.9172\x207.30547\x2011.7572\x206.97618\x2011.695L2.34451\x2010.8192C2.15335\x2010.7835\x201.98069\x2010.682\x201.85645\x2010.5324C1.7322\x2010.3828\x201.66418\x2010.1945\x201.66418\x2010C1.66418\x209.80555\x201.7322\x209.6172\x201.85645\x209.4676C1.98069\x209.318\x202.15335\x209.21656\x202.34451\x209.18085L6.97618\x208.30502C7.30547\x208.24282\x207.60836\x208.08279\x207.84532\x207.84583C8.08228\x207.60887\x208.24231\x207.30598\x208.30451\x206.97669L9.18035\x202.34502Z','getCurrentVersion','onRendered','startRevision','LOGIN_FAILED','HTTPService','triggerCustomVersions','@univerjs/network','string','sourceRange','addPivotField','_commandService','AddSheetSparklineMutation','setFilterCriteria','padStart','createTime','editHistory.header.back','toStringTag','DeleteWorksheet','transformMutations','removeNumfmt','parseProtocolChangeset','0px','3152956ozzzxi','rowData','_diffs','InsertColMutation','dateString','values','Loading','ZH_CN','REDEMPTION_USER_REDEEM_TIMES_EXCEED','loading','Error','@univerjs-pro/sheets-shape','HistoryOrigin','object','IConfigService','SetWorksheetDefaultStyleMutation','ERROR_AGAIN','disposeWithMe','UniverEditHistoryViewerPlugin','getCoordByCell','RemoveColMutation','setPivotValueFilter','deleteCF','setTableFilter','setPivotSort','_initActiveSwitch','moveRows','insertDrawings','abs','SparklineDataSourceModel','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-12\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200\x20univer-bg-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-px-4\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-950\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_setVersions'];_0xcf79=function(){return _0x22dc0b;};return _0xcf79();}(function(_0x1dc492,_0x5b7130){const _0x1febc1=_0x4604,_0x3433a3=_0x1dc492();while(!![]){try{const _0xeb0f66=parseInt(_0x1febc1(0x2c8))/0x1+-parseInt(_0x1febc1(0x44b))/0x2+-parseInt(_0x1febc1(0x4a5))/0x3*(-parseInt(_0x1febc1(0x3a6))/0x4)+-parseInt(_0x1febc1(0x424))/0x5+-parseInt(_0x1febc1(0x1c3))/0x6*(parseInt(_0x1febc1(0x48c))/0x7)+parseInt(_0x1febc1(0x39b))/0x8+parseInt(_0x1febc1(0x322))/0x9*(parseInt(_0x1febc1(0x35b))/0xa);if(_0xeb0f66===_0x5b7130)break;else _0x3433a3['push'](_0x3433a3['shift']());}catch(_0x817182){_0x3433a3['push'](_0x3433a3['shift']());}}}(_0xcf79,0xc31da),function(_0x393b6b,_0x20180a){const _0xcd2108=_0x4604;typeof exports==_0xcd2108(0x458)&&typeof module<'u'?_0x20180a(exports,require(`@univerjs-pro/collaboration-client-ui`),require(`@univerjs/core`),require(`@univerjs/drawing`),require(`@univerjs/engine-render`),require(`@univerjs/sheets`),require(`@univerjs/sheets-ui`),require(`rxjs`),require(`@univerjs/design`),require(`@univerjs/ui`),require(`@univerjs-pro/collaboration`),require(`@univerjs-pro/sheets-chart`),require(`@univerjs-pro/sheets-pivot`),require(`@univerjs-pro/sheets-shape`),require(`@univerjs-pro/sheets-sparkline`),require(`@univerjs/data-validation`),require(`@univerjs/sheets-conditional-formatting`),require(`@univerjs/sheets-drawing`),require(`@univerjs/sheets-filter`),require(`@univerjs/sheets-table`),require(`@univerjs/network`),require(`@univerjs/sheets-data-validation`),require(`@univerjs-pro/collaboration-client`),require(`react`),require(`react/jsx-runtime`)):typeof define=='function'&&define[_0xcd2108(0x3cc)]?define([_0xcd2108(0x1a6),_0xcd2108(0x134),'@univerjs/core',_0xcd2108(0x349),_0xcd2108(0x34b),'@univerjs/sheets','@univerjs/sheets-ui',_0xcd2108(0x1c6),'@univerjs/design',_0xcd2108(0x32c),_0xcd2108(0x3a3),'@univerjs-pro/sheets-chart',_0xcd2108(0x267),_0xcd2108(0x456),'@univerjs-pro/sheets-sparkline','@univerjs/data-validation',_0xcd2108(0x3b3),_0xcd2108(0x3b4),_0xcd2108(0x2d4),_0xcd2108(0x513),_0xcd2108(0x43b),'@univerjs/sheets-data-validation',_0xcd2108(0x197),_0xcd2108(0x2f3),_0xcd2108(0x27a)],_0x20180a):(_0x393b6b=typeof globalThis<'u'?globalThis:_0x393b6b||self,_0x20180a(_0x393b6b[_0xcd2108(0x167)]={},_0x393b6b['UniverProCollaborationClientUi'],_0x393b6b['UniverCore'],_0x393b6b[_0xcd2108(0x31a)],_0x393b6b['UniverEngineRender'],_0x393b6b[_0xcd2108(0x508)],_0x393b6b[_0xcd2108(0x117)],_0x393b6b[_0xcd2108(0x1c6)],_0x393b6b[_0xcd2108(0x36f)],_0x393b6b[_0xcd2108(0x3c0)],_0x393b6b[_0xcd2108(0x178)],_0x393b6b[_0xcd2108(0x195)],_0x393b6b['UniverProSheetsPivot'],_0x393b6b[_0xcd2108(0x2a3)],_0x393b6b[_0xcd2108(0x250)],_0x393b6b[_0xcd2108(0x404)],_0x393b6b[_0xcd2108(0x481)],_0x393b6b[_0xcd2108(0x2cc)],_0x393b6b['UniverSheetsFilter'],_0x393b6b['UniverSheetsTable'],_0x393b6b[_0xcd2108(0x38d)],_0x393b6b['UniverSheetsDataValidation'],_0x393b6b[_0xcd2108(0x12e)],_0x393b6b[_0xcd2108(0x41c)],_0x393b6b[_0xcd2108(0x41c)]));}(this,function(_0x4416cd,_0xc6611a,_0x5d0897,_0x3417e2,_0x28b2d4,_0xefe5da,_0x356044,_0x8c4748,_0x54512b,_0x1fa003,_0x4a325b,_0x491d5a,_0x1b8e09,_0x527e14,_0x5815f7,_0x6d8d65,_0x1ac5cb,_0x21a923,_0x1c8fe4,_0x2e4bc4,_0x23682b,_0x14da9e,_0x32430f,_0x4a1f6d,_0x4fe081){const _0x1ffeb0=_0x4604;Object[_0x1ffeb0(0x2bb)](_0x4416cd,Symbol[_0x1ffeb0(0x445)],{'value':_0x1ffeb0(0x179)});function _0x1af523(_0x3283f3=_0x1ffeb0(0x187)){const _0xb19d37=_0x1ffeb0;return{'collaboration':[{'id':_0x4a325b[_0xb19d37(0x2d2)]['id'],'action':_0x3283f3+_0xb19d37(0x22a)},{'id':_0x4a325b[_0xb19d37(0x1b1)]['id'],'action':_0x3283f3+'revertSheet'}],'sheets':[{'id':_0xefe5da['InsertSheetMutation']['id'],'action':_0x3283f3+'insertSheet'},{'id':_0xefe5da[_0xb19d37(0x2c7)]['id'],'action':_0x3283f3+_0xb19d37(0x4ba)},{'id':_0xefe5da[_0xb19d37(0x4dc)]['id'],'action':_0x3283f3+_0xb19d37(0x28a)},{'id':_0xefe5da[_0xb19d37(0x257)]['id'],'action':_0x3283f3+_0xb19d37(0x2f4)},{'id':_0xefe5da[_0xb19d37(0x16d)]['id'],'action':_0x3283f3+'hideSheet'},{'id':_0xefe5da[_0xb19d37(0x285)]['id'],'action':_0x3283f3+_0xb19d37(0x2d8)},{'id':_0xefe5da[_0xb19d37(0x288)]['id'],'action':_0x3283f3+_0xb19d37(0x2e4)},{'id':_0xefe5da[_0xb19d37(0x3bc)]['id'],'action':_0x3283f3+'renameWorkbook'},{'id':_0xefe5da[_0xb19d37(0x336)]['id'],'action':_0x3283f3+_0xb19d37(0x292)},{'id':_0xefe5da[_0xb19d37(0x44e)]['id'],'action':_0x3283f3+_0xb19d37(0x3f6)},{'id':_0xefe5da['RemoveRowMutation']['id'],'action':_0x3283f3+_0xb19d37(0x3bf)},{'id':_0xefe5da[_0xb19d37(0x45f)]['id'],'action':_0x3283f3+'removeCol'},{'id':_0xefe5da[_0xb19d37(0x122)]['id'],'action':_0x3283f3+_0xb19d37(0x465)},{'id':_0xefe5da['MoveColsMutation']['id'],'action':_0x3283f3+_0xb19d37(0x120)},{'id':_0xefe5da['SetRowVisibleMutation']['id'],'action':_0x3283f3+_0xb19d37(0x14e)},{'id':_0xefe5da[_0xb19d37(0x4f6)]['id'],'action':_0x3283f3+'hideRow'},{'id':_0xefe5da[_0xb19d37(0x38e)]['id'],'action':_0x3283f3+_0xb19d37(0x1a9)},{'id':_0xefe5da[_0xb19d37(0x269)]['id'],'action':_0x3283f3+_0xb19d37(0x351)},{'id':_0xefe5da[_0xb19d37(0x198)]['id'],'action':_0x3283f3+_0xb19d37(0x1c4)},{'id':_0xefe5da[_0xb19d37(0x2c4)]['id'],'action':_0x3283f3+_0xb19d37(0x4c5)},{'id':_0xefe5da[_0xb19d37(0x3d4)]['id'],'action':_0x3283f3+'setRowAutoHeight'},{'id':_0xefe5da[_0xb19d37(0x283)]['id'],'action':_0x3283f3+_0xb19d37(0x3ab)},{'id':_0xefe5da[_0xb19d37(0x258)]['id'],'action':_0x3283f3+'setRowData'},{'id':_0xefe5da[_0xb19d37(0x50a)]['id'],'action':_0x3283f3+_0xb19d37(0x470)},{'id':_0xefe5da[_0xb19d37(0x3d6)]['id'],'action':_0x3283f3+_0xb19d37(0x3bb)},{'id':_0xefe5da[_0xb19d37(0x41e)]['id'],'action':_0x3283f3+_0xb19d37(0x511)},{'id':_0xefe5da[_0xb19d37(0x1a4)]['id'],'action':_0x3283f3+_0xb19d37(0x21d)},{'id':_0xefe5da['MoveRangeMutation']['id'],'action':_0x3283f3+_0xb19d37(0x311)},{'id':_0xefe5da[_0xb19d37(0x2a8)]['id'],'action':_0x3283f3+_0xb19d37(0x1c0)},{'id':_0xefe5da[_0xb19d37(0x19b)]['id'],'action':_0x3283f3+'mergeCells'},{'id':_0xefe5da[_0xb19d37(0x277)]['id'],'action':_0x3283f3+'unmergeCells'},{'id':_0xefe5da['SetFrozenMutation']['id'],'action':_0x3283f3+_0xb19d37(0x260)},{'id':_0xefe5da[_0xb19d37(0x37a)]['id'],'action':_0x3283f3+_0xb19d37(0x310)},{'id':_0xefe5da[_0xb19d37(0x352)]['id'],'action':_0x3283f3+_0xb19d37(0x2e8)},{'id':_0xefe5da[_0xb19d37(0x17c)]['id'],'action':_0x3283f3+_0xb19d37(0x274)},{'id':_0xefe5da[_0xb19d37(0x45a)]['id'],'action':_0x3283f3+_0xb19d37(0x18b)},{'id':_0xefe5da['AddWorksheetProtectionMutation']['id'],'action':_0x3283f3+_0xb19d37(0x4c6)},{'id':_0xefe5da['SetWorksheetProtectionMutation']['id'],'action':_0x3283f3+'setProtection'},{'id':_0xefe5da[_0xb19d37(0x240)]['id'],'action':_0x3283f3+_0xb19d37(0x1b6)},{'id':_0xefe5da['AddRangeProtectionMutation']['id'],'action':_0x3283f3+_0xb19d37(0x1a1)},{'id':_0xefe5da['SetRangeProtectionMutation']['id'],'action':_0x3283f3+'setRangeProtection'},{'id':_0xefe5da['DeleteRangeProtectionMutation']['id'],'action':_0x3283f3+_0xb19d37(0x2c3)},{'id':_0xefe5da[_0xb19d37(0x4ca)]['id'],'action':_0x3283f3+'setPermissionPoints'},{'id':_0xefe5da[_0xb19d37(0x29d)]['id'],'action':_0x3283f3+_0xb19d37(0x20c)},{'id':_0xefe5da['RemoveNumfmtMutation']['id'],'action':_0x3283f3+_0xb19d37(0x448)},{'id':_0xefe5da[_0xb19d37(0x3fa)]['id'],'action':_0x3283f3+_0xb19d37(0x194)},{'id':_0xefe5da[_0xb19d37(0x3c5)]['id'],'action':_0x3283f3+_0xb19d37(0x32b)},{'id':_0xefe5da['RemoveRangeThemeMutation']['id'],'action':_0x3283f3+_0xb19d37(0x255)},{'id':_0xefe5da[_0xb19d37(0x11c)]['id'],'action':_0x3283f3+_0xb19d37(0x3af)},{'id':_0xefe5da[_0xb19d37(0x13d)]['id'],'action':_0x3283f3+_0xb19d37(0x1f0)}],'sheetsConditionalFormatting':[{'id':_0x1ac5cb[_0xb19d37(0x33b)]['id'],'action':_0x3283f3+_0xb19d37(0x17f)},{'id':_0x1ac5cb[_0xb19d37(0x2e5)]['id'],'action':_0x3283f3+_0xb19d37(0x17f)},{'id':_0x1ac5cb[_0xb19d37(0x1c9)]['id'],'action':_0x3283f3+_0xb19d37(0x461)},{'id':_0x1ac5cb[_0xb19d37(0x142)]['id'],'action':_0x3283f3+_0xb19d37(0x248)}],'sheetsFilter':[{'id':_0x1c8fe4[_0xb19d37(0x190)]['id'],'action':_0x3283f3+_0xb19d37(0x11b)},{'id':_0x1c8fe4[_0xb19d37(0x18f)]['id'],'action':_0x3283f3+_0xb19d37(0x441)},{'id':_0x1c8fe4[_0xb19d37(0x2b3)]['id'],'action':_0x3283f3+_0xb19d37(0x12d)},{'id':_0x1c8fe4[_0xb19d37(0x4fb)]['id'],'action':_0x3283f3+'recalcFilter'}],'dataValidation':[{'id':_0x6d8d65[_0xb19d37(0x12f)]['id'],'action':_0x3283f3+_0xb19d37(0x1d7)},{'id':_0x6d8d65[_0xb19d37(0x13a)]['id'],'action':_0x3283f3+_0xb19d37(0x1d7)},{'id':_0x6d8d65[_0xb19d37(0x371)]['id'],'action':_0x3283f3+_0xb19d37(0x236)}],'sheetsChart':[{'id':_0x491d5a[_0xb19d37(0x25d)]['id'],'action':_0x3283f3+_0xb19d37(0x252)},{'id':_0x491d5a[_0xb19d37(0x40d)]['id'],'action':_0x3283f3+_0xb19d37(0x405)},{'id':_0x491d5a[_0xb19d37(0x379)]['id'],'action':_0x3283f3+_0xb19d37(0x4b2)},{'id':_0x491d5a[_0xb19d37(0x15e)]['id'],'action':_0x3283f3+_0xb19d37(0x3e5)}],'sheetsSparkline':[{'id':_0x5815f7[_0xb19d37(0x440)]['id'],'action':_0x3283f3+_0xb19d37(0x1cd)},{'id':_0x5815f7[_0xb19d37(0x384)]['id'],'action':_0x3283f3+_0xb19d37(0x209)},{'id':_0x5815f7[_0xb19d37(0x2d6)]['id'],'action':_0x3283f3+'removeSparkline'}],'sheetsPivot':[{'id':_0x1b8e09[_0xb19d37(0x2ab)]['id'],'action':_0x3283f3+_0xb19d37(0x1cf)},{'id':_0x1b8e09[_0xb19d37(0x4d4)]['id'],'action':_0x3283f3+'removePivotTable'},{'id':_0x1b8e09[_0xb19d37(0x4e6)]['id'],'action':_0x3283f3+_0xb19d37(0x37f)},{'id':_0x1b8e09[_0xb19d37(0x309)]['id'],'action':_0x3283f3+_0xb19d37(0x2c2)},{'id':_0x1b8e09[_0xb19d37(0x2b5)]['id'],'action':_0x3283f3+_0xb19d37(0x228)},{'id':_0x1b8e09['AddPivotFieldMutation']['id'],'action':_0x3283f3+_0xb19d37(0x43e)},{'id':_0x1b8e09[_0xb19d37(0x4df)]['id'],'action':_0x3283f3+_0xb19d37(0x30c)},{'id':_0x1b8e09[_0xb19d37(0x2c5)]['id'],'action':_0x3283f3+_0xb19d37(0x38b)},{'id':_0x1b8e09[_0xb19d37(0x1ad)]['id'],'action':_0x3283f3+'updateFieldPosition'},{'id':_0x1b8e09['UpdateValuePositionMutation']['id'],'action':_0x3283f3+_0xb19d37(0x24c)},{'id':_0x1b8e09['UpdatePivotFieldSourceInfoMutation']['id'],'action':_0x3283f3+'updatePivotFieldSource'},{'id':_0x1b8e09[_0xb19d37(0x2bf)]['id'],'action':_0x3283f3+_0xb19d37(0x4ab)},{'id':_0x1b8e09['SetPivotFilterMutation']['id'],'action':_0x3283f3+_0xb19d37(0x151)},{'id':_0x1b8e09[_0xb19d37(0x482)]['id'],'action':_0x3283f3+'setPivotValueFilter'},{'id':_0x1b8e09[_0xb19d37(0x489)]['id'],'action':_0x3283f3+'setPivotSort'},{'id':_0x1b8e09['SetPivotCollapseMutation']['id'],'action':_0x3283f3+_0xb19d37(0x4e3)},{'id':_0x1b8e09['SetPivotSubtotalTypeMutation']['id'],'action':_0x3283f3+_0xb19d37(0x40e)}],'sheetsShape':[{'id':_0x527e14[_0xb19d37(0x433)]['id'],'action':_0x3283f3+'insertShape'},{'id':_0x527e14['RemoveSheetsShapeMutation']['id'],'action':_0x3283f3+'removeShape'},{'id':_0x527e14[_0xb19d37(0x26a)]['id'],'action':_0x3283f3+_0xb19d37(0x20f)},{'id':_0x527e14['UpdateSheetsShapeTypeMutation']['id'],'action':_0x3283f3+'updateShapeType'}],'sheetsTable':[{'id':_0x2e4bc4[_0xb19d37(0x216)]['id'],'action':_0x3283f3+'addTable'},{'id':_0x2e4bc4[_0xb19d37(0x2ef)]['id'],'action':_0x3283f3+_0xb19d37(0x3c2)},{'id':_0x2e4bc4['SetSheetTableMutation']['id'],'action':_0x3283f3+'updateTable'},{'id':_0x2e4bc4[_0xb19d37(0x4ed)]['id'],'action':_0x3283f3+_0xb19d37(0x462)}],'sheetsDrawing':[{'id':_0x21a923[_0xb19d37(0x2bd)]['id'],'action':_0x3283f3+_0xb19d37(0x232)}]};}function _0x216cf7(_0x2a8d70=_0x1ffeb0(0x187)){const _0x3edc78=_0x1ffeb0;let _0x4596dd=_0x1af523(_0x2a8d70);return Object['values'](_0x4596dd)[_0x3edc78(0x3ba)]();}let _0x2c0528=(_0x218f92,_0x5b8c80)=>{const _0x1be05d=_0x1ffeb0;if(!_0x218f92)return{'date':'','time':''};let _0x242fa6=new Date(_0x218f92),_0x55a952=_0x242fa6[_0x1be05d(0x49e)]()[_0x1be05d(0x1ab)]('T')[0x0];switch(_0x5b8c80){case _0x5d0897['LocaleType'][_0x1be05d(0x452)]:return{'date':_0x5c3cff(_0x55a952,_0x5b8c80),'time':_0x242fa6[_0x1be05d(0x272)]()+':'+String(_0x242fa6[_0x1be05d(0x150)]())[_0x1be05d(0x442)](0x2,'0')+':'+String(_0x242fa6['getSeconds']())[_0x1be05d(0x442)](0x2,'0')};default:return{'date':_0x5c3cff(_0x55a952,_0x5b8c80),'time':_0x242fa6[_0x1be05d(0x272)]()+':'+_0x242fa6[_0x1be05d(0x150)]()+':'+_0x242fa6[_0x1be05d(0x25c)]()};}},_0x197a93=(_0x58e524,_0x2a3706)=>{const _0x4a05fc=_0x1ffeb0;if(_0x58e524[_0x4a05fc(0x3a7)][_0x4a05fc(0x4aa)](_0x36143f=>_0x36143f===_0x4a325b[_0x4a05fc(0x1b1)]['id'])&&_0x58e524[_0x4a05fc(0x48a)]){let _0x44b2ff=_0x2c0528(_0x58e524[_0x4a05fc(0x48a)],_0x2a3706[_0x4a05fc(0x4f7)]()),_0x3dab09=_0x44b2ff[_0x4a05fc(0x1b0)]+'\x20'+_0x44b2ff[_0x4a05fc(0x2ee)];return _0x2a3706['t'](_0x4a05fc(0x3df))+'\x20'+_0x3dab09+'\x20'+_0x2a3706['t'](_0x4a05fc(0x4c3));}let _0x11fe7b=_0x117d76(_0x58e524),_0x270b66=Array['from'](new Set(_0x11fe7b)),_0x5afc51;if(_0x270b66[_0x4a05fc(0x34a)]===0x1)_0x5afc51=_0x2a3706['t'](_0x270b66[0x0]);else{let _0x379681=_0x270b66[_0x4a05fc(0x4e5)](0x0,0x5)['map'](_0x1c3b0c=>_0x2a3706['t'](_0x1c3b0c))['join'](',\x20');_0x5afc51=_0x270b66[_0x4a05fc(0x34a)]>0x5?''+_0x379681+_0x2a3706['t'](_0x4a05fc(0x1e3)):_0x379681;}return''+_0x5afc51;};function _0x117d76(_0x152703){const _0x3d2a95=_0x1ffeb0;if(_0x152703['commands'][_0x3d2a95(0x34a)]===0x0)return[''];let _0x2c0edf=_0x3d2a95(0x187),_0x2763ea=_0x2c0edf+_0x3d2a95(0x118),_0x3545be=_0x216cf7(_0x2c0edf)[_0x3d2a95(0x4e7)](_0x42b5df=>_0x152703['commands'][_0x3d2a95(0x169)](_0x42b5df['id']));return _0x3545be!=null&&_0x3545be[_0x3d2a95(0x34a)]?_0x3545be[_0x3d2a95(0x129)](_0x323fd7=>_0x323fd7[_0x3d2a95(0x18e)]):[_0x2763ea];}function _0x5c3cff(_0x347dcb,_0x89320a){const _0x4d03b3=_0x1ffeb0;let [_0x1d4778,_0x4ac91f,_0x1f5911]=new Date()[_0x4d03b3(0x49e)]()[_0x4d03b3(0x1ab)]('T')[0x0][_0x4d03b3(0x1ab)]('-'),[_0x3cd5f1,_0x119048,_0x24ee44]=_0x347dcb[_0x4d03b3(0x1ab)]('-'),_0x20e930=_0x1d4778===_0x3cd5f1&&_0x4ac91f===_0x119048&&_0x1f5911===_0x24ee44,_0x3cb18b='',_0x33441b='',_0x2e3592='';switch(_0x89320a){case _0x5d0897['LocaleType'][_0x4d03b3(0x452)]:return _0x20e930?'今天':(_0x3cb18b=_0x1d4778===_0x3cd5f1?'':_0x3cd5f1+'年',_0x33441b=_0x119048+'月',_0x2e3592=_0x24ee44+'日',''+_0x3cb18b+_0x33441b+_0x2e3592);default:return _0x20e930?_0x4d03b3(0x4cf):(_0x3cb18b=_0x1d4778===_0x3cd5f1?'':_0x3cd5f1+'-',_0x33441b=_0x119048+'-',_0x2e3592=''+_0x24ee44,''+_0x3cb18b+_0x33441b+_0x2e3592);}}function _0x12b088(_0x1fa548){const _0x2cb665=_0x1ffeb0;return _0x1fa548?_0x1fa548[_0x2cb665(0x395)]((_0x183f53,_0x39988d)=>{const _0x576a97=_0x2cb665;let _0x3d676e=new Date(_0x39988d['time'])[_0x576a97(0x49e)]()[_0x576a97(0x1ab)]('T')[0x0],_0xa4b12f=_0x39988d['startRevCreateTime']?new Date(_0x39988d[_0x576a97(0x1ee)])['toISOString']()[_0x576a97(0x1ab)]('T')[0x0]:_0x3d676e,_0x331cf5=_0x39988d['endRevCreateTime']?new Date(_0x39988d[_0x576a97(0x401)])['toISOString']()[_0x576a97(0x1ab)]('T')[0x0]:_0x3d676e;return _0x183f53[_0x576a97(0x34a)]>0x0&&_0x183f53[_0x183f53['length']-0x1][_0x576a97(0x409)]===_0xa4b12f?_0x183f53[_0x183f53[_0x576a97(0x34a)]-0x1][_0x576a97(0x318)][_0x576a97(0x338)](_0x39988d):_0x183f53[_0x576a97(0x338)]({'dateString':_0x3d676e,'startDateString':_0xa4b12f,'endDateString':_0x331cf5,'versions':[_0x39988d]}),_0x183f53;},[]):[];}let _0x37e428=function(_0x3c57e1){const _0x245dcc=_0x1ffeb0;return _0x3c57e1[_0x3c57e1['UNDEFINED']=0x0]=_0x245dcc(0x4dd),_0x3c57e1[_0x3c57e1['OK']=0x1]='OK',_0x3c57e1[_0x3c57e1[_0x245dcc(0x4fd)]=0x2]='INTERNAL_ERROR',_0x3c57e1[_0x3c57e1[_0x245dcc(0x3f2)]=0x3]='PERMISSION_DENIED',_0x3c57e1[_0x3c57e1[_0x245dcc(0x2dd)]=0x4]=_0x245dcc(0x2dd),_0x3c57e1[_0x3c57e1[_0x245dcc(0x31c)]=0x5]='UNAUTHENTICATED',_0x3c57e1[_0x3c57e1[_0x245dcc(0x4d8)]=0x6]=_0x245dcc(0x4d8),_0x3c57e1[_0x3c57e1[_0x245dcc(0x13c)]=0x7]=_0x245dcc(0x13c),_0x3c57e1[_0x3c57e1[_0x245dcc(0x110)]=0x8]='TOO_MANY_REQUESTS',_0x3c57e1[_0x3c57e1[_0x245dcc(0x235)]=0x9]=_0x245dcc(0x235),_0x3c57e1[_0x3c57e1['LOGIN_FAILED']=0xa]=_0x245dcc(0x438),_0x3c57e1[_0x3c57e1[_0x245dcc(0x2a2)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x3c57e1[_0x3c57e1[_0x245dcc(0x4fa)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3c57e1[_0x3c57e1['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x3c57e1[_0x3c57e1[_0x245dcc(0x174)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3c57e1[_0x3c57e1['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x245dcc(0x268),_0x3c57e1[_0x3c57e1[_0x245dcc(0x275)]=0x10]=_0x245dcc(0x275),_0x3c57e1[_0x3c57e1[_0x245dcc(0x42d)]=0x64]=_0x245dcc(0x42d),_0x3c57e1[_0x3c57e1[_0x245dcc(0x45b)]=0x65]=_0x245dcc(0x45b),_0x3c57e1[_0x3c57e1['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x3c57e1[_0x3c57e1[_0x245dcc(0x11a)]=0xca]='USER_IS_ANONYMOUS',_0x3c57e1[_0x3c57e1[_0x245dcc(0x15a)]=0x1389]=_0x245dcc(0x15a),_0x3c57e1[_0x3c57e1[_0x245dcc(0x1c8)]=0x1771]=_0x245dcc(0x1c8),_0x3c57e1[_0x3c57e1[_0x245dcc(0x1fd)]=0x1772]=_0x245dcc(0x1fd),_0x3c57e1[_0x3c57e1[_0x245dcc(0x4a6)]=0x1773]=_0x245dcc(0x4a6),_0x3c57e1[_0x3c57e1[_0x245dcc(0x423)]=0x1b59]=_0x245dcc(0x423),_0x3c57e1[_0x3c57e1[_0x245dcc(0x2dc)]=0x1b5a]=_0x245dcc(0x2dc),_0x3c57e1[_0x3c57e1[_0x245dcc(0x474)]=0x1b5b]=_0x245dcc(0x474),_0x3c57e1[_0x3c57e1[_0x245dcc(0x1b5)]=0x1b5c]=_0x245dcc(0x1b5),_0x3c57e1[_0x3c57e1[_0x245dcc(0x21b)]=0x1b5d]=_0x245dcc(0x21b),_0x3c57e1[_0x3c57e1[_0x245dcc(0x357)]=0x1f41]=_0x245dcc(0x357),_0x3c57e1[_0x3c57e1['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x245dcc(0x1c2),_0x3c57e1[_0x3c57e1[_0x245dcc(0x113)]=0x232a]=_0x245dcc(0x113),_0x3c57e1[_0x3c57e1['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3c57e1[_0x3c57e1[_0x245dcc(0x1d5)]=0x232c]=_0x245dcc(0x1d5),_0x3c57e1[_0x3c57e1[_0x245dcc(0x403)]=0x232d]=_0x245dcc(0x403),_0x3c57e1[_0x3c57e1[_0x245dcc(0x4b0)]=0x2711]=_0x245dcc(0x4b0),_0x3c57e1[_0x3c57e1[_0x245dcc(0x3ad)]=0x2712]=_0x245dcc(0x3ad),_0x3c57e1[_0x3c57e1['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x245dcc(0x2c9),_0x3c57e1[_0x3c57e1['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x245dcc(0x12a),_0x3c57e1[_0x3c57e1['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x245dcc(0x18c),_0x3c57e1[_0x3c57e1[_0x245dcc(0x340)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x3c57e1[_0x3c57e1[_0x245dcc(0x36a)]=0x271c]=_0x245dcc(0x36a),_0x3c57e1[_0x3c57e1[_0x245dcc(0x24b)]=0x271d]=_0x245dcc(0x24b),_0x3c57e1[_0x3c57e1[_0x245dcc(0x41d)]=0x271e]=_0x245dcc(0x41d),_0x3c57e1[_0x3c57e1[_0x245dcc(0x382)]=0x271f]=_0x245dcc(0x382),_0x3c57e1[_0x3c57e1[_0x245dcc(0x1e7)]=0x2720]=_0x245dcc(0x1e7),_0x3c57e1[_0x3c57e1[_0x245dcc(0x3c8)]=0x2af9]=_0x245dcc(0x3c8),_0x3c57e1[_0x3c57e1[_0x245dcc(0x28e)]=0x2ee1]=_0x245dcc(0x28e),_0x3c57e1[_0x3c57e1[_0x245dcc(0x507)]=0x2ee2]=_0x245dcc(0x507),_0x3c57e1[_0x3c57e1[_0x245dcc(0x2da)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x3c57e1[_0x3c57e1[_0x245dcc(0x238)]=0x2ee4]=_0x245dcc(0x238),_0x3c57e1[_0x3c57e1[_0x245dcc(0x14c)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x3c57e1[_0x3c57e1[_0x245dcc(0x147)]=0x32c9]=_0x245dcc(0x147),_0x3c57e1[_0x3c57e1['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3c57e1[_0x3c57e1[_0x245dcc(0x337)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x3c57e1[_0x3c57e1[_0x245dcc(0x399)]=0x36b1]=_0x245dcc(0x399),_0x3c57e1[_0x3c57e1[_0x245dcc(0x1da)]=0x36b2]=_0x245dcc(0x1da),_0x3c57e1[_0x3c57e1[_0x245dcc(0x23a)]=0x36b3]=_0x245dcc(0x23a),_0x3c57e1[_0x3c57e1[_0x245dcc(0x4b8)]=0x36b4]=_0x245dcc(0x4b8),_0x3c57e1[_0x3c57e1[_0x245dcc(0x3f8)]=0x36b5]=_0x245dcc(0x3f8),_0x3c57e1[_0x3c57e1['ENTITLE_COUPON_EXPIRED']=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x3c57e1[_0x3c57e1[_0x245dcc(0x3e7)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x3c57e1[_0x3c57e1['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x245dcc(0x4e2),_0x3c57e1[_0x3c57e1['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x245dcc(0x239),_0x3c57e1[_0x3c57e1[_0x245dcc(0x2fb)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x3c57e1[_0x3c57e1[_0x245dcc(0x3f7)]=0x3717]=_0x245dcc(0x3f7),_0x3c57e1[_0x3c57e1['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x245dcc(0x347),_0x3c57e1[_0x3c57e1[_0x245dcc(0x282)]=0x3a99]=_0x245dcc(0x282),_0x3c57e1[_0x3c57e1['REDEMPTION_CODE_INACTIVE']=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x3c57e1[_0x3c57e1['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x245dcc(0x345),_0x3c57e1[_0x3c57e1['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x245dcc(0x4c4),_0x3c57e1[_0x3c57e1[_0x245dcc(0x32e)]=0x3a9d]=_0x245dcc(0x32e),_0x3c57e1[_0x3c57e1['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x245dcc(0x453),_0x3c57e1[_0x3c57e1['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x3c57e1[_0x3c57e1[_0x245dcc(0x4b5)]=0x3e81]=_0x245dcc(0x4b5),_0x3c57e1[_0x3c57e1['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3c57e1;}({}),_0x2e554b=function(_0x2f40e5){const _0x2956cc=_0x1ffeb0;return _0x2f40e5[_0x2f40e5['UNIVER_UNKNOWN']=0x0]=_0x2956cc(0x1ea),_0x2f40e5[_0x2f40e5['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x2f40e5[_0x2f40e5['UNIVER_SHEET']=0x2]=_0x2956cc(0x17b),_0x2f40e5[_0x2f40e5[_0x2956cc(0x2ad)]=0x3]=_0x2956cc(0x2ad),_0x2f40e5[_0x2f40e5[_0x2956cc(0x509)]=0x4]='UNIVER_PROJECT',_0x2f40e5[_0x2f40e5[_0x2956cc(0x133)]=-0x1]='UNRECOGNIZED',_0x2f40e5;}({}),_0x529394=function(_0x332347){const _0x209429=_0x1ffeb0;return _0x332347[_0x332347[_0x209429(0x162)]=0x0]=_0x209429(0x162),_0x332347[_0x332347[_0x209429(0x2f9)]=0x1]='Edit',_0x332347[_0x332347[_0x209429(0x502)]=0x2]='ManageCollaborator',_0x332347[_0x332347[_0x209429(0x32a)]=0x3]=_0x209429(0x32a),_0x332347[_0x332347['Duplicate']=0x4]=_0x209429(0x19c),_0x332347[_0x332347['Comment']=0x5]=_0x209429(0x47b),_0x332347[_0x332347[_0x209429(0x3e1)]=0x6]=_0x209429(0x3e1),_0x332347[_0x332347['Share']=0x7]=_0x209429(0x17e),_0x332347[_0x332347[_0x209429(0x331)]=0x8]=_0x209429(0x331),_0x332347[_0x332347[_0x209429(0x3d2)]=0x9]=_0x209429(0x3d2),_0x332347[_0x332347[_0x209429(0x446)]=0xa]=_0x209429(0x446),_0x332347[_0x332347['HideWorksheet']=0xb]='HideWorksheet',_0x332347[_0x332347['RenameWorksheet']=0xc]='RenameWorksheet',_0x332347[_0x332347[_0x209429(0x157)]=0xd]=_0x209429(0x157),_0x332347[_0x332347[_0x209429(0x192)]=0xe]=_0x209429(0x192),_0x332347[_0x332347[_0x209429(0x215)]=0xf]=_0x209429(0x215),_0x332347[_0x332347['InsertHyperlink']=0x10]='InsertHyperlink',_0x332347[_0x332347[_0x209429(0x3aa)]=0x11]='Sort',_0x332347[_0x332347[_0x209429(0x412)]=0x12]=_0x209429(0x412),_0x332347[_0x332347[_0x209429(0x13f)]=0x13]='PivotTable',_0x332347[_0x332347[_0x209429(0x299)]=0x14]='FloatImg',_0x332347[_0x332347[_0x209429(0x15b)]=0x15]=_0x209429(0x15b),_0x332347[_0x332347[_0x209429(0x205)]=0x16]=_0x209429(0x205),_0x332347[_0x332347[_0x209429(0x4c8)]=0x17]=_0x209429(0x4c8),_0x332347[_0x332347[_0x209429(0x16c)]=0x18]='ViewFilter',_0x332347[_0x332347['MoveSheet']=0x19]=_0x209429(0x30b),_0x332347[_0x332347[_0x209429(0x308)]=0x1a]=_0x209429(0x308),_0x332347[_0x332347[_0x209429(0x374)]=0x1b]=_0x209429(0x374),_0x332347[_0x332347[_0x209429(0x2e7)]=0x1c]=_0x209429(0x2e7),_0x332347[_0x332347[_0x209429(0x227)]=0x1d]=_0x209429(0x227),_0x332347[_0x332347['CreateSheet']=0x1e]=_0x209429(0x473),_0x332347[_0x332347[_0x209429(0x30d)]=0x1f]='SelectProtectedCells',_0x332347[_0x332347[_0x209429(0x1f8)]=0x20]=_0x209429(0x1f8),_0x332347[_0x332347[_0x209429(0x4a0)]=0x21]='SetCellStyle',_0x332347[_0x332347[_0x209429(0x4da)]=0x22]=_0x209429(0x4da),_0x332347[_0x332347[_0x209429(0x3f5)]=0x23]=_0x209429(0x3f5),_0x332347[_0x332347[_0x209429(0x36e)]=0x24]=_0x209429(0x36e),_0x332347[_0x332347['InsertRow']=0x25]=_0x209429(0x3d1),_0x332347[_0x332347[_0x209429(0x2d3)]=0x26]=_0x209429(0x2d3),_0x332347[_0x332347[_0x209429(0x40c)]=0x27]=_0x209429(0x40c),_0x332347[_0x332347[_0x209429(0x40a)]=0x28]=_0x209429(0x40a),_0x332347[_0x332347[_0x209429(0x1dc)]=0x29]=_0x209429(0x1dc),_0x332347[_0x332347[_0x209429(0x139)]=0x2a]=_0x209429(0x139),_0x332347[_0x332347['RecoverHistory']=0x2b]=_0x209429(0x14f),_0x332347[_0x332347[_0x209429(0x20b)]=0x2c]=_0x209429(0x20b),_0x332347[_0x332347[_0x209429(0x39e)]=0x2d]=_0x209429(0x39e),_0x332347[_0x332347[_0x209429(0x133)]=-0x1]='UNRECOGNIZED',_0x332347;}({});function _0x25c922(_0x3519e9){const _0x170752=_0x1ffeb0;return!!(_0x3519e9&&_0x3519e9[_0x170752(0x4be)]&&_0x3519e9['code']!==_0x37e428['OK']&&_0x3519e9['code']!=='OK');}let _0x4063e5=_0x1ffeb0(0x35d);Symbol(_0x4063e5);let _0x25e7f7={};function _0x2d9393(_0x523d5b){'@babel/helpers - typeof';const _0x5c98f5=_0x1ffeb0;return _0x2d9393=typeof Symbol=='function'&&typeof Symbol[_0x5c98f5(0x286)]==_0x5c98f5(0x1df)?function(_0x57981d){return typeof _0x57981d;}:function(_0xf140b9){const _0x492d72=_0x5c98f5;return _0xf140b9&&typeof Symbol=='function'&&_0xf140b9[_0x492d72(0x328)]===Symbol&&_0xf140b9!==Symbol[_0x492d72(0x3eb)]?_0x492d72(0x1df):typeof _0xf140b9;},_0x2d9393(_0x523d5b);}function _0x2de9b5(_0x292346,_0x299c83){const _0x3cc820=_0x1ffeb0;if(_0x2d9393(_0x292346)!=_0x3cc820(0x458)||!_0x292346)return _0x292346;var _0x25358d=_0x292346[Symbol[_0x3cc820(0x342)]];if(_0x25358d!==void 0x0){var _0x2222f5=_0x25358d[_0x3cc820(0x2a5)](_0x292346,_0x299c83||_0x3cc820(0x37b));if(_0x2d9393(_0x2222f5)!='object')return _0x2222f5;throw TypeError(_0x3cc820(0x28b));}return(_0x299c83===_0x3cc820(0x43c)?String:Number)(_0x292346);}function _0x58f560(_0x3f823a){const _0x402f27=_0x1ffeb0;var _0xcbd985=_0x2de9b5(_0x3f823a,_0x402f27(0x43c));return _0x2d9393(_0xcbd985)==_0x402f27(0x1df)?_0xcbd985:_0xcbd985+'';}function _0xefc1c8(_0x662cbc,_0x469b77,_0xe25616){return(_0x469b77=_0x58f560(_0x469b77))in _0x662cbc?Object['defineProperty'](_0x662cbc,_0x469b77,{'value':_0xe25616,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x662cbc[_0x469b77]=_0xe25616,_0x662cbc;}function _0x181878(_0xbaaa55,_0x463af7){return function(_0x4c8419,_0x28ea0c){_0x463af7(_0x4c8419,_0x28ea0c,_0xbaaa55);};}function _0x1b1300(_0x2a9fa5,_0x2d5e33,_0x4a204f,_0x3d73e1){const _0x5ea2c3=_0x1ffeb0;var _0x1cd3ba=arguments[_0x5ea2c3(0x34a)],_0x5baa31=_0x1cd3ba<0x3?_0x2d5e33:_0x3d73e1===null?_0x3d73e1=Object[_0x5ea2c3(0x430)](_0x2d5e33,_0x4a204f):_0x3d73e1,_0x5d3c3c;if(typeof Reflect==_0x5ea2c3(0x458)&&typeof Reflect[_0x5ea2c3(0x3d8)]==_0x5ea2c3(0x334))_0x5baa31=Reflect[_0x5ea2c3(0x3d8)](_0x2a9fa5,_0x2d5e33,_0x4a204f,_0x3d73e1);else{for(var _0xaf07c9=_0x2a9fa5[_0x5ea2c3(0x34a)]-0x1;_0xaf07c9>=0x0;_0xaf07c9--)(_0x5d3c3c=_0x2a9fa5[_0xaf07c9])&&(_0x5baa31=(_0x1cd3ba<0x3?_0x5d3c3c(_0x5baa31):_0x1cd3ba>0x3?_0x5d3c3c(_0x2d5e33,_0x4a204f,_0x5baa31):_0x5d3c3c(_0x2d5e33,_0x4a204f))||_0x5baa31);}return _0x1cd3ba>0x3&&_0x5baa31&&Object['defineProperty'](_0x2d5e33,_0x4a204f,_0x5baa31),_0x5baa31;}let _0x487d26=function(_0x4a2d4e){const _0x5643c0=_0x1ffeb0;return _0x4a2d4e[_0x4a2d4e['Unspecified']=0x0]=_0x5643c0(0x306),_0x4a2d4e[_0x4a2d4e[_0x5643c0(0x4f1)]=0x1]=_0x5643c0(0x4f1),_0x4a2d4e[_0x4a2d4e['Character']=0x2]='Character',_0x4a2d4e;}({}),_0xfc0886=class extends _0x5d0897[_0x1ffeb0(0x2ed)]{constructor(_0xf09394,_0x35b8f4,_0x52f49f,_0x6e206e,_0x2e3be1,_0x2c7b5f,_0x534a9f){const _0x2cc802=_0x1ffeb0;super(),this['_snapshotServerService']=_0xf09394,this[_0x2cc802(0x4b9)]=_0x35b8f4,this[_0x2cc802(0x43f)]=_0x52f49f,this[_0x2cc802(0x4c1)]=_0x6e206e,this[_0x2cc802(0x221)]=_0x2e3be1,this[_0x2cc802(0x4af)]=_0x2c7b5f,this[_0x2cc802(0x140)]=_0x534a9f,_0xefc1c8(this,_0x2cc802(0x15f),void 0x0),this[_0x2cc802(0x15f)]=new _0x5d0897[(_0x2cc802(0x263))](0x3c);}[_0x1ffeb0(0x4f4)](){const _0x48f111=_0x1ffeb0;this['_workbookDataCache'][_0x48f111(0x3a0)](),super[_0x48f111(0x4f4)]();}async[_0x1ffeb0(0x499)](_0x29332e){const _0xc3fe4e=_0x1ffeb0;try{let _0x205c31=(await this[_0xc3fe4e(0x221)][_0xc3fe4e(0x2b2)](this[_0xc3fe4e(0x4ff)]()+'/'+_0x29332e+_0xc3fe4e(0x416)))[_0xc3fe4e(0x4db)];if(_0x205c31&&_0x205c31[_0xc3fe4e(0x2cf)]&&_0x205c31[_0xc3fe4e(0x2cf)][_0xc3fe4e(0x4be)]===_0x37e428['OK'])return _0x205c31[_0xc3fe4e(0x158)];}catch(_0x69a250){console['error'](_0x69a250);}return[];}async[_0x1ffeb0(0x4ac)](_0x224c52,_0x36c0cb){const _0x7d4b04=_0x1ffeb0;let {userIds:_0x53ea3f,lastLabel:_0x4014a3,origin:_0x50ffac}=_0x36c0cb==null?{}:_0x36c0cb,_0x39e2e8=new URLSearchParams();_0x39e2e8[_0x7d4b04(0x362)](_0x7d4b04(0x34a),'20'),_0x4014a3&&_0x39e2e8[_0x7d4b04(0x362)](_0x7d4b04(0x49d),_0x4014a3),_0x53ea3f==null||_0x53ea3f[_0x7d4b04(0x1ac)](_0x3f686c=>{const _0x11b767=_0x7d4b04;_0x39e2e8['append'](_0x11b767(0x3ec),_0x3f686c);}),_0x50ffac&&_0x39e2e8['set'](_0x7d4b04(0x484),_0x50ffac['toString']());let _0x1f0e34=this[_0x7d4b04(0x4ff)]()+'/'+_0x224c52+_0x7d4b04(0x37c)+_0x39e2e8['toString']();try{let _0x5a4d5a=(await this[_0x7d4b04(0x221)][_0x7d4b04(0x2b2)](_0x1f0e34))[_0x7d4b04(0x4db)];if(_0x5a4d5a&&_0x5a4d5a[_0x7d4b04(0x2cf)]&&_0x5a4d5a[_0x7d4b04(0x2cf)]['code']===_0x37e428['OK']){let {hasMore:_0x32d8ca,lastLabel:_0x2bdbda}=_0x5a4d5a;return{'hasMore':_0x32d8ca,'lastLabel':_0x2bdbda,'versions':_0x3e84f9(_0x5a4d5a),'members':_0x5a4d5a[_0x7d4b04(0x3bd)][_0x7d4b04(0x243)]};}}catch(_0x3b2f99){console[_0x7d4b04(0x2cf)](_0x3b2f99);}return null;}async[_0x1ffeb0(0x301)](_0x544158,_0x57450e){const _0x5db008=_0x1ffeb0;let {unitId:_0x16b174,startRevision:_0x3b2f10,endRevision:_0xca944b}=_0x57450e,_0x467166=this[_0x5db008(0x4ff)]()+'/'+_0x16b174+_0x5db008(0x42f)+_0x3b2f10+_0x5db008(0x3b9)+_0xca944b;return(await this['_httpService'][_0x5db008(0x2b2)](_0x467166))[_0x5db008(0x4db)];}['_getAPIPrefix'](){const _0x5f0e6f=_0x1ffeb0;var _0x4e8ba4;let _0x4350dd=this[_0x5f0e6f(0x4c1)][_0x5f0e6f(0x367)](_0x4063e5);return(_0x4e8ba4=_0x4350dd==null?void 0x0:_0x4350dd[_0x5f0e6f(0x25b)])==null?_0x5f0e6f(0x494):_0x4e8ba4;}[_0x1ffeb0(0x42a)](_0xb53e19,_0x56d54c){return _0xb53e19+':'+_0x56d54c;}async[_0x1ffeb0(0x3a1)](_0x410b3a,_0x1e8120,_0x316714={}){const _0x9b3c72=_0x1ffeb0;var _0x3f8002;let _0x2c769e=this[_0x9b3c72(0x42a)](_0x410b3a,_0x1e8120),_0x13ebe5=this['_workbookDataCache'][_0x9b3c72(0x2b2)](_0x2c769e);if(_0x13ebe5){let {workbookData:_0x4a2034,changesets:_0x3d3673}=_0x13ebe5;return await this[_0x9b3c72(0x4fc)](_0x4a2034,_0x3d3673),!0x0;}let {snapshot:_0x3dbfad,changesets:_0x1f3000,error:_0x4c5024}=await this[_0x9b3c72(0x1a2)][_0x9b3c72(0x411)](_0x316714,{'unitID':_0x410b3a,'type':_0x2e554b[_0x9b3c72(0x17b)],'revision':_0x1e8120});if(_0x25c922(_0x4c5024)||!_0x3dbfad||!_0x3dbfad['workbook'])throw Error(_0x9b3c72(0x4c2));let _0x109f71=(_0x3f8002=_0x1f3000==null?void 0x0:_0x1f3000[_0x9b3c72(0x34a)])==null?0x0:_0x3f8002;if(_0x1e8120!==0x0&&_0x3dbfad[_0x9b3c72(0x2f1)]+_0x109f71!==_0x1e8120)throw Error('[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!');let {workbook:_0xd1d186}=_0x3dbfad,_0x301f99=_0xd1d186['blockMeta']?Object[_0x9b3c72(0x450)](_0xd1d186['blockMeta'])[_0x9b3c72(0x237)](_0x59dd89=>{var _0x3de57a;return(_0x3de57a=_0x59dd89['blocks'])==null?[]:_0x3de57a;}):[],_0xe62f6b=await(0x0,_0x4a325b['transformSnapshotToWorkbookData'])(_0x3dbfad,(await Promise[_0x9b3c72(0x225)](_0x301f99['map'](_0x545926=>this[_0x9b3c72(0x1a2)][_0x9b3c72(0x20e)](_0x316714,{'unitID':_0x410b3a,'type':_0x2e554b[_0x9b3c72(0x17b)],'blockID':_0x545926})['then'](_0x4b453f=>_0x4b453f[_0x9b3c72(0x20a)]))))['filter'](Boolean),_0x316714);return this[_0x9b3c72(0x15f)][_0x9b3c72(0x362)](_0x2c769e,{'workbookData':_0xe62f6b,'changesets':_0x1f3000}),await this[_0x9b3c72(0x4fc)](_0xe62f6b,_0x1f3000),!0x0;}async[_0x1ffeb0(0x4fc)](_0x1f3824,_0x4a2e12){const _0x304854=_0x1ffeb0;let _0x50c4f2=this[_0x304854(0x4b9)][_0x304854(0x33d)](_0x5d0897[_0x304854(0x3b2)][_0x304854(0x17b)]);_0x50c4f2&&(this[_0x304854(0x4b9)][_0x304854(0x4cb)](_0x50c4f2[_0x304854(0x4a9)]()),await Promise[_0x304854(0x39f)]());let _0x47cf36=JSON['parse'](JSON[_0x304854(0x2ce)](_0x1f3824));this[_0x304854(0x501)](_0x47cf36,_0x4a2e12),this[_0x304854(0x140)][_0x304854(0x159)]();}[_0x1ffeb0(0x501)](_0xff93f4,_0x374777){const _0x551c3d=_0x1ffeb0;let _0x1e3ff8=this[_0x551c3d(0x4b9)][_0x551c3d(0x1eb)](_0x5d0897[_0x551c3d(0x3b2)][_0x551c3d(0x17b)],_0xff93f4);this['_univerInstanceService'][_0x551c3d(0x47e)](_0x1e3ff8[_0x551c3d(0x4a9)]());let _0x4d0754=this['_compressMutationService'][_0x551c3d(0x329)][_0x551c3d(0x2be)](this[_0x551c3d(0x4af)][_0x551c3d(0x329)][_0x551c3d(0x40f)]()[_0x551c3d(0x289)]);return _0x374777==null||_0x374777[_0x551c3d(0x1ac)](_0xaf5c4a=>{const _0x1b065f=_0x551c3d;let _0x30b007=_0xaf5c4a[_0x1b065f(0x3ef)][_0x1b065f(0x129)](_0x703787=>({'id':_0x703787['id'],'params':JSON[_0x1b065f(0x202)](_0x703787[_0x1b065f(0x1ed)])}));(_0x4d0754(_0x30b007,null)||_0x30b007)[_0x1b065f(0x1ac)](_0x26985f=>{const _0x340982=_0x1b065f;this['_commandService'][_0x340982(0x17a)](_0x26985f['id'])&&this[_0x340982(0x43f)][_0x340982(0x153)](_0x26985f['id'],_0x26985f[_0x340982(0x385)],{'fromChangeset':!0x0});});}),_0x1e3ff8;}};_0xfc0886=_0x1b1300([_0x181878(0x0,_0x4a325b['ISnapshotServerService']),_0x181878(0x1,_0x5d0897[_0x1ffeb0(0x1fa)]),_0x181878(0x2,_0x5d0897[_0x1ffeb0(0x398)]),_0x181878(0x3,_0x5d0897['IConfigService']),_0x181878(0x4,(0x0,_0x5d0897['Inject'])(_0x23682b[_0x1ffeb0(0x439)])),_0x181878(0x5,(0x0,_0x5d0897[_0x1ffeb0(0x24f)])(_0x4a325b[_0x1ffeb0(0x4de)])),_0x181878(0x6,(0x0,_0x5d0897[_0x1ffeb0(0x24f)])(_0xefe5da[_0x1ffeb0(0x377)]))],_0xfc0886);function _0x3e84f9(_0x55481b){const _0x2353a3=_0x1ffeb0;let _0x5dd832=[],{entities:_0x26a2ca,historyIds:_0xde94ec}=_0x55481b,{datas:_0x4ab790,users:_0x5960ce}=_0x26a2ca;for(let _0x126bf5 of _0xde94ec){let _0x296b03=_0x4ab790[_0x126bf5];if(_0x296b03){var _0x34e66b,_0x417dd2;let _0x4bd564=!!((_0x34e66b=_0x5960ce[_0x296b03[_0x2353a3(0x1f7)]])!=null&&_0x34e66b[_0x2353a3(0x271)]);_0x5dd832[_0x2353a3(0x338)]({'unitId':_0x296b03['unitId'],'user':_0x4bd564?'':(_0x5960ce==null||(_0x417dd2=_0x5960ce[_0x296b03[_0x2353a3(0x1f7)]])==null?void 0x0:_0x417dd2[_0x2353a3(0x203)])||'','users':_0x296b03[_0x2353a3(0x3ec)][_0x2353a3(0x129)](_0x10b1b3=>{var _0x38a14f;return(_0x5960ce==null||(_0x38a14f=_0x5960ce[_0x10b1b3])==null?void 0x0:_0x38a14f['name'])||'';})[_0x2353a3(0x4e7)](_0x38d0cd=>_0x38d0cd),'isAnonymous':_0x4bd564,'id':_0x126bf5,'time':_0x296b03[_0x2353a3(0x443)]?Number(_0x296b03['createTime']):void 0x0,'commands':_0x296b03[_0x2353a3(0x16e)],'startRev':Number(_0x296b03[_0x2353a3(0x437)]),'endRev':Number(_0x296b03[_0x2353a3(0x376)]),'recoverTime':_0x296b03[_0x2353a3(0x48a)]?Number(_0x296b03[_0x2353a3(0x48a)]):void 0x0,'additionalFields':_0x296b03[_0x2353a3(0x22c)],'startRevCreateTime':_0x296b03[_0x2353a3(0x1ee)]?Number(_0x296b03[_0x2353a3(0x1ee)]):void 0x0,'endRevCreateTime':_0x296b03['endRevCreateTime']?Number(_0x296b03[_0x2353a3(0x401)]):void 0x0});}}return _0x5dd832;}let _0x432a59=function(_0x4bb7a9){const _0x412f52=_0x1ffeb0;return _0x4bb7a9[_0x412f52(0x387)]='entered',_0x4bb7a9[_0x412f52(0x210)]=_0x412f52(0x11f),_0x4bb7a9[_0x412f52(0x455)]=_0x412f52(0x2cf),_0x4bb7a9;}({}),_0xda04f2=function(_0x5b63c4){const _0x4dcf3b=_0x1ffeb0;return _0x5b63c4[_0x4dcf3b(0x191)]=_0x4dcf3b(0x421),_0x5b63c4[_0x4dcf3b(0x451)]=_0x4dcf3b(0x454),_0x5b63c4[_0x4dcf3b(0x475)]=_0x4dcf3b(0x213),_0x5b63c4;}({}),_0x3b6c7c=_0x1ffeb0(0x1ce),_0x12879d=class extends _0x5d0897[_0x1ffeb0(0x2ed)]{[_0x1ffeb0(0x2db)](_0x1c835d){const _0x1c497c=_0x1ffeb0;this[_0x1c497c(0x407)]['next'](_0x1c835d);}get['fetching'](){const _0x2cd3a7=_0x1ffeb0;return this['_fetching$'][_0x2cd3a7(0x46f)];}constructor(_0x2f7d2c,_0x2d22d1,_0x20fbd4,_0x2402ec){const _0x44578d=_0x1ffeb0;super(),this[_0x44578d(0x2e0)]=_0x2f7d2c,this['_confirmService']=_0x2d22d1,this[_0x44578d(0x266)]=_0x20fbd4,this[_0x44578d(0x372)]=_0x2402ec,_0xefc1c8(this,_0x44578d(0x21a),new _0x8c4748[(_0x44578d(0x3e0))]([])),_0xefc1c8(this,_0x44578d(0x392),this['_versions$'][_0x44578d(0x353)]()),_0xefc1c8(this,_0x44578d(0x410),new _0x8c4748['BehaviorSubject']('')),_0xefc1c8(this,_0x44578d(0x2eb),this[_0x44578d(0x410)][_0x44578d(0x353)]()),_0xefc1c8(this,_0x44578d(0x4b4),new _0x8c4748[(_0x44578d(0x3e0))](_0x432a59['Entered'])),_0xefc1c8(this,_0x44578d(0x2d9),this[_0x44578d(0x4b4)][_0x44578d(0x353)]()),_0xefc1c8(this,'_revertRevision$',new _0x8c4748[(_0x44578d(0x3e0))](0x0)),_0xefc1c8(this,'revertRevision$',this['_revertRevision$'][_0x44578d(0x353)]()),_0xefc1c8(this,_0x44578d(0x2b0),new _0x8c4748[(_0x44578d(0x3e0))]('')),_0xefc1c8(this,_0x44578d(0x3a5),this['_unitId$'][_0x44578d(0x353)]()),_0xefc1c8(this,_0x44578d(0x407),new _0x8c4748[(_0x44578d(0x3e0))](!0x1)),_0xefc1c8(this,_0x44578d(0x406),this[_0x44578d(0x407)]['asObservable']()),_0xefc1c8(this,_0x44578d(0x319),new _0x8c4748[(_0x44578d(0x3e0))]([])),_0xefc1c8(this,_0x44578d(0x26f),this[_0x44578d(0x319)][_0x44578d(0x353)]()),_0xefc1c8(this,'_openPanel$',new _0x8c4748['BehaviorSubject'](!0x1)),_0xefc1c8(this,_0x44578d(0x2a7),this['_openPanel$'][_0x44578d(0x353)]()),_0xefc1c8(this,'_detailVersionsMap',new Map()),_0xefc1c8(this,'_loadingState$',new _0x8c4748[(_0x44578d(0x3e0))](_0xda04f2[_0x44578d(0x191)])),_0xefc1c8(this,_0x44578d(0x34d),this[_0x44578d(0x156)]['asObservable']()),_0xefc1c8(this,_0x44578d(0x115),null),_0xefc1c8(this,_0x44578d(0x2df),!0x0),_0xefc1c8(this,_0x44578d(0x39a),new Map()),_0xefc1c8(this,'_historyContainerId',void 0x0),_0xefc1c8(this,'_maskContainer',void 0x0),_0xefc1c8(this,_0x44578d(0x303),void 0x0),_0xefc1c8(this,'_canRevert',!0x1),_0xefc1c8(this,_0x44578d(0x245),null),_0xefc1c8(this,_0x44578d(0x428),new Map());}async[_0x1ffeb0(0x394)](_0x354ca8,_0x3c8b0c,_0x4e4834){const _0x1f0078=_0x1ffeb0;this['_historyContainerId']=_0x3c8b0c,this[_0x1f0078(0x1f9)]=_0x4e4834,this[_0x1f0078(0x1f4)][_0x1f0078(0x29a)](!0x0),await this[_0x1f0078(0x1a3)](_0x354ca8);}[_0x1ffeb0(0x43a)](_0xe00b7,_0x2d5ae1='',_0x37fae6,_0x51f94d){const _0xe0b1d6=_0x1ffeb0;let {versions:_0xd0670a,hasMore:_0xd7259b,lastLabel:_0x3d78d0,members:_0x403ca}=_0x51f94d,_0x256ece=_0xd0670a['length']>0x0?_0xd0670a:[{'unitId':_0xe00b7,'id':_0x3b6c7c,'startRev':0x1,'endRev':0x0,'time':Date['now'](),'user':this['_localeService']['t']('editHistory.panel.currentUser'),'users':[this[_0xe0b1d6(0x266)]['t']('editHistory.panel.currentUser')],'commands':[],'isAnonymous':!0x1}];this[_0xe0b1d6(0x1f9)]=_0x37fae6,this[_0xe0b1d6(0x2f5)]=_0x2d5ae1,this[_0xe0b1d6(0x2b0)][_0xe0b1d6(0x29a)](_0xe00b7),this[_0xe0b1d6(0x2de)](_0x256ece,_0xd7259b,_0x3d78d0,!0x1,_0x403ca),this[_0xe0b1d6(0x410)][_0xe0b1d6(0x29a)](_0x256ece[0x0]['id']);}async[_0x1ffeb0(0x1a3)](_0x5c7b9a,_0x4ec0b4){const _0x5cb1e1=_0x1ffeb0;this['_unitId$'][_0x5cb1e1(0x29a)](_0x5c7b9a),this['_loadParams']=_0x4ec0b4==null?null:_0x4ec0b4,this['_setFetching'](!0x0);let _0x2fab53=await this['_historyFetchService'][_0x5cb1e1(0x4ac)](_0x5c7b9a,_0x4ec0b4);if(this[_0x5cb1e1(0x2db)](!0x1),_0x2fab53){let {versions:_0x5d2056,lastLabel:_0x17f8de,hasMore:_0x1ae6c7,members:_0x46dd2b}=_0x2fab53;_0x5d2056['length']===0x0&&_0x5d2056[_0x5cb1e1(0x338)]({'unitId':_0x5c7b9a,'id':_0x3b6c7c,'startRev':0x1,'endRev':0x0,'time':Date[_0x5cb1e1(0x4d7)](),'user':this['_localeService']['t']('editHistory.panel.currentUser'),'users':[this[_0x5cb1e1(0x266)]['t']('editHistory.panel.currentUser')],'commands':[],'isAnonymous':!0x1}),this['_updateVersions'](_0x5d2056,_0x1ae6c7,_0x17f8de,!0x1,_0x46dd2b),this['_currentVersion$']['next'](_0x5d2056[0x0]['id']),this[_0x5cb1e1(0x428)][_0x5cb1e1(0x362)](_0x5c7b9a,_0x5d2056[0x0][_0x5cb1e1(0x4e8)]);}else this[_0x5cb1e1(0x4b4)][_0x5cb1e1(0x29a)](_0x432a59['Error']);}async[_0x1ffeb0(0x4b7)](){const _0x4458de=_0x1ffeb0;if(!this['_lastLabel']||!this['_hasMore']||this[_0x4458de(0x3cf)])return!0x1;this[_0x4458de(0x2db)](!0x0);let _0x299274=await this[_0x4458de(0x372)][_0x4458de(0x4ac)](this[_0x4458de(0x2ae)],{'lastLabel':this['_lastLabel'],...this[_0x4458de(0x245)]});if(this[_0x4458de(0x2db)](!0x1),_0x299274){let {versions:_0xd68c24,lastLabel:_0x4a01aa,hasMore:_0x57fbbe,members:_0x587dcd}=_0x299274;this[_0x4458de(0x2de)](_0xd68c24,_0x57fbbe,_0x4a01aa,!0x0,_0x587dcd);}else this[_0x4458de(0x2e0)][_0x4458de(0x10d)]({'content':this['_localeService']['t'](_0x4458de(0x3d9)),'type':_0x54512b['MessageType'][_0x4458de(0x455)],'duration':0xbb8});return!0x0;}async[_0x1ffeb0(0x27e)](){const _0x2c46e0=_0x1ffeb0;let {unitId:_0x5169e5}=this;if(!_0x5169e5)return;let _0x46dbc7=await this['_historyFetchService'][_0x2c46e0(0x499)](_0x5169e5);_0x46dbc7&&this[_0x2c46e0(0x319)][_0x2c46e0(0x29a)](_0x46dbc7);}async[_0x1ffeb0(0x23d)](_0x2272dc){const _0x38bf54=_0x1ffeb0;let {endRev:_0x1fc573}=this[_0x38bf54(0x2e2)](_0x2272dc)||{};_0x1fc573||_0x1fc573===0x0?(this[_0x38bf54(0x156)][_0x38bf54(0x29a)](_0xda04f2[_0x38bf54(0x451)]),await this[_0x38bf54(0x372)]['loadSheet'](this[_0x38bf54(0x2ae)],_0x1fc573),this[_0x38bf54(0x156)][_0x38bf54(0x29a)](_0xda04f2[_0x38bf54(0x475)])):this[_0x38bf54(0x4b4)][_0x38bf54(0x29a)](_0x432a59['Error']);}async[_0x1ffeb0(0x22e)](_0x2119ed){const _0x3f0480=_0x1ffeb0;let _0x4e43b6=_0x2119ed?this[_0x3f0480(0x2e2)](_0x2119ed):this['getCurrentVersion']();if(!_0x4e43b6)return;let _0x21ef2a=_0x4e43b6['endRev'],_0x5ae110=_0x2c0528(_0x4e43b6['time'],this[_0x3f0480(0x266)]['getCurrentLocale']());await this[_0x3f0480(0x116)]['confirm']({'id':_0x3f0480(0x327),'title':{'title':this['_localeService']['t']('editHistory.panel.revertConfirm')},'children':{'title':this[_0x3f0480(0x266)]['t'](_0x3f0480(0x1d9))+':\x20('+_0x5ae110[_0x3f0480(0x1b0)]+'\x20'+_0x5ae110[_0x3f0480(0x2ee)]+')'},'cancelText':this[_0x3f0480(0x266)]['t'](_0x3f0480(0x126)),'confirmText':this[_0x3f0480(0x266)]['t'](_0x3f0480(0x31d))})&&this[_0x3f0480(0x350)][_0x3f0480(0x29a)](_0x21ef2a);}[_0x1ffeb0(0x2de)](_0x3e8805,_0x577755,_0x1b7cfa,_0x4da474,_0x127812){const _0x2ca452=_0x1ffeb0;this[_0x2ca452(0x46a)](_0x4da474?this['_versions$'][_0x2ca452(0x46f)][_0x2ca452(0x18a)](_0x3e8805):_0x3e8805),this[_0x2ca452(0x2df)]=_0x577755,this['_lastLabel']=_0x1b7cfa,_0x127812&&Object[_0x2ca452(0x3e2)](_0x127812)['forEach'](_0x14bba1=>this[_0x2ca452(0x39a)][_0x2ca452(0x362)](_0x14bba1,_0x127812[_0x14bba1]));}[_0x1ffeb0(0x435)](){const _0x1f3d5f=_0x1ffeb0;return this[_0x1f3d5f(0x2e2)](this[_0x1f3d5f(0x410)][_0x1f3d5f(0x46f)]);}[_0x1ffeb0(0x46a)](_0x2ffd34){const _0x4df2be=_0x1ffeb0;this['_versions$'][_0x4df2be(0x29a)](_0x2ffd34);}[_0x1ffeb0(0x2e2)](_0x73907c){const _0x5ea8e9=_0x1ffeb0;var _0x5d74c0;return((_0x5d74c0=this['_versions$'][_0x5ea8e9(0x46f)])==null?void 0x0:_0x5d74c0[_0x5ea8e9(0x50d)](_0x2f7c20=>_0x2f7c20['id']===_0x73907c))||this['_detailVersionsMap'][_0x5ea8e9(0x2b2)](_0x73907c);}[_0x1ffeb0(0x1c5)](_0xde245c){const _0x4c804f=_0x1ffeb0;this['_detailVersionsMap'][_0x4c804f(0x362)](_0xde245c['id'],_0xde245c);}[_0x1ffeb0(0x25e)](){const _0x1cbb57=_0x1ffeb0;if(this[_0x1cbb57(0x2ae)])return this[_0x1cbb57(0x428)][_0x1cbb57(0x2b2)](this[_0x1cbb57(0x2ae)]);}[_0x1ffeb0(0x160)](){const _0xeaed37=_0x1ffeb0;var _0x5d56f2;return((_0x5d56f2=this[_0xeaed37(0x435)]())==null?void 0x0:_0x5d56f2[_0xeaed37(0x4e8)])===this[_0xeaed37(0x25e)]();}[_0x1ffeb0(0x1b4)](){const _0x49c2b0=_0x1ffeb0;return!this[_0x49c2b0(0x160)]()&&this[_0x49c2b0(0x2aa)];}[_0x1ffeb0(0x19d)](_0x574582){const _0x1bc84b=_0x1ffeb0;return this[_0x1bc84b(0x39a)]['get'](_0x574582);}[_0x1ffeb0(0x270)](){const _0x8d04d8=_0x1ffeb0;this[_0x8d04d8(0x303)]=document[_0x8d04d8(0x10c)](_0x8d04d8(0x4bc)),this[_0x8d04d8(0x303)][_0x8d04d8(0x366)]='history-mask',this[_0x8d04d8(0x303)]['style']['position']=_0x8d04d8(0x131),this[_0x8d04d8(0x303)][_0x8d04d8(0x390)]['top']='0',this['_maskElement'][_0x8d04d8(0x390)][_0x8d04d8(0x3b7)]='0',this[_0x8d04d8(0x303)]['style'][_0x8d04d8(0x2f8)]=_0x8d04d8(0x386),this[_0x8d04d8(0x303)][_0x8d04d8(0x390)][_0x8d04d8(0x229)]=_0x8d04d8(0x386),this['_maskElement'][_0x8d04d8(0x390)][_0x8d04d8(0x244)]='rgba(225,\x20225,\x20225,\x200.5)',this[_0x8d04d8(0x303)][_0x8d04d8(0x390)][_0x8d04d8(0x415)]=_0x8d04d8(0x35e),this['_maskElement'][_0x8d04d8(0x390)][_0x8d04d8(0x199)]='flex',this['_maskElement'][_0x8d04d8(0x390)][_0x8d04d8(0x35c)]='center',this[_0x8d04d8(0x303)][_0x8d04d8(0x390)][_0x8d04d8(0x23c)]='1000',this[_0x8d04d8(0x303)][_0x8d04d8(0x390)]['display']=_0x8d04d8(0x15c),this[_0x8d04d8(0x1b3)][_0x8d04d8(0x3f0)](this[_0x8d04d8(0x303)]);}[_0x1ffeb0(0x1f3)](){const _0x19e32=_0x1ffeb0;let _0x141a23=document[_0x19e32(0x184)](this[_0x19e32(0x2f5)]);_0x141a23&&(this['_maskContainer']=_0x141a23,this[_0x19e32(0x270)]());}[_0x1ffeb0(0x41b)](){const _0x3ab497=_0x1ffeb0;this[_0x3ab497(0x1b3)]||this[_0x3ab497(0x1f3)](),this[_0x3ab497(0x303)]&&(this[_0x3ab497(0x303)][_0x3ab497(0x390)][_0x3ab497(0x199)]=_0x3ab497(0x40b));}['hideMask'](){const _0x28dbeb=_0x1ffeb0;this[_0x28dbeb(0x303)]&&(this[_0x28dbeb(0x303)][_0x28dbeb(0x390)][_0x28dbeb(0x199)]=_0x28dbeb(0x15c));}set['status'](_0x14a90b){const _0x3b904a=_0x1ffeb0;this[_0x3b904a(0x4b4)][_0x3b904a(0x29a)](_0x14a90b);}set[_0x1ffeb0(0x144)](_0x408c15){const _0x40cfd8=_0x1ffeb0;_0x408c15!==this[_0x40cfd8(0x410)][_0x40cfd8(0x46f)]&&this['_currentVersion$'][_0x40cfd8(0x29a)](_0x408c15);}get[_0x1ffeb0(0x144)](){return this['_currentVersion$']['value'];}set[_0x1ffeb0(0x2ae)](_0x277a3f){const _0x2e550c=_0x1ffeb0;this[_0x2e550c(0x2b0)][_0x2e550c(0x29a)](_0x277a3f);}get[_0x1ffeb0(0x2ae)](){const _0x5147b7=_0x1ffeb0;return this[_0x5147b7(0x2b0)][_0x5147b7(0x46f)];}get[_0x1ffeb0(0x2aa)](){const _0x5b98e2=_0x1ffeb0;return this[_0x5b98e2(0x1f9)];}get['loadingState'](){const _0x4ddfa9=_0x1ffeb0;return this['_loadingState$'][_0x4ddfa9(0x46f)];}};_0x12879d=_0x1b1300([_0x181878(0x0,_0x1fa003[_0x1ffeb0(0x47c)]),_0x181878(0x1,_0x5d0897['IConfirmService']),_0x181878(0x2,(0x0,_0x5d0897[_0x1ffeb0(0x24f)])(_0x5d0897[_0x1ffeb0(0x422)])),_0x181878(0x3,(0x0,_0x5d0897[_0x1ffeb0(0x24f)])(_0xfc0886))],_0x12879d);let _0x38c36b=class extends _0x5d0897[_0x1ffeb0(0x2ed)]{constructor(_0x267ef1,_0x3010e8,_0x4ea2d5,_0x349b5a,_0x2eb5c4,_0x43301f,_0x18691a,_0x4b8eea,_0x548608,_0x58b674,_0x342929,_0x3d3cff,_0x3db795){const _0x1077f8=_0x1ffeb0;super(),this[_0x1077f8(0x1dd)]=_0x267ef1,this['_transformService']=_0x3010e8,this[_0x1077f8(0x1a2)]=_0x4ea2d5,this['_rangeProtectionRuleModel']=_0x349b5a,this['_conditionalFormattingRuleModel']=_0x2eb5c4,this[_0x1077f8(0x125)]=_0x43301f,this[_0x1077f8(0x49a)]=_0x18691a,this[_0x1077f8(0x3f9)]=_0x4b8eea,this['_sheetsPivotTableConfigModel']=_0x548608,this[_0x1077f8(0x21c)]=_0x58b674,this[_0x1077f8(0x266)]=_0x342929,this[_0x1077f8(0x34e)]=_0x3d3cff,this[_0x1077f8(0x372)]=_0x3db795,_0xefc1c8(this,_0x1077f8(0x4f8),new Map()),_0xefc1c8(this,_0x1077f8(0x104),new _0x8c4748[(_0x1077f8(0x3e0))]({'ranges':new Map(),'active':null,'subUnitIds':[]})),_0xefc1c8(this,'currentVersionDiff$',this[_0x1077f8(0x104)]['asObservable']()),this[_0x1077f8(0x3f3)]();}[_0x1ffeb0(0x3f3)](){const _0x5b5fa6=_0x1ffeb0;this[_0x5b5fa6(0x4f8)]=new Map(),this[_0x5b5fa6(0x45c)](this[_0x5b5fa6(0x1dd)][_0x5b5fa6(0x3a5)][_0x5b5fa6(0x3da)](_0x439e3d=>{const _0x3d3978=_0x5b5fa6;_0x439e3d&&!this[_0x3d3978(0x4f8)][_0x3d3978(0x417)](_0x439e3d)&&this['_diffRangesMap']['set'](_0x439e3d,new Map());})),this[_0x5b5fa6(0x45c)](this['_historyManagerService'][_0x5b5fa6(0x2eb)][_0x5b5fa6(0x3da)](async _0x176f2c=>{const _0x4545e6=_0x5b5fa6;if(_0x176f2c){var _0x3140ab;await this['ensureVersion'](_0x176f2c),this[_0x4545e6(0x104)][_0x4545e6(0x29a)](((_0x3140ab=this['_diffRangesMap'][_0x4545e6(0x2b2)](this[_0x4545e6(0x1dd)][_0x4545e6(0x2ae)]))==null?void 0x0:_0x3140ab['get'](_0x176f2c))||{'ranges':new Map(),'active':null,'subUnitIds':[]});}}));}async[_0x1ffeb0(0x29b)](_0x47094d){const _0x7636cb=_0x1ffeb0;var _0x3905c0,_0x2371e2;let _0x5843c0=this[_0x7636cb(0x1dd)][_0x7636cb(0x2e2)](_0x47094d),_0x28fb53=this['_historyManagerService']['unitId'];if(!_0x5843c0||!_0x28fb53)return;let _0x19b306=this[_0x7636cb(0x4f8)][_0x7636cb(0x2b2)](_0x28fb53);if(_0x19b306||this[_0x7636cb(0x4f8)][_0x7636cb(0x362)](_0x28fb53,new Map()),(_0x3905c0=this[_0x7636cb(0x4f8)][_0x7636cb(0x2b2)](_0x28fb53))!=null&&_0x3905c0[_0x7636cb(0x417)](_0x5843c0['id']))return;let {startRev:_0x266511,endRev:_0x9f8ae0}=_0x5843c0;if(_0x266511===0x1){_0x19b306[_0x7636cb(0x362)](_0x5843c0['id'],{'ranges':new Map(),'active':null,'subUnitIds':[]});return;}let _0x3852e7=_0x266511,_0x55af6c=_0x9f8ae0,_0x953cd2=await this[_0x7636cb(0x372)]['getHistoryChangesets']({},{'unitId':_0x28fb53,'startRevision':_0x3852e7,'endRevision':_0x55af6c});if(((_0x2371e2=_0x953cd2[_0x7636cb(0x2cf)])==null?void 0x0:_0x2371e2['code'])===_0x37e428['OK']){let _0x2e48ff=_0x953cd2[_0x7636cb(0x27f)][_0x7636cb(0x129)](_0x1bb739=>((_0x1bb739[_0x7636cb(0x3ef)]===null||_0x1bb739[_0x7636cb(0x3ef)]===void 0x0)&&(_0x1bb739[_0x7636cb(0x3ef)]=[]),(0x0,_0x4a325b[_0x7636cb(0x449)])(_0x1bb739)))[_0x7636cb(0x129)](_0x46d97d=>_0x46d97d[_0x7636cb(0x3ef)][_0x7636cb(0x129)](_0x4d8668=>({..._0x4d8668,'params':{..._0x4d8668[_0x7636cb(0x385)],'memberId':_0x46d97d[_0x7636cb(0x33c)]||_0x7636cb(0x13e)}})))['flat'](),_0x22c381=await this[_0x7636cb(0x42e)](_0x2e48ff),_0x543198=this[_0x7636cb(0x343)](_0x2e48ff),_0x1b6464=this[_0x7636cb(0x307)](_0x22c381);_0x19b306['set'](_0x5843c0['id'],{..._0x1b6464,'active':_0x543198});}}[_0x1ffeb0(0x214)](){const _0x213d4a=_0x1ffeb0;let _0x21c46a=_0x1af523(_0x213d4a(0x187)),_0x245bce=new Map();return Object[_0x213d4a(0x450)](_0x21c46a)[_0x213d4a(0x3ba)]()[_0x213d4a(0x1ac)](_0x552b0c=>{const _0x3f39ce=_0x213d4a;_0x245bce[_0x3f39ce(0x362)](_0x552b0c['id'],_0x552b0c[_0x3f39ce(0x18e)]);}),_0x245bce;}[_0x1ffeb0(0x14a)](_0x575627,_0x4c5915){const _0x546c58=_0x1ffeb0;return this[_0x546c58(0x3ac)](_0x575627,_0x4c5915);}async[_0x1ffeb0(0x42e)](_0xd0e20d){const _0x634fac=_0x1ffeb0;let _0x269f18=[];for(let _0x4276ee=0x0;_0x4276ee<_0xd0e20d['length'];_0x4276ee++){let _0x29915d=_0xd0e20d[_0x4276ee];if(_0x269f18[_0x634fac(0x338)](_0x29915d),_0x4276ee!==_0xd0e20d[_0x634fac(0x34a)]-0x1){let _0x3208b5=_0xd0e20d[_0x4276ee+0x1],_0x327d4d=this['_transformService'][_0x634fac(0x447)](_0x269f18,[_0x3208b5]);_0x269f18=(0x0,_0x4a325b[_0x634fac(0x3b5)])(_0x327d4d)?_0x327d4d['m1Prime']:[];}_0x4276ee%0xa==0x0&&_0x4276ee>0x0&&await this[_0x634fac(0x492)]();}return _0x269f18;}[_0x1ffeb0(0x492)](){return new Promise(_0x5140d9=>{const _0xec30ba=_0x4604;typeof requestIdleCallback==_0xec30ba(0x334)?requestIdleCallback(()=>_0x5140d9(),{'timeout':0x64}):setTimeout(_0x5140d9,0x0);});}[_0x1ffeb0(0x343)](_0xa67178){const _0x7eb689=_0x1ffeb0;let _0x50614a=[];return _0xa67178[_0x7eb689(0x1ac)](_0x35594b=>{const _0x4fcf24=_0x7eb689;if(_0x35594b['id']===_0xefe5da['InsertSheetMutation']['id']){let _0x2a0a8c=_0x35594b[_0x4fcf24(0x385)];_0x50614a[_0x4fcf24(0x338)](_0x2a0a8c['sheet']['id']);}else{if(_0x35594b['id']===_0xefe5da[_0x4fcf24(0x2c7)]['id']){let _0x905e14=_0x35594b[_0x4fcf24(0x385)];_0x50614a[_0x4fcf24(0x34a)]>0x0&&(_0x50614a=_0x50614a[_0x4fcf24(0x4e7)](_0x4a3070=>_0x4a3070!==_0x905e14[_0x4fcf24(0x3b6)]));}else{if(_0x35594b['id']===_0xefe5da['SetWorksheetHideMutation']['id']){let _0x413839=_0x35594b['params'];_0x413839[_0x4fcf24(0x378)]?_0x50614a=_0x50614a[_0x4fcf24(0x4e7)](_0x288f05=>_0x288f05!==_0x413839[_0x4fcf24(0x3b6)]):_0x50614a[_0x4fcf24(0x338)](_0x413839[_0x4fcf24(0x3b6)]);}else{let _0x34bd5d=_0x35594b[_0x4fcf24(0x385)];_0x34bd5d[_0x4fcf24(0x3b6)]&&_0x50614a[_0x4fcf24(0x338)](_0x34bd5d[_0x4fcf24(0x3b6)]);}}}}),_0x50614a['length']>0x0?_0x50614a[_0x50614a[_0x7eb689(0x34a)]-0x1]:null;}['_extractRanges'](_0x4ecf4a){const _0x148326=_0x1ffeb0;let _0x5e144f=new Map(),_0x14b330=new Map(),_0x66e49a=new Map(),_0x3e21a4=new Map(),_0x417c37=new Map(),_0x6e435c=new Map(),_0x89c547=new Map(),_0x1130f5=new Map(),_0x2f242a=new Map(),_0x22d2bf=new Map(),_0x36e5da=new Map(),_0x2d72d4=new Map(),_0x42142a=new Set(),_0x2c4973=this[_0x148326(0x214)]();return _0x4ecf4a[_0x148326(0x1ac)](_0x63826d=>{const _0x2510ec=_0x148326;var _0x26db3a,_0x148344,_0x29b6a1,_0x2b4a3f,_0x22bb00,_0x506988,_0x2edbd6,_0xfb4545,_0x439600,_0x21b6ac,_0x1e75fc,_0x1f0888,_0x2e5f17;let _0x1afce3=(_0x26db3a=_0x63826d['params'])==null?void 0x0:_0x26db3a[_0x2510ec(0x3e9)];if(!_0x1afce3)return;_0x5e144f[_0x2510ec(0x417)](_0x1afce3)||(_0x5e144f[_0x2510ec(0x362)](_0x1afce3,[]),_0x14b330[_0x2510ec(0x362)](_0x1afce3,[]),_0x66e49a[_0x2510ec(0x362)](_0x1afce3,[]),_0x3e21a4[_0x2510ec(0x362)](_0x1afce3,[]),_0x417c37[_0x2510ec(0x362)](_0x1afce3,[]),_0x6e435c['set'](_0x1afce3,[]),_0x89c547[_0x2510ec(0x362)](_0x1afce3,[]),_0x1130f5[_0x2510ec(0x362)](_0x1afce3,[]),_0x2f242a[_0x2510ec(0x362)](_0x1afce3,[]),_0x22d2bf[_0x2510ec(0x362)](_0x1afce3,[]),_0x36e5da['set'](_0x1afce3,[]),_0x2d72d4[_0x2510ec(0x362)](_0x1afce3,[]));let _0xda6520=this['_categorizeMutationRanges'](_0x63826d,_0x2c4973);_0xda6520[_0x2510ec(0x2cd)][_0x2510ec(0x1ac)](_0x40ccc3=>_0x42142a[_0x2510ec(0x161)](_0x40ccc3)),(_0x148344=_0x5e144f['get'](_0x1afce3))==null||_0x148344[_0x2510ec(0x338)](..._0xda6520[_0x2510ec(0x3e6)]),(_0x29b6a1=_0x14b330[_0x2510ec(0x2b2)](_0x1afce3))==null||_0x29b6a1[_0x2510ec(0x338)](..._0xda6520[_0x2510ec(0x39d)]),(_0x2b4a3f=_0x66e49a[_0x2510ec(0x2b2)](_0x1afce3))==null||_0x2b4a3f[_0x2510ec(0x338)](..._0xda6520[_0x2510ec(0x182)]),(_0x22bb00=_0x3e21a4[_0x2510ec(0x2b2)](_0x1afce3))==null||_0x22bb00[_0x2510ec(0x338)](..._0xda6520[_0x2510ec(0x2c6)]),(_0x506988=_0x417c37[_0x2510ec(0x2b2)](_0x1afce3))==null||_0x506988[_0x2510ec(0x338)](..._0xda6520[_0x2510ec(0x360)]),(_0x2edbd6=_0x6e435c[_0x2510ec(0x2b2)](_0x1afce3))==null||_0x2edbd6['push'](..._0xda6520[_0x2510ec(0x39c)]),(_0xfb4545=_0x89c547['get'](_0x1afce3))==null||_0xfb4545[_0x2510ec(0x338)](..._0xda6520[_0x2510ec(0x47f)]),(_0x439600=_0x1130f5['get'](_0x1afce3))==null||_0x439600['push'](..._0xda6520[_0x2510ec(0x3cd)]),(_0x21b6ac=_0x2f242a[_0x2510ec(0x2b2)](_0x1afce3))==null||_0x21b6ac[_0x2510ec(0x338)](..._0xda6520[_0x2510ec(0x2b8)]),(_0x1e75fc=_0x36e5da[_0x2510ec(0x2b2)](_0x1afce3))==null||_0x1e75fc[_0x2510ec(0x338)](..._0xda6520['insertDrawings']),(_0x1f0888=_0x2d72d4[_0x2510ec(0x2b2)](_0x1afce3))==null||_0x1f0888['push'](..._0xda6520[_0x2510ec(0x2e3)]),(_0x2e5f17=_0x22d2bf[_0x2510ec(0x2b2)](_0x1afce3))==null||_0x2e5f17['push'](..._0xda6520['updateDrawings']);}),_0x5e144f['forEach']((_0x29d692,_0x32c8d4)=>{const _0xdba802=_0x148326;_0x5e144f[_0xdba802(0x362)](_0x32c8d4,this['_combineRanges'](_0x29d692)),_0x14b330[_0xdba802(0x362)](_0x32c8d4,this[_0xdba802(0x149)](_0x14b330[_0xdba802(0x2b2)](_0x32c8d4)||[])),_0x66e49a[_0xdba802(0x362)](_0x32c8d4,this['_combineRanges'](_0x66e49a[_0xdba802(0x2b2)](_0x32c8d4)||[])),_0x3e21a4[_0xdba802(0x362)](_0x32c8d4,this[_0xdba802(0x149)](_0x3e21a4[_0xdba802(0x2b2)](_0x32c8d4)||[])),_0x417c37[_0xdba802(0x362)](_0x32c8d4,this[_0xdba802(0x149)](_0x417c37['get'](_0x32c8d4)||[])),_0x6e435c[_0xdba802(0x362)](_0x32c8d4,this[_0xdba802(0x149)](_0x6e435c[_0xdba802(0x2b2)](_0x32c8d4)||[])),_0x89c547[_0xdba802(0x362)](_0x32c8d4,this[_0xdba802(0x149)](_0x89c547[_0xdba802(0x2b2)](_0x32c8d4)||[])),_0x1130f5[_0xdba802(0x362)](_0x32c8d4,this[_0xdba802(0x149)](_0x1130f5[_0xdba802(0x2b2)](_0x32c8d4)||[])),_0x2f242a[_0xdba802(0x362)](_0x32c8d4,this[_0xdba802(0x149)](_0x2f242a[_0xdba802(0x2b2)](_0x32c8d4)||[]));}),{'ranges':_0x5e144f,'insertCellRanges':_0x14b330,'deleteCellRanges':_0x66e49a,'updateCellRanges':_0x3e21a4,'insertBorderRanges':_0x417c37,'deleteBorderRanges':_0x6e435c,'updateBorderRanges':_0x89c547,'arrowRowRanges':_0x1130f5,'arrowColumnRanges':_0x2f242a,'insertDrawings':_0x36e5da,'deleteDrawings':_0x2d72d4,'updateDrawings':_0x22d2bf,'subUnitIds':Array[_0x148326(0x326)](_0x42142a)};}[_0x1ffeb0(0x3ac)](_0x3e8e7e,_0x24758b){const _0x9df71f=_0x1ffeb0;let _0x56a98e={'allRanges':[],'insertCellRanges':[],'deleteCellRanges':[],'updateCellRanges':[],'insertBorderRanges':[],'deleteBorderRanges':[],'updateBorderRanges':[],'arrowRowRanges':[],'arrowColumnRanges':[],'insertDrawings':[],'deleteDrawings':[],'updateDrawings':[],'subUnitIds':[]},_0x20419c=_0x3e8e7e['id'],_0x34cb7d=_0x3e8e7e[_0x9df71f(0x385)],_0x5c9451=this[_0x9df71f(0x266)]['t'](_0x24758b['get'](_0x20419c)||'');_0x34cb7d[_0x9df71f(0x3b6)]&&_0x56a98e[_0x9df71f(0x2cd)][_0x9df71f(0x338)](_0x34cb7d[_0x9df71f(0x3b6)]);let _0x132fed=(_0x4c9eee,_0x39eac1)=>{const _0x35236c=_0x9df71f;let _0x50bf2c=_0x4c9eee[_0x35236c(0x129)](_0x220f25=>({..._0x220f25,'showText':_0x5c9451}));switch(_0x56a98e[_0x35236c(0x3e6)]['push'](..._0x50bf2c),_0x39eac1){case _0x35236c(0x1de):_0x56a98e[_0x35236c(0x39d)][_0x35236c(0x338)](..._0x50bf2c);break;case'delete':_0x56a98e[_0x35236c(0x182)][_0x35236c(0x338)](..._0x50bf2c);break;case'update':_0x56a98e[_0x35236c(0x2c6)]['push'](..._0x50bf2c);break;case _0x35236c(0x111):_0x56a98e[_0x35236c(0x360)][_0x35236c(0x338)](..._0x50bf2c);break;case _0x35236c(0x2bc):_0x56a98e[_0x35236c(0x39c)][_0x35236c(0x338)](..._0x50bf2c);break;case _0x35236c(0x4a8):_0x56a98e[_0x35236c(0x47f)]['push'](..._0x50bf2c);break;case _0x35236c(0x165):_0x56a98e[_0x35236c(0x3cd)][_0x35236c(0x338)](..._0x50bf2c);break;case _0x35236c(0x3ea):_0x56a98e[_0x35236c(0x2b8)]['push'](..._0x50bf2c);break;}};switch(_0x20419c){case _0xefe5da[_0x9df71f(0x336)]['id']:{let _0xbdc63b=_0x34cb7d;_0x132fed([{'range':{..._0xbdc63b[_0x9df71f(0x3f4)],'rangeType':_0x5d0897[_0x9df71f(0x4ee)][_0x9df71f(0x21f)]},'unitId':_0xbdc63b[_0x9df71f(0x2ae)],'subUnitId':_0xbdc63b[_0x9df71f(0x3b6)],'showText':_0x9df71f(0x292),'highlightRow':!0x0}],_0x9df71f(0x1de));break;}case _0xefe5da[_0x9df71f(0x44e)]['id']:{let _0x1e021a=_0x34cb7d;_0x132fed([{'range':{..._0x1e021a[_0x9df71f(0x3f4)],'rangeType':_0x5d0897[_0x9df71f(0x4ee)][_0x9df71f(0x279)]},'unitId':_0x1e021a[_0x9df71f(0x2ae)],'subUnitId':_0x1e021a[_0x9df71f(0x3b6)],'showText':_0x9df71f(0x3f6),'highlightColumn':!0x0}],_0x9df71f(0x1de));break;}case _0xefe5da[_0x9df71f(0x19b)]['id']:{let _0x738fb2=_0x34cb7d;_0x132fed(_0x738fb2['ranges'][_0x9df71f(0x129)](_0x5bcea7=>({'range':_0x5bcea7,'unitId':_0x738fb2[_0x9df71f(0x2ae)],'subUnitId':_0x738fb2[_0x9df71f(0x3b6)],'showText':_0x9df71f(0x3b8)})),_0x9df71f(0x1de));break;}case _0xefe5da[_0x9df71f(0x29d)]['id']:{let _0x1a3ab0=_0x34cb7d;_0x132fed(Object['values'](_0x1a3ab0[_0x9df71f(0x450)])[_0x9df71f(0x129)](_0x3af913=>_0x3af913['ranges'][_0x9df71f(0x129)](_0x411a2c=>({'range':_0x411a2c,'unitId':_0x1a3ab0[_0x9df71f(0x2ae)],'subUnitId':_0x1a3ab0['subUnitId'],'showText':'setNumfmt'})))[_0x9df71f(0x3ba)](),'insert');break;}case _0xefe5da[_0x9df71f(0x277)]['id']:{let _0x55ab3e=_0x34cb7d;_0x132fed(_0x55ab3e[_0x9df71f(0x4eb)][_0x9df71f(0x129)](_0x352130=>({'range':_0x352130,'unitId':_0x55ab3e[_0x9df71f(0x2ae)],'subUnitId':_0x55ab3e[_0x9df71f(0x3b6)],'showText':_0x9df71f(0x278)})),_0x9df71f(0x211));break;}case _0xefe5da[_0x9df71f(0x32d)]['id']:{let _0x4f6cd7=_0x34cb7d;_0x132fed(_0x4f6cd7[_0x9df71f(0x4eb)]['map'](_0x57701e=>({'range':_0x57701e,'unitId':_0x4f6cd7[_0x9df71f(0x2ae)],'subUnitId':_0x4f6cd7[_0x9df71f(0x3b6)],'showText':_0x9df71f(0x448)})),_0x9df71f(0x211));break;}case _0xefe5da[_0x9df71f(0x122)]['id']:{let _0x39acc1=_0x34cb7d;_0x132fed([{'range':{..._0x39acc1[_0x9df71f(0x43d)],'rangeType':_0x5d0897[_0x9df71f(0x4ee)][_0x9df71f(0x21f)]},'unitId':_0x39acc1['unitId'],'subUnitId':_0x39acc1['subUnitId'],'showText':_0x9df71f(0x465)}],_0x9df71f(0x211)),_0x132fed([{'range':{..._0x39acc1[_0x9df71f(0x14d)],'rangeType':_0x5d0897['RANGE_TYPE'][_0x9df71f(0x21f)]},'unitId':_0x39acc1[_0x9df71f(0x2ae)],'subUnitId':_0x39acc1[_0x9df71f(0x3b6)],'showText':_0x9df71f(0x465)}],_0x9df71f(0x1de));break;}case _0xefe5da[_0x9df71f(0x1d1)]['id']:{let _0x1e213b=_0x34cb7d;_0x132fed([{'range':{..._0x1e213b[_0x9df71f(0x43d)],'rangeType':_0x5d0897[_0x9df71f(0x4ee)][_0x9df71f(0x279)]},'unitId':_0x1e213b[_0x9df71f(0x2ae)],'subUnitId':_0x1e213b[_0x9df71f(0x3b6)],'showText':_0x9df71f(0x120)}],'delete'),_0x132fed([{'range':{..._0x1e213b[_0x9df71f(0x14d)],'rangeType':_0x5d0897['RANGE_TYPE'][_0x9df71f(0x279)]},'unitId':_0x1e213b[_0x9df71f(0x2ae)],'subUnitId':_0x1e213b[_0x9df71f(0x3b6)],'showText':_0x9df71f(0x120)}],'insert');break;}case _0xefe5da[_0x9df71f(0x17d)]['id']:{let _0x2c21db=_0x34cb7d;_0x132fed(_0x2c21db[_0x9df71f(0x4eb)]['map'](_0x28ee43=>({'range':{..._0x28ee43,'rangeType':_0x5d0897[_0x9df71f(0x4ee)]['ROW']},'unitId':_0x2c21db[_0x9df71f(0x2ae)],'subUnitId':_0x2c21db[_0x9df71f(0x3b6)],'showText':_0x9df71f(0x14e),'highlightRow':!0x0})),_0x9df71f(0x4bf));break;}case _0xefe5da[_0x9df71f(0x258)]['id']:{let _0x3a3b50=_0x34cb7d;_0x3a3b50[_0x9df71f(0x44c)]&&_0x3a3b50['subUnitId']&&Object[_0x9df71f(0x3e2)](_0x3a3b50['rowData'])[_0x9df71f(0x129)](Number)['forEach'](_0x3274b5=>{const _0x48513e=_0x9df71f;_0x132fed([{'range':{'startRow':_0x3274b5,'endRow':_0x3274b5,'startColumn':NaN,'endColumn':NaN,'rangeType':_0x5d0897[_0x48513e(0x4ee)][_0x48513e(0x21f)]},'unitId':_0x3a3b50['unitId'],'subUnitId':_0x3a3b50[_0x48513e(0x3b6)],'showText':_0x48513e(0x1b8),'highlightRow':!0x0}],_0x48513e(0x4bf));});break;}case _0xefe5da[_0x9df71f(0x38e)]['id']:{let _0x166f10=_0x34cb7d;_0x132fed(_0x166f10[_0x9df71f(0x4eb)]['map'](_0x37ae7e=>({'range':{..._0x37ae7e,'rangeType':_0x5d0897[_0x9df71f(0x4ee)][_0x9df71f(0x279)]},'unitId':_0x166f10[_0x9df71f(0x2ae)],'subUnitId':_0x166f10[_0x9df71f(0x3b6)],'showText':_0x9df71f(0x1a9),'highlightColumn':!0x0})),_0x9df71f(0x4bf));break;}case _0xefe5da[_0x9df71f(0x50a)]['id']:{let _0x531e46=_0x34cb7d;_0x531e46[_0x9df71f(0x325)]&&_0x531e46['subUnitId']&&Object[_0x9df71f(0x3e2)](_0x531e46['columnData'])[_0x9df71f(0x129)](Number)['forEach'](_0x5d5d1e=>{const _0x4728f0=_0x9df71f;_0x132fed([{'range':{'startRow':NaN,'endRow':NaN,'startColumn':_0x5d5d1e,'endColumn':_0x5d5d1e,'rangeType':_0x5d0897[_0x4728f0(0x4ee)]['COLUMN']},'unitId':_0x531e46[_0x4728f0(0x2ae)],'subUnitId':_0x531e46[_0x4728f0(0x3b6)],'showText':_0x4728f0(0x470),'highlightColumn':!0x0}],_0x4728f0(0x4bf));});break;}case _0xefe5da[_0x9df71f(0x1a4)]['id']:{let _0x393f2b=_0x34cb7d;_0x132fed(_0x393f2b['cellValue']?_0x26160a(_0x393f2b[_0x9df71f(0x48b)])['map'](_0x59224d=>({'range':_0x59224d,'unitId':_0x393f2b['unitId'],'subUnitId':_0x393f2b['subUnitId'],'showText':_0x9df71f(0x21d)})):[],_0x9df71f(0x4bf));break;}case _0xefe5da[_0x9df71f(0x315)]['id']:{let _0x560977=_0x3e8e7e[_0x9df71f(0x385)];_0x132fed([{'range':_0x826d8d(_0x560977['from'][_0x9df71f(0x46f)]),'unitId':_0x560977['unitId'],'subUnitId':_0x560977[_0x9df71f(0x326)][_0x9df71f(0x3b6)],'showText':_0x9df71f(0x311)}],_0x9df71f(0x211)),_0x132fed([{'range':_0x826d8d(_0x560977['to']['value']),'unitId':_0x560977[_0x9df71f(0x2ae)],'subUnitId':_0x560977['to'][_0x9df71f(0x3b6)],'showText':_0x9df71f(0x311)}],_0x9df71f(0x1de));break;}case _0xefe5da[_0x9df71f(0x2a8)]['id']:{let _0x4e8598=_0x34cb7d;_0x132fed([{'range':_0x4e8598[_0x9df71f(0x3f4)],'unitId':_0x4e8598[_0x9df71f(0x2ae)],'subUnitId':_0x4e8598[_0x9df71f(0x3b6)]}],'update');break;}case _0xefe5da[_0x9df71f(0x198)]['id']:{let _0xff62f7=_0x34cb7d;_0xff62f7['ranges']&&_0xff62f7[_0x9df71f(0x4eb)][_0x9df71f(0x34a)]>0x0&&_0xff62f7[_0x9df71f(0x3b6)]&&_0x132fed(_0xff62f7[_0x9df71f(0x4eb)][_0x9df71f(0x129)](_0x537d54=>({'range':_0x537d54,'unitId':_0xff62f7[_0x9df71f(0x2ae)],'subUnitId':_0xff62f7[_0x9df71f(0x3b6)],'showText':_0x9df71f(0x1c4)})),_0x9df71f(0x165));break;}case _0xefe5da[_0x9df71f(0x2c4)]['id']:{let _0x1a7d3f=_0x34cb7d;_0x1a7d3f['ranges']&&_0x1a7d3f[_0x9df71f(0x4eb)][_0x9df71f(0x34a)]>0x0&&_0x1a7d3f[_0x9df71f(0x3b6)]&&_0x132fed(_0x1a7d3f['ranges'][_0x9df71f(0x129)](_0x1b2f13=>({'range':_0x1b2f13,'unitId':_0x1a7d3f[_0x9df71f(0x2ae)],'subUnitId':_0x1a7d3f[_0x9df71f(0x3b6)],'showText':'setColWidth'})),'arrowColumn');break;}case _0xefe5da[_0x9df71f(0x233)]['id']:{let _0x47ef7d=_0x34cb7d;_0x132fed(_0x47ef7d[_0x9df71f(0x1d4)][_0x9df71f(0x129)](_0x59f127=>_0x59f127[_0x9df71f(0x4eb)][_0x9df71f(0x129)](_0x37e356=>({'range':_0x37e356,'unitId':_0x47ef7d[_0x9df71f(0x2ae)],'subUnitId':_0x47ef7d['subUnitId'],'showText':'addRangeProtection'})))[_0x9df71f(0x3ba)](),'insertBorder');break;}case _0x1ac5cb['AddConditionalRuleMutation']['id']:{let _0x36c026=_0x34cb7d;_0x132fed(_0x36c026[_0x9df71f(0x35a)][_0x9df71f(0x4eb)]['map'](_0x51de90=>({'range':_0x51de90,'unitId':_0x36c026[_0x9df71f(0x2ae)],'subUnitId':_0x36c026[_0x9df71f(0x3b6)],'showText':_0x9df71f(0x17f)})),_0x9df71f(0x111));break;}case _0x6d8d65[_0x9df71f(0x12f)]['id']:{let _0x48f3a4=_0x34cb7d;_0x132fed((Array[_0x9df71f(0x181)](_0x48f3a4[_0x9df71f(0x35a)])?_0x48f3a4[_0x9df71f(0x35a)]:[_0x48f3a4[_0x9df71f(0x35a)]])['map'](_0x1bb8cb=>_0x1bb8cb[_0x9df71f(0x4eb)]['map'](_0x5b98a2=>({'range':_0x5b98a2,'unitId':_0x48f3a4[_0x9df71f(0x2ae)],'subUnitId':_0x48f3a4[_0x9df71f(0x3b6)],'showText':_0x9df71f(0x1d7)})))[_0x9df71f(0x3ba)](),_0x9df71f(0x111));break;}case _0xefe5da['DeleteRangeProtectionMutation']['id']:{let _0x31f6ce=_0x34cb7d,_0x3dacca=_0x31f6ce[_0x9df71f(0x2ae)],_0x5adf96=_0x31f6ce['subUnitId'];_0x31f6ce['ruleIds']&&_0x31f6ce[_0x9df71f(0x26e)][_0x9df71f(0x34a)]>0x0&&_0x31f6ce[_0x9df71f(0x3b6)]&&_0x31f6ce[_0x9df71f(0x26e)][_0x9df71f(0x1ac)](_0x3de0e4=>{const _0x292cea=_0x9df71f;let _0x135fb1=this[_0x292cea(0x206)][_0x292cea(0x106)](_0x3dacca,_0x5adf96,_0x3de0e4),_0x1986da=(_0x135fb1==null?void 0x0:_0x135fb1[_0x292cea(0x4eb)]['map'](_0x1a0312=>({'range':_0x1a0312,'unitId':_0x3dacca,'subUnitId':_0x5adf96,'showText':_0x292cea(0x2c3)})))||[];_0x1986da['length']>0x0&&_0x132fed(_0x1986da,_0x292cea(0x2bc));});break;}case _0x1ac5cb[_0x9df71f(0x1c9)]['id']:{let _0x17463c=_0x34cb7d;if(_0x17463c[_0x9df71f(0x1fb)]&&_0x17463c[_0x9df71f(0x3b6)]){let _0x480e9e=this[_0x9df71f(0x335)][_0x9df71f(0x106)](_0x17463c[_0x9df71f(0x2ae)],_0x17463c[_0x9df71f(0x3b6)],_0x17463c['cfId']);if(_0x480e9e){let _0x2a2da6=_0x480e9e['ranges'][_0x9df71f(0x129)](_0xd62253=>({'range':_0xd62253,'unitId':_0x17463c['unitId'],'subUnitId':_0x17463c['subUnitId'],'showText':_0x9df71f(0x461)}));_0x2a2da6[_0x9df71f(0x34a)]>0x0&&_0x132fed(_0x2a2da6,_0x9df71f(0x2bc));}}break;}case _0x6d8d65['RemoveDataValidationMutation']['id']:{let _0x3ea939=_0x34cb7d,_0x5ba330=Array[_0x9df71f(0x181)](_0x3ea939[_0x9df71f(0x330)])?_0x3ea939[_0x9df71f(0x330)]:[_0x3ea939[_0x9df71f(0x330)]];_0x5ba330[_0x9df71f(0x34a)]>0x0&&_0x3ea939[_0x9df71f(0x3b6)]&&_0x5ba330[_0x9df71f(0x1ac)](_0x367658=>{const _0xf4b687=_0x9df71f;let _0x3c8381=this['_dataValidationModel']['getRuleById'](_0x3ea939[_0xf4b687(0x2ae)],_0x3ea939[_0xf4b687(0x3b6)],_0x367658),_0x440af3=(_0x3c8381==null?void 0x0:_0x3c8381[_0xf4b687(0x4eb)]['map'](_0x38596f=>({'range':_0x38596f,'unitId':_0x3ea939['unitId'],'subUnitId':_0x3ea939[_0xf4b687(0x3b6)],'showText':_0xf4b687(0x236)})))||[];_0x440af3[_0xf4b687(0x34a)]>0x0&&_0x132fed(_0x440af3,_0xf4b687(0x2bc));});break;}case _0xefe5da[_0x9df71f(0x2d5)]['id']:{let _0x4c4e55=_0x34cb7d;_0x132fed(_0x4c4e55[_0x9df71f(0x35a)][_0x9df71f(0x4eb)][_0x9df71f(0x129)](_0x235cb5=>({'range':_0x235cb5,'unitId':_0x4c4e55[_0x9df71f(0x2ae)],'subUnitId':_0x4c4e55[_0x9df71f(0x3b6)],'showText':'setRangeProtection'})),_0x9df71f(0x4a8));break;}case _0xefe5da[_0x9df71f(0x11c)]['id']:{let _0x1f5022=_0x34cb7d;_0x132fed([{'range':_0x1f5022[_0x9df71f(0x3f4)],'unitId':_0x1f5022[_0x9df71f(0x2ae)],'subUnitId':_0x1f5022['subUnitId'],'showText':_0x9df71f(0x3af)}],_0x9df71f(0x4a8));break;}case _0xefe5da[_0x9df71f(0x13d)]['id']:{let _0x4c562a=_0x34cb7d;_0x132fed([{'range':_0x4c562a[_0x9df71f(0x3f4)],'unitId':_0x4c562a[_0x9df71f(0x2ae)],'subUnitId':_0x4c562a['subUnitId'],'showText':_0x9df71f(0x1f0)}],'updateBorder');break;}case _0x1ac5cb[_0x9df71f(0x2e5)]['id']:{let _0x38079d=_0x34cb7d;_0x132fed(_0x38079d['rule']['ranges']['map'](_0x319b36=>({'range':_0x319b36,'unitId':_0x38079d[_0x9df71f(0x2ae)],'subUnitId':_0x38079d[_0x9df71f(0x3b6)],'showText':_0x9df71f(0x17f)})),'updateBorder');break;}case _0x1ac5cb[_0x9df71f(0x142)]['id']:{let _0x1890d7=_0x34cb7d,_0x1bd64a=this[_0x9df71f(0x335)][_0x9df71f(0x106)](_0x1890d7[_0x9df71f(0x2ae)],_0x1890d7[_0x9df71f(0x3b6)],_0x1890d7[_0x9df71f(0x3ca)]['id']),_0xbcaddb=this[_0x9df71f(0x335)][_0x9df71f(0x106)](_0x1890d7['unitId'],_0x1890d7[_0x9df71f(0x3b6)],_0x1890d7[_0x9df71f(0x172)]['id']);_0x1bd64a&&_0x132fed(_0x1bd64a['ranges'][_0x9df71f(0x129)](_0x41f31f=>({'range':_0x41f31f,'unitId':_0x1890d7[_0x9df71f(0x2ae)],'subUnitId':_0x1890d7[_0x9df71f(0x3b6)],'showText':_0x9df71f(0x248)})),'deleteBorder'),_0xbcaddb&&_0x132fed(_0xbcaddb[_0x9df71f(0x4eb)][_0x9df71f(0x129)](_0x5f10bf=>({'range':_0x5f10bf,'unitId':_0x1890d7[_0x9df71f(0x2ae)],'subUnitId':_0x1890d7['subUnitId'],'showText':'moveCF'})),_0x9df71f(0x111));break;}case _0x1c8fe4[_0x9df71f(0x190)]['id']:{let _0x2e4688=_0x34cb7d;_0x132fed([{'range':_0x2e4688[_0x9df71f(0x3f4)],'unitId':_0x2e4688['unitId'],'subUnitId':_0x2e4688['subUnitId'],'showText':'setFilter'}],_0x9df71f(0x4a8));break;}case _0x1c8fe4[_0x9df71f(0x18f)]['id']:{let _0xf4f660=_0x34cb7d,_0x42a99c=this[_0x9df71f(0x49a)][_0x9df71f(0x339)](_0xf4f660[_0x9df71f(0x2ae)],_0xf4f660['subUnitId']);if(_0x42a99c){let _0x4145ea=_0x42a99c[_0x9df71f(0x1b2)]();_0x132fed(_0x4145ea?[{'range':_0x4145ea,'unitId':_0xf4f660[_0x9df71f(0x2ae)],'subUnitId':_0xf4f660[_0x9df71f(0x3b6)],'showText':_0x9df71f(0x441)}]:[],_0x9df71f(0x4a8));}break;}case _0x1c8fe4[_0x9df71f(0x2b3)]['id']:{let _0x58e5b6=_0x34cb7d,_0x3c1282=this[_0x9df71f(0x49a)][_0x9df71f(0x339)](_0x58e5b6[_0x9df71f(0x2ae)],_0x58e5b6[_0x9df71f(0x3b6)]);if(_0x3c1282){let _0x105705=_0x3c1282[_0x9df71f(0x1b2)]();_0x132fed(_0x105705?[{'range':_0x105705,'unitId':_0x58e5b6['unitId'],'subUnitId':_0x58e5b6[_0x9df71f(0x3b6)],'showText':_0x9df71f(0x12d)}]:[],_0x9df71f(0x4a8));}break;}case _0x1c8fe4[_0x9df71f(0x4fb)]['id']:{let _0x50bce4=_0x34cb7d,_0x21b326=this[_0x9df71f(0x49a)][_0x9df71f(0x339)](_0x50bce4[_0x9df71f(0x2ae)],_0x50bce4[_0x9df71f(0x3b6)]);if(_0x21b326){let _0x36ae90=_0x21b326[_0x9df71f(0x1b2)]();_0x132fed(_0x36ae90?[{'range':_0x36ae90,'unitId':_0x50bce4[_0x9df71f(0x2ae)],'subUnitId':_0x50bce4[_0x9df71f(0x3b6)],'showText':_0x9df71f(0x12d)}]:[],'updateBorder');}break;}case _0x6d8d65['UpdateDataValidationMutation']['id']:{let _0x3ef8ad=_0x34cb7d,_0x313169=this[_0x9df71f(0x125)][_0x9df71f(0x114)](_0x3ef8ad[_0x9df71f(0x2ae)],_0x3ef8ad[_0x9df71f(0x3b6)],_0x3ef8ad[_0x9df71f(0x330)]);_0x313169&&_0x132fed(_0x313169[_0x9df71f(0x4eb)][_0x9df71f(0x129)](_0x4f2b2f=>({'range':_0x4f2b2f,'unitId':_0x3ef8ad[_0x9df71f(0x2ae)],'subUnitId':_0x3ef8ad[_0x9df71f(0x3b6)],'showText':'setDV'})),'updateBorder');break;}case _0x5815f7[_0x9df71f(0x440)]['id']:{let _0x4032f6=_0x34cb7d,_0x53fdb0=_0x4032f6[_0x9df71f(0x2ae)],_0x2293dd=_0x4032f6[_0x9df71f(0x3b6)],_0x214ea4=_0x4032f6[_0x9df71f(0x132)];_0x4032f6['sparklineConfigMap']&&_0x2293dd&&Object['keys'](_0x4032f6['sparklineConfigMap'])[_0x9df71f(0x1ac)](_0x43801f=>{const _0x57024e=_0x9df71f;let _0xb18817=_0x214ea4[_0x43801f];_0x132fed(_0x26160a(_0xb18817[_0x57024e(0x320)])['map'](_0x56991b=>({'range':_0x56991b,'unitId':_0x53fdb0,'subUnitId':_0x2293dd,'showText':'addSparkline'})),_0x57024e(0x1de));});break;}case _0x5815f7[_0x9df71f(0x384)]['id']:{let _0x46b05a=_0x34cb7d;_0x46b05a[_0x9df71f(0x393)]&&_0x46b05a[_0x9df71f(0x393)]['length']>0x0&&_0x46b05a[_0x9df71f(0x3b6)]&&_0x46b05a[_0x9df71f(0x393)][_0x9df71f(0x1ac)](_0x4e13fc=>{const _0x67eba3=_0x9df71f;let _0xf4d107=this['_sparklineDataSourceModel']['getSparklineById'](_0x46b05a[_0x67eba3(0x2ae)],_0x46b05a[_0x67eba3(0x3b6)],_0x4e13fc);_0xf4d107&&_0x132fed(_0x26160a(_0xf4d107[_0x67eba3(0x320)]['getMatrix']())['map'](_0x5ab95e=>({'range':_0x5ab95e,'unitId':_0x46b05a[_0x67eba3(0x2ae)],'subUnitId':_0x46b05a[_0x67eba3(0x3b6)],'showText':_0x67eba3(0x209)})),_0x67eba3(0x4bf));});break;}case _0x5815f7[_0x9df71f(0x2d6)]['id']:{let _0x297034=_0x34cb7d;_0x297034['groupIds']&&_0x297034[_0x9df71f(0x393)]['length']>0x0&&_0x297034[_0x9df71f(0x3b6)]&&_0x297034[_0x9df71f(0x393)][_0x9df71f(0x1ac)](_0x3d7a1c=>{const _0x4298e2=_0x9df71f;let _0x2a7c5c=this[_0x4298e2(0x3f9)][_0x4298e2(0x512)](_0x297034[_0x4298e2(0x2ae)],_0x297034['subUnitId'],_0x3d7a1c);_0x2a7c5c&&_0x132fed(_0x26160a(_0x2a7c5c[_0x4298e2(0x320)][_0x4298e2(0x49c)]())[_0x4298e2(0x129)](_0x2ffedd=>({'range':_0x2ffedd,'unitId':_0x297034[_0x4298e2(0x2ae)],'subUnitId':_0x297034[_0x4298e2(0x3b6)],'showText':_0x4298e2(0x135)})),_0x4298e2(0x211));});break;}case _0x2e4bc4[_0x9df71f(0x216)]['id']:{let _0x355152=_0x34cb7d;_0x355152[_0x9df71f(0x26c)]&&_0x355152['subUnitId']&&_0x132fed([{'range':_0x355152[_0x9df71f(0x3f4)],'unitId':_0x355152[_0x9df71f(0x2ae)],'subUnitId':_0x355152[_0x9df71f(0x3b6)],'showText':_0x9df71f(0x234)}],'insert');break;}case _0x2e4bc4[_0x9df71f(0x2ef)]['id']:{let _0x3d8ade=_0x34cb7d;if(_0x3d8ade['tableId']&&_0x3d8ade[_0x9df71f(0x3b6)]){var _0x328e2a;let _0x1e887e=(_0x328e2a=this[_0x9df71f(0x21c)]['getTableInfo'](_0x3d8ade[_0x9df71f(0x2ae)],_0x3d8ade[_0x9df71f(0x26c)]))==null?void 0x0:_0x328e2a['range'];_0x1e887e&&_0x132fed([{'range':_0x1e887e,'unitId':_0x3d8ade[_0x9df71f(0x2ae)],'subUnitId':_0x3d8ade[_0x9df71f(0x3b6)],'showText':'removeTable'}],_0x9df71f(0x211));}break;}case _0x2e4bc4[_0x9df71f(0x4ed)]['id']:{let _0x344586=_0x34cb7d;if(_0x344586[_0x9df71f(0x26c)]){let _0x5b6fd3=this['_sheetTableService'][_0x9df71f(0x46c)](_0x344586[_0x9df71f(0x2ae)],_0x344586['tableId']);_0x5b6fd3&&_0x5b6fd3['range']&&_0x5b6fd3[_0x9df71f(0x3b6)]&&(_0x56a98e[_0x9df71f(0x2cd)][_0x9df71f(0x338)](_0x5b6fd3['subUnitId']),_0x132fed([{'range':_0x5b6fd3[_0x9df71f(0x3f4)],'unitId':_0x344586[_0x9df71f(0x2ae)],'subUnitId':_0x5b6fd3[_0x9df71f(0x3b6)],'showText':_0x9df71f(0x462)}],'update'));}break;}case _0x2e4bc4[_0x9df71f(0x46d)]['id']:{let _0x43957b=_0x34cb7d;if(_0x43957b[_0x9df71f(0x26c)]&&_0x43957b[_0x9df71f(0x3b6)]){var _0x2c150a;let _0x4e51d2=(_0x2c150a=this[_0x9df71f(0x21c)]['getTableInfo'](_0x43957b[_0x9df71f(0x2ae)],_0x43957b['tableId']))==null?void 0x0:_0x2c150a[_0x9df71f(0x3f4)];_0x4e51d2&&_0x132fed([{'range':_0x4e51d2,'unitId':_0x43957b[_0x9df71f(0x2ae)],'subUnitId':_0x43957b[_0x9df71f(0x3b6)],'showText':_0x9df71f(0x14b)}],_0x9df71f(0x4bf));}break;}case _0x1b8e09[_0x9df71f(0x2ab)]['id']:{let _0x7d9783=_0x34cb7d;if(_0x7d9783[_0x9df71f(0x493)]&&_0x7d9783[_0x9df71f(0x3b6)]){var _0x31d6c4;let _0x308506=(_0x31d6c4=this[_0x9df71f(0x4c7)][_0x9df71f(0x4ec)](_0x7d9783[_0x9df71f(0x2ae)],_0x7d9783['subUnitId'],_0x7d9783[_0x9df71f(0x493)]))==null?void 0x0:_0x31d6c4[_0x9df71f(0x171)];_0x308506&&_0x132fed((0x0,_0x1b8e09[_0x9df71f(0x41f)])(_0x308506)['map'](_0x47c8a7=>({'range':_0x47c8a7,'unitId':_0x7d9783['unitId'],'subUnitId':_0x7d9783[_0x9df71f(0x3b6)],'showText':'addPivotTable'})),'insert');}break;}case _0x1b8e09[_0x9df71f(0x4d4)]['id']:{let _0x22cc92=_0x34cb7d;if(_0x22cc92[_0x9df71f(0x493)]&&_0x22cc92['subUnitId']){var _0x349a7f;let _0x2b4688=(_0x349a7f=this[_0x9df71f(0x4c7)]['getPivotTableRangeInfo'](_0x22cc92[_0x9df71f(0x2ae)],_0x22cc92[_0x9df71f(0x3b6)],_0x22cc92[_0x9df71f(0x493)]))==null?void 0x0:_0x349a7f[_0x9df71f(0x171)];_0x2b4688&&_0x132fed((0x0,_0x1b8e09['unionPivotViewRange'])(_0x2b4688)[_0x9df71f(0x129)](_0x32bf48=>({'range':_0x32bf48,'unitId':_0x22cc92[_0x9df71f(0x2ae)],'subUnitId':_0x22cc92['subUnitId'],'showText':'removePivotTable'})),_0x9df71f(0x211));}break;}case _0x1b8e09['SetPivotOptionMutation']['id']:case _0x1b8e09[_0x9df71f(0x309)]['id']:case _0x1b8e09[_0x9df71f(0x2b5)]['id']:case _0x1b8e09['AddPivotFieldMutation']['id']:case _0x1b8e09[_0x9df71f(0x4df)]['id']:case _0x1b8e09[_0x9df71f(0x2c5)]['id']:case _0x1b8e09[_0x9df71f(0x1ad)]['id']:case _0x1b8e09[_0x9df71f(0x3d0)]['id']:case _0x1b8e09[_0x9df71f(0x3d3)]['id']:case _0x1b8e09[_0x9df71f(0x27b)]['id']:case _0x1b8e09[_0x9df71f(0x482)]['id']:case _0x1b8e09[_0x9df71f(0x489)]['id']:case _0x1b8e09[_0x9df71f(0x294)]['id']:case _0x1b8e09[_0x9df71f(0x2bf)]['id']:case _0x1b8e09[_0x9df71f(0x4a1)]['id']:{let _0x3f14ff=_0x34cb7d,_0x49a9fb=_0x9df71f(0x37f);if(_0x20419c===_0x1b8e09[_0x9df71f(0x4e6)]['id']?_0x49a9fb=_0x9df71f(0x37f):_0x20419c===_0x1b8e09[_0x9df71f(0x309)]['id']?_0x49a9fb=_0x9df71f(0x2c2):_0x20419c===_0x1b8e09[_0x9df71f(0x2b5)]['id']?_0x49a9fb=_0x9df71f(0x228):_0x20419c===_0x1b8e09[_0x9df71f(0x32f)]['id']?_0x49a9fb=_0x9df71f(0x43e):_0x20419c===_0x1b8e09[_0x9df71f(0x4df)]['id']?_0x49a9fb=_0x9df71f(0x30c):_0x20419c===_0x1b8e09[_0x9df71f(0x2c5)]['id']?_0x49a9fb='renamePivotField':_0x20419c===_0x1b8e09[_0x9df71f(0x1ad)]['id']?_0x49a9fb=_0x9df71f(0x420):_0x20419c===_0x1b8e09['UpdateValuePositionMutation']['id']?_0x49a9fb='updateValuePosition':_0x20419c===_0x1b8e09[_0x9df71f(0x3d3)]['id']?_0x49a9fb='updatePivotFieldSource':_0x20419c===_0x1b8e09[_0x9df71f(0x27b)]['id']?_0x49a9fb=_0x9df71f(0x151):_0x20419c===_0x1b8e09[_0x9df71f(0x482)]['id']?_0x49a9fb=_0x9df71f(0x460):_0x20419c===_0x1b8e09[_0x9df71f(0x489)]['id']?_0x49a9fb=_0x9df71f(0x463):_0x20419c===_0x1b8e09[_0x9df71f(0x294)]['id']?_0x49a9fb=_0x9df71f(0x4e3):_0x20419c===_0x1b8e09[_0x9df71f(0x4a1)]['id']?_0x49a9fb=_0x9df71f(0x40e):_0x20419c===_0x1b8e09[_0x9df71f(0x2bf)]['id']&&(_0x49a9fb=_0x9df71f(0x4ab)),_0x3f14ff[_0x9df71f(0x493)]&&_0x3f14ff[_0x9df71f(0x3b6)]){var _0x2432ba;let _0xdd2a5f=(_0x2432ba=this[_0x9df71f(0x4c7)][_0x9df71f(0x4ec)](_0x3f14ff[_0x9df71f(0x2ae)],_0x3f14ff[_0x9df71f(0x3b6)],_0x3f14ff['pivotTableId']))==null?void 0x0:_0x2432ba[_0x9df71f(0x171)];_0xdd2a5f&&_0x132fed((0x0,_0x1b8e09[_0x9df71f(0x41f)])(_0xdd2a5f)[_0x9df71f(0x129)](_0x220301=>({'range':_0x220301,'unitId':_0x3f14ff[_0x9df71f(0x2ae)],'subUnitId':_0x3f14ff[_0x9df71f(0x3b6)],'showText':_0x49a9fb})),_0x9df71f(0x4bf));}break;}case _0x491d5a[_0x9df71f(0x25d)]['id']:{let _0x1d92a8=_0x34cb7d;_0x1d92a8[_0x9df71f(0x383)]&&_0x56a98e[_0x9df71f(0x466)][_0x9df71f(0x338)]({'drawingId':_0x1d92a8[_0x9df71f(0x383)],'unitId':_0x1d92a8[_0x9df71f(0x2ae)],'subUnitId':_0x1d92a8[_0x9df71f(0x3b6)],'showText':_0x5c9451});break;}case _0x491d5a[_0x9df71f(0x40d)]['id']:{let _0x35bd03=_0x34cb7d;_0x35bd03[_0x9df71f(0x383)]&&_0x56a98e[_0x9df71f(0x2e3)]['push']({'drawingId':_0x35bd03[_0x9df71f(0x383)],'unitId':_0x35bd03['unitId'],'subUnitId':_0x35bd03['subUnitId'],'showText':_0x5c9451});break;}case _0x491d5a[_0x9df71f(0x379)]['id']:{let _0x14e854=_0x34cb7d;if(_0x14e854[_0x9df71f(0x4f0)]){let _0x5500ae=this[_0x9df71f(0x34e)][_0x9df71f(0x4d1)](_0x14e854[_0x9df71f(0x2ae)],_0x14e854[_0x9df71f(0x4f0)]);_0x5500ae&&(_0x56a98e['subUnitIds']['push'](_0x5500ae),_0x56a98e[_0x9df71f(0x4f5)]['push']({'drawingId':_0x14e854[_0x9df71f(0x4f0)],'unitId':_0x14e854['unitId'],'subUnitId':_0x5500ae,'showText':_0x5c9451}));}break;}case _0x491d5a[_0x9df71f(0x15e)]['id']:{let _0x2c3afc=_0x34cb7d;if(_0x2c3afc[_0x9df71f(0x4f0)]){let _0x1eb31c=this['_sheetsChartService']['getSubUnitId'](_0x2c3afc[_0x9df71f(0x2ae)],_0x2c3afc['chartModelId']);_0x1eb31c&&(_0x56a98e[_0x9df71f(0x2cd)][_0x9df71f(0x338)](_0x1eb31c),_0x56a98e['updateDrawings']['push']({'drawingId':_0x2c3afc[_0x9df71f(0x4f0)],'unitId':_0x2c3afc[_0x9df71f(0x2ae)],'subUnitId':_0x1eb31c,'showText':_0x5c9451}));}break;}case _0x527e14['InsertSheetsShapeMutation']['id']:{let _0x40d908=_0x34cb7d;_0x40d908[_0x9df71f(0x21e)]&&_0x56a98e[_0x9df71f(0x466)][_0x9df71f(0x338)]({'drawingId':_0x40d908['shapeId'],'unitId':_0x40d908[_0x9df71f(0x2ae)],'subUnitId':_0x40d908[_0x9df71f(0x3b6)],'showText':_0x5c9451});break;}case _0x527e14[_0x9df71f(0x15d)]['id']:{let _0x38eed5=_0x34cb7d;_0x38eed5[_0x9df71f(0x21e)]&&_0x56a98e[_0x9df71f(0x2e3)]['push']({'drawingId':_0x38eed5[_0x9df71f(0x21e)],'unitId':_0x38eed5[_0x9df71f(0x2ae)],'subUnitId':_0x38eed5['subUnitId'],'showText':_0x5c9451});break;}case _0x527e14[_0x9df71f(0x26a)]['id']:case _0x527e14[_0x9df71f(0x2e9)]['id']:{let _0x2a24ca=_0x34cb7d;_0x2a24ca[_0x9df71f(0x21e)]&&_0x56a98e[_0x9df71f(0x4f5)][_0x9df71f(0x338)]({'drawingId':_0x2a24ca['shapeId'],'unitId':_0x2a24ca[_0x9df71f(0x2ae)],'subUnitId':_0x2a24ca['subUnitId'],'showText':_0x5c9451});break;}case _0x21a923[_0x9df71f(0x2bd)]['id']:{let _0x2fbc99=_0x34cb7d,_0x1d5417=_0x2fbc99[_0x9df71f(0x28c)],_0x49a325=_0x2fbc99['type'],_0x58b6f7=_0x49a325!==_0x21a923[_0x9df71f(0x2f2)][_0x9df71f(0x431)]&&_0x49a325!==_0x21a923[_0x9df71f(0x2f2)][_0x9df71f(0x2fe)],_0xff201=_0x49a325===_0x21a923['DrawingApplyType'][_0x9df71f(0x431)],_0x47a5a2=_0x49a325===_0x21a923['DrawingApplyType'][_0x9df71f(0x2fe)],_0xbcd86c=_0x5c9451;if(_0x49a325===_0x21a923[_0x9df71f(0x2f2)]['INSERT']?_0xbcd86c=this[_0x9df71f(0x266)]['t'](_0x9df71f(0x503)):_0x49a325===_0x21a923[_0x9df71f(0x2f2)][_0x9df71f(0x2fe)]&&(_0xbcd86c=this['_localeService']['t'](_0x9df71f(0x119))),Array[_0x9df71f(0x181)](_0x1d5417))_0x1d5417[_0x9df71f(0x1ac)](_0x5ab0a1=>{const _0x14ed38=_0x9df71f;if(_0x14ed38(0x402)in _0x5ab0a1&&_0x5ab0a1[_0x14ed38(0x402)])_0x58b6f7?_0x56a98e['updateDrawings']['push']({'drawingId':_0x5ab0a1[_0x14ed38(0x402)],'unitId':_0x2fbc99[_0x14ed38(0x2ae)],'subUnitId':_0x2fbc99[_0x14ed38(0x3b6)],'showText':_0xbcd86c}):_0xff201?_0x56a98e[_0x14ed38(0x466)][_0x14ed38(0x338)]({'drawingId':_0x5ab0a1[_0x14ed38(0x402)],'unitId':_0x2fbc99[_0x14ed38(0x2ae)],'subUnitId':_0x2fbc99[_0x14ed38(0x3b6)],'showText':_0xbcd86c}):_0x47a5a2&&_0x56a98e[_0x14ed38(0x2e3)][_0x14ed38(0x338)]({'drawingId':_0x5ab0a1[_0x14ed38(0x402)],'unitId':_0x2fbc99[_0x14ed38(0x2ae)],'subUnitId':_0x2fbc99[_0x14ed38(0x3b6)],'showText':_0xbcd86c});else{if(_0x14ed38(0x2fc)in _0x5ab0a1&&_0x14ed38(0x3be)in _0x5ab0a1){var _0x591ebc,_0x5cc7fd;(_0x591ebc=_0x5ab0a1[_0x14ed38(0x2fc)])!=null&&_0x591ebc[_0x14ed38(0x402)]&&(_0x58b6f7?_0x56a98e['updateDrawings']['push']({'drawingId':_0x5ab0a1['parent']['drawingId'],'unitId':_0x2fbc99[_0x14ed38(0x2ae)],'subUnitId':_0x2fbc99['subUnitId'],'showText':_0xbcd86c}):_0xff201?_0x56a98e[_0x14ed38(0x466)][_0x14ed38(0x338)]({'drawingId':_0x5ab0a1[_0x14ed38(0x2fc)]['drawingId'],'unitId':_0x2fbc99[_0x14ed38(0x2ae)],'subUnitId':_0x2fbc99[_0x14ed38(0x3b6)],'showText':_0xbcd86c}):_0x47a5a2&&_0x56a98e[_0x14ed38(0x2e3)]['push']({'drawingId':_0x5ab0a1[_0x14ed38(0x2fc)][_0x14ed38(0x402)],'unitId':_0x2fbc99[_0x14ed38(0x2ae)],'subUnitId':_0x2fbc99[_0x14ed38(0x3b6)],'showText':_0xbcd86c})),(_0x5cc7fd=_0x5ab0a1['children'])==null||_0x5cc7fd[_0x14ed38(0x1ac)](_0x4b8c42=>{const _0x3dc80e=_0x14ed38;_0x4b8c42['drawingId']&&(_0x58b6f7?_0x56a98e[_0x3dc80e(0x4f5)][_0x3dc80e(0x338)]({'drawingId':_0x4b8c42[_0x3dc80e(0x402)],'unitId':_0x2fbc99['unitId'],'subUnitId':_0x2fbc99[_0x3dc80e(0x3b6)],'showText':_0xbcd86c}):_0xff201?_0x56a98e[_0x3dc80e(0x466)][_0x3dc80e(0x338)]({'drawingId':_0x4b8c42[_0x3dc80e(0x402)],'unitId':_0x2fbc99['unitId'],'subUnitId':_0x2fbc99[_0x3dc80e(0x3b6)],'showText':_0xbcd86c}):_0x47a5a2&&_0x56a98e['deleteDrawings'][_0x3dc80e(0x338)]({'drawingId':_0x4b8c42[_0x3dc80e(0x402)],'unitId':_0x2fbc99[_0x3dc80e(0x2ae)],'subUnitId':_0x2fbc99[_0x3dc80e(0x3b6)],'showText':_0xbcd86c}));});}}});else{if(_0x1d5417&&typeof _0x1d5417==_0x9df71f(0x458)){if(_0x9df71f(0x48f)in _0x1d5417&&Array[_0x9df71f(0x181)](_0x1d5417[_0x9df71f(0x48f)]))_0x1d5417['drawingIds'][_0x9df71f(0x1ac)](_0x4c0d4c=>{const _0x244bac=_0x9df71f;_0x58b6f7?_0x56a98e[_0x244bac(0x4f5)][_0x244bac(0x338)]({'drawingId':_0x4c0d4c,'unitId':_0x2fbc99[_0x244bac(0x2ae)],'subUnitId':_0x2fbc99[_0x244bac(0x3b6)],'showText':_0xbcd86c}):_0xff201?_0x56a98e['insertDrawings'][_0x244bac(0x338)]({'drawingId':_0x4c0d4c,'unitId':_0x2fbc99[_0x244bac(0x2ae)],'subUnitId':_0x2fbc99[_0x244bac(0x3b6)],'showText':_0xbcd86c}):_0x47a5a2&&_0x56a98e[_0x244bac(0x2e3)][_0x244bac(0x338)]({'drawingId':_0x4c0d4c,'unitId':_0x2fbc99['unitId'],'subUnitId':_0x2fbc99['subUnitId'],'showText':_0xbcd86c});});else{if(_0x9df71f(0x2fc)in _0x1d5417&&'children'in _0x1d5417){var _0x5b7868,_0x12d578;(_0x5b7868=_0x1d5417['parent'])!=null&&_0x5b7868[_0x9df71f(0x402)]&&(_0x58b6f7?_0x56a98e[_0x9df71f(0x4f5)]['push']({'drawingId':_0x1d5417[_0x9df71f(0x2fc)][_0x9df71f(0x402)],'unitId':_0x2fbc99[_0x9df71f(0x2ae)],'subUnitId':_0x2fbc99[_0x9df71f(0x3b6)],'showText':_0xbcd86c}):_0xff201?_0x56a98e[_0x9df71f(0x466)]['push']({'drawingId':_0x1d5417[_0x9df71f(0x2fc)][_0x9df71f(0x402)],'unitId':_0x2fbc99[_0x9df71f(0x2ae)],'subUnitId':_0x2fbc99[_0x9df71f(0x3b6)],'showText':_0xbcd86c}):_0x47a5a2&&_0x56a98e['deleteDrawings'][_0x9df71f(0x338)]({'drawingId':_0x1d5417[_0x9df71f(0x2fc)][_0x9df71f(0x402)],'unitId':_0x2fbc99[_0x9df71f(0x2ae)],'subUnitId':_0x2fbc99[_0x9df71f(0x3b6)],'showText':_0xbcd86c})),(_0x12d578=_0x1d5417[_0x9df71f(0x3be)])==null||_0x12d578[_0x9df71f(0x1ac)](_0x5fd87e=>{const _0x571543=_0x9df71f;_0x5fd87e[_0x571543(0x402)]&&(_0x58b6f7?_0x56a98e[_0x571543(0x4f5)][_0x571543(0x338)]({'drawingId':_0x5fd87e['drawingId'],'unitId':_0x2fbc99[_0x571543(0x2ae)],'subUnitId':_0x2fbc99[_0x571543(0x3b6)],'showText':_0xbcd86c}):_0xff201?_0x56a98e[_0x571543(0x466)][_0x571543(0x338)]({'drawingId':_0x5fd87e[_0x571543(0x402)],'unitId':_0x2fbc99[_0x571543(0x2ae)],'subUnitId':_0x2fbc99[_0x571543(0x3b6)],'showText':_0xbcd86c}):_0x47a5a2&&_0x56a98e[_0x571543(0x2e3)][_0x571543(0x338)]({'drawingId':_0x5fd87e[_0x571543(0x402)],'unitId':_0x2fbc99[_0x571543(0x2ae)],'subUnitId':_0x2fbc99['subUnitId'],'showText':_0xbcd86c}));});}}}}break;}}return _0x56a98e;}[_0x1ffeb0(0x149)](_0x3eb931){const _0x5c1c2a=_0x1ffeb0;if(_0x3eb931[_0x5c1c2a(0x34a)]<=0x1)return _0x3eb931;let _0x54bb03=new Map();return _0x3eb931[_0x5c1c2a(0x1ac)](_0x9a7252=>{const _0x40d688=_0x5c1c2a;let {unitId:_0xad2822,subUnitId:_0x5e2022}=_0x9a7252,_0x3d9324=_0xad2822+'-'+_0x5e2022;if(!_0x54bb03[_0x40d688(0x417)](_0x3d9324))_0x54bb03[_0x40d688(0x362)](_0x3d9324,[_0x9a7252]);else{var _0x2496f1;(_0x2496f1=_0x54bb03['get'](_0x3d9324))==null||_0x2496f1[_0x40d688(0x338)](_0x9a7252);}}),Array['from'](_0x54bb03[_0x5c1c2a(0x450)]())['map'](_0x4b586a=>new _0xefe5da[(_0x5c1c2a(0x13b))]()[_0x5c1c2a(0x161)](..._0x4b586a[_0x5c1c2a(0x129)](_0x160bda=>_0x160bda[_0x5c1c2a(0x3f4)]))['merge']()[_0x5c1c2a(0x129)](_0x58cd96=>({'range':_0x58cd96,'unitId':_0x4b586a[0x0][_0x5c1c2a(0x2ae)],'subUnitId':_0x4b586a[0x0]['subUnitId'],'showText':_0x4b586a[0x0]['showText'],'highlightRow':_0x4b586a[0x0][_0x5c1c2a(0x1e9)],'highlightColumn':_0x4b586a[0x0][_0x5c1c2a(0x2a9)]})))['flat']();}};_0x38c36b=_0x1b1300([_0x181878(0x0,(0x0,_0x5d0897[_0x1ffeb0(0x24f)])(_0x12879d)),_0x181878(0x1,_0x4a325b[_0x1ffeb0(0x25a)]),_0x181878(0x2,_0x4a325b[_0x1ffeb0(0x1e4)]),_0x181878(0x3,(0x0,_0x5d0897[_0x1ffeb0(0x24f)])(_0xefe5da['RangeProtectionRuleModel'])),_0x181878(0x4,(0x0,_0x5d0897[_0x1ffeb0(0x24f)])(_0x1ac5cb[_0x1ffeb0(0x3fb)])),_0x181878(0x5,(0x0,_0x5d0897[_0x1ffeb0(0x24f)])(_0x14da9e['SheetDataValidationModel'])),_0x181878(0x6,(0x0,_0x5d0897[_0x1ffeb0(0x24f)])(_0x1c8fe4[_0x1ffeb0(0x429)])),_0x181878(0x7,(0x0,_0x5d0897[_0x1ffeb0(0x24f)])(_0x5815f7[_0x1ffeb0(0x468)])),_0x181878(0x8,(0x0,_0x5d0897[_0x1ffeb0(0x24f)])(_0x1b8e09[_0x1ffeb0(0x23f)])),_0x181878(0x9,(0x0,_0x5d0897[_0x1ffeb0(0x24f)])(_0x2e4bc4[_0x1ffeb0(0x1bd)])),_0x181878(0xa,(0x0,_0x5d0897[_0x1ffeb0(0x24f)])(_0x5d0897[_0x1ffeb0(0x422)])),_0x181878(0xb,(0x0,_0x5d0897['Inject'])(_0x491d5a[_0x1ffeb0(0x138)])),_0x181878(0xc,(0x0,_0x5d0897['Inject'])(_0xfc0886))],_0x38c36b);function _0x826d8d(_0x357364){const _0x5b20a2=_0x1ffeb0;return new _0x5d0897[(_0x5b20a2(0x1d2))](_0x357364)[_0x5b20a2(0x3fd)]();}function _0x26160a(_0x32179c){const _0x26ece6=_0x1ffeb0;let _0x291fbc=new _0x5d0897['ObjectMatrix'](_0x32179c),_0x2b39e9=new _0x5d0897[(_0x26ece6(0x1d2))]();return _0x291fbc[_0x26ece6(0x471)]((_0x3ec581,_0x75ec53)=>{const _0x319ae5=_0x26ece6;_0x2b39e9[_0x319ae5(0x11e)](_0x3ec581,_0x75ec53,0x1);}),(0x0,_0xefe5da[_0x26ece6(0x256)])(_0x2b39e9);}var _0x4d5258=class extends _0x28b2d4[_0x1ffeb0(0x4fe)]{constructor(_0x3fca51,_0x53634d){const _0x4253e7=_0x1ffeb0;if(super(_0x3fca51,_0x53634d),_0xefc1c8(this,_0x4253e7(0x1af),void 0x0),_0xefc1c8(this,_0x4253e7(0x1a7),void 0x0),_0xefc1c8(this,_0x4253e7(0x388),void 0x0),_0xefc1c8(this,_0x4253e7(0x201),0x4),_0xefc1c8(this,_0x4253e7(0x1d6),void 0x0),_0xefc1c8(this,'_blinkIntervalTimer',void 0x0),_0xefc1c8(this,'_isBlinkVisible',!0x0),_0xefc1c8(this,_0x4253e7(0x230),''),_0xefc1c8(this,_0x4253e7(0x166),!0x1),_0xefc1c8(this,_0x4253e7(0x477),_0x4253e7(0x3f1)),_0xefc1c8(this,_0x4253e7(0x28f),void 0x0),_0x53634d){var _0x5e79a5;if(this['setShapeProps'](_0x53634d),_0x53634d[_0x4253e7(0x261)]&&((_0x5e79a5=_0x53634d[_0x4253e7(0x33f)])==null?this[_0x4253e7(0x201)]:_0x5e79a5)){var _0x7c1654;this['_startBlinking']((_0x7c1654=_0x53634d[_0x4253e7(0x33f)])==null?this['_highlightSecond']:_0x7c1654);}}this['onPointerEnter$']['subscribeEvent'](()=>this[_0x4253e7(0x281)]({'hovered':!0x0})),this[_0x4253e7(0x297)][_0x4253e7(0x1ba)](()=>this['setShapeProps']({'hovered':!0x1}));}[_0x1ffeb0(0x281)](_0xfc1b51){const _0x3176d8=_0x1ffeb0;var _0x190829,_0x57d7e1,_0x51478f,_0xea8a3c,_0x1a49ff,_0x19dd06;this[_0x3176d8(0x1af)]=(_0x190829=_0xfc1b51[_0x3176d8(0x415)])==null?this[_0x3176d8(0x1af)]:_0x190829,this['_direction']=(_0x57d7e1=_0xfc1b51[_0x3176d8(0x1e0)])==null?this['_direction']:_0x57d7e1,this[_0x3176d8(0x230)]=(_0x51478f=_0xfc1b51[_0x3176d8(0x203)])==null?this[_0x3176d8(0x230)]:_0x51478f,this[_0x3176d8(0x166)]=(_0xea8a3c=_0xfc1b51[_0x3176d8(0x2ec)])==null?this[_0x3176d8(0x166)]:_0xea8a3c,this[_0x3176d8(0x477)]=(_0x1a49ff=_0xfc1b51[_0x3176d8(0x3ff)])==null?this['_labelPosition']:_0x1a49ff,this[_0x3176d8(0x28f)]=(_0x19dd06=_0xfc1b51['showText'])==null?this['_showText']:_0x19dd06,_0xfc1b51[_0x3176d8(0x33f)]!==void 0x0&&(this[_0x3176d8(0x201)]=_0xfc1b51[_0x3176d8(0x33f)]),_0xfc1b51[_0x3176d8(0x261)]!==void 0x0&&(this[_0x3176d8(0x388)]=_0xfc1b51[_0x3176d8(0x261)]),this[_0x3176d8(0x42c)]({'width':_0xfc1b51[_0x3176d8(0x2f8)],'height':_0xfc1b51['height']});}['_startBlinking'](_0x36ef18){const _0x49bed3=_0x1ffeb0;this[_0x49bed3(0x175)](),this['_isBlinkVisible']=!0x0,this[_0x49bed3(0x389)]=window[_0x49bed3(0x413)](()=>{const _0x3ef987=_0x49bed3;this[_0x3ef987(0x107)]=!this[_0x3ef987(0x107)],this['makeDirty'](!0x0);},0x1f4),this['_blinkTimer']=window[_0x49bed3(0x168)](()=>{const _0x58f636=_0x49bed3;this[_0x58f636(0x175)](),this[_0x58f636(0x107)]=!0x0,this['makeDirty'](!0x0);},_0x36ef18*0x3e8);}[_0x1ffeb0(0x175)](){const _0x2c01b9=_0x1ffeb0;this['_blinkIntervalTimer']&&(window[_0x2c01b9(0x154)](this[_0x2c01b9(0x389)]),this['_blinkIntervalTimer']=void 0x0),this[_0x2c01b9(0x1d6)]&&(window[_0x2c01b9(0x173)](this['_blinkTimer']),this[_0x2c01b9(0x1d6)]=void 0x0);}[_0x1ffeb0(0x1e1)](_0x78ac63){return!0x1;}[_0x1ffeb0(0x4f4)](){const _0x10e0b3=_0x1ffeb0;this[_0x10e0b3(0x175)](),super[_0x10e0b3(0x4f4)]();}['_draw'](_0x263f82){const _0x2dbe90=_0x1ffeb0;let _0x3cf63e=this[_0x2dbe90(0x1af)];this[_0x2dbe90(0x388)]&&!this[_0x2dbe90(0x107)]&&(_0x3cf63e=this[_0x2dbe90(0x4e0)](this['_color'])),_0x263f82['save'](),_0x263f82[_0x2dbe90(0x472)]=_0x3cf63e,_0x263f82[_0x2dbe90(0x3ee)]=_0x3cf63e,_0x263f82[_0x2dbe90(0x50c)]=0x4,this[_0x2dbe90(0x1a7)]===_0x2dbe90(0x4f9)?this['_drawHorizontalArrow'](_0x263f82):this[_0x2dbe90(0x273)](_0x263f82),_0x263f82['restore'](),(this[_0x2dbe90(0x166)]||this[_0x2dbe90(0x28f)])&&this[_0x2dbe90(0x230)]&&(_0x263f82['save'](),this[_0x2dbe90(0x1a7)]==='horizontal'?_0x263f82['transform'](0x1,0x0,0x0,0x1,this[_0x2dbe90(0x2f8)],this[_0x2dbe90(0x477)]==='bottom'?0x0:-0x14):_0x263f82[_0x2dbe90(0x1f2)](0x1,0x0,0x0,0x1,this[_0x2dbe90(0x2f8)],this[_0x2dbe90(0x477)]===_0x2dbe90(0x48d)?this['height']:-0x14),this[_0x2dbe90(0x50f)](_0x263f82,this['_name'],_0x3cf63e),_0x263f82['restore']());}[_0x1ffeb0(0x397)](_0x1d9b23){const _0xaf34f0=_0x1ffeb0;let _0x42c567=this[_0xaf34f0(0x229)]/0x2,_0x45e555=this[_0xaf34f0(0x2f8)]-0xc;_0x1d9b23['beginPath'](),_0x1d9b23[_0xaf34f0(0x146)](0xc,_0x42c567),_0x1d9b23[_0xaf34f0(0x30f)](_0x45e555,_0x42c567),_0x1d9b23[_0xaf34f0(0x488)](),_0x1d9b23['beginPath'](),_0x1d9b23[_0xaf34f0(0x146)](0x0,_0x42c567),_0x1d9b23['lineTo'](0xc,_0x42c567-0xc/0x2),_0x1d9b23['lineTo'](0xc,_0x42c567+0xc/0x2),_0x1d9b23[_0xaf34f0(0x22f)](),_0x1d9b23[_0xaf34f0(0x2ff)](),_0x1d9b23[_0xaf34f0(0x27d)](),_0x1d9b23['moveTo'](this[_0xaf34f0(0x2f8)],_0x42c567),_0x1d9b23[_0xaf34f0(0x30f)](this['width']-0xc,_0x42c567-0xc/0x2),_0x1d9b23[_0xaf34f0(0x30f)](this['width']-0xc,_0x42c567+0xc/0x2),_0x1d9b23[_0xaf34f0(0x22f)](),_0x1d9b23[_0xaf34f0(0x2ff)]();}['_drawVerticalArrow'](_0xc7c997){const _0x3f81a9=_0x1ffeb0;let _0x4389ec=this['width']/0x2,_0x1b8d9b=this[_0x3f81a9(0x229)]-0xc;_0xc7c997[_0x3f81a9(0x27d)](),_0xc7c997[_0x3f81a9(0x146)](_0x4389ec,0xc),_0xc7c997[_0x3f81a9(0x30f)](_0x4389ec,_0x1b8d9b),_0xc7c997[_0x3f81a9(0x488)](),_0xc7c997[_0x3f81a9(0x27d)](),_0xc7c997[_0x3f81a9(0x146)](_0x4389ec,0x0),_0xc7c997[_0x3f81a9(0x30f)](_0x4389ec-0xc/0x2,0xc),_0xc7c997[_0x3f81a9(0x30f)](_0x4389ec+0xc/0x2,0xc),_0xc7c997[_0x3f81a9(0x22f)](),_0xc7c997[_0x3f81a9(0x2ff)](),_0xc7c997[_0x3f81a9(0x27d)](),_0xc7c997[_0x3f81a9(0x146)](_0x4389ec,this[_0x3f81a9(0x229)]),_0xc7c997[_0x3f81a9(0x30f)](_0x4389ec-0xc/0x2,this['height']-0xc),_0xc7c997['lineTo'](_0x4389ec+0xc/0x2,this[_0x3f81a9(0x229)]-0xc),_0xc7c997[_0x3f81a9(0x22f)](),_0xc7c997[_0x3f81a9(0x2ff)]();}[_0x1ffeb0(0x50f)](_0x49c42a,_0x27e94c,_0x188579){const _0x56fb3d=_0x1ffeb0;_0x49c42a[_0x56fb3d(0x20d)]=_0x56fb3d(0x34c);let _0x11ecdf=_0x49c42a['measureText'](_0x27e94c)['width'],_0x4e0872=Math[_0x56fb3d(0x2b6)](_0x11ecdf+0x8,0xc8);if(_0x49c42a[_0x56fb3d(0x3ee)]=_0x188579,_0x49c42a[_0x56fb3d(0x27d)](),_0x49c42a['moveTo'](0x4,0x0),_0x49c42a['lineTo'](_0x4e0872-0x4,0x0),_0x49c42a[_0x56fb3d(0x287)](_0x4e0872-0x4,0x4,0x4,Math['PI']*0x3/0x2,0x0,!0x1),_0x49c42a['lineTo'](_0x4e0872,0x10),_0x49c42a[_0x56fb3d(0x287)](_0x4e0872-0x4,0x10,0x4,0x0,Math['PI']/0x2,!0x1),_0x49c42a['lineTo'](0x0,0x14),_0x49c42a[_0x56fb3d(0x30f)](0x0,0x4),_0x49c42a[_0x56fb3d(0x287)](0x4,0x4,0x4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x49c42a[_0x56fb3d(0x22f)](),_0x49c42a['fill'](),_0x49c42a[_0x56fb3d(0x3ee)]=_0x56fb3d(0x506),_0x11ecdf>0xc0){let _0x263957='',_0x2c2b15=0x0;for(let _0x3b4934 of _0x27e94c){let _0x419794=_0x49c42a['measureText'](_0x3b4934)[_0x56fb3d(0x2f8)];if(_0x2c2b15+_0x419794<=0xc0-_0x49c42a[_0x56fb3d(0x3e3)](_0x56fb3d(0x497))[_0x56fb3d(0x2f8)])_0x263957+=_0x3b4934,_0x2c2b15+=_0x419794;else{_0x263957+=_0x56fb3d(0x497);break;}}_0x49c42a[_0x56fb3d(0x222)](_0x263957,0x4,0xf);}else _0x49c42a[_0x56fb3d(0x222)](_0x27e94c,0x4,0xf);}[_0x1ffeb0(0x4e0)](_0x590e9b){const _0x2a4007=_0x1ffeb0;return _0x590e9b[_0x2a4007(0x1ec)]('#')?_0x2a4007(0x38c)+Number[_0x2a4007(0x212)](_0x590e9b[_0x2a4007(0x4e5)](0x1,0x3),0x10)+',\x20'+Number[_0x2a4007(0x212)](_0x590e9b[_0x2a4007(0x4e5)](0x3,0x5),0x10)+',\x20'+Number['parseInt'](_0x590e9b['slice'](0x5,0x7),0x10)+_0x2a4007(0x373):_0x590e9b[_0x2a4007(0x1ec)]('rgba')?_0x590e9b[_0x2a4007(0x121)](/[\d.]+\)$/g,_0x2a4007(0x408)):_0x590e9b['startsWith'](_0x2a4007(0x2ac))?_0x590e9b[_0x2a4007(0x121)](_0x2a4007(0x2ac),'rgba')[_0x2a4007(0x121)](')',',\x200.2)'):_0x590e9b;}};let _0x1924fa=class extends _0x5d0897[_0x1ffeb0(0x2ed)]{constructor(_0x51f26a,_0x30e67e,_0x4267a1,_0x575311,_0x17fc73,_0x250cca,_0x32e132,_0x2eb792){const _0x4886ea=_0x1ffeb0;super(),this['_context']=_0x51f26a,this[_0x4886ea(0x1dd)]=_0x30e67e,this[_0x4886ea(0x2cb)]=_0x4267a1,this[_0x4886ea(0x4b9)]=_0x575311,this[_0x4886ea(0x3fc)]=_0x17fc73,this[_0x4886ea(0x241)]=_0x250cca,this[_0x4886ea(0x43f)]=_0x32e132,this['_drawingManagerService']=_0x2eb792,_0xefc1c8(this,_0x4886ea(0x44d),new Set()),_0xefc1c8(this,'_borderDiffs',new Set()),_0xefc1c8(this,_0x4886ea(0x247),new Set()),_0xefc1c8(this,_0x4886ea(0x4b6),new Set()),_0xefc1c8(this,_0x4886ea(0x2e6),null),this[_0x4886ea(0x3f3)]();}[_0x1ffeb0(0x3f3)](){const _0x13f170=_0x1ffeb0;this[_0x13f170(0x196)](),this[_0x13f170(0x464)]();}['_initRender'](){const _0x22ff6a=_0x1ffeb0;this[_0x22ff6a(0x45c)]((0x0,_0x8c4748['combineLatest'])([this[_0x22ff6a(0x1dd)][_0x22ff6a(0x34d)],this['_sheetSkeletonManagerService'][_0x22ff6a(0x2b9)]])[_0x22ff6a(0x242)]((0x0,_0x8c4748[_0x22ff6a(0x2ca)])(([_0x4f91a1,_0x2a3023])=>{const _0xd5598d=_0x22ff6a;if(_0x4f91a1===_0xda04f2[_0xd5598d(0x475)]&&_0x2a3023){let _0x32c705=_0x2a3023['sheetId'];return this[_0xd5598d(0x2cb)][_0xd5598d(0x490)][_0xd5598d(0x242)]((0x0,_0x8c4748[_0xd5598d(0x129)])(_0x261b99=>_0x261b99['subUnitIds'][_0xd5598d(0x34a)]===0x0||_0x261b99[_0xd5598d(0x2cd)][_0xd5598d(0x169)](_0x32c705)?{'skeleton':_0x2a3023,'versionDiff':_0x261b99,'sheetID':_0x32c705}:{'skeleton':_0x2a3023,'versionDiff':null}));}return(0x0,_0x8c4748['of'])({'skeleton':null,'versionDiff':null,'sheetID':null});}))[_0x22ff6a(0x3da)](({skeleton:_0x323776,versionDiff:_0x256ed3,sheetID:_0x101941})=>{const _0x1725b5=_0x22ff6a;this[_0x1725b5(0x176)](),_0x323776&&_0x256ed3&&_0x101941&&this[_0x1725b5(0x1c7)](_0x323776,_0x256ed3,_0x101941);})),this[_0x22ff6a(0x45c)](this['_sheetSkeletonManagerService'][_0x22ff6a(0x2b9)][_0x22ff6a(0x3da)](_0xca50e0=>{const _0x446eb7=_0x22ff6a;if(_0xca50e0==null)return;let {skeleton:_0xf16ae2}=_0xca50e0,{scene:_0x327bb9}=this[_0x446eb7(0x109)];_0x327bb9[_0x446eb7(0x333)][_0x446eb7(0x1ba)]((0x0,_0x5d0897['debounce'])(_0x3315f8=>{const _0x10ab26=_0x446eb7;var _0xa065d1,_0x57f0d3;let {offsetX:_0x930ef,offsetY:_0x4ffa53}=_0x3315f8,{x:_0x55653d,y:_0xde14b0}=_0x327bb9[_0x10ab26(0x180)](_0x28b2d4[_0x10ab26(0x193)][_0x10ab26(0x218)]([_0x930ef,_0x4ffa53])),{scaleX:_0x3630f0,scaleY:_0x1c06e0}=_0x327bb9['getAncestorScale'](),_0x4bc733=_0x327bb9[_0x10ab26(0x112)](_0x28b2d4[_0x10ab26(0x2b1)]['VIEW_MAIN']),_0x2716b6=_0x327bb9[_0x10ab26(0x2f0)](_0x28b2d4[_0x10ab26(0x193)][_0x10ab26(0x218)]([_0x55653d,_0xde14b0]),_0x4bc733),_0x3cb99f=_0xf16ae2[_0x10ab26(0x29c)](_0x930ef,_0x4ffa53,_0x3630f0,_0x1c06e0,_0x2716b6);((_0xa065d1=this['_lastPointer'])==null?void 0x0:_0xa065d1[_0x10ab26(0x3ce)])===_0x3cb99f[_0x10ab26(0x3ce)]&&((_0x57f0d3=this[_0x10ab26(0x2e6)])==null?void 0x0:_0x57f0d3['row'])===_0x3cb99f[_0x10ab26(0x136)]||this['_diffs'][_0x10ab26(0x1ac)](_0x36f9d9=>{const _0x5f256f=_0x10ab26;_0x36f9d9[_0x5f256f(0x4ce)]||_0x36f9d9['onMouseMove'](_0x3cb99f);});},0x64));}));}['_initActiveSwitch'](){const _0xaacc31=_0x1ffeb0;this[_0xaacc31(0x45c)](this[_0xaacc31(0x1dd)][_0xaacc31(0x34d)]['subscribe'](_0x38de27=>{const _0x3b41c4=_0xaacc31;let _0x47aa39=new _0x5d0897[(_0x3b41c4(0x296))]();return _0x38de27===_0xda04f2['Loaded']&&(_0x47aa39[_0x3b41c4(0x4f4)](),_0x47aa39['add'](this[_0x3b41c4(0x2cb)][_0x3b41c4(0x490)][_0x3b41c4(0x3da)](_0x3bf321=>{const _0x18d8cb=_0x3b41c4;this[_0x18d8cb(0x4e9)](_0x3bf321[_0x18d8cb(0x2cd)]),_0x3bf321[_0x18d8cb(0x24d)]&&this[_0x18d8cb(0x43f)][_0x18d8cb(0x183)](_0xefe5da['SetWorksheetActiveOperation']['id'],{'unitId':this[_0x18d8cb(0x109)][_0x18d8cb(0x2ae)],'subUnitId':_0x3bf321[_0x18d8cb(0x24d)]});}))),()=>_0x47aa39[_0x3b41c4(0x4f4)]();}));}[_0x1ffeb0(0x4e9)](_0x265617){const _0x3bb13f=_0x1ffeb0;let _0x4ade36=this['_univerInstanceService'][_0x3bb13f(0x30a)](this[_0x3bb13f(0x109)][_0x3bb13f(0x2ae)],_0x5d0897[_0x3bb13f(0x3b2)][_0x3bb13f(0x17b)]);if(!_0x4ade36)return;let _0x472e77=_0x4ade36[_0x3bb13f(0x170)]();if(_0x265617[_0x3bb13f(0x34a)]===0x0){_0x472e77[_0x3bb13f(0x1ac)](_0x33e919=>{const _0x3678a7=_0x3bb13f;_0x33e919[_0x3678a7(0x2fd)]()&&this[_0x3678a7(0x43f)][_0x3678a7(0x183)](_0xefe5da[_0x3678a7(0x16d)]['id'],{'unitId':this[_0x3678a7(0x109)][_0x3678a7(0x2ae)],'subUnitId':_0x33e919[_0x3678a7(0x348)](),'hidden':0x0});});return;}_0x472e77['forEach'](_0x4b8db7=>{const _0x24dec3=_0x3bb13f;let _0x236b1e=_0x4b8db7[_0x24dec3(0x348)](),_0x159f64=_0x265617['includes'](_0x236b1e),_0x581bd1=_0x4b8db7[_0x24dec3(0x2fd)]();_0x159f64&&_0x581bd1?this[_0x24dec3(0x43f)]['executeCommand'](_0xefe5da[_0x24dec3(0x16d)]['id'],{'unitId':this[_0x24dec3(0x109)][_0x24dec3(0x2ae)],'subUnitId':_0x236b1e,'hidden':0x0}):!_0x159f64&&!_0x581bd1&&this['_commandService'][_0x24dec3(0x183)](_0xefe5da['SetWorksheetHideMutation']['id'],{'unitId':this[_0x24dec3(0x109)][_0x24dec3(0x2ae)],'subUnitId':_0x236b1e,'hidden':0x1});});}[_0x1ffeb0(0x1c7)](_0x150533,_0x24fb2b,_0x2f3e30){const _0x21439c=_0x1ffeb0;this[_0x21439c(0x44d)][_0x21439c(0x1ac)](_0x350b09=>{_0x350b09['makeDirty']();});let _0xd57175=this[_0x21439c(0x1a8)](_0x24fb2b,_0x2f3e30);this[_0x21439c(0x44d)]=new Set(_0xd57175[_0x21439c(0x4e7)](_0x102472=>_0x102472 instanceof _0xc6611a[_0x21439c(0x2d7)])),this[_0x21439c(0x396)]=new Set(_0xd57175[_0x21439c(0x4e7)](_0x51250d=>_0x51250d instanceof _0x28b2d4[_0x21439c(0x302)])),this[_0x21439c(0x247)]=new Set(_0xd57175[_0x21439c(0x4e7)](_0x5ed6c5=>_0x5ed6c5 instanceof _0x4d5258)),_0xd57175[_0x21439c(0x34a)]>0x0&&this[_0x21439c(0x108)](_0xd57175[0x0],this[_0x21439c(0x109)][_0x21439c(0x500)]);}['generateDiffMarks'](_0x50599e,_0x29ee35){const _0x21c57d=_0x1ffeb0;let _0xe89dce=this['_sheetSkeletonManagerService']['getCurrentSkeleton']();if(!_0xe89dce)return[];let {scene:_0x5145eb}=this[_0x21c57d(0x109)],_0x2b78be=[],_0x5ce970=_0x2f9b41=>{if(!_0x2f9b41)return new Map();let _0x3104e7=new Map();return _0x2f9b41['forEach']((_0x3e9151,_0x2df3a4)=>{const _0x2cce9c=_0x4604;let _0x3f7977=_0x3e9151['filter'](_0x5706f7=>_0x5706f7[_0x2cce9c(0x3b6)]===_0x29ee35);_0x3f7977[_0x2cce9c(0x34a)]>0x0&&_0x3104e7[_0x2cce9c(0x362)](_0x2df3a4,_0x3f7977);}),_0x3104e7;};return this[_0x21c57d(0x22b)](_0x5145eb,_0xe89dce,_0x5ce970(_0x50599e['insertCellRanges']),_0x21c57d(0x1ae),_0x2b78be),this['_renderCellRanges'](_0x5145eb,_0xe89dce,_0x5ce970(_0x50599e[_0x21c57d(0x182)]),_0x21c57d(0x10e),_0x2b78be),this[_0x21c57d(0x22b)](_0x5145eb,_0xe89dce,_0x5ce970(_0x50599e[_0x21c57d(0x2c6)]),_0x21c57d(0x259),_0x2b78be),this[_0x21c57d(0x1bb)](_0x5145eb,_0xe89dce,_0x5ce970(_0x50599e[_0x21c57d(0x360)]),_0x21c57d(0x1ae),_0x2b78be),this[_0x21c57d(0x1bb)](_0x5145eb,_0xe89dce,_0x5ce970(_0x50599e[_0x21c57d(0x39c)]),_0x21c57d(0x10e),_0x2b78be),this[_0x21c57d(0x1bb)](_0x5145eb,_0xe89dce,_0x5ce970(_0x50599e[_0x21c57d(0x47f)]),_0x21c57d(0x259),_0x2b78be),this[_0x21c57d(0x3a4)](_0x5145eb,_0xe89dce,_0x5ce970(_0x50599e[_0x21c57d(0x3cd)]),'vertical',_0x2b78be),this[_0x21c57d(0x3a4)](_0x5145eb,_0xe89dce,_0x5ce970(_0x50599e['arrowColumnRanges']),_0x21c57d(0x4f9),_0x2b78be),_0x50599e['insertDrawings']&&this[_0x21c57d(0x485)](_0x5145eb,_0x50599e[_0x21c57d(0x466)],_0x21c57d(0x1ae),_0x2b78be),_0x50599e[_0x21c57d(0x2e3)]&&this[_0x21c57d(0x485)](_0x5145eb,_0x50599e[_0x21c57d(0x2e3)],_0x21c57d(0x10e),_0x2b78be),_0x50599e[_0x21c57d(0x4f5)]&&this[_0x21c57d(0x485)](_0x5145eb,_0x50599e['updateDrawings'],_0x21c57d(0x259),_0x2b78be),this[_0x21c57d(0x291)](_0x2b78be),_0x5145eb[_0x21c57d(0x37e)](_0x2b78be,0x14),_0x2b78be;}['hideDiffMarks'](){const _0x48f2a9=_0x1ffeb0;this[_0x48f2a9(0x44d)][_0x48f2a9(0x1ac)](_0x6f465=>{const _0x3bdb7c=_0x48f2a9;_0x6f465[_0x3bdb7c(0x1bf)]();}),this[_0x48f2a9(0x396)][_0x48f2a9(0x1ac)](_0x180acf=>{const _0x38e32b=_0x48f2a9;_0x180acf[_0x38e32b(0x1bf)]();}),this[_0x48f2a9(0x247)][_0x48f2a9(0x1ac)](_0x16639c=>{const _0x24ed11=_0x48f2a9;_0x16639c[_0x24ed11(0x1bf)]();});}[_0x1ffeb0(0x487)](){const _0x2a2878=_0x1ffeb0;this[_0x2a2878(0x44d)][_0x2a2878(0x1ac)](_0x19602d=>{const _0x52889f=_0x2a2878;_0x19602d[_0x52889f(0x10d)]();}),this[_0x2a2878(0x396)][_0x2a2878(0x1ac)](_0x574856=>{const _0x11d67f=_0x2a2878;_0x574856[_0x11d67f(0x10d)]();}),this[_0x2a2878(0x247)]['forEach'](_0x200f47=>{_0x200f47['show']();});}[_0x1ffeb0(0x2af)](){const _0x5aa27f=_0x1ffeb0;this[_0x5aa27f(0x176)]();}['scrollToShape'](_0x47aa83,_0x44fa64){const _0xb0e96e=_0x1ffeb0;this[_0xb0e96e(0x108)](_0x47aa83,_0x44fa64);}[_0x1ffeb0(0x22b)](_0x201e4a,_0x53495a,_0x50c56e,_0x8cf754,_0x5beb44){const _0x421969=_0x1ffeb0;_0x50c56e[_0x421969(0x1ac)]((_0x1a042e,_0xa1e79d)=>{_0x1a042e['forEach'](_0x239ce3=>{const _0x4b1979=_0x4604;var _0x2f86a5;let {range:_0x127ac4,subUnitId:_0x42b1c1,unitId:_0x420a37,showText:_0x4db1f8='',highlightColumn:_0x29b679,highlightRow:_0x512636}=_0x239ce3,{startColumn:_0x3b70b1,startRow:_0x5e704c,endColumn:_0x5f035a,endRow:_0x549d15}=_0x127ac4,_0x33e356=(0x0,_0x356044[_0x4b1979(0x45e)])(_0x5e704c,_0x3b70b1,_0x201e4a,_0x53495a),_0x25730d=(0x0,_0x356044[_0x4b1979(0x45e)])(_0x549d15,_0x5f035a,_0x201e4a,_0x53495a),{columnHeaderHeightAndMarginTop:_0x54a1a7}=_0x53495a,{startX:_0x51ef53,startY:_0x3f70c2}=_0x33e356,{endX:_0x527316,endY:_0x4ef231}=_0x25730d,_0x426c03=_0x53495a[_0x4b1979(0x19a)],_0x597bda=_0x53495a['columnHeaderHeight'];_0x512636&&(_0x51ef53-=_0x426c03),_0x29b679&&(_0x3f70c2-=_0x597bda);let _0x1350c0=_0x527316-_0x51ef53,_0x111d77=_0x4ef231-_0x3f70c2,_0x3e6900={'labelPosition':_0x3f70c2-_0x54a1a7>=0x14?_0x4b1979(0x3f1):_0x4b1979(0x48d),'sheetID':_0x42b1c1,'range':_0x127ac4,'color':_0x8cf754,'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x8cf754,'name':((_0x2f86a5=this[_0x4b1979(0x1dd)][_0x4b1979(0x19d)](_0xa1e79d))==null?void 0x0:_0x2f86a5['name'])+'\x20'+_0x4db1f8||_0x4db1f8,'selection':_0x420a37+'-'+_0x42b1c1+'-'+_0x127ac4['startColumn']+'-'+_0x127ac4[_0x4b1979(0x1d3)]+'-'+_0x127ac4[_0x4b1979(0x36b)]+'-'+_0x127ac4['endRow'],'left':_0x51ef53,'top':_0x3f70c2,'width':_0x1350c0,'height':_0x111d77,'evented':!0x1,'zIndex':0x3e8,'highlight':!0x0};_0x5beb44[_0x4b1979(0x338)](new _0xc6611a[(_0x4b1979(0x2d7))]('',_0x3e6900));});});}[_0x1ffeb0(0x1bb)](_0x391e33,_0x36abce,_0x289a10,_0x55d537,_0xd94909){const _0x3dccc8=_0x1ffeb0;_0x289a10[_0x3dccc8(0x1ac)]((_0x337036,_0x387d39)=>{const _0x4803d8=_0x3dccc8;_0x337036[_0x4803d8(0x1ac)](_0x4a693d=>{const _0x394656=_0x4803d8;var _0x3c67ff;let {range:_0x3358a3,subUnitId:_0x50b011,unitId:_0x20f8e9,showText:_0x502d5e=''}=_0x4a693d,{startColumn:_0x9d6897,startRow:_0x5c5377,endColumn:_0x1d5d0d,endRow:_0x41ac61}=_0x3358a3,_0x23b5a2=(0x0,_0x356044['getCoordByCell'])(_0x5c5377,_0x9d6897,_0x391e33,_0x36abce),_0xc662cc=(0x0,_0x356044['getCoordByCell'])(_0x41ac61,_0x1d5d0d,_0x391e33,_0x36abce),{columnHeaderHeightAndMarginTop:_0x462fec}=_0x36abce,{startX:_0x1b504d,startY:_0x2cc852}=_0x23b5a2,{endX:_0x399c86,endY:_0x3e1e56}=_0xc662cc,_0x340844=_0x399c86-_0x1b504d,_0x93411d=_0x3e1e56-_0x2cc852,_0x34a4dd={'labelPosition':_0x2cc852-_0x462fec>=0x14?_0x394656(0x3f1):_0x394656(0x48d),'sheetID':_0x50b011,'range':_0x3358a3,'color':_0x55d537,'fillAfterStrokeEnabled':!0x1,'backgroundColor':_0x394656(0x29f),'name':((_0x3c67ff=this[_0x394656(0x1dd)][_0x394656(0x19d)](_0x387d39))==null?void 0x0:_0x3c67ff[_0x394656(0x203)])+'\x20'+_0x502d5e||_0x502d5e,'selection':_0x20f8e9+'-'+_0x50b011+'-'+_0x3358a3[_0x394656(0x4ea)]+'-'+_0x3358a3['startRow']+'-'+_0x3358a3[_0x394656(0x36b)]+'-'+_0x3358a3['endRow'],'left':_0x1b504d-0xc/0x2,'top':_0x2cc852-0xc/0x2,'width':_0x340844,'height':_0x93411d,'evented':!0x1,'zIndex':0x3e8,'strokeWidth':0xc,'highlight':!0x0};_0xd94909[_0x394656(0x338)](new _0xc6611a[(_0x394656(0x2d7))]('',_0x34a4dd));});});}[_0x1ffeb0(0x3a4)](_0x3439a2,_0x2da492,_0x136a7f,_0x367419,_0x25d0e0){const _0x29c19a=_0x1ffeb0;let _0x49b257=_0x2da492[_0x29c19a(0x19a)],_0x369f86=_0x2da492[_0x29c19a(0x1fc)];_0x136a7f[_0x29c19a(0x1ac)]((_0x399916,_0x1c3d0f)=>{const _0x54e871=_0x29c19a;_0x399916[_0x54e871(0x1ac)](_0x32d5d9=>{const _0x46e4c4=_0x54e871;let {range:_0x180ef2,showText:_0x7aced0=''}=_0x32d5d9,{startColumn:_0x39860e,startRow:_0x255d5f,endColumn:_0x59f0c1,endRow:_0x50a0dd}=_0x180ef2,_0x83c063=(0x0,_0x356044['getCoordByCell'])(_0x255d5f,_0x39860e,_0x3439a2,_0x2da492),_0x162502=(0x0,_0x356044[_0x46e4c4(0x45e)])(_0x50a0dd,_0x59f0c1,_0x3439a2,_0x2da492),{startX:_0x2a7ce4,startY:_0x2daf05}=_0x83c063,{endX:_0x385a6c,endY:_0x14ca61}=_0x162502,{columnHeaderHeightAndMarginTop:_0x2a5ee9}=_0x2da492,_0x2a9481;if(_0x367419===_0x46e4c4(0x4f9)){var _0x1f2de7;_0x2a9481=new _0x4d5258('',{'color':_0x46e4c4(0x259),'direction':_0x46e4c4(0x4f9),'left':_0x2a7ce4,'top':0x2,'width':_0x385a6c-_0x2a7ce4,'height':_0x369f86-0x4,'evented':!0x0,'zIndex':0x3e9,'highlight':!0x0,'highlightSecond':0x4,'name':((_0x1f2de7=this['_historyManagerService'][_0x46e4c4(0x19d)](_0x1c3d0f))==null?void 0x0:_0x1f2de7[_0x46e4c4(0x203)])+'\x20'+_0x7aced0||_0x7aced0,'labelPosition':_0x2daf05-_0x2a5ee9>=0x14?_0x46e4c4(0x3f1):_0x46e4c4(0x48d)}),_0x25d0e0[_0x46e4c4(0x338)](_0x2a9481);}else{var _0x8384dc;let _0x5934c5=_0x14ca61-_0x2daf05;_0x2a9481=new _0x4d5258('',{'color':'rgba(21,101,192,0.5)','direction':_0x46e4c4(0x188),'left':0x2,'top':_0x2daf05,'width':_0x49b257-0x4,'height':_0x5934c5,'evented':!0x0,'zIndex':0x3e9,'highlight':!0x0,'highlightSecond':0x4,'name':((_0x8384dc=this[_0x46e4c4(0x1dd)][_0x46e4c4(0x19d)](_0x1c3d0f))==null?void 0x0:_0x8384dc[_0x46e4c4(0x203)])+'\x20'+_0x7aced0||_0x7aced0,'labelPosition':'top'}),_0x25d0e0[_0x46e4c4(0x338)](_0x2a9481);}});});}[_0x1ffeb0(0x485)](_0x1d7648,_0x106dc5,_0xfb4fc3,_0x2f003d){const _0x5c56b9=_0x1ffeb0;let _0x2a3435=this[_0x5c56b9(0x241)][_0x5c56b9(0x2b4)]();if(!_0x2a3435)return;let {columnHeaderHeightAndMarginTop:_0x54b45d}=_0x2a3435;_0x106dc5[_0x5c56b9(0x1ac)]((_0x1aba07,_0x569142)=>{_0x1aba07['forEach'](_0x1d9b1f=>{const _0x35155a=_0x4604;var _0x2fff52;let {drawingId:_0x1b7d10,unitId:_0x77a8da,subUnitId:_0x169343,showText:_0x161b1e=''}=_0x1d9b1f,_0x3092b0=this[_0x35155a(0x321)][_0x35155a(0x30e)]({'unitId':_0x77a8da,'subUnitId':_0x169343,'drawingId':_0x1b7d10});if(!_0x3092b0||!_0x3092b0[_0x35155a(0x1f2)])return;let {left:_0x3eff2a=0x0,top:_0x4c7a1d=0x0,width:_0x46963a,height:_0x4452f8}=_0x3092b0[_0x35155a(0x1f2)],_0x67c228=new _0xc6611a[(_0x35155a(0x2d7))]('',{'labelPosition':_0x4c7a1d-_0x54b45d>=0x14?_0x35155a(0x3f1):_0x35155a(0x48d),'sheetID':_0x169343,'range':{'startRow':0x0,'startColumn':0x0,'endRow':0x0,'endColumn':0x0},'color':_0xfb4fc3,'fillAfterStrokeEnabled':!0x1,'backgroundColor':_0x35155a(0x29f),'name':((_0x2fff52=this[_0x35155a(0x1dd)][_0x35155a(0x19d)](_0x569142))==null?void 0x0:_0x2fff52[_0x35155a(0x203)])+'\x20'+_0x161b1e||_0x161b1e,'selection':_0x77a8da+'-'+_0x169343+_0x35155a(0x207)+_0x1b7d10,'left':_0x3eff2a-0xc/0x2,'top':_0x4c7a1d-0xc/0x2,'width':_0x46963a,'height':_0x4452f8,'evented':!0x0,'zIndex':0x3e8,'strokeWidth':0xc,'highlight':!0x0});_0x67c228[_0x35155a(0x264)]['subscribeEvent'](()=>{const _0x27e454=_0x35155a;this[_0x27e454(0x480)](_0x67c228,_0x2f003d)[_0x27e454(0x1ac)](_0x2b9d64=>{const _0x34f7b=_0x27e454;_0x2b9d64 instanceof _0xc6611a[_0x34f7b(0x2d7)]&&_0x2b9d64[_0x34f7b(0x281)]({'hovered':!0x0});});}),_0x67c228[_0x35155a(0x297)][_0x35155a(0x1ba)](()=>{const _0x213633=_0x35155a;this[_0x213633(0x480)](_0x67c228,_0x2f003d)['forEach'](_0xccd800=>{_0xccd800 instanceof _0xc6611a['SheetCollabCursorShape']&&_0xccd800['setShapeProps']({'hovered':!0x1});});}),_0x2f003d[_0x35155a(0x338)](_0x67c228);});});}[_0x1ffeb0(0x176)](){const _0x40d8e1=_0x1ffeb0;var _0x127c9d,_0x1972e3,_0x373e2d,_0x3959bb;(_0x127c9d=this['_diffs'])==null||_0x127c9d['forEach'](_0x3e50cf=>_0x3e50cf['dispose']()),(_0x1972e3=this['_borderDiffs'])==null||_0x1972e3['forEach'](_0x4570a9=>_0x4570a9[_0x40d8e1(0x4f4)]()),(_0x373e2d=this[_0x40d8e1(0x247)])==null||_0x373e2d['forEach'](_0x2430ac=>_0x2430ac[_0x40d8e1(0x4f4)]()),(_0x3959bb=this['_drawingDiffs'])==null||_0x3959bb[_0x40d8e1(0x1ac)](_0x20e91c=>_0x20e91c[_0x40d8e1(0x4f4)]());}['_handleOverlappingShapes'](_0x167a01){const _0x59764c=_0x1ffeb0;let _0x3fe002=_0x167a01[_0x59764c(0x4e7)](_0x26859e=>_0x26859e instanceof _0xc6611a[_0x59764c(0x2d7)]);if(_0x3fe002['length']===0x0)return;let _0x3bc3f6=[],_0x38ab07=new Set();_0x3fe002[_0x59764c(0x1ac)](_0x35ff04=>{const _0x375c62=_0x59764c;if(_0x38ab07['has'](_0x35ff04))return;let _0x9296fc=_0x35ff04[_0x375c62(0x3b7)]||0x0,_0x27dab5=_0x35ff04[_0x375c62(0x3f1)]||0x0,_0x31eb13=_0x9296fc+(_0x35ff04[_0x375c62(0x2f8)]||0x0),_0x463004=_0x27dab5,_0x2e1ef6=[_0x35ff04];_0x38ab07[_0x375c62(0x161)](_0x35ff04),_0x3fe002['forEach'](_0x2dd188=>{const _0x5548e4=_0x375c62;if(_0x38ab07[_0x5548e4(0x417)](_0x2dd188))return;let _0x1366df=_0x2dd188[_0x5548e4(0x3b7)]||0x0,_0x16fd16=_0x2dd188[_0x5548e4(0x3f1)]||0x0,_0x2ffad4=_0x1366df+(_0x2dd188[_0x5548e4(0x2f8)]||0x0),_0x4caab8=_0x16fd16;Math[_0x5548e4(0x467)](_0x31eb13-_0x2ffad4)<=0xa&&Math[_0x5548e4(0x467)](_0x463004-_0x4caab8)<=0xa&&(_0x2e1ef6[_0x5548e4(0x338)](_0x2dd188),_0x38ab07['add'](_0x2dd188));}),_0x2e1ef6[_0x375c62(0x34a)]>0x1&&_0x3bc3f6[_0x375c62(0x338)](_0x2e1ef6);}),_0x3bc3f6[_0x59764c(0x1ac)](_0x5a3626=>{const _0xef9b51=_0x59764c;_0x5a3626['sort']((_0xb6a2fe,_0x148e18)=>(_0xb6a2fe[_0xef9b51(0x3f1)]||0x0)-(_0x148e18['top']||0x0)),_0x5a3626['forEach']((_0x4c3f8b,_0x1327a2)=>{const _0x41e940=_0xef9b51;let _0x4528c6=_0x1327a2*0x16;_0x4c3f8b[_0x41e940(0x368)](_0x4528c6);});});}[_0x1ffeb0(0x480)](_0x573bb8,_0x201fed){const _0x1a12de=_0x1ffeb0;let _0x53b3ce=_0x573bb8[_0x1a12de(0x3b7)]||0x0,_0x4b58f3=_0x573bb8[_0x1a12de(0x3f1)]||0x0,_0x26e3c5=_0x573bb8[_0x1a12de(0x2f8)]||0x0,_0x5da158=_0x573bb8['height']||0x0,_0x5abaf7=_0x53b3ce+_0x26e3c5,_0x352d53=_0x4b58f3+_0x5da158;return _0x201fed['filter'](_0x34fb75=>{const _0x1e0bd1=_0x1a12de;let _0x556c25=_0x34fb75[_0x1e0bd1(0x3b7)]||0x0,_0x4adc8a=_0x34fb75[_0x1e0bd1(0x3f1)]||0x0,_0x216d44=_0x34fb75[_0x1e0bd1(0x2f8)]||0x0,_0x39d7fa=_0x34fb75['height']||0x0,_0x14c393=_0x556c25+_0x216d44,_0x3ce077=_0x4adc8a+_0x39d7fa;return!(_0x5abaf7<=_0x556c25||_0x53b3ce>=_0x14c393||_0x352d53<=_0x4adc8a||_0x4b58f3>=_0x3ce077);});}[_0x1ffeb0(0x108)](_0x579fcd,_0x45d820){const _0x15b68f=_0x1ffeb0;let _0x5a08d0=_0x45d820['getViewport'](_0x28b2d4['SHEET_VIEWPORT_KEY']['VIEW_MAIN']);if(!_0x5a08d0)return;let _0x18c412=_0x579fcd[_0x15b68f(0x3b7)]||0x0,_0x3e13ce=_0x579fcd[_0x15b68f(0x3f1)]||0x0,_0x41d201=_0x579fcd[_0x15b68f(0x2f8)]||0x0,_0x3015a6=_0x579fcd['height']||0x0,_0x35158e=_0x5a08d0['width']||0x0,_0x589015=_0x5a08d0['height']||0x0,_0x4b3f81=_0x5a08d0[_0x15b68f(0x4d9)]||0x0,_0x1001d6=_0x5a08d0[_0x15b68f(0x3fe)]||0x0,_0x1a155b=_0x4b3f81,_0x463889=_0x1001d6,_0x12f345=_0x4b3f81+_0x35158e,_0x9b3e30=_0x1001d6+_0x589015;if(_0x18c412>=_0x1a155b&&_0x3e13ce>=_0x463889&&_0x18c412+_0x41d201<=_0x12f345&&_0x3e13ce+_0x3015a6<=_0x9b3e30)return;let _0x2d29ef=Math['max'](0x0,_0x18c412-_0x35158e/0x2+_0x41d201/0x2),_0x2b747d=Math['max'](0x0,_0x3e13ce-_0x589015/0x2+_0x3015a6/0x2);_0x5a08d0['scrollToViewportPos']({'viewportScrollX':_0x2d29ef,'viewportScrollY':_0x2b747d});}[_0x1ffeb0(0x46e)](){const _0x33f53f=_0x1ffeb0;return(0x0,_0x356044[_0x33f53f(0x1d0)])(this['_univerInstanceService'],this[_0x33f53f(0x3fc)]);}};_0x1924fa=_0x1b1300([_0x181878(0x1,(0x0,_0x5d0897[_0x1ffeb0(0x24f)])(_0x12879d)),_0x181878(0x2,(0x0,_0x5d0897['Inject'])(_0x38c36b)),_0x181878(0x3,_0x5d0897[_0x1ffeb0(0x1fa)]),_0x181878(0x4,_0x28b2d4[_0x1ffeb0(0x2a4)]),_0x181878(0x5,(0x0,_0x5d0897[_0x1ffeb0(0x24f)])(_0x356044[_0x1ffeb0(0x1b9)])),_0x181878(0x6,_0x5d0897[_0x1ffeb0(0x398)]),_0x181878(0x7,_0x3417e2[_0x1ffeb0(0x204)])],_0x1924fa);var _0x22d41e=_0x1ffeb0(0x223),_0x5f23b0=_0x1ffeb0(0x26b);let _0x532bf=class extends _0x5d0897[_0x1ffeb0(0x2ed)]{constructor(_0x1c93ae){const _0x5bc01e=_0x1ffeb0;super(),this['_cellEditorManagerService']=_0x1c93ae,this[_0x5bc01e(0x3f3)]();}[_0x1ffeb0(0x3f3)](){const _0xe01852=_0x1ffeb0;this['disposeWithMe'](this[_0xe01852(0x418)][_0xe01852(0x2fa)][_0xe01852(0x3da)](_0x8b4890=>{const _0x24b08d=_0xe01852;_0x8b4890!=null&&_0x8b4890['show']&&this[_0x24b08d(0x418)][_0x24b08d(0x4c9)]({'show':!0x1});}));}};_0x532bf=_0x1b1300([_0x181878(0x0,_0x356044['ICellEditorManagerService'])],_0x532bf);function _0x29d961(){const _0x800e91=_0x1ffeb0;let _0x1a5b3f=(0x0,_0x1fa003[_0x800e91(0x1ef)])(_0x12879d),_0x2c919e=(0x0,_0x1fa003[_0x800e91(0x1ef)])(_0x5d0897['LocaleService']),_0x53483f=(0x0,_0x1fa003[_0x800e91(0x2ba)])(_0x1a5b3f[_0x800e91(0x2eb)]),_0x4f6898=(0x0,_0x4a1f6d[_0x800e91(0x18d)])(()=>_0x53483f?_0x1a5b3f[_0x800e91(0x1b4)]():!0x1,[_0x1a5b3f,_0x53483f]),_0x2164ac=(0x0,_0x4a1f6d[_0x800e91(0x189)])(()=>{const _0x4e8590=_0x800e91;_0x1a5b3f['status']=_0x432a59[_0x4e8590(0x210)];},[_0x1a5b3f]),_0x22e639=(0x0,_0x4a1f6d[_0x800e91(0x189)])(()=>{_0x1a5b3f['triggerRevert']();},[_0x1a5b3f]);return(0x0,_0x4fe081['jsxs'])(_0x800e91(0x4bc),{'className':_0x800e91(0x469),'children':[(0x0,_0x4fe081['jsx'])(_0x54512b[_0x800e91(0x46b)],{'variant':_0x800e91(0x49f),'onClick':_0x2164ac,'children':_0x2c919e['t'](_0x800e91(0x444))}),_0x4f6898?(0x0,_0x4fe081[_0x800e91(0x1a0)])(_0x54512b['Button'],{'variant':_0x800e91(0x49f),'onClick':_0x22e639,'children':_0x2c919e['t'](_0x800e91(0x226))}):(0x0,_0x4fe081[_0x800e91(0x1a0)])(_0x800e91(0x4bc),{'className':_0x800e91(0x426)})]});}let _0x428fb6=class extends _0x5d0897[_0x1ffeb0(0x2ed)]{constructor(_0x25e754,_0x918ef2,_0x4c7e8e,_0x27c2dd,_0x4d3256,_0x4e68d8,_0x2bf6f3){const _0xcdfc74=_0x1ffeb0;super(),this['_permissionService']=_0x25e754,this[_0xcdfc74(0x265)]=_0x918ef2,this[_0xcdfc74(0x2e0)]=_0x4c7e8e,this[_0xcdfc74(0x266)]=_0x27c2dd,this['_historyManagerService']=_0x4d3256,this[_0xcdfc74(0x1f5)]=_0x4e68d8,this[_0xcdfc74(0x4c1)]=_0x2bf6f3,this[_0xcdfc74(0x3f3)]();}[_0x1ffeb0(0x3f3)](){const _0x5a309e=_0x1ffeb0;this['disposeWithMe'](this[_0x5a309e(0x1dd)]['currentVersion$'][_0x5a309e(0x3da)](_0x4186ff=>{const _0x2813fc=_0x5a309e;_0x4186ff&&this[_0x2813fc(0x1dd)][_0x2813fc(0x23d)](_0x4186ff);})),this[_0x5a309e(0x45c)](this[_0x5a309e(0x2a0)][_0x5a309e(0x4d3)][_0x5a309e(0x3da)](_0x26d5ae=>{const _0x2f0eb9=_0x5a309e;let _0x1a5897=this[_0x2f0eb9(0x1dd)]['unitId'];_0x1a5897&&(_0x26d5ae[_0x2f0eb9(0x1d8)]===_0x529394['Edit']&&_0x26d5ae[_0x2f0eb9(0x46f)]===!0x0&&this[_0x2f0eb9(0x2a0)][_0x2f0eb9(0x36d)](new _0xefe5da[(_0x2f0eb9(0x31b))](_0x1a5897)['id'],!0x1),_0x26d5ae[_0x2f0eb9(0x1d8)]===_0x529394['RenameSheet']&&_0x26d5ae[_0x2f0eb9(0x46f)]===!0x0&&this[_0x2f0eb9(0x2a0)]['updatePermissionPoint'](new _0xefe5da[(_0x2f0eb9(0x3ed))](_0x1a5897)['id'],!0x1),_0x26d5ae[_0x2f0eb9(0x1d8)]===_0x529394[_0x2f0eb9(0x30b)]&&_0x26d5ae[_0x2f0eb9(0x46f)]===!0x0&&this[_0x2f0eb9(0x2a0)][_0x2f0eb9(0x36d)](new _0xefe5da[(_0x2f0eb9(0x103))](_0x1a5897)['id'],!0x1),_0x26d5ae[_0x2f0eb9(0x1d8)]===_0x529394[_0x2f0eb9(0x374)]&&_0x26d5ae['value']===!0x0&&this['_permissionService'][_0x2f0eb9(0x36d)](new _0xefe5da['WorkbookHideSheetPermission'](_0x1a5897)['id'],!0x1),_0x26d5ae[_0x2f0eb9(0x1d8)]===_0x529394[_0x2f0eb9(0x47b)]&&_0x26d5ae[_0x2f0eb9(0x46f)]===!0x0&&this['_permissionService']['updatePermissionPoint'](new _0xefe5da['WorkbookEditablePermission'](_0x1a5897)['id'],!0x1),_0x26d5ae['subType']===_0x529394[_0x2f0eb9(0x299)]&&_0x26d5ae[_0x2f0eb9(0x46f)]===!0x0&&this[_0x2f0eb9(0x2a0)][_0x2f0eb9(0x36d)](new _0xefe5da['WorkbookEditablePermission'](_0x1a5897)['id'],!0x1));})),this[_0x5a309e(0x3b0)]();let _0x1345d8;this[_0x5a309e(0x45c)](this[_0x5a309e(0x1dd)][_0x5a309e(0x34d)][_0x5a309e(0x3da)](_0x53c269=>{const _0x97aa05=_0x5a309e;this[_0x97aa05(0x2e0)][_0x97aa05(0x1aa)](),_0x1345d8==null||_0x1345d8[_0x97aa05(0x4f4)](),_0x53c269===_0xda04f2['Loading']&&(this['_historyManagerService'][_0x97aa05(0x41b)](),_0x1345d8=this['_messageService'][_0x97aa05(0x10d)]({'type':_0x54512b[_0x97aa05(0x1db)]['Info'],'content':this['_localeService']['t'](_0x97aa05(0x276)),'duration':0x3e8})),_0x53c269===_0xda04f2[_0x97aa05(0x475)]&&this[_0x97aa05(0x1dd)][_0x97aa05(0x163)]();}));}[_0x1ffeb0(0x3b0)](){const _0x46c6bf=_0x1ffeb0;var _0x2227b0;(_0x2227b0=this[_0x46c6bf(0x4c1)]['getConfig']('edit-history-viewer.config'))!=null&&_0x2227b0[_0x46c6bf(0x145)]||this['disposeWithMe'](this[_0x46c6bf(0x265)][_0x46c6bf(0x400)](_0x1fa003['BuiltInUIPart'][_0x46c6bf(0x128)],()=>(0x0,_0x1fa003['connectInjector'])(_0x29d961,this[_0x46c6bf(0x1f5)])));}};_0x428fb6=_0x1b1300([_0x181878(0x0,_0x5d0897[_0x1ffeb0(0x1a5)]),_0x181878(0x1,_0x1fa003[_0x1ffeb0(0x510)]),_0x181878(0x2,_0x1fa003[_0x1ffeb0(0x47c)]),_0x181878(0x3,(0x0,_0x5d0897['Inject'])(_0x5d0897[_0x1ffeb0(0x422)])),_0x181878(0x4,(0x0,_0x5d0897[_0x1ffeb0(0x24f)])(_0x12879d)),_0x181878(0x5,(0x0,_0x5d0897[_0x1ffeb0(0x24f)])(_0x5d0897[_0x1ffeb0(0x1ca)])),_0x181878(0x6,_0x5d0897[_0x1ffeb0(0x459)])],_0x428fb6);function _0x11069f({ref:_0x226f39,..._0x5d5d50}){const _0x46b63a=_0x1ffeb0;let {icon:_0x11f0e,id:_0x376bd5,className:_0x42e858,extend:_0x374bf3,..._0x1723aa}=_0x5d5d50,_0x380573=(_0x46b63a(0x47a)+_0x376bd5+'\x20'+(_0x42e858||''))[_0x46b63a(0x41a)](),_0xaebc29=(0x0,_0x4a1f6d[_0x46b63a(0x4ad)])('_'+_0x35048a());return _0x44124d(_0x11f0e,''+_0x376bd5,{'defIds':_0x11f0e[_0x46b63a(0x414)],'idSuffix':_0xaebc29[_0x46b63a(0x49b)]},{'ref':_0x226f39,'className':_0x380573,..._0x1723aa},_0x374bf3);}function _0x44124d(_0x9eee59,_0x3dabc7,_0x2e612b,_0x514e42,_0x461555){const _0x4cd37c=_0x1ffeb0;return(0x0,_0x4a1f6d[_0x4cd37c(0x10c)])(_0x9eee59[_0x4cd37c(0x47d)],{'key':_0x3dabc7,..._0x494d80(_0x9eee59,_0x2e612b,_0x461555),..._0x514e42},(_0x5c5f87(_0x9eee59,_0x2e612b)[_0x4cd37c(0x3be)]||[])['map']((_0x370dbd,_0x367da4)=>_0x44124d(_0x370dbd,_0x3dabc7+'-'+_0x9eee59['tag']+'-'+_0x367da4,_0x2e612b,void 0x0,_0x461555)));}function _0x494d80(_0x4f2b74,_0x2dd43a,_0xe19cec){const _0x259ef5=_0x1ffeb0;let _0x22509a={..._0x4f2b74[_0x259ef5(0x25f)]};_0xe19cec!=null&&_0xe19cec[_0x259ef5(0x1bc)]&&_0x22509a['fill']===_0x259ef5(0x1bc)&&(_0x22509a['fill']=_0xe19cec['colorChannel1']),_0x4f2b74[_0x259ef5(0x47d)]===_0x259ef5(0x425)&&_0x22509a['id']&&(_0x22509a['id']+=_0x2dd43a['idSuffix']),Object['entries'](_0x22509a)[_0x259ef5(0x1ac)](([_0x15c30e,_0x533fb2])=>{const _0x389584=_0x259ef5;_0x15c30e===_0x389584(0x425)&&typeof _0x533fb2==_0x389584(0x43c)&&(_0x22509a[_0x15c30e]=_0x533fb2[_0x389584(0x121)](/url\(#(.*)\)/,_0x389584(0x4f2)+_0x2dd43a[_0x389584(0x19e)]+')'));});let {defIds:_0x1c739d}=_0x2dd43a;return!_0x1c739d||_0x1c739d[_0x259ef5(0x34a)]===0x0?_0x22509a:(_0x4f2b74[_0x259ef5(0x47d)]==='use'&&_0x22509a[_0x259ef5(0x4cd)]&&(_0x22509a[_0x259ef5(0x4cd)]+=_0x2dd43a['idSuffix']),Object['entries'](_0x22509a)[_0x259ef5(0x1ac)](([_0x72e482,_0x6339da])=>{const _0x107eda=_0x259ef5;typeof _0x6339da==_0x107eda(0x43c)&&(_0x22509a[_0x72e482]=_0x6339da[_0x107eda(0x121)](/url\(#(.*)\)/,_0x107eda(0x4f2)+_0x2dd43a[_0x107eda(0x19e)]+')'));}),_0x22509a);}function _0x5c5f87(_0x329e15,_0x5463ed){const _0x43872e=_0x1ffeb0;var _0x5d2708;let {defIds:_0x443edb}=_0x5463ed;return!_0x443edb||_0x443edb['length']===0x0?_0x329e15:_0x329e15['tag']==='defs'&&(_0x5d2708=_0x329e15['children'])!=null&&_0x5d2708[_0x43872e(0x34a)]?{..._0x329e15,'children':_0x329e15['children'][_0x43872e(0x129)](_0x28f7dc=>typeof _0x28f7dc['attrs']['id']==_0x43872e(0x43c)&&_0x443edb&&_0x443edb[_0x43872e(0x169)](_0x28f7dc[_0x43872e(0x25f)]['id'])?{..._0x28f7dc,'attrs':{..._0x28f7dc['attrs'],'id':_0x28f7dc[_0x43872e(0x25f)]['id']+_0x5463ed[_0x43872e(0x19e)]}}:_0x28f7dc)}:_0x329e15;}function _0x35048a(){const _0x3a6cc1=_0x1ffeb0;return Math['random']()[_0x3a6cc1(0x155)](0x24)[_0x3a6cc1(0x143)](0x2,0x8);}_0x11069f[_0x1ffeb0(0x251)]='UniverIcon';let _0xbc8b96={'tag':_0x1ffeb0(0x361),'attrs':{'xmlns':_0x1ffeb0(0x1c1),'fill':'none','viewBox':_0x1ffeb0(0x344),'width':_0x1ffeb0(0x316),'height':'1em'},'children':[{'tag':_0x1ffeb0(0x2e1),'attrs':{'fill':'currentColor','d':'M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z'}}]},_0x3875c1=(0x0,_0x4a1f6d['forwardRef'])(function(_0x42d307,_0xd83b55){const _0x28712f=_0x1ffeb0;return(0x0,_0x4a1f6d['createElement'])(_0x11069f,Object[_0x28712f(0x105)]({},_0x42d307,{'id':'back-icon','ref':_0xd83b55,'icon':_0xbc8b96}));});_0x3875c1[_0x1ffeb0(0x251)]=_0x1ffeb0(0x1e5);let _0x4d7a0f={'tag':_0x1ffeb0(0x361),'attrs':{'xmlns':_0x1ffeb0(0x1c1),'fill':_0x1ffeb0(0x15c),'viewBox':'0\x200\x2016\x2016','width':_0x1ffeb0(0x316),'height':_0x1ffeb0(0x316)},'children':[{'tag':_0x1ffeb0(0x2e1),'attrs':{'fill':_0x1ffeb0(0x380),'d':_0x1ffeb0(0x305),'fillRule':'evenodd','clipRule':_0x1ffeb0(0x476)}}]},_0x4c6366=(0x0,_0x4a1f6d['forwardRef'])(function(_0x3e88df,_0x216456){const _0x618e6d=_0x1ffeb0;return(0x0,_0x4a1f6d[_0x618e6d(0x10c)])(_0x11069f,Object['assign']({},_0x3e88df,{'id':'funnel-icon','ref':_0x216456,'icon':_0x4d7a0f}));});_0x4c6366[_0x1ffeb0(0x251)]=_0x1ffeb0(0x332);let _0x548349={'tag':_0x1ffeb0(0x361),'attrs':{'xmlns':_0x1ffeb0(0x1c1),'fill':_0x1ffeb0(0x15c),'viewBox':_0x1ffeb0(0x344),'width':_0x1ffeb0(0x316),'height':_0x1ffeb0(0x316)},'children':[{'tag':_0x1ffeb0(0x2e1),'attrs':{'fill':_0x1ffeb0(0x380),'d':_0x1ffeb0(0x280),'fillRule':_0x1ffeb0(0x476),'clipRule':'evenodd'}}]},_0x3be1e7=(0x0,_0x4a1f6d[_0x1ffeb0(0x29e)])(function(_0x5e89d7,_0x4784c9){const _0x329251=_0x1ffeb0;return(0x0,_0x4a1f6d[_0x329251(0x10c)])(_0x11069f,Object[_0x329251(0x105)]({},_0x5e89d7,{'id':_0x329251(0x4bd),'ref':_0x4784c9,'icon':_0x548349}));});_0x3be1e7[_0x1ffeb0(0x251)]=_0x1ffeb0(0x50b);let _0x1fac36={'tag':_0x1ffeb0(0x361),'attrs':{'xmlns':_0x1ffeb0(0x1c1),'fill':_0x1ffeb0(0x15c),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x1ffeb0(0x316)},'children':[{'tag':_0x1ffeb0(0x2e1),'attrs':{'fill':_0x1ffeb0(0x380),'d':'M6.14645\x204.64645C6.34171\x204.45118\x206.65829\x204.45118\x206.85355\x204.64645L9.85355\x207.64645C10.0488\x207.84171\x2010.0488\x208.15829\x209.85355\x208.35355L6.85355\x2011.3536C6.65829\x2011.5488\x206.34171\x2011.5488\x206.14645\x2011.3536C5.95118\x2011.1583\x205.95118\x2010.8417\x206.14645\x2010.6464L8.79289\x208L6.14645\x205.35355C5.95118\x205.15829\x205.95118\x204.84171\x206.14645\x204.64645Z','fillRule':_0x1ffeb0(0x476),'clipRule':_0x1ffeb0(0x476)}}]},_0x5793f0=(0x0,_0x4a1f6d[_0x1ffeb0(0x29e)])(function(_0x547757,_0x243c45){const _0x44ce4f=_0x1ffeb0;return(0x0,_0x4a1f6d[_0x44ce4f(0x10c)])(_0x11069f,Object['assign']({},_0x547757,{'id':'more-right-icon','ref':_0x243c45,'icon':_0x1fac36}));});_0x5793f0[_0x1ffeb0(0x251)]='MoreRightIcon';let _0x4001fb={'tag':_0x1ffeb0(0x361),'attrs':{'xmlns':_0x1ffeb0(0x1c1),'fill':'none','viewBox':'0\x200\x2016\x2017','width':_0x1ffeb0(0x316),'height':_0x1ffeb0(0x316)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':'url(#restore-icon_clip0_1247_2)'},'children':[{'tag':'path','attrs':{'d':_0x1ffeb0(0x364)}},{'tag':'path','attrs':{'d':_0x1ffeb0(0x369),'fillRule':_0x1ffeb0(0x476),'clipRule':_0x1ffeb0(0x476)}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1ffeb0(0x312)},'children':[{'tag':'rect','attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x1ffeb0(0x35e),'rx':0x4}}]}]}],'defIds':[_0x1ffeb0(0x312)]},_0x4115e2=(0x0,_0x4a1f6d[_0x1ffeb0(0x29e)])(function(_0x452538,_0x24d158){const _0x534f42=_0x1ffeb0;return(0x0,_0x4a1f6d['createElement'])(_0x11069f,Object[_0x534f42(0x105)]({},_0x452538,{'id':_0x534f42(0x419),'ref':_0x24d158,'icon':_0x4001fb}));});_0x4115e2[_0x1ffeb0(0x251)]=_0x1ffeb0(0x3a9);let _0x14e0eb={'tag':_0x1ffeb0(0x361),'attrs':{'xmlns':_0x1ffeb0(0x1c1),'fill':_0x1ffeb0(0x15c),'viewBox':_0x1ffeb0(0x344),'width':_0x1ffeb0(0x316),'height':_0x1ffeb0(0x316)},'children':[{'tag':_0x1ffeb0(0x2e1),'attrs':{'fill':_0x1ffeb0(0x314),'d':_0x1ffeb0(0x127),'fillOpacity':0.2,'fillRule':'evenodd','clipRule':_0x1ffeb0(0x476)}},{'tag':_0x1ffeb0(0x2e1),'attrs':{'fill':'#0B9EFB','d':_0x1ffeb0(0x4d6),'fillRule':_0x1ffeb0(0x476),'clipRule':_0x1ffeb0(0x476)}}]},_0x2bf5a1=(0x0,_0x4a1f6d['forwardRef'])(function(_0x5ef711,_0x8956aa){const _0x166523=_0x1ffeb0;return(0x0,_0x4a1f6d[_0x166523(0x10c)])(_0x11069f,Object[_0x166523(0x105)]({},_0x5ef711,{'id':'loading-multi-icon','ref':_0x8956aa,'icon':_0x14e0eb}));});_0x2bf5a1[_0x1ffeb0(0x251)]=_0x1ffeb0(0x2f7);function _0x3050f2(_0x58ee13){const _0x424d7c=_0x1ffeb0;var _0x131e01;let {item:_0x5dc133,isNewest:_0x5ad263}=_0x58ee13,_0x3da597=(0x0,_0x1fa003[_0x424d7c(0x1ef)])(_0x12879d),_0x210171=(0x0,_0x1fa003[_0x424d7c(0x1ef)])(_0x38c36b),_0x37d6d0=(0x0,_0x1fa003['useDependency'])(_0x5d0897[_0x424d7c(0x422)]),_0x18955c=(0x0,_0x1fa003[_0x424d7c(0x2ba)])(_0x3da597[_0x424d7c(0x2eb)],'',!0x0)===_0x5dc133['id'],_0x10b3fd=_0x37d6d0[_0x424d7c(0x4f7)](),_0x16215e=_0x2c0528(_0x5dc133[_0x424d7c(0x2ee)],_0x10b3fd),_0x4efc1f=!_0x5ad263&&_0x3da597['canRevert'],_0x2bbcbb=(0x0,_0x4a1f6d[_0x424d7c(0x189)])(async()=>{const _0x33bec0=_0x424d7c;_0x3da597[_0x33bec0(0x4e1)]!==_0xda04f2[_0x33bec0(0x451)]&&(_0x3da597[_0x33bec0(0x144)]=_0x5dc133['id'],await _0x210171[_0x33bec0(0x29b)](_0x5dc133['id']));},[_0x3da597,_0x210171,_0x5dc133['id']]),_0x81b38d=(0x0,_0x4a1f6d['useCallback'])(_0x3a2be3=>{_0x3a2be3['stopPropagation'](),_0x3da597['triggerRevert'](_0x5dc133['id']);},[_0x3da597,_0x5dc133['id']]),_0x43ccfa=((_0x131e01=_0x5dc133['users'])==null?void 0x0:_0x131e01[_0x424d7c(0x4e7)](Boolean)[_0x424d7c(0x432)](',\x20'))||_0x5dc133[_0x424d7c(0x4d0)]||_0x37d6d0['t'](_0x424d7c(0x2c1));return(0x0,_0x4fe081[_0x424d7c(0x11d)])(_0x424d7c(0x4bc),{'className':(0x0,_0x54512b[_0x424d7c(0x24e)])('univer-flex\x20univer-items-center\x20univer-gap-3\x20univer-border-b\x20univer-border-gray-100\x20univer-px-4\x20univer-py-3\x20dark:!univer-border-gray-800',_0x18955c&&_0x424d7c(0x346)),'onClick':_0x2bbcbb,'children':[(0x0,_0x4fe081[_0x424d7c(0x11d)])('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[(0x0,_0x4fe081[_0x424d7c(0x11d)])(_0x424d7c(0x4bc),{'className':_0x424d7c(0x177),'children':[(0x0,_0x4fe081[_0x424d7c(0x1a0)])('span',{'className':_0x424d7c(0x359),'children':_0x43ccfa}),_0x5ad263&&(0x0,_0x4fe081['jsx'])(_0x424d7c(0x300),{'className':_0x424d7c(0x185),'children':_0x37d6d0['t'](_0x424d7c(0x2b7))})]}),(0x0,_0x4fe081[_0x424d7c(0x11d)])(_0x424d7c(0x4bc),{'className':_0x424d7c(0x152),'children':[(0x0,_0x4fe081[_0x424d7c(0x1a0)])(_0x424d7c(0x300),{'className':_0x424d7c(0x231),'children':_0x16215e[_0x424d7c(0x2ee)]}),(0x0,_0x4fe081[_0x424d7c(0x1a0)])(_0x424d7c(0x300),{'className':_0x424d7c(0x3c3),'children':_0x197a93(_0x5dc133,_0x37d6d0)})]})]}),_0x4efc1f&&(0x0,_0x4fe081['jsx'])(_0x54512b['Button'],{'size':'small','variant':'primary','onClick':_0x81b38d,'children':_0x37d6d0['t'](_0x424d7c(0x226))})]});}function _0x52eda2(){const _0x666adb=_0x1ffeb0;let _0x25ed65=(0x0,_0x1fa003[_0x666adb(0x1ef)])(_0x12879d),_0x448c63=(0x0,_0x1fa003[_0x666adb(0x1ef)])(_0x5d0897['LocaleService']),_0xd6794=(0x0,_0x1fa003[_0x666adb(0x2ba)])(_0x25ed65[_0x666adb(0x392)]),_0x127623=(0x0,_0x1fa003[_0x666adb(0x2ba)])(_0x25ed65[_0x666adb(0x406)]),_0x53f6d6=(0x0,_0x4a1f6d[_0x666adb(0x4ad)])(null),[_0x34cdbf,_0x4e7488]=(0x0,_0x4a1f6d[_0x666adb(0x1cc)])(!0x0);(0x0,_0x4a1f6d[_0x666adb(0x341)])(()=>{const _0x291322=_0x666adb;let _0x2c841e=_0x53f6d6[_0x291322(0x49b)];if(!_0x2c841e||!_0x34cdbf)return;let _0x3a30e5,_0xc22ac5=()=>{clearTimeout(_0x3a30e5),_0x3a30e5=setTimeout(()=>{const _0x4346a2=_0x4604;let {scrollTop:_0x34247c,scrollHeight:_0x37c703,clientHeight:_0x31ed77}=_0x2c841e;_0x34247c+_0x31ed77>=_0x37c703-0xa&&_0x25ed65[_0x4346a2(0x4b7)]();},0x64);};return _0x2c841e[_0x291322(0x4a4)](_0x291322(0x2f6),_0xc22ac5),()=>{const _0x55bc7c=_0x291322;clearTimeout(_0x3a30e5),_0x2c841e[_0x55bc7c(0x27c)](_0x55bc7c(0x2f6),_0xc22ac5);};},[_0x25ed65,_0x34cdbf]);let _0x2bd036=_0x12b088(_0xd6794==null?[]:_0xd6794);return(0x0,_0x4fe081[_0x666adb(0x1a0)])('div',{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-pointer-events-none\x20univer-absolute\x20univer-inset-0\x20univer-z-10\x20univer-flex\x20univer-flex-col\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-justify-end\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':(0x0,_0x4fe081[_0x666adb(0x11d)])(_0x666adb(0x4bc),{'className':(0x0,_0x54512b['clsx'])(_0x666adb(0x3e4),_0x34cdbf?'univer-h-[60%]':_0x666adb(0x358)),'children':[(0x0,_0x4fe081['jsxs'])(_0x666adb(0x4bc),{'className':_0x666adb(0x3a2),'onClick':()=>_0x4e7488(_0xdb1e52=>!_0xdb1e52),'children':[(0x0,_0x4fe081[_0x666adb(0x1a0)])(_0x666adb(0x4bc),{'className':_0x666adb(0x220)}),!_0x34cdbf&&(0x0,_0x4fe081[_0x666adb(0x1a0)])(_0x666adb(0x300),{'className':_0x666adb(0x1ff),'children':_0x448c63['t']('editHistory.panel.title')})]}),_0x34cdbf&&(0x0,_0x4fe081[_0x666adb(0x1a0)])(_0x4fe081['Fragment'],{'children':_0xd6794?(0x0,_0x4fe081['jsxs'])(_0x666adb(0x4bc),{'ref':_0x53f6d6,'className':_0x666adb(0x370),'children':[_0x2bd036[_0x666adb(0x129)](_0x4f7653=>(0x0,_0x4fe081[_0x666adb(0x11d)])(_0x666adb(0x4bc),{'children':[(0x0,_0x4fe081[_0x666adb(0x1a0)])(_0x666adb(0x4bc),{'className':_0x666adb(0x31f),'children':_0x5c3cff(_0x4f7653[_0x666adb(0x409)],_0x448c63['getCurrentLocale']())}),_0x4f7653[_0x666adb(0x318)][_0x666adb(0x129)]((_0x2f8f2c,_0x1b94dc)=>(0x0,_0x4fe081[_0x666adb(0x1a0)])(_0x3050f2,{'item':_0x2f8f2c,'isNewest':_0x2bd036[0x0]===_0x4f7653&&_0x1b94dc===0x0},_0x2f8f2c['id']))]},_0x4f7653[_0x666adb(0x44f)])),_0x127623&&(0x0,_0x4fe081[_0x666adb(0x1a0)])(_0x666adb(0x4bc),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-center\x20univer-py-4\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':(0x0,_0x4fe081[_0x666adb(0x1a0)])(_0x2bf5a1,{'className':_0x666adb(0x2d0)})})]}):(0x0,_0x4fe081[_0x666adb(0x1a0)])(_0x666adb(0x4bc),{'className':_0x666adb(0x4b3),'children':(0x0,_0x4fe081[_0x666adb(0x1a0)])(_0x2bf5a1,{'className':_0x666adb(0x2d0)})})})]})});}let _0x1e1984=class extends _0x5d0897[_0x1ffeb0(0x2ed)]{constructor(_0x1d8ba,_0x2efb38){const _0x35e62b=_0x1ffeb0;super(),this[_0x35e62b(0x265)]=_0x1d8ba,this[_0x35e62b(0x1f5)]=_0x2efb38,this[_0x35e62b(0x45c)](this[_0x35e62b(0x265)][_0x35e62b(0x400)](_0x1fa003['BuiltInUIPart'][_0x35e62b(0x219)],()=>(0x0,_0x1fa003[_0x35e62b(0x23e)])(_0x52eda2,this[_0x35e62b(0x1f5)])));}};_0x1e1984=_0x1b1300([_0x181878(0x0,_0x1fa003[_0x1ffeb0(0x510)]),_0x181878(0x1,(0x0,_0x5d0897[_0x1ffeb0(0x24f)])(_0x5d0897['Injector']))],_0x1e1984);var _0xaac9f4=class extends _0x5d0897[_0x1ffeb0(0x2ed)]{constructor(){const _0xc3e722=_0x1ffeb0;super(),_0xefc1c8(this,_0xc3e722(0x356),new _0x8c4748[(_0xc3e722(0x3d5))]());}[_0x1ffeb0(0x365)](){const _0x124dde=_0x1ffeb0;return(0x0,_0x5d0897[_0x124dde(0x4a3)])(()=>{});}[_0x1ffeb0(0x3d7)](){}[_0x1ffeb0(0x254)](_0x8a4db1){}[_0x1ffeb0(0x290)](){const _0x5392da=_0x1ffeb0;return this['_dialogOptions$'][_0x5392da(0x353)]();}};let _0x608e87=class extends _0x5d0897[_0x1ffeb0(0x164)]{constructor(_0x2c7696=_0x25e7f7,_0x5787fd,_0x16d4d2,_0x5ab4a4){const _0x5df8b1=_0x1ffeb0;super(),this[_0x5df8b1(0x23b)]=_0x2c7696,this[_0x5df8b1(0x1f5)]=_0x5787fd,this[_0x5df8b1(0x3fc)]=_0x16d4d2,this[_0x5df8b1(0x4c1)]=_0x5ab4a4;let {..._0xd0981c}=(0x0,_0x5d0897[_0x5df8b1(0x355)])({},_0x25e7f7,this[_0x5df8b1(0x23b)]);this[_0x5df8b1(0x4c1)][_0x5df8b1(0x2a6)](_0x4063e5,_0xd0981c);}['onStarting'](){const _0x21cde9=_0x1ffeb0;[[_0x12879d],[_0x428fb6],[_0x38c36b],[_0xfc0886],[_0x1e1984],[_0x532bf],[_0x4a325b[_0x21cde9(0x1e4)],{'useClass':_0x32430f['SnapshotServerOverHTTPService']}],[_0x1fa003[_0x21cde9(0x4a7)],{'useClass':_0xaac9f4}],[_0x3417e2[_0x21cde9(0x3c1)],{'useClass':_0x32430f[_0x21cde9(0x4f3)]}]][_0x21cde9(0x1ac)](_0x3874db=>this[_0x21cde9(0x1f5)][_0x21cde9(0x161)](_0x3874db)),this[_0x21cde9(0x1f5)][_0x21cde9(0x2b2)](_0x428fb6);}[_0x1ffeb0(0x436)](){const _0x606a1c=_0x1ffeb0;[[_0x1924fa]][_0x606a1c(0x1ac)](_0x1dfea9=>{const _0x4106ae=_0x606a1c;this['disposeWithMe'](this[_0x4106ae(0x3fc)][_0x4106ae(0x284)](_0x5d0897[_0x4106ae(0x3b2)][_0x4106ae(0x17b)],_0x1dfea9));}),this[_0x606a1c(0x1f5)][_0x606a1c(0x2b2)](_0x532bf),this[_0x606a1c(0x1f5)][_0x606a1c(0x2b2)](_0x1e1984);}[_0x1ffeb0(0x313)](){const _0x55370e=_0x1ffeb0;this[_0x55370e(0x1f5)][_0x55370e(0x2b2)](_0x38c36b);}};_0xefc1c8(_0x608e87,_0x1ffeb0(0x1e6),_0x1ffeb0(0x48e)),_0xefc1c8(_0x608e87,'packageName',_0x22d41e),_0xefc1c8(_0x608e87,_0x1ffeb0(0x504),_0x5f23b0),_0x608e87=_0x1b1300([(0x0,_0x5d0897[_0x1ffeb0(0x10f)])(_0x356044[_0x1ffeb0(0x22d)],_0x23682b[_0x1ffeb0(0x141)]),_0x181878(0x1,(0x0,_0x5d0897[_0x1ffeb0(0x24f)])(_0x5d0897[_0x1ffeb0(0x1ca)])),_0x181878(0x2,_0x28b2d4[_0x1ffeb0(0x2a4)]),_0x181878(0x3,_0x5d0897[_0x1ffeb0(0x459)])],_0x608e87);function _0xab5a38(){const _0x40a188=_0x1ffeb0;let _0x2249cb=(0x0,_0x1fa003[_0x40a188(0x1ef)])(_0x12879d),_0x5ae1e4=(0x0,_0x1fa003[_0x40a188(0x1ef)])(_0x5d0897[_0x40a188(0x422)]),_0x5ca284=(0x0,_0x1fa003[_0x40a188(0x2ba)])(_0x2249cb[_0x40a188(0x2eb)]),_0x497e79=(0x0,_0x4a1f6d[_0x40a188(0x18d)])(()=>_0x5ca284?_0x2249cb[_0x40a188(0x1b4)]():!0x1,[_0x2249cb,_0x5ca284]),_0x271c61=(0x0,_0x4a1f6d['useCallback'])(()=>{const _0x52b245=_0x40a188;_0x2249cb['status']=_0x432a59[_0x52b245(0x210)];},[_0x2249cb]),_0x563d44=(0x0,_0x4a1f6d[_0x40a188(0x189)])(()=>{const _0x52e96e=_0x40a188;_0x2249cb[_0x52e96e(0x22e)]();},[_0x2249cb]);return(0x0,_0x4fe081[_0x40a188(0x11d)])(_0x40a188(0x4bc),{'className':(0x0,_0x54512b[_0x40a188(0x24e)])(_0x40a188(0x4bb),_0x54512b['borderBottomClassName']),'children':[(0x0,_0x4fe081[_0x40a188(0x1a0)])('a',{'className':_0x40a188(0x1cb),'role':_0x40a188(0x3dd),'onClick':_0x271c61,'children':(0x0,_0x4fe081[_0x40a188(0x1a0)])(_0x3875c1,{'className':_0x40a188(0x1f1)})}),(0x0,_0x4fe081[_0x40a188(0x1a0)])(_0x40a188(0x4bc),{'className':_0x40a188(0x4b3),'children':_0x497e79&&(0x0,_0x4fe081[_0x40a188(0x1a0)])(_0x54512b[_0x40a188(0x46b)],{'variant':'primary','onClick':_0x563d44,'children':_0x5ae1e4['t'](_0x40a188(0x226))})})]});}let _0x24a7a2=class extends _0x5d0897[_0x1ffeb0(0x2ed)]{constructor(_0x53b607,_0x78dd4d,_0x39625d,_0x509bdc,_0x3e41d1,_0x2fdc63,_0x228872){const _0x257df8=_0x1ffeb0;super(),this['_permissionService']=_0x53b607,this[_0x257df8(0x265)]=_0x78dd4d,this[_0x257df8(0x2e0)]=_0x39625d,this[_0x257df8(0x266)]=_0x509bdc,this[_0x257df8(0x1dd)]=_0x3e41d1,this[_0x257df8(0x1f5)]=_0x2fdc63,this[_0x257df8(0x4c1)]=_0x228872,this['_init']();}[_0x1ffeb0(0x3f3)](){const _0x4c3f61=_0x1ffeb0;this['disposeWithMe'](this[_0x4c3f61(0x1dd)]['currentVersion$']['subscribe'](_0x4d4ef2=>{const _0x202df8=_0x4c3f61;_0x4d4ef2&&this[_0x202df8(0x1dd)][_0x202df8(0x23d)](_0x4d4ef2);})),this[_0x4c3f61(0x45c)](this[_0x4c3f61(0x2a0)][_0x4c3f61(0x4d3)][_0x4c3f61(0x3da)](_0x4d4f5f=>{const _0x53aecd=_0x4c3f61;let _0x2705a7=this[_0x53aecd(0x1dd)][_0x53aecd(0x2ae)];_0x2705a7&&(_0x4d4f5f['subType']===_0x529394[_0x53aecd(0x2f9)]&&_0x4d4f5f[_0x53aecd(0x46f)]===!0x0&&this[_0x53aecd(0x2a0)]['updatePermissionPoint'](new _0xefe5da[(_0x53aecd(0x31b))](_0x2705a7)['id'],!0x1),_0x4d4f5f['subType']===_0x529394[_0x53aecd(0x227)]&&_0x4d4f5f[_0x53aecd(0x46f)]===!0x0&&this[_0x53aecd(0x2a0)][_0x53aecd(0x36d)](new _0xefe5da['WorkbookRenameSheetPermission'](_0x2705a7)['id'],!0x1),_0x4d4f5f[_0x53aecd(0x1d8)]===_0x529394[_0x53aecd(0x30b)]&&_0x4d4f5f['value']===!0x0&&this[_0x53aecd(0x2a0)]['updatePermissionPoint'](new _0xefe5da[(_0x53aecd(0x103))](_0x2705a7)['id'],!0x1),_0x4d4f5f[_0x53aecd(0x1d8)]===_0x529394[_0x53aecd(0x374)]&&_0x4d4f5f['value']===!0x0&&this[_0x53aecd(0x2a0)]['updatePermissionPoint'](new _0xefe5da[(_0x53aecd(0x16a))](_0x2705a7)['id'],!0x1),_0x4d4f5f['subType']===_0x529394['Comment']&&_0x4d4f5f['value']===!0x0&&this['_permissionService'][_0x53aecd(0x36d)](new _0xefe5da[(_0x53aecd(0x31b))](_0x2705a7)['id'],!0x1),_0x4d4f5f[_0x53aecd(0x1d8)]===_0x529394['FloatImg']&&_0x4d4f5f[_0x53aecd(0x46f)]===!0x0&&this['_permissionService'][_0x53aecd(0x36d)](new _0xefe5da['WorkbookEditablePermission'](_0x2705a7)['id'],!0x1));})),this[_0x4c3f61(0x3b0)]();let _0xe5ddaf;this['disposeWithMe'](this[_0x4c3f61(0x1dd)][_0x4c3f61(0x34d)]['subscribe'](_0x5833bf=>{const _0x14493d=_0x4c3f61;this[_0x14493d(0x2e0)][_0x14493d(0x1aa)](),_0xe5ddaf==null||_0xe5ddaf[_0x14493d(0x4f4)](),_0x5833bf===_0xda04f2[_0x14493d(0x451)]&&(this[_0x14493d(0x1dd)]['showMask'](),_0xe5ddaf=this['_messageService'][_0x14493d(0x10d)]({'type':_0x54512b[_0x14493d(0x1db)][_0x14493d(0x4b1)],'content':this[_0x14493d(0x266)]['t'](_0x14493d(0x276)),'duration':0x3e8})),_0x5833bf===_0xda04f2[_0x14493d(0x475)]&&this[_0x14493d(0x1dd)]['hideMask']();}));}[_0x1ffeb0(0x3b0)](){const _0x3ad63d=_0x1ffeb0;var _0x2d8fa9;(_0x2d8fa9=this[_0x3ad63d(0x4c1)][_0x3ad63d(0x367)](_0x3ad63d(0x35d)))!=null&&_0x2d8fa9['historyPanelHidden']||this['disposeWithMe'](this['_uiPartsService']['registerComponent'](_0x1fa003[_0x3ad63d(0x3cb)][_0x3ad63d(0x128)],()=>(0x0,_0x1fa003[_0x3ad63d(0x23e)])(_0xab5a38,this[_0x3ad63d(0x1f5)])));}};_0x24a7a2=_0x1b1300([_0x181878(0x0,_0x5d0897['IPermissionService']),_0x181878(0x1,_0x1fa003[_0x1ffeb0(0x510)]),_0x181878(0x2,_0x1fa003[_0x1ffeb0(0x47c)]),_0x181878(0x3,(0x0,_0x5d0897[_0x1ffeb0(0x24f)])(_0x5d0897[_0x1ffeb0(0x422)])),_0x181878(0x4,(0x0,_0x5d0897[_0x1ffeb0(0x24f)])(_0x12879d)),_0x181878(0x5,(0x0,_0x5d0897[_0x1ffeb0(0x24f)])(_0x5d0897['Injector'])),_0x181878(0x6,_0x5d0897[_0x1ffeb0(0x459)])],_0x24a7a2);let _0x1542a6=[{'key':_0x487d26[_0x1ffeb0(0x306)],'labelKey':_0x1ffeb0(0x1b7)},{'key':_0x487d26['User'],'labelKey':'editHistory.panel.filterUser'},{'key':_0x487d26['Character'],'labelKey':'editHistory.panel.filterAi'}];function _0x347ad6(_0x100ba3){const _0x1ab09d=_0x1ffeb0;let {className:_0x2e1371}=_0x100ba3;return(0x0,_0x4fe081[_0x1ab09d(0x11d)])('svg',{'className':_0x2e1371,'fill':_0x1ab09d(0x15c),'height':'20','viewBox':_0x1ab09d(0x381),'width':'20','xmlns':_0x1ab09d(0x1c1),'children':[(0x0,_0x4fe081['jsx'])('path',{'d':_0x1ab09d(0x434),'fill':'url(#paint0_linear_236_415)'}),(0x0,_0x4fe081[_0x1ab09d(0x1a0)])('defs',{'children':(0x0,_0x4fe081[_0x1ab09d(0x11d)])(_0x1ab09d(0x26d),{'gradientUnits':'userSpaceOnUse','id':_0x1ab09d(0x253),'x1':_0x1ab09d(0x124),'x2':'18.1758','y1':_0x1ab09d(0x1e8),'y2':'6.77028','children':[(0x0,_0x4fe081[_0x1ab09d(0x1a0)])(_0x1ab09d(0x33e),{'offset':'0.01','stopColor':'#FF557D'}),(0x0,_0x4fe081[_0x1ab09d(0x1a0)])(_0x1ab09d(0x33e),{'offset':_0x1ab09d(0x217),'stopColor':_0x1ab09d(0x42b)}),(0x0,_0x4fe081['jsx'])('stop',{'offset':_0x1ab09d(0x16f),'stopColor':_0x1ab09d(0x2c0)}),(0x0,_0x4fe081['jsx'])(_0x1ab09d(0x33e),{'offset':'1','stopColor':'#01C2AA'})]})})]});}function _0x50546e(_0x5cd6c8){const _0x390eec=_0x1ffeb0;let {value:_0x4f5baa,onChange:_0x5932c0}=_0x5cd6c8,_0x39f78f=(0x0,_0x1fa003[_0x390eec(0x1ef)])(_0x5d0897[_0x390eec(0x422)]);return(0x0,_0x4fe081[_0x390eec(0x1a0)])(_0x390eec(0x4bc),{'className':_0x390eec(0x208),'children':(0x0,_0x4fe081[_0x390eec(0x1a0)])(_0x54512b[_0x390eec(0x148)],{'items':_0x1542a6['map'](_0x151d1c=>({'label':_0x39f78f['t'](_0x151d1c[_0x390eec(0x495)]),'value':_0x151d1c[_0x390eec(0x391)]})),'value':_0x4f5baa,'onChange':_0x5932c0})});}function _0x50acee(){const _0x473052=_0x1ffeb0;var _0x4a42ae,_0x28897a;let _0x35bc82=(0x0,_0x1fa003[_0x473052(0x1ef)])(_0x12879d),_0x2e0baf=(0x0,_0x1fa003['useDependency'])(_0xfc0886),_0x14b0b6=(0x0,_0x1fa003[_0x473052(0x1ef)])(_0x38c36b),_0x2bae08=(0x0,_0x1fa003[_0x473052(0x1ef)])(_0x5d0897[_0x473052(0x459)]),_0x3f3b35=(0x0,_0x1fa003[_0x473052(0x2ba)])(_0x35bc82[_0x473052(0x392)]),_0x54f9bf=(0x0,_0x1fa003[_0x473052(0x2ba)])(_0x35bc82[_0x473052(0x26f)],[]),[_0x3c029d,_0x1a7be6]=(0x0,_0x4a1f6d[_0x473052(0x1cc)])(new Set()),[_0x469f7a,_0x303457]=(0x0,_0x4a1f6d[_0x473052(0x1cc)])(new Map()),[_0x13b172,_0x2d422a]=(0x0,_0x4a1f6d[_0x473052(0x1cc)])(new Set()),[_0x4ed5af,_0x15f90c]=(0x0,_0x4a1f6d[_0x473052(0x1cc)])(_0x487d26[_0x473052(0x306)]),_0xa881b1=(0x0,_0x1fa003[_0x473052(0x1ef)])(_0x5d0897[_0x473052(0x422)]),_0x3f7c53=(0x0,_0x4a1f6d[_0x473052(0x4ad)])(null),[_0x133b2d,_0x4c0d7a]=(0x0,_0x4a1f6d[_0x473052(0x1cc)])(!0x1),[_0x144b17,_0x3240c9]=(0x0,_0x4a1f6d[_0x473052(0x1cc)])([]),_0x629d3a=(_0x4a42ae=(_0x28897a=_0x2bae08[_0x473052(0x367)](_0x473052(0x35d)))==null?void 0x0:_0x28897a[_0x473052(0x10b)])==null?!0x1:_0x4a42ae,_0x249795=_0x12b088(_0x3f3b35),[_0x33088f,_0xe8d829]=(0x0,_0x4a1f6d['useState'])([]),_0x28c46e=(0x0,_0x4a1f6d[_0x473052(0x18d)])(()=>_0x54f9bf[_0x473052(0x129)](_0x5921a6=>({'key':_0x5921a6[_0x473052(0x1f7)],'label':_0x5921a6[_0x473052(0x203)]})),[_0x54f9bf]);(0x0,_0x4a1f6d['useEffect'])(()=>{const _0x230cef=_0x473052;_0x35bc82[_0x230cef(0x27e)]();},[]);let _0x24f7b0=(0x0,_0x4a1f6d[_0x473052(0x189)])(_0xb81d5b=>{const _0xc3781a=_0x473052;_0xe8d829([]),_0x15f90c(_0xb81d5b),_0x35bc82['unitId']&&_0x35bc82['loadInitialVersions'](_0x35bc82[_0xc3781a(0x2ae)],{'origin':_0xb81d5b});},[_0x35bc82]);(0x0,_0x4a1f6d[_0x473052(0x341)])(()=>{const _0x15bc7a=_0x473052;let _0x428e44=_0x3f7c53[_0x15bc7a(0x49b)];if(!_0x428e44)return;let _0x255836,_0x124575=_0x26d03a=>{clearTimeout(_0x255836),_0x255836=setTimeout(()=>{const _0xd6f061=_0x4604;let {target:_0x28eeb2}=_0x26d03a;if(_0x28eeb2){let {scrollTop:_0x60071,scrollHeight:_0x48e647,clientHeight:_0x432917}=_0x28eeb2;_0x60071+_0x432917>=_0x48e647-0x5&&_0x35bc82[_0xd6f061(0x4b7)]();}},0x64);};return _0x428e44[_0x15bc7a(0x4a4)](_0x15bc7a(0x2f6),_0x124575),()=>{const _0x1d9782=_0x15bc7a;clearTimeout(_0x255836),_0x428e44['removeEventListener'](_0x1d9782(0x2f6),_0x124575);};},[_0x35bc82]);let _0x5c27cb=(0x0,_0x4a1f6d[_0x473052(0x189)])(async _0x25be20=>{const _0x7db947=_0x473052;let _0x56ab2e=_0x25be20['id'];if(_0x3c029d[_0x7db947(0x417)](_0x56ab2e)){_0x1a7be6(_0x566b3c=>{const _0x19183b=_0x7db947;let _0xb67be0=new Set(_0x566b3c);return _0xb67be0[_0x19183b(0x211)](_0x56ab2e),_0xb67be0;});return;}if(_0x469f7a[_0x7db947(0x417)](_0x56ab2e)){_0x1a7be6(_0x55f4f5=>new Set(_0x55f4f5)[_0x7db947(0x161)](_0x56ab2e));return;}_0x2d422a(_0x3eb7d8=>new Set(_0x3eb7d8)['add'](_0x56ab2e));try{var _0x52dcd5;let _0x4555bb=_0x35bc82[_0x7db947(0x2ae)];if(!_0x4555bb)return;let _0xe3c50c=await _0x2e0baf['getHistoryChangesets']({},{'unitId':_0x4555bb,'startRevision':_0x25be20[_0x7db947(0x324)],'endRevision':_0x25be20[_0x7db947(0x4e8)]});if(((_0x52dcd5=_0xe3c50c[_0x7db947(0x2cf)])==null?void 0x0:_0x52dcd5[_0x7db947(0x4be)])===0x1&&_0xe3c50c[_0x7db947(0x27f)]){let _0x18d568=_0xe3c50c[_0x7db947(0x27f)][_0x7db947(0x323)]()[_0x7db947(0x129)](_0x26dcfb=>{const _0x3eff62=_0x7db947;var _0x1a74f2,_0x3332a3;let _0x4a0e8c=(0x0,_0x4a325b[_0x3eff62(0x449)])(_0x26dcfb),_0x5c8aac=_0x26dcfb['userID']||_0x4a0e8c[_0x3eff62(0x33c)],_0x4458fc=(_0x1a74f2=_0xe3c50c['users'])==null?void 0x0:_0x1a74f2[_0x5c8aac],_0x1596a7=((_0x3332a3=_0x26dcfb['mutations'])==null?void 0x0:_0x3332a3[_0x3eff62(0x129)](_0x1cbbe1=>_0x1cbbe1['id']))||[];return{'id':_0x56ab2e+'-detail-'+_0x26dcfb[_0x3eff62(0x304)],'unitId':_0x26dcfb[_0x3eff62(0x186)],'startRev':_0x26dcfb[_0x3eff62(0x304)],'endRev':_0x26dcfb[_0x3eff62(0x304)],'time':_0x26dcfb[_0x3eff62(0x443)]?_0x26dcfb[_0x3eff62(0x443)]*0x3e8:void 0x0,'user':(_0x4458fc==null?void 0x0:_0x4458fc[_0x3eff62(0x203)])||'','users':[(_0x4458fc==null?void 0x0:_0x4458fc[_0x3eff62(0x203)])||''],'commands':_0x1596a7,'isAnonymous':!0x1,'isDetail':!0x0,'parentId':_0x56ab2e,'additionalFields':_0x26dcfb['additionalFields']};});_0x303457(_0x282213=>new Map(_0x282213)['set'](_0x56ab2e,_0x18d568)),_0x18d568[_0x7db947(0x1ac)](_0x316570=>{const _0x239881=_0x7db947;_0x35bc82[_0x239881(0x1c5)](_0x316570);});for(let _0x1631ac of _0x18d568)await _0x14b0b6[_0x7db947(0x29b)](_0x1631ac['id']);_0x1a7be6(_0x1a5cb9=>new Set(_0x1a5cb9)['add'](_0x56ab2e));}}catch(_0xaf39ae){console['error'](_0x7db947(0x479),_0xaf39ae);}finally{_0x2d422a(_0x3cf867=>{const _0x2d2370=_0x7db947;let _0x59827f=new Set(_0x3cf867);return _0x59827f[_0x2d2370(0x211)](_0x56ab2e),_0x59827f;});}},[_0x3c029d,_0x469f7a,_0x35bc82,_0x2e0baf,_0x14b0b6]);return _0x3f3b35?(0x0,_0x4fe081[_0x473052(0x11d)])(_0x473052(0x4bc),{'ref':_0x3f7c53,'className':_0x473052(0x1be),'children':[_0x629d3a&&(0x0,_0x4fe081[_0x473052(0x11d)])(_0x473052(0x4bc),{'className':_0x473052(0x37d),'children':[(0x0,_0x4fe081['jsx'])(_0x473052(0x4bc),{'className':_0x473052(0x4ae),'children':(0x0,_0x4fe081[_0x473052(0x1a0)])(_0x50546e,{'value':_0x4ed5af,'onChange':_0x24f7b0})}),(0x0,_0x4fe081[_0x473052(0x1a0)])(_0x54512b[_0x473052(0x33a)],{'align':_0x473052(0x172),'open':_0x133b2d,'onOpenChange':_0x3d2a26=>{_0x4c0d7a(_0x3d2a26),_0x3d2a26&&_0x3240c9(_0x33088f);},'overlay':(0x0,_0x4fe081[_0x473052(0x11d)])(_0x473052(0x4bc),{'className':_0x473052(0x4cc),'children':[(0x0,_0x4fe081[_0x473052(0x1a0)])(_0x473052(0x4bc),{'className':_0x473052(0x363),'children':_0xa881b1['t'](_0x473052(0x2ea))}),(0x0,_0x4fe081[_0x473052(0x1a0)])(_0x473052(0x4bc),{'className':_0x473052(0x35f)}),(0x0,_0x4fe081[_0x473052(0x1a0)])(_0x473052(0x4bc),{'className':_0x473052(0x498),'children':_0x28c46e[_0x473052(0x129)](_0xd820a9=>{const _0x404923=_0x473052;let _0x410ce7=_0x144b17['includes'](_0xd820a9[_0x404923(0x391)]);return(0x0,_0x4fe081[_0x404923(0x11d)])(_0x404923(0x4bc),{'className':_0x404923(0x246),'onClick':()=>{const _0x56da78=_0x404923;_0x3240c9(_0x410ce7?_0x144b17[_0x56da78(0x4e7)](_0xe096c2=>_0xe096c2!==_0xd820a9[_0x56da78(0x391)]):[..._0x144b17,_0xd820a9[_0x56da78(0x391)]]);},'children':[(0x0,_0x4fe081[_0x404923(0x1a0)])(_0x54512b[_0x404923(0x2d1)],{'checked':_0x410ce7}),(0x0,_0x4fe081[_0x404923(0x1a0)])(_0x404923(0x300),{'className':_0x404923(0x4d2),'children':_0xd820a9[_0x404923(0x505)]})]},_0xd820a9[_0x404923(0x391)]);})}),(0x0,_0x4fe081[_0x473052(0x1a0)])(_0x473052(0x4bc),{'className':_0x473052(0x35f)}),(0x0,_0x4fe081[_0x473052(0x11d)])('div',{'className':_0x473052(0x1f6),'children':[(0x0,_0x4fe081[_0x473052(0x1a0)])(_0x54512b[_0x473052(0x46b)],{'size':_0x473052(0x50e),'variant':_0x473052(0x4e4),'onClick':()=>{_0x3240c9(_0x33088f),_0x4c0d7a(!0x1);},'children':_0xa881b1['t'](_0x473052(0x2a1))}),(0x0,_0x4fe081['jsx'])(_0x54512b[_0x473052(0x46b)],{'size':_0x473052(0x50e),'onClick':()=>{const _0x505218=_0x473052;_0xe8d829(_0x144b17),_0x35bc82[_0x505218(0x2ae)]&&_0x35bc82[_0x505218(0x1a3)](_0x35bc82[_0x505218(0x2ae)],{'origin':_0x4ed5af,'userIds':_0x144b17}),_0x4c0d7a(!0x1);},'children':_0xa881b1['t'](_0x473052(0x12b))})]})]}),'children':(0x0,_0x4fe081['jsx'])(_0x54512b[_0x473052(0x46b)],{'className':'univer-rounded-xs\x20univer-h-6\x20univer-cursor-pointer\x20univer-p-1\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','size':_0x473052(0x50e),'variant':_0x473052(0x4e4),'children':(0x0,_0x4fe081[_0x473052(0x1a0)])(_0x4c6366,{'className':(0x0,_0x54512b[_0x473052(0x24e)])(_0x473052(0x1fe),{'univer-text-blue-600\x20dark:!univer-text-blue-400':_0x33088f[_0x473052(0x34a)]>0x0})})})})]}),(0x0,_0x4fe081[_0x473052(0x1a0)])(_0x473052(0x4bc),{'className':_0x473052(0x427),'children':_0x249795[_0x473052(0x129)]((_0x335c37,_0x17d6af)=>(0x0,_0x4fe081[_0x473052(0x11d)])(_0x4a1f6d[_0x473052(0x298)],{'children':[(0x0,_0x4fe081[_0x473052(0x1a0)])(_0x39b665,{'date':_0x335c37[_0x473052(0x44f)],'startDate':_0x335c37[_0x473052(0x409)],'endDate':_0x335c37[_0x473052(0x478)]}),_0x335c37[_0x473052(0x318)]['map']((_0x26e049,_0x16e753)=>{const _0x5aac66=_0x473052;let _0x32f7b0=_0x3c029d[_0x5aac66(0x417)](_0x26e049['id']),_0x581e0f=_0x13b172['has'](_0x26e049['id']),_0x1e10cc=_0x469f7a[_0x5aac66(0x2b2)](_0x26e049['id'])||[];return(0x0,_0x4fe081['jsxs'])(_0x4a1f6d['Fragment'],{'children':[(0x0,_0x4fe081['jsx'])(_0x156a1b,{'item':_0x26e049,'onToggleExpand':_0x5c27cb,'isExpanded':_0x32f7b0,'isLoadingDetail':_0x581e0f}),_0x32f7b0&&_0x1e10cc[_0x5aac66(0x129)]((_0x226488,_0x11d934)=>(0x0,_0x4fe081[_0x5aac66(0x11d)])('div',{'className':_0x5aac66(0x16b),'style':{'marginTop':_0x5aac66(0x44a),'marginBottom':_0x5aac66(0x44a)},'children':[(0x0,_0x4fe081[_0x5aac66(0x11d)])(_0x5aac66(0x4bc),{'className':_0x5aac66(0x3c6),'style':{'left':_0x5aac66(0x28d),'width':_0x5aac66(0x295)},'children':[_0x11d934<_0x1e10cc[_0x5aac66(0x34a)]-0x1&&(0x0,_0x4fe081[_0x5aac66(0x1a0)])('div',{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-top-0\x20univer-h-full\x20univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','style':{'left':'0','width':_0x5aac66(0x3a8)}}),_0x11d934===_0x1e10cc[_0x5aac66(0x34a)]-0x1&&(0x0,_0x4fe081['jsx'])(_0x5aac66(0x4bc),{'className':_0x5aac66(0x491),'style':{'left':'0','width':_0x5aac66(0x3a8),'height':_0x5aac66(0x10a)}}),(0x0,_0x4fe081[_0x5aac66(0x1a0)])(_0x5aac66(0x4bc),{'className':_0x5aac66(0x3dc),'style':{'left':'0','width':_0x5aac66(0x295),'height':'1px','transform':_0x5aac66(0x4ef)}})]}),(0x0,_0x4fe081['jsx'])(_0x156a1b,{'item':_0x226488,'isDetail':!0x0})]},_0x17d6af+'-'+_0x16e753+_0x5aac66(0x486)+_0x11d934))]},_0x17d6af+'-'+_0x16e753);})]},_0x335c37[_0x473052(0x44f)]))})]}):(0x0,_0x4fe081['jsx'])(_0x1e9274,{});}function _0x1e9274(){const _0x535792=_0x1ffeb0;return(0x0,_0x4fe081[_0x535792(0x1a0)])('div',{'className':_0x535792(0x34f),'children':(0x0,_0x4fe081[_0x535792(0x1a0)])(_0x535792(0x300),{'className':_0x535792(0x1e2),'children':(0x0,_0x4fe081[_0x535792(0x1a0)])(_0x2bf5a1,{'className':_0x535792(0x3e8)})})});}function _0x39b665(_0x401687){const _0x461998=_0x1ffeb0;let _0x27f444=(0x0,_0x1fa003[_0x461998(0x1ef)])(_0x5d0897[_0x461998(0x422)]),{date:_0x46fa66,startDate:_0x5ee36d=_0x46fa66}=_0x401687;return(0x0,_0x4fe081[_0x461998(0x1a0)])(_0x461998(0x4bc),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-pt-1.5\x20univer-text-sm\x20univer-font-medium','children':_0x5c3cff(_0x5ee36d,_0x27f444[_0x461998(0x4f7)]())});}function _0x156a1b(_0x29fd70){const _0x57546c=_0x1ffeb0;let {item:_0xff0ee2,onToggleExpand:_0x437fd1,isExpanded:_0x403665,isLoadingDetail:_0x198902,isDetail:_0x4d5c1d}=_0x29fd70,{time:_0x306ccf,user:_0x1f9b79,startRevCreateTime:_0x1b7c23,endRevCreateTime:_0x3d06f3,users:_0x54cc64}=_0xff0ee2,_0x1cd4f8=(0x0,_0x1fa003['useDependency'])(_0x12879d),_0x5f185=(0x0,_0x1fa003['useDependency'])(_0x38c36b),_0x47c8b2=(0x0,_0x1fa003[_0x57546c(0x2ba)])(_0x1cd4f8[_0x57546c(0x2eb)],'',!0x0)===_0xff0ee2['id'],_0x347add=_0x1cd4f8[_0x57546c(0x25e)]()===_0xff0ee2[_0x57546c(0x4e8)],_0x564617=!_0x347add&&_0x1cd4f8['canRevert'],_0x3caf3a=(0x0,_0x1fa003[_0x57546c(0x1ef)])(_0x5d0897[_0x57546c(0x422)]),_0x2c7ab9=_0x3caf3a['getCurrentLocale'](),_0x4818ee=_0x2c0528(_0x306ccf,_0x2c7ab9),_0x31c3c3=_0x2c0528(_0x1b7c23,_0x2c7ab9),_0x180014=_0x2c0528(_0x3d06f3,_0x2c7ab9),_0x393a22=_0x3caf3a['t'](_0x57546c(0x2b7)),_0x3c97d3=_0xff0ee2[_0x57546c(0x324)]!==_0xff0ee2[_0x57546c(0x4e8)],_0x3c6657=!!_0xff0ee2[_0x57546c(0x22c)],_0x481dd2=(0x0,_0x4a1f6d['useMemo'])(()=>{const _0x24c242=_0x57546c;let _0x163f90=_0x1f9b79||_0x3caf3a['t'](_0x24c242(0x2c1));return _0x54cc64&&_0x54cc64[_0x24c242(0x4e7)](_0x13133c=>_0x13133c)[_0x24c242(0x34a)]>0x0&&(_0x163f90=_0x54cc64[_0x24c242(0x4e7)](_0x10a95c=>_0x10a95c)['join'](',\x20')),_0x3c6657?''+_0x3caf3a['t'](_0x24c242(0x293))+(_0x163f90?'\x20('+_0x163f90+')':''):_0x163f90;},[_0x3c6657,_0x1f9b79,_0x54cc64,_0x3caf3a]),_0x49d056=(0x0,_0x4a1f6d[_0x57546c(0x189)])(async _0x2a9b1e=>{const _0x4ac044=_0x57546c;_0x1cd4f8[_0x4ac044(0x4e1)]!==_0xda04f2['Loading']&&(_0x1cd4f8[_0x4ac044(0x144)]=_0x2a9b1e,_0x4d5c1d&&(await _0x5f185[_0x4ac044(0x29b)](_0x2a9b1e),await _0x1cd4f8['triggerLoadSheet'](_0x2a9b1e)));},[_0x1cd4f8,_0x5f185,_0x4d5c1d]),_0x5c4e69=(0x0,_0x4a1f6d[_0x57546c(0x189)])(_0x4c656b=>{const _0x519a4b=_0x57546c;_0x1cd4f8[_0x519a4b(0x22e)](_0x4c656b);},[_0x1cd4f8]),_0x4c9253=(0x0,_0x4a1f6d[_0x57546c(0x189)])(_0x5e2a9d=>{const _0x161b4e=_0x57546c;_0x5e2a9d[_0x161b4e(0x496)](),_0x437fd1&&!_0x198902&&_0x437fd1(_0xff0ee2);},[_0x437fd1,_0xff0ee2,_0x198902]);return(0x0,_0x4fe081[_0x57546c(0x11d)])(_0x57546c(0x4bc),{'className':(0x0,_0x54512b[_0x57546c(0x24e)])('univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-2\x20univer-rounded-md\x20univer-px-1\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800',{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x47c8b2,'univer-ml-6':_0x4d5c1d}),'onClick':()=>_0x49d056(_0xff0ee2['id']),'children':[(0x0,_0x4fe081['jsx'])(_0x57546c(0x4bc),{'className':_0x57546c(0x34f),'style':{'width':_0x57546c(0x4a2)},'children':_0x3c97d3&&!_0x4d5c1d&&(0x0,_0x4fe081[_0x57546c(0x1a0)])(_0x57546c(0x4bc),{'onClick':_0x4c9253,'className':_0x57546c(0x262),'children':_0x198902?(0x0,_0x4fe081[_0x57546c(0x1a0)])(_0x2bf5a1,{'className':'univer-size-4\x20univer-animate-spin'}):_0x403665?(0x0,_0x4fe081[_0x57546c(0x1a0)])(_0x3be1e7,{'className':'univer-size-8\x20univer-text-gray-400'}):(0x0,_0x4fe081['jsx'])(_0x5793f0,{'className':_0x57546c(0x3de)})})}),(0x0,_0x4fe081[_0x57546c(0x11d)])(_0x57546c(0x4bc),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-gap-1','children':[(0x0,_0x4fe081[_0x57546c(0x11d)])('div',{'className':'univer-flex\x20univer-h-6\x20univer-w-full\x20univer-items-center\x20univer-justify-between','children':[(0x0,_0x4fe081[_0x57546c(0x11d)])(_0x57546c(0x4bc),{'className':_0x57546c(0x130),'children':[_0x3c6657&&(0x0,_0x4fe081[_0x57546c(0x1a0)])(_0x347ad6,{'className':_0x57546c(0x36c)}),(0x0,_0x4fe081[_0x57546c(0x1a0)])(_0x57546c(0x300),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-font-medium\x20univer-text-gray-700\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':_0x481dd2}),(0x0,_0x4fe081[_0x57546c(0x1a0)])(_0x57546c(0x300),{'className':_0x57546c(0x354),'children':_0x4d5c1d?_0x4818ee[_0x57546c(0x2ee)]:_0x1b7c23===_0x3d06f3?_0x31c3c3['time']:_0x31c3c3[_0x57546c(0x2ee)]+'\x20-\x20'+_0x180014[_0x57546c(0x2ee)]}),_0x347add&&(0x0,_0x4fe081[_0x57546c(0x1a0)])(_0x57546c(0x300),{'className':_0x57546c(0x3c9),'children':_0x393a22})]}),(0x0,_0x4fe081[_0x57546c(0x1a0)])(_0x57546c(0x4bc),{'children':_0x564617&&(0x0,_0x4fe081[_0x57546c(0x1a0)])(_0x54512b[_0x57546c(0x31e)],{'title':_0x3caf3a['t'](_0x57546c(0x24a)),'children':(0x0,_0x4fe081['jsx'])(_0x57546c(0x4bc),{'onClick':_0x134540=>{_0x134540['stopPropagation'](),_0x5c4e69(_0xff0ee2['id']);},'className':_0x57546c(0x3db),'children':(0x0,_0x4fe081[_0x57546c(0x1a0)])(_0x4115e2,{})})})})]}),(0x0,_0x4fe081['jsx'])(_0x57546c(0x4bc),{'className':'univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','children':_0x197a93(_0xff0ee2,_0x3caf3a)})]})]});}let _0xc64f58=_0x1ffeb0(0x4d5),_0x28220a=class extends _0x5d0897['Disposable']{constructor(_0x6b9231,_0x347170,_0x55103a,_0x473998,_0x50a0b4){const _0x2d6871=_0x1ffeb0;super(),this[_0x2d6871(0x12c)]=_0x6b9231,this[_0x2d6871(0x375)]=_0x347170,this[_0x2d6871(0x266)]=_0x55103a,this['_historyManagerService']=_0x473998,this[_0x2d6871(0x4c1)]=_0x50a0b4,_0xefc1c8(this,_0x2d6871(0x317),null),this[_0x2d6871(0x3f3)]();}['_init'](){this['_initPanel']();}['_openPanel'](){const _0x48fd38=_0x1ffeb0;var _0x6c5f41;if(this[_0x48fd38(0x317)])return;let _0x3bfc77=((_0x6c5f41=this[_0x48fd38(0x4c1)]['getConfig'](_0x48fd38(0x35d)))==null?void 0x0:_0x6c5f41['historyPanelComponentKey'])||_0xc64f58,_0x97328c={'header':{'title':this[_0x48fd38(0x266)]['t'](_0x48fd38(0x3c4))},'children':{'label':_0x3bfc77},'onClose':()=>{const _0x1ec018=_0x48fd38;this['_sidebarDisposable']=null,this[_0x1ec018(0x1dd)]['status']=_0x432a59[_0x1ec018(0x210)];}};this[_0x48fd38(0x317)]=this['_sidebarService']['open']({..._0x97328c});}[_0x1ffeb0(0x483)](){const _0x276a11=_0x1ffeb0;this[_0x276a11(0x45c)](this[_0x276a11(0x375)][_0x276a11(0x123)](_0xc64f58,_0x50acee)),this['disposeWithMe'](this[_0x276a11(0x1dd)][_0x276a11(0x2a7)][_0x276a11(0x3da)](_0x863e0f=>{const _0x184e50=_0x276a11;_0x863e0f&&this[_0x184e50(0x3ae)]();}));}};_0x28220a=_0x1b1300([_0x181878(0x0,_0x1fa003[_0x1ffeb0(0x4c0)]),_0x181878(0x1,(0x0,_0x5d0897[_0x1ffeb0(0x24f)])(_0x1fa003[_0x1ffeb0(0x38a)])),_0x181878(0x2,(0x0,_0x5d0897['Inject'])(_0x5d0897[_0x1ffeb0(0x422)])),_0x181878(0x3,(0x0,_0x5d0897[_0x1ffeb0(0x24f)])(_0x12879d)),_0x181878(0x4,_0x5d0897[_0x1ffeb0(0x459)])],_0x28220a);let _0x53debe=class extends _0x5d0897['Plugin']{constructor(_0x9a4852=_0x25e7f7,_0x4e7d4e,_0x371f21,_0xeadc11){const _0x260c9e=_0x1ffeb0;super(),this[_0x260c9e(0x23b)]=_0x9a4852,this['_injector']=_0x4e7d4e,this[_0x260c9e(0x3fc)]=_0x371f21,this[_0x260c9e(0x4c1)]=_0xeadc11;let {..._0x3a6a0f}=(0x0,_0x5d0897[_0x260c9e(0x355)])({},_0x25e7f7,this[_0x260c9e(0x23b)]);this[_0x260c9e(0x4c1)]['setConfig'](_0x4063e5,_0x3a6a0f);}[_0x1ffeb0(0x137)](){const _0x15b69a=_0x1ffeb0;[[_0x12879d],[_0x24a7a2],[_0x38c36b],[_0xfc0886],[_0x28220a],[_0x532bf],[_0x4a325b[_0x15b69a(0x1e4)],{'useClass':_0x32430f[_0x15b69a(0x224)]}],[_0x1fa003[_0x15b69a(0x4a7)],{'useClass':_0xaac9f4}],[_0x3417e2[_0x15b69a(0x3c1)],{'useClass':_0x32430f[_0x15b69a(0x4f3)]}]][_0x15b69a(0x1ac)](_0x534882=>this[_0x15b69a(0x1f5)][_0x15b69a(0x161)](_0x534882)),this[_0x15b69a(0x1f5)]['get'](_0x24a7a2);}[_0x1ffeb0(0x436)](){const _0x39d14a=_0x1ffeb0;[[_0x1924fa]][_0x39d14a(0x1ac)](_0x5e6761=>{const _0x26a75e=_0x39d14a;this[_0x26a75e(0x45c)](this[_0x26a75e(0x3fc)][_0x26a75e(0x284)](_0x5d0897[_0x26a75e(0x3b2)][_0x26a75e(0x17b)],_0x5e6761));}),this[_0x39d14a(0x1f5)]['get'](_0x532bf),this['_injector'][_0x39d14a(0x2b2)](_0x28220a);}[_0x1ffeb0(0x313)](){const _0x2685ad=_0x1ffeb0;this[_0x2685ad(0x1f5)][_0x2685ad(0x2b2)](_0x38c36b);}};_0xefc1c8(_0x53debe,'pluginName',_0x1ffeb0(0x38f)),_0xefc1c8(_0x53debe,_0x1ffeb0(0x3c7),_0x22d41e),_0xefc1c8(_0x53debe,_0x1ffeb0(0x504),_0x5f23b0),_0x53debe=_0x1b1300([(0x0,_0x5d0897[_0x1ffeb0(0x10f)])(_0x356044['UniverSheetsUIPlugin'],_0x23682b['UniverNetworkPlugin']),_0x181878(0x1,(0x0,_0x5d0897[_0x1ffeb0(0x24f)])(_0x5d0897['Injector'])),_0x181878(0x2,_0x28b2d4[_0x1ffeb0(0x2a4)]),_0x181878(0x3,_0x5d0897['IConfigService'])],_0x53debe),Object[_0x1ffeb0(0x2bb)](_0x4416cd,'HistoryManagerService',{'enumerable':!0x0,'get':function(){return _0x12879d;}}),_0x4416cd[_0x1ffeb0(0x3b1)]=_0x432a59,_0x4416cd[_0x1ffeb0(0x457)]=_0x487d26,Object['defineProperty'](_0x4416cd,_0x1ffeb0(0x19f),{'enumerable':!0x0,'get':function(){return _0x608e87;}}),Object[_0x1ffeb0(0x2bb)](_0x4416cd,_0x1ffeb0(0x45d),{'enumerable':!0x0,'get':function(){return _0x53debe;}}),Object[_0x1ffeb0(0x2bb)](_0x4416cd,_0x1ffeb0(0x249),{'enumerable':!0x0,'get':function(){return _0x1924fa;}}),Object['defineProperty'](_0x4416cd,_0x1ffeb0(0x200),{'enumerable':!0x0,'get':function(){return _0x38c36b;}});}));
17
+ function _0x3bbe(){const _0x101a7e=['0\x200\x2016\x2017','BackIcon','onPointerMove$','memberId','block','ReorderRangeMutation','SetConditionalRuleMutation','UniverProtocol','defIds','rangeInfo','_revertRevision$','_context','_direction','call','addProtection','onStarting','SetRowVisibleMutation','_unitCurrentVersionMap','LocaleService','refreshRangeProtectPermission','insertShape','startsWith','UpdatePivotTableSourceRangeMutation','getUnitId','url(#restore-icon_clip0_1247_2)','getRelativeToViewportCoord','univer-animate-spin\x20univer-text-gray-400','SetSheetSparklineMutation','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-sticky\x20univer-top-0\x20univer-z-10\x20univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','white','onPointerLeave$','min','scene','WorkbookEditablePermission','-detail-','useEffect','DisposableCollection','SetWorksheetColumnCountMutation','_sheetsChartService','_openPanel','CopyWorksheetEndMutation','_hovered','updateValuePosition','4697370Tjwkmr','univer-pointer-events-auto\x20univer-flex\x20univer-flex-col\x20univer-rounded-t-2xl\x20univer-bg-white\x20univer-shadow-[0_-4px_24px_rgba(0,0,0,0.12)]\x20univer-transition-[height]\x20univer-duration-300\x20dark:!univer-bg-gray-950','editHistory.header.revert','focusUnit','ISidebarService','sparklines','IConfigService','_startBlinking','history-mask','editHistory.action.revertSheetSuffix','_sheetsPivotTableConfigModel','rules','currentColor','endColumn','_diffRangesMap','editHistory.panel.filterAll','ComponentManager','clearInterval','RemoveColMutation','deleteCF','random','INSERT','left','from','FunnelIcon','_initActiveSwitch','setInterval','_transformService','HEADER','SetWorksheetRangeThemeStyleMutation','additionalFields','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-blue-50\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','RemoveSheetsShapeMutation','endRev','UniverIcon','COLUMN','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-items-center\x20univer-justify-between','dateString','center','defs','scrollToShape','bottom','85304rakkDV','rgb','arc','removeChart','SetWorksheetRowHeightMutation','startRow','_compressMutationService','ensureVersion','object','_initMaskContainer','univer-min-w-[240px]','versions','setShapeProps','_historyContainerId','AddWorksheetMergeMutation','BuiltInUIPart','removeNumfmt','SetNumfmtMutation','#0B9EFB','_isBlinkVisible','stringify','UpdateDataValidationMutation','subUnitId','REMOVE','\x20-\x20','univer-flex-1\x20univer-overflow-y-auto','SetColHiddenMutation','HistoryOrigin','startRevision','currentSkeleton$','_sidebarService','insertChart','iterator','setTimeout','removeSparkline','removeTable','merge','_loadParams','FloatImg','Today','10px','_commandService','abs','UNIVER_SHEET','includes','getRuleById','setOffsetY','IPermissionService','updateChartSource','_cellEditorManagerService','SetDrawingApplyMutation','getCurrentLocale','direction','substring','_findOverlappingShapes','reduce','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-font-medium\x20univer-text-gray-700\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','getSubUnitId','columnData','transform','12px','editHistory.info.loading','showDiffMarks','setRangeValues','setPivotValueFilter','ranges','DeleteConditionalRuleMutation','BehaviorSubject','univer-w-10','SetWorksheetNameMutation','currentVersion','_blinkIntervalTimer','_workbookDataCache','setRightToLeft','entered','clear','useRef','end','isTransformMutationsSuccess','deleteWorksheetRangeTheme','WorkbookHideSheetPermission','removeSheet','DeleteSheetTableMutation','getHours','show','#FF557D','Comment','setRowData','children','-drawing-','filter','SetWorksheetActiveOperation','editHistory.panel.currentVersion','canRevert','UniverProSheetsChart','univer-m-auto\x20univer-animate-spin','rect','useState','commands','VersionDiffRenderController','_renderBorderRanges','Entered','_maskContainer','RemoveSheetsChartMutation','fetchCreatorList','deleteCellRanges','RemoveNumfmtMutation','connectInjector','_renderCellRanges','ISnapshotServerService','SetWorksheetRowIsAutoHeightMutation','LoadingMultiIcon','addEventListener','parse','_borderDiffs','editHistory.panel.currentUser','key','chartModelId','SparklineDataSourceModel','SetPivotFieldFormatMutation','mutations','m1Prime','useMemo','VIEW_MAIN','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-shrink-0\x20univer-cursor-pointer\x20univer-flex-col\x20univer-items-center\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','setRowAutoHeight','RevertRevisionMutation','univer-mb-0.5\x20univer-flex\x20univer-items-center\x20univer-gap-2','100%','defineProperty','sheet','2407020xHJjwl','Failed\x20to\x20fetch\x20version\x20details:','_snapshotServerService','IConfirmService','UniverDesign','removePivotTable','users','data','SetSheetTableMutation','_renderArrowRanges','ruleId','...','_draw','column','editHistory.header.back','RemoveSheetsFilterMutation','setPermissionPoints','creators$','Edit','_sparklineDataSourceModel','SetSheetsFilterRangeMutation','univer-mt-1\x20univer-text-xs\x20univer-text-gray-500','M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','version','loadHistoryCreatorList','registerComponent','DeleteRangeProtectionMutation','getSheets','editHistory.panel.aiAssistant','_conditionalFormattingRuleModel','padStart','creators','displayName','Loading','findAllRectangle','SetWorkbookNameMutation','history-panel','_updateDiffMarks','currentVersion$','univer-flex\x20univer-items-center\x20univer-gap-2','default','stroke','SetPivotPositionMutation','_fetching$','row','http://www.w3.org/2000/svg','getCurrentUnitCurrentVersion','clsx','DeleteWorksheetRangeThemeStyleMutation','addRangeTheme','UniverSheetsConditionalFormatting','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-border-t\x20univer-border-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-700\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','createSheet','getHistoryChangesets','subscribeEvent','closePath','setRowIsAutoHeight','closeAll','SetPivotCollapseMutation','0.655','univer-relative\x20univer-h-8','setState','startColumn','startDateString','_members','start','setFilter','restore-icon','replace','blocks','/creators','1203SaYzFL','0px','getRange','unitId$','setPivotSort','univer-min-w-0\x20univer-flex-1','_currentVersion$','columnHeaderHeight','scrollToViewportPos','addPivotField','_lastPointer','IRenderManagerService','univer-text-gray-500','Button','Plugin','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','range','label','/cs?startRevision=','Rect','status','addTable','addPivotTable','_sidebarDisposable','_transformMutationByOrder','SetPivotValueFilterMutation','SetSheetsFilterCriteriaMutation','updateChartConfig','_initRender','_stopBlinking','loadingState$','updatePermissionPoint','fillText','SnapshotServerOverHTTPService','sort','SetWorksheetDefaultStyleMutation','onMouseMove','reverse','getVersions','SheetTableService','pipe','targetRange','evenodd','getCurrentSkeleton','_applyWorkbookData','RenameSheet','LRUMap','_arrowDiffs','symbol','SetPivotSubtotalTypeMutation','UniverEngineRender','combineLatest','setDefaultStyle','getAncestorScale','zIndex','Error','_updateWorksheetVisibility','_getAPIPrefix','univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-2\x20univer-rounded-md\x20univer-px-1\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','_drawTextBubble','state$','getRule','editHistory.action.','svg','getCurrentVersion','setDV','unionPivotViewRange','addObjects','removeFilter','exports.@univerjs-pro/collaboration-client-ui.@univerjs/core.@univerjs/drawing.@univerjs/engine-render.@univerjs/sheets.@univerjs/sheets-ui.rxjs.@univerjs/design.@univerjs/ui.@univerjs-pro/collaboration.@univerjs-pro/sheets-chart.@univerjs-pro/sheets-pivot.@univerjs-pro/sheets-shape.@univerjs-pro/sheets-sparkline.@univerjs/data-validation.@univerjs/sheets-conditional-formatting.@univerjs/sheets-drawing.@univerjs/sheets-filter.@univerjs/sheets-table.@univerjs/network.@univerjs/protocol.@univerjs/sheets-data-validation.@univerjs-pro/collaboration-client.react.react/jsx-runtime','#A656FF','_cacheKey','SetWorksheetRightToLeftMutation','currentVersionDiff$','UniverInstanceType','blockMeta','ReCalcSheetsFilterMutation','hovered','_componentManager','jsx','updateDrawing','categorizeMutationRanges','highlightSecond','SetPivotSortMutation','linearGradient','React','IImageIoService','AddSheetSparklineMutation','fillStyle','translateY(-50%)','funnel-icon','UniverSheetsUIPlugin','highlightColumn','date','_lastLabel','editHistory.panel.cancel','RemoveSheetSparklineMutation','AddPivotTableMutation','rule','stop','SetFrozenMutation','2596055lwChcF','function','toString','/list?','isSheetHidden','0\x200\x2020\x2020','_getActiveSubUnitId','UniverSheetsTable','[HistoryFetchService]:\x20request\x20snapshot\x20error!','url(#paint0_linear_236_415)','flex','getSparklineById','now','changesets','arrowColumnRanges','keys','getSeconds','lineWidth','span','toDisposable','univer-size-4\x20univer-animate-spin','endRevision','map','arrowColumn','setSparkline','InsertColMutation','rgba(46,125,50,0.5)','_diffs','loadMoreVersions','getInterceptPoints','_injector','CreateUnitMutation','SetWorksheetPermissionPointsMutation','Exited','strokeStyle','Tooltip','onRendered','univer-size-4','editHistory.panel.confirm','width','SetPivotFilterMutation','lineTo','getTableInfo','createTime','openPanel$','setPivotPosition','more-right-icon','RemovePivotTableMutation','setTabColor','colorChannel1','editHistory.panel.revertDesc','_status$','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-gap-1.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getMinutes','interceptor','createElement','UniverSheets','triggerCustomVersions','getFilterModel','univer-max-h-[300px]\x20univer-overflow-y-auto\x20univer-py-1','ObjectMatrix','none','M11.3536\x206.14645C11.5488\x206.34171\x2011.5488\x206.65829\x2011.3536\x206.85355L8.35355\x209.85355C8.15829\x2010.0488\x207.84171\x2010.0488\x207.64645\x209.85355L4.64645\x206.85355C4.45118\x206.65829\x204.45118\x206.34171\x204.64645\x206.14645C4.84171\x205.95118\x205.15829\x205.95118\x205.35355\x206.14645L8\x208.79289L10.6464\x206.14645C10.8417\x205.95118\x2011.1583\x205.95118\x2011.3536\x206.14645Z','_drawHorizontalArrow','18.1758','path','50%','getSheetObject','forValue','rgba(198,40,40,0.5)','setGridlinesColor','_renderDrawingHighlights','_removeDiffMarks','moveCols','parent','0.31','getViewport','4SLJTvr','entries','hide','onPointerEnter$','revision','IDrawingManagerService','idSuffix','updateFieldPosition','M9.18035\x202.34502C9.21605\x202.15386\x209.31749\x201.9812\x209.46709\x201.85695C9.6167\x201.7327\x209.80504\x201.66469\x209.99951\x201.66469C10.194\x201.66469\x2010.3823\x201.7327\x2010.5319\x201.85695C10.6815\x201.9812\x2010.783\x202.15386\x2010.8187\x202.34502L11.6945\x206.97669C11.7567\x207.30598\x2011.9167\x207.60887\x2012.1537\x207.84583C12.3907\x208.08279\x2012.6936\x208.24282\x2013.0228\x208.30502L17.6545\x209.18085C17.8457\x209.21656\x2018.0183\x209.318\x2018.1426\x209.4676C18.2668\x209.6172\x2018.3348\x209.80555\x2018.3348\x2010C18.3348\x2010.1945\x2018.2668\x2010.3828\x2018.1426\x2010.5324C18.0183\x2010.682\x2017.8457\x2010.7835\x2017.6545\x2010.8192L13.0228\x2011.695C12.6936\x2011.7572\x2012.3907\x2011.9172\x2012.1537\x2012.1542C11.9167\x2012.3912\x2011.7567\x2012.6941\x2011.6945\x2013.0234L10.8187\x2017.655C10.783\x2017.8462\x2010.6815\x2018.0188\x2010.5319\x2018.1431C10.3823\x2018.2673\x2010.194\x2018.3353\x209.99951\x2018.3353C9.80504\x2018.3353\x209.6167\x2018.2673\x209.46709\x2018.1431C9.31749\x2018.0188\x209.21605\x2017.8462\x209.18035\x2017.655L8.30451\x2013.0234C8.24231\x2012.6941\x208.08228\x2012.3912\x207.84532\x2012.1542C7.60836\x2011.9172\x207.30547\x2011.7572\x206.97618\x2011.695L2.34451\x2010.8192C2.15335\x2010.7835\x201.98069\x2010.682\x201.85645\x2010.5324C1.7322\x2010.3828\x201.66418\x2010.1945\x201.66418\x2010C1.66418\x209.80555\x201.7322\x209.6172\x201.85645\x209.4676C1.98069\x209.318\x202.15335\x209.21656\x202.34451\x209.18085L6.97618\x208.30502C7.30547\x208.24282\x207.60836\x208.08279\x207.84532\x207.84583C8.08228\x207.60887\x208.24231\x207.30598\x208.30451\x206.97669L9.18035\x202.34502Z','rgba(','insertBorderRanges','0\x200\x2016\x2016','max','arrowRow','DeleteWorksheetProtectionMutation','RemoveWorksheetMergeMutation','_extractRanges','stopPropagation','loading-multi-icon','highlightRow','toggleGridlines','display','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','RemoveRowMutation',',\x200.2)','executeCommand','_registerHeader','getDialogs$','switchMap','confirm-revert-revision','SetColDataMutation','_detailVersionsMap','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','univer-h-[60%]','forwardRef','justifyContent','endRow','InsertSheetsChartMutation','renameSheet','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-flex\x20univer-h-[calc(100%-32px)]\x20univer-w-[calc(100%-16px)]\x20univer-flex-col\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-overflow-auto\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_highlightSecond','ICommandService','moveCF','_combineRanges','_createUnit','updatePivotFieldSource','loadSheet','concat','univer-flex\x20univer-size-5\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center','_drawingDiffs','edit-history-viewer.config','showRow','_drawingManagerService','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-pt-1.5\x20univer-text-sm\x20univer-font-medium','deleteDrawings','getUnitOnRev','insertCol','evented','LocaleType','save','unitId','decorate','subType','_openPanel$','getSelectedVersionCanRevert','SHEET_VIEWPORT_KEY','univer-text-sm','absolute','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-sticky\x20univer-top-0\x20univer-z-10\x20univer-bg-gray-50\x20univer-px-4\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x20univer-text-xs\x20univer-font-semibold\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','pivotTableId','SheetSkeletonManagerService','RenamePivotFieldMutation','IMessageService','div','MoveSheet','reorderSheet','_historyFetchService','getDrawingByParam','moveRange','UniverDataValidation','IUniverInstanceService','name','UniverProSheetsPivot','prototype',':\x20(','univer-px-3\x20univer-py-2\x20univer-text-sm\x20univer-font-semibold','renamePivotField','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-truncate\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','RANGE_TYPE','insertDrawings','updateShapeType','30px','parseProtocolChangeset','recoverTime','Fragment','UniverSheetsFilter','UniverProCollaboration','transparent','AddConditionalRuleMutation','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-top-1/2\x20univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','editSheet','setColData','userID','parseInt','univer-text-xs\x20univer-text-gray-400','registerRenderModule','ghost','_drawVerticalArrow','ConditionalFormattingRuleModel','clearTimeout','_unitId$','userId','1px','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-truncate\x20univer-text-xs\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-400\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','subUnitIds','tableId','rowHeaderWidth','beginPath','editHistory.panel.revertConfirm','univer-flex\x20univer-items-center\x20univer-justify-center','getSelectedVersionIsCurrentVersion','ChartUpdateConfigMutation','M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z','setPivotOption','get','error','univer-ml-1\x20univer-flex\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','endDateString','reorderRange','deleteProtection','Loaded','getCurrentUnitForType','insertBorder','VIRTUAL_VERSION_NOW','values','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','IUIPartsService','disposeWithMe','editHistory.panel.listFetchError','url(#$1','SheetsFilterService','UniverEditHistoryViewerPlugin','jsxs','DrawingApplyType','copySheet','_uiPartsService','2110779LGZewJ','ErrorCode','ruleIds','_getLighterColor','CONTENT','removePivotField','_setVersions','AddWorksheetProtectionMutation','useCallback','setWorksheetRangeTheme','generateDiffMarks','constructor','anonymous','syncExecuteCommand','link','has','lastLabel','SetWorksheetProtectionMutation','univer-size-8\x20univer-text-gray-400','9ooluyP','updateBorder','_dataValidationModel','_sheetPermissionInitController','_init','packageName','User','_name','sparklineConfigMap','setColCount','_dialogOptions$','67914wJBbsU','setTableFilter','1000','insert','_sheetTableService','attrs','viewportScrollX','_blinkTimer','_configService','AddPivotFieldMutation','_highlight','cfId','_createMask','revertSheet','renameWorkbook','cellValue','UniverNetwork','triggerRevert','deleteBorder','insertRow','univer-flex-1','AddRangeThemeMutation','_labelPosition','next','SheetDataValidationModel','body','trim','arrowRowRanges','UniverSheetsDataValidation','groupIds','getSheetId','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-400\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','userIds','triggerDblclick','scroll','historyPanelComponentKey','permissionPointUpdate$','Inject','disposeUnit','editHistory.panel.title','setConfig','SetRowHiddenMutation','_sheetSkeletonManagerService','getCoordByCell','Checkbox','find','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-center\x20univer-py-4\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','UpdateSheetsShapeDataMutation','deleteRangeProtection','FromArray','moveTo','endRevCreateTime','Unspecified','set','getElementById','exited','UnitAction','getMutationActionMap','asObservable','action','addSparkline','horizontal','rowData','_univerInstanceService','setNumfmt','setPivotFilter','debounce','drawingId','getMember','versions$','COMPRESS_MUTATION_APPLY','showMask','active','ICellEditorManagerService','fill','button','restore-icon_clip0_1247_2','getVpScrollXYInfoByPosToVp','UpdateFieldPositionMutation','highlight','_showText','current','setRangeProtection','Info','allRanges','restore','hideMask','fetching$','editHistory.panel.filterCollaboratorConfirm','UniverSheetsDrawing','paint0_linear_236_415','setCF','drawingIds','useObservable','add','_permissionService','rev','value','UniverDrawing','UniverSheetsUi','assign','isError','shapeId','hidden','vertical','status$','Disposable','className','setPivotSubtotalType','_categorizeMutationRanges','useDependency','editHistory.panel.filterCollaboratorCancel','time','getMatrix','insertCellRanges','showText','InsertSheetsShapeMutation','AddSheetTableMutation','getConfig','1.66418','length','register','code','_currentVersionDiff$','loadInitialVersions','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-shrink-0\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-py-0.5\x20univer-text-xs\x20univer-text-primary-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-transparent\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','top','ChartUpdateSourceConfigMutation','editHistory.panel.revertConfirmText','_updateVersions','editHistory.action.removeDrawing','amd','startRevCreateTime','RemoveSheetMutation','SetWorksheetColWidthMutation','triggerLoadSheet','UniverProEditHistoryViewer','editHistory.panel.filterAi','objects','onSteady','string','UniverCore','_httpService','_handleOverlappingShapes','middle','1em','setColWidth','all','0.21.0','loaded','M1\x203.87476C1\x204.97933\x201.89543\x205.87476\x203\x205.87476L3\x207.67383C3\x208.7784\x203.89543\x209.67383\x205\x209.67383H5.5V13.5252C5.5\x2014.4089\x206.21634\x2015.1252\x207.1\x2015.1252H8.9C9.78366\x2015.1252\x2010.5\x2014.4089\x2010.5\x2013.5252V9.67383H11C12.1046\x209.67383\x2013\x208.7784\x2013\x207.67383V5.87476C14.1046\x205.87476\x2015\x204.97933\x2015\x203.87476V2.87476C15\x201.77019\x2014.1046\x200.874756\x2013\x200.874756H3C1.89543\x200.874756\x201\x201.77019\x201\x202.87476V3.87476ZM13\x202.07476H3C2.55817\x202.07476\x202.2\x202.43293\x202.2\x202.87476V3.87476C2.2\x204.31658\x202.55817\x204.67476\x203\x204.67476L13\x204.67383C13.4418\x204.67383\x2013.8\x204.31658\x2013.8\x203.87476V2.87476C13.8\x202.43293\x2013.4418\x202.07476\x2013\x202.07476ZM4.2\x207.67383V5.87476H11.8V7.67383C11.8\x208.11566\x2011.4418\x208.47383\x2011\x208.47383H5C4.55817\x208.47383\x204.2\x208.11566\x204.2\x207.67383ZM6.7\x209.67437H9.3V13.5252C9.3\x2013.7462\x209.12091\x2013.9252\x208.9\x2013.9252H7.1C6.87909\x2013.9252\x206.7\x2013.7462\x206.7\x2013.5252V9.67437Z','_messageService','style','_maskElement','flat','univer-rounded-xs\x20univer-h-6\x20univer-cursor-pointer\x20univer-p-1\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','removeDiffMarks','_historyManagerService','UniverNetworkPlugin','sourceRange','loadingState','removeRangeTheme','SheetsPivotTableConfigModel','registerDetailVersion','updateShapeData','HTTPService','setPivotCollapse','toISOString','SetRangeThemeMutation','SheetCollabCursorShape','_hasMore','_setFetching','delete','_creators$','updateCellRanges','IDialogService','DependentOn','updateBorderRanges','_scrollToShape','0.01','HistoryManagerService','_sheetsFilterService','workbook','position','HistoryModeStatus','unknownUser','_rangeProtectionRuleModel','842HEMEbO','_color','Vector2','InsertSheetMutation','transformSnapshotToWorkbookData','editHistory.action.revertSheetPrefix','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-end\x20univer-gap-2\x20univer-p-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_initPanel','_getSheetObject','_versions$','SetTabColorMutation','subscribe','rgba(225,\x20225,\x20225,\x200.5)','Segmented','params','pluginName','startRev','primary','editHistory.action.etc','sheetId','_config','use','some','append','moveRows','chartId','dispose','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-top-0\x20univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','SetWorksheetHideMutation','type','#2793FF','_renderManagerService','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','SetSheetTableFilterMutation','back-icon','makeDirty','AddRangeProtectionMutation','forEach','labelPosition','rgba(21,101,192,0.5)','301BVtzwc','setPivotFieldFormat','unmergeCells','then','SetGridlinesColorMutation','getPivotTableRangeInfo','push','MessageType','transformByState','InsertRowMutation','_versionDiffService','command','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','getDataRange','AddDataValidationMutation','RemoveDataValidationMutation','MoveColsMutation','revertRevision$','getVersion','_canRevert','SetRangeValuesMutation','_localeService','height','editHistory.panel.unknownUser','rgba','univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-gap-1','isArray','_confirmService','labelKey','removeDV','_loadingState$','MoveRangeMutation','Character','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-pointer-events-none\x20univer-absolute\x20univer-inset-0\x20univer-z-10\x20univer-flex\x20univer-flex-col\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-justify-end\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','tag','SetWorksheetRowCountMutation','update','userSpaceOnUse','RangeMergeUtil','join','updateDrawings','setFilterCriteria','split','viewportScrollY','SetRangeProtectionMutation','MoveConditionalRuleMutation','setProtection','CollaborationImageIoService','Init','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','hideCol','updateTable','UniverProCollaborationClientUi','measureText','deleteBorderRanges','historyAIassistantEnabled','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-12\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200\x20univer-bg-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-px-4\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-950\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','UpdateValuePositionMutation','RemovePivotFieldMutation','Injector','xlink:href','recalcFilter','ROW','UniverEditHistoryViewerMobilePlugin','univer-size-4\x20univer-shrink-0','open','mask','slice'];_0x3bbe=function(){return _0x101a7e;};return _0x3bbe();}function _0xc05f(_0x3048fe,_0x15a201){_0x3048fe=_0x3048fe-0x1d0;const _0x3bbe3f=_0x3bbe();let _0xc05f38=_0x3bbe3f[_0x3048fe];return _0xc05f38;}(function(_0x47d8b3,_0x15e083){const _0x441bb2=_0xc05f,_0x5cb080=_0x47d8b3();while(!![]){try{const _0x5c5411=parseInt(_0x441bb2(0x4ff))/0x1*(parseInt(_0x441bb2(0x374))/0x2)+-parseInt(_0x441bb2(0x2b9))/0x3*(parseInt(_0x441bb2(0x208))/0x4)+-parseInt(_0x441bb2(0x564))/0x5+-parseInt(_0x441bb2(0x4b8))/0x6+-parseInt(_0x441bb2(0x39c))/0x7*(-parseInt(_0x441bb2(0x435))/0x8)+-parseInt(_0x441bb2(0x2ae))/0x9*(-parseInt(_0x441bb2(0x40b))/0xa)+-parseInt(_0x441bb2(0x29b))/0xb;if(_0x5c5411===_0x15e083)break;else _0x5cb080['push'](_0x5cb080['shift']());}catch(_0x18968f){_0x5cb080['push'](_0x5cb080['shift']());}}}(_0x3bbe,0x49319),function(_0x5b9645,_0x49f527){const _0x20f553=_0xc05f;typeof exports==_0x20f553(0x43d)&&typeof module<'u'?_0x49f527(exports,require(`@univerjs-pro/collaboration-client-ui`),require(`@univerjs/core`),require(`@univerjs/drawing`),require(`@univerjs/engine-render`),require(`@univerjs/sheets`),require(`@univerjs/sheets-ui`),require(`rxjs`),require(`@univerjs/design`),require(`@univerjs/ui`),require(`@univerjs-pro/collaboration`),require(`@univerjs-pro/sheets-chart`),require(`@univerjs-pro/sheets-pivot`),require(`@univerjs-pro/sheets-shape`),require(`@univerjs-pro/sheets-sparkline`),require(`@univerjs/data-validation`),require(`@univerjs/sheets-conditional-formatting`),require(`@univerjs/sheets-drawing`),require(`@univerjs/sheets-filter`),require(`@univerjs/sheets-table`),require(`@univerjs/network`),require(`@univerjs/protocol`),require(`@univerjs/sheets-data-validation`),require(`@univerjs-pro/collaboration-client`),require(`react`),require(`react/jsx-runtime`)):typeof define==_0x20f553(0x565)&&define[_0x20f553(0x33c)]?define(_0x20f553(0x544)[_0x20f553(0x3c6)]('.'),_0x49f527):(_0x5b9645=typeof globalThis<'u'?globalThis:_0x5b9645||self,_0x49f527(_0x5b9645[_0x20f553(0x341)]={},_0x5b9645[_0x20f553(0x3d0)],_0x5b9645[_0x20f553(0x346)],_0x5b9645[_0x20f553(0x31b)],_0x5b9645[_0x20f553(0x531)],_0x5b9645[_0x20f553(0x1f3)],_0x5b9645[_0x20f553(0x31c)],_0x5b9645['rxjs'],_0x5b9645[_0x20f553(0x4bc)],_0x5b9645['UniverUi'],_0x5b9645[_0x20f553(0x269)],_0x5b9645[_0x20f553(0x493)],_0x5b9645[_0x20f553(0x25b)],_0x5b9645['UniverProSheetsShape'],_0x5b9645['UniverProSheetsSparkline'],_0x5b9645[_0x20f553(0x258)],_0x5b9645[_0x20f553(0x4ea)],_0x5b9645[_0x20f553(0x312)],_0x5b9645[_0x20f553(0x268)],_0x5b9645[_0x20f553(0x56b)],_0x5b9645[_0x20f553(0x2c9)],_0x5b9645[_0x20f553(0x3e7)],_0x5b9645[_0x20f553(0x2d5)],_0x5b9645['UniverProCollaborationClient'],_0x5b9645[_0x20f553(0x554)],_0x5b9645[_0x20f553(0x554)]));}(this,function(_0x53bb1f,_0x5aadf8,_0x1249e8,_0x8cd3e6,_0x4a53b9,_0x1b4633,_0x4bed25,_0x43cd5a,_0x13eba3,_0x577c26,_0x2550be,_0x563273,_0xde9a52,_0x5ba16e,_0x35dc1e,_0xc19dd2,_0x536eef,_0x6b353d,_0x4a9e0b,_0x1d08d2,_0x4b9277,_0x94dd27,_0x5e4e88,_0x127e6b,_0x476712,_0x1168cc){const _0x3f4fc0=_0xc05f;Object['defineProperty'](_0x53bb1f,Symbol['toStringTag'],{'value':'Module'});function _0x205fa5(_0x390c17=_0x3f4fc0(0x53d)){const _0x2ced0f=_0x3f4fc0;return{'collaboration':[{'id':_0x2550be[_0x2ced0f(0x1da)]['id'],'action':_0x390c17+_0x2ced0f(0x4ec)},{'id':_0x2550be[_0x2ced0f(0x4b3)]['id'],'action':_0x390c17+_0x2ced0f(0x2c6)}],'sheets':[{'id':_0x1b4633['InsertSheetMutation']['id'],'action':_0x390c17+'insertSheet'},{'id':_0x1b4633[_0x2ced0f(0x33e)]['id'],'action':_0x390c17+_0x2ced0f(0x486)},{'id':_0x1b4633[_0x2ced0f(0x47a)]['id'],'action':_0x390c17+_0x2ced0f(0x22e)},{'id':_0x1b4633['SetWorksheetOrderMutation']['id'],'action':_0x390c17+_0x2ced0f(0x254)},{'id':_0x1b4633[_0x2ced0f(0x390)]['id'],'action':_0x390c17+'hideSheet'},{'id':_0x1b4633[_0x2ced0f(0x408)]['id'],'action':_0x390c17+_0x2ced0f(0x299)},{'id':_0x1b4633[_0x2ced0f(0x37e)]['id'],'action':_0x390c17+_0x2ced0f(0x1eb)},{'id':_0x1b4633[_0x2ced0f(0x4db)]['id'],'action':_0x390c17+_0x2ced0f(0x2c7)},{'id':_0x1b4633[_0x2ced0f(0x3a5)]['id'],'action':_0x390c17+_0x2ced0f(0x2cc)},{'id':_0x1b4633['InsertColMutation']['id'],'action':_0x390c17+_0x2ced0f(0x240)},{'id':_0x1b4633[_0x2ced0f(0x21f)]['id'],'action':_0x390c17+'removeRow'},{'id':_0x1b4633[_0x2ced0f(0x41d)]['id'],'action':_0x390c17+'removeCol'},{'id':_0x1b4633['MoveRowsMutation']['id'],'action':_0x390c17+_0x2ced0f(0x38c)},{'id':_0x1b4633['MoveColsMutation']['id'],'action':_0x390c17+_0x2ced0f(0x204)},{'id':_0x1b4633[_0x2ced0f(0x3f0)]['id'],'action':_0x390c17+_0x2ced0f(0x23b)},{'id':_0x1b4633[_0x2ced0f(0x2e2)]['id'],'action':_0x390c17+'hideRow'},{'id':_0x1b4633['SetColVisibleMutation']['id'],'action':_0x390c17+'showCol'},{'id':_0x1b4633[_0x2ced0f(0x44f)]['id'],'action':_0x390c17+_0x2ced0f(0x3ce)},{'id':_0x1b4633[_0x2ced0f(0x439)]['id'],'action':_0x390c17+'setRowHeight'},{'id':_0x1b4633[_0x2ced0f(0x33f)]['id'],'action':_0x390c17+_0x2ced0f(0x34b)},{'id':_0x1b4633['SetWorksheetRowAutoHeightMutation']['id'],'action':_0x390c17+_0x2ced0f(0x4b2)},{'id':_0x1b4633[_0x2ced0f(0x4a3)]['id'],'action':_0x390c17+_0x2ced0f(0x4f0)},{'id':_0x1b4633['SetRowDataMutation']['id'],'action':_0x390c17+_0x2ced0f(0x48c)},{'id':_0x1b4633[_0x2ced0f(0x226)]['id'],'action':_0x390c17+_0x2ced0f(0x26e)},{'id':_0x1b4633[_0x2ced0f(0x3bf)]['id'],'action':_0x390c17+'setRowCount'},{'id':_0x1b4633[_0x2ced0f(0x405)]['id'],'action':_0x390c17+_0x2ced0f(0x2b7)},{'id':_0x1b4633['SetRangeValuesMutation']['id'],'action':_0x390c17+_0x2ced0f(0x474)},{'id':_0x1b4633[_0x2ced0f(0x3bb)]['id'],'action':_0x390c17+_0x2ced0f(0x257)},{'id':_0x1b4633[_0x2ced0f(0x3e5)]['id'],'action':_0x390c17+_0x2ced0f(0x289)},{'id':_0x1b4633[_0x2ced0f(0x443)]['id'],'action':_0x390c17+'mergeCells'},{'id':_0x1b4633[_0x2ced0f(0x217)]['id'],'action':_0x390c17+_0x2ced0f(0x39e)},{'id':_0x1b4633[_0x2ced0f(0x563)]['id'],'action':_0x390c17+'setFrozen'},{'id':_0x1b4633['ToggleGridlinesMutation']['id'],'action':_0x390c17+_0x2ced0f(0x21c)},{'id':_0x1b4633[_0x2ced0f(0x3a0)]['id'],'action':_0x390c17+_0x2ced0f(0x201)},{'id':_0x1b4633[_0x2ced0f(0x547)]['id'],'action':_0x390c17+_0x2ced0f(0x47e)},{'id':_0x1b4633[_0x2ced0f(0x522)]['id'],'action':_0x390c17+_0x2ced0f(0x533)},{'id':_0x1b4633[_0x2ced0f(0x2a2)]['id'],'action':_0x390c17+_0x2ced0f(0x3ee)},{'id':_0x1b4633[_0x2ced0f(0x2ac)]['id'],'action':_0x390c17+_0x2ced0f(0x3ca)},{'id':_0x1b4633[_0x2ced0f(0x216)]['id'],'action':_0x390c17+_0x2ced0f(0x28a)},{'id':_0x1b4633[_0x2ced0f(0x398)]['id'],'action':_0x390c17+'addRangeProtection'},{'id':_0x1b4633[_0x2ced0f(0x3c8)]['id'],'action':_0x390c17+'setRangeProtection'},{'id':_0x1b4633[_0x2ced0f(0x4d2)]['id'],'action':_0x390c17+_0x2ced0f(0x2e9)},{'id':_0x1b4633[_0x2ced0f(0x1db)]['id'],'action':_0x390c17+_0x2ced0f(0x4c8)},{'id':_0x1b4633[_0x2ced0f(0x446)]['id'],'action':_0x390c17+_0x2ced0f(0x2f9)},{'id':_0x1b4633[_0x2ced0f(0x49f)]['id'],'action':_0x390c17+_0x2ced0f(0x445)},{'id':_0x1b4633[_0x2ced0f(0x2ce)]['id'],'action':_0x390c17+_0x2ced0f(0x4e9)},{'id':_0x1b4633[_0x2ced0f(0x361)]['id'],'action':_0x390c17+'setRangeTheme'},{'id':_0x1b4633['RemoveRangeThemeMutation']['id'],'action':_0x390c17+_0x2ced0f(0x35a)},{'id':_0x1b4633[_0x2ced0f(0x428)]['id'],'action':_0x390c17+'setWorksheetRangeTheme'},{'id':_0x1b4633['DeleteWorksheetRangeThemeStyleMutation']['id'],'action':_0x390c17+'deleteWorksheetRangeTheme'}],'sheetsConditionalFormatting':[{'id':_0x536eef[_0x2ced0f(0x26b)]['id'],'action':_0x390c17+'setCF'},{'id':_0x536eef[_0x2ced0f(0x3e6)]['id'],'action':_0x390c17+_0x2ced0f(0x314)},{'id':_0x536eef[_0x2ced0f(0x477)]['id'],'action':_0x390c17+_0x2ced0f(0x41e)},{'id':_0x536eef[_0x2ced0f(0x3c9)]['id'],'action':_0x390c17+_0x2ced0f(0x232)}],'sheetsFilter':[{'id':_0x4a9e0b[_0x2ced0f(0x4cc)]['id'],'action':_0x390c17+_0x2ced0f(0x4fa)},{'id':_0x4a9e0b[_0x2ced0f(0x519)]['id'],'action':_0x390c17+_0x2ced0f(0x3c5)},{'id':_0x4a9e0b[_0x2ced0f(0x4c7)]['id'],'action':_0x390c17+_0x2ced0f(0x543)},{'id':_0x4a9e0b['ReCalcSheetsFilterMutation']['id'],'action':_0x390c17+_0x2ced0f(0x3d9)}],'dataValidation':[{'id':_0xc19dd2[_0x2ced0f(0x3aa)]['id'],'action':_0x390c17+'setDV'},{'id':_0xc19dd2[_0x2ced0f(0x44a)]['id'],'action':_0x390c17+_0x2ced0f(0x540)},{'id':_0xc19dd2[_0x2ced0f(0x3ab)]['id'],'action':_0x390c17+'removeDV'}],'sheetsChart':[{'id':_0x563273['InsertSheetsChartMutation']['id'],'action':_0x390c17+_0x2ced0f(0x454)},{'id':_0x563273['RemoveSheetsChartMutation']['id'],'action':_0x390c17+_0x2ced0f(0x438)},{'id':_0x563273[_0x2ced0f(0x282)]['id'],'action':_0x390c17+_0x2ced0f(0x51a)},{'id':_0x563273[_0x2ced0f(0x338)]['id'],'action':_0x390c17+_0x2ced0f(0x465)}],'sheetsSparkline':[{'id':_0x35dc1e[_0x2ced0f(0x556)]['id'],'action':_0x390c17+'addSparkline'},{'id':_0x35dc1e['SetSheetSparklineMutation']['id'],'action':_0x390c17+_0x2ced0f(0x1d3)},{'id':_0x35dc1e[_0x2ced0f(0x55f)]['id'],'action':_0x390c17+_0x2ced0f(0x457)}],'sheetsPivot':[{'id':_0xde9a52[_0x2ced0f(0x560)]['id'],'action':_0x390c17+_0x2ced0f(0x515)},{'id':_0xde9a52['RemovePivotTableMutation']['id'],'action':_0x390c17+'removePivotTable'},{'id':_0xde9a52['SetPivotOptionMutation']['id'],'action':_0x390c17+_0x2ced0f(0x284)},{'id':_0xde9a52[_0x2ced0f(0x4e2)]['id'],'action':_0x390c17+_0x2ced0f(0x1e8)},{'id':_0xde9a52[_0x2ced0f(0x3f6)]['id'],'action':_0x390c17+'updatePivotSource'},{'id':_0xde9a52[_0x2ced0f(0x2c2)]['id'],'action':_0x390c17+_0x2ced0f(0x508)},{'id':_0xde9a52['RemovePivotFieldMutation']['id'],'action':_0x390c17+_0x2ced0f(0x2a0)},{'id':_0xde9a52[_0x2ced0f(0x250)]['id'],'action':_0x390c17+_0x2ced0f(0x25f)},{'id':_0xde9a52[_0x2ced0f(0x307)]['id'],'action':_0x390c17+_0x2ced0f(0x20f)},{'id':_0xde9a52['UpdateValuePositionMutation']['id'],'action':_0x390c17+_0x2ced0f(0x40a)},{'id':_0xde9a52['UpdatePivotFieldSourceInfoMutation']['id'],'action':_0x390c17+_0x2ced0f(0x235)},{'id':_0xde9a52[_0x2ced0f(0x4ac)]['id'],'action':_0x390c17+_0x2ced0f(0x39d)},{'id':_0xde9a52[_0x2ced0f(0x1e3)]['id'],'action':_0x390c17+_0x2ced0f(0x2fa)},{'id':_0xde9a52[_0x2ced0f(0x518)]['id'],'action':_0x390c17+'setPivotValueFilter'},{'id':_0xde9a52['SetPivotSortMutation']['id'],'action':_0x390c17+'setPivotSort'},{'id':_0xde9a52[_0x2ced0f(0x4f2)]['id'],'action':_0x390c17+_0x2ced0f(0x35f)},{'id':_0xde9a52[_0x2ced0f(0x530)]['id'],'action':_0x390c17+'setPivotSubtotalType'}],'sheetsShape':[{'id':_0x5ba16e[_0x2ced0f(0x32d)]['id'],'action':_0x390c17+_0x2ced0f(0x3f4)},{'id':_0x5ba16e['RemoveSheetsShapeMutation']['id'],'action':_0x390c17+'removeShape'},{'id':_0x5ba16e[_0x2ced0f(0x2e8)]['id'],'action':_0x390c17+_0x2ced0f(0x35d)},{'id':_0x5ba16e['UpdateSheetsShapeTypeMutation']['id'],'action':_0x390c17+_0x2ced0f(0x263)}],'sheetsTable':[{'id':_0x1d08d2[_0x2ced0f(0x32e)]['id'],'action':_0x390c17+_0x2ced0f(0x514)},{'id':_0x1d08d2[_0x2ced0f(0x487)]['id'],'action':_0x390c17+_0x2ced0f(0x458)},{'id':_0x1d08d2['SetSheetTableMutation']['id'],'action':_0x390c17+_0x2ced0f(0x3cf)},{'id':_0x1d08d2[_0x2ced0f(0x395)]['id'],'action':_0x390c17+_0x2ced0f(0x2ba)}],'sheetsDrawing':[{'id':_0x6b353d[_0x2ced0f(0x467)]['id'],'action':_0x390c17+_0x2ced0f(0x54f)}]};}function _0x52287b(_0x17a8d6=_0x3f4fc0(0x53d)){const _0x3c9956=_0x3f4fc0;let _0x30b132=_0x205fa5(_0x17a8d6);return Object['values'](_0x30b132)[_0x3c9956(0x353)]();}let _0x226af0=(_0x5290ce,_0x42df74)=>{const _0x5a9a67=_0x3f4fc0;if(!_0x5290ce)return{'date':'','time':''};let _0x5e53af=new Date(_0x5290ce),_0x558dd8=_0x5e53af[_0x5a9a67(0x360)]()[_0x5a9a67(0x3c6)]('T')[0x0];switch(_0x42df74){case _0x1249e8[_0x5a9a67(0x242)]['ZH_CN']:return{'date':_0x1e7c4c(_0x558dd8,_0x42df74),'time':_0x5e53af['getHours']()+':'+String(_0x5e53af[_0x5a9a67(0x1f0)]())[_0x5a9a67(0x4d6)](0x2,'0')+':'+String(_0x5e53af[_0x5a9a67(0x574)]())['padStart'](0x2,'0')};default:return{'date':_0x1e7c4c(_0x558dd8,_0x42df74),'time':_0x5e53af[_0x5a9a67(0x488)]()+':'+_0x5e53af[_0x5a9a67(0x1f0)]()+':'+_0x5e53af[_0x5a9a67(0x574)]()};}},_0xbaedfa=(_0x18abec,_0x174cf1)=>{const _0x220eab=_0x3f4fc0;if(_0x18abec['commands'][_0x220eab(0x38a)](_0x2144ba=>_0x2144ba===_0x2550be[_0x220eab(0x4b3)]['id'])&&_0x18abec[_0x220eab(0x266)]){let _0x567bc0=_0x226af0(_0x18abec[_0x220eab(0x266)],_0x174cf1[_0x220eab(0x468)]()),_0x2a91fd=_0x567bc0['date']+'\x20'+_0x567bc0[_0x220eab(0x329)];return _0x174cf1['t'](_0x220eab(0x379))+'\x20'+_0x2a91fd+'\x20'+_0x174cf1['t'](_0x220eab(0x414));}let _0x5ac7ac=_0x3c1fbb(_0x18abec),_0x1ddf1e=Array[_0x220eab(0x422)](new Set(_0x5ac7ac)),_0xec7597;if(_0x1ddf1e[_0x220eab(0x331)]===0x1)_0xec7597=_0x174cf1['t'](_0x1ddf1e[0x0]);else{let _0x3c58b8=_0x1ddf1e['slice'](0x0,0x5)['map'](_0xd7e46f=>_0x174cf1['t'](_0xd7e46f))['join'](',\x20');_0xec7597=_0x1ddf1e[_0x220eab(0x331)]>0x5?''+_0x3c58b8+_0x174cf1['t'](_0x220eab(0x386)):_0x3c58b8;}return''+_0xec7597;};function _0x3c1fbb(_0x261794){const _0xf20f51=_0x3f4fc0;if(_0x261794[_0xf20f51(0x497)][_0xf20f51(0x331)]===0x0)return[''];let _0x18836f='editHistory.action.',_0x4d209b=_0x18836f+_0xf20f51(0x26d),_0x254a26=_0x52287b(_0x18836f)[_0xf20f51(0x48f)](_0x4a77ce=>_0x261794[_0xf20f51(0x497)][_0xf20f51(0x461)](_0x4a77ce['id']));return _0x254a26!=null&&_0x254a26[_0xf20f51(0x331)]?_0x254a26[_0xf20f51(0x1d1)](_0x3b4fe1=>_0x3b4fe1[_0xf20f51(0x2f4)]):[_0x4d209b];}function _0x1e7c4c(_0x26fc8d,_0x1d7d12){const _0x4f4a1e=_0x3f4fc0;let [_0x5ceb86,_0x1198ec,_0x6ceaf9]=new Date()[_0x4f4a1e(0x360)]()['split']('T')[0x0][_0x4f4a1e(0x3c6)]('-'),[_0x1571c1,_0x22cfe6,_0x529365]=_0x26fc8d[_0x4f4a1e(0x3c6)]('-'),_0x3aed6e=_0x5ceb86===_0x1571c1&&_0x1198ec===_0x22cfe6&&_0x6ceaf9===_0x529365,_0x496abd='',_0x4a84d0='',_0x2bf092='';switch(_0x1d7d12){case _0x1249e8[_0x4f4a1e(0x242)]['ZH_CN']:return _0x3aed6e?'今天':(_0x496abd=_0x5ceb86===_0x1571c1?'':_0x1571c1+'年',_0x4a84d0=_0x22cfe6+'月',_0x2bf092=_0x529365+'日',''+_0x496abd+_0x4a84d0+_0x2bf092);default:return _0x3aed6e?_0x4f4a1e(0x45c):(_0x496abd=_0x5ceb86===_0x1571c1?'':_0x1571c1+'-',_0x4a84d0=_0x22cfe6+'-',_0x2bf092=''+_0x529365,''+_0x496abd+_0x4a84d0+_0x2bf092);}}function _0x5cd3cd(_0x3c69ba){const _0xd669f3=_0x3f4fc0;return _0x3c69ba?_0x3c69ba[_0xd669f3(0x46c)]((_0x59a1da,_0x828350)=>{const _0x502559=_0xd669f3;let _0x5661a9=new Date(_0x828350[_0x502559(0x329)])[_0x502559(0x360)]()[_0x502559(0x3c6)]('T')[0x0],_0x10265d=_0x828350[_0x502559(0x33d)]?new Date(_0x828350[_0x502559(0x33d)])[_0x502559(0x360)]()['split']('T')[0x0]:_0x5661a9,_0xb79df9=_0x828350['endRevCreateTime']?new Date(_0x828350[_0x502559(0x2ec)])[_0x502559(0x360)]()[_0x502559(0x3c6)]('T')[0x0]:_0x5661a9;return _0x59a1da[_0x502559(0x331)]>0x0&&_0x59a1da[_0x59a1da[_0x502559(0x331)]-0x1][_0x502559(0x4f7)]===_0x10265d?_0x59a1da[_0x59a1da[_0x502559(0x331)]-0x1]['versions']['push'](_0x828350):_0x59a1da[_0x502559(0x3a2)]({'dateString':_0x5661a9,'startDateString':_0x10265d,'endDateString':_0xb79df9,'versions':[_0x828350]}),_0x59a1da;},[]):[];}let _0x6e4ebd=_0x3f4fc0(0x23a);Symbol(_0x6e4ebd);let _0x16fd6c={};function _0x271acf(_0x53d784){'@babel/helpers - typeof';const _0xa926d=_0x3f4fc0;return _0x271acf=typeof Symbol=='function'&&typeof Symbol[_0xa926d(0x455)]==_0xa926d(0x52f)?function(_0x209cb2){return typeof _0x209cb2;}:function(_0x47050a){const _0x4f24f0=_0xa926d;return _0x47050a&&typeof Symbol==_0x4f24f0(0x565)&&_0x47050a[_0x4f24f0(0x2a6)]===Symbol&&_0x47050a!==Symbol[_0x4f24f0(0x25c)]?_0x4f24f0(0x52f):typeof _0x47050a;},_0x271acf(_0x53d784);}function _0x375b78(_0x50bd0b,_0x2b3d95){const _0x2eed0c=_0x3f4fc0;if(_0x271acf(_0x50bd0b)!=_0x2eed0c(0x43d)||!_0x50bd0b)return _0x50bd0b;var _0x7c2f44=_0x50bd0b[Symbol['toPrimitive']];if(_0x7c2f44!==void 0x0){var _0x68eea5=_0x7c2f44[_0x2eed0c(0x3ed)](_0x50bd0b,_0x2b3d95||_0x2eed0c(0x4e0));if(_0x271acf(_0x68eea5)!=_0x2eed0c(0x43d))return _0x68eea5;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x2b3d95===_0x2eed0c(0x345)?String:Number)(_0x50bd0b);}function _0x4c3031(_0x31b4b5){const _0x4f8dd5=_0x3f4fc0;var _0x35cb92=_0x375b78(_0x31b4b5,_0x4f8dd5(0x345));return _0x271acf(_0x35cb92)==_0x4f8dd5(0x52f)?_0x35cb92:_0x35cb92+'';}function _0x2a49f8(_0x4ba6ec,_0x3704ad,_0x1b165f){return(_0x3704ad=_0x4c3031(_0x3704ad))in _0x4ba6ec?Object['defineProperty'](_0x4ba6ec,_0x3704ad,{'value':_0x1b165f,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4ba6ec[_0x3704ad]=_0x1b165f,_0x4ba6ec;}function _0x24cc5e(_0x1c75f3,_0x18fed2){return function(_0x533486,_0xe9bd22){_0x18fed2(_0x533486,_0xe9bd22,_0x1c75f3);};}function _0x45b447(_0x141c14,_0x43633e,_0x45e268,_0x274de7){const _0x37f9e0=_0x3f4fc0;var _0x395ef9=arguments['length'],_0x3d6169=_0x395ef9<0x3?_0x43633e:_0x274de7===null?_0x274de7=Object['getOwnPropertyDescriptor'](_0x43633e,_0x45e268):_0x274de7,_0x27f76c;if(typeof Reflect==_0x37f9e0(0x43d)&&typeof Reflect[_0x37f9e0(0x245)]==_0x37f9e0(0x565))_0x3d6169=Reflect['decorate'](_0x141c14,_0x43633e,_0x45e268,_0x274de7);else{for(var _0x1d8138=_0x141c14['length']-0x1;_0x1d8138>=0x0;_0x1d8138--)(_0x27f76c=_0x141c14[_0x1d8138])&&(_0x3d6169=(_0x395ef9<0x3?_0x27f76c(_0x3d6169):_0x395ef9>0x3?_0x27f76c(_0x43633e,_0x45e268,_0x3d6169):_0x27f76c(_0x43633e,_0x45e268))||_0x3d6169);}return _0x395ef9>0x3&&_0x3d6169&&Object[_0x37f9e0(0x4b6)](_0x43633e,_0x45e268,_0x3d6169),_0x3d6169;}let _0x4ec3c4=function(_0x612c0e){const _0x471bc1=_0x3f4fc0;return _0x612c0e[_0x612c0e['Unspecified']=0x0]=_0x471bc1(0x2ed),_0x612c0e[_0x612c0e[_0x471bc1(0x2b4)]=0x1]='User',_0x612c0e[_0x612c0e[_0x471bc1(0x3bc)]=0x2]='Character',_0x612c0e;}({}),_0x483938=class extends _0x1249e8[_0x3f4fc0(0x323)]{constructor(_0x3f05a6,_0x1c7ec7,_0x183d57,_0x598a4c,_0x150d40,_0x373317,_0x3f0816){const _0x88b861=_0x3f4fc0;super(),this['_snapshotServerService']=_0x3f05a6,this[_0x88b861(0x2f8)]=_0x1c7ec7,this[_0x88b861(0x45e)]=_0x183d57,this[_0x88b861(0x2c1)]=_0x598a4c,this[_0x88b861(0x347)]=_0x150d40,this[_0x88b861(0x43b)]=_0x373317,this[_0x88b861(0x2b1)]=_0x3f0816,_0x2a49f8(this,_0x88b861(0x47d),void 0x0),this[_0x88b861(0x47d)]=new _0x1249e8[(_0x88b861(0x52d))](0x3c);}[_0x3f4fc0(0x38e)](){const _0x4fd1b9=_0x3f4fc0;this[_0x4fd1b9(0x47d)][_0x4fd1b9(0x480)](),super[_0x4fd1b9(0x38e)]();}async[_0x3f4fc0(0x49d)](_0x57d71e){const _0x2f577f=_0x3f4fc0;try{let _0x37f5bf=(await this['_httpService'][_0x2f577f(0x285)](this[_0x2f577f(0x538)]()+'/'+_0x57d71e+_0x2f577f(0x4fe)))[_0x2f577f(0x2d2)];if(_0x37f5bf&&_0x37f5bf[_0x2f577f(0x286)]&&_0x37f5bf[_0x2f577f(0x286)][_0x2f577f(0x333)]===_0x94dd27[_0x2f577f(0x29c)]['OK'])return _0x37f5bf[_0x2f577f(0x4d7)];}catch(_0x4d118a){console['error'](_0x4d118a);}return[];}async['getVersions'](_0x2eaef1,_0x59584e){const _0x5386e4=_0x3f4fc0;let {userIds:_0x1dd31a,lastLabel:_0x2b3f64,origin:_0x4c15c0}=_0x59584e==null?{}:_0x59584e,_0x34bc45=new URLSearchParams();_0x34bc45[_0x5386e4(0x2ee)](_0x5386e4(0x331),'20'),_0x2b3f64&&_0x34bc45[_0x5386e4(0x2ee)](_0x5386e4(0x2ab),_0x2b3f64),_0x1dd31a==null||_0x1dd31a[_0x5386e4(0x399)](_0x31a828=>{const _0x1e366d=_0x5386e4;_0x34bc45[_0x1e366d(0x38b)](_0x1e366d(0x2d9),_0x31a828);}),_0x4c15c0&&_0x34bc45[_0x5386e4(0x2ee)]('origin',_0x4c15c0[_0x5386e4(0x566)]());let _0x21a968=this[_0x5386e4(0x538)]()+'/'+_0x2eaef1+_0x5386e4(0x567)+_0x34bc45[_0x5386e4(0x566)]();try{let _0xf5daf4=(await this[_0x5386e4(0x347)][_0x5386e4(0x285)](_0x21a968))[_0x5386e4(0x2d2)];if(_0xf5daf4&&_0xf5daf4[_0x5386e4(0x286)]&&_0xf5daf4[_0x5386e4(0x286)]['code']===_0x94dd27[_0x5386e4(0x29c)]['OK']){let {hasMore:_0x197db3,lastLabel:_0x135bac}=_0xf5daf4;return{'hasMore':_0x197db3,'lastLabel':_0x135bac,'versions':_0x353708(_0xf5daf4),'members':_0xf5daf4['entities'][_0x5386e4(0x4be)]};}}catch(_0x5de6eb){console['error'](_0x5de6eb);}return null;}async['getHistoryChangesets'](_0x2295ae,_0x52f9c9){const _0x31a051=_0x3f4fc0;let {unitId:_0x3e7ad2,startRevision:_0x299b9c,endRevision:_0x321290}=_0x52f9c9,_0x3d80eb=this[_0x31a051(0x538)]()+'/'+_0x3e7ad2+_0x31a051(0x511)+_0x299b9c+'&endRevision='+_0x321290;return(await this[_0x31a051(0x347)][_0x31a051(0x285)](_0x3d80eb))[_0x31a051(0x2d2)];}[_0x3f4fc0(0x538)](){const _0x528d03=_0x3f4fc0;var _0xd8d708;let _0x44287c=this[_0x528d03(0x2c1)]['getConfig'](_0x6e4ebd);return(_0xd8d708=_0x44287c==null?void 0x0:_0x44287c['historyListServerUrl'])==null?'/universer-api/history':_0xd8d708;}['_cacheKey'](_0x2762b3,_0x3124eb){return _0x2762b3+':'+_0x3124eb;}async[_0x3f4fc0(0x236)](_0x2701d5,_0x2ea66a,_0x2c037f={}){const _0x587885=_0x3f4fc0;var _0x1d7365;let _0x429e11=this[_0x587885(0x546)](_0x2701d5,_0x2ea66a),_0xe6ab81=this['_workbookDataCache'][_0x587885(0x285)](_0x429e11);if(_0xe6ab81){let {workbookData:_0x19aa25,changesets:_0x483957}=_0xe6ab81;return await this[_0x587885(0x52b)](_0x19aa25,_0x483957),!0x0;}let {snapshot:_0xf6ae0c,changesets:_0x1c4aa7,error:_0x42ebe5}=await this[_0x587885(0x4ba)][_0x587885(0x23f)](_0x2c037f,{'unitID':_0x2701d5,'type':_0x1249e8[_0x587885(0x549)][_0x587885(0x460)],'revision':_0x2ea66a});if((0x0,_0x94dd27[_0x587885(0x31e)])(_0x42ebe5)||!_0xf6ae0c||!_0xf6ae0c[_0x587885(0x36f)])throw Error(_0x587885(0x56c));let _0x459824=(_0x1d7365=_0x1c4aa7==null?void 0x0:_0x1c4aa7[_0x587885(0x331)])==null?0x0:_0x1d7365;if(_0x2ea66a!==0x0&&_0xf6ae0c[_0x587885(0x319)]+_0x459824!==_0x2ea66a)throw Error(_0x587885(0x290));let {workbook:_0x1be5e3}=_0xf6ae0c,_0x498f78=_0x1be5e3['blockMeta']?Object[_0x587885(0x28f)](_0x1be5e3[_0x587885(0x54a)])['flatMap'](_0x45ec08=>{const _0x1ab4d0=_0x587885;var _0x2b9e70;return(_0x2b9e70=_0x45ec08[_0x1ab4d0(0x4fd)])==null?[]:_0x2b9e70;}):[],_0x1c5a06=await(0x0,_0x2550be[_0x587885(0x378)])(_0xf6ae0c,(await Promise[_0x587885(0x34c)](_0x498f78[_0x587885(0x1d1)](_0x5870c8=>this[_0x587885(0x4ba)]['getDeserializedSheetBlock'](_0x2c037f,{'unitID':_0x2701d5,'type':_0x1249e8[_0x587885(0x549)][_0x587885(0x460)],'blockID':_0x5870c8})[_0x587885(0x39f)](_0x575789=>_0x575789[_0x587885(0x3e4)]))))[_0x587885(0x48f)](Boolean),_0x2c037f);return this[_0x587885(0x47d)][_0x587885(0x2ee)](_0x429e11,{'workbookData':_0x1c5a06,'changesets':_0x1c4aa7}),await this[_0x587885(0x52b)](_0x1c5a06,_0x1c4aa7),!0x0;}async[_0x3f4fc0(0x52b)](_0x173ccb,_0x3367ec){const _0x265ca0=_0x3f4fc0;let _0x266430=this[_0x265ca0(0x2f8)][_0x265ca0(0x28c)](_0x1249e8[_0x265ca0(0x549)][_0x265ca0(0x460)]);_0x266430&&(this[_0x265ca0(0x2f8)][_0x265ca0(0x2df)](_0x266430[_0x265ca0(0x3f7)]()),await Promise['resolve']());let _0xdc7c5d=JSON['parse'](JSON[_0x265ca0(0x449)](_0x173ccb));this[_0x265ca0(0x234)](_0xdc7c5d,_0x3367ec),this[_0x265ca0(0x2b1)][_0x265ca0(0x3f3)]();}[_0x3f4fc0(0x234)](_0x320ac4,_0x30f3b6){const _0x5e8a0f=_0x3f4fc0;let _0x22be81=this[_0x5e8a0f(0x2f8)]['createUnit'](_0x1249e8[_0x5e8a0f(0x549)][_0x5e8a0f(0x460)],_0x320ac4);this['_univerInstanceService'][_0x5e8a0f(0x40e)](_0x22be81[_0x5e8a0f(0x3f7)]());let _0x53646c=this[_0x5e8a0f(0x43b)][_0x5e8a0f(0x1f1)]['fetchThroughInterceptors'](this[_0x5e8a0f(0x43b)][_0x5e8a0f(0x1f1)][_0x5e8a0f(0x1d8)]()[_0x5e8a0f(0x2ff)]);return _0x30f3b6==null||_0x30f3b6[_0x5e8a0f(0x399)](_0xa97db9=>{const _0x38c1ef=_0x5e8a0f;let _0x3e3b23=_0xa97db9['mutations'][_0x38c1ef(0x1d1)](_0x1882f8=>({'id':_0x1882f8['id'],'params':JSON[_0x38c1ef(0x4a6)](_0x1882f8[_0x38c1ef(0x4bf)])}));(_0x53646c(_0x3e3b23,null)||_0x3e3b23)[_0x38c1ef(0x399)](_0x3ad0c4=>{const _0x32a240=_0x38c1ef;this['_commandService']['hasCommand'](_0x3ad0c4['id'])&&this[_0x32a240(0x45e)][_0x32a240(0x2a8)](_0x3ad0c4['id'],_0x3ad0c4[_0x32a240(0x382)],{'fromChangeset':!0x0});});}),_0x22be81;}};_0x483938=_0x45b447([_0x24cc5e(0x0,_0x2550be[_0x3f4fc0(0x4a2)]),_0x24cc5e(0x1,_0x1249e8[_0x3f4fc0(0x259)]),_0x24cc5e(0x2,_0x1249e8[_0x3f4fc0(0x231)]),_0x24cc5e(0x3,_0x1249e8[_0x3f4fc0(0x411)]),_0x24cc5e(0x4,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x4b9277[_0x3f4fc0(0x35e)])),_0x24cc5e(0x5,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x2550be['CompressMutationService'])),_0x24cc5e(0x6,(0x0,_0x1249e8['Inject'])(_0x1b4633['SheetPermissionInitController']))],_0x483938);function _0x353708(_0x34b36b){const _0xfbce34=_0x3f4fc0;let _0x332a62=[],{entities:_0x46fc54,historyIds:_0x36f626}=_0x34b36b,{datas:_0x44c7af,users:_0x2157f6}=_0x46fc54;for(let _0x50728a of _0x36f626){let _0x381ab0=_0x44c7af[_0x50728a];if(_0x381ab0){var _0x4ad02e,_0x14c9f1;let _0x54719b=!!((_0x4ad02e=_0x2157f6[_0x381ab0[_0xfbce34(0x278)]])!=null&&_0x4ad02e[_0xfbce34(0x2a7)]);_0x332a62[_0xfbce34(0x3a2)]({'unitId':_0x381ab0[_0xfbce34(0x244)],'user':_0x54719b?'':(_0x2157f6==null||(_0x14c9f1=_0x2157f6[_0x381ab0[_0xfbce34(0x278)]])==null?void 0x0:_0x14c9f1[_0xfbce34(0x25a)])||'','users':_0x381ab0[_0xfbce34(0x2d9)][_0xfbce34(0x1d1)](_0x102e8f=>{const _0x590051=_0xfbce34;var _0x505d28;return(_0x2157f6==null||(_0x505d28=_0x2157f6[_0x102e8f])==null?void 0x0:_0x505d28[_0x590051(0x25a)])||'';})[_0xfbce34(0x48f)](_0x3b70bd=>_0x3b70bd),'isAnonymous':_0x54719b,'id':_0x50728a,'time':_0x381ab0[_0xfbce34(0x1e6)]?Number(_0x381ab0[_0xfbce34(0x1e6)]):void 0x0,'commands':_0x381ab0[_0xfbce34(0x3a7)],'startRev':Number(_0x381ab0[_0xfbce34(0x451)]),'endRev':Number(_0x381ab0[_0xfbce34(0x1d0)]),'recoverTime':_0x381ab0['recoverTime']?Number(_0x381ab0[_0xfbce34(0x266)]):void 0x0,'additionalFields':_0x381ab0[_0xfbce34(0x429)],'startRevCreateTime':_0x381ab0[_0xfbce34(0x33d)]?Number(_0x381ab0[_0xfbce34(0x33d)]):void 0x0,'endRevCreateTime':_0x381ab0[_0xfbce34(0x2ec)]?Number(_0x381ab0['endRevCreateTime']):void 0x0});}}return _0x332a62;}let _0x1f4562=function(_0x4ecd59){const _0x1518c7=_0x3f4fc0;return _0x4ecd59[_0x1518c7(0x49a)]=_0x1518c7(0x47f),_0x4ecd59[_0x1518c7(0x1dc)]=_0x1518c7(0x2f0),_0x4ecd59[_0x1518c7(0x536)]=_0x1518c7(0x286),_0x4ecd59;}({}),_0x19b843=function(_0x3d6d9e){const _0x2c8c15=_0x3f4fc0;return _0x3d6d9e[_0x2c8c15(0x3cc)]='init',_0x3d6d9e[_0x2c8c15(0x4d9)]='loading',_0x3d6d9e[_0x2c8c15(0x28b)]=_0x2c8c15(0x34e),_0x3d6d9e;}({}),_0x3a241a=_0x3f4fc0(0x28e),_0x504091=class extends _0x1249e8[_0x3f4fc0(0x323)]{[_0x3f4fc0(0x364)](_0x268003){const _0x3ab5ce=_0x3f4fc0;this[_0x3ab5ce(0x4e3)][_0x3ab5ce(0x2d0)](_0x268003);}get['fetching'](){const _0x3a1c28=_0x3f4fc0;return this[_0x3a1c28(0x4e3)]['value'];}constructor(_0x451ee7,_0x1235a0,_0x144c13,_0x2c8ad8){const _0x2a1f9f=_0x3f4fc0;super(),this[_0x2a1f9f(0x350)]=_0x451ee7,this[_0x2a1f9f(0x3b7)]=_0x1235a0,this[_0x2a1f9f(0x3b1)]=_0x144c13,this['_historyFetchService']=_0x2c8ad8,_0x2a49f8(this,'_versions$',new _0x43cd5a[(_0x2a1f9f(0x478))]([])),_0x2a49f8(this,_0x2a1f9f(0x2fe),this[_0x2a1f9f(0x37d)][_0x2a1f9f(0x2f3)]()),_0x2a49f8(this,_0x2a1f9f(0x505),new _0x43cd5a[(_0x2a1f9f(0x478))]('')),_0x2a49f8(this,'currentVersion$',this[_0x2a1f9f(0x505)][_0x2a1f9f(0x2f3)]()),_0x2a49f8(this,_0x2a1f9f(0x1ee),new _0x43cd5a[(_0x2a1f9f(0x478))](_0x1f4562[_0x2a1f9f(0x49a)])),_0x2a49f8(this,_0x2a1f9f(0x322),this['_status$'][_0x2a1f9f(0x2f3)]()),_0x2a49f8(this,_0x2a1f9f(0x3ea),new _0x43cd5a[(_0x2a1f9f(0x478))](0x0)),_0x2a49f8(this,_0x2a1f9f(0x3ad),this[_0x2a1f9f(0x3ea)][_0x2a1f9f(0x2f3)]()),_0x2a49f8(this,_0x2a1f9f(0x277),new _0x43cd5a['BehaviorSubject']('')),_0x2a49f8(this,_0x2a1f9f(0x502),this['_unitId$'][_0x2a1f9f(0x2f3)]()),_0x2a49f8(this,'_fetching$',new _0x43cd5a[(_0x2a1f9f(0x478))](!0x1)),_0x2a49f8(this,_0x2a1f9f(0x310),this[_0x2a1f9f(0x4e3)][_0x2a1f9f(0x2f3)]()),_0x2a49f8(this,'_creators$',new _0x43cd5a[(_0x2a1f9f(0x478))]([])),_0x2a49f8(this,_0x2a1f9f(0x4c9),this[_0x2a1f9f(0x366)][_0x2a1f9f(0x2f3)]()),_0x2a49f8(this,_0x2a1f9f(0x247),new _0x43cd5a[(_0x2a1f9f(0x478))](!0x1)),_0x2a49f8(this,'openPanel$',this['_openPanel$'][_0x2a1f9f(0x2f3)]()),_0x2a49f8(this,_0x2a1f9f(0x227),new Map()),_0x2a49f8(this,_0x2a1f9f(0x3ba),new _0x43cd5a[(_0x2a1f9f(0x478))](_0x19b843['Init'])),_0x2a49f8(this,'loadingState$',this[_0x2a1f9f(0x3ba)]['asObservable']()),_0x2a49f8(this,_0x2a1f9f(0x55d),null),_0x2a49f8(this,_0x2a1f9f(0x363),!0x0),_0x2a49f8(this,_0x2a1f9f(0x4f8),new Map()),_0x2a49f8(this,_0x2a1f9f(0x442),void 0x0),_0x2a49f8(this,_0x2a1f9f(0x49b),void 0x0),_0x2a49f8(this,_0x2a1f9f(0x352),void 0x0),_0x2a49f8(this,'_canRevert',!0x1),_0x2a49f8(this,_0x2a1f9f(0x45a),null),_0x2a49f8(this,'_unitCurrentVersionMap',new Map());}async['triggerLoadVersions'](_0x474431,_0x58781e,_0x2d3ba7){const _0x4c63f7=_0x3f4fc0;this['_historyContainerId']=_0x58781e,this[_0x4c63f7(0x3af)]=_0x2d3ba7,this[_0x4c63f7(0x247)]['next'](!0x0),await this['loadInitialVersions'](_0x474431);}[_0x3f4fc0(0x1f4)](_0x48cf0d,_0x46882f='',_0x407b89,_0x19d585){const _0x1dafec=_0x3f4fc0;let {versions:_0x1170d8,hasMore:_0x4bb5cf,lastLabel:_0x6a95fc,members:_0x41b239}=_0x19d585,_0x3e4ad5=_0x1170d8[_0x1dafec(0x331)]>0x0?_0x1170d8:[{'unitId':_0x48cf0d,'id':_0x3a241a,'startRev':0x1,'endRev':0x0,'time':Date['now'](),'user':this['_localeService']['t'](_0x1dafec(0x4a8)),'users':[this[_0x1dafec(0x3b1)]['t'](_0x1dafec(0x4a8))],'commands':[],'isAnonymous':!0x1}];this[_0x1dafec(0x3af)]=_0x407b89,this[_0x1dafec(0x442)]=_0x46882f,this[_0x1dafec(0x277)]['next'](_0x48cf0d),this['_updateVersions'](_0x3e4ad5,_0x4bb5cf,_0x6a95fc,!0x1,_0x41b239),this[_0x1dafec(0x505)][_0x1dafec(0x2d0)](_0x3e4ad5[0x0]['id']);}async['loadInitialVersions'](_0x4cd11a,_0x21c9ad){const _0x4e2a53=_0x3f4fc0;this[_0x4e2a53(0x277)]['next'](_0x4cd11a),this['_loadParams']=_0x21c9ad==null?null:_0x21c9ad,this[_0x4e2a53(0x364)](!0x0);let _0x44fdfa=await this['_historyFetchService'][_0x4e2a53(0x525)](_0x4cd11a,_0x21c9ad);if(this[_0x4e2a53(0x364)](!0x1),_0x44fdfa){let {versions:_0x24af47,lastLabel:_0x44a84c,hasMore:_0x37dfcc,members:_0x1a688f}=_0x44fdfa;_0x24af47[_0x4e2a53(0x331)]===0x0&&_0x24af47[_0x4e2a53(0x3a2)]({'unitId':_0x4cd11a,'id':_0x3a241a,'startRev':0x1,'endRev':0x0,'time':Date[_0x4e2a53(0x570)](),'user':this['_localeService']['t'](_0x4e2a53(0x4a8)),'users':[this[_0x4e2a53(0x3b1)]['t']('editHistory.panel.currentUser')],'commands':[],'isAnonymous':!0x1}),this[_0x4e2a53(0x33a)](_0x24af47,_0x37dfcc,_0x44a84c,!0x1,_0x1a688f),this[_0x4e2a53(0x505)]['next'](_0x24af47[0x0]['id']),this['_unitCurrentVersionMap'][_0x4e2a53(0x2ee)](_0x4cd11a,_0x24af47[0x0][_0x4e2a53(0x42c)]);}else this['_status$'][_0x4e2a53(0x2d0)](_0x1f4562[_0x4e2a53(0x536)]);}async['loadMoreVersions'](){const _0x2f3c72=_0x3f4fc0;if(!this[_0x2f3c72(0x55d)]||!this[_0x2f3c72(0x363)]||this['fetching'])return!0x1;this['_setFetching'](!0x0);let _0x10b176=await this[_0x2f3c72(0x255)][_0x2f3c72(0x525)](this['unitId'],{'lastLabel':this['_lastLabel'],...this[_0x2f3c72(0x45a)]});if(this[_0x2f3c72(0x364)](!0x1),_0x10b176){let {versions:_0x5d7234,lastLabel:_0x2f9518,hasMore:_0x433195,members:_0x75917e}=_0x10b176;this[_0x2f3c72(0x33a)](_0x5d7234,_0x433195,_0x2f9518,!0x0,_0x75917e);}else this[_0x2f3c72(0x350)]['show']({'content':this[_0x2f3c72(0x3b1)]['t'](_0x2f3c72(0x293)),'type':_0x13eba3['MessageType'][_0x2f3c72(0x536)],'duration':0xbb8});return!0x0;}async[_0x3f4fc0(0x4d0)](){const _0x330042=_0x3f4fc0;let {unitId:_0x477215}=this;if(!_0x477215)return;let _0x2a7025=await this[_0x330042(0x255)]['fetchCreatorList'](_0x477215);_0x2a7025&&this[_0x330042(0x366)][_0x330042(0x2d0)](_0x2a7025);}async[_0x3f4fc0(0x340)](_0xb3f1a0){const _0x4e6c03=_0x3f4fc0;let {endRev:_0x17c115}=this[_0x4e6c03(0x3ae)](_0xb3f1a0)||{};_0x17c115||_0x17c115===0x0?(this[_0x4e6c03(0x3ba)][_0x4e6c03(0x2d0)](_0x19b843[_0x4e6c03(0x4d9)]),await this['_historyFetchService'][_0x4e6c03(0x236)](this[_0x4e6c03(0x244)],_0x17c115),this[_0x4e6c03(0x3ba)][_0x4e6c03(0x2d0)](_0x19b843[_0x4e6c03(0x28b)])):this['_status$']['next'](_0x1f4562[_0x4e6c03(0x536)]);}async['triggerRevert'](_0x5ac3d9){const _0x366c51=_0x3f4fc0;let _0x4da2bc=_0x5ac3d9?this[_0x366c51(0x3ae)](_0x5ac3d9):this[_0x366c51(0x53f)]();if(!_0x4da2bc)return;let _0x41dd18=_0x4da2bc['endRev'],_0x26665f=_0x226af0(_0x4da2bc[_0x366c51(0x329)],this[_0x366c51(0x3b1)]['getCurrentLocale']());await this[_0x366c51(0x3b7)]['confirm']({'id':_0x366c51(0x225),'title':{'title':this[_0x366c51(0x3b1)]['t'](_0x366c51(0x27f))},'children':{'title':this[_0x366c51(0x3b1)]['t'](_0x366c51(0x339))+_0x366c51(0x25d)+_0x26665f[_0x366c51(0x55c)]+'\x20'+_0x26665f[_0x366c51(0x329)]+')'},'cancelText':this['_localeService']['t'](_0x366c51(0x55e)),'confirmText':this['_localeService']['t'](_0x366c51(0x1e1))})&&this[_0x366c51(0x3ea)][_0x366c51(0x2d0)](_0x41dd18);}['_updateVersions'](_0x355289,_0x53e425,_0x1466b3,_0x477ab9,_0x413688){const _0x4e3d2d=_0x3f4fc0;this[_0x4e3d2d(0x2a1)](_0x477ab9?this['_versions$'][_0x4e3d2d(0x31a)][_0x4e3d2d(0x237)](_0x355289):_0x355289),this[_0x4e3d2d(0x363)]=_0x53e425,this[_0x4e3d2d(0x55d)]=_0x1466b3,_0x413688&&Object[_0x4e3d2d(0x573)](_0x413688)['forEach'](_0x597651=>this['_members'][_0x4e3d2d(0x2ee)](_0x597651,_0x413688[_0x597651]));}[_0x3f4fc0(0x53f)](){const _0x4ddc5a=_0x3f4fc0;return this[_0x4ddc5a(0x3ae)](this[_0x4ddc5a(0x505)][_0x4ddc5a(0x31a)]);}[_0x3f4fc0(0x2a1)](_0xdf848c){const _0x4aa05c=_0x3f4fc0;this[_0x4aa05c(0x37d)][_0x4aa05c(0x2d0)](_0xdf848c);}[_0x3f4fc0(0x3ae)](_0x1c21ab){const _0x2da637=_0x3f4fc0;var _0x5c3504;return((_0x5c3504=this[_0x2da637(0x37d)][_0x2da637(0x31a)])==null?void 0x0:_0x5c3504[_0x2da637(0x2e6)](_0x28931f=>_0x28931f['id']===_0x1c21ab))||this[_0x2da637(0x227)]['get'](_0x1c21ab);}[_0x3f4fc0(0x35c)](_0x173118){const _0x41f3ed=_0x3f4fc0;this[_0x41f3ed(0x227)][_0x41f3ed(0x2ee)](_0x173118['id'],_0x173118);}['getCurrentUnitCurrentVersion'](){const _0x4181d3=_0x3f4fc0;if(this['unitId'])return this[_0x4181d3(0x3f1)]['get'](this[_0x4181d3(0x244)]);}[_0x3f4fc0(0x281)](){const _0x510807=_0x3f4fc0;var _0x4dec1f;return((_0x4dec1f=this[_0x510807(0x53f)]())==null?void 0x0:_0x4dec1f[_0x510807(0x42c)])===this[_0x510807(0x4e6)]();}[_0x3f4fc0(0x248)](){const _0x38b187=_0x3f4fc0;return!this[_0x38b187(0x281)]()&&this['canRevert'];}[_0x3f4fc0(0x2fd)](_0x29451d){const _0x48e3b0=_0x3f4fc0;return this['_members'][_0x48e3b0(0x285)](_0x29451d);}['_createMask'](){const _0x397014=_0x3f4fc0;this[_0x397014(0x352)]=document['createElement'](_0x397014(0x252)),this[_0x397014(0x352)][_0x397014(0x324)]=_0x397014(0x413),this[_0x397014(0x352)][_0x397014(0x351)][_0x397014(0x370)]=_0x397014(0x24b),this[_0x397014(0x352)]['style']['top']='0',this[_0x397014(0x352)][_0x397014(0x351)][_0x397014(0x421)]='0',this[_0x397014(0x352)]['style'][_0x397014(0x1e2)]=_0x397014(0x4b5),this[_0x397014(0x352)][_0x397014(0x351)][_0x397014(0x3b2)]=_0x397014(0x4b5),this[_0x397014(0x352)]['style']['backgroundColor']=_0x397014(0x380),this[_0x397014(0x352)][_0x397014(0x351)]['color']=_0x397014(0x3fd),this[_0x397014(0x352)][_0x397014(0x351)]['display']=_0x397014(0x56e),this[_0x397014(0x352)]['style'][_0x397014(0x22b)]=_0x397014(0x431),this['_maskElement']['style'][_0x397014(0x535)]=_0x397014(0x2bb),this[_0x397014(0x352)]['style'][_0x397014(0x21d)]='none',this['_maskContainer']['append'](this['_maskElement']);}[_0x3f4fc0(0x43e)](){const _0x34ffa7=_0x3f4fc0;let _0xb815a4=document[_0x34ffa7(0x2ef)](this['_historyContainerId']);_0xb815a4&&(this[_0x34ffa7(0x49b)]=_0xb815a4,this[_0x34ffa7(0x2c5)]());}['showMask'](){const _0x5adfd6=_0x3f4fc0;this[_0x5adfd6(0x49b)]||this[_0x5adfd6(0x43e)](),this[_0x5adfd6(0x352)]&&(this[_0x5adfd6(0x352)]['style']['display']='flex');}['hideMask'](){const _0x2ebd21=_0x3f4fc0;this[_0x2ebd21(0x352)]&&(this[_0x2ebd21(0x352)]['style'][_0x2ebd21(0x21d)]=_0x2ebd21(0x1f8));}set[_0x3f4fc0(0x513)](_0xd4710d){const _0x58596b=_0x3f4fc0;this[_0x58596b(0x1ee)][_0x58596b(0x2d0)](_0xd4710d);}set['currentVersion'](_0xc3acff){const _0x2b74bf=_0x3f4fc0;_0xc3acff!==this[_0x2b74bf(0x505)]['value']&&this[_0x2b74bf(0x505)][_0x2b74bf(0x2d0)](_0xc3acff);}get[_0x3f4fc0(0x47b)](){const _0x2b19fb=_0x3f4fc0;return this[_0x2b19fb(0x505)]['value'];}set[_0x3f4fc0(0x244)](_0x706aab){const _0x3e5456=_0x3f4fc0;this[_0x3e5456(0x277)]['next'](_0x706aab);}get[_0x3f4fc0(0x244)](){const _0x48b313=_0x3f4fc0;return this['_unitId$'][_0x48b313(0x31a)];}get[_0x3f4fc0(0x492)](){const _0x44da54=_0x3f4fc0;return this[_0x44da54(0x3af)];}get[_0x3f4fc0(0x359)](){const _0x265ac2=_0x3f4fc0;return this[_0x265ac2(0x3ba)][_0x265ac2(0x31a)];}};_0x504091=_0x45b447([_0x24cc5e(0x0,_0x577c26[_0x3f4fc0(0x251)]),_0x24cc5e(0x1,_0x1249e8[_0x3f4fc0(0x4bb)]),_0x24cc5e(0x2,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x1249e8[_0x3f4fc0(0x3f2)])),_0x24cc5e(0x3,(0x0,_0x1249e8['Inject'])(_0x483938))],_0x504091);let _0x45320b=class extends _0x1249e8[_0x3f4fc0(0x323)]{constructor(_0x209042,_0x34491e,_0x1a837a,_0x430886,_0x138f62,_0x1014fc,_0xfbf57b,_0x31b862,_0xd9bf1f,_0xa9e346,_0x2922c7,_0x295f15,_0x246aeb){const _0x10d312=_0x3f4fc0;super(),this[_0x10d312(0x356)]=_0x209042,this[_0x10d312(0x426)]=_0x34491e,this[_0x10d312(0x4ba)]=_0x1a837a,this['_rangeProtectionRuleModel']=_0x430886,this[_0x10d312(0x4d5)]=_0x138f62,this['_dataValidationModel']=_0x1014fc,this[_0x10d312(0x36e)]=_0xfbf57b,this[_0x10d312(0x4cb)]=_0x31b862,this['_sheetsPivotTableConfigModel']=_0xd9bf1f,this[_0x10d312(0x2bd)]=_0xa9e346,this[_0x10d312(0x3b1)]=_0x2922c7,this[_0x10d312(0x406)]=_0x295f15,this['_historyFetchService']=_0x246aeb,_0x2a49f8(this,'_diffRangesMap',new Map()),_0x2a49f8(this,_0x10d312(0x334),new _0x43cd5a[(_0x10d312(0x478))]({'ranges':new Map(),'active':null,'subUnitIds':[]})),_0x2a49f8(this,_0x10d312(0x548),this['_currentVersionDiff$'][_0x10d312(0x2f3)]()),this['_init']();}['_init'](){const _0x5057d1=_0x3f4fc0;this[_0x5057d1(0x419)]=new Map(),this[_0x5057d1(0x292)](this[_0x5057d1(0x356)][_0x5057d1(0x502)][_0x5057d1(0x37f)](_0x458826=>{const _0x4b7946=_0x5057d1;_0x458826&&!this[_0x4b7946(0x419)][_0x4b7946(0x2aa)](_0x458826)&&this[_0x4b7946(0x419)][_0x4b7946(0x2ee)](_0x458826,new Map());})),this['disposeWithMe'](this['_historyManagerService']['currentVersion$'][_0x5057d1(0x37f)](async _0xe23d19=>{const _0x1f4fd4=_0x5057d1;if(_0xe23d19){var _0x33251d;await this[_0x1f4fd4(0x43c)](_0xe23d19),this['_currentVersionDiff$'][_0x1f4fd4(0x2d0)](((_0x33251d=this[_0x1f4fd4(0x419)][_0x1f4fd4(0x285)](this['_historyManagerService']['unitId']))==null?void 0x0:_0x33251d[_0x1f4fd4(0x285)](_0xe23d19))||{'ranges':new Map(),'active':null,'subUnitIds':[]});}}));}async[_0x3f4fc0(0x43c)](_0x4ed583){const _0xafb881=_0x3f4fc0;var _0x277f64,_0x5c6696;let _0x53b60f=this[_0xafb881(0x356)]['getVersion'](_0x4ed583),_0x5399e8=this[_0xafb881(0x356)][_0xafb881(0x244)];if(!_0x53b60f||!_0x5399e8)return;let _0x432e9a=this[_0xafb881(0x419)][_0xafb881(0x285)](_0x5399e8);if(_0x432e9a||this[_0xafb881(0x419)][_0xafb881(0x2ee)](_0x5399e8,new Map()),(_0x277f64=this['_diffRangesMap']['get'](_0x5399e8))!=null&&_0x277f64[_0xafb881(0x2aa)](_0x53b60f['id']))return;let {startRev:_0x4059d6,endRev:_0x1555e3}=_0x53b60f;if(_0x4059d6===0x1){_0x432e9a[_0xafb881(0x2ee)](_0x53b60f['id'],{'ranges':new Map(),'active':null,'subUnitIds':[]});return;}let _0x1784b8=_0x4059d6,_0x5d5bf0=_0x1555e3,_0x2fa88b=await this[_0xafb881(0x255)]['getHistoryChangesets']({},{'unitId':_0x5399e8,'startRevision':_0x1784b8,'endRevision':_0x5d5bf0});if(((_0x5c6696=_0x2fa88b[_0xafb881(0x286)])==null?void 0x0:_0x5c6696[_0xafb881(0x333)])===_0x94dd27[_0xafb881(0x29c)]['OK']){let _0x2c1229=_0x2fa88b[_0xafb881(0x571)][_0xafb881(0x1d1)](_0x2512f2=>((_0x2512f2['mutations']===null||_0x2512f2[_0xafb881(0x4ad)]===void 0x0)&&(_0x2512f2[_0xafb881(0x4ad)]=[]),(0x0,_0x2550be[_0xafb881(0x265)])(_0x2512f2)))[_0xafb881(0x1d1)](_0x22bf4d=>_0x22bf4d['mutations']['map'](_0x19144e=>({..._0x19144e,'params':{..._0x19144e[_0xafb881(0x382)],'memberId':_0x22bf4d[_0xafb881(0x26f)]||_0xafb881(0x372)}})))[_0xafb881(0x353)](),_0x4dd101=await this['_transformMutationByOrder'](_0x2c1229),_0x475f87=this[_0xafb881(0x56a)](_0x2c1229),_0x2bcc9a=this[_0xafb881(0x218)](_0x4dd101);_0x432e9a[_0xafb881(0x2ee)](_0x53b60f['id'],{..._0x2bcc9a,'active':_0x475f87});}}[_0x3f4fc0(0x2f2)](){const _0x460940=_0x3f4fc0;let _0x4d0d28=_0x205fa5('editHistory.action.'),_0x551d49=new Map();return Object[_0x460940(0x28f)](_0x4d0d28)['flat']()['forEach'](_0x5d8654=>{const _0x3d3330=_0x460940;_0x551d49[_0x3d3330(0x2ee)](_0x5d8654['id'],_0x5d8654[_0x3d3330(0x2f4)]);}),_0x551d49;}[_0x3f4fc0(0x550)](_0x38fc17,_0x45f772){return this['_categorizeMutationRanges'](_0x38fc17,_0x45f772);}async[_0x3f4fc0(0x517)](_0x276530){const _0x42aed6=_0x3f4fc0;let _0x1b8224=[];for(let _0x27592e=0x0;_0x27592e<_0x276530['length'];_0x27592e++){let _0x2f9827=_0x276530[_0x27592e];if(_0x1b8224[_0x42aed6(0x3a2)](_0x2f9827),_0x27592e!==_0x276530[_0x42aed6(0x331)]-0x1){let _0x3d93b3=_0x276530[_0x27592e+0x1],_0x493330=this['_transformService']['transformMutations'](_0x1b8224,[_0x3d93b3]);_0x1b8224=(0x0,_0x2550be[_0x42aed6(0x483)])(_0x493330)?_0x493330[_0x42aed6(0x4ae)]:[];}_0x27592e%0xa==0x0&&_0x27592e>0x0&&await this['_yieldToMain']();}return _0x1b8224;}['_yieldToMain'](){return new Promise(_0x3526c7=>{const _0xf08458=_0xc05f;typeof requestIdleCallback==_0xf08458(0x565)?requestIdleCallback(()=>_0x3526c7(),{'timeout':0x64}):setTimeout(_0x3526c7,0x0);});}[_0x3f4fc0(0x56a)](_0x10460f){const _0x534b46=_0x3f4fc0;let _0x3533f5=[];return _0x10460f[_0x534b46(0x399)](_0x1a5eea=>{const _0x4ab4c4=_0x534b46;if(_0x1a5eea['id']===_0x1b4633[_0x4ab4c4(0x377)]['id']){let _0x3e4ffb=_0x1a5eea['params'];_0x3533f5['push'](_0x3e4ffb[_0x4ab4c4(0x4b7)]['id']);}else{if(_0x1a5eea['id']===_0x1b4633['RemoveSheetMutation']['id']){let _0x5d201d=_0x1a5eea[_0x4ab4c4(0x382)];_0x3533f5['length']>0x0&&(_0x3533f5=_0x3533f5['filter'](_0x316adb=>_0x316adb!==_0x5d201d[_0x4ab4c4(0x44b)]));}else{if(_0x1a5eea['id']===_0x1b4633[_0x4ab4c4(0x390)]['id']){let _0x376726=_0x1a5eea[_0x4ab4c4(0x382)];_0x376726[_0x4ab4c4(0x320)]?_0x3533f5=_0x3533f5['filter'](_0xf7874a=>_0xf7874a!==_0x376726[_0x4ab4c4(0x44b)]):_0x3533f5['push'](_0x376726[_0x4ab4c4(0x44b)]);}else{let _0x426c83=_0x1a5eea[_0x4ab4c4(0x382)];_0x426c83[_0x4ab4c4(0x44b)]&&_0x3533f5['push'](_0x426c83[_0x4ab4c4(0x44b)]);}}}}),_0x3533f5[_0x534b46(0x331)]>0x0?_0x3533f5[_0x3533f5[_0x534b46(0x331)]-0x1]:null;}[_0x3f4fc0(0x218)](_0x5c7fa4){const _0x569cb6=_0x3f4fc0;let _0x22ea76=new Map(),_0x44e991=new Map(),_0x126f74=new Map(),_0x3c7fda=new Map(),_0x4e3381=new Map(),_0x4c439a=new Map(),_0x3547b4=new Map(),_0x34b0b9=new Map(),_0x152d0c=new Map(),_0x4416cf=new Map(),_0x225641=new Map(),_0x1ecba9=new Map(),_0x16b71d=new Set(),_0x4a9989=this['getMutationActionMap']();return _0x5c7fa4[_0x569cb6(0x399)](_0x4f8840=>{const _0x7f26e4=_0x569cb6;var _0xfdcfc6,_0x40f958,_0x6625ac,_0x3c46bf,_0x1f698e,_0x17bfaa,_0x5d9119,_0x1160ca,_0x4e29cb,_0x376b91,_0x4de1ef,_0x17fb1a,_0x23684f;let _0x542253=(_0xfdcfc6=_0x4f8840[_0x7f26e4(0x382)])==null?void 0x0:_0xfdcfc6[_0x7f26e4(0x3e3)];if(!_0x542253)return;_0x22ea76[_0x7f26e4(0x2aa)](_0x542253)||(_0x22ea76[_0x7f26e4(0x2ee)](_0x542253,[]),_0x44e991[_0x7f26e4(0x2ee)](_0x542253,[]),_0x126f74[_0x7f26e4(0x2ee)](_0x542253,[]),_0x3c7fda['set'](_0x542253,[]),_0x4e3381['set'](_0x542253,[]),_0x4c439a[_0x7f26e4(0x2ee)](_0x542253,[]),_0x3547b4[_0x7f26e4(0x2ee)](_0x542253,[]),_0x34b0b9[_0x7f26e4(0x2ee)](_0x542253,[]),_0x152d0c['set'](_0x542253,[]),_0x4416cf['set'](_0x542253,[]),_0x225641[_0x7f26e4(0x2ee)](_0x542253,[]),_0x1ecba9[_0x7f26e4(0x2ee)](_0x542253,[]));let _0x27554f=this[_0x7f26e4(0x326)](_0x4f8840,_0x4a9989);_0x27554f['subUnitIds'][_0x7f26e4(0x399)](_0x537557=>_0x16b71d[_0x7f26e4(0x317)](_0x537557)),(_0x40f958=_0x22ea76[_0x7f26e4(0x285)](_0x542253))==null||_0x40f958[_0x7f26e4(0x3a2)](..._0x27554f[_0x7f26e4(0x30d)]),(_0x6625ac=_0x44e991[_0x7f26e4(0x285)](_0x542253))==null||_0x6625ac[_0x7f26e4(0x3a2)](..._0x27554f[_0x7f26e4(0x32b)]),(_0x3c46bf=_0x126f74[_0x7f26e4(0x285)](_0x542253))==null||_0x3c46bf[_0x7f26e4(0x3a2)](..._0x27554f[_0x7f26e4(0x49e)]),(_0x1f698e=_0x3c7fda[_0x7f26e4(0x285)](_0x542253))==null||_0x1f698e[_0x7f26e4(0x3a2)](..._0x27554f[_0x7f26e4(0x367)]),(_0x17bfaa=_0x4e3381[_0x7f26e4(0x285)](_0x542253))==null||_0x17bfaa[_0x7f26e4(0x3a2)](..._0x27554f[_0x7f26e4(0x212)]),(_0x5d9119=_0x4c439a[_0x7f26e4(0x285)](_0x542253))==null||_0x5d9119[_0x7f26e4(0x3a2)](..._0x27554f[_0x7f26e4(0x3d2)]),(_0x1160ca=_0x3547b4[_0x7f26e4(0x285)](_0x542253))==null||_0x1160ca[_0x7f26e4(0x3a2)](..._0x27554f[_0x7f26e4(0x36a)]),(_0x4e29cb=_0x34b0b9['get'](_0x542253))==null||_0x4e29cb[_0x7f26e4(0x3a2)](..._0x27554f['arrowRowRanges']),(_0x376b91=_0x152d0c[_0x7f26e4(0x285)](_0x542253))==null||_0x376b91[_0x7f26e4(0x3a2)](..._0x27554f['arrowColumnRanges']),(_0x4de1ef=_0x225641[_0x7f26e4(0x285)](_0x542253))==null||_0x4de1ef[_0x7f26e4(0x3a2)](..._0x27554f[_0x7f26e4(0x262)]),(_0x17fb1a=_0x1ecba9[_0x7f26e4(0x285)](_0x542253))==null||_0x17fb1a[_0x7f26e4(0x3a2)](..._0x27554f[_0x7f26e4(0x23e)]),(_0x23684f=_0x4416cf[_0x7f26e4(0x285)](_0x542253))==null||_0x23684f[_0x7f26e4(0x3a2)](..._0x27554f[_0x7f26e4(0x3c4)]);}),_0x22ea76[_0x569cb6(0x399)]((_0x55bec5,_0x1b5a78)=>{const _0x53c881=_0x569cb6;_0x22ea76[_0x53c881(0x2ee)](_0x1b5a78,this[_0x53c881(0x233)](_0x55bec5)),_0x44e991[_0x53c881(0x2ee)](_0x1b5a78,this[_0x53c881(0x233)](_0x44e991['get'](_0x1b5a78)||[])),_0x126f74[_0x53c881(0x2ee)](_0x1b5a78,this['_combineRanges'](_0x126f74[_0x53c881(0x285)](_0x1b5a78)||[])),_0x3c7fda[_0x53c881(0x2ee)](_0x1b5a78,this[_0x53c881(0x233)](_0x3c7fda[_0x53c881(0x285)](_0x1b5a78)||[])),_0x4e3381[_0x53c881(0x2ee)](_0x1b5a78,this[_0x53c881(0x233)](_0x4e3381[_0x53c881(0x285)](_0x1b5a78)||[])),_0x4c439a[_0x53c881(0x2ee)](_0x1b5a78,this[_0x53c881(0x233)](_0x4c439a[_0x53c881(0x285)](_0x1b5a78)||[])),_0x3547b4[_0x53c881(0x2ee)](_0x1b5a78,this[_0x53c881(0x233)](_0x3547b4['get'](_0x1b5a78)||[])),_0x34b0b9[_0x53c881(0x2ee)](_0x1b5a78,this[_0x53c881(0x233)](_0x34b0b9[_0x53c881(0x285)](_0x1b5a78)||[])),_0x152d0c[_0x53c881(0x2ee)](_0x1b5a78,this['_combineRanges'](_0x152d0c[_0x53c881(0x285)](_0x1b5a78)||[]));}),{'ranges':_0x22ea76,'insertCellRanges':_0x44e991,'deleteCellRanges':_0x126f74,'updateCellRanges':_0x3c7fda,'insertBorderRanges':_0x4e3381,'deleteBorderRanges':_0x4c439a,'updateBorderRanges':_0x3547b4,'arrowRowRanges':_0x34b0b9,'arrowColumnRanges':_0x152d0c,'insertDrawings':_0x225641,'deleteDrawings':_0x1ecba9,'updateDrawings':_0x4416cf,'subUnitIds':Array[_0x569cb6(0x422)](_0x16b71d)};}['_categorizeMutationRanges'](_0x5eba23,_0x55c5dd){const _0x47d22c=_0x3f4fc0;let _0x43ce50={'allRanges':[],'insertCellRanges':[],'deleteCellRanges':[],'updateCellRanges':[],'insertBorderRanges':[],'deleteBorderRanges':[],'updateBorderRanges':[],'arrowRowRanges':[],'arrowColumnRanges':[],'insertDrawings':[],'deleteDrawings':[],'updateDrawings':[],'subUnitIds':[]},_0x518e24=_0x5eba23['id'],_0x1e9f14=_0x5eba23['params'],_0x3c90a6=this[_0x47d22c(0x3b1)]['t'](_0x55c5dd[_0x47d22c(0x285)](_0x518e24)||'');_0x1e9f14[_0x47d22c(0x44b)]&&_0x43ce50[_0x47d22c(0x27b)][_0x47d22c(0x3a2)](_0x1e9f14[_0x47d22c(0x44b)]);let _0x201bc1=(_0x63fc79,_0x377ce4)=>{const _0x2e2f5d=_0x47d22c;let _0x10cffc=_0x63fc79[_0x2e2f5d(0x1d1)](_0x1364e2=>({..._0x1364e2,'showText':_0x3c90a6}));switch(_0x43ce50[_0x2e2f5d(0x30d)]['push'](..._0x10cffc),_0x377ce4){case _0x2e2f5d(0x2bc):_0x43ce50[_0x2e2f5d(0x32b)][_0x2e2f5d(0x3a2)](..._0x10cffc);break;case _0x2e2f5d(0x365):_0x43ce50[_0x2e2f5d(0x49e)][_0x2e2f5d(0x3a2)](..._0x10cffc);break;case _0x2e2f5d(0x3c0):_0x43ce50[_0x2e2f5d(0x367)]['push'](..._0x10cffc);break;case'insertBorder':_0x43ce50[_0x2e2f5d(0x212)]['push'](..._0x10cffc);break;case _0x2e2f5d(0x2cb):_0x43ce50[_0x2e2f5d(0x3d2)][_0x2e2f5d(0x3a2)](..._0x10cffc);break;case _0x2e2f5d(0x2af):_0x43ce50[_0x2e2f5d(0x36a)][_0x2e2f5d(0x3a2)](..._0x10cffc);break;case _0x2e2f5d(0x215):_0x43ce50[_0x2e2f5d(0x2d4)][_0x2e2f5d(0x3a2)](..._0x10cffc);break;case'arrowColumn':_0x43ce50[_0x2e2f5d(0x572)][_0x2e2f5d(0x3a2)](..._0x10cffc);break;}};switch(_0x518e24){case _0x1b4633[_0x47d22c(0x3a5)]['id']:{let _0x2d8202=_0x1e9f14;_0x201bc1([{'range':{..._0x2d8202[_0x47d22c(0x50f)],'rangeType':_0x1249e8[_0x47d22c(0x261)]['ROW']},'unitId':_0x2d8202['unitId'],'subUnitId':_0x2d8202[_0x47d22c(0x44b)],'showText':'insertRow','highlightRow':!0x0}],'insert');break;}case _0x1b4633[_0x47d22c(0x1d4)]['id']:{let _0x593723=_0x1e9f14;_0x201bc1([{'range':{..._0x593723['range'],'rangeType':_0x1249e8[_0x47d22c(0x261)][_0x47d22c(0x42e)]},'unitId':_0x593723[_0x47d22c(0x244)],'subUnitId':_0x593723[_0x47d22c(0x44b)],'showText':_0x47d22c(0x240),'highlightColumn':!0x0}],_0x47d22c(0x2bc));break;}case _0x1b4633['AddWorksheetMergeMutation']['id']:{let _0x42f544=_0x1e9f14;_0x201bc1(_0x42f544[_0x47d22c(0x476)][_0x47d22c(0x1d1)](_0xee295=>({'range':_0xee295,'unitId':_0x42f544['unitId'],'subUnitId':_0x42f544[_0x47d22c(0x44b)],'showText':'mergeCells'})),_0x47d22c(0x2bc));break;}case _0x1b4633[_0x47d22c(0x446)]['id']:{let _0x4b333a=_0x1e9f14;_0x201bc1(Object[_0x47d22c(0x28f)](_0x4b333a['values'])[_0x47d22c(0x1d1)](_0x4ef4ba=>_0x4ef4ba[_0x47d22c(0x476)][_0x47d22c(0x1d1)](_0x321586=>({'range':_0x321586,'unitId':_0x4b333a[_0x47d22c(0x244)],'subUnitId':_0x4b333a[_0x47d22c(0x44b)],'showText':_0x47d22c(0x2f9)})))[_0x47d22c(0x353)](),_0x47d22c(0x2bc));break;}case _0x1b4633[_0x47d22c(0x217)]['id']:{let _0x55badb=_0x1e9f14;_0x201bc1(_0x55badb[_0x47d22c(0x476)][_0x47d22c(0x1d1)](_0x4dddd9=>({'range':_0x4dddd9,'unitId':_0x55badb[_0x47d22c(0x244)],'subUnitId':_0x55badb[_0x47d22c(0x44b)],'showText':_0x47d22c(0x39e)})),_0x47d22c(0x365));break;}case _0x1b4633['RemoveNumfmtMutation']['id']:{let _0x200c81=_0x1e9f14;_0x201bc1(_0x200c81['ranges'][_0x47d22c(0x1d1)](_0x169ba4=>({'range':_0x169ba4,'unitId':_0x200c81[_0x47d22c(0x244)],'subUnitId':_0x200c81[_0x47d22c(0x44b)],'showText':_0x47d22c(0x445)})),_0x47d22c(0x365));break;}case _0x1b4633['MoveRowsMutation']['id']:{let _0x387425=_0x1e9f14;_0x201bc1([{'range':{..._0x387425[_0x47d22c(0x358)],'rangeType':_0x1249e8[_0x47d22c(0x261)][_0x47d22c(0x3da)]},'unitId':_0x387425[_0x47d22c(0x244)],'subUnitId':_0x387425['subUnitId'],'showText':'moveRows'}],'delete'),_0x201bc1([{'range':{..._0x387425[_0x47d22c(0x528)],'rangeType':_0x1249e8['RANGE_TYPE'][_0x47d22c(0x3da)]},'unitId':_0x387425[_0x47d22c(0x244)],'subUnitId':_0x387425[_0x47d22c(0x44b)],'showText':'moveRows'}],'insert');break;}case _0x1b4633[_0x47d22c(0x3ac)]['id']:{let _0x4cab12=_0x1e9f14;_0x201bc1([{'range':{..._0x4cab12[_0x47d22c(0x358)],'rangeType':_0x1249e8['RANGE_TYPE'][_0x47d22c(0x42e)]},'unitId':_0x4cab12[_0x47d22c(0x244)],'subUnitId':_0x4cab12[_0x47d22c(0x44b)],'showText':_0x47d22c(0x204)}],'delete'),_0x201bc1([{'range':{..._0x4cab12['targetRange'],'rangeType':_0x1249e8['RANGE_TYPE'][_0x47d22c(0x42e)]},'unitId':_0x4cab12[_0x47d22c(0x244)],'subUnitId':_0x4cab12[_0x47d22c(0x44b)],'showText':_0x47d22c(0x204)}],'insert');break;}case _0x1b4633[_0x47d22c(0x3f0)]['id']:{let _0x3511b8=_0x1e9f14;_0x201bc1(_0x3511b8['ranges'][_0x47d22c(0x1d1)](_0xd20ade=>({'range':{..._0xd20ade,'rangeType':_0x1249e8[_0x47d22c(0x261)]['ROW']},'unitId':_0x3511b8['unitId'],'subUnitId':_0x3511b8['subUnitId'],'showText':_0x47d22c(0x23b),'highlightRow':!0x0})),_0x47d22c(0x3c0));break;}case _0x1b4633['SetRowDataMutation']['id']:{let _0xcaa245=_0x1e9f14;_0xcaa245[_0x47d22c(0x2f7)]&&_0xcaa245[_0x47d22c(0x44b)]&&Object[_0x47d22c(0x573)](_0xcaa245['rowData'])[_0x47d22c(0x1d1)](Number)[_0x47d22c(0x399)](_0x496d61=>{const _0x2b7cb6=_0x47d22c;_0x201bc1([{'range':{'startRow':_0x496d61,'endRow':_0x496d61,'startColumn':NaN,'endColumn':NaN,'rangeType':_0x1249e8[_0x2b7cb6(0x261)]['ROW']},'unitId':_0xcaa245[_0x2b7cb6(0x244)],'subUnitId':_0xcaa245[_0x2b7cb6(0x44b)],'showText':_0x2b7cb6(0x48c),'highlightRow':!0x0}],_0x2b7cb6(0x3c0));});break;}case _0x1b4633['SetColVisibleMutation']['id']:{let _0x2c0b2c=_0x1e9f14;_0x201bc1(_0x2c0b2c[_0x47d22c(0x476)][_0x47d22c(0x1d1)](_0x37b60c=>({'range':{..._0x37b60c,'rangeType':_0x1249e8[_0x47d22c(0x261)]['COLUMN']},'unitId':_0x2c0b2c['unitId'],'subUnitId':_0x2c0b2c[_0x47d22c(0x44b)],'showText':'showCol','highlightColumn':!0x0})),'update');break;}case _0x1b4633[_0x47d22c(0x226)]['id']:{let _0x24ae89=_0x1e9f14;_0x24ae89['columnData']&&_0x24ae89[_0x47d22c(0x44b)]&&Object[_0x47d22c(0x573)](_0x24ae89[_0x47d22c(0x46f)])[_0x47d22c(0x1d1)](Number)['forEach'](_0x42ad59=>{const _0x1a4398=_0x47d22c;_0x201bc1([{'range':{'startRow':NaN,'endRow':NaN,'startColumn':_0x42ad59,'endColumn':_0x42ad59,'rangeType':_0x1249e8[_0x1a4398(0x261)][_0x1a4398(0x42e)]},'unitId':_0x24ae89[_0x1a4398(0x244)],'subUnitId':_0x24ae89['subUnitId'],'showText':'setColData','highlightColumn':!0x0}],_0x1a4398(0x3c0));});break;}case _0x1b4633[_0x47d22c(0x3b0)]['id']:{let _0x125471=_0x1e9f14;_0x201bc1(_0x125471[_0x47d22c(0x2c8)]?_0x2146fe(_0x125471[_0x47d22c(0x2c8)])['map'](_0x20fc69=>({'range':_0x20fc69,'unitId':_0x125471['unitId'],'subUnitId':_0x125471[_0x47d22c(0x44b)],'showText':_0x47d22c(0x474)})):[],_0x47d22c(0x3c0));break;}case _0x1b4633[_0x47d22c(0x3bb)]['id']:{let _0x5a15f=_0x5eba23[_0x47d22c(0x382)];_0x201bc1([{'range':_0xc54e60(_0x5a15f['from']['value']),'unitId':_0x5a15f[_0x47d22c(0x244)],'subUnitId':_0x5a15f['from'][_0x47d22c(0x44b)],'showText':_0x47d22c(0x257)}],_0x47d22c(0x365)),_0x201bc1([{'range':_0xc54e60(_0x5a15f['to'][_0x47d22c(0x31a)]),'unitId':_0x5a15f[_0x47d22c(0x244)],'subUnitId':_0x5a15f['to']['subUnitId'],'showText':_0x47d22c(0x257)}],_0x47d22c(0x2bc));break;}case _0x1b4633['ReorderRangeMutation']['id']:{let _0xadbda9=_0x1e9f14;_0x201bc1([{'range':_0xadbda9[_0x47d22c(0x50f)],'unitId':_0xadbda9[_0x47d22c(0x244)],'subUnitId':_0xadbda9[_0x47d22c(0x44b)]}],_0x47d22c(0x3c0));break;}case _0x1b4633['SetWorksheetRowHeightMutation']['id']:{let _0x3e5039=_0x1e9f14;_0x3e5039[_0x47d22c(0x476)]&&_0x3e5039['ranges'][_0x47d22c(0x331)]>0x0&&_0x3e5039[_0x47d22c(0x44b)]&&_0x201bc1(_0x3e5039[_0x47d22c(0x476)][_0x47d22c(0x1d1)](_0x1a4a03=>({'range':_0x1a4a03,'unitId':_0x3e5039['unitId'],'subUnitId':_0x3e5039[_0x47d22c(0x44b)],'showText':'setRowHeight'})),_0x47d22c(0x215));break;}case _0x1b4633['SetWorksheetColWidthMutation']['id']:{let _0x53210d=_0x1e9f14;_0x53210d[_0x47d22c(0x476)]&&_0x53210d[_0x47d22c(0x476)][_0x47d22c(0x331)]>0x0&&_0x53210d[_0x47d22c(0x44b)]&&_0x201bc1(_0x53210d[_0x47d22c(0x476)][_0x47d22c(0x1d1)](_0x545108=>({'range':_0x545108,'unitId':_0x53210d['unitId'],'subUnitId':_0x53210d[_0x47d22c(0x44b)],'showText':_0x47d22c(0x34b)})),_0x47d22c(0x1d2));break;}case _0x1b4633[_0x47d22c(0x398)]['id']:{let _0x5593b4=_0x1e9f14;_0x201bc1(_0x5593b4[_0x47d22c(0x416)][_0x47d22c(0x1d1)](_0x4e11b0=>_0x4e11b0[_0x47d22c(0x476)][_0x47d22c(0x1d1)](_0x53db54=>({'range':_0x53db54,'unitId':_0x5593b4[_0x47d22c(0x244)],'subUnitId':_0x5593b4[_0x47d22c(0x44b)],'showText':'addRangeProtection'})))[_0x47d22c(0x353)](),'insertBorder');break;}case _0x536eef[_0x47d22c(0x26b)]['id']:{let _0xbe1b7e=_0x1e9f14;_0x201bc1(_0xbe1b7e[_0x47d22c(0x561)][_0x47d22c(0x476)][_0x47d22c(0x1d1)](_0xf1bb7f=>({'range':_0xf1bb7f,'unitId':_0xbe1b7e['unitId'],'subUnitId':_0xbe1b7e[_0x47d22c(0x44b)],'showText':'setCF'})),_0x47d22c(0x28d));break;}case _0xc19dd2['AddDataValidationMutation']['id']:{let _0x3f5e59=_0x1e9f14;_0x201bc1((Array[_0x47d22c(0x3b6)](_0x3f5e59[_0x47d22c(0x561)])?_0x3f5e59['rule']:[_0x3f5e59['rule']])['map'](_0x2f7420=>_0x2f7420[_0x47d22c(0x476)][_0x47d22c(0x1d1)](_0x24e695=>({'range':_0x24e695,'unitId':_0x3f5e59[_0x47d22c(0x244)],'subUnitId':_0x3f5e59['subUnitId'],'showText':'setDV'})))['flat'](),'insertBorder');break;}case _0x1b4633[_0x47d22c(0x4d2)]['id']:{let _0x51c08d=_0x1e9f14,_0x2b4382=_0x51c08d[_0x47d22c(0x244)],_0x592ded=_0x51c08d[_0x47d22c(0x44b)];_0x51c08d[_0x47d22c(0x29d)]&&_0x51c08d['ruleIds'][_0x47d22c(0x331)]>0x0&&_0x51c08d[_0x47d22c(0x44b)]&&_0x51c08d[_0x47d22c(0x29d)][_0x47d22c(0x399)](_0x239c85=>{const _0x5378ec=_0x47d22c;let _0x21aabb=this[_0x5378ec(0x373)][_0x5378ec(0x53c)](_0x2b4382,_0x592ded,_0x239c85),_0x44b24b=(_0x21aabb==null?void 0x0:_0x21aabb[_0x5378ec(0x476)][_0x5378ec(0x1d1)](_0x45e337=>({'range':_0x45e337,'unitId':_0x2b4382,'subUnitId':_0x592ded,'showText':_0x5378ec(0x2e9)})))||[];_0x44b24b[_0x5378ec(0x331)]>0x0&&_0x201bc1(_0x44b24b,_0x5378ec(0x2cb));});break;}case _0x536eef[_0x47d22c(0x477)]['id']:{let _0x4c707b=_0x1e9f14;if(_0x4c707b[_0x47d22c(0x2c4)]&&_0x4c707b[_0x47d22c(0x44b)]){let _0x3da6e7=this[_0x47d22c(0x4d5)][_0x47d22c(0x53c)](_0x4c707b['unitId'],_0x4c707b[_0x47d22c(0x44b)],_0x4c707b['cfId']);if(_0x3da6e7){let _0x21f82f=_0x3da6e7['ranges'][_0x47d22c(0x1d1)](_0x44de00=>({'range':_0x44de00,'unitId':_0x4c707b[_0x47d22c(0x244)],'subUnitId':_0x4c707b[_0x47d22c(0x44b)],'showText':_0x47d22c(0x41e)}));_0x21f82f[_0x47d22c(0x331)]>0x0&&_0x201bc1(_0x21f82f,_0x47d22c(0x2cb));}}break;}case _0xc19dd2[_0x47d22c(0x3ab)]['id']:{let _0x388be7=_0x1e9f14,_0x27d670=Array[_0x47d22c(0x3b6)](_0x388be7[_0x47d22c(0x4c2)])?_0x388be7[_0x47d22c(0x4c2)]:[_0x388be7[_0x47d22c(0x4c2)]];_0x27d670[_0x47d22c(0x331)]>0x0&&_0x388be7[_0x47d22c(0x44b)]&&_0x27d670['forEach'](_0x57ecf1=>{const _0x3cf4cd=_0x47d22c;let _0x4daa92=this[_0x3cf4cd(0x2b0)][_0x3cf4cd(0x462)](_0x388be7[_0x3cf4cd(0x244)],_0x388be7[_0x3cf4cd(0x44b)],_0x57ecf1),_0x559bc7=(_0x4daa92==null?void 0x0:_0x4daa92['ranges'][_0x3cf4cd(0x1d1)](_0xfd5291=>({'range':_0xfd5291,'unitId':_0x388be7['unitId'],'subUnitId':_0x388be7[_0x3cf4cd(0x44b)],'showText':_0x3cf4cd(0x3b9)})))||[];_0x559bc7[_0x3cf4cd(0x331)]>0x0&&_0x201bc1(_0x559bc7,'deleteBorder');});break;}case _0x1b4633[_0x47d22c(0x3c8)]['id']:{let _0x5934d0=_0x1e9f14;_0x201bc1(_0x5934d0[_0x47d22c(0x561)][_0x47d22c(0x476)][_0x47d22c(0x1d1)](_0x234641=>({'range':_0x234641,'unitId':_0x5934d0[_0x47d22c(0x244)],'subUnitId':_0x5934d0[_0x47d22c(0x44b)],'showText':_0x47d22c(0x30b)})),'updateBorder');break;}case _0x1b4633[_0x47d22c(0x428)]['id']:{let _0x44b9d2=_0x1e9f14;_0x201bc1([{'range':_0x44b9d2['range'],'unitId':_0x44b9d2[_0x47d22c(0x244)],'subUnitId':_0x44b9d2[_0x47d22c(0x44b)],'showText':_0x47d22c(0x2a4)}],_0x47d22c(0x2af));break;}case _0x1b4633[_0x47d22c(0x4e8)]['id']:{let _0x1e2995=_0x1e9f14;_0x201bc1([{'range':_0x1e2995[_0x47d22c(0x50f)],'unitId':_0x1e2995[_0x47d22c(0x244)],'subUnitId':_0x1e2995['subUnitId'],'showText':_0x47d22c(0x484)}],_0x47d22c(0x2af));break;}case _0x536eef['SetConditionalRuleMutation']['id']:{let _0x4e02c3=_0x1e9f14;_0x201bc1(_0x4e02c3[_0x47d22c(0x561)][_0x47d22c(0x476)][_0x47d22c(0x1d1)](_0x4d116d=>({'range':_0x4d116d,'unitId':_0x4e02c3[_0x47d22c(0x244)],'subUnitId':_0x4e02c3[_0x47d22c(0x44b)],'showText':_0x47d22c(0x314)})),_0x47d22c(0x2af));break;}case _0x536eef[_0x47d22c(0x3c9)]['id']:{let _0x2f0be8=_0x1e9f14,_0xcd065=this[_0x47d22c(0x4d5)][_0x47d22c(0x53c)](_0x2f0be8[_0x47d22c(0x244)],_0x2f0be8[_0x47d22c(0x44b)],_0x2f0be8[_0x47d22c(0x4f9)]['id']),_0x360f9a=this['_conditionalFormattingRuleModel']['getRule'](_0x2f0be8[_0x47d22c(0x244)],_0x2f0be8[_0x47d22c(0x44b)],_0x2f0be8[_0x47d22c(0x482)]['id']);_0xcd065&&_0x201bc1(_0xcd065['ranges'][_0x47d22c(0x1d1)](_0x24bfd2=>({'range':_0x24bfd2,'unitId':_0x2f0be8[_0x47d22c(0x244)],'subUnitId':_0x2f0be8[_0x47d22c(0x44b)],'showText':_0x47d22c(0x232)})),_0x47d22c(0x2cb)),_0x360f9a&&_0x201bc1(_0x360f9a[_0x47d22c(0x476)][_0x47d22c(0x1d1)](_0x41f77d=>({'range':_0x41f77d,'unitId':_0x2f0be8[_0x47d22c(0x244)],'subUnitId':_0x2f0be8['subUnitId'],'showText':'moveCF'})),_0x47d22c(0x28d));break;}case _0x4a9e0b[_0x47d22c(0x4cc)]['id']:{let _0x7d42f4=_0x1e9f14;_0x201bc1([{'range':_0x7d42f4['range'],'unitId':_0x7d42f4[_0x47d22c(0x244)],'subUnitId':_0x7d42f4[_0x47d22c(0x44b)],'showText':_0x47d22c(0x4fa)}],_0x47d22c(0x2af));break;}case _0x4a9e0b[_0x47d22c(0x519)]['id']:{let _0x1dd83a=_0x1e9f14,_0x45adb1=this[_0x47d22c(0x36e)][_0x47d22c(0x1f5)](_0x1dd83a['unitId'],_0x1dd83a[_0x47d22c(0x44b)]);if(_0x45adb1){let _0x472ca0=_0x45adb1[_0x47d22c(0x501)]();_0x201bc1(_0x472ca0?[{'range':_0x472ca0,'unitId':_0x1dd83a[_0x47d22c(0x244)],'subUnitId':_0x1dd83a[_0x47d22c(0x44b)],'showText':'setFilterCriteria'}]:[],'updateBorder');}break;}case _0x4a9e0b[_0x47d22c(0x4c7)]['id']:{let _0xfb1b42=_0x1e9f14,_0x3dc463=this[_0x47d22c(0x36e)]['getFilterModel'](_0xfb1b42[_0x47d22c(0x244)],_0xfb1b42[_0x47d22c(0x44b)]);if(_0x3dc463){let _0x6af582=_0x3dc463['getRange']();_0x201bc1(_0x6af582?[{'range':_0x6af582,'unitId':_0xfb1b42['unitId'],'subUnitId':_0xfb1b42[_0x47d22c(0x44b)],'showText':'removeFilter'}]:[],_0x47d22c(0x2af));}break;}case _0x4a9e0b[_0x47d22c(0x54b)]['id']:{let _0x11c9ae=_0x1e9f14,_0x1bf008=this[_0x47d22c(0x36e)]['getFilterModel'](_0x11c9ae[_0x47d22c(0x244)],_0x11c9ae[_0x47d22c(0x44b)]);if(_0x1bf008){let _0x1e477e=_0x1bf008[_0x47d22c(0x501)]();_0x201bc1(_0x1e477e?[{'range':_0x1e477e,'unitId':_0x11c9ae['unitId'],'subUnitId':_0x11c9ae[_0x47d22c(0x44b)],'showText':_0x47d22c(0x543)}]:[],_0x47d22c(0x2af));}break;}case _0xc19dd2['UpdateDataValidationMutation']['id']:{let _0xe973f1=_0x1e9f14,_0x853f2b=this[_0x47d22c(0x2b0)][_0x47d22c(0x462)](_0xe973f1[_0x47d22c(0x244)],_0xe973f1[_0x47d22c(0x44b)],_0xe973f1[_0x47d22c(0x4c2)]);_0x853f2b&&_0x201bc1(_0x853f2b[_0x47d22c(0x476)][_0x47d22c(0x1d1)](_0x34d88b=>({'range':_0x34d88b,'unitId':_0xe973f1['unitId'],'subUnitId':_0xe973f1[_0x47d22c(0x44b)],'showText':'setDV'})),_0x47d22c(0x2af));break;}case _0x35dc1e[_0x47d22c(0x556)]['id']:{let _0x3fec6e=_0x1e9f14,_0x27236c=_0x3fec6e[_0x47d22c(0x244)],_0x22a4c0=_0x3fec6e[_0x47d22c(0x44b)],_0x476226=_0x3fec6e[_0x47d22c(0x2b6)];_0x3fec6e[_0x47d22c(0x2b6)]&&_0x22a4c0&&Object[_0x47d22c(0x573)](_0x3fec6e['sparklineConfigMap'])['forEach'](_0x382a2c=>{const _0x4dc50e=_0x47d22c;let _0x21e11c=_0x476226[_0x382a2c];_0x201bc1(_0x2146fe(_0x21e11c[_0x4dc50e(0x410)])[_0x4dc50e(0x1d1)](_0x99d052=>({'range':_0x99d052,'unitId':_0x27236c,'subUnitId':_0x22a4c0,'showText':_0x4dc50e(0x2f5)})),_0x4dc50e(0x2bc));});break;}case _0x35dc1e[_0x47d22c(0x3fb)]['id']:{let _0x47292a=_0x1e9f14;_0x47292a[_0x47d22c(0x2d6)]&&_0x47292a[_0x47d22c(0x2d6)][_0x47d22c(0x331)]>0x0&&_0x47292a[_0x47d22c(0x44b)]&&_0x47292a[_0x47d22c(0x2d6)][_0x47d22c(0x399)](_0x183849=>{const _0x554445=_0x47d22c;let _0x4224f7=this[_0x554445(0x4cb)][_0x554445(0x56f)](_0x47292a['unitId'],_0x47292a[_0x554445(0x44b)],_0x183849);_0x4224f7&&_0x201bc1(_0x2146fe(_0x4224f7[_0x554445(0x410)][_0x554445(0x32a)]())[_0x554445(0x1d1)](_0x472b9d=>({'range':_0x472b9d,'unitId':_0x47292a[_0x554445(0x244)],'subUnitId':_0x47292a['subUnitId'],'showText':_0x554445(0x1d3)})),_0x554445(0x3c0));});break;}case _0x35dc1e['RemoveSheetSparklineMutation']['id']:{let _0x26425e=_0x1e9f14;_0x26425e[_0x47d22c(0x2d6)]&&_0x26425e[_0x47d22c(0x2d6)][_0x47d22c(0x331)]>0x0&&_0x26425e[_0x47d22c(0x44b)]&&_0x26425e[_0x47d22c(0x2d6)][_0x47d22c(0x399)](_0x44bf79=>{const _0x49dc3d=_0x47d22c;let _0x5319ba=this[_0x49dc3d(0x4cb)][_0x49dc3d(0x56f)](_0x26425e[_0x49dc3d(0x244)],_0x26425e[_0x49dc3d(0x44b)],_0x44bf79);_0x5319ba&&_0x201bc1(_0x2146fe(_0x5319ba[_0x49dc3d(0x410)][_0x49dc3d(0x32a)]())[_0x49dc3d(0x1d1)](_0x556d6e=>({'range':_0x556d6e,'unitId':_0x26425e[_0x49dc3d(0x244)],'subUnitId':_0x26425e[_0x49dc3d(0x44b)],'showText':_0x49dc3d(0x457)})),_0x49dc3d(0x365));});break;}case _0x1d08d2[_0x47d22c(0x32e)]['id']:{let _0x93ad8f=_0x1e9f14;_0x93ad8f[_0x47d22c(0x27c)]&&_0x93ad8f[_0x47d22c(0x44b)]&&_0x201bc1([{'range':_0x93ad8f[_0x47d22c(0x50f)],'unitId':_0x93ad8f[_0x47d22c(0x244)],'subUnitId':_0x93ad8f[_0x47d22c(0x44b)],'showText':_0x47d22c(0x514)}],_0x47d22c(0x2bc));break;}case _0x1d08d2['DeleteSheetTableMutation']['id']:{let _0x1f90fd=_0x1e9f14;if(_0x1f90fd[_0x47d22c(0x27c)]&&_0x1f90fd[_0x47d22c(0x44b)]){var _0x599f35;let _0x4dbcc5=(_0x599f35=this['_sheetTableService'][_0x47d22c(0x1e5)](_0x1f90fd[_0x47d22c(0x244)],_0x1f90fd['tableId']))==null?void 0x0:_0x599f35[_0x47d22c(0x50f)];_0x4dbcc5&&_0x201bc1([{'range':_0x4dbcc5,'unitId':_0x1f90fd['unitId'],'subUnitId':_0x1f90fd['subUnitId'],'showText':_0x47d22c(0x458)}],_0x47d22c(0x365));}break;}case _0x1d08d2['SetSheetTableFilterMutation']['id']:{let _0xbec68e=_0x1e9f14;if(_0xbec68e['tableId']){let _0x13fd27=this[_0x47d22c(0x2bd)][_0x47d22c(0x1e5)](_0xbec68e['unitId'],_0xbec68e[_0x47d22c(0x27c)]);_0x13fd27&&_0x13fd27['range']&&_0x13fd27[_0x47d22c(0x44b)]&&(_0x43ce50[_0x47d22c(0x27b)][_0x47d22c(0x3a2)](_0x13fd27[_0x47d22c(0x44b)]),_0x201bc1([{'range':_0x13fd27[_0x47d22c(0x50f)],'unitId':_0xbec68e['unitId'],'subUnitId':_0x13fd27[_0x47d22c(0x44b)],'showText':_0x47d22c(0x2ba)}],'update'));}break;}case _0x1d08d2[_0x47d22c(0x4c0)]['id']:{let _0x47e02c=_0x1e9f14;if(_0x47e02c[_0x47d22c(0x27c)]&&_0x47e02c[_0x47d22c(0x44b)]){var _0x121ede;let _0x1d34ba=(_0x121ede=this[_0x47d22c(0x2bd)][_0x47d22c(0x1e5)](_0x47e02c[_0x47d22c(0x244)],_0x47e02c['tableId']))==null?void 0x0:_0x121ede[_0x47d22c(0x50f)];_0x1d34ba&&_0x201bc1([{'range':_0x1d34ba,'unitId':_0x47e02c[_0x47d22c(0x244)],'subUnitId':_0x47e02c[_0x47d22c(0x44b)],'showText':_0x47d22c(0x3cf)}],_0x47d22c(0x3c0));}break;}case _0xde9a52['AddPivotTableMutation']['id']:{let _0x51e425=_0x1e9f14;if(_0x51e425['pivotTableId']&&_0x51e425['subUnitId']){var _0x5e8480;let _0x3a826d=(_0x5e8480=this['_sheetsPivotTableConfigModel'][_0x47d22c(0x3a1)](_0x51e425[_0x47d22c(0x244)],_0x51e425[_0x47d22c(0x44b)],_0x51e425[_0x47d22c(0x24e)]))==null?void 0x0:_0x5e8480[_0x47d22c(0x3e9)];_0x3a826d&&_0x201bc1((0x0,_0xde9a52[_0x47d22c(0x541)])(_0x3a826d)[_0x47d22c(0x1d1)](_0x37965f=>({'range':_0x37965f,'unitId':_0x51e425[_0x47d22c(0x244)],'subUnitId':_0x51e425[_0x47d22c(0x44b)],'showText':_0x47d22c(0x515)})),_0x47d22c(0x2bc));}break;}case _0xde9a52[_0x47d22c(0x1ea)]['id']:{let _0x41b8a6=_0x1e9f14;if(_0x41b8a6['pivotTableId']&&_0x41b8a6[_0x47d22c(0x44b)]){var _0x5d0f31;let _0x206f3c=(_0x5d0f31=this[_0x47d22c(0x415)][_0x47d22c(0x3a1)](_0x41b8a6[_0x47d22c(0x244)],_0x41b8a6[_0x47d22c(0x44b)],_0x41b8a6[_0x47d22c(0x24e)]))==null?void 0x0:_0x5d0f31[_0x47d22c(0x3e9)];_0x206f3c&&_0x201bc1((0x0,_0xde9a52['unionPivotViewRange'])(_0x206f3c)[_0x47d22c(0x1d1)](_0x31a542=>({'range':_0x31a542,'unitId':_0x41b8a6['unitId'],'subUnitId':_0x41b8a6[_0x47d22c(0x44b)],'showText':_0x47d22c(0x4bd)})),_0x47d22c(0x365));}break;}case _0xde9a52['SetPivotOptionMutation']['id']:case _0xde9a52[_0x47d22c(0x4e2)]['id']:case _0xde9a52[_0x47d22c(0x3f6)]['id']:case _0xde9a52[_0x47d22c(0x2c2)]['id']:case _0xde9a52[_0x47d22c(0x3d6)]['id']:case _0xde9a52[_0x47d22c(0x250)]['id']:case _0xde9a52[_0x47d22c(0x307)]['id']:case _0xde9a52[_0x47d22c(0x3d5)]['id']:case _0xde9a52['UpdatePivotFieldSourceInfoMutation']['id']:case _0xde9a52[_0x47d22c(0x1e3)]['id']:case _0xde9a52[_0x47d22c(0x518)]['id']:case _0xde9a52[_0x47d22c(0x552)]['id']:case _0xde9a52[_0x47d22c(0x4f2)]['id']:case _0xde9a52[_0x47d22c(0x4ac)]['id']:case _0xde9a52[_0x47d22c(0x530)]['id']:{let _0x480f7d=_0x1e9f14,_0x559979=_0x47d22c(0x284);if(_0x518e24===_0xde9a52['SetPivotOptionMutation']['id']?_0x559979=_0x47d22c(0x284):_0x518e24===_0xde9a52[_0x47d22c(0x4e2)]['id']?_0x559979=_0x47d22c(0x1e8):_0x518e24===_0xde9a52[_0x47d22c(0x3f6)]['id']?_0x559979='updatePivotSource':_0x518e24===_0xde9a52[_0x47d22c(0x2c2)]['id']?_0x559979=_0x47d22c(0x508):_0x518e24===_0xde9a52[_0x47d22c(0x3d6)]['id']?_0x559979=_0x47d22c(0x2a0):_0x518e24===_0xde9a52[_0x47d22c(0x250)]['id']?_0x559979='renamePivotField':_0x518e24===_0xde9a52[_0x47d22c(0x307)]['id']?_0x559979='updateFieldPosition':_0x518e24===_0xde9a52[_0x47d22c(0x3d5)]['id']?_0x559979=_0x47d22c(0x40a):_0x518e24===_0xde9a52['UpdatePivotFieldSourceInfoMutation']['id']?_0x559979=_0x47d22c(0x235):_0x518e24===_0xde9a52[_0x47d22c(0x1e3)]['id']?_0x559979='setPivotFilter':_0x518e24===_0xde9a52[_0x47d22c(0x518)]['id']?_0x559979=_0x47d22c(0x475):_0x518e24===_0xde9a52[_0x47d22c(0x552)]['id']?_0x559979=_0x47d22c(0x503):_0x518e24===_0xde9a52[_0x47d22c(0x4f2)]['id']?_0x559979=_0x47d22c(0x35f):_0x518e24===_0xde9a52[_0x47d22c(0x530)]['id']?_0x559979=_0x47d22c(0x325):_0x518e24===_0xde9a52[_0x47d22c(0x4ac)]['id']&&(_0x559979=_0x47d22c(0x39d)),_0x480f7d[_0x47d22c(0x24e)]&&_0x480f7d[_0x47d22c(0x44b)]){var _0x1e79e4;let _0x54bcc5=(_0x1e79e4=this[_0x47d22c(0x415)][_0x47d22c(0x3a1)](_0x480f7d[_0x47d22c(0x244)],_0x480f7d['subUnitId'],_0x480f7d[_0x47d22c(0x24e)]))==null?void 0x0:_0x1e79e4[_0x47d22c(0x3e9)];_0x54bcc5&&_0x201bc1((0x0,_0xde9a52['unionPivotViewRange'])(_0x54bcc5)[_0x47d22c(0x1d1)](_0x3b8b39=>({'range':_0x3b8b39,'unitId':_0x480f7d[_0x47d22c(0x244)],'subUnitId':_0x480f7d[_0x47d22c(0x44b)],'showText':_0x559979})),_0x47d22c(0x3c0));}break;}case _0x563273[_0x47d22c(0x22d)]['id']:{let _0x3f421e=_0x1e9f14;_0x3f421e['chartId']&&_0x43ce50[_0x47d22c(0x262)]['push']({'drawingId':_0x3f421e[_0x47d22c(0x38d)],'unitId':_0x3f421e[_0x47d22c(0x244)],'subUnitId':_0x3f421e[_0x47d22c(0x44b)],'showText':_0x3c90a6});break;}case _0x563273[_0x47d22c(0x49c)]['id']:{let _0x14bc01=_0x1e9f14;_0x14bc01['chartId']&&_0x43ce50[_0x47d22c(0x23e)][_0x47d22c(0x3a2)]({'drawingId':_0x14bc01[_0x47d22c(0x38d)],'unitId':_0x14bc01[_0x47d22c(0x244)],'subUnitId':_0x14bc01[_0x47d22c(0x44b)],'showText':_0x3c90a6});break;}case _0x563273[_0x47d22c(0x282)]['id']:{let _0x3edd8d=_0x1e9f14;if(_0x3edd8d[_0x47d22c(0x4aa)]){let _0xa5a172=this['_sheetsChartService'][_0x47d22c(0x46e)](_0x3edd8d[_0x47d22c(0x244)],_0x3edd8d[_0x47d22c(0x4aa)]);_0xa5a172&&(_0x43ce50[_0x47d22c(0x27b)][_0x47d22c(0x3a2)](_0xa5a172),_0x43ce50[_0x47d22c(0x3c4)]['push']({'drawingId':_0x3edd8d['chartModelId'],'unitId':_0x3edd8d['unitId'],'subUnitId':_0xa5a172,'showText':_0x3c90a6}));}break;}case _0x563273[_0x47d22c(0x338)]['id']:{let _0x316f20=_0x1e9f14;if(_0x316f20[_0x47d22c(0x4aa)]){let _0x37e216=this['_sheetsChartService'][_0x47d22c(0x46e)](_0x316f20[_0x47d22c(0x244)],_0x316f20[_0x47d22c(0x4aa)]);_0x37e216&&(_0x43ce50[_0x47d22c(0x27b)][_0x47d22c(0x3a2)](_0x37e216),_0x43ce50[_0x47d22c(0x3c4)][_0x47d22c(0x3a2)]({'drawingId':_0x316f20['chartModelId'],'unitId':_0x316f20[_0x47d22c(0x244)],'subUnitId':_0x37e216,'showText':_0x3c90a6}));}break;}case _0x5ba16e['InsertSheetsShapeMutation']['id']:{let _0x4e57ab=_0x1e9f14;_0x4e57ab['shapeId']&&_0x43ce50[_0x47d22c(0x262)][_0x47d22c(0x3a2)]({'drawingId':_0x4e57ab[_0x47d22c(0x31f)],'unitId':_0x4e57ab[_0x47d22c(0x244)],'subUnitId':_0x4e57ab[_0x47d22c(0x44b)],'showText':_0x3c90a6});break;}case _0x5ba16e[_0x47d22c(0x42b)]['id']:{let _0x7df490=_0x1e9f14;_0x7df490[_0x47d22c(0x31f)]&&_0x43ce50['deleteDrawings']['push']({'drawingId':_0x7df490[_0x47d22c(0x31f)],'unitId':_0x7df490[_0x47d22c(0x244)],'subUnitId':_0x7df490[_0x47d22c(0x44b)],'showText':_0x3c90a6});break;}case _0x5ba16e[_0x47d22c(0x2e8)]['id']:case _0x5ba16e['UpdateSheetsShapeTypeMutation']['id']:{let _0x4d1c8d=_0x1e9f14;_0x4d1c8d[_0x47d22c(0x31f)]&&_0x43ce50[_0x47d22c(0x3c4)][_0x47d22c(0x3a2)]({'drawingId':_0x4d1c8d[_0x47d22c(0x31f)],'unitId':_0x4d1c8d[_0x47d22c(0x244)],'subUnitId':_0x4d1c8d[_0x47d22c(0x44b)],'showText':_0x3c90a6});break;}case _0x6b353d['SetDrawingApplyMutation']['id']:{let _0x5a06e6=_0x1e9f14,_0x4863d7=_0x5a06e6[_0x47d22c(0x343)],_0x5ace50=_0x5a06e6[_0x47d22c(0x391)],_0x503f07=_0x5ace50!==_0x6b353d['DrawingApplyType'][_0x47d22c(0x420)]&&_0x5ace50!==_0x6b353d[_0x47d22c(0x298)]['REMOVE'],_0x29d313=_0x5ace50===_0x6b353d[_0x47d22c(0x298)]['INSERT'],_0x11f282=_0x5ace50===_0x6b353d['DrawingApplyType'][_0x47d22c(0x44c)],_0x506e4a=_0x3c90a6;if(_0x5ace50===_0x6b353d[_0x47d22c(0x298)]['INSERT']?_0x506e4a=this[_0x47d22c(0x3b1)]['t']('editHistory.action.insertDrawing'):_0x5ace50===_0x6b353d['DrawingApplyType']['REMOVE']&&(_0x506e4a=this[_0x47d22c(0x3b1)]['t'](_0x47d22c(0x33b))),Array[_0x47d22c(0x3b6)](_0x4863d7))_0x4863d7[_0x47d22c(0x399)](_0x17339d=>{const _0x395445=_0x47d22c;if('drawingId'in _0x17339d&&_0x17339d[_0x395445(0x2fc)])_0x503f07?_0x43ce50[_0x395445(0x3c4)][_0x395445(0x3a2)]({'drawingId':_0x17339d[_0x395445(0x2fc)],'unitId':_0x5a06e6[_0x395445(0x244)],'subUnitId':_0x5a06e6[_0x395445(0x44b)],'showText':_0x506e4a}):_0x29d313?_0x43ce50[_0x395445(0x262)]['push']({'drawingId':_0x17339d[_0x395445(0x2fc)],'unitId':_0x5a06e6[_0x395445(0x244)],'subUnitId':_0x5a06e6[_0x395445(0x44b)],'showText':_0x506e4a}):_0x11f282&&_0x43ce50[_0x395445(0x23e)][_0x395445(0x3a2)]({'drawingId':_0x17339d['drawingId'],'unitId':_0x5a06e6[_0x395445(0x244)],'subUnitId':_0x5a06e6[_0x395445(0x44b)],'showText':_0x506e4a});else{if(_0x395445(0x205)in _0x17339d&&'children'in _0x17339d){var _0x4aec95,_0x53b0d6;(_0x4aec95=_0x17339d[_0x395445(0x205)])!=null&&_0x4aec95['drawingId']&&(_0x503f07?_0x43ce50[_0x395445(0x3c4)][_0x395445(0x3a2)]({'drawingId':_0x17339d[_0x395445(0x205)][_0x395445(0x2fc)],'unitId':_0x5a06e6['unitId'],'subUnitId':_0x5a06e6[_0x395445(0x44b)],'showText':_0x506e4a}):_0x29d313?_0x43ce50['insertDrawings'][_0x395445(0x3a2)]({'drawingId':_0x17339d[_0x395445(0x205)][_0x395445(0x2fc)],'unitId':_0x5a06e6['unitId'],'subUnitId':_0x5a06e6['subUnitId'],'showText':_0x506e4a}):_0x11f282&&_0x43ce50[_0x395445(0x23e)]['push']({'drawingId':_0x17339d[_0x395445(0x205)][_0x395445(0x2fc)],'unitId':_0x5a06e6[_0x395445(0x244)],'subUnitId':_0x5a06e6[_0x395445(0x44b)],'showText':_0x506e4a})),(_0x53b0d6=_0x17339d['children'])==null||_0x53b0d6[_0x395445(0x399)](_0x337fa9=>{const _0x430af0=_0x395445;_0x337fa9[_0x430af0(0x2fc)]&&(_0x503f07?_0x43ce50[_0x430af0(0x3c4)][_0x430af0(0x3a2)]({'drawingId':_0x337fa9[_0x430af0(0x2fc)],'unitId':_0x5a06e6[_0x430af0(0x244)],'subUnitId':_0x5a06e6[_0x430af0(0x44b)],'showText':_0x506e4a}):_0x29d313?_0x43ce50[_0x430af0(0x262)]['push']({'drawingId':_0x337fa9['drawingId'],'unitId':_0x5a06e6[_0x430af0(0x244)],'subUnitId':_0x5a06e6[_0x430af0(0x44b)],'showText':_0x506e4a}):_0x11f282&&_0x43ce50['deleteDrawings']['push']({'drawingId':_0x337fa9[_0x430af0(0x2fc)],'unitId':_0x5a06e6['unitId'],'subUnitId':_0x5a06e6[_0x430af0(0x44b)],'showText':_0x506e4a}));});}}});else{if(_0x4863d7&&typeof _0x4863d7=='object'){if(_0x47d22c(0x315)in _0x4863d7&&Array['isArray'](_0x4863d7[_0x47d22c(0x315)]))_0x4863d7['drawingIds'][_0x47d22c(0x399)](_0x98cfe3=>{const _0x1f97ea=_0x47d22c;_0x503f07?_0x43ce50[_0x1f97ea(0x3c4)][_0x1f97ea(0x3a2)]({'drawingId':_0x98cfe3,'unitId':_0x5a06e6['unitId'],'subUnitId':_0x5a06e6[_0x1f97ea(0x44b)],'showText':_0x506e4a}):_0x29d313?_0x43ce50[_0x1f97ea(0x262)][_0x1f97ea(0x3a2)]({'drawingId':_0x98cfe3,'unitId':_0x5a06e6[_0x1f97ea(0x244)],'subUnitId':_0x5a06e6[_0x1f97ea(0x44b)],'showText':_0x506e4a}):_0x11f282&&_0x43ce50[_0x1f97ea(0x23e)][_0x1f97ea(0x3a2)]({'drawingId':_0x98cfe3,'unitId':_0x5a06e6[_0x1f97ea(0x244)],'subUnitId':_0x5a06e6[_0x1f97ea(0x44b)],'showText':_0x506e4a});});else{if(_0x47d22c(0x205)in _0x4863d7&&_0x47d22c(0x48d)in _0x4863d7){var _0x403a16,_0x41dbf9;(_0x403a16=_0x4863d7[_0x47d22c(0x205)])!=null&&_0x403a16[_0x47d22c(0x2fc)]&&(_0x503f07?_0x43ce50[_0x47d22c(0x3c4)][_0x47d22c(0x3a2)]({'drawingId':_0x4863d7['parent'][_0x47d22c(0x2fc)],'unitId':_0x5a06e6['unitId'],'subUnitId':_0x5a06e6[_0x47d22c(0x44b)],'showText':_0x506e4a}):_0x29d313?_0x43ce50[_0x47d22c(0x262)][_0x47d22c(0x3a2)]({'drawingId':_0x4863d7[_0x47d22c(0x205)][_0x47d22c(0x2fc)],'unitId':_0x5a06e6['unitId'],'subUnitId':_0x5a06e6['subUnitId'],'showText':_0x506e4a}):_0x11f282&&_0x43ce50['deleteDrawings'][_0x47d22c(0x3a2)]({'drawingId':_0x4863d7[_0x47d22c(0x205)][_0x47d22c(0x2fc)],'unitId':_0x5a06e6[_0x47d22c(0x244)],'subUnitId':_0x5a06e6[_0x47d22c(0x44b)],'showText':_0x506e4a})),(_0x41dbf9=_0x4863d7['children'])==null||_0x41dbf9[_0x47d22c(0x399)](_0x314762=>{const _0x51e262=_0x47d22c;_0x314762[_0x51e262(0x2fc)]&&(_0x503f07?_0x43ce50['updateDrawings']['push']({'drawingId':_0x314762[_0x51e262(0x2fc)],'unitId':_0x5a06e6[_0x51e262(0x244)],'subUnitId':_0x5a06e6[_0x51e262(0x44b)],'showText':_0x506e4a}):_0x29d313?_0x43ce50['insertDrawings'][_0x51e262(0x3a2)]({'drawingId':_0x314762['drawingId'],'unitId':_0x5a06e6['unitId'],'subUnitId':_0x5a06e6[_0x51e262(0x44b)],'showText':_0x506e4a}):_0x11f282&&_0x43ce50[_0x51e262(0x23e)]['push']({'drawingId':_0x314762['drawingId'],'unitId':_0x5a06e6['unitId'],'subUnitId':_0x5a06e6[_0x51e262(0x44b)],'showText':_0x506e4a}));});}}}}break;}}return _0x43ce50;}[_0x3f4fc0(0x233)](_0xbdcc1){const _0x2ed389=_0x3f4fc0;if(_0xbdcc1[_0x2ed389(0x331)]<=0x1)return _0xbdcc1;let _0x89b69c=new Map();return _0xbdcc1[_0x2ed389(0x399)](_0x5ea33a=>{const _0x1a2fa6=_0x2ed389;let {unitId:_0x2ce3ee,subUnitId:_0x1481d0}=_0x5ea33a,_0x42278b=_0x2ce3ee+'-'+_0x1481d0;if(!_0x89b69c['has'](_0x42278b))_0x89b69c['set'](_0x42278b,[_0x5ea33a]);else{var _0x1e289f;(_0x1e289f=_0x89b69c[_0x1a2fa6(0x285)](_0x42278b))==null||_0x1e289f['push'](_0x5ea33a);}}),Array[_0x2ed389(0x422)](_0x89b69c[_0x2ed389(0x28f)]())[_0x2ed389(0x1d1)](_0x212c84=>new _0x1b4633[(_0x2ed389(0x3c2))]()[_0x2ed389(0x317)](..._0x212c84[_0x2ed389(0x1d1)](_0x47ab76=>_0x47ab76[_0x2ed389(0x50f)]))['merge']()[_0x2ed389(0x1d1)](_0x513252=>({'range':_0x513252,'unitId':_0x212c84[0x0]['unitId'],'subUnitId':_0x212c84[0x0]['subUnitId'],'showText':_0x212c84[0x0][_0x2ed389(0x32c)],'highlightRow':_0x212c84[0x0][_0x2ed389(0x21b)],'highlightColumn':_0x212c84[0x0][_0x2ed389(0x55b)]})))[_0x2ed389(0x353)]();}};_0x45320b=_0x45b447([_0x24cc5e(0x0,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x504091)),_0x24cc5e(0x1,_0x2550be['ITransformService']),_0x24cc5e(0x2,_0x2550be['ISnapshotServerService']),_0x24cc5e(0x3,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x1b4633['RangeProtectionRuleModel'])),_0x24cc5e(0x4,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x536eef[_0x3f4fc0(0x275)])),_0x24cc5e(0x5,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x5e4e88[_0x3f4fc0(0x2d1)])),_0x24cc5e(0x6,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x4a9e0b[_0x3f4fc0(0x295)])),_0x24cc5e(0x7,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x35dc1e[_0x3f4fc0(0x4ab)])),_0x24cc5e(0x8,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0xde9a52[_0x3f4fc0(0x35b)])),_0x24cc5e(0x9,(0x0,_0x1249e8['Inject'])(_0x1d08d2[_0x3f4fc0(0x526)])),_0x24cc5e(0xa,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x1249e8[_0x3f4fc0(0x3f2)])),_0x24cc5e(0xb,(0x0,_0x1249e8['Inject'])(_0x563273['SheetsChartService'])),_0x24cc5e(0xc,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x483938))],_0x45320b);function _0xc54e60(_0x2d71ad){const _0x142c00=_0x3f4fc0;return new _0x1249e8[(_0x142c00(0x1f7))](_0x2d71ad)[_0x142c00(0x3a9)]();}function _0x2146fe(_0x3726b4){const _0x53037a=_0x3f4fc0;let _0x211268=new _0x1249e8[(_0x53037a(0x1f7))](_0x3726b4),_0x23d9f6=new _0x1249e8[(_0x53037a(0x1f7))]();return _0x211268[_0x53037a(0x1ff)]((_0x55f805,_0x10ec0c)=>{_0x23d9f6['setValue'](_0x55f805,_0x10ec0c,0x1);}),(0x0,_0x1b4633[_0x53037a(0x4da)])(_0x23d9f6);}var _0x580f25=class extends _0x4a53b9['Shape']{constructor(_0x4cf4d8,_0xb7b920){const _0x5d1ae2=_0x3f4fc0;if(super(_0x4cf4d8,_0xb7b920),_0x2a49f8(this,_0x5d1ae2(0x375),void 0x0),_0x2a49f8(this,_0x5d1ae2(0x3ec),void 0x0),_0x2a49f8(this,_0x5d1ae2(0x2c3),void 0x0),_0x2a49f8(this,_0x5d1ae2(0x230),0x4),_0x2a49f8(this,'_blinkTimer',void 0x0),_0x2a49f8(this,'_blinkIntervalTimer',void 0x0),_0x2a49f8(this,_0x5d1ae2(0x448),!0x0),_0x2a49f8(this,'_name',''),_0x2a49f8(this,'_hovered',!0x1),_0x2a49f8(this,'_labelPosition','top'),_0x2a49f8(this,_0x5d1ae2(0x309),void 0x0),_0xb7b920){var _0x4e773d;if(this[_0x5d1ae2(0x441)](_0xb7b920),_0xb7b920[_0x5d1ae2(0x308)]&&((_0x4e773d=_0xb7b920['highlightSecond'])==null?this[_0x5d1ae2(0x230)]:_0x4e773d)){var _0x204741;this[_0x5d1ae2(0x412)]((_0x204741=_0xb7b920[_0x5d1ae2(0x551)])==null?this[_0x5d1ae2(0x230)]:_0x204741);}}this[_0x5d1ae2(0x20b)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x5d1ae2(0x3fe)]['subscribeEvent'](()=>this[_0x5d1ae2(0x441)]({'hovered':!0x1}));}[_0x3f4fc0(0x441)](_0x17d4ab){const _0x1ca773=_0x3f4fc0;var _0x462a45,_0x1b1c4c,_0x27f837,_0x5c273b,_0x2594ee,_0x466371;this[_0x1ca773(0x375)]=(_0x462a45=_0x17d4ab['color'])==null?this[_0x1ca773(0x375)]:_0x462a45,this[_0x1ca773(0x3ec)]=(_0x1b1c4c=_0x17d4ab[_0x1ca773(0x469)])==null?this[_0x1ca773(0x3ec)]:_0x1b1c4c,this[_0x1ca773(0x2b5)]=(_0x27f837=_0x17d4ab[_0x1ca773(0x25a)])==null?this[_0x1ca773(0x2b5)]:_0x27f837,this[_0x1ca773(0x409)]=(_0x5c273b=_0x17d4ab[_0x1ca773(0x54c)])==null?this[_0x1ca773(0x409)]:_0x5c273b,this[_0x1ca773(0x2cf)]=(_0x2594ee=_0x17d4ab[_0x1ca773(0x39a)])==null?this[_0x1ca773(0x2cf)]:_0x2594ee,this['_showText']=(_0x466371=_0x17d4ab[_0x1ca773(0x32c)])==null?this[_0x1ca773(0x309)]:_0x466371,_0x17d4ab[_0x1ca773(0x551)]!==void 0x0&&(this[_0x1ca773(0x230)]=_0x17d4ab[_0x1ca773(0x551)]),_0x17d4ab[_0x1ca773(0x308)]!==void 0x0&&(this[_0x1ca773(0x2c3)]=_0x17d4ab[_0x1ca773(0x308)]),this[_0x1ca773(0x3a4)]({'width':_0x17d4ab['width'],'height':_0x17d4ab[_0x1ca773(0x3b2)]});}['_startBlinking'](_0x480b6c){const _0x95d14d=_0x3f4fc0;this[_0x95d14d(0x51c)](),this[_0x95d14d(0x448)]=!0x0,this[_0x95d14d(0x47c)]=window[_0x95d14d(0x425)](()=>{const _0xd13891=_0x95d14d;this[_0xd13891(0x448)]=!this[_0xd13891(0x448)],this['makeDirty'](!0x0);},0x1f4),this[_0x95d14d(0x2c0)]=window[_0x95d14d(0x456)](()=>{const _0x3031f8=_0x95d14d;this[_0x3031f8(0x51c)](),this[_0x3031f8(0x448)]=!0x0,this[_0x3031f8(0x397)](!0x0);},_0x480b6c*0x3e8);}[_0x3f4fc0(0x51c)](){const _0x31cfc4=_0x3f4fc0;this[_0x31cfc4(0x47c)]&&(window[_0x31cfc4(0x41c)](this[_0x31cfc4(0x47c)]),this[_0x31cfc4(0x47c)]=void 0x0),this[_0x31cfc4(0x2c0)]&&(window[_0x31cfc4(0x276)](this['_blinkTimer']),this[_0x31cfc4(0x2c0)]=void 0x0);}[_0x3f4fc0(0x2da)](_0xbc768e){return!0x1;}[_0x3f4fc0(0x38e)](){const _0x29df1e=_0x3f4fc0;this[_0x29df1e(0x51c)](),super['dispose']();}[_0x3f4fc0(0x4c4)](_0x5d624c){const _0x16b32b=_0x3f4fc0;let _0x4ba8f4=this[_0x16b32b(0x375)];this[_0x16b32b(0x2c3)]&&!this[_0x16b32b(0x448)]&&(_0x4ba8f4=this[_0x16b32b(0x29e)](this[_0x16b32b(0x375)])),_0x5d624c[_0x16b32b(0x243)](),_0x5d624c[_0x16b32b(0x1dd)]=_0x4ba8f4,_0x5d624c[_0x16b32b(0x557)]=_0x4ba8f4,_0x5d624c[_0x16b32b(0x575)]=0x4,this[_0x16b32b(0x3ec)]===_0x16b32b(0x2f6)?this[_0x16b32b(0x1fa)](_0x5d624c):this['_drawVerticalArrow'](_0x5d624c),_0x5d624c[_0x16b32b(0x30e)](),(this[_0x16b32b(0x409)]||this['_showText'])&&this[_0x16b32b(0x2b5)]&&(_0x5d624c[_0x16b32b(0x243)](),this['_direction']===_0x16b32b(0x2f6)?_0x5d624c['transform'](0x1,0x0,0x0,0x1,this[_0x16b32b(0x1e2)],this['_labelPosition']===_0x16b32b(0x434)?0x0:-0x14):_0x5d624c['transform'](0x1,0x0,0x0,0x1,this[_0x16b32b(0x1e2)],this[_0x16b32b(0x2cf)]===_0x16b32b(0x434)?this[_0x16b32b(0x3b2)]:-0x14),this[_0x16b32b(0x53a)](_0x5d624c,this[_0x16b32b(0x2b5)],_0x4ba8f4),_0x5d624c[_0x16b32b(0x30e)]());}[_0x3f4fc0(0x1fa)](_0x1107ee){const _0x29b8cc=_0x3f4fc0;let _0x51d330=this['height']/0x2,_0x30402d=this['width']-0xc;_0x1107ee[_0x29b8cc(0x27e)](),_0x1107ee[_0x29b8cc(0x2eb)](0xc,_0x51d330),_0x1107ee[_0x29b8cc(0x1e4)](_0x30402d,_0x51d330),_0x1107ee[_0x29b8cc(0x4e1)](),_0x1107ee[_0x29b8cc(0x27e)](),_0x1107ee[_0x29b8cc(0x2eb)](0x0,_0x51d330),_0x1107ee[_0x29b8cc(0x1e4)](0xc,_0x51d330-0xc/0x2),_0x1107ee[_0x29b8cc(0x1e4)](0xc,_0x51d330+0xc/0x2),_0x1107ee['closePath'](),_0x1107ee[_0x29b8cc(0x303)](),_0x1107ee[_0x29b8cc(0x27e)](),_0x1107ee[_0x29b8cc(0x2eb)](this[_0x29b8cc(0x1e2)],_0x51d330),_0x1107ee[_0x29b8cc(0x1e4)](this['width']-0xc,_0x51d330-0xc/0x2),_0x1107ee[_0x29b8cc(0x1e4)](this[_0x29b8cc(0x1e2)]-0xc,_0x51d330+0xc/0x2),_0x1107ee[_0x29b8cc(0x4ef)](),_0x1107ee[_0x29b8cc(0x303)]();}[_0x3f4fc0(0x274)](_0x3bbf64){const _0x5cfe3c=_0x3f4fc0;let _0xac7523=this['width']/0x2,_0x3ab3e8=this[_0x5cfe3c(0x3b2)]-0xc;_0x3bbf64[_0x5cfe3c(0x27e)](),_0x3bbf64[_0x5cfe3c(0x2eb)](_0xac7523,0xc),_0x3bbf64[_0x5cfe3c(0x1e4)](_0xac7523,_0x3ab3e8),_0x3bbf64[_0x5cfe3c(0x4e1)](),_0x3bbf64[_0x5cfe3c(0x27e)](),_0x3bbf64[_0x5cfe3c(0x2eb)](_0xac7523,0x0),_0x3bbf64[_0x5cfe3c(0x1e4)](_0xac7523-0xc/0x2,0xc),_0x3bbf64[_0x5cfe3c(0x1e4)](_0xac7523+0xc/0x2,0xc),_0x3bbf64[_0x5cfe3c(0x4ef)](),_0x3bbf64[_0x5cfe3c(0x303)](),_0x3bbf64[_0x5cfe3c(0x27e)](),_0x3bbf64['moveTo'](_0xac7523,this[_0x5cfe3c(0x3b2)]),_0x3bbf64[_0x5cfe3c(0x1e4)](_0xac7523-0xc/0x2,this['height']-0xc),_0x3bbf64[_0x5cfe3c(0x1e4)](_0xac7523+0xc/0x2,this['height']-0xc),_0x3bbf64[_0x5cfe3c(0x4ef)](),_0x3bbf64[_0x5cfe3c(0x303)]();}[_0x3f4fc0(0x53a)](_0x4bb8be,_0x213cd9,_0x4951d2){const _0xc673ef=_0x3f4fc0;_0x4bb8be['font']=_0xc673ef(0x21e);let _0x26e946=_0x4bb8be[_0xc673ef(0x3d1)](_0x213cd9)[_0xc673ef(0x1e2)],_0x8b271e=Math[_0xc673ef(0x3ff)](_0x26e946+0x8,0xc8);if(_0x4bb8be[_0xc673ef(0x557)]=_0x4951d2,_0x4bb8be[_0xc673ef(0x27e)](),_0x4bb8be[_0xc673ef(0x2eb)](0x4,0x0),_0x4bb8be[_0xc673ef(0x1e4)](_0x8b271e-0x4,0x0),_0x4bb8be[_0xc673ef(0x437)](_0x8b271e-0x4,0x4,0x4,Math['PI']*0x3/0x2,0x0,!0x1),_0x4bb8be['lineTo'](_0x8b271e,0x10),_0x4bb8be[_0xc673ef(0x437)](_0x8b271e-0x4,0x10,0x4,0x0,Math['PI']/0x2,!0x1),_0x4bb8be[_0xc673ef(0x1e4)](0x0,0x14),_0x4bb8be[_0xc673ef(0x1e4)](0x0,0x4),_0x4bb8be[_0xc673ef(0x437)](0x4,0x4,0x4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4bb8be[_0xc673ef(0x4ef)](),_0x4bb8be[_0xc673ef(0x303)](),_0x4bb8be[_0xc673ef(0x557)]='#FFF',_0x26e946>0xc0){let _0x3c4011='',_0x19f3a8=0x0;for(let _0x5ce8e3 of _0x213cd9){let _0x188c6e=_0x4bb8be[_0xc673ef(0x3d1)](_0x5ce8e3)[_0xc673ef(0x1e2)];if(_0x19f3a8+_0x188c6e<=0xc0-_0x4bb8be[_0xc673ef(0x3d1)](_0xc673ef(0x4c3))[_0xc673ef(0x1e2)])_0x3c4011+=_0x5ce8e3,_0x19f3a8+=_0x188c6e;else{_0x3c4011+='...';break;}}_0x4bb8be[_0xc673ef(0x51f)](_0x3c4011,0x4,0xf);}else _0x4bb8be[_0xc673ef(0x51f)](_0x213cd9,0x4,0xf);}['_getLighterColor'](_0x416c34){const _0x286fa8=_0x3f4fc0;return _0x416c34[_0x286fa8(0x3f5)]('#')?_0x286fa8(0x211)+Number[_0x286fa8(0x270)](_0x416c34[_0x286fa8(0x3df)](0x1,0x3),0x10)+',\x20'+Number['parseInt'](_0x416c34[_0x286fa8(0x3df)](0x3,0x5),0x10)+',\x20'+Number['parseInt'](_0x416c34[_0x286fa8(0x3df)](0x5,0x7),0x10)+_0x286fa8(0x220):_0x416c34[_0x286fa8(0x3f5)]('rgba')?_0x416c34[_0x286fa8(0x4fc)](/[\d.]+\)$/g,'0.2)'):_0x416c34[_0x286fa8(0x3f5)]('rgb')?_0x416c34[_0x286fa8(0x4fc)](_0x286fa8(0x436),_0x286fa8(0x3b4))['replace'](')',',\x200.2)'):_0x416c34;}};let _0x2c1ffe=class extends _0x1249e8[_0x3f4fc0(0x323)]{constructor(_0x2a0133,_0x2eacff,_0x55b46e,_0x391d22,_0x4d382c,_0x541568,_0x34e16f,_0x5e1ee1){const _0x20d67e=_0x3f4fc0;super(),this[_0x20d67e(0x3eb)]=_0x2a0133,this[_0x20d67e(0x356)]=_0x2eacff,this[_0x20d67e(0x3a6)]=_0x55b46e,this[_0x20d67e(0x2f8)]=_0x391d22,this['_renderManagerService']=_0x4d382c,this[_0x20d67e(0x2e3)]=_0x541568,this[_0x20d67e(0x45e)]=_0x34e16f,this['_drawingManagerService']=_0x5e1ee1,_0x2a49f8(this,_0x20d67e(0x1d6),new Set()),_0x2a49f8(this,_0x20d67e(0x4a7),new Set()),_0x2a49f8(this,_0x20d67e(0x52e),new Set()),_0x2a49f8(this,'_drawingDiffs',new Set()),_0x2a49f8(this,_0x20d67e(0x509),null),this[_0x20d67e(0x2b2)]();}[_0x3f4fc0(0x2b2)](){const _0x308a64=_0x3f4fc0;this[_0x308a64(0x51b)](),this[_0x308a64(0x424)]();}[_0x3f4fc0(0x51b)](){const _0x2f3230=_0x3f4fc0;this['disposeWithMe']((0x0,_0x43cd5a[_0x2f3230(0x532)])([this[_0x2f3230(0x356)][_0x2f3230(0x51d)],this[_0x2f3230(0x2e3)][_0x2f3230(0x452)]])[_0x2f3230(0x527)]((0x0,_0x43cd5a[_0x2f3230(0x224)])(([_0x4a3a20,_0x1fa297])=>{const _0x1cb8bf=_0x2f3230;if(_0x4a3a20===_0x19b843[_0x1cb8bf(0x28b)]&&_0x1fa297){let _0x459784=_0x1fa297[_0x1cb8bf(0x387)];return this[_0x1cb8bf(0x3a6)][_0x1cb8bf(0x548)]['pipe']((0x0,_0x43cd5a[_0x1cb8bf(0x1d1)])(_0x572528=>_0x572528[_0x1cb8bf(0x27b)][_0x1cb8bf(0x331)]===0x0||_0x572528['subUnitIds'][_0x1cb8bf(0x461)](_0x459784)?{'skeleton':_0x1fa297,'versionDiff':_0x572528,'sheetID':_0x459784}:{'skeleton':_0x1fa297,'versionDiff':null}));}return(0x0,_0x43cd5a['of'])({'skeleton':null,'versionDiff':null,'sheetID':null});}))['subscribe'](({skeleton:_0x13e140,versionDiff:_0x113037,sheetID:_0x265fd8})=>{const _0x5e32ba=_0x2f3230;this['_removeDiffMarks'](),_0x13e140&&_0x113037&&_0x265fd8&&this[_0x5e32ba(0x4dd)](_0x13e140,_0x113037,_0x265fd8);})),this['disposeWithMe'](this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x2f3230(0x37f)](_0x391b05=>{const _0x260778=_0x2f3230;if(_0x391b05==null)return;let {skeleton:_0x2d1ddf}=_0x391b05,{scene:_0x12da0a}=this[_0x260778(0x3eb)];_0x12da0a[_0x260778(0x3e2)][_0x260778(0x4ee)]((0x0,_0x1249e8[_0x260778(0x2fb)])(_0x393ba3=>{const _0x338525=_0x260778;var _0x29f950,_0x3a6fbf;let {offsetX:_0x476c51,offsetY:_0xcefac1}=_0x393ba3,{x:_0x1c0997,y:_0xe3b206}=_0x12da0a[_0x338525(0x3f9)](_0x4a53b9[_0x338525(0x376)][_0x338525(0x2ea)]([_0x476c51,_0xcefac1])),{scaleX:_0x236369,scaleY:_0x18ad28}=_0x12da0a[_0x338525(0x534)](),_0x16df5a=_0x12da0a['getViewport'](_0x4a53b9[_0x338525(0x249)][_0x338525(0x4b0)]),_0x4c8d99=_0x12da0a[_0x338525(0x306)](_0x4a53b9[_0x338525(0x376)][_0x338525(0x2ea)]([_0x1c0997,_0xe3b206]),_0x16df5a),_0x4844ca=_0x2d1ddf['getCellPositionByOffset'](_0x476c51,_0xcefac1,_0x236369,_0x18ad28,_0x4c8d99);((_0x29f950=this['_lastPointer'])==null?void 0x0:_0x29f950[_0x338525(0x4c5)])===_0x4844ca[_0x338525(0x4c5)]&&((_0x3a6fbf=this[_0x338525(0x509)])==null?void 0x0:_0x3a6fbf[_0x338525(0x4e4)])===_0x4844ca['row']||this[_0x338525(0x1d6)][_0x338525(0x399)](_0x232782=>{const _0xcdb1e8=_0x338525;_0x232782[_0xcdb1e8(0x241)]||_0x232782[_0xcdb1e8(0x523)](_0x4844ca);});},0x64));}));}[_0x3f4fc0(0x424)](){const _0xe3fe3b=_0x3f4fc0;this[_0xe3fe3b(0x292)](this[_0xe3fe3b(0x356)][_0xe3fe3b(0x51d)][_0xe3fe3b(0x37f)](_0x134776=>{const _0x17a6b9=_0xe3fe3b;let _0x41fe3f=new _0x1249e8[(_0x17a6b9(0x404))]();return _0x134776===_0x19b843['Loaded']&&(_0x41fe3f['dispose'](),_0x41fe3f['add'](this[_0x17a6b9(0x3a6)][_0x17a6b9(0x548)][_0x17a6b9(0x37f)](_0x4a28f8=>{const _0x42f17a=_0x17a6b9;this[_0x42f17a(0x537)](_0x4a28f8[_0x42f17a(0x27b)]),_0x4a28f8[_0x42f17a(0x301)]&&this[_0x42f17a(0x45e)]['executeCommand'](_0x1b4633[_0x42f17a(0x490)]['id'],{'unitId':this[_0x42f17a(0x3eb)][_0x42f17a(0x244)],'subUnitId':_0x4a28f8['active']});}))),()=>_0x41fe3f['dispose']();}));}[_0x3f4fc0(0x537)](_0x427e6a){const _0x3088d8=_0x3f4fc0;let _0x2c0c39=this[_0x3088d8(0x2f8)]['getUnit'](this[_0x3088d8(0x3eb)][_0x3088d8(0x244)],_0x1249e8['UniverInstanceType']['UNIVER_SHEET']);if(!_0x2c0c39)return;let _0x377179=_0x2c0c39[_0x3088d8(0x4d3)]();if(_0x427e6a['length']===0x0){_0x377179[_0x3088d8(0x399)](_0x44b202=>{const _0x38a2dc=_0x3088d8;_0x44b202[_0x38a2dc(0x568)]()&&this[_0x38a2dc(0x45e)][_0x38a2dc(0x221)](_0x1b4633['SetWorksheetHideMutation']['id'],{'unitId':this[_0x38a2dc(0x3eb)][_0x38a2dc(0x244)],'subUnitId':_0x44b202[_0x38a2dc(0x2d7)](),'hidden':0x0});});return;}_0x377179[_0x3088d8(0x399)](_0x419792=>{const _0x83f5a5=_0x3088d8;let _0xe67997=_0x419792[_0x83f5a5(0x2d7)](),_0x3a8f2e=_0x427e6a['includes'](_0xe67997),_0xcdd823=_0x419792[_0x83f5a5(0x568)]();_0x3a8f2e&&_0xcdd823?this[_0x83f5a5(0x45e)][_0x83f5a5(0x221)](_0x1b4633[_0x83f5a5(0x390)]['id'],{'unitId':this[_0x83f5a5(0x3eb)][_0x83f5a5(0x244)],'subUnitId':_0xe67997,'hidden':0x0}):!_0x3a8f2e&&!_0xcdd823&&this[_0x83f5a5(0x45e)][_0x83f5a5(0x221)](_0x1b4633[_0x83f5a5(0x390)]['id'],{'unitId':this[_0x83f5a5(0x3eb)][_0x83f5a5(0x244)],'subUnitId':_0xe67997,'hidden':0x1});});}['_updateDiffMarks'](_0x506e62,_0x1d281c,_0x2a4617){const _0x582a8f=_0x3f4fc0;this['_diffs'][_0x582a8f(0x399)](_0xcbe591=>{const _0x1c9215=_0x582a8f;_0xcbe591[_0x1c9215(0x397)]();});let _0x4682ee=this[_0x582a8f(0x2a5)](_0x1d281c,_0x2a4617);this['_diffs']=new Set(_0x4682ee[_0x582a8f(0x48f)](_0x18a17d=>_0x18a17d instanceof _0x5aadf8[_0x582a8f(0x362)])),this['_borderDiffs']=new Set(_0x4682ee[_0x582a8f(0x48f)](_0x33cb3a=>_0x33cb3a instanceof _0x4a53b9[_0x582a8f(0x512)])),this['_arrowDiffs']=new Set(_0x4682ee[_0x582a8f(0x48f)](_0x209089=>_0x209089 instanceof _0x580f25)),_0x4682ee['length']>0x0&&this[_0x582a8f(0x36b)](_0x4682ee[0x0],this[_0x582a8f(0x3eb)][_0x582a8f(0x400)]);}['generateDiffMarks'](_0x49beae,_0x1d7dba){const _0x53b50e=_0x3f4fc0;let _0x4044b5=this[_0x53b50e(0x2e3)][_0x53b50e(0x52a)]();if(!_0x4044b5)return[];let {scene:_0x31ba41}=this['_context'],_0xf2dce=[],_0x1a0db8=_0x366d98=>{const _0x3b0e79=_0x53b50e;if(!_0x366d98)return new Map();let _0x11d44f=new Map();return _0x366d98[_0x3b0e79(0x399)]((_0x5c91cf,_0x5a6e20)=>{const _0x238ad4=_0x3b0e79;let _0x52c9c0=_0x5c91cf[_0x238ad4(0x48f)](_0x2748c1=>_0x2748c1[_0x238ad4(0x44b)]===_0x1d7dba);_0x52c9c0['length']>0x0&&_0x11d44f['set'](_0x5a6e20,_0x52c9c0);}),_0x11d44f;};return this[_0x53b50e(0x4a1)](_0x31ba41,_0x4044b5,_0x1a0db8(_0x49beae['insertCellRanges']),_0x53b50e(0x1d5),_0xf2dce),this[_0x53b50e(0x4a1)](_0x31ba41,_0x4044b5,_0x1a0db8(_0x49beae[_0x53b50e(0x49e)]),_0x53b50e(0x200),_0xf2dce),this[_0x53b50e(0x4a1)](_0x31ba41,_0x4044b5,_0x1a0db8(_0x49beae[_0x53b50e(0x367)]),_0x53b50e(0x39b),_0xf2dce),this['_renderBorderRanges'](_0x31ba41,_0x4044b5,_0x1a0db8(_0x49beae[_0x53b50e(0x212)]),_0x53b50e(0x1d5),_0xf2dce),this[_0x53b50e(0x499)](_0x31ba41,_0x4044b5,_0x1a0db8(_0x49beae[_0x53b50e(0x3d2)]),_0x53b50e(0x200),_0xf2dce),this[_0x53b50e(0x499)](_0x31ba41,_0x4044b5,_0x1a0db8(_0x49beae[_0x53b50e(0x36a)]),_0x53b50e(0x39b),_0xf2dce),this['_renderArrowRanges'](_0x31ba41,_0x4044b5,_0x1a0db8(_0x49beae[_0x53b50e(0x2d4)]),_0x53b50e(0x321),_0xf2dce),this[_0x53b50e(0x4c1)](_0x31ba41,_0x4044b5,_0x1a0db8(_0x49beae['arrowColumnRanges']),'horizontal',_0xf2dce),_0x49beae['insertDrawings']&&this[_0x53b50e(0x202)](_0x31ba41,_0x49beae[_0x53b50e(0x262)],_0x53b50e(0x1d5),_0xf2dce),_0x49beae['deleteDrawings']&&this[_0x53b50e(0x202)](_0x31ba41,_0x49beae[_0x53b50e(0x23e)],'rgba(198,40,40,0.5)',_0xf2dce),_0x49beae[_0x53b50e(0x3c4)]&&this[_0x53b50e(0x202)](_0x31ba41,_0x49beae[_0x53b50e(0x3c4)],_0x53b50e(0x39b),_0xf2dce),this['_handleOverlappingShapes'](_0xf2dce),_0x31ba41[_0x53b50e(0x542)](_0xf2dce,0x14),_0xf2dce;}['hideDiffMarks'](){const _0x48e8d5=_0x3f4fc0;this[_0x48e8d5(0x1d6)][_0x48e8d5(0x399)](_0x5c85c4=>{const _0x2ee7c7=_0x48e8d5;_0x5c85c4[_0x2ee7c7(0x20a)]();}),this[_0x48e8d5(0x4a7)][_0x48e8d5(0x399)](_0x29a861=>{const _0x379015=_0x48e8d5;_0x29a861[_0x379015(0x20a)]();}),this['_arrowDiffs'][_0x48e8d5(0x399)](_0x194a5f=>{const _0x161dce=_0x48e8d5;_0x194a5f[_0x161dce(0x20a)]();});}[_0x3f4fc0(0x473)](){const _0x195384=_0x3f4fc0;this[_0x195384(0x1d6)][_0x195384(0x399)](_0x3931d7=>{const _0x15ff1e=_0x195384;_0x3931d7[_0x15ff1e(0x489)]();}),this[_0x195384(0x4a7)][_0x195384(0x399)](_0x5ad5a4=>{const _0x59f2be=_0x195384;_0x5ad5a4[_0x59f2be(0x489)]();}),this['_arrowDiffs'][_0x195384(0x399)](_0xcd3024=>{const _0x1732db=_0x195384;_0xcd3024[_0x1732db(0x489)]();});}[_0x3f4fc0(0x355)](){const _0x1c612b=_0x3f4fc0;this[_0x1c612b(0x203)]();}[_0x3f4fc0(0x433)](_0x4b8738,_0x19d6a7){const _0x28572b=_0x3f4fc0;this[_0x28572b(0x36b)](_0x4b8738,_0x19d6a7);}['_renderCellRanges'](_0xcc9bf4,_0x5ca7f0,_0x289273,_0x3e27a8,_0x3d61ee){_0x289273['forEach']((_0x55cab3,_0x57deda)=>{const _0x4e743b=_0xc05f;_0x55cab3[_0x4e743b(0x399)](_0x1a8be2=>{const _0x385f4b=_0x4e743b;var _0x3c38a5;let {range:_0x858215,subUnitId:_0x368436,unitId:_0x2064d2,showText:_0xca8f86='',highlightColumn:_0x549abe,highlightRow:_0x4f6709}=_0x1a8be2,{startColumn:_0xa1b6ad,startRow:_0x3cccc2,endColumn:_0x4388b9,endRow:_0x52304d}=_0x858215,_0x4f0966=(0x0,_0x4bed25[_0x385f4b(0x2e4)])(_0x3cccc2,_0xa1b6ad,_0xcc9bf4,_0x5ca7f0),_0x1b5eb0=(0x0,_0x4bed25['getCoordByCell'])(_0x52304d,_0x4388b9,_0xcc9bf4,_0x5ca7f0),{columnHeaderHeightAndMarginTop:_0x1a1453}=_0x5ca7f0,{startX:_0x531463,startY:_0x27cf14}=_0x4f0966,{endX:_0x582b83,endY:_0x15f146}=_0x1b5eb0,_0x2a1eed=_0x5ca7f0['rowHeaderWidth'],_0x2cd667=_0x5ca7f0[_0x385f4b(0x506)];_0x4f6709&&(_0x531463-=_0x2a1eed),_0x549abe&&(_0x27cf14-=_0x2cd667);let _0x590f38=_0x582b83-_0x531463,_0x4daaea=_0x15f146-_0x27cf14,_0x3ec87e={'labelPosition':_0x27cf14-_0x1a1453>=0x14?'top':_0x385f4b(0x434),'sheetID':_0x368436,'range':_0x858215,'color':_0x3e27a8,'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x3e27a8,'name':((_0x3c38a5=this['_historyManagerService'][_0x385f4b(0x2fd)](_0x57deda))==null?void 0x0:_0x3c38a5[_0x385f4b(0x25a)])+'\x20'+_0xca8f86||_0xca8f86,'selection':_0x2064d2+'-'+_0x368436+'-'+_0x858215[_0x385f4b(0x4f6)]+'-'+_0x858215[_0x385f4b(0x43a)]+'-'+_0x858215['endColumn']+'-'+_0x858215['endRow'],'left':_0x531463,'top':_0x27cf14,'width':_0x590f38,'height':_0x4daaea,'evented':!0x1,'zIndex':0x3e8,'highlight':!0x0};_0x3d61ee[_0x385f4b(0x3a2)](new _0x5aadf8[(_0x385f4b(0x362))]('',_0x3ec87e));});});}['_renderBorderRanges'](_0x22154e,_0x562920,_0x48b411,_0x340453,_0x2dee7e){const _0x10e713=_0x3f4fc0;_0x48b411[_0x10e713(0x399)]((_0x2875bf,_0x2ce1b7)=>{_0x2875bf['forEach'](_0x3a1253=>{const _0x5c0f72=_0xc05f;var _0x5b46ef;let {range:_0xa1fc1d,subUnitId:_0x3867e7,unitId:_0x44baf3,showText:_0x9c1a9c=''}=_0x3a1253,{startColumn:_0x592911,startRow:_0x24f992,endColumn:_0x1d7126,endRow:_0x5ec8ec}=_0xa1fc1d,_0x34ff14=(0x0,_0x4bed25['getCoordByCell'])(_0x24f992,_0x592911,_0x22154e,_0x562920),_0x5ae3b4=(0x0,_0x4bed25['getCoordByCell'])(_0x5ec8ec,_0x1d7126,_0x22154e,_0x562920),{columnHeaderHeightAndMarginTop:_0x167dd3}=_0x562920,{startX:_0x28701f,startY:_0x3ac559}=_0x34ff14,{endX:_0x274935,endY:_0x2eaabd}=_0x5ae3b4,_0x5e8b9=_0x274935-_0x28701f,_0x164c7e=_0x2eaabd-_0x3ac559,_0x4da48e={'labelPosition':_0x3ac559-_0x167dd3>=0x14?_0x5c0f72(0x337):_0x5c0f72(0x434),'sheetID':_0x3867e7,'range':_0xa1fc1d,'color':_0x340453,'fillAfterStrokeEnabled':!0x1,'backgroundColor':_0x5c0f72(0x26a),'name':((_0x5b46ef=this[_0x5c0f72(0x356)][_0x5c0f72(0x2fd)](_0x2ce1b7))==null?void 0x0:_0x5b46ef['name'])+'\x20'+_0x9c1a9c||_0x9c1a9c,'selection':_0x44baf3+'-'+_0x3867e7+'-'+_0xa1fc1d[_0x5c0f72(0x4f6)]+'-'+_0xa1fc1d['startRow']+'-'+_0xa1fc1d[_0x5c0f72(0x418)]+'-'+_0xa1fc1d[_0x5c0f72(0x22c)],'left':_0x28701f-0xc/0x2,'top':_0x3ac559-0xc/0x2,'width':_0x5e8b9,'height':_0x164c7e,'evented':!0x1,'zIndex':0x3e8,'strokeWidth':0xc,'highlight':!0x0};_0x2dee7e['push'](new _0x5aadf8[(_0x5c0f72(0x362))]('',_0x4da48e));});});}[_0x3f4fc0(0x4c1)](_0x2b772b,_0x151aa2,_0x7d626f,_0x432277,_0x4e4a1a){const _0x31983f=_0x3f4fc0;let _0x54e844=_0x151aa2[_0x31983f(0x27d)],_0x51a0ab=_0x151aa2[_0x31983f(0x506)];_0x7d626f[_0x31983f(0x399)]((_0x5a5bcc,_0x5e88de)=>{const _0xc05036=_0x31983f;_0x5a5bcc[_0xc05036(0x399)](_0x2a96ae=>{const _0x152e6b=_0xc05036;let {range:_0x20d6c3,showText:_0x35c914=''}=_0x2a96ae,{startColumn:_0x98722f,startRow:_0xf37fbd,endColumn:_0x3f60cc,endRow:_0x3879b}=_0x20d6c3,_0x2b2192=(0x0,_0x4bed25[_0x152e6b(0x2e4)])(_0xf37fbd,_0x98722f,_0x2b772b,_0x151aa2),_0x2f5f2c=(0x0,_0x4bed25[_0x152e6b(0x2e4)])(_0x3879b,_0x3f60cc,_0x2b772b,_0x151aa2),{startX:_0x1c96dd,startY:_0x3b05bf}=_0x2b2192,{endX:_0x284ef7,endY:_0x5131bd}=_0x2f5f2c,{columnHeaderHeightAndMarginTop:_0x2f7616}=_0x151aa2,_0x5ae4a1;if(_0x432277===_0x152e6b(0x2f6)){var _0x2b5cec;_0x5ae4a1=new _0x580f25('',{'color':_0x152e6b(0x39b),'direction':'horizontal','left':_0x1c96dd,'top':0x2,'width':_0x284ef7-_0x1c96dd,'height':_0x51a0ab-0x4,'evented':!0x0,'zIndex':0x3e9,'highlight':!0x0,'highlightSecond':0x4,'name':((_0x2b5cec=this[_0x152e6b(0x356)]['getMember'](_0x5e88de))==null?void 0x0:_0x2b5cec[_0x152e6b(0x25a)])+'\x20'+_0x35c914||_0x35c914,'labelPosition':_0x3b05bf-_0x2f7616>=0x14?'top':_0x152e6b(0x434)}),_0x4e4a1a['push'](_0x5ae4a1);}else{var _0xe10d9;let _0x47e88d=_0x5131bd-_0x3b05bf;_0x5ae4a1=new _0x580f25('',{'color':_0x152e6b(0x39b),'direction':'vertical','left':0x2,'top':_0x3b05bf,'width':_0x54e844-0x4,'height':_0x47e88d,'evented':!0x0,'zIndex':0x3e9,'highlight':!0x0,'highlightSecond':0x4,'name':((_0xe10d9=this[_0x152e6b(0x356)][_0x152e6b(0x2fd)](_0x5e88de))==null?void 0x0:_0xe10d9[_0x152e6b(0x25a)])+'\x20'+_0x35c914||_0x35c914,'labelPosition':_0x152e6b(0x337)}),_0x4e4a1a[_0x152e6b(0x3a2)](_0x5ae4a1);}});});}[_0x3f4fc0(0x202)](_0x43f7d1,_0x2cb915,_0x62ae79,_0x1ceed2){const _0x41b9ff=_0x3f4fc0;let _0xb4b836=this['_sheetSkeletonManagerService'][_0x41b9ff(0x52a)]();if(!_0xb4b836)return;let {columnHeaderHeightAndMarginTop:_0x3b6ae1}=_0xb4b836;_0x2cb915[_0x41b9ff(0x399)]((_0x89b2ee,_0x4f3002)=>{const _0x33cd15=_0x41b9ff;_0x89b2ee[_0x33cd15(0x399)](_0x4d519b=>{const _0x1a7ead=_0x33cd15;var _0x5c1d6f;let {drawingId:_0x181b09,unitId:_0x2f9d27,subUnitId:_0x44da09,showText:_0x4ffc8c=''}=_0x4d519b,_0x19be48=this[_0x1a7ead(0x23c)][_0x1a7ead(0x256)]({'unitId':_0x2f9d27,'subUnitId':_0x44da09,'drawingId':_0x181b09});if(!_0x19be48||!_0x19be48[_0x1a7ead(0x470)])return;let {left:_0xc6cc7d=0x0,top:_0x377c17=0x0,width:_0x255d8f,height:_0xba0520}=_0x19be48[_0x1a7ead(0x470)],_0x52a624=new _0x5aadf8['SheetCollabCursorShape']('',{'labelPosition':_0x377c17-_0x3b6ae1>=0x14?_0x1a7ead(0x337):_0x1a7ead(0x434),'sheetID':_0x44da09,'range':{'startRow':0x0,'startColumn':0x0,'endRow':0x0,'endColumn':0x0},'color':_0x62ae79,'fillAfterStrokeEnabled':!0x1,'backgroundColor':_0x1a7ead(0x26a),'name':((_0x5c1d6f=this['_historyManagerService']['getMember'](_0x4f3002))==null?void 0x0:_0x5c1d6f[_0x1a7ead(0x25a)])+'\x20'+_0x4ffc8c||_0x4ffc8c,'selection':_0x2f9d27+'-'+_0x44da09+_0x1a7ead(0x48e)+_0x181b09,'left':_0xc6cc7d-0xc/0x2,'top':_0x377c17-0xc/0x2,'width':_0x255d8f,'height':_0xba0520,'evented':!0x0,'zIndex':0x3e8,'strokeWidth':0xc,'highlight':!0x0});_0x52a624[_0x1a7ead(0x20b)][_0x1a7ead(0x4ee)](()=>{const _0x4229c2=_0x1a7ead;this[_0x4229c2(0x46b)](_0x52a624,_0x1ceed2)['forEach'](_0x584682=>{const _0x5b5ea3=_0x4229c2;_0x584682 instanceof _0x5aadf8[_0x5b5ea3(0x362)]&&_0x584682[_0x5b5ea3(0x441)]({'hovered':!0x0});});}),_0x52a624[_0x1a7ead(0x3fe)][_0x1a7ead(0x4ee)](()=>{const _0x37e4ad=_0x1a7ead;this[_0x37e4ad(0x46b)](_0x52a624,_0x1ceed2)[_0x37e4ad(0x399)](_0x4b3217=>{const _0x48be3c=_0x37e4ad;_0x4b3217 instanceof _0x5aadf8[_0x48be3c(0x362)]&&_0x4b3217[_0x48be3c(0x441)]({'hovered':!0x1});});}),_0x1ceed2[_0x1a7ead(0x3a2)](_0x52a624);});});}[_0x3f4fc0(0x203)](){const _0x5b8119=_0x3f4fc0;var _0x4f8e90,_0x20c289,_0x266deb,_0x264cca;(_0x4f8e90=this[_0x5b8119(0x1d6)])==null||_0x4f8e90[_0x5b8119(0x399)](_0x2609fe=>_0x2609fe[_0x5b8119(0x38e)]()),(_0x20c289=this['_borderDiffs'])==null||_0x20c289['forEach'](_0x1a70ae=>_0x1a70ae[_0x5b8119(0x38e)]()),(_0x266deb=this[_0x5b8119(0x52e)])==null||_0x266deb['forEach'](_0xac3b21=>_0xac3b21[_0x5b8119(0x38e)]()),(_0x264cca=this[_0x5b8119(0x239)])==null||_0x264cca['forEach'](_0x4e79ae=>_0x4e79ae['dispose']());}[_0x3f4fc0(0x348)](_0x27071f){const _0x4909d1=_0x3f4fc0;let _0x3f384b=_0x27071f['filter'](_0x468455=>_0x468455 instanceof _0x5aadf8['SheetCollabCursorShape']);if(_0x3f384b[_0x4909d1(0x331)]===0x0)return;let _0x40e05d=[],_0x1052c1=new Set();_0x3f384b[_0x4909d1(0x399)](_0x1ed5ec=>{const _0x36a5bc=_0x4909d1;if(_0x1052c1[_0x36a5bc(0x2aa)](_0x1ed5ec))return;let _0x3e731d=_0x1ed5ec['left']||0x0,_0x2858fe=_0x1ed5ec[_0x36a5bc(0x337)]||0x0,_0x3f2efb=_0x3e731d+(_0x1ed5ec['width']||0x0),_0x83cac=_0x2858fe,_0x4758ee=[_0x1ed5ec];_0x1052c1['add'](_0x1ed5ec),_0x3f384b[_0x36a5bc(0x399)](_0x429e22=>{const _0x4c1d4=_0x36a5bc;if(_0x1052c1[_0x4c1d4(0x2aa)](_0x429e22))return;let _0x2b681f=_0x429e22['left']||0x0,_0x3e2a54=_0x429e22[_0x4c1d4(0x337)]||0x0,_0x539127=_0x2b681f+(_0x429e22[_0x4c1d4(0x1e2)]||0x0),_0x14fc73=_0x3e2a54;Math[_0x4c1d4(0x45f)](_0x3f2efb-_0x539127)<=0xa&&Math[_0x4c1d4(0x45f)](_0x83cac-_0x14fc73)<=0xa&&(_0x4758ee[_0x4c1d4(0x3a2)](_0x429e22),_0x1052c1[_0x4c1d4(0x317)](_0x429e22));}),_0x4758ee[_0x36a5bc(0x331)]>0x1&&_0x40e05d[_0x36a5bc(0x3a2)](_0x4758ee);}),_0x40e05d[_0x4909d1(0x399)](_0x57d5d1=>{const _0x117c70=_0x4909d1;_0x57d5d1[_0x117c70(0x521)]((_0x32bdc8,_0x3c1d2c)=>(_0x32bdc8[_0x117c70(0x337)]||0x0)-(_0x3c1d2c[_0x117c70(0x337)]||0x0)),_0x57d5d1[_0x117c70(0x399)]((_0x326e36,_0x41ad1f)=>{const _0x345148=_0x117c70;let _0x5b60f6=_0x41ad1f*0x16;_0x326e36[_0x345148(0x463)](_0x5b60f6);});});}[_0x3f4fc0(0x46b)](_0x36269d,_0x31d457){const _0x2be396=_0x3f4fc0;let _0x1de070=_0x36269d[_0x2be396(0x421)]||0x0,_0xf9ee2d=_0x36269d[_0x2be396(0x337)]||0x0,_0x207088=_0x36269d[_0x2be396(0x1e2)]||0x0,_0x447505=_0x36269d[_0x2be396(0x3b2)]||0x0,_0x49c883=_0x1de070+_0x207088,_0x4c615d=_0xf9ee2d+_0x447505;return _0x31d457['filter'](_0x3fa07b=>{const _0x1675c5=_0x2be396;let _0x287101=_0x3fa07b[_0x1675c5(0x421)]||0x0,_0x2c2b79=_0x3fa07b[_0x1675c5(0x337)]||0x0,_0x335482=_0x3fa07b[_0x1675c5(0x1e2)]||0x0,_0x458931=_0x3fa07b[_0x1675c5(0x3b2)]||0x0,_0x1a8e20=_0x287101+_0x335482,_0x49a1b1=_0x2c2b79+_0x458931;return!(_0x49c883<=_0x287101||_0x1de070>=_0x1a8e20||_0x4c615d<=_0x2c2b79||_0xf9ee2d>=_0x49a1b1);});}[_0x3f4fc0(0x36b)](_0x20dbc4,_0x4e30f3){const _0x24a076=_0x3f4fc0;let _0x4b3087=_0x4e30f3[_0x24a076(0x207)](_0x4a53b9[_0x24a076(0x249)]['VIEW_MAIN']);if(!_0x4b3087)return;let _0x71394=_0x20dbc4[_0x24a076(0x421)]||0x0,_0x565183=_0x20dbc4[_0x24a076(0x337)]||0x0,_0x752e82=_0x20dbc4[_0x24a076(0x1e2)]||0x0,_0x2f98e8=_0x20dbc4[_0x24a076(0x3b2)]||0x0,_0x106035=_0x4b3087['width']||0x0,_0x1538e8=_0x4b3087[_0x24a076(0x3b2)]||0x0,_0x5b771e=_0x4b3087[_0x24a076(0x2bf)]||0x0,_0x26d77c=_0x4b3087[_0x24a076(0x3c7)]||0x0,_0x3a88ba=_0x5b771e,_0xb9e782=_0x26d77c,_0x292649=_0x5b771e+_0x106035,_0x389580=_0x26d77c+_0x1538e8;if(_0x71394>=_0x3a88ba&&_0x565183>=_0xb9e782&&_0x71394+_0x752e82<=_0x292649&&_0x565183+_0x2f98e8<=_0x389580)return;let _0x5c7902=Math[_0x24a076(0x214)](0x0,_0x71394-_0x106035/0x2+_0x752e82/0x2),_0x595603=Math[_0x24a076(0x214)](0x0,_0x565183-_0x1538e8/0x2+_0x2f98e8/0x2);_0x4b3087[_0x24a076(0x507)]({'viewportScrollX':_0x5c7902,'viewportScrollY':_0x595603});}[_0x3f4fc0(0x37c)](){const _0x3cd9d6=_0x3f4fc0;return(0x0,_0x4bed25[_0x3cd9d6(0x1fe)])(this['_univerInstanceService'],this['_renderManagerService']);}};_0x2c1ffe=_0x45b447([_0x24cc5e(0x1,(0x0,_0x1249e8['Inject'])(_0x504091)),_0x24cc5e(0x2,(0x0,_0x1249e8['Inject'])(_0x45320b)),_0x24cc5e(0x3,_0x1249e8[_0x3f4fc0(0x259)]),_0x24cc5e(0x4,_0x4a53b9[_0x3f4fc0(0x50a)]),_0x24cc5e(0x5,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x4bed25[_0x3f4fc0(0x24f)])),_0x24cc5e(0x6,_0x1249e8[_0x3f4fc0(0x231)]),_0x24cc5e(0x7,_0x8cd3e6[_0x3f4fc0(0x20d)])],_0x2c1ffe);var _0x157a56='@univerjs-pro/edit-history-viewer',_0x56d247=_0x3f4fc0(0x34d);let _0x47aaa2=class extends _0x1249e8[_0x3f4fc0(0x323)]{constructor(_0x1083b4){const _0x4939aa=_0x3f4fc0;super(),this[_0x4939aa(0x466)]=_0x1083b4,this[_0x4939aa(0x2b2)]();}['_init'](){const _0x1fd53c=_0x3f4fc0;this[_0x1fd53c(0x292)](this[_0x1fd53c(0x466)][_0x1fd53c(0x53b)][_0x1fd53c(0x37f)](_0xa7997d=>{const _0x5a1114=_0x1fd53c;_0xa7997d!=null&&_0xa7997d[_0x5a1114(0x489)]&&this[_0x5a1114(0x466)][_0x5a1114(0x4f5)]({'show':!0x1});}));}};_0x47aaa2=_0x45b447([_0x24cc5e(0x0,_0x4bed25[_0x3f4fc0(0x302)])],_0x47aaa2);function _0x4e4643(){const _0x52caf3=_0x3f4fc0;let _0x39f6e4=(0x0,_0x577c26[_0x52caf3(0x327)])(_0x504091),_0x385720=(0x0,_0x577c26[_0x52caf3(0x327)])(_0x1249e8[_0x52caf3(0x3f2)]),_0x130fe3=(0x0,_0x577c26[_0x52caf3(0x316)])(_0x39f6e4['currentVersion$']),_0x3e04a0=(0x0,_0x476712['useMemo'])(()=>_0x130fe3?_0x39f6e4['getSelectedVersionCanRevert']():!0x1,[_0x39f6e4,_0x130fe3]),_0x9e9134=(0x0,_0x476712[_0x52caf3(0x2a3)])(()=>{const _0x255762=_0x52caf3;_0x39f6e4[_0x255762(0x513)]=_0x1f4562[_0x255762(0x1dc)];},[_0x39f6e4]),_0x341606=(0x0,_0x476712[_0x52caf3(0x2a3)])(()=>{const _0x18e96f=_0x52caf3;_0x39f6e4[_0x18e96f(0x2ca)]();},[_0x39f6e4]);return(0x0,_0x1168cc[_0x52caf3(0x297)])('div',{'className':_0x52caf3(0x3d4),'children':[(0x0,_0x1168cc[_0x52caf3(0x54e)])(_0x13eba3['Button'],{'variant':_0x52caf3(0x2a9),'onClick':_0x9e9134,'children':_0x385720['t'](_0x52caf3(0x4c6))}),_0x3e04a0?(0x0,_0x1168cc['jsx'])(_0x13eba3[_0x52caf3(0x50c)],{'variant':'link','onClick':_0x341606,'children':_0x385720['t'](_0x52caf3(0x40d))}):(0x0,_0x1168cc['jsx'])(_0x52caf3(0x252),{'className':_0x52caf3(0x479)})]});}let _0x5670a7=class extends _0x1249e8[_0x3f4fc0(0x323)]{constructor(_0x19a7a2,_0x1a6843,_0x2f6fa5,_0x523fd9,_0x4c3b3d,_0x462822,_0x2df09a){const _0x4530d6=_0x3f4fc0;super(),this[_0x4530d6(0x318)]=_0x19a7a2,this[_0x4530d6(0x29a)]=_0x1a6843,this[_0x4530d6(0x350)]=_0x2f6fa5,this[_0x4530d6(0x3b1)]=_0x523fd9,this[_0x4530d6(0x356)]=_0x4c3b3d,this[_0x4530d6(0x1d9)]=_0x462822,this['_configService']=_0x2df09a,this[_0x4530d6(0x2b2)]();}['_init'](){const _0x31798e=_0x3f4fc0;this[_0x31798e(0x292)](this[_0x31798e(0x356)][_0x31798e(0x4de)][_0x31798e(0x37f)](_0x55456c=>{const _0x2e0c4d=_0x31798e;_0x55456c&&this[_0x2e0c4d(0x356)][_0x2e0c4d(0x340)](_0x55456c);})),this[_0x31798e(0x292)](this[_0x31798e(0x318)][_0x31798e(0x2dd)][_0x31798e(0x37f)](_0x5b7a15=>{const _0x4b7575=_0x31798e;let _0x4be9eb=this[_0x4b7575(0x356)][_0x4b7575(0x244)];_0x4be9eb&&(_0x5b7a15[_0x4b7575(0x246)]===_0x94dd27[_0x4b7575(0x2f1)][_0x4b7575(0x4ca)]&&_0x5b7a15[_0x4b7575(0x31a)]===!0x0&&this[_0x4b7575(0x318)][_0x4b7575(0x51e)](new _0x1b4633[(_0x4b7575(0x401))](_0x4be9eb)['id'],!0x1),_0x5b7a15[_0x4b7575(0x246)]===_0x94dd27[_0x4b7575(0x2f1)][_0x4b7575(0x52c)]&&_0x5b7a15[_0x4b7575(0x31a)]===!0x0&&this[_0x4b7575(0x318)]['updatePermissionPoint'](new _0x1b4633['WorkbookRenameSheetPermission'](_0x4be9eb)['id'],!0x1),_0x5b7a15[_0x4b7575(0x246)]===_0x94dd27[_0x4b7575(0x2f1)]['MoveSheet']&&_0x5b7a15[_0x4b7575(0x31a)]===!0x0&&this['_permissionService'][_0x4b7575(0x51e)](new _0x1b4633['WorkbookMoveSheetPermission'](_0x4be9eb)['id'],!0x1),_0x5b7a15[_0x4b7575(0x246)]===_0x94dd27[_0x4b7575(0x2f1)]['HideSheet']&&_0x5b7a15[_0x4b7575(0x31a)]===!0x0&&this[_0x4b7575(0x318)][_0x4b7575(0x51e)](new _0x1b4633['WorkbookHideSheetPermission'](_0x4be9eb)['id'],!0x1),_0x5b7a15[_0x4b7575(0x246)]===_0x94dd27[_0x4b7575(0x2f1)][_0x4b7575(0x48b)]&&_0x5b7a15[_0x4b7575(0x31a)]===!0x0&&this['_permissionService'][_0x4b7575(0x51e)](new _0x1b4633[(_0x4b7575(0x401))](_0x4be9eb)['id'],!0x1),_0x5b7a15[_0x4b7575(0x246)]===_0x94dd27['UnitAction'][_0x4b7575(0x45b)]&&_0x5b7a15['value']===!0x0&&this[_0x4b7575(0x318)][_0x4b7575(0x51e)](new _0x1b4633[(_0x4b7575(0x401))](_0x4be9eb)['id'],!0x1));})),this[_0x31798e(0x222)]();let _0x475b46;this[_0x31798e(0x292)](this['_historyManagerService'][_0x31798e(0x51d)][_0x31798e(0x37f)](_0x5849fc=>{const _0x161c94=_0x31798e;this[_0x161c94(0x350)]['removeAll'](),_0x475b46==null||_0x475b46[_0x161c94(0x38e)](),_0x5849fc===_0x19b843['Loading']&&(this[_0x161c94(0x356)]['showMask'](),_0x475b46=this[_0x161c94(0x350)][_0x161c94(0x489)]({'type':_0x13eba3[_0x161c94(0x3a3)]['Info'],'content':this[_0x161c94(0x3b1)]['t'](_0x161c94(0x472)),'duration':0x3e8})),_0x5849fc===_0x19b843[_0x161c94(0x28b)]&&this[_0x161c94(0x356)]['hideMask']();}));}['_registerHeader'](){const _0x580081=_0x3f4fc0;var _0x20066b;(_0x20066b=this[_0x580081(0x2c1)][_0x580081(0x32f)](_0x580081(0x23a)))!=null&&_0x20066b['historyPanelHidden']||this[_0x580081(0x292)](this['_uiPartsService'][_0x580081(0x4d1)](_0x577c26[_0x580081(0x444)]['HEADER'],()=>(0x0,_0x577c26[_0x580081(0x4a0)])(_0x4e4643,this[_0x580081(0x1d9)])));}};_0x5670a7=_0x45b447([_0x24cc5e(0x0,_0x1249e8['IPermissionService']),_0x24cc5e(0x1,_0x577c26[_0x3f4fc0(0x291)]),_0x24cc5e(0x2,_0x577c26[_0x3f4fc0(0x251)]),_0x24cc5e(0x3,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x1249e8['LocaleService'])),_0x24cc5e(0x4,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x504091)),_0x24cc5e(0x5,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x1249e8[_0x3f4fc0(0x3d7)])),_0x24cc5e(0x6,_0x1249e8[_0x3f4fc0(0x411)])],_0x5670a7);function _0x214159({ref:_0x21fb25,..._0xaa10dc}){const _0x1151d4=_0x3f4fc0;let {icon:_0x51f037,id:_0x226f84,className:_0x5945f9,extend:_0x16d175,..._0x29613f}=_0xaa10dc,_0x3a9555=('univerjs-icon\x20univerjs-icon-'+_0x226f84+'\x20'+(_0x5945f9||''))[_0x1151d4(0x2d3)](),_0x405d09=(0x0,_0x476712['useRef'])('_'+_0x4730b5());return _0x46691d(_0x51f037,''+_0x226f84,{'defIds':_0x51f037[_0x1151d4(0x3e8)],'idSuffix':_0x405d09[_0x1151d4(0x30a)]},{'ref':_0x21fb25,'className':_0x3a9555,..._0x29613f},_0x16d175);}function _0x46691d(_0x2a48d1,_0x35bc4e,_0x24001c,_0x37daf9,_0x240f8a){const _0x511cea=_0x3f4fc0;return(0x0,_0x476712[_0x511cea(0x1f2)])(_0x2a48d1[_0x511cea(0x3be)],{'key':_0x35bc4e,..._0x19deb1(_0x2a48d1,_0x24001c,_0x240f8a),..._0x37daf9},(_0xea80c1(_0x2a48d1,_0x24001c)['children']||[])[_0x511cea(0x1d1)]((_0x14b53f,_0x4a1936)=>_0x46691d(_0x14b53f,_0x35bc4e+'-'+_0x2a48d1[_0x511cea(0x3be)]+'-'+_0x4a1936,_0x24001c,void 0x0,_0x240f8a)));}function _0x19deb1(_0x522125,_0x4c44f9,_0x16fa98){const _0x284d15=_0x3f4fc0;let _0x39da60={..._0x522125[_0x284d15(0x2be)]};_0x16fa98!=null&&_0x16fa98[_0x284d15(0x1ec)]&&_0x39da60[_0x284d15(0x303)]===_0x284d15(0x1ec)&&(_0x39da60[_0x284d15(0x303)]=_0x16fa98['colorChannel1']),_0x522125[_0x284d15(0x3be)]===_0x284d15(0x3de)&&_0x39da60['id']&&(_0x39da60['id']+=_0x4c44f9[_0x284d15(0x20e)]),Object[_0x284d15(0x209)](_0x39da60)[_0x284d15(0x399)](([_0x58cc86,_0x248930])=>{const _0x3e9961=_0x284d15;_0x58cc86===_0x3e9961(0x3de)&&typeof _0x248930==_0x3e9961(0x345)&&(_0x39da60[_0x58cc86]=_0x248930[_0x3e9961(0x4fc)](/url\(#(.*)\)/,_0x3e9961(0x294)+_0x4c44f9[_0x3e9961(0x20e)]+')'));});let {defIds:_0x2ecf71}=_0x4c44f9;return!_0x2ecf71||_0x2ecf71[_0x284d15(0x331)]===0x0?_0x39da60:(_0x522125['tag']===_0x284d15(0x389)&&_0x39da60[_0x284d15(0x3d8)]&&(_0x39da60[_0x284d15(0x3d8)]+=_0x4c44f9[_0x284d15(0x20e)]),Object[_0x284d15(0x209)](_0x39da60)[_0x284d15(0x399)](([_0x1cda29,_0xc70b3d])=>{const _0x8a8a2b=_0x284d15;typeof _0xc70b3d==_0x8a8a2b(0x345)&&(_0x39da60[_0x1cda29]=_0xc70b3d['replace'](/url\(#(.*)\)/,'url(#$1'+_0x4c44f9['idSuffix']+')'));}),_0x39da60);}function _0xea80c1(_0x14f780,_0x498ec5){const _0x3c3a7e=_0x3f4fc0;var _0x160cde;let {defIds:_0x427768}=_0x498ec5;return!_0x427768||_0x427768[_0x3c3a7e(0x331)]===0x0?_0x14f780:_0x14f780[_0x3c3a7e(0x3be)]==='defs'&&(_0x160cde=_0x14f780[_0x3c3a7e(0x48d)])!=null&&_0x160cde[_0x3c3a7e(0x331)]?{..._0x14f780,'children':_0x14f780[_0x3c3a7e(0x48d)]['map'](_0x2f8963=>typeof _0x2f8963[_0x3c3a7e(0x2be)]['id']==_0x3c3a7e(0x345)&&_0x427768&&_0x427768[_0x3c3a7e(0x461)](_0x2f8963[_0x3c3a7e(0x2be)]['id'])?{..._0x2f8963,'attrs':{..._0x2f8963[_0x3c3a7e(0x2be)],'id':_0x2f8963[_0x3c3a7e(0x2be)]['id']+_0x498ec5['idSuffix']}}:_0x2f8963)}:_0x14f780;}function _0x4730b5(){const _0x1cad90=_0x3f4fc0;return Math[_0x1cad90(0x41f)]()[_0x1cad90(0x566)](0x24)[_0x1cad90(0x46a)](0x2,0x8);}_0x214159[_0x3f4fc0(0x4d8)]=_0x3f4fc0(0x42d);let _0x29e28a={'tag':_0x3f4fc0(0x53e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3f4fc0(0x1f8),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':_0x3f4fc0(0x1fc),'attrs':{'fill':'currentColor','d':_0x3f4fc0(0x283)}}]},_0x130f4f=(0x0,_0x476712['forwardRef'])(function(_0x3b00da,_0x186a01){const _0x4dc940=_0x3f4fc0;return(0x0,_0x476712[_0x4dc940(0x1f2)])(_0x214159,Object[_0x4dc940(0x31d)]({},_0x3b00da,{'id':_0x4dc940(0x396),'ref':_0x186a01,'icon':_0x29e28a}));});_0x130f4f[_0x3f4fc0(0x4d8)]=_0x3f4fc0(0x3e1);let _0x674a45={'tag':_0x3f4fc0(0x53e),'attrs':{'xmlns':_0x3f4fc0(0x4e5),'fill':_0x3f4fc0(0x1f8),'viewBox':_0x3f4fc0(0x213),'width':_0x3f4fc0(0x34a),'height':'1em'},'children':[{'tag':_0x3f4fc0(0x1fc),'attrs':{'fill':_0x3f4fc0(0x417),'d':_0x3f4fc0(0x34f),'fillRule':_0x3f4fc0(0x529),'clipRule':_0x3f4fc0(0x529)}}]},_0x180d0b=(0x0,_0x476712[_0x3f4fc0(0x22a)])(function(_0x3546b4,_0x132e7e){const _0x448e21=_0x3f4fc0;return(0x0,_0x476712['createElement'])(_0x214159,Object[_0x448e21(0x31d)]({},_0x3546b4,{'id':_0x448e21(0x559),'ref':_0x132e7e,'icon':_0x674a45}));});_0x180d0b[_0x3f4fc0(0x4d8)]=_0x3f4fc0(0x423);let _0x24f1f0={'tag':_0x3f4fc0(0x53e),'attrs':{'xmlns':_0x3f4fc0(0x4e5),'fill':'none','viewBox':_0x3f4fc0(0x213),'width':_0x3f4fc0(0x34a),'height':_0x3f4fc0(0x34a)},'children':[{'tag':_0x3f4fc0(0x1fc),'attrs':{'fill':_0x3f4fc0(0x417),'d':_0x3f4fc0(0x1f9),'fillRule':_0x3f4fc0(0x529),'clipRule':_0x3f4fc0(0x529)}}]},_0x1144e2=(0x0,_0x476712['forwardRef'])(function(_0x5b60fe,_0x14ebc4){const _0x48bc72=_0x3f4fc0;return(0x0,_0x476712[_0x48bc72(0x1f2)])(_0x214159,Object[_0x48bc72(0x31d)]({},_0x5b60fe,{'id':'more-down-icon','ref':_0x14ebc4,'icon':_0x24f1f0}));});_0x1144e2['displayName']='MoreDownIcon';let _0x2b0185={'tag':_0x3f4fc0(0x53e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3f4fc0(0x1f8),'viewBox':_0x3f4fc0(0x213),'width':_0x3f4fc0(0x34a),'height':_0x3f4fc0(0x34a)},'children':[{'tag':'path','attrs':{'fill':_0x3f4fc0(0x417),'d':'M6.14645\x204.64645C6.34171\x204.45118\x206.65829\x204.45118\x206.85355\x204.64645L9.85355\x207.64645C10.0488\x207.84171\x2010.0488\x208.15829\x209.85355\x208.35355L6.85355\x2011.3536C6.65829\x2011.5488\x206.34171\x2011.5488\x206.14645\x2011.3536C5.95118\x2011.1583\x205.95118\x2010.8417\x206.14645\x2010.6464L8.79289\x208L6.14645\x205.35355C5.95118\x205.15829\x205.95118\x204.84171\x206.14645\x204.64645Z','fillRule':_0x3f4fc0(0x529),'clipRule':_0x3f4fc0(0x529)}}]},_0x2f4dae=(0x0,_0x476712[_0x3f4fc0(0x22a)])(function(_0x480a53,_0x41d0e9){const _0xd9ef33=_0x3f4fc0;return(0x0,_0x476712[_0xd9ef33(0x1f2)])(_0x214159,Object[_0xd9ef33(0x31d)]({},_0x480a53,{'id':_0xd9ef33(0x1e9),'ref':_0x41d0e9,'icon':_0x2b0185}));});_0x2f4dae['displayName']='MoreRightIcon';let _0x5a3de5={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x3f4fc0(0x3e0),'width':_0x3f4fc0(0x34a),'height':_0x3f4fc0(0x34a)},'children':[{'tag':'g','attrs':{'fill':_0x3f4fc0(0x417),'clipPath':_0x3f4fc0(0x3f8)},'children':[{'tag':_0x3f4fc0(0x1fc),'attrs':{'d':'M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z'}},{'tag':_0x3f4fc0(0x1fc),'attrs':{'d':_0x3f4fc0(0x4ce),'fillRule':_0x3f4fc0(0x529),'clipRule':_0x3f4fc0(0x529)}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3f4fc0(0x305)},'children':[{'tag':_0x3f4fc0(0x495),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x3f4fc0(0x3fd),'rx':0x4}}]}]}],'defIds':[_0x3f4fc0(0x305)]},_0x26135e=(0x0,_0x476712[_0x3f4fc0(0x22a)])(function(_0x596006,_0xe6353c){const _0x1f882e=_0x3f4fc0;return(0x0,_0x476712[_0x1f882e(0x1f2)])(_0x214159,Object['assign']({},_0x596006,{'id':_0x1f882e(0x4fb),'ref':_0xe6353c,'icon':_0x5a3de5}));});_0x26135e['displayName']='RestoreIcon';let _0xff5fb8={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3f4fc0(0x1f8),'viewBox':_0x3f4fc0(0x213),'width':_0x3f4fc0(0x34a),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x3f4fc0(0x447),'d':_0x3f4fc0(0x3cd),'fillOpacity':0.2,'fillRule':_0x3f4fc0(0x529),'clipRule':_0x3f4fc0(0x529)}},{'tag':_0x3f4fc0(0x1fc),'attrs':{'fill':_0x3f4fc0(0x447),'d':_0x3f4fc0(0x24d),'fillRule':_0x3f4fc0(0x529),'clipRule':_0x3f4fc0(0x529)}}]},_0x11383d=(0x0,_0x476712[_0x3f4fc0(0x22a)])(function(_0x5301bb,_0x2e79f2){const _0x182a84=_0x3f4fc0;return(0x0,_0x476712[_0x182a84(0x1f2)])(_0x214159,Object[_0x182a84(0x31d)]({},_0x5301bb,{'id':_0x182a84(0x21a),'ref':_0x2e79f2,'icon':_0xff5fb8}));});_0x11383d[_0x3f4fc0(0x4d8)]=_0x3f4fc0(0x4a4);function _0x11c55c(_0x34413f){const _0x4b324d=_0x3f4fc0;var _0x2d9c4b;let {item:_0x2083d4,isNewest:_0x20b9ad}=_0x34413f,_0xc5f92a=(0x0,_0x577c26[_0x4b324d(0x327)])(_0x504091),_0x309a9f=(0x0,_0x577c26[_0x4b324d(0x327)])(_0x45320b),_0x4c78e7=(0x0,_0x577c26[_0x4b324d(0x327)])(_0x1249e8[_0x4b324d(0x3f2)]),_0x2c1683=(0x0,_0x577c26['useObservable'])(_0xc5f92a[_0x4b324d(0x4de)],'',!0x0)===_0x2083d4['id'],_0x4cf8cf=_0x4c78e7[_0x4b324d(0x468)](),_0x48d27a=_0x226af0(_0x2083d4[_0x4b324d(0x329)],_0x4cf8cf),_0x521659=!_0x20b9ad&&_0xc5f92a[_0x4b324d(0x492)],_0x557414=(0x0,_0x476712[_0x4b324d(0x2a3)])(async()=>{const _0x3cd96d=_0x4b324d;_0xc5f92a[_0x3cd96d(0x359)]!==_0x19b843[_0x3cd96d(0x4d9)]&&(_0xc5f92a[_0x3cd96d(0x47b)]=_0x2083d4['id'],await _0x309a9f[_0x3cd96d(0x43c)](_0x2083d4['id']));},[_0xc5f92a,_0x309a9f,_0x2083d4['id']]),_0x4b5223=(0x0,_0x476712[_0x4b324d(0x2a3)])(_0x49870d=>{const _0x345d62=_0x4b324d;_0x49870d[_0x345d62(0x219)](),_0xc5f92a[_0x345d62(0x2ca)](_0x2083d4['id']);},[_0xc5f92a,_0x2083d4['id']]),_0x57c637=((_0x2d9c4b=_0x2083d4[_0x4b324d(0x4be)])==null?void 0x0:_0x2d9c4b[_0x4b324d(0x48f)](Boolean)[_0x4b324d(0x3c3)](',\x20'))||_0x2083d4['user']||_0x4c78e7['t'](_0x4b324d(0x3b3));return(0x0,_0x1168cc[_0x4b324d(0x297)])(_0x4b324d(0x252),{'className':(0x0,_0x13eba3[_0x4b324d(0x4e7)])('univer-flex\x20univer-items-center\x20univer-gap-3\x20univer-border-b\x20univer-border-gray-100\x20univer-px-4\x20univer-py-3\x20dark:!univer-border-gray-800',_0x2c1683&&_0x4b324d(0x42a)),'onClick':_0x557414,'children':[(0x0,_0x1168cc[_0x4b324d(0x297)])(_0x4b324d(0x252),{'className':_0x4b324d(0x504),'children':[(0x0,_0x1168cc[_0x4b324d(0x297)])(_0x4b324d(0x252),{'className':_0x4b324d(0x4b4),'children':[(0x0,_0x1168cc['jsx'])('span',{'className':_0x4b324d(0x260),'children':_0x57c637}),_0x20b9ad&&(0x0,_0x1168cc[_0x4b324d(0x54e)])(_0x4b324d(0x576),{'className':_0x4b324d(0x336),'children':_0x4c78e7['t'](_0x4b324d(0x491))})]}),(0x0,_0x1168cc[_0x4b324d(0x297)])(_0x4b324d(0x252),{'className':_0x4b324d(0x4df),'children':[(0x0,_0x1168cc[_0x4b324d(0x54e)])('span',{'className':_0x4b324d(0x271),'children':_0x48d27a['time']}),(0x0,_0x1168cc[_0x4b324d(0x54e)])(_0x4b324d(0x576),{'className':_0x4b324d(0x27a),'children':_0xbaedfa(_0x2083d4,_0x4c78e7)})]})]}),_0x521659&&(0x0,_0x1168cc[_0x4b324d(0x54e)])(_0x13eba3[_0x4b324d(0x50c)],{'size':'small','variant':_0x4b324d(0x385),'onClick':_0x4b5223,'children':_0x4c78e7['t'](_0x4b324d(0x40d))})]});}function _0x484a74(){const _0x43b16c=_0x3f4fc0;let _0x344600=(0x0,_0x577c26[_0x43b16c(0x327)])(_0x504091),_0x38b51c=(0x0,_0x577c26[_0x43b16c(0x327)])(_0x1249e8['LocaleService']),_0x4b49f5=(0x0,_0x577c26[_0x43b16c(0x316)])(_0x344600[_0x43b16c(0x2fe)]),_0xa7763c=(0x0,_0x577c26[_0x43b16c(0x316)])(_0x344600[_0x43b16c(0x310)]),_0x3546a3=(0x0,_0x476712[_0x43b16c(0x481)])(null),[_0x2d477a,_0x270d40]=(0x0,_0x476712['useState'])(!0x0);(0x0,_0x476712[_0x43b16c(0x403)])(()=>{const _0xcbdc30=_0x43b16c;let _0x253b14=_0x3546a3[_0xcbdc30(0x30a)];if(!_0x253b14||!_0x2d477a)return;let _0x1efb93,_0x5091d9=()=>{clearTimeout(_0x1efb93),_0x1efb93=setTimeout(()=>{const _0x13d6df=_0xc05f;let {scrollTop:_0x2f79de,scrollHeight:_0x4e8553,clientHeight:_0x5c1d69}=_0x253b14;_0x2f79de+_0x5c1d69>=_0x4e8553-0xa&&_0x344600[_0x13d6df(0x1d7)]();},0x64);};return _0x253b14[_0xcbdc30(0x4a5)]('scroll',_0x5091d9),()=>{const _0x54a09f=_0xcbdc30;clearTimeout(_0x1efb93),_0x253b14['removeEventListener'](_0x54a09f(0x2db),_0x5091d9);};},[_0x344600,_0x2d477a]);let _0x32c783=_0x5cd3cd(_0x4b49f5==null?[]:_0x4b49f5);return(0x0,_0x1168cc[_0x43b16c(0x54e)])('div',{'className':_0x43b16c(0x3bd),'children':(0x0,_0x1168cc[_0x43b16c(0x297)])(_0x43b16c(0x252),{'className':(0x0,_0x13eba3[_0x43b16c(0x4e7)])(_0x43b16c(0x40c),_0x2d477a?_0x43b16c(0x229):'univer-h-12'),'children':[(0x0,_0x1168cc[_0x43b16c(0x297)])('div',{'className':_0x43b16c(0x4b1),'onClick':()=>_0x270d40(_0x32c678=>!_0x32c678),'children':[(0x0,_0x1168cc[_0x43b16c(0x54e)])(_0x43b16c(0x252),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-1\x20univer-w-10\x20univer-rounded-full\x20univer-bg-gray-300\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'}),!_0x2d477a&&(0x0,_0x1168cc[_0x43b16c(0x54e)])(_0x43b16c(0x576),{'className':_0x43b16c(0x4cd),'children':_0x38b51c['t'](_0x43b16c(0x2e0))})]}),_0x2d477a&&(0x0,_0x1168cc[_0x43b16c(0x54e)])(_0x1168cc['Fragment'],{'children':_0x4b49f5?(0x0,_0x1168cc[_0x43b16c(0x297)])(_0x43b16c(0x252),{'ref':_0x3546a3,'className':_0x43b16c(0x44e),'children':[_0x32c783[_0x43b16c(0x1d1)](_0x3cbacc=>(0x0,_0x1168cc[_0x43b16c(0x297)])(_0x43b16c(0x252),{'children':[(0x0,_0x1168cc[_0x43b16c(0x54e)])(_0x43b16c(0x252),{'className':_0x43b16c(0x24c),'children':_0x1e7c4c(_0x3cbacc[_0x43b16c(0x4f7)],_0x38b51c[_0x43b16c(0x468)]())}),_0x3cbacc[_0x43b16c(0x440)][_0x43b16c(0x1d1)]((_0x4fd60b,_0x2b9f1b)=>(0x0,_0x1168cc['jsx'])(_0x11c55c,{'item':_0x4fd60b,'isNewest':_0x32c783[0x0]===_0x3cbacc&&_0x2b9f1b===0x0},_0x4fd60b['id']))]},_0x3cbacc[_0x43b16c(0x430)])),_0xa7763c&&(0x0,_0x1168cc[_0x43b16c(0x54e)])(_0x43b16c(0x252),{'className':_0x43b16c(0x2e7),'children':(0x0,_0x1168cc[_0x43b16c(0x54e)])(_0x11383d,{'className':_0x43b16c(0x3fa)})})]}):(0x0,_0x1168cc['jsx'])('div',{'className':_0x43b16c(0x228),'children':(0x0,_0x1168cc[_0x43b16c(0x54e)])(_0x11383d,{'className':_0x43b16c(0x3fa)})})})]})});}let _0x1fc93f=class extends _0x1249e8[_0x3f4fc0(0x323)]{constructor(_0xc62b27,_0x476180){const _0xf9499e=_0x3f4fc0;super(),this[_0xf9499e(0x29a)]=_0xc62b27,this['_injector']=_0x476180,this[_0xf9499e(0x292)](this[_0xf9499e(0x29a)][_0xf9499e(0x4d1)](_0x577c26['BuiltInUIPart'][_0xf9499e(0x29f)],()=>(0x0,_0x577c26['connectInjector'])(_0x484a74,this[_0xf9499e(0x1d9)])));}};_0x1fc93f=_0x45b447([_0x24cc5e(0x0,_0x577c26[_0x3f4fc0(0x291)]),_0x24cc5e(0x1,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x1249e8[_0x3f4fc0(0x3d7)]))],_0x1fc93f);var _0x2a4474=class extends _0x1249e8[_0x3f4fc0(0x323)]{constructor(){const _0x400128=_0x3f4fc0;super(),_0x2a49f8(this,_0x400128(0x2b8),new _0x43cd5a['Subject']());}[_0x3f4fc0(0x3dd)](){const _0x2d13de=_0x3f4fc0;return(0x0,_0x1249e8[_0x2d13de(0x577)])(()=>{});}['close'](){}[_0x3f4fc0(0x4f1)](_0x3e7aac){}[_0x3f4fc0(0x223)](){const _0x5c78c1=_0x3f4fc0;return this[_0x5c78c1(0x2b8)][_0x5c78c1(0x2f3)]();}};let _0x4ab963=class extends _0x1249e8[_0x3f4fc0(0x50d)]{constructor(_0xe7f400=_0x16fd6c,_0x5336a1,_0x3e04c2,_0x5c2b22){const _0xe1ad6a=_0x3f4fc0;super(),this[_0xe1ad6a(0x388)]=_0xe7f400,this[_0xe1ad6a(0x1d9)]=_0x5336a1,this['_renderManagerService']=_0x3e04c2,this[_0xe1ad6a(0x2c1)]=_0x5c2b22;let {..._0x4228c4}=(0x0,_0x1249e8[_0xe1ad6a(0x459)])({},_0x16fd6c,this[_0xe1ad6a(0x388)]);this[_0xe1ad6a(0x2c1)][_0xe1ad6a(0x2e1)](_0x6e4ebd,_0x4228c4);}[_0x3f4fc0(0x3ef)](){const _0x1b0a0b=_0x3f4fc0;[[_0x504091],[_0x5670a7],[_0x45320b],[_0x483938],[_0x1fc93f],[_0x47aaa2],[_0x2550be[_0x1b0a0b(0x4a2)],{'useClass':_0x127e6b[_0x1b0a0b(0x520)]}],[_0x577c26[_0x1b0a0b(0x368)],{'useClass':_0x2a4474}],[_0x8cd3e6[_0x1b0a0b(0x555)],{'useClass':_0x127e6b[_0x1b0a0b(0x3cb)]}]]['forEach'](_0x59a62e=>this[_0x1b0a0b(0x1d9)][_0x1b0a0b(0x317)](_0x59a62e)),this['_injector'][_0x1b0a0b(0x285)](_0x5670a7);}['onRendered'](){const _0x33c5a5=_0x3f4fc0;[[_0x2c1ffe]][_0x33c5a5(0x399)](_0x27fa7f=>{const _0x3a0ba3=_0x33c5a5;this[_0x3a0ba3(0x292)](this[_0x3a0ba3(0x393)][_0x3a0ba3(0x272)](_0x1249e8[_0x3a0ba3(0x549)][_0x3a0ba3(0x460)],_0x27fa7f));}),this[_0x33c5a5(0x1d9)][_0x33c5a5(0x285)](_0x47aaa2),this[_0x33c5a5(0x1d9)][_0x33c5a5(0x285)](_0x1fc93f);}[_0x3f4fc0(0x344)](){this['_injector']['get'](_0x45320b);}};_0x2a49f8(_0x4ab963,_0x3f4fc0(0x383),'UNIVER_EDIT_HISTORY_VIEWER_MOBILE_PLUGIN'),_0x2a49f8(_0x4ab963,_0x3f4fc0(0x2b3),_0x157a56),_0x2a49f8(_0x4ab963,_0x3f4fc0(0x4cf),_0x56d247),_0x4ab963=_0x45b447([(0x0,_0x1249e8[_0x3f4fc0(0x369)])(_0x4bed25['UniverSheetsMobileUIPlugin'],_0x4b9277[_0x3f4fc0(0x357)]),_0x24cc5e(0x1,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x1249e8['Injector'])),_0x24cc5e(0x2,_0x4a53b9[_0x3f4fc0(0x50a)]),_0x24cc5e(0x3,_0x1249e8[_0x3f4fc0(0x411)])],_0x4ab963);function _0x4f2720(){const _0x297e1e=_0x3f4fc0;let _0x58fed6=(0x0,_0x577c26[_0x297e1e(0x327)])(_0x504091),_0x5c7817=(0x0,_0x577c26[_0x297e1e(0x327)])(_0x1249e8['LocaleService']),_0x4c466f=(0x0,_0x577c26[_0x297e1e(0x316)])(_0x58fed6[_0x297e1e(0x4de)]),_0x1d26ca=(0x0,_0x476712[_0x297e1e(0x4af)])(()=>_0x4c466f?_0x58fed6[_0x297e1e(0x248)]():!0x1,[_0x58fed6,_0x4c466f]),_0x5a0f80=(0x0,_0x476712[_0x297e1e(0x2a3)])(()=>{const _0x88a98e=_0x297e1e;_0x58fed6[_0x88a98e(0x513)]=_0x1f4562[_0x88a98e(0x1dc)];},[_0x58fed6]),_0x522db0=(0x0,_0x476712['useCallback'])(()=>{const _0x2467e3=_0x297e1e;_0x58fed6[_0x2467e3(0x2ca)]();},[_0x58fed6]);return(0x0,_0x1168cc[_0x297e1e(0x297)])(_0x297e1e(0x252),{'className':(0x0,_0x13eba3['clsx'])(_0x297e1e(0x50e),_0x13eba3['borderBottomClassName']),'children':[(0x0,_0x1168cc['jsx'])('a',{'className':'univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','role':_0x297e1e(0x304),'onClick':_0x5a0f80,'children':(0x0,_0x1168cc[_0x297e1e(0x54e)])(_0x130f4f,{'className':'univer-text-2xl\x20dark:!univer-text-white'})}),(0x0,_0x1168cc['jsx'])(_0x297e1e(0x252),{'className':_0x297e1e(0x228),'children':_0x1d26ca&&(0x0,_0x1168cc[_0x297e1e(0x54e)])(_0x13eba3[_0x297e1e(0x50c)],{'variant':'primary','onClick':_0x522db0,'children':_0x5c7817['t'](_0x297e1e(0x40d))})})]});}let _0x196bf7=class extends _0x1249e8[_0x3f4fc0(0x323)]{constructor(_0x56fbe3,_0x5c419c,_0x2f5085,_0xf92332,_0x1d0781,_0x2232ce,_0x1ceac3){const _0x1a648b=_0x3f4fc0;super(),this['_permissionService']=_0x56fbe3,this['_uiPartsService']=_0x5c419c,this[_0x1a648b(0x350)]=_0x2f5085,this[_0x1a648b(0x3b1)]=_0xf92332,this[_0x1a648b(0x356)]=_0x1d0781,this[_0x1a648b(0x1d9)]=_0x2232ce,this[_0x1a648b(0x2c1)]=_0x1ceac3,this[_0x1a648b(0x2b2)]();}[_0x3f4fc0(0x2b2)](){const _0x30832a=_0x3f4fc0;this[_0x30832a(0x292)](this[_0x30832a(0x356)][_0x30832a(0x4de)][_0x30832a(0x37f)](_0x1847e2=>{const _0x17a3aa=_0x30832a;_0x1847e2&&this[_0x17a3aa(0x356)][_0x17a3aa(0x340)](_0x1847e2);})),this['disposeWithMe'](this['_permissionService']['permissionPointUpdate$'][_0x30832a(0x37f)](_0x32867a=>{const _0x447bac=_0x30832a;let _0x5bffca=this[_0x447bac(0x356)][_0x447bac(0x244)];_0x5bffca&&(_0x32867a[_0x447bac(0x246)]===_0x94dd27[_0x447bac(0x2f1)][_0x447bac(0x4ca)]&&_0x32867a[_0x447bac(0x31a)]===!0x0&&this[_0x447bac(0x318)][_0x447bac(0x51e)](new _0x1b4633['WorkbookEditablePermission'](_0x5bffca)['id'],!0x1),_0x32867a[_0x447bac(0x246)]===_0x94dd27['UnitAction'][_0x447bac(0x52c)]&&_0x32867a['value']===!0x0&&this[_0x447bac(0x318)]['updatePermissionPoint'](new _0x1b4633['WorkbookRenameSheetPermission'](_0x5bffca)['id'],!0x1),_0x32867a[_0x447bac(0x246)]===_0x94dd27[_0x447bac(0x2f1)][_0x447bac(0x253)]&&_0x32867a[_0x447bac(0x31a)]===!0x0&&this[_0x447bac(0x318)][_0x447bac(0x51e)](new _0x1b4633['WorkbookMoveSheetPermission'](_0x5bffca)['id'],!0x1),_0x32867a[_0x447bac(0x246)]===_0x94dd27[_0x447bac(0x2f1)]['HideSheet']&&_0x32867a[_0x447bac(0x31a)]===!0x0&&this[_0x447bac(0x318)]['updatePermissionPoint'](new _0x1b4633[(_0x447bac(0x485))](_0x5bffca)['id'],!0x1),_0x32867a['subType']===_0x94dd27[_0x447bac(0x2f1)][_0x447bac(0x48b)]&&_0x32867a[_0x447bac(0x31a)]===!0x0&&this[_0x447bac(0x318)]['updatePermissionPoint'](new _0x1b4633[(_0x447bac(0x401))](_0x5bffca)['id'],!0x1),_0x32867a[_0x447bac(0x246)]===_0x94dd27['UnitAction'][_0x447bac(0x45b)]&&_0x32867a['value']===!0x0&&this[_0x447bac(0x318)]['updatePermissionPoint'](new _0x1b4633['WorkbookEditablePermission'](_0x5bffca)['id'],!0x1));})),this[_0x30832a(0x222)]();let _0xa2f601;this[_0x30832a(0x292)](this[_0x30832a(0x356)][_0x30832a(0x51d)]['subscribe'](_0x53412d=>{const _0x14b647=_0x30832a;this[_0x14b647(0x350)]['removeAll'](),_0xa2f601==null||_0xa2f601[_0x14b647(0x38e)](),_0x53412d===_0x19b843[_0x14b647(0x4d9)]&&(this[_0x14b647(0x356)][_0x14b647(0x300)](),_0xa2f601=this[_0x14b647(0x350)][_0x14b647(0x489)]({'type':_0x13eba3[_0x14b647(0x3a3)][_0x14b647(0x30c)],'content':this[_0x14b647(0x3b1)]['t']('editHistory.info.loading'),'duration':0x3e8})),_0x53412d===_0x19b843[_0x14b647(0x28b)]&&this[_0x14b647(0x356)][_0x14b647(0x30f)]();}));}['_registerHeader'](){const _0x7008a0=_0x3f4fc0;var _0x398df1;(_0x398df1=this[_0x7008a0(0x2c1)][_0x7008a0(0x32f)]('edit-history-viewer.config'))!=null&&_0x398df1['historyPanelHidden']||this[_0x7008a0(0x292)](this[_0x7008a0(0x29a)][_0x7008a0(0x4d1)](_0x577c26[_0x7008a0(0x444)][_0x7008a0(0x427)],()=>(0x0,_0x577c26[_0x7008a0(0x4a0)])(_0x4f2720,this[_0x7008a0(0x1d9)])));}};_0x196bf7=_0x45b447([_0x24cc5e(0x0,_0x1249e8[_0x3f4fc0(0x464)]),_0x24cc5e(0x1,_0x577c26[_0x3f4fc0(0x291)]),_0x24cc5e(0x2,_0x577c26[_0x3f4fc0(0x251)]),_0x24cc5e(0x3,(0x0,_0x1249e8['Inject'])(_0x1249e8[_0x3f4fc0(0x3f2)])),_0x24cc5e(0x4,(0x0,_0x1249e8['Inject'])(_0x504091)),_0x24cc5e(0x5,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x1249e8[_0x3f4fc0(0x3d7)])),_0x24cc5e(0x6,_0x1249e8['IConfigService'])],_0x196bf7);let _0x5f0b79=[{'key':_0x4ec3c4[_0x3f4fc0(0x2ed)],'labelKey':_0x3f4fc0(0x41a)},{'key':_0x4ec3c4['User'],'labelKey':'editHistory.panel.filterUser'},{'key':_0x4ec3c4[_0x3f4fc0(0x3bc)],'labelKey':_0x3f4fc0(0x342)}];function _0x50058c(_0x4a03df){const _0x39aeb5=_0x3f4fc0;let {className:_0x307659}=_0x4a03df;return(0x0,_0x1168cc[_0x39aeb5(0x297)])('svg',{'className':_0x307659,'fill':_0x39aeb5(0x1f8),'height':'20','viewBox':_0x39aeb5(0x569),'width':'20','xmlns':_0x39aeb5(0x4e5),'children':[(0x0,_0x1168cc[_0x39aeb5(0x54e)])('path',{'d':_0x39aeb5(0x210),'fill':_0x39aeb5(0x56d)}),(0x0,_0x1168cc[_0x39aeb5(0x54e)])(_0x39aeb5(0x432),{'children':(0x0,_0x1168cc['jsxs'])(_0x39aeb5(0x553),{'gradientUnits':_0x39aeb5(0x3c1),'id':_0x39aeb5(0x313),'x1':_0x39aeb5(0x330),'x2':_0x39aeb5(0x1fb),'y1':'7.08645','y2':'6.77028','children':[(0x0,_0x1168cc[_0x39aeb5(0x54e)])(_0x39aeb5(0x562),{'offset':_0x39aeb5(0x36c),'stopColor':_0x39aeb5(0x48a)}),(0x0,_0x1168cc['jsx'])('stop',{'offset':_0x39aeb5(0x206),'stopColor':_0x39aeb5(0x545)}),(0x0,_0x1168cc['jsx'])(_0x39aeb5(0x562),{'offset':_0x39aeb5(0x4f3),'stopColor':_0x39aeb5(0x392)}),(0x0,_0x1168cc[_0x39aeb5(0x54e)])(_0x39aeb5(0x562),{'offset':'1','stopColor':'#01C2AA'})]})})]});}function _0x2cb8c1(_0x11c787){const _0x4d07fc=_0x3f4fc0;let {value:_0x9b6f02,onChange:_0x165c3a}=_0x11c787,_0x4ed9f0=(0x0,_0x577c26[_0x4d07fc(0x327)])(_0x1249e8[_0x4d07fc(0x3f2)]);return(0x0,_0x1168cc['jsx'])('div',{'className':_0x4d07fc(0x4f4),'children':(0x0,_0x1168cc[_0x4d07fc(0x54e)])(_0x13eba3[_0x4d07fc(0x381)],{'items':_0x5f0b79['map'](_0x44a2a6=>({'label':_0x4ed9f0['t'](_0x44a2a6[_0x4d07fc(0x3b8)]),'value':_0x44a2a6['key']})),'value':_0x9b6f02,'onChange':_0x165c3a})});}function _0x7e4c38(){const _0x123c79=_0x3f4fc0;var _0x55a1ea,_0x2ce18d;let _0x2067e8=(0x0,_0x577c26[_0x123c79(0x327)])(_0x504091),_0x598db6=(0x0,_0x577c26[_0x123c79(0x327)])(_0x483938),_0x181b22=(0x0,_0x577c26[_0x123c79(0x327)])(_0x45320b),_0xc4bc07=(0x0,_0x577c26[_0x123c79(0x327)])(_0x1249e8[_0x123c79(0x411)]),_0x5376ab=(0x0,_0x577c26[_0x123c79(0x316)])(_0x2067e8[_0x123c79(0x2fe)]),_0x49edbe=(0x0,_0x577c26[_0x123c79(0x316)])(_0x2067e8[_0x123c79(0x4c9)],[]),[_0x9c2582,_0x207a4e]=(0x0,_0x476712['useState'])(new Set()),[_0x39172f,_0x277572]=(0x0,_0x476712['useState'])(new Map()),[_0x7e83e4,_0x43445c]=(0x0,_0x476712[_0x123c79(0x496)])(new Set()),[_0x4d5c21,_0x4435bc]=(0x0,_0x476712[_0x123c79(0x496)])(_0x4ec3c4[_0x123c79(0x2ed)]),_0x321800=(0x0,_0x577c26['useDependency'])(_0x1249e8[_0x123c79(0x3f2)]),_0x1fb247=(0x0,_0x476712[_0x123c79(0x481)])(null),[_0x53b174,_0x280eda]=(0x0,_0x476712['useState'])(!0x1),[_0x12710f,_0x160f26]=(0x0,_0x476712[_0x123c79(0x496)])([]),_0x424fa7=(_0x55a1ea=(_0x2ce18d=_0xc4bc07[_0x123c79(0x32f)](_0x123c79(0x23a)))==null?void 0x0:_0x2ce18d[_0x123c79(0x3d3)])==null?!0x1:_0x55a1ea,_0x308367=_0x5cd3cd(_0x5376ab),[_0x1949ac,_0x3faa41]=(0x0,_0x476712[_0x123c79(0x496)])([]),_0x235a4e=(0x0,_0x476712[_0x123c79(0x4af)])(()=>_0x49edbe['map'](_0x4dec92=>({'key':_0x4dec92[_0x123c79(0x278)],'label':_0x4dec92[_0x123c79(0x25a)]})),[_0x49edbe]);(0x0,_0x476712[_0x123c79(0x403)])(()=>{const _0x57b3a2=_0x123c79;_0x2067e8[_0x57b3a2(0x4d0)]();},[]);let _0x5509e3=(0x0,_0x476712[_0x123c79(0x2a3)])(_0x49cb9f=>{const _0x1048d9=_0x123c79;_0x3faa41([]),_0x4435bc(_0x49cb9f),_0x2067e8['unitId']&&_0x2067e8[_0x1048d9(0x335)](_0x2067e8['unitId'],{'origin':_0x49cb9f});},[_0x2067e8]);(0x0,_0x476712[_0x123c79(0x403)])(()=>{const _0x595aea=_0x123c79;let _0x529a00=_0x1fb247['current'];if(!_0x529a00)return;let _0x5f4e0b,_0x298242=_0x548834=>{clearTimeout(_0x5f4e0b),_0x5f4e0b=setTimeout(()=>{const _0x256ddb=_0xc05f;let {target:_0x22003}=_0x548834;if(_0x22003){let {scrollTop:_0x1e5f61,scrollHeight:_0x3c85a7,clientHeight:_0x2b04f2}=_0x22003;_0x1e5f61+_0x2b04f2>=_0x3c85a7-0x5&&_0x2067e8[_0x256ddb(0x1d7)]();}},0x64);};return _0x529a00[_0x595aea(0x4a5)](_0x595aea(0x2db),_0x298242),()=>{const _0x248733=_0x595aea;clearTimeout(_0x5f4e0b),_0x529a00['removeEventListener'](_0x248733(0x2db),_0x298242);};},[_0x2067e8]);let _0x3a8dd5=(0x0,_0x476712[_0x123c79(0x2a3)])(async _0xf82fb5=>{const _0x280900=_0x123c79;let _0x30fa9a=_0xf82fb5['id'];if(_0x9c2582['has'](_0x30fa9a)){_0x207a4e(_0x57bc96=>{let _0x2e9403=new Set(_0x57bc96);return _0x2e9403['delete'](_0x30fa9a),_0x2e9403;});return;}if(_0x39172f['has'](_0x30fa9a)){_0x207a4e(_0x4d7bbd=>new Set(_0x4d7bbd)['add'](_0x30fa9a));return;}_0x43445c(_0x3f760c=>new Set(_0x3f760c)[_0x280900(0x317)](_0x30fa9a));try{var _0x4f7db1;let _0x3d4deb=_0x2067e8['unitId'];if(!_0x3d4deb)return;let _0x25b2f1=await _0x598db6[_0x280900(0x4ed)]({},{'unitId':_0x3d4deb,'startRevision':_0xf82fb5[_0x280900(0x384)],'endRevision':_0xf82fb5[_0x280900(0x42c)]});if(((_0x4f7db1=_0x25b2f1['error'])==null?void 0x0:_0x4f7db1[_0x280900(0x333)])===0x1&&_0x25b2f1[_0x280900(0x571)]){let _0x3161c0=_0x25b2f1[_0x280900(0x571)][_0x280900(0x524)]()[_0x280900(0x1d1)](_0x506756=>{const _0x1ee6b3=_0x280900;var _0x388b61,_0x3e07d6;let _0x424c82=(0x0,_0x2550be['parseProtocolChangeset'])(_0x506756),_0x5a11cb=_0x506756[_0x1ee6b3(0x26f)]||_0x424c82[_0x1ee6b3(0x26f)],_0x24301d=(_0x388b61=_0x25b2f1[_0x1ee6b3(0x4be)])==null?void 0x0:_0x388b61[_0x5a11cb],_0x5728a3=((_0x3e07d6=_0x506756[_0x1ee6b3(0x4ad)])==null?void 0x0:_0x3e07d6[_0x1ee6b3(0x1d1)](_0x1b68fc=>_0x1b68fc['id']))||[];return{'id':_0x30fa9a+_0x1ee6b3(0x402)+_0x506756[_0x1ee6b3(0x20c)],'unitId':_0x506756['unitID'],'startRev':_0x506756[_0x1ee6b3(0x20c)],'endRev':_0x506756[_0x1ee6b3(0x20c)],'time':_0x506756['createTime']?_0x506756[_0x1ee6b3(0x1e6)]*0x3e8:void 0x0,'user':(_0x24301d==null?void 0x0:_0x24301d['name'])||'','users':[(_0x24301d==null?void 0x0:_0x24301d['name'])||''],'commands':_0x5728a3,'isAnonymous':!0x1,'isDetail':!0x0,'parentId':_0x30fa9a,'additionalFields':_0x506756['additionalFields']};});_0x277572(_0x21b282=>new Map(_0x21b282)[_0x280900(0x2ee)](_0x30fa9a,_0x3161c0)),_0x3161c0['forEach'](_0x1d5dd5=>{_0x2067e8['registerDetailVersion'](_0x1d5dd5);});for(let _0x451410 of _0x3161c0)await _0x181b22[_0x280900(0x43c)](_0x451410['id']);_0x207a4e(_0x3167d2=>new Set(_0x3167d2)['add'](_0x30fa9a));}}catch(_0x53d26e){console[_0x280900(0x286)](_0x280900(0x4b9),_0x53d26e);}finally{_0x43445c(_0x448569=>{const _0x1750af=_0x280900;let _0xb84c98=new Set(_0x448569);return _0xb84c98[_0x1750af(0x365)](_0x30fa9a),_0xb84c98;});}},[_0x9c2582,_0x39172f,_0x2067e8,_0x598db6,_0x181b22]);return _0x5376ab?(0x0,_0x1168cc[_0x123c79(0x297)])(_0x123c79(0x252),{'ref':_0x1fb247,'className':_0x123c79(0x22f),'children':[_0x424fa7&&(0x0,_0x1168cc[_0x123c79(0x297)])(_0x123c79(0x252),{'className':_0x123c79(0x3fc),'children':[(0x0,_0x1168cc[_0x123c79(0x54e)])('div',{'className':_0x123c79(0x2cd),'children':(0x0,_0x1168cc['jsx'])(_0x2cb8c1,{'value':_0x4d5c21,'onChange':_0x5509e3})}),(0x0,_0x1168cc[_0x123c79(0x54e)])(_0x13eba3['Dropdown'],{'align':_0x123c79(0x482),'open':_0x53b174,'onOpenChange':_0x3c90a8=>{_0x280eda(_0x3c90a8),_0x3c90a8&&_0x160f26(_0x1949ac);},'overlay':(0x0,_0x1168cc[_0x123c79(0x297)])(_0x123c79(0x252),{'className':_0x123c79(0x43f),'children':[(0x0,_0x1168cc[_0x123c79(0x54e)])(_0x123c79(0x252),{'className':_0x123c79(0x25e),'children':_0x321800['t']('editHistory.panel.filterCollaborator')}),(0x0,_0x1168cc[_0x123c79(0x54e)])(_0x123c79(0x252),{'className':_0x123c79(0x4eb)}),(0x0,_0x1168cc[_0x123c79(0x54e)])(_0x123c79(0x252),{'className':_0x123c79(0x1f6),'children':_0x235a4e[_0x123c79(0x1d1)](_0x4669b7=>{const _0x204ce8=_0x123c79;let _0x491a95=_0x12710f[_0x204ce8(0x461)](_0x4669b7[_0x204ce8(0x4a9)]);return(0x0,_0x1168cc[_0x204ce8(0x297)])(_0x204ce8(0x252),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-px-3\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:hover:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','onClick':()=>{const _0x4d0b68=_0x204ce8;_0x160f26(_0x491a95?_0x12710f[_0x4d0b68(0x48f)](_0x4b2108=>_0x4b2108!==_0x4669b7[_0x4d0b68(0x4a9)]):[..._0x12710f,_0x4669b7[_0x4d0b68(0x4a9)]]);},'children':[(0x0,_0x1168cc['jsx'])(_0x13eba3[_0x204ce8(0x2e5)],{'checked':_0x491a95}),(0x0,_0x1168cc['jsx'])(_0x204ce8(0x576),{'className':_0x204ce8(0x24a),'children':_0x4669b7[_0x204ce8(0x510)]})]},_0x4669b7[_0x204ce8(0x4a9)]);})}),(0x0,_0x1168cc[_0x123c79(0x54e)])(_0x123c79(0x252),{'className':_0x123c79(0x4eb)}),(0x0,_0x1168cc['jsxs'])('div',{'className':_0x123c79(0x37a),'children':[(0x0,_0x1168cc[_0x123c79(0x54e)])(_0x13eba3[_0x123c79(0x50c)],{'size':'middle','variant':_0x123c79(0x273),'onClick':()=>{_0x160f26(_0x1949ac),_0x280eda(!0x1);},'children':_0x321800['t'](_0x123c79(0x328))}),(0x0,_0x1168cc[_0x123c79(0x54e)])(_0x13eba3[_0x123c79(0x50c)],{'size':_0x123c79(0x349),'onClick':()=>{const _0x49186d=_0x123c79;_0x3faa41(_0x12710f),_0x2067e8['unitId']&&_0x2067e8[_0x49186d(0x335)](_0x2067e8['unitId'],{'origin':_0x4d5c21,'userIds':_0x12710f}),_0x280eda(!0x1);},'children':_0x321800['t'](_0x123c79(0x311))})]})]}),'children':(0x0,_0x1168cc[_0x123c79(0x54e)])(_0x13eba3[_0x123c79(0x50c)],{'className':_0x123c79(0x354),'size':'middle','variant':_0x123c79(0x273),'children':(0x0,_0x1168cc[_0x123c79(0x54e)])(_0x180d0b,{'className':(0x0,_0x13eba3['clsx'])(_0x123c79(0x1e0),{'univer-text-blue-600\x20dark:!univer-text-blue-400':_0x1949ac[_0x123c79(0x331)]>0x0})})})})]}),(0x0,_0x1168cc[_0x123c79(0x54e)])(_0x123c79(0x252),{'className':'univer-relative\x20univer-flex-1\x20univer-space-y-2\x20univer-pb-4','children':_0x308367[_0x123c79(0x1d1)]((_0x2f8de0,_0x2e8bef)=>(0x0,_0x1168cc[_0x123c79(0x297)])(_0x476712['Fragment'],{'children':[(0x0,_0x1168cc[_0x123c79(0x54e)])(_0x1cb32d,{'date':_0x2f8de0[_0x123c79(0x430)],'startDate':_0x2f8de0[_0x123c79(0x4f7)],'endDate':_0x2f8de0[_0x123c79(0x288)]}),_0x2f8de0[_0x123c79(0x440)][_0x123c79(0x1d1)]((_0xd71858,_0x505f39)=>{const _0x534912=_0x123c79;let _0xbf63f6=_0x9c2582[_0x534912(0x2aa)](_0xd71858['id']),_0x17a031=_0x7e83e4[_0x534912(0x2aa)](_0xd71858['id']),_0x56782b=_0x39172f['get'](_0xd71858['id'])||[];return(0x0,_0x1168cc['jsxs'])(_0x476712[_0x534912(0x267)],{'children':[(0x0,_0x1168cc[_0x534912(0x54e)])(_0x4351bb,{'item':_0xd71858,'onToggleExpand':_0x3a8dd5,'isExpanded':_0xbf63f6,'isLoadingDetail':_0x17a031}),_0xbf63f6&&_0x56782b[_0x534912(0x1d1)]((_0xa68b0b,_0x537e82)=>(0x0,_0x1168cc[_0x534912(0x297)])(_0x534912(0x252),{'className':'univer-relative','style':{'marginTop':_0x534912(0x500),'marginBottom':_0x534912(0x500)},'children':[(0x0,_0x1168cc['jsxs'])(_0x534912(0x252),{'className':'univer-absolute\x20univer-top-0\x20univer-h-full','style':{'left':_0x534912(0x264),'width':_0x534912(0x45d)},'children':[_0x537e82<_0x56782b[_0x534912(0x331)]-0x1&&(0x0,_0x1168cc['jsx'])(_0x534912(0x252),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-top-0\x20univer-h-full\x20univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','style':{'left':'0','width':_0x534912(0x279)}}),_0x537e82===_0x56782b[_0x534912(0x331)]-0x1&&(0x0,_0x1168cc[_0x534912(0x54e)])(_0x534912(0x252),{'className':_0x534912(0x38f),'style':{'left':'0','width':_0x534912(0x279),'height':_0x534912(0x1fd)}}),(0x0,_0x1168cc[_0x534912(0x54e)])('div',{'className':_0x534912(0x26c),'style':{'left':'0','width':_0x534912(0x45d),'height':_0x534912(0x279),'transform':_0x534912(0x558)}})]}),(0x0,_0x1168cc['jsx'])(_0x4351bb,{'item':_0xa68b0b,'isDetail':!0x0})]},_0x2e8bef+'-'+_0x505f39+_0x534912(0x402)+_0x537e82))]},_0x2e8bef+'-'+_0x505f39);})]},_0x2f8de0['dateString']))})]}):(0x0,_0x1168cc[_0x123c79(0x54e)])(_0x1dd1f0,{});}function _0x1dd1f0(){const _0x1c00a8=_0x3f4fc0;return(0x0,_0x1168cc[_0x1c00a8(0x54e)])(_0x1c00a8(0x252),{'className':_0x1c00a8(0x280),'children':(0x0,_0x1168cc[_0x1c00a8(0x54e)])(_0x1c00a8(0x576),{'className':_0x1c00a8(0x50b),'children':(0x0,_0x1168cc[_0x1c00a8(0x54e)])(_0x11383d,{'className':_0x1c00a8(0x494)})})});}function _0x1cb32d(_0x19635d){const _0x29ac30=_0x3f4fc0;let _0x5a91c3=(0x0,_0x577c26['useDependency'])(_0x1249e8['LocaleService']),{date:_0xe38a73,startDate:_0x389ae9=_0xe38a73}=_0x19635d;return(0x0,_0x1168cc[_0x29ac30(0x54e)])(_0x29ac30(0x252),{'className':_0x29ac30(0x23d),'children':_0x1e7c4c(_0x389ae9,_0x5a91c3['getCurrentLocale']())});}function _0x4351bb(_0x738c8a){const _0x1e8591=_0x3f4fc0;let {item:_0x50c3f0,onToggleExpand:_0x9f2e10,isExpanded:_0x264b6c,isLoadingDetail:_0x51698e,isDetail:_0x3eb9e0}=_0x738c8a,{time:_0x1278e9,user:_0x1bea2d,startRevCreateTime:_0x1d9fcc,endRevCreateTime:_0x2e4a3e,users:_0x5383e3}=_0x50c3f0,_0x4c4275=(0x0,_0x577c26['useDependency'])(_0x504091),_0x32adb7=(0x0,_0x577c26[_0x1e8591(0x327)])(_0x45320b),_0x1c5939=(0x0,_0x577c26[_0x1e8591(0x316)])(_0x4c4275[_0x1e8591(0x4de)],'',!0x0)===_0x50c3f0['id'],_0x1744da=_0x4c4275[_0x1e8591(0x4e6)]()===_0x50c3f0['endRev'],_0x1948b0=!_0x1744da&&_0x4c4275['canRevert'],_0x4f2b1c=(0x0,_0x577c26['useDependency'])(_0x1249e8['LocaleService']),_0x2491f4=_0x4f2b1c[_0x1e8591(0x468)](),_0x46fbae=_0x226af0(_0x1278e9,_0x2491f4),_0x76871f=_0x226af0(_0x1d9fcc,_0x2491f4),_0x2f4a43=_0x226af0(_0x2e4a3e,_0x2491f4),_0x51b82d=_0x4f2b1c['t'](_0x1e8591(0x491)),_0xdc6cd8=_0x50c3f0[_0x1e8591(0x384)]!==_0x50c3f0[_0x1e8591(0x42c)],_0x218a6c=!!_0x50c3f0[_0x1e8591(0x429)],_0x4bbfeb=(0x0,_0x476712[_0x1e8591(0x4af)])(()=>{const _0x56c5a2=_0x1e8591;let _0x10b0ee=_0x1bea2d||_0x4f2b1c['t'](_0x56c5a2(0x3b3));return _0x5383e3&&_0x5383e3[_0x56c5a2(0x48f)](_0x43309d=>_0x43309d)[_0x56c5a2(0x331)]>0x0&&(_0x10b0ee=_0x5383e3[_0x56c5a2(0x48f)](_0x4d904b=>_0x4d904b)[_0x56c5a2(0x3c3)](',\x20')),_0x218a6c?''+_0x4f2b1c['t'](_0x56c5a2(0x4d4))+(_0x10b0ee?'\x20('+_0x10b0ee+')':''):_0x10b0ee;},[_0x218a6c,_0x1bea2d,_0x5383e3,_0x4f2b1c]),_0x9ba22d=(0x0,_0x476712['useCallback'])(async _0x42144d=>{const _0x3894ba=_0x1e8591;_0x4c4275['loadingState']!==_0x19b843[_0x3894ba(0x4d9)]&&(_0x4c4275[_0x3894ba(0x47b)]=_0x42144d,_0x3eb9e0&&(await _0x32adb7[_0x3894ba(0x43c)](_0x42144d),await _0x4c4275[_0x3894ba(0x340)](_0x42144d)));},[_0x4c4275,_0x32adb7,_0x3eb9e0]),_0x191127=(0x0,_0x476712['useCallback'])(_0x1d41bb=>{_0x4c4275['triggerRevert'](_0x1d41bb);},[_0x4c4275]),_0x525c55=(0x0,_0x476712['useCallback'])(_0x39a4c7=>{_0x39a4c7['stopPropagation'](),_0x9f2e10&&!_0x51698e&&_0x9f2e10(_0x50c3f0);},[_0x9f2e10,_0x50c3f0,_0x51698e]);return(0x0,_0x1168cc[_0x1e8591(0x297)])('div',{'className':(0x0,_0x13eba3[_0x1e8591(0x4e7)])(_0x1e8591(0x539),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x1c5939,'univer-ml-6':_0x3eb9e0}),'onClick':()=>_0x9ba22d(_0x50c3f0['id']),'children':[(0x0,_0x1168cc[_0x1e8591(0x54e)])(_0x1e8591(0x252),{'className':_0x1e8591(0x280),'style':{'width':_0x1e8591(0x471)},'children':_0xdc6cd8&&!_0x3eb9e0&&(0x0,_0x1168cc[_0x1e8591(0x54e)])(_0x1e8591(0x252),{'onClick':_0x525c55,'className':_0x1e8591(0x238),'children':_0x51698e?(0x0,_0x1168cc['jsx'])(_0x11383d,{'className':_0x1e8591(0x578)}):_0x264b6c?(0x0,_0x1168cc[_0x1e8591(0x54e)])(_0x1144e2,{'className':'univer-size-8\x20univer-text-gray-400'}):(0x0,_0x1168cc['jsx'])(_0x2f4dae,{'className':_0x1e8591(0x2ad)})})}),(0x0,_0x1168cc[_0x1e8591(0x297)])('div',{'className':_0x1e8591(0x3b5),'children':[(0x0,_0x1168cc[_0x1e8591(0x297)])(_0x1e8591(0x252),{'className':_0x1e8591(0x42f),'children':[(0x0,_0x1168cc[_0x1e8591(0x297)])(_0x1e8591(0x252),{'className':_0x1e8591(0x1ef),'children':[_0x218a6c&&(0x0,_0x1168cc['jsx'])(_0x50058c,{'className':_0x1e8591(0x3dc)}),(0x0,_0x1168cc['jsx'])(_0x1e8591(0x576),{'className':_0x1e8591(0x46d),'children':_0x4bbfeb}),(0x0,_0x1168cc['jsx'])(_0x1e8591(0x576),{'className':_0x1e8591(0x2d8),'children':_0x3eb9e0?_0x46fbae['time']:_0x1d9fcc===_0x2e4a3e?_0x76871f[_0x1e8591(0x329)]:_0x76871f[_0x1e8591(0x329)]+_0x1e8591(0x44d)+_0x2f4a43[_0x1e8591(0x329)]}),_0x1744da&&(0x0,_0x1168cc[_0x1e8591(0x54e)])(_0x1e8591(0x576),{'className':_0x1e8591(0x287),'children':_0x51b82d})]}),(0x0,_0x1168cc[_0x1e8591(0x54e)])(_0x1e8591(0x252),{'children':_0x1948b0&&(0x0,_0x1168cc['jsx'])(_0x13eba3[_0x1e8591(0x1de)],{'title':_0x4f2b1c['t'](_0x1e8591(0x1ed)),'children':(0x0,_0x1168cc[_0x1e8591(0x54e)])(_0x1e8591(0x252),{'onClick':_0x5e953d=>{const _0x24b859=_0x1e8591;_0x5e953d[_0x24b859(0x219)](),_0x191127(_0x50c3f0['id']);},'className':_0x1e8591(0x394),'children':(0x0,_0x1168cc[_0x1e8591(0x54e)])(_0x26135e,{})})})})]}),(0x0,_0x1168cc[_0x1e8591(0x54e)])(_0x1e8591(0x252),{'className':_0x1e8591(0x3a8),'children':_0xbaedfa(_0x50c3f0,_0x4f2b1c)})]})]});}let _0x4482f2=_0x3f4fc0(0x4dc),_0xd4b1e=class extends _0x1249e8[_0x3f4fc0(0x323)]{constructor(_0x507478,_0x51d682,_0x59632f,_0x18c644,_0x22ff3c){const _0x584389=_0x3f4fc0;super(),this[_0x584389(0x453)]=_0x507478,this[_0x584389(0x54d)]=_0x51d682,this['_localeService']=_0x59632f,this[_0x584389(0x356)]=_0x18c644,this[_0x584389(0x2c1)]=_0x22ff3c,_0x2a49f8(this,'_sidebarDisposable',null),this[_0x584389(0x2b2)]();}[_0x3f4fc0(0x2b2)](){const _0xe84956=_0x3f4fc0;this[_0xe84956(0x37b)]();}[_0x3f4fc0(0x407)](){const _0x411294=_0x3f4fc0;var _0x4ecae5;if(this[_0x411294(0x516)])return;let _0x17292e=((_0x4ecae5=this[_0x411294(0x2c1)]['getConfig']('edit-history-viewer.config'))==null?void 0x0:_0x4ecae5[_0x411294(0x2dc)])||_0x4482f2,_0x538c52={'header':{'title':this['_localeService']['t'](_0x411294(0x2e0))},'children':{'label':_0x17292e},'onClose':()=>{const _0x349680=_0x411294;this[_0x349680(0x516)]=null,this['_historyManagerService'][_0x349680(0x513)]=_0x1f4562[_0x349680(0x1dc)];}};this[_0x411294(0x516)]=this[_0x411294(0x453)][_0x411294(0x3dd)]({..._0x538c52});}[_0x3f4fc0(0x37b)](){const _0x1e178c=_0x3f4fc0;this[_0x1e178c(0x292)](this[_0x1e178c(0x54d)][_0x1e178c(0x332)](_0x4482f2,_0x7e4c38)),this[_0x1e178c(0x292)](this['_historyManagerService'][_0x1e178c(0x1e7)]['subscribe'](_0x5574b2=>{_0x5574b2&&this['_openPanel']();}));}};_0xd4b1e=_0x45b447([_0x24cc5e(0x0,_0x577c26[_0x3f4fc0(0x40f)]),_0x24cc5e(0x1,(0x0,_0x1249e8['Inject'])(_0x577c26[_0x3f4fc0(0x41b)])),_0x24cc5e(0x2,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x1249e8[_0x3f4fc0(0x3f2)])),_0x24cc5e(0x3,(0x0,_0x1249e8['Inject'])(_0x504091)),_0x24cc5e(0x4,_0x1249e8[_0x3f4fc0(0x411)])],_0xd4b1e);let _0x40a850=class extends _0x1249e8[_0x3f4fc0(0x50d)]{constructor(_0x5bb14d=_0x16fd6c,_0xd554bb,_0x13f73a,_0x39e30e){const _0x30bbb6=_0x3f4fc0;super(),this[_0x30bbb6(0x388)]=_0x5bb14d,this[_0x30bbb6(0x1d9)]=_0xd554bb,this[_0x30bbb6(0x393)]=_0x13f73a,this[_0x30bbb6(0x2c1)]=_0x39e30e;let {..._0x4d4f6a}=(0x0,_0x1249e8[_0x30bbb6(0x459)])({},_0x16fd6c,this[_0x30bbb6(0x388)]);this['_configService'][_0x30bbb6(0x2e1)](_0x6e4ebd,_0x4d4f6a);}[_0x3f4fc0(0x3ef)](){const _0x4ad467=_0x3f4fc0;[[_0x504091],[_0x196bf7],[_0x45320b],[_0x483938],[_0xd4b1e],[_0x47aaa2],[_0x2550be[_0x4ad467(0x4a2)],{'useClass':_0x127e6b[_0x4ad467(0x520)]}],[_0x577c26[_0x4ad467(0x368)],{'useClass':_0x2a4474}],[_0x8cd3e6[_0x4ad467(0x555)],{'useClass':_0x127e6b[_0x4ad467(0x3cb)]}]]['forEach'](_0x2f961f=>this[_0x4ad467(0x1d9)][_0x4ad467(0x317)](_0x2f961f)),this[_0x4ad467(0x1d9)][_0x4ad467(0x285)](_0x196bf7);}[_0x3f4fc0(0x1df)](){const _0x53cdf6=_0x3f4fc0;[[_0x2c1ffe]][_0x53cdf6(0x399)](_0xd3467c=>{const _0x1c16f2=_0x53cdf6;this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](_0x1249e8['UniverInstanceType'][_0x1c16f2(0x460)],_0xd3467c));}),this[_0x53cdf6(0x1d9)]['get'](_0x47aaa2),this['_injector'][_0x53cdf6(0x285)](_0xd4b1e);}[_0x3f4fc0(0x344)](){const _0x2a8167=_0x3f4fc0;this[_0x2a8167(0x1d9)][_0x2a8167(0x285)](_0x45320b);}};_0x2a49f8(_0x40a850,_0x3f4fc0(0x383),'UNIVER_EDIT_HISTORY_VIEWER_PLUGIN'),_0x2a49f8(_0x40a850,_0x3f4fc0(0x2b3),_0x157a56),_0x2a49f8(_0x40a850,'version',_0x56d247),_0x40a850=_0x45b447([(0x0,_0x1249e8[_0x3f4fc0(0x369)])(_0x4bed25[_0x3f4fc0(0x55a)],_0x4b9277[_0x3f4fc0(0x357)]),_0x24cc5e(0x1,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x1249e8['Injector'])),_0x24cc5e(0x2,_0x4a53b9['IRenderManagerService']),_0x24cc5e(0x3,_0x1249e8[_0x3f4fc0(0x411)])],_0x40a850),Object['defineProperty'](_0x53bb1f,_0x3f4fc0(0x36d),{'enumerable':!0x0,'get':function(){return _0x504091;}}),_0x53bb1f[_0x3f4fc0(0x371)]=_0x1f4562,_0x53bb1f[_0x3f4fc0(0x450)]=_0x4ec3c4,Object['defineProperty'](_0x53bb1f,_0x3f4fc0(0x3db),{'enumerable':!0x0,'get':function(){return _0x4ab963;}}),Object[_0x3f4fc0(0x4b6)](_0x53bb1f,_0x3f4fc0(0x296),{'enumerable':!0x0,'get':function(){return _0x40a850;}}),Object[_0x3f4fc0(0x4b6)](_0x53bb1f,_0x3f4fc0(0x498),{'enumerable':!0x0,'get':function(){return _0x2c1ffe;}}),Object[_0x3f4fc0(0x4b6)](_0x53bb1f,'VersionDiffService',{'enumerable':!0x0,'get':function(){return _0x45320b;}});}));
18
18
 
19
19
  // @univerjs-pro/edit-history-loader/index
20
- function _0x5534(_0x8ac190,_0x67982){_0x8ac190=_0x8ac190-0x10a;const _0x169d40=_0x169d();let _0x553441=_0x169d40[_0x8ac190];return _0x553441;}(function(_0x452e4f,_0x178410){const _0x4f4565=_0x5534,_0x2e6ee3=_0x452e4f();while(!![]){try{const _0x22ed8a=-parseInt(_0x4f4565(0x17e))/0x1*(-parseInt(_0x4f4565(0x139))/0x2)+-parseInt(_0x4f4565(0x160))/0x3*(parseInt(_0x4f4565(0x156))/0x4)+-parseInt(_0x4f4565(0x1e1))/0x5+parseInt(_0x4f4565(0x16b))/0x6*(parseInt(_0x4f4565(0x1f8))/0x7)+parseInt(_0x4f4565(0x234))/0x8+parseInt(_0x4f4565(0x1bd))/0x9*(parseInt(_0x4f4565(0x1a4))/0xa)+-parseInt(_0x4f4565(0x197))/0xb*(parseInt(_0x4f4565(0x121))/0xc);if(_0x22ed8a===_0x178410)break;else _0x2e6ee3['push'](_0x2e6ee3['shift']());}catch(_0x2a2a69){_0x2e6ee3['push'](_0x2e6ee3['shift']());}}}(_0x169d,0xe3ee3),function(_0x1e0ba5,_0xae46b5){const _0x554514=_0x5534;typeof exports=='object'&&typeof module<'u'?_0xae46b5(exports,require(`@univerjs/core`),require(`@univerjs/sheets`),require(`@univerjs-pro/collaboration`),require(`@univerjs-pro/collaboration-client`),require(`@univerjs-pro/edit-history-viewer`),require(`@univerjs-pro/license`),require(`@univerjs-pro/sheets-chart`),require(`@univerjs-pro/sheets-chart-ui`),require(`@univerjs-pro/sheets-pivot`),require(`@univerjs-pro/sheets-shape`),require(`@univerjs-pro/sheets-shape-ui`),require(`@univerjs-pro/sheets-sparkline`),require(`@univerjs-pro/sheets-sparkline-ui`),require(`@univerjs/data-validation`),require(`@univerjs/design`),require(`@univerjs/docs`),require(`@univerjs/docs-ui`),require(`@univerjs/drawing`),require(`@univerjs/drawing-ui`),require(`@univerjs/engine-formula`),require(`@univerjs/engine-render`),require(`@univerjs/network`),require(`@univerjs/rpc`),require(`@univerjs/sheets-conditional-formatting`),require(`@univerjs/sheets-conditional-formatting-ui`),require(`@univerjs/sheets-data-validation`),require(`@univerjs/sheets-data-validation-ui`),require(`@univerjs/sheets-drawing`),require(`@univerjs/sheets-drawing-ui`),require(`@univerjs/sheets-filter`),require(`@univerjs/sheets-filter-ui`),require(`@univerjs/sheets-formula`),require(`@univerjs/sheets-formula-ui`),require(`@univerjs/sheets-hyper-link`),require(`@univerjs/sheets-hyper-link-ui`),require(`@univerjs/sheets-numfmt`),require(`@univerjs/sheets-table`),require(`@univerjs/sheets-ui`),require(`@univerjs/ui`),require(`rxjs`),require(`@univerjs-pro/collaboration-client-ui`),require(`react`)):typeof define==_0x554514(0x178)&&define[_0x554514(0x1e0)]?define('exports.@univerjs/core.@univerjs/sheets.@univerjs-pro/collaboration.@univerjs-pro/collaboration-client.@univerjs-pro/edit-history-viewer.@univerjs-pro/license.@univerjs-pro/sheets-chart.@univerjs-pro/sheets-chart-ui.@univerjs-pro/sheets-pivot.@univerjs-pro/sheets-shape.@univerjs-pro/sheets-shape-ui.@univerjs-pro/sheets-sparkline.@univerjs-pro/sheets-sparkline-ui.@univerjs/data-validation.@univerjs/design.@univerjs/docs.@univerjs/docs-ui.@univerjs/drawing.@univerjs/drawing-ui.@univerjs/engine-formula.@univerjs/engine-render.@univerjs/network.@univerjs/rpc.@univerjs/sheets-conditional-formatting.@univerjs/sheets-conditional-formatting-ui.@univerjs/sheets-data-validation.@univerjs/sheets-data-validation-ui.@univerjs/sheets-drawing.@univerjs/sheets-drawing-ui.@univerjs/sheets-filter.@univerjs/sheets-filter-ui.@univerjs/sheets-formula.@univerjs/sheets-formula-ui.@univerjs/sheets-hyper-link.@univerjs/sheets-hyper-link-ui.@univerjs/sheets-numfmt.@univerjs/sheets-table.@univerjs/sheets-ui.@univerjs/ui.rxjs.@univerjs-pro/collaboration-client-ui.react'[_0x554514(0x15e)]('.'),_0xae46b5):(_0x1e0ba5=typeof globalThis<'u'?globalThis:_0x1e0ba5||self,_0xae46b5(_0x1e0ba5['UniverProEditHistoryLoader']={},_0x1e0ba5[_0x554514(0x16c)],_0x1e0ba5[_0x554514(0x253)],_0x1e0ba5[_0x554514(0x146)],_0x1e0ba5['UniverProCollaborationClient'],_0x1e0ba5[_0x554514(0x172)],_0x1e0ba5['UniverProLicense'],_0x1e0ba5[_0x554514(0x19c)],_0x1e0ba5[_0x554514(0x1b9)],_0x1e0ba5[_0x554514(0x110)],_0x1e0ba5[_0x554514(0x123)],_0x1e0ba5[_0x554514(0x21d)],_0x1e0ba5[_0x554514(0x233)],_0x1e0ba5['UniverProSheetsSparklineUi'],_0x1e0ba5[_0x554514(0x15b)],_0x1e0ba5['UniverDesign'],_0x1e0ba5[_0x554514(0x276)],_0x1e0ba5['UniverDocsUi'],_0x1e0ba5[_0x554514(0x21b)],_0x1e0ba5[_0x554514(0x186)],_0x1e0ba5[_0x554514(0x1b3)],_0x1e0ba5['UniverEngineRender'],_0x1e0ba5[_0x554514(0x196)],_0x1e0ba5[_0x554514(0x19b)],_0x1e0ba5[_0x554514(0x1d9)],_0x1e0ba5[_0x554514(0x272)],_0x1e0ba5[_0x554514(0x16d)],_0x1e0ba5[_0x554514(0x1e3)],_0x1e0ba5[_0x554514(0x143)],_0x1e0ba5[_0x554514(0x181)],_0x1e0ba5[_0x554514(0x22b)],_0x1e0ba5[_0x554514(0x14d)],_0x1e0ba5['UniverSheetsFormula'],_0x1e0ba5['UniverSheetsFormulaUi'],_0x1e0ba5['UniverSheetsHyperLink'],_0x1e0ba5['UniverSheetsHyperLinkUi'],_0x1e0ba5[_0x554514(0x122)],_0x1e0ba5[_0x554514(0x1d3)],_0x1e0ba5[_0x554514(0x179)],_0x1e0ba5[_0x554514(0x149)],_0x1e0ba5[_0x554514(0x150)],_0x1e0ba5[_0x554514(0x13e)],_0x1e0ba5[_0x554514(0x190)]));}(this,function(_0x20db1e,_0x12090c,_0x4e039e,_0x11130c,_0x5f37e5,_0x59a771,_0x2827be,_0x115e2f,_0x3792f0,_0x2c40b3,_0x3aafca,_0x473700,_0x28b7a8,_0x1d70f4,_0x3401cf,_0x2feaca,_0x2ea4bf,_0x25da9d,_0x5904cb,_0x2eba8a,_0x19085c,_0x43f152,_0x1a4595,_0x5140f3,_0x34d95d,_0x2eefbf,_0x31ce0b,_0x4255aa,_0x264674,_0x40d9f3,_0x2df2bc,_0x4518b8,_0x3ef67c,_0x2bb13c,_0x5042e4,_0xfc5b51,_0x632a83,_0x4fb882,_0x45eeac,_0x28ef43,_0xfca8c,_0x4f45d9,_0x44783d){const _0x15a2d1=_0x5534;Object[_0x15a2d1(0x241)](_0x20db1e,Symbol[_0x15a2d1(0x182)],{'value':'Module'});let _0xbbabb7=_0x15a2d1(0x236);Symbol(_0xbbabb7);let _0x59d7ed={};function _0x5b884f(_0x5b284e){'@babel/helpers - typeof';const _0x17b1cc=_0x15a2d1;return _0x5b884f=typeof Symbol==_0x17b1cc(0x178)&&typeof Symbol[_0x17b1cc(0x26e)]=='symbol'?function(_0x1ca8c8){return typeof _0x1ca8c8;}:function(_0x2ed122){const _0x31c9a9=_0x17b1cc;return _0x2ed122&&typeof Symbol==_0x31c9a9(0x178)&&_0x2ed122[_0x31c9a9(0x167)]===Symbol&&_0x2ed122!==Symbol[_0x31c9a9(0x17d)]?_0x31c9a9(0x23f):typeof _0x2ed122;},_0x5b884f(_0x5b284e);}function _0x396106(_0x150647,_0x73eef6){const _0x3b8fe3=_0x15a2d1;if(_0x5b884f(_0x150647)!=_0x3b8fe3(0x1de)||!_0x150647)return _0x150647;var _0x1dcb9b=_0x150647[Symbol['toPrimitive']];if(_0x1dcb9b!==void 0x0){var _0x44208d=_0x1dcb9b[_0x3b8fe3(0x151)](_0x150647,_0x73eef6||_0x3b8fe3(0x24f));if(_0x5b884f(_0x44208d)!=_0x3b8fe3(0x1de))return _0x44208d;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x73eef6===_0x3b8fe3(0x1c7)?String:Number)(_0x150647);}function _0x599f73(_0x447f7e){const _0x25edec=_0x15a2d1;var _0x3f9a0f=_0x396106(_0x447f7e,_0x25edec(0x1c7));return _0x5b884f(_0x3f9a0f)==_0x25edec(0x23f)?_0x3f9a0f:_0x3f9a0f+'';}function _0x47f855(_0x294712,_0x16654e,_0x40c880){return(_0x16654e=_0x599f73(_0x16654e))in _0x294712?Object['defineProperty'](_0x294712,_0x16654e,{'value':_0x40c880,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x294712[_0x16654e]=_0x40c880,_0x294712;}function _0xe0d68f(_0x5b6de0,_0xc6729d){return function(_0x1e1bdc,_0x670906){_0xc6729d(_0x1e1bdc,_0x670906,_0x5b6de0);};}function _0x1b6269(_0x5bb460,_0x1b5994,_0x54af58,_0x31aaec){const _0xeddc6c=_0x15a2d1;var _0x196b62=arguments[_0xeddc6c(0x277)],_0x17aec3=_0x196b62<0x3?_0x1b5994:_0x31aaec===null?_0x31aaec=Object['getOwnPropertyDescriptor'](_0x1b5994,_0x54af58):_0x31aaec,_0xe6af13;if(typeof Reflect==_0xeddc6c(0x1de)&&typeof Reflect['decorate']==_0xeddc6c(0x178))_0x17aec3=Reflect[_0xeddc6c(0x26a)](_0x5bb460,_0x1b5994,_0x54af58,_0x31aaec);else{for(var _0x48c7b5=_0x5bb460[_0xeddc6c(0x277)]-0x1;_0x48c7b5>=0x0;_0x48c7b5--)(_0xe6af13=_0x5bb460[_0x48c7b5])&&(_0x17aec3=(_0x196b62<0x3?_0xe6af13(_0x17aec3):_0x196b62>0x3?_0xe6af13(_0x1b5994,_0x54af58,_0x17aec3):_0xe6af13(_0x1b5994,_0x54af58))||_0x17aec3);}return _0x196b62>0x3&&_0x17aec3&&Object['defineProperty'](_0x1b5994,_0x54af58,_0x17aec3),_0x17aec3;}let _0x4ee5fa='UNIVER_CONTAINER_ID',_0x149c55='univer-history-container',_0x5664ee=class extends _0x12090c['Disposable']{constructor(_0x369246,_0x59e355,_0x5368d9,_0x1375e4,_0x52402a,_0x922519,_0x52b751,_0x1a687f,_0x787c1f,_0x4f816b){const _0x55f66d=_0x15a2d1;super(),this[_0x55f66d(0x22a)]=_0x369246,this[_0x55f66d(0x12a)]=_0x59e355,this[_0x55f66d(0x1e4)]=_0x5368d9,this[_0x55f66d(0x250)]=_0x1375e4,this[_0x55f66d(0x1e8)]=_0x52402a,this[_0x55f66d(0x238)]=_0x922519,this[_0x55f66d(0x1e7)]=_0x52b751,this[_0x55f66d(0x188)]=_0x1a687f,this[_0x55f66d(0x155)]=_0x787c1f,this[_0x55f66d(0x137)]=_0x4f816b,_0x47f855(this,_0x55f66d(0x153),new _0xfca8c[(_0x55f66d(0x1c1))](null)),_0x47f855(this,_0x55f66d(0x117),this[_0x55f66d(0x153)][_0x55f66d(0x1d1)]()),_0x47f855(this,'_disposableCollection',new _0x12090c['DisposableCollection']()),_0x47f855(this,'_pluginMap',new Map()),_0x47f855(this,'_internalWebWorker',null),this['_init']();}get[_0x15a2d1(0x20d)](){const _0x558708=_0x15a2d1;return this[_0x558708(0x153)]['value'];}[_0x15a2d1(0x125)](){const _0x5175fc=_0x15a2d1;this[_0x5175fc(0x128)](),this[_0x5175fc(0x266)]();}[_0x15a2d1(0x128)](){const _0x385722=_0x15a2d1;var _0x3415d9;let _0xc86b75=(_0x3415d9=this[_0x385722(0x1e4)][_0x385722(0x21a)](_0x385722(0x248)))==null?'univer-container':_0x3415d9,_0x42b243=document[_0x385722(0x223)](_0xc86b75);if(!_0x42b243)return;let _0x47d7f2=document[_0x385722(0x1dc)](_0x385722(0x22f));_0x47d7f2['id']=_0x149c55,_0x47d7f2[_0x385722(0x1ce)]['uComp']='history-container',_0x47d7f2['style']['position']=_0x385722(0x251),_0x47d7f2['style'][_0x385722(0x177)]='0',_0x47d7f2[_0x385722(0x1f7)][_0x385722(0x1c6)]='0',_0x47d7f2['style'][_0x385722(0x13f)]=_0x385722(0x1fc),_0x47d7f2[_0x385722(0x1f7)]['height']=_0x385722(0x1fc),_0x47d7f2[_0x385722(0x1f7)][_0x385722(0x195)]='49',_0x47d7f2[_0x385722(0x1f7)]['display']=_0x385722(0x18c),_0x42b243[_0x385722(0x24b)](_0x47d7f2);}['_initPlugins'](){const _0x1d1e46=_0x15a2d1;[[_0x43f152[_0x1d1e46(0x17f)]],[_0x28ef43[_0x1d1e46(0x1ca)],{'container':_0x149c55,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x28ef43[_0x1d1e46(0x1af)],null]]}],[_0x1a4595[_0x1d1e46(0x173)]],[_0x5904cb[_0x1d1e46(0x247)],{'override':[[_0x5904cb[_0x1d1e46(0x152)],null]]}],[_0x2ea4bf['UniverDocsPlugin'],{'hasScroll':!0x1}],[_0x25da9d[_0x1d1e46(0x1a5)]],[_0x632a83[_0x1d1e46(0x163)]],[_0x4e039e[_0x1d1e46(0x20c)],{'notExecuteFormula':!0x0}],[_0x45eeac[_0x1d1e46(0x183)]],[_0x3ef67c[_0x1d1e46(0x232)]],[_0x2bb13c[_0x1d1e46(0x237)]],[_0x11130c[_0x1d1e46(0x112)]],[_0x2df2bc[_0x1d1e46(0x1d5)]],[_0x4518b8[_0x1d1e46(0x118)]],[_0x34d95d[_0x1d1e46(0x24c)]],[_0x2eefbf[_0x1d1e46(0x264)]],[_0x5042e4['UniverSheetsHyperLinkPlugin']],[_0xfc5b51[_0x1d1e46(0x1ed)]],[_0x3401cf[_0x1d1e46(0x165)]],[_0x31ce0b['UniverSheetsDataValidationPlugin']],[_0x4255aa[_0x1d1e46(0x275)]],[_0x19085c[_0x1d1e46(0x1eb)],{'notExecuteFormula':!0x0}],[_0x2eba8a[_0x1d1e46(0x15c)]],[_0x264674[_0x1d1e46(0x17a)]],[_0x40d9f3[_0x1d1e46(0x1d4)]],[_0x28b7a8[_0x1d1e46(0x175)]],[_0x1d70f4['UniverSheetSparklineUIPlugin']],[_0x115e2f[_0x1d1e46(0x18d)]],[_0x3792f0[_0x1d1e46(0x258)]],[_0x3aafca['UniverSheetsShapePlugin']],[_0x473700[_0x1d1e46(0x141)]],[_0x2c40b3[_0x1d1e46(0x133)],{'notExecuteFormula':!0x0}],[_0x4fb882[_0x1d1e46(0x1bc)]]][_0x1d1e46(0x1f9)](([_0x1e92ad,_0x3238d0])=>this[_0x1d1e46(0x26d)](_0x1e92ad,_0x3238d0));}[_0x15a2d1(0x1fd)](){const _0xa316a6=_0x15a2d1;super[_0xa316a6(0x1fd)](),this[_0xa316a6(0x134)](),this[_0xa316a6(0x14f)]['clear']();}[_0x15a2d1(0x26d)](_0x253daa,_0x3d57b1,_0x318b84){const _0x1c3cfc=_0x15a2d1;if(this[_0x1c3cfc(0x14f)]['has'](_0x253daa[_0x1c3cfc(0x119)])&&!_0x318b84)throw Error('[HistoryLoaderService]:\x20Plugin\x20'+_0x253daa[_0x1c3cfc(0x119)]+'\x20has\x20been\x20registered.');this[_0x1c3cfc(0x14f)][_0x1c3cfc(0x19f)](_0x253daa[_0x1c3cfc(0x119)],[_0x253daa,_0x3d57b1]);}['getAllPlugins'](){const _0x2fbcb2=_0x15a2d1;return Array['from'](this['_pluginMap'][_0x2fbcb2(0x169)]());}[_0x15a2d1(0x203)](_0x4ef3b2,_0x1ddb58){const _0x4c9b78=_0x15a2d1;let _0x50382e=document['getElementById'](_0x149c55);_0x50382e&&(_0x50382e[_0x4c9b78(0x1f7)]['display']=_0x4c9b78(0x185),this['_initUniver'](_0x4ef3b2,_0x149c55,_0x1ddb58));}[_0x15a2d1(0x134)](){const _0x208a9a=_0x15a2d1;var _0x222dea;this['_disposableCollection'][_0x208a9a(0x1fd)](),(_0x222dea=this[_0x208a9a(0x20d)])==null||_0x222dea[_0x208a9a(0x1fd)](),this[_0x208a9a(0x153)][_0x208a9a(0x25f)](null);let _0x16a8ac=document[_0x208a9a(0x223)](_0x149c55);_0x16a8ac&&(_0x16a8ac[_0x208a9a(0x1f7)][_0x208a9a(0x111)]=_0x208a9a(0x18c),this[_0x208a9a(0x265)]&&(this[_0x208a9a(0x265)][_0x208a9a(0x12f)](),this[_0x208a9a(0x265)]=null));}[_0x15a2d1(0x19d)](_0xd26b09,_0xbafca1,_0xe5721c){const _0x59023b=_0x15a2d1;var _0x410457,_0x42fc37,_0x16cc98,_0x2a6e38,_0x2e318e;if(this[_0x59023b(0x20d)])return;let _0x17e413=new _0x12090c[(_0x59023b(0x219))]({'locales':{[this[_0x59023b(0x22a)][_0x59023b(0x13d)]()]:this[_0x59023b(0x22a)][_0x59023b(0x164)]()},'override':[[_0x12090c['IAuthzIoService'],{'useClass':_0x5f37e5[_0x59023b(0x161)]}]]}),_0x217bf3=_0x17e413[_0x59023b(0x1a7)]();this['disposeWithMe'](this[_0x59023b(0x137)][_0x59023b(0x132)][_0x59023b(0x1a9)](_0x73d3a9=>{const _0x4614a2=_0x59023b;_0x217bf3[_0x4614a2(0x10e)](_0x12090c[_0x4614a2(0x220)])[_0x4614a2(0x1b6)](_0x73d3a9);})),this[_0x59023b(0x18a)](this[_0x59023b(0x137)]['currentTheme$'][_0x59023b(0x1a9)](_0x3f56ca=>{const _0x456907=_0x59023b;_0x217bf3[_0x456907(0x10e)](_0x12090c[_0x456907(0x220)])[_0x456907(0x24e)](_0x3f56ca);})),_0x217bf3[_0x59023b(0x10e)](_0x12090c[_0x59023b(0x255)])[_0x59023b(0x23d)](this[_0x59023b(0x22a)][_0x59023b(0x13d)]()),_0x217bf3[_0x59023b(0x10e)](_0x12090c[_0x59023b(0x14c)])[_0x59023b(0x222)](_0x5f37e5[_0x59023b(0x189)],this['_configService']['getConfig'](_0x5f37e5['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']));let _0x148f4a=this[_0x59023b(0x1e4)][_0x59023b(0x21a)](_0x2827be[_0x59023b(0x217)]);_0x148f4a&&_0x17e413['registerPlugin'](_0x2827be[_0x59023b(0x229)],{'license':_0x148f4a['ls']});let _0x418fa1=(_0x410457=this[_0x59023b(0x1e4)][_0x59023b(0x21a)](_0x59023b(0x236)))==null?void 0x0:_0x410457['workerURL'],_0x1ec08a=!!_0x418fa1;_0x1ec08a&&(this[_0x59023b(0x265)]=_0x418fa1 instanceof Worker?_0x418fa1:null,_0x17e413['registerPlugin'](_0x5140f3['UniverRPCMainThreadPlugin'],{'workerURL':_0x418fa1})),this['_pluginMap']['forEach'](([_0x45b702,_0x2a6623])=>{const _0x409077=_0x59023b;_0x17e413[_0x409077(0x26d)](_0x45b702,_0x2a6623);}),_0x17e413['registerPlugin'](_0x59a771[_0x59023b(0x120)],{'historyListServerUrl':(_0x42fc37=this[_0x59023b(0x1e4)][_0x59023b(0x21a)](_0x59023b(0x236)))==null?void 0x0:_0x42fc37['historyListServerUrl'],'historyPanelComponentKey':(_0x16cc98=this[_0x59023b(0x1e4)][_0x59023b(0x21a)]('edit-history-loader.config'))==null?void 0x0:_0x16cc98[_0x59023b(0x1a1)],'historyPanelHidden':(_0x2a6e38=this[_0x59023b(0x1e4)][_0x59023b(0x21a)](_0x59023b(0x236)))==null?void 0x0:_0x2a6e38['historyPanelHidden'],'historyAIassistantEnabled':(_0x2e318e=this[_0x59023b(0x1e4)][_0x59023b(0x21a)](_0x59023b(0x236)))==null?void 0x0:_0x2e318e[_0x59023b(0x1bb)]}),_0x217bf3[_0x59023b(0x26b)](_0x21d355=>{this['_initListener'](_0x21d355,_0xd26b09);}),this[_0x59023b(0x153)][_0x59023b(0x25f)](_0x17e413);let _0x4c1033=_0x217bf3[_0x59023b(0x10e)](_0x59a771['HistoryManagerService']),_0x3e4907=this[_0x59023b(0x25d)](_0xd26b09),_0x50dae9=()=>{const _0x58dc89=_0x59023b;_0xe5721c?_0x4c1033['triggerCustomVersions'](_0xd26b09,_0xbafca1,_0x3e4907,_0xe5721c):_0x4c1033[_0x58dc89(0x260)](_0xd26b09,_0xbafca1,_0x3e4907);};if(this['_messageService']['show']({'content':this['_localeService']['t']('editHistory.info.initializing'),'type':_0x2feaca[_0x59023b(0x211)][_0x59023b(0x17b)]}),_0x1ec08a)try{_0x217bf3[_0x59023b(0x10e)](_0x5140f3[_0x59023b(0x1b8)])[_0x59023b(0x1e9)]()[_0x59023b(0x235)](()=>{_0x50dae9();});}catch{_0x50dae9();}else _0x50dae9();}[_0x15a2d1(0x1ac)](_0x3cb3ea,_0x4124e1){const _0x3b3f1f=_0x15a2d1;let _0x1e1b96=_0x3cb3ea['get'](_0x59a771['HistoryManagerService']);this[_0x3b3f1f(0x13b)][_0x3b3f1f(0x218)](_0x1e1b96['status$'][_0x3b3f1f(0x1a9)](_0x36fb7f=>{const _0x5366cb=_0x3b3f1f;switch(_0x36fb7f){case _0x59a771[_0x5366cb(0x1fe)][_0x5366cb(0x249)]:this[_0x5366cb(0x188)][_0x5366cb(0x136)](),this[_0x5366cb(0x155)]['close']();break;case _0x59a771[_0x5366cb(0x1fe)]['Exited']:this[_0x5366cb(0x250)][_0x5366cb(0x145)](_0x14d3b7['id']),this[_0x5366cb(0x134)]();break;case _0x59a771[_0x5366cb(0x1fe)][_0x5366cb(0x269)]:this[_0x5366cb(0x134)](),this['_messageService'][_0x5366cb(0x226)]({'content':this[_0x5366cb(0x22a)]['t'](_0x5366cb(0x18f)),'type':_0x2feaca[_0x5366cb(0x211)][_0x5366cb(0x269)],'duration':0xbb8});break;default:break;}})),this[_0x3b3f1f(0x13b)][_0x3b3f1f(0x218)](_0x1e1b96[_0x3b3f1f(0x1c0)][_0x3b3f1f(0x1a9)](async _0x4c5fc6=>{const _0x2a3e21=_0x3b3f1f;_0x4c5fc6&&this[_0x2a3e21(0x250)][_0x2a3e21(0x145)](_0x11130c[_0x2a3e21(0x114)]['id'],{'unitId':_0x4124e1,'revision':_0x4c5fc6});}));}[_0x15a2d1(0x25d)](_0x297a76){const _0x2091d4=_0x15a2d1;let _0x3ced6e=this[_0x2091d4(0x12a)]['getUnit'](_0x297a76)[_0x2091d4(0x1c5)]()['map'](_0x44e299=>_0x44e299['getSheetId']()),_0x366534=new _0x4e039e[(_0x2091d4(0x1a2))](_0x297a76)['id'],_0x455873=_0x3ced6e['map'](_0x25b7c3=>new _0x4e039e[(_0x2091d4(0x21e))](_0x297a76,_0x25b7c3)['id']),_0x1d09e=_0x3ced6e[_0x2091d4(0x1fa)](_0x4a8e2b=>this[_0x2091d4(0x1e7)][_0x2091d4(0x1c4)](_0x297a76,_0x4a8e2b)['map'](_0x18db3e=>new _0x4e039e['RangeProtectionPermissionEditPoint'](_0x297a76,_0x4a8e2b,_0x18db3e[_0x2091d4(0x204)])['id']))[_0x2091d4(0x1a6)](),_0x1f2119=new _0x4e039e[(_0x2091d4(0x1cc))](_0x297a76)['id'];return this[_0x2091d4(0x238)][_0x2091d4(0x14b)]([_0x366534,..._0x455873,..._0x1d09e,_0x1f2119])[_0x2091d4(0x12c)](_0x1dd965=>!!_0x1dd965[_0x2091d4(0x25b)]);}};_0x5664ee=_0x1b6269([_0xe0d68f(0x0,(0x0,_0x12090c[_0x15a2d1(0x25e)])(_0x12090c['LocaleService'])),_0xe0d68f(0x1,_0x12090c[_0x15a2d1(0x170)]),_0xe0d68f(0x2,_0x12090c[_0x15a2d1(0x14c)]),_0xe0d68f(0x3,_0x12090c[_0x15a2d1(0x1aa)]),_0xe0d68f(0x4,_0x28ef43[_0x15a2d1(0x221)]),_0xe0d68f(0x5,_0x12090c[_0x15a2d1(0x215)]),_0xe0d68f(0x6,(0x0,_0x12090c['Inject'])(_0x4e039e[_0x15a2d1(0x159)])),_0xe0d68f(0x7,(0x0,_0x12090c[_0x15a2d1(0x25e)])(_0x28ef43[_0x15a2d1(0x1af)])),_0xe0d68f(0x8,(0x0,_0x12090c[_0x15a2d1(0x25e)])(_0x28ef43[_0x15a2d1(0x1da)])),_0xe0d68f(0x9,(0x0,_0x12090c[_0x15a2d1(0x25e)])(_0x12090c[_0x15a2d1(0x220)]))],_0x5664ee);let _0x32513a={'id':'univer.operation.toggle-edit-history','type':_0x12090c['CommandType'][_0x15a2d1(0x1ea)],'handler':_0x7994d1=>{const _0xcfa4e8=_0x15a2d1;let _0x22e94b=_0x7994d1['get'](_0x5664ee),{unitId:_0x282271}=(0x0,_0x4e039e[_0xcfa4e8(0x243)])(_0x7994d1['get'](_0x12090c[_0xcfa4e8(0x170)]))||{};return _0x282271?(_0x22e94b[_0xcfa4e8(0x203)](_0x282271),!0x0):!0x1;}},_0x14d3b7={'id':_0x15a2d1(0x140),'type':_0x12090c[_0x15a2d1(0x154)]['OPERATION'],'handler':()=>!0x0};var _0x41aedd=_0x15a2d1(0x1d2),_0x2dc78c=_0x15a2d1(0x25a);function _0x59446f({ref:_0x33edc9,..._0x4e212c}){const _0x2857bb=_0x15a2d1;let {icon:_0x3e7956,id:_0x20dc35,className:_0x34e748,extend:_0x3313c0,..._0x46c599}=_0x4e212c,_0x57041c=(_0x2857bb(0x1b4)+_0x20dc35+'\x20'+(_0x34e748||''))[_0x2857bb(0x228)](),_0x23264d=(0x0,_0x44783d['useRef'])('_'+_0x2f7601());return _0x80080c(_0x3e7956,''+_0x20dc35,{'defIds':_0x3e7956[_0x2857bb(0x1d6)],'idSuffix':_0x23264d[_0x2857bb(0x148)]},{'ref':_0x33edc9,'className':_0x57041c,..._0x46c599},_0x3313c0);}function _0x80080c(_0x1e0fc4,_0x2210fc,_0x5bcca5,_0x1fdbd1,_0x52cc71){const _0x899596=_0x15a2d1;return(0x0,_0x44783d[_0x899596(0x1dc)])(_0x1e0fc4[_0x899596(0x1e6)],{'key':_0x2210fc,..._0x427aa5(_0x1e0fc4,_0x5bcca5,_0x52cc71),..._0x1fdbd1},(_0x1579b7(_0x1e0fc4,_0x5bcca5)['children']||[])[_0x899596(0x1fa)]((_0x4f2187,_0x5a00ed)=>_0x80080c(_0x4f2187,_0x2210fc+'-'+_0x1e0fc4['tag']+'-'+_0x5a00ed,_0x5bcca5,void 0x0,_0x52cc71)));}function _0x427aa5(_0x403699,_0x1eec8c,_0x36ae0f){const _0x1beb63=_0x15a2d1;let _0x52ba34={..._0x403699[_0x1beb63(0x225)]};_0x36ae0f!=null&&_0x36ae0f[_0x1beb63(0x191)]&&_0x52ba34[_0x1beb63(0x263)]===_0x1beb63(0x191)&&(_0x52ba34[_0x1beb63(0x263)]=_0x36ae0f[_0x1beb63(0x191)]),_0x403699[_0x1beb63(0x1e6)]===_0x1beb63(0x1c8)&&_0x52ba34['id']&&(_0x52ba34['id']+=_0x1eec8c['idSuffix']),Object[_0x1beb63(0x270)](_0x52ba34)['forEach'](([_0x5ad5a8,_0x507d70])=>{const _0x811f71=_0x1beb63;_0x5ad5a8===_0x811f71(0x1c8)&&typeof _0x507d70=='string'&&(_0x52ba34[_0x5ad5a8]=_0x507d70[_0x811f71(0x256)](/url\(#(.*)\)/,_0x811f71(0x1e2)+_0x1eec8c[_0x811f71(0x25c)]+')'));});let {defIds:_0x407e39}=_0x1eec8c;return!_0x407e39||_0x407e39[_0x1beb63(0x277)]===0x0?_0x52ba34:(_0x403699['tag']==='use'&&_0x52ba34['xlink:href']&&(_0x52ba34[_0x1beb63(0x209)]+=_0x1eec8c[_0x1beb63(0x25c)]),Object[_0x1beb63(0x270)](_0x52ba34)[_0x1beb63(0x1f9)](([_0x326547,_0x318bc0])=>{const _0xe5faae=_0x1beb63;typeof _0x318bc0==_0xe5faae(0x1c7)&&(_0x52ba34[_0x326547]=_0x318bc0[_0xe5faae(0x256)](/url\(#(.*)\)/,'url(#$1'+_0x1eec8c[_0xe5faae(0x25c)]+')'));}),_0x52ba34);}function _0x1579b7(_0x1c48b2,_0x24bdeb){const _0x2a145a=_0x15a2d1;var _0x5f1869;let {defIds:_0x3cf1c1}=_0x24bdeb;return!_0x3cf1c1||_0x3cf1c1[_0x2a145a(0x277)]===0x0?_0x1c48b2:_0x1c48b2[_0x2a145a(0x1e6)]==='defs'&&(_0x5f1869=_0x1c48b2['children'])!=null&&_0x5f1869[_0x2a145a(0x277)]?{..._0x1c48b2,'children':_0x1c48b2[_0x2a145a(0x193)][_0x2a145a(0x1fa)](_0x324b5e=>typeof _0x324b5e['attrs']['id']==_0x2a145a(0x1c7)&&_0x3cf1c1&&_0x3cf1c1[_0x2a145a(0x254)](_0x324b5e['attrs']['id'])?{..._0x324b5e,'attrs':{..._0x324b5e[_0x2a145a(0x225)],'id':_0x324b5e[_0x2a145a(0x225)]['id']+_0x24bdeb[_0x2a145a(0x25c)]}}:_0x324b5e)}:_0x1c48b2;}function _0x2f7601(){const _0x6fd8bf=_0x15a2d1;return Math[_0x6fd8bf(0x240)]()[_0x6fd8bf(0x261)](0x24)[_0x6fd8bf(0x10d)](0x2,0x8);}_0x59446f[_0x15a2d1(0x271)]=_0x15a2d1(0x11c);let _0x486d1b={'tag':_0x15a2d1(0x24d),'attrs':{'xmlns':_0x15a2d1(0x252),'fill':_0x15a2d1(0x18c),'viewBox':_0x15a2d1(0x23a),'width':_0x15a2d1(0x1f2),'height':'1em'},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x15a2d1(0x1df)},'children':[{'tag':_0x15a2d1(0x147),'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':_0x15a2d1(0x147),'attrs':{'d':'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'}}]},{'tag':_0x15a2d1(0x200),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x15a2d1(0x1db)},'children':[{'tag':_0x15a2d1(0x147),'attrs':{'fill':_0x15a2d1(0x187),'d':_0x15a2d1(0x245)}}]}]}],'defIds':[_0x15a2d1(0x1db)]},_0x11966c=(0x0,_0x44783d['forwardRef'])(function(_0x33d0a2,_0xf16eb5){const _0x5849c7=_0x15a2d1;return(0x0,_0x44783d[_0x5849c7(0x1dc)])(_0x59446f,Object[_0x5849c7(0x1cd)]({},_0x33d0a2,{'id':_0x5849c7(0x15d),'ref':_0xf16eb5,'icon':_0x486d1b}));});_0x11966c['displayName']=_0x15a2d1(0x26c);let _0xc44c27=function(_0x4ba033){const _0x5d8831=_0x15a2d1;return _0x4ba033[_0x4ba033['UNIVER_UNKNOWN']=0x0]=_0x5d8831(0x22c),_0x4ba033[_0x4ba033[_0x5d8831(0x168)]=0x1]='UNIVER_DOC',_0x4ba033[_0x4ba033['UNIVER_SHEET']=0x2]=_0x5d8831(0x201),_0x4ba033[_0x4ba033[_0x5d8831(0x157)]=0x3]='UNIVER_SLIDE',_0x4ba033[_0x4ba033[_0x5d8831(0x246)]=0x4]='UNIVER_PROJECT',_0x4ba033[_0x4ba033[_0x5d8831(0x184)]=-0x1]='UNRECOGNIZED',_0x4ba033;}({});function _0x29682f(_0x145d6a){const _0xe3b017=_0x15a2d1;return{'id':_0x32513a['id'],'type':_0x28ef43[_0xe3b017(0x130)][_0xe3b017(0x20f)],'icon':_0xe3b017(0x26c),'tooltip':_0xe3b017(0x24a),'hidden$':(0x0,_0x28ef43['getMenuHiddenObservable'])(_0x145d6a,_0x12090c[_0xe3b017(0x230)]['UNIVER_SHEET']),'disabled$':(0x0,_0x45eeac['getCurrentRangeDisable$'])(_0x145d6a,{'workbookTypes':[_0x4e039e[_0xe3b017(0x11e)]],'worksheetTypes':[],'rangeTypes':[]})};}let _0x1262a3={[_0x28ef43[_0x15a2d1(0x231)]['OTHERS']]:{[_0x32513a['id']]:{'order':0.2,'menuItemFactory':_0x29682f}}},_0x549ca8=class extends _0x12090c[_0x15a2d1(0x1dd)]{constructor(_0x1ce0de,_0x2e7210,_0xa1a08,_0x417b3d,_0x44daa8,_0x17de71,_0x8cb21,_0x2f660b,_0x3bf7ec,_0x180da8,_0x33e121){const _0xe26ddd=_0x15a2d1;super(),this[_0xe26ddd(0x250)]=_0x1ce0de,this[_0xe26ddd(0x213)]=_0x2e7210,this[_0xe26ddd(0x158)]=_0xa1a08,this[_0xe26ddd(0x20a)]=_0x417b3d,this['_localeService']=_0x44daa8,this[_0xe26ddd(0x1e8)]=_0x17de71,this[_0xe26ddd(0x180)]=_0x8cb21,this[_0xe26ddd(0x10f)]=_0x2f660b,this['_dataLoaderService']=_0x3bf7ec,this['_univerInstanceService']=_0x180da8,this[_0xe26ddd(0x127)]=_0x33e121,_0x47f855(this,'_revertErrorTimer',null),this[_0xe26ddd(0x125)]();}['_init'](){const _0x115f27=_0x15a2d1;[_0x32513a,_0x14d3b7]['forEach'](_0x451e37=>this[_0x115f27(0x18a)]((0x0,_0x12090c[_0x115f27(0x208)])(this['_commandService']['registerCommand'](_0x451e37)))),this[_0x115f27(0x18a)](this[_0x115f27(0x158)][_0x115f27(0x1d0)](_0x115f27(0x26c),_0x11966c)),this['_menuManagerService']['mergeMenu'](_0x1262a3),this[_0x115f27(0x18a)](this['_commandService']['onCommandExecuted'](async(_0x2a3ac7,_0x3b309d)=>{const _0x2e2c60=_0x115f27;if(_0x2a3ac7['id']===_0x11130c[_0x2e2c60(0x114)]['id']){let {unitId:_0x39482a}=_0x2a3ac7[_0x2e2c60(0x26f)];this[_0x2e2c60(0x1e8)][_0x2e2c60(0x226)]({'content':this['_localeService']['t'](_0x2e2c60(0x23e)),'type':_0x2feaca[_0x2e2c60(0x211)][_0x2e2c60(0x17b)],'duration':0x1388});let _0x89392e=this['_collaborationController'][_0x2e2c60(0x22e)](_0x39482a);_0x3b309d!=null&&_0x3b309d['fromCollab']?this[_0x2e2c60(0x124)](_0x89392e,async()=>(setTimeout(()=>window['location'][_0x2e2c60(0x244)]()),!0x0),!0x0):this['_handleRevertAcknowledgement'](_0x89392e,async()=>{const _0x1b9137=_0x2e2c60;let _0x270109=this[_0x1b9137(0x12a)][_0x1b9137(0x1b5)](_0xc44c27[_0x1b9137(0x201)]),_0x195cd5=_0x270109==null?void 0x0:_0x270109[_0x1b9137(0x274)]();if(!_0x195cd5)return!0x1;this[_0x1b9137(0x12a)][_0x1b9137(0x1d8)](_0x39482a);let _0x379740=await this[_0x1b9137(0x15f)][_0x1b9137(0x12b)](_0x39482a,_0xc44c27['UNIVER_SHEET']);return _0x379740&&_0x379740 instanceof _0x12090c[_0x1b9137(0x11a)]?(await this[_0x1b9137(0x212)](_0x379740,_0x195cd5[_0x1b9137(0x207)]()),!0x0):!0x1;});}}));}[_0x15a2d1(0x124)](_0x3e05fd,_0xf92a80,_0x31f640=!0x1){const _0x4fec14=_0x15a2d1;let _0x32aa1d=(0x0,_0xfca8c[_0x4fec14(0x1b2)])([_0x3e05fd['session'][_0x4fec14(0x1e5)],_0x3e05fd[_0x4fec14(0x19e)]])[_0x4fec14(0x1a9)](async([_0x377e57,_0x108ba2])=>{const _0x83d42a=_0x4fec14;if(_0x377e57['eventID']===_0x11130c[_0x83d42a(0x12d)][_0x83d42a(0x1ba)]&&(_0x108ba2==null?void 0x0:_0x108ba2['status'])===_0x5f37e5['CollaborationStatus'][_0x83d42a(0x257)]&&_0x377e57['data'][_0x83d42a(0x194)][_0x83d42a(0x14a)](_0x492f90=>_0x492f90['id']===_0x11130c['RevertRevisionMutation']['id'])&&await _0xf92a80()){var _0x45da7f;this[_0x83d42a(0x20a)][_0x83d42a(0x134)](),_0x32aa1d[_0x83d42a(0x15a)](),this[_0x83d42a(0x1be)]&&clearTimeout(this[_0x83d42a(0x1be)]),await((_0x45da7f=this[_0x83d42a(0x10f)])==null?void 0x0:_0x45da7f[_0x83d42a(0x224)]()),this[_0x83d42a(0x1e8)][_0x83d42a(0x1f6)]();}});_0x31f640&&(this[_0x4fec14(0x1be)]=setTimeout(()=>{const _0x20506b=_0x4fec14;_0x32aa1d[_0x20506b(0x15a)](),this['_messageService']['show']({'content':this[_0x20506b(0x22a)]['t'](_0x20506b(0x21f)),'type':_0x2feaca[_0x20506b(0x211)][_0x20506b(0x269)],'duration':0xbb8});},0x1388));}async[_0x15a2d1(0x212)](_0x239f2f,_0x3d8d1b){const _0x399877=_0x15a2d1;await this['_updateSubUnitFromURLParams'](_0x239f2f,_0x3d8d1b),_0x239f2f[_0x399877(0x20e)][_0x399877(0x1a0)]((0x0,_0xfca8c[_0x399877(0x10c)])(this[_0x399877(0x216)]))[_0x399877(0x1a9)](_0x3ac944=>{const _0x35c1b5=_0x399877;_0x3ac944&&this[_0x35c1b5(0x115)](_0x3ac944);}),this[_0x399877(0x127)][_0x399877(0x1ab)][_0x399877(0x1a0)]((0x0,_0xfca8c['takeUntil'])(this[_0x399877(0x216)]))[_0x399877(0x1a9)](()=>this['_updateSubUnitFromURLParams'](_0x239f2f,_0x3d8d1b));}[_0x15a2d1(0x115)](_0x517210,_0x69f378=!0x1){const _0x113a56=_0x15a2d1;let _0x2b1641=this[_0x113a56(0x127)]['getParam'](_0x113a56(0x1d7));_0x517210['getSheetId']()!==_0x2b1641&&this[_0x113a56(0x127)][_0x113a56(0x1ae)]('subunit',_0x517210[_0x113a56(0x207)](),_0x69f378);}async['_updateSubUnitFromURLParams'](_0x24b765,_0x137b7a){const _0xb10121=_0x15a2d1;var _0x1c8042;if(!_0x137b7a||!_0x24b765[_0xb10121(0x205)](_0x137b7a)){let _0x5d6539=_0x24b765[_0xb10121(0x138)]()[0x0],_0x51d535=_0x24b765[_0xb10121(0x205)](_0x5d6539);if(!_0x51d535)return;this[_0xb10121(0x115)](_0x51d535,!0x0),await this[_0xb10121(0x250)][_0xb10121(0x145)](_0x4e039e['SetWorksheetActivateCommand']['id'],{'unitId':_0x24b765[_0xb10121(0x1f4)](),'subUnitId':_0x5d6539});return;}((_0x1c8042=_0x24b765[_0xb10121(0x274)]())==null?void 0x0:_0x1c8042[_0xb10121(0x207)]())!==_0x137b7a&&await this[_0xb10121(0x250)][_0xb10121(0x145)](_0x4e039e[_0xb10121(0x1a3)]['id'],{'unitId':_0x24b765[_0xb10121(0x1f4)](),'subUnitId':_0x137b7a});}};_0x549ca8=_0x1b6269([_0xe0d68f(0x0,_0x12090c[_0x15a2d1(0x1aa)]),_0xe0d68f(0x1,_0x28ef43['IMenuManagerService']),_0xe0d68f(0x2,(0x0,_0x12090c['Inject'])(_0x28ef43[_0x15a2d1(0x13a)])),_0xe0d68f(0x3,(0x0,_0x12090c[_0x15a2d1(0x25e)])(_0x5664ee)),_0xe0d68f(0x4,(0x0,_0x12090c['Inject'])(_0x12090c[_0x15a2d1(0x255)])),_0xe0d68f(0x5,_0x28ef43[_0x15a2d1(0x221)]),_0xe0d68f(0x6,(0x0,_0x12090c[_0x15a2d1(0x25e)])(_0x5f37e5[_0x15a2d1(0x1cf)])),_0xe0d68f(0x7,_0x5f37e5[_0x15a2d1(0x1ef)]),_0xe0d68f(0x8,(0x0,_0x12090c[_0x15a2d1(0x25e)])(_0x5f37e5['DataLoaderService'])),_0xe0d68f(0x9,_0x12090c[_0x15a2d1(0x170)]),_0xe0d68f(0xa,_0x4f45d9[_0x15a2d1(0x239)])],_0x549ca8);let _0x4019cf=_0x15a2d1(0x113),_0xd4d756=class extends _0x12090c['Disposable']{constructor(_0x32018e,_0x310059,_0x2a6749,_0x5b384e,_0x87093a,_0x173b64,_0x29fc5c,_0x50c010,_0x3c5b2e,_0x245d4e){const _0x54b8a9=_0x15a2d1;super(),this[_0x54b8a9(0x22a)]=_0x32018e,this['_univerInstanceService']=_0x310059,this['_configService']=_0x2a6749,this[_0x54b8a9(0x250)]=_0x5b384e,this[_0x54b8a9(0x1e8)]=_0x87093a,this[_0x54b8a9(0x238)]=_0x173b64,this[_0x54b8a9(0x1e7)]=_0x29fc5c,this['_dialogService']=_0x50c010,this[_0x54b8a9(0x155)]=_0x3c5b2e,this['_themeService']=_0x245d4e,_0x47f855(this,_0x54b8a9(0x153),new _0xfca8c[(_0x54b8a9(0x1c1))](null)),_0x47f855(this,_0x54b8a9(0x117),this[_0x54b8a9(0x153)]['asObservable']()),_0x47f855(this,_0x54b8a9(0x13b),new _0x12090c[(_0x54b8a9(0x135))]()),_0x47f855(this,'_pluginMap',new Map()),_0x47f855(this,_0x54b8a9(0x265),null),this[_0x54b8a9(0x125)]();}get[_0x15a2d1(0x20d)](){const _0x3dd58b=_0x15a2d1;return this[_0x3dd58b(0x153)]['value'];}[_0x15a2d1(0x125)](){const _0xcb1925=_0x15a2d1;this[_0xcb1925(0x128)](),this['_initPlugins']();}[_0x15a2d1(0x128)](){const _0x481828=_0x15a2d1;var _0x1ea09e;let _0x5e4c88=(_0x1ea09e=this['_configService'][_0x481828(0x21a)]('UNIVER_CONTAINER_ID'))==null?_0x481828(0x116):_0x1ea09e,_0x2af9c1=document[_0x481828(0x223)](_0x5e4c88);if(!_0x2af9c1)return;let _0x4c3c7b=document[_0x481828(0x1dc)]('div');_0x4c3c7b['id']=_0x4019cf,_0x4c3c7b['dataset']['uComp']=_0x481828(0x1f3),_0x4c3c7b[_0x481828(0x1f7)][_0x481828(0x1b1)]='absolute',_0x4c3c7b[_0x481828(0x1f7)][_0x481828(0x177)]='0',_0x4c3c7b['style']['left']='0',_0x4c3c7b[_0x481828(0x1f7)][_0x481828(0x13f)]='100%',_0x4c3c7b[_0x481828(0x1f7)][_0x481828(0x242)]=_0x481828(0x1fc),_0x4c3c7b[_0x481828(0x1f7)][_0x481828(0x195)]='49',_0x4c3c7b[_0x481828(0x1f7)]['display']='none',_0x2af9c1[_0x481828(0x24b)](_0x4c3c7b);}[_0x15a2d1(0x266)](){const _0x3a951f=_0x15a2d1;[[_0x43f152[_0x3a951f(0x17f)]],[_0x28ef43[_0x3a951f(0x1a8)],{'container':_0x4019cf,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x28ef43[_0x3a951f(0x1af)],null]]}],[_0x1a4595[_0x3a951f(0x173)]],[_0x5904cb[_0x3a951f(0x247)],{'override':[[_0x5904cb[_0x3a951f(0x152)],null]]}],[_0x2ea4bf[_0x3a951f(0x1c2)],{'hasScroll':!0x1}],[_0x25da9d[_0x3a951f(0x1a5)]],[_0x632a83[_0x3a951f(0x163)]],[_0x4e039e[_0x3a951f(0x20c)],{'notExecuteFormula':!0x0}],[_0x45eeac[_0x3a951f(0x1c9)]],[_0x3ef67c[_0x3a951f(0x232)]],[_0x2bb13c[_0x3a951f(0x237)]],[_0x11130c['UniverCollaborationPlugin']],[_0x2df2bc[_0x3a951f(0x1d5)]],[_0x34d95d['UniverSheetsConditionalFormattingPlugin']],[_0x5042e4[_0x3a951f(0x12e)]],[_0xfc5b51[_0x3a951f(0x1ed)]],[_0x3401cf[_0x3a951f(0x165)]],[_0x31ce0b['UniverSheetsDataValidationPlugin']],[_0x4255aa[_0x3a951f(0x21c)]],[_0x19085c[_0x3a951f(0x1eb)],{'notExecuteFormula':!0x0}],[_0x2eba8a[_0x3a951f(0x15c)]],[_0x264674[_0x3a951f(0x17a)]],[_0x40d9f3[_0x3a951f(0x1d4)]],[_0x28b7a8['UniverSheetSparklinePlugin']],[_0x1d70f4[_0x3a951f(0x22d)]],[_0x115e2f[_0x3a951f(0x18d)]],[_0x3792f0[_0x3a951f(0x258)]],[_0x3aafca[_0x3a951f(0x10a)]],[_0x473700[_0x3a951f(0x141)]],[_0x2c40b3[_0x3a951f(0x133)],{'notExecuteFormula':!0x0}],[_0x4fb882[_0x3a951f(0x1bc)]]][_0x3a951f(0x1f9)](([_0xae0e37,_0x520384])=>this[_0x3a951f(0x26d)](_0xae0e37,_0x520384));}[_0x15a2d1(0x1fd)](){const _0xaa9794=_0x15a2d1;super[_0xaa9794(0x1fd)](),this[_0xaa9794(0x134)](),this[_0xaa9794(0x14f)][_0xaa9794(0x1c3)]();}['registerPlugin'](_0x53acb4,_0x55709c,_0x2f1426){const _0x200224=_0x15a2d1;if(this[_0x200224(0x14f)][_0x200224(0x214)](_0x53acb4[_0x200224(0x119)])&&!_0x2f1426)throw Error('[MobileHistoryLoaderService]:\x20Plugin\x20'+_0x53acb4[_0x200224(0x119)]+_0x200224(0x262));this[_0x200224(0x14f)]['set'](_0x53acb4['pluginName'],[_0x53acb4,_0x55709c]);}[_0x15a2d1(0x259)](){const _0x5e0348=_0x15a2d1;return Array[_0x5e0348(0x192)](this[_0x5e0348(0x14f)][_0x5e0348(0x169)]());}[_0x15a2d1(0x203)](_0x5bdf36,_0x1e4b3f){const _0x647261=_0x15a2d1;let _0x82d2b=document[_0x647261(0x223)](_0x4019cf);_0x82d2b&&(_0x82d2b['style'][_0x647261(0x111)]=_0x647261(0x185),this['_initUniver'](_0x5bdf36,_0x4019cf,_0x1e4b3f));}[_0x15a2d1(0x134)](){const _0x2e1011=_0x15a2d1;var _0x4345e9;this[_0x2e1011(0x13b)][_0x2e1011(0x1fd)](),(_0x4345e9=this[_0x2e1011(0x20d)])==null||_0x4345e9['dispose'](),this[_0x2e1011(0x153)][_0x2e1011(0x25f)](null);let _0x164a5c=document[_0x2e1011(0x223)](_0x4019cf);_0x164a5c&&(_0x164a5c['style'][_0x2e1011(0x111)]='none',this[_0x2e1011(0x265)]&&(this[_0x2e1011(0x265)][_0x2e1011(0x12f)](),this['_internalWebWorker']=null));}[_0x15a2d1(0x19d)](_0x158c9f,_0x13f4f1,_0x3dfb9f){const _0x390b6d=_0x15a2d1;var _0x3f16e5,_0xf8d033,_0x1b1812,_0x5df741;if(this['historyUniver'])return;let _0x4b6226=new _0x12090c[(_0x390b6d(0x219))]({'locales':{[this['_localeService'][_0x390b6d(0x13d)]()]:this['_localeService'][_0x390b6d(0x164)]()},'override':[[_0x12090c[_0x390b6d(0x142)],{'useClass':_0x5f37e5[_0x390b6d(0x161)]}]]}),_0x4d09e0=_0x4b6226[_0x390b6d(0x1a7)]();this[_0x390b6d(0x18a)](this[_0x390b6d(0x137)]['darkMode$'][_0x390b6d(0x1a9)](_0x359ccf=>{const _0x254899=_0x390b6d;_0x4d09e0[_0x254899(0x10e)](_0x12090c[_0x254899(0x220)])[_0x254899(0x1b6)](_0x359ccf);})),this[_0x390b6d(0x18a)](this['_themeService']['currentTheme$'][_0x390b6d(0x1a9)](_0x259c0e=>{const _0x442f89=_0x390b6d;_0x4d09e0[_0x442f89(0x10e)](_0x12090c['ThemeService'])[_0x442f89(0x24e)](_0x259c0e);})),_0x4d09e0['get'](_0x12090c['LocaleService'])['setLocale'](this['_localeService'][_0x390b6d(0x13d)]()),_0x4d09e0[_0x390b6d(0x10e)](_0x12090c[_0x390b6d(0x14c)])[_0x390b6d(0x222)](_0x5f37e5[_0x390b6d(0x189)],this['_configService'][_0x390b6d(0x21a)](_0x5f37e5[_0x390b6d(0x189)]));let _0xc68c7f=this[_0x390b6d(0x1e4)][_0x390b6d(0x21a)](_0x2827be['LS_CONFIG_KEY']);_0xc68c7f&&_0x4b6226[_0x390b6d(0x26d)](_0x2827be[_0x390b6d(0x229)],{'license':_0xc68c7f['ls']});let _0x39dd3c=(_0x3f16e5=this['_configService'][_0x390b6d(0x21a)]('edit-history-loader.config'))==null?void 0x0:_0x3f16e5[_0x390b6d(0x174)],_0x41ee3d=!!_0x39dd3c;_0x41ee3d&&(this['_internalWebWorker']=_0x39dd3c instanceof Worker?_0x39dd3c:null,_0x4b6226['registerPlugin'](_0x5140f3[_0x390b6d(0x17c)],{'workerURL':_0x39dd3c})),this[_0x390b6d(0x14f)]['forEach'](([_0x1b720d,_0x399e69])=>{_0x4b6226['registerPlugin'](_0x1b720d,_0x399e69);}),_0x4b6226['registerPlugin'](_0x59a771[_0x390b6d(0x206)],{'historyListServerUrl':(_0xf8d033=this[_0x390b6d(0x1e4)]['getConfig'](_0x390b6d(0x236)))==null?void 0x0:_0xf8d033[_0x390b6d(0x176)],'historyPanelComponentKey':(_0x1b1812=this[_0x390b6d(0x1e4)][_0x390b6d(0x21a)](_0x390b6d(0x236)))==null?void 0x0:_0x1b1812[_0x390b6d(0x1a1)],'historyPanelHidden':(_0x5df741=this[_0x390b6d(0x1e4)]['getConfig'](_0x390b6d(0x236)))==null?void 0x0:_0x5df741[_0x390b6d(0x268)]}),_0x4d09e0[_0x390b6d(0x26b)](_0x2d53ac=>{const _0x15b16c=_0x390b6d;this[_0x15b16c(0x1ac)](_0x2d53ac,_0x158c9f);}),this['_historyUniver$'][_0x390b6d(0x25f)](_0x4b6226);let _0x59f969=_0x4d09e0[_0x390b6d(0x10e)](_0x59a771['HistoryManagerService']),_0x4783a3=this['_checkCanRevert'](_0x158c9f),_0x30f682=()=>{const _0x144802=_0x390b6d;_0x3dfb9f?_0x59f969[_0x144802(0x227)](_0x158c9f,_0x13f4f1,_0x4783a3,_0x3dfb9f):_0x59f969[_0x144802(0x260)](_0x158c9f,_0x13f4f1,_0x4783a3);};if(this['_messageService']['show']({'content':this[_0x390b6d(0x22a)]['t'](_0x390b6d(0x1fb)),'type':_0x2feaca[_0x390b6d(0x211)][_0x390b6d(0x17b)]}),_0x41ee3d)try{_0x4d09e0[_0x390b6d(0x10e)](_0x5140f3[_0x390b6d(0x1b8)])[_0x390b6d(0x1e9)]()[_0x390b6d(0x235)](()=>{_0x30f682();});}catch{_0x30f682();}else _0x30f682();}['_initListener'](_0x41e853,_0x697d2d){const _0x27a2bd=_0x15a2d1;let _0x46a867=_0x41e853[_0x27a2bd(0x10e)](_0x59a771[_0x27a2bd(0x171)]);this[_0x27a2bd(0x13b)]['add'](_0x46a867[_0x27a2bd(0x16e)][_0x27a2bd(0x1a9)](_0x2c5b15=>{const _0x2b32fa=_0x27a2bd;switch(_0x2c5b15){case _0x59a771[_0x2b32fa(0x1fe)][_0x2b32fa(0x249)]:this['_dialogService'][_0x2b32fa(0x136)](),this[_0x2b32fa(0x155)][_0x2b32fa(0x273)]();break;case _0x59a771[_0x2b32fa(0x1fe)][_0x2b32fa(0x1f0)]:this[_0x2b32fa(0x250)][_0x2b32fa(0x145)](_0x14d3b7['id']),this[_0x2b32fa(0x134)]();break;case _0x59a771[_0x2b32fa(0x1fe)][_0x2b32fa(0x269)]:this[_0x2b32fa(0x134)](),this[_0x2b32fa(0x1e8)][_0x2b32fa(0x226)]({'content':this[_0x2b32fa(0x22a)]['t'](_0x2b32fa(0x18f)),'type':_0x2feaca[_0x2b32fa(0x211)][_0x2b32fa(0x269)],'duration':0xbb8});break;default:break;}})),this[_0x27a2bd(0x13b)][_0x27a2bd(0x218)](_0x46a867[_0x27a2bd(0x1c0)][_0x27a2bd(0x1a9)](async _0x47d520=>{const _0x235694=_0x27a2bd;_0x47d520&&this['_commandService'][_0x235694(0x145)](_0x11130c[_0x235694(0x114)]['id'],{'unitId':_0x697d2d,'revision':_0x47d520});}));}[_0x15a2d1(0x25d)](_0x2cd9d5){const _0x2ff861=_0x15a2d1;let _0xbc5024=this[_0x2ff861(0x12a)][_0x2ff861(0x20b)](_0x2cd9d5)['getSheets']()[_0x2ff861(0x1fa)](_0x18c19a=>_0x18c19a[_0x2ff861(0x207)]()),_0x4088ee=new _0x4e039e[(_0x2ff861(0x1a2))](_0x2cd9d5)['id'],_0x2034e1=_0xbc5024[_0x2ff861(0x1fa)](_0x312b1a=>new _0x4e039e[(_0x2ff861(0x21e))](_0x2cd9d5,_0x312b1a)['id']),_0x2771a8=_0xbc5024[_0x2ff861(0x1fa)](_0x449937=>this['_selectionProtectionRuleModel'][_0x2ff861(0x1c4)](_0x2cd9d5,_0x449937)[_0x2ff861(0x1fa)](_0x286e86=>new _0x4e039e[(_0x2ff861(0x18e))](_0x2cd9d5,_0x449937,_0x286e86['permissionId'])['id']))[_0x2ff861(0x1a6)](),_0x3214d1=new _0x4e039e['WorkbookRecoverHistoryPermission'](_0x2cd9d5)['id'];return this[_0x2ff861(0x238)]['composePermission']([_0x4088ee,..._0x2034e1,..._0x2771a8,_0x3214d1])['every'](_0x1c0dd7=>!!_0x1c0dd7[_0x2ff861(0x25b)]);}};_0xd4d756=_0x1b6269([_0xe0d68f(0x0,(0x0,_0x12090c[_0x15a2d1(0x25e)])(_0x12090c[_0x15a2d1(0x255)])),_0xe0d68f(0x1,_0x12090c[_0x15a2d1(0x170)]),_0xe0d68f(0x2,_0x12090c[_0x15a2d1(0x14c)]),_0xe0d68f(0x3,_0x12090c[_0x15a2d1(0x1aa)]),_0xe0d68f(0x4,_0x28ef43[_0x15a2d1(0x221)]),_0xe0d68f(0x5,_0x12090c[_0x15a2d1(0x215)]),_0xe0d68f(0x6,(0x0,_0x12090c[_0x15a2d1(0x25e)])(_0x4e039e[_0x15a2d1(0x159)])),_0xe0d68f(0x7,(0x0,_0x12090c[_0x15a2d1(0x25e)])(_0x28ef43['IDialogService'])),_0xe0d68f(0x8,(0x0,_0x12090c['Inject'])(_0x28ef43[_0x15a2d1(0x1da)])),_0xe0d68f(0x9,(0x0,_0x12090c[_0x15a2d1(0x25e)])(_0x12090c[_0x15a2d1(0x220)]))],_0xd4d756);let _0x56a29d=class extends _0x12090c[_0x15a2d1(0x16f)]{constructor(_0x26a07d=_0x59d7ed,_0x2189c6,_0x599d70){const _0x2c1580=_0x15a2d1;super(),this[_0x2c1580(0x129)]=_0x26a07d,this[_0x2c1580(0x11b)]=_0x2189c6,this['_configService']=_0x599d70;let {menu:_0x499b86,..._0x565e43}=(0x0,_0x12090c[_0x2c1580(0x210)])({},_0x59d7ed,this[_0x2c1580(0x129)]);_0x499b86&&this[_0x2c1580(0x1e4)][_0x2c1580(0x222)](_0x2c1580(0x166),_0x499b86,{'merge':!0x0}),this[_0x2c1580(0x1e4)]['setConfig'](_0xbbabb7,_0x565e43),this[_0x2c1580(0x129)][_0x2c1580(0x1bf)]&&this['_configService']['setConfig'](_0x2c1580(0x248),this[_0x2c1580(0x129)]['univerContainerId']);}[_0x15a2d1(0x11d)](){const _0x21518c=_0x15a2d1;[[_0x5664ee,{'useClass':_0xd4d756}],[_0x549ca8]][_0x21518c(0x1f9)](_0x2680c8=>this[_0x21518c(0x11b)][_0x21518c(0x218)](_0x2680c8));}[_0x15a2d1(0x1ee)](){const _0x8bf414=_0x15a2d1;this[_0x8bf414(0x11b)][_0x8bf414(0x10e)](_0x549ca8);}};_0x47f855(_0x56a29d,'type',_0x12090c['UniverInstanceType'][_0x15a2d1(0x22c)]),_0x47f855(_0x56a29d,'pluginName','UNIVER_EDIT_HISTORY_LOADER_MOBILE_PLUGIN'),_0x47f855(_0x56a29d,'packageName',_0x41aedd),_0x47f855(_0x56a29d,_0x15a2d1(0x18b),_0x2dc78c),_0x56a29d=_0x1b6269([(0x0,_0x12090c[_0x15a2d1(0x1ff)])(_0x2827be[_0x15a2d1(0x229)]),_0xe0d68f(0x1,(0x0,_0x12090c[_0x15a2d1(0x25e)])(_0x12090c['Injector'])),_0xe0d68f(0x2,_0x12090c[_0x15a2d1(0x14c)])],_0x56a29d);let _0x33294e=class extends _0x12090c[_0x15a2d1(0x1dd)]{constructor(_0x30efd7,_0x1a7aee,_0x25b68e,_0x465c5c,_0x50afd3,_0x34ebd6,_0x2d38aa,_0x5d3026,_0x17eb8a,_0x5ec6ce,_0x1992f1){const _0x45fb43=_0x15a2d1;super(),this[_0x45fb43(0x250)]=_0x30efd7,this['_menuManagerService']=_0x1a7aee,this[_0x45fb43(0x158)]=_0x25b68e,this[_0x45fb43(0x20a)]=_0x465c5c,this[_0x45fb43(0x22a)]=_0x50afd3,this[_0x45fb43(0x1e8)]=_0x34ebd6,this[_0x45fb43(0x180)]=_0x2d38aa,this[_0x45fb43(0x10f)]=_0x5d3026,this[_0x45fb43(0x15f)]=_0x17eb8a,this['_univerInstanceService']=_0x5ec6ce,this['_urlService']=_0x1992f1,_0x47f855(this,_0x45fb43(0x1be),null),this[_0x45fb43(0x125)]();}[_0x15a2d1(0x125)](){const _0x4d58d6=_0x15a2d1;[_0x32513a,_0x14d3b7][_0x4d58d6(0x1f9)](_0x5970e4=>this[_0x4d58d6(0x18a)]((0x0,_0x12090c[_0x4d58d6(0x208)])(this[_0x4d58d6(0x250)][_0x4d58d6(0x144)](_0x5970e4)))),this[_0x4d58d6(0x18a)](this[_0x4d58d6(0x158)][_0x4d58d6(0x1d0)]('HistoryIcon',_0x11966c)),this[_0x4d58d6(0x213)][_0x4d58d6(0x1ad)](_0x1262a3),this['disposeWithMe'](this[_0x4d58d6(0x250)]['onCommandExecuted'](async(_0x23275e,_0x1c61fa)=>{const _0x371ef7=_0x4d58d6;if(_0x23275e['id']===_0x11130c[_0x371ef7(0x114)]['id']){let {unitId:_0x4cfac5}=_0x23275e[_0x371ef7(0x26f)];this[_0x371ef7(0x1e8)]['show']({'content':this[_0x371ef7(0x22a)]['t'](_0x371ef7(0x23e)),'type':_0x2feaca['MessageType'][_0x371ef7(0x17b)],'duration':0x1388});let _0x16cc75=this['_collaborationController']['getCollabEntity'](_0x4cfac5);_0x1c61fa!=null&&_0x1c61fa[_0x371ef7(0x1b7)]?this['_handleRevertAcknowledgement'](_0x16cc75,async()=>(setTimeout(()=>window[_0x371ef7(0x1f1)]['reload']()),!0x0),!0x0):this[_0x371ef7(0x124)](_0x16cc75,async()=>{const _0x289364=_0x371ef7;let _0x23b24d=this[_0x289364(0x12a)][_0x289364(0x1b5)](_0xc44c27['UNIVER_SHEET']),_0x44e1df=_0x23b24d==null?void 0x0:_0x23b24d[_0x289364(0x274)]();if(!_0x44e1df)return!0x1;this['_univerInstanceService'][_0x289364(0x1d8)](_0x4cfac5);let _0x1886a8=await this[_0x289364(0x15f)][_0x289364(0x12b)](_0x4cfac5,_0xc44c27['UNIVER_SHEET']);return _0x1886a8&&_0x1886a8 instanceof _0x12090c[_0x289364(0x11a)]?(await this['_setupSubUnitSync'](_0x1886a8,_0x44e1df[_0x289364(0x207)]()),!0x0):!0x1;});}}));}[_0x15a2d1(0x124)](_0x37d70f,_0x25bc6a,_0x50fcb6=!0x1){const _0x25e2d3=_0x15a2d1;let _0x70abb3=(0x0,_0xfca8c[_0x25e2d3(0x1b2)])([_0x37d70f['session'][_0x25e2d3(0x1e5)],_0x37d70f[_0x25e2d3(0x19e)]])[_0x25e2d3(0x1a9)](async([_0x53b699,_0x188cab])=>{const _0x5420e5=_0x25e2d3;if(_0x53b699[_0x5420e5(0x198)]===_0x11130c[_0x5420e5(0x12d)]['CHANGESET_ACK']&&(_0x188cab==null?void 0x0:_0x188cab[_0x5420e5(0x23b)])===_0x5f37e5[_0x5420e5(0x202)][_0x5420e5(0x257)]&&_0x53b699[_0x5420e5(0x1ec)][_0x5420e5(0x194)][_0x5420e5(0x14a)](_0x446902=>_0x446902['id']===_0x11130c['RevertRevisionMutation']['id'])&&await _0x25bc6a()){var _0x217b91;this['_historyManagerService'][_0x5420e5(0x134)](),_0x70abb3[_0x5420e5(0x15a)](),this[_0x5420e5(0x1be)]&&clearTimeout(this['_revertErrorTimer']),await((_0x217b91=this['_localCacheService'])==null?void 0x0:_0x217b91[_0x5420e5(0x224)]());}});_0x50fcb6&&(this[_0x25e2d3(0x1be)]=setTimeout(()=>{const _0x564490=_0x25e2d3;_0x70abb3[_0x564490(0x15a)](),this[_0x564490(0x1e8)]['show']({'content':this[_0x564490(0x22a)]['t'](_0x564490(0x21f)),'type':_0x2feaca[_0x564490(0x211)]['Error'],'duration':0xbb8});},0x1388));}async[_0x15a2d1(0x212)](_0x4f1057,_0x24bf6a){const _0xfd0934=_0x15a2d1;await this['_updateSubUnitFromURLParams'](_0x4f1057,_0x24bf6a),_0x4f1057['activeSheet$'][_0xfd0934(0x1a0)]((0x0,_0xfca8c[_0xfd0934(0x10c)])(this[_0xfd0934(0x216)]))['subscribe'](_0x56f34b=>{_0x56f34b&&this['_updateURLWithCurrentState'](_0x56f34b);}),this[_0xfd0934(0x127)][_0xfd0934(0x1ab)]['pipe']((0x0,_0xfca8c[_0xfd0934(0x10c)])(this['dispose$']))[_0xfd0934(0x1a9)](()=>this[_0xfd0934(0x13c)](_0x4f1057,_0x24bf6a));}[_0x15a2d1(0x115)](_0x2acf22,_0x49e15c=!0x1){const _0x609db5=_0x15a2d1;let _0x1488d5=this[_0x609db5(0x127)]['getParam'](_0x609db5(0x1d7));_0x2acf22[_0x609db5(0x207)]()!==_0x1488d5&&this[_0x609db5(0x127)][_0x609db5(0x1ae)](_0x609db5(0x1d7),_0x2acf22[_0x609db5(0x207)](),_0x49e15c);}async[_0x15a2d1(0x13c)](_0x5d17ec,_0x9a25ac){const _0x198419=_0x15a2d1;var _0x4b4db0;if(!_0x9a25ac||!_0x5d17ec[_0x198419(0x205)](_0x9a25ac)){let _0x10959a=_0x5d17ec[_0x198419(0x138)]()[0x0],_0x31aa23=_0x5d17ec[_0x198419(0x205)](_0x10959a);if(!_0x31aa23)return;this['_updateURLWithCurrentState'](_0x31aa23,!0x0),await this[_0x198419(0x250)][_0x198419(0x145)](_0x4e039e[_0x198419(0x1a3)]['id'],{'unitId':_0x5d17ec['getUnitId'](),'subUnitId':_0x10959a});return;}((_0x4b4db0=_0x5d17ec['getActiveSheet']())==null?void 0x0:_0x4b4db0[_0x198419(0x207)]())!==_0x9a25ac&&await this[_0x198419(0x250)][_0x198419(0x145)](_0x4e039e[_0x198419(0x1a3)]['id'],{'unitId':_0x5d17ec[_0x198419(0x1f4)](),'subUnitId':_0x9a25ac});}};_0x33294e=_0x1b6269([_0xe0d68f(0x0,_0x12090c[_0x15a2d1(0x1aa)]),_0xe0d68f(0x1,_0x28ef43[_0x15a2d1(0x126)]),_0xe0d68f(0x2,(0x0,_0x12090c[_0x15a2d1(0x25e)])(_0x28ef43['ComponentManager'])),_0xe0d68f(0x3,(0x0,_0x12090c[_0x15a2d1(0x25e)])(_0x5664ee)),_0xe0d68f(0x4,(0x0,_0x12090c[_0x15a2d1(0x25e)])(_0x12090c[_0x15a2d1(0x255)])),_0xe0d68f(0x5,_0x28ef43[_0x15a2d1(0x221)]),_0xe0d68f(0x6,(0x0,_0x12090c['Inject'])(_0x5f37e5['CollaborationController'])),_0xe0d68f(0x7,_0x5f37e5[_0x15a2d1(0x1ef)]),_0xe0d68f(0x8,(0x0,_0x12090c[_0x15a2d1(0x25e)])(_0x5f37e5[_0x15a2d1(0x10b)])),_0xe0d68f(0x9,_0x12090c[_0x15a2d1(0x170)]),_0xe0d68f(0xa,_0x4f45d9[_0x15a2d1(0x239)])],_0x33294e);let _0x341085=class extends _0x12090c['Plugin']{constructor(_0x2589a2=_0x59d7ed,_0x174ba0,_0x2b4b69){const _0x48dcf2=_0x15a2d1;super(),this[_0x48dcf2(0x129)]=_0x2589a2,this['_injector']=_0x174ba0,this[_0x48dcf2(0x1e4)]=_0x2b4b69;let {menu:_0x1024b9,..._0x387d1e}=(0x0,_0x12090c[_0x48dcf2(0x210)])({},_0x59d7ed,this['_config']);_0x1024b9&&this['_configService'][_0x48dcf2(0x222)]('menu',_0x1024b9,{'merge':!0x0}),this[_0x48dcf2(0x1e4)]['setConfig'](_0xbbabb7,_0x387d1e),this[_0x48dcf2(0x129)][_0x48dcf2(0x1bf)]&&this[_0x48dcf2(0x1e4)][_0x48dcf2(0x222)](_0x4ee5fa,this[_0x48dcf2(0x129)][_0x48dcf2(0x1bf)]);}[_0x15a2d1(0x11d)](){const _0x4c3edd=_0x15a2d1;[[_0x5664ee],[_0x33294e]][_0x4c3edd(0x1f9)](_0x63a57b=>this[_0x4c3edd(0x11b)][_0x4c3edd(0x218)](_0x63a57b));}[_0x15a2d1(0x1ee)](){this['_injector']['get'](_0x33294e);}};_0x47f855(_0x341085,_0x15a2d1(0x16a),_0x12090c[_0x15a2d1(0x230)][_0x15a2d1(0x22c)]),_0x47f855(_0x341085,'pluginName',_0x15a2d1(0x11f)),_0x47f855(_0x341085,_0x15a2d1(0x14e),_0x41aedd),_0x47f855(_0x341085,_0x15a2d1(0x18b),_0x2dc78c),_0x341085=_0x1b6269([(0x0,_0x12090c['DependentOn'])(_0x2827be['UniverLicensePlugin']),_0xe0d68f(0x1,(0x0,_0x12090c[_0x15a2d1(0x25e)])(_0x12090c[_0x15a2d1(0x1f5)])),_0xe0d68f(0x2,_0x12090c[_0x15a2d1(0x14c)])],_0x341085),_0x20db1e[_0x15a2d1(0x131)]=_0xbbabb7,Object[_0x15a2d1(0x241)](_0x20db1e,_0x15a2d1(0x199),{'enumerable':!0x0,'get':function(){return _0x5664ee;}}),Object['defineProperty'](_0x20db1e,_0x15a2d1(0x19a),{'enumerable':!0x0,'get':function(){return _0xd4d756;}}),_0x20db1e[_0x15a2d1(0x267)]=_0x32513a,_0x20db1e[_0x15a2d1(0x1cb)]=_0x4ee5fa,_0x20db1e[_0x15a2d1(0x23c)]=_0x149c55,Object[_0x15a2d1(0x241)](_0x20db1e,_0x15a2d1(0x1b0),{'enumerable':!0x0,'get':function(){return _0x56a29d;}}),Object[_0x15a2d1(0x241)](_0x20db1e,_0x15a2d1(0x162),{'enumerable':!0x0,'get':function(){return _0x341085;}});}));function _0x169d(){const _0x46c388=['mountHistoryContent','permissionId','getSheetBySheetId','UniverEditHistoryViewerMobilePlugin','getSheetId','toDisposable','xlink:href','_historyManagerService','getUnit','UniverSheetsPlugin','historyUniver','activeSheet$','BUTTON','merge','MessageType','_setupSubUnitSync','_menuManagerService','has','IPermissionService','dispose$','LS_CONFIG_KEY','add','Univer','getConfig','UniverDrawing','UniverSheetsDataValidationMobileUIPlugin','UniverProSheetsShapeUi','WorksheetEditPermission','editHistory.panel.revertFailed','ThemeService','IMessageService','setConfig','getElementById','exhaustSavingTask','attrs','show','triggerCustomVersions','trim','UniverLicensePlugin','_localeService','UniverSheetsFilter','UNIVER_UNKNOWN','UniverSheetSparklineUIPlugin','getCollabEntity','div','UniverInstanceType','RibbonStartGroup','UniverSheetsFormulaPlugin','UniverProSheetsSparkline','8352024BJwfAb','then','edit-history-loader.config','UniverSheetsFormulaUIPlugin','_permissionService','IURLService','0\x200\x2016\x2016','status','UNIVER_HISTORY_CONTAINER_ID','setLocale','editHistory.panel.reverting','symbol','random','defineProperty','height','getSheetCommandTarget','reload','M0\x200H16V16H0z','UNIVER_PROJECT','UniverDrawingPlugin','UNIVER_CONTAINER_ID','Entered','editHistory.panel.title','appendChild','UniverSheetsConditionalFormattingPlugin','svg','setTheme','default','_commandService','absolute','http://www.w3.org/2000/svg','UniverSheets','includes','LocaleService','replace','SYNCED','UniverSheetsChartUIPlugin','getAllPlugins','0.20.1','value','idSuffix','_checkCanRevert','Inject','next','triggerLoadVersions','toString','\x20has\x20been\x20registered.','fill','UniverSheetsConditionalFormattingUIPlugin','_internalWebWorker','_initPlugins','ToggleEditHistoryOperation','historyPanelHidden','Error','decorate','invoke','HistoryIcon','registerPlugin','iterator','params','entries','displayName','UniverSheetsConditionalFormattingUi','close','getActiveSheet','UniverSheetsDataValidationUIPlugin','UniverDocs','length','UniverSheetsShapePlugin','DataLoaderService','takeUntil','substring','get','_localCacheService','UniverProSheetsPivot','display','UniverCollaborationPlugin','univer-history-container-mobile','RevertRevisionMutation','_updateURLWithCurrentState','univer-container','historyUniver$','UniverSheetsFilterUIPlugin','pluginName','Workbook','_injector','UniverIcon','onStarting','WorkbookViewHistoryPermission','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','UniverEditHistoryViewerPlugin','120WiJIoM','UniverSheetsNumfmt','UniverProSheetsShape','_handleRevertAcknowledgement','_init','IMenuManagerService','_urlService','_initContainer','_config','_univerInstanceService','loadUnit','every','CollaborationEvent','UniverSheetsHyperLinkPlugin','terminate','MenuItemType','EDIT_HISTORY_LOADER_PLUGIN_CONFIG_KEY','darkMode$','UniverSheetsPivotTablePlugin','unMountHistoryContent','DisposableCollection','closeAll','_themeService','getUnhiddenWorksheets','644158LLjXVa','ComponentManager','_disposableCollection','_updateSubUnitFromURLParams','getCurrentLocale','UniverProCollaborationClientUi','width','univer.operation.exit-edit-history','UniverSheetsShapeUIPlugin','IAuthzIoService','UniverSheetsDrawing','registerCommand','executeCommand','UniverProCollaboration','path','current','UniverUi','some','composePermission','IConfigService','UniverSheetsFilterUi','packageName','_pluginMap','rxjs','call','IImageIoService','_historyUniver$','CommandType','_sidebarService','860eNPbxk','UNIVER_SLIDE','_componentManager','RangeProtectionRuleModel','unsubscribe','UniverDataValidation','UniverDrawingUIPlugin','history-icon','split','_dataLoaderService','9327ZziItZ','AuthzIoHttpService','UniverEditHistoryLoaderPlugin','UniverSheetsNumfmtPlugin','getLocales','UniverDataValidationPlugin','menu','constructor','UNIVER_DOC','values','type','6heidzB','UniverCore','UniverSheetsDataValidation','status$','Plugin','IUniverInstanceService','HistoryManagerService','UniverProEditHistoryViewer','UniverNetworkPlugin','workerURL','UniverSheetSparklinePlugin','historyListServerUrl','top','function','UniverSheetsUi','UniverSheetsDrawingPlugin','Loading','UniverRPCMainThreadPlugin','prototype','5KsfnaF','UniverRenderEnginePlugin','_collaborationController','UniverSheetsDrawingUi','toStringTag','UniverSheetsUIPlugin','UNRECOGNIZED','block','UniverDrawingUi','white','_dialogService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','disposeWithMe','version','none','UniverSheetsChartPlugin','RangeProtectionPermissionEditPoint','editHistory.panel.listFetchError','React','colorChannel1','from','children','mutations','zIndex','UniverNetwork','1192829HZBOLw','eventID','HistoryLoaderService','MobileHistoryLoaderService','UniverRpc','UniverProSheetsChart','_initUniver','state$','set','pipe','historyPanelComponentKey','WorkbookEditablePermission','SetWorksheetActivateCommand','20qSWMNz','UniverDocsUIPlugin','flat','__getInjector','UniverMobileUIPlugin','subscribe','ICommandService','urlChange$','_initListener','mergeMenu','setParam','IDialogService','UniverEditHistoryLoaderMobilePlugin','position','combineLatest','UniverEngineFormula','univerjs-icon\x20univerjs-icon-','getCurrentUnitOfType','setDarkMode','fromCollab','IRemoteInstanceService','UniverProSheetsChartUi','CHANGESET_ACK','historyAIassistantEnabled','UniverSheetsTablePlugin','5700897eErNEg','_revertErrorTimer','univerContainerId','revertRevision$','BehaviorSubject','UniverDocsPlugin','clear','getSubunitRuleList','getSheets','left','string','mask','UniverSheetsMobileUIPlugin','UniverUIPlugin','UNIVER_CONTAINER_ID_KEY','WorkbookRecoverHistoryPermission','assign','dataset','CollaborationController','register','asObservable','@univerjs-pro/edit-history-loader','UniverSheetsTable','UniverSheetsDrawingUIPlugin','UniverSheetsFilterPlugin','defIds','subunit','disposeUnit','UniverSheetsConditionalFormatting','ISidebarService','history-icon_clip0_907_281','createElement','RxDisposable','object','url(#history-icon_clip0_907_281)','amd','6918635KwPeay','url(#$1','UniverSheetsDataValidationUi','_configService','event$','tag','_selectionProtectionRuleModel','_messageService','whenReady','OPERATION','UniverFormulaEnginePlugin','data','UniverSheetsHyperLinkUIPlugin','onSteady','ILocalCacheService','Exited','location','1em','history-container','getUnitId','Injector','removeAll','style','1042237NxnutL','forEach','map','editHistory.info.initializing','100%','dispose','HistoryModeStatus','DependentOn','defs','UNIVER_SHEET','CollaborationStatus'];_0x169d=function(){return _0x46c388;};return _0x169d();}
20
+ function _0x2d8b(){const _0x1f4f5a=['history-container','RangeProtectionRuleModel','subunit','left','HistoryManagerService','UniverSheetsDataValidationUi','historyUniver$','appendChild','IPermissionService','univer-history-container','symbol','univer.operation.toggle-edit-history','UniverSheetsNumfmtPlugin','_menuManagerService','_revertErrorTimer','UniverSheetSparklineUIPlugin','getSheetBySheetId','mutations','flat','UniverSheetsDataValidationMobileUIPlugin','iterator','getUnhiddenWorksheets','historyPanelHidden','loadUnit','dataset','UniverInstanceType','editHistory.panel.reverting','ISidebarService','IURLService','_dialogService','getSheetCommandTarget','disposeUnit','UniverUi','whenReady','currentTheme$','IDialogService','RevertRevisionMutation','IMessageService','decorate','function','HistoryIcon','editHistory.info.initializing','UniverSheetsUIPlugin','UniverRenderEnginePlugin','CommandType','path','UniverCore','call','HistoryLoaderService','getElementById','UniverSheetsPlugin','white','AuthzIoHttpService','UniverSheetsFilter','_initContainer','Inject','EDIT_HISTORY_LOADER_PLUGIN_CONFIG_KEY','UniverSheetsHyperLink','UniverSheetsTablePlugin','_disposableCollection','UniverUIPlugin','xlink:href','_dataLoaderService','_localeService','RxDisposable','http://www.w3.org/2000/svg','toDisposable','_configService','UniverNetworkPlugin','3483342bCGwfP','94686fqVKGy','UNIVER_UNKNOWN','height','onSteady','urlChange$','historyListServerUrl','mountHistoryContent','UniverProCollaboration','zIndex','IUniverInstanceService','editHistory.panel.revertFailed','UniverIcon','mergeMenu','clipPath','onStarting','invoke','next','0\x200\x2016\x2016','IMenuManagerService','idSuffix','WorksheetEditPermission','from','replace','IRemoteInstanceService','M0\x200H16V16H0z','15090330EsvoVQ','eventID','_componentManager','UniverSheetsDrawingUi','_sidebarService','UNIVER_EDIT_HISTORY_LOADER_MOBILE_PLUGIN','IImageIoService','revertRevision$','entries','Loading','exports.@univerjs/core.@univerjs/sheets.@univerjs-pro/collaboration.@univerjs-pro/collaboration-client.@univerjs-pro/edit-history-viewer.@univerjs-pro/license.@univerjs-pro/sheets-chart.@univerjs-pro/sheets-chart-ui.@univerjs-pro/sheets-pivot.@univerjs-pro/sheets-shape.@univerjs-pro/sheets-shape-ui.@univerjs-pro/sheets-sparkline.@univerjs-pro/sheets-sparkline-ui.@univerjs/data-validation.@univerjs/design.@univerjs/docs.@univerjs/docs-ui.@univerjs/drawing.@univerjs/drawing-ui.@univerjs/engine-formula.@univerjs/engine-render.@univerjs/network.@univerjs/rpc.@univerjs/sheets-conditional-formatting.@univerjs/sheets-conditional-formatting-ui.@univerjs/sheets-data-validation.@univerjs/sheets-data-validation-ui.@univerjs/sheets-drawing.@univerjs/sheets-drawing-ui.@univerjs/sheets-filter.@univerjs/sheets-filter-ui.@univerjs/sheets-formula.@univerjs/sheets-formula-ui.@univerjs/sheets-hyper-link.@univerjs/sheets-hyper-link-ui.@univerjs/sheets-numfmt.@univerjs/sheets-table.@univerjs/sheets-ui.@univerjs/ui.rxjs.@univerjs-pro/collaboration-client-ui.react','BUTTON','_themeService','reload','block','div','fill','status$','clear','Exited','UniverProLicense','disposeWithMe','UniverEditHistoryViewerPlugin','UniverSheetsDataValidation','11CJrxiG','UniverSheetsShapePlugin','UniverDataValidation','attrs','UniverFormulaEnginePlugin','UniverProSheetsShapeUi','_internalWebWorker','UniverDataValidationPlugin','HistoryModeStatus','univer-container','_univerInstanceService','defIds','UniverSheetsFormulaUi','getAllPlugins','exhaustSavingTask','UniverEditHistoryLoaderPlugin','UniverSheetsDataValidationUIPlugin','UniverProEditHistoryViewer','mask','none','status','univer.operation.exit-edit-history','IConfigService','LocaleService','WorkbookRecoverHistoryPermission','workerURL','colorChannel1','BehaviorSubject','setDarkMode','takeUntil','UniverDesign','currentColor','UniverProSheetsSparkline','state$','UniverSheetsNumfmt','event$','ComponentManager','length','UNIVER_SHEET','setParam','string','MobileHistoryLoaderService','DisposableCollection','svg','UNIVER_HISTORY_CONTAINER_ID','session','0.21.0','trim','754162DoFBcm','UniverLicensePlugin','value','UniverSheetsPivotTablePlugin','position','use','140uhzACV','UniverCollaborationPlugin','getUnitId','get','UniverSheetsDrawingPlugin','forwardRef','registerPlugin','getSheets','MenuItemType','add','set','toStringTag','_permissionService','UniverSheetsDataValidationPlugin','history-icon','RibbonStartGroup','getUnit','_messageService','UniverSheetsFilterPlugin','defineProperty','getSubunitRuleList','UniverDrawingUi','object','darkMode$','SetWorksheetActivateCommand','ThemeService','terminate','getSheetId','_injector','UniverSheetsDrawingUIPlugin','\x20has\x20been\x20registered.','3523681CCRUqe','__getInjector','17349RZMZXb','UniverEngineRender','UniverSheets','RangeProtectionPermissionEditPoint','defs','uComp','React','UniverRpc','LS_CONFIG_KEY','getConfig','historyUniver','UniverProSheetsSparklineUi','UniverSheetsHyperLinkPlugin','Disposable','UniverDocsPlugin','then','edit-history-loader.config','univerContainerId','UniverSheetsFormulaPlugin','UniverProSheetsShape','rxjs','WorkbookEditablePermission','CollaborationStatus','onCommandExecuted','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','location','type','registerCommand','UniverSheetsTable','width','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','executeCommand','dispose','_localCacheService','getCollabEntity','UniverDrawingUIPlugin','editHistory.panel.listFetchError','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','OPERATION','UniverSheetsFilterUIPlugin','data','url(#$1','setLocale','UniverSheetsChartUIPlugin','merge','asObservable','every','_historyUniver$','assign','register','UniverSheetsHyperLinkUi','UniverSheetsConditionalFormattingPlugin','_checkCanRevert','toPrimitive','UniverEngineFormula','historyAIassistantEnabled','activeSheet$','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_commandService','1902320IrBBnL','CollaborationController','OTHERS','_setupSubUnitSync','getParam','UniverDrawingPlugin','tag','UniverProEditHistoryLoader','ToggleEditHistoryOperation','style','children','unMountHistoryContent','pipe','absolute','univerjs-icon\x20univerjs-icon-','getCurrentRangeDisable$','composePermission','_initUniver','DataLoaderService','_urlService','Injector','UniverSheetsFormulaUIPlugin','MessageType','show','removeAll','split','url(#history-icon_clip0_907_281)','Entered','forEach','values','history-icon_clip0_907_281','Plugin','UniverRPCMainThreadPlugin','historyPanelComponentKey','1ZACDhD','UniverProSheetsPivot','some','unsubscribe','display','UniverDocs','WorkbookViewHistoryPermission','combineLatest','setTheme','UniverProSheetsChartUi','fromCollab','_handleRevertAcknowledgement','triggerCustomVersions','_updateSubUnitFromURLParams','UniverSheetsConditionalFormatting','_updateURLWithCurrentState','current','displayName','_init','UniverDocsUIPlugin','UniverSheetsConditionalFormattingUi','Workbook','_config','IAuthzIoService','UniverSheetSparklinePlugin','createElement','UniverProCollaborationClient','[HistoryLoaderService]:\x20Plugin\x20','_initPlugins','UniverProCollaborationClientUi','permissionId','closeAll','has','dispose$','UniverSheetsChartPlugin','setConfig','close','map','getActiveSheet','menu','Error','CollaborationEvent','ILocalCacheService','100%','_collaborationController','95BWKVMc','_selectionProtectionRuleModel','Univer','@univerjs-pro/edit-history-loader','getLocales','DependentOn','UNIVER_CONTAINER_ID','UniverSheetsShapeUIPlugin','_historyManagerService','subscribe','getCurrentLocale','UniverEditHistoryViewerMobilePlugin','default','ICommandService','pluginName','UniverSheetsMobileUIPlugin','Module','constructor','_pluginMap','version'];_0x2d8b=function(){return _0x1f4f5a;};return _0x2d8b();}function _0x4d71(_0x4d7dda,_0x35036e){_0x4d7dda=_0x4d7dda-0x186;const _0x2d8bd3=_0x2d8b();let _0x4d71c1=_0x2d8bd3[_0x4d7dda];return _0x4d71c1;}(function(_0x35c80d,_0x5110f5){const _0x30cf9d=_0x4d71,_0x5e7223=_0x35c80d();while(!![]){try{const _0x1155ac=-parseInt(_0x30cf9d(0x1ac))/0x1*(parseInt(_0x30cf9d(0x294))/0x2)+-parseInt(_0x30cf9d(0x2bb))/0x3*(parseInt(_0x30cf9d(0x29a))/0x4)+parseInt(_0x30cf9d(0x1d9))/0x5*(-parseInt(_0x30cf9d(0x233))/0x6)+-parseInt(_0x30cf9d(0x2b9))/0x7+-parseInt(_0x30cf9d(0x18a))/0x8+parseInt(_0x30cf9d(0x232))/0x9+-parseInt(_0x30cf9d(0x24c))/0xa*(-parseInt(_0x30cf9d(0x264))/0xb);if(_0x1155ac===_0x5110f5)break;else _0x5e7223['push'](_0x5e7223['shift']());}catch(_0x182ab1){_0x5e7223['push'](_0x5e7223['shift']());}}}(_0x2d8b,0x43475),function(_0x1a3ff5,_0x249de5){const _0x313ee3=_0x4d71;typeof exports==_0x313ee3(0x2b0)&&typeof module<'u'?_0x249de5(exports,require(`@univerjs/core`),require(`@univerjs/sheets`),require(`@univerjs-pro/collaboration`),require(`@univerjs-pro/collaboration-client`),require(`@univerjs-pro/edit-history-viewer`),require(`@univerjs-pro/license`),require(`@univerjs-pro/sheets-chart`),require(`@univerjs-pro/sheets-chart-ui`),require(`@univerjs-pro/sheets-pivot`),require(`@univerjs-pro/sheets-shape`),require(`@univerjs-pro/sheets-shape-ui`),require(`@univerjs-pro/sheets-sparkline`),require(`@univerjs-pro/sheets-sparkline-ui`),require(`@univerjs/data-validation`),require(`@univerjs/design`),require(`@univerjs/docs`),require(`@univerjs/docs-ui`),require(`@univerjs/drawing`),require(`@univerjs/drawing-ui`),require(`@univerjs/engine-formula`),require(`@univerjs/engine-render`),require(`@univerjs/network`),require(`@univerjs/rpc`),require(`@univerjs/sheets-conditional-formatting`),require(`@univerjs/sheets-conditional-formatting-ui`),require(`@univerjs/sheets-data-validation`),require(`@univerjs/sheets-data-validation-ui`),require(`@univerjs/sheets-drawing`),require(`@univerjs/sheets-drawing-ui`),require(`@univerjs/sheets-filter`),require(`@univerjs/sheets-filter-ui`),require(`@univerjs/sheets-formula`),require(`@univerjs/sheets-formula-ui`),require(`@univerjs/sheets-hyper-link`),require(`@univerjs/sheets-hyper-link-ui`),require(`@univerjs/sheets-numfmt`),require(`@univerjs/sheets-table`),require(`@univerjs/sheets-ui`),require(`@univerjs/ui`),require(`rxjs`),require(`@univerjs-pro/collaboration-client-ui`),require(`react`)):typeof define=='function'&&define['amd']?define(_0x313ee3(0x256)[_0x313ee3(0x1a3)]('.'),_0x249de5):(_0x1a3ff5=typeof globalThis<'u'?globalThis:_0x1a3ff5||self,_0x249de5(_0x1a3ff5[_0x313ee3(0x191)]={},_0x1a3ff5[_0x313ee3(0x21b)],_0x1a3ff5[_0x313ee3(0x2bd)],_0x1a3ff5[_0x313ee3(0x23a)],_0x1a3ff5[_0x313ee3(0x1c6)],_0x1a3ff5[_0x313ee3(0x275)],_0x1a3ff5[_0x313ee3(0x260)],_0x1a3ff5['UniverProSheetsChart'],_0x1a3ff5[_0x313ee3(0x1b5)],_0x1a3ff5[_0x313ee3(0x1ad)],_0x1a3ff5[_0x313ee3(0x2ce)],_0x1a3ff5[_0x313ee3(0x269)],_0x1a3ff5[_0x313ee3(0x284)],_0x1a3ff5[_0x313ee3(0x2c6)],_0x1a3ff5[_0x313ee3(0x266)],_0x1a3ff5[_0x313ee3(0x282)],_0x1a3ff5[_0x313ee3(0x1b1)],_0x1a3ff5['UniverDocsUi'],_0x1a3ff5['UniverDrawing'],_0x1a3ff5[_0x313ee3(0x2af)],_0x1a3ff5[_0x313ee3(0x2f1)],_0x1a3ff5[_0x313ee3(0x2bc)],_0x1a3ff5['UniverNetwork'],_0x1a3ff5[_0x313ee3(0x2c2)],_0x1a3ff5[_0x313ee3(0x1ba)],_0x1a3ff5[_0x313ee3(0x1c0)],_0x1a3ff5[_0x313ee3(0x263)],_0x1a3ff5[_0x313ee3(0x1f2)],_0x1a3ff5['UniverSheetsDrawing'],_0x1a3ff5[_0x313ee3(0x24f)],_0x1a3ff5[_0x313ee3(0x222)],_0x1a3ff5['UniverSheetsFilterUi'],_0x1a3ff5['UniverSheetsFormula'],_0x1a3ff5[_0x313ee3(0x270)],_0x1a3ff5[_0x313ee3(0x226)],_0x1a3ff5[_0x313ee3(0x2ed)],_0x1a3ff5[_0x313ee3(0x286)],_0x1a3ff5[_0x313ee3(0x2d7)],_0x1a3ff5['UniverSheetsUi'],_0x1a3ff5[_0x313ee3(0x20d)],_0x1a3ff5[_0x313ee3(0x2cf)],_0x1a3ff5[_0x313ee3(0x1c9)],_0x1a3ff5[_0x313ee3(0x2c1)]));}(this,function(_0x57d9fe,_0x4941f9,_0x55dc03,_0x4d7f78,_0x56c2b9,_0x23c092,_0x21e068,_0x339a74,_0x3f61d4,_0x12aa69,_0x3873e9,_0x48caa0,_0x4905f6,_0x339b51,_0x3d65ae,_0x141d4a,_0x39adae,_0x191e0b,_0x1ecc4b,_0x2e2fd7,_0x39169a,_0x4b24ed,_0xf803b2,_0x217b9e,_0xa49623,_0x3abcdd,_0xcaeca9,_0x235b7e,_0x15f482,_0x584a9b,_0x9b82b7,_0x397bf8,_0x401347,_0x561d1e,_0x44b86d,_0x3155c5,_0x47d091,_0x263d77,_0x5ba188,_0x4e0cc1,_0x4be76c,_0x3678e9,_0x34440f){const _0x5c0478=_0x4d71;Object[_0x5c0478(0x2ad)](_0x57d9fe,Symbol[_0x5c0478(0x2a5)],{'value':_0x5c0478(0x1e9)});let _0xf36b4='edit-history-loader.config';Symbol(_0xf36b4);let _0x2ab2b7={};function _0x41eefe(_0xf5a78){'@babel/helpers - typeof';const _0x446a2d=_0x5c0478;return _0x41eefe=typeof Symbol==_0x446a2d(0x214)&&typeof Symbol[_0x446a2d(0x201)]==_0x446a2d(0x1f7)?function(_0x2335db){return typeof _0x2335db;}:function(_0x387b3f){const _0x4462fa=_0x446a2d;return _0x387b3f&&typeof Symbol==_0x4462fa(0x214)&&_0x387b3f[_0x4462fa(0x1ea)]===Symbol&&_0x387b3f!==Symbol['prototype']?_0x4462fa(0x1f7):typeof _0x387b3f;},_0x41eefe(_0xf5a78);}function _0x129a18(_0x35448b,_0x5eb7ea){const _0x4f97ed=_0x5c0478;if(_0x41eefe(_0x35448b)!=_0x4f97ed(0x2b0)||!_0x35448b)return _0x35448b;var _0xc51cab=_0x35448b[Symbol[_0x4f97ed(0x2f0)]];if(_0xc51cab!==void 0x0){var _0x20457d=_0xc51cab[_0x4f97ed(0x21c)](_0x35448b,_0x5eb7ea||_0x4f97ed(0x1e5));if(_0x41eefe(_0x20457d)!=_0x4f97ed(0x2b0))return _0x20457d;throw TypeError(_0x4f97ed(0x2d9));}return(_0x5eb7ea===_0x4f97ed(0x28c)?String:Number)(_0x35448b);}function _0x261711(_0x41880e){const _0x18909a=_0x5c0478;var _0x51f5f0=_0x129a18(_0x41880e,_0x18909a(0x28c));return _0x41eefe(_0x51f5f0)=='symbol'?_0x51f5f0:_0x51f5f0+'';}function _0x4b0516(_0x1b0324,_0x227895,_0xbfd0a1){return(_0x227895=_0x261711(_0x227895))in _0x1b0324?Object['defineProperty'](_0x1b0324,_0x227895,{'value':_0xbfd0a1,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1b0324[_0x227895]=_0xbfd0a1,_0x1b0324;}function _0xa5c874(_0x3fa3ff,_0x3640ea){return function(_0x530dc3,_0x55b413){_0x3640ea(_0x530dc3,_0x55b413,_0x3fa3ff);};}function _0x12d3bc(_0x445050,_0x4259ad,_0xb1bcc3,_0x1180e4){const _0x28b95c=_0x5c0478;var _0xe71925=arguments['length'],_0x3cd4ed=_0xe71925<0x3?_0x4259ad:_0x1180e4===null?_0x1180e4=Object['getOwnPropertyDescriptor'](_0x4259ad,_0xb1bcc3):_0x1180e4,_0x2a0afd;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x28b95c(0x214))_0x3cd4ed=Reflect[_0x28b95c(0x213)](_0x445050,_0x4259ad,_0xb1bcc3,_0x1180e4);else{for(var _0x19135d=_0x445050[_0x28b95c(0x289)]-0x1;_0x19135d>=0x0;_0x19135d--)(_0x2a0afd=_0x445050[_0x19135d])&&(_0x3cd4ed=(_0xe71925<0x3?_0x2a0afd(_0x3cd4ed):_0xe71925>0x3?_0x2a0afd(_0x4259ad,_0xb1bcc3,_0x3cd4ed):_0x2a0afd(_0x4259ad,_0xb1bcc3))||_0x3cd4ed);}return _0xe71925>0x3&&_0x3cd4ed&&Object['defineProperty'](_0x4259ad,_0xb1bcc3,_0x3cd4ed),_0x3cd4ed;}let _0xcb22c8=_0x5c0478(0x1df),_0x899ff9=_0x5c0478(0x1f6),_0x5c387d=class extends _0x4941f9['Disposable']{constructor(_0x4bc780,_0x1d02a1,_0x326b77,_0x547f96,_0x587aad,_0x549642,_0x19e568,_0x33ecb6,_0x1831c9,_0x54e666){const _0x52baff=_0x5c0478;super(),this[_0x52baff(0x22c)]=_0x4bc780,this[_0x52baff(0x26e)]=_0x1d02a1,this[_0x52baff(0x230)]=_0x326b77,this[_0x52baff(0x189)]=_0x547f96,this[_0x52baff(0x2ab)]=_0x587aad,this['_permissionService']=_0x549642,this['_selectionProtectionRuleModel']=_0x19e568,this[_0x52baff(0x20a)]=_0x33ecb6,this[_0x52baff(0x250)]=_0x1831c9,this[_0x52baff(0x258)]=_0x54e666,_0x4b0516(this,_0x52baff(0x2ea),new _0x4be76c[(_0x52baff(0x27f))](null)),_0x4b0516(this,'historyUniver$',this['_historyUniver$']['asObservable']()),_0x4b0516(this,_0x52baff(0x228),new _0x4941f9['DisposableCollection']()),_0x4b0516(this,_0x52baff(0x1eb),new Map()),_0x4b0516(this,_0x52baff(0x26a),null),this[_0x52baff(0x1be)]();}get[_0x5c0478(0x2c5)](){const _0x5968fd=_0x5c0478;return this['_historyUniver$'][_0x5968fd(0x296)];}[_0x5c0478(0x1be)](){const _0x441444=_0x5c0478;this[_0x441444(0x223)](),this['_initPlugins']();}[_0x5c0478(0x223)](){const _0x42d476=_0x5c0478;var _0x28c75e;let _0x3f97ac=(_0x28c75e=this['_configService'][_0x42d476(0x2c4)]('UNIVER_CONTAINER_ID'))==null?_0x42d476(0x26d):_0x28c75e,_0x5316f3=document[_0x42d476(0x21e)](_0x3f97ac);if(!_0x5316f3)return;let _0x2079e3=document['createElement'](_0x42d476(0x25b));_0x2079e3['id']=_0x899ff9,_0x2079e3['dataset'][_0x42d476(0x2c0)]=_0x42d476(0x1ed),_0x2079e3[_0x42d476(0x193)][_0x42d476(0x298)]=_0x42d476(0x197),_0x2079e3['style']['top']='0',_0x2079e3[_0x42d476(0x193)][_0x42d476(0x1f0)]='0',_0x2079e3[_0x42d476(0x193)]['width']=_0x42d476(0x1d7),_0x2079e3[_0x42d476(0x193)][_0x42d476(0x235)]=_0x42d476(0x1d7),_0x2079e3[_0x42d476(0x193)]['zIndex']='49',_0x2079e3[_0x42d476(0x193)][_0x42d476(0x1b0)]=_0x42d476(0x277),_0x5316f3[_0x42d476(0x1f4)](_0x2079e3);}[_0x5c0478(0x1c8)](){const _0x43a336=_0x5c0478;[[_0x4b24ed['UniverRenderEnginePlugin']],[_0x4e0cc1[_0x43a336(0x229)],{'container':_0x899ff9,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x4e0cc1[_0x43a336(0x210)],null]]}],[_0xf803b2['UniverNetworkPlugin']],[_0x1ecc4b[_0x43a336(0x18f)],{'override':[[_0x1ecc4b['IImageIoService'],null]]}],[_0x39adae[_0x43a336(0x2c9)],{'hasScroll':!0x1}],[_0x191e0b[_0x43a336(0x1bf)]],[_0x47d091['UniverSheetsNumfmtPlugin']],[_0x55dc03['UniverSheetsPlugin'],{'notExecuteFormula':!0x0}],[_0x5ba188[_0x43a336(0x217)]],[_0x401347[_0x43a336(0x2cd)]],[_0x561d1e[_0x43a336(0x19f)]],[_0x4d7f78[_0x43a336(0x29b)]],[_0x9b82b7['UniverSheetsFilterPlugin']],[_0x397bf8[_0x43a336(0x2e2)]],[_0xa49623[_0x43a336(0x2ee)]],[_0x3abcdd['UniverSheetsConditionalFormattingUIPlugin']],[_0x44b86d[_0x43a336(0x2c7)]],[_0x3155c5['UniverSheetsHyperLinkUIPlugin']],[_0x3d65ae[_0x43a336(0x26b)]],[_0xcaeca9[_0x43a336(0x2a7)]],[_0x235b7e[_0x43a336(0x274)]],[_0x39169a[_0x43a336(0x268)],{'notExecuteFormula':!0x0}],[_0x2e2fd7[_0x43a336(0x2de)]],[_0x15f482[_0x43a336(0x29e)]],[_0x584a9b[_0x43a336(0x2b7)]],[_0x4905f6[_0x43a336(0x1c4)]],[_0x339b51['UniverSheetSparklineUIPlugin']],[_0x339a74['UniverSheetsChartPlugin']],[_0x3f61d4[_0x43a336(0x2e6)]],[_0x3873e9[_0x43a336(0x265)]],[_0x48caa0['UniverSheetsShapeUIPlugin']],[_0x12aa69[_0x43a336(0x297)],{'notExecuteFormula':!0x0}],[_0x263d77[_0x43a336(0x227)]]][_0x43a336(0x1a6)](([_0x52ed43,_0x218f44])=>this[_0x43a336(0x2a0)](_0x52ed43,_0x218f44));}[_0x5c0478(0x2db)](){const _0x385e6d=_0x5c0478;super[_0x385e6d(0x2db)](),this[_0x385e6d(0x195)](),this[_0x385e6d(0x1eb)][_0x385e6d(0x25e)]();}[_0x5c0478(0x2a0)](_0x2a54b2,_0x5ed160,_0x5246a9){const _0x4bf17e=_0x5c0478;if(this[_0x4bf17e(0x1eb)][_0x4bf17e(0x1cc)](_0x2a54b2[_0x4bf17e(0x1e7)])&&!_0x5246a9)throw Error(_0x4bf17e(0x1c7)+_0x2a54b2[_0x4bf17e(0x1e7)]+_0x4bf17e(0x2b8));this[_0x4bf17e(0x1eb)]['set'](_0x2a54b2[_0x4bf17e(0x1e7)],[_0x2a54b2,_0x5ed160]);}[_0x5c0478(0x271)](){const _0x1ab94c=_0x5c0478;return Array[_0x1ab94c(0x248)](this[_0x1ab94c(0x1eb)][_0x1ab94c(0x1a7)]());}['mountHistoryContent'](_0x46909f,_0x4548f8){const _0x1b6b4a=_0x5c0478;let _0x439450=document[_0x1b6b4a(0x21e)](_0x899ff9);_0x439450&&(_0x439450[_0x1b6b4a(0x193)][_0x1b6b4a(0x1b0)]=_0x1b6b4a(0x25a),this[_0x1b6b4a(0x19b)](_0x46909f,_0x899ff9,_0x4548f8));}['unMountHistoryContent'](){const _0x57c835=_0x5c0478;var _0x5ce534;this['_disposableCollection']['dispose'](),(_0x5ce534=this[_0x57c835(0x2c5)])==null||_0x5ce534[_0x57c835(0x2db)](),this[_0x57c835(0x2ea)][_0x57c835(0x243)](null);let _0x4baa92=document[_0x57c835(0x21e)](_0x899ff9);_0x4baa92&&(_0x4baa92[_0x57c835(0x193)][_0x57c835(0x1b0)]=_0x57c835(0x277),this['_internalWebWorker']&&(this[_0x57c835(0x26a)][_0x57c835(0x2b4)](),this[_0x57c835(0x26a)]=null));}['_initUniver'](_0x1017bf,_0x9dd78c,_0x189990){const _0x405ef3=_0x5c0478;var _0x1ea5d7,_0x1877a4,_0x30e28d,_0x377b48,_0x3e8e0c;if(this[_0x405ef3(0x2c5)])return;let _0x3209a1=new _0x4941f9['Univer']({'locales':{[this[_0x405ef3(0x22c)][_0x405ef3(0x1e3)]()]:this[_0x405ef3(0x22c)][_0x405ef3(0x1dd)]()},'override':[[_0x4941f9[_0x405ef3(0x1c3)],{'useClass':_0x56c2b9[_0x405ef3(0x221)]}]]}),_0x42ddb0=_0x3209a1[_0x405ef3(0x2ba)]();this[_0x405ef3(0x261)](this[_0x405ef3(0x258)]['darkMode$'][_0x405ef3(0x1e2)](_0x305d04=>{const _0x1b8099=_0x405ef3;_0x42ddb0[_0x1b8099(0x29d)](_0x4941f9[_0x1b8099(0x2b3)])[_0x1b8099(0x280)](_0x305d04);})),this[_0x405ef3(0x261)](this[_0x405ef3(0x258)][_0x405ef3(0x20f)][_0x405ef3(0x1e2)](_0x49e4c8=>{const _0x29aae0=_0x405ef3;_0x42ddb0['get'](_0x4941f9[_0x29aae0(0x2b3)])[_0x29aae0(0x1b4)](_0x49e4c8);})),_0x42ddb0['get'](_0x4941f9[_0x405ef3(0x27b)])[_0x405ef3(0x2e5)](this[_0x405ef3(0x22c)][_0x405ef3(0x1e3)]()),_0x42ddb0['get'](_0x4941f9[_0x405ef3(0x27a)])[_0x405ef3(0x1cf)](_0x56c2b9['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY'],this[_0x405ef3(0x230)][_0x405ef3(0x2c4)](_0x56c2b9[_0x405ef3(0x188)]));let _0x21c00b=this[_0x405ef3(0x230)]['getConfig'](_0x21e068[_0x405ef3(0x2c3)]);_0x21c00b&&_0x3209a1[_0x405ef3(0x2a0)](_0x21e068['UniverLicensePlugin'],{'license':_0x21c00b['ls']});let _0x3abc57=(_0x1ea5d7=this[_0x405ef3(0x230)][_0x405ef3(0x2c4)](_0x405ef3(0x2cb)))==null?void 0x0:_0x1ea5d7[_0x405ef3(0x27d)],_0x4e309d=!!_0x3abc57;_0x4e309d&&(this[_0x405ef3(0x26a)]=_0x3abc57 instanceof Worker?_0x3abc57:null,_0x3209a1[_0x405ef3(0x2a0)](_0x217b9e[_0x405ef3(0x1aa)],{'workerURL':_0x3abc57})),this['_pluginMap'][_0x405ef3(0x1a6)](([_0x3bcf02,_0x36cafe])=>{const _0x2a3c38=_0x405ef3;_0x3209a1[_0x2a3c38(0x2a0)](_0x3bcf02,_0x36cafe);}),_0x3209a1['registerPlugin'](_0x23c092[_0x405ef3(0x262)],{'historyListServerUrl':(_0x1877a4=this[_0x405ef3(0x230)][_0x405ef3(0x2c4)]('edit-history-loader.config'))==null?void 0x0:_0x1877a4[_0x405ef3(0x238)],'historyPanelComponentKey':(_0x30e28d=this[_0x405ef3(0x230)][_0x405ef3(0x2c4)](_0x405ef3(0x2cb)))==null?void 0x0:_0x30e28d[_0x405ef3(0x1ab)],'historyPanelHidden':(_0x377b48=this[_0x405ef3(0x230)]['getConfig'](_0x405ef3(0x2cb)))==null?void 0x0:_0x377b48['historyPanelHidden'],'historyAIassistantEnabled':(_0x3e8e0c=this['_configService']['getConfig']('edit-history-loader.config'))==null?void 0x0:_0x3e8e0c[_0x405ef3(0x186)]}),_0x42ddb0['invoke'](_0x538fd4=>{this['_initListener'](_0x538fd4,_0x1017bf);}),this[_0x405ef3(0x2ea)][_0x405ef3(0x243)](_0x3209a1);let _0x5c1b43=_0x42ddb0[_0x405ef3(0x29d)](_0x23c092[_0x405ef3(0x1f1)]),_0x172f61=this[_0x405ef3(0x2ef)](_0x1017bf),_0x5461b0=()=>{const _0x548644=_0x405ef3;_0x189990?_0x5c1b43[_0x548644(0x1b8)](_0x1017bf,_0x9dd78c,_0x172f61,_0x189990):_0x5c1b43['triggerLoadVersions'](_0x1017bf,_0x9dd78c,_0x172f61);};if(this[_0x405ef3(0x2ab)][_0x405ef3(0x1a1)]({'content':this[_0x405ef3(0x22c)]['t'](_0x405ef3(0x216)),'type':_0x141d4a[_0x405ef3(0x1a0)][_0x405ef3(0x255)]}),_0x4e309d)try{_0x42ddb0['get'](_0x217b9e[_0x405ef3(0x24a)])[_0x405ef3(0x20e)]()[_0x405ef3(0x2ca)](()=>{_0x5461b0();});}catch{_0x5461b0();}else _0x5461b0();}['_initListener'](_0x215b07,_0x2e205c){const _0xc064c7=_0x5c0478;let _0x15a8b2=_0x215b07[_0xc064c7(0x29d)](_0x23c092['HistoryManagerService']);this['_disposableCollection'][_0xc064c7(0x2a3)](_0x15a8b2[_0xc064c7(0x25d)][_0xc064c7(0x1e2)](_0x3771ed=>{const _0x3afee5=_0xc064c7;switch(_0x3771ed){case _0x23c092[_0x3afee5(0x26c)]['Entered']:this[_0x3afee5(0x20a)][_0x3afee5(0x1cb)](),this[_0x3afee5(0x250)][_0x3afee5(0x1d0)]();break;case _0x23c092[_0x3afee5(0x26c)][_0x3afee5(0x25f)]:this[_0x3afee5(0x189)][_0x3afee5(0x2da)](_0x1b34e3['id']),this[_0x3afee5(0x195)]();break;case _0x23c092[_0x3afee5(0x26c)][_0x3afee5(0x1d4)]:this[_0x3afee5(0x195)](),this[_0x3afee5(0x2ab)][_0x3afee5(0x1a1)]({'content':this[_0x3afee5(0x22c)]['t'](_0x3afee5(0x2df)),'type':_0x141d4a[_0x3afee5(0x1a0)][_0x3afee5(0x1d4)],'duration':0xbb8});break;default:break;}})),this[_0xc064c7(0x228)][_0xc064c7(0x2a3)](_0x15a8b2[_0xc064c7(0x253)]['subscribe'](async _0x588e41=>{const _0x4dcd5e=_0xc064c7;_0x588e41&&this[_0x4dcd5e(0x189)]['executeCommand'](_0x4d7f78[_0x4dcd5e(0x211)]['id'],{'unitId':_0x2e205c,'revision':_0x588e41});}));}[_0x5c0478(0x2ef)](_0x4932fa){const _0x5f1b03=_0x5c0478;let _0x4eeaee=this[_0x5f1b03(0x26e)][_0x5f1b03(0x2aa)](_0x4932fa)[_0x5f1b03(0x2a1)]()['map'](_0x28a300=>_0x28a300[_0x5f1b03(0x2b5)]()),_0x139fe5=new _0x55dc03[(_0x5f1b03(0x2d0))](_0x4932fa)['id'],_0x44adb7=_0x4eeaee[_0x5f1b03(0x1d1)](_0x115906=>new _0x55dc03[(_0x5f1b03(0x247))](_0x4932fa,_0x115906)['id']),_0x19690d=_0x4eeaee['map'](_0x578ded=>this['_selectionProtectionRuleModel']['getSubunitRuleList'](_0x4932fa,_0x578ded)[_0x5f1b03(0x1d1)](_0x5b4a41=>new _0x55dc03[(_0x5f1b03(0x2be))](_0x4932fa,_0x578ded,_0x5b4a41[_0x5f1b03(0x1ca)])['id']))[_0x5f1b03(0x1ff)](),_0xab81d8=new _0x55dc03[(_0x5f1b03(0x27c))](_0x4932fa)['id'];return this[_0x5f1b03(0x2a6)][_0x5f1b03(0x19a)]([_0x139fe5,..._0x44adb7,..._0x19690d,_0xab81d8])[_0x5f1b03(0x2e9)](_0x341b20=>!!_0x341b20['value']);}};_0x5c387d=_0x12d3bc([_0xa5c874(0x0,(0x0,_0x4941f9['Inject'])(_0x4941f9[_0x5c0478(0x27b)])),_0xa5c874(0x1,_0x4941f9[_0x5c0478(0x23c)]),_0xa5c874(0x2,_0x4941f9[_0x5c0478(0x27a)]),_0xa5c874(0x3,_0x4941f9[_0x5c0478(0x1e6)]),_0xa5c874(0x4,_0x4e0cc1[_0x5c0478(0x212)]),_0xa5c874(0x5,_0x4941f9[_0x5c0478(0x1f5)]),_0xa5c874(0x6,(0x0,_0x4941f9['Inject'])(_0x55dc03[_0x5c0478(0x1ee)])),_0xa5c874(0x7,(0x0,_0x4941f9[_0x5c0478(0x224)])(_0x4e0cc1[_0x5c0478(0x210)])),_0xa5c874(0x8,(0x0,_0x4941f9['Inject'])(_0x4e0cc1[_0x5c0478(0x208)])),_0xa5c874(0x9,(0x0,_0x4941f9[_0x5c0478(0x224)])(_0x4941f9[_0x5c0478(0x2b3)]))],_0x5c387d);let _0x543923={'id':_0x5c0478(0x1f8),'type':_0x4941f9[_0x5c0478(0x219)][_0x5c0478(0x2e1)],'handler':_0x5d7097=>{const _0x5c33e9=_0x5c0478;let _0x93dae4=_0x5d7097[_0x5c33e9(0x29d)](_0x5c387d),{unitId:_0x330bf5}=(0x0,_0x55dc03[_0x5c33e9(0x20b)])(_0x5d7097['get'](_0x4941f9[_0x5c33e9(0x23c)]))||{};return _0x330bf5?(_0x93dae4[_0x5c33e9(0x239)](_0x330bf5),!0x0):!0x1;}},_0x1b34e3={'id':_0x5c0478(0x279),'type':_0x4941f9[_0x5c0478(0x219)][_0x5c0478(0x2e1)],'handler':()=>!0x0};var _0x4b4513=_0x5c0478(0x1dc),_0x394f18=_0x5c0478(0x292);function _0x793aff({ref:_0x4206be,..._0x5e99e3}){const _0x594e9a=_0x5c0478;let {icon:_0x1e0868,id:_0x3d9766,className:_0x162df1,extend:_0x1bc62a,..._0x518d7c}=_0x5e99e3,_0x2a2845=(_0x594e9a(0x198)+_0x3d9766+'\x20'+(_0x162df1||''))[_0x594e9a(0x293)](),_0x43ee20=(0x0,_0x34440f['useRef'])('_'+_0x3ffbf6());return _0x392d11(_0x1e0868,''+_0x3d9766,{'defIds':_0x1e0868[_0x594e9a(0x26f)],'idSuffix':_0x43ee20[_0x594e9a(0x1bc)]},{'ref':_0x4206be,'className':_0x2a2845,..._0x518d7c},_0x1bc62a);}function _0x392d11(_0x319e5b,_0x837c97,_0x573060,_0xe9b905,_0x35dbc4){const _0x31437e=_0x5c0478;return(0x0,_0x34440f[_0x31437e(0x1c5)])(_0x319e5b[_0x31437e(0x190)],{'key':_0x837c97,..._0x576718(_0x319e5b,_0x573060,_0x35dbc4),..._0xe9b905},(_0x26318d(_0x319e5b,_0x573060)[_0x31437e(0x194)]||[])[_0x31437e(0x1d1)]((_0x5e15b6,_0x5bddd5)=>_0x392d11(_0x5e15b6,_0x837c97+'-'+_0x319e5b['tag']+'-'+_0x5bddd5,_0x573060,void 0x0,_0x35dbc4)));}function _0x576718(_0x1cc323,_0x184862,_0x1c37b0){const _0x357016=_0x5c0478;let _0x2e3ac5={..._0x1cc323[_0x357016(0x267)]};_0x1c37b0!=null&&_0x1c37b0['colorChannel1']&&_0x2e3ac5['fill']===_0x357016(0x27e)&&(_0x2e3ac5[_0x357016(0x25c)]=_0x1c37b0[_0x357016(0x27e)]),_0x1cc323[_0x357016(0x190)]===_0x357016(0x276)&&_0x2e3ac5['id']&&(_0x2e3ac5['id']+=_0x184862[_0x357016(0x246)]),Object[_0x357016(0x254)](_0x2e3ac5)[_0x357016(0x1a6)](([_0x4e14cd,_0x36a551])=>{const _0x5652fb=_0x357016;_0x4e14cd===_0x5652fb(0x276)&&typeof _0x36a551==_0x5652fb(0x28c)&&(_0x2e3ac5[_0x4e14cd]=_0x36a551[_0x5652fb(0x249)](/url\(#(.*)\)/,'url(#$1'+_0x184862['idSuffix']+')'));});let {defIds:_0x40ede4}=_0x184862;return!_0x40ede4||_0x40ede4[_0x357016(0x289)]===0x0?_0x2e3ac5:(_0x1cc323[_0x357016(0x190)]===_0x357016(0x299)&&_0x2e3ac5[_0x357016(0x22a)]&&(_0x2e3ac5['xlink:href']+=_0x184862['idSuffix']),Object['entries'](_0x2e3ac5)['forEach'](([_0x10ca30,_0x2ce562])=>{const _0x3d6e06=_0x357016;typeof _0x2ce562==_0x3d6e06(0x28c)&&(_0x2e3ac5[_0x10ca30]=_0x2ce562[_0x3d6e06(0x249)](/url\(#(.*)\)/,_0x3d6e06(0x2e4)+_0x184862['idSuffix']+')'));}),_0x2e3ac5);}function _0x26318d(_0x3edc67,_0x5a6658){const _0x7833d=_0x5c0478;var _0x594c7a;let {defIds:_0x5b6a45}=_0x5a6658;return!_0x5b6a45||_0x5b6a45[_0x7833d(0x289)]===0x0?_0x3edc67:_0x3edc67[_0x7833d(0x190)]==='defs'&&(_0x594c7a=_0x3edc67[_0x7833d(0x194)])!=null&&_0x594c7a[_0x7833d(0x289)]?{..._0x3edc67,'children':_0x3edc67[_0x7833d(0x194)]['map'](_0x2a23db=>typeof _0x2a23db[_0x7833d(0x267)]['id']==_0x7833d(0x28c)&&_0x5b6a45&&_0x5b6a45['includes'](_0x2a23db['attrs']['id'])?{..._0x2a23db,'attrs':{..._0x2a23db[_0x7833d(0x267)],'id':_0x2a23db[_0x7833d(0x267)]['id']+_0x5a6658[_0x7833d(0x246)]}}:_0x2a23db)}:_0x3edc67;}function _0x3ffbf6(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}_0x793aff[_0x5c0478(0x1bd)]=_0x5c0478(0x23e);let _0xda8d3c={'tag':_0x5c0478(0x28f),'attrs':{'xmlns':_0x5c0478(0x22e),'fill':_0x5c0478(0x277),'viewBox':_0x5c0478(0x244),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'fill':_0x5c0478(0x283),'clipPath':_0x5c0478(0x1a4)},'children':[{'tag':_0x5c0478(0x21a),'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':_0x5c0478(0x21a),'attrs':{'d':_0x5c0478(0x2d3)}}]},{'tag':_0x5c0478(0x2bf),'attrs':{},'children':[{'tag':_0x5c0478(0x240),'attrs':{'id':_0x5c0478(0x1a8)},'children':[{'tag':_0x5c0478(0x21a),'attrs':{'fill':_0x5c0478(0x220),'d':_0x5c0478(0x24b)}}]}]}],'defIds':['history-icon_clip0_907_281']},_0x448da4=(0x0,_0x34440f[_0x5c0478(0x29f)])(function(_0x287798,_0xa19128){const _0x5aad33=_0x5c0478;return(0x0,_0x34440f[_0x5aad33(0x1c5)])(_0x793aff,Object[_0x5aad33(0x2eb)]({},_0x287798,{'id':_0x5aad33(0x2a8),'ref':_0xa19128,'icon':_0xda8d3c}));});_0x448da4[_0x5c0478(0x1bd)]=_0x5c0478(0x215);function _0x334973(_0x42d36a){const _0x2a0c5b=_0x5c0478;return{'id':_0x543923['id'],'type':_0x4e0cc1[_0x2a0c5b(0x2a2)][_0x2a0c5b(0x257)],'icon':'HistoryIcon','tooltip':'editHistory.panel.title','hidden$':(0x0,_0x4e0cc1['getMenuHiddenObservable'])(_0x42d36a,_0x4941f9[_0x2a0c5b(0x206)][_0x2a0c5b(0x28a)]),'disabled$':(0x0,_0x5ba188[_0x2a0c5b(0x199)])(_0x42d36a,{'workbookTypes':[_0x55dc03[_0x2a0c5b(0x1b2)]],'worksheetTypes':[],'rangeTypes':[]})};}let _0xf7ee2d={[_0x4e0cc1[_0x5c0478(0x2a9)][_0x5c0478(0x18c)]]:{[_0x543923['id']]:{'order':0.2,'menuItemFactory':_0x334973}}},_0x54af3a=class extends _0x4941f9[_0x5c0478(0x22d)]{constructor(_0x4e3f12,_0x3ea551,_0x37ea32,_0x10c57b,_0x2c3168,_0x51d072,_0x3eeb4d,_0x210b98,_0x47fa8f,_0x54ba0e,_0x4a1aaa){const _0x2036da=_0x5c0478;super(),this['_commandService']=_0x4e3f12,this[_0x2036da(0x1fa)]=_0x3ea551,this[_0x2036da(0x24e)]=_0x37ea32,this[_0x2036da(0x1e1)]=_0x10c57b,this[_0x2036da(0x22c)]=_0x2c3168,this['_messageService']=_0x51d072,this[_0x2036da(0x1d8)]=_0x3eeb4d,this['_localCacheService']=_0x210b98,this[_0x2036da(0x22b)]=_0x47fa8f,this['_univerInstanceService']=_0x54ba0e,this[_0x2036da(0x19d)]=_0x4a1aaa,_0x4b0516(this,_0x2036da(0x1fb),null),this[_0x2036da(0x1be)]();}['_init'](){const _0x4fd042=_0x5c0478;[_0x543923,_0x1b34e3][_0x4fd042(0x1a6)](_0x203b7f=>this[_0x4fd042(0x261)]((0x0,_0x4941f9[_0x4fd042(0x22f)])(this[_0x4fd042(0x189)][_0x4fd042(0x2d6)](_0x203b7f)))),this[_0x4fd042(0x261)](this[_0x4fd042(0x24e)][_0x4fd042(0x2ec)](_0x4fd042(0x215),_0x448da4)),this[_0x4fd042(0x1fa)][_0x4fd042(0x23f)](_0xf7ee2d),this[_0x4fd042(0x261)](this[_0x4fd042(0x189)]['onCommandExecuted'](async(_0x5a5367,_0x2b6538)=>{const _0x2584e9=_0x4fd042;if(_0x5a5367['id']===_0x4d7f78[_0x2584e9(0x211)]['id']){let {unitId:_0x218e64}=_0x5a5367['params'];this[_0x2584e9(0x2ab)][_0x2584e9(0x1a1)]({'content':this[_0x2584e9(0x22c)]['t'](_0x2584e9(0x207)),'type':_0x141d4a[_0x2584e9(0x1a0)][_0x2584e9(0x255)],'duration':0x1388});let _0x18a7a9=this[_0x2584e9(0x1d8)]['getCollabEntity'](_0x218e64);_0x2b6538!=null&&_0x2b6538['fromCollab']?this[_0x2584e9(0x1b7)](_0x18a7a9,async()=>(setTimeout(()=>window[_0x2584e9(0x2d4)][_0x2584e9(0x259)]()),!0x0),!0x0):this[_0x2584e9(0x1b7)](_0x18a7a9,async()=>{const _0x40e602=_0x2584e9;let _0x5a115e=this[_0x40e602(0x26e)]['getCurrentUnitOfType'](_0x4941f9['UniverInstanceType']['UNIVER_SHEET']),_0x58b638=_0x5a115e==null?void 0x0:_0x5a115e['getActiveSheet']();if(!_0x58b638)return!0x1;this[_0x40e602(0x26e)][_0x40e602(0x20c)](_0x218e64);let _0x3ade75=await this[_0x40e602(0x22b)][_0x40e602(0x204)](_0x218e64,_0x4941f9[_0x40e602(0x206)][_0x40e602(0x28a)]);return _0x3ade75&&_0x3ade75 instanceof _0x4941f9[_0x40e602(0x1c1)]?(await this['_setupSubUnitSync'](_0x3ade75,_0x58b638[_0x40e602(0x2b5)]()),!0x0):!0x1;});}}));}[_0x5c0478(0x1b7)](_0x418b1d,_0x40e0af,_0x413aa0=!0x1){const _0x4666c9=_0x5c0478;let _0x4f6467=(0x0,_0x4be76c[_0x4666c9(0x1b3)])([_0x418b1d[_0x4666c9(0x291)]['event$'],_0x418b1d[_0x4666c9(0x285)]])['subscribe'](async([_0x1b776c,_0x2b5b85])=>{const _0x2b0077=_0x4666c9;if(_0x1b776c[_0x2b0077(0x24d)]===_0x4d7f78[_0x2b0077(0x1d5)]['CHANGESET_ACK']&&(_0x2b5b85==null?void 0x0:_0x2b5b85[_0x2b0077(0x278)])===_0x56c2b9[_0x2b0077(0x2d1)]['SYNCED']&&_0x1b776c[_0x2b0077(0x2e3)][_0x2b0077(0x1fe)]['some'](_0x37d0bb=>_0x37d0bb['id']===_0x4d7f78[_0x2b0077(0x211)]['id'])&&await _0x40e0af()){var _0x1adc8e;this[_0x2b0077(0x1e1)][_0x2b0077(0x195)](),_0x4f6467['unsubscribe'](),this['_revertErrorTimer']&&clearTimeout(this[_0x2b0077(0x1fb)]),await((_0x1adc8e=this['_localCacheService'])==null?void 0x0:_0x1adc8e[_0x2b0077(0x272)]()),this[_0x2b0077(0x2ab)][_0x2b0077(0x1a2)]();}});_0x413aa0&&(this[_0x4666c9(0x1fb)]=setTimeout(()=>{const _0x5c08f8=_0x4666c9;_0x4f6467[_0x5c08f8(0x1af)](),this['_messageService'][_0x5c08f8(0x1a1)]({'content':this['_localeService']['t'](_0x5c08f8(0x23d)),'type':_0x141d4a[_0x5c08f8(0x1a0)][_0x5c08f8(0x1d4)],'duration':0xbb8});},0x1388));}async[_0x5c0478(0x18d)](_0x1bb53c,_0x59114d){const _0x4bf396=_0x5c0478;await this[_0x4bf396(0x1b9)](_0x1bb53c,_0x59114d),_0x1bb53c[_0x4bf396(0x187)][_0x4bf396(0x196)]((0x0,_0x4be76c[_0x4bf396(0x281)])(this['dispose$']))[_0x4bf396(0x1e2)](_0x5ae8de=>{const _0x3178b0=_0x4bf396;_0x5ae8de&&this[_0x3178b0(0x1bb)](_0x5ae8de);}),this[_0x4bf396(0x19d)][_0x4bf396(0x237)][_0x4bf396(0x196)]((0x0,_0x4be76c[_0x4bf396(0x281)])(this['dispose$']))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x1bb53c,_0x59114d));}[_0x5c0478(0x1bb)](_0x5695cd,_0x20e8c0=!0x1){const _0x588982=_0x5c0478;let _0x3b63a0=this[_0x588982(0x19d)][_0x588982(0x18e)](_0x588982(0x1ef));_0x5695cd[_0x588982(0x2b5)]()!==_0x3b63a0&&this[_0x588982(0x19d)][_0x588982(0x28b)](_0x588982(0x1ef),_0x5695cd['getSheetId'](),_0x20e8c0);}async[_0x5c0478(0x1b9)](_0xcde316,_0x221e37){const _0x3ebe2c=_0x5c0478;var _0x2a6c7b;if(!_0x221e37||!_0xcde316[_0x3ebe2c(0x1fd)](_0x221e37)){let _0x3817b0=_0xcde316[_0x3ebe2c(0x202)]()[0x0],_0x6bbe01=_0xcde316['getSheetBySheetId'](_0x3817b0);if(!_0x6bbe01)return;this[_0x3ebe2c(0x1bb)](_0x6bbe01,!0x0),await this[_0x3ebe2c(0x189)][_0x3ebe2c(0x2da)](_0x55dc03[_0x3ebe2c(0x2b2)]['id'],{'unitId':_0xcde316[_0x3ebe2c(0x29c)](),'subUnitId':_0x3817b0});return;}((_0x2a6c7b=_0xcde316[_0x3ebe2c(0x1d2)]())==null?void 0x0:_0x2a6c7b[_0x3ebe2c(0x2b5)]())!==_0x221e37&&await this[_0x3ebe2c(0x189)][_0x3ebe2c(0x2da)](_0x55dc03[_0x3ebe2c(0x2b2)]['id'],{'unitId':_0xcde316['getUnitId'](),'subUnitId':_0x221e37});}};_0x54af3a=_0x12d3bc([_0xa5c874(0x0,_0x4941f9[_0x5c0478(0x1e6)]),_0xa5c874(0x1,_0x4e0cc1[_0x5c0478(0x245)]),_0xa5c874(0x2,(0x0,_0x4941f9[_0x5c0478(0x224)])(_0x4e0cc1['ComponentManager'])),_0xa5c874(0x3,(0x0,_0x4941f9[_0x5c0478(0x224)])(_0x5c387d)),_0xa5c874(0x4,(0x0,_0x4941f9[_0x5c0478(0x224)])(_0x4941f9[_0x5c0478(0x27b)])),_0xa5c874(0x5,_0x4e0cc1[_0x5c0478(0x212)]),_0xa5c874(0x6,(0x0,_0x4941f9[_0x5c0478(0x224)])(_0x56c2b9[_0x5c0478(0x18b)])),_0xa5c874(0x7,_0x56c2b9[_0x5c0478(0x1d6)]),_0xa5c874(0x8,(0x0,_0x4941f9[_0x5c0478(0x224)])(_0x56c2b9[_0x5c0478(0x19c)])),_0xa5c874(0x9,_0x4941f9[_0x5c0478(0x23c)]),_0xa5c874(0xa,_0x3678e9[_0x5c0478(0x209)])],_0x54af3a);let _0x552cd1='univer-history-container-mobile',_0x53b120=class extends _0x4941f9[_0x5c0478(0x2c8)]{constructor(_0x441c67,_0x3f2b31,_0x2bedf2,_0x2db5a4,_0x450ae3,_0x439953,_0x14b990,_0x539826,_0x287a1e,_0x18d65e){const _0x449fe2=_0x5c0478;super(),this['_localeService']=_0x441c67,this[_0x449fe2(0x26e)]=_0x3f2b31,this[_0x449fe2(0x230)]=_0x2bedf2,this[_0x449fe2(0x189)]=_0x2db5a4,this[_0x449fe2(0x2ab)]=_0x450ae3,this[_0x449fe2(0x2a6)]=_0x439953,this[_0x449fe2(0x1da)]=_0x14b990,this[_0x449fe2(0x20a)]=_0x539826,this[_0x449fe2(0x250)]=_0x287a1e,this['_themeService']=_0x18d65e,_0x4b0516(this,_0x449fe2(0x2ea),new _0x4be76c[(_0x449fe2(0x27f))](null)),_0x4b0516(this,_0x449fe2(0x1f3),this[_0x449fe2(0x2ea)][_0x449fe2(0x2e8)]()),_0x4b0516(this,'_disposableCollection',new _0x4941f9[(_0x449fe2(0x28e))]()),_0x4b0516(this,_0x449fe2(0x1eb),new Map()),_0x4b0516(this,_0x449fe2(0x26a),null),this[_0x449fe2(0x1be)]();}get[_0x5c0478(0x2c5)](){const _0x546056=_0x5c0478;return this['_historyUniver$'][_0x546056(0x296)];}[_0x5c0478(0x1be)](){const _0x4646ac=_0x5c0478;this[_0x4646ac(0x223)](),this[_0x4646ac(0x1c8)]();}[_0x5c0478(0x223)](){const _0x359093=_0x5c0478;var _0x44fe0b;let _0x2ca183=(_0x44fe0b=this['_configService'][_0x359093(0x2c4)]('UNIVER_CONTAINER_ID'))==null?_0x359093(0x26d):_0x44fe0b,_0x18d3de=document[_0x359093(0x21e)](_0x2ca183);if(!_0x18d3de)return;let _0x1c4d01=document[_0x359093(0x1c5)]('div');_0x1c4d01['id']=_0x552cd1,_0x1c4d01[_0x359093(0x205)][_0x359093(0x2c0)]=_0x359093(0x1ed),_0x1c4d01[_0x359093(0x193)][_0x359093(0x298)]='absolute',_0x1c4d01['style']['top']='0',_0x1c4d01['style'][_0x359093(0x1f0)]='0',_0x1c4d01[_0x359093(0x193)][_0x359093(0x2d8)]='100%',_0x1c4d01['style'][_0x359093(0x235)]=_0x359093(0x1d7),_0x1c4d01[_0x359093(0x193)][_0x359093(0x23b)]='49',_0x1c4d01[_0x359093(0x193)][_0x359093(0x1b0)]='none',_0x18d3de['appendChild'](_0x1c4d01);}['_initPlugins'](){const _0x4b0bd5=_0x5c0478;[[_0x4b24ed[_0x4b0bd5(0x218)]],[_0x4e0cc1['UniverMobileUIPlugin'],{'container':_0x552cd1,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x4e0cc1['IDialogService'],null]]}],[_0xf803b2[_0x4b0bd5(0x231)]],[_0x1ecc4b[_0x4b0bd5(0x18f)],{'override':[[_0x1ecc4b[_0x4b0bd5(0x252)],null]]}],[_0x39adae[_0x4b0bd5(0x2c9)],{'hasScroll':!0x1}],[_0x191e0b[_0x4b0bd5(0x1bf)]],[_0x47d091[_0x4b0bd5(0x1f9)]],[_0x55dc03[_0x4b0bd5(0x21f)],{'notExecuteFormula':!0x0}],[_0x5ba188[_0x4b0bd5(0x1e8)]],[_0x401347[_0x4b0bd5(0x2cd)]],[_0x561d1e[_0x4b0bd5(0x19f)]],[_0x4d7f78[_0x4b0bd5(0x29b)]],[_0x9b82b7[_0x4b0bd5(0x2ac)]],[_0xa49623['UniverSheetsConditionalFormattingPlugin']],[_0x44b86d[_0x4b0bd5(0x2c7)]],[_0x3155c5['UniverSheetsHyperLinkUIPlugin']],[_0x3d65ae['UniverDataValidationPlugin']],[_0xcaeca9[_0x4b0bd5(0x2a7)]],[_0x235b7e[_0x4b0bd5(0x200)]],[_0x39169a[_0x4b0bd5(0x268)],{'notExecuteFormula':!0x0}],[_0x2e2fd7[_0x4b0bd5(0x2de)]],[_0x15f482['UniverSheetsDrawingPlugin']],[_0x584a9b['UniverSheetsDrawingUIPlugin']],[_0x4905f6['UniverSheetSparklinePlugin']],[_0x339b51[_0x4b0bd5(0x1fc)]],[_0x339a74[_0x4b0bd5(0x1ce)]],[_0x3f61d4[_0x4b0bd5(0x2e6)]],[_0x3873e9[_0x4b0bd5(0x265)]],[_0x48caa0[_0x4b0bd5(0x1e0)]],[_0x12aa69[_0x4b0bd5(0x297)],{'notExecuteFormula':!0x0}],[_0x263d77[_0x4b0bd5(0x227)]]][_0x4b0bd5(0x1a6)](([_0x5d9f19,_0x526842])=>this[_0x4b0bd5(0x2a0)](_0x5d9f19,_0x526842));}['dispose'](){const _0x467b04=_0x5c0478;super[_0x467b04(0x2db)](),this[_0x467b04(0x195)](),this[_0x467b04(0x1eb)][_0x467b04(0x25e)]();}[_0x5c0478(0x2a0)](_0xc9a931,_0x429994,_0x27a810){const _0x3486af=_0x5c0478;if(this[_0x3486af(0x1eb)][_0x3486af(0x1cc)](_0xc9a931[_0x3486af(0x1e7)])&&!_0x27a810)throw Error('[MobileHistoryLoaderService]:\x20Plugin\x20'+_0xc9a931[_0x3486af(0x1e7)]+'\x20has\x20been\x20registered.');this[_0x3486af(0x1eb)][_0x3486af(0x2a4)](_0xc9a931[_0x3486af(0x1e7)],[_0xc9a931,_0x429994]);}[_0x5c0478(0x271)](){const _0x44e911=_0x5c0478;return Array[_0x44e911(0x248)](this[_0x44e911(0x1eb)][_0x44e911(0x1a7)]());}[_0x5c0478(0x239)](_0x45866f,_0xef6be9){const _0x3b6063=_0x5c0478;let _0x276276=document['getElementById'](_0x552cd1);_0x276276&&(_0x276276['style']['display']=_0x3b6063(0x25a),this['_initUniver'](_0x45866f,_0x552cd1,_0xef6be9));}['unMountHistoryContent'](){const _0xaaca84=_0x5c0478;var _0x430e92;this[_0xaaca84(0x228)][_0xaaca84(0x2db)](),(_0x430e92=this[_0xaaca84(0x2c5)])==null||_0x430e92[_0xaaca84(0x2db)](),this[_0xaaca84(0x2ea)][_0xaaca84(0x243)](null);let _0x3143b7=document[_0xaaca84(0x21e)](_0x552cd1);_0x3143b7&&(_0x3143b7[_0xaaca84(0x193)][_0xaaca84(0x1b0)]=_0xaaca84(0x277),this[_0xaaca84(0x26a)]&&(this['_internalWebWorker'][_0xaaca84(0x2b4)](),this['_internalWebWorker']=null));}[_0x5c0478(0x19b)](_0x4245ab,_0x42f30d,_0x1c8fc4){const _0xc69799=_0x5c0478;var _0x3e724f,_0x4d9946,_0x131ef3,_0x1491d7;if(this[_0xc69799(0x2c5)])return;let _0x1b600e=new _0x4941f9[(_0xc69799(0x1db))]({'locales':{[this['_localeService'][_0xc69799(0x1e3)]()]:this[_0xc69799(0x22c)][_0xc69799(0x1dd)]()},'override':[[_0x4941f9[_0xc69799(0x1c3)],{'useClass':_0x56c2b9[_0xc69799(0x221)]}]]}),_0x50fd15=_0x1b600e[_0xc69799(0x2ba)]();this[_0xc69799(0x261)](this[_0xc69799(0x258)][_0xc69799(0x2b1)][_0xc69799(0x1e2)](_0x4a09c6=>{const _0x325ba0=_0xc69799;_0x50fd15[_0x325ba0(0x29d)](_0x4941f9[_0x325ba0(0x2b3)])[_0x325ba0(0x280)](_0x4a09c6);})),this['disposeWithMe'](this[_0xc69799(0x258)][_0xc69799(0x20f)][_0xc69799(0x1e2)](_0x5f08c5=>{const _0x32a3e1=_0xc69799;_0x50fd15[_0x32a3e1(0x29d)](_0x4941f9[_0x32a3e1(0x2b3)])['setTheme'](_0x5f08c5);})),_0x50fd15[_0xc69799(0x29d)](_0x4941f9[_0xc69799(0x27b)])[_0xc69799(0x2e5)](this[_0xc69799(0x22c)]['getCurrentLocale']()),_0x50fd15[_0xc69799(0x29d)](_0x4941f9[_0xc69799(0x27a)])[_0xc69799(0x1cf)](_0x56c2b9['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY'],this[_0xc69799(0x230)][_0xc69799(0x2c4)](_0x56c2b9['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']));let _0x1936be=this[_0xc69799(0x230)]['getConfig'](_0x21e068[_0xc69799(0x2c3)]);_0x1936be&&_0x1b600e['registerPlugin'](_0x21e068['UniverLicensePlugin'],{'license':_0x1936be['ls']});let _0x12c522=(_0x3e724f=this[_0xc69799(0x230)][_0xc69799(0x2c4)](_0xc69799(0x2cb)))==null?void 0x0:_0x3e724f[_0xc69799(0x27d)],_0x303e0a=!!_0x12c522;_0x303e0a&&(this[_0xc69799(0x26a)]=_0x12c522 instanceof Worker?_0x12c522:null,_0x1b600e[_0xc69799(0x2a0)](_0x217b9e[_0xc69799(0x1aa)],{'workerURL':_0x12c522})),this[_0xc69799(0x1eb)][_0xc69799(0x1a6)](([_0x829df1,_0x347e95])=>{_0x1b600e['registerPlugin'](_0x829df1,_0x347e95);}),_0x1b600e[_0xc69799(0x2a0)](_0x23c092[_0xc69799(0x1e4)],{'historyListServerUrl':(_0x4d9946=this[_0xc69799(0x230)][_0xc69799(0x2c4)](_0xc69799(0x2cb)))==null?void 0x0:_0x4d9946[_0xc69799(0x238)],'historyPanelComponentKey':(_0x131ef3=this[_0xc69799(0x230)]['getConfig'](_0xc69799(0x2cb)))==null?void 0x0:_0x131ef3['historyPanelComponentKey'],'historyPanelHidden':(_0x1491d7=this[_0xc69799(0x230)][_0xc69799(0x2c4)](_0xc69799(0x2cb)))==null?void 0x0:_0x1491d7[_0xc69799(0x203)]}),_0x50fd15[_0xc69799(0x242)](_0x78dae5=>{this['_initListener'](_0x78dae5,_0x4245ab);}),this[_0xc69799(0x2ea)][_0xc69799(0x243)](_0x1b600e);let _0x3beb3e=_0x50fd15[_0xc69799(0x29d)](_0x23c092['HistoryManagerService']),_0x1a059e=this[_0xc69799(0x2ef)](_0x4245ab),_0x10119a=()=>{const _0x47606c=_0xc69799;_0x1c8fc4?_0x3beb3e[_0x47606c(0x1b8)](_0x4245ab,_0x42f30d,_0x1a059e,_0x1c8fc4):_0x3beb3e['triggerLoadVersions'](_0x4245ab,_0x42f30d,_0x1a059e);};if(this[_0xc69799(0x2ab)][_0xc69799(0x1a1)]({'content':this['_localeService']['t']('editHistory.info.initializing'),'type':_0x141d4a[_0xc69799(0x1a0)][_0xc69799(0x255)]}),_0x303e0a)try{_0x50fd15[_0xc69799(0x29d)](_0x217b9e[_0xc69799(0x24a)])[_0xc69799(0x20e)]()[_0xc69799(0x2ca)](()=>{_0x10119a();});}catch{_0x10119a();}else _0x10119a();}['_initListener'](_0x3c20d8,_0x820295){const _0x30c0ed=_0x5c0478;let _0x3776fb=_0x3c20d8['get'](_0x23c092[_0x30c0ed(0x1f1)]);this[_0x30c0ed(0x228)][_0x30c0ed(0x2a3)](_0x3776fb[_0x30c0ed(0x25d)]['subscribe'](_0x5cb88d=>{const _0x37f1a6=_0x30c0ed;switch(_0x5cb88d){case _0x23c092[_0x37f1a6(0x26c)][_0x37f1a6(0x1a5)]:this[_0x37f1a6(0x20a)][_0x37f1a6(0x1cb)](),this['_sidebarService'][_0x37f1a6(0x1d0)]();break;case _0x23c092[_0x37f1a6(0x26c)]['Exited']:this[_0x37f1a6(0x189)][_0x37f1a6(0x2da)](_0x1b34e3['id']),this['unMountHistoryContent']();break;case _0x23c092['HistoryModeStatus']['Error']:this[_0x37f1a6(0x195)](),this['_messageService'][_0x37f1a6(0x1a1)]({'content':this['_localeService']['t'](_0x37f1a6(0x2df)),'type':_0x141d4a[_0x37f1a6(0x1a0)]['Error'],'duration':0xbb8});break;default:break;}})),this[_0x30c0ed(0x228)][_0x30c0ed(0x2a3)](_0x3776fb[_0x30c0ed(0x253)]['subscribe'](async _0x231920=>{const _0x11104c=_0x30c0ed;_0x231920&&this[_0x11104c(0x189)][_0x11104c(0x2da)](_0x4d7f78[_0x11104c(0x211)]['id'],{'unitId':_0x820295,'revision':_0x231920});}));}[_0x5c0478(0x2ef)](_0x4cf0d7){const _0x796687=_0x5c0478;let _0x3387ae=this[_0x796687(0x26e)]['getUnit'](_0x4cf0d7)[_0x796687(0x2a1)]()[_0x796687(0x1d1)](_0x2f9f85=>_0x2f9f85['getSheetId']()),_0x34526a=new _0x55dc03[(_0x796687(0x2d0))](_0x4cf0d7)['id'],_0x4285b9=_0x3387ae['map'](_0x1bb973=>new _0x55dc03[(_0x796687(0x247))](_0x4cf0d7,_0x1bb973)['id']),_0x45aebc=_0x3387ae[_0x796687(0x1d1)](_0x51fdd3=>this[_0x796687(0x1da)][_0x796687(0x2ae)](_0x4cf0d7,_0x51fdd3)[_0x796687(0x1d1)](_0x1c0785=>new _0x55dc03[(_0x796687(0x2be))](_0x4cf0d7,_0x51fdd3,_0x1c0785['permissionId'])['id']))['flat'](),_0x8a4ed=new _0x55dc03[(_0x796687(0x27c))](_0x4cf0d7)['id'];return this[_0x796687(0x2a6)]['composePermission']([_0x34526a,..._0x4285b9,..._0x45aebc,_0x8a4ed])['every'](_0x3c4bcd=>!!_0x3c4bcd[_0x796687(0x296)]);}};_0x53b120=_0x12d3bc([_0xa5c874(0x0,(0x0,_0x4941f9[_0x5c0478(0x224)])(_0x4941f9[_0x5c0478(0x27b)])),_0xa5c874(0x1,_0x4941f9[_0x5c0478(0x23c)]),_0xa5c874(0x2,_0x4941f9[_0x5c0478(0x27a)]),_0xa5c874(0x3,_0x4941f9[_0x5c0478(0x1e6)]),_0xa5c874(0x4,_0x4e0cc1[_0x5c0478(0x212)]),_0xa5c874(0x5,_0x4941f9[_0x5c0478(0x1f5)]),_0xa5c874(0x6,(0x0,_0x4941f9['Inject'])(_0x55dc03['RangeProtectionRuleModel'])),_0xa5c874(0x7,(0x0,_0x4941f9['Inject'])(_0x4e0cc1[_0x5c0478(0x210)])),_0xa5c874(0x8,(0x0,_0x4941f9[_0x5c0478(0x224)])(_0x4e0cc1[_0x5c0478(0x208)])),_0xa5c874(0x9,(0x0,_0x4941f9['Inject'])(_0x4941f9[_0x5c0478(0x2b3)]))],_0x53b120);let _0x51c5c7=class extends _0x4941f9[_0x5c0478(0x1a9)]{constructor(_0x22f898=_0x2ab2b7,_0x50b333,_0xbb5bd4){const _0x46ed87=_0x5c0478;super(),this['_config']=_0x22f898,this[_0x46ed87(0x2b6)]=_0x50b333,this[_0x46ed87(0x230)]=_0xbb5bd4;let {menu:_0x109ac0,..._0x5739e4}=(0x0,_0x4941f9[_0x46ed87(0x2e7)])({},_0x2ab2b7,this['_config']);_0x109ac0&&this[_0x46ed87(0x230)][_0x46ed87(0x1cf)](_0x46ed87(0x1d3),_0x109ac0,{'merge':!0x0}),this[_0x46ed87(0x230)][_0x46ed87(0x1cf)](_0xf36b4,_0x5739e4),this['_config'][_0x46ed87(0x2cc)]&&this[_0x46ed87(0x230)][_0x46ed87(0x1cf)]('UNIVER_CONTAINER_ID',this['_config']['univerContainerId']);}[_0x5c0478(0x241)](){const _0x3f8e20=_0x5c0478;[[_0x5c387d,{'useClass':_0x53b120}],[_0x54af3a]]['forEach'](_0x1f37df=>this[_0x3f8e20(0x2b6)]['add'](_0x1f37df));}[_0x5c0478(0x236)](){const _0x454c56=_0x5c0478;this[_0x454c56(0x2b6)][_0x454c56(0x29d)](_0x54af3a);}};_0x4b0516(_0x51c5c7,'type',_0x4941f9['UniverInstanceType'][_0x5c0478(0x234)]),_0x4b0516(_0x51c5c7,'pluginName',_0x5c0478(0x251)),_0x4b0516(_0x51c5c7,'packageName',_0x4b4513),_0x4b0516(_0x51c5c7,_0x5c0478(0x1ec),_0x394f18),_0x51c5c7=_0x12d3bc([(0x0,_0x4941f9[_0x5c0478(0x1de)])(_0x21e068[_0x5c0478(0x295)]),_0xa5c874(0x1,(0x0,_0x4941f9[_0x5c0478(0x224)])(_0x4941f9[_0x5c0478(0x19e)])),_0xa5c874(0x2,_0x4941f9['IConfigService'])],_0x51c5c7);let _0x5866ad=class extends _0x4941f9[_0x5c0478(0x22d)]{constructor(_0x5a3418,_0x3d54e9,_0x34890e,_0x17eba6,_0x1dd70b,_0x5c6344,_0x661120,_0x3be27e,_0x1a71c9,_0x289168,_0xcccbb6){const _0x5d247a=_0x5c0478;super(),this[_0x5d247a(0x189)]=_0x5a3418,this['_menuManagerService']=_0x3d54e9,this[_0x5d247a(0x24e)]=_0x34890e,this['_historyManagerService']=_0x17eba6,this[_0x5d247a(0x22c)]=_0x1dd70b,this[_0x5d247a(0x2ab)]=_0x5c6344,this[_0x5d247a(0x1d8)]=_0x661120,this[_0x5d247a(0x2dc)]=_0x3be27e,this[_0x5d247a(0x22b)]=_0x1a71c9,this['_univerInstanceService']=_0x289168,this[_0x5d247a(0x19d)]=_0xcccbb6,_0x4b0516(this,_0x5d247a(0x1fb),null),this[_0x5d247a(0x1be)]();}['_init'](){const _0x277646=_0x5c0478;[_0x543923,_0x1b34e3][_0x277646(0x1a6)](_0x4b1120=>this[_0x277646(0x261)]((0x0,_0x4941f9[_0x277646(0x22f)])(this[_0x277646(0x189)]['registerCommand'](_0x4b1120)))),this[_0x277646(0x261)](this['_componentManager'][_0x277646(0x2ec)](_0x277646(0x215),_0x448da4)),this[_0x277646(0x1fa)][_0x277646(0x23f)](_0xf7ee2d),this[_0x277646(0x261)](this[_0x277646(0x189)][_0x277646(0x2d2)](async(_0x94aee3,_0x50e193)=>{const _0xe19ff4=_0x277646;if(_0x94aee3['id']===_0x4d7f78[_0xe19ff4(0x211)]['id']){let {unitId:_0x428637}=_0x94aee3['params'];this[_0xe19ff4(0x2ab)][_0xe19ff4(0x1a1)]({'content':this[_0xe19ff4(0x22c)]['t'](_0xe19ff4(0x207)),'type':_0x141d4a[_0xe19ff4(0x1a0)][_0xe19ff4(0x255)],'duration':0x1388});let _0xd087af=this['_collaborationController'][_0xe19ff4(0x2dd)](_0x428637);_0x50e193!=null&&_0x50e193[_0xe19ff4(0x1b6)]?this['_handleRevertAcknowledgement'](_0xd087af,async()=>(setTimeout(()=>window[_0xe19ff4(0x2d4)]['reload']()),!0x0),!0x0):this['_handleRevertAcknowledgement'](_0xd087af,async()=>{const _0x5dada6=_0xe19ff4;let _0x245ec1=this['_univerInstanceService']['getCurrentUnitOfType'](_0x4941f9['UniverInstanceType'][_0x5dada6(0x28a)]),_0x36ab2d=_0x245ec1==null?void 0x0:_0x245ec1[_0x5dada6(0x1d2)]();if(!_0x36ab2d)return!0x1;this[_0x5dada6(0x26e)][_0x5dada6(0x20c)](_0x428637);let _0x58d48c=await this[_0x5dada6(0x22b)][_0x5dada6(0x204)](_0x428637,_0x4941f9[_0x5dada6(0x206)]['UNIVER_SHEET']);return _0x58d48c&&_0x58d48c instanceof _0x4941f9[_0x5dada6(0x1c1)]?(await this[_0x5dada6(0x18d)](_0x58d48c,_0x36ab2d['getSheetId']()),!0x0):!0x1;});}}));}[_0x5c0478(0x1b7)](_0x20e49a,_0x566245,_0x2d2cff=!0x1){const _0x5dce4=_0x5c0478;let _0x1a68b8=(0x0,_0x4be76c['combineLatest'])([_0x20e49a[_0x5dce4(0x291)][_0x5dce4(0x287)],_0x20e49a[_0x5dce4(0x285)]])[_0x5dce4(0x1e2)](async([_0x23538f,_0x6eb7b0])=>{const _0xeb3225=_0x5dce4;if(_0x23538f['eventID']===_0x4d7f78[_0xeb3225(0x1d5)]['CHANGESET_ACK']&&(_0x6eb7b0==null?void 0x0:_0x6eb7b0['status'])===_0x56c2b9[_0xeb3225(0x2d1)]['SYNCED']&&_0x23538f[_0xeb3225(0x2e3)][_0xeb3225(0x1fe)][_0xeb3225(0x1ae)](_0x5118d2=>_0x5118d2['id']===_0x4d7f78[_0xeb3225(0x211)]['id'])&&await _0x566245()){var _0x393954;this[_0xeb3225(0x1e1)][_0xeb3225(0x195)](),_0x1a68b8[_0xeb3225(0x1af)](),this[_0xeb3225(0x1fb)]&&clearTimeout(this[_0xeb3225(0x1fb)]),await((_0x393954=this[_0xeb3225(0x2dc)])==null?void 0x0:_0x393954[_0xeb3225(0x272)]());}});_0x2d2cff&&(this[_0x5dce4(0x1fb)]=setTimeout(()=>{const _0x206234=_0x5dce4;_0x1a68b8[_0x206234(0x1af)](),this[_0x206234(0x2ab)]['show']({'content':this[_0x206234(0x22c)]['t'](_0x206234(0x23d)),'type':_0x141d4a['MessageType'][_0x206234(0x1d4)],'duration':0xbb8});},0x1388));}async[_0x5c0478(0x18d)](_0x59cdbc,_0x498e47){const _0x3d314c=_0x5c0478;await this[_0x3d314c(0x1b9)](_0x59cdbc,_0x498e47),_0x59cdbc['activeSheet$'][_0x3d314c(0x196)]((0x0,_0x4be76c[_0x3d314c(0x281)])(this[_0x3d314c(0x1cd)]))[_0x3d314c(0x1e2)](_0x8ab96a=>{const _0x3a9c0a=_0x3d314c;_0x8ab96a&&this[_0x3a9c0a(0x1bb)](_0x8ab96a);}),this[_0x3d314c(0x19d)][_0x3d314c(0x237)][_0x3d314c(0x196)]((0x0,_0x4be76c[_0x3d314c(0x281)])(this[_0x3d314c(0x1cd)]))[_0x3d314c(0x1e2)](()=>this[_0x3d314c(0x1b9)](_0x59cdbc,_0x498e47));}[_0x5c0478(0x1bb)](_0x479be2,_0x26099d=!0x1){const _0x1e1670=_0x5c0478;let _0x2a0942=this[_0x1e1670(0x19d)][_0x1e1670(0x18e)](_0x1e1670(0x1ef));_0x479be2[_0x1e1670(0x2b5)]()!==_0x2a0942&&this[_0x1e1670(0x19d)]['setParam']('subunit',_0x479be2[_0x1e1670(0x2b5)](),_0x26099d);}async[_0x5c0478(0x1b9)](_0x183e08,_0x9de4b1){const _0x3dfcc5=_0x5c0478;var _0x3ecadd;if(!_0x9de4b1||!_0x183e08['getSheetBySheetId'](_0x9de4b1)){let _0x2ca281=_0x183e08['getUnhiddenWorksheets']()[0x0],_0x23b24f=_0x183e08[_0x3dfcc5(0x1fd)](_0x2ca281);if(!_0x23b24f)return;this[_0x3dfcc5(0x1bb)](_0x23b24f,!0x0),await this[_0x3dfcc5(0x189)]['executeCommand'](_0x55dc03[_0x3dfcc5(0x2b2)]['id'],{'unitId':_0x183e08['getUnitId'](),'subUnitId':_0x2ca281});return;}((_0x3ecadd=_0x183e08[_0x3dfcc5(0x1d2)]())==null?void 0x0:_0x3ecadd[_0x3dfcc5(0x2b5)]())!==_0x9de4b1&&await this[_0x3dfcc5(0x189)][_0x3dfcc5(0x2da)](_0x55dc03[_0x3dfcc5(0x2b2)]['id'],{'unitId':_0x183e08['getUnitId'](),'subUnitId':_0x9de4b1});}};_0x5866ad=_0x12d3bc([_0xa5c874(0x0,_0x4941f9[_0x5c0478(0x1e6)]),_0xa5c874(0x1,_0x4e0cc1[_0x5c0478(0x245)]),_0xa5c874(0x2,(0x0,_0x4941f9[_0x5c0478(0x224)])(_0x4e0cc1[_0x5c0478(0x288)])),_0xa5c874(0x3,(0x0,_0x4941f9[_0x5c0478(0x224)])(_0x5c387d)),_0xa5c874(0x4,(0x0,_0x4941f9[_0x5c0478(0x224)])(_0x4941f9[_0x5c0478(0x27b)])),_0xa5c874(0x5,_0x4e0cc1['IMessageService']),_0xa5c874(0x6,(0x0,_0x4941f9['Inject'])(_0x56c2b9[_0x5c0478(0x18b)])),_0xa5c874(0x7,_0x56c2b9['ILocalCacheService']),_0xa5c874(0x8,(0x0,_0x4941f9[_0x5c0478(0x224)])(_0x56c2b9[_0x5c0478(0x19c)])),_0xa5c874(0x9,_0x4941f9['IUniverInstanceService']),_0xa5c874(0xa,_0x3678e9['IURLService'])],_0x5866ad);let _0x459b1a=class extends _0x4941f9[_0x5c0478(0x1a9)]{constructor(_0x5ceb54=_0x2ab2b7,_0x2d158e,_0x1ffc60){const _0x2949a5=_0x5c0478;super(),this[_0x2949a5(0x1c2)]=_0x5ceb54,this[_0x2949a5(0x2b6)]=_0x2d158e,this[_0x2949a5(0x230)]=_0x1ffc60;let {menu:_0x2bc127,..._0x2be782}=(0x0,_0x4941f9[_0x2949a5(0x2e7)])({},_0x2ab2b7,this[_0x2949a5(0x1c2)]);_0x2bc127&&this[_0x2949a5(0x230)]['setConfig'](_0x2949a5(0x1d3),_0x2bc127,{'merge':!0x0}),this[_0x2949a5(0x230)][_0x2949a5(0x1cf)](_0xf36b4,_0x2be782),this[_0x2949a5(0x1c2)][_0x2949a5(0x2cc)]&&this[_0x2949a5(0x230)][_0x2949a5(0x1cf)](_0xcb22c8,this[_0x2949a5(0x1c2)]['univerContainerId']);}[_0x5c0478(0x241)](){const _0x5c951b=_0x5c0478;[[_0x5c387d],[_0x5866ad]]['forEach'](_0x1dbd38=>this[_0x5c951b(0x2b6)]['add'](_0x1dbd38));}[_0x5c0478(0x236)](){const _0x176e44=_0x5c0478;this[_0x176e44(0x2b6)][_0x176e44(0x29d)](_0x5866ad);}};_0x4b0516(_0x459b1a,_0x5c0478(0x2d5),_0x4941f9[_0x5c0478(0x206)]['UNIVER_UNKNOWN']),_0x4b0516(_0x459b1a,_0x5c0478(0x1e7),_0x5c0478(0x2e0)),_0x4b0516(_0x459b1a,'packageName',_0x4b4513),_0x4b0516(_0x459b1a,_0x5c0478(0x1ec),_0x394f18),_0x459b1a=_0x12d3bc([(0x0,_0x4941f9['DependentOn'])(_0x21e068[_0x5c0478(0x295)]),_0xa5c874(0x1,(0x0,_0x4941f9['Inject'])(_0x4941f9[_0x5c0478(0x19e)])),_0xa5c874(0x2,_0x4941f9[_0x5c0478(0x27a)])],_0x459b1a),_0x57d9fe[_0x5c0478(0x225)]=_0xf36b4,Object[_0x5c0478(0x2ad)](_0x57d9fe,_0x5c0478(0x21d),{'enumerable':!0x0,'get':function(){return _0x5c387d;}}),Object['defineProperty'](_0x57d9fe,_0x5c0478(0x28d),{'enumerable':!0x0,'get':function(){return _0x53b120;}}),_0x57d9fe[_0x5c0478(0x192)]=_0x543923,_0x57d9fe['UNIVER_CONTAINER_ID_KEY']=_0xcb22c8,_0x57d9fe[_0x5c0478(0x290)]=_0x899ff9,Object['defineProperty'](_0x57d9fe,'UniverEditHistoryLoaderMobilePlugin',{'enumerable':!0x0,'get':function(){return _0x51c5c7;}}),Object['defineProperty'](_0x57d9fe,_0x5c0478(0x273),{'enumerable':!0x0,'get':function(){return _0x459b1a;}});}));
21
21
 
22
22
  // index
23
23
  (function(r,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("@univerjs-pro/collaboration"),require("@univerjs-pro/collaboration-client"),require("@univerjs-pro/collaboration-client-ui"),require("@univerjs-pro/edit-history-loader"),require("@univerjs-pro/collaboration-client/lib/facade"),require("@univerjs-pro/collaboration-client-ui/lib/facade")):typeof define=="function"&&define.amd?define(["exports","@univerjs-pro/collaboration","@univerjs-pro/collaboration-client","@univerjs-pro/collaboration-client-ui","@univerjs-pro/edit-history-loader","@univerjs-pro/collaboration-client/lib/facade","@univerjs-pro/collaboration-client-ui/lib/facade"],o):(r=typeof globalThis<"u"?globalThis:r||self,o(r.UniverPresetSheetsCollaboration={},r.UniverProCollaboration,r.UniverProCollaborationClient,r.UniverProCollaborationClientUi,r.UniverProEditHistoryLoader))})(this,(function(r,o,l,t,a){"use strict";function s(n){const i=new URL(n,window.location.origin);switch(i.protocol){case"https:":i.protocol="wss:";break;case"http:":i.protocol="ws:";break}return i.toString()}function u(n={}){const{universerEndpoint:i,univerContainerId:c="app",enableOfflineEditing:p=!0,enableSingleActiveInstanceLock:v=!0,enableFrontendLog:d=!1,historyWorkerURL:b}=n,e=i!=null?i:`${window.location.protocol}//${window.location.host}`;return{plugins:[o.UniverCollaborationPlugin,[l.UniverCollaborationClientPlugin,{socketService:t.BrowserCollaborationSocketService,enableOfflineEditing:p,enableSingleActiveInstanceLock:v,enableAuthServer:!0,authzUrl:`${e}/universer-api/authz`,snapshotServerUrl:`${e}/universer-api/snapshot`,collabSubmitChangesetUrl:`${e}/universer-api/comb`,collabWebSocketUrl:s(`${e}/universer-api/comb/connect`),loginUrlKey:`${e}/universer-api/oidc/authpage`,uploadFileServerUrl:`${e}/universer-api/stream/file/upload`,signUrlServerUrl:`${e}/universer-api/file/{fileID}/sign-url`,downloadEndpointUrl:`${e}/`,wsSessionTicketUrl:`${e}/universer-api/user/session-ticket`,startFormulaLimitUrl:`${e}/universer-api/license/formula/limit/start`,getFormulaLimitStatusUrl:`${e}/universer-api/license/formula/limit/status`,releaseFormulaLimitUrl:`${e}/universer-api/license/formula/limit/done`,sendChangesetTimeout:200}],[t.UniverCollaborationClientUIPlugin,{enableFrontendLog:d}],[a.UniverEditHistoryLoaderPlugin,{univerContainerId:c,historyListServerUrl:`${e}/universer-api/history`,workerURL:b}]]}}r.UniverSheetsCollaborationPreset=u,Object.defineProperty(r,Symbol.toStringTag,{value:"Module"})}));