@univerjs-pro/collaboration-client 0.5.0-nightly.202411230627 → 0.5.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/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/umd/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function _0x3b61(_0x2010d7,_0x48a226){const _0x13077b=_0x1307();return _0x3b61=function(_0x3b612b,_0x38c7a0){_0x3b612b=_0x3b612b-0x1a3;let _0x441fb4=_0x13077b[_0x3b612b];return _0x441fb4;},_0x3b61(_0x2010d7,_0x48a226);}(function(_0x4edf1c,_0x4a0742){const _0x534b50=_0x3b61,_0x37faf6=_0x4edf1c();while(!![]){try{const _0x2ba1c5=parseInt(_0x534b50(0x4a4))/0x1*(-parseInt(_0x534b50(0x633))/0x2)+-parseInt(_0x534b50(0x366))/0x3+parseInt(_0x534b50(0x684))/0x4+-parseInt(_0x534b50(0x583))/0x5+-parseInt(_0x534b50(0x1b6))/0x6+parseInt(_0x534b50(0x490))/0x7*(parseInt(_0x534b50(0x373))/0x8)+-parseInt(_0x534b50(0x4a8))/0x9*(-parseInt(_0x534b50(0x3a1))/0xa);if(_0x2ba1c5===_0x4a0742)break;else _0x37faf6['push'](_0x37faf6['shift']());}catch(_0x3d747f){_0x37faf6['push'](_0x37faf6['shift']());}}}(_0x1307,0x362e9),function(_0x4ec4a3,_0x27ffd7){const _0x167209=_0x3b61;typeof exports==_0x167209(0x31b)&&typeof module<'u'?_0x27ffd7(exports,require('@univerjs/core'),require(_0x167209(0x300)),require('rxjs/operators'),require('@univerjs/design'),require(_0x167209(0x610)),require(_0x167209(0x67d)),require(_0x167209(0x5aa)),require('@univerjs/telemetry'),require(_0x167209(0x312)),require(_0x167209(0x242)),require(_0x167209(0x309)),require(_0x167209(0x654)),require(_0x167209(0x505)),require(_0x167209(0x4fe)),require('@univerjs/sheets-ui'),require(_0x167209(0x1fe)),require(_0x167209(0x51c))):typeof define=='function'&&define[_0x167209(0x3fc)]?define(['exports','@univerjs/core',_0x167209(0x300),_0x167209(0x669),_0x167209(0x65c),_0x167209(0x610),_0x167209(0x67d),'@univerjs-pro/collaboration',_0x167209(0x47e),'@univerjs/docs',_0x167209(0x242),_0x167209(0x309),_0x167209(0x654),_0x167209(0x505),_0x167209(0x4fe),_0x167209(0x1a7),'react',_0x167209(0x51c)],_0x27ffd7):(_0x4ec4a3=typeof globalThis<'u'?globalThis:_0x4ec4a3||self,_0x27ffd7(_0x4ec4a3[_0x167209(0x4c9)]={},_0x4ec4a3[_0x167209(0x328)],_0x4ec4a3[_0x167209(0x300)],_0x4ec4a3['rxjs'][_0x167209(0x406)],_0x4ec4a3[_0x167209(0x410)],_0x4ec4a3[_0x167209(0x29a)],_0x4ec4a3['UniverUi'],_0x4ec4a3['UniverProCollaboration'],_0x4ec4a3['UniverTelemetry'],_0x4ec4a3[_0x167209(0x659)],_0x4ec4a3[_0x167209(0x641)],_0x4ec4a3[_0x167209(0x648)],_0x4ec4a3[_0x167209(0x404)],_0x4ec4a3[_0x167209(0x2ca)],_0x4ec4a3['UniverEngineFormula'],_0x4ec4a3[_0x167209(0x582)],_0x4ec4a3[_0x167209(0x5f0)],_0x4ec4a3[_0x167209(0x4db)]));}(this,function(_0x1acb6c,_0x3c69d6,_0x5c0235,_0x9ccac9,_0x5bf787,_0x331a12,_0x396190,_0x596d96,_0x2dae9e,_0x17eaec,_0xae8966,_0xcc5ca1,_0x3ee1ce,_0x3e3268,_0x4bb4b3,_0x27084d,_0x2bccb4,_0x387591){'use strict';const _0x40190f=_0x3b61;var _0x25fb77=Object['defineProperty'],_0x4426ad=(_0x313365,_0x1421d0,_0x54bfdb)=>_0x1421d0 in _0x313365?_0x25fb77(_0x313365,_0x1421d0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54bfdb}):_0x313365[_0x1421d0]=_0x54bfdb,_0x2a7d69=(_0xd24c62,_0x505164,_0x50b1ed)=>_0x4426ad(_0xd24c62,typeof _0x505164!=_0x40190f(0x3c7)?_0x505164+'':_0x505164,_0x50b1ed);const _0x5e5cbf='SNAPSHOT_SERVER_URL_KEY',_0x4f5c87=_0x40190f(0x64c),_0xb3deae=_0x40190f(0x45a),_0x1af468=_0x40190f(0x446),_0x2adbde='COLLAB_WEB_SOCKET_URL',_0x53dc7a=_0x40190f(0x333),_0x3757c1=_0x40190f(0x52d),_0x379cbf=_0x40190f(0x2e7),_0x18ccd8=_0x40190f(0x33a),_0x408152=_0x40190f(0x4d7),_0x58bc93='LOCAL_CACHE_INTERVAL',_0x3e4a3c=_0x40190f(0x3c2),_0x48661c=_0x40190f(0x42c),_0x4bcfbc=_0x40190f(0x315),_0x15b098=_0x40190f(0x478);var _0x307369=(_0x5110d8=>(_0x5110d8[_0x5110d8['UNDEFINED']=0x0]=_0x40190f(0x22d),_0x5110d8[_0x5110d8['OK']=0x1]='OK',_0x5110d8[_0x5110d8[_0x40190f(0x5b5)]=0x2]=_0x40190f(0x5b5),_0x5110d8[_0x5110d8['PERMISSION_DENIED']=0x3]=_0x40190f(0x57b),_0x5110d8[_0x5110d8['NOT_FOUND']=0x4]=_0x40190f(0x331),_0x5110d8[_0x5110d8[_0x40190f(0x277)]=0x5]='UNAUTHENTICATED',_0x5110d8[_0x5110d8['ALREADY_EXISTS']=0x6]=_0x40190f(0x4de),_0x5110d8[_0x5110d8[_0x40190f(0x566)]=0x7]=_0x40190f(0x566),_0x5110d8[_0x5110d8[_0x40190f(0x638)]=0x8]='TOO_MANY_REQUESTS',_0x5110d8[_0x5110d8[_0x40190f(0x2f2)]=0x9]=_0x40190f(0x2f2),_0x5110d8[_0x5110d8[_0x40190f(0x246)]=0x1389]=_0x40190f(0x246),_0x5110d8[_0x5110d8[_0x40190f(0x36d)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5110d8[_0x5110d8[_0x40190f(0x2ae)]=0x1772]=_0x40190f(0x2ae),_0x5110d8[_0x5110d8[_0x40190f(0x1f3)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5110d8[_0x5110d8[_0x40190f(0x68a)]=0x1b59]=_0x40190f(0x68a),_0x5110d8[_0x5110d8[_0x40190f(0x5ac)]=0x1b5a]=_0x40190f(0x5ac),_0x5110d8[_0x5110d8[_0x40190f(0x1c0)]=0x1b5b]=_0x40190f(0x1c0),_0x5110d8[_0x5110d8['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x40190f(0x3c9),_0x5110d8[_0x5110d8[_0x40190f(0x4ba)]=0x1b5d]='APPLY_DUPLICATED',_0x5110d8[_0x5110d8[_0x40190f(0x3d1)]=0x1f41]=_0x40190f(0x3d1),_0x5110d8[_0x5110d8[_0x40190f(0x24a)]=0x2329]=_0x40190f(0x24a),_0x5110d8[_0x5110d8[_0x40190f(0x349)]=0x232a]=_0x40190f(0x349),_0x5110d8[_0x5110d8[_0x40190f(0x55a)]=0x232b]=_0x40190f(0x55a),_0x5110d8[_0x5110d8[_0x40190f(0x202)]=0x232c]=_0x40190f(0x202),_0x5110d8[_0x5110d8[_0x40190f(0x320)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5110d8[_0x5110d8[_0x40190f(0x1ed)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5110d8[_0x5110d8[_0x40190f(0x2b8)]=0x2712]=_0x40190f(0x2b8),_0x5110d8[_0x5110d8[_0x40190f(0x544)]=0x2713]=_0x40190f(0x544),_0x5110d8[_0x5110d8[_0x40190f(0x427)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5110d8[_0x5110d8['UNRECOGNIZED']=-0x1]=_0x40190f(0x2c4),_0x5110d8))(_0x307369||{}),_0x10bfce=(_0x20a5ff=>(_0x20a5ff[_0x20a5ff[_0x40190f(0x4c2)]=0x0]=_0x40190f(0x4c2),_0x20a5ff[_0x20a5ff[_0x40190f(0x2cb)]=0x1]='UNIVER_DOC',_0x20a5ff[_0x20a5ff[_0x40190f(0x3e2)]=0x2]='UNIVER_SHEET',_0x20a5ff[_0x20a5ff['UNIVER_SLIDE']=0x3]=_0x40190f(0x655),_0x20a5ff[_0x20a5ff['UNIVER_PROJECT']=0x4]=_0x40190f(0x389),_0x20a5ff[_0x20a5ff[_0x40190f(0x2c4)]=-0x1]=_0x40190f(0x2c4),_0x20a5ff))(_0x10bfce||{}),_0x17dc17=(_0x1dc012=>(_0x1dc012[_0x1dc012['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x1dc012[_0x1dc012[_0x40190f(0x21e)]=0x1]=_0x40190f(0x21e),_0x1dc012[_0x1dc012[_0x40190f(0x3a5)]=0x2]=_0x40190f(0x3a5),_0x1dc012[_0x1dc012[_0x40190f(0x5cf)]=0x3]='LEAVE',_0x1dc012[_0x1dc012['INGEST']=0x4]=_0x40190f(0x58a),_0x1dc012[_0x1dc012[_0x40190f(0x2d0)]=0x5]='HEARTBEAT',_0x1dc012[_0x1dc012['RECV']=0x6]=_0x40190f(0x65b),_0x1dc012[_0x1dc012[_0x40190f(0x2c4)]=-0x1]=_0x40190f(0x2c4),_0x1dc012))(_0x17dc17||{}),_0x23d920=(_0x50de57=>(_0x50de57[_0x50de57[_0x40190f(0x640)]=0x0]=_0x40190f(0x640),_0x50de57[_0x50de57['OK']=0x1]='OK',_0x50de57[_0x50de57['FAIL']=0x2]=_0x40190f(0x3e4),_0x50de57[_0x50de57[_0x40190f(0x5ed)]=0x3e9]=_0x40190f(0x5ed),_0x50de57[_0x50de57[_0x40190f(0x2d3)]=0x3ea]=_0x40190f(0x2d3),_0x50de57[_0x50de57[_0x40190f(0x2c4)]=-0x1]='UNRECOGNIZED',_0x50de57))(_0x23d920||{}),_0xd54f4c=(_0x44d3b1=>(_0x44d3b1[_0x44d3b1[_0x40190f(0x1c3)]=0x0]='Undefined',_0x44d3b1[_0x44d3b1[_0x40190f(0x4ee)]=0x1]=_0x40190f(0x4ee),_0x44d3b1[_0x44d3b1[_0x40190f(0x30b)]=0x2]=_0x40190f(0x30b),_0x44d3b1[_0x44d3b1[_0x40190f(0x286)]=0x3]=_0x40190f(0x286),_0x44d3b1[_0x44d3b1[_0x40190f(0x308)]=0x4]=_0x40190f(0x308),_0x44d3b1[_0x44d3b1[_0x40190f(0x2c4)]=-0x1]=_0x40190f(0x2c4),_0x44d3b1))(_0xd54f4c||{});const _0x347aa1='collaboration-client.config',_0x19f6df={};function _0x1b3f74(_0x4d1956){const _0x2b506a=_0x40190f;var _0x165328,_0x341358,_0xa8d73,_0xcf174a,_0x5237af;const _0x403afd=_0x4d1956[_0x2b506a(0x45c)],_0x4af4db=JSON[_0x2b506a(0x338)](_0x403afd);switch(_0x4af4db[_0x2b506a(0x36c)]){case _0x17dc17['HEARTBEAT']:case _0x17dc17[_0x2b506a(0x21e)]:{const _0x21e9e7=_0x4af4db[_0x2b506a(0x5ef)];return{..._0x4af4db,'data':_0x21e9e7,'cmd':_0x4af4db['cmd']};}case _0x17dc17['JOIN']:{const _0x27d11e=_0x4af4db[_0x2b506a(0x53d)];return{..._0x4af4db,'data':_0x27d11e,'cmd':_0x4af4db[_0x2b506a(0x36c)]};}case _0x17dc17[_0x2b506a(0x65b)]:{const _0x5c3fa8=_0x4af4db[_0x2b506a(0x64d)];switch(_0x5c3fa8['eventID']){case _0x596d96['CollaborationEvent']['PERMISSION_REJ']:return{..._0x4af4db,'data':{..._0x5c3fa8,'data':(_0x165328=_0x5c3fa8['permissionRejEvent'])==null?void 0x0:_0x165328['cs']},'cmd':_0x4af4db[_0x2b506a(0x36c)]};case _0x596d96[_0x2b506a(0x376)][_0x2b506a(0x5c2)]:return{..._0x4af4db,'data':{..._0x5c3fa8,'data':(_0x341358=_0x5c3fa8[_0x2b506a(0x4ff)])==null?void 0x0:_0x341358['cs']},'cmd':_0x4af4db[_0x2b506a(0x36c)]};case _0x596d96['CollaborationEvent'][_0x2b506a(0x34f)]:return{..._0x4af4db,'data':{..._0x5c3fa8,'data':(_0xa8d73=_0x5c3fa8['newCsEvent'])==null?void 0x0:_0xa8d73['cs']},'cmd':_0x4af4db[_0x2b506a(0x36c)]};case _0x596d96['CollaborationEvent'][_0x2b506a(0x2e1)]:return{..._0x4af4db,'data':{..._0x5c3fa8,'data':(_0xcf174a=_0x5c3fa8['csRejEvent'])==null?void 0x0:_0xcf174a['cs']},'cmd':_0x4af4db[_0x2b506a(0x36c)]};case _0x596d96[_0x2b506a(0x376)][_0x2b506a(0x50d)]:return{..._0x4af4db,'data':{..._0x5c3fa8,'data':(_0x5237af=_0x5c3fa8['csShouldRetryEvent'])==null?void 0x0:_0x5237af['cs']},'cmd':_0x4af4db[_0x2b506a(0x36c)]};case _0x596d96['CollaborationEvent'][_0x2b506a(0x44b)]:return{..._0x4af4db,'data':{..._0x5c3fa8,'data':_0x5c3fa8[_0x2b506a(0x485)]},'cmd':_0x4af4db[_0x2b506a(0x36c)]};case _0x596d96[_0x2b506a(0x376)][_0x2b506a(0x541)]:return{..._0x4af4db,'data':{..._0x5c3fa8,'data':_0x5c3fa8[_0x2b506a(0x4e7)]},'cmd':_0x4af4db[_0x2b506a(0x36c)]};case _0x596d96[_0x2b506a(0x376)][_0x2b506a(0x1f2)]:return{..._0x4af4db,'data':{..._0x5c3fa8,'data':_0x5c3fa8[_0x2b506a(0x4a6)]},'cmd':_0x4af4db['cmd']};case _0x596d96[_0x2b506a(0x376)]['LIVESHARE_NEW_HOST']:return{..._0x4af4db,'data':{..._0x5c3fa8,'data':_0x5c3fa8[_0x2b506a(0x3d4)]},'cmd':_0x4af4db[_0x2b506a(0x36c)]};case _0x596d96[_0x2b506a(0x376)]['LIVESHARE_FETCH_OPERATIONS']:case _0x596d96[_0x2b506a(0x376)][_0x2b506a(0x1b5)]:return{..._0x4af4db,'data':{..._0x5c3fa8,'data':_0x5c3fa8[_0x2b506a(0x2ef)]},'cmd':_0x4af4db['cmd']};case _0x596d96[_0x2b506a(0x376)][_0x2b506a(0x635)]:return{..._0x4af4db,'data':{..._0x5c3fa8,'data':_0x5c3fa8[_0x2b506a(0x3d4)]},'cmd':_0x4af4db['cmd']};case _0x596d96['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0x4af4db,'data':_0x5c3fa8,'cmd':_0x4af4db[_0x2b506a(0x36c)]};case _0x596d96[_0x2b506a(0x376)][_0x2b506a(0x29f)]:return{..._0x4af4db,'data':{..._0x5c3fa8,'data':_0x5c3fa8[_0x2b506a(0x683)]},'cmd':_0x4af4db[_0x2b506a(0x36c)]};case _0x596d96[_0x2b506a(0x376)][_0x2b506a(0x3f0)]:return{..._0x4af4db,'data':{..._0x5c3fa8,'data':_0x5c3fa8['updatePermissionObjEvent']},'cmd':_0x4af4db['cmd']};case _0x596d96[_0x2b506a(0x376)][_0x2b506a(0x510)]:return{..._0x4af4db,'data':{..._0x5c3fa8,'data':_0x5c3fa8[_0x2b506a(0x3bd)]},'cmd':_0x4af4db[_0x2b506a(0x36c)]};default:return _0x4af4db;}}default:return _0x4af4db;}}function _0x109cd1(_0x3602c9){const _0x14fa15=_0x40190f;switch(_0x3602c9['cmd']){case _0x17dc17[_0x14fa15(0x2d0)]:case _0x17dc17[_0x14fa15(0x21e)]:return JSON[_0x14fa15(0x22b)]({'cmd':_0x3602c9[_0x14fa15(0x36c)],'routeKey':_0x3602c9[_0x14fa15(0x284)]});case _0x17dc17[_0x14fa15(0x58a)]:{let _0x15462c;switch(_0x3602c9[_0x14fa15(0x45c)][_0x14fa15(0x2e8)]){case _0x596d96['CollaborationEvent'][_0x14fa15(0x44b)]:{_0x15462c={'eventID':_0x596d96['CollaborationEvent'][_0x14fa15(0x44b)],'updateCursorEvent':_0x3602c9[_0x14fa15(0x45c)][_0x14fa15(0x45c)]};break;}case _0x596d96[_0x14fa15(0x376)][_0x14fa15(0x1f2)]:{_0x15462c={'eventID':_0x596d96[_0x14fa15(0x376)][_0x14fa15(0x1f2)],'leaveEvent':_0x3602c9[_0x14fa15(0x45c)][_0x14fa15(0x45c)]};break;}case _0x596d96[_0x14fa15(0x376)]['USERS_ENTER']:{_0x15462c={'eventID':_0x596d96[_0x14fa15(0x376)][_0x14fa15(0x541)],'joinEvent':_0x3602c9['data'][_0x14fa15(0x45c)]};break;}case _0x596d96[_0x14fa15(0x376)][_0x14fa15(0x38f)]:{_0x15462c={'eventID':_0x596d96[_0x14fa15(0x376)][_0x14fa15(0x38f)],'liveShareNewHost':_0x3602c9[_0x14fa15(0x45c)][_0x14fa15(0x45c)]};break;}case _0x596d96['CollaborationEvent'][_0x14fa15(0x1b5)]:{_0x15462c={'eventID':_0x596d96[_0x14fa15(0x376)][_0x14fa15(0x1b5)],'liveShareOperation':_0x3602c9[_0x14fa15(0x45c)][_0x14fa15(0x45c)]};break;}case _0x596d96[_0x14fa15(0x376)]['LIVESHARE_TERMINATE']:{_0x15462c={'eventID':_0x596d96[_0x14fa15(0x376)][_0x14fa15(0x635)],'liveShareTerminate':_0x3602c9['data'][_0x14fa15(0x45c)]};break;}case _0x596d96[_0x14fa15(0x376)][_0x14fa15(0x662)]:{_0x15462c={'eventID':_0x596d96['CollaborationEvent'][_0x14fa15(0x662)],'liveShareRequestHost':_0x3602c9[_0x14fa15(0x45c)]['data']};break;}case _0x596d96['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0x15462c={'eventID':_0x596d96[_0x14fa15(0x376)][_0x14fa15(0x2a4)]};break;}default:_0x15462c={'eventID':_0x3602c9[_0x14fa15(0x45c)][_0x14fa15(0x2e8)]};}return JSON['stringify']({'cmd':_0x3602c9[_0x14fa15(0x36c)],'routeKey':_0x3602c9[_0x14fa15(0x284)],'collaMsg':_0x15462c});}case _0x17dc17['JOIN']:return JSON[_0x14fa15(0x22b)]({'cmd':_0x3602c9[_0x14fa15(0x36c)],'routeKey':_0x3602c9[_0x14fa15(0x284)],'joinReq':_0x3602c9[_0x14fa15(0x45c)]});case _0x17dc17[_0x14fa15(0x5cf)]:return JSON[_0x14fa15(0x22b)]({'cmd':_0x3602c9[_0x14fa15(0x36c)],'routeKey':_0x3602c9[_0x14fa15(0x284)],'leaveReq':_0x3602c9['data']});default:throw new Error(_0x14fa15(0x543));}}var _0x353d3e=Object['defineProperty'],_0x4384b8=Object[_0x40190f(0x42f)],_0x8a3924=(_0x4e7f65,_0x92d906,_0x1ece29,_0xf0149b)=>{for(var _0x17d475=_0xf0149b>0x1?void 0x0:_0xf0149b?_0x4384b8(_0x92d906,_0x1ece29):_0x92d906,_0x3feb5f=_0x4e7f65['length']-0x1,_0x578718;_0x3feb5f>=0x0;_0x3feb5f--)(_0x578718=_0x4e7f65[_0x3feb5f])&&(_0x17d475=(_0xf0149b?_0x578718(_0x92d906,_0x1ece29,_0x17d475):_0x578718(_0x17d475))||_0x17d475);return _0xf0149b&&_0x17d475&&_0x353d3e(_0x92d906,_0x1ece29,_0x17d475),_0x17d475;},_0x2b4dc6=(_0x436893,_0x270b83)=>(_0x4204d4,_0x5b3f86)=>_0x270b83(_0x4204d4,_0x5b3f86,_0x436893);const _0x1f1de2=_0x3c69d6['createIdentifier'](_0x40190f(0x41a));function _0x2d70fb(_0x43e590,_0x5858d8,_0x48b797){const _0x570549=_0x40190f;return _0x43e590+'/'+_0x5858d8+'/unit/'+_0x48b797+_0x570549(0x3f4);}_0x1acb6c[_0x40190f(0x313)]=class extends _0x3c69d6[_0x40190f(0x55f)]{constructor(_0x16a4d8,_0x158832,_0x2989e8,_0x501774,_0x45f77c){const _0x4abc8e=_0x40190f;super(),this['_http']=_0x16a4d8,this[_0x4abc8e(0x383)]=_0x158832,this[_0x4abc8e(0x61b)]=_0x2989e8,this['_logService']=_0x501774,this[_0x4abc8e(0x20a)]=_0x45f77c;}[_0x40190f(0x4a5)](_0x54526d){const _0xb89ac7=_0x40190f,_0x128f24=this[_0xb89ac7(0x383)][_0xb89ac7(0x4a5)](_0x54526d);if(!_0x128f24)throw new Error(_0xb89ac7(0x1a9));const _0x4fb092=new _0x3c69d6[(_0xb89ac7(0x25a))](),_0x3e1b66=new _0x5c0235[(_0xb89ac7(0x39d))]();_0x4fb092[_0xb89ac7(0x206)](_0x128f24[_0xb89ac7(0x3c6)][_0xb89ac7(0x556)](_0x324360=>_0x3e1b66[_0xb89ac7(0x231)](_0x324360))),_0x4fb092[_0xb89ac7(0x206)](_0x3c69d6['toDisposable'](()=>_0x3e1b66[_0xb89ac7(0x585)]()));const _0x627b9=new _0x5c0235[(_0xb89ac7(0x39d))]();_0x4fb092['add'](_0x128f24[_0xb89ac7(0x47f)][_0xb89ac7(0x556)](_0x18f614=>_0x627b9[_0xb89ac7(0x231)](_0x18f614))),_0x4fb092[_0xb89ac7(0x206)](_0x3c69d6['toDisposable'](()=>_0x627b9[_0xb89ac7(0x585)]()));const _0x15e55e=new _0x5c0235['Subject']();_0x4fb092[_0xb89ac7(0x206)](_0x128f24[_0xb89ac7(0x2e5)][_0xb89ac7(0x556)](_0x2aff65=>{const _0x10a4d3=_0xb89ac7,_0x1a90ed=_0x1b3f74(_0x2aff65);_0x15e55e[_0x10a4d3(0x231)](_0x1a90ed);})),_0x4fb092[_0xb89ac7(0x206)](_0x3c69d6[_0xb89ac7(0x43b)](()=>_0x15e55e['complete']()));let _0x3be021;const _0x4be404=()=>{const _0x18a87b=_0xb89ac7;_0x627b9[_0x18a87b(0x231)](new Event('connection\x20error')),_0x3e1b66[_0x18a87b(0x231)](new CloseEvent(_0x18a87b(0x555))),_0x3be021['close']();};return _0x3be021={'memberID':'','close$':_0x3e1b66[_0xb89ac7(0x60c)](),'error$':_0x627b9[_0xb89ac7(0x60c)](),'open$':_0x128f24['open$'],'message$':_0x15e55e[_0xb89ac7(0x60c)](),'send':_0x50cca6=>{const _0x347174=_0xb89ac7;if(_0x50cca6[_0x347174(0x36c)]===_0x17dc17[_0x347174(0x58a)]){if(_0x50cca6['data'][_0x347174(0x2e8)]===_0x596d96[_0x347174(0x376)][_0x347174(0x3de)]){this[_0x347174(0x60a)](_0x3be021,_0x50cca6['data'])[_0x347174(0x545)](_0x27b20b=>{const _0x432873=_0x347174;this['_logService'][_0x432873(0x337)](_0x27b20b),_0x4be404();});return;}if(_0x50cca6['data'][_0x347174(0x2e8)]===_0x596d96[_0x347174(0x376)]['FETCH_MISSING']){const _0x307d36=_0x50cca6[_0x347174(0x45c)];this[_0x347174(0x63c)](_0x307d36)[_0x347174(0x54a)](_0x5cad93=>{const _0x4a427c=_0x347174;_0x15e55e[_0x4a427c(0x231)]({'cmd':_0x17dc17[_0x4a427c(0x65b)],'code':_0x23d920['OK'],'routeKey':_0x307d36[_0x4a427c(0x45c)]['unitID'],'routeType':'','data':{'eventID':_0x596d96[_0x4a427c(0x376)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x5cad93}}});})[_0x347174(0x545)](_0x4446ce=>{const _0x7b7418=_0x347174;this['_logService'][_0x7b7418(0x337)](_0x4446ce),_0x4be404();});return;}}_0x128f24[_0x347174(0x35f)](_0x109cd1(_0x50cca6));},'close':()=>{const _0x400626=_0xb89ac7;_0x128f24[_0x400626(0x261)](),_0x4fb092[_0x400626(0x1ec)]();}},_0x3be021;}async['_submitChangeset'](_0x348d8d,_0x2d8d4e){const _0x170ddf=_0x40190f;var _0x3a224f,_0x45e7e3;const {unitType:_0x4e3fc4,unitID:_0x595a8a,changeset:_0x3f6f64}=_0x2d8d4e[_0x170ddf(0x45c)],_0x5e4be6={'unitID':_0x595a8a,'memberID':_0x348d8d[_0x170ddf(0x262)],'type':_0x4e3fc4,'changeset':_0x596d96[_0x170ddf(0x24d)](_0x3f6f64)},_0x436775=this[_0x170ddf(0x61b)][_0x170ddf(0x2df)](_0x3e4a3c),_0x3ef76c=this[_0x170ddf(0x61b)]['getConfig'](_0x347aa1),_0x504653=_0x2d70fb((_0x45e7e3=(_0x3a224f=_0x3ef76c==null?void 0x0:_0x3ef76c[_0x170ddf(0x535)])!=null?_0x3a224f:_0x436775)!=null?_0x45e7e3:_0x48661c,_0x4e3fc4,_0x595a8a);try{await this[_0x170ddf(0x59c)][_0x170ddf(0x1b9)](_0x504653,{'body':_0x5e4be6});}catch(_0xbbfb83){throw this[_0x170ddf(0x58b)][_0x170ddf(0x337)](_0x170ddf(0x1c6),_0x170ddf(0x4f4)),_0xbbfb83;}}async[_0x40190f(0x63c)](_0x41fed1){const _0x31dca0=_0x40190f,{unitID:_0x506526,from:_0xe0ca6c,to:_0x18eb38,unitType:_0x50a39f}=_0x41fed1[_0x31dca0(0x45c)];return(await this[_0x31dca0(0x20a)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x506526,'type':_0x50a39f,'from':_0xe0ca6c,'to':_0x18eb38}))[_0x31dca0(0x2c6)];}},_0x1acb6c[_0x40190f(0x313)]=_0x8a3924([_0x2b4dc6(0x0,_0x3c69d6[_0x40190f(0x22f)](_0x331a12['HTTPService'])),_0x2b4dc6(0x1,_0x3c69d6[_0x40190f(0x22f)](_0x331a12['WebSocketService'])),_0x2b4dc6(0x2,_0x3c69d6[_0x40190f(0x3c5)]),_0x2b4dc6(0x3,_0x3c69d6[_0x40190f(0x53f)]),_0x2b4dc6(0x4,_0x596d96['ISnapshotServerService'])],_0x1acb6c['CollaborationSocketService']);const _0x47fc2a=_0x40190f(0x5d0);function _0x31ed7a(_0x28f05f){const _0x398ba5=_0x40190f;return JSON[_0x398ba5(0x22b)](_0x28f05f)[_0x398ba5(0x642)];}class _0x4815a9{constructor(){const _0xa9b682=_0x40190f;_0x2a7d69(this,_0xa9b682(0x275),new _0x5c0235[(_0xa9b682(0x39d))]()),_0x2a7d69(this,'commentUpdate$',this[_0xa9b682(0x275)][_0xa9b682(0x60c)]());}[_0x40190f(0x516)](_0x3de202){const _0x31e97f=_0x40190f;this[_0x31e97f(0x275)]['next'](_0x3de202);}}var _0xd7487f=Object[_0x40190f(0x1aa)],_0x57d2c5=Object[_0x40190f(0x42f)],_0x42ada5=(_0x8d2cda,_0x547663,_0x7eb4c,_0x531709)=>{for(var _0x555de5=_0x531709>0x1?void 0x0:_0x531709?_0x57d2c5(_0x547663,_0x7eb4c):_0x547663,_0x19c6cc=_0x8d2cda['length']-0x1,_0x54492d;_0x19c6cc>=0x0;_0x19c6cc--)(_0x54492d=_0x8d2cda[_0x19c6cc])&&(_0x555de5=(_0x531709?_0x54492d(_0x547663,_0x7eb4c,_0x555de5):_0x54492d(_0x555de5))||_0x555de5);return _0x531709&&_0x555de5&&_0xd7487f(_0x547663,_0x7eb4c,_0x555de5),_0x555de5;},_0x2329a4=(_0x2f52c0,_0x123bd4)=>(_0x30db11,_0x2393e1)=>_0x123bd4(_0x30db11,_0x2393e1,_0x2f52c0);_0x1acb6c[_0x40190f(0x476)]=class extends _0x3c69d6[_0x40190f(0x55f)]{constructor(_0x14d63d,_0x33cdd7){const _0x5bc099=_0x40190f;super(),_0x2a7d69(this,'_roomMembers',new Map()),(this[_0x5bc099(0x557)]=_0x14d63d,this['_userManagerService']=_0x33cdd7,this[_0x5bc099(0x4fb)](_0x3c69d6['toDisposable'](_0x5c0235[_0x5bc099(0x65a)](this[_0x5bc099(0x557)]['getTypeOfUnitDisposed$'](_0x3c69d6['UniverInstanceType'][_0x5bc099(0x3e2)])['pipe'](_0x9ccac9[_0x5bc099(0x479)](_0x566691=>_0x566691[_0x5bc099(0x283)]())),this[_0x5bc099(0x557)][_0x5bc099(0x5c0)](_0x3c69d6['UniverInstanceType'][_0x5bc099(0x2cb)])[_0x5bc099(0x38c)](_0x9ccac9[_0x5bc099(0x479)](_0x2e1f5e=>_0x2e1f5e[_0x5bc099(0x283)]())),this['_univerInstanceService'][_0x5bc099(0x5c0)](_0x3c69d6[_0x5bc099(0x359)][_0x5bc099(0x655)])[_0x5bc099(0x38c)](_0x9ccac9[_0x5bc099(0x479)](_0x3ef12c=>_0x3ef12c[_0x5bc099(0x283)]())))[_0x5bc099(0x556)](_0x2290ee=>this[_0x5bc099(0x538)](_0x2290ee)))));}[_0x40190f(0x299)](_0x1d6878){const _0x372598=_0x40190f;this[_0x372598(0x3c1)][_0x372598(0x299)](_0x1d6878);}[_0x40190f(0x453)](){const _0x2beb4a=_0x40190f;return this[_0x2beb4a(0x3c1)][_0x2beb4a(0x453)]();}[_0x40190f(0x1bf)](_0x390a8b,_0xe350b){const _0x28e030=_0x40190f;let _0x5085be=this['_roomMembers']['get'](_0x390a8b);_0x5085be||(_0x5085be=new _0x294c52(),this[_0x28e030(0x1e0)][_0x28e030(0x2e4)](_0x390a8b,_0x5085be)),_0x5085be[_0x28e030(0x1bf)](_0xe350b);}['removeMember'](_0x24a263,_0x35bcfe){const _0x4981b3=_0x40190f,_0x1c0001=this[_0x4981b3(0x1e0)][_0x4981b3(0x27c)](_0x24a263);_0x1c0001&&_0x1c0001[_0x4981b3(0x317)](_0x35bcfe);}['getRoom'](_0x305db0){const _0x3ca387=_0x40190f;return this[_0x3ca387(0x1e0)][_0x3ca387(0x27c)](_0x305db0);}[_0x40190f(0x4f7)](_0x205f08,_0x6f3933){const _0x48d58c=_0x40190f,_0xabad73=this[_0x48d58c(0x1e0)][_0x48d58c(0x27c)](_0x205f08);if(_0xabad73)return _0xabad73[_0x48d58c(0x4f7)](_0x6f3933);}['_removeRoom'](_0x36b5d7){const _0x413c4a=_0x40190f,_0x2e5132=this[_0x413c4a(0x1e0)][_0x413c4a(0x27c)](_0x36b5d7);_0x2e5132&&(_0x2e5132['dispose'](),this[_0x413c4a(0x1e0)]['delete'](_0x36b5d7));}[_0x40190f(0x1ec)](){const _0x11782f=_0x40190f;this[_0x11782f(0x1e0)][_0x11782f(0x39f)](_0x38d0a6=>_0x38d0a6[_0x11782f(0x1ec)]()),this[_0x11782f(0x1e0)][_0x11782f(0x612)]();}},_0x1acb6c['MemberService']=_0x42ada5([_0x2329a4(0x0,_0x3c69d6[_0x40190f(0x2f8)]),_0x2329a4(0x1,_0x3c69d6['Inject'](_0x3c69d6['UserManagerService']))],_0x1acb6c[_0x40190f(0x476)]);class _0x294c52 extends _0x3c69d6[_0x40190f(0x55f)]{constructor(){const _0x237134=_0x40190f;super(...arguments),_0x2a7d69(this,_0x237134(0x686),new Map());}[_0x40190f(0x1ec)](){const _0x16a228=_0x40190f;this['_members'][_0x16a228(0x612)]();}[_0x40190f(0x1bf)](_0x27f16c){const _0x1f531d=_0x40190f;this[_0x1f531d(0x686)][_0x1f531d(0x2e4)](_0x27f16c[_0x1f531d(0x262)],_0x27f16c);}[_0x40190f(0x317)](_0x3bc61d){const _0x3825f9=_0x40190f;this[_0x3825f9(0x686)][_0x3825f9(0x3fb)](_0x3bc61d);}[_0x40190f(0x4f7)](_0x39cf73){const _0x23a1d5=_0x40190f;return this[_0x23a1d5(0x686)]['get'](_0x39cf73);}['getAllMembers'](){const _0x18acca=_0x40190f;return Array[_0x18acca(0x601)](this[_0x18acca(0x686)][_0x18acca(0x361)]());}}var _0x3a21f7=Object[_0x40190f(0x1aa)],_0x318f17=Object[_0x40190f(0x42f)],_0x473abc=(_0x20368c,_0x1c4ea7,_0x39dbe2,_0x2ff778)=>{const _0x436863=_0x40190f;for(var _0x199437=_0x2ff778>0x1?void 0x0:_0x2ff778?_0x318f17(_0x1c4ea7,_0x39dbe2):_0x1c4ea7,_0xc268cd=_0x20368c[_0x436863(0x642)]-0x1,_0x2a3e3e;_0xc268cd>=0x0;_0xc268cd--)(_0x2a3e3e=_0x20368c[_0xc268cd])&&(_0x199437=(_0x2ff778?_0x2a3e3e(_0x1c4ea7,_0x39dbe2,_0x199437):_0x2a3e3e(_0x199437))||_0x199437);return _0x2ff778&&_0x199437&&_0x3a21f7(_0x1c4ea7,_0x39dbe2,_0x199437),_0x199437;},_0x4dbf3e=(_0x503f9f,_0x3d90c6)=>(_0x2ca5fa,_0x35effd)=>_0x3d90c6(_0x2ca5fa,_0x35effd,_0x503f9f),_0x440368=(_0x2a19a8=>(_0x2a19a8[_0x2a19a8[_0x40190f(0x574)]=0x0]=_0x40190f(0x574),_0x2a19a8[_0x2a19a8[_0x40190f(0x5f8)]=0x1]=_0x40190f(0x5f8),_0x2a19a8[_0x2a19a8[_0x40190f(0x24e)]=0x2]=_0x40190f(0x24e),_0x2a19a8[_0x2a19a8['ONLINE']=0x3]=_0x40190f(0x4b2),_0x2a19a8))(_0x440368||{});_0x1acb6c['CollaborationSession']=class extends _0x3c69d6['RxDisposable']{constructor(_0x2a4e19,_0x4d44d7,_0x3c7c4d,_0xc6b3b8,_0x35a9be,_0xdabaee,_0x264bff,_0x3ff432,_0x40874b,_0x30c0b6){const _0x3e4b43=_0x40190f;super(),_0x2a7d69(this,'_sessionStatus$',new _0x5c0235[(_0x3e4b43(0x45b))](0x0)),_0x2a7d69(this,_0x3e4b43(0x2d6),this[_0x3e4b43(0x5d8)][_0x3e4b43(0x60c)]()),_0x2a7d69(this,_0x3e4b43(0x487),new _0x5c0235['Subject']()),_0x2a7d69(this,_0x3e4b43(0x1be),this[_0x3e4b43(0x487)][_0x3e4b43(0x60c)]()),_0x2a7d69(this,'_socket'),_0x2a7d69(this,'_socketMessageSubscription'),_0x2a7d69(this,_0x3e4b43(0x329)),_0x2a7d69(this,_0x3e4b43(0x1ae),!0x1),_0x2a7d69(this,_0x3e4b43(0x5a4),null),(this[_0x3e4b43(0x314)]=_0x2a4e19,this[_0x3e4b43(0x58b)]=_0x3c7c4d,this[_0x3e4b43(0x3ee)]=_0xc6b3b8,this['_messageService']=_0x35a9be,this[_0x3e4b43(0x61b)]=_0xdabaee,this[_0x3e4b43(0x41e)]=_0x264bff,this[_0x3e4b43(0x31f)]=_0x3ff432,this[_0x3e4b43(0x670)]=_0x40874b,this[_0x3e4b43(0x21a)]=_0x30c0b6,this[_0x3e4b43(0x1ae)]=!!this[_0x3e4b43(0x21a)],_0x4d44d7[_0x3e4b43(0x38c)](_0x5c0235[_0x3e4b43(0x4ad)](this[_0x3e4b43(0x33f)]))[_0x3e4b43(0x556)](_0x117ad2=>{const _0x178035=_0x3e4b43;var _0x156f35;typeof _0x117ad2>'u'||(this['_socket']=_0x117ad2,_0x117ad2?(this[_0x178035(0x323)](_0x117ad2),this[_0x178035(0x2ac)]=_0x117ad2['message$'][_0x178035(0x556)](_0x2d8891=>{const _0x17cec1=_0x178035;_0x2d8891[_0x17cec1(0x284)]===this['_unitID']&&this['_onCombEvent'](_0x2d8891);})):(this[_0x178035(0x23c)](),this[_0x178035(0x5d8)][_0x178035(0x231)](0x2),(_0x156f35=this[_0x178035(0x2ac)])==null||_0x156f35['unsubscribe'](),this[_0x178035(0x2ac)]=null));}),this[_0x3e4b43(0x4fb)](this[_0x3e4b43(0x3ee)][_0x3e4b43(0x3d0)](()=>{const _0x38ccc6=_0x3e4b43;var _0x4baad9;(_0x4baad9=this['_socket'])==null||_0x4baad9[_0x38ccc6(0x35f)]({'cmd':_0x17dc17['LEAVE'],'data':{'roomID':this[_0x38ccc6(0x314)]}});})));}get[_0x40190f(0x614)](){const _0x2dc03d=_0x40190f;return this['_sessionStatus$'][_0x2dc03d(0x625)]();}[_0x40190f(0x576)](){const _0xc4b6ee=_0x40190f;var _0x53885d,_0x5363e9;return(_0x5363e9=(_0x53885d=this[_0xc4b6ee(0x2ce)])==null?void 0x0:_0x53885d[_0xc4b6ee(0x262)])!=null?_0x5363e9:null;}[_0x40190f(0x1ec)](){const _0x394936=_0x40190f;super[_0x394936(0x1ec)](),this['dispose$'][_0x394936(0x231)](),this[_0x394936(0x33f)][_0x394936(0x585)]();}['close'](){const _0x433f3b=_0x40190f;var _0x53d9ea,_0x29a7f9;this['_throwTelemetryCollaborationNewChangeset'](),(_0x53d9ea=this['_socket'])==null||_0x53d9ea[_0x433f3b(0x35f)]({'cmd':_0x17dc17[_0x433f3b(0x5cf)],'data':{'roomID':this[_0x433f3b(0x314)]}}),(_0x29a7f9=this[_0x433f3b(0x2ce)])==null||_0x29a7f9[_0x433f3b(0x261)](),this[_0x433f3b(0x487)][_0x433f3b(0x585)](),this[_0x433f3b(0x5d8)][_0x433f3b(0x585)](),this[_0x433f3b(0x1ec)]();}['_onCombEvent'](_0x2b2662){const _0xfd742d=_0x40190f;_0x2b2662['cmd']===_0x17dc17[_0xfd742d(0x3a5)]?this['_onJoinRoomEvent'](_0x2b2662):_0x2b2662['cmd']===_0x17dc17['RECV']&&this[_0xfd742d(0x2a1)](_0x2b2662);}[_0x40190f(0x323)](_0x3bca0b){const _0x1a8dbe=_0x40190f;this['_sessionStatus$']['next'](0x1),_0x3bca0b[_0x1a8dbe(0x35f)]({'cmd':_0x17dc17[_0x1a8dbe(0x3a5)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x1a8dbe(0x314)]}]}});}[_0x40190f(0x482)](_0x206af2){const _0x4e019e=_0x40190f;var _0x48d38f;if(_0x206af2[_0x4e019e(0x64f)]===_0x23d920[_0x4e019e(0x3e4)]){this['_messageService'][_0x4e019e(0x3fe)]({'type':_0x5bf787[_0x4e019e(0x3e9)][_0x4e019e(0x1cc)],'content':this['_localeService']['t']('session.room-full')}),this[_0x4e019e(0x5d8)][_0x4e019e(0x231)](0x2);return;}this[_0x4e019e(0x5d8)][_0x4e019e(0x231)](0x3);const _0x41654c=(_0x48d38f=_0x206af2[_0x4e019e(0x45c)][_0x4e019e(0x2dd)][this[_0x4e019e(0x314)]])==null?void 0x0:_0x48d38f[_0x4e019e(0x481)];_0x41654c&&_0x41654c[_0x4e019e(0x39f)](_0x133699=>this[_0x4e019e(0x31f)][_0x4e019e(0x1bf)](this[_0x4e019e(0x314)],_0x133699));}[_0x40190f(0x2a1)](_0x46139f){const _0xd27f7=_0x40190f;try{const _0x1a09c6=_0x46139f[_0xd27f7(0x45c)];switch(_0x1a09c6[_0xd27f7(0x2e8)]){case _0x596d96[_0xd27f7(0x376)][_0xd27f7(0x541)]:this['_onUserJoin'](_0x1a09c6),this['_event$'][_0xd27f7(0x231)](_0x1a09c6);break;case _0x596d96[_0xd27f7(0x376)]['USERS_LEAVE']:this[_0xd27f7(0x5c5)](_0x1a09c6),this['_event$'][_0xd27f7(0x231)](_0x1a09c6);break;case _0x596d96[_0xd27f7(0x376)][_0xd27f7(0x5c2)]:case _0x596d96[_0xd27f7(0x376)][_0xd27f7(0x50d)]:this[_0xd27f7(0x365)](),this[_0xd27f7(0x56c)](),this[_0xd27f7(0x487)][_0xd27f7(0x231)](_0x1a09c6);break;case _0x596d96[_0xd27f7(0x376)][_0xd27f7(0x636)]:this[_0xd27f7(0x58b)][_0xd27f7(0x337)]('save\x20fail\x20reason\x20is\x20'+JSON[_0xd27f7(0x22b)](_0x1a09c6)),this[_0xd27f7(0x487)][_0xd27f7(0x231)](_0x1a09c6);break;case _0x596d96[_0xd27f7(0x376)][_0xd27f7(0x29f)]:this[_0xd27f7(0x670)][_0xd27f7(0x516)](_0x1a09c6['data']),this[_0xd27f7(0x487)]['next'](_0x1a09c6);break;default:this['_event$'][_0xd27f7(0x231)](_0x1a09c6);}}catch(_0x1a0b08){this[_0xd27f7(0x58b)][_0xd27f7(0x337)](_0x1a0b08,_0x46139f);}}[_0x40190f(0x4e4)](_0xd1ad54){const _0x479a3c=_0x40190f;this[_0x479a3c(0x31f)][_0x479a3c(0x1bf)](this[_0x479a3c(0x314)],_0xd1ad54[_0x479a3c(0x45c)]);}[_0x40190f(0x5c5)](_0x157a38){const _0x4e729a=_0x40190f;this[_0x4e729a(0x31f)][_0x4e729a(0x317)](this['_unitID'],_0x157a38[_0x4e729a(0x45c)]['memberID']);}async[_0x40190f(0x35f)](_0x2a3d28,_0x545553){const _0x179a0b=_0x40190f;if(this[_0x179a0b(0x614)]!==0x3||!this[_0x179a0b(0x2ce)])throw new Error(_0x179a0b(0x2af));try{_0x2a3d28[_0x179a0b(0x2e8)]===_0x596d96['CollaborationEvent'][_0x179a0b(0x3de)]&&(this[_0x179a0b(0x5e8)](),this[_0x179a0b(0x2a9)](_0x2a3d28)),this['_socket'][_0x179a0b(0x35f)]({'cmd':_0x17dc17[_0x179a0b(0x58a)],'routeKey':_0x545553,'routeType':'','data':_0x2a3d28});}catch(_0x2cd83b){this['_logService'][_0x179a0b(0x337)](_0x2cd83b);}}[_0x40190f(0x5e8)](){const _0x2cbdd2=_0x40190f;var _0x91d18e;this[_0x2cbdd2(0x329)]=window[_0x2cbdd2(0x360)](()=>{const _0x5839da=_0x2cbdd2;this[_0x5839da(0x329)]=null,this[_0x5839da(0x5ae)]['show']({'type':_0x5bf787[_0x5839da(0x3e9)][_0x5839da(0x4af)],'content':this[_0x5839da(0x41e)]['t'](_0x5839da(0x1a6))});},(_0x91d18e=this[_0x2cbdd2(0x61b)][_0x2cbdd2(0x2df)](_0x18ccd8))!=null?_0x91d18e:0x4e20);}[_0x40190f(0x56c)](){const _0x36a425=_0x40190f;this[_0x36a425(0x329)]&&(clearTimeout(this[_0x36a425(0x329)]),this[_0x36a425(0x329)]=null);}[_0x40190f(0x2a9)](_0x253ec7){const _0x1e1766=_0x40190f;if(!this[_0x1e1766(0x1ae)])return;const {data:_0x12c523}=_0x253ec7,{unitID:_0x467b70,changeset:_0x1a3c10}=_0x12c523,{mutations:_0x2a3a5e,type:_0x3a14ff}=_0x1a3c10;this['_telemetryInfo']={'unitId':_0x467b70,'type':_0x3a14ff,'startTime':performance[_0x1e1766(0x288)](),'stopTime':0x0,'duration':0x0,'size':_0x31ed7a(_0x2a3a5e)};}[_0x40190f(0x365)](){const _0xd0d3de=_0x40190f;if(this['_shouldReportTelemetry']){if(!this[_0xd0d3de(0x5a4)]){this['_logService'][_0xd0d3de(0x337)](_0xd0d3de(0x1c6),_0xd0d3de(0x3e3));return;}this[_0xd0d3de(0x5a4)]['stopTime']=performance[_0xd0d3de(0x288)](),this[_0xd0d3de(0x5a4)][_0xd0d3de(0x274)]=this[_0xd0d3de(0x5a4)][_0xd0d3de(0x203)]-this[_0xd0d3de(0x5a4)]['startTime'],this[_0xd0d3de(0x21a)][_0xd0d3de(0x1f5)](_0x47fc2a,this[_0xd0d3de(0x5a4)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x56b33a=_0x40190f;this[_0x56b33a(0x5a4)]=null;}},_0x1acb6c['CollaborationSession']=_0x473abc([_0x4dbf3e(0x2,_0x3c69d6['ILogService']),_0x4dbf3e(0x3,_0x396190['IBeforeCloseService']),_0x4dbf3e(0x4,_0x396190[_0x40190f(0x24b)]),_0x4dbf3e(0x5,_0x3c69d6[_0x40190f(0x3c5)]),_0x4dbf3e(0x6,_0x3c69d6[_0x40190f(0x22f)](_0x3c69d6[_0x40190f(0x600)])),_0x4dbf3e(0x7,_0x3c69d6[_0x40190f(0x22f)](_0x1acb6c[_0x40190f(0x476)])),_0x4dbf3e(0x8,_0x3c69d6['Inject'](_0x4815a9)),_0x4dbf3e(0x9,_0x3c69d6[_0x40190f(0x1e2)](_0x2dae9e['ITelemetryService']))],_0x1acb6c['CollaborationSession']);var _0x490968=Object[_0x40190f(0x1aa)],_0x3a96e=Object[_0x40190f(0x42f)],_0x464da6=(_0x5253bb,_0x1065fe,_0x38e4b7,_0x562b53)=>{for(var _0x59e84c=_0x562b53>0x1?void 0x0:_0x562b53?_0x3a96e(_0x1065fe,_0x38e4b7):_0x1065fe,_0x5b4567=_0x5253bb['length']-0x1,_0x5cd8cc;_0x5b4567>=0x0;_0x5b4567--)(_0x5cd8cc=_0x5253bb[_0x5b4567])&&(_0x59e84c=(_0x562b53?_0x5cd8cc(_0x1065fe,_0x38e4b7,_0x59e84c):_0x5cd8cc(_0x59e84c))||_0x59e84c);return _0x562b53&&_0x59e84c&&_0x490968(_0x1065fe,_0x38e4b7,_0x59e84c),_0x59e84c;},_0xe32c89=(_0x270f74,_0x1e23b8)=>(_0x5e9f60,_0x39c38f)=>_0x1e23b8(_0x5e9f60,_0x39c38f,_0x270f74);_0x1acb6c['CollaborationSessionService']=class extends _0x3c69d6['Disposable']{constructor(_0x3d8c9e,_0x11f128,_0x5ac423,_0x4fc3e4,_0xc681c2,_0x4cece2,_0x581e7e){const _0x44e4df=_0x40190f;super(),_0x2a7d69(this,_0x44e4df(0x1ef),new _0x5c0235[(_0x44e4df(0x45b))](void 0x0)),_0x2a7d69(this,'socket$',this[_0x44e4df(0x1ef)]['asObservable']()),_0x2a7d69(this,'_candidateSocket',null),_0x2a7d69(this,_0x44e4df(0x2f1),new Map()),_0x2a7d69(this,_0x44e4df(0x225),new _0x5c0235[(_0x44e4df(0x45b))](_0x440368[_0x44e4df(0x574)])),_0x2a7d69(this,'status$',this['_status$'][_0x44e4df(0x60c)]()),_0x2a7d69(this,'_socketReady',!0x1),_0x2a7d69(this,_0x44e4df(0x1f7)),_0x2a7d69(this,_0x44e4df(0x3f1),0x0),_0x2a7d69(this,_0x44e4df(0x21d)),_0x2a7d69(this,_0x44e4df(0x518)),(this[_0x44e4df(0x685)]=_0x3d8c9e,this[_0x44e4df(0x41e)]=_0x11f128,this[_0x44e4df(0x5ae)]=_0x5ac423,this[_0x44e4df(0x58b)]=_0x4fc3e4,this[_0x44e4df(0x61b)]=_0xc681c2,this[_0x44e4df(0x1d0)]=_0x4cece2,this[_0x44e4df(0x48b)]=_0x581e7e,this[_0x44e4df(0x3cf)]());}get[_0x40190f(0x2ce)](){const _0x237fe6=_0x40190f;return this[_0x237fe6(0x1ef)]['getValue']();}[_0x40190f(0x3cf)](){const _0x5a8cf6=_0x40190f;this[_0x5a8cf6(0x327)](),this[_0x5a8cf6(0x3c8)]();}[_0x40190f(0x1ec)](){const _0x5384b8=_0x40190f;super['dispose'](),this[_0x5384b8(0x2f1)][_0x5384b8(0x39f)](_0x3b4590=>_0x3b4590[_0x5384b8(0x1ec)]()),this[_0x5384b8(0x2f1)][_0x5384b8(0x612)](),this[_0x5384b8(0x225)][_0x5384b8(0x585)]();}async['requireSession'](_0x54e29d){const _0x434c6d=_0x40190f;if(this[_0x434c6d(0x2f1)][_0x434c6d(0x352)](_0x54e29d))return this['_sessions'][_0x434c6d(0x27c)](_0x54e29d);this[_0x434c6d(0x4cb)]();const _0x1b4819=this[_0x434c6d(0x685)][_0x434c6d(0x2fb)](_0x1acb6c[_0x434c6d(0x4f9)],_0x54e29d,this[_0x434c6d(0x1ef)][_0x434c6d(0x60c)]());return this['_sessions'][_0x434c6d(0x2e4)](_0x54e29d,_0x1b4819),_0x1b4819;}[_0x40190f(0x33d)](_0x2017d1){const _0x1ece5f=_0x40190f;var _0x40f1b3;const _0x115668=this['_sessions'][_0x1ece5f(0x27c)](_0x2017d1);_0x115668&&(this['_sessions'][_0x1ece5f(0x3fb)](_0x2017d1),_0x115668[_0x1ece5f(0x261)]()),this[_0x1ece5f(0x2f1)]['size']||(_0x40f1b3=this[_0x1ece5f(0x2ce)])==null||_0x40f1b3['close']();}['reconnect'](){const _0x20eed7=_0x40190f;this[_0x20eed7(0x3f1)]=0x0,this[_0x20eed7(0x1f7)]!=null&&(clearTimeout(this[_0x20eed7(0x1f7)]),this[_0x20eed7(0x1f7)]=null),this[_0x20eed7(0x2cc)]();}async[_0x40190f(0x44a)](){const _0x220545=_0x40190f;var _0x358819,_0x10fce4,_0x4900a3;const _0xb4b272=this[_0x220545(0x61b)][_0x220545(0x2df)](_0x347aa1),_0x397648=(_0x358819=_0xb4b272==null?void 0x0:_0xb4b272[_0x220545(0x626)])!=null?_0x358819:_0x3757c1;return(_0x4900a3=(_0x10fce4=(await this[_0x220545(0x48b)][_0x220545(0x27c)](_0x397648,{'headers':{'Content-Type':_0x220545(0x452)}}))['body'])==null?void 0x0:_0x10fce4[_0x220545(0x49d)])!=null?_0x4900a3:'';}[_0x40190f(0x552)](_0x3e229c){const _0x25c8fa=_0x40190f;var _0x5dd105,_0xfa45d0;const _0x5661c9=this[_0x25c8fa(0x61b)]['getConfig'](_0x2adbde),_0x1eb56d=this[_0x25c8fa(0x61b)][_0x25c8fa(0x2df)](_0x347aa1),_0x209f65=(_0xfa45d0=(_0x5dd105=_0x1eb56d==null?void 0x0:_0x1eb56d['collabWebSocketUrl'])!=null?_0x5dd105:_0x5661c9)!=null?_0xfa45d0:_0x53dc7a,_0x35ca55=new URL(_0x209f65,window[_0x25c8fa(0x519)]['origin']);return _0x35ca55[_0x25c8fa(0x53c)][_0x25c8fa(0x2e4)](_0x25c8fa(0x4f5),_0x3e229c),_0x35ca55[_0x25c8fa(0x263)]();}async[_0x40190f(0x3a7)](){const _0x3f1461=_0x40190f,_0x9cf3c8=await this['_getSessionTicket'](),_0x418739=this[_0x3f1461(0x552)](_0x9cf3c8),_0x542b70=this['_socketService'][_0x3f1461(0x4a5)](_0x418739);return this[_0x3f1461(0x559)]=_0x542b70,_0x542b70;}async['_tryEnsureSocket'](){const _0x404448=_0x40190f;var _0x188f0a,_0x68c5a7;try{const _0x48293b=(_0x68c5a7=(_0x188f0a=this[_0x404448(0x2ce)])!=null?_0x188f0a:this['_candidateSocket'])!=null?_0x68c5a7:await this[_0x404448(0x3a7)]();if(_0x48293b){const _0x4ce5ff=_0x48293b[_0x404448(0x35f)];_0x48293b['send']=_0x4cea23=>(this[_0x404448(0x3db)](),_0x4ce5ff['apply'](_0x48293b,[_0x4cea23])),_0x48293b[_0x404448(0x2e5)][_0x404448(0x556)](_0x516afc=>this[_0x404448(0x530)](_0x48293b,_0x516afc)),_0x48293b[_0x404448(0x47f)]['pipe'](_0x9ccac9[_0x404448(0x441)](0x1))[_0x404448(0x556)](_0x1c09e6=>this['_logService'][_0x404448(0x337)](_0x404448(0x1a5),_0x1c09e6)),_0x48293b['open$'][_0x404448(0x38c)](_0x9ccac9[_0x404448(0x441)](0x1))[_0x404448(0x556)](()=>{this['_onConnectionOpen'](_0x48293b);}),_0x48293b['close$'][_0x404448(0x38c)](_0x9ccac9[_0x404448(0x441)](0x1))[_0x404448(0x556)](_0x631bd0=>{const _0x26795e=_0x404448;this['_logService'][_0x26795e(0x62e)](_0x26795e(0x32d),_0x26795e(0x35c),_0x631bd0),this['_onConnectionFailed']();});}}catch(_0x3d5cb3){this[_0x404448(0x58b)]['error'](_0x3d5cb3),this[_0x404448(0x549)]();}}['_onConnectionOpen'](_0x198b0d){const _0x1bd042=_0x40190f;this[_0x1bd042(0x58b)][_0x1bd042(0x62e)]('[CollaborationSessionService]',_0x1bd042(0x254)),_0x198b0d['send']({'cmd':_0x17dc17[_0x1bd042(0x21e)]}),this[_0x1bd042(0x3db)]();}[_0x40190f(0x327)](){const _0x5b577b=_0x40190f;window[_0x5b577b(0x3d2)](_0x5b577b(0x363),()=>this[_0x5b577b(0x2f4)]());}[_0x40190f(0x2f4)](){const _0x55c761=_0x40190f;this[_0x55c761(0x465)]=!0x1,this[_0x55c761(0x559)]=null,this['_status$']['next'](_0x440368[_0x55c761(0x24e)]),this[_0x55c761(0x1ef)][_0x55c761(0x231)](null),this[_0x55c761(0x2ff)](),this[_0x55c761(0x661)]();}['_onConnectionFailed'](){const _0x1cdd85=_0x40190f;var _0x254f6c;this[_0x1cdd85(0x2f4)](),this[_0x1cdd85(0x3f1)]<((_0x254f6c=this[_0x1cdd85(0x61b)][_0x1cdd85(0x2df)](_0x408152))!=null?_0x254f6c:0x3)?(this['_messageService'][_0x1cdd85(0x3fe)]({'key':_0x1cdd85(0x221),'type':_0x5bf787[_0x1cdd85(0x3e9)][_0x1cdd85(0x1cc)],'content':this[_0x1cdd85(0x41e)]['t']('session.will-retry')}),this[_0x1cdd85(0x2cc)]()):this[_0x1cdd85(0x5ae)][_0x1cdd85(0x3fe)]({'key':_0x1cdd85(0x221),'type':_0x5bf787['MessageType'][_0x1cdd85(0x4af)],'content':this[_0x1cdd85(0x41e)]['t'](_0x1cdd85(0x533))});}['_listenToOnlineEvent'](){const _0x3842fa=_0x40190f,_0x371b4e=()=>{const _0x3f1c91=_0x3b61;this[_0x3f1c91(0x2ce)]||this[_0x3f1c91(0x1bb)]();},_0x4c3c43=()=>{const _0x3c95d5=_0x3b61;this[_0x3c95d5(0x2ce)]||document[_0x3c95d5(0x39a)]===_0x3c95d5(0x507)||this[_0x3c95d5(0x1bb)]();};window[_0x3842fa(0x3d2)](_0x3842fa(0x63d),_0x371b4e),document[_0x3842fa(0x3d2)](_0x3842fa(0x5ea),_0x4c3c43);}[_0x40190f(0x2cc)](){const _0x5ae4f6=_0x40190f;var _0x5df9aa;const _0x5702c8=this['_retryCount'],_0xa45237=this[_0x5ae4f6(0x61b)][_0x5ae4f6(0x2df)](_0x347aa1),_0x17915b=_0x5702c8===0x0?0x0:((_0x5df9aa=_0xa45237==null?void 0x0:_0xa45237[_0x5ae4f6(0x421)])!=null?_0x5df9aa:0x4e20)*0x2**_0x5702c8;this['_retryConnectingTimer']=window[_0x5ae4f6(0x360)](()=>{const _0x4540d1=_0x5ae4f6;clearTimeout(this[_0x4540d1(0x1f7)]),this[_0x4540d1(0x1f7)]=null,this[_0x4540d1(0x4cb)]();},_0x17915b),this['_retryCount']+=0x1;}['_onMessage'](_0x2bdd39,_0x1f7487){const _0xb7bfa0=_0x40190f,{cmd:_0x437f38}=_0x1f7487;_0x437f38===_0x17dc17[_0xb7bfa0(0x21e)]&&!this[_0xb7bfa0(0x465)]&&(_0x2bdd39[_0xb7bfa0(0x262)]=_0x1f7487[_0xb7bfa0(0x45c)]['memberID'],this[_0xb7bfa0(0x1ef)]['next'](_0x2bdd39),this[_0xb7bfa0(0x225)][_0xb7bfa0(0x231)](_0x440368[_0xb7bfa0(0x4b2)]),this[_0xb7bfa0(0x465)]=!0x0,this['_candidateSocket']=null),_0x437f38===_0x17dc17[_0xb7bfa0(0x2d0)]&&this[_0xb7bfa0(0x2ff)](),this[_0xb7bfa0(0x3db)]();}['_rescheduleHeartbeat'](){const _0x5bcff6=_0x40190f;var _0x187642;this[_0x5bcff6(0x661)](),this[_0x5bcff6(0x21d)]=window[_0x5bcff6(0x360)](()=>this['_sendHeartbeat'](),(_0x187642=this['_configService'][_0x5bcff6(0x2df)](_0x379cbf))!=null?_0x187642:0x7530);}[_0x40190f(0x52b)](){const _0x47214e=_0x40190f;this[_0x47214e(0x2ce)][_0x47214e(0x35f)]({'cmd':_0x17dc17[_0x47214e(0x2d0)]}),this[_0x47214e(0x524)]();}[_0x40190f(0x524)](){const _0x12ca11=_0x40190f;var _0x409651;this[_0x12ca11(0x518)]=window[_0x12ca11(0x360)](()=>this['_onConnectionFailed'](),(_0x409651=this[_0x12ca11(0x61b)][_0x12ca11(0x2df)](_0x18ccd8))!=null?_0x409651:0x4e20);}[_0x40190f(0x661)](){const _0x101c6e=_0x40190f;this[_0x101c6e(0x21d)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x101c6e(0x21d)]=null);}['_clearTimeoutTimer'](){const _0x104b4a=_0x40190f;this[_0x104b4a(0x518)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x104b4a(0x518)]=null);}},_0x1acb6c[_0x40190f(0x228)]=_0x464da6([_0xe32c89(0x0,_0x3c69d6['Inject'](_0x3c69d6[_0x40190f(0x2b3)])),_0xe32c89(0x1,_0x3c69d6[_0x40190f(0x22f)](_0x3c69d6['LocaleService'])),_0xe32c89(0x2,_0x396190[_0x40190f(0x24b)]),_0xe32c89(0x3,_0x3c69d6[_0x40190f(0x53f)]),_0xe32c89(0x4,_0x3c69d6[_0x40190f(0x3c5)]),_0xe32c89(0x5,_0x1f1de2),_0xe32c89(0x6,_0x3c69d6['Inject'](_0x331a12[_0x40190f(0x496)]))],_0x1acb6c[_0x40190f(0x228)]);const _0xe1ce0b=[];for(let _0x3eb234=0x0;_0x3eb234<0x100;++_0x3eb234)_0xe1ce0b[_0x40190f(0x568)]((_0x3eb234+0x100)[_0x40190f(0x263)](0x10)[_0x40190f(0x4cd)](0x1));function _0x20bf0b(_0x37d13e,_0x56a192=0x0){return(_0xe1ce0b[_0x37d13e[_0x56a192+0x0]]+_0xe1ce0b[_0x37d13e[_0x56a192+0x1]]+_0xe1ce0b[_0x37d13e[_0x56a192+0x2]]+_0xe1ce0b[_0x37d13e[_0x56a192+0x3]]+'-'+_0xe1ce0b[_0x37d13e[_0x56a192+0x4]]+_0xe1ce0b[_0x37d13e[_0x56a192+0x5]]+'-'+_0xe1ce0b[_0x37d13e[_0x56a192+0x6]]+_0xe1ce0b[_0x37d13e[_0x56a192+0x7]]+'-'+_0xe1ce0b[_0x37d13e[_0x56a192+0x8]]+_0xe1ce0b[_0x37d13e[_0x56a192+0x9]]+'-'+_0xe1ce0b[_0x37d13e[_0x56a192+0xa]]+_0xe1ce0b[_0x37d13e[_0x56a192+0xb]]+_0xe1ce0b[_0x37d13e[_0x56a192+0xc]]+_0xe1ce0b[_0x37d13e[_0x56a192+0xd]]+_0xe1ce0b[_0x37d13e[_0x56a192+0xe]]+_0xe1ce0b[_0x37d13e[_0x56a192+0xf]])['toLowerCase']();}let _0x547a7;const _0x2a453c=new Uint8Array(0x10);function _0x50287e(){const _0x54848e=_0x40190f;if(!_0x547a7){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');_0x547a7=crypto[_0x54848e(0x411)][_0x54848e(0x32c)](crypto);}return _0x547a7(_0x2a453c);}const _0x15c7e2={'randomUUID':typeof crypto<'u'&&crypto[_0x40190f(0x5d2)]&&crypto[_0x40190f(0x5d2)][_0x40190f(0x32c)](crypto)};function _0x1c9d30(_0xb77609,_0xbace1d,_0xff41b1){const _0xfb3f91=_0x40190f;if(_0x15c7e2['randomUUID']&&!_0xbace1d&&!_0xb77609)return _0x15c7e2['randomUUID']();_0xb77609=_0xb77609||{};const _0x24c1a1=_0xb77609[_0xfb3f91(0x57d)]||(_0xb77609[_0xfb3f91(0x653)]||_0x50287e)();return _0x24c1a1[0x6]=_0x24c1a1[0x6]&0xf|0x40,_0x24c1a1[0x8]=_0x24c1a1[0x8]&0x3f|0x80,_0x20bf0b(_0x24c1a1);}var _0x1b7fd7=Object[_0x40190f(0x1aa)],_0x32248c=Object[_0x40190f(0x42f)],_0x954dcf=(_0x90301e,_0x2a0088,_0x441a61,_0x7d48af)=>{const _0x3ba90d=_0x40190f;for(var _0x1b12e7=_0x7d48af>0x1?void 0x0:_0x7d48af?_0x32248c(_0x2a0088,_0x441a61):_0x2a0088,_0x195e61=_0x90301e[_0x3ba90d(0x642)]-0x1,_0x4e2ce4;_0x195e61>=0x0;_0x195e61--)(_0x4e2ce4=_0x90301e[_0x195e61])&&(_0x1b12e7=(_0x7d48af?_0x4e2ce4(_0x2a0088,_0x441a61,_0x1b12e7):_0x4e2ce4(_0x1b12e7))||_0x1b12e7);return _0x7d48af&&_0x1b12e7&&_0x1b7fd7(_0x2a0088,_0x441a61,_0x1b12e7),_0x1b12e7;},_0x25ab7e=(_0x56e89d,_0x423336)=>(_0x1b3335,_0x40cd9d)=>_0x423336(_0x1b3335,_0x40cd9d,_0x56e89d);let _0x369138=class{constructor(_0x9d18b4,_0x524ce0,_0x52ebec){const _0x57b6b2=_0x40190f;this[_0x57b6b2(0x685)]=_0x9d18b4,this[_0x57b6b2(0x57a)]=_0x524ce0,this[_0x57b6b2(0x2eb)]=_0x52ebec;}['transformIMECache'](_0x9ba4d6){const _0x39e97e=_0x40190f;this['_transformUndoRedoStack'](_0x9ba4d6),this[_0x39e97e(0x3ec)](_0x9ba4d6);}[_0x40190f(0x37e)](_0x540045){const _0x99fa3b=_0x40190f,{unitID:_0x474027}=_0x540045,_0x4f5b44=this[_0x99fa3b(0x2eb)][_0x99fa3b(0x522)](_0x474027)[_0x99fa3b(0x20c)](_0xae8966[_0x99fa3b(0x579)]),{redoCache:_0x325576}=_0x4f5b44[_0x99fa3b(0x3b7)]();if(_0x325576[_0x99fa3b(0x642)]===0x0)return _0x540045;let _0x40702d=_0x3c69d6['Tools'][_0x99fa3b(0x43f)](_0x540045[_0x99fa3b(0x1ba)][0x0]);for(let _0x503a3a=0x0;_0x503a3a<_0x325576['length'];_0x503a3a++){const _0xe4e92e={'id':_0x99fa3b(0x467),'params':{..._0x325576[_0x503a3a]}},_0x354e4a=this[_0x99fa3b(0x57a)][_0x99fa3b(0x449)](_0x40702d,_0xe4e92e,!0x1);if(_0x596d96[_0x99fa3b(0x34d)](_0x354e4a))throw _0x354e4a[_0x99fa3b(0x337)];_0x40702d=_0x354e4a[_0x99fa3b(0x59a)];}return{..._0x3c69d6[_0x99fa3b(0x281)]['deepClone'](_0x540045),'mutations':[_0x40702d]};}[_0x40190f(0x1b8)](_0x1d418c){const _0x537d7e=_0x40190f,{unitID:_0x5547ab}=_0x1d418c,_0x12ec19=this[_0x537d7e(0x2eb)]['getRenderById'](_0x5547ab)[_0x537d7e(0x20c)](_0xae8966[_0x537d7e(0x579)]),{undoCache:_0x5916e4,redoCache:_0x4e71ab}=_0x12ec19['getUndoRedoMutationParamsCache']();if(_0x5916e4['length']===0x0||_0x4e71ab['length']===0x0)return;const _0x3ec6f0=[],_0x7cbed9=[];let _0x3621f2=_0x3c69d6[_0x537d7e(0x281)][_0x537d7e(0x43f)](_0x1d418c['mutations'][0x0]),_0xad3753=_0x3c69d6[_0x537d7e(0x281)][_0x537d7e(0x43f)](_0x1d418c[_0x537d7e(0x1ba)][0x0]);for(let _0x55cabf=_0x5916e4['length']-0x1;_0x55cabf>=0x0;_0x55cabf--){const _0x10a82d={'id':_0x537d7e(0x467),'params':{..._0x5916e4[_0x55cabf]}},_0x3b00f1={'id':_0x537d7e(0x467),'params':{..._0x4e71ab[_0x55cabf]}},_0x4199af=this[_0x537d7e(0x57a)][_0x537d7e(0x449)](_0x3621f2,_0x10a82d,!0x1),_0x4f51bc=this[_0x537d7e(0x57a)][_0x537d7e(0x449)](_0xad3753,_0x3b00f1,!0x1);if(_0x596d96['isTransformMutationFailure'](_0x4199af))throw _0x4199af['error'];if(_0x596d96['isTransformMutationFailure'](_0x4f51bc))throw _0x4f51bc[_0x537d7e(0x337)];_0x3ec6f0[_0x537d7e(0x35e)](_0x4199af[_0x537d7e(0x339)][_0x537d7e(0x220)]),_0x7cbed9[_0x537d7e(0x35e)](_0x4f51bc[_0x537d7e(0x339)][_0x537d7e(0x220)]),_0x3621f2=_0x4199af[_0x537d7e(0x59a)],_0xad3753=_0x4f51bc[_0x537d7e(0x59a)];}_0x12ec19[_0x537d7e(0x424)]({'undoCache':_0x3ec6f0,'redoCache':_0x7cbed9});}['_transformPreviousActiveRange'](_0x3635db){const _0x575266=_0x40190f,{unitID:_0x59a01f}=_0x3635db,_0x260780=this['_renderManagerService']['getRenderById'](_0x59a01f)['with'](_0xae8966[_0x575266(0x579)]),_0xa37d34=_0x260780[_0x575266(0x47d)]();if(_0xa37d34==null)return;const _0x44130c=[{'id':_0x575266(0x467),'params':{'unitId':_0x3635db[_0x575266(0x233)],'actions':null,'textRanges':[_0xa37d34]}}],_0x30c7ab=this[_0x575266(0x57a)]['transformMutationsWithChangeset'](_0x3635db,_0x44130c);if(!_0x596d96[_0x575266(0x5b0)](_0x30c7ab))throw _0x30c7ab[_0x575266(0x337)];const _0x3c47f7=_0x30c7ab[_0x575266(0x339)][0x0]['params'][_0x575266(0x2d8)];Array[_0x575266(0x21f)](_0x3c47f7)&&_0x3c47f7[_0x575266(0x642)]&&_0x260780[_0x575266(0x2c0)](_0x3c47f7[0x0]);}};_0x369138=_0x954dcf([_0x25ab7e(0x0,_0x3c69d6[_0x40190f(0x22f)](_0x3c69d6['Injector'])),_0x25ab7e(0x1,_0x596d96['ITransformService']),_0x25ab7e(0x2,_0x3ee1ce[_0x40190f(0x5f4)])],_0x369138);var _0x378ebc=Object[_0x40190f(0x1aa)],_0x2ac597=Object[_0x40190f(0x42f)],_0x5e7934=(_0x51c628,_0x7a5993,_0x238293,_0x361a6c)=>{const _0x4f69b2=_0x40190f;for(var _0x458c22=_0x361a6c>0x1?void 0x0:_0x361a6c?_0x2ac597(_0x7a5993,_0x238293):_0x7a5993,_0x3ace13=_0x51c628[_0x4f69b2(0x642)]-0x1,_0x2b555c;_0x3ace13>=0x0;_0x3ace13--)(_0x2b555c=_0x51c628[_0x3ace13])&&(_0x458c22=(_0x361a6c?_0x2b555c(_0x7a5993,_0x238293,_0x458c22):_0x2b555c(_0x458c22))||_0x458c22);return _0x361a6c&&_0x458c22&&_0x378ebc(_0x7a5993,_0x238293,_0x458c22),_0x458c22;},_0x5e674f=(_0x4f5f4b,_0x2f87a)=>(_0x4f5dab,_0x4e9d05)=>_0x2f87a(_0x4f5dab,_0x4e9d05,_0x4f5f4b);_0x1acb6c[_0x40190f(0x64b)]=class extends _0x3c69d6[_0x40190f(0x55f)]{constructor(_0x2830bc,_0x46c9cf,_0x2ca330,_0x383f97,_0xdf9f7c){const _0x43530a=_0x40190f;super(),_0x2a7d69(this,_0x43530a(0x461),new Map()),_0x2a7d69(this,'_saveTaskMap',new Map()),_0x2a7d69(this,'_disabled',!0x1),(this['_configService']=_0x2830bc,this['_localStorageService']=_0x46c9cf,this[_0x43530a(0x3ee)]=_0x2ca330,this[_0x43530a(0x41e)]=_0x383f97,this[_0x43530a(0x222)]=_0xdf9f7c,this[_0x43530a(0x1ad)]());}[_0x40190f(0x503)](){this['_disabled']=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}[_0x40190f(0x1ec)](){const _0x1d0c05=_0x40190f;this[_0x1d0c05(0x459)]()[_0x1d0c05(0x54a)](()=>super[_0x1d0c05(0x1ec)]());}async[_0x40190f(0x1e8)](_0x29ac6a){const _0x1be46d=_0x40190f;return this[_0x1be46d(0x4ae)]?null:this[_0x1be46d(0x1cd)][_0x1be46d(0x408)](_0x48dcf5(_0x29ac6a));}async['saveOfflineData'](_0x3db43d,_0x11a5b9){const _0x5d0dd8=_0x40190f;return!!this['_localStorageService'][_0x5d0dd8(0x68b)](_0x3db43d,_0x11a5b9);}[_0x40190f(0x438)](_0x24c91d,_0x5bdbae,_0x329f13,_0x26f660){const _0x8b8cb3=_0x40190f,_0x1cb5ea=this[_0x8b8cb3(0x222)][_0x8b8cb3(0x5ba)](_0x24c91d);this[_0x8b8cb3(0x461)]['set'](_0x24c91d,{'unitID':_0x24c91d,'type':_0x5bdbae,'awaitingChangeset':_0x329f13,'mutations':_0x26f660,'rev':_0x1cb5ea}),this['_saveTaskMap'][_0x8b8cb3(0x352)](_0x24c91d)||this[_0x8b8cb3(0x1dd)](_0x24c91d);}[_0x40190f(0x1dd)](_0x29195e){const _0x3a4688=_0x40190f,_0x3741cd=this['_getSaveTimeout']();_0x3741cd===0x0?this[_0x3a4688(0x310)](_0x29195e):this[_0x3a4688(0x5f6)][_0x3a4688(0x2e4)](_0x29195e,setTimeout(()=>this[_0x3a4688(0x310)](_0x29195e),_0x3741cd));}[_0x40190f(0x3c4)](){const _0x23e864=_0x40190f;var _0x46ed39;return(_0x46ed39=this[_0x23e864(0x61b)]['getConfig'](_0x58bc93))!=null?_0x46ed39:0x3e8;}[_0x40190f(0x310)](_0x4df805){const _0x4d9141=_0x40190f,_0x321163=this[_0x4d9141(0x5f6)][_0x4d9141(0x27c)](_0x4df805);return _0x321163!==void 0x0&&window[_0x4d9141(0x569)](_0x321163),this[_0x4d9141(0x1cd)][_0x4d9141(0x68b)](_0x48dcf5(_0x4df805),this['_cachedData'][_0x4d9141(0x27c)](_0x4df805))['then'](()=>this['_saveTaskMap']['delete'](_0x4df805));}async[_0x40190f(0x459)](){const _0x211aa8=_0x40190f,_0x176c86=[];this[_0x211aa8(0x5f6)][_0x211aa8(0x39f)]((_0x597638,_0x5bdd7c)=>{const _0x192be1=_0x211aa8;window[_0x192be1(0x569)](_0x597638),_0x176c86[_0x192be1(0x568)](this[_0x192be1(0x310)](_0x5bdd7c)[_0x192be1(0x54a)](()=>{const _0x4dd806=_0x192be1;this[_0x4dd806(0x5f6)][_0x4dd806(0x3fb)](_0x5bdd7c);}));}),await Promise[_0x211aa8(0x2d7)](_0x176c86);}['_setupBeforeClosingHandler'](){const _0x493aef=_0x40190f;this[_0x493aef(0x4fb)](this[_0x493aef(0x3ee)]['registerBeforeClose'](()=>{const _0x291c5b=_0x493aef;if(this[_0x291c5b(0x5f6)]['size'])return this[_0x291c5b(0x41e)]['t']('collaboration-client.offline-data-not-saved');}));}},_0x1acb6c[_0x40190f(0x64b)]=_0x5e7934([_0x5e674f(0x0,_0x3c69d6[_0x40190f(0x3c5)]),_0x5e674f(0x1,_0x3c69d6[_0x40190f(0x285)]),_0x5e674f(0x2,_0x396190['IBeforeCloseService']),_0x5e674f(0x3,_0x3c69d6['Inject'](_0x3c69d6['LocaleService'])),_0x5e674f(0x4,_0x3c69d6[_0x40190f(0x22f)](_0x596d96[_0x40190f(0x527)]))],_0x1acb6c['LocalCacheService']);function _0x48dcf5(_0x22cf6d){const _0x403de4=_0x40190f;return _0x403de4(0x67b)+_0x22cf6d;}var _0x24856e=Object[_0x40190f(0x1aa)],_0x5ce45c=Object['getOwnPropertyDescriptor'],_0x533c8e=(_0x331d63,_0x260bff,_0x39a43,_0x2528d9)=>{for(var _0x4a1087=_0x2528d9>0x1?void 0x0:_0x2528d9?_0x5ce45c(_0x260bff,_0x39a43):_0x260bff,_0x13f994=_0x331d63['length']-0x1,_0x311f21;_0x13f994>=0x0;_0x13f994--)(_0x311f21=_0x331d63[_0x13f994])&&(_0x4a1087=(_0x2528d9?_0x311f21(_0x260bff,_0x39a43,_0x4a1087):_0x311f21(_0x4a1087))||_0x4a1087);return _0x2528d9&&_0x4a1087&&_0x24856e(_0x260bff,_0x39a43,_0x4a1087),_0x4a1087;},_0x3af55e=(_0x1298c5,_0x33f61b)=>(_0x5f1506,_0x59823b)=>_0x33f61b(_0x5f1506,_0x59823b,_0x1298c5);function _0x313327(_0x1dabf7){const _0x4a58ae=_0x40190f,{unitID:_0x37f2e9,mutations:_0x4f1813}=_0x1dabf7;return{'unitId':_0x37f2e9,'subUnitId':_0x4f1813[0x0][_0x4a58ae(0x220)][_0x4a58ae(0x604)]};}let _0x5ee5b7=class{constructor(_0x164f0f,_0x8a78d8,_0x441f18){const _0x5c84a9=_0x40190f;this[_0x5c84a9(0x685)]=_0x164f0f,this[_0x5c84a9(0x57a)]=_0x8a78d8,this[_0x5c84a9(0x55e)]=_0x441f18;}[_0x40190f(0x56a)](_0x541734){const _0x12857d=_0x40190f;var _0xab2189,_0x12fe1f,_0x4ea4e1,_0x5e48f5;const _0xcc975f=this[_0x12857d(0x685)][_0x12857d(0x27c)](_0xcc5ca1['SheetsSelectionsService']),{unitId:_0x3a704f,subUnitId:_0x55328d}=_0x313327(_0x541734),_0x284c12=_0xcc975f['getWorkbookSelections'](_0x3a704f)[_0x12857d(0x32f)](),_0xa33dd3=(_0x12fe1f=(_0xab2189=this['_instanceService'][_0x12857d(0x319)](_0x3a704f))==null?void 0x0:_0xab2189[_0x12857d(0x5b3)]())==null?void 0x0:_0x12fe1f[_0x12857d(0x218)]();if(_0x284c12[_0x12857d(0x642)]===0x0||!_0x3a704f||!_0x55328d)return;const _0xc97a96=[{'id':_0xcc5ca1[_0x12857d(0x1c8)]['id'],'params':{'unitId':_0x3a704f,'subUnitId':_0xa33dd3,'selections':_0x3c69d6[_0x12857d(0x281)]['deepClone'](_0x284c12)}}],_0x3ac467=this['_transformService']['transformMutationsWithChangeset'](_0x541734,_0xc97a96);if(!_0x596d96['isTransformMutationsWithChangesetSuccess'](_0x3ac467))throw _0x3ac467[_0x12857d(0x337)];const _0x43588a=(_0x5e48f5=(_0x4ea4e1=_0x3ac467[_0x12857d(0x339)][0x0])==null?void 0x0:_0x4ea4e1[_0x12857d(0x220)])==null?void 0x0:_0x5e48f5[_0x12857d(0x3aa)];if(Array[_0x12857d(0x21f)](_0x43588a)&&_0x43588a['length']){if(_0x43588a['length']===_0xc97a96[0x0][_0x12857d(0x220)][_0x12857d(0x3aa)]['length']&&_0x43588a[_0x12857d(0x547)]((_0x3822d2,_0xbacff0)=>_0x3c69d6['Rectangle'][_0x12857d(0x1e4)](_0x3822d2[_0x12857d(0x550)],_0xc97a96[0x0][_0x12857d(0x220)][_0x12857d(0x3aa)][_0xbacff0][_0x12857d(0x550)])))return;this[_0x12857d(0x685)]['get'](_0x3c69d6[_0x12857d(0x30a)])['executeCommand'](_0xcc5ca1['SetSelectionsOperation']['id'],{'unitId':_0x3a704f,'subUnitId':_0xa33dd3,'selections':_0x43588a});}}};_0x5ee5b7=_0x533c8e([_0x3af55e(0x0,_0x3c69d6['Inject'](_0x3c69d6[_0x40190f(0x2b3)])),_0x3af55e(0x1,_0x596d96[_0x40190f(0x46f)]),_0x3af55e(0x2,_0x3c69d6[_0x40190f(0x2f8)])],_0x5ee5b7);const _0x51eda7=_0x3c69d6[_0x40190f(0x632)]('univer-pro.collaboration-client.single-active-unit-service');var _0x7c3df6=(_0x3b12a0=>(_0x3b12a0[_0x3b12a0['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x40190f(0x5b4),_0x3b12a0[_0x3b12a0[_0x40190f(0x34e)]=0x1]=_0x40190f(0x34e),_0x3b12a0))(_0x7c3df6||{});const _0x5b940c=0x7530,_0x1172ae=_0x40190f(0x506);class _0x4e149a extends _0x3c69d6[_0x40190f(0x55f)]{constructor(){const _0x2ae16c=_0x40190f;super(),_0x2a7d69(this,'_id',_0x3c69d6[_0x2ae16c(0x281)][_0x2ae16c(0x5d6)]()),_0x2a7d69(this,_0x2ae16c(0x540),new Set()),_0x2a7d69(this,_0x2ae16c(0x38b),new Map()),_0x2a7d69(this,_0x2ae16c(0x435),null),_0x2a7d69(this,_0x2ae16c(0x5cb),new Map()),_0x2a7d69(this,_0x2ae16c(0x491),new Map()),this['_init']();}['dispose'](){const _0x59901a=_0x40190f;super[_0x59901a(0x1ec)](),this['_clearOtherTimers']['forEach']((_0x591791,_0x44164e)=>this[_0x59901a(0x472)](_0x44164e)),this[_0x59901a(0x435)]&&window[_0x59901a(0x43d)](this[_0x59901a(0x435)]);}[_0x40190f(0x243)](_0x503851){const _0x48ffa0=_0x40190f;return this[_0x48ffa0(0x660)](_0x503851)[_0x48ffa0(0x38c)](_0x5c0235[_0x48ffa0(0x32e)]());}[_0x40190f(0x3f8)](_0x53d88d){const _0x228060=_0x40190f;this[_0x228060(0x540)][_0x228060(0x4a1)]===0x0&&this[_0x228060(0x3a3)](),this['_selfUnitIDs'][_0x228060(0x206)](_0x53d88d),this[_0x228060(0x53b)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x53d88d],'isForwarded':!0x1});}['disposeUnit'](_0x39136d){const _0x59a6f8=_0x40190f;this[_0x59a6f8(0x540)]['delete'](_0x39136d),this[_0x59a6f8(0x540)]['size']===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x59a6f8(0x435)]);}[_0x40190f(0x3fd)](){const _0x1cf2e2=_0x40190f;this[_0x1cf2e2(0x4fb)](_0x3c69d6[_0x1cf2e2(0x43b)](_0x5c0235[_0x1cf2e2(0x5ad)](window,_0x1cf2e2(0x1cf))[_0x1cf2e2(0x556)](_0x19038d=>{const _0x2173c6=_0x1cf2e2;if(_0x19038d[_0x2173c6(0x325)]!==_0x1172ae||!_0x19038d[_0x2173c6(0x41d)])return;const _0x2602f0=JSON['parse'](_0x19038d['newValue']);this[_0x2173c6(0x61d)](_0x2602f0);}))),window[_0x1cf2e2(0x3d2)](_0x1cf2e2(0x324),()=>this[_0x1cf2e2(0x53b)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x1cf2e2(0x540)])}));}['_handleEvent'](_0x28480a){const _0x5f17a3=_0x40190f;switch(_0x28480a[_0x5f17a3(0x608)]){case 0x0:this[_0x5f17a3(0x592)](_0x28480a);break;case 0x1:this[_0x5f17a3(0x4e2)](_0x28480a);break;case 0x2:this[_0x5f17a3(0x55c)](_0x28480a);break;}}[_0x40190f(0x592)](_0x42311d){const _0x4347ec=_0x40190f,{unitIDs:_0x2244b7,memberID:_0xf2773b,isForwarded:_0x3e922d}=_0x42311d;_0x2244b7[_0x4347ec(0x39f)](_0x8972df=>{const _0x402843=_0x4347ec;if(!_0x3e922d&&this[_0x402843(0x38b)][_0x402843(0x352)](_0x8972df)&&this[_0x402843(0x660)](_0x8972df)['next'](0x1),!this['_unitOnClients'][_0x402843(0x352)](_0x8972df)||!this['_unitOnClients'][_0x402843(0x27c)](_0x8972df)['has'](_0xf2773b)){const _0x782bf9=this['_unitOnClients'][_0x402843(0x27c)](_0x8972df)||new Set();_0x782bf9[_0x402843(0x206)](_0xf2773b),this['_unitOnClients'][_0x402843(0x2e4)](_0x8972df,_0x782bf9),this['_scheduleClearOtherTimer'](_0xf2773b);}}),_0x3e922d||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x4347ec(0x540)]],'isForwarded':!0x0});}[_0x40190f(0x54f)](_0x1907c9){const _0x12676c=_0x40190f;this[_0x12676c(0x472)](_0x1907c9);const _0x16cf47=window['setTimeout'](()=>{const _0x570ed5=_0x12676c;this[_0x570ed5(0x38b)][_0x570ed5(0x39f)](_0x47cfba=>{const _0x2824d8=_0x570ed5;_0x47cfba[_0x2824d8(0x3fb)](_0x1907c9);});},_0x5b940c*0x2);this[_0x12676c(0x5cb)][_0x12676c(0x2e4)](_0x1907c9,_0x16cf47);}[_0x40190f(0x472)](_0x503b33){const _0x2c2e1e=_0x40190f;if(this[_0x2c2e1e(0x5cb)][_0x2c2e1e(0x352)](_0x503b33)){const _0x1ddf83=this[_0x2c2e1e(0x5cb)][_0x2c2e1e(0x27c)](_0x503b33);_0x1ddf83&&window[_0x2c2e1e(0x569)](_0x1ddf83),this[_0x2c2e1e(0x5cb)][_0x2c2e1e(0x2e4)](_0x503b33,null);}}[_0x40190f(0x4e2)](_0x216a37){const _0x27bae2=_0x40190f,{memberID:_0x414b74,unitIDs:_0x20ca8e}=_0x216a37;_0x20ca8e['forEach'](_0x39b10b=>{const _0x4bb85e=_0x3b61;var _0x3c0f4a;const _0x4f5796=this['_unitOnClients'][_0x4bb85e(0x27c)](_0x39b10b);_0x4f5796&&(_0x4f5796[_0x4bb85e(0x3fb)](_0x414b74),(_0x3c0f4a=this[_0x4bb85e(0x660)](_0x39b10b))==null||_0x3c0f4a[_0x4bb85e(0x231)](_0x4f5796[_0x4bb85e(0x4a1)]===0x0?0x0:0x1));}),this[_0x27bae2(0x472)](_0x414b74);}[_0x40190f(0x55c)](_0x21ac46){const _0x5c6d2c=_0x40190f;this[_0x5c6d2c(0x54f)](_0x21ac46['memberID']);}[_0x40190f(0x53b)](_0x1934a4){const _0x27dba8=_0x40190f;localStorage['setItem'](_0x1172ae,JSON[_0x27dba8(0x22b)](_0x1934a4));}['_scheduleHeartbeat'](){const _0x2f5352=_0x40190f;this[_0x2f5352(0x435)]=window[_0x2f5352(0x618)](()=>{const _0x156971=_0x2f5352;this[_0x156971(0x53b)]({'type':0x2,'memberID':this[_0x156971(0x5c7)]});},_0x5b940c);}[_0x40190f(0x660)](_0x4220ef){const _0x54cce2=_0x40190f;return this[_0x54cce2(0x491)][_0x54cce2(0x352)](_0x4220ef)||this['_unitStatus'][_0x54cce2(0x2e4)](_0x4220ef,new _0x5c0235[(_0x54cce2(0x45b))](0x0)),this[_0x54cce2(0x491)][_0x54cce2(0x27c)](_0x4220ef);}}var _0x31676e=Object['defineProperty'],_0x595c21=Object[_0x40190f(0x42f)],_0x2edfc9=(_0x3f518e,_0x672277,_0x2bad4c,_0x5395b4)=>{const _0x9f68e6=_0x40190f;for(var _0x41beb0=_0x5395b4>0x1?void 0x0:_0x5395b4?_0x595c21(_0x672277,_0x2bad4c):_0x672277,_0x14155d=_0x3f518e[_0x9f68e6(0x642)]-0x1,_0x36c8d0;_0x14155d>=0x0;_0x14155d--)(_0x36c8d0=_0x3f518e[_0x14155d])&&(_0x41beb0=(_0x5395b4?_0x36c8d0(_0x672277,_0x2bad4c,_0x41beb0):_0x36c8d0(_0x41beb0))||_0x41beb0);return _0x5395b4&&_0x41beb0&&_0x31676e(_0x672277,_0x2bad4c,_0x41beb0),_0x41beb0;},_0x3025ae=(_0x47848f,_0x1e8053)=>(_0x58e02e,_0x22d7d6)=>_0x1e8053(_0x58e02e,_0x22d7d6,_0x47848f);let _0x190ac8=class{constructor(_0x3df73f,_0x134c95,_0x2d0f00){const _0x1bc2ac=_0x40190f;this[_0x1bc2ac(0x685)]=_0x3df73f,this[_0x1bc2ac(0x57a)]=_0x134c95,this[_0x1bc2ac(0x67f)]=_0x2d0f00;}[_0x40190f(0x1bd)](_0x45a32f){const _0x53cfef=_0x40190f;this[_0x53cfef(0x471)](_0x45a32f);}[_0x40190f(0x37e)](_0x46e139){const _0x31d887=_0x40190f,{unitID:_0x39730f}=_0x46e139,{collaboration:_0x24f7fd}=this[_0x31d887(0x67f)][_0x31d887(0x5ca)](_0x39730f);if(_0x24f7fd[_0x31d887(0x642)]===0x0)return _0x46e139;let _0x30f324=_0x3c69d6['Tools'][_0x31d887(0x43f)](_0x46e139[_0x31d887(0x1ba)][0x0]);for(let _0x5cd3a8=0x0;_0x5cd3a8<_0x24f7fd[_0x31d887(0x642)];_0x5cd3a8++){const _0x5d4aec={'id':_0x31d887(0x467),'params':{'unitId':_0x24f7fd[_0x5cd3a8][_0x31d887(0x578)],..._0x24f7fd[_0x5cd3a8][_0x31d887(0x431)]}},_0x5c9c45=this[_0x31d887(0x57a)][_0x31d887(0x449)](_0x30f324,_0x5d4aec,!0x1);if(_0x596d96[_0x31d887(0x34d)](_0x5c9c45))throw _0x5c9c45[_0x31d887(0x337)];_0x30f324=_0x5c9c45[_0x31d887(0x59a)];}return{..._0x3c69d6['Tools'][_0x31d887(0x43f)](_0x46e139),'mutations':[_0x30f324]};}[_0x40190f(0x471)](_0x55afab){const _0x465ef4=_0x40190f,{unitID:_0x4e6ad2}=_0x55afab,{history:_0x40745a,collaboration:_0x45599b}=this[_0x465ef4(0x67f)][_0x465ef4(0x5ca)](_0x4e6ad2);if(_0x40745a['length']===0x0&&_0x45599b['length']===0x0)return;const _0x5b31f1=[],_0x29a987=[];let _0x17f9a7=_0x3c69d6[_0x465ef4(0x281)]['deepClone'](_0x55afab[_0x465ef4(0x1ba)][0x0]),_0x2d20f4=_0x3c69d6[_0x465ef4(0x281)][_0x465ef4(0x43f)](_0x55afab[_0x465ef4(0x1ba)][0x0]);for(let _0x45028c=_0x40745a[_0x465ef4(0x642)]-0x1;_0x45028c>=0x0;_0x45028c--){const _0xf70bc0={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x40745a[_0x45028c][_0x465ef4(0x578)],..._0x40745a[_0x45028c][_0x465ef4(0x674)]}},_0x1aae6a={'id':_0x465ef4(0x467),'params':{'unitId':_0x40745a[_0x45028c][_0x465ef4(0x578)],..._0x40745a[_0x45028c][_0x465ef4(0x431)]}},_0xab62ab=this[_0x465ef4(0x57a)]['transformMutation'](_0x17f9a7,_0xf70bc0,!0x1),_0x15d7ea=this[_0x465ef4(0x57a)][_0x465ef4(0x449)](_0x2d20f4,_0x1aae6a,!0x1);if(_0x596d96[_0x465ef4(0x34d)](_0xab62ab))throw _0xab62ab['error'];if(_0x596d96['isTransformMutationFailure'](_0x15d7ea))throw _0x15d7ea[_0x465ef4(0x337)];_0x5b31f1[_0x465ef4(0x35e)]({..._0x40745a[_0x45028c],'undoState':_0xab62ab[_0x465ef4(0x339)][_0x465ef4(0x220)],'redoState':_0x15d7ea[_0x465ef4(0x339)]['params']}),_0x17f9a7=_0xab62ab['m1Prime'],_0x2d20f4=_0x15d7ea['m1Prime'];}_0x17f9a7=_0x3c69d6[_0x465ef4(0x281)][_0x465ef4(0x43f)](_0x55afab[_0x465ef4(0x1ba)][0x0]),_0x2d20f4=_0x3c69d6[_0x465ef4(0x281)][_0x465ef4(0x43f)](_0x55afab[_0x465ef4(0x1ba)][0x0]);for(let _0x5dff91=_0x45599b[_0x465ef4(0x642)]-0x1;_0x5dff91>=0x0;_0x5dff91--){const _0x225653={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x45599b[_0x5dff91]['unitId'],..._0x45599b[_0x5dff91][_0x465ef4(0x674)]}},_0x7da567={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x45599b[_0x5dff91][_0x465ef4(0x578)],..._0x45599b[_0x5dff91][_0x465ef4(0x431)]}},_0x467266=this[_0x465ef4(0x57a)]['transformMutation'](_0x17f9a7,_0x225653,!0x1),_0x536493=this['_transformService'][_0x465ef4(0x449)](_0x2d20f4,_0x7da567,!0x1);if(_0x596d96['isTransformMutationFailure'](_0x467266))throw _0x467266[_0x465ef4(0x337)];if(_0x596d96['isTransformMutationFailure'](_0x536493))throw _0x536493[_0x465ef4(0x337)];_0x29a987[_0x465ef4(0x35e)]({..._0x45599b[_0x5dff91],'undoState':_0x467266[_0x465ef4(0x339)][_0x465ef4(0x220)],'redoState':_0x536493['m2Prime'][_0x465ef4(0x220)]}),_0x17f9a7=_0x467266[_0x465ef4(0x59a)],_0x2d20f4=_0x536493['m1Prime'];}this['_docStateChangeManagerService']['setStateCache'](_0x4e6ad2,{'history':_0x5b31f1,'collaboration':_0x29a987});}};_0x190ac8=_0x2edfc9([_0x3025ae(0x0,_0x3c69d6['Inject'](_0x3c69d6[_0x40190f(0x2b3)])),_0x3025ae(0x1,_0x596d96['ITransformService']),_0x3025ae(0x2,_0x3c69d6[_0x40190f(0x22f)](_0xae8966[_0x40190f(0x4a7)]))],_0x190ac8);function _0x2e2ed8(_0x40f580){const _0x5698e4=_0x40190f;let _0x3c4a92='';for(const _0xf8e832 of _0x40f580){const {startOffset:_0x589431,endOffset:_0x2ef0a9,isActive:_0x5c0cc4,rangeType:_0x69b79b,segmentId:_0x32783d,segmentPage:_0xc298fb}=_0xf8e832;_0x3c4a92[_0x5698e4(0x642)]&&(_0x3c4a92+=','),_0x3c4a92+=_0x589431+':'+_0x2ef0a9+':'+(_0x5c0cc4?'1':'0')+':'+_0x69b79b+':'+_0x32783d+':'+_0xc298fb;}return _0x3c4a92;}function _0x4ae881(_0x7160da){const _0x5284b5=_0x40190f,_0x198ad4=_0x7160da[_0x5284b5(0x345)](','),_0x439418=[];for(const _0x5a01ca of _0x198ad4){const [_0x577484,_0x3d55e9,_0x66f80,_0x3cfdda,_0x1e876d,_0x57858c]=_0x5a01ca[_0x5284b5(0x345)](':');_0x439418[_0x5284b5(0x568)]({'startOffset':Number(_0x577484),'endOffset':Number(_0x3d55e9),'collapsed':_0x577484===_0x3d55e9,'isActive':_0x66f80==='1','rangeType':_0x3cfdda===_0x3c69d6[_0x5284b5(0x2bc)][_0x5284b5(0x1f8)]?_0x3c69d6[_0x5284b5(0x2bc)]['TEXT']:_0x3c69d6[_0x5284b5(0x2bc)][_0x5284b5(0x3ce)],'segmentId':typeof _0x1e876d==_0x5284b5(0x680)?String(_0x1e876d):'','segmentPage':Number(_0x57858c!=null?_0x57858c:-0x1)});}return _0x439418[_0x5284b5(0x2fa)](_0x1d3b6b=>_0x1d3b6b[_0x5284b5(0x3fa)])||(_0x439418[0x0][_0x5284b5(0x3fa)]=!0x0),_0x439418;}class _0x1668ae extends _0x3c69d6[_0x40190f(0x40e)]{constructor(){const _0x1ee677=_0x40190f;super(...arguments),_0x2a7d69(this,'_collabCursorState$',new _0x5c0235[(_0x1ee677(0x45b))](null)),_0x2a7d69(this,'collabCursorState$',this[_0x1ee677(0x46b)][_0x1ee677(0x60c)]());}[_0x40190f(0x5e9)](_0x14053c){const _0x26ff2d=_0x40190f,{unitID:_0x48c8ea,memberID:_0x4f48ee,textRanges:_0x326b9a}=_0x14053c,_0x38eb26=_0x2e2ed8(_0x326b9a);if(_0x38eb26==='')return;const _0x11e7cb={'unitID':_0x48c8ea,'memberID':_0x4f48ee,'selection':_0x38eb26};this[_0x26ff2d(0x46b)][_0x26ff2d(0x231)](_0x11e7cb);}}var _0x553b6f=Object[_0x40190f(0x1aa)],_0x5dedce=Object[_0x40190f(0x42f)],_0x2ac503=(_0x58dddc,_0x569321,_0x58228e,_0x599aaf)=>{const _0x62a43b=_0x40190f;for(var _0x59f492=_0x599aaf>0x1?void 0x0:_0x599aaf?_0x5dedce(_0x569321,_0x58228e):_0x569321,_0x3088c9=_0x58dddc[_0x62a43b(0x642)]-0x1,_0x4ef83d;_0x3088c9>=0x0;_0x3088c9--)(_0x4ef83d=_0x58dddc[_0x3088c9])&&(_0x59f492=(_0x599aaf?_0x4ef83d(_0x569321,_0x58228e,_0x59f492):_0x4ef83d(_0x59f492))||_0x59f492);return _0x599aaf&&_0x59f492&&_0x553b6f(_0x569321,_0x58228e,_0x59f492),_0x59f492;},_0xfb4258=(_0x415575,_0x371ea1)=>(_0x1b7557,_0x3f0d4e)=>_0x371ea1(_0x1b7557,_0x3f0d4e,_0x415575);let _0x5126ec=class{constructor(_0x3dfdf1,_0x323ee2){const _0x4b9537=_0x40190f;this['_injector']=_0x3dfdf1,this[_0x4b9537(0x57a)]=_0x323ee2;}[_0x40190f(0x56a)](_0x1e7276){const _0x40abd1=_0x40190f;var _0x50afd8;const _0x17ca32=this['_injector']['get'](_0x17eaec['DocSelectionManagerService']),_0x36d403=(_0x50afd8=_0x17ca32[_0x40abd1(0x353)]())!=null?_0x50afd8:[];if(_0x36d403[_0x40abd1(0x642)]===0x0)return;const _0xfc664a=_0x1e7276[_0x40abd1(0x233)],_0x39b53a=[{'id':_0x40abd1(0x467),'params':{'unitId':_0xfc664a,'actions':null,'textRanges':_0x36d403}}],_0x54ee5d=this[_0x40abd1(0x57a)][_0x40abd1(0x475)](_0x1e7276,_0x39b53a);if(!_0x596d96[_0x40abd1(0x5b0)](_0x54ee5d))throw _0x54ee5d[_0x40abd1(0x337)];const _0xcf9593=_0x54ee5d[_0x40abd1(0x339)][0x0][_0x40abd1(0x220)]['textRanges'];Array['isArray'](_0xcf9593)&&_0xcf9593['length']&&_0x17ca32[_0x40abd1(0x264)](_0xcf9593,{'unitId':_0xfc664a,'subUnitId':_0xfc664a},!0x1);}};_0x5126ec=_0x2ac503([_0xfb4258(0x0,_0x3c69d6[_0x40190f(0x22f)](_0x3c69d6[_0x40190f(0x2b3)])),_0xfb4258(0x1,_0x596d96[_0x40190f(0x46f)])],_0x5126ec);const _0x1478d5=new Set([_0xcc5ca1[_0x40190f(0x647)]['id']]);function _0x5fb831(_0x554eaf,_0x136727,_0xb702b9,_0x431231,_0x21f5a4){const _0x3d6cd4=_0x40190f;var _0x4c2a61,_0x3ffe7e,_0x5cba39,_0x430de6;const _0x2cafe2=[];for(const _0x23b159 of _0x554eaf)if(_0x1478d5[_0x3d6cd4(0x352)](_0x23b159['id'])){if(_0x2cafe2[_0x3d6cd4(0x642)]>0x0)break;_0x2cafe2[_0x3d6cd4(0x568)](_0x23b159);break;}else _0x2cafe2[_0x3d6cd4(0x568)](_0x23b159);const _0x5475e3=(_0x3ffe7e=(_0x4c2a61=_0x21f5a4['getCurrentUser']())==null?void 0x0:_0x4c2a61[_0x3d6cd4(0x253)])!=null?_0x3ffe7e:'unknown',_0x16a4a7=(_0x430de6=(_0x5cba39=_0x21f5a4[_0x3d6cd4(0x453)]())==null?void 0x0:_0x5cba39['memberID'])!=null?_0x430de6:_0x3d6cd4(0x5e0);return{'changeset':{'unitID':_0x136727,'type':_0x596d96[_0x3d6cd4(0x3cb)](_0xb702b9[_0x3d6cd4(0x639)](_0x136727)),'baseRev':_0x431231[_0x3d6cd4(0x5ba)](_0x136727),'revision':0x0,'userID':_0x5475e3,'memberID':_0x16a4a7,'mutations':_0x2cafe2},'pendingMutations':_0x554eaf[_0x3d6cd4(0x4cd)](_0x2cafe2[_0x3d6cd4(0x642)])};}function _0xcee99a(_0x14d83e,_0x1d9804,_0x2720c2,_0x403729,_0x2ee2c5){const _0x224b7d=_0x40190f;var _0x25a8d1,_0x1bfbb9,_0xcfd0c9,_0x976374;const _0x5af39e=[_0x14d83e[_0x224b7d(0x4f6)]((_0x290643,_0x1d1074)=>{const _0xf075b0=_0x224b7d;var _0x5e945e;const {id:_0x5db40a}=_0x290643,{id:_0xc6223b,type:_0x32eed2}=_0x1d1074,_0x4fb028=(_0x5e945e=_0x290643['params'])!=null?_0x5e945e:{'actions':null},_0x140dfc=_0x1d1074[_0xf075b0(0x220)];if(_0x5db40a&&_0x5db40a!==_0xc6223b)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x5db40a+_0xf075b0(0x65f)+_0xc6223b+'.');return{..._0x290643,'id':_0xc6223b,'type':_0x32eed2,'params':{'unitId':_0x140dfc[_0xf075b0(0x578)],'textRanges':_0x140dfc[_0xf075b0(0x2d8)],'actions':_0x3c69d6[_0xf075b0(0x64a)][_0xf075b0(0x342)](_0x4fb028[_0xf075b0(0x5f3)],_0x140dfc[_0xf075b0(0x5f3)])}};},{})],_0x48824b=(_0x1bfbb9=(_0x25a8d1=_0x2ee2c5[_0x224b7d(0x453)]())==null?void 0x0:_0x25a8d1[_0x224b7d(0x253)])!=null?_0x1bfbb9:_0x224b7d(0x5e0),_0x2b6448=(_0x976374=(_0xcfd0c9=_0x2ee2c5['getCurrentUser']())==null?void 0x0:_0xcfd0c9['memberID'])!=null?_0x976374:_0x224b7d(0x5e0);return{'changeset':{'unitID':_0x1d9804,'type':_0x596d96[_0x224b7d(0x3cb)](_0x2720c2['getUnitType'](_0x1d9804)),'baseRev':_0x403729[_0x224b7d(0x5ba)](_0x1d9804),'revision':0x0,'userID':_0x48824b,'memberID':_0x2b6448,'mutations':_0x5af39e},'pendingMutations':[]};}function _0x5e92f7(_0x465b0d,_0x3a0976){const _0x4f4b8b=_0x40190f,_0x44a38a=new _0x5c0235['ReplaySubject'](0x1);return setTimeout(()=>_0x44a38a[_0x4f4b8b(0x231)](_0x3a0976),_0x465b0d),_0x44a38a[_0x4f4b8b(0x60c)]()[_0x4f4b8b(0x38c)](_0x5c0235['take'](0x1));}const _0x1f6b92={'id':_0xcc5ca1[_0x40190f(0x2a6)]['id'],'type':_0x3c69d6[_0x40190f(0x4eb)][_0x40190f(0x51f)],'params':{}};var _0x4f601e=Object['defineProperty'],_0x22408f=Object[_0x40190f(0x42f)],_0x371c7a=(_0x1c1916,_0x71e211,_0x284326,_0x450f8d)=>{const _0x3e70d0=_0x40190f;for(var _0xa29ff0=_0x450f8d>0x1?void 0x0:_0x450f8d?_0x22408f(_0x71e211,_0x284326):_0x71e211,_0x19d000=_0x1c1916[_0x3e70d0(0x642)]-0x1,_0x1586c3;_0x19d000>=0x0;_0x19d000--)(_0x1586c3=_0x1c1916[_0x19d000])&&(_0xa29ff0=(_0x450f8d?_0x1586c3(_0x71e211,_0x284326,_0xa29ff0):_0x1586c3(_0xa29ff0))||_0xa29ff0);return _0x450f8d&&_0xa29ff0&&_0x4f601e(_0x71e211,_0x284326,_0xa29ff0),_0xa29ff0;},_0x568ca5=(_0x18de16,_0x57aa11)=>(_0x37fc9f,_0x4c5c8f)=>_0x57aa11(_0x37fc9f,_0x4c5c8f,_0x18de16),_0x3b9e60=(_0x134d47=>(_0x134d47[_0x40190f(0x1e6)]='not_collab',_0x134d47[_0x40190f(0x56d)]='synced',_0x134d47[_0x40190f(0x2de)]='pending',_0x134d47[_0x40190f(0x282)]=_0x40190f(0x294),_0x134d47['AWAITING_WITH_PENDING']=_0x40190f(0x5c1),_0x134d47['FETCH_MISS']=_0x40190f(0x5dc),_0x134d47[_0x40190f(0x3ff)]=_0x40190f(0x37f),_0x134d47['OFFLINE']=_0x40190f(0x363),_0x134d47))(_0x3b9e60||{});const _0x4359e2=0xea60;class _0x141825{constructor(_0x2ee9a7,_0x4fbf39,_0x5ae05a,_0xf25c4f,_0x346515,_0x11cbd7,_0x2a6afa,_0x33fc7e,_0x450c50){const _0x33a772=_0x40190f;_0x2a7d69(this,'_awaitingChangeset',null),_0x2a7d69(this,'_pendingMutations',[]),(this[_0x33a772(0x233)]=_0x2ee9a7,this[_0x33a772(0x608)]=_0x4fbf39,this[_0x33a772(0x368)]=_0x346515,this[_0x33a772(0x2a0)]=_0x11cbd7,this[_0x33a772(0x58f)]=_0x2a6afa,this['_revisionService']=_0x33fc7e,this[_0x33a772(0x572)]=_0x450c50,this['_awaitingChangeset']=_0x5ae05a,this['_pendingMutations']=_0xf25c4f);}[_0x40190f(0x444)](_0x58a0c7){const _0xff6a8=_0x40190f,_0x3250b7=this[_0xff6a8(0x222)][_0xff6a8(0x5ba)](this[_0xff6a8(0x233)]);return _0x58a0c7[_0xff6a8(0x1ff)]>_0x3250b7+0x1?(this[_0xff6a8(0x368)][_0xff6a8(0x26d)]({'from':_0x3250b7,'to':_0x58a0c7['revision']-0x1}),!0x0):!0x1;}[_0x40190f(0x59d)](_0x58a948){const _0xd19ba0=_0x40190f;this[_0xd19ba0(0x58f)][_0xd19ba0(0x4c5)](this['unitID'],_0x58a948);}[_0x40190f(0x402)](_0x15b078){const _0x117a04=_0x40190f;var _0x17f60a,_0x1d2483;(_0x1d2483=(_0x17f60a=this[_0x117a04(0x368)])['onTransformSelections'])==null||_0x1d2483['call'](_0x17f60a,_0x15b078);}['_transformIMECache'](_0x4ab090){const _0x4f45e9=_0x40190f;var _0x3b5de1,_0x45fc44;return(_0x45fc44=(_0x3b5de1=this[_0x4f45e9(0x368)])[_0x4f45e9(0x60b)])==null?void 0x0:_0x45fc44['call'](_0x3b5de1,_0x4ab090);}[_0x40190f(0x260)](_0x268a49){const _0x205a0a=_0x40190f;var _0x75744f,_0x5180cf;return(_0x5180cf=(_0x75744f=this[_0x205a0a(0x368)])[_0x205a0a(0x61a)])==null?void 0x0:_0x5180cf[_0x205a0a(0x35a)](_0x75744f,_0x268a49);}[_0x40190f(0x382)](_0x26b43f){const _0x2c2a76=_0x40190f;var _0x366454,_0x55c1c6,_0x385563;return(_0x385563=(_0x55c1c6=(_0x366454=this[_0x2c2a76(0x368)])[_0x2c2a76(0x66d)])==null?void 0x0:_0x55c1c6[_0x2c2a76(0x35a)](_0x366454,_0x26b43f))!=null?_0x385563:_0x26b43f;}[_0x40190f(0x322)](_0x4bc34c){const _0x5d6462=_0x40190f;var _0x43f093,_0x4c02ee,_0x329722;return(_0x329722=(_0x4c02ee=(_0x43f093=this[_0x5d6462(0x368)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x4c02ee[_0x5d6462(0x35a)](_0x43f093,_0x4bc34c))!=null?_0x329722:_0x4bc34c;}[_0x40190f(0x251)](_0x149134){const _0x44d2ac=_0x40190f;var _0x3525a5,_0x1374af;if(this[_0x44d2ac(0x608)]===_0x10bfce[_0x44d2ac(0x2cb)]){const {unitID:_0x279554,mutations:_0x1f56b2,memberID:_0xe0760d}=_0x149134,_0x4797bc=_0x1f56b2[0x0][_0x44d2ac(0x220)][_0x44d2ac(0x2d8)];Array['isArray'](_0x4797bc)&&_0x4797bc[_0x44d2ac(0x642)]>0x0&&((_0x1374af=(_0x3525a5=this['_handler'])[_0x44d2ac(0x1c2)])==null||_0x1374af[_0x44d2ac(0x35a)](_0x3525a5,{'unitID':_0x279554,'memberID':_0xe0760d,'textRanges':_0x4797bc}));}}[_0x40190f(0x2c1)](){const _0x3f97af=_0x40190f;this['_localCacheService'][_0x3f97af(0x438)](this[_0x3f97af(0x233)],this[_0x3f97af(0x608)],this[_0x3f97af(0x2c9)],this[_0x3f97af(0x4da)]);}[_0x40190f(0x3b0)](){const _0x15903b=_0x40190f;return this[_0x15903b(0x222)][_0x15903b(0x5ba)](this[_0x15903b(0x233)]);}[_0x40190f(0x270)](){const _0x1a5538=_0x40190f;this['_revisionService'][_0x1a5538(0x236)](this[_0x1a5538(0x233)]);}[_0x40190f(0x499)](_0x1858eb){const _0x8e45f6=_0x40190f;var _0x11e618;let _0x29f649=this[_0x8e45f6(0x382)](_0x1858eb);_0x29f649=this[_0x8e45f6(0x322)](_0x29f649);const _0x9010aa=_0x3c69d6[_0x8e45f6(0x1d1)](_0x29f649[_0x8e45f6(0x1ba)],this['_commandService'],{'fromCollab':!0x0});if(!_0x9010aa[_0x8e45f6(0x520)])throw _0x9010aa['error']instanceof Error?_0x9010aa[_0x8e45f6(0x337)]:new Error((_0x11e618=_0x9010aa[_0x8e45f6(0x337)])!=null?_0x11e618:'[CollaborationState]:\x20apply\x20error!');this[_0x8e45f6(0x4f3)](_0x29f649),this['_transformStateCache'](_0x29f649),this[_0x8e45f6(0x59d)](_0x1858eb),this[_0x8e45f6(0x402)](_0x29f649),this['_syncEditingCollabCursor'](_0x29f649),this[_0x8e45f6(0x270)]();}}let _0xefba8d=class extends _0x141825{constructor(_0x8d9ba6,_0x3ca333,_0x36f718,_0x1559df,_0x1e27f4,_0xea395,_0x33a43c,_0xe60724,_0x3ac4b5,_0x22d4fa){const _0x526f75=_0x40190f;super(_0x8d9ba6,_0x3ca333,null,[],_0x36f718,_0xe60724,_0x33a43c,_0x1559df,_0x1e27f4),_0x2a7d69(this,_0x526f75(0x605),_0x526f75(0x664)),(this[_0x526f75(0x685)]=_0xea395,this[_0x526f75(0x58b)]=_0x3ac4b5,this[_0x526f75(0x57a)]=_0x22d4fa);}[_0x40190f(0x34b)](_0x20c956){const _0x727608=_0x40190f,_0x203d87=this[_0x727608(0x685)][_0x727608(0x2fb)](_0x5ecc34,this['unitID'],this[_0x727608(0x608)],[_0x20c956],this[_0x727608(0x368)]);return _0x203d87[_0x727608(0x4d8)](),_0x203d87[_0x727608(0x2c1)](),_0x203d87;}[_0x40190f(0x50e)](_0x9614){const _0xe0dacb=_0x40190f;if(this[_0xe0dacb(0x444)](_0x9614))return this[_0xe0dacb(0x685)][_0xe0dacb(0x2fb)](_0x207597,this[_0xe0dacb(0x233)],this[_0xe0dacb(0x608)],null,[],null,[_0x9614],this[_0xe0dacb(0x368)]);try{const _0x339a05=this[_0xe0dacb(0x57a)][_0xe0dacb(0x475)](_0x9614,[_0x1f6b92]);if(_0x596d96[_0xe0dacb(0x5b0)](_0x339a05)){const {c1Prime:_0x18f481}=_0x339a05;return this[_0xe0dacb(0x499)](_0x18f481),this;}throw _0x339a05[_0xe0dacb(0x337)];}catch(_0x5de61d){return this['_logService'][_0xe0dacb(0x337)](_0x5de61d),this[_0xe0dacb(0x62d)](!0x1);}}[_0x40190f(0x62d)](_0x5754ac){const _0x599cf0=_0x40190f;return this[_0x599cf0(0x685)][_0x599cf0(0x2fb)](_0x89837e,this[_0x599cf0(0x233)],this[_0x599cf0(0x608)],null,[],this[_0x599cf0(0x368)],_0x5754ac);}[_0x40190f(0x613)](){const _0x2b5a7e=_0x40190f;throw new Error(_0x2b5a7e(0x4bb));}['onRemoteRej'](){const _0x38bd48=_0x40190f;throw new Error(_0x38bd48(0x29e));}[_0x40190f(0x66e)](){return this;}[_0x40190f(0x3ca)](){const _0x11eddc=_0x40190f;return this[_0x11eddc(0x685)][_0x11eddc(0x2fb)](_0x5380e6,this['unitID'],this[_0x11eddc(0x608)],null,[],this['_handler']);}['toggleOnline'](){return this;}[_0x40190f(0x5d1)](){const _0x511b39=_0x40190f;throw new Error(_0x511b39(0x49c));}[_0x40190f(0x200)](){const _0x5befbd=_0x40190f,_0x4538f3=this[_0x5befbd(0x222)][_0x5befbd(0x5ba)](this['unitID']);return this[_0x5befbd(0x368)][_0x5befbd(0x26d)]({'from':_0x4538f3,'to':0x0}),this[_0x5befbd(0x685)]['createInstance'](_0x207597,this[_0x5befbd(0x233)],this['type'],null,[],null,[],this[_0x5befbd(0x368)]);}};_0xefba8d=_0x371c7a([_0x568ca5(0x3,_0x3c69d6[_0x40190f(0x22f)](_0x596d96[_0x40190f(0x527)])),_0x568ca5(0x4,_0x3c69d6[_0x40190f(0x22f)](_0x1acb6c[_0x40190f(0x64b)])),_0x568ca5(0x5,_0x3c69d6['Inject'](_0x3c69d6[_0x40190f(0x2b3)])),_0x568ca5(0x6,_0x3c69d6[_0x40190f(0x5a2)]),_0x568ca5(0x7,_0x3c69d6[_0x40190f(0x30a)]),_0x568ca5(0x8,_0x3c69d6[_0x40190f(0x53f)]),_0x568ca5(0x9,_0x596d96[_0x40190f(0x46f)])],_0xefba8d);let _0x5ecc34=class extends _0x141825{constructor(_0x554a82,_0x28e7de,_0x5424c8,_0x283eb3,_0x5cafb8,_0x7204e3,_0x409930,_0xf52cbb,_0x205204,_0xf0352e,_0x339875,_0x583c63,_0x25aa6f,_0x322ca0){const _0x3c67fe=_0x40190f;super(_0x554a82,_0x28e7de,null,_0x5424c8,_0x283eb3,_0xf0352e,_0x322ca0,_0x7204e3,_0x409930),_0x2a7d69(this,_0x3c67fe(0x605),_0x3c67fe(0x596)),_0x2a7d69(this,_0x3c67fe(0x290),null),_0x2a7d69(this,'_sendingTimer',null),(this[_0x3c67fe(0x685)]=_0x5cafb8,this['_memberService']=_0xf52cbb,this[_0x3c67fe(0x58b)]=_0x205204,this[_0x3c67fe(0x61b)]=_0x339875,this[_0x3c67fe(0x57a)]=_0x583c63,this[_0x3c67fe(0x557)]=_0x25aa6f);}[_0x40190f(0x34b)](_0x23a42b){const _0x285a90=_0x40190f;return this[_0x285a90(0x4da)]['push'](_0x23a42b),this[_0x285a90(0x2c1)](),this;}['onRemoteChangeset'](_0x246bc6){const _0x5b82c5=_0x40190f;if(this['_checkMissing'](_0x246bc6))return this['_clearScheduledTask'](),this[_0x5b82c5(0x685)][_0x5b82c5(0x2fb)](_0x207597,this[_0x5b82c5(0x233)],this[_0x5b82c5(0x608)],null,this[_0x5b82c5(0x4da)],null,[_0x246bc6],this[_0x5b82c5(0x368)]);try{const _0x28daa5=this[_0x5b82c5(0x57a)]['transformMutationsWithChangeset'](_0x246bc6,this[_0x5b82c5(0x4da)]);if(_0x596d96[_0x5b82c5(0x5b0)](_0x28daa5)){const {c1Prime:_0x2864da,m2Prime:_0x5deaf9}=_0x28daa5;this[_0x5b82c5(0x499)](_0x2864da);const _0x107dec=this['_injector'][_0x5b82c5(0x2fb)](_0x5ecc34,this[_0x5b82c5(0x233)],this['type'],_0x5deaf9,this[_0x5b82c5(0x368)]);return this['_clearScheduledTask'](),_0x107dec[_0x5b82c5(0x4d8)](this['_scheduleTimestamp']?Math[_0x5b82c5(0x3f3)](0x0,new Date()['getTime']()-this['_scheduleTimestamp']):this[_0x5b82c5(0x318)]()),_0x107dec;}throw _0x28daa5['error'];}catch(_0x9aceec){return this[_0x5b82c5(0x58b)]['error'](_0x9aceec),this[_0x5b82c5(0x62d)](!0x1);}}['onRemoteAck'](){const _0x46237b=_0x40190f;throw new Error(_0x46237b(0x455));}[_0x40190f(0x316)](){const _0xc16bc0=_0x40190f;throw new Error(_0xc16bc0(0x436));}[_0x40190f(0x66e)](){return this;}[_0x40190f(0x3ca)](){const _0x448346=_0x40190f;return this[_0x448346(0x25b)](),this[_0x448346(0x685)][_0x448346(0x2fb)](_0x5380e6,this[_0x448346(0x233)],this[_0x448346(0x608)],null,this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}[_0x40190f(0x4d8)](_0x14adf3){const _0x3c3062=_0x40190f,_0x5b4756=_0x14adf3!=null?_0x14adf3:this['_getSendChangesetTimeout']();this[_0x3c3062(0x290)]=new Date()['getTime'](),this[_0x3c3062(0x37b)]=window['setTimeout'](()=>{const _0x10a5ac=_0x3c3062;this[_0x10a5ac(0x25b)]();let _0x39760f=null;switch(this[_0x10a5ac(0x608)]){case _0x10bfce[_0x10a5ac(0x3e2)]:{_0x39760f=_0x5fb831(this[_0x10a5ac(0x4da)],this[_0x10a5ac(0x233)],this[_0x10a5ac(0x557)],this[_0x10a5ac(0x222)],this[_0x10a5ac(0x31f)]);break;}case _0x10bfce[_0x10a5ac(0x2cb)]:{this[_0x10a5ac(0x4da)][_0x10a5ac(0x547)](_0xaa04ae=>_0xaa04ae['id']===_0x17eaec[_0x10a5ac(0x656)]['id'])?_0x39760f=_0xcee99a(this[_0x10a5ac(0x4da)],this[_0x10a5ac(0x233)],this[_0x10a5ac(0x557)],this['_revisionService'],this[_0x10a5ac(0x31f)]):_0x39760f=_0x5fb831(this['_pendingMutations'],this[_0x10a5ac(0x233)],this[_0x10a5ac(0x557)],this[_0x10a5ac(0x222)],this[_0x10a5ac(0x31f)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x10a5ac(0x608)]+_0x10a5ac(0x681));}const {changeset:_0x5ba867,pendingMutations:_0x198b23}=_0x39760f;this[_0x10a5ac(0x368)][_0x10a5ac(0x517)](_0x5ba867);const _0x19d780=_0x198b23[_0x10a5ac(0x642)]?this[_0x10a5ac(0x685)][_0x10a5ac(0x2fb)](_0x247a67,this[_0x10a5ac(0x233)],this[_0x10a5ac(0x608)],_0x5ba867,_0x198b23,this[_0x10a5ac(0x368)],void 0x0):this[_0x10a5ac(0x685)][_0x10a5ac(0x2fb)](_0x5ab447,this[_0x10a5ac(0x233)],this[_0x10a5ac(0x608)],_0x5ba867,this[_0x10a5ac(0x368)]);_0x19d780[_0x10a5ac(0x2c1)](),this[_0x10a5ac(0x368)][_0x10a5ac(0x682)](this,_0x19d780);},_0x5b4756);}[_0x40190f(0x318)](){const _0x2d2460=_0x40190f;var _0x2ddb54;const _0x38b132=this[_0x2d2460(0x61b)][_0x2d2460(0x2df)](_0x347aa1);return(_0x2ddb54=_0x38b132==null?void 0x0:_0x38b132[_0x2d2460(0x395)])!=null?_0x2ddb54:0x7d0;}['resend'](){const _0x50123c=_0x40190f;throw new Error(_0x50123c(0x523));}['_clearScheduledTask'](){const _0x59bac8=_0x40190f;this[_0x59bac8(0x37b)]!=null&&(clearTimeout(this[_0x59bac8(0x37b)]),this[_0x59bac8(0x37b)]=null);}[_0x40190f(0x62d)](_0x592cb9){const _0x5328c0=_0x40190f;return this[_0x5328c0(0x25b)](),this[_0x5328c0(0x685)][_0x5328c0(0x2fb)](_0x89837e,this[_0x5328c0(0x233)],this['type'],null,this[_0x5328c0(0x4da)],this['_handler'],_0x592cb9);}};_0x5ecc34=_0x371c7a([_0x568ca5(0x4,_0x3c69d6[_0x40190f(0x22f)](_0x3c69d6[_0x40190f(0x2b3)])),_0x568ca5(0x5,_0x3c69d6[_0x40190f(0x22f)](_0x596d96[_0x40190f(0x527)])),_0x568ca5(0x6,_0x3c69d6[_0x40190f(0x22f)](_0x1acb6c[_0x40190f(0x64b)])),_0x568ca5(0x7,_0x3c69d6[_0x40190f(0x22f)](_0x1acb6c['MemberService'])),_0x568ca5(0x8,_0x3c69d6[_0x40190f(0x53f)]),_0x568ca5(0x9,_0x3c69d6[_0x40190f(0x30a)]),_0x568ca5(0xa,_0x3c69d6['IConfigService']),_0x568ca5(0xb,_0x596d96[_0x40190f(0x46f)]),_0x568ca5(0xc,_0x3c69d6['IUniverInstanceService']),_0x568ca5(0xd,_0x3c69d6[_0x40190f(0x5a2)])],_0x5ecc34);let _0x5ab447=class extends _0x141825{constructor(_0xa9b32,_0x2f4c7f,_0x946163,_0x1307fc,_0x4073f3,_0x3570cb,_0x272f45,_0x5ab114,_0x1bfd14,_0x543e4d,_0x277396){const _0x21ca74=_0x40190f;super(_0xa9b32,_0x2f4c7f,_0x946163,[],_0x1307fc,_0x5ab114,_0x277396,_0x3570cb,_0x272f45),_0x2a7d69(this,_0x21ca74(0x605),_0x21ca74(0x294)),_0x2a7d69(this,'_resendTimeout',0x0),_0x2a7d69(this,_0x21ca74(0x5fb)),_0x2a7d69(this,_0x21ca74(0x390)),(this[_0x21ca74(0x685)]=_0x4073f3,this[_0x21ca74(0x58b)]=_0x1bfd14,this[_0x21ca74(0x57a)]=_0x543e4d);}[_0x40190f(0x34b)](_0x2e3e3d){const _0xd63c82=_0x40190f;this[_0xd63c82(0x25b)]();const _0x3adcff=this[_0xd63c82(0x685)][_0xd63c82(0x2fb)](_0x247a67,this[_0xd63c82(0x233)],this[_0xd63c82(0x608)],this['_awaitingChangeset'],[_0x2e3e3d],this['_handler'],this['_resendTimer']);return _0x3adcff['_updateLocalCache'](),_0x3adcff;}[_0x40190f(0x50e)](_0x3255f4){const _0x1f9be1=_0x40190f;if(this[_0x1f9be1(0x444)](_0x3255f4))return this[_0x1f9be1(0x25b)](),this[_0x1f9be1(0x685)][_0x1f9be1(0x2fb)](_0x207597,this[_0x1f9be1(0x233)],this[_0x1f9be1(0x608)],this[_0x1f9be1(0x2c9)],[],null,[_0x3255f4],this[_0x1f9be1(0x368)]);try{const _0xddd2c8=this['_transformService']['transformChangesets']([_0x3255f4],[this[_0x1f9be1(0x2c9)]],!0x1);if(_0x596d96[_0x1f9be1(0x280)](_0xddd2c8)){const {c1Prime:_0x5e71b0,c2Prime:_0x1416a8}=_0xddd2c8;this['_executeRemoteChangeset'](_0x5e71b0[0x0]),_0x1416a8[0x0][_0x1f9be1(0x5df)]=this['_getCurrentRevision'](),this[_0x1f9be1(0x25b)]();const _0x104921=this[_0x1f9be1(0x685)][_0x1f9be1(0x2fb)](_0x5ab447,this['unitID'],this['type'],_0x1416a8[0x0],this['_handler']);return _0x104921[_0x1f9be1(0x2c1)](),_0x104921;}return this[_0x1f9be1(0x62d)](!0x1);}catch(_0x51ed4e){return this[_0x1f9be1(0x58b)][_0x1f9be1(0x337)](_0x51ed4e),this[_0x1f9be1(0x62d)](!0x1);}}['onRemoteAck'](_0x5ae0b0){const _0x5a136f=_0x40190f;this[_0x5a136f(0x25b)]();const _0x3408e1=this[_0x5a136f(0x222)][_0x5a136f(0x5ba)](this[_0x5a136f(0x233)]);if(_0x5ae0b0[_0x5a136f(0x1ff)]<_0x3408e1-0x1)return this;if(this[_0x5a136f(0x444)](_0x5ae0b0))return this[_0x5a136f(0x685)][_0x5a136f(0x2fb)](_0x207597,this[_0x5a136f(0x233)],this[_0x5a136f(0x608)],null,[],this[_0x5a136f(0x2c9)],[],this[_0x5a136f(0x368)]);this['_incrementRevisionNumber']();const _0x1946d5=this[_0x5a136f(0x685)][_0x5a136f(0x2fb)](_0xefba8d,this[_0x5a136f(0x233)],this[_0x5a136f(0x608)],this[_0x5a136f(0x368)]);return _0x1946d5[_0x5a136f(0x2c1)](),_0x1946d5;}[_0x40190f(0x316)](_0x10e29d){return this['_onConflict'](!!(_0x10e29d!=null&&_0x10e29d['isPermissionRej']));}['onRemoteRetry'](_0x40c121){const _0x61cc10=_0x40190f;return this['_resendTimeout']>_0x4359e2?this[_0x61cc10(0x3ca)]():(this['_resendTimer']=_0x5e92f7(this[_0x61cc10(0x4d6)],{'timeout':this[_0x61cc10(0x4d6)],'reqId':_0x40c121[_0x61cc10(0x434)]}),this[_0x61cc10(0x390)]=this[_0x61cc10(0x5fb)]['subscribe'](({reqId:_0x2145b8,timeout:_0x15597a})=>{this['_resendWithTimeout'](_0x2145b8,_0x15597a);}),this);}[_0x40190f(0x3ca)](){const _0x18a4e3=_0x40190f;return this['_clearScheduledTask'](),this['_injector'][_0x18a4e3(0x2fb)](_0x5380e6,this[_0x18a4e3(0x233)],this[_0x18a4e3(0x608)],this[_0x18a4e3(0x2c9)],[],this['_handler']);}[_0x40190f(0x28e)](){return this;}[_0x40190f(0x5d1)](){const _0x899bd9=_0x40190f;this[_0x899bd9(0x368)][_0x899bd9(0x517)](this[_0x899bd9(0x2c9)]);}[_0x40190f(0x62d)](_0x23722a){const _0x536af1=_0x40190f;return this[_0x536af1(0x25b)](),this[_0x536af1(0x685)][_0x536af1(0x2fb)](_0x89837e,this['unitID'],this['type'],this[_0x536af1(0x2c9)],[],this['_handler'],_0x23722a);}[_0x40190f(0x3a0)](_0x5a2477,_0x202726){const _0x5cad8f=_0x40190f;var _0x57e9ff;_0x5a2477===((_0x57e9ff=this[_0x5cad8f(0x2c9)])==null?void 0x0:_0x57e9ff[_0x5cad8f(0x434)])&&(this['resend'](),this[_0x5cad8f(0x4d6)]=_0x202726===0x0?0x3e8:_0x202726*0x2);}[_0x40190f(0x25b)](){const _0x3b2721=_0x40190f;var _0x198b7e;(_0x198b7e=this['_sender'])==null||_0x198b7e[_0x3b2721(0x616)](),this[_0x3b2721(0x4d6)]=0x0;}};_0x5ab447=_0x371c7a([_0x568ca5(0x4,_0x3c69d6[_0x40190f(0x22f)](_0x3c69d6[_0x40190f(0x2b3)])),_0x568ca5(0x5,_0x3c69d6['Inject'](_0x596d96[_0x40190f(0x527)])),_0x568ca5(0x6,_0x3c69d6[_0x40190f(0x22f)](_0x1acb6c[_0x40190f(0x64b)])),_0x568ca5(0x7,_0x3c69d6[_0x40190f(0x30a)]),_0x568ca5(0x8,_0x3c69d6[_0x40190f(0x53f)]),_0x568ca5(0x9,_0x596d96[_0x40190f(0x46f)]),_0x568ca5(0xa,_0x3c69d6[_0x40190f(0x5a2)])],_0x5ab447);let _0x247a67=class extends _0x141825{constructor(_0x4fa324,_0x56d5f6,_0x13b701,_0x45c4fd,_0x1a9ef0,_0x2d43c9,_0x2304c6,_0x270515,_0x5d87b2,_0x216f42,_0x353dcc,_0x2edce3,_0x2c832d){const _0x3a1adc=_0x40190f;super(_0x4fa324,_0x56d5f6,_0x13b701,_0x45c4fd,_0x1a9ef0,_0x216f42,_0x2c832d,_0x270515,_0x5d87b2),_0x2a7d69(this,'status','awaiting_with_pending'),_0x2a7d69(this,_0x3a1adc(0x4d6),0x0),_0x2a7d69(this,_0x3a1adc(0x5fb)),_0x2a7d69(this,'_sender'),(this[_0x3a1adc(0x685)]=_0x2304c6,this[_0x3a1adc(0x58b)]=_0x353dcc,this[_0x3a1adc(0x57a)]=_0x2edce3,_0x2d43c9&&(this[_0x3a1adc(0x5fb)]=_0x2d43c9,this[_0x3a1adc(0x390)]=this[_0x3a1adc(0x5fb)][_0x3a1adc(0x556)](({reqId:_0x36b197,timeout:_0x53b8bb})=>{this['_resendWithTimeout'](_0x36b197,_0x53b8bb);})));}['appendMutation'](_0x5b257b){const _0x38b713=_0x40190f;return this[_0x38b713(0x4da)][_0x38b713(0x568)](_0x5b257b),this;}[_0x40190f(0x50e)](_0x44a770){const _0xc50ec5=_0x40190f;if(this[_0xc50ec5(0x444)](_0x44a770))return this[_0xc50ec5(0x25b)](),this['_injector']['createInstance'](_0x207597,this[_0xc50ec5(0x233)],this[_0xc50ec5(0x608)],this[_0xc50ec5(0x2c9)],this[_0xc50ec5(0x4da)],null,[_0x44a770],this[_0xc50ec5(0x368)]);try{const _0x2a4fe5=this[_0xc50ec5(0x57a)][_0xc50ec5(0x350)]([_0x44a770],[this[_0xc50ec5(0x2c9)]],!0x1);if(_0x596d96[_0xc50ec5(0x280)](_0x2a4fe5)){const {c1Prime:_0x22be92,c2Prime:_0x2683e5}=_0x2a4fe5,_0x392a10=this[_0xc50ec5(0x57a)][_0xc50ec5(0x475)](_0x22be92[0x0],this['_pendingMutations']);if(_0x596d96[_0xc50ec5(0x5b0)](_0x392a10)){const {c1Prime:_0x36c514,m2Prime:_0x320c02}=_0x392a10;return this[_0xc50ec5(0x499)](_0x36c514),_0x2683e5[0x0][_0xc50ec5(0x5df)]=this[_0xc50ec5(0x3b0)](),this[_0xc50ec5(0x25b)](),this['_injector']['createInstance'](_0x247a67,this[_0xc50ec5(0x233)],this[_0xc50ec5(0x608)],_0x2683e5[0x0],_0x320c02,this[_0xc50ec5(0x368)],void 0x0);}throw _0x392a10[_0xc50ec5(0x337)];}throw _0x2a4fe5[_0xc50ec5(0x337)];}catch(_0x4401ef){return this[_0xc50ec5(0x58b)][_0xc50ec5(0x337)](_0x4401ef),this[_0xc50ec5(0x62d)](!0x1);}}[_0x40190f(0x613)](_0x520b3e){const _0x3526be=_0x40190f;if(this[_0x3526be(0x25b)](),this[_0x3526be(0x444)](_0x520b3e))return this['_injector']['createInstance'](_0x207597,this['unitID'],this[_0x3526be(0x608)],null,this[_0x3526be(0x4da)],this[_0x3526be(0x2c9)],[],this[_0x3526be(0x368)]);this[_0x3526be(0x270)]();const _0xcae9e0=this[_0x3526be(0x685)][_0x3526be(0x2fb)](_0x5ecc34,this[_0x3526be(0x233)],this['type'],this[_0x3526be(0x4da)],this['_handler']);return _0xcae9e0[_0x3526be(0x4d8)](),_0xcae9e0[_0x3526be(0x2c1)](),_0xcae9e0;}[_0x40190f(0x316)](_0x42cbce){const _0x920487=_0x40190f;return this[_0x920487(0x62d)](!!(_0x42cbce!=null&&_0x42cbce[_0x920487(0x311)]));}[_0x40190f(0x66e)](_0x414451){const _0x34ba5c=_0x40190f;return this['_resendTimeout']>_0x4359e2?this[_0x34ba5c(0x3ca)]():(this['_resendTimer']=_0x5e92f7(this[_0x34ba5c(0x4d6)],{'timeout':this[_0x34ba5c(0x4d6)],'reqId':_0x414451['reqId']}),this[_0x34ba5c(0x390)]=this[_0x34ba5c(0x5fb)][_0x34ba5c(0x556)](({reqId:_0x713ea2,timeout:_0x5710bf})=>{this['_resendWithTimeout'](_0x713ea2,_0x5710bf);}),this);}['toggleOffline'](){const _0x5f2507=_0x40190f;return this[_0x5f2507(0x25b)](),this[_0x5f2507(0x685)][_0x5f2507(0x2fb)](_0x5380e6,this[_0x5f2507(0x233)],this[_0x5f2507(0x608)],this['_awaitingChangeset'],this[_0x5f2507(0x4da)],this[_0x5f2507(0x368)]);}['toggleOnline'](){return this;}[_0x40190f(0x5d1)](){const _0x19f5ec=_0x40190f;this[_0x19f5ec(0x368)][_0x19f5ec(0x517)](this[_0x19f5ec(0x2c9)]);}[_0x40190f(0x62d)](_0x3ec92d){const _0x51faee=_0x40190f;return this['_clearScheduledTask'](),this[_0x51faee(0x685)]['createInstance'](_0x89837e,this[_0x51faee(0x233)],this[_0x51faee(0x608)],null,this[_0x51faee(0x4da)],this[_0x51faee(0x368)],_0x3ec92d);}[_0x40190f(0x3a0)](_0x1603da,_0x1fd0f5){const _0x49acde=_0x40190f;var _0x5aa7bf;_0x1603da===((_0x5aa7bf=this[_0x49acde(0x2c9)])==null?void 0x0:_0x5aa7bf[_0x49acde(0x434)])&&(this['resend'](),this[_0x49acde(0x4d6)]=_0x1fd0f5===0x0?0x3e8:_0x1fd0f5*0x2);}[_0x40190f(0x25b)](){const _0x51a797=_0x40190f;var _0x55e9db;(_0x55e9db=this['_sender'])==null||_0x55e9db[_0x51a797(0x616)](),this[_0x51a797(0x4d6)]=0x0;}};_0x247a67=_0x371c7a([_0x568ca5(0x6,_0x3c69d6[_0x40190f(0x22f)](_0x3c69d6['Injector'])),_0x568ca5(0x7,_0x3c69d6['Inject'](_0x596d96['RevisionService'])),_0x568ca5(0x8,_0x3c69d6[_0x40190f(0x22f)](_0x1acb6c[_0x40190f(0x64b)])),_0x568ca5(0x9,_0x3c69d6[_0x40190f(0x30a)]),_0x568ca5(0xa,_0x3c69d6[_0x40190f(0x53f)]),_0x568ca5(0xb,_0x596d96['ITransformService']),_0x568ca5(0xc,_0x3c69d6[_0x40190f(0x5a2)])],_0x247a67);let _0x89837e=class extends _0x141825{constructor(_0x23536a,_0x5e8a9a,_0xc09b04,_0x5731f3,_0x46ef88,_0x44032a=!0x1,_0x302b87,_0xed93f2,_0x29e34f,_0x3a7dbd,_0x18252b,_0x162110,_0x194a67){const _0x2f156a=_0x40190f;super(_0x23536a,_0x5e8a9a,_0xc09b04,_0x5731f3,_0x46ef88,_0xed93f2,_0x29e34f,_0x18252b,_0x3a7dbd),_0x2a7d69(this,_0x2f156a(0x605),'conflict'),(this[_0x2f156a(0x5e4)]=_0x44032a,this[_0x2f156a(0x41b)]=_0x302b87,this[_0x2f156a(0x41e)]=_0x162110,this['_notificationService']=_0x194a67,this[_0x2f156a(0x666)](),this['_clearLocalCache'](),this[_0x2f156a(0x56e)]());}[_0x40190f(0x34b)](){return this;}[_0x40190f(0x50e)](){return this;}[_0x40190f(0x613)](){return this;}[_0x40190f(0x316)](){return this;}[_0x40190f(0x66e)](){return this;}[_0x40190f(0x3ca)](){return this;}[_0x40190f(0x28e)](){return this;}[_0x40190f(0x5d1)](){const _0x3cecd5=_0x40190f;throw new Error(_0x3cecd5(0x276));}['_clearLocalCache'](){const _0x152bb3=_0x40190f;this[_0x152bb3(0x572)][_0x152bb3(0x438)](this[_0x152bb3(0x233)],this[_0x152bb3(0x608)],null,[]);}[_0x40190f(0x666)](){const _0x2641ff=_0x40190f;this[_0x2641ff(0x5e4)]?this[_0x2641ff(0x36b)][_0x2641ff(0x3fe)]({'title':this['_localeService']['t'](_0x2641ff(0x1c7)),'content':this[_0x2641ff(0x41e)]['t'](_0x2641ff(0x49b)),'type':_0x2641ff(0x337),'duration':0x0}):this[_0x2641ff(0x36b)][_0x2641ff(0x3fe)]({'title':this[_0x2641ff(0x41e)]['t'](_0x2641ff(0x5ab)),'content':this['_localeService']['t']('conflict.content'),'type':_0x2641ff(0x337),'duration':0x0});}[_0x40190f(0x56e)](){const _0x25744e=_0x40190f;this[_0x25744e(0x41b)][_0x25744e(0x2b4)](new _0xcc5ca1['WorkbookEditablePermission'](this[_0x25744e(0x233)])['id'],!0x1);}};_0x89837e=_0x371c7a([_0x568ca5(0x6,_0x3c69d6[_0x40190f(0x22f)](_0x3c69d6['IPermissionService'])),_0x568ca5(0x7,_0x3c69d6['ICommandService']),_0x568ca5(0x8,_0x3c69d6[_0x40190f(0x5a2)]),_0x568ca5(0x9,_0x3c69d6['Inject'](_0x1acb6c['LocalCacheService'])),_0x568ca5(0xa,_0x3c69d6[_0x40190f(0x22f)](_0x596d96['RevisionService'])),_0x568ca5(0xb,_0x3c69d6[_0x40190f(0x22f)](_0x3c69d6[_0x40190f(0x600)])),_0x568ca5(0xc,_0x396190[_0x40190f(0x4b1)])],_0x89837e);let _0x5380e6=class extends _0x141825{constructor(_0x4a1746,_0x25395d,_0x2c4088,_0x31d6ef,_0x2b2f68,_0x2790fe,_0x771718,_0x11bb12,_0x22737e,_0x28121e){super(_0x4a1746,_0x25395d,_0x2c4088,_0x31d6ef,_0x2b2f68,_0x22737e,_0x28121e,_0x771718,_0x11bb12),_0x2a7d69(this,'status','offline'),this['_injector']=_0x2790fe;}['appendMutation'](_0x6bfee7){const _0x53ec39=_0x40190f;return this[_0x53ec39(0x4da)][_0x53ec39(0x568)](_0x6bfee7),this[_0x53ec39(0x2c1)](),this;}[_0x40190f(0x50e)](_0x531190){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x40190f(0x613)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x40190f(0x316)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x40190f(0x66e)](){return this;}[_0x40190f(0x3ca)](){return this;}[_0x40190f(0x28e)](){const _0x484b62=_0x40190f,{_injector:_0x15033d,_pendingMutations:_0x3aafde,_awaitingChangeset:_0x429ec1,unitID:_0x9abcc0,_handler:_0x25bb37,type:_0x45b30}=this,_0x2f6500=_0x2e9888(_0x15033d,_0x9abcc0,_0x45b30,_0x429ec1,_0x3aafde,_0x25bb37);return _0x2f6500 instanceof _0x5ecc34?_0x2f6500[_0x484b62(0x4d8)]():(_0x2f6500 instanceof _0x247a67||_0x2f6500 instanceof _0x5ab447)&&_0x2f6500[_0x484b62(0x5d1)](),_0x2f6500;}[_0x40190f(0x5d1)](){const _0x4b0b7a=_0x40190f;throw new Error(_0x4b0b7a(0x42a));}};_0x5380e6=_0x371c7a([_0x568ca5(0x5,_0x3c69d6['Inject'](_0x3c69d6[_0x40190f(0x2b3)])),_0x568ca5(0x6,_0x3c69d6['Inject'](_0x596d96['RevisionService'])),_0x568ca5(0x7,_0x3c69d6[_0x40190f(0x22f)](_0x1acb6c[_0x40190f(0x64b)])),_0x568ca5(0x8,_0x3c69d6[_0x40190f(0x30a)]),_0x568ca5(0x9,_0x3c69d6['IUndoRedoService'])],_0x5380e6);let _0x207597=class extends _0x141825{constructor(_0x5bfd81,_0x431eb1,_0x376012,_0x3e60b4,_0x2f91cd,_0x3e4bab,_0x3382f1,_0x1c48b1,_0x547cd1,_0x56716b,_0xf84751,_0x261f15,_0x11b0a3,_0x1b552f){const _0x18d965=_0x40190f;super(_0x5bfd81,_0x431eb1,_0x376012,_0x3e60b4,_0x3382f1,_0x261f15,_0x11b0a3,_0x547cd1,_0x56716b),_0x2a7d69(this,_0x18d965(0x605),_0x18d965(0x5dc)),(this[_0x18d965(0x562)]=_0x2f91cd,this[_0x18d965(0x440)]=_0x3e4bab,this['_injector']=_0x1c48b1,this[_0x18d965(0x58b)]=_0xf84751,this[_0x18d965(0x57a)]=_0x1b552f);}[_0x40190f(0x2b6)](_0x200c22){const _0x4b40aa=_0x40190f;try{const _0x3ac6ea=[..._0x200c22,...this[_0x4b40aa(0x440)]],_0x8f4768=[this[_0x4b40aa(0x2c9)]||this[_0x4b40aa(0x562)]]['filter'](_0x1c3ed5=>!!_0x1c3ed5);let _0x1b7369,_0x3686a9;if(_0x8f4768[_0x4b40aa(0x642)]){const _0x5a02fd=this[_0x4b40aa(0x57a)]['transformChangesets'](_0x3ac6ea,_0x8f4768,!0x1);if(!_0x596d96['isTransformChangesetsSuccess'](_0x5a02fd))throw _0x5a02fd[_0x4b40aa(0x337)];_0x1b7369=_0x5a02fd[_0x4b40aa(0x493)],_0x3686a9=_0x5a02fd[_0x4b40aa(0x1df)];}else _0x1b7369=_0x3ac6ea,_0x3686a9=[];let _0x7db67c=this[_0x4b40aa(0x4da)];_0x1b7369[_0x4b40aa(0x39f)](_0x5c2ac6=>{const _0x1492f8=_0x4b40aa;let _0x1eff5a;if(_0x7db67c[_0x1492f8(0x642)]){const _0x12d2af=this[_0x1492f8(0x57a)][_0x1492f8(0x475)](_0x5c2ac6,_0x7db67c);if(!_0x596d96['isTransformMutationsWithChangesetSuccess'](_0x12d2af))throw _0x12d2af[_0x1492f8(0x337)];_0x1eff5a=_0x12d2af['c1Prime'],_0x7db67c=_0x12d2af[_0x1492f8(0x339)];}else _0x1eff5a=_0x5c2ac6;this[_0x1492f8(0x499)](_0x1eff5a);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x4b40aa(0x2c9)]&&_0x3686a9[_0x4b40aa(0x642)]&&(_0x3686a9[0x0][_0x4b40aa(0x5df)]=this[_0x4b40aa(0x3b0)]());let _0x43bfca;if(this[_0x4b40aa(0x2c9)]&&_0x7db67c[_0x4b40aa(0x642)]!==0x0)_0x43bfca=this[_0x4b40aa(0x685)][_0x4b40aa(0x2fb)](_0x247a67,this[_0x4b40aa(0x233)],this['type'],_0x3686a9[0x0],_0x7db67c,this[_0x4b40aa(0x368)],void 0x0);else{if(this['_awaitingChangeset']&&_0x7db67c['length']===0x0)_0x3686a9[0x0][_0x4b40aa(0x5df)]=this['_getCurrentRevision'](),_0x43bfca=this[_0x4b40aa(0x685)][_0x4b40aa(0x2fb)](_0x5ab447,this['unitID'],this[_0x4b40aa(0x608)],_0x3686a9[0x0],this[_0x4b40aa(0x368)]);else{if(_0x7db67c[_0x4b40aa(0x642)]!==0x0){const _0x372d3e=this[_0x4b40aa(0x685)][_0x4b40aa(0x2fb)](_0x5ecc34,this[_0x4b40aa(0x233)],this[_0x4b40aa(0x608)],_0x7db67c,this['_handler']);_0x372d3e[_0x4b40aa(0x4d8)](),_0x43bfca=_0x372d3e;}else _0x43bfca=this[_0x4b40aa(0x685)][_0x4b40aa(0x2fb)](_0xefba8d,this['unitID'],this[_0x4b40aa(0x608)],this[_0x4b40aa(0x368)]);}}return _0x43bfca[_0x4b40aa(0x2c1)](),_0x43bfca;}catch(_0x2f6b79){return this['_logService']['error']('[FetchMissState]',_0x4b40aa(0x4d0),_0x2f6b79),this['_injector']['createInstance'](_0x89837e,this[_0x4b40aa(0x233)],this['type'],this[_0x4b40aa(0x2c9)],this['_pendingMutations'],this[_0x4b40aa(0x368)],!0x1);}}[_0x40190f(0x5d1)](){const _0xed7b5b=_0x40190f;throw new Error(_0xed7b5b(0x1e3));}[_0x40190f(0x34b)](_0x4b9271){const _0x4ea27c=_0x40190f;return this['_pendingMutations'][_0x4ea27c(0x568)](_0x4b9271),this;}[_0x40190f(0x50e)](_0x292eab){const _0x4a90a5=_0x40190f;return this[_0x4a90a5(0x440)]['push'](_0x292eab),this;}[_0x40190f(0x613)](_0x526dc5){const _0x567bb0=_0x40190f;if(this[_0x567bb0(0x2c9)])return this[_0x567bb0(0x562)]=this[_0x567bb0(0x2c9)],this[_0x567bb0(0x2c9)]=null,this;throw new Error(_0x567bb0(0x55d));}[_0x40190f(0x316)](_0x2a8ce4){const _0x5724e2=_0x40190f;return this[_0x5724e2(0x62d)](!!(_0x2a8ce4!=null&&_0x2a8ce4[_0x5724e2(0x311)]));}[_0x40190f(0x66e)](){return this;}[_0x40190f(0x3ca)](){const _0x34bd32=_0x40190f;return this[_0x34bd32(0x685)][_0x34bd32(0x2fb)](_0x5380e6,this[_0x34bd32(0x233)],this['type'],this[_0x34bd32(0x2c9)],this['_pendingMutations'],this[_0x34bd32(0x368)]);}['toggleOnline'](){return this;}['_onConflict'](_0x6fa94d){const _0x4049aa=_0x40190f;return this[_0x4049aa(0x685)][_0x4049aa(0x2fb)](_0x89837e,this[_0x4049aa(0x233)],this[_0x4049aa(0x608)],this[_0x4049aa(0x2c9)],this[_0x4049aa(0x4da)],this[_0x4049aa(0x368)],_0x6fa94d);}};_0x207597=_0x371c7a([_0x568ca5(0x7,_0x3c69d6[_0x40190f(0x22f)](_0x3c69d6[_0x40190f(0x2b3)])),_0x568ca5(0x8,_0x3c69d6['Inject'](_0x596d96[_0x40190f(0x527)])),_0x568ca5(0x9,_0x3c69d6[_0x40190f(0x22f)](_0x1acb6c[_0x40190f(0x64b)])),_0x568ca5(0xa,_0x3c69d6[_0x40190f(0x53f)]),_0x568ca5(0xb,_0x3c69d6[_0x40190f(0x30a)]),_0x568ca5(0xc,_0x3c69d6[_0x40190f(0x5a2)]),_0x568ca5(0xd,_0x596d96[_0x40190f(0x46f)])],_0x207597);function _0x2e9888(_0x16d540,_0x3d5792,_0x2216d9,_0x1d4173,_0x5c0735,_0x2f73b2){const _0x3b40a7=_0x40190f;return _0x1d4173&&_0x5c0735['length']?_0x16d540[_0x3b40a7(0x2fb)](_0x247a67,_0x3d5792,_0x2216d9,_0x1d4173,_0x5c0735,_0x2f73b2,void 0x0):_0x1d4173?_0x16d540[_0x3b40a7(0x2fb)](_0x5ab447,_0x3d5792,_0x2216d9,_0x1d4173,_0x2f73b2):_0x5c0735[_0x3b40a7(0x642)]?_0x16d540['createInstance'](_0x5ecc34,_0x3d5792,_0x2216d9,_0x5c0735,_0x2f73b2):_0x16d540['createInstance'](_0xefba8d,_0x3d5792,_0x2216d9,_0x2f73b2);}var _0x201287=Object[_0x40190f(0x1aa)],_0x13ca06=Object[_0x40190f(0x42f)],_0x2f8e31=(_0xc5a190,_0x24c442,_0x30aa67,_0x43205f)=>{for(var _0x3fd1a4=_0x43205f>0x1?void 0x0:_0x43205f?_0x13ca06(_0x24c442,_0x30aa67):_0x24c442,_0x4a8b0b=_0xc5a190['length']-0x1,_0x345d06;_0x4a8b0b>=0x0;_0x4a8b0b--)(_0x345d06=_0xc5a190[_0x4a8b0b])&&(_0x3fd1a4=(_0x43205f?_0x345d06(_0x24c442,_0x30aa67,_0x3fd1a4):_0x345d06(_0x3fd1a4))||_0x3fd1a4);return _0x43205f&&_0x3fd1a4&&_0x201287(_0x24c442,_0x30aa67,_0x3fd1a4),_0x3fd1a4;},_0x517a80=(_0x487d9e,_0x86d2e6)=>(_0x4f18cf,_0x13031a)=>_0x86d2e6(_0x4f18cf,_0x13031a,_0x487d9e);_0x1acb6c[_0x40190f(0x5af)]=class extends _0x3c69d6[_0x40190f(0x40e)]{constructor(_0x5a7e19,_0x23ad59,_0x42181a,_0x57cca5,_0x1b5a36,_0x5cf9ca,_0x2f5ca2,_0x5bd722,_0x4f5f8,_0x122eac,_0x50740e,_0x3ec1a1,_0x4ef8c5){const _0xf1c0bb=_0x40190f;super(),_0x2a7d69(this,_0xf1c0bb(0x46a),new _0x5c0235['BehaviorSubject'](null)),_0x2a7d69(this,_0xf1c0bb(0x35b),this[_0xf1c0bb(0x46a)][_0xf1c0bb(0x60c)]()),_0x2a7d69(this,_0xf1c0bb(0x3b2)),_0x2a7d69(this,_0xf1c0bb(0x5d3),!0x1),_0x2a7d69(this,_0xf1c0bb(0x448),''),_0x2a7d69(this,_0xf1c0bb(0x5a6),0x0),_0x2a7d69(this,_0xf1c0bb(0x3bc),this[_0xf1c0bb(0x35b)]['pipe'](_0x5c0235[_0xf1c0bb(0x479)](_0xb32f53=>_0xb32f53?_0xb32f53[_0xf1c0bb(0x605)]:_0x3b9e60[_0xf1c0bb(0x24e)]),_0x5c0235[_0xf1c0bb(0x466)](0x1))),_0x2a7d69(this,_0xf1c0bb(0x3a9),!0x1),_0x2a7d69(this,_0xf1c0bb(0x50c),[]),(this[_0xf1c0bb(0x233)]=_0x5a7e19,this['session']=_0x23ad59,this[_0xf1c0bb(0x2b1)]=_0x42181a,this['_injector']=_0x57cca5,this[_0xf1c0bb(0x572)]=_0x1b5a36,this[_0xf1c0bb(0x60d)]=_0x5cf9ca,this[_0xf1c0bb(0x41e)]=_0x2f5ca2,this[_0xf1c0bb(0x222)]=_0x5bd722,this['_logService']=_0x4f5f8,this[_0xf1c0bb(0x2a0)]=_0x122eac,this[_0xf1c0bb(0x5ae)]=_0x50740e,this[_0xf1c0bb(0x41b)]=_0x3ec1a1,this[_0xf1c0bb(0x425)]=_0x4ef8c5);}get[_0x40190f(0x668)](){const _0x3d1ad2=_0x40190f;return this[_0x3d1ad2(0x3b2)];}async[_0x40190f(0x22e)](){const _0x102a4f=_0x40190f;if(this[_0x102a4f(0x668)])throw new Error(_0x102a4f(0x235));await this[_0x102a4f(0x3fd)]();}[_0x40190f(0x3ed)](){const _0x466dc9=_0x40190f;return this[_0x466dc9(0x5d3)]=!0x0,_0x3c69d6[_0x466dc9(0x43b)](()=>{const _0x5495fa=_0x466dc9;this[_0x5495fa(0x5d3)]=!0x1,this[_0x5495fa(0x428)]();});}[_0x40190f(0x26b)](_0x123f35){const _0x4d8f90=_0x40190f;this[_0x4d8f90(0x3b2)]=_0x123f35,this[_0x4d8f90(0x46a)][_0x4d8f90(0x231)](_0x123f35);}async[_0x40190f(0x3fd)](){const _0xb7c97f=_0x40190f;var _0x5ef0a7;this[_0xb7c97f(0x26b)](await this[_0xb7c97f(0x296)]()),this[_0xb7c97f(0x425)]&&((_0x5ef0a7=this[_0xb7c97f(0x425)])==null||_0x5ef0a7[_0xb7c97f(0x3f8)](this[_0xb7c97f(0x233)]),this['disposeWithMe'](this[_0xb7c97f(0x425)][_0xb7c97f(0x243)](this[_0xb7c97f(0x233)])[_0xb7c97f(0x556)](_0x227ec8=>{const _0x1a85c4=_0xb7c97f;this['_logService'][_0x1a85c4(0x62e)](_0x1a85c4(0x3dc),_0x1a85c4(0x1db),_0x227ec8),_0x227ec8===_0x7c3df6['OTHER_CLIENTS_EDITING']?(this['_messageService']['show']({'content':this[_0x1a85c4(0x41e)]['t']('collaboration.single-unit.warning'),'type':_0x5bf787[_0x1a85c4(0x3e9)][_0x1a85c4(0x1cc)]}),this[_0x1a85c4(0x41b)][_0x1a85c4(0x2b4)](new _0xcc5ca1['WorkbookEditablePermission'](this[_0x1a85c4(0x233)])['id'],!0x1),this[_0x1a85c4(0x41b)][_0x1a85c4(0x36f)](!0x1)):(this[_0x1a85c4(0x41b)][_0x1a85c4(0x2b4)](new _0xcc5ca1[(_0x1a85c4(0x463))](this[_0x1a85c4(0x233)])['id'],!0x0),this[_0x1a85c4(0x41b)]['setShowComponents'](!0x0));})));let _0x50e8bd=!0x1;return this['disposeWithMe'](this[_0xb7c97f(0x33e)][_0xb7c97f(0x2d6)][_0xb7c97f(0x556)](_0xf0f8a3=>{const _0x54a639=_0xb7c97f;_0xf0f8a3===_0x440368[_0x54a639(0x4b2)]?this[_0x54a639(0x332)](_0x50e8bd):_0xf0f8a3===_0x440368[_0x54a639(0x24e)]&&(_0x50e8bd=!0x0,this[_0x54a639(0x230)]());})),this['disposeWithMe'](this[_0xb7c97f(0x33e)][_0xb7c97f(0x1be)]['subscribe'](_0x17ae6a=>{const _0x4ae1c4=_0xb7c97f;try{switch(_0x17ae6a['eventID']){case _0x596d96[_0x4ae1c4(0x376)][_0x4ae1c4(0x34f)]:{this[_0x4ae1c4(0x3b1)](_0x596d96['parseProtocolChangeset'](_0x17ae6a['data']));break;}case _0x596d96[_0x4ae1c4(0x376)][_0x4ae1c4(0x5c2)]:{this[_0x4ae1c4(0x66b)](_0x17ae6a[_0x4ae1c4(0x45c)]);break;}case _0x596d96[_0x4ae1c4(0x376)][_0x4ae1c4(0x2e1)]:{this[_0x4ae1c4(0x1d3)]();break;}case _0x596d96[_0x4ae1c4(0x376)][_0x4ae1c4(0x50d)]:{this[_0x4ae1c4(0x3e1)](_0x17ae6a[_0x4ae1c4(0x45c)]);break;}case _0x596d96[_0x4ae1c4(0x376)][_0x4ae1c4(0x5fc)]:{this[_0x4ae1c4(0x4f1)](_0x17ae6a[_0x4ae1c4(0x45c)]['changesets'][_0x4ae1c4(0x479)](_0x6017e1=>_0x596d96[_0x4ae1c4(0x62a)](_0x6017e1)));break;}case _0x596d96[_0x4ae1c4(0x376)]['PERMISSION_REJ']:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x346b8b){throw console['error'](_0x4ae1c4(0x2fd),_0x346b8b),_0x346b8b;}})),this['_state'];}[_0x40190f(0x26e)](){this['_transitionLocked']=!0x1;}[_0x40190f(0x34a)](){const _0x7e3f39=_0x40190f;if(this[_0x7e3f39(0x3a9)])throw new Error(_0x7e3f39(0x49a));this[_0x7e3f39(0x3a9)]=!0x0;}[_0x40190f(0x2d1)](_0x3e7acf){const _0x41c082=_0x40190f;this[_0x41c082(0x34a)](),this[_0x41c082(0x26b)](this[_0x41c082(0x3b2)][_0x41c082(0x34b)](_0x3e7acf)),this['_unlockTransition']();}[_0x40190f(0x3b1)](_0x5ef1f7){const _0x373f9a=_0x40190f;if(!(_0x5ef1f7[_0x373f9a(0x1ff)]<=this[_0x373f9a(0x222)][_0x373f9a(0x5ba)](this[_0x373f9a(0x233)]))){if(this[_0x373f9a(0x5d3)]){this[_0x373f9a(0x50c)][_0x373f9a(0x568)](_0x5ef1f7);return;}this['_applyRemoteChangeset'](_0x5ef1f7);}}[_0x40190f(0x428)](){const _0x3be645=_0x40190f;this[_0x3be645(0x50c)][_0x3be645(0x39f)](_0x4e1604=>this[_0x3be645(0x1bc)](_0x4e1604)),this[_0x3be645(0x50c)]=[];}[_0x40190f(0x1bc)](_0x3a14fb){const _0x246f54=_0x40190f,_0x1a4d25=this[_0x246f54(0x60d)]['interceptor'][_0x246f54(0x5d9)](this[_0x246f54(0x60d)][_0x246f54(0x560)][_0x246f54(0x326)]()[_0x246f54(0x3e7)])(_0x3a14fb[_0x246f54(0x1ba)],null)||_0x3a14fb[_0x246f54(0x1ba)],_0x130a5e={..._0x3a14fb,'mutations':_0x1a4d25};this[_0x246f54(0x34a)](),this['_updateState'](this[_0x246f54(0x3b2)][_0x246f54(0x50e)](_0x130a5e)),this[_0x246f54(0x26e)]();}[_0x40190f(0x66b)](_0x4f9b50){const _0x4961d6=_0x40190f;this[_0x4961d6(0x34a)](),this[_0x4961d6(0x26b)](this[_0x4961d6(0x3b2)][_0x4961d6(0x613)](_0x4f9b50)),this[_0x4961d6(0x26e)]();}[_0x40190f(0x1d3)](_0x9f70b0){const _0x366783=_0x40190f;this[_0x366783(0x34a)](),this[_0x366783(0x26b)](this[_0x366783(0x3b2)]['onRemoteRej'](_0x9f70b0)),this[_0x366783(0x26e)]();}[_0x40190f(0x3e1)](_0x2da757){const _0x2fdfff=_0x40190f;this['_lockTransition'](),this[_0x2fdfff(0x26b)](this[_0x2fdfff(0x3b2)][_0x2fdfff(0x66e)](_0x2da757)),this[_0x2fdfff(0x26e)]();}[_0x40190f(0x4f1)](_0x19e0df){const _0x4c5698=_0x40190f;if(!(this[_0x4c5698(0x3b2)]instanceof _0x207597))throw new TypeError(_0x4c5698(0x588));const _0x402dd6=_0x19e0df['map'](_0x55c751=>{const _0x5938db=_0x4c5698,_0x684abc=this['_compressMutationService'][_0x5938db(0x560)]['fetchThroughInterceptors'](this[_0x5938db(0x60d)]['interceptor'][_0x5938db(0x326)]()[_0x5938db(0x3e7)])(_0x55c751[_0x5938db(0x1ba)],null)||_0x55c751['mutations'];return{..._0x55c751,'mutations':_0x684abc};});this[_0x4c5698(0x34a)](),this['_updateState'](this[_0x4c5698(0x3b2)]['onMissedChangesetFetched'](_0x402dd6)),this['_unlockTransition']();}[_0x40190f(0x230)](){const _0x2031a8=_0x40190f;this[_0x2031a8(0x34a)](),this[_0x2031a8(0x26b)](this['_state'][_0x2031a8(0x3ca)]()),this[_0x2031a8(0x26e)]();}[_0x40190f(0x332)](_0x4dd098=!0x1){const _0x3064a3=_0x40190f;this[_0x3064a3(0x34a)](),this[_0x3064a3(0x26b)](this[_0x3064a3(0x3b2)]['toggleOnline']()),this[_0x3064a3(0x26e)]();const _0x287120=this[_0x3064a3(0x3b2)];_0x4dd098&&_0x287120 instanceof _0xefba8d&&(this[_0x3064a3(0x34a)](),this[_0x3064a3(0x26b)](_0x287120['fetchMiss']()),this[_0x3064a3(0x26e)]());}async['_createInitialState'](){return new Promise(_0x19060f=>{const _0x581d59=_0x3b61;this[_0x581d59(0x33e)]['sessionStatus$'][_0x581d59(0x38c)](_0x5c0235[_0x581d59(0x441)](0x1))[_0x581d59(0x556)](async _0x274d1e=>{const _0x7629d2=_0x581d59;_0x19060f(await this['_createInitialStateImpl'](_0x274d1e===_0x440368[_0x7629d2(0x4b2)]));});});}[_0x40190f(0x5ec)](){const _0x1318e6=this['unitID'];return{'onStateChange':(_0x27b622,_0x3ebd3e)=>{const _0x474e94=_0x3b61;if(_0x27b622!==this['_state'])throw new Error(_0x474e94(0x1fa)+_0x27b622['status']+_0x474e94(0x1ac)+_0x3ebd3e[_0x474e94(0x605)]+_0x474e94(0x454)+this['_state'][_0x474e94(0x605)]);this[_0x474e94(0x26b)](_0x3ebd3e);},'onSendChangeset':_0x166823=>{const _0x2b1128=_0x3b61;_0x166823[_0x2b1128(0x54e)]||(_0x166823['sid']=this[_0x2b1128(0x448)],_0x166823[_0x2b1128(0x434)]=++this[_0x2b1128(0x5a6)]);const _0x4cede3={'eventID':_0x596d96[_0x2b1128(0x376)][_0x2b1128(0x3de)],'data':{'unitID':_0x166823[_0x2b1128(0x233)],'unitType':this[_0x2b1128(0x2b1)],'changeset':_0x166823,'memberID':this[_0x2b1128(0x33e)]['getMemberID']()}};this[_0x2b1128(0x33e)][_0x2b1128(0x35f)](_0x4cede3,this['unitID']);},'onMissingChangesets':({from:_0x3bd694,to:_0x4c88ac})=>{const _0x570e1e=_0x3b61;this[_0x570e1e(0x58b)][_0x570e1e(0x62e)]('[CollaborationEntity]',_0x570e1e(0x41c)+_0x3bd694+_0x570e1e(0x417)+_0x4c88ac);const _0x3c0f99={'eventID':_0x596d96[_0x570e1e(0x376)][_0x570e1e(0x529)],'data':{'unitID':_0x1318e6,'unitType':this[_0x570e1e(0x2b1)],'from':_0x3bd694,'to':_0x4c88ac}};this[_0x570e1e(0x33e)]['send'](_0x3c0f99,this[_0x570e1e(0x233)]);}};}async[_0x40190f(0x594)](_0x3c8d14){const _0xaf1bb3=_0x40190f;var _0x355259,_0x1968e4;const _0x3ec243=await this[_0xaf1bb3(0x572)][_0xaf1bb3(0x1e8)](this[_0xaf1bb3(0x233)]),_0x68a309=(_0x355259=_0x3ec243==null?void 0x0:_0x3ec243[_0xaf1bb3(0x1ba)])!=null?_0x355259:[],_0x53c701=(_0x1968e4=_0x3ec243==null?void 0x0:_0x3ec243['awaitingChangeset'])!=null?_0x1968e4:null,_0x21f7db=!!(_0x53c701!=null&&_0x53c701[_0xaf1bb3(0x54e)])&&!!(_0x53c701!=null&&_0x53c701[_0xaf1bb3(0x434)]);this[_0xaf1bb3(0x448)]=_0x21f7db?_0x53c701[_0xaf1bb3(0x54e)]:_0x1c9d30(),this['_changesetReqId']=_0x21f7db?_0x53c701[_0xaf1bb3(0x434)]:0x0;const _0x968920=this['unitID'];try{this[_0xaf1bb3(0x1af)](_0x53c701,_0x68a309);}catch(_0x44070d){this[_0xaf1bb3(0x58b)][_0xaf1bb3(0x337)](_0x44070d);}const _0x578b90=this['_createHandler']();if(_0x3c8d14){const _0xd6a93a=_0x2e9888(this['_injector'],_0x968920,this[_0xaf1bb3(0x2b1)],_0x53c701,_0x68a309,_0x578b90);return _0xd6a93a instanceof _0x5ecc34?_0xd6a93a[_0xaf1bb3(0x4d8)]():(_0xd6a93a instanceof _0x247a67||_0xd6a93a instanceof _0x5ab447)&&_0xd6a93a[_0xaf1bb3(0x5d1)](),_0xd6a93a;}return this[_0xaf1bb3(0x685)][_0xaf1bb3(0x2fb)](_0x5380e6,_0x968920,this[_0xaf1bb3(0x2b1)],_0x53c701,_0x68a309,_0x578b90);}[_0x40190f(0x1af)](_0x7830f1,_0x33d6e3){const _0x18aed5=_0x40190f;var _0x497ed0,_0xfb91ea;const _0x2b27d6=this[_0x18aed5(0x60d)]['interceptor'][_0x18aed5(0x5d9)](this[_0x18aed5(0x60d)][_0x18aed5(0x560)]['getInterceptPoints']()[_0x18aed5(0x3e7)]);(_0x497ed0=_0x2b27d6((_0x7830f1==null?void 0x0:_0x7830f1[_0x18aed5(0x1ba)])||[],null))==null||_0x497ed0[_0x18aed5(0x39f)](_0x2c303f=>this[_0x18aed5(0x2a0)][_0x18aed5(0x50f)](_0x2c303f['id'],_0x2c303f[_0x18aed5(0x220)])),(_0xfb91ea=_0x2b27d6(_0x33d6e3||[],null))==null||_0xfb91ea[_0x18aed5(0x39f)](_0x5da1fe=>this[_0x18aed5(0x2a0)]['executeCommand'](_0x5da1fe['id'],_0x5da1fe[_0x18aed5(0x220)]));}},_0x1acb6c[_0x40190f(0x5af)]=_0x2f8e31([_0x517a80(0x3,_0x3c69d6['Inject'](_0x3c69d6['Injector'])),_0x517a80(0x4,_0x3c69d6['Inject'](_0x1acb6c['LocalCacheService'])),_0x517a80(0x5,_0x3c69d6[_0x40190f(0x22f)](_0x596d96[_0x40190f(0x1da)])),_0x517a80(0x6,_0x3c69d6[_0x40190f(0x22f)](_0x3c69d6[_0x40190f(0x600)])),_0x517a80(0x7,_0x3c69d6[_0x40190f(0x22f)](_0x596d96['RevisionService'])),_0x517a80(0x8,_0x3c69d6[_0x40190f(0x53f)]),_0x517a80(0x9,_0x3c69d6[_0x40190f(0x30a)]),_0x517a80(0xa,_0x396190[_0x40190f(0x24b)]),_0x517a80(0xb,_0x3c69d6['IPermissionService']),_0x517a80(0xc,_0x3c69d6[_0x40190f(0x1e2)](_0x51eda7))],_0x1acb6c[_0x40190f(0x5af)]),_0x1acb6c[_0x40190f(0x414)]=class extends _0x1acb6c[_0x40190f(0x5af)]{constructor(_0x12e4f3,_0x45cde9,_0x433f8c,_0x354314,_0x126865,_0x3b2f38,_0x5ec7b1,_0xa444e3,_0x202ac1,_0x16721a,_0x1ac31d,_0x23d27f,_0x431715,_0x15b452,_0x354bb5,_0x62ab28,_0x46ebd7,_0x2906a9){const _0x448ea3=_0x40190f;super(_0x12e4f3,_0x433f8c,_0x45cde9,_0x354314,_0x126865,_0x3b2f38,_0x5ec7b1,_0xa444e3,_0x15b452,_0x354bb5,_0x62ab28,_0x46ebd7,_0x2906a9),this[_0x448ea3(0x233)]=_0x12e4f3,this[_0x448ea3(0x608)]=_0x45cde9,this[_0x448ea3(0x67f)]=_0x202ac1,this['_docTransformIMECacheService']=_0x16721a,this['_docTransformStateCacheService']=_0x1ac31d,this['_docTransformSelectionsService']=_0x23d27f,this[_0x448ea3(0x1d9)]=_0x431715;}[_0x40190f(0x5ec)](){const _0x1cc7fa=_0x40190f,_0x24a170=super[_0x1cc7fa(0x5ec)]();return _0x24a170[_0x1cc7fa(0x60b)]=_0xce650=>this[_0x1cc7fa(0x301)][_0x1cc7fa(0x2d9)](_0xce650),_0x24a170[_0x1cc7fa(0x61a)]=_0x386e09=>this[_0x1cc7fa(0x2f6)][_0x1cc7fa(0x1bd)](_0x386e09),_0x24a170[_0x1cc7fa(0x532)]=_0x1377e8=>this[_0x1cc7fa(0x5b1)][_0x1cc7fa(0x56a)](_0x1377e8),_0x24a170[_0x1cc7fa(0x1c2)]=_0x1aa034=>this[_0x1cc7fa(0x1d9)][_0x1cc7fa(0x5e9)](_0x1aa034),_0x24a170[_0x1cc7fa(0x66d)]=_0xe31809=>this['_docTransformIMECacheService'][_0x1cc7fa(0x37e)](_0xe31809),_0x24a170['onTransformRemoteChangesetByStateCache']=_0x4f7fab=>this[_0x1cc7fa(0x2f6)][_0x1cc7fa(0x37e)](_0x4f7fab),_0x24a170;}async[_0x40190f(0x3fd)](){const _0x43b1f5=_0x40190f,_0x176daf=await super['_init']();return this[_0x43b1f5(0x4fb)](this['_docStateChangeManagerService']['docStateChange$']['pipe'](_0x5c0235[_0x43b1f5(0x4ad)](this[_0x43b1f5(0x33f)]))[_0x43b1f5(0x556)](_0x409ecc=>{const _0xe1799c=_0x43b1f5;if(_0x409ecc==null)return;const {unitId:_0x225451,redoState:_0x4cfba1,commandId:_0x4ff5ec}=_0x409ecc;if(_0x225451!==this[_0xe1799c(0x233)])return;const _0x5b3fc8={'id':_0x4ff5ec,'type':_0x3c69d6['CommandType']['MUTATION'],'params':{'unitId':_0x225451,'actions':_0x4cfba1[_0xe1799c(0x5f3)],'textRanges':null}};this[_0xe1799c(0x2d1)](_0x5b3fc8);})),this['disposeWithMe'](this[_0x43b1f5(0x2a0)]['onCommandExecuted']((_0x172fe3,_0x109ba9)=>{const _0x400a2a=_0x43b1f5;if(_0x172fe3[_0x400a2a(0x608)]!==_0x3c69d6[_0x400a2a(0x4eb)][_0x400a2a(0x51f)]||_0x109ba9!=null&&_0x109ba9[_0x400a2a(0x432)]||_0x109ba9!=null&&_0x109ba9['onlyLocal']||_0x172fe3['id']===_0x17eaec[_0x400a2a(0x656)]['id'])return;const _0x5d432b=_0x172fe3[_0x400a2a(0x220)];if((_0x5d432b==null?void 0x0:_0x5d432b[_0x400a2a(0x578)])!==this[_0x400a2a(0x233)])return;const _0x13a25b=_0x172fe3,_0x3c816e=this[_0x400a2a(0x60d)]['interceptor']['fetchThroughInterceptors'](this[_0x400a2a(0x60d)]['interceptor']['getInterceptPoints']()[_0x400a2a(0x5e7)])([_0x13a25b],null)||[_0x13a25b];this[_0x400a2a(0x2d1)](_0x3c816e[0x0]);})),_0x176daf;}},_0x1acb6c[_0x40190f(0x414)]=_0x2f8e31([_0x517a80(0x3,_0x3c69d6[_0x40190f(0x22f)](_0x3c69d6[_0x40190f(0x2b3)])),_0x517a80(0x4,_0x3c69d6[_0x40190f(0x22f)](_0x1acb6c[_0x40190f(0x64b)])),_0x517a80(0x5,_0x3c69d6[_0x40190f(0x22f)](_0x596d96[_0x40190f(0x1da)])),_0x517a80(0x6,_0x3c69d6[_0x40190f(0x22f)](_0x3c69d6[_0x40190f(0x600)])),_0x517a80(0x7,_0x3c69d6['Inject'](_0x596d96[_0x40190f(0x527)])),_0x517a80(0x8,_0x3c69d6[_0x40190f(0x22f)](_0xae8966['DocStateChangeManagerService'])),_0x517a80(0x9,_0x3c69d6[_0x40190f(0x22f)](_0x369138)),_0x517a80(0xa,_0x3c69d6[_0x40190f(0x22f)](_0x190ac8)),_0x517a80(0xb,_0x3c69d6['Inject'](_0x5126ec)),_0x517a80(0xc,_0x3c69d6[_0x40190f(0x22f)](_0x1668ae)),_0x517a80(0xd,_0x3c69d6[_0x40190f(0x53f)]),_0x517a80(0xe,_0x3c69d6[_0x40190f(0x30a)]),_0x517a80(0xf,_0x396190['IMessageService']),_0x517a80(0x10,_0x3c69d6[_0x40190f(0x457)]),_0x517a80(0x11,_0x3c69d6[_0x40190f(0x1e2)](_0x51eda7))],_0x1acb6c[_0x40190f(0x414)]),_0x1acb6c['SheetCollaborationEntity']=class extends _0x1acb6c['CollaborationEntity']{constructor(_0x2dc322,_0x377aeb,_0x2aa135,_0x1379c7,_0x2ec219,_0x49f9a8,_0x45346f,_0x211764,_0x1794b5,_0x58883a,_0xfab565,_0x2387b1,_0x207847,_0x8367db){const _0x1b0559=_0x40190f;super(_0x2dc322,_0x2aa135,_0x377aeb,_0x1379c7,_0x2ec219,_0x49f9a8,_0x45346f,_0x211764,_0x58883a,_0xfab565,_0x2387b1,_0x207847,_0x8367db),this[_0x1b0559(0x233)]=_0x2dc322,this[_0x1b0559(0x608)]=_0x377aeb,this[_0x1b0559(0x26f)]=_0x1794b5;}[_0x40190f(0x5ec)](){const _0x44901b=_0x40190f,_0xac1ad0=super[_0x44901b(0x5ec)]();return _0xac1ad0['onTransformSelections']=_0x3a45cd=>this[_0x44901b(0x26f)][_0x44901b(0x56a)](_0x3a45cd),_0xac1ad0;}async['_init'](){const _0x2a8cbe=_0x40190f,_0x422df4=await super[_0x2a8cbe(0x3fd)]();return this[_0x2a8cbe(0x4fb)](this[_0x2a8cbe(0x2a0)][_0x2a8cbe(0x603)]((_0x5437ce,_0x42efa3)=>{const _0x1216ae=_0x2a8cbe;if(_0x5437ce[_0x1216ae(0x608)]!==_0x3c69d6[_0x1216ae(0x4eb)][_0x1216ae(0x51f)]||_0x42efa3!=null&&_0x42efa3[_0x1216ae(0x432)]||_0x42efa3!=null&&_0x42efa3[_0x1216ae(0x336)])return;const _0x2e41ea=_0x5437ce['params'];if((_0x2e41ea==null?void 0x0:_0x2e41ea['unitId'])!==this[_0x1216ae(0x233)])return;const _0x2f084e=_0x5437ce,_0x1f42b6=this['_compressMutationService'][_0x1216ae(0x560)][_0x1216ae(0x5d9)](this[_0x1216ae(0x60d)]['interceptor'][_0x1216ae(0x326)]()[_0x1216ae(0x5e7)])([_0x2f084e],null)||[_0x2f084e];this[_0x1216ae(0x2d1)](_0x1f42b6[0x0]);})),_0x422df4;}},_0x1acb6c['SheetCollaborationEntity']=_0x2f8e31([_0x517a80(0x3,_0x3c69d6[_0x40190f(0x22f)](_0x3c69d6['Injector'])),_0x517a80(0x4,_0x3c69d6[_0x40190f(0x22f)](_0x1acb6c[_0x40190f(0x64b)])),_0x517a80(0x5,_0x3c69d6[_0x40190f(0x22f)](_0x596d96[_0x40190f(0x1da)])),_0x517a80(0x6,_0x3c69d6['Inject'](_0x3c69d6['LocaleService'])),_0x517a80(0x7,_0x3c69d6[_0x40190f(0x22f)](_0x596d96[_0x40190f(0x527)])),_0x517a80(0x8,_0x3c69d6['Inject'](_0x5ee5b7)),_0x517a80(0x9,_0x3c69d6[_0x40190f(0x53f)]),_0x517a80(0xa,_0x3c69d6[_0x40190f(0x30a)]),_0x517a80(0xb,_0x396190[_0x40190f(0x24b)]),_0x517a80(0xc,_0x3c69d6[_0x40190f(0x457)]),_0x517a80(0xd,_0x3c69d6[_0x40190f(0x1e2)](_0x51eda7))],_0x1acb6c[_0x40190f(0x355)]);var _0x59d089=Object[_0x40190f(0x1aa)],_0x59b663=Object[_0x40190f(0x42f)],_0x493ff9=(_0xd13af0,_0x3a76d3,_0x3f8f8e,_0x1883ec)=>{const _0x2b1ed0=_0x40190f;for(var _0x3520d6=_0x1883ec>0x1?void 0x0:_0x1883ec?_0x59b663(_0x3a76d3,_0x3f8f8e):_0x3a76d3,_0xee8682=_0xd13af0[_0x2b1ed0(0x642)]-0x1,_0x10ab10;_0xee8682>=0x0;_0xee8682--)(_0x10ab10=_0xd13af0[_0xee8682])&&(_0x3520d6=(_0x1883ec?_0x10ab10(_0x3a76d3,_0x3f8f8e,_0x3520d6):_0x10ab10(_0x3520d6))||_0x3520d6);return _0x1883ec&&_0x3520d6&&_0x59d089(_0x3a76d3,_0x3f8f8e,_0x3520d6),_0x3520d6;},_0x2941f2=(_0x1b53b8,_0x202e2b)=>(_0x19a8d6,_0x2c0d7a)=>_0x202e2b(_0x19a8d6,_0x2c0d7a,_0x1b53b8);_0x1acb6c[_0x40190f(0x1dc)]=class extends _0x3c69d6['RxDisposable']{constructor(_0x199442,_0x3aedbd,_0x7947fc){const _0x300762=_0x40190f;super(),_0x2a7d69(this,_0x300762(0x419),new Map()),_0x2a7d69(this,_0x300762(0x66a),new _0x5c0235[(_0x300762(0x39d))]()),(this[_0x300762(0x685)]=_0x199442,this[_0x300762(0x3f5)]=_0x3aedbd,this[_0x300762(0x557)]=_0x7947fc,this[_0x300762(0x3fd)]());}['dispose'](){const _0x240015=_0x40190f;super[_0x240015(0x1ec)](),this['_entities'][_0x240015(0x39f)](_0x563935=>_0x563935[_0x240015(0x1ec)]()),this[_0x240015(0x419)][_0x240015(0x612)]();}[_0x40190f(0x4e3)](_0x5d8adc){const _0x47610d=_0x40190f;var _0x12277f;return(_0x12277f=this[_0x47610d(0x419)][_0x47610d(0x27c)](_0x5d8adc))!=null?_0x12277f:null;}[_0x40190f(0x2ad)](_0x27c719){const _0x542cc6=_0x40190f,_0x10099f=this[_0x542cc6(0x4e3)](_0x27c719);return _0x10099f?_0x5c0235['of'](_0x10099f):this[_0x542cc6(0x66a)]['pipe'](_0x9ccac9[_0x542cc6(0x5d7)](_0xcd993=>_0xcd993['unitID']===_0x27c719));}[_0x40190f(0x3fd)](){const _0x4e1d85=_0x40190f;this[_0x4e1d85(0x557)][_0x4e1d85(0x1a4)](_0x3c69d6[_0x4e1d85(0x359)][_0x4e1d85(0x3e2)])[_0x4e1d85(0x38c)](_0x5c0235['takeUntil'](this['dispose$']),_0x9ccac9[_0x4e1d85(0x20d)](0x10))['subscribe'](async _0x2c8785=>{const _0x2fed03=_0x4e1d85,_0x114220=_0x2c8785[_0x2fed03(0x283)](),_0x5e887a=await this['_startCollaboration'](_0x114220,_0x10bfce[_0x2fed03(0x3e2)]);this[_0x2fed03(0x419)][_0x2fed03(0x2e4)](_0x114220,_0x5e887a);}),this[_0x4e1d85(0x557)][_0x4e1d85(0x1a4)](_0x3c69d6[_0x4e1d85(0x359)]['UNIVER_DOC'])[_0x4e1d85(0x38c)](_0x5c0235['takeUntil'](this['dispose$']),_0x9ccac9['delay'](0x10))[_0x4e1d85(0x38c)](_0x9ccac9['filter'](_0x52afa7=>!_0x52afa7[_0x4e1d85(0x283)]()[_0x4e1d85(0x3ad)]('__')))[_0x4e1d85(0x556)](async _0x1fec56=>{const _0x6e4da6=_0x4e1d85,_0x57ebed=_0x1fec56[_0x6e4da6(0x283)](),_0x2a49e5=await this[_0x6e4da6(0x1ea)](_0x57ebed,_0x10bfce['UNIVER_DOC']);this['_entities'][_0x6e4da6(0x2e4)](_0x57ebed,_0x2a49e5);}),_0x5c0235['merge'](this[_0x4e1d85(0x557)][_0x4e1d85(0x5c0)](_0x3c69d6[_0x4e1d85(0x359)][_0x4e1d85(0x3e2)]),this[_0x4e1d85(0x557)][_0x4e1d85(0x5c0)](_0x3c69d6['UniverInstanceType'][_0x4e1d85(0x2cb)]))[_0x4e1d85(0x38c)](_0x5c0235['takeUntil'](this[_0x4e1d85(0x33f)]))[_0x4e1d85(0x556)](_0x69be58=>{const _0x28f594=_0x4e1d85,_0x3642ba=_0x69be58[_0x28f594(0x283)](),_0x3520dc=this['_entities'][_0x28f594(0x27c)](_0x3642ba);_0x3520dc&&(_0x3520dc[_0x28f594(0x1ec)](),this['_entities'][_0x28f594(0x3fb)](_0x3642ba));});}async['_startCollaboration'](_0x16ab46,_0x392726){const _0x2cb858=_0x40190f,_0x2b48af=await this['_collabSessionService']['requireSession'](_0x16ab46),_0x43cc36=this['_injector'][_0x2cb858(0x2fb)](this[_0x2cb858(0x393)](_0x392726),_0x16ab46,_0x392726,_0x2b48af);return await _0x43cc36[_0x2cb858(0x22e)](),this['_entityInit$'][_0x2cb858(0x231)](_0x43cc36),_0x43cc36;}[_0x40190f(0x393)](_0x1490b2){const _0x42006a=_0x40190f;switch(_0x1490b2){case _0x10bfce[_0x42006a(0x2cb)]:return _0x1acb6c[_0x42006a(0x414)];case _0x10bfce['UNIVER_SHEET']:return _0x1acb6c[_0x42006a(0x355)];default:throw new Error(_0x42006a(0x623)+_0x1490b2);}}},_0x1acb6c[_0x40190f(0x1dc)]=_0x493ff9([_0x2941f2(0x0,_0x3c69d6[_0x40190f(0x22f)](_0x3c69d6[_0x40190f(0x2b3)])),_0x2941f2(0x1,_0x3c69d6[_0x40190f(0x22f)](_0x1acb6c[_0x40190f(0x228)])),_0x2941f2(0x2,_0x3c69d6[_0x40190f(0x2f8)])],_0x1acb6c[_0x40190f(0x1dc)]);var _0x884c11=Object[_0x40190f(0x1aa)],_0x4df1f4=Object['getOwnPropertyDescriptor'],_0x6f2f33=(_0x491d06,_0x26e2aa,_0x1a15ab,_0x2b7b59)=>{const _0x5b0194=_0x40190f;for(var _0x10dcc2=_0x2b7b59>0x1?void 0x0:_0x2b7b59?_0x4df1f4(_0x26e2aa,_0x1a15ab):_0x26e2aa,_0x1947c4=_0x491d06[_0x5b0194(0x642)]-0x1,_0x34c1b9;_0x1947c4>=0x0;_0x1947c4--)(_0x34c1b9=_0x491d06[_0x1947c4])&&(_0x10dcc2=(_0x2b7b59?_0x34c1b9(_0x26e2aa,_0x1a15ab,_0x10dcc2):_0x34c1b9(_0x10dcc2))||_0x10dcc2);return _0x2b7b59&&_0x10dcc2&&_0x884c11(_0x26e2aa,_0x1a15ab,_0x10dcc2),_0x10dcc2;},_0x9a5258=(_0x5a295a,_0x165459)=>(_0x59cf93,_0x4860d4)=>_0x165459(_0x59cf93,_0x4860d4,_0x5a295a);let _0x80c254=class extends _0x3c69d6[_0x40190f(0x40e)]{constructor(_0x542b7d,_0x14e260){super(),this['_docClipboardService']=_0x542b7d,this['_imageIoService']=_0x14e260,this['_init']();}[_0x40190f(0x3fd)](){const _0x3a68f8=_0x40190f,_0x86de28=this;this[_0x3a68f8(0x4fb)](this['_docClipboardService'][_0x3a68f8(0x4e8)]({'onBeforePasteImage':async _0x3c6ff0=>{const _0x439061=_0x3a68f8,_0x238ebc=await _0x86de28[_0x439061(0x5e5)]['saveImage'](_0x3c6ff0);return _0x238ebc?{'source':_0x238ebc[_0x439061(0x256)],'imageSourceType':_0x238ebc[_0x439061(0x3d9)]}:null;}}));}};_0x80c254=_0x6f2f33([_0x9a5258(0x0,_0xae8966[_0x40190f(0x4dd)]),_0x9a5258(0x1,_0x3e3268['IImageIoService'])],_0x80c254);const _0x40d825=[_0x40190f(0x622),_0x40190f(0x619),_0x40190f(0x5f2),_0x40190f(0x2da),_0x40190f(0x40d),_0x40190f(0x397)];class _0x3052c3 extends _0x3c69d6[_0x40190f(0x55f)]{constructor(){const _0x1b2f9b=_0x40190f;super(...arguments),_0x2a7d69(this,'_assignedColors',new Map()),_0x2a7d69(this,_0x1b2f9b(0x5f1),0x0);}['assignAColorForMemberID'](_0x4b93b2){const _0x3fceae=_0x40190f;if(this[_0x3fceae(0x26c)]['has'](_0x4b93b2))return this['_assignedColors']['get'](_0x4b93b2);const _0x4a1bf3=_0x40d825[this[_0x3fceae(0x5f1)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x40d825[_0x3fceae(0x642)],this[_0x3fceae(0x26c)][_0x3fceae(0x2e4)](_0x4b93b2,_0x4a1bf3),_0x4a1bf3;}}var _0x5088db=Object[_0x40190f(0x1aa)],_0x41af1c=Object[_0x40190f(0x42f)],_0xcd1a27=(_0x31715f,_0x57e8e5,_0x39c2f9,_0x1017d5)=>{const _0x100de5=_0x40190f;for(var _0x170b1b=_0x1017d5>0x1?void 0x0:_0x1017d5?_0x41af1c(_0x57e8e5,_0x39c2f9):_0x57e8e5,_0x50d2d0=_0x31715f[_0x100de5(0x642)]-0x1,_0x1f962a;_0x50d2d0>=0x0;_0x50d2d0--)(_0x1f962a=_0x31715f[_0x50d2d0])&&(_0x170b1b=(_0x1017d5?_0x1f962a(_0x57e8e5,_0x39c2f9,_0x170b1b):_0x1f962a(_0x170b1b))||_0x170b1b);return _0x1017d5&&_0x170b1b&&_0x5088db(_0x57e8e5,_0x39c2f9,_0x170b1b),_0x170b1b;},_0x5a0164=(_0x2e1e1f,_0x39be89)=>(_0x4bc577,_0x3e2979)=>_0x39be89(_0x4bc577,_0x3e2979,_0x2e1e1f);const _0x41d5be=0x12c,_0x39d10d=0x64;let _0x39b71d=class extends _0x3c69d6['RxDisposable']{constructor(_0x53d07c,_0x4eddff,_0x2ab88d,_0x44f81e,_0x57004d,_0x1c8e8d,_0x7e1c84,_0x891fff,_0x5ed4e8){const _0x58605e=_0x40190f;super(),_0x2a7d69(this,_0x58605e(0x40b),!0x1),_0x2a7d69(this,_0x58605e(0x3fd),!0x1),_0x2a7d69(this,_0x58605e(0x3cc),new _0x5c0235[(_0x58605e(0x45b))](new Map())),_0x2a7d69(this,_0x58605e(0x2e3),this[_0x58605e(0x3cc)]['asObservable']()),_0x2a7d69(this,_0x58605e(0x258),new _0x5c0235[(_0x58605e(0x45b))]([])),_0x2a7d69(this,_0x58605e(0x3b8),this[_0x58605e(0x258)]['pipe'](_0x5c0235[_0x58605e(0x50a)](_0x41d5be))),_0x2a7d69(this,_0x58605e(0x25d),_0x3c69d6[_0x58605e(0x39c)](_0x279b59=>{const _0x48431e=_0x58605e,_0x14ee78={'eventID':_0x596d96[_0x48431e(0x376)][_0x48431e(0x44b)],'data':{'unitID':this[_0x48431e(0x233)],'memberID':this[_0x48431e(0x59f)]['getMemberID'](),'selection':_0x2e2ed8(_0x279b59)}};this[_0x48431e(0x59f)][_0x48431e(0x35f)](_0x14ee78,this['unitID']);},_0x39d10d)),(this[_0x58605e(0x233)]=_0x53d07c,this[_0x58605e(0x59f)]=_0x4eddff,this[_0x58605e(0x685)]=_0x2ab88d,this['_colorAssignService']=_0x44f81e,this[_0x58605e(0x31f)]=_0x57004d,this[_0x58605e(0x5bd)]=_0x1c8e8d,this[_0x58605e(0x57a)]=_0x7e1c84,this[_0x58605e(0x557)]=_0x891fff,this['_commandService']=_0x5ed4e8);}get['cursorInfo'](){const _0x4da5b9=_0x40190f;return this['_cursorInfo$'][_0x4da5b9(0x625)]();}get['roomMembers'](){const _0x5f1b72=_0x40190f;return this[_0x5f1b72(0x258)][_0x5f1b72(0x625)]();}[_0x40190f(0x1ec)](){const _0x458f64=_0x40190f;super[_0x458f64(0x1ec)](),this[_0x458f64(0x3cc)]['next'](new Map()),this[_0x458f64(0x3cc)][_0x458f64(0x585)](),this['_roomMembers$'][_0x458f64(0x231)]([]),this[_0x458f64(0x258)]['complete']();}[_0x40190f(0x22e)](){const _0x314de6=_0x40190f;this[_0x314de6(0x3fd)]||(this['_init']=!0x0,this['_session']['sessionStatus$'][_0x314de6(0x38c)](_0x5c0235['takeUntil'](this[_0x314de6(0x33f)]))[_0x314de6(0x556)](_0x1091b=>{const _0x47f38c=_0x314de6;_0x1091b===_0x440368['ONLINE']?this[_0x47f38c(0x332)]():this['_toggleOffline']();}),this['_session']['event$'][_0x314de6(0x38c)](_0x5c0235[_0x314de6(0x4ad)](this[_0x314de6(0x33f)]))['subscribe'](_0x7ba1b6=>{const _0x1bedda=_0x314de6,_0x3c1464=_0x7ba1b6[_0x1bedda(0x2e8)];_0x3c1464===_0x596d96[_0x1bedda(0x376)][_0x1bedda(0x44b)]&&this['_onCursorUpdate'](_0x7ba1b6),_0x3c1464===_0x596d96[_0x1bedda(0x376)][_0x1bedda(0x1f2)]&&this[_0x1bedda(0x58c)](_0x7ba1b6);}),this['disposeWithMe'](this['_commandService'][_0x314de6(0x603)](_0x571a00=>{const _0x1ef0ea=_0x314de6,_0x3309c9=_0x571a00[_0x1ef0ea(0x220)];_0x3309c9!=null&&this[_0x1ef0ea(0x40b)]&&_0x571a00['id']===_0x17eaec[_0x1ef0ea(0x205)]['id']&&_0x3309c9[_0x1ef0ea(0x578)]===this[_0x1ef0ea(0x233)]&&_0x3309c9[_0x1ef0ea(0x4c8)]===!0x1&&_0x3309c9[_0x1ef0ea(0x4cc)][_0x1ef0ea(0x642)]>0x0&&this['_updateLocalCursor'](_0x3309c9[_0x1ef0ea(0x4cc)]);})),this[_0x314de6(0x5bd)][_0x314de6(0x5cd)]['pipe'](_0x5c0235[_0x314de6(0x4ad)](this[_0x314de6(0x33f)]))[_0x314de6(0x556)](_0x401377=>{const _0x3aab2b=_0x314de6;if((_0x401377==null?void 0x0:_0x401377[_0x3aab2b(0x233)])!==this[_0x3aab2b(0x233)])return;const _0x179ea8={'eventID':_0x596d96[_0x3aab2b(0x376)]['UPDATE_CURSOR'],'data':_0x401377};this[_0x3aab2b(0x2e6)](_0x179ea8);}),this['disposeWithMe'](this[_0x314de6(0x2a0)][_0x314de6(0x603)](_0x5c07ca=>{const _0x22a4cc=_0x314de6;if(_0x5c07ca[_0x22a4cc(0x220)]==null)return;const _0x22bec6=_0x5c07ca['params'];if(_0x5c07ca['id']!==_0x17eaec[_0x22a4cc(0x656)]['id']||_0x22bec6[_0x22a4cc(0x578)]!==this[_0x22a4cc(0x233)])return;const _0xfd5423={'id':_0x22a4cc(0x467),'params':_0x22bec6},_0xea3663=this[_0x22a4cc(0x2a7)];for(const [_0x4a876d,_0x1d0a26]of _0xea3663){const _0x8a5c2b={'id':_0x22a4cc(0x467),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x1d0a26[_0x22a4cc(0x4cc)]}},_0x384efc=this['_transformService'][_0x22a4cc(0x449)](_0xfd5423,_0x8a5c2b,!0x1);if(_0x596d96[_0x22a4cc(0x34d)](_0x384efc))throw _0x384efc[_0x22a4cc(0x337)];_0xea3663[_0x22a4cc(0x2e4)](_0x4a876d,{..._0x1d0a26,'ranges':_0x384efc[_0x22a4cc(0x339)][_0x22a4cc(0x220)][_0x22a4cc(0x2d8)]});}queueMicrotask(()=>{const _0x22f064=_0x22a4cc;this[_0x22f064(0x3cc)]['next'](_0xea3663);});})));}[_0x40190f(0x2e6)](_0x8f509f){const _0x404a31=_0x40190f;var _0x11c7be,_0x1a371f;const {memberID:_0x417bc6,selection:_0x3944e0}=_0x8f509f[_0x404a31(0x45c)],_0x40b10e=_0x4ae881(_0x3944e0),_0x634ed6=(_0x1a371f=(_0x11c7be=this[_0x404a31(0x31f)][_0x404a31(0x4f7)](this[_0x404a31(0x233)],_0x417bc6))==null?void 0x0:_0x11c7be[_0x404a31(0x36e)])!=null?_0x1a371f:_0x404a31(0x447),_0x175a93={'color':this[_0x404a31(0x298)]['assignAColorForMemberID'](_0x417bc6),'name':_0x634ed6,'ranges':_0x40b10e},_0x5d1300=this[_0x404a31(0x2a7)];_0x5d1300[_0x404a31(0x2e4)](_0x417bc6,_0x175a93),this[_0x404a31(0x3cc)]['next'](_0x5d1300);}[_0x40190f(0x58c)](_0x1d7430){const _0xe2d301=_0x40190f,{memberID:_0x36f4a7}=_0x1d7430[_0xe2d301(0x45c)],_0x4d36f1=this[_0xe2d301(0x2a7)];_0x4d36f1['delete'](_0x36f4a7),this['_cursorInfo$'][_0xe2d301(0x231)](_0x4d36f1);}['_toggleOnline'](){const _0x574347=_0x40190f;var _0x37e273;if(this[_0x574347(0x40b)]=!0x0,((_0x37e273=this['_univerInstanceService'][_0x574347(0x2c8)]())==null?void 0x0:_0x37e273['getUnitId']())!==this[_0x574347(0x233)])return;const _0x523ddf=this[_0x574347(0x685)][_0x574347(0x27c)](_0x17eaec[_0x574347(0x474)])['getDocRanges']();Array[_0x574347(0x21f)](_0x523ddf)&&_0x523ddf[_0x574347(0x642)]>0x0&&this['_updateLocalCursor'](_0x523ddf);}[_0x40190f(0x230)](){const _0x3740aa=_0x40190f;this[_0x3740aa(0x40b)]=!0x1;}};_0x39b71d=_0xcd1a27([_0x5a0164(0x2,_0x3c69d6[_0x40190f(0x22f)](_0x3c69d6[_0x40190f(0x2b3)])),_0x5a0164(0x3,_0x3c69d6['Inject'](_0x3052c3)),_0x5a0164(0x4,_0x3c69d6[_0x40190f(0x22f)](_0x1acb6c[_0x40190f(0x476)])),_0x5a0164(0x5,_0x3c69d6[_0x40190f(0x22f)](_0x1668ae)),_0x5a0164(0x6,_0x596d96[_0x40190f(0x46f)]),_0x5a0164(0x7,_0x3c69d6[_0x40190f(0x2f8)]),_0x5a0164(0x8,_0x3c69d6[_0x40190f(0x30a)])],_0x39b71d);var _0x192cb1=Object[_0x40190f(0x1aa)],_0x446e42=Object[_0x40190f(0x42f)],_0x1779b1=(_0x1608c4,_0x7c410c,_0x291f4a,_0x195775)=>{const _0x3101d6=_0x40190f;for(var _0x277e83=_0x195775>0x1?void 0x0:_0x195775?_0x446e42(_0x7c410c,_0x291f4a):_0x7c410c,_0xe98dab=_0x1608c4[_0x3101d6(0x642)]-0x1,_0x164122;_0xe98dab>=0x0;_0xe98dab--)(_0x164122=_0x1608c4[_0xe98dab])&&(_0x277e83=(_0x195775?_0x164122(_0x7c410c,_0x291f4a,_0x277e83):_0x164122(_0x277e83))||_0x277e83);return _0x195775&&_0x277e83&&_0x192cb1(_0x7c410c,_0x291f4a,_0x277e83),_0x277e83;},_0x2147fb=(_0x1e5d94,_0x3fe5bc)=>(_0x1eba63,_0x17205b)=>_0x3fe5bc(_0x1eba63,_0x17205b,_0x1e5d94);const _0x4639a5=0x12c,_0x4d8c63=0x64,_0x502705=()=>{let _0x28a5c0=[],_0x2db2fc=!0x1;return _0x35fb34=>{const _0x5d62f4=_0x3b61;_0x28a5c0[_0x5d62f4(0x568)](_0x35fb34),_0x2db2fc||(_0x2db2fc=!0x0,setTimeout(()=>{const _0x348a68=_0x5d62f4;_0x28a5c0[_0x348a68(0x39f)](_0x1e6cfb=>_0x1e6cfb()),_0x28a5c0=[],_0x2db2fc=!0x1;}));};};let _0xe387c3=class extends _0x3c69d6['RxDisposable']{constructor(_0x13dbd4,_0x451300,_0x349379,_0x5af31b,_0x5dccc0,_0x349956,_0x52c1db,_0x26b995){const _0x5cfb65=_0x40190f;super(),_0x2a7d69(this,_0x5cfb65(0x40b),!0x1),_0x2a7d69(this,_0x5cfb65(0x3fd),!0x1),_0x2a7d69(this,_0x5cfb65(0x3cc),new _0x5c0235[(_0x5cfb65(0x45b))](new Map())),_0x2a7d69(this,_0x5cfb65(0x2e3),this[_0x5cfb65(0x3cc)][_0x5cfb65(0x60c)]()),_0x2a7d69(this,'_roomMembers$',new _0x5c0235[(_0x5cfb65(0x45b))]([])),_0x2a7d69(this,_0x5cfb65(0x3b8),this['_roomMembers$'][_0x5cfb65(0x38c)](_0x5c0235['debounceTime'](_0x4639a5))),_0x2a7d69(this,_0x5cfb65(0x25d),_0x3c69d6[_0x5cfb65(0x39c)]((_0x59d17d,_0x52e5f8)=>{const _0x7b6e24=_0x5cfb65,_0x1cad78={'eventID':_0x596d96[_0x7b6e24(0x376)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x7b6e24(0x233)],'memberID':this[_0x7b6e24(0x59f)]['getMemberID'](),'selection':_0x4bb4b3[_0x7b6e24(0x51b)](_0x59d17d,_0x52e5f8[_0x7b6e24(0x550)])}};this[_0x7b6e24(0x59f)][_0x7b6e24(0x35f)](_0x1cad78,this[_0x7b6e24(0x233)]);},_0x4d8c63)),(this[_0x5cfb65(0x233)]=_0x13dbd4,this[_0x5cfb65(0x59f)]=_0x451300,this['_injector']=_0x349379,this[_0x5cfb65(0x298)]=_0x5af31b,this[_0x5cfb65(0x31f)]=_0x5dccc0,this[_0x5cfb65(0x557)]=_0x349956,this[_0x5cfb65(0x2a0)]=_0x52c1db,this[_0x5cfb65(0x24c)]=_0x26b995);}get[_0x40190f(0x2a7)](){const _0x307fa7=_0x40190f;return this[_0x307fa7(0x3cc)][_0x307fa7(0x625)]();}get[_0x40190f(0x3a4)](){const _0x36e94f=_0x40190f;return this['_roomMembers$'][_0x36e94f(0x625)]();}['dispose'](){const _0x47a899=_0x40190f;super[_0x47a899(0x1ec)](),this['_cursorInfo$'][_0x47a899(0x231)](new Map()),this[_0x47a899(0x3cc)][_0x47a899(0x585)](),this[_0x47a899(0x258)]['next']([]),this[_0x47a899(0x258)]['complete']();}[_0x40190f(0x22e)](){const _0x2f41c5=_0x40190f;this[_0x2f41c5(0x3fd)]||(this[_0x2f41c5(0x3fd)]=!0x0,this[_0x2f41c5(0x59f)][_0x2f41c5(0x2d6)][_0x2f41c5(0x38c)](_0x5c0235['takeUntil'](this[_0x2f41c5(0x33f)]))[_0x2f41c5(0x556)](_0x380d57=>{const _0x4bea35=_0x2f41c5;_0x380d57===_0x440368['ONLINE']?this[_0x4bea35(0x332)]():this[_0x4bea35(0x230)]();}),this[_0x2f41c5(0x59f)][_0x2f41c5(0x1be)][_0x2f41c5(0x38c)](_0x5c0235[_0x2f41c5(0x4ad)](this['dispose$']))['subscribe'](_0x42f6b6=>{const _0x1bb810=_0x2f41c5,_0x1b7d56=_0x42f6b6[_0x1bb810(0x2e8)];_0x1b7d56===_0x596d96[_0x1bb810(0x376)][_0x1bb810(0x44b)]&&this[_0x1bb810(0x2e6)](_0x42f6b6),_0x1b7d56===_0x596d96['CollaborationEvent'][_0x1bb810(0x1f2)]&&this['_onCursorDelete'](_0x42f6b6);}),this['_onRefRangeChange'](),this[_0x2f41c5(0x4fb)](this[_0x2f41c5(0x2a0)][_0x2f41c5(0x603)](_0x36bccd=>{const _0x4c6bec=_0x2f41c5;if(this[_0x4c6bec(0x40b)]&&_0x36bccd['id']===_0xcc5ca1[_0x4c6bec(0x1c8)]['id']&&_0x36bccd[_0x4c6bec(0x220)]['unitId']===this['unitID']){const _0x229d7c=_0x36bccd[_0x4c6bec(0x220)];this['_updateLocalCursor'](_0x229d7c['subUnitId'],_0x229d7c[_0x4c6bec(0x3aa)][0x0]);}})));}[_0x40190f(0x2e6)](_0x288fe8){const _0x595a2c=_0x40190f;var _0x4daa94,_0xc18bb1;const {memberID:_0x57cf1d,selection:_0x4fae7d}=_0x288fe8[_0x595a2c(0x45c)],{sheetName:_0x42721b,range:_0x35ea0f}=_0x4bb4b3[_0x595a2c(0x646)](_0x4fae7d),_0x51d9e8={'name':(_0xc18bb1=(_0x4daa94=this[_0x595a2c(0x31f)][_0x595a2c(0x4f7)](this[_0x595a2c(0x233)],_0x57cf1d))==null?void 0x0:_0x4daa94[_0x595a2c(0x36e)])!=null?_0xc18bb1:_0x595a2c(0x447),'range':this['_getMergeRange'](_0x42721b,_0x35ea0f),'sheetID':_0x42721b,'color':this['_colorAssignService'][_0x595a2c(0x1b0)](_0x57cf1d),'selection':_0x4fae7d},_0x466e2d=this['cursorInfo'];_0x466e2d[_0x595a2c(0x2e4)](_0x57cf1d,_0x51d9e8),this[_0x595a2c(0x3cc)][_0x595a2c(0x231)](_0x466e2d);}[_0x40190f(0x58c)](_0x136dc0){const _0x476473=_0x40190f,{memberID:_0x1bc09b}=_0x136dc0['data'],_0x37ad32=this[_0x476473(0x2a7)];_0x37ad32['delete'](_0x1bc09b),this[_0x476473(0x3cc)][_0x476473(0x231)](_0x37ad32);}['_getMergeRange'](_0x30bb56,_0x89e847){const _0x149cb5=_0x40190f;var _0x16a565,_0x5ab131;const _0x473dc7=(_0x5ab131=(_0x16a565=this['_univerInstanceService'][_0x149cb5(0x598)](this[_0x149cb5(0x233)]))==null?void 0x0:_0x16a565['getSheetBySheetId'](_0x30bb56))==null?void 0x0:_0x5ab131[_0x149cb5(0x2f0)]();return(_0x473dc7==null?void 0x0:_0x473dc7[_0x149cb5(0x394)](_0x49a5b7=>_0x3c69d6['Rectangle'][_0x149cb5(0x3be)](_0x49a5b7,_0x89e847)))||_0x89e847;}[_0x40190f(0x501)](){const _0x51305e=_0x40190f,_0x4d6e6c=new _0x3c69d6[(_0x51305e(0x25a))](),_0xa90350=_0x502705(),_0x41531e=()=>{const _0x4de22b=_0x51305e;_0x4d6e6c[_0x4de22b(0x1ec)]();const _0x5a1243=(_0x299d09,_0x1d37b4,_0x22caa5,_0x2e33e7)=>{const _0x379d69=_0x4de22b;let _0x370283=[];switch(_0x299d09['id']){case _0xcc5ca1['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x370283=_0xcc5ca1[_0x379d69(0x5a8)](_0x299d09,_0x2e33e7);break;}case _0xcc5ca1[_0x379d69(0x25e)][_0x379d69(0x645)]:{_0x370283=_0xcc5ca1['handleDeleteRangeMoveUp'](_0x299d09,_0x2e33e7);break;}case _0xcc5ca1['EffectRefRangId'][_0x379d69(0x3ab)]:{_0x370283=_0xcc5ca1[_0x379d69(0x400)](_0x299d09,_0x2e33e7);break;}case _0xcc5ca1['EffectRefRangId'][_0x379d69(0x3df)]:{_0x370283=_0xcc5ca1[_0x379d69(0x456)](_0x299d09,_0x2e33e7);break;}case _0xcc5ca1[_0x379d69(0x25e)][_0x379d69(0x497)]:{_0x370283=_0xcc5ca1[_0x379d69(0x2dc)](_0x299d09,_0x2e33e7);break;}case _0xcc5ca1[_0x379d69(0x25e)]['InsertRowCommandId']:{_0x370283=_0xcc5ca1[_0x379d69(0x4f2)](_0x299d09,_0x2e33e7);break;}case _0xcc5ca1[_0x379d69(0x25e)][_0x379d69(0x44d)]:{_0x370283=_0xcc5ca1[_0x379d69(0x521)](_0x299d09,_0x2e33e7);break;}case _0xcc5ca1['EffectRefRangId'][_0x379d69(0x29c)]:{_0x370283=_0xcc5ca1[_0x379d69(0x321)](_0x299d09,_0x2e33e7);break;}case _0xcc5ca1['EffectRefRangId'][_0x379d69(0x464)]:{_0x370283=_0xcc5ca1['handleIRemoveRow'](_0x299d09,_0x2e33e7);break;}}const _0x1a57f0=_0xcc5ca1[_0x379d69(0x2b0)](_0x370283,_0x2e33e7),_0x292b74=this[_0x379d69(0x2a7)][_0x379d69(0x27c)](_0x1d37b4);if(_0x292b74&&_0x1a57f0){const _0x3fadd3={..._0x292b74,'range':_0x1a57f0};this['cursorInfo'][_0x379d69(0x2e4)](_0x1d37b4,_0x3fadd3),_0xa90350(()=>{const _0x49ac34=_0x379d69,_0x2965c2=this[_0x49ac34(0x24c)][_0x49ac34(0x671)](_0x1a57f0,_0x4cfd0d=>(_0x2965c2[_0x49ac34(0x1ec)](),_0x5a1243(_0x4cfd0d,_0x1d37b4,_0x22caa5,_0x1a57f0)));_0x4d6e6c[_0x49ac34(0x206)](_0x2965c2);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x4de22b(0x39f)]((_0x4dfa0e,_0x54fce4)=>{const _0x38bd18=_0x4de22b,{range:_0x544a03,sheetID:_0x402858}=_0x4dfa0e,_0x5c2872=this['_refRangeService']['registerRefRange'](_0x544a03,_0x2e9680=>(_0x5c2872[_0x38bd18(0x1ec)](),_0x5a1243(_0x2e9680,_0x54fce4,_0x402858,_0x544a03)));_0x4d6e6c['add'](_0x5c2872);});};this['disposeWithMe'](_0x3c69d6[_0x51305e(0x43b)](this[_0x51305e(0x3cc)][_0x51305e(0x556)](()=>{_0x41531e();})));}[_0x40190f(0x332)](){const _0x56c4af=_0x40190f;var _0x5fa438,_0x3f3e0b;if(this[_0x56c4af(0x40b)]=!0x0,((_0x5fa438=this[_0x56c4af(0x557)]['getFocusedUnit']())==null?void 0x0:_0x5fa438[_0x56c4af(0x283)]())!==this[_0x56c4af(0x233)])return;const _0x256945=(_0x3f3e0b=this[_0x56c4af(0x685)][_0x56c4af(0x27c)](_0xcc5ca1[_0x56c4af(0x3a2)])['getCurrentSelections']())==null?void 0x0:_0x3f3e0b[0x0],_0xcfa258=this['_univerInstanceService'][_0x56c4af(0x575)](_0x3c69d6['UniverInstanceType']['UNIVER_SHEET'])['getActiveSheet']();_0x256945&&_0xcfa258&&this[_0x56c4af(0x25d)](_0xcfa258['getSheetId'](),_0x256945);}[_0x40190f(0x230)](){const _0x2d9521=_0x40190f;this[_0x2d9521(0x40b)]=!0x1;}};_0xe387c3=_0x1779b1([_0x2147fb(0x2,_0x3c69d6['Inject'](_0x3c69d6['Injector'])),_0x2147fb(0x3,_0x3c69d6[_0x40190f(0x22f)](_0x3052c3)),_0x2147fb(0x4,_0x3c69d6[_0x40190f(0x22f)](_0x1acb6c[_0x40190f(0x476)])),_0x2147fb(0x5,_0x3c69d6[_0x40190f(0x2f8)]),_0x2147fb(0x6,_0x3c69d6[_0x40190f(0x30a)]),_0x2147fb(0x7,_0x3c69d6[_0x40190f(0x22f)](_0xcc5ca1[_0x40190f(0x245)]))],_0xe387c3);var _0x30105c=Object[_0x40190f(0x1aa)],_0x46e6fc=Object[_0x40190f(0x42f)],_0x2ea674=(_0x26ec56,_0x427541,_0x2a6c97,_0x3fa965)=>{const _0x2dd8b9=_0x40190f;for(var _0x54b935=_0x3fa965>0x1?void 0x0:_0x3fa965?_0x46e6fc(_0x427541,_0x2a6c97):_0x427541,_0x2c6502=_0x26ec56[_0x2dd8b9(0x642)]-0x1,_0x2d6013;_0x2c6502>=0x0;_0x2c6502--)(_0x2d6013=_0x26ec56[_0x2c6502])&&(_0x54b935=(_0x3fa965?_0x2d6013(_0x427541,_0x2a6c97,_0x54b935):_0x2d6013(_0x54b935))||_0x54b935);return _0x3fa965&&_0x54b935&&_0x30105c(_0x427541,_0x2a6c97,_0x54b935),_0x54b935;},_0x37470c=(_0x3e4dfc,_0x50bb16)=>(_0x57ae90,_0x3eeb19)=>_0x50bb16(_0x57ae90,_0x3eeb19,_0x3e4dfc);let _0x146d6a=class extends _0x3c69d6[_0x40190f(0x40e)]{constructor(_0x230545,_0x556239,_0x4d8771){const _0xc2b5c2=_0x40190f;super(),_0x2a7d69(this,_0xc2b5c2(0x419),new Map()),_0x2a7d69(this,_0xc2b5c2(0x66a),new _0x5c0235[(_0xc2b5c2(0x39d))]()),(this[_0xc2b5c2(0x557)]=_0x230545,this[_0xc2b5c2(0x685)]=_0x556239,this[_0xc2b5c2(0x3f5)]=_0x4d8771,this[_0xc2b5c2(0x3fd)]());}['dispose'](){const _0x4c1e3f=_0x40190f;super[_0x4c1e3f(0x1ec)](),this[_0x4c1e3f(0x66a)][_0x4c1e3f(0x585)](),this['_entities'][_0x4c1e3f(0x39f)](_0x719ef=>_0x719ef[_0x4c1e3f(0x1ec)]());}[_0x40190f(0x384)](_0x50a143){const _0x55aecf=_0x40190f;return this[_0x55aecf(0x419)]['has'](_0x50a143)?this[_0x55aecf(0x419)]['get'](_0x50a143)[_0x55aecf(0x2e3)]:this[_0x55aecf(0x66a)][_0x55aecf(0x38c)](_0x5c0235[_0x55aecf(0x5d7)](_0x3dfb20=>_0x3dfb20['unitID']===_0x50a143),_0x5c0235['switchMap'](_0x1d9d44=>_0x1d9d44[_0x55aecf(0x2e3)]));}['_init'](){const _0x1b408a=_0x40190f;this['_univerInstanceService'][_0x1b408a(0x1a4)](_0x3c69d6[_0x1b408a(0x359)][_0x1b408a(0x3e2)])['pipe'](_0x5c0235[_0x1b408a(0x4ad)](this[_0x1b408a(0x33f)]))['subscribe'](async _0x1af79b=>{const _0x4ee0e8=_0x1b408a,_0x7234a1=_0x1af79b['getUnitId'](),_0x8677a8=await this[_0x4ee0e8(0x56f)](_0x7234a1);this[_0x4ee0e8(0x66a)][_0x4ee0e8(0x231)](_0x8677a8),this[_0x4ee0e8(0x419)][_0x4ee0e8(0x2e4)](_0x7234a1,_0x8677a8);}),this[_0x1b408a(0x557)][_0x1b408a(0x1a4)](_0x3c69d6['UniverInstanceType'][_0x1b408a(0x2cb)])['pipe'](_0x5c0235[_0x1b408a(0x4ad)](this[_0x1b408a(0x33f)]))['pipe'](_0x5c0235[_0x1b408a(0x5d7)](_0x4c81ea=>!_0x4c81ea['getUnitId']()[_0x1b408a(0x3ad)]('__')))[_0x1b408a(0x556)](async _0x273d72=>{const _0x1a008b=_0x1b408a,_0x26ed49=_0x273d72[_0x1a008b(0x283)](),_0x44b0a1=await this['_startDocCollabCursor'](_0x26ed49);this[_0x1a008b(0x66a)][_0x1a008b(0x231)](_0x44b0a1),this[_0x1a008b(0x419)][_0x1a008b(0x2e4)](_0x26ed49,_0x44b0a1);}),_0x5c0235['merge'](this[_0x1b408a(0x557)]['getTypeOfUnitDisposed$'](_0x3c69d6[_0x1b408a(0x359)][_0x1b408a(0x2cb)]),this[_0x1b408a(0x557)][_0x1b408a(0x5c0)](_0x3c69d6[_0x1b408a(0x359)]['UNIVER_SHEET']))[_0x1b408a(0x38c)](_0x5c0235[_0x1b408a(0x4ad)](this[_0x1b408a(0x33f)]))[_0x1b408a(0x556)](_0x2c70ce=>{const _0x4d06fd=_0x1b408a,_0x1c1cc8=_0x2c70ce[_0x4d06fd(0x283)](),_0x3292f2=this[_0x4d06fd(0x419)]['get'](_0x1c1cc8);_0x3292f2&&(_0x3292f2['dispose'](),this[_0x4d06fd(0x419)]['delete'](_0x1c1cc8));});}async['_startSheetCollabCursor'](_0x5dc83e){const _0x23ce0a=_0x40190f,_0x134937=await this[_0x23ce0a(0x3f5)][_0x23ce0a(0x4aa)](_0x5dc83e),_0xefbbc=this[_0x23ce0a(0x685)]['createInstance'](_0xe387c3,_0x5dc83e,_0x134937);return _0xefbbc[_0x23ce0a(0x22e)](),_0xefbbc;}async[_0x40190f(0x216)](_0x5765ba){const _0x3c3e16=_0x40190f,_0x4e0b79=await this[_0x3c3e16(0x3f5)]['requireSession'](_0x5765ba),_0x13790c=this['_injector'][_0x3c3e16(0x2fb)](_0x39b71d,_0x5765ba,_0x4e0b79);return _0x13790c[_0x3c3e16(0x22e)](),_0x13790c;}};_0x146d6a=_0x2ea674([_0x37470c(0x0,_0x3c69d6[_0x40190f(0x2f8)]),_0x37470c(0x1,_0x3c69d6[_0x40190f(0x22f)](_0x3c69d6[_0x40190f(0x2b3)])),_0x37470c(0x2,_0x3c69d6['Inject'](_0x1acb6c[_0x40190f(0x228)]))],_0x146d6a);const _0x56b2a9=0x14,_0xfcba35=0xc8,_0x12f401=0x4,_0x2c2db2=0x5;function _0x38f924(_0x51e298,_0x4a17ef){const _0x2d7f69=_0x40190f;let {radius:_0x3cf0c4,width:_0x1bf616,height:_0x3633d3}=_0x4a17ef;_0x3cf0c4=_0x3cf0c4!=null?_0x3cf0c4:0x0,_0x1bf616=_0x1bf616!=null?_0x1bf616:0x1e,_0x3633d3=_0x3633d3!=null?_0x3633d3:0x1e;let _0x3c8633=0x0,_0x97d060=0x0,_0x34678b=0x0;_0x3c8633=_0x97d060=_0x34678b=Math[_0x2d7f69(0x468)](_0x3cf0c4,_0x1bf616/0x2,_0x3633d3/0x2),_0x51e298[_0x2d7f69(0x4c6)](),_0x51e298[_0x2d7f69(0x443)](_0x3c8633,0x0),_0x51e298[_0x2d7f69(0x4c1)](_0x1bf616-_0x97d060,0x0),_0x51e298[_0x2d7f69(0x3ba)](_0x1bf616-_0x97d060,_0x97d060,_0x97d060,Math['PI']*0x3/0x2,0x0,!0x1),_0x51e298[_0x2d7f69(0x4c1)](_0x1bf616,_0x3633d3-_0x34678b),_0x51e298[_0x2d7f69(0x3ba)](_0x1bf616-_0x34678b,_0x3633d3-_0x34678b,_0x34678b,0x0,Math['PI']/0x2,!0x1),_0x51e298[_0x2d7f69(0x4c1)](0x0,_0x3633d3),_0x51e298[_0x2d7f69(0x4c1)](0x0,_0x3c8633),_0x51e298[_0x2d7f69(0x3ba)](_0x3c8633,_0x3c8633,_0x3c8633,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x51e298['closePath'](),_0x4a17ef[_0x2d7f69(0x1d6)]&&(_0x51e298[_0x2d7f69(0x5b7)](),_0x51e298['fillStyle']=_0x4a17ef[_0x2d7f69(0x1d6)],_0x4a17ef[_0x2d7f69(0x595)]===_0x2d7f69(0x445)?_0x51e298[_0x2d7f69(0x1d6)](_0x2d7f69(0x445)):_0x51e298['fill'](),_0x51e298[_0x2d7f69(0x5bc)]());}class _0x355949 extends _0x3ee1ce[_0x40190f(0x4d1)]{constructor(_0x15cc50,_0x4553aa){const _0x3bf225=_0x40190f;super(_0x15cc50,_0x4553aa),_0x2a7d69(this,'color'),_0x2a7d69(this,'text'),(this[_0x3bf225(0x38e)]=_0x4553aa==null?void 0x0:_0x4553aa['color'],this['text']=_0x4553aa==null?void 0x0:_0x4553aa[_0x3bf225(0x212)]);}static[_0x40190f(0x1b7)](_0x5d4413,_0x4e6e4b){const _0x2143bd=_0x40190f,{text:_0x307785,color:_0xcb0a44}=_0x4e6e4b;_0x5d4413['save'](),_0x5d4413[_0x2143bd(0x385)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x3f0d93=_0x5d4413[_0x2143bd(0x5be)](_0x307785)[_0x2143bd(0x55b)],_0x55593a=Math[_0x2143bd(0x468)](_0x3f0d93+0x2*_0x12f401,_0xfcba35);_0x38f924(_0x5d4413,{'height':_0x56b2a9,'radius':0x4,'width':_0x55593a,'fill':_0xcb0a44,'evented':!0x1}),_0x5d4413['fillStyle']='#FFF';const _0x5491df=_0x12f401,_0x31b230=_0x56b2a9-_0x2c2db2,_0x352b0a=_0xfcba35-0x2*_0x12f401;if(_0x3f0d93>_0x352b0a){let _0x22f2d7='',_0x3c18d2=0x0;for(const _0x236f27 of _0x307785){const _0x32716f=_0x5d4413[_0x2143bd(0x5be)](_0x236f27)[_0x2143bd(0x55b)];if(_0x3c18d2+_0x32716f<=_0x352b0a-_0x5d4413[_0x2143bd(0x5be)](_0x2143bd(0x1f6))[_0x2143bd(0x55b)])_0x22f2d7+=_0x236f27,_0x3c18d2+=_0x32716f;else{_0x22f2d7+='...';break;}}_0x5d4413['fillText'](_0x22f2d7,_0x5491df,_0x31b230);}else _0x5d4413[_0x2143bd(0x54c)](_0x307785,_0x5491df,_0x31b230);_0x5d4413['restore']();}['_draw'](_0x33015b){const _0x2b395a=_0x40190f;_0x355949[_0x2b395a(0x1b7)](_0x33015b,this);}}const _0x3694bc=_0x40190f(0x68d),_0x4ef242='collab-text-range-',_0x533b01='collab-rect-range-',_0x42c8f2=0x6,_0x29f902=1.5,_0x5f03ee=0x4,_0x1fb272=1.5,_0x20fe8c=_0x40190f(0x3b4);class _0x3d1803{constructor(_0x327557,_0x330ebe,_0x11afc1,_0x795647){const _0x12e6bd=_0x40190f;_0x2a7d69(this,'_shapes',[]),_0x2a7d69(this,_0x12e6bd(0x335),null),_0x2a7d69(this,_0x12e6bd(0x2ab),null),_0x2a7d69(this,_0x12e6bd(0x289),null),_0x2a7d69(this,_0x12e6bd(0x47c),null),_0x2a7d69(this,'_eventUnsubscribe',null),(this[_0x12e6bd(0x54b)]=_0x327557,this[_0x12e6bd(0x48c)]=_0x330ebe,this[_0x12e6bd(0x589)]=_0x11afc1,this[_0x12e6bd(0x5c9)]=_0x795647,this[_0x12e6bd(0x273)]());}set['_hover'](_0x3efbe5){const _0x18508f=_0x40190f;_0x3efbe5?(this[_0x18508f(0x289)]&&this[_0x18508f(0x289)][_0x18508f(0x1d7)](),this['_textBubble']&&this[_0x18508f(0x2ab)][_0x18508f(0x3fe)]()):(this[_0x18508f(0x289)]&&this['_anchorDot'][_0x18508f(0x3fe)](),this['_textBubble']&&this[_0x18508f(0x2ab)][_0x18508f(0x1d7)]());}[_0x40190f(0x1ec)](){const _0x51df2b=_0x40190f;for(const _0x257e57 of this['_shapes'])_0x257e57[_0x51df2b(0x1ec)]();this[_0x51df2b(0x2ab)]&&this['_textBubble'][_0x51df2b(0x1ec)](),this['_anchorDot']&&this[_0x51df2b(0x289)]['dispose'](),this[_0x51df2b(0x335)]&&this['_anchor']['dispose'](),this[_0x51df2b(0x39e)]&&this['_eventUnsubscribe']();}[_0x40190f(0x273)](){const _0x47aa2e=_0x40190f;var _0xae1968;const {_docSkeleton:_0x10adcc,_document:_0x2a63a2}=this,{color:_0x58943f,name:_0x484ab3,ranges:_0x5b20b9}=this[_0x47aa2e(0x54b)],_0x39a2aa=_0x2a63a2['getOffsetConfig'](),{docsLeft:_0x8b6f25,docsTop:_0x431ab9}=_0x39a2aa,_0x260c71=new _0xae8966[(_0x47aa2e(0x3bb))](_0x39a2aa,_0x10adcc);for(const {startOffset:_0x2d3f96,endOffset:_0x4fbf8e,rangeType:_0x3b4bc6,segmentId:_0x3b5341,segmentPage:_0x24b860,collapsed:_0x3adb0b,isActive:_0xa06317}of _0x5b20b9){const _0x1583ad=_0x10adcc[_0x47aa2e(0x346)](_0x2d3f96,!0x0,_0x3b5341,_0x24b860);let _0x12a174=_0x10adcc[_0x47aa2e(0x346)](_0x4fbf8e,!0x0,_0x3b5341,_0x24b860);if(_0x12a174==null&&(_0x12a174=_0x10adcc[_0x47aa2e(0x346)](_0x4fbf8e-0x1,!0x1,_0x3b5341,_0x24b860)),_0xa06317){const {contentBoxPointGroup:_0x1ccd25}=_0x260c71[_0x47aa2e(0x2ba)](_0x12a174,_0x12a174);if(_0x1ccd25[_0x47aa2e(0x642)]===0x0)continue;this[_0x47aa2e(0x4b5)](_0x58943f,_0x1ccd25,_0x8b6f25,_0x431ab9,_0x484ab3),this[_0x47aa2e(0x39e)]=this[_0x47aa2e(0x44e)]();}if(_0x1583ad&&_0x12a174){if(_0x3b4bc6===_0x3c69d6[_0x47aa2e(0x2bc)]['RECT']){const _0x4eba9c=new _0xae8966[(_0x47aa2e(0x617))](_0x39a2aa,_0x10adcc),{pointGroup:_0x6af375}=(_0xae1968=_0x4eba9c[_0x47aa2e(0x2ba)](_0x1583ad,_0x12a174))!=null?_0xae1968:{};if(_0x6af375==null||_0x6af375[_0x47aa2e(0x642)]===0x0)continue;this[_0x47aa2e(0x25c)](_0x58943f,_0x6af375,_0x8b6f25,_0x431ab9);}else{if(!_0x3adb0b){const {borderBoxPointGroup:_0x4724ef}=_0x260c71[_0x47aa2e(0x2ba)](_0x1583ad,_0x12a174);if(_0x4724ef['length']===0x0)continue;this['_drawTextRange'](_0x58943f,_0x4724ef,_0x8b6f25,_0x431ab9);}}}}}[_0x40190f(0x4b5)](_0x75a07d,_0xc55d6a,_0x5387ef,_0xe39f01,_0x94b88b){const _0x24e469=_0x40190f,_0x4921c6=this['_getAnchorBounding'](_0xc55d6a),{left:_0x384c57,top:_0x249790,height:_0x5edbd8}=_0x4921c6,_0x4019f1=this['_getScale'](),_0x411db5=_0x1fb272/_0x4019f1,_0x4f398e=new _0x3ee1ce[(_0x24e469(0x257))](_0x3694bc+_0x3c69d6['Tools'][_0x24e469(0x5d6)](_0x42c8f2),{'left':_0x384c57+_0x5387ef-_0x411db5,'top':_0x249790+_0xe39f01,'height':_0x5edbd8,'width':_0x29f902,'fill':_0x75a07d||_0x3ee1ce[_0x24e469(0x1c9)](_0x3c69d6['COLORS'][_0x24e469(0x537)],0x0),'strokeWidth':_0x411db5,'stroke':_0x20fe8c,'evented':!0x0});this[_0x24e469(0x335)]=_0x4f398e,this[_0x24e469(0x48c)]['addObject'](_0x4f398e,_0xae8966[_0x24e469(0x48f)]);const _0x473123=new _0x3ee1ce[(_0x24e469(0x257))](_0x3694bc+_0x3c69d6[_0x24e469(0x281)][_0x24e469(0x5d6)](_0x42c8f2),{'left':_0x384c57+_0x5387ef-_0x411db5,'top':_0x249790+_0xe39f01-_0x5f03ee/0x2,'height':_0x5f03ee,'width':_0x5f03ee,'fill':_0x75a07d||_0x3ee1ce['getColor'](_0x3c69d6[_0x24e469(0x1b4)][_0x24e469(0x537)],0x0),'strokeWidth':0x0,'stroke':_0x75a07d||_0x3ee1ce['getColor'](_0x3c69d6['COLORS'][_0x24e469(0x537)],0x0),'evented':!0x1});this[_0x24e469(0x289)]=_0x473123,this[_0x24e469(0x48c)][_0x24e469(0x2a3)](_0x473123,_0xae8966['TEXT_RANGE_LAYER_INDEX']);const _0x476768=new _0x355949(_0x3694bc+_0x3c69d6[_0x24e469(0x281)][_0x24e469(0x5d6)](_0x42c8f2),{'left':_0x384c57+_0x5387ef-_0x411db5,'top':_0x249790+_0xe39f01-_0x56b2a9,'text':_0x94b88b,'color':_0x75a07d});this[_0x24e469(0x2ab)]=_0x476768,this[_0x24e469(0x48c)][_0x24e469(0x2a3)](_0x476768,_0xae8966[_0x24e469(0x48f)]),this[_0x24e469(0x5eb)]=!0x1;}[_0x40190f(0x44e)](){const _0x37eda0=_0x40190f,_0x13c450=this['_anchor'][_0x37eda0(0x5c3)]['subscribeEvent'](()=>{const _0x32f948=_0x37eda0;this[_0x32f948(0x5eb)]=!0x0;}),_0x544fec=this['_anchor'][_0x37eda0(0x31e)][_0x37eda0(0x59b)](()=>{const _0x2c82a8=_0x37eda0;this[_0x2c82a8(0x47c)]&&clearTimeout(this[_0x2c82a8(0x47c)]),this['_hideTimer']=setTimeout(()=>{const _0x221594=_0x2c82a8;this[_0x221594(0x5eb)]=!0x1;},0x7d0);});return()=>{const _0x963ec8=_0x37eda0;_0x13c450[_0x963ec8(0x616)](),_0x544fec['unsubscribe']();};}[_0x40190f(0x380)](_0x321a22,_0x16197d,_0x24a676,_0x42af2e){const _0x182595=_0x40190f,_0x2a3490=new _0x3c69d6[(_0x182595(0x1cb))](_0x321a22)[_0x182595(0x42d)](0.2)[_0x182595(0x39b)](),_0x6b55bb=new _0x3ee1ce[(_0x182595(0x4b0))](_0x4ef242+_0x3c69d6[_0x182595(0x281)][_0x182595(0x5d6)](_0x42c8f2),{'pointsGroup':_0x16197d,'fill':_0x2a3490||_0x3ee1ce['getColor'](_0x3c69d6[_0x182595(0x1b4)][_0x182595(0x537)],0.2),'left':_0x24a676,'top':_0x42af2e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x182595(0x22c)][_0x182595(0x568)](_0x6b55bb),this[_0x182595(0x48c)]['addObject'](_0x6b55bb,_0xae8966[_0x182595(0x48f)]);}[_0x40190f(0x25c)](_0x285e5f,_0x4903e4,_0x473963,_0x56ee51){const _0x5d20d2=_0x40190f,_0x46f92e=new _0x3c69d6[(_0x5d20d2(0x1cb))](_0x285e5f)[_0x5d20d2(0x42d)](0.2)['toRgbString'](),_0x33fe3d=new _0x3ee1ce['RegularPolygon'](_0x533b01+_0x3c69d6[_0x5d20d2(0x281)][_0x5d20d2(0x5d6)](_0x42c8f2),{'pointsGroup':_0x4903e4,'fill':_0x46f92e||_0x3ee1ce[_0x5d20d2(0x1c9)](_0x3c69d6[_0x5d20d2(0x1b4)]['black'],0.2),'left':_0x473963,'top':_0x56ee51,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5d20d2(0x22c)][_0x5d20d2(0x568)](_0x33fe3d),this[_0x5d20d2(0x48c)]['addObject'](_0x33fe3d,_0xae8966[_0x5d20d2(0x48f)]);}[_0x40190f(0x4f0)](_0x33c284){const _0x4085bb=_0x33c284[0x0],_0x36adb0=_0x4085bb[0x0],_0x4893b7=_0x4085bb[0x2],{x:_0x26c2ab,y:_0xd5a7ae}=_0x36adb0,{x:_0x37b727,y:_0x42f38d}=_0x4893b7;return{'left':_0x26c2ab,'top':_0xd5a7ae,'width':_0x37b727-_0x26c2ab,'height':_0x42f38d-_0xd5a7ae};}[_0x40190f(0x4ac)](){const _0x2c2ce1=_0x40190f,{scaleX:_0x5ee598,scaleY:_0x23b822}=this[_0x2c2ce1(0x48c)][_0x2c2ce1(0x63f)]();return Math['max'](_0x5ee598,_0x23b822);}}var _0x30e375=Object[_0x40190f(0x1aa)],_0x4ab60c=Object[_0x40190f(0x42f)],_0x2f9217=(_0x283d9b,_0x40d465,_0x1e8a3e,_0x4c7d4c)=>{for(var _0x480a59=_0x4c7d4c>0x1?void 0x0:_0x4c7d4c?_0x4ab60c(_0x40d465,_0x1e8a3e):_0x40d465,_0x44be3f=_0x283d9b['length']-0x1,_0x2eb4bb;_0x44be3f>=0x0;_0x44be3f--)(_0x2eb4bb=_0x283d9b[_0x44be3f])&&(_0x480a59=(_0x4c7d4c?_0x2eb4bb(_0x40d465,_0x1e8a3e,_0x480a59):_0x2eb4bb(_0x480a59))||_0x480a59);return _0x4c7d4c&&_0x480a59&&_0x30e375(_0x40d465,_0x1e8a3e,_0x480a59),_0x480a59;},_0xdf5fe3=(_0x55d869,_0x36067d)=>(_0x4c8d56,_0x55e4a4)=>_0x36067d(_0x4c8d56,_0x55e4a4,_0x55d869);let _0x3d30b9=class extends _0x3c69d6['RxDisposable']{constructor(_0xeff596,_0x2c77e7,_0x4b23a3,_0x58e908,_0x36ef33){const _0x37ad86=_0x40190f;super(),_0x2a7d69(this,_0x37ad86(0x259),[]),_0x2a7d69(this,_0x37ad86(0x356),[]),(this[_0x37ad86(0x687)]=_0xeff596,this['_docSkeletonManagerService']=_0x2c77e7,this[_0x37ad86(0x214)]=_0x4b23a3,this['_commandService']=_0x58e908,this[_0x37ad86(0x62c)]=_0x36ef33,this[_0x37ad86(0x3fd)]());}[_0x40190f(0x3fd)](){const _0x5702bd=_0x40190f,_0x3594d2=this[_0x5702bd(0x687)]['unitId'],_0x57721b=this[_0x5702bd(0x42b)];this['disposeWithMe'](_0x5c0235['combineLatest']([this[_0x5702bd(0x214)]['getCollabCursors$'](_0x3594d2),this[_0x5702bd(0x62c)][_0x5702bd(0x59e)]])['pipe'](_0x9ccac9[_0x5702bd(0x479)](([_0x422e46,_0x5177f9])=>({'skeleton':_0x57721b[_0x5702bd(0x611)](),'cursors':[..._0x422e46['values']()][_0x5702bd(0x561)](_0x5eee7a=>({..._0x5eee7a,'color':_0x5177f9[_0x5eee7a[_0x5702bd(0x38e)]]}))})))['subscribe'](_0x2dd02f=>{const _0x4c48fa=_0x5702bd;if(this['_removeCollabCursors'](),_0x2dd02f){const {skeleton:_0x2fc0bb,cursors:_0xbb95f0}=_0x2dd02f;this[_0x4c48fa(0x27f)](_0x2fc0bb,_0xbb95f0);}})),this['_initResize'](),this[_0x5702bd(0x28d)]();}[_0x40190f(0x27f)](_0x445d7b,_0x4610c4){const _0x33e8da=_0x40190f,{scene:_0x2047aa,mainComponent:_0x2c833b}=this['_context'],_0x314559=_0x4610c4[_0x33e8da(0x479)](_0x23a08d=>new _0x3d1803(_0x23a08d,_0x2047aa,_0x445d7b,_0x2c833b));this['_cursorShapes']=_0x314559,this[_0x33e8da(0x356)]=_0x4610c4;}[_0x40190f(0x307)](){const _0x5eef4b=_0x40190f;this[_0x5eef4b(0x304)]();const {scene:_0x2c66b9,mainComponent:_0x188b1d}=this['_context'],_0x1fa733=this[_0x5eef4b(0x42b)]['getSkeleton'](),_0x4c793b=this[_0x5eef4b(0x356)][_0x5eef4b(0x479)](_0x534043=>new _0x3d1803(_0x534043,_0x2c66b9,_0x1fa733,_0x188b1d));this['_cursorShapes']=_0x4c793b;}[_0x40190f(0x304)](){const _0x5ee3d9=_0x40190f;this[_0x5ee3d9(0x259)][_0x5ee3d9(0x39f)](_0x585252=>_0x585252[_0x5ee3d9(0x1ec)]()),this[_0x5ee3d9(0x259)]=[];}['_initCommandExecutedListener'](){const _0xf53d40=_0x40190f,_0x5600a3=[_0xae8966[_0xf53d40(0x63e)]['id']];this[_0xf53d40(0x4fb)](this['_commandService'][_0xf53d40(0x603)](_0x36c5ec=>{const _0x1491ab=_0xf53d40;_0x5600a3[_0x1491ab(0x30e)](_0x36c5ec['id'])&&_0x36c5ec['params'][_0x1491ab(0x578)]===this[_0x1491ab(0x687)]['unitId']&&this[_0x1491ab(0x307)]();}));}[_0x40190f(0x272)](){const _0x552ec7=_0x40190f;this[_0x552ec7(0x4fb)](_0x3c69d6[_0x552ec7(0x28f)](this[_0x552ec7(0x687)][_0x552ec7(0x3d5)]['onTransformChange$'])['pipe'](_0x9ccac9[_0x552ec7(0x5d7)](_0x233046=>_0x233046[_0x552ec7(0x608)]===_0x3ee1ce[_0x552ec7(0x469)][_0x552ec7(0x4df)]),_0x9ccac9[_0x552ec7(0x488)](0x10))[_0x552ec7(0x556)](()=>{const _0x3f34d2=_0x552ec7;this[_0x3f34d2(0x307)]();}));}};_0x3d30b9=_0x2f9217([_0xdf5fe3(0x1,_0x3c69d6[_0x40190f(0x22f)](_0x17eaec['DocSkeletonManagerService'])),_0xdf5fe3(0x2,_0x3c69d6[_0x40190f(0x22f)](_0x146d6a)),_0xdf5fe3(0x3,_0x3c69d6[_0x40190f(0x30a)]),_0xdf5fe3(0x4,_0x3c69d6['Inject'](_0x3c69d6[_0x40190f(0x4e6)]))],_0x3d30b9);const _0x13295f=0x1,_0x1fa7a1=1.5;class _0x224b59 extends _0x3ee1ce[_0x40190f(0x4d1)]{constructor(_0x52b6b7,_0x5d22e6){const _0x5238a1=_0x40190f;super(_0x52b6b7,_0x5d22e6),_0x2a7d69(this,'_color'),_0x2a7d69(this,_0x5238a1(0x224),!0x1),_0x2a7d69(this,_0x5238a1(0x3af)),_0x2a7d69(this,_0x5238a1(0x27a),''),_0x2a7d69(this,_0x5238a1(0x52e),_0x5238a1(0x577)),_0x2a7d69(this,_0x5238a1(0x531)),(_0x5d22e6&&this[_0x5238a1(0x5ff)](_0x5d22e6),this['onPointerEnter$'][_0x5238a1(0x59b)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x5238a1(0x5ff)]({'hovered':!0x1})));}[_0x40190f(0x5ff)](_0xdede8a){const _0x382624=_0x40190f;var _0x5395ab,_0x300ddc,_0x46f02c,_0x3b6728,_0xe8a4a,_0x5db56f;this[_0x382624(0x567)]=(_0x5395ab=_0xdede8a[_0x382624(0x38e)])!=null?_0x5395ab:this['_color'],this[_0x382624(0x224)]=(_0x300ddc=_0xdede8a[_0x382624(0x4f8)])!=null?_0x300ddc:this[_0x382624(0x224)],this[_0x382624(0x3af)]=(_0x46f02c=_0xdede8a[_0x382624(0x550)])!=null?_0x46f02c:this[_0x382624(0x3af)],this['_name']=(_0x3b6728=_0xdede8a[_0x382624(0x36e)])!=null?_0x3b6728:this[_0x382624(0x27a)],this[_0x382624(0x52e)]=(_0xe8a4a=_0xdede8a[_0x382624(0x5a9)])!=null?_0xe8a4a:this[_0x382624(0x52e)],this[_0x382624(0x531)]=(_0x5db56f=_0xdede8a[_0x382624(0x340)])!=null?_0x5db56f:this['_backgroundColor'],this[_0x382624(0x429)]({'width':_0xdede8a[_0x382624(0x55b)],'height':_0xdede8a[_0x382624(0x232)]});}[_0x40190f(0x4a0)](_0x16b7e2){const _0x303c57=_0x40190f,{row:_0x2d2c3f,column:_0x4f9ffc}=_0x16b7e2;if(_0x2d2c3f>=this['_range'][_0x303c57(0x268)]&&_0x2d2c3f<=this[_0x303c57(0x3af)][_0x303c57(0x1d5)]&&_0x4f9ffc>=this[_0x303c57(0x3af)][_0x303c57(0x1b3)]&&_0x4f9ffc<=this[_0x303c57(0x3af)][_0x303c57(0x495)]){this[_0x303c57(0x5ff)]({'hovered':!0x0});return;}this[_0x303c57(0x5ff)]({'hovered':!0x1});}[_0x40190f(0x67c)](_0x4c3784){return!0x1;}['_draw'](_0x24246d){const _0x31c931=_0x40190f;_0x3ee1ce[_0x31c931(0x257)][_0x31c931(0x1b7)](_0x24246d,{'width':this[_0x31c931(0x55b)],'height':this['height'],'strokeWidth':_0x1fa7a1,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x31c931(0x224)]&&(_0x24246d['save'](),_0x24246d[_0x31c931(0x40a)](0x1,0x0,0x0,0x1,this[_0x31c931(0x55b)],this[_0x31c931(0x52e)]===_0x31c931(0x4b3)?0x0:-_0x56b2a9),_0x355949[_0x31c931(0x1b7)](_0x24246d,{'text':this[_0x31c931(0x27a)],'color':this[_0x31c931(0x567)]}),_0x24246d[_0x31c931(0x5bc)]());}}var _0x1bd11f=Object[_0x40190f(0x1aa)],_0x5b8fcd=Object['getOwnPropertyDescriptor'],_0x317b40=(_0x584a6d,_0x230075,_0x191e2f,_0x34d790)=>{const _0x1dc246=_0x40190f;for(var _0x8711f8=_0x34d790>0x1?void 0x0:_0x34d790?_0x5b8fcd(_0x230075,_0x191e2f):_0x230075,_0x1a3213=_0x584a6d[_0x1dc246(0x642)]-0x1,_0x27130b;_0x1a3213>=0x0;_0x1a3213--)(_0x27130b=_0x584a6d[_0x1a3213])&&(_0x8711f8=(_0x34d790?_0x27130b(_0x230075,_0x191e2f,_0x8711f8):_0x27130b(_0x8711f8))||_0x8711f8);return _0x34d790&&_0x8711f8&&_0x1bd11f(_0x230075,_0x191e2f,_0x8711f8),_0x8711f8;},_0x73d4fd=(_0x37aa60,_0x38fadf)=>(_0x1607bf,_0x1908f4)=>_0x38fadf(_0x1607bf,_0x1908f4,_0x37aa60);const _0x26b817=0x1389;let _0x4aa552=class extends _0x3c69d6[_0x40190f(0x40e)]{constructor(_0x583fb3,_0x318fbc,_0x38e74e,_0x1cebb8){const _0x331d68=_0x40190f;super(),_0x2a7d69(this,'_cursors',new Set()),_0x2a7d69(this,'_lastPointer',null),(this[_0x331d68(0x687)]=_0x583fb3,this[_0x331d68(0x3b9)]=_0x318fbc,this[_0x331d68(0x214)]=_0x38e74e,this[_0x331d68(0x62c)]=_0x1cebb8,this[_0x331d68(0x3fd)]());}[_0x40190f(0x3fd)](){const _0x310ede=_0x40190f;this[_0x310ede(0x3b9)][_0x310ede(0x30d)][_0x310ede(0x38c)](_0x9ccac9[_0x310ede(0x4ad)](this['dispose$']),_0x9ccac9[_0x310ede(0x3f6)](_0xf18d6b=>{const _0x2eb71d=_0x310ede;if(_0xf18d6b){const _0x5d5102=_0xf18d6b['sheetId'];return _0x5c0235['combineLatest'](this[_0x2eb71d(0x214)][_0x2eb71d(0x384)](this[_0x2eb71d(0x687)][_0x2eb71d(0x578)]),this[_0x2eb71d(0x62c)]['currentTheme$'])[_0x2eb71d(0x38c)](_0x9ccac9[_0x2eb71d(0x479)](([_0x516344,_0x56d4e8])=>{const _0x1bf9fb=new Map();return _0x516344['forEach']((_0x25d8b8,_0x12cf75)=>{const _0x34d4af=_0x3b61;if(_0x25d8b8[_0x34d4af(0x593)]===_0x5d5102){const _0x11b2c8={..._0x25d8b8};_0x11b2c8[_0x34d4af(0x38e)]=_0x56d4e8[_0x25d8b8[_0x34d4af(0x38e)]],_0x1bf9fb[_0x34d4af(0x2e4)](_0x12cf75,_0x11b2c8);}}),{'skeleton':_0xf18d6b,'cursors':_0x1bf9fb};}));}return _0x5c0235['of']({'skeleton':null,'cursors':new Map()});}))[_0x310ede(0x556)](({skeleton:_0x21b260,cursors:_0x3e7b39})=>{const _0x4086ed=_0x310ede;this[_0x4086ed(0x304)](),_0x21b260&&this[_0x4086ed(0x27f)](_0x21b260,_0x3e7b39);}),this['_sheetSkeletonManagerService'][_0x310ede(0x30d)][_0x310ede(0x556)](_0x5412c0=>{const _0x17c65c=_0x310ede;if(_0x5412c0==null)return;const {skeleton:_0x4f2a96}=_0x5412c0,{scene:_0x5aa566}=this[_0x17c65c(0x687)];_0x5aa566['onPointerMove$'][_0x17c65c(0x59b)](_0x3c69d6[_0x17c65c(0x39c)](_0x526f9e=>{const _0x2c31b7=_0x17c65c;var _0x3e5c65,_0x37b687;const {offsetX:_0x4fef82,offsetY:_0x474fcb}=_0x526f9e,{x:_0x2c521e,y:_0x5d9766}=_0x5aa566['getRelativeToViewportCoord'](_0x3ee1ce['Vector2']['FromArray']([_0x4fef82,_0x474fcb])),{scaleX:_0x5c179d,scaleY:_0x4c3eff}=_0x5aa566[_0x2c31b7(0x63f)](),_0x25a107=_0x5aa566[_0x2c31b7(0x412)](_0x27084d[_0x2c31b7(0x4c4)][_0x2c31b7(0x5b6)]),_0x33b7fa=_0x5aa566[_0x2c31b7(0x5fa)](_0x3ee1ce[_0x2c31b7(0x1e7)][_0x2c31b7(0x4b9)]([_0x2c521e,_0x5d9766]),_0x25a107),_0x55b6f3=_0x4f2a96['getCellPositionByOffset'](_0x4fef82,_0x474fcb,_0x5c179d,_0x4c3eff,_0x33b7fa);((_0x3e5c65=this[_0x2c31b7(0x2ea)])==null?void 0x0:_0x3e5c65['column'])===_0x55b6f3[_0x2c31b7(0x504)]&&((_0x37b687=this[_0x2c31b7(0x2ea)])==null?void 0x0:_0x37b687[_0x2c31b7(0x37c)])===_0x55b6f3[_0x2c31b7(0x37c)]||this[_0x2c31b7(0x356)][_0x2c31b7(0x39f)](_0x1546b6=>{const _0x55c009=_0x2c31b7;_0x1546b6[_0x55c009(0x4a0)](_0x55b6f3);});},0x64));});}[_0x40190f(0x27f)](_0x3dcd85,_0xcf62b4){const _0x3ea00d=_0x40190f;var _0x4fa835;const _0x19150f=(_0x4fa835=this[_0x3ea00d(0x3b9)][_0x3ea00d(0x30c)]())==null?void 0x0:_0x4fa835[_0x3ea00d(0x237)];if(!_0x19150f)return;const _0x26d1ce=this[_0x3ea00d(0x31c)]();if(!_0x26d1ce)return;this['_cursors'][_0x3ea00d(0x39f)](_0x1ae3a8=>{const _0x3e3b63=_0x3ea00d;_0x1ae3a8[_0x3e3b63(0x480)]();});const {scene:_0x59bb24}=_0x26d1ce,_0x3340bb=_0x3747b8(Array[_0x3ea00d(0x601)](_0xcf62b4[_0x3ea00d(0x361)]()))[_0x3ea00d(0x479)](_0x4a6d41=>{const _0x174b81=_0x3ea00d,{color:_0x3425a3,range:_0x112535,name:_0xc7f11d,selection:_0x4308e5,sheetID:_0x155a7b}=_0x4a6d41,{startColumn:_0x4c372f,startRow:_0x52ac1c,endColumn:_0x301fae,endRow:_0x57c955}=_0x112535,_0x16919a=_0x27084d['getCoordByCell'](_0x52ac1c,_0x4c372f,_0x59bb24,_0x19150f),_0x271f49=_0x27084d['getCoordByCell'](_0x57c955,_0x301fae,_0x59bb24,_0x19150f),{columnHeaderHeightAndMarginTop:_0x395247}=_0x19150f,{startX:_0x58b034,startY:_0xbce9a7}=_0x16919a,{endX:_0xb8a84a,endY:_0x3b4141}=_0x271f49,_0x51cfcf=_0xb8a84a-_0x58b034,_0xb37243=_0x3b4141-_0xbce9a7,_0x97e743={'labelPosition':_0xbce9a7-_0x395247>=_0x56b2a9?_0x174b81(0x577):_0x174b81(0x4b3),'sheetID':_0x155a7b,'range':_0x112535,'color':_0x3425a3,'name':_0xc7f11d,'selection':_0x4308e5,'left':_0x58b034,'top':_0xbce9a7,'width':_0x51cfcf,'height':_0xb37243,'evented':!0x1,'zIndex':_0x26b817};return new _0x224b59(_0xc7f11d,_0x97e743);});_0x59bb24[_0x3ea00d(0x201)](_0x3340bb,_0x13295f),this[_0x3ea00d(0x356)]=new Set(_0x3340bb);}['_removeCollabCursors'](){const _0x4d2cfe=_0x40190f;var _0xa363bf;(_0xa363bf=this[_0x4d2cfe(0x356)])==null||_0xa363bf[_0x4d2cfe(0x39f)](_0x261f39=>_0x261f39[_0x4d2cfe(0x1ec)]());}['_getSheetObject'](){const _0x2e585d=_0x40190f;return _0x27084d[_0x2e585d(0x29b)](this['_context'][_0x2e585d(0x5f9)],this['_context']);}};_0x4aa552=_0x317b40([_0x73d4fd(0x1,_0x3c69d6['Inject'](_0x27084d[_0x40190f(0x5e1)])),_0x73d4fd(0x2,_0x3c69d6[_0x40190f(0x22f)](_0x146d6a)),_0x73d4fd(0x3,_0x3c69d6[_0x40190f(0x22f)](_0x3c69d6['ThemeService']))],_0x4aa552);function _0x3747b8(_0x5829d1){const _0xe09f0d=_0x40190f,_0x30e5ab=new Map();return _0x5829d1['forEach'](_0x17c42d=>{const _0x12015b=_0x3b61;if(_0x30e5ab[_0x12015b(0x352)](_0x17c42d[_0x12015b(0x1c4)])){const _0x488cba=_0x30e5ab[_0x12015b(0x27c)](_0x17c42d['selection']);_0x488cba[_0x12015b(0x36e)]+=',\x20'+_0x17c42d[_0x12015b(0x36e)];}else _0x30e5ab[_0x12015b(0x2e4)](_0x17c42d[_0x12015b(0x1c4)],_0x17c42d);}),Array[_0xe09f0d(0x601)](_0x30e5ab[_0xe09f0d(0x361)]());}var _0x183640=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x1f999d(_0x37c8a2){const _0x591d6a=_0x40190f;return _0x37c8a2&&_0x37c8a2['__esModule']&&Object[_0x591d6a(0x407)][_0x591d6a(0x226)][_0x591d6a(0x35a)](_0x37c8a2,_0x591d6a(0x657))?_0x37c8a2[_0x591d6a(0x657)]:_0x37c8a2;}var _0x35f59a={'exports':{}},_0x119442={},_0x88f73f=_0x2bccb4,_0x290841=Symbol[_0x40190f(0x536)]('react.element'),_0x343865=Symbol[_0x40190f(0x536)](_0x40190f(0x4e9)),_0x7b7f0e=Object[_0x40190f(0x407)][_0x40190f(0x226)],_0x332a61=_0x88f73f[_0x40190f(0x287)][_0x40190f(0x57c)],_0x4fe44f={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x200ba4(_0x1d01c4,_0x311704,_0x443135){const _0x50a732=_0x40190f;var _0x24eb92,_0x38a795={},_0x197198=null,_0xb67917=null;_0x443135!==void 0x0&&(_0x197198=''+_0x443135),_0x311704[_0x50a732(0x325)]!==void 0x0&&(_0x197198=''+_0x311704[_0x50a732(0x325)]),_0x311704[_0x50a732(0x5c6)]!==void 0x0&&(_0xb67917=_0x311704[_0x50a732(0x5c6)]);for(_0x24eb92 in _0x311704)_0x7b7f0e[_0x50a732(0x35a)](_0x311704,_0x24eb92)&&!_0x4fe44f[_0x50a732(0x226)](_0x24eb92)&&(_0x38a795[_0x24eb92]=_0x311704[_0x24eb92]);if(_0x1d01c4&&_0x1d01c4['defaultProps']){for(_0x24eb92 in(_0x311704=_0x1d01c4[_0x50a732(0x4e5)],_0x311704))_0x38a795[_0x24eb92]===void 0x0&&(_0x38a795[_0x24eb92]=_0x311704[_0x24eb92]);}return{'$$typeof':_0x290841,'type':_0x1d01c4,'key':_0x197198,'ref':_0xb67917,'props':_0x38a795,'_owner':_0x332a61['current']};}_0x119442[_0x40190f(0x5a5)]=_0x343865,_0x119442['jsx']=_0x200ba4,_0x119442[_0x40190f(0x348)]=_0x200ba4,_0x35f59a['exports']=_0x119442;var _0xa9f4d4=_0x35f59a['exports'],_0x568ee5=function(){return _0x568ee5=Object['assign']||function(_0x4a735d){const _0xeac07=_0x3b61;for(var _0x3af3dc,_0x37a90e=0x1,_0x339278=arguments[_0xeac07(0x642)];_0x37a90e<_0x339278;_0x37a90e++){_0x3af3dc=arguments[_0x37a90e];for(var _0x469497 in _0x3af3dc)Object[_0xeac07(0x407)]['hasOwnProperty'][_0xeac07(0x35a)](_0x3af3dc,_0x469497)&&(_0x4a735d[_0x469497]=_0x3af3dc[_0x469497]);}return _0x4a735d;},_0x568ee5['apply'](this,arguments);},_0x2e46f1=function(_0x158b9d,_0x1bb844){const _0x5e34d0=_0x40190f;var _0x4b0447={};for(var _0x5a9001 in _0x158b9d)Object[_0x5e34d0(0x407)][_0x5e34d0(0x226)][_0x5e34d0(0x35a)](_0x158b9d,_0x5a9001)&&_0x1bb844[_0x5e34d0(0x677)](_0x5a9001)<0x0&&(_0x4b0447[_0x5a9001]=_0x158b9d[_0x5a9001]);if(_0x158b9d!=null&&typeof Object['getOwnPropertySymbols']==_0x5e34d0(0x364)){for(var _0x3d2c54=0x0,_0x5a9001=Object[_0x5e34d0(0x416)](_0x158b9d);_0x3d2c54<_0x5a9001[_0x5e34d0(0x642)];_0x3d2c54++)_0x1bb844[_0x5e34d0(0x677)](_0x5a9001[_0x3d2c54])<0x0&&Object[_0x5e34d0(0x407)][_0x5e34d0(0x58d)][_0x5e34d0(0x35a)](_0x158b9d,_0x5a9001[_0x3d2c54])&&(_0x4b0447[_0x5a9001[_0x3d2c54]]=_0x158b9d[_0x5a9001[_0x3d2c54]]);}return _0x4b0447;},_0xd4f860=_0x2bccb4[_0x40190f(0x23d)](function(_0x326d82,_0x1f21bc){const _0x36b7e3=_0x40190f;var _0x39a0e4=_0x326d82['icon'],_0x573d17=_0x326d82['id'],_0x4ec13d=_0x326d82[_0x36b7e3(0x46d)],_0x51bade=_0x326d82[_0x36b7e3(0x388)],_0xd731db=_0x2e46f1(_0x326d82,[_0x36b7e3(0x1d8),'id','className',_0x36b7e3(0x388)]),_0x5662b8=_0x36b7e3(0x377)[_0x36b7e3(0x43e)](_0x573d17,'\x20')[_0x36b7e3(0x43e)](_0x4ec13d||'')[_0x36b7e3(0x4ca)](),_0x554894=_0x2bccb4[_0x36b7e3(0x23e)]('_'[_0x36b7e3(0x43e)](_0x38d297()));return _0x5ca628(_0x39a0e4,''['concat'](_0x573d17),{'defIds':_0x39a0e4['defIds'],'idSuffix':_0x554894[_0x36b7e3(0x61e)]},_0x568ee5({'ref':_0x1f21bc,'className':_0x5662b8},_0xd731db),_0x51bade);});function _0x5ca628(_0x5b54d3,_0x59c5c6,_0x1d9cba,_0x257588,_0x224ac0){const _0x901a75=_0x40190f;return _0x2bccb4[_0x901a75(0x51e)](_0x5b54d3[_0x901a75(0x688)],_0x568ee5(_0x568ee5({'key':_0x59c5c6},_0x1f3172(_0x5b54d3,_0x1d9cba,_0x224ac0)),_0x257588),(_0x32d720(_0x5b54d3,_0x1d9cba)[_0x901a75(0x267)]||[])[_0x901a75(0x479)](function(_0x5652f9,_0x4b50d0){const _0x2085ee=_0x901a75;return _0x5ca628(_0x5652f9,''[_0x2085ee(0x43e)](_0x59c5c6,'-')['concat'](_0x5b54d3[_0x2085ee(0x688)],'-')[_0x2085ee(0x43e)](_0x4b50d0),_0x1d9cba,void 0x0,_0x224ac0);}));}function _0x1f3172(_0x537f5d,_0x474b1f,_0x35724a){const _0x58f1be=_0x40190f;var _0x3be3dc=_0x568ee5({},_0x537f5d['attrs']);_0x35724a!=null&&_0x35724a['colorChannel1']&&_0x3be3dc['fill']===_0x58f1be(0x573)&&(_0x3be3dc[_0x58f1be(0x1d6)]=_0x35724a[_0x58f1be(0x573)]);var _0x5de9df=_0x474b1f[_0x58f1be(0x362)];return!_0x5de9df||_0x5de9df[_0x58f1be(0x642)]===0x0||(_0x537f5d['tag']===_0x58f1be(0x508)&&_0x3be3dc['xlink:href']&&(_0x3be3dc[_0x58f1be(0x20b)]=_0x3be3dc[_0x58f1be(0x20b)]+_0x474b1f['idSuffix']),Object[_0x58f1be(0x3b6)](_0x3be3dc)[_0x58f1be(0x39f)](function(_0x3701b0){const _0x1f61dc=_0x58f1be;var _0x520def=_0x3701b0[0x0],_0x409f00=_0x3701b0[0x1];typeof _0x409f00==_0x1f61dc(0x680)&&(_0x3be3dc[_0x520def]=_0x409f00['replace'](/url\(#(.*)\)/,_0x1f61dc(0x40f)[_0x1f61dc(0x43e)](_0x474b1f[_0x1f61dc(0x2db)],')')));})),_0x3be3dc;}function _0x32d720(_0x2f45b3,_0x1d342b){const _0x5545c5=_0x40190f;var _0x5b920c,_0x9844aa=_0x1d342b[_0x5545c5(0x362)];return!_0x9844aa||_0x9844aa[_0x5545c5(0x642)]===0x0?_0x2f45b3:_0x2f45b3[_0x5545c5(0x688)]===_0x5545c5(0x489)&&(!((_0x5b920c=_0x2f45b3[_0x5545c5(0x267)])===null||_0x5b920c===void 0x0)&&_0x5b920c[_0x5545c5(0x642)])?_0x568ee5(_0x568ee5({},_0x2f45b3),{'children':_0x2f45b3['children'][_0x5545c5(0x479)](function(_0x530861){const _0x73cf51=_0x5545c5;return typeof _0x530861[_0x73cf51(0x494)]['id']=='string'&&_0x9844aa&&_0x9844aa[_0x73cf51(0x677)](_0x530861['attrs']['id'])>-0x1?_0x568ee5(_0x568ee5({},_0x530861),{'attrs':_0x568ee5(_0x568ee5({},_0x530861[_0x73cf51(0x494)]),{'id':_0x530861[_0x73cf51(0x494)]['id']+_0x1d342b[_0x73cf51(0x2db)]})}):_0x530861;})}):_0x2f45b3;}function _0x38d297(){const _0x36fc04=_0x40190f;return Math[_0x36fc04(0x57d)]()['toString'](0x24)[_0x36fc04(0x500)](0x2,0x8);}_0xd4f860[_0x40190f(0x208)]=_0x40190f(0x4a9);var _0x313dde={'tag':'svg','attrs':{'fill':_0x40190f(0x484),'viewBox':_0x40190f(0x1fb),'width':_0x40190f(0x22a),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x40190f(0x4c0)},'children':[{'tag':_0x40190f(0x4fc),'attrs':{'stroke':_0x40190f(0x5cc),'d':_0x40190f(0x371),'strokeLinecap':_0x40190f(0x5fd),'strokeLinejoin':_0x40190f(0x5fd),'strokeWidth':1.2}}]},{'tag':_0x40190f(0x489),'attrs':{},'children':[{'tag':_0x40190f(0x2ed),'attrs':{'id':_0x40190f(0x5ce)},'children':[{'tag':_0x40190f(0x4fc),'attrs':{'fill':_0x40190f(0x2be),'d':_0x40190f(0x5e6)}}]}]}],'defIds':[_0x40190f(0x5ce)]},_0x5c22b3=_0x2bccb4[_0x40190f(0x23d)](function(_0x2de6db,_0x4343ae){const _0xc827d3=_0x40190f;return _0x2bccb4[_0xc827d3(0x51e)](_0xd4f860,Object[_0xc827d3(0x227)]({},_0x2de6db,{'id':_0xc827d3(0x297),'ref':_0x4343ae,'icon':_0x313dde}));});_0x5c22b3[_0x40190f(0x208)]=_0x40190f(0x23f);var _0xe77fcc={'tag':_0x40190f(0x2cf),'attrs':{'fill':_0x40190f(0x484),'viewBox':_0x40190f(0x587),'width':_0x40190f(0x22a),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x40190f(0x46c)},'children':[{'tag':_0x40190f(0x4fc),'attrs':{'stroke':'currentColor','d':_0x40190f(0x20f),'strokeLinecap':_0x40190f(0x5fd),'strokeLinejoin':_0x40190f(0x5fd),'strokeWidth':1.2}}]},{'tag':_0x40190f(0x489),'attrs':{},'children':[{'tag':_0x40190f(0x2ed),'attrs':{'id':_0x40190f(0x672)},'children':[{'tag':_0x40190f(0x4fc),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x40190f(0x20e)}}]}]}],'defIds':[_0x40190f(0x672)]},_0x2d5e30=_0x2bccb4[_0x40190f(0x23d)](function(_0x56019c,_0x19df6b){const _0x22fe13=_0x40190f;return _0x2bccb4[_0x22fe13(0x51e)](_0xd4f860,Object['assign']({},_0x56019c,{'id':_0x22fe13(0x249),'ref':_0x19df6b,'icon':_0xe77fcc}));});_0x2d5e30[_0x40190f(0x208)]=_0x40190f(0x401);function _0x351db8(_0x142018){const _0x4d6ccd=_0x40190f;var _0x14c6a6,_0x59b3e3,_0x29660a='';if(typeof _0x142018==_0x4d6ccd(0x680)||typeof _0x142018==_0x4d6ccd(0x57f))_0x29660a+=_0x142018;else{if(typeof _0x142018==_0x4d6ccd(0x31b)){if(Array['isArray'](_0x142018)){var _0x50f4c3=_0x142018[_0x4d6ccd(0x642)];for(_0x14c6a6=0x0;_0x14c6a6<_0x50f4c3;_0x14c6a6++)_0x142018[_0x14c6a6]&&(_0x59b3e3=_0x351db8(_0x142018[_0x14c6a6]))&&(_0x29660a&&(_0x29660a+='\x20'),_0x29660a+=_0x59b3e3);}else{for(_0x59b3e3 in _0x142018)_0x142018[_0x59b3e3]&&(_0x29660a&&(_0x29660a+='\x20'),_0x29660a+=_0x59b3e3);}}}return _0x29660a;}function _0x1f2b63(){const _0x3f00b7=_0x40190f;for(var _0x3ead3f,_0x3b87bf,_0xe8c53c=0x0,_0x21e16b='',_0x49a49d=arguments[_0x3f00b7(0x642)];_0xe8c53c<_0x49a49d;_0xe8c53c++)(_0x3ead3f=arguments[_0xe8c53c])&&(_0x3b87bf=_0x351db8(_0x3ead3f))&&(_0x21e16b&&(_0x21e16b+='\x20'),_0x21e16b+=_0x3b87bf);return _0x21e16b;}const _0x1bf62a={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x40190f(0x292),'onlineStatus':_0x40190f(0x1c5),'online':'univer-online','offline':_0x40190f(0x609)};function _0x254343(_0x311b48){const _0x3522b5=_0x40190f;switch(_0x311b48){case _0x3b9e60[_0x3522b5(0x24e)]:return _0x3522b5(0x1ce);case _0x3b9e60['CONFLICT']:return _0x3522b5(0x63a);case _0x3b9e60[_0x3522b5(0x3eb)]:return _0x3522b5(0x4bc);case _0x3b9e60['NOT_COLLAB']:return _0x3522b5(0x52f);case _0x3b9e60[_0x3522b5(0x282)]:case _0x3b9e60['AWAITING_WITH_PENDING']:return _0x3522b5(0x379);case _0x3b9e60[_0x3522b5(0x56d)]:case _0x3b9e60['PENDING']:return _0x3522b5(0x565);}}function _0x3a6125(_0x4ae7e0){const _0x172db2=_0x40190f,{status$:_0x159d21}=_0x4ae7e0,_0x573c07=_0x396190[_0x172db2(0x387)](_0x159d21,_0x3b9e60['NOT_COLLAB']),_0x33bb58=_0x3c69d6[_0x172db2(0x209)](_0x3c69d6[_0x172db2(0x600)]),_0x56bb56=_0x3c69d6[_0x172db2(0x209)](_0x1acb6c[_0x172db2(0x228)]),_0x3a2fe2=_0x573c07!==_0x3b9e60[_0x172db2(0x24e)],_0x3318a5=_0x33bb58['t'](_0x254343(_0x573c07)),_0xa94b9=_0x1f2b63(_0x1bf62a[_0x172db2(0x5b9)],{[_0x1bf62a[_0x172db2(0x63d)]]:_0x3a2fe2,[_0x1bf62a['offline']]:!_0x3a2fe2}),_0x32b301=_0x3a2fe2?_0xa9f4d4['jsx'](_0x2d5e30,{}):_0xa9f4d4[_0x172db2(0x667)](_0x5c22b3,{}),_0x1d959c=_0x2bccb4[_0x172db2(0x462)](()=>{const _0x45e7d0=_0x172db2;_0x3a2fe2||_0x56bb56[_0x45e7d0(0x1bb)]();},[_0x3a2fe2,_0x56bb56]);function _0x7f916c(){const _0x2148b7=_0x172db2;return _0xa9f4d4['jsxs'](_0x2148b7(0x3a8),{'className':_0xa94b9,'onClick':_0x1d959c,'children':[_0xa9f4d4['jsx'](_0x2148b7(0x3a8),{'className':_0x1bf62a[_0x2148b7(0x21b)],'children':_0x32b301}),_0xa9f4d4[_0x2148b7(0x667)](_0x2148b7(0x3a8),{'className':_0x1bf62a[_0x2148b7(0x53a)],'children':_0x3318a5})]});}return _0x3a2fe2?_0x7f916c():_0xa9f4d4[_0x172db2(0x667)](_0x5bf787[_0x172db2(0x2bb)],{'title':_0x33bb58['t'](_0x172db2(0x46e)),'children':_0x7f916c()});}var _0x38abbc=Object['defineProperty'],_0x118be2=Object[_0x40190f(0x42f)],_0xe6714=(_0x4ecc1e,_0x4a59cd,_0x5ad6f0,_0xb7b4e5)=>{const _0x1a5475=_0x40190f;for(var _0x4d43d7=_0xb7b4e5>0x1?void 0x0:_0xb7b4e5?_0x118be2(_0x4a59cd,_0x5ad6f0):_0x4a59cd,_0x22027c=_0x4ecc1e[_0x1a5475(0x642)]-0x1,_0x5df727;_0x22027c>=0x0;_0x22027c--)(_0x5df727=_0x4ecc1e[_0x22027c])&&(_0x4d43d7=(_0xb7b4e5?_0x5df727(_0x4a59cd,_0x5ad6f0,_0x4d43d7):_0x5df727(_0x4d43d7))||_0x4d43d7);return _0xb7b4e5&&_0x4d43d7&&_0x38abbc(_0x4a59cd,_0x5ad6f0,_0x4d43d7),_0x4d43d7;},_0x49fff5=(_0x88e2d5,_0x57229c)=>(_0x3c4bfa,_0x4f7bcb)=>_0x57229c(_0x3c4bfa,_0x4f7bcb,_0x88e2d5);_0x1acb6c[_0x40190f(0x415)]=class extends _0x3c69d6['Disposable']{constructor(_0x5ea5bb,_0x44afa4,_0x197f7a,_0x397209){const _0x557127=_0x40190f;super(),_0x2a7d69(this,_0x557127(0x225),new _0x5c0235[(_0x557127(0x45b))](_0x3b9e60['NOT_COLLAB'])),(this[_0x557127(0x557)]=_0x5ea5bb,this['_uiPartsService']=_0x44afa4,this[_0x557127(0x685)]=_0x197f7a,this[_0x557127(0x207)]=_0x397209,this[_0x557127(0x45e)](),this[_0x557127(0x244)]());}[_0x40190f(0x244)](){const _0x48cb6b=_0x40190f;this[_0x48cb6b(0x4fb)](this[_0x48cb6b(0x557)][_0x48cb6b(0x570)][_0x48cb6b(0x38c)](_0x5c0235[_0x48cb6b(0x3f6)](()=>{const _0x4111da=_0x48cb6b,_0x43f1fa=this['_univerInstanceService'][_0x4111da(0x2c8)]();return _0x43f1fa?this[_0x4111da(0x207)][_0x4111da(0x2ad)](_0x43f1fa[_0x4111da(0x283)]()):_0x5c0235['of'](null);}),_0x5c0235[_0x48cb6b(0x3f6)](_0x3ebc33=>_0x3ebc33?_0x3ebc33['status$']:_0x5c0235['of'](_0x3b9e60['NOT_COLLAB'])))[_0x48cb6b(0x556)](_0x351872=>{const _0x5273a3=_0x48cb6b;this[_0x5273a3(0x225)]['next'](_0x351872);}));}[_0x40190f(0x45e)](){const _0x3b559e=_0x40190f;this['disposeWithMe'](this[_0x3b559e(0x3ae)][_0x3b559e(0x1eb)](_0x396190[_0x3b559e(0x52a)][_0x3b559e(0x42e)],()=>_0x3c69d6['connectInjector'](_0xfe8680({'status$':this[_0x3b559e(0x225)][_0x3b559e(0x60c)]()}),this[_0x3b559e(0x685)])));}},_0x1acb6c['DesktopCollaborationStatusDisplayController']=_0xe6714([_0x49fff5(0x0,_0x3c69d6['IUniverInstanceService']),_0x49fff5(0x1,_0x396190[_0x40190f(0x38a)]),_0x49fff5(0x2,_0x3c69d6['Inject'](_0x3c69d6[_0x40190f(0x2b3)])),_0x49fff5(0x3,_0x3c69d6[_0x40190f(0x22f)](_0x1acb6c[_0x40190f(0x1dc)]))],_0x1acb6c['DesktopCollaborationStatusDisplayController']);function _0xfe8680(_0x53aac3){const {status$:_0x158e84}=_0x53aac3;return function(){const _0xde6e09=_0x3b61;return _0xa9f4d4[_0xde6e09(0x667)](_0x3a6125,{'status$':_0x158e84});};}const _0x3c2f84=_0x3c69d6[_0x40190f(0x632)]('uni.network.url-service');var _0x3927a5=Object['defineProperty'],_0x83e0d5=Object[_0x40190f(0x42f)],_0x3ee23b=(_0x2af345,_0x472d45,_0x3f3afc,_0x54d506)=>{const _0xc55a21=_0x40190f;for(var _0x39560a=_0x54d506>0x1?void 0x0:_0x54d506?_0x83e0d5(_0x472d45,_0x3f3afc):_0x472d45,_0x6f39d2=_0x2af345[_0xc55a21(0x642)]-0x1,_0x286e0c;_0x6f39d2>=0x0;_0x6f39d2--)(_0x286e0c=_0x2af345[_0x6f39d2])&&(_0x39560a=(_0x54d506?_0x286e0c(_0x472d45,_0x3f3afc,_0x39560a):_0x286e0c(_0x39560a))||_0x39560a);return _0x54d506&&_0x39560a&&_0x3927a5(_0x472d45,_0x3f3afc,_0x39560a),_0x39560a;},_0x289ad1=(_0x2ca2f9,_0x3cbb24)=>(_0xc57653,_0x3de235)=>_0x3cbb24(_0xc57653,_0x3de235,_0x2ca2f9);_0x1acb6c[_0x40190f(0x2aa)]=class extends _0x3c69d6[_0x40190f(0x40e)]{constructor(_0x15fefb,_0xe8d6e3,_0x4e8dff,_0x53280e,_0xba54dd,_0x12887e){const _0x9d3778=_0x40190f;super(),this[_0x9d3778(0x4b4)]=_0x15fefb,this[_0x9d3778(0x58b)]=_0xe8d6e3,this[_0x9d3778(0x2a0)]=_0x4e8dff,this[_0x9d3778(0x572)]=_0x53280e,this[_0x9d3778(0x45d)]=_0xba54dd,_0x12887e?_0x12887e==null||_0x12887e[_0x9d3778(0x67e)]()[_0x9d3778(0x54a)](()=>this['_init']()):(this[_0x9d3778(0x58b)][_0x9d3778(0x62e)](_0x9d3778(0x3cd),_0x9d3778(0x5b2)),this['_init']());}async[_0x40190f(0x3fd)](){const _0x250281=_0x40190f,_0x161e22=this['_urlService'][_0x250281(0x3ef)]('unit'),_0x52397f=this[_0x250281(0x4b4)][_0x250281(0x3ef)](_0x250281(0x608));if(!_0x161e22||!_0x52397f){this['_logService'][_0x250281(0x62e)](_0x250281(0x3cd),_0x250281(0x330));return;}switch(Number(_0x52397f)){case _0x10bfce[_0x250281(0x3e2)]:{const _0x20cedb=await this[_0x250281(0x553)](_0x161e22);this[_0x250281(0x4d3)](_0x20cedb);break;}case _0x10bfce['UNIVER_DOC']:{await this[_0x250281(0x2f5)](_0x161e22);break;}default:{this[_0x250281(0x58b)][_0x250281(0x337)](_0x250281(0x3cd),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async['_setupSubUnitSync'](_0x361b34){const _0xfc1809=_0x40190f;await this[_0xfc1809(0x4be)](_0x361b34),_0x361b34[_0xfc1809(0x4d2)]['pipe'](_0x5c0235[_0xfc1809(0x4ad)](this[_0xfc1809(0x33f)]))[_0xfc1809(0x556)](_0x193e28=>{const _0x12e81e=_0xfc1809;_0x193e28&&this[_0x12e81e(0x676)](_0x193e28);}),this[_0xfc1809(0x4b4)]['urlChange$'][_0xfc1809(0x38c)](_0x5c0235[_0xfc1809(0x4ad)](this[_0xfc1809(0x33f)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x361b34));}[_0x40190f(0x676)](_0x18ddc5,_0x161c0b=!0x1){const _0x256e44=_0x40190f,_0x43256c=this['_urlService'][_0x256e44(0x3ef)](_0x256e44(0x3d3));_0x18ddc5[_0x256e44(0x218)]()!==_0x43256c&&this[_0x256e44(0x4b4)][_0x256e44(0x30f)](_0x256e44(0x3d3),_0x18ddc5[_0x256e44(0x218)](),_0x161c0b);}async['_updateSubUnitFromURLParams'](_0x3a2c5d){const _0x374b86=_0x40190f;var _0x486d8f;const _0x50e93d=this['_urlService']['getParam'](_0x374b86(0x3d3));if(!_0x50e93d||!_0x3a2c5d['getSheetBySheetId'](_0x50e93d)){const _0x2b8117=_0x3a2c5d[_0x374b86(0x5da)]()[0x0],_0x2cba9d=_0x3a2c5d[_0x374b86(0x2d4)](_0x2b8117);if(!_0x2cba9d)return;this['_updateURLWithCurrentState'](_0x2cba9d,!0x0),await this[_0x374b86(0x2a0)]['executeCommand'](_0xcc5ca1['SetWorksheetActivateCommand']['id'],{'unitId':_0x3a2c5d['getUnitId'](),'subUnitId':_0x2b8117});return;}((_0x486d8f=_0x3a2c5d[_0x374b86(0x5b3)]())==null?void 0x0:_0x486d8f[_0x374b86(0x218)]())!==_0x50e93d&&await this[_0x374b86(0x2a0)][_0x374b86(0x50f)](_0xcc5ca1[_0x374b86(0x62f)]['id'],{'unitId':_0x3a2c5d[_0x374b86(0x283)](),'subUnitId':_0x50e93d});}async[_0x40190f(0x553)](_0x50b4f2){const _0x31a02d=_0x40190f;let _0x36fdbf=0x0;const _0x2d171d=await this[_0x31a02d(0x572)][_0x31a02d(0x1e8)](_0x50b4f2);return _0x2d171d&&(_0x2d171d[_0x31a02d(0x344)]||_0x2d171d[_0x31a02d(0x1ba)][_0x31a02d(0x642)]!==0x0)&&(_0x36fdbf=_0x2d171d[_0x31a02d(0x293)]),_0x36fdbf===0x0&&this[_0x31a02d(0x58b)][_0x31a02d(0x62e)]('[DataLoaderController]',_0x31a02d(0x3da)),this[_0x31a02d(0x45d)]['loadSheet'](_0x50b4f2,_0x36fdbf);}async[_0x40190f(0x2f5)](_0xa07183){const _0x216305=_0x40190f;let _0x85028f=0x0;const _0x2bc937=await this[_0x216305(0x572)][_0x216305(0x1e8)](_0xa07183);return _0x2bc937&&(_0x2bc937[_0x216305(0x344)]||_0x2bc937['mutations'][_0x216305(0x642)]!==0x0)&&(_0x85028f=_0x2bc937[_0x216305(0x293)]),_0x85028f===0x0&&this[_0x216305(0x58b)][_0x216305(0x62e)](_0x216305(0x3cd),_0x216305(0x3da)),this[_0x216305(0x45d)][_0x216305(0x65d)](_0xa07183,_0x85028f);}},_0x1acb6c['DataLoaderController']=_0x3ee23b([_0x289ad1(0x0,_0x3c2f84),_0x289ad1(0x1,_0x3c69d6[_0x40190f(0x53f)]),_0x289ad1(0x2,_0x3c69d6[_0x40190f(0x30a)]),_0x289ad1(0x3,_0x3c69d6[_0x40190f(0x22f)](_0x1acb6c[_0x40190f(0x64b)])),_0x289ad1(0x4,_0x3c69d6[_0x40190f(0x22f)](_0x596d96[_0x40190f(0x3f7)])),_0x289ad1(0x5,_0x3c69d6[_0x40190f(0x1e2)](_0x387591[_0x40190f(0x5dd)]))],_0x1acb6c[_0x40190f(0x2aa)]);var _0x460de1=Object[_0x40190f(0x1aa)],_0x2b6efa=Object[_0x40190f(0x42f)],_0x3985b5=(_0x5f57eb,_0xa96356,_0x46f3e9,_0x535995)=>{const _0xa86ac7=_0x40190f;for(var _0x14152c=_0x535995>0x1?void 0x0:_0x535995?_0x2b6efa(_0xa96356,_0x46f3e9):_0xa96356,_0x218933=_0x5f57eb[_0xa86ac7(0x642)]-0x1,_0x53543d;_0x218933>=0x0;_0x218933--)(_0x53543d=_0x5f57eb[_0x218933])&&(_0x14152c=(_0x535995?_0x53543d(_0xa96356,_0x46f3e9,_0x14152c):_0x53543d(_0x14152c))||_0x14152c);return _0x535995&&_0x14152c&&_0x460de1(_0xa96356,_0x46f3e9,_0x14152c),_0x14152c;},_0x207c2b=(_0x509c6c,_0x6f52bc)=>(_0x24a8e9,_0x122803)=>_0x6f52bc(_0x24a8e9,_0x122803,_0x509c6c);const _0x564b3b='DEFAULT_FILE_NAME',_0x2369a0=_0x40190f(0x5a1);let _0x48eac1=class extends _0x3c69d6[_0x40190f(0x55f)]{constructor(_0x5bb894,_0x225ee3){const _0x476a47=_0x40190f;super(),this[_0x476a47(0x557)]=_0x5bb894,this[_0x476a47(0x61b)]=_0x225ee3,this[_0x476a47(0x3fd)]();}[_0x40190f(0x3fd)](){const _0x4f26e5=_0x40190f;this[_0x4f26e5(0x4fb)](this[_0x4f26e5(0x557)]['focused$'][_0x4f26e5(0x556)](()=>{const _0x12925b=_0x4f26e5;var _0x253b34;const _0xd90679=this['_univerInstanceService'][_0x12925b(0x2c8)]();let _0x16579c=(_0x253b34=this[_0x12925b(0x61b)]['getConfig'](_0x564b3b))!=null?_0x253b34:_0x2369a0;_0xd90679 instanceof _0x3c69d6[_0x12925b(0x5c8)]&&(_0x16579c=_0xd90679[_0x12925b(0x36e)]),document['title']=_0x16579c;}));}};_0x48eac1=_0x3985b5([_0x207c2b(0x0,_0x3c69d6[_0x40190f(0x2f8)]),_0x207c2b(0x1,_0x3c69d6['IConfigService'])],_0x48eac1);var _0x4ff209=Object[_0x40190f(0x1aa)],_0x14a857=Object[_0x40190f(0x42f)],_0x3018d9=(_0x4bed1c,_0x49d9a5,_0x371780,_0x649e6f)=>{for(var _0x571a3e=_0x649e6f>0x1?void 0x0:_0x649e6f?_0x14a857(_0x49d9a5,_0x371780):_0x49d9a5,_0x5119c5=_0x4bed1c['length']-0x1,_0x3c7d45;_0x5119c5>=0x0;_0x5119c5--)(_0x3c7d45=_0x4bed1c[_0x5119c5])&&(_0x571a3e=(_0x649e6f?_0x3c7d45(_0x49d9a5,_0x371780,_0x571a3e):_0x3c7d45(_0x571a3e))||_0x571a3e);return _0x649e6f&&_0x571a3e&&_0x4ff209(_0x49d9a5,_0x371780,_0x571a3e),_0x571a3e;},_0x3b7e59=(_0x32c222,_0x3a7498)=>(_0x21891f,_0x4773e3)=>_0x3a7498(_0x21891f,_0x4773e3,_0x32c222);let _0x434d31=class{constructor(_0x21dca6,_0x1d301f,_0x5d6bfb){const _0x332154=_0x40190f;this[_0x332154(0x61b)]=_0x21dca6,this['_httpService']=_0x1d301f,this[_0x332154(0x278)]=_0x5d6bfb,this['init']();}['init'](){const _0x89a0f0=_0x40190f;this['_httpService'][_0x89a0f0(0x4bf)]({'priority':0x1,'interceptor':(_0x312e1d,_0x2f921d)=>_0x2f921d(_0x312e1d)['pipe'](_0x5c0235[_0x89a0f0(0x35d)](async _0x24e06b=>{const _0x4cb065=_0x89a0f0,_0x226b59=_0x24e06b;if(_0x226b59[_0x4cb065(0x605)]===0x191&&window['confirm'](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x4598a7=window[_0x4cb065(0x591)](window['location']['href']);window['location'][_0x4cb065(0x621)]=this[_0x4cb065(0x44c)]()+_0x4cb065(0x27e)+_0x4598a7;}return _0x226b59;}))});}[_0x40190f(0x44c)](){const _0x401882=_0x40190f;var _0x4d8ead,_0x3af53a;const _0x1c5b36=this[_0x401882(0x61b)][_0x401882(0x2df)](_0x4bcfbc),_0xfaa088=this[_0x401882(0x61b)][_0x401882(0x2df)](_0x347aa1);return(_0x3af53a=(_0x4d8ead=_0xfaa088==null?void 0x0:_0xfaa088[_0x401882(0x637)])!=null?_0x4d8ead:_0x1c5b36)!=null?_0x3af53a:_0x15b098;}};_0x434d31=_0x3018d9([_0x3b7e59(0x0,_0x3c69d6[_0x40190f(0x3c5)]),_0x3b7e59(0x1,_0x3c69d6[_0x40190f(0x22f)](_0x331a12[_0x40190f(0x496)])),_0x3b7e59(0x2,_0x3c69d6[_0x40190f(0x22f)](_0x3c69d6[_0x40190f(0x600)]))],_0x434d31);var _0x4a8a24=Object[_0x40190f(0x1aa)],_0x2833be=Object[_0x40190f(0x42f)],_0x210dd3=(_0x3e196f,_0x327cf,_0x3681aa,_0x3cbf3c)=>{const _0x2b94af=_0x40190f;for(var _0x223fa1=_0x3cbf3c>0x1?void 0x0:_0x3cbf3c?_0x2833be(_0x327cf,_0x3681aa):_0x327cf,_0xe12efc=_0x3e196f[_0x2b94af(0x642)]-0x1,_0x1b357e;_0xe12efc>=0x0;_0xe12efc--)(_0x1b357e=_0x3e196f[_0xe12efc])&&(_0x223fa1=(_0x3cbf3c?_0x1b357e(_0x327cf,_0x3681aa,_0x223fa1):_0x1b357e(_0x223fa1))||_0x223fa1);return _0x3cbf3c&&_0x223fa1&&_0x4a8a24(_0x327cf,_0x3681aa,_0x223fa1),_0x223fa1;},_0x8fd7fb=(_0x3809db,_0x38d6f7)=>(_0xa000c3,_0x3356b5)=>_0x38d6f7(_0xa000c3,_0x3356b5,_0x3809db);const _0x15b686='AUTHZ_URL_KEY',_0x4e857f=_0x40190f(0x4ed);_0x1acb6c['AuthzIoHttpService']=class extends _0x3c69d6[_0x40190f(0x55f)]{constructor(_0x4928ed,_0xcf605a){const _0x11e8b2=_0x40190f;super(),this[_0x11e8b2(0x423)]=_0x4928ed,this[_0x11e8b2(0x61b)]=_0xcf605a,this[_0x11e8b2(0x375)]();}['_initMergeInterceptor'](){const _0x2224f1=_0x40190f,_0x5a3de1=this;this[_0x2224f1(0x4fb)](this[_0x2224f1(0x423)][_0x2224f1(0x4bf)]({'priority':0x3e7,'interceptor':_0x331a12[_0x2224f1(0x305)]({'isMatch'(_0x38726c){const _0x3a4fc6=_0x2224f1;var _0x56ccc6;if(_0x38726c[_0x3a4fc6(0x2c5)]==='POST'&&((_0x56ccc6=_0x38726c[_0x3a4fc6(0x4b6)])!=null&&_0x56ccc6[_0x3a4fc6(0x211)])){const {objectID:_0x168637,objectType:_0x4054e2}=_0x38726c['requestParams']['body']||{};if(!_0x168637||_0x4054e2===void 0x0)return!0x1;const _0x587d76=_0x5a3de1[_0x3a4fc6(0x341)]()+'/'+_0x4054e2+_0x3a4fc6(0x1c1)+_0x168637+_0x3a4fc6(0x542);if(_0x38726c[_0x3a4fc6(0x2cd)]===_0x587d76)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x227233){const _0x3fd605=_0x2224f1;var _0x4090a9;return(_0x4090a9=_0x227233['requestParams'])==null?void 0x0:_0x4090a9[_0x3fd605(0x211)];},'mergeParamsToRequest'(_0xe0ab12,_0x3ad9fe){const _0x1996a2=_0x2224f1,_0x32d550=_0x5a3de1['_getAPIPrefixPath']()+_0x1996a2(0x4fd),_0x5ee166=_0xe0ab12[_0x1996a2(0x4f6)]((_0x3a4c44,_0x44c7c0)=>{const _0x5f3039=_0x1996a2,{unitID:_0xcd8db9,objectID:_0x4aac8e,objectType:_0xa30167,actions:_0x51a5b9}=_0x44c7c0;return _0x3a4c44[_0xcd8db9]||(_0x3a4c44[_0xcd8db9]={}),_0x3a4c44[_0xcd8db9][_0x4aac8e]||(_0x3a4c44[_0xcd8db9][_0x4aac8e]={'objectID':_0x4aac8e,'objectType':_0xa30167,'actions':[]}),_0x3a4c44[_0xcd8db9][_0x4aac8e][_0x5f3039(0x5f3)][_0x5f3039(0x568)](..._0x51a5b9),_0x3a4c44;},{}),_0x9d5e1=[];for(const _0x3ef845 in _0x5ee166)for(const _0x1e8479 in _0x5ee166[_0x3ef845]){const {actions:_0x3fdcc1,objectType:_0x772f8d}=_0x5ee166[_0x3ef845][_0x1e8479],_0x2625c9=[...new Set(_0x3fdcc1)];_0x9d5e1[_0x1996a2(0x568)]({'unitID':_0x3ef845,'objectID':_0x1e8479,'objectType':_0x772f8d,'actions':_0x2625c9});}return new _0x331a12[(_0x1996a2(0x5bb))](_0x1996a2(0x2bf),_0x32d550,{'headers':_0x3ad9fe[_0x1996a2(0x673)],'withCredentials':_0x3ad9fe['withCredentials'],'responseType':_0x3ad9fe[_0x1996a2(0x2e0)],'body':{'requests':_0x9d5e1}});}},{'distributeResult'(_0x37fdd5,_0x1e16f5){const _0x45b8a5=_0x2224f1,{objectActions:_0x424993}=_0x37fdd5;return _0x1e16f5[_0x45b8a5(0x479)](_0x1ab25a=>{const _0xed46d9=_0x45b8a5,{unitID:_0x268e74,objectID:_0x1508a5,actions:_0x4e01f6}=_0x1ab25a,_0x2047e8=_0x424993[_0xed46d9(0x394)](_0x29234d=>_0x29234d['unitID']===_0x268e74&&_0x29234d[_0xed46d9(0x5bf)]===_0x1508a5),_0x2d246c=_0x4e01f6[_0xed46d9(0x479)](_0x855448=>_0x2047e8==null?void 0x0:_0x2047e8['actions'][_0xed46d9(0x394)](_0x4a1049=>_0x4a1049['action']===_0x855448))[_0xed46d9(0x5d7)](_0x5af989=>!!_0x5af989);return{'config':_0x1ab25a,'result':{'actions':_0x2d246c,'error':_0x37fdd5[_0xed46d9(0x337)]}};});}})}));}[_0x40190f(0x341)](){const _0x1a31fa=_0x40190f;var _0x4f0e52,_0x3ee7cf;const _0x165614=this[_0x1a31fa(0x61b)]['getConfig'](_0x15b686),_0x2b1e83=this[_0x1a31fa(0x61b)]['getConfig'](_0x347aa1);return(_0x3ee7cf=(_0x4f0e52=_0x2b1e83==null?void 0x0:_0x2b1e83[_0x1a31fa(0x1ab)])!=null?_0x4f0e52:_0x165614)!=null?_0x3ee7cf:_0x4e857f;}async['create'](_0x5b71a6){const _0x35574a=_0x40190f,_0x27f347=this[_0x35574a(0x341)]()+'/'+_0x5b71a6[_0x35574a(0x271)]+_0x35574a(0x602);return(await this['_HTTPService'][_0x35574a(0x1b9)](_0x27f347,{'body':_0x5b71a6}))[_0x35574a(0x211)]['objectID']||'';}async[_0x40190f(0x358)](_0x85536f){const _0x1788b9=_0x40190f,_0x4b4e0f=this['_getAPIPrefixPath']()+_0x1788b9(0x32b);return(await this[_0x1788b9(0x423)][_0x1788b9(0x1b9)](_0x4b4e0f,{'body':_0x85536f}))[_0x1788b9(0x211)][_0x1788b9(0x33c)];}async[_0x40190f(0x4dc)](_0x4d0bec){const _0x2adcd4=_0x40190f,_0x1ac85d=this[_0x2adcd4(0x341)]()+'/'+_0x4d0bec[_0x2adcd4(0x271)]+'/object/'+_0x4d0bec[_0x2adcd4(0x5bf)];await this[_0x2adcd4(0x423)][_0x2adcd4(0x5e3)](_0x1ac85d,{'body':_0x4d0bec});}async[_0x40190f(0x215)](_0x6f05ff){const _0x415633=_0x40190f,_0x4905be=this[_0x415633(0x341)]()+'/'+_0x6f05ff[_0x415633(0x271)]+_0x415633(0x1c1)+_0x6f05ff[_0x415633(0x5bf)]+_0x415633(0x542);return(await this[_0x415633(0x423)]['post'](_0x4905be,{'body':_0x6f05ff}))[_0x415633(0x211)]['actions'];}async[_0x40190f(0x334)](_0x15f13e){const _0x299c64=_0x40190f,_0x3f1fbe=this[_0x299c64(0x341)]()+_0x299c64(0x4fd);return(await this[_0x299c64(0x423)]['post'](_0x3f1fbe,{'body':{'requests':_0x15f13e}}))[_0x299c64(0x211)]['objectActions'];}async[_0x40190f(0x386)](_0x5a2862){const _0x13fae7=_0x40190f,_0x54870f=this[_0x13fae7(0x341)]()+'/'+_0x5a2862['objectType']+_0x13fae7(0x41f),_0xd267e4=await this['_HTTPService'][_0x13fae7(0x1b9)](_0x54870f,{'body':_0x5a2862});return{'roles':_0xd267e4[_0x13fae7(0x211)][_0x13fae7(0x67a)],'actions':_0xd267e4[_0x13fae7(0x211)][_0x13fae7(0x5f3)]};}async[_0x40190f(0x43a)](_0x505bed){const _0x296609=_0x40190f,_0xca54db=this[_0x296609(0x341)]()+_0x296609(0x238);await this[_0x296609(0x423)]['delete'](_0xca54db,{'params':{'collaboratorID':_0x505bed[_0x296609(0x418)],'objectID':_0x505bed[_0x296609(0x5bf)],'unitID':_0x505bed[_0x296609(0x233)]}});}async[_0x40190f(0x498)](_0x17ae4a){const _0x273a74=_0x40190f,_0x574e27=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x273a74(0x381)](_0x574e27,{'body':_0x17ae4a});}async['createCollaborator'](_0x93a15b){const _0x4f23c5=_0x40190f,_0x32e5a2=this[_0x4f23c5(0x341)]()+_0x4f23c5(0x238);await this[_0x4f23c5(0x423)][_0x4f23c5(0x1b9)](_0x32e5a2,{'body':_0x93a15b});}async['listCollaborators'](_0x5ce3af){const _0x555dd5=_0x40190f,_0x2629ec=this[_0x555dd5(0x341)]()+_0x555dd5(0x238);return(await this[_0x555dd5(0x423)]['get'](_0x2629ec,{'params':{'objectID':_0x5ce3af['objectID'],'unitID':_0x5ce3af['unitID']}}))[_0x555dd5(0x211)][_0x555dd5(0x1f1)];}async['putCollaborators'](_0x5c47c3){const _0x510117=_0x40190f,_0x3f3f95=this['_getAPIPrefixPath']()+_0x510117(0x238);await this['_HTTPService'][_0x510117(0x5e3)](_0x3f3f95,{'body':_0x5c47c3});}},_0x1acb6c[_0x40190f(0x652)]=_0x210dd3([_0x8fd7fb(0x0,_0x3c69d6[_0x40190f(0x22f)](_0x331a12[_0x40190f(0x496)])),_0x8fd7fb(0x1,_0x3c69d6[_0x40190f(0x22f)](_0x3c69d6['IConfigService']))],_0x1acb6c['AuthzIoHttpService']);var _0x567fef={'exports':{}};function _0x25369b(_0x554e34){const _0xb518a4=_0x40190f;throw new Error(_0xb518a4(0x269)+_0x554e34+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0x320ed9={'exports':{}},_0x22b816;function _0x2adea5(){const _0x5ce93a=_0x40190f;return _0x22b816||(_0x22b816=0x1,function(_0x2e12a1,_0x2484ac){(function(_0x1d3f19,_0x5dfd40){const _0x42891b=_0x3b61;_0x2e12a1[_0x42891b(0x413)]=_0x5dfd40();}(_0x183640,function(){var _0x1dc8a7=_0x1dc8a7||function(_0x2d589f,_0x12b3e4){const _0x59bd70=_0x3b61;var _0x3a6db0;if(typeof window<'u'&&window[_0x59bd70(0x66c)]&&(_0x3a6db0=window[_0x59bd70(0x66c)]),typeof self<'u'&&self['crypto']&&(_0x3a6db0=self[_0x59bd70(0x66c)]),typeof globalThis<'u'&&globalThis[_0x59bd70(0x66c)]&&(_0x3a6db0=globalThis[_0x59bd70(0x66c)]),!_0x3a6db0&&typeof window<'u'&&window[_0x59bd70(0x548)]&&(_0x3a6db0=window[_0x59bd70(0x548)]),!_0x3a6db0&&typeof _0x183640<'u'&&_0x183640[_0x59bd70(0x66c)]&&(_0x3a6db0=_0x183640[_0x59bd70(0x66c)]),!_0x3a6db0&&typeof _0x25369b==_0x59bd70(0x364))try{_0x3a6db0=require('crypto');}catch{}var _0x518f20=function(){const _0x43efd2=_0x59bd70;if(_0x3a6db0){if(typeof _0x3a6db0[_0x43efd2(0x411)]==_0x43efd2(0x364))try{return _0x3a6db0['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3a6db0[_0x43efd2(0x54d)]==_0x43efd2(0x364))try{return _0x3a6db0[_0x43efd2(0x54d)](0x4)[_0x43efd2(0x5fe)]();}catch{}}throw new Error(_0x43efd2(0x399));},_0x19414a=Object['create']||(function(){function _0x3de07f(){}return function(_0x180cd3){const _0x329bae=_0x3b61;var _0x507b00;return _0x3de07f[_0x329bae(0x407)]=_0x180cd3,_0x507b00=new _0x3de07f(),_0x3de07f[_0x329bae(0x407)]=null,_0x507b00;};}()),_0x14df0c={},_0x35bd82=_0x14df0c['lib']={},_0x5d6513=_0x35bd82[_0x59bd70(0x546)]=(function(){return{'extend':function(_0x35d1a7){const _0x3d917f=_0x3b61;var _0x42b3f3=_0x19414a(this);return _0x35d1a7&&_0x42b3f3[_0x3d917f(0x539)](_0x35d1a7),(!_0x42b3f3[_0x3d917f(0x226)](_0x3d917f(0x22e))||this[_0x3d917f(0x22e)]===_0x42b3f3[_0x3d917f(0x22e)])&&(_0x42b3f3[_0x3d917f(0x22e)]=function(){const _0x593490=_0x3d917f;_0x42b3f3[_0x593490(0x53e)][_0x593490(0x22e)][_0x593490(0x5a3)](this,arguments);}),_0x42b3f3[_0x3d917f(0x22e)][_0x3d917f(0x407)]=_0x42b3f3,_0x42b3f3[_0x3d917f(0x53e)]=this,_0x42b3f3;},'create':function(){const _0x4734ca=_0x3b61;var _0x4c7501=this[_0x4734ca(0x388)]();return _0x4c7501[_0x4734ca(0x22e)][_0x4734ca(0x5a3)](_0x4c7501,arguments),_0x4c7501;},'init':function(){},'mixIn':function(_0x35adb9){const _0x502be1=_0x3b61;for(var _0x3c221a in _0x35adb9)_0x35adb9[_0x502be1(0x226)](_0x3c221a)&&(this[_0x3c221a]=_0x35adb9[_0x3c221a]);_0x35adb9['hasOwnProperty'](_0x502be1(0x263))&&(this[_0x502be1(0x263)]=_0x35adb9[_0x502be1(0x263)]);},'clone':function(){const _0x4702aa=_0x3b61;return this[_0x4702aa(0x22e)][_0x4702aa(0x407)][_0x4702aa(0x388)](this);}};}()),_0x19675a=_0x35bd82['WordArray']=_0x5d6513[_0x59bd70(0x388)]({'init':function(_0x5c9c70,_0x79ba1f){const _0x3b6f6b=_0x59bd70;_0x5c9c70=this['words']=_0x5c9c70||[],_0x79ba1f!=_0x12b3e4?this['sigBytes']=_0x79ba1f:this[_0x3b6f6b(0x1e1)]=_0x5c9c70['length']*0x4;},'toString':function(_0x552071){const _0x5515f1=_0x59bd70;return(_0x552071||_0x3949cd)[_0x5515f1(0x22b)](this);},'concat':function(_0x3f674c){const _0x318acc=_0x59bd70;var _0x10e0be=this['words'],_0x4d1247=_0x3f674c[_0x318acc(0x5a7)],_0xfbd4b6=this[_0x318acc(0x1e1)],_0x2d41cc=_0x3f674c[_0x318acc(0x1e1)];if(this[_0x318acc(0x38d)](),_0xfbd4b6%0x4)for(var _0x3d8cb6=0x0;_0x3d8cb6<_0x2d41cc;_0x3d8cb6++){var _0x2cc709=_0x4d1247[_0x3d8cb6>>>0x2]>>>0x18-_0x3d8cb6%0x4*0x8&0xff;_0x10e0be[_0xfbd4b6+_0x3d8cb6>>>0x2]|=_0x2cc709<<0x18-(_0xfbd4b6+_0x3d8cb6)%0x4*0x8;}else{for(var _0x217c26=0x0;_0x217c26<_0x2d41cc;_0x217c26+=0x4)_0x10e0be[_0xfbd4b6+_0x217c26>>>0x2]=_0x4d1247[_0x217c26>>>0x2];}return this['sigBytes']+=_0x2d41cc,this;},'clamp':function(){const _0x2d2f70=_0x59bd70;var _0x401f9d=this[_0x2d2f70(0x5a7)],_0x3d057f=this[_0x2d2f70(0x1e1)];_0x401f9d[_0x3d057f>>>0x2]&=0xffffffff<<0x20-_0x3d057f%0x4*0x8,_0x401f9d[_0x2d2f70(0x642)]=_0x2d589f['ceil'](_0x3d057f/0x4);},'clone':function(){const _0x2de136=_0x59bd70;var _0x6a984f=_0x5d6513[_0x2de136(0x4a2)][_0x2de136(0x35a)](this);return _0x6a984f[_0x2de136(0x5a7)]=this['words'][_0x2de136(0x4cd)](0x0),_0x6a984f;},'random':function(_0x273a9f){const _0x5a3b06=_0x59bd70;for(var _0x45f1bd=[],_0x299bde=0x0;_0x299bde<_0x273a9f;_0x299bde+=0x4)_0x45f1bd[_0x5a3b06(0x568)](_0x518f20());return new _0x19675a[(_0x5a3b06(0x22e))](_0x45f1bd,_0x273a9f);}}),_0x1cef7a=_0x14df0c['enc']={},_0x3949cd=_0x1cef7a[_0x59bd70(0x378)]={'stringify':function(_0x150957){const _0x23f849=_0x59bd70;for(var _0x380f67=_0x150957[_0x23f849(0x5a7)],_0x4dcd14=_0x150957['sigBytes'],_0x4f5ce4=[],_0x3495ce=0x0;_0x3495ce<_0x4dcd14;_0x3495ce++){var _0x38c205=_0x380f67[_0x3495ce>>>0x2]>>>0x18-_0x3495ce%0x4*0x8&0xff;_0x4f5ce4['push']((_0x38c205>>>0x4)['toString'](0x10)),_0x4f5ce4['push']((_0x38c205&0xf)[_0x23f849(0x263)](0x10));}return _0x4f5ce4['join']('');},'parse':function(_0x396bcb){const _0x32625a=_0x59bd70;for(var _0xe78156=_0x396bcb[_0x32625a(0x642)],_0x35e9af=[],_0xdc8811=0x0;_0xdc8811<_0xe78156;_0xdc8811+=0x2)_0x35e9af[_0xdc8811>>>0x3]|=parseInt(_0x396bcb['substr'](_0xdc8811,0x2),0x10)<<0x18-_0xdc8811%0x8*0x4;return new _0x19675a[(_0x32625a(0x22e))](_0x35e9af,_0xe78156/0x2);}},_0x5a969a=_0x1cef7a[_0x59bd70(0x420)]={'stringify':function(_0x446d16){const _0x555f12=_0x59bd70;for(var _0x4d5889=_0x446d16[_0x555f12(0x5a7)],_0x52c8ed=_0x446d16[_0x555f12(0x1e1)],_0x3066e3=[],_0xd8d7f9=0x0;_0xd8d7f9<_0x52c8ed;_0xd8d7f9++){var _0x4597ba=_0x4d5889[_0xd8d7f9>>>0x2]>>>0x18-_0xd8d7f9%0x4*0x8&0xff;_0x3066e3[_0x555f12(0x568)](String['fromCharCode'](_0x4597ba));}return _0x3066e3[_0x555f12(0x470)]('');},'parse':function(_0x394820){const _0x8c4f0e=_0x59bd70;for(var _0x5e04df=_0x394820['length'],_0x2d51b8=[],_0x50e005=0x0;_0x50e005<_0x5e04df;_0x50e005++)_0x2d51b8[_0x50e005>>>0x2]|=(_0x394820['charCodeAt'](_0x50e005)&0xff)<<0x18-_0x50e005%0x4*0x8;return new _0x19675a[(_0x8c4f0e(0x22e))](_0x2d51b8,_0x5e04df);}},_0x461b60=_0x1cef7a[_0x59bd70(0x649)]={'stringify':function(_0x4a046c){const _0x2a4af3=_0x59bd70;try{return decodeURIComponent(escape(_0x5a969a[_0x2a4af3(0x22b)](_0x4a046c)));}catch{throw new Error(_0x2a4af3(0x248));}},'parse':function(_0x2cc35f){return _0x5a969a['parse'](unescape(encodeURIComponent(_0x2cc35f)));}},_0x128299=_0x35bd82[_0x59bd70(0x3e0)]=_0x5d6513[_0x59bd70(0x388)]({'reset':function(){const _0x2762f8=_0x59bd70;this[_0x2762f8(0x68c)]=new _0x19675a[(_0x2762f8(0x22e))](),this[_0x2762f8(0x5db)]=0x0;},'_append':function(_0x3e7a3b){const _0x2ca92b=_0x59bd70;typeof _0x3e7a3b==_0x2ca92b(0x680)&&(_0x3e7a3b=_0x461b60['parse'](_0x3e7a3b)),this[_0x2ca92b(0x68c)][_0x2ca92b(0x43e)](_0x3e7a3b),this['_nDataBytes']+=_0x3e7a3b[_0x2ca92b(0x1e1)];},'_process':function(_0x3549ad){const _0x268a59=_0x59bd70;var _0x4ad76e,_0x2433e1=this[_0x268a59(0x68c)],_0x16b859=_0x2433e1[_0x268a59(0x5a7)],_0x643f1a=_0x2433e1[_0x268a59(0x1e1)],_0x18a2cb=this[_0x268a59(0x1b2)],_0x3febec=_0x18a2cb*0x4,_0x2a943e=_0x643f1a/_0x3febec;_0x3549ad?_0x2a943e=_0x2d589f[_0x268a59(0x1ee)](_0x2a943e):_0x2a943e=_0x2d589f[_0x268a59(0x3f3)]((_0x2a943e|0x0)-this[_0x268a59(0x620)],0x0);var _0x4d5f5c=_0x2a943e*_0x18a2cb,_0x45c04d=_0x2d589f[_0x268a59(0x468)](_0x4d5f5c*0x4,_0x643f1a);if(_0x4d5f5c){for(var _0x1a7d93=0x0;_0x1a7d93<_0x4d5f5c;_0x1a7d93+=_0x18a2cb)this[_0x268a59(0x63b)](_0x16b859,_0x1a7d93);_0x4ad76e=_0x16b859[_0x268a59(0x4b8)](0x0,_0x4d5f5c),_0x2433e1['sigBytes']-=_0x45c04d;}return new _0x19675a[(_0x268a59(0x22e))](_0x4ad76e,_0x45c04d);},'clone':function(){const _0xaf6c7b=_0x59bd70;var _0x47983e=_0x5d6513[_0xaf6c7b(0x4a2)][_0xaf6c7b(0x35a)](this);return _0x47983e[_0xaf6c7b(0x68c)]=this[_0xaf6c7b(0x68c)][_0xaf6c7b(0x4a2)](),_0x47983e;},'_minBufferSize':0x0});_0x35bd82[_0x59bd70(0x514)]=_0x128299[_0x59bd70(0x388)]({'cfg':_0x5d6513['extend'](),'init':function(_0x2d9e68){const _0x20a55d=_0x59bd70;this[_0x20a55d(0x663)]=this[_0x20a55d(0x663)]['extend'](_0x2d9e68),this['reset']();},'reset':function(){const _0x266487=_0x59bd70;_0x128299[_0x266487(0x3d8)]['call'](this),this[_0x266487(0x219)]();},'update':function(_0x5d796f){const _0x35f739=_0x59bd70;return this[_0x35f739(0x64e)](_0x5d796f),this[_0x35f739(0x4c3)](),this;},'finalize':function(_0x4b792d){const _0x8ce854=_0x59bd70;_0x4b792d&&this[_0x8ce854(0x64e)](_0x4b792d);var _0x5569bd=this[_0x8ce854(0x665)]();return _0x5569bd;},'blockSize':0x10,'_createHelper':function(_0x3b039f){return function(_0x4e8ebb,_0x3ec87a){const _0x13b260=_0x3b61;return new _0x3b039f[(_0x13b260(0x22e))](_0x3ec87a)['finalize'](_0x4e8ebb);};},'_createHmacHelper':function(_0x21f730){return function(_0x55a217,_0x9866b0){const _0x232f51=_0x3b61;return new _0x2a91cf[(_0x232f51(0x347))][(_0x232f51(0x22e))](_0x21f730,_0x9866b0)[_0x232f51(0x28b)](_0x55a217);};}});var _0x2a91cf=_0x14df0c[_0x59bd70(0x52c)]={};return _0x14df0c;}(Math);return _0x1dc8a7;}));}(_0x320ed9)),_0x320ed9[_0x5ce93a(0x413)];}var _0xa1830e={'exports':{}},_0x1f3700;function _0x832d1f(){const _0x16e0ce=_0x40190f;return _0x1f3700||(_0x1f3700=0x1,function(_0x4f7f18,_0x37da0a){(function(_0x80a69a,_0x3191ff){const _0x5d49f5=_0x3b61;_0x4f7f18[_0x5d49f5(0x413)]=_0x3191ff(_0x2adea5());}(_0x183640,function(_0x5bb07f){const _0x58e029=_0x3b61;return(function(){const _0x43b6e1=_0x3b61;var _0x1eca7e=_0x5bb07f,_0x3daf3c=_0x1eca7e[_0x43b6e1(0x442)],_0x32c34e=_0x3daf3c[_0x43b6e1(0x370)],_0x5097ec=_0x1eca7e['enc'];_0x5097ec['Base64']={'stringify':function(_0x520236){const _0x10fef6=_0x43b6e1;var _0x3a3735=_0x520236['words'],_0x253628=_0x520236[_0x10fef6(0x1e1)],_0xd56f76=this[_0x10fef6(0x37a)];_0x520236[_0x10fef6(0x38d)]();for(var _0x2bb5fa=[],_0x8ec92=0x0;_0x8ec92<_0x253628;_0x8ec92+=0x3)for(var _0x1d9485=_0x3a3735[_0x8ec92>>>0x2]>>>0x18-_0x8ec92%0x4*0x8&0xff,_0x20aea3=_0x3a3735[_0x8ec92+0x1>>>0x2]>>>0x18-(_0x8ec92+0x1)%0x4*0x8&0xff,_0x112928=_0x3a3735[_0x8ec92+0x2>>>0x2]>>>0x18-(_0x8ec92+0x2)%0x4*0x8&0xff,_0x41d2ea=_0x1d9485<<0x10|_0x20aea3<<0x8|_0x112928,_0x21a159=0x0;_0x21a159<0x4&&_0x8ec92+_0x21a159*0.75<_0x253628;_0x21a159++)_0x2bb5fa['push'](_0xd56f76['charAt'](_0x41d2ea>>>0x6*(0x3-_0x21a159)&0x3f));var _0x35df5a=_0xd56f76[_0x10fef6(0x526)](0x40);if(_0x35df5a){for(;_0x2bb5fa[_0x10fef6(0x642)]%0x4;)_0x2bb5fa['push'](_0x35df5a);}return _0x2bb5fa[_0x10fef6(0x470)]('');},'parse':function(_0x321bb5){const _0x371ac5=_0x43b6e1;var _0x2872f2=_0x321bb5[_0x371ac5(0x642)],_0x5b75a8=this[_0x371ac5(0x37a)],_0xd28ead=this['_reverseMap'];if(!_0xd28ead){_0xd28ead=this[_0x371ac5(0x4c7)]=[];for(var _0x58afb3=0x0;_0x58afb3<_0x5b75a8['length'];_0x58afb3++)_0xd28ead[_0x5b75a8[_0x371ac5(0x3dd)](_0x58afb3)]=_0x58afb3;}var _0x4cfe39=_0x5b75a8['charAt'](0x40);if(_0x4cfe39){var _0x452aad=_0x321bb5['indexOf'](_0x4cfe39);_0x452aad!==-0x1&&(_0x2872f2=_0x452aad);}return _0x58eeb9(_0x321bb5,_0x2872f2,_0xd28ead);},'_map':_0x43b6e1(0x689)};function _0x58eeb9(_0x1927e3,_0x13fda4,_0x44a6a4){const _0x71611f=_0x43b6e1;for(var _0xaadc71=[],_0x1c661d=0x0,_0x19ebe4=0x0;_0x19ebe4<_0x13fda4;_0x19ebe4++)if(_0x19ebe4%0x4){var _0x562bbb=_0x44a6a4[_0x1927e3['charCodeAt'](_0x19ebe4-0x1)]<<_0x19ebe4%0x4*0x2,_0x5a3d21=_0x44a6a4[_0x1927e3[_0x71611f(0x3dd)](_0x19ebe4)]>>>0x6-_0x19ebe4%0x4*0x2,_0x276379=_0x562bbb|_0x5a3d21;_0xaadc71[_0x1c661d>>>0x2]|=_0x276379<<0x18-_0x1c661d%0x4*0x8,_0x1c661d++;}return _0x32c34e[_0x71611f(0x509)](_0xaadc71,_0x1c661d);}}()),_0x5bb07f[_0x58e029(0x1b1)]['Base64'];}));}(_0xa1830e)),_0xa1830e[_0x16e0ce(0x413)];}var _0x444eec={'exports':{}},_0x4457ab;function _0x123c3a(){const _0x1a33b6=_0x40190f;return _0x4457ab||(_0x4457ab=0x1,function(_0x3d482d,_0x43851b){(function(_0x283d38,_0x18eaaa){_0x3d482d['exports']=_0x18eaaa(_0x2adea5());}(_0x183640,function(_0x25807b){const _0xfbe854=_0x3b61;return function(_0x2da00c){const _0x5fd46=_0x3b61;var _0x2c4c62=_0x25807b,_0x54f663=_0x2c4c62[_0x5fd46(0x442)],_0x3078e1=_0x54f663[_0x5fd46(0x370)],_0x5c2d32=_0x54f663['Hasher'],_0x35e1dd=_0x2c4c62['algo'],_0x10aa90=[];(function(){const _0xc50e53=_0x5fd46;for(var _0x328d90=0x0;_0x328d90<0x40;_0x328d90++)_0x10aa90[_0x328d90]=_0x2da00c[_0xc50e53(0x2e9)](_0x2da00c[_0xc50e53(0x458)](_0x328d90+0x1))*0x100000000|0x0;}());var _0x5a7dec=_0x35e1dd[_0x5fd46(0x558)]=_0x5c2d32['extend']({'_doReset':function(){const _0x3e6d00=_0x5fd46;this[_0x3e6d00(0x2a5)]=new _0x3078e1[(_0x3e6d00(0x22e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x182df8,_0x3bcef7){const _0x3183ea=_0x5fd46;for(var _0x194b26=0x0;_0x194b26<0x10;_0x194b26++){var _0x2c9534=_0x3bcef7+_0x194b26,_0x52726d=_0x182df8[_0x2c9534];_0x182df8[_0x2c9534]=(_0x52726d<<0x8|_0x52726d>>>0x18)&0xff00ff|(_0x52726d<<0x18|_0x52726d>>>0x8)&0xff00ff00;}var _0x18be41=this[_0x3183ea(0x2a5)][_0x3183ea(0x5a7)],_0x9b4b8f=_0x182df8[_0x3bcef7+0x0],_0x5b5b6f=_0x182df8[_0x3bcef7+0x1],_0x2072f5=_0x182df8[_0x3bcef7+0x2],_0x5d1f60=_0x182df8[_0x3bcef7+0x3],_0x1d40cc=_0x182df8[_0x3bcef7+0x4],_0x490c04=_0x182df8[_0x3bcef7+0x5],_0x427b9e=_0x182df8[_0x3bcef7+0x6],_0x387242=_0x182df8[_0x3bcef7+0x7],_0x45f095=_0x182df8[_0x3bcef7+0x8],_0x5655cb=_0x182df8[_0x3bcef7+0x9],_0x41b501=_0x182df8[_0x3bcef7+0xa],_0x3a8a60=_0x182df8[_0x3bcef7+0xb],_0x4f6f61=_0x182df8[_0x3bcef7+0xc],_0x330539=_0x182df8[_0x3bcef7+0xd],_0x8191cc=_0x182df8[_0x3bcef7+0xe],_0x42c86f=_0x182df8[_0x3bcef7+0xf],_0xfe207d=_0x18be41[0x0],_0x1dcd37=_0x18be41[0x1],_0x213474=_0x18be41[0x2],_0x505f34=_0x18be41[0x3];_0xfe207d=_0x29770b(_0xfe207d,_0x1dcd37,_0x213474,_0x505f34,_0x9b4b8f,0x7,_0x10aa90[0x0]),_0x505f34=_0x29770b(_0x505f34,_0xfe207d,_0x1dcd37,_0x213474,_0x5b5b6f,0xc,_0x10aa90[0x1]),_0x213474=_0x29770b(_0x213474,_0x505f34,_0xfe207d,_0x1dcd37,_0x2072f5,0x11,_0x10aa90[0x2]),_0x1dcd37=_0x29770b(_0x1dcd37,_0x213474,_0x505f34,_0xfe207d,_0x5d1f60,0x16,_0x10aa90[0x3]),_0xfe207d=_0x29770b(_0xfe207d,_0x1dcd37,_0x213474,_0x505f34,_0x1d40cc,0x7,_0x10aa90[0x4]),_0x505f34=_0x29770b(_0x505f34,_0xfe207d,_0x1dcd37,_0x213474,_0x490c04,0xc,_0x10aa90[0x5]),_0x213474=_0x29770b(_0x213474,_0x505f34,_0xfe207d,_0x1dcd37,_0x427b9e,0x11,_0x10aa90[0x6]),_0x1dcd37=_0x29770b(_0x1dcd37,_0x213474,_0x505f34,_0xfe207d,_0x387242,0x16,_0x10aa90[0x7]),_0xfe207d=_0x29770b(_0xfe207d,_0x1dcd37,_0x213474,_0x505f34,_0x45f095,0x7,_0x10aa90[0x8]),_0x505f34=_0x29770b(_0x505f34,_0xfe207d,_0x1dcd37,_0x213474,_0x5655cb,0xc,_0x10aa90[0x9]),_0x213474=_0x29770b(_0x213474,_0x505f34,_0xfe207d,_0x1dcd37,_0x41b501,0x11,_0x10aa90[0xa]),_0x1dcd37=_0x29770b(_0x1dcd37,_0x213474,_0x505f34,_0xfe207d,_0x3a8a60,0x16,_0x10aa90[0xb]),_0xfe207d=_0x29770b(_0xfe207d,_0x1dcd37,_0x213474,_0x505f34,_0x4f6f61,0x7,_0x10aa90[0xc]),_0x505f34=_0x29770b(_0x505f34,_0xfe207d,_0x1dcd37,_0x213474,_0x330539,0xc,_0x10aa90[0xd]),_0x213474=_0x29770b(_0x213474,_0x505f34,_0xfe207d,_0x1dcd37,_0x8191cc,0x11,_0x10aa90[0xe]),_0x1dcd37=_0x29770b(_0x1dcd37,_0x213474,_0x505f34,_0xfe207d,_0x42c86f,0x16,_0x10aa90[0xf]),_0xfe207d=_0x3332ad(_0xfe207d,_0x1dcd37,_0x213474,_0x505f34,_0x5b5b6f,0x5,_0x10aa90[0x10]),_0x505f34=_0x3332ad(_0x505f34,_0xfe207d,_0x1dcd37,_0x213474,_0x427b9e,0x9,_0x10aa90[0x11]),_0x213474=_0x3332ad(_0x213474,_0x505f34,_0xfe207d,_0x1dcd37,_0x3a8a60,0xe,_0x10aa90[0x12]),_0x1dcd37=_0x3332ad(_0x1dcd37,_0x213474,_0x505f34,_0xfe207d,_0x9b4b8f,0x14,_0x10aa90[0x13]),_0xfe207d=_0x3332ad(_0xfe207d,_0x1dcd37,_0x213474,_0x505f34,_0x490c04,0x5,_0x10aa90[0x14]),_0x505f34=_0x3332ad(_0x505f34,_0xfe207d,_0x1dcd37,_0x213474,_0x41b501,0x9,_0x10aa90[0x15]),_0x213474=_0x3332ad(_0x213474,_0x505f34,_0xfe207d,_0x1dcd37,_0x42c86f,0xe,_0x10aa90[0x16]),_0x1dcd37=_0x3332ad(_0x1dcd37,_0x213474,_0x505f34,_0xfe207d,_0x1d40cc,0x14,_0x10aa90[0x17]),_0xfe207d=_0x3332ad(_0xfe207d,_0x1dcd37,_0x213474,_0x505f34,_0x5655cb,0x5,_0x10aa90[0x18]),_0x505f34=_0x3332ad(_0x505f34,_0xfe207d,_0x1dcd37,_0x213474,_0x8191cc,0x9,_0x10aa90[0x19]),_0x213474=_0x3332ad(_0x213474,_0x505f34,_0xfe207d,_0x1dcd37,_0x5d1f60,0xe,_0x10aa90[0x1a]),_0x1dcd37=_0x3332ad(_0x1dcd37,_0x213474,_0x505f34,_0xfe207d,_0x45f095,0x14,_0x10aa90[0x1b]),_0xfe207d=_0x3332ad(_0xfe207d,_0x1dcd37,_0x213474,_0x505f34,_0x330539,0x5,_0x10aa90[0x1c]),_0x505f34=_0x3332ad(_0x505f34,_0xfe207d,_0x1dcd37,_0x213474,_0x2072f5,0x9,_0x10aa90[0x1d]),_0x213474=_0x3332ad(_0x213474,_0x505f34,_0xfe207d,_0x1dcd37,_0x387242,0xe,_0x10aa90[0x1e]),_0x1dcd37=_0x3332ad(_0x1dcd37,_0x213474,_0x505f34,_0xfe207d,_0x4f6f61,0x14,_0x10aa90[0x1f]),_0xfe207d=_0x256501(_0xfe207d,_0x1dcd37,_0x213474,_0x505f34,_0x490c04,0x4,_0x10aa90[0x20]),_0x505f34=_0x256501(_0x505f34,_0xfe207d,_0x1dcd37,_0x213474,_0x45f095,0xb,_0x10aa90[0x21]),_0x213474=_0x256501(_0x213474,_0x505f34,_0xfe207d,_0x1dcd37,_0x3a8a60,0x10,_0x10aa90[0x22]),_0x1dcd37=_0x256501(_0x1dcd37,_0x213474,_0x505f34,_0xfe207d,_0x8191cc,0x17,_0x10aa90[0x23]),_0xfe207d=_0x256501(_0xfe207d,_0x1dcd37,_0x213474,_0x505f34,_0x5b5b6f,0x4,_0x10aa90[0x24]),_0x505f34=_0x256501(_0x505f34,_0xfe207d,_0x1dcd37,_0x213474,_0x1d40cc,0xb,_0x10aa90[0x25]),_0x213474=_0x256501(_0x213474,_0x505f34,_0xfe207d,_0x1dcd37,_0x387242,0x10,_0x10aa90[0x26]),_0x1dcd37=_0x256501(_0x1dcd37,_0x213474,_0x505f34,_0xfe207d,_0x41b501,0x17,_0x10aa90[0x27]),_0xfe207d=_0x256501(_0xfe207d,_0x1dcd37,_0x213474,_0x505f34,_0x330539,0x4,_0x10aa90[0x28]),_0x505f34=_0x256501(_0x505f34,_0xfe207d,_0x1dcd37,_0x213474,_0x9b4b8f,0xb,_0x10aa90[0x29]),_0x213474=_0x256501(_0x213474,_0x505f34,_0xfe207d,_0x1dcd37,_0x5d1f60,0x10,_0x10aa90[0x2a]),_0x1dcd37=_0x256501(_0x1dcd37,_0x213474,_0x505f34,_0xfe207d,_0x427b9e,0x17,_0x10aa90[0x2b]),_0xfe207d=_0x256501(_0xfe207d,_0x1dcd37,_0x213474,_0x505f34,_0x5655cb,0x4,_0x10aa90[0x2c]),_0x505f34=_0x256501(_0x505f34,_0xfe207d,_0x1dcd37,_0x213474,_0x4f6f61,0xb,_0x10aa90[0x2d]),_0x213474=_0x256501(_0x213474,_0x505f34,_0xfe207d,_0x1dcd37,_0x42c86f,0x10,_0x10aa90[0x2e]),_0x1dcd37=_0x256501(_0x1dcd37,_0x213474,_0x505f34,_0xfe207d,_0x2072f5,0x17,_0x10aa90[0x2f]),_0xfe207d=_0x4b3159(_0xfe207d,_0x1dcd37,_0x213474,_0x505f34,_0x9b4b8f,0x6,_0x10aa90[0x30]),_0x505f34=_0x4b3159(_0x505f34,_0xfe207d,_0x1dcd37,_0x213474,_0x387242,0xa,_0x10aa90[0x31]),_0x213474=_0x4b3159(_0x213474,_0x505f34,_0xfe207d,_0x1dcd37,_0x8191cc,0xf,_0x10aa90[0x32]),_0x1dcd37=_0x4b3159(_0x1dcd37,_0x213474,_0x505f34,_0xfe207d,_0x490c04,0x15,_0x10aa90[0x33]),_0xfe207d=_0x4b3159(_0xfe207d,_0x1dcd37,_0x213474,_0x505f34,_0x4f6f61,0x6,_0x10aa90[0x34]),_0x505f34=_0x4b3159(_0x505f34,_0xfe207d,_0x1dcd37,_0x213474,_0x5d1f60,0xa,_0x10aa90[0x35]),_0x213474=_0x4b3159(_0x213474,_0x505f34,_0xfe207d,_0x1dcd37,_0x41b501,0xf,_0x10aa90[0x36]),_0x1dcd37=_0x4b3159(_0x1dcd37,_0x213474,_0x505f34,_0xfe207d,_0x5b5b6f,0x15,_0x10aa90[0x37]),_0xfe207d=_0x4b3159(_0xfe207d,_0x1dcd37,_0x213474,_0x505f34,_0x45f095,0x6,_0x10aa90[0x38]),_0x505f34=_0x4b3159(_0x505f34,_0xfe207d,_0x1dcd37,_0x213474,_0x42c86f,0xa,_0x10aa90[0x39]),_0x213474=_0x4b3159(_0x213474,_0x505f34,_0xfe207d,_0x1dcd37,_0x427b9e,0xf,_0x10aa90[0x3a]),_0x1dcd37=_0x4b3159(_0x1dcd37,_0x213474,_0x505f34,_0xfe207d,_0x330539,0x15,_0x10aa90[0x3b]),_0xfe207d=_0x4b3159(_0xfe207d,_0x1dcd37,_0x213474,_0x505f34,_0x1d40cc,0x6,_0x10aa90[0x3c]),_0x505f34=_0x4b3159(_0x505f34,_0xfe207d,_0x1dcd37,_0x213474,_0x3a8a60,0xa,_0x10aa90[0x3d]),_0x213474=_0x4b3159(_0x213474,_0x505f34,_0xfe207d,_0x1dcd37,_0x2072f5,0xf,_0x10aa90[0x3e]),_0x1dcd37=_0x4b3159(_0x1dcd37,_0x213474,_0x505f34,_0xfe207d,_0x5655cb,0x15,_0x10aa90[0x3f]),_0x18be41[0x0]=_0x18be41[0x0]+_0xfe207d|0x0,_0x18be41[0x1]=_0x18be41[0x1]+_0x1dcd37|0x0,_0x18be41[0x2]=_0x18be41[0x2]+_0x213474|0x0,_0x18be41[0x3]=_0x18be41[0x3]+_0x505f34|0x0;},'_doFinalize':function(){const _0x2cdaac=_0x5fd46;var _0xad730f=this['_data'],_0x8bd68=_0xad730f[_0x2cdaac(0x5a7)],_0x7be9f4=this['_nDataBytes']*0x8,_0x5cc4c6=_0xad730f[_0x2cdaac(0x1e1)]*0x8;_0x8bd68[_0x5cc4c6>>>0x5]|=0x80<<0x18-_0x5cc4c6%0x20;var _0x303038=_0x2da00c[_0x2cdaac(0x239)](_0x7be9f4/0x100000000),_0x180572=_0x7be9f4;_0x8bd68[(_0x5cc4c6+0x40>>>0x9<<0x4)+0xf]=(_0x303038<<0x8|_0x303038>>>0x18)&0xff00ff|(_0x303038<<0x18|_0x303038>>>0x8)&0xff00ff00,_0x8bd68[(_0x5cc4c6+0x40>>>0x9<<0x4)+0xe]=(_0x180572<<0x8|_0x180572>>>0x18)&0xff00ff|(_0x180572<<0x18|_0x180572>>>0x8)&0xff00ff00,_0xad730f[_0x2cdaac(0x1e1)]=(_0x8bd68[_0x2cdaac(0x642)]+0x1)*0x4,this[_0x2cdaac(0x4c3)]();for(var _0x1022a1=this[_0x2cdaac(0x2a5)],_0x1c203f=_0x1022a1[_0x2cdaac(0x5a7)],_0xb48560=0x0;_0xb48560<0x4;_0xb48560++){var _0x160ac3=_0x1c203f[_0xb48560];_0x1c203f[_0xb48560]=(_0x160ac3<<0x8|_0x160ac3>>>0x18)&0xff00ff|(_0x160ac3<<0x18|_0x160ac3>>>0x8)&0xff00ff00;}return _0x1022a1;},'clone':function(){const _0x1b4d7f=_0x5fd46;var _0x5d0f13=_0x5c2d32[_0x1b4d7f(0x4a2)][_0x1b4d7f(0x35a)](this);return _0x5d0f13['_hash']=this[_0x1b4d7f(0x2a5)][_0x1b4d7f(0x4a2)](),_0x5d0f13;}});function _0x29770b(_0x4d94bc,_0x3aa025,_0x452614,_0x20c424,_0xb0647a,_0x15d614,_0x40fde6){var _0x3dec4e=_0x4d94bc+(_0x3aa025&_0x452614|~_0x3aa025&_0x20c424)+_0xb0647a+_0x40fde6;return(_0x3dec4e<<_0x15d614|_0x3dec4e>>>0x20-_0x15d614)+_0x3aa025;}function _0x3332ad(_0x5b523f,_0x21b33d,_0x5d323b,_0x53d593,_0x428a40,_0x1ba1ba,_0x2bb8cf){var _0x3f3d9b=_0x5b523f+(_0x21b33d&_0x53d593|_0x5d323b&~_0x53d593)+_0x428a40+_0x2bb8cf;return(_0x3f3d9b<<_0x1ba1ba|_0x3f3d9b>>>0x20-_0x1ba1ba)+_0x21b33d;}function _0x256501(_0x44f69a,_0x39db86,_0x34954a,_0x5e896a,_0x5db17b,_0x33424a,_0x3098f7){var _0x1a3af8=_0x44f69a+(_0x39db86^_0x34954a^_0x5e896a)+_0x5db17b+_0x3098f7;return(_0x1a3af8<<_0x33424a|_0x1a3af8>>>0x20-_0x33424a)+_0x39db86;}function _0x4b3159(_0xdc5986,_0xe1c3e2,_0x1da790,_0x93d07a,_0x593569,_0x11c5ef,_0x1c1fdf){var _0x891540=_0xdc5986+(_0x1da790^(_0xe1c3e2|~_0x93d07a))+_0x593569+_0x1c1fdf;return(_0x891540<<_0x11c5ef|_0x891540>>>0x20-_0x11c5ef)+_0xe1c3e2;}_0x2c4c62[_0x5fd46(0x558)]=_0x5c2d32[_0x5fd46(0x1e9)](_0x5a7dec),_0x2c4c62[_0x5fd46(0x47b)]=_0x5c2d32[_0x5fd46(0x5d5)](_0x5a7dec);}(Math),_0x25807b[_0xfbe854(0x558)];}));}(_0x444eec)),_0x444eec[_0x1a33b6(0x413)];}var _0x5d01ee={'exports':{}},_0x30bbbe={'exports':{}},_0x2db0de;function _0x7d794(){const _0x338b21=_0x40190f;return _0x2db0de||(_0x2db0de=0x1,function(_0x55d9e9,_0x2fe13f){(function(_0x143918,_0x5c0ab0){_0x55d9e9['exports']=_0x5c0ab0(_0x2adea5());}(_0x183640,function(_0x345f4f){const _0x361d27=_0x3b61;return(function(){const _0x2612ff=_0x3b61;var _0x5878ce=_0x345f4f,_0x10998b=_0x5878ce[_0x2612ff(0x442)],_0x8f9707=_0x10998b[_0x2612ff(0x370)],_0x5d4263=_0x10998b[_0x2612ff(0x514)],_0x3aaf48=_0x5878ce[_0x2612ff(0x52c)],_0x485d1c=[],_0x2b6308=_0x3aaf48[_0x2612ff(0x606)]=_0x5d4263[_0x2612ff(0x388)]({'_doReset':function(){const _0x3164cb=_0x2612ff;this[_0x3164cb(0x2a5)]=new _0x8f9707['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x156d9e,_0x1ce6e9){const _0x41e1cc=_0x2612ff;for(var _0x1b10ba=this[_0x41e1cc(0x2a5)][_0x41e1cc(0x5a7)],_0x5ce2ed=_0x1b10ba[0x0],_0xcc924b=_0x1b10ba[0x1],_0x330fbb=_0x1b10ba[0x2],_0x5121a6=_0x1b10ba[0x3],_0x139caf=_0x1b10ba[0x4],_0x12ae6d=0x0;_0x12ae6d<0x50;_0x12ae6d++){if(_0x12ae6d<0x10)_0x485d1c[_0x12ae6d]=_0x156d9e[_0x1ce6e9+_0x12ae6d]|0x0;else{var _0x222c46=_0x485d1c[_0x12ae6d-0x3]^_0x485d1c[_0x12ae6d-0x8]^_0x485d1c[_0x12ae6d-0xe]^_0x485d1c[_0x12ae6d-0x10];_0x485d1c[_0x12ae6d]=_0x222c46<<0x1|_0x222c46>>>0x1f;}var _0x20ab3a=(_0x5ce2ed<<0x5|_0x5ce2ed>>>0x1b)+_0x139caf+_0x485d1c[_0x12ae6d];_0x12ae6d<0x14?_0x20ab3a+=(_0xcc924b&_0x330fbb|~_0xcc924b&_0x5121a6)+0x5a827999:_0x12ae6d<0x28?_0x20ab3a+=(_0xcc924b^_0x330fbb^_0x5121a6)+0x6ed9eba1:_0x12ae6d<0x3c?_0x20ab3a+=(_0xcc924b&_0x330fbb|_0xcc924b&_0x5121a6|_0x330fbb&_0x5121a6)-0x70e44324:_0x20ab3a+=(_0xcc924b^_0x330fbb^_0x5121a6)-0x359d3e2a,_0x139caf=_0x5121a6,_0x5121a6=_0x330fbb,_0x330fbb=_0xcc924b<<0x1e|_0xcc924b>>>0x2,_0xcc924b=_0x5ce2ed,_0x5ce2ed=_0x20ab3a;}_0x1b10ba[0x0]=_0x1b10ba[0x0]+_0x5ce2ed|0x0,_0x1b10ba[0x1]=_0x1b10ba[0x1]+_0xcc924b|0x0,_0x1b10ba[0x2]=_0x1b10ba[0x2]+_0x330fbb|0x0,_0x1b10ba[0x3]=_0x1b10ba[0x3]+_0x5121a6|0x0,_0x1b10ba[0x4]=_0x1b10ba[0x4]+_0x139caf|0x0;},'_doFinalize':function(){const _0x32add0=_0x2612ff;var _0x56c015=this[_0x32add0(0x68c)],_0x41c75e=_0x56c015[_0x32add0(0x5a7)],_0x35bb0e=this[_0x32add0(0x5db)]*0x8,_0x4ddefb=_0x56c015[_0x32add0(0x1e1)]*0x8;return _0x41c75e[_0x4ddefb>>>0x5]|=0x80<<0x18-_0x4ddefb%0x20,_0x41c75e[(_0x4ddefb+0x40>>>0x9<<0x4)+0xe]=Math[_0x32add0(0x239)](_0x35bb0e/0x100000000),_0x41c75e[(_0x4ddefb+0x40>>>0x9<<0x4)+0xf]=_0x35bb0e,_0x56c015['sigBytes']=_0x41c75e[_0x32add0(0x642)]*0x4,this['_process'](),this['_hash'];},'clone':function(){const _0x2b2144=_0x2612ff;var _0x3d7e91=_0x5d4263['clone'][_0x2b2144(0x35a)](this);return _0x3d7e91[_0x2b2144(0x2a5)]=this['_hash'][_0x2b2144(0x4a2)](),_0x3d7e91;}});_0x5878ce['SHA1']=_0x5d4263[_0x2612ff(0x1e9)](_0x2b6308),_0x5878ce[_0x2612ff(0x5c4)]=_0x5d4263[_0x2612ff(0x5d5)](_0x2b6308);}()),_0x345f4f[_0x361d27(0x606)];}));}(_0x30bbbe)),_0x30bbbe[_0x338b21(0x413)];}var _0x3a60e1={'exports':{}},_0x47675b;function _0xb704ee(){const _0x356c2e=_0x40190f;return _0x47675b||(_0x47675b=0x1,function(_0x179039,_0xcc18a3){(function(_0x41cf4f,_0x2852f8){_0x179039['exports']=_0x2852f8(_0x2adea5());}(_0x183640,function(_0x4398b4){(function(){const _0x9260b9=_0x3b61;var _0x500682=_0x4398b4,_0x58d53e=_0x500682[_0x9260b9(0x442)],_0x1d6825=_0x58d53e[_0x9260b9(0x546)],_0x3d7eb5=_0x500682['enc'],_0x5b56ec=_0x3d7eb5[_0x9260b9(0x649)],_0x5e6c09=_0x500682[_0x9260b9(0x52c)];_0x5e6c09['HMAC']=_0x1d6825[_0x9260b9(0x388)]({'init':function(_0x2307f6,_0x15e7aa){const _0x3e01b5=_0x9260b9;_0x2307f6=this['_hasher']=new _0x2307f6['init'](),typeof _0x15e7aa==_0x3e01b5(0x680)&&(_0x15e7aa=_0x5b56ec[_0x3e01b5(0x338)](_0x15e7aa));var _0x799c70=_0x2307f6[_0x3e01b5(0x1b2)],_0x40888c=_0x799c70*0x4;_0x15e7aa[_0x3e01b5(0x1e1)]>_0x40888c&&(_0x15e7aa=_0x2307f6[_0x3e01b5(0x28b)](_0x15e7aa)),_0x15e7aa[_0x3e01b5(0x38d)]();for(var _0x14f64f=this[_0x3e01b5(0x5d4)]=_0x15e7aa[_0x3e01b5(0x4a2)](),_0x20abf0=this['_iKey']=_0x15e7aa[_0x3e01b5(0x4a2)](),_0x48e58f=_0x14f64f['words'],_0x248837=_0x20abf0[_0x3e01b5(0x5a7)],_0x29ad3c=0x0;_0x29ad3c<_0x799c70;_0x29ad3c++)_0x48e58f[_0x29ad3c]^=0x5c5c5c5c,_0x248837[_0x29ad3c]^=0x36363636;_0x14f64f[_0x3e01b5(0x1e1)]=_0x20abf0[_0x3e01b5(0x1e1)]=_0x40888c,this[_0x3e01b5(0x3d8)]();},'reset':function(){const _0x78bc19=_0x9260b9;var _0x203660=this[_0x78bc19(0x554)];_0x203660['reset'](),_0x203660[_0x78bc19(0x4dc)](this[_0x78bc19(0x343)]);},'update':function(_0x25a69e){const _0x2a4f8e=_0x9260b9;return this[_0x2a4f8e(0x554)]['update'](_0x25a69e),this;},'finalize':function(_0x5ec2ad){const _0x4ea506=_0x9260b9;var _0x265028=this['_hasher'],_0x37be65=_0x265028[_0x4ea506(0x28b)](_0x5ec2ad);_0x265028['reset']();var _0x371de3=_0x265028[_0x4ea506(0x28b)](this[_0x4ea506(0x5d4)][_0x4ea506(0x4a2)]()['concat'](_0x37be65));return _0x371de3;}});}());}));}(_0x3a60e1)),_0x3a60e1[_0x356c2e(0x413)];}var _0x498f02;function _0x535348(){const _0x5195a2=_0x40190f;return _0x498f02||(_0x498f02=0x1,function(_0x27c03c,_0x22fedc){(function(_0x34c8ac,_0x50a355,_0x4a88f3){const _0x4c039d=_0x3b61;_0x27c03c[_0x4c039d(0x413)]=_0x50a355(_0x2adea5(),_0x7d794(),_0xb704ee());}(_0x183640,function(_0x5b7c3c){const _0x359b96=_0x3b61;return(function(){const _0x2b4704=_0x3b61;var _0xc15616=_0x5b7c3c,_0x5c5674=_0xc15616[_0x2b4704(0x442)],_0x1a46a5=_0x5c5674['Base'],_0xc2275e=_0x5c5674[_0x2b4704(0x370)],_0x43e8ac=_0xc15616['algo'],_0xe32022=_0x43e8ac['MD5'],_0x473be1=_0x43e8ac['EvpKDF']=_0x1a46a5[_0x2b4704(0x388)]({'cfg':_0x1a46a5['extend']({'keySize':0x80/0x20,'hasher':_0xe32022,'iterations':0x1}),'init':function(_0x36015d){const _0x51d52f=_0x2b4704;this[_0x51d52f(0x663)]=this[_0x51d52f(0x663)][_0x51d52f(0x388)](_0x36015d);},'compute':function(_0x126785,_0x317a5c){const _0x28ae8a=_0x2b4704;for(var _0x15b0cc,_0x519057=this[_0x28ae8a(0x663)],_0x3ea966=_0x519057['hasher'][_0x28ae8a(0x509)](),_0x57f06c=_0xc2275e[_0x28ae8a(0x509)](),_0x57c6f4=_0x57f06c[_0x28ae8a(0x5a7)],_0x440bbc=_0x519057['keySize'],_0x26861d=_0x519057[_0x28ae8a(0x398)];_0x57c6f4[_0x28ae8a(0x642)]<_0x440bbc;){_0x15b0cc&&_0x3ea966[_0x28ae8a(0x4dc)](_0x15b0cc),_0x15b0cc=_0x3ea966[_0x28ae8a(0x4dc)](_0x126785)[_0x28ae8a(0x28b)](_0x317a5c),_0x3ea966[_0x28ae8a(0x3d8)]();for(var _0x45e9b1=0x1;_0x45e9b1<_0x26861d;_0x45e9b1++)_0x15b0cc=_0x3ea966[_0x28ae8a(0x28b)](_0x15b0cc),_0x3ea966[_0x28ae8a(0x3d8)]();_0x57f06c['concat'](_0x15b0cc);}return _0x57f06c[_0x28ae8a(0x1e1)]=_0x440bbc*0x4,_0x57f06c;}});_0xc15616['EvpKDF']=function(_0x4875c2,_0x471918,_0xdb779d){const _0x39152b=_0x2b4704;return _0x473be1['create'](_0xdb779d)[_0x39152b(0x3c3)](_0x4875c2,_0x471918);};}()),_0x5b7c3c[_0x359b96(0x426)];}));}(_0x5d01ee)),_0x5d01ee[_0x5195a2(0x413)];}var _0x3966a7={'exports':{}},_0x3efb24;function _0xce9acc(){const _0x35cad4=_0x40190f;return _0x3efb24||(_0x3efb24=0x1,function(_0x111946,_0x3532f0){(function(_0x5af652,_0x1d4127,_0x3e1ac7){const _0x43bcf1=_0x3b61;_0x111946[_0x43bcf1(0x413)]=_0x1d4127(_0x2adea5(),_0x535348());}(_0x183640,function(_0x578823){const _0x502df9=_0x3b61;_0x578823[_0x502df9(0x442)]['Cipher']||function(_0x3e2c69){const _0x55e861=_0x502df9;var _0x5e6008=_0x578823,_0x149e75=_0x5e6008[_0x55e861(0x442)],_0x1e8dda=_0x149e75[_0x55e861(0x546)],_0x272421=_0x149e75[_0x55e861(0x370)],_0xeb5322=_0x149e75[_0x55e861(0x3e0)],_0x57d41e=_0x5e6008['enc'];_0x57d41e['Utf8'];var _0x3d55dd=_0x57d41e[_0x55e861(0x513)],_0x43c3df=_0x5e6008[_0x55e861(0x52c)],_0x4c4b1d=_0x43c3df[_0x55e861(0x426)],_0x394988=_0x149e75[_0x55e861(0x252)]=_0xeb5322[_0x55e861(0x388)]({'cfg':_0x1e8dda[_0x55e861(0x388)](),'createEncryptor':function(_0x267314,_0x3243c0){const _0x1d5480=_0x55e861;return this[_0x1d5480(0x509)](this[_0x1d5480(0x4cf)],_0x267314,_0x3243c0);},'createDecryptor':function(_0x3867d8,_0x42d88e){const _0x1a58d5=_0x55e861;return this['create'](this[_0x1a58d5(0x4d5)],_0x3867d8,_0x42d88e);},'init':function(_0x3a3119,_0x173c9f,_0x20dc27){const _0x3c2118=_0x55e861;this[_0x3c2118(0x663)]=this[_0x3c2118(0x663)][_0x3c2118(0x388)](_0x20dc27),this[_0x3c2118(0x2a2)]=_0x3a3119,this['_key']=_0x173c9f,this['reset']();},'reset':function(){const _0x11b113=_0x55e861;_0xeb5322[_0x11b113(0x3d8)][_0x11b113(0x35a)](this),this[_0x11b113(0x219)]();},'process':function(_0xd8f6f2){const _0x3d2d7e=_0x55e861;return this[_0x3d2d7e(0x64e)](_0xd8f6f2),this[_0x3d2d7e(0x4c3)]();},'finalize':function(_0x4d4930){const _0x44840c=_0x55e861;_0x4d4930&&this['_append'](_0x4d4930);var _0x391846=this[_0x44840c(0x665)]();return _0x391846;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x363e01(_0x1c3777){return typeof _0x1c3777=='string'?_0x1d7258:_0x282264;}return function(_0x206003){return{'encrypt':function(_0x4bc0f0,_0x127494,_0x559b1b){return _0x363e01(_0x127494)['encrypt'](_0x206003,_0x4bc0f0,_0x127494,_0x559b1b);},'decrypt':function(_0x1eae42,_0x36c5ef,_0x2d39de){const _0x371bd2=_0x3b61;return _0x363e01(_0x36c5ef)[_0x371bd2(0x217)](_0x206003,_0x1eae42,_0x36c5ef,_0x2d39de);}};};}())});_0x149e75['StreamCipher']=_0x394988[_0x55e861(0x388)]({'_doFinalize':function(){var _0x376f91=this['_process'](!0x0);return _0x376f91;},'blockSize':0x1});var _0x4f4c7d=_0x5e6008[_0x55e861(0x525)]={},_0x3e9d0c=_0x149e75['BlockCipherMode']=_0x1e8dda[_0x55e861(0x388)]({'createEncryptor':function(_0x2c3965,_0x539154){const _0x1c366f=_0x55e861;return this[_0x1c366f(0x5a0)][_0x1c366f(0x509)](_0x2c3965,_0x539154);},'createDecryptor':function(_0xfd8657,_0x399273){return this['Decryptor']['create'](_0xfd8657,_0x399273);},'init':function(_0x18ce05,_0x1fa221){const _0x3e17f0=_0x55e861;this[_0x3e17f0(0x3c0)]=_0x18ce05,this[_0x3e17f0(0x28c)]=_0x1fa221;}}),_0x154ad=_0x4f4c7d[_0x55e861(0x607)]=(function(){const _0x81e034=_0x55e861;var _0x1055cc=_0x3e9d0c['extend']();_0x1055cc['Encryptor']=_0x1055cc[_0x81e034(0x388)]({'processBlock':function(_0x177558,_0x184daf){const _0x4659be=_0x81e034;var _0x100a0f=this[_0x4659be(0x3c0)],_0x37ef82=_0x100a0f[_0x4659be(0x1b2)];_0xc21e21[_0x4659be(0x35a)](this,_0x177558,_0x184daf,_0x37ef82),_0x100a0f[_0x4659be(0x473)](_0x177558,_0x184daf),this[_0x4659be(0x581)]=_0x177558[_0x4659be(0x4cd)](_0x184daf,_0x184daf+_0x37ef82);}}),_0x1055cc[_0x81e034(0x28a)]=_0x1055cc[_0x81e034(0x388)]({'processBlock':function(_0x32f963,_0x130208){const _0x40e419=_0x81e034;var _0x3fd74f=this['_cipher'],_0x2e57a4=_0x3fd74f[_0x40e419(0x1b2)],_0x233dc4=_0x32f963[_0x40e419(0x4cd)](_0x130208,_0x130208+_0x2e57a4);_0x3fd74f[_0x40e419(0x295)](_0x32f963,_0x130208),_0xc21e21[_0x40e419(0x35a)](this,_0x32f963,_0x130208,_0x2e57a4),this[_0x40e419(0x581)]=_0x233dc4;}});function _0xc21e21(_0x3baef9,_0x379216,_0x26614a){const _0x514139=_0x81e034;var _0x39a539,_0x3b149a=this[_0x514139(0x28c)];_0x3b149a?(_0x39a539=_0x3b149a,this[_0x514139(0x28c)]=_0x3e2c69):_0x39a539=this[_0x514139(0x581)];for(var _0x2bc325=0x0;_0x2bc325<_0x26614a;_0x2bc325++)_0x3baef9[_0x379216+_0x2bc325]^=_0x39a539[_0x2bc325];}return _0x1055cc;}()),_0x16c8d4=_0x5e6008['pad']={},_0x1d97cc=_0x16c8d4['Pkcs7']={'pad':function(_0x5cbf2b,_0x33c62f){const _0x140a25=_0x55e861;for(var _0x408554=_0x33c62f*0x4,_0x30157c=_0x408554-_0x5cbf2b['sigBytes']%_0x408554,_0x11aa6f=_0x30157c<<0x18|_0x30157c<<0x10|_0x30157c<<0x8|_0x30157c,_0x1daa6e=[],_0x1f710e=0x0;_0x1f710e<_0x30157c;_0x1f710e+=0x4)_0x1daa6e['push'](_0x11aa6f);var _0x122a74=_0x272421[_0x140a25(0x509)](_0x1daa6e,_0x30157c);_0x5cbf2b[_0x140a25(0x43e)](_0x122a74);},'unpad':function(_0x478c36){const _0x59ed4d=_0x55e861;var _0x53d598=_0x478c36[_0x59ed4d(0x5a7)][_0x478c36[_0x59ed4d(0x1e1)]-0x1>>>0x2]&0xff;_0x478c36[_0x59ed4d(0x1e1)]-=_0x53d598;}};_0x149e75[_0x55e861(0x61c)]=_0x394988[_0x55e861(0x388)]({'cfg':_0x394988[_0x55e861(0x663)][_0x55e861(0x388)]({'mode':_0x154ad,'padding':_0x1d97cc}),'reset':function(){const _0x5df4af=_0x55e861;var _0x1ddf73;_0x394988[_0x5df4af(0x3d8)]['call'](this);var _0x5ea61d=this['cfg'],_0x24d744=_0x5ea61d['iv'],_0x1e8fcb=_0x5ea61d[_0x5df4af(0x525)];this[_0x5df4af(0x2a2)]==this['_ENC_XFORM_MODE']?_0x1ddf73=_0x1e8fcb[_0x5df4af(0x2bd)]:(_0x1ddf73=_0x1e8fcb[_0x5df4af(0x534)],this[_0x5df4af(0x620)]=0x1),this[_0x5df4af(0x2fc)]&&this[_0x5df4af(0x2fc)][_0x5df4af(0x590)]==_0x1ddf73?this[_0x5df4af(0x2fc)][_0x5df4af(0x22e)](this,_0x24d744&&_0x24d744[_0x5df4af(0x5a7)]):(this[_0x5df4af(0x2fc)]=_0x1ddf73[_0x5df4af(0x35a)](_0x1e8fcb,this,_0x24d744&&_0x24d744[_0x5df4af(0x5a7)]),this[_0x5df4af(0x2fc)][_0x5df4af(0x590)]=_0x1ddf73);},'_doProcessBlock':function(_0x28904e,_0xb2c777){const _0x4a1993=_0x55e861;this[_0x4a1993(0x2fc)][_0x4a1993(0x4e1)](_0x28904e,_0xb2c777);},'_doFinalize':function(){const _0x234a6d=_0x55e861;var _0x1a7a5d,_0x31f2dd=this['cfg']['padding'];return this[_0x234a6d(0x2a2)]==this['_ENC_XFORM_MODE']?(_0x31f2dd[_0x234a6d(0x229)](this[_0x234a6d(0x68c)],this[_0x234a6d(0x1b2)]),_0x1a7a5d=this[_0x234a6d(0x4c3)](!0x0)):(_0x1a7a5d=this['_process'](!0x0),_0x31f2dd[_0x234a6d(0x477)](_0x1a7a5d)),_0x1a7a5d;},'blockSize':0x80/0x20});var _0x54faf2=_0x149e75[_0x55e861(0x62b)]=_0x1e8dda[_0x55e861(0x388)]({'init':function(_0x381788){const _0x326195=_0x55e861;this[_0x326195(0x539)](_0x381788);},'toString':function(_0x553e42){const _0x5b29d4=_0x55e861;return(_0x553e42||this['formatter'])[_0x5b29d4(0x22b)](this);}}),_0x2d1543=_0x5e6008['format']={},_0x2e867f=_0x2d1543[_0x55e861(0x1ca)]={'stringify':function(_0x4c35bc){const _0x503559=_0x55e861;var _0x92ee24,_0x3157df=_0x4c35bc[_0x503559(0x396)],_0x17d170=_0x4c35bc[_0x503559(0x2c7)];return _0x17d170?_0x92ee24=_0x272421[_0x503559(0x509)]([0x53616c74,0x65645f5f])[_0x503559(0x43e)](_0x17d170)[_0x503559(0x43e)](_0x3157df):_0x92ee24=_0x3157df,_0x92ee24[_0x503559(0x263)](_0x3d55dd);},'parse':function(_0x41879b){const _0x534aa3=_0x55e861;var _0x245ac3,_0xb562f=_0x3d55dd[_0x534aa3(0x338)](_0x41879b),_0x3a31ea=_0xb562f[_0x534aa3(0x5a7)];return _0x3a31ea[0x0]==0x53616c74&&_0x3a31ea[0x1]==0x65645f5f&&(_0x245ac3=_0x272421[_0x534aa3(0x509)](_0x3a31ea[_0x534aa3(0x4cd)](0x2,0x4)),_0x3a31ea[_0x534aa3(0x4b8)](0x0,0x4),_0xb562f[_0x534aa3(0x1e1)]-=0x10),_0x54faf2[_0x534aa3(0x509)]({'ciphertext':_0xb562f,'salt':_0x245ac3});}},_0x282264=_0x149e75['SerializableCipher']=_0x1e8dda[_0x55e861(0x388)]({'cfg':_0x1e8dda[_0x55e861(0x388)]({'format':_0x2e867f}),'encrypt':function(_0x131a8d,_0x36da71,_0x1ae338,_0x1eb73b){const _0x2a6fc5=_0x55e861;_0x1eb73b=this[_0x2a6fc5(0x663)][_0x2a6fc5(0x388)](_0x1eb73b);var _0x19819d=_0x131a8d[_0x2a6fc5(0x2bd)](_0x1ae338,_0x1eb73b),_0x302234=_0x19819d[_0x2a6fc5(0x28b)](_0x36da71),_0x43a888=_0x19819d[_0x2a6fc5(0x663)];return _0x54faf2[_0x2a6fc5(0x509)]({'ciphertext':_0x302234,'key':_0x1ae338,'iv':_0x43a888['iv'],'algorithm':_0x131a8d,'mode':_0x43a888[_0x2a6fc5(0x525)],'padding':_0x43a888['padding'],'blockSize':_0x131a8d[_0x2a6fc5(0x1b2)],'formatter':_0x1eb73b[_0x2a6fc5(0x60f)]});},'decrypt':function(_0xbeeca3,_0x187b43,_0x494a2f,_0x3a1168){const _0x44c050=_0x55e861;_0x3a1168=this[_0x44c050(0x663)][_0x44c050(0x388)](_0x3a1168),_0x187b43=this[_0x44c050(0x5f5)](_0x187b43,_0x3a1168['format']);var _0xc391e2=_0xbeeca3[_0x44c050(0x534)](_0x494a2f,_0x3a1168)[_0x44c050(0x28b)](_0x187b43['ciphertext']);return _0xc391e2;},'_parse':function(_0x2db096,_0x214e9b){const _0x4ffa20=_0x55e861;return typeof _0x2db096==_0x4ffa20(0x680)?_0x214e9b[_0x4ffa20(0x338)](_0x2db096,this):_0x2db096;}}),_0x48f12e=_0x5e6008['kdf']={},_0x5b2d73=_0x48f12e[_0x55e861(0x1ca)]={'execute':function(_0x1a4b5c,_0x2eadd5,_0x43080d,_0x3d7a8c,_0x3ff7ea){const _0x44a089=_0x55e861;if(_0x3d7a8c||(_0x3d7a8c=_0x272421[_0x44a089(0x57d)](0x40/0x8)),_0x3ff7ea)var _0x23acf3=_0x4c4b1d['create']({'keySize':_0x2eadd5+_0x43080d,'hasher':_0x3ff7ea})['compute'](_0x1a4b5c,_0x3d7a8c);else var _0x23acf3=_0x4c4b1d['create']({'keySize':_0x2eadd5+_0x43080d})[_0x44a089(0x3c3)](_0x1a4b5c,_0x3d7a8c);var _0x1342a4=_0x272421[_0x44a089(0x509)](_0x23acf3[_0x44a089(0x5a7)][_0x44a089(0x4cd)](_0x2eadd5),_0x43080d*0x4);return _0x23acf3['sigBytes']=_0x2eadd5*0x4,_0x54faf2[_0x44a089(0x509)]({'key':_0x23acf3,'iv':_0x1342a4,'salt':_0x3d7a8c});}},_0x1d7258=_0x149e75[_0x55e861(0x597)]=_0x282264[_0x55e861(0x388)]({'cfg':_0x282264['cfg'][_0x55e861(0x388)]({'kdf':_0x5b2d73}),'encrypt':function(_0x39ba07,_0x53edfb,_0xeb35bf,_0x39e5a2){const _0x58f48e=_0x55e861;_0x39e5a2=this['cfg'][_0x58f48e(0x388)](_0x39e5a2);var _0x4c7904=_0x39e5a2[_0x58f48e(0x563)][_0x58f48e(0x3d6)](_0xeb35bf,_0x39ba07[_0x58f48e(0x49e)],_0x39ba07[_0x58f48e(0x241)],_0x39e5a2[_0x58f48e(0x2c7)],_0x39e5a2[_0x58f48e(0x24f)]);_0x39e5a2['iv']=_0x4c7904['iv'];var _0x52f5bb=_0x282264[_0x58f48e(0x44f)][_0x58f48e(0x35a)](this,_0x39ba07,_0x53edfb,_0x4c7904[_0x58f48e(0x325)],_0x39e5a2);return _0x52f5bb[_0x58f48e(0x539)](_0x4c7904),_0x52f5bb;},'decrypt':function(_0x7ac982,_0x540c57,_0x44042a,_0x1b51bb){const _0x3818b7=_0x55e861;_0x1b51bb=this[_0x3818b7(0x663)][_0x3818b7(0x388)](_0x1b51bb),_0x540c57=this[_0x3818b7(0x5f5)](_0x540c57,_0x1b51bb[_0x3818b7(0x60f)]);var _0x5838d6=_0x1b51bb[_0x3818b7(0x563)][_0x3818b7(0x3d6)](_0x44042a,_0x7ac982[_0x3818b7(0x49e)],_0x7ac982['ivSize'],_0x540c57[_0x3818b7(0x2c7)],_0x1b51bb['hasher']);_0x1b51bb['iv']=_0x5838d6['iv'];var _0x33a990=_0x282264[_0x3818b7(0x217)][_0x3818b7(0x35a)](this,_0x7ac982,_0x540c57,_0x5838d6[_0x3818b7(0x325)],_0x1b51bb);return _0x33a990;}});}();}));}(_0x3966a7)),_0x3966a7[_0x35cad4(0x413)];}(function(_0x9197f3,_0x58ed66){(function(_0x2afa4e,_0x143395,_0x20371f){const _0x19b4e1=_0x3b61;_0x9197f3[_0x19b4e1(0x413)]=_0x143395(_0x2adea5(),_0x832d1f(),_0x123c3a(),_0x535348(),_0xce9acc());}(_0x183640,function(_0x3a3a18){const _0x27cbcd=_0x3b61;return(function(){const _0x3985e7=_0x3b61;var _0x119e95=_0x3a3a18,_0x45b580=_0x119e95['lib'],_0x279b8e=_0x45b580[_0x3985e7(0x61c)],_0x33c512=_0x119e95[_0x3985e7(0x52c)],_0x15c2b0=[],_0x2fde6b=[],_0x344a51=[],_0x2d8a77=[],_0x18f3d4=[],_0x56574d=[],_0x4f58cd=[],_0x2a3b79=[],_0x349522=[],_0x2f985d=[];(function(){for(var _0x58f35a=[],_0x4d533b=0x0;_0x4d533b<0x100;_0x4d533b++)_0x4d533b<0x80?_0x58f35a[_0x4d533b]=_0x4d533b<<0x1:_0x58f35a[_0x4d533b]=_0x4d533b<<0x1^0x11b;for(var _0x2a1f4f=0x0,_0x5b7548=0x0,_0x4d533b=0x0;_0x4d533b<0x100;_0x4d533b++){var _0x1e3225=_0x5b7548^_0x5b7548<<0x1^_0x5b7548<<0x2^_0x5b7548<<0x3^_0x5b7548<<0x4;_0x1e3225=_0x1e3225>>>0x8^_0x1e3225&0xff^0x63,_0x15c2b0[_0x2a1f4f]=_0x1e3225,_0x2fde6b[_0x1e3225]=_0x2a1f4f;var _0x2de256=_0x58f35a[_0x2a1f4f],_0x5edc63=_0x58f35a[_0x2de256],_0x210127=_0x58f35a[_0x5edc63],_0x4b701b=_0x58f35a[_0x1e3225]*0x101^_0x1e3225*0x1010100;_0x344a51[_0x2a1f4f]=_0x4b701b<<0x18|_0x4b701b>>>0x8,_0x2d8a77[_0x2a1f4f]=_0x4b701b<<0x10|_0x4b701b>>>0x10,_0x18f3d4[_0x2a1f4f]=_0x4b701b<<0x8|_0x4b701b>>>0x18,_0x56574d[_0x2a1f4f]=_0x4b701b;var _0x4b701b=_0x210127*0x1010101^_0x5edc63*0x10001^_0x2de256*0x101^_0x2a1f4f*0x1010100;_0x4f58cd[_0x1e3225]=_0x4b701b<<0x18|_0x4b701b>>>0x8,_0x2a3b79[_0x1e3225]=_0x4b701b<<0x10|_0x4b701b>>>0x10,_0x349522[_0x1e3225]=_0x4b701b<<0x8|_0x4b701b>>>0x18,_0x2f985d[_0x1e3225]=_0x4b701b,_0x2a1f4f?(_0x2a1f4f=_0x2de256^_0x58f35a[_0x58f35a[_0x58f35a[_0x210127^_0x2de256]]],_0x5b7548^=_0x58f35a[_0x58f35a[_0x5b7548]]):_0x2a1f4f=_0x5b7548=0x1;}}());var _0x84703f=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1870bc=_0x33c512[_0x3985e7(0x2b9)]=_0x279b8e[_0x3985e7(0x388)]({'_doReset':function(){const _0x460f9f=_0x3985e7;var _0x11e6c3;if(!(this[_0x460f9f(0x66f)]&&this[_0x460f9f(0x2c2)]===this[_0x460f9f(0x3f2)])){for(var _0x5089b2=this['_keyPriorReset']=this[_0x460f9f(0x3f2)],_0x52c730=_0x5089b2[_0x460f9f(0x5a7)],_0x54ce21=_0x5089b2[_0x460f9f(0x1e1)]/0x4,_0x5eec1f=this[_0x460f9f(0x66f)]=_0x54ce21+0x6,_0x1b2647=(_0x5eec1f+0x1)*0x4,_0x429593=this[_0x460f9f(0x486)]=[],_0x4f21ac=0x0;_0x4f21ac<_0x1b2647;_0x4f21ac++)_0x4f21ac<_0x54ce21?_0x429593[_0x4f21ac]=_0x52c730[_0x4f21ac]:(_0x11e6c3=_0x429593[_0x4f21ac-0x1],_0x4f21ac%_0x54ce21?_0x54ce21>0x6&&_0x4f21ac%_0x54ce21==0x4&&(_0x11e6c3=_0x15c2b0[_0x11e6c3>>>0x18]<<0x18|_0x15c2b0[_0x11e6c3>>>0x10&0xff]<<0x10|_0x15c2b0[_0x11e6c3>>>0x8&0xff]<<0x8|_0x15c2b0[_0x11e6c3&0xff]):(_0x11e6c3=_0x11e6c3<<0x8|_0x11e6c3>>>0x18,_0x11e6c3=_0x15c2b0[_0x11e6c3>>>0x18]<<0x18|_0x15c2b0[_0x11e6c3>>>0x10&0xff]<<0x10|_0x15c2b0[_0x11e6c3>>>0x8&0xff]<<0x8|_0x15c2b0[_0x11e6c3&0xff],_0x11e6c3^=_0x84703f[_0x4f21ac/_0x54ce21|0x0]<<0x18),_0x429593[_0x4f21ac]=_0x429593[_0x4f21ac-_0x54ce21]^_0x11e6c3);for(var _0x45c2d6=this[_0x460f9f(0x644)]=[],_0x152138=0x0;_0x152138<_0x1b2647;_0x152138++){var _0x4f21ac=_0x1b2647-_0x152138;if(_0x152138%0x4)var _0x11e6c3=_0x429593[_0x4f21ac];else var _0x11e6c3=_0x429593[_0x4f21ac-0x4];_0x152138<0x4||_0x4f21ac<=0x4?_0x45c2d6[_0x152138]=_0x11e6c3:_0x45c2d6[_0x152138]=_0x4f58cd[_0x15c2b0[_0x11e6c3>>>0x18]]^_0x2a3b79[_0x15c2b0[_0x11e6c3>>>0x10&0xff]]^_0x349522[_0x15c2b0[_0x11e6c3>>>0x8&0xff]]^_0x2f985d[_0x15c2b0[_0x11e6c3&0xff]];}}},'encryptBlock':function(_0x2b8252,_0x182a67){const _0x21d83e=_0x3985e7;this[_0x21d83e(0x354)](_0x2b8252,_0x182a67,this[_0x21d83e(0x486)],_0x344a51,_0x2d8a77,_0x18f3d4,_0x56574d,_0x15c2b0);},'decryptBlock':function(_0x4703b9,_0xdd7882){const _0x4177ad=_0x3985e7;var _0x4a0be8=_0x4703b9[_0xdd7882+0x1];_0x4703b9[_0xdd7882+0x1]=_0x4703b9[_0xdd7882+0x3],_0x4703b9[_0xdd7882+0x3]=_0x4a0be8,this[_0x4177ad(0x354)](_0x4703b9,_0xdd7882,this['_invKeySchedule'],_0x4f58cd,_0x2a3b79,_0x349522,_0x2f985d,_0x2fde6b);var _0x4a0be8=_0x4703b9[_0xdd7882+0x1];_0x4703b9[_0xdd7882+0x1]=_0x4703b9[_0xdd7882+0x3],_0x4703b9[_0xdd7882+0x3]=_0x4a0be8;},'_doCryptBlock':function(_0x4d0d27,_0x39bd06,_0x3e50b4,_0x3c0068,_0x1ae0f7,_0xedfa1a,_0x5de81f,_0x1fad37){const _0x5ab831=_0x3985e7;for(var _0x5b1252=this[_0x5ab831(0x66f)],_0x73173b=_0x4d0d27[_0x39bd06]^_0x3e50b4[0x0],_0x17d43d=_0x4d0d27[_0x39bd06+0x1]^_0x3e50b4[0x1],_0x5d82b2=_0x4d0d27[_0x39bd06+0x2]^_0x3e50b4[0x2],_0x48ef98=_0x4d0d27[_0x39bd06+0x3]^_0x3e50b4[0x3],_0x25fb8a=0x4,_0x20c507=0x1;_0x20c507<_0x5b1252;_0x20c507++){var _0x512c11=_0x3c0068[_0x73173b>>>0x18]^_0x1ae0f7[_0x17d43d>>>0x10&0xff]^_0xedfa1a[_0x5d82b2>>>0x8&0xff]^_0x5de81f[_0x48ef98&0xff]^_0x3e50b4[_0x25fb8a++],_0xf39dc=_0x3c0068[_0x17d43d>>>0x18]^_0x1ae0f7[_0x5d82b2>>>0x10&0xff]^_0xedfa1a[_0x48ef98>>>0x8&0xff]^_0x5de81f[_0x73173b&0xff]^_0x3e50b4[_0x25fb8a++],_0x5dab40=_0x3c0068[_0x5d82b2>>>0x18]^_0x1ae0f7[_0x48ef98>>>0x10&0xff]^_0xedfa1a[_0x73173b>>>0x8&0xff]^_0x5de81f[_0x17d43d&0xff]^_0x3e50b4[_0x25fb8a++],_0x532207=_0x3c0068[_0x48ef98>>>0x18]^_0x1ae0f7[_0x73173b>>>0x10&0xff]^_0xedfa1a[_0x17d43d>>>0x8&0xff]^_0x5de81f[_0x5d82b2&0xff]^_0x3e50b4[_0x25fb8a++];_0x73173b=_0x512c11,_0x17d43d=_0xf39dc,_0x5d82b2=_0x5dab40,_0x48ef98=_0x532207;}var _0x512c11=(_0x1fad37[_0x73173b>>>0x18]<<0x18|_0x1fad37[_0x17d43d>>>0x10&0xff]<<0x10|_0x1fad37[_0x5d82b2>>>0x8&0xff]<<0x8|_0x1fad37[_0x48ef98&0xff])^_0x3e50b4[_0x25fb8a++],_0xf39dc=(_0x1fad37[_0x17d43d>>>0x18]<<0x18|_0x1fad37[_0x5d82b2>>>0x10&0xff]<<0x10|_0x1fad37[_0x48ef98>>>0x8&0xff]<<0x8|_0x1fad37[_0x73173b&0xff])^_0x3e50b4[_0x25fb8a++],_0x5dab40=(_0x1fad37[_0x5d82b2>>>0x18]<<0x18|_0x1fad37[_0x48ef98>>>0x10&0xff]<<0x10|_0x1fad37[_0x73173b>>>0x8&0xff]<<0x8|_0x1fad37[_0x17d43d&0xff])^_0x3e50b4[_0x25fb8a++],_0x532207=(_0x1fad37[_0x48ef98>>>0x18]<<0x18|_0x1fad37[_0x73173b>>>0x10&0xff]<<0x10|_0x1fad37[_0x17d43d>>>0x8&0xff]<<0x8|_0x1fad37[_0x5d82b2&0xff])^_0x3e50b4[_0x25fb8a++];_0x4d0d27[_0x39bd06]=_0x512c11,_0x4d0d27[_0x39bd06+0x1]=_0xf39dc,_0x4d0d27[_0x39bd06+0x2]=_0x5dab40,_0x4d0d27[_0x39bd06+0x3]=_0x532207;},'keySize':0x100/0x20});_0x119e95[_0x3985e7(0x2b9)]=_0x279b8e[_0x3985e7(0x1e9)](_0x1870bc);}()),_0x3a3a18[_0x27cbcd(0x2b9)];}));}(_0x567fef));var _0x25a391=_0x567fef[_0x40190f(0x413)];const _0x5b2929=_0x1f999d(_0x25a391);var _0x928eb1=_0x832d1f();const _0x3f736f=_0x1f999d(_0x928eb1);var _0xcf0246={'exports':{}};(function(_0x3ca8b1,_0x5562d6){(function(_0xa5c0c3,_0x1fda05){_0x3ca8b1['exports']=_0x1fda05(_0x2adea5());}(_0x183640,function(_0x548e62){const _0x1cbd67=_0x3b61;return _0x548e62[_0x1cbd67(0x1b1)][_0x1cbd67(0x649)];}));}(_0xcf0246));var _0x274e24=_0xcf0246[_0x40190f(0x413)];const _0x48dfe8=_0x1f999d(_0x274e24);var _0x12b648={'exports':{}};(function(_0x1c0e34,_0x228868){(function(_0x1cb5f6,_0x3e27ec){_0x1c0e34['exports']=_0x3e27ec(_0x2adea5());}(_0x183640,function(_0x20dd8c){const _0x1ae424=_0x3b61;return(function(){const _0x267e1d=_0x3b61;if(typeof ArrayBuffer==_0x267e1d(0x364)){var _0x38e869=_0x20dd8c,_0x59e6d7=_0x38e869[_0x267e1d(0x442)],_0xe7d5ca=_0x59e6d7['WordArray'],_0x44a52b=_0xe7d5ca[_0x267e1d(0x22e)],_0x3bd80f=_0xe7d5ca[_0x267e1d(0x22e)]=function(_0x195429){const _0x52f19a=_0x267e1d;if(_0x195429 instanceof ArrayBuffer&&(_0x195429=new Uint8Array(_0x195429)),(_0x195429 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x195429 instanceof Uint8ClampedArray||_0x195429 instanceof Int16Array||_0x195429 instanceof Uint16Array||_0x195429 instanceof Int32Array||_0x195429 instanceof Uint32Array||_0x195429 instanceof Float32Array||_0x195429 instanceof Float64Array)&&(_0x195429=new Uint8Array(_0x195429[_0x52f19a(0x450)],_0x195429[_0x52f19a(0x303)],_0x195429[_0x52f19a(0x439)])),_0x195429 instanceof Uint8Array){for(var _0x4513d0=_0x195429[_0x52f19a(0x439)],_0x2f9c49=[],_0x41d4a8=0x0;_0x41d4a8<_0x4513d0;_0x41d4a8++)_0x2f9c49[_0x41d4a8>>>0x2]|=_0x195429[_0x41d4a8]<<0x18-_0x41d4a8%0x4*0x8;_0x44a52b[_0x52f19a(0x35a)](this,_0x2f9c49,_0x4513d0);}else _0x44a52b['apply'](this,arguments);};_0x3bd80f[_0x267e1d(0x407)]=_0xe7d5ca;}}()),_0x20dd8c['lib'][_0x1ae424(0x370)];}));}(_0x12b648));var _0x4eb326=_0x12b648[_0x40190f(0x413)];const _0x10202d=_0x1f999d(_0x4eb326);var _0x45935b={'exports':{}};(function(_0x4633d8,_0x1d4f4b){(function(_0x3b113b,_0x59e034,_0x30ef56){const _0x3033e7=_0x3b61;_0x4633d8[_0x3033e7(0x413)]=_0x59e034(_0x2adea5(),_0xce9acc());}(_0x183640,function(_0x43654f){const _0x3bd2d8=_0x3b61;return _0x43654f[_0x3bd2d8(0x229)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x43654f[_0x3bd2d8(0x229)][_0x3bd2d8(0x47a)];}));}(_0x45935b));var _0x49e37f=_0x45935b['exports'];const _0xa909e6=_0x1f999d(_0x49e37f);function _0x4e9da6(_0x53a9e1,_0x1589b0){const _0x4be921=_0x40190f,_0x523a8e=_0x1589b0-_0x53a9e1[_0x4be921(0x642)]%_0x1589b0,_0x51b261=String[_0x4be921(0x643)](_0x523a8e)[_0x4be921(0x2f7)](_0x523a8e);return _0x53a9e1+_0x51b261;}function _0x299e1f(_0x101990,_0x4132f0){const _0x2caed8=_0x40190f,_0x70a351=_0x10202d[_0x2caed8(0x57d)](0x10),_0x465afd=_0x4e9da6(_0x101990,0x10),_0x2721b7=_0x5b2929[_0x2caed8(0x44f)](_0x48dfe8[_0x2caed8(0x338)](_0x465afd),_0x3f736f[_0x2caed8(0x338)](_0x4132f0),{'iv':_0x70a351,'padding':_0xa909e6});return _0x70a351['concat'](_0x2721b7[_0x2caed8(0x396)])[_0x2caed8(0x263)](_0x3f736f);}function _0x28f6e5(){const _0x18b1bd=_0x40190f,_0x38110c=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x18b1bd(0x5ee)];if(_0x38110c){const _0x48e7c4={'time':Math[_0x18b1bd(0x239)](Date[_0x18b1bd(0x288)]()/0x3e8),'domain':location[_0x18b1bd(0x1d2)]};return _0x299e1f(JSON[_0x18b1bd(0x22b)](_0x48e7c4),_0x38110c);}}var _0x34bf50=Object[_0x40190f(0x1aa)],_0x201188=Object[_0x40190f(0x42f)],_0x51bd51=(_0x3d682e,_0x1f74f8,_0x1455e3,_0x292e55)=>{const _0x4ec7ce=_0x40190f;for(var _0x10e908=_0x292e55>0x1?void 0x0:_0x292e55?_0x201188(_0x1f74f8,_0x1455e3):_0x1f74f8,_0x2bd5a5=_0x3d682e[_0x4ec7ce(0x642)]-0x1,_0x526c3a;_0x2bd5a5>=0x0;_0x2bd5a5--)(_0x526c3a=_0x3d682e[_0x2bd5a5])&&(_0x10e908=(_0x292e55?_0x526c3a(_0x1f74f8,_0x1455e3,_0x10e908):_0x526c3a(_0x10e908))||_0x10e908);return _0x292e55&&_0x10e908&&_0x34bf50(_0x1f74f8,_0x1455e3,_0x10e908),_0x10e908;},_0x5ba235=(_0x39a8b2,_0x2d11aa)=>(_0x2496f7,_0x1d0746)=>_0x2d11aa(_0x2496f7,_0x1d0746,_0x39a8b2);let _0x1a0e61=class{constructor(_0x2113ad){const _0xd4c138=_0x40190f;this[_0xd4c138(0x48b)]=_0x2113ad,this['_initRequestHeader']();}[_0x40190f(0x2f9)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0xdf1331,_0x23d588)=>{const _0x18e30d=_0x3b61,_0x1f56a8=_0xdf1331[_0x18e30d(0x673)],_0x2b35ae=_0x28f6e5();return _0x2b35ae&&_0x1f56a8[_0x18e30d(0x2e4)]('x-univer-host',_0x2b35ae),_0x23d588(_0xdf1331);}});}};_0x1a0e61=_0x51bd51([_0x5ba235(0x0,_0x3c69d6['Inject'](_0x331a12[_0x40190f(0x496)]))],_0x1a0e61);var _0x4fcae0=Object[_0x40190f(0x1aa)],_0x1d4084=Object['getOwnPropertyDescriptor'],_0x10819d=(_0x15ffa4,_0x3db02c,_0x137077,_0x332043)=>{for(var _0x54f1ca=_0x332043>0x1?void 0x0:_0x332043?_0x1d4084(_0x3db02c,_0x137077):_0x3db02c,_0x2732c7=_0x15ffa4['length']-0x1,_0x2a24ef;_0x2732c7>=0x0;_0x2732c7--)(_0x2a24ef=_0x15ffa4[_0x2732c7])&&(_0x54f1ca=(_0x332043?_0x2a24ef(_0x3db02c,_0x137077,_0x54f1ca):_0x2a24ef(_0x54f1ca))||_0x54f1ca);return _0x332043&&_0x54f1ca&&_0x4fcae0(_0x3db02c,_0x137077,_0x54f1ca),_0x54f1ca;},_0x144b8f=(_0x3212a9,_0x39c6ec)=>(_0x9010e6,_0x2a7ae3)=>_0x39c6ec(_0x9010e6,_0x2a7ae3,_0x3212a9);const _0x3b7edb=[_0x40190f(0x512),'image/jpeg','image/jpg',_0x40190f(0x3f9),_0x40190f(0x502)],_0x492cc8=0x5*0x400*0x400,_0x2db682='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x565372='/universer-api/stream/file/upload',_0x3bcc80=_0x40190f(0x34c),_0x5d5adf=_0x40190f(0x279);_0x1acb6c[_0x40190f(0x60e)]=class{constructor(_0x3d158d,_0x3fd82e,_0x1951d6){const _0x81ae87=_0x40190f;_0x2a7d69(this,_0x81ae87(0x27d),0x0),_0x2a7d69(this,'_change$',new _0x5c0235['Subject']()),_0x2a7d69(this,'change$',this[_0x81ae87(0x403)]),_0x2a7d69(this,_0x81ae87(0x3e8),new Map()),(this[_0x81ae87(0x48b)]=_0x3d158d,this[_0x81ae87(0x61b)]=_0x3fd82e,this[_0x81ae87(0x557)]=_0x1951d6);}[_0x40190f(0x405)](_0x30c109){const _0x376ba2=_0x40190f;this[_0x376ba2(0x27d)]=_0x30c109,this['_change$']['next'](_0x30c109);}[_0x40190f(0x255)](_0x4107de,_0x138e44){const _0x57c72d=_0x40190f;if(_0x138e44===_0x3e3268[_0x57c72d(0x32a)]['BASE64']){const _0x558545=new Image();return _0x558545['src']=_0x4107de,_0x558545;}return this[_0x57c72d(0x3e8)][_0x57c72d(0x27c)](_0x4107de);}['addImageSourceCache'](_0x32684f,_0x2077c9,_0x58aecd){const _0x18da60=_0x40190f;_0x2077c9===_0x3e3268[_0x18da60(0x32a)][_0x18da60(0x678)]||_0x58aecd==null||this['_imageSourceCache'][_0x18da60(0x2e4)](_0x32684f,_0x58aecd);}async[_0x40190f(0x492)](_0x446f0f){const _0x3a7d90=_0x40190f;try{const _0x258806=this[_0x3a7d90(0x651)](this[_0x3a7d90(0x629)](),''+_0x446f0f),_0x5236e8=(await this[_0x3a7d90(0x48b)][_0x3a7d90(0x27c)](_0x258806))[_0x3a7d90(0x211)];if(_0x5236e8[_0x3a7d90(0x337)]&&_0x5236e8['error'][_0x3a7d90(0x64f)]===_0x307369['OK']){const _0x122563=new URL(_0x5236e8[_0x3a7d90(0x2cd)],this['_getDownloadEndpointURL']())[_0x3a7d90(0x263)]();return Promise[_0x3a7d90(0x291)](_0x122563);}return Promise['reject'](_0x5236e8[_0x3a7d90(0x337)]);}catch(_0x4dfaba){return Promise[_0x3a7d90(0x45f)](_0x4dfaba);}}async[_0x40190f(0x627)](_0x57e5d5){const _0x302508=_0x40190f;let _0xe2b055='';if(!_0x3b7edb[_0x302508(0x30e)](_0x57e5d5['type']))return this[_0x302508(0x57e)](),Promise[_0x302508(0x45f)](new Error(_0x3e3268[_0x302508(0x369)]['ERROR_IMAGE_TYPE']));if(_0x57e5d5[_0x302508(0x4a1)]>_0x492cc8)return this['_decreaseWaiting'](),Promise[_0x302508(0x45f)](new Error(_0x3e3268[_0x302508(0x369)][_0x302508(0x3ac)]));try{const _0x15fc3f=new FormData();_0x15fc3f['append'](_0x302508(0x624),_0x57e5d5);const _0x3e8d66=this[_0x302508(0x557)]['getFocusedUnit'](),_0x57833c=_0x3e8d66==null?void 0x0:_0x3e8d66[_0x302508(0x283)]();if(!_0x57833c)throw new Error(_0x302508(0x2fe));const _0x4176e7=this['_getUploadFileURL']()+_0x302508(0x1a8)+_0x57e5d5[_0x302508(0x4a1)]['toString']()+_0x302508(0x551)+_0xd54f4c[_0x302508(0x286)]+_0x302508(0x584)+encodeURIComponent(_0x57833c),_0x1e942c=await(await fetch(_0x4176e7,{'method':_0x302508(0x2bf),'body':_0x15fc3f}))[_0x302508(0x302)]();if(typeof _0x1e942c[_0x302508(0x2b5)]!='string')return this[_0x302508(0x57e)](),Promise[_0x302508(0x45f)](new Error(_0x3e3268[_0x302508(0x369)][_0x302508(0x204)]));_0xe2b055=_0x1e942c['FileId'];}catch{return this[_0x302508(0x57e)](),Promise[_0x302508(0x45f)](new Error(_0x3e3268['ImageUploadStatusType'][_0x302508(0x204)]));}return new Promise((_0x57a1d6,_0x375616)=>{const _0x2d6b2f=_0x302508,_0xa2f361=new FileReader();_0xa2f361[_0x2d6b2f(0x51a)](_0x57e5d5),_0xa2f361[_0x2d6b2f(0x437)]=_0x56d218=>{const _0x216c75=_0x2d6b2f;var _0x1e5ec0;const _0x325b9c=(_0x1e5ec0=_0x56d218[_0x216c75(0x433)])==null?void 0x0:_0x1e5ec0['result'];if(_0x325b9c==null){this['_decreaseWaiting'](),_0x375616(new Error(_0x3e3268[_0x216c75(0x369)][_0x216c75(0x204)]));return;}const _0x49c7b8=_0x3c69d6['Tools']['generateRandomId'](0x6);_0x57a1d6({'imageId':_0x49c7b8,'imageSourceType':_0x3e3268['ImageSourceType'][_0x216c75(0x48a)],'source':_0xe2b055,'base64Cache':_0x325b9c,'status':_0x3e3268[_0x216c75(0x369)][_0x216c75(0x265)]}),this[_0x216c75(0x57e)]();};});}[_0x40190f(0x23b)](){const _0x3b3cd8=_0x40190f;var _0x550351,_0xca0a66;const _0x595c94=this[_0x3b3cd8(0x61b)][_0x3b3cd8(0x2df)](_0x2db682),_0x342ae6=this[_0x3b3cd8(0x61b)]['getConfig'](_0x347aa1);return(_0xca0a66=(_0x550351=_0x342ae6==null?void 0x0:_0x342ae6[_0x3b3cd8(0x3b5)])!=null?_0x550351:_0x595c94)!=null?_0xca0a66:_0x565372;}['_getSignURL'](){const _0x1bfed9=_0x40190f;var _0x350db9,_0x3054bf;const _0x2a2f6e=this[_0x1bfed9(0x61b)][_0x1bfed9(0x2df)](_0x3bcc80),_0x965eb9=this[_0x1bfed9(0x61b)]['getConfig'](_0x347aa1);return(_0x3054bf=(_0x350db9=_0x965eb9==null?void 0x0:_0x965eb9[_0x1bfed9(0x351)])!=null?_0x350db9:_0x2a2f6e)!=null?_0x3054bf:_0x5d5adf;}[_0x40190f(0x586)](){const _0x1311b8=_0x40190f;var _0x3f6c2f;const _0x13e724=this[_0x1311b8(0x61b)][_0x1311b8(0x2df)](_0x347aa1);return(_0x3f6c2f=_0x13e724==null?void 0x0:_0x13e724[_0x1311b8(0x511)])!=null?_0x3f6c2f:location['origin'];}[_0x40190f(0x651)](_0x3209bd,_0x4380c1){const _0x1191ef=_0x40190f;return _0x3209bd[_0x1191ef(0x2d2)](_0x1191ef(0x4b7),_0x4380c1);}[_0x40190f(0x57e)](){const _0x5d7897=_0x40190f;this[_0x5d7897(0x27d)]-=0x1,this[_0x5d7897(0x403)][_0x5d7897(0x231)](this[_0x5d7897(0x27d)]);}},_0x1acb6c[_0x40190f(0x60e)]=_0x10819d([_0x144b8f(0x0,_0x3c69d6[_0x40190f(0x22f)](_0x331a12[_0x40190f(0x496)])),_0x144b8f(0x1,_0x3c69d6[_0x40190f(0x3c5)]),_0x144b8f(0x2,_0x3c69d6[_0x40190f(0x22f)](_0x3c69d6[_0x40190f(0x2f8)]))],_0x1acb6c[_0x40190f(0x60e)]);var _0x1a55f1=Object[_0x40190f(0x1aa)],_0x1a1157=Object[_0x40190f(0x42f)],_0x449722=(_0x805bfc,_0x1ad51f,_0x40bb3e,_0x4a0e6f)=>{const _0xad80d9=_0x40190f;for(var _0x47e10e=_0x4a0e6f>0x1?void 0x0:_0x4a0e6f?_0x1a1157(_0x1ad51f,_0x40bb3e):_0x1ad51f,_0x58f623=_0x805bfc[_0xad80d9(0x642)]-0x1,_0x4156c2;_0x58f623>=0x0;_0x58f623--)(_0x4156c2=_0x805bfc[_0x58f623])&&(_0x47e10e=(_0x4a0e6f?_0x4156c2(_0x1ad51f,_0x40bb3e,_0x47e10e):_0x4156c2(_0x47e10e))||_0x47e10e);return _0x4a0e6f&&_0x47e10e&&_0x1a55f1(_0x1ad51f,_0x40bb3e,_0x47e10e),_0x47e10e;},_0x46c319=(_0x391290,_0x53d45f)=>(_0x467721,_0x3e4fa4)=>_0x53d45f(_0x467721,_0x3e4fa4,_0x391290);const _0x55341b=_0x40190f(0x4ed);_0x1acb6c['MentionIoHttpService']=class{constructor(_0x3f0e1c,_0x53c01f){const _0x19497e=_0x40190f;this[_0x19497e(0x61b)]=_0x3f0e1c,this[_0x19497e(0x423)]=_0x53c01f;}['_getAPIPrefixPath'](){const _0x522055=_0x40190f;var _0x2924cf,_0x5e7b8e;const _0x1d4e86=this[_0x522055(0x61b)]['getConfig'](_0x15b686),_0x2737f4=this[_0x522055(0x61b)]['getConfig'](_0x347aa1);return(_0x5e7b8e=(_0x2924cf=_0x2737f4==null?void 0x0:_0x2737f4[_0x522055(0x1ab)])!=null?_0x2924cf:_0x1d4e86)!=null?_0x5e7b8e:_0x55341b;}async[_0x40190f(0x358)](_0x227cf1){const _0xd45c3c=_0x40190f,_0x240258=this[_0xd45c3c(0x341)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this[_0xd45c3c(0x423)][_0xd45c3c(0x27c)](_0x240258,{'params':{'objectID':_0x227cf1[_0xd45c3c(0x578)],'unitID':_0x227cf1['unitId']}}))[_0xd45c3c(0x211)][_0xd45c3c(0x1f1)][_0xd45c3c(0x479)](_0x3328ce=>({'objectId':_0x3328ce['id'],'name':_0x3328ce['subject'][_0xd45c3c(0x36e)],'metadata':{'icon':_0x3328ce[_0xd45c3c(0x564)][_0xd45c3c(0x21c)]},'label':_0x3328ce[_0xd45c3c(0x564)][_0xd45c3c(0x36e)],'objectType':_0x3c69d6['MentionType'][_0xd45c3c(0x2f3)]})),'metadata':{},'type':_0x3c69d6['MentionType'][_0xd45c3c(0x2f3)]}]};}},_0x1acb6c[_0x40190f(0x1f4)]=_0x449722([_0x46c319(0x0,_0x3c69d6['Inject'](_0x3c69d6[_0x40190f(0x3c5)])),_0x46c319(0x1,_0x3c69d6['Inject'](_0x331a12[_0x40190f(0x496)]))],_0x1acb6c['MentionIoHttpService']);var _0x5d203f=Object[_0x40190f(0x1aa)],_0x4d2137=Object[_0x40190f(0x42f)],_0x266722=(_0x14628b,_0xd504fd,_0x4b030a,_0xf99218)=>{const _0xb97a13=_0x40190f;for(var _0x2b9a3e=_0xf99218>0x1?void 0x0:_0xf99218?_0x4d2137(_0xd504fd,_0x4b030a):_0xd504fd,_0x5629e9=_0x14628b[_0xb97a13(0x642)]-0x1,_0x13d490;_0x5629e9>=0x0;_0x5629e9--)(_0x13d490=_0x14628b[_0x5629e9])&&(_0x2b9a3e=(_0xf99218?_0x13d490(_0xd504fd,_0x4b030a,_0x2b9a3e):_0x13d490(_0x2b9a3e))||_0x2b9a3e);return _0xf99218&&_0x2b9a3e&&_0x5d203f(_0xd504fd,_0x4b030a,_0x2b9a3e),_0x2b9a3e;},_0x44e106=(_0x465406,_0xccda7f)=>(_0x31e35d,_0xcc5e22)=>_0xccda7f(_0x31e35d,_0xcc5e22,_0x465406);let _0x57e832=class extends _0x3c69d6[_0x40190f(0x40e)]{constructor(_0x5c15c8,_0x5bb5ec,_0x1531f0,_0x3d50eb,_0x39fb4e){const _0x24e41a=_0x40190f;super(),this['_injector']=_0x5c15c8,this[_0x24e41a(0x557)]=_0x5bb5ec,this['_permissionService']=_0x1531f0,this['_collaborationSessionService']=_0x3d50eb,this[_0x24e41a(0x41e)]=_0x39fb4e,this[_0x24e41a(0x2b7)](),this[_0x24e41a(0x631)]();}[_0x40190f(0x631)](){const _0x4a590c=_0x40190f,_0x368a5f=async _0x38ad17=>{const _0x14405d=_0x3b61;(await this[_0x14405d(0x306)][_0x14405d(0x4aa)](_0x38ad17))[_0x14405d(0x1be)][_0x14405d(0x38c)](_0x9ccac9[_0x14405d(0x5d7)](_0xaf2e81=>_0xaf2e81[_0x14405d(0x2e8)]===_0x596d96[_0x14405d(0x376)][_0x14405d(0x510)]),_0x9ccac9[_0x14405d(0x4ad)](this[_0x14405d(0x33f)]))[_0x14405d(0x556)](_0x5619a6=>{const _0x27e1ef=_0x14405d,_0x59315c=_0x5619a6,{reason:_0x2311dc}=_0x59315c[_0x27e1ef(0x45c)];this[_0x27e1ef(0x685)][_0x27e1ef(0x27c)](_0x396190['IMessageService'])['show']({'type':_0x5bf787['MessageType'][_0x27e1ef(0x4af)],'content':this[_0x27e1ef(0x41e)]['t'](_0x27e1ef(0x31d))+'('+_0x2311dc+')'}),this[_0x27e1ef(0x41b)][_0x27e1ef(0x2b4)](new _0xcc5ca1[(_0x27e1ef(0x463))](_0x38ad17)['id'],!0x1),this[_0x27e1ef(0x306)][_0x27e1ef(0x33d)](_0x38ad17);});};_0x5c0235[_0x4a590c(0x65a)](this[_0x4a590c(0x557)][_0x4a590c(0x1a4)](_0x3c69d6[_0x4a590c(0x359)][_0x4a590c(0x3e2)]),this[_0x4a590c(0x557)]['getTypeOfUnitAdded$'](_0x3c69d6[_0x4a590c(0x359)][_0x4a590c(0x2cb)]))[_0x4a590c(0x38c)](_0x9ccac9[_0x4a590c(0x479)](_0x30a69a=>_0x30a69a[_0x4a590c(0x283)]()),_0x9ccac9['filter'](_0x282edf=>!_0x3c69d6['isInternalEditorID'](_0x282edf)),_0x9ccac9[_0x4a590c(0x4ad)](this[_0x4a590c(0x33f)]))['subscribe'](_0x10b9a8=>{_0x368a5f(_0x10b9a8);});}['_initUnitPermissionChange'](){const _0x3a2d4d=_0x40190f,_0x2a3d3d=async _0x417598=>{const _0x36d178=_0x3b61;(await this[_0x36d178(0x306)][_0x36d178(0x4aa)](_0x417598))['event$'][_0x36d178(0x38c)](_0x9ccac9[_0x36d178(0x5d7)](_0x4cecdc=>_0x4cecdc[_0x36d178(0x2e8)]===_0x596d96[_0x36d178(0x376)][_0x36d178(0x3f0)]),_0x9ccac9['takeUntil'](this[_0x36d178(0x33f)]))[_0x36d178(0x556)](_0x538fab=>{const _0x16f4e0=_0x36d178,_0x172656=_0x538fab,{objectId:_0x449390}=_0x172656[_0x16f4e0(0x45c)],_0x2cb6a6=this[_0x16f4e0(0x685)][_0x16f4e0(0x27c)](_0x27084d[_0x16f4e0(0x1fc)]);_0x449390===_0x417598?_0x2cb6a6[_0x16f4e0(0x29d)](_0x417598):_0x2cb6a6[_0x16f4e0(0x4e0)](_0x417598,_0x449390);});};_0x5c0235[_0x3a2d4d(0x65a)](this[_0x3a2d4d(0x557)][_0x3a2d4d(0x1a4)](_0x3c69d6['UniverInstanceType'][_0x3a2d4d(0x3e2)]),this[_0x3a2d4d(0x557)][_0x3a2d4d(0x1a4)](_0x3c69d6['UniverInstanceType'][_0x3a2d4d(0x2cb)]))[_0x3a2d4d(0x38c)](_0x9ccac9[_0x3a2d4d(0x479)](_0x48b004=>_0x48b004[_0x3a2d4d(0x283)]()),_0x9ccac9['filter'](_0x3a9fcf=>!_0x3c69d6[_0x3a2d4d(0x4ec)](_0x3a9fcf)),_0x9ccac9[_0x3a2d4d(0x4ad)](this[_0x3a2d4d(0x33f)]))['subscribe'](_0x7f0dfe=>{_0x2a3d3d(_0x7f0dfe);});}};_0x57e832=_0x266722([_0x44e106(0x0,_0x3c69d6[_0x40190f(0x22f)](_0x3c69d6[_0x40190f(0x2b3)])),_0x44e106(0x1,_0x3c69d6['IUniverInstanceService']),_0x44e106(0x2,_0x3c69d6[_0x40190f(0x457)]),_0x44e106(0x3,_0x3c69d6[_0x40190f(0x22f)](_0x1acb6c['CollaborationSessionService'])),_0x44e106(0x4,_0x3c69d6[_0x40190f(0x22f)](_0x3c69d6[_0x40190f(0x600)]))],_0x57e832);var _0x14fd79=Object[_0x40190f(0x1aa)],_0x2d22cf=Object[_0x40190f(0x42f)],_0x2975a5=(_0x4c71ee,_0x4bce46,_0x4b3f73,_0x3bcbbe)=>{for(var _0x1419d6=_0x3bcbbe>0x1?void 0x0:_0x3bcbbe?_0x2d22cf(_0x4bce46,_0x4b3f73):_0x4bce46,_0x451643=_0x4c71ee['length']-0x1,_0x1f013a;_0x451643>=0x0;_0x451643--)(_0x1f013a=_0x4c71ee[_0x451643])&&(_0x1419d6=(_0x3bcbbe?_0x1f013a(_0x4bce46,_0x4b3f73,_0x1419d6):_0x1f013a(_0x1419d6))||_0x1419d6);return _0x3bcbbe&&_0x1419d6&&_0x14fd79(_0x4bce46,_0x4b3f73,_0x1419d6),_0x1419d6;},_0x3eeb6f=(_0x23f90f,_0x5bb3fe)=>(_0x40c84e,_0x39ff9a)=>_0x5bb3fe(_0x40c84e,_0x39ff9a,_0x23f90f);_0x1acb6c[_0x40190f(0x372)]=class{constructor(_0x280351,_0x153f18){const _0x57edd7=_0x40190f;this[_0x57edd7(0x61b)]=_0x280351,this['_httpService']=_0x153f18;}async[_0x40190f(0x266)](_0x228209,_0x56b44a){const _0x2607b4=_0x40190f;var _0x4aa18c;const {unitID:_0x347013,type:_0xde39f9,revision:_0x70d33c=0x0}=_0x56b44a,_0x798afa=this[_0x2607b4(0x3a6)]()+'/'+_0xde39f9+_0x2607b4(0x240)+_0x347013+'/rev/'+_0x70d33c,_0x6f41f9=(await this['_httpService'][_0x2607b4(0x27c)](_0x798afa))[_0x2607b4(0x211)],_0x5423a0=(_0x4aa18c=_0x6f41f9[_0x2607b4(0x50b)])==null?void 0x0:_0x4aa18c[_0x2607b4(0x1f0)];if(_0x5423a0){const _0x3d50a4=_0x5423a0==null?void 0x0:_0x5423a0[_0x2607b4(0x58e)],_0x363dad=_0x596d96[_0x2607b4(0x56b)][_0x2607b4(0x31a)](_0x596d96['b64DecodeUnicode'](_0x3d50a4));_0x5423a0[_0x2607b4(0x58e)]=_0x363dad,Object['entries'](_0x5423a0[_0x2607b4(0x4ce)])[_0x2607b4(0x39f)](([,_0x25af70])=>{const _0x41436e=_0x2607b4,_0x11ba10=_0x25af70[_0x41436e(0x58e)],_0x4d7711=_0x596d96[_0x41436e(0x56b)][_0x41436e(0x31a)](_0x596d96[_0x41436e(0x4d4)](_0x11ba10));_0x25af70[_0x41436e(0x58e)]=_0x4d7711;});}return _0x6f41f9;}async[_0x40190f(0x33b)](_0x3d1a30,_0x4b0855){const _0x203229=_0x40190f,{unitID:_0x47e3fa,type:_0x198452,blockID:_0x1dc476}=_0x4b0855,_0x589de6=this[_0x203229(0x409)]()+'/'+_0x198452+_0x203229(0x240)+_0x47e3fa+_0x203229(0x571)+_0x1dc476;return(await this[_0x203229(0x48b)][_0x203229(0x27c)](_0x589de6))[_0x203229(0x211)];}async['getDeserializedSheetBlock'](_0x3da285,_0x436b56){const _0x228950=_0x40190f,{unitID:_0x1611dd,type:_0x2f240c,blockID:_0x453f22}=_0x436b56,_0x25d4cf=this['_getAPIPrefix']()+_0x228950(0x571)+_0x2f240c+'/unit/'+_0x1611dd+_0x228950(0x571)+_0x453f22;return(await this[_0x228950(0x48b)]['get'](_0x25d4cf))[_0x228950(0x211)];}async[_0x40190f(0x679)](_0x144a5d,_0x32b28b){const _0x2d39dd=_0x40190f,{unitID:_0x1b7db6,type:_0x5d2192,from:_0x2ffb4a,to:_0x3a7e1}=_0x32b28b,_0x53871d=this[_0x2d39dd(0x409)]()+'/'+_0x5d2192+_0x2d39dd(0x240)+_0x1b7db6+_0x2d39dd(0x391)+_0x2ffb4a+_0x2d39dd(0x48e)+_0x3a7e1;return(await this[_0x2d39dd(0x48b)][_0x2d39dd(0x27c)](_0x53871d))[_0x2d39dd(0x211)];}['_getSnapshotAPIPrefix'](){const _0x20b4d4=_0x40190f;var _0x3ace0e;return(_0x3ace0e=this[_0x20b4d4(0x61b)][_0x20b4d4(0x2df)](_0xb3deae))!=null?_0x3ace0e:this[_0x20b4d4(0x409)]();}[_0x40190f(0x409)](){const _0xf37c2f=_0x40190f;var _0x5d501f,_0x43f323;const _0x1da41e=this[_0xf37c2f(0x61b)]['getConfig'](_0x5e5cbf),_0x164b49=this[_0xf37c2f(0x61b)][_0xf37c2f(0x2df)](_0x347aa1);return(_0x43f323=(_0x5d501f=_0x164b49==null?void 0x0:_0x164b49['snapshotServerUrl'])!=null?_0x5d501f:_0x1da41e)!=null?_0x43f323:_0x4f5c87;}async[_0x40190f(0x4fa)](_0x2f3e6b,_0x1ac8e7){const _0xd0c58b=_0x40190f,_0x19ffb9='/universer-api/snapshot/'+_0x1ac8e7[_0xd0c58b(0x608)]+_0xd0c58b(0x240)+_0x1ac8e7[_0xd0c58b(0x233)]+'/resources';return(await this['_httpService'][_0xd0c58b(0x27c)](_0x19ffb9,{'params':{'resourceId':JSON[_0xd0c58b(0x22b)](_0x1ac8e7[_0xd0c58b(0x1a3)])}}))[_0xd0c58b(0x211)];}[_0x40190f(0x3bf)](){const _0x2c31a6=_0x40190f;throw new Error(_0x2c31a6(0x3e5));}[_0x40190f(0x4a3)](){const _0x435dcf=_0x40190f;throw new Error(_0x435dcf(0x3e5));}[_0x40190f(0x43c)](){const _0x5d6431=_0x40190f;throw new Error(_0x5d6431(0x3e5));}['copyFileMeta'](){const _0x5134d2=_0x40190f;throw new Error(_0x5134d2(0x3e5));}[_0x40190f(0x36a)](){const _0x490b49=_0x40190f;throw new Error(_0x490b49(0x3e5));}},_0x1acb6c[_0x40190f(0x372)]=_0x2975a5([_0x3eeb6f(0x0,_0x3c69d6[_0x40190f(0x3c5)]),_0x3eeb6f(0x1,_0x3c69d6['Inject'](_0x331a12[_0x40190f(0x496)]))],_0x1acb6c['SnapshotServerOverHTTPService']);var _0x36f435=Object[_0x40190f(0x1aa)],_0xdceba7=Object[_0x40190f(0x42f)],_0x28090c=(_0x5549bc,_0x106d04,_0x23a0a6,_0x145a77)=>{const _0x4b36ba=_0x40190f;for(var _0x53dfe2=_0x145a77>0x1?void 0x0:_0x145a77?_0xdceba7(_0x106d04,_0x23a0a6):_0x106d04,_0x2c7c0e=_0x5549bc[_0x4b36ba(0x642)]-0x1,_0x1951c1;_0x2c7c0e>=0x0;_0x2c7c0e--)(_0x1951c1=_0x5549bc[_0x2c7c0e])&&(_0x53dfe2=(_0x145a77?_0x1951c1(_0x106d04,_0x23a0a6,_0x53dfe2):_0x1951c1(_0x53dfe2))||_0x53dfe2);return _0x145a77&&_0x53dfe2&&_0x36f435(_0x106d04,_0x23a0a6,_0x53dfe2),_0x53dfe2;},_0x437fa6=(_0x32adca,_0x16c13c)=>(_0x175e51,_0x14a079)=>_0x16c13c(_0x175e51,_0x14a079,_0x32adca);let _0x3c800b=class extends _0x3c69d6['LocalUndoRedoService']{constructor(_0x6c81dc,_0x6f9d69,_0x64522,_0x5dd97c,_0x1ef8a6){const _0x34df2d=_0x40190f;super(_0x6c81dc,_0x6f9d69,_0x64522),this[_0x34df2d(0x57a)]=_0x5dd97c,this['_logService']=_0x1ef8a6;}[_0x40190f(0x4c5)](_0x577a04,_0x5036a4){const _0x53f5ee=_0x40190f,_0x39fcd2=this[_0x53f5ee(0x675)](_0x577a04);if(_0x39fcd2)try{const _0x3e06d6=this[_0x53f5ee(0x5de)](_0x39fcd2,_0x5036a4);this[_0x53f5ee(0x23a)](_0x577a04,_0x3e06d6);}catch(_0x4ea6b4){this[_0x53f5ee(0x58b)][_0x53f5ee(0x337)]('[CollaborationUndoRedoService]',_0x4ea6b4),this[_0x53f5ee(0x528)](_0x577a04);}const _0x18089b=this[_0x53f5ee(0x247)](_0x577a04);if(_0x18089b)try{const _0x2911ea=this['_transformStack'](_0x18089b,_0x5036a4);this[_0x53f5ee(0x1de)](_0x577a04,_0x2911ea);}catch(_0x54b86f){this['_logService'][_0x53f5ee(0x337)](_0x54b86f),this[_0x53f5ee(0x65e)](_0x577a04);}}['_clearUndo'](_0x2f33f8){const _0x1ac884=this['_getUndoStack'](_0x2f33f8);_0x1ac884&&(_0x1ac884['length']=0x0,this['_updateStatus']());}[_0x40190f(0x65e)](_0x2e0ff8){const _0x3fac44=_0x40190f,_0x5e31ce=this[_0x3fac44(0x247)](_0x2e0ff8);_0x5e31ce&&(_0x5e31ce['length']=0x0,this['_updateStatus']());}[_0x40190f(0x23a)](_0x1b42bf,_0x3ac641){const _0x9e7d7c=_0x40190f;this[_0x9e7d7c(0x658)][_0x9e7d7c(0x2e4)](_0x1b42bf,_0x3ac641),this[_0x9e7d7c(0x213)]();}[_0x40190f(0x1de)](_0x27fe5e,_0xff1fec){const _0x4016aa=_0x40190f;this['_redoStacks'][_0x4016aa(0x2e4)](_0x27fe5e,_0xff1fec),this['_updateStatus']();}[_0x40190f(0x5de)](_0x37ca19,_0x370ac8){const _0x2f1b33=_0x40190f,_0x3fa919=[];let _0x537988=_0x370ac8,_0x5360ea=_0x370ac8;for(let _0x343974=_0x37ca19[_0x2f1b33(0x642)]-0x1;_0x343974>=0x0;_0x343974--){const {unitID:_0xcdf34e,undoMutations:_0x2f7d05,redoMutations:_0x374e22}=_0x37ca19[_0x343974],_0x4859cb=this[_0x2f1b33(0x57a)][_0x2f1b33(0x475)](_0x537988,_0x2f7d05),_0x1ebc53=this[_0x2f1b33(0x57a)][_0x2f1b33(0x475)](_0x5360ea,_0x374e22);if(_0x596d96[_0x2f1b33(0x615)](_0x4859cb)||_0x596d96[_0x2f1b33(0x615)](_0x1ebc53)){this[_0x2f1b33(0x58b)][_0x2f1b33(0x337)](_0x2f1b33(0x37d),_0x2f1b33(0x1d4),_0x4859cb,_0x1ebc53);break;}_0x537988=_0x4859cb['c1Prime'],_0x5360ea=_0x1ebc53[_0x2f1b33(0x493)],_0x3fa919[_0x2f1b33(0x568)]({'unitID':_0xcdf34e,'undoMutations':_0x4859cb[_0x2f1b33(0x339)],'redoMutations':_0x1ebc53[_0x2f1b33(0x339)]});}return _0x3fa919[_0x2f1b33(0x515)]();}};_0x3c800b=_0x28090c([_0x437fa6(0x0,_0x3c69d6[_0x40190f(0x2f8)]),_0x437fa6(0x1,_0x3c69d6['ICommandService']),_0x437fa6(0x2,_0x3c69d6[_0x40190f(0x460)]),_0x437fa6(0x3,_0x596d96[_0x40190f(0x46f)]),_0x437fa6(0x4,_0x3c69d6[_0x40190f(0x53f)])],_0x3c800b);class _0x3aae63 extends _0x3c69d6[_0x40190f(0x40e)]{constructor(){const _0xc509e6=_0x40190f;super(),_0x2a7d69(this,_0xc509e6(0x234)),this[_0xc509e6(0x234)]=_0x5c0235[_0xc509e6(0x5ad)](window,_0xc509e6(0x357))[_0xc509e6(0x38c)](_0x5c0235[_0xc509e6(0x4ad)](this['dispose$']),_0x5c0235['shareReplay'](0x1),_0x5c0235[_0xc509e6(0x483)](void 0x0));}[_0x40190f(0x30f)](_0x41da93,_0x1d4967,_0x3a12fd=!0x1){const _0x123928=_0x40190f,_0x201f95=new URL(window[_0x123928(0x519)][_0x123928(0x621)]);_0x201f95[_0x123928(0x53c)][_0x123928(0x2e4)](_0x41da93,_0x1d4967),_0x3a12fd?window[_0x123928(0x367)][_0x123928(0x25f)]('','',_0x201f95[_0x123928(0x263)]()):window[_0x123928(0x367)]['pushState']('','',_0x201f95[_0x123928(0x263)]());}[_0x40190f(0x374)](_0x12736e,_0x47dce1=!0x1){const _0x9f7a39=_0x40190f,_0x5f3ee9=new URL(window['location']['href']);_0x5f3ee9[_0x9f7a39(0x53c)]['delete'](_0x12736e),_0x47dce1?window[_0x9f7a39(0x367)][_0x9f7a39(0x25f)]('','',_0x5f3ee9[_0x9f7a39(0x263)]()):window['history'][_0x9f7a39(0x3ea)]('','',_0x5f3ee9[_0x9f7a39(0x263)]());}['getParam'](_0x4c962d){const _0x431a57=_0x40190f;var _0x5f0093;return(_0x5f0093=new URL(window[_0x431a57(0x519)][_0x431a57(0x621)])[_0x431a57(0x53c)][_0x431a57(0x27c)](_0x4c962d))!=null?_0x5f0093:void 0x0;}}var _0x5dddaa=Object[_0x40190f(0x1aa)],_0x304fa4=Object['getOwnPropertyDescriptor'],_0x5e7b90=(_0x23caf8,_0x1e64dc,_0x247fa0)=>_0x1e64dc in _0x23caf8?_0x5dddaa(_0x23caf8,_0x1e64dc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x247fa0}):_0x23caf8[_0x1e64dc]=_0x247fa0,_0xdff74c=(_0x34e850,_0x197f8f,_0x1ca34f,_0x563abb)=>{const _0x474f63=_0x40190f;for(var _0x55428b=_0x563abb>0x1?void 0x0:_0x563abb?_0x304fa4(_0x197f8f,_0x1ca34f):_0x197f8f,_0x4e3a50=_0x34e850[_0x474f63(0x642)]-0x1,_0x5c2a8b;_0x4e3a50>=0x0;_0x4e3a50--)(_0x5c2a8b=_0x34e850[_0x4e3a50])&&(_0x55428b=(_0x563abb?_0x5c2a8b(_0x197f8f,_0x1ca34f,_0x55428b):_0x5c2a8b(_0x55428b))||_0x55428b);return _0x563abb&&_0x55428b&&_0x5dddaa(_0x197f8f,_0x1ca34f,_0x55428b),_0x55428b;},_0x36383e=(_0x15e158,_0x491218)=>(_0x1000ec,_0x2a4afc)=>_0x491218(_0x1000ec,_0x2a4afc,_0x15e158),_0x251329=(_0x14a320,_0x56697c,_0xd4fbbb)=>_0x5e7b90(_0x14a320,_0x56697c+'',_0xd4fbbb);const _0x25e78a=_0x40190f(0x634);_0x1acb6c['UniverCollaborationClientPlugin']=class extends _0x3c69d6[_0x40190f(0x51d)]{constructor(_0x3ae940=_0x19f6df,_0x37e633,_0x33e05a,_0x15ea9b,_0x31e736){const _0x56524b=_0x40190f;super(),this[_0x56524b(0x2a8)]=_0x3ae940,this['_logService']=_0x37e633,this[_0x56524b(0x2eb)]=_0x33e05a,this[_0x56524b(0x685)]=_0x15ea9b,this[_0x56524b(0x61b)]=_0x31e736;const {..._0x4431f2}=this[_0x56524b(0x2a8)];this[_0x56524b(0x61b)]['setConfig'](_0x347aa1,_0x4431f2);}[_0x40190f(0x1fd)](){const _0x325b0c=_0x40190f;this[_0x325b0c(0x2ee)](),this[_0x325b0c(0x48d)]();}[_0x40190f(0x2d5)](){const _0x538e9d=_0x40190f;_0x3c69d6[_0x538e9d(0x5b8)](this[_0x538e9d(0x685)],[[_0x48eac1],[_0x80c254]]);}['onRendered'](){this['_registerRenderDependencies']();}[_0x40190f(0x2ee)](){const _0x5c5448=_0x40190f;var _0xf697f2,_0x45def9,_0xc781c3,_0x224749;this[_0x5c5448(0x685)][_0x5c5448(0x352)](_0x3c69d6[_0x5c5448(0x5a2)])&&this['_logService'][_0x5c5448(0x337)](_0x5c5448(0x4d9),_0x5c5448(0x422));const _0x29f0d1=[[_0x3c69d6[_0x5c5448(0x5a2)],{'useClass':_0x3c800b}],[_0x1acb6c['CollaborationSessionService']],[_0x3052c3],[_0x3c2f84,{'useClass':_0x3aae63}],[_0x1acb6c[_0x5c5448(0x476)]],[_0x1acb6c['LocalCacheService']],[_0x331a12[_0x5c5448(0x5e2)]],[_0x5ee5b7],[_0x5126ec],[_0x369138],[_0x190ac8],[_0x1668ae],[_0x434d31],[_0x1a0e61],[_0x4815a9],[_0x57e832],[_0x1f1de2,{'useClass':(_0x45def9=(_0xf697f2=this[_0x5c5448(0x2a8)])==null?void 0x0:_0xf697f2['socketService'])!=null?_0x45def9:_0x1acb6c[_0x5c5448(0x313)]}],[_0x596d96[_0x5c5448(0x2ec)],{'useClass':_0x1acb6c[_0x5c5448(0x372)]}],[_0x3c69d6[_0x5c5448(0x430)],{'useClass':_0x1acb6c['AuthzIoHttpService']}],[_0x3e3268[_0x5c5448(0x4ab)],{'useClass':_0x1acb6c[_0x5c5448(0x60e)]}],[_0x3c69d6[_0x5c5448(0x1f9)],{'useClass':_0x1acb6c[_0x5c5448(0x1f4)]}],[_0x1acb6c[_0x5c5448(0x1dc)]],[_0x1acb6c[_0x5c5448(0x2aa)]],[_0x1acb6c[_0x5c5448(0x415)]],[_0x48eac1],[_0x146d6a],[_0x80c254]];(_0xc781c3=this[_0x5c5448(0x2a8)])!=null&&_0xc781c3[_0x5c5448(0x27b)]&&_0x29f0d1['push']([_0x51eda7,{'useClass':_0x4e149a}]),_0x3c69d6[_0x5c5448(0x1e5)](this[_0x5c5448(0x685)],_0x3c69d6['mergeOverrideWithDependencies'](_0x29f0d1,(_0x224749=this[_0x5c5448(0x2a8)])==null?void 0x0:_0x224749[_0x5c5448(0x250)]));}['_registerRenderDependencies'](){const _0x3f333e=_0x40190f;this[_0x3f333e(0x4fb)](this[_0x3f333e(0x2eb)][_0x3f333e(0x40c)](_0x3c69d6[_0x3f333e(0x359)][_0x3f333e(0x2cb)],[_0x3d30b9])),this[_0x3f333e(0x4fb)](this[_0x3f333e(0x2eb)][_0x3f333e(0x40c)](_0x3c69d6['UniverInstanceType']['UNIVER_SHEET'],[_0x4aa552]));}[_0x40190f(0x48d)](){const _0x49d327=_0x40190f;var _0x40cceb,_0x1c1759;this[_0x49d327(0x685)][_0x49d327(0x27c)](_0x331a12[_0x49d327(0x496)])[_0x49d327(0x4bf)]({'priority':0x14,'interceptor':_0x331a12[_0x49d327(0x223)]({'maxParallel':0x6})}),(_0x40cceb=this[_0x49d327(0x2a8)])!=null&&_0x40cceb[_0x49d327(0x628)]||this[_0x49d327(0x685)][_0x49d327(0x27c)](_0x1acb6c['LocalCacheService'])[_0x49d327(0x503)](),(_0x1c1759=this[_0x49d327(0x2a8)])!=null&&_0x1c1759[_0x49d327(0x2e2)]&&_0x3c69d6[_0x49d327(0x5b8)](this[_0x49d327(0x685)],[[_0x434d31]]),_0x3c69d6[_0x49d327(0x5b8)](this[_0x49d327(0x685)],[[_0x1a0e61],[_0x146d6a],[_0x1acb6c[_0x49d327(0x2aa)]],[_0x1acb6c['CollaborationController']],[_0x1acb6c[_0x49d327(0x415)]],[_0x57e832]]);}},_0x251329(_0x1acb6c[_0x40190f(0x4ea)],_0x40190f(0x650),_0x25e78a),_0x1acb6c[_0x40190f(0x4ea)]=_0xdff74c([_0x3c69d6[_0x40190f(0x4ef)](_0x596d96['UniverCollaborationPlugin'],_0x331a12['UniverNetworkPlugin']),_0x36383e(0x1,_0x3c69d6[_0x40190f(0x53f)]),_0x36383e(0x2,_0x3ee1ce['IRenderManagerService']),_0x36383e(0x3,_0x3c69d6[_0x40190f(0x22f)](_0x3c69d6[_0x40190f(0x2b3)])),_0x36383e(0x4,_0x3c69d6[_0x40190f(0x3c5)])],_0x1acb6c[_0x40190f(0x4ea)]),_0x1acb6c[_0x40190f(0x5f7)]=_0x15b686,_0x1acb6c[_0x40190f(0x3b3)]=_0x347aa1,_0x1acb6c[_0x40190f(0x599)]=_0x3e4a3c,_0x1acb6c[_0x40190f(0x3d7)]=_0x2adbde,_0x1acb6c[_0x40190f(0x2c3)]=_0x3b9e60,_0x1acb6c[_0x40190f(0x451)]=_0x3a6125,_0x1acb6c[_0x40190f(0x630)]=_0x4815a9,_0x1acb6c[_0x40190f(0x580)]=_0x379cbf,_0x1acb6c[_0x40190f(0x392)]=_0x18ccd8,_0x1acb6c[_0x40190f(0x210)]=_0x1f1de2,_0x1acb6c['IURLService']=_0x3c2f84,_0x1acb6c[_0x40190f(0x3e6)]=_0x58bc93,_0x1acb6c['LOGIN_URL_KEY']=_0x4bcfbc,_0x1acb6c['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x408152,_0x1acb6c[_0x40190f(0x4bd)]=_0x1af468,_0x1acb6c['SNAPSHOT_SERVER_URL_KEY']=_0x5e5cbf,_0x1acb6c['SNAPSHOT_URL_KEY']=_0xb3deae,_0x1acb6c['SessionStatus']=_0x440368,_0x1acb6c[_0x40190f(0x26a)]=_0x224b59,_0x1acb6c[_0x40190f(0x61f)]=_0x3aae63,_0x1acb6c[_0x40190f(0x49f)]=_0x1b3f74,_0x1acb6c['serializeCombRequest']=_0x109cd1,Object['defineProperty'](_0x1acb6c,Symbol['toStringTag'],{'value':_0x40190f(0x2b2)});}));function _0x1307(){const _0x1db151=['saveSheetBlock','2zFTprM','createSocket','leaveEvent','DocStateChangeManagerService','16308SyrjPv','UniverIcon','requireSession','IImageIoService','_getScale','takeUntil','_disabled','Error','RegularPolygon','INotificationService','ONLINE','bottom','_urlService','_drawAnchor','requestParams','{fileID}','splice','FromArray','APPLY_DUPLICATED','[SyncedState]:\x20received\x20acknowledgement.','collabStatus.fetchMiss','SEND_CHANGESET_TIMEOUT_KEY','_updateSubUnitFromURLParams','registerHTTPInterceptor','url(#off-line-single_clip0_910_343)','lineTo','UNIVER_UNKNOWN','_process','VIEWPORT_KEY','transformUndoRedo','beginPath','_reverseMap','isEditing','UniverProCollaborationClient','trim','_tryEnsureSocket','ranges','slice','sheets','_ENC_XFORM_MODE','failed\x20to\x20apply\x20missed\x20changesets!','Shape','activeSheet$','_setupSubUnitSync','b64DecodeUnicode','_DEC_XFORM_MODE','_resendTimeout','RETRY_CONNECTING_MAX_COUNT','_schedule','[UniverCollaborationClientPlugin]','_pendingMutations','UniverRpc','update','IDocClipboardService','ALREADY_EXISTS','resize','refreshPermission','processBlock','_handleLeaveEvent','getCollabEntity','_onUserJoin','defaultProps','ThemeService','joinEvent','addClipboardHook','react.fragment','UniverCollaborationClientPlugin','CommandType','isInternalEditorID','/universer-api/authz','HttpImport','DependentOn','_getAnchorBounding','_onFetchMissResult','handleInsertRow','_transformIMECache','submit\x20changeset\x20error!','sessionTicket','reduce','getMember','hovered','CollaborationSession','getResourcesRequest','disposeWithMe','path','/-/object/-/batch_allowed','@univerjs/engine-formula','csAckEvent','substring','_onRefRangeChange','image/bmp','disableLocalCache','column','@univerjs/drawing','ACTIVE_UNIT_EVENT_CHANNEL','hidden','use','create','debounceTime','snapshot','_remoteChangesetQueue','CHANGESET_SHOULD_RETRY','onRemoteChangeset','executeCommand','SHOULD_CLOSE_CONN','downloadEndpointUrl','image/png','Base64','Hasher','reverse','onCommentUpdate','onSendChangeset','_timeoutTimer','location','readAsDataURL','serializeRangeWithSheet','@univerjs/rpc','Plugin','createElement','MUTATION','result','handleMoveRange','getRenderById','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_waitForHeartbeatResponse','mode','charAt','RevisionService','_clearUndo','FETCH_MISSING','BuiltInUIPart','_sendHeartbeat','algo','/universer-api/user/session-ticket','_labelPosition','collabStatus.notCollab','_onMessage','_backgroundColor','onTransformSelections','session.connection-failed','createDecryptor','collabSubmitChangesetUrl','for','black','_removeRoom','mixIn','onlineStatusTitle','_send','searchParams','joinRsp','$super','ILogService','_selfUnitIDs','USERS_ENTER','/allowed','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','YUUMI_RATE_OVER_LIMIT','catch','Base','every','msCrypto','_onConnectionFailed','then','_cursor','fillText','randomBytes','sid','_scheduleClearOtherTimer','range','&source=','_createSocketURL','_loadSheet','_hasher','connection\x20error','subscribe','_univerInstanceService','MD5','_candidateSocket','LICENSE_IMPORT_SIZE_EXCEEDED','width','_handleHeartbeatEvent','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_instanceService','Disposable','interceptor','flatMap','_acknowledgedAwaitingChangeset','kdf','subject','collabStatus.synced','INVALID_ARGUMENT','_color','push','clearTimeout','transformSelections','textEncoder','_clearCollaborationTimeoutTimer','SYNCED','_disableEditing','_startSheetCollabCursor','focused$','/block/','_localCacheService','colorChannel1','IDLE','getCurrentUnitForType','getMemberID','top','unitId','DocIMEInputManagerService','_transformService','PERMISSION_DENIED','ReactCurrentOwner','random','_decreaseWaiting','number','HEARTBEAT_INTERVAL_KEY','_prevBlock','UniverSheetsUi','725225bbLVfv','&assign=','complete','_getDownloadEndpointURL','0\x200\x2017\x2016','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_docSkeleton','INGEST','_logService','_onCursorDelete','propertyIsEnumerable','originalMeta','_undoRedoService','__creator','encodeURIComponent','_handleJoinEvent','sheetID','_createInitialStateImpl','fillRule','pending','PasswordBasedCipher','getUniverSheetInstance','COLLAB_SUBMIT_CHANGESET_URL_KEY','m1Prime','subscribeEvent','_http','_transformUndoredo','currentTheme$','_session','Encryptor','Univer','IUndoRedoService','apply','_telemetryInfo','Fragment','_changesetReqId','words','handleDeleteRangeMoveLeft','labelPosition','@univerjs-pro/collaboration','conflict.title','APPLY_NON_SEQUENTIAL_REVISION','fromEvent','_messageService','CollaborationEntity','isTransformMutationsWithChangesetSuccess','_docTransformSelectionsService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getActiveSheet','NO_OTHER_CLIENTS_EDITING','INTERNAL_ERROR','VIEW_MAIN','save','touchDependencies','onlineStatus','getCurrentRevOfUnit','HTTPRequest','restore','_syncEditingCollabCursorService','measureText','objectID','getTypeOfUnitDisposed$','awaiting_with_pending','CHANGESET_ACK','onPointerEnter$','HmacSHA1','_onUserLeave','ref','_id','Workbook','_document','getStateCache','_clearOtherTimers','currentColor','collabCursorState$','off-line-single_clip0_910_343','LEAVE','collaboration_new_changeset','resend','randomUUID','_collaborationPaused','_oKey','_createHmacHelper','generateRandomId','filter','_sessionStatus$','fetchThroughInterceptors','getUnhiddenWorksheets','_nDataBytes','fetch_missing','IRemoteInstanceService','_transformStack','baseRev','unknown','SheetSkeletonManagerService','WebSocketService','put','_isPermissionRej','_imageIoService','M0\x200H16V16H0z','COMPRESS_MUTATION_SEND','_scheduleCollaborationTimeoutTimer','syncEditingCollabCursor','visibilitychange','_hover','_createHandler','JOIN_ROOM_FULL','__Key__','infoRsp','React','_colorIndex','verdancy600','actions','IRenderManagerService','_parse','_saveTaskMap','AUTHZ_URL_KEY','JOINING','unit','getVpScrollXYInfoByPosToVp','_resendTimer','PSEUDO_FETCH_MISSING_RESULT','round','readInt32LE','setShapeProps','LocaleService','from','/object','onCommandExecuted','subUnitId','status','SHA1','CBC','type','univer-offline','_submitChangeset','onTransformIME','asObservable','_compressMutationService','ImageIoService','format','@univerjs/network','getSkeleton','clear','onRemoteAck','sessionStatus','isTransformMutationsWithChangesetFailure','unsubscribe','NodePositionConvertToRectRange','setInterval','jiqing500','onTransformState','_configService','BlockCipher','_handleEvent','current','WebURLService','_minBufferSize','href','purple300','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','file','getValue','wsSessionTicketUrl','saveImage','enableOfflineEditing','_getSignURL','parseProtocolChangeset','CipherParams','_themeService','_onConflict','debug','SetWorksheetActivateCommand','CommentService','_initCloseConn','createIdentifier','210358CTnrkF','UNIVER_COLLABORATION_CLIENT_PLUGIN','LIVESHARE_TERMINATE','MSG_FOR_ERROR','loginUrlKey','TOO_MANY_REQUESTS','getUnitType','collabStatus.conflict','_doProcessBlock','_fetchMissChangesets','online','SetDocZoomRatioOperation','getAncestorScale','UNKNOWN_CODE','UniverDocsUi','length','fromCharCode','_invKeySchedule','DeleteRangeMoveUpCommandId','deserializeRangeWithSheet','InsertSheetMutation','UniverSheets','Utf8','JSONX','LocalCacheService','/universer-api/snapshot','collaMsg','_append','code','pluginName','_replaceFileID','AuthzIoHttpService','rng','@univerjs/engine-render','UNIVER_SLIDE','RichTextEditingMutation','default','_undoStacks','UniverDocs','merge','RECV','@univerjs/design','loadDoc','_clearRedo','\x20-\x20','_ensureSubject','_clearHeartbeatTimer','LIVESHARE_REQUEST_HOST','cfg','synced','_doFinalize','_showConflictNotification','jsx','state','rxjs/operators','_entityInit$','_onRemoteACK','crypto','onTransformRemoteChangesetByIMECache','onRemoteRetry','_nRounds','_commentService','registerRefRange','on-line-single_clip0_910_349','headers','undoState','_getUndoStack','_updateURLWithCurrentState','indexOf','BASE64','fetchMissingChangesets','roles','unit-cache-','triggerDblclick','@univerjs/ui','whenReady','_docStateChangeManagerService','string','\x20in\x20_schedule.','onStateChange','commentUpdateEvent','265852uCkoUt','_injector','_members','_context','tag','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','APPLY_REJECT','setItem','_data','collab-text-anchor-','resourceIDs','getTypeOfUnitAdded$','[CollaborationSessionService]:\x20socket\x20error','session.collaboration-timeout','@univerjs/sheets-ui','?size=','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','defineProperty','authzUrl','\x0aAfter:\x20','_setupBeforeClosingHandler','_shouldReportTelemetry','_replayCachedMutations','assignAColorForMemberID','enc','blockSize','startColumn','COLORS','LIVESHARE_OPERATION','1901310rQZMzU','drawWith','_transformUndoRedoStack','post','mutations','reconnect','_applyRemoteChangeset','transformStateCache','event$','updateMember','APPLY_REVISION_CONFILICT','/object/','onSyncEditingCollabCursor','Undefined','selection','univer-online-status','[CollaborationSession]','permission.title','SetSelectionsOperation','getColor','OpenSSL','ColorKit','Warning','_localStorageService','collabStatus.offline','storage','_socketService','sequenceExecute','hostname','_onRemoteRejected','transformStack\x20failed!','endRow','fill','hide','icon','_docSyncEditingCollabCursorService','CompressMutationService','editing\x20status\x20changed\x20to','CollaborationController','_scheduleSaving','_substituteRedoStack','c2Prime','_roomMembers','sigBytes','Optional','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','equals','registerDependencies','NOT_COLLAB','Vector2','loadOfflineData','_createHelper','_startCollaboration','registerComponent','dispose','YUUMI_UNABLE_LOAD_URL','ceil','_socket$','workbook','collaborators','USERS_LEAVE','ENSURE_SNAPSHOT_EXECUTION','MentionIoHttpService','capture','...','_retryConnectingTimer','TEXT','IMentionIOService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','0\x200\x2016\x2016','SheetPermissionInitController','onStarting','react','revision','fetchMiss','addObjects','LICENSE_EXPORT_SIZE_EXCEEDED','stopTime','ERROR_IMAGE','SetTextSelectionsOperation','add','_collaborationController','displayName','useDependency','_snapshotServerService','xlink:href','with','delay','translate(.97)','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','ICollaborationSocketService','body','text','_updateStatus','_collabCursorController','allowed','_startDocCollabCursor','decrypt','getSheetId','_doReset','_telemetryService','onlineStatusIcon','avatar','_sendHeartbeatTimer','HELLO','isArray','params','collaboration-session-retry','_revisionService','ThresholdInterceptorFactory','_hovered','_status$','hasOwnProperty','assign','CollaborationSessionService','pad','1em','stringify','_shapes','UNDEFINED','init','Inject','_toggleOffline','next','height','unitID','urlChange$','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','incrementRevOfUnit','skeleton','/collaborator','floor','_substituteUndoStack','_getUploadFileURL','_throwTelemetryCollaborationNewChangeset','forwardRef','useRef','OffLineSingle','/unit/','ivSize','@univerjs/docs-ui','getUnitStatus$','_initStatusListener','RefRangeService','CHANGESET_REVISION_CONFILICT','_getRedoStack','Malformed\x20UTF-8\x20data','on-line-single','LICENSE_MAX_UNITS_EXCEEDED','IMessageService','_refRangeService','parseChangesetToProtocol','OFFLINE','hasher','override','_syncEditingCollabCursor','Cipher','userID','socket\x20open.','getImageSourceCache','source','Rect','_roomMembers$','_cursorShapes','DisposableCollection','_clearScheduledTask','_drawRectRange','_updateLocalCursor','EffectRefRangId','replaceState','_transformStateCache','close','memberID','toString','replaceDocRanges','SUCCUSS','getUnitOnRev','children','startRow','Could\x20not\x20dynamically\x20require\x20\x22','SheetCollabCursorShape','_updateState','_assignedColors','onMissingChangesets','_unlockTransition','_sheetTransformSelectionsService','_incrementRevisionNumber','objectType','_initResize','_render','duration','_commentUpdate$','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','UNAUTHENTICATED','localeService','/universer-api/file/{fileID}/sign-url','_name','enableSingleActiveInstanceLock','get','_waitCount','?url=','_updateCollabCursors','isTransformChangesetsSuccess','Tools','AWAITING','getUnitId','routeKey','ILocalStorageService','UnitEmbedded','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','now','_anchorDot','Decryptor','finalize','_iv','_initCommandExecutedListener','toggleOnline','fromEventSubject','_scheduleTimestamp','resolve','univer-online-status-title','rev','awaiting','decryptBlock','_createInitialState','off-line-single','_colorAssignService','setCurrentUser','UniverNetwork','getSheetObject','RemoveColCommandId','initWorkbookPermissionChange','[SyncedState]:\x20received\x20rejection.','COMMENT_UPDATE','_commandService','_onRecvEvent','_xformMode','addObject','LIVESHARE_FETCH_OPERATIONS','_hash','EmptyMutation','cursorInfo','_config','_startTelemetryCollaborationNewChangeset','DataLoaderController','_textBubble','_socketMessageSubscription','getCollabEntity$','SNAPSHOT_HAS_BEEN_REMOVED','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','runRefRangeMutations','_type','Module','Injector','updatePermissionPoint','FileId','onMissedChangesetFetched','_initUnitPermissionChange','YUUMI_URL_COL_OUT_OF_RANGE','AES','getRangePointData','Tooltip','DOC_RANGE_TYPE','createEncryptor','#fff','POST','setActiveRange','_updateLocalCache','_keyPriorReset','CollaborationStatus','UNRECOGNIZED','method','changesets','salt','getFocusedUnit','_awaitingChangeset','UniverDrawing','UNIVER_DOC','_tryReconnect','url','_socket','svg','HEARTBEAT','_onLocalMutation','replace','JOIN_ROOM_NOT_ALLOWED','getSheetBySheetId','onReady','sessionStatus$','all','textRanges','transformIMECache','red300','idSuffix','handleInsertRangeMoveRight','roomInfos','PENDING','getConfig','responseType','CHANGESET_REJ','enableAuthServer','cursorInfo$','set','message$','_onCursorUpdate','HEARTBEAT_INTERVAL','eventID','abs','_lastPointer','_renderManagerService','ISnapshotServerService','clipPath','_registerDependencies','liveShareOperation','getMergeData','_sessions','COMPLETION_FINISHED','PERSON','_onOffline','_loadDoc','_docTransformStateCacheService','repeat','IUniverInstanceService','_initRequestHeader','some','createInstance','_mode','Error\x20on\x20receiving\x20event','unitId\x20is\x20not\x20found','_clearTimeoutTimer','rxjs','_docTransformIMECacheService','json','byteOffset','_removeCollabCursors','MergeInterceptorFactory','_collaborationSessionService','_refreshCollabCursors','UnitSnapshot','@univerjs/sheets','ICommandService','HttpExport','getCurrent','currentSkeleton$','includes','setParam','_saveCache','isPermissionRej','@univerjs/docs','CollaborationSocketService','_unitID','LOGIN_URL_KEY','onRemoteRej','removeMember','_getSendChangesetTimeout','getUnit','encode','object','_getSheetObject','collaboration.closeRoom','onPointerLeave$','_memberService','LICENSE_DISTRO_REJECTED','handleIRemoveCol','_transformRemoteChangesetByStateCache','_joinRoom','unload','key','getInterceptPoints','_listenToOfflineEvent','UniverCore','_collaborationTimeoutTimer','ImageSourceType','/-/object/list','bind','[CollaborationSessionService]','distinctUntilChanged','getCurrentSelections','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','NOT_FOUND','_toggleOnline','ws://127.0.0.1:8000/universer-api/comb/connect','batchAllowed','_anchor','onlyLocal','error','parse','m2Prime','HEARTBEAT_TIMEOUT','getSheetBlock','objects','closeSession','session','dispose$','backgroundColor','_getAPIPrefixPath','compose','_iKey','awaitingChangeset','split','findNodePositionByCharIndex','HMAC','jsxs','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_lockTransition','appendMutation','EXCHANGE_SIGN_URL_SERVER_URL_KEY','isTransformMutationFailure','OTHER_CLIENTS_EDITING','NEW_CHANGESETS','transformChangesets','signUrlServerUrl','has','getDocRanges','_doCryptBlock','SheetCollaborationEntity','_cursors','popstate','list','UniverInstanceType','call','state$','socket\x20close','concatMap','unshift','send','setTimeout','values','defIds','offline','function','_stopTelemetryCollaborationNewChangeset','285273HCHZnG','history','_handler','ImageUploadStatusType','getLatestCsReqIdBySid','_notificationService','cmd','SNAPSHOT_INVALID_SNAPSHOT','name','setShowComponents','WordArray','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','SnapshotServerOverHTTPService','5784neREcP','removeParam','_initMergeInterceptor','CollaborationEvent','univerjs-icon\x20univerjs-icon-','Hex','collabStatus.syncing','_map','_sendingTimer','row','[CollaborationUndoRedoService]','transformRemoteChangeset','conflict','_drawTextRange','patch','_transformRemoteChangesetByIMECache','_ws','getCollabCursors$','font','listRoles','useObservable','extend','UNIVER_PROJECT','IUIPartsService','_unitOnClients','pipe','clamp','color','LIVESHARE_NEW_HOST','_sender','/fetchmissing?from=','HEARTBEAT_TIMEOUT_KEY','_getCtorByUniverType','find','sendChangesetTimeout','ciphertext','gold400','iterations','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','visibilityState','toRgbString','debounce','Subject','_eventUnsubscribe','forEach','_resendWithTimeout','3070afWABl','SheetsSelectionsService','_scheduleHeartbeat','roomMembers','JOIN','_getSnapshotAPIPrefix','_createSocket','div','_transitionLocked','selections','InsertColCommandId','ERROR_EXCEED_SIZE','startsWith','_uiPartsService','_range','_getCurrentRevision','_onRemoteChangeset','_state','COLLAB_CLIENT_CONFIG_KEY','rgba(255,\x20255,\x20255,\x200.01)','uploadFileServerUrl','entries','getUndoRedoMutationParamsCache','roomMembers$','_sheetSkeletonManagerService','arc','NodePositionConvertToCursor','status$','shouldCloseConn','contains','saveSnapshot','_cipher','_userManagerService','COLLAB_SUBMIT_CHANGESET_URL','compute','_getSaveTimeout','IConfigService','close$','symbol','_listenToOnlineEvent','APPLY_PERMISSION_DENIED','toggleOffline','mapDocumentTypeToUniverType','_cursorInfo$','[DataLoaderController]','RECT','_initEventListeners','registerOnClose','CONNECTOR_DATA_TOO_LARGE','addEventListener','subunit','liveShareNewHost','engine','execute','COLLAB_WEB_SOCKET_URL_KEY','reset','imageSourceType','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_rescheduleHeartbeat','[CollaborationEntity]','charCodeAt','SUBMIT_CHANGESET','InsertRangeMoveDownCommandId','BufferedBlockAlgorithm','_onRemoteRetry','UNIVER_SHEET','telemetry\x20info\x20is\x20not\x20initialized','FAIL','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','LOCAL_CACHE_INTERVAL_KEY','COMPRESS_MUTATION_APPLY','_imageSourceCache','MessageType','pushState','FETCH_MISS','_transformPreviousActiveRange','pauseCollaboration','_beforeCloseService','getParam','UPDATE_PERMISSION_OBJ','_retryCount','_key','max','/new_changes','_collabSessionService','switchMap','SnapshotService','editingUnit','image/gif','isActive','delete','amd','_init','show','CONFLICT','handleInsertCol','OnLineSingle','_transformSelections','_change$','UniverEngineRender','setWaitCount','operators','prototype','getItem','_getAPIPrefix','transform','_online','registerRenderModule','blue400','RxDisposable','url(#$1','UniverDesign','getRandomValues','getViewport','exports','DocCollaborationEntity','DesktopCollaborationStatusDisplayController','getOwnPropertySymbols','\x20to\x20','collaboratorID','_entities','univer-pro.collaboration-client-socket-service','_permissionService','fetching\x20missing\x20changesets\x20from\x20','newValue','_localeService','/role','Latin1','retryConnectingInterval','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_HTTPService','setUndoRedoMutationParamsCache','_singleActiveUnitService','EvpKDF','YUUMI_SUBSCRIPTION_NOT_FOUND','_exhaustRemoteChangesetQueue','transformByState','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_docSkeletonManagerService','/universer-api/comb','setAlpha','HEADER_MENU','getOwnPropertyDescriptor','IAuthzIoService','redoState','fromCollab','target','reqId','_heartbeatTimer','[PendingState]:\x20received\x20rejection.','onload','updateOfflineData','byteLength','deleteCollaborator','toDisposable','saveChangeset','clearInterval','concat','deepClone','_queuedRemoteChangesets','take','lib','moveTo','_checkMissing','evenodd','SEND_CHANGESET_TIMEOUT','Unknown\x20user','_changesetSessionId','transformMutation','_getSessionTicket','UPDATE_CURSOR','_getLoginPath','MoveRangeCommandId','_handleHover','encrypt','buffer','CollaborationStatusDisplay','application/json','getCurrentUser','\x0aCurrent:\x20','[PendingState]:\x20received\x20acknowledgement.','handleInsertRangeMoveDown','IPermissionService','sin','exhaustSavingTask','SNAPSHOT_URL_KEY','BehaviorSubject','data','_snapshotService','_initStatusComponent','reject','IContextService','_cachedData','useCallback','WorkbookEditablePermission','RemoveRowCommandId','_socketReady','shareReplay','doc.mutation.rich-text-editing','min','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_state$','_collabCursorState$','url(#on-line-single_clip0_910_349)','className','collab-client.tooltip.reconnect','ITransformService','join','_transformHistoryAndStateStack','_removeClearOtherTimer','encryptBlock','DocSelectionManagerService','transformMutationsWithChangeset','MemberService','unpad','/universer-api/oidc/authpage','map','NoPadding','HmacMD5','_hideTimer','getActiveRange','@univerjs/telemetry','error$','makeDirty','members','_onJoinRoomEvent','mapTo','none','updateCursorEvent','_keySchedule','_event$','throttleTime','defs','UUID','_httpService','_scene','_initDependencies','&to=','TEXT_RANGE_LAYER_INDEX','3549sXSagA','_unitStatus','getImage','c1Prime','attrs','endColumn','HTTPService','InsertRangeMoveRightCommandId','updateCollaborator','_executeRemoteChangeset','[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.','permission.content','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','ticket','keySize','deserializeToCombResponse','onMouseMove','size','clone'];_0x1307=function(){return _0x1db151;};return _0x1307();}
|
1
|
+
(function(_0x501847,_0x2febd0){const _0xb9a0ed=_0x406b,_0x50e0ba=_0x501847();while(!![]){try{const _0x4861aa=-parseInt(_0xb9a0ed(0x52b))/0x1*(parseInt(_0xb9a0ed(0x166))/0x2)+parseInt(_0xb9a0ed(0x261))/0x3*(-parseInt(_0xb9a0ed(0x36a))/0x4)+-parseInt(_0xb9a0ed(0x14e))/0x5+parseInt(_0xb9a0ed(0xe1))/0x6+parseInt(_0xb9a0ed(0x314))/0x7*(-parseInt(_0xb9a0ed(0x2e4))/0x8)+parseInt(_0xb9a0ed(0x101))/0x9*(parseInt(_0xb9a0ed(0x309))/0xa)+parseInt(_0xb9a0ed(0x569))/0xb;if(_0x4861aa===_0x2febd0)break;else _0x50e0ba['push'](_0x50e0ba['shift']());}catch(_0x3bcf8c){_0x50e0ba['push'](_0x50e0ba['shift']());}}}(_0x17c8,0x6c909),function(_0x1dc2b3,_0xde0b37){const _0x12af28=_0x406b;typeof exports==_0x12af28(0x164)&&typeof module<'u'?_0xde0b37(exports,require(_0x12af28(0x105)),require(_0x12af28(0x4cd)),require(_0x12af28(0x157)),require(_0x12af28(0x2e6)),require(_0x12af28(0x481)),require(_0x12af28(0x141)),require(_0x12af28(0x2ca)),require(_0x12af28(0x4ba)),require(_0x12af28(0x300)),require(_0x12af28(0x498)),require(_0x12af28(0x3e2)),require('@univerjs/engine-render'),require(_0x12af28(0x37a)),require(_0x12af28(0x56f)),require('@univerjs/sheets-ui'),require(_0x12af28(0x49f)),require(_0x12af28(0x179))):typeof define==_0x12af28(0x466)&&define[_0x12af28(0x3ee)]?define(['exports',_0x12af28(0x105),_0x12af28(0x4cd),_0x12af28(0x157),_0x12af28(0x2e6),'@univerjs/network','@univerjs/ui',_0x12af28(0x2ca),_0x12af28(0x4ba),_0x12af28(0x300),_0x12af28(0x498),_0x12af28(0x3e2),_0x12af28(0x4e0),_0x12af28(0x37a),_0x12af28(0x56f),_0x12af28(0x3b0),_0x12af28(0x49f),_0x12af28(0x179)],_0xde0b37):(_0x1dc2b3=typeof globalThis<'u'?globalThis:_0x1dc2b3||self,_0xde0b37(_0x1dc2b3[_0x12af28(0x1a4)]={},_0x1dc2b3[_0x12af28(0x2db)],_0x1dc2b3['rxjs'],_0x1dc2b3[_0x12af28(0x4cd)][_0x12af28(0x25d)],_0x1dc2b3[_0x12af28(0x238)],_0x1dc2b3['UniverNetwork'],_0x1dc2b3[_0x12af28(0x1bd)],_0x1dc2b3['UniverProCollaboration'],_0x1dc2b3['UniverTelemetry'],_0x1dc2b3['UniverDocs'],_0x1dc2b3['UniverDocsUi'],_0x1dc2b3[_0x12af28(0x495)],_0x1dc2b3[_0x12af28(0x41c)],_0x1dc2b3['UniverDrawing'],_0x1dc2b3['UniverEngineFormula'],_0x1dc2b3[_0x12af28(0x3b1)],_0x1dc2b3[_0x12af28(0x23c)],_0x1dc2b3[_0x12af28(0x45e)]));}(this,function(_0x1191ba,_0x3c1a84,_0x818dd8,_0x58132b,_0x39c661,_0x30a9e9,_0xa35fb,_0xa820f,_0x5acc4a,_0x2a5ff4,_0x488d74,_0x16d7e8,_0x591f66,_0x18d697,_0x457450,_0x451e81,_0xa0cf8d,_0x149d86){'use strict';const _0x4478c1=_0x406b;var _0x48dac8=Object['defineProperty'],_0x43a2b5=(_0x1048d5,_0x56c7d4,_0x4c7bde)=>_0x56c7d4 in _0x1048d5?_0x48dac8(_0x1048d5,_0x56c7d4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c7bde}):_0x1048d5[_0x56c7d4]=_0x4c7bde,_0xa880cb=(_0x3e093b,_0x473a31,_0x532993)=>_0x43a2b5(_0x3e093b,typeof _0x473a31!=_0x4478c1(0x19e)?_0x473a31+'':_0x473a31,_0x532993);const _0x3aad35=_0x4478c1(0x373),_0x40c962=_0x4478c1(0xd4),_0x52beb3='SNAPSHOT_URL_KEY',_0x47557c=_0x4478c1(0x1c2),_0x5710a6=_0x4478c1(0x2a6),_0x10deff=_0x4478c1(0x171),_0x36d2fc='/universer-api/user/session-ticket',_0x475bfc=_0x4478c1(0x56a),_0x17f79b=_0x4478c1(0x2f3),_0x33c86c=_0x4478c1(0x205),_0x4c0f82='LOCAL_CACHE_INTERVAL',_0x3e3225='COLLAB_SUBMIT_CHANGESET_URL',_0x2a90c8=_0x4478c1(0x1cf),_0x358bd8=_0x4478c1(0x4e8),_0x29deaf=_0x4478c1(0x418);var _0x288a3f=(_0x3a46c4=>(_0x3a46c4[_0x3a46c4[_0x4478c1(0x48d)]=0x0]=_0x4478c1(0x48d),_0x3a46c4[_0x3a46c4['OK']=0x1]='OK',_0x3a46c4[_0x3a46c4[_0x4478c1(0x30d)]=0x2]=_0x4478c1(0x30d),_0x3a46c4[_0x3a46c4[_0x4478c1(0x3e8)]=0x3]='PERMISSION_DENIED',_0x3a46c4[_0x3a46c4[_0x4478c1(0x246)]=0x4]=_0x4478c1(0x246),_0x3a46c4[_0x3a46c4['UNAUTHENTICATED']=0x5]=_0x4478c1(0x221),_0x3a46c4[_0x3a46c4['ALREADY_EXISTS']=0x6]=_0x4478c1(0x293),_0x3a46c4[_0x3a46c4[_0x4478c1(0x4aa)]=0x7]='INVALID_ARGUMENT',_0x3a46c4[_0x3a46c4[_0x4478c1(0x3c5)]=0x8]=_0x4478c1(0x3c5),_0x3a46c4[_0x3a46c4['COMPLETION_FINISHED']=0x9]=_0x4478c1(0x326),_0x3a46c4[_0x3a46c4[_0x4478c1(0x483)]=0x1389]=_0x4478c1(0x483),_0x3a46c4[_0x3a46c4[_0x4478c1(0x10b)]=0x1771]=_0x4478c1(0x10b),_0x3a46c4[_0x3a46c4[_0x4478c1(0x218)]=0x1772]=_0x4478c1(0x218),_0x3a46c4[_0x3a46c4['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3a46c4[_0x3a46c4[_0x4478c1(0x325)]=0x1b59]=_0x4478c1(0x325),_0x3a46c4[_0x3a46c4['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4478c1(0x24d),_0x3a46c4[_0x3a46c4[_0x4478c1(0x394)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3a46c4[_0x3a46c4[_0x4478c1(0x3c4)]=0x1b5c]=_0x4478c1(0x3c4),_0x3a46c4[_0x3a46c4[_0x4478c1(0x169)]=0x1b5d]=_0x4478c1(0x169),_0x3a46c4[_0x3a46c4[_0x4478c1(0x2f8)]=0x1f41]=_0x4478c1(0x2f8),_0x3a46c4[_0x3a46c4[_0x4478c1(0x556)]=0x2329]=_0x4478c1(0x556),_0x3a46c4[_0x3a46c4['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4478c1(0x242),_0x3a46c4[_0x3a46c4[_0x4478c1(0xab)]=0x232b]=_0x4478c1(0xab),_0x3a46c4[_0x3a46c4[_0x4478c1(0xd9)]=0x232c]=_0x4478c1(0xd9),_0x3a46c4[_0x3a46c4[_0x4478c1(0x4fe)]=0x232d]=_0x4478c1(0x4fe),_0x3a46c4[_0x3a46c4[_0x4478c1(0x396)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3a46c4[_0x3a46c4[_0x4478c1(0x445)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3a46c4[_0x3a46c4[_0x4478c1(0xcb)]=0x2713]=_0x4478c1(0xcb),_0x3a46c4[_0x3a46c4[_0x4478c1(0x525)]=0x2714]=_0x4478c1(0x525),_0x3a46c4[_0x3a46c4[_0x4478c1(0x146)]=-0x1]=_0x4478c1(0x146),_0x3a46c4))(_0x288a3f||{}),_0x4d76be=(_0x554ed4=>(_0x554ed4[_0x554ed4[_0x4478c1(0x539)]=0x0]=_0x4478c1(0x539),_0x554ed4[_0x554ed4[_0x4478c1(0x3d0)]=0x1]=_0x4478c1(0x3d0),_0x554ed4[_0x554ed4[_0x4478c1(0x13a)]=0x2]=_0x4478c1(0x13a),_0x554ed4[_0x554ed4[_0x4478c1(0x355)]=0x3]='UNIVER_SLIDE',_0x554ed4[_0x554ed4[_0x4478c1(0x44d)]=0x4]='UNIVER_PROJECT',_0x554ed4[_0x554ed4['UNRECOGNIZED']=-0x1]=_0x4478c1(0x146),_0x554ed4))(_0x4d76be||{}),_0x33d34c=(_0x20c115=>(_0x20c115[_0x20c115[_0x4478c1(0x1d3)]=0x0]=_0x4478c1(0x1d3),_0x20c115[_0x20c115[_0x4478c1(0x136)]=0x1]=_0x4478c1(0x136),_0x20c115[_0x20c115[_0x4478c1(0xd3)]=0x2]='JOIN',_0x20c115[_0x20c115[_0x4478c1(0x3cb)]=0x3]=_0x4478c1(0x3cb),_0x20c115[_0x20c115['INGEST']=0x4]=_0x4478c1(0x3be),_0x20c115[_0x20c115[_0x4478c1(0x2b8)]=0x5]=_0x4478c1(0x2b8),_0x20c115[_0x20c115[_0x4478c1(0x1f8)]=0x6]=_0x4478c1(0x1f8),_0x20c115[_0x20c115[_0x4478c1(0x146)]=-0x1]=_0x4478c1(0x146),_0x20c115))(_0x33d34c||{}),_0x40c1a3=(_0x5e9bd3=>(_0x5e9bd3[_0x5e9bd3[_0x4478c1(0x3ca)]=0x0]='UNKNOWN_CODE',_0x5e9bd3[_0x5e9bd3['OK']=0x1]='OK',_0x5e9bd3[_0x5e9bd3[_0x4478c1(0x4e6)]=0x2]='FAIL',_0x5e9bd3[_0x5e9bd3['JOIN_ROOM_FULL']=0x3e9]=_0x4478c1(0xff),_0x5e9bd3[_0x5e9bd3['JOIN_ROOM_NOT_ALLOWED']=0x3ea]=_0x4478c1(0x276),_0x5e9bd3[_0x5e9bd3['UNRECOGNIZED']=-0x1]=_0x4478c1(0x146),_0x5e9bd3))(_0x40c1a3||{}),_0x32e2ea=(_0x5acd79=>(_0x5acd79[_0x5acd79[_0x4478c1(0x27f)]=0x0]=_0x4478c1(0x27f),_0x5acd79[_0x5acd79[_0x4478c1(0x3d6)]=0x1]=_0x4478c1(0x3d6),_0x5acd79[_0x5acd79['HttpExport']=0x2]=_0x4478c1(0x347),_0x5acd79[_0x5acd79[_0x4478c1(0x4bf)]=0x3]='UnitEmbedded',_0x5acd79[_0x5acd79[_0x4478c1(0x27b)]=0x4]=_0x4478c1(0x27b),_0x5acd79[_0x5acd79[_0x4478c1(0x146)]=-0x1]=_0x4478c1(0x146),_0x5acd79))(_0x32e2ea||{});const _0x52a52c='collaboration-client.config',_0x3d5e91={};function _0x4cd486(_0x7ee44){const _0x5be896=_0x4478c1;var _0x238b6f,_0x2f6990,_0x473cd8,_0x3c9493,_0x47515f;const _0x32ab7b=_0x7ee44[_0x5be896(0x2d6)],_0x51f862=JSON[_0x5be896(0x33c)](_0x32ab7b);switch(_0x51f862[_0x5be896(0x4ff)]){case _0x33d34c[_0x5be896(0x2b8)]:case _0x33d34c[_0x5be896(0x136)]:{const _0x410220=_0x51f862[_0x5be896(0x3f2)];return{..._0x51f862,'data':_0x410220,'cmd':_0x51f862[_0x5be896(0x4ff)]};}case _0x33d34c['JOIN']:{const _0x52d3bf=_0x51f862['joinRsp'];return{..._0x51f862,'data':_0x52d3bf,'cmd':_0x51f862['cmd']};}case _0x33d34c[_0x5be896(0x1f8)]:{const _0x3bbbe6=_0x51f862[_0x5be896(0x130)];switch(_0x3bbbe6['eventID']){case _0xa820f[_0x5be896(0x12d)][_0x5be896(0x375)]:return{..._0x51f862,'data':{..._0x3bbbe6,'data':(_0x238b6f=_0x3bbbe6[_0x5be896(0x4f7)])==null?void 0x0:_0x238b6f['cs']},'cmd':_0x51f862[_0x5be896(0x4ff)]};case _0xa820f[_0x5be896(0x12d)][_0x5be896(0x4fc)]:return{..._0x51f862,'data':{..._0x3bbbe6,'data':(_0x2f6990=_0x3bbbe6[_0x5be896(0x252)])==null?void 0x0:_0x2f6990['cs']},'cmd':_0x51f862[_0x5be896(0x4ff)]};case _0xa820f['CollaborationEvent'][_0x5be896(0x39c)]:return{..._0x51f862,'data':{..._0x3bbbe6,'data':(_0x473cd8=_0x3bbbe6['newCsEvent'])==null?void 0x0:_0x473cd8['cs']},'cmd':_0x51f862[_0x5be896(0x4ff)]};case _0xa820f[_0x5be896(0x12d)][_0x5be896(0x572)]:return{..._0x51f862,'data':{..._0x3bbbe6,'data':(_0x3c9493=_0x3bbbe6[_0x5be896(0x52f)])==null?void 0x0:_0x3c9493['cs']},'cmd':_0x51f862[_0x5be896(0x4ff)]};case _0xa820f[_0x5be896(0x12d)]['CHANGESET_SHOULD_RETRY']:return{..._0x51f862,'data':{..._0x3bbbe6,'data':(_0x47515f=_0x3bbbe6[_0x5be896(0x3c9)])==null?void 0x0:_0x47515f['cs']},'cmd':_0x51f862['cmd']};case _0xa820f[_0x5be896(0x12d)][_0x5be896(0x541)]:return{..._0x51f862,'data':{..._0x3bbbe6,'data':_0x3bbbe6[_0x5be896(0xe2)]},'cmd':_0x51f862['cmd']};case _0xa820f[_0x5be896(0x12d)][_0x5be896(0x1a1)]:return{..._0x51f862,'data':{..._0x3bbbe6,'data':_0x3bbbe6['joinEvent']},'cmd':_0x51f862[_0x5be896(0x4ff)]};case _0xa820f[_0x5be896(0x12d)][_0x5be896(0x4f9)]:return{..._0x51f862,'data':{..._0x3bbbe6,'data':_0x3bbbe6[_0x5be896(0x18e)]},'cmd':_0x51f862[_0x5be896(0x4ff)]};case _0xa820f['CollaborationEvent']['LIVESHARE_NEW_HOST']:return{..._0x51f862,'data':{..._0x3bbbe6,'data':_0x3bbbe6[_0x5be896(0x528)]},'cmd':_0x51f862['cmd']};case _0xa820f[_0x5be896(0x12d)][_0x5be896(0x18d)]:case _0xa820f[_0x5be896(0x12d)][_0x5be896(0x474)]:return{..._0x51f862,'data':{..._0x3bbbe6,'data':_0x3bbbe6['liveShareOperation']},'cmd':_0x51f862[_0x5be896(0x4ff)]};case _0xa820f['CollaborationEvent'][_0x5be896(0x4e3)]:return{..._0x51f862,'data':{..._0x3bbbe6,'data':_0x3bbbe6['liveShareNewHost']},'cmd':_0x51f862[_0x5be896(0x4ff)]};case _0xa820f[_0x5be896(0x12d)][_0x5be896(0x106)]:return{..._0x51f862,'data':_0x3bbbe6,'cmd':_0x51f862[_0x5be896(0x4ff)]};case _0xa820f[_0x5be896(0x12d)][_0x5be896(0x2ee)]:return{..._0x51f862,'data':{..._0x3bbbe6,'data':_0x3bbbe6[_0x5be896(0x1dc)]},'cmd':_0x51f862['cmd']};case _0xa820f[_0x5be896(0x12d)][_0x5be896(0x3f4)]:return{..._0x51f862,'data':{..._0x3bbbe6,'data':_0x3bbbe6['updatePermissionObjEvent']},'cmd':_0x51f862['cmd']};case _0xa820f[_0x5be896(0x12d)][_0x5be896(0x44c)]:return{..._0x51f862,'data':{..._0x3bbbe6,'data':_0x3bbbe6['shouldCloseConn']},'cmd':_0x51f862[_0x5be896(0x4ff)]};default:return _0x51f862;}}default:return _0x51f862;}}function _0x57255d(_0x3de553){const _0x170601=_0x4478c1;switch(_0x3de553['cmd']){case _0x33d34c[_0x170601(0x2b8)]:case _0x33d34c[_0x170601(0x136)]:return JSON[_0x170601(0x571)]({'cmd':_0x3de553[_0x170601(0x4ff)],'routeKey':_0x3de553[_0x170601(0x41f)]});case _0x33d34c[_0x170601(0x3be)]:{let _0x25f74f;switch(_0x3de553[_0x170601(0x2d6)][_0x170601(0x204)]){case _0xa820f['CollaborationEvent']['UPDATE_CURSOR']:{_0x25f74f={'eventID':_0xa820f[_0x170601(0x12d)]['UPDATE_CURSOR'],'updateCursorEvent':_0x3de553[_0x170601(0x2d6)][_0x170601(0x2d6)]};break;}case _0xa820f[_0x170601(0x12d)][_0x170601(0x4f9)]:{_0x25f74f={'eventID':_0xa820f[_0x170601(0x12d)]['USERS_LEAVE'],'leaveEvent':_0x3de553[_0x170601(0x2d6)][_0x170601(0x2d6)]};break;}case _0xa820f[_0x170601(0x12d)]['USERS_ENTER']:{_0x25f74f={'eventID':_0xa820f[_0x170601(0x12d)][_0x170601(0x1a1)],'joinEvent':_0x3de553['data'][_0x170601(0x2d6)]};break;}case _0xa820f[_0x170601(0x12d)][_0x170601(0x196)]:{_0x25f74f={'eventID':_0xa820f[_0x170601(0x12d)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x3de553[_0x170601(0x2d6)]['data']};break;}case _0xa820f['CollaborationEvent'][_0x170601(0x474)]:{_0x25f74f={'eventID':_0xa820f[_0x170601(0x12d)][_0x170601(0x474)],'liveShareOperation':_0x3de553[_0x170601(0x2d6)]['data']};break;}case _0xa820f[_0x170601(0x12d)][_0x170601(0x4e3)]:{_0x25f74f={'eventID':_0xa820f[_0x170601(0x12d)][_0x170601(0x4e3)],'liveShareTerminate':_0x3de553['data'][_0x170601(0x2d6)]};break;}case _0xa820f[_0x170601(0x12d)][_0x170601(0x3f8)]:{_0x25f74f={'eventID':_0xa820f[_0x170601(0x12d)][_0x170601(0x3f8)],'liveShareRequestHost':_0x3de553[_0x170601(0x2d6)][_0x170601(0x2d6)]};break;}case _0xa820f[_0x170601(0x12d)][_0x170601(0x18d)]:{_0x25f74f={'eventID':_0xa820f['CollaborationEvent'][_0x170601(0x18d)]};break;}default:_0x25f74f={'eventID':_0x3de553[_0x170601(0x2d6)][_0x170601(0x204)]};}return JSON[_0x170601(0x571)]({'cmd':_0x3de553['cmd'],'routeKey':_0x3de553[_0x170601(0x41f)],'collaMsg':_0x25f74f});}case _0x33d34c[_0x170601(0xd3)]:return JSON[_0x170601(0x571)]({'cmd':_0x3de553['cmd'],'routeKey':_0x3de553[_0x170601(0x41f)],'joinReq':_0x3de553[_0x170601(0x2d6)]});case _0x33d34c[_0x170601(0x3cb)]:return JSON['stringify']({'cmd':_0x3de553[_0x170601(0x4ff)],'routeKey':_0x3de553[_0x170601(0x41f)],'leaveReq':_0x3de553['data']});default:throw new Error(_0x170601(0xc4));}}var _0x3320dc=Object['defineProperty'],_0x1769f7=Object[_0x4478c1(0x4d8)],_0x225d2d=(_0x56a92c,_0x5c67f9,_0x4c9a31,_0x2dd678)=>{const _0x2d7474=_0x4478c1;for(var _0x53b478=_0x2dd678>0x1?void 0x0:_0x2dd678?_0x1769f7(_0x5c67f9,_0x4c9a31):_0x5c67f9,_0x415355=_0x56a92c[_0x2d7474(0x315)]-0x1,_0x35aa5c;_0x415355>=0x0;_0x415355--)(_0x35aa5c=_0x56a92c[_0x415355])&&(_0x53b478=(_0x2dd678?_0x35aa5c(_0x5c67f9,_0x4c9a31,_0x53b478):_0x35aa5c(_0x53b478))||_0x53b478);return _0x2dd678&&_0x53b478&&_0x3320dc(_0x5c67f9,_0x4c9a31,_0x53b478),_0x53b478;},_0x364a77=(_0x138c0b,_0x121226)=>(_0x5d90eb,_0x4949ec)=>_0x121226(_0x5d90eb,_0x4949ec,_0x138c0b);const _0x1ba3ea=_0x3c1a84[_0x4478c1(0x4bb)](_0x4478c1(0x413));function _0x32074d(_0x55a7db,_0x46174b,_0x1ca8c0){const _0x3ea0a1=_0x4478c1;return _0x55a7db+'/'+_0x46174b+_0x3ea0a1(0x138)+_0x1ca8c0+'/new_changes';}_0x1191ba[_0x4478c1(0x39d)]=class extends _0x3c1a84['Disposable']{constructor(_0x657f1c,_0x26e759,_0x228fb4,_0x7e228b,_0x36aed0){const _0x9a41f0=_0x4478c1;super(),this[_0x9a41f0(0x49a)]=_0x657f1c,this[_0x9a41f0(0x243)]=_0x26e759,this[_0x9a41f0(0x17a)]=_0x228fb4,this[_0x9a41f0(0x4c1)]=_0x7e228b,this[_0x9a41f0(0x3fa)]=_0x36aed0;}[_0x4478c1(0xf6)](_0x218518){const _0x8cb7a6=_0x4478c1,_0x3802ee=this[_0x8cb7a6(0x243)][_0x8cb7a6(0xf6)](_0x218518);if(!_0x3802ee)throw new Error(_0x8cb7a6(0x368));const _0x4d7b6a=new _0x3c1a84[(_0x8cb7a6(0x316))](),_0x49722c=new _0x818dd8['Subject']();_0x4d7b6a[_0x8cb7a6(0x560)](_0x3802ee[_0x8cb7a6(0x3e7)]['subscribe'](_0x56e7ef=>_0x49722c[_0x8cb7a6(0xdb)](_0x56e7ef))),_0x4d7b6a[_0x8cb7a6(0x560)](_0x3c1a84[_0x8cb7a6(0xde)](()=>_0x49722c['complete']()));const _0x5f3369=new _0x818dd8[(_0x8cb7a6(0x245))]();_0x4d7b6a[_0x8cb7a6(0x560)](_0x3802ee[_0x8cb7a6(0x189)][_0x8cb7a6(0x3aa)](_0xdbde7c=>_0x5f3369[_0x8cb7a6(0xdb)](_0xdbde7c))),_0x4d7b6a[_0x8cb7a6(0x560)](_0x3c1a84[_0x8cb7a6(0xde)](()=>_0x5f3369['complete']()));const _0x10b70f=new _0x818dd8[(_0x8cb7a6(0x245))]();_0x4d7b6a[_0x8cb7a6(0x560)](_0x3802ee[_0x8cb7a6(0x505)][_0x8cb7a6(0x3aa)](_0x2c4620=>{const _0x4e90d5=_0x8cb7a6,_0x2113d4=_0x4cd486(_0x2c4620);_0x10b70f[_0x4e90d5(0xdb)](_0x2113d4);})),_0x4d7b6a['add'](_0x3c1a84[_0x8cb7a6(0xde)](()=>_0x10b70f[_0x8cb7a6(0x121)]()));let _0x42af3a;const _0x4bf38a=()=>{const _0x5b8938=_0x8cb7a6;_0x5f3369[_0x5b8938(0xdb)](new Event('connection\x20error')),_0x49722c[_0x5b8938(0xdb)](new CloseEvent('connection\x20error')),_0x42af3a[_0x5b8938(0x484)]();};return _0x42af3a={'memberID':'','close$':_0x49722c['asObservable'](),'error$':_0x5f3369[_0x8cb7a6(0xca)](),'open$':_0x3802ee['open$'],'message$':_0x10b70f[_0x8cb7a6(0xca)](),'send':_0x569abe=>{const _0x422584=_0x8cb7a6;if(_0x569abe[_0x422584(0x4ff)]===_0x33d34c[_0x422584(0x3be)]){if(_0x569abe[_0x422584(0x2d6)]['eventID']===_0xa820f[_0x422584(0x12d)]['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x42af3a,_0x569abe[_0x422584(0x2d6)])['catch'](_0x21548e=>{const _0x55aad6=_0x422584;this[_0x55aad6(0x4c1)][_0x55aad6(0x17c)](_0x21548e),_0x4bf38a();});return;}if(_0x569abe[_0x422584(0x2d6)][_0x422584(0x204)]===_0xa820f[_0x422584(0x12d)][_0x422584(0x478)]){const _0x38baab=_0x569abe[_0x422584(0x2d6)];this['_fetchMissChangesets'](_0x38baab)[_0x422584(0x322)](_0x5ceb6e=>{const _0x254228=_0x422584;_0x10b70f[_0x254228(0xdb)]({'cmd':_0x33d34c[_0x254228(0x1f8)],'code':_0x40c1a3['OK'],'routeKey':_0x38baab[_0x254228(0x2d6)][_0x254228(0x2b0)],'routeType':'','data':{'eventID':_0xa820f['CollaborationEvent'][_0x254228(0x475)],'data':{'changesets':_0x5ceb6e}}});})[_0x422584(0x21c)](_0x509920=>{const _0x220699=_0x422584;this[_0x220699(0x4c1)]['error'](_0x509920),_0x4bf38a();});return;}}_0x3802ee[_0x422584(0x51b)](_0x57255d(_0x569abe));},'close':()=>{const _0x3ecfa9=_0x8cb7a6;_0x3802ee[_0x3ecfa9(0x484)](),_0x4d7b6a[_0x3ecfa9(0x4e7)]();}},_0x42af3a;}async[_0x4478c1(0x2c8)](_0x36141d,_0x3312d8){const _0x5e2105=_0x4478c1;var _0x3f5f27,_0x3b6ac;const {unitType:_0x425119,unitID:_0x6d35f7,changeset:_0x58ac08}=_0x3312d8['data'],_0x4189aa={'unitID':_0x6d35f7,'memberID':_0x36141d[_0x5e2105(0x10d)],'type':_0x425119,'changeset':_0xa820f[_0x5e2105(0x36d)](_0x58ac08)},_0x5529fb=this[_0x5e2105(0x17a)]['getConfig'](_0x3e3225),_0x1c183a=this[_0x5e2105(0x17a)][_0x5e2105(0x1d4)](_0x52a52c),_0x40d23b=_0x32074d((_0x3b6ac=(_0x3f5f27=_0x1c183a==null?void 0x0:_0x1c183a[_0x5e2105(0x3bc)])!=null?_0x3f5f27:_0x5529fb)!=null?_0x3b6ac:_0x2a90c8,_0x425119,_0x6d35f7);try{await this[_0x5e2105(0x49a)][_0x5e2105(0x32f)](_0x40d23b,{'body':_0x4189aa});}catch(_0xbb037e){throw this[_0x5e2105(0x4c1)][_0x5e2105(0x17c)]('[CollaborationSession]',_0x5e2105(0x268)),_0xbb037e;}}async['_fetchMissChangesets'](_0x457de3){const {unitID:_0x2461d5,from:_0x565112,to:_0xca5b87,unitType:_0x4b4347}=_0x457de3['data'];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x2461d5,'type':_0x4b4347,'from':_0x565112,'to':_0xca5b87}))['changesets'];}},_0x1191ba[_0x4478c1(0x39d)]=_0x225d2d([_0x364a77(0x0,_0x3c1a84[_0x4478c1(0x3dc)](_0x30a9e9[_0x4478c1(0x2d2)])),_0x364a77(0x1,_0x3c1a84[_0x4478c1(0x3dc)](_0x30a9e9[_0x4478c1(0x206)])),_0x364a77(0x2,_0x3c1a84['IConfigService']),_0x364a77(0x3,_0x3c1a84[_0x4478c1(0x4b9)]),_0x364a77(0x4,_0xa820f[_0x4478c1(0x338)])],_0x1191ba[_0x4478c1(0x39d)]);const _0xc53c95=_0x4478c1(0x3ec);function _0x52aa6a(_0x76a6e8){const _0x16953b=_0x4478c1;return JSON[_0x16953b(0x571)](_0x76a6e8)['length'];}class _0x5cca12{constructor(){const _0x41a621=_0x4478c1;_0xa880cb(this,_0x41a621(0x341),new _0x818dd8[(_0x41a621(0x245))]()),_0xa880cb(this,_0x41a621(0x1e9),this[_0x41a621(0x341)][_0x41a621(0xca)]());}[_0x4478c1(0x562)](_0x548ac1){const _0x1828de=_0x4478c1;this[_0x1828de(0x341)][_0x1828de(0xdb)](_0x548ac1);}}var _0x5c1377=Object['defineProperty'],_0x3e2d92=Object['getOwnPropertyDescriptor'],_0x13afab=(_0x549a5d,_0x5cacd5,_0x24ac3f,_0x1d4a48)=>{const _0x25880f=_0x4478c1;for(var _0x29d8b3=_0x1d4a48>0x1?void 0x0:_0x1d4a48?_0x3e2d92(_0x5cacd5,_0x24ac3f):_0x5cacd5,_0x2d69a5=_0x549a5d[_0x25880f(0x315)]-0x1,_0x29593b;_0x2d69a5>=0x0;_0x2d69a5--)(_0x29593b=_0x549a5d[_0x2d69a5])&&(_0x29d8b3=(_0x1d4a48?_0x29593b(_0x5cacd5,_0x24ac3f,_0x29d8b3):_0x29593b(_0x29d8b3))||_0x29d8b3);return _0x1d4a48&&_0x29d8b3&&_0x5c1377(_0x5cacd5,_0x24ac3f,_0x29d8b3),_0x29d8b3;},_0x4f12b9=(_0x34ddb3,_0x3bcac1)=>(_0x1da4dc,_0xfd7eab)=>_0x3bcac1(_0x1da4dc,_0xfd7eab,_0x34ddb3);_0x1191ba['MemberService']=class extends _0x3c1a84[_0x4478c1(0x4ec)]{constructor(_0x4a9086,_0x1b487a){const _0x3a039e=_0x4478c1;super(),_0xa880cb(this,_0x3a039e(0x312),new Map()),(this[_0x3a039e(0x35b)]=_0x4a9086,this['_userManagerService']=_0x1b487a,this[_0x3a039e(0xe5)](_0x3c1a84[_0x3a039e(0xde)](_0x818dd8['merge'](this[_0x3a039e(0x35b)]['getTypeOfUnitDisposed$'](_0x3c1a84[_0x3a039e(0x2d9)][_0x3a039e(0x13a)])[_0x3a039e(0x4c4)](_0x58132b['map'](_0x4b53bd=>_0x4b53bd[_0x3a039e(0x2b5)]())),this['_univerInstanceService'][_0x3a039e(0x44b)](_0x3c1a84['UniverInstanceType'][_0x3a039e(0x3d0)])[_0x3a039e(0x4c4)](_0x58132b[_0x3a039e(0x20e)](_0x2d2183=>_0x2d2183[_0x3a039e(0x2b5)]())),this['_univerInstanceService'][_0x3a039e(0x44b)](_0x3c1a84['UniverInstanceType']['UNIVER_SLIDE'])[_0x3a039e(0x4c4)](_0x58132b[_0x3a039e(0x20e)](_0x4c5557=>_0x4c5557[_0x3a039e(0x2b5)]())))['subscribe'](_0x2e6f3a=>this['_removeRoom'](_0x2e6f3a)))));}[_0x4478c1(0x21d)](_0x59b2c9){const _0x3d7ad5=_0x4478c1;this[_0x3d7ad5(0x27d)][_0x3d7ad5(0x21d)](_0x59b2c9);}[_0x4478c1(0x339)](){const _0x39a940=_0x4478c1;return this[_0x39a940(0x27d)][_0x39a940(0x339)]();}[_0x4478c1(0x25f)](_0x1f6bc2,_0x1c3572){const _0x32f575=_0x4478c1;let _0xf31fe1=this['_roomMembers'][_0x32f575(0x115)](_0x1f6bc2);_0xf31fe1||(_0xf31fe1=new _0x5909ec(),this[_0x32f575(0x312)]['set'](_0x1f6bc2,_0xf31fe1)),_0xf31fe1[_0x32f575(0x25f)](_0x1c3572);}[_0x4478c1(0x11b)](_0x48fa40,_0x4c8477){const _0xe44b0d=_0x4478c1,_0x48be63=this[_0xe44b0d(0x312)][_0xe44b0d(0x115)](_0x48fa40);_0x48be63&&_0x48be63[_0xe44b0d(0x11b)](_0x4c8477);}[_0x4478c1(0x231)](_0x4f5a62){const _0x39019c=_0x4478c1;return this[_0x39019c(0x312)][_0x39019c(0x115)](_0x4f5a62);}[_0x4478c1(0x100)](_0x4f253f,_0x4b0efd){const _0x372c9b=_0x4478c1,_0x131b0a=this[_0x372c9b(0x312)][_0x372c9b(0x115)](_0x4f253f);if(_0x131b0a)return _0x131b0a[_0x372c9b(0x100)](_0x4b0efd);}[_0x4478c1(0x114)](_0x4696dc){const _0x3c7430=_0x4478c1,_0x3e9b9=this['_roomMembers'][_0x3c7430(0x115)](_0x4696dc);_0x3e9b9&&(_0x3e9b9[_0x3c7430(0x4e7)](),this[_0x3c7430(0x312)][_0x3c7430(0x354)](_0x4696dc));}[_0x4478c1(0x4e7)](){const _0x184c48=_0x4478c1;this[_0x184c48(0x312)][_0x184c48(0x3b6)](_0x14b852=>_0x14b852[_0x184c48(0x4e7)]()),this['_roomMembers'][_0x184c48(0x285)]();}},_0x1191ba[_0x4478c1(0x2a8)]=_0x13afab([_0x4f12b9(0x0,_0x3c1a84[_0x4478c1(0x3d5)]),_0x4f12b9(0x1,_0x3c1a84['Inject'](_0x3c1a84[_0x4478c1(0xc3)]))],_0x1191ba[_0x4478c1(0x2a8)]);class _0x5909ec extends _0x3c1a84['Disposable']{constructor(){const _0x16fc99=_0x4478c1;super(...arguments),_0xa880cb(this,_0x16fc99(0x232),new Map());}[_0x4478c1(0x4e7)](){const _0x13c109=_0x4478c1;this[_0x13c109(0x232)][_0x13c109(0x285)]();}[_0x4478c1(0x25f)](_0x525c2f){const _0x33e17c=_0x4478c1;this[_0x33e17c(0x232)]['set'](_0x525c2f[_0x33e17c(0x10d)],_0x525c2f);}[_0x4478c1(0x11b)](_0x16ab9d){const _0x435f11=_0x4478c1;this[_0x435f11(0x232)][_0x435f11(0x354)](_0x16ab9d);}[_0x4478c1(0x100)](_0x35cdb7){const _0x2a49a2=_0x4478c1;return this[_0x2a49a2(0x232)][_0x2a49a2(0x115)](_0x35cdb7);}[_0x4478c1(0x381)](){const _0x33c350=_0x4478c1;return Array[_0x33c350(0x301)](this[_0x33c350(0x232)][_0x33c350(0x37f)]());}}var _0x39530a=Object[_0x4478c1(0x19b)],_0x591076=Object[_0x4478c1(0x4d8)],_0x32f01d=(_0x1aa537,_0x45d874,_0xae4574,_0xbccf4d)=>{const _0x358b5c=_0x4478c1;for(var _0x3d5c56=_0xbccf4d>0x1?void 0x0:_0xbccf4d?_0x591076(_0x45d874,_0xae4574):_0x45d874,_0x1be9d2=_0x1aa537[_0x358b5c(0x315)]-0x1,_0x206cae;_0x1be9d2>=0x0;_0x1be9d2--)(_0x206cae=_0x1aa537[_0x1be9d2])&&(_0x3d5c56=(_0xbccf4d?_0x206cae(_0x45d874,_0xae4574,_0x3d5c56):_0x206cae(_0x3d5c56))||_0x3d5c56);return _0xbccf4d&&_0x3d5c56&&_0x39530a(_0x45d874,_0xae4574,_0x3d5c56),_0x3d5c56;},_0x11699a=(_0x516205,_0xba44e9)=>(_0x1f8b6a,_0x30e39f)=>_0xba44e9(_0x1f8b6a,_0x30e39f,_0x516205),_0x417df1=(_0x5214f9=>(_0x5214f9[_0x5214f9[_0x4478c1(0x32a)]=0x0]='IDLE',_0x5214f9[_0x5214f9['JOINING']=0x1]=_0x4478c1(0x496),_0x5214f9[_0x5214f9['OFFLINE']=0x2]=_0x4478c1(0x423),_0x5214f9[_0x5214f9[_0x4478c1(0x150)]=0x3]=_0x4478c1(0x150),_0x5214f9))(_0x417df1||{});_0x1191ba[_0x4478c1(0x37b)]=class extends _0x3c1a84[_0x4478c1(0x2a0)]{constructor(_0x5486d4,_0x59942b,_0x353483,_0x3cb944,_0x1476fb,_0x3636a5,_0x38b810,_0x514c6e,_0x603a0f,_0x44cf1f){const _0x55b473=_0x4478c1;super(),_0xa880cb(this,_0x55b473(0x2fa),new _0x818dd8[(_0x55b473(0x122))](0x0)),_0xa880cb(this,_0x55b473(0x1ed),this['_sessionStatus$'][_0x55b473(0xca)]()),_0xa880cb(this,'_event$',new _0x818dd8[(_0x55b473(0x245))]()),_0xa880cb(this,'event$',this['_event$'][_0x55b473(0xca)]()),_0xa880cb(this,_0x55b473(0x36c)),_0xa880cb(this,_0x55b473(0x555)),_0xa880cb(this,_0x55b473(0x279)),_0xa880cb(this,_0x55b473(0x165),!0x1),_0xa880cb(this,_0x55b473(0x46f),null),(this[_0x55b473(0x350)]=_0x5486d4,this[_0x55b473(0x4c1)]=_0x353483,this[_0x55b473(0x41d)]=_0x3cb944,this[_0x55b473(0x183)]=_0x1476fb,this[_0x55b473(0x17a)]=_0x3636a5,this['_localeService']=_0x38b810,this[_0x55b473(0x51d)]=_0x514c6e,this[_0x55b473(0x187)]=_0x603a0f,this[_0x55b473(0x3ac)]=_0x44cf1f,this[_0x55b473(0x165)]=!!this[_0x55b473(0x3ac)],_0x59942b[_0x55b473(0x4c4)](_0x818dd8[_0x55b473(0x439)](this['dispose$']))['subscribe'](_0x1fceba=>{const _0x19076a=_0x55b473;var _0x3885fa;typeof _0x1fceba>'u'||(this[_0x19076a(0x36c)]=_0x1fceba,_0x1fceba?(this[_0x19076a(0x284)](_0x1fceba),this[_0x19076a(0x555)]=_0x1fceba[_0x19076a(0x505)][_0x19076a(0x3aa)](_0x5c155c=>{const _0x5e6ce6=_0x19076a;_0x5c155c[_0x5e6ce6(0x41f)]===this['_unitID']&&this[_0x5e6ce6(0x212)](_0x5c155c);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x19076a(0x2fa)][_0x19076a(0xdb)](0x2),(_0x3885fa=this['_socketMessageSubscription'])==null||_0x3885fa[_0x19076a(0x4e1)](),this[_0x19076a(0x555)]=null));}),this[_0x55b473(0xe5)](this[_0x55b473(0x41d)][_0x55b473(0xb4)](()=>{const _0x45ba1f=_0x55b473;var _0x10c34a;(_0x10c34a=this[_0x45ba1f(0x36c)])==null||_0x10c34a['send']({'cmd':_0x33d34c[_0x45ba1f(0x3cb)],'data':{'roomID':this[_0x45ba1f(0x350)]}});})));}get[_0x4478c1(0x4a5)](){const _0x1130c3=_0x4478c1;return this[_0x1130c3(0x2fa)][_0x1130c3(0x4c5)]();}['getMemberID'](){const _0x8e53de=_0x4478c1;var _0x103090,_0x569a57;return(_0x569a57=(_0x103090=this[_0x8e53de(0x36c)])==null?void 0x0:_0x103090[_0x8e53de(0x10d)])!=null?_0x569a57:null;}[_0x4478c1(0x4e7)](){const _0xd81d81=_0x4478c1;super[_0xd81d81(0x4e7)](),this[_0xd81d81(0x23a)][_0xd81d81(0xdb)](),this[_0xd81d81(0x23a)][_0xd81d81(0x121)]();}[_0x4478c1(0x484)](){const _0x4aa365=_0x4478c1;var _0x2d47ac,_0x2b5705;this[_0x4aa365(0x254)](),(_0x2d47ac=this[_0x4aa365(0x36c)])==null||_0x2d47ac[_0x4aa365(0x51b)]({'cmd':_0x33d34c[_0x4aa365(0x3cb)],'data':{'roomID':this[_0x4aa365(0x350)]}}),(_0x2b5705=this[_0x4aa365(0x36c)])==null||_0x2b5705[_0x4aa365(0x484)](),this[_0x4aa365(0x162)][_0x4aa365(0x121)](),this[_0x4aa365(0x2fa)][_0x4aa365(0x121)](),this[_0x4aa365(0x4e7)]();}[_0x4478c1(0x212)](_0x2e75ff){const _0x2dca2a=_0x4478c1;_0x2e75ff[_0x2dca2a(0x4ff)]===_0x33d34c[_0x2dca2a(0xd3)]?this[_0x2dca2a(0x21e)](_0x2e75ff):_0x2e75ff['cmd']===_0x33d34c['RECV']&&this['_onRecvEvent'](_0x2e75ff);}['_joinRoom'](_0x43ebf8){const _0x499b43=_0x4478c1;this[_0x499b43(0x2fa)][_0x499b43(0xdb)](0x1),_0x43ebf8[_0x499b43(0x51b)]({'cmd':_0x33d34c[_0x499b43(0xd3)],'routeKey':this[_0x499b43(0x350)],'routeType':'','data':{'rooms':[{'roomID':this[_0x499b43(0x350)]}]}});}['_onJoinRoomEvent'](_0x382801){const _0x149cad=_0x4478c1;var _0x541fe3;if(_0x382801[_0x149cad(0xe4)]===_0x40c1a3[_0x149cad(0x4e6)]){this[_0x149cad(0x183)][_0x149cad(0x26f)]({'type':_0x39c661[_0x149cad(0x1fe)]['Warning'],'content':this[_0x149cad(0x343)]['t']('session.room-full')}),this['_sessionStatus$'][_0x149cad(0xdb)](0x2);return;}this[_0x149cad(0x2fa)][_0x149cad(0xdb)](0x3);const _0x186573=(_0x541fe3=_0x382801[_0x149cad(0x2d6)]['roomInfos'][this[_0x149cad(0x350)]])==null?void 0x0:_0x541fe3[_0x149cad(0x47f)];_0x186573&&_0x186573[_0x149cad(0x3b6)](_0x5b6c4a=>this[_0x149cad(0x51d)][_0x149cad(0x25f)](this[_0x149cad(0x350)],_0x5b6c4a));}[_0x4478c1(0x22b)](_0x5353f1){const _0xf9c36b=_0x4478c1;try{const _0x4ea4d6=_0x5353f1[_0xf9c36b(0x2d6)];switch(_0x4ea4d6['eventID']){case _0xa820f[_0xf9c36b(0x12d)][_0xf9c36b(0x1a1)]:this['_onUserJoin'](_0x4ea4d6),this[_0xf9c36b(0x162)]['next'](_0x4ea4d6);break;case _0xa820f[_0xf9c36b(0x12d)]['USERS_LEAVE']:this[_0xf9c36b(0x149)](_0x4ea4d6),this[_0xf9c36b(0x162)][_0xf9c36b(0xdb)](_0x4ea4d6);break;case _0xa820f[_0xf9c36b(0x12d)][_0xf9c36b(0x4fc)]:case _0xa820f[_0xf9c36b(0x12d)][_0xf9c36b(0x1f2)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0xf9c36b(0x318)](),this[_0xf9c36b(0x162)][_0xf9c36b(0xdb)](_0x4ea4d6);break;case _0xa820f['CollaborationEvent']['MSG_FOR_ERROR']:this['_logService'][_0xf9c36b(0x17c)](_0xf9c36b(0x1d7)+JSON[_0xf9c36b(0x571)](_0x4ea4d6)),this[_0xf9c36b(0x162)][_0xf9c36b(0xdb)](_0x4ea4d6);break;case _0xa820f[_0xf9c36b(0x12d)][_0xf9c36b(0x2ee)]:this[_0xf9c36b(0x187)]['onCommentUpdate'](_0x4ea4d6[_0xf9c36b(0x2d6)]),this['_event$']['next'](_0x4ea4d6);break;default:this[_0xf9c36b(0x162)][_0xf9c36b(0xdb)](_0x4ea4d6);}}catch(_0x38b72d){this[_0xf9c36b(0x4c1)]['error'](_0x38b72d,_0x5353f1);}}[_0x4478c1(0x31c)](_0x3ba2d1){const _0x5961a3=_0x4478c1;this['_memberService']['updateMember'](this[_0x5961a3(0x350)],_0x3ba2d1['data']);}[_0x4478c1(0x149)](_0x18b13a){const _0x1ce0f0=_0x4478c1;this[_0x1ce0f0(0x51d)][_0x1ce0f0(0x11b)](this[_0x1ce0f0(0x350)],_0x18b13a[_0x1ce0f0(0x2d6)][_0x1ce0f0(0x10d)]);}async[_0x4478c1(0x51b)](_0x317c4e,_0x3fff03){const _0x5d9ca4=_0x4478c1;if(this[_0x5d9ca4(0x4a5)]!==0x3||!this[_0x5d9ca4(0x36c)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x317c4e[_0x5d9ca4(0x204)]===_0xa820f[_0x5d9ca4(0x12d)][_0x5d9ca4(0x3a5)]&&(this[_0x5d9ca4(0x23b)](),this[_0x5d9ca4(0x31b)](_0x317c4e)),this[_0x5d9ca4(0x36c)][_0x5d9ca4(0x51b)]({'cmd':_0x33d34c[_0x5d9ca4(0x3be)],'routeKey':_0x3fff03,'routeType':'','data':_0x317c4e});}catch(_0x5f2220){this[_0x5d9ca4(0x4c1)]['error'](_0x5f2220);}}[_0x4478c1(0x23b)](){const _0x24724d=_0x4478c1;var _0x233407;this[_0x24724d(0x279)]=window[_0x24724d(0x283)](()=>{const _0x2f3ee3=_0x24724d;this[_0x2f3ee3(0x279)]=null,this[_0x2f3ee3(0x183)][_0x2f3ee3(0x26f)]({'type':_0x39c661['MessageType']['Error'],'content':this[_0x2f3ee3(0x343)]['t'](_0x2f3ee3(0x452))});},(_0x233407=this[_0x24724d(0x17a)][_0x24724d(0x1d4)](_0x17f79b))!=null?_0x233407:0x4e20);}[_0x4478c1(0x318)](){const _0xc22037=_0x4478c1;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0xc22037(0x279)]),this[_0xc22037(0x279)]=null);}[_0x4478c1(0x31b)](_0xd5ceff){if(!this['_shouldReportTelemetry'])return;const {data:_0x169e00}=_0xd5ceff,{unitID:_0x11b024,changeset:_0x3ca0c5}=_0x169e00,{mutations:_0x3191ed,type:_0x458c99}=_0x3ca0c5;this['_telemetryInfo']={'unitId':_0x11b024,'type':_0x458c99,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x52aa6a(_0x3191ed)};}[_0x4478c1(0x10c)](){const _0x2b1ea9=_0x4478c1;if(this[_0x2b1ea9(0x165)]){if(!this[_0x2b1ea9(0x46f)]){this[_0x2b1ea9(0x4c1)][_0x2b1ea9(0x17c)](_0x2b1ea9(0x15d),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2b1ea9(0x46f)]['stopTime']=performance[_0x2b1ea9(0x380)](),this[_0x2b1ea9(0x46f)][_0x2b1ea9(0x47d)]=this[_0x2b1ea9(0x46f)]['stopTime']-this[_0x2b1ea9(0x46f)][_0x2b1ea9(0x405)],this[_0x2b1ea9(0x3ac)][_0x2b1ea9(0x54e)](_0xc53c95,this[_0x2b1ea9(0x46f)]),this[_0x2b1ea9(0x46f)]=null;}}[_0x4478c1(0x254)](){const _0x1d2a98=_0x4478c1;this[_0x1d2a98(0x46f)]=null;}},_0x1191ba[_0x4478c1(0x37b)]=_0x32f01d([_0x11699a(0x2,_0x3c1a84[_0x4478c1(0x4b9)]),_0x11699a(0x3,_0xa35fb[_0x4478c1(0x2ba)]),_0x11699a(0x4,_0xa35fb[_0x4478c1(0x12e)]),_0x11699a(0x5,_0x3c1a84[_0x4478c1(0x56b)]),_0x11699a(0x6,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x3ff)])),_0x11699a(0x7,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba[_0x4478c1(0x2a8)])),_0x11699a(0x8,_0x3c1a84[_0x4478c1(0x3dc)](_0x5cca12)),_0x11699a(0x9,_0x3c1a84['Optional'](_0x5acc4a[_0x4478c1(0x487)]))],_0x1191ba['CollaborationSession']);var _0xc43ce8=Object['defineProperty'],_0xec681c=Object[_0x4478c1(0x4d8)],_0x459bd9=(_0x12a057,_0x5a719c,_0x3c8c09,_0x20d01f)=>{for(var _0xca866c=_0x20d01f>0x1?void 0x0:_0x20d01f?_0xec681c(_0x5a719c,_0x3c8c09):_0x5a719c,_0x3017a9=_0x12a057['length']-0x1,_0x950f92;_0x3017a9>=0x0;_0x3017a9--)(_0x950f92=_0x12a057[_0x3017a9])&&(_0xca866c=(_0x20d01f?_0x950f92(_0x5a719c,_0x3c8c09,_0xca866c):_0x950f92(_0xca866c))||_0xca866c);return _0x20d01f&&_0xca866c&&_0xc43ce8(_0x5a719c,_0x3c8c09,_0xca866c),_0xca866c;},_0x58593d=(_0x5e824d,_0x5ac092)=>(_0x30fd6e,_0x9c601c)=>_0x5ac092(_0x30fd6e,_0x9c601c,_0x5e824d);_0x1191ba[_0x4478c1(0x2b7)]=class extends _0x3c1a84[_0x4478c1(0x4ec)]{constructor(_0x5f2012,_0x35a0aa,_0x343170,_0x1e9952,_0x257caa,_0x22be56,_0x38eeb8){const _0x137c84=_0x4478c1;super(),_0xa880cb(this,_0x137c84(0x383),new _0x818dd8[(_0x137c84(0x122))](void 0x0)),_0xa880cb(this,'socket$',this[_0x137c84(0x383)][_0x137c84(0xca)]()),_0xa880cb(this,'_candidateSocket',null),_0xa880cb(this,_0x137c84(0x434),new Map()),_0xa880cb(this,'_status$',new _0x818dd8['BehaviorSubject'](_0x417df1[_0x137c84(0x32a)])),_0xa880cb(this,_0x137c84(0x34d),this[_0x137c84(0x425)][_0x137c84(0xca)]()),_0xa880cb(this,_0x137c84(0x549),!0x1),_0xa880cb(this,_0x137c84(0x501)),_0xa880cb(this,_0x137c84(0x55f),0x0),_0xa880cb(this,'_sendHeartbeatTimer'),_0xa880cb(this,_0x137c84(0x552)),(this[_0x137c84(0x391)]=_0x5f2012,this[_0x137c84(0x343)]=_0x35a0aa,this[_0x137c84(0x183)]=_0x343170,this['_logService']=_0x1e9952,this[_0x137c84(0x17a)]=_0x257caa,this[_0x137c84(0x1f7)]=_0x22be56,this[_0x137c84(0x255)]=_0x38eeb8,this[_0x137c84(0x35d)]());}get[_0x4478c1(0x36c)](){const _0x2c9868=_0x4478c1;return this[_0x2c9868(0x383)][_0x2c9868(0x4c5)]();}[_0x4478c1(0x35d)](){const _0x116979=_0x4478c1;this[_0x116979(0x132)](),this[_0x116979(0x1c4)]();}[_0x4478c1(0x4e7)](){const _0x7287ee=_0x4478c1;super[_0x7287ee(0x4e7)](),this['_sessions']['forEach'](_0x2bc727=>_0x2bc727[_0x7287ee(0x4e7)]()),this[_0x7287ee(0x434)][_0x7287ee(0x285)](),this[_0x7287ee(0x425)][_0x7287ee(0x121)]();}async['requireSession'](_0x58aa24){const _0x24d671=_0x4478c1;if(this[_0x24d671(0x434)][_0x24d671(0x431)](_0x58aa24))return this[_0x24d671(0x434)][_0x24d671(0x115)](_0x58aa24);this[_0x24d671(0xbd)]();const _0x19a917=this[_0x24d671(0x391)][_0x24d671(0x47c)](_0x1191ba[_0x24d671(0x37b)],_0x58aa24,this[_0x24d671(0x383)][_0x24d671(0xca)]());return this['_sessions'][_0x24d671(0x53e)](_0x58aa24,_0x19a917),_0x19a917;}['closeSession'](_0x468191){const _0x43d82b=_0x4478c1;var _0xbb639b;const _0x370a83=this['_sessions'][_0x43d82b(0x115)](_0x468191);_0x370a83&&(this[_0x43d82b(0x434)][_0x43d82b(0x354)](_0x468191),_0x370a83[_0x43d82b(0x484)]()),this[_0x43d82b(0x434)]['size']||(_0xbb639b=this[_0x43d82b(0x36c)])==null||_0xbb639b[_0x43d82b(0x484)]();}[_0x4478c1(0x430)](){const _0x49964d=_0x4478c1;this['_retryCount']=0x0,this[_0x49964d(0x501)]!=null&&(clearTimeout(this[_0x49964d(0x501)]),this[_0x49964d(0x501)]=null),this[_0x49964d(0x227)]();}async[_0x4478c1(0x36b)](){const _0x305819=_0x4478c1;var _0x25f73b,_0x593d72,_0x516809;const _0x399d2c=this[_0x305819(0x17a)][_0x305819(0x1d4)](_0x52a52c),_0x382ce0=(_0x25f73b=_0x399d2c==null?void 0x0:_0x399d2c['wsSessionTicketUrl'])!=null?_0x25f73b:_0x36d2fc;return(_0x516809=(_0x593d72=(await this[_0x305819(0x255)][_0x305819(0x115)](_0x382ce0,{'headers':{'Content-Type':'application/json'}}))[_0x305819(0x126)])==null?void 0x0:_0x593d72[_0x305819(0x1ec)])!=null?_0x516809:'';}[_0x4478c1(0x334)](_0x580d10){const _0x4fe394=_0x4478c1;var _0x2c4a42,_0x22eda5;const _0x49a56c=this['_configService'][_0x4fe394(0x1d4)](_0x5710a6),_0x241608=this[_0x4fe394(0x17a)]['getConfig'](_0x52a52c),_0x470bf8=(_0x22eda5=(_0x2c4a42=_0x241608==null?void 0x0:_0x241608['collabWebSocketUrl'])!=null?_0x2c4a42:_0x49a56c)!=null?_0x22eda5:_0x10deff,_0x929f4a=new URL(_0x470bf8,window[_0x4fe394(0x55e)][_0x4fe394(0x532)]);return _0x929f4a['searchParams'][_0x4fe394(0x53e)]('sessionTicket',_0x580d10),_0x929f4a[_0x4fe394(0x397)]();}async[_0x4478c1(0x11d)](){const _0x134ad9=_0x4478c1,_0x3e6030=await this[_0x134ad9(0x36b)](),_0x3550df=this['_createSocketURL'](_0x3e6030),_0x2868e1=this[_0x134ad9(0x1f7)][_0x134ad9(0xf6)](_0x3550df);return this[_0x134ad9(0x44f)]=_0x2868e1,_0x2868e1;}async[_0x4478c1(0xbd)](){const _0x4e6fc2=_0x4478c1;var _0x18a832,_0x2d5c43;try{const _0x43ffec=(_0x2d5c43=(_0x18a832=this[_0x4e6fc2(0x36c)])!=null?_0x18a832:this[_0x4e6fc2(0x44f)])!=null?_0x2d5c43:await this[_0x4e6fc2(0x11d)]();if(_0x43ffec){const _0x4baa73=_0x43ffec['send'];_0x43ffec[_0x4e6fc2(0x51b)]=_0x381b2b=>(this[_0x4e6fc2(0x235)](),_0x4baa73[_0x4e6fc2(0x52c)](_0x43ffec,[_0x381b2b])),_0x43ffec[_0x4e6fc2(0x505)]['subscribe'](_0x25953f=>this[_0x4e6fc2(0x50b)](_0x43ffec,_0x25953f)),_0x43ffec['error$'][_0x4e6fc2(0x4c4)](_0x58132b[_0x4e6fc2(0x135)](0x1))[_0x4e6fc2(0x3aa)](_0x5a1b96=>this['_logService']['error'](_0x4e6fc2(0x37e),_0x5a1b96)),_0x43ffec[_0x4e6fc2(0x4b8)][_0x4e6fc2(0x4c4)](_0x58132b['take'](0x1))[_0x4e6fc2(0x3aa)](()=>{const _0x5028df=_0x4e6fc2;this[_0x5028df(0x124)](_0x43ffec);}),_0x43ffec['close$'][_0x4e6fc2(0x4c4)](_0x58132b[_0x4e6fc2(0x135)](0x1))[_0x4e6fc2(0x3aa)](_0x3765fe=>{const _0x46829b=_0x4e6fc2;this['_logService'][_0x46829b(0x1d9)](_0x46829b(0x4c0),_0x46829b(0x10e),_0x3765fe),this[_0x46829b(0x1b2)]();});}}catch(_0x590aa0){this['_logService'][_0x4e6fc2(0x17c)](_0x590aa0),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x1da90f){const _0x37b019=_0x4478c1;this[_0x37b019(0x4c1)][_0x37b019(0x1d9)](_0x37b019(0x4c0),_0x37b019(0x20c)),_0x1da90f['send']({'cmd':_0x33d34c[_0x37b019(0x136)]}),this['_rescheduleHeartbeat']();}[_0x4478c1(0x132)](){const _0x55c40b=_0x4478c1;window[_0x55c40b(0x51e)](_0x55c40b(0x42b),()=>this[_0x55c40b(0x542)]());}[_0x4478c1(0x542)](){const _0x4f6019=_0x4478c1;this[_0x4f6019(0x549)]=!0x1,this[_0x4f6019(0x44f)]=null,this[_0x4f6019(0x425)]['next'](_0x417df1[_0x4f6019(0x423)]),this[_0x4f6019(0x383)]['next'](null),this[_0x4f6019(0x4dc)](),this[_0x4f6019(0x102)]();}[_0x4478c1(0x1b2)](){const _0x34454a=_0x4478c1;var _0x44fb23;this[_0x34454a(0x542)](),this['_retryCount']<((_0x44fb23=this[_0x34454a(0x17a)][_0x34454a(0x1d4)](_0x33c86c))!=null?_0x44fb23:0x3)?(this[_0x34454a(0x183)][_0x34454a(0x26f)]({'key':_0x34454a(0x467),'type':_0x39c661[_0x34454a(0x1fe)][_0x34454a(0x4b0)],'content':this['_localeService']['t'](_0x34454a(0xd5))}),this[_0x34454a(0x227)]()):this[_0x34454a(0x183)][_0x34454a(0x26f)]({'key':_0x34454a(0x467),'type':_0x39c661[_0x34454a(0x1fe)][_0x34454a(0x22f)],'content':this['_localeService']['t'](_0x34454a(0x574))});}['_listenToOnlineEvent'](){const _0x39a6b3=_0x4478c1,_0x4a564a=()=>{const _0x43da2d=_0x406b;this[_0x43da2d(0x36c)]||this[_0x43da2d(0x430)]();},_0x253187=()=>{const _0x2f5ed8=_0x406b;this[_0x2f5ed8(0x36c)]||document[_0x2f5ed8(0x1c5)]===_0x2f5ed8(0x56d)||this['reconnect']();};window[_0x39a6b3(0x51e)](_0x39a6b3(0x414),_0x4a564a),document[_0x39a6b3(0x51e)](_0x39a6b3(0x275),_0x253187);}[_0x4478c1(0x227)](){const _0x2ce1a7=_0x4478c1;var _0x35de28;const _0x5783f4=this[_0x2ce1a7(0x55f)],_0x666d87=this['_configService']['getConfig'](_0x52a52c),_0x44c308=_0x5783f4===0x0?0x0:((_0x35de28=_0x666d87==null?void 0x0:_0x666d87['retryConnectingInterval'])!=null?_0x35de28:0x4e20)*0x2**_0x5783f4;this[_0x2ce1a7(0x501)]=window[_0x2ce1a7(0x283)](()=>{const _0x2cf5fd=_0x2ce1a7;clearTimeout(this['_retryConnectingTimer']),this[_0x2cf5fd(0x501)]=null,this[_0x2cf5fd(0xbd)]();},_0x44c308),this[_0x2ce1a7(0x55f)]+=0x1;}[_0x4478c1(0x50b)](_0x55be74,_0x1d16dd){const _0x3dbc23=_0x4478c1,{cmd:_0x18d388}=_0x1d16dd;_0x18d388===_0x33d34c[_0x3dbc23(0x136)]&&!this[_0x3dbc23(0x549)]&&(_0x55be74[_0x3dbc23(0x10d)]=_0x1d16dd[_0x3dbc23(0x2d6)][_0x3dbc23(0x10d)],this[_0x3dbc23(0x383)][_0x3dbc23(0xdb)](_0x55be74),this[_0x3dbc23(0x425)][_0x3dbc23(0xdb)](_0x417df1[_0x3dbc23(0x150)]),this['_socketReady']=!0x0,this[_0x3dbc23(0x44f)]=null),_0x18d388===_0x33d34c[_0x3dbc23(0x2b8)]&&this[_0x3dbc23(0x4dc)](),this[_0x3dbc23(0x235)]();}['_rescheduleHeartbeat'](){const _0x5c5b8c=_0x4478c1;var _0x43949d;this[_0x5c5b8c(0x102)](),this['_sendHeartbeatTimer']=window['setTimeout'](()=>this[_0x5c5b8c(0x176)](),(_0x43949d=this[_0x5c5b8c(0x17a)][_0x5c5b8c(0x1d4)](_0x475bfc))!=null?_0x43949d:0x7530);}[_0x4478c1(0x176)](){const _0x298b89=_0x4478c1;this[_0x298b89(0x36c)][_0x298b89(0x51b)]({'cmd':_0x33d34c[_0x298b89(0x2b8)]}),this[_0x298b89(0xb5)]();}[_0x4478c1(0xb5)](){const _0x510253=_0x4478c1;var _0x5503b3;this['_timeoutTimer']=window[_0x510253(0x283)](()=>this[_0x510253(0x1b2)](),(_0x5503b3=this[_0x510253(0x17a)][_0x510253(0x1d4)](_0x17f79b))!=null?_0x5503b3:0x4e20);}[_0x4478c1(0x102)](){const _0x5e1973=_0x4478c1;this[_0x5e1973(0x2d4)]!=null&&(clearTimeout(this[_0x5e1973(0x2d4)]),this[_0x5e1973(0x2d4)]=null);}[_0x4478c1(0x4dc)](){const _0x194a91=_0x4478c1;this[_0x194a91(0x552)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x194a91(0x552)]=null);}},_0x1191ba[_0x4478c1(0x2b7)]=_0x459bd9([_0x58593d(0x0,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84['Injector'])),_0x58593d(0x1,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x3ff)])),_0x58593d(0x2,_0xa35fb[_0x4478c1(0x12e)]),_0x58593d(0x3,_0x3c1a84[_0x4478c1(0x4b9)]),_0x58593d(0x4,_0x3c1a84[_0x4478c1(0x56b)]),_0x58593d(0x5,_0x1ba3ea),_0x58593d(0x6,_0x3c1a84['Inject'](_0x30a9e9[_0x4478c1(0x2d2)]))],_0x1191ba[_0x4478c1(0x2b7)]);const _0x405018=[];for(let _0x5467ad=0x0;_0x5467ad<0x100;++_0x5467ad)_0x405018[_0x4478c1(0x41b)]((_0x5467ad+0x100)[_0x4478c1(0x397)](0x10)[_0x4478c1(0x29e)](0x1));function _0x39de37(_0xf27150,_0xb3561a=0x0){const _0x3f4e62=_0x4478c1;return(_0x405018[_0xf27150[_0xb3561a+0x0]]+_0x405018[_0xf27150[_0xb3561a+0x1]]+_0x405018[_0xf27150[_0xb3561a+0x2]]+_0x405018[_0xf27150[_0xb3561a+0x3]]+'-'+_0x405018[_0xf27150[_0xb3561a+0x4]]+_0x405018[_0xf27150[_0xb3561a+0x5]]+'-'+_0x405018[_0xf27150[_0xb3561a+0x6]]+_0x405018[_0xf27150[_0xb3561a+0x7]]+'-'+_0x405018[_0xf27150[_0xb3561a+0x8]]+_0x405018[_0xf27150[_0xb3561a+0x9]]+'-'+_0x405018[_0xf27150[_0xb3561a+0xa]]+_0x405018[_0xf27150[_0xb3561a+0xb]]+_0x405018[_0xf27150[_0xb3561a+0xc]]+_0x405018[_0xf27150[_0xb3561a+0xd]]+_0x405018[_0xf27150[_0xb3561a+0xe]]+_0x405018[_0xf27150[_0xb3561a+0xf]])[_0x3f4e62(0x433)]();}let _0x18a943;const _0x2b370e=new Uint8Array(0x10);function _0x244362(){const _0xa428a4=_0x4478c1;if(!_0x18a943){if(typeof crypto>'u'||!crypto[_0xa428a4(0xf4)])throw new Error(_0xa428a4(0x160));_0x18a943=crypto[_0xa428a4(0xf4)]['bind'](crypto);}return _0x18a943(_0x2b370e);}const _0x375d3f={'randomUUID':typeof crypto<'u'&&crypto[_0x4478c1(0x353)]&&crypto[_0x4478c1(0x353)]['bind'](crypto)};function _0x1ad90a(_0x4a40b5,_0x576a5b,_0x2a8aa4){const _0x47b46b=_0x4478c1;if(_0x375d3f['randomUUID']&&!_0x576a5b&&!_0x4a40b5)return _0x375d3f[_0x47b46b(0x353)]();_0x4a40b5=_0x4a40b5||{};const _0x3a5938=_0x4a40b5[_0x47b46b(0x144)]||(_0x4a40b5[_0x47b46b(0x1c3)]||_0x244362)();return _0x3a5938[0x6]=_0x3a5938[0x6]&0xf|0x40,_0x3a5938[0x8]=_0x3a5938[0x8]&0x3f|0x80,_0x39de37(_0x3a5938);}var _0x5c42e9=Object[_0x4478c1(0x19b)],_0x34ef4c=Object['getOwnPropertyDescriptor'],_0x138258=(_0x12ae7d,_0x6e6f3e,_0x47f930,_0x13dd77)=>{for(var _0x4b6a08=_0x13dd77>0x1?void 0x0:_0x13dd77?_0x34ef4c(_0x6e6f3e,_0x47f930):_0x6e6f3e,_0x2c6314=_0x12ae7d['length']-0x1,_0xb492a9;_0x2c6314>=0x0;_0x2c6314--)(_0xb492a9=_0x12ae7d[_0x2c6314])&&(_0x4b6a08=(_0x13dd77?_0xb492a9(_0x6e6f3e,_0x47f930,_0x4b6a08):_0xb492a9(_0x4b6a08))||_0x4b6a08);return _0x13dd77&&_0x4b6a08&&_0x5c42e9(_0x6e6f3e,_0x47f930,_0x4b6a08),_0x4b6a08;},_0x45b372=(_0x38f239,_0x2430e0)=>(_0x3e5039,_0x306a19)=>_0x2430e0(_0x3e5039,_0x306a19,_0x38f239);let _0xdec374=class{constructor(_0x34f4a9,_0x58c70c,_0x332eb0){const _0x374187=_0x4478c1;this['_injector']=_0x34f4a9,this[_0x374187(0x56c)]=_0x58c70c,this[_0x374187(0x180)]=_0x332eb0;}[_0x4478c1(0x2b1)](_0x2d9471){const _0x1a0373=_0x4478c1;this[_0x1a0373(0x2bf)](_0x2d9471),this[_0x1a0373(0x253)](_0x2d9471);}[_0x4478c1(0x566)](_0x3216e0){const _0x485cb8=_0x4478c1,{unitID:_0x16631f}=_0x3216e0,_0x3f97cb=this[_0x485cb8(0x180)][_0x485cb8(0x269)](_0x16631f)[_0x485cb8(0x3b5)](_0x488d74[_0x485cb8(0x3c3)]),{redoCache:_0x53f315}=_0x3f97cb[_0x485cb8(0x281)]();if(_0x53f315[_0x485cb8(0x315)]===0x0)return _0x3216e0;let _0x5ac15d=_0x3c1a84[_0x485cb8(0x442)][_0x485cb8(0x24a)](_0x3216e0['mutations'][0x0]);for(let _0x54d377=0x0;_0x54d377<_0x53f315[_0x485cb8(0x315)];_0x54d377++){const _0x8e0419={'id':_0x485cb8(0x44a),'params':{..._0x53f315[_0x54d377]}},_0x2e06a8=this['_transformService'][_0x485cb8(0x3f6)](_0x5ac15d,_0x8e0419,!0x1);if(_0xa820f[_0x485cb8(0xd0)](_0x2e06a8))throw _0x2e06a8[_0x485cb8(0x17c)];_0x5ac15d=_0x2e06a8[_0x485cb8(0x450)];}return{..._0x3c1a84[_0x485cb8(0x442)][_0x485cb8(0x24a)](_0x3216e0),'mutations':[_0x5ac15d]};}[_0x4478c1(0x2bf)](_0x3dd028){const _0x45ac43=_0x4478c1,{unitID:_0x10c054}=_0x3dd028,_0x15648e=this[_0x45ac43(0x180)][_0x45ac43(0x269)](_0x10c054)[_0x45ac43(0x3b5)](_0x488d74['DocIMEInputManagerService']),{undoCache:_0x1de10e,redoCache:_0x11c5d4}=_0x15648e['getUndoRedoMutationParamsCache']();if(_0x1de10e['length']===0x0||_0x11c5d4['length']===0x0)return;const _0x15b191=[],_0x139914=[];let _0x39a050=_0x3c1a84['Tools']['deepClone'](_0x3dd028[_0x45ac43(0x213)][0x0]),_0x1db10c=_0x3c1a84[_0x45ac43(0x442)][_0x45ac43(0x24a)](_0x3dd028[_0x45ac43(0x213)][0x0]);for(let _0xd13fb0=_0x1de10e[_0x45ac43(0x315)]-0x1;_0xd13fb0>=0x0;_0xd13fb0--){const _0x5c22c4={'id':_0x45ac43(0x44a),'params':{..._0x1de10e[_0xd13fb0]}},_0xf7865f={'id':_0x45ac43(0x44a),'params':{..._0x11c5d4[_0xd13fb0]}},_0x50aebd=this['_transformService'][_0x45ac43(0x3f6)](_0x39a050,_0x5c22c4,!0x1),_0x362422=this[_0x45ac43(0x56c)][_0x45ac43(0x3f6)](_0x1db10c,_0xf7865f,!0x1);if(_0xa820f[_0x45ac43(0xd0)](_0x50aebd))throw _0x50aebd[_0x45ac43(0x17c)];if(_0xa820f[_0x45ac43(0xd0)](_0x362422))throw _0x362422[_0x45ac43(0x17c)];_0x15b191[_0x45ac43(0x401)](_0x50aebd[_0x45ac43(0x1cb)][_0x45ac43(0x1a8)]),_0x139914['unshift'](_0x362422[_0x45ac43(0x1cb)]['params']),_0x39a050=_0x50aebd['m1Prime'],_0x1db10c=_0x362422['m1Prime'];}_0x15648e[_0x45ac43(0x41e)]({'undoCache':_0x15b191,'redoCache':_0x139914});}[_0x4478c1(0x253)](_0x5931f4){const _0x2daf63=_0x4478c1,{unitID:_0x6701dd}=_0x5931f4,_0x14b55d=this[_0x2daf63(0x180)]['getRenderById'](_0x6701dd)['with'](_0x488d74[_0x2daf63(0x3c3)]),_0x49ebf4=_0x14b55d['getActiveRange']();if(_0x49ebf4==null)return;const _0x27c406=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5931f4['unitID'],'actions':null,'textRanges':[_0x49ebf4]}}],_0x27aaa8=this[_0x2daf63(0x56c)][_0x2daf63(0x3d2)](_0x5931f4,_0x27c406);if(!_0xa820f['isTransformMutationsWithChangesetSuccess'](_0x27aaa8))throw _0x27aaa8['error'];const _0x1d6368=_0x27aaa8[_0x2daf63(0x1cb)][0x0][_0x2daf63(0x1a8)][_0x2daf63(0x3dd)];Array['isArray'](_0x1d6368)&&_0x1d6368[_0x2daf63(0x315)]&&_0x14b55d['setActiveRange'](_0x1d6368[0x0]);}};_0xdec374=_0x138258([_0x45b372(0x0,_0x3c1a84['Inject'](_0x3c1a84[_0x4478c1(0x30e)])),_0x45b372(0x1,_0xa820f[_0x4478c1(0x46b)]),_0x45b372(0x2,_0x591f66['IRenderManagerService'])],_0xdec374);var _0x17b737=Object[_0x4478c1(0x19b)],_0xcb99e9=Object[_0x4478c1(0x4d8)],_0xe7a7c1=(_0xeeeab4,_0x2312c4,_0x149665,_0x5f704)=>{const _0x394196=_0x4478c1;for(var _0x13f77e=_0x5f704>0x1?void 0x0:_0x5f704?_0xcb99e9(_0x2312c4,_0x149665):_0x2312c4,_0x1c7881=_0xeeeab4[_0x394196(0x315)]-0x1,_0x4a23a6;_0x1c7881>=0x0;_0x1c7881--)(_0x4a23a6=_0xeeeab4[_0x1c7881])&&(_0x13f77e=(_0x5f704?_0x4a23a6(_0x2312c4,_0x149665,_0x13f77e):_0x4a23a6(_0x13f77e))||_0x13f77e);return _0x5f704&&_0x13f77e&&_0x17b737(_0x2312c4,_0x149665,_0x13f77e),_0x13f77e;},_0x262130=(_0x47f24b,_0x4db5cb)=>(_0x2a2ca8,_0x25f9c2)=>_0x4db5cb(_0x2a2ca8,_0x25f9c2,_0x47f24b);_0x1191ba[_0x4478c1(0x1cd)]=class extends _0x3c1a84[_0x4478c1(0x4ec)]{constructor(_0x178d34,_0x4e3f1c,_0x1d5747,_0x491458,_0x445be4){const _0x36d07a=_0x4478c1;super(),_0xa880cb(this,_0x36d07a(0x161),new Map()),_0xa880cb(this,_0x36d07a(0x502),new Map()),_0xa880cb(this,_0x36d07a(0x193),!0x1),(this[_0x36d07a(0x17a)]=_0x178d34,this[_0x36d07a(0x4ee)]=_0x4e3f1c,this[_0x36d07a(0x41d)]=_0x1d5747,this[_0x36d07a(0x343)]=_0x491458,this[_0x36d07a(0x403)]=_0x445be4,this[_0x36d07a(0x174)]());}[_0x4478c1(0x10f)](){const _0x4280e4=_0x4478c1;this[_0x4280e4(0x193)]=!0x0;}[_0x4478c1(0x273)](){const _0x24eb96=_0x4478c1;this[_0x24eb96(0x193)]=!0x1;}['dispose'](){const _0x511caa=_0x4478c1;this[_0x511caa(0x304)]()[_0x511caa(0x322)](()=>super[_0x511caa(0x4e7)]());}async[_0x4478c1(0xb0)](_0x1abc7b){const _0x208783=_0x4478c1;return this[_0x208783(0x193)]?null:this[_0x208783(0x4ee)][_0x208783(0x2b3)](_0x210e55(_0x1abc7b));}async[_0x4478c1(0x224)](_0x41eeb0,_0x1605c0){const _0xd579d0=_0x4478c1;return!!this[_0xd579d0(0x4ee)][_0xd579d0(0x4e5)](_0x41eeb0,_0x1605c0);}['updateOfflineData'](_0x413db9,_0x116894,_0x5930a6,_0x330982){const _0xbf348f=_0x4478c1,_0x5d9fbd=this[_0xbf348f(0x403)][_0xbf348f(0x385)](_0x413db9);this['_cachedData']['set'](_0x413db9,{'unitID':_0x413db9,'type':_0x116894,'awaitingChangeset':_0x5930a6,'mutations':_0x330982,'rev':_0x5d9fbd}),this[_0xbf348f(0x502)]['has'](_0x413db9)||this[_0xbf348f(0x170)](_0x413db9);}[_0x4478c1(0x170)](_0xb5a5a5){const _0x3f0d60=_0x4478c1,_0x390e4e=this[_0x3f0d60(0x13e)]();_0x390e4e===0x0?this[_0x3f0d60(0x455)](_0xb5a5a5):this['_saveTaskMap'][_0x3f0d60(0x53e)](_0xb5a5a5,setTimeout(()=>this[_0x3f0d60(0x455)](_0xb5a5a5),_0x390e4e));}[_0x4478c1(0x13e)](){const _0x4e80b4=_0x4478c1;var _0xa42217;return(_0xa42217=this[_0x4e80b4(0x17a)]['getConfig'](_0x4c0f82))!=null?_0xa42217:0x3e8;}['_saveCache'](_0x57ab4d){const _0x4cc4e0=_0x4478c1,_0x3cc376=this[_0x4cc4e0(0x502)]['get'](_0x57ab4d);return _0x3cc376!==void 0x0&&window[_0x4cc4e0(0x428)](_0x3cc376),this[_0x4cc4e0(0x4ee)][_0x4cc4e0(0x4e5)](_0x210e55(_0x57ab4d),this[_0x4cc4e0(0x161)][_0x4cc4e0(0x115)](_0x57ab4d))['then'](()=>this[_0x4cc4e0(0x502)]['delete'](_0x57ab4d));}async[_0x4478c1(0x304)](){const _0x1c3a56=_0x4478c1,_0x4c495d=[];this[_0x1c3a56(0x502)][_0x1c3a56(0x3b6)]((_0x385921,_0xf7ddab)=>{const _0x29fdc1=_0x1c3a56;window[_0x29fdc1(0x428)](_0x385921),_0x4c495d['push'](this[_0x29fdc1(0x455)](_0xf7ddab)['then'](()=>{const _0x4f85ad=_0x29fdc1;this[_0x4f85ad(0x502)][_0x4f85ad(0x354)](_0xf7ddab);}));}),await Promise[_0x1c3a56(0x48e)](_0x4c495d);}[_0x4478c1(0x174)](){const _0x261c50=_0x4478c1;this[_0x261c50(0xe5)](this[_0x261c50(0x41d)]['registerBeforeClose'](()=>{const _0x1c6d68=_0x261c50;if(this[_0x1c6d68(0x502)][_0x1c6d68(0x175)])return this[_0x1c6d68(0x343)]['t'](_0x1c6d68(0x50a));}));}},_0x1191ba[_0x4478c1(0x1cd)]=_0xe7a7c1([_0x262130(0x0,_0x3c1a84[_0x4478c1(0x56b)]),_0x262130(0x1,_0x3c1a84[_0x4478c1(0x1b4)]),_0x262130(0x2,_0xa35fb[_0x4478c1(0x2ba)]),_0x262130(0x3,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x3ff)])),_0x262130(0x4,_0x3c1a84['Inject'](_0xa820f['RevisionService']))],_0x1191ba[_0x4478c1(0x1cd)]);function _0x210e55(_0x2c39f9){const _0x2b2284=_0x4478c1;return _0x2b2284(0x4a3)+_0x2c39f9;}var _0x29b20e=Object[_0x4478c1(0x19b)],_0x12df90=Object[_0x4478c1(0x4d8)],_0x57df11=(_0x4ecfce,_0x2d781a,_0x56a8bc,_0x5671b4)=>{for(var _0x1e93c3=_0x5671b4>0x1?void 0x0:_0x5671b4?_0x12df90(_0x2d781a,_0x56a8bc):_0x2d781a,_0x12756f=_0x4ecfce['length']-0x1,_0x86e76a;_0x12756f>=0x0;_0x12756f--)(_0x86e76a=_0x4ecfce[_0x12756f])&&(_0x1e93c3=(_0x5671b4?_0x86e76a(_0x2d781a,_0x56a8bc,_0x1e93c3):_0x86e76a(_0x1e93c3))||_0x1e93c3);return _0x5671b4&&_0x1e93c3&&_0x29b20e(_0x2d781a,_0x56a8bc,_0x1e93c3),_0x1e93c3;},_0x3df43c=(_0x504d8,_0x324cb7)=>(_0x537704,_0x5bcd0a)=>_0x324cb7(_0x537704,_0x5bcd0a,_0x504d8);function _0x3a53f0(_0x35da96){const _0x56d28a=_0x4478c1,{unitID:_0x4ac237,mutations:_0x3a7adc}=_0x35da96;return{'unitId':_0x4ac237,'subUnitId':_0x3a7adc[0x0][_0x56d28a(0x1a8)]['subUnitId']};}let _0x3f146d=class{constructor(_0x474433,_0x564c85,_0x399a79){const _0x457a24=_0x4478c1;this['_injector']=_0x474433,this[_0x457a24(0x56c)]=_0x564c85,this[_0x457a24(0xfe)]=_0x399a79;}['transformSelections'](_0x2ea13c){const _0x2d4282=_0x4478c1;var _0x912780,_0x14f893,_0x2beecf,_0x524b87;const _0x530fe4=this[_0x2d4282(0x391)][_0x2d4282(0x115)](_0x16d7e8[_0x2d4282(0x412)]),{unitId:_0x34b5f5,subUnitId:_0x177669}=_0x3a53f0(_0x2ea13c),_0x27c9d8=_0x530fe4['getWorkbookSelections'](_0x34b5f5)[_0x2d4282(0x303)](),_0x126d1f=(_0x14f893=(_0x912780=this['_instanceService'][_0x2d4282(0x3ba)](_0x34b5f5))==null?void 0x0:_0x912780[_0x2d4282(0x440)]())==null?void 0x0:_0x14f893['getSheetId']();if(_0x27c9d8[_0x2d4282(0x315)]===0x0||!_0x34b5f5||!_0x177669)return;const _0x49b523=[{'id':_0x16d7e8[_0x2d4282(0x1f9)]['id'],'params':{'unitId':_0x34b5f5,'subUnitId':_0x126d1f,'selections':_0x3c1a84[_0x2d4282(0x442)][_0x2d4282(0x24a)](_0x27c9d8)}}],_0x260877=this['_transformService']['transformMutationsWithChangeset'](_0x2ea13c,_0x49b523);if(!_0xa820f['isTransformMutationsWithChangesetSuccess'](_0x260877))throw _0x260877[_0x2d4282(0x17c)];const _0x3603c9=(_0x524b87=(_0x2beecf=_0x260877[_0x2d4282(0x1cb)][0x0])==null?void 0x0:_0x2beecf['params'])==null?void 0x0:_0x524b87['selections'];if(Array['isArray'](_0x3603c9)&&_0x3603c9[_0x2d4282(0x315)]){if(_0x3603c9[_0x2d4282(0x315)]===_0x49b523[0x0][_0x2d4282(0x1a8)][_0x2d4282(0x4ce)]['length']&&_0x3603c9['every']((_0x59f6d7,_0x1c441d)=>_0x3c1a84[_0x2d4282(0x1ad)][_0x2d4282(0x302)](_0x59f6d7['range'],_0x49b523[0x0][_0x2d4282(0x1a8)]['selections'][_0x1c441d][_0x2d4282(0x3a0)])))return;this[_0x2d4282(0x391)]['get'](_0x3c1a84[_0x2d4282(0x3fd)])[_0x2d4282(0x3a3)](_0x16d7e8[_0x2d4282(0x1f9)]['id'],{'unitId':_0x34b5f5,'subUnitId':_0x126d1f,'selections':_0x3603c9});}}};_0x3f146d=_0x57df11([_0x3df43c(0x0,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x30e)])),_0x3df43c(0x1,_0xa820f[_0x4478c1(0x46b)]),_0x3df43c(0x2,_0x3c1a84[_0x4478c1(0x3d5)])],_0x3f146d);const _0x276cf0=_0x3c1a84['createIdentifier'](_0x4478c1(0x50c));var _0x49ccfb=(_0x452f90=>(_0x452f90[_0x452f90[_0x4478c1(0x50f)]=0x0]=_0x4478c1(0x50f),_0x452f90[_0x452f90[_0x4478c1(0x546)]=0x1]=_0x4478c1(0x546),_0x452f90))(_0x49ccfb||{});const _0x3969f1=0x7530,_0x644d4f=_0x4478c1(0x2fb);class _0x6d1a3b extends _0x3c1a84[_0x4478c1(0x4ec)]{constructor(){const _0x3bb047=_0x4478c1;super(),_0xa880cb(this,_0x3bb047(0x504),_0x3c1a84['Tools'][_0x3bb047(0x30a)]()),_0xa880cb(this,_0x3bb047(0x1da),new Set()),_0xa880cb(this,'_unitOnClients',new Map()),_0xa880cb(this,'_heartbeatTimer',null),_0xa880cb(this,_0x3bb047(0xc5),new Map()),_0xa880cb(this,_0x3bb047(0x522),new Map()),this[_0x3bb047(0x12b)]();}[_0x4478c1(0x4e7)](){const _0x3bcefb=_0x4478c1;super[_0x3bcefb(0x4e7)](),this[_0x3bcefb(0xc5)]['forEach']((_0x17907a,_0x55482a)=>this['_removeClearOtherTimer'](_0x55482a)),this[_0x3bcefb(0x3b9)]&&window[_0x3bcefb(0x2d1)](this[_0x3bcefb(0x3b9)]);}['getUnitStatus$'](_0x9cf695){const _0x335e64=_0x4478c1;return this[_0x335e64(0xae)](_0x9cf695)[_0x335e64(0x4c4)](_0x818dd8['distinctUntilChanged']());}[_0x4478c1(0x2a3)](_0x2e1e52){const _0x11f86f=_0x4478c1;this[_0x11f86f(0x1da)][_0x11f86f(0x175)]===0x0&&this[_0x11f86f(0x424)](),this['_selfUnitIDs'][_0x11f86f(0x560)](_0x2e1e52),this['_send']({'type':0x0,'memberID':this[_0x11f86f(0x504)],'unitIDs':[_0x2e1e52],'isForwarded':!0x1});}[_0x4478c1(0x4e9)](_0xf7f0ae){const _0x24df44=_0x4478c1;this[_0x24df44(0x1da)][_0x24df44(0x354)](_0xf7f0ae),this[_0x24df44(0x1da)][_0x24df44(0x175)]===0x0&&this[_0x24df44(0x3b9)]&&window[_0x24df44(0x2d1)](this[_0x24df44(0x3b9)]);}[_0x4478c1(0x12b)](){const _0x47d276=_0x4478c1;this[_0x47d276(0xe5)](_0x3c1a84[_0x47d276(0xde)](_0x818dd8[_0x47d276(0x217)](window,_0x47d276(0x45a))[_0x47d276(0x3aa)](_0x3327fe=>{const _0xb662be=_0x47d276;if(_0x3327fe['key']!==_0x644d4f||!_0x3327fe[_0xb662be(0x26b)])return;const _0x2e9faa=JSON['parse'](_0x3327fe[_0xb662be(0x26b)]);this['_handleEvent'](_0x2e9faa);}))),window[_0x47d276(0x51e)](_0x47d276(0x211),()=>this[_0x47d276(0x1ce)]({'type':0x1,'memberID':this[_0x47d276(0x504)],'unitIDs':Array[_0x47d276(0x301)](this['_selfUnitIDs'])}));}[_0x4478c1(0x49e)](_0x439abe){const _0x52de5a=_0x4478c1;switch(_0x439abe[_0x52de5a(0x184)]){case 0x0:this[_0x52de5a(0x3cf)](_0x439abe);break;case 0x1:this[_0x52de5a(0x1cc)](_0x439abe);break;case 0x2:this[_0x52de5a(0x13f)](_0x439abe);break;}}[_0x4478c1(0x3cf)](_0x224f30){const _0x28db6b=_0x4478c1,{unitIDs:_0xd73938,memberID:_0x49dc13,isForwarded:_0x25dade}=_0x224f30;_0xd73938['forEach'](_0x547281=>{const _0x825ac1=_0x406b;if(!_0x25dade&&this[_0x825ac1(0x28a)][_0x825ac1(0x431)](_0x547281)&&this[_0x825ac1(0xae)](_0x547281)[_0x825ac1(0xdb)](0x1),!this[_0x825ac1(0x28a)][_0x825ac1(0x431)](_0x547281)||!this['_unitOnClients'][_0x825ac1(0x115)](_0x547281)[_0x825ac1(0x431)](_0x49dc13)){const _0x469031=this[_0x825ac1(0x28a)]['get'](_0x547281)||new Set();_0x469031[_0x825ac1(0x560)](_0x49dc13),this[_0x825ac1(0x28a)][_0x825ac1(0x53e)](_0x547281,_0x469031),this[_0x825ac1(0x435)](_0x49dc13);}}),_0x25dade||this[_0x28db6b(0x1ce)]({'type':0x0,'memberID':this[_0x28db6b(0x504)],'unitIDs':[...this[_0x28db6b(0x1da)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x1e1ea5){const _0x3505ee=_0x4478c1;this[_0x3505ee(0x244)](_0x1e1ea5);const _0x534aa9=window[_0x3505ee(0x283)](()=>{const _0x4a07dd=_0x3505ee;this[_0x4a07dd(0x28a)][_0x4a07dd(0x3b6)](_0x298824=>{_0x298824['delete'](_0x1e1ea5);});},_0x3969f1*0x2);this[_0x3505ee(0xc5)][_0x3505ee(0x53e)](_0x1e1ea5,_0x534aa9);}[_0x4478c1(0x244)](_0x45d9d2){const _0x4de28a=_0x4478c1;if(this['_clearOtherTimers']['has'](_0x45d9d2)){const _0x44bace=this[_0x4de28a(0xc5)][_0x4de28a(0x115)](_0x45d9d2);_0x44bace&&window[_0x4de28a(0x428)](_0x44bace),this['_clearOtherTimers'][_0x4de28a(0x53e)](_0x45d9d2,null);}}['_handleLeaveEvent'](_0x4cd77f){const _0xb9b01f=_0x4478c1,{memberID:_0x486613,unitIDs:_0x25e245}=_0x4cd77f;_0x25e245[_0xb9b01f(0x3b6)](_0x1b001b=>{const _0x56eeb6=_0xb9b01f;var _0x56ae97;const _0x305bf3=this[_0x56eeb6(0x28a)][_0x56eeb6(0x115)](_0x1b001b);_0x305bf3&&(_0x305bf3[_0x56eeb6(0x354)](_0x486613),(_0x56ae97=this[_0x56eeb6(0xae)](_0x1b001b))==null||_0x56ae97[_0x56eeb6(0xdb)](_0x305bf3[_0x56eeb6(0x175)]===0x0?0x0:0x1));}),this[_0xb9b01f(0x244)](_0x486613);}[_0x4478c1(0x13f)](_0x227cef){const _0x19d928=_0x4478c1;this[_0x19d928(0x435)](_0x227cef[_0x19d928(0x10d)]);}[_0x4478c1(0x1ce)](_0x3a7572){const _0x3593fd=_0x4478c1;localStorage[_0x3593fd(0x4e5)](_0x644d4f,JSON[_0x3593fd(0x571)](_0x3a7572));}['_scheduleHeartbeat'](){const _0xb495b2=_0x4478c1;this[_0xb495b2(0x3b9)]=window[_0xb495b2(0x4fa)](()=>{const _0x14032c=_0xb495b2;this[_0x14032c(0x1ce)]({'type':0x2,'memberID':this['_id']});},_0x3969f1);}[_0x4478c1(0xae)](_0x113121){const _0xce7ffa=_0x4478c1;return this[_0xce7ffa(0x522)][_0xce7ffa(0x431)](_0x113121)||this[_0xce7ffa(0x522)]['set'](_0x113121,new _0x818dd8['BehaviorSubject'](0x0)),this[_0xce7ffa(0x522)]['get'](_0x113121);}}var _0x464ab2=Object[_0x4478c1(0x19b)],_0x46d949=Object[_0x4478c1(0x4d8)],_0x2a526b=(_0x3dd17d,_0x27a08c,_0x3b6df9,_0x39dd1a)=>{for(var _0xb0bb5d=_0x39dd1a>0x1?void 0x0:_0x39dd1a?_0x46d949(_0x27a08c,_0x3b6df9):_0x27a08c,_0x1c7d2c=_0x3dd17d['length']-0x1,_0x35331e;_0x1c7d2c>=0x0;_0x1c7d2c--)(_0x35331e=_0x3dd17d[_0x1c7d2c])&&(_0xb0bb5d=(_0x39dd1a?_0x35331e(_0x27a08c,_0x3b6df9,_0xb0bb5d):_0x35331e(_0xb0bb5d))||_0xb0bb5d);return _0x39dd1a&&_0xb0bb5d&&_0x464ab2(_0x27a08c,_0x3b6df9,_0xb0bb5d),_0xb0bb5d;},_0x239337=(_0x5c32fa,_0x5c9644)=>(_0x4e89e3,_0xdefde9)=>_0x5c9644(_0x4e89e3,_0xdefde9,_0x5c32fa);let _0x4a0baf=class{constructor(_0x479091,_0x24527e,_0x3be8cb){const _0x4aac93=_0x4478c1;this['_injector']=_0x479091,this[_0x4aac93(0x56c)]=_0x24527e,this[_0x4aac93(0x340)]=_0x3be8cb;}[_0x4478c1(0x4eb)](_0x294307){const _0x24365a=_0x4478c1;this[_0x24365a(0x248)](_0x294307);}['transformRemoteChangeset'](_0x12c9b2){const _0xb41df2=_0x4478c1,{unitID:_0x5d7f9b}=_0x12c9b2,{collaboration:_0x1a7ca9}=this[_0xb41df2(0x340)]['getStateCache'](_0x5d7f9b);if(_0x1a7ca9[_0xb41df2(0x315)]===0x0)return _0x12c9b2;let _0x5a45f5=_0x3c1a84['Tools'][_0xb41df2(0x24a)](_0x12c9b2[_0xb41df2(0x213)][0x0]);for(let _0x51fdf0=0x0;_0x51fdf0<_0x1a7ca9[_0xb41df2(0x315)];_0x51fdf0++){const _0x5bc89f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1a7ca9[_0x51fdf0][_0xb41df2(0x214)],..._0x1a7ca9[_0x51fdf0][_0xb41df2(0x4a1)]}},_0x110fe8=this['_transformService']['transformMutation'](_0x5a45f5,_0x5bc89f,!0x1);if(_0xa820f[_0xb41df2(0xd0)](_0x110fe8))throw _0x110fe8['error'];_0x5a45f5=_0x110fe8[_0xb41df2(0x450)];}return{..._0x3c1a84[_0xb41df2(0x442)][_0xb41df2(0x24a)](_0x12c9b2),'mutations':[_0x5a45f5]};}[_0x4478c1(0x248)](_0x265f7d){const _0x2d28b7=_0x4478c1,{unitID:_0x4540b7}=_0x265f7d,{history:_0x19af2a,collaboration:_0x48e990}=this[_0x2d28b7(0x340)]['getStateCache'](_0x4540b7);if(_0x19af2a[_0x2d28b7(0x315)]===0x0&&_0x48e990[_0x2d28b7(0x315)]===0x0)return;const _0x53912d=[],_0x4c684c=[];let _0x3187b1=_0x3c1a84[_0x2d28b7(0x442)][_0x2d28b7(0x24a)](_0x265f7d[_0x2d28b7(0x213)][0x0]),_0x571d59=_0x3c1a84['Tools']['deepClone'](_0x265f7d[_0x2d28b7(0x213)][0x0]);for(let _0x3068da=_0x19af2a['length']-0x1;_0x3068da>=0x0;_0x3068da--){const _0xdbd656={'id':_0x2d28b7(0x44a),'params':{'unitId':_0x19af2a[_0x3068da][_0x2d28b7(0x214)],..._0x19af2a[_0x3068da][_0x2d28b7(0x48b)]}},_0x217625={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x19af2a[_0x3068da][_0x2d28b7(0x214)],..._0x19af2a[_0x3068da]['redoState']}},_0x46e84c=this['_transformService'][_0x2d28b7(0x3f6)](_0x3187b1,_0xdbd656,!0x1),_0x2b7781=this[_0x2d28b7(0x56c)][_0x2d28b7(0x3f6)](_0x571d59,_0x217625,!0x1);if(_0xa820f[_0x2d28b7(0xd0)](_0x46e84c))throw _0x46e84c[_0x2d28b7(0x17c)];if(_0xa820f[_0x2d28b7(0xd0)](_0x2b7781))throw _0x2b7781[_0x2d28b7(0x17c)];_0x53912d[_0x2d28b7(0x401)]({..._0x19af2a[_0x3068da],'undoState':_0x46e84c[_0x2d28b7(0x1cb)][_0x2d28b7(0x1a8)],'redoState':_0x2b7781[_0x2d28b7(0x1cb)][_0x2d28b7(0x1a8)]}),_0x3187b1=_0x46e84c[_0x2d28b7(0x450)],_0x571d59=_0x2b7781[_0x2d28b7(0x450)];}_0x3187b1=_0x3c1a84[_0x2d28b7(0x442)][_0x2d28b7(0x24a)](_0x265f7d['mutations'][0x0]),_0x571d59=_0x3c1a84[_0x2d28b7(0x442)][_0x2d28b7(0x24a)](_0x265f7d[_0x2d28b7(0x213)][0x0]);for(let _0x3a6ee4=_0x48e990[_0x2d28b7(0x315)]-0x1;_0x3a6ee4>=0x0;_0x3a6ee4--){const _0x3b68f1={'id':_0x2d28b7(0x44a),'params':{'unitId':_0x48e990[_0x3a6ee4][_0x2d28b7(0x214)],..._0x48e990[_0x3a6ee4][_0x2d28b7(0x48b)]}},_0x48b3ee={'id':_0x2d28b7(0x44a),'params':{'unitId':_0x48e990[_0x3a6ee4]['unitId'],..._0x48e990[_0x3a6ee4][_0x2d28b7(0x4a1)]}},_0x10cda2=this['_transformService'][_0x2d28b7(0x3f6)](_0x3187b1,_0x3b68f1,!0x1),_0x3b1da9=this[_0x2d28b7(0x56c)][_0x2d28b7(0x3f6)](_0x571d59,_0x48b3ee,!0x1);if(_0xa820f[_0x2d28b7(0xd0)](_0x10cda2))throw _0x10cda2['error'];if(_0xa820f[_0x2d28b7(0xd0)](_0x3b1da9))throw _0x3b1da9[_0x2d28b7(0x17c)];_0x4c684c['unshift']({..._0x48e990[_0x3a6ee4],'undoState':_0x10cda2[_0x2d28b7(0x1cb)][_0x2d28b7(0x1a8)],'redoState':_0x3b1da9[_0x2d28b7(0x1cb)][_0x2d28b7(0x1a8)]}),_0x3187b1=_0x10cda2[_0x2d28b7(0x450)],_0x571d59=_0x3b1da9[_0x2d28b7(0x450)];}this[_0x2d28b7(0x340)][_0x2d28b7(0x54b)](_0x4540b7,{'history':_0x53912d,'collaboration':_0x4c684c});}};_0x4a0baf=_0x2a526b([_0x239337(0x0,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x30e)])),_0x239337(0x1,_0xa820f[_0x4478c1(0x46b)]),_0x239337(0x2,_0x3c1a84[_0x4478c1(0x3dc)](_0x488d74['DocStateChangeManagerService']))],_0x4a0baf);function _0x210716(_0x52c143){let _0x553884='';for(const _0x4ddbac of _0x52c143){const {startOffset:_0x35d64c,endOffset:_0x52b0d5,isActive:_0x583f77,rangeType:_0x483de1,segmentId:_0x513725,segmentPage:_0x51a207}=_0x4ddbac;_0x553884['length']&&(_0x553884+=','),_0x553884+=_0x35d64c+':'+_0x52b0d5+':'+(_0x583f77?'1':'0')+':'+_0x483de1+':'+_0x513725+':'+_0x51a207;}return _0x553884;}function _0x55561c(_0x2642f3){const _0x1850e9=_0x4478c1,_0x2aa88e=_0x2642f3[_0x1850e9(0x110)](','),_0x2ddc0d=[];for(const _0x2a6b37 of _0x2aa88e){const [_0x8a36ff,_0x5c186b,_0x5e204f,_0x490954,_0x1acd27,_0x317ded]=_0x2a6b37['split'](':');_0x2ddc0d[_0x1850e9(0x41b)]({'startOffset':Number(_0x8a36ff),'endOffset':Number(_0x5c186b),'collapsed':_0x8a36ff===_0x5c186b,'isActive':_0x5e204f==='1','rangeType':_0x490954===_0x3c1a84['DOC_RANGE_TYPE']['TEXT']?_0x3c1a84[_0x1850e9(0x239)]['TEXT']:_0x3c1a84['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x1acd27=='string'?String(_0x1acd27):'','segmentPage':Number(_0x317ded!=null?_0x317ded:-0x1)});}return _0x2ddc0d['some'](_0x5aeb93=>_0x5aeb93[_0x1850e9(0x2aa)])||(_0x2ddc0d[0x0][_0x1850e9(0x2aa)]=!0x0),_0x2ddc0d;}class _0x159dfb extends _0x3c1a84[_0x4478c1(0x2a0)]{constructor(){const _0x1664f5=_0x4478c1;super(...arguments),_0xa880cb(this,'_collabCursorState$',new _0x818dd8[(_0x1664f5(0x122))](null)),_0xa880cb(this,_0x1664f5(0x34e),this[_0x1664f5(0x364)][_0x1664f5(0xca)]());}[_0x4478c1(0xe0)](_0x4d3297){const _0x299c44=_0x4478c1,{unitID:_0x1739ab,memberID:_0xb25d8f,textRanges:_0x569e42}=_0x4d3297,_0xe187b3=_0x210716(_0x569e42);if(_0xe187b3==='')return;const _0x450868={'unitID':_0x1739ab,'memberID':_0xb25d8f,'selection':_0xe187b3};this[_0x299c44(0x364)][_0x299c44(0xdb)](_0x450868);}}var _0x859104=Object['defineProperty'],_0x4ec4ba=Object[_0x4478c1(0x4d8)],_0x28e415=(_0x33de1d,_0x139ff6,_0x13e041,_0x4a8859)=>{const _0x33a103=_0x4478c1;for(var _0x739b56=_0x4a8859>0x1?void 0x0:_0x4a8859?_0x4ec4ba(_0x139ff6,_0x13e041):_0x139ff6,_0x351647=_0x33de1d[_0x33a103(0x315)]-0x1,_0x4ed8fc;_0x351647>=0x0;_0x351647--)(_0x4ed8fc=_0x33de1d[_0x351647])&&(_0x739b56=(_0x4a8859?_0x4ed8fc(_0x139ff6,_0x13e041,_0x739b56):_0x4ed8fc(_0x739b56))||_0x739b56);return _0x4a8859&&_0x739b56&&_0x859104(_0x139ff6,_0x13e041,_0x739b56),_0x739b56;},_0x1761e2=(_0x56a6c0,_0x4ff643)=>(_0x4d285b,_0x223e81)=>_0x4ff643(_0x4d285b,_0x223e81,_0x56a6c0);let _0x3d4e9f=class{constructor(_0x5ab2ba,_0x140320){const _0x104738=_0x4478c1;this[_0x104738(0x391)]=_0x5ab2ba,this['_transformService']=_0x140320;}[_0x4478c1(0x237)](_0xe7db1){const _0x1fda77=_0x4478c1;var _0x3adaff;const _0x2c885a=this[_0x1fda77(0x391)][_0x1fda77(0x115)](_0x2a5ff4[_0x1fda77(0x1ac)]),_0x55fad4=(_0x3adaff=_0x2c885a['getDocRanges']())!=null?_0x3adaff:[];if(_0x55fad4[_0x1fda77(0x315)]===0x0)return;const _0x43ed84=_0xe7db1[_0x1fda77(0x2b0)],_0x46999c=[{'id':_0x1fda77(0x44a),'params':{'unitId':_0x43ed84,'actions':null,'textRanges':_0x55fad4}}],_0x5f350c=this[_0x1fda77(0x56c)][_0x1fda77(0x3d2)](_0xe7db1,_0x46999c);if(!_0xa820f[_0x1fda77(0x39e)](_0x5f350c))throw _0x5f350c[_0x1fda77(0x17c)];const _0x3d94e4=_0x5f350c[_0x1fda77(0x1cb)][0x0][_0x1fda77(0x1a8)][_0x1fda77(0x3dd)];Array[_0x1fda77(0x351)](_0x3d94e4)&&_0x3d94e4[_0x1fda77(0x315)]&&_0x2c885a[_0x1fda77(0x554)](_0x3d94e4,{'unitId':_0x43ed84,'subUnitId':_0x43ed84},!0x1);}};_0x3d4e9f=_0x28e415([_0x1761e2(0x0,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x30e)])),_0x1761e2(0x1,_0xa820f[_0x4478c1(0x46b)])],_0x3d4e9f);const _0x253309=new Set([_0x16d7e8[_0x4478c1(0x1e3)]['id']]);function _0x40589f(_0x45c5f4,_0xa52276,_0x4bebe1,_0x8db731,_0x3e30df){const _0x22ae3d=_0x4478c1;var _0x45489e,_0x1e4be4,_0x503740,_0x237498;const _0x47b4e9=[];for(const _0x4a4d41 of _0x45c5f4)if(_0x253309[_0x22ae3d(0x431)](_0x4a4d41['id'])){if(_0x47b4e9[_0x22ae3d(0x315)]>0x0)break;_0x47b4e9[_0x22ae3d(0x41b)](_0x4a4d41);break;}else _0x47b4e9[_0x22ae3d(0x41b)](_0x4a4d41);const _0x32c963=(_0x1e4be4=(_0x45489e=_0x3e30df['getCurrentUser']())==null?void 0x0:_0x45489e[_0x22ae3d(0xaf)])!=null?_0x1e4be4:_0x22ae3d(0x3e1),_0x3df6fd=(_0x237498=(_0x503740=_0x3e30df['getCurrentUser']())==null?void 0x0:_0x503740['memberID'])!=null?_0x237498:_0x22ae3d(0x3e1);return{'changeset':{'unitID':_0xa52276,'type':_0xa820f[_0x22ae3d(0x1bf)](_0x4bebe1[_0x22ae3d(0x43d)](_0xa52276)),'baseRev':_0x8db731[_0x22ae3d(0x385)](_0xa52276),'revision':0x0,'userID':_0x32c963,'memberID':_0x3df6fd,'mutations':_0x47b4e9},'pendingMutations':_0x45c5f4[_0x22ae3d(0x29e)](_0x47b4e9['length'])};}function _0x20b863(_0x4f61f5,_0x427264,_0x5e64a3,_0x4d79e7,_0x517f1c){const _0x58c1dd=_0x4478c1;var _0x3e2060,_0x17ba77,_0x152d44,_0x3e227b;const _0x3117e1=[_0x4f61f5[_0x58c1dd(0x3de)]((_0x18b322,_0x291575)=>{const _0x8e2eb5=_0x58c1dd;var _0x42cb58;const {id:_0x4284e2}=_0x18b322,{id:_0x513a1f,type:_0x216f8e}=_0x291575,_0x288f2f=(_0x42cb58=_0x18b322[_0x8e2eb5(0x1a8)])!=null?_0x42cb58:{'actions':null},_0x59bfe1=_0x291575[_0x8e2eb5(0x1a8)];if(_0x4284e2&&_0x4284e2!==_0x513a1f)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x4284e2+_0x8e2eb5(0x53c)+_0x513a1f+'.');return{..._0x18b322,'id':_0x513a1f,'type':_0x216f8e,'params':{'unitId':_0x59bfe1['unitId'],'textRanges':_0x59bfe1['textRanges'],'actions':_0x3c1a84[_0x8e2eb5(0x32b)][_0x8e2eb5(0x29c)](_0x288f2f[_0x8e2eb5(0x156)],_0x59bfe1[_0x8e2eb5(0x156)])}};},{})],_0x3ccf13=(_0x17ba77=(_0x3e2060=_0x517f1c[_0x58c1dd(0x339)]())==null?void 0x0:_0x3e2060['userID'])!=null?_0x17ba77:'unknown',_0x62fb29=(_0x3e227b=(_0x152d44=_0x517f1c['getCurrentUser']())==null?void 0x0:_0x152d44[_0x58c1dd(0x10d)])!=null?_0x3e227b:_0x58c1dd(0x3e1);return{'changeset':{'unitID':_0x427264,'type':_0xa820f[_0x58c1dd(0x1bf)](_0x5e64a3[_0x58c1dd(0x43d)](_0x427264)),'baseRev':_0x4d79e7['getCurrentRevOfUnit'](_0x427264),'revision':0x0,'userID':_0x3ccf13,'memberID':_0x62fb29,'mutations':_0x3117e1},'pendingMutations':[]};}function _0x4bbfae(_0x1dca1a,_0x3306b0){const _0x372992=_0x4478c1,_0x3bee18=new _0x818dd8['ReplaySubject'](0x1);return setTimeout(()=>_0x3bee18[_0x372992(0xdb)](_0x3306b0),_0x1dca1a),_0x3bee18['asObservable']()[_0x372992(0x4c4)](_0x818dd8[_0x372992(0x135)](0x1));}const _0x37a46e={'id':_0x16d7e8[_0x4478c1(0x2eb)]['id'],'type':_0x3c1a84['CommandType'][_0x4478c1(0x521)],'params':{}};var _0xb801b9=Object[_0x4478c1(0x19b)],_0x18f5e2=Object[_0x4478c1(0x4d8)],_0xc5a281=(_0x5ac9b5,_0x430371,_0x36075e,_0x572136)=>{const _0x475f8a=_0x4478c1;for(var _0x54f0cd=_0x572136>0x1?void 0x0:_0x572136?_0x18f5e2(_0x430371,_0x36075e):_0x430371,_0xb6dd1e=_0x5ac9b5[_0x475f8a(0x315)]-0x1,_0x3c3621;_0xb6dd1e>=0x0;_0xb6dd1e--)(_0x3c3621=_0x5ac9b5[_0xb6dd1e])&&(_0x54f0cd=(_0x572136?_0x3c3621(_0x430371,_0x36075e,_0x54f0cd):_0x3c3621(_0x54f0cd))||_0x54f0cd);return _0x572136&&_0x54f0cd&&_0xb801b9(_0x430371,_0x36075e,_0x54f0cd),_0x54f0cd;},_0x53f2f6=(_0x127b20,_0x21d2fd)=>(_0x3c9465,_0x3fd5a1)=>_0x21d2fd(_0x3c9465,_0x3fd5a1,_0x127b20),_0x2683d3=(_0x36dcef=>(_0x36dcef[_0x4478c1(0x553)]=_0x4478c1(0x267),_0x36dcef[_0x4478c1(0x388)]=_0x4478c1(0x43c),_0x36dcef[_0x4478c1(0x210)]=_0x4478c1(0x2ff),_0x36dcef[_0x4478c1(0x4d0)]=_0x4478c1(0x4bd),_0x36dcef[_0x4478c1(0x3e4)]=_0x4478c1(0x22d),_0x36dcef[_0x4478c1(0x219)]=_0x4478c1(0x3a7),_0x36dcef[_0x4478c1(0x26c)]='conflict',_0x36dcef[_0x4478c1(0x423)]=_0x4478c1(0x42b),_0x36dcef))(_0x2683d3||{});const _0x350b0e=0xea60;class _0x56a7d8{constructor(_0x23df6a,_0x582b46,_0x5004a7,_0x558f6a,_0x29d9c5,_0x5b7062,_0x4845ba,_0x10d9a2,_0x3299de){const _0x5bf763=_0x4478c1;_0xa880cb(this,_0x5bf763(0x18f),null),_0xa880cb(this,_0x5bf763(0x27c),[]),(this[_0x5bf763(0x2b0)]=_0x23df6a,this['type']=_0x582b46,this[_0x5bf763(0x1e8)]=_0x29d9c5,this[_0x5bf763(0x292)]=_0x5b7062,this['_undoRedoService']=_0x4845ba,this[_0x5bf763(0x403)]=_0x10d9a2,this['_localCacheService']=_0x3299de,this[_0x5bf763(0x18f)]=_0x5004a7,this[_0x5bf763(0x27c)]=_0x558f6a);}[_0x4478c1(0x1a0)](_0x35e88a){const _0x2fedc6=_0x4478c1,_0x4f78a5=this[_0x2fedc6(0x403)][_0x2fedc6(0x385)](this['unitID']);return _0x35e88a[_0x2fedc6(0x406)]>_0x4f78a5+0x1?(this[_0x2fedc6(0x1e8)][_0x2fedc6(0x459)]({'from':_0x4f78a5,'to':_0x35e88a['revision']-0x1}),!0x0):!0x1;}[_0x4478c1(0x3af)](_0x348ea2){const _0x7ade9e=_0x4478c1;this[_0x7ade9e(0x4d9)]['transformUndoRedo'](this['unitID'],_0x348ea2);}['_transformSelections'](_0xccca64){const _0x2ce25d=_0x4478c1;var _0x37fdd6,_0x193190;(_0x193190=(_0x37fdd6=this['_handler'])[_0x2ce25d(0x408)])==null||_0x193190[_0x2ce25d(0x3e3)](_0x37fdd6,_0xccca64);}[_0x4478c1(0x464)](_0x129fe9){const _0x51536f=_0x4478c1;var _0x43f176,_0x10686e;return(_0x10686e=(_0x43f176=this[_0x51536f(0x1e8)])[_0x51536f(0x529)])==null?void 0x0:_0x10686e['call'](_0x43f176,_0x129fe9);}[_0x4478c1(0x1ea)](_0x282ed8){const _0x4b1435=_0x4478c1;var _0x3d9b70,_0x4c7282;return(_0x4c7282=(_0x3d9b70=this[_0x4b1435(0x1e8)])[_0x4b1435(0x2f6)])==null?void 0x0:_0x4c7282[_0x4b1435(0x3e3)](_0x3d9b70,_0x282ed8);}[_0x4478c1(0x550)](_0x1023fd){const _0x391bc=_0x4478c1;var _0x4a9345,_0x2b7116,_0x53c0d7;return(_0x53c0d7=(_0x2b7116=(_0x4a9345=this[_0x391bc(0x1e8)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2b7116[_0x391bc(0x3e3)](_0x4a9345,_0x1023fd))!=null?_0x53c0d7:_0x1023fd;}['_transformRemoteChangesetByStateCache'](_0x3ea06a){const _0x107c8e=_0x4478c1;var _0x550f00,_0x5bae75,_0x271e06;return(_0x271e06=(_0x5bae75=(_0x550f00=this[_0x107c8e(0x1e8)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x5bae75[_0x107c8e(0x3e3)](_0x550f00,_0x3ea06a))!=null?_0x271e06:_0x3ea06a;}['_syncEditingCollabCursor'](_0x376603){const _0x4464eb=_0x4478c1;var _0x32d8bf,_0x42b9f2;if(this[_0x4464eb(0x184)]===_0x4d76be[_0x4464eb(0x3d0)]){const {unitID:_0x54b845,mutations:_0x2fde80,memberID:_0x192a68}=_0x376603,_0x1e040f=_0x2fde80[0x0]['params'][_0x4464eb(0x3dd)];Array[_0x4464eb(0x351)](_0x1e040f)&&_0x1e040f['length']>0x0&&((_0x42b9f2=(_0x32d8bf=this['_handler'])[_0x4464eb(0x4a4)])==null||_0x42b9f2['call'](_0x32d8bf,{'unitID':_0x54b845,'memberID':_0x192a68,'textRanges':_0x1e040f}));}}[_0x4478c1(0x2f4)](){const _0x4a07cd=_0x4478c1;this[_0x4a07cd(0x411)][_0x4a07cd(0x573)](this[_0x4a07cd(0x2b0)],this[_0x4a07cd(0x184)],this['_awaitingChangeset'],this[_0x4a07cd(0x27c)]);}[_0x4478c1(0x346)](){const _0x56ea19=_0x4478c1;return this[_0x56ea19(0x403)][_0x56ea19(0x385)](this[_0x56ea19(0x2b0)]);}[_0x4478c1(0x389)](){const _0x59fefe=_0x4478c1;this[_0x59fefe(0x403)][_0x59fefe(0x361)](this[_0x59fefe(0x2b0)]);}[_0x4478c1(0x20d)](_0x1da889){const _0x41bad8=_0x4478c1;var _0x4c3fb2;let _0x151e8a=this[_0x41bad8(0x550)](_0x1da889);_0x151e8a=this['_transformRemoteChangesetByStateCache'](_0x151e8a);const _0x1c06d6=_0x3c1a84[_0x41bad8(0x43e)](_0x151e8a[_0x41bad8(0x213)],this[_0x41bad8(0x292)],{'fromCollab':!0x0});if(!_0x1c06d6[_0x41bad8(0x1f6)])throw _0x1c06d6['error']instanceof Error?_0x1c06d6[_0x41bad8(0x17c)]:new Error((_0x4c3fb2=_0x1c06d6[_0x41bad8(0x17c)])!=null?_0x4c3fb2:_0x41bad8(0x511));this['_transformIMECache'](_0x151e8a),this['_transformStateCache'](_0x151e8a),this[_0x41bad8(0x3af)](_0x1da889),this[_0x41bad8(0x295)](_0x151e8a),this[_0x41bad8(0x19f)](_0x151e8a),this['_incrementRevisionNumber']();}}let _0x2956fa=class extends _0x56a7d8{constructor(_0xc86859,_0x3b6b62,_0x3c8544,_0x1b8daa,_0x2a351f,_0x568934,_0x10bf75,_0x4b916e,_0x42c57c,_0x57c7af){const _0x65bb21=_0x4478c1;super(_0xc86859,_0x3b6b62,null,[],_0x3c8544,_0x4b916e,_0x10bf75,_0x1b8daa,_0x2a351f),_0xa880cb(this,_0x65bb21(0x12c),'synced'),(this['_injector']=_0x568934,this['_logService']=_0x42c57c,this['_transformService']=_0x57c7af);}[_0x4478c1(0xe8)](_0x5bd849){const _0x4f9fe4=_0x4478c1,_0x54005c=this[_0x4f9fe4(0x391)][_0x4f9fe4(0x47c)](_0x28ab15,this[_0x4f9fe4(0x2b0)],this[_0x4f9fe4(0x184)],[_0x5bd849],this[_0x4f9fe4(0x1e8)]);return _0x54005c[_0x4f9fe4(0x173)](),_0x54005c['_updateLocalCache'](),_0x54005c;}[_0x4478c1(0x251)](_0x9df5e6){const _0x599909=_0x4478c1;if(this[_0x599909(0x1a0)](_0x9df5e6))return this[_0x599909(0x391)]['createInstance'](_0x5732a8,this[_0x599909(0x2b0)],this[_0x599909(0x184)],null,[],null,[_0x9df5e6],this['_handler']);try{const _0x2d26ec=this[_0x599909(0x56c)][_0x599909(0x3d2)](_0x9df5e6,[_0x37a46e]);if(_0xa820f['isTransformMutationsWithChangesetSuccess'](_0x2d26ec)){const {c1Prime:_0x5c0c42}=_0x2d26ec;return this[_0x599909(0x20d)](_0x5c0c42),this;}throw _0x2d26ec[_0x599909(0x17c)];}catch(_0x3f416c){return this[_0x599909(0x4c1)][_0x599909(0x17c)](_0x3f416c),this[_0x599909(0xcf)](!0x1);}}[_0x4478c1(0xcf)](_0x3195db){const _0x2375bd=_0x4478c1;return this['_injector'][_0x2375bd(0x47c)](_0x582c83,this[_0x2375bd(0x2b0)],this[_0x2375bd(0x184)],null,[],this[_0x2375bd(0x1e8)],_0x3195db);}[_0x4478c1(0x2e9)](){const _0x8f0600=_0x4478c1;throw new Error(_0x8f0600(0x524));}[_0x4478c1(0x1d2)](){const _0x34d10e=_0x4478c1;throw new Error(_0x34d10e(0x447));}[_0x4478c1(0x4ca)](){return this;}[_0x4478c1(0x26a)](){const _0xf4d247=_0x4478c1;return this[_0xf4d247(0x391)]['createInstance'](_0x1eb76f,this[_0xf4d247(0x2b0)],this[_0xf4d247(0x184)],null,[],this[_0xf4d247(0x1e8)]);}['toggleOnline'](){return this;}[_0x4478c1(0x3bf)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4478c1(0x1e6)](){const _0x58c350=_0x4478c1,_0x76e7f9=this[_0x58c350(0x403)][_0x58c350(0x385)](this[_0x58c350(0x2b0)]);return this[_0x58c350(0x1e8)][_0x58c350(0x459)]({'from':_0x76e7f9,'to':0x0}),this[_0x58c350(0x391)][_0x58c350(0x47c)](_0x5732a8,this['unitID'],this['type'],null,[],null,[],this[_0x58c350(0x1e8)]);}};_0x2956fa=_0xc5a281([_0x53f2f6(0x3,_0x3c1a84[_0x4478c1(0x3dc)](_0xa820f['RevisionService'])),_0x53f2f6(0x4,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba[_0x4478c1(0x1cd)])),_0x53f2f6(0x5,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x30e)])),_0x53f2f6(0x6,_0x3c1a84[_0x4478c1(0x559)]),_0x53f2f6(0x7,_0x3c1a84['ICommandService']),_0x53f2f6(0x8,_0x3c1a84['ILogService']),_0x53f2f6(0x9,_0xa820f[_0x4478c1(0x46b)])],_0x2956fa);let _0x28ab15=class extends _0x56a7d8{constructor(_0x1d72a5,_0x1580cf,_0x14c779,_0x43a5c1,_0x8e2317,_0x56e76d,_0x497274,_0x194d7a,_0x24c31b,_0x3fd11b,_0x1c9d60,_0x4cc7fc,_0x302721,_0x417f34){const _0x5692ca=_0x4478c1;super(_0x1d72a5,_0x1580cf,null,_0x14c779,_0x43a5c1,_0x3fd11b,_0x417f34,_0x56e76d,_0x497274),_0xa880cb(this,_0x5692ca(0x12c),_0x5692ca(0x2ff)),_0xa880cb(this,'_scheduleTimestamp',null),_0xa880cb(this,'_sendingTimer',null),(this[_0x5692ca(0x391)]=_0x8e2317,this[_0x5692ca(0x51d)]=_0x194d7a,this[_0x5692ca(0x4c1)]=_0x24c31b,this['_configService']=_0x1c9d60,this['_transformService']=_0x4cc7fc,this[_0x5692ca(0x35b)]=_0x302721);}[_0x4478c1(0xe8)](_0xccd77a){const _0x5f0418=_0x4478c1;return this[_0x5f0418(0x27c)][_0x5f0418(0x41b)](_0xccd77a),this['_updateLocalCache'](),this;}[_0x4478c1(0x251)](_0x329102){const _0x216dfd=_0x4478c1;if(this['_checkMissing'](_0x329102))return this[_0x216dfd(0x25a)](),this['_injector']['createInstance'](_0x5732a8,this[_0x216dfd(0x2b0)],this[_0x216dfd(0x184)],null,this[_0x216dfd(0x27c)],null,[_0x329102],this[_0x216dfd(0x1e8)]);try{const _0x38cea3=this['_transformService'][_0x216dfd(0x3d2)](_0x329102,this[_0x216dfd(0x27c)]);if(_0xa820f[_0x216dfd(0x39e)](_0x38cea3)){const {c1Prime:_0x1b0b46,m2Prime:_0x39e89e}=_0x38cea3;this[_0x216dfd(0x20d)](_0x1b0b46);const _0x325a8f=this['_injector'][_0x216dfd(0x47c)](_0x28ab15,this['unitID'],this['type'],_0x39e89e,this[_0x216dfd(0x1e8)]);return this[_0x216dfd(0x25a)](),_0x325a8f[_0x216dfd(0x173)](this[_0x216dfd(0x3f3)]?Math[_0x216dfd(0x1e1)](0x0,new Date()['getTime']()-this[_0x216dfd(0x3f3)]):this[_0x216dfd(0x2e1)]()),_0x325a8f;}throw _0x38cea3[_0x216dfd(0x17c)];}catch(_0xe58118){return this[_0x216dfd(0x4c1)]['error'](_0xe58118),this[_0x216dfd(0xcf)](!0x1);}}[_0x4478c1(0x2e9)](){const _0x415048=_0x4478c1;throw new Error(_0x415048(0x491));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x4478c1(0x4ca)](){return this;}['toggleOffline'](){const _0x3456a8=_0x4478c1;return this[_0x3456a8(0x25a)](),this[_0x3456a8(0x391)][_0x3456a8(0x47c)](_0x1eb76f,this[_0x3456a8(0x2b0)],this[_0x3456a8(0x184)],null,this[_0x3456a8(0x27c)],this['_handler']);}[_0x4478c1(0x296)](){return this;}[_0x4478c1(0x173)](_0x5ed34b){const _0x417dce=_0x4478c1,_0x35759b=_0x5ed34b!=null?_0x5ed34b:this[_0x417dce(0x2e1)]();this[_0x417dce(0x3f3)]=new Date()[_0x417dce(0x419)](),this[_0x417dce(0x2f0)]=window['setTimeout'](()=>{const _0x1fb6d7=_0x417dce;this[_0x1fb6d7(0x25a)]();let _0x25ab6f=null;switch(this[_0x1fb6d7(0x184)]){case _0x4d76be[_0x1fb6d7(0x13a)]:{_0x25ab6f=_0x40589f(this[_0x1fb6d7(0x27c)],this[_0x1fb6d7(0x2b0)],this['_univerInstanceService'],this[_0x1fb6d7(0x403)],this[_0x1fb6d7(0x51d)]);break;}case _0x4d76be['UNIVER_DOC']:{this[_0x1fb6d7(0x27c)][_0x1fb6d7(0x147)](_0x7a27f7=>_0x7a27f7['id']===_0x2a5ff4['RichTextEditingMutation']['id'])?_0x25ab6f=_0x20b863(this['_pendingMutations'],this[_0x1fb6d7(0x2b0)],this[_0x1fb6d7(0x35b)],this['_revisionService'],this[_0x1fb6d7(0x51d)]):_0x25ab6f=_0x40589f(this['_pendingMutations'],this[_0x1fb6d7(0x2b0)],this[_0x1fb6d7(0x35b)],this[_0x1fb6d7(0x403)],this[_0x1fb6d7(0x51d)]);break;}default:throw new Error(_0x1fb6d7(0x46a)+this[_0x1fb6d7(0x184)]+_0x1fb6d7(0x51c));}const {changeset:_0x412725,pendingMutations:_0x2325a2}=_0x25ab6f;this['_handler']['onSendChangeset'](_0x412725);const _0x393370=_0x2325a2['length']?this['_injector'][_0x1fb6d7(0x47c)](_0xe9ebe7,this[_0x1fb6d7(0x2b0)],this[_0x1fb6d7(0x184)],_0x412725,_0x2325a2,this[_0x1fb6d7(0x1e8)],void 0x0):this[_0x1fb6d7(0x391)][_0x1fb6d7(0x47c)](_0x1313e5,this[_0x1fb6d7(0x2b0)],this[_0x1fb6d7(0x184)],_0x412725,this[_0x1fb6d7(0x1e8)]);_0x393370['_updateLocalCache'](),this[_0x1fb6d7(0x1e8)][_0x1fb6d7(0x3c2)](this,_0x393370);},_0x35759b);}[_0x4478c1(0x2e1)](){const _0x5c162b=_0x4478c1;var _0x583e53;const _0xafa64b=this[_0x5c162b(0x17a)]['getConfig'](_0x52a52c);return(_0x583e53=_0xafa64b==null?void 0x0:_0xafa64b['sendChangesetTimeout'])!=null?_0x583e53:0x7d0;}[_0x4478c1(0x3bf)](){const _0xe473f8=_0x4478c1;throw new Error(_0xe473f8(0x41a));}[_0x4478c1(0x25a)](){const _0x13737d=_0x4478c1;this['_sendingTimer']!=null&&(clearTimeout(this[_0x13737d(0x2f0)]),this['_sendingTimer']=null);}[_0x4478c1(0xcf)](_0x3b4db5){const _0x235eb6=_0x4478c1;return this[_0x235eb6(0x25a)](),this[_0x235eb6(0x391)][_0x235eb6(0x47c)](_0x582c83,this[_0x235eb6(0x2b0)],this['type'],null,this[_0x235eb6(0x27c)],this[_0x235eb6(0x1e8)],_0x3b4db5);}};_0x28ab15=_0xc5a281([_0x53f2f6(0x4,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x30e)])),_0x53f2f6(0x5,_0x3c1a84[_0x4478c1(0x3dc)](_0xa820f['RevisionService'])),_0x53f2f6(0x6,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba[_0x4478c1(0x1cd)])),_0x53f2f6(0x7,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba[_0x4478c1(0x2a8)])),_0x53f2f6(0x8,_0x3c1a84[_0x4478c1(0x4b9)]),_0x53f2f6(0x9,_0x3c1a84['ICommandService']),_0x53f2f6(0xa,_0x3c1a84[_0x4478c1(0x56b)]),_0x53f2f6(0xb,_0xa820f[_0x4478c1(0x46b)]),_0x53f2f6(0xc,_0x3c1a84[_0x4478c1(0x3d5)]),_0x53f2f6(0xd,_0x3c1a84[_0x4478c1(0x559)])],_0x28ab15);let _0x1313e5=class extends _0x56a7d8{constructor(_0x133c0f,_0x6f6a63,_0x5f24b2,_0x34c45c,_0x4d0422,_0x234dcb,_0x29c4e5,_0x482564,_0x2d96aa,_0x37bda6,_0x117c51){const _0xba448c=_0x4478c1;super(_0x133c0f,_0x6f6a63,_0x5f24b2,[],_0x34c45c,_0x482564,_0x117c51,_0x234dcb,_0x29c4e5),_0xa880cb(this,'status',_0xba448c(0x4bd)),_0xa880cb(this,_0xba448c(0x36e),0x0),_0xa880cb(this,_0xba448c(0x398)),_0xa880cb(this,_0xba448c(0x56e)),(this[_0xba448c(0x391)]=_0x4d0422,this[_0xba448c(0x4c1)]=_0x2d96aa,this[_0xba448c(0x56c)]=_0x37bda6);}['appendMutation'](_0x20a13e){const _0x3a68e9=_0x4478c1;this['_clearScheduledTask']();const _0x1965a5=this[_0x3a68e9(0x391)][_0x3a68e9(0x47c)](_0xe9ebe7,this[_0x3a68e9(0x2b0)],this[_0x3a68e9(0x184)],this[_0x3a68e9(0x18f)],[_0x20a13e],this[_0x3a68e9(0x1e8)],this[_0x3a68e9(0x398)]);return _0x1965a5[_0x3a68e9(0x2f4)](),_0x1965a5;}['onRemoteChangeset'](_0x55cd0a){const _0x4336d5=_0x4478c1;if(this[_0x4336d5(0x1a0)](_0x55cd0a))return this[_0x4336d5(0x25a)](),this[_0x4336d5(0x391)]['createInstance'](_0x5732a8,this['unitID'],this[_0x4336d5(0x184)],this[_0x4336d5(0x18f)],[],null,[_0x55cd0a],this[_0x4336d5(0x1e8)]);try{const _0x2e6928=this[_0x4336d5(0x56c)][_0x4336d5(0x327)]([_0x55cd0a],[this['_awaitingChangeset']],!0x1);if(_0xa820f[_0x4336d5(0x200)](_0x2e6928)){const {c1Prime:_0x8f5fd1,c2Prime:_0x54c1cc}=_0x2e6928;this[_0x4336d5(0x20d)](_0x8f5fd1[0x0]),_0x54c1cc[0x0]['baseRev']=this[_0x4336d5(0x346)](),this[_0x4336d5(0x25a)]();const _0x47b2d5=this[_0x4336d5(0x391)][_0x4336d5(0x47c)](_0x1313e5,this[_0x4336d5(0x2b0)],this['type'],_0x54c1cc[0x0],this[_0x4336d5(0x1e8)]);return _0x47b2d5[_0x4336d5(0x2f4)](),_0x47b2d5;}return this['_onConflict'](!0x1);}catch(_0xd17315){return this[_0x4336d5(0x4c1)][_0x4336d5(0x17c)](_0xd17315),this[_0x4336d5(0xcf)](!0x1);}}[_0x4478c1(0x2e9)](_0x17b4c3){const _0x2b9739=_0x4478c1;this['_clearScheduledTask']();const _0x294725=this['_revisionService'][_0x2b9739(0x385)](this[_0x2b9739(0x2b0)]);if(_0x17b4c3['revision']<_0x294725-0x1)return this;if(this[_0x2b9739(0x1a0)](_0x17b4c3))return this[_0x2b9739(0x391)][_0x2b9739(0x47c)](_0x5732a8,this[_0x2b9739(0x2b0)],this['type'],null,[],this[_0x2b9739(0x18f)],[],this['_handler']);this[_0x2b9739(0x389)]();const _0x3daf68=this[_0x2b9739(0x391)][_0x2b9739(0x47c)](_0x2956fa,this[_0x2b9739(0x2b0)],this[_0x2b9739(0x184)],this['_handler']);return _0x3daf68[_0x2b9739(0x2f4)](),_0x3daf68;}[_0x4478c1(0x1d2)](_0x3f35d0){return this['_onConflict'](!!(_0x3f35d0!=null&&_0x3f35d0['isPermissionRej']));}[_0x4478c1(0x4ca)](_0x422e69){const _0x397dce=_0x4478c1;return this['_resendTimeout']>_0x350b0e?this[_0x397dce(0x26a)]():(this[_0x397dce(0x398)]=_0x4bbfae(this[_0x397dce(0x36e)],{'timeout':this['_resendTimeout'],'reqId':_0x422e69[_0x397dce(0x28f)]}),this[_0x397dce(0x56e)]=this[_0x397dce(0x398)][_0x397dce(0x3aa)](({reqId:_0x188445,timeout:_0x43b4c4})=>{this['_resendWithTimeout'](_0x188445,_0x43b4c4);}),this);}[_0x4478c1(0x26a)](){const _0x2d5211=_0x4478c1;return this['_clearScheduledTask'](),this[_0x2d5211(0x391)][_0x2d5211(0x47c)](_0x1eb76f,this['unitID'],this[_0x2d5211(0x184)],this['_awaitingChangeset'],[],this[_0x2d5211(0x1e8)]);}['toggleOnline'](){return this;}[_0x4478c1(0x3bf)](){const _0x34cb7a=_0x4478c1;this[_0x34cb7a(0x1e8)][_0x34cb7a(0x23f)](this[_0x34cb7a(0x18f)]);}[_0x4478c1(0xcf)](_0x4e1304){const _0x8d7869=_0x4478c1;return this['_clearScheduledTask'](),this[_0x8d7869(0x391)]['createInstance'](_0x582c83,this[_0x8d7869(0x2b0)],this[_0x8d7869(0x184)],this[_0x8d7869(0x18f)],[],this[_0x8d7869(0x1e8)],_0x4e1304);}[_0x4478c1(0xd8)](_0x5931f7,_0x446603){const _0x4d110f=_0x4478c1;var _0x8606dc;_0x5931f7===((_0x8606dc=this[_0x4d110f(0x18f)])==null?void 0x0:_0x8606dc[_0x4d110f(0x28f)])&&(this[_0x4d110f(0x3bf)](),this[_0x4d110f(0x36e)]=_0x446603===0x0?0x3e8:_0x446603*0x2);}[_0x4478c1(0x25a)](){const _0x41e39a=_0x4478c1;var _0x54b67e;(_0x54b67e=this[_0x41e39a(0x56e)])==null||_0x54b67e[_0x41e39a(0x4e1)](),this[_0x41e39a(0x36e)]=0x0;}};_0x1313e5=_0xc5a281([_0x53f2f6(0x4,_0x3c1a84['Inject'](_0x3c1a84[_0x4478c1(0x30e)])),_0x53f2f6(0x5,_0x3c1a84['Inject'](_0xa820f[_0x4478c1(0x2c4)])),_0x53f2f6(0x6,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba[_0x4478c1(0x1cd)])),_0x53f2f6(0x7,_0x3c1a84[_0x4478c1(0x3fd)]),_0x53f2f6(0x8,_0x3c1a84[_0x4478c1(0x4b9)]),_0x53f2f6(0x9,_0xa820f[_0x4478c1(0x46b)]),_0x53f2f6(0xa,_0x3c1a84[_0x4478c1(0x559)])],_0x1313e5);let _0xe9ebe7=class extends _0x56a7d8{constructor(_0x5920e2,_0x1639d1,_0x3e4b0e,_0x2a7cc6,_0x4be801,_0x3a9fe9,_0x49e631,_0x2e09e6,_0x30953d,_0x673efa,_0x15c855,_0x2c25a1,_0x638815){const _0x3ea7b9=_0x4478c1;super(_0x5920e2,_0x1639d1,_0x3e4b0e,_0x2a7cc6,_0x4be801,_0x673efa,_0x638815,_0x2e09e6,_0x30953d),_0xa880cb(this,_0x3ea7b9(0x12c),'awaiting_with_pending'),_0xa880cb(this,_0x3ea7b9(0x36e),0x0),_0xa880cb(this,_0x3ea7b9(0x398)),_0xa880cb(this,'_sender'),(this['_injector']=_0x49e631,this[_0x3ea7b9(0x4c1)]=_0x15c855,this[_0x3ea7b9(0x56c)]=_0x2c25a1,_0x3a9fe9&&(this[_0x3ea7b9(0x398)]=_0x3a9fe9,this['_sender']=this['_resendTimer'][_0x3ea7b9(0x3aa)](({reqId:_0x144c88,timeout:_0x18c702})=>{const _0x553fa1=_0x3ea7b9;this[_0x553fa1(0xd8)](_0x144c88,_0x18c702);})));}[_0x4478c1(0xe8)](_0x32c66a){const _0x328183=_0x4478c1;return this['_pendingMutations'][_0x328183(0x41b)](_0x32c66a),this;}['onRemoteChangeset'](_0x5664c7){const _0xda4aaf=_0x4478c1;if(this[_0xda4aaf(0x1a0)](_0x5664c7))return this[_0xda4aaf(0x25a)](),this[_0xda4aaf(0x391)][_0xda4aaf(0x47c)](_0x5732a8,this[_0xda4aaf(0x2b0)],this[_0xda4aaf(0x184)],this[_0xda4aaf(0x18f)],this['_pendingMutations'],null,[_0x5664c7],this[_0xda4aaf(0x1e8)]);try{const _0x4140df=this[_0xda4aaf(0x56c)]['transformChangesets']([_0x5664c7],[this[_0xda4aaf(0x18f)]],!0x1);if(_0xa820f['isTransformChangesetsSuccess'](_0x4140df)){const {c1Prime:_0x557a2d,c2Prime:_0x3876b2}=_0x4140df,_0x61be54=this['_transformService'][_0xda4aaf(0x3d2)](_0x557a2d[0x0],this[_0xda4aaf(0x27c)]);if(_0xa820f[_0xda4aaf(0x39e)](_0x61be54)){const {c1Prime:_0x71a87a,m2Prime:_0x180736}=_0x61be54;return this[_0xda4aaf(0x20d)](_0x71a87a),_0x3876b2[0x0][_0xda4aaf(0x116)]=this[_0xda4aaf(0x346)](),this[_0xda4aaf(0x25a)](),this[_0xda4aaf(0x391)][_0xda4aaf(0x47c)](_0xe9ebe7,this[_0xda4aaf(0x2b0)],this[_0xda4aaf(0x184)],_0x3876b2[0x0],_0x180736,this[_0xda4aaf(0x1e8)],void 0x0);}throw _0x61be54[_0xda4aaf(0x17c)];}throw _0x4140df[_0xda4aaf(0x17c)];}catch(_0x2da192){return this[_0xda4aaf(0x4c1)][_0xda4aaf(0x17c)](_0x2da192),this[_0xda4aaf(0xcf)](!0x1);}}[_0x4478c1(0x2e9)](_0x1ae69f){const _0x4d3b50=_0x4478c1;if(this[_0x4d3b50(0x25a)](),this['_checkMissing'](_0x1ae69f))return this['_injector'][_0x4d3b50(0x47c)](_0x5732a8,this['unitID'],this[_0x4d3b50(0x184)],null,this['_pendingMutations'],this[_0x4d3b50(0x18f)],[],this[_0x4d3b50(0x1e8)]);this[_0x4d3b50(0x389)]();const _0x12d99c=this['_injector'][_0x4d3b50(0x47c)](_0x28ab15,this['unitID'],this[_0x4d3b50(0x184)],this[_0x4d3b50(0x27c)],this[_0x4d3b50(0x1e8)]);return _0x12d99c[_0x4d3b50(0x173)](),_0x12d99c[_0x4d3b50(0x2f4)](),_0x12d99c;}[_0x4478c1(0x1d2)](_0x1e8a03){const _0x96e7d8=_0x4478c1;return this[_0x96e7d8(0xcf)](!!(_0x1e8a03!=null&&_0x1e8a03[_0x96e7d8(0x3da)]));}[_0x4478c1(0x4ca)](_0x3e8df0){const _0x105fcb=_0x4478c1;return this[_0x105fcb(0x36e)]>_0x350b0e?this[_0x105fcb(0x26a)]():(this['_resendTimer']=_0x4bbfae(this[_0x105fcb(0x36e)],{'timeout':this['_resendTimeout'],'reqId':_0x3e8df0[_0x105fcb(0x28f)]}),this[_0x105fcb(0x56e)]=this[_0x105fcb(0x398)][_0x105fcb(0x3aa)](({reqId:_0x2c9804,timeout:_0x47fa88})=>{const _0x1690bb=_0x105fcb;this[_0x1690bb(0xd8)](_0x2c9804,_0x47fa88);}),this);}[_0x4478c1(0x26a)](){const _0x249864=_0x4478c1;return this[_0x249864(0x25a)](),this['_injector'][_0x249864(0x47c)](_0x1eb76f,this['unitID'],this[_0x249864(0x184)],this[_0x249864(0x18f)],this['_pendingMutations'],this[_0x249864(0x1e8)]);}['toggleOnline'](){return this;}[_0x4478c1(0x3bf)](){const _0x2286d2=_0x4478c1;this['_handler']['onSendChangeset'](this[_0x2286d2(0x18f)]);}[_0x4478c1(0xcf)](_0x453352){const _0x40b04d=_0x4478c1;return this[_0x40b04d(0x25a)](),this[_0x40b04d(0x391)][_0x40b04d(0x47c)](_0x582c83,this['unitID'],this[_0x40b04d(0x184)],null,this[_0x40b04d(0x27c)],this['_handler'],_0x453352);}[_0x4478c1(0xd8)](_0x492007,_0x340872){const _0x1d2e76=_0x4478c1;var _0x3e5444;_0x492007===((_0x3e5444=this[_0x1d2e76(0x18f)])==null?void 0x0:_0x3e5444['reqId'])&&(this['resend'](),this[_0x1d2e76(0x36e)]=_0x340872===0x0?0x3e8:_0x340872*0x2);}[_0x4478c1(0x25a)](){const _0x3e07d=_0x4478c1;var _0x3e4740;(_0x3e4740=this[_0x3e07d(0x56e)])==null||_0x3e4740[_0x3e07d(0x4e1)](),this[_0x3e07d(0x36e)]=0x0;}};_0xe9ebe7=_0xc5a281([_0x53f2f6(0x6,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x30e)])),_0x53f2f6(0x7,_0x3c1a84['Inject'](_0xa820f[_0x4478c1(0x2c4)])),_0x53f2f6(0x8,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba['LocalCacheService'])),_0x53f2f6(0x9,_0x3c1a84[_0x4478c1(0x3fd)]),_0x53f2f6(0xa,_0x3c1a84[_0x4478c1(0x4b9)]),_0x53f2f6(0xb,_0xa820f[_0x4478c1(0x46b)]),_0x53f2f6(0xc,_0x3c1a84['IUndoRedoService'])],_0xe9ebe7);let _0x582c83=class extends _0x56a7d8{constructor(_0x1296f6,_0x3cb30a,_0x3fd1f6,_0x3b49bb,_0x4fc5e5,_0x414f57=!0x1,_0x290c20,_0x1a3be7,_0xec79e5,_0x5741e2,_0x53c28c,_0x4e2d5d,_0x7394d9){const _0x16f441=_0x4478c1;super(_0x1296f6,_0x3cb30a,_0x3fd1f6,_0x3b49bb,_0x4fc5e5,_0x1a3be7,_0xec79e5,_0x53c28c,_0x5741e2),_0xa880cb(this,_0x16f441(0x12c),_0x16f441(0x538)),(this[_0x16f441(0x535)]=_0x414f57,this[_0x16f441(0x240)]=_0x290c20,this[_0x16f441(0x343)]=_0x4e2d5d,this[_0x16f441(0x503)]=_0x7394d9,this[_0x16f441(0x225)](),this[_0x16f441(0x3db)](),this[_0x16f441(0x197)]());}['appendMutation'](){return this;}[_0x4478c1(0x251)](){return this;}[_0x4478c1(0x2e9)](){return this;}[_0x4478c1(0x1d2)](){return this;}[_0x4478c1(0x4ca)](){return this;}[_0x4478c1(0x26a)](){return this;}[_0x4478c1(0x296)](){return this;}[_0x4478c1(0x3bf)](){const _0x1d1e4e=_0x4478c1;throw new Error(_0x1d1e4e(0x15e));}[_0x4478c1(0x3db)](){const _0x3e5355=_0x4478c1;this[_0x3e5355(0x411)][_0x3e5355(0x573)](this[_0x3e5355(0x2b0)],this[_0x3e5355(0x184)],null,[]);}[_0x4478c1(0x225)](){const _0x2f4543=_0x4478c1;this[_0x2f4543(0x535)]?this['_notificationService'][_0x2f4543(0x26f)]({'title':this[_0x2f4543(0x343)]['t']('permission.title'),'content':this[_0x2f4543(0x343)]['t'](_0x2f4543(0x362)),'type':_0x2f4543(0x17c),'duration':0x0}):this[_0x2f4543(0x503)]['show']({'title':this[_0x2f4543(0x343)]['t'](_0x2f4543(0x25e)),'content':this[_0x2f4543(0x343)]['t'](_0x2f4543(0x357)),'type':'error','duration':0x0});}[_0x4478c1(0x197)](){const _0x2b2b2e=_0x4478c1;this[_0x2b2b2e(0x240)][_0x2b2b2e(0x369)](new _0x16d7e8[(_0x2b2b2e(0x4c2))](this['unitID'])['id'],!0x1);}};_0x582c83=_0xc5a281([_0x53f2f6(0x6,_0x3c1a84['Inject'](_0x3c1a84[_0x4478c1(0x45c)])),_0x53f2f6(0x7,_0x3c1a84[_0x4478c1(0x3fd)]),_0x53f2f6(0x8,_0x3c1a84[_0x4478c1(0x559)]),_0x53f2f6(0x9,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba[_0x4478c1(0x1cd)])),_0x53f2f6(0xa,_0x3c1a84[_0x4478c1(0x3dc)](_0xa820f[_0x4478c1(0x2c4)])),_0x53f2f6(0xb,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x3ff)])),_0x53f2f6(0xc,_0xa35fb['INotificationService'])],_0x582c83);let _0x1eb76f=class extends _0x56a7d8{constructor(_0x3b9da8,_0x5d916f,_0x39a21a,_0x281175,_0xf830bc,_0x26c00e,_0x597993,_0x5c2c1b,_0x153456,_0x936d66){const _0x47b976=_0x4478c1;super(_0x3b9da8,_0x5d916f,_0x39a21a,_0x281175,_0xf830bc,_0x153456,_0x936d66,_0x597993,_0x5c2c1b),_0xa880cb(this,_0x47b976(0x12c),_0x47b976(0x42b)),this[_0x47b976(0x391)]=_0x26c00e;}[_0x4478c1(0xe8)](_0x17b6d6){const _0x251c86=_0x4478c1;return this[_0x251c86(0x27c)]['push'](_0x17b6d6),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x122bb8){const _0x49fb13=_0x4478c1;throw new Error(_0x49fb13(0x39a));}['onRemoteAck'](){const _0x6d2a82=_0x4478c1;throw new Error(_0x6d2a82(0x4c6));}['onRemoteRej'](){const _0x32fcf8=_0x4478c1;throw new Error(_0x32fcf8(0x272));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){const _0x52152d=_0x4478c1,{_injector:_0x51648c,_pendingMutations:_0x2fae92,_awaitingChangeset:_0x5b23b0,unitID:_0x1799c7,_handler:_0x12169e,type:_0x328ac3}=this,_0x5bf31e=_0x5759fc(_0x51648c,_0x1799c7,_0x328ac3,_0x5b23b0,_0x2fae92,_0x12169e);return _0x5bf31e instanceof _0x28ab15?_0x5bf31e[_0x52152d(0x173)]():(_0x5bf31e instanceof _0xe9ebe7||_0x5bf31e instanceof _0x1313e5)&&_0x5bf31e[_0x52152d(0x3bf)](),_0x5bf31e;}['resend'](){const _0x62cbab=_0x4478c1;throw new Error(_0x62cbab(0x336));}};_0x1eb76f=_0xc5a281([_0x53f2f6(0x5,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84['Injector'])),_0x53f2f6(0x6,_0x3c1a84['Inject'](_0xa820f[_0x4478c1(0x2c4)])),_0x53f2f6(0x7,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba[_0x4478c1(0x1cd)])),_0x53f2f6(0x8,_0x3c1a84[_0x4478c1(0x3fd)]),_0x53f2f6(0x9,_0x3c1a84[_0x4478c1(0x559)])],_0x1eb76f);let _0x5732a8=class extends _0x56a7d8{constructor(_0x26901b,_0x829e4c,_0xbfaf00,_0x40f4ea,_0x3a7037,_0xc8cb81,_0x408bc7,_0x59d39b,_0x8e42a8,_0x32835b,_0x58fbd8,_0xc4139b,_0x168ead,_0x26f0ea){const _0x3ca983=_0x4478c1;super(_0x26901b,_0x829e4c,_0xbfaf00,_0x40f4ea,_0x408bc7,_0xc4139b,_0x168ead,_0x8e42a8,_0x32835b),_0xa880cb(this,_0x3ca983(0x12c),_0x3ca983(0x3a7)),(this['_acknowledgedAwaitingChangeset']=_0x3a7037,this[_0x3ca983(0x49d)]=_0xc8cb81,this[_0x3ca983(0x391)]=_0x59d39b,this['_logService']=_0x58fbd8,this['_transformService']=_0x26f0ea);}[_0x4478c1(0x482)](_0x2d4a4d){const _0x5cb37c=_0x4478c1;try{const _0x2d3a39=[..._0x2d4a4d,...this['_queuedRemoteChangesets']],_0x12058d=[this[_0x5cb37c(0x18f)]||this[_0x5cb37c(0x31a)]]['filter'](_0x495df1=>!!_0x495df1);let _0x282b5a,_0x41d22e;if(_0x12058d['length']){const _0x3f9216=this[_0x5cb37c(0x56c)][_0x5cb37c(0x327)](_0x2d3a39,_0x12058d,!0x1);if(!_0xa820f[_0x5cb37c(0x200)](_0x3f9216))throw _0x3f9216[_0x5cb37c(0x17c)];_0x282b5a=_0x3f9216[_0x5cb37c(0x337)],_0x41d22e=_0x3f9216[_0x5cb37c(0x2f1)];}else _0x282b5a=_0x2d3a39,_0x41d22e=[];let _0x1f62e9=this[_0x5cb37c(0x27c)];_0x282b5a[_0x5cb37c(0x3b6)](_0x39f2dd=>{const _0x16a038=_0x5cb37c;let _0x4f7bd6;if(_0x1f62e9[_0x16a038(0x315)]){const _0xfb236a=this[_0x16a038(0x56c)][_0x16a038(0x3d2)](_0x39f2dd,_0x1f62e9);if(!_0xa820f[_0x16a038(0x39e)](_0xfb236a))throw _0xfb236a[_0x16a038(0x17c)];_0x4f7bd6=_0xfb236a['c1Prime'],_0x1f62e9=_0xfb236a['m2Prime'];}else _0x4f7bd6=_0x39f2dd;this[_0x16a038(0x20d)](_0x4f7bd6);}),this[_0x5cb37c(0x31a)]&&this['_incrementRevisionNumber'](),this[_0x5cb37c(0x18f)]&&_0x41d22e[_0x5cb37c(0x315)]&&(_0x41d22e[0x0][_0x5cb37c(0x116)]=this[_0x5cb37c(0x346)]());let _0x1c6b52;if(this[_0x5cb37c(0x18f)]&&_0x1f62e9[_0x5cb37c(0x315)]!==0x0)_0x1c6b52=this[_0x5cb37c(0x391)][_0x5cb37c(0x47c)](_0xe9ebe7,this['unitID'],this[_0x5cb37c(0x184)],_0x41d22e[0x0],_0x1f62e9,this[_0x5cb37c(0x1e8)],void 0x0);else{if(this['_awaitingChangeset']&&_0x1f62e9[_0x5cb37c(0x315)]===0x0)_0x41d22e[0x0][_0x5cb37c(0x116)]=this[_0x5cb37c(0x346)](),_0x1c6b52=this[_0x5cb37c(0x391)][_0x5cb37c(0x47c)](_0x1313e5,this[_0x5cb37c(0x2b0)],this[_0x5cb37c(0x184)],_0x41d22e[0x0],this[_0x5cb37c(0x1e8)]);else{if(_0x1f62e9[_0x5cb37c(0x315)]!==0x0){const _0x5f179a=this[_0x5cb37c(0x391)][_0x5cb37c(0x47c)](_0x28ab15,this[_0x5cb37c(0x2b0)],this[_0x5cb37c(0x184)],_0x1f62e9,this[_0x5cb37c(0x1e8)]);_0x5f179a[_0x5cb37c(0x173)](),_0x1c6b52=_0x5f179a;}else _0x1c6b52=this[_0x5cb37c(0x391)][_0x5cb37c(0x47c)](_0x2956fa,this[_0x5cb37c(0x2b0)],this[_0x5cb37c(0x184)],this[_0x5cb37c(0x1e8)]);}}return _0x1c6b52[_0x5cb37c(0x2f4)](),_0x1c6b52;}catch(_0x1f6a39){return this[_0x5cb37c(0x4c1)]['error']('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x1f6a39),this[_0x5cb37c(0x391)][_0x5cb37c(0x47c)](_0x582c83,this['unitID'],this['type'],this[_0x5cb37c(0x18f)],this[_0x5cb37c(0x27c)],this[_0x5cb37c(0x1e8)],!0x1);}}['resend'](){const _0x238807=_0x4478c1;throw new Error(_0x238807(0x4d2));}[_0x4478c1(0xe8)](_0x1ebdc8){const _0x282356=_0x4478c1;return this[_0x282356(0x27c)][_0x282356(0x41b)](_0x1ebdc8),this;}[_0x4478c1(0x251)](_0x282c2d){const _0x4962c8=_0x4478c1;return this[_0x4962c8(0x49d)][_0x4962c8(0x41b)](_0x282c2d),this;}['onRemoteAck'](_0x8318f7){const _0x524d1b=_0x4478c1;if(this['_awaitingChangeset'])return this[_0x524d1b(0x31a)]=this[_0x524d1b(0x18f)],this[_0x524d1b(0x18f)]=null,this;throw new Error(_0x524d1b(0x297));}['onRemoteRej'](_0x322393){return this['_onConflict'](!!(_0x322393!=null&&_0x322393['isPermissionRej']));}[_0x4478c1(0x4ca)](){return this;}[_0x4478c1(0x26a)](){const _0x6144ca=_0x4478c1;return this['_injector'][_0x6144ca(0x47c)](_0x1eb76f,this[_0x6144ca(0x2b0)],this[_0x6144ca(0x184)],this[_0x6144ca(0x18f)],this['_pendingMutations'],this[_0x6144ca(0x1e8)]);}[_0x4478c1(0x296)](){return this;}['_onConflict'](_0x15f989){const _0x2f5168=_0x4478c1;return this[_0x2f5168(0x391)][_0x2f5168(0x47c)](_0x582c83,this[_0x2f5168(0x2b0)],this[_0x2f5168(0x184)],this[_0x2f5168(0x18f)],this[_0x2f5168(0x27c)],this[_0x2f5168(0x1e8)],_0x15f989);}};_0x5732a8=_0xc5a281([_0x53f2f6(0x7,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84['Injector'])),_0x53f2f6(0x8,_0x3c1a84[_0x4478c1(0x3dc)](_0xa820f['RevisionService'])),_0x53f2f6(0x9,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba['LocalCacheService'])),_0x53f2f6(0xa,_0x3c1a84[_0x4478c1(0x4b9)]),_0x53f2f6(0xb,_0x3c1a84[_0x4478c1(0x3fd)]),_0x53f2f6(0xc,_0x3c1a84[_0x4478c1(0x559)]),_0x53f2f6(0xd,_0xa820f[_0x4478c1(0x46b)])],_0x5732a8);function _0x5759fc(_0x35d81d,_0x4636d2,_0x114103,_0x27a877,_0x3a5f3f,_0x359896){const _0xf9dcac=_0x4478c1;return _0x27a877&&_0x3a5f3f['length']?_0x35d81d[_0xf9dcac(0x47c)](_0xe9ebe7,_0x4636d2,_0x114103,_0x27a877,_0x3a5f3f,_0x359896,void 0x0):_0x27a877?_0x35d81d[_0xf9dcac(0x47c)](_0x1313e5,_0x4636d2,_0x114103,_0x27a877,_0x359896):_0x3a5f3f['length']?_0x35d81d[_0xf9dcac(0x47c)](_0x28ab15,_0x4636d2,_0x114103,_0x3a5f3f,_0x359896):_0x35d81d[_0xf9dcac(0x47c)](_0x2956fa,_0x4636d2,_0x114103,_0x359896);}var _0x1f032d=Object[_0x4478c1(0x19b)],_0x25e268=Object[_0x4478c1(0x4d8)],_0x4d2199=(_0x4eca4a,_0x3214cf,_0x8ed185,_0x412194)=>{const _0x331c50=_0x4478c1;for(var _0x30d7f5=_0x412194>0x1?void 0x0:_0x412194?_0x25e268(_0x3214cf,_0x8ed185):_0x3214cf,_0x3b00f2=_0x4eca4a[_0x331c50(0x315)]-0x1,_0x2c0ac8;_0x3b00f2>=0x0;_0x3b00f2--)(_0x2c0ac8=_0x4eca4a[_0x3b00f2])&&(_0x30d7f5=(_0x412194?_0x2c0ac8(_0x3214cf,_0x8ed185,_0x30d7f5):_0x2c0ac8(_0x30d7f5))||_0x30d7f5);return _0x412194&&_0x30d7f5&&_0x1f032d(_0x3214cf,_0x8ed185,_0x30d7f5),_0x30d7f5;},_0x3584ed=(_0x31ca88,_0x2eb71f)=>(_0x292726,_0xf2ed60)=>_0x2eb71f(_0x292726,_0xf2ed60,_0x31ca88);_0x1191ba[_0x4478c1(0x2c6)]=class extends _0x3c1a84[_0x4478c1(0x2a0)]{constructor(_0x51597d,_0x461a36,_0x2545ed,_0x4fbe58,_0xe4dc66,_0x1d86fd,_0xa98843,_0x13e5e4,_0x16c3e3,_0xdf40dd,_0x5a04a7,_0x2e854a,_0x3d63b9){const _0x48db60=_0x4478c1;super(),_0xa880cb(this,_0x48db60(0x54c),new _0x818dd8[(_0x48db60(0x122))](null)),_0xa880cb(this,_0x48db60(0x11f),this[_0x48db60(0x54c)][_0x48db60(0xca)]()),_0xa880cb(this,'_state'),_0xa880cb(this,_0x48db60(0x134),!0x1),_0xa880cb(this,_0x48db60(0x37c),''),_0xa880cb(this,_0x48db60(0x531),0x0),_0xa880cb(this,_0x48db60(0x34d),this[_0x48db60(0x11f)][_0x48db60(0x4c4)](_0x818dd8[_0x48db60(0x20e)](_0x3d2766=>_0x3d2766?_0x3d2766[_0x48db60(0x12c)]:_0x2683d3[_0x48db60(0x423)]),_0x818dd8['shareReplay'](0x1))),_0xa880cb(this,_0x48db60(0xdd),!0x1),_0xa880cb(this,_0x48db60(0x463),[]),(this[_0x48db60(0x2b0)]=_0x51597d,this['session']=_0x461a36,this[_0x48db60(0x286)]=_0x2545ed,this[_0x48db60(0x391)]=_0x4fbe58,this[_0x48db60(0x411)]=_0xe4dc66,this[_0x48db60(0xce)]=_0x1d86fd,this[_0x48db60(0x343)]=_0xa98843,this[_0x48db60(0x403)]=_0x13e5e4,this[_0x48db60(0x4c1)]=_0x16c3e3,this[_0x48db60(0x292)]=_0xdf40dd,this[_0x48db60(0x183)]=_0x5a04a7,this[_0x48db60(0x240)]=_0x2e854a,this[_0x48db60(0x471)]=_0x3d63b9);}get[_0x4478c1(0x1b0)](){const _0x103110=_0x4478c1;return this[_0x103110(0x390)];}async[_0x4478c1(0x479)](){const _0x4527f7=_0x4478c1;if(this[_0x4527f7(0x1b0)])throw new Error(_0x4527f7(0x3bb));await this['_init']();}[_0x4478c1(0x290)](){const _0x291ca1=_0x4478c1;return this[_0x291ca1(0x134)]=!0x0,_0x3c1a84[_0x291ca1(0xde)](()=>{const _0x21b332=_0x291ca1;this['_collaborationPaused']=!0x1,this[_0x21b332(0x3d9)]();});}[_0x4478c1(0x3fc)](_0x198e19){const _0x250da6=_0x4478c1;this['_state']=_0x198e19,this['_state$'][_0x250da6(0xdb)](_0x198e19);}async[_0x4478c1(0x12b)](){const _0x2e012b=_0x4478c1;var _0x3d465e;this[_0x2e012b(0x3fc)](await this[_0x2e012b(0x1b9)]()),this['_singleActiveUnitService']&&((_0x3d465e=this[_0x2e012b(0x471)])==null||_0x3d465e[_0x2e012b(0x2a3)](this['unitID']),this[_0x2e012b(0xe5)](this[_0x2e012b(0x471)][_0x2e012b(0x438)](this['unitID'])['subscribe'](_0x11783c=>{const _0x38dcc9=_0x2e012b;this['_logService']['debug'](_0x38dcc9(0x4b7),_0x38dcc9(0x4ab),_0x11783c),_0x11783c===_0x49ccfb[_0x38dcc9(0x546)]?(this[_0x38dcc9(0x183)][_0x38dcc9(0x26f)]({'content':this[_0x38dcc9(0x343)]['t'](_0x38dcc9(0x120)),'type':_0x39c661[_0x38dcc9(0x1fe)]['Warning']}),this[_0x38dcc9(0x240)]['updatePermissionPoint'](new _0x16d7e8[(_0x38dcc9(0x4c2))](this['unitID'])['id'],!0x1),this[_0x38dcc9(0x240)][_0x38dcc9(0xcd)](!0x1)):(this[_0x38dcc9(0x240)][_0x38dcc9(0x369)](new _0x16d7e8['WorkbookEditablePermission'](this[_0x38dcc9(0x2b0)])['id'],!0x0),this[_0x38dcc9(0x240)]['setShowComponents'](!0x0));})));let _0x2e0ef4=!0x1;return this['disposeWithMe'](this[_0x2e012b(0x4d3)][_0x2e012b(0x1ed)][_0x2e012b(0x3aa)](_0x36dabc=>{const _0x3d6b66=_0x2e012b;_0x36dabc===_0x417df1[_0x3d6b66(0x150)]?this[_0x3d6b66(0xfc)](_0x2e0ef4):_0x36dabc===_0x417df1[_0x3d6b66(0x423)]&&(_0x2e0ef4=!0x0,this[_0x3d6b66(0x31d)]());})),this['disposeWithMe'](this[_0x2e012b(0x4d3)][_0x2e012b(0x3fb)][_0x2e012b(0x3aa)](_0x504610=>{const _0x2b0751=_0x2e012b;try{switch(_0x504610[_0x2b0751(0x204)]){case _0xa820f[_0x2b0751(0x12d)][_0x2b0751(0x39c)]:{this[_0x2b0751(0x2c2)](_0xa820f[_0x2b0751(0x16e)](_0x504610[_0x2b0751(0x2d6)]));break;}case _0xa820f[_0x2b0751(0x12d)][_0x2b0751(0x4fc)]:{this[_0x2b0751(0x118)](_0x504610[_0x2b0751(0x2d6)]);break;}case _0xa820f['CollaborationEvent'][_0x2b0751(0x572)]:{this[_0x2b0751(0x234)]();break;}case _0xa820f[_0x2b0751(0x12d)]['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x504610[_0x2b0751(0x2d6)]);break;}case _0xa820f['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x2b0751(0x43f)](_0x504610[_0x2b0751(0x2d6)][_0x2b0751(0xea)][_0x2b0751(0x20e)](_0x1e50c2=>_0xa820f['parseProtocolChangeset'](_0x1e50c2)));break;}case _0xa820f[_0x2b0751(0x12d)][_0x2b0751(0x375)]:this[_0x2b0751(0x234)]({'isPermissionRej':!0x0});}}catch(_0xce410c){throw console[_0x2b0751(0x17c)](_0x2b0751(0x260),_0xce410c),_0xce410c;}})),this['_state'];}[_0x4478c1(0x17e)](){const _0x26ce59=_0x4478c1;this[_0x26ce59(0xdd)]=!0x1;}[_0x4478c1(0x2be)](){const _0x583cbe=_0x4478c1;if(this[_0x583cbe(0xdd)])throw new Error(_0x583cbe(0x2a7));this[_0x583cbe(0xdd)]=!0x0;}['_onLocalMutation'](_0x4653f8){const _0x44b5de=_0x4478c1;this[_0x44b5de(0x2be)](),this[_0x44b5de(0x3fc)](this[_0x44b5de(0x390)][_0x44b5de(0xe8)](_0x4653f8)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x5f0db2){const _0x4c02e7=_0x4478c1;if(!(_0x5f0db2['revision']<=this[_0x4c02e7(0x403)][_0x4c02e7(0x385)](this[_0x4c02e7(0x2b0)]))){if(this[_0x4c02e7(0x134)]){this[_0x4c02e7(0x463)]['push'](_0x5f0db2);return;}this[_0x4c02e7(0x485)](_0x5f0db2);}}[_0x4478c1(0x3d9)](){const _0x6b6e3d=_0x4478c1;this[_0x6b6e3d(0x463)][_0x6b6e3d(0x3b6)](_0x1f4e73=>this[_0x6b6e3d(0x485)](_0x1f4e73)),this[_0x6b6e3d(0x463)]=[];}[_0x4478c1(0x485)](_0x18595e){const _0x11366b=_0x4478c1,_0xe0208a=this[_0x11366b(0xce)][_0x11366b(0x536)]['fetchThroughInterceptors'](this[_0x11366b(0xce)]['interceptor'][_0x11366b(0x3b8)]()['COMPRESS_MUTATION_APPLY'])(_0x18595e[_0x11366b(0x213)],null)||_0x18595e[_0x11366b(0x213)],_0x259f78={..._0x18595e,'mutations':_0xe0208a};this[_0x11366b(0x2be)](),this['_updateState'](this[_0x11366b(0x390)][_0x11366b(0x251)](_0x259f78)),this[_0x11366b(0x17e)]();}['_onRemoteACK'](_0x4d1e9b){const _0x2744ad=_0x4478c1;this[_0x2744ad(0x2be)](),this['_updateState'](this[_0x2744ad(0x390)][_0x2744ad(0x2e9)](_0x4d1e9b)),this['_unlockTransition']();}[_0x4478c1(0x234)](_0x2189e8){const _0x21f695=_0x4478c1;this[_0x21f695(0x2be)](),this['_updateState'](this['_state'][_0x21f695(0x1d2)](_0x2189e8)),this[_0x21f695(0x17e)]();}[_0x4478c1(0x30f)](_0x51fe46){const _0x5834b6=_0x4478c1;this['_lockTransition'](),this[_0x5834b6(0x3fc)](this[_0x5834b6(0x390)][_0x5834b6(0x4ca)](_0x51fe46)),this[_0x5834b6(0x17e)]();}['_onFetchMissResult'](_0x39c61c){const _0x122154=_0x4478c1;if(!(this['_state']instanceof _0x5732a8))throw new TypeError(_0x122154(0x44e));const _0x40b7dd=_0x39c61c[_0x122154(0x20e)](_0x2882f2=>{const _0x266b31=_0x122154,_0x2ab7af=this[_0x266b31(0xce)][_0x266b31(0x536)]['fetchThroughInterceptors'](this[_0x266b31(0xce)]['interceptor'][_0x266b31(0x3b8)]()[_0x266b31(0x4f3)])(_0x2882f2[_0x266b31(0x213)],null)||_0x2882f2[_0x266b31(0x213)];return{..._0x2882f2,'mutations':_0x2ab7af};});this['_lockTransition'](),this[_0x122154(0x3fc)](this['_state']['onMissedChangesetFetched'](_0x40b7dd)),this[_0x122154(0x17e)]();}['_toggleOffline'](){const _0x2069ac=_0x4478c1;this['_lockTransition'](),this['_updateState'](this[_0x2069ac(0x390)]['toggleOffline']()),this[_0x2069ac(0x17e)]();}[_0x4478c1(0xfc)](_0x49ea6c=!0x1){const _0xddf9=_0x4478c1;this[_0xddf9(0x2be)](),this[_0xddf9(0x3fc)](this[_0xddf9(0x390)][_0xddf9(0x296)]()),this[_0xddf9(0x17e)]();const _0x4e2e9e=this[_0xddf9(0x390)];_0x49ea6c&&_0x4e2e9e instanceof _0x2956fa&&(this['_lockTransition'](),this[_0xddf9(0x3fc)](_0x4e2e9e[_0xddf9(0x1e6)]()),this[_0xddf9(0x17e)]());}async[_0x4478c1(0x1b9)](){return new Promise(_0x1273dc=>{const _0x22d182=_0x406b;this[_0x22d182(0x4d3)][_0x22d182(0x1ed)][_0x22d182(0x4c4)](_0x818dd8[_0x22d182(0x135)](0x1))['subscribe'](async _0xf8b764=>{const _0x3ae7d9=_0x22d182;_0x1273dc(await this[_0x3ae7d9(0x2bc)](_0xf8b764===_0x417df1[_0x3ae7d9(0x150)]));});});}[_0x4478c1(0x3cc)](){const _0xdb8005=_0x4478c1,_0x1d7d56=this[_0xdb8005(0x2b0)];return{'onStateChange':(_0x3fa9b8,_0x39d9fb)=>{const _0x14f6c8=_0xdb8005;if(_0x3fa9b8!==this['_state'])throw new Error(_0x14f6c8(0x21b)+_0x3fa9b8[_0x14f6c8(0x12c)]+_0x14f6c8(0x3ab)+_0x39d9fb[_0x14f6c8(0x12c)]+'\x0aCurrent:\x20'+this[_0x14f6c8(0x390)][_0x14f6c8(0x12c)]);this[_0x14f6c8(0x3fc)](_0x39d9fb);},'onSendChangeset':_0x414778=>{const _0x384217=_0xdb8005;_0x414778[_0x384217(0x2cc)]||(_0x414778[_0x384217(0x2cc)]=this[_0x384217(0x37c)],_0x414778['reqId']=++this[_0x384217(0x531)]);const _0x459e94={'eventID':_0xa820f[_0x384217(0x12d)][_0x384217(0x3a5)],'data':{'unitID':_0x414778[_0x384217(0x2b0)],'unitType':this[_0x384217(0x286)],'changeset':_0x414778,'memberID':this['session'][_0x384217(0x4a8)]()}};this[_0x384217(0x4d3)][_0x384217(0x51b)](_0x459e94,this[_0x384217(0x2b0)]);},'onMissingChangesets':({from:_0x215fd8,to:_0x2638c3})=>{const _0x366667=_0xdb8005;this[_0x366667(0x4c1)][_0x366667(0x1d9)](_0x366667(0x4b7),_0x366667(0x29d)+_0x215fd8+_0x366667(0x16d)+_0x2638c3);const _0x57d504={'eventID':_0xa820f['CollaborationEvent'][_0x366667(0x478)],'data':{'unitID':_0x1d7d56,'unitType':this[_0x366667(0x286)],'from':_0x215fd8,'to':_0x2638c3}};this[_0x366667(0x4d3)][_0x366667(0x51b)](_0x57d504,this['unitID']);}};}async[_0x4478c1(0x2bc)](_0x114534){const _0x2d7528=_0x4478c1;var _0x2814ea,_0x152670;const _0x35ba5a=await this['_localCacheService'][_0x2d7528(0xb0)](this[_0x2d7528(0x2b0)]),_0x45d8c8=(_0x2814ea=_0x35ba5a==null?void 0x0:_0x35ba5a['mutations'])!=null?_0x2814ea:[],_0x1b032b=(_0x152670=_0x35ba5a==null?void 0x0:_0x35ba5a['awaitingChangeset'])!=null?_0x152670:null,_0x19605f=!!(_0x1b032b!=null&&_0x1b032b[_0x2d7528(0x2cc)])&&!!(_0x1b032b!=null&&_0x1b032b[_0x2d7528(0x28f)]);this[_0x2d7528(0x37c)]=_0x19605f?_0x1b032b[_0x2d7528(0x2cc)]:_0x1ad90a(),this['_changesetReqId']=_0x19605f?_0x1b032b['reqId']:0x0;const _0x3c621c=this[_0x2d7528(0x2b0)];try{this[_0x2d7528(0x228)](_0x1b032b,_0x45d8c8);}catch(_0x2cf4f0){this['_logService']['error'](_0x2cf4f0);}const _0x457da7=this[_0x2d7528(0x3cc)]();if(_0x114534){const _0x1d0cff=_0x5759fc(this[_0x2d7528(0x391)],_0x3c621c,this[_0x2d7528(0x286)],_0x1b032b,_0x45d8c8,_0x457da7);return _0x1d0cff instanceof _0x28ab15?_0x1d0cff[_0x2d7528(0x173)]():(_0x1d0cff instanceof _0xe9ebe7||_0x1d0cff instanceof _0x1313e5)&&_0x1d0cff['resend'](),_0x1d0cff;}return this[_0x2d7528(0x391)][_0x2d7528(0x47c)](_0x1eb76f,_0x3c621c,this[_0x2d7528(0x286)],_0x1b032b,_0x45d8c8,_0x457da7);}[_0x4478c1(0x228)](_0x22708e,_0x87f933){const _0x377cb5=_0x4478c1;var _0x556ff9,_0x287dd8;const _0x117c84=this[_0x377cb5(0xce)][_0x377cb5(0x536)][_0x377cb5(0x4cb)](this[_0x377cb5(0xce)][_0x377cb5(0x536)][_0x377cb5(0x3b8)]()[_0x377cb5(0x4f3)]);(_0x556ff9=_0x117c84((_0x22708e==null?void 0x0:_0x22708e['mutations'])||[],null))==null||_0x556ff9[_0x377cb5(0x3b6)](_0x24cbe3=>this[_0x377cb5(0x292)]['executeCommand'](_0x24cbe3['id'],_0x24cbe3[_0x377cb5(0x1a8)])),(_0x287dd8=_0x117c84(_0x87f933||[],null))==null||_0x287dd8[_0x377cb5(0x3b6)](_0x496cf8=>this[_0x377cb5(0x292)]['executeCommand'](_0x496cf8['id'],_0x496cf8[_0x377cb5(0x1a8)]));}},_0x1191ba[_0x4478c1(0x2c6)]=_0x4d2199([_0x3584ed(0x3,_0x3c1a84['Inject'](_0x3c1a84['Injector'])),_0x3584ed(0x4,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba[_0x4478c1(0x1cd)])),_0x3584ed(0x5,_0x3c1a84[_0x4478c1(0x3dc)](_0xa820f[_0x4478c1(0x461)])),_0x3584ed(0x6,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x3ff)])),_0x3584ed(0x7,_0x3c1a84['Inject'](_0xa820f[_0x4478c1(0x2c4)])),_0x3584ed(0x8,_0x3c1a84[_0x4478c1(0x4b9)]),_0x3584ed(0x9,_0x3c1a84['ICommandService']),_0x3584ed(0xa,_0xa35fb[_0x4478c1(0x12e)]),_0x3584ed(0xb,_0x3c1a84['IPermissionService']),_0x3584ed(0xc,_0x3c1a84['Optional'](_0x276cf0))],_0x1191ba[_0x4478c1(0x2c6)]),_0x1191ba[_0x4478c1(0x12f)]=class extends _0x1191ba[_0x4478c1(0x2c6)]{constructor(_0xae99f7,_0x293260,_0x5df2c4,_0x7c7533,_0x3aaaf3,_0x28120c,_0x36ef8c,_0x17213b,_0x18fe6b,_0x2e2c08,_0x51ce9f,_0x2b4a9b,_0xedfe50,_0x14b089,_0x154fff,_0x130a34,_0x3e2696,_0x22a8a0){const _0x7e210a=_0x4478c1;super(_0xae99f7,_0x5df2c4,_0x293260,_0x7c7533,_0x3aaaf3,_0x28120c,_0x36ef8c,_0x17213b,_0x14b089,_0x154fff,_0x130a34,_0x3e2696,_0x22a8a0),this['unitID']=_0xae99f7,this['type']=_0x293260,this['_docStateChangeManagerService']=_0x18fe6b,this[_0x7e210a(0x548)]=_0x2e2c08,this[_0x7e210a(0x2d5)]=_0x51ce9f,this[_0x7e210a(0x131)]=_0x2b4a9b,this[_0x7e210a(0x1a9)]=_0xedfe50;}['_createHandler'](){const _0x52bc35=_0x4478c1,_0x4696b9=super[_0x52bc35(0x3cc)]();return _0x4696b9[_0x52bc35(0x529)]=_0x5a11b9=>this['_docTransformIMECacheService'][_0x52bc35(0x2b1)](_0x5a11b9),_0x4696b9[_0x52bc35(0x2f6)]=_0x60ef86=>this['_docTransformStateCacheService'][_0x52bc35(0x4eb)](_0x60ef86),_0x4696b9[_0x52bc35(0x408)]=_0x548507=>this['_docTransformSelectionsService'][_0x52bc35(0x237)](_0x548507),_0x4696b9[_0x52bc35(0x4a4)]=_0x19696d=>this[_0x52bc35(0x1a9)][_0x52bc35(0xe0)](_0x19696d),_0x4696b9['onTransformRemoteChangesetByIMECache']=_0x3a1e1f=>this[_0x52bc35(0x548)]['transformRemoteChangeset'](_0x3a1e1f),_0x4696b9[_0x52bc35(0xf7)]=_0x277814=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x277814),_0x4696b9;}async['_init'](){const _0x4733db=_0x4478c1,_0x3a1124=await super[_0x4733db(0x12b)]();return this[_0x4733db(0xe5)](this[_0x4733db(0x340)][_0x4733db(0x305)]['pipe'](_0x818dd8[_0x4733db(0x439)](this[_0x4733db(0x23a)]))[_0x4733db(0x3aa)](_0xa37eb0=>{const _0xd9cb4f=_0x4733db;if(_0xa37eb0==null)return;const {unitId:_0x3a81bc,redoState:_0x1dd099,commandId:_0x33c0ac}=_0xa37eb0;if(_0x3a81bc!==this['unitID'])return;const _0x267f64={'id':_0x33c0ac,'type':_0x3c1a84[_0xd9cb4f(0x38a)][_0xd9cb4f(0x521)],'params':{'unitId':_0x3a81bc,'actions':_0x1dd099[_0xd9cb4f(0x156)],'textRanges':null}};this[_0xd9cb4f(0x229)](_0x267f64);})),this[_0x4733db(0xe5)](this[_0x4733db(0x292)][_0x4733db(0x4ad)]((_0x120c8b,_0x21c628)=>{const _0x4b8c46=_0x4733db;if(_0x120c8b[_0x4b8c46(0x184)]!==_0x3c1a84['CommandType'][_0x4b8c46(0x521)]||_0x21c628!=null&&_0x21c628[_0x4b8c46(0x378)]||_0x21c628!=null&&_0x21c628[_0x4b8c46(0xb3)]||_0x120c8b['id']===_0x2a5ff4['RichTextEditingMutation']['id'])return;const _0x562491=_0x120c8b[_0x4b8c46(0x1a8)];if((_0x562491==null?void 0x0:_0x562491['unitId'])!==this[_0x4b8c46(0x2b0)])return;const _0x23d932=_0x120c8b,_0x200ad2=this[_0x4b8c46(0xce)][_0x4b8c46(0x536)][_0x4b8c46(0x4cb)](this[_0x4b8c46(0xce)]['interceptor']['getInterceptPoints']()[_0x4b8c46(0x43b)])([_0x23d932],null)||[_0x23d932];this[_0x4b8c46(0x229)](_0x200ad2[0x0]);})),_0x3a1124;}},_0x1191ba[_0x4478c1(0x12f)]=_0x4d2199([_0x3584ed(0x3,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x30e)])),_0x3584ed(0x4,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba['LocalCacheService'])),_0x3584ed(0x5,_0x3c1a84[_0x4478c1(0x3dc)](_0xa820f[_0x4478c1(0x461)])),_0x3584ed(0x6,_0x3c1a84['Inject'](_0x3c1a84[_0x4478c1(0x3ff)])),_0x3584ed(0x7,_0x3c1a84['Inject'](_0xa820f['RevisionService'])),_0x3584ed(0x8,_0x3c1a84[_0x4478c1(0x3dc)](_0x488d74[_0x4478c1(0x50e)])),_0x3584ed(0x9,_0x3c1a84[_0x4478c1(0x3dc)](_0xdec374)),_0x3584ed(0xa,_0x3c1a84[_0x4478c1(0x3dc)](_0x4a0baf)),_0x3584ed(0xb,_0x3c1a84[_0x4478c1(0x3dc)](_0x3d4e9f)),_0x3584ed(0xc,_0x3c1a84[_0x4478c1(0x3dc)](_0x159dfb)),_0x3584ed(0xd,_0x3c1a84[_0x4478c1(0x4b9)]),_0x3584ed(0xe,_0x3c1a84[_0x4478c1(0x3fd)]),_0x3584ed(0xf,_0xa35fb[_0x4478c1(0x12e)]),_0x3584ed(0x10,_0x3c1a84['IPermissionService']),_0x3584ed(0x11,_0x3c1a84['Optional'](_0x276cf0))],_0x1191ba['DocCollaborationEntity']),_0x1191ba[_0x4478c1(0xe3)]=class extends _0x1191ba[_0x4478c1(0x2c6)]{constructor(_0x1fc239,_0x5bd827,_0x250f46,_0x4511c3,_0x42516e,_0x56b267,_0x5e205b,_0x12ff64,_0x22298b,_0x2fba3b,_0x1dfb12,_0x1335f7,_0x305be7,_0x4f592c){const _0x4741c4=_0x4478c1;super(_0x1fc239,_0x250f46,_0x5bd827,_0x4511c3,_0x42516e,_0x56b267,_0x5e205b,_0x12ff64,_0x2fba3b,_0x1dfb12,_0x1335f7,_0x305be7,_0x4f592c),this[_0x4741c4(0x2b0)]=_0x1fc239,this[_0x4741c4(0x184)]=_0x5bd827,this[_0x4741c4(0x404)]=_0x22298b;}['_createHandler'](){const _0x34118f=_0x4478c1,_0x5d7fb0=super['_createHandler']();return _0x5d7fb0['onTransformSelections']=_0x53ad95=>this['_sheetTransformSelectionsService'][_0x34118f(0x237)](_0x53ad95),_0x5d7fb0;}async['_init'](){const _0x9e9f25=_0x4478c1,_0x53c0ae=await super[_0x9e9f25(0x12b)]();return this['disposeWithMe'](this[_0x9e9f25(0x292)][_0x9e9f25(0x4ad)]((_0x4ba870,_0x5cc821)=>{const _0x5e31d3=_0x9e9f25;if(_0x4ba870[_0x5e31d3(0x184)]!==_0x3c1a84[_0x5e31d3(0x38a)][_0x5e31d3(0x521)]||_0x5cc821!=null&&_0x5cc821[_0x5e31d3(0x378)]||_0x5cc821!=null&&_0x5cc821[_0x5e31d3(0xb3)])return;const _0x235e63=_0x4ba870[_0x5e31d3(0x1a8)];if((_0x235e63==null?void 0x0:_0x235e63[_0x5e31d3(0x214)])!==this[_0x5e31d3(0x2b0)])return;const _0x256dfd=_0x4ba870,_0x26a552=this[_0x5e31d3(0xce)]['interceptor'][_0x5e31d3(0x4cb)](this[_0x5e31d3(0xce)][_0x5e31d3(0x536)][_0x5e31d3(0x3b8)]()[_0x5e31d3(0x43b)])([_0x256dfd],null)||[_0x256dfd];this[_0x5e31d3(0x229)](_0x26a552[0x0]);})),_0x53c0ae;}},_0x1191ba[_0x4478c1(0xe3)]=_0x4d2199([_0x3584ed(0x3,_0x3c1a84['Inject'](_0x3c1a84[_0x4478c1(0x30e)])),_0x3584ed(0x4,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba['LocalCacheService'])),_0x3584ed(0x5,_0x3c1a84['Inject'](_0xa820f[_0x4478c1(0x461)])),_0x3584ed(0x6,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84['LocaleService'])),_0x3584ed(0x7,_0x3c1a84[_0x4478c1(0x3dc)](_0xa820f[_0x4478c1(0x2c4)])),_0x3584ed(0x8,_0x3c1a84[_0x4478c1(0x3dc)](_0x3f146d)),_0x3584ed(0x9,_0x3c1a84['ILogService']),_0x3584ed(0xa,_0x3c1a84[_0x4478c1(0x3fd)]),_0x3584ed(0xb,_0xa35fb['IMessageService']),_0x3584ed(0xc,_0x3c1a84[_0x4478c1(0x45c)]),_0x3584ed(0xd,_0x3c1a84[_0x4478c1(0x40b)](_0x276cf0))],_0x1191ba[_0x4478c1(0xe3)]);var _0x583a84=Object['defineProperty'],_0x48a73e=Object['getOwnPropertyDescriptor'],_0xa38291=(_0x1c8f6d,_0x12c8d5,_0x253273,_0x36cc0a)=>{const _0x3152b9=_0x4478c1;for(var _0x320864=_0x36cc0a>0x1?void 0x0:_0x36cc0a?_0x48a73e(_0x12c8d5,_0x253273):_0x12c8d5,_0x253518=_0x1c8f6d[_0x3152b9(0x315)]-0x1,_0x3ab6e1;_0x253518>=0x0;_0x253518--)(_0x3ab6e1=_0x1c8f6d[_0x253518])&&(_0x320864=(_0x36cc0a?_0x3ab6e1(_0x12c8d5,_0x253273,_0x320864):_0x3ab6e1(_0x320864))||_0x320864);return _0x36cc0a&&_0x320864&&_0x583a84(_0x12c8d5,_0x253273,_0x320864),_0x320864;},_0x37de54=(_0x22c9bf,_0x20adee)=>(_0x149574,_0x4b5372)=>_0x20adee(_0x149574,_0x4b5372,_0x22c9bf);_0x1191ba[_0x4478c1(0x1ca)]=class extends _0x3c1a84[_0x4478c1(0x2a0)]{constructor(_0x31bf14,_0x4b290d,_0x4d5822){const _0x127ef8=_0x4478c1;super(),_0xa880cb(this,_0x127ef8(0x38c),new Map()),_0xa880cb(this,_0x127ef8(0x54f),new _0x818dd8[(_0x127ef8(0x245))]()),(this[_0x127ef8(0x391)]=_0x31bf14,this[_0x127ef8(0x49c)]=_0x4b290d,this[_0x127ef8(0x35b)]=_0x4d5822,this[_0x127ef8(0x12b)]());}['dispose'](){const _0x1690d1=_0x4478c1;super[_0x1690d1(0x4e7)](),this[_0x1690d1(0x38c)][_0x1690d1(0x3b6)](_0x158b4b=>_0x158b4b[_0x1690d1(0x4e7)]()),this['_entities'][_0x1690d1(0x285)]();}[_0x4478c1(0x410)](_0x628630){const _0x176de5=_0x4478c1;var _0x111c9e;return(_0x111c9e=this[_0x176de5(0x38c)][_0x176de5(0x115)](_0x628630))!=null?_0x111c9e:null;}[_0x4478c1(0x38e)](_0x476d5b){const _0x74f3b=_0x4478c1,_0x5159d3=this[_0x74f3b(0x410)](_0x476d5b);return _0x5159d3?_0x818dd8['of'](_0x5159d3):this['_entityInit$'][_0x74f3b(0x4c4)](_0x58132b[_0x74f3b(0x3a9)](_0x421d10=>_0x421d10[_0x74f3b(0x2b0)]===_0x476d5b));}[_0x4478c1(0x12b)](){const _0x358458=_0x4478c1;this[_0x358458(0x35b)]['getTypeOfUnitAdded$'](_0x3c1a84[_0x358458(0x2d9)][_0x358458(0x13a)])[_0x358458(0x4c4)](_0x818dd8[_0x358458(0x439)](this[_0x358458(0x23a)]),_0x58132b[_0x358458(0x129)](0x10))[_0x358458(0x3aa)](async _0x27d437=>{const _0x66a1ee=_0x358458,_0x3df947=_0x27d437[_0x66a1ee(0x2b5)](),_0x64fd77=await this[_0x66a1ee(0x1ff)](_0x3df947,_0x4d76be[_0x66a1ee(0x13a)]);this['_entities']['set'](_0x3df947,_0x64fd77);}),this[_0x358458(0x35b)][_0x358458(0x3d1)](_0x3c1a84['UniverInstanceType'][_0x358458(0x3d0)])['pipe'](_0x818dd8[_0x358458(0x439)](this[_0x358458(0x23a)]),_0x58132b[_0x358458(0x129)](0x10))['pipe'](_0x58132b[_0x358458(0x3a9)](_0x26e838=>!_0x26e838[_0x358458(0x2b5)]()[_0x358458(0x1c7)]('__')))[_0x358458(0x3aa)](async _0x4c013f=>{const _0x23f03a=_0x358458,_0x2d2eaf=_0x4c013f[_0x23f03a(0x2b5)](),_0x5e7cf3=await this[_0x23f03a(0x1ff)](_0x2d2eaf,_0x4d76be['UNIVER_DOC']);this[_0x23f03a(0x38c)][_0x23f03a(0x53e)](_0x2d2eaf,_0x5e7cf3);}),_0x818dd8[_0x358458(0x356)](this[_0x358458(0x35b)][_0x358458(0x44b)](_0x3c1a84['UniverInstanceType'][_0x358458(0x13a)]),this[_0x358458(0x35b)][_0x358458(0x44b)](_0x3c1a84[_0x358458(0x2d9)][_0x358458(0x3d0)]))[_0x358458(0x4c4)](_0x818dd8['takeUntil'](this[_0x358458(0x23a)]))[_0x358458(0x3aa)](_0x20ac83=>{const _0x4890c0=_0x358458,_0x33a9de=_0x20ac83[_0x4890c0(0x2b5)](),_0x3547cf=this['_entities']['get'](_0x33a9de);_0x3547cf&&(_0x3547cf['dispose'](),this['_entities'][_0x4890c0(0x354)](_0x33a9de));});}async['_startCollaboration'](_0x31f10e,_0x520353){const _0x58e6f9=_0x4478c1,_0x5ce32c=await this[_0x58e6f9(0x49c)][_0x58e6f9(0x11c)](_0x31f10e),_0x434f2c=this[_0x58e6f9(0x391)][_0x58e6f9(0x47c)](this[_0x58e6f9(0x3b4)](_0x520353),_0x31f10e,_0x520353,_0x5ce32c);return await _0x434f2c[_0x58e6f9(0x479)](),this[_0x58e6f9(0x54f)][_0x58e6f9(0xdb)](_0x434f2c),_0x434f2c;}[_0x4478c1(0x3b4)](_0x32713d){const _0x5af853=_0x4478c1;switch(_0x32713d){case _0x4d76be[_0x5af853(0x3d0)]:return _0x1191ba[_0x5af853(0x12f)];case _0x4d76be['UNIVER_SHEET']:return _0x1191ba[_0x5af853(0xe3)];default:throw new Error(_0x5af853(0x50d)+_0x32713d);}}},_0x1191ba[_0x4478c1(0x1ca)]=_0xa38291([_0x37de54(0x0,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x30e)])),_0x37de54(0x1,_0x3c1a84['Inject'](_0x1191ba[_0x4478c1(0x2b7)])),_0x37de54(0x2,_0x3c1a84[_0x4478c1(0x3d5)])],_0x1191ba['CollaborationController']);var _0xc2aa21=Object[_0x4478c1(0x19b)],_0x49d199=Object[_0x4478c1(0x4d8)],_0x232e27=(_0x3673fd,_0x43b5d0,_0x5f47c7,_0x353ff4)=>{const _0xea89da=_0x4478c1;for(var _0x56c19a=_0x353ff4>0x1?void 0x0:_0x353ff4?_0x49d199(_0x43b5d0,_0x5f47c7):_0x43b5d0,_0x314270=_0x3673fd[_0xea89da(0x315)]-0x1,_0x48456b;_0x314270>=0x0;_0x314270--)(_0x48456b=_0x3673fd[_0x314270])&&(_0x56c19a=(_0x353ff4?_0x48456b(_0x43b5d0,_0x5f47c7,_0x56c19a):_0x48456b(_0x56c19a))||_0x56c19a);return _0x353ff4&&_0x56c19a&&_0xc2aa21(_0x43b5d0,_0x5f47c7,_0x56c19a),_0x56c19a;},_0x22fb4a=(_0x41fb1d,_0x1ed70b)=>(_0xf8fe20,_0x2673e)=>_0x1ed70b(_0xf8fe20,_0x2673e,_0x41fb1d);let _0x9c8b5f=class extends _0x3c1a84[_0x4478c1(0x2a0)]{constructor(_0x51106b,_0x5d84a8){const _0x23371c=_0x4478c1;super(),this['_docClipboardService']=_0x51106b,this[_0x23371c(0x379)]=_0x5d84a8,this['_init']();}[_0x4478c1(0x12b)](){const _0x308d25=_0x4478c1,_0x116210=this;this[_0x308d25(0xe5)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x32b767=>{const _0x41f53e=_0x308d25,_0x2c1948=await _0x116210[_0x41f53e(0x379)][_0x41f53e(0xbf)](_0x32b767);return _0x2c1948?{'source':_0x2c1948['source'],'imageSourceType':_0x2c1948[_0x41f53e(0x2af)]}:null;}}));}};_0x9c8b5f=_0x232e27([_0x22fb4a(0x0,_0x488d74[_0x4478c1(0x1ee)]),_0x22fb4a(0x1,_0x18d697['IImageIoService'])],_0x9c8b5f);const _0x2922b4=[_0x4478c1(0x510),_0x4478c1(0x1e2),_0x4478c1(0x468),'red300',_0x4478c1(0x506),_0x4478c1(0x46c)];class _0x329ecc extends _0x3c1a84[_0x4478c1(0x4ec)]{constructor(){const _0x1b2bd4=_0x4478c1;super(...arguments),_0xa880cb(this,_0x1b2bd4(0x185),new Map()),_0xa880cb(this,_0x1b2bd4(0x14d),0x0);}[_0x4478c1(0x37d)](_0x17743a){const _0x14590b=_0x4478c1;if(this[_0x14590b(0x185)][_0x14590b(0x431)](_0x17743a))return this['_assignedColors'][_0x14590b(0x115)](_0x17743a);const _0x4d6bc7=_0x2922b4[this[_0x14590b(0x14d)]];return this[_0x14590b(0x14d)]=(this[_0x14590b(0x14d)]+0x1)%_0x2922b4[_0x14590b(0x315)],this['_assignedColors'][_0x14590b(0x53e)](_0x17743a,_0x4d6bc7),_0x4d6bc7;}}var _0x426787=Object[_0x4478c1(0x19b)],_0x31c1d7=Object['getOwnPropertyDescriptor'],_0xb9851d=(_0x341103,_0x2a9c40,_0x4ec2be,_0x42dcef)=>{const _0x266af8=_0x4478c1;for(var _0xa58124=_0x42dcef>0x1?void 0x0:_0x42dcef?_0x31c1d7(_0x2a9c40,_0x4ec2be):_0x2a9c40,_0xbe989a=_0x341103[_0x266af8(0x315)]-0x1,_0x19e572;_0xbe989a>=0x0;_0xbe989a--)(_0x19e572=_0x341103[_0xbe989a])&&(_0xa58124=(_0x42dcef?_0x19e572(_0x2a9c40,_0x4ec2be,_0xa58124):_0x19e572(_0xa58124))||_0xa58124);return _0x42dcef&&_0xa58124&&_0x426787(_0x2a9c40,_0x4ec2be,_0xa58124),_0xa58124;},_0x3c289d=(_0x1e773e,_0x1707c9)=>(_0x2deec2,_0x2e590f)=>_0x1707c9(_0x2deec2,_0x2e590f,_0x1e773e);const _0x5e75cd=0x12c,_0x1c5485=0x64;let _0x3213d7=class extends _0x3c1a84['RxDisposable']{constructor(_0x331118,_0x5d3415,_0x553460,_0x4f529b,_0x23dff2,_0x1ad49c,_0x1a8114,_0x4cc663,_0x1971a3){const _0x20bf16=_0x4478c1;super(),_0xa880cb(this,_0x20bf16(0x533),!0x1),_0xa880cb(this,_0x20bf16(0x12b),!0x1),_0xa880cb(this,_0x20bf16(0x274),new _0x818dd8[(_0x20bf16(0x122))](new Map())),_0xa880cb(this,_0x20bf16(0xd1),this[_0x20bf16(0x274)]['asObservable']()),_0xa880cb(this,'_roomMembers$',new _0x818dd8[(_0x20bf16(0x122))]([])),_0xa880cb(this,'roomMembers$',this[_0x20bf16(0x1c9)][_0x20bf16(0x4c4)](_0x818dd8[_0x20bf16(0x4bc)](_0x5e75cd))),_0xa880cb(this,_0x20bf16(0x377),_0x3c1a84[_0x20bf16(0x437)](_0x5bb7e7=>{const _0x2f71e1=_0x20bf16,_0x671509={'eventID':_0xa820f[_0x2f71e1(0x12d)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x2f71e1(0x2b0)],'memberID':this[_0x2f71e1(0x20f)][_0x2f71e1(0x4a8)](),'selection':_0x210716(_0x5bb7e7)}};this['_session'][_0x2f71e1(0x51b)](_0x671509,this[_0x2f71e1(0x2b0)]);},_0x1c5485)),(this[_0x20bf16(0x2b0)]=_0x331118,this[_0x20bf16(0x20f)]=_0x5d3415,this['_injector']=_0x553460,this['_colorAssignService']=_0x4f529b,this[_0x20bf16(0x51d)]=_0x23dff2,this[_0x20bf16(0x52a)]=_0x1ad49c,this[_0x20bf16(0x56c)]=_0x1a8114,this[_0x20bf16(0x35b)]=_0x4cc663,this['_commandService']=_0x1971a3);}get[_0x4478c1(0x22a)](){const _0x473bcc=_0x4478c1;return this[_0x473bcc(0x274)][_0x473bcc(0x4c5)]();}get[_0x4478c1(0x545)](){const _0x17a1d7=_0x4478c1;return this[_0x17a1d7(0x1c9)][_0x17a1d7(0x4c5)]();}[_0x4478c1(0x4e7)](){const _0x4420f1=_0x4478c1;super[_0x4420f1(0x4e7)](),this[_0x4420f1(0x274)][_0x4420f1(0xdb)](new Map()),this[_0x4420f1(0x274)][_0x4420f1(0x121)](),this[_0x4420f1(0x1c9)][_0x4420f1(0xdb)]([]),this[_0x4420f1(0x1c9)]['complete']();}[_0x4478c1(0x479)](){const _0x1bbb56=_0x4478c1;this['_init']||(this[_0x1bbb56(0x12b)]=!0x0,this[_0x1bbb56(0x20f)][_0x1bbb56(0x1ed)][_0x1bbb56(0x4c4)](_0x818dd8['takeUntil'](this['dispose$']))['subscribe'](_0x457fef=>{const _0x4b3683=_0x1bbb56;_0x457fef===_0x417df1[_0x4b3683(0x150)]?this[_0x4b3683(0xfc)]():this[_0x4b3683(0x31d)]();}),this['_session']['event$'][_0x1bbb56(0x4c4)](_0x818dd8[_0x1bbb56(0x439)](this[_0x1bbb56(0x23a)]))[_0x1bbb56(0x3aa)](_0x383b49=>{const _0x17fa1e=_0x1bbb56,_0x382b4e=_0x383b49[_0x17fa1e(0x204)];_0x382b4e===_0xa820f['CollaborationEvent'][_0x17fa1e(0x541)]&&this[_0x17fa1e(0x42d)](_0x383b49),_0x382b4e===_0xa820f['CollaborationEvent'][_0x17fa1e(0x4f9)]&&this[_0x17fa1e(0xeb)](_0x383b49);}),this[_0x1bbb56(0xe5)](this[_0x1bbb56(0x292)][_0x1bbb56(0x4ad)](_0x56f8fc=>{const _0x29b140=_0x1bbb56,_0x420d55=_0x56f8fc['params'];_0x420d55!=null&&this['_online']&&_0x56f8fc['id']===_0x2a5ff4['SetTextSelectionsOperation']['id']&&_0x420d55[_0x29b140(0x214)]===this[_0x29b140(0x2b0)]&&_0x420d55[_0x29b140(0x226)]===!0x1&&_0x420d55[_0x29b140(0xc7)][_0x29b140(0x315)]>0x0&&this[_0x29b140(0x377)](_0x420d55[_0x29b140(0xc7)]);})),this[_0x1bbb56(0x52a)][_0x1bbb56(0x34e)][_0x1bbb56(0x4c4)](_0x818dd8['takeUntil'](this[_0x1bbb56(0x23a)]))[_0x1bbb56(0x3aa)](_0x8f5c65=>{const _0x1a88c0=_0x1bbb56;if((_0x8f5c65==null?void 0x0:_0x8f5c65[_0x1a88c0(0x2b0)])!==this[_0x1a88c0(0x2b0)])return;const _0x11cb73={'eventID':_0xa820f[_0x1a88c0(0x12d)]['UPDATE_CURSOR'],'data':_0x8f5c65};this[_0x1a88c0(0x42d)](_0x11cb73);}),this[_0x1bbb56(0xe5)](this[_0x1bbb56(0x292)][_0x1bbb56(0x4ad)](_0x52dc0b=>{const _0x4ea16d=_0x1bbb56;if(_0x52dc0b[_0x4ea16d(0x1a8)]==null)return;const _0x5579d4=_0x52dc0b[_0x4ea16d(0x1a8)];if(_0x52dc0b['id']!==_0x2a5ff4[_0x4ea16d(0xdf)]['id']||_0x5579d4[_0x4ea16d(0x214)]!==this[_0x4ea16d(0x2b0)])return;const _0x5e6e7d={'id':_0x4ea16d(0x44a),'params':_0x5579d4},_0x34a7d9=this[_0x4ea16d(0x22a)];for(const [_0x169acd,_0x2ee701]of _0x34a7d9){const _0x48b5d3={'id':_0x4ea16d(0x44a),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x2ee701[_0x4ea16d(0xc7)]}},_0x40d22a=this[_0x4ea16d(0x56c)]['transformMutation'](_0x5e6e7d,_0x48b5d3,!0x1);if(_0xa820f['isTransformMutationFailure'](_0x40d22a))throw _0x40d22a[_0x4ea16d(0x17c)];_0x34a7d9[_0x4ea16d(0x53e)](_0x169acd,{..._0x2ee701,'ranges':_0x40d22a[_0x4ea16d(0x1cb)][_0x4ea16d(0x1a8)][_0x4ea16d(0x3dd)]});}queueMicrotask(()=>{const _0xfe3e01=_0x4ea16d;this['_cursorInfo$'][_0xfe3e01(0xdb)](_0x34a7d9);});})));}[_0x4478c1(0x42d)](_0xb7b7c1){const _0x359e84=_0x4478c1;var _0x209152,_0x5ace95;const {memberID:_0x3e3ebf,selection:_0xc34b19}=_0xb7b7c1[_0x359e84(0x2d6)],_0x1f9ccc=_0x55561c(_0xc34b19),_0x642087=(_0x5ace95=(_0x209152=this['_memberService'][_0x359e84(0x100)](this[_0x359e84(0x2b0)],_0x3e3ebf))==null?void 0x0:_0x209152[_0x359e84(0x3d7)])!=null?_0x5ace95:_0x359e84(0x148),_0x59cfa9={'color':this[_0x359e84(0x256)][_0x359e84(0x37d)](_0x3e3ebf),'name':_0x642087,'ranges':_0x1f9ccc},_0x4cc1be=this['cursorInfo'];_0x4cc1be[_0x359e84(0x53e)](_0x3e3ebf,_0x59cfa9),this['_cursorInfo$'][_0x359e84(0xdb)](_0x4cc1be);}['_onCursorDelete'](_0x10373d){const _0x542e22=_0x4478c1,{memberID:_0xc8effd}=_0x10373d['data'],_0x530a38=this[_0x542e22(0x22a)];_0x530a38[_0x542e22(0x354)](_0xc8effd),this[_0x542e22(0x274)][_0x542e22(0xdb)](_0x530a38);}['_toggleOnline'](){const _0x4dbf37=_0x4478c1;var _0x41a29e;if(this['_online']=!0x0,((_0x41a29e=this[_0x4dbf37(0x35b)][_0x4dbf37(0x142)]())==null?void 0x0:_0x41a29e['getUnitId']())!==this[_0x4dbf37(0x2b0)])return;const _0x573ebd=this[_0x4dbf37(0x391)][_0x4dbf37(0x115)](_0x2a5ff4[_0x4dbf37(0x1ac)])[_0x4dbf37(0x2e8)]();Array[_0x4dbf37(0x351)](_0x573ebd)&&_0x573ebd['length']>0x0&&this[_0x4dbf37(0x377)](_0x573ebd);}[_0x4478c1(0x31d)](){const _0x25c39a=_0x4478c1;this[_0x25c39a(0x533)]=!0x1;}};_0x3213d7=_0xb9851d([_0x3c289d(0x2,_0x3c1a84['Inject'](_0x3c1a84[_0x4478c1(0x30e)])),_0x3c289d(0x3,_0x3c1a84[_0x4478c1(0x3dc)](_0x329ecc)),_0x3c289d(0x4,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba[_0x4478c1(0x2a8)])),_0x3c289d(0x5,_0x3c1a84['Inject'](_0x159dfb)),_0x3c289d(0x6,_0xa820f['ITransformService']),_0x3c289d(0x7,_0x3c1a84[_0x4478c1(0x3d5)]),_0x3c289d(0x8,_0x3c1a84['ICommandService'])],_0x3213d7);var _0x4191bd=Object[_0x4478c1(0x19b)],_0x316719=Object[_0x4478c1(0x4d8)],_0x451344=(_0x2866cb,_0x50d6c9,_0x4f388d,_0x15679e)=>{const _0x4340d6=_0x4478c1;for(var _0x5b1311=_0x15679e>0x1?void 0x0:_0x15679e?_0x316719(_0x50d6c9,_0x4f388d):_0x50d6c9,_0x548c22=_0x2866cb[_0x4340d6(0x315)]-0x1,_0x51484e;_0x548c22>=0x0;_0x548c22--)(_0x51484e=_0x2866cb[_0x548c22])&&(_0x5b1311=(_0x15679e?_0x51484e(_0x50d6c9,_0x4f388d,_0x5b1311):_0x51484e(_0x5b1311))||_0x5b1311);return _0x15679e&&_0x5b1311&&_0x4191bd(_0x50d6c9,_0x4f388d,_0x5b1311),_0x5b1311;},_0x5dd972=(_0x3553a9,_0x109e93)=>(_0x9d7595,_0x49d480)=>_0x109e93(_0x9d7595,_0x49d480,_0x3553a9);const _0x36f39a=0x12c,_0x446a53=0x64,_0x4639fe=()=>{let _0x3d1aab=[],_0x1869ec=!0x1;return _0x1c9143=>{_0x3d1aab['push'](_0x1c9143),_0x1869ec||(_0x1869ec=!0x0,setTimeout(()=>{_0x3d1aab['forEach'](_0x13fc9c=>_0x13fc9c()),_0x3d1aab=[],_0x1869ec=!0x1;}));};};let _0x53eec0=class extends _0x3c1a84[_0x4478c1(0x2a0)]{constructor(_0x361be7,_0x57aeff,_0x47e1a7,_0x3f4be8,_0x516267,_0x26c8c9,_0x153dc2,_0x4613f0){const _0x204e95=_0x4478c1;super(),_0xa880cb(this,_0x204e95(0x533),!0x1),_0xa880cb(this,'_init',!0x1),_0xa880cb(this,_0x204e95(0x274),new _0x818dd8[(_0x204e95(0x122))](new Map())),_0xa880cb(this,_0x204e95(0xd1),this[_0x204e95(0x274)]['asObservable']()),_0xa880cb(this,_0x204e95(0x1c9),new _0x818dd8['BehaviorSubject']([])),_0xa880cb(this,_0x204e95(0x151),this[_0x204e95(0x1c9)][_0x204e95(0x4c4)](_0x818dd8[_0x204e95(0x4bc)](_0x36f39a))),_0xa880cb(this,_0x204e95(0x377),_0x3c1a84[_0x204e95(0x437)]((_0x3150cb,_0x53c166)=>{const _0x55ec7b=_0x204e95,_0x58a08c={'eventID':_0xa820f['CollaborationEvent'][_0x55ec7b(0x541)],'data':{'unitID':this[_0x55ec7b(0x2b0)],'memberID':this[_0x55ec7b(0x20f)][_0x55ec7b(0x4a8)](),'selection':_0x457450[_0x55ec7b(0x2fc)](_0x3150cb,_0x53c166[_0x55ec7b(0x3a0)])}};this['_session'][_0x55ec7b(0x51b)](_0x58a08c,this[_0x55ec7b(0x2b0)]);},_0x446a53)),(this[_0x204e95(0x2b0)]=_0x361be7,this[_0x204e95(0x20f)]=_0x57aeff,this['_injector']=_0x47e1a7,this[_0x204e95(0x256)]=_0x3f4be8,this[_0x204e95(0x51d)]=_0x516267,this['_univerInstanceService']=_0x26c8c9,this[_0x204e95(0x292)]=_0x153dc2,this['_refRangeService']=_0x4613f0);}get['cursorInfo'](){const _0x20d2fc=_0x4478c1;return this[_0x20d2fc(0x274)][_0x20d2fc(0x4c5)]();}get[_0x4478c1(0x545)](){const _0xf26df0=_0x4478c1;return this[_0xf26df0(0x1c9)][_0xf26df0(0x4c5)]();}[_0x4478c1(0x4e7)](){const _0x3e8d1d=_0x4478c1;super['dispose'](),this[_0x3e8d1d(0x274)]['next'](new Map()),this['_cursorInfo$'][_0x3e8d1d(0x121)](),this['_roomMembers$'][_0x3e8d1d(0xdb)]([]),this['_roomMembers$'][_0x3e8d1d(0x121)]();}[_0x4478c1(0x479)](){const _0x17e59c=_0x4478c1;this[_0x17e59c(0x12b)]||(this[_0x17e59c(0x12b)]=!0x0,this[_0x17e59c(0x20f)]['sessionStatus$'][_0x17e59c(0x4c4)](_0x818dd8[_0x17e59c(0x439)](this[_0x17e59c(0x23a)]))[_0x17e59c(0x3aa)](_0x34624f=>{const _0x4b76f1=_0x17e59c;_0x34624f===_0x417df1['ONLINE']?this[_0x4b76f1(0xfc)]():this[_0x4b76f1(0x31d)]();}),this[_0x17e59c(0x20f)][_0x17e59c(0x3fb)][_0x17e59c(0x4c4)](_0x818dd8[_0x17e59c(0x439)](this[_0x17e59c(0x23a)]))[_0x17e59c(0x3aa)](_0x17c04f=>{const _0x43acad=_0x17e59c,_0x1592f9=_0x17c04f[_0x43acad(0x204)];_0x1592f9===_0xa820f[_0x43acad(0x12d)][_0x43acad(0x541)]&&this[_0x43acad(0x42d)](_0x17c04f),_0x1592f9===_0xa820f['CollaborationEvent'][_0x43acad(0x4f9)]&&this[_0x43acad(0xeb)](_0x17c04f);}),this[_0x17e59c(0x4cf)](),this['disposeWithMe'](this[_0x17e59c(0x292)][_0x17e59c(0x4ad)](_0x34f6fd=>{const _0x40f7fc=_0x17e59c;if(this[_0x40f7fc(0x533)]&&_0x34f6fd['id']===_0x16d7e8['SetSelectionsOperation']['id']&&_0x34f6fd[_0x40f7fc(0x1a8)][_0x40f7fc(0x214)]===this[_0x40f7fc(0x2b0)]){const _0x382993=_0x34f6fd[_0x40f7fc(0x1a8)];this['_updateLocalCursor'](_0x382993[_0x40f7fc(0x493)],_0x382993[_0x40f7fc(0x4ce)][0x0]);}})));}[_0x4478c1(0x42d)](_0x3ec201){const _0x1d29df=_0x4478c1;var _0x1ac49d,_0x17a1cd;const {memberID:_0x48ec1d,selection:_0x33bb5f}=_0x3ec201['data'],{sheetName:_0x43fb8f,range:_0x4ff437}=_0x457450[_0x1d29df(0x51a)](_0x33bb5f),_0x9b5480={'name':(_0x17a1cd=(_0x1ac49d=this[_0x1d29df(0x51d)][_0x1d29df(0x100)](this[_0x1d29df(0x2b0)],_0x48ec1d))==null?void 0x0:_0x1ac49d[_0x1d29df(0x3d7)])!=null?_0x17a1cd:_0x1d29df(0x148),'range':this['_getMergeRange'](_0x43fb8f,_0x4ff437),'sheetID':_0x43fb8f,'color':this['_colorAssignService'][_0x1d29df(0x37d)](_0x48ec1d),'selection':_0x33bb5f},_0x51a0c8=this[_0x1d29df(0x22a)];_0x51a0c8[_0x1d29df(0x53e)](_0x48ec1d,_0x9b5480),this[_0x1d29df(0x274)][_0x1d29df(0xdb)](_0x51a0c8);}[_0x4478c1(0xeb)](_0x3797b6){const _0x47c83d=_0x4478c1,{memberID:_0x38639c}=_0x3797b6[_0x47c83d(0x2d6)],_0x38fb33=this['cursorInfo'];_0x38fb33[_0x47c83d(0x354)](_0x38639c),this[_0x47c83d(0x274)][_0x47c83d(0xdb)](_0x38fb33);}[_0x4478c1(0x24e)](_0x6ed9d,_0x54607a){const _0x5bfe3b=_0x4478c1;var _0x8e3b63,_0x1f2c0e;const _0x4e8cb3=(_0x1f2c0e=(_0x8e3b63=this[_0x5bfe3b(0x35b)]['getUniverSheetInstance'](this[_0x5bfe3b(0x2b0)]))==null?void 0x0:_0x8e3b63[_0x5bfe3b(0x561)](_0x6ed9d))==null?void 0x0:_0x1f2c0e[_0x5bfe3b(0x34f)]();return(_0x4e8cb3==null?void 0x0:_0x4e8cb3[_0x5bfe3b(0x490)](_0x28e97e=>_0x3c1a84['Rectangle'][_0x5bfe3b(0x473)](_0x28e97e,_0x54607a)))||_0x54607a;}[_0x4478c1(0x4cf)](){const _0x2a7883=_0x4478c1,_0x1048f7=new _0x3c1a84[(_0x2a7883(0x316))](),_0x53b507=_0x4639fe(),_0x289689=()=>{const _0x3e7ec9=_0x2a7883;_0x1048f7[_0x3e7ec9(0x4e7)]();const _0xc06fd1=(_0x25cf34,_0x2bab2e,_0x2f78e5,_0x4900e8)=>{const _0x59342a=_0x3e7ec9;let _0x208bd1=[];switch(_0x25cf34['id']){case _0x16d7e8[_0x59342a(0x24c)][_0x59342a(0x278)]:{_0x208bd1=_0x16d7e8[_0x59342a(0x152)](_0x25cf34,_0x4900e8);break;}case _0x16d7e8['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x208bd1=_0x16d7e8[_0x59342a(0x395)](_0x25cf34,_0x4900e8);break;}case _0x16d7e8[_0x59342a(0x24c)]['InsertColCommandId']:{_0x208bd1=_0x16d7e8[_0x59342a(0x1fd)](_0x25cf34,_0x4900e8);break;}case _0x16d7e8['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x208bd1=_0x16d7e8['handleInsertRangeMoveDown'](_0x25cf34,_0x4900e8);break;}case _0x16d7e8['EffectRefRangId'][_0x59342a(0x486)]:{_0x208bd1=_0x16d7e8[_0x59342a(0x186)](_0x25cf34,_0x4900e8);break;}case _0x16d7e8[_0x59342a(0x24c)][_0x59342a(0x198)]:{_0x208bd1=_0x16d7e8[_0x59342a(0x402)](_0x25cf34,_0x4900e8);break;}case _0x16d7e8[_0x59342a(0x24c)]['MoveRangeCommandId']:{_0x208bd1=_0x16d7e8[_0x59342a(0x289)](_0x25cf34,_0x4900e8);break;}case _0x16d7e8['EffectRefRangId'][_0x59342a(0x45d)]:{_0x208bd1=_0x16d7e8[_0x59342a(0x28c)](_0x25cf34,_0x4900e8);break;}case _0x16d7e8[_0x59342a(0x24c)]['RemoveRowCommandId']:{_0x208bd1=_0x16d7e8[_0x59342a(0x3ad)](_0x25cf34,_0x4900e8);break;}}const _0xa1c7bd=_0x16d7e8[_0x59342a(0x371)](_0x208bd1,_0x4900e8),_0x96b43c=this[_0x59342a(0x22a)][_0x59342a(0x115)](_0x2bab2e);if(_0x96b43c&&_0xa1c7bd){const _0x278f42={..._0x96b43c,'range':_0xa1c7bd};this['cursorInfo'][_0x59342a(0x53e)](_0x2bab2e,_0x278f42),_0x53b507(()=>{const _0x594e6e=_0x59342a,_0x4089af=this[_0x594e6e(0x453)][_0x594e6e(0xf0)](_0xa1c7bd,_0x467d9a=>(_0x4089af[_0x594e6e(0x4e7)](),_0xc06fd1(_0x467d9a,_0x2bab2e,_0x2f78e5,_0xa1c7bd)));_0x1048f7[_0x594e6e(0x560)](_0x4089af);});}return{'redos':[],'undos':[]};};this[_0x3e7ec9(0x22a)][_0x3e7ec9(0x3b6)]((_0x5fee7f,_0x43c3f)=>{const _0x16da1d=_0x3e7ec9,{range:_0x34c0d8,sheetID:_0x5a1d54}=_0x5fee7f,_0x4b2767=this[_0x16da1d(0x453)][_0x16da1d(0xf0)](_0x34c0d8,_0x2b7ff7=>(_0x4b2767[_0x16da1d(0x4e7)](),_0xc06fd1(_0x2b7ff7,_0x43c3f,_0x5a1d54,_0x34c0d8)));_0x1048f7[_0x16da1d(0x560)](_0x4b2767);});};this[_0x2a7883(0xe5)](_0x3c1a84['toDisposable'](this['_cursorInfo$'][_0x2a7883(0x3aa)](()=>{_0x289689();})));}[_0x4478c1(0xfc)](){const _0x4ffca1=_0x4478c1;var _0x43e4a8,_0x209e52;if(this[_0x4ffca1(0x533)]=!0x0,((_0x43e4a8=this[_0x4ffca1(0x35b)][_0x4ffca1(0x142)]())==null?void 0x0:_0x43e4a8[_0x4ffca1(0x2b5)]())!==this['unitID'])return;const _0x8471bb=(_0x209e52=this[_0x4ffca1(0x391)]['get'](_0x16d7e8[_0x4ffca1(0x412)])[_0x4ffca1(0x303)]())==null?void 0x0:_0x209e52[0x0],_0x119b20=this[_0x4ffca1(0x35b)][_0x4ffca1(0x1b8)](_0x3c1a84['UniverInstanceType'][_0x4ffca1(0x13a)])['getActiveSheet']();_0x8471bb&&_0x119b20&&this['_updateLocalCursor'](_0x119b20[_0x4ffca1(0x507)](),_0x8471bb);}[_0x4478c1(0x31d)](){const _0x5b6907=_0x4478c1;this[_0x5b6907(0x533)]=!0x1;}};_0x53eec0=_0x451344([_0x5dd972(0x2,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x30e)])),_0x5dd972(0x3,_0x3c1a84[_0x4478c1(0x3dc)](_0x329ecc)),_0x5dd972(0x4,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba[_0x4478c1(0x2a8)])),_0x5dd972(0x5,_0x3c1a84[_0x4478c1(0x3d5)]),_0x5dd972(0x6,_0x3c1a84['ICommandService']),_0x5dd972(0x7,_0x3c1a84['Inject'](_0x16d7e8['RefRangeService']))],_0x53eec0);var _0x516a53=Object[_0x4478c1(0x19b)],_0x2c64b4=Object['getOwnPropertyDescriptor'],_0x4e4a34=(_0x1d8337,_0x2b96df,_0x502f8a,_0x2c0f89)=>{const _0x95f61d=_0x4478c1;for(var _0x1407b9=_0x2c0f89>0x1?void 0x0:_0x2c0f89?_0x2c64b4(_0x2b96df,_0x502f8a):_0x2b96df,_0x8b90db=_0x1d8337[_0x95f61d(0x315)]-0x1,_0x2aea0f;_0x8b90db>=0x0;_0x8b90db--)(_0x2aea0f=_0x1d8337[_0x8b90db])&&(_0x1407b9=(_0x2c0f89?_0x2aea0f(_0x2b96df,_0x502f8a,_0x1407b9):_0x2aea0f(_0x1407b9))||_0x1407b9);return _0x2c0f89&&_0x1407b9&&_0x516a53(_0x2b96df,_0x502f8a,_0x1407b9),_0x1407b9;},_0x338c41=(_0x58c745,_0x3e6536)=>(_0x41d35e,_0x299964)=>_0x3e6536(_0x41d35e,_0x299964,_0x58c745);let _0x5c8917=class extends _0x3c1a84[_0x4478c1(0x2a0)]{constructor(_0x22ab41,_0xa26039,_0x4a57f5){const _0x4396e9=_0x4478c1;super(),_0xa880cb(this,_0x4396e9(0x38c),new Map()),_0xa880cb(this,_0x4396e9(0x54f),new _0x818dd8[(_0x4396e9(0x245))]()),(this[_0x4396e9(0x35b)]=_0x22ab41,this['_injector']=_0xa26039,this[_0x4396e9(0x49c)]=_0x4a57f5,this[_0x4396e9(0x12b)]());}[_0x4478c1(0x4e7)](){const _0x218660=_0x4478c1;super[_0x218660(0x4e7)](),this[_0x218660(0x54f)][_0x218660(0x121)](),this[_0x218660(0x38c)][_0x218660(0x3b6)](_0x1fb46b=>_0x1fb46b['dispose']());}[_0x4478c1(0x417)](_0x1d293b){const _0x50adec=_0x4478c1;return this['_entities'][_0x50adec(0x431)](_0x1d293b)?this['_entities'][_0x50adec(0x115)](_0x1d293b)['cursorInfo$']:this[_0x50adec(0x54f)]['pipe'](_0x818dd8[_0x50adec(0x3a9)](_0x351370=>_0x351370['unitID']===_0x1d293b),_0x818dd8[_0x50adec(0x3f5)](_0x5838a8=>_0x5838a8['cursorInfo$']));}[_0x4478c1(0x12b)](){const _0x344264=_0x4478c1;this['_univerInstanceService'][_0x344264(0x3d1)](_0x3c1a84[_0x344264(0x2d9)]['UNIVER_SHEET'])[_0x344264(0x4c4)](_0x818dd8['takeUntil'](this[_0x344264(0x23a)]))[_0x344264(0x3aa)](async _0x1e16de=>{const _0x373c15=_0x344264,_0x2c4ad5=_0x1e16de['getUnitId'](),_0x56cae3=await this['_startSheetCollabCursor'](_0x2c4ad5);this[_0x373c15(0x54f)][_0x373c15(0xdb)](_0x56cae3),this[_0x373c15(0x38c)][_0x373c15(0x53e)](_0x2c4ad5,_0x56cae3);}),this[_0x344264(0x35b)][_0x344264(0x3d1)](_0x3c1a84[_0x344264(0x2d9)][_0x344264(0x3d0)])[_0x344264(0x4c4)](_0x818dd8[_0x344264(0x439)](this[_0x344264(0x23a)]))['pipe'](_0x818dd8['filter'](_0x12463d=>!_0x12463d[_0x344264(0x2b5)]()[_0x344264(0x1c7)]('__')))[_0x344264(0x3aa)](async _0xc64a39=>{const _0x29ca28=_0x344264,_0x18ef6c=_0xc64a39[_0x29ca28(0x2b5)](),_0x580c7b=await this['_startDocCollabCursor'](_0x18ef6c);this[_0x29ca28(0x54f)][_0x29ca28(0xdb)](_0x580c7b),this['_entities']['set'](_0x18ef6c,_0x580c7b);}),_0x818dd8['merge'](this[_0x344264(0x35b)][_0x344264(0x44b)](_0x3c1a84[_0x344264(0x2d9)][_0x344264(0x3d0)]),this[_0x344264(0x35b)]['getTypeOfUnitDisposed$'](_0x3c1a84[_0x344264(0x2d9)][_0x344264(0x13a)]))['pipe'](_0x818dd8['takeUntil'](this[_0x344264(0x23a)]))[_0x344264(0x3aa)](_0x3ed0cb=>{const _0x2bbaed=_0x344264,_0x33c63e=_0x3ed0cb[_0x2bbaed(0x2b5)](),_0x1f0f44=this[_0x2bbaed(0x38c)][_0x2bbaed(0x115)](_0x33c63e);_0x1f0f44&&(_0x1f0f44[_0x2bbaed(0x4e7)](),this['_entities'][_0x2bbaed(0x354)](_0x33c63e));});}async[_0x4478c1(0x387)](_0x52bc6f){const _0x1d45ab=_0x4478c1,_0x2dc0cc=await this[_0x1d45ab(0x49c)][_0x1d45ab(0x11c)](_0x52bc6f),_0x4e9d5b=this[_0x1d45ab(0x391)][_0x1d45ab(0x47c)](_0x53eec0,_0x52bc6f,_0x2dc0cc);return _0x4e9d5b[_0x1d45ab(0x479)](),_0x4e9d5b;}async[_0x4478c1(0x29f)](_0x4e6196){const _0x347e4f=_0x4478c1,_0xeaf5b3=await this[_0x347e4f(0x49c)]['requireSession'](_0x4e6196),_0x19ec5c=this[_0x347e4f(0x391)]['createInstance'](_0x3213d7,_0x4e6196,_0xeaf5b3);return _0x19ec5c['init'](),_0x19ec5c;}};_0x5c8917=_0x4e4a34([_0x338c41(0x0,_0x3c1a84['IUniverInstanceService']),_0x338c41(0x1,_0x3c1a84['Inject'](_0x3c1a84[_0x4478c1(0x30e)])),_0x338c41(0x2,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba[_0x4478c1(0x2b7)]))],_0x5c8917);const _0x2e2c48=0x14,_0x3ae7f3=0xc8,_0x5ad6d4=0x4,_0x5efb8e=0x5;function _0x503f0d(_0x8b1e62,_0x416324){const _0x43a132=_0x4478c1;let {radius:_0x203cb2,width:_0x4ae0bb,height:_0x3f4619}=_0x416324;_0x203cb2=_0x203cb2!=null?_0x203cb2:0x0,_0x4ae0bb=_0x4ae0bb!=null?_0x4ae0bb:0x1e,_0x3f4619=_0x3f4619!=null?_0x3f4619:0x1e;let _0x436082=0x0,_0x5836f5=0x0,_0x8d195f=0x0;_0x436082=_0x5836f5=_0x8d195f=Math[_0x43a132(0x2d8)](_0x203cb2,_0x4ae0bb/0x2,_0x3f4619/0x2),_0x8b1e62[_0x43a132(0x23d)](),_0x8b1e62[_0x43a132(0x15a)](_0x436082,0x0),_0x8b1e62[_0x43a132(0x4af)](_0x4ae0bb-_0x5836f5,0x0),_0x8b1e62[_0x43a132(0x2a9)](_0x4ae0bb-_0x5836f5,_0x5836f5,_0x5836f5,Math['PI']*0x3/0x2,0x0,!0x1),_0x8b1e62[_0x43a132(0x4af)](_0x4ae0bb,_0x3f4619-_0x8d195f),_0x8b1e62['arc'](_0x4ae0bb-_0x8d195f,_0x3f4619-_0x8d195f,_0x8d195f,0x0,Math['PI']/0x2,!0x1),_0x8b1e62[_0x43a132(0x4af)](0x0,_0x3f4619),_0x8b1e62[_0x43a132(0x4af)](0x0,_0x436082),_0x8b1e62['arc'](_0x436082,_0x436082,_0x436082,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x8b1e62[_0x43a132(0x3a4)](),_0x416324[_0x43a132(0x215)]&&(_0x8b1e62['save'](),_0x8b1e62[_0x43a132(0xe7)]=_0x416324['fill'],_0x416324['fillRule']===_0x43a132(0x345)?_0x8b1e62[_0x43a132(0x215)](_0x43a132(0x345)):_0x8b1e62['fill'](),_0x8b1e62['restore']());}class _0x4e1f62 extends _0x591f66[_0x4478c1(0x1f0)]{constructor(_0x5696c8,_0x481c28){const _0x978dc9=_0x4478c1;super(_0x5696c8,_0x481c28),_0xa880cb(this,_0x978dc9(0x51f)),_0xa880cb(this,_0x978dc9(0x565)),(this['color']=_0x481c28==null?void 0x0:_0x481c28[_0x978dc9(0x51f)],this[_0x978dc9(0x565)]=_0x481c28==null?void 0x0:_0x481c28[_0x978dc9(0x565)]);}static[_0x4478c1(0xf1)](_0x5f33dc,_0xfb8baa){const _0x391c54=_0x4478c1,{text:_0x335943,color:_0x512a3a}=_0xfb8baa;_0x5f33dc[_0x391c54(0x38b)](),_0x5f33dc['font']=_0x391c54(0x167);const _0x591d5c=_0x5f33dc[_0x391c54(0x12a)](_0x335943)[_0x391c54(0x17f)],_0x2a5620=Math['min'](_0x591d5c+0x2*_0x5ad6d4,_0x3ae7f3);_0x503f0d(_0x5f33dc,{'height':_0x2e2c48,'radius':0x4,'width':_0x2a5620,'fill':_0x512a3a,'evented':!0x1}),_0x5f33dc[_0x391c54(0xe7)]='#FFF';const _0x36b3de=_0x5ad6d4,_0x439558=_0x2e2c48-_0x5efb8e,_0x289072=_0x3ae7f3-0x2*_0x5ad6d4;if(_0x591d5c>_0x289072){let _0x1ff9c6='',_0x8d40f3=0x0;for(const _0x3d152e of _0x335943){const _0xf4a76e=_0x5f33dc[_0x391c54(0x12a)](_0x3d152e)['width'];if(_0x8d40f3+_0xf4a76e<=_0x289072-_0x5f33dc[_0x391c54(0x12a)](_0x391c54(0x320))[_0x391c54(0x17f)])_0x1ff9c6+=_0x3d152e,_0x8d40f3+=_0xf4a76e;else{_0x1ff9c6+=_0x391c54(0x320);break;}}_0x5f33dc['fillText'](_0x1ff9c6,_0x36b3de,_0x439558);}else _0x5f33dc[_0x391c54(0x178)](_0x335943,_0x36b3de,_0x439558);_0x5f33dc[_0x391c54(0x4da)]();}[_0x4478c1(0x34a)](_0x3b2dc7){_0x4e1f62['drawWith'](_0x3b2dc7,this);}}const _0x4f8014=_0x4478c1(0x4d4),_0x5c4e64=_0x4478c1(0x436),_0x176288='collab-rect-range-',_0x2aaa23=0x6,_0x5af92f=1.5,_0x3da8b3=0x4,_0x23201f=1.5,_0xca5a07=_0x4478c1(0x53d);class _0x148a77{constructor(_0x3b1ee6,_0x15529e,_0x385ad6,_0x5d5f90){const _0x18e4c0=_0x4478c1;_0xa880cb(this,_0x18e4c0(0xbb),[]),_0xa880cb(this,_0x18e4c0(0x13b),null),_0xa880cb(this,'_textBubble',null),_0xa880cb(this,_0x18e4c0(0x2b9),null),_0xa880cb(this,'_hideTimer',null),_0xa880cb(this,_0x18e4c0(0x32d),null),(this[_0x18e4c0(0x1b6)]=_0x3b1ee6,this['_scene']=_0x15529e,this[_0x18e4c0(0x2c0)]=_0x385ad6,this[_0x18e4c0(0x262)]=_0x5d5f90,this['_render']());}set[_0x4478c1(0xc0)](_0x33bfaf){const _0x1fe0b3=_0x4478c1;_0x33bfaf?(this['_anchorDot']&&this[_0x1fe0b3(0x2b9)][_0x1fe0b3(0x1be)](),this[_0x1fe0b3(0x18a)]&&this[_0x1fe0b3(0x18a)][_0x1fe0b3(0x26f)]()):(this[_0x1fe0b3(0x2b9)]&&this['_anchorDot'][_0x1fe0b3(0x26f)](),this[_0x1fe0b3(0x18a)]&&this[_0x1fe0b3(0x18a)][_0x1fe0b3(0x1be)]());}[_0x4478c1(0x4e7)](){const _0x306ed9=_0x4478c1;for(const _0x25e8e6 of this[_0x306ed9(0xbb)])_0x25e8e6['dispose']();this['_textBubble']&&this['_textBubble']['dispose'](),this['_anchorDot']&&this[_0x306ed9(0x2b9)][_0x306ed9(0x4e7)](),this['_anchor']&&this['_anchor'][_0x306ed9(0x4e7)](),this['_eventUnsubscribe']&&this[_0x306ed9(0x32d)]();}['_render'](){const _0x2258bb=_0x4478c1;var _0x57eacd;const {_docSkeleton:_0x14b989,_document:_0x5e576d}=this,{color:_0x4f3a1d,name:_0x4422ac,ranges:_0x12d6e9}=this[_0x2258bb(0x1b6)],_0x5d2a78=_0x5e576d['getOffsetConfig'](),{docsLeft:_0x41a6ca,docsTop:_0x1840fe}=_0x5d2a78,_0x30cc51=new _0x488d74[(_0x2258bb(0x39f))](_0x5d2a78,_0x14b989);for(const {startOffset:_0x17d2ab,endOffset:_0x4f5feb,rangeType:_0x2c1882,segmentId:_0x169ff3,segmentPage:_0x1ebdd3,collapsed:_0x3edcdf,isActive:_0x1d6d96}of _0x12d6e9){const _0x555dc0=_0x14b989['findNodePositionByCharIndex'](_0x17d2ab,!0x0,_0x169ff3,_0x1ebdd3);let _0x370f02=_0x14b989['findNodePositionByCharIndex'](_0x4f5feb,!0x0,_0x169ff3,_0x1ebdd3);if(_0x370f02==null&&(_0x370f02=_0x14b989['findNodePositionByCharIndex'](_0x4f5feb-0x1,!0x1,_0x169ff3,_0x1ebdd3)),_0x1d6d96){const {contentBoxPointGroup:_0x180d0c}=_0x30cc51[_0x2258bb(0x111)](_0x370f02,_0x370f02);if(_0x180d0c[_0x2258bb(0x315)]===0x0)continue;this['_drawAnchor'](_0x4f3a1d,_0x180d0c,_0x41a6ca,_0x1840fe,_0x4422ac),this[_0x2258bb(0x32d)]=this['_handleHover']();}if(_0x555dc0&&_0x370f02){if(_0x2c1882===_0x3c1a84[_0x2258bb(0x239)][_0x2258bb(0x42f)]){const _0x267329=new _0x488d74[(_0x2258bb(0x470))](_0x5d2a78,_0x14b989),{pointGroup:_0x18719d}=(_0x57eacd=_0x267329[_0x2258bb(0x111)](_0x555dc0,_0x370f02))!=null?_0x57eacd:{};if(_0x18719d==null||_0x18719d[_0x2258bb(0x315)]===0x0)continue;this[_0x2258bb(0x1b5)](_0x4f3a1d,_0x18719d,_0x41a6ca,_0x1840fe);}else{if(!_0x3edcdf){const {borderBoxPointGroup:_0x253497}=_0x30cc51[_0x2258bb(0x111)](_0x555dc0,_0x370f02);if(_0x253497[_0x2258bb(0x315)]===0x0)continue;this[_0x2258bb(0x154)](_0x4f3a1d,_0x253497,_0x41a6ca,_0x1840fe);}}}}}[_0x4478c1(0x47b)](_0x48baa7,_0x3d4d40,_0x17024b,_0x3962a8,_0x524b5c){const _0x360f22=_0x4478c1,_0x4318ea=this[_0x360f22(0x33e)](_0x3d4d40),{left:_0x4b8537,top:_0x159b79,height:_0x11eb1a}=_0x4318ea,_0x559303=this['_getScale'](),_0x58ce64=_0x23201f/_0x559303,_0x1cb483=new _0x591f66['Rect'](_0x4f8014+_0x3c1a84['Tools'][_0x360f22(0x30a)](_0x2aaa23),{'left':_0x4b8537+_0x17024b-_0x58ce64,'top':_0x159b79+_0x3962a8,'height':_0x11eb1a,'width':_0x5af92f,'fill':_0x48baa7||_0x591f66[_0x360f22(0x53a)](_0x3c1a84[_0x360f22(0x384)][_0x360f22(0xd7)],0x0),'strokeWidth':_0x58ce64,'stroke':_0xca5a07,'evented':!0x0});this[_0x360f22(0x13b)]=_0x1cb483,this[_0x360f22(0x1d1)][_0x360f22(0x25b)](_0x1cb483,_0x488d74[_0x360f22(0x125)]);const _0x3b7003=new _0x591f66[(_0x360f22(0x35a))](_0x4f8014+_0x3c1a84[_0x360f22(0x442)]['generateRandomId'](_0x2aaa23),{'left':_0x4b8537+_0x17024b-_0x58ce64,'top':_0x159b79+_0x3962a8-_0x3da8b3/0x2,'height':_0x3da8b3,'width':_0x3da8b3,'fill':_0x48baa7||_0x591f66['getColor'](_0x3c1a84[_0x360f22(0x384)][_0x360f22(0xd7)],0x0),'strokeWidth':0x0,'stroke':_0x48baa7||_0x591f66[_0x360f22(0x53a)](_0x3c1a84[_0x360f22(0x384)][_0x360f22(0xd7)],0x0),'evented':!0x1});this[_0x360f22(0x2b9)]=_0x3b7003,this['_scene']['addObject'](_0x3b7003,_0x488d74[_0x360f22(0x125)]);const _0x13495b=new _0x4e1f62(_0x4f8014+_0x3c1a84[_0x360f22(0x442)]['generateRandomId'](_0x2aaa23),{'left':_0x4b8537+_0x17024b-_0x58ce64,'top':_0x159b79+_0x3962a8-_0x2e2c48,'text':_0x524b5c,'color':_0x48baa7});this[_0x360f22(0x18a)]=_0x13495b,this['_scene'][_0x360f22(0x25b)](_0x13495b,_0x488d74['TEXT_RANGE_LAYER_INDEX']),this[_0x360f22(0xc0)]=!0x1;}[_0x4478c1(0x515)](){const _0x1cba3b=_0x4478c1,_0x493b47=this[_0x1cba3b(0x13b)][_0x1cba3b(0xfb)][_0x1cba3b(0x236)](()=>{const _0x4a2606=_0x1cba3b;this[_0x4a2606(0xc0)]=!0x0;}),_0x4ad88d=this[_0x1cba3b(0x13b)]['onPointerLeave$'][_0x1cba3b(0x236)](()=>{const _0x3725d7=_0x1cba3b;this[_0x3725d7(0x4a2)]&&clearTimeout(this[_0x3725d7(0x4a2)]),this[_0x3725d7(0x4a2)]=setTimeout(()=>{const _0x1a0a60=_0x3725d7;this[_0x1a0a60(0xc0)]=!0x1;},0x7d0);});return()=>{const _0x4d4d48=_0x1cba3b;_0x493b47[_0x4d4d48(0x4e1)](),_0x4ad88d[_0x4d4d48(0x4e1)]();};}['_drawTextRange'](_0x5c9b47,_0x58327a,_0x2d0ddd,_0x30c9e1){const _0xf2c0ff=_0x4478c1,_0x165eb8=new _0x3c1a84[(_0xf2c0ff(0x399))](_0x5c9b47)['setAlpha'](0.2)['toRgbString'](),_0x3ce517=new _0x591f66['RegularPolygon'](_0x5c4e64+_0x3c1a84[_0xf2c0ff(0x442)]['generateRandomId'](_0x2aaa23),{'pointsGroup':_0x58327a,'fill':_0x165eb8||_0x591f66[_0xf2c0ff(0x53a)](_0x3c1a84['COLORS'][_0xf2c0ff(0xd7)],0.2),'left':_0x2d0ddd,'top':_0x30c9e1,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x3ce517),this[_0xf2c0ff(0x1d1)][_0xf2c0ff(0x25b)](_0x3ce517,_0x488d74[_0xf2c0ff(0x125)]);}[_0x4478c1(0x1b5)](_0x1a5ae2,_0x319d87,_0x1f2824,_0x22a823){const _0x585684=_0x4478c1,_0x4bb13b=new _0x3c1a84['ColorKit'](_0x1a5ae2)[_0x585684(0x16c)](0.2)['toRgbString'](),_0x1f4197=new _0x591f66['RegularPolygon'](_0x176288+_0x3c1a84[_0x585684(0x442)]['generateRandomId'](_0x2aaa23),{'pointsGroup':_0x319d87,'fill':_0x4bb13b||_0x591f66[_0x585684(0x53a)](_0x3c1a84[_0x585684(0x384)][_0x585684(0xd7)],0.2),'left':_0x1f2824,'top':_0x22a823,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x1f4197),this[_0x585684(0x1d1)][_0x585684(0x25b)](_0x1f4197,_0x488d74['TEXT_RANGE_LAYER_INDEX']);}[_0x4478c1(0x33e)](_0x19bd62){const _0x281e80=_0x19bd62[0x0],_0x4b1551=_0x281e80[0x0],_0x23b6ad=_0x281e80[0x2],{x:_0x51d946,y:_0x768765}=_0x4b1551,{x:_0x289f6b,y:_0x4fdbd6}=_0x23b6ad;return{'left':_0x51d946,'top':_0x768765,'width':_0x289f6b-_0x51d946,'height':_0x4fdbd6-_0x768765};}['_getScale'](){const _0x452793=_0x4478c1,{scaleX:_0x2cc355,scaleY:_0x3139f5}=this[_0x452793(0x1d1)][_0x452793(0x457)]();return Math[_0x452793(0x1e1)](_0x2cc355,_0x3139f5);}}var _0x23f663=Object['defineProperty'],_0x331445=Object['getOwnPropertyDescriptor'],_0x223aee=(_0x31543f,_0x3eeb36,_0x26e871,_0x31866e)=>{const _0x4f9bcf=_0x4478c1;for(var _0xa50726=_0x31866e>0x1?void 0x0:_0x31866e?_0x331445(_0x3eeb36,_0x26e871):_0x3eeb36,_0x4a2c9f=_0x31543f[_0x4f9bcf(0x315)]-0x1,_0x4a98de;_0x4a2c9f>=0x0;_0x4a2c9f--)(_0x4a98de=_0x31543f[_0x4a2c9f])&&(_0xa50726=(_0x31866e?_0x4a98de(_0x3eeb36,_0x26e871,_0xa50726):_0x4a98de(_0xa50726))||_0xa50726);return _0x31866e&&_0xa50726&&_0x23f663(_0x3eeb36,_0x26e871,_0xa50726),_0xa50726;},_0x23dd52=(_0x2c79a4,_0x2e8cdd)=>(_0x15b53c,_0x2912c2)=>_0x2e8cdd(_0x15b53c,_0x2912c2,_0x2c79a4);let _0x44db7e=class extends _0x3c1a84['RxDisposable']{constructor(_0x537589,_0xa50f9d,_0x753882,_0x344bbb,_0x3796f0){const _0x70b00a=_0x4478c1;super(),_0xa880cb(this,_0x70b00a(0x1dd),[]),_0xa880cb(this,_0x70b00a(0x3cd),[]),(this[_0x70b00a(0x172)]=_0x537589,this[_0x70b00a(0x11a)]=_0xa50f9d,this[_0x70b00a(0x4db)]=_0x753882,this[_0x70b00a(0x292)]=_0x344bbb,this[_0x70b00a(0x319)]=_0x3796f0,this[_0x70b00a(0x12b)]());}[_0x4478c1(0x12b)](){const _0x8ca8e9=_0x4478c1,_0x384b1f=this[_0x8ca8e9(0x172)][_0x8ca8e9(0x214)],_0x571696=this[_0x8ca8e9(0x11a)];this[_0x8ca8e9(0xe5)](_0x818dd8['combineLatest']([this[_0x8ca8e9(0x4db)][_0x8ca8e9(0x417)](_0x384b1f),this[_0x8ca8e9(0x319)][_0x8ca8e9(0x31e)]])['pipe'](_0x58132b['map'](([_0x55110e,_0x19218e])=>({'skeleton':_0x571696['getSkeleton'](),'cursors':[..._0x55110e['values']()][_0x8ca8e9(0x2fe)](_0x5811ca=>({..._0x5811ca,'color':_0x19218e[_0x5811ca[_0x8ca8e9(0x51f)]]}))})))[_0x8ca8e9(0x3aa)](_0x4fd71f=>{const _0x235dec=_0x8ca8e9;if(this[_0x235dec(0x4b6)](),_0x4fd71f){const {skeleton:_0x498d0a,cursors:_0x55ab81}=_0x4fd71f;this['_updateCollabCursors'](_0x498d0a,_0x55ab81);}})),this[_0x8ca8e9(0x139)](),this[_0x8ca8e9(0xb2)]();}[_0x4478c1(0x382)](_0x2d369a,_0x43ba5e){const _0x174ec5=_0x4478c1,{scene:_0x2c2641,mainComponent:_0x1a3abc}=this[_0x174ec5(0x172)],_0x2f4df8=_0x43ba5e['map'](_0x30031d=>new _0x148a77(_0x30031d,_0x2c2641,_0x2d369a,_0x1a3abc));this['_cursorShapes']=_0x2f4df8,this['_cursors']=_0x43ba5e;}[_0x4478c1(0x133)](){const _0x49ca0e=_0x4478c1;this['_removeCollabCursors']();const {scene:_0x564123,mainComponent:_0x36aea4}=this['_context'],_0x525bbf=this['_docSkeletonManagerService'][_0x49ca0e(0x374)](),_0x454fd5=this[_0x49ca0e(0x3cd)][_0x49ca0e(0x20e)](_0x177175=>new _0x148a77(_0x177175,_0x564123,_0x525bbf,_0x36aea4));this[_0x49ca0e(0x1dd)]=_0x454fd5;}[_0x4478c1(0x4b6)](){const _0x190f98=_0x4478c1;this[_0x190f98(0x1dd)]['forEach'](_0x3168a3=>_0x3168a3[_0x190f98(0x4e7)]()),this[_0x190f98(0x1dd)]=[];}[_0x4478c1(0xb2)](){const _0x4a1b2b=_0x4478c1,_0x91191e=[_0x488d74[_0x4a1b2b(0x409)]['id']];this[_0x4a1b2b(0xe5)](this[_0x4a1b2b(0x292)]['onCommandExecuted'](_0x312bbf=>{const _0x352770=_0x4a1b2b;_0x91191e[_0x352770(0x257)](_0x312bbf['id'])&&_0x312bbf[_0x352770(0x1a8)][_0x352770(0x214)]===this[_0x352770(0x172)][_0x352770(0x214)]&&this[_0x352770(0x133)]();}));}[_0x4478c1(0x139)](){const _0x8b738e=_0x4478c1;this[_0x8b738e(0xe5)](_0x3c1a84[_0x8b738e(0x2e7)](this[_0x8b738e(0x172)][_0x8b738e(0x22c)][_0x8b738e(0x4ea)])[_0x8b738e(0x4c4)](_0x58132b[_0x8b738e(0x3a9)](_0x2ad863=>_0x2ad863['type']===_0x591f66['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x58132b[_0x8b738e(0x420)](0x10))[_0x8b738e(0x3aa)](()=>{const _0x588c79=_0x8b738e;this[_0x588c79(0x133)]();}));}};_0x44db7e=_0x223aee([_0x23dd52(0x1,_0x3c1a84[_0x4478c1(0x3dc)](_0x2a5ff4['DocSkeletonManagerService'])),_0x23dd52(0x2,_0x3c1a84[_0x4478c1(0x3dc)](_0x5c8917)),_0x23dd52(0x3,_0x3c1a84['ICommandService']),_0x23dd52(0x4,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x4b4)]))],_0x44db7e);const _0x47a112=0x1,_0x18d190=1.5;class _0x54e9b5 extends _0x591f66[_0x4478c1(0x1f0)]{constructor(_0x1fd505,_0xf04b70){const _0x37e07a=_0x4478c1;super(_0x1fd505,_0xf04b70),_0xa880cb(this,_0x37e07a(0xe6)),_0xa880cb(this,_0x37e07a(0x249),!0x1),_0xa880cb(this,_0x37e07a(0x55a)),_0xa880cb(this,_0x37e07a(0x48c),''),_0xa880cb(this,'_labelPosition',_0x37e07a(0x48f)),_0xa880cb(this,_0x37e07a(0x3a6)),(_0xf04b70&&this[_0x37e07a(0x3b3)](_0xf04b70),this[_0x37e07a(0xfb)][_0x37e07a(0x236)](()=>this[_0x37e07a(0x3b3)]({'hovered':!0x0})),this['onPointerLeave$'][_0x37e07a(0x236)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x398162){const _0x2c533b=_0x4478c1;var _0x2ab9d1,_0x5ea8ed,_0x51710d,_0x12bf22,_0x47c37d,_0x1013a8;this[_0x2c533b(0xe6)]=(_0x2ab9d1=_0x398162[_0x2c533b(0x51f)])!=null?_0x2ab9d1:this['_color'],this[_0x2c533b(0x249)]=(_0x5ea8ed=_0x398162['hovered'])!=null?_0x5ea8ed:this[_0x2c533b(0x249)],this[_0x2c533b(0x55a)]=(_0x51710d=_0x398162[_0x2c533b(0x3a0)])!=null?_0x51710d:this['_range'],this[_0x2c533b(0x48c)]=(_0x12bf22=_0x398162['name'])!=null?_0x12bf22:this[_0x2c533b(0x48c)],this[_0x2c533b(0x4a7)]=(_0x47c37d=_0x398162[_0x2c533b(0x365)])!=null?_0x47c37d:this[_0x2c533b(0x4a7)],this[_0x2c533b(0x3a6)]=(_0x1013a8=_0x398162[_0x2c533b(0x3c6)])!=null?_0x1013a8:this[_0x2c533b(0x3a6)],this['transformByState']({'width':_0x398162['width'],'height':_0x398162[_0x2c533b(0x310)]});}['onMouseMove'](_0x30a567){const _0x7adabc=_0x4478c1,{row:_0x8747c8,column:_0x37f75d}=_0x30a567;if(_0x8747c8>=this[_0x7adabc(0x55a)][_0x7adabc(0x1de)]&&_0x8747c8<=this['_range'][_0x7adabc(0x19c)]&&_0x37f75d>=this[_0x7adabc(0x55a)]['startColumn']&&_0x37f75d<=this[_0x7adabc(0x55a)][_0x7adabc(0x3a1)]){this[_0x7adabc(0x3b3)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x4478c1(0x26e)](_0x39d786){return!0x1;}[_0x4478c1(0x34a)](_0x140169){const _0x3170ba=_0x4478c1;_0x591f66['Rect']['drawWith'](_0x140169,{'width':this[_0x3170ba(0x17f)],'height':this[_0x3170ba(0x310)],'strokeWidth':_0x18d190,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x3170ba(0x249)]&&(_0x140169['save'](),_0x140169['transform'](0x1,0x0,0x0,0x1,this[_0x3170ba(0x17f)],this[_0x3170ba(0x4a7)]==='bottom'?0x0:-_0x2e2c48),_0x4e1f62[_0x3170ba(0xf1)](_0x140169,{'text':this['_name'],'color':this[_0x3170ba(0xe6)]}),_0x140169[_0x3170ba(0x4da)]());}}var _0x1dce0c=Object[_0x4478c1(0x19b)],_0x4ec694=Object['getOwnPropertyDescriptor'],_0x9b63bb=(_0x1e7dbc,_0x1f3194,_0x30a8c9,_0x3cf57e)=>{for(var _0x5227cb=_0x3cf57e>0x1?void 0x0:_0x3cf57e?_0x4ec694(_0x1f3194,_0x30a8c9):_0x1f3194,_0x3e2c6a=_0x1e7dbc['length']-0x1,_0x38db54;_0x3e2c6a>=0x0;_0x3e2c6a--)(_0x38db54=_0x1e7dbc[_0x3e2c6a])&&(_0x5227cb=(_0x3cf57e?_0x38db54(_0x1f3194,_0x30a8c9,_0x5227cb):_0x38db54(_0x5227cb))||_0x5227cb);return _0x3cf57e&&_0x5227cb&&_0x1dce0c(_0x1f3194,_0x30a8c9,_0x5227cb),_0x5227cb;},_0x848f2=(_0x22a092,_0x73dfdf)=>(_0x164386,_0x5936d9)=>_0x73dfdf(_0x164386,_0x5936d9,_0x22a092);const _0x5acada=0x1389;let _0x3f90c3=class extends _0x3c1a84[_0x4478c1(0x2a0)]{constructor(_0x48aa1c,_0x2dafd2,_0xcbb822,_0x3750a1){const _0x58e35c=_0x4478c1;super(),_0xa880cb(this,_0x58e35c(0x3cd),new Set()),_0xa880cb(this,_0x58e35c(0x291),null),(this['_context']=_0x48aa1c,this['_sheetSkeletonManagerService']=_0x2dafd2,this[_0x58e35c(0x4db)]=_0xcbb822,this[_0x58e35c(0x319)]=_0x3750a1,this[_0x58e35c(0x12b)]());}[_0x4478c1(0x12b)](){const _0x413c9f=_0x4478c1;this[_0x413c9f(0x2ae)]['currentSkeleton$'][_0x413c9f(0x4c4)](_0x58132b[_0x413c9f(0x439)](this[_0x413c9f(0x23a)]),_0x58132b[_0x413c9f(0x3f5)](_0x145c78=>{const _0x123363=_0x413c9f;if(_0x145c78){const _0x867872=_0x145c78[_0x123363(0x299)];return _0x818dd8['combineLatest'](this[_0x123363(0x4db)][_0x123363(0x417)](this[_0x123363(0x172)][_0x123363(0x214)]),this[_0x123363(0x319)]['currentTheme$'])['pipe'](_0x58132b['map'](([_0x2bee10,_0x1fed05])=>{const _0x4b5e8f=_0x123363,_0x35edb9=new Map();return _0x2bee10[_0x4b5e8f(0x3b6)]((_0xdeea11,_0x1b5a0b)=>{const _0x539991=_0x4b5e8f;if(_0xdeea11[_0x539991(0x3d4)]===_0x867872){const _0x14fc88={..._0xdeea11};_0x14fc88['color']=_0x1fed05[_0xdeea11[_0x539991(0x51f)]],_0x35edb9[_0x539991(0x53e)](_0x1b5a0b,_0x14fc88);}}),{'skeleton':_0x145c78,'cursors':_0x35edb9};}));}return _0x818dd8['of']({'skeleton':null,'cursors':new Map()});}))[_0x413c9f(0x3aa)](({skeleton:_0x3bee9a,cursors:_0x59a61e})=>{const _0x2ae763=_0x413c9f;this[_0x2ae763(0x4b6)](),_0x3bee9a&&this[_0x2ae763(0x382)](_0x3bee9a,_0x59a61e);}),this['_sheetSkeletonManagerService'][_0x413c9f(0x207)]['subscribe'](_0x51e906=>{const _0x4f6161=_0x413c9f;if(_0x51e906==null)return;const {skeleton:_0x10b24f}=_0x51e906,{scene:_0x18ec71}=this['_context'];_0x18ec71[_0x4f6161(0x517)][_0x4f6161(0x236)](_0x3c1a84['debounce'](_0x1079ea=>{const _0x511259=_0x4f6161;var _0x17cb1f,_0x35ff83;const {offsetX:_0xb26f7b,offsetY:_0x511acb}=_0x1079ea,{x:_0x37d16d,y:_0x5cd02a}=_0x18ec71[_0x511259(0x128)](_0x591f66[_0x511259(0x137)][_0x511259(0x17b)]([_0xb26f7b,_0x511acb])),{scaleX:_0x2cd7d5,scaleY:_0xa6a2b7}=_0x18ec71['getAncestorScale'](),_0x52b5b3=_0x18ec71[_0x511259(0x370)](_0x451e81['VIEWPORT_KEY'][_0x511259(0x1d8)]),_0x3762e2=_0x18ec71[_0x511259(0x376)](_0x591f66[_0x511259(0x137)][_0x511259(0x17b)]([_0x37d16d,_0x5cd02a]),_0x52b5b3),_0x34f290=_0x10b24f[_0x511259(0x163)](_0xb26f7b,_0x511acb,_0x2cd7d5,_0xa6a2b7,_0x3762e2);((_0x17cb1f=this[_0x511259(0x291)])==null?void 0x0:_0x17cb1f[_0x511259(0x323)])===_0x34f290[_0x511259(0x323)]&&((_0x35ff83=this[_0x511259(0x291)])==null?void 0x0:_0x35ff83[_0x511259(0x15f)])===_0x34f290[_0x511259(0x15f)]||this['_cursors'][_0x511259(0x3b6)](_0x17fd6e=>{const _0x4c51ef=_0x511259;_0x17fd6e[_0x4c51ef(0x4d6)](_0x34f290);});},0x64));});}['_updateCollabCursors'](_0xf3e8f2,_0x1c987f){const _0x2f952f=_0x4478c1;var _0x499b3b;const _0x35f594=(_0x499b3b=this['_sheetSkeletonManagerService'][_0x2f952f(0x2d7)]())==null?void 0x0:_0x499b3b[_0x2f952f(0x540)];if(!_0x35f594)return;const _0x34398e=this[_0x2f952f(0x332)]();if(!_0x34398e)return;this[_0x2f952f(0x3cd)][_0x2f952f(0x3b6)](_0xf46476=>{_0xf46476['makeDirty']();});const {scene:_0x24c334}=_0x34398e,_0x2f0ce2=_0x305c13(Array[_0x2f952f(0x301)](_0x1c987f[_0x2f952f(0x37f)]()))[_0x2f952f(0x20e)](_0x37d251=>{const _0x442b63=_0x2f952f,{color:_0xa66eb9,range:_0x4886cf,name:_0x42a3eb,selection:_0x66f317,sheetID:_0xbdb520}=_0x37d251,{startColumn:_0x4afeba,startRow:_0x4ec1ff,endColumn:_0x3b6942,endRow:_0x3e7a13}=_0x4886cf,_0x154ac0=_0x451e81[_0x442b63(0x328)](_0x4ec1ff,_0x4afeba,_0x24c334,_0x35f594),_0x324d44=_0x451e81['getCoordByCell'](_0x3e7a13,_0x3b6942,_0x24c334,_0x35f594),{columnHeaderHeightAndMarginTop:_0x37ea95}=_0x35f594,{startX:_0x16a455,startY:_0x1a323f}=_0x154ac0,{endX:_0x4cc8c8,endY:_0x16647e}=_0x324d44,_0x3bb301=_0x4cc8c8-_0x16a455,_0x220ca1=_0x16647e-_0x1a323f,_0xcd73e={'labelPosition':_0x1a323f-_0x37ea95>=_0x2e2c48?_0x442b63(0x48f):'bottom','sheetID':_0xbdb520,'range':_0x4886cf,'color':_0xa66eb9,'name':_0x42a3eb,'selection':_0x66f317,'left':_0x16a455,'top':_0x1a323f,'width':_0x3bb301,'height':_0x220ca1,'evented':!0x1,'zIndex':_0x5acada};return new _0x54e9b5(_0x42a3eb,_0xcd73e);});_0x24c334[_0x2f952f(0x247)](_0x2f0ce2,_0x47a112),this[_0x2f952f(0x3cd)]=new Set(_0x2f0ce2);}['_removeCollabCursors'](){const _0x4a6d83=_0x4478c1;var _0x5ef601;(_0x5ef601=this[_0x4a6d83(0x3cd)])==null||_0x5ef601[_0x4a6d83(0x3b6)](_0x17efd9=>_0x17efd9[_0x4a6d83(0x4e7)]());}[_0x4478c1(0x332)](){const _0xf65cd4=_0x4478c1;return _0x451e81['getSheetObject'](this[_0xf65cd4(0x172)][_0xf65cd4(0x14a)],this[_0xf65cd4(0x172)]);}};_0x3f90c3=_0x9b63bb([_0x848f2(0x1,_0x3c1a84[_0x4478c1(0x3dc)](_0x451e81[_0x4478c1(0x4f8)])),_0x848f2(0x2,_0x3c1a84['Inject'](_0x5c8917)),_0x848f2(0x3,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x4b4)]))],_0x3f90c3);function _0x305c13(_0x41ce64){const _0x17cd1e=_0x4478c1,_0x4d7b4c=new Map();return _0x41ce64['forEach'](_0x442497=>{const _0x3df0d2=_0x406b;if(_0x4d7b4c[_0x3df0d2(0x431)](_0x442497['selection'])){const _0x41cdf5=_0x4d7b4c[_0x3df0d2(0x115)](_0x442497[_0x3df0d2(0x2dd)]);_0x41cdf5[_0x3df0d2(0x3d7)]+=',\x20'+_0x442497['name'];}else _0x4d7b4c[_0x3df0d2(0x53e)](_0x442497['selection'],_0x442497);}),Array[_0x17cd1e(0x301)](_0x4d7b4c['values']());}var _0x4040b9=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x3b9412(_0x3bed92){const _0x12b113=_0x4478c1;return _0x3bed92&&_0x3bed92['__esModule']&&Object['prototype'][_0x12b113(0x143)][_0x12b113(0x3e3)](_0x3bed92,_0x12b113(0x2a1))?_0x3bed92[_0x12b113(0x2a1)]:_0x3bed92;}var _0x558616={'exports':{}},_0x39c788={},_0x33f454=_0xa0cf8d,_0x11ddad=Symbol[_0x4478c1(0x3b7)](_0x4478c1(0x4f6)),_0x476c68=Symbol['for'](_0x4478c1(0x145)),_0x1e7dfc=Object[_0x4478c1(0x35e)][_0x4478c1(0x143)],_0x39d801=_0x33f454[_0x4478c1(0x4d7)][_0x4478c1(0x333)],_0x2a1b65={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x1a6da4(_0x46c24e,_0xa05725,_0x4bb318){const _0x5e985c=_0x4478c1;var _0x55d230,_0x4044bb={},_0x5d7412=null,_0x3803f4=null;_0x4bb318!==void 0x0&&(_0x5d7412=''+_0x4bb318),_0xa05725[_0x5e985c(0x426)]!==void 0x0&&(_0x5d7412=''+_0xa05725[_0x5e985c(0x426)]),_0xa05725[_0x5e985c(0x1c1)]!==void 0x0&&(_0x3803f4=_0xa05725[_0x5e985c(0x1c1)]);for(_0x55d230 in _0xa05725)_0x1e7dfc[_0x5e985c(0x3e3)](_0xa05725,_0x55d230)&&!_0x2a1b65[_0x5e985c(0x143)](_0x55d230)&&(_0x4044bb[_0x55d230]=_0xa05725[_0x55d230]);if(_0x46c24e&&_0x46c24e['defaultProps']){for(_0x55d230 in(_0xa05725=_0x46c24e[_0x5e985c(0x4b2)],_0xa05725))_0x4044bb[_0x55d230]===void 0x0&&(_0x4044bb[_0x55d230]=_0xa05725[_0x55d230]);}return{'$$typeof':_0x11ddad,'type':_0x46c24e,'key':_0x5d7412,'ref':_0x3803f4,'props':_0x4044bb,'_owner':_0x39d801[_0x5e985c(0x4f4)]};}_0x39c788['Fragment']=_0x476c68,_0x39c788['jsx']=_0x1a6da4,_0x39c788[_0x4478c1(0x472)]=_0x1a6da4,_0x558616[_0x4478c1(0x201)]=_0x39c788;var _0x45643b=_0x558616[_0x4478c1(0x201)],_0x267ddf=function(){const _0x19b7c1=_0x4478c1;return _0x267ddf=Object[_0x19b7c1(0x47a)]||function(_0x488238){const _0x4fdfdc=_0x19b7c1;for(var _0x5f47c9,_0x16096b=0x1,_0x39b8b0=arguments[_0x4fdfdc(0x315)];_0x16096b<_0x39b8b0;_0x16096b++){_0x5f47c9=arguments[_0x16096b];for(var _0xba8291 in _0x5f47c9)Object[_0x4fdfdc(0x35e)][_0x4fdfdc(0x143)]['call'](_0x5f47c9,_0xba8291)&&(_0x488238[_0xba8291]=_0x5f47c9[_0xba8291]);}return _0x488238;},_0x267ddf[_0x19b7c1(0x52c)](this,arguments);},_0x4b160c=function(_0x5690e8,_0x28ef20){const _0x1f2cd3=_0x4478c1;var _0x269cc8={};for(var _0x59299b in _0x5690e8)Object[_0x1f2cd3(0x35e)][_0x1f2cd3(0x143)][_0x1f2cd3(0x3e3)](_0x5690e8,_0x59299b)&&_0x28ef20['indexOf'](_0x59299b)<0x0&&(_0x269cc8[_0x59299b]=_0x5690e8[_0x59299b]);if(_0x5690e8!=null&&typeof Object['getOwnPropertySymbols']==_0x1f2cd3(0x466)){for(var _0x2a0145=0x0,_0x59299b=Object[_0x1f2cd3(0x22e)](_0x5690e8);_0x2a0145<_0x59299b[_0x1f2cd3(0x315)];_0x2a0145++)_0x28ef20[_0x1f2cd3(0x509)](_0x59299b[_0x2a0145])<0x0&&Object[_0x1f2cd3(0x35e)]['propertyIsEnumerable'][_0x1f2cd3(0x3e3)](_0x5690e8,_0x59299b[_0x2a0145])&&(_0x269cc8[_0x59299b[_0x2a0145]]=_0x5690e8[_0x59299b[_0x2a0145]]);}return _0x269cc8;},_0x1dee6f=_0xa0cf8d[_0x4478c1(0x329)](function(_0xeab131,_0x5da657){const _0x11653e=_0x4478c1;var _0x43459c=_0xeab131[_0x11653e(0xec)],_0x1a2093=_0xeab131['id'],_0x198981=_0xeab131[_0x11653e(0x454)],_0x24c5cb=_0xeab131['extend'],_0x18f15b=_0x4b160c(_0xeab131,[_0x11653e(0xec),'id',_0x11653e(0x454),'extend']),_0x98f02e='univerjs-icon\x20univerjs-icon-'[_0x11653e(0x287)](_0x1a2093,'\x20')['concat'](_0x198981||'')['trim'](),_0xb3f05b=_0xa0cf8d[_0x11653e(0x3e0)]('_'['concat'](_0x3ee803()));return _0x15eefa(_0x43459c,''[_0x11653e(0x287)](_0x1a2093),{'defIds':_0x43459c[_0x11653e(0x2ec)],'idSuffix':_0xb3f05b['current']},_0x267ddf({'ref':_0x5da657,'className':_0x98f02e},_0x18f15b),_0x24c5cb);});function _0x15eefa(_0x1c178a,_0x1ac29f,_0x2428ef,_0x36a978,_0x139803){const _0x2492a3=_0x4478c1;return _0xa0cf8d[_0x2492a3(0x199)](_0x1c178a[_0x2492a3(0x280)],_0x267ddf(_0x267ddf({'key':_0x1ac29f},_0x2e202a(_0x1c178a,_0x2428ef,_0x139803)),_0x36a978),(_0x112814(_0x1c178a,_0x2428ef)[_0x2492a3(0xc9)]||[])[_0x2492a3(0x20e)](function(_0x5f0b90,_0x28d448){const _0x56e2df=_0x2492a3;return _0x15eefa(_0x5f0b90,''[_0x56e2df(0x287)](_0x1ac29f,'-')[_0x56e2df(0x287)](_0x1c178a[_0x56e2df(0x280)],'-')['concat'](_0x28d448),_0x2428ef,void 0x0,_0x139803);}));}function _0x2e202a(_0x330daa,_0x4028ea,_0x454d69){const _0x4ef598=_0x4478c1;var _0x28890d=_0x267ddf({},_0x330daa[_0x4ef598(0x159)]);_0x454d69!=null&&_0x454d69['colorChannel1']&&_0x28890d[_0x4ef598(0x215)]===_0x4ef598(0x14b)&&(_0x28890d[_0x4ef598(0x215)]=_0x454d69['colorChannel1']);var _0x49834e=_0x4028ea[_0x4ef598(0x2ec)];return!_0x49834e||_0x49834e[_0x4ef598(0x315)]===0x0||(_0x330daa['tag']===_0x4ef598(0x4cc)&&_0x28890d[_0x4ef598(0x449)]&&(_0x28890d[_0x4ef598(0x449)]=_0x28890d[_0x4ef598(0x449)]+_0x4028ea[_0x4ef598(0x17d)]),Object[_0x4ef598(0x526)](_0x28890d)[_0x4ef598(0x3b6)](function(_0x539562){const _0x1a4ddc=_0x4ef598;var _0x1733f2=_0x539562[0x0],_0x2e150e=_0x539562[0x1];typeof _0x2e150e==_0x1a4ddc(0x427)&&(_0x28890d[_0x1733f2]=_0x2e150e[_0x1a4ddc(0x55c)](/url\(#(.*)\)/,_0x1a4ddc(0x348)[_0x1a4ddc(0x287)](_0x4028ea[_0x1a4ddc(0x17d)],')')));})),_0x28890d;}function _0x112814(_0x3db9a7,_0x2b152e){const _0x302830=_0x4478c1;var _0x49e3ac,_0x42e1c8=_0x2b152e[_0x302830(0x2ec)];return!_0x42e1c8||_0x42e1c8[_0x302830(0x315)]===0x0?_0x3db9a7:_0x3db9a7[_0x302830(0x280)]==='defs'&&(!((_0x49e3ac=_0x3db9a7[_0x302830(0xc9)])===null||_0x49e3ac===void 0x0)&&_0x49e3ac['length'])?_0x267ddf(_0x267ddf({},_0x3db9a7),{'children':_0x3db9a7[_0x302830(0xc9)][_0x302830(0x20e)](function(_0x1ea194){const _0x261b99=_0x302830;return typeof _0x1ea194[_0x261b99(0x159)]['id']==_0x261b99(0x427)&&_0x42e1c8&&_0x42e1c8[_0x261b99(0x509)](_0x1ea194['attrs']['id'])>-0x1?_0x267ddf(_0x267ddf({},_0x1ea194),{'attrs':_0x267ddf(_0x267ddf({},_0x1ea194[_0x261b99(0x159)]),{'id':_0x1ea194[_0x261b99(0x159)]['id']+_0x2b152e[_0x261b99(0x17d)]})}):_0x1ea194;})}):_0x3db9a7;}function _0x3ee803(){const _0x1d150f=_0x4478c1;return Math[_0x1d150f(0x144)]()[_0x1d150f(0x397)](0x24)[_0x1d150f(0xfd)](0x2,0x8);}_0x1dee6f[_0x4478c1(0x45f)]=_0x4478c1(0x2e0);var _0x9a8139={'tag':_0x4478c1(0x195),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x4478c1(0x29a),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4478c1(0x28b)},'children':[{'tag':_0x4478c1(0x2c9),'attrs':{'stroke':'currentColor','d':_0x4478c1(0x29b),'strokeLinecap':_0x4478c1(0x1ef),'strokeLinejoin':_0x4478c1(0x1ef),'strokeWidth':1.2}}]},{'tag':_0x4478c1(0x123),'attrs':{},'children':[{'tag':_0x4478c1(0x16f),'attrs':{'id':_0x4478c1(0x233)},'children':[{'tag':_0x4478c1(0x2c9),'attrs':{'fill':'#fff','d':_0x4478c1(0x2c7)}}]}]}],'defIds':[_0x4478c1(0x233)]},_0x5bb52e=_0xa0cf8d[_0x4478c1(0x329)](function(_0x21d418,_0x46cb44){return _0xa0cf8d['createElement'](_0x1dee6f,Object['assign']({},_0x21d418,{'id':'off-line-single','ref':_0x46cb44,'icon':_0x9a8139}));});_0x5bb52e['displayName']='OffLineSingle';var _0x516d13={'tag':_0x4478c1(0x195),'attrs':{'fill':_0x4478c1(0xbc),'viewBox':_0x4478c1(0x344),'width':_0x4478c1(0x29a),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4478c1(0x15c)},'children':[{'tag':'path','attrs':{'stroke':_0x4478c1(0x331),'d':_0x4478c1(0x30c),'strokeLinecap':_0x4478c1(0x1ef),'strokeLinejoin':_0x4478c1(0x1ef),'strokeWidth':1.2}}]},{'tag':_0x4478c1(0x123),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4478c1(0x55b)},'children':[{'tag':_0x4478c1(0x2c9),'attrs':{'fill':'#fff','d':_0x4478c1(0x2c7),'transform':_0x4478c1(0xb1)}}]}]}],'defIds':[_0x4478c1(0x55b)]},_0x67f022=_0xa0cf8d[_0x4478c1(0x329)](function(_0x1a246b,_0x40263a){const _0x576702=_0x4478c1;return _0xa0cf8d[_0x576702(0x199)](_0x1dee6f,Object[_0x576702(0x47a)]({},_0x1a246b,{'id':_0x576702(0x3f1),'ref':_0x40263a,'icon':_0x516d13}));});_0x67f022[_0x4478c1(0x45f)]=_0x4478c1(0x54d);function _0x250a40(_0x13327b){const _0x2c48f7=_0x4478c1;var _0x1897bd,_0x21e9da,_0x775f23='';if(typeof _0x13327b==_0x2c48f7(0x427)||typeof _0x13327b==_0x2c48f7(0x3f7))_0x775f23+=_0x13327b;else{if(typeof _0x13327b==_0x2c48f7(0x164)){if(Array['isArray'](_0x13327b)){var _0x3cb6e4=_0x13327b['length'];for(_0x1897bd=0x0;_0x1897bd<_0x3cb6e4;_0x1897bd++)_0x13327b[_0x1897bd]&&(_0x21e9da=_0x250a40(_0x13327b[_0x1897bd]))&&(_0x775f23&&(_0x775f23+='\x20'),_0x775f23+=_0x21e9da);}else{for(_0x21e9da in _0x13327b)_0x13327b[_0x21e9da]&&(_0x775f23&&(_0x775f23+='\x20'),_0x775f23+=_0x21e9da);}}}return _0x775f23;}function _0x5d95df(){for(var _0xe8780e,_0xa2bffc,_0x52380a=0x0,_0xcaf9c='',_0x1d1a6b=arguments['length'];_0x52380a<_0x1d1a6b;_0x52380a++)(_0xe8780e=arguments[_0x52380a])&&(_0xa2bffc=_0x250a40(_0xe8780e))&&(_0xcaf9c&&(_0xcaf9c+='\x20'),_0xcaf9c+=_0xa2bffc);return _0xcaf9c;}const _0x59ebe9={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x4478c1(0x311),'onlineStatus':_0x4478c1(0x21a),'online':_0x4478c1(0x20a),'offline':'univer-offline'};function _0x4ad321(_0x1d6aaf){const _0x5b3f01=_0x4478c1;switch(_0x1d6aaf){case _0x2683d3[_0x5b3f01(0x423)]:return'collabStatus.offline';case _0x2683d3[_0x5b3f01(0x26c)]:return _0x5b3f01(0x1eb);case _0x2683d3[_0x5b3f01(0x219)]:return'collabStatus.fetchMiss';case _0x2683d3[_0x5b3f01(0x553)]:return _0x5b3f01(0x1b1);case _0x2683d3[_0x5b3f01(0x4d0)]:case _0x2683d3[_0x5b3f01(0x3e4)]:return _0x5b3f01(0x2ad);case _0x2683d3['SYNCED']:case _0x2683d3[_0x5b3f01(0x210)]:return _0x5b3f01(0x103);}}function _0x388fe5(_0x433595){const _0x2f4493=_0x4478c1,{status$:_0x590bbc}=_0x433595,_0x37b470=_0xa35fb[_0x2f4493(0x3fe)](_0x590bbc,_0x2683d3[_0x2f4493(0x553)]),_0x490ad8=_0x3c1a84['useDependency'](_0x3c1a84['LocaleService']),_0x1857cc=_0x3c1a84[_0x2f4493(0x4a0)](_0x1191ba['CollaborationSessionService']),_0x2f24ef=_0x37b470!==_0x2683d3['OFFLINE'],_0x423f20=_0x490ad8['t'](_0x4ad321(_0x37b470)),_0x56c8df=_0x5d95df(_0x59ebe9[_0x2f4493(0x26d)],{[_0x59ebe9['online']]:_0x2f24ef,[_0x59ebe9['offline']]:!_0x2f24ef}),_0x49c8b4=_0x2f24ef?_0x45643b['jsx'](_0x67f022,{}):_0x45643b[_0x2f4493(0x1b7)](_0x5bb52e,{}),_0x18c2ac=_0xa0cf8d[_0x2f4493(0x1d6)](()=>{const _0x4d9b24=_0x2f4493;_0x2f24ef||_0x1857cc[_0x4d9b24(0x430)]();},[_0x2f24ef,_0x1857cc]);function _0x2e3449(){const _0x1084fe=_0x2f4493;return _0x45643b[_0x1084fe(0x472)]('div',{'className':_0x56c8df,'onClick':_0x18c2ac,'children':[_0x45643b[_0x1084fe(0x1b7)](_0x1084fe(0x49b),{'className':_0x59ebe9['onlineStatusIcon'],'children':_0x49c8b4}),_0x45643b[_0x1084fe(0x1b7)]('div',{'className':_0x59ebe9['onlineStatusTitle'],'children':_0x423f20})]});}return _0x2f24ef?_0x2e3449():_0x45643b['jsx'](_0x39c661[_0x2f4493(0x1e7)],{'title':_0x490ad8['t'](_0x2f4493(0x2f2)),'children':_0x2e3449()});}var _0x5d63df=Object['defineProperty'],_0x28338c=Object[_0x4478c1(0x4d8)],_0x3f4c2d=(_0x5d9038,_0x4a229d,_0x4353b5,_0x36c277)=>{const _0x3106af=_0x4478c1;for(var _0x44a4b6=_0x36c277>0x1?void 0x0:_0x36c277?_0x28338c(_0x4a229d,_0x4353b5):_0x4a229d,_0x1b8f1f=_0x5d9038[_0x3106af(0x315)]-0x1,_0xc05401;_0x1b8f1f>=0x0;_0x1b8f1f--)(_0xc05401=_0x5d9038[_0x1b8f1f])&&(_0x44a4b6=(_0x36c277?_0xc05401(_0x4a229d,_0x4353b5,_0x44a4b6):_0xc05401(_0x44a4b6))||_0x44a4b6);return _0x36c277&&_0x44a4b6&&_0x5d63df(_0x4a229d,_0x4353b5,_0x44a4b6),_0x44a4b6;},_0x29c0d8=(_0x99d93a,_0x5e7613)=>(_0x1bfd55,_0x3d484c)=>_0x5e7613(_0x1bfd55,_0x3d484c,_0x99d93a);_0x1191ba[_0x4478c1(0x31f)]=class extends _0x3c1a84[_0x4478c1(0x4ec)]{constructor(_0x1c26f1,_0x150f83,_0x223134,_0x8ba056){const _0x459677=_0x4478c1;super(),_0xa880cb(this,_0x459677(0x425),new _0x818dd8[(_0x459677(0x122))](_0x2683d3[_0x459677(0x553)])),(this[_0x459677(0x35b)]=_0x1c26f1,this['_uiPartsService']=_0x150f83,this[_0x459677(0x391)]=_0x223134,this[_0x459677(0x432)]=_0x8ba056,this[_0x459677(0x2ac)](),this['_initStatusListener']());}[_0x4478c1(0x492)](){const _0x2813ba=_0x4478c1;this['disposeWithMe'](this[_0x2813ba(0x35b)][_0x2813ba(0xad)][_0x2813ba(0x4c4)](_0x818dd8[_0x2813ba(0x3f5)](()=>{const _0x1bf458=_0x2813ba,_0x325407=this[_0x1bf458(0x35b)][_0x1bf458(0x142)]();return _0x325407?this[_0x1bf458(0x432)][_0x1bf458(0x38e)](_0x325407['getUnitId']()):_0x818dd8['of'](null);}),_0x818dd8[_0x2813ba(0x3f5)](_0x1e889f=>_0x1e889f?_0x1e889f[_0x2813ba(0x34d)]:_0x818dd8['of'](_0x2683d3[_0x2813ba(0x553)])))[_0x2813ba(0x3aa)](_0x2691ac=>{const _0x24722b=_0x2813ba;this[_0x24722b(0x425)][_0x24722b(0xdb)](_0x2691ac);}));}[_0x4478c1(0x2ac)](){const _0x5b6e7c=_0x4478c1;this[_0x5b6e7c(0xe5)](this[_0x5b6e7c(0x534)][_0x5b6e7c(0x2ea)](_0xa35fb['BuiltInUIPart'][_0x5b6e7c(0x3ce)],()=>_0x3c1a84['connectInjector'](_0x2612a8({'status$':this['_status$']['asObservable']()}),this[_0x5b6e7c(0x391)])));}},_0x1191ba[_0x4478c1(0x31f)]=_0x3f4c2d([_0x29c0d8(0x0,_0x3c1a84['IUniverInstanceService']),_0x29c0d8(0x1,_0xa35fb['IUIPartsService']),_0x29c0d8(0x2,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84['Injector'])),_0x29c0d8(0x3,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba[_0x4478c1(0x1ca)]))],_0x1191ba[_0x4478c1(0x31f)]);function _0x2612a8(_0x1db3a3){const {status$:_0x4b9774}=_0x1db3a3;return function(){const _0x3c5293=_0x406b;return _0x45643b[_0x3c5293(0x1b7)](_0x388fe5,{'status$':_0x4b9774});};}const _0x5d9dfe=_0x3c1a84['createIdentifier']('uni.network.url-service');var _0x3384ab=Object['defineProperty'],_0x12c9bf=Object['getOwnPropertyDescriptor'],_0x19f538=(_0x18218e,_0xb7bc86,_0x3c07d1,_0x162cbd)=>{const _0x3a4826=_0x4478c1;for(var _0x36d77a=_0x162cbd>0x1?void 0x0:_0x162cbd?_0x12c9bf(_0xb7bc86,_0x3c07d1):_0xb7bc86,_0x2d78eb=_0x18218e[_0x3a4826(0x315)]-0x1,_0x2339ff;_0x2d78eb>=0x0;_0x2d78eb--)(_0x2339ff=_0x18218e[_0x2d78eb])&&(_0x36d77a=(_0x162cbd?_0x2339ff(_0xb7bc86,_0x3c07d1,_0x36d77a):_0x2339ff(_0x36d77a))||_0x36d77a);return _0x162cbd&&_0x36d77a&&_0x3384ab(_0xb7bc86,_0x3c07d1,_0x36d77a),_0x36d77a;},_0x219d71=(_0x456db8,_0x4bbd80)=>(_0x4a4eed,_0x255ca8)=>_0x4bbd80(_0x4a4eed,_0x255ca8,_0x456db8);_0x1191ba['DataLoaderController']=class extends _0x3c1a84[_0x4478c1(0x2a0)]{constructor(_0x5a74cd,_0x414a1c,_0x2d0620,_0x57c4a8,_0x14a1d6,_0x2d4c99){const _0x241277=_0x4478c1;super(),this['_urlService']=_0x5a74cd,this['_logService']=_0x414a1c,this['_commandService']=_0x2d0620,this[_0x241277(0x411)]=_0x57c4a8,this[_0x241277(0x1ba)]=_0x14a1d6,_0x2d4c99?_0x2d4c99==null||_0x2d4c99[_0x241277(0x19a)]()['then'](()=>this['_init']()):(this['_logService'][_0x241277(0x1d9)]('[DataLoaderController]',_0x241277(0x45b)),this[_0x241277(0x12b)]());}async[_0x4478c1(0x12b)](){const _0x366a4e=_0x4478c1,_0xdc0861=this[_0x366a4e(0x271)]['getParam'](_0x366a4e(0x14a)),_0x4d027c=this['_urlService']['getParam']('type');if(!_0xdc0861||!_0x4d027c){this['_logService'][_0x366a4e(0x1d9)](_0x366a4e(0x324),_0x366a4e(0x530));return;}switch(Number(_0x4d027c)){case _0x4d76be[_0x366a4e(0x13a)]:{const _0x975747=await this[_0x366a4e(0x4f2)](_0xdc0861);this['_setupSubUnitSync'](_0x975747);break;}case _0x4d76be[_0x366a4e(0x3d0)]:{await this[_0x366a4e(0x1fa)](_0xdc0861);break;}default:{this[_0x366a4e(0x4c1)]['error'](_0x366a4e(0x324),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x4478c1(0x38f)](_0x5752ad){const _0x8a9b38=_0x4478c1;await this['_updateSubUnitFromURLParams'](_0x5752ad),_0x5752ad[_0x8a9b38(0x153)][_0x8a9b38(0x4c4)](_0x818dd8[_0x8a9b38(0x439)](this[_0x8a9b38(0x23a)]))[_0x8a9b38(0x3aa)](_0x1a3dfc=>{const _0x2baf7d=_0x8a9b38;_0x1a3dfc&&this[_0x2baf7d(0x349)](_0x1a3dfc);}),this[_0x8a9b38(0x271)]['urlChange$']['pipe'](_0x818dd8[_0x8a9b38(0x439)](this[_0x8a9b38(0x23a)]))['subscribe'](()=>this[_0x8a9b38(0x1a5)](_0x5752ad));}[_0x4478c1(0x349)](_0x27c9be,_0x2152b1=!0x1){const _0x5b8b18=_0x4478c1,_0x9276c0=this[_0x5b8b18(0x271)][_0x5b8b18(0xac)](_0x5b8b18(0x516));_0x27c9be[_0x5b8b18(0x507)]()!==_0x9276c0&&this['_urlService'][_0x5b8b18(0x38d)](_0x5b8b18(0x516),_0x27c9be[_0x5b8b18(0x507)](),_0x2152b1);}async[_0x4478c1(0x1a5)](_0x23ded3){const _0x1d9a61=_0x4478c1;var _0x89cf72;const _0x5d07cc=this[_0x1d9a61(0x271)][_0x1d9a61(0xac)](_0x1d9a61(0x516));if(!_0x5d07cc||!_0x23ded3['getSheetBySheetId'](_0x5d07cc)){const _0x140867=_0x23ded3['getUnhiddenWorksheets']()[0x0],_0x3748f6=_0x23ded3[_0x1d9a61(0x561)](_0x140867);if(!_0x3748f6)return;this[_0x1d9a61(0x349)](_0x3748f6,!0x0),await this[_0x1d9a61(0x292)][_0x1d9a61(0x3a3)](_0x16d7e8[_0x1d9a61(0x259)]['id'],{'unitId':_0x23ded3['getUnitId'](),'subUnitId':_0x140867});return;}((_0x89cf72=_0x23ded3[_0x1d9a61(0x440)]())==null?void 0x0:_0x89cf72['getSheetId']())!==_0x5d07cc&&await this[_0x1d9a61(0x292)][_0x1d9a61(0x3a3)](_0x16d7e8[_0x1d9a61(0x259)]['id'],{'unitId':_0x23ded3[_0x1d9a61(0x2b5)](),'subUnitId':_0x5d07cc});}async[_0x4478c1(0x4f2)](_0x2b92bd){const _0x359595=_0x4478c1;let _0x330e2a=0x0;const _0x54ff01=await this[_0x359595(0x411)][_0x359595(0xb0)](_0x2b92bd);return _0x54ff01&&(_0x54ff01[_0x359595(0xc2)]||_0x54ff01[_0x359595(0x213)][_0x359595(0x315)]!==0x0)&&(_0x330e2a=_0x54ff01[_0x359595(0x104)]),_0x330e2a===0x0&&this['_logService']['debug'](_0x359595(0x324),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x359595(0x1ba)][_0x359595(0x109)](_0x2b92bd,_0x330e2a);}async[_0x4478c1(0x1fa)](_0x1e6d8f){const _0x5765ad=_0x4478c1;let _0x5d4561=0x0;const _0x2a75e1=await this[_0x5765ad(0x411)]['loadOfflineData'](_0x1e6d8f);return _0x2a75e1&&(_0x2a75e1[_0x5765ad(0xc2)]||_0x2a75e1[_0x5765ad(0x213)][_0x5765ad(0x315)]!==0x0)&&(_0x5d4561=_0x2a75e1[_0x5765ad(0x104)]),_0x5d4561===0x0&&this[_0x5765ad(0x4c1)][_0x5765ad(0x1d9)](_0x5765ad(0x324),_0x5765ad(0x190)),this[_0x5765ad(0x1ba)]['loadDoc'](_0x1e6d8f,_0x5d4561);}},_0x1191ba[_0x4478c1(0xf5)]=_0x19f538([_0x219d71(0x0,_0x5d9dfe),_0x219d71(0x1,_0x3c1a84['ILogService']),_0x219d71(0x2,_0x3c1a84['ICommandService']),_0x219d71(0x3,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba['LocalCacheService'])),_0x219d71(0x4,_0x3c1a84[_0x4478c1(0x3dc)](_0xa820f[_0x4478c1(0x25c)])),_0x219d71(0x5,_0x3c1a84[_0x4478c1(0x40b)](_0x149d86[_0x4478c1(0x518)]))],_0x1191ba[_0x4478c1(0xf5)]);var _0x5da5ce=Object[_0x4478c1(0x19b)],_0x137005=Object['getOwnPropertyDescriptor'],_0x444765=(_0x3ca847,_0x22a48d,_0x4e19fe,_0x480115)=>{const _0x3bde52=_0x4478c1;for(var _0x5db051=_0x480115>0x1?void 0x0:_0x480115?_0x137005(_0x22a48d,_0x4e19fe):_0x22a48d,_0x19cd33=_0x3ca847[_0x3bde52(0x315)]-0x1,_0x3db769;_0x19cd33>=0x0;_0x19cd33--)(_0x3db769=_0x3ca847[_0x19cd33])&&(_0x5db051=(_0x480115?_0x3db769(_0x22a48d,_0x4e19fe,_0x5db051):_0x3db769(_0x5db051))||_0x5db051);return _0x480115&&_0x5db051&&_0x5da5ce(_0x22a48d,_0x4e19fe,_0x5db051),_0x5db051;},_0x12e748=(_0x2522d3,_0x13cad4)=>(_0xe25f02,_0x39b42c)=>_0x13cad4(_0xe25f02,_0x39b42c,_0x2522d3);const _0x5f3ab7=_0x4478c1(0x2a5),_0x318b0c=_0x4478c1(0x4dd);let _0x252e15=class extends _0x3c1a84[_0x4478c1(0x4ec)]{constructor(_0x7a703d,_0x229cfa){const _0x2820c0=_0x4478c1;super(),this[_0x2820c0(0x35b)]=_0x7a703d,this[_0x2820c0(0x17a)]=_0x229cfa,this['_init']();}[_0x4478c1(0x12b)](){const _0x228f50=_0x4478c1;this[_0x228f50(0xe5)](this[_0x228f50(0x35b)]['focused$']['subscribe'](()=>{const _0x21a46a=_0x228f50;var _0x10b711;const _0x2843a4=this[_0x21a46a(0x35b)][_0x21a46a(0x142)]();let _0x584d0a=(_0x10b711=this[_0x21a46a(0x17a)][_0x21a46a(0x1d4)](_0x5f3ab7))!=null?_0x10b711:_0x318b0c;_0x2843a4 instanceof _0x3c1a84[_0x21a46a(0x2d3)]&&(_0x584d0a=_0x2843a4[_0x21a46a(0x3d7)]),document['title']=_0x584d0a;}));}};_0x252e15=_0x444765([_0x12e748(0x0,_0x3c1a84[_0x4478c1(0x3d5)]),_0x12e748(0x1,_0x3c1a84[_0x4478c1(0x56b)])],_0x252e15);var _0x1b5fba=Object[_0x4478c1(0x19b)],_0x15953e=Object[_0x4478c1(0x4d8)],_0xd5017b=(_0x28f065,_0x47fb40,_0x46b435,_0x381a97)=>{const _0xa54339=_0x4478c1;for(var _0x13c12f=_0x381a97>0x1?void 0x0:_0x381a97?_0x15953e(_0x47fb40,_0x46b435):_0x47fb40,_0x3f0df2=_0x28f065[_0xa54339(0x315)]-0x1,_0x3dd3bf;_0x3f0df2>=0x0;_0x3f0df2--)(_0x3dd3bf=_0x28f065[_0x3f0df2])&&(_0x13c12f=(_0x381a97?_0x3dd3bf(_0x47fb40,_0x46b435,_0x13c12f):_0x3dd3bf(_0x13c12f))||_0x13c12f);return _0x381a97&&_0x13c12f&&_0x1b5fba(_0x47fb40,_0x46b435,_0x13c12f),_0x13c12f;},_0x2da787=(_0x3ff691,_0x3353d6)=>(_0x116fb7,_0xcab3b)=>_0x3353d6(_0x116fb7,_0xcab3b,_0x3ff691);let _0x33b847=class{constructor(_0x2d6a00,_0x362517,_0x86cf8){const _0x2da85d=_0x4478c1;this[_0x2da85d(0x17a)]=_0x2d6a00,this['_httpService']=_0x362517,this['localeService']=_0x86cf8,this[_0x2da85d(0x479)]();}[_0x4478c1(0x479)](){const _0x10b089=_0x4478c1;this[_0x10b089(0x255)][_0x10b089(0x3a8)]({'priority':0x1,'interceptor':(_0x177ae7,_0x2d52e2)=>_0x2d52e2(_0x177ae7)['pipe'](_0x818dd8[_0x10b089(0x155)](async _0x23850e=>{const _0x1430ad=_0x10b089,_0x2db1e2=_0x23850e;if(_0x2db1e2[_0x1430ad(0x12c)]===0x191&&window['confirm'](this[_0x1430ad(0x2df)]['t'](_0x1430ad(0xf8)))){const _0x293a2a=window[_0x1430ad(0x4e2)](window['location']['href']);window[_0x1430ad(0x55e)][_0x1430ad(0x40e)]=this['_getLoginPath']()+'?url='+_0x293a2a;}return _0x2db1e2;}))});}[_0x4478c1(0x3c8)](){const _0x244bd8=_0x4478c1;var _0x1f9221,_0x16ac37;const _0x88769d=this[_0x244bd8(0x17a)][_0x244bd8(0x1d4)](_0x358bd8),_0x1be7a6=this[_0x244bd8(0x17a)][_0x244bd8(0x1d4)](_0x52a52c);return(_0x16ac37=(_0x1f9221=_0x1be7a6==null?void 0x0:_0x1be7a6[_0x244bd8(0x16b)])!=null?_0x1f9221:_0x88769d)!=null?_0x16ac37:_0x29deaf;}};_0x33b847=_0xd5017b([_0x2da787(0x0,_0x3c1a84[_0x4478c1(0x56b)]),_0x2da787(0x1,_0x3c1a84[_0x4478c1(0x3dc)](_0x30a9e9[_0x4478c1(0x2d2)])),_0x2da787(0x2,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x3ff)]))],_0x33b847);var _0x16e5be=Object['defineProperty'],_0x4cff1f=Object[_0x4478c1(0x4d8)],_0x5c0f82=(_0x3cfd45,_0x53a305,_0x3c8dd2,_0x587570)=>{const _0x354292=_0x4478c1;for(var _0x1377e2=_0x587570>0x1?void 0x0:_0x587570?_0x4cff1f(_0x53a305,_0x3c8dd2):_0x53a305,_0x2928ea=_0x3cfd45[_0x354292(0x315)]-0x1,_0x41a863;_0x2928ea>=0x0;_0x2928ea--)(_0x41a863=_0x3cfd45[_0x2928ea])&&(_0x1377e2=(_0x587570?_0x41a863(_0x53a305,_0x3c8dd2,_0x1377e2):_0x41a863(_0x1377e2))||_0x1377e2);return _0x587570&&_0x1377e2&&_0x16e5be(_0x53a305,_0x3c8dd2,_0x1377e2),_0x1377e2;},_0x109ea3=(_0xa2a9f,_0x5b611f)=>(_0x276fd7,_0x415ad2)=>_0x5b611f(_0x276fd7,_0x415ad2,_0xa2a9f);const _0x29d188=_0x4478c1(0x4f1),_0x2e69bf=_0x4478c1(0x497);_0x1191ba['AuthzIoHttpService']=class extends _0x3c1a84['Disposable']{constructor(_0x4d0b67,_0x25c14e){const _0x538fc8=_0x4478c1;super(),this[_0x538fc8(0x2fd)]=_0x4d0b67,this[_0x538fc8(0x17a)]=_0x25c14e,this[_0x538fc8(0xdc)]();}['_initMergeInterceptor'](){const _0x5ac40c=_0x4478c1,_0x4a5c6c=this;this[_0x5ac40c(0xe5)](this[_0x5ac40c(0x2fd)][_0x5ac40c(0x3a8)]({'priority':0x3e7,'interceptor':_0x30a9e9[_0x5ac40c(0x2ef)]({'isMatch'(_0x1cce0c){const _0x241550=_0x5ac40c;var _0x49d758;if(_0x1cce0c['method']==='POST'&&((_0x49d758=_0x1cce0c[_0x241550(0x34c)])!=null&&_0x49d758['body'])){const {objectID:_0x434712,objectType:_0x23bf2c}=_0x1cce0c[_0x241550(0x34c)][_0x241550(0x126)]||{};if(!_0x434712||_0x23bf2c===void 0x0)return!0x1;const _0x4d1d14=_0x4a5c6c[_0x241550(0xba)]()+'/'+_0x23bf2c+_0x241550(0x2bd)+_0x434712+_0x241550(0x208);if(_0x1cce0c[_0x241550(0x177)]===_0x4d1d14)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3dda8a){const _0x20021d=_0x5ac40c;var _0xa221d7;return(_0xa221d7=_0x3dda8a[_0x20021d(0x34c)])==null?void 0x0:_0xa221d7[_0x20021d(0x126)];},'mergeParamsToRequest'(_0x569bd5,_0x5a00e3){const _0x204c7b=_0x5ac40c,_0x26f7d5=_0x4a5c6c[_0x204c7b(0xba)]()+'/-/object/-/batch_allowed',_0x2e808a=_0x569bd5[_0x204c7b(0x3de)]((_0x34718f,_0x32b4c3)=>{const _0x5cc635=_0x204c7b,{unitID:_0x535fdd,objectID:_0x54b467,objectType:_0x23fcdb,actions:_0x206b6f}=_0x32b4c3;return _0x34718f[_0x535fdd]||(_0x34718f[_0x535fdd]={}),_0x34718f[_0x535fdd][_0x54b467]||(_0x34718f[_0x535fdd][_0x54b467]={'objectID':_0x54b467,'objectType':_0x23fcdb,'actions':[]}),_0x34718f[_0x535fdd][_0x54b467][_0x5cc635(0x156)][_0x5cc635(0x41b)](..._0x206b6f),_0x34718f;},{}),_0x330706=[];for(const _0x4c62cd in _0x2e808a)for(const _0x47fe42 in _0x2e808a[_0x4c62cd]){const {actions:_0x1d31e2,objectType:_0x10467f}=_0x2e808a[_0x4c62cd][_0x47fe42],_0x20a593=[...new Set(_0x1d31e2)];_0x330706[_0x204c7b(0x41b)]({'unitID':_0x4c62cd,'objectID':_0x47fe42,'objectType':_0x10467f,'actions':_0x20a593});}return new _0x30a9e9[(_0x204c7b(0xb7))]('POST',_0x26f7d5,{'headers':_0x5a00e3[_0x204c7b(0x4fb)],'withCredentials':_0x5a00e3[_0x204c7b(0x1c0)],'responseType':_0x5a00e3[_0x204c7b(0x488)],'body':{'requests':_0x330706}});}},{'distributeResult'(_0xdaa86f,_0x4ba41f){const {objectActions:_0x38029c}=_0xdaa86f;return _0x4ba41f['map'](_0x4e388f=>{const _0x1aa4ba=_0x406b,{unitID:_0x5e3361,objectID:_0x544953,actions:_0x54a9ca}=_0x4e388f,_0x2fe7bd=_0x38029c[_0x1aa4ba(0x490)](_0x1acf47=>_0x1acf47[_0x1aa4ba(0x2b0)]===_0x5e3361&&_0x1acf47['objectID']===_0x544953),_0x522c3f=_0x54a9ca[_0x1aa4ba(0x20e)](_0x36291e=>_0x2fe7bd==null?void 0x0:_0x2fe7bd[_0x1aa4ba(0x156)][_0x1aa4ba(0x490)](_0x3f4567=>_0x3f4567[_0x1aa4ba(0x4f5)]===_0x36291e))[_0x1aa4ba(0x3a9)](_0x186e40=>!!_0x186e40);return{'config':_0x4e388f,'result':{'actions':_0x522c3f,'error':_0xdaa86f[_0x1aa4ba(0x17c)]}};});}})}));}['_getAPIPrefixPath'](){const _0x34d6a7=_0x4478c1;var _0x596684,_0x2fe95a;const _0x567732=this[_0x34d6a7(0x17a)][_0x34d6a7(0x1d4)](_0x29d188),_0x2b4c31=this[_0x34d6a7(0x17a)][_0x34d6a7(0x1d4)](_0x52a52c);return(_0x2fe95a=(_0x596684=_0x2b4c31==null?void 0x0:_0x2b4c31['authzUrl'])!=null?_0x596684:_0x567732)!=null?_0x2fe95a:_0x2e69bf;}async[_0x4478c1(0xb6)](_0x9075db){const _0x26e4f7=_0x4478c1,_0x5af1a3=this[_0x26e4f7(0xba)]()+'/'+_0x9075db['objectType']+_0x26e4f7(0x42a);return(await this[_0x26e4f7(0x2fd)]['post'](_0x5af1a3,{'body':_0x9075db}))['body']['objectID']||'';}async['list'](_0x2913fd){const _0x6d8ace=_0x4478c1,_0x1415c5=this[_0x6d8ace(0xba)]()+_0x6d8ace(0x1aa);return(await this['_HTTPService'][_0x6d8ace(0x32f)](_0x1415c5,{'body':_0x2913fd}))[_0x6d8ace(0x126)]['objects'];}async[_0x4478c1(0x2de)](_0x5e4335){const _0x5f4389=_0x4478c1,_0x3a0158=this[_0x5f4389(0xba)]()+'/'+_0x5e4335[_0x5f4389(0x441)]+_0x5f4389(0x2bd)+_0x5e4335[_0x5f4389(0x3f0)];await this[_0x5f4389(0x2fd)][_0x5f4389(0x489)](_0x3a0158,{'body':_0x5e4335});}async[_0x4478c1(0xb9)](_0x349d7c){const _0x295541=_0x4478c1,_0x551538=this[_0x295541(0xba)]()+'/'+_0x349d7c['objectType']+_0x295541(0x2bd)+_0x349d7c['objectID']+_0x295541(0x208);return(await this[_0x295541(0x2fd)][_0x295541(0x32f)](_0x551538,{'body':_0x349d7c}))[_0x295541(0x126)][_0x295541(0x156)];}async[_0x4478c1(0x523)](_0x3e0c16){const _0x2dbe52=_0x4478c1,_0x44302b=this[_0x2dbe52(0xba)]()+_0x2dbe52(0x2e3);return(await this[_0x2dbe52(0x2fd)][_0x2dbe52(0x32f)](_0x44302b,{'body':{'requests':_0x3e0c16}}))[_0x2dbe52(0x126)][_0x2dbe52(0x307)];}async['listRoles'](_0x78269d){const _0x308d1d=_0x4478c1,_0x108773=this[_0x308d1d(0xba)]()+'/'+_0x78269d[_0x308d1d(0x441)]+_0x308d1d(0x127),_0x63bc25=await this['_HTTPService'][_0x308d1d(0x32f)](_0x108773,{'body':_0x78269d});return{'roles':_0x63bc25[_0x308d1d(0x126)]['roles'],'actions':_0x63bc25[_0x308d1d(0x126)][_0x308d1d(0x156)]};}async[_0x4478c1(0x47e)](_0x52de75){const _0x524612=_0x4478c1,_0x5c1ca6=this[_0x524612(0xba)]()+_0x524612(0x1fc);await this[_0x524612(0x2fd)][_0x524612(0x354)](_0x5c1ca6,{'params':{'collaboratorID':_0x52de75[_0x524612(0x216)],'objectID':_0x52de75[_0x524612(0x3f0)],'unitID':_0x52de75[_0x524612(0x2b0)]}});}async[_0x4478c1(0x3c1)](_0x69b95b){const _0x5e849a=_0x4478c1,_0x24828c=this[_0x5e849a(0xba)]()+_0x5e849a(0x1fc);await this[_0x5e849a(0x2fd)]['patch'](_0x24828c,{'body':_0x69b95b});}async[_0x4478c1(0x250)](_0x4e250e){const _0x231eb5=_0x4478c1,_0x50fea9=this[_0x231eb5(0xba)]()+'/collaborator';await this['_HTTPService']['post'](_0x50fea9,{'body':_0x4e250e});}async[_0x4478c1(0x1bc)](_0x1a1760){const _0x2e3696=_0x4478c1,_0x2963f9=this[_0x2e3696(0xba)]()+_0x2e3696(0x1fc);return(await this[_0x2e3696(0x2fd)][_0x2e3696(0x115)](_0x2963f9,{'params':{'objectID':_0x1a1760[_0x2e3696(0x3f0)],'unitID':_0x1a1760['unitID']}}))[_0x2e3696(0x126)][_0x2e3696(0x20b)];}async[_0x4478c1(0x4c8)](_0x4ad53c){const _0x20c587=_0x4478c1,_0x604beb=this[_0x20c587(0xba)]()+_0x20c587(0x1fc);await this[_0x20c587(0x2fd)][_0x20c587(0x489)](_0x604beb,{'body':_0x4ad53c});}},_0x1191ba[_0x4478c1(0x564)]=_0x5c0f82([_0x109ea3(0x0,_0x3c1a84[_0x4478c1(0x3dc)](_0x30a9e9[_0x4478c1(0x2d2)])),_0x109ea3(0x1,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x56b)]))],_0x1191ba[_0x4478c1(0x564)]);var _0x34a4d3={'exports':{}};function _0x2cad11(_0x1d4735){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x1d4735+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0x396352={'exports':{}},_0x16e82e;function _0x1b73c4(){const _0x5b5f0e=_0x4478c1;return _0x16e82e||(_0x16e82e=0x1,function(_0x481727,_0x2c0235){(function(_0x100e27,_0x395540){const _0x23c6fe=_0x406b;_0x481727[_0x23c6fe(0x201)]=_0x395540();}(_0x4040b9,function(){var _0x1fc550=_0x1fc550||function(_0x4c61b1,_0x1a46c7){const _0x2d4123=_0x406b;var _0x4e21e1;if(typeof window<'u'&&window[_0x2d4123(0x4be)]&&(_0x4e21e1=window[_0x2d4123(0x4be)]),typeof self<'u'&&self[_0x2d4123(0x4be)]&&(_0x4e21e1=self['crypto']),typeof globalThis<'u'&&globalThis[_0x2d4123(0x4be)]&&(_0x4e21e1=globalThis['crypto']),!_0x4e21e1&&typeof window<'u'&&window[_0x2d4123(0x220)]&&(_0x4e21e1=window[_0x2d4123(0x220)]),!_0x4e21e1&&typeof _0x4040b9<'u'&&_0x4040b9[_0x2d4123(0x4be)]&&(_0x4e21e1=_0x4040b9['crypto']),!_0x4e21e1&&typeof _0x2cad11==_0x2d4123(0x466))try{_0x4e21e1=require(_0x2d4123(0x4be));}catch{}var _0x584d5e=function(){const _0x37a077=_0x2d4123;if(_0x4e21e1){if(typeof _0x4e21e1[_0x37a077(0xf4)]==_0x37a077(0x466))try{return _0x4e21e1['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4e21e1[_0x37a077(0xda)]==_0x37a077(0x466))try{return _0x4e21e1[_0x37a077(0xda)](0x4)[_0x37a077(0x46e)]();}catch{}}throw new Error(_0x37a077(0x43a));},_0x354d0a=Object[_0x2d4123(0xb6)]||(function(){function _0x24f99d(){}return function(_0x3e30a3){const _0x256315=_0x406b;var _0x5249b3;return _0x24f99d[_0x256315(0x35e)]=_0x3e30a3,_0x5249b3=new _0x24f99d(),_0x24f99d[_0x256315(0x35e)]=null,_0x5249b3;};}()),_0xad4a9c={},_0x15edf5=_0xad4a9c[_0x2d4123(0x2e5)]={},_0x51b064=_0x15edf5[_0x2d4123(0x360)]=(function(){return{'extend':function(_0x1d8862){const _0xe92da5=_0x406b;var _0x615680=_0x354d0a(this);return _0x1d8862&&_0x615680['mixIn'](_0x1d8862),(!_0x615680[_0xe92da5(0x143)](_0xe92da5(0x479))||this['init']===_0x615680[_0xe92da5(0x479)])&&(_0x615680[_0xe92da5(0x479)]=function(){const _0x4c34e=_0xe92da5;_0x615680['$super'][_0x4c34e(0x479)][_0x4c34e(0x52c)](this,arguments);}),_0x615680[_0xe92da5(0x479)][_0xe92da5(0x35e)]=_0x615680,_0x615680[_0xe92da5(0x568)]=this,_0x615680;},'create':function(){const _0x453f95=_0x406b;var _0x45e3c9=this[_0x453f95(0x342)]();return _0x45e3c9[_0x453f95(0x479)]['apply'](_0x45e3c9,arguments),_0x45e3c9;},'init':function(){},'mixIn':function(_0x58b6e5){const _0x2979e5=_0x406b;for(var _0x349329 in _0x58b6e5)_0x58b6e5[_0x2979e5(0x143)](_0x349329)&&(this[_0x349329]=_0x58b6e5[_0x349329]);_0x58b6e5[_0x2979e5(0x143)](_0x2979e5(0x397))&&(this[_0x2979e5(0x397)]=_0x58b6e5[_0x2979e5(0x397)]);},'clone':function(){const _0x59a77d=_0x406b;return this['init'][_0x59a77d(0x35e)][_0x59a77d(0x342)](this);}};}()),_0xb760af=_0x15edf5[_0x2d4123(0x477)]=_0x51b064[_0x2d4123(0x342)]({'init':function(_0x15f9b6,_0x346924){const _0x1e4ce5=_0x2d4123;_0x15f9b6=this['words']=_0x15f9b6||[],_0x346924!=_0x1a46c7?this[_0x1e4ce5(0x30b)]=_0x346924:this['sigBytes']=_0x15f9b6[_0x1e4ce5(0x315)]*0x4;},'toString':function(_0x333989){const _0x3ee02e=_0x2d4123;return(_0x333989||_0x5c61d6)[_0x3ee02e(0x571)](this);},'concat':function(_0xc1d540){const _0x2f6ea6=_0x2d4123;var _0x2f2667=this[_0x2f6ea6(0x13c)],_0x356b7e=_0xc1d540['words'],_0xd3e7f0=this[_0x2f6ea6(0x30b)],_0x1f4ee7=_0xc1d540[_0x2f6ea6(0x30b)];if(this[_0x2f6ea6(0x3e6)](),_0xd3e7f0%0x4)for(var _0x5bec84=0x0;_0x5bec84<_0x1f4ee7;_0x5bec84++){var _0x356415=_0x356b7e[_0x5bec84>>>0x2]>>>0x18-_0x5bec84%0x4*0x8&0xff;_0x2f2667[_0xd3e7f0+_0x5bec84>>>0x2]|=_0x356415<<0x18-(_0xd3e7f0+_0x5bec84)%0x4*0x8;}else{for(var _0x573201=0x0;_0x573201<_0x1f4ee7;_0x573201+=0x4)_0x2f2667[_0xd3e7f0+_0x573201>>>0x2]=_0x356b7e[_0x573201>>>0x2];}return this[_0x2f6ea6(0x30b)]+=_0x1f4ee7,this;},'clamp':function(){const _0xca7123=_0x2d4123;var _0x2b8f77=this[_0xca7123(0x13c)],_0x191945=this[_0xca7123(0x30b)];_0x2b8f77[_0x191945>>>0x2]&=0xffffffff<<0x20-_0x191945%0x4*0x8,_0x2b8f77[_0xca7123(0x315)]=_0x4c61b1[_0xca7123(0x1d5)](_0x191945/0x4);},'clone':function(){const _0x52b637=_0x2d4123;var _0x9a28c5=_0x51b064[_0x52b637(0x543)][_0x52b637(0x3e3)](this);return _0x9a28c5[_0x52b637(0x13c)]=this[_0x52b637(0x13c)][_0x52b637(0x29e)](0x0),_0x9a28c5;},'random':function(_0x446303){const _0x3e3ce8=_0x2d4123;for(var _0x3ca0db=[],_0x1f2a29=0x0;_0x1f2a29<_0x446303;_0x1f2a29+=0x4)_0x3ca0db[_0x3e3ce8(0x41b)](_0x584d5e());return new _0xb760af[(_0x3e3ce8(0x479))](_0x3ca0db,_0x446303);}}),_0x38dfe6=_0xad4a9c['enc']={},_0x5c61d6=_0x38dfe6[_0x2d4123(0x1b3)]={'stringify':function(_0x39de4f){const _0x5c3047=_0x2d4123;for(var _0x216497=_0x39de4f[_0x5c3047(0x13c)],_0x51582d=_0x39de4f[_0x5c3047(0x30b)],_0x16599e=[],_0x199d6f=0x0;_0x199d6f<_0x51582d;_0x199d6f++){var _0x3fc94e=_0x216497[_0x199d6f>>>0x2]>>>0x18-_0x199d6f%0x4*0x8&0xff;_0x16599e['push']((_0x3fc94e>>>0x4)[_0x5c3047(0x397)](0x10)),_0x16599e[_0x5c3047(0x41b)]((_0x3fc94e&0xf)['toString'](0x10));}return _0x16599e[_0x5c3047(0x13d)]('');},'parse':function(_0x5225e3){const _0x5a7f98=_0x2d4123;for(var _0x518789=_0x5225e3[_0x5a7f98(0x315)],_0x24c4c3=[],_0x8e3e01=0x0;_0x8e3e01<_0x518789;_0x8e3e01+=0x2)_0x24c4c3[_0x8e3e01>>>0x3]|=parseInt(_0x5225e3[_0x5a7f98(0x33f)](_0x8e3e01,0x2),0x10)<<0x18-_0x8e3e01%0x8*0x4;return new _0xb760af[(_0x5a7f98(0x479))](_0x24c4c3,_0x518789/0x2);}},_0x1dab07=_0x38dfe6[_0x2d4123(0x1c6)]={'stringify':function(_0x5ab232){const _0x5cbf20=_0x2d4123;for(var _0x4b1272=_0x5ab232[_0x5cbf20(0x13c)],_0x3585cb=_0x5ab232['sigBytes'],_0x470b5e=[],_0x4e4152=0x0;_0x4e4152<_0x3585cb;_0x4e4152++){var _0x272e44=_0x4b1272[_0x4e4152>>>0x2]>>>0x18-_0x4e4152%0x4*0x8&0xff;_0x470b5e[_0x5cbf20(0x41b)](String[_0x5cbf20(0x335)](_0x272e44));}return _0x470b5e[_0x5cbf20(0x13d)]('');},'parse':function(_0x276bd8){const _0x14dd48=_0x2d4123;for(var _0x3f22d3=_0x276bd8[_0x14dd48(0x315)],_0x50bd53=[],_0x552f31=0x0;_0x552f31<_0x3f22d3;_0x552f31++)_0x50bd53[_0x552f31>>>0x2]|=(_0x276bd8[_0x14dd48(0xcc)](_0x552f31)&0xff)<<0x18-_0x552f31%0x4*0x8;return new _0xb760af[(_0x14dd48(0x479))](_0x50bd53,_0x3f22d3);}},_0x3b05da=_0x38dfe6[_0x2d4123(0x446)]={'stringify':function(_0x4c0a17){try{return decodeURIComponent(escape(_0x1dab07['stringify'](_0x4c0a17)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x3713cb){const _0x10c001=_0x2d4123;return _0x1dab07[_0x10c001(0x33c)](unescape(encodeURIComponent(_0x3713cb)));}},_0x3302d5=_0x15edf5[_0x2d4123(0x36f)]=_0x51b064[_0x2d4123(0x342)]({'reset':function(){const _0x1fb181=_0x2d4123;this[_0x1fb181(0x2b4)]=new _0xb760af[(_0x1fb181(0x479))](),this[_0x1fb181(0xef)]=0x0;},'_append':function(_0x3021e6){const _0x5a0145=_0x2d4123;typeof _0x3021e6==_0x5a0145(0x427)&&(_0x3021e6=_0x3b05da[_0x5a0145(0x33c)](_0x3021e6)),this[_0x5a0145(0x2b4)][_0x5a0145(0x287)](_0x3021e6),this[_0x5a0145(0xef)]+=_0x3021e6['sigBytes'];},'_process':function(_0x18aa0c){const _0x279822=_0x2d4123;var _0xb115d,_0x4b4d77=this[_0x279822(0x2b4)],_0xc24457=_0x4b4d77[_0x279822(0x13c)],_0x4677f2=_0x4b4d77[_0x279822(0x30b)],_0x181489=this[_0x279822(0x19d)],_0xa17005=_0x181489*0x4,_0x389a06=_0x4677f2/_0xa17005;_0x18aa0c?_0x389a06=_0x4c61b1[_0x279822(0x1d5)](_0x389a06):_0x389a06=_0x4c61b1[_0x279822(0x1e1)]((_0x389a06|0x0)-this[_0x279822(0x313)],0x0);var _0x3c91f4=_0x389a06*_0x181489,_0x21a28b=_0x4c61b1[_0x279822(0x2d8)](_0x3c91f4*0x4,_0x4677f2);if(_0x3c91f4){for(var _0x4f25da=0x0;_0x4f25da<_0x3c91f4;_0x4f25da+=_0x181489)this[_0x279822(0x1e5)](_0xc24457,_0x4f25da);_0xb115d=_0xc24457[_0x279822(0x3a2)](0x0,_0x3c91f4),_0x4b4d77[_0x279822(0x30b)]-=_0x21a28b;}return new _0xb760af[(_0x279822(0x479))](_0xb115d,_0x21a28b);},'clone':function(){const _0x313f52=_0x2d4123;var _0x2b603e=_0x51b064['clone'][_0x313f52(0x3e3)](this);return _0x2b603e[_0x313f52(0x2b4)]=this['_data'][_0x313f52(0x543)](),_0x2b603e;},'_minBufferSize':0x0});_0x15edf5[_0x2d4123(0x24b)]=_0x3302d5[_0x2d4123(0x342)]({'cfg':_0x51b064[_0x2d4123(0x342)](),'init':function(_0x4e94f6){const _0x3462a2=_0x2d4123;this[_0x3462a2(0x18b)]=this[_0x3462a2(0x18b)][_0x3462a2(0x342)](_0x4e94f6),this[_0x3462a2(0x18c)]();},'reset':function(){const _0xb7dc65=_0x2d4123;_0x3302d5[_0xb7dc65(0x18c)][_0xb7dc65(0x3e3)](this),this[_0xb7dc65(0xf9)]();},'update':function(_0x3938a7){const _0x34d918=_0x2d4123;return this[_0x34d918(0x458)](_0x3938a7),this[_0x34d918(0x3c0)](),this;},'finalize':function(_0x561046){const _0x41bb6f=_0x2d4123;_0x561046&&this[_0x41bb6f(0x458)](_0x561046);var _0x2454be=this[_0x41bb6f(0x308)]();return _0x2454be;},'blockSize':0x10,'_createHelper':function(_0x481be0){return function(_0x464fca,_0x4ace38){return new _0x481be0['init'](_0x4ace38)['finalize'](_0x464fca);};},'_createHmacHelper':function(_0xa0b804){return function(_0x2717e8,_0x508c84){const _0x344c6d=_0x406b;return new _0x291c3b[(_0x344c6d(0x11e))][(_0x344c6d(0x479))](_0xa0b804,_0x508c84)[_0x344c6d(0x241)](_0x2717e8);};}});var _0x291c3b=_0xad4a9c[_0x2d4123(0xc1)]={};return _0xad4a9c;}(Math);return _0x1fc550;}));}(_0x396352)),_0x396352[_0x5b5f0e(0x201)];}var _0x3a5d77={'exports':{}},_0x206551;function _0x23091f(){const _0xf97118=_0x4478c1;return _0x206551||(_0x206551=0x1,function(_0x380c54,_0x1a9b86){(function(_0x3b7fa2,_0x211bc8){const _0x5780e8=_0x406b;_0x380c54[_0x5780e8(0x201)]=_0x211bc8(_0x1b73c4());}(_0x4040b9,function(_0x9570da){const _0x396690=_0x406b;return(function(){const _0xaef340=_0x406b;var _0x352de0=_0x9570da,_0x238862=_0x352de0['lib'],_0x77a555=_0x238862[_0xaef340(0x477)],_0x2dd53c=_0x352de0[_0xaef340(0x24f)];_0x2dd53c[_0xaef340(0x514)]={'stringify':function(_0x42bfe2){const _0x5c0d24=_0xaef340;var _0x2aabfe=_0x42bfe2['words'],_0x671e49=_0x42bfe2[_0x5c0d24(0x30b)],_0x408222=this[_0x5c0d24(0x1af)];_0x42bfe2[_0x5c0d24(0x3e6)]();for(var _0x392220=[],_0x8f0108=0x0;_0x8f0108<_0x671e49;_0x8f0108+=0x3)for(var _0x33ef6a=_0x2aabfe[_0x8f0108>>>0x2]>>>0x18-_0x8f0108%0x4*0x8&0xff,_0x42d15f=_0x2aabfe[_0x8f0108+0x1>>>0x2]>>>0x18-(_0x8f0108+0x1)%0x4*0x8&0xff,_0x31119b=_0x2aabfe[_0x8f0108+0x2>>>0x2]>>>0x18-(_0x8f0108+0x2)%0x4*0x8&0xff,_0x477caf=_0x33ef6a<<0x10|_0x42d15f<<0x8|_0x31119b,_0x360889=0x0;_0x360889<0x4&&_0x8f0108+_0x360889*0.75<_0x671e49;_0x360889++)_0x392220['push'](_0x408222[_0x5c0d24(0x443)](_0x477caf>>>0x6*(0x3-_0x360889)&0x3f));var _0x4e672=_0x408222[_0x5c0d24(0x443)](0x40);if(_0x4e672){for(;_0x392220[_0x5c0d24(0x315)]%0x4;)_0x392220['push'](_0x4e672);}return _0x392220[_0x5c0d24(0x13d)]('');},'parse':function(_0x4e68e9){const _0x15dbaf=_0xaef340;var _0x4ca6d3=_0x4e68e9['length'],_0x4fb84e=this[_0x15dbaf(0x1af)],_0x1302a8=this['_reverseMap'];if(!_0x1302a8){_0x1302a8=this[_0x15dbaf(0x108)]=[];for(var _0x2a71e0=0x0;_0x2a71e0<_0x4fb84e['length'];_0x2a71e0++)_0x1302a8[_0x4fb84e['charCodeAt'](_0x2a71e0)]=_0x2a71e0;}var _0x4557c3=_0x4fb84e[_0x15dbaf(0x443)](0x40);if(_0x4557c3){var _0x5700f9=_0x4e68e9['indexOf'](_0x4557c3);_0x5700f9!==-0x1&&(_0x4ca6d3=_0x5700f9);}return _0x41b2ef(_0x4e68e9,_0x4ca6d3,_0x1302a8);},'_map':_0xaef340(0x4ac)};function _0x41b2ef(_0x1f0c38,_0x4a4390,_0x30e81e){const _0x3fde70=_0xaef340;for(var _0x196668=[],_0x22943b=0x0,_0x51babc=0x0;_0x51babc<_0x4a4390;_0x51babc++)if(_0x51babc%0x4){var _0x5d02e1=_0x30e81e[_0x1f0c38[_0x3fde70(0xcc)](_0x51babc-0x1)]<<_0x51babc%0x4*0x2,_0x4cd895=_0x30e81e[_0x1f0c38[_0x3fde70(0xcc)](_0x51babc)]>>>0x6-_0x51babc%0x4*0x2,_0x572447=_0x5d02e1|_0x4cd895;_0x196668[_0x22943b>>>0x2]|=_0x572447<<0x18-_0x22943b%0x4*0x8,_0x22943b++;}return _0x77a555[_0x3fde70(0xb6)](_0x196668,_0x22943b);}}()),_0x9570da[_0x396690(0x24f)][_0x396690(0x514)];}));}(_0x3a5d77)),_0x3a5d77[_0xf97118(0x201)];}var _0x523379={'exports':{}},_0x4c6465;function _0x150d85(){const _0x436fc4=_0x4478c1;return _0x4c6465||(_0x4c6465=0x1,function(_0x239b2f,_0x363b5d){(function(_0x484d1e,_0x2b7f18){const _0x35681f=_0x406b;_0x239b2f[_0x35681f(0x201)]=_0x2b7f18(_0x1b73c4());}(_0x4040b9,function(_0x4e0ef3){return function(_0x45b3a6){const _0x2cdfd9=_0x406b;var _0x47f00a=_0x4e0ef3,_0x28f87e=_0x47f00a['lib'],_0x70ae66=_0x28f87e[_0x2cdfd9(0x477)],_0x34db46=_0x28f87e[_0x2cdfd9(0x24b)],_0x42ceef=_0x47f00a[_0x2cdfd9(0xc1)],_0x35df17=[];(function(){const _0x5647a7=_0x2cdfd9;for(var _0x1fab84=0x0;_0x1fab84<0x40;_0x1fab84++)_0x35df17[_0x1fab84]=_0x45b3a6[_0x5647a7(0x1f1)](_0x45b3a6[_0x5647a7(0x182)](_0x1fab84+0x1))*0x100000000|0x0;}());var _0x1feeb7=_0x42ceef[_0x2cdfd9(0x4df)]=_0x34db46[_0x2cdfd9(0x342)]({'_doReset':function(){const _0x521f42=_0x2cdfd9;this[_0x521f42(0x3bd)]=new _0x70ae66[(_0x521f42(0x479))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x113805,_0x40dc7f){const _0x21eff6=_0x2cdfd9;for(var _0x5af6a1=0x0;_0x5af6a1<0x10;_0x5af6a1++){var _0x21a01d=_0x40dc7f+_0x5af6a1,_0x4c752e=_0x113805[_0x21a01d];_0x113805[_0x21a01d]=(_0x4c752e<<0x8|_0x4c752e>>>0x18)&0xff00ff|(_0x4c752e<<0x18|_0x4c752e>>>0x8)&0xff00ff00;}var _0x2d00ba=this[_0x21eff6(0x3bd)][_0x21eff6(0x13c)],_0x5f2767=_0x113805[_0x40dc7f+0x0],_0x674195=_0x113805[_0x40dc7f+0x1],_0x22b84c=_0x113805[_0x40dc7f+0x2],_0x484d6b=_0x113805[_0x40dc7f+0x3],_0x20b542=_0x113805[_0x40dc7f+0x4],_0x39fef0=_0x113805[_0x40dc7f+0x5],_0x26c49e=_0x113805[_0x40dc7f+0x6],_0x257432=_0x113805[_0x40dc7f+0x7],_0x1e7376=_0x113805[_0x40dc7f+0x8],_0x234341=_0x113805[_0x40dc7f+0x9],_0x41b90b=_0x113805[_0x40dc7f+0xa],_0x1bd26d=_0x113805[_0x40dc7f+0xb],_0x20d72f=_0x113805[_0x40dc7f+0xc],_0x2e58fe=_0x113805[_0x40dc7f+0xd],_0x6c07c4=_0x113805[_0x40dc7f+0xe],_0x4e4286=_0x113805[_0x40dc7f+0xf],_0xb091f2=_0x2d00ba[0x0],_0x3cf491=_0x2d00ba[0x1],_0x11be4d=_0x2d00ba[0x2],_0x477514=_0x2d00ba[0x3];_0xb091f2=_0x25cbd1(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x5f2767,0x7,_0x35df17[0x0]),_0x477514=_0x25cbd1(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x674195,0xc,_0x35df17[0x1]),_0x11be4d=_0x25cbd1(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x22b84c,0x11,_0x35df17[0x2]),_0x3cf491=_0x25cbd1(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x484d6b,0x16,_0x35df17[0x3]),_0xb091f2=_0x25cbd1(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x20b542,0x7,_0x35df17[0x4]),_0x477514=_0x25cbd1(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x39fef0,0xc,_0x35df17[0x5]),_0x11be4d=_0x25cbd1(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x26c49e,0x11,_0x35df17[0x6]),_0x3cf491=_0x25cbd1(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x257432,0x16,_0x35df17[0x7]),_0xb091f2=_0x25cbd1(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x1e7376,0x7,_0x35df17[0x8]),_0x477514=_0x25cbd1(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x234341,0xc,_0x35df17[0x9]),_0x11be4d=_0x25cbd1(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x41b90b,0x11,_0x35df17[0xa]),_0x3cf491=_0x25cbd1(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x1bd26d,0x16,_0x35df17[0xb]),_0xb091f2=_0x25cbd1(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x20d72f,0x7,_0x35df17[0xc]),_0x477514=_0x25cbd1(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x2e58fe,0xc,_0x35df17[0xd]),_0x11be4d=_0x25cbd1(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x6c07c4,0x11,_0x35df17[0xe]),_0x3cf491=_0x25cbd1(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x4e4286,0x16,_0x35df17[0xf]),_0xb091f2=_0x4344f5(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x674195,0x5,_0x35df17[0x10]),_0x477514=_0x4344f5(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x26c49e,0x9,_0x35df17[0x11]),_0x11be4d=_0x4344f5(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x1bd26d,0xe,_0x35df17[0x12]),_0x3cf491=_0x4344f5(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x5f2767,0x14,_0x35df17[0x13]),_0xb091f2=_0x4344f5(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x39fef0,0x5,_0x35df17[0x14]),_0x477514=_0x4344f5(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x41b90b,0x9,_0x35df17[0x15]),_0x11be4d=_0x4344f5(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x4e4286,0xe,_0x35df17[0x16]),_0x3cf491=_0x4344f5(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x20b542,0x14,_0x35df17[0x17]),_0xb091f2=_0x4344f5(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x234341,0x5,_0x35df17[0x18]),_0x477514=_0x4344f5(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x6c07c4,0x9,_0x35df17[0x19]),_0x11be4d=_0x4344f5(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x484d6b,0xe,_0x35df17[0x1a]),_0x3cf491=_0x4344f5(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x1e7376,0x14,_0x35df17[0x1b]),_0xb091f2=_0x4344f5(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x2e58fe,0x5,_0x35df17[0x1c]),_0x477514=_0x4344f5(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x22b84c,0x9,_0x35df17[0x1d]),_0x11be4d=_0x4344f5(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x257432,0xe,_0x35df17[0x1e]),_0x3cf491=_0x4344f5(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x20d72f,0x14,_0x35df17[0x1f]),_0xb091f2=_0x181a9b(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x39fef0,0x4,_0x35df17[0x20]),_0x477514=_0x181a9b(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x1e7376,0xb,_0x35df17[0x21]),_0x11be4d=_0x181a9b(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x1bd26d,0x10,_0x35df17[0x22]),_0x3cf491=_0x181a9b(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x6c07c4,0x17,_0x35df17[0x23]),_0xb091f2=_0x181a9b(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x674195,0x4,_0x35df17[0x24]),_0x477514=_0x181a9b(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x20b542,0xb,_0x35df17[0x25]),_0x11be4d=_0x181a9b(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x257432,0x10,_0x35df17[0x26]),_0x3cf491=_0x181a9b(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x41b90b,0x17,_0x35df17[0x27]),_0xb091f2=_0x181a9b(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x2e58fe,0x4,_0x35df17[0x28]),_0x477514=_0x181a9b(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x5f2767,0xb,_0x35df17[0x29]),_0x11be4d=_0x181a9b(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x484d6b,0x10,_0x35df17[0x2a]),_0x3cf491=_0x181a9b(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x26c49e,0x17,_0x35df17[0x2b]),_0xb091f2=_0x181a9b(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x234341,0x4,_0x35df17[0x2c]),_0x477514=_0x181a9b(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x20d72f,0xb,_0x35df17[0x2d]),_0x11be4d=_0x181a9b(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x4e4286,0x10,_0x35df17[0x2e]),_0x3cf491=_0x181a9b(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x22b84c,0x17,_0x35df17[0x2f]),_0xb091f2=_0x1f7ead(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x5f2767,0x6,_0x35df17[0x30]),_0x477514=_0x1f7ead(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x257432,0xa,_0x35df17[0x31]),_0x11be4d=_0x1f7ead(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x6c07c4,0xf,_0x35df17[0x32]),_0x3cf491=_0x1f7ead(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x39fef0,0x15,_0x35df17[0x33]),_0xb091f2=_0x1f7ead(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x20d72f,0x6,_0x35df17[0x34]),_0x477514=_0x1f7ead(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x484d6b,0xa,_0x35df17[0x35]),_0x11be4d=_0x1f7ead(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x41b90b,0xf,_0x35df17[0x36]),_0x3cf491=_0x1f7ead(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x674195,0x15,_0x35df17[0x37]),_0xb091f2=_0x1f7ead(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x1e7376,0x6,_0x35df17[0x38]),_0x477514=_0x1f7ead(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x4e4286,0xa,_0x35df17[0x39]),_0x11be4d=_0x1f7ead(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x26c49e,0xf,_0x35df17[0x3a]),_0x3cf491=_0x1f7ead(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x2e58fe,0x15,_0x35df17[0x3b]),_0xb091f2=_0x1f7ead(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x20b542,0x6,_0x35df17[0x3c]),_0x477514=_0x1f7ead(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x1bd26d,0xa,_0x35df17[0x3d]),_0x11be4d=_0x1f7ead(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x22b84c,0xf,_0x35df17[0x3e]),_0x3cf491=_0x1f7ead(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x234341,0x15,_0x35df17[0x3f]),_0x2d00ba[0x0]=_0x2d00ba[0x0]+_0xb091f2|0x0,_0x2d00ba[0x1]=_0x2d00ba[0x1]+_0x3cf491|0x0,_0x2d00ba[0x2]=_0x2d00ba[0x2]+_0x11be4d|0x0,_0x2d00ba[0x3]=_0x2d00ba[0x3]+_0x477514|0x0;},'_doFinalize':function(){const _0xc98c9b=_0x2cdfd9;var _0x16b187=this[_0xc98c9b(0x2b4)],_0x541d72=_0x16b187[_0xc98c9b(0x13c)],_0xd5ee20=this[_0xc98c9b(0xef)]*0x8,_0x1bc5fb=_0x16b187[_0xc98c9b(0x30b)]*0x8;_0x541d72[_0x1bc5fb>>>0x5]|=0x80<<0x18-_0x1bc5fb%0x20;var _0x598d13=_0x45b3a6[_0xc98c9b(0x4f0)](_0xd5ee20/0x100000000),_0x2dd797=_0xd5ee20;_0x541d72[(_0x1bc5fb+0x40>>>0x9<<0x4)+0xf]=(_0x598d13<<0x8|_0x598d13>>>0x18)&0xff00ff|(_0x598d13<<0x18|_0x598d13>>>0x8)&0xff00ff00,_0x541d72[(_0x1bc5fb+0x40>>>0x9<<0x4)+0xe]=(_0x2dd797<<0x8|_0x2dd797>>>0x18)&0xff00ff|(_0x2dd797<<0x18|_0x2dd797>>>0x8)&0xff00ff00,_0x16b187['sigBytes']=(_0x541d72['length']+0x1)*0x4,this['_process']();for(var _0x3a8361=this['_hash'],_0x25c3cc=_0x3a8361[_0xc98c9b(0x13c)],_0x44a173=0x0;_0x44a173<0x4;_0x44a173++){var _0x111c09=_0x25c3cc[_0x44a173];_0x25c3cc[_0x44a173]=(_0x111c09<<0x8|_0x111c09>>>0x18)&0xff00ff|(_0x111c09<<0x18|_0x111c09>>>0x8)&0xff00ff00;}return _0x3a8361;},'clone':function(){const _0x5dbc64=_0x2cdfd9;var _0x32d63f=_0x34db46[_0x5dbc64(0x543)][_0x5dbc64(0x3e3)](this);return _0x32d63f['_hash']=this[_0x5dbc64(0x3bd)][_0x5dbc64(0x543)](),_0x32d63f;}});function _0x25cbd1(_0x15da58,_0x5d406b,_0xc6f93a,_0x51cace,_0x4cf4a2,_0x22abc9,_0x101d02){var _0x2b700d=_0x15da58+(_0x5d406b&_0xc6f93a|~_0x5d406b&_0x51cace)+_0x4cf4a2+_0x101d02;return(_0x2b700d<<_0x22abc9|_0x2b700d>>>0x20-_0x22abc9)+_0x5d406b;}function _0x4344f5(_0x517671,_0x289216,_0x5e8b9f,_0x228eff,_0xda6106,_0x171308,_0x48a4d6){var _0xa500bd=_0x517671+(_0x289216&_0x228eff|_0x5e8b9f&~_0x228eff)+_0xda6106+_0x48a4d6;return(_0xa500bd<<_0x171308|_0xa500bd>>>0x20-_0x171308)+_0x289216;}function _0x181a9b(_0x1a45e2,_0x4f5901,_0x3b115f,_0x42d67f,_0x61bb74,_0x1bef51,_0x518181){var _0x3a38c2=_0x1a45e2+(_0x4f5901^_0x3b115f^_0x42d67f)+_0x61bb74+_0x518181;return(_0x3a38c2<<_0x1bef51|_0x3a38c2>>>0x20-_0x1bef51)+_0x4f5901;}function _0x1f7ead(_0x505d79,_0x2d29ab,_0x1fb3cc,_0x5e3cab,_0x161bc7,_0x358073,_0x5694b0){var _0x54bdbb=_0x505d79+(_0x1fb3cc^(_0x2d29ab|~_0x5e3cab))+_0x161bc7+_0x5694b0;return(_0x54bdbb<<_0x358073|_0x54bdbb>>>0x20-_0x358073)+_0x2d29ab;}_0x47f00a['MD5']=_0x34db46['_createHelper'](_0x1feeb7),_0x47f00a[_0x2cdfd9(0x547)]=_0x34db46[_0x2cdfd9(0x567)](_0x1feeb7);}(Math),_0x4e0ef3['MD5'];}));}(_0x523379)),_0x523379[_0x436fc4(0x201)];}var _0x400156={'exports':{}},_0x4940bd={'exports':{}},_0x22496c;function _0x1bd85d(){const _0x2f58c9=_0x4478c1;return _0x22496c||(_0x22496c=0x1,function(_0x215d19,_0x4a9f5b){(function(_0x3f3eae,_0x46cafb){_0x215d19['exports']=_0x46cafb(_0x1b73c4());}(_0x4040b9,function(_0x2ece29){const _0x3d6e4f=_0x406b;return(function(){const _0x57f8c3=_0x406b;var _0x257cd3=_0x2ece29,_0x4f0834=_0x257cd3[_0x57f8c3(0x2e5)],_0x22a0ca=_0x4f0834[_0x57f8c3(0x477)],_0x33ce23=_0x4f0834[_0x57f8c3(0x24b)],_0x3826f2=_0x257cd3[_0x57f8c3(0xc1)],_0x46bb88=[],_0x25e2e0=_0x3826f2[_0x57f8c3(0x520)]=_0x33ce23['extend']({'_doReset':function(){const _0x4ac228=_0x57f8c3;this[_0x4ac228(0x3bd)]=new _0x22a0ca[(_0x4ac228(0x479))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2d2a36,_0x1e060d){const _0x46c048=_0x57f8c3;for(var _0x40e236=this['_hash'][_0x46c048(0x13c)],_0x32a5c2=_0x40e236[0x0],_0xe58058=_0x40e236[0x1],_0x30fbd2=_0x40e236[0x2],_0x5312aa=_0x40e236[0x3],_0x5d28af=_0x40e236[0x4],_0x183da0=0x0;_0x183da0<0x50;_0x183da0++){if(_0x183da0<0x10)_0x46bb88[_0x183da0]=_0x2d2a36[_0x1e060d+_0x183da0]|0x0;else{var _0x2ed87b=_0x46bb88[_0x183da0-0x3]^_0x46bb88[_0x183da0-0x8]^_0x46bb88[_0x183da0-0xe]^_0x46bb88[_0x183da0-0x10];_0x46bb88[_0x183da0]=_0x2ed87b<<0x1|_0x2ed87b>>>0x1f;}var _0x433088=(_0x32a5c2<<0x5|_0x32a5c2>>>0x1b)+_0x5d28af+_0x46bb88[_0x183da0];_0x183da0<0x14?_0x433088+=(_0xe58058&_0x30fbd2|~_0xe58058&_0x5312aa)+0x5a827999:_0x183da0<0x28?_0x433088+=(_0xe58058^_0x30fbd2^_0x5312aa)+0x6ed9eba1:_0x183da0<0x3c?_0x433088+=(_0xe58058&_0x30fbd2|_0xe58058&_0x5312aa|_0x30fbd2&_0x5312aa)-0x70e44324:_0x433088+=(_0xe58058^_0x30fbd2^_0x5312aa)-0x359d3e2a,_0x5d28af=_0x5312aa,_0x5312aa=_0x30fbd2,_0x30fbd2=_0xe58058<<0x1e|_0xe58058>>>0x2,_0xe58058=_0x32a5c2,_0x32a5c2=_0x433088;}_0x40e236[0x0]=_0x40e236[0x0]+_0x32a5c2|0x0,_0x40e236[0x1]=_0x40e236[0x1]+_0xe58058|0x0,_0x40e236[0x2]=_0x40e236[0x2]+_0x30fbd2|0x0,_0x40e236[0x3]=_0x40e236[0x3]+_0x5312aa|0x0,_0x40e236[0x4]=_0x40e236[0x4]+_0x5d28af|0x0;},'_doFinalize':function(){const _0x9589fb=_0x57f8c3;var _0x2f5049=this['_data'],_0x1f17aa=_0x2f5049[_0x9589fb(0x13c)],_0x3ca849=this[_0x9589fb(0xef)]*0x8,_0x36891a=_0x2f5049[_0x9589fb(0x30b)]*0x8;return _0x1f17aa[_0x36891a>>>0x5]|=0x80<<0x18-_0x36891a%0x20,_0x1f17aa[(_0x36891a+0x40>>>0x9<<0x4)+0xe]=Math[_0x9589fb(0x4f0)](_0x3ca849/0x100000000),_0x1f17aa[(_0x36891a+0x40>>>0x9<<0x4)+0xf]=_0x3ca849,_0x2f5049['sigBytes']=_0x1f17aa[_0x9589fb(0x315)]*0x4,this[_0x9589fb(0x3c0)](),this['_hash'];},'clone':function(){const _0x212895=_0x57f8c3;var _0x5e10f5=_0x33ce23[_0x212895(0x543)]['call'](this);return _0x5e10f5[_0x212895(0x3bd)]=this[_0x212895(0x3bd)]['clone'](),_0x5e10f5;}});_0x257cd3[_0x57f8c3(0x520)]=_0x33ce23['_createHelper'](_0x25e2e0),_0x257cd3['HmacSHA1']=_0x33ce23[_0x57f8c3(0x567)](_0x25e2e0);}()),_0x2ece29[_0x3d6e4f(0x520)];}));}(_0x4940bd)),_0x4940bd[_0x2f58c9(0x201)];}var _0x137d73={'exports':{}},_0x1489c8;function _0x361b44(){const _0x56d4b1=_0x4478c1;return _0x1489c8||(_0x1489c8=0x1,function(_0xd9a435,_0x5a2d5c){(function(_0x1ce703,_0x4afb02){const _0x77b53=_0x406b;_0xd9a435[_0x77b53(0x201)]=_0x4afb02(_0x1b73c4());}(_0x4040b9,function(_0x5136d9){(function(){const _0x2e094b=_0x406b;var _0x13ab7c=_0x5136d9,_0x250fe6=_0x13ab7c[_0x2e094b(0x2e5)],_0xb61cff=_0x250fe6['Base'],_0x22fce7=_0x13ab7c[_0x2e094b(0x24f)],_0x4fd266=_0x22fce7[_0x2e094b(0x446)],_0x3308eb=_0x13ab7c[_0x2e094b(0xc1)];_0x3308eb[_0x2e094b(0x11e)]=_0xb61cff['extend']({'init':function(_0x1de117,_0x3d8ce1){const _0x2bec2f=_0x2e094b;_0x1de117=this[_0x2bec2f(0x494)]=new _0x1de117[(_0x2bec2f(0x479))](),typeof _0x3d8ce1=='string'&&(_0x3d8ce1=_0x4fd266['parse'](_0x3d8ce1));var _0x13de39=_0x1de117[_0x2bec2f(0x19d)],_0x3916ce=_0x13de39*0x4;_0x3d8ce1[_0x2bec2f(0x30b)]>_0x3916ce&&(_0x3d8ce1=_0x1de117['finalize'](_0x3d8ce1)),_0x3d8ce1[_0x2bec2f(0x3e6)]();for(var _0x17991e=this[_0x2bec2f(0x2f5)]=_0x3d8ce1['clone'](),_0xdb1d0d=this[_0x2bec2f(0x168)]=_0x3d8ce1[_0x2bec2f(0x543)](),_0x39b5ab=_0x17991e[_0x2bec2f(0x13c)],_0x564cfd=_0xdb1d0d[_0x2bec2f(0x13c)],_0x2d4a94=0x0;_0x2d4a94<_0x13de39;_0x2d4a94++)_0x39b5ab[_0x2d4a94]^=0x5c5c5c5c,_0x564cfd[_0x2d4a94]^=0x36363636;_0x17991e[_0x2bec2f(0x30b)]=_0xdb1d0d[_0x2bec2f(0x30b)]=_0x3916ce,this[_0x2bec2f(0x18c)]();},'reset':function(){const _0x2bdc5b=_0x2e094b;var _0x344ecd=this[_0x2bdc5b(0x494)];_0x344ecd[_0x2bdc5b(0x18c)](),_0x344ecd[_0x2bdc5b(0x2de)](this[_0x2bdc5b(0x168)]);},'update':function(_0x313134){const _0x9ca034=_0x2e094b;return this[_0x9ca034(0x494)][_0x9ca034(0x2de)](_0x313134),this;},'finalize':function(_0x1abbb9){const _0x2e5a1b=_0x2e094b;var _0x1d80d0=this[_0x2e5a1b(0x494)],_0xdca75f=_0x1d80d0['finalize'](_0x1abbb9);_0x1d80d0['reset']();var _0x337301=_0x1d80d0[_0x2e5a1b(0x241)](this[_0x2e5a1b(0x2f5)][_0x2e5a1b(0x543)]()['concat'](_0xdca75f));return _0x337301;}});}());}));}(_0x137d73)),_0x137d73[_0x56d4b1(0x201)];}var _0x4c44eb;function _0x5df4e4(){const _0x513223=_0x4478c1;return _0x4c44eb||(_0x4c44eb=0x1,function(_0x1a1ca0,_0x17c1ef){(function(_0x1c9eb2,_0x283c48,_0x1c358d){const _0x5b3d70=_0x406b;_0x1a1ca0[_0x5b3d70(0x201)]=_0x283c48(_0x1b73c4(),_0x1bd85d(),_0x361b44());}(_0x4040b9,function(_0x22432c){return(function(){const _0x1c9474=_0x406b;var _0x2fb36a=_0x22432c,_0x85b64d=_0x2fb36a[_0x1c9474(0x2e5)],_0x91a672=_0x85b64d['Base'],_0x414716=_0x85b64d[_0x1c9474(0x477)],_0x10b8d3=_0x2fb36a['algo'],_0x43c8e3=_0x10b8d3[_0x1c9474(0x4df)],_0x5e4f9b=_0x10b8d3[_0x1c9474(0x2f9)]=_0x91a672['extend']({'cfg':_0x91a672[_0x1c9474(0x342)]({'keySize':0x80/0x20,'hasher':_0x43c8e3,'iterations':0x1}),'init':function(_0x86be28){const _0x15bfd1=_0x1c9474;this[_0x15bfd1(0x18b)]=this['cfg'][_0x15bfd1(0x342)](_0x86be28);},'compute':function(_0x3556e6,_0x2caf09){const _0x33210b=_0x1c9474;for(var _0x4899d8,_0x8bab82=this['cfg'],_0x3e07fb=_0x8bab82[_0x33210b(0x1f3)][_0x33210b(0xb6)](),_0x414bc2=_0x414716['create'](),_0x3c99e4=_0x414bc2[_0x33210b(0x13c)],_0xc6b93c=_0x8bab82['keySize'],_0x245fa4=_0x8bab82[_0x33210b(0x4b1)];_0x3c99e4[_0x33210b(0x315)]<_0xc6b93c;){_0x4899d8&&_0x3e07fb[_0x33210b(0x2de)](_0x4899d8),_0x4899d8=_0x3e07fb[_0x33210b(0x2de)](_0x3556e6)[_0x33210b(0x241)](_0x2caf09),_0x3e07fb['reset']();for(var _0xa2da3d=0x1;_0xa2da3d<_0x245fa4;_0xa2da3d++)_0x4899d8=_0x3e07fb['finalize'](_0x4899d8),_0x3e07fb[_0x33210b(0x18c)]();_0x414bc2['concat'](_0x4899d8);}return _0x414bc2[_0x33210b(0x30b)]=_0xc6b93c*0x4,_0x414bc2;}});_0x2fb36a[_0x1c9474(0x2f9)]=function(_0x954ebf,_0x5c22ce,_0xf3d734){const _0x5d978a=_0x1c9474;return _0x5e4f9b[_0x5d978a(0xb6)](_0xf3d734)['compute'](_0x954ebf,_0x5c22ce);};}()),_0x22432c['EvpKDF'];}));}(_0x400156)),_0x400156[_0x513223(0x201)];}var _0x3a1a0a={'exports':{}},_0x1278cd;function _0x4bc8b2(){const _0xf3925d=_0x4478c1;return _0x1278cd||(_0x1278cd=0x1,function(_0x2682bd,_0x3150c2){(function(_0x193ffd,_0x25d15e,_0x387c63){const _0x5f65cb=_0x406b;_0x2682bd[_0x5f65cb(0x201)]=_0x25d15e(_0x1b73c4(),_0x5df4e4());}(_0x4040b9,function(_0x5764d5){const _0x5e9150=_0x406b;_0x5764d5[_0x5e9150(0x2e5)]['Cipher']||function(_0x2cf062){const _0x41cb18=_0x5e9150;var _0x4bc45a=_0x5764d5,_0x1115db=_0x4bc45a[_0x41cb18(0x2e5)],_0xce63d5=_0x1115db['Base'],_0x53d0f5=_0x1115db[_0x41cb18(0x477)],_0x174143=_0x1115db['BufferedBlockAlgorithm'],_0x1b8843=_0x4bc45a[_0x41cb18(0x24f)];_0x1b8843[_0x41cb18(0x446)];var _0x3e7fa2=_0x1b8843['Base64'],_0x4c05b2=_0x4bc45a[_0x41cb18(0xc1)],_0x41a6bb=_0x4c05b2[_0x41cb18(0x2f9)],_0x4a2f80=_0x1115db['Cipher']=_0x174143[_0x41cb18(0x342)]({'cfg':_0xce63d5[_0x41cb18(0x342)](),'createEncryptor':function(_0x216a6f,_0x1d67ad){const _0x2fc802=_0x41cb18;return this[_0x2fc802(0xb6)](this['_ENC_XFORM_MODE'],_0x216a6f,_0x1d67ad);},'createDecryptor':function(_0x5d26d0,_0x37130d){const _0x5d89c2=_0x41cb18;return this[_0x5d89c2(0xb6)](this[_0x5d89c2(0x264)],_0x5d26d0,_0x37130d);},'init':function(_0x2c6eaf,_0x3e907c,_0x463828){const _0x5489d1=_0x41cb18;this[_0x5489d1(0x18b)]=this[_0x5489d1(0x18b)][_0x5489d1(0x342)](_0x463828),this['_xformMode']=_0x2c6eaf,this['_key']=_0x3e907c,this[_0x5489d1(0x18c)]();},'reset':function(){const _0x233ae2=_0x41cb18;_0x174143[_0x233ae2(0x18c)][_0x233ae2(0x3e3)](this),this[_0x233ae2(0xf9)]();},'process':function(_0x5f45f9){const _0x4979f8=_0x41cb18;return this[_0x4979f8(0x458)](_0x5f45f9),this[_0x4979f8(0x3c0)]();},'finalize':function(_0x574a4e){const _0x527acc=_0x41cb18;_0x574a4e&&this[_0x527acc(0x458)](_0x574a4e);var _0xafa220=this[_0x527acc(0x308)]();return _0xafa220;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xa69237(_0x10fc5b){const _0x1c1ee1=_0x406b;return typeof _0x10fc5b==_0x1c1ee1(0x427)?_0xe48bf4:_0x3a6cc6;}return function(_0x4e6a6d){return{'encrypt':function(_0x48db72,_0x444968,_0x47acb3){return _0xa69237(_0x444968)['encrypt'](_0x4e6a6d,_0x48db72,_0x444968,_0x47acb3);},'decrypt':function(_0x4be6d6,_0x4dd298,_0x4252a3){const _0xe4a305=_0x406b;return _0xa69237(_0x4dd298)[_0xe4a305(0x277)](_0x4e6a6d,_0x4be6d6,_0x4dd298,_0x4252a3);}};};}())});_0x1115db[_0x41cb18(0x2b2)]=_0x4a2f80[_0x41cb18(0x342)]({'_doFinalize':function(){const _0x11fc8a=_0x41cb18;var _0x1898aa=this[_0x11fc8a(0x3c0)](!0x0);return _0x1898aa;},'blockSize':0x1});var _0x247ad6=_0x4bc45a[_0x41cb18(0x4d5)]={},_0x2b38c2=_0x1115db['BlockCipherMode']=_0xce63d5[_0x41cb18(0x342)]({'createEncryptor':function(_0x2d5794,_0x19a284){const _0x4eddae=_0x41cb18;return this[_0x4eddae(0x570)][_0x4eddae(0xb6)](_0x2d5794,_0x19a284);},'createDecryptor':function(_0x35528a,_0x3973a0){const _0x596ccb=_0x41cb18;return this['Decryptor'][_0x596ccb(0xb6)](_0x35528a,_0x3973a0);},'init':function(_0x453ae5,_0x52a497){const _0x2f72ad=_0x41cb18;this[_0x2f72ad(0x456)]=_0x453ae5,this['_iv']=_0x52a497;}}),_0x5d2faf=_0x247ad6[_0x41cb18(0x202)]=(function(){const _0x2d4946=_0x41cb18;var _0x34dda9=_0x2b38c2[_0x2d4946(0x342)]();_0x34dda9['Encryptor']=_0x34dda9[_0x2d4946(0x342)]({'processBlock':function(_0xd4257f,_0x554936){const _0x10fef9=_0x2d4946;var _0x5cae4f=this['_cipher'],_0x241f75=_0x5cae4f[_0x10fef9(0x19d)];_0x2e5e3a[_0x10fef9(0x3e3)](this,_0xd4257f,_0x554936,_0x241f75),_0x5cae4f['encryptBlock'](_0xd4257f,_0x554936),this[_0x10fef9(0x40d)]=_0xd4257f[_0x10fef9(0x29e)](_0x554936,_0x554936+_0x241f75);}}),_0x34dda9['Decryptor']=_0x34dda9[_0x2d4946(0x342)]({'processBlock':function(_0x483e0c,_0xf5dc91){const _0x40217a=_0x2d4946;var _0x41ef37=this[_0x40217a(0x456)],_0x1a4752=_0x41ef37[_0x40217a(0x19d)],_0x3e5c5b=_0x483e0c[_0x40217a(0x29e)](_0xf5dc91,_0xf5dc91+_0x1a4752);_0x41ef37[_0x40217a(0x448)](_0x483e0c,_0xf5dc91),_0x2e5e3a[_0x40217a(0x3e3)](this,_0x483e0c,_0xf5dc91,_0x1a4752),this['_prevBlock']=_0x3e5c5b;}});function _0x2e5e3a(_0x5eb22f,_0x372650,_0x3707fa){const _0x21860d=_0x2d4946;var _0x20cfd7,_0x56d1de=this[_0x21860d(0x55d)];_0x56d1de?(_0x20cfd7=_0x56d1de,this[_0x21860d(0x55d)]=_0x2cf062):_0x20cfd7=this[_0x21860d(0x40d)];for(var _0x1e34fb=0x0;_0x1e34fb<_0x3707fa;_0x1e34fb++)_0x5eb22f[_0x372650+_0x1e34fb]^=_0x20cfd7[_0x1e34fb];}return _0x34dda9;}()),_0x34658f=_0x4bc45a[_0x41cb18(0x263)]={},_0x251905=_0x34658f[_0x41cb18(0x188)]={'pad':function(_0xaa8995,_0x3c3fea){const _0x3b21d8=_0x41cb18;for(var _0x46d1f9=_0x3c3fea*0x4,_0x11f824=_0x46d1f9-_0xaa8995[_0x3b21d8(0x30b)]%_0x46d1f9,_0xa524d8=_0x11f824<<0x18|_0x11f824<<0x10|_0x11f824<<0x8|_0x11f824,_0x4c7a57=[],_0x5c5ea1=0x0;_0x5c5ea1<_0x11f824;_0x5c5ea1+=0x4)_0x4c7a57['push'](_0xa524d8);var _0x6172da=_0x53d0f5[_0x3b21d8(0xb6)](_0x4c7a57,_0x11f824);_0xaa8995['concat'](_0x6172da);},'unpad':function(_0x318a0d){const _0xe19971=_0x41cb18;var _0x1532b9=_0x318a0d[_0xe19971(0x13c)][_0x318a0d[_0xe19971(0x30b)]-0x1>>>0x2]&0xff;_0x318a0d[_0xe19971(0x30b)]-=_0x1532b9;}};_0x1115db[_0x41cb18(0x1d0)]=_0x4a2f80[_0x41cb18(0x342)]({'cfg':_0x4a2f80[_0x41cb18(0x18b)]['extend']({'mode':_0x5d2faf,'padding':_0x251905}),'reset':function(){const _0x359a4a=_0x41cb18;var _0x5155e3;_0x4a2f80[_0x359a4a(0x18c)]['call'](this);var _0x4a7c68=this[_0x359a4a(0x18b)],_0x34aaca=_0x4a7c68['iv'],_0x2dbeae=_0x4a7c68[_0x359a4a(0x4d5)];this['_xformMode']==this[_0x359a4a(0x392)]?_0x5155e3=_0x2dbeae['createEncryptor']:(_0x5155e3=_0x2dbeae[_0x359a4a(0x294)],this[_0x359a4a(0x313)]=0x1),this[_0x359a4a(0x32c)]&&this[_0x359a4a(0x32c)][_0x359a4a(0x28e)]==_0x5155e3?this[_0x359a4a(0x32c)]['init'](this,_0x34aaca&&_0x34aaca[_0x359a4a(0x13c)]):(this['_mode']=_0x5155e3[_0x359a4a(0x3e3)](_0x2dbeae,this,_0x34aaca&&_0x34aaca[_0x359a4a(0x13c)]),this[_0x359a4a(0x32c)]['__creator']=_0x5155e3);},'_doProcessBlock':function(_0x468fcc,_0x19c91f){const _0x51b8e9=_0x41cb18;this[_0x51b8e9(0x32c)][_0x51b8e9(0x119)](_0x468fcc,_0x19c91f);},'_doFinalize':function(){const _0x247d04=_0x41cb18;var _0x27ae5b,_0x24955c=this[_0x247d04(0x18b)][_0x247d04(0x444)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x24955c['pad'](this[_0x247d04(0x2b4)],this[_0x247d04(0x19d)]),_0x27ae5b=this[_0x247d04(0x3c0)](!0x0)):(_0x27ae5b=this['_process'](!0x0),_0x24955c[_0x247d04(0x16a)](_0x27ae5b)),_0x27ae5b;},'blockSize':0x80/0x20});var _0x28b93a=_0x1115db[_0x41cb18(0x4c9)]=_0xce63d5[_0x41cb18(0x342)]({'init':function(_0x1eaa52){this['mixIn'](_0x1eaa52);},'toString':function(_0x1fa728){const _0x131b17=_0x41cb18;return(_0x1fa728||this[_0x131b17(0x2cd)])[_0x131b17(0x571)](this);}}),_0x47de14=_0x4bc45a['format']={},_0x63854a=_0x47de14[_0x41cb18(0x512)]={'stringify':function(_0x106746){const _0x5dafa4=_0x41cb18;var _0x3426b2,_0x308c8f=_0x106746[_0x5dafa4(0x3ae)],_0x109a8e=_0x106746['salt'];return _0x109a8e?_0x3426b2=_0x53d0f5[_0x5dafa4(0xb6)]([0x53616c74,0x65645f5f])[_0x5dafa4(0x287)](_0x109a8e)[_0x5dafa4(0x287)](_0x308c8f):_0x3426b2=_0x308c8f,_0x3426b2[_0x5dafa4(0x397)](_0x3e7fa2);},'parse':function(_0x2449aa){const _0x40cf6a=_0x41cb18;var _0x461738,_0x4eda4d=_0x3e7fa2[_0x40cf6a(0x33c)](_0x2449aa),_0xe8079f=_0x4eda4d[_0x40cf6a(0x13c)];return _0xe8079f[0x0]==0x53616c74&&_0xe8079f[0x1]==0x65645f5f&&(_0x461738=_0x53d0f5[_0x40cf6a(0xb6)](_0xe8079f[_0x40cf6a(0x29e)](0x2,0x4)),_0xe8079f[_0x40cf6a(0x3a2)](0x0,0x4),_0x4eda4d[_0x40cf6a(0x30b)]-=0x10),_0x28b93a[_0x40cf6a(0xb6)]({'ciphertext':_0x4eda4d,'salt':_0x461738});}},_0x3a6cc6=_0x1115db[_0x41cb18(0x192)]=_0xce63d5[_0x41cb18(0x342)]({'cfg':_0xce63d5[_0x41cb18(0x342)]({'format':_0x63854a}),'encrypt':function(_0xb16dab,_0x19ece4,_0x47a0d2,_0x3918ed){const _0x1661ce=_0x41cb18;_0x3918ed=this['cfg'][_0x1661ce(0x342)](_0x3918ed);var _0x128d2c=_0xb16dab[_0x1661ce(0x158)](_0x47a0d2,_0x3918ed),_0xf298d5=_0x128d2c['finalize'](_0x19ece4),_0x15c25d=_0x128d2c['cfg'];return _0x28b93a['create']({'ciphertext':_0xf298d5,'key':_0x47a0d2,'iv':_0x15c25d['iv'],'algorithm':_0xb16dab,'mode':_0x15c25d[_0x1661ce(0x4d5)],'padding':_0x15c25d[_0x1661ce(0x444)],'blockSize':_0xb16dab[_0x1661ce(0x19d)],'formatter':_0x3918ed[_0x1661ce(0x386)]});},'decrypt':function(_0x42ea6a,_0x2298c5,_0xee091,_0x26aa2b){const _0x1a461e=_0x41cb18;_0x26aa2b=this['cfg'][_0x1a461e(0x342)](_0x26aa2b),_0x2298c5=this[_0x1a461e(0x4fd)](_0x2298c5,_0x26aa2b[_0x1a461e(0x386)]);var _0x23dbbb=_0x42ea6a[_0x1a461e(0x294)](_0xee091,_0x26aa2b)[_0x1a461e(0x241)](_0x2298c5['ciphertext']);return _0x23dbbb;},'_parse':function(_0x119366,_0x56c007){const _0x17d820=_0x41cb18;return typeof _0x119366==_0x17d820(0x427)?_0x56c007[_0x17d820(0x33c)](_0x119366,this):_0x119366;}}),_0x1e14e8=_0x4bc45a[_0x41cb18(0x21f)]={},_0x5e798c=_0x1e14e8[_0x41cb18(0x512)]={'execute':function(_0x5e9b14,_0x21a640,_0x379100,_0x44be74,_0x2d79b8){const _0x4b6373=_0x41cb18;if(_0x44be74||(_0x44be74=_0x53d0f5[_0x4b6373(0x144)](0x40/0x8)),_0x2d79b8)var _0x446d7d=_0x41a6bb[_0x4b6373(0xb6)]({'keySize':_0x21a640+_0x379100,'hasher':_0x2d79b8})[_0x4b6373(0xf3)](_0x5e9b14,_0x44be74);else var _0x446d7d=_0x41a6bb['create']({'keySize':_0x21a640+_0x379100})[_0x4b6373(0xf3)](_0x5e9b14,_0x44be74);var _0x5203fb=_0x53d0f5['create'](_0x446d7d[_0x4b6373(0x13c)]['slice'](_0x21a640),_0x379100*0x4);return _0x446d7d[_0x4b6373(0x30b)]=_0x21a640*0x4,_0x28b93a[_0x4b6373(0xb6)]({'key':_0x446d7d,'iv':_0x5203fb,'salt':_0x44be74});}},_0xe48bf4=_0x1115db['PasswordBasedCipher']=_0x3a6cc6[_0x41cb18(0x342)]({'cfg':_0x3a6cc6[_0x41cb18(0x18b)][_0x41cb18(0x342)]({'kdf':_0x5e798c}),'encrypt':function(_0x11e879,_0x35e7bb,_0x2ed036,_0x1eb041){const _0x400f5f=_0x41cb18;_0x1eb041=this[_0x400f5f(0x18b)][_0x400f5f(0x342)](_0x1eb041);var _0xeaf513=_0x1eb041['kdf']['execute'](_0x2ed036,_0x11e879[_0x400f5f(0x421)],_0x11e879[_0x400f5f(0x1c8)],_0x1eb041['salt'],_0x1eb041[_0x400f5f(0x1f3)]);_0x1eb041['iv']=_0xeaf513['iv'];var _0x29bb19=_0x3a6cc6[_0x400f5f(0x48a)][_0x400f5f(0x3e3)](this,_0x11e879,_0x35e7bb,_0xeaf513[_0x400f5f(0x426)],_0x1eb041);return _0x29bb19[_0x400f5f(0x1ab)](_0xeaf513),_0x29bb19;},'decrypt':function(_0x9562dc,_0xad9eb2,_0xa4c0d,_0x3e4c07){const _0x5a848a=_0x41cb18;_0x3e4c07=this[_0x5a848a(0x18b)][_0x5a848a(0x342)](_0x3e4c07),_0xad9eb2=this['_parse'](_0xad9eb2,_0x3e4c07[_0x5a848a(0x386)]);var _0x2230d2=_0x3e4c07[_0x5a848a(0x21f)][_0x5a848a(0x1bb)](_0xa4c0d,_0x9562dc[_0x5a848a(0x421)],_0x9562dc['ivSize'],_0xad9eb2[_0x5a848a(0x513)],_0x3e4c07['hasher']);_0x3e4c07['iv']=_0x2230d2['iv'];var _0xcbee5f=_0x3a6cc6['decrypt'][_0x5a848a(0x3e3)](this,_0x9562dc,_0xad9eb2,_0x2230d2[_0x5a848a(0x426)],_0x3e4c07);return _0xcbee5f;}});}();}));}(_0x3a1a0a)),_0x3a1a0a[_0xf3925d(0x201)];}(function(_0x26d214,_0x4bcfa2){(function(_0x11c745,_0x253d1e,_0x487666){const _0x59fe3d=_0x406b;_0x26d214[_0x59fe3d(0x201)]=_0x253d1e(_0x1b73c4(),_0x23091f(),_0x150d85(),_0x5df4e4(),_0x4bc8b2());}(_0x4040b9,function(_0x5cd923){const _0x54b960=_0x406b;return(function(){const _0x522c1c=_0x406b;var _0x213d7b=_0x5cd923,_0x26b1d9=_0x213d7b[_0x522c1c(0x2e5)],_0x3e0b2b=_0x26b1d9['BlockCipher'],_0x2c7f35=_0x213d7b[_0x522c1c(0xc1)],_0x339caf=[],_0x204e5c=[],_0x231eb9=[],_0x5660a3=[],_0x258d9e=[],_0x3ec971=[],_0x4c6dc7=[],_0x45c541=[],_0x79f113=[],_0x186ea7=[];(function(){for(var _0x4ba124=[],_0x3d00c2=0x0;_0x3d00c2<0x100;_0x3d00c2++)_0x3d00c2<0x80?_0x4ba124[_0x3d00c2]=_0x3d00c2<<0x1:_0x4ba124[_0x3d00c2]=_0x3d00c2<<0x1^0x11b;for(var _0x3a891c=0x0,_0x5bace5=0x0,_0x3d00c2=0x0;_0x3d00c2<0x100;_0x3d00c2++){var _0x106fd6=_0x5bace5^_0x5bace5<<0x1^_0x5bace5<<0x2^_0x5bace5<<0x3^_0x5bace5<<0x4;_0x106fd6=_0x106fd6>>>0x8^_0x106fd6&0xff^0x63,_0x339caf[_0x3a891c]=_0x106fd6,_0x204e5c[_0x106fd6]=_0x3a891c;var _0x2e5755=_0x4ba124[_0x3a891c],_0x42a50f=_0x4ba124[_0x2e5755],_0x3edd00=_0x4ba124[_0x42a50f],_0x4a6fdb=_0x4ba124[_0x106fd6]*0x101^_0x106fd6*0x1010100;_0x231eb9[_0x3a891c]=_0x4a6fdb<<0x18|_0x4a6fdb>>>0x8,_0x5660a3[_0x3a891c]=_0x4a6fdb<<0x10|_0x4a6fdb>>>0x10,_0x258d9e[_0x3a891c]=_0x4a6fdb<<0x8|_0x4a6fdb>>>0x18,_0x3ec971[_0x3a891c]=_0x4a6fdb;var _0x4a6fdb=_0x3edd00*0x1010101^_0x42a50f*0x10001^_0x2e5755*0x101^_0x3a891c*0x1010100;_0x4c6dc7[_0x106fd6]=_0x4a6fdb<<0x18|_0x4a6fdb>>>0x8,_0x45c541[_0x106fd6]=_0x4a6fdb<<0x10|_0x4a6fdb>>>0x10,_0x79f113[_0x106fd6]=_0x4a6fdb<<0x8|_0x4a6fdb>>>0x18,_0x186ea7[_0x106fd6]=_0x4a6fdb,_0x3a891c?(_0x3a891c=_0x2e5755^_0x4ba124[_0x4ba124[_0x4ba124[_0x3edd00^_0x2e5755]]],_0x5bace5^=_0x4ba124[_0x4ba124[_0x5bace5]]):_0x3a891c=_0x5bace5=0x1;}}());var _0x4a3148=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x27e2fd=_0x2c7f35[_0x522c1c(0x39b)]=_0x3e0b2b[_0x522c1c(0x342)]({'_doReset':function(){const _0x53dbdf=_0x522c1c;var _0x510f3c;if(!(this[_0x53dbdf(0x223)]&&this['_keyPriorReset']===this[_0x53dbdf(0x544)])){for(var _0x25492d=this['_keyPriorReset']=this[_0x53dbdf(0x544)],_0xf35d7e=_0x25492d['words'],_0x529a03=_0x25492d[_0x53dbdf(0x30b)]/0x4,_0x5b13cc=this['_nRounds']=_0x529a03+0x6,_0x2a0c6c=(_0x5b13cc+0x1)*0x4,_0x2552f5=this[_0x53dbdf(0x52d)]=[],_0x3dac4d=0x0;_0x3dac4d<_0x2a0c6c;_0x3dac4d++)_0x3dac4d<_0x529a03?_0x2552f5[_0x3dac4d]=_0xf35d7e[_0x3dac4d]:(_0x510f3c=_0x2552f5[_0x3dac4d-0x1],_0x3dac4d%_0x529a03?_0x529a03>0x6&&_0x3dac4d%_0x529a03==0x4&&(_0x510f3c=_0x339caf[_0x510f3c>>>0x18]<<0x18|_0x339caf[_0x510f3c>>>0x10&0xff]<<0x10|_0x339caf[_0x510f3c>>>0x8&0xff]<<0x8|_0x339caf[_0x510f3c&0xff]):(_0x510f3c=_0x510f3c<<0x8|_0x510f3c>>>0x18,_0x510f3c=_0x339caf[_0x510f3c>>>0x18]<<0x18|_0x339caf[_0x510f3c>>>0x10&0xff]<<0x10|_0x339caf[_0x510f3c>>>0x8&0xff]<<0x8|_0x339caf[_0x510f3c&0xff],_0x510f3c^=_0x4a3148[_0x3dac4d/_0x529a03|0x0]<<0x18),_0x2552f5[_0x3dac4d]=_0x2552f5[_0x3dac4d-_0x529a03]^_0x510f3c);for(var _0x528c52=this[_0x53dbdf(0x2da)]=[],_0x35af2a=0x0;_0x35af2a<_0x2a0c6c;_0x35af2a++){var _0x3dac4d=_0x2a0c6c-_0x35af2a;if(_0x35af2a%0x4)var _0x510f3c=_0x2552f5[_0x3dac4d];else var _0x510f3c=_0x2552f5[_0x3dac4d-0x4];_0x35af2a<0x4||_0x3dac4d<=0x4?_0x528c52[_0x35af2a]=_0x510f3c:_0x528c52[_0x35af2a]=_0x4c6dc7[_0x339caf[_0x510f3c>>>0x18]]^_0x45c541[_0x339caf[_0x510f3c>>>0x10&0xff]]^_0x79f113[_0x339caf[_0x510f3c>>>0x8&0xff]]^_0x186ea7[_0x339caf[_0x510f3c&0xff]];}}},'encryptBlock':function(_0x382b6b,_0x2f7612){const _0xf31e37=_0x522c1c;this[_0xf31e37(0x52e)](_0x382b6b,_0x2f7612,this['_keySchedule'],_0x231eb9,_0x5660a3,_0x258d9e,_0x3ec971,_0x339caf);},'decryptBlock':function(_0x32ea41,_0xf98a53){const _0x185fd0=_0x522c1c;var _0x51b0ce=_0x32ea41[_0xf98a53+0x1];_0x32ea41[_0xf98a53+0x1]=_0x32ea41[_0xf98a53+0x3],_0x32ea41[_0xf98a53+0x3]=_0x51b0ce,this[_0x185fd0(0x52e)](_0x32ea41,_0xf98a53,this['_invKeySchedule'],_0x4c6dc7,_0x45c541,_0x79f113,_0x186ea7,_0x204e5c);var _0x51b0ce=_0x32ea41[_0xf98a53+0x1];_0x32ea41[_0xf98a53+0x1]=_0x32ea41[_0xf98a53+0x3],_0x32ea41[_0xf98a53+0x3]=_0x51b0ce;},'_doCryptBlock':function(_0x6fb7c1,_0x5ae2ee,_0x5592a3,_0x3f0d08,_0x3f0853,_0x3bc08b,_0x3c380b,_0x2bd18a){const _0x12bfcc=_0x522c1c;for(var _0x4da05f=this[_0x12bfcc(0x223)],_0x29407c=_0x6fb7c1[_0x5ae2ee]^_0x5592a3[0x0],_0x3e0357=_0x6fb7c1[_0x5ae2ee+0x1]^_0x5592a3[0x1],_0x15c5c6=_0x6fb7c1[_0x5ae2ee+0x2]^_0x5592a3[0x2],_0x4291d1=_0x6fb7c1[_0x5ae2ee+0x3]^_0x5592a3[0x3],_0x3d4172=0x4,_0x341ab6=0x1;_0x341ab6<_0x4da05f;_0x341ab6++){var _0x233f09=_0x3f0d08[_0x29407c>>>0x18]^_0x3f0853[_0x3e0357>>>0x10&0xff]^_0x3bc08b[_0x15c5c6>>>0x8&0xff]^_0x3c380b[_0x4291d1&0xff]^_0x5592a3[_0x3d4172++],_0x15727b=_0x3f0d08[_0x3e0357>>>0x18]^_0x3f0853[_0x15c5c6>>>0x10&0xff]^_0x3bc08b[_0x4291d1>>>0x8&0xff]^_0x3c380b[_0x29407c&0xff]^_0x5592a3[_0x3d4172++],_0x58bfe3=_0x3f0d08[_0x15c5c6>>>0x18]^_0x3f0853[_0x4291d1>>>0x10&0xff]^_0x3bc08b[_0x29407c>>>0x8&0xff]^_0x3c380b[_0x3e0357&0xff]^_0x5592a3[_0x3d4172++],_0x19b1a8=_0x3f0d08[_0x4291d1>>>0x18]^_0x3f0853[_0x29407c>>>0x10&0xff]^_0x3bc08b[_0x3e0357>>>0x8&0xff]^_0x3c380b[_0x15c5c6&0xff]^_0x5592a3[_0x3d4172++];_0x29407c=_0x233f09,_0x3e0357=_0x15727b,_0x15c5c6=_0x58bfe3,_0x4291d1=_0x19b1a8;}var _0x233f09=(_0x2bd18a[_0x29407c>>>0x18]<<0x18|_0x2bd18a[_0x3e0357>>>0x10&0xff]<<0x10|_0x2bd18a[_0x15c5c6>>>0x8&0xff]<<0x8|_0x2bd18a[_0x4291d1&0xff])^_0x5592a3[_0x3d4172++],_0x15727b=(_0x2bd18a[_0x3e0357>>>0x18]<<0x18|_0x2bd18a[_0x15c5c6>>>0x10&0xff]<<0x10|_0x2bd18a[_0x4291d1>>>0x8&0xff]<<0x8|_0x2bd18a[_0x29407c&0xff])^_0x5592a3[_0x3d4172++],_0x58bfe3=(_0x2bd18a[_0x15c5c6>>>0x18]<<0x18|_0x2bd18a[_0x4291d1>>>0x10&0xff]<<0x10|_0x2bd18a[_0x29407c>>>0x8&0xff]<<0x8|_0x2bd18a[_0x3e0357&0xff])^_0x5592a3[_0x3d4172++],_0x19b1a8=(_0x2bd18a[_0x4291d1>>>0x18]<<0x18|_0x2bd18a[_0x29407c>>>0x10&0xff]<<0x10|_0x2bd18a[_0x3e0357>>>0x8&0xff]<<0x8|_0x2bd18a[_0x15c5c6&0xff])^_0x5592a3[_0x3d4172++];_0x6fb7c1[_0x5ae2ee]=_0x233f09,_0x6fb7c1[_0x5ae2ee+0x1]=_0x15727b,_0x6fb7c1[_0x5ae2ee+0x2]=_0x58bfe3,_0x6fb7c1[_0x5ae2ee+0x3]=_0x19b1a8;},'keySize':0x100/0x20});_0x213d7b[_0x522c1c(0x39b)]=_0x3e0b2b[_0x522c1c(0x476)](_0x27e2fd);}()),_0x5cd923[_0x54b960(0x39b)];}));}(_0x34a4d3));var _0x3f32b4=_0x34a4d3[_0x4478c1(0x201)];const _0x44c494=_0x3b9412(_0x3f32b4);var _0x2ee66b=_0x23091f();const _0x27d9ee=_0x3b9412(_0x2ee66b);var _0x314b15={'exports':{}};(function(_0x5f3efd,_0x4db0bf){(function(_0x4fb1d9,_0x1ada5e){const _0xbe8c80=_0x406b;_0x5f3efd[_0xbe8c80(0x201)]=_0x1ada5e(_0x1b73c4());}(_0x4040b9,function(_0x5a3c5e){const _0x4ea993=_0x406b;return _0x5a3c5e[_0x4ea993(0x24f)]['Utf8'];}));}(_0x314b15));var _0x16d676=_0x314b15[_0x4478c1(0x201)];const _0x17afd5=_0x3b9412(_0x16d676);var _0x3bb09c={'exports':{}};(function(_0x5accae,_0x1cbdd4){(function(_0x171246,_0x2619b6){_0x5accae['exports']=_0x2619b6(_0x1b73c4());}(_0x4040b9,function(_0x3f4ba3){const _0x5c340a=_0x406b;return(function(){const _0x1b4453=_0x406b;if(typeof ArrayBuffer==_0x1b4453(0x466)){var _0x1dbc45=_0x3f4ba3,_0x10ca47=_0x1dbc45[_0x1b4453(0x2e5)],_0x1d4c8=_0x10ca47[_0x1b4453(0x477)],_0x3fbb60=_0x1d4c8[_0x1b4453(0x479)],_0x60ff4e=_0x1d4c8[_0x1b4453(0x479)]=function(_0x3ae091){const _0x2752e5=_0x1b4453;if(_0x3ae091 instanceof ArrayBuffer&&(_0x3ae091=new Uint8Array(_0x3ae091)),(_0x3ae091 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3ae091 instanceof Uint8ClampedArray||_0x3ae091 instanceof Int16Array||_0x3ae091 instanceof Uint16Array||_0x3ae091 instanceof Int32Array||_0x3ae091 instanceof Uint32Array||_0x3ae091 instanceof Float32Array||_0x3ae091 instanceof Float64Array)&&(_0x3ae091=new Uint8Array(_0x3ae091[_0x2752e5(0x2c5)],_0x3ae091[_0x2752e5(0x3ea)],_0x3ae091[_0x2752e5(0x33a)])),_0x3ae091 instanceof Uint8Array){for(var _0x5d998a=_0x3ae091[_0x2752e5(0x33a)],_0x386164=[],_0x1ed475=0x0;_0x1ed475<_0x5d998a;_0x1ed475++)_0x386164[_0x1ed475>>>0x2]|=_0x3ae091[_0x1ed475]<<0x18-_0x1ed475%0x4*0x8;_0x3fbb60[_0x2752e5(0x3e3)](this,_0x386164,_0x5d998a);}else _0x3fbb60[_0x2752e5(0x52c)](this,arguments);};_0x60ff4e['prototype']=_0x1d4c8;}}()),_0x3f4ba3[_0x5c340a(0x2e5)]['WordArray'];}));}(_0x3bb09c));var _0x530467=_0x3bb09c[_0x4478c1(0x201)];const _0x5b8cfb=_0x3b9412(_0x530467);var _0x438717={'exports':{}};(function(_0x25a92e,_0x29f4b4){(function(_0x3ad7f1,_0x49a8bd,_0x94fd35){const _0x172e4c=_0x406b;_0x25a92e[_0x172e4c(0x201)]=_0x49a8bd(_0x1b73c4(),_0x4bc8b2());}(_0x4040b9,function(_0x186a5f){const _0x2c4f86=_0x406b;return _0x186a5f[_0x2c4f86(0x263)][_0x2c4f86(0x363)]={'pad':function(){},'unpad':function(){}},_0x186a5f[_0x2c4f86(0x263)][_0x2c4f86(0x363)];}));}(_0x438717));var _0x17bd1f=_0x438717[_0x4478c1(0x201)];const _0x5e0762=_0x3b9412(_0x17bd1f);function _0xef3480(_0xa124f0,_0x4ca5a8){const _0x235229=_0x4478c1,_0x9421c1=_0x4ca5a8-_0xa124f0[_0x235229(0x315)]%_0x4ca5a8,_0x2972e6=String['fromCharCode'](_0x9421c1)[_0x235229(0x46d)](_0x9421c1);return _0xa124f0+_0x2972e6;}function _0x2276d8(_0x401a06,_0x1482a9){const _0x236c01=_0x4478c1,_0xc8dc31=_0x5b8cfb[_0x236c01(0x144)](0x10),_0x43ec91=_0xef3480(_0x401a06,0x10),_0x3138f7=_0x44c494[_0x236c01(0x48a)](_0x17afd5[_0x236c01(0x33c)](_0x43ec91),_0x27d9ee[_0x236c01(0x33c)](_0x1482a9),{'iv':_0xc8dc31,'padding':_0x5e0762});return _0xc8dc31[_0x236c01(0x287)](_0x3138f7[_0x236c01(0x3ae)])[_0x236c01(0x397)](_0x27d9ee);}function _0x10f77f(){const _0x372a21=_0x4478c1,_0x233d6d=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x233d6d){const _0x4c8f03={'time':Math[_0x372a21(0x4f0)](Date['now']()/0x3e8),'domain':location[_0x372a21(0x3f9)]};return _0x2276d8(JSON[_0x372a21(0x571)](_0x4c8f03),_0x233d6d);}}var _0x7ca3c1=Object[_0x4478c1(0x19b)],_0x5b9f18=Object[_0x4478c1(0x4d8)],_0x134978=(_0x3a5747,_0x189ce2,_0x4a8dad,_0x30395d)=>{const _0x5137ac=_0x4478c1;for(var _0x5c392b=_0x30395d>0x1?void 0x0:_0x30395d?_0x5b9f18(_0x189ce2,_0x4a8dad):_0x189ce2,_0x1f4419=_0x3a5747[_0x5137ac(0x315)]-0x1,_0x820d48;_0x1f4419>=0x0;_0x1f4419--)(_0x820d48=_0x3a5747[_0x1f4419])&&(_0x5c392b=(_0x30395d?_0x820d48(_0x189ce2,_0x4a8dad,_0x5c392b):_0x820d48(_0x5c392b))||_0x5c392b);return _0x30395d&&_0x5c392b&&_0x7ca3c1(_0x189ce2,_0x4a8dad,_0x5c392b),_0x5c392b;},_0x51b052=(_0x315b4b,_0x27482a)=>(_0x53dd13,_0x5599db)=>_0x27482a(_0x53dd13,_0x5599db,_0x315b4b);let _0x255c61=class{constructor(_0x5850f8){const _0x5d375b=_0x4478c1;this[_0x5d375b(0x255)]=_0x5850f8,this[_0x5d375b(0x460)]();}[_0x4478c1(0x460)](){const _0x47999d=_0x4478c1;this[_0x47999d(0x255)][_0x47999d(0x3a8)]({'interceptor':(_0xa9ba39,_0x49c5b3)=>{const _0x15a847=_0x47999d,_0x4a5ff9=_0xa9ba39[_0x15a847(0x4fb)],_0xf99baa=_0x10f77f();return _0xf99baa&&_0x4a5ff9['set'](_0x15a847(0x367),_0xf99baa),_0x49c5b3(_0xa9ba39);}});}};_0x255c61=_0x134978([_0x51b052(0x0,_0x3c1a84[_0x4478c1(0x3dc)](_0x30a9e9[_0x4478c1(0x2d2)]))],_0x255c61);var _0x320cf3=Object[_0x4478c1(0x19b)],_0x29d7a0=Object[_0x4478c1(0x4d8)],_0x402f46=(_0x5f5a29,_0xbcb38d,_0x9ef536,_0x245101)=>{const _0xfc2ebf=_0x4478c1;for(var _0x54f25b=_0x245101>0x1?void 0x0:_0x245101?_0x29d7a0(_0xbcb38d,_0x9ef536):_0xbcb38d,_0x3ce00b=_0x5f5a29[_0xfc2ebf(0x315)]-0x1,_0x45c38c;_0x3ce00b>=0x0;_0x3ce00b--)(_0x45c38c=_0x5f5a29[_0x3ce00b])&&(_0x54f25b=(_0x245101?_0x45c38c(_0xbcb38d,_0x9ef536,_0x54f25b):_0x45c38c(_0x54f25b))||_0x54f25b);return _0x245101&&_0x54f25b&&_0x320cf3(_0xbcb38d,_0x9ef536,_0x54f25b),_0x54f25b;},_0x1b8f44=(_0x301e77,_0x4c97a0)=>(_0x3712d2,_0x53aaf5)=>_0x4c97a0(_0x3712d2,_0x53aaf5,_0x301e77);const _0x379019=[_0x4478c1(0xfa),_0x4478c1(0x372),_0x4478c1(0x1a3),_0x4478c1(0x317),_0x4478c1(0x4d1)],_0x573170=0x5*0x400*0x400,_0x1a88fd='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x37175d=_0x4478c1(0x265),_0x2ca30a=_0x4478c1(0x3c7),_0xa88081=_0x4478c1(0x140);_0x1191ba[_0x4478c1(0x266)]=class{constructor(_0x5f2edf,_0x5d4a36,_0x52bb15){const _0x407151=_0x4478c1;_0xa880cb(this,'_waitCount',0x0),_0xa880cb(this,'_change$',new _0x818dd8['Subject']()),_0xa880cb(this,'change$',this['_change$']),_0xa880cb(this,_0x407151(0x40c),new Map()),(this[_0x407151(0x255)]=_0x5f2edf,this[_0x407151(0x17a)]=_0x5d4a36,this[_0x407151(0x35b)]=_0x52bb15);}[_0x4478c1(0x2a4)](_0x2fd827){const _0x48a387=_0x4478c1;this[_0x48a387(0x3df)]=_0x2fd827,this['_change$'][_0x48a387(0xdb)](_0x2fd827);}['getImageSourceCache'](_0x2eef43,_0x1c047d){const _0x172c82=_0x4478c1;if(_0x1c047d===_0x18d697['ImageSourceType'][_0x172c82(0x14c)]){const _0x3e4d28=new Image();return _0x3e4d28['src']=_0x2eef43,_0x3e4d28;}return this[_0x172c82(0x40c)][_0x172c82(0x115)](_0x2eef43);}[_0x4478c1(0x352)](_0x4266b3,_0x964b80,_0x1643d9){const _0x320688=_0x4478c1;_0x964b80===_0x18d697['ImageSourceType']['BASE64']||_0x1643d9==null||this[_0x320688(0x40c)][_0x320688(0x53e)](_0x4266b3,_0x1643d9);}async[_0x4478c1(0x499)](_0x5e1c49){const _0x5c18b1=_0x4478c1;try{const _0x79b6a0=this['_replaceFileID'](this[_0x5c18b1(0x1a6)](),''+_0x5e1c49),_0x1e03d3=(await this['_httpService'][_0x5c18b1(0x115)](_0x79b6a0))[_0x5c18b1(0x126)];if(_0x1e03d3[_0x5c18b1(0x17c)]&&_0x1e03d3[_0x5c18b1(0x17c)][_0x5c18b1(0xe4)]===_0x288a3f['OK']){const _0x5740cb=new URL(_0x1e03d3[_0x5c18b1(0x177)],this[_0x5c18b1(0x2ed)]())[_0x5c18b1(0x397)]();return Promise['resolve'](_0x5740cb);}return Promise[_0x5c18b1(0x465)](_0x1e03d3[_0x5c18b1(0x17c)]);}catch(_0x45b7b2){return Promise['reject'](_0x45b7b2);}}async[_0x4478c1(0xbf)](_0x433ad9){const _0x3cf21f=_0x4478c1;let _0x3e7188='';if(!_0x379019[_0x3cf21f(0x257)](_0x433ad9[_0x3cf21f(0x184)]))return this[_0x3cf21f(0x270)](),Promise[_0x3cf21f(0x465)](new Error(_0x18d697[_0x3cf21f(0x14f)][_0x3cf21f(0x2e2)]));if(_0x433ad9[_0x3cf21f(0x175)]>_0x573170)return this[_0x3cf21f(0x270)](),Promise[_0x3cf21f(0x465)](new Error(_0x18d697[_0x3cf21f(0x14f)][_0x3cf21f(0x4de)]));try{const _0x12d234=new FormData();_0x12d234[_0x3cf21f(0x53b)](_0x3cf21f(0x4a9),_0x433ad9);const _0x5b054f=this['_univerInstanceService']['getFocusedUnit'](),_0x49d827=_0x5b054f==null?void 0x0:_0x5b054f[_0x3cf21f(0x2b5)]();if(!_0x49d827)throw new Error(_0x3cf21f(0x34b));const _0x4e5646=this[_0x3cf21f(0x1df)]()+'?size='+_0x433ad9[_0x3cf21f(0x175)]['toString']()+'&source='+_0x32e2ea[_0x3cf21f(0x4bf)]+'&assign='+encodeURIComponent(_0x49d827),_0xa2944f=await(await fetch(_0x4e5646,{'method':_0x3cf21f(0x117),'body':_0x12d234}))[_0x3cf21f(0x53f)]();if(typeof _0xa2944f['FileId']!=_0x3cf21f(0x427))return this[_0x3cf21f(0x270)](),Promise[_0x3cf21f(0x465)](new Error(_0x18d697[_0x3cf21f(0x14f)]['ERROR_IMAGE']));_0x3e7188=_0xa2944f[_0x3cf21f(0x1ae)];}catch{return this[_0x3cf21f(0x270)](),Promise[_0x3cf21f(0x465)](new Error(_0x18d697[_0x3cf21f(0x14f)][_0x3cf21f(0x42e)]));}return new Promise((_0x5d3dc8,_0x262a1e)=>{const _0xc3a7a=_0x3cf21f,_0x3187da=new FileReader();_0x3187da[_0xc3a7a(0x462)](_0x433ad9),_0x3187da['onload']=_0x2f580c=>{const _0x5a2125=_0xc3a7a;var _0x439ce4;const _0x117d56=(_0x439ce4=_0x2f580c[_0x5a2125(0x330)])==null?void 0x0:_0x439ce4[_0x5a2125(0x1f6)];if(_0x117d56==null){this['_decreaseWaiting'](),_0x262a1e(new Error(_0x18d697['ImageUploadStatusType']['ERROR_IMAGE']));return;}const _0x562136=_0x3c1a84['Tools']['generateRandomId'](0x6);_0x5d3dc8({'imageId':_0x562136,'imageSourceType':_0x18d697['ImageSourceType']['UUID'],'source':_0x3e7188,'base64Cache':_0x117d56,'status':_0x18d697[_0x5a2125(0x14f)][_0x5a2125(0x563)]}),this[_0x5a2125(0x270)]();};});}[_0x4478c1(0x1df)](){const _0xc4a590=_0x4478c1;var _0x1b7b2e,_0x1288a1;const _0x5c17da=this[_0xc4a590(0x17a)][_0xc4a590(0x1d4)](_0x1a88fd),_0x2d60c7=this[_0xc4a590(0x17a)]['getConfig'](_0x52a52c);return(_0x1288a1=(_0x1b7b2e=_0x2d60c7==null?void 0x0:_0x2d60c7['uploadFileServerUrl'])!=null?_0x1b7b2e:_0x5c17da)!=null?_0x1288a1:_0x37175d;}[_0x4478c1(0x1a6)](){const _0x351e41=_0x4478c1;var _0x5f33df,_0x58a955;const _0x4dc400=this[_0x351e41(0x17a)][_0x351e41(0x1d4)](_0x2ca30a),_0x2ad241=this[_0x351e41(0x17a)][_0x351e41(0x1d4)](_0x52a52c);return(_0x58a955=(_0x5f33df=_0x2ad241==null?void 0x0:_0x2ad241[_0x351e41(0x15b)])!=null?_0x5f33df:_0x4dc400)!=null?_0x58a955:_0xa88081;}[_0x4478c1(0x2ed)](){const _0x5c4761=_0x4478c1;var _0x42c3c6;const _0x473c7f=this[_0x5c4761(0x17a)][_0x5c4761(0x1d4)](_0x52a52c);return(_0x42c3c6=_0x473c7f==null?void 0x0:_0x473c7f[_0x5c4761(0x40a)])!=null?_0x42c3c6:location['origin'];}[_0x4478c1(0x575)](_0x1988cf,_0x5cddea){const _0x1d0e70=_0x4478c1;return _0x1988cf[_0x1d0e70(0x55c)](_0x1d0e70(0x551),_0x5cddea);}[_0x4478c1(0x270)](){const _0x51bb8f=_0x4478c1;this['_waitCount']-=0x1,this[_0x51bb8f(0x358)][_0x51bb8f(0xdb)](this['_waitCount']);}},_0x1191ba[_0x4478c1(0x266)]=_0x402f46([_0x1b8f44(0x0,_0x3c1a84[_0x4478c1(0x3dc)](_0x30a9e9[_0x4478c1(0x2d2)])),_0x1b8f44(0x1,_0x3c1a84[_0x4478c1(0x56b)]),_0x1b8f44(0x2,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84['IUniverInstanceService']))],_0x1191ba[_0x4478c1(0x266)]);var _0x20cd23=Object[_0x4478c1(0x19b)],_0x38dd2c=Object[_0x4478c1(0x4d8)],_0x57e4d2=(_0x2ff09c,_0x32a1e2,_0x238b5e,_0x44bd26)=>{const _0x4f2956=_0x4478c1;for(var _0x5c9c76=_0x44bd26>0x1?void 0x0:_0x44bd26?_0x38dd2c(_0x32a1e2,_0x238b5e):_0x32a1e2,_0x489872=_0x2ff09c[_0x4f2956(0x315)]-0x1,_0x3296ab;_0x489872>=0x0;_0x489872--)(_0x3296ab=_0x2ff09c[_0x489872])&&(_0x5c9c76=(_0x44bd26?_0x3296ab(_0x32a1e2,_0x238b5e,_0x5c9c76):_0x3296ab(_0x5c9c76))||_0x5c9c76);return _0x44bd26&&_0x5c9c76&&_0x20cd23(_0x32a1e2,_0x238b5e,_0x5c9c76),_0x5c9c76;},_0x477f04=(_0x5c32ca,_0x4954af)=>(_0x361cdc,_0x1efbc9)=>_0x4954af(_0x361cdc,_0x1efbc9,_0x5c32ca);const _0x834042=_0x4478c1(0x497);_0x1191ba[_0x4478c1(0xc8)]=class{constructor(_0x1cbcfd,_0x200227){const _0x40e3de=_0x4478c1;this[_0x40e3de(0x17a)]=_0x1cbcfd,this[_0x40e3de(0x2fd)]=_0x200227;}['_getAPIPrefixPath'](){const _0x1c24be=_0x4478c1;var _0x95d960,_0x5e0c09;const _0x5a60de=this['_configService'][_0x1c24be(0x1d4)](_0x29d188),_0x25c0df=this[_0x1c24be(0x17a)][_0x1c24be(0x1d4)](_0x52a52c);return(_0x5e0c09=(_0x95d960=_0x25c0df==null?void 0x0:_0x25c0df[_0x1c24be(0x557)])!=null?_0x95d960:_0x5a60de)!=null?_0x5e0c09:_0x834042;}async[_0x4478c1(0x1f4)](_0x4febd2){const _0x4d38cd=_0x4478c1,_0x15ea94=this[_0x4d38cd(0xba)]()+_0x4d38cd(0x1fc);return{'list':[{'title':_0x4d38cd(0x194),'mentions':(await this[_0x4d38cd(0x2fd)][_0x4d38cd(0x115)](_0x15ea94,{'params':{'objectID':_0x4febd2['unitId'],'unitID':_0x4febd2[_0x4d38cd(0x214)]}}))['body']['collaborators'][_0x4d38cd(0x20e)](_0xe0c452=>({'objectId':_0xe0c452['id'],'name':_0xe0c452[_0x4d38cd(0x27e)][_0x4d38cd(0x3d7)],'metadata':{'icon':_0xe0c452['subject'][_0x4d38cd(0x500)]},'label':_0xe0c452[_0x4d38cd(0x27e)][_0x4d38cd(0x3d7)],'objectType':_0x3c1a84[_0x4d38cd(0xed)][_0x4d38cd(0x2a2)]})),'metadata':{},'type':_0x3c1a84[_0x4d38cd(0xed)][_0x4d38cd(0x2a2)]}]};}},_0x1191ba[_0x4478c1(0xc8)]=_0x57e4d2([_0x477f04(0x0,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x56b)])),_0x477f04(0x1,_0x3c1a84[_0x4478c1(0x3dc)](_0x30a9e9[_0x4478c1(0x2d2)]))],_0x1191ba['MentionIoHttpService']);var _0x26f22e=Object[_0x4478c1(0x19b)],_0x210e3a=Object[_0x4478c1(0x4d8)],_0x50d774=(_0x55200a,_0x196313,_0x47169a,_0x100a82)=>{const _0x3c136d=_0x4478c1;for(var _0x2330b9=_0x100a82>0x1?void 0x0:_0x100a82?_0x210e3a(_0x196313,_0x47169a):_0x196313,_0x5d9165=_0x55200a[_0x3c136d(0x315)]-0x1,_0x2bf6eb;_0x5d9165>=0x0;_0x5d9165--)(_0x2bf6eb=_0x55200a[_0x5d9165])&&(_0x2330b9=(_0x100a82?_0x2bf6eb(_0x196313,_0x47169a,_0x2330b9):_0x2bf6eb(_0x2330b9))||_0x2330b9);return _0x100a82&&_0x2330b9&&_0x26f22e(_0x196313,_0x47169a,_0x2330b9),_0x2330b9;},_0x350eea=(_0x4801bc,_0x3d5fa0)=>(_0x2471c5,_0x4dae4c)=>_0x3d5fa0(_0x2471c5,_0x4dae4c,_0x4801bc);let _0x2867d9=class extends _0x3c1a84[_0x4478c1(0x2a0)]{constructor(_0x5a7c96,_0xcf6c17,_0x1b0cbb,_0x3fafc8,_0x548505){const _0x191457=_0x4478c1;super(),this[_0x191457(0x391)]=_0x5a7c96,this['_univerInstanceService']=_0xcf6c17,this[_0x191457(0x240)]=_0x1b0cbb,this[_0x191457(0x415)]=_0x3fafc8,this['_localeService']=_0x548505,this['_initUnitPermissionChange'](),this['_initCloseConn']();}['_initCloseConn'](){const _0x1ededa=_0x4478c1,_0x1a70b8=async _0x72dda3=>{const _0x482af0=_0x406b;(await this[_0x482af0(0x415)][_0x482af0(0x11c)](_0x72dda3))[_0x482af0(0x3fb)][_0x482af0(0x4c4)](_0x58132b[_0x482af0(0x3a9)](_0x44d449=>_0x44d449['eventID']===_0xa820f[_0x482af0(0x12d)][_0x482af0(0x44c)]),_0x58132b[_0x482af0(0x439)](this[_0x482af0(0x23a)]))[_0x482af0(0x3aa)](_0x11336d=>{const _0x5cba48=_0x482af0,_0x4cc2e3=_0x11336d,{reason:_0x5b6a24}=_0x4cc2e3[_0x5cba48(0x2d6)];this['_injector'][_0x5cba48(0x115)](_0xa35fb[_0x5cba48(0x12e)])[_0x5cba48(0x26f)]({'type':_0x39c661[_0x5cba48(0x1fe)]['Error'],'content':this[_0x5cba48(0x343)]['t']('collaboration.closeRoom')+'('+_0x5b6a24+')'}),this['_permissionService'][_0x5cba48(0x369)](new _0x16d7e8[(_0x5cba48(0x4c2))](_0x72dda3)['id'],!0x1),this[_0x5cba48(0x415)][_0x5cba48(0x54a)](_0x72dda3);});};_0x818dd8['merge'](this[_0x1ededa(0x35b)]['getTypeOfUnitAdded$'](_0x3c1a84[_0x1ededa(0x2d9)][_0x1ededa(0x13a)]),this['_univerInstanceService'][_0x1ededa(0x3d1)](_0x3c1a84[_0x1ededa(0x2d9)][_0x1ededa(0x3d0)]))['pipe'](_0x58132b[_0x1ededa(0x20e)](_0x518850=>_0x518850[_0x1ededa(0x2b5)]()),_0x58132b[_0x1ededa(0x3a9)](_0x21cacb=>!_0x3c1a84[_0x1ededa(0x1fb)](_0x21cacb)),_0x58132b[_0x1ededa(0x439)](this['dispose$']))[_0x1ededa(0x3aa)](_0x4642b3=>{_0x1a70b8(_0x4642b3);});}[_0x4478c1(0xb8)](){const _0x135a71=_0x4478c1,_0x41f1af=async _0x171cfc=>{const _0xab5593=_0x406b;(await this[_0xab5593(0x415)]['requireSession'](_0x171cfc))[_0xab5593(0x3fb)][_0xab5593(0x4c4)](_0x58132b[_0xab5593(0x3a9)](_0x24eca5=>_0x24eca5[_0xab5593(0x204)]===_0xa820f[_0xab5593(0x12d)][_0xab5593(0x3f4)]),_0x58132b[_0xab5593(0x439)](this['dispose$']))[_0xab5593(0x3aa)](_0x1071c2=>{const _0x52cb4c=_0xab5593,_0x459c4f=_0x1071c2,{objectId:_0x315c0f}=_0x459c4f[_0x52cb4c(0x2d6)],_0x213285=this[_0x52cb4c(0x391)][_0x52cb4c(0x115)](_0x451e81[_0x52cb4c(0x3ed)]);_0x315c0f===_0x171cfc?_0x213285[_0x52cb4c(0x230)](_0x171cfc):_0x213285[_0x52cb4c(0x4a6)](_0x171cfc,_0x315c0f);});};_0x818dd8[_0x135a71(0x356)](this[_0x135a71(0x35b)][_0x135a71(0x3d1)](_0x3c1a84[_0x135a71(0x2d9)][_0x135a71(0x13a)]),this[_0x135a71(0x35b)][_0x135a71(0x3d1)](_0x3c1a84[_0x135a71(0x2d9)][_0x135a71(0x3d0)]))['pipe'](_0x58132b[_0x135a71(0x20e)](_0x47a7c5=>_0x47a7c5['getUnitId']()),_0x58132b['filter'](_0x329088=>!_0x3c1a84['isInternalEditorID'](_0x329088)),_0x58132b[_0x135a71(0x439)](this[_0x135a71(0x23a)]))['subscribe'](_0xea09c8=>{_0x41f1af(_0xea09c8);});}};_0x2867d9=_0x50d774([_0x350eea(0x0,_0x3c1a84['Inject'](_0x3c1a84[_0x4478c1(0x30e)])),_0x350eea(0x1,_0x3c1a84['IUniverInstanceService']),_0x350eea(0x2,_0x3c1a84[_0x4478c1(0x45c)]),_0x350eea(0x3,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba['CollaborationSessionService'])),_0x350eea(0x4,_0x3c1a84['Inject'](_0x3c1a84['LocaleService']))],_0x2867d9);var _0x3092f5=Object['defineProperty'],_0x44d7e1=Object[_0x4478c1(0x4d8)],_0x3a258a=(_0x2f22a4,_0x3867b3,_0x57533f,_0x5ca470)=>{for(var _0x46266c=_0x5ca470>0x1?void 0x0:_0x5ca470?_0x44d7e1(_0x3867b3,_0x57533f):_0x3867b3,_0x1a06bd=_0x2f22a4['length']-0x1,_0x329eda;_0x1a06bd>=0x0;_0x1a06bd--)(_0x329eda=_0x2f22a4[_0x1a06bd])&&(_0x46266c=(_0x5ca470?_0x329eda(_0x3867b3,_0x57533f,_0x46266c):_0x329eda(_0x46266c))||_0x46266c);return _0x5ca470&&_0x46266c&&_0x3092f5(_0x3867b3,_0x57533f,_0x46266c),_0x46266c;},_0x441aab=(_0x408780,_0x324707)=>(_0x1fb861,_0x16404b)=>_0x324707(_0x1fb861,_0x16404b,_0x408780);_0x1191ba[_0x4478c1(0x35f)]=class{constructor(_0x1c5ca4,_0x47ee25){const _0x2bd69d=_0x4478c1;this[_0x2bd69d(0x17a)]=_0x1c5ca4,this[_0x2bd69d(0x255)]=_0x47ee25;}async[_0x4478c1(0x2dc)](_0xe3f919,_0x177566){const _0x4c9b84=_0x4478c1;var _0x4f97a5;const {unitID:_0x481407,type:_0x5c115b,revision:_0xc1e534=0x0}=_0x177566,_0x57b739=this[_0x4c9b84(0x27a)]()+'/'+_0x5c115b+'/unit/'+_0x481407+_0x4c9b84(0x1a2)+_0xc1e534,_0x1acf1e=(await this['_httpService'][_0x4c9b84(0x115)](_0x57b739))['body'],_0x15d806=(_0x4f97a5=_0x1acf1e[_0x4c9b84(0x519)])==null?void 0x0:_0x4f97a5[_0x4c9b84(0x3b2)];if(_0x15d806){const _0x5ad988=_0x15d806==null?void 0x0:_0x15d806[_0x4c9b84(0x2b6)],_0x5649f9=_0xa820f[_0x4c9b84(0x203)]['encode'](_0xa820f[_0x4c9b84(0xbe)](_0x5ad988));_0x15d806[_0x4c9b84(0x2b6)]=_0x5649f9,Object[_0x4c9b84(0x526)](_0x15d806['sheets'])[_0x4c9b84(0x3b6)](([,_0x16b8c7])=>{const _0x1c553f=_0x4c9b84,_0x2c4146=_0x16b8c7['originalMeta'],_0x18240c=_0xa820f[_0x1c553f(0x203)][_0x1c553f(0xf2)](_0xa820f[_0x1c553f(0xbe)](_0x2c4146));_0x16b8c7[_0x1c553f(0x2b6)]=_0x18240c;});}return _0x1acf1e;}async[_0x4478c1(0xc6)](_0x5a6b50,_0x7df880){const _0x112301=_0x4478c1,{unitID:_0x29b149,type:_0x1460bb,blockID:_0x18934a}=_0x7df880,_0x26fcff=this['_getAPIPrefix']()+'/'+_0x1460bb+_0x112301(0x138)+_0x29b149+'/block/'+_0x18934a;return(await this[_0x112301(0x255)]['get'](_0x26fcff))['body'];}async['getDeserializedSheetBlock'](_0x45cf8d,_0xc2e4f3){const _0x696248=_0x4478c1,{unitID:_0x4f610c,type:_0x2e4a4a,blockID:_0x263ffa}=_0xc2e4f3,_0x5076e6=this[_0x696248(0x209)]()+_0x696248(0x28d)+_0x2e4a4a+_0x696248(0x138)+_0x4f610c+'/block/'+_0x263ffa;return(await this[_0x696248(0x255)][_0x696248(0x115)](_0x5076e6))[_0x696248(0x126)];}async[_0x4478c1(0xee)](_0x32dba8,_0x1a318c){const _0x48be46=_0x4478c1,{unitID:_0x17b100,type:_0x59eeb6,from:_0x3a60ae,to:_0x3982e0}=_0x1a318c,_0x134925=this[_0x48be46(0x209)]()+'/'+_0x59eeb6+_0x48be46(0x138)+_0x17b100+_0x48be46(0x288)+_0x3a60ae+'&to='+_0x3982e0;return(await this[_0x48be46(0x255)]['get'](_0x134925))['body'];}['_getSnapshotAPIPrefix'](){const _0x1b186a=_0x4478c1;var _0xee8b7a;return(_0xee8b7a=this[_0x1b186a(0x17a)][_0x1b186a(0x1d4)](_0x52beb3))!=null?_0xee8b7a:this['_getAPIPrefix']();}[_0x4478c1(0x209)](){const _0x26a513=_0x4478c1;var _0x42bce6,_0x5db126;const _0x1bef48=this[_0x26a513(0x17a)][_0x26a513(0x1d4)](_0x3aad35),_0xeb937b=this['_configService'][_0x26a513(0x1d4)](_0x52a52c);return(_0x5db126=(_0x42bce6=_0xeb937b==null?void 0x0:_0xeb937b[_0x26a513(0x4ef)])!=null?_0x42bce6:_0x1bef48)!=null?_0x5db126:_0x40c962;}async['getResourcesRequest'](_0x5eb9a,_0x140937){const _0x24021a=_0x4478c1,_0x3394c3=_0x24021a(0x2ab)+_0x140937[_0x24021a(0x184)]+'/unit/'+_0x140937['unitID']+_0x24021a(0x10a);return(await this[_0x24021a(0x255)][_0x24021a(0x115)](_0x3394c3,{'params':{'resourceId':JSON[_0x24021a(0x571)](_0x140937['resourceIDs'])}}))[_0x24021a(0x126)];}['saveSnapshot'](){const _0x4c1721=_0x4478c1;throw new Error(_0x4c1721(0x3e9));}['saveSheetBlock'](){const _0x155811=_0x4478c1;throw new Error(_0x155811(0x3e9));}[_0x4478c1(0x282)](){const _0x339795=_0x4478c1;throw new Error(_0x339795(0x3e9));}[_0x4478c1(0xd2)](){const _0x468b93=_0x4478c1;throw new Error(_0x468b93(0x3e9));}[_0x4478c1(0x2c3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x1191ba['SnapshotServerOverHTTPService']=_0x3a258a([_0x441aab(0x0,_0x3c1a84[_0x4478c1(0x56b)]),_0x441aab(0x1,_0x3c1a84['Inject'](_0x30a9e9['HTTPService']))],_0x1191ba[_0x4478c1(0x35f)]);var _0x2f7e97=Object[_0x4478c1(0x19b)],_0x1b96f7=Object[_0x4478c1(0x4d8)],_0x35121f=(_0x5906e5,_0xf30383,_0x26e6c0,_0x7c6b9b)=>{const _0x184768=_0x4478c1;for(var _0x220aa7=_0x7c6b9b>0x1?void 0x0:_0x7c6b9b?_0x1b96f7(_0xf30383,_0x26e6c0):_0xf30383,_0x44840e=_0x5906e5[_0x184768(0x315)]-0x1,_0x3ba4b2;_0x44840e>=0x0;_0x44840e--)(_0x3ba4b2=_0x5906e5[_0x44840e])&&(_0x220aa7=(_0x7c6b9b?_0x3ba4b2(_0xf30383,_0x26e6c0,_0x220aa7):_0x3ba4b2(_0x220aa7))||_0x220aa7);return _0x7c6b9b&&_0x220aa7&&_0x2f7e97(_0xf30383,_0x26e6c0,_0x220aa7),_0x220aa7;},_0x423d69=(_0x383d78,_0x53dfb3)=>(_0x4129a2,_0x3a743d)=>_0x53dfb3(_0x4129a2,_0x3a743d,_0x383d78);let _0x5f3f6a=class extends _0x3c1a84[_0x4478c1(0x2cf)]{constructor(_0x360a1e,_0x4e7e1b,_0x206029,_0x36ac44,_0x32f7fe){const _0x4cddd9=_0x4478c1;super(_0x360a1e,_0x4e7e1b,_0x206029),this[_0x4cddd9(0x56c)]=_0x36ac44,this[_0x4cddd9(0x4c1)]=_0x32f7fe;}['transformUndoRedo'](_0x2dcdc2,_0x74b170){const _0xbb731c=_0x4478c1,_0x4db0d2=this[_0xbb731c(0x508)](_0x2dcdc2);if(_0x4db0d2)try{const _0x1e1fb7=this[_0xbb731c(0x4ae)](_0x4db0d2,_0x74b170);this['_substituteUndoStack'](_0x2dcdc2,_0x1e1fb7);}catch(_0xde6695){this[_0xbb731c(0x4c1)]['error'](_0xbb731c(0x23e),_0xde6695),this[_0xbb731c(0x113)](_0x2dcdc2);}const _0x21e562=this[_0xbb731c(0x366)](_0x2dcdc2);if(_0x21e562)try{const _0x3aeff7=this[_0xbb731c(0x4ae)](_0x21e562,_0x74b170);this['_substituteRedoStack'](_0x2dcdc2,_0x3aeff7);}catch(_0x154e19){this[_0xbb731c(0x4c1)][_0xbb731c(0x17c)](_0x154e19),this['_clearRedo'](_0x2dcdc2);}}[_0x4478c1(0x113)](_0x520ee0){const _0x5827c1=_0x4478c1,_0x5017b7=this[_0x5827c1(0x508)](_0x520ee0);_0x5017b7&&(_0x5017b7[_0x5827c1(0x315)]=0x0,this[_0x5827c1(0x306)]());}['_clearRedo'](_0x4e6a90){const _0x348c6f=_0x4478c1,_0x1b3b05=this['_getRedoStack'](_0x4e6a90);_0x1b3b05&&(_0x1b3b05[_0x348c6f(0x315)]=0x0,this[_0x348c6f(0x306)]());}[_0x4478c1(0x222)](_0x1185b4,_0x124075){const _0x544bb7=_0x4478c1;this[_0x544bb7(0x480)][_0x544bb7(0x53e)](_0x1185b4,_0x124075),this[_0x544bb7(0x306)]();}['_substituteRedoStack'](_0xf318db,_0x3f40c0){const _0x24477c=_0x4478c1;this['_redoStacks'][_0x24477c(0x53e)](_0xf318db,_0x3f40c0),this[_0x24477c(0x306)]();}['_transformStack'](_0x3d7e60,_0x389568){const _0x155c7a=_0x4478c1,_0x43fac1=[];let _0x144aca=_0x389568,_0x9c9086=_0x389568;for(let _0x12bebb=_0x3d7e60[_0x155c7a(0x315)]-0x1;_0x12bebb>=0x0;_0x12bebb--){const {unitID:_0x1eaefd,undoMutations:_0x1df60c,redoMutations:_0x286d17}=_0x3d7e60[_0x12bebb],_0x10ff57=this[_0x155c7a(0x56c)][_0x155c7a(0x3d2)](_0x144aca,_0x1df60c),_0x4891c1=this[_0x155c7a(0x56c)][_0x155c7a(0x3d2)](_0x9c9086,_0x286d17);if(_0xa820f[_0x155c7a(0x2bb)](_0x10ff57)||_0xa820f['isTransformMutationsWithChangesetFailure'](_0x4891c1)){this[_0x155c7a(0x4c1)][_0x155c7a(0x17c)](_0x155c7a(0x23e),_0x155c7a(0x32e),_0x10ff57,_0x4891c1);break;}_0x144aca=_0x10ff57[_0x155c7a(0x337)],_0x9c9086=_0x4891c1[_0x155c7a(0x337)],_0x43fac1[_0x155c7a(0x41b)]({'unitID':_0x1eaefd,'undoMutations':_0x10ff57['m2Prime'],'redoMutations':_0x4891c1[_0x155c7a(0x1cb)]});}return _0x43fac1[_0x155c7a(0x422)]();}};_0x5f3f6a=_0x35121f([_0x423d69(0x0,_0x3c1a84[_0x4478c1(0x3d5)]),_0x423d69(0x1,_0x3c1a84[_0x4478c1(0x3fd)]),_0x423d69(0x2,_0x3c1a84[_0x4478c1(0x321)]),_0x423d69(0x3,_0xa820f['ITransformService']),_0x423d69(0x4,_0x3c1a84[_0x4478c1(0x4b9)])],_0x5f3f6a);class _0x19610d extends _0x3c1a84[_0x4478c1(0x2a0)]{constructor(){const _0x5d66fd=_0x4478c1;super(),_0xa880cb(this,'urlChange$'),this['urlChange$']=_0x818dd8['fromEvent'](window,_0x5d66fd(0x2ce))[_0x5d66fd(0x4c4)](_0x818dd8['takeUntil'](this[_0x5d66fd(0x23a)]),_0x818dd8[_0x5d66fd(0x2cb)](0x1),_0x818dd8[_0x5d66fd(0x416)](void 0x0));}[_0x4478c1(0x38d)](_0x40a400,_0x533545,_0x2290bf=!0x1){const _0x3dd8f9=_0x4478c1,_0x500ab2=new URL(window[_0x3dd8f9(0x55e)][_0x3dd8f9(0x40e)]);_0x500ab2['searchParams'][_0x3dd8f9(0x53e)](_0x40a400,_0x533545),_0x2290bf?window[_0x3dd8f9(0x429)][_0x3dd8f9(0x1db)]('','',_0x500ab2[_0x3dd8f9(0x397)]()):window[_0x3dd8f9(0x429)][_0x3dd8f9(0x3ef)]('','',_0x500ab2[_0x3dd8f9(0x397)]());}['removeParam'](_0x37b3a5,_0x199c4c=!0x1){const _0x105de0=_0x4478c1,_0x1ab177=new URL(window[_0x105de0(0x55e)][_0x105de0(0x40e)]);_0x1ab177[_0x105de0(0x3d3)][_0x105de0(0x354)](_0x37b3a5),_0x199c4c?window['history'][_0x105de0(0x1db)]('','',_0x1ab177['toString']()):window[_0x105de0(0x429)][_0x105de0(0x3ef)]('','',_0x1ab177[_0x105de0(0x397)]());}[_0x4478c1(0xac)](_0x2cf257){const _0x1ce5e8=_0x4478c1;var _0x3241f3;return(_0x3241f3=new URL(window[_0x1ce5e8(0x55e)][_0x1ce5e8(0x40e)])[_0x1ce5e8(0x3d3)][_0x1ce5e8(0x115)](_0x2cf257))!=null?_0x3241f3:void 0x0;}}var _0x59eb97=Object['defineProperty'],_0x5330d8=Object[_0x4478c1(0x4d8)],_0x168a44=(_0x275278,_0x34a479,_0x219e71)=>_0x34a479 in _0x275278?_0x59eb97(_0x275278,_0x34a479,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x219e71}):_0x275278[_0x34a479]=_0x219e71,_0x3682fc=(_0x964864,_0x5b2717,_0x984227,_0x169f65)=>{const _0x7b2db2=_0x4478c1;for(var _0x109083=_0x169f65>0x1?void 0x0:_0x169f65?_0x5330d8(_0x5b2717,_0x984227):_0x5b2717,_0x59de33=_0x964864[_0x7b2db2(0x315)]-0x1,_0x4aad30;_0x59de33>=0x0;_0x59de33--)(_0x4aad30=_0x964864[_0x59de33])&&(_0x109083=(_0x169f65?_0x4aad30(_0x5b2717,_0x984227,_0x109083):_0x4aad30(_0x109083))||_0x109083);return _0x169f65&&_0x109083&&_0x59eb97(_0x5b2717,_0x984227,_0x109083),_0x109083;},_0xa6320d=(_0x54cca4,_0x11afbc)=>(_0x2ded00,_0x3eb05e)=>_0x11afbc(_0x2ded00,_0x3eb05e,_0x54cca4),_0x15f487=(_0x11cb5f,_0x37e1c4,_0x206d33)=>_0x168a44(_0x11cb5f,_0x37e1c4+'',_0x206d33);const _0x444d26='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x1191ba[_0x4478c1(0x407)]=class extends _0x3c1a84[_0x4478c1(0x3d8)]{constructor(_0x2798da=_0x3d5e91,_0x2a461f,_0x5cd8ae,_0x19f024,_0x57b9e4){const _0xb74e74=_0x4478c1;super(),this[_0xb74e74(0x1e0)]=_0x2798da,this[_0xb74e74(0x4c1)]=_0x2a461f,this[_0xb74e74(0x180)]=_0x5cd8ae,this[_0xb74e74(0x391)]=_0x19f024,this[_0xb74e74(0x17a)]=_0x57b9e4;const {..._0x198efb}=this[_0xb74e74(0x1e0)];this[_0xb74e74(0x17a)]['setConfig'](_0x52a52c,_0x198efb);}['onStarting'](){const _0x11d966=_0x4478c1;this[_0x11d966(0x112)](),this['_initDependencies']();}['onReady'](){const _0x1deb31=_0x4478c1;_0x3c1a84['touchDependencies'](this[_0x1deb31(0x391)],[[_0x252e15],[_0x9c8b5f]]);}[_0x4478c1(0x537)](){const _0x35a359=_0x4478c1;this[_0x35a359(0x40f)]();}[_0x4478c1(0x112)](){const _0x3038dc=_0x4478c1;var _0x2ba983,_0xaf941a,_0x540b22,_0x2fc1ce;this[_0x3038dc(0x391)][_0x3038dc(0x431)](_0x3c1a84['IUndoRedoService'])&&this['_logService'][_0x3038dc(0x17c)](_0x3038dc(0x393),_0x3038dc(0x400));const _0x50026d=[[_0x3c1a84['IUndoRedoService'],{'useClass':_0x5f3f6a}],[_0x1191ba[_0x3038dc(0x2b7)]],[_0x329ecc],[_0x5d9dfe,{'useClass':_0x19610d}],[_0x1191ba[_0x3038dc(0x2a8)]],[_0x1191ba[_0x3038dc(0x1cd)]],[_0x30a9e9[_0x3038dc(0x206)]],[_0x3f146d],[_0x3d4e9f],[_0xdec374],[_0x4a0baf],[_0x159dfb],[_0x33b847],[_0x255c61],[_0x5cca12],[_0x2867d9],[_0x1ba3ea,{'useClass':(_0xaf941a=(_0x2ba983=this[_0x3038dc(0x1e0)])==null?void 0x0:_0x2ba983['socketService'])!=null?_0xaf941a:_0x1191ba[_0x3038dc(0x39d)]}],[_0xa820f[_0x3038dc(0x338)],{'useClass':_0x1191ba[_0x3038dc(0x35f)]}],[_0x3c1a84[_0x3038dc(0xe9)],{'useClass':_0x1191ba[_0x3038dc(0x564)]}],[_0x18d697['IImageIoService'],{'useClass':_0x1191ba[_0x3038dc(0x266)]}],[_0x3c1a84[_0x3038dc(0x42c)],{'useClass':_0x1191ba['MentionIoHttpService']}],[_0x1191ba[_0x3038dc(0x1ca)]],[_0x1191ba['DataLoaderController']],[_0x1191ba[_0x3038dc(0x31f)]],[_0x252e15],[_0x5c8917],[_0x9c8b5f]];(_0x540b22=this[_0x3038dc(0x1e0)])!=null&&_0x540b22[_0x3038dc(0x258)]&&_0x50026d['push']([_0x276cf0,{'useClass':_0x6d1a3b}]),_0x3c1a84[_0x3038dc(0x359)](this[_0x3038dc(0x391)],_0x3c1a84[_0x3038dc(0xd6)](_0x50026d,(_0x2fc1ce=this[_0x3038dc(0x1e0)])==null?void 0x0:_0x2fc1ce[_0x3038dc(0x558)]));}[_0x4478c1(0x40f)](){const _0x45c18c=_0x4478c1;this['disposeWithMe'](this[_0x45c18c(0x180)]['registerRenderModule'](_0x3c1a84[_0x45c18c(0x2d9)][_0x45c18c(0x3d0)],[_0x44db7e])),this['disposeWithMe'](this[_0x45c18c(0x180)][_0x45c18c(0x33d)](_0x3c1a84[_0x45c18c(0x2d9)]['UNIVER_SHEET'],[_0x3f90c3]));}[_0x4478c1(0x469)](){const _0x3384e1=_0x4478c1;var _0x1fede3,_0x2289b6;this[_0x3384e1(0x391)]['get'](_0x30a9e9[_0x3384e1(0x2d2)])[_0x3384e1(0x3a8)]({'priority':0x14,'interceptor':_0x30a9e9['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x1fede3=this[_0x3384e1(0x1e0)])!=null&&_0x1fede3['enableOfflineEditing']||this[_0x3384e1(0x391)][_0x3384e1(0x115)](_0x1191ba[_0x3384e1(0x1cd)])[_0x3384e1(0x10f)](),(_0x2289b6=this[_0x3384e1(0x1e0)])!=null&&_0x2289b6[_0x3384e1(0x1f5)]&&_0x3c1a84[_0x3384e1(0x35c)](this['_injector'],[[_0x33b847]]),_0x3c1a84[_0x3384e1(0x35c)](this['_injector'],[[_0x255c61],[_0x5c8917],[_0x1191ba[_0x3384e1(0xf5)]],[_0x1191ba['CollaborationController']],[_0x1191ba[_0x3384e1(0x31f)]],[_0x2867d9]]);}},_0x15f487(_0x1191ba[_0x4478c1(0x407)],_0x4478c1(0x107),_0x444d26),_0x1191ba['UniverCollaborationClientPlugin']=_0x3682fc([_0x3c1a84['DependentOn'](_0xa820f[_0x4478c1(0x4ed)],_0x30a9e9[_0x4478c1(0x451)]),_0xa6320d(0x1,_0x3c1a84[_0x4478c1(0x4b9)]),_0xa6320d(0x2,_0x591f66[_0x4478c1(0x1a7)]),_0xa6320d(0x3,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x30e)])),_0xa6320d(0x4,_0x3c1a84[_0x4478c1(0x56b)])],_0x1191ba['UniverCollaborationClientPlugin']),_0x1191ba['AUTHZ_URL_KEY']=_0x29d188,_0x1191ba[_0x4478c1(0x298)]=_0x52a52c,_0x1191ba[_0x4478c1(0x3e5)]=_0x3e3225,_0x1191ba[_0x4478c1(0x191)]=_0x5710a6,_0x1191ba[_0x4478c1(0x4e4)]=_0x2683d3,_0x1191ba[_0x4478c1(0x4b5)]=_0x388fe5,_0x1191ba['CommentService']=_0x5cca12,_0x1191ba['HEARTBEAT_INTERVAL_KEY']=_0x475bfc,_0x1191ba[_0x4478c1(0x181)]=_0x17f79b,_0x1191ba[_0x4478c1(0x33b)]=_0x1ba3ea,_0x1191ba[_0x4478c1(0x1e4)]=_0x5d9dfe,_0x1191ba['LOCAL_CACHE_INTERVAL_KEY']=_0x4c0f82,_0x1191ba['LOGIN_URL_KEY']=_0x358bd8,_0x1191ba['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x33c86c,_0x1191ba[_0x4478c1(0x2d0)]=_0x47557c,_0x1191ba[_0x4478c1(0x373)]=_0x3aad35,_0x1191ba[_0x4478c1(0x527)]=_0x52beb3,_0x1191ba[_0x4478c1(0x2c1)]=_0x417df1,_0x1191ba[_0x4478c1(0x2f7)]=_0x54e9b5,_0x1191ba['WebURLService']=_0x19610d,_0x1191ba[_0x4478c1(0x4b3)]=_0x4cd486,_0x1191ba[_0x4478c1(0x4c7)]=_0x57255d,Object[_0x4478c1(0x19b)](_0x1191ba,Symbol[_0x4478c1(0x4c3)],{'value':_0x4478c1(0x3eb)});}));function _0x406b(_0x5af140,_0x2c4f92){const _0x17c891=_0x17c8();return _0x406b=function(_0x406b38,_0x4eb546){_0x406b38=_0x406b38-0xab;let _0x311a49=_0x17c891[_0x406b38];return _0x311a49;},_0x406b(_0x5af140,_0x2c4f92);}function _0x17c8(){const _0x5ec632=['@univerjs/network','onMissedChangesetFetched','CHANGESET_REVISION_CONFILICT','close','_applyRemoteChangeset','InsertRangeMoveRightCommandId','ITelemetryService','responseType','put','encrypt','undoState','_name','UNDEFINED','all','top','find','[PendingState]:\x20received\x20acknowledgement.','_initStatusListener','subUnitId','_hasher','UniverSheets','JOINING','/universer-api/authz','@univerjs/docs-ui','getImage','_http','div','_collabSessionService','_queuedRemoteChangesets','_handleEvent','react','useDependency','redoState','_hideTimer','unit-cache-','onSyncEditingCollabCursor','sessionStatus','refreshPermission','_labelPosition','getMemberID','file','INVALID_ARGUMENT','editing\x20status\x20changed\x20to','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','onCommandExecuted','_transformStack','lineTo','Warning','iterations','defaultProps','deserializeToCombResponse','ThemeService','CollaborationStatusDisplay','_removeCollabCursors','[CollaborationEntity]','open$','ILogService','@univerjs/telemetry','createIdentifier','debounceTime','awaiting','crypto','UnitEmbedded','[CollaborationSessionService]','_logService','WorkbookEditablePermission','toStringTag','pipe','getValue','[OfflineState]:\x20received\x20acknowledgement.','serializeCombRequest','putCollaborators','CipherParams','onRemoteRetry','fetchThroughInterceptors','use','rxjs','selections','_onRefRangeChange','AWAITING','image/bmp','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','session','collab-text-anchor-','mode','onMouseMove','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','getOwnPropertyDescriptor','_undoRedoService','restore','_collabCursorController','_clearTimeoutTimer','Univer','ERROR_EXCEED_SIZE','MD5','@univerjs/engine-render','unsubscribe','encodeURIComponent','LIVESHARE_TERMINATE','CollaborationStatus','setItem','FAIL','dispose','LOGIN_URL_KEY','disposeUnit','onTransformChange$','transformStateCache','Disposable','UniverCollaborationPlugin','_localStorageService','snapshotServerUrl','floor','AUTHZ_URL_KEY','_loadSheet','COMPRESS_MUTATION_APPLY','current','action','react.element','permissionRejEvent','SheetSkeletonManagerService','USERS_LEAVE','setInterval','headers','CHANGESET_ACK','_parse','LICENSE_DISTRO_REJECTED','cmd','avatar','_retryConnectingTimer','_saveTaskMap','_notificationService','_id','message$','blue400','getSheetId','_getUndoStack','indexOf','collaboration-client.offline-data-not-saved','_onMessage','univer-pro.collaboration-client.single-active-unit-service','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','DocStateChangeManagerService','NO_OTHER_CLIENTS_EDITING','purple300','[CollaborationState]:\x20apply\x20error!','OpenSSL','salt','Base64','_handleHover','subunit','onPointerMove$','IRemoteInstanceService','snapshot','deserializeRangeWithSheet','send','\x20in\x20_schedule.','_memberService','addEventListener','color','SHA1','MUTATION','_unitStatus','batchAllowed','[SyncedState]:\x20received\x20acknowledgement.','YUUMI_SUBSCRIPTION_NOT_FOUND','entries','SNAPSHOT_URL_KEY','liveShareNewHost','onTransformIME','_syncEditingCollabCursorService','13867NadcXG','apply','_keySchedule','_doCryptBlock','csRejEvent','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_changesetReqId','origin','_online','_uiPartsService','_isPermissionRej','interceptor','onRendered','conflict','UNIVER_UNKNOWN','getColor','append','\x20-\x20','rgba(255,\x20255,\x20255,\x200.01)','set','json','skeleton','UPDATE_CURSOR','_onOffline','clone','_key','roomMembers','OTHER_CLIENTS_EDITING','HmacMD5','_docTransformIMECacheService','_socketReady','closeSession','setStateCache','_state$','OnLineSingle','capture','_entityInit$','_transformRemoteChangesetByIMECache','{fileID}','_timeoutTimer','NOT_COLLAB','replaceDocRanges','_socketMessageSubscription','LICENSE_MAX_UNITS_EXCEEDED','authzUrl','override','IUndoRedoService','_range','on-line-single_clip0_910_349','replace','_iv','location','_retryCount','add','getSheetBySheetId','onCommentUpdate','SUCCUSS','AuthzIoHttpService','text','transformRemoteChangeset','_createHmacHelper','$super','24080892mYFDbm','HEARTBEAT_INTERVAL','IConfigService','_transformService','hidden','_sender','@univerjs/engine-formula','Encryptor','stringify','CHANGESET_REJ','updateOfflineData','session.connection-failed','_replaceFileID','LICENSE_IMPORT_SIZE_EXCEEDED','getParam','focused$','_ensureSubject','userID','loadOfflineData','translate(.97)','_initCommandExecutedListener','onlyLocal','registerOnClose','_waitForHeartbeatResponse','create','HTTPRequest','_initUnitPermissionChange','allowed','_getAPIPrefixPath','_shapes','none','_tryEnsureSocket','b64DecodeUnicode','saveImage','_hover','algo','awaitingChangeset','UserManagerService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_clearOtherTimers','getSheetBlock','ranges','MentionIoHttpService','children','asObservable','YUUMI_RATE_OVER_LIMIT','charCodeAt','setShowComponents','_compressMutationService','_onConflict','isTransformMutationFailure','cursorInfo$','copyFileMeta','JOIN','/universer-api/snapshot','session.will-retry','mergeOverrideWithDependencies','black','_resendWithTimeout','LICENSE_EXPORT_SIZE_EXCEEDED','randomBytes','next','_initMergeInterceptor','_transitionLocked','toDisposable','RichTextEditingMutation','syncEditingCollabCursor','685962uOMagS','updateCursorEvent','SheetCollaborationEntity','code','disposeWithMe','_color','fillStyle','appendMutation','IAuthzIoService','changesets','_onCursorDelete','icon','MentionType','fetchMissingChangesets','_nDataBytes','registerRefRange','drawWith','encode','compute','getRandomValues','DataLoaderController','createSocket','onTransformRemoteChangesetByStateCache','auth.needGotoLoginAlert','_doReset','image/png','onPointerEnter$','_toggleOnline','substring','_instanceService','JOIN_ROOM_FULL','getMember','9FpZEZc','_clearHeartbeatTimer','collabStatus.synced','rev','@univerjs/core','MSG_FOR_ERROR','pluginName','_reverseMap','loadSheet','/resources','SNAPSHOT_INVALID_SNAPSHOT','_stopTelemetryCollaborationNewChangeset','memberID','socket\x20close','disableLocalCache','split','getRangePointData','_registerDependencies','_clearUndo','_removeRoom','get','baseRev','POST','_onRemoteACK','processBlock','_docSkeletonManagerService','removeMember','requireSession','_createSocket','HMAC','state$','collaboration.single-unit.warning','complete','BehaviorSubject','defs','_onConnectionOpen','TEXT_RANGE_LAYER_INDEX','body','/role','getRelativeToViewportCoord','delay','measureText','_init','status','CollaborationEvent','IMessageService','DocCollaborationEntity','collaMsg','_docTransformSelectionsService','_listenToOfflineEvent','_refreshCollabCursors','_collaborationPaused','take','HELLO','Vector2','/unit/','_initResize','UNIVER_SHEET','_anchor','words','join','_getSaveTimeout','_handleHeartbeatEvent','/universer-api/file/{fileID}/sign-url','@univerjs/ui','getFocusedUnit','hasOwnProperty','random','react.fragment','UNRECOGNIZED','every','Unknown\x20user','_onUserLeave','unit','colorChannel1','BASE64','_colorIndex','1408130NnXFkZ','ImageUploadStatusType','ONLINE','roomMembers$','handleDeleteRangeMoveLeft','activeSheet$','_drawTextRange','concatMap','actions','rxjs/operators','createEncryptor','attrs','moveTo','signUrlServerUrl','url(#on-line-single_clip0_910_349)','[CollaborationSession]','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','row','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_cachedData','_event$','getCellPositionByOffset','object','_shouldReportTelemetry','92LHPvtw','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_iKey','APPLY_DUPLICATED','unpad','loginUrlKey','setAlpha','\x20to\x20','parseProtocolChangeset','clipPath','_scheduleSaving','ws://127.0.0.1:8000/universer-api/comb/connect','_context','_schedule','_setupBeforeClosingHandler','size','_sendHeartbeat','url','fillText','@univerjs/rpc','_configService','FromArray','error','idSuffix','_unlockTransition','width','_renderManagerService','HEARTBEAT_TIMEOUT_KEY','sin','_messageService','type','_assignedColors','handleInsertRangeMoveRight','_commentService','Pkcs7','error$','_textBubble','cfg','reset','LIVESHARE_FETCH_OPERATIONS','leaveEvent','_awaitingChangeset','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','COLLAB_WEB_SOCKET_URL_KEY','SerializableCipher','_disabled','People','svg','LIVESHARE_NEW_HOST','_disableEditing','InsertRowCommandId','createElement','whenReady','defineProperty','endRow','blockSize','symbol','_syncEditingCollabCursor','_checkMissing','USERS_ENTER','/rev/','image/jpg','UniverProCollaborationClient','_updateSubUnitFromURLParams','_getSignURL','IRenderManagerService','params','_docSyncEditingCollabCursorService','/-/object/list','mixIn','DocSelectionManagerService','Rectangle','FileId','_map','state','collabStatus.notCollab','_onConnectionFailed','Hex','ILocalStorageService','_drawRectRange','_cursor','jsx','getCurrentUnitForType','_createInitialState','_snapshotService','execute','listCollaborators','UniverUi','hide','mapDocumentTypeToUniverType','withCredentials','ref','SEND_CHANGESET_TIMEOUT','rng','_listenToOnlineEvent','visibilityState','Latin1','startsWith','ivSize','_roomMembers$','CollaborationController','m2Prime','_handleLeaveEvent','LocalCacheService','_send','/universer-api/comb','BlockCipher','_scene','onRemoteRej','UNKNOWN_CMD','getConfig','ceil','useCallback','save\x20fail\x20reason\x20is\x20','VIEW_MAIN','debug','_selfUnitIDs','replaceState','commentUpdateEvent','_cursorShapes','startRow','_getUploadFileURL','_config','max','jiqing500','InsertSheetMutation','IURLService','_doProcessBlock','fetchMiss','Tooltip','_handler','commentUpdate$','_transformStateCache','collabStatus.conflict','ticket','sessionStatus$','IDocClipboardService','round','Shape','abs','CHANGESET_SHOULD_RETRY','hasher','list','enableAuthServer','result','_socketService','RECV','SetSelectionsOperation','_loadDoc','isInternalEditorID','/collaborator','handleInsertCol','MessageType','_startCollaboration','isTransformChangesetsSuccess','exports','CBC','textEncoder','eventID','RETRY_CONNECTING_MAX_COUNT','WebSocketService','currentSkeleton$','/allowed','_getAPIPrefix','univer-online','collaborators','socket\x20open.','_executeRemoteChangeset','map','_session','PENDING','unload','_onCombEvent','mutations','unitId','fill','collaboratorID','fromEvent','SNAPSHOT_HAS_BEEN_REMOVED','FETCH_MISS','univer-online-status','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','catch','setCurrentUser','_onJoinRoomEvent','kdf','msCrypto','UNAUTHENTICATED','_substituteUndoStack','_nRounds','saveOfflineData','_showConflictNotification','isEditing','_tryReconnect','_replayCachedMutations','_onLocalMutation','cursorInfo','_onRecvEvent','engine','awaiting_with_pending','getOwnPropertySymbols','Error','initWorkbookPermissionChange','getRoom','_members','off-line-single_clip0_910_343','_onRemoteRejected','_rescheduleHeartbeat','subscribeEvent','transformSelections','UniverDesign','DOC_RANGE_TYPE','dispose$','_scheduleCollaborationTimeoutTimer','React','beginPath','[CollaborationUndoRedoService]','onSendChangeset','_permissionService','finalize','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_ws','_removeClearOtherTimer','Subject','NOT_FOUND','addObjects','_transformHistoryAndStateStack','_hovered','deepClone','Hasher','EffectRefRangId','APPLY_NON_SEQUENTIAL_REVISION','_getMergeRange','enc','createCollaborator','onRemoteChangeset','csAckEvent','_transformPreviousActiveRange','_throwTelemetryCollaborationNewChangeset','_httpService','_colorAssignService','includes','enableSingleActiveInstanceLock','SetWorksheetActivateCommand','_clearScheduledTask','addObject','SnapshotService','operators','conflict.title','updateMember','Error\x20on\x20receiving\x20event','3kkptTP','_document','pad','_DEC_XFORM_MODE','/universer-api/stream/file/upload','ImageIoService','not_collab','submit\x20changeset\x20error!','getRenderById','toggleOffline','newValue','CONFLICT','onlineStatus','triggerDblclick','show','_decreaseWaiting','_urlService','[OfflineState]:\x20received\x20rejection.','enableLocalCache','_cursorInfo$','visibilitychange','JOIN_ROOM_NOT_ALLOWED','decrypt','DeleteRangeMoveLeftCommandId','_collaborationTimeoutTimer','_getSnapshotAPIPrefix','UnitSnapshot','_pendingMutations','_userManagerService','subject','Undefined','tag','getUndoRedoMutationParamsCache','saveChangeset','setTimeout','_joinRoom','clear','_type','concat','/fetchmissing?from=','handleMoveRange','_unitOnClients','url(#off-line-single_clip0_910_343)','handleIRemoveCol','/block/','__creator','reqId','pauseCollaboration','_lastPointer','_commandService','ALREADY_EXISTS','createDecryptor','_transformSelections','toggleOnline','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','COLLAB_CLIENT_CONFIG_KEY','sheetId','1em','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','compose','fetching\x20missing\x20changesets\x20from\x20','slice','_startDocCollabCursor','RxDisposable','default','PERSON','editingUnit','setWaitCount','DEFAULT_FILE_NAME','COLLAB_WEB_SOCKET_URL','[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.','MemberService','arc','isActive','/universer-api/snapshot/','_initStatusComponent','collabStatus.syncing','_sheetSkeletonManagerService','imageSourceType','unitID','transformIMECache','StreamCipher','getItem','_data','getUnitId','originalMeta','CollaborationSessionService','HEARTBEAT','_anchorDot','IBeforeCloseService','isTransformMutationsWithChangesetFailure','_createInitialStateImpl','/object/','_lockTransition','_transformUndoRedoStack','_docSkeleton','SessionStatus','_onRemoteChangeset','getLatestCsReqIdBySid','RevisionService','buffer','CollaborationEntity','M0\x200H16V16H0z','_submitChangeset','path','@univerjs-pro/collaboration','shareReplay','sid','formatter','popstate','LocalUndoRedoService','SEND_CHANGESET_TIMEOUT_KEY','clearInterval','HTTPService','Workbook','_sendHeartbeatTimer','_docTransformStateCacheService','data','getCurrent','min','UniverInstanceType','_invKeySchedule','UniverCore','getUnitOnRev','selection','update','localeService','UniverIcon','_getSendChangesetTimeout','ERROR_IMAGE_TYPE','/-/object/-/batch_allowed','32008dKDAmQ','lib','@univerjs/design','fromEventSubject','getDocRanges','onRemoteAck','registerComponent','EmptyMutation','defIds','_getDownloadEndpointURL','COMMENT_UPDATE','MergeInterceptorFactory','_sendingTimer','c2Prime','collab-client.tooltip.reconnect','HEARTBEAT_TIMEOUT','_updateLocalCache','_oKey','onTransformState','SheetCollabCursorShape','CONNECTOR_DATA_TOO_LARGE','EvpKDF','_sessionStatus$','ACTIVE_UNIT_EVENT_CHANNEL','serializeRangeWithSheet','_HTTPService','flatMap','pending','@univerjs/docs','from','equals','getCurrentSelections','exhaustSavingTask','docStateChange$','_updateStatus','objectActions','_doFinalize','2030110yRLZOU','generateRandomId','sigBytes','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','INTERNAL_ERROR','Injector','_onRemoteRetry','height','univer-online-status-title','_roomMembers','_minBufferSize','1379vtwwUn','length','DisposableCollection','image/gif','_clearCollaborationTimeoutTimer','_themeService','_acknowledgedAwaitingChangeset','_startTelemetryCollaborationNewChangeset','_onUserJoin','_toggleOffline','currentTheme$','DesktopCollaborationStatusDisplayController','...','IContextService','then','column','[DataLoaderController]','APPLY_REJECT','COMPLETION_FINISHED','transformChangesets','getCoordByCell','forwardRef','IDLE','JSONX','_mode','_eventUnsubscribe','transformStack\x20failed!','post','target','currentColor','_getSheetObject','ReactCurrentOwner','_createSocketURL','fromCharCode','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','c1Prime','ISnapshotServerService','getCurrentUser','byteLength','ICollaborationSocketService','parse','registerRenderModule','_getAnchorBounding','substr','_docStateChangeManagerService','_commentUpdate$','extend','_localeService','0\x200\x2017\x2016','evenodd','_getCurrentRevision','HttpExport','url(#$1','_updateURLWithCurrentState','_draw','unitId\x20is\x20not\x20found','requestParams','status$','collabCursorState$','getMergeData','_unitID','isArray','addImageSourceCache','randomUUID','delete','UNIVER_SLIDE','merge','conflict.content','_change$','registerDependencies','Rect','_univerInstanceService','touchDependencies','_initEventListeners','prototype','SnapshotServerOverHTTPService','Base','incrementRevOfUnit','permission.content','NoPadding','_collabCursorState$','labelPosition','_getRedoStack','x-univer-host','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','updatePermissionPoint','1416496gfPvhq','_getSessionTicket','_socket','parseChangesetToProtocol','_resendTimeout','BufferedBlockAlgorithm','getViewport','runRefRangeMutations','image/jpeg','SNAPSHOT_SERVER_URL_KEY','getSkeleton','PERMISSION_REJ','getVpScrollXYInfoByPosToVp','_updateLocalCursor','fromCollab','_imageIoService','@univerjs/drawing','CollaborationSession','_changesetSessionId','assignAColorForMemberID','[CollaborationSessionService]:\x20socket\x20error','values','now','getAllMembers','_updateCollabCursors','_socket$','COLORS','getCurrentRevOfUnit','format','_startSheetCollabCursor','SYNCED','_incrementRevisionNumber','CommandType','save','_entities','setParam','getCollabEntity$','_setupSubUnitSync','_state','_injector','_ENC_XFORM_MODE','[UniverCollaborationClientPlugin]','APPLY_REVISION_CONFILICT','handleDeleteRangeMoveUp','YUUMI_UNABLE_LOAD_URL','toString','_resendTimer','ColorKit','[OfflineState]:\x20received\x20changeset.','AES','NEW_CHANGESETS','CollaborationSocketService','isTransformMutationsWithChangesetSuccess','NodePositionConvertToCursor','range','endColumn','splice','executeCommand','closePath','SUBMIT_CHANGESET','_backgroundColor','fetch_missing','registerHTTPInterceptor','filter','subscribe','\x0aAfter:\x20','_telemetryService','handleIRemoveRow','ciphertext','_transformUndoredo','@univerjs/sheets-ui','UniverSheetsUi','workbook','setShapeProps','_getCtorByUniverType','with','forEach','for','getInterceptPoints','_heartbeatTimer','getUnit','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','collabSubmitChangesetUrl','_hash','INGEST','resend','_process','updateCollaborator','onStateChange','DocIMEInputManagerService','APPLY_PERMISSION_DENIED','TOO_MANY_REQUESTS','backgroundColor','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_getLoginPath','csShouldRetryEvent','UNKNOWN_CODE','LEAVE','_createHandler','_cursors','HEADER_MENU','_handleJoinEvent','UNIVER_DOC','getTypeOfUnitAdded$','transformMutationsWithChangeset','searchParams','sheetID','IUniverInstanceService','HttpImport','name','Plugin','_exhaustRemoteChangesetQueue','isPermissionRej','_clearLocalCache','Inject','textRanges','reduce','_waitCount','useRef','unknown','@univerjs/sheets','call','AWAITING_WITH_PENDING','COLLAB_SUBMIT_CHANGESET_URL_KEY','clamp','close$','PERMISSION_DENIED','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','byteOffset','Module','collaboration_new_changeset','SheetPermissionInitController','amd','pushState','objectID','on-line-single','infoRsp','_scheduleTimestamp','UPDATE_PERMISSION_OBJ','switchMap','transformMutation','number','LIVESHARE_REQUEST_HOST','hostname','_snapshotServerService','event$','_updateState','ICommandService','useObservable','LocaleService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','unshift','handleInsertRow','_revisionService','_sheetTransformSelectionsService','startTime','revision','UniverCollaborationClientPlugin','onTransformSelections','SetDocZoomRatioOperation','downloadEndpointUrl','Optional','_imageSourceCache','_prevBlock','href','_registerRenderDependencies','getCollabEntity','_localCacheService','SheetsSelectionsService','univer-pro.collaboration-client-socket-service','online','_collaborationSessionService','mapTo','getCollabCursors$','/universer-api/oidc/authpage','getTime','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','push','UniverEngineRender','_beforeCloseService','setUndoRedoMutationParamsCache','routeKey','throttleTime','keySize','reverse','OFFLINE','_scheduleHeartbeat','_status$','key','string','clearTimeout','history','/object','offline','IMentionIOService','_onCursorUpdate','ERROR_IMAGE','RECT','reconnect','has','_collaborationController','toLowerCase','_sessions','_scheduleClearOtherTimer','collab-text-range-','debounce','getUnitStatus$','takeUntil','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','COMPRESS_MUTATION_SEND','synced','getUnitType','sequenceExecute','_onFetchMissResult','getActiveSheet','objectType','Tools','charAt','padding','YUUMI_URL_COL_OUT_OF_RANGE','Utf8','[SyncedState]:\x20received\x20rejection.','decryptBlock','xlink:href','doc.mutation.rich-text-editing','getTypeOfUnitDisposed$','SHOULD_CLOSE_CONN','UNIVER_PROJECT','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_candidateSocket','m1Prime','UniverNetworkPlugin','session.collaboration-timeout','_refRangeService','className','_saveCache','_cipher','getAncestorScale','_append','onMissingChangesets','storage','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','IPermissionService','RemoveColCommandId','UniverRpc','displayName','_initRequestHeader','CompressMutationService','readAsDataURL','_remoteChangesetQueue','_transformIMECache','reject','function','collaboration-session-retry','verdancy600','_initDependencies','[PendingState]:\x20unhandled\x20univer\x20type:\x20','ITransformService','gold400','repeat','readInt32LE','_telemetryInfo','NodePositionConvertToRectRange','_singleActiveUnitService','jsxs','contains','LIVESHARE_OPERATION','PSEUDO_FETCH_MISSING_RESULT','_createHelper','WordArray','FETCH_MISSING','init','assign','_drawAnchor','createInstance','duration','deleteCollaborator','members','_undoStacks'];_0x17c8=function(){return _0x5ec632;};return _0x17c8();}
|