@univerjs-pro/collaboration-client 0.4.2-nightly.202411031606 → 0.4.2-nightly.202411051606
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/es/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/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 +17 -17
package/lib/umd/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function _0x50cf(_0x333e2d,_0x457086){const _0x54cd3c=_0x54cd();return _0x50cf=function(_0x50cf85,_0x3cec46){_0x50cf85=_0x50cf85-0x153;let _0x29b2d1=_0x54cd3c[_0x50cf85];return _0x29b2d1;},_0x50cf(_0x333e2d,_0x457086);}(function(_0x1f7023,_0xafe2bd){const _0x5f582b=_0x50cf,_0x56798=_0x1f7023();while(!![]){try{const _0x17cbdc=parseInt(_0x5f582b(0x4e4))/0x1+parseInt(_0x5f582b(0x20c))/0x2+parseInt(_0x5f582b(0x159))/0x3+-parseInt(_0x5f582b(0x326))/0x4*(-parseInt(_0x5f582b(0x402))/0x5)+parseInt(_0x5f582b(0x239))/0x6*(-parseInt(_0x5f582b(0x58d))/0x7)+parseInt(_0x5f582b(0x230))/0x8*(-parseInt(_0x5f582b(0x458))/0x9)+-parseInt(_0x5f582b(0x52c))/0xa;if(_0x17cbdc===_0xafe2bd)break;else _0x56798['push'](_0x56798['shift']());}catch(_0x4328c6){_0x56798['push'](_0x56798['shift']());}}}(_0x54cd,0xbf02d),function(_0x3ef2ce,_0x20d446){const _0x49aa03=_0x50cf;typeof exports==_0x49aa03(0x205)&&typeof module<'u'?_0x20d446(exports,require(_0x49aa03(0x416)),require(_0x49aa03(0x5c9)),require(_0x49aa03(0x5d3)),require(_0x49aa03(0x371)),require(_0x49aa03(0x324)),require('@univerjs/network'),require(_0x49aa03(0x17b)),require('@univerjs/telemetry'),require('@univerjs/docs-ui'),require(_0x49aa03(0x568)),require(_0x49aa03(0x4bb)),require(_0x49aa03(0x2ab)),require(_0x49aa03(0x486)),require('@univerjs/engine-formula'),require(_0x49aa03(0x5dc)),require(_0x49aa03(0x1cd)),require(_0x49aa03(0x28c))):typeof define==_0x49aa03(0x4c1)&&define['amd']?define([_0x49aa03(0x589),_0x49aa03(0x416),_0x49aa03(0x5c9),'rxjs/operators',_0x49aa03(0x371),_0x49aa03(0x324),_0x49aa03(0x1e4),_0x49aa03(0x17b),'@univerjs/telemetry',_0x49aa03(0x1af),_0x49aa03(0x568),_0x49aa03(0x4bb),_0x49aa03(0x2ab),_0x49aa03(0x486),'@univerjs/engine-formula','@univerjs/sheets-ui',_0x49aa03(0x1cd),_0x49aa03(0x28c)],_0x20d446):(_0x3ef2ce=typeof globalThis<'u'?globalThis:_0x3ef2ce||self,_0x20d446(_0x3ef2ce[_0x49aa03(0x211)]={},_0x3ef2ce[_0x49aa03(0x4b9)],_0x3ef2ce[_0x49aa03(0x5c9)],_0x3ef2ce[_0x49aa03(0x5c9)][_0x49aa03(0x322)],_0x3ef2ce[_0x49aa03(0x185)],_0x3ef2ce[_0x49aa03(0x594)],_0x3ef2ce[_0x49aa03(0x29f)],_0x3ef2ce[_0x49aa03(0x580)],_0x3ef2ce[_0x49aa03(0x28a)],_0x3ef2ce['UniverDocsUi'],_0x3ef2ce[_0x49aa03(0x34b)],_0x3ef2ce['UniverEngineRender'],_0x3ef2ce['UniverDocs'],_0x3ef2ce['UniverDrawing'],_0x3ef2ce[_0x49aa03(0x50e)],_0x3ef2ce[_0x49aa03(0x49d)],_0x3ef2ce[_0x49aa03(0x590)],_0x3ef2ce[_0x49aa03(0x313)]));}(this,function(_0x38d423,_0x5a20c3,_0x32bae4,_0x51e720,_0x989dfe,_0x33d470,_0x9ed4dd,_0x4d11e3,_0x2e1b9e,_0xe07534,_0x66e3f4,_0x5c31a6,_0x458230,_0x152c2e,_0x4faec2,_0x194a78,_0x5cb4c2,_0x40129e){'use strict';const _0x494bb3=_0x50cf;var _0x5d8ab9=Object[_0x494bb3(0x5f8)],_0xa1e6e0=(_0x198740,_0x2a0388,_0x2f31d8)=>_0x2a0388 in _0x198740?_0x5d8ab9(_0x198740,_0x2a0388,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f31d8}):_0x198740[_0x2a0388]=_0x2f31d8,_0x3ed524=(_0x237165,_0x3f34f6,_0xcb51ab)=>_0xa1e6e0(_0x237165,typeof _0x3f34f6!=_0x494bb3(0x284)?_0x3f34f6+'':_0x3f34f6,_0xcb51ab);const _0x9ad7b4=_0x494bb3(0x178),_0x1974b1=_0x494bb3(0x5e0),_0xe41584=_0x494bb3(0x2d4),_0x2b47bd=_0x494bb3(0x53a),_0x4420d6='COLLAB_WEB_SOCKET_URL',_0x575f6c=_0x494bb3(0x357),_0x33903c=_0x494bb3(0x2b4),_0x1c1612=_0x494bb3(0x20f),_0x28861a='RETRY_CONNECTING_MAX_COUNT',_0x2a600b='LOCAL_CACHE_INTERVAL',_0x4abc67=_0x494bb3(0x53c),_0x5467a7=_0x494bb3(0x2eb),_0x5e43ba=_0x494bb3(0x1b3),_0x529e5c='/universer-api/oidc/authpage';var _0x37591c=(_0x1b5577=>(_0x1b5577[_0x1b5577['UNDEFINED']=0x0]='UNDEFINED',_0x1b5577[_0x1b5577['OK']=0x1]='OK',_0x1b5577[_0x1b5577[_0x494bb3(0x18f)]=0x2]=_0x494bb3(0x18f),_0x1b5577[_0x1b5577[_0x494bb3(0x2f3)]=0x3]=_0x494bb3(0x2f3),_0x1b5577[_0x1b5577[_0x494bb3(0x258)]=0x4]=_0x494bb3(0x258),_0x1b5577[_0x1b5577['UNAUTHENTICATED']=0x5]=_0x494bb3(0x25c),_0x1b5577[_0x1b5577[_0x494bb3(0x4ca)]=0x6]=_0x494bb3(0x4ca),_0x1b5577[_0x1b5577[_0x494bb3(0x3f3)]=0x7]=_0x494bb3(0x3f3),_0x1b5577[_0x1b5577[_0x494bb3(0x4ad)]=0x8]=_0x494bb3(0x4ad),_0x1b5577[_0x1b5577[_0x494bb3(0x5d0)]=0x9]=_0x494bb3(0x5d0),_0x1b5577[_0x1b5577[_0x494bb3(0x598)]=0x1389]=_0x494bb3(0x598),_0x1b5577[_0x1b5577[_0x494bb3(0x3ac)]=0x1771]=_0x494bb3(0x3ac),_0x1b5577[_0x1b5577['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x494bb3(0x473),_0x1b5577[_0x1b5577[_0x494bb3(0x1df)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1b5577[_0x1b5577[_0x494bb3(0x519)]=0x1b59]=_0x494bb3(0x519),_0x1b5577[_0x1b5577[_0x494bb3(0x48d)]=0x1b5a]=_0x494bb3(0x48d),_0x1b5577[_0x1b5577[_0x494bb3(0x55e)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1b5577[_0x1b5577[_0x494bb3(0x4d9)]=0x1b5c]=_0x494bb3(0x4d9),_0x1b5577[_0x1b5577[_0x494bb3(0x30f)]=0x1b5d]=_0x494bb3(0x30f),_0x1b5577[_0x1b5577[_0x494bb3(0x2e0)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x1b5577[_0x1b5577['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x1b5577[_0x1b5577['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x494bb3(0x5b9),_0x1b5577[_0x1b5577[_0x494bb3(0x1e6)]=0x232b]=_0x494bb3(0x1e6),_0x1b5577[_0x1b5577[_0x494bb3(0x2dd)]=0x232c]=_0x494bb3(0x2dd),_0x1b5577[_0x1b5577[_0x494bb3(0x40b)]=0x232d]=_0x494bb3(0x40b),_0x1b5577[_0x1b5577[_0x494bb3(0x5f5)]=0x2711]=_0x494bb3(0x5f5),_0x1b5577[_0x1b5577[_0x494bb3(0x503)]=0x2712]=_0x494bb3(0x503),_0x1b5577[_0x1b5577[_0x494bb3(0x524)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1b5577[_0x1b5577['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x494bb3(0x2cf),_0x1b5577[_0x1b5577[_0x494bb3(0x5ab)]=-0x1]=_0x494bb3(0x5ab),_0x1b5577))(_0x37591c||{}),_0x9d8403=(_0x5a42f7=>(_0x5a42f7[_0x5a42f7[_0x494bb3(0x560)]=0x0]='UNIVER_UNKNOWN',_0x5a42f7[_0x5a42f7[_0x494bb3(0x512)]=0x1]=_0x494bb3(0x512),_0x5a42f7[_0x5a42f7[_0x494bb3(0x329)]=0x2]=_0x494bb3(0x329),_0x5a42f7[_0x5a42f7['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x5a42f7[_0x5a42f7['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x5a42f7[_0x5a42f7[_0x494bb3(0x5ab)]=-0x1]=_0x494bb3(0x5ab),_0x5a42f7))(_0x9d8403||{}),_0x58f514=(_0x4739e2=>(_0x4739e2[_0x4739e2['UNKNOWN_CMD']=0x0]=_0x494bb3(0x401),_0x4739e2[_0x4739e2[_0x494bb3(0x4fb)]=0x1]=_0x494bb3(0x4fb),_0x4739e2[_0x4739e2[_0x494bb3(0x46e)]=0x2]=_0x494bb3(0x46e),_0x4739e2[_0x4739e2[_0x494bb3(0x399)]=0x3]=_0x494bb3(0x399),_0x4739e2[_0x4739e2[_0x494bb3(0x450)]=0x4]=_0x494bb3(0x450),_0x4739e2[_0x4739e2[_0x494bb3(0x359)]=0x5]=_0x494bb3(0x359),_0x4739e2[_0x4739e2[_0x494bb3(0x299)]=0x6]=_0x494bb3(0x299),_0x4739e2[_0x4739e2[_0x494bb3(0x5ab)]=-0x1]=_0x494bb3(0x5ab),_0x4739e2))(_0x58f514||{}),_0x3f92ef=(_0x108a8d=>(_0x108a8d[_0x108a8d[_0x494bb3(0x4d1)]=0x0]='UNKNOWN_CODE',_0x108a8d[_0x108a8d['OK']=0x1]='OK',_0x108a8d[_0x108a8d[_0x494bb3(0x48a)]=0x2]='FAIL',_0x108a8d[_0x108a8d[_0x494bb3(0x5ab)]=-0x1]='UNRECOGNIZED',_0x108a8d))(_0x3f92ef||{}),_0x2aec2f=(_0x26eced=>(_0x26eced[_0x26eced[_0x494bb3(0x505)]=0x0]='Undefined',_0x26eced[_0x26eced[_0x494bb3(0x414)]=0x1]=_0x494bb3(0x414),_0x26eced[_0x26eced['HttpExport']=0x2]='HttpExport',_0x26eced[_0x26eced[_0x494bb3(0x157)]=0x3]=_0x494bb3(0x157),_0x26eced[_0x26eced[_0x494bb3(0x317)]=0x4]=_0x494bb3(0x317),_0x26eced[_0x26eced[_0x494bb3(0x5ab)]=-0x1]=_0x494bb3(0x5ab),_0x26eced))(_0x2aec2f||{});const _0x59eaf6=_0x494bb3(0x25d),_0x48bf3d={};function _0x2ef67b(_0x10e29c){const _0x45b33e=_0x494bb3;var _0x1f1cd4,_0x1a035f,_0x3495fe,_0x2d40f4,_0x2c5e2e;const _0x2232ce=_0x10e29c[_0x45b33e(0x5a3)],_0x1cdc5b=JSON[_0x45b33e(0x40c)](_0x2232ce);switch(_0x1cdc5b[_0x45b33e(0x515)]){case _0x58f514['HEARTBEAT']:case _0x58f514[_0x45b33e(0x4fb)]:{const _0x2f46eb=_0x1cdc5b[_0x45b33e(0x4ab)];return{..._0x1cdc5b,'data':_0x2f46eb,'cmd':_0x1cdc5b[_0x45b33e(0x515)]};}case _0x58f514[_0x45b33e(0x46e)]:{const _0x4b6934=_0x1cdc5b['joinRsp'];return{..._0x1cdc5b,'data':_0x4b6934,'cmd':_0x1cdc5b[_0x45b33e(0x515)]};}case _0x58f514[_0x45b33e(0x299)]:{const _0x536958=_0x1cdc5b[_0x45b33e(0x520)];switch(_0x536958['eventID']){case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x549)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':(_0x1f1cd4=_0x536958['permissionRejEvent'])==null?void 0x0:_0x1f1cd4['cs']},'cmd':_0x1cdc5b['cmd']};case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x318)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':(_0x1a035f=_0x536958['csAckEvent'])==null?void 0x0:_0x1a035f['cs']},'cmd':_0x1cdc5b['cmd']};case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x2f4)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':(_0x3495fe=_0x536958[_0x45b33e(0x2a4)])==null?void 0x0:_0x3495fe['cs']},'cmd':_0x1cdc5b[_0x45b33e(0x515)]};case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x16f)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':(_0x2d40f4=_0x536958[_0x45b33e(0x38b)])==null?void 0x0:_0x2d40f4['cs']},'cmd':_0x1cdc5b[_0x45b33e(0x515)]};case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x529)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':(_0x2c5e2e=_0x536958[_0x45b33e(0x3d0)])==null?void 0x0:_0x2c5e2e['cs']},'cmd':_0x1cdc5b['cmd']};case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x1ef)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':_0x536958[_0x45b33e(0x31a)]},'cmd':_0x1cdc5b['cmd']};case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x19c)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':_0x536958['joinEvent']},'cmd':_0x1cdc5b[_0x45b33e(0x515)]};case _0x4d11e3['CollaborationEvent'][_0x45b33e(0x37b)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':_0x536958[_0x45b33e(0x59b)]},'cmd':_0x1cdc5b['cmd']};case _0x4d11e3['CollaborationEvent'][_0x45b33e(0x545)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':_0x536958[_0x45b33e(0x360)]},'cmd':_0x1cdc5b[_0x45b33e(0x515)]};case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x1f3)]:case _0x4d11e3['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x1cdc5b,'data':{..._0x536958,'data':_0x536958[_0x45b33e(0x55d)]},'cmd':_0x1cdc5b[_0x45b33e(0x515)]};case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x5de)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':_0x536958[_0x45b33e(0x360)]},'cmd':_0x1cdc5b[_0x45b33e(0x515)]};case _0x4d11e3['CollaborationEvent'][_0x45b33e(0x31f)]:return{..._0x1cdc5b,'data':_0x536958,'cmd':_0x1cdc5b['cmd']};case _0x4d11e3[_0x45b33e(0x213)]['COMMENT_UPDATE']:return{..._0x1cdc5b,'data':{..._0x536958,'data':_0x536958[_0x45b33e(0x57f)]},'cmd':_0x1cdc5b[_0x45b33e(0x515)]};case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x5ed)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':_0x536958[_0x45b33e(0x5fc)]},'cmd':_0x1cdc5b[_0x45b33e(0x515)]};case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x46a)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':_0x536958[_0x45b33e(0x5be)]},'cmd':_0x1cdc5b[_0x45b33e(0x515)]};default:return _0x1cdc5b;}}default:return _0x1cdc5b;}}function _0x3baba8(_0x4fe18e){const _0x41827a=_0x494bb3;switch(_0x4fe18e[_0x41827a(0x515)]){case _0x58f514['HEARTBEAT']:case _0x58f514[_0x41827a(0x4fb)]:return JSON['stringify']({'cmd':_0x4fe18e[_0x41827a(0x515)],'routeKey':_0x4fe18e[_0x41827a(0x2a7)]});case _0x58f514['INGEST']:{let _0xcbebf;switch(_0x4fe18e[_0x41827a(0x5a3)][_0x41827a(0x383)]){case _0x4d11e3['CollaborationEvent']['UPDATE_CURSOR']:{_0xcbebf={'eventID':_0x4d11e3[_0x41827a(0x213)][_0x41827a(0x1ef)],'updateCursorEvent':_0x4fe18e[_0x41827a(0x5a3)]['data']};break;}case _0x4d11e3[_0x41827a(0x213)][_0x41827a(0x37b)]:{_0xcbebf={'eventID':_0x4d11e3[_0x41827a(0x213)][_0x41827a(0x37b)],'leaveEvent':_0x4fe18e[_0x41827a(0x5a3)][_0x41827a(0x5a3)]};break;}case _0x4d11e3['CollaborationEvent'][_0x41827a(0x19c)]:{_0xcbebf={'eventID':_0x4d11e3[_0x41827a(0x213)][_0x41827a(0x19c)],'joinEvent':_0x4fe18e['data'][_0x41827a(0x5a3)]};break;}case _0x4d11e3['CollaborationEvent'][_0x41827a(0x545)]:{_0xcbebf={'eventID':_0x4d11e3[_0x41827a(0x213)][_0x41827a(0x545)],'liveShareNewHost':_0x4fe18e[_0x41827a(0x5a3)]['data']};break;}case _0x4d11e3[_0x41827a(0x213)][_0x41827a(0x2d1)]:{_0xcbebf={'eventID':_0x4d11e3[_0x41827a(0x213)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x4fe18e[_0x41827a(0x5a3)][_0x41827a(0x5a3)]};break;}case _0x4d11e3[_0x41827a(0x213)][_0x41827a(0x5de)]:{_0xcbebf={'eventID':_0x4d11e3[_0x41827a(0x213)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x4fe18e[_0x41827a(0x5a3)][_0x41827a(0x5a3)]};break;}case _0x4d11e3[_0x41827a(0x213)][_0x41827a(0x49a)]:{_0xcbebf={'eventID':_0x4d11e3[_0x41827a(0x213)][_0x41827a(0x49a)],'liveShareRequestHost':_0x4fe18e[_0x41827a(0x5a3)][_0x41827a(0x5a3)]};break;}case _0x4d11e3['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0xcbebf={'eventID':_0x4d11e3[_0x41827a(0x213)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0xcbebf={'eventID':_0x4fe18e[_0x41827a(0x5a3)]['eventID']};}return JSON[_0x41827a(0x58b)]({'cmd':_0x4fe18e['cmd'],'routeKey':_0x4fe18e['routeKey'],'collaMsg':_0xcbebf});}case _0x58f514[_0x41827a(0x46e)]:return JSON[_0x41827a(0x58b)]({'cmd':_0x4fe18e[_0x41827a(0x515)],'routeKey':_0x4fe18e[_0x41827a(0x2a7)],'joinReq':_0x4fe18e[_0x41827a(0x5a3)]});case _0x58f514[_0x41827a(0x399)]:return JSON['stringify']({'cmd':_0x4fe18e[_0x41827a(0x515)],'routeKey':_0x4fe18e[_0x41827a(0x2a7)],'leaveReq':_0x4fe18e[_0x41827a(0x5a3)]});default:throw new Error(_0x41827a(0x58f));}}var _0x5c51a2=Object[_0x494bb3(0x5f8)],_0x5fe780=Object[_0x494bb3(0x51e)],_0x1f709d=(_0x282df2,_0x4679be,_0x2bdf3e,_0x4bfb0c)=>{const _0x5df77f=_0x494bb3;for(var _0x4f9eb1=_0x4bfb0c>0x1?void 0x0:_0x4bfb0c?_0x5fe780(_0x4679be,_0x2bdf3e):_0x4679be,_0x26fc30=_0x282df2[_0x5df77f(0x5aa)]-0x1,_0x43e24d;_0x26fc30>=0x0;_0x26fc30--)(_0x43e24d=_0x282df2[_0x26fc30])&&(_0x4f9eb1=(_0x4bfb0c?_0x43e24d(_0x4679be,_0x2bdf3e,_0x4f9eb1):_0x43e24d(_0x4f9eb1))||_0x4f9eb1);return _0x4bfb0c&&_0x4f9eb1&&_0x5c51a2(_0x4679be,_0x2bdf3e,_0x4f9eb1),_0x4f9eb1;},_0x297a21=(_0x7efc8a,_0x2c3e38)=>(_0x82a823,_0x16481d)=>_0x2c3e38(_0x82a823,_0x16481d,_0x7efc8a);const _0x45677d=_0x5a20c3['createIdentifier'](_0x494bb3(0x5cc));function _0x1f8749(_0x1ff67e,_0x3fa0e8,_0x15e5a7){return _0x1ff67e+'/'+_0x3fa0e8+'/unit/'+_0x15e5a7+'/new_changes';}_0x38d423[_0x494bb3(0x3f6)]=class extends _0x5a20c3[_0x494bb3(0x1c9)]{constructor(_0x9990cf,_0x5be073,_0x5a502b,_0x34ff83,_0x3db614){const _0x44bf5c=_0x494bb3;super(),this[_0x44bf5c(0x4eb)]=_0x9990cf,this[_0x44bf5c(0x15e)]=_0x5be073,this[_0x44bf5c(0x1f1)]=_0x5a502b,this['_logService']=_0x34ff83,this[_0x44bf5c(0x39e)]=_0x3db614;}[_0x494bb3(0x265)](_0x5ba300){const _0x2d5902=_0x494bb3,_0x31bfdf=this[_0x2d5902(0x15e)]['createSocket'](_0x5ba300);if(!_0x31bfdf)throw new Error(_0x2d5902(0x586));const _0x3cd904=new _0x5a20c3['DisposableCollection'](),_0x4ad640=new _0x32bae4[(_0x2d5902(0x20b))]();_0x3cd904[_0x2d5902(0x492)](_0x31bfdf[_0x2d5902(0x180)][_0x2d5902(0x38d)](_0x3256c8=>_0x4ad640['next'](_0x3256c8))),_0x3cd904[_0x2d5902(0x492)](_0x5a20c3[_0x2d5902(0x1d8)](()=>_0x4ad640['complete']()));const _0x565fb5=new _0x32bae4[(_0x2d5902(0x20b))]();_0x3cd904[_0x2d5902(0x492)](_0x31bfdf[_0x2d5902(0x457)]['subscribe'](_0x4f2df9=>_0x565fb5[_0x2d5902(0x5dd)](_0x4f2df9))),_0x3cd904['add'](_0x5a20c3['toDisposable'](()=>_0x565fb5[_0x2d5902(0x548)]()));const _0x4c5937=new _0x32bae4['Subject']();_0x3cd904['add'](_0x31bfdf[_0x2d5902(0x608)][_0x2d5902(0x38d)](_0x32aa94=>{const _0x1adea7=_0x2d5902,_0x5a755e=_0x2ef67b(_0x32aa94);_0x4c5937[_0x1adea7(0x5dd)](_0x5a755e);})),_0x3cd904[_0x2d5902(0x492)](_0x5a20c3[_0x2d5902(0x1d8)](()=>_0x4c5937[_0x2d5902(0x548)]()));let _0x5de064;const _0x5818e3=()=>{const _0x259d59=_0x2d5902;_0x565fb5[_0x259d59(0x5dd)](new Event(_0x259d59(0x237))),_0x4ad640[_0x259d59(0x5dd)](new CloseEvent(_0x259d59(0x237))),_0x5de064[_0x259d59(0x1a0)]();};return _0x5de064={'memberID':'','close$':_0x4ad640['asObservable'](),'error$':_0x565fb5[_0x2d5902(0x4fe)](),'open$':_0x31bfdf[_0x2d5902(0x428)],'message$':_0x4c5937[_0x2d5902(0x4fe)](),'send':_0x5861c9=>{const _0x4702a5=_0x2d5902;if(_0x5861c9['cmd']===_0x58f514['INGEST']){if(_0x5861c9[_0x4702a5(0x5a3)]['eventID']===_0x4d11e3[_0x4702a5(0x213)][_0x4702a5(0x39d)]){this[_0x4702a5(0x4b0)](_0x5de064,_0x5861c9[_0x4702a5(0x5a3)])[_0x4702a5(0x304)](_0x3b299f=>{const _0x3373d8=_0x4702a5;this[_0x3373d8(0x3f5)][_0x3373d8(0x35a)](_0x3b299f),_0x5818e3();});return;}if(_0x5861c9[_0x4702a5(0x5a3)][_0x4702a5(0x383)]===_0x4d11e3[_0x4702a5(0x213)]['FETCH_MISSING']){const _0x3f8ac8=_0x5861c9[_0x4702a5(0x5a3)];this['_fetchMissChangesets'](_0x3f8ac8)[_0x4702a5(0x1ee)](_0x100588=>{const _0x53ab68=_0x4702a5;_0x4c5937[_0x53ab68(0x5dd)]({'cmd':_0x58f514[_0x53ab68(0x299)],'code':_0x3f92ef['OK'],'routeKey':_0x3f8ac8[_0x53ab68(0x5a3)][_0x53ab68(0x39f)],'routeType':'','data':{'eventID':_0x4d11e3[_0x53ab68(0x213)][_0x53ab68(0x388)],'data':{'changesets':_0x100588}}});})['catch'](_0x3f5d06=>{const _0x3bd332=_0x4702a5;this['_logService'][_0x3bd332(0x35a)](_0x3f5d06),_0x5818e3();});return;}}_0x31bfdf[_0x4702a5(0x424)](_0x3baba8(_0x5861c9));},'close':()=>{const _0x2f91a8=_0x2d5902;_0x31bfdf['close'](),_0x3cd904[_0x2f91a8(0x173)]();}},_0x5de064;}async[_0x494bb3(0x4b0)](_0x5324f8,_0x5f0bfe){const _0x4b62a2=_0x494bb3;var _0x5b21c5,_0x52b86b;const {unitType:_0x61699f,unitID:_0x588199,changeset:_0x1b9170}=_0x5f0bfe[_0x4b62a2(0x5a3)],_0x3f177c={'unitID':_0x588199,'memberID':_0x5324f8[_0x4b62a2(0x550)],'type':_0x61699f,'changeset':_0x4d11e3[_0x4b62a2(0x4e3)](_0x1b9170)},_0x4ffd34=this[_0x4b62a2(0x1f1)][_0x4b62a2(0x19a)](_0x4abc67),_0x3eca98=this[_0x4b62a2(0x1f1)][_0x4b62a2(0x19a)](_0x59eaf6),_0x5f0c5a=_0x1f8749((_0x52b86b=(_0x5b21c5=_0x3eca98==null?void 0x0:_0x3eca98[_0x4b62a2(0x4c8)])!=null?_0x5b21c5:_0x4ffd34)!=null?_0x52b86b:_0x5467a7,_0x61699f,_0x588199);try{await this[_0x4b62a2(0x4eb)][_0x4b62a2(0x20e)](_0x5f0c5a,{'body':_0x3f177c});}catch(_0x15053a){throw this['_logService']['error'](_0x4b62a2(0x2f2),_0x4b62a2(0x276)),_0x15053a;}}async[_0x494bb3(0x46c)](_0x1ea623){const _0x5cf3ea=_0x494bb3,{unitID:_0x2c7c61,from:_0x5df3cd,to:_0x51e793,unitType:_0x3d1078}=_0x1ea623[_0x5cf3ea(0x5a3)];return(await this[_0x5cf3ea(0x39e)][_0x5cf3ea(0x459)]({'metadata':void 0x0},{'unitID':_0x2c7c61,'type':_0x3d1078,'from':_0x5df3cd,'to':_0x51e793}))[_0x5cf3ea(0x54d)];}},_0x38d423['CollaborationSocketService']=_0x1f709d([_0x297a21(0x0,_0x5a20c3[_0x494bb3(0x57c)](_0x9ed4dd['HTTPService'])),_0x297a21(0x1,_0x5a20c3['Inject'](_0x9ed4dd[_0x494bb3(0x1ba)])),_0x297a21(0x2,_0x5a20c3[_0x494bb3(0x175)]),_0x297a21(0x3,_0x5a20c3['ILogService']),_0x297a21(0x4,_0x4d11e3[_0x494bb3(0x553)])],_0x38d423['CollaborationSocketService']);const _0x50ad6b='collaboration_new_changeset';function _0x23fb7d(_0x18ab9d){const _0x1d0013=_0x494bb3;return JSON[_0x1d0013(0x58b)](_0x18ab9d)[_0x1d0013(0x5aa)];}class _0x1cf212{constructor(){const _0x2e1960=_0x494bb3;_0x3ed524(this,_0x2e1960(0x200),new _0x32bae4[(_0x2e1960(0x20b))]()),_0x3ed524(this,_0x2e1960(0x3e0),this[_0x2e1960(0x200)][_0x2e1960(0x4fe)]());}[_0x494bb3(0x41c)](_0x1c3376){const _0x11ee0d=_0x494bb3;this[_0x11ee0d(0x200)][_0x11ee0d(0x5dd)](_0x1c3376);}}var _0x45fcc6=Object['defineProperty'],_0x592c88=Object[_0x494bb3(0x51e)],_0x5251c5=(_0x29e2e6,_0x4adfd3,_0x5974d6,_0x190382)=>{const _0x239029=_0x494bb3;for(var _0x285daf=_0x190382>0x1?void 0x0:_0x190382?_0x592c88(_0x4adfd3,_0x5974d6):_0x4adfd3,_0x450496=_0x29e2e6[_0x239029(0x5aa)]-0x1,_0xd4190f;_0x450496>=0x0;_0x450496--)(_0xd4190f=_0x29e2e6[_0x450496])&&(_0x285daf=(_0x190382?_0xd4190f(_0x4adfd3,_0x5974d6,_0x285daf):_0xd4190f(_0x285daf))||_0x285daf);return _0x190382&&_0x285daf&&_0x45fcc6(_0x4adfd3,_0x5974d6,_0x285daf),_0x285daf;},_0xa2a287=(_0x2966eb,_0x30e3f2)=>(_0x184d1e,_0x5f0a60)=>_0x30e3f2(_0x184d1e,_0x5f0a60,_0x2966eb);_0x38d423[_0x494bb3(0x30c)]=class extends _0x5a20c3[_0x494bb3(0x1c9)]{constructor(_0x367565,_0x114ec1){const _0x29b8f2=_0x494bb3;super(),_0x3ed524(this,'_roomMembers',new Map()),(this[_0x29b8f2(0x4a7)]=_0x367565,this[_0x29b8f2(0x496)]=_0x114ec1,this[_0x29b8f2(0x385)](_0x5a20c3[_0x29b8f2(0x1d8)](_0x32bae4['merge'](this[_0x29b8f2(0x4a7)][_0x29b8f2(0x5f4)](_0x5a20c3['UniverInstanceType'][_0x29b8f2(0x329)])['pipe'](_0x51e720[_0x29b8f2(0x48f)](_0x54ad97=>_0x54ad97[_0x29b8f2(0x4dc)]())),this[_0x29b8f2(0x4a7)]['getTypeOfUnitDisposed$'](_0x5a20c3[_0x29b8f2(0x4c5)][_0x29b8f2(0x512)])[_0x29b8f2(0x1d4)](_0x51e720['map'](_0x57f21b=>_0x57f21b[_0x29b8f2(0x4dc)]())),this[_0x29b8f2(0x4a7)]['getTypeOfUnitDisposed$'](_0x5a20c3[_0x29b8f2(0x4c5)][_0x29b8f2(0x315)])[_0x29b8f2(0x1d4)](_0x51e720[_0x29b8f2(0x48f)](_0x1c5f1f=>_0x1c5f1f[_0x29b8f2(0x4dc)]())))['subscribe'](_0x8e3822=>this[_0x29b8f2(0x2f0)](_0x8e3822)))));}[_0x494bb3(0x19d)](_0x453f6b){const _0x3f4435=_0x494bb3;this['_userManagerService'][_0x3f4435(0x19d)](_0x453f6b);}[_0x494bb3(0x606)](){return this['_userManagerService']['getCurrentUser']();}[_0x494bb3(0x507)](_0xd5131a,_0x5a25de){const _0x2ca001=_0x494bb3;let _0x286793=this['_roomMembers'][_0x2ca001(0x537)](_0xd5131a);_0x286793||(_0x286793=new _0x154ca9(),this[_0x2ca001(0x325)][_0x2ca001(0x33d)](_0xd5131a,_0x286793)),_0x286793[_0x2ca001(0x507)](_0x5a25de);}[_0x494bb3(0x218)](_0x2edf8f,_0x1cfbdf){const _0x23dc6f=_0x494bb3,_0x3eecd1=this[_0x23dc6f(0x325)][_0x23dc6f(0x537)](_0x2edf8f);_0x3eecd1&&_0x3eecd1[_0x23dc6f(0x218)](_0x1cfbdf);}['getRoom'](_0x5d4086){const _0x503171=_0x494bb3;return this[_0x503171(0x325)][_0x503171(0x537)](_0x5d4086);}[_0x494bb3(0x600)](_0x56e9a9,_0x1c543f){const _0x2c2db8=_0x494bb3,_0x47343f=this[_0x2c2db8(0x325)][_0x2c2db8(0x537)](_0x56e9a9);if(_0x47343f)return _0x47343f[_0x2c2db8(0x600)](_0x1c543f);}['_removeRoom'](_0x43e983){const _0x15d71b=_0x494bb3,_0x293cd3=this['_roomMembers'][_0x15d71b(0x537)](_0x43e983);_0x293cd3&&(_0x293cd3['dispose'](),this['_roomMembers'][_0x15d71b(0x43d)](_0x43e983));}['dispose'](){const _0x3cc9a5=_0x494bb3;this[_0x3cc9a5(0x325)][_0x3cc9a5(0x5e8)](_0x1f8fec=>_0x1f8fec[_0x3cc9a5(0x173)]()),this[_0x3cc9a5(0x325)]['clear']();}},_0x38d423[_0x494bb3(0x30c)]=_0x5251c5([_0xa2a287(0x0,_0x5a20c3[_0x494bb3(0x17e)]),_0xa2a287(0x1,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3['UserManagerService']))],_0x38d423[_0x494bb3(0x30c)]);class _0x154ca9 extends _0x5a20c3[_0x494bb3(0x1c9)]{constructor(){const _0x3dbebb=_0x494bb3;super(...arguments),_0x3ed524(this,_0x3dbebb(0x437),new Map());}[_0x494bb3(0x173)](){const _0x4519fa=_0x494bb3;this['_members'][_0x4519fa(0x366)]();}[_0x494bb3(0x507)](_0x4862fc){const _0x244923=_0x494bb3;this['_members'][_0x244923(0x33d)](_0x4862fc[_0x244923(0x550)],_0x4862fc);}[_0x494bb3(0x218)](_0x1536fe){const _0x53e186=_0x494bb3;this[_0x53e186(0x437)][_0x53e186(0x43d)](_0x1536fe);}[_0x494bb3(0x600)](_0x164cbf){const _0x388d5e=_0x494bb3;return this[_0x388d5e(0x437)][_0x388d5e(0x537)](_0x164cbf);}[_0x494bb3(0x1b7)](){const _0x2e8047=_0x494bb3;return Array[_0x2e8047(0x2d5)](this[_0x2e8047(0x437)][_0x2e8047(0x4f0)]());}}var _0x43105b=Object[_0x494bb3(0x5f8)],_0x559196=Object['getOwnPropertyDescriptor'],_0x1604aa=(_0x459eac,_0x4eed71,_0x42094d,_0x503db7)=>{for(var _0x16ce4d=_0x503db7>0x1?void 0x0:_0x503db7?_0x559196(_0x4eed71,_0x42094d):_0x4eed71,_0x58ff48=_0x459eac['length']-0x1,_0x163a02;_0x58ff48>=0x0;_0x58ff48--)(_0x163a02=_0x459eac[_0x58ff48])&&(_0x16ce4d=(_0x503db7?_0x163a02(_0x4eed71,_0x42094d,_0x16ce4d):_0x163a02(_0x16ce4d))||_0x16ce4d);return _0x503db7&&_0x16ce4d&&_0x43105b(_0x4eed71,_0x42094d,_0x16ce4d),_0x16ce4d;},_0x4fc36a=(_0x5af5f2,_0x405e53)=>(_0x55f36a,_0x171cb3)=>_0x405e53(_0x55f36a,_0x171cb3,_0x5af5f2),_0x5f2a52=(_0x158601=>(_0x158601[_0x158601[_0x494bb3(0x177)]=0x0]='IDLE',_0x158601[_0x158601[_0x494bb3(0x405)]=0x1]='JOINING',_0x158601[_0x158601['OFFLINE']=0x2]=_0x494bb3(0x1de),_0x158601[_0x158601[_0x494bb3(0x5c1)]=0x3]=_0x494bb3(0x5c1),_0x158601))(_0x5f2a52||{});_0x38d423[_0x494bb3(0x3b1)]=class extends _0x5a20c3[_0x494bb3(0x3ed)]{constructor(_0x4cd880,_0x5acec6,_0x4fcbf9,_0x49e8a2,_0x29c732,_0x3f38c9,_0xefbd93,_0x1be423,_0x13c940,_0x2ac9d7){const _0x257f90=_0x494bb3;super(),_0x3ed524(this,_0x257f90(0x364),new _0x32bae4['BehaviorSubject'](0x0)),_0x3ed524(this,_0x257f90(0x398),this[_0x257f90(0x364)][_0x257f90(0x4fe)]()),_0x3ed524(this,'_event$',new _0x32bae4['Subject']()),_0x3ed524(this,_0x257f90(0x5f6),this['_event$'][_0x257f90(0x4fe)]()),_0x3ed524(this,_0x257f90(0x4e9)),_0x3ed524(this,_0x257f90(0x28b)),_0x3ed524(this,_0x257f90(0x261)),_0x3ed524(this,'_shouldReportTelemetry',!0x1),_0x3ed524(this,_0x257f90(0x3c2),null),(this[_0x257f90(0x42b)]=_0x4cd880,this['_logService']=_0x4fcbf9,this[_0x257f90(0x2e9)]=_0x49e8a2,this[_0x257f90(0x2cc)]=_0x29c732,this[_0x257f90(0x1f1)]=_0x3f38c9,this[_0x257f90(0x26e)]=_0xefbd93,this['_memberService']=_0x1be423,this[_0x257f90(0x25f)]=_0x13c940,this['_telemetryService']=_0x2ac9d7,this[_0x257f90(0x5b0)]=!!this[_0x257f90(0x417)],_0x5acec6[_0x257f90(0x1d4)](_0x32bae4['takeUntil'](this['dispose$']))[_0x257f90(0x38d)](_0x3f06c0=>{const _0x2adff2=_0x257f90;var _0x472a39;typeof _0x3f06c0>'u'||(this[_0x2adff2(0x4e9)]=_0x3f06c0,_0x3f06c0?(this[_0x2adff2(0x4a6)](_0x3f06c0),this['_socketMessageSubscription']=_0x3f06c0['message$'][_0x2adff2(0x38d)](_0x515520=>{const _0xeb7dcc=_0x2adff2;_0x515520[_0xeb7dcc(0x2a7)]===this['_unitID']&&this['_onCombEvent'](_0x515520);})):(this[_0x2adff2(0x2c0)](),this[_0x2adff2(0x364)][_0x2adff2(0x5dd)](0x2),(_0x472a39=this[_0x2adff2(0x28b)])==null||_0x472a39[_0x2adff2(0x365)](),this[_0x2adff2(0x28b)]=null));}),this[_0x257f90(0x385)](this['_beforeCloseService'][_0x257f90(0x1a2)](()=>{const _0x25532b=_0x257f90;var _0x4cec17;(_0x4cec17=this[_0x25532b(0x4e9)])==null||_0x4cec17[_0x25532b(0x424)]({'cmd':_0x58f514[_0x25532b(0x399)],'data':{'roomID':this[_0x25532b(0x42b)]}});})));}get[_0x494bb3(0x3c9)](){const _0x557f76=_0x494bb3;return this[_0x557f76(0x364)][_0x557f76(0x532)]();}[_0x494bb3(0x488)](){const _0x2bc634=_0x494bb3;var _0x565883,_0x27dd28;return(_0x27dd28=(_0x565883=this['_socket'])==null?void 0x0:_0x565883[_0x2bc634(0x550)])!=null?_0x27dd28:null;}['dispose'](){const _0x2e3d1b=_0x494bb3;super[_0x2e3d1b(0x173)](),this[_0x2e3d1b(0x5af)][_0x2e3d1b(0x5dd)](),this[_0x2e3d1b(0x5af)][_0x2e3d1b(0x548)]();}[_0x494bb3(0x1a0)](){const _0x4c522f=_0x494bb3;var _0x50f4d2,_0x63f11f;this[_0x4c522f(0x2c0)](),(_0x50f4d2=this['_socket'])==null||_0x50f4d2[_0x4c522f(0x424)]({'cmd':_0x58f514[_0x4c522f(0x399)],'data':{'roomID':this[_0x4c522f(0x42b)]}}),(_0x63f11f=this[_0x4c522f(0x4e9)])==null||_0x63f11f[_0x4c522f(0x1a0)](),this[_0x4c522f(0x395)][_0x4c522f(0x548)](),this[_0x4c522f(0x364)][_0x4c522f(0x548)](),this['dispose']();}['_onCombEvent'](_0x4fbf37){const _0x5cef62=_0x494bb3;_0x4fbf37['cmd']===_0x58f514[_0x5cef62(0x46e)]?this[_0x5cef62(0x15c)](_0x4fbf37):_0x4fbf37['cmd']===_0x58f514[_0x5cef62(0x299)]&&this[_0x5cef62(0x379)](_0x4fbf37);}[_0x494bb3(0x4a6)](_0x1b7609){const _0x464710=_0x494bb3;this[_0x464710(0x364)]['next'](0x1),_0x1b7609[_0x464710(0x424)]({'cmd':_0x58f514[_0x464710(0x46e)],'routeKey':this[_0x464710(0x42b)],'routeType':'','data':{'rooms':[{'roomID':this[_0x464710(0x42b)]}]}});}['_onJoinRoomEvent'](_0x1039da){const _0x2973b8=_0x494bb3;var _0x31e776;if(_0x1039da[_0x2973b8(0x3dd)]===_0x3f92ef[_0x2973b8(0x48a)]){this[_0x2973b8(0x2cc)]['show']({'type':_0x989dfe[_0x2973b8(0x5f0)][_0x2973b8(0x225)],'content':this[_0x2973b8(0x26e)]['t'](_0x2973b8(0x394))}),this[_0x2973b8(0x364)][_0x2973b8(0x5dd)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x192a37=(_0x31e776=_0x1039da[_0x2973b8(0x5a3)][_0x2973b8(0x24d)][this[_0x2973b8(0x42b)]])==null?void 0x0:_0x31e776[_0x2973b8(0x3e9)];_0x192a37&&_0x192a37[_0x2973b8(0x5e8)](_0x3d3480=>this[_0x2973b8(0x32d)][_0x2973b8(0x507)](this[_0x2973b8(0x42b)],_0x3d3480));}['_onRecvEvent'](_0x1932d9){const _0x14ba12=_0x494bb3;try{const _0x2d39eb=_0x1932d9[_0x14ba12(0x5a3)];switch(_0x2d39eb['eventID']){case _0x4d11e3[_0x14ba12(0x213)][_0x14ba12(0x19c)]:this[_0x14ba12(0x5e1)](_0x2d39eb),this[_0x14ba12(0x395)][_0x14ba12(0x5dd)](_0x2d39eb);break;case _0x4d11e3[_0x14ba12(0x213)]['USERS_LEAVE']:this[_0x14ba12(0x1f6)](_0x2d39eb),this['_event$'][_0x14ba12(0x5dd)](_0x2d39eb);break;case _0x4d11e3[_0x14ba12(0x213)][_0x14ba12(0x318)]:case _0x4d11e3[_0x14ba12(0x213)][_0x14ba12(0x529)]:this[_0x14ba12(0x45b)](),this[_0x14ba12(0x564)](),this['_event$']['next'](_0x2d39eb);break;case _0x4d11e3[_0x14ba12(0x213)][_0x14ba12(0x31f)]:this[_0x14ba12(0x3f5)][_0x14ba12(0x35a)](_0x14ba12(0x28f)+JSON[_0x14ba12(0x58b)](_0x2d39eb)),this['_event$'][_0x14ba12(0x5dd)](_0x2d39eb);break;case _0x4d11e3[_0x14ba12(0x213)][_0x14ba12(0x4e7)]:this[_0x14ba12(0x25f)][_0x14ba12(0x41c)](_0x2d39eb[_0x14ba12(0x5a3)]),this[_0x14ba12(0x395)]['next'](_0x2d39eb);break;default:this[_0x14ba12(0x395)][_0x14ba12(0x5dd)](_0x2d39eb);}}catch(_0x19b8bb){this['_logService'][_0x14ba12(0x35a)](_0x19b8bb,_0x1932d9);}}[_0x494bb3(0x5e1)](_0x3bc893){const _0x31ebcb=_0x494bb3;this[_0x31ebcb(0x32d)]['updateMember'](this[_0x31ebcb(0x42b)],_0x3bc893[_0x31ebcb(0x5a3)]);}[_0x494bb3(0x1f6)](_0x3a5619){const _0x152ee4=_0x494bb3;this[_0x152ee4(0x32d)][_0x152ee4(0x218)](this['_unitID'],_0x3a5619[_0x152ee4(0x5a3)][_0x152ee4(0x550)]);}async[_0x494bb3(0x424)](_0x6d0633,_0x274748){const _0x4796bf=_0x494bb3;if(this['sessionStatus']!==0x3||!this[_0x4796bf(0x4e9)])throw new Error(_0x4796bf(0x328));try{_0x6d0633[_0x4796bf(0x383)]===_0x4d11e3['CollaborationEvent'][_0x4796bf(0x39d)]&&(this[_0x4796bf(0x1ec)](),this[_0x4796bf(0x575)](_0x6d0633)),this[_0x4796bf(0x4e9)][_0x4796bf(0x424)]({'cmd':_0x58f514[_0x4796bf(0x450)],'routeKey':_0x274748,'routeType':'','data':_0x6d0633});}catch(_0x3bfd5b){this[_0x4796bf(0x3f5)][_0x4796bf(0x35a)](_0x3bfd5b);}}['_scheduleCollaborationTimeoutTimer'](){const _0xde8d33=_0x494bb3;var _0x2b4323;this[_0xde8d33(0x261)]=window['setTimeout'](()=>{const _0x4ff260=_0xde8d33;this[_0x4ff260(0x261)]=null,this[_0x4ff260(0x2cc)][_0x4ff260(0x478)]({'type':_0x989dfe[_0x4ff260(0x5f0)]['Error'],'content':this[_0x4ff260(0x26e)]['t'](_0x4ff260(0x52d))});},(_0x2b4323=this['_configService'][_0xde8d33(0x19a)](_0x1c1612))!=null?_0x2b4323:0x4e20);}[_0x494bb3(0x564)](){const _0x642984=_0x494bb3;this[_0x642984(0x261)]&&(clearTimeout(this[_0x642984(0x261)]),this[_0x642984(0x261)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x4b1d57){const _0x296c29=_0x494bb3;if(!this['_shouldReportTelemetry'])return;const {data:_0x43029a}=_0x4b1d57,{unitID:_0x3071da,changeset:_0xf2fedd}=_0x43029a,{mutations:_0x5da696,type:_0x462866}=_0xf2fedd;this[_0x296c29(0x3c2)]={'unitId':_0x3071da,'type':_0x462866,'startTime':performance[_0x296c29(0x280)](),'stopTime':0x0,'duration':0x0,'size':_0x23fb7d(_0x5da696)};}[_0x494bb3(0x45b)](){const _0x19900f=_0x494bb3;if(this['_shouldReportTelemetry']){if(!this[_0x19900f(0x3c2)]){this[_0x19900f(0x3f5)][_0x19900f(0x35a)](_0x19900f(0x2f2),_0x19900f(0x391));return;}this[_0x19900f(0x3c2)][_0x19900f(0x348)]=performance[_0x19900f(0x280)](),this[_0x19900f(0x3c2)][_0x19900f(0x34a)]=this[_0x19900f(0x3c2)]['stopTime']-this[_0x19900f(0x3c2)][_0x19900f(0x358)],this[_0x19900f(0x417)][_0x19900f(0x5b4)](_0x50ad6b,this[_0x19900f(0x3c2)]),this[_0x19900f(0x3c2)]=null;}}[_0x494bb3(0x2c0)](){const _0x511677=_0x494bb3;this[_0x511677(0x3c2)]=null;}},_0x38d423['CollaborationSession']=_0x1604aa([_0x4fc36a(0x2,_0x5a20c3[_0x494bb3(0x494)]),_0x4fc36a(0x3,_0x33d470[_0x494bb3(0x3e1)]),_0x4fc36a(0x4,_0x33d470[_0x494bb3(0x454)]),_0x4fc36a(0x5,_0x5a20c3['IConfigService']),_0x4fc36a(0x6,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x439)])),_0x4fc36a(0x7,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x30c)])),_0x4fc36a(0x8,_0x5a20c3[_0x494bb3(0x57c)](_0x1cf212)),_0x4fc36a(0x9,_0x5a20c3[_0x494bb3(0x59d)](_0x2e1b9e['ITelemetryService']))],_0x38d423[_0x494bb3(0x3b1)]);var _0x1d985d=Object[_0x494bb3(0x5f8)],_0xcd6206=Object[_0x494bb3(0x51e)],_0x2a3ea9=(_0x4a17c8,_0x39b2a5,_0x417659,_0x37b1a9)=>{const _0x55fc3a=_0x494bb3;for(var _0x43edc6=_0x37b1a9>0x1?void 0x0:_0x37b1a9?_0xcd6206(_0x39b2a5,_0x417659):_0x39b2a5,_0xd7755d=_0x4a17c8[_0x55fc3a(0x5aa)]-0x1,_0x38b24f;_0xd7755d>=0x0;_0xd7755d--)(_0x38b24f=_0x4a17c8[_0xd7755d])&&(_0x43edc6=(_0x37b1a9?_0x38b24f(_0x39b2a5,_0x417659,_0x43edc6):_0x38b24f(_0x43edc6))||_0x43edc6);return _0x37b1a9&&_0x43edc6&&_0x1d985d(_0x39b2a5,_0x417659,_0x43edc6),_0x43edc6;},_0x3f44e6=(_0x40efb8,_0xa24ef6)=>(_0x78ea44,_0x54ebdc)=>_0xa24ef6(_0x78ea44,_0x54ebdc,_0x40efb8);_0x38d423[_0x494bb3(0x1a9)]=class extends _0x5a20c3[_0x494bb3(0x1c9)]{constructor(_0x302936,_0x206269,_0x241d8d,_0xb59638,_0x43c81d,_0x922d70){const _0x3b96a7=_0x494bb3;super(),_0x3ed524(this,_0x3b96a7(0x3eb),new _0x32bae4[(_0x3b96a7(0x55c))](void 0x0)),_0x3ed524(this,'socket$',this[_0x3b96a7(0x3eb)][_0x3b96a7(0x4fe)]()),_0x3ed524(this,_0x3b96a7(0x2c9),null),_0x3ed524(this,_0x3b96a7(0x17f),new Map()),_0x3ed524(this,_0x3b96a7(0x447),new _0x32bae4[(_0x3b96a7(0x55c))](_0x5f2a52[_0x3b96a7(0x177)])),_0x3ed524(this,_0x3b96a7(0x5e2),this[_0x3b96a7(0x447)][_0x3b96a7(0x4fe)]()),_0x3ed524(this,_0x3b96a7(0x3ff),!0x1),_0x3ed524(this,_0x3b96a7(0x445)),_0x3ed524(this,_0x3b96a7(0x607),0x0),_0x3ed524(this,'_sendHeartbeatTimer'),_0x3ed524(this,_0x3b96a7(0x5ee)),(this[_0x3b96a7(0x221)]=_0x302936,this['_localeService']=_0x206269,this[_0x3b96a7(0x2cc)]=_0x241d8d,this['_logService']=_0xb59638,this[_0x3b96a7(0x1f1)]=_0x43c81d,this['_socketService']=_0x922d70,this[_0x3b96a7(0x4b6)]());}get['_socket'](){const _0x25b2b8=_0x494bb3;return this[_0x25b2b8(0x3eb)]['getValue']();}['_initEventListeners'](){const _0xe03831=_0x494bb3;this[_0xe03831(0x26f)](),this[_0xe03831(0x32f)]();}[_0x494bb3(0x173)](){const _0xde2d5a=_0x494bb3;super['dispose'](),this[_0xde2d5a(0x17f)][_0xde2d5a(0x5e8)](_0x54c9c0=>_0x54c9c0[_0xde2d5a(0x173)]()),this[_0xde2d5a(0x17f)][_0xde2d5a(0x366)](),this[_0xde2d5a(0x447)][_0xde2d5a(0x548)]();}async[_0x494bb3(0x3b7)](_0x3cf6a6){const _0x18f3f0=_0x494bb3;if(this[_0x18f3f0(0x17f)][_0x18f3f0(0x4a3)](_0x3cf6a6))return this[_0x18f3f0(0x17f)][_0x18f3f0(0x537)](_0x3cf6a6);this[_0x18f3f0(0x1e3)]();const _0x2ebe65=this[_0x18f3f0(0x221)][_0x18f3f0(0x566)](_0x38d423[_0x18f3f0(0x3b1)],_0x3cf6a6,this[_0x18f3f0(0x3eb)][_0x18f3f0(0x4fe)]());return this[_0x18f3f0(0x17f)][_0x18f3f0(0x33d)](_0x3cf6a6,_0x2ebe65),_0x2ebe65;}['closeSession'](_0x1ff613){const _0x50fa42=_0x494bb3;var _0x5684b2;const _0x39da7c=this['_sessions'][_0x50fa42(0x537)](_0x1ff613);_0x39da7c&&(this['_sessions']['delete'](_0x1ff613),_0x39da7c[_0x50fa42(0x1a0)]()),this[_0x50fa42(0x17f)][_0x50fa42(0x23e)]||(_0x5684b2=this[_0x50fa42(0x4e9)])==null||_0x5684b2[_0x50fa42(0x1a0)]();}[_0x494bb3(0x5bc)](){const _0x4f9d00=_0x494bb3;this[_0x4f9d00(0x607)]=0x0,this[_0x4f9d00(0x445)]!=null&&(clearTimeout(this[_0x4f9d00(0x445)]),this[_0x4f9d00(0x445)]=null),this[_0x4f9d00(0x27e)]();}[_0x494bb3(0x558)](){const _0x4e8644=_0x494bb3;var _0x32baba,_0x2f7a48;const _0x20ab09=this[_0x4e8644(0x1f1)][_0x4e8644(0x19a)](_0x4420d6),_0x164a14=this[_0x4e8644(0x1f1)][_0x4e8644(0x19a)](_0x59eaf6),_0x392933=(_0x2f7a48=(_0x32baba=_0x164a14==null?void 0x0:_0x164a14['collabWebSocketUrl'])!=null?_0x32baba:_0x20ab09)!=null?_0x2f7a48:_0x575f6c,_0x540a5a=this[_0x4e8644(0x1fe)]['createSocket'](_0x392933);return this[_0x4e8644(0x2c9)]=_0x540a5a,_0x540a5a;}['_tryEnsureSocket'](){const _0x2b0812=_0x494bb3;var _0x99d7fc,_0x55a001;try{const _0x35f96d=(_0x55a001=(_0x99d7fc=this[_0x2b0812(0x4e9)])!=null?_0x99d7fc:this[_0x2b0812(0x2c9)])!=null?_0x55a001:this[_0x2b0812(0x558)]();if(_0x35f96d){const _0x3dafd7=_0x35f96d['send'];_0x35f96d[_0x2b0812(0x424)]=_0x1fe96d=>(this['_rescheduleHeartbeat'](),_0x3dafd7['apply'](_0x35f96d,[_0x1fe96d])),_0x35f96d[_0x2b0812(0x608)][_0x2b0812(0x38d)](_0x21a646=>this[_0x2b0812(0x4f4)](_0x35f96d,_0x21a646)),_0x35f96d['error$'][_0x2b0812(0x1d4)](_0x51e720['take'](0x1))[_0x2b0812(0x38d)](_0x3d7195=>this[_0x2b0812(0x3f5)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x3d7195)),_0x35f96d[_0x2b0812(0x428)][_0x2b0812(0x1d4)](_0x51e720[_0x2b0812(0x5d8)](0x1))[_0x2b0812(0x38d)](()=>{const _0x4be68b=_0x2b0812;this[_0x4be68b(0x42d)](_0x35f96d);}),_0x35f96d[_0x2b0812(0x180)][_0x2b0812(0x1d4)](_0x51e720['take'](0x1))[_0x2b0812(0x38d)](_0x4ae39e=>{const _0x5c2aaa=_0x2b0812;this[_0x5c2aaa(0x3f5)][_0x5c2aaa(0x1b0)](_0x5c2aaa(0x240),_0x5c2aaa(0x339),_0x4ae39e),this[_0x5c2aaa(0x362)]();});}}catch(_0x5df5b2){this[_0x2b0812(0x3f5)][_0x2b0812(0x35a)](_0x5df5b2),this[_0x2b0812(0x362)]();}}[_0x494bb3(0x42d)](_0x23cf95){const _0x90d5c5=_0x494bb3;this[_0x90d5c5(0x3f5)][_0x90d5c5(0x1b0)](_0x90d5c5(0x240),_0x90d5c5(0x3f0)),_0x23cf95['send']({'cmd':_0x58f514[_0x90d5c5(0x4fb)]}),this['_rescheduleHeartbeat']();}[_0x494bb3(0x26f)](){const _0x106b8f=_0x494bb3;window[_0x106b8f(0x4e2)](_0x106b8f(0x333),()=>this['_onOffline']());}[_0x494bb3(0x16b)](){const _0x360b31=_0x494bb3;this['_socketReady']=!0x1,this[_0x360b31(0x2c9)]=null,this['_status$'][_0x360b31(0x5dd)](_0x5f2a52[_0x360b31(0x1de)]),this['_socket$']['next'](null),this['_clearTimeoutTimer'](),this[_0x360b31(0x24a)]();}['_onConnectionFailed'](){const _0x1b3c29=_0x494bb3;var _0x2f7357;this[_0x1b3c29(0x16b)](),this[_0x1b3c29(0x607)]<((_0x2f7357=this[_0x1b3c29(0x1f1)][_0x1b3c29(0x19a)](_0x28861a))!=null?_0x2f7357:0x3)?(this[_0x1b3c29(0x2cc)][_0x1b3c29(0x478)]({'key':_0x1b3c29(0x162),'type':_0x989dfe['MessageType'][_0x1b3c29(0x225)],'content':this[_0x1b3c29(0x26e)]['t'](_0x1b3c29(0x216))}),this[_0x1b3c29(0x27e)]()):this['_messageService']['show']({'key':_0x1b3c29(0x162),'type':_0x989dfe[_0x1b3c29(0x5f0)]['Error'],'content':this[_0x1b3c29(0x26e)]['t'](_0x1b3c29(0x342))});}['_listenToOnlineEvent'](){const _0x55d911=_0x494bb3,_0x2d6955=()=>{const _0xd72d6c=_0x50cf;this[_0xd72d6c(0x4e9)]||this[_0xd72d6c(0x5bc)]();},_0x4a8018=()=>{const _0x35890c=_0x50cf;this['_socket']||document[_0x35890c(0x3ab)]===_0x35890c(0x592)||this[_0x35890c(0x5bc)]();};window[_0x55d911(0x4e2)](_0x55d911(0x386),_0x2d6955),document[_0x55d911(0x4e2)](_0x55d911(0x370),_0x4a8018);}['_tryReconnect'](){const _0x47f49f=_0x494bb3;var _0x27806b;const _0x12eeac=this[_0x47f49f(0x607)],_0x3976c0=this['_configService'][_0x47f49f(0x19a)](_0x59eaf6),_0x15f884=_0x12eeac===0x0?0x0:((_0x27806b=_0x3976c0==null?void 0x0:_0x3976c0[_0x47f49f(0x208)])!=null?_0x27806b:0x4e20)*0x2**_0x12eeac;this[_0x47f49f(0x445)]=window[_0x47f49f(0x4c3)](()=>{const _0x5ae4ac=_0x47f49f;clearTimeout(this[_0x5ae4ac(0x445)]),this[_0x5ae4ac(0x445)]=null,this[_0x5ae4ac(0x1e3)]();},_0x15f884),this['_retryCount']+=0x1;}[_0x494bb3(0x4f4)](_0x9b5422,_0xf27e18){const _0x55d409=_0x494bb3,{cmd:_0x56c3b6}=_0xf27e18;_0x56c3b6===_0x58f514[_0x55d409(0x4fb)]&&!this[_0x55d409(0x3ff)]&&(_0x9b5422[_0x55d409(0x550)]=_0xf27e18[_0x55d409(0x5a3)]['memberID'],this[_0x55d409(0x3eb)]['next'](_0x9b5422),this[_0x55d409(0x447)]['next'](_0x5f2a52[_0x55d409(0x5c1)]),this['_socketReady']=!0x0,this[_0x55d409(0x2c9)]=null),_0x56c3b6===_0x58f514[_0x55d409(0x359)]&&this[_0x55d409(0x484)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){const _0xbcc1a=_0x494bb3;var _0x4f034b;this['_clearHeartbeatTimer'](),this[_0xbcc1a(0x215)]=window[_0xbcc1a(0x4c3)](()=>this[_0xbcc1a(0x501)](),(_0x4f034b=this[_0xbcc1a(0x1f1)][_0xbcc1a(0x19a)](_0x33903c))!=null?_0x4f034b:0x7530);}[_0x494bb3(0x501)](){const _0xcda6c8=_0x494bb3;this['_socket'][_0xcda6c8(0x424)]({'cmd':_0x58f514[_0xcda6c8(0x359)]}),this[_0xcda6c8(0x2bd)]();}[_0x494bb3(0x2bd)](){const _0x53b3c3=_0x494bb3;var _0xc56304;this[_0x53b3c3(0x5ee)]=window['setTimeout'](()=>this['_onConnectionFailed'](),(_0xc56304=this[_0x53b3c3(0x1f1)]['getConfig'](_0x1c1612))!=null?_0xc56304:0x4e20);}[_0x494bb3(0x24a)](){const _0x512dd5=_0x494bb3;this[_0x512dd5(0x215)]!=null&&(clearTimeout(this[_0x512dd5(0x215)]),this[_0x512dd5(0x215)]=null);}[_0x494bb3(0x484)](){const _0x2b34a3=_0x494bb3;this[_0x2b34a3(0x5ee)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x2b34a3(0x5ee)]=null);}},_0x38d423['CollaborationSessionService']=_0x2a3ea9([_0x3f44e6(0x0,_0x5a20c3['Inject'](_0x5a20c3[_0x494bb3(0x596)])),_0x3f44e6(0x1,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x439)])),_0x3f44e6(0x2,_0x33d470[_0x494bb3(0x454)]),_0x3f44e6(0x3,_0x5a20c3[_0x494bb3(0x494)]),_0x3f44e6(0x4,_0x5a20c3[_0x494bb3(0x175)]),_0x3f44e6(0x5,_0x45677d)],_0x38d423[_0x494bb3(0x1a9)]);for(var _0x4ee988=[],_0x5cddea=0x0;_0x5cddea<0x100;++_0x5cddea)_0x4ee988[_0x494bb3(0x196)]((_0x5cddea+0x100)[_0x494bb3(0x283)](0x10)[_0x494bb3(0x502)](0x1));function _0x298feb(_0x2d73b7,_0x12bec1=0x0){const _0x2e3767=_0x494bb3;return(_0x4ee988[_0x2d73b7[_0x12bec1+0x0]]+_0x4ee988[_0x2d73b7[_0x12bec1+0x1]]+_0x4ee988[_0x2d73b7[_0x12bec1+0x2]]+_0x4ee988[_0x2d73b7[_0x12bec1+0x3]]+'-'+_0x4ee988[_0x2d73b7[_0x12bec1+0x4]]+_0x4ee988[_0x2d73b7[_0x12bec1+0x5]]+'-'+_0x4ee988[_0x2d73b7[_0x12bec1+0x6]]+_0x4ee988[_0x2d73b7[_0x12bec1+0x7]]+'-'+_0x4ee988[_0x2d73b7[_0x12bec1+0x8]]+_0x4ee988[_0x2d73b7[_0x12bec1+0x9]]+'-'+_0x4ee988[_0x2d73b7[_0x12bec1+0xa]]+_0x4ee988[_0x2d73b7[_0x12bec1+0xb]]+_0x4ee988[_0x2d73b7[_0x12bec1+0xc]]+_0x4ee988[_0x2d73b7[_0x12bec1+0xd]]+_0x4ee988[_0x2d73b7[_0x12bec1+0xe]]+_0x4ee988[_0x2d73b7[_0x12bec1+0xf]])[_0x2e3767(0x2ec)]();}var _0x305028,_0x32d3da=new Uint8Array(0x10);function _0x51cc80(){const _0x2292e4=_0x494bb3;if(!_0x305028&&(_0x305028=typeof crypto<'u'&&crypto[_0x2292e4(0x289)]&&crypto[_0x2292e4(0x289)][_0x2292e4(0x2d8)](crypto),!_0x305028))throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');return _0x305028(_0x32d3da);}var _0x1d8736=typeof crypto<'u'&&crypto[_0x494bb3(0x179)]&&crypto[_0x494bb3(0x179)][_0x494bb3(0x2d8)](crypto);const _0x2a1f68={'randomUUID':_0x1d8736};function _0x4c4aaa(_0x442b92,_0xcf416,_0x5b403c){const _0x487a0d=_0x494bb3;if(_0x2a1f68[_0x487a0d(0x179)]&&!_0xcf416&&!_0x442b92)return _0x2a1f68[_0x487a0d(0x179)]();_0x442b92=_0x442b92||{};var _0x3502c1=_0x442b92[_0x487a0d(0x182)]||(_0x442b92[_0x487a0d(0x587)]||_0x51cc80)();return _0x3502c1[0x6]=_0x3502c1[0x6]&0xf|0x40,_0x3502c1[0x8]=_0x3502c1[0x8]&0x3f|0x80,_0x298feb(_0x3502c1);}var _0x2916ba=Object[_0x494bb3(0x5f8)],_0x3bc5a7=Object[_0x494bb3(0x51e)],_0x33720f=(_0x17ab14,_0xb65179,_0x5670f4,_0x3a7782)=>{for(var _0x482f6b=_0x3a7782>0x1?void 0x0:_0x3a7782?_0x3bc5a7(_0xb65179,_0x5670f4):_0xb65179,_0xb6d1f4=_0x17ab14['length']-0x1,_0x13b59e;_0xb6d1f4>=0x0;_0xb6d1f4--)(_0x13b59e=_0x17ab14[_0xb6d1f4])&&(_0x482f6b=(_0x3a7782?_0x13b59e(_0xb65179,_0x5670f4,_0x482f6b):_0x13b59e(_0x482f6b))||_0x482f6b);return _0x3a7782&&_0x482f6b&&_0x2916ba(_0xb65179,_0x5670f4,_0x482f6b),_0x482f6b;},_0x3902a6=(_0x40652d,_0x3a8a19)=>(_0x4e7326,_0x110f79)=>_0x3a8a19(_0x4e7326,_0x110f79,_0x40652d);let _0x11a9c0=class{constructor(_0x2dc2d5,_0x3c2632,_0xec89e7){const _0x45c782=_0x494bb3;this[_0x45c782(0x221)]=_0x2dc2d5,this[_0x45c782(0x241)]=_0x3c2632,this[_0x45c782(0x257)]=_0xec89e7;}[_0x494bb3(0x5fb)](_0x29c0e7){const _0x1461a8=_0x494bb3;this[_0x1461a8(0x238)](_0x29c0e7),this['_transformPreviousActiveRange'](_0x29c0e7);}[_0x494bb3(0x460)](_0x32d0fe){const _0x316548=_0x494bb3,{unitID:_0x384a86}=_0x32d0fe,_0x30d13a=this[_0x316548(0x257)][_0x316548(0x5da)](_0x384a86)['with'](_0xe07534['DocIMEInputManagerService']),{redoCache:_0xfaa893}=_0x30d13a['getUndoRedoMutationParamsCache']();if(_0xfaa893[_0x316548(0x5aa)]===0x0)return _0x32d0fe;let _0x89a123=_0x5a20c3['Tools'][_0x316548(0x5e3)](_0x32d0fe[_0x316548(0x341)][0x0]);for(let _0x847f70=0x0;_0x847f70<_0xfaa893[_0x316548(0x5aa)];_0x847f70++){const _0x463fc0={'id':_0x316548(0x1b8),'params':{..._0xfaa893[_0x847f70]}},_0x5d7577=this[_0x316548(0x241)][_0x316548(0x5d4)](_0x89a123,_0x463fc0,!0x1);if(_0x4d11e3[_0x316548(0x40d)](_0x5d7577))throw _0x5d7577['error'];_0x89a123=_0x5d7577[_0x316548(0x5a9)];}return{..._0x5a20c3[_0x316548(0x5ad)]['deepClone'](_0x32d0fe),'mutations':[_0x89a123]};}[_0x494bb3(0x238)](_0xa3c84c){const _0x28d3f3=_0x494bb3,{unitID:_0x5394ac}=_0xa3c84c,_0x1ef618=this[_0x28d3f3(0x257)][_0x28d3f3(0x5da)](_0x5394ac)['with'](_0xe07534['DocIMEInputManagerService']),{undoCache:_0x3a0994,redoCache:_0x5bab01}=_0x1ef618['getUndoRedoMutationParamsCache']();if(_0x3a0994[_0x28d3f3(0x5aa)]===0x0||_0x5bab01[_0x28d3f3(0x5aa)]===0x0)return;const _0x54b300=[],_0x71677e=[];let _0x17d168=_0x5a20c3['Tools'][_0x28d3f3(0x5e3)](_0xa3c84c[_0x28d3f3(0x341)][0x0]),_0x272d9a=_0x5a20c3[_0x28d3f3(0x5ad)][_0x28d3f3(0x5e3)](_0xa3c84c[_0x28d3f3(0x341)][0x0]);for(let _0x343cda=_0x3a0994[_0x28d3f3(0x5aa)]-0x1;_0x343cda>=0x0;_0x343cda--){const _0x4552b1={'id':'doc.mutation.rich-text-editing','params':{..._0x3a0994[_0x343cda]}},_0x1420da={'id':_0x28d3f3(0x1b8),'params':{..._0x5bab01[_0x343cda]}},_0x29baee=this[_0x28d3f3(0x241)][_0x28d3f3(0x5d4)](_0x17d168,_0x4552b1,!0x1),_0x5dc6cc=this[_0x28d3f3(0x241)]['transformMutation'](_0x272d9a,_0x1420da,!0x1);if(_0x4d11e3[_0x28d3f3(0x40d)](_0x29baee))throw _0x29baee['error'];if(_0x4d11e3['isTransformMutationFailure'](_0x5dc6cc))throw _0x5dc6cc[_0x28d3f3(0x35a)];_0x54b300[_0x28d3f3(0x55a)](_0x29baee[_0x28d3f3(0x3fd)][_0x28d3f3(0x542)]),_0x71677e[_0x28d3f3(0x55a)](_0x5dc6cc[_0x28d3f3(0x3fd)][_0x28d3f3(0x542)]),_0x17d168=_0x29baee[_0x28d3f3(0x5a9)],_0x272d9a=_0x5dc6cc[_0x28d3f3(0x5a9)];}_0x1ef618[_0x28d3f3(0x42c)]({'undoCache':_0x54b300,'redoCache':_0x71677e});}[_0x494bb3(0x314)](_0xff2eb3){const _0x5c86b0=_0x494bb3,{unitID:_0x353545}=_0xff2eb3,_0x2b2fbd=this[_0x5c86b0(0x257)][_0x5c86b0(0x5da)](_0x353545)[_0x5c86b0(0x16d)](_0xe07534['DocIMEInputManagerService']),_0x12ae45=_0x2b2fbd[_0x5c86b0(0x2d3)]();if(_0x12ae45==null)return;const _0x419b64=[{'id':_0x5c86b0(0x1b8),'params':{'unitId':_0xff2eb3[_0x5c86b0(0x39f)],'actions':null,'textRanges':[_0x12ae45]}}],_0x32b0b7=this[_0x5c86b0(0x241)][_0x5c86b0(0x381)](_0xff2eb3,_0x419b64);if(!_0x4d11e3[_0x5c86b0(0x292)](_0x32b0b7))throw _0x32b0b7['error'];const _0x23183c=_0x32b0b7[_0x5c86b0(0x3fd)][0x0][_0x5c86b0(0x542)][_0x5c86b0(0x561)];Array[_0x5c86b0(0x557)](_0x23183c)&&_0x23183c[_0x5c86b0(0x5aa)]&&_0x2b2fbd[_0x5c86b0(0x387)](_0x23183c[0x0]);}};_0x11a9c0=_0x33720f([_0x3902a6(0x0,_0x5a20c3['Inject'](_0x5a20c3[_0x494bb3(0x596)])),_0x3902a6(0x1,_0x4d11e3[_0x494bb3(0x49f)]),_0x3902a6(0x2,_0x5c31a6[_0x494bb3(0x1fb)])],_0x11a9c0);var _0x5d0ea1=Object['defineProperty'],_0x105011=Object['getOwnPropertyDescriptor'],_0x112aa2=(_0x38bf4f,_0x452ac4,_0x3cb0cb,_0x38e531)=>{const _0x209c58=_0x494bb3;for(var _0x39b24f=_0x38e531>0x1?void 0x0:_0x38e531?_0x105011(_0x452ac4,_0x3cb0cb):_0x452ac4,_0x2ea979=_0x38bf4f[_0x209c58(0x5aa)]-0x1,_0x48cb7d;_0x2ea979>=0x0;_0x2ea979--)(_0x48cb7d=_0x38bf4f[_0x2ea979])&&(_0x39b24f=(_0x38e531?_0x48cb7d(_0x452ac4,_0x3cb0cb,_0x39b24f):_0x48cb7d(_0x39b24f))||_0x39b24f);return _0x38e531&&_0x39b24f&&_0x5d0ea1(_0x452ac4,_0x3cb0cb,_0x39b24f),_0x39b24f;},_0x45fa0a=(_0xc805f5,_0xcdc7c4)=>(_0x2ce282,_0x154581)=>_0xcdc7c4(_0x2ce282,_0x154581,_0xc805f5);_0x38d423['LocalCacheService']=class extends _0x5a20c3['Disposable']{constructor(_0x49268b,_0x844509,_0x10ea34,_0x44235b,_0x4623dd){const _0xad9014=_0x494bb3;super(),_0x3ed524(this,'_cachedData',new Map()),_0x3ed524(this,_0xad9014(0x43f),new Map()),_0x3ed524(this,_0xad9014(0x214),!0x1),(this[_0xad9014(0x1f1)]=_0x49268b,this[_0xad9014(0x243)]=_0x844509,this[_0xad9014(0x2e9)]=_0x10ea34,this[_0xad9014(0x26e)]=_0x44235b,this[_0xad9014(0x4bd)]=_0x4623dd,this[_0xad9014(0x2c1)]());}[_0x494bb3(0x35b)](){this['_disabled']=!0x0;}[_0x494bb3(0x4f2)](){const _0x4b9640=_0x494bb3;this[_0x4b9640(0x214)]=!0x1;}[_0x494bb3(0x173)](){const _0x5df05f=_0x494bb3;this[_0x5df05f(0x4cb)]()[_0x5df05f(0x1ee)](()=>super[_0x5df05f(0x173)]());}async[_0x494bb3(0x23d)](_0x2e8525){const _0x13308e=_0x494bb3;return this[_0x13308e(0x214)]?null:this[_0x13308e(0x243)][_0x13308e(0x5a4)](_0x13551c(_0x2e8525));}async[_0x494bb3(0x41f)](_0x4aa5d4,_0x1201d1){const _0x1564bc=_0x494bb3;return!!this[_0x1564bc(0x243)]['setItem'](_0x4aa5d4,_0x1201d1);}[_0x494bb3(0x3d9)](_0x30aafe,_0x16f357,_0x2a91b4,_0x2a4478){const _0x425389=_0x494bb3,_0x156a89=this['_revisionService'][_0x425389(0x21f)](_0x30aafe);this[_0x425389(0x2b6)][_0x425389(0x33d)](_0x30aafe,{'unitID':_0x30aafe,'type':_0x16f357,'awaitingChangeset':_0x2a91b4,'mutations':_0x2a4478,'rev':_0x156a89}),this['_saveTaskMap']['has'](_0x30aafe)||this['_scheduleSaving'](_0x30aafe);}[_0x494bb3(0x3a0)](_0xa77701){const _0x2cc9e9=_0x494bb3,_0x13092f=this[_0x2cc9e9(0x23c)]();_0x13092f===0x0?this['_saveCache'](_0xa77701):this[_0x2cc9e9(0x43f)][_0x2cc9e9(0x33d)](_0xa77701,setTimeout(()=>this[_0x2cc9e9(0x2fc)](_0xa77701),_0x13092f));}[_0x494bb3(0x23c)](){var _0x2a7188;return(_0x2a7188=this['_configService']['getConfig'](_0x2a600b))!=null?_0x2a7188:0x3e8;}['_saveCache'](_0x1d046b){const _0x462172=_0x494bb3,_0x361524=this[_0x462172(0x43f)][_0x462172(0x537)](_0x1d046b);return _0x361524!==void 0x0&&window[_0x462172(0x2e6)](_0x361524),this[_0x462172(0x243)][_0x462172(0x5a7)](_0x13551c(_0x1d046b),this[_0x462172(0x2b6)][_0x462172(0x537)](_0x1d046b))[_0x462172(0x1ee)](()=>this[_0x462172(0x43f)][_0x462172(0x43d)](_0x1d046b));}async[_0x494bb3(0x4cb)](){const _0x21a9f1=_0x494bb3,_0x3e7470=[];this[_0x21a9f1(0x43f)]['forEach']((_0x2cfb87,_0x2df78f)=>{const _0x3b399e=_0x21a9f1;window[_0x3b399e(0x2e6)](_0x2cfb87),_0x3e7470[_0x3b399e(0x196)](this[_0x3b399e(0x2fc)](_0x2df78f)['then'](()=>{const _0x1542e4=_0x3b399e;this[_0x1542e4(0x43f)][_0x1542e4(0x43d)](_0x2df78f);}));}),await Promise['all'](_0x3e7470);}[_0x494bb3(0x2c1)](){const _0x4ce775=_0x494bb3;this[_0x4ce775(0x385)](this[_0x4ce775(0x2e9)][_0x4ce775(0x26a)](()=>{const _0x196797=_0x4ce775;if(this[_0x196797(0x43f)][_0x196797(0x23e)])return this[_0x196797(0x26e)]['t']('collaboration-client.offline-data-not-saved');}));}},_0x38d423[_0x494bb3(0x1ca)]=_0x112aa2([_0x45fa0a(0x0,_0x5a20c3[_0x494bb3(0x175)]),_0x45fa0a(0x1,_0x5a20c3['ILocalStorageService']),_0x45fa0a(0x2,_0x33d470[_0x494bb3(0x3e1)]),_0x45fa0a(0x3,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x439)])),_0x45fa0a(0x4,_0x5a20c3['Inject'](_0x4d11e3[_0x494bb3(0x3ae)]))],_0x38d423[_0x494bb3(0x1ca)]);function _0x13551c(_0x5f5de4){const _0x342223=_0x494bb3;return _0x342223(0x25e)+_0x5f5de4;}var _0x321568=Object[_0x494bb3(0x5f8)],_0x5d6219=Object['getOwnPropertyDescriptor'],_0x3997b3=(_0x560352,_0x1bf15b,_0x3c7115,_0x423735)=>{const _0x20293f=_0x494bb3;for(var _0x5818e0=_0x423735>0x1?void 0x0:_0x423735?_0x5d6219(_0x1bf15b,_0x3c7115):_0x1bf15b,_0x375c28=_0x560352[_0x20293f(0x5aa)]-0x1,_0xfa469c;_0x375c28>=0x0;_0x375c28--)(_0xfa469c=_0x560352[_0x375c28])&&(_0x5818e0=(_0x423735?_0xfa469c(_0x1bf15b,_0x3c7115,_0x5818e0):_0xfa469c(_0x5818e0))||_0x5818e0);return _0x423735&&_0x5818e0&&_0x321568(_0x1bf15b,_0x3c7115,_0x5818e0),_0x5818e0;},_0x1e055e=(_0x4d079e,_0x41c5ed)=>(_0x317682,_0x484f18)=>_0x41c5ed(_0x317682,_0x484f18,_0x4d079e);function _0x1de637(_0x5b5413){const _0x4ab131=_0x494bb3,{unitID:_0xe03935,mutations:_0x20a31f}=_0x5b5413;return{'unitId':_0xe03935,'subUnitId':_0x20a31f[0x0][_0x4ab131(0x542)][_0x4ab131(0x3de)]};}let _0x47f26b=class{constructor(_0x57ea79,_0x25c953,_0x49f01c){const _0x5dbaa8=_0x494bb3;this[_0x5dbaa8(0x221)]=_0x57ea79,this[_0x5dbaa8(0x241)]=_0x25c953,this['_instanceService']=_0x49f01c;}[_0x494bb3(0x53d)](_0x1812fc){const _0x1fedfe=_0x494bb3;var _0x38aba6,_0x265ea9,_0x400960,_0x387b2;const _0x4e518e=this['_injector'][_0x1fedfe(0x537)](_0x66e3f4[_0x1fedfe(0x3d6)]),{unitId:_0x2a79ac,subUnitId:_0x588983}=_0x1de637(_0x1812fc),_0x516235=_0x4e518e[_0x1fedfe(0x57a)](_0x2a79ac)['getCurrentSelections'](),_0x2adb6a=(_0x265ea9=(_0x38aba6=this['_instanceService']['getUnit'](_0x2a79ac))==null?void 0x0:_0x38aba6['getActiveSheet']())==null?void 0x0:_0x265ea9['getSheetId']();if(_0x516235['length']===0x0||!_0x2a79ac||!_0x588983)return;const _0x360b36=[{'id':_0x66e3f4[_0x1fedfe(0x1b9)]['id'],'params':{'unitId':_0x2a79ac,'subUnitId':_0x2adb6a,'selections':_0x5a20c3[_0x1fedfe(0x5ad)][_0x1fedfe(0x5e3)](_0x516235)}}],_0x176dfb=this[_0x1fedfe(0x241)][_0x1fedfe(0x381)](_0x1812fc,_0x360b36);if(!_0x4d11e3[_0x1fedfe(0x292)](_0x176dfb))throw _0x176dfb['error'];const _0x24608c=(_0x387b2=(_0x400960=_0x176dfb[_0x1fedfe(0x3fd)][0x0])==null?void 0x0:_0x400960[_0x1fedfe(0x542)])==null?void 0x0:_0x387b2[_0x1fedfe(0x466)];if(Array['isArray'](_0x24608c)&&_0x24608c['length']){if(_0x24608c[_0x1fedfe(0x5aa)]===_0x360b36[0x0][_0x1fedfe(0x542)][_0x1fedfe(0x466)][_0x1fedfe(0x5aa)]&&_0x24608c[_0x1fedfe(0x1a4)]((_0x50052f,_0x5a2b1f)=>_0x5a20c3['Rectangle'][_0x1fedfe(0x1aa)](_0x50052f[_0x1fedfe(0x4a5)],_0x360b36[0x0][_0x1fedfe(0x542)][_0x1fedfe(0x466)][_0x5a2b1f][_0x1fedfe(0x4a5)])))return;this[_0x1fedfe(0x221)][_0x1fedfe(0x537)](_0x5a20c3[_0x1fedfe(0x39a)])[_0x1fedfe(0x482)](_0x66e3f4['SetSelectionsOperation']['id'],{'unitId':_0x2a79ac,'subUnitId':_0x2adb6a,'selections':_0x24608c});}}};_0x47f26b=_0x3997b3([_0x1e055e(0x0,_0x5a20c3['Inject'](_0x5a20c3[_0x494bb3(0x596)])),_0x1e055e(0x1,_0x4d11e3[_0x494bb3(0x49f)]),_0x1e055e(0x2,_0x5a20c3[_0x494bb3(0x17e)])],_0x47f26b);const _0x104336=_0x5a20c3[_0x494bb3(0x224)](_0x494bb3(0x5ef));var _0x110671=(_0x346a52=>(_0x346a52[_0x346a52['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x494bb3(0x49e),_0x346a52[_0x346a52[_0x494bb3(0x18e)]=0x1]=_0x494bb3(0x18e),_0x346a52))(_0x110671||{});const _0x1b4e9b=0x7530,_0xb51205=_0x494bb3(0x4d7);class _0x1fe08a extends _0x5a20c3[_0x494bb3(0x1c9)]{constructor(){const _0x41eeb2=_0x494bb3;super(),_0x3ed524(this,_0x41eeb2(0x44e),_0x5a20c3['Tools'][_0x41eeb2(0x310)]()),_0x3ed524(this,_0x41eeb2(0x3ba),new Set()),_0x3ed524(this,_0x41eeb2(0x301),new Map()),_0x3ed524(this,_0x41eeb2(0x51a),null),_0x3ed524(this,_0x41eeb2(0x3b5),new Map()),_0x3ed524(this,'_unitStatus',new Map()),this[_0x41eeb2(0x298)]();}[_0x494bb3(0x173)](){const _0x10d550=_0x494bb3;super['dispose'](),this[_0x10d550(0x3b5)][_0x10d550(0x5e8)]((_0x19fe8b,_0x574247)=>this['_removeClearOtherTimer'](_0x574247)),this['_heartbeatTimer']&&window[_0x10d550(0x4e5)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x20e861){const _0x33f8bf=_0x494bb3;return this[_0x33f8bf(0x38f)](_0x20e861)[_0x33f8bf(0x1d4)](_0x32bae4['distinctUntilChanged']());}[_0x494bb3(0x355)](_0x4fa331){const _0x151245=_0x494bb3;this[_0x151245(0x3ba)][_0x151245(0x23e)]===0x0&&this[_0x151245(0x3e4)](),this[_0x151245(0x3ba)]['add'](_0x4fa331),this[_0x151245(0x2ea)]({'type':0x0,'memberID':this[_0x151245(0x44e)],'unitIDs':[_0x4fa331],'isForwarded':!0x1});}[_0x494bb3(0x260)](_0x10ccb9){const _0x1c45a8=_0x494bb3;this['_selfUnitIDs'][_0x1c45a8(0x43d)](_0x10ccb9),this[_0x1c45a8(0x3ba)][_0x1c45a8(0x23e)]===0x0&&this['_heartbeatTimer']&&window[_0x1c45a8(0x4e5)](this['_heartbeatTimer']);}['_init'](){const _0x20f039=_0x494bb3;this[_0x20f039(0x385)](_0x5a20c3[_0x20f039(0x1d8)](_0x32bae4[_0x20f039(0x38e)](window,_0x20f039(0x420))['subscribe'](_0x4c1057=>{const _0x516b54=_0x20f039;if(_0x4c1057[_0x516b54(0x272)]!==_0xb51205||!_0x4c1057['newValue'])return;const _0x1dc721=JSON['parse'](_0x4c1057[_0x516b54(0x1b5)]);this['_handleEvent'](_0x1dc721);}))),window[_0x20f039(0x4e2)](_0x20f039(0x3e7),()=>this[_0x20f039(0x2ea)]({'type':0x1,'memberID':this[_0x20f039(0x44e)],'unitIDs':Array['from'](this[_0x20f039(0x3ba)])}));}[_0x494bb3(0x45e)](_0x1d73bc){const _0x4a704b=_0x494bb3;switch(_0x1d73bc['type']){case 0x0:this['_handleJoinEvent'](_0x1d73bc);break;case 0x1:this['_handleLeaveEvent'](_0x1d73bc);break;case 0x2:this[_0x4a704b(0x253)](_0x1d73bc);break;}}['_handleJoinEvent'](_0x2f9fc4){const _0x216b9e=_0x494bb3,{unitIDs:_0x6bffd,memberID:_0x31e1b8,isForwarded:_0x51bb58}=_0x2f9fc4;_0x6bffd[_0x216b9e(0x5e8)](_0x241a89=>{const _0x889c09=_0x216b9e;if(!_0x51bb58&&this[_0x889c09(0x301)][_0x889c09(0x4a3)](_0x241a89)&&this[_0x889c09(0x38f)](_0x241a89)[_0x889c09(0x5dd)](0x1),!this[_0x889c09(0x301)][_0x889c09(0x4a3)](_0x241a89)||!this[_0x889c09(0x301)][_0x889c09(0x537)](_0x241a89)['has'](_0x31e1b8)){const _0x1d1156=this[_0x889c09(0x301)][_0x889c09(0x537)](_0x241a89)||new Set();_0x1d1156[_0x889c09(0x492)](_0x31e1b8),this[_0x889c09(0x301)][_0x889c09(0x33d)](_0x241a89,_0x1d1156),this[_0x889c09(0x5fe)](_0x31e1b8);}}),_0x51bb58||this['_send']({'type':0x0,'memberID':this[_0x216b9e(0x44e)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x494bb3(0x5fe)](_0x858442){const _0x2b9357=_0x494bb3;this[_0x2b9357(0x236)](_0x858442);const _0x1eba5a=window[_0x2b9357(0x4c3)](()=>{const _0x1ad557=_0x2b9357;this[_0x1ad557(0x301)][_0x1ad557(0x5e8)](_0x103c3d=>{const _0x4b8bba=_0x1ad557;_0x103c3d[_0x4b8bba(0x43d)](_0x858442);});},_0x1b4e9b*0x2);this['_clearOtherTimers'][_0x2b9357(0x33d)](_0x858442,_0x1eba5a);}[_0x494bb3(0x236)](_0x1a0a2b){const _0xd81f08=_0x494bb3;if(this[_0xd81f08(0x3b5)][_0xd81f08(0x4a3)](_0x1a0a2b)){const _0x38c5e9=this[_0xd81f08(0x3b5)][_0xd81f08(0x537)](_0x1a0a2b);_0x38c5e9&&window[_0xd81f08(0x2e6)](_0x38c5e9),this['_clearOtherTimers'][_0xd81f08(0x33d)](_0x1a0a2b,null);}}['_handleLeaveEvent'](_0x5461fa){const _0x48a945=_0x494bb3,{memberID:_0x709cad,unitIDs:_0x50e54c}=_0x5461fa;_0x50e54c[_0x48a945(0x5e8)](_0x59a9fd=>{const _0x47119a=_0x48a945;var _0x50f8ad;const _0x1c6f99=this[_0x47119a(0x301)][_0x47119a(0x537)](_0x59a9fd);_0x1c6f99&&(_0x1c6f99[_0x47119a(0x43d)](_0x709cad),(_0x50f8ad=this[_0x47119a(0x38f)](_0x59a9fd))==null||_0x50f8ad[_0x47119a(0x5dd)](_0x1c6f99[_0x47119a(0x23e)]===0x0?0x0:0x1));}),this[_0x48a945(0x236)](_0x709cad);}[_0x494bb3(0x253)](_0x555f74){const _0x93e15a=_0x494bb3;this[_0x93e15a(0x5fe)](_0x555f74[_0x93e15a(0x550)]);}['_send'](_0x4bb3dc){const _0x5df39a=_0x494bb3;localStorage[_0x5df39a(0x5a7)](_0xb51205,JSON[_0x5df39a(0x58b)](_0x4bb3dc));}[_0x494bb3(0x3e4)](){const _0x28aa1c=_0x494bb3;this[_0x28aa1c(0x51a)]=window[_0x28aa1c(0x430)](()=>{const _0x491072=_0x28aa1c;this[_0x491072(0x2ea)]({'type':0x2,'memberID':this[_0x491072(0x44e)]});},_0x1b4e9b);}[_0x494bb3(0x38f)](_0x52a4c3){const _0x4e3f50=_0x494bb3;return this[_0x4e3f50(0x5d7)][_0x4e3f50(0x4a3)](_0x52a4c3)||this[_0x4e3f50(0x5d7)][_0x4e3f50(0x33d)](_0x52a4c3,new _0x32bae4[(_0x4e3f50(0x55c))](0x0)),this[_0x4e3f50(0x5d7)][_0x4e3f50(0x537)](_0x52a4c3);}}var _0x5418f0=Object['defineProperty'],_0x32883f=Object[_0x494bb3(0x51e)],_0xff5af9=(_0x3a6986,_0x4eeb93,_0x2a2821,_0x57f03a)=>{for(var _0x7b1950=_0x57f03a>0x1?void 0x0:_0x57f03a?_0x32883f(_0x4eeb93,_0x2a2821):_0x4eeb93,_0x1e7d99=_0x3a6986['length']-0x1,_0xa004ac;_0x1e7d99>=0x0;_0x1e7d99--)(_0xa004ac=_0x3a6986[_0x1e7d99])&&(_0x7b1950=(_0x57f03a?_0xa004ac(_0x4eeb93,_0x2a2821,_0x7b1950):_0xa004ac(_0x7b1950))||_0x7b1950);return _0x57f03a&&_0x7b1950&&_0x5418f0(_0x4eeb93,_0x2a2821,_0x7b1950),_0x7b1950;},_0x20f011=(_0x3555ae,_0x4d4b4a)=>(_0x44a6ee,_0x2e0757)=>_0x4d4b4a(_0x44a6ee,_0x2e0757,_0x3555ae);let _0x455c32=class{constructor(_0x28e0c7,_0x189d9c,_0x42e3cb){const _0x707509=_0x494bb3;this[_0x707509(0x221)]=_0x28e0c7,this['_transformService']=_0x189d9c,this[_0x707509(0x2de)]=_0x42e3cb;}[_0x494bb3(0x58c)](_0x29028c){const _0xc58d0f=_0x494bb3;this[_0xc58d0f(0x35f)](_0x29028c);}[_0x494bb3(0x460)](_0x711380){const _0x4a853f=_0x494bb3,{unitID:_0xc163b7}=_0x711380,{collaboration:_0x1904a8}=this['_docStateChangeManagerService']['getStateCache'](_0xc163b7);if(_0x1904a8[_0x4a853f(0x5aa)]===0x0)return _0x711380;let _0x4889d8=_0x5a20c3[_0x4a853f(0x5ad)]['deepClone'](_0x711380[_0x4a853f(0x341)][0x0]);for(let _0x5e7143=0x0;_0x5e7143<_0x1904a8[_0x4a853f(0x5aa)];_0x5e7143++){const _0x49c29c={'id':_0x4a853f(0x1b8),'params':{'unitId':_0x1904a8[_0x5e7143][_0x4a853f(0x3ef)],..._0x1904a8[_0x5e7143]['redoState']}},_0x4a7850=this[_0x4a853f(0x241)][_0x4a853f(0x5d4)](_0x4889d8,_0x49c29c,!0x1);if(_0x4d11e3[_0x4a853f(0x40d)](_0x4a7850))throw _0x4a7850[_0x4a853f(0x35a)];_0x4889d8=_0x4a7850[_0x4a853f(0x5a9)];}return{..._0x5a20c3[_0x4a853f(0x5ad)][_0x4a853f(0x5e3)](_0x711380),'mutations':[_0x4889d8]};}[_0x494bb3(0x35f)](_0x789f22){const _0x3a70a1=_0x494bb3,{unitID:_0x461188}=_0x789f22,{history:_0x22a132,collaboration:_0x967c72}=this[_0x3a70a1(0x2de)][_0x3a70a1(0x3d7)](_0x461188);if(_0x22a132[_0x3a70a1(0x5aa)]===0x0&&_0x967c72[_0x3a70a1(0x5aa)]===0x0)return;const _0x2d1719=[],_0x49881f=[];let _0x89bd0d=_0x5a20c3[_0x3a70a1(0x5ad)][_0x3a70a1(0x5e3)](_0x789f22[_0x3a70a1(0x341)][0x0]),_0x4a76e8=_0x5a20c3[_0x3a70a1(0x5ad)]['deepClone'](_0x789f22[_0x3a70a1(0x341)][0x0]);for(let _0x50c244=_0x22a132[_0x3a70a1(0x5aa)]-0x1;_0x50c244>=0x0;_0x50c244--){const _0x4e1837={'id':_0x3a70a1(0x1b8),'params':{'unitId':_0x22a132[_0x50c244][_0x3a70a1(0x3ef)],..._0x22a132[_0x50c244][_0x3a70a1(0x1f4)]}},_0x27ace9={'id':_0x3a70a1(0x1b8),'params':{'unitId':_0x22a132[_0x50c244][_0x3a70a1(0x3ef)],..._0x22a132[_0x50c244][_0x3a70a1(0x1a6)]}},_0x104618=this[_0x3a70a1(0x241)][_0x3a70a1(0x5d4)](_0x89bd0d,_0x4e1837,!0x1),_0x30bbb9=this['_transformService'][_0x3a70a1(0x5d4)](_0x4a76e8,_0x27ace9,!0x1);if(_0x4d11e3[_0x3a70a1(0x40d)](_0x104618))throw _0x104618['error'];if(_0x4d11e3['isTransformMutationFailure'](_0x30bbb9))throw _0x30bbb9['error'];_0x2d1719[_0x3a70a1(0x55a)]({..._0x22a132[_0x50c244],'undoState':_0x104618['m2Prime'][_0x3a70a1(0x542)],'redoState':_0x30bbb9[_0x3a70a1(0x3fd)]['params']}),_0x89bd0d=_0x104618['m1Prime'],_0x4a76e8=_0x30bbb9[_0x3a70a1(0x5a9)];}_0x89bd0d=_0x5a20c3[_0x3a70a1(0x5ad)][_0x3a70a1(0x5e3)](_0x789f22[_0x3a70a1(0x341)][0x0]),_0x4a76e8=_0x5a20c3[_0x3a70a1(0x5ad)]['deepClone'](_0x789f22[_0x3a70a1(0x341)][0x0]);for(let _0x18472e=_0x967c72[_0x3a70a1(0x5aa)]-0x1;_0x18472e>=0x0;_0x18472e--){const _0x36c4af={'id':_0x3a70a1(0x1b8),'params':{'unitId':_0x967c72[_0x18472e]['unitId'],..._0x967c72[_0x18472e]['undoState']}},_0xfa33b6={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x967c72[_0x18472e][_0x3a70a1(0x3ef)],..._0x967c72[_0x18472e][_0x3a70a1(0x1a6)]}},_0x4b42c9=this[_0x3a70a1(0x241)][_0x3a70a1(0x5d4)](_0x89bd0d,_0x36c4af,!0x1),_0x195bda=this[_0x3a70a1(0x241)][_0x3a70a1(0x5d4)](_0x4a76e8,_0xfa33b6,!0x1);if(_0x4d11e3[_0x3a70a1(0x40d)](_0x4b42c9))throw _0x4b42c9[_0x3a70a1(0x35a)];if(_0x4d11e3[_0x3a70a1(0x40d)](_0x195bda))throw _0x195bda[_0x3a70a1(0x35a)];_0x49881f[_0x3a70a1(0x55a)]({..._0x967c72[_0x18472e],'undoState':_0x4b42c9['m2Prime']['params'],'redoState':_0x195bda[_0x3a70a1(0x3fd)][_0x3a70a1(0x542)]}),_0x89bd0d=_0x4b42c9[_0x3a70a1(0x5a9)],_0x4a76e8=_0x195bda['m1Prime'];}this[_0x3a70a1(0x2de)][_0x3a70a1(0x3f1)](_0x461188,{'history':_0x2d1719,'collaboration':_0x49881f});}};_0x455c32=_0xff5af9([_0x20f011(0x0,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x596)])),_0x20f011(0x1,_0x4d11e3['ITransformService']),_0x20f011(0x2,_0x5a20c3[_0x494bb3(0x57c)](_0xe07534[_0x494bb3(0x18c)]))],_0x455c32);function _0x5ce948(_0x4a361a){const _0xb425d8=_0x494bb3;let _0x302bde='';for(const _0x34e529 of _0x4a361a){const {startOffset:_0xb5533e,endOffset:_0x35b557,isActive:_0x3935e7,rangeType:_0x135b7e,segmentId:_0x26e7fc,segmentPage:_0x4313b1}=_0x34e529;_0x302bde[_0xb425d8(0x5aa)]&&(_0x302bde+=','),_0x302bde+=_0xb5533e+':'+_0x35b557+':'+(_0x3935e7?'1':'0')+':'+_0x135b7e+':'+_0x26e7fc+':'+_0x4313b1;}return _0x302bde;}function _0x4d6025(_0x3041f0){const _0xd9c306=_0x494bb3,_0x3eb29a=_0x3041f0[_0xd9c306(0x3c6)](','),_0x57b2ae=[];for(const _0x4acd77 of _0x3eb29a){const [_0x3448cf,_0x4c91fa,_0x482a22,_0x43775c,_0x18524f,_0x35f47e]=_0x4acd77[_0xd9c306(0x3c6)](':');_0x57b2ae[_0xd9c306(0x196)]({'startOffset':Number(_0x3448cf),'endOffset':Number(_0x4c91fa),'collapsed':_0x3448cf===_0x4c91fa,'isActive':_0x482a22==='1','rangeType':_0x43775c===_0x5a20c3[_0xd9c306(0x244)][_0xd9c306(0x4ac)]?_0x5a20c3[_0xd9c306(0x244)]['TEXT']:_0x5a20c3['DOC_RANGE_TYPE'][_0xd9c306(0x1d5)],'segmentId':typeof _0x18524f==_0xd9c306(0x56d)?String(_0x18524f):'','segmentPage':Number(_0x35f47e!=null?_0x35f47e:-0x1)});}return _0x57b2ae['some'](_0x15bdef=>_0x15bdef['isActive'])||(_0x57b2ae[0x0][_0xd9c306(0x5b7)]=!0x0),_0x57b2ae;}class _0x171169 extends _0x5a20c3['RxDisposable']{constructor(){const _0xf40686=_0x494bb3;super(...arguments),_0x3ed524(this,'_collabCursorState$',new _0x32bae4[(_0xf40686(0x55c))](null)),_0x3ed524(this,'collabCursorState$',this['_collabCursorState$'][_0xf40686(0x4fe)]());}[_0x494bb3(0x3b0)](_0x186bc6){const _0x265bc6=_0x494bb3,{unitID:_0x5a0a79,memberID:_0x1348c9,textRanges:_0x43d9d8}=_0x186bc6,_0x2714b4=_0x5ce948(_0x43d9d8);if(_0x2714b4==='')return;const _0x2444d4={'unitID':_0x5a0a79,'memberID':_0x1348c9,'selection':_0x2714b4};this[_0x265bc6(0x413)][_0x265bc6(0x5dd)](_0x2444d4);}}var _0x2b3c06=Object[_0x494bb3(0x5f8)],_0x500c2a=Object[_0x494bb3(0x51e)],_0x5cbf36=(_0x28d189,_0xb4e6be,_0x557dd4,_0x5f50e2)=>{const _0x5eeb4e=_0x494bb3;for(var _0xbfe80a=_0x5f50e2>0x1?void 0x0:_0x5f50e2?_0x500c2a(_0xb4e6be,_0x557dd4):_0xb4e6be,_0x13ac0e=_0x28d189[_0x5eeb4e(0x5aa)]-0x1,_0x30d262;_0x13ac0e>=0x0;_0x13ac0e--)(_0x30d262=_0x28d189[_0x13ac0e])&&(_0xbfe80a=(_0x5f50e2?_0x30d262(_0xb4e6be,_0x557dd4,_0xbfe80a):_0x30d262(_0xbfe80a))||_0xbfe80a);return _0x5f50e2&&_0xbfe80a&&_0x2b3c06(_0xb4e6be,_0x557dd4,_0xbfe80a),_0xbfe80a;},_0x390f44=(_0x480d43,_0x492b2a)=>(_0x5471f2,_0x59e908)=>_0x492b2a(_0x5471f2,_0x59e908,_0x480d43);let _0x2c3f2f=class{constructor(_0x3805b5,_0x23a0ce){const _0x908cbc=_0x494bb3;this[_0x908cbc(0x221)]=_0x3805b5,this['_transformService']=_0x23a0ce;}[_0x494bb3(0x53d)](_0x1aa4fb){const _0x4710a3=_0x494bb3;var _0x5a8c1a;const _0x7e905b=this[_0x4710a3(0x221)][_0x4710a3(0x537)](_0x458230[_0x4710a3(0x36c)]),_0x356464=(_0x5a8c1a=_0x7e905b[_0x4710a3(0x33e)]())!=null?_0x5a8c1a:[];if(_0x356464[_0x4710a3(0x5aa)]===0x0)return;const _0x6134d0=[{'id':_0x4710a3(0x1b8),'params':{'unitId':_0x1aa4fb[_0x4710a3(0x39f)],'actions':null,'textRanges':_0x356464}}],_0x317b1f=this[_0x4710a3(0x241)][_0x4710a3(0x381)](_0x1aa4fb,_0x6134d0);if(!_0x4d11e3[_0x4710a3(0x292)](_0x317b1f))throw _0x317b1f['error'];const _0xa2e04f=_0x317b1f[_0x4710a3(0x3fd)][0x0][_0x4710a3(0x542)]['textRanges'];Array['isArray'](_0xa2e04f)&&_0xa2e04f[_0x4710a3(0x5aa)]&&_0x7e905b[_0x4710a3(0x2b7)](_0xa2e04f,!0x1);}};_0x2c3f2f=_0x5cbf36([_0x390f44(0x0,_0x5a20c3['Inject'](_0x5a20c3[_0x494bb3(0x596)])),_0x390f44(0x1,_0x4d11e3[_0x494bb3(0x49f)])],_0x2c3f2f);const _0x3dd84b=new Set([_0x66e3f4[_0x494bb3(0x3ad)]['id']]);function _0x5aede1(_0x13d067,_0x1b24e2,_0x27b498,_0x8dd519,_0x579c39){const _0x1a0626=_0x494bb3;var _0x53b518,_0x3ed6ec,_0x554ab0,_0x562a4b;const _0x2ceefb=[];for(const _0x139b3a of _0x13d067)if(_0x3dd84b[_0x1a0626(0x4a3)](_0x139b3a['id'])){if(_0x2ceefb[_0x1a0626(0x5aa)]>0x0)break;_0x2ceefb[_0x1a0626(0x196)](_0x139b3a);break;}else _0x2ceefb[_0x1a0626(0x196)](_0x139b3a);const _0x5d07a0=(_0x3ed6ec=(_0x53b518=_0x579c39[_0x1a0626(0x606)]())==null?void 0x0:_0x53b518[_0x1a0626(0x37c)])!=null?_0x3ed6ec:_0x1a0626(0x32c),_0x55f3ee=(_0x562a4b=(_0x554ab0=_0x579c39[_0x1a0626(0x606)]())==null?void 0x0:_0x554ab0[_0x1a0626(0x550)])!=null?_0x562a4b:'unknown';return{'changeset':{'unitID':_0x1b24e2,'type':_0x4d11e3[_0x1a0626(0x54a)](_0x27b498['getUnitType'](_0x1b24e2)),'baseRev':_0x8dd519[_0x1a0626(0x21f)](_0x1b24e2),'revision':0x0,'userID':_0x5d07a0,'memberID':_0x55f3ee,'mutations':_0x2ceefb},'pendingMutations':_0x13d067['slice'](_0x2ceefb[_0x1a0626(0x5aa)])};}function _0x4af5e8(_0x14eda4,_0x1ce271,_0x1597a2,_0x488792,_0xb66c25){const _0x193467=_0x494bb3;var _0x2ff9e9,_0x4542e2,_0x5bb9e2,_0x1ec70d;const _0x6742b0=[_0x14eda4[_0x193467(0x59a)]((_0x396ddc,_0xb30aa3)=>{const _0x4704e3=_0x193467;var _0x15b4e7;const {id:_0x4c95f8}=_0x396ddc,{id:_0x18b6f5,type:_0x492275}=_0xb30aa3,_0x2f3bd1=(_0x15b4e7=_0x396ddc[_0x4704e3(0x542)])!=null?_0x15b4e7:{'actions':null},_0x810f62=_0xb30aa3[_0x4704e3(0x542)];if(_0x4c95f8&&_0x4c95f8!==_0x18b6f5)throw new Error(_0x4704e3(0x582)+_0x4c95f8+'\x20-\x20'+_0x18b6f5+'.');return{..._0x396ddc,'id':_0x18b6f5,'type':_0x492275,'params':{'unitId':_0x810f62[_0x4704e3(0x3ef)],'textRanges':_0x810f62['textRanges'],'actions':_0x5a20c3[_0x4704e3(0x455)][_0x4704e3(0x4ef)](_0x2f3bd1[_0x4704e3(0x154)],_0x810f62[_0x4704e3(0x154)])}};},{})],_0x4d312e=(_0x4542e2=(_0x2ff9e9=_0xb66c25[_0x193467(0x606)]())==null?void 0x0:_0x2ff9e9['userID'])!=null?_0x4542e2:_0x193467(0x32c),_0x293f28=(_0x1ec70d=(_0x5bb9e2=_0xb66c25[_0x193467(0x606)]())==null?void 0x0:_0x5bb9e2[_0x193467(0x550)])!=null?_0x1ec70d:_0x193467(0x32c);return{'changeset':{'unitID':_0x1ce271,'type':_0x4d11e3[_0x193467(0x54a)](_0x1597a2[_0x193467(0x498)](_0x1ce271)),'baseRev':_0x488792[_0x193467(0x21f)](_0x1ce271),'revision':0x0,'userID':_0x4d312e,'memberID':_0x293f28,'mutations':_0x6742b0},'pendingMutations':[]};}function _0x49657e(_0x2be47e,_0x19392f){const _0x956898=_0x494bb3,_0x5b6e96=new _0x32bae4[(_0x956898(0x513))](0x1);return setTimeout(()=>_0x5b6e96[_0x956898(0x5dd)](_0x19392f),_0x2be47e),_0x5b6e96[_0x956898(0x4fe)]()[_0x956898(0x1d4)](_0x32bae4[_0x956898(0x5d8)](0x1));}const _0x2a25ba={'id':_0x66e3f4[_0x494bb3(0x5d1)]['id'],'type':_0x5a20c3[_0x494bb3(0x308)][_0x494bb3(0x54e)],'params':{}};var _0x864279=Object[_0x494bb3(0x5f8)],_0x3bcf2c=Object[_0x494bb3(0x51e)],_0x6d1023=(_0x4e125e,_0x2ac2e1,_0x4c6b87,_0x55e795)=>{const _0x3ca29a=_0x494bb3;for(var _0x56f7b8=_0x55e795>0x1?void 0x0:_0x55e795?_0x3bcf2c(_0x2ac2e1,_0x4c6b87):_0x2ac2e1,_0x11c403=_0x4e125e[_0x3ca29a(0x5aa)]-0x1,_0x17b2f6;_0x11c403>=0x0;_0x11c403--)(_0x17b2f6=_0x4e125e[_0x11c403])&&(_0x56f7b8=(_0x55e795?_0x17b2f6(_0x2ac2e1,_0x4c6b87,_0x56f7b8):_0x17b2f6(_0x56f7b8))||_0x56f7b8);return _0x55e795&&_0x56f7b8&&_0x864279(_0x2ac2e1,_0x4c6b87,_0x56f7b8),_0x56f7b8;},_0x3d0903=(_0x4b58d4,_0x366efd)=>(_0x2a11ea,_0x398eb0)=>_0x366efd(_0x2a11ea,_0x398eb0,_0x4b58d4),_0x5948fa=(_0x40dc4c=>(_0x40dc4c[_0x494bb3(0x375)]=_0x494bb3(0x544),_0x40dc4c[_0x494bb3(0x22f)]=_0x494bb3(0x2db),_0x40dc4c[_0x494bb3(0x452)]='pending',_0x40dc4c[_0x494bb3(0x319)]=_0x494bb3(0x487),_0x40dc4c[_0x494bb3(0x497)]='awaiting_with_pending',_0x40dc4c['FETCH_MISS']='fetch_missing',_0x40dc4c[_0x494bb3(0x296)]='conflict',_0x40dc4c[_0x494bb3(0x1de)]=_0x494bb3(0x333),_0x40dc4c))(_0x5948fa||{});const _0x2d3c5b=0xea60;class _0x5208db{constructor(_0x15527a,_0x3a29a8,_0x49f792,_0x31f92c,_0x161570,_0x54b17f,_0x2aa7d7,_0x41e624,_0x1ab37a){const _0x5df180=_0x494bb3;_0x3ed524(this,_0x5df180(0x194),null),_0x3ed524(this,_0x5df180(0x5e5),[]),(this['unitID']=_0x15527a,this['type']=_0x3a29a8,this[_0x5df180(0x2d2)]=_0x161570,this[_0x5df180(0x2e5)]=_0x54b17f,this[_0x5df180(0x2ac)]=_0x2aa7d7,this['_revisionService']=_0x41e624,this[_0x5df180(0x489)]=_0x1ab37a,this[_0x5df180(0x194)]=_0x49f792,this[_0x5df180(0x5e5)]=_0x31f92c);}[_0x494bb3(0x2f1)](_0x33bec9){const _0x3738eb=_0x494bb3,_0x4bb2d5=this[_0x3738eb(0x4bd)][_0x3738eb(0x21f)](this[_0x3738eb(0x39f)]);return _0x33bec9[_0x3738eb(0x2e8)]>_0x4bb2d5+0x1?(this[_0x3738eb(0x2d2)]['onMissingChangesets']({'from':_0x4bb2d5,'to':_0x33bec9[_0x3738eb(0x2e8)]-0x1}),!0x0):!0x1;}[_0x494bb3(0x2a3)](_0x1bf241){const _0x103d70=_0x494bb3;this['_undoRedoService'][_0x103d70(0x17d)](this[_0x103d70(0x39f)],_0x1bf241);}[_0x494bb3(0x563)](_0x25066c){const _0x39a026=_0x494bb3;var _0x5c0fab,_0xef1f2e;(_0xef1f2e=(_0x5c0fab=this[_0x39a026(0x2d2)])[_0x39a026(0x2c2)])==null||_0xef1f2e[_0x39a026(0x451)](_0x5c0fab,_0x25066c);}[_0x494bb3(0x250)](_0x1c4e30){const _0x5258cd=_0x494bb3;var _0x46b743,_0x30eac8;return(_0x30eac8=(_0x46b743=this[_0x5258cd(0x2d2)])[_0x5258cd(0x539)])==null?void 0x0:_0x30eac8[_0x5258cd(0x451)](_0x46b743,_0x1c4e30);}[_0x494bb3(0x1d9)](_0x280945){const _0xfea20f=_0x494bb3;var _0x23409a,_0x52c671;return(_0x52c671=(_0x23409a=this['_handler'])[_0xfea20f(0x57e)])==null?void 0x0:_0x52c671[_0xfea20f(0x451)](_0x23409a,_0x280945);}[_0x494bb3(0x516)](_0x114633){const _0x3b9ff2=_0x494bb3;var _0x4f1416,_0x4b4c07,_0x1a51e5;return(_0x1a51e5=(_0x4b4c07=(_0x4f1416=this[_0x3b9ff2(0x2d2)])[_0x3b9ff2(0x184)])==null?void 0x0:_0x4b4c07[_0x3b9ff2(0x451)](_0x4f1416,_0x114633))!=null?_0x1a51e5:_0x114633;}[_0x494bb3(0x521)](_0x1fdc29){const _0x104ebb=_0x494bb3;var _0x4564d0,_0x5cd35d,_0x376f0b;return(_0x376f0b=(_0x5cd35d=(_0x4564d0=this[_0x104ebb(0x2d2)])[_0x104ebb(0x228)])==null?void 0x0:_0x5cd35d[_0x104ebb(0x451)](_0x4564d0,_0x1fdc29))!=null?_0x376f0b:_0x1fdc29;}[_0x494bb3(0x1ed)](_0x5a9a8f){const _0x4e95fc=_0x494bb3;var _0x410774,_0x49dbc4;if(this['type']===_0x9d8403[_0x4e95fc(0x512)]){const {unitID:_0x4caa24,mutations:_0x584cd5,memberID:_0x1384c2}=_0x5a9a8f,_0x2da997=_0x584cd5[0x0][_0x4e95fc(0x542)][_0x4e95fc(0x561)];Array['isArray'](_0x2da997)&&_0x2da997['length']>0x0&&((_0x49dbc4=(_0x410774=this[_0x4e95fc(0x2d2)])[_0x4e95fc(0x3bf)])==null||_0x49dbc4[_0x4e95fc(0x451)](_0x410774,{'unitID':_0x4caa24,'memberID':_0x1384c2,'textRanges':_0x2da997}));}}[_0x494bb3(0x3b4)](){const _0x378c70=_0x494bb3;this[_0x378c70(0x489)][_0x378c70(0x3d9)](this[_0x378c70(0x39f)],this[_0x378c70(0x351)],this[_0x378c70(0x194)],this[_0x378c70(0x5e5)]);}['_getCurrentRevision'](){const _0x58d088=_0x494bb3;return this['_revisionService'][_0x58d088(0x21f)](this[_0x58d088(0x39f)]);}[_0x494bb3(0x3af)](){const _0x2651df=_0x494bb3;this[_0x2651df(0x4bd)][_0x2651df(0x500)](this['unitID']);}[_0x494bb3(0x1ce)](_0x1fef61){const _0x3294ae=_0x494bb3;var _0x378abb;let _0x5230f5=this[_0x3294ae(0x516)](_0x1fef61);_0x5230f5=this['_transformRemoteChangesetByStateCache'](_0x5230f5);const _0x1d836f=_0x5a20c3[_0x3294ae(0x2c8)](_0x5230f5[_0x3294ae(0x341)],this[_0x3294ae(0x2e5)],{'fromCollab':!0x0});if(!_0x1d836f[_0x3294ae(0x306)])throw _0x1d836f[_0x3294ae(0x35a)]instanceof Error?_0x1d836f[_0x3294ae(0x35a)]:new Error((_0x378abb=_0x1d836f['error'])!=null?_0x378abb:_0x3294ae(0x34e));this[_0x3294ae(0x250)](_0x5230f5),this['_transformStateCache'](_0x5230f5),this[_0x3294ae(0x2a3)](_0x1fef61),this[_0x3294ae(0x563)](_0x5230f5),this[_0x3294ae(0x1ed)](_0x5230f5),this[_0x3294ae(0x3af)]();}}let _0x20fa8f=class extends _0x5208db{constructor(_0x5f2364,_0x9faf3,_0x206888,_0x203dfb,_0x4c7b82,_0x3ed62f,_0x5c3b8f,_0x1e2398,_0x5d3f19,_0x32227e){const _0x3f9e19=_0x494bb3;super(_0x5f2364,_0x9faf3,null,[],_0x206888,_0x1e2398,_0x5c3b8f,_0x203dfb,_0x4c7b82),_0x3ed524(this,_0x3f9e19(0x601),_0x3f9e19(0x2db)),(this[_0x3f9e19(0x221)]=_0x3ed62f,this[_0x3f9e19(0x3f5)]=_0x5d3f19,this[_0x3f9e19(0x241)]=_0x32227e);}[_0x494bb3(0x3ca)](_0x510c27){const _0x4c8c3a=_0x494bb3,_0x2ba340=this[_0x4c8c3a(0x221)]['createInstance'](_0xa05536,this['unitID'],this[_0x4c8c3a(0x351)],[_0x510c27],this['_handler']);return _0x2ba340[_0x4c8c3a(0x36f)](),_0x2ba340[_0x4c8c3a(0x3b4)](),_0x2ba340;}[_0x494bb3(0x56c)](_0x88f9e0){const _0x70afb8=_0x494bb3;if(this[_0x70afb8(0x2f1)](_0x88f9e0))return this[_0x70afb8(0x221)][_0x70afb8(0x566)](_0x75b83f,this['unitID'],this[_0x70afb8(0x351)],null,[],null,[_0x88f9e0],this[_0x70afb8(0x2d2)]);try{const _0x3392b6=this[_0x70afb8(0x241)][_0x70afb8(0x381)](_0x88f9e0,[_0x2a25ba]);if(_0x4d11e3['isTransformMutationsWithChangesetSuccess'](_0x3392b6)){const {c1Prime:_0x567e07}=_0x3392b6;return this[_0x70afb8(0x1ce)](_0x567e07),this;}throw _0x3392b6[_0x70afb8(0x35a)];}catch(_0x3af3d0){return this[_0x70afb8(0x3f5)][_0x70afb8(0x35a)](_0x3af3d0),this[_0x70afb8(0x1ad)](!0x1);}}[_0x494bb3(0x1ad)](_0x2ae68c){const _0x5204f6=_0x494bb3;return this['_injector']['createInstance'](_0x382943,this[_0x5204f6(0x39f)],this[_0x5204f6(0x351)],null,[],this[_0x5204f6(0x2d2)],_0x2ae68c);}[_0x494bb3(0x1d3)](){const _0x2e9d01=_0x494bb3;throw new Error(_0x2e9d01(0x426));}[_0x494bb3(0x518)](){const _0x151111=_0x494bb3;throw new Error(_0x151111(0x382));}[_0x494bb3(0x17c)](){return this;}[_0x494bb3(0x3a5)](){const _0x2392dd=_0x494bb3;return this[_0x2392dd(0x221)][_0x2392dd(0x566)](_0x35de18,this[_0x2392dd(0x39f)],this[_0x2392dd(0x351)],null,[],this[_0x2392dd(0x2d2)]);}[_0x494bb3(0x312)](){return this;}[_0x494bb3(0x2b2)](){const _0x290da5=_0x494bb3;throw new Error(_0x290da5(0x4fd));}['fetchMiss'](){const _0xcb1539=_0x494bb3,_0x352ede=this[_0xcb1539(0x4bd)][_0xcb1539(0x21f)](this[_0xcb1539(0x39f)]);return this[_0xcb1539(0x2d2)]['onMissingChangesets']({'from':_0x352ede,'to':0x0}),this[_0xcb1539(0x221)][_0xcb1539(0x566)](_0x75b83f,this[_0xcb1539(0x39f)],this[_0xcb1539(0x351)],null,[],null,[],this[_0xcb1539(0x2d2)]);}};_0x20fa8f=_0x6d1023([_0x3d0903(0x3,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3[_0x494bb3(0x3ae)])),_0x3d0903(0x4,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x3d0903(0x5,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x596)])),_0x3d0903(0x6,_0x5a20c3['IUndoRedoService']),_0x3d0903(0x7,_0x5a20c3['ICommandService']),_0x3d0903(0x8,_0x5a20c3[_0x494bb3(0x494)]),_0x3d0903(0x9,_0x4d11e3[_0x494bb3(0x49f)])],_0x20fa8f);let _0xa05536=class extends _0x5208db{constructor(_0x5c8f1f,_0x2b48ec,_0x164e62,_0x4fd62a,_0x44aa15,_0x2d1fcf,_0x1ddd65,_0x3547c1,_0x2e5cee,_0x180b79,_0x269638,_0x2f39a8,_0x4ae186,_0x41cbde){const _0x567485=_0x494bb3;super(_0x5c8f1f,_0x2b48ec,null,_0x164e62,_0x4fd62a,_0x180b79,_0x41cbde,_0x2d1fcf,_0x1ddd65),_0x3ed524(this,'status',_0x567485(0x1c5)),_0x3ed524(this,_0x567485(0x581),null),_0x3ed524(this,'_sendingTimer',null),(this[_0x567485(0x221)]=_0x44aa15,this[_0x567485(0x32d)]=_0x3547c1,this[_0x567485(0x3f5)]=_0x2e5cee,this[_0x567485(0x1f1)]=_0x269638,this['_transformService']=_0x2f39a8,this[_0x567485(0x4a7)]=_0x4ae186);}['appendMutation'](_0x17b6fd){const _0x394ed9=_0x494bb3;return this[_0x394ed9(0x5e5)][_0x394ed9(0x196)](_0x17b6fd),this[_0x394ed9(0x3b4)](),this;}[_0x494bb3(0x56c)](_0xf4f69b){const _0x2e51ec=_0x494bb3;if(this[_0x2e51ec(0x2f1)](_0xf4f69b))return this['_clearScheduledTask'](),this[_0x2e51ec(0x221)]['createInstance'](_0x75b83f,this[_0x2e51ec(0x39f)],this[_0x2e51ec(0x351)],null,this[_0x2e51ec(0x5e5)],null,[_0xf4f69b],this[_0x2e51ec(0x2d2)]);try{const _0x58b537=this['_transformService'][_0x2e51ec(0x381)](_0xf4f69b,this['_pendingMutations']);if(_0x4d11e3['isTransformMutationsWithChangesetSuccess'](_0x58b537)){const {c1Prime:_0xbda31a,m2Prime:_0x5d813d}=_0x58b537;this[_0x2e51ec(0x1ce)](_0xbda31a);const _0x11dfdb=this[_0x2e51ec(0x221)][_0x2e51ec(0x566)](_0xa05536,this['unitID'],this['type'],_0x5d813d,this[_0x2e51ec(0x2d2)]);return this['_clearScheduledTask'](),_0x11dfdb['_schedule'](this[_0x2e51ec(0x581)]?Math['max'](0x0,new Date()['getTime']()-this[_0x2e51ec(0x581)]):this[_0x2e51ec(0x1c7)]()),_0x11dfdb;}throw _0x58b537[_0x2e51ec(0x35a)];}catch(_0x34960a){return this['_logService']['error'](_0x34960a),this[_0x2e51ec(0x1ad)](!0x1);}}[_0x494bb3(0x1d3)](){const _0x34ec0a=_0x494bb3;throw new Error(_0x34ec0a(0x57d));}[_0x494bb3(0x518)](){const _0x87e7c7=_0x494bb3;throw new Error(_0x87e7c7(0x277));}[_0x494bb3(0x17c)](){return this;}[_0x494bb3(0x3a5)](){const _0x3025af=_0x494bb3;return this['_clearScheduledTask'](),this['_injector']['createInstance'](_0x35de18,this[_0x3025af(0x39f)],this[_0x3025af(0x351)],null,this[_0x3025af(0x5e5)],this['_handler']);}['toggleOnline'](){return this;}[_0x494bb3(0x36f)](_0x1d2025){const _0x45b51f=_0x494bb3,_0x436adf=_0x1d2025!=null?_0x1d2025:this['_getSendChangesetTimeout']();this[_0x45b51f(0x581)]=new Date()[_0x45b51f(0x3a3)](),this[_0x45b51f(0x3da)]=window['setTimeout'](()=>{const _0x3341e7=_0x45b51f;this[_0x3341e7(0x19f)]();let _0x96da72=null;switch(this[_0x3341e7(0x351)]){case _0x9d8403[_0x3341e7(0x329)]:{_0x96da72=_0x5aede1(this[_0x3341e7(0x5e5)],this[_0x3341e7(0x39f)],this['_univerInstanceService'],this[_0x3341e7(0x4bd)],this[_0x3341e7(0x32d)]);break;}case _0x9d8403['UNIVER_DOC']:{this[_0x3341e7(0x5e5)][_0x3341e7(0x1a4)](_0x390191=>_0x390191['id']===_0x458230[_0x3341e7(0x368)]['id'])?_0x96da72=_0x4af5e8(this[_0x3341e7(0x5e5)],this[_0x3341e7(0x39f)],this['_univerInstanceService'],this['_revisionService'],this[_0x3341e7(0x32d)]):_0x96da72=_0x5aede1(this[_0x3341e7(0x5e5)],this[_0x3341e7(0x39f)],this['_univerInstanceService'],this[_0x3341e7(0x4bd)],this[_0x3341e7(0x32d)]);break;}default:throw new Error(_0x3341e7(0x378)+this[_0x3341e7(0x351)]+_0x3341e7(0x33c));}const {changeset:_0x2249dd,pendingMutations:_0x1f05a8}=_0x96da72;this[_0x3341e7(0x2d2)]['onSendChangeset'](_0x2249dd);const _0x50ce8c=_0x1f05a8[_0x3341e7(0x5aa)]?this['_injector'][_0x3341e7(0x566)](_0x4a639a,this[_0x3341e7(0x39f)],this[_0x3341e7(0x351)],_0x2249dd,_0x1f05a8,this[_0x3341e7(0x2d2)],void 0x0):this['_injector'][_0x3341e7(0x566)](_0x548e3e,this[_0x3341e7(0x39f)],this[_0x3341e7(0x351)],_0x2249dd,this[_0x3341e7(0x2d2)]);_0x50ce8c['_updateLocalCache'](),this[_0x3341e7(0x2d2)][_0x3341e7(0x54c)](this,_0x50ce8c);},_0x436adf);}[_0x494bb3(0x1c7)](){const _0xce4fca=_0x494bb3;var _0x219e44;const _0x4c9766=this['_configService'][_0xce4fca(0x19a)](_0x59eaf6);return(_0x219e44=_0x4c9766==null?void 0x0:_0x4c9766[_0xce4fca(0x30e)])!=null?_0x219e44:0x7d0;}[_0x494bb3(0x2b2)](){const _0x1dae54=_0x494bb3;throw new Error(_0x1dae54(0x448));}[_0x494bb3(0x19f)](){const _0x2f8170=_0x494bb3;this[_0x2f8170(0x3da)]!=null&&(clearTimeout(this[_0x2f8170(0x3da)]),this['_sendingTimer']=null);}[_0x494bb3(0x1ad)](_0x4b9df7){const _0x55c399=_0x494bb3;return this['_clearScheduledTask'](),this[_0x55c399(0x221)][_0x55c399(0x566)](_0x382943,this[_0x55c399(0x39f)],this[_0x55c399(0x351)],null,this[_0x55c399(0x5e5)],this[_0x55c399(0x2d2)],_0x4b9df7);}};_0xa05536=_0x6d1023([_0x3d0903(0x4,_0x5a20c3['Inject'](_0x5a20c3[_0x494bb3(0x596)])),_0x3d0903(0x5,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3[_0x494bb3(0x3ae)])),_0x3d0903(0x6,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x3d0903(0x7,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x30c)])),_0x3d0903(0x8,_0x5a20c3[_0x494bb3(0x494)]),_0x3d0903(0x9,_0x5a20c3[_0x494bb3(0x39a)]),_0x3d0903(0xa,_0x5a20c3['IConfigService']),_0x3d0903(0xb,_0x4d11e3[_0x494bb3(0x49f)]),_0x3d0903(0xc,_0x5a20c3['IUniverInstanceService']),_0x3d0903(0xd,_0x5a20c3[_0x494bb3(0x44c)])],_0xa05536);let _0x548e3e=class extends _0x5208db{constructor(_0x4087eb,_0x5ca3f8,_0x5d47ad,_0x2f4e64,_0x4a6618,_0x30b9e0,_0x352fcd,_0x2e9171,_0x1eed1d,_0xca75cf,_0x3e7332){const _0x46576e=_0x494bb3;super(_0x4087eb,_0x5ca3f8,_0x5d47ad,[],_0x2f4e64,_0x2e9171,_0x3e7332,_0x30b9e0,_0x352fcd),_0x3ed524(this,_0x46576e(0x601),_0x46576e(0x487)),_0x3ed524(this,'_resendTimeout',0x0),_0x3ed524(this,_0x46576e(0x5b2)),_0x3ed524(this,_0x46576e(0x3a9)),(this[_0x46576e(0x221)]=_0x4a6618,this['_logService']=_0x1eed1d,this[_0x46576e(0x241)]=_0xca75cf);}[_0x494bb3(0x3ca)](_0x318ab7){const _0x59730f=_0x494bb3;this[_0x59730f(0x19f)]();const _0x5ded6a=this[_0x59730f(0x221)][_0x59730f(0x566)](_0x4a639a,this[_0x59730f(0x39f)],this[_0x59730f(0x351)],this['_awaitingChangeset'],[_0x318ab7],this[_0x59730f(0x2d2)],this[_0x59730f(0x5b2)]);return _0x5ded6a['_updateLocalCache'](),_0x5ded6a;}[_0x494bb3(0x56c)](_0x39c70e){const _0x3b31e0=_0x494bb3;if(this[_0x3b31e0(0x2f1)](_0x39c70e))return this[_0x3b31e0(0x19f)](),this[_0x3b31e0(0x221)][_0x3b31e0(0x566)](_0x75b83f,this[_0x3b31e0(0x39f)],this[_0x3b31e0(0x351)],this[_0x3b31e0(0x194)],[],null,[_0x39c70e],this[_0x3b31e0(0x2d2)]);try{const _0x5d06b6=this[_0x3b31e0(0x241)]['transformChangesets']([_0x39c70e],[this['_awaitingChangeset']],!0x1);if(_0x4d11e3['isTransformChangesetsSuccess'](_0x5d06b6)){const {c1Prime:_0x431b60,c2Prime:_0x308bab}=_0x5d06b6;this[_0x3b31e0(0x1ce)](_0x431b60[0x0]),_0x308bab[0x0][_0x3b31e0(0x2d9)]=this[_0x3b31e0(0x562)](),this['_clearScheduledTask']();const _0x5ac87a=this[_0x3b31e0(0x221)][_0x3b31e0(0x566)](_0x548e3e,this['unitID'],this['type'],_0x308bab[0x0],this[_0x3b31e0(0x2d2)]);return _0x5ac87a[_0x3b31e0(0x3b4)](),_0x5ac87a;}return this['_onConflict'](!0x1);}catch(_0x52d915){return this[_0x3b31e0(0x3f5)]['error'](_0x52d915),this['_onConflict'](!0x1);}}[_0x494bb3(0x1d3)](_0x1ddb24){const _0x3a8272=_0x494bb3;this[_0x3a8272(0x19f)]();const _0x178e26=this[_0x3a8272(0x4bd)][_0x3a8272(0x21f)](this[_0x3a8272(0x39f)]);if(_0x1ddb24[_0x3a8272(0x2e8)]<_0x178e26-0x1)return this;if(this['_checkMissing'](_0x1ddb24))return this[_0x3a8272(0x221)][_0x3a8272(0x566)](_0x75b83f,this[_0x3a8272(0x39f)],this[_0x3a8272(0x351)],null,[],this[_0x3a8272(0x194)],[],this[_0x3a8272(0x2d2)]);this[_0x3a8272(0x3af)]();const _0x5953d8=this[_0x3a8272(0x221)]['createInstance'](_0x20fa8f,this['unitID'],this['type'],this[_0x3a8272(0x2d2)]);return _0x5953d8[_0x3a8272(0x3b4)](),_0x5953d8;}[_0x494bb3(0x518)](_0x374ee1){const _0x1b70d2=_0x494bb3;return this[_0x1b70d2(0x1ad)](!!(_0x374ee1!=null&&_0x374ee1[_0x1b70d2(0x1c8)]));}[_0x494bb3(0x17c)](_0x49b68e){const _0x315a09=_0x494bb3;return this[_0x315a09(0x33f)]>_0x2d3c5b?this[_0x315a09(0x3a5)]():(this['_resendTimer']=_0x49657e(this[_0x315a09(0x33f)],{'timeout':this['_resendTimeout'],'reqId':_0x49b68e[_0x315a09(0x5f1)]}),this[_0x315a09(0x3a9)]=this[_0x315a09(0x5b2)]['subscribe'](({reqId:_0x4167fd,timeout:_0x5dcfcf})=>{const _0x5b09b7=_0x315a09;this[_0x5b09b7(0x485)](_0x4167fd,_0x5dcfcf);}),this);}['toggleOffline'](){const _0x5b093c=_0x494bb3;return this[_0x5b093c(0x19f)](),this[_0x5b093c(0x221)]['createInstance'](_0x35de18,this[_0x5b093c(0x39f)],this[_0x5b093c(0x351)],this[_0x5b093c(0x194)],[],this['_handler']);}[_0x494bb3(0x312)](){return this;}[_0x494bb3(0x2b2)](){const _0x531fd5=_0x494bb3;this[_0x531fd5(0x2d2)]['onSendChangeset'](this[_0x531fd5(0x194)]);}['_onConflict'](_0x295a5b){const _0x5124d7=_0x494bb3;return this['_clearScheduledTask'](),this[_0x5124d7(0x221)][_0x5124d7(0x566)](_0x382943,this[_0x5124d7(0x39f)],this[_0x5124d7(0x351)],this[_0x5124d7(0x194)],[],this['_handler'],_0x295a5b);}[_0x494bb3(0x485)](_0x5e90be,_0x42481c){const _0x109f3a=_0x494bb3;var _0x518369;_0x5e90be===((_0x518369=this[_0x109f3a(0x194)])==null?void 0x0:_0x518369['reqId'])&&(this[_0x109f3a(0x2b2)](),this['_resendTimeout']=_0x42481c===0x0?0x3e8:_0x42481c*0x2);}[_0x494bb3(0x19f)](){const _0x3c9228=_0x494bb3;var _0x32ea0c;(_0x32ea0c=this['_sender'])==null||_0x32ea0c[_0x3c9228(0x365)](),this[_0x3c9228(0x33f)]=0x0;}};_0x548e3e=_0x6d1023([_0x3d0903(0x4,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x596)])),_0x3d0903(0x5,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3[_0x494bb3(0x3ae)])),_0x3d0903(0x6,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x3d0903(0x7,_0x5a20c3['ICommandService']),_0x3d0903(0x8,_0x5a20c3[_0x494bb3(0x494)]),_0x3d0903(0x9,_0x4d11e3[_0x494bb3(0x49f)]),_0x3d0903(0xa,_0x5a20c3[_0x494bb3(0x44c)])],_0x548e3e);let _0x4a639a=class extends _0x5208db{constructor(_0x109dcb,_0x5b28d1,_0x4e1c51,_0x1f7a7d,_0x3713e2,_0x48aa96,_0x473ac5,_0x4c84e4,_0x50c0f1,_0x4d1890,_0x5545d4,_0x566386,_0x1aedcd){const _0x344755=_0x494bb3;super(_0x109dcb,_0x5b28d1,_0x4e1c51,_0x1f7a7d,_0x3713e2,_0x4d1890,_0x1aedcd,_0x4c84e4,_0x50c0f1),_0x3ed524(this,_0x344755(0x601),'awaiting_with_pending'),_0x3ed524(this,_0x344755(0x33f),0x0),_0x3ed524(this,_0x344755(0x5b2)),_0x3ed524(this,'_sender'),(this['_injector']=_0x473ac5,this[_0x344755(0x3f5)]=_0x5545d4,this['_transformService']=_0x566386,_0x48aa96&&(this[_0x344755(0x5b2)]=_0x48aa96,this[_0x344755(0x3a9)]=this[_0x344755(0x5b2)]['subscribe'](({reqId:_0x12b0c0,timeout:_0x4e1435})=>{const _0x1c8678=_0x344755;this[_0x1c8678(0x485)](_0x12b0c0,_0x4e1435);})));}[_0x494bb3(0x3ca)](_0xd02fbc){const _0x3696f7=_0x494bb3;return this['_pendingMutations'][_0x3696f7(0x196)](_0xd02fbc),this;}[_0x494bb3(0x56c)](_0x3ba773){const _0xb62943=_0x494bb3;if(this[_0xb62943(0x2f1)](_0x3ba773))return this['_clearScheduledTask'](),this[_0xb62943(0x221)][_0xb62943(0x566)](_0x75b83f,this[_0xb62943(0x39f)],this[_0xb62943(0x351)],this['_awaitingChangeset'],this[_0xb62943(0x5e5)],null,[_0x3ba773],this[_0xb62943(0x2d2)]);try{const _0x3678ae=this[_0xb62943(0x241)][_0xb62943(0x599)]([_0x3ba773],[this[_0xb62943(0x194)]],!0x1);if(_0x4d11e3[_0xb62943(0x52b)](_0x3678ae)){const {c1Prime:_0x1242ff,c2Prime:_0x51ebc3}=_0x3678ae,_0x3aeb21=this['_transformService'][_0xb62943(0x381)](_0x1242ff[0x0],this[_0xb62943(0x5e5)]);if(_0x4d11e3[_0xb62943(0x292)](_0x3aeb21)){const {c1Prime:_0x6370df,m2Prime:_0x3aaaff}=_0x3aeb21;return this[_0xb62943(0x1ce)](_0x6370df),_0x51ebc3[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0xb62943(0x19f)](),this[_0xb62943(0x221)][_0xb62943(0x566)](_0x4a639a,this[_0xb62943(0x39f)],this[_0xb62943(0x351)],_0x51ebc3[0x0],_0x3aaaff,this[_0xb62943(0x2d2)],void 0x0);}throw _0x3aeb21[_0xb62943(0x35a)];}throw _0x3678ae[_0xb62943(0x35a)];}catch(_0x5c5f1f){return this[_0xb62943(0x3f5)]['error'](_0x5c5f1f),this[_0xb62943(0x1ad)](!0x1);}}['onRemoteAck'](_0x3ff4b2){const _0x450b6f=_0x494bb3;if(this[_0x450b6f(0x19f)](),this[_0x450b6f(0x2f1)](_0x3ff4b2))return this[_0x450b6f(0x221)][_0x450b6f(0x566)](_0x75b83f,this[_0x450b6f(0x39f)],this['type'],null,this[_0x450b6f(0x5e5)],this[_0x450b6f(0x194)],[],this['_handler']);this[_0x450b6f(0x3af)]();const _0x561ae4=this['_injector'][_0x450b6f(0x566)](_0xa05536,this[_0x450b6f(0x39f)],this['type'],this[_0x450b6f(0x5e5)],this[_0x450b6f(0x2d2)]);return _0x561ae4['_schedule'](),_0x561ae4['_updateLocalCache'](),_0x561ae4;}[_0x494bb3(0x518)](_0x5d71c1){const _0x2493af=_0x494bb3;return this['_onConflict'](!!(_0x5d71c1!=null&&_0x5d71c1[_0x2493af(0x1c8)]));}[_0x494bb3(0x17c)](_0x3dd68f){const _0x3c4550=_0x494bb3;return this['_resendTimeout']>_0x2d3c5b?this[_0x3c4550(0x3a5)]():(this[_0x3c4550(0x5b2)]=_0x49657e(this[_0x3c4550(0x33f)],{'timeout':this[_0x3c4550(0x33f)],'reqId':_0x3dd68f[_0x3c4550(0x5f1)]}),this[_0x3c4550(0x3a9)]=this[_0x3c4550(0x5b2)]['subscribe'](({reqId:_0x762bda,timeout:_0x21c06d})=>{const _0x365043=_0x3c4550;this[_0x365043(0x485)](_0x762bda,_0x21c06d);}),this);}[_0x494bb3(0x3a5)](){const _0x36825c=_0x494bb3;return this['_clearScheduledTask'](),this[_0x36825c(0x221)][_0x36825c(0x566)](_0x35de18,this[_0x36825c(0x39f)],this[_0x36825c(0x351)],this[_0x36825c(0x194)],this[_0x36825c(0x5e5)],this['_handler']);}[_0x494bb3(0x312)](){return this;}[_0x494bb3(0x2b2)](){const _0x5c2e1d=_0x494bb3;this[_0x5c2e1d(0x2d2)][_0x5c2e1d(0x232)](this[_0x5c2e1d(0x194)]);}['_onConflict'](_0x1b1bc8){const _0x52e1b1=_0x494bb3;return this['_clearScheduledTask'](),this['_injector'][_0x52e1b1(0x566)](_0x382943,this[_0x52e1b1(0x39f)],this[_0x52e1b1(0x351)],null,this[_0x52e1b1(0x5e5)],this[_0x52e1b1(0x2d2)],_0x1b1bc8);}[_0x494bb3(0x485)](_0x300cb5,_0x54c96b){const _0x1d5e73=_0x494bb3;var _0x2b22b4;_0x300cb5===((_0x2b22b4=this[_0x1d5e73(0x194)])==null?void 0x0:_0x2b22b4[_0x1d5e73(0x5f1)])&&(this[_0x1d5e73(0x2b2)](),this[_0x1d5e73(0x33f)]=_0x54c96b===0x0?0x3e8:_0x54c96b*0x2);}[_0x494bb3(0x19f)](){const _0x5677b1=_0x494bb3;var _0x561be6;(_0x561be6=this[_0x5677b1(0x3a9)])==null||_0x561be6[_0x5677b1(0x365)](),this[_0x5677b1(0x33f)]=0x0;}};_0x4a639a=_0x6d1023([_0x3d0903(0x6,_0x5a20c3['Inject'](_0x5a20c3['Injector'])),_0x3d0903(0x7,_0x5a20c3['Inject'](_0x4d11e3['RevisionService'])),_0x3d0903(0x8,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x3d0903(0x9,_0x5a20c3[_0x494bb3(0x39a)]),_0x3d0903(0xa,_0x5a20c3['ILogService']),_0x3d0903(0xb,_0x4d11e3[_0x494bb3(0x49f)]),_0x3d0903(0xc,_0x5a20c3[_0x494bb3(0x44c)])],_0x4a639a);let _0x382943=class extends _0x5208db{constructor(_0x3ddcd5,_0x59b7ad,_0x214733,_0x3dd954,_0x162645,_0x12570b=!0x1,_0x44791e,_0x2a5c12,_0x56e318,_0x3b96fd,_0x29b66b,_0x532b2c,_0x136f3e){const _0x4b1606=_0x494bb3;super(_0x3ddcd5,_0x59b7ad,_0x214733,_0x3dd954,_0x162645,_0x2a5c12,_0x56e318,_0x29b66b,_0x3b96fd),_0x3ed524(this,'status',_0x4b1606(0x5b1)),(this['_isPermissionRej']=_0x12570b,this[_0x4b1606(0x441)]=_0x44791e,this['_localeService']=_0x532b2c,this[_0x4b1606(0x334)]=_0x136f3e,this[_0x4b1606(0x3d3)](),this[_0x4b1606(0x41a)](),this[_0x4b1606(0x171)]());}[_0x494bb3(0x3ca)](){return this;}[_0x494bb3(0x56c)](){return this;}['onRemoteAck'](){return this;}[_0x494bb3(0x518)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x494bb3(0x312)](){return this;}[_0x494bb3(0x2b2)](){const _0xa54107=_0x494bb3;throw new Error(_0xa54107(0x389));}[_0x494bb3(0x41a)](){const _0x30e28e=_0x494bb3;this['_localCacheService']['updateOfflineData'](this[_0x30e28e(0x39f)],this['type'],null,[]);}[_0x494bb3(0x3d3)](){const _0x4a7b86=_0x494bb3;this[_0x4a7b86(0x160)]?this['_notificationService'][_0x4a7b86(0x478)]({'title':this[_0x4a7b86(0x26e)]['t']('permission.title'),'content':this[_0x4a7b86(0x26e)]['t'](_0x4a7b86(0x31e)),'type':_0x4a7b86(0x35a),'duration':0x0}):this[_0x4a7b86(0x334)][_0x4a7b86(0x478)]({'title':this[_0x4a7b86(0x26e)]['t']('conflict.title'),'content':this[_0x4a7b86(0x26e)]['t'](_0x4a7b86(0x51c)),'type':_0x4a7b86(0x35a),'duration':0x0});}[_0x494bb3(0x171)](){const _0x463cd5=_0x494bb3;this[_0x463cd5(0x441)]['updatePermissionPoint'](new _0x66e3f4[(_0x463cd5(0x35d))](this[_0x463cd5(0x39f)])['id'],!0x1);}};_0x382943=_0x6d1023([_0x3d0903(0x6,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x397)])),_0x3d0903(0x7,_0x5a20c3[_0x494bb3(0x39a)]),_0x3d0903(0x8,_0x5a20c3['IUndoRedoService']),_0x3d0903(0x9,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x3d0903(0xa,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3[_0x494bb3(0x3ae)])),_0x3d0903(0xb,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x439)])),_0x3d0903(0xc,_0x33d470[_0x494bb3(0x2bf)])],_0x382943);let _0x35de18=class extends _0x5208db{constructor(_0x32544e,_0x401bb5,_0x1397a8,_0x18f350,_0x1a1d35,_0x299319,_0x3cbafb,_0x56d96c,_0x19b864,_0x9597e0){const _0x992179=_0x494bb3;super(_0x32544e,_0x401bb5,_0x1397a8,_0x18f350,_0x1a1d35,_0x19b864,_0x9597e0,_0x3cbafb,_0x56d96c),_0x3ed524(this,_0x992179(0x601),_0x992179(0x333)),this['_injector']=_0x299319;}['appendMutation'](_0x507d99){const _0x314c2c=_0x494bb3;return this[_0x314c2c(0x5e5)][_0x314c2c(0x196)](_0x507d99),this[_0x314c2c(0x3b4)](),this;}['onRemoteChangeset'](_0x460f77){const _0x592c91=_0x494bb3;throw new Error(_0x592c91(0x176));}[_0x494bb3(0x1d3)](){const _0x4cf015=_0x494bb3;throw new Error(_0x4cf015(0x3a7));}[_0x494bb3(0x518)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x494bb3(0x3a5)](){return this;}[_0x494bb3(0x312)](){const _0x20401e=_0x494bb3,{_injector:_0x4e1413,_pendingMutations:_0x4a6b92,_awaitingChangeset:_0x583f9b,unitID:_0xa47ffa,_handler:_0x14949e,type:_0x2b8c3b}=this,_0x3c6c63=_0x3c042f(_0x4e1413,_0xa47ffa,_0x2b8c3b,_0x583f9b,_0x4a6b92,_0x14949e);return _0x3c6c63 instanceof _0xa05536?_0x3c6c63['_schedule']():(_0x3c6c63 instanceof _0x4a639a||_0x3c6c63 instanceof _0x548e3e)&&_0x3c6c63[_0x20401e(0x2b2)](),_0x3c6c63;}[_0x494bb3(0x2b2)](){const _0x513a4b=_0x494bb3;throw new Error(_0x513a4b(0x400));}};_0x35de18=_0x6d1023([_0x3d0903(0x5,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3['Injector'])),_0x3d0903(0x6,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3[_0x494bb3(0x3ae)])),_0x3d0903(0x7,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x3d0903(0x8,_0x5a20c3[_0x494bb3(0x39a)]),_0x3d0903(0x9,_0x5a20c3[_0x494bb3(0x44c)])],_0x35de18);let _0x75b83f=class extends _0x5208db{constructor(_0x24d53c,_0x5c5e41,_0x489bab,_0x1909f6,_0x513424,_0x25b2d2,_0x1a3e3a,_0x28dd3a,_0x72010a,_0x2756c3,_0x132dc9,_0x177e56,_0x571a8f,_0x3b2425){const _0x441205=_0x494bb3;super(_0x24d53c,_0x5c5e41,_0x489bab,_0x1909f6,_0x1a3e3a,_0x177e56,_0x571a8f,_0x72010a,_0x2756c3),_0x3ed524(this,'status',_0x441205(0x369)),(this[_0x441205(0x517)]=_0x513424,this['_queuedRemoteChangesets']=_0x25b2d2,this[_0x441205(0x221)]=_0x28dd3a,this['_logService']=_0x132dc9,this['_transformService']=_0x3b2425);}[_0x494bb3(0x5cb)](_0x2be7c6){const _0x4faaef=_0x494bb3;try{const _0x5cf763=[..._0x2be7c6,...this[_0x4faaef(0x242)]],_0x10f457=[this['_awaitingChangeset']||this[_0x4faaef(0x517)]][_0x4faaef(0x264)](_0x4e10da=>!!_0x4e10da);let _0x1323c0,_0x537d2f;if(_0x10f457[_0x4faaef(0x5aa)]){const _0x8c0ed2=this[_0x4faaef(0x241)][_0x4faaef(0x599)](_0x5cf763,_0x10f457,!0x1);if(!_0x4d11e3[_0x4faaef(0x52b)](_0x8c0ed2))throw _0x8c0ed2[_0x4faaef(0x35a)];_0x1323c0=_0x8c0ed2[_0x4faaef(0x297)],_0x537d2f=_0x8c0ed2[_0x4faaef(0x3bc)];}else _0x1323c0=_0x5cf763,_0x537d2f=[];let _0x395a96=this['_pendingMutations'];_0x1323c0['forEach'](_0x257009=>{const _0x3559fc=_0x4faaef;let _0x4bf248;if(_0x395a96[_0x3559fc(0x5aa)]){const _0x272456=this[_0x3559fc(0x241)][_0x3559fc(0x381)](_0x257009,_0x395a96);if(!_0x4d11e3[_0x3559fc(0x292)](_0x272456))throw _0x272456['error'];_0x4bf248=_0x272456[_0x3559fc(0x297)],_0x395a96=_0x272456['m2Prime'];}else _0x4bf248=_0x257009;this[_0x3559fc(0x1ce)](_0x4bf248);}),this['_acknowledgedAwaitingChangeset']&&this[_0x4faaef(0x3af)](),this['_awaitingChangeset']&&_0x537d2f['length']&&(_0x537d2f[0x0]['baseRev']=this[_0x4faaef(0x562)]());let _0x2cdbfc;if(this[_0x4faaef(0x194)]&&_0x395a96[_0x4faaef(0x5aa)]!==0x0)_0x2cdbfc=this[_0x4faaef(0x221)][_0x4faaef(0x566)](_0x4a639a,this[_0x4faaef(0x39f)],this[_0x4faaef(0x351)],_0x537d2f[0x0],_0x395a96,this[_0x4faaef(0x2d2)],void 0x0);else{if(this[_0x4faaef(0x194)]&&_0x395a96['length']===0x0)_0x537d2f[0x0]['baseRev']=this[_0x4faaef(0x562)](),_0x2cdbfc=this[_0x4faaef(0x221)][_0x4faaef(0x566)](_0x548e3e,this[_0x4faaef(0x39f)],this['type'],_0x537d2f[0x0],this[_0x4faaef(0x2d2)]);else{if(_0x395a96[_0x4faaef(0x5aa)]!==0x0){const _0x2d1ed4=this[_0x4faaef(0x221)][_0x4faaef(0x566)](_0xa05536,this[_0x4faaef(0x39f)],this[_0x4faaef(0x351)],_0x395a96,this[_0x4faaef(0x2d2)]);_0x2d1ed4[_0x4faaef(0x36f)](),_0x2cdbfc=_0x2d1ed4;}else _0x2cdbfc=this['_injector'][_0x4faaef(0x566)](_0x20fa8f,this[_0x4faaef(0x39f)],this[_0x4faaef(0x351)],this[_0x4faaef(0x2d2)]);}}return _0x2cdbfc[_0x4faaef(0x3b4)](),_0x2cdbfc;}catch(_0xf3c1a2){return this[_0x4faaef(0x3f5)][_0x4faaef(0x35a)](_0x4faaef(0x45c),_0x4faaef(0x37d),_0xf3c1a2),this[_0x4faaef(0x221)]['createInstance'](_0x382943,this['unitID'],this[_0x4faaef(0x351)],this[_0x4faaef(0x194)],this[_0x4faaef(0x5e5)],this[_0x4faaef(0x2d2)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x494bb3(0x3ca)](_0x5c0b14){const _0x25ceab=_0x494bb3;return this[_0x25ceab(0x5e5)]['push'](_0x5c0b14),this;}[_0x494bb3(0x56c)](_0x258926){const _0x147ef7=_0x494bb3;return this[_0x147ef7(0x242)][_0x147ef7(0x196)](_0x258926),this;}[_0x494bb3(0x1d3)](_0x3e6c71){const _0x290a50=_0x494bb3;if(this[_0x290a50(0x194)])return this[_0x290a50(0x517)]=this['_awaitingChangeset'],this[_0x290a50(0x194)]=null,this;throw new Error(_0x290a50(0x30a));}[_0x494bb3(0x518)](_0x470799){const _0x2226d9=_0x494bb3;return this[_0x2226d9(0x1ad)](!!(_0x470799!=null&&_0x470799['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x494bb3(0x3a5)](){const _0x7438df=_0x494bb3;return this['_injector'][_0x7438df(0x566)](_0x35de18,this[_0x7438df(0x39f)],this['type'],this[_0x7438df(0x194)],this['_pendingMutations'],this[_0x7438df(0x2d2)]);}[_0x494bb3(0x312)](){return this;}['_onConflict'](_0x5efa5e){const _0x1abf09=_0x494bb3;return this[_0x1abf09(0x221)][_0x1abf09(0x566)](_0x382943,this[_0x1abf09(0x39f)],this[_0x1abf09(0x351)],this[_0x1abf09(0x194)],this['_pendingMutations'],this[_0x1abf09(0x2d2)],_0x5efa5e);}};_0x75b83f=_0x6d1023([_0x3d0903(0x7,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x596)])),_0x3d0903(0x8,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3[_0x494bb3(0x3ae)])),_0x3d0903(0x9,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x3d0903(0xa,_0x5a20c3['ILogService']),_0x3d0903(0xb,_0x5a20c3[_0x494bb3(0x39a)]),_0x3d0903(0xc,_0x5a20c3[_0x494bb3(0x44c)]),_0x3d0903(0xd,_0x4d11e3['ITransformService'])],_0x75b83f);function _0x3c042f(_0x4d8e9c,_0x3985a2,_0x23026b,_0x331477,_0x5b298f,_0x8b68cd){const _0x41b706=_0x494bb3;return _0x331477&&_0x5b298f[_0x41b706(0x5aa)]?_0x4d8e9c[_0x41b706(0x566)](_0x4a639a,_0x3985a2,_0x23026b,_0x331477,_0x5b298f,_0x8b68cd,void 0x0):_0x331477?_0x4d8e9c[_0x41b706(0x566)](_0x548e3e,_0x3985a2,_0x23026b,_0x331477,_0x8b68cd):_0x5b298f[_0x41b706(0x5aa)]?_0x4d8e9c['createInstance'](_0xa05536,_0x3985a2,_0x23026b,_0x5b298f,_0x8b68cd):_0x4d8e9c[_0x41b706(0x566)](_0x20fa8f,_0x3985a2,_0x23026b,_0x8b68cd);}var _0x4ddaf2=Object[_0x494bb3(0x5f8)],_0x174aa0=Object[_0x494bb3(0x51e)],_0xb1d179=(_0x488b59,_0x43a540,_0x5c0a48,_0x28e986)=>{for(var _0x569a6f=_0x28e986>0x1?void 0x0:_0x28e986?_0x174aa0(_0x43a540,_0x5c0a48):_0x43a540,_0x442866=_0x488b59['length']-0x1,_0x5aa92c;_0x442866>=0x0;_0x442866--)(_0x5aa92c=_0x488b59[_0x442866])&&(_0x569a6f=(_0x28e986?_0x5aa92c(_0x43a540,_0x5c0a48,_0x569a6f):_0x5aa92c(_0x569a6f))||_0x569a6f);return _0x28e986&&_0x569a6f&&_0x4ddaf2(_0x43a540,_0x5c0a48,_0x569a6f),_0x569a6f;},_0x3b93ef=(_0x4b7e4f,_0x2dc670)=>(_0x3ade68,_0x332e7b)=>_0x2dc670(_0x3ade68,_0x332e7b,_0x4b7e4f);_0x38d423[_0x494bb3(0x2b8)]=class extends _0x5a20c3[_0x494bb3(0x3ed)]{constructor(_0x2989a5,_0x2d176e,_0x44d724,_0x58a2cf,_0x13f7de,_0x542651,_0x35f41e,_0x5d91cc,_0x1b597b,_0x294df7,_0x3cacf4,_0x1fe8f4,_0x1e843f){const _0x508a8d=_0x494bb3;super(),_0x3ed524(this,_0x508a8d(0x3cf),new _0x32bae4[(_0x508a8d(0x55c))](null)),_0x3ed524(this,'state$',this[_0x508a8d(0x3cf)][_0x508a8d(0x4fe)]()),_0x3ed524(this,_0x508a8d(0x1bd)),_0x3ed524(this,_0x508a8d(0x5a0),!0x1),_0x3ed524(this,_0x508a8d(0x3c5),''),_0x3ed524(this,_0x508a8d(0x53f),0x0),_0x3ed524(this,_0x508a8d(0x5e2),this[_0x508a8d(0x311)][_0x508a8d(0x1d4)](_0x32bae4['map'](_0x32e895=>_0x32e895?_0x32e895[_0x508a8d(0x601)]:_0x5948fa[_0x508a8d(0x1de)]),_0x32bae4[_0x508a8d(0x1e8)](0x1))),_0x3ed524(this,_0x508a8d(0x285),!0x1),_0x3ed524(this,_0x508a8d(0x2a0),[]),(this[_0x508a8d(0x39f)]=_0x2989a5,this[_0x508a8d(0x15b)]=_0x2d176e,this[_0x508a8d(0x3f7)]=_0x44d724,this[_0x508a8d(0x221)]=_0x58a2cf,this[_0x508a8d(0x489)]=_0x13f7de,this[_0x508a8d(0x525)]=_0x542651,this[_0x508a8d(0x26e)]=_0x35f41e,this[_0x508a8d(0x4bd)]=_0x5d91cc,this[_0x508a8d(0x3f5)]=_0x1b597b,this['_commandService']=_0x294df7,this[_0x508a8d(0x2cc)]=_0x3cacf4,this[_0x508a8d(0x441)]=_0x1fe8f4,this[_0x508a8d(0x2df)]=_0x1e843f);}get[_0x494bb3(0x3ec)](){const _0x49d0f0=_0x494bb3;return this[_0x49d0f0(0x1bd)];}async['init'](){const _0x1da2ec=_0x494bb3;if(this[_0x1da2ec(0x3ec)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x494bb3(0x604)](){const _0x47efa7=_0x494bb3;return this[_0x47efa7(0x5a0)]=!0x0,_0x5a20c3[_0x47efa7(0x1d8)](()=>{const _0xa83272=_0x47efa7;this[_0xa83272(0x5a0)]=!0x1,this[_0xa83272(0x469)]();});}[_0x494bb3(0x3d8)](_0x51de5c){const _0x272364=_0x494bb3;this[_0x272364(0x1bd)]=_0x51de5c,this[_0x272364(0x3cf)][_0x272364(0x5dd)](_0x51de5c);}async[_0x494bb3(0x298)](){const _0x356b63=_0x494bb3;var _0x2cca48;this[_0x356b63(0x3d8)](await this[_0x356b63(0x3bb)]()),this[_0x356b63(0x2df)]&&((_0x2cca48=this[_0x356b63(0x2df)])==null||_0x2cca48[_0x356b63(0x355)](this['unitID']),this[_0x356b63(0x385)](this['_singleActiveUnitService'][_0x356b63(0x56f)](this[_0x356b63(0x39f)])[_0x356b63(0x38d)](_0x1b628d=>{const _0x35aa56=_0x356b63;this[_0x35aa56(0x3f5)][_0x35aa56(0x1b0)](_0x35aa56(0x1d7),_0x35aa56(0x252),_0x1b628d),_0x1b628d===_0x110671['OTHER_CLIENTS_EDITING']?(this['_messageService'][_0x35aa56(0x478)]({'content':this[_0x35aa56(0x26e)]['t'](_0x35aa56(0x217)),'type':_0x989dfe[_0x35aa56(0x5f0)]['Warning']}),this['_permissionService']['updatePermissionPoint'](new _0x66e3f4['WorkbookEditablePermission'](this[_0x35aa56(0x39f)])['id'],!0x1),this[_0x35aa56(0x441)][_0x35aa56(0x415)](!0x1)):(this[_0x35aa56(0x441)][_0x35aa56(0x24c)](new _0x66e3f4[(_0x35aa56(0x35d))](this[_0x35aa56(0x39f)])['id'],!0x0),this[_0x35aa56(0x441)][_0x35aa56(0x415)](!0x0));})));let _0x139d09=!0x1;return this[_0x356b63(0x385)](this[_0x356b63(0x15b)][_0x356b63(0x398)][_0x356b63(0x38d)](_0x250424=>{const _0x464d57=_0x356b63;_0x250424===_0x5f2a52[_0x464d57(0x5c1)]?this[_0x464d57(0x522)](_0x139d09):_0x250424===_0x5f2a52[_0x464d57(0x1de)]&&(_0x139d09=!0x0,this[_0x464d57(0x27b)]());})),this[_0x356b63(0x385)](this[_0x356b63(0x15b)][_0x356b63(0x5f6)][_0x356b63(0x38d)](_0x13288c=>{const _0x580e1f=_0x356b63;try{switch(_0x13288c['eventID']){case _0x4d11e3[_0x580e1f(0x213)][_0x580e1f(0x2f4)]:{this[_0x580e1f(0x16c)](_0x4d11e3[_0x580e1f(0x40a)](_0x13288c[_0x580e1f(0x5a3)]));break;}case _0x4d11e3[_0x580e1f(0x213)][_0x580e1f(0x318)]:{this['_onRemoteACK'](_0x13288c['data']);break;}case _0x4d11e3[_0x580e1f(0x213)][_0x580e1f(0x16f)]:{this['_onRemoteRejected']();break;}case _0x4d11e3[_0x580e1f(0x213)][_0x580e1f(0x529)]:{this[_0x580e1f(0x183)](_0x13288c[_0x580e1f(0x5a3)]);break;}case _0x4d11e3[_0x580e1f(0x213)][_0x580e1f(0x388)]:{this[_0x580e1f(0x344)](_0x13288c[_0x580e1f(0x5a3)]['changesets'][_0x580e1f(0x48f)](_0x36b553=>_0x4d11e3[_0x580e1f(0x40a)](_0x36b553)));break;}case _0x4d11e3[_0x580e1f(0x213)][_0x580e1f(0x549)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0xe8be5c){throw console[_0x580e1f(0x35a)](_0x580e1f(0x4f5),_0xe8be5c),_0xe8be5c;}})),this[_0x356b63(0x1bd)];}[_0x494bb3(0x50a)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){const _0x4e146c=_0x494bb3;if(this['_transitionLocked'])throw new Error(_0x4e146c(0x514));this[_0x4e146c(0x285)]=!0x0;}['_onLocalMutation'](_0x42bf35){const _0x3b15bc=_0x494bb3;this[_0x3b15bc(0x3c0)](),this[_0x3b15bc(0x3d8)](this['_state'][_0x3b15bc(0x3ca)](_0x42bf35)),this[_0x3b15bc(0x50a)]();}[_0x494bb3(0x16c)](_0x19d348){const _0xb1f3b0=_0x494bb3;if(!(_0x19d348[_0xb1f3b0(0x2e8)]<=this[_0xb1f3b0(0x4bd)][_0xb1f3b0(0x21f)](this[_0xb1f3b0(0x39f)]))){if(this[_0xb1f3b0(0x5a0)]){this[_0xb1f3b0(0x2a0)][_0xb1f3b0(0x196)](_0x19d348);return;}this[_0xb1f3b0(0x51b)](_0x19d348);}}[_0x494bb3(0x469)](){const _0x1e3c23=_0x494bb3;this['_remoteChangesetQueue'][_0x1e3c23(0x5e8)](_0x3fa8e0=>this[_0x1e3c23(0x51b)](_0x3fa8e0)),this[_0x1e3c23(0x2a0)]=[];}[_0x494bb3(0x51b)](_0x419873){const _0x28e860=_0x494bb3,_0x45b4ed=this[_0x28e860(0x525)]['interceptor'][_0x28e860(0x4dd)](this[_0x28e860(0x525)][_0x28e860(0x2f8)][_0x28e860(0x44a)]()[_0x28e860(0x555)])(_0x419873[_0x28e860(0x341)],null)||_0x419873['mutations'],_0x409cd1={..._0x419873,'mutations':_0x45b4ed};this[_0x28e860(0x3c0)](),this['_updateState'](this[_0x28e860(0x1bd)][_0x28e860(0x56c)](_0x409cd1)),this[_0x28e860(0x50a)]();}[_0x494bb3(0x193)](_0x1d7b7e){const _0x4c0ef9=_0x494bb3;this[_0x4c0ef9(0x3c0)](),this[_0x4c0ef9(0x3d8)](this[_0x4c0ef9(0x1bd)][_0x4c0ef9(0x1d3)](_0x1d7b7e)),this[_0x4c0ef9(0x50a)]();}[_0x494bb3(0x53b)](_0x3557a8){const _0x10b073=_0x494bb3;this[_0x10b073(0x3c0)](),this[_0x10b073(0x3d8)](this[_0x10b073(0x1bd)][_0x10b073(0x518)](_0x3557a8)),this[_0x10b073(0x50a)]();}[_0x494bb3(0x183)](_0x584d6e){const _0x287380=_0x494bb3;this[_0x287380(0x3c0)](),this[_0x287380(0x3d8)](this[_0x287380(0x1bd)][_0x287380(0x17c)](_0x584d6e)),this[_0x287380(0x50a)]();}[_0x494bb3(0x344)](_0x203422){const _0x3e0e7c=_0x494bb3;if(!(this[_0x3e0e7c(0x1bd)]instanceof _0x75b83f))throw new TypeError(_0x3e0e7c(0x2e7));const _0x53a267=_0x203422[_0x3e0e7c(0x48f)](_0x1595aa=>{const _0x1b67fe=_0x3e0e7c,_0x42077d=this[_0x1b67fe(0x525)][_0x1b67fe(0x2f8)][_0x1b67fe(0x4dd)](this['_compressMutationService'][_0x1b67fe(0x2f8)][_0x1b67fe(0x44a)]()[_0x1b67fe(0x555)])(_0x1595aa[_0x1b67fe(0x341)],null)||_0x1595aa['mutations'];return{..._0x1595aa,'mutations':_0x42077d};});this['_lockTransition'](),this['_updateState'](this[_0x3e0e7c(0x1bd)][_0x3e0e7c(0x5cb)](_0x53a267)),this[_0x3e0e7c(0x50a)]();}[_0x494bb3(0x27b)](){const _0x46878f=_0x494bb3;this['_lockTransition'](),this['_updateState'](this['_state'][_0x46878f(0x3a5)]()),this[_0x46878f(0x50a)]();}[_0x494bb3(0x522)](_0x39529a=!0x1){const _0x6a73cf=_0x494bb3;this[_0x6a73cf(0x3c0)](),this[_0x6a73cf(0x3d8)](this[_0x6a73cf(0x1bd)][_0x6a73cf(0x312)]()),this[_0x6a73cf(0x50a)]();const _0xfb3712=this[_0x6a73cf(0x1bd)];_0x39529a&&_0xfb3712 instanceof _0x20fa8f&&(this['_lockTransition'](),this[_0x6a73cf(0x3d8)](_0xfb3712[_0x6a73cf(0x34d)]()),this[_0x6a73cf(0x50a)]());}async[_0x494bb3(0x3bb)](){return new Promise(_0x361621=>{const _0xb13b99=_0x50cf;this['session'][_0xb13b99(0x398)][_0xb13b99(0x1d4)](_0x32bae4[_0xb13b99(0x5d8)](0x1))[_0xb13b99(0x38d)](async _0x44282a=>{const _0x45e6af=_0xb13b99;_0x361621(await this[_0x45e6af(0x21b)](_0x44282a===_0x5f2a52[_0x45e6af(0x5c1)]));});});}['_createHandler'](){const _0x175b9d=_0x494bb3,_0x2bd2eb=this[_0x175b9d(0x39f)];return{'onStateChange':(_0xb57ce0,_0x508c2a)=>{const _0x183df6=_0x175b9d;if(_0xb57ce0!==this[_0x183df6(0x1bd)])throw new Error(_0x183df6(0x433)+_0xb57ce0['status']+_0x183df6(0x27a)+_0x508c2a[_0x183df6(0x601)]+_0x183df6(0x5d5)+this['_state'][_0x183df6(0x601)]);this[_0x183df6(0x3d8)](_0x508c2a);},'onSendChangeset':_0x238ed4=>{const _0x133bbb=_0x175b9d;_0x238ed4['sid']||(_0x238ed4[_0x133bbb(0x605)]=this[_0x133bbb(0x3c5)],_0x238ed4[_0x133bbb(0x5f1)]=++this['_changesetReqId']);const _0xfc559c={'eventID':_0x4d11e3[_0x133bbb(0x213)][_0x133bbb(0x39d)],'data':{'unitID':_0x238ed4[_0x133bbb(0x39f)],'unitType':this['_type'],'changeset':_0x238ed4,'memberID':this[_0x133bbb(0x15b)][_0x133bbb(0x488)]()}};this[_0x133bbb(0x15b)]['send'](_0xfc559c,this[_0x133bbb(0x39f)]);},'onMissingChangesets':({from:_0x503bcc,to:_0x248c19})=>{const _0x120225=_0x175b9d;this[_0x120225(0x3f5)]['debug'](_0x120225(0x1d7),_0x120225(0x44b)+_0x503bcc+_0x120225(0x603)+_0x248c19);const _0xde2596={'eventID':_0x4d11e3[_0x120225(0x213)]['FETCH_MISSING'],'data':{'unitID':_0x2bd2eb,'unitType':this[_0x120225(0x3f7)],'from':_0x503bcc,'to':_0x248c19}};this[_0x120225(0x15b)][_0x120225(0x424)](_0xde2596,this[_0x120225(0x39f)]);}};}async[_0x494bb3(0x21b)](_0x23cf28){const _0x24fd46=_0x494bb3;var _0x40d67a,_0x3c0af8;const _0x3bf3b7=await this['_localCacheService'][_0x24fd46(0x23d)](this[_0x24fd46(0x39f)]),_0x19108f=(_0x40d67a=_0x3bf3b7==null?void 0x0:_0x3bf3b7[_0x24fd46(0x341)])!=null?_0x40d67a:[],_0x3e9a6e=(_0x3c0af8=_0x3bf3b7==null?void 0x0:_0x3bf3b7[_0x24fd46(0x5b3)])!=null?_0x3c0af8:null,_0x90c3b5=!!(_0x3e9a6e!=null&&_0x3e9a6e['sid'])&&!!(_0x3e9a6e!=null&&_0x3e9a6e[_0x24fd46(0x5f1)]);this[_0x24fd46(0x3c5)]=_0x90c3b5?_0x3e9a6e[_0x24fd46(0x605)]:_0x4c4aaa(),this[_0x24fd46(0x53f)]=_0x90c3b5?_0x3e9a6e[_0x24fd46(0x5f1)]:0x0;const _0x451cb6=this[_0x24fd46(0x39f)];try{this['_replayCachedMutations'](_0x3e9a6e,_0x19108f);}catch(_0x513582){this[_0x24fd46(0x3f5)][_0x24fd46(0x35a)](_0x513582);}const _0xfad56b=this[_0x24fd46(0x2c7)]();if(_0x23cf28){const _0x35ca4c=_0x3c042f(this[_0x24fd46(0x221)],_0x451cb6,this[_0x24fd46(0x3f7)],_0x3e9a6e,_0x19108f,_0xfad56b);return _0x35ca4c instanceof _0xa05536?_0x35ca4c[_0x24fd46(0x36f)]():(_0x35ca4c instanceof _0x4a639a||_0x35ca4c instanceof _0x548e3e)&&_0x35ca4c[_0x24fd46(0x2b2)](),_0x35ca4c;}return this[_0x24fd46(0x221)][_0x24fd46(0x566)](_0x35de18,_0x451cb6,this[_0x24fd46(0x3f7)],_0x3e9a6e,_0x19108f,_0xfad56b);}['_replayCachedMutations'](_0x414b17,_0x1cb5cb){const _0x3cc559=_0x494bb3;var _0x1d5f29,_0x55994e;const _0x48658c=this['_compressMutationService'][_0x3cc559(0x2f8)][_0x3cc559(0x4dd)](this[_0x3cc559(0x525)][_0x3cc559(0x2f8)][_0x3cc559(0x44a)]()[_0x3cc559(0x555)]);(_0x1d5f29=_0x48658c((_0x414b17==null?void 0x0:_0x414b17['mutations'])||[],null))==null||_0x1d5f29[_0x3cc559(0x5e8)](_0x3f698c=>this['_commandService'][_0x3cc559(0x482)](_0x3f698c['id'],_0x3f698c[_0x3cc559(0x542)])),(_0x55994e=_0x48658c(_0x1cb5cb||[],null))==null||_0x55994e[_0x3cc559(0x5e8)](_0x3ad82e=>this[_0x3cc559(0x2e5)][_0x3cc559(0x482)](_0x3ad82e['id'],_0x3ad82e[_0x3cc559(0x542)]));}},_0x38d423[_0x494bb3(0x2b8)]=_0xb1d179([_0x3b93ef(0x3,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3['Injector'])),_0x3b93ef(0x4,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x3b93ef(0x5,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3[_0x494bb3(0x407)])),_0x3b93ef(0x6,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x439)])),_0x3b93ef(0x7,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3['RevisionService'])),_0x3b93ef(0x8,_0x5a20c3[_0x494bb3(0x494)]),_0x3b93ef(0x9,_0x5a20c3[_0x494bb3(0x39a)]),_0x3b93ef(0xa,_0x33d470[_0x494bb3(0x454)]),_0x3b93ef(0xb,_0x5a20c3[_0x494bb3(0x397)]),_0x3b93ef(0xc,_0x5a20c3[_0x494bb3(0x59d)](_0x104336))],_0x38d423[_0x494bb3(0x2b8)]),_0x38d423[_0x494bb3(0x5ff)]=class extends _0x38d423['CollaborationEntity']{constructor(_0x25d45c,_0x52ddaf,_0x5f2d3f,_0xfd7794,_0x31ae7f,_0x416fb4,_0x3af090,_0x4f4543,_0x243e72,_0x97140b,_0x365a86,_0x15c5f7,_0x2093a1,_0x3e6de1,_0x159355,_0x472604,_0x29a436,_0x427ef0){const _0xfd004a=_0x494bb3;super(_0x25d45c,_0x5f2d3f,_0x52ddaf,_0xfd7794,_0x31ae7f,_0x416fb4,_0x3af090,_0x4f4543,_0x3e6de1,_0x159355,_0x472604,_0x29a436,_0x427ef0),this[_0xfd004a(0x39f)]=_0x25d45c,this[_0xfd004a(0x351)]=_0x52ddaf,this['_docStateChangeManagerService']=_0x243e72,this['_docTransformIMECacheService']=_0x97140b,this['_docTransformStateCacheService']=_0x365a86,this[_0xfd004a(0x44d)]=_0x15c5f7,this['_docSyncEditingCollabCursorService']=_0x2093a1;}['_createHandler'](){const _0x4919ce=_0x494bb3,_0x984f14=super[_0x4919ce(0x2c7)]();return _0x984f14['onTransformIME']=_0x524968=>this[_0x4919ce(0x166)][_0x4919ce(0x5fb)](_0x524968),_0x984f14[_0x4919ce(0x57e)]=_0x57bb1a=>this[_0x4919ce(0x4b3)][_0x4919ce(0x58c)](_0x57bb1a),_0x984f14['onTransformSelections']=_0x13ddd0=>this[_0x4919ce(0x44d)]['transformSelections'](_0x13ddd0),_0x984f14['onSyncEditingCollabCursor']=_0x119c62=>this[_0x4919ce(0x47d)]['syncEditingCollabCursor'](_0x119c62),_0x984f14[_0x4919ce(0x184)]=_0x277a97=>this[_0x4919ce(0x166)]['transformRemoteChangeset'](_0x277a97),_0x984f14['onTransformRemoteChangesetByStateCache']=_0x93584f=>this[_0x4919ce(0x4b3)]['transformRemoteChangeset'](_0x93584f),_0x984f14;}async['_init'](){const _0x1c13c1=_0x494bb3,_0x17c466=await super['_init']();return this[_0x1c13c1(0x2de)][_0x1c13c1(0x41b)][_0x1c13c1(0x1d4)](_0x32bae4[_0x1c13c1(0x1d1)](this[_0x1c13c1(0x5af)]))[_0x1c13c1(0x38d)](_0x26444e=>{const _0x2fd417=_0x1c13c1;if(_0x26444e==null)return;const {unitId:_0x5b6c00,redoState:_0x327790,commandId:_0x385406}=_0x26444e;if(_0x5b6c00!==this[_0x2fd417(0x39f)])return;const _0x4f51c1={'id':_0x385406,'type':_0x5a20c3[_0x2fd417(0x308)][_0x2fd417(0x54e)],'params':{'unitId':_0x5b6c00,'actions':_0x327790['actions'],'textRanges':null}};this[_0x2fd417(0x578)](_0x4f51c1);}),_0x17c466;}},_0x38d423[_0x494bb3(0x5ff)]=_0xb1d179([_0x3b93ef(0x3,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x596)])),_0x3b93ef(0x4,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x3b93ef(0x5,_0x5a20c3['Inject'](_0x4d11e3[_0x494bb3(0x407)])),_0x3b93ef(0x6,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x439)])),_0x3b93ef(0x7,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3[_0x494bb3(0x3ae)])),_0x3b93ef(0x8,_0x5a20c3['Inject'](_0xe07534['DocStateChangeManagerService'])),_0x3b93ef(0x9,_0x5a20c3[_0x494bb3(0x57c)](_0x11a9c0)),_0x3b93ef(0xa,_0x5a20c3['Inject'](_0x455c32)),_0x3b93ef(0xb,_0x5a20c3[_0x494bb3(0x57c)](_0x2c3f2f)),_0x3b93ef(0xc,_0x5a20c3['Inject'](_0x171169)),_0x3b93ef(0xd,_0x5a20c3['ILogService']),_0x3b93ef(0xe,_0x5a20c3['ICommandService']),_0x3b93ef(0xf,_0x33d470[_0x494bb3(0x454)]),_0x3b93ef(0x10,_0x5a20c3[_0x494bb3(0x397)]),_0x3b93ef(0x11,_0x5a20c3[_0x494bb3(0x59d)](_0x104336))],_0x38d423[_0x494bb3(0x5ff)]),_0x38d423['SheetCollaborationEntity']=class extends _0x38d423[_0x494bb3(0x2b8)]{constructor(_0x3e1a0b,_0x3afe2e,_0x5b9576,_0x2fb3df,_0x175265,_0x3f1444,_0x554372,_0x3df93b,_0x21f95b,_0x35a72c,_0x2a422e,_0x5a3a20,_0x23fa5f,_0x9e74cc){const _0x38a301=_0x494bb3;super(_0x3e1a0b,_0x5b9576,_0x3afe2e,_0x2fb3df,_0x175265,_0x3f1444,_0x554372,_0x3df93b,_0x35a72c,_0x2a422e,_0x5a3a20,_0x23fa5f,_0x9e74cc),this['unitID']=_0x3e1a0b,this[_0x38a301(0x351)]=_0x3afe2e,this['_sheetTransformSelectionsService']=_0x21f95b;}[_0x494bb3(0x2c7)](){const _0x429c53=_0x494bb3,_0x2c1702=super[_0x429c53(0x2c7)]();return _0x2c1702[_0x429c53(0x2c2)]=_0x55c06a=>this[_0x429c53(0x3fb)]['transformSelections'](_0x55c06a),_0x2c1702;}async[_0x494bb3(0x298)](){const _0x23012a=_0x494bb3,_0x15c006=await super[_0x23012a(0x298)]();return this[_0x23012a(0x385)](this[_0x23012a(0x2e5)]['onCommandExecuted']((_0x4225cb,_0x1193b6)=>{const _0x242ea4=_0x23012a;if(_0x4225cb[_0x242ea4(0x351)]!==_0x5a20c3[_0x242ea4(0x308)][_0x242ea4(0x54e)]||_0x1193b6!=null&&_0x1193b6[_0x242ea4(0x274)]||_0x1193b6!=null&&_0x1193b6[_0x242ea4(0x31c)])return;const _0x571ebc=_0x4225cb['params'];if((_0x571ebc==null?void 0x0:_0x571ebc[_0x242ea4(0x3ef)])!==this[_0x242ea4(0x39f)])return;const _0xa5f499=_0x4225cb,_0x42b525=this[_0x242ea4(0x525)][_0x242ea4(0x2f8)]['fetchThroughInterceptors'](this[_0x242ea4(0x525)][_0x242ea4(0x2f8)][_0x242ea4(0x44a)]()['COMPRESS_MUTATION_SEND'])([_0xa5f499],null)||[_0xa5f499];this['_onLocalMutation'](_0x42b525[0x0]);})),_0x15c006;}},_0x38d423[_0x494bb3(0x5ac)]=_0xb1d179([_0x3b93ef(0x3,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3['Injector'])),_0x3b93ef(0x4,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x3b93ef(0x5,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3['CompressMutationService'])),_0x3b93ef(0x6,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x439)])),_0x3b93ef(0x7,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3['RevisionService'])),_0x3b93ef(0x8,_0x5a20c3[_0x494bb3(0x57c)](_0x47f26b)),_0x3b93ef(0x9,_0x5a20c3[_0x494bb3(0x494)]),_0x3b93ef(0xa,_0x5a20c3[_0x494bb3(0x39a)]),_0x3b93ef(0xb,_0x33d470[_0x494bb3(0x454)]),_0x3b93ef(0xc,_0x5a20c3['IPermissionService']),_0x3b93ef(0xd,_0x5a20c3['Optional'](_0x104336))],_0x38d423['SheetCollaborationEntity']);var _0x263455=Object[_0x494bb3(0x5f8)],_0x13f9af=Object[_0x494bb3(0x51e)],_0x4e2b08=(_0x258f84,_0x3e8dc2,_0x565a16,_0x5de5ee)=>{const _0x2df5f4=_0x494bb3;for(var _0x4b46f3=_0x5de5ee>0x1?void 0x0:_0x5de5ee?_0x13f9af(_0x3e8dc2,_0x565a16):_0x3e8dc2,_0x3f8949=_0x258f84[_0x2df5f4(0x5aa)]-0x1,_0x39efdc;_0x3f8949>=0x0;_0x3f8949--)(_0x39efdc=_0x258f84[_0x3f8949])&&(_0x4b46f3=(_0x5de5ee?_0x39efdc(_0x3e8dc2,_0x565a16,_0x4b46f3):_0x39efdc(_0x4b46f3))||_0x4b46f3);return _0x5de5ee&&_0x4b46f3&&_0x263455(_0x3e8dc2,_0x565a16,_0x4b46f3),_0x4b46f3;},_0x30dda4=(_0xce1580,_0x4973fd)=>(_0xba7dbc,_0x48e372)=>_0x4973fd(_0xba7dbc,_0x48e372,_0xce1580);_0x38d423[_0x494bb3(0x39c)]=class extends _0x5a20c3['RxDisposable']{constructor(_0x101464,_0x1a234b,_0x4e78bd){const _0x26327a=_0x494bb3;super(),_0x3ed524(this,_0x26327a(0x4da),new Map()),_0x3ed524(this,_0x26327a(0x17a),new _0x32bae4[(_0x26327a(0x20b))]()),(this[_0x26327a(0x221)]=_0x101464,this['_collabSessionService']=_0x1a234b,this['_univerInstanceService']=_0x4e78bd,this['_init']());}[_0x494bb3(0x173)](){const _0x99c53a=_0x494bb3;super['dispose'](),this[_0x99c53a(0x4da)][_0x99c53a(0x5e8)](_0x4c985a=>_0x4c985a[_0x99c53a(0x173)]()),this[_0x99c53a(0x4da)][_0x99c53a(0x366)]();}[_0x494bb3(0x3ee)](_0x99beef){const _0x18b04b=_0x494bb3;var _0x4ee61c;return(_0x4ee61c=this[_0x18b04b(0x4da)][_0x18b04b(0x537)](_0x99beef))!=null?_0x4ee61c:null;}[_0x494bb3(0x602)](_0x5ab6a0){const _0x317f1e=_0x494bb3,_0xa36adf=this[_0x317f1e(0x3ee)](_0x5ab6a0);return _0xa36adf?_0x32bae4['of'](_0xa36adf):this[_0x317f1e(0x17a)][_0x317f1e(0x1d4)](_0x51e720['filter'](_0x2dfc0b=>_0x2dfc0b[_0x317f1e(0x39f)]===_0x5ab6a0));}[_0x494bb3(0x298)](){const _0x5f1e9c=_0x494bb3;this['_univerInstanceService'][_0x5f1e9c(0x465)](_0x5a20c3[_0x5f1e9c(0x4c5)]['UNIVER_SHEET'])[_0x5f1e9c(0x1d4)](_0x32bae4['takeUntil'](this['dispose$']),_0x51e720[_0x5f1e9c(0x3d4)](0x10))[_0x5f1e9c(0x38d)](async _0x2afad6=>{const _0x3b4362=_0x5f1e9c,_0x38c3c9=_0x2afad6[_0x3b4362(0x4dc)](),_0x53a6b9=await this[_0x3b4362(0x170)](_0x38c3c9,_0x9d8403[_0x3b4362(0x329)]);this['_entities'][_0x3b4362(0x33d)](_0x38c3c9,_0x53a6b9);}),this[_0x5f1e9c(0x4a7)][_0x5f1e9c(0x465)](_0x5a20c3[_0x5f1e9c(0x4c5)][_0x5f1e9c(0x512)])[_0x5f1e9c(0x1d4)](_0x32bae4[_0x5f1e9c(0x1d1)](this[_0x5f1e9c(0x5af)]),_0x51e720[_0x5f1e9c(0x3d4)](0x10))[_0x5f1e9c(0x1d4)](_0x51e720['filter'](_0x189082=>!_0x189082['getUnitId']()[_0x5f1e9c(0x2af)]('__')))[_0x5f1e9c(0x38d)](async _0x360252=>{const _0x3fe652=_0x5f1e9c,_0x9eb9fe=_0x360252[_0x3fe652(0x4dc)](),_0x31a00c=await this[_0x3fe652(0x170)](_0x9eb9fe,_0x9d8403[_0x3fe652(0x512)]);this['_entities']['set'](_0x9eb9fe,_0x31a00c);}),_0x32bae4[_0x5f1e9c(0x3fc)](this[_0x5f1e9c(0x4a7)]['getTypeOfUnitDisposed$'](_0x5a20c3[_0x5f1e9c(0x4c5)]['UNIVER_SHEET']),this[_0x5f1e9c(0x4a7)][_0x5f1e9c(0x5f4)](_0x5a20c3['UniverInstanceType'][_0x5f1e9c(0x512)]))[_0x5f1e9c(0x1d4)](_0x32bae4[_0x5f1e9c(0x1d1)](this[_0x5f1e9c(0x5af)]))[_0x5f1e9c(0x38d)](_0x1d95a4=>{const _0x439d5c=_0x5f1e9c,_0x13f3c0=_0x1d95a4['getUnitId'](),_0x547a4d=this[_0x439d5c(0x4da)][_0x439d5c(0x537)](_0x13f3c0);_0x547a4d&&(_0x547a4d['dispose'](),this['_entities'][_0x439d5c(0x43d)](_0x13f3c0));});}async['_startCollaboration'](_0x139aab,_0x220ac5){const _0x449164=_0x494bb3,_0x2a4dfd=await this[_0x449164(0x50c)][_0x449164(0x3b7)](_0x139aab),_0x19e013=this[_0x449164(0x221)]['createInstance'](this[_0x449164(0x4b5)](_0x220ac5),_0x139aab,_0x220ac5,_0x2a4dfd);return await _0x19e013[_0x449164(0x4bc)](),this['_entityInit$']['next'](_0x19e013),_0x19e013;}[_0x494bb3(0x4b5)](_0x485f83){const _0x431244=_0x494bb3;switch(_0x485f83){case _0x9d8403[_0x431244(0x512)]:return _0x38d423[_0x431244(0x5ff)];case _0x9d8403[_0x431244(0x329)]:return _0x38d423[_0x431244(0x5ac)];default:throw new Error(_0x431244(0x26c)+_0x485f83);}}},_0x38d423[_0x494bb3(0x39c)]=_0x4e2b08([_0x30dda4(0x0,_0x5a20c3['Inject'](_0x5a20c3[_0x494bb3(0x596)])),_0x30dda4(0x1,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1a9)])),_0x30dda4(0x2,_0x5a20c3[_0x494bb3(0x17e)])],_0x38d423[_0x494bb3(0x39c)]);const _0x5b93e1=[_0x494bb3(0x48c),_0x494bb3(0x410),'verdancy600',_0x494bb3(0x20a),'blue400',_0x494bb3(0x3a1)];class _0x174ccb extends _0x5a20c3['Disposable']{constructor(){const _0x3d988f=_0x494bb3;super(...arguments),_0x3ed524(this,_0x3d988f(0x164),new Map()),_0x3ed524(this,_0x3d988f(0x42e),0x0);}['assignAColorForMemberID'](_0x26c4bf){const _0xa6b677=_0x494bb3;if(this[_0xa6b677(0x164)][_0xa6b677(0x4a3)](_0x26c4bf))return this[_0xa6b677(0x164)][_0xa6b677(0x537)](_0x26c4bf);const _0x532164=_0x5b93e1[this[_0xa6b677(0x42e)]];return this[_0xa6b677(0x42e)]=(this['_colorIndex']+0x1)%_0x5b93e1['length'],this[_0xa6b677(0x164)][_0xa6b677(0x33d)](_0x26c4bf,_0x532164),_0x532164;}}var _0xa8c3d7=Object[_0x494bb3(0x5f8)],_0x11e3e2=Object[_0x494bb3(0x51e)],_0x32886f=(_0x2e9cd8,_0x5f748e,_0x13da2a,_0x3ac686)=>{const _0x6961be=_0x494bb3;for(var _0x49f8b6=_0x3ac686>0x1?void 0x0:_0x3ac686?_0x11e3e2(_0x5f748e,_0x13da2a):_0x5f748e,_0x288252=_0x2e9cd8[_0x6961be(0x5aa)]-0x1,_0xadceb2;_0x288252>=0x0;_0x288252--)(_0xadceb2=_0x2e9cd8[_0x288252])&&(_0x49f8b6=(_0x3ac686?_0xadceb2(_0x5f748e,_0x13da2a,_0x49f8b6):_0xadceb2(_0x49f8b6))||_0x49f8b6);return _0x3ac686&&_0x49f8b6&&_0xa8c3d7(_0x5f748e,_0x13da2a,_0x49f8b6),_0x49f8b6;},_0x34802c=(_0x41022e,_0x142595)=>(_0x5583c9,_0x9f0c93)=>_0x142595(_0x5583c9,_0x9f0c93,_0x41022e);const _0x546fe7=0x12c,_0x21d903=0x64;let _0x2f4723=class extends _0x5a20c3[_0x494bb3(0x3ed)]{constructor(_0xa0043c,_0x428575,_0x4349eb,_0x3dd535,_0x13c88f,_0x18116e,_0x10ef5f,_0x45733e,_0x10e298){const _0x1299bb=_0x494bb3;super(),_0x3ed524(this,_0x1299bb(0x3e2),!0x1),_0x3ed524(this,_0x1299bb(0x298),!0x1),_0x3ed524(this,_0x1299bb(0x51f),new _0x32bae4[(_0x1299bb(0x55c))](new Map())),_0x3ed524(this,_0x1299bb(0x438),this[_0x1299bb(0x51f)][_0x1299bb(0x4fe)]()),_0x3ed524(this,_0x1299bb(0x48b),new _0x32bae4['BehaviorSubject']([])),_0x3ed524(this,'roomMembers$',this[_0x1299bb(0x48b)][_0x1299bb(0x1d4)](_0x32bae4[_0x1299bb(0x16e)](_0x546fe7))),_0x3ed524(this,_0x1299bb(0x33b),_0x5a20c3['debounce'](_0x131382=>{const _0x2d9070=_0x1299bb,_0x12cd02={'eventID':_0x4d11e3[_0x2d9070(0x213)][_0x2d9070(0x1ef)],'data':{'unitID':this[_0x2d9070(0x39f)],'memberID':this[_0x2d9070(0x1c3)][_0x2d9070(0x488)](),'selection':_0x5ce948(_0x131382)}};this[_0x2d9070(0x1c3)][_0x2d9070(0x424)](_0x12cd02,this[_0x2d9070(0x39f)]);},_0x21d903)),(this[_0x1299bb(0x39f)]=_0xa0043c,this[_0x1299bb(0x1c3)]=_0x428575,this[_0x1299bb(0x221)]=_0x4349eb,this['_colorAssignService']=_0x3dd535,this['_memberService']=_0x13c88f,this[_0x1299bb(0x2a6)]=_0x18116e,this[_0x1299bb(0x241)]=_0x10ef5f,this['_univerInstanceService']=_0x45733e,this[_0x1299bb(0x2e5)]=_0x10e298);}get['cursorInfo'](){const _0x4864d4=_0x494bb3;return this[_0x4864d4(0x51f)][_0x4864d4(0x532)]();}get[_0x494bb3(0x5db)](){const _0xb63fab=_0x494bb3;return this[_0xb63fab(0x48b)]['getValue']();}[_0x494bb3(0x173)](){const _0x39ae6b=_0x494bb3;super[_0x39ae6b(0x173)](),this[_0x39ae6b(0x51f)][_0x39ae6b(0x5dd)](new Map()),this['_cursorInfo$'][_0x39ae6b(0x548)](),this[_0x39ae6b(0x48b)][_0x39ae6b(0x5dd)]([]),this[_0x39ae6b(0x48b)][_0x39ae6b(0x548)]();}['init'](){const _0x35240e=_0x494bb3;this[_0x35240e(0x298)]||(this['_init']=!0x0,this[_0x35240e(0x1c3)][_0x35240e(0x398)][_0x35240e(0x1d4)](_0x32bae4[_0x35240e(0x1d1)](this['dispose$']))['subscribe'](_0x213460=>{const _0xa6e0dc=_0x35240e;_0x213460===_0x5f2a52[_0xa6e0dc(0x5c1)]?this['_toggleOnline']():this[_0xa6e0dc(0x27b)]();}),this[_0x35240e(0x1c3)][_0x35240e(0x5f6)][_0x35240e(0x1d4)](_0x32bae4[_0x35240e(0x1d1)](this[_0x35240e(0x5af)]))[_0x35240e(0x38d)](_0x9ccf51=>{const _0x53387b=_0x35240e,_0x5a98ac=_0x9ccf51[_0x53387b(0x383)];_0x5a98ac===_0x4d11e3[_0x53387b(0x213)]['UPDATE_CURSOR']&&this[_0x53387b(0x2ee)](_0x9ccf51),_0x5a98ac===_0x4d11e3[_0x53387b(0x213)][_0x53387b(0x37b)]&&this['_onCursorDelete'](_0x9ccf51);}),this['disposeWithMe'](this[_0x35240e(0x2e5)][_0x35240e(0x2b9)](_0x333c09=>{const _0x2cafc5=_0x35240e,_0x42d57c=_0x333c09[_0x2cafc5(0x542)];_0x42d57c!=null&&this[_0x2cafc5(0x3e2)]&&_0x333c09['id']===_0x458230['SetTextSelectionsOperation']['id']&&_0x42d57c[_0x2cafc5(0x3ef)]===this[_0x2cafc5(0x39f)]&&_0x42d57c[_0x2cafc5(0x46b)]===!0x1&&_0x42d57c[_0x2cafc5(0x1be)][_0x2cafc5(0x5aa)]>0x0&&this[_0x2cafc5(0x33b)](_0x42d57c[_0x2cafc5(0x1be)]);})),this[_0x35240e(0x2a6)]['collabCursorState$'][_0x35240e(0x1d4)](_0x32bae4[_0x35240e(0x1d1)](this[_0x35240e(0x5af)]))[_0x35240e(0x38d)](_0x30258f=>{const _0x4cc394=_0x35240e;if((_0x30258f==null?void 0x0:_0x30258f['unitID'])!==this[_0x4cc394(0x39f)])return;const _0x2a569a={'eventID':_0x4d11e3[_0x4cc394(0x213)][_0x4cc394(0x1ef)],'data':_0x30258f};this['_onCursorUpdate'](_0x2a569a);}),this[_0x35240e(0x385)](this[_0x35240e(0x2e5)][_0x35240e(0x2b9)](_0x37bb81=>{const _0x15c6fe=_0x35240e;if(_0x37bb81[_0x15c6fe(0x542)]==null)return;const _0x8ef7da=_0x37bb81[_0x15c6fe(0x542)];if(_0x37bb81['id']!==_0x458230[_0x15c6fe(0x368)]['id']||_0x8ef7da[_0x15c6fe(0x3ef)]!==this[_0x15c6fe(0x39f)])return;const _0x1d8c86={'id':_0x15c6fe(0x1b8),'params':_0x8ef7da},_0x393e14=this['cursorInfo'];for(const [_0x2224c8,_0x3d0391]of _0x393e14){const _0x531a58={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x15c6fe(0x39f)],'actions':null,'textRanges':_0x3d0391[_0x15c6fe(0x1be)]}},_0x1e030e=this[_0x15c6fe(0x241)][_0x15c6fe(0x5d4)](_0x1d8c86,_0x531a58,!0x1);if(_0x4d11e3[_0x15c6fe(0x40d)](_0x1e030e))throw _0x1e030e[_0x15c6fe(0x35a)];_0x393e14['set'](_0x2224c8,{..._0x3d0391,'ranges':_0x1e030e[_0x15c6fe(0x3fd)][_0x15c6fe(0x542)][_0x15c6fe(0x561)]});}queueMicrotask(()=>{const _0x347e2e=_0x15c6fe;this['_cursorInfo$'][_0x347e2e(0x5dd)](_0x393e14);});})));}[_0x494bb3(0x2ee)](_0x151e4b){const _0x4b49cf=_0x494bb3;var _0x48e29d,_0x175b68;const {memberID:_0x4386d4,selection:_0x118e1e}=_0x151e4b[_0x4b49cf(0x5a3)],_0x2cfce7=_0x4d6025(_0x118e1e),_0x2c23c8=(_0x175b68=(_0x48e29d=this['_memberService'][_0x4b49cf(0x600)](this['unitID'],_0x4386d4))==null?void 0x0:_0x48e29d[_0x4b49cf(0x190)])!=null?_0x175b68:_0x4b49cf(0x1e0),_0x564834={'color':this['_colorAssignService'][_0x4b49cf(0x2f6)](_0x4386d4),'name':_0x2c23c8,'ranges':_0x2cfce7},_0x400057=this[_0x4b49cf(0x4a8)];_0x400057[_0x4b49cf(0x33d)](_0x4386d4,_0x564834),this[_0x4b49cf(0x51f)][_0x4b49cf(0x5dd)](_0x400057);}['_onCursorDelete'](_0xe71e57){const _0x399137=_0x494bb3,{memberID:_0x3ef9e2}=_0xe71e57[_0x399137(0x5a3)],_0x3633a9=this[_0x399137(0x4a8)];_0x3633a9['delete'](_0x3ef9e2),this[_0x399137(0x51f)][_0x399137(0x5dd)](_0x3633a9);}['_toggleOnline'](){const _0x3bf164=_0x494bb3;var _0x51b756;if(this[_0x3bf164(0x3e2)]=!0x0,((_0x51b756=this[_0x3bf164(0x4a7)][_0x3bf164(0x189)]())==null?void 0x0:_0x51b756[_0x3bf164(0x4dc)]())!==this['unitID'])return;const _0x2a293f=this['_injector'][_0x3bf164(0x537)](_0x458230[_0x3bf164(0x36c)])[_0x3bf164(0x33e)]();Array[_0x3bf164(0x557)](_0x2a293f)&&_0x2a293f[_0x3bf164(0x5aa)]>0x0&&this[_0x3bf164(0x33b)](_0x2a293f);}[_0x494bb3(0x27b)](){this['_online']=!0x1;}};_0x2f4723=_0x32886f([_0x34802c(0x2,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x596)])),_0x34802c(0x3,_0x5a20c3['Inject'](_0x174ccb)),_0x34802c(0x4,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x30c)])),_0x34802c(0x5,_0x5a20c3[_0x494bb3(0x57c)](_0x171169)),_0x34802c(0x6,_0x4d11e3[_0x494bb3(0x49f)]),_0x34802c(0x7,_0x5a20c3[_0x494bb3(0x17e)]),_0x34802c(0x8,_0x5a20c3[_0x494bb3(0x39a)])],_0x2f4723);var _0x19ca88=Object[_0x494bb3(0x5f8)],_0x3df78d=Object[_0x494bb3(0x51e)],_0x1200bc=(_0x50e3b1,_0x8c3ad9,_0x3d6825,_0x333f33)=>{const _0x14edbb=_0x494bb3;for(var _0x51b973=_0x333f33>0x1?void 0x0:_0x333f33?_0x3df78d(_0x8c3ad9,_0x3d6825):_0x8c3ad9,_0x547303=_0x50e3b1[_0x14edbb(0x5aa)]-0x1,_0x343adf;_0x547303>=0x0;_0x547303--)(_0x343adf=_0x50e3b1[_0x547303])&&(_0x51b973=(_0x333f33?_0x343adf(_0x8c3ad9,_0x3d6825,_0x51b973):_0x343adf(_0x51b973))||_0x51b973);return _0x333f33&&_0x51b973&&_0x19ca88(_0x8c3ad9,_0x3d6825,_0x51b973),_0x51b973;},_0x206e9f=(_0x5aebbe,_0x19bd2f)=>(_0x46074b,_0x5bbed3)=>_0x19bd2f(_0x46074b,_0x5bbed3,_0x5aebbe);const _0x315233=0x12c,_0x4c5155=0x64,_0x197a7f=()=>{let _0x4a050a=[],_0xbfc3f6=!0x1;return _0x4ebca2=>{const _0x343b50=_0x50cf;_0x4a050a[_0x343b50(0x196)](_0x4ebca2),_0xbfc3f6||(_0xbfc3f6=!0x0,setTimeout(()=>{const _0x3cfef2=_0x343b50;_0x4a050a[_0x3cfef2(0x5e8)](_0x382faf=>_0x382faf()),_0x4a050a=[],_0xbfc3f6=!0x1;}));};};let _0x455da9=class extends _0x5a20c3[_0x494bb3(0x3ed)]{constructor(_0x4ec8f1,_0x2866cd,_0xbb2375,_0x259155,_0x2c8b0a,_0x1385a7,_0x52effc,_0x17ffe2){const _0x19d775=_0x494bb3;super(),_0x3ed524(this,_0x19d775(0x3e2),!0x1),_0x3ed524(this,'_init',!0x1),_0x3ed524(this,_0x19d775(0x51f),new _0x32bae4[(_0x19d775(0x55c))](new Map())),_0x3ed524(this,_0x19d775(0x438),this[_0x19d775(0x51f)][_0x19d775(0x4fe)]()),_0x3ed524(this,_0x19d775(0x48b),new _0x32bae4[(_0x19d775(0x55c))]([])),_0x3ed524(this,_0x19d775(0x4b4),this[_0x19d775(0x48b)][_0x19d775(0x1d4)](_0x32bae4[_0x19d775(0x16e)](_0x315233))),_0x3ed524(this,_0x19d775(0x33b),_0x5a20c3[_0x19d775(0x4fa)]((_0x470530,_0x24986d)=>{const _0x38c1b4=_0x19d775,_0x2098ce={'eventID':_0x4d11e3[_0x38c1b4(0x213)][_0x38c1b4(0x1ef)],'data':{'unitID':this[_0x38c1b4(0x39f)],'memberID':this[_0x38c1b4(0x1c3)]['getMemberID'](),'selection':_0x4faec2['serializeRangeWithSheet'](_0x470530,_0x24986d['range'])}};this[_0x38c1b4(0x1c3)]['send'](_0x2098ce,this[_0x38c1b4(0x39f)]);},_0x4c5155)),(this['unitID']=_0x4ec8f1,this[_0x19d775(0x1c3)]=_0x2866cd,this[_0x19d775(0x221)]=_0xbb2375,this['_colorAssignService']=_0x259155,this['_memberService']=_0x2c8b0a,this[_0x19d775(0x4a7)]=_0x1385a7,this['_commandService']=_0x52effc,this['_refRangeService']=_0x17ffe2);}get[_0x494bb3(0x4a8)](){const _0x550b4c=_0x494bb3;return this[_0x550b4c(0x51f)][_0x550b4c(0x532)]();}get[_0x494bb3(0x5db)](){const _0x154ecc=_0x494bb3;return this['_roomMembers$'][_0x154ecc(0x532)]();}[_0x494bb3(0x173)](){const _0x4484ab=_0x494bb3;super['dispose'](),this[_0x4484ab(0x51f)][_0x4484ab(0x5dd)](new Map()),this[_0x4484ab(0x51f)][_0x4484ab(0x548)](),this[_0x4484ab(0x48b)][_0x4484ab(0x5dd)]([]),this['_roomMembers$'][_0x4484ab(0x548)]();}[_0x494bb3(0x4bc)](){const _0x5e8503=_0x494bb3;this[_0x5e8503(0x298)]||(this[_0x5e8503(0x298)]=!0x0,this[_0x5e8503(0x1c3)]['sessionStatus$']['pipe'](_0x32bae4[_0x5e8503(0x1d1)](this[_0x5e8503(0x5af)]))[_0x5e8503(0x38d)](_0x12d0a7=>{const _0x22b51f=_0x5e8503;_0x12d0a7===_0x5f2a52[_0x22b51f(0x5c1)]?this[_0x22b51f(0x522)]():this[_0x22b51f(0x27b)]();}),this[_0x5e8503(0x1c3)][_0x5e8503(0x5f6)][_0x5e8503(0x1d4)](_0x32bae4['takeUntil'](this[_0x5e8503(0x5af)]))['subscribe'](_0x48330b=>{const _0xbeceb8=_0x5e8503,_0x48baa7=_0x48330b['eventID'];_0x48baa7===_0x4d11e3['CollaborationEvent'][_0xbeceb8(0x1ef)]&&this[_0xbeceb8(0x2ee)](_0x48330b),_0x48baa7===_0x4d11e3[_0xbeceb8(0x213)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x48330b);}),this[_0x5e8503(0x346)](),this[_0x5e8503(0x385)](this[_0x5e8503(0x2e5)][_0x5e8503(0x2b9)](_0xb4f5ab=>{const _0x25f17a=_0x5e8503;if(this[_0x25f17a(0x3e2)]&&_0xb4f5ab['id']===_0x66e3f4[_0x25f17a(0x1b9)]['id']&&_0xb4f5ab[_0x25f17a(0x542)]['unitId']===this['unitID']){const _0x7b72a5=_0xb4f5ab[_0x25f17a(0x542)];this['_updateLocalCursor'](_0x7b72a5['subUnitId'],_0x7b72a5[_0x25f17a(0x466)][0x0]);}})));}['_onCursorUpdate'](_0x26aee8){const _0x4047f1=_0x494bb3;var _0x150337,_0x2a55eb;const {memberID:_0x302cbe,selection:_0x4a08c8}=_0x26aee8['data'],{sheetName:_0x259bff,range:_0x2f61ac}=_0x4faec2[_0x4047f1(0x204)](_0x4a08c8),_0x5df96f={'name':(_0x2a55eb=(_0x150337=this[_0x4047f1(0x32d)][_0x4047f1(0x600)](this[_0x4047f1(0x39f)],_0x302cbe))==null?void 0x0:_0x150337[_0x4047f1(0x190)])!=null?_0x2a55eb:'Unknown\x20user','range':this['_getMergeRange'](_0x259bff,_0x2f61ac),'sheetID':_0x259bff,'color':this['_colorAssignService'][_0x4047f1(0x2f6)](_0x302cbe),'selection':_0x4a08c8},_0x2a0bee=this[_0x4047f1(0x4a8)];_0x2a0bee['set'](_0x302cbe,_0x5df96f),this[_0x4047f1(0x51f)]['next'](_0x2a0bee);}[_0x494bb3(0x534)](_0x683f5e){const _0x1b03f4=_0x494bb3,{memberID:_0x33848a}=_0x683f5e[_0x1b03f4(0x5a3)],_0x341be2=this[_0x1b03f4(0x4a8)];_0x341be2[_0x1b03f4(0x43d)](_0x33848a),this[_0x1b03f4(0x51f)][_0x1b03f4(0x5dd)](_0x341be2);}['_getMergeRange'](_0x47f00b,_0x7949e8){const _0x18948d=_0x494bb3;var _0x65c266,_0x14b1b6;const _0x325cd4=(_0x14b1b6=(_0x65c266=this[_0x18948d(0x4a7)]['getUniverSheetInstance'](this[_0x18948d(0x39f)]))==null?void 0x0:_0x65c266[_0x18948d(0x3ea)](_0x47f00b))==null?void 0x0:_0x14b1b6['getMergeData']();return(_0x325cd4==null?void 0x0:_0x325cd4[_0x18948d(0x4d4)](_0x26b15d=>_0x5a20c3['Rectangle']['contains'](_0x26b15d,_0x7949e8)))||_0x7949e8;}[_0x494bb3(0x346)](){const _0x507143=_0x494bb3,_0x187df1=new _0x5a20c3[(_0x507143(0x3f8))](),_0x3db10d=_0x197a7f(),_0x2cc50f=()=>{const _0x55cdc9=_0x507143;_0x187df1[_0x55cdc9(0x173)]();const _0x554365=(_0x5c3b44,_0x363b24,_0x446eeb,_0x58b295)=>{const _0x28e1db=_0x55cdc9;let _0x43d325=[];switch(_0x5c3b44['id']){case _0x66e3f4['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x43d325=_0x66e3f4[_0x28e1db(0x3a6)](_0x5c3b44,_0x58b295);break;}case _0x66e3f4['EffectRefRangId'][_0x28e1db(0x4f7)]:{_0x43d325=_0x66e3f4['handleDeleteRangeMoveUp'](_0x5c3b44,_0x58b295);break;}case _0x66e3f4[_0x28e1db(0x471)]['InsertColCommandId']:{_0x43d325=_0x66e3f4[_0x28e1db(0x18b)](_0x5c3b44,_0x58b295);break;}case _0x66e3f4[_0x28e1db(0x471)][_0x28e1db(0x5a5)]:{_0x43d325=_0x66e3f4[_0x28e1db(0x24e)](_0x5c3b44,_0x58b295);break;}case _0x66e3f4[_0x28e1db(0x471)]['InsertRangeMoveRightCommandId']:{_0x43d325=_0x66e3f4[_0x28e1db(0x43e)](_0x5c3b44,_0x58b295);break;}case _0x66e3f4[_0x28e1db(0x471)]['InsertRowCommandId']:{_0x43d325=_0x66e3f4[_0x28e1db(0x3dc)](_0x5c3b44,_0x58b295);break;}case _0x66e3f4[_0x28e1db(0x471)][_0x28e1db(0x4fc)]:{_0x43d325=_0x66e3f4['handleMoveRange'](_0x5c3b44,_0x58b295);break;}case _0x66e3f4[_0x28e1db(0x471)]['RemoveColCommandId']:{_0x43d325=_0x66e3f4[_0x28e1db(0x4ff)](_0x5c3b44,_0x58b295);break;}case _0x66e3f4[_0x28e1db(0x471)][_0x28e1db(0x223)]:{_0x43d325=_0x66e3f4[_0x28e1db(0x256)](_0x5c3b44,_0x58b295);break;}}const _0x4c1664=_0x66e3f4['runRefRangeMutations'](_0x43d325,_0x58b295),_0x30c909=this[_0x28e1db(0x4a8)][_0x28e1db(0x537)](_0x363b24);if(_0x30c909&&_0x4c1664){const _0xe54adf={..._0x30c909,'range':_0x4c1664};this['cursorInfo']['set'](_0x363b24,_0xe54adf),_0x3db10d(()=>{const _0x3321ab=_0x28e1db,_0x57a7bd=this['_refRangeService'][_0x3321ab(0x2e1)](_0x4c1664,_0x3ef79d=>(_0x57a7bd[_0x3321ab(0x173)](),_0x554365(_0x3ef79d,_0x363b24,_0x446eeb,_0x4c1664)));_0x187df1[_0x3321ab(0x492)](_0x57a7bd);});}return{'redos':[],'undos':[]};};this[_0x55cdc9(0x4a8)]['forEach']((_0x5d99ce,_0x21c62b)=>{const _0x40d707=_0x55cdc9,{range:_0x54f577,sheetID:_0x1d77a0}=_0x5d99ce,_0x2551bb=this[_0x40d707(0x5b8)][_0x40d707(0x2e1)](_0x54f577,_0x16350f=>(_0x2551bb[_0x40d707(0x173)](),_0x554365(_0x16350f,_0x21c62b,_0x1d77a0,_0x54f577)));_0x187df1[_0x40d707(0x492)](_0x2551bb);});};this['disposeWithMe'](_0x5a20c3['toDisposable'](this[_0x507143(0x51f)]['subscribe'](()=>{_0x2cc50f();})));}['_toggleOnline'](){const _0xf95ba4=_0x494bb3;var _0xa50414,_0x14030f;if(this[_0xf95ba4(0x3e2)]=!0x0,((_0xa50414=this[_0xf95ba4(0x4a7)][_0xf95ba4(0x189)]())==null?void 0x0:_0xa50414[_0xf95ba4(0x4dc)]())!==this[_0xf95ba4(0x39f)])return;const _0x307abb=(_0x14030f=this[_0xf95ba4(0x221)][_0xf95ba4(0x537)](_0x66e3f4[_0xf95ba4(0x3d6)])[_0xf95ba4(0x593)]())==null?void 0x0:_0x14030f[0x0],_0x56688b=this[_0xf95ba4(0x4a7)][_0xf95ba4(0x42f)](_0x5a20c3['UniverInstanceType'][_0xf95ba4(0x329)])['getActiveSheet']();_0x307abb&&_0x56688b&&this[_0xf95ba4(0x33b)](_0x56688b['getSheetId'](),_0x307abb);}['_toggleOffline'](){const _0x11dcb2=_0x494bb3;this[_0x11dcb2(0x3e2)]=!0x1;}};_0x455da9=_0x1200bc([_0x206e9f(0x2,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3['Injector'])),_0x206e9f(0x3,_0x5a20c3[_0x494bb3(0x57c)](_0x174ccb)),_0x206e9f(0x4,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x30c)])),_0x206e9f(0x5,_0x5a20c3[_0x494bb3(0x17e)]),_0x206e9f(0x6,_0x5a20c3[_0x494bb3(0x39a)]),_0x206e9f(0x7,_0x5a20c3['Inject'](_0x66e3f4[_0x494bb3(0x43c)]))],_0x455da9);var _0x28b6b9=Object[_0x494bb3(0x5f8)],_0x20485e=Object[_0x494bb3(0x51e)],_0x5526f0=(_0x2852ca,_0x123c7c,_0x492803,_0x2805d8)=>{for(var _0x3bdb1f=_0x2805d8>0x1?void 0x0:_0x2805d8?_0x20485e(_0x123c7c,_0x492803):_0x123c7c,_0x56a520=_0x2852ca['length']-0x1,_0x55ab01;_0x56a520>=0x0;_0x56a520--)(_0x55ab01=_0x2852ca[_0x56a520])&&(_0x3bdb1f=(_0x2805d8?_0x55ab01(_0x123c7c,_0x492803,_0x3bdb1f):_0x55ab01(_0x3bdb1f))||_0x3bdb1f);return _0x2805d8&&_0x3bdb1f&&_0x28b6b9(_0x123c7c,_0x492803,_0x3bdb1f),_0x3bdb1f;},_0x10e906=(_0xa91b68,_0x8d4b6f)=>(_0x4b737e,_0x3d5412)=>_0x8d4b6f(_0x4b737e,_0x3d5412,_0xa91b68);let _0x36312d=class extends _0x5a20c3[_0x494bb3(0x3ed)]{constructor(_0x473bde,_0xaf87e0,_0x62322b){const _0x1da12f=_0x494bb3;super(),_0x3ed524(this,_0x1da12f(0x4da),new Map()),_0x3ed524(this,_0x1da12f(0x17a),new _0x32bae4[(_0x1da12f(0x20b))]()),(this[_0x1da12f(0x4a7)]=_0x473bde,this[_0x1da12f(0x221)]=_0xaf87e0,this[_0x1da12f(0x50c)]=_0x62322b,this[_0x1da12f(0x298)]());}[_0x494bb3(0x173)](){const _0x44b7f3=_0x494bb3;super[_0x44b7f3(0x173)](),this[_0x44b7f3(0x17a)][_0x44b7f3(0x548)](),this[_0x44b7f3(0x4da)][_0x44b7f3(0x5e8)](_0x52dd90=>_0x52dd90[_0x44b7f3(0x173)]());}[_0x494bb3(0x1c0)](_0xf168c9){const _0x498dbc=_0x494bb3;return this[_0x498dbc(0x4da)][_0x498dbc(0x4a3)](_0xf168c9)?this[_0x498dbc(0x4da)][_0x498dbc(0x537)](_0xf168c9)['cursorInfo$']:this[_0x498dbc(0x17a)][_0x498dbc(0x1d4)](_0x32bae4[_0x498dbc(0x264)](_0xc2b799=>_0xc2b799[_0x498dbc(0x39f)]===_0xf168c9),_0x32bae4[_0x498dbc(0x3b2)](_0x211c39=>_0x211c39['cursorInfo$']));}[_0x494bb3(0x298)](){const _0x248a13=_0x494bb3;this[_0x248a13(0x4a7)][_0x248a13(0x465)](_0x5a20c3['UniverInstanceType'][_0x248a13(0x329)])[_0x248a13(0x1d4)](_0x32bae4[_0x248a13(0x1d1)](this[_0x248a13(0x5af)]))[_0x248a13(0x38d)](async _0x3707bf=>{const _0x30e728=_0x248a13,_0x2640d2=_0x3707bf['getUnitId'](),_0x8bb756=await this[_0x30e728(0x219)](_0x2640d2);this[_0x30e728(0x17a)][_0x30e728(0x5dd)](_0x8bb756),this['_entities']['set'](_0x2640d2,_0x8bb756);}),this[_0x248a13(0x4a7)][_0x248a13(0x465)](_0x5a20c3[_0x248a13(0x4c5)][_0x248a13(0x512)])['pipe'](_0x32bae4['takeUntil'](this[_0x248a13(0x5af)]))['pipe'](_0x32bae4[_0x248a13(0x264)](_0x1f654a=>!_0x1f654a['getUnitId']()['startsWith']('__')))[_0x248a13(0x38d)](async _0x53f67f=>{const _0x54a174=_0x248a13,_0x2ac87d=_0x53f67f[_0x54a174(0x4dc)](),_0x10005c=await this[_0x54a174(0x1b6)](_0x2ac87d);this[_0x54a174(0x17a)][_0x54a174(0x5dd)](_0x10005c),this[_0x54a174(0x4da)][_0x54a174(0x33d)](_0x2ac87d,_0x10005c);}),_0x32bae4[_0x248a13(0x3fc)](this['_univerInstanceService'][_0x248a13(0x5f4)](_0x5a20c3[_0x248a13(0x4c5)][_0x248a13(0x512)]),this[_0x248a13(0x4a7)][_0x248a13(0x5f4)](_0x5a20c3[_0x248a13(0x4c5)][_0x248a13(0x329)]))[_0x248a13(0x1d4)](_0x32bae4['takeUntil'](this[_0x248a13(0x5af)]))['subscribe'](_0x1865cb=>{const _0x167083=_0x248a13,_0x188ac6=_0x1865cb[_0x167083(0x4dc)](),_0x3e48e3=this[_0x167083(0x4da)][_0x167083(0x537)](_0x188ac6);_0x3e48e3&&(_0x3e48e3[_0x167083(0x173)](),this[_0x167083(0x4da)]['delete'](_0x188ac6));});}async[_0x494bb3(0x219)](_0x547f40){const _0x243024=_0x494bb3,_0x1d4ada=await this['_collabSessionService'][_0x243024(0x3b7)](_0x547f40),_0x4aeb3a=this[_0x243024(0x221)][_0x243024(0x566)](_0x455da9,_0x547f40,_0x1d4ada);return _0x4aeb3a[_0x243024(0x4bc)](),_0x4aeb3a;}async[_0x494bb3(0x1b6)](_0x39a550){const _0x129a6f=_0x494bb3,_0x40e587=await this[_0x129a6f(0x50c)][_0x129a6f(0x3b7)](_0x39a550),_0x450d35=this[_0x129a6f(0x221)]['createInstance'](_0x2f4723,_0x39a550,_0x40e587);return _0x450d35[_0x129a6f(0x4bc)](),_0x450d35;}};_0x36312d=_0x5526f0([_0x10e906(0x0,_0x5a20c3[_0x494bb3(0x17e)]),_0x10e906(0x1,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x596)])),_0x10e906(0x2,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1a9)]))],_0x36312d);const _0x23f988=0x14,_0x579133=0xc8,_0x2afb29=0x4,_0x205b2b=0x5;function _0x3e2f50(_0x4859bb,_0x1bbf9a){const _0x21d4bd=_0x494bb3;let {radius:_0x481cd8,width:_0x1de9bb,height:_0x46ece0}=_0x1bbf9a;_0x481cd8=_0x481cd8!=null?_0x481cd8:0x0,_0x1de9bb=_0x1de9bb!=null?_0x1de9bb:0x1e,_0x46ece0=_0x46ece0!=null?_0x46ece0:0x1e;let _0x54e64f=0x0,_0x35338d=0x0,_0x42e0fe=0x0;_0x54e64f=_0x35338d=_0x42e0fe=Math[_0x21d4bd(0x22a)](_0x481cd8,_0x1de9bb/0x2,_0x46ece0/0x2),_0x4859bb['beginPath'](),_0x4859bb['moveTo'](_0x54e64f,0x0),_0x4859bb[_0x21d4bd(0x168)](_0x1de9bb-_0x35338d,0x0),_0x4859bb['arc'](_0x1de9bb-_0x35338d,_0x35338d,_0x35338d,Math['PI']*0x3/0x2,0x0,!0x1),_0x4859bb[_0x21d4bd(0x168)](_0x1de9bb,_0x46ece0-_0x42e0fe),_0x4859bb[_0x21d4bd(0x493)](_0x1de9bb-_0x42e0fe,_0x46ece0-_0x42e0fe,_0x42e0fe,0x0,Math['PI']/0x2,!0x1),_0x4859bb[_0x21d4bd(0x168)](0x0,_0x46ece0),_0x4859bb[_0x21d4bd(0x168)](0x0,_0x54e64f),_0x4859bb[_0x21d4bd(0x493)](_0x54e64f,_0x54e64f,_0x54e64f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4859bb[_0x21d4bd(0x5f9)](),_0x1bbf9a['fill']&&(_0x4859bb[_0x21d4bd(0x3c3)](),_0x4859bb['fillStyle']=_0x1bbf9a[_0x21d4bd(0x2a9)],_0x1bbf9a[_0x21d4bd(0x3e6)]===_0x21d4bd(0x432)?_0x4859bb[_0x21d4bd(0x2a9)](_0x21d4bd(0x432)):_0x4859bb[_0x21d4bd(0x2a9)](),_0x4859bb[_0x21d4bd(0x538)]());}class _0x117ccd extends _0x5c31a6['Shape']{constructor(_0x11b354,_0x41f137){const _0x39c8dd=_0x494bb3;super(_0x11b354,_0x41f137),_0x3ed524(this,_0x39c8dd(0x28e)),_0x3ed524(this,_0x39c8dd(0x506)),(this['color']=_0x41f137==null?void 0x0:_0x41f137[_0x39c8dd(0x28e)],this[_0x39c8dd(0x506)]=_0x41f137==null?void 0x0:_0x41f137[_0x39c8dd(0x506)]);}static[_0x494bb3(0x2cd)](_0x526be9,_0xad46dc){const _0x59d9c3=_0x494bb3,{text:_0x310886,color:_0x1e79ba}=_0xad46dc;_0x526be9['save'](),_0x526be9[_0x59d9c3(0x275)]=_0x59d9c3(0x377);const _0x365578=_0x526be9[_0x59d9c3(0x1bc)](_0x310886)[_0x59d9c3(0x263)],_0x56ded6=Math['min'](_0x365578+0x2*_0x2afb29,_0x579133);_0x3e2f50(_0x526be9,{'height':_0x23f988,'radius':0x4,'width':_0x56ded6,'fill':_0x1e79ba,'evented':!0x1}),_0x526be9[_0x59d9c3(0x33a)]=_0x59d9c3(0x266);const _0x5d9919=_0x2afb29,_0x7c947b=_0x23f988-_0x205b2b,_0x425238=_0x579133-0x2*_0x2afb29;if(_0x365578>_0x425238){let _0x5b405e='',_0x48b9cc=0x0;for(const _0x1ce76e of _0x310886){const _0x229c3b=_0x526be9['measureText'](_0x1ce76e)[_0x59d9c3(0x263)];if(_0x48b9cc+_0x229c3b<=_0x425238-_0x526be9[_0x59d9c3(0x1bc)](_0x59d9c3(0x31d))[_0x59d9c3(0x263)])_0x5b405e+=_0x1ce76e,_0x48b9cc+=_0x229c3b;else{_0x5b405e+=_0x59d9c3(0x31d);break;}}_0x526be9['fillText'](_0x5b405e,_0x5d9919,_0x7c947b);}else _0x526be9['fillText'](_0x310886,_0x5d9919,_0x7c947b);_0x526be9['restore']();}[_0x494bb3(0x267)](_0x51d73b){const _0x2bbf21=_0x494bb3;_0x117ccd[_0x2bbf21(0x2cd)](_0x51d73b,this);}}const _0xe693de=_0x494bb3(0x4ed),_0x1060fc=_0x494bb3(0x4ea),_0x159b8b=_0x494bb3(0x423),_0x232754=0x6,_0x232410=1.5,_0x44d664=0x4,_0x3ef0c6=1.5,_0x4ad54d='rgba(255,\x20255,\x20255,\x200.01)';class _0x59ef96{constructor(_0x263682,_0x38f3d8,_0x1e3d5d,_0x14a7d4){const _0x2ea7b1=_0x494bb3;_0x3ed524(this,_0x2ea7b1(0x4e1),[]),_0x3ed524(this,_0x2ea7b1(0x490),null),_0x3ed524(this,_0x2ea7b1(0x5f7),null),_0x3ed524(this,'_anchorDot',null),_0x3ed524(this,_0x2ea7b1(0x2ff),null),_0x3ed524(this,'_eventUnsubscribe',null),(this[_0x2ea7b1(0x425)]=_0x263682,this['_scene']=_0x38f3d8,this[_0x2ea7b1(0x504)]=_0x1e3d5d,this['_document']=_0x14a7d4,this[_0x2ea7b1(0x3cb)]());}set[_0x494bb3(0x5a1)](_0x3106ed){const _0x45c50f=_0x494bb3;_0x3106ed?(this[_0x45c50f(0x1f9)]&&this[_0x45c50f(0x1f9)]['hide'](),this[_0x45c50f(0x5f7)]&&this[_0x45c50f(0x5f7)][_0x45c50f(0x478)]()):(this[_0x45c50f(0x1f9)]&&this[_0x45c50f(0x1f9)][_0x45c50f(0x478)](),this[_0x45c50f(0x5f7)]&&this[_0x45c50f(0x5f7)][_0x45c50f(0x246)]());}[_0x494bb3(0x173)](){const _0x17977f=_0x494bb3;for(const _0x16009a of this[_0x17977f(0x4e1)])_0x16009a[_0x17977f(0x173)]();this[_0x17977f(0x5f7)]&&this[_0x17977f(0x5f7)][_0x17977f(0x173)](),this[_0x17977f(0x1f9)]&&this[_0x17977f(0x1f9)][_0x17977f(0x173)](),this['_anchor']&&this[_0x17977f(0x490)][_0x17977f(0x173)](),this[_0x17977f(0x2ce)]&&this[_0x17977f(0x2ce)]();}[_0x494bb3(0x3cb)](){const _0x4e2d47=_0x494bb3;var _0x40e54e;const {_docSkeleton:_0x453497,_document:_0x2bc507}=this,{color:_0x304f25,name:_0x4942f6,ranges:_0x3b5f26}=this[_0x4e2d47(0x425)],_0x476244=_0x2bc507['getOffsetConfig'](),{docsLeft:_0x444784,docsTop:_0x1934f3}=_0x476244,_0x303a01=new _0xe07534[(_0x4e2d47(0x3d5))](_0x476244,_0x453497);for(const {startOffset:_0x3b31cb,endOffset:_0x25367b,rangeType:_0x39e4fe,segmentId:_0xea4de7,segmentPage:_0x300628,collapsed:_0x24f4d6,isActive:_0x354a82}of _0x3b5f26){const _0x429093=_0x453497['findNodePositionByCharIndex'](_0x3b31cb,!0x0,_0xea4de7,_0x300628);let _0x36dd5f=_0x453497[_0x4e2d47(0x39b)](_0x25367b,!0x0,_0xea4de7,_0x300628);if(_0x36dd5f==null&&(_0x36dd5f=_0x453497['findNodePositionByCharIndex'](_0x25367b-0x1,!0x1,_0xea4de7,_0x300628)),_0x354a82){const {contentBoxPointGroup:_0x42a7ed}=_0x303a01[_0x4e2d47(0x1f5)](_0x36dd5f,_0x36dd5f);if(_0x42a7ed[_0x4e2d47(0x5aa)]===0x0)continue;this[_0x4e2d47(0x1f2)](_0x304f25,_0x42a7ed,_0x444784,_0x1934f3,_0x4942f6),this[_0x4e2d47(0x2ce)]=this[_0x4e2d47(0x4b2)]();}if(!_0x24f4d6&&_0x429093&&_0x36dd5f){if(_0x39e4fe===_0x5a20c3[_0x4e2d47(0x244)][_0x4e2d47(0x1d5)]){const _0xca3916=new _0xe07534[(_0x4e2d47(0x43a))](_0x476244,_0x453497),{pointGroup:_0x3f27dd}=(_0x40e54e=_0xca3916[_0x4e2d47(0x1f5)](_0x429093,_0x36dd5f))!=null?_0x40e54e:{};if(_0x3f27dd==null||_0x3f27dd[_0x4e2d47(0x5aa)]===0x0)continue;this['_drawRectRange'](_0x304f25,_0x3f27dd,_0x444784,_0x1934f3);}else{const {borderBoxPointGroup:_0x2aa694}=_0x303a01[_0x4e2d47(0x1f5)](_0x429093,_0x36dd5f);if(_0x2aa694[_0x4e2d47(0x5aa)]===0x0)continue;this[_0x4e2d47(0x278)](_0x304f25,_0x2aa694,_0x444784,_0x1934f3);}}}}[_0x494bb3(0x1f2)](_0x2e0de7,_0x39e3ac,_0x512728,_0x4762ef,_0x9a94bc){const _0xbc251c=_0x494bb3,_0x7c5106=this[_0xbc251c(0x352)](_0x39e3ac),{left:_0x214de5,top:_0x1f609d,height:_0x3820a1}=_0x7c5106,_0x592be4=this[_0xbc251c(0x248)](),_0x3839e0=_0x3ef0c6/_0x592be4,_0x59fb50=new _0x5c31a6[(_0xbc251c(0x56a))](_0xe693de+_0x5a20c3[_0xbc251c(0x5ad)][_0xbc251c(0x310)](_0x232754),{'left':_0x214de5+_0x512728-_0x3839e0,'top':_0x1f609d+_0x4762ef,'height':_0x3820a1,'width':_0x232410,'fill':_0x2e0de7||_0x5c31a6[_0xbc251c(0x4be)](_0x5a20c3[_0xbc251c(0x1cf)][_0xbc251c(0x199)],0x0),'strokeWidth':_0x3839e0,'stroke':_0x4ad54d,'evented':!0x0});this[_0xbc251c(0x490)]=_0x59fb50,this[_0xbc251c(0x5c3)]['addObject'](_0x59fb50,_0xe07534[_0xbc251c(0x551)]);const _0x1b8ab3=new _0x5c31a6['Rect'](_0xe693de+_0x5a20c3[_0xbc251c(0x5ad)][_0xbc251c(0x310)](_0x232754),{'left':_0x214de5+_0x512728-_0x3839e0,'top':_0x1f609d+_0x4762ef-_0x44d664/0x2,'height':_0x44d664,'width':_0x44d664,'fill':_0x2e0de7||_0x5c31a6[_0xbc251c(0x4be)](_0x5a20c3['COLORS'][_0xbc251c(0x199)],0x0),'strokeWidth':0x0,'stroke':_0x2e0de7||_0x5c31a6[_0xbc251c(0x4be)](_0x5a20c3[_0xbc251c(0x1cf)]['black'],0x0),'evented':!0x1});this[_0xbc251c(0x1f9)]=_0x1b8ab3,this['_scene']['addObject'](_0x1b8ab3,_0xe07534['TEXT_RANGE_LAYER_INDEX']);const _0x50b3a5=new _0x117ccd(_0xe693de+_0x5a20c3[_0xbc251c(0x5ad)]['generateRandomId'](_0x232754),{'left':_0x214de5+_0x512728-_0x3839e0,'top':_0x1f609d+_0x4762ef-_0x23f988,'text':_0x9a94bc,'color':_0x2e0de7});this[_0xbc251c(0x5f7)]=_0x50b3a5,this[_0xbc251c(0x5c3)][_0xbc251c(0x3b6)](_0x50b3a5,_0xe07534['TEXT_RANGE_LAYER_INDEX']),this[_0xbc251c(0x5a1)]=!0x1;}[_0x494bb3(0x4b2)](){const _0x311c46=_0x494bb3,_0x1eeae6=this[_0x311c46(0x490)][_0x311c46(0x32e)][_0x311c46(0x332)](()=>{const _0x1f99e2=_0x311c46;this[_0x1f99e2(0x5a1)]=!0x0;}),_0x6d43ed=this['_anchor']['onPointerLeave$']['subscribeEvent'](()=>{const _0x3c9938=_0x311c46;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x3c9938(0x2ff)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3f0910=_0x311c46;_0x1eeae6[_0x3f0910(0x365)](),_0x6d43ed[_0x3f0910(0x365)]();};}['_drawTextRange'](_0x23f109,_0x53c450,_0xa6af03,_0x45b7fc){const _0x911b1d=_0x494bb3,_0x5f5af4=new _0x5a20c3[(_0x911b1d(0x30d))](_0x23f109)[_0x911b1d(0x59e)](0.2)['toRgbString'](),_0xd5092c=new _0x5c31a6[(_0x911b1d(0x50f))](_0x1060fc+_0x5a20c3['Tools'][_0x911b1d(0x310)](_0x232754),{'pointsGroup':_0x53c450,'fill':_0x5f5af4||_0x5c31a6[_0x911b1d(0x4be)](_0x5a20c3[_0x911b1d(0x1cf)][_0x911b1d(0x199)],0.2),'left':_0xa6af03,'top':_0x45b7fc,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x911b1d(0x4e1)][_0x911b1d(0x196)](_0xd5092c),this[_0x911b1d(0x5c3)]['addObject'](_0xd5092c,_0xe07534[_0x911b1d(0x551)]);}[_0x494bb3(0x1a5)](_0x5a6b6a,_0x2ad024,_0x20fe26,_0x17d43a){const _0x5c3e4f=_0x494bb3,_0x27f901=new _0x5a20c3[(_0x5c3e4f(0x30d))](_0x5a6b6a)[_0x5c3e4f(0x59e)](0.2)['toRgbString'](),_0x486f62=new _0x5c31a6[(_0x5c3e4f(0x50f))](_0x159b8b+_0x5a20c3['Tools']['generateRandomId'](_0x232754),{'pointsGroup':_0x2ad024,'fill':_0x27f901||_0x5c31a6['getColor'](_0x5a20c3[_0x5c3e4f(0x1cf)][_0x5c3e4f(0x199)],0.2),'left':_0x20fe26,'top':_0x17d43a,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5c3e4f(0x196)](_0x486f62),this['_scene'][_0x5c3e4f(0x3b6)](_0x486f62,_0xe07534[_0x5c3e4f(0x551)]);}[_0x494bb3(0x352)](_0x2ae14f){const _0x3566ca=_0x2ae14f[0x0],_0x416178=_0x3566ca[0x0],_0x104bdc=_0x3566ca[0x2],{x:_0x3a0282,y:_0x4771a5}=_0x416178,{x:_0x5ee9d3,y:_0x464c91}=_0x104bdc;return{'left':_0x3a0282,'top':_0x4771a5,'width':_0x5ee9d3-_0x3a0282,'height':_0x464c91-_0x4771a5};}[_0x494bb3(0x248)](){const _0x430dcd=_0x494bb3,{scaleX:_0x54ebfa,scaleY:_0x46a3d7}=this['_scene']['getAncestorScale']();return Math[_0x430dcd(0x547)](_0x54ebfa,_0x46a3d7);}}var _0x2c88b1=Object[_0x494bb3(0x5f8)],_0x245057=Object[_0x494bb3(0x51e)],_0x26d27a=(_0x5a8fa1,_0xa0de22,_0x73e6d7,_0x492fd6)=>{const _0x1facfa=_0x494bb3;for(var _0x41a590=_0x492fd6>0x1?void 0x0:_0x492fd6?_0x245057(_0xa0de22,_0x73e6d7):_0xa0de22,_0x51eccd=_0x5a8fa1[_0x1facfa(0x5aa)]-0x1,_0x1bd0fa;_0x51eccd>=0x0;_0x51eccd--)(_0x1bd0fa=_0x5a8fa1[_0x51eccd])&&(_0x41a590=(_0x492fd6?_0x1bd0fa(_0xa0de22,_0x73e6d7,_0x41a590):_0x1bd0fa(_0x41a590))||_0x41a590);return _0x492fd6&&_0x41a590&&_0x2c88b1(_0xa0de22,_0x73e6d7,_0x41a590),_0x41a590;},_0x1f0166=(_0x5339f5,_0x33ee92)=>(_0x4eec6e,_0x201937)=>_0x33ee92(_0x4eec6e,_0x201937,_0x5339f5);let _0x33ad6d=class extends _0x5a20c3[_0x494bb3(0x3ed)]{constructor(_0xd0aedd,_0x542501,_0xfb126e,_0x1f70ef,_0x1f3864){const _0x4e0a3a=_0x494bb3;super(),_0x3ed524(this,_0x4e0a3a(0x540),[]),_0x3ed524(this,'_cursors',[]),(this['_context']=_0xd0aedd,this[_0x4e0a3a(0x570)]=_0x542501,this[_0x4e0a3a(0x2d7)]=_0xfb126e,this[_0x4e0a3a(0x2e5)]=_0x1f70ef,this[_0x4e0a3a(0x45d)]=_0x1f3864,this['_init']());}[_0x494bb3(0x298)](){const _0xc13ae5=_0x494bb3,_0x465315=this[_0xc13ae5(0x43b)][_0xc13ae5(0x3ef)],_0x5b1006=this['_docSkeletonManagerService'];this[_0xc13ae5(0x385)](_0x32bae4[_0xc13ae5(0x5eb)]([this['_collabCursorController'][_0xc13ae5(0x1c0)](_0x465315),this['_themeService'][_0xc13ae5(0x192)]])[_0xc13ae5(0x1d4)](_0x51e720[_0xc13ae5(0x48f)](([_0x5ebb60,_0x1152fb])=>({'skeleton':_0x5b1006[_0xc13ae5(0x229)](),'cursors':[..._0x5ebb60[_0xc13ae5(0x4f0)]()][_0xc13ae5(0x4b1)](_0x14c741=>({..._0x14c741,'color':_0x1152fb[_0x14c741[_0xc13ae5(0x28e)]]}))})))[_0xc13ae5(0x38d)](_0x589d54=>{const _0x5ad712=_0xc13ae5;if(this['_removeCollabCursors'](),_0x589d54){const {skeleton:_0x1e8644,cursors:_0x2cd42d}=_0x589d54;this[_0x5ad712(0x462)](_0x1e8644,_0x2cd42d);}})),this['_initResize'](),this[_0xc13ae5(0x3b8)]();}['_updateCollabCursors'](_0x1a4a74,_0x3e05f4){const _0x7e3a7b=_0x494bb3,{scene:_0x21e3b7,mainComponent:_0x5da4d6}=this[_0x7e3a7b(0x43b)],_0x52be05=_0x3e05f4['map'](_0x14f841=>new _0x59ef96(_0x14f841,_0x21e3b7,_0x1a4a74,_0x5da4d6));this['_cursorShapes']=_0x52be05,this['_cursors']=_0x3e05f4;}[_0x494bb3(0x2b0)](){const _0x5c030=_0x494bb3;this['_removeCollabCursors']();const {scene:_0x4a4c37,mainComponent:_0x31da83}=this[_0x5c030(0x43b)],_0x2d0442=this['_docSkeletonManagerService']['getSkeleton'](),_0x39b8e8=this[_0x5c030(0x1a7)][_0x5c030(0x48f)](_0x3d7e3e=>new _0x59ef96(_0x3d7e3e,_0x4a4c37,_0x2d0442,_0x31da83));this[_0x5c030(0x540)]=_0x39b8e8;}[_0x494bb3(0x479)](){const _0x59fdaa=_0x494bb3;this[_0x59fdaa(0x540)]['forEach'](_0x5cbb1d=>_0x5cbb1d['dispose']()),this['_cursorShapes']=[];}[_0x494bb3(0x3b8)](){const _0x474536=_0x494bb3,_0x4b2ce2=[_0xe07534[_0x474536(0x19b)]['id']];this['disposeWithMe'](this[_0x474536(0x2e5)][_0x474536(0x2b9)](_0x4bd9c0=>{const _0x536b1f=_0x474536;_0x4b2ce2[_0x536b1f(0x1ae)](_0x4bd9c0['id'])&&_0x4bd9c0[_0x536b1f(0x542)][_0x536b1f(0x3ef)]===this[_0x536b1f(0x43b)][_0x536b1f(0x3ef)]&&this[_0x536b1f(0x2b0)]();}));}[_0x494bb3(0x4c4)](){const _0x5b7fc0=_0x494bb3;this[_0x5b7fc0(0x385)](_0x5a20c3[_0x5b7fc0(0x4db)](this[_0x5b7fc0(0x43b)][_0x5b7fc0(0x2fa)][_0x5b7fc0(0x174)])[_0x5b7fc0(0x1d4)](_0x51e720['filter'](_0x4c003e=>_0x4c003e[_0x5b7fc0(0x351)]===_0x5c31a6[_0x5b7fc0(0x5df)]['resize']),_0x51e720[_0x5b7fc0(0x5a6)](0x10))[_0x5b7fc0(0x38d)](()=>{this['_refreshCollabCursors']();}));}};_0x33ad6d=_0x26d27a([_0x1f0166(0x1,_0x5a20c3[_0x494bb3(0x57c)](_0x458230[_0x494bb3(0x4cf)])),_0x1f0166(0x2,_0x5a20c3[_0x494bb3(0x57c)](_0x36312d)),_0x1f0166(0x3,_0x5a20c3[_0x494bb3(0x39a)]),_0x1f0166(0x4,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x36b)]))],_0x33ad6d);const _0x4b7218=0x1,_0x489427=1.5;class _0x289d4b extends _0x5c31a6[_0x494bb3(0x3cd)]{constructor(_0x4dbb38,_0x192823){const _0x4a48bc=_0x494bb3;super(_0x4dbb38,_0x192823),_0x3ed524(this,_0x4a48bc(0x576)),_0x3ed524(this,_0x4a48bc(0x508),!0x1),_0x3ed524(this,_0x4a48bc(0x453)),_0x3ed524(this,'_name',''),_0x3ed524(this,'_labelPosition',_0x4a48bc(0x5e6)),_0x3ed524(this,_0x4a48bc(0x431)),(_0x192823&&this['setShapeProps'](_0x192823),this[_0x4a48bc(0x32e)][_0x4a48bc(0x332)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x4a48bc(0x332)](()=>this[_0x4a48bc(0x158)]({'hovered':!0x1})));}[_0x494bb3(0x158)](_0x1f0f82){const _0x262b1f=_0x494bb3;var _0x121f54,_0x277254,_0x7a085b,_0x4b00db,_0x5b2802,_0x8b05d0;this[_0x262b1f(0x576)]=(_0x121f54=_0x1f0f82['color'])!=null?_0x121f54:this[_0x262b1f(0x576)],this['_hovered']=(_0x277254=_0x1f0f82[_0x262b1f(0x461)])!=null?_0x277254:this[_0x262b1f(0x508)],this[_0x262b1f(0x453)]=(_0x7a085b=_0x1f0f82[_0x262b1f(0x4a5)])!=null?_0x7a085b:this[_0x262b1f(0x453)],this['_name']=(_0x4b00db=_0x1f0f82[_0x262b1f(0x190)])!=null?_0x4b00db:this[_0x262b1f(0x474)],this[_0x262b1f(0x511)]=(_0x5b2802=_0x1f0f82[_0x262b1f(0x1e7)])!=null?_0x5b2802:this['_labelPosition'],this['_backgroundColor']=(_0x8b05d0=_0x1f0f82['backgroundColor'])!=null?_0x8b05d0:this['_backgroundColor'],this[_0x262b1f(0x303)]({'width':_0x1f0f82[_0x262b1f(0x263)],'height':_0x1f0f82[_0x262b1f(0x5ec)]});}[_0x494bb3(0x584)](_0xa2d8c5){const _0x144bb4=_0x494bb3,{row:_0x36ac43,column:_0x25bdf3}=_0xa2d8c5;if(_0x36ac43>=this[_0x144bb4(0x453)][_0x144bb4(0x1b4)]&&_0x36ac43<=this[_0x144bb4(0x453)][_0x144bb4(0x18a)]&&_0x25bdf3>=this[_0x144bb4(0x453)][_0x144bb4(0x1fd)]&&_0x25bdf3<=this[_0x144bb4(0x453)]['endColumn']){this[_0x144bb4(0x158)]({'hovered':!0x0});return;}this[_0x144bb4(0x158)]({'hovered':!0x1});}['triggerDblclick'](_0x28b3c4){return!0x1;}[_0x494bb3(0x267)](_0x3a9dbf){const _0x519692=_0x494bb3;_0x5c31a6[_0x519692(0x56a)]['drawWith'](_0x3a9dbf,{'width':this['width'],'height':this[_0x519692(0x5ec)],'strokeWidth':_0x489427,'stroke':this[_0x519692(0x576)],'evented':!0x1,'fill':this[_0x519692(0x431)]}),this['_hovered']&&(_0x3a9dbf['save'](),_0x3a9dbf[_0x519692(0x408)](0x1,0x0,0x0,0x1,this[_0x519692(0x263)],this['_labelPosition']===_0x519692(0x38a)?0x0:-_0x23f988),_0x117ccd[_0x519692(0x2cd)](_0x3a9dbf,{'text':this[_0x519692(0x474)],'color':this[_0x519692(0x576)]}),_0x3a9dbf[_0x519692(0x538)]());}}var _0x2f3d78=Object[_0x494bb3(0x5f8)],_0x45d5ff=Object['getOwnPropertyDescriptor'],_0x4d13f=(_0x33c73a,_0xe749e7,_0x2582ac,_0x230140)=>{const _0x2a6e01=_0x494bb3;for(var _0x15a471=_0x230140>0x1?void 0x0:_0x230140?_0x45d5ff(_0xe749e7,_0x2582ac):_0xe749e7,_0x17ba56=_0x33c73a[_0x2a6e01(0x5aa)]-0x1,_0x15bfbb;_0x17ba56>=0x0;_0x17ba56--)(_0x15bfbb=_0x33c73a[_0x17ba56])&&(_0x15a471=(_0x230140?_0x15bfbb(_0xe749e7,_0x2582ac,_0x15a471):_0x15bfbb(_0x15a471))||_0x15a471);return _0x230140&&_0x15a471&&_0x2f3d78(_0xe749e7,_0x2582ac,_0x15a471),_0x15a471;},_0xc2358a=(_0x288104,_0x1033e6)=>(_0x44ada8,_0x4183f9)=>_0x1033e6(_0x44ada8,_0x4183f9,_0x288104);const _0x317bd8=0x1389;let _0x4777ba=class extends _0x5a20c3[_0x494bb3(0x3ed)]{constructor(_0x2a2c7f,_0x2343cd,_0x3752fd,_0xa6472d){const _0x27abb7=_0x494bb3;super(),_0x3ed524(this,_0x27abb7(0x1a7),new Set()),_0x3ed524(this,_0x27abb7(0x3a2),null),(this[_0x27abb7(0x43b)]=_0x2a2c7f,this[_0x27abb7(0x36a)]=_0x2343cd,this[_0x27abb7(0x2d7)]=_0x3752fd,this['_themeService']=_0xa6472d,this[_0x27abb7(0x298)]());}[_0x494bb3(0x298)](){const _0x1c2de8=_0x494bb3;this['_sheetSkeletonManagerService'][_0x1c2de8(0x273)]['pipe'](_0x51e720[_0x1c2de8(0x1d1)](this['dispose$']),_0x51e720[_0x1c2de8(0x3b2)](_0x153a3e=>{const _0x715960=_0x1c2de8;if(_0x153a3e){const _0x4808c7=_0x153a3e[_0x715960(0x559)];return _0x32bae4['combineLatest'](this[_0x715960(0x2d7)][_0x715960(0x1c0)](this[_0x715960(0x43b)][_0x715960(0x3ef)]),this['_themeService'][_0x715960(0x192)])[_0x715960(0x1d4)](_0x51e720[_0x715960(0x48f)](([_0x2547d9,_0xfeee7d])=>{const _0xffa28e=_0x715960,_0x24b617=new Map();return _0x2547d9[_0xffa28e(0x5e8)]((_0x378e2b,_0x4c7446)=>{const _0x2b2be8=_0xffa28e;if(_0x378e2b[_0x2b2be8(0x495)]===_0x4808c7){const _0x5a89e2={..._0x378e2b};_0x5a89e2[_0x2b2be8(0x28e)]=_0xfeee7d[_0x378e2b[_0x2b2be8(0x28e)]],_0x24b617['set'](_0x4c7446,_0x5a89e2);}}),{'skeleton':_0x153a3e,'cursors':_0x24b617};}));}return _0x32bae4['of']({'skeleton':null,'cursors':new Map()});}))[_0x1c2de8(0x38d)](({skeleton:_0x296846,cursors:_0x36c290})=>{const _0x10ea16=_0x1c2de8;this[_0x10ea16(0x479)](),_0x296846&&this[_0x10ea16(0x462)](_0x296846,_0x36c290);}),this[_0x1c2de8(0x36a)][_0x1c2de8(0x273)][_0x1c2de8(0x38d)](_0xdc2f53=>{const _0x560d00=_0x1c2de8;if(_0xdc2f53==null)return;const {skeleton:_0xef2924}=_0xdc2f53,{scene:_0x11c857}=this[_0x560d00(0x43b)];_0x11c857[_0x560d00(0x22c)][_0x560d00(0x332)](_0x5a20c3[_0x560d00(0x4fa)](_0x50bd46=>{const _0x5b1ed0=_0x560d00;var _0x2cf167,_0x7cc44b;const {offsetX:_0xe6229e,offsetY:_0x2964e4}=_0x50bd46,{x:_0x2d568e,y:_0x268ea4}=_0x11c857[_0x5b1ed0(0x235)](_0x5c31a6['Vector2']['FromArray']([_0xe6229e,_0x2964e4])),{scaleX:_0x111778,scaleY:_0x4a8d93}=_0x11c857[_0x5b1ed0(0x31b)](),_0x1bda75=_0x11c857[_0x5b1ed0(0x29b)](_0x194a78[_0x5b1ed0(0x533)][_0x5b1ed0(0x499)]),_0x16542b=_0x11c857['getVpScrollXYInfoByPosToVp'](_0x5c31a6[_0x5b1ed0(0x577)][_0x5b1ed0(0x5c5)]([_0x2d568e,_0x268ea4]),_0x1bda75),_0x143cf5=_0xef2924['getCellPositionByOffset'](_0xe6229e,_0x2964e4,_0x111778,_0x4a8d93,_0x16542b);((_0x2cf167=this[_0x5b1ed0(0x3a2)])==null?void 0x0:_0x2cf167['column'])===_0x143cf5[_0x5b1ed0(0x3a8)]&&((_0x7cc44b=this['_lastPointer'])==null?void 0x0:_0x7cc44b[_0x5b1ed0(0x300)])===_0x143cf5[_0x5b1ed0(0x300)]||this[_0x5b1ed0(0x1a7)][_0x5b1ed0(0x5e8)](_0xc71a4c=>{_0xc71a4c['onMouseMove'](_0x143cf5);});},0x64));});}[_0x494bb3(0x462)](_0x2b5241,_0x5a2f7d){const _0x2bb0b1=_0x494bb3;var _0x1c487d;const _0x577ad5=(_0x1c487d=this[_0x2bb0b1(0x36a)][_0x2bb0b1(0x4b8)]())==null?void 0x0:_0x1c487d[_0x2bb0b1(0x475)];if(!_0x577ad5)return;const _0x82aad5=this[_0x2bb0b1(0x463)]();if(!_0x82aad5)return;this[_0x2bb0b1(0x1a7)][_0x2bb0b1(0x5e8)](_0x4692d2=>{const _0x10b70b=_0x2bb0b1;_0x4692d2[_0x10b70b(0x350)]();});const {scene:_0x4a8e63}=_0x82aad5,_0x496637=_0x66426c(Array['from'](_0x5a2f7d[_0x2bb0b1(0x4f0)]()))[_0x2bb0b1(0x48f)](_0x386352=>{const _0x5a6e0b=_0x2bb0b1,{color:_0x32dd17,range:_0x10ebbc,name:_0x436df8,selection:_0xdfde18,sheetID:_0x3b9d6e}=_0x386352,{startColumn:_0x7924f4,startRow:_0x5b6077,endColumn:_0x6d5a0,endRow:_0xc9e480}=_0x10ebbc,_0xbbc7b=_0x194a78['getCoordByCell'](_0x5b6077,_0x7924f4,_0x4a8e63,_0x577ad5),_0x4c0bad=_0x194a78[_0x5a6e0b(0x528)](_0xc9e480,_0x6d5a0,_0x4a8e63,_0x577ad5),{columnHeaderHeightAndMarginTop:_0x3c112e}=_0x577ad5,{startX:_0x167a06,startY:_0x539e2e}=_0xbbc7b,{endX:_0x5a31ad,endY:_0x14c5f0}=_0x4c0bad,_0x23c1db=_0x5a31ad-_0x167a06,_0x27ccc3=_0x14c5f0-_0x539e2e,_0x26be03={'labelPosition':_0x539e2e-_0x3c112e>=_0x23f988?_0x5a6e0b(0x5e6):_0x5a6e0b(0x38a),'sheetID':_0x3b9d6e,'range':_0x10ebbc,'color':_0x32dd17,'name':_0x436df8,'selection':_0xdfde18,'left':_0x167a06,'top':_0x539e2e,'width':_0x23c1db,'height':_0x27ccc3,'evented':!0x1,'zIndex':_0x317bd8};return new _0x289d4b(_0x436df8,_0x26be03);});_0x4a8e63[_0x2bb0b1(0x1a1)](_0x496637,_0x4b7218),this['_cursors']=new Set(_0x496637);}['_removeCollabCursors'](){const _0x52c991=_0x494bb3;var _0x586fe4;(_0x586fe4=this[_0x52c991(0x1a7)])==null||_0x586fe4['forEach'](_0x1260a6=>_0x1260a6['dispose']());}[_0x494bb3(0x463)](){const _0x40664d=_0x494bb3;return _0x194a78[_0x40664d(0x403)](this[_0x40664d(0x43b)]['unit'],this[_0x40664d(0x43b)]);}};_0x4777ba=_0x4d13f([_0xc2358a(0x1,_0x5a20c3['Inject'](_0x194a78['SheetSkeletonManagerService'])),_0xc2358a(0x2,_0x5a20c3[_0x494bb3(0x57c)](_0x36312d)),_0xc2358a(0x3,_0x5a20c3['Inject'](_0x5a20c3['ThemeService']))],_0x4777ba);function _0x66426c(_0x4f6b31){const _0x3704f3=_0x494bb3,_0x44c3ae=new Map();return _0x4f6b31[_0x3704f3(0x5e8)](_0x2cd43d=>{const _0x3ca283=_0x3704f3;if(_0x44c3ae[_0x3ca283(0x4a3)](_0x2cd43d[_0x3ca283(0x2f7)])){const _0x46b018=_0x44c3ae[_0x3ca283(0x537)](_0x2cd43d[_0x3ca283(0x2f7)]);_0x46b018[_0x3ca283(0x190)]+=',\x20'+_0x2cd43d[_0x3ca283(0x190)];}else _0x44c3ae[_0x3ca283(0x33d)](_0x2cd43d[_0x3ca283(0x2f7)],_0x2cd43d);}),Array[_0x3704f3(0x2d5)](_0x44c3ae['values']());}var _0x1aae94=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x21900c(_0x18328f){const _0x59d8be=_0x494bb3;return _0x18328f&&_0x18328f[_0x59d8be(0x58e)]&&Object['prototype'][_0x59d8be(0x35e)]['call'](_0x18328f,_0x59d8be(0x565))?_0x18328f[_0x59d8be(0x565)]:_0x18328f;}var _0x7ec8e4={'exports':{}},_0x481f7d={},_0x4ff291=_0x5cb4c2,_0x170306=Symbol[_0x494bb3(0x27c)](_0x494bb3(0x5c7)),_0x59a9f6=Symbol[_0x494bb3(0x27c)](_0x494bb3(0x5bb)),_0x3b76e7=Object[_0x494bb3(0x37f)][_0x494bb3(0x35e)],_0x9a2ed1=_0x4ff291['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x494bb3(0x5bd)],_0x4b5682={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x12806b(_0x535cc1,_0x564192,_0x5cf33a){const _0xda4c41=_0x494bb3;var _0x229393,_0x486fe0={},_0x43a788=null,_0x423a06=null;_0x5cf33a!==void 0x0&&(_0x43a788=''+_0x5cf33a),_0x564192[_0xda4c41(0x272)]!==void 0x0&&(_0x43a788=''+_0x564192[_0xda4c41(0x272)]),_0x564192[_0xda4c41(0x23b)]!==void 0x0&&(_0x423a06=_0x564192['ref']);for(_0x229393 in _0x564192)_0x3b76e7[_0xda4c41(0x451)](_0x564192,_0x229393)&&!_0x4b5682['hasOwnProperty'](_0x229393)&&(_0x486fe0[_0x229393]=_0x564192[_0x229393]);if(_0x535cc1&&_0x535cc1[_0xda4c41(0x60a)]){for(_0x229393 in(_0x564192=_0x535cc1[_0xda4c41(0x60a)],_0x564192))_0x486fe0[_0x229393]===void 0x0&&(_0x486fe0[_0x229393]=_0x564192[_0x229393]);}return{'$$typeof':_0x170306,'type':_0x535cc1,'key':_0x43a788,'ref':_0x423a06,'props':_0x486fe0,'_owner':_0x9a2ed1[_0xda4c41(0x25b)]};}_0x481f7d[_0x494bb3(0x480)]=_0x59a9f6,_0x481f7d['jsx']=_0x12806b,_0x481f7d[_0x494bb3(0x4a4)]=_0x12806b,_0x7ec8e4[_0x494bb3(0x589)]=_0x481f7d;var _0xf8dafc=_0x7ec8e4['exports'],_0x197ae9=function(){const _0x4c8883=_0x494bb3;return _0x197ae9=Object[_0x4c8883(0x186)]||function(_0xe3d30c){const _0x114fd7=_0x4c8883;for(var _0x4f97c9,_0x3e5a93=0x1,_0x4d7029=arguments[_0x114fd7(0x5aa)];_0x3e5a93<_0x4d7029;_0x3e5a93++){_0x4f97c9=arguments[_0x3e5a93];for(var _0x488a90 in _0x4f97c9)Object['prototype'][_0x114fd7(0x35e)][_0x114fd7(0x451)](_0x4f97c9,_0x488a90)&&(_0xe3d30c[_0x488a90]=_0x4f97c9[_0x488a90]);}return _0xe3d30c;},_0x197ae9[_0x4c8883(0x476)](this,arguments);},_0x12a0e5=function(_0x3e7e20,_0x141ad6){const _0x597bfb=_0x494bb3;var _0x5919ee={};for(var _0x39f63d in _0x3e7e20)Object[_0x597bfb(0x37f)]['hasOwnProperty'][_0x597bfb(0x451)](_0x3e7e20,_0x39f63d)&&_0x141ad6[_0x597bfb(0x1d6)](_0x39f63d)<0x0&&(_0x5919ee[_0x39f63d]=_0x3e7e20[_0x39f63d]);if(_0x3e7e20!=null&&typeof Object[_0x597bfb(0x3c4)]==_0x597bfb(0x4c1)){for(var _0x348213=0x0,_0x39f63d=Object[_0x597bfb(0x3c4)](_0x3e7e20);_0x348213<_0x39f63d[_0x597bfb(0x5aa)];_0x348213++)_0x141ad6['indexOf'](_0x39f63d[_0x348213])<0x0&&Object[_0x597bfb(0x37f)][_0x597bfb(0x5c4)][_0x597bfb(0x451)](_0x3e7e20,_0x39f63d[_0x348213])&&(_0x5919ee[_0x39f63d[_0x348213]]=_0x3e7e20[_0x39f63d[_0x348213]]);}return _0x5919ee;},_0x3c6234=_0x5cb4c2[_0x494bb3(0x22e)](function(_0x230615,_0x585f51){const _0xdf7a2c=_0x494bb3;var _0x344743=_0x230615[_0xdf7a2c(0x571)],_0xccaefd=_0x230615['id'],_0x4f6711=_0x230615['className'],_0x28d1fc=_0x230615['extend'],_0x4b4ca7=_0x12a0e5(_0x230615,[_0xdf7a2c(0x571),'id',_0xdf7a2c(0x2ca),_0xdf7a2c(0x3d1)]),_0x1b4522=_0xdf7a2c(0x47f)[_0xdf7a2c(0x291)](_0xccaefd,'\x20')[_0xdf7a2c(0x291)](_0x4f6711||'')[_0xdf7a2c(0x597)](),_0x3e7341=_0x5cb4c2[_0xdf7a2c(0x5c8)]('_'['concat'](_0x438b5b()));return _0x2c7a7b(_0x344743,''['concat'](_0xccaefd),{'defIds':_0x344743['defIds'],'idSuffix':_0x3e7341[_0xdf7a2c(0x25b)]},_0x197ae9({'ref':_0x585f51,'className':_0x1b4522},_0x4b4ca7),_0x28d1fc);});function _0x2c7a7b(_0x57315e,_0x270635,_0xbd389f,_0x2d1f50,_0x38e1ad){const _0xe361c7=_0x494bb3;return _0x5cb4c2['createElement'](_0x57315e[_0xe361c7(0x286)],_0x197ae9(_0x197ae9({'key':_0x270635},_0xec32a0(_0x57315e,_0xbd389f,_0x38e1ad)),_0x2d1f50),(_0x3a3251(_0x57315e,_0xbd389f)[_0xe361c7(0x572)]||[])[_0xe361c7(0x48f)](function(_0x5f1c51,_0xca92fc){const _0xb27c6a=_0xe361c7;return _0x2c7a7b(_0x5f1c51,''[_0xb27c6a(0x291)](_0x270635,'-')[_0xb27c6a(0x291)](_0x57315e[_0xb27c6a(0x286)],'-')['concat'](_0xca92fc),_0xbd389f,void 0x0,_0x38e1ad);}));}function _0xec32a0(_0x3e7141,_0x379b97,_0x62ec62){const _0x8dd5c2=_0x494bb3;var _0x376ee0=_0x197ae9({},_0x3e7141[_0x8dd5c2(0x47e)]);_0x62ec62!=null&&_0x62ec62[_0x8dd5c2(0x569)]&&_0x376ee0[_0x8dd5c2(0x2a9)]===_0x8dd5c2(0x569)&&(_0x376ee0[_0x8dd5c2(0x2a9)]=_0x62ec62[_0x8dd5c2(0x569)]);var _0x1ba395=_0x379b97[_0x8dd5c2(0x464)];return!_0x1ba395||_0x1ba395['length']===0x0||(_0x3e7141[_0x8dd5c2(0x286)]==='use'&&_0x376ee0['xlink:href']&&(_0x376ee0[_0x8dd5c2(0x231)]=_0x376ee0[_0x8dd5c2(0x231)]+_0x379b97[_0x8dd5c2(0x5b5)]),Object['entries'](_0x376ee0)[_0x8dd5c2(0x5e8)](function(_0x80b712){const _0x43ab1b=_0x8dd5c2;var _0xc1f10e=_0x80b712[0x0],_0x539c64=_0x80b712[0x1];typeof _0x539c64==_0x43ab1b(0x56d)&&(_0x376ee0[_0xc1f10e]=_0x539c64['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x379b97[_0x43ab1b(0x5b5)],')')));})),_0x376ee0;}function _0x3a3251(_0xb5fc1f,_0x451890){const _0x4953e8=_0x494bb3;var _0x594ed3,_0x43821c=_0x451890[_0x4953e8(0x464)];return!_0x43821c||_0x43821c['length']===0x0?_0xb5fc1f:_0xb5fc1f['tag']===_0x4953e8(0x195)&&(!((_0x594ed3=_0xb5fc1f[_0x4953e8(0x572)])===null||_0x594ed3===void 0x0)&&_0x594ed3[_0x4953e8(0x5aa)])?_0x197ae9(_0x197ae9({},_0xb5fc1f),{'children':_0xb5fc1f[_0x4953e8(0x572)]['map'](function(_0x45006a){const _0x7a104=_0x4953e8;return typeof _0x45006a[_0x7a104(0x47e)]['id']=='string'&&_0x43821c&&_0x43821c[_0x7a104(0x1d6)](_0x45006a[_0x7a104(0x47e)]['id'])>-0x1?_0x197ae9(_0x197ae9({},_0x45006a),{'attrs':_0x197ae9(_0x197ae9({},_0x45006a[_0x7a104(0x47e)]),{'id':_0x45006a[_0x7a104(0x47e)]['id']+_0x451890[_0x7a104(0x5b5)]})}):_0x45006a;})}):_0xb5fc1f;}function _0x438b5b(){const _0x2675a4=_0x494bb3;return Math[_0x2675a4(0x182)]()['toString'](0x24)[_0x2675a4(0x2c3)](0x2,0x8);}_0x3c6234[_0x494bb3(0x156)]=_0x494bb3(0x4f8);var _0x475c73={'tag':_0x494bb3(0x1f0),'attrs':{'fill':_0x494bb3(0x5f2),'viewBox':'0\x200\x2016\x2016','width':_0x494bb3(0x47c),'height':_0x494bb3(0x47c)},'children':[{'tag':'g','attrs':{'clipPath':_0x494bb3(0x47a)},'children':[{'tag':_0x494bb3(0x24b),'attrs':{'stroke':_0x494bb3(0x212),'d':'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','strokeLinecap':'round','strokeLinejoin':_0x494bb3(0x24f),'strokeWidth':1.2}}]},{'tag':_0x494bb3(0x195),'attrs':{},'children':[{'tag':_0x494bb3(0x22d),'attrs':{'id':_0x494bb3(0x5ce)},'children':[{'tag':_0x494bb3(0x24b),'attrs':{'fill':_0x494bb3(0x4c7),'d':_0x494bb3(0x4b7)}}]}]}],'defIds':[_0x494bb3(0x5ce)]},_0x37337b=_0x5cb4c2['forwardRef'](function(_0x5e0eff,_0x15a5dd){const _0x5d4c37=_0x494bb3;return _0x5cb4c2['createElement'](_0x3c6234,Object[_0x5d4c37(0x186)]({},_0x5e0eff,{'id':_0x5d4c37(0x3fe),'ref':_0x15a5dd,'icon':_0x475c73}));});_0x37337b[_0x494bb3(0x156)]=_0x494bb3(0x434);var _0x558051={'tag':_0x494bb3(0x1f0),'attrs':{'fill':_0x494bb3(0x5f2),'viewBox':_0x494bb3(0x201),'width':_0x494bb3(0x47c),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x494bb3(0x4df)},'children':[{'tag':_0x494bb3(0x24b),'attrs':{'stroke':_0x494bb3(0x212),'d':_0x494bb3(0x50d),'strokeLinecap':'round','strokeLinejoin':_0x494bb3(0x24f),'strokeWidth':1.2}}]},{'tag':_0x494bb3(0x195),'attrs':{},'children':[{'tag':_0x494bb3(0x22d),'attrs':{'id':_0x494bb3(0x155)},'children':[{'tag':_0x494bb3(0x24b),'attrs':{'fill':_0x494bb3(0x4c7),'d':_0x494bb3(0x4b7),'transform':_0x494bb3(0x4d0)}}]}]}],'defIds':[_0x494bb3(0x155)]},_0x7cf1df=_0x5cb4c2['forwardRef'](function(_0x425201,_0x10b7c0){const _0x31f592=_0x494bb3;return _0x5cb4c2[_0x31f592(0x467)](_0x3c6234,Object[_0x31f592(0x186)]({},_0x425201,{'id':_0x31f592(0x4f9),'ref':_0x10b7c0,'icon':_0x558051}));});_0x7cf1df[_0x494bb3(0x156)]=_0x494bb3(0x1cb);function _0x46f544(_0x3c78ea){const _0x5ab266=_0x494bb3;var _0x387217,_0x15647b,_0x171015='';if(typeof _0x3c78ea==_0x5ab266(0x56d)||typeof _0x3c78ea==_0x5ab266(0x37e))_0x171015+=_0x3c78ea;else{if(typeof _0x3c78ea==_0x5ab266(0x205)){if(Array[_0x5ab266(0x557)](_0x3c78ea)){var _0x1f40c2=_0x3c78ea[_0x5ab266(0x5aa)];for(_0x387217=0x0;_0x387217<_0x1f40c2;_0x387217++)_0x3c78ea[_0x387217]&&(_0x15647b=_0x46f544(_0x3c78ea[_0x387217]))&&(_0x171015&&(_0x171015+='\x20'),_0x171015+=_0x15647b);}else{for(_0x15647b in _0x3c78ea)_0x3c78ea[_0x15647b]&&(_0x171015&&(_0x171015+='\x20'),_0x171015+=_0x15647b);}}}return _0x171015;}function _0x3c578d(){const _0x4051a2=_0x494bb3;for(var _0x1ecfb1,_0x3c02e5,_0x3c0027=0x0,_0x51ea63='',_0x31164a=arguments[_0x4051a2(0x5aa)];_0x3c0027<_0x31164a;_0x3c0027++)(_0x1ecfb1=arguments[_0x3c0027])&&(_0x3c02e5=_0x46f544(_0x1ecfb1))&&(_0x51ea63&&(_0x51ea63+='\x20'),_0x51ea63+=_0x3c02e5);return _0x51ea63;}const _0x14a495={'onlineStatusIcon':_0x494bb3(0x1f8),'onlineStatusTitle':_0x494bb3(0x4d6),'onlineStatus':_0x494bb3(0x353),'online':'univer-online','offline':_0x494bb3(0x4a1)};function _0x2503d2(_0xf1fdaf){const _0x35ac15=_0x494bb3;switch(_0xf1fdaf){case _0x5948fa[_0x35ac15(0x1de)]:return'collabStatus.offline';case _0x5948fa[_0x35ac15(0x296)]:return _0x35ac15(0x34c);case _0x5948fa['FETCH_MISS']:return _0x35ac15(0x527);case _0x5948fa[_0x35ac15(0x375)]:return _0x35ac15(0x509);case _0x5948fa[_0x35ac15(0x319)]:case _0x5948fa['AWAITING_WITH_PENDING']:return _0x35ac15(0x367);case _0x5948fa['SYNCED']:case _0x5948fa[_0x35ac15(0x452)]:return'collabStatus.synced';}}function _0x1d0a3d(_0x2f4f16){const _0x13f69b=_0x494bb3,{status$:_0x19615a}=_0x2f4f16,_0x336f3c=_0x33d470[_0x13f69b(0x251)](_0x19615a,_0x5948fa['NOT_COLLAB']),_0x2530ef=_0x5a20c3['useDependency'](_0x5a20c3[_0x13f69b(0x439)]),_0x1842a4=_0x5a20c3[_0x13f69b(0x3fa)](_0x38d423['CollaborationSessionService']),_0x3995a8=_0x336f3c!==_0x5948fa[_0x13f69b(0x1de)],_0x39dbcf=_0x2530ef['t'](_0x2503d2(_0x336f3c)),_0x1377ee=_0x3c578d(_0x14a495[_0x13f69b(0x52f)],{[_0x14a495[_0x13f69b(0x386)]]:_0x3995a8,[_0x14a495[_0x13f69b(0x333)]]:!_0x3995a8}),_0x17470f=_0x3995a8?_0xf8dafc[_0x13f69b(0x202)](_0x7cf1df,{}):_0xf8dafc[_0x13f69b(0x202)](_0x37337b,{}),_0x594f47=_0x5cb4c2[_0x13f69b(0x440)](()=>{_0x3995a8||_0x1842a4['reconnect']();},[_0x3995a8,_0x1842a4]);function _0x1dac06(){const _0x19a69a=_0x13f69b;return _0xf8dafc[_0x19a69a(0x4a4)]('div',{'className':_0x1377ee,'onClick':_0x594f47,'children':[_0xf8dafc[_0x19a69a(0x202)](_0x19a69a(0x335),{'className':_0x14a495['onlineStatusIcon'],'children':_0x17470f}),_0xf8dafc[_0x19a69a(0x202)](_0x19a69a(0x335),{'className':_0x14a495[_0x19a69a(0x20d)],'children':_0x39dbcf})]});}return _0x3995a8?_0x1dac06():_0xf8dafc[_0x13f69b(0x202)](_0x989dfe[_0x13f69b(0x2ed)],{'title':_0x2530ef['t'](_0x13f69b(0x2b3)),'children':_0x1dac06()});}var _0x15e30d=Object[_0x494bb3(0x5f8)],_0x5c91a2=Object[_0x494bb3(0x51e)],_0xcc7216=(_0x463574,_0x23ea11,_0x18b398,_0x51337f)=>{const _0x41d165=_0x494bb3;for(var _0x52d026=_0x51337f>0x1?void 0x0:_0x51337f?_0x5c91a2(_0x23ea11,_0x18b398):_0x23ea11,_0x3491fa=_0x463574[_0x41d165(0x5aa)]-0x1,_0x43624f;_0x3491fa>=0x0;_0x3491fa--)(_0x43624f=_0x463574[_0x3491fa])&&(_0x52d026=(_0x51337f?_0x43624f(_0x23ea11,_0x18b398,_0x52d026):_0x43624f(_0x52d026))||_0x52d026);return _0x51337f&&_0x52d026&&_0x15e30d(_0x23ea11,_0x18b398,_0x52d026),_0x52d026;},_0x4975d8=(_0x46bb43,_0x426ea4)=>(_0x56bc94,_0x1166b7)=>_0x426ea4(_0x56bc94,_0x1166b7,_0x46bb43);_0x38d423[_0x494bb3(0x4de)]=class extends _0x5a20c3['Disposable']{constructor(_0x2523a2,_0x44568a,_0x285767,_0x117339){const _0x20c5b4=_0x494bb3;super(),_0x3ed524(this,'_status$',new _0x32bae4[(_0x20c5b4(0x55c))](_0x5948fa[_0x20c5b4(0x375)])),(this[_0x20c5b4(0x4a7)]=_0x2523a2,this[_0x20c5b4(0x1a3)]=_0x44568a,this[_0x20c5b4(0x221)]=_0x285767,this['_collaborationController']=_0x117339,this[_0x20c5b4(0x198)](),this[_0x20c5b4(0x4d8)]());}['_initStatusListener'](){const _0x31a8b2=_0x494bb3;this[_0x31a8b2(0x385)](this[_0x31a8b2(0x4a7)][_0x31a8b2(0x172)]['pipe'](_0x32bae4['switchMap'](()=>{const _0x5f445d=_0x31a8b2,_0x204319=this[_0x5f445d(0x4a7)][_0x5f445d(0x189)]();return _0x204319?this[_0x5f445d(0x595)][_0x5f445d(0x602)](_0x204319[_0x5f445d(0x4dc)]()):_0x32bae4['of'](null);}),_0x32bae4[_0x31a8b2(0x3b2)](_0x170905=>_0x170905?_0x170905[_0x31a8b2(0x5e2)]:_0x32bae4['of'](_0x5948fa[_0x31a8b2(0x375)])))[_0x31a8b2(0x38d)](_0x19ac26=>{const _0x338c44=_0x31a8b2;this[_0x338c44(0x447)][_0x338c44(0x5dd)](_0x19ac26);}));}[_0x494bb3(0x198)](){const _0x20d531=_0x494bb3;this[_0x20d531(0x385)](this['_uiPartsService'][_0x20d531(0x3b9)](_0x33d470['BuiltInUIPart']['HEADER_MENU'],()=>_0x5a20c3['connectInjector'](_0x251244({'status$':this[_0x20d531(0x447)][_0x20d531(0x4fe)]()}),this[_0x20d531(0x221)])));}},_0x38d423[_0x494bb3(0x4de)]=_0xcc7216([_0x4975d8(0x0,_0x5a20c3[_0x494bb3(0x17e)]),_0x4975d8(0x1,_0x33d470[_0x494bb3(0x4cd)]),_0x4975d8(0x2,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x596)])),_0x4975d8(0x3,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x39c)]))],_0x38d423[_0x494bb3(0x4de)]);function _0x251244(_0x35c1d5){const {status$:_0x33b820}=_0x35c1d5;return function(){const _0x14ddf2=_0x50cf;return _0xf8dafc[_0x14ddf2(0x202)](_0x1d0a3d,{'status$':_0x33b820});};}const _0x1ea4a4=_0x5a20c3[_0x494bb3(0x224)]('uni.network.url-service');var _0x267a28=Object[_0x494bb3(0x5f8)],_0x26cca7=Object[_0x494bb3(0x51e)],_0x48bf2f=(_0x52fc30,_0xb51aae,_0x2a9fd4,_0x458cfb)=>{const _0x5811f0=_0x494bb3;for(var _0x5320af=_0x458cfb>0x1?void 0x0:_0x458cfb?_0x26cca7(_0xb51aae,_0x2a9fd4):_0xb51aae,_0x2b1c1d=_0x52fc30[_0x5811f0(0x5aa)]-0x1,_0x42269b;_0x2b1c1d>=0x0;_0x2b1c1d--)(_0x42269b=_0x52fc30[_0x2b1c1d])&&(_0x5320af=(_0x458cfb?_0x42269b(_0xb51aae,_0x2a9fd4,_0x5320af):_0x42269b(_0x5320af))||_0x5320af);return _0x458cfb&&_0x5320af&&_0x267a28(_0xb51aae,_0x2a9fd4,_0x5320af),_0x5320af;},_0x1ec709=(_0xa2ed74,_0x13265a)=>(_0x2b7973,_0x468166)=>_0x13265a(_0x2b7973,_0x468166,_0xa2ed74);_0x38d423[_0x494bb3(0x579)]=class extends _0x5a20c3[_0x494bb3(0x3ed)]{constructor(_0x2a5cbb,_0xdfb085,_0x5d2090,_0x22f80e,_0x4b3b0f,_0x205229){const _0x1e2235=_0x494bb3;super(),this[_0x1e2235(0x2aa)]=_0x2a5cbb,this['_logService']=_0xdfb085,this['_commandService']=_0x5d2090,this[_0x1e2235(0x489)]=_0x22f80e,this[_0x1e2235(0x1ff)]=_0x4b3b0f,_0x205229?_0x205229==null||_0x205229[_0x1e2235(0x15f)]()['then'](()=>this[_0x1e2235(0x298)]()):(this[_0x1e2235(0x3f5)]['debug'](_0x1e2235(0x23a),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x494bb3(0x298)](){const _0x3e40e1=_0x494bb3,_0xaca9ad=this['_urlService'][_0x3e40e1(0x2d6)](_0x3e40e1(0x4c9)),_0x2a20d4=this[_0x3e40e1(0x2aa)]['getParam']('type');if(!_0xaca9ad||!_0x2a20d4){this[_0x3e40e1(0x3f5)][_0x3e40e1(0x1b0)](_0x3e40e1(0x23a),_0x3e40e1(0x396));return;}switch(Number(_0x2a20d4)){case _0x9d8403['UNIVER_SHEET']:{const _0x37cca2=await this[_0x3e40e1(0x2b5)](_0xaca9ad);this[_0x3e40e1(0x1eb)](_0x37cca2);break;}case _0x9d8403[_0x3e40e1(0x512)]:{await this[_0x3e40e1(0x3c1)](_0xaca9ad);break;}default:{this[_0x3e40e1(0x3f5)][_0x3e40e1(0x35a)](_0x3e40e1(0x23a),_0x3e40e1(0x5bf));break;}}}async[_0x494bb3(0x1eb)](_0x3be202){const _0x47d8fa=_0x494bb3;await this[_0x47d8fa(0x552)](_0x3be202),_0x3be202[_0x47d8fa(0x55b)][_0x47d8fa(0x1d4)](_0x32bae4[_0x47d8fa(0x1d1)](this['dispose$']))[_0x47d8fa(0x38d)](_0x640ec1=>{const _0x2bfcda=_0x47d8fa;_0x640ec1&&this[_0x2bfcda(0x30b)](_0x640ec1);}),this[_0x47d8fa(0x2aa)][_0x47d8fa(0x3bd)]['pipe'](_0x32bae4['takeUntil'](this[_0x47d8fa(0x5af)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x3be202));}['_updateURLWithCurrentState'](_0xcce470,_0x41beb7=!0x1){const _0x456a98=_0x494bb3,_0x1232b5=this['_urlService'][_0x456a98(0x2d6)](_0x456a98(0x226));_0xcce470[_0x456a98(0x5c0)]()!==_0x1232b5&&this[_0x456a98(0x2aa)][_0x456a98(0x421)](_0x456a98(0x226),_0xcce470[_0x456a98(0x5c0)](),_0x41beb7);}async[_0x494bb3(0x552)](_0x143380){const _0x5f5719=_0x494bb3;var _0x412341;const _0x47832f=this[_0x5f5719(0x2aa)]['getParam']('subunit');if(!_0x47832f||!_0x143380['getSheetBySheetId'](_0x47832f)){const _0x3c41ea=_0x143380['getUnhiddenWorksheets']()[0x0],_0x44f74b=_0x143380['getSheetBySheetId'](_0x3c41ea);if(!_0x44f74b)return;this[_0x5f5719(0x30b)](_0x44f74b,!0x0),await this[_0x5f5719(0x2e5)]['executeCommand'](_0x66e3f4[_0x5f5719(0x38c)]['id'],{'unitId':_0x143380[_0x5f5719(0x4dc)](),'subUnitId':_0x3c41ea});return;}((_0x412341=_0x143380[_0x5f5719(0x1b1)]())==null?void 0x0:_0x412341['getSheetId']())!==_0x47832f&&await this[_0x5f5719(0x2e5)]['executeCommand'](_0x66e3f4[_0x5f5719(0x38c)]['id'],{'unitId':_0x143380[_0x5f5719(0x4dc)](),'subUnitId':_0x47832f});}async[_0x494bb3(0x2b5)](_0x481d0d){const _0x2e827e=_0x494bb3;let _0x5220f0=0x0;const _0x59a804=await this['_localCacheService'][_0x2e827e(0x23d)](_0x481d0d);return _0x59a804&&(_0x59a804[_0x2e827e(0x5b3)]||_0x59a804['mutations']['length']!==0x0)&&(_0x5220f0=_0x59a804[_0x2e827e(0x58a)]),_0x5220f0===0x0&&this['_logService'][_0x2e827e(0x1b0)](_0x2e827e(0x23a),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService']['loadSheet'](_0x481d0d,_0x5220f0);}async['_loadDoc'](_0x5db97c){const _0x2ab740=_0x494bb3;let _0xf67f1b=0x0;const _0x32307e=await this[_0x2ab740(0x489)][_0x2ab740(0x23d)](_0x5db97c);return _0x32307e&&(_0x32307e[_0x2ab740(0x5b3)]||_0x32307e['mutations'][_0x2ab740(0x5aa)]!==0x0)&&(_0xf67f1b=_0x32307e[_0x2ab740(0x58a)]),_0xf67f1b===0x0&&this['_logService'][_0x2ab740(0x1b0)]('[DataLoaderController]',_0x2ab740(0x3f2)),this[_0x2ab740(0x1ff)]['loadDoc'](_0x5db97c,_0xf67f1b);}},_0x38d423['DataLoaderController']=_0x48bf2f([_0x1ec709(0x0,_0x1ea4a4),_0x1ec709(0x1,_0x5a20c3[_0x494bb3(0x494)]),_0x1ec709(0x2,_0x5a20c3[_0x494bb3(0x39a)]),_0x1ec709(0x3,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x1ec709(0x4,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3[_0x494bb3(0x5cf)])),_0x1ec709(0x5,_0x5a20c3[_0x494bb3(0x59d)](_0x40129e[_0x494bb3(0x5ba)]))],_0x38d423[_0x494bb3(0x579)]);var _0x37ba21=Object[_0x494bb3(0x5f8)],_0x393721=Object[_0x494bb3(0x51e)],_0xc8a51d=(_0x190d41,_0x1110e8,_0x5a03f5,_0xabdb37)=>{const _0x5ef604=_0x494bb3;for(var _0x326c21=_0xabdb37>0x1?void 0x0:_0xabdb37?_0x393721(_0x1110e8,_0x5a03f5):_0x1110e8,_0x5107a1=_0x190d41[_0x5ef604(0x5aa)]-0x1,_0x298d15;_0x5107a1>=0x0;_0x5107a1--)(_0x298d15=_0x190d41[_0x5107a1])&&(_0x326c21=(_0xabdb37?_0x298d15(_0x1110e8,_0x5a03f5,_0x326c21):_0x298d15(_0x326c21))||_0x326c21);return _0xabdb37&&_0x326c21&&_0x37ba21(_0x1110e8,_0x5a03f5,_0x326c21),_0x326c21;},_0x513f6=(_0x32c1e1,_0x38dbd1)=>(_0x1ae8fe,_0x1dd1f8)=>_0x38dbd1(_0x1ae8fe,_0x1dd1f8,_0x32c1e1);const _0x550ad4=_0x494bb3(0x427),_0x3e90c7=_0x494bb3(0x1e9);let _0x13737c=class extends _0x5a20c3[_0x494bb3(0x1c9)]{constructor(_0x5accc7,_0x313d91){const _0x275ba6=_0x494bb3;super(),this[_0x275ba6(0x4a7)]=_0x5accc7,this[_0x275ba6(0x1f1)]=_0x313d91,this[_0x275ba6(0x298)]();}[_0x494bb3(0x298)](){const _0x141578=_0x494bb3;this[_0x141578(0x385)](this['_univerInstanceService'][_0x141578(0x172)][_0x141578(0x38d)](()=>{const _0x3dd220=_0x141578;var _0x34ecb0;const _0x587515=this[_0x3dd220(0x4a7)]['getFocusedUnit']();let _0x105f1d=(_0x34ecb0=this['_configService'][_0x3dd220(0x19a)](_0x550ad4))!=null?_0x34ecb0:_0x3e90c7;_0x587515 instanceof _0x5a20c3[_0x3dd220(0x3f4)]&&(_0x105f1d=_0x587515['name']),document[_0x3dd220(0x1dd)]=_0x105f1d;}));}};_0x13737c=_0xc8a51d([_0x513f6(0x0,_0x5a20c3[_0x494bb3(0x17e)]),_0x513f6(0x1,_0x5a20c3[_0x494bb3(0x175)])],_0x13737c);var _0x192a45=Object['defineProperty'],_0x94ddb4=Object[_0x494bb3(0x51e)],_0x357a5b=(_0xa52089,_0x43a35a,_0x5b87c3,_0x4dbd9d)=>{for(var _0x2a7473=_0x4dbd9d>0x1?void 0x0:_0x4dbd9d?_0x94ddb4(_0x43a35a,_0x5b87c3):_0x43a35a,_0x24a4ba=_0xa52089['length']-0x1,_0x5d23ea;_0x24a4ba>=0x0;_0x24a4ba--)(_0x5d23ea=_0xa52089[_0x24a4ba])&&(_0x2a7473=(_0x4dbd9d?_0x5d23ea(_0x43a35a,_0x5b87c3,_0x2a7473):_0x5d23ea(_0x2a7473))||_0x2a7473);return _0x4dbd9d&&_0x2a7473&&_0x192a45(_0x43a35a,_0x5b87c3,_0x2a7473),_0x2a7473;},_0x5b6f47=(_0x2ea9b5,_0x4448ac)=>(_0x41d86a,_0x19a71a)=>_0x4448ac(_0x41d86a,_0x19a71a,_0x2ea9b5);let _0x264022=class{constructor(_0x96320e,_0x4efe6d,_0x343fbf){const _0x382cad=_0x494bb3;this[_0x382cad(0x1f1)]=_0x96320e,this['_httpService']=_0x4efe6d,this[_0x382cad(0x29a)]=_0x343fbf,this['init']();}[_0x494bb3(0x4bc)](){const _0x1789a6=_0x494bb3;this[_0x1789a6(0x5d9)][_0x1789a6(0x3a4)]({'priority':0x1,'interceptor':(_0x50cc6e,_0x42c738)=>_0x42c738(_0x50cc6e)[_0x1789a6(0x1d4)](_0x32bae4['concatMap'](async _0x130e8d=>{const _0x120d22=_0x1789a6,_0x4ca177=_0x130e8d;if(_0x4ca177[_0x120d22(0x601)]===0x191&&window[_0x120d22(0x18d)](this['localeService']['t'](_0x120d22(0x3aa)))){const _0x18d69c=window[_0x120d22(0x4ba)](window[_0x120d22(0x2ae)][_0x120d22(0x1c4)]);window[_0x120d22(0x2ae)][_0x120d22(0x1c4)]=this[_0x120d22(0x330)]()+_0x120d22(0x536)+_0x18d69c;}return _0x4ca177;}))});}[_0x494bb3(0x330)](){const _0x1a1170=_0x494bb3;var _0x22e2f4,_0x4e70a9;const _0xb22a8f=this[_0x1a1170(0x1f1)][_0x1a1170(0x19a)](_0x5e43ba),_0x37c1a0=this[_0x1a1170(0x1f1)][_0x1a1170(0x19a)](_0x59eaf6);return(_0x4e70a9=(_0x22e2f4=_0x37c1a0==null?void 0x0:_0x37c1a0[_0x1a1170(0x2cb)])!=null?_0x22e2f4:_0xb22a8f)!=null?_0x4e70a9:_0x529e5c;}};_0x264022=_0x357a5b([_0x5b6f47(0x0,_0x5a20c3[_0x494bb3(0x175)]),_0x5b6f47(0x1,_0x5a20c3['Inject'](_0x9ed4dd[_0x494bb3(0x22b)])),_0x5b6f47(0x2,_0x5a20c3['Inject'](_0x5a20c3[_0x494bb3(0x439)]))],_0x264022);var _0x33df1e=Object[_0x494bb3(0x5f8)],_0x2b3a7b=Object['getOwnPropertyDescriptor'],_0x20b1e8=(_0x46b56c,_0x379c26,_0x3c8aad,_0x184f14)=>{const _0x2a173c=_0x494bb3;for(var _0x18e458=_0x184f14>0x1?void 0x0:_0x184f14?_0x2b3a7b(_0x379c26,_0x3c8aad):_0x379c26,_0x3b3b2d=_0x46b56c[_0x2a173c(0x5aa)]-0x1,_0x1d0538;_0x3b3b2d>=0x0;_0x3b3b2d--)(_0x1d0538=_0x46b56c[_0x3b3b2d])&&(_0x18e458=(_0x184f14?_0x1d0538(_0x379c26,_0x3c8aad,_0x18e458):_0x1d0538(_0x18e458))||_0x18e458);return _0x184f14&&_0x18e458&&_0x33df1e(_0x379c26,_0x3c8aad,_0x18e458),_0x18e458;},_0x5c767a=(_0x201be1,_0x1d633d)=>(_0x2689f4,_0x55ebdf)=>_0x1d633d(_0x2689f4,_0x55ebdf,_0x201be1);const _0x125721='AUTHZ_URL_KEY',_0x546d05=_0x494bb3(0x2be);_0x38d423['AuthzIoHttpService']=class extends _0x5a20c3[_0x494bb3(0x1c9)]{constructor(_0x8c9e78,_0x2fe8e4){const _0x2fe72f=_0x494bb3;super(),this[_0x2fe72f(0x49c)]=_0x8c9e78,this['_configService']=_0x2fe8e4,this['_initMergeInterceptor']();}[_0x494bb3(0x4ee)](){const _0x5e867f=_0x494bb3,_0xf8a08a=this;this[_0x5e867f(0x385)](this[_0x5e867f(0x49c)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x9ed4dd[_0x5e867f(0x19e)]({'isMatch'(_0x80dd08){const _0x265b26=_0x5e867f;var _0x423d54;if(_0x80dd08['method']==='POST'&&((_0x423d54=_0x80dd08[_0x265b26(0x361)])!=null&&_0x423d54['body'])){const {objectID:_0x1386d7,objectType:_0x1ec7c4}=_0x80dd08[_0x265b26(0x361)][_0x265b26(0x271)]||{};if(!_0x1386d7||_0x1ec7c4===void 0x0)return!0x1;const _0x5dfc2b=_0xf8a08a['_getAPIPrefixPath']()+'/'+_0x1ec7c4+_0x265b26(0x290)+_0x1386d7+'/allowed';if(_0x80dd08['url']===_0x5dfc2b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5eaabb){const _0x9c4545=_0x5e867f;var _0xfae226;return(_0xfae226=_0x5eaabb[_0x9c4545(0x361)])==null?void 0x0:_0xfae226[_0x9c4545(0x271)];},'mergeParamsToRequest'(_0x5a8357,_0x457894){const _0x48ca30=_0x5e867f,_0x164001=_0xf8a08a['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x4c8049=_0x5a8357['reduce']((_0xe538e0,_0x4ab5f1)=>{const _0x4710f8=_0x50cf,{unitID:_0x15d75e,objectID:_0x396195,objectType:_0x384619,actions:_0x8a2f4f}=_0x4ab5f1;return _0xe538e0[_0x15d75e]||(_0xe538e0[_0x15d75e]={}),_0xe538e0[_0x15d75e][_0x396195]||(_0xe538e0[_0x15d75e][_0x396195]={'objectID':_0x396195,'objectType':_0x384619,'actions':[]}),_0xe538e0[_0x15d75e][_0x396195][_0x4710f8(0x154)]['push'](..._0x8a2f4f),_0xe538e0;},{}),_0x5bddf7=[];for(const _0x3cc62b in _0x4c8049)for(const _0x2ccda9 in _0x4c8049[_0x3cc62b]){const {actions:_0x4e03a5,objectType:_0xdd9f9b}=_0x4c8049[_0x3cc62b][_0x2ccda9],_0x169a9f=[...new Set(_0x4e03a5)];_0x5bddf7['push']({'unitID':_0x3cc62b,'objectID':_0x2ccda9,'objectType':_0xdd9f9b,'actions':_0x169a9f});}return new _0x9ed4dd['HTTPRequest'](_0x48ca30(0x210),_0x164001,{'headers':_0x457894[_0x48ca30(0x309)],'withCredentials':_0x457894['withCredentials'],'responseType':_0x457894['responseType'],'body':{'requests':_0x5bddf7}});}},{'distributeResult'(_0x3bdb27,_0x398136){const _0x3794e3=_0x5e867f,{objectActions:_0x32a462}=_0x3bdb27;return _0x398136[_0x3794e3(0x48f)](_0x52c5f7=>{const _0x392407=_0x3794e3,{unitID:_0x33dbf1,objectID:_0x528571,actions:_0x14df24}=_0x52c5f7,_0x2eeb2d=_0x32a462[_0x392407(0x4d4)](_0x171368=>_0x171368[_0x392407(0x39f)]===_0x33dbf1&&_0x171368[_0x392407(0x249)]===_0x528571),_0x1d743e=_0x14df24[_0x392407(0x48f)](_0x39ad3a=>_0x2eeb2d==null?void 0x0:_0x2eeb2d['actions'][_0x392407(0x4d4)](_0x4c7b95=>_0x4c7b95[_0x392407(0x1cc)]===_0x39ad3a))[_0x392407(0x264)](_0x1c161e=>!!_0x1c161e);return{'config':_0x52c5f7,'result':{'actions':_0x1d743e,'error':_0x3bdb27[_0x392407(0x35a)]}};});}})}));}[_0x494bb3(0x187)](){const _0xe29c38=_0x494bb3;var _0x15fe12,_0x1200b2;const _0x373197=this[_0xe29c38(0x1f1)][_0xe29c38(0x19a)](_0x125721),_0x4a470e=this['_configService']['getConfig'](_0x59eaf6);return(_0x1200b2=(_0x15fe12=_0x4a470e==null?void 0x0:_0x4a470e[_0xe29c38(0x48e)])!=null?_0x15fe12:_0x373197)!=null?_0x1200b2:_0x546d05;}async[_0x494bb3(0x2e4)](_0x273321){const _0x2ebb55=_0x494bb3,_0x5679ca=this[_0x2ebb55(0x187)]()+'/'+_0x273321[_0x2ebb55(0x52e)]+_0x2ebb55(0x3e8);return(await this[_0x2ebb55(0x49c)][_0x2ebb55(0x20e)](_0x5679ca,{'body':_0x273321}))[_0x2ebb55(0x271)]['objectID']||'';}async[_0x494bb3(0x234)](_0x549aca){const _0x3e36ec=_0x494bb3,_0x14d1e9=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x3e36ec(0x49c)]['post'](_0x14d1e9,{'body':_0x549aca}))[_0x3e36ec(0x271)][_0x3e36ec(0x585)];}async['update'](_0x231b56){const _0x31f175=_0x494bb3,_0x38986b=this[_0x31f175(0x187)]()+'/'+_0x231b56['objectType']+_0x31f175(0x290)+_0x231b56[_0x31f175(0x249)];await this[_0x31f175(0x49c)]['put'](_0x38986b,{'body':_0x231b56});}async['allowed'](_0x3068ed){const _0x22bfad=_0x494bb3,_0x3e2c45=this[_0x22bfad(0x187)]()+'/'+_0x3068ed[_0x22bfad(0x52e)]+_0x22bfad(0x290)+_0x3068ed[_0x22bfad(0x249)]+_0x22bfad(0x1d2);return(await this['_HTTPService']['post'](_0x3e2c45,{'body':_0x3068ed}))[_0x22bfad(0x271)][_0x22bfad(0x154)];}async[_0x494bb3(0x26d)](_0x22adf7){const _0x2d52ba=_0x494bb3,_0x175446=this[_0x2d52ba(0x187)]()+_0x2d52ba(0x336);return(await this['_HTTPService'][_0x2d52ba(0x20e)](_0x175446,{'body':{'requests':_0x22adf7}}))[_0x2d52ba(0x271)][_0x2d52ba(0x4e0)];}async['listRoles'](_0x11198d){const _0x63225a=_0x494bb3,_0x36a8c6=this[_0x63225a(0x187)]()+'/'+_0x11198d[_0x63225a(0x52e)]+_0x63225a(0x279),_0x52ddc2=await this[_0x63225a(0x49c)][_0x63225a(0x20e)](_0x36a8c6,{'body':_0x11198d});return{'roles':_0x52ddc2[_0x63225a(0x271)][_0x63225a(0x47b)],'actions':_0x52ddc2[_0x63225a(0x271)][_0x63225a(0x154)]};}async[_0x494bb3(0x23f)](_0x14156f){const _0x4b186f=_0x494bb3,_0x3c63c1=this[_0x4b186f(0x187)]()+'/collaborator';await this[_0x4b186f(0x49c)]['delete'](_0x3c63c1,{'params':{'collaboratorID':_0x14156f[_0x4b186f(0x56b)],'objectID':_0x14156f[_0x4b186f(0x249)],'unitID':_0x14156f[_0x4b186f(0x39f)]}});}async[_0x494bb3(0x5b6)](_0x36fcd2){const _0x2837c8=_0x494bb3,_0x479c21=this[_0x2837c8(0x187)]()+_0x2837c8(0x321);await this['_HTTPService'][_0x2837c8(0x5c6)](_0x479c21,{'body':_0x36fcd2});}async['createCollaborator'](_0x33df9f){const _0x124fee=_0x494bb3,_0x2c760e=this[_0x124fee(0x187)]()+_0x124fee(0x321);await this[_0x124fee(0x49c)]['post'](_0x2c760e,{'body':_0x33df9f});}async[_0x494bb3(0x163)](_0x1eb2cd){const _0x1cb1ff=_0x494bb3,_0x207225=this['_getAPIPrefixPath']()+'/collaborator';return(await this[_0x1cb1ff(0x49c)][_0x1cb1ff(0x537)](_0x207225,{'params':{'objectID':_0x1eb2cd[_0x1cb1ff(0x249)],'unitID':_0x1eb2cd[_0x1cb1ff(0x39f)]}}))['body'][_0x1cb1ff(0x4e8)];}async[_0x494bb3(0x406)](_0x3314f6){const _0x1f0c11=_0x494bb3,_0x434706=this[_0x1f0c11(0x187)]()+_0x1f0c11(0x321);await this[_0x1f0c11(0x49c)]['put'](_0x434706,{'body':_0x3314f6});}},_0x38d423[_0x494bb3(0x46f)]=_0x20b1e8([_0x5c767a(0x0,_0x5a20c3[_0x494bb3(0x57c)](_0x9ed4dd[_0x494bb3(0x22b)])),_0x5c767a(0x1,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3['IConfigService']))],_0x38d423['AuthzIoHttpService']);var _0x13e719={'exports':{}};function _0x264753(_0x1c57ff){const _0x25f06b=_0x494bb3;throw new Error(_0x25f06b(0x470)+_0x1c57ff+_0x25f06b(0x49b));}var _0x509d31={'exports':{}},_0x59d1d3;function _0x2e72f8(){const _0x3e7380=_0x494bb3;return _0x59d1d3||(_0x59d1d3=0x1,function(_0x1a1666,_0x42dd7a){(function(_0x2f04a6,_0x251a80){_0x1a1666['exports']=_0x251a80();}(_0x1aae94,function(){var _0x18d02e=_0x18d02e||function(_0x17b30a,_0x266e00){const _0x4ba681=_0x50cf;var _0x5956df;if(typeof window<'u'&&window[_0x4ba681(0x1fc)]&&(_0x5956df=window['crypto']),typeof self<'u'&&self[_0x4ba681(0x1fc)]&&(_0x5956df=self[_0x4ba681(0x1fc)]),typeof globalThis<'u'&&globalThis[_0x4ba681(0x1fc)]&&(_0x5956df=globalThis['crypto']),!_0x5956df&&typeof window<'u'&&window[_0x4ba681(0x477)]&&(_0x5956df=window[_0x4ba681(0x477)]),!_0x5956df&&typeof _0x1aae94<'u'&&_0x1aae94[_0x4ba681(0x1fc)]&&(_0x5956df=_0x1aae94[_0x4ba681(0x1fc)]),!_0x5956df&&typeof _0x264753==_0x4ba681(0x4c1))try{_0x5956df=require(_0x4ba681(0x1fc));}catch{}var _0x2b51e6=function(){const _0x2848c9=_0x4ba681;if(_0x5956df){if(typeof _0x5956df[_0x2848c9(0x289)]==_0x2848c9(0x4c1))try{return _0x5956df[_0x2848c9(0x289)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5956df['randomBytes']=='function')try{return _0x5956df[_0x2848c9(0x1fa)](0x4)[_0x2848c9(0x546)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3f1a39=Object[_0x4ba681(0x2e4)]||(function(){function _0x22c31e(){}return function(_0xde60f4){const _0x37fee7=_0x50cf;var _0x534a09;return _0x22c31e[_0x37fee7(0x37f)]=_0xde60f4,_0x534a09=new _0x22c31e(),_0x22c31e[_0x37fee7(0x37f)]=null,_0x534a09;};}()),_0x3d47d2={},_0x42f9a2=_0x3d47d2['lib']={},_0x443217=_0x42f9a2[_0x4ba681(0x1f7)]=(function(){return{'extend':function(_0x39a7d2){const _0x12e3db=_0x50cf;var _0x1693e5=_0x3f1a39(this);return _0x39a7d2&&_0x1693e5[_0x12e3db(0x29e)](_0x39a7d2),(!_0x1693e5[_0x12e3db(0x35e)](_0x12e3db(0x4bc))||this[_0x12e3db(0x4bc)]===_0x1693e5['init'])&&(_0x1693e5[_0x12e3db(0x4bc)]=function(){const _0x35514f=_0x12e3db;_0x1693e5[_0x35514f(0x16a)][_0x35514f(0x4bc)]['apply'](this,arguments);}),_0x1693e5[_0x12e3db(0x4bc)][_0x12e3db(0x37f)]=_0x1693e5,_0x1693e5[_0x12e3db(0x16a)]=this,_0x1693e5;},'create':function(){const _0x3547ad=_0x50cf;var _0x4ee274=this[_0x3547ad(0x3d1)]();return _0x4ee274['init'][_0x3547ad(0x476)](_0x4ee274,arguments),_0x4ee274;},'init':function(){},'mixIn':function(_0x463ac5){const _0x139886=_0x50cf;for(var _0x183dc2 in _0x463ac5)_0x463ac5['hasOwnProperty'](_0x183dc2)&&(this[_0x183dc2]=_0x463ac5[_0x183dc2]);_0x463ac5[_0x139886(0x35e)]('toString')&&(this[_0x139886(0x283)]=_0x463ac5[_0x139886(0x283)]);},'clone':function(){const _0x1fa273=_0x50cf;return this['init'][_0x1fa273(0x37f)][_0x1fa273(0x3d1)](this);}};}()),_0x2d009f=_0x42f9a2[_0x4ba681(0x188)]=_0x443217['extend']({'init':function(_0x5d2c2c,_0xd93d70){const _0x4a1816=_0x4ba681;_0x5d2c2c=this[_0x4a1816(0x50b)]=_0x5d2c2c||[],_0xd93d70!=_0x266e00?this[_0x4a1816(0x338)]=_0xd93d70:this['sigBytes']=_0x5d2c2c[_0x4a1816(0x5aa)]*0x4;},'toString':function(_0x4feb66){return(_0x4feb66||_0xada0e5)['stringify'](this);},'concat':function(_0xda1e95){const _0x3e0b71=_0x4ba681;var _0x572f66=this['words'],_0x37d615=_0xda1e95['words'],_0x5154f8=this[_0x3e0b71(0x338)],_0x40433f=_0xda1e95[_0x3e0b71(0x338)];if(this[_0x3e0b71(0x1b2)](),_0x5154f8%0x4)for(var _0x5d91a1=0x0;_0x5d91a1<_0x40433f;_0x5d91a1++){var _0x42d793=_0x37d615[_0x5d91a1>>>0x2]>>>0x18-_0x5d91a1%0x4*0x8&0xff;_0x572f66[_0x5154f8+_0x5d91a1>>>0x2]|=_0x42d793<<0x18-(_0x5154f8+_0x5d91a1)%0x4*0x8;}else{for(var _0x5b9898=0x0;_0x5b9898<_0x40433f;_0x5b9898+=0x4)_0x572f66[_0x5154f8+_0x5b9898>>>0x2]=_0x37d615[_0x5b9898>>>0x2];}return this[_0x3e0b71(0x338)]+=_0x40433f,this;},'clamp':function(){const _0xc2431f=_0x4ba681;var _0x42f519=this['words'],_0x41c5b5=this[_0xc2431f(0x338)];_0x42f519[_0x41c5b5>>>0x2]&=0xffffffff<<0x20-_0x41c5b5%0x4*0x8,_0x42f519[_0xc2431f(0x5aa)]=_0x17b30a[_0xc2431f(0x32a)](_0x41c5b5/0x4);},'clone':function(){const _0x30fcd9=_0x4ba681;var _0x108a4a=_0x443217[_0x30fcd9(0x2e2)][_0x30fcd9(0x451)](this);return _0x108a4a['words']=this[_0x30fcd9(0x50b)]['slice'](0x0),_0x108a4a;},'random':function(_0x10efc7){const _0x53a6e9=_0x4ba681;for(var _0x2600de=[],_0x1205ca=0x0;_0x1205ca<_0x10efc7;_0x1205ca+=0x4)_0x2600de[_0x53a6e9(0x196)](_0x2b51e6());return new _0x2d009f[(_0x53a6e9(0x4bc))](_0x2600de,_0x10efc7);}}),_0x2fcb0a=_0x3d47d2[_0x4ba681(0x5e9)]={},_0xada0e5=_0x2fcb0a[_0x4ba681(0x393)]={'stringify':function(_0x3afd72){const _0x5c713a=_0x4ba681;for(var _0x572448=_0x3afd72[_0x5c713a(0x50b)],_0x5c14d8=_0x3afd72[_0x5c713a(0x338)],_0x1a92f7=[],_0x47e4b3=0x0;_0x47e4b3<_0x5c14d8;_0x47e4b3++){var _0x238afa=_0x572448[_0x47e4b3>>>0x2]>>>0x18-_0x47e4b3%0x4*0x8&0xff;_0x1a92f7[_0x5c713a(0x196)]((_0x238afa>>>0x4)[_0x5c713a(0x283)](0x10)),_0x1a92f7[_0x5c713a(0x196)]((_0x238afa&0xf)[_0x5c713a(0x283)](0x10));}return _0x1a92f7['join']('');},'parse':function(_0x107364){const _0x53be42=_0x4ba681;for(var _0x303393=_0x107364[_0x53be42(0x5aa)],_0x50f6dd=[],_0x439948=0x0;_0x439948<_0x303393;_0x439948+=0x2)_0x50f6dd[_0x439948>>>0x3]|=parseInt(_0x107364[_0x53be42(0x3df)](_0x439948,0x2),0x10)<<0x18-_0x439948%0x8*0x4;return new _0x2d009f['init'](_0x50f6dd,_0x303393/0x2);}},_0x512ac8=_0x2fcb0a['Latin1']={'stringify':function(_0x484993){const _0x5f0cb8=_0x4ba681;for(var _0x1f2217=_0x484993[_0x5f0cb8(0x50b)],_0x43709a=_0x484993[_0x5f0cb8(0x338)],_0x1621cd=[],_0x161075=0x0;_0x161075<_0x43709a;_0x161075++){var _0x2408fa=_0x1f2217[_0x161075>>>0x2]>>>0x18-_0x161075%0x4*0x8&0xff;_0x1621cd[_0x5f0cb8(0x196)](String[_0x5f0cb8(0x167)](_0x2408fa));}return _0x1621cd[_0x5f0cb8(0x4aa)]('');},'parse':function(_0x83f183){const _0x5b8585=_0x4ba681;for(var _0x332652=_0x83f183[_0x5b8585(0x5aa)],_0x2b1286=[],_0x26910d=0x0;_0x26910d<_0x332652;_0x26910d++)_0x2b1286[_0x26910d>>>0x2]|=(_0x83f183[_0x5b8585(0x247)](_0x26910d)&0xff)<<0x18-_0x26910d%0x4*0x8;return new _0x2d009f['init'](_0x2b1286,_0x332652);}},_0x1a9117=_0x2fcb0a[_0x4ba681(0x429)]={'stringify':function(_0x8f39e3){const _0x5d46e9=_0x4ba681;try{return decodeURIComponent(escape(_0x512ac8[_0x5d46e9(0x58b)](_0x8f39e3)));}catch{throw new Error(_0x5d46e9(0x288));}},'parse':function(_0x5be65b){const _0x1f6601=_0x4ba681;return _0x512ac8[_0x1f6601(0x40c)](unescape(encodeURIComponent(_0x5be65b)));}},_0x1cdf90=_0x42f9a2[_0x4ba681(0x2ad)]=_0x443217[_0x4ba681(0x3d1)]({'reset':function(){const _0x4d3bfa=_0x4ba681;this[_0x4d3bfa(0x29c)]=new _0x2d009f[(_0x4d3bfa(0x4bc))](),this[_0x4d3bfa(0x372)]=0x0;},'_append':function(_0x5bf55b){const _0x52ea41=_0x4ba681;typeof _0x5bf55b==_0x52ea41(0x56d)&&(_0x5bf55b=_0x1a9117['parse'](_0x5bf55b)),this['_data'][_0x52ea41(0x291)](_0x5bf55b),this['_nDataBytes']+=_0x5bf55b['sigBytes'];},'_process':function(_0x1c6a9f){const _0x5e8ce0=_0x4ba681;var _0x40ccce,_0x59f008=this[_0x5e8ce0(0x29c)],_0x327234=_0x59f008['words'],_0x362ec5=_0x59f008[_0x5e8ce0(0x338)],_0x5d84e0=this[_0x5e8ce0(0x2f5)],_0x421542=_0x5d84e0*0x4,_0x418885=_0x362ec5/_0x421542;_0x1c6a9f?_0x418885=_0x17b30a[_0x5e8ce0(0x32a)](_0x418885):_0x418885=_0x17b30a[_0x5e8ce0(0x547)]((_0x418885|0x0)-this[_0x5e8ce0(0x526)],0x0);var _0x5bad89=_0x418885*_0x5d84e0,_0x1b1fa3=_0x17b30a['min'](_0x5bad89*0x4,_0x362ec5);if(_0x5bad89){for(var _0x5f32b2=0x0;_0x5f32b2<_0x5bad89;_0x5f32b2+=_0x5d84e0)this[_0x5e8ce0(0x2d0)](_0x327234,_0x5f32b2);_0x40ccce=_0x327234[_0x5e8ce0(0x345)](0x0,_0x5bad89),_0x59f008[_0x5e8ce0(0x338)]-=_0x1b1fa3;}return new _0x2d009f[(_0x5e8ce0(0x4bc))](_0x40ccce,_0x1b1fa3);},'clone':function(){const _0xe75e7b=_0x4ba681;var _0x325970=_0x443217[_0xe75e7b(0x2e2)][_0xe75e7b(0x451)](this);return _0x325970[_0xe75e7b(0x29c)]=this[_0xe75e7b(0x29c)]['clone'](),_0x325970;},'_minBufferSize':0x0});_0x42f9a2[_0x4ba681(0x42a)]=_0x1cdf90[_0x4ba681(0x3d1)]({'cfg':_0x443217['extend'](),'init':function(_0x13d501){const _0x2bf52d=_0x4ba681;this[_0x2bf52d(0x245)]=this[_0x2bf52d(0x245)][_0x2bf52d(0x3d1)](_0x13d501),this[_0x2bf52d(0x3db)]();},'reset':function(){const _0x2bada6=_0x4ba681;_0x1cdf90[_0x2bada6(0x3db)]['call'](this),this[_0x2bada6(0x523)]();},'update':function(_0x7f4319){const _0x1e6325=_0x4ba681;return this['_append'](_0x7f4319),this[_0x1e6325(0x55f)](),this;},'finalize':function(_0x329607){const _0x516ea4=_0x4ba681;_0x329607&&this[_0x516ea4(0x4bf)](_0x329607);var _0x3a38cc=this[_0x516ea4(0x1c6)]();return _0x3a38cc;},'blockSize':0x10,'_createHelper':function(_0x3765a3){return function(_0x3dfd07,_0x2472eb){const _0x45edb2=_0x50cf;return new _0x3765a3[(_0x45edb2(0x4bc))](_0x2472eb)['finalize'](_0x3dfd07);};},'_createHmacHelper':function(_0x2f9a15){return function(_0x29e077,_0x2bbaf4){const _0x23423b=_0x50cf;return new _0x3ca17d['HMAC'][(_0x23423b(0x4bc))](_0x2f9a15,_0x2bbaf4)['finalize'](_0x29e077);};}});var _0x3ca17d=_0x3d47d2[_0x4ba681(0x54f)]={};return _0x3d47d2;}(Math);return _0x18d02e;}));}(_0x509d31)),_0x509d31[_0x3e7380(0x589)];}var _0x21556f={'exports':{}},_0x3f3405;function _0x6e8aa3(){const _0x3caaa7=_0x494bb3;return _0x3f3405||(_0x3f3405=0x1,function(_0x17da90,_0x407f1a){(function(_0x802e24,_0x1bfad0){const _0x4cea4c=_0x50cf;_0x17da90[_0x4cea4c(0x589)]=_0x1bfad0(_0x2e72f8());}(_0x1aae94,function(_0x4f8567){const _0x599321=_0x50cf;return(function(){const _0x4a861f=_0x50cf;var _0xe4333d=_0x4f8567,_0x490dc2=_0xe4333d[_0x4a861f(0x483)],_0x16bf82=_0x490dc2[_0x4a861f(0x188)],_0x303f39=_0xe4333d['enc'];_0x303f39[_0x4a861f(0x5fd)]={'stringify':function(_0xf44cc6){const _0xdfdca6=_0x4a861f;var _0x118070=_0xf44cc6[_0xdfdca6(0x50b)],_0x2ea438=_0xf44cc6[_0xdfdca6(0x338)],_0x3ee7a3=this['_map'];_0xf44cc6[_0xdfdca6(0x1b2)]();for(var _0x3a625c=[],_0x330d12=0x0;_0x330d12<_0x2ea438;_0x330d12+=0x3)for(var _0x333b24=_0x118070[_0x330d12>>>0x2]>>>0x18-_0x330d12%0x4*0x8&0xff,_0x51b366=_0x118070[_0x330d12+0x1>>>0x2]>>>0x18-(_0x330d12+0x1)%0x4*0x8&0xff,_0x4dac27=_0x118070[_0x330d12+0x2>>>0x2]>>>0x18-(_0x330d12+0x2)%0x4*0x8&0xff,_0x4bc6c9=_0x333b24<<0x10|_0x51b366<<0x8|_0x4dac27,_0x23d6c3=0x0;_0x23d6c3<0x4&&_0x330d12+_0x23d6c3*0.75<_0x2ea438;_0x23d6c3++)_0x3a625c[_0xdfdca6(0x196)](_0x3ee7a3['charAt'](_0x4bc6c9>>>0x6*(0x3-_0x23d6c3)&0x3f));var _0x4ad850=_0x3ee7a3['charAt'](0x40);if(_0x4ad850){for(;_0x3a625c['length']%0x4;)_0x3a625c[_0xdfdca6(0x196)](_0x4ad850);}return _0x3a625c[_0xdfdca6(0x4aa)]('');},'parse':function(_0x2fa3c8){const _0xb7ec71=_0x4a861f;var _0x125e48=_0x2fa3c8[_0xb7ec71(0x5aa)],_0x5d4db7=this[_0xb7ec71(0x573)],_0x40bb77=this[_0xb7ec71(0x444)];if(!_0x40bb77){_0x40bb77=this[_0xb7ec71(0x444)]=[];for(var _0x4c5c89=0x0;_0x4c5c89<_0x5d4db7['length'];_0x4c5c89++)_0x40bb77[_0x5d4db7[_0xb7ec71(0x247)](_0x4c5c89)]=_0x4c5c89;}var _0x2b01a7=_0x5d4db7['charAt'](0x40);if(_0x2b01a7){var _0x4ae662=_0x2fa3c8[_0xb7ec71(0x1d6)](_0x2b01a7);_0x4ae662!==-0x1&&(_0x125e48=_0x4ae662);}return _0x40a38e(_0x2fa3c8,_0x125e48,_0x40bb77);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x40a38e(_0x638d5f,_0x3b3074,_0x144d9b){const _0x7e8cfc=_0x4a861f;for(var _0x2b1498=[],_0x417d72=0x0,_0x28a9f1=0x0;_0x28a9f1<_0x3b3074;_0x28a9f1++)if(_0x28a9f1%0x4){var _0x3a7ba6=_0x144d9b[_0x638d5f[_0x7e8cfc(0x247)](_0x28a9f1-0x1)]<<_0x28a9f1%0x4*0x2,_0x52fd4e=_0x144d9b[_0x638d5f[_0x7e8cfc(0x247)](_0x28a9f1)]>>>0x6-_0x28a9f1%0x4*0x2,_0x148d1d=_0x3a7ba6|_0x52fd4e;_0x2b1498[_0x417d72>>>0x2]|=_0x148d1d<<0x18-_0x417d72%0x4*0x8,_0x417d72++;}return _0x16bf82[_0x7e8cfc(0x2e4)](_0x2b1498,_0x417d72);}}()),_0x4f8567[_0x599321(0x5e9)][_0x599321(0x5fd)];}));}(_0x21556f)),_0x21556f[_0x3caaa7(0x589)];}var _0x4a51b9={'exports':{}},_0x559db8;function _0x4cef5f(){const _0x210711=_0x494bb3;return _0x559db8||(_0x559db8=0x1,function(_0x5745e0,_0x4b8848){(function(_0x33fd1d,_0x335db7){const _0x151fde=_0x50cf;_0x5745e0[_0x151fde(0x589)]=_0x335db7(_0x2e72f8());}(_0x1aae94,function(_0x4fdce8){return function(_0x14be6c){const _0x1efd3e=_0x50cf;var _0x288816=_0x4fdce8,_0x492d97=_0x288816['lib'],_0x33c493=_0x492d97['WordArray'],_0xdcb51a=_0x492d97[_0x1efd3e(0x42a)],_0x16f0d9=_0x288816[_0x1efd3e(0x54f)],_0x2a5662=[];(function(){for(var _0x481b1c=0x0;_0x481b1c<0x40;_0x481b1c++)_0x2a5662[_0x481b1c]=_0x14be6c['abs'](_0x14be6c['sin'](_0x481b1c+0x1))*0x100000000|0x0;}());var _0x58180c=_0x16f0d9[_0x1efd3e(0x53e)]=_0xdcb51a[_0x1efd3e(0x3d1)]({'_doReset':function(){const _0x482cd7=_0x1efd3e;this['_hash']=new _0x33c493[(_0x482cd7(0x4bc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x55e90b,_0x462523){const _0x2defab=_0x1efd3e;for(var _0x5a5df8=0x0;_0x5a5df8<0x10;_0x5a5df8++){var _0x3d50d4=_0x462523+_0x5a5df8,_0x543f54=_0x55e90b[_0x3d50d4];_0x55e90b[_0x3d50d4]=(_0x543f54<<0x8|_0x543f54>>>0x18)&0xff00ff|(_0x543f54<<0x18|_0x543f54>>>0x8)&0xff00ff00;}var _0x5c825c=this['_hash'][_0x2defab(0x50b)],_0x3fb212=_0x55e90b[_0x462523+0x0],_0x3cea97=_0x55e90b[_0x462523+0x1],_0x3c97d6=_0x55e90b[_0x462523+0x2],_0x5c9486=_0x55e90b[_0x462523+0x3],_0x2bd73c=_0x55e90b[_0x462523+0x4],_0x6ce0e2=_0x55e90b[_0x462523+0x5],_0x3cb8a8=_0x55e90b[_0x462523+0x6],_0x5d8a08=_0x55e90b[_0x462523+0x7],_0x1aac9a=_0x55e90b[_0x462523+0x8],_0x41adb8=_0x55e90b[_0x462523+0x9],_0x135a10=_0x55e90b[_0x462523+0xa],_0x28924e=_0x55e90b[_0x462523+0xb],_0x2459c2=_0x55e90b[_0x462523+0xc],_0x1e5856=_0x55e90b[_0x462523+0xd],_0x1e4da9=_0x55e90b[_0x462523+0xe],_0xb36d31=_0x55e90b[_0x462523+0xf],_0x3767b0=_0x5c825c[0x0],_0x33709c=_0x5c825c[0x1],_0x35644d=_0x5c825c[0x2],_0x2e42e0=_0x5c825c[0x3];_0x3767b0=_0x25a76a(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x3fb212,0x7,_0x2a5662[0x0]),_0x2e42e0=_0x25a76a(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x3cea97,0xc,_0x2a5662[0x1]),_0x35644d=_0x25a76a(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x3c97d6,0x11,_0x2a5662[0x2]),_0x33709c=_0x25a76a(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x5c9486,0x16,_0x2a5662[0x3]),_0x3767b0=_0x25a76a(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x2bd73c,0x7,_0x2a5662[0x4]),_0x2e42e0=_0x25a76a(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x6ce0e2,0xc,_0x2a5662[0x5]),_0x35644d=_0x25a76a(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x3cb8a8,0x11,_0x2a5662[0x6]),_0x33709c=_0x25a76a(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x5d8a08,0x16,_0x2a5662[0x7]),_0x3767b0=_0x25a76a(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x1aac9a,0x7,_0x2a5662[0x8]),_0x2e42e0=_0x25a76a(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x41adb8,0xc,_0x2a5662[0x9]),_0x35644d=_0x25a76a(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x135a10,0x11,_0x2a5662[0xa]),_0x33709c=_0x25a76a(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x28924e,0x16,_0x2a5662[0xb]),_0x3767b0=_0x25a76a(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x2459c2,0x7,_0x2a5662[0xc]),_0x2e42e0=_0x25a76a(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x1e5856,0xc,_0x2a5662[0xd]),_0x35644d=_0x25a76a(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x1e4da9,0x11,_0x2a5662[0xe]),_0x33709c=_0x25a76a(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0xb36d31,0x16,_0x2a5662[0xf]),_0x3767b0=_0x14523c(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x3cea97,0x5,_0x2a5662[0x10]),_0x2e42e0=_0x14523c(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x3cb8a8,0x9,_0x2a5662[0x11]),_0x35644d=_0x14523c(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x28924e,0xe,_0x2a5662[0x12]),_0x33709c=_0x14523c(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x3fb212,0x14,_0x2a5662[0x13]),_0x3767b0=_0x14523c(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x6ce0e2,0x5,_0x2a5662[0x14]),_0x2e42e0=_0x14523c(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x135a10,0x9,_0x2a5662[0x15]),_0x35644d=_0x14523c(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0xb36d31,0xe,_0x2a5662[0x16]),_0x33709c=_0x14523c(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x2bd73c,0x14,_0x2a5662[0x17]),_0x3767b0=_0x14523c(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x41adb8,0x5,_0x2a5662[0x18]),_0x2e42e0=_0x14523c(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x1e4da9,0x9,_0x2a5662[0x19]),_0x35644d=_0x14523c(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x5c9486,0xe,_0x2a5662[0x1a]),_0x33709c=_0x14523c(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x1aac9a,0x14,_0x2a5662[0x1b]),_0x3767b0=_0x14523c(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x1e5856,0x5,_0x2a5662[0x1c]),_0x2e42e0=_0x14523c(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x3c97d6,0x9,_0x2a5662[0x1d]),_0x35644d=_0x14523c(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x5d8a08,0xe,_0x2a5662[0x1e]),_0x33709c=_0x14523c(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x2459c2,0x14,_0x2a5662[0x1f]),_0x3767b0=_0x1aee12(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x6ce0e2,0x4,_0x2a5662[0x20]),_0x2e42e0=_0x1aee12(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x1aac9a,0xb,_0x2a5662[0x21]),_0x35644d=_0x1aee12(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x28924e,0x10,_0x2a5662[0x22]),_0x33709c=_0x1aee12(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x1e4da9,0x17,_0x2a5662[0x23]),_0x3767b0=_0x1aee12(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x3cea97,0x4,_0x2a5662[0x24]),_0x2e42e0=_0x1aee12(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x2bd73c,0xb,_0x2a5662[0x25]),_0x35644d=_0x1aee12(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x5d8a08,0x10,_0x2a5662[0x26]),_0x33709c=_0x1aee12(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x135a10,0x17,_0x2a5662[0x27]),_0x3767b0=_0x1aee12(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x1e5856,0x4,_0x2a5662[0x28]),_0x2e42e0=_0x1aee12(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x3fb212,0xb,_0x2a5662[0x29]),_0x35644d=_0x1aee12(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x5c9486,0x10,_0x2a5662[0x2a]),_0x33709c=_0x1aee12(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x3cb8a8,0x17,_0x2a5662[0x2b]),_0x3767b0=_0x1aee12(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x41adb8,0x4,_0x2a5662[0x2c]),_0x2e42e0=_0x1aee12(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x2459c2,0xb,_0x2a5662[0x2d]),_0x35644d=_0x1aee12(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0xb36d31,0x10,_0x2a5662[0x2e]),_0x33709c=_0x1aee12(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x3c97d6,0x17,_0x2a5662[0x2f]),_0x3767b0=_0x3c7673(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x3fb212,0x6,_0x2a5662[0x30]),_0x2e42e0=_0x3c7673(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x5d8a08,0xa,_0x2a5662[0x31]),_0x35644d=_0x3c7673(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x1e4da9,0xf,_0x2a5662[0x32]),_0x33709c=_0x3c7673(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x6ce0e2,0x15,_0x2a5662[0x33]),_0x3767b0=_0x3c7673(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x2459c2,0x6,_0x2a5662[0x34]),_0x2e42e0=_0x3c7673(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x5c9486,0xa,_0x2a5662[0x35]),_0x35644d=_0x3c7673(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x135a10,0xf,_0x2a5662[0x36]),_0x33709c=_0x3c7673(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x3cea97,0x15,_0x2a5662[0x37]),_0x3767b0=_0x3c7673(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x1aac9a,0x6,_0x2a5662[0x38]),_0x2e42e0=_0x3c7673(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0xb36d31,0xa,_0x2a5662[0x39]),_0x35644d=_0x3c7673(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x3cb8a8,0xf,_0x2a5662[0x3a]),_0x33709c=_0x3c7673(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x1e5856,0x15,_0x2a5662[0x3b]),_0x3767b0=_0x3c7673(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x2bd73c,0x6,_0x2a5662[0x3c]),_0x2e42e0=_0x3c7673(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x28924e,0xa,_0x2a5662[0x3d]),_0x35644d=_0x3c7673(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x3c97d6,0xf,_0x2a5662[0x3e]),_0x33709c=_0x3c7673(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x41adb8,0x15,_0x2a5662[0x3f]),_0x5c825c[0x0]=_0x5c825c[0x0]+_0x3767b0|0x0,_0x5c825c[0x1]=_0x5c825c[0x1]+_0x33709c|0x0,_0x5c825c[0x2]=_0x5c825c[0x2]+_0x35644d|0x0,_0x5c825c[0x3]=_0x5c825c[0x3]+_0x2e42e0|0x0;},'_doFinalize':function(){const _0x3578f6=_0x1efd3e;var _0xba679e=this[_0x3578f6(0x29c)],_0x57519b=_0xba679e['words'],_0x5e024b=this[_0x3578f6(0x372)]*0x8,_0x4cc385=_0xba679e['sigBytes']*0x8;_0x57519b[_0x4cc385>>>0x5]|=0x80<<0x18-_0x4cc385%0x20;var _0x190acb=_0x14be6c['floor'](_0x5e024b/0x100000000),_0x4df160=_0x5e024b;_0x57519b[(_0x4cc385+0x40>>>0x9<<0x4)+0xf]=(_0x190acb<<0x8|_0x190acb>>>0x18)&0xff00ff|(_0x190acb<<0x18|_0x190acb>>>0x8)&0xff00ff00,_0x57519b[(_0x4cc385+0x40>>>0x9<<0x4)+0xe]=(_0x4df160<<0x8|_0x4df160>>>0x18)&0xff00ff|(_0x4df160<<0x18|_0x4df160>>>0x8)&0xff00ff00,_0xba679e[_0x3578f6(0x338)]=(_0x57519b['length']+0x1)*0x4,this[_0x3578f6(0x55f)]();for(var _0x40ff5e=this['_hash'],_0x5f532f=_0x40ff5e[_0x3578f6(0x50b)],_0xbd22a1=0x0;_0xbd22a1<0x4;_0xbd22a1++){var _0x4ebf56=_0x5f532f[_0xbd22a1];_0x5f532f[_0xbd22a1]=(_0x4ebf56<<0x8|_0x4ebf56>>>0x18)&0xff00ff|(_0x4ebf56<<0x18|_0x4ebf56>>>0x8)&0xff00ff00;}return _0x40ff5e;},'clone':function(){const _0x374c48=_0x1efd3e;var _0x47eef8=_0xdcb51a[_0x374c48(0x2e2)][_0x374c48(0x451)](this);return _0x47eef8[_0x374c48(0x1c2)]=this[_0x374c48(0x1c2)]['clone'](),_0x47eef8;}});function _0x25a76a(_0x434bde,_0x561814,_0x4283ba,_0x418d95,_0xf8708d,_0x1af946,_0x7cc614){var _0x587828=_0x434bde+(_0x561814&_0x4283ba|~_0x561814&_0x418d95)+_0xf8708d+_0x7cc614;return(_0x587828<<_0x1af946|_0x587828>>>0x20-_0x1af946)+_0x561814;}function _0x14523c(_0x5f4479,_0x4d4f90,_0x207a94,_0x30ac2d,_0x103a3c,_0x53977d,_0x49632c){var _0x447146=_0x5f4479+(_0x4d4f90&_0x30ac2d|_0x207a94&~_0x30ac2d)+_0x103a3c+_0x49632c;return(_0x447146<<_0x53977d|_0x447146>>>0x20-_0x53977d)+_0x4d4f90;}function _0x1aee12(_0x1e0e8a,_0x29940f,_0x1346bd,_0x10cbbe,_0x2dcc45,_0x3c2778,_0x2b17e8){var _0x304d60=_0x1e0e8a+(_0x29940f^_0x1346bd^_0x10cbbe)+_0x2dcc45+_0x2b17e8;return(_0x304d60<<_0x3c2778|_0x304d60>>>0x20-_0x3c2778)+_0x29940f;}function _0x3c7673(_0x3d6d1a,_0x1e90cc,_0x36bf8d,_0x1d4d42,_0x37f282,_0x3964e3,_0x4fef5a){var _0x1531e5=_0x3d6d1a+(_0x36bf8d^(_0x1e90cc|~_0x1d4d42))+_0x37f282+_0x4fef5a;return(_0x1531e5<<_0x3964e3|_0x1531e5>>>0x20-_0x3964e3)+_0x1e90cc;}_0x288816[_0x1efd3e(0x53e)]=_0xdcb51a[_0x1efd3e(0x5f3)](_0x58180c),_0x288816['HmacMD5']=_0xdcb51a[_0x1efd3e(0x44f)](_0x58180c);}(Math),_0x4fdce8['MD5'];}));}(_0x4a51b9)),_0x4a51b9[_0x210711(0x589)];}var _0x4af300={'exports':{}},_0x5cab66={'exports':{}},_0x42c429;function _0x4c6c09(){return _0x42c429||(_0x42c429=0x1,function(_0x3dda7b,_0x48c06d){(function(_0x4cba85,_0x3229da){_0x3dda7b['exports']=_0x3229da(_0x2e72f8());}(_0x1aae94,function(_0x629951){const _0x15b43c=_0x50cf;return(function(){const _0x35d49e=_0x50cf;var _0x5c4cc9=_0x629951,_0x3f341c=_0x5c4cc9['lib'],_0x20c1a1=_0x3f341c[_0x35d49e(0x188)],_0x2761f1=_0x3f341c[_0x35d49e(0x42a)],_0x5cab03=_0x5c4cc9[_0x35d49e(0x54f)],_0x500b08=[],_0x3581e9=_0x5cab03[_0x35d49e(0x449)]=_0x2761f1[_0x35d49e(0x3d1)]({'_doReset':function(){const _0x53ebd2=_0x35d49e;this[_0x53ebd2(0x1c2)]=new _0x20c1a1[(_0x53ebd2(0x4bc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x7a9214,_0x256c07){const _0x3a5d7b=_0x35d49e;for(var _0x9488ec=this[_0x3a5d7b(0x1c2)][_0x3a5d7b(0x50b)],_0x5a527b=_0x9488ec[0x0],_0x9742bc=_0x9488ec[0x1],_0x197464=_0x9488ec[0x2],_0x55b6e4=_0x9488ec[0x3],_0x1a818b=_0x9488ec[0x4],_0x16a1c0=0x0;_0x16a1c0<0x50;_0x16a1c0++){if(_0x16a1c0<0x10)_0x500b08[_0x16a1c0]=_0x7a9214[_0x256c07+_0x16a1c0]|0x0;else{var _0x397887=_0x500b08[_0x16a1c0-0x3]^_0x500b08[_0x16a1c0-0x8]^_0x500b08[_0x16a1c0-0xe]^_0x500b08[_0x16a1c0-0x10];_0x500b08[_0x16a1c0]=_0x397887<<0x1|_0x397887>>>0x1f;}var _0x30aa81=(_0x5a527b<<0x5|_0x5a527b>>>0x1b)+_0x1a818b+_0x500b08[_0x16a1c0];_0x16a1c0<0x14?_0x30aa81+=(_0x9742bc&_0x197464|~_0x9742bc&_0x55b6e4)+0x5a827999:_0x16a1c0<0x28?_0x30aa81+=(_0x9742bc^_0x197464^_0x55b6e4)+0x6ed9eba1:_0x16a1c0<0x3c?_0x30aa81+=(_0x9742bc&_0x197464|_0x9742bc&_0x55b6e4|_0x197464&_0x55b6e4)-0x70e44324:_0x30aa81+=(_0x9742bc^_0x197464^_0x55b6e4)-0x359d3e2a,_0x1a818b=_0x55b6e4,_0x55b6e4=_0x197464,_0x197464=_0x9742bc<<0x1e|_0x9742bc>>>0x2,_0x9742bc=_0x5a527b,_0x5a527b=_0x30aa81;}_0x9488ec[0x0]=_0x9488ec[0x0]+_0x5a527b|0x0,_0x9488ec[0x1]=_0x9488ec[0x1]+_0x9742bc|0x0,_0x9488ec[0x2]=_0x9488ec[0x2]+_0x197464|0x0,_0x9488ec[0x3]=_0x9488ec[0x3]+_0x55b6e4|0x0,_0x9488ec[0x4]=_0x9488ec[0x4]+_0x1a818b|0x0;},'_doFinalize':function(){const _0x22bb45=_0x35d49e;var _0x147173=this['_data'],_0x108a06=_0x147173['words'],_0x149fb2=this['_nDataBytes']*0x8,_0x58f281=_0x147173[_0x22bb45(0x338)]*0x8;return _0x108a06[_0x58f281>>>0x5]|=0x80<<0x18-_0x58f281%0x20,_0x108a06[(_0x58f281+0x40>>>0x9<<0x4)+0xe]=Math[_0x22bb45(0x2da)](_0x149fb2/0x100000000),_0x108a06[(_0x58f281+0x40>>>0x9<<0x4)+0xf]=_0x149fb2,_0x147173[_0x22bb45(0x338)]=_0x108a06[_0x22bb45(0x5aa)]*0x4,this[_0x22bb45(0x55f)](),this[_0x22bb45(0x1c2)];},'clone':function(){const _0x4b5a3e=_0x35d49e;var _0x3911e1=_0x2761f1[_0x4b5a3e(0x2e2)][_0x4b5a3e(0x451)](this);return _0x3911e1[_0x4b5a3e(0x1c2)]=this[_0x4b5a3e(0x1c2)][_0x4b5a3e(0x2e2)](),_0x3911e1;}});_0x5c4cc9[_0x35d49e(0x449)]=_0x2761f1[_0x35d49e(0x5f3)](_0x3581e9),_0x5c4cc9[_0x35d49e(0x4c2)]=_0x2761f1[_0x35d49e(0x44f)](_0x3581e9);}()),_0x629951[_0x15b43c(0x449)];}));}(_0x5cab66)),_0x5cab66['exports'];}var _0x1b9a70={'exports':{}},_0x46bb83;function _0xfcddd2(){const _0x2756fd=_0x494bb3;return _0x46bb83||(_0x46bb83=0x1,function(_0x4e5976,_0x52afd5){(function(_0x466bd5,_0x1a1365){const _0x13cb4d=_0x50cf;_0x4e5976[_0x13cb4d(0x589)]=_0x1a1365(_0x2e72f8());}(_0x1aae94,function(_0x4f153d){(function(){const _0x19f3b0=_0x50cf;var _0x1421a2=_0x4f153d,_0x2332d4=_0x1421a2[_0x19f3b0(0x483)],_0x28d970=_0x2332d4[_0x19f3b0(0x1f7)],_0x5b3325=_0x1421a2[_0x19f3b0(0x5e9)],_0x16190a=_0x5b3325[_0x19f3b0(0x429)],_0x3751f1=_0x1421a2[_0x19f3b0(0x54f)];_0x3751f1['HMAC']=_0x28d970[_0x19f3b0(0x3d1)]({'init':function(_0x3089b0,_0x200c15){const _0xf7fd5d=_0x19f3b0;_0x3089b0=this['_hasher']=new _0x3089b0[(_0xf7fd5d(0x4bc))](),typeof _0x200c15==_0xf7fd5d(0x56d)&&(_0x200c15=_0x16190a[_0xf7fd5d(0x40c)](_0x200c15));var _0x23d558=_0x3089b0[_0xf7fd5d(0x2f5)],_0xf26290=_0x23d558*0x4;_0x200c15[_0xf7fd5d(0x338)]>_0xf26290&&(_0x200c15=_0x3089b0['finalize'](_0x200c15)),_0x200c15[_0xf7fd5d(0x1b2)]();for(var _0xe4576=this['_oKey']=_0x200c15[_0xf7fd5d(0x2e2)](),_0x2d978e=this[_0xf7fd5d(0x59f)]=_0x200c15[_0xf7fd5d(0x2e2)](),_0x4c6018=_0xe4576['words'],_0xbbad07=_0x2d978e[_0xf7fd5d(0x50b)],_0x1bab9a=0x0;_0x1bab9a<_0x23d558;_0x1bab9a++)_0x4c6018[_0x1bab9a]^=0x5c5c5c5c,_0xbbad07[_0x1bab9a]^=0x36363636;_0xe4576[_0xf7fd5d(0x338)]=_0x2d978e['sigBytes']=_0xf26290,this[_0xf7fd5d(0x3db)]();},'reset':function(){const _0x15b58e=_0x19f3b0;var _0x208e66=this[_0x15b58e(0x3d2)];_0x208e66[_0x15b58e(0x3db)](),_0x208e66[_0x15b58e(0x3c8)](this[_0x15b58e(0x59f)]);},'update':function(_0x60c7dd){const _0x1ebdd8=_0x19f3b0;return this[_0x1ebdd8(0x3d2)][_0x1ebdd8(0x3c8)](_0x60c7dd),this;},'finalize':function(_0x475df3){const _0x198d3e=_0x19f3b0;var _0x24f5c6=this[_0x198d3e(0x3d2)],_0x4897f2=_0x24f5c6[_0x198d3e(0x419)](_0x475df3);_0x24f5c6[_0x198d3e(0x3db)]();var _0x55cb82=_0x24f5c6[_0x198d3e(0x419)](this['_oKey'][_0x198d3e(0x2e2)]()[_0x198d3e(0x291)](_0x4897f2));return _0x55cb82;}});}());}));}(_0x1b9a70)),_0x1b9a70[_0x2756fd(0x589)];}var _0x5973ad;function _0x36d318(){return _0x5973ad||(_0x5973ad=0x1,function(_0x4a8cf2,_0x1bcb4a){(function(_0x34d66f,_0x41a4b8,_0x5bff6a){const _0x3c96f5=_0x50cf;_0x4a8cf2[_0x3c96f5(0x589)]=_0x41a4b8(_0x2e72f8(),_0x4c6c09(),_0xfcddd2());}(_0x1aae94,function(_0x217323){return(function(){const _0x1518b0=_0x50cf;var _0x34017b=_0x217323,_0x1708fa=_0x34017b[_0x1518b0(0x483)],_0x4c2aeb=_0x1708fa['Base'],_0x2e23b7=_0x1708fa[_0x1518b0(0x188)],_0x388ff3=_0x34017b['algo'],_0x405e40=_0x388ff3[_0x1518b0(0x53e)],_0xe1470e=_0x388ff3[_0x1518b0(0x591)]=_0x4c2aeb[_0x1518b0(0x3d1)]({'cfg':_0x4c2aeb['extend']({'keySize':0x80/0x20,'hasher':_0x405e40,'iterations':0x1}),'init':function(_0x499f38){const _0x2016ae=_0x1518b0;this[_0x2016ae(0x245)]=this[_0x2016ae(0x245)][_0x2016ae(0x3d1)](_0x499f38);},'compute':function(_0x5a5826,_0xae766a){const _0x53cbe1=_0x1518b0;for(var _0x29abc8,_0x50ee9d=this[_0x53cbe1(0x245)],_0x347638=_0x50ee9d['hasher'][_0x53cbe1(0x2e4)](),_0x49f601=_0x2e23b7['create'](),_0x376c37=_0x49f601[_0x53cbe1(0x50b)],_0x225ccb=_0x50ee9d['keySize'],_0x2d2e36=_0x50ee9d[_0x53cbe1(0x320)];_0x376c37['length']<_0x225ccb;){_0x29abc8&&_0x347638['update'](_0x29abc8),_0x29abc8=_0x347638['update'](_0x5a5826)[_0x53cbe1(0x419)](_0xae766a),_0x347638[_0x53cbe1(0x3db)]();for(var _0x2180b1=0x1;_0x2180b1<_0x2d2e36;_0x2180b1++)_0x29abc8=_0x347638[_0x53cbe1(0x419)](_0x29abc8),_0x347638['reset']();_0x49f601[_0x53cbe1(0x291)](_0x29abc8);}return _0x49f601[_0x53cbe1(0x338)]=_0x225ccb*0x4,_0x49f601;}});_0x34017b['EvpKDF']=function(_0xfc1b50,_0x2a4166,_0x87dd6){const _0x164817=_0x1518b0;return _0xe1470e[_0x164817(0x2e4)](_0x87dd6)[_0x164817(0x3e3)](_0xfc1b50,_0x2a4166);};}()),_0x217323['EvpKDF'];}));}(_0x4af300)),_0x4af300['exports'];}var _0x55d282={'exports':{}},_0x5c9e7c;function _0x229862(){return _0x5c9e7c||(_0x5c9e7c=0x1,function(_0x1da0fb,_0x4f2561){(function(_0x1d6280,_0x4d1580,_0x5e4031){const _0x291efe=_0x50cf;_0x1da0fb[_0x291efe(0x589)]=_0x4d1580(_0x2e72f8(),_0x36d318());}(_0x1aae94,function(_0x5dc9ac){const _0x51aa1e=_0x50cf;_0x5dc9ac[_0x51aa1e(0x483)][_0x51aa1e(0x574)]||function(_0x394cca){const _0x5667fb=_0x51aa1e;var _0x1a1ca1=_0x5dc9ac,_0xb62c87=_0x1a1ca1[_0x5667fb(0x483)],_0x5af557=_0xb62c87[_0x5667fb(0x1f7)],_0x99e0cc=_0xb62c87['WordArray'],_0x4e417a=_0xb62c87[_0x5667fb(0x2ad)],_0x5d0495=_0x1a1ca1[_0x5667fb(0x5e9)];_0x5d0495[_0x5667fb(0x429)];var _0x2a656f=_0x5d0495[_0x5667fb(0x5fd)],_0x4b0ebe=_0x1a1ca1['algo'],_0x353877=_0x4b0ebe[_0x5667fb(0x591)],_0x22b389=_0xb62c87['Cipher']=_0x4e417a[_0x5667fb(0x3d1)]({'cfg':_0x5af557['extend'](),'createEncryptor':function(_0x79fb94,_0x3e1807){const _0x53e049=_0x5667fb;return this['create'](this[_0x53e049(0x4d3)],_0x79fb94,_0x3e1807);},'createDecryptor':function(_0x5c01ad,_0x12438d){const _0x50f716=_0x5667fb;return this[_0x50f716(0x2e4)](this[_0x50f716(0x435)],_0x5c01ad,_0x12438d);},'init':function(_0xe4e3d1,_0x26ec1c,_0x3ff11a){const _0x217647=_0x5667fb;this[_0x217647(0x245)]=this[_0x217647(0x245)]['extend'](_0x3ff11a),this[_0x217647(0x510)]=_0xe4e3d1,this['_key']=_0x26ec1c,this[_0x217647(0x3db)]();},'reset':function(){const _0x366505=_0x5667fb;_0x4e417a[_0x366505(0x3db)][_0x366505(0x451)](this),this[_0x366505(0x523)]();},'process':function(_0x5b6340){const _0x323334=_0x5667fb;return this[_0x323334(0x4bf)](_0x5b6340),this['_process']();},'finalize':function(_0x1371ab){const _0x247c96=_0x5667fb;_0x1371ab&&this['_append'](_0x1371ab);var _0x199f5c=this[_0x247c96(0x1c6)]();return _0x199f5c;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x46004d(_0x572626){const _0xfce33f=_0x50cf;return typeof _0x572626==_0xfce33f(0x56d)?_0x232aa3:_0x3e15e5;}return function(_0x35a257){return{'encrypt':function(_0x45e9e8,_0x43a5ec,_0x3eba4a){const _0x478f53=_0x50cf;return _0x46004d(_0x43a5ec)[_0x478f53(0x36d)](_0x35a257,_0x45e9e8,_0x43a5ec,_0x3eba4a);},'decrypt':function(_0x4d1126,_0x4900c4,_0x57b4bc){return _0x46004d(_0x4900c4)['decrypt'](_0x35a257,_0x4d1126,_0x4900c4,_0x57b4bc);}};};}())});_0xb62c87[_0x5667fb(0x27d)]=_0x22b389['extend']({'_doFinalize':function(){const _0x4b36e0=_0x5667fb;var _0x10d3e7=this[_0x4b36e0(0x55f)](!0x0);return _0x10d3e7;},'blockSize':0x1});var _0x1d5f6a=_0x1a1ca1[_0x5667fb(0x281)]={},_0x5d44b4=_0xb62c87[_0x5667fb(0x349)]=_0x5af557[_0x5667fb(0x3d1)]({'createEncryptor':function(_0x1699fb,_0x40a515){const _0x2d45b1=_0x5667fb;return this[_0x2d45b1(0x29d)]['create'](_0x1699fb,_0x40a515);},'createDecryptor':function(_0x531554,_0x431f36){const _0x1d9ba4=_0x5667fb;return this['Decryptor'][_0x1d9ba4(0x2e4)](_0x531554,_0x431f36);},'init':function(_0xa6af49,_0x355653){const _0xf4134a=_0x5667fb;this[_0xf4134a(0x207)]=_0xa6af49,this[_0xf4134a(0x4d2)]=_0x355653;}}),_0xa02afe=_0x1d5f6a['CBC']=(function(){const _0x4e31e7=_0x5667fb;var _0x349270=_0x5d44b4[_0x4e31e7(0x3d1)]();_0x349270[_0x4e31e7(0x29d)]=_0x349270[_0x4e31e7(0x3d1)]({'processBlock':function(_0x31f7f1,_0x4e4006){const _0x27fd39=_0x4e31e7;var _0x357897=this[_0x27fd39(0x207)],_0x531ec0=_0x357897['blockSize'];_0x3c4f0c['call'](this,_0x31f7f1,_0x4e4006,_0x531ec0),_0x357897[_0x27fd39(0x293)](_0x31f7f1,_0x4e4006),this['_prevBlock']=_0x31f7f1['slice'](_0x4e4006,_0x4e4006+_0x531ec0);}}),_0x349270[_0x4e31e7(0x2a8)]=_0x349270[_0x4e31e7(0x3d1)]({'processBlock':function(_0x47bd1e,_0x4132be){const _0x99e23d=_0x4e31e7;var _0x3eb0d4=this[_0x99e23d(0x207)],_0x114793=_0x3eb0d4['blockSize'],_0x21691e=_0x47bd1e[_0x99e23d(0x502)](_0x4132be,_0x4132be+_0x114793);_0x3eb0d4[_0x99e23d(0x4f1)](_0x47bd1e,_0x4132be),_0x3c4f0c[_0x99e23d(0x451)](this,_0x47bd1e,_0x4132be,_0x114793),this[_0x99e23d(0x295)]=_0x21691e;}});function _0x3c4f0c(_0x5be35e,_0x414e5d,_0x179ab7){const _0x621c0f=_0x4e31e7;var _0x4026c2,_0x591659=this[_0x621c0f(0x4d2)];_0x591659?(_0x4026c2=_0x591659,this['_iv']=_0x394cca):_0x4026c2=this[_0x621c0f(0x295)];for(var _0x319269=0x0;_0x319269<_0x179ab7;_0x319269++)_0x5be35e[_0x414e5d+_0x319269]^=_0x4026c2[_0x319269];}return _0x349270;}()),_0x56c794=_0x1a1ca1['pad']={},_0x410625=_0x56c794[_0x5667fb(0x40e)]={'pad':function(_0x23ffa6,_0xf19039){const _0x5d32fd=_0x5667fb;for(var _0x512693=_0xf19039*0x4,_0x10ac1b=_0x512693-_0x23ffa6['sigBytes']%_0x512693,_0x557aac=_0x10ac1b<<0x18|_0x10ac1b<<0x10|_0x10ac1b<<0x8|_0x10ac1b,_0x3feadc=[],_0x4e80e3=0x0;_0x4e80e3<_0x10ac1b;_0x4e80e3+=0x4)_0x3feadc[_0x5d32fd(0x196)](_0x557aac);var _0x4bf787=_0x99e0cc[_0x5d32fd(0x2e4)](_0x3feadc,_0x10ac1b);_0x23ffa6[_0x5d32fd(0x291)](_0x4bf787);},'unpad':function(_0x4bf2b1){const _0x1bc1cb=_0x5667fb;var _0x298e97=_0x4bf2b1[_0x1bc1cb(0x50b)][_0x4bf2b1['sigBytes']-0x1>>>0x2]&0xff;_0x4bf2b1[_0x1bc1cb(0x338)]-=_0x298e97;}};_0xb62c87[_0x5667fb(0x390)]=_0x22b389[_0x5667fb(0x3d1)]({'cfg':_0x22b389[_0x5667fb(0x245)]['extend']({'mode':_0xa02afe,'padding':_0x410625}),'reset':function(){const _0x27365e=_0x5667fb;var _0x3e26fc;_0x22b389[_0x27365e(0x3db)]['call'](this);var _0x2db388=this[_0x27365e(0x245)],_0x44d001=_0x2db388['iv'],_0x4a4a8a=_0x2db388[_0x27365e(0x281)];this[_0x27365e(0x510)]==this[_0x27365e(0x4d3)]?_0x3e26fc=_0x4a4a8a['createEncryptor']:(_0x3e26fc=_0x4a4a8a[_0x27365e(0x26b)],this[_0x27365e(0x526)]=0x1),this[_0x27365e(0x583)]&&this['_mode']['__creator']==_0x3e26fc?this[_0x27365e(0x583)][_0x27365e(0x4bc)](this,_0x44d001&&_0x44d001[_0x27365e(0x50b)]):(this[_0x27365e(0x583)]=_0x3e26fc[_0x27365e(0x451)](_0x4a4a8a,this,_0x44d001&&_0x44d001[_0x27365e(0x50b)]),this[_0x27365e(0x583)][_0x27365e(0x1bb)]=_0x3e26fc);},'_doProcessBlock':function(_0x375a97,_0x55639f){const _0x5abe81=_0x5667fb;this[_0x5abe81(0x583)][_0x5abe81(0x491)](_0x375a97,_0x55639f);},'_doFinalize':function(){const _0x17c9a2=_0x5667fb;var _0x236afd,_0x2933ff=this[_0x17c9a2(0x245)]['padding'];return this[_0x17c9a2(0x510)]==this['_ENC_XFORM_MODE']?(_0x2933ff[_0x17c9a2(0x4a0)](this['_data'],this[_0x17c9a2(0x2f5)]),_0x236afd=this[_0x17c9a2(0x55f)](!0x0)):(_0x236afd=this['_process'](!0x0),_0x2933ff['unpad'](_0x236afd)),_0x236afd;},'blockSize':0x80/0x20});var _0x31f10b=_0xb62c87[_0x5667fb(0x307)]=_0x5af557[_0x5667fb(0x3d1)]({'init':function(_0x300312){const _0x5624e3=_0x5667fb;this[_0x5624e3(0x29e)](_0x300312);},'toString':function(_0x5bf119){const _0x4e1e80=_0x5667fb;return(_0x5bf119||this[_0x4e1e80(0x5a8)])['stringify'](this);}}),_0x425e16=_0x1a1ca1[_0x5667fb(0x1db)]={},_0x2f39f2=_0x425e16[_0x5667fb(0x347)]={'stringify':function(_0x2420f2){const _0x1addb4=_0x5667fb;var _0x1449ca,_0x50c61d=_0x2420f2['ciphertext'],_0x35b09a=_0x2420f2['salt'];return _0x35b09a?_0x1449ca=_0x99e0cc['create']([0x53616c74,0x65645f5f])[_0x1addb4(0x291)](_0x35b09a)[_0x1addb4(0x291)](_0x50c61d):_0x1449ca=_0x50c61d,_0x1449ca['toString'](_0x2a656f);},'parse':function(_0x1a6671){const _0x489e86=_0x5667fb;var _0x146749,_0x2f7bba=_0x2a656f[_0x489e86(0x40c)](_0x1a6671),_0x21f29f=_0x2f7bba['words'];return _0x21f29f[0x0]==0x53616c74&&_0x21f29f[0x1]==0x65645f5f&&(_0x146749=_0x99e0cc[_0x489e86(0x2e4)](_0x21f29f['slice'](0x2,0x4)),_0x21f29f[_0x489e86(0x345)](0x0,0x4),_0x2f7bba['sigBytes']-=0x10),_0x31f10b['create']({'ciphertext':_0x2f7bba,'salt':_0x146749});}},_0x3e15e5=_0xb62c87[_0x5667fb(0x376)]=_0x5af557['extend']({'cfg':_0x5af557[_0x5667fb(0x3d1)]({'format':_0x2f39f2}),'encrypt':function(_0x4870fb,_0x58acb7,_0x983b86,_0x1a9a76){const _0x35e6d3=_0x5667fb;_0x1a9a76=this[_0x35e6d3(0x245)][_0x35e6d3(0x3d1)](_0x1a9a76);var _0x245aa5=_0x4870fb[_0x35e6d3(0x1c1)](_0x983b86,_0x1a9a76),_0x106d45=_0x245aa5['finalize'](_0x58acb7),_0xec5799=_0x245aa5[_0x35e6d3(0x245)];return _0x31f10b[_0x35e6d3(0x2e4)]({'ciphertext':_0x106d45,'key':_0x983b86,'iv':_0xec5799['iv'],'algorithm':_0x4870fb,'mode':_0xec5799['mode'],'padding':_0xec5799[_0x35e6d3(0x52a)],'blockSize':_0x4870fb[_0x35e6d3(0x2f5)],'formatter':_0x1a9a76[_0x35e6d3(0x1db)]});},'decrypt':function(_0x2b7c78,_0xdbbc29,_0x4fd4bc,_0x3ab199){const _0x4c09cd=_0x5667fb;_0x3ab199=this['cfg'][_0x4c09cd(0x3d1)](_0x3ab199),_0xdbbc29=this[_0x4c09cd(0x59c)](_0xdbbc29,_0x3ab199[_0x4c09cd(0x1db)]);var _0x49a134=_0x2b7c78[_0x4c09cd(0x26b)](_0x4fd4bc,_0x3ab199)[_0x4c09cd(0x419)](_0xdbbc29[_0x4c09cd(0x2e3)]);return _0x49a134;},'_parse':function(_0x2e9d1f,_0x597c99){const _0x5d9394=_0x5667fb;return typeof _0x2e9d1f==_0x5d9394(0x56d)?_0x597c99[_0x5d9394(0x40c)](_0x2e9d1f,this):_0x2e9d1f;}}),_0x558532=_0x1a1ca1[_0x5667fb(0x567)]={},_0xf8a8f5=_0x558532[_0x5667fb(0x347)]={'execute':function(_0x5d390f,_0x10dbf7,_0x36ab91,_0x47df27,_0x3731d9){const _0x5cbc36=_0x5667fb;if(_0x47df27||(_0x47df27=_0x99e0cc['random'](0x40/0x8)),_0x3731d9)var _0x3e8e25=_0x353877[_0x5cbc36(0x2e4)]({'keySize':_0x10dbf7+_0x36ab91,'hasher':_0x3731d9})[_0x5cbc36(0x3e3)](_0x5d390f,_0x47df27);else var _0x3e8e25=_0x353877[_0x5cbc36(0x2e4)]({'keySize':_0x10dbf7+_0x36ab91})[_0x5cbc36(0x3e3)](_0x5d390f,_0x47df27);var _0x3a3029=_0x99e0cc[_0x5cbc36(0x2e4)](_0x3e8e25['words']['slice'](_0x10dbf7),_0x36ab91*0x4);return _0x3e8e25['sigBytes']=_0x10dbf7*0x4,_0x31f10b[_0x5cbc36(0x2e4)]({'key':_0x3e8e25,'iv':_0x3a3029,'salt':_0x47df27});}},_0x232aa3=_0xb62c87[_0x5667fb(0x227)]=_0x3e15e5['extend']({'cfg':_0x3e15e5[_0x5667fb(0x245)]['extend']({'kdf':_0xf8a8f5}),'encrypt':function(_0x449dd1,_0x26ca58,_0x5ba8fb,_0x55e62c){const _0x23d675=_0x5667fb;_0x55e62c=this['cfg']['extend'](_0x55e62c);var _0x15e5a9=_0x55e62c[_0x23d675(0x567)]['execute'](_0x5ba8fb,_0x449dd1[_0x23d675(0x203)],_0x449dd1[_0x23d675(0x373)],_0x55e62c[_0x23d675(0x1a8)],_0x55e62c[_0x23d675(0x54b)]);_0x55e62c['iv']=_0x15e5a9['iv'];var _0x1ec398=_0x3e15e5[_0x23d675(0x36d)][_0x23d675(0x451)](this,_0x449dd1,_0x26ca58,_0x15e5a9[_0x23d675(0x272)],_0x55e62c);return _0x1ec398['mixIn'](_0x15e5a9),_0x1ec398;},'decrypt':function(_0x4fc113,_0x44faab,_0xfec927,_0x22eb02){const _0x3d5230=_0x5667fb;_0x22eb02=this[_0x3d5230(0x245)][_0x3d5230(0x3d1)](_0x22eb02),_0x44faab=this['_parse'](_0x44faab,_0x22eb02[_0x3d5230(0x1db)]);var _0x2750bb=_0x22eb02[_0x3d5230(0x567)][_0x3d5230(0x259)](_0xfec927,_0x4fc113[_0x3d5230(0x203)],_0x4fc113[_0x3d5230(0x373)],_0x44faab['salt'],_0x22eb02[_0x3d5230(0x54b)]);_0x22eb02['iv']=_0x2750bb['iv'];var _0x37bbc8=_0x3e15e5['decrypt'][_0x3d5230(0x451)](this,_0x4fc113,_0x44faab,_0x2750bb[_0x3d5230(0x272)],_0x22eb02);return _0x37bbc8;}});}();}));}(_0x55d282)),_0x55d282['exports'];}(function(_0x2e649f,_0x38dd46){(function(_0x492416,_0x3c83a9,_0x333642){const _0x4435bc=_0x50cf;_0x2e649f[_0x4435bc(0x589)]=_0x3c83a9(_0x2e72f8(),_0x6e8aa3(),_0x4cef5f(),_0x36d318(),_0x229862());}(_0x1aae94,function(_0x75fc5e){return(function(){const _0x3b7cf9=_0x50cf;var _0x516a31=_0x75fc5e,_0x272d86=_0x516a31[_0x3b7cf9(0x483)],_0x5e2594=_0x272d86[_0x3b7cf9(0x390)],_0x21363e=_0x516a31[_0x3b7cf9(0x54f)],_0x3b44f9=[],_0x11b9d8=[],_0x1bd9d6=[],_0xc7d8fd=[],_0x2bbace=[],_0x376b80=[],_0x34f279=[],_0x1628f9=[],_0x32c47=[],_0x25928a=[];(function(){for(var _0x25b092=[],_0x457f11=0x0;_0x457f11<0x100;_0x457f11++)_0x457f11<0x80?_0x25b092[_0x457f11]=_0x457f11<<0x1:_0x25b092[_0x457f11]=_0x457f11<<0x1^0x11b;for(var _0x347d0c=0x0,_0x1525aa=0x0,_0x457f11=0x0;_0x457f11<0x100;_0x457f11++){var _0x43642b=_0x1525aa^_0x1525aa<<0x1^_0x1525aa<<0x2^_0x1525aa<<0x3^_0x1525aa<<0x4;_0x43642b=_0x43642b>>>0x8^_0x43642b&0xff^0x63,_0x3b44f9[_0x347d0c]=_0x43642b,_0x11b9d8[_0x43642b]=_0x347d0c;var _0x173180=_0x25b092[_0x347d0c],_0xa4e064=_0x25b092[_0x173180],_0x524302=_0x25b092[_0xa4e064],_0xe156b2=_0x25b092[_0x43642b]*0x101^_0x43642b*0x1010100;_0x1bd9d6[_0x347d0c]=_0xe156b2<<0x18|_0xe156b2>>>0x8,_0xc7d8fd[_0x347d0c]=_0xe156b2<<0x10|_0xe156b2>>>0x10,_0x2bbace[_0x347d0c]=_0xe156b2<<0x8|_0xe156b2>>>0x18,_0x376b80[_0x347d0c]=_0xe156b2;var _0xe156b2=_0x524302*0x1010101^_0xa4e064*0x10001^_0x173180*0x101^_0x347d0c*0x1010100;_0x34f279[_0x43642b]=_0xe156b2<<0x18|_0xe156b2>>>0x8,_0x1628f9[_0x43642b]=_0xe156b2<<0x10|_0xe156b2>>>0x10,_0x32c47[_0x43642b]=_0xe156b2<<0x8|_0xe156b2>>>0x18,_0x25928a[_0x43642b]=_0xe156b2,_0x347d0c?(_0x347d0c=_0x173180^_0x25b092[_0x25b092[_0x25b092[_0x524302^_0x173180]]],_0x1525aa^=_0x25b092[_0x25b092[_0x1525aa]]):_0x347d0c=_0x1525aa=0x1;}}());var _0x2c0c71=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x45e27d=_0x21363e['AES']=_0x5e2594[_0x3b7cf9(0x3d1)]({'_doReset':function(){const _0x6e855e=_0x3b7cf9;var _0x455bff;if(!(this['_nRounds']&&this[_0x6e855e(0x1ac)]===this[_0x6e855e(0x32b)])){for(var _0x3b6f5e=this[_0x6e855e(0x1ac)]=this['_key'],_0x27ea12=_0x3b6f5e[_0x6e855e(0x50b)],_0x1fb976=_0x3b6f5e[_0x6e855e(0x338)]/0x4,_0x1c3013=this[_0x6e855e(0x3ce)]=_0x1fb976+0x6,_0x12e9c2=(_0x1c3013+0x1)*0x4,_0x3363eb=this[_0x6e855e(0x5ca)]=[],_0x1f6af7=0x0;_0x1f6af7<_0x12e9c2;_0x1f6af7++)_0x1f6af7<_0x1fb976?_0x3363eb[_0x1f6af7]=_0x27ea12[_0x1f6af7]:(_0x455bff=_0x3363eb[_0x1f6af7-0x1],_0x1f6af7%_0x1fb976?_0x1fb976>0x6&&_0x1f6af7%_0x1fb976==0x4&&(_0x455bff=_0x3b44f9[_0x455bff>>>0x18]<<0x18|_0x3b44f9[_0x455bff>>>0x10&0xff]<<0x10|_0x3b44f9[_0x455bff>>>0x8&0xff]<<0x8|_0x3b44f9[_0x455bff&0xff]):(_0x455bff=_0x455bff<<0x8|_0x455bff>>>0x18,_0x455bff=_0x3b44f9[_0x455bff>>>0x18]<<0x18|_0x3b44f9[_0x455bff>>>0x10&0xff]<<0x10|_0x3b44f9[_0x455bff>>>0x8&0xff]<<0x8|_0x3b44f9[_0x455bff&0xff],_0x455bff^=_0x2c0c71[_0x1f6af7/_0x1fb976|0x0]<<0x18),_0x3363eb[_0x1f6af7]=_0x3363eb[_0x1f6af7-_0x1fb976]^_0x455bff);for(var _0xeaaeae=this['_invKeySchedule']=[],_0x4d5582=0x0;_0x4d5582<_0x12e9c2;_0x4d5582++){var _0x1f6af7=_0x12e9c2-_0x4d5582;if(_0x4d5582%0x4)var _0x455bff=_0x3363eb[_0x1f6af7];else var _0x455bff=_0x3363eb[_0x1f6af7-0x4];_0x4d5582<0x4||_0x1f6af7<=0x4?_0xeaaeae[_0x4d5582]=_0x455bff:_0xeaaeae[_0x4d5582]=_0x34f279[_0x3b44f9[_0x455bff>>>0x18]]^_0x1628f9[_0x3b44f9[_0x455bff>>>0x10&0xff]]^_0x32c47[_0x3b44f9[_0x455bff>>>0x8&0xff]]^_0x25928a[_0x3b44f9[_0x455bff&0xff]];}}},'encryptBlock':function(_0x445d00,_0x112706){const _0x3d8a4b=_0x3b7cf9;this[_0x3d8a4b(0x354)](_0x445d00,_0x112706,this[_0x3d8a4b(0x5ca)],_0x1bd9d6,_0xc7d8fd,_0x2bbace,_0x376b80,_0x3b44f9);},'decryptBlock':function(_0x927729,_0x12fa18){const _0x278d50=_0x3b7cf9;var _0x149621=_0x927729[_0x12fa18+0x1];_0x927729[_0x12fa18+0x1]=_0x927729[_0x12fa18+0x3],_0x927729[_0x12fa18+0x3]=_0x149621,this['_doCryptBlock'](_0x927729,_0x12fa18,this[_0x278d50(0x21a)],_0x34f279,_0x1628f9,_0x32c47,_0x25928a,_0x11b9d8);var _0x149621=_0x927729[_0x12fa18+0x1];_0x927729[_0x12fa18+0x1]=_0x927729[_0x12fa18+0x3],_0x927729[_0x12fa18+0x3]=_0x149621;},'_doCryptBlock':function(_0x2a8f5f,_0x305910,_0x66461e,_0x1e5b48,_0x300b4c,_0x2f52f7,_0x964665,_0x4ef5b7){const _0x323635=_0x3b7cf9;for(var _0x8a5d58=this[_0x323635(0x3ce)],_0x4ab26c=_0x2a8f5f[_0x305910]^_0x66461e[0x0],_0x1cd693=_0x2a8f5f[_0x305910+0x1]^_0x66461e[0x1],_0x5f08b6=_0x2a8f5f[_0x305910+0x2]^_0x66461e[0x2],_0x266cfc=_0x2a8f5f[_0x305910+0x3]^_0x66461e[0x3],_0x4a8dba=0x4,_0x18e750=0x1;_0x18e750<_0x8a5d58;_0x18e750++){var _0x14b854=_0x1e5b48[_0x4ab26c>>>0x18]^_0x300b4c[_0x1cd693>>>0x10&0xff]^_0x2f52f7[_0x5f08b6>>>0x8&0xff]^_0x964665[_0x266cfc&0xff]^_0x66461e[_0x4a8dba++],_0x37e0ec=_0x1e5b48[_0x1cd693>>>0x18]^_0x300b4c[_0x5f08b6>>>0x10&0xff]^_0x2f52f7[_0x266cfc>>>0x8&0xff]^_0x964665[_0x4ab26c&0xff]^_0x66461e[_0x4a8dba++],_0x5ebc89=_0x1e5b48[_0x5f08b6>>>0x18]^_0x300b4c[_0x266cfc>>>0x10&0xff]^_0x2f52f7[_0x4ab26c>>>0x8&0xff]^_0x964665[_0x1cd693&0xff]^_0x66461e[_0x4a8dba++],_0x4f96a3=_0x1e5b48[_0x266cfc>>>0x18]^_0x300b4c[_0x4ab26c>>>0x10&0xff]^_0x2f52f7[_0x1cd693>>>0x8&0xff]^_0x964665[_0x5f08b6&0xff]^_0x66461e[_0x4a8dba++];_0x4ab26c=_0x14b854,_0x1cd693=_0x37e0ec,_0x5f08b6=_0x5ebc89,_0x266cfc=_0x4f96a3;}var _0x14b854=(_0x4ef5b7[_0x4ab26c>>>0x18]<<0x18|_0x4ef5b7[_0x1cd693>>>0x10&0xff]<<0x10|_0x4ef5b7[_0x5f08b6>>>0x8&0xff]<<0x8|_0x4ef5b7[_0x266cfc&0xff])^_0x66461e[_0x4a8dba++],_0x37e0ec=(_0x4ef5b7[_0x1cd693>>>0x18]<<0x18|_0x4ef5b7[_0x5f08b6>>>0x10&0xff]<<0x10|_0x4ef5b7[_0x266cfc>>>0x8&0xff]<<0x8|_0x4ef5b7[_0x4ab26c&0xff])^_0x66461e[_0x4a8dba++],_0x5ebc89=(_0x4ef5b7[_0x5f08b6>>>0x18]<<0x18|_0x4ef5b7[_0x266cfc>>>0x10&0xff]<<0x10|_0x4ef5b7[_0x4ab26c>>>0x8&0xff]<<0x8|_0x4ef5b7[_0x1cd693&0xff])^_0x66461e[_0x4a8dba++],_0x4f96a3=(_0x4ef5b7[_0x266cfc>>>0x18]<<0x18|_0x4ef5b7[_0x4ab26c>>>0x10&0xff]<<0x10|_0x4ef5b7[_0x1cd693>>>0x8&0xff]<<0x8|_0x4ef5b7[_0x5f08b6&0xff])^_0x66461e[_0x4a8dba++];_0x2a8f5f[_0x305910]=_0x14b854,_0x2a8f5f[_0x305910+0x1]=_0x37e0ec,_0x2a8f5f[_0x305910+0x2]=_0x5ebc89,_0x2a8f5f[_0x305910+0x3]=_0x4f96a3;},'keySize':0x100/0x20});_0x516a31['AES']=_0x5e2594[_0x3b7cf9(0x5f3)](_0x45e27d);}()),_0x75fc5e['AES'];}));}(_0x13e719));var _0x399b9d=_0x13e719['exports'];const _0x3eed45=_0x21900c(_0x399b9d);var _0x4be678=_0x6e8aa3();const _0x9485ec=_0x21900c(_0x4be678);var _0x4447d3={'exports':{}};(function(_0x3a212e,_0x54b8ab){(function(_0x129ac8,_0x4a2b8d){const _0x439c6c=_0x50cf;_0x3a212e[_0x439c6c(0x589)]=_0x4a2b8d(_0x2e72f8());}(_0x1aae94,function(_0x5e8ed5){const _0x1e1b1e=_0x50cf;return _0x5e8ed5[_0x1e1b1e(0x5e9)][_0x1e1b1e(0x429)];}));}(_0x4447d3));var _0x50b0fe=_0x4447d3[_0x494bb3(0x589)];const _0x3ecd8e=_0x21900c(_0x50b0fe);var _0x270f29={'exports':{}};(function(_0x508b99,_0x59055e){(function(_0x179364,_0x4e1c26){_0x508b99['exports']=_0x4e1c26(_0x2e72f8());}(_0x1aae94,function(_0x11a986){const _0xed8936=_0x50cf;return(function(){const _0x558b6e=_0x50cf;if(typeof ArrayBuffer==_0x558b6e(0x4c1)){var _0x47a2f8=_0x11a986,_0x3fc5ca=_0x47a2f8[_0x558b6e(0x483)],_0x69caca=_0x3fc5ca['WordArray'],_0x244ef8=_0x69caca['init'],_0x2cb205=_0x69caca[_0x558b6e(0x4bc)]=function(_0x31fdb8){const _0x5ad599=_0x558b6e;if(_0x31fdb8 instanceof ArrayBuffer&&(_0x31fdb8=new Uint8Array(_0x31fdb8)),(_0x31fdb8 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x31fdb8 instanceof Uint8ClampedArray||_0x31fdb8 instanceof Int16Array||_0x31fdb8 instanceof Uint16Array||_0x31fdb8 instanceof Int32Array||_0x31fdb8 instanceof Uint32Array||_0x31fdb8 instanceof Float32Array||_0x31fdb8 instanceof Float64Array)&&(_0x31fdb8=new Uint8Array(_0x31fdb8['buffer'],_0x31fdb8[_0x5ad599(0x392)],_0x31fdb8[_0x5ad599(0x15d)])),_0x31fdb8 instanceof Uint8Array){for(var _0x3b52cb=_0x31fdb8[_0x5ad599(0x15d)],_0x2f2f4c=[],_0x3e9905=0x0;_0x3e9905<_0x3b52cb;_0x3e9905++)_0x2f2f4c[_0x3e9905>>>0x2]|=_0x31fdb8[_0x3e9905]<<0x18-_0x3e9905%0x4*0x8;_0x244ef8['call'](this,_0x2f2f4c,_0x3b52cb);}else _0x244ef8[_0x5ad599(0x476)](this,arguments);};_0x2cb205[_0x558b6e(0x37f)]=_0x69caca;}}()),_0x11a986[_0xed8936(0x483)][_0xed8936(0x188)];}));}(_0x270f29));var _0x2bcf98=_0x270f29[_0x494bb3(0x589)];const _0x44d572=_0x21900c(_0x2bcf98);var _0x5f47bf={'exports':{}};(function(_0x32474f,_0x54db4c){(function(_0x17b25d,_0x38abf5,_0x4b9c94){_0x32474f['exports']=_0x38abf5(_0x2e72f8(),_0x229862());}(_0x1aae94,function(_0x23fa74){const _0x54a79a=_0x50cf;return _0x23fa74[_0x54a79a(0x4a0)][_0x54a79a(0x374)]={'pad':function(){},'unpad':function(){}},_0x23fa74[_0x54a79a(0x4a0)][_0x54a79a(0x374)];}));}(_0x5f47bf));var _0x542d06=_0x5f47bf[_0x494bb3(0x589)];const _0x4d5d1a=_0x21900c(_0x542d06);function _0xfb6580(_0x44cd30,_0x2eb526){const _0x469ea2=_0x494bb3,_0x1e0627=_0x2eb526-_0x44cd30['length']%_0x2eb526,_0x407d2b=String[_0x469ea2(0x167)](_0x1e0627)['repeat'](_0x1e0627);return _0x44cd30+_0x407d2b;}function _0x46b465(_0x37667e,_0x30dc52){const _0x49192e=_0x494bb3,_0x338383=_0x44d572[_0x49192e(0x182)](0x10),_0x194877=_0xfb6580(_0x37667e,0x10),_0xcef403=_0x3eed45[_0x49192e(0x36d)](_0x3ecd8e[_0x49192e(0x40c)](_0x194877),_0x9485ec[_0x49192e(0x40c)](_0x30dc52),{'iv':_0x338383,'padding':_0x4d5d1a});return _0x338383[_0x49192e(0x291)](_0xcef403['ciphertext'])['toString'](_0x9485ec);}function _0xc5b39e(){const _0x1167f6=_0x494bb3,_0x18d99c=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x1167f6(0x46d)];if(_0x18d99c){const _0x143dcb={'time':Math[_0x1167f6(0x2da)](Date[_0x1167f6(0x280)]()/0x3e8),'domain':location[_0x1167f6(0x45f)]};return _0x46b465(JSON[_0x1167f6(0x58b)](_0x143dcb),_0x18d99c);}}var _0x1e8a57=Object['defineProperty'],_0x27f668=Object['getOwnPropertyDescriptor'],_0x90d7db=(_0x2da4e0,_0x5ae9b8,_0x30f0c9,_0x3ec919)=>{const _0x2aac90=_0x494bb3;for(var _0x1952b7=_0x3ec919>0x1?void 0x0:_0x3ec919?_0x27f668(_0x5ae9b8,_0x30f0c9):_0x5ae9b8,_0x717c98=_0x2da4e0[_0x2aac90(0x5aa)]-0x1,_0x28ff40;_0x717c98>=0x0;_0x717c98--)(_0x28ff40=_0x2da4e0[_0x717c98])&&(_0x1952b7=(_0x3ec919?_0x28ff40(_0x5ae9b8,_0x30f0c9,_0x1952b7):_0x28ff40(_0x1952b7))||_0x1952b7);return _0x3ec919&&_0x1952b7&&_0x1e8a57(_0x5ae9b8,_0x30f0c9,_0x1952b7),_0x1952b7;},_0x4b1888=(_0x4099d4,_0x4c7394)=>(_0xd0e356,_0xfbfa83)=>_0x4c7394(_0xd0e356,_0xfbfa83,_0x4099d4);let _0x2c1fac=class{constructor(_0x4f3921){const _0x4e9379=_0x494bb3;this[_0x4e9379(0x5d9)]=_0x4f3921,this[_0x4e9379(0x5d6)]();}['_initRequestHeader'](){const _0x3b5d81=_0x494bb3;this[_0x3b5d81(0x5d9)][_0x3b5d81(0x3a4)]({'interceptor':(_0x37496b,_0x3721d2)=>{const _0x6fd1d1=_0x3b5d81,_0x506078=_0x37496b[_0x6fd1d1(0x309)],_0x2d2c21=_0xc5b39e();return _0x2d2c21&&_0x506078[_0x6fd1d1(0x33d)]('x-univer-host',_0x2d2c21),_0x3721d2(_0x37496b);}});}};_0x2c1fac=_0x90d7db([_0x4b1888(0x0,_0x5a20c3[_0x494bb3(0x57c)](_0x9ed4dd[_0x494bb3(0x22b)]))],_0x2c1fac);var _0x2d1e62=Object[_0x494bb3(0x5f8)],_0x3d4ad4=Object[_0x494bb3(0x51e)],_0x5abe2c=(_0x16bab0,_0xfc2514,_0x3feb2e,_0x3a7efc)=>{const _0x5b50eb=_0x494bb3;for(var _0x20f3fd=_0x3a7efc>0x1?void 0x0:_0x3a7efc?_0x3d4ad4(_0xfc2514,_0x3feb2e):_0xfc2514,_0x250240=_0x16bab0[_0x5b50eb(0x5aa)]-0x1,_0x130ca3;_0x250240>=0x0;_0x250240--)(_0x130ca3=_0x16bab0[_0x250240])&&(_0x20f3fd=(_0x3a7efc?_0x130ca3(_0xfc2514,_0x3feb2e,_0x20f3fd):_0x130ca3(_0x20f3fd))||_0x20f3fd);return _0x3a7efc&&_0x20f3fd&&_0x2d1e62(_0xfc2514,_0x3feb2e,_0x20f3fd),_0x20f3fd;},_0x245eee=(_0x588534,_0x323a41)=>(_0x352707,_0x1ba29d)=>_0x323a41(_0x352707,_0x1ba29d,_0x588534);const _0x78aae8=['image/png',_0x494bb3(0x2a5),_0x494bb3(0x2fd),'image/gif','image/bmp'],_0x207d62=0x5*0x400*0x400,_0x5bd74d=_0x494bb3(0x5c2),_0x2f3855='/universer-api/stream/file/upload',_0x272022=_0x494bb3(0x3be),_0x195407=_0x494bb3(0x1d0);_0x38d423[_0x494bb3(0x2f9)]=class{constructor(_0x1f2cab,_0x541960,_0x5200d4){const _0x282a6b=_0x494bb3;_0x3ed524(this,_0x282a6b(0x209),0x0),_0x3ed524(this,_0x282a6b(0x40f),new _0x32bae4['Subject']()),_0x3ed524(this,_0x282a6b(0x282),this[_0x282a6b(0x40f)]),_0x3ed524(this,_0x282a6b(0x5a2),new Map()),(this['_httpService']=_0x1f2cab,this[_0x282a6b(0x1f1)]=_0x541960,this[_0x282a6b(0x4a7)]=_0x5200d4);}[_0x494bb3(0x233)](_0x4e1d38){const _0x2a08dc=_0x494bb3;this[_0x2a08dc(0x209)]=_0x4e1d38,this[_0x2a08dc(0x40f)][_0x2a08dc(0x5dd)](_0x4e1d38);}[_0x494bb3(0x270)](_0x5cea59,_0x9aa9fb){const _0x381c28=_0x494bb3;if(_0x9aa9fb===_0x152c2e[_0x381c28(0x481)]['BASE64']){const _0x517339=new Image();return _0x517339['src']=_0x5cea59,_0x517339;}return this[_0x381c28(0x5a2)][_0x381c28(0x537)](_0x5cea59);}['addImageSourceCache'](_0x2c4ac4,_0xaf7843,_0x3c1bf7){const _0x2bed83=_0x494bb3;_0xaf7843===_0x152c2e['ImageSourceType'][_0x2bed83(0x36e)]||_0x3c1bf7==null||this['_imageSourceCache'][_0x2bed83(0x33d)](_0x2c4ac4,_0x3c1bf7);}async[_0x494bb3(0x4f3)](_0x211096){const _0x30994e=_0x494bb3;try{const _0x4a386d=this[_0x30994e(0x1e1)](this[_0x30994e(0x531)](),''+_0x211096),_0x8994f9=(await this[_0x30994e(0x5d9)]['get'](_0x4a386d))[_0x30994e(0x271)];if(_0x8994f9['error']&&_0x8994f9['error'][_0x30994e(0x3dd)]===_0x37591c['OK']){const _0x36ade6=new URL(_0x8994f9[_0x30994e(0x1dc)],this[_0x30994e(0x2b1)]())[_0x30994e(0x283)]();return Promise[_0x30994e(0x4c0)](_0x36ade6);}return Promise[_0x30994e(0x4a2)](_0x8994f9[_0x30994e(0x35a)]);}catch(_0x10c91b){return Promise['reject'](_0x10c91b);}}async['saveImage'](_0x23d7f6){const _0x220cbb=_0x494bb3;let _0x25bc71='';if(!_0x78aae8[_0x220cbb(0x1ae)](_0x23d7f6['type']))return this[_0x220cbb(0x4f6)](),Promise[_0x220cbb(0x4a2)](new Error(_0x152c2e[_0x220cbb(0x609)][_0x220cbb(0x35c)]));if(_0x23d7f6['size']>_0x207d62)return this['_decreaseWaiting'](),Promise[_0x220cbb(0x4a2)](new Error(_0x152c2e[_0x220cbb(0x609)][_0x220cbb(0x21e)]));try{const _0x5568db=new FormData();_0x5568db[_0x220cbb(0x37a)](_0x220cbb(0x409),_0x23d7f6);const _0x3b4f67=this[_0x220cbb(0x4a7)][_0x220cbb(0x189)](),_0x6a86fc=_0x3b4f67==null?void 0x0:_0x3b4f67[_0x220cbb(0x4dc)]();if(!_0x6a86fc)throw new Error(_0x220cbb(0x41e));const _0x375ad0=this[_0x220cbb(0x436)]()+_0x220cbb(0x2ba)+_0x23d7f6[_0x220cbb(0x23e)][_0x220cbb(0x283)]()+_0x220cbb(0x5ea)+_0x2aec2f[_0x220cbb(0x157)]+_0x220cbb(0x412)+encodeURIComponent(_0x6a86fc),_0x52e150=await(await fetch(_0x375ad0,{'method':_0x220cbb(0x210),'body':_0x5568db}))[_0x220cbb(0x446)]();if(typeof _0x52e150[_0x220cbb(0x3f9)]!=_0x220cbb(0x56d))return this[_0x220cbb(0x4f6)](),Promise[_0x220cbb(0x4a2)](new Error(_0x152c2e['ImageUploadStatusType']['ERROR_IMAGE']));_0x25bc71=_0x52e150[_0x220cbb(0x3f9)];}catch{return this[_0x220cbb(0x4f6)](),Promise[_0x220cbb(0x4a2)](new Error(_0x152c2e[_0x220cbb(0x609)]['ERROR_IMAGE']));}return new Promise((_0x452a65,_0x142bf1)=>{const _0x16b207=_0x220cbb,_0x298b39=new FileReader();_0x298b39[_0x16b207(0x2fe)](_0x23d7f6),_0x298b39[_0x16b207(0x51d)]=_0x81f948=>{const _0xa18d6=_0x16b207;var _0x1b1b2b;const _0x4fab16=(_0x1b1b2b=_0x81f948[_0xa18d6(0x220)])==null?void 0x0:_0x1b1b2b[_0xa18d6(0x306)];if(_0x4fab16==null){this[_0xa18d6(0x4f6)](),_0x142bf1(new Error(_0x152c2e[_0xa18d6(0x609)][_0xa18d6(0x25a)]));return;}const _0x3cabc5=_0x5a20c3['Tools'][_0xa18d6(0x310)](0x6);_0x452a65({'imageId':_0x3cabc5,'imageSourceType':_0x152c2e[_0xa18d6(0x481)]['UUID'],'source':_0x25bc71,'base64Cache':_0x4fab16,'status':_0x152c2e['ImageUploadStatusType'][_0xa18d6(0x2c6)]}),this[_0xa18d6(0x4f6)]();};});}[_0x494bb3(0x436)](){const _0x5be1e2=_0x494bb3;var _0x42b60e,_0x6b3fbc;const _0x2fb27f=this[_0x5be1e2(0x1f1)][_0x5be1e2(0x19a)](_0x5bd74d),_0x484258=this[_0x5be1e2(0x1f1)][_0x5be1e2(0x19a)](_0x59eaf6);return(_0x6b3fbc=(_0x42b60e=_0x484258==null?void 0x0:_0x484258['uploadFileServerUrl'])!=null?_0x42b60e:_0x2fb27f)!=null?_0x6b3fbc:_0x2f3855;}[_0x494bb3(0x531)](){const _0x253448=_0x494bb3;var _0x4bb39e,_0x20dfab;const _0x2e5a57=this[_0x253448(0x1f1)][_0x253448(0x19a)](_0x272022),_0x1bc87c=this['_configService']['getConfig'](_0x59eaf6);return(_0x20dfab=(_0x4bb39e=_0x1bc87c==null?void 0x0:_0x1bc87c[_0x253448(0x343)])!=null?_0x4bb39e:_0x2e5a57)!=null?_0x20dfab:_0x195407;}[_0x494bb3(0x2b1)](){const _0x17f599=_0x494bb3;var _0x5a8a1d;const _0x131bb5=this[_0x17f599(0x1f1)]['getConfig'](_0x59eaf6);return(_0x5a8a1d=_0x131bb5==null?void 0x0:_0x131bb5[_0x17f599(0x21d)])!=null?_0x5a8a1d:location[_0x17f599(0x169)];}[_0x494bb3(0x1e1)](_0x3f209c,_0x186238){const _0x330363=_0x494bb3;return _0x3f209c['replace'](_0x330363(0x411),_0x186238);}[_0x494bb3(0x4f6)](){const _0x3f27bc=_0x494bb3;this[_0x3f27bc(0x209)]-=0x1,this['_change$'][_0x3f27bc(0x5dd)](this[_0x3f27bc(0x209)]);}},_0x38d423[_0x494bb3(0x2f9)]=_0x5abe2c([_0x245eee(0x0,_0x5a20c3[_0x494bb3(0x57c)](_0x9ed4dd['HTTPService'])),_0x245eee(0x1,_0x5a20c3[_0x494bb3(0x175)]),_0x245eee(0x2,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x17e)]))],_0x38d423[_0x494bb3(0x2f9)]);var _0x52eda5=Object[_0x494bb3(0x5f8)],_0x5cefd0=Object[_0x494bb3(0x51e)],_0xee5879=(_0x35be90,_0x22ae4d,_0x4a8034,_0x1d8b73)=>{const _0x379515=_0x494bb3;for(var _0x318982=_0x1d8b73>0x1?void 0x0:_0x1d8b73?_0x5cefd0(_0x22ae4d,_0x4a8034):_0x22ae4d,_0x275752=_0x35be90[_0x379515(0x5aa)]-0x1,_0x4c8c9a;_0x275752>=0x0;_0x275752--)(_0x4c8c9a=_0x35be90[_0x275752])&&(_0x318982=(_0x1d8b73?_0x4c8c9a(_0x22ae4d,_0x4a8034,_0x318982):_0x4c8c9a(_0x318982))||_0x318982);return _0x1d8b73&&_0x318982&&_0x52eda5(_0x22ae4d,_0x4a8034,_0x318982),_0x318982;},_0x1e9e42=(_0x8d5f51,_0x1fbe3e)=>(_0xb1fb73,_0x933457)=>_0x1fbe3e(_0xb1fb73,_0x933457,_0x8d5f51);let _0x451e92=class extends _0x5a20c3[_0x494bb3(0x3ed)]{constructor(_0x4163a7,_0x31f31c,_0x9cb4,_0x4f47dd,_0x15c6f4){const _0x339524=_0x494bb3;super(),this[_0x339524(0x221)]=_0x4163a7,this['_univerInstanceService']=_0x31f31c,this[_0x339524(0x441)]=_0x9cb4,this[_0x339524(0x57b)]=_0x4f47dd,this[_0x339524(0x26e)]=_0x15c6f4,this[_0x339524(0x363)](),this[_0x339524(0x380)]();}[_0x494bb3(0x380)](){const _0x4b78bf=_0x494bb3,_0x5a4c2f=async _0x5d0307=>{const _0x2dc357=_0x50cf;(await this[_0x2dc357(0x57b)]['requireSession'](_0x5d0307))[_0x2dc357(0x5f6)][_0x2dc357(0x1d4)](_0x51e720[_0x2dc357(0x264)](_0x35c915=>_0x35c915[_0x2dc357(0x383)]===_0x4d11e3[_0x2dc357(0x213)]['SHOULD_CLOSE_CONN']),_0x51e720[_0x2dc357(0x1d1)](this[_0x2dc357(0x5af)]))[_0x2dc357(0x38d)](_0x242c2e=>{const _0x9a2790=_0x2dc357,_0x1a8a0a=_0x242c2e,{reason:_0x4c30e6}=_0x1a8a0a[_0x9a2790(0x5a3)];this[_0x9a2790(0x221)][_0x9a2790(0x537)](_0x33d470['IMessageService'])[_0x9a2790(0x478)]({'type':_0x989dfe[_0x9a2790(0x5f0)]['Error'],'content':this[_0x9a2790(0x26e)]['t']('collaboration.closeRoom')+'('+_0x4c30e6+')'}),this[_0x9a2790(0x441)]['updatePermissionPoint'](new _0x66e3f4[(_0x9a2790(0x35d))](_0x5d0307)['id'],!0x1),this['_collaborationSessionService'][_0x9a2790(0x28d)](_0x5d0307);});};_0x32bae4[_0x4b78bf(0x3fc)](this['_univerInstanceService'][_0x4b78bf(0x465)](_0x5a20c3['UniverInstanceType']['UNIVER_SHEET']),this[_0x4b78bf(0x4a7)][_0x4b78bf(0x465)](_0x5a20c3[_0x4b78bf(0x4c5)][_0x4b78bf(0x512)]))[_0x4b78bf(0x1d4)](_0x51e720[_0x4b78bf(0x48f)](_0x585e02=>_0x585e02[_0x4b78bf(0x4dc)]()),_0x51e720[_0x4b78bf(0x264)](_0x28df02=>!_0x5a20c3['isInternalEditorID'](_0x28df02)),_0x51e720['takeUntil'](this[_0x4b78bf(0x5af)]))[_0x4b78bf(0x38d)](_0x3aeaa3=>{_0x5a4c2f(_0x3aeaa3);});}[_0x494bb3(0x363)](){const _0x21abe0=_0x494bb3,_0x202ce8=async _0x59f691=>{const _0x22bd3=_0x50cf;(await this[_0x22bd3(0x57b)][_0x22bd3(0x3b7)](_0x59f691))[_0x22bd3(0x5f6)][_0x22bd3(0x1d4)](_0x51e720[_0x22bd3(0x264)](_0xf97382=>_0xf97382[_0x22bd3(0x383)]===_0x4d11e3[_0x22bd3(0x213)]['UPDATE_PERMISSION_OBJ']),_0x51e720[_0x22bd3(0x1d1)](this[_0x22bd3(0x5af)]))[_0x22bd3(0x38d)](_0x2b7286=>{const _0x4ee3ae=_0x22bd3,_0x9ef67b=_0x2b7286,{objectId:_0x1242a6}=_0x9ef67b[_0x4ee3ae(0x5a3)],_0x24ead1=this['_injector'][_0x4ee3ae(0x537)](_0x194a78[_0x4ee3ae(0x165)]);_0x1242a6===_0x59f691?_0x24ead1['initWorkbookPermissionChange'](_0x59f691):_0x24ead1[_0x4ee3ae(0x2fb)](_0x59f691,_0x1242a6);});};_0x32bae4[_0x21abe0(0x3fc)](this[_0x21abe0(0x4a7)][_0x21abe0(0x465)](_0x5a20c3[_0x21abe0(0x4c5)][_0x21abe0(0x329)]),this[_0x21abe0(0x4a7)][_0x21abe0(0x465)](_0x5a20c3[_0x21abe0(0x4c5)][_0x21abe0(0x512)]))[_0x21abe0(0x1d4)](_0x51e720['map'](_0x5a8a2f=>_0x5a8a2f[_0x21abe0(0x4dc)]()),_0x51e720['filter'](_0x299397=>!_0x5a20c3[_0x21abe0(0x191)](_0x299397)),_0x51e720[_0x21abe0(0x1d1)](this[_0x21abe0(0x5af)]))['subscribe'](_0x4be07c=>{_0x202ce8(_0x4be07c);});}};_0x451e92=_0xee5879([_0x1e9e42(0x0,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x596)])),_0x1e9e42(0x1,_0x5a20c3[_0x494bb3(0x17e)]),_0x1e9e42(0x2,_0x5a20c3[_0x494bb3(0x397)]),_0x1e9e42(0x3,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1a9)])),_0x1e9e42(0x4,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x439)]))],_0x451e92);var _0x2199de=Object[_0x494bb3(0x5f8)],_0x376517=Object['getOwnPropertyDescriptor'],_0x405f45=(_0x1ccdf2,_0x444a06,_0x42574f,_0x169f20)=>{const _0x2258d9=_0x494bb3;for(var _0x4cce9e=_0x169f20>0x1?void 0x0:_0x169f20?_0x376517(_0x444a06,_0x42574f):_0x444a06,_0x15ef8e=_0x1ccdf2[_0x2258d9(0x5aa)]-0x1,_0x1d4b30;_0x15ef8e>=0x0;_0x15ef8e--)(_0x1d4b30=_0x1ccdf2[_0x15ef8e])&&(_0x4cce9e=(_0x169f20?_0x1d4b30(_0x444a06,_0x42574f,_0x4cce9e):_0x1d4b30(_0x4cce9e))||_0x4cce9e);return _0x169f20&&_0x4cce9e&&_0x2199de(_0x444a06,_0x42574f,_0x4cce9e),_0x4cce9e;},_0xd4da95=(_0x59de21,_0x31b1be)=>(_0x376f50,_0x5af08b)=>_0x31b1be(_0x376f50,_0x5af08b,_0x59de21);_0x38d423[_0x494bb3(0x5fa)]=class{constructor(_0x234624,_0x39fa5f){const _0x34da6a=_0x494bb3;this[_0x34da6a(0x1f1)]=_0x234624,this[_0x34da6a(0x5d9)]=_0x39fa5f;}async[_0x494bb3(0x1e2)](_0x49c207,_0x33bdad){const _0xa6605f=_0x494bb3;var _0x43b79d;const {unitID:_0x4a98b9,type:_0x16c484,revision:_0x67085f=0x0}=_0x33bdad,_0xbad760=this['_getSnapshotAPIPrefix']()+'/'+_0x16c484+_0xa6605f(0x5e4)+_0x4a98b9+'/rev/'+_0x67085f,_0x3696a8=(await this['_httpService'][_0xa6605f(0x537)](_0xbad760))[_0xa6605f(0x271)],_0x1a8eb7=(_0x43b79d=_0x3696a8['snapshot'])==null?void 0x0:_0x43b79d[_0xa6605f(0x4a9)];if(_0x1a8eb7){const _0x53cc7d=_0x1a8eb7==null?void 0x0:_0x1a8eb7['originalMeta'],_0x4e3018=_0x4d11e3['textEncoder'][_0xa6605f(0x3cc)](_0x4d11e3[_0xa6605f(0x4c6)](_0x53cc7d));_0x1a8eb7[_0xa6605f(0x4e6)]=_0x4e3018,Object[_0xa6605f(0x287)](_0x1a8eb7[_0xa6605f(0x384)])[_0xa6605f(0x5e8)](([,_0x302067])=>{const _0x18931c=_0xa6605f,_0xd6d31e=_0x302067['originalMeta'],_0x1213e1=_0x4d11e3[_0x18931c(0x2a1)][_0x18931c(0x3cc)](_0x4d11e3[_0x18931c(0x4c6)](_0xd6d31e));_0x302067[_0x18931c(0x4e6)]=_0x1213e1;});}return _0x3696a8;}async['getSheetBlock'](_0x39d7a2,_0x1ff9eb){const _0x20a655=_0x494bb3,{unitID:_0x50374f,type:_0x20eb48,blockID:_0x5b15e9}=_0x1ff9eb,_0x257110=this[_0x20a655(0x302)]()+'/'+_0x20eb48+_0x20a655(0x5e4)+_0x50374f+_0x20a655(0x422)+_0x5b15e9;return(await this[_0x20a655(0x5d9)][_0x20a655(0x537)](_0x257110))[_0x20a655(0x271)];}async[_0x494bb3(0x588)](_0x13f103,_0x2e0b30){const _0x311851=_0x494bb3,{unitID:_0x3a9922,type:_0x283224,blockID:_0x2098ca}=_0x2e0b30,_0x4d6b04=this['_getAPIPrefix']()+_0x311851(0x422)+_0x283224+'/unit/'+_0x3a9922+_0x311851(0x422)+_0x2098ca;return(await this[_0x311851(0x5d9)][_0x311851(0x537)](_0x4d6b04))[_0x311851(0x271)];}async[_0x494bb3(0x459)](_0x1c7be2,_0x4c9373){const _0x533c80=_0x494bb3,{unitID:_0x38d837,type:_0x31f11e,from:_0x5a185a,to:_0x290659}=_0x4c9373,_0x3e0649=this[_0x533c80(0x302)]()+'/'+_0x31f11e+'/unit/'+_0x38d837+_0x533c80(0x468)+_0x5a185a+_0x533c80(0x556)+_0x290659;return(await this['_httpService']['get'](_0x3e0649))[_0x533c80(0x271)];}[_0x494bb3(0x541)](){const _0x257d4c=_0x494bb3;var _0x1a7736;return(_0x1a7736=this[_0x257d4c(0x1f1)][_0x257d4c(0x19a)](_0xe41584))!=null?_0x1a7736:this[_0x257d4c(0x302)]();}[_0x494bb3(0x302)](){const _0x1cbb02=_0x494bb3;var _0x549536,_0x16ebfb;const _0x166927=this[_0x1cbb02(0x1f1)]['getConfig'](_0x9ad7b4),_0x2b6093=this[_0x1cbb02(0x1f1)]['getConfig'](_0x59eaf6);return(_0x16ebfb=(_0x549536=_0x2b6093==null?void 0x0:_0x2b6093['snapshotServerUrl'])!=null?_0x549536:_0x166927)!=null?_0x16ebfb:_0x1974b1;}async[_0x494bb3(0x206)](_0x1cdeee,_0x2d8865){const _0x18fd9c=_0x494bb3,_0x4fb5d1=_0x18fd9c(0x327)+_0x2d8865['type']+_0x18fd9c(0x5e4)+_0x2d8865['unitID']+_0x18fd9c(0x404);return(await this[_0x18fd9c(0x5d9)][_0x18fd9c(0x537)](_0x4fb5d1,{'params':{'resourceId':JSON[_0x18fd9c(0x58b)](_0x2d8865[_0x18fd9c(0x222)])}}))[_0x18fd9c(0x271)];}[_0x494bb3(0x323)](){const _0x5675e1=_0x494bb3;throw new Error(_0x5675e1(0x530));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x494bb3(0x337)](){const _0x39f919=_0x494bb3;throw new Error(_0x39f919(0x530));}[_0x494bb3(0x27f)](){const _0x5c0f0e=_0x494bb3;throw new Error(_0x5c0f0e(0x530));}[_0x494bb3(0x5ae)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x38d423['SnapshotServerOverHTTPService']=_0x405f45([_0xd4da95(0x0,_0x5a20c3['IConfigService']),_0xd4da95(0x1,_0x5a20c3[_0x494bb3(0x57c)](_0x9ed4dd[_0x494bb3(0x22b)]))],_0x38d423[_0x494bb3(0x5fa)]);var _0x3e5ce3=Object[_0x494bb3(0x5f8)],_0x1a2003=Object[_0x494bb3(0x51e)],_0x1d6564=(_0x1f4bf0,_0x26a96b,_0x136ee3,_0xf7f198)=>{for(var _0x23f378=_0xf7f198>0x1?void 0x0:_0xf7f198?_0x1a2003(_0x26a96b,_0x136ee3):_0x26a96b,_0x377c3a=_0x1f4bf0['length']-0x1,_0x5c4187;_0x377c3a>=0x0;_0x377c3a--)(_0x5c4187=_0x1f4bf0[_0x377c3a])&&(_0x23f378=(_0xf7f198?_0x5c4187(_0x26a96b,_0x136ee3,_0x23f378):_0x5c4187(_0x23f378))||_0x23f378);return _0xf7f198&&_0x23f378&&_0x3e5ce3(_0x26a96b,_0x136ee3,_0x23f378),_0x23f378;},_0x537292=(_0x52d40f,_0x4b81cc)=>(_0x371391,_0x1db567)=>_0x4b81cc(_0x371391,_0x1db567,_0x52d40f);let _0x4c5d22=class extends _0x5a20c3['LocalUndoRedoService']{constructor(_0x1c3ecc,_0x280d52,_0xf22393,_0x18b58b,_0x2d29e2){const _0x2f869c=_0x494bb3;super(_0x1c3ecc,_0x280d52,_0xf22393),this['_transformService']=_0x18b58b,this[_0x2f869c(0x3f5)]=_0x2d29e2;}['transformUndoRedo'](_0x145fca,_0x319798){const _0x59838d=_0x494bb3,_0x323d69=this[_0x59838d(0x418)](_0x145fca);if(_0x323d69)try{const _0x40e9fc=this[_0x59838d(0x3e5)](_0x323d69,_0x319798);this[_0x59838d(0x4ec)](_0x145fca,_0x40e9fc);}catch(_0x42e164){this[_0x59838d(0x3f5)][_0x59838d(0x35a)](_0x59838d(0x2c5),_0x42e164),this[_0x59838d(0x316)](_0x145fca);}const _0x269359=this[_0x59838d(0x356)](_0x145fca);if(_0x269359)try{const _0x2a7c1e=this[_0x59838d(0x3e5)](_0x269359,_0x319798);this[_0x59838d(0x34f)](_0x145fca,_0x2a7c1e);}catch(_0x2bdebf){this[_0x59838d(0x3f5)][_0x59838d(0x35a)](_0x2bdebf),this['_clearRedo'](_0x145fca);}}[_0x494bb3(0x316)](_0x2f8bc2){const _0x167bd1=_0x494bb3,_0x1b0d21=this[_0x167bd1(0x418)](_0x2f8bc2);_0x1b0d21&&(_0x1b0d21['length']=0x0,this['_updateStatus']());}[_0x494bb3(0x4d5)](_0x27b1d1){const _0x5c8974=_0x494bb3,_0x5e4234=this['_getRedoStack'](_0x27b1d1);_0x5e4234&&(_0x5e4234[_0x5c8974(0x5aa)]=0x0,this[_0x5c8974(0x2bb)]());}[_0x494bb3(0x4ec)](_0x50f9ae,_0x10173c){const _0x486d0d=_0x494bb3;this[_0x486d0d(0x269)]['set'](_0x50f9ae,_0x10173c),this[_0x486d0d(0x2bb)]();}['_substituteRedoStack'](_0x308a96,_0x2d50bd){const _0x3e17bc=_0x494bb3;this['_redoStacks'][_0x3e17bc(0x33d)](_0x308a96,_0x2d50bd),this['_updateStatus']();}[_0x494bb3(0x3e5)](_0x182d5c,_0xfd5fba){const _0x2105f4=_0x494bb3,_0x28d08d=[];let _0x111cb4=_0xfd5fba,_0x23d11c=_0xfd5fba;for(let _0x506a31=_0x182d5c[_0x2105f4(0x5aa)]-0x1;_0x506a31>=0x0;_0x506a31--){const {unitID:_0x14e382,undoMutations:_0x4ac3a2,redoMutations:_0x171ceb}=_0x182d5c[_0x506a31],_0x4b0701=this[_0x2105f4(0x241)][_0x2105f4(0x381)](_0x111cb4,_0x4ac3a2),_0x509d28=this[_0x2105f4(0x241)][_0x2105f4(0x381)](_0x23d11c,_0x171ceb);if(_0x4d11e3[_0x2105f4(0x472)](_0x4b0701)||_0x4d11e3['isTransformMutationsWithChangesetFailure'](_0x509d28)){this[_0x2105f4(0x3f5)][_0x2105f4(0x35a)](_0x2105f4(0x2c5),_0x2105f4(0x5d2),_0x4b0701,_0x509d28);break;}_0x111cb4=_0x4b0701[_0x2105f4(0x297)],_0x23d11c=_0x509d28['c1Prime'],_0x28d08d['push']({'unitID':_0x14e382,'undoMutations':_0x4b0701['m2Prime'],'redoMutations':_0x509d28[_0x2105f4(0x3fd)]});}return _0x28d08d['reverse']();}};_0x4c5d22=_0x1d6564([_0x537292(0x0,_0x5a20c3['IUniverInstanceService']),_0x537292(0x1,_0x5a20c3[_0x494bb3(0x39a)]),_0x537292(0x2,_0x5a20c3['IContextService']),_0x537292(0x3,_0x4d11e3['ITransformService']),_0x537292(0x4,_0x5a20c3[_0x494bb3(0x494)])],_0x4c5d22);class _0x4e07fe extends _0x5a20c3[_0x494bb3(0x3ed)]{constructor(){const _0x9afbf9=_0x494bb3;super(),_0x3ed524(this,'urlChange$'),this[_0x9afbf9(0x3bd)]=_0x32bae4[_0x9afbf9(0x38e)](window,'popstate')[_0x9afbf9(0x1d4)](_0x32bae4[_0x9afbf9(0x1d1)](this[_0x9afbf9(0x5af)]),_0x32bae4[_0x9afbf9(0x1e8)](0x1),_0x32bae4[_0x9afbf9(0x2ef)](void 0x0));}[_0x494bb3(0x421)](_0x13f9e1,_0x2b422e,_0x10fd6b=!0x1){const _0x5d05ee=_0x494bb3,_0x4cb288=new URL(window[_0x5d05ee(0x2ae)][_0x5d05ee(0x1c4)]);_0x4cb288[_0x5d05ee(0x4ae)][_0x5d05ee(0x33d)](_0x13f9e1,_0x2b422e),_0x10fd6b?window['history'][_0x5d05ee(0x1ea)]('','',_0x4cb288[_0x5d05ee(0x283)]()):window['history']['pushState']('','',_0x4cb288['toString']());}[_0x494bb3(0x4cc)](_0x37631e,_0x430e70=!0x1){const _0x27dd5e=_0x494bb3,_0x3e2c26=new URL(window[_0x27dd5e(0x2ae)][_0x27dd5e(0x1c4)]);_0x3e2c26['searchParams'][_0x27dd5e(0x43d)](_0x37631e),_0x430e70?window['history'][_0x27dd5e(0x1ea)]('','',_0x3e2c26[_0x27dd5e(0x283)]()):window[_0x27dd5e(0x2c4)][_0x27dd5e(0x262)]('','',_0x3e2c26[_0x27dd5e(0x283)]());}[_0x494bb3(0x2d6)](_0x339c46){const _0x5adaa8=_0x494bb3;var _0x5a38a2;return(_0x5a38a2=new URL(window[_0x5adaa8(0x2ae)][_0x5adaa8(0x1c4)])[_0x5adaa8(0x4ae)][_0x5adaa8(0x537)](_0x339c46))!=null?_0x5a38a2:void 0x0;}}var _0x17c95=Object['defineProperty'],_0x1076b7=Object['getOwnPropertyDescriptor'],_0x39372e=(_0x2c2c88,_0x321c8f,_0x32f5ae)=>_0x321c8f in _0x2c2c88?_0x17c95(_0x2c2c88,_0x321c8f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x32f5ae}):_0x2c2c88[_0x321c8f]=_0x32f5ae,_0x14651f=(_0x12c02a,_0x4ad23b,_0x29f204,_0x1e97be)=>{for(var _0x92534=_0x1e97be>0x1?void 0x0:_0x1e97be?_0x1076b7(_0x4ad23b,_0x29f204):_0x4ad23b,_0x4ef05a=_0x12c02a['length']-0x1,_0x42f964;_0x4ef05a>=0x0;_0x4ef05a--)(_0x42f964=_0x12c02a[_0x4ef05a])&&(_0x92534=(_0x1e97be?_0x42f964(_0x4ad23b,_0x29f204,_0x92534):_0x42f964(_0x92534))||_0x92534);return _0x1e97be&&_0x92534&&_0x17c95(_0x4ad23b,_0x29f204,_0x92534),_0x92534;},_0x10143f=(_0x49a3be,_0x1957e2)=>(_0x518693,_0x4768ae)=>_0x1957e2(_0x518693,_0x4768ae,_0x49a3be),_0x588d78=(_0x161046,_0xa75356,_0x5775f0)=>_0x39372e(_0x161046,_0xa75356+'',_0x5775f0);const _0x16d03b='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x38d423['UniverCollaborationClientPlugin']=class extends _0x5a20c3[_0x494bb3(0x2a2)]{constructor(_0x542408=_0x48bf3d,_0x5c9252,_0x497c92,_0x6a1cdd,_0x428b5d){const _0x4a09eb=_0x494bb3;super(),this[_0x4a09eb(0x1e5)]=_0x542408,this[_0x4a09eb(0x3f5)]=_0x5c9252,this[_0x4a09eb(0x257)]=_0x497c92,this[_0x4a09eb(0x221)]=_0x6a1cdd,this[_0x4a09eb(0x1f1)]=_0x428b5d;const {..._0x1701de}=this[_0x4a09eb(0x1e5)];this[_0x4a09eb(0x1f1)][_0x4a09eb(0x456)](_0x59eaf6,_0x1701de);}[_0x494bb3(0x3b3)](){const _0x2cbd3e=_0x494bb3;this['_registerDependencies'](),this[_0x2cbd3e(0x294)]();}['onReady'](){const _0x57c618=_0x494bb3;_0x5a20c3['touchDependencies'](this[_0x57c618(0x221)],[[_0x13737c]]);}['onRendered'](){const _0x20ae42=_0x494bb3;this[_0x20ae42(0x4af)]();}['_registerDependencies'](){const _0x3fee5c=_0x494bb3;var _0x2e9531,_0x448802,_0x4a5c43,_0x8dd2dd;this[_0x3fee5c(0x221)][_0x3fee5c(0x4a3)](_0x5a20c3[_0x3fee5c(0x44c)])&&this[_0x3fee5c(0x3f5)][_0x3fee5c(0x35a)](_0x3fee5c(0x543),_0x3fee5c(0x1ab));const _0x23f905=[[_0x5a20c3['IUndoRedoService'],{'useClass':_0x4c5d22}],[_0x38d423[_0x3fee5c(0x1a9)]],[_0x174ccb],[_0x1ea4a4,{'useClass':_0x4e07fe}],[_0x38d423['MemberService']],[_0x38d423[_0x3fee5c(0x1ca)]],[_0x9ed4dd[_0x3fee5c(0x1ba)]],[_0x47f26b],[_0x2c3f2f],[_0x11a9c0],[_0x455c32],[_0x171169],[_0x264022],[_0x2c1fac],[_0x1cf212],[_0x451e92],[_0x45677d,{'useClass':(_0x448802=(_0x2e9531=this[_0x3fee5c(0x1e5)])==null?void 0x0:_0x2e9531[_0x3fee5c(0x340)])!=null?_0x448802:_0x38d423[_0x3fee5c(0x3f6)]}],[_0x4d11e3[_0x3fee5c(0x553)],{'useClass':_0x38d423[_0x3fee5c(0x5fa)]}],[_0x5a20c3[_0x3fee5c(0x554)],{'useClass':_0x38d423['AuthzIoHttpService']}],[_0x152c2e['IImageIoService'],{'useClass':_0x38d423['ImageIoService']}],[_0x38d423[_0x3fee5c(0x39c)]],[_0x38d423[_0x3fee5c(0x579)]],[_0x38d423[_0x3fee5c(0x4de)]],[_0x13737c],[_0x36312d]];(_0x4a5c43=this[_0x3fee5c(0x1e5)])!=null&&_0x4a5c43[_0x3fee5c(0x4ce)]&&_0x23f905['push']([_0x104336,{'useClass':_0x1fe08a}]),_0x5a20c3['registerDependencies'](this['_injector'],_0x5a20c3[_0x3fee5c(0x3c7)](_0x23f905,(_0x8dd2dd=this['_config'])==null?void 0x0:_0x8dd2dd[_0x3fee5c(0x254)]));}[_0x494bb3(0x4af)](){const _0x5ec881=_0x494bb3;this[_0x5ec881(0x385)](this[_0x5ec881(0x257)][_0x5ec881(0x268)](_0x5a20c3[_0x5ec881(0x4c5)]['UNIVER_DOC'],[_0x33ad6d])),this['disposeWithMe'](this[_0x5ec881(0x257)][_0x5ec881(0x268)](_0x5a20c3[_0x5ec881(0x4c5)][_0x5ec881(0x329)],[_0x4777ba]));}[_0x494bb3(0x294)](){const _0x5806bb=_0x494bb3;var _0x5dc6bb,_0x4958ad;this[_0x5806bb(0x221)][_0x5806bb(0x537)](_0x9ed4dd[_0x5806bb(0x22b)])[_0x5806bb(0x3a4)]({'priority':0x14,'interceptor':_0x9ed4dd['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x5dc6bb=this[_0x5806bb(0x1e5)])!=null&&_0x5dc6bb[_0x5806bb(0x15a)]||this[_0x5806bb(0x221)][_0x5806bb(0x537)](_0x38d423[_0x5806bb(0x1ca)])[_0x5806bb(0x35b)](),(_0x4958ad=this['_config'])!=null&&_0x4958ad[_0x5806bb(0x535)]&&_0x5a20c3[_0x5806bb(0x56e)](this['_injector'],[[_0x264022]]),_0x5a20c3[_0x5806bb(0x56e)](this['_injector'],[[_0x2c1fac],[_0x36312d],[_0x38d423[_0x5806bb(0x579)]],[_0x38d423[_0x5806bb(0x39c)]],[_0x38d423['DesktopCollaborationStatusDisplayController']],[_0x451e92]]);}},_0x588d78(_0x38d423[_0x494bb3(0x255)],_0x494bb3(0x41d),_0x16d03b),_0x38d423[_0x494bb3(0x255)]=_0x14651f([_0x5a20c3[_0x494bb3(0x331)](_0x4d11e3[_0x494bb3(0x443)],_0x9ed4dd[_0x494bb3(0x45a)]),_0x10143f(0x1,_0x5a20c3[_0x494bb3(0x494)]),_0x10143f(0x2,_0x5c31a6['IRenderManagerService']),_0x10143f(0x3,_0x5a20c3['Inject'](_0x5a20c3[_0x494bb3(0x596)])),_0x10143f(0x4,_0x5a20c3[_0x494bb3(0x175)])],_0x38d423[_0x494bb3(0x255)]),_0x38d423['AUTHZ_URL_KEY']=_0x125721,_0x38d423[_0x494bb3(0x153)]=_0x4abc67,_0x38d423['COLLAB_WEB_SOCKET_URL_KEY']=_0x4420d6,_0x38d423[_0x494bb3(0x5e7)]=_0x5948fa,_0x38d423[_0x494bb3(0x197)]=_0x1d0a3d,_0x38d423[_0x494bb3(0x1bf)]=_0x1cf212,_0x38d423[_0x494bb3(0x305)]=_0x33903c,_0x38d423[_0x494bb3(0x2bc)]=_0x1c1612,_0x38d423['ICollaborationSocketService']=_0x45677d,_0x38d423[_0x494bb3(0x5cd)]=_0x1ea4a4,_0x38d423['LOCAL_CACHE_INTERVAL_KEY']=_0x2a600b,_0x38d423[_0x494bb3(0x1b3)]=_0x5e43ba,_0x38d423[_0x494bb3(0x161)]=_0x28861a,_0x38d423[_0x494bb3(0x2dc)]=_0x2b47bd,_0x38d423[_0x494bb3(0x178)]=_0x9ad7b4,_0x38d423['SNAPSHOT_URL_KEY']=_0xe41584,_0x38d423['SessionStatus']=_0x5f2a52,_0x38d423[_0x494bb3(0x21c)]=_0x289d4b,_0x38d423[_0x494bb3(0x181)]=_0x4e07fe,_0x38d423['deserializeToCombResponse']=_0x2ef67b,_0x38d423[_0x494bb3(0x442)]=_0x3baba8,Object[_0x494bb3(0x5f8)](_0x38d423,Symbol['toStringTag'],{'value':_0x494bb3(0x1da)});}));function _0x54cd(){const _0x16f114=['NodePositionConvertToRectRange','_context','RefRangeService','delete','handleInsertRangeMoveRight','_saveTaskMap','useCallback','_permissionService','serializeCombRequest','UniverCollaborationPlugin','_reverseMap','_retryConnectingTimer','json','_status$','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','SHA1','getInterceptPoints','fetching\x20missing\x20changesets\x20from\x20','IUndoRedoService','_docTransformSelectionsService','_id','_createHmacHelper','INGEST','call','PENDING','_range','IMessageService','JSONX','setConfig','error$','18621IYnMtX','fetchMissingChangesets','UniverNetworkPlugin','_stopTelemetryCollaborationNewChangeset','[FetchMissState]','_themeService','_handleEvent','hostname','transformRemoteChangeset','hovered','_updateCollabCursors','_getSheetObject','defIds','getTypeOfUnitAdded$','selections','createElement','/fetchmissing?from=','_exhaustRemoteChangesetQueue','SHOULD_CLOSE_CONN','isEditing','_fetchMissChangesets','__Key__','JOIN','AuthzIoHttpService','Could\x20not\x20dynamically\x20require\x20\x22','EffectRefRangId','isTransformMutationsWithChangesetFailure','SNAPSHOT_HAS_BEEN_REMOVED','_name','skeleton','apply','msCrypto','show','_removeCollabCursors','url(#off-line-single_clip0_910_343)','roles','1em','_docSyncEditingCollabCursorService','attrs','univerjs-icon\x20univerjs-icon-','Fragment','ImageSourceType','executeCommand','lib','_clearTimeoutTimer','_resendWithTimeout','@univerjs/drawing','awaiting','getMemberID','_localCacheService','FAIL','_roomMembers$','purple300','APPLY_NON_SEQUENTIAL_REVISION','authzUrl','map','_anchor','processBlock','add','arc','ILogService','sheetID','_userManagerService','AWAITING_WITH_PENDING','getUnitType','VIEW_MAIN','LIVESHARE_REQUEST_HOST','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_HTTPService','UniverSheetsUi','NO_OTHER_CLIENTS_EDITING','ITransformService','pad','univer-offline','reject','has','jsxs','range','_joinRoom','_univerInstanceService','cursorInfo','workbook','join','infoRsp','TEXT','TOO_MANY_REQUESTS','searchParams','_registerRenderDependencies','_submitChangeset','flatMap','_handleHover','_docTransformStateCacheService','roomMembers$','_getCtorByUniverType','_initEventListeners','M0\x200H16V16H0z','getCurrent','UniverCore','encodeURIComponent','@univerjs/engine-render','init','_revisionService','getColor','_append','resolve','function','HmacSHA1','setTimeout','_initResize','UniverInstanceType','b64DecodeUnicode','#fff','collabSubmitChangesetUrl','unit','ALREADY_EXISTS','exhaustSavingTask','removeParam','IUIPartsService','enableSingleActiveInstanceLock','DocSkeletonManagerService','translate(.97)','UNKNOWN_CODE','_iv','_ENC_XFORM_MODE','find','_clearRedo','univer-online-status-title','ACTIVE_UNIT_EVENT_CHANNEL','_initStatusListener','APPLY_PERMISSION_DENIED','_entities','fromEventSubject','getUnitId','fetchThroughInterceptors','DesktopCollaborationStatusDisplayController','url(#on-line-single_clip0_910_349)','objectActions','_shapes','addEventListener','parseChangesetToProtocol','1382519YtRlNf','clearInterval','originalMeta','COMMENT_UPDATE','collaborators','_socket','collab-text-range-','_http','_substituteUndoStack','collab-text-anchor-','_initMergeInterceptor','compose','values','decryptBlock','enableLocalCache','getImage','_onMessage','Error\x20on\x20receiving\x20event','_decreaseWaiting','DeleteRangeMoveUpCommandId','UniverIcon','on-line-single','debounce','HELLO','MoveRangeCommandId','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','asObservable','handleIRemoveCol','incrementRevOfUnit','_sendHeartbeat','slice','YUUMI_URL_COL_OUT_OF_RANGE','_docSkeleton','Undefined','text','updateMember','_hovered','collabStatus.notCollab','_unlockTransition','words','_collabSessionService','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','UniverEngineFormula','RegularPolygon','_xformMode','_labelPosition','UNIVER_DOC','ReplaySubject','[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.','cmd','_transformRemoteChangesetByIMECache','_acknowledgedAwaitingChangeset','onRemoteRej','APPLY_REJECT','_heartbeatTimer','_applyRemoteChangeset','conflict.content','onload','getOwnPropertyDescriptor','_cursorInfo$','collaMsg','_transformRemoteChangesetByStateCache','_toggleOnline','_doReset','YUUMI_RATE_OVER_LIMIT','_compressMutationService','_minBufferSize','collabStatus.fetchMiss','getCoordByCell','CHANGESET_SHOULD_RETRY','padding','isTransformChangesetsSuccess','11089360zZTaTV','session.collaboration-timeout','objectType','onlineStatus','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_getSignURL','getValue','VIEWPORT_KEY','_onCursorDelete','enableAuthServer','?url=','get','restore','onTransformIME','SEND_CHANGESET_TIMEOUT','_onRemoteRejected','COLLAB_SUBMIT_CHANGESET_URL','transformSelections','MD5','_changesetReqId','_cursorShapes','_getSnapshotAPIPrefix','params','[UniverCollaborationClientPlugin]','not_collab','LIVESHARE_NEW_HOST','readInt32LE','max','complete','PERMISSION_REJ','mapDocumentTypeToUniverType','hasher','onStateChange','changesets','MUTATION','algo','memberID','TEXT_RANGE_LAYER_INDEX','_updateSubUnitFromURLParams','ISnapshotServerService','IAuthzIoService','COMPRESS_MUTATION_APPLY','&to=','isArray','_createSocket','sheetId','unshift','activeSheet$','BehaviorSubject','liveShareOperation','APPLY_REVISION_CONFILICT','_process','UNIVER_UNKNOWN','textRanges','_getCurrentRevision','_transformSelections','_clearCollaborationTimeoutTimer','default','createInstance','kdf','@univerjs/sheets','colorChannel1','Rect','collaboratorID','onRemoteChangeset','string','touchDependencies','getUnitStatus$','_docSkeletonManagerService','icon','children','_map','Cipher','_startTelemetryCollaborationNewChangeset','_color','Vector2','_onLocalMutation','DataLoaderController','getWorkbookSelections','_collaborationSessionService','Inject','[PendingState]:\x20received\x20acknowledgement.','onTransformState','commentUpdateEvent','UniverCollaboration','_scheduleTimestamp','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_mode','onMouseMove','objects','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','rng','getDeserializedSheetBlock','exports','rev','stringify','transformStateCache','7OHsBRW','__esModule','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','React','EvpKDF','hidden','getCurrentSelections','UniverUi','_collaborationController','Injector','trim','CHANGESET_REVISION_CONFILICT','transformChangesets','reduce','leaveEvent','_parse','Optional','setAlpha','_iKey','_collaborationPaused','_hover','_imageSourceCache','data','getItem','InsertRangeMoveDownCommandId','throttleTime','setItem','formatter','m1Prime','length','UNRECOGNIZED','SheetCollaborationEntity','Tools','getLatestCsReqIdBySid','dispose$','_shouldReportTelemetry','conflict','_resendTimer','awaitingChangeset','capture','idSuffix','updateCollaborator','isActive','_refRangeService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','IRemoteInstanceService','react.fragment','reconnect','ReactCurrentOwner','shouldCloseConn','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getSheetId','ONLINE','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_scene','propertyIsEnumerable','FromArray','patch','react.element','useRef','rxjs','_keySchedule','onMissedChangesetFetched','univer-pro.collaboration-client-socket-service','IURLService','off-line-single_clip0_910_343','SnapshotService','COMPLETION_FINISHED','EmptyMutation','transformStack\x20failed!','rxjs/operators','transformMutation','\x0aCurrent:\x20','_initRequestHeader','_unitStatus','take','_httpService','getRenderById','roomMembers','@univerjs/sheets-ui','next','LIVESHARE_TERMINATE','TRANSFORM_CHANGE_OBSERVABLE_TYPE','/universer-api/snapshot','_onUserJoin','status$','deepClone','/unit/','_pendingMutations','top','CollaborationStatus','forEach','enc','&source=','combineLatest','height','UPDATE_PERMISSION_OBJ','_timeoutTimer','univer-pro.collaboration-client.single-active-unit-service','MessageType','reqId','none','_createHelper','getTypeOfUnitDisposed$','YUUMI_UNABLE_LOAD_URL','event$','_textBubble','defineProperty','closePath','SnapshotServerOverHTTPService','transformIMECache','updatePermissionObjEvent','Base64','_scheduleClearOtherTimer','DocCollaborationEntity','getMember','status','getCollabEntity$','\x20to\x20','pauseCollaboration','sid','getCurrentUser','_retryCount','message$','ImageUploadStatusType','defaultProps','COLLAB_SUBMIT_CHANGESET_URL_KEY','actions','on-line-single_clip0_910_349','displayName','UnitEmbedded','setShapeProps','1817184UrKMyj','enableOfflineEditing','session','_onJoinRoomEvent','byteLength','_ws','whenReady','_isPermissionRej','RETRY_CONNECTING_MAX_COUNT_KEY','collaboration-session-retry','listCollaborators','_assignedColors','SheetPermissionInitController','_docTransformIMECacheService','fromCharCode','lineTo','origin','$super','_onOffline','_onRemoteChangeset','with','debounceTime','CHANGESET_REJ','_startCollaboration','_disableEditing','focused$','dispose','onTransformChange$','IConfigService','[OfflineState]:\x20received\x20changeset.','IDLE','SNAPSHOT_SERVER_URL_KEY','randomUUID','_entityInit$','@univerjs-pro/collaboration','onRemoteRetry','transformUndoRedo','IUniverInstanceService','_sessions','close$','WebURLService','random','_onRemoteRetry','onTransformRemoteChangesetByIMECache','UniverDesign','assign','_getAPIPrefixPath','WordArray','getFocusedUnit','endRow','handleInsertCol','DocStateChangeManagerService','confirm','OTHER_CLIENTS_EDITING','INTERNAL_ERROR','name','isInternalEditorID','currentTheme$','_onRemoteACK','_awaitingChangeset','defs','push','CollaborationStatusDisplay','_initStatusComponent','black','getConfig','SetDocZoomRatioOperation','USERS_ENTER','setCurrentUser','MergeInterceptorFactory','_clearScheduledTask','close','addObjects','registerOnClose','_uiPartsService','every','_drawRectRange','redoState','_cursors','salt','CollaborationSessionService','equals','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_keyPriorReset','_onConflict','includes','@univerjs/docs-ui','debug','getActiveSheet','clamp','LOGIN_URL_KEY','startRow','newValue','_startDocCollabCursor','getAllMembers','doc.mutation.rich-text-editing','SetSelectionsOperation','WebSocketService','__creator','measureText','_state','ranges','CommentService','getCollabCursors$','createEncryptor','_hash','_session','href','pending','_doFinalize','_getSendChangesetTimeout','isPermissionRej','Disposable','LocalCacheService','OnLineSingle','action','react','_executeRemoteChangeset','COLORS','/universer-api/file/{fileID}/sign-url','takeUntil','/allowed','onRemoteAck','pipe','RECT','indexOf','[CollaborationEntity]','toDisposable','_transformStateCache','Module','format','url','title','OFFLINE','ENSURE_SNAPSHOT_EXECUTION','Unknown\x20user','_replaceFileID','getUnitOnRev','_tryEnsureSocket','@univerjs/network','_config','LICENSE_IMPORT_SIZE_EXCEEDED','labelPosition','shareReplay','Univer','replaceState','_setupSubUnitSync','_scheduleCollaborationTimeoutTimer','_syncEditingCollabCursor','then','UPDATE_CURSOR','svg','_configService','_drawAnchor','LIVESHARE_FETCH_OPERATIONS','undoState','getRangePointData','_onUserLeave','Base','univer-online-status-icon','_anchorDot','randomBytes','IRenderManagerService','crypto','startColumn','_socketService','_snapshotService','_commentUpdate$','0\x200\x2017\x2016','jsx','keySize','deserializeRangeWithSheet','object','getResourcesRequest','_cipher','retryConnectingInterval','_waitCount','red300','Subject','141530fLiwtr','onlineStatusTitle','post','HEARTBEAT_TIMEOUT','POST','UniverCollaborationClient','currentColor','CollaborationEvent','_disabled','_sendHeartbeatTimer','session.will-retry','collaboration.single-unit.warning','removeMember','_startSheetCollabCursor','_invKeySchedule','_createInitialStateImpl','SheetCollabCursorShape','downloadEndpointUrl','ERROR_EXCEED_SIZE','getCurrentRevOfUnit','target','_injector','resourceIDs','RemoveRowCommandId','createIdentifier','Warning','subunit','PasswordBasedCipher','onTransformRemoteChangesetByStateCache','getSkeleton','min','HTTPService','onPointerMove$','clipPath','forwardRef','SYNCED','2648WKOISO','xlink:href','onSendChangeset','setWaitCount','list','getRelativeToViewportCoord','_removeClearOtherTimer','connection\x20error','_transformUndoRedoStack','242466SfMgiG','[DataLoaderController]','ref','_getSaveTimeout','loadOfflineData','size','deleteCollaborator','[CollaborationSessionService]','_transformService','_queuedRemoteChangesets','_localStorageService','DOC_RANGE_TYPE','cfg','hide','charCodeAt','_getScale','objectID','_clearHeartbeatTimer','path','updatePermissionPoint','roomInfos','handleInsertRangeMoveDown','round','_transformIMECache','useObservable','editing\x20status\x20changed\x20to','_handleHeartbeatEvent','override','UniverCollaborationClientPlugin','handleIRemoveRow','_renderManagerService','NOT_FOUND','execute','ERROR_IMAGE','current','UNAUTHENTICATED','collaboration-client.config','unit-cache-','_commentService','disposeUnit','_collaborationTimeoutTimer','pushState','width','filter','createSocket','#FFF','_draw','registerRenderModule','_undoStacks','registerBeforeClose','createDecryptor','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','batchAllowed','_localeService','_listenToOfflineEvent','getImageSourceCache','body','key','currentSkeleton$','fromCollab','font','submit\x20changeset\x20error!','[PendingState]:\x20received\x20rejection.','_drawTextRange','/role','\x0aAfter:\x20','_toggleOffline','for','StreamCipher','_tryReconnect','copyFileMeta','now','mode','change$','toString','symbol','_transitionLocked','tag','entries','Malformed\x20UTF-8\x20data','getRandomValues','UniverTelemetry','_socketMessageSubscription','@univerjs/rpc','closeSession','color','save\x20fail\x20reason\x20is\x20','/object/','concat','isTransformMutationsWithChangesetSuccess','encryptBlock','_initDependencies','_prevBlock','CONFLICT','c1Prime','_init','RECV','localeService','getViewport','_data','Encryptor','mixIn','UniverNetwork','_remoteChangesetQueue','textEncoder','Plugin','_transformUndoredo','newCsEvent','image/jpeg','_syncEditingCollabCursorService','routeKey','Decryptor','fill','_urlService','@univerjs/docs','_undoRedoService','BufferedBlockAlgorithm','location','startsWith','_refreshCollabCursors','_getDownloadEndpointURL','resend','collab-client.tooltip.reconnect','HEARTBEAT_INTERVAL','_loadSheet','_cachedData','replaceTextRanges','CollaborationEntity','onCommandExecuted','?size=','_updateStatus','HEARTBEAT_TIMEOUT_KEY','_waitForHeartbeatResponse','/universer-api/authz','INotificationService','_throwTelemetryCollaborationNewChangeset','_setupBeforeClosingHandler','onTransformSelections','substring','history','[CollaborationUndoRedoService]','SUCCUSS','_createHandler','sequenceExecute','_candidateSocket','className','loginUrlKey','_messageService','drawWith','_eventUnsubscribe','YUUMI_SUBSCRIPTION_NOT_FOUND','_doProcessBlock','LIVESHARE_OPERATION','_handler','getActiveRange','SNAPSHOT_URL_KEY','from','getParam','_collabCursorController','bind','baseRev','floor','synced','SEND_CHANGESET_TIMEOUT_KEY','LICENSE_EXPORT_SIZE_EXCEEDED','_docStateChangeManagerService','_singleActiveUnitService','CONNECTOR_DATA_TOO_LARGE','registerRefRange','clone','ciphertext','create','_commandService','clearTimeout','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','revision','_beforeCloseService','_send','/universer-api/comb','toLowerCase','Tooltip','_onCursorUpdate','mapTo','_removeRoom','_checkMissing','[CollaborationSession]','PERMISSION_DENIED','NEW_CHANGESETS','blockSize','assignAColorForMemberID','selection','interceptor','ImageIoService','engine','refreshPermission','_saveCache','image/jpg','readAsDataURL','_hideTimer','row','_unitOnClients','_getAPIPrefix','transformByState','catch','HEARTBEAT_INTERVAL_KEY','result','CipherParams','CommandType','headers','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_updateURLWithCurrentState','MemberService','ColorKit','sendChangesetTimeout','APPLY_DUPLICATED','generateRandomId','state$','toggleOnline','UniverRpc','_transformPreviousActiveRange','UNIVER_SLIDE','_clearUndo','UnitSnapshot','CHANGESET_ACK','AWAITING','updateCursorEvent','getAncestorScale','onlyLocal','...','permission.content','MSG_FOR_ERROR','iterations','/collaborator','operators','saveSnapshot','@univerjs/ui','_roomMembers','380VwSzhb','/universer-api/snapshot/','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','UNIVER_SHEET','ceil','_key','unknown','_memberService','onPointerEnter$','_listenToOnlineEvent','_getLoginPath','DependentOn','subscribeEvent','offline','_notificationService','div','/-/object/-/batch_allowed','saveChangeset','sigBytes','socket\x20close','fillStyle','_updateLocalCursor','\x20in\x20_schedule.','set','getDocRanges','_resendTimeout','socketService','mutations','session.connection-failed','signUrlServerUrl','_onFetchMissResult','splice','_onRefRangeChange','OpenSSL','stopTime','BlockCipherMode','duration','UniverSheets','collabStatus.conflict','fetchMiss','[CollaborationState]:\x20apply\x20error!','_substituteRedoStack','makeDirty','type','_getAnchorBounding','univer-online-status','_doCryptBlock','editingUnit','_getRedoStack','ws://127.0.0.1:8000/universer-api/comb/connect','startTime','HEARTBEAT','error','disableLocalCache','ERROR_IMAGE_TYPE','WorkbookEditablePermission','hasOwnProperty','_transformHistoryAndStateStack','liveShareNewHost','requestParams','_onConnectionFailed','_initUnitPermissionChange','_sessionStatus$','unsubscribe','clear','collabStatus.syncing','RichTextEditingMutation','fetch_missing','_sheetSkeletonManagerService','ThemeService','DocSelectionManagerService','encrypt','BASE64','_schedule','visibilitychange','@univerjs/design','_nDataBytes','ivSize','NoPadding','NOT_COLLAB','SerializableCipher','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_onRecvEvent','append','USERS_LEAVE','userID','failed\x20to\x20apply\x20missed\x20changesets!','number','prototype','_initCloseConn','transformMutationsWithChangeset','[SyncedState]:\x20received\x20rejection.','eventID','sheets','disposeWithMe','online','setActiveRange','PSEUDO_FETCH_MISSING_RESULT','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','bottom','csRejEvent','SetWorksheetActivateCommand','subscribe','fromEvent','_ensureSubject','BlockCipher','telemetry\x20info\x20is\x20not\x20initialized','byteOffset','Hex','session.room-full','_event$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','IPermissionService','sessionStatus$','LEAVE','ICommandService','findNodePositionByCharIndex','CollaborationController','SUBMIT_CHANGESET','_snapshotServerService','unitID','_scheduleSaving','gold400','_lastPointer','getTime','registerHTTPInterceptor','toggleOffline','handleDeleteRangeMoveLeft','[OfflineState]:\x20received\x20acknowledgement.','column','_sender','auth.needGotoLoginAlert','visibilityState','SNAPSHOT_INVALID_SNAPSHOT','InsertSheetMutation','RevisionService','_incrementRevisionNumber','syncEditingCollabCursor','CollaborationSession','switchMap','onStarting','_updateLocalCache','_clearOtherTimers','addObject','requireSession','_initCommandExecutedListener','registerComponent','_selfUnitIDs','_createInitialState','c2Prime','urlChange$','EXCHANGE_SIGN_URL_SERVER_URL_KEY','onSyncEditingCollabCursor','_lockTransition','_loadDoc','_telemetryInfo','save','getOwnPropertySymbols','_changesetSessionId','split','mergeOverrideWithDependencies','update','sessionStatus','appendMutation','_render','encode','Shape','_nRounds','_state$','csShouldRetryEvent','extend','_hasher','_showConflictNotification','delay','NodePositionConvertToCursor','SheetsSelectionsService','getStateCache','_updateState','updateOfflineData','_sendingTimer','reset','handleInsertRow','code','subUnitId','substr','commentUpdate$','IBeforeCloseService','_online','compute','_scheduleHeartbeat','_transformStack','fillRule','unload','/object','members','getSheetBySheetId','_socket$','state','RxDisposable','getCollabEntity','unitId','socket\x20open.','setStateCache','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','INVALID_ARGUMENT','Workbook','_logService','CollaborationSocketService','_type','DisposableCollection','FileId','useDependency','_sheetTransformSelectionsService','merge','m2Prime','off-line-single','_socketReady','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','UNKNOWN_CMD','29345YSswfv','getSheetObject','/resources','JOINING','putCollaborators','CompressMutationService','transform','file','parseProtocolChangeset','LICENSE_DISTRO_REJECTED','parse','isTransformMutationFailure','Pkcs7','_change$','jiqing500','{fileID}','&assign=','_collabCursorState$','HttpImport','setShowComponents','@univerjs/core','_telemetryService','_getUndoStack','finalize','_clearLocalCache','docStateChange$','onCommentUpdate','pluginName','unitId\x20is\x20not\x20found','saveOfflineData','storage','setParam','/block/','collab-rect-range-','send','_cursor','[SyncedState]:\x20received\x20acknowledgement.','DEFAULT_FILE_NAME','open$','Utf8','Hasher','_unitID','setUndoRedoMutationParamsCache','_onConnectionOpen','_colorIndex','getCurrentUnitForType','setInterval','_backgroundColor','evenodd','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','OffLineSingle','_DEC_XFORM_MODE','_getUploadFileURL','_members','cursorInfo$','LocaleService'];_0x54cd=function(){return _0x16f114;};return _0x54cd();}
|
1
|
+
function _0x5275(_0x50a680,_0x426de0){const _0x2a28c9=_0x2a28();return _0x5275=function(_0x527586,_0x49d632){_0x527586=_0x527586-0x16d;let _0x55acbd=_0x2a28c9[_0x527586];return _0x55acbd;},_0x5275(_0x50a680,_0x426de0);}(function(_0x175c0a,_0x38cf0f){const _0x5f337c=_0x5275,_0x3368c3=_0x175c0a();while(!![]){try{const _0x459650=parseInt(_0x5f337c(0x2e8))/0x1*(-parseInt(_0x5f337c(0x4c9))/0x2)+parseInt(_0x5f337c(0x586))/0x3*(-parseInt(_0x5f337c(0x228))/0x4)+parseInt(_0x5f337c(0x4d4))/0x5*(parseInt(_0x5f337c(0x283))/0x6)+parseInt(_0x5f337c(0x1a7))/0x7*(parseInt(_0x5f337c(0x339))/0x8)+parseInt(_0x5f337c(0x537))/0x9*(parseInt(_0x5f337c(0x32d))/0xa)+-parseInt(_0x5f337c(0x4aa))/0xb*(parseInt(_0x5f337c(0x2a3))/0xc)+parseInt(_0x5f337c(0x5b3))/0xd*(parseInt(_0x5f337c(0x5e9))/0xe);if(_0x459650===_0x38cf0f)break;else _0x3368c3['push'](_0x3368c3['shift']());}catch(_0x11f248){_0x3368c3['push'](_0x3368c3['shift']());}}}(_0x2a28,0xab96a),function(_0x44b8cd,_0xd37cc4){const _0x69c7f5=_0x5275;typeof exports==_0x69c7f5(0x427)&&typeof module<'u'?_0xd37cc4(exports,require(_0x69c7f5(0x608)),require('rxjs'),require(_0x69c7f5(0x54f)),require(_0x69c7f5(0x2ea)),require(_0x69c7f5(0x275)),require(_0x69c7f5(0x4db)),require(_0x69c7f5(0x4d1)),require(_0x69c7f5(0x35c)),require(_0x69c7f5(0x264)),require(_0x69c7f5(0x248)),require(_0x69c7f5(0x1d0)),require('@univerjs/docs'),require(_0x69c7f5(0x1f0)),require(_0x69c7f5(0x35a)),require(_0x69c7f5(0x5a5)),require(_0x69c7f5(0x623)),require('@univerjs/rpc')):typeof define==_0x69c7f5(0x2e3)&&define['amd']?define(['exports',_0x69c7f5(0x608),'rxjs',_0x69c7f5(0x54f),_0x69c7f5(0x2ea),_0x69c7f5(0x275),_0x69c7f5(0x4db),_0x69c7f5(0x4d1),_0x69c7f5(0x35c),_0x69c7f5(0x264),_0x69c7f5(0x248),_0x69c7f5(0x1d0),'@univerjs/docs','@univerjs/drawing','@univerjs/engine-formula',_0x69c7f5(0x5a5),_0x69c7f5(0x623),_0x69c7f5(0x58a)],_0xd37cc4):(_0x44b8cd=typeof globalThis<'u'?globalThis:_0x44b8cd||self,_0xd37cc4(_0x44b8cd[_0x69c7f5(0x43d)]={},_0x44b8cd[_0x69c7f5(0x1ac)],_0x44b8cd[_0x69c7f5(0x366)],_0x44b8cd[_0x69c7f5(0x366)][_0x69c7f5(0x443)],_0x44b8cd[_0x69c7f5(0x28e)],_0x44b8cd['UniverUi'],_0x44b8cd[_0x69c7f5(0x3fd)],_0x44b8cd[_0x69c7f5(0x20a)],_0x44b8cd['UniverTelemetry'],_0x44b8cd[_0x69c7f5(0x26c)],_0x44b8cd[_0x69c7f5(0x581)],_0x44b8cd['UniverEngineRender'],_0x44b8cd[_0x69c7f5(0x20f)],_0x44b8cd[_0x69c7f5(0x17d)],_0x44b8cd[_0x69c7f5(0x1fe)],_0x44b8cd['UniverSheetsUi'],_0x44b8cd[_0x69c7f5(0x303)],_0x44b8cd[_0x69c7f5(0x32c)]));}(this,function(_0x539c7e,_0x4587e1,_0x3eec93,_0x18f07e,_0x40b71f,_0x3163bd,_0x108d2c,_0x215e4a,_0x5efb10,_0x28eee7,_0x27d820,_0x25d31a,_0x4844e7,_0x4fc574,_0x5c9de5,_0x23bfa7,_0x1e411a,_0x15b024){'use strict';const _0x2fa915=_0x5275;var _0x21a895=Object[_0x2fa915(0x44e)],_0x240df5=(_0x576a41,_0x53b34c,_0x32cd14)=>_0x53b34c in _0x576a41?_0x21a895(_0x576a41,_0x53b34c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x32cd14}):_0x576a41[_0x53b34c]=_0x32cd14,_0x339ceb=(_0x244049,_0x6665a5,_0x5d685a)=>_0x240df5(_0x244049,typeof _0x6665a5!=_0x2fa915(0x1d4)?_0x6665a5+'':_0x6665a5,_0x5d685a);const _0x1b173d=_0x2fa915(0x2c4),_0x425cf9=_0x2fa915(0x61a),_0xda4d44=_0x2fa915(0x20d),_0x434cfe=_0x2fa915(0x63d),_0x58836a=_0x2fa915(0x17b),_0x2e309e=_0x2fa915(0x2cf),_0x4a8a98=_0x2fa915(0x4cd),_0xa4064f='HEARTBEAT_TIMEOUT',_0xceef47='RETRY_CONNECTING_MAX_COUNT',_0x4c60f6=_0x2fa915(0x24c),_0xecaf7c=_0x2fa915(0x1c6),_0x5e7146=_0x2fa915(0x28f),_0x456ae0=_0x2fa915(0x332),_0x55ef78=_0x2fa915(0x2bf);var _0x58d884=(_0x4e257b=>(_0x4e257b[_0x4e257b[_0x2fa915(0x48a)]=0x0]=_0x2fa915(0x48a),_0x4e257b[_0x4e257b['OK']=0x1]='OK',_0x4e257b[_0x4e257b[_0x2fa915(0x496)]=0x2]=_0x2fa915(0x496),_0x4e257b[_0x4e257b[_0x2fa915(0x242)]=0x3]=_0x2fa915(0x242),_0x4e257b[_0x4e257b['NOT_FOUND']=0x4]=_0x2fa915(0x4b2),_0x4e257b[_0x4e257b[_0x2fa915(0x3a6)]=0x5]='UNAUTHENTICATED',_0x4e257b[_0x4e257b['ALREADY_EXISTS']=0x6]=_0x2fa915(0x499),_0x4e257b[_0x4e257b['INVALID_ARGUMENT']=0x7]=_0x2fa915(0x3d0),_0x4e257b[_0x4e257b[_0x2fa915(0x2ec)]=0x8]=_0x2fa915(0x2ec),_0x4e257b[_0x4e257b['COMPLETION_FINISHED']=0x9]=_0x2fa915(0x323),_0x4e257b[_0x4e257b[_0x2fa915(0x340)]=0x1389]=_0x2fa915(0x340),_0x4e257b[_0x4e257b[_0x2fa915(0x5d4)]=0x1771]=_0x2fa915(0x5d4),_0x4e257b[_0x4e257b[_0x2fa915(0x1ec)]=0x1772]=_0x2fa915(0x1ec),_0x4e257b[_0x4e257b[_0x2fa915(0x4a5)]=0x1773]=_0x2fa915(0x4a5),_0x4e257b[_0x4e257b[_0x2fa915(0x5f4)]=0x1b59]=_0x2fa915(0x5f4),_0x4e257b[_0x4e257b[_0x2fa915(0x454)]=0x1b5a]=_0x2fa915(0x454),_0x4e257b[_0x4e257b['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x2fa915(0x378),_0x4e257b[_0x4e257b[_0x2fa915(0x58d)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4e257b[_0x4e257b[_0x2fa915(0x5ac)]=0x1b5d]=_0x2fa915(0x5ac),_0x4e257b[_0x4e257b['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4e257b[_0x4e257b[_0x2fa915(0x451)]=0x2329]=_0x2fa915(0x451),_0x4e257b[_0x4e257b[_0x2fa915(0x39f)]=0x232a]=_0x2fa915(0x39f),_0x4e257b[_0x4e257b['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2fa915(0x216),_0x4e257b[_0x4e257b[_0x2fa915(0x481)]=0x232c]=_0x2fa915(0x481),_0x4e257b[_0x4e257b['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2fa915(0x38b),_0x4e257b[_0x4e257b[_0x2fa915(0x425)]=0x2711]=_0x2fa915(0x425),_0x4e257b[_0x4e257b[_0x2fa915(0x324)]=0x2712]=_0x2fa915(0x324),_0x4e257b[_0x4e257b[_0x2fa915(0x1b3)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4e257b[_0x4e257b[_0x2fa915(0x42f)]=0x2714]=_0x2fa915(0x42f),_0x4e257b[_0x4e257b['UNRECOGNIZED']=-0x1]=_0x2fa915(0x2dd),_0x4e257b))(_0x58d884||{}),_0xad4019=(_0x17c330=>(_0x17c330[_0x17c330['UNIVER_UNKNOWN']=0x0]=_0x2fa915(0x3fc),_0x17c330[_0x17c330[_0x2fa915(0x27b)]=0x1]=_0x2fa915(0x27b),_0x17c330[_0x17c330[_0x2fa915(0x3ee)]=0x2]=_0x2fa915(0x3ee),_0x17c330[_0x17c330[_0x2fa915(0x5a3)]=0x3]=_0x2fa915(0x5a3),_0x17c330[_0x17c330[_0x2fa915(0x4a6)]=0x4]=_0x2fa915(0x4a6),_0x17c330[_0x17c330[_0x2fa915(0x2dd)]=-0x1]='UNRECOGNIZED',_0x17c330))(_0xad4019||{}),_0x56802b=(_0x227c7a=>(_0x227c7a[_0x227c7a[_0x2fa915(0x57e)]=0x0]=_0x2fa915(0x57e),_0x227c7a[_0x227c7a[_0x2fa915(0x416)]=0x1]='HELLO',_0x227c7a[_0x227c7a[_0x2fa915(0x5a6)]=0x2]=_0x2fa915(0x5a6),_0x227c7a[_0x227c7a[_0x2fa915(0x38c)]=0x3]=_0x2fa915(0x38c),_0x227c7a[_0x227c7a[_0x2fa915(0x218)]=0x4]=_0x2fa915(0x218),_0x227c7a[_0x227c7a[_0x2fa915(0x359)]=0x5]=_0x2fa915(0x359),_0x227c7a[_0x227c7a[_0x2fa915(0x471)]=0x6]=_0x2fa915(0x471),_0x227c7a[_0x227c7a['UNRECOGNIZED']=-0x1]=_0x2fa915(0x2dd),_0x227c7a))(_0x56802b||{}),_0x247109=(_0x5e92dd=>(_0x5e92dd[_0x5e92dd[_0x2fa915(0x483)]=0x0]=_0x2fa915(0x483),_0x5e92dd[_0x5e92dd['OK']=0x1]='OK',_0x5e92dd[_0x5e92dd[_0x2fa915(0x5ad)]=0x2]=_0x2fa915(0x5ad),_0x5e92dd[_0x5e92dd['UNRECOGNIZED']=-0x1]=_0x2fa915(0x2dd),_0x5e92dd))(_0x247109||{}),_0x2ec092=(_0x525af4=>(_0x525af4[_0x525af4[_0x2fa915(0x542)]=0x0]='Undefined',_0x525af4[_0x525af4[_0x2fa915(0x377)]=0x1]=_0x2fa915(0x377),_0x525af4[_0x525af4[_0x2fa915(0x1f4)]=0x2]=_0x2fa915(0x1f4),_0x525af4[_0x525af4[_0x2fa915(0x1eb)]=0x3]='UnitEmbedded',_0x525af4[_0x525af4[_0x2fa915(0x23c)]=0x4]='UnitSnapshot',_0x525af4[_0x525af4[_0x2fa915(0x2dd)]=-0x1]=_0x2fa915(0x2dd),_0x525af4))(_0x2ec092||{});const _0x152bb8=_0x2fa915(0x192),_0x486456={};function _0x99cd90(_0xd97a1b){const _0x5538dd=_0x2fa915;var _0x4532b3,_0x2d883e,_0x547ce8,_0x2f6866,_0x29ca80;const _0x3d1250=_0xd97a1b[_0x5538dd(0x273)],_0x338001=JSON[_0x5538dd(0x3bf)](_0x3d1250);switch(_0x338001[_0x5538dd(0x281)]){case _0x56802b[_0x5538dd(0x359)]:case _0x56802b[_0x5538dd(0x416)]:{const _0x4268d7=_0x338001[_0x5538dd(0x2eb)];return{..._0x338001,'data':_0x4268d7,'cmd':_0x338001[_0x5538dd(0x281)]};}case _0x56802b[_0x5538dd(0x5a6)]:{const _0x111195=_0x338001[_0x5538dd(0x1c1)];return{..._0x338001,'data':_0x111195,'cmd':_0x338001[_0x5538dd(0x281)]};}case _0x56802b['RECV']:{const _0x3d30cc=_0x338001['collaMsg'];switch(_0x3d30cc['eventID']){case _0x215e4a[_0x5538dd(0x27c)][_0x5538dd(0x48f)]:return{..._0x338001,'data':{..._0x3d30cc,'data':(_0x4532b3=_0x3d30cc[_0x5538dd(0x5c0)])==null?void 0x0:_0x4532b3['cs']},'cmd':_0x338001['cmd']};case _0x215e4a[_0x5538dd(0x27c)][_0x5538dd(0x19e)]:return{..._0x338001,'data':{..._0x3d30cc,'data':(_0x2d883e=_0x3d30cc[_0x5538dd(0x32a)])==null?void 0x0:_0x2d883e['cs']},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a['CollaborationEvent'][_0x5538dd(0x4e7)]:return{..._0x338001,'data':{..._0x3d30cc,'data':(_0x547ce8=_0x3d30cc[_0x5538dd(0x5fc)])==null?void 0x0:_0x547ce8['cs']},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a[_0x5538dd(0x27c)][_0x5538dd(0x605)]:return{..._0x338001,'data':{..._0x3d30cc,'data':(_0x2f6866=_0x3d30cc[_0x5538dd(0x43c)])==null?void 0x0:_0x2f6866['cs']},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a[_0x5538dd(0x27c)][_0x5538dd(0x195)]:return{..._0x338001,'data':{..._0x3d30cc,'data':(_0x29ca80=_0x3d30cc['csShouldRetryEvent'])==null?void 0x0:_0x29ca80['cs']},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a[_0x5538dd(0x27c)][_0x5538dd(0x354)]:return{..._0x338001,'data':{..._0x3d30cc,'data':_0x3d30cc[_0x5538dd(0x5d5)]},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a['CollaborationEvent']['USERS_ENTER']:return{..._0x338001,'data':{..._0x3d30cc,'data':_0x3d30cc['joinEvent']},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a[_0x5538dd(0x27c)][_0x5538dd(0x614)]:return{..._0x338001,'data':{..._0x3d30cc,'data':_0x3d30cc[_0x5538dd(0x31f)]},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a[_0x5538dd(0x27c)]['LIVESHARE_NEW_HOST']:return{..._0x338001,'data':{..._0x3d30cc,'data':_0x3d30cc[_0x5538dd(0x310)]},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a['CollaborationEvent'][_0x5538dd(0x469)]:case _0x215e4a[_0x5538dd(0x27c)]['LIVESHARE_OPERATION']:return{..._0x338001,'data':{..._0x3d30cc,'data':_0x3d30cc[_0x5538dd(0x3bc)]},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a['CollaborationEvent'][_0x5538dd(0x53a)]:return{..._0x338001,'data':{..._0x3d30cc,'data':_0x3d30cc[_0x5538dd(0x310)]},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a[_0x5538dd(0x27c)]['MSG_FOR_ERROR']:return{..._0x338001,'data':_0x3d30cc,'cmd':_0x338001['cmd']};case _0x215e4a[_0x5538dd(0x27c)][_0x5538dd(0x55b)]:return{..._0x338001,'data':{..._0x3d30cc,'data':_0x3d30cc[_0x5538dd(0x3d4)]},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a[_0x5538dd(0x27c)]['UPDATE_PERMISSION_OBJ']:return{..._0x338001,'data':{..._0x3d30cc,'data':_0x3d30cc['updatePermissionObjEvent']},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a[_0x5538dd(0x27c)][_0x5538dd(0x616)]:return{..._0x338001,'data':{..._0x3d30cc,'data':_0x3d30cc[_0x5538dd(0x46f)]},'cmd':_0x338001[_0x5538dd(0x281)]};default:return _0x338001;}}default:return _0x338001;}}function _0x40533c(_0xf537cb){const _0x28483c=_0x2fa915;switch(_0xf537cb[_0x28483c(0x281)]){case _0x56802b[_0x28483c(0x359)]:case _0x56802b[_0x28483c(0x416)]:return JSON[_0x28483c(0x621)]({'cmd':_0xf537cb['cmd'],'routeKey':_0xf537cb[_0x28483c(0x457)]});case _0x56802b[_0x28483c(0x218)]:{let _0x736dde;switch(_0xf537cb[_0x28483c(0x273)][_0x28483c(0x526)]){case _0x215e4a[_0x28483c(0x27c)][_0x28483c(0x354)]:{_0x736dde={'eventID':_0x215e4a[_0x28483c(0x27c)]['UPDATE_CURSOR'],'updateCursorEvent':_0xf537cb[_0x28483c(0x273)]['data']};break;}case _0x215e4a[_0x28483c(0x27c)][_0x28483c(0x614)]:{_0x736dde={'eventID':_0x215e4a['CollaborationEvent'][_0x28483c(0x614)],'leaveEvent':_0xf537cb[_0x28483c(0x273)][_0x28483c(0x273)]};break;}case _0x215e4a[_0x28483c(0x27c)]['USERS_ENTER']:{_0x736dde={'eventID':_0x215e4a['CollaborationEvent'][_0x28483c(0x352)],'joinEvent':_0xf537cb[_0x28483c(0x273)][_0x28483c(0x273)]};break;}case _0x215e4a[_0x28483c(0x27c)][_0x28483c(0x3e5)]:{_0x736dde={'eventID':_0x215e4a[_0x28483c(0x27c)][_0x28483c(0x3e5)],'liveShareNewHost':_0xf537cb[_0x28483c(0x273)]['data']};break;}case _0x215e4a[_0x28483c(0x27c)][_0x28483c(0x5b9)]:{_0x736dde={'eventID':_0x215e4a['CollaborationEvent'][_0x28483c(0x5b9)],'liveShareOperation':_0xf537cb[_0x28483c(0x273)][_0x28483c(0x273)]};break;}case _0x215e4a[_0x28483c(0x27c)][_0x28483c(0x53a)]:{_0x736dde={'eventID':_0x215e4a[_0x28483c(0x27c)][_0x28483c(0x53a)],'liveShareTerminate':_0xf537cb[_0x28483c(0x273)]['data']};break;}case _0x215e4a['CollaborationEvent'][_0x28483c(0x4e9)]:{_0x736dde={'eventID':_0x215e4a['CollaborationEvent'][_0x28483c(0x4e9)],'liveShareRequestHost':_0xf537cb[_0x28483c(0x273)][_0x28483c(0x273)]};break;}case _0x215e4a['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0x736dde={'eventID':_0x215e4a[_0x28483c(0x27c)][_0x28483c(0x469)]};break;}default:_0x736dde={'eventID':_0xf537cb[_0x28483c(0x273)][_0x28483c(0x526)]};}return JSON[_0x28483c(0x621)]({'cmd':_0xf537cb[_0x28483c(0x281)],'routeKey':_0xf537cb['routeKey'],'collaMsg':_0x736dde});}case _0x56802b[_0x28483c(0x5a6)]:return JSON['stringify']({'cmd':_0xf537cb['cmd'],'routeKey':_0xf537cb['routeKey'],'joinReq':_0xf537cb[_0x28483c(0x273)]});case _0x56802b['LEAVE']:return JSON['stringify']({'cmd':_0xf537cb['cmd'],'routeKey':_0xf537cb[_0x28483c(0x457)],'leaveReq':_0xf537cb[_0x28483c(0x273)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x24f25a=Object[_0x2fa915(0x44e)],_0x45ab47=Object[_0x2fa915(0x569)],_0x1c3a1d=(_0x262e67,_0x4e1d85,_0xac4b9,_0x23fc85)=>{for(var _0x1f933d=_0x23fc85>0x1?void 0x0:_0x23fc85?_0x45ab47(_0x4e1d85,_0xac4b9):_0x4e1d85,_0x50a17f=_0x262e67['length']-0x1,_0x52ed42;_0x50a17f>=0x0;_0x50a17f--)(_0x52ed42=_0x262e67[_0x50a17f])&&(_0x1f933d=(_0x23fc85?_0x52ed42(_0x4e1d85,_0xac4b9,_0x1f933d):_0x52ed42(_0x1f933d))||_0x1f933d);return _0x23fc85&&_0x1f933d&&_0x24f25a(_0x4e1d85,_0xac4b9,_0x1f933d),_0x1f933d;},_0x2d36f9=(_0x333109,_0x427b3a)=>(_0x223b5,_0xc8f112)=>_0x427b3a(_0x223b5,_0xc8f112,_0x333109);const _0x5a365e=_0x4587e1[_0x2fa915(0x22c)]('univer-pro.collaboration-client-socket-service');function _0x3671c0(_0x1b50bf,_0x3053d4,_0x521c9b){const _0x2c7cbc=_0x2fa915;return _0x1b50bf+'/'+_0x3053d4+_0x2c7cbc(0x2f8)+_0x521c9b+'/new_changes';}_0x539c7e[_0x2fa915(0x629)]=class extends _0x4587e1[_0x2fa915(0x552)]{constructor(_0x4d5547,_0x4090d7,_0x18f7ae,_0x4f1576,_0x5e1b1c){const _0x4a2ae0=_0x2fa915;super(),this[_0x4a2ae0(0x331)]=_0x4d5547,this[_0x4a2ae0(0x5da)]=_0x4090d7,this['_configService']=_0x18f7ae,this[_0x4a2ae0(0x43a)]=_0x4f1576,this[_0x4a2ae0(0x3d1)]=_0x5e1b1c;}[_0x2fa915(0x452)](_0x367e16){const _0x27e409=_0x2fa915,_0x483380=this[_0x27e409(0x5da)]['createSocket'](_0x367e16);if(!_0x483380)throw new Error(_0x27e409(0x198));const _0x738fe9=new _0x4587e1[(_0x27e409(0x36f))](),_0x4b2ec5=new _0x3eec93[(_0x27e409(0x5c5))]();_0x738fe9[_0x27e409(0x1db)](_0x483380['close$']['subscribe'](_0x401d80=>_0x4b2ec5[_0x27e409(0x1c9)](_0x401d80))),_0x738fe9[_0x27e409(0x1db)](_0x4587e1[_0x27e409(0x2a6)](()=>_0x4b2ec5[_0x27e409(0x2e2)]()));const _0x1dc4df=new _0x3eec93[(_0x27e409(0x5c5))]();_0x738fe9[_0x27e409(0x1db)](_0x483380[_0x27e409(0x56f)][_0x27e409(0x447)](_0x16e7df=>_0x1dc4df[_0x27e409(0x1c9)](_0x16e7df))),_0x738fe9[_0x27e409(0x1db)](_0x4587e1[_0x27e409(0x2a6)](()=>_0x1dc4df['complete']()));const _0x5ed8dc=new _0x3eec93[(_0x27e409(0x5c5))]();_0x738fe9[_0x27e409(0x1db)](_0x483380[_0x27e409(0x1c0)][_0x27e409(0x447)](_0x11a9b5=>{const _0x57adc5=_0x99cd90(_0x11a9b5);_0x5ed8dc['next'](_0x57adc5);})),_0x738fe9[_0x27e409(0x1db)](_0x4587e1[_0x27e409(0x2a6)](()=>_0x5ed8dc[_0x27e409(0x2e2)]()));let _0x6f5c87;const _0x5ab00b=()=>{const _0x5ddc8a=_0x27e409;_0x1dc4df[_0x5ddc8a(0x1c9)](new Event('connection\x20error')),_0x4b2ec5[_0x5ddc8a(0x1c9)](new CloseEvent(_0x5ddc8a(0x260))),_0x6f5c87['close']();};return _0x6f5c87={'memberID':'','close$':_0x4b2ec5['asObservable'](),'error$':_0x1dc4df[_0x27e409(0x630)](),'open$':_0x483380['open$'],'message$':_0x5ed8dc[_0x27e409(0x630)](),'send':_0x30c3e8=>{const _0x43f547=_0x27e409;if(_0x30c3e8['cmd']===_0x56802b[_0x43f547(0x218)]){if(_0x30c3e8['data'][_0x43f547(0x526)]===_0x215e4a[_0x43f547(0x27c)][_0x43f547(0x1a1)]){this[_0x43f547(0x3d9)](_0x6f5c87,_0x30c3e8[_0x43f547(0x273)])[_0x43f547(0x5cf)](_0x530497=>{const _0x589f73=_0x43f547;this[_0x589f73(0x43a)]['error'](_0x530497),_0x5ab00b();});return;}if(_0x30c3e8[_0x43f547(0x273)][_0x43f547(0x526)]===_0x215e4a[_0x43f547(0x27c)][_0x43f547(0x468)]){const _0x181ef9=_0x30c3e8[_0x43f547(0x273)];this[_0x43f547(0x2b9)](_0x181ef9)['then'](_0x44dc81=>{const _0x2ff868=_0x43f547;_0x5ed8dc['next']({'cmd':_0x56802b['RECV'],'code':_0x247109['OK'],'routeKey':_0x181ef9[_0x2ff868(0x273)][_0x2ff868(0x2d1)],'routeType':'','data':{'eventID':_0x215e4a[_0x2ff868(0x27c)][_0x2ff868(0x478)],'data':{'changesets':_0x44dc81}}});})[_0x43f547(0x5cf)](_0x36ac19=>{const _0x40a980=_0x43f547;this[_0x40a980(0x43a)][_0x40a980(0x3a9)](_0x36ac19),_0x5ab00b();});return;}}_0x483380['send'](_0x40533c(_0x30c3e8));},'close':()=>{const _0x3f2d75=_0x27e409;_0x483380[_0x3f2d75(0x33c)](),_0x738fe9['dispose']();}},_0x6f5c87;}async[_0x2fa915(0x3d9)](_0x43a99a,_0x17702c){const _0x253659=_0x2fa915;var _0x5e3384,_0x1d91dd;const {unitType:_0x42dee0,unitID:_0x4bd580,changeset:_0x555ccf}=_0x17702c[_0x253659(0x273)],_0x584fcc={'unitID':_0x4bd580,'memberID':_0x43a99a[_0x253659(0x59f)],'type':_0x42dee0,'changeset':_0x215e4a[_0x253659(0x57a)](_0x555ccf)},_0x5ec258=this[_0x253659(0x4e4)][_0x253659(0x185)](_0xecaf7c),_0xd3f6fa=this[_0x253659(0x4e4)][_0x253659(0x185)](_0x152bb8),_0x1e5fe8=_0x3671c0((_0x1d91dd=(_0x5e3384=_0xd3f6fa==null?void 0x0:_0xd3f6fa[_0x253659(0x4b8)])!=null?_0x5e3384:_0x5ec258)!=null?_0x1d91dd:_0x5e7146,_0x42dee0,_0x4bd580);try{await this[_0x253659(0x331)][_0x253659(0x321)](_0x1e5fe8,{'body':_0x584fcc});}catch(_0x359b03){throw this[_0x253659(0x43a)][_0x253659(0x3a9)](_0x253659(0x1ea),'submit\x20changeset\x20error!'),_0x359b03;}}async['_fetchMissChangesets'](_0x5a84e6){const _0xa99e2d=_0x2fa915,{unitID:_0x3bbe5e,from:_0x415e64,to:_0x5ed20a,unitType:_0x471aa7}=_0x5a84e6['data'];return(await this['_snapshotServerService'][_0xa99e2d(0x4ef)]({'metadata':void 0x0},{'unitID':_0x3bbe5e,'type':_0x471aa7,'from':_0x415e64,'to':_0x5ed20a}))[_0xa99e2d(0x3d7)];}},_0x539c7e[_0x2fa915(0x629)]=_0x1c3a1d([_0x2d36f9(0x0,_0x4587e1[_0x2fa915(0x42b)](_0x108d2c[_0x2fa915(0x49f)])),_0x2d36f9(0x1,_0x4587e1[_0x2fa915(0x42b)](_0x108d2c[_0x2fa915(0x436)])),_0x2d36f9(0x2,_0x4587e1['IConfigService']),_0x2d36f9(0x3,_0x4587e1[_0x2fa915(0x62b)]),_0x2d36f9(0x4,_0x215e4a['ISnapshotServerService'])],_0x539c7e[_0x2fa915(0x629)]);const _0x5a4a34=_0x2fa915(0x2ab);function _0x21d7a0(_0x28e0c8){const _0x274097=_0x2fa915;return JSON[_0x274097(0x621)](_0x28e0c8)[_0x274097(0x4d9)];}class _0x2707ce{constructor(){const _0x83603c=_0x2fa915;_0x339ceb(this,'_commentUpdate$',new _0x3eec93[(_0x83603c(0x5c5))]()),_0x339ceb(this,'commentUpdate$',this[_0x83603c(0x26f)][_0x83603c(0x630)]());}[_0x2fa915(0x448)](_0x431986){const _0x328ab2=_0x2fa915;this[_0x328ab2(0x26f)][_0x328ab2(0x1c9)](_0x431986);}}var _0x2cbb12=Object[_0x2fa915(0x44e)],_0x36930b=Object[_0x2fa915(0x569)],_0x1f1db8=(_0x1ee003,_0x21c276,_0x1ee03a,_0x9f66eb)=>{const _0x5aa6b6=_0x2fa915;for(var _0x1edafb=_0x9f66eb>0x1?void 0x0:_0x9f66eb?_0x36930b(_0x21c276,_0x1ee03a):_0x21c276,_0x540715=_0x1ee003[_0x5aa6b6(0x4d9)]-0x1,_0x1361c0;_0x540715>=0x0;_0x540715--)(_0x1361c0=_0x1ee003[_0x540715])&&(_0x1edafb=(_0x9f66eb?_0x1361c0(_0x21c276,_0x1ee03a,_0x1edafb):_0x1361c0(_0x1edafb))||_0x1edafb);return _0x9f66eb&&_0x1edafb&&_0x2cbb12(_0x21c276,_0x1ee03a,_0x1edafb),_0x1edafb;},_0x5db39b=(_0x9da61b,_0x44d342)=>(_0x30249e,_0x377ac3)=>_0x44d342(_0x30249e,_0x377ac3,_0x9da61b);_0x539c7e[_0x2fa915(0x1d1)]=class extends _0x4587e1[_0x2fa915(0x552)]{constructor(_0x18377c,_0xccca06){const _0x4eb843=_0x2fa915;super(),_0x339ceb(this,'_roomMembers',new Map()),(this[_0x4eb843(0x3c1)]=_0x18377c,this[_0x4eb843(0x41d)]=_0xccca06,this['disposeWithMe'](_0x4587e1[_0x4eb843(0x2a6)](_0x3eec93[_0x4eb843(0x538)](this['_univerInstanceService'][_0x4eb843(0x267)](_0x4587e1[_0x4eb843(0x637)][_0x4eb843(0x3ee)])[_0x4eb843(0x276)](_0x18f07e[_0x4eb843(0x252)](_0x1ce9a3=>_0x1ce9a3[_0x4eb843(0x1d9)]())),this['_univerInstanceService'][_0x4eb843(0x267)](_0x4587e1[_0x4eb843(0x637)][_0x4eb843(0x27b)])[_0x4eb843(0x276)](_0x18f07e[_0x4eb843(0x252)](_0x5a60a6=>_0x5a60a6[_0x4eb843(0x1d9)]())),this[_0x4eb843(0x3c1)]['getTypeOfUnitDisposed$'](_0x4587e1[_0x4eb843(0x637)][_0x4eb843(0x5a3)])['pipe'](_0x18f07e[_0x4eb843(0x252)](_0x32b294=>_0x32b294[_0x4eb843(0x1d9)]())))[_0x4eb843(0x447)](_0x31e5ba=>this[_0x4eb843(0x45e)](_0x31e5ba)))));}[_0x2fa915(0x249)](_0x193945){const _0x283607=_0x2fa915;this[_0x283607(0x41d)][_0x283607(0x249)](_0x193945);}['getCurrentUser'](){const _0x456e23=_0x2fa915;return this[_0x456e23(0x41d)]['getCurrentUser']();}[_0x2fa915(0x57b)](_0x3c1251,_0x313de9){const _0x1d8c4f=_0x2fa915;let _0x2b917d=this[_0x1d8c4f(0x426)][_0x1d8c4f(0x4a0)](_0x3c1251);_0x2b917d||(_0x2b917d=new _0x27d680(),this[_0x1d8c4f(0x426)][_0x1d8c4f(0x498)](_0x3c1251,_0x2b917d)),_0x2b917d[_0x1d8c4f(0x57b)](_0x313de9);}[_0x2fa915(0x258)](_0x54df90,_0x32af1d){const _0x37b929=_0x2fa915,_0xc13c0a=this[_0x37b929(0x426)][_0x37b929(0x4a0)](_0x54df90);_0xc13c0a&&_0xc13c0a[_0x37b929(0x258)](_0x32af1d);}['getRoom'](_0x14b4e8){const _0x290d9a=_0x2fa915;return this[_0x290d9a(0x426)][_0x290d9a(0x4a0)](_0x14b4e8);}[_0x2fa915(0x438)](_0x3e5cc6,_0x23e76c){const _0x6cddc1=_0x2fa915,_0x31d286=this['_roomMembers']['get'](_0x3e5cc6);if(_0x31d286)return _0x31d286[_0x6cddc1(0x438)](_0x23e76c);}['_removeRoom'](_0x2ca70c){const _0x52a8d=_0x2fa915,_0x3bb366=this['_roomMembers'][_0x52a8d(0x4a0)](_0x2ca70c);_0x3bb366&&(_0x3bb366[_0x52a8d(0x3ea)](),this[_0x52a8d(0x426)]['delete'](_0x2ca70c));}[_0x2fa915(0x3ea)](){const _0x229123=_0x2fa915;this[_0x229123(0x426)]['forEach'](_0x4969e0=>_0x4969e0[_0x229123(0x3ea)]()),this[_0x229123(0x426)][_0x229123(0x385)]();}},_0x539c7e[_0x2fa915(0x1d1)]=_0x1f1db8([_0x5db39b(0x0,_0x4587e1[_0x2fa915(0x53b)]),_0x5db39b(0x1,_0x4587e1['Inject'](_0x4587e1['UserManagerService']))],_0x539c7e[_0x2fa915(0x1d1)]);class _0x27d680 extends _0x4587e1['Disposable']{constructor(){const _0x3e266d=_0x2fa915;super(...arguments),_0x339ceb(this,_0x3e266d(0x45b),new Map());}[_0x2fa915(0x3ea)](){const _0x42d128=_0x2fa915;this[_0x42d128(0x45b)]['clear']();}[_0x2fa915(0x57b)](_0x50d120){const _0xda6176=_0x2fa915;this[_0xda6176(0x45b)][_0xda6176(0x498)](_0x50d120[_0xda6176(0x59f)],_0x50d120);}[_0x2fa915(0x258)](_0x46e09e){const _0x1495fd=_0x2fa915;this[_0x1495fd(0x45b)][_0x1495fd(0x4e2)](_0x46e09e);}[_0x2fa915(0x438)](_0x56ae5e){const _0x3a9dc2=_0x2fa915;return this[_0x3a9dc2(0x45b)][_0x3a9dc2(0x4a0)](_0x56ae5e);}['getAllMembers'](){const _0x368d14=_0x2fa915;return Array[_0x368d14(0x3e0)](this['_members'][_0x368d14(0x291)]());}}var _0x4ad358=Object[_0x2fa915(0x44e)],_0x218a35=Object[_0x2fa915(0x569)],_0x3865de=(_0xb44740,_0x5205c7,_0xa24894,_0x471f08)=>{const _0x26422c=_0x2fa915;for(var _0x3594a2=_0x471f08>0x1?void 0x0:_0x471f08?_0x218a35(_0x5205c7,_0xa24894):_0x5205c7,_0xc81536=_0xb44740[_0x26422c(0x4d9)]-0x1,_0x3e4524;_0xc81536>=0x0;_0xc81536--)(_0x3e4524=_0xb44740[_0xc81536])&&(_0x3594a2=(_0x471f08?_0x3e4524(_0x5205c7,_0xa24894,_0x3594a2):_0x3e4524(_0x3594a2))||_0x3594a2);return _0x471f08&&_0x3594a2&&_0x4ad358(_0x5205c7,_0xa24894,_0x3594a2),_0x3594a2;},_0x1be4d5=(_0x1aa5dd,_0x2c32b7)=>(_0x540f5b,_0x3e3283)=>_0x2c32b7(_0x540f5b,_0x3e3283,_0x1aa5dd),_0x474ede=(_0x2d6e82=>(_0x2d6e82[_0x2d6e82[_0x2fa915(0x3d5)]=0x0]='IDLE',_0x2d6e82[_0x2d6e82['JOINING']=0x1]=_0x2fa915(0x1da),_0x2d6e82[_0x2d6e82[_0x2fa915(0x3c4)]=0x2]=_0x2fa915(0x3c4),_0x2d6e82[_0x2d6e82[_0x2fa915(0x36e)]=0x3]=_0x2fa915(0x36e),_0x2d6e82))(_0x474ede||{});_0x539c7e['CollaborationSession']=class extends _0x4587e1['RxDisposable']{constructor(_0x2e8a32,_0x3c67d7,_0x5835da,_0x528688,_0x1a4f92,_0x518958,_0x27705e,_0x70d335,_0x10c9cc,_0x1f23e4){const _0x403fac=_0x2fa915;super(),_0x339ceb(this,_0x403fac(0x304),new _0x3eec93['BehaviorSubject'](0x0)),_0x339ceb(this,_0x403fac(0x376),this[_0x403fac(0x304)]['asObservable']()),_0x339ceb(this,_0x403fac(0x20c),new _0x3eec93[(_0x403fac(0x5c5))]()),_0x339ceb(this,_0x403fac(0x4ca),this[_0x403fac(0x20c)][_0x403fac(0x630)]()),_0x339ceb(this,'_socket'),_0x339ceb(this,_0x403fac(0x285)),_0x339ceb(this,_0x403fac(0x463)),_0x339ceb(this,'_shouldReportTelemetry',!0x1),_0x339ceb(this,_0x403fac(0x488),null),(this[_0x403fac(0x42e)]=_0x2e8a32,this[_0x403fac(0x43a)]=_0x5835da,this['_beforeCloseService']=_0x528688,this[_0x403fac(0x1c4)]=_0x1a4f92,this[_0x403fac(0x4e4)]=_0x518958,this[_0x403fac(0x497)]=_0x27705e,this[_0x403fac(0x226)]=_0x70d335,this[_0x403fac(0x1a4)]=_0x10c9cc,this[_0x403fac(0x38d)]=_0x1f23e4,this[_0x403fac(0x3b6)]=!!this[_0x403fac(0x38d)],_0x3c67d7[_0x403fac(0x276)](_0x3eec93[_0x403fac(0x2b3)](this[_0x403fac(0x1ad)]))['subscribe'](_0x23aebc=>{const _0x42e131=_0x403fac;var _0x507006;typeof _0x23aebc>'u'||(this[_0x42e131(0x533)]=_0x23aebc,_0x23aebc?(this['_joinRoom'](_0x23aebc),this[_0x42e131(0x285)]=_0x23aebc[_0x42e131(0x1c0)][_0x42e131(0x447)](_0x1bf445=>{const _0x273750=_0x42e131;_0x1bf445[_0x273750(0x457)]===this[_0x273750(0x42e)]&&this[_0x273750(0x3f7)](_0x1bf445);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x42e131(0x304)][_0x42e131(0x1c9)](0x2),(_0x507006=this[_0x42e131(0x285)])==null||_0x507006['unsubscribe'](),this['_socketMessageSubscription']=null));}),this[_0x403fac(0x211)](this[_0x403fac(0x28d)][_0x403fac(0x519)](()=>{const _0x552d62=_0x403fac;var _0xe10d5b;(_0xe10d5b=this[_0x552d62(0x533)])==null||_0xe10d5b[_0x552d62(0x5aa)]({'cmd':_0x56802b[_0x552d62(0x38c)],'data':{'roomID':this[_0x552d62(0x42e)]}});})));}get[_0x2fa915(0x1b2)](){const _0xfc3f92=_0x2fa915;return this[_0xfc3f92(0x304)][_0xfc3f92(0x262)]();}[_0x2fa915(0x4c8)](){const _0x557a24=_0x2fa915;var _0x1ae03f,_0x31218e;return(_0x31218e=(_0x1ae03f=this['_socket'])==null?void 0x0:_0x1ae03f[_0x557a24(0x59f)])!=null?_0x31218e:null;}[_0x2fa915(0x3ea)](){const _0x57c5e2=_0x2fa915;super[_0x57c5e2(0x3ea)](),this['dispose$'][_0x57c5e2(0x1c9)](),this[_0x57c5e2(0x1ad)]['complete']();}[_0x2fa915(0x33c)](){const _0x3ec766=_0x2fa915;var _0x1ea514,_0x32d139;this['_throwTelemetryCollaborationNewChangeset'](),(_0x1ea514=this[_0x3ec766(0x533)])==null||_0x1ea514['send']({'cmd':_0x56802b[_0x3ec766(0x38c)],'data':{'roomID':this['_unitID']}}),(_0x32d139=this['_socket'])==null||_0x32d139[_0x3ec766(0x33c)](),this['_event$'][_0x3ec766(0x2e2)](),this[_0x3ec766(0x304)][_0x3ec766(0x2e2)](),this[_0x3ec766(0x3ea)]();}[_0x2fa915(0x3f7)](_0x290e68){const _0x5a3ef5=_0x2fa915;_0x290e68[_0x5a3ef5(0x281)]===_0x56802b['JOIN']?this[_0x5a3ef5(0x2de)](_0x290e68):_0x290e68[_0x5a3ef5(0x281)]===_0x56802b['RECV']&&this[_0x5a3ef5(0x49e)](_0x290e68);}[_0x2fa915(0x3e4)](_0x2533fe){const _0x3c3dce=_0x2fa915;this['_sessionStatus$'][_0x3c3dce(0x1c9)](0x1),_0x2533fe['send']({'cmd':_0x56802b['JOIN'],'routeKey':this[_0x3c3dce(0x42e)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3c3dce(0x42e)]}]}});}['_onJoinRoomEvent'](_0xfeabc0){const _0x2a2f22=_0x2fa915;var _0x23ae36;if(_0xfeabc0[_0x2a2f22(0x55e)]===_0x247109['FAIL']){this['_messageService'][_0x2a2f22(0x1ca)]({'type':_0x40b71f[_0x2a2f22(0x219)][_0x2a2f22(0x415)],'content':this[_0x2a2f22(0x497)]['t'](_0x2a2f22(0x4e0))}),this[_0x2a2f22(0x304)][_0x2a2f22(0x1c9)](0x2);return;}this['_sessionStatus$'][_0x2a2f22(0x1c9)](0x3);const _0x21a275=(_0x23ae36=_0xfeabc0[_0x2a2f22(0x273)]['roomInfos'][this[_0x2a2f22(0x42e)]])==null?void 0x0:_0x23ae36[_0x2a2f22(0x580)];_0x21a275&&_0x21a275[_0x2a2f22(0x34b)](_0x47f556=>this[_0x2a2f22(0x226)][_0x2a2f22(0x57b)](this[_0x2a2f22(0x42e)],_0x47f556));}['_onRecvEvent'](_0x4feae3){const _0x19e98d=_0x2fa915;try{const _0x238960=_0x4feae3[_0x19e98d(0x273)];switch(_0x238960[_0x19e98d(0x526)]){case _0x215e4a[_0x19e98d(0x27c)][_0x19e98d(0x352)]:this['_onUserJoin'](_0x238960),this[_0x19e98d(0x20c)]['next'](_0x238960);break;case _0x215e4a[_0x19e98d(0x27c)][_0x19e98d(0x614)]:this[_0x19e98d(0x357)](_0x238960),this[_0x19e98d(0x20c)][_0x19e98d(0x1c9)](_0x238960);break;case _0x215e4a['CollaborationEvent'][_0x19e98d(0x19e)]:case _0x215e4a[_0x19e98d(0x27c)][_0x19e98d(0x195)]:this[_0x19e98d(0x544)](),this[_0x19e98d(0x1f5)](),this[_0x19e98d(0x20c)][_0x19e98d(0x1c9)](_0x238960);break;case _0x215e4a[_0x19e98d(0x27c)][_0x19e98d(0x1a9)]:this['_logService'][_0x19e98d(0x3a9)](_0x19e98d(0x33b)+JSON[_0x19e98d(0x621)](_0x238960)),this[_0x19e98d(0x20c)]['next'](_0x238960);break;case _0x215e4a[_0x19e98d(0x27c)][_0x19e98d(0x55b)]:this[_0x19e98d(0x1a4)][_0x19e98d(0x448)](_0x238960[_0x19e98d(0x273)]),this['_event$'][_0x19e98d(0x1c9)](_0x238960);break;default:this[_0x19e98d(0x20c)][_0x19e98d(0x1c9)](_0x238960);}}catch(_0x8435e9){this[_0x19e98d(0x43a)]['error'](_0x8435e9,_0x4feae3);}}[_0x2fa915(0x274)](_0x53dc53){const _0x23270b=_0x2fa915;this[_0x23270b(0x226)][_0x23270b(0x57b)](this[_0x23270b(0x42e)],_0x53dc53[_0x23270b(0x273)]);}[_0x2fa915(0x357)](_0x54064d){const _0x2db3e7=_0x2fa915;this[_0x2db3e7(0x226)]['removeMember'](this[_0x2db3e7(0x42e)],_0x54064d['data']['memberID']);}async[_0x2fa915(0x5aa)](_0x8f789e,_0x3a7892){const _0x3e0376=_0x2fa915;if(this[_0x3e0376(0x1b2)]!==0x3||!this[_0x3e0376(0x533)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x8f789e['eventID']===_0x215e4a[_0x3e0376(0x27c)][_0x3e0376(0x1a1)]&&(this[_0x3e0376(0x17f)](),this[_0x3e0376(0x35f)](_0x8f789e)),this[_0x3e0376(0x533)][_0x3e0376(0x5aa)]({'cmd':_0x56802b[_0x3e0376(0x218)],'routeKey':_0x3a7892,'routeType':'','data':_0x8f789e});}catch(_0x54d130){this[_0x3e0376(0x43a)]['error'](_0x54d130);}}[_0x2fa915(0x17f)](){const _0x52bd00=_0x2fa915;var _0x172555;this[_0x52bd00(0x463)]=window[_0x52bd00(0x5fa)](()=>{const _0x16ba52=_0x52bd00;this[_0x16ba52(0x463)]=null,this[_0x16ba52(0x1c4)][_0x16ba52(0x1ca)]({'type':_0x40b71f[_0x16ba52(0x219)][_0x16ba52(0x490)],'content':this[_0x16ba52(0x497)]['t']('session.collaboration-timeout')});},(_0x172555=this['_configService'][_0x52bd00(0x185)](_0xa4064f))!=null?_0x172555:0x4e20);}['_clearCollaborationTimeoutTimer'](){const _0x310f9b=_0x2fa915;this[_0x310f9b(0x463)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x310f9b(0x463)]=null);}[_0x2fa915(0x35f)](_0x56937f){const _0x2d09ca=_0x2fa915;if(!this[_0x2d09ca(0x3b6)])return;const {data:_0x4f56a9}=_0x56937f,{unitID:_0x362ec7,changeset:_0x5c04fc}=_0x4f56a9,{mutations:_0x2c826f,type:_0x22e361}=_0x5c04fc;this[_0x2d09ca(0x488)]={'unitId':_0x362ec7,'type':_0x22e361,'startTime':performance[_0x2d09ca(0x24a)](),'stopTime':0x0,'duration':0x0,'size':_0x21d7a0(_0x2c826f)};}[_0x2fa915(0x544)](){const _0x40a955=_0x2fa915;if(this[_0x40a955(0x3b6)]){if(!this[_0x40a955(0x488)]){this['_logService'][_0x40a955(0x3a9)](_0x40a955(0x1ea),_0x40a955(0x1d7));return;}this['_telemetryInfo'][_0x40a955(0x627)]=performance[_0x40a955(0x24a)](),this['_telemetryInfo'][_0x40a955(0x494)]=this[_0x40a955(0x488)]['stopTime']-this[_0x40a955(0x488)][_0x40a955(0x512)],this[_0x40a955(0x38d)][_0x40a955(0x61e)](_0x5a4a34,this[_0x40a955(0x488)]),this[_0x40a955(0x488)]=null;}}[_0x2fa915(0x170)](){const _0xf76a59=_0x2fa915;this[_0xf76a59(0x488)]=null;}},_0x539c7e['CollaborationSession']=_0x3865de([_0x1be4d5(0x2,_0x4587e1['ILogService']),_0x1be4d5(0x3,_0x3163bd['IBeforeCloseService']),_0x1be4d5(0x4,_0x3163bd['IMessageService']),_0x1be4d5(0x5,_0x4587e1[_0x2fa915(0x628)]),_0x1be4d5(0x6,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x1e2)])),_0x1be4d5(0x7,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e['MemberService'])),_0x1be4d5(0x8,_0x4587e1[_0x2fa915(0x42b)](_0x2707ce)),_0x1be4d5(0x9,_0x4587e1['Optional'](_0x5efb10['ITelemetryService']))],_0x539c7e[_0x2fa915(0x21c)]);var _0x3e83aa=Object[_0x2fa915(0x44e)],_0x5bd6e5=Object[_0x2fa915(0x569)],_0x1f432a=(_0x26232f,_0x391d20,_0x510e48,_0x2df9cb)=>{const _0x540678=_0x2fa915;for(var _0xcd187a=_0x2df9cb>0x1?void 0x0:_0x2df9cb?_0x5bd6e5(_0x391d20,_0x510e48):_0x391d20,_0x43937f=_0x26232f[_0x540678(0x4d9)]-0x1,_0x4091bd;_0x43937f>=0x0;_0x43937f--)(_0x4091bd=_0x26232f[_0x43937f])&&(_0xcd187a=(_0x2df9cb?_0x4091bd(_0x391d20,_0x510e48,_0xcd187a):_0x4091bd(_0xcd187a))||_0xcd187a);return _0x2df9cb&&_0xcd187a&&_0x3e83aa(_0x391d20,_0x510e48,_0xcd187a),_0xcd187a;},_0x39b388=(_0x76808,_0x18f0da)=>(_0x290deb,_0x1f5642)=>_0x18f0da(_0x290deb,_0x1f5642,_0x76808);_0x539c7e[_0x2fa915(0x240)]=class extends _0x4587e1['Disposable']{constructor(_0x27bf5b,_0x4d57f4,_0x100be7,_0x2333af,_0x10e94d,_0x37b935){const _0x34964e=_0x2fa915;super(),_0x339ceb(this,_0x34964e(0x541),new _0x3eec93[(_0x34964e(0x29b))](void 0x0)),_0x339ceb(this,'socket$',this[_0x34964e(0x541)][_0x34964e(0x630)]()),_0x339ceb(this,_0x34964e(0x1ce),null),_0x339ceb(this,_0x34964e(0x3ec),new Map()),_0x339ceb(this,'_status$',new _0x3eec93[(_0x34964e(0x29b))](_0x474ede[_0x34964e(0x3d5)])),_0x339ceb(this,_0x34964e(0x361),this[_0x34964e(0x1aa)]['asObservable']()),_0x339ceb(this,_0x34964e(0x392),!0x1),_0x339ceb(this,_0x34964e(0x271)),_0x339ceb(this,_0x34964e(0x349),0x0),_0x339ceb(this,_0x34964e(0x375)),_0x339ceb(this,_0x34964e(0x458)),(this['_injector']=_0x27bf5b,this[_0x34964e(0x497)]=_0x4d57f4,this['_messageService']=_0x100be7,this[_0x34964e(0x43a)]=_0x2333af,this['_configService']=_0x10e94d,this[_0x34964e(0x43f)]=_0x37b935,this[_0x34964e(0x502)]());}get['_socket'](){const _0x3ded98=_0x2fa915;return this[_0x3ded98(0x541)]['getValue']();}[_0x2fa915(0x502)](){const _0x1e224d=_0x2fa915;this[_0x1e224d(0x34c)](),this[_0x1e224d(0x17a)]();}[_0x2fa915(0x3ea)](){const _0x36fb09=_0x2fa915;super['dispose'](),this[_0x36fb09(0x3ec)][_0x36fb09(0x34b)](_0x19382c=>_0x19382c[_0x36fb09(0x3ea)]()),this[_0x36fb09(0x3ec)][_0x36fb09(0x385)](),this[_0x36fb09(0x1aa)][_0x36fb09(0x2e2)]();}async['requireSession'](_0x2f22a7){const _0x499da2=_0x2fa915;if(this['_sessions'][_0x499da2(0x364)](_0x2f22a7))return this[_0x499da2(0x3ec)][_0x499da2(0x4a0)](_0x2f22a7);this[_0x499da2(0x3b7)]();const _0x80be98=this[_0x499da2(0x60e)][_0x499da2(0x489)](_0x539c7e[_0x499da2(0x21c)],_0x2f22a7,this[_0x499da2(0x541)][_0x499da2(0x630)]());return this[_0x499da2(0x3ec)][_0x499da2(0x498)](_0x2f22a7,_0x80be98),_0x80be98;}['closeSession'](_0x31dd6e){const _0x4cf565=_0x2fa915;var _0x2a2090;const _0x21c430=this[_0x4cf565(0x3ec)][_0x4cf565(0x4a0)](_0x31dd6e);_0x21c430&&(this['_sessions'][_0x4cf565(0x4e2)](_0x31dd6e),_0x21c430[_0x4cf565(0x33c)]()),this['_sessions'][_0x4cf565(0x18b)]||(_0x2a2090=this[_0x4cf565(0x533)])==null||_0x2a2090[_0x4cf565(0x33c)]();}[_0x2fa915(0x424)](){const _0xb4938c=_0x2fa915;this[_0xb4938c(0x349)]=0x0,this[_0xb4938c(0x271)]!=null&&(clearTimeout(this[_0xb4938c(0x271)]),this[_0xb4938c(0x271)]=null),this[_0xb4938c(0x455)]();}['_createSocket'](){const _0xbce5f0=_0x2fa915;var _0x529ea3,_0x5eb4db;const _0x196699=this[_0xbce5f0(0x4e4)]['getConfig'](_0x58836a),_0x607946=this['_configService'][_0xbce5f0(0x185)](_0x152bb8),_0x232b7c=(_0x5eb4db=(_0x529ea3=_0x607946==null?void 0x0:_0x607946[_0xbce5f0(0x257)])!=null?_0x529ea3:_0x196699)!=null?_0x5eb4db:_0x2e309e,_0x2d297c=this[_0xbce5f0(0x43f)][_0xbce5f0(0x452)](_0x232b7c);return this[_0xbce5f0(0x1ce)]=_0x2d297c,_0x2d297c;}[_0x2fa915(0x3b7)](){const _0x1aaa5d=_0x2fa915;var _0x59a4cf,_0xf1f99f;try{const _0x291b41=(_0xf1f99f=(_0x59a4cf=this[_0x1aaa5d(0x533)])!=null?_0x59a4cf:this['_candidateSocket'])!=null?_0xf1f99f:this[_0x1aaa5d(0x39a)]();if(_0x291b41){const _0x2735e8=_0x291b41[_0x1aaa5d(0x5aa)];_0x291b41['send']=_0x54b4fa=>(this[_0x1aaa5d(0x222)](),_0x2735e8[_0x1aaa5d(0x54c)](_0x291b41,[_0x54b4fa])),_0x291b41[_0x1aaa5d(0x1c0)][_0x1aaa5d(0x447)](_0x19cc82=>this[_0x1aaa5d(0x60d)](_0x291b41,_0x19cc82)),_0x291b41[_0x1aaa5d(0x56f)]['pipe'](_0x18f07e[_0x1aaa5d(0x44f)](0x1))['subscribe'](_0x2c8419=>this[_0x1aaa5d(0x43a)][_0x1aaa5d(0x3a9)](_0x1aaa5d(0x440),_0x2c8419)),_0x291b41[_0x1aaa5d(0x52d)][_0x1aaa5d(0x276)](_0x18f07e[_0x1aaa5d(0x44f)](0x1))[_0x1aaa5d(0x447)](()=>{const _0x28dcaf=_0x1aaa5d;this[_0x28dcaf(0x58b)](_0x291b41);}),_0x291b41[_0x1aaa5d(0x48d)][_0x1aaa5d(0x276)](_0x18f07e[_0x1aaa5d(0x44f)](0x1))['subscribe'](_0x1fceea=>{const _0x56a4ec=_0x1aaa5d;this[_0x56a4ec(0x43a)][_0x56a4ec(0x472)](_0x56a4ec(0x486),_0x56a4ec(0x5ce),_0x1fceea),this[_0x56a4ec(0x500)]();});}}catch(_0x158aa1){this[_0x1aaa5d(0x43a)][_0x1aaa5d(0x3a9)](_0x158aa1),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x2a6b52){const _0x7bfa16=_0x2fa915;this[_0x7bfa16(0x43a)][_0x7bfa16(0x472)](_0x7bfa16(0x486),'socket\x20open.'),_0x2a6b52['send']({'cmd':_0x56802b[_0x7bfa16(0x416)]}),this['_rescheduleHeartbeat']();}[_0x2fa915(0x34c)](){const _0x3ff5c2=_0x2fa915;window[_0x3ff5c2(0x4fa)](_0x3ff5c2(0x2e5),()=>this[_0x3ff5c2(0x1f9)]());}['_onOffline'](){const _0x39dca5=_0x2fa915;this[_0x39dca5(0x392)]=!0x1,this[_0x39dca5(0x1ce)]=null,this[_0x39dca5(0x1aa)][_0x39dca5(0x1c9)](_0x474ede[_0x39dca5(0x3c4)]),this[_0x39dca5(0x541)][_0x39dca5(0x1c9)](null),this[_0x39dca5(0x59d)](),this[_0x39dca5(0x565)]();}[_0x2fa915(0x500)](){const _0x40a43c=_0x2fa915;var _0x2dd8a6;this['_onOffline'](),this[_0x40a43c(0x349)]<((_0x2dd8a6=this[_0x40a43c(0x4e4)][_0x40a43c(0x185)](_0xceef47))!=null?_0x2dd8a6:0x3)?(this[_0x40a43c(0x1c4)][_0x40a43c(0x1ca)]({'key':_0x40a43c(0x294),'type':_0x40b71f[_0x40a43c(0x219)]['Warning'],'content':this[_0x40a43c(0x497)]['t']('session.will-retry')}),this[_0x40a43c(0x455)]()):this[_0x40a43c(0x1c4)][_0x40a43c(0x1ca)]({'key':'collaboration-session-retry','type':_0x40b71f[_0x40a43c(0x219)][_0x40a43c(0x490)],'content':this[_0x40a43c(0x497)]['t'](_0x40a43c(0x1d2))});}['_listenToOnlineEvent'](){const _0x2a1ff1=_0x2fa915,_0x3817c7=()=>{const _0x398249=_0x5275;this[_0x398249(0x533)]||this[_0x398249(0x424)]();},_0x166f86=()=>{const _0x3eea05=_0x5275;this[_0x3eea05(0x533)]||document[_0x3eea05(0x532)]===_0x3eea05(0x587)||this['reconnect']();};window['addEventListener'](_0x2a1ff1(0x17c),_0x3817c7),document[_0x2a1ff1(0x4fa)](_0x2a1ff1(0x27d),_0x166f86);}[_0x2fa915(0x455)](){const _0x2e8d56=_0x2fa915;var _0x2d412c;const _0x4a3d55=this[_0x2e8d56(0x349)],_0x172c86=this[_0x2e8d56(0x4e4)]['getConfig'](_0x152bb8),_0x46417d=_0x4a3d55===0x0?0x0:((_0x2d412c=_0x172c86==null?void 0x0:_0x172c86[_0x2e8d56(0x3a5)])!=null?_0x2d412c:0x4e20)*0x2**_0x4a3d55;this[_0x2e8d56(0x271)]=window['setTimeout'](()=>{const _0x439e3b=_0x2e8d56;clearTimeout(this[_0x439e3b(0x271)]),this[_0x439e3b(0x271)]=null,this[_0x439e3b(0x3b7)]();},_0x46417d),this['_retryCount']+=0x1;}[_0x2fa915(0x60d)](_0x2509c5,_0x3de46e){const _0x5502a3=_0x2fa915,{cmd:_0x28722d}=_0x3de46e;_0x28722d===_0x56802b[_0x5502a3(0x416)]&&!this[_0x5502a3(0x392)]&&(_0x2509c5[_0x5502a3(0x59f)]=_0x3de46e[_0x5502a3(0x273)][_0x5502a3(0x59f)],this[_0x5502a3(0x541)][_0x5502a3(0x1c9)](_0x2509c5),this[_0x5502a3(0x1aa)]['next'](_0x474ede['ONLINE']),this[_0x5502a3(0x392)]=!0x0,this['_candidateSocket']=null),_0x28722d===_0x56802b[_0x5502a3(0x359)]&&this[_0x5502a3(0x59d)](),this[_0x5502a3(0x222)]();}[_0x2fa915(0x222)](){const _0x625fe3=_0x2fa915;var _0x43e343;this['_clearHeartbeatTimer'](),this[_0x625fe3(0x375)]=window[_0x625fe3(0x5fa)](()=>this[_0x625fe3(0x387)](),(_0x43e343=this['_configService']['getConfig'](_0x4a8a98))!=null?_0x43e343:0x7530);}[_0x2fa915(0x387)](){const _0x535f7f=_0x2fa915;this['_socket'][_0x535f7f(0x5aa)]({'cmd':_0x56802b['HEARTBEAT']}),this[_0x535f7f(0x172)]();}[_0x2fa915(0x172)](){const _0x44d95e=_0x2fa915;var _0x3fa9a2;this[_0x44d95e(0x458)]=window[_0x44d95e(0x5fa)](()=>this[_0x44d95e(0x500)](),(_0x3fa9a2=this[_0x44d95e(0x4e4)][_0x44d95e(0x185)](_0xa4064f))!=null?_0x3fa9a2:0x4e20);}[_0x2fa915(0x565)](){const _0x55363e=_0x2fa915;this[_0x55363e(0x375)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x55363e(0x375)]=null);}[_0x2fa915(0x59d)](){const _0x3f5337=_0x2fa915;this[_0x3f5337(0x458)]!=null&&(clearTimeout(this[_0x3f5337(0x458)]),this[_0x3f5337(0x458)]=null);}},_0x539c7e[_0x2fa915(0x240)]=_0x1f432a([_0x39b388(0x0,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x39b388(0x1,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1['LocaleService'])),_0x39b388(0x2,_0x3163bd[_0x2fa915(0x259)]),_0x39b388(0x3,_0x4587e1[_0x2fa915(0x62b)]),_0x39b388(0x4,_0x4587e1[_0x2fa915(0x628)]),_0x39b388(0x5,_0x5a365e)],_0x539c7e['CollaborationSessionService']);const _0x1dab81=[];for(let _0x2c5d61=0x0;_0x2c5d61<0x100;++_0x2c5d61)_0x1dab81['push']((_0x2c5d61+0x100)[_0x2fa915(0x38a)](0x10)[_0x2fa915(0x57d)](0x1));function _0x3d18d1(_0x113a5b,_0x5c10a8=0x0){return(_0x1dab81[_0x113a5b[_0x5c10a8+0x0]]+_0x1dab81[_0x113a5b[_0x5c10a8+0x1]]+_0x1dab81[_0x113a5b[_0x5c10a8+0x2]]+_0x1dab81[_0x113a5b[_0x5c10a8+0x3]]+'-'+_0x1dab81[_0x113a5b[_0x5c10a8+0x4]]+_0x1dab81[_0x113a5b[_0x5c10a8+0x5]]+'-'+_0x1dab81[_0x113a5b[_0x5c10a8+0x6]]+_0x1dab81[_0x113a5b[_0x5c10a8+0x7]]+'-'+_0x1dab81[_0x113a5b[_0x5c10a8+0x8]]+_0x1dab81[_0x113a5b[_0x5c10a8+0x9]]+'-'+_0x1dab81[_0x113a5b[_0x5c10a8+0xa]]+_0x1dab81[_0x113a5b[_0x5c10a8+0xb]]+_0x1dab81[_0x113a5b[_0x5c10a8+0xc]]+_0x1dab81[_0x113a5b[_0x5c10a8+0xd]]+_0x1dab81[_0x113a5b[_0x5c10a8+0xe]]+_0x1dab81[_0x113a5b[_0x5c10a8+0xf]])['toLowerCase']();}let _0x4d7a17;const _0x2d13c7=new Uint8Array(0x10);function _0xa70342(){const _0x4e5bf7=_0x2fa915;if(!_0x4d7a17){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x4e5bf7(0x3f0));_0x4d7a17=crypto['getRandomValues'][_0x4e5bf7(0x2c7)](crypto);}return _0x4d7a17(_0x2d13c7);}const _0x121df7={'randomUUID':typeof crypto<'u'&&crypto[_0x2fa915(0x37e)]&&crypto['randomUUID'][_0x2fa915(0x2c7)](crypto)};function _0x5c1a92(_0x193548,_0x34781e,_0x409dea){const _0xff3566=_0x2fa915;if(_0x121df7[_0xff3566(0x37e)]&&!_0x34781e&&!_0x193548)return _0x121df7[_0xff3566(0x37e)]();_0x193548=_0x193548||{};const _0x5dd5d2=_0x193548[_0xff3566(0x29a)]||(_0x193548[_0xff3566(0x522)]||_0xa70342)();return _0x5dd5d2[0x6]=_0x5dd5d2[0x6]&0xf|0x40,_0x5dd5d2[0x8]=_0x5dd5d2[0x8]&0x3f|0x80,_0x3d18d1(_0x5dd5d2);}var _0x37b9cd=Object[_0x2fa915(0x44e)],_0x20db5b=Object['getOwnPropertyDescriptor'],_0x479be4=(_0x5b3015,_0x4ccb49,_0x33dc4d,_0x31d1c0)=>{for(var _0x3886aa=_0x31d1c0>0x1?void 0x0:_0x31d1c0?_0x20db5b(_0x4ccb49,_0x33dc4d):_0x4ccb49,_0xecc3dc=_0x5b3015['length']-0x1,_0x569570;_0xecc3dc>=0x0;_0xecc3dc--)(_0x569570=_0x5b3015[_0xecc3dc])&&(_0x3886aa=(_0x31d1c0?_0x569570(_0x4ccb49,_0x33dc4d,_0x3886aa):_0x569570(_0x3886aa))||_0x3886aa);return _0x31d1c0&&_0x3886aa&&_0x37b9cd(_0x4ccb49,_0x33dc4d,_0x3886aa),_0x3886aa;},_0x363057=(_0x3ca02a,_0x2e96dc)=>(_0x644779,_0x1029d7)=>_0x2e96dc(_0x644779,_0x1029d7,_0x3ca02a);let _0xf435ee=class{constructor(_0x402a2c,_0x2ac7f2,_0x79e045){const _0x105a01=_0x2fa915;this[_0x105a01(0x60e)]=_0x402a2c,this['_transformService']=_0x2ac7f2,this['_renderManagerService']=_0x79e045;}['transformIMECache'](_0x51803f){const _0x48d049=_0x2fa915;this[_0x48d049(0x632)](_0x51803f),this[_0x48d049(0x442)](_0x51803f);}['transformRemoteChangeset'](_0xa7029a){const _0x205cdb=_0x2fa915,{unitID:_0x3febb8}=_0xa7029a,_0xe644b7=this[_0x205cdb(0x476)][_0x205cdb(0x5b6)](_0x3febb8)['with'](_0x28eee7[_0x205cdb(0x5b4)]),{redoCache:_0x1a62e1}=_0xe644b7[_0x205cdb(0x335)]();if(_0x1a62e1[_0x205cdb(0x4d9)]===0x0)return _0xa7029a;let _0x484bb6=_0x4587e1['Tools'][_0x205cdb(0x3f4)](_0xa7029a[_0x205cdb(0x4d3)][0x0]);for(let _0x1a7d42=0x0;_0x1a7d42<_0x1a62e1[_0x205cdb(0x4d9)];_0x1a7d42++){const _0x5a39da={'id':_0x205cdb(0x50a),'params':{..._0x1a62e1[_0x1a7d42]}},_0x2b9c8c=this['_transformService']['transformMutation'](_0x484bb6,_0x5a39da,!0x1);if(_0x215e4a[_0x205cdb(0x3de)](_0x2b9c8c))throw _0x2b9c8c[_0x205cdb(0x3a9)];_0x484bb6=_0x2b9c8c['m1Prime'];}return{..._0x4587e1['Tools']['deepClone'](_0xa7029a),'mutations':[_0x484bb6]};}[_0x2fa915(0x632)](_0x678c58){const _0x4340f2=_0x2fa915,{unitID:_0x459d18}=_0x678c58,_0x4f56fa=this[_0x4340f2(0x476)]['getRenderById'](_0x459d18)['with'](_0x28eee7['DocIMEInputManagerService']),{undoCache:_0x50b895,redoCache:_0x427ec9}=_0x4f56fa['getUndoRedoMutationParamsCache']();if(_0x50b895[_0x4340f2(0x4d9)]===0x0||_0x427ec9[_0x4340f2(0x4d9)]===0x0)return;const _0x111a3e=[],_0x548bf7=[];let _0xb3d46d=_0x4587e1[_0x4340f2(0x5f7)][_0x4340f2(0x3f4)](_0x678c58[_0x4340f2(0x4d3)][0x0]),_0xfb21f3=_0x4587e1['Tools']['deepClone'](_0x678c58['mutations'][0x0]);for(let _0x10100f=_0x50b895[_0x4340f2(0x4d9)]-0x1;_0x10100f>=0x0;_0x10100f--){const _0x48600f={'id':_0x4340f2(0x50a),'params':{..._0x50b895[_0x10100f]}},_0x42eae9={'id':'doc.mutation.rich-text-editing','params':{..._0x427ec9[_0x10100f]}},_0x3fd645=this[_0x4340f2(0x493)][_0x4340f2(0x2cb)](_0xb3d46d,_0x48600f,!0x1),_0x434113=this[_0x4340f2(0x493)][_0x4340f2(0x2cb)](_0xfb21f3,_0x42eae9,!0x1);if(_0x215e4a[_0x4340f2(0x3de)](_0x3fd645))throw _0x3fd645[_0x4340f2(0x3a9)];if(_0x215e4a[_0x4340f2(0x3de)](_0x434113))throw _0x434113[_0x4340f2(0x3a9)];_0x111a3e[_0x4340f2(0x2a1)](_0x3fd645['m2Prime']['params']),_0x548bf7[_0x4340f2(0x2a1)](_0x434113[_0x4340f2(0x239)][_0x4340f2(0x548)]),_0xb3d46d=_0x3fd645[_0x4340f2(0x50c)],_0xfb21f3=_0x434113['m1Prime'];}_0x4f56fa[_0x4340f2(0x33f)]({'undoCache':_0x111a3e,'redoCache':_0x548bf7});}[_0x2fa915(0x442)](_0x5db01e){const _0x18d818=_0x2fa915,{unitID:_0x23f9ad}=_0x5db01e,_0x12cbd9=this[_0x18d818(0x476)]['getRenderById'](_0x23f9ad)[_0x18d818(0x492)](_0x28eee7[_0x18d818(0x5b4)]),_0x305905=_0x12cbd9[_0x18d818(0x40b)]();if(_0x305905==null)return;const _0x2eefa6=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5db01e[_0x18d818(0x2d1)],'actions':null,'textRanges':[_0x305905]}}],_0x63d192=this[_0x18d818(0x493)][_0x18d818(0x439)](_0x5db01e,_0x2eefa6);if(!_0x215e4a[_0x18d818(0x539)](_0x63d192))throw _0x63d192[_0x18d818(0x3a9)];const _0x201405=_0x63d192[_0x18d818(0x239)][0x0]['params'][_0x18d818(0x1a8)];Array[_0x18d818(0x330)](_0x201405)&&_0x201405[_0x18d818(0x4d9)]&&_0x12cbd9[_0x18d818(0x27a)](_0x201405[0x0]);}};_0xf435ee=_0x479be4([_0x363057(0x0,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x363057(0x1,_0x215e4a[_0x2fa915(0x34d)]),_0x363057(0x2,_0x25d31a[_0x2fa915(0x372)])],_0xf435ee);var _0x3d5c13=Object['defineProperty'],_0x1a29ee=Object['getOwnPropertyDescriptor'],_0x2b5316=(_0x356f24,_0x309a8b,_0x7ac1fc,_0x493c66)=>{const _0x35c985=_0x2fa915;for(var _0x3ef47d=_0x493c66>0x1?void 0x0:_0x493c66?_0x1a29ee(_0x309a8b,_0x7ac1fc):_0x309a8b,_0x52d9b2=_0x356f24[_0x35c985(0x4d9)]-0x1,_0x41bc04;_0x52d9b2>=0x0;_0x52d9b2--)(_0x41bc04=_0x356f24[_0x52d9b2])&&(_0x3ef47d=(_0x493c66?_0x41bc04(_0x309a8b,_0x7ac1fc,_0x3ef47d):_0x41bc04(_0x3ef47d))||_0x3ef47d);return _0x493c66&&_0x3ef47d&&_0x3d5c13(_0x309a8b,_0x7ac1fc,_0x3ef47d),_0x3ef47d;},_0x431831=(_0x378816,_0x5202bb)=>(_0xe257ff,_0x35dde3)=>_0x5202bb(_0xe257ff,_0x35dde3,_0x378816);_0x539c7e['LocalCacheService']=class extends _0x4587e1[_0x2fa915(0x552)]{constructor(_0x3ad1fc,_0x5c9489,_0x341f26,_0x250427,_0xa40bdb){const _0x1b29f6=_0x2fa915;super(),_0x339ceb(this,'_cachedData',new Map()),_0x339ceb(this,_0x1b29f6(0x638),new Map()),_0x339ceb(this,_0x1b29f6(0x174),!0x1),(this[_0x1b29f6(0x4e4)]=_0x3ad1fc,this[_0x1b29f6(0x44b)]=_0x5c9489,this[_0x1b29f6(0x28d)]=_0x341f26,this[_0x1b29f6(0x497)]=_0x250427,this['_revisionService']=_0xa40bdb,this[_0x1b29f6(0x289)]());}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x2fa915(0x3bb)](){const _0x23d758=_0x2fa915;this[_0x23d758(0x174)]=!0x1;}[_0x2fa915(0x3ea)](){const _0x2549c=_0x2fa915;this[_0x2549c(0x2a9)]()[_0x2549c(0x20e)](()=>super['dispose']());}async['loadOfflineData'](_0x55a30e){const _0x8da5b6=_0x2fa915;return this[_0x8da5b6(0x174)]?null:this[_0x8da5b6(0x44b)]['getItem'](_0x446c6b(_0x55a30e));}async['saveOfflineData'](_0x57940c,_0x4b1786){const _0x1036a2=_0x2fa915;return!!this[_0x1036a2(0x44b)][_0x1036a2(0x5ea)](_0x57940c,_0x4b1786);}['updateOfflineData'](_0x483a7b,_0x2f5ceb,_0x3f7a81,_0x2f8ff9){const _0x5d7421=_0x2fa915,_0x41b14f=this[_0x5d7421(0x24d)][_0x5d7421(0x592)](_0x483a7b);this[_0x5d7421(0x1ff)][_0x5d7421(0x498)](_0x483a7b,{'unitID':_0x483a7b,'type':_0x2f5ceb,'awaitingChangeset':_0x3f7a81,'mutations':_0x2f8ff9,'rev':_0x41b14f}),this['_saveTaskMap'][_0x5d7421(0x364)](_0x483a7b)||this[_0x5d7421(0x54d)](_0x483a7b);}['_scheduleSaving'](_0x5057c9){const _0x9a17b9=_0x2fa915,_0x1873ab=this[_0x9a17b9(0x3c9)]();_0x1873ab===0x0?this[_0x9a17b9(0x1f2)](_0x5057c9):this[_0x9a17b9(0x638)][_0x9a17b9(0x498)](_0x5057c9,setTimeout(()=>this[_0x9a17b9(0x1f2)](_0x5057c9),_0x1873ab));}[_0x2fa915(0x3c9)](){const _0xa52d2c=_0x2fa915;var _0x364a9;return(_0x364a9=this[_0xa52d2c(0x4e4)][_0xa52d2c(0x185)](_0x4c60f6))!=null?_0x364a9:0x3e8;}[_0x2fa915(0x1f2)](_0x292dd4){const _0x32a2c5=_0x2fa915,_0x3dce40=this[_0x32a2c5(0x638)][_0x32a2c5(0x4a0)](_0x292dd4);return _0x3dce40!==void 0x0&&window[_0x32a2c5(0x622)](_0x3dce40),this[_0x32a2c5(0x44b)][_0x32a2c5(0x5ea)](_0x446c6b(_0x292dd4),this['_cachedData']['get'](_0x292dd4))['then'](()=>this[_0x32a2c5(0x638)][_0x32a2c5(0x4e2)](_0x292dd4));}async[_0x2fa915(0x2a9)](){const _0x49885e=_0x2fa915,_0x5a1bd8=[];this[_0x49885e(0x638)][_0x49885e(0x34b)]((_0x31c742,_0x13e017)=>{const _0x2b6e38=_0x49885e;window[_0x2b6e38(0x622)](_0x31c742),_0x5a1bd8[_0x2b6e38(0x367)](this[_0x2b6e38(0x1f2)](_0x13e017)[_0x2b6e38(0x20e)](()=>{const _0x29fd76=_0x2b6e38;this[_0x29fd76(0x638)][_0x29fd76(0x4e2)](_0x13e017);}));}),await Promise['all'](_0x5a1bd8);}[_0x2fa915(0x289)](){const _0x10eb49=_0x2fa915;this[_0x10eb49(0x211)](this['_beforeCloseService'][_0x10eb49(0x19d)](()=>{const _0x523156=_0x10eb49;if(this[_0x523156(0x638)][_0x523156(0x18b)])return this[_0x523156(0x497)]['t'](_0x523156(0x2fe));}));}},_0x539c7e['LocalCacheService']=_0x2b5316([_0x431831(0x0,_0x4587e1['IConfigService']),_0x431831(0x1,_0x4587e1[_0x2fa915(0x2ff)]),_0x431831(0x2,_0x3163bd[_0x2fa915(0x2d0)]),_0x431831(0x3,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1['LocaleService'])),_0x431831(0x4,_0x4587e1['Inject'](_0x215e4a[_0x2fa915(0x518)]))],_0x539c7e[_0x2fa915(0x408)]);function _0x446c6b(_0x4dae1e){const _0x3236d5=_0x2fa915;return _0x3236d5(0x254)+_0x4dae1e;}var _0x4f7137=Object[_0x2fa915(0x44e)],_0x32e7e4=Object[_0x2fa915(0x569)],_0x23a35e=(_0xb8913e,_0x4a5a40,_0x328be5,_0x5c06c9)=>{const _0xfe0d4d=_0x2fa915;for(var _0xd4efcb=_0x5c06c9>0x1?void 0x0:_0x5c06c9?_0x32e7e4(_0x4a5a40,_0x328be5):_0x4a5a40,_0x303d4c=_0xb8913e[_0xfe0d4d(0x4d9)]-0x1,_0x1e28ad;_0x303d4c>=0x0;_0x303d4c--)(_0x1e28ad=_0xb8913e[_0x303d4c])&&(_0xd4efcb=(_0x5c06c9?_0x1e28ad(_0x4a5a40,_0x328be5,_0xd4efcb):_0x1e28ad(_0xd4efcb))||_0xd4efcb);return _0x5c06c9&&_0xd4efcb&&_0x4f7137(_0x4a5a40,_0x328be5,_0xd4efcb),_0xd4efcb;},_0x292f32=(_0x171511,_0x149433)=>(_0x3551ee,_0x3116a0)=>_0x149433(_0x3551ee,_0x3116a0,_0x171511);function _0x4e14fd(_0x1f4703){const _0x4db9d5=_0x2fa915,{unitID:_0x323203,mutations:_0x3f9c27}=_0x1f4703;return{'unitId':_0x323203,'subUnitId':_0x3f9c27[0x0][_0x4db9d5(0x548)]['subUnitId']};}let _0x2a0fa4=class{constructor(_0x51d67f,_0x4e7b65,_0x4a92c8){const _0x40d49e=_0x2fa915;this['_injector']=_0x51d67f,this['_transformService']=_0x4e7b65,this[_0x40d49e(0x43b)]=_0x4a92c8;}['transformSelections'](_0x48a258){const _0x1b9a0c=_0x2fa915;var _0x8b872c,_0x1bf20e,_0x573a8d,_0xcf19f9;const _0xaefc0f=this['_injector'][_0x1b9a0c(0x4a0)](_0x27d820[_0x1b9a0c(0x201)]),{unitId:_0x4de7b2,subUnitId:_0x93bd0d}=_0x4e14fd(_0x48a258),_0x681a37=_0xaefc0f[_0x1b9a0c(0x223)](_0x4de7b2)[_0x1b9a0c(0x272)](),_0xd2d980=(_0x1bf20e=(_0x8b872c=this[_0x1b9a0c(0x43b)]['getUnit'](_0x4de7b2))==null?void 0x0:_0x8b872c[_0x1b9a0c(0x5ee)]())==null?void 0x0:_0x1bf20e[_0x1b9a0c(0x2f7)]();if(_0x681a37[_0x1b9a0c(0x4d9)]===0x0||!_0x4de7b2||!_0x93bd0d)return;const _0x259bfc=[{'id':_0x27d820[_0x1b9a0c(0x171)]['id'],'params':{'unitId':_0x4de7b2,'subUnitId':_0xd2d980,'selections':_0x4587e1[_0x1b9a0c(0x5f7)][_0x1b9a0c(0x3f4)](_0x681a37)}}],_0x20db32=this['_transformService'][_0x1b9a0c(0x439)](_0x48a258,_0x259bfc);if(!_0x215e4a[_0x1b9a0c(0x539)](_0x20db32))throw _0x20db32['error'];const _0x35e634=(_0xcf19f9=(_0x573a8d=_0x20db32[_0x1b9a0c(0x239)][0x0])==null?void 0x0:_0x573a8d[_0x1b9a0c(0x548)])==null?void 0x0:_0xcf19f9[_0x1b9a0c(0x2bd)];if(Array[_0x1b9a0c(0x330)](_0x35e634)&&_0x35e634[_0x1b9a0c(0x4d9)]){if(_0x35e634[_0x1b9a0c(0x4d9)]===_0x259bfc[0x0]['params'][_0x1b9a0c(0x2bd)][_0x1b9a0c(0x4d9)]&&_0x35e634['every']((_0x289819,_0x1a64f4)=>_0x4587e1[_0x1b9a0c(0x563)][_0x1b9a0c(0x346)](_0x289819[_0x1b9a0c(0x307)],_0x259bfc[0x0]['params'][_0x1b9a0c(0x2bd)][_0x1a64f4]['range'])))return;this[_0x1b9a0c(0x60e)][_0x1b9a0c(0x4a0)](_0x4587e1[_0x1b9a0c(0x60b)])[_0x1b9a0c(0x3c6)](_0x27d820[_0x1b9a0c(0x171)]['id'],{'unitId':_0x4de7b2,'subUnitId':_0xd2d980,'selections':_0x35e634});}}};_0x2a0fa4=_0x23a35e([_0x292f32(0x0,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x292f32(0x1,_0x215e4a['ITransformService']),_0x292f32(0x2,_0x4587e1[_0x2fa915(0x53b)])],_0x2a0fa4);const _0x426f76=_0x4587e1[_0x2fa915(0x22c)]('univer-pro.collaboration-client.single-active-unit-service');var _0x3ce0bf=(_0x58d627=>(_0x58d627[_0x58d627['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x2fa915(0x51b),_0x58d627[_0x58d627[_0x2fa915(0x3e1)]=0x1]=_0x2fa915(0x3e1),_0x58d627))(_0x3ce0bf||{});const _0x4a802e=0x7530,_0x2b0805=_0x2fa915(0x191);class _0x707295 extends _0x4587e1[_0x2fa915(0x552)]{constructor(){const _0x5ae2a9=_0x2fa915;super(),_0x339ceb(this,_0x5ae2a9(0x2d9),_0x4587e1[_0x5ae2a9(0x5f7)][_0x5ae2a9(0x334)]()),_0x339ceb(this,_0x5ae2a9(0x50d),new Set()),_0x339ceb(this,_0x5ae2a9(0x603),new Map()),_0x339ceb(this,'_heartbeatTimer',null),_0x339ceb(this,_0x5ae2a9(0x320),new Map()),_0x339ceb(this,_0x5ae2a9(0x46d),new Map()),this[_0x5ae2a9(0x16f)]();}['dispose'](){const _0x5623ff=_0x2fa915;super['dispose'](),this['_clearOtherTimers']['forEach']((_0x12ed2b,_0x4de2f9)=>this['_removeClearOtherTimer'](_0x4de2f9)),this[_0x5623ff(0x4f2)]&&window['clearInterval'](this[_0x5623ff(0x4f2)]);}[_0x2fa915(0x4ea)](_0x48c88b){const _0x3cb988=_0x2fa915;return this[_0x3cb988(0x322)](_0x48c88b)['pipe'](_0x3eec93[_0x3cb988(0x30d)]());}[_0x2fa915(0x316)](_0x1a59eb){const _0x49bba=_0x2fa915;this[_0x49bba(0x50d)][_0x49bba(0x18b)]===0x0&&this[_0x49bba(0x561)](),this[_0x49bba(0x50d)][_0x49bba(0x1db)](_0x1a59eb),this[_0x49bba(0x235)]({'type':0x0,'memberID':this[_0x49bba(0x2d9)],'unitIDs':[_0x1a59eb],'isForwarded':!0x1});}[_0x2fa915(0x47e)](_0xf8e175){const _0x10e693=_0x2fa915;this['_selfUnitIDs'][_0x10e693(0x4e2)](_0xf8e175),this[_0x10e693(0x50d)][_0x10e693(0x18b)]===0x0&&this['_heartbeatTimer']&&window[_0x10e693(0x4ae)](this['_heartbeatTimer']);}['_init'](){const _0x3b4b8f=_0x2fa915;this['disposeWithMe'](_0x4587e1[_0x3b4b8f(0x2a6)](_0x3eec93[_0x3b4b8f(0x639)](window,_0x3b4b8f(0x530))[_0x3b4b8f(0x447)](_0x3dcf9a=>{const _0x5f0003=_0x3b4b8f;if(_0x3dcf9a[_0x5f0003(0x391)]!==_0x2b0805||!_0x3dcf9a[_0x5f0003(0x2cc)])return;const _0x4d88cd=JSON[_0x5f0003(0x3bf)](_0x3dcf9a['newValue']);this[_0x5f0003(0x529)](_0x4d88cd);}))),window[_0x3b4b8f(0x4fa)]('unload',()=>this[_0x3b4b8f(0x235)]({'type':0x1,'memberID':this[_0x3b4b8f(0x2d9)],'unitIDs':Array[_0x3b4b8f(0x3e0)](this[_0x3b4b8f(0x50d)])}));}[_0x2fa915(0x529)](_0x528bf6){const _0x16e663=_0x2fa915;switch(_0x528bf6[_0x16e663(0x178)]){case 0x0:this[_0x16e663(0x520)](_0x528bf6);break;case 0x1:this[_0x16e663(0x546)](_0x528bf6);break;case 0x2:this['_handleHeartbeatEvent'](_0x528bf6);break;}}['_handleJoinEvent'](_0x5cb46a){const _0x17b744=_0x2fa915,{unitIDs:_0x2c2393,memberID:_0x371c9f,isForwarded:_0x401576}=_0x5cb46a;_0x2c2393[_0x17b744(0x34b)](_0x5dd5a8=>{const _0x30f319=_0x17b744;if(!_0x401576&&this[_0x30f319(0x603)][_0x30f319(0x364)](_0x5dd5a8)&&this[_0x30f319(0x322)](_0x5dd5a8)['next'](0x1),!this[_0x30f319(0x603)][_0x30f319(0x364)](_0x5dd5a8)||!this[_0x30f319(0x603)][_0x30f319(0x4a0)](_0x5dd5a8)[_0x30f319(0x364)](_0x371c9f)){const _0x355809=this['_unitOnClients'][_0x30f319(0x4a0)](_0x5dd5a8)||new Set();_0x355809[_0x30f319(0x1db)](_0x371c9f),this[_0x30f319(0x603)]['set'](_0x5dd5a8,_0x355809),this['_scheduleClearOtherTimer'](_0x371c9f);}}),_0x401576||this[_0x17b744(0x235)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x17b744(0x50d)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x107076){const _0x3168cc=_0x2fa915;this[_0x3168cc(0x20b)](_0x107076);const _0x58cb4c=window[_0x3168cc(0x5fa)](()=>{const _0x5f185f=_0x3168cc;this[_0x5f185f(0x603)][_0x5f185f(0x34b)](_0x3e5e34=>{const _0x249865=_0x5f185f;_0x3e5e34[_0x249865(0x4e2)](_0x107076);});},_0x4a802e*0x2);this['_clearOtherTimers'][_0x3168cc(0x498)](_0x107076,_0x58cb4c);}[_0x2fa915(0x20b)](_0x53a627){const _0x29f4c8=_0x2fa915;if(this[_0x29f4c8(0x320)][_0x29f4c8(0x364)](_0x53a627)){const _0x444b9e=this['_clearOtherTimers'][_0x29f4c8(0x4a0)](_0x53a627);_0x444b9e&&window[_0x29f4c8(0x622)](_0x444b9e),this[_0x29f4c8(0x320)][_0x29f4c8(0x498)](_0x53a627,null);}}['_handleLeaveEvent'](_0x43f253){const _0x7e0c83=_0x2fa915,{memberID:_0x5dcb43,unitIDs:_0x2f7d96}=_0x43f253;_0x2f7d96['forEach'](_0x245308=>{const _0x1c8d17=_0x5275;var _0x32489e;const _0x343902=this[_0x1c8d17(0x603)][_0x1c8d17(0x4a0)](_0x245308);_0x343902&&(_0x343902[_0x1c8d17(0x4e2)](_0x5dcb43),(_0x32489e=this['_ensureSubject'](_0x245308))==null||_0x32489e[_0x1c8d17(0x1c9)](_0x343902[_0x1c8d17(0x18b)]===0x0?0x0:0x1));}),this[_0x7e0c83(0x20b)](_0x5dcb43);}[_0x2fa915(0x631)](_0x1a40c2){const _0x44f4a7=_0x2fa915;this[_0x44f4a7(0x3b4)](_0x1a40c2[_0x44f4a7(0x59f)]);}['_send'](_0x6426b7){const _0x3c4c1a=_0x2fa915;localStorage[_0x3c4c1a(0x5ea)](_0x2b0805,JSON['stringify'](_0x6426b7));}[_0x2fa915(0x561)](){const _0x952ba4=_0x2fa915;this['_heartbeatTimer']=window[_0x952ba4(0x1ed)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x4a802e);}[_0x2fa915(0x322)](_0x2b4a77){const _0x257509=_0x2fa915;return this[_0x257509(0x46d)][_0x257509(0x364)](_0x2b4a77)||this['_unitStatus'][_0x257509(0x498)](_0x2b4a77,new _0x3eec93[(_0x257509(0x29b))](0x0)),this[_0x257509(0x46d)][_0x257509(0x4a0)](_0x2b4a77);}}var _0x57b38a=Object['defineProperty'],_0x8935b8=Object[_0x2fa915(0x569)],_0x3172eb=(_0x375cab,_0x54d26c,_0x4868ef,_0x3dc6e0)=>{const _0x2dcbe4=_0x2fa915;for(var _0x7cb39a=_0x3dc6e0>0x1?void 0x0:_0x3dc6e0?_0x8935b8(_0x54d26c,_0x4868ef):_0x54d26c,_0x30ed57=_0x375cab[_0x2dcbe4(0x4d9)]-0x1,_0x2585e8;_0x30ed57>=0x0;_0x30ed57--)(_0x2585e8=_0x375cab[_0x30ed57])&&(_0x7cb39a=(_0x3dc6e0?_0x2585e8(_0x54d26c,_0x4868ef,_0x7cb39a):_0x2585e8(_0x7cb39a))||_0x7cb39a);return _0x3dc6e0&&_0x7cb39a&&_0x57b38a(_0x54d26c,_0x4868ef,_0x7cb39a),_0x7cb39a;},_0x798b02=(_0x33ae65,_0x47558f)=>(_0x1f1cce,_0x477d0d)=>_0x47558f(_0x1f1cce,_0x477d0d,_0x33ae65);let _0x952708=class{constructor(_0x1c2e4d,_0x2e0bac,_0x497d28){const _0x271845=_0x2fa915;this[_0x271845(0x60e)]=_0x1c2e4d,this[_0x271845(0x493)]=_0x2e0bac,this['_docStateChangeManagerService']=_0x497d28;}[_0x2fa915(0x52a)](_0x2ac5fe){this['_transformHistoryAndStateStack'](_0x2ac5fe);}[_0x2fa915(0x543)](_0x20747d){const _0x55003b=_0x2fa915,{unitID:_0x1a18dc}=_0x20747d,{collaboration:_0x309a0a}=this[_0x55003b(0x16d)][_0x55003b(0x19c)](_0x1a18dc);if(_0x309a0a[_0x55003b(0x4d9)]===0x0)return _0x20747d;let _0x58339f=_0x4587e1['Tools'][_0x55003b(0x3f4)](_0x20747d[_0x55003b(0x4d3)][0x0]);for(let _0x175418=0x0;_0x175418<_0x309a0a['length'];_0x175418++){const _0x1314e0={'id':_0x55003b(0x50a),'params':{'unitId':_0x309a0a[_0x175418][_0x55003b(0x4f8)],..._0x309a0a[_0x175418]['redoState']}},_0x3e9087=this[_0x55003b(0x493)][_0x55003b(0x2cb)](_0x58339f,_0x1314e0,!0x1);if(_0x215e4a[_0x55003b(0x3de)](_0x3e9087))throw _0x3e9087[_0x55003b(0x3a9)];_0x58339f=_0x3e9087['m1Prime'];}return{..._0x4587e1[_0x55003b(0x5f7)]['deepClone'](_0x20747d),'mutations':[_0x58339f]};}['_transformHistoryAndStateStack'](_0x3a7166){const _0xd1237e=_0x2fa915,{unitID:_0x12e665}=_0x3a7166,{history:_0x1bd033,collaboration:_0x3bf0b2}=this[_0xd1237e(0x16d)][_0xd1237e(0x19c)](_0x12e665);if(_0x1bd033[_0xd1237e(0x4d9)]===0x0&&_0x3bf0b2[_0xd1237e(0x4d9)]===0x0)return;const _0x551cd2=[],_0x32bfff=[];let _0x1648c4=_0x4587e1[_0xd1237e(0x5f7)]['deepClone'](_0x3a7166[_0xd1237e(0x4d3)][0x0]),_0x27cd55=_0x4587e1['Tools'][_0xd1237e(0x3f4)](_0x3a7166['mutations'][0x0]);for(let _0x378f08=_0x1bd033[_0xd1237e(0x4d9)]-0x1;_0x378f08>=0x0;_0x378f08--){const _0x3c3eb0={'id':_0xd1237e(0x50a),'params':{'unitId':_0x1bd033[_0x378f08][_0xd1237e(0x4f8)],..._0x1bd033[_0x378f08][_0xd1237e(0x41e)]}},_0x5b2b2d={'id':_0xd1237e(0x50a),'params':{'unitId':_0x1bd033[_0x378f08][_0xd1237e(0x4f8)],..._0x1bd033[_0x378f08][_0xd1237e(0x410)]}},_0x33369e=this[_0xd1237e(0x493)][_0xd1237e(0x2cb)](_0x1648c4,_0x3c3eb0,!0x1),_0x1efc5d=this['_transformService'][_0xd1237e(0x2cb)](_0x27cd55,_0x5b2b2d,!0x1);if(_0x215e4a[_0xd1237e(0x3de)](_0x33369e))throw _0x33369e[_0xd1237e(0x3a9)];if(_0x215e4a[_0xd1237e(0x3de)](_0x1efc5d))throw _0x1efc5d['error'];_0x551cd2[_0xd1237e(0x2a1)]({..._0x1bd033[_0x378f08],'undoState':_0x33369e[_0xd1237e(0x239)]['params'],'redoState':_0x1efc5d[_0xd1237e(0x239)][_0xd1237e(0x548)]}),_0x1648c4=_0x33369e[_0xd1237e(0x50c)],_0x27cd55=_0x1efc5d['m1Prime'];}_0x1648c4=_0x4587e1[_0xd1237e(0x5f7)][_0xd1237e(0x3f4)](_0x3a7166[_0xd1237e(0x4d3)][0x0]),_0x27cd55=_0x4587e1[_0xd1237e(0x5f7)]['deepClone'](_0x3a7166['mutations'][0x0]);for(let _0x3fe4d6=_0x3bf0b2[_0xd1237e(0x4d9)]-0x1;_0x3fe4d6>=0x0;_0x3fe4d6--){const _0x8cc4f5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3bf0b2[_0x3fe4d6]['unitId'],..._0x3bf0b2[_0x3fe4d6]['undoState']}},_0x3a2a65={'id':_0xd1237e(0x50a),'params':{'unitId':_0x3bf0b2[_0x3fe4d6][_0xd1237e(0x4f8)],..._0x3bf0b2[_0x3fe4d6][_0xd1237e(0x410)]}},_0x276ba6=this[_0xd1237e(0x493)]['transformMutation'](_0x1648c4,_0x8cc4f5,!0x1),_0x4b6655=this[_0xd1237e(0x493)][_0xd1237e(0x2cb)](_0x27cd55,_0x3a2a65,!0x1);if(_0x215e4a['isTransformMutationFailure'](_0x276ba6))throw _0x276ba6[_0xd1237e(0x3a9)];if(_0x215e4a[_0xd1237e(0x3de)](_0x4b6655))throw _0x4b6655[_0xd1237e(0x3a9)];_0x32bfff['unshift']({..._0x3bf0b2[_0x3fe4d6],'undoState':_0x276ba6[_0xd1237e(0x239)][_0xd1237e(0x548)],'redoState':_0x4b6655[_0xd1237e(0x239)][_0xd1237e(0x548)]}),_0x1648c4=_0x276ba6['m1Prime'],_0x27cd55=_0x4b6655[_0xd1237e(0x50c)];}this[_0xd1237e(0x16d)][_0xd1237e(0x5dc)](_0x12e665,{'history':_0x551cd2,'collaboration':_0x32bfff});}};_0x952708=_0x3172eb([_0x798b02(0x0,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x798b02(0x1,_0x215e4a['ITransformService']),_0x798b02(0x2,_0x4587e1[_0x2fa915(0x42b)](_0x28eee7[_0x2fa915(0x1c7)]))],_0x952708);function _0xfb0b4(_0x146e7d){const _0x3cb512=_0x2fa915;let _0x1db032='';for(const _0x329383 of _0x146e7d){const {startOffset:_0x472699,endOffset:_0x4d1f51,isActive:_0x48e76d,rangeType:_0x31e7fe,segmentId:_0xa31df5,segmentPage:_0x2ae851}=_0x329383;_0x1db032[_0x3cb512(0x4d9)]&&(_0x1db032+=','),_0x1db032+=_0x472699+':'+_0x4d1f51+':'+(_0x48e76d?'1':'0')+':'+_0x31e7fe+':'+_0xa31df5+':'+_0x2ae851;}return _0x1db032;}function _0x4169a4(_0x12095f){const _0x4ca167=_0x2fa915,_0x2fd588=_0x12095f[_0x4ca167(0x491)](','),_0x43ac68=[];for(const _0x4ff85e of _0x2fd588){const [_0xfbae6d,_0x5df9f3,_0x3c1918,_0x3e5aac,_0x2bd35b,_0x187a62]=_0x4ff85e[_0x4ca167(0x491)](':');_0x43ac68[_0x4ca167(0x367)]({'startOffset':Number(_0xfbae6d),'endOffset':Number(_0x5df9f3),'collapsed':_0xfbae6d===_0x5df9f3,'isActive':_0x3c1918==='1','rangeType':_0x3e5aac===_0x4587e1[_0x4ca167(0x383)]['TEXT']?_0x4587e1[_0x4ca167(0x383)][_0x4ca167(0x3df)]:_0x4587e1[_0x4ca167(0x383)][_0x4ca167(0x4a1)],'segmentId':typeof _0x2bd35b==_0x4ca167(0x241)?String(_0x2bd35b):'','segmentPage':Number(_0x187a62!=null?_0x187a62:-0x1)});}return _0x43ac68[_0x4ca167(0x16e)](_0x308b7f=>_0x308b7f[_0x4ca167(0x1c2)])||(_0x43ac68[0x0][_0x4ca167(0x1c2)]=!0x0),_0x43ac68;}class _0x54132e extends _0x4587e1[_0x2fa915(0x5b2)]{constructor(){const _0x43a5de=_0x2fa915;super(...arguments),_0x339ceb(this,'_collabCursorState$',new _0x3eec93[(_0x43a5de(0x29b))](null)),_0x339ceb(this,'collabCursorState$',this[_0x43a5de(0x32f)][_0x43a5de(0x630)]());}[_0x2fa915(0x475)](_0x5980e2){const {unitID:_0xd2d23c,memberID:_0x207342,textRanges:_0x21b9ad}=_0x5980e2,_0x13a91c=_0xfb0b4(_0x21b9ad);if(_0x13a91c==='')return;const _0x51b848={'unitID':_0xd2d23c,'memberID':_0x207342,'selection':_0x13a91c};this['_collabCursorState$']['next'](_0x51b848);}}var _0xe8ec2e=Object[_0x2fa915(0x44e)],_0x30a35b=Object['getOwnPropertyDescriptor'],_0x28246d=(_0x2428a7,_0x1a8ee0,_0x17ccd4,_0x2bcec2)=>{const _0x86c1f5=_0x2fa915;for(var _0x47d08f=_0x2bcec2>0x1?void 0x0:_0x2bcec2?_0x30a35b(_0x1a8ee0,_0x17ccd4):_0x1a8ee0,_0x3ef7f2=_0x2428a7[_0x86c1f5(0x4d9)]-0x1,_0x15f69f;_0x3ef7f2>=0x0;_0x3ef7f2--)(_0x15f69f=_0x2428a7[_0x3ef7f2])&&(_0x47d08f=(_0x2bcec2?_0x15f69f(_0x1a8ee0,_0x17ccd4,_0x47d08f):_0x15f69f(_0x47d08f))||_0x47d08f);return _0x2bcec2&&_0x47d08f&&_0xe8ec2e(_0x1a8ee0,_0x17ccd4,_0x47d08f),_0x47d08f;},_0x3fddb8=(_0x3e0fea,_0x2a3059)=>(_0x4f0f4b,_0x495161)=>_0x2a3059(_0x4f0f4b,_0x495161,_0x3e0fea);let _0x2e0132=class{constructor(_0x2621dc,_0x2af065){const _0x1d859c=_0x2fa915;this[_0x1d859c(0x60e)]=_0x2621dc,this[_0x1d859c(0x493)]=_0x2af065;}['transformSelections'](_0x1ca779){const _0x27338b=_0x2fa915;var _0x2d299a;const _0x2b6790=this['_injector'][_0x27338b(0x4a0)](_0x4844e7[_0x27338b(0x2f2)]),_0x11a2d4=(_0x2d299a=_0x2b6790['getDocRanges']())!=null?_0x2d299a:[];if(_0x11a2d4[_0x27338b(0x4d9)]===0x0)return;const _0x3996a7=_0x1ca779[_0x27338b(0x2d1)],_0x57c70a=[{'id':_0x27338b(0x50a),'params':{'unitId':_0x3996a7,'actions':null,'textRanges':_0x11a2d4}}],_0x366acb=this[_0x27338b(0x493)][_0x27338b(0x439)](_0x1ca779,_0x57c70a);if(!_0x215e4a[_0x27338b(0x539)](_0x366acb))throw _0x366acb[_0x27338b(0x3a9)];const _0x5172d2=_0x366acb[_0x27338b(0x239)][0x0]['params'][_0x27338b(0x1a8)];Array[_0x27338b(0x330)](_0x5172d2)&&_0x5172d2[_0x27338b(0x4d9)]&&_0x2b6790[_0x27338b(0x2a4)](_0x5172d2,{'unitId':_0x3996a7,'subUnitId':_0x3996a7},!0x1);}};_0x2e0132=_0x28246d([_0x3fddb8(0x0,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x3fddb8(0x1,_0x215e4a[_0x2fa915(0x34d)])],_0x2e0132);const _0x49a596=new Set([_0x27d820[_0x2fa915(0x58f)]['id']]);function _0x146bdf(_0x3cabf1,_0x3cb84c,_0x4a22f2,_0x52f2cb,_0x19e05b){const _0x366ebb=_0x2fa915;var _0x548f8e,_0x12dd98,_0x2c2ec7,_0x511cd6;const _0x1e1996=[];for(const _0x12032c of _0x3cabf1)if(_0x49a596[_0x366ebb(0x364)](_0x12032c['id'])){if(_0x1e1996[_0x366ebb(0x4d9)]>0x0)break;_0x1e1996[_0x366ebb(0x367)](_0x12032c);break;}else _0x1e1996[_0x366ebb(0x367)](_0x12032c);const _0x1da2a6=(_0x12dd98=(_0x548f8e=_0x19e05b[_0x366ebb(0x23d)]())==null?void 0x0:_0x548f8e['userID'])!=null?_0x12dd98:_0x366ebb(0x3c3),_0x106c92=(_0x511cd6=(_0x2c2ec7=_0x19e05b[_0x366ebb(0x23d)]())==null?void 0x0:_0x2c2ec7[_0x366ebb(0x59f)])!=null?_0x511cd6:_0x366ebb(0x3c3);return{'changeset':{'unitID':_0x3cb84c,'type':_0x215e4a[_0x366ebb(0x1e3)](_0x4a22f2['getUnitType'](_0x3cb84c)),'baseRev':_0x52f2cb['getCurrentRevOfUnit'](_0x3cb84c),'revision':0x0,'userID':_0x1da2a6,'memberID':_0x106c92,'mutations':_0x1e1996},'pendingMutations':_0x3cabf1[_0x366ebb(0x57d)](_0x1e1996[_0x366ebb(0x4d9)])};}function _0x18e44b(_0x52e639,_0x549ed6,_0xcd841,_0x578b9f,_0x36270c){const _0x1daa81=_0x2fa915;var _0xb911e6,_0x30cc00,_0x1f225d,_0x566ee8;const _0x1a936d=[_0x52e639[_0x1daa81(0x4f7)]((_0x5eee96,_0x127cea)=>{const _0x39afb7=_0x1daa81;var _0x4f4d2f;const {id:_0x4eb425}=_0x5eee96,{id:_0x51c8bf,type:_0x5cff48}=_0x127cea,_0xa40033=(_0x4f4d2f=_0x5eee96[_0x39afb7(0x548)])!=null?_0x4f4d2f:{'actions':null},_0x40a7e7=_0x127cea[_0x39afb7(0x548)];if(_0x4eb425&&_0x4eb425!==_0x51c8bf)throw new Error(_0x39afb7(0x4a7)+_0x4eb425+_0x39afb7(0x290)+_0x51c8bf+'.');return{..._0x5eee96,'id':_0x51c8bf,'type':_0x5cff48,'params':{'unitId':_0x40a7e7[_0x39afb7(0x4f8)],'textRanges':_0x40a7e7['textRanges'],'actions':_0x4587e1[_0x39afb7(0x26b)][_0x39afb7(0x60a)](_0xa40033[_0x39afb7(0x515)],_0x40a7e7[_0x39afb7(0x515)])}};},{})],_0x2d3a72=(_0x30cc00=(_0xb911e6=_0x36270c[_0x1daa81(0x23d)]())==null?void 0x0:_0xb911e6[_0x1daa81(0x215)])!=null?_0x30cc00:_0x1daa81(0x3c3),_0x111d87=(_0x566ee8=(_0x1f225d=_0x36270c[_0x1daa81(0x23d)]())==null?void 0x0:_0x1f225d['memberID'])!=null?_0x566ee8:'unknown';return{'changeset':{'unitID':_0x549ed6,'type':_0x215e4a[_0x1daa81(0x1e3)](_0xcd841['getUnitType'](_0x549ed6)),'baseRev':_0x578b9f[_0x1daa81(0x592)](_0x549ed6),'revision':0x0,'userID':_0x2d3a72,'memberID':_0x111d87,'mutations':_0x1a936d},'pendingMutations':[]};}function _0x1128e0(_0x2b61e5,_0x36e197){const _0x16f821=_0x2fa915,_0x4d767e=new _0x3eec93['ReplaySubject'](0x1);return setTimeout(()=>_0x4d767e[_0x16f821(0x1c9)](_0x36e197),_0x2b61e5),_0x4d767e[_0x16f821(0x630)]()[_0x16f821(0x276)](_0x3eec93['take'](0x1));}const _0x1cf697={'id':_0x27d820[_0x2fa915(0x4bd)]['id'],'type':_0x4587e1['CommandType'][_0x2fa915(0x5c9)],'params':{}};var _0x4d9329=Object[_0x2fa915(0x44e)],_0x3d9eeb=Object[_0x2fa915(0x569)],_0x5ce8d8=(_0x38eaf8,_0x4c5cc6,_0x148796,_0x117a31)=>{const _0x409e22=_0x2fa915;for(var _0x5c3143=_0x117a31>0x1?void 0x0:_0x117a31?_0x3d9eeb(_0x4c5cc6,_0x148796):_0x4c5cc6,_0xe0b605=_0x38eaf8[_0x409e22(0x4d9)]-0x1,_0x2170f1;_0xe0b605>=0x0;_0xe0b605--)(_0x2170f1=_0x38eaf8[_0xe0b605])&&(_0x5c3143=(_0x117a31?_0x2170f1(_0x4c5cc6,_0x148796,_0x5c3143):_0x2170f1(_0x5c3143))||_0x5c3143);return _0x117a31&&_0x5c3143&&_0x4d9329(_0x4c5cc6,_0x148796,_0x5c3143),_0x5c3143;},_0x5153ff=(_0x58a6d7,_0x10037f)=>(_0x3c3b76,_0x727776)=>_0x10037f(_0x3c3b76,_0x727776,_0x58a6d7),_0x3b904c=(_0x513f2d=>(_0x513f2d[_0x2fa915(0x5d0)]='not_collab',_0x513f2d[_0x2fa915(0x431)]='synced',_0x513f2d[_0x2fa915(0x177)]=_0x2fa915(0x4fb),_0x513f2d[_0x2fa915(0x3bd)]=_0x2fa915(0x5f3),_0x513f2d[_0x2fa915(0x50b)]=_0x2fa915(0x318),_0x513f2d[_0x2fa915(0x3b5)]='fetch_missing',_0x513f2d[_0x2fa915(0x360)]='conflict',_0x513f2d[_0x2fa915(0x3c4)]=_0x2fa915(0x2e5),_0x513f2d))(_0x3b904c||{});const _0x32517a=0xea60;class _0x3b18d0{constructor(_0x2f2334,_0xe5f945,_0x1d3804,_0x57b47a,_0x1ce9ea,_0x1e71c7,_0x3674fd,_0x287d4d,_0x1d8167){const _0x5540fc=_0x2fa915;_0x339ceb(this,'_awaitingChangeset',null),_0x339ceb(this,_0x5540fc(0x2f4),[]),(this[_0x5540fc(0x2d1)]=_0x2f2334,this[_0x5540fc(0x178)]=_0xe5f945,this[_0x5540fc(0x5d2)]=_0x1ce9ea,this[_0x5540fc(0x1a3)]=_0x1e71c7,this[_0x5540fc(0x217)]=_0x3674fd,this[_0x5540fc(0x24d)]=_0x287d4d,this[_0x5540fc(0x473)]=_0x1d8167,this[_0x5540fc(0x54e)]=_0x1d3804,this['_pendingMutations']=_0x57b47a);}[_0x2fa915(0x3c7)](_0x1d2bd5){const _0x4b557a=_0x2fa915,_0x825920=this[_0x4b557a(0x24d)][_0x4b557a(0x592)](this[_0x4b557a(0x2d1)]);return _0x1d2bd5[_0x4b557a(0x521)]>_0x825920+0x1?(this[_0x4b557a(0x5d2)]['onMissingChangesets']({'from':_0x825920,'to':_0x1d2bd5[_0x4b557a(0x521)]-0x1}),!0x0):!0x1;}[_0x2fa915(0x460)](_0x31a32b){const _0x15aa55=_0x2fa915;this[_0x15aa55(0x217)]['transformUndoRedo'](this[_0x15aa55(0x2d1)],_0x31a32b);}['_transformSelections'](_0x7a7d96){const _0x3cac2=_0x2fa915;var _0x4876d6,_0x1e6b52;(_0x1e6b52=(_0x4876d6=this[_0x3cac2(0x5d2)])[_0x3cac2(0x247)])==null||_0x1e6b52[_0x3cac2(0x246)](_0x4876d6,_0x7a7d96);}[_0x2fa915(0x60f)](_0x2f3ef7){const _0x25d34c=_0x2fa915;var _0x3571fe,_0x3ad734;return(_0x3ad734=(_0x3571fe=this['_handler'])[_0x25d34c(0x3ce)])==null?void 0x0:_0x3ad734['call'](_0x3571fe,_0x2f3ef7);}[_0x2fa915(0x5a0)](_0x1d9874){const _0x5cb025=_0x2fa915;var _0x31e825,_0x4197c6;return(_0x4197c6=(_0x31e825=this[_0x5cb025(0x5d2)])[_0x5cb025(0x314)])==null?void 0x0:_0x4197c6[_0x5cb025(0x246)](_0x31e825,_0x1d9874);}['_transformRemoteChangesetByIMECache'](_0x28597c){const _0x54af87=_0x2fa915;var _0xc2b7cb,_0x2bcaa7,_0x3bd3d6;return(_0x3bd3d6=(_0x2bcaa7=(_0xc2b7cb=this[_0x54af87(0x5d2)])[_0x54af87(0x39b)])==null?void 0x0:_0x2bcaa7[_0x54af87(0x246)](_0xc2b7cb,_0x28597c))!=null?_0x3bd3d6:_0x28597c;}[_0x2fa915(0x4b7)](_0x2e4239){const _0x5ba78b=_0x2fa915;var _0x1dd4ea,_0x499615,_0x495c3d;return(_0x495c3d=(_0x499615=(_0x1dd4ea=this['_handler'])[_0x5ba78b(0x3aa)])==null?void 0x0:_0x499615[_0x5ba78b(0x246)](_0x1dd4ea,_0x2e4239))!=null?_0x495c3d:_0x2e4239;}[_0x2fa915(0x61b)](_0x5af1b6){const _0x472032=_0x2fa915;var _0x3e1ce0,_0x2ae01e;if(this[_0x472032(0x178)]===_0xad4019[_0x472032(0x27b)]){const {unitID:_0x2a649e,mutations:_0x689a8e,memberID:_0x174aaa}=_0x5af1b6,_0x43ce02=_0x689a8e[0x0][_0x472032(0x548)][_0x472032(0x1a8)];Array[_0x472032(0x330)](_0x43ce02)&&_0x43ce02[_0x472032(0x4d9)]>0x0&&((_0x2ae01e=(_0x3e1ce0=this['_handler'])[_0x472032(0x3ae)])==null||_0x2ae01e[_0x472032(0x246)](_0x3e1ce0,{'unitID':_0x2a649e,'memberID':_0x174aaa,'textRanges':_0x43ce02}));}}['_updateLocalCache'](){const _0x5f4781=_0x2fa915;this['_localCacheService'][_0x5f4781(0x25b)](this[_0x5f4781(0x2d1)],this[_0x5f4781(0x178)],this[_0x5f4781(0x54e)],this['_pendingMutations']);}['_getCurrentRevision'](){const _0x53dc21=_0x2fa915;return this[_0x53dc21(0x24d)][_0x53dc21(0x592)](this[_0x53dc21(0x2d1)]);}[_0x2fa915(0x612)](){const _0x4f61d2=_0x2fa915;this[_0x4f61d2(0x24d)][_0x4f61d2(0x24b)](this[_0x4f61d2(0x2d1)]);}[_0x2fa915(0x1ae)](_0x342527){const _0x278836=_0x2fa915;var _0x26424e;let _0x29c73e=this[_0x278836(0x1a5)](_0x342527);_0x29c73e=this[_0x278836(0x4b7)](_0x29c73e);const _0x474e03=_0x4587e1[_0x278836(0x18e)](_0x29c73e['mutations'],this[_0x278836(0x1a3)],{'fromCollab':!0x0});if(!_0x474e03[_0x278836(0x4bb)])throw _0x474e03['error']instanceof Error?_0x474e03[_0x278836(0x3a9)]:new Error((_0x26424e=_0x474e03['error'])!=null?_0x26424e:_0x278836(0x504));this[_0x278836(0x60f)](_0x29c73e),this['_transformStateCache'](_0x29c73e),this['_transformUndoredo'](_0x342527),this['_transformSelections'](_0x29c73e),this[_0x278836(0x61b)](_0x29c73e),this[_0x278836(0x612)]();}}let _0x5eefa=class extends _0x3b18d0{constructor(_0x32661d,_0x5dc25e,_0x43887e,_0xab4200,_0x300bc5,_0x5b2cdd,_0x863dc1,_0x196161,_0x16608a,_0x4c9262){const _0x317074=_0x2fa915;super(_0x32661d,_0x5dc25e,null,[],_0x43887e,_0x196161,_0x863dc1,_0xab4200,_0x300bc5),_0x339ceb(this,_0x317074(0x37c),_0x317074(0x3a0)),(this[_0x317074(0x60e)]=_0x5b2cdd,this[_0x317074(0x43a)]=_0x16608a,this[_0x317074(0x493)]=_0x4c9262);}[_0x2fa915(0x62c)](_0x364372){const _0xf9314c=_0x2fa915,_0x85273f=this[_0xf9314c(0x60e)][_0xf9314c(0x489)](_0x1fcb0c,this[_0xf9314c(0x2d1)],this[_0xf9314c(0x178)],[_0x364372],this['_handler']);return _0x85273f[_0xf9314c(0x1d3)](),_0x85273f[_0xf9314c(0x300)](),_0x85273f;}[_0x2fa915(0x41c)](_0x32965d){const _0x306627=_0x2fa915;if(this['_checkMissing'](_0x32965d))return this[_0x306627(0x60e)][_0x306627(0x489)](_0x39decc,this[_0x306627(0x2d1)],this[_0x306627(0x178)],null,[],null,[_0x32965d],this[_0x306627(0x5d2)]);try{const _0x1d4055=this[_0x306627(0x493)][_0x306627(0x439)](_0x32965d,[_0x1cf697]);if(_0x215e4a[_0x306627(0x539)](_0x1d4055)){const {c1Prime:_0x3c9b6e}=_0x1d4055;return this[_0x306627(0x1ae)](_0x3c9b6e),this;}throw _0x1d4055[_0x306627(0x3a9)];}catch(_0x5e1023){return this[_0x306627(0x43a)][_0x306627(0x3a9)](_0x5e1023),this[_0x306627(0x193)](!0x1);}}[_0x2fa915(0x193)](_0x2781ae){const _0x547d94=_0x2fa915;return this[_0x547d94(0x60e)]['createInstance'](_0x1c7d65,this[_0x547d94(0x2d1)],this[_0x547d94(0x178)],null,[],this[_0x547d94(0x5d2)],_0x2781ae);}[_0x2fa915(0x450)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x3fb984=_0x2fa915;throw new Error(_0x3fb984(0x4c5));}['onRemoteRetry'](){return this;}[_0x2fa915(0x3ba)](){const _0x351f60=_0x2fa915;return this[_0x351f60(0x60e)]['createInstance'](_0x1ccc4c,this['unitID'],this['type'],null,[],this['_handler']);}[_0x2fa915(0x508)](){return this;}[_0x2fa915(0x2d4)](){const _0x444fb5=_0x2fa915;throw new Error(_0x444fb5(0x39c));}[_0x2fa915(0x487)](){const _0x2de6bb=_0x2fa915,_0x3096f9=this[_0x2de6bb(0x24d)][_0x2de6bb(0x592)](this[_0x2de6bb(0x2d1)]);return this[_0x2de6bb(0x5d2)][_0x2de6bb(0x4ce)]({'from':_0x3096f9,'to':0x0}),this[_0x2de6bb(0x60e)][_0x2de6bb(0x489)](_0x39decc,this[_0x2de6bb(0x2d1)],this[_0x2de6bb(0x178)],null,[],null,[],this[_0x2de6bb(0x5d2)]);}};_0x5eefa=_0x5ce8d8([_0x5153ff(0x3,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a[_0x2fa915(0x518)])),_0x5153ff(0x4,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x408)])),_0x5153ff(0x5,_0x4587e1['Inject'](_0x4587e1[_0x2fa915(0x403)])),_0x5153ff(0x6,_0x4587e1[_0x2fa915(0x428)]),_0x5153ff(0x7,_0x4587e1[_0x2fa915(0x60b)]),_0x5153ff(0x8,_0x4587e1['ILogService']),_0x5153ff(0x9,_0x215e4a[_0x2fa915(0x34d)])],_0x5eefa);let _0x1fcb0c=class extends _0x3b18d0{constructor(_0x50d9b1,_0x5ae67c,_0x4a79df,_0x4e33bd,_0x16f8a5,_0x8da3fe,_0x35b41b,_0x5397f1,_0x2c8a69,_0x13e103,_0x5729e4,_0x2f6251,_0x496605,_0x505965){const _0x37fd30=_0x2fa915;super(_0x50d9b1,_0x5ae67c,null,_0x4a79df,_0x4e33bd,_0x13e103,_0x505965,_0x8da3fe,_0x35b41b),_0x339ceb(this,_0x37fd30(0x37c),'pending'),_0x339ceb(this,_0x37fd30(0x531),null),_0x339ceb(this,_0x37fd30(0x30f),null),(this['_injector']=_0x16f8a5,this['_memberService']=_0x5397f1,this['_logService']=_0x2c8a69,this[_0x37fd30(0x4e4)]=_0x5729e4,this['_transformService']=_0x2f6251,this['_univerInstanceService']=_0x496605);}[_0x2fa915(0x62c)](_0x3b2ed8){const _0x459f13=_0x2fa915;return this['_pendingMutations'][_0x459f13(0x367)](_0x3b2ed8),this[_0x459f13(0x300)](),this;}[_0x2fa915(0x41c)](_0x5f03d0){const _0x2848f1=_0x2fa915;if(this[_0x2848f1(0x3c7)](_0x5f03d0))return this[_0x2848f1(0x243)](),this[_0x2848f1(0x60e)]['createInstance'](_0x39decc,this[_0x2848f1(0x2d1)],this[_0x2848f1(0x178)],null,this[_0x2848f1(0x2f4)],null,[_0x5f03d0],this[_0x2848f1(0x5d2)]);try{const _0x1b776e=this['_transformService'][_0x2848f1(0x439)](_0x5f03d0,this[_0x2848f1(0x2f4)]);if(_0x215e4a[_0x2848f1(0x539)](_0x1b776e)){const {c1Prime:_0x4ba702,m2Prime:_0x5ace21}=_0x1b776e;this[_0x2848f1(0x1ae)](_0x4ba702);const _0x478fcc=this['_injector'][_0x2848f1(0x489)](_0x1fcb0c,this[_0x2848f1(0x2d1)],this[_0x2848f1(0x178)],_0x5ace21,this[_0x2848f1(0x5d2)]);return this[_0x2848f1(0x243)](),_0x478fcc[_0x2848f1(0x1d3)](this[_0x2848f1(0x531)]?Math[_0x2848f1(0x433)](0x0,new Date()['getTime']()-this[_0x2848f1(0x531)]):this[_0x2848f1(0x29d)]()),_0x478fcc;}throw _0x1b776e[_0x2848f1(0x3a9)];}catch(_0x350e87){return this[_0x2848f1(0x43a)][_0x2848f1(0x3a9)](_0x350e87),this['_onConflict'](!0x1);}}['onRemoteAck'](){const _0x2ebe4f=_0x2fa915;throw new Error(_0x2ebe4f(0x399));}[_0x2fa915(0x524)](){const _0x24b83c=_0x2fa915;throw new Error(_0x24b83c(0x4d6));}['onRemoteRetry'](){return this;}[_0x2fa915(0x3ba)](){const _0x261c90=_0x2fa915;return this[_0x261c90(0x243)](),this[_0x261c90(0x60e)][_0x261c90(0x489)](_0x1ccc4c,this[_0x261c90(0x2d1)],this[_0x261c90(0x178)],null,this[_0x261c90(0x2f4)],this['_handler']);}[_0x2fa915(0x508)](){return this;}[_0x2fa915(0x1d3)](_0x20c00e){const _0x26dba5=_0x2fa915,_0x551142=_0x20c00e!=null?_0x20c00e:this[_0x26dba5(0x29d)]();this[_0x26dba5(0x531)]=new Date()[_0x26dba5(0x421)](),this[_0x26dba5(0x30f)]=window['setTimeout'](()=>{const _0x41f60a=_0x26dba5;this[_0x41f60a(0x243)]();let _0x461f19=null;switch(this[_0x41f60a(0x178)]){case _0xad4019[_0x41f60a(0x3ee)]:{_0x461f19=_0x146bdf(this[_0x41f60a(0x2f4)],this[_0x41f60a(0x2d1)],this[_0x41f60a(0x3c1)],this['_revisionService'],this[_0x41f60a(0x226)]);break;}case _0xad4019[_0x41f60a(0x27b)]:{this[_0x41f60a(0x2f4)][_0x41f60a(0x4e3)](_0x3fe896=>_0x3fe896['id']===_0x4844e7[_0x41f60a(0x5c4)]['id'])?_0x461f19=_0x18e44b(this[_0x41f60a(0x2f4)],this[_0x41f60a(0x2d1)],this[_0x41f60a(0x3c1)],this[_0x41f60a(0x24d)],this[_0x41f60a(0x226)]):_0x461f19=_0x146bdf(this[_0x41f60a(0x2f4)],this[_0x41f60a(0x2d1)],this[_0x41f60a(0x3c1)],this[_0x41f60a(0x24d)],this[_0x41f60a(0x226)]);break;}default:throw new Error(_0x41f60a(0x45a)+this['type']+_0x41f60a(0x251));}const {changeset:_0x5731cc,pendingMutations:_0x3663d4}=_0x461f19;this[_0x41f60a(0x5d2)][_0x41f60a(0x2b7)](_0x5731cc);const _0x1cf2e2=_0x3663d4[_0x41f60a(0x4d9)]?this[_0x41f60a(0x60e)][_0x41f60a(0x489)](_0x471081,this['unitID'],this[_0x41f60a(0x178)],_0x5731cc,_0x3663d4,this['_handler'],void 0x0):this[_0x41f60a(0x60e)][_0x41f60a(0x489)](_0x38c50b,this['unitID'],this['type'],_0x5731cc,this[_0x41f60a(0x5d2)]);_0x1cf2e2[_0x41f60a(0x300)](),this[_0x41f60a(0x5d2)]['onStateChange'](this,_0x1cf2e2);},_0x551142);}['_getSendChangesetTimeout'](){const _0x42aada=_0x2fa915;var _0x4bdf40;const _0x68fe69=this[_0x42aada(0x4e4)][_0x42aada(0x185)](_0x152bb8);return(_0x4bdf40=_0x68fe69==null?void 0x0:_0x68fe69[_0x42aada(0x560)])!=null?_0x4bdf40:0x7d0;}[_0x2fa915(0x2d4)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2fa915(0x243)](){this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}['_onConflict'](_0x50b3f3){const _0x110cf0=_0x2fa915;return this['_clearScheduledTask'](),this[_0x110cf0(0x60e)][_0x110cf0(0x489)](_0x1c7d65,this[_0x110cf0(0x2d1)],this[_0x110cf0(0x178)],null,this[_0x110cf0(0x2f4)],this[_0x110cf0(0x5d2)],_0x50b3f3);}};_0x1fcb0c=_0x5ce8d8([_0x5153ff(0x4,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1['Injector'])),_0x5153ff(0x5,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a['RevisionService'])),_0x5153ff(0x6,_0x4587e1['Inject'](_0x539c7e[_0x2fa915(0x408)])),_0x5153ff(0x7,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x1d1)])),_0x5153ff(0x8,_0x4587e1[_0x2fa915(0x62b)]),_0x5153ff(0x9,_0x4587e1[_0x2fa915(0x60b)]),_0x5153ff(0xa,_0x4587e1[_0x2fa915(0x628)]),_0x5153ff(0xb,_0x215e4a[_0x2fa915(0x34d)]),_0x5153ff(0xc,_0x4587e1[_0x2fa915(0x53b)]),_0x5153ff(0xd,_0x4587e1[_0x2fa915(0x428)])],_0x1fcb0c);let _0x38c50b=class extends _0x3b18d0{constructor(_0x4b150c,_0x2af04e,_0x34d900,_0x14c08d,_0x1fb49c,_0x15792e,_0x3d74ca,_0x597853,_0xc1a05a,_0x235bdc,_0x5d7723){const _0x524f4e=_0x2fa915;super(_0x4b150c,_0x2af04e,_0x34d900,[],_0x14c08d,_0x597853,_0x5d7723,_0x15792e,_0x3d74ca),_0x339ceb(this,_0x524f4e(0x37c),'awaiting'),_0x339ceb(this,_0x524f4e(0x5e1),0x0),_0x339ceb(this,_0x524f4e(0x5be)),_0x339ceb(this,_0x524f4e(0x417)),(this[_0x524f4e(0x60e)]=_0x1fb49c,this[_0x524f4e(0x43a)]=_0xc1a05a,this['_transformService']=_0x235bdc);}[_0x2fa915(0x62c)](_0x217be6){const _0x2c6a18=_0x2fa915;this[_0x2c6a18(0x243)]();const _0x1c985c=this['_injector'][_0x2c6a18(0x489)](_0x471081,this[_0x2c6a18(0x2d1)],this['type'],this[_0x2c6a18(0x54e)],[_0x217be6],this[_0x2c6a18(0x5d2)],this[_0x2c6a18(0x5be)]);return _0x1c985c[_0x2c6a18(0x300)](),_0x1c985c;}[_0x2fa915(0x41c)](_0x2d371c){const _0x3f4b37=_0x2fa915;if(this[_0x3f4b37(0x3c7)](_0x2d371c))return this[_0x3f4b37(0x243)](),this[_0x3f4b37(0x60e)][_0x3f4b37(0x489)](_0x39decc,this[_0x3f4b37(0x2d1)],this['type'],this[_0x3f4b37(0x54e)],[],null,[_0x2d371c],this[_0x3f4b37(0x5d2)]);try{const _0xe17062=this['_transformService']['transformChangesets']([_0x2d371c],[this[_0x3f4b37(0x54e)]],!0x1);if(_0x215e4a['isTransformChangesetsSuccess'](_0xe17062)){const {c1Prime:_0x30b43b,c2Prime:_0x1c15eb}=_0xe17062;this[_0x3f4b37(0x1ae)](_0x30b43b[0x0]),_0x1c15eb[0x0]['baseRev']=this[_0x3f4b37(0x47d)](),this[_0x3f4b37(0x243)]();const _0x31ec33=this[_0x3f4b37(0x60e)][_0x3f4b37(0x489)](_0x38c50b,this[_0x3f4b37(0x2d1)],this['type'],_0x1c15eb[0x0],this[_0x3f4b37(0x5d2)]);return _0x31ec33[_0x3f4b37(0x300)](),_0x31ec33;}return this[_0x3f4b37(0x193)](!0x1);}catch(_0x8b20ef){return this[_0x3f4b37(0x43a)][_0x3f4b37(0x3a9)](_0x8b20ef),this[_0x3f4b37(0x193)](!0x1);}}[_0x2fa915(0x450)](_0x215b54){const _0x265d00=_0x2fa915;this['_clearScheduledTask']();const _0x11c376=this[_0x265d00(0x24d)][_0x265d00(0x592)](this[_0x265d00(0x2d1)]);if(_0x215b54[_0x265d00(0x521)]<_0x11c376-0x1)return this;if(this[_0x265d00(0x3c7)](_0x215b54))return this[_0x265d00(0x60e)][_0x265d00(0x489)](_0x39decc,this[_0x265d00(0x2d1)],this[_0x265d00(0x178)],null,[],this['_awaitingChangeset'],[],this[_0x265d00(0x5d2)]);this[_0x265d00(0x612)]();const _0x9a376b=this['_injector'][_0x265d00(0x489)](_0x5eefa,this[_0x265d00(0x2d1)],this['type'],this['_handler']);return _0x9a376b[_0x265d00(0x300)](),_0x9a376b;}[_0x2fa915(0x524)](_0x35e8df){const _0x26f82d=_0x2fa915;return this[_0x26f82d(0x193)](!!(_0x35e8df!=null&&_0x35e8df[_0x26f82d(0x5df)]));}[_0x2fa915(0x611)](_0x419ca9){const _0x198634=_0x2fa915;return this[_0x198634(0x5e1)]>_0x32517a?this[_0x198634(0x3ba)]():(this[_0x198634(0x5be)]=_0x1128e0(this[_0x198634(0x5e1)],{'timeout':this[_0x198634(0x5e1)],'reqId':_0x419ca9[_0x198634(0x31e)]}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0xda7194,timeout:_0x5d87f7})=>{this['_resendWithTimeout'](_0xda7194,_0x5d87f7);}),this);}[_0x2fa915(0x3ba)](){const _0x1f54f8=_0x2fa915;return this[_0x1f54f8(0x243)](),this[_0x1f54f8(0x60e)][_0x1f54f8(0x489)](_0x1ccc4c,this[_0x1f54f8(0x2d1)],this[_0x1f54f8(0x178)],this[_0x1f54f8(0x54e)],[],this[_0x1f54f8(0x5d2)]);}[_0x2fa915(0x508)](){return this;}[_0x2fa915(0x2d4)](){const _0x30a321=_0x2fa915;this[_0x30a321(0x5d2)][_0x30a321(0x2b7)](this[_0x30a321(0x54e)]);}[_0x2fa915(0x193)](_0x1f3497){const _0xfeef21=_0x2fa915;return this[_0xfeef21(0x243)](),this[_0xfeef21(0x60e)][_0xfeef21(0x489)](_0x1c7d65,this['unitID'],this['type'],this['_awaitingChangeset'],[],this[_0xfeef21(0x5d2)],_0x1f3497);}[_0x2fa915(0x2c6)](_0xd48730,_0x377d1c){const _0x22724d=_0x2fa915;var _0xa6a0c1;_0xd48730===((_0xa6a0c1=this[_0x22724d(0x54e)])==null?void 0x0:_0xa6a0c1[_0x22724d(0x31e)])&&(this[_0x22724d(0x2d4)](),this[_0x22724d(0x5e1)]=_0x377d1c===0x0?0x3e8:_0x377d1c*0x2);}[_0x2fa915(0x243)](){const _0x11c1dc=_0x2fa915;var _0xa3f339;(_0xa3f339=this[_0x11c1dc(0x417)])==null||_0xa3f339[_0x11c1dc(0x2ce)](),this['_resendTimeout']=0x0;}};_0x38c50b=_0x5ce8d8([_0x5153ff(0x4,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x5153ff(0x5,_0x4587e1['Inject'](_0x215e4a['RevisionService'])),_0x5153ff(0x6,_0x4587e1['Inject'](_0x539c7e[_0x2fa915(0x408)])),_0x5153ff(0x7,_0x4587e1[_0x2fa915(0x60b)]),_0x5153ff(0x8,_0x4587e1['ILogService']),_0x5153ff(0x9,_0x215e4a[_0x2fa915(0x34d)]),_0x5153ff(0xa,_0x4587e1[_0x2fa915(0x428)])],_0x38c50b);let _0x471081=class extends _0x3b18d0{constructor(_0x3843e7,_0x5c01db,_0x5b8bcc,_0x37db43,_0x1ab61c,_0x4393b9,_0x501e86,_0x552f41,_0x4d4570,_0x5718e5,_0xd279ec,_0x261004,_0x3c4b88){const _0x2eb713=_0x2fa915;super(_0x3843e7,_0x5c01db,_0x5b8bcc,_0x37db43,_0x1ab61c,_0x5718e5,_0x3c4b88,_0x552f41,_0x4d4570),_0x339ceb(this,_0x2eb713(0x37c),_0x2eb713(0x318)),_0x339ceb(this,_0x2eb713(0x5e1),0x0),_0x339ceb(this,'_resendTimer'),_0x339ceb(this,'_sender'),(this[_0x2eb713(0x60e)]=_0x501e86,this[_0x2eb713(0x43a)]=_0xd279ec,this['_transformService']=_0x261004,_0x4393b9&&(this['_resendTimer']=_0x4393b9,this[_0x2eb713(0x417)]=this[_0x2eb713(0x5be)]['subscribe'](({reqId:_0x200b28,timeout:_0x698c87})=>{const _0x219958=_0x2eb713;this[_0x219958(0x2c6)](_0x200b28,_0x698c87);})));}['appendMutation'](_0xc97637){const _0x92a59d=_0x2fa915;return this[_0x92a59d(0x2f4)][_0x92a59d(0x367)](_0xc97637),this;}[_0x2fa915(0x41c)](_0x5063ed){const _0xc948b=_0x2fa915;if(this[_0xc948b(0x3c7)](_0x5063ed))return this[_0xc948b(0x243)](),this[_0xc948b(0x60e)]['createInstance'](_0x39decc,this[_0xc948b(0x2d1)],this[_0xc948b(0x178)],this[_0xc948b(0x54e)],this[_0xc948b(0x2f4)],null,[_0x5063ed],this[_0xc948b(0x5d2)]);try{const _0x38b489=this['_transformService']['transformChangesets']([_0x5063ed],[this['_awaitingChangeset']],!0x1);if(_0x215e4a[_0xc948b(0x288)](_0x38b489)){const {c1Prime:_0x1ea712,c2Prime:_0xc199ee}=_0x38b489,_0x48296d=this['_transformService'][_0xc948b(0x439)](_0x1ea712[0x0],this[_0xc948b(0x2f4)]);if(_0x215e4a[_0xc948b(0x539)](_0x48296d)){const {c1Prime:_0x2293df,m2Prime:_0x73386f}=_0x48296d;return this[_0xc948b(0x1ae)](_0x2293df),_0xc199ee[0x0]['baseRev']=this[_0xc948b(0x47d)](),this['_clearScheduledTask'](),this[_0xc948b(0x60e)][_0xc948b(0x489)](_0x471081,this[_0xc948b(0x2d1)],this[_0xc948b(0x178)],_0xc199ee[0x0],_0x73386f,this[_0xc948b(0x5d2)],void 0x0);}throw _0x48296d['error'];}throw _0x38b489[_0xc948b(0x3a9)];}catch(_0x3b671d){return this['_logService'][_0xc948b(0x3a9)](_0x3b671d),this[_0xc948b(0x193)](!0x1);}}['onRemoteAck'](_0xf14810){const _0x529f9d=_0x2fa915;if(this[_0x529f9d(0x243)](),this[_0x529f9d(0x3c7)](_0xf14810))return this['_injector'][_0x529f9d(0x489)](_0x39decc,this['unitID'],this[_0x529f9d(0x178)],null,this[_0x529f9d(0x2f4)],this['_awaitingChangeset'],[],this[_0x529f9d(0x5d2)]);this[_0x529f9d(0x612)]();const _0x26088e=this[_0x529f9d(0x60e)][_0x529f9d(0x489)](_0x1fcb0c,this[_0x529f9d(0x2d1)],this[_0x529f9d(0x178)],this[_0x529f9d(0x2f4)],this[_0x529f9d(0x5d2)]);return _0x26088e[_0x529f9d(0x1d3)](),_0x26088e[_0x529f9d(0x300)](),_0x26088e;}[_0x2fa915(0x524)](_0x4b1cca){const _0x55ff57=_0x2fa915;return this['_onConflict'](!!(_0x4b1cca!=null&&_0x4b1cca[_0x55ff57(0x5df)]));}['onRemoteRetry'](_0x17d527){const _0x467572=_0x2fa915;return this[_0x467572(0x5e1)]>_0x32517a?this[_0x467572(0x3ba)]():(this[_0x467572(0x5be)]=_0x1128e0(this[_0x467572(0x5e1)],{'timeout':this[_0x467572(0x5e1)],'reqId':_0x17d527['reqId']}),this['_sender']=this[_0x467572(0x5be)]['subscribe'](({reqId:_0x40d93c,timeout:_0x1b5013})=>{const _0x106126=_0x467572;this[_0x106126(0x2c6)](_0x40d93c,_0x1b5013);}),this);}[_0x2fa915(0x3ba)](){const _0x4ba20f=_0x2fa915;return this[_0x4ba20f(0x243)](),this[_0x4ba20f(0x60e)][_0x4ba20f(0x489)](_0x1ccc4c,this[_0x4ba20f(0x2d1)],this['type'],this[_0x4ba20f(0x54e)],this[_0x4ba20f(0x2f4)],this[_0x4ba20f(0x5d2)]);}[_0x2fa915(0x508)](){return this;}['resend'](){const _0x544437=_0x2fa915;this[_0x544437(0x5d2)]['onSendChangeset'](this[_0x544437(0x54e)]);}[_0x2fa915(0x193)](_0x37abfc){const _0x35b34d=_0x2fa915;return this[_0x35b34d(0x243)](),this[_0x35b34d(0x60e)][_0x35b34d(0x489)](_0x1c7d65,this[_0x35b34d(0x2d1)],this[_0x35b34d(0x178)],null,this[_0x35b34d(0x2f4)],this[_0x35b34d(0x5d2)],_0x37abfc);}[_0x2fa915(0x2c6)](_0x13a45a,_0x18ed8d){const _0x4b1676=_0x2fa915;var _0x216c5e;_0x13a45a===((_0x216c5e=this[_0x4b1676(0x54e)])==null?void 0x0:_0x216c5e[_0x4b1676(0x31e)])&&(this[_0x4b1676(0x2d4)](),this['_resendTimeout']=_0x18ed8d===0x0?0x3e8:_0x18ed8d*0x2);}[_0x2fa915(0x243)](){const _0x225564=_0x2fa915;var _0x513c46;(_0x513c46=this[_0x225564(0x417)])==null||_0x513c46[_0x225564(0x2ce)](),this[_0x225564(0x5e1)]=0x0;}};_0x471081=_0x5ce8d8([_0x5153ff(0x6,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x5153ff(0x7,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a['RevisionService'])),_0x5153ff(0x8,_0x4587e1['Inject'](_0x539c7e[_0x2fa915(0x408)])),_0x5153ff(0x9,_0x4587e1[_0x2fa915(0x60b)]),_0x5153ff(0xa,_0x4587e1[_0x2fa915(0x62b)]),_0x5153ff(0xb,_0x215e4a['ITransformService']),_0x5153ff(0xc,_0x4587e1[_0x2fa915(0x428)])],_0x471081);let _0x1c7d65=class extends _0x3b18d0{constructor(_0x14aaa8,_0x54e9b4,_0x53572a,_0x263237,_0x32f346,_0x11b708=!0x1,_0x1a84b6,_0xe22da2,_0x22d6ee,_0x2dcbd3,_0x32620e,_0x57ec33,_0xba7cdb){const _0x54cece=_0x2fa915;super(_0x14aaa8,_0x54e9b4,_0x53572a,_0x263237,_0x32f346,_0xe22da2,_0x22d6ee,_0x32620e,_0x2dcbd3),_0x339ceb(this,_0x54cece(0x37c),_0x54cece(0x1de)),(this[_0x54cece(0x1fc)]=_0x11b708,this[_0x54cece(0x27f)]=_0x1a84b6,this[_0x54cece(0x497)]=_0x57ec33,this[_0x54cece(0x398)]=_0xba7cdb,this[_0x54cece(0x27e)](),this[_0x54cece(0x313)](),this[_0x54cece(0x2c9)]());}[_0x2fa915(0x62c)](){return this;}[_0x2fa915(0x41c)](){return this;}['onRemoteAck'](){return this;}[_0x2fa915(0x524)](){return this;}[_0x2fa915(0x611)](){return this;}[_0x2fa915(0x3ba)](){return this;}[_0x2fa915(0x508)](){return this;}[_0x2fa915(0x2d4)](){const _0x2b6a08=_0x2fa915;throw new Error(_0x2b6a08(0x4f6));}[_0x2fa915(0x313)](){const _0x2f2ef6=_0x2fa915;this[_0x2f2ef6(0x473)]['updateOfflineData'](this[_0x2f2ef6(0x2d1)],this[_0x2f2ef6(0x178)],null,[]);}[_0x2fa915(0x27e)](){const _0x4b27a8=_0x2fa915;this[_0x4b27a8(0x1fc)]?this[_0x4b27a8(0x398)][_0x4b27a8(0x1ca)]({'title':this[_0x4b27a8(0x497)]['t']('permission.title'),'content':this[_0x4b27a8(0x497)]['t']('permission.content'),'type':_0x4b27a8(0x3a9),'duration':0x0}):this['_notificationService'][_0x4b27a8(0x1ca)]({'title':this[_0x4b27a8(0x497)]['t']('conflict.title'),'content':this[_0x4b27a8(0x497)]['t'](_0x4b27a8(0x636)),'type':'error','duration':0x0});}[_0x2fa915(0x2c9)](){const _0x4f44c6=_0x2fa915;this['_permissionService'][_0x4f44c6(0x22b)](new _0x27d820[(_0x4f44c6(0x3da))](this[_0x4f44c6(0x2d1)])['id'],!0x1);}};_0x1c7d65=_0x5ce8d8([_0x5153ff(0x6,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x220)])),_0x5153ff(0x7,_0x4587e1['ICommandService']),_0x5153ff(0x8,_0x4587e1[_0x2fa915(0x428)]),_0x5153ff(0x9,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x408)])),_0x5153ff(0xa,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a[_0x2fa915(0x518)])),_0x5153ff(0xb,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x1e2)])),_0x5153ff(0xc,_0x3163bd[_0x2fa915(0x49b)])],_0x1c7d65);let _0x1ccc4c=class extends _0x3b18d0{constructor(_0x438878,_0x1ede1c,_0x56d918,_0x246090,_0x17771d,_0x33e1a9,_0xfca56b,_0x469aa3,_0xb43266,_0x1afd40){const _0x1d4487=_0x2fa915;super(_0x438878,_0x1ede1c,_0x56d918,_0x246090,_0x17771d,_0xb43266,_0x1afd40,_0xfca56b,_0x469aa3),_0x339ceb(this,'status',_0x1d4487(0x2e5)),this[_0x1d4487(0x60e)]=_0x33e1a9;}[_0x2fa915(0x62c)](_0x50888d){const _0x1c5253=_0x2fa915;return this[_0x1c5253(0x2f4)][_0x1c5253(0x367)](_0x50888d),this[_0x1c5253(0x300)](),this;}[_0x2fa915(0x41c)](_0x208f04){const _0x35d52d=_0x2fa915;throw new Error(_0x35d52d(0x597));}[_0x2fa915(0x450)](){const _0x1d0db2=_0x2fa915;throw new Error(_0x1d0db2(0x337));}[_0x2fa915(0x524)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x2fa915(0x3ba)](){return this;}[_0x2fa915(0x508)](){const _0x18efd4=_0x2fa915,{_injector:_0x51e5ca,_pendingMutations:_0x598a05,_awaitingChangeset:_0x4f24b2,unitID:_0x48b330,_handler:_0x2726c4,type:_0x288b4d}=this,_0xc7353d=_0x35d86a(_0x51e5ca,_0x48b330,_0x288b4d,_0x4f24b2,_0x598a05,_0x2726c4);return _0xc7353d instanceof _0x1fcb0c?_0xc7353d[_0x18efd4(0x1d3)]():(_0xc7353d instanceof _0x471081||_0xc7353d instanceof _0x38c50b)&&_0xc7353d['resend'](),_0xc7353d;}[_0x2fa915(0x2d4)](){const _0xffa350=_0x2fa915;throw new Error(_0xffa350(0x554));}};_0x1ccc4c=_0x5ce8d8([_0x5153ff(0x5,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x5153ff(0x6,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a[_0x2fa915(0x518)])),_0x5153ff(0x7,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x408)])),_0x5153ff(0x8,_0x4587e1[_0x2fa915(0x60b)]),_0x5153ff(0x9,_0x4587e1[_0x2fa915(0x428)])],_0x1ccc4c);let _0x39decc=class extends _0x3b18d0{constructor(_0x145ef4,_0x4bb8cd,_0x2a3bff,_0x51309b,_0x8a6771,_0x385d0d,_0xee4dc8,_0x31527b,_0x290e85,_0x554423,_0x4e016b,_0x65d0c6,_0x468295,_0x50e8cf){const _0xc28ec8=_0x2fa915;super(_0x145ef4,_0x4bb8cd,_0x2a3bff,_0x51309b,_0xee4dc8,_0x65d0c6,_0x468295,_0x290e85,_0x554423),_0x339ceb(this,_0xc28ec8(0x37c),_0xc28ec8(0x2fb)),(this[_0xc28ec8(0x2bb)]=_0x8a6771,this[_0xc28ec8(0x371)]=_0x385d0d,this[_0xc28ec8(0x60e)]=_0x31527b,this[_0xc28ec8(0x43a)]=_0x4e016b,this[_0xc28ec8(0x493)]=_0x50e8cf);}[_0x2fa915(0x1e7)](_0x4ff6f3){const _0x5d431a=_0x2fa915;try{const _0x22feb7=[..._0x4ff6f3,...this[_0x5d431a(0x371)]],_0x2d4bb5=[this[_0x5d431a(0x54e)]||this[_0x5d431a(0x2bb)]][_0x5d431a(0x333)](_0x4e3596=>!!_0x4e3596);let _0x48300d,_0x12755f;if(_0x2d4bb5[_0x5d431a(0x4d9)]){const _0x38ea6a=this[_0x5d431a(0x493)][_0x5d431a(0x4b3)](_0x22feb7,_0x2d4bb5,!0x1);if(!_0x215e4a['isTransformChangesetsSuccess'](_0x38ea6a))throw _0x38ea6a['error'];_0x48300d=_0x38ea6a['c1Prime'],_0x12755f=_0x38ea6a[_0x5d431a(0x434)];}else _0x48300d=_0x22feb7,_0x12755f=[];let _0x2f8885=this[_0x5d431a(0x2f4)];_0x48300d[_0x5d431a(0x34b)](_0x31dbbe=>{const _0xeb3f12=_0x5d431a;let _0x2affaa;if(_0x2f8885[_0xeb3f12(0x4d9)]){const _0x2e6cfe=this['_transformService'][_0xeb3f12(0x439)](_0x31dbbe,_0x2f8885);if(!_0x215e4a[_0xeb3f12(0x539)](_0x2e6cfe))throw _0x2e6cfe['error'];_0x2affaa=_0x2e6cfe['c1Prime'],_0x2f8885=_0x2e6cfe[_0xeb3f12(0x239)];}else _0x2affaa=_0x31dbbe;this['_executeRemoteChangeset'](_0x2affaa);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x5d431a(0x54e)]&&_0x12755f[_0x5d431a(0x4d9)]&&(_0x12755f[0x0]['baseRev']=this[_0x5d431a(0x47d)]());let _0x401994;if(this[_0x5d431a(0x54e)]&&_0x2f8885[_0x5d431a(0x4d9)]!==0x0)_0x401994=this[_0x5d431a(0x60e)]['createInstance'](_0x471081,this[_0x5d431a(0x2d1)],this[_0x5d431a(0x178)],_0x12755f[0x0],_0x2f8885,this[_0x5d431a(0x5d2)],void 0x0);else{if(this['_awaitingChangeset']&&_0x2f8885[_0x5d431a(0x4d9)]===0x0)_0x12755f[0x0]['baseRev']=this[_0x5d431a(0x47d)](),_0x401994=this[_0x5d431a(0x60e)][_0x5d431a(0x489)](_0x38c50b,this['unitID'],this[_0x5d431a(0x178)],_0x12755f[0x0],this['_handler']);else{if(_0x2f8885[_0x5d431a(0x4d9)]!==0x0){const _0x4ba6da=this['_injector'][_0x5d431a(0x489)](_0x1fcb0c,this['unitID'],this[_0x5d431a(0x178)],_0x2f8885,this[_0x5d431a(0x5d2)]);_0x4ba6da[_0x5d431a(0x1d3)](),_0x401994=_0x4ba6da;}else _0x401994=this[_0x5d431a(0x60e)]['createInstance'](_0x5eefa,this[_0x5d431a(0x2d1)],this['type'],this[_0x5d431a(0x5d2)]);}}return _0x401994[_0x5d431a(0x300)](),_0x401994;}catch(_0xa5a3e2){return this['_logService'][_0x5d431a(0x3a9)]('[FetchMissState]',_0x5d431a(0x2e1),_0xa5a3e2),this[_0x5d431a(0x60e)]['createInstance'](_0x1c7d65,this[_0x5d431a(0x2d1)],this[_0x5d431a(0x178)],this['_awaitingChangeset'],this[_0x5d431a(0x2f4)],this[_0x5d431a(0x5d2)],!0x1);}}['resend'](){const _0x55751b=_0x2fa915;throw new Error(_0x55751b(0x47f));}[_0x2fa915(0x62c)](_0x573be5){const _0x11cd68=_0x2fa915;return this[_0x11cd68(0x2f4)][_0x11cd68(0x367)](_0x573be5),this;}['onRemoteChangeset'](_0x1efe2e){const _0x355968=_0x2fa915;return this['_queuedRemoteChangesets'][_0x355968(0x367)](_0x1efe2e),this;}['onRemoteAck'](_0x350d20){const _0x4fd898=_0x2fa915;if(this[_0x4fd898(0x54e)])return this[_0x4fd898(0x2bb)]=this[_0x4fd898(0x54e)],this[_0x4fd898(0x54e)]=null,this;throw new Error(_0x4fd898(0x525));}[_0x2fa915(0x524)](_0x3bc6b3){const _0x3464d9=_0x2fa915;return this[_0x3464d9(0x193)](!!(_0x3bc6b3!=null&&_0x3bc6b3[_0x3464d9(0x5df)]));}['onRemoteRetry'](){return this;}[_0x2fa915(0x3ba)](){const _0x220d64=_0x2fa915;return this[_0x220d64(0x60e)][_0x220d64(0x489)](_0x1ccc4c,this['unitID'],this[_0x220d64(0x178)],this[_0x220d64(0x54e)],this['_pendingMutations'],this['_handler']);}[_0x2fa915(0x508)](){return this;}[_0x2fa915(0x193)](_0x5ea434){const _0x472ae8=_0x2fa915;return this['_injector'][_0x472ae8(0x489)](_0x1c7d65,this['unitID'],this[_0x472ae8(0x178)],this['_awaitingChangeset'],this[_0x472ae8(0x2f4)],this[_0x472ae8(0x5d2)],_0x5ea434);}};_0x39decc=_0x5ce8d8([_0x5153ff(0x7,_0x4587e1['Inject'](_0x4587e1[_0x2fa915(0x403)])),_0x5153ff(0x8,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a[_0x2fa915(0x518)])),_0x5153ff(0x9,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x408)])),_0x5153ff(0xa,_0x4587e1[_0x2fa915(0x62b)]),_0x5153ff(0xb,_0x4587e1['ICommandService']),_0x5153ff(0xc,_0x4587e1['IUndoRedoService']),_0x5153ff(0xd,_0x215e4a[_0x2fa915(0x34d)])],_0x39decc);function _0x35d86a(_0x1b7124,_0x29aa53,_0x534640,_0x578ebf,_0x374411,_0x3910a3){const _0x24ce9b=_0x2fa915;return _0x578ebf&&_0x374411[_0x24ce9b(0x4d9)]?_0x1b7124[_0x24ce9b(0x489)](_0x471081,_0x29aa53,_0x534640,_0x578ebf,_0x374411,_0x3910a3,void 0x0):_0x578ebf?_0x1b7124[_0x24ce9b(0x489)](_0x38c50b,_0x29aa53,_0x534640,_0x578ebf,_0x3910a3):_0x374411[_0x24ce9b(0x4d9)]?_0x1b7124[_0x24ce9b(0x489)](_0x1fcb0c,_0x29aa53,_0x534640,_0x374411,_0x3910a3):_0x1b7124['createInstance'](_0x5eefa,_0x29aa53,_0x534640,_0x3910a3);}var _0x55e14d=Object[_0x2fa915(0x44e)],_0x4ef38e=Object['getOwnPropertyDescriptor'],_0x1fb106=(_0x40e39a,_0x2a8f1f,_0xa4bae9,_0x1455c9)=>{for(var _0x2cbb5b=_0x1455c9>0x1?void 0x0:_0x1455c9?_0x4ef38e(_0x2a8f1f,_0xa4bae9):_0x2a8f1f,_0x3cdd71=_0x40e39a['length']-0x1,_0x44a534;_0x3cdd71>=0x0;_0x3cdd71--)(_0x44a534=_0x40e39a[_0x3cdd71])&&(_0x2cbb5b=(_0x1455c9?_0x44a534(_0x2a8f1f,_0xa4bae9,_0x2cbb5b):_0x44a534(_0x2cbb5b))||_0x2cbb5b);return _0x1455c9&&_0x2cbb5b&&_0x55e14d(_0x2a8f1f,_0xa4bae9,_0x2cbb5b),_0x2cbb5b;},_0x419db5=(_0x172685,_0x14f98f)=>(_0x35d8ed,_0x5e3ccb)=>_0x14f98f(_0x35d8ed,_0x5e3ccb,_0x172685);_0x539c7e[_0x2fa915(0x270)]=class extends _0x4587e1[_0x2fa915(0x5b2)]{constructor(_0x51cd3c,_0x17abbb,_0x1f50fe,_0x20c7f6,_0x3b7d1f,_0x1dd94d,_0x2f6716,_0x337c6d,_0xa1676b,_0x4890e5,_0x32915f,_0x11e3e2,_0xf24b3){const _0x31b02b=_0x2fa915;super(),_0x339ceb(this,_0x31b02b(0x598),new _0x3eec93[(_0x31b02b(0x29b))](null)),_0x339ceb(this,_0x31b02b(0x348),this[_0x31b02b(0x598)][_0x31b02b(0x630)]()),_0x339ceb(this,'_state'),_0x339ceb(this,'_collaborationPaused',!0x1),_0x339ceb(this,_0x31b02b(0x3be),''),_0x339ceb(this,_0x31b02b(0x5d9),0x0),_0x339ceb(this,_0x31b02b(0x361),this[_0x31b02b(0x348)]['pipe'](_0x3eec93['map'](_0x28fce6=>_0x28fce6?_0x28fce6[_0x31b02b(0x37c)]:_0x3b904c[_0x31b02b(0x3c4)]),_0x3eec93['shareReplay'](0x1))),_0x339ceb(this,_0x31b02b(0x5d8),!0x1),_0x339ceb(this,'_remoteChangesetQueue',[]),(this[_0x31b02b(0x2d1)]=_0x51cd3c,this[_0x31b02b(0x593)]=_0x17abbb,this['_type']=_0x1f50fe,this[_0x31b02b(0x60e)]=_0x20c7f6,this[_0x31b02b(0x473)]=_0x3b7d1f,this[_0x31b02b(0x576)]=_0x1dd94d,this[_0x31b02b(0x497)]=_0x2f6716,this[_0x31b02b(0x24d)]=_0x337c6d,this['_logService']=_0xa1676b,this[_0x31b02b(0x1a3)]=_0x4890e5,this['_messageService']=_0x32915f,this[_0x31b02b(0x27f)]=_0x11e3e2,this['_singleActiveUnitService']=_0xf24b3);}get[_0x2fa915(0x4ec)](){const _0x4d3e21=_0x2fa915;return this[_0x4d3e21(0x618)];}async[_0x2fa915(0x558)](){const _0x5c74a5=_0x2fa915;if(this[_0x5c74a5(0x4ec)])throw new Error(_0x5c74a5(0x2f0));await this[_0x5c74a5(0x16f)]();}[_0x2fa915(0x197)](){const _0x4fff7a=_0x2fa915;return this[_0x4fff7a(0x55a)]=!0x0,_0x4587e1[_0x4fff7a(0x2a6)](()=>{const _0x1b9f0f=_0x4fff7a;this[_0x1b9f0f(0x55a)]=!0x1,this[_0x1b9f0f(0x5f1)]();});}[_0x2fa915(0x2a2)](_0x157945){const _0x521125=_0x2fa915;this[_0x521125(0x618)]=_0x157945,this['_state$'][_0x521125(0x1c9)](_0x157945);}async['_init'](){const _0x1abc30=_0x2fa915;var _0x5dd3c0;this[_0x1abc30(0x2a2)](await this[_0x1abc30(0x203)]()),this[_0x1abc30(0x1e4)]&&((_0x5dd3c0=this[_0x1abc30(0x1e4)])==null||_0x5dd3c0['editingUnit'](this[_0x1abc30(0x2d1)]),this[_0x1abc30(0x211)](this['_singleActiveUnitService'][_0x1abc30(0x4ea)](this[_0x1abc30(0x2d1)])['subscribe'](_0x1fe1c2=>{const _0x2d8b47=_0x1abc30;this['_logService'][_0x2d8b47(0x472)]('[CollaborationEntity]',_0x2d8b47(0x29e),_0x1fe1c2),_0x1fe1c2===_0x3ce0bf[_0x2d8b47(0x3e1)]?(this[_0x2d8b47(0x1c4)]['show']({'content':this[_0x2d8b47(0x497)]['t']('collaboration.single-unit.warning'),'type':_0x40b71f[_0x2d8b47(0x219)][_0x2d8b47(0x415)]}),this[_0x2d8b47(0x27f)][_0x2d8b47(0x22b)](new _0x27d820['WorkbookEditablePermission'](this[_0x2d8b47(0x2d1)])['id'],!0x1),this[_0x2d8b47(0x27f)][_0x2d8b47(0x3d8)](!0x1)):(this[_0x2d8b47(0x27f)][_0x2d8b47(0x22b)](new _0x27d820['WorkbookEditablePermission'](this[_0x2d8b47(0x2d1)])['id'],!0x0),this[_0x2d8b47(0x27f)][_0x2d8b47(0x3d8)](!0x0));})));let _0x55353f=!0x1;return this[_0x1abc30(0x211)](this[_0x1abc30(0x593)]['sessionStatus$'][_0x1abc30(0x447)](_0x198890=>{const _0x37551f=_0x1abc30;_0x198890===_0x474ede[_0x37551f(0x36e)]?this['_toggleOnline'](_0x55353f):_0x198890===_0x474ede[_0x37551f(0x3c4)]&&(_0x55353f=!0x0,this[_0x37551f(0x183)]());})),this[_0x1abc30(0x211)](this[_0x1abc30(0x593)]['event$']['subscribe'](_0xa610cf=>{const _0x544b2d=_0x1abc30;try{switch(_0xa610cf[_0x544b2d(0x526)]){case _0x215e4a[_0x544b2d(0x27c)][_0x544b2d(0x4e7)]:{this['_onRemoteChangeset'](_0x215e4a['parseProtocolChangeset'](_0xa610cf[_0x544b2d(0x273)]));break;}case _0x215e4a[_0x544b2d(0x27c)]['CHANGESET_ACK']:{this['_onRemoteACK'](_0xa610cf[_0x544b2d(0x273)]);break;}case _0x215e4a[_0x544b2d(0x27c)]['CHANGESET_REJ']:{this[_0x544b2d(0x3b9)]();break;}case _0x215e4a['CollaborationEvent'][_0x544b2d(0x195)]:{this[_0x544b2d(0x432)](_0xa610cf[_0x544b2d(0x273)]);break;}case _0x215e4a[_0x544b2d(0x27c)]['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0xa610cf[_0x544b2d(0x273)][_0x544b2d(0x3d7)][_0x544b2d(0x252)](_0xf961a8=>_0x215e4a['parseProtocolChangeset'](_0xf961a8)));break;}case _0x215e4a[_0x544b2d(0x27c)][_0x544b2d(0x48f)]:this[_0x544b2d(0x3b9)]({'isPermissionRej':!0x0});}}catch(_0x46bf34){throw console[_0x544b2d(0x3a9)](_0x544b2d(0x382),_0x46bf34),_0x46bf34;}})),this[_0x1abc30(0x618)];}[_0x2fa915(0x5a9)](){const _0x1f3d4f=_0x2fa915;this[_0x1f3d4f(0x5d8)]=!0x1;}['_lockTransition'](){const _0x18f94=_0x2fa915;if(this['_transitionLocked'])throw new Error(_0x18f94(0x33d));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x51aab5){const _0x4a822a=_0x2fa915;this[_0x4a822a(0x317)](),this[_0x4a822a(0x2a2)](this[_0x4a822a(0x618)][_0x4a822a(0x62c)](_0x51aab5)),this[_0x4a822a(0x5a9)]();}[_0x2fa915(0x562)](_0x2dc4d1){const _0x2d2e9f=_0x2fa915;if(!(_0x2dc4d1['revision']<=this[_0x2d2e9f(0x24d)][_0x2d2e9f(0x592)](this[_0x2d2e9f(0x2d1)]))){if(this[_0x2d2e9f(0x55a)]){this[_0x2d2e9f(0x4f3)]['push'](_0x2dc4d1);return;}this[_0x2d2e9f(0x423)](_0x2dc4d1);}}['_exhaustRemoteChangesetQueue'](){const _0x2a95c7=_0x2fa915;this['_remoteChangesetQueue'][_0x2a95c7(0x34b)](_0x4fe88f=>this[_0x2a95c7(0x423)](_0x4fe88f)),this['_remoteChangesetQueue']=[];}[_0x2fa915(0x423)](_0x3827c2){const _0x36fd15=_0x2fa915,_0x23054e=this['_compressMutationService'][_0x36fd15(0x36c)][_0x36fd15(0x606)](this[_0x36fd15(0x576)][_0x36fd15(0x36c)][_0x36fd15(0x51d)]()[_0x36fd15(0x32e)])(_0x3827c2[_0x36fd15(0x4d3)],null)||_0x3827c2[_0x36fd15(0x4d3)],_0x134442={..._0x3827c2,'mutations':_0x23054e};this['_lockTransition'](),this[_0x36fd15(0x2a2)](this[_0x36fd15(0x618)][_0x36fd15(0x41c)](_0x134442)),this['_unlockTransition']();}[_0x2fa915(0x5f9)](_0x5da6b4){const _0x255062=_0x2fa915;this[_0x255062(0x317)](),this[_0x255062(0x2a2)](this[_0x255062(0x618)][_0x255062(0x450)](_0x5da6b4)),this['_unlockTransition']();}[_0x2fa915(0x3b9)](_0x234d30){const _0x7c5fe1=_0x2fa915;this[_0x7c5fe1(0x317)](),this[_0x7c5fe1(0x2a2)](this[_0x7c5fe1(0x618)][_0x7c5fe1(0x524)](_0x234d30)),this[_0x7c5fe1(0x5a9)]();}[_0x2fa915(0x432)](_0x440c40){const _0x18ee1e=_0x2fa915;this[_0x18ee1e(0x317)](),this[_0x18ee1e(0x2a2)](this[_0x18ee1e(0x618)]['onRemoteRetry'](_0x440c40)),this[_0x18ee1e(0x5a9)]();}[_0x2fa915(0x602)](_0x35ef5d){const _0x2b3610=_0x2fa915;if(!(this[_0x2b3610(0x618)]instanceof _0x39decc))throw new TypeError(_0x2b3610(0x21e));const _0x3119eb=_0x35ef5d['map'](_0x1870a2=>{const _0x4520a8=_0x2b3610,_0x115ab1=this[_0x4520a8(0x576)][_0x4520a8(0x36c)][_0x4520a8(0x606)](this[_0x4520a8(0x576)][_0x4520a8(0x36c)][_0x4520a8(0x51d)]()['COMPRESS_MUTATION_APPLY'])(_0x1870a2['mutations'],null)||_0x1870a2['mutations'];return{..._0x1870a2,'mutations':_0x115ab1};});this['_lockTransition'](),this['_updateState'](this[_0x2b3610(0x618)][_0x2b3610(0x1e7)](_0x3119eb)),this[_0x2b3610(0x5a9)]();}['_toggleOffline'](){const _0x3b1caf=_0x2fa915;this['_lockTransition'](),this[_0x3b1caf(0x2a2)](this[_0x3b1caf(0x618)]['toggleOffline']()),this['_unlockTransition']();}[_0x2fa915(0x549)](_0x1fc893=!0x1){const _0x2e4f14=_0x2fa915;this[_0x2e4f14(0x317)](),this['_updateState'](this[_0x2e4f14(0x618)][_0x2e4f14(0x508)]()),this[_0x2e4f14(0x5a9)]();const _0x247da5=this[_0x2e4f14(0x618)];_0x1fc893&&_0x247da5 instanceof _0x5eefa&&(this['_lockTransition'](),this['_updateState'](_0x247da5[_0x2e4f14(0x487)]()),this['_unlockTransition']());}async[_0x2fa915(0x203)](){return new Promise(_0x4ff91b=>{const _0x11783e=_0x5275;this['session']['sessionStatus$'][_0x11783e(0x276)](_0x3eec93[_0x11783e(0x44f)](0x1))[_0x11783e(0x447)](async _0x5ec588=>{const _0x51aa72=_0x11783e;_0x4ff91b(await this[_0x51aa72(0x28b)](_0x5ec588===_0x474ede['ONLINE']));});});}[_0x2fa915(0x50f)](){const _0x11b3e9=_0x2fa915,_0x3d2b0e=this[_0x11b3e9(0x2d1)];return{'onStateChange':(_0x22c58e,_0x9d2944)=>{const _0x2886d7=_0x11b3e9;if(_0x22c58e!==this[_0x2886d7(0x618)])throw new Error(_0x2886d7(0x2ae)+_0x22c58e['status']+_0x2886d7(0x365)+_0x9d2944[_0x2886d7(0x37c)]+_0x2886d7(0x509)+this['_state']['status']);this[_0x2886d7(0x2a2)](_0x9d2944);},'onSendChangeset':_0x385832=>{const _0x5d05f2=_0x11b3e9;_0x385832['sid']||(_0x385832[_0x5d05f2(0x2af)]=this[_0x5d05f2(0x3be)],_0x385832[_0x5d05f2(0x31e)]=++this[_0x5d05f2(0x5d9)]);const _0x2ff368={'eventID':_0x215e4a[_0x5d05f2(0x27c)][_0x5d05f2(0x1a1)],'data':{'unitID':_0x385832[_0x5d05f2(0x2d1)],'unitType':this[_0x5d05f2(0x57f)],'changeset':_0x385832,'memberID':this[_0x5d05f2(0x593)]['getMemberID']()}};this[_0x5d05f2(0x593)][_0x5d05f2(0x5aa)](_0x2ff368,this[_0x5d05f2(0x2d1)]);},'onMissingChangesets':({from:_0x3cd0d3,to:_0x1b4e53})=>{const _0x43e8c7=_0x11b3e9;this['_logService'][_0x43e8c7(0x472)]('[CollaborationEntity]',_0x43e8c7(0x3fb)+_0x3cd0d3+_0x43e8c7(0x1f6)+_0x1b4e53);const _0x4c61d6={'eventID':_0x215e4a[_0x43e8c7(0x27c)][_0x43e8c7(0x468)],'data':{'unitID':_0x3d2b0e,'unitType':this['_type'],'from':_0x3cd0d3,'to':_0x1b4e53}};this[_0x43e8c7(0x593)][_0x43e8c7(0x5aa)](_0x4c61d6,this[_0x43e8c7(0x2d1)]);}};}async[_0x2fa915(0x28b)](_0x493ade){const _0x2affd3=_0x2fa915;var _0x3c817e,_0x65ec46;const _0x550062=await this[_0x2affd3(0x473)]['loadOfflineData'](this['unitID']),_0x23325f=(_0x3c817e=_0x550062==null?void 0x0:_0x550062[_0x2affd3(0x4d3)])!=null?_0x3c817e:[],_0x28e1ca=(_0x65ec46=_0x550062==null?void 0x0:_0x550062[_0x2affd3(0x32b)])!=null?_0x65ec46:null,_0x7e3219=!!(_0x28e1ca!=null&&_0x28e1ca[_0x2affd3(0x2af)])&&!!(_0x28e1ca!=null&&_0x28e1ca['reqId']);this[_0x2affd3(0x3be)]=_0x7e3219?_0x28e1ca['sid']:_0x5c1a92(),this[_0x2affd3(0x5d9)]=_0x7e3219?_0x28e1ca['reqId']:0x0;const _0x5f1928=this['unitID'];try{this[_0x2affd3(0x571)](_0x28e1ca,_0x23325f);}catch(_0x3a35d2){this[_0x2affd3(0x43a)]['error'](_0x3a35d2);}const _0x227079=this['_createHandler']();if(_0x493ade){const _0x359e0f=_0x35d86a(this[_0x2affd3(0x60e)],_0x5f1928,this[_0x2affd3(0x57f)],_0x28e1ca,_0x23325f,_0x227079);return _0x359e0f instanceof _0x1fcb0c?_0x359e0f['_schedule']():(_0x359e0f instanceof _0x471081||_0x359e0f instanceof _0x38c50b)&&_0x359e0f['resend'](),_0x359e0f;}return this[_0x2affd3(0x60e)][_0x2affd3(0x489)](_0x1ccc4c,_0x5f1928,this[_0x2affd3(0x57f)],_0x28e1ca,_0x23325f,_0x227079);}[_0x2fa915(0x571)](_0xd8f2fb,_0x58644c){const _0x22df37=_0x2fa915;var _0x3d5b62,_0x4fa3c1;const _0x3a59e3=this[_0x22df37(0x576)]['interceptor'][_0x22df37(0x606)](this[_0x22df37(0x576)][_0x22df37(0x36c)][_0x22df37(0x51d)]()[_0x22df37(0x32e)]);(_0x3d5b62=_0x3a59e3((_0xd8f2fb==null?void 0x0:_0xd8f2fb['mutations'])||[],null))==null||_0x3d5b62['forEach'](_0x30a71a=>this[_0x22df37(0x1a3)]['executeCommand'](_0x30a71a['id'],_0x30a71a[_0x22df37(0x548)])),(_0x4fa3c1=_0x3a59e3(_0x58644c||[],null))==null||_0x4fa3c1[_0x22df37(0x34b)](_0x434145=>this[_0x22df37(0x1a3)][_0x22df37(0x3c6)](_0x434145['id'],_0x434145[_0x22df37(0x548)]));}},_0x539c7e[_0x2fa915(0x270)]=_0x1fb106([_0x419db5(0x3,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x419db5(0x4,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x408)])),_0x419db5(0x5,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a[_0x2fa915(0x2d5)])),_0x419db5(0x6,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x1e2)])),_0x419db5(0x7,_0x4587e1['Inject'](_0x215e4a[_0x2fa915(0x518)])),_0x419db5(0x8,_0x4587e1['ILogService']),_0x419db5(0x9,_0x4587e1['ICommandService']),_0x419db5(0xa,_0x3163bd[_0x2fa915(0x259)]),_0x419db5(0xb,_0x4587e1[_0x2fa915(0x220)]),_0x419db5(0xc,_0x4587e1['Optional'](_0x426f76))],_0x539c7e[_0x2fa915(0x270)]),_0x539c7e[_0x2fa915(0x381)]=class extends _0x539c7e[_0x2fa915(0x270)]{constructor(_0x257a5d,_0x53e77d,_0x411073,_0x2f9c71,_0x1d7c6b,_0x2bdc60,_0x55ec36,_0x2e9477,_0x5231ca,_0x17b84c,_0xa665b0,_0x419e3a,_0x34ac59,_0x5d1717,_0x48cf8d,_0x3d7fa8,_0x38d977,_0x465550){const _0x14bf0b=_0x2fa915;super(_0x257a5d,_0x411073,_0x53e77d,_0x2f9c71,_0x1d7c6b,_0x2bdc60,_0x55ec36,_0x2e9477,_0x5d1717,_0x48cf8d,_0x3d7fa8,_0x38d977,_0x465550),this[_0x14bf0b(0x2d1)]=_0x257a5d,this[_0x14bf0b(0x178)]=_0x53e77d,this['_docStateChangeManagerService']=_0x5231ca,this[_0x14bf0b(0x284)]=_0x17b84c,this[_0x14bf0b(0x362)]=_0xa665b0,this[_0x14bf0b(0x4df)]=_0x419e3a,this[_0x14bf0b(0x5e4)]=_0x34ac59;}[_0x2fa915(0x50f)](){const _0x33391a=_0x2fa915,_0x480f09=super[_0x33391a(0x50f)]();return _0x480f09[_0x33391a(0x3ce)]=_0x4f15a1=>this[_0x33391a(0x284)][_0x33391a(0x5cd)](_0x4f15a1),_0x480f09['onTransformState']=_0x4ac715=>this[_0x33391a(0x362)][_0x33391a(0x52a)](_0x4ac715),_0x480f09[_0x33391a(0x247)]=_0x31271d=>this['_docTransformSelectionsService'][_0x33391a(0x282)](_0x31271d),_0x480f09[_0x33391a(0x3ae)]=_0x456f31=>this[_0x33391a(0x5e4)][_0x33391a(0x475)](_0x456f31),_0x480f09[_0x33391a(0x39b)]=_0x367545=>this[_0x33391a(0x284)][_0x33391a(0x543)](_0x367545),_0x480f09[_0x33391a(0x3aa)]=_0x319238=>this['_docTransformStateCacheService'][_0x33391a(0x543)](_0x319238),_0x480f09;}async['_init'](){const _0x4f6925=_0x2fa915,_0x461cf8=await super[_0x4f6925(0x16f)]();return this[_0x4f6925(0x16d)]['docStateChange$'][_0x4f6925(0x276)](_0x3eec93[_0x4f6925(0x2b3)](this[_0x4f6925(0x1ad)]))[_0x4f6925(0x447)](_0x1e6746=>{const _0x4869e9=_0x4f6925;if(_0x1e6746==null)return;const {unitId:_0xdd242b,redoState:_0x8362fe,commandId:_0x279766}=_0x1e6746;if(_0xdd242b!==this['unitID'])return;const _0xe07940={'id':_0x279766,'type':_0x4587e1['CommandType'][_0x4869e9(0x5c9)],'params':{'unitId':_0xdd242b,'actions':_0x8362fe[_0x4869e9(0x515)],'textRanges':null}};this[_0x4869e9(0x30a)](_0xe07940);}),_0x461cf8;}},_0x539c7e[_0x2fa915(0x381)]=_0x1fb106([_0x419db5(0x3,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x419db5(0x4,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x408)])),_0x419db5(0x5,_0x4587e1['Inject'](_0x215e4a[_0x2fa915(0x2d5)])),_0x419db5(0x6,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x1e2)])),_0x419db5(0x7,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a[_0x2fa915(0x518)])),_0x419db5(0x8,_0x4587e1[_0x2fa915(0x42b)](_0x28eee7[_0x2fa915(0x1c7)])),_0x419db5(0x9,_0x4587e1[_0x2fa915(0x42b)](_0xf435ee)),_0x419db5(0xa,_0x4587e1[_0x2fa915(0x42b)](_0x952708)),_0x419db5(0xb,_0x4587e1[_0x2fa915(0x42b)](_0x2e0132)),_0x419db5(0xc,_0x4587e1[_0x2fa915(0x42b)](_0x54132e)),_0x419db5(0xd,_0x4587e1[_0x2fa915(0x62b)]),_0x419db5(0xe,_0x4587e1[_0x2fa915(0x60b)]),_0x419db5(0xf,_0x3163bd[_0x2fa915(0x259)]),_0x419db5(0x10,_0x4587e1[_0x2fa915(0x220)]),_0x419db5(0x11,_0x4587e1[_0x2fa915(0x412)](_0x426f76))],_0x539c7e[_0x2fa915(0x381)]),_0x539c7e['SheetCollaborationEntity']=class extends _0x539c7e[_0x2fa915(0x270)]{constructor(_0x1a0d9b,_0x3c27c4,_0x1e6706,_0x360db0,_0x2d2682,_0x609ac0,_0x5202d3,_0x3bca6e,_0x38e18b,_0x19b401,_0x1586ca,_0x290d3c,_0x25d25f,_0x1f8c5f){const _0x437358=_0x2fa915;super(_0x1a0d9b,_0x1e6706,_0x3c27c4,_0x360db0,_0x2d2682,_0x609ac0,_0x5202d3,_0x3bca6e,_0x19b401,_0x1586ca,_0x290d3c,_0x25d25f,_0x1f8c5f),this[_0x437358(0x2d1)]=_0x1a0d9b,this[_0x437358(0x178)]=_0x3c27c4,this[_0x437358(0x470)]=_0x38e18b;}[_0x2fa915(0x50f)](){const _0x34c665=_0x2fa915,_0x22e247=super[_0x34c665(0x50f)]();return _0x22e247[_0x34c665(0x247)]=_0x4d4697=>this[_0x34c665(0x470)][_0x34c665(0x282)](_0x4d4697),_0x22e247;}async['_init'](){const _0x3bad4b=_0x2fa915,_0x40698d=await super[_0x3bad4b(0x16f)]();return this[_0x3bad4b(0x211)](this[_0x3bad4b(0x1a3)][_0x3bad4b(0x1b5)]((_0x271f8b,_0x4e99a6)=>{const _0x482f98=_0x3bad4b;if(_0x271f8b[_0x482f98(0x178)]!==_0x4587e1[_0x482f98(0x2b1)][_0x482f98(0x5c9)]||_0x4e99a6!=null&&_0x4e99a6['fromCollab']||_0x4e99a6!=null&&_0x4e99a6['onlyLocal'])return;const _0x341115=_0x271f8b[_0x482f98(0x548)];if((_0x341115==null?void 0x0:_0x341115[_0x482f98(0x4f8)])!==this[_0x482f98(0x2d1)])return;const _0x181224=_0x271f8b,_0x31ef09=this[_0x482f98(0x576)][_0x482f98(0x36c)][_0x482f98(0x606)](this[_0x482f98(0x576)][_0x482f98(0x36c)]['getInterceptPoints']()[_0x482f98(0x41b)])([_0x181224],null)||[_0x181224];this[_0x482f98(0x30a)](_0x31ef09[0x0]);})),_0x40698d;}},_0x539c7e[_0x2fa915(0x2ba)]=_0x1fb106([_0x419db5(0x3,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x419db5(0x4,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x408)])),_0x419db5(0x5,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a[_0x2fa915(0x2d5)])),_0x419db5(0x6,_0x4587e1['Inject'](_0x4587e1[_0x2fa915(0x1e2)])),_0x419db5(0x7,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a[_0x2fa915(0x518)])),_0x419db5(0x8,_0x4587e1[_0x2fa915(0x42b)](_0x2a0fa4)),_0x419db5(0x9,_0x4587e1[_0x2fa915(0x62b)]),_0x419db5(0xa,_0x4587e1['ICommandService']),_0x419db5(0xb,_0x3163bd[_0x2fa915(0x259)]),_0x419db5(0xc,_0x4587e1[_0x2fa915(0x220)]),_0x419db5(0xd,_0x4587e1[_0x2fa915(0x412)](_0x426f76))],_0x539c7e[_0x2fa915(0x2ba)]);var _0x445614=Object[_0x2fa915(0x44e)],_0x444049=Object['getOwnPropertyDescriptor'],_0x12e233=(_0x1722c3,_0x273efd,_0xf2fc86,_0x5cf9dd)=>{const _0xa2348=_0x2fa915;for(var _0x3f0b22=_0x5cf9dd>0x1?void 0x0:_0x5cf9dd?_0x444049(_0x273efd,_0xf2fc86):_0x273efd,_0x4a3798=_0x1722c3[_0xa2348(0x4d9)]-0x1,_0x37318e;_0x4a3798>=0x0;_0x4a3798--)(_0x37318e=_0x1722c3[_0x4a3798])&&(_0x3f0b22=(_0x5cf9dd?_0x37318e(_0x273efd,_0xf2fc86,_0x3f0b22):_0x37318e(_0x3f0b22))||_0x3f0b22);return _0x5cf9dd&&_0x3f0b22&&_0x445614(_0x273efd,_0xf2fc86,_0x3f0b22),_0x3f0b22;},_0x474c4f=(_0xedd5f7,_0x3a7556)=>(_0x223c6b,_0x24122e)=>_0x3a7556(_0x223c6b,_0x24122e,_0xedd5f7);_0x539c7e[_0x2fa915(0x38e)]=class extends _0x4587e1[_0x2fa915(0x5b2)]{constructor(_0xf8f32b,_0x33b0db,_0x2fc08d){const _0x21551a=_0x2fa915;super(),_0x339ceb(this,'_entities',new Map()),_0x339ceb(this,_0x21551a(0x308),new _0x3eec93['Subject']()),(this[_0x21551a(0x60e)]=_0xf8f32b,this[_0x21551a(0x23a)]=_0x33b0db,this['_univerInstanceService']=_0x2fc08d,this[_0x21551a(0x16f)]());}['dispose'](){const _0x5d7655=_0x2fa915;super['dispose'](),this[_0x5d7655(0x21f)]['forEach'](_0x20c942=>_0x20c942[_0x5d7655(0x3ea)]()),this[_0x5d7655(0x21f)]['clear']();}[_0x2fa915(0x379)](_0xfd2f40){const _0x2b286e=_0x2fa915;var _0x363315;return(_0x363315=this[_0x2b286e(0x21f)][_0x2b286e(0x4a0)](_0xfd2f40))!=null?_0x363315:null;}[_0x2fa915(0x3e6)](_0x3c110c){const _0xf68c3e=_0x2fa915,_0x282e9f=this[_0xf68c3e(0x379)](_0x3c110c);return _0x282e9f?_0x3eec93['of'](_0x282e9f):this['_entityInit$']['pipe'](_0x18f07e[_0xf68c3e(0x333)](_0x40fc7b=>_0x40fc7b[_0xf68c3e(0x2d1)]===_0x3c110c));}[_0x2fa915(0x16f)](){const _0x42dea5=_0x2fa915;this[_0x42dea5(0x3c1)][_0x42dea5(0x39e)](_0x4587e1['UniverInstanceType'][_0x42dea5(0x3ee)])['pipe'](_0x3eec93['takeUntil'](this[_0x42dea5(0x1ad)]),_0x18f07e[_0x42dea5(0x4d0)](0x10))[_0x42dea5(0x447)](async _0x51442b=>{const _0x3b8be8=_0x42dea5,_0x1d25c4=_0x51442b[_0x3b8be8(0x1d9)](),_0x2b3ec6=await this[_0x3b8be8(0x4cf)](_0x1d25c4,_0xad4019[_0x3b8be8(0x3ee)]);this[_0x3b8be8(0x21f)][_0x3b8be8(0x498)](_0x1d25c4,_0x2b3ec6);}),this[_0x42dea5(0x3c1)]['getTypeOfUnitAdded$'](_0x4587e1[_0x42dea5(0x637)]['UNIVER_DOC'])[_0x42dea5(0x276)](_0x3eec93['takeUntil'](this[_0x42dea5(0x1ad)]),_0x18f07e['delay'](0x10))[_0x42dea5(0x276)](_0x18f07e[_0x42dea5(0x333)](_0x1ace69=>!_0x1ace69[_0x42dea5(0x1d9)]()['startsWith']('__')))[_0x42dea5(0x447)](async _0x2f488b=>{const _0x3a1181=_0x42dea5,_0x3ccb4c=_0x2f488b['getUnitId'](),_0x1cc6eb=await this[_0x3a1181(0x4cf)](_0x3ccb4c,_0xad4019[_0x3a1181(0x27b)]);this[_0x3a1181(0x21f)][_0x3a1181(0x498)](_0x3ccb4c,_0x1cc6eb);}),_0x3eec93[_0x42dea5(0x538)](this[_0x42dea5(0x3c1)][_0x42dea5(0x267)](_0x4587e1['UniverInstanceType']['UNIVER_SHEET']),this[_0x42dea5(0x3c1)][_0x42dea5(0x267)](_0x4587e1[_0x42dea5(0x637)]['UNIVER_DOC']))[_0x42dea5(0x276)](_0x3eec93[_0x42dea5(0x2b3)](this[_0x42dea5(0x1ad)]))[_0x42dea5(0x447)](_0x3a8d6c=>{const _0xd03768=_0x42dea5,_0x22de57=_0x3a8d6c[_0xd03768(0x1d9)](),_0x2d53e5=this['_entities'][_0xd03768(0x4a0)](_0x22de57);_0x2d53e5&&(_0x2d53e5[_0xd03768(0x3ea)](),this[_0xd03768(0x21f)][_0xd03768(0x4e2)](_0x22de57));});}async[_0x2fa915(0x4cf)](_0xcf79d8,_0x4a5bcf){const _0x2a8f4f=_0x2fa915,_0x123cc2=await this[_0x2a8f4f(0x23a)][_0x2a8f4f(0x3ef)](_0xcf79d8),_0x5ba1bb=this[_0x2a8f4f(0x60e)][_0x2a8f4f(0x489)](this['_getCtorByUniverType'](_0x4a5bcf),_0xcf79d8,_0x4a5bcf,_0x123cc2);return await _0x5ba1bb['init'](),this[_0x2a8f4f(0x308)]['next'](_0x5ba1bb),_0x5ba1bb;}['_getCtorByUniverType'](_0x50274d){const _0x36bfd6=_0x2fa915;switch(_0x50274d){case _0xad4019[_0x36bfd6(0x27b)]:return _0x539c7e['DocCollaborationEntity'];case _0xad4019[_0x36bfd6(0x3ee)]:return _0x539c7e[_0x36bfd6(0x2ba)];default:throw new Error(_0x36bfd6(0x31c)+_0x50274d);}}},_0x539c7e[_0x2fa915(0x38e)]=_0x12e233([_0x474c4f(0x0,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1['Injector'])),_0x474c4f(0x1,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x240)])),_0x474c4f(0x2,_0x4587e1[_0x2fa915(0x53b)])],_0x539c7e[_0x2fa915(0x38e)]);const _0x48a2d0=[_0x2fa915(0x224),_0x2fa915(0x400),_0x2fa915(0x18f),_0x2fa915(0x4a4),_0x2fa915(0x4e1),'gold400'];class _0x1938ad extends _0x4587e1[_0x2fa915(0x552)]{constructor(){const _0x8147b9=_0x2fa915;super(...arguments),_0x339ceb(this,_0x8147b9(0x37d),new Map()),_0x339ceb(this,_0x8147b9(0x269),0x0);}[_0x2fa915(0x3ac)](_0xc9eb0f){const _0x4c95d1=_0x2fa915;if(this['_assignedColors'][_0x4c95d1(0x364)](_0xc9eb0f))return this['_assignedColors'][_0x4c95d1(0x4a0)](_0xc9eb0f);const _0x16af2d=_0x48a2d0[this[_0x4c95d1(0x269)]];return this[_0x4c95d1(0x269)]=(this[_0x4c95d1(0x269)]+0x1)%_0x48a2d0['length'],this['_assignedColors'][_0x4c95d1(0x498)](_0xc9eb0f,_0x16af2d),_0x16af2d;}}var _0x5efd2e=Object[_0x2fa915(0x44e)],_0x22fc1c=Object['getOwnPropertyDescriptor'],_0x1ff821=(_0xd20d63,_0x4ba2b8,_0x17663b,_0x512c63)=>{const _0x311e25=_0x2fa915;for(var _0x154c50=_0x512c63>0x1?void 0x0:_0x512c63?_0x22fc1c(_0x4ba2b8,_0x17663b):_0x4ba2b8,_0x249ac6=_0xd20d63[_0x311e25(0x4d9)]-0x1,_0x437473;_0x249ac6>=0x0;_0x249ac6--)(_0x437473=_0xd20d63[_0x249ac6])&&(_0x154c50=(_0x512c63?_0x437473(_0x4ba2b8,_0x17663b,_0x154c50):_0x437473(_0x154c50))||_0x154c50);return _0x512c63&&_0x154c50&&_0x5efd2e(_0x4ba2b8,_0x17663b,_0x154c50),_0x154c50;},_0x40bee8=(_0x585283,_0xbfcc36)=>(_0x33dbc6,_0x15018d)=>_0xbfcc36(_0x33dbc6,_0x15018d,_0x585283);const _0x1f44d4=0x12c,_0x2ea8e0=0x64;let _0x534f53=class extends _0x4587e1[_0x2fa915(0x5b2)]{constructor(_0x4313c2,_0x86c976,_0x8f27e0,_0x564150,_0x2e06b6,_0x3cb10c,_0x416fe6,_0x4fe48c,_0x45235c){const _0x488469=_0x2fa915;super(),_0x339ceb(this,_0x488469(0x2a7),!0x1),_0x339ceb(this,'_init',!0x1),_0x339ceb(this,_0x488469(0x406),new _0x3eec93['BehaviorSubject'](new Map())),_0x339ceb(this,'cursorInfo$',this[_0x488469(0x406)][_0x488469(0x630)]()),_0x339ceb(this,_0x488469(0x5de),new _0x3eec93['BehaviorSubject']([])),_0x339ceb(this,_0x488469(0x237),this[_0x488469(0x5de)]['pipe'](_0x3eec93['debounceTime'](_0x1f44d4))),_0x339ceb(this,'_updateLocalCursor',_0x4587e1[_0x488469(0x625)](_0x5cdeff=>{const _0x5f1ed5=_0x488469,_0x12e138={'eventID':_0x215e4a[_0x5f1ed5(0x27c)][_0x5f1ed5(0x354)],'data':{'unitID':this['unitID'],'memberID':this[_0x5f1ed5(0x286)][_0x5f1ed5(0x4c8)](),'selection':_0xfb0b4(_0x5cdeff)}};this[_0x5f1ed5(0x286)]['send'](_0x12e138,this['unitID']);},_0x2ea8e0)),(this[_0x488469(0x2d1)]=_0x4313c2,this[_0x488469(0x286)]=_0x86c976,this[_0x488469(0x60e)]=_0x8f27e0,this['_colorAssignService']=_0x564150,this[_0x488469(0x226)]=_0x2e06b6,this['_syncEditingCollabCursorService']=_0x3cb10c,this[_0x488469(0x493)]=_0x416fe6,this[_0x488469(0x3c1)]=_0x4fe48c,this['_commandService']=_0x45235c);}get['cursorInfo'](){const _0x1c5a17=_0x2fa915;return this[_0x1c5a17(0x406)][_0x1c5a17(0x262)]();}get[_0x2fa915(0x28c)](){const _0x4a6a14=_0x2fa915;return this[_0x4a6a14(0x5de)][_0x4a6a14(0x262)]();}[_0x2fa915(0x3ea)](){const _0x57bb4b=_0x2fa915;super[_0x57bb4b(0x3ea)](),this[_0x57bb4b(0x406)][_0x57bb4b(0x1c9)](new Map()),this[_0x57bb4b(0x406)][_0x57bb4b(0x2e2)](),this[_0x57bb4b(0x5de)][_0x57bb4b(0x1c9)]([]),this[_0x57bb4b(0x5de)]['complete']();}[_0x2fa915(0x558)](){const _0x2f888c=_0x2fa915;this[_0x2f888c(0x16f)]||(this[_0x2f888c(0x16f)]=!0x0,this[_0x2f888c(0x286)]['sessionStatus$'][_0x2f888c(0x276)](_0x3eec93['takeUntil'](this[_0x2f888c(0x1ad)]))['subscribe'](_0x23994a=>{const _0x546a8e=_0x2f888c;_0x23994a===_0x474ede[_0x546a8e(0x36e)]?this[_0x546a8e(0x549)]():this[_0x546a8e(0x183)]();}),this[_0x2f888c(0x286)][_0x2f888c(0x4ca)]['pipe'](_0x3eec93[_0x2f888c(0x2b3)](this[_0x2f888c(0x1ad)]))[_0x2f888c(0x447)](_0x242c16=>{const _0x14ef30=_0x2f888c,_0x561468=_0x242c16[_0x14ef30(0x526)];_0x561468===_0x215e4a['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x14ef30(0x624)](_0x242c16),_0x561468===_0x215e4a[_0x14ef30(0x27c)][_0x14ef30(0x614)]&&this['_onCursorDelete'](_0x242c16);}),this[_0x2f888c(0x211)](this[_0x2f888c(0x1a3)]['onCommandExecuted'](_0x13ca99=>{const _0x157aeb=_0x2f888c,_0x979f3a=_0x13ca99['params'];_0x979f3a!=null&&this[_0x157aeb(0x2a7)]&&_0x13ca99['id']===_0x4844e7[_0x157aeb(0x21d)]['id']&&_0x979f3a[_0x157aeb(0x4f8)]===this[_0x157aeb(0x2d1)]&&_0x979f3a['isEditing']===!0x1&&_0x979f3a['ranges'][_0x157aeb(0x4d9)]>0x0&&this[_0x157aeb(0x3f5)](_0x979f3a[_0x157aeb(0x5dd)]);})),this[_0x2f888c(0x40c)]['collabCursorState$'][_0x2f888c(0x276)](_0x3eec93[_0x2f888c(0x2b3)](this['dispose$']))[_0x2f888c(0x447)](_0x11dc63=>{const _0x15f180=_0x2f888c;if((_0x11dc63==null?void 0x0:_0x11dc63[_0x15f180(0x2d1)])!==this[_0x15f180(0x2d1)])return;const _0x3286e6={'eventID':_0x215e4a[_0x15f180(0x27c)][_0x15f180(0x354)],'data':_0x11dc63};this[_0x15f180(0x624)](_0x3286e6);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x250194=>{const _0x1a6761=_0x2f888c;if(_0x250194['params']==null)return;const _0x2a9894=_0x250194[_0x1a6761(0x548)];if(_0x250194['id']!==_0x4844e7['RichTextEditingMutation']['id']||_0x2a9894[_0x1a6761(0x4f8)]!==this[_0x1a6761(0x2d1)])return;const _0x4a800c={'id':'doc.mutation.rich-text-editing','params':_0x2a9894},_0x4fe1c7=this[_0x1a6761(0x3c2)];for(const [_0x3f6889,_0x167a27]of _0x4fe1c7){const _0x42c960={'id':_0x1a6761(0x50a),'params':{'unitId':this[_0x1a6761(0x2d1)],'actions':null,'textRanges':_0x167a27[_0x1a6761(0x5dd)]}},_0x488af8=this[_0x1a6761(0x493)][_0x1a6761(0x2cb)](_0x4a800c,_0x42c960,!0x1);if(_0x215e4a[_0x1a6761(0x3de)](_0x488af8))throw _0x488af8[_0x1a6761(0x3a9)];_0x4fe1c7[_0x1a6761(0x498)](_0x3f6889,{..._0x167a27,'ranges':_0x488af8['m2Prime'][_0x1a6761(0x548)][_0x1a6761(0x1a8)]});}queueMicrotask(()=>{const _0x4c0176=_0x1a6761;this[_0x4c0176(0x406)][_0x4c0176(0x1c9)](_0x4fe1c7);});})));}[_0x2fa915(0x624)](_0x25fa04){const _0x8e5298=_0x2fa915;var _0x198d4b,_0x54a690;const {memberID:_0x3bc192,selection:_0x66ffd4}=_0x25fa04[_0x8e5298(0x273)],_0x3b7567=_0x4169a4(_0x66ffd4),_0xceafd6=(_0x54a690=(_0x198d4b=this[_0x8e5298(0x226)][_0x8e5298(0x438)](this[_0x8e5298(0x2d1)],_0x3bc192))==null?void 0x0:_0x198d4b[_0x8e5298(0x59e)])!=null?_0x54a690:_0x8e5298(0x35d),_0x45a09c={'color':this[_0x8e5298(0x474)][_0x8e5298(0x3ac)](_0x3bc192),'name':_0xceafd6,'ranges':_0x3b7567},_0x4815cc=this[_0x8e5298(0x3c2)];_0x4815cc['set'](_0x3bc192,_0x45a09c),this[_0x8e5298(0x406)][_0x8e5298(0x1c9)](_0x4815cc);}['_onCursorDelete'](_0x766da7){const _0x55a560=_0x2fa915,{memberID:_0x1246ce}=_0x766da7[_0x55a560(0x273)],_0x21a537=this[_0x55a560(0x3c2)];_0x21a537[_0x55a560(0x4e2)](_0x1246ce),this[_0x55a560(0x406)][_0x55a560(0x1c9)](_0x21a537);}[_0x2fa915(0x549)](){const _0x103691=_0x2fa915;var _0x51c284;if(this['_online']=!0x0,((_0x51c284=this[_0x103691(0x3c1)]['getFocusedUnit']())==null?void 0x0:_0x51c284['getUnitId']())!==this['unitID'])return;const _0x55d607=this['_injector'][_0x103691(0x4a0)](_0x4844e7[_0x103691(0x2f2)])[_0x103691(0x52f)]();Array[_0x103691(0x330)](_0x55d607)&&_0x55d607[_0x103691(0x4d9)]>0x0&&this[_0x103691(0x3f5)](_0x55d607);}[_0x2fa915(0x183)](){const _0x3da7e3=_0x2fa915;this[_0x3da7e3(0x2a7)]=!0x1;}};_0x534f53=_0x1ff821([_0x40bee8(0x2,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x40bee8(0x3,_0x4587e1['Inject'](_0x1938ad)),_0x40bee8(0x4,_0x4587e1['Inject'](_0x539c7e['MemberService'])),_0x40bee8(0x5,_0x4587e1[_0x2fa915(0x42b)](_0x54132e)),_0x40bee8(0x6,_0x215e4a[_0x2fa915(0x34d)]),_0x40bee8(0x7,_0x4587e1[_0x2fa915(0x53b)]),_0x40bee8(0x8,_0x4587e1[_0x2fa915(0x60b)])],_0x534f53);var _0x2d96c8=Object[_0x2fa915(0x44e)],_0x26284d=Object['getOwnPropertyDescriptor'],_0x57ec7f=(_0x574dbb,_0x150d3d,_0x47a101,_0x2b4283)=>{const _0x5cbc09=_0x2fa915;for(var _0x1bf225=_0x2b4283>0x1?void 0x0:_0x2b4283?_0x26284d(_0x150d3d,_0x47a101):_0x150d3d,_0x1e3047=_0x574dbb[_0x5cbc09(0x4d9)]-0x1,_0x2a25e7;_0x1e3047>=0x0;_0x1e3047--)(_0x2a25e7=_0x574dbb[_0x1e3047])&&(_0x1bf225=(_0x2b4283?_0x2a25e7(_0x150d3d,_0x47a101,_0x1bf225):_0x2a25e7(_0x1bf225))||_0x1bf225);return _0x2b4283&&_0x1bf225&&_0x2d96c8(_0x150d3d,_0x47a101,_0x1bf225),_0x1bf225;},_0x3111b8=(_0x420337,_0xb89561)=>(_0x23624c,_0x3d441d)=>_0xb89561(_0x23624c,_0x3d441d,_0x420337);const _0x539670=0x12c,_0x10d62e=0x64,_0x12b657=()=>{let _0x27954c=[],_0x15baba=!0x1;return _0x1c23f3=>{_0x27954c['push'](_0x1c23f3),_0x15baba||(_0x15baba=!0x0,setTimeout(()=>{const _0x3e94c3=_0x5275;_0x27954c[_0x3e94c3(0x34b)](_0x2d0fd3=>_0x2d0fd3()),_0x27954c=[],_0x15baba=!0x1;}));};};let _0x369727=class extends _0x4587e1['RxDisposable']{constructor(_0x4c2941,_0x4c3b15,_0x35e79f,_0x5dd89d,_0x2de684,_0x19c720,_0x40661e,_0x363eec){const _0x4043a2=_0x2fa915;super(),_0x339ceb(this,_0x4043a2(0x2a7),!0x1),_0x339ceb(this,_0x4043a2(0x16f),!0x1),_0x339ceb(this,_0x4043a2(0x406),new _0x3eec93[(_0x4043a2(0x29b))](new Map())),_0x339ceb(this,'cursorInfo$',this[_0x4043a2(0x406)][_0x4043a2(0x630)]()),_0x339ceb(this,'_roomMembers$',new _0x3eec93['BehaviorSubject']([])),_0x339ceb(this,'roomMembers$',this[_0x4043a2(0x5de)]['pipe'](_0x3eec93[_0x4043a2(0x579)](_0x539670))),_0x339ceb(this,_0x4043a2(0x3f5),_0x4587e1[_0x4043a2(0x625)]((_0x5447c2,_0x2118f1)=>{const _0x30dab6=_0x4043a2,_0xc7c260={'eventID':_0x215e4a[_0x30dab6(0x27c)][_0x30dab6(0x354)],'data':{'unitID':this[_0x30dab6(0x2d1)],'memberID':this['_session']['getMemberID'](),'selection':_0x5c9de5[_0x30dab6(0x386)](_0x5447c2,_0x2118f1[_0x30dab6(0x307)])}};this[_0x30dab6(0x286)][_0x30dab6(0x5aa)](_0xc7c260,this['unitID']);},_0x10d62e)),(this[_0x4043a2(0x2d1)]=_0x4c2941,this[_0x4043a2(0x286)]=_0x4c3b15,this[_0x4043a2(0x60e)]=_0x35e79f,this[_0x4043a2(0x474)]=_0x5dd89d,this[_0x4043a2(0x226)]=_0x2de684,this[_0x4043a2(0x3c1)]=_0x19c720,this[_0x4043a2(0x1a3)]=_0x40661e,this[_0x4043a2(0x4e8)]=_0x363eec);}get[_0x2fa915(0x3c2)](){const _0x1bbdc4=_0x2fa915;return this[_0x1bbdc4(0x406)][_0x1bbdc4(0x262)]();}get[_0x2fa915(0x28c)](){const _0x537695=_0x2fa915;return this[_0x537695(0x5de)]['getValue']();}[_0x2fa915(0x3ea)](){const _0xdf02b7=_0x2fa915;super[_0xdf02b7(0x3ea)](),this[_0xdf02b7(0x406)][_0xdf02b7(0x1c9)](new Map()),this[_0xdf02b7(0x406)][_0xdf02b7(0x2e2)](),this[_0xdf02b7(0x5de)][_0xdf02b7(0x1c9)]([]),this[_0xdf02b7(0x5de)][_0xdf02b7(0x2e2)]();}[_0x2fa915(0x558)](){const _0x398d08=_0x2fa915;this[_0x398d08(0x16f)]||(this[_0x398d08(0x16f)]=!0x0,this[_0x398d08(0x286)]['sessionStatus$']['pipe'](_0x3eec93[_0x398d08(0x2b3)](this[_0x398d08(0x1ad)]))['subscribe'](_0x4f6263=>{const _0x3a5eb6=_0x398d08;_0x4f6263===_0x474ede[_0x3a5eb6(0x36e)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x398d08(0x286)][_0x398d08(0x4ca)]['pipe'](_0x3eec93['takeUntil'](this[_0x398d08(0x1ad)]))[_0x398d08(0x447)](_0x3f58bc=>{const _0x43a788=_0x398d08,_0x34f8a5=_0x3f58bc[_0x43a788(0x526)];_0x34f8a5===_0x215e4a['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x43a788(0x624)](_0x3f58bc),_0x34f8a5===_0x215e4a['CollaborationEvent'][_0x43a788(0x614)]&&this[_0x43a788(0x44c)](_0x3f58bc);}),this['_onRefRangeChange'](),this[_0x398d08(0x211)](this[_0x398d08(0x1a3)][_0x398d08(0x1b5)](_0xf7b0b6=>{const _0xa079a6=_0x398d08;if(this[_0xa079a6(0x2a7)]&&_0xf7b0b6['id']===_0x27d820[_0xa079a6(0x171)]['id']&&_0xf7b0b6['params'][_0xa079a6(0x4f8)]===this[_0xa079a6(0x2d1)]){const _0x38b8ec=_0xf7b0b6['params'];this[_0xa079a6(0x3f5)](_0x38b8ec[_0xa079a6(0x3f1)],_0x38b8ec[_0xa079a6(0x2bd)][0x0]);}})));}[_0x2fa915(0x624)](_0x3dab1c){const _0x403373=_0x2fa915;var _0x1f1209,_0x2ff2fd;const {memberID:_0xcf4613,selection:_0x3fb387}=_0x3dab1c[_0x403373(0x273)],{sheetName:_0x3c0c49,range:_0x51ee5b}=_0x5c9de5[_0x403373(0x1e8)](_0x3fb387),_0x2f493f={'name':(_0x2ff2fd=(_0x1f1209=this[_0x403373(0x226)]['getMember'](this[_0x403373(0x2d1)],_0xcf4613))==null?void 0x0:_0x1f1209[_0x403373(0x59e)])!=null?_0x2ff2fd:_0x403373(0x35d),'range':this[_0x403373(0x4c3)](_0x3c0c49,_0x51ee5b),'sheetID':_0x3c0c49,'color':this[_0x403373(0x474)][_0x403373(0x3ac)](_0xcf4613),'selection':_0x3fb387},_0x409dee=this[_0x403373(0x3c2)];_0x409dee['set'](_0xcf4613,_0x2f493f),this[_0x403373(0x406)][_0x403373(0x1c9)](_0x409dee);}[_0x2fa915(0x44c)](_0xc1034d){const _0x2328af=_0x2fa915,{memberID:_0x412f7f}=_0xc1034d[_0x2328af(0x273)],_0x32d10d=this[_0x2328af(0x3c2)];_0x32d10d[_0x2328af(0x4e2)](_0x412f7f),this[_0x2328af(0x406)][_0x2328af(0x1c9)](_0x32d10d);}[_0x2fa915(0x4c3)](_0x416cd4,_0x1e1f45){const _0x4987dd=_0x2fa915;var _0x5d04c2,_0x594db2;const _0x3b9ea3=(_0x594db2=(_0x5d04c2=this[_0x4987dd(0x3c1)][_0x4987dd(0x4b1)](this[_0x4987dd(0x2d1)]))==null?void 0x0:_0x5d04c2['getSheetBySheetId'](_0x416cd4))==null?void 0x0:_0x594db2[_0x4987dd(0x1cc)]();return(_0x3b9ea3==null?void 0x0:_0x3b9ea3['find'](_0x3f0c56=>_0x4587e1[_0x4987dd(0x563)][_0x4987dd(0x41a)](_0x3f0c56,_0x1e1f45)))||_0x1e1f45;}[_0x2fa915(0x2be)](){const _0x2d1d3a=_0x2fa915,_0x394a1d=new _0x4587e1[(_0x2d1d3a(0x36f))](),_0x40f3c2=_0x12b657(),_0x7cffdd=()=>{const _0x2125e8=_0x2d1d3a;_0x394a1d[_0x2125e8(0x3ea)]();const _0xa6382d=(_0x4ac610,_0x13b94d,_0x27a64d,_0x20b392)=>{const _0x46a76d=_0x2125e8;let _0x51adce=[];switch(_0x4ac610['id']){case _0x27d820['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x51adce=_0x27d820[_0x46a76d(0x2a8)](_0x4ac610,_0x20b392);break;}case _0x27d820[_0x46a76d(0x1f3)]['DeleteRangeMoveUpCommandId']:{_0x51adce=_0x27d820[_0x46a76d(0x4c2)](_0x4ac610,_0x20b392);break;}case _0x27d820['EffectRefRangId']['InsertColCommandId']:{_0x51adce=_0x27d820[_0x46a76d(0x4d7)](_0x4ac610,_0x20b392);break;}case _0x27d820[_0x46a76d(0x1f3)][_0x46a76d(0x19a)]:{_0x51adce=_0x27d820['handleInsertRangeMoveDown'](_0x4ac610,_0x20b392);break;}case _0x27d820[_0x46a76d(0x1f3)]['InsertRangeMoveRightCommandId']:{_0x51adce=_0x27d820[_0x46a76d(0x4c0)](_0x4ac610,_0x20b392);break;}case _0x27d820['EffectRefRangId'][_0x46a76d(0x5d3)]:{_0x51adce=_0x27d820[_0x46a76d(0x305)](_0x4ac610,_0x20b392);break;}case _0x27d820['EffectRefRangId'][_0x46a76d(0x49d)]:{_0x51adce=_0x27d820['handleMoveRange'](_0x4ac610,_0x20b392);break;}case _0x27d820['EffectRefRangId'][_0x46a76d(0x5e0)]:{_0x51adce=_0x27d820[_0x46a76d(0x540)](_0x4ac610,_0x20b392);break;}case _0x27d820['EffectRefRangId'][_0x46a76d(0x5ec)]:{_0x51adce=_0x27d820[_0x46a76d(0x57c)](_0x4ac610,_0x20b392);break;}}const _0x3440d2=_0x27d820[_0x46a76d(0x4f1)](_0x51adce,_0x20b392),_0x385603=this[_0x46a76d(0x3c2)][_0x46a76d(0x4a0)](_0x13b94d);if(_0x385603&&_0x3440d2){const _0x54e5d4={..._0x385603,'range':_0x3440d2};this[_0x46a76d(0x3c2)][_0x46a76d(0x498)](_0x13b94d,_0x54e5d4),_0x40f3c2(()=>{const _0x4828de=_0x46a76d,_0x198457=this[_0x4828de(0x4e8)][_0x4828de(0x575)](_0x3440d2,_0x3e8671=>(_0x198457[_0x4828de(0x3ea)](),_0xa6382d(_0x3e8671,_0x13b94d,_0x27a64d,_0x3440d2)));_0x394a1d[_0x4828de(0x1db)](_0x198457);});}return{'redos':[],'undos':[]};};this[_0x2125e8(0x3c2)]['forEach']((_0x4789a4,_0x4330c9)=>{const _0x9dfd59=_0x2125e8,{range:_0x22aea1,sheetID:_0x3227d5}=_0x4789a4,_0x41aa82=this[_0x9dfd59(0x4e8)][_0x9dfd59(0x575)](_0x22aea1,_0x407c7e=>(_0x41aa82[_0x9dfd59(0x3ea)](),_0xa6382d(_0x407c7e,_0x4330c9,_0x3227d5,_0x22aea1)));_0x394a1d[_0x9dfd59(0x1db)](_0x41aa82);});};this[_0x2d1d3a(0x211)](_0x4587e1[_0x2d1d3a(0x2a6)](this[_0x2d1d3a(0x406)]['subscribe'](()=>{_0x7cffdd();})));}[_0x2fa915(0x549)](){const _0x15010a=_0x2fa915;var _0x534cbb,_0x2b4d33;if(this[_0x15010a(0x2a7)]=!0x0,((_0x534cbb=this['_univerInstanceService'][_0x15010a(0x2fd)]())==null?void 0x0:_0x534cbb[_0x15010a(0x1d9)]())!==this['unitID'])return;const _0xc4b795=(_0x2b4d33=this[_0x15010a(0x60e)]['get'](_0x27d820[_0x15010a(0x201)])[_0x15010a(0x272)]())==null?void 0x0:_0x2b4d33[0x0],_0x2fcaff=this['_univerInstanceService']['getCurrentUnitForType'](_0x4587e1[_0x15010a(0x637)]['UNIVER_SHEET'])[_0x15010a(0x5ee)]();_0xc4b795&&_0x2fcaff&&this[_0x15010a(0x3f5)](_0x2fcaff[_0x15010a(0x2f7)](),_0xc4b795);}[_0x2fa915(0x183)](){this['_online']=!0x1;}};_0x369727=_0x57ec7f([_0x3111b8(0x2,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x3111b8(0x3,_0x4587e1['Inject'](_0x1938ad)),_0x3111b8(0x4,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x1d1)])),_0x3111b8(0x5,_0x4587e1['IUniverInstanceService']),_0x3111b8(0x6,_0x4587e1['ICommandService']),_0x3111b8(0x7,_0x4587e1[_0x2fa915(0x42b)](_0x27d820[_0x2fa915(0x186)]))],_0x369727);var _0x30ca30=Object[_0x2fa915(0x44e)],_0x27a5f3=Object['getOwnPropertyDescriptor'],_0x1c4b37=(_0x3e14ab,_0x5669b3,_0x2b88be,_0xb45329)=>{const _0x431e68=_0x2fa915;for(var _0x15f226=_0xb45329>0x1?void 0x0:_0xb45329?_0x27a5f3(_0x5669b3,_0x2b88be):_0x5669b3,_0x16dd8d=_0x3e14ab[_0x431e68(0x4d9)]-0x1,_0x1a4e27;_0x16dd8d>=0x0;_0x16dd8d--)(_0x1a4e27=_0x3e14ab[_0x16dd8d])&&(_0x15f226=(_0xb45329?_0x1a4e27(_0x5669b3,_0x2b88be,_0x15f226):_0x1a4e27(_0x15f226))||_0x15f226);return _0xb45329&&_0x15f226&&_0x30ca30(_0x5669b3,_0x2b88be,_0x15f226),_0x15f226;},_0x5a520e=(_0x57d86f,_0x5d1618)=>(_0x1fc65a,_0x3112e3)=>_0x5d1618(_0x1fc65a,_0x3112e3,_0x57d86f);let _0x49f33=class extends _0x4587e1[_0x2fa915(0x5b2)]{constructor(_0x2073e9,_0x146af0,_0x23554d){const _0x5067c3=_0x2fa915;super(),_0x339ceb(this,_0x5067c3(0x21f),new Map()),_0x339ceb(this,'_entityInit$',new _0x3eec93[(_0x5067c3(0x5c5))]()),(this['_univerInstanceService']=_0x2073e9,this[_0x5067c3(0x60e)]=_0x146af0,this[_0x5067c3(0x23a)]=_0x23554d,this[_0x5067c3(0x16f)]());}[_0x2fa915(0x3ea)](){const _0x172693=_0x2fa915;super['dispose'](),this['_entityInit$']['complete'](),this[_0x172693(0x21f)][_0x172693(0x34b)](_0x3de66a=>_0x3de66a[_0x172693(0x3ea)]());}[_0x2fa915(0x55f)](_0x5e741b){const _0x43ac5d=_0x2fa915;return this['_entities'][_0x43ac5d(0x364)](_0x5e741b)?this['_entities']['get'](_0x5e741b)[_0x43ac5d(0x63b)]:this[_0x43ac5d(0x308)]['pipe'](_0x3eec93[_0x43ac5d(0x333)](_0x36dd45=>_0x36dd45[_0x43ac5d(0x2d1)]===_0x5e741b),_0x3eec93[_0x43ac5d(0x42a)](_0x21cfa3=>_0x21cfa3[_0x43ac5d(0x63b)]));}[_0x2fa915(0x16f)](){const _0x5e1318=_0x2fa915;this[_0x5e1318(0x3c1)][_0x5e1318(0x39e)](_0x4587e1[_0x5e1318(0x637)][_0x5e1318(0x3ee)])[_0x5e1318(0x276)](_0x3eec93[_0x5e1318(0x2b3)](this['dispose$']))['subscribe'](async _0x5544f1=>{const _0x2d114c=_0x5e1318,_0x5eee5b=_0x5544f1['getUnitId'](),_0x2fb3ae=await this[_0x2d114c(0x547)](_0x5eee5b);this['_entityInit$']['next'](_0x2fb3ae),this[_0x2d114c(0x21f)][_0x2d114c(0x498)](_0x5eee5b,_0x2fb3ae);}),this[_0x5e1318(0x3c1)][_0x5e1318(0x39e)](_0x4587e1[_0x5e1318(0x637)][_0x5e1318(0x27b)])[_0x5e1318(0x276)](_0x3eec93[_0x5e1318(0x2b3)](this[_0x5e1318(0x1ad)]))[_0x5e1318(0x276)](_0x3eec93['filter'](_0x2d5667=>!_0x2d5667[_0x5e1318(0x1d9)]()[_0x5e1318(0x3cd)]('__')))[_0x5e1318(0x447)](async _0xa138ba=>{const _0x8aa87c=_0x5e1318,_0x599462=_0xa138ba[_0x8aa87c(0x1d9)](),_0x186269=await this['_startDocCollabCursor'](_0x599462);this[_0x8aa87c(0x308)]['next'](_0x186269),this[_0x8aa87c(0x21f)][_0x8aa87c(0x498)](_0x599462,_0x186269);}),_0x3eec93['merge'](this[_0x5e1318(0x3c1)][_0x5e1318(0x267)](_0x4587e1['UniverInstanceType']['UNIVER_DOC']),this[_0x5e1318(0x3c1)]['getTypeOfUnitDisposed$'](_0x4587e1[_0x5e1318(0x637)][_0x5e1318(0x3ee)]))[_0x5e1318(0x276)](_0x3eec93[_0x5e1318(0x2b3)](this[_0x5e1318(0x1ad)]))['subscribe'](_0x627d1c=>{const _0x3bd385=_0x5e1318,_0xe1700a=_0x627d1c['getUnitId'](),_0x35f72c=this['_entities'][_0x3bd385(0x4a0)](_0xe1700a);_0x35f72c&&(_0x35f72c[_0x3bd385(0x3ea)](),this[_0x3bd385(0x21f)]['delete'](_0xe1700a));});}async[_0x2fa915(0x547)](_0x532d9a){const _0xa0405a=_0x2fa915,_0x479195=await this['_collabSessionService']['requireSession'](_0x532d9a),_0x24fc11=this['_injector'][_0xa0405a(0x489)](_0x369727,_0x532d9a,_0x479195);return _0x24fc11['init'](),_0x24fc11;}async[_0x2fa915(0x327)](_0xb532fd){const _0x542164=_0x2fa915,_0x243622=await this['_collabSessionService'][_0x542164(0x3ef)](_0xb532fd),_0x28fc10=this['_injector'][_0x542164(0x489)](_0x534f53,_0xb532fd,_0x243622);return _0x28fc10['init'](),_0x28fc10;}};_0x49f33=_0x1c4b37([_0x5a520e(0x0,_0x4587e1['IUniverInstanceService']),_0x5a520e(0x1,_0x4587e1['Inject'](_0x4587e1[_0x2fa915(0x403)])),_0x5a520e(0x2,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x240)]))],_0x49f33);const _0x474958=0x14,_0x49ca54=0xc8,_0x345858=0x4,_0x241ce8=0x5;function _0x43c737(_0x365e92,_0x19b4a1){const _0x5b03ce=_0x2fa915;let {radius:_0x565354,width:_0x6483c9,height:_0x1188d7}=_0x19b4a1;_0x565354=_0x565354!=null?_0x565354:0x0,_0x6483c9=_0x6483c9!=null?_0x6483c9:0x1e,_0x1188d7=_0x1188d7!=null?_0x1188d7:0x1e;let _0x20c076=0x0,_0x43a374=0x0,_0x1ae651=0x0;_0x20c076=_0x43a374=_0x1ae651=Math[_0x5b03ce(0x5bc)](_0x565354,_0x6483c9/0x2,_0x1188d7/0x2),_0x365e92[_0x5b03ce(0x2f6)](),_0x365e92[_0x5b03ce(0x229)](_0x20c076,0x0),_0x365e92[_0x5b03ce(0x210)](_0x6483c9-_0x43a374,0x0),_0x365e92['arc'](_0x6483c9-_0x43a374,_0x43a374,_0x43a374,Math['PI']*0x3/0x2,0x0,!0x1),_0x365e92['lineTo'](_0x6483c9,_0x1188d7-_0x1ae651),_0x365e92[_0x5b03ce(0x411)](_0x6483c9-_0x1ae651,_0x1188d7-_0x1ae651,_0x1ae651,0x0,Math['PI']/0x2,!0x1),_0x365e92[_0x5b03ce(0x210)](0x0,_0x1188d7),_0x365e92[_0x5b03ce(0x210)](0x0,_0x20c076),_0x365e92[_0x5b03ce(0x411)](_0x20c076,_0x20c076,_0x20c076,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x365e92['closePath'](),_0x19b4a1['fill']&&(_0x365e92[_0x5b03ce(0x528)](),_0x365e92[_0x5b03ce(0x2fc)]=_0x19b4a1[_0x5b03ce(0x3dc)],_0x19b4a1[_0x5b03ce(0x5ef)]==='evenodd'?_0x365e92[_0x5b03ce(0x3dc)](_0x5b03ce(0x422)):_0x365e92['fill'](),_0x365e92[_0x5b03ce(0x59b)]());}class _0x3f182a extends _0x25d31a[_0x2fa915(0x59a)]{constructor(_0x3a4fe3,_0x5d7a90){const _0x2d42dd=_0x2fa915;super(_0x3a4fe3,_0x5d7a90),_0x339ceb(this,_0x2d42dd(0x5f2)),_0x339ceb(this,_0x2d42dd(0x1b8)),(this[_0x2d42dd(0x5f2)]=_0x5d7a90==null?void 0x0:_0x5d7a90['color'],this['text']=_0x5d7a90==null?void 0x0:_0x5d7a90[_0x2d42dd(0x1b8)]);}static['drawWith'](_0x275358,_0x4f2f15){const _0x97908e=_0x2fa915,{text:_0x1580b3,color:_0x4c7f3e}=_0x4f2f15;_0x275358[_0x97908e(0x528)](),_0x275358['font']=_0x97908e(0x514);const _0x2ffe56=_0x275358['measureText'](_0x1580b3)['width'],_0x668eb2=Math[_0x97908e(0x5bc)](_0x2ffe56+0x2*_0x345858,_0x49ca54);_0x43c737(_0x275358,{'height':_0x474958,'radius':0x4,'width':_0x668eb2,'fill':_0x4c7f3e,'evented':!0x1}),_0x275358[_0x97908e(0x2fc)]=_0x97908e(0x444);const _0x52d4c0=_0x345858,_0x4c7643=_0x474958-_0x241ce8,_0x1e3f04=_0x49ca54-0x2*_0x345858;if(_0x2ffe56>_0x1e3f04){let _0x87cbb2='',_0x4995c1=0x0;for(const _0x457e19 of _0x1580b3){const _0x258ec6=_0x275358[_0x97908e(0x22f)](_0x457e19)['width'];if(_0x4995c1+_0x258ec6<=_0x1e3f04-_0x275358['measureText'](_0x97908e(0x535))[_0x97908e(0x207)])_0x87cbb2+=_0x457e19,_0x4995c1+=_0x258ec6;else{_0x87cbb2+='...';break;}}_0x275358[_0x97908e(0x4b9)](_0x87cbb2,_0x52d4c0,_0x4c7643);}else _0x275358['fillText'](_0x1580b3,_0x52d4c0,_0x4c7643);_0x275358[_0x97908e(0x59b)]();}[_0x2fa915(0x1b7)](_0x5c07f0){const _0xb4a133=_0x2fa915;_0x3f182a[_0xb4a133(0x3fa)](_0x5c07f0,this);}}const _0x445438='collab-text-anchor-',_0x409c7e=_0x2fa915(0x54b),_0x588149=_0x2fa915(0x395),_0x4436db=0x6,_0x507225=1.5,_0x368b9b=0x4,_0x26c071=1.5,_0x4ed7eb=_0x2fa915(0x534);class _0x2705b0{constructor(_0x491831,_0x23a541,_0x46acbf,_0x53a9ec){const _0xb72011=_0x2fa915;_0x339ceb(this,_0xb72011(0x47c),[]),_0x339ceb(this,_0xb72011(0x3b1),null),_0x339ceb(this,'_textBubble',null),_0x339ceb(this,_0xb72011(0x3cb),null),_0x339ceb(this,'_hideTimer',null),_0x339ceb(this,_0xb72011(0x309),null),(this['_cursor']=_0x491831,this[_0xb72011(0x619)]=_0x23a541,this[_0xb72011(0x413)]=_0x46acbf,this[_0xb72011(0x315)]=_0x53a9ec,this[_0xb72011(0x299)]());}set[_0x2fa915(0x52b)](_0x2e4aee){const _0x5877a6=_0x2fa915;_0x2e4aee?(this[_0x5877a6(0x3cb)]&&this['_anchorDot'][_0x5877a6(0x527)](),this[_0x5877a6(0x5fb)]&&this['_textBubble'][_0x5877a6(0x1ca)]()):(this['_anchorDot']&&this['_anchorDot']['show'](),this[_0x5877a6(0x5fb)]&&this['_textBubble'][_0x5877a6(0x527)]());}[_0x2fa915(0x3ea)](){const _0x1ff7cc=_0x2fa915;for(const _0x5d5959 of this['_shapes'])_0x5d5959[_0x1ff7cc(0x3ea)]();this['_textBubble']&&this['_textBubble'][_0x1ff7cc(0x3ea)](),this[_0x1ff7cc(0x3cb)]&&this['_anchorDot'][_0x1ff7cc(0x3ea)](),this[_0x1ff7cc(0x3b1)]&&this['_anchor'][_0x1ff7cc(0x3ea)](),this['_eventUnsubscribe']&&this[_0x1ff7cc(0x309)]();}[_0x2fa915(0x299)](){const _0x346c43=_0x2fa915;var _0x41910e;const {_docSkeleton:_0x4808d3,_document:_0x112f7c}=this,{color:_0x457496,name:_0x354d66,ranges:_0x2cc29a}=this['_cursor'],_0x4bf54c=_0x112f7c[_0x346c43(0x2d2)](),{docsLeft:_0x4d340c,docsTop:_0x46731e}=_0x4bf54c,_0x28fd3b=new _0x28eee7[(_0x346c43(0x5e2))](_0x4bf54c,_0x4808d3);for(const {startOffset:_0x30dc5a,endOffset:_0x34c349,rangeType:_0x41c889,segmentId:_0x9a2c2b,segmentPage:_0x1310dd,collapsed:_0x2fd691,isActive:_0x1c6184}of _0x2cc29a){const _0xb8ebf3=_0x4808d3[_0x346c43(0x44d)](_0x30dc5a,!0x0,_0x9a2c2b,_0x1310dd);let _0x2f7550=_0x4808d3[_0x346c43(0x44d)](_0x34c349,!0x0,_0x9a2c2b,_0x1310dd);if(_0x2f7550==null&&(_0x2f7550=_0x4808d3[_0x346c43(0x44d)](_0x34c349-0x1,!0x1,_0x9a2c2b,_0x1310dd)),_0x1c6184){const {contentBoxPointGroup:_0x474462}=_0x28fd3b[_0x346c43(0x204)](_0x2f7550,_0x2f7550);if(_0x474462[_0x346c43(0x4d9)]===0x0)continue;this[_0x346c43(0x3b8)](_0x457496,_0x474462,_0x4d340c,_0x46731e,_0x354d66),this[_0x346c43(0x309)]=this['_handleHover']();}if(!_0x2fd691&&_0xb8ebf3&&_0x2f7550){if(_0x41c889===_0x4587e1[_0x346c43(0x383)][_0x346c43(0x4a1)]){const _0x5adb07=new _0x28eee7[(_0x346c43(0x574))](_0x4bf54c,_0x4808d3),{pointGroup:_0x3d5b2}=(_0x41910e=_0x5adb07['getRangePointData'](_0xb8ebf3,_0x2f7550))!=null?_0x41910e:{};if(_0x3d5b2==null||_0x3d5b2['length']===0x0)continue;this[_0x346c43(0x266)](_0x457496,_0x3d5b2,_0x4d340c,_0x46731e);}else{const {borderBoxPointGroup:_0x1dc958}=_0x28fd3b[_0x346c43(0x204)](_0xb8ebf3,_0x2f7550);if(_0x1dc958[_0x346c43(0x4d9)]===0x0)continue;this[_0x346c43(0x3ad)](_0x457496,_0x1dc958,_0x4d340c,_0x46731e);}}}}[_0x2fa915(0x3b8)](_0x21c175,_0x5173ec,_0x4c7dce,_0x3d1c97,_0x52547f){const _0x4f6d84=_0x2fa915,_0x2f9043=this[_0x4f6d84(0x1b4)](_0x5173ec),{left:_0x9f4e9b,top:_0x4ca0db,height:_0x13390d}=_0x2f9043,_0x296fc9=this['_getScale'](),_0x5979d9=_0x26c071/_0x296fc9,_0xa60324=new _0x25d31a['Rect'](_0x445438+_0x4587e1[_0x4f6d84(0x5f7)][_0x4f6d84(0x334)](_0x4436db),{'left':_0x9f4e9b+_0x4c7dce-_0x5979d9,'top':_0x4ca0db+_0x3d1c97,'height':_0x13390d,'width':_0x507225,'fill':_0x21c175||_0x25d31a[_0x4f6d84(0x58c)](_0x4587e1[_0x4f6d84(0x24e)][_0x4f6d84(0x51a)],0x0),'strokeWidth':_0x5979d9,'stroke':_0x4ed7eb,'evented':!0x0});this[_0x4f6d84(0x3b1)]=_0xa60324,this['_scene']['addObject'](_0xa60324,_0x28eee7[_0x4f6d84(0x1ba)]);const _0x1382fb=new _0x25d31a['Rect'](_0x445438+_0x4587e1[_0x4f6d84(0x5f7)][_0x4f6d84(0x334)](_0x4436db),{'left':_0x9f4e9b+_0x4c7dce-_0x5979d9,'top':_0x4ca0db+_0x3d1c97-_0x368b9b/0x2,'height':_0x368b9b,'width':_0x368b9b,'fill':_0x21c175||_0x25d31a[_0x4f6d84(0x58c)](_0x4587e1[_0x4f6d84(0x24e)][_0x4f6d84(0x51a)],0x0),'strokeWidth':0x0,'stroke':_0x21c175||_0x25d31a['getColor'](_0x4587e1[_0x4f6d84(0x24e)][_0x4f6d84(0x51a)],0x0),'evented':!0x1});this['_anchorDot']=_0x1382fb,this[_0x4f6d84(0x619)][_0x4f6d84(0x2e4)](_0x1382fb,_0x28eee7['TEXT_RANGE_LAYER_INDEX']);const _0x3ca187=new _0x3f182a(_0x445438+_0x4587e1['Tools'][_0x4f6d84(0x334)](_0x4436db),{'left':_0x9f4e9b+_0x4c7dce-_0x5979d9,'top':_0x4ca0db+_0x3d1c97-_0x474958,'text':_0x52547f,'color':_0x21c175});this[_0x4f6d84(0x5fb)]=_0x3ca187,this['_scene'][_0x4f6d84(0x2e4)](_0x3ca187,_0x28eee7[_0x4f6d84(0x1ba)]),this[_0x4f6d84(0x52b)]=!0x1;}['_handleHover'](){const _0x17d268=_0x2fa915,_0x426b54=this[_0x17d268(0x3b1)][_0x17d268(0x34a)][_0x17d268(0x374)](()=>{const _0x2944a9=_0x17d268;this[_0x2944a9(0x52b)]=!0x0;}),_0x4ee122=this[_0x17d268(0x3b1)][_0x17d268(0x420)][_0x17d268(0x374)](()=>{const _0x11405e=_0x17d268;this['_hideTimer']&&clearTimeout(this[_0x11405e(0x5ae)]),this[_0x11405e(0x5ae)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x23b6ff=_0x17d268;_0x426b54[_0x23b6ff(0x2ce)](),_0x4ee122['unsubscribe']();};}[_0x2fa915(0x3ad)](_0x45516a,_0x4961d7,_0xb9f584,_0x173dd1){const _0x20030e=_0x2fa915,_0x419704=new _0x4587e1[(_0x20030e(0x1bb))](_0x45516a)[_0x20030e(0x5e6)](0.2)['toRgbString'](),_0x4e8c61=new _0x25d31a['RegularPolygon'](_0x409c7e+_0x4587e1['Tools'][_0x20030e(0x334)](_0x4436db),{'pointsGroup':_0x4961d7,'fill':_0x419704||_0x25d31a['getColor'](_0x4587e1[_0x20030e(0x24e)][_0x20030e(0x51a)],0.2),'left':_0xb9f584,'top':_0x173dd1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x20030e(0x47c)][_0x20030e(0x367)](_0x4e8c61),this[_0x20030e(0x619)][_0x20030e(0x2e4)](_0x4e8c61,_0x28eee7[_0x20030e(0x1ba)]);}[_0x2fa915(0x266)](_0x582d61,_0x2500b2,_0x49e0cd,_0x6a0d18){const _0x41b8c7=_0x2fa915,_0x1eafc5=new _0x4587e1[(_0x41b8c7(0x1bb))](_0x582d61)[_0x41b8c7(0x5e6)](0.2)[_0x41b8c7(0x601)](),_0x274bd2=new _0x25d31a[(_0x41b8c7(0x51e))](_0x588149+_0x4587e1['Tools'][_0x41b8c7(0x334)](_0x4436db),{'pointsGroup':_0x2500b2,'fill':_0x1eafc5||_0x25d31a[_0x41b8c7(0x58c)](_0x4587e1[_0x41b8c7(0x24e)][_0x41b8c7(0x51a)],0.2),'left':_0x49e0cd,'top':_0x6a0d18,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x41b8c7(0x367)](_0x274bd2),this[_0x41b8c7(0x619)][_0x41b8c7(0x2e4)](_0x274bd2,_0x28eee7[_0x41b8c7(0x1ba)]);}[_0x2fa915(0x1b4)](_0x108a5f){const _0x3b22bc=_0x108a5f[0x0],_0x39c89c=_0x3b22bc[0x0],_0x518d5f=_0x3b22bc[0x2],{x:_0x2abfce,y:_0x4205a8}=_0x39c89c,{x:_0x5e3945,y:_0x1eaeee}=_0x518d5f;return{'left':_0x2abfce,'top':_0x4205a8,'width':_0x5e3945-_0x2abfce,'height':_0x1eaeee-_0x4205a8};}['_getScale'](){const _0x303c47=_0x2fa915,{scaleX:_0x5da447,scaleY:_0x24b828}=this['_scene']['getAncestorScale']();return Math[_0x303c47(0x433)](_0x5da447,_0x24b828);}}var _0x107807=Object[_0x2fa915(0x44e)],_0x422bf8=Object[_0x2fa915(0x569)],_0x3b4f48=(_0xdaa5e4,_0x3174f6,_0x83a4a9,_0x36675e)=>{const _0x489ebc=_0x2fa915;for(var _0x5acf2b=_0x36675e>0x1?void 0x0:_0x36675e?_0x422bf8(_0x3174f6,_0x83a4a9):_0x3174f6,_0x33a8b4=_0xdaa5e4[_0x489ebc(0x4d9)]-0x1,_0x3b9ccb;_0x33a8b4>=0x0;_0x33a8b4--)(_0x3b9ccb=_0xdaa5e4[_0x33a8b4])&&(_0x5acf2b=(_0x36675e?_0x3b9ccb(_0x3174f6,_0x83a4a9,_0x5acf2b):_0x3b9ccb(_0x5acf2b))||_0x5acf2b);return _0x36675e&&_0x5acf2b&&_0x107807(_0x3174f6,_0x83a4a9,_0x5acf2b),_0x5acf2b;},_0x34b871=(_0x554af2,_0xa111a2)=>(_0x21203a,_0x3289d1)=>_0xa111a2(_0x21203a,_0x3289d1,_0x554af2);let _0x33787c=class extends _0x4587e1['RxDisposable']{constructor(_0x392d19,_0x2672c3,_0x1cd875,_0x386034,_0x35937a){const _0x524e30=_0x2fa915;super(),_0x339ceb(this,_0x524e30(0x380),[]),_0x339ceb(this,_0x524e30(0x2db),[]),(this['_context']=_0x392d19,this[_0x524e30(0x355)]=_0x2672c3,this[_0x524e30(0x4af)]=_0x1cd875,this['_commandService']=_0x386034,this[_0x524e30(0x22d)]=_0x35937a,this[_0x524e30(0x16f)]());}[_0x2fa915(0x16f)](){const _0x4ec579=_0x2fa915,_0x4aa8f0=this[_0x4ec579(0x52e)][_0x4ec579(0x4f8)],_0x37742c=this[_0x4ec579(0x355)];this['disposeWithMe'](_0x3eec93[_0x4ec579(0x4eb)]([this['_collabCursorController']['getCollabCursors$'](_0x4aa8f0),this['_themeService'][_0x4ec579(0x4fe)]])[_0x4ec579(0x276)](_0x18f07e[_0x4ec579(0x252)](([_0x25262d,_0x5b7c48])=>({'skeleton':_0x37742c['getSkeleton'](),'cursors':[..._0x25262d[_0x4ec579(0x291)]()][_0x4ec579(0x510)](_0x339970=>({..._0x339970,'color':_0x5b7c48[_0x339970[_0x4ec579(0x5f2)]]}))})))[_0x4ec579(0x447)](_0x2b1209=>{const _0x23605d=_0x4ec579;if(this[_0x23605d(0x609)](),_0x2b1209){const {skeleton:_0x2d6990,cursors:_0x56e72c}=_0x2b1209;this[_0x23605d(0x295)](_0x2d6990,_0x56e72c);}})),this[_0x4ec579(0x368)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0xfff1ee,_0x283975){const _0x1cc87d=_0x2fa915,{scene:_0x32c5ba,mainComponent:_0x18956f}=this['_context'],_0x5bf942=_0x283975[_0x1cc87d(0x252)](_0x5399e5=>new _0x2705b0(_0x5399e5,_0x32c5ba,_0xfff1ee,_0x18956f));this[_0x1cc87d(0x380)]=_0x5bf942,this[_0x1cc87d(0x2db)]=_0x283975;}['_refreshCollabCursors'](){const _0x287559=_0x2fa915;this[_0x287559(0x609)]();const {scene:_0x55a643,mainComponent:_0x793d83}=this[_0x287559(0x52e)],_0x5e2f80=this[_0x287559(0x355)][_0x287559(0x38f)](),_0x293c78=this[_0x287559(0x2db)][_0x287559(0x252)](_0x58f994=>new _0x2705b0(_0x58f994,_0x55a643,_0x5e2f80,_0x793d83));this['_cursorShapes']=_0x293c78;}['_removeCollabCursors'](){const _0x118cd2=_0x2fa915;this[_0x118cd2(0x380)][_0x118cd2(0x34b)](_0x198dcd=>_0x198dcd[_0x118cd2(0x3ea)]()),this[_0x118cd2(0x380)]=[];}[_0x2fa915(0x25f)](){const _0x49d20f=_0x2fa915,_0x5838cc=[_0x28eee7[_0x49d20f(0x461)]['id']];this['disposeWithMe'](this[_0x49d20f(0x1a3)][_0x49d20f(0x1b5)](_0x8e6c15=>{const _0x54fc2f=_0x49d20f;_0x5838cc[_0x54fc2f(0x5c3)](_0x8e6c15['id'])&&_0x8e6c15['params'][_0x54fc2f(0x4f8)]===this['_context'][_0x54fc2f(0x4f8)]&&this['_refreshCollabCursors']();}));}[_0x2fa915(0x368)](){const _0x25aa63=_0x2fa915;this[_0x25aa63(0x211)](_0x4587e1[_0x25aa63(0x342)](this[_0x25aa63(0x52e)][_0x25aa63(0x5b8)][_0x25aa63(0x484)])['pipe'](_0x18f07e['filter'](_0x14b4b8=>_0x14b4b8[_0x25aa63(0x178)]===_0x25d31a['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x25aa63(0x293)]),_0x18f07e['throttleTime'](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x33787c=_0x3b4f48([_0x34b871(0x1,_0x4587e1[_0x2fa915(0x42b)](_0x4844e7[_0x2fa915(0x56d)])),_0x34b871(0x2,_0x4587e1[_0x2fa915(0x42b)](_0x49f33)),_0x34b871(0x3,_0x4587e1['ICommandService']),_0x34b871(0x4,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x4e5)]))],_0x33787c);const _0x2d885c=0x1,_0x1c1233=1.5;class _0x257c8d extends _0x25d31a[_0x2fa915(0x59a)]{constructor(_0x102dc1,_0x33efd6){const _0x5c2a63=_0x2fa915;super(_0x102dc1,_0x33efd6),_0x339ceb(this,_0x5c2a63(0x296)),_0x339ceb(this,_0x5c2a63(0x23e),!0x1),_0x339ceb(this,'_range'),_0x339ceb(this,_0x5c2a63(0x4d8),''),_0x339ceb(this,'_labelPosition',_0x5c2a63(0x5b1)),_0x339ceb(this,_0x5c2a63(0x402)),(_0x33efd6&&this['setShapeProps'](_0x33efd6),this[_0x5c2a63(0x34a)][_0x5c2a63(0x374)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x5c2a63(0x420)][_0x5c2a63(0x374)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x2fa915(0x5f6)](_0x418ba5){const _0x170c1e=_0x2fa915;var _0x52bd0c,_0xd9c107,_0x555e22,_0x5dffd9,_0x3a6e90,_0x919afc;this[_0x170c1e(0x296)]=(_0x52bd0c=_0x418ba5['color'])!=null?_0x52bd0c:this[_0x170c1e(0x296)],this['_hovered']=(_0xd9c107=_0x418ba5['hovered'])!=null?_0xd9c107:this[_0x170c1e(0x23e)],this['_range']=(_0x555e22=_0x418ba5[_0x170c1e(0x307)])!=null?_0x555e22:this[_0x170c1e(0x24f)],this[_0x170c1e(0x4d8)]=(_0x5dffd9=_0x418ba5['name'])!=null?_0x5dffd9:this[_0x170c1e(0x4d8)],this[_0x170c1e(0x620)]=(_0x3a6e90=_0x418ba5['labelPosition'])!=null?_0x3a6e90:this['_labelPosition'],this[_0x170c1e(0x402)]=(_0x919afc=_0x418ba5['backgroundColor'])!=null?_0x919afc:this['_backgroundColor'],this[_0x170c1e(0x4b0)]({'width':_0x418ba5[_0x170c1e(0x207)],'height':_0x418ba5[_0x170c1e(0x599)]});}[_0x2fa915(0x453)](_0x48cdc2){const _0xa57ece=_0x2fa915,{row:_0x19c28a,column:_0x23a9ff}=_0x48cdc2;if(_0x19c28a>=this[_0xa57ece(0x24f)][_0xa57ece(0x2b4)]&&_0x19c28a<=this[_0xa57ece(0x24f)][_0xa57ece(0x572)]&&_0x23a9ff>=this['_range'][_0xa57ece(0x325)]&&_0x23a9ff<=this[_0xa57ece(0x24f)]['endColumn']){this[_0xa57ece(0x5f6)]({'hovered':!0x0});return;}this[_0xa57ece(0x5f6)]({'hovered':!0x1});}['triggerDblclick'](_0x47bd0e){return!0x1;}[_0x2fa915(0x1b7)](_0x171a7c){const _0x379e5b=_0x2fa915;_0x25d31a[_0x379e5b(0x298)][_0x379e5b(0x3fa)](_0x171a7c,{'width':this[_0x379e5b(0x207)],'height':this[_0x379e5b(0x599)],'strokeWidth':_0x1c1233,'stroke':this[_0x379e5b(0x296)],'evented':!0x1,'fill':this[_0x379e5b(0x402)]}),this[_0x379e5b(0x23e)]&&(_0x171a7c['save'](),_0x171a7c[_0x379e5b(0x60c)](0x1,0x0,0x0,0x1,this[_0x379e5b(0x207)],this[_0x379e5b(0x620)]===_0x379e5b(0x54a)?0x0:-_0x474958),_0x3f182a[_0x379e5b(0x3fa)](_0x171a7c,{'text':this[_0x379e5b(0x4d8)],'color':this[_0x379e5b(0x296)]}),_0x171a7c[_0x379e5b(0x59b)]());}}var _0x62d9df=Object['defineProperty'],_0xfeed03=Object[_0x2fa915(0x569)],_0x3d481f=(_0x34d1ba,_0xe4dbd,_0x3b2b36,_0x5c51ed)=>{const _0x406eaa=_0x2fa915;for(var _0x52c2b3=_0x5c51ed>0x1?void 0x0:_0x5c51ed?_0xfeed03(_0xe4dbd,_0x3b2b36):_0xe4dbd,_0xa871b9=_0x34d1ba[_0x406eaa(0x4d9)]-0x1,_0xc8b7d8;_0xa871b9>=0x0;_0xa871b9--)(_0xc8b7d8=_0x34d1ba[_0xa871b9])&&(_0x52c2b3=(_0x5c51ed?_0xc8b7d8(_0xe4dbd,_0x3b2b36,_0x52c2b3):_0xc8b7d8(_0x52c2b3))||_0x52c2b3);return _0x5c51ed&&_0x52c2b3&&_0x62d9df(_0xe4dbd,_0x3b2b36,_0x52c2b3),_0x52c2b3;},_0x4490e6=(_0x5e1362,_0x5ed2f5)=>(_0x492a04,_0x5b4168)=>_0x5ed2f5(_0x492a04,_0x5b4168,_0x5e1362);const _0x45ddc0=0x1389;let _0x40b948=class extends _0x4587e1[_0x2fa915(0x5b2)]{constructor(_0x3432cd,_0x8528b5,_0x542529,_0x309edd){const _0x70e80c=_0x2fa915;super(),_0x339ceb(this,_0x70e80c(0x2db),new Set()),_0x339ceb(this,_0x70e80c(0x2dc),null),(this[_0x70e80c(0x52e)]=_0x3432cd,this[_0x70e80c(0x3d2)]=_0x8528b5,this[_0x70e80c(0x4af)]=_0x542529,this[_0x70e80c(0x22d)]=_0x309edd,this[_0x70e80c(0x16f)]());}[_0x2fa915(0x16f)](){const _0x452486=_0x2fa915;this['_sheetSkeletonManagerService'][_0x452486(0x4a9)][_0x452486(0x276)](_0x18f07e[_0x452486(0x2b3)](this[_0x452486(0x1ad)]),_0x18f07e[_0x452486(0x42a)](_0xf82e1b=>{const _0xae86af=_0x452486;if(_0xf82e1b){const _0x216f1a=_0xf82e1b[_0xae86af(0x1e9)];return _0x3eec93[_0xae86af(0x4eb)](this[_0xae86af(0x4af)][_0xae86af(0x55f)](this[_0xae86af(0x52e)][_0xae86af(0x4f8)]),this[_0xae86af(0x22d)][_0xae86af(0x4fe)])[_0xae86af(0x276)](_0x18f07e[_0xae86af(0x252)](([_0x91092a,_0x4e0b04])=>{const _0x5540db=_0xae86af,_0x272851=new Map();return _0x91092a[_0x5540db(0x34b)]((_0x10cb1b,_0x5b0926)=>{const _0x5c6f8b=_0x5540db;if(_0x10cb1b['sheetID']===_0x216f1a){const _0x3cab1d={..._0x10cb1b};_0x3cab1d[_0x5c6f8b(0x5f2)]=_0x4e0b04[_0x10cb1b[_0x5c6f8b(0x5f2)]],_0x272851[_0x5c6f8b(0x498)](_0x5b0926,_0x3cab1d);}}),{'skeleton':_0xf82e1b,'cursors':_0x272851};}));}return _0x3eec93['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x5e0f50,cursors:_0x4aac77})=>{const _0x3c6fce=_0x452486;this[_0x3c6fce(0x609)](),_0x5e0f50&&this[_0x3c6fce(0x295)](_0x5e0f50,_0x4aac77);}),this[_0x452486(0x3d2)][_0x452486(0x4a9)][_0x452486(0x447)](_0x3e7610=>{const _0xa37c42=_0x452486;if(_0x3e7610==null)return;const {skeleton:_0x2cbf18}=_0x3e7610,{scene:_0x22e38f}=this[_0xa37c42(0x52e)];_0x22e38f['onPointerMove$'][_0xa37c42(0x374)](_0x4587e1[_0xa37c42(0x625)](_0x286187=>{const _0x4725aa=_0xa37c42;var _0x31febc,_0x5dffe3;const {offsetX:_0x4fe350,offsetY:_0x38cd10}=_0x286187,{x:_0x29fb7a,y:_0x9f1802}=_0x22e38f['getRelativeToViewportCoord'](_0x25d31a['Vector2'][_0x4725aa(0x5ff)]([_0x4fe350,_0x38cd10])),{scaleX:_0xefbaf1,scaleY:_0x565530}=_0x22e38f[_0x4725aa(0x591)](),_0x4c76ad=_0x22e38f[_0x4725aa(0x564)](_0x23bfa7[_0x4725aa(0x31b)][_0x4725aa(0x3db)]),_0x5886ed=_0x22e38f[_0x4725aa(0x40e)](_0x25d31a[_0x4725aa(0x511)][_0x4725aa(0x5ff)]([_0x29fb7a,_0x9f1802]),_0x4c76ad),_0x23914f=_0x2cbf18[_0x4725aa(0x225)](_0x4fe350,_0x38cd10,_0xefbaf1,_0x565530,_0x5886ed);((_0x31febc=this[_0x4725aa(0x2dc)])==null?void 0x0:_0x31febc[_0x4725aa(0x5f8)])===_0x23914f['column']&&((_0x5dffe3=this[_0x4725aa(0x2dc)])==null?void 0x0:_0x5dffe3['row'])===_0x23914f['row']||this[_0x4725aa(0x2db)][_0x4725aa(0x34b)](_0x1cf983=>{const _0x255018=_0x4725aa;_0x1cf983[_0x255018(0x453)](_0x23914f);});},0x64));});}[_0x2fa915(0x295)](_0x42a833,_0x505729){const _0x369af2=_0x2fa915;var _0x245490;const _0x2397a8=(_0x245490=this[_0x369af2(0x3d2)]['getCurrent']())==null?void 0x0:_0x245490[_0x369af2(0x187)];if(!_0x2397a8)return;const _0x3b2b65=this['_getSheetObject']();if(!_0x3b2b65)return;this[_0x369af2(0x2db)][_0x369af2(0x34b)](_0x344bf2=>{const _0x51fe4d=_0x369af2;_0x344bf2[_0x51fe4d(0x5a7)]();});const {scene:_0x318a4e}=_0x3b2b65,_0x26da04=_0x4bb0f0(Array[_0x369af2(0x3e0)](_0x505729[_0x369af2(0x291)]()))['map'](_0x249da2=>{const _0x2ed6e1=_0x369af2,{color:_0x15fbf6,range:_0x1c99b8,name:_0x53b45d,selection:_0x2a7929,sheetID:_0x273cca}=_0x249da2,{startColumn:_0x598a4a,startRow:_0x1d587d,endColumn:_0x1bbfbb,endRow:_0x48cb28}=_0x1c99b8,_0x44a823=_0x23bfa7[_0x2ed6e1(0x196)](_0x1d587d,_0x598a4a,_0x318a4e,_0x2397a8),_0x39fc4c=_0x23bfa7[_0x2ed6e1(0x196)](_0x48cb28,_0x1bbfbb,_0x318a4e,_0x2397a8),{columnHeaderHeightAndMarginTop:_0x2e0bd7}=_0x2397a8,{startX:_0x269e4c,startY:_0x41d841}=_0x44a823,{endX:_0x256b31,endY:_0x1380ab}=_0x39fc4c,_0x1b3fa2=_0x256b31-_0x269e4c,_0x22e410=_0x1380ab-_0x41d841,_0xe950a1={'labelPosition':_0x41d841-_0x2e0bd7>=_0x474958?'top':'bottom','sheetID':_0x273cca,'range':_0x1c99b8,'color':_0x15fbf6,'name':_0x53b45d,'selection':_0x2a7929,'left':_0x269e4c,'top':_0x41d841,'width':_0x1b3fa2,'height':_0x22e410,'evented':!0x1,'zIndex':_0x45ddc0};return new _0x257c8d(_0x53b45d,_0xe950a1);});_0x318a4e[_0x369af2(0x190)](_0x26da04,_0x2d885c),this[_0x369af2(0x2db)]=new Set(_0x26da04);}['_removeCollabCursors'](){const _0x1daf86=_0x2fa915;var _0x51fbc5;(_0x51fbc5=this[_0x1daf86(0x2db)])==null||_0x51fbc5['forEach'](_0x405868=>_0x405868[_0x1daf86(0x3ea)]());}[_0x2fa915(0x35b)](){const _0x53b504=_0x2fa915;return _0x23bfa7[_0x53b504(0x35e)](this[_0x53b504(0x52e)][_0x53b504(0x4d5)],this[_0x53b504(0x52e)]);}};_0x40b948=_0x3d481f([_0x4490e6(0x1,_0x4587e1[_0x2fa915(0x42b)](_0x23bfa7[_0x2fa915(0x26d)])),_0x4490e6(0x2,_0x4587e1[_0x2fa915(0x42b)](_0x49f33)),_0x4490e6(0x3,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x4e5)]))],_0x40b948);function _0x4bb0f0(_0x322819){const _0x210249=_0x2fa915,_0x5a5701=new Map();return _0x322819[_0x210249(0x34b)](_0x27a4bf=>{const _0xc023ec=_0x210249;if(_0x5a5701[_0xc023ec(0x364)](_0x27a4bf[_0xc023ec(0x634)])){const _0x78512a=_0x5a5701[_0xc023ec(0x4a0)](_0x27a4bf[_0xc023ec(0x634)]);_0x78512a[_0xc023ec(0x59e)]+=',\x20'+_0x27a4bf[_0xc023ec(0x59e)];}else _0x5a5701['set'](_0x27a4bf[_0xc023ec(0x634)],_0x27a4bf);}),Array[_0x210249(0x3e0)](_0x5a5701['values']());}var _0x46cbc6=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x1de184(_0x29b088){const _0xfeb262=_0x2fa915;return _0x29b088&&_0x29b088[_0xfeb262(0x4ee)]&&Object[_0xfeb262(0x62d)][_0xfeb262(0x507)][_0xfeb262(0x246)](_0x29b088,_0xfeb262(0x33a))?_0x29b088['default']:_0x29b088;}var _0x12944c={'exports':{}},_0x5297da={},_0x421400=_0x1e411a,_0x52912c=Symbol[_0x2fa915(0x4ad)]('react.element'),_0x39af82=Symbol[_0x2fa915(0x4ad)](_0x2fa915(0x3ed)),_0x5d448f=Object[_0x2fa915(0x62d)][_0x2fa915(0x507)],_0x5cefc9=_0x421400[_0x2fa915(0x2ca)][_0x2fa915(0x18a)],_0x60d199={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x1b54dc(_0x24a85c,_0x222d9d,_0x135494){const _0x5ae702=_0x2fa915;var _0x461418,_0x588dbe={},_0x55608d=null,_0x3d2c15=null;_0x135494!==void 0x0&&(_0x55608d=''+_0x135494),_0x222d9d[_0x5ae702(0x391)]!==void 0x0&&(_0x55608d=''+_0x222d9d[_0x5ae702(0x391)]),_0x222d9d[_0x5ae702(0x578)]!==void 0x0&&(_0x3d2c15=_0x222d9d['ref']);for(_0x461418 in _0x222d9d)_0x5d448f[_0x5ae702(0x246)](_0x222d9d,_0x461418)&&!_0x60d199[_0x5ae702(0x507)](_0x461418)&&(_0x588dbe[_0x461418]=_0x222d9d[_0x461418]);if(_0x24a85c&&_0x24a85c[_0x5ae702(0x63c)]){for(_0x461418 in(_0x222d9d=_0x24a85c[_0x5ae702(0x63c)],_0x222d9d))_0x588dbe[_0x461418]===void 0x0&&(_0x588dbe[_0x461418]=_0x222d9d[_0x461418]);}return{'$$typeof':_0x52912c,'type':_0x24a85c,'key':_0x55608d,'ref':_0x3d2c15,'props':_0x588dbe,'_owner':_0x5cefc9[_0x5ae702(0x4b6)]};}_0x5297da['Fragment']=_0x39af82,_0x5297da[_0x2fa915(0x179)]=_0x1b54dc,_0x5297da[_0x2fa915(0x5c6)]=_0x1b54dc,_0x12944c[_0x2fa915(0x3a4)]=_0x5297da;var _0x30998c=_0x12944c['exports'],_0x4985f3=function(){const _0xf0f597=_0x2fa915;return _0x4985f3=Object[_0xf0f597(0x596)]||function(_0x4bb4a7){const _0x4f9ccb=_0xf0f597;for(var _0x4dea38,_0x438995=0x1,_0xb1196d=arguments[_0x4f9ccb(0x4d9)];_0x438995<_0xb1196d;_0x438995++){_0x4dea38=arguments[_0x438995];for(var _0x14302f in _0x4dea38)Object[_0x4f9ccb(0x62d)][_0x4f9ccb(0x507)][_0x4f9ccb(0x246)](_0x4dea38,_0x14302f)&&(_0x4bb4a7[_0x14302f]=_0x4dea38[_0x14302f]);}return _0x4bb4a7;},_0x4985f3[_0xf0f597(0x54c)](this,arguments);},_0x29a0cc=function(_0x232aee,_0x4e9690){const _0xef222d=_0x2fa915;var _0x3e3aea={};for(var _0xb4e968 in _0x232aee)Object[_0xef222d(0x62d)][_0xef222d(0x507)][_0xef222d(0x246)](_0x232aee,_0xb4e968)&&_0x4e9690[_0xef222d(0x1dc)](_0xb4e968)<0x0&&(_0x3e3aea[_0xb4e968]=_0x232aee[_0xb4e968]);if(_0x232aee!=null&&typeof Object['getOwnPropertySymbols']==_0xef222d(0x2e3)){for(var _0x30a1e7=0x0,_0xb4e968=Object[_0xef222d(0x1bc)](_0x232aee);_0x30a1e7<_0xb4e968[_0xef222d(0x4d9)];_0x30a1e7++)_0x4e9690[_0xef222d(0x1dc)](_0xb4e968[_0x30a1e7])<0x0&&Object['prototype'][_0xef222d(0x5e3)][_0xef222d(0x246)](_0x232aee,_0xb4e968[_0x30a1e7])&&(_0x3e3aea[_0xb4e968[_0x30a1e7]]=_0x232aee[_0xb4e968[_0x30a1e7]]);}return _0x3e3aea;},_0x22b915=_0x1e411a['forwardRef'](function(_0x2c45c3,_0x1ec5fb){const _0x55204c=_0x2fa915;var _0x160ccd=_0x2c45c3[_0x55204c(0x600)],_0x5712e9=_0x2c45c3['id'],_0x200990=_0x2c45c3[_0x55204c(0x4a8)],_0x4cbd1a=_0x2c45c3[_0x55204c(0x44a)],_0x2ef039=_0x29a0cc(_0x2c45c3,[_0x55204c(0x600),'id','className',_0x55204c(0x44a)]),_0x27fb19=_0x55204c(0x56b)[_0x55204c(0x227)](_0x5712e9,'\x20')[_0x55204c(0x227)](_0x200990||'')[_0x55204c(0x3eb)](),_0x47ce58=_0x1e411a[_0x55204c(0x347)]('_'[_0x55204c(0x227)](_0x3eb1cf()));return _0x2b0a5c(_0x160ccd,''[_0x55204c(0x227)](_0x5712e9),{'defIds':_0x160ccd[_0x55204c(0x5c7)],'idSuffix':_0x47ce58['current']},_0x4985f3({'ref':_0x1ec5fb,'className':_0x27fb19},_0x2ef039),_0x4cbd1a);});function _0x2b0a5c(_0x1de1e9,_0x3722c7,_0x45940b,_0x51a5f7,_0x23924a){const _0xfd32f8=_0x2fa915;return _0x1e411a['createElement'](_0x1de1e9[_0xfd32f8(0x329)],_0x4985f3(_0x4985f3({'key':_0x3722c7},_0x288f2d(_0x1de1e9,_0x45940b,_0x23924a)),_0x51a5f7),(_0x37987a(_0x1de1e9,_0x45940b)[_0xfd32f8(0x3d6)]||[])['map'](function(_0x48dbf9,_0x5be11c){const _0x6d12b2=_0xfd32f8;return _0x2b0a5c(_0x48dbf9,''['concat'](_0x3722c7,'-')[_0x6d12b2(0x227)](_0x1de1e9[_0x6d12b2(0x329)],'-')[_0x6d12b2(0x227)](_0x5be11c),_0x45940b,void 0x0,_0x23924a);}));}function _0x288f2d(_0x187568,_0x5d502f,_0x33362c){const _0x192340=_0x2fa915;var _0x3e379f=_0x4985f3({},_0x187568[_0x192340(0x2ac)]);_0x33362c!=null&&_0x33362c[_0x192340(0x62f)]&&_0x3e379f['fill']==='colorChannel1'&&(_0x3e379f[_0x192340(0x3dc)]=_0x33362c[_0x192340(0x62f)]);var _0x1c49d5=_0x5d502f[_0x192340(0x5c7)];return!_0x1c49d5||_0x1c49d5['length']===0x0||(_0x187568[_0x192340(0x329)]===_0x192340(0x47a)&&_0x3e379f[_0x192340(0x429)]&&(_0x3e379f[_0x192340(0x429)]=_0x3e379f['xlink:href']+_0x5d502f['idSuffix']),Object[_0x192340(0x175)](_0x3e379f)[_0x192340(0x34b)](function(_0x4483c9){const _0x5695ed=_0x192340;var _0x576174=_0x4483c9[0x0],_0x362c74=_0x4483c9[0x1];typeof _0x362c74==_0x5695ed(0x241)&&(_0x3e379f[_0x576174]=_0x362c74['replace'](/url\(#(.*)\)/,_0x5695ed(0x3b0)['concat'](_0x5d502f[_0x5695ed(0x449)],')')));})),_0x3e379f;}function _0x37987a(_0x397fc4,_0x52d956){const _0x576bc0=_0x2fa915;var _0x140f0f,_0x4866c9=_0x52d956['defIds'];return!_0x4866c9||_0x4866c9[_0x576bc0(0x4d9)]===0x0?_0x397fc4:_0x397fc4[_0x576bc0(0x329)]===_0x576bc0(0x5b5)&&(!((_0x140f0f=_0x397fc4[_0x576bc0(0x3d6)])===null||_0x140f0f===void 0x0)&&_0x140f0f[_0x576bc0(0x4d9)])?_0x4985f3(_0x4985f3({},_0x397fc4),{'children':_0x397fc4[_0x576bc0(0x3d6)][_0x576bc0(0x252)](function(_0x27b2a9){const _0x32f754=_0x576bc0;return typeof _0x27b2a9[_0x32f754(0x2ac)]['id']==_0x32f754(0x241)&&_0x4866c9&&_0x4866c9[_0x32f754(0x1dc)](_0x27b2a9['attrs']['id'])>-0x1?_0x4985f3(_0x4985f3({},_0x27b2a9),{'attrs':_0x4985f3(_0x4985f3({},_0x27b2a9['attrs']),{'id':_0x27b2a9[_0x32f754(0x2ac)]['id']+_0x52d956[_0x32f754(0x449)]})}):_0x27b2a9;})}):_0x397fc4;}function _0x3eb1cf(){const _0x2444c3=_0x2fa915;return Math['random']()[_0x2444c3(0x38a)](0x24)[_0x2444c3(0x1d8)](0x2,0x8);}_0x22b915[_0x2fa915(0x265)]=_0x2fa915(0x200);var _0x3fdcc1={'tag':_0x2fa915(0x336),'attrs':{'fill':_0x2fa915(0x312),'viewBox':_0x2fa915(0x194),'width':_0x2fa915(0x181),'height':_0x2fa915(0x181)},'children':[{'tag':'g','attrs':{'clipPath':_0x2fa915(0x4ed)},'children':[{'tag':_0x2fa915(0x501),'attrs':{'stroke':_0x2fa915(0x418),'d':_0x2fa915(0x205),'strokeLinecap':_0x2fa915(0x319),'strokeLinejoin':_0x2fa915(0x319),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2fa915(0x466),'attrs':{'id':_0x2fa915(0x221)},'children':[{'tag':'path','attrs':{'fill':_0x2fa915(0x287),'d':_0x2fa915(0x577)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x2369dc=_0x1e411a['forwardRef'](function(_0x47bbc8,_0xde7000){const _0x19864b=_0x2fa915;return _0x1e411a[_0x19864b(0x3a2)](_0x22b915,Object[_0x19864b(0x596)]({},_0x47bbc8,{'id':_0x19864b(0x3fe),'ref':_0xde7000,'icon':_0x3fdcc1}));});_0x2369dc['displayName']=_0x2fa915(0x25e);var _0x4e7126={'tag':'svg','attrs':{'fill':_0x2fa915(0x312),'viewBox':_0x2fa915(0x556),'width':_0x2fa915(0x181),'height':_0x2fa915(0x181)},'children':[{'tag':'g','attrs':{'clipPath':_0x2fa915(0x467)},'children':[{'tag':'path','attrs':{'stroke':_0x2fa915(0x418),'d':_0x2fa915(0x25d),'strokeLinecap':'round','strokeLinejoin':_0x2fa915(0x319),'strokeWidth':1.2}}]},{'tag':_0x2fa915(0x5b5),'attrs':{},'children':[{'tag':_0x2fa915(0x466),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x2fa915(0x501),'attrs':{'fill':_0x2fa915(0x287),'d':_0x2fa915(0x577),'transform':'translate(.97)'}}]}]}],'defIds':[_0x2fa915(0x61f)]},_0x4ef947=_0x1e411a[_0x2fa915(0x256)](function(_0x96961,_0x2499c6){const _0x4c03a7=_0x2fa915;return _0x1e411a[_0x4c03a7(0x3a2)](_0x22b915,Object[_0x4c03a7(0x596)]({},_0x96961,{'id':_0x4c03a7(0x53f),'ref':_0x2499c6,'icon':_0x4e7126}));});_0x4ef947['displayName']='OnLineSingle';function _0x306fba(_0x561517){const _0x7d682c=_0x2fa915;var _0x29a1b7,_0x11df01,_0x54e779='';if(typeof _0x561517=='string'||typeof _0x561517==_0x7d682c(0x280))_0x54e779+=_0x561517;else{if(typeof _0x561517=='object'){if(Array[_0x7d682c(0x330)](_0x561517)){var _0x2114cb=_0x561517[_0x7d682c(0x4d9)];for(_0x29a1b7=0x0;_0x29a1b7<_0x2114cb;_0x29a1b7++)_0x561517[_0x29a1b7]&&(_0x11df01=_0x306fba(_0x561517[_0x29a1b7]))&&(_0x54e779&&(_0x54e779+='\x20'),_0x54e779+=_0x11df01);}else{for(_0x11df01 in _0x561517)_0x561517[_0x11df01]&&(_0x54e779&&(_0x54e779+='\x20'),_0x54e779+=_0x11df01);}}}return _0x54e779;}function _0x52690d(){const _0x326cd1=_0x2fa915;for(var _0x4ee86d,_0x2872ff,_0x5925be=0x0,_0xf191b5='',_0x912d04=arguments[_0x326cd1(0x4d9)];_0x5925be<_0x912d04;_0x5925be++)(_0x4ee86d=arguments[_0x5925be])&&(_0x2872ff=_0x306fba(_0x4ee86d))&&(_0xf191b5&&(_0xf191b5+='\x20'),_0xf191b5+=_0x2872ff);return _0xf191b5;}const _0x4a9af7={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x2fa915(0x3e2),'onlineStatus':_0x2fa915(0x1e5),'online':_0x2fa915(0x43e),'offline':_0x2fa915(0x63a)};function _0x41f090(_0x4b6191){const _0x480044=_0x2fa915;switch(_0x4b6191){case _0x3b904c[_0x480044(0x3c4)]:return'collabStatus.offline';case _0x3b904c['CONFLICT']:return _0x480044(0x1fb);case _0x3b904c[_0x480044(0x3b5)]:return _0x480044(0x37f);case _0x3b904c[_0x480044(0x5d0)]:return _0x480044(0x389);case _0x3b904c['AWAITING']:case _0x3b904c['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x3b904c[_0x480044(0x431)]:case _0x3b904c[_0x480044(0x177)]:return'collabStatus.synced';}}function _0x2e49a0(_0x3a71f3){const _0x20dfff=_0x2fa915,{status$:_0x29214e}=_0x3a71f3,_0x4fd9b6=_0x3163bd[_0x20dfff(0x231)](_0x29214e,_0x3b904c['NOT_COLLAB']),_0x179984=_0x4587e1[_0x20dfff(0x430)](_0x4587e1[_0x20dfff(0x1e2)]),_0x5f0c8d=_0x4587e1[_0x20dfff(0x430)](_0x539c7e[_0x20dfff(0x240)]),_0x89f14d=_0x4fd9b6!==_0x3b904c[_0x20dfff(0x3c4)],_0x142d34=_0x179984['t'](_0x41f090(_0x4fd9b6)),_0xb7ef5=_0x52690d(_0x4a9af7[_0x20dfff(0x1dd)],{[_0x4a9af7[_0x20dfff(0x17c)]]:_0x89f14d,[_0x4a9af7['offline']]:!_0x89f14d}),_0x173a6d=_0x89f14d?_0x30998c[_0x20dfff(0x179)](_0x4ef947,{}):_0x30998c[_0x20dfff(0x179)](_0x2369dc,{}),_0x52f224=_0x1e411a[_0x20dfff(0x188)](()=>{const _0x478591=_0x20dfff;_0x89f14d||_0x5f0c8d[_0x478591(0x424)]();},[_0x89f14d,_0x5f0c8d]);function _0x1f8c5d(){const _0x31b114=_0x20dfff;return _0x30998c['jsxs']('div',{'className':_0xb7ef5,'onClick':_0x52f224,'children':[_0x30998c[_0x31b114(0x179)]('div',{'className':_0x4a9af7['onlineStatusIcon'],'children':_0x173a6d}),_0x30998c['jsx'](_0x31b114(0x356),{'className':_0x4a9af7[_0x31b114(0x2b8)],'children':_0x142d34})]});}return _0x89f14d?_0x1f8c5d():_0x30998c[_0x20dfff(0x179)](_0x40b71f[_0x20dfff(0x5b0)],{'title':_0x179984['t']('collab-client.tooltip.reconnect'),'children':_0x1f8c5d()});}var _0x23de9e=Object[_0x2fa915(0x44e)],_0x124619=Object[_0x2fa915(0x569)],_0x35294c=(_0x40f0df,_0x33e5f1,_0x194c8a,_0x45770a)=>{const _0x3c293c=_0x2fa915;for(var _0x121b1f=_0x45770a>0x1?void 0x0:_0x45770a?_0x124619(_0x33e5f1,_0x194c8a):_0x33e5f1,_0x310ff8=_0x40f0df[_0x3c293c(0x4d9)]-0x1,_0x4bd6df;_0x310ff8>=0x0;_0x310ff8--)(_0x4bd6df=_0x40f0df[_0x310ff8])&&(_0x121b1f=(_0x45770a?_0x4bd6df(_0x33e5f1,_0x194c8a,_0x121b1f):_0x4bd6df(_0x121b1f))||_0x121b1f);return _0x45770a&&_0x121b1f&&_0x23de9e(_0x33e5f1,_0x194c8a,_0x121b1f),_0x121b1f;},_0x155a97=(_0x4c86dc,_0x498a4d)=>(_0x35caa5,_0x9483a3)=>_0x498a4d(_0x35caa5,_0x9483a3,_0x4c86dc);_0x539c7e['DesktopCollaborationStatusDisplayController']=class extends _0x4587e1[_0x2fa915(0x552)]{constructor(_0x3e2109,_0x4322cb,_0xead232,_0x1b20e2){const _0x528b79=_0x2fa915;super(),_0x339ceb(this,_0x528b79(0x1aa),new _0x3eec93[(_0x528b79(0x29b))](_0x3b904c[_0x528b79(0x5d0)])),(this['_univerInstanceService']=_0x3e2109,this[_0x528b79(0x61c)]=_0x4322cb,this[_0x528b79(0x60e)]=_0xead232,this['_collaborationController']=_0x1b20e2,this['_initStatusComponent'](),this[_0x528b79(0x53c)]());}[_0x2fa915(0x53c)](){const _0x451f85=_0x2fa915;this[_0x451f85(0x211)](this[_0x451f85(0x3c1)][_0x451f85(0x18c)][_0x451f85(0x276)](_0x3eec93[_0x451f85(0x42a)](()=>{const _0x46c4d8=_0x451f85,_0x2eec34=this[_0x46c4d8(0x3c1)]['getFocusedUnit']();return _0x2eec34?this[_0x46c4d8(0x573)][_0x46c4d8(0x3e6)](_0x2eec34[_0x46c4d8(0x1d9)]()):_0x3eec93['of'](null);}),_0x3eec93[_0x451f85(0x42a)](_0xb1738f=>_0xb1738f?_0xb1738f[_0x451f85(0x361)]:_0x3eec93['of'](_0x3b904c['NOT_COLLAB'])))[_0x451f85(0x447)](_0x1ac98c=>{const _0x31d231=_0x451f85;this['_status$'][_0x31d231(0x1c9)](_0x1ac98c);}));}[_0x2fa915(0x595)](){const _0x2b1c52=_0x2fa915;this[_0x2b1c52(0x211)](this['_uiPartsService']['registerComponent'](_0x3163bd['BuiltInUIPart'][_0x2b1c52(0x4ab)],()=>_0x4587e1[_0x2b1c52(0x390)](_0x380786({'status$':this['_status$'][_0x2b1c52(0x630)]()}),this[_0x2b1c52(0x60e)])));}},_0x539c7e[_0x2fa915(0x59c)]=_0x35294c([_0x155a97(0x0,_0x4587e1[_0x2fa915(0x53b)]),_0x155a97(0x1,_0x3163bd[_0x2fa915(0x2e0)]),_0x155a97(0x2,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x155a97(0x3,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x38e)]))],_0x539c7e[_0x2fa915(0x59c)]);function _0x380786(_0x1e40c){const {status$:_0x4c619e}=_0x1e40c;return function(){const _0x1a9ac4=_0x5275;return _0x30998c[_0x1a9ac4(0x179)](_0x2e49a0,{'status$':_0x4c619e});};}const _0x4791ca=_0x4587e1[_0x2fa915(0x22c)](_0x2fa915(0x3e9));var _0xb4718d=Object['defineProperty'],_0x3685e3=Object[_0x2fa915(0x569)],_0x2d0b38=(_0x224069,_0x32780a,_0x56e6ed,_0x88c3f5)=>{for(var _0xef053=_0x88c3f5>0x1?void 0x0:_0x88c3f5?_0x3685e3(_0x32780a,_0x56e6ed):_0x32780a,_0x56003d=_0x224069['length']-0x1,_0x2a7fd6;_0x56003d>=0x0;_0x56003d--)(_0x2a7fd6=_0x224069[_0x56003d])&&(_0xef053=(_0x88c3f5?_0x2a7fd6(_0x32780a,_0x56e6ed,_0xef053):_0x2a7fd6(_0xef053))||_0xef053);return _0x88c3f5&&_0xef053&&_0xb4718d(_0x32780a,_0x56e6ed,_0xef053),_0xef053;},_0x1c989f=(_0x1cea9f,_0x56a772)=>(_0xaf81f0,_0x4a46be)=>_0x56a772(_0xaf81f0,_0x4a46be,_0x1cea9f);_0x539c7e[_0x2fa915(0x19b)]=class extends _0x4587e1['RxDisposable']{constructor(_0x283855,_0x12eadc,_0x351d58,_0x4cbd95,_0x13b49d,_0x1a07b8){const _0xa66081=_0x2fa915;super(),this[_0xa66081(0x480)]=_0x283855,this['_logService']=_0x12eadc,this['_commandService']=_0x351d58,this['_localCacheService']=_0x4cbd95,this['_snapshotService']=_0x13b49d,_0x1a07b8?_0x1a07b8==null||_0x1a07b8['whenReady']()[_0xa66081(0x20e)](()=>this[_0xa66081(0x16f)]()):(this[_0xa66081(0x43a)][_0xa66081(0x472)](_0xa66081(0x4f0),_0xa66081(0x5ca)),this[_0xa66081(0x16f)]());}async[_0x2fa915(0x16f)](){const _0x412f32=_0x2fa915,_0x790562=this[_0x412f32(0x480)][_0x412f32(0x559)](_0x412f32(0x4d5)),_0x29583a=this['_urlService']['getParam'](_0x412f32(0x178));if(!_0x790562||!_0x29583a){this[_0x412f32(0x43a)][_0x412f32(0x472)](_0x412f32(0x4f0),_0x412f32(0x4a2));return;}switch(Number(_0x29583a)){case _0xad4019[_0x412f32(0x3ee)]:{const _0x4a8b73=await this['_loadSheet'](_0x790562);this[_0x412f32(0x3c8)](_0x4a8b73);break;}case _0xad4019[_0x412f32(0x27b)]:{await this[_0x412f32(0x3cc)](_0x790562);break;}default:{this[_0x412f32(0x43a)]['error'](_0x412f32(0x4f0),_0x412f32(0x209));break;}}}async[_0x2fa915(0x3c8)](_0x5063b9){const _0x2a918a=_0x2fa915;await this[_0x2a918a(0x459)](_0x5063b9),_0x5063b9[_0x2a918a(0x3ff)][_0x2a918a(0x276)](_0x3eec93[_0x2a918a(0x2b3)](this['dispose$']))['subscribe'](_0x3501aa=>{const _0x43e8d1=_0x2a918a;_0x3501aa&&this[_0x43e8d1(0x5f5)](_0x3501aa);}),this[_0x2a918a(0x480)][_0x2a918a(0x568)]['pipe'](_0x3eec93['takeUntil'](this[_0x2a918a(0x1ad)]))[_0x2a918a(0x447)](()=>this[_0x2a918a(0x459)](_0x5063b9));}[_0x2fa915(0x5f5)](_0x329e08,_0x499bda=!0x1){const _0x3706db=_0x2fa915,_0x517c0f=this[_0x3706db(0x480)]['getParam'](_0x3706db(0x590));_0x329e08[_0x3706db(0x2f7)]()!==_0x517c0f&&this[_0x3706db(0x480)][_0x3706db(0x4c4)]('subunit',_0x329e08[_0x3706db(0x2f7)](),_0x499bda);}async[_0x2fa915(0x459)](_0x5161e4){const _0x5989a1=_0x2fa915;var _0x42616c;const _0x2c55e5=this[_0x5989a1(0x480)][_0x5989a1(0x559)](_0x5989a1(0x590));if(!_0x2c55e5||!_0x5161e4['getSheetBySheetId'](_0x2c55e5)){const _0x6b61d2=_0x5161e4[_0x5989a1(0x2c0)]()[0x0],_0x6488b6=_0x5161e4[_0x5989a1(0x5c1)](_0x6b61d2);if(!_0x6488b6)return;this[_0x5989a1(0x5f5)](_0x6488b6,!0x0),await this[_0x5989a1(0x1a3)][_0x5989a1(0x3c6)](_0x27d820[_0x5989a1(0x244)]['id'],{'unitId':_0x5161e4[_0x5989a1(0x1d9)](),'subUnitId':_0x6b61d2});return;}((_0x42616c=_0x5161e4['getActiveSheet']())==null?void 0x0:_0x42616c['getSheetId']())!==_0x2c55e5&&await this[_0x5989a1(0x1a3)]['executeCommand'](_0x27d820[_0x5989a1(0x244)]['id'],{'unitId':_0x5161e4[_0x5989a1(0x1d9)](),'subUnitId':_0x2c55e5});}async[_0x2fa915(0x345)](_0x46b1c5){const _0xc856a9=_0x2fa915;let _0x4d3c57=0x0;const _0x4e4c87=await this[_0xc856a9(0x473)][_0xc856a9(0x5eb)](_0x46b1c5);return _0x4e4c87&&(_0x4e4c87[_0xc856a9(0x32b)]||_0x4e4c87[_0xc856a9(0x4d3)][_0xc856a9(0x4d9)]!==0x0)&&(_0x4d3c57=_0x4e4c87[_0xc856a9(0x189)]),_0x4d3c57===0x0&&this[_0xc856a9(0x43a)]['debug'](_0xc856a9(0x4f0),_0xc856a9(0x34e)),this[_0xc856a9(0x370)]['loadSheet'](_0x46b1c5,_0x4d3c57);}async[_0x2fa915(0x3cc)](_0x2f46d2){const _0x24d215=_0x2fa915;let _0x2166d1=0x0;const _0x23a93b=await this[_0x24d215(0x473)][_0x24d215(0x5eb)](_0x2f46d2);return _0x23a93b&&(_0x23a93b[_0x24d215(0x32b)]||_0x23a93b[_0x24d215(0x4d3)][_0x24d215(0x4d9)]!==0x0)&&(_0x2166d1=_0x23a93b[_0x24d215(0x189)]),_0x2166d1===0x0&&this['_logService'][_0x24d215(0x472)](_0x24d215(0x4f0),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x24d215(0x2d3)](_0x2f46d2,_0x2166d1);}},_0x539c7e[_0x2fa915(0x19b)]=_0x2d0b38([_0x1c989f(0x0,_0x4791ca),_0x1c989f(0x1,_0x4587e1['ILogService']),_0x1c989f(0x2,_0x4587e1[_0x2fa915(0x60b)]),_0x1c989f(0x3,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x408)])),_0x1c989f(0x4,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a['SnapshotService'])),_0x1c989f(0x5,_0x4587e1[_0x2fa915(0x412)](_0x15b024[_0x2fa915(0x4bc)]))],_0x539c7e[_0x2fa915(0x19b)]);var _0x35a800=Object['defineProperty'],_0x27375b=Object[_0x2fa915(0x569)],_0x437941=(_0x403fa1,_0x2b48e1,_0x418588,_0x5cfa43)=>{const _0x351654=_0x2fa915;for(var _0x1ebde3=_0x5cfa43>0x1?void 0x0:_0x5cfa43?_0x27375b(_0x2b48e1,_0x418588):_0x2b48e1,_0x2bf46a=_0x403fa1[_0x351654(0x4d9)]-0x1,_0x8728dd;_0x2bf46a>=0x0;_0x2bf46a--)(_0x8728dd=_0x403fa1[_0x2bf46a])&&(_0x1ebde3=(_0x5cfa43?_0x8728dd(_0x2b48e1,_0x418588,_0x1ebde3):_0x8728dd(_0x1ebde3))||_0x1ebde3);return _0x5cfa43&&_0x1ebde3&&_0x35a800(_0x2b48e1,_0x418588,_0x1ebde3),_0x1ebde3;},_0x5d147b=(_0x23b49c,_0x37d954)=>(_0x413980,_0x16f050)=>_0x37d954(_0x413980,_0x16f050,_0x23b49c);const _0x5f4aed='DEFAULT_FILE_NAME',_0x17a5a6=_0x2fa915(0x3f3);let _0x4a666c=class extends _0x4587e1['Disposable']{constructor(_0x373df3,_0x583a1d){const _0x510a79=_0x2fa915;super(),this[_0x510a79(0x3c1)]=_0x373df3,this['_configService']=_0x583a1d,this['_init']();}[_0x2fa915(0x16f)](){const _0x5d92f4=_0x2fa915;this[_0x5d92f4(0x211)](this[_0x5d92f4(0x3c1)][_0x5d92f4(0x18c)][_0x5d92f4(0x447)](()=>{const _0x19c973=_0x5d92f4;var _0x4a8cb1;const _0x52c307=this[_0x19c973(0x3c1)][_0x19c973(0x2fd)]();let _0x1b794b=(_0x4a8cb1=this[_0x19c973(0x4e4)][_0x19c973(0x185)](_0x5f4aed))!=null?_0x4a8cb1:_0x17a5a6;_0x52c307 instanceof _0x4587e1[_0x19c973(0x1b9)]&&(_0x1b794b=_0x52c307['name']),document[_0x19c973(0x2c5)]=_0x1b794b;}));}};_0x4a666c=_0x437941([_0x5d147b(0x0,_0x4587e1[_0x2fa915(0x53b)]),_0x5d147b(0x1,_0x4587e1['IConfigService'])],_0x4a666c);var _0x228f97=Object[_0x2fa915(0x44e)],_0x5dcf6e=Object[_0x2fa915(0x569)],_0x35552d=(_0x42563c,_0x35bf59,_0x461d5b,_0x5bda14)=>{const _0x40ef50=_0x2fa915;for(var _0x360022=_0x5bda14>0x1?void 0x0:_0x5bda14?_0x5dcf6e(_0x35bf59,_0x461d5b):_0x35bf59,_0x207823=_0x42563c[_0x40ef50(0x4d9)]-0x1,_0x569011;_0x207823>=0x0;_0x207823--)(_0x569011=_0x42563c[_0x207823])&&(_0x360022=(_0x5bda14?_0x569011(_0x35bf59,_0x461d5b,_0x360022):_0x569011(_0x360022))||_0x360022);return _0x5bda14&&_0x360022&&_0x228f97(_0x35bf59,_0x461d5b,_0x360022),_0x360022;},_0xc151b7=(_0x4284c4,_0x447e91)=>(_0x121334,_0x16d91b)=>_0x447e91(_0x121334,_0x16d91b,_0x4284c4);let _0x4c6e52=class{constructor(_0x190dc6,_0x3bb541,_0x1f1c83){const _0x5cf1d0=_0x2fa915;this[_0x5cf1d0(0x4e4)]=_0x190dc6,this['_httpService']=_0x3bb541,this[_0x5cf1d0(0x441)]=_0x1f1c83,this[_0x5cf1d0(0x558)]();}[_0x2fa915(0x558)](){const _0x3e97ba=_0x2fa915;this[_0x3e97ba(0x62e)][_0x3e97ba(0x5ab)]({'priority':0x1,'interceptor':(_0x419930,_0x12d6c8)=>_0x12d6c8(_0x419930)['pipe'](_0x3eec93['concatMap'](async _0x498f97=>{const _0x40b1a1=_0x3e97ba,_0x5ece7f=_0x498f97;if(_0x5ece7f[_0x40b1a1(0x37c)]===0x191&&window[_0x40b1a1(0x2c8)](this[_0x40b1a1(0x441)]['t'](_0x40b1a1(0x5af)))){const _0x149c63=window[_0x40b1a1(0x344)](window[_0x40b1a1(0x26a)][_0x40b1a1(0x1cf)]);window['location'][_0x40b1a1(0x1cf)]=this['_getLoginPath']()+'?url='+_0x149c63;}return _0x5ece7f;}))});}['_getLoginPath'](){const _0x1c6b9e=_0x2fa915;var _0x42cdfa,_0x442e9a;const _0x3eb205=this[_0x1c6b9e(0x4e4)][_0x1c6b9e(0x185)](_0x456ae0),_0x36551c=this[_0x1c6b9e(0x4e4)][_0x1c6b9e(0x185)](_0x152bb8);return(_0x442e9a=(_0x42cdfa=_0x36551c==null?void 0x0:_0x36551c[_0x1c6b9e(0x4cb)])!=null?_0x42cdfa:_0x3eb205)!=null?_0x442e9a:_0x55ef78;}};_0x4c6e52=_0x35552d([_0xc151b7(0x0,_0x4587e1[_0x2fa915(0x628)]),_0xc151b7(0x1,_0x4587e1['Inject'](_0x108d2c[_0x2fa915(0x49f)])),_0xc151b7(0x2,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x1e2)]))],_0x4c6e52);var _0x472a66=Object['defineProperty'],_0x30c76a=Object[_0x2fa915(0x569)],_0x24a831=(_0x21b1de,_0x1e7b7b,_0x255eda,_0x171710)=>{const _0x269688=_0x2fa915;for(var _0x34053d=_0x171710>0x1?void 0x0:_0x171710?_0x30c76a(_0x1e7b7b,_0x255eda):_0x1e7b7b,_0x589d39=_0x21b1de[_0x269688(0x4d9)]-0x1,_0x3853aa;_0x589d39>=0x0;_0x589d39--)(_0x3853aa=_0x21b1de[_0x589d39])&&(_0x34053d=(_0x171710?_0x3853aa(_0x1e7b7b,_0x255eda,_0x34053d):_0x3853aa(_0x34053d))||_0x34053d);return _0x171710&&_0x34053d&&_0x472a66(_0x1e7b7b,_0x255eda,_0x34053d),_0x34053d;},_0x30a053=(_0x47b683,_0x3d913c)=>(_0x1e4bf4,_0x568a0a)=>_0x3d913c(_0x1e4bf4,_0x568a0a,_0x47b683);const _0x4594be=_0x2fa915(0x3f9),_0x525064=_0x2fa915(0x3b2);_0x539c7e[_0x2fa915(0x1c5)]=class extends _0x4587e1[_0x2fa915(0x552)]{constructor(_0x2cca34,_0x3b8b0c){const _0xb47823=_0x2fa915;super(),this[_0xb47823(0x3e7)]=_0x2cca34,this[_0xb47823(0x4e4)]=_0x3b8b0c,this[_0xb47823(0x1ab)]();}[_0x2fa915(0x1ab)](){const _0x3dbdc5=_0x2fa915,_0x34a39a=this;this[_0x3dbdc5(0x211)](this[_0x3dbdc5(0x3e7)][_0x3dbdc5(0x5ab)]({'priority':0x3e7,'interceptor':_0x108d2c[_0x3dbdc5(0x30b)]({'isMatch'(_0x5419c9){const _0x4667dd=_0x3dbdc5;var _0x357f71;if(_0x5419c9['method']===_0x4667dd(0x1ee)&&((_0x357f71=_0x5419c9[_0x4667dd(0x1f7)])!=null&&_0x357f71[_0x4667dd(0x2e6)])){const {objectID:_0x433a9f,objectType:_0x1baa5c}=_0x5419c9[_0x4667dd(0x1f7)]['body']||{};if(!_0x433a9f||_0x1baa5c===void 0x0)return!0x1;const _0x56b795=_0x34a39a['_getAPIPrefixPath']()+'/'+_0x1baa5c+_0x4667dd(0x1d6)+_0x433a9f+_0x4667dd(0x250);if(_0x5419c9[_0x4667dd(0x1a6)]===_0x56b795)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x39ead7){const _0x4ccc90=_0x3dbdc5;var _0x4f40c4;return(_0x4f40c4=_0x39ead7[_0x4ccc90(0x1f7)])==null?void 0x0:_0x4f40c4['body'];},'mergeParamsToRequest'(_0x4abfea,_0x3e44c7){const _0x5a89eb=_0x3dbdc5,_0x33c95c=_0x34a39a[_0x5a89eb(0x1c8)]()+'/-/object/-/batch_allowed',_0xa9fba7=_0x4abfea[_0x5a89eb(0x4f7)]((_0x1a0281,_0xee875f)=>{const _0x591d88=_0x5a89eb,{unitID:_0x9170cc,objectID:_0x47be26,objectType:_0xa24006,actions:_0x59a947}=_0xee875f;return _0x1a0281[_0x9170cc]||(_0x1a0281[_0x9170cc]={}),_0x1a0281[_0x9170cc][_0x47be26]||(_0x1a0281[_0x9170cc][_0x47be26]={'objectID':_0x47be26,'objectType':_0xa24006,'actions':[]}),_0x1a0281[_0x9170cc][_0x47be26][_0x591d88(0x515)]['push'](..._0x59a947),_0x1a0281;},{}),_0x29f57b=[];for(const _0x326980 in _0xa9fba7)for(const _0x2aeb18 in _0xa9fba7[_0x326980]){const {actions:_0x114d55,objectType:_0x14246c}=_0xa9fba7[_0x326980][_0x2aeb18],_0x5ca455=[...new Set(_0x114d55)];_0x29f57b[_0x5a89eb(0x367)]({'unitID':_0x326980,'objectID':_0x2aeb18,'objectType':_0x14246c,'actions':_0x5ca455});}return new _0x108d2c[(_0x5a89eb(0x4bf))](_0x5a89eb(0x1ee),_0x33c95c,{'headers':_0x3e44c7[_0x5a89eb(0x5e7)],'withCredentials':_0x3e44c7['withCredentials'],'responseType':_0x3e44c7[_0x5a89eb(0x238)],'body':{'requests':_0x29f57b}});}},{'distributeResult'(_0x8aa20b,_0x3f9a18){const _0x4ad3ec=_0x3dbdc5,{objectActions:_0x35d324}=_0x8aa20b;return _0x3f9a18[_0x4ad3ec(0x252)](_0x2e4002=>{const _0x12d4cf=_0x4ad3ec,{unitID:_0x534ca3,objectID:_0x257ae3,actions:_0x4d5fc3}=_0x2e4002,_0x4ade68=_0x35d324['find'](_0x360434=>_0x360434[_0x12d4cf(0x2d1)]===_0x534ca3&&_0x360434[_0x12d4cf(0x3f2)]===_0x257ae3),_0x528278=_0x4d5fc3['map'](_0x581f0a=>_0x4ade68==null?void 0x0:_0x4ade68[_0x12d4cf(0x515)][_0x12d4cf(0x545)](_0x1bf37d=>_0x1bf37d[_0x12d4cf(0x51c)]===_0x581f0a))[_0x12d4cf(0x333)](_0x1216d6=>!!_0x1216d6);return{'config':_0x2e4002,'result':{'actions':_0x528278,'error':_0x8aa20b[_0x12d4cf(0x3a9)]}};});}})}));}['_getAPIPrefixPath'](){const _0x15c3e7=_0x2fa915;var _0x276544,_0x3f60a4;const _0x43101d=this[_0x15c3e7(0x4e4)]['getConfig'](_0x4594be),_0x90dd7=this[_0x15c3e7(0x4e4)][_0x15c3e7(0x185)](_0x152bb8);return(_0x3f60a4=(_0x276544=_0x90dd7==null?void 0x0:_0x90dd7[_0x15c3e7(0x213)])!=null?_0x276544:_0x43101d)!=null?_0x3f60a4:_0x525064;}async[_0x2fa915(0x5e5)](_0x50805c){const _0x3324f8=_0x2fa915,_0x2b6f3c=this[_0x3324f8(0x1c8)]()+'/'+_0x50805c[_0x3324f8(0x584)]+_0x3324f8(0x3a1);return(await this[_0x3324f8(0x3e7)][_0x3324f8(0x321)](_0x2b6f3c,{'body':_0x50805c}))['body']['objectID']||'';}async[_0x2fa915(0x268)](_0x219612){const _0xfc61f7=_0x2fa915,_0x59aa8d=this[_0xfc61f7(0x1c8)]()+_0xfc61f7(0x46e);return(await this[_0xfc61f7(0x3e7)][_0xfc61f7(0x321)](_0x59aa8d,{'body':_0x219612}))[_0xfc61f7(0x2e6)][_0xfc61f7(0x39d)];}async[_0x2fa915(0x3ab)](_0x125bb4){const _0x401fd7=_0x2fa915,_0xd11e5a=this[_0x401fd7(0x1c8)]()+'/'+_0x125bb4['objectType']+_0x401fd7(0x1d6)+_0x125bb4['objectID'];await this[_0x401fd7(0x3e7)]['put'](_0xd11e5a,{'body':_0x125bb4});}async['allowed'](_0xa26971){const _0x307cf5=_0x2fa915,_0x567969=this['_getAPIPrefixPath']()+'/'+_0xa26971[_0x307cf5(0x584)]+_0x307cf5(0x1d6)+_0xa26971[_0x307cf5(0x3f2)]+_0x307cf5(0x250);return(await this[_0x307cf5(0x3e7)][_0x307cf5(0x321)](_0x567969,{'body':_0xa26971}))[_0x307cf5(0x2e6)][_0x307cf5(0x515)];}async['batchAllowed'](_0xfef7d4){const _0x3734a7=_0x2fa915,_0x297314=this[_0x3734a7(0x1c8)]()+_0x3734a7(0x49c);return(await this['_HTTPService'][_0x3734a7(0x321)](_0x297314,{'body':{'requests':_0xfef7d4}}))['body'][_0x3734a7(0x405)];}async[_0x2fa915(0x61d)](_0x2fb60b){const _0x31deb5=_0x2fa915,_0x310837=this[_0x31deb5(0x1c8)]()+'/'+_0x2fb60b[_0x31deb5(0x584)]+'/role',_0x3fcf6c=await this[_0x31deb5(0x3e7)]['post'](_0x310837,{'body':_0x2fb60b});return{'roles':_0x3fcf6c[_0x31deb5(0x2e6)]['roles'],'actions':_0x3fcf6c[_0x31deb5(0x2e6)][_0x31deb5(0x515)]};}async[_0x2fa915(0x41f)](_0x407fcc){const _0x2cdf95=_0x2fa915,_0x5aeaf6=this[_0x2cdf95(0x1c8)]()+_0x2cdf95(0x338);await this['_HTTPService'][_0x2cdf95(0x4e2)](_0x5aeaf6,{'params':{'collaboratorID':_0x407fcc[_0x2cdf95(0x445)],'objectID':_0x407fcc['objectID'],'unitID':_0x407fcc[_0x2cdf95(0x2d1)]}});}async[_0x2fa915(0x633)](_0x592f5c){const _0x305cc7=_0x2fa915,_0x495bf0=this[_0x305cc7(0x1c8)]()+_0x305cc7(0x338);await this['_HTTPService'][_0x305cc7(0x1fd)](_0x495bf0,{'body':_0x592f5c});}async[_0x2fa915(0x236)](_0x5495c2){const _0x8637b7=_0x2fa915,_0x15280c=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x8637b7(0x3e7)][_0x8637b7(0x321)](_0x15280c,{'body':_0x5495c2});}async[_0x2fa915(0x1b6)](_0x157109){const _0x156e92=_0x2fa915,_0x304452=this[_0x156e92(0x1c8)]()+_0x156e92(0x338);return(await this[_0x156e92(0x3e7)][_0x156e92(0x4a0)](_0x304452,{'params':{'objectID':_0x157109[_0x156e92(0x3f2)],'unitID':_0x157109[_0x156e92(0x2d1)]}}))[_0x156e92(0x2e6)][_0x156e92(0x34f)];}async['putCollaborators'](_0x5d8d0e){const _0x113d75=_0x2fa915,_0x46cb9b=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x113d75(0x3e7)]['put'](_0x46cb9b,{'body':_0x5d8d0e});}},_0x539c7e[_0x2fa915(0x1c5)]=_0x24a831([_0x30a053(0x0,_0x4587e1[_0x2fa915(0x42b)](_0x108d2c['HTTPService'])),_0x30a053(0x1,_0x4587e1['Inject'](_0x4587e1[_0x2fa915(0x628)]))],_0x539c7e['AuthzIoHttpService']);var _0x1b376e={'exports':{}};function _0x545d15(_0x3d6534){const _0x57b4f3=_0x2fa915;throw new Error(_0x57b4f3(0x214)+_0x3d6534+_0x57b4f3(0x5ba));}var _0x144296={'exports':{}},_0x375615;function _0x5ce923(){const _0xffb2ed=_0x2fa915;return _0x375615||(_0x375615=0x1,function(_0x373a6c,_0x2ec9fb){(function(_0x4a7837,_0x58422a){_0x373a6c['exports']=_0x58422a();}(_0x46cbc6,function(){var _0x1776af=_0x1776af||function(_0x1df658,_0x1c843a){const _0x594f2d=_0x5275;var _0x5b8486;if(typeof window<'u'&&window[_0x594f2d(0x5b7)]&&(_0x5b8486=window[_0x594f2d(0x5b7)]),typeof self<'u'&&self[_0x594f2d(0x5b7)]&&(_0x5b8486=self[_0x594f2d(0x5b7)]),typeof globalThis<'u'&&globalThis[_0x594f2d(0x5b7)]&&(_0x5b8486=globalThis['crypto']),!_0x5b8486&&typeof window<'u'&&window['msCrypto']&&(_0x5b8486=window['msCrypto']),!_0x5b8486&&typeof _0x46cbc6<'u'&&_0x46cbc6['crypto']&&(_0x5b8486=_0x46cbc6[_0x594f2d(0x5b7)]),!_0x5b8486&&typeof _0x545d15==_0x594f2d(0x2e3))try{_0x5b8486=require('crypto');}catch{}var _0x5cfb8f=function(){const _0x7b61b2=_0x594f2d;if(_0x5b8486){if(typeof _0x5b8486[_0x7b61b2(0x585)]==_0x7b61b2(0x2e3))try{return _0x5b8486[_0x7b61b2(0x585)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5b8486[_0x7b61b2(0x58e)]==_0x7b61b2(0x2e3))try{return _0x5b8486['randomBytes'](0x4)[_0x7b61b2(0x40a)]();}catch{}}throw new Error(_0x7b61b2(0x279));},_0x44ba17=Object[_0x594f2d(0x5e5)]||(function(){function _0x534325(){}return function(_0xbbb072){const _0x1a8987=_0x5275;var _0x54cd77;return _0x534325[_0x1a8987(0x62d)]=_0xbbb072,_0x54cd77=new _0x534325(),_0x534325[_0x1a8987(0x62d)]=null,_0x54cd77;};}()),_0x58e63b={},_0x76329=_0x58e63b[_0x594f2d(0x33e)]={},_0x34b640=_0x76329[_0x594f2d(0x50e)]=(function(){return{'extend':function(_0x38e896){const _0x539288=_0x5275;var _0x2aabe1=_0x44ba17(this);return _0x38e896&&_0x2aabe1[_0x539288(0x566)](_0x38e896),(!_0x2aabe1[_0x539288(0x507)]('init')||this[_0x539288(0x558)]===_0x2aabe1['init'])&&(_0x2aabe1[_0x539288(0x558)]=function(){const _0x222e35=_0x539288;_0x2aabe1[_0x222e35(0x5bd)][_0x222e35(0x558)][_0x222e35(0x54c)](this,arguments);}),_0x2aabe1[_0x539288(0x558)][_0x539288(0x62d)]=_0x2aabe1,_0x2aabe1['$super']=this,_0x2aabe1;},'create':function(){const _0x32306c=_0x5275;var _0x4f6a8c=this[_0x32306c(0x44a)]();return _0x4f6a8c[_0x32306c(0x558)][_0x32306c(0x54c)](_0x4f6a8c,arguments),_0x4f6a8c;},'init':function(){},'mixIn':function(_0xbbbb8c){const _0x5adff4=_0x5275;for(var _0x2d42f9 in _0xbbbb8c)_0xbbbb8c['hasOwnProperty'](_0x2d42f9)&&(this[_0x2d42f9]=_0xbbbb8c[_0x2d42f9]);_0xbbbb8c['hasOwnProperty']('toString')&&(this[_0x5adff4(0x38a)]=_0xbbbb8c[_0x5adff4(0x38a)]);},'clone':function(){const _0x1e0022=_0x5275;return this[_0x1e0022(0x558)][_0x1e0022(0x62d)][_0x1e0022(0x44a)](this);}};}()),_0x528a13=_0x76329['WordArray']=_0x34b640['extend']({'init':function(_0x20c7b7,_0x5b1ebf){const _0x168927=_0x594f2d;_0x20c7b7=this[_0x168927(0x1e6)]=_0x20c7b7||[],_0x5b1ebf!=_0x1c843a?this[_0x168927(0x396)]=_0x5b1ebf:this[_0x168927(0x396)]=_0x20c7b7['length']*0x4;},'toString':function(_0x496658){const _0x5f3311=_0x594f2d;return(_0x496658||_0x2cf854)[_0x5f3311(0x621)](this);},'concat':function(_0x3f5f44){const _0x46887b=_0x594f2d;var _0x313ca9=this[_0x46887b(0x1e6)],_0x6993c6=_0x3f5f44[_0x46887b(0x1e6)],_0x12843e=this[_0x46887b(0x396)],_0x481d85=_0x3f5f44[_0x46887b(0x396)];if(this[_0x46887b(0x2f9)](),_0x12843e%0x4)for(var _0x3ccc62=0x0;_0x3ccc62<_0x481d85;_0x3ccc62++){var _0x3a71fa=_0x6993c6[_0x3ccc62>>>0x2]>>>0x18-_0x3ccc62%0x4*0x8&0xff;_0x313ca9[_0x12843e+_0x3ccc62>>>0x2]|=_0x3a71fa<<0x18-(_0x12843e+_0x3ccc62)%0x4*0x8;}else{for(var _0x52ea32=0x0;_0x52ea32<_0x481d85;_0x52ea32+=0x4)_0x313ca9[_0x12843e+_0x52ea32>>>0x2]=_0x6993c6[_0x52ea32>>>0x2];}return this[_0x46887b(0x396)]+=_0x481d85,this;},'clamp':function(){const _0x5c09dd=_0x594f2d;var _0x2c2d4b=this[_0x5c09dd(0x1e6)],_0x2eaa9d=this[_0x5c09dd(0x396)];_0x2c2d4b[_0x2eaa9d>>>0x2]&=0xffffffff<<0x20-_0x2eaa9d%0x4*0x8,_0x2c2d4b[_0x5c09dd(0x4d9)]=_0x1df658[_0x5c09dd(0x49a)](_0x2eaa9d/0x4);},'clone':function(){const _0x45b218=_0x594f2d;var _0x515449=_0x34b640[_0x45b218(0x230)][_0x45b218(0x246)](this);return _0x515449['words']=this['words']['slice'](0x0),_0x515449;},'random':function(_0x50ac20){for(var _0x580d56=[],_0x1c376d=0x0;_0x1c376d<_0x50ac20;_0x1c376d+=0x4)_0x580d56['push'](_0x5cfb8f());return new _0x528a13['init'](_0x580d56,_0x50ac20);}}),_0x4e6e3b=_0x58e63b[_0x594f2d(0x297)]={},_0x2cf854=_0x4e6e3b[_0x594f2d(0x2a5)]={'stringify':function(_0x14be9b){const _0x352804=_0x594f2d;for(var _0x873eb0=_0x14be9b[_0x352804(0x1e6)],_0x336a76=_0x14be9b[_0x352804(0x396)],_0x2ab0d9=[],_0x12146b=0x0;_0x12146b<_0x336a76;_0x12146b++){var _0x4e6871=_0x873eb0[_0x12146b>>>0x2]>>>0x18-_0x12146b%0x4*0x8&0xff;_0x2ab0d9[_0x352804(0x367)]((_0x4e6871>>>0x4)['toString'](0x10)),_0x2ab0d9[_0x352804(0x367)]((_0x4e6871&0xf)['toString'](0x10));}return _0x2ab0d9[_0x352804(0x4ba)]('');},'parse':function(_0x5b5f75){const _0x2eabe3=_0x594f2d;for(var _0x334305=_0x5b5f75[_0x2eabe3(0x4d9)],_0x19f67a=[],_0x1e40f9=0x0;_0x1e40f9<_0x334305;_0x1e40f9+=0x2)_0x19f67a[_0x1e40f9>>>0x3]|=parseInt(_0x5b5f75['substr'](_0x1e40f9,0x2),0x10)<<0x18-_0x1e40f9%0x8*0x4;return new _0x528a13[(_0x2eabe3(0x558))](_0x19f67a,_0x334305/0x2);}},_0x54a9cc=_0x4e6e3b['Latin1']={'stringify':function(_0x20571c){const _0x1597b3=_0x594f2d;for(var _0x430c67=_0x20571c[_0x1597b3(0x1e6)],_0x26e4e4=_0x20571c['sigBytes'],_0x4a9615=[],_0x3b7b24=0x0;_0x3b7b24<_0x26e4e4;_0x3b7b24++){var _0x5cc51c=_0x430c67[_0x3b7b24>>>0x2]>>>0x18-_0x3b7b24%0x4*0x8&0xff;_0x4a9615['push'](String[_0x1597b3(0x1b0)](_0x5cc51c));}return _0x4a9615[_0x1597b3(0x4ba)]('');},'parse':function(_0x1b9864){const _0x52a2a8=_0x594f2d;for(var _0x429483=_0x1b9864[_0x52a2a8(0x4d9)],_0xe3bed5=[],_0x4a99a6=0x0;_0x4a99a6<_0x429483;_0x4a99a6++)_0xe3bed5[_0x4a99a6>>>0x2]|=(_0x1b9864['charCodeAt'](_0x4a99a6)&0xff)<<0x18-_0x4a99a6%0x4*0x8;return new _0x528a13[(_0x52a2a8(0x558))](_0xe3bed5,_0x429483);}},_0x257c49=_0x4e6e3b[_0x594f2d(0x36a)]={'stringify':function(_0x462add){const _0x262ae3=_0x594f2d;try{return decodeURIComponent(escape(_0x54a9cc['stringify'](_0x462add)));}catch{throw new Error(_0x262ae3(0x4b4));}},'parse':function(_0x144f8d){const _0x143c9e=_0x594f2d;return _0x54a9cc[_0x143c9e(0x3bf)](unescape(encodeURIComponent(_0x144f8d)));}},_0x43a5f7=_0x76329[_0x594f2d(0x234)]=_0x34b640[_0x594f2d(0x44a)]({'reset':function(){const _0xebb15f=_0x594f2d;this[_0xebb15f(0x4fc)]=new _0x528a13[(_0xebb15f(0x558))](),this['_nDataBytes']=0x0;},'_append':function(_0x3a47eb){const _0x559591=_0x594f2d;typeof _0x3a47eb==_0x559591(0x241)&&(_0x3a47eb=_0x257c49[_0x559591(0x3bf)](_0x3a47eb)),this[_0x559591(0x4fc)][_0x559591(0x227)](_0x3a47eb),this[_0x559591(0x613)]+=_0x3a47eb[_0x559591(0x396)];},'_process':function(_0x30d1f1){const _0x18352f=_0x594f2d;var _0x4ea041,_0x48436d=this['_data'],_0x49a2fe=_0x48436d[_0x18352f(0x1e6)],_0x5b109a=_0x48436d[_0x18352f(0x396)],_0x3b5bf7=this[_0x18352f(0x414)],_0x1de42a=_0x3b5bf7*0x4,_0x8ffd8=_0x5b109a/_0x1de42a;_0x30d1f1?_0x8ffd8=_0x1df658[_0x18352f(0x49a)](_0x8ffd8):_0x8ffd8=_0x1df658[_0x18352f(0x433)]((_0x8ffd8|0x0)-this[_0x18352f(0x1df)],0x0);var _0x423b42=_0x8ffd8*_0x3b5bf7,_0x45d605=_0x1df658[_0x18352f(0x5bc)](_0x423b42*0x4,_0x5b109a);if(_0x423b42){for(var _0x230ca8=0x0;_0x230ca8<_0x423b42;_0x230ca8+=_0x3b5bf7)this[_0x18352f(0x464)](_0x49a2fe,_0x230ca8);_0x4ea041=_0x49a2fe['splice'](0x0,_0x423b42),_0x48436d['sigBytes']-=_0x45d605;}return new _0x528a13['init'](_0x4ea041,_0x45d605);},'clone':function(){const _0x4cfb21=_0x594f2d;var _0x198181=_0x34b640[_0x4cfb21(0x230)]['call'](this);return _0x198181[_0x4cfb21(0x4fc)]=this[_0x4cfb21(0x4fc)]['clone'](),_0x198181;},'_minBufferSize':0x0});_0x76329[_0x594f2d(0x1f8)]=_0x43a5f7[_0x594f2d(0x44a)]({'cfg':_0x34b640[_0x594f2d(0x44a)](),'init':function(_0x250663){const _0x513321=_0x594f2d;this[_0x513321(0x353)]=this[_0x513321(0x353)][_0x513321(0x44a)](_0x250663),this[_0x513321(0x233)]();},'reset':function(){const _0xedc5c9=_0x594f2d;_0x43a5f7[_0xedc5c9(0x233)][_0xedc5c9(0x246)](this),this[_0xedc5c9(0x607)]();},'update':function(_0x4112ab){const _0x3f2817=_0x594f2d;return this[_0x3f2817(0x1e0)](_0x4112ab),this['_process'](),this;},'finalize':function(_0x3fd799){const _0x57f2b7=_0x594f2d;_0x3fd799&&this[_0x57f2b7(0x1e0)](_0x3fd799);var _0x1f3ab8=this[_0x57f2b7(0x278)]();return _0x1f3ab8;},'blockSize':0x10,'_createHelper':function(_0x17ac50){return function(_0x5025ff,_0x3fe315){const _0x275ee9=_0x5275;return new _0x17ac50['init'](_0x3fe315)[_0x275ee9(0x277)](_0x5025ff);};},'_createHmacHelper':function(_0x4a6210){return function(_0x5806fc,_0x1d9244){const _0x7655c5=_0x5275;return new _0xb547f8[(_0x7655c5(0x302))][(_0x7655c5(0x558))](_0x4a6210,_0x1d9244)[_0x7655c5(0x277)](_0x5806fc);};}});var _0xb547f8=_0x58e63b[_0x594f2d(0x4dd)]={};return _0x58e63b;}(Math);return _0x1776af;}));}(_0x144296)),_0x144296[_0xffb2ed(0x3a4)];}var _0x1c9bc4={'exports':{}},_0x50dd25;function _0x235b13(){const _0x1f54e2=_0x2fa915;return _0x50dd25||(_0x50dd25=0x1,function(_0x1ce4d1,_0x50c7f9){(function(_0x38a44a,_0x28d853){const _0x22d475=_0x5275;_0x1ce4d1[_0x22d475(0x3a4)]=_0x28d853(_0x5ce923());}(_0x46cbc6,function(_0x469a53){const _0x5791fc=_0x5275;return(function(){const _0x519e0d=_0x5275;var _0x370017=_0x469a53,_0x394c18=_0x370017['lib'],_0x27c388=_0x394c18['WordArray'],_0x18ae1a=_0x370017[_0x519e0d(0x297)];_0x18ae1a['Base64']={'stringify':function(_0x438b14){const _0x256a99=_0x519e0d;var _0x264f1f=_0x438b14['words'],_0x2b8cfe=_0x438b14[_0x256a99(0x396)],_0xf0982=this['_map'];_0x438b14[_0x256a99(0x2f9)]();for(var _0x42be10=[],_0x1424cd=0x0;_0x1424cd<_0x2b8cfe;_0x1424cd+=0x3)for(var _0x194e1d=_0x264f1f[_0x1424cd>>>0x2]>>>0x18-_0x1424cd%0x4*0x8&0xff,_0x4043d0=_0x264f1f[_0x1424cd+0x1>>>0x2]>>>0x18-(_0x1424cd+0x1)%0x4*0x8&0xff,_0x13063f=_0x264f1f[_0x1424cd+0x2>>>0x2]>>>0x18-(_0x1424cd+0x2)%0x4*0x8&0xff,_0xa0c6cd=_0x194e1d<<0x10|_0x4043d0<<0x8|_0x13063f,_0xce360c=0x0;_0xce360c<0x4&&_0x1424cd+_0xce360c*0.75<_0x2b8cfe;_0xce360c++)_0x42be10['push'](_0xf0982[_0x256a99(0x45c)](_0xa0c6cd>>>0x6*(0x3-_0xce360c)&0x3f));var _0x77ffb=_0xf0982[_0x256a99(0x45c)](0x40);if(_0x77ffb){for(;_0x42be10[_0x256a99(0x4d9)]%0x4;)_0x42be10[_0x256a99(0x367)](_0x77ffb);}return _0x42be10[_0x256a99(0x4ba)]('');},'parse':function(_0xbc87b0){const _0x23a312=_0x519e0d;var _0x3c1213=_0xbc87b0['length'],_0x42db40=this[_0x23a312(0x245)],_0xe05172=this[_0x23a312(0x4c1)];if(!_0xe05172){_0xe05172=this[_0x23a312(0x4c1)]=[];for(var _0x52e8e6=0x0;_0x52e8e6<_0x42db40[_0x23a312(0x4d9)];_0x52e8e6++)_0xe05172[_0x42db40[_0x23a312(0x37a)](_0x52e8e6)]=_0x52e8e6;}var _0x22de93=_0x42db40['charAt'](0x40);if(_0x22de93){var _0x5101e1=_0xbc87b0[_0x23a312(0x1dc)](_0x22de93);_0x5101e1!==-0x1&&(_0x3c1213=_0x5101e1);}return _0x3c4f8f(_0xbc87b0,_0x3c1213,_0xe05172);},'_map':_0x519e0d(0x5e8)};function _0x3c4f8f(_0x190911,_0x1c3d4c,_0x37ad93){const _0x2569e8=_0x519e0d;for(var _0x4586b4=[],_0x5aa11f=0x0,_0x2b047c=0x0;_0x2b047c<_0x1c3d4c;_0x2b047c++)if(_0x2b047c%0x4){var _0x5da855=_0x37ad93[_0x190911[_0x2569e8(0x37a)](_0x2b047c-0x1)]<<_0x2b047c%0x4*0x2,_0x4905c9=_0x37ad93[_0x190911[_0x2569e8(0x37a)](_0x2b047c)]>>>0x6-_0x2b047c%0x4*0x2,_0x2c1f12=_0x5da855|_0x4905c9;_0x4586b4[_0x5aa11f>>>0x2]|=_0x2c1f12<<0x18-_0x5aa11f%0x4*0x8,_0x5aa11f++;}return _0x27c388[_0x2569e8(0x5e5)](_0x4586b4,_0x5aa11f);}}()),_0x469a53['enc'][_0x5791fc(0x1cb)];}));}(_0x1c9bc4)),_0x1c9bc4[_0x1f54e2(0x3a4)];}var _0xcd9ab0={'exports':{}},_0x4b5c59;function _0x12bb34(){const _0x3e0e25=_0x2fa915;return _0x4b5c59||(_0x4b5c59=0x1,function(_0x50213f,_0x59b4d1){(function(_0x3e8342,_0x49361d){const _0x45e09f=_0x5275;_0x50213f[_0x45e09f(0x3a4)]=_0x49361d(_0x5ce923());}(_0x46cbc6,function(_0x5da221){const _0x13a716=_0x5275;return function(_0x2e351e){const _0x125fa3=_0x5275;var _0x2a579c=_0x5da221,_0x694c7b=_0x2a579c[_0x125fa3(0x33e)],_0x582889=_0x694c7b[_0x125fa3(0x232)],_0x369171=_0x694c7b[_0x125fa3(0x1f8)],_0xb7d8c7=_0x2a579c['algo'],_0x1f40ab=[];(function(){const _0x232be2=_0x125fa3;for(var _0x2b83da=0x0;_0x2b83da<0x40;_0x2b83da++)_0x1f40ab[_0x2b83da]=_0x2e351e[_0x232be2(0x29f)](_0x2e351e[_0x232be2(0x5cc)](_0x2b83da+0x1))*0x100000000|0x0;}());var _0x35cca5=_0xb7d8c7['MD5']=_0x369171[_0x125fa3(0x44a)]({'_doReset':function(){this['_hash']=new _0x582889['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4eaed2,_0xae8cab){const _0x12087d=_0x125fa3;for(var _0x489cf0=0x0;_0x489cf0<0x10;_0x489cf0++){var _0x1d2119=_0xae8cab+_0x489cf0,_0x4aa599=_0x4eaed2[_0x1d2119];_0x4eaed2[_0x1d2119]=(_0x4aa599<<0x8|_0x4aa599>>>0x18)&0xff00ff|(_0x4aa599<<0x18|_0x4aa599>>>0x8)&0xff00ff00;}var _0x54fe01=this[_0x12087d(0x253)][_0x12087d(0x1e6)],_0x4a05a5=_0x4eaed2[_0xae8cab+0x0],_0x5b217c=_0x4eaed2[_0xae8cab+0x1],_0x323be7=_0x4eaed2[_0xae8cab+0x2],_0x3af8be=_0x4eaed2[_0xae8cab+0x3],_0x180863=_0x4eaed2[_0xae8cab+0x4],_0x16212b=_0x4eaed2[_0xae8cab+0x5],_0x46de68=_0x4eaed2[_0xae8cab+0x6],_0x8fe88b=_0x4eaed2[_0xae8cab+0x7],_0x51e417=_0x4eaed2[_0xae8cab+0x8],_0x4dfd6a=_0x4eaed2[_0xae8cab+0x9],_0xf1e70a=_0x4eaed2[_0xae8cab+0xa],_0x49c7cf=_0x4eaed2[_0xae8cab+0xb],_0x195b6a=_0x4eaed2[_0xae8cab+0xc],_0xef0cc=_0x4eaed2[_0xae8cab+0xd],_0x535766=_0x4eaed2[_0xae8cab+0xe],_0x31f527=_0x4eaed2[_0xae8cab+0xf],_0x1191c6=_0x54fe01[0x0],_0x48e650=_0x54fe01[0x1],_0x59f9e4=_0x54fe01[0x2],_0x438d55=_0x54fe01[0x3];_0x1191c6=_0x2bc214(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x4a05a5,0x7,_0x1f40ab[0x0]),_0x438d55=_0x2bc214(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x5b217c,0xc,_0x1f40ab[0x1]),_0x59f9e4=_0x2bc214(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x323be7,0x11,_0x1f40ab[0x2]),_0x48e650=_0x2bc214(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x3af8be,0x16,_0x1f40ab[0x3]),_0x1191c6=_0x2bc214(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x180863,0x7,_0x1f40ab[0x4]),_0x438d55=_0x2bc214(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x16212b,0xc,_0x1f40ab[0x5]),_0x59f9e4=_0x2bc214(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x46de68,0x11,_0x1f40ab[0x6]),_0x48e650=_0x2bc214(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x8fe88b,0x16,_0x1f40ab[0x7]),_0x1191c6=_0x2bc214(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x51e417,0x7,_0x1f40ab[0x8]),_0x438d55=_0x2bc214(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x4dfd6a,0xc,_0x1f40ab[0x9]),_0x59f9e4=_0x2bc214(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0xf1e70a,0x11,_0x1f40ab[0xa]),_0x48e650=_0x2bc214(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x49c7cf,0x16,_0x1f40ab[0xb]),_0x1191c6=_0x2bc214(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x195b6a,0x7,_0x1f40ab[0xc]),_0x438d55=_0x2bc214(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0xef0cc,0xc,_0x1f40ab[0xd]),_0x59f9e4=_0x2bc214(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x535766,0x11,_0x1f40ab[0xe]),_0x48e650=_0x2bc214(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x31f527,0x16,_0x1f40ab[0xf]),_0x1191c6=_0x1a7a11(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x5b217c,0x5,_0x1f40ab[0x10]),_0x438d55=_0x1a7a11(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x46de68,0x9,_0x1f40ab[0x11]),_0x59f9e4=_0x1a7a11(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x49c7cf,0xe,_0x1f40ab[0x12]),_0x48e650=_0x1a7a11(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x4a05a5,0x14,_0x1f40ab[0x13]),_0x1191c6=_0x1a7a11(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x16212b,0x5,_0x1f40ab[0x14]),_0x438d55=_0x1a7a11(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0xf1e70a,0x9,_0x1f40ab[0x15]),_0x59f9e4=_0x1a7a11(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x31f527,0xe,_0x1f40ab[0x16]),_0x48e650=_0x1a7a11(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x180863,0x14,_0x1f40ab[0x17]),_0x1191c6=_0x1a7a11(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x4dfd6a,0x5,_0x1f40ab[0x18]),_0x438d55=_0x1a7a11(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x535766,0x9,_0x1f40ab[0x19]),_0x59f9e4=_0x1a7a11(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x3af8be,0xe,_0x1f40ab[0x1a]),_0x48e650=_0x1a7a11(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x51e417,0x14,_0x1f40ab[0x1b]),_0x1191c6=_0x1a7a11(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0xef0cc,0x5,_0x1f40ab[0x1c]),_0x438d55=_0x1a7a11(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x323be7,0x9,_0x1f40ab[0x1d]),_0x59f9e4=_0x1a7a11(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x8fe88b,0xe,_0x1f40ab[0x1e]),_0x48e650=_0x1a7a11(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x195b6a,0x14,_0x1f40ab[0x1f]),_0x1191c6=_0x230ac0(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x16212b,0x4,_0x1f40ab[0x20]),_0x438d55=_0x230ac0(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x51e417,0xb,_0x1f40ab[0x21]),_0x59f9e4=_0x230ac0(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x49c7cf,0x10,_0x1f40ab[0x22]),_0x48e650=_0x230ac0(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x535766,0x17,_0x1f40ab[0x23]),_0x1191c6=_0x230ac0(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x5b217c,0x4,_0x1f40ab[0x24]),_0x438d55=_0x230ac0(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x180863,0xb,_0x1f40ab[0x25]),_0x59f9e4=_0x230ac0(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x8fe88b,0x10,_0x1f40ab[0x26]),_0x48e650=_0x230ac0(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0xf1e70a,0x17,_0x1f40ab[0x27]),_0x1191c6=_0x230ac0(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0xef0cc,0x4,_0x1f40ab[0x28]),_0x438d55=_0x230ac0(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x4a05a5,0xb,_0x1f40ab[0x29]),_0x59f9e4=_0x230ac0(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x3af8be,0x10,_0x1f40ab[0x2a]),_0x48e650=_0x230ac0(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x46de68,0x17,_0x1f40ab[0x2b]),_0x1191c6=_0x230ac0(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x4dfd6a,0x4,_0x1f40ab[0x2c]),_0x438d55=_0x230ac0(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x195b6a,0xb,_0x1f40ab[0x2d]),_0x59f9e4=_0x230ac0(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x31f527,0x10,_0x1f40ab[0x2e]),_0x48e650=_0x230ac0(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x323be7,0x17,_0x1f40ab[0x2f]),_0x1191c6=_0x3f86af(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x4a05a5,0x6,_0x1f40ab[0x30]),_0x438d55=_0x3f86af(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x8fe88b,0xa,_0x1f40ab[0x31]),_0x59f9e4=_0x3f86af(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x535766,0xf,_0x1f40ab[0x32]),_0x48e650=_0x3f86af(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x16212b,0x15,_0x1f40ab[0x33]),_0x1191c6=_0x3f86af(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x195b6a,0x6,_0x1f40ab[0x34]),_0x438d55=_0x3f86af(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x3af8be,0xa,_0x1f40ab[0x35]),_0x59f9e4=_0x3f86af(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0xf1e70a,0xf,_0x1f40ab[0x36]),_0x48e650=_0x3f86af(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x5b217c,0x15,_0x1f40ab[0x37]),_0x1191c6=_0x3f86af(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x51e417,0x6,_0x1f40ab[0x38]),_0x438d55=_0x3f86af(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x31f527,0xa,_0x1f40ab[0x39]),_0x59f9e4=_0x3f86af(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x46de68,0xf,_0x1f40ab[0x3a]),_0x48e650=_0x3f86af(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0xef0cc,0x15,_0x1f40ab[0x3b]),_0x1191c6=_0x3f86af(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x180863,0x6,_0x1f40ab[0x3c]),_0x438d55=_0x3f86af(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x49c7cf,0xa,_0x1f40ab[0x3d]),_0x59f9e4=_0x3f86af(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x323be7,0xf,_0x1f40ab[0x3e]),_0x48e650=_0x3f86af(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x4dfd6a,0x15,_0x1f40ab[0x3f]),_0x54fe01[0x0]=_0x54fe01[0x0]+_0x1191c6|0x0,_0x54fe01[0x1]=_0x54fe01[0x1]+_0x48e650|0x0,_0x54fe01[0x2]=_0x54fe01[0x2]+_0x59f9e4|0x0,_0x54fe01[0x3]=_0x54fe01[0x3]+_0x438d55|0x0;},'_doFinalize':function(){const _0x15a530=_0x125fa3;var _0x34b28e=this[_0x15a530(0x4fc)],_0x5633ac=_0x34b28e[_0x15a530(0x1e6)],_0x33bae8=this['_nDataBytes']*0x8,_0x4ac85=_0x34b28e[_0x15a530(0x396)]*0x8;_0x5633ac[_0x4ac85>>>0x5]|=0x80<<0x18-_0x4ac85%0x20;var _0x39f133=_0x2e351e[_0x15a530(0x482)](_0x33bae8/0x100000000),_0x1bf850=_0x33bae8;_0x5633ac[(_0x4ac85+0x40>>>0x9<<0x4)+0xf]=(_0x39f133<<0x8|_0x39f133>>>0x18)&0xff00ff|(_0x39f133<<0x18|_0x39f133>>>0x8)&0xff00ff00,_0x5633ac[(_0x4ac85+0x40>>>0x9<<0x4)+0xe]=(_0x1bf850<<0x8|_0x1bf850>>>0x18)&0xff00ff|(_0x1bf850<<0x18|_0x1bf850>>>0x8)&0xff00ff00,_0x34b28e[_0x15a530(0x396)]=(_0x5633ac[_0x15a530(0x4d9)]+0x1)*0x4,this['_process']();for(var _0x249a56=this['_hash'],_0x3b7bdf=_0x249a56[_0x15a530(0x1e6)],_0x5bf882=0x0;_0x5bf882<0x4;_0x5bf882++){var _0x3b9a55=_0x3b7bdf[_0x5bf882];_0x3b7bdf[_0x5bf882]=(_0x3b9a55<<0x8|_0x3b9a55>>>0x18)&0xff00ff|(_0x3b9a55<<0x18|_0x3b9a55>>>0x8)&0xff00ff00;}return _0x249a56;},'clone':function(){const _0x45dbc5=_0x125fa3;var _0x1a48a3=_0x369171[_0x45dbc5(0x230)][_0x45dbc5(0x246)](this);return _0x1a48a3[_0x45dbc5(0x253)]=this['_hash']['clone'](),_0x1a48a3;}});function _0x2bc214(_0x5e163d,_0x34e695,_0x546796,_0x402bd9,_0x55ddb2,_0x28e73a,_0xc7f368){var _0x2d21c7=_0x5e163d+(_0x34e695&_0x546796|~_0x34e695&_0x402bd9)+_0x55ddb2+_0xc7f368;return(_0x2d21c7<<_0x28e73a|_0x2d21c7>>>0x20-_0x28e73a)+_0x34e695;}function _0x1a7a11(_0x43dd35,_0x47e0d6,_0x55c43c,_0x3ef68c,_0x4ccdb6,_0x27d55c,_0x14ef8c){var _0x533b86=_0x43dd35+(_0x47e0d6&_0x3ef68c|_0x55c43c&~_0x3ef68c)+_0x4ccdb6+_0x14ef8c;return(_0x533b86<<_0x27d55c|_0x533b86>>>0x20-_0x27d55c)+_0x47e0d6;}function _0x230ac0(_0x5eaabb,_0x17eb0d,_0x399f6f,_0x2a89fe,_0x2d8999,_0x125617,_0x44170a){var _0x2f1387=_0x5eaabb+(_0x17eb0d^_0x399f6f^_0x2a89fe)+_0x2d8999+_0x44170a;return(_0x2f1387<<_0x125617|_0x2f1387>>>0x20-_0x125617)+_0x17eb0d;}function _0x3f86af(_0x387a48,_0x321589,_0x286ef2,_0xefb38d,_0x17ad62,_0x116694,_0x242e3d){var _0x4f12b4=_0x387a48+(_0x286ef2^(_0x321589|~_0xefb38d))+_0x17ad62+_0x242e3d;return(_0x4f12b4<<_0x116694|_0x4f12b4>>>0x20-_0x116694)+_0x321589;}_0x2a579c['MD5']=_0x369171['_createHelper'](_0x35cca5),_0x2a579c['HmacMD5']=_0x369171[_0x125fa3(0x3c5)](_0x35cca5);}(Math),_0x5da221[_0x13a716(0x2c2)];}));}(_0xcd9ab0)),_0xcd9ab0[_0x3e0e25(0x3a4)];}var _0x475f5d={'exports':{}},_0x4855a3={'exports':{}},_0x27b85d;function _0x36bbf4(){const _0x4075b8=_0x2fa915;return _0x27b85d||(_0x27b85d=0x1,function(_0xdbbe5c,_0x2e4402){(function(_0xde69c4,_0x3380c6){const _0x5a095f=_0x5275;_0xdbbe5c[_0x5a095f(0x3a4)]=_0x3380c6(_0x5ce923());}(_0x46cbc6,function(_0x500f3d){const _0x370b8e=_0x5275;return(function(){const _0x5e7325=_0x5275;var _0x207c23=_0x500f3d,_0x3ed765=_0x207c23['lib'],_0x443a13=_0x3ed765['WordArray'],_0x50d9c0=_0x3ed765[_0x5e7325(0x1f8)],_0x337aa2=_0x207c23[_0x5e7325(0x4dd)],_0x13ae6f=[],_0x492df9=_0x337aa2['SHA1']=_0x50d9c0[_0x5e7325(0x44a)]({'_doReset':function(){const _0x23516f=_0x5e7325;this[_0x23516f(0x253)]=new _0x443a13[(_0x23516f(0x558))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5bbd81,_0x272955){const _0x1e28f6=_0x5e7325;for(var _0x2f57b2=this['_hash'][_0x1e28f6(0x1e6)],_0x2af73e=_0x2f57b2[0x0],_0x2b06e2=_0x2f57b2[0x1],_0x3d381a=_0x2f57b2[0x2],_0x3189b1=_0x2f57b2[0x3],_0x32138f=_0x2f57b2[0x4],_0x4b8cbe=0x0;_0x4b8cbe<0x50;_0x4b8cbe++){if(_0x4b8cbe<0x10)_0x13ae6f[_0x4b8cbe]=_0x5bbd81[_0x272955+_0x4b8cbe]|0x0;else{var _0x654dd5=_0x13ae6f[_0x4b8cbe-0x3]^_0x13ae6f[_0x4b8cbe-0x8]^_0x13ae6f[_0x4b8cbe-0xe]^_0x13ae6f[_0x4b8cbe-0x10];_0x13ae6f[_0x4b8cbe]=_0x654dd5<<0x1|_0x654dd5>>>0x1f;}var _0x8f7e67=(_0x2af73e<<0x5|_0x2af73e>>>0x1b)+_0x32138f+_0x13ae6f[_0x4b8cbe];_0x4b8cbe<0x14?_0x8f7e67+=(_0x2b06e2&_0x3d381a|~_0x2b06e2&_0x3189b1)+0x5a827999:_0x4b8cbe<0x28?_0x8f7e67+=(_0x2b06e2^_0x3d381a^_0x3189b1)+0x6ed9eba1:_0x4b8cbe<0x3c?_0x8f7e67+=(_0x2b06e2&_0x3d381a|_0x2b06e2&_0x3189b1|_0x3d381a&_0x3189b1)-0x70e44324:_0x8f7e67+=(_0x2b06e2^_0x3d381a^_0x3189b1)-0x359d3e2a,_0x32138f=_0x3189b1,_0x3189b1=_0x3d381a,_0x3d381a=_0x2b06e2<<0x1e|_0x2b06e2>>>0x2,_0x2b06e2=_0x2af73e,_0x2af73e=_0x8f7e67;}_0x2f57b2[0x0]=_0x2f57b2[0x0]+_0x2af73e|0x0,_0x2f57b2[0x1]=_0x2f57b2[0x1]+_0x2b06e2|0x0,_0x2f57b2[0x2]=_0x2f57b2[0x2]+_0x3d381a|0x0,_0x2f57b2[0x3]=_0x2f57b2[0x3]+_0x3189b1|0x0,_0x2f57b2[0x4]=_0x2f57b2[0x4]+_0x32138f|0x0;},'_doFinalize':function(){const _0x1f080e=_0x5e7325;var _0x56cba3=this[_0x1f080e(0x4fc)],_0x29ebc3=_0x56cba3['words'],_0x52117f=this[_0x1f080e(0x613)]*0x8,_0x3730eb=_0x56cba3[_0x1f080e(0x396)]*0x8;return _0x29ebc3[_0x3730eb>>>0x5]|=0x80<<0x18-_0x3730eb%0x20,_0x29ebc3[(_0x3730eb+0x40>>>0x9<<0x4)+0xe]=Math[_0x1f080e(0x482)](_0x52117f/0x100000000),_0x29ebc3[(_0x3730eb+0x40>>>0x9<<0x4)+0xf]=_0x52117f,_0x56cba3[_0x1f080e(0x396)]=_0x29ebc3[_0x1f080e(0x4d9)]*0x4,this[_0x1f080e(0x3f6)](),this[_0x1f080e(0x253)];},'clone':function(){const _0x1b92c3=_0x5e7325;var _0x3dcfc2=_0x50d9c0[_0x1b92c3(0x230)][_0x1b92c3(0x246)](this);return _0x3dcfc2[_0x1b92c3(0x253)]=this[_0x1b92c3(0x253)][_0x1b92c3(0x230)](),_0x3dcfc2;}});_0x207c23[_0x5e7325(0x5f0)]=_0x50d9c0[_0x5e7325(0x5fe)](_0x492df9),_0x207c23['HmacSHA1']=_0x50d9c0[_0x5e7325(0x3c5)](_0x492df9);}()),_0x500f3d[_0x370b8e(0x5f0)];}));}(_0x4855a3)),_0x4855a3[_0x4075b8(0x3a4)];}var _0x481a78={'exports':{}},_0x227b55;function _0x3612e4(){const _0x452591=_0x2fa915;return _0x227b55||(_0x227b55=0x1,function(_0x228023,_0x487a67){(function(_0x33450c,_0x2c48f5){_0x228023['exports']=_0x2c48f5(_0x5ce923());}(_0x46cbc6,function(_0x119a2b){(function(){const _0x27fb53=_0x5275;var _0x18dd02=_0x119a2b,_0x5f07ad=_0x18dd02['lib'],_0x272581=_0x5f07ad[_0x27fb53(0x50e)],_0x398a09=_0x18dd02[_0x27fb53(0x297)],_0x436f00=_0x398a09[_0x27fb53(0x36a)],_0x425ef8=_0x18dd02[_0x27fb53(0x4dd)];_0x425ef8[_0x27fb53(0x302)]=_0x272581[_0x27fb53(0x44a)]({'init':function(_0x2bdf89,_0x274f4d){const _0x3bd78b=_0x27fb53;_0x2bdf89=this[_0x3bd78b(0x37b)]=new _0x2bdf89[(_0x3bd78b(0x558))](),typeof _0x274f4d==_0x3bd78b(0x241)&&(_0x274f4d=_0x436f00[_0x3bd78b(0x3bf)](_0x274f4d));var _0x426e01=_0x2bdf89[_0x3bd78b(0x414)],_0x3d3d70=_0x426e01*0x4;_0x274f4d[_0x3bd78b(0x396)]>_0x3d3d70&&(_0x274f4d=_0x2bdf89[_0x3bd78b(0x277)](_0x274f4d)),_0x274f4d[_0x3bd78b(0x2f9)]();for(var _0x578d92=this[_0x3bd78b(0x45d)]=_0x274f4d[_0x3bd78b(0x230)](),_0x4cb655=this['_iKey']=_0x274f4d['clone'](),_0x26e634=_0x578d92[_0x3bd78b(0x1e6)],_0x566c08=_0x4cb655['words'],_0x53b83b=0x0;_0x53b83b<_0x426e01;_0x53b83b++)_0x26e634[_0x53b83b]^=0x5c5c5c5c,_0x566c08[_0x53b83b]^=0x36363636;_0x578d92[_0x3bd78b(0x396)]=_0x4cb655['sigBytes']=_0x3d3d70,this[_0x3bd78b(0x233)]();},'reset':function(){const _0x36bce7=_0x27fb53;var _0x5b8d2e=this['_hasher'];_0x5b8d2e[_0x36bce7(0x233)](),_0x5b8d2e[_0x36bce7(0x3ab)](this[_0x36bce7(0x28a)]);},'update':function(_0x2bab0b){const _0x4468cb=_0x27fb53;return this[_0x4468cb(0x37b)][_0x4468cb(0x3ab)](_0x2bab0b),this;},'finalize':function(_0x42f222){const _0x26befd=_0x27fb53;var _0x4b6310=this[_0x26befd(0x37b)],_0x34a282=_0x4b6310[_0x26befd(0x277)](_0x42f222);_0x4b6310[_0x26befd(0x233)]();var _0x593913=_0x4b6310[_0x26befd(0x277)](this[_0x26befd(0x45d)][_0x26befd(0x230)]()[_0x26befd(0x227)](_0x34a282));return _0x593913;}});}());}));}(_0x481a78)),_0x481a78[_0x452591(0x3a4)];}var _0x792574;function _0x39a2d6(){const _0x30ea3a=_0x2fa915;return _0x792574||(_0x792574=0x1,function(_0x370c42,_0x55d645){(function(_0x3466d7,_0x28b3e5,_0x5bcf69){const _0x32febc=_0x5275;_0x370c42[_0x32febc(0x3a4)]=_0x28b3e5(_0x5ce923(),_0x36bbf4(),_0x3612e4());}(_0x46cbc6,function(_0x477d2c){const _0x4a78a7=_0x5275;return(function(){const _0x264ebc=_0x5275;var _0x1a986e=_0x477d2c,_0x4fb7d8=_0x1a986e[_0x264ebc(0x33e)],_0x559b49=_0x4fb7d8[_0x264ebc(0x50e)],_0x34f9fa=_0x4fb7d8[_0x264ebc(0x232)],_0x555d4d=_0x1a986e[_0x264ebc(0x4dd)],_0x5280b5=_0x555d4d['MD5'],_0x2b30f8=_0x555d4d['EvpKDF']=_0x559b49[_0x264ebc(0x44a)]({'cfg':_0x559b49['extend']({'keySize':0x80/0x20,'hasher':_0x5280b5,'iterations':0x1}),'init':function(_0x15c32b){const _0x5a9c2c=_0x264ebc;this[_0x5a9c2c(0x353)]=this['cfg']['extend'](_0x15c32b);},'compute':function(_0x564b8f,_0x2726d3){const _0x1587d8=_0x264ebc;for(var _0x54d04c,_0x7cdf6c=this[_0x1587d8(0x353)],_0x516977=_0x7cdf6c[_0x1587d8(0x4ff)][_0x1587d8(0x5e5)](),_0x487e58=_0x34f9fa['create'](),_0x5a07e1=_0x487e58[_0x1587d8(0x1e6)],_0x3c9e98=_0x7cdf6c[_0x1587d8(0x394)],_0x4a7dd7=_0x7cdf6c[_0x1587d8(0x582)];_0x5a07e1[_0x1587d8(0x4d9)]<_0x3c9e98;){_0x54d04c&&_0x516977['update'](_0x54d04c),_0x54d04c=_0x516977['update'](_0x564b8f)['finalize'](_0x2726d3),_0x516977['reset']();for(var _0x579846=0x1;_0x579846<_0x4a7dd7;_0x579846++)_0x54d04c=_0x516977['finalize'](_0x54d04c),_0x516977[_0x1587d8(0x233)]();_0x487e58[_0x1587d8(0x227)](_0x54d04c);}return _0x487e58[_0x1587d8(0x396)]=_0x3c9e98*0x4,_0x487e58;}});_0x1a986e['EvpKDF']=function(_0x4e4d2e,_0x2352d0,_0xb3f30a){const _0x375b24=_0x264ebc;return _0x2b30f8[_0x375b24(0x5e5)](_0xb3f30a)[_0x375b24(0x2d8)](_0x4e4d2e,_0x2352d0);};}()),_0x477d2c[_0x4a78a7(0x409)];}));}(_0x475f5d)),_0x475f5d[_0x30ea3a(0x3a4)];}var _0x38182b={'exports':{}},_0x265ab6;function _0x4781fa(){return _0x265ab6||(_0x265ab6=0x1,function(_0x29cf12,_0x1a4c2a){(function(_0x80f77f,_0x5a2fab,_0x17a444){const _0x33a20b=_0x5275;_0x29cf12[_0x33a20b(0x3a4)]=_0x5a2fab(_0x5ce923(),_0x39a2d6());}(_0x46cbc6,function(_0xe88261){const _0x2197c6=_0x5275;_0xe88261[_0x2197c6(0x33e)]['Cipher']||function(_0x2fc046){const _0xe9db09=_0x2197c6;var _0x389b37=_0xe88261,_0x160b6e=_0x389b37[_0xe9db09(0x33e)],_0xe6e624=_0x160b6e[_0xe9db09(0x50e)],_0x2fda32=_0x160b6e[_0xe9db09(0x232)],_0x13e673=_0x160b6e[_0xe9db09(0x234)],_0x1478dc=_0x389b37[_0xe9db09(0x297)];_0x1478dc['Utf8'];var _0x106218=_0x1478dc[_0xe9db09(0x1cb)],_0x5b419c=_0x389b37[_0xe9db09(0x4dd)],_0xaaebf6=_0x5b419c[_0xe9db09(0x409)],_0x4f4819=_0x160b6e[_0xe9db09(0x536)]=_0x13e673[_0xe9db09(0x44a)]({'cfg':_0xe6e624[_0xe9db09(0x44a)](),'createEncryptor':function(_0x424d8c,_0xdb0c99){const _0x476105=_0xe9db09;return this[_0x476105(0x5e5)](this[_0x476105(0x36d)],_0x424d8c,_0xdb0c99);},'createDecryptor':function(_0x1376ed,_0x34570d){const _0x564c86=_0xe9db09;return this[_0x564c86(0x5e5)](this[_0x564c86(0x513)],_0x1376ed,_0x34570d);},'init':function(_0x1c90eb,_0x5f2a23,_0x4bf762){const _0x271309=_0xe9db09;this['cfg']=this[_0x271309(0x353)]['extend'](_0x4bf762),this[_0x271309(0x5bf)]=_0x1c90eb,this['_key']=_0x5f2a23,this[_0x271309(0x233)]();},'reset':function(){_0x13e673['reset']['call'](this),this['_doReset']();},'process':function(_0x23d4b2){const _0x44d0c4=_0xe9db09;return this['_append'](_0x23d4b2),this[_0x44d0c4(0x3f6)]();},'finalize':function(_0x165195){const _0x2f13f4=_0xe9db09;_0x165195&&this[_0x2f13f4(0x1e0)](_0x165195);var _0x3ae25a=this[_0x2f13f4(0x278)]();return _0x3ae25a;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2e0878(_0x183162){const _0x3bde50=_0x5275;return typeof _0x183162==_0x3bde50(0x241)?_0x2b8b01:_0x56c5f2;}return function(_0x10561b){return{'encrypt':function(_0x22399f,_0x3fc47d,_0x26226a){const _0x468614=_0x5275;return _0x2e0878(_0x3fc47d)[_0x468614(0x635)](_0x10561b,_0x22399f,_0x3fc47d,_0x26226a);},'decrypt':function(_0x2695e5,_0x13fbed,_0x47707e){const _0x419393=_0x5275;return _0x2e0878(_0x13fbed)[_0x419393(0x5a1)](_0x10561b,_0x2695e5,_0x13fbed,_0x47707e);}};};}())});_0x160b6e[_0xe9db09(0x2a0)]=_0x4f4819['extend']({'_doFinalize':function(){var _0x3ff466=this['_process'](!0x0);return _0x3ff466;},'blockSize':0x1});var _0x5d763c=_0x389b37[_0xe9db09(0x1bf)]={},_0x4ac964=_0x160b6e[_0xe9db09(0x182)]=_0xe6e624[_0xe9db09(0x44a)]({'createEncryptor':function(_0xc91e15,_0x3c462a){const _0x49c706=_0xe9db09;return this[_0x49c706(0x1c3)]['create'](_0xc91e15,_0x3c462a);},'createDecryptor':function(_0x4784be,_0x97218){const _0xa29862=_0xe9db09;return this['Decryptor'][_0xa29862(0x5e5)](_0x4784be,_0x97218);},'init':function(_0x486fa7,_0x362cbb){const _0x47909f=_0xe9db09;this[_0x47909f(0x47b)]=_0x486fa7,this['_iv']=_0x362cbb;}}),_0x763217=_0x5d763c[_0xe9db09(0x477)]=(function(){const _0x4f95ac=_0xe9db09;var _0x23b2e2=_0x4ac964['extend']();_0x23b2e2[_0x4f95ac(0x1c3)]=_0x23b2e2[_0x4f95ac(0x44a)]({'processBlock':function(_0x1d477f,_0x2a9e41){const _0x8f178=_0x4f95ac;var _0x869dc6=this[_0x8f178(0x47b)],_0x1ce20a=_0x869dc6['blockSize'];_0xbe3b04[_0x8f178(0x246)](this,_0x1d477f,_0x2a9e41,_0x1ce20a),_0x869dc6[_0x8f178(0x495)](_0x1d477f,_0x2a9e41),this['_prevBlock']=_0x1d477f[_0x8f178(0x57d)](_0x2a9e41,_0x2a9e41+_0x1ce20a);}}),_0x23b2e2[_0x4f95ac(0x5fd)]=_0x23b2e2[_0x4f95ac(0x44a)]({'processBlock':function(_0x52ac7c,_0x1f5fd0){const _0x3b4a19=_0x4f95ac;var _0x576ffa=this[_0x3b4a19(0x47b)],_0x1cb037=_0x576ffa[_0x3b4a19(0x414)],_0x3eab62=_0x52ac7c['slice'](_0x1f5fd0,_0x1f5fd0+_0x1cb037);_0x576ffa[_0x3b4a19(0x557)](_0x52ac7c,_0x1f5fd0),_0xbe3b04[_0x3b4a19(0x246)](this,_0x52ac7c,_0x1f5fd0,_0x1cb037),this[_0x3b4a19(0x4d2)]=_0x3eab62;}});function _0xbe3b04(_0x23a080,_0x207f92,_0x1270db){const _0x3b5e43=_0x4f95ac;var _0x3b8e9d,_0x841666=this[_0x3b5e43(0x1ef)];_0x841666?(_0x3b8e9d=_0x841666,this['_iv']=_0x2fc046):_0x3b8e9d=this[_0x3b5e43(0x4d2)];for(var _0x1f3300=0x0;_0x1f3300<_0x1270db;_0x1f3300++)_0x23a080[_0x207f92+_0x1f3300]^=_0x3b8e9d[_0x1f3300];}return _0x23b2e2;}()),_0x42d0fc=_0x389b37[_0xe9db09(0x212)]={},_0x5e93d3=_0x42d0fc['Pkcs7']={'pad':function(_0x45e271,_0x666a17){const _0x928cb4=_0xe9db09;for(var _0x457fd5=_0x666a17*0x4,_0x3e7633=_0x457fd5-_0x45e271[_0x928cb4(0x396)]%_0x457fd5,_0x4704bb=_0x3e7633<<0x18|_0x3e7633<<0x10|_0x3e7633<<0x8|_0x3e7633,_0x1cff91=[],_0x4c32b0=0x0;_0x4c32b0<_0x3e7633;_0x4c32b0+=0x4)_0x1cff91[_0x928cb4(0x367)](_0x4704bb);var _0x273d35=_0x2fda32[_0x928cb4(0x5e5)](_0x1cff91,_0x3e7633);_0x45e271['concat'](_0x273d35);},'unpad':function(_0x1f97a5){const _0xce16e3=_0xe9db09;var _0x3ef483=_0x1f97a5['words'][_0x1f97a5['sigBytes']-0x1>>>0x2]&0xff;_0x1f97a5[_0xce16e3(0x396)]-=_0x3ef483;}};_0x160b6e[_0xe9db09(0x4a3)]=_0x4f4819['extend']({'cfg':_0x4f4819[_0xe9db09(0x353)][_0xe9db09(0x44a)]({'mode':_0x763217,'padding':_0x5e93d3}),'reset':function(){const _0x264fe3=_0xe9db09;var _0x2a9828;_0x4f4819[_0x264fe3(0x233)][_0x264fe3(0x246)](this);var _0x33e6da=this[_0x264fe3(0x353)],_0x51d4e3=_0x33e6da['iv'],_0x5d0060=_0x33e6da[_0x264fe3(0x1bf)];this[_0x264fe3(0x5bf)]==this[_0x264fe3(0x36d)]?_0x2a9828=_0x5d0060[_0x264fe3(0x3c0)]:(_0x2a9828=_0x5d0060['createDecryptor'],this[_0x264fe3(0x1df)]=0x1),this['_mode']&&this['_mode'][_0x264fe3(0x3ca)]==_0x2a9828?this[_0x264fe3(0x56a)][_0x264fe3(0x558)](this,_0x51d4e3&&_0x51d4e3[_0x264fe3(0x1e6)]):(this[_0x264fe3(0x56a)]=_0x2a9828[_0x264fe3(0x246)](_0x5d0060,this,_0x51d4e3&&_0x51d4e3[_0x264fe3(0x1e6)]),this[_0x264fe3(0x56a)]['__creator']=_0x2a9828);},'_doProcessBlock':function(_0x1034d8,_0x5783ab){const _0x229906=_0xe9db09;this[_0x229906(0x56a)][_0x229906(0x2c3)](_0x1034d8,_0x5783ab);},'_doFinalize':function(){const _0x2a5867=_0xe9db09;var _0x335dfa,_0x59b12f=this['cfg'][_0x2a5867(0x40f)];return this[_0x2a5867(0x5bf)]==this[_0x2a5867(0x36d)]?(_0x59b12f['pad'](this[_0x2a5867(0x4fc)],this['blockSize']),_0x335dfa=this[_0x2a5867(0x3f6)](!0x0)):(_0x335dfa=this[_0x2a5867(0x3f6)](!0x0),_0x59b12f[_0x2a5867(0x4dc)](_0x335dfa)),_0x335dfa;},'blockSize':0x80/0x20});var _0x37d67b=_0x160b6e[_0xe9db09(0x1d5)]=_0xe6e624[_0xe9db09(0x44a)]({'init':function(_0x3bcbc2){const _0x4acb8f=_0xe9db09;this[_0x4acb8f(0x566)](_0x3bcbc2);},'toString':function(_0x47809c){const _0x393255=_0xe9db09;return(_0x47809c||this[_0x393255(0x446)])[_0x393255(0x621)](this);}}),_0x34b758=_0x389b37['format']={},_0x3b9dfe=_0x34b758[_0xe9db09(0x1af)]={'stringify':function(_0x2512fe){const _0x188a8d=_0xe9db09;var _0xac1128,_0xdb593e=_0x2512fe['ciphertext'],_0x2172f0=_0x2512fe[_0x188a8d(0x3a3)];return _0x2172f0?_0xac1128=_0x2fda32[_0x188a8d(0x5e5)]([0x53616c74,0x65645f5f])[_0x188a8d(0x227)](_0x2172f0)[_0x188a8d(0x227)](_0xdb593e):_0xac1128=_0xdb593e,_0xac1128[_0x188a8d(0x38a)](_0x106218);},'parse':function(_0x36000d){const _0x50dbf4=_0xe9db09;var _0x29f241,_0x4c19df=_0x106218[_0x50dbf4(0x3bf)](_0x36000d),_0x143f7e=_0x4c19df[_0x50dbf4(0x1e6)];return _0x143f7e[0x0]==0x53616c74&&_0x143f7e[0x1]==0x65645f5f&&(_0x29f241=_0x2fda32['create'](_0x143f7e[_0x50dbf4(0x57d)](0x2,0x4)),_0x143f7e[_0x50dbf4(0x21a)](0x0,0x4),_0x4c19df['sigBytes']-=0x10),_0x37d67b[_0x50dbf4(0x5e5)]({'ciphertext':_0x4c19df,'salt':_0x29f241});}},_0x56c5f2=_0x160b6e['SerializableCipher']=_0xe6e624[_0xe9db09(0x44a)]({'cfg':_0xe6e624['extend']({'format':_0x3b9dfe}),'encrypt':function(_0x55f210,_0x50ee2b,_0x1138d1,_0x14a36a){const _0x5933b2=_0xe9db09;_0x14a36a=this[_0x5933b2(0x353)]['extend'](_0x14a36a);var _0x5bd855=_0x55f210['createEncryptor'](_0x1138d1,_0x14a36a),_0x5d9f90=_0x5bd855[_0x5933b2(0x277)](_0x50ee2b),_0x541647=_0x5bd855[_0x5933b2(0x353)];return _0x37d67b[_0x5933b2(0x5e5)]({'ciphertext':_0x5d9f90,'key':_0x1138d1,'iv':_0x541647['iv'],'algorithm':_0x55f210,'mode':_0x541647[_0x5933b2(0x1bf)],'padding':_0x541647[_0x5933b2(0x40f)],'blockSize':_0x55f210[_0x5933b2(0x414)],'formatter':_0x14a36a[_0x5933b2(0x350)]});},'decrypt':function(_0x4370f1,_0x1d14a5,_0x97dab5,_0x416eb8){const _0x5b7cce=_0xe9db09;_0x416eb8=this[_0x5b7cce(0x353)]['extend'](_0x416eb8),_0x1d14a5=this[_0x5b7cce(0x2ad)](_0x1d14a5,_0x416eb8[_0x5b7cce(0x350)]);var _0x2f06b3=_0x4370f1[_0x5b7cce(0x3d3)](_0x97dab5,_0x416eb8)[_0x5b7cce(0x277)](_0x1d14a5[_0x5b7cce(0x589)]);return _0x2f06b3;},'_parse':function(_0x426cf4,_0x4ede1b){const _0x4d0932=_0xe9db09;return typeof _0x426cf4==_0x4d0932(0x241)?_0x4ede1b['parse'](_0x426cf4,this):_0x426cf4;}}),_0x5787d3=_0x389b37[_0xe9db09(0x4de)]={},_0xc077a1=_0x5787d3[_0xe9db09(0x1af)]={'execute':function(_0x3e3579,_0x379422,_0x676f5,_0x2be62a,_0x579f01){const _0x21e083=_0xe9db09;if(_0x2be62a||(_0x2be62a=_0x2fda32[_0x21e083(0x29a)](0x40/0x8)),_0x579f01)var _0x17d922=_0xaaebf6[_0x21e083(0x5e5)]({'keySize':_0x379422+_0x676f5,'hasher':_0x579f01})[_0x21e083(0x2d8)](_0x3e3579,_0x2be62a);else var _0x17d922=_0xaaebf6[_0x21e083(0x5e5)]({'keySize':_0x379422+_0x676f5})[_0x21e083(0x2d8)](_0x3e3579,_0x2be62a);var _0x2864ca=_0x2fda32[_0x21e083(0x5e5)](_0x17d922['words'][_0x21e083(0x57d)](_0x379422),_0x676f5*0x4);return _0x17d922[_0x21e083(0x396)]=_0x379422*0x4,_0x37d67b[_0x21e083(0x5e5)]({'key':_0x17d922,'iv':_0x2864ca,'salt':_0x2be62a});}},_0x2b8b01=_0x160b6e[_0xe9db09(0x306)]=_0x56c5f2[_0xe9db09(0x44a)]({'cfg':_0x56c5f2[_0xe9db09(0x353)]['extend']({'kdf':_0xc077a1}),'encrypt':function(_0x54b132,_0x697a93,_0x4415d8,_0x1e2185){const _0x4d1cad=_0xe9db09;_0x1e2185=this['cfg'][_0x4d1cad(0x44a)](_0x1e2185);var _0x1c9356=_0x1e2185[_0x4d1cad(0x4de)][_0x4d1cad(0x5d1)](_0x4415d8,_0x54b132['keySize'],_0x54b132[_0x4d1cad(0x4f9)],_0x1e2185['salt'],_0x1e2185[_0x4d1cad(0x4ff)]);_0x1e2185['iv']=_0x1c9356['iv'];var _0x3be22d=_0x56c5f2[_0x4d1cad(0x635)][_0x4d1cad(0x246)](this,_0x54b132,_0x697a93,_0x1c9356['key'],_0x1e2185);return _0x3be22d[_0x4d1cad(0x566)](_0x1c9356),_0x3be22d;},'decrypt':function(_0x141adc,_0x5a48f9,_0x4fe29d,_0x602136){const _0x17d11d=_0xe9db09;_0x602136=this['cfg'][_0x17d11d(0x44a)](_0x602136),_0x5a48f9=this[_0x17d11d(0x2ad)](_0x5a48f9,_0x602136[_0x17d11d(0x350)]);var _0x40b223=_0x602136['kdf']['execute'](_0x4fe29d,_0x141adc[_0x17d11d(0x394)],_0x141adc[_0x17d11d(0x4f9)],_0x5a48f9[_0x17d11d(0x3a3)],_0x602136[_0x17d11d(0x4ff)]);_0x602136['iv']=_0x40b223['iv'];var _0x20a76b=_0x56c5f2[_0x17d11d(0x5a1)][_0x17d11d(0x246)](this,_0x141adc,_0x5a48f9,_0x40b223['key'],_0x602136);return _0x20a76b;}});}();}));}(_0x38182b)),_0x38182b['exports'];}(function(_0x2caf85,_0x488cd9){(function(_0x5961cd,_0x104276,_0x46be28){const _0x1d81c6=_0x5275;_0x2caf85[_0x1d81c6(0x3a4)]=_0x104276(_0x5ce923(),_0x235b13(),_0x12bb34(),_0x39a2d6(),_0x4781fa());}(_0x46cbc6,function(_0x52988a){const _0x4dddde=_0x5275;return(function(){const _0x17d265=_0x5275;var _0x57c35c=_0x52988a,_0x5bdd7c=_0x57c35c['lib'],_0x16934a=_0x5bdd7c['BlockCipher'],_0x112d8c=_0x57c35c['algo'],_0xeb711a=[],_0x40d11f=[],_0x5dd973=[],_0x465c9e=[],_0x218ee5=[],_0x42a7be=[],_0x427f37=[],_0x325dc0=[],_0xe46ad6=[],_0x96caff=[];(function(){for(var _0x518968=[],_0x489a27=0x0;_0x489a27<0x100;_0x489a27++)_0x489a27<0x80?_0x518968[_0x489a27]=_0x489a27<<0x1:_0x518968[_0x489a27]=_0x489a27<<0x1^0x11b;for(var _0x39a4dc=0x0,_0x22984e=0x0,_0x489a27=0x0;_0x489a27<0x100;_0x489a27++){var _0x343ccc=_0x22984e^_0x22984e<<0x1^_0x22984e<<0x2^_0x22984e<<0x3^_0x22984e<<0x4;_0x343ccc=_0x343ccc>>>0x8^_0x343ccc&0xff^0x63,_0xeb711a[_0x39a4dc]=_0x343ccc,_0x40d11f[_0x343ccc]=_0x39a4dc;var _0x1f29a0=_0x518968[_0x39a4dc],_0x45bd48=_0x518968[_0x1f29a0],_0x1ee0ac=_0x518968[_0x45bd48],_0x7275eb=_0x518968[_0x343ccc]*0x101^_0x343ccc*0x1010100;_0x5dd973[_0x39a4dc]=_0x7275eb<<0x18|_0x7275eb>>>0x8,_0x465c9e[_0x39a4dc]=_0x7275eb<<0x10|_0x7275eb>>>0x10,_0x218ee5[_0x39a4dc]=_0x7275eb<<0x8|_0x7275eb>>>0x18,_0x42a7be[_0x39a4dc]=_0x7275eb;var _0x7275eb=_0x1ee0ac*0x1010101^_0x45bd48*0x10001^_0x1f29a0*0x101^_0x39a4dc*0x1010100;_0x427f37[_0x343ccc]=_0x7275eb<<0x18|_0x7275eb>>>0x8,_0x325dc0[_0x343ccc]=_0x7275eb<<0x10|_0x7275eb>>>0x10,_0xe46ad6[_0x343ccc]=_0x7275eb<<0x8|_0x7275eb>>>0x18,_0x96caff[_0x343ccc]=_0x7275eb,_0x39a4dc?(_0x39a4dc=_0x1f29a0^_0x518968[_0x518968[_0x518968[_0x1ee0ac^_0x1f29a0]]],_0x22984e^=_0x518968[_0x518968[_0x22984e]]):_0x39a4dc=_0x22984e=0x1;}}());var _0x4da3bb=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4e2b22=_0x112d8c['AES']=_0x16934a[_0x17d265(0x44a)]({'_doReset':function(){const _0x435255=_0x17d265;var _0x543ef9;if(!(this[_0x435255(0x19f)]&&this[_0x435255(0x55c)]===this[_0x435255(0x506)])){for(var _0x46d92e=this[_0x435255(0x55c)]=this['_key'],_0x405f1f=_0x46d92e[_0x435255(0x1e6)],_0x52e696=_0x46d92e[_0x435255(0x396)]/0x4,_0xc7d14e=this[_0x435255(0x19f)]=_0x52e696+0x6,_0x486c40=(_0xc7d14e+0x1)*0x4,_0xbe9544=this[_0x435255(0x2da)]=[],_0x27c52a=0x0;_0x27c52a<_0x486c40;_0x27c52a++)_0x27c52a<_0x52e696?_0xbe9544[_0x27c52a]=_0x405f1f[_0x27c52a]:(_0x543ef9=_0xbe9544[_0x27c52a-0x1],_0x27c52a%_0x52e696?_0x52e696>0x6&&_0x27c52a%_0x52e696==0x4&&(_0x543ef9=_0xeb711a[_0x543ef9>>>0x18]<<0x18|_0xeb711a[_0x543ef9>>>0x10&0xff]<<0x10|_0xeb711a[_0x543ef9>>>0x8&0xff]<<0x8|_0xeb711a[_0x543ef9&0xff]):(_0x543ef9=_0x543ef9<<0x8|_0x543ef9>>>0x18,_0x543ef9=_0xeb711a[_0x543ef9>>>0x18]<<0x18|_0xeb711a[_0x543ef9>>>0x10&0xff]<<0x10|_0xeb711a[_0x543ef9>>>0x8&0xff]<<0x8|_0xeb711a[_0x543ef9&0xff],_0x543ef9^=_0x4da3bb[_0x27c52a/_0x52e696|0x0]<<0x18),_0xbe9544[_0x27c52a]=_0xbe9544[_0x27c52a-_0x52e696]^_0x543ef9);for(var _0x2a0650=this['_invKeySchedule']=[],_0x13001f=0x0;_0x13001f<_0x486c40;_0x13001f++){var _0x27c52a=_0x486c40-_0x13001f;if(_0x13001f%0x4)var _0x543ef9=_0xbe9544[_0x27c52a];else var _0x543ef9=_0xbe9544[_0x27c52a-0x4];_0x13001f<0x4||_0x27c52a<=0x4?_0x2a0650[_0x13001f]=_0x543ef9:_0x2a0650[_0x13001f]=_0x427f37[_0xeb711a[_0x543ef9>>>0x18]]^_0x325dc0[_0xeb711a[_0x543ef9>>>0x10&0xff]]^_0xe46ad6[_0xeb711a[_0x543ef9>>>0x8&0xff]]^_0x96caff[_0xeb711a[_0x543ef9&0xff]];}}},'encryptBlock':function(_0x2c9da9,_0x3ae94a){const _0x384dd3=_0x17d265;this[_0x384dd3(0x184)](_0x2c9da9,_0x3ae94a,this[_0x384dd3(0x2da)],_0x5dd973,_0x465c9e,_0x218ee5,_0x42a7be,_0xeb711a);},'decryptBlock':function(_0x4076a0,_0x138aea){const _0x42fb95=_0x17d265;var _0x2ad0b9=_0x4076a0[_0x138aea+0x1];_0x4076a0[_0x138aea+0x1]=_0x4076a0[_0x138aea+0x3],_0x4076a0[_0x138aea+0x3]=_0x2ad0b9,this[_0x42fb95(0x184)](_0x4076a0,_0x138aea,this[_0x42fb95(0x176)],_0x427f37,_0x325dc0,_0xe46ad6,_0x96caff,_0x40d11f);var _0x2ad0b9=_0x4076a0[_0x138aea+0x1];_0x4076a0[_0x138aea+0x1]=_0x4076a0[_0x138aea+0x3],_0x4076a0[_0x138aea+0x3]=_0x2ad0b9;},'_doCryptBlock':function(_0x49f6f9,_0x264dd4,_0x3d2e19,_0x55e33e,_0x3ed41d,_0x4373eb,_0x34f790,_0x3e156d){const _0x28de7f=_0x17d265;for(var _0x45519a=this[_0x28de7f(0x19f)],_0x39258f=_0x49f6f9[_0x264dd4]^_0x3d2e19[0x0],_0x47c62a=_0x49f6f9[_0x264dd4+0x1]^_0x3d2e19[0x1],_0x5d70a1=_0x49f6f9[_0x264dd4+0x2]^_0x3d2e19[0x2],_0x53c2d1=_0x49f6f9[_0x264dd4+0x3]^_0x3d2e19[0x3],_0x14c435=0x4,_0x5bbf89=0x1;_0x5bbf89<_0x45519a;_0x5bbf89++){var _0x2e7e79=_0x55e33e[_0x39258f>>>0x18]^_0x3ed41d[_0x47c62a>>>0x10&0xff]^_0x4373eb[_0x5d70a1>>>0x8&0xff]^_0x34f790[_0x53c2d1&0xff]^_0x3d2e19[_0x14c435++],_0x3aa851=_0x55e33e[_0x47c62a>>>0x18]^_0x3ed41d[_0x5d70a1>>>0x10&0xff]^_0x4373eb[_0x53c2d1>>>0x8&0xff]^_0x34f790[_0x39258f&0xff]^_0x3d2e19[_0x14c435++],_0x4c69f2=_0x55e33e[_0x5d70a1>>>0x18]^_0x3ed41d[_0x53c2d1>>>0x10&0xff]^_0x4373eb[_0x39258f>>>0x8&0xff]^_0x34f790[_0x47c62a&0xff]^_0x3d2e19[_0x14c435++],_0x8aade2=_0x55e33e[_0x53c2d1>>>0x18]^_0x3ed41d[_0x39258f>>>0x10&0xff]^_0x4373eb[_0x47c62a>>>0x8&0xff]^_0x34f790[_0x5d70a1&0xff]^_0x3d2e19[_0x14c435++];_0x39258f=_0x2e7e79,_0x47c62a=_0x3aa851,_0x5d70a1=_0x4c69f2,_0x53c2d1=_0x8aade2;}var _0x2e7e79=(_0x3e156d[_0x39258f>>>0x18]<<0x18|_0x3e156d[_0x47c62a>>>0x10&0xff]<<0x10|_0x3e156d[_0x5d70a1>>>0x8&0xff]<<0x8|_0x3e156d[_0x53c2d1&0xff])^_0x3d2e19[_0x14c435++],_0x3aa851=(_0x3e156d[_0x47c62a>>>0x18]<<0x18|_0x3e156d[_0x5d70a1>>>0x10&0xff]<<0x10|_0x3e156d[_0x53c2d1>>>0x8&0xff]<<0x8|_0x3e156d[_0x39258f&0xff])^_0x3d2e19[_0x14c435++],_0x4c69f2=(_0x3e156d[_0x5d70a1>>>0x18]<<0x18|_0x3e156d[_0x53c2d1>>>0x10&0xff]<<0x10|_0x3e156d[_0x39258f>>>0x8&0xff]<<0x8|_0x3e156d[_0x47c62a&0xff])^_0x3d2e19[_0x14c435++],_0x8aade2=(_0x3e156d[_0x53c2d1>>>0x18]<<0x18|_0x3e156d[_0x39258f>>>0x10&0xff]<<0x10|_0x3e156d[_0x47c62a>>>0x8&0xff]<<0x8|_0x3e156d[_0x5d70a1&0xff])^_0x3d2e19[_0x14c435++];_0x49f6f9[_0x264dd4]=_0x2e7e79,_0x49f6f9[_0x264dd4+0x1]=_0x3aa851,_0x49f6f9[_0x264dd4+0x2]=_0x4c69f2,_0x49f6f9[_0x264dd4+0x3]=_0x8aade2;},'keySize':0x100/0x20});_0x57c35c[_0x17d265(0x551)]=_0x16934a['_createHelper'](_0x4e2b22);}()),_0x52988a[_0x4dddde(0x551)];}));}(_0x1b376e));var _0x4142d9=_0x1b376e[_0x2fa915(0x3a4)];const _0x29fbe7=_0x1de184(_0x4142d9);var _0x522b49=_0x235b13();const _0x22975f=_0x1de184(_0x522b49);var _0x243f1d={'exports':{}};(function(_0x4198b6,_0x572df4){(function(_0x5cca92,_0x216364){const _0x5a4753=_0x5275;_0x4198b6[_0x5a4753(0x3a4)]=_0x216364(_0x5ce923());}(_0x46cbc6,function(_0x50b6de){const _0x74286e=_0x5275;return _0x50b6de[_0x74286e(0x297)][_0x74286e(0x36a)];}));}(_0x243f1d));var _0x1babdf=_0x243f1d['exports'];const _0x300a70=_0x1de184(_0x1babdf);var _0x38c494={'exports':{}};(function(_0x39529e,_0x40c1f8){(function(_0x2833cc,_0x2ed984){const _0xbda200=_0x5275;_0x39529e[_0xbda200(0x3a4)]=_0x2ed984(_0x5ce923());}(_0x46cbc6,function(_0x1c4d7a){const _0x2d6004=_0x5275;return(function(){const _0x3c0127=_0x5275;if(typeof ArrayBuffer=='function'){var _0x209f4a=_0x1c4d7a,_0x300513=_0x209f4a[_0x3c0127(0x33e)],_0xc8fa71=_0x300513[_0x3c0127(0x232)],_0x4ed322=_0xc8fa71[_0x3c0127(0x558)],_0x331692=_0xc8fa71['init']=function(_0x305c60){const _0x27173b=_0x3c0127;if(_0x305c60 instanceof ArrayBuffer&&(_0x305c60=new Uint8Array(_0x305c60)),(_0x305c60 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x305c60 instanceof Uint8ClampedArray||_0x305c60 instanceof Int16Array||_0x305c60 instanceof Uint16Array||_0x305c60 instanceof Int32Array||_0x305c60 instanceof Uint32Array||_0x305c60 instanceof Float32Array||_0x305c60 instanceof Float64Array)&&(_0x305c60=new Uint8Array(_0x305c60['buffer'],_0x305c60[_0x27173b(0x46a)],_0x305c60[_0x27173b(0x2ee)])),_0x305c60 instanceof Uint8Array){for(var _0x1c6c71=_0x305c60[_0x27173b(0x2ee)],_0x1ca525=[],_0x4429ec=0x0;_0x4429ec<_0x1c6c71;_0x4429ec++)_0x1ca525[_0x4429ec>>>0x2]|=_0x305c60[_0x4429ec]<<0x18-_0x4429ec%0x4*0x8;_0x4ed322['call'](this,_0x1ca525,_0x1c6c71);}else _0x4ed322['apply'](this,arguments);};_0x331692['prototype']=_0xc8fa71;}}()),_0x1c4d7a[_0x2d6004(0x33e)]['WordArray'];}));}(_0x38c494));var _0x1021a1=_0x38c494[_0x2fa915(0x3a4)];const _0x225d16=_0x1de184(_0x1021a1);var _0x15aaac={'exports':{}};(function(_0x23a258,_0x42886c){(function(_0x74160c,_0x379e9b,_0x505d74){const _0x22d5f6=_0x5275;_0x23a258[_0x22d5f6(0x3a4)]=_0x379e9b(_0x5ce923(),_0x4781fa());}(_0x46cbc6,function(_0x2eeab9){const _0x2b5c7f=_0x5275;return _0x2eeab9['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x2eeab9[_0x2b5c7f(0x212)][_0x2b5c7f(0x52c)];}));}(_0x15aaac));var _0x4c22d0=_0x15aaac[_0x2fa915(0x3a4)];const _0x4bfa9d=_0x1de184(_0x4c22d0);function _0x102ce0(_0x4357b1,_0xde0691){const _0x464816=_0x2fa915,_0x55f1e8=_0xde0691-_0x4357b1[_0x464816(0x4d9)]%_0xde0691,_0x112bcc=String[_0x464816(0x1b0)](_0x55f1e8)[_0x464816(0x31d)](_0x55f1e8);return _0x4357b1+_0x112bcc;}function _0x4d11ef(_0x38b515,_0x303cba){const _0x5908d3=_0x2fa915,_0x5f13e4=_0x225d16[_0x5908d3(0x29a)](0x10),_0x5661a4=_0x102ce0(_0x38b515,0x10),_0xe03350=_0x29fbe7[_0x5908d3(0x635)](_0x300a70[_0x5908d3(0x3bf)](_0x5661a4),_0x22975f[_0x5908d3(0x3bf)](_0x303cba),{'iv':_0x5f13e4,'padding':_0x4bfa9d});return _0x5f13e4[_0x5908d3(0x227)](_0xe03350[_0x5908d3(0x589)])['toString'](_0x22975f);}function _0x307c74(){const _0x5773f7=_0x2fa915,_0x4e31e4=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x5773f7(0x617)];if(_0x4e31e4){const _0x5d5843={'time':Math[_0x5773f7(0x482)](Date[_0x5773f7(0x24a)]()/0x3e8),'domain':location[_0x5773f7(0x2aa)]};return _0x4d11ef(JSON[_0x5773f7(0x621)](_0x5d5843),_0x4e31e4);}}var _0x296731=Object[_0x2fa915(0x44e)],_0x372998=Object[_0x2fa915(0x569)],_0x4922ed=(_0x9a0b68,_0x368c1a,_0xea9357,_0x36d022)=>{const _0x1d33fb=_0x2fa915;for(var _0x26403c=_0x36d022>0x1?void 0x0:_0x36d022?_0x372998(_0x368c1a,_0xea9357):_0x368c1a,_0x275920=_0x9a0b68[_0x1d33fb(0x4d9)]-0x1,_0x3e0f21;_0x275920>=0x0;_0x275920--)(_0x3e0f21=_0x9a0b68[_0x275920])&&(_0x26403c=(_0x36d022?_0x3e0f21(_0x368c1a,_0xea9357,_0x26403c):_0x3e0f21(_0x26403c))||_0x26403c);return _0x36d022&&_0x26403c&&_0x296731(_0x368c1a,_0xea9357,_0x26403c),_0x26403c;},_0x205a57=(_0x281b24,_0x3c6c16)=>(_0x5e1eee,_0x37de2f)=>_0x3c6c16(_0x5e1eee,_0x37de2f,_0x281b24);let _0x10d588=class{constructor(_0x43fe92){const _0x5b88d4=_0x2fa915;this[_0x5b88d4(0x62e)]=_0x43fe92,this[_0x5b88d4(0x202)]();}['_initRequestHeader'](){const _0x182067=_0x2fa915;this[_0x182067(0x62e)][_0x182067(0x5ab)]({'interceptor':(_0x155ea4,_0x10590c)=>{const _0x5463aa=_0x182067,_0x31b1e2=_0x155ea4[_0x5463aa(0x5e7)],_0x24a9dc=_0x307c74();return _0x24a9dc&&_0x31b1e2['set']('x-univer-host',_0x24a9dc),_0x10590c(_0x155ea4);}});}};_0x10d588=_0x4922ed([_0x205a57(0x0,_0x4587e1[_0x2fa915(0x42b)](_0x108d2c['HTTPService']))],_0x10d588);var _0x5788f6=Object[_0x2fa915(0x44e)],_0x3abb61=Object[_0x2fa915(0x569)],_0x5b8e0a=(_0x35a865,_0x2f5148,_0x5a9d2e,_0x141439)=>{const _0x333374=_0x2fa915;for(var _0xe1f40e=_0x141439>0x1?void 0x0:_0x141439?_0x3abb61(_0x2f5148,_0x5a9d2e):_0x2f5148,_0x6adb0a=_0x35a865[_0x333374(0x4d9)]-0x1,_0x5006e8;_0x6adb0a>=0x0;_0x6adb0a--)(_0x5006e8=_0x35a865[_0x6adb0a])&&(_0xe1f40e=(_0x141439?_0x5006e8(_0x2f5148,_0x5a9d2e,_0xe1f40e):_0x5006e8(_0xe1f40e))||_0xe1f40e);return _0x141439&&_0xe1f40e&&_0x5788f6(_0x2f5148,_0x5a9d2e,_0xe1f40e),_0xe1f40e;},_0x28870c=(_0xebf081,_0x571bc4)=>(_0x34b36e,_0x580c19)=>_0x571bc4(_0x34b36e,_0x580c19,_0xebf081);const _0x567576=['image/png','image/jpeg','image/jpg',_0x2fa915(0x4ac),_0x2fa915(0x435)],_0x5dc1af=0x5*0x400*0x400,_0x3ef7d1=_0x2fa915(0x479),_0x340bfb=_0x2fa915(0x2b6),_0x2ed414=_0x2fa915(0x62a),_0x153c07=_0x2fa915(0x485);_0x539c7e['ImageIoService']=class{constructor(_0x151ab6,_0x30025f,_0x19288f){const _0x5a0ad5=_0x2fa915;_0x339ceb(this,_0x5a0ad5(0x55d),0x0),_0x339ceb(this,_0x5a0ad5(0x2b0),new _0x3eec93['Subject']()),_0x339ceb(this,_0x5a0ad5(0x388),this[_0x5a0ad5(0x2b0)]),_0x339ceb(this,_0x5a0ad5(0x570),new Map()),(this[_0x5a0ad5(0x62e)]=_0x151ab6,this[_0x5a0ad5(0x4e4)]=_0x30025f,this[_0x5a0ad5(0x3c1)]=_0x19288f);}[_0x2fa915(0x517)](_0xc1d466){const _0x4cb9c8=_0x2fa915;this[_0x4cb9c8(0x55d)]=_0xc1d466,this[_0x4cb9c8(0x2b0)][_0x4cb9c8(0x1c9)](_0xc1d466);}['getImageSourceCache'](_0x2d2f71,_0x4edfb7){const _0x5e8492=_0x2fa915;if(_0x4edfb7===_0x4fc574['ImageSourceType'][_0x5e8492(0x173)]){const _0x3bbc7f=new Image();return _0x3bbc7f[_0x5e8492(0x2df)]=_0x2d2f71,_0x3bbc7f;}return this[_0x5e8492(0x570)][_0x5e8492(0x4a0)](_0x2d2f71);}['addImageSourceCache'](_0x14a94d,_0x305c9a,_0x5a4f61){const _0x3dd3f3=_0x2fa915;_0x305c9a===_0x4fc574[_0x3dd3f3(0x180)][_0x3dd3f3(0x173)]||_0x5a4f61==null||this[_0x3dd3f3(0x570)][_0x3dd3f3(0x498)](_0x14a94d,_0x5a4f61);}async[_0x2fa915(0x567)](_0x5a8301){const _0x335d41=_0x2fa915;try{const _0x2bd59a=this[_0x335d41(0x56c)](this[_0x335d41(0x503)](),''+_0x5a8301),_0x4166f9=(await this['_httpService'][_0x335d41(0x4a0)](_0x2bd59a))[_0x335d41(0x2e6)];if(_0x4166f9[_0x335d41(0x3a9)]&&_0x4166f9['error']['code']===_0x58d884['OK']){const _0x272bc8=new URL(_0x4166f9[_0x335d41(0x1a6)],this[_0x335d41(0x5a2)]())['toString']();return Promise['resolve'](_0x272bc8);}return Promise['reject'](_0x4166f9[_0x335d41(0x3a9)]);}catch(_0x540070){return Promise[_0x335d41(0x351)](_0x540070);}}async['saveImage'](_0x3c247e){const _0x1cb818=_0x2fa915;let _0xe664cd='';if(!_0x567576[_0x1cb818(0x5c3)](_0x3c247e['type']))return this['_decreaseWaiting'](),Promise[_0x1cb818(0x351)](new Error(_0x4fc574[_0x1cb818(0x326)]['ERROR_IMAGE_TYPE']));if(_0x3c247e['size']>_0x5dc1af)return this['_decreaseWaiting'](),Promise[_0x1cb818(0x351)](new Error(_0x4fc574[_0x1cb818(0x326)][_0x1cb818(0x21b)]));try{const _0x34d9ce=new FormData();_0x34d9ce[_0x1cb818(0x594)](_0x1cb818(0x3af),_0x3c247e);const _0x3267a5=this[_0x1cb818(0x3c1)]['getFocusedUnit'](),_0x2154cd=_0x3267a5==null?void 0x0:_0x3267a5[_0x1cb818(0x1d9)]();if(!_0x2154cd)throw new Error(_0x1cb818(0x4be));const _0xb692c1=this[_0x1cb818(0x3b3)]()+_0x1cb818(0x45f)+_0x3c247e[_0x1cb818(0x18b)][_0x1cb818(0x38a)]()+_0x1cb818(0x261)+_0x2ec092[_0x1cb818(0x1eb)]+_0x1cb818(0x40d)+encodeURIComponent(_0x2154cd),_0x5bc606=await(await fetch(_0xb692c1,{'method':'POST','body':_0x34d9ce}))['json']();if(typeof _0x5bc606[_0x1cb818(0x626)]!=_0x1cb818(0x241))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x4fc574[_0x1cb818(0x326)]['ERROR_IMAGE']));_0xe664cd=_0x5bc606[_0x1cb818(0x626)];}catch{return this[_0x1cb818(0x3dd)](),Promise['reject'](new Error(_0x4fc574[_0x1cb818(0x326)]['ERROR_IMAGE']));}return new Promise((_0x4b1396,_0x465f09)=>{const _0x4de934=_0x1cb818,_0x516214=new FileReader();_0x516214[_0x4de934(0x4da)](_0x3c247e),_0x516214[_0x4de934(0x5bb)]=_0x19b0b4=>{const _0x5cf87e=_0x4de934;var _0x3b4577;const _0x581640=(_0x3b4577=_0x19b0b4[_0x5cf87e(0x22a)])==null?void 0x0:_0x3b4577['result'];if(_0x581640==null){this[_0x5cf87e(0x3dd)](),_0x465f09(new Error(_0x4fc574[_0x5cf87e(0x326)][_0x5cf87e(0x46c)]));return;}const _0x5cc93f=_0x4587e1[_0x5cf87e(0x5f7)][_0x5cf87e(0x334)](0x6);_0x4b1396({'imageId':_0x5cc93f,'imageSourceType':_0x4fc574['ImageSourceType'][_0x5cf87e(0x2cd)],'source':_0xe664cd,'base64Cache':_0x581640,'status':_0x4fc574[_0x5cf87e(0x326)]['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x2fa915(0x3b3)](){const _0x1b3eb3=_0x2fa915;var _0x4fe6f6,_0x414958;const _0x1ebb0c=this[_0x1b3eb3(0x4e4)][_0x1b3eb3(0x185)](_0x3ef7d1),_0xa95247=this[_0x1b3eb3(0x4e4)][_0x1b3eb3(0x185)](_0x152bb8);return(_0x414958=(_0x4fe6f6=_0xa95247==null?void 0x0:_0xa95247[_0x1b3eb3(0x555)])!=null?_0x4fe6f6:_0x1ebb0c)!=null?_0x414958:_0x340bfb;}[_0x2fa915(0x503)](){const _0x42af0d=_0x2fa915;var _0xc36b3d,_0x58e650;const _0x11682e=this[_0x42af0d(0x4e4)][_0x42af0d(0x185)](_0x2ed414),_0x3b59fd=this[_0x42af0d(0x4e4)][_0x42af0d(0x185)](_0x152bb8);return(_0x58e650=(_0xc36b3d=_0x3b59fd==null?void 0x0:_0x3b59fd['signUrlServerUrl'])!=null?_0xc36b3d:_0x11682e)!=null?_0x58e650:_0x153c07;}[_0x2fa915(0x5a2)](){const _0x5f07c7=_0x2fa915;var _0x1b1549;const _0x3d53a6=this[_0x5f07c7(0x4e4)][_0x5f07c7(0x185)](_0x152bb8);return(_0x1b1549=_0x3d53a6==null?void 0x0:_0x3d53a6['downloadEndpointUrl'])!=null?_0x1b1549:location[_0x5f07c7(0x505)];}[_0x2fa915(0x56c)](_0x181001,_0x53101c){const _0x2133f4=_0x2fa915;return _0x181001[_0x2133f4(0x1a2)]('{fileID}',_0x53101c);}[_0x2fa915(0x3dd)](){const _0x23daaa=_0x2fa915;this['_waitCount']-=0x1,this['_change$']['next'](this[_0x23daaa(0x55d)]);}},_0x539c7e[_0x2fa915(0x53e)]=_0x5b8e0a([_0x28870c(0x0,_0x4587e1[_0x2fa915(0x42b)](_0x108d2c['HTTPService'])),_0x28870c(0x1,_0x4587e1[_0x2fa915(0x628)]),_0x28870c(0x2,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x53b)]))],_0x539c7e[_0x2fa915(0x53e)]);var _0x567f8d=Object[_0x2fa915(0x44e)],_0x8d5c61=Object[_0x2fa915(0x569)],_0xea8fb6=(_0x5d7a44,_0x28000a,_0x3e29bc,_0x2fd83c)=>{const _0x5bbb39=_0x2fa915;for(var _0x1ecce4=_0x2fd83c>0x1?void 0x0:_0x2fd83c?_0x8d5c61(_0x28000a,_0x3e29bc):_0x28000a,_0x5269d0=_0x5d7a44[_0x5bbb39(0x4d9)]-0x1,_0x22e7ca;_0x5269d0>=0x0;_0x5269d0--)(_0x22e7ca=_0x5d7a44[_0x5269d0])&&(_0x1ecce4=(_0x2fd83c?_0x22e7ca(_0x28000a,_0x3e29bc,_0x1ecce4):_0x22e7ca(_0x1ecce4))||_0x1ecce4);return _0x2fd83c&&_0x1ecce4&&_0x567f8d(_0x28000a,_0x3e29bc,_0x1ecce4),_0x1ecce4;},_0x2ae8b5=(_0x54e134,_0x3084ef)=>(_0x3fdebf,_0x2d585b)=>_0x3084ef(_0x3fdebf,_0x2d585b,_0x54e134);let _0x571cf0=class extends _0x4587e1[_0x2fa915(0x5b2)]{constructor(_0x286427,_0x43aeca,_0x4b5508,_0x27492c,_0x2943f3){const _0x1c3fbe=_0x2fa915;super(),this['_injector']=_0x286427,this[_0x1c3fbe(0x3c1)]=_0x43aeca,this[_0x1c3fbe(0x27f)]=_0x4b5508,this[_0x1c3fbe(0x31a)]=_0x27492c,this[_0x1c3fbe(0x497)]=_0x2943f3,this[_0x1c3fbe(0x2f5)](),this['_initCloseConn']();}[_0x2fa915(0x4f5)](){const _0x252312=_0x2fa915,_0x5c126c=async _0xd08fc=>{const _0xeda032=_0x5275;(await this[_0xeda032(0x31a)][_0xeda032(0x3ef)](_0xd08fc))[_0xeda032(0x4ca)][_0xeda032(0x276)](_0x18f07e['filter'](_0x4685a4=>_0x4685a4[_0xeda032(0x526)]===_0x215e4a[_0xeda032(0x27c)][_0xeda032(0x616)]),_0x18f07e['takeUntil'](this[_0xeda032(0x1ad)]))[_0xeda032(0x447)](_0x4e9eb9=>{const _0x32a947=_0xeda032,_0x360054=_0x4e9eb9,{reason:_0x103fbb}=_0x360054[_0x32a947(0x273)];this['_injector']['get'](_0x3163bd[_0x32a947(0x259)])[_0x32a947(0x1ca)]({'type':_0x40b71f['MessageType'][_0x32a947(0x490)],'content':this[_0x32a947(0x497)]['t'](_0x32a947(0x341))+'('+_0x103fbb+')'}),this[_0x32a947(0x27f)]['updatePermissionPoint'](new _0x27d820[(_0x32a947(0x3da))](_0xd08fc)['id'],!0x1),this[_0x32a947(0x31a)][_0x32a947(0x465)](_0xd08fc);});};_0x3eec93[_0x252312(0x538)](this[_0x252312(0x3c1)][_0x252312(0x39e)](_0x4587e1[_0x252312(0x637)][_0x252312(0x3ee)]),this[_0x252312(0x3c1)][_0x252312(0x39e)](_0x4587e1[_0x252312(0x637)][_0x252312(0x27b)]))[_0x252312(0x276)](_0x18f07e[_0x252312(0x252)](_0x24e8a6=>_0x24e8a6[_0x252312(0x1d9)]()),_0x18f07e[_0x252312(0x333)](_0x45fb42=>!_0x4587e1[_0x252312(0x4e6)](_0x45fb42)),_0x18f07e['takeUntil'](this['dispose$']))[_0x252312(0x447)](_0x532894=>{_0x5c126c(_0x532894);});}['_initUnitPermissionChange'](){const _0x27645b=_0x2fa915,_0x4f6bca=async _0x41da18=>{const _0x59d092=_0x5275;(await this[_0x59d092(0x31a)][_0x59d092(0x3ef)](_0x41da18))[_0x59d092(0x4ca)]['pipe'](_0x18f07e[_0x59d092(0x333)](_0x71a5af=>_0x71a5af[_0x59d092(0x526)]===_0x215e4a[_0x59d092(0x27c)][_0x59d092(0x401)]),_0x18f07e[_0x59d092(0x2b3)](this[_0x59d092(0x1ad)]))[_0x59d092(0x447)](_0xe5a0f=>{const _0x477f2f=_0x59d092,_0x31947a=_0xe5a0f,{objectId:_0x35b59b}=_0x31947a[_0x477f2f(0x273)],_0x1a9fe0=this[_0x477f2f(0x60e)][_0x477f2f(0x4a0)](_0x23bfa7[_0x477f2f(0x604)]);_0x35b59b===_0x41da18?_0x1a9fe0[_0x477f2f(0x3a7)](_0x41da18):_0x1a9fe0['refreshPermission'](_0x41da18,_0x35b59b);});};_0x3eec93[_0x27645b(0x538)](this[_0x27645b(0x3c1)][_0x27645b(0x39e)](_0x4587e1[_0x27645b(0x637)][_0x27645b(0x3ee)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x4587e1[_0x27645b(0x637)][_0x27645b(0x27b)]))[_0x27645b(0x276)](_0x18f07e['map'](_0x18f7e7=>_0x18f7e7[_0x27645b(0x1d9)]()),_0x18f07e[_0x27645b(0x333)](_0x2174aa=>!_0x4587e1['isInternalEditorID'](_0x2174aa)),_0x18f07e[_0x27645b(0x2b3)](this[_0x27645b(0x1ad)]))[_0x27645b(0x447)](_0x439828=>{_0x4f6bca(_0x439828);});}};_0x571cf0=_0xea8fb6([_0x2ae8b5(0x0,_0x4587e1['Inject'](_0x4587e1[_0x2fa915(0x403)])),_0x2ae8b5(0x1,_0x4587e1[_0x2fa915(0x53b)]),_0x2ae8b5(0x2,_0x4587e1[_0x2fa915(0x220)]),_0x2ae8b5(0x3,_0x4587e1['Inject'](_0x539c7e['CollaborationSessionService'])),_0x2ae8b5(0x4,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x1e2)]))],_0x571cf0);var _0x3dda2d=Object[_0x2fa915(0x44e)],_0x5b3c46=Object[_0x2fa915(0x569)],_0x5df394=(_0x4149d9,_0x6d566,_0x26887e,_0x131342)=>{const _0x4c79d5=_0x2fa915;for(var _0x110026=_0x131342>0x1?void 0x0:_0x131342?_0x5b3c46(_0x6d566,_0x26887e):_0x6d566,_0x114ba3=_0x4149d9[_0x4c79d5(0x4d9)]-0x1,_0x43338e;_0x114ba3>=0x0;_0x114ba3--)(_0x43338e=_0x4149d9[_0x114ba3])&&(_0x110026=(_0x131342?_0x43338e(_0x6d566,_0x26887e,_0x110026):_0x43338e(_0x110026))||_0x110026);return _0x131342&&_0x110026&&_0x3dda2d(_0x6d566,_0x26887e,_0x110026),_0x110026;},_0x24d55a=(_0x844141,_0x4c181a)=>(_0x426efc,_0x507c52)=>_0x4c181a(_0x426efc,_0x507c52,_0x844141);_0x539c7e[_0x2fa915(0x311)]=class{constructor(_0x4dd186,_0xb59c54){const _0x1db16f=_0x2fa915;this[_0x1db16f(0x4e4)]=_0x4dd186,this[_0x1db16f(0x62e)]=_0xb59c54;}async[_0x2fa915(0x1e1)](_0x2a58ff,_0x34cd49){const _0x34efe9=_0x2fa915;var _0x11736b;const {unitID:_0x541814,type:_0x175110,revision:_0x5316a1=0x0}=_0x34cd49,_0x46d3eb=this[_0x34efe9(0x2bc)]()+'/'+_0x175110+_0x34efe9(0x2f8)+_0x541814+_0x34efe9(0x36b)+_0x5316a1,_0x46ecc3=(await this[_0x34efe9(0x62e)][_0x34efe9(0x4a0)](_0x46d3eb))[_0x34efe9(0x2e6)],_0x23ccc2=(_0x11736b=_0x46ecc3[_0x34efe9(0x393)])==null?void 0x0:_0x11736b[_0x34efe9(0x343)];if(_0x23ccc2){const _0x322351=_0x23ccc2==null?void 0x0:_0x23ccc2[_0x34efe9(0x199)],_0x22fada=_0x215e4a[_0x34efe9(0x373)][_0x34efe9(0x610)](_0x215e4a[_0x34efe9(0x5db)](_0x322351));_0x23ccc2[_0x34efe9(0x199)]=_0x22fada,Object[_0x34efe9(0x175)](_0x23ccc2[_0x34efe9(0x2ef)])[_0x34efe9(0x34b)](([,_0x83ae30])=>{const _0x3eeb6e=_0x34efe9,_0x3fc76c=_0x83ae30[_0x3eeb6e(0x199)],_0x3312f1=_0x215e4a[_0x3eeb6e(0x373)]['encode'](_0x215e4a[_0x3eeb6e(0x5db)](_0x3fc76c));_0x83ae30[_0x3eeb6e(0x199)]=_0x3312f1;});}return _0x46ecc3;}async['getSheetBlock'](_0x238f15,_0xcd93a5){const _0x5252f2=_0x2fa915,{unitID:_0x52fe68,type:_0x5be0de,blockID:_0xdce8ca}=_0xcd93a5,_0x6761f7=this[_0x5252f2(0x26e)]()+'/'+_0x5be0de+'/unit/'+_0x52fe68+_0x5252f2(0x4c6)+_0xdce8ca;return(await this['_httpService'][_0x5252f2(0x4a0)](_0x6761f7))[_0x5252f2(0x2e6)];}async[_0x2fa915(0x437)](_0x33fdc3,_0x5e0c37){const _0x42c969=_0x2fa915,{unitID:_0x547972,type:_0x77e5f3,blockID:_0x32f21a}=_0x5e0c37,_0x45523d=this['_getAPIPrefix']()+_0x42c969(0x4c6)+_0x77e5f3+_0x42c969(0x2f8)+_0x547972+'/block/'+_0x32f21a;return(await this[_0x42c969(0x62e)][_0x42c969(0x4a0)](_0x45523d))['body'];}async[_0x2fa915(0x4ef)](_0x2c8900,_0x4bdcb5){const _0xffa5b6=_0x2fa915,{unitID:_0x4cd7b6,type:_0x11bf59,from:_0x4fddd4,to:_0x1e46d2}=_0x4bdcb5,_0x3ddfda=this[_0xffa5b6(0x26e)]()+'/'+_0x11bf59+_0xffa5b6(0x2f8)+_0x4cd7b6+_0xffa5b6(0x255)+_0x4fddd4+'&to='+_0x1e46d2;return(await this[_0xffa5b6(0x62e)]['get'](_0x3ddfda))['body'];}[_0x2fa915(0x2bc)](){const _0x208786=_0x2fa915;var _0x42caf1;return(_0x42caf1=this[_0x208786(0x4e4)]['getConfig'](_0xda4d44))!=null?_0x42caf1:this['_getAPIPrefix']();}['_getAPIPrefix'](){const _0x14984c=_0x2fa915;var _0x173a7a,_0x2da3fd;const _0x12e057=this[_0x14984c(0x4e4)][_0x14984c(0x185)](_0x1b173d),_0x394f47=this['_configService'][_0x14984c(0x185)](_0x152bb8);return(_0x2da3fd=(_0x173a7a=_0x394f47==null?void 0x0:_0x394f47[_0x14984c(0x516)])!=null?_0x173a7a:_0x12e057)!=null?_0x2da3fd:_0x425cf9;}async[_0x2fa915(0x523)](_0x3050ae,_0x49f8e0){const _0x56c26a=_0x2fa915,_0x420c9f=_0x56c26a(0x5cb)+_0x49f8e0['type']+'/unit/'+_0x49f8e0[_0x56c26a(0x2d1)]+_0x56c26a(0x46b);return(await this[_0x56c26a(0x62e)]['get'](_0x420c9f,{'params':{'resourceId':JSON['stringify'](_0x49f8e0[_0x56c26a(0x2e7)])}}))[_0x56c26a(0x2e6)];}['saveSnapshot'](){const _0x269546=_0x2fa915;throw new Error(_0x269546(0x5a8));}['saveSheetBlock'](){const _0x50b94f=_0x2fa915;throw new Error(_0x50b94f(0x5a8));}[_0x2fa915(0x3cf)](){const _0x170e65=_0x2fa915;throw new Error(_0x170e65(0x5a8));}[_0x2fa915(0x2f3)](){const _0x36152e=_0x2fa915;throw new Error(_0x36152e(0x5a8));}[_0x2fa915(0x42c)](){const _0x163f01=_0x2fa915;throw new Error(_0x163f01(0x5a8));}},_0x539c7e[_0x2fa915(0x311)]=_0x5df394([_0x24d55a(0x0,_0x4587e1[_0x2fa915(0x628)]),_0x24d55a(0x1,_0x4587e1[_0x2fa915(0x42b)](_0x108d2c[_0x2fa915(0x49f)]))],_0x539c7e[_0x2fa915(0x311)]);var _0x6555e=Object[_0x2fa915(0x44e)],_0x4867e4=Object[_0x2fa915(0x569)],_0x1b3672=(_0x6d8ac9,_0x104f26,_0x4ffe3f,_0x22037b)=>{const _0x3c5007=_0x2fa915;for(var _0x527180=_0x22037b>0x1?void 0x0:_0x22037b?_0x4867e4(_0x104f26,_0x4ffe3f):_0x104f26,_0x47d6d1=_0x6d8ac9[_0x3c5007(0x4d9)]-0x1,_0x194602;_0x47d6d1>=0x0;_0x47d6d1--)(_0x194602=_0x6d8ac9[_0x47d6d1])&&(_0x527180=(_0x22037b?_0x194602(_0x104f26,_0x4ffe3f,_0x527180):_0x194602(_0x527180))||_0x527180);return _0x22037b&&_0x527180&&_0x6555e(_0x104f26,_0x4ffe3f,_0x527180),_0x527180;},_0x16feb4=(_0x4f306a,_0x597e0e)=>(_0x1d3170,_0x269ab1)=>_0x597e0e(_0x1d3170,_0x269ab1,_0x4f306a);let _0x5295d9=class extends _0x4587e1[_0x2fa915(0x3e8)]{constructor(_0x1f06b6,_0x5edd0c,_0x596192,_0xbd8aaa,_0x3ade55){const _0x1ac2b=_0x2fa915;super(_0x1f06b6,_0x5edd0c,_0x596192),this[_0x1ac2b(0x493)]=_0xbd8aaa,this[_0x1ac2b(0x43a)]=_0x3ade55;}[_0x2fa915(0x397)](_0x4b09ad,_0x1c512d){const _0xa42b07=_0x2fa915,_0xfb5a67=this[_0xa42b07(0x48c)](_0x4b09ad);if(_0xfb5a67)try{const _0x24fc8b=this[_0xa42b07(0x30e)](_0xfb5a67,_0x1c512d);this[_0xa42b07(0x328)](_0x4b09ad,_0x24fc8b);}catch(_0x292c6d){this[_0xa42b07(0x43a)][_0xa42b07(0x3a9)](_0xa42b07(0x25c),_0x292c6d),this[_0xa42b07(0x407)](_0x4b09ad);}const _0x429a93=this[_0xa42b07(0x2f1)](_0x4b09ad);if(_0x429a93)try{const _0x501b2a=this['_transformStack'](_0x429a93,_0x1c512d);this[_0xa42b07(0x404)](_0x4b09ad,_0x501b2a);}catch(_0x44457f){this[_0xa42b07(0x43a)]['error'](_0x44457f),this[_0xa42b07(0x4c7)](_0x4b09ad);}}[_0x2fa915(0x407)](_0x415f42){const _0x44abc9=_0x2fa915,_0x1f2adb=this[_0x44abc9(0x48c)](_0x415f42);_0x1f2adb&&(_0x1f2adb['length']=0x0,this[_0x44abc9(0x550)]());}[_0x2fa915(0x4c7)](_0x53aff2){const _0xc82f11=_0x2fa915,_0x1f11b6=this[_0xc82f11(0x2f1)](_0x53aff2);_0x1f11b6&&(_0x1f11b6[_0xc82f11(0x4d9)]=0x0,this[_0xc82f11(0x550)]());}['_substituteUndoStack'](_0x209d75,_0x31894c){const _0x983b5c=_0x2fa915;this[_0x983b5c(0x4f4)][_0x983b5c(0x498)](_0x209d75,_0x31894c),this[_0x983b5c(0x550)]();}[_0x2fa915(0x404)](_0x463498,_0x4028c8){const _0x4e0ef6=_0x2fa915;this[_0x4e0ef6(0x1be)]['set'](_0x463498,_0x4028c8),this[_0x4e0ef6(0x550)]();}[_0x2fa915(0x30e)](_0x5e18d3,_0xcaa65b){const _0x22d73a=_0x2fa915,_0x96a209=[];let _0xf76f6d=_0xcaa65b,_0x58a46e=_0xcaa65b;for(let _0x536a39=_0x5e18d3[_0x22d73a(0x4d9)]-0x1;_0x536a39>=0x0;_0x536a39--){const {unitID:_0x1aa3af,undoMutations:_0x4d19f0,redoMutations:_0x20994e}=_0x5e18d3[_0x536a39],_0x294176=this[_0x22d73a(0x493)][_0x22d73a(0x439)](_0xf76f6d,_0x4d19f0),_0x5c0419=this[_0x22d73a(0x493)][_0x22d73a(0x439)](_0x58a46e,_0x20994e);if(_0x215e4a[_0x22d73a(0x301)](_0x294176)||_0x215e4a[_0x22d73a(0x301)](_0x5c0419)){this[_0x22d73a(0x43a)][_0x22d73a(0x3a9)](_0x22d73a(0x25c),'transformStack\x20failed!',_0x294176,_0x5c0419);break;}_0xf76f6d=_0x294176[_0x22d73a(0x17e)],_0x58a46e=_0x5c0419[_0x22d73a(0x17e)],_0x96a209[_0x22d73a(0x367)]({'unitID':_0x1aa3af,'undoMutations':_0x294176['m2Prime'],'redoMutations':_0x5c0419['m2Prime']});}return _0x96a209[_0x22d73a(0x358)]();}};_0x5295d9=_0x1b3672([_0x16feb4(0x0,_0x4587e1[_0x2fa915(0x53b)]),_0x16feb4(0x1,_0x4587e1[_0x2fa915(0x60b)]),_0x16feb4(0x2,_0x4587e1[_0x2fa915(0x5c2)]),_0x16feb4(0x3,_0x215e4a[_0x2fa915(0x34d)]),_0x16feb4(0x4,_0x4587e1[_0x2fa915(0x62b)])],_0x5295d9);class _0x333183 extends _0x4587e1[_0x2fa915(0x5b2)]{constructor(){const _0x5bae60=_0x2fa915;super(),_0x339ceb(this,'urlChange$'),this[_0x5bae60(0x568)]=_0x3eec93['fromEvent'](window,_0x5bae60(0x18d))[_0x5bae60(0x276)](_0x3eec93[_0x5bae60(0x2b3)](this['dispose$']),_0x3eec93[_0x5bae60(0x23f)](0x1),_0x3eec93['mapTo'](void 0x0));}[_0x2fa915(0x4c4)](_0x33ce8f,_0x25bdd8,_0x4e6dc9=!0x1){const _0x4fc4ce=_0x2fa915,_0x23b7d2=new URL(window['location'][_0x4fc4ce(0x1cf)]);_0x23b7d2['searchParams']['set'](_0x33ce8f,_0x25bdd8),_0x4e6dc9?window[_0x4fc4ce(0x2d6)][_0x4fc4ce(0x48b)]('','',_0x23b7d2[_0x4fc4ce(0x38a)]()):window[_0x4fc4ce(0x2d6)][_0x4fc4ce(0x588)]('','',_0x23b7d2[_0x4fc4ce(0x38a)]());}[_0x2fa915(0x456)](_0x487d14,_0x22be18=!0x1){const _0x512730=_0x2fa915,_0x3403d4=new URL(window['location'][_0x512730(0x1cf)]);_0x3403d4[_0x512730(0x51f)][_0x512730(0x4e2)](_0x487d14),_0x22be18?window[_0x512730(0x2d6)][_0x512730(0x48b)]('','',_0x3403d4[_0x512730(0x38a)]()):window[_0x512730(0x2d6)][_0x512730(0x588)]('','',_0x3403d4[_0x512730(0x38a)]());}['getParam'](_0x260efc){const _0x443b4f=_0x2fa915;var _0x495fcc;return(_0x495fcc=new URL(window['location'][_0x443b4f(0x1cf)])['searchParams'][_0x443b4f(0x4a0)](_0x260efc))!=null?_0x495fcc:void 0x0;}}var _0x31f8ad=Object[_0x2fa915(0x44e)],_0xa0ba4c=Object[_0x2fa915(0x569)],_0x421898=(_0x2f338f,_0x5976a2,_0x840841)=>_0x5976a2 in _0x2f338f?_0x31f8ad(_0x2f338f,_0x5976a2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x840841}):_0x2f338f[_0x5976a2]=_0x840841,_0x1071e9=(_0x882ef,_0x1f4eb3,_0x460978,_0x4d572f)=>{const _0x138a5c=_0x2fa915;for(var _0x533437=_0x4d572f>0x1?void 0x0:_0x4d572f?_0xa0ba4c(_0x1f4eb3,_0x460978):_0x1f4eb3,_0xa31ea4=_0x882ef[_0x138a5c(0x4d9)]-0x1,_0x5c4cd7;_0xa31ea4>=0x0;_0xa31ea4--)(_0x5c4cd7=_0x882ef[_0xa31ea4])&&(_0x533437=(_0x4d572f?_0x5c4cd7(_0x1f4eb3,_0x460978,_0x533437):_0x5c4cd7(_0x533437))||_0x533437);return _0x4d572f&&_0x533437&&_0x31f8ad(_0x1f4eb3,_0x460978,_0x533437),_0x533437;},_0x3d6f5e=(_0x4c5238,_0xcf1816)=>(_0x494da6,_0x5c4fb1)=>_0xcf1816(_0x494da6,_0x5c4fb1,_0x4c5238),_0x3ca693=(_0x193c45,_0x1697b9,_0x14bfbb)=>_0x421898(_0x193c45,_0x1697b9+'',_0x14bfbb);const _0x86a8fd=_0x2fa915(0x363);_0x539c7e['UniverCollaborationClientPlugin']=class extends _0x4587e1[_0x2fa915(0x5ed)]{constructor(_0xe429dd=_0x486456,_0x4a5d4f,_0x3602a8,_0x31e33d,_0x4c5870){const _0x48d40f=_0x2fa915;super(),this[_0x48d40f(0x2b5)]=_0xe429dd,this[_0x48d40f(0x43a)]=_0x4a5d4f,this[_0x48d40f(0x476)]=_0x3602a8,this[_0x48d40f(0x60e)]=_0x31e33d,this[_0x48d40f(0x4e4)]=_0x4c5870;const {..._0x336396}=this[_0x48d40f(0x2b5)];this['_configService'][_0x48d40f(0x23b)](_0x152bb8,_0x336396);}[_0x2fa915(0x4b5)](){const _0x3e6894=_0x2fa915;this[_0x3e6894(0x419)](),this[_0x3e6894(0x2fa)]();}['onReady'](){const _0x1219c2=_0x2fa915;_0x4587e1['touchDependencies'](this[_0x1219c2(0x60e)],[[_0x4a666c]]);}['onRendered'](){const _0x319d19=_0x2fa915;this[_0x319d19(0x1b1)]();}[_0x2fa915(0x419)](){const _0x30a591=_0x2fa915;var _0xbda497,_0x4856ad,_0x1e2bac,_0x368129;this['_injector'][_0x30a591(0x364)](_0x4587e1[_0x30a591(0x428)])&&this[_0x30a591(0x43a)][_0x30a591(0x3a9)](_0x30a591(0x2c1),_0x30a591(0x5c8));const _0x126c8e=[[_0x4587e1[_0x30a591(0x428)],{'useClass':_0x5295d9}],[_0x539c7e[_0x30a591(0x240)]],[_0x1938ad],[_0x4791ca,{'useClass':_0x333183}],[_0x539c7e[_0x30a591(0x1d1)]],[_0x539c7e['LocalCacheService']],[_0x108d2c['WebSocketService']],[_0x2a0fa4],[_0x2e0132],[_0xf435ee],[_0x952708],[_0x54132e],[_0x4c6e52],[_0x10d588],[_0x2707ce],[_0x571cf0],[_0x5a365e,{'useClass':(_0x4856ad=(_0xbda497=this['_config'])==null?void 0x0:_0xbda497[_0x30a591(0x30c)])!=null?_0x4856ad:_0x539c7e[_0x30a591(0x629)]}],[_0x215e4a[_0x30a591(0x53d)],{'useClass':_0x539c7e['SnapshotServerOverHTTPService']}],[_0x4587e1[_0x30a591(0x1a0)],{'useClass':_0x539c7e[_0x30a591(0x1c5)]}],[_0x4fc574[_0x30a591(0x615)],{'useClass':_0x539c7e[_0x30a591(0x53e)]}],[_0x539c7e[_0x30a591(0x38e)]],[_0x539c7e['DataLoaderController']],[_0x539c7e[_0x30a591(0x59c)]],[_0x4a666c],[_0x49f33]];(_0x1e2bac=this[_0x30a591(0x2b5)])!=null&&_0x1e2bac[_0x30a591(0x5d6)]&&_0x126c8e[_0x30a591(0x367)]([_0x426f76,{'useClass':_0x707295}]),_0x4587e1['registerDependencies'](this[_0x30a591(0x60e)],_0x4587e1[_0x30a591(0x48e)](_0x126c8e,(_0x368129=this[_0x30a591(0x2b5)])==null?void 0x0:_0x368129[_0x30a591(0x3e3)]));}[_0x2fa915(0x1b1)](){const _0x63fde=_0x2fa915;this[_0x63fde(0x211)](this['_renderManagerService'][_0x63fde(0x25a)](_0x4587e1[_0x63fde(0x637)][_0x63fde(0x27b)],[_0x33787c])),this[_0x63fde(0x211)](this[_0x63fde(0x476)][_0x63fde(0x25a)](_0x4587e1[_0x63fde(0x637)][_0x63fde(0x3ee)],[_0x40b948]));}[_0x2fa915(0x2fa)](){const _0x555092=_0x2fa915;var _0x37a2a3,_0x124041;this[_0x555092(0x60e)][_0x555092(0x4a0)](_0x108d2c[_0x555092(0x49f)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x108d2c[_0x555092(0x5a4)]({'maxParallel':0x6})}),(_0x37a2a3=this['_config'])!=null&&_0x37a2a3[_0x555092(0x4cc)]||this[_0x555092(0x60e)][_0x555092(0x4a0)](_0x539c7e[_0x555092(0x408)])[_0x555092(0x42d)](),(_0x124041=this[_0x555092(0x2b5)])!=null&&_0x124041[_0x555092(0x5d7)]&&_0x4587e1[_0x555092(0x2ed)](this[_0x555092(0x60e)],[[_0x4c6e52]]),_0x4587e1[_0x555092(0x2ed)](this[_0x555092(0x60e)],[[_0x10d588],[_0x49f33],[_0x539c7e[_0x555092(0x19b)]],[_0x539c7e[_0x555092(0x38e)]],[_0x539c7e['DesktopCollaborationStatusDisplayController']],[_0x571cf0]]);}},_0x3ca693(_0x539c7e[_0x2fa915(0x3f8)],_0x2fa915(0x369),_0x86a8fd),_0x539c7e[_0x2fa915(0x3f8)]=_0x1071e9([_0x4587e1[_0x2fa915(0x553)](_0x215e4a[_0x2fa915(0x22e)],_0x108d2c[_0x2fa915(0x3a8)]),_0x3d6f5e(0x1,_0x4587e1[_0x2fa915(0x62b)]),_0x3d6f5e(0x2,_0x25d31a['IRenderManagerService']),_0x3d6f5e(0x3,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1['Injector'])),_0x3d6f5e(0x4,_0x4587e1[_0x2fa915(0x628)])],_0x539c7e[_0x2fa915(0x3f8)]),_0x539c7e[_0x2fa915(0x3f9)]=_0x4594be,_0x539c7e[_0x2fa915(0x462)]=_0xecaf7c,_0x539c7e[_0x2fa915(0x2b2)]=_0x58836a,_0x539c7e[_0x2fa915(0x29c)]=_0x3b904c,_0x539c7e[_0x2fa915(0x206)]=_0x2e49a0,_0x539c7e[_0x2fa915(0x384)]=_0x2707ce,_0x539c7e['HEARTBEAT_INTERVAL_KEY']=_0x4a8a98,_0x539c7e['HEARTBEAT_TIMEOUT_KEY']=_0xa4064f,_0x539c7e[_0x2fa915(0x292)]=_0x5a365e,_0x539c7e[_0x2fa915(0x208)]=_0x4791ca,_0x539c7e[_0x2fa915(0x1bd)]=_0x4c60f6,_0x539c7e[_0x2fa915(0x332)]=_0x456ae0,_0x539c7e[_0x2fa915(0x263)]=_0xceef47,_0x539c7e[_0x2fa915(0x1fa)]=_0x434cfe,_0x539c7e['SNAPSHOT_SERVER_URL_KEY']=_0x1b173d,_0x539c7e[_0x2fa915(0x20d)]=_0xda4d44,_0x539c7e[_0x2fa915(0x4fd)]=_0x474ede,_0x539c7e[_0x2fa915(0x1f1)]=_0x257c8d,_0x539c7e[_0x2fa915(0x2e9)]=_0x333183,_0x539c7e[_0x2fa915(0x2d7)]=_0x99cd90,_0x539c7e[_0x2fa915(0x56e)]=_0x40533c,Object['defineProperty'](_0x539c7e,Symbol[_0x2fa915(0x583)],{'value':_0x2fa915(0x1cd)});}));function _0x2a28(){const _0x219b78=['univerjs-icon\x20univerjs-icon-','_replaceFileID','DocSkeletonManagerService','serializeCombRequest','error$','_imageSourceCache','_replayCachedMutations','endRow','_collaborationController','NodePositionConvertToRectRange','registerRefRange','_compressMutationService','M0\x200H16V16H0z','ref','debounceTime','parseChangesetToProtocol','updateMember','handleIRemoveRow','slice','UNKNOWN_CMD','_type','members','UniverSheets','iterations','toStringTag','objectType','getRandomValues','21cHzRel','hidden','pushState','ciphertext','@univerjs/rpc','_onConnectionOpen','getColor','APPLY_PERMISSION_DENIED','randomBytes','InsertSheetMutation','subunit','getAncestorScale','getCurrentRevOfUnit','session','append','_initStatusComponent','assign','[OfflineState]:\x20received\x20changeset.','_state$','height','Shape','restore','DesktopCollaborationStatusDisplayController','_clearTimeoutTimer','name','memberID','_transformStateCache','decrypt','_getDownloadEndpointURL','UNIVER_SLIDE','ThresholdInterceptorFactory','@univerjs/sheets-ui','JOIN','makeDirty','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_unlockTransition','send','registerHTTPInterceptor','APPLY_DUPLICATED','FAIL','_hideTimer','auth.needGotoLoginAlert','Tooltip','top','RxDisposable','13PUghyO','DocIMEInputManagerService','defs','getRenderById','crypto','engine','LIVESHARE_OPERATION','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','onload','min','$super','_resendTimer','_xformMode','permissionRejEvent','getSheetBySheetId','IContextService','includes','RichTextEditingMutation','Subject','jsxs','defIds','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','MUTATION','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','/universer-api/snapshot/','sin','transformIMECache','socket\x20close','catch','NOT_COLLAB','execute','_handler','InsertRowCommandId','SNAPSHOT_INVALID_SNAPSHOT','updateCursorEvent','enableSingleActiveInstanceLock','enableAuthServer','_transitionLocked','_changesetReqId','_ws','b64DecodeUnicode','setStateCache','ranges','_roomMembers$','isPermissionRej','RemoveColCommandId','_resendTimeout','NodePositionConvertToCursor','propertyIsEnumerable','_docSyncEditingCollabCursorService','create','setAlpha','headers','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','20945680ocfxWP','setItem','loadOfflineData','RemoveRowCommandId','Plugin','getActiveSheet','fillRule','SHA1','_exhaustRemoteChangesetQueue','color','awaiting','APPLY_REJECT','_updateURLWithCurrentState','setShapeProps','Tools','column','_onRemoteACK','setTimeout','_textBubble','newCsEvent','Decryptor','_createHelper','FromArray','icon','toRgbString','_onFetchMissResult','_unitOnClients','SheetPermissionInitController','CHANGESET_REJ','fetchThroughInterceptors','_doReset','@univerjs/core','_removeCollabCursors','compose','ICommandService','transform','_onMessage','_injector','_transformIMECache','encode','onRemoteRetry','_incrementRevisionNumber','_nDataBytes','USERS_LEAVE','IImageIoService','SHOULD_CLOSE_CONN','__Key__','_state','_scene','/universer-api/snapshot','_syncEditingCollabCursor','_uiPartsService','listRoles','capture','on-line-single_clip0_910_349','_labelPosition','stringify','clearTimeout','react','_onCursorUpdate','debounce','FileId','stopTime','IConfigService','CollaborationSocketService','EXCHANGE_SIGN_URL_SERVER_URL_KEY','ILogService','appendMutation','prototype','_httpService','colorChannel1','asObservable','_handleHeartbeatEvent','_transformUndoRedoStack','updateCollaborator','selection','encrypt','conflict.content','UniverInstanceType','_saveTaskMap','fromEvent','univer-offline','cursorInfo$','defaultProps','SEND_CHANGESET_TIMEOUT','_docStateChangeManagerService','some','_init','_throwTelemetryCollaborationNewChangeset','SetSelectionsOperation','_waitForHeartbeatResponse','BASE64','_disabled','entries','_invKeySchedule','PENDING','type','jsx','_listenToOnlineEvent','COLLAB_WEB_SOCKET_URL','online','UniverDrawing','c1Prime','_scheduleCollaborationTimeoutTimer','ImageSourceType','1em','BlockCipherMode','_toggleOffline','_doCryptBlock','getConfig','RefRangeService','skeleton','useCallback','rev','ReactCurrentOwner','size','focused$','popstate','sequenceExecute','verdancy600','addObjects','ACTIVE_UNIT_EVENT_CHANNEL','collaboration-client.config','_onConflict','0\x200\x2016\x2016','CHANGESET_SHOULD_RETRY','getCoordByCell','pauseCollaboration','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','originalMeta','InsertRangeMoveDownCommandId','DataLoaderController','getStateCache','registerBeforeClose','CHANGESET_ACK','_nRounds','IAuthzIoService','SUBMIT_CHANGESET','replace','_commandService','_commentService','_transformRemoteChangesetByIMECache','url','886641dARYXk','textRanges','MSG_FOR_ERROR','_status$','_initMergeInterceptor','UniverCore','dispose$','_executeRemoteChangeset','OpenSSL','fromCharCode','_registerRenderDependencies','sessionStatus','YUUMI_RATE_OVER_LIMIT','_getAnchorBounding','onCommandExecuted','listCollaborators','_draw','text','Workbook','TEXT_RANGE_LAYER_INDEX','ColorKit','getOwnPropertySymbols','LOCAL_CACHE_INTERVAL_KEY','_redoStacks','mode','message$','joinRsp','isActive','Encryptor','_messageService','AuthzIoHttpService','COLLAB_SUBMIT_CHANGESET_URL','DocStateChangeManagerService','_getAPIPrefixPath','next','show','Base64','getMergeData','Module','_candidateSocket','href','@univerjs/engine-render','MemberService','session.connection-failed','_schedule','symbol','CipherParams','/object/','telemetry\x20info\x20is\x20not\x20initialized','substring','getUnitId','JOINING','add','indexOf','onlineStatus','conflict','_minBufferSize','_append','getUnitOnRev','LocaleService','mapDocumentTypeToUniverType','_singleActiveUnitService','univer-online-status','words','onMissedChangesetFetched','deserializeRangeWithSheet','sheetId','[CollaborationSession]','UnitEmbedded','SNAPSHOT_HAS_BEEN_REMOVED','setInterval','POST','_iv','@univerjs/drawing','SheetCollabCursorShape','_saveCache','EffectRefRangId','HttpExport','_clearCollaborationTimeoutTimer','\x20to\x20','requestParams','Hasher','_onOffline','SEND_CHANGESET_TIMEOUT_KEY','collabStatus.conflict','_isPermissionRej','patch','UniverEngineFormula','_cachedData','UniverIcon','SheetsSelectionsService','_initRequestHeader','_createInitialState','getRangePointData','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','CollaborationStatusDisplay','width','IURLService','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','UniverCollaboration','_removeClearOtherTimer','_event$','SNAPSHOT_URL_KEY','then','UniverDocs','lineTo','disposeWithMe','pad','authzUrl','Could\x20not\x20dynamically\x20require\x20\x22','userID','LICENSE_IMPORT_SIZE_EXCEEDED','_undoRedoService','INGEST','MessageType','splice','ERROR_EXCEED_SIZE','CollaborationSession','SetTextSelectionsOperation','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_entities','IPermissionService','off-line-single_clip0_910_343','_rescheduleHeartbeat','getWorkbookSelections','purple300','getCellPositionByOffset','_memberService','concat','681224ZFAQtj','moveTo','target','updatePermissionPoint','createIdentifier','_themeService','UniverCollaborationPlugin','measureText','clone','useObservable','WordArray','reset','BufferedBlockAlgorithm','_send','createCollaborator','roomMembers$','responseType','m2Prime','_collabSessionService','setConfig','UnitSnapshot','getCurrentUser','_hovered','shareReplay','CollaborationSessionService','string','PERMISSION_DENIED','_clearScheduledTask','SetWorksheetActivateCommand','_map','call','onTransformSelections','@univerjs/sheets','setCurrentUser','now','incrementRevOfUnit','LOCAL_CACHE_INTERVAL','_revisionService','COLORS','_range','/allowed','\x20in\x20_schedule.','map','_hash','unit-cache-','/fetchmissing?from=','forwardRef','collabWebSocketUrl','removeMember','IMessageService','registerRenderModule','updateOfflineData','[CollaborationUndoRedoService]','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','OffLineSingle','_initCommandExecutedListener','connection\x20error','&source=','getValue','RETRY_CONNECTING_MAX_COUNT_KEY','@univerjs/docs-ui','displayName','_drawRectRange','getTypeOfUnitDisposed$','list','_colorIndex','location','JSONX','UniverDocsUi','SheetSkeletonManagerService','_getAPIPrefix','_commentUpdate$','CollaborationEntity','_retryConnectingTimer','getCurrentSelections','data','_onUserJoin','@univerjs/ui','pipe','finalize','_doFinalize','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','setActiveRange','UNIVER_DOC','CollaborationEvent','visibilitychange','_showConflictNotification','_permissionService','number','cmd','transformSelections','12XxyvMC','_docTransformIMECacheService','_socketMessageSubscription','_session','#fff','isTransformChangesetsSuccess','_setupBeforeClosingHandler','_iKey','_createInitialStateImpl','roomMembers','_beforeCloseService','UniverDesign','/universer-api/comb','\x20-\x20','values','ICollaborationSocketService','resize','collaboration-session-retry','_updateCollabCursors','_color','enc','Rect','_render','random','BehaviorSubject','CollaborationStatus','_getSendChangesetTimeout','editing\x20status\x20changed\x20to','abs','StreamCipher','unshift','_updateState','684mIdGxl','replaceDocRanges','Hex','toDisposable','_online','handleDeleteRangeMoveLeft','exhaustSavingTask','hostname','collaboration_new_changeset','attrs','_parse','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','sid','_change$','CommandType','COLLAB_WEB_SOCKET_URL_KEY','takeUntil','startRow','_config','/universer-api/stream/file/upload','onSendChangeset','onlineStatusTitle','_fetchMissChangesets','SheetCollaborationEntity','_acknowledgedAwaitingChangeset','_getSnapshotAPIPrefix','selections','_onRefRangeChange','/universer-api/oidc/authpage','getUnhiddenWorksheets','[UniverCollaborationClientPlugin]','MD5','processBlock','SNAPSHOT_SERVER_URL_KEY','title','_resendWithTimeout','bind','confirm','_disableEditing','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','transformMutation','newValue','UUID','unsubscribe','ws://127.0.0.1:8000/universer-api/comb/connect','IBeforeCloseService','unitID','getOffsetConfig','loadDoc','resend','CompressMutationService','history','deserializeToCombResponse','compute','_id','_keySchedule','_cursors','_lastPointer','UNRECOGNIZED','_onJoinRoomEvent','src','IUIPartsService','failed\x20to\x20apply\x20missed\x20changesets!','complete','function','addObject','offline','body','resourceIDs','4718uPVRXM','WebURLService','@univerjs/design','infoRsp','TOO_MANY_REQUESTS','touchDependencies','byteLength','sheets','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_getRedoStack','DocSelectionManagerService','copyFileMeta','_pendingMutations','_initUnitPermissionChange','beginPath','getSheetId','/unit/','clamp','_initDependencies','fetch_missing','fillStyle','getFocusedUnit','collaboration-client.offline-data-not-saved','ILocalStorageService','_updateLocalCache','isTransformMutationsWithChangesetFailure','HMAC','React','_sessionStatus$','handleInsertRow','PasswordBasedCipher','range','_entityInit$','_eventUnsubscribe','_onLocalMutation','MergeInterceptorFactory','socketService','distinctUntilChanged','_transformStack','_sendingTimer','liveShareNewHost','SnapshotServerOverHTTPService','none','_clearLocalCache','onTransformState','_document','editingUnit','_lockTransition','awaiting_with_pending','round','_collaborationSessionService','VIEWPORT_KEY','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','repeat','reqId','leaveEvent','_clearOtherTimers','post','_ensureSubject','COMPLETION_FINISHED','YUUMI_URL_COL_OUT_OF_RANGE','startColumn','ImageUploadStatusType','_startDocCollabCursor','_substituteUndoStack','tag','csAckEvent','awaitingChangeset','UniverRpc','9270XTnhDg','COMPRESS_MUTATION_APPLY','_collabCursorState$','isArray','_http','LOGIN_URL_KEY','filter','generateRandomId','getUndoRedoMutationParamsCache','svg','[OfflineState]:\x20received\x20acknowledgement.','/collaborator','80aqcBzi','default','save\x20fail\x20reason\x20is\x20','close','[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.','lib','setUndoRedoMutationParamsCache','CHANGESET_REVISION_CONFILICT','collaboration.closeRoom','fromEventSubject','workbook','encodeURIComponent','_loadSheet','equals','useRef','state$','_retryCount','onPointerEnter$','forEach','_listenToOfflineEvent','ITransformService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','collaborators','format','reject','USERS_ENTER','cfg','UPDATE_CURSOR','_docSkeletonManagerService','div','_onUserLeave','reverse','HEARTBEAT','@univerjs/engine-formula','_getSheetObject','@univerjs/telemetry','Unknown\x20user','getSheetObject','_startTelemetryCollaborationNewChangeset','CONFLICT','status$','_docTransformStateCacheService','UNIVER_COLLABORATION_CLIENT_PLUGIN','has','\x0aAfter:\x20','rxjs','push','_initResize','pluginName','Utf8','/rev/','interceptor','_ENC_XFORM_MODE','ONLINE','DisposableCollection','_snapshotService','_queuedRemoteChangesets','IRenderManagerService','textEncoder','subscribeEvent','_sendHeartbeatTimer','sessionStatus$','HttpImport','APPLY_REVISION_CONFILICT','getCollabEntity','charCodeAt','_hasher','status','_assignedColors','randomUUID','collabStatus.fetchMiss','_cursorShapes','DocCollaborationEntity','Error\x20on\x20receiving\x20event','DOC_RANGE_TYPE','CommentService','clear','serializeRangeWithSheet','_sendHeartbeat','change$','collabStatus.notCollab','toString','LICENSE_DISTRO_REJECTED','LEAVE','_telemetryService','CollaborationController','getSkeleton','connectInjector','key','_socketReady','snapshot','keySize','collab-rect-range-','sigBytes','transformUndoRedo','_notificationService','[PendingState]:\x20received\x20acknowledgement.','_createSocket','onTransformRemoteChangesetByIMECache','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','objects','getTypeOfUnitAdded$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','synced','/object','createElement','salt','exports','retryConnectingInterval','UNAUTHENTICATED','initWorkbookPermissionChange','UniverNetworkPlugin','error','onTransformRemoteChangesetByStateCache','update','assignAColorForMemberID','_drawTextRange','onSyncEditingCollabCursor','file','url(#$1','_anchor','/universer-api/authz','_getUploadFileURL','_scheduleClearOtherTimer','FETCH_MISS','_shouldReportTelemetry','_tryEnsureSocket','_drawAnchor','_onRemoteRejected','toggleOffline','enableLocalCache','liveShareOperation','AWAITING','_changesetSessionId','parse','createEncryptor','_univerInstanceService','cursorInfo','unknown','OFFLINE','_createHmacHelper','executeCommand','_checkMissing','_setupSubUnitSync','_getSaveTimeout','__creator','_anchorDot','_loadDoc','startsWith','onTransformIME','saveChangeset','INVALID_ARGUMENT','_snapshotServerService','_sheetSkeletonManagerService','createDecryptor','commentUpdateEvent','IDLE','children','changesets','setShowComponents','_submitChangeset','WorkbookEditablePermission','VIEW_MAIN','fill','_decreaseWaiting','isTransformMutationFailure','TEXT','from','OTHER_CLIENTS_EDITING','univer-online-status-title','override','_joinRoom','LIVESHARE_NEW_HOST','getCollabEntity$','_HTTPService','LocalUndoRedoService','uni.network.url-service','dispose','trim','_sessions','react.fragment','UNIVER_SHEET','requireSession','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','subUnitId','objectID','Univer','deepClone','_updateLocalCursor','_process','_onCombEvent','UniverCollaborationClientPlugin','AUTHZ_URL_KEY','drawWith','fetching\x20missing\x20changesets\x20from\x20','UNIVER_UNKNOWN','UniverNetwork','off-line-single','activeSheet$','jiqing500','UPDATE_PERMISSION_OBJ','_backgroundColor','Injector','_substituteRedoStack','objectActions','_cursorInfo$','_clearUndo','LocalCacheService','EvpKDF','readInt32LE','getActiveRange','_syncEditingCollabCursorService','&assign=','getVpScrollXYInfoByPosToVp','padding','redoState','arc','Optional','_docSkeleton','blockSize','Warning','HELLO','_sender','currentColor','_registerDependencies','contains','COMPRESS_MUTATION_SEND','onRemoteChangeset','_userManagerService','undoState','deleteCollaborator','onPointerLeave$','getTime','evenodd','_applyRemoteChangeset','reconnect','YUUMI_UNABLE_LOAD_URL','_roomMembers','object','IUndoRedoService','xlink:href','switchMap','Inject','getLatestCsReqIdBySid','disableLocalCache','_unitID','YUUMI_SUBSCRIPTION_NOT_FOUND','useDependency','SYNCED','_onRemoteRetry','max','c2Prime','image/bmp','WebSocketService','getDeserializedSheetBlock','getMember','transformMutationsWithChangeset','_logService','_instanceService','csRejEvent','UniverCollaborationClient','univer-online','_socketService','[CollaborationSessionService]:\x20socket\x20error','localeService','_transformPreviousActiveRange','operators','#FFF','collaboratorID','formatter','subscribe','onCommentUpdate','idSuffix','extend','_localStorageService','_onCursorDelete','findNodePositionByCharIndex','defineProperty','take','onRemoteAck','LICENSE_MAX_UNITS_EXCEEDED','createSocket','onMouseMove','APPLY_NON_SEQUENTIAL_REVISION','_tryReconnect','removeParam','routeKey','_timeoutTimer','_updateSubUnitFromURLParams','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_members','charAt','_oKey','_removeRoom','?size=','_transformUndoredo','SetDocZoomRatioOperation','COLLAB_SUBMIT_CHANGESET_URL_KEY','_collaborationTimeoutTimer','_doProcessBlock','closeSession','clipPath','url(#on-line-single_clip0_910_349)','FETCH_MISSING','LIVESHARE_FETCH_OPERATIONS','byteOffset','/resources','ERROR_IMAGE','_unitStatus','/-/object/list','shouldCloseConn','_sheetTransformSelectionsService','RECV','debug','_localCacheService','_colorAssignService','syncEditingCollabCursor','_renderManagerService','CBC','PSEUDO_FETCH_MISSING_RESULT','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','use','_cipher','_shapes','_getCurrentRevision','disposeUnit','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_urlService','LICENSE_EXPORT_SIZE_EXCEEDED','floor','UNKNOWN_CODE','onTransformChange$','/universer-api/file/{fileID}/sign-url','[CollaborationSessionService]','fetchMiss','_telemetryInfo','createInstance','UNDEFINED','replaceState','_getUndoStack','close$','mergeOverrideWithDependencies','PERMISSION_REJ','Error','split','with','_transformService','duration','encryptBlock','INTERNAL_ERROR','_localeService','set','ALREADY_EXISTS','ceil','INotificationService','/-/object/-/batch_allowed','MoveRangeCommandId','_onRecvEvent','HTTPService','get','RECT','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','BlockCipher','red300','ENSURE_SNAPSHOT_EXECUTION','UNIVER_PROJECT','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','className','currentSkeleton$','122441QDXLGv','HEADER_MENU','image/gif','for','clearInterval','_collabCursorController','transformByState','getUniverSheetInstance','NOT_FOUND','transformChangesets','Malformed\x20UTF-8\x20data','onStarting','current','_transformRemoteChangesetByStateCache','collabSubmitChangesetUrl','fillText','join','result','IRemoteInstanceService','EmptyMutation','unitId\x20is\x20not\x20found','HTTPRequest','handleInsertRangeMoveRight','_reverseMap','handleDeleteRangeMoveUp','_getMergeRange','setParam','[SyncedState]:\x20received\x20rejection.','/block/','_clearRedo','getMemberID','478MmICDk','event$','loginUrlKey','enableOfflineEditing','HEARTBEAT_INTERVAL','onMissingChangesets','_startCollaboration','delay','@univerjs-pro/collaboration','_prevBlock','mutations','1779170IEBcvZ','unit','[PendingState]:\x20received\x20rejection.','handleInsertCol','_name','length','readAsDataURL','@univerjs/network','unpad','algo','kdf','_docTransformSelectionsService','session.room-full','blue400','delete','every','_configService','ThemeService','isInternalEditorID','NEW_CHANGESETS','_refRangeService','LIVESHARE_REQUEST_HOST','getUnitStatus$','combineLatest','state','url(#off-line-single_clip0_910_343)','__esModule','fetchMissingChangesets','[DataLoaderController]','runRefRangeMutations','_heartbeatTimer','_remoteChangesetQueue','_undoStacks','_initCloseConn','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','reduce','unitId','ivSize','addEventListener','pending','_data','SessionStatus','currentTheme$','hasher','_onConnectionFailed','path','_initEventListeners','_getSignURL','[CollaborationState]:\x20apply\x20error!','origin','_key','hasOwnProperty','toggleOnline','\x0aCurrent:\x20','doc.mutation.rich-text-editing','AWAITING_WITH_PENDING','m1Prime','_selfUnitIDs','Base','_createHandler','flatMap','Vector2','startTime','_DEC_XFORM_MODE','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','actions','snapshotServerUrl','setWaitCount','RevisionService','registerOnClose','black','NO_OTHER_CLIENTS_EDITING','action','getInterceptPoints','RegularPolygon','searchParams','_handleJoinEvent','revision','rng','getResourcesRequest','onRemoteRej','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','eventID','hide','save','_handleEvent','transformStateCache','_hover','NoPadding','open$','_context','getDocRanges','storage','_scheduleTimestamp','visibilityState','_socket','rgba(255,\x20255,\x20255,\x200.01)','...','Cipher','1773ARrVee','merge','isTransformMutationsWithChangesetSuccess','LIVESHARE_TERMINATE','IUniverInstanceService','_initStatusListener','ISnapshotServerService','ImageIoService','on-line-single','handleIRemoveCol','_socket$','Undefined','transformRemoteChangeset','_stopTelemetryCollaborationNewChangeset','find','_handleLeaveEvent','_startSheetCollabCursor','params','_toggleOnline','bottom','collab-text-range-','apply','_scheduleSaving','_awaitingChangeset','rxjs/operators','_updateStatus','AES','Disposable','DependentOn','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','uploadFileServerUrl','0\x200\x2017\x2016','decryptBlock','init','getParam','_collaborationPaused','COMMENT_UPDATE','_keyPriorReset','_waitCount','code','getCollabCursors$','sendChangesetTimeout','_scheduleHeartbeat','_onRemoteChangeset','Rectangle','getViewport','_clearHeartbeatTimer','mixIn','getImage','urlChange$','getOwnPropertyDescriptor','_mode'];_0x2a28=function(){return _0x219b78;};return _0x2a28();}
|