@univerjs-pro/collaboration-client 0.5.0-nightly.202411111606 → 0.5.0-nightly.202411121606

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x15b320,_0x5c9d2a){const _0x55e9c5=_0x3e32,_0x348a51=_0x15b320();while(!![]){try{const _0x545fcf=parseInt(_0x55e9c5(0x1d0))/0x1*(parseInt(_0x55e9c5(0x4f5))/0x2)+-parseInt(_0x55e9c5(0xf0))/0x3+-parseInt(_0x55e9c5(0x295))/0x4+-parseInt(_0x55e9c5(0x29f))/0x5*(-parseInt(_0x55e9c5(0x35c))/0x6)+parseInt(_0x55e9c5(0x244))/0x7*(-parseInt(_0x55e9c5(0x87))/0x8)+-parseInt(_0x55e9c5(0x14f))/0x9*(-parseInt(_0x55e9c5(0xf5))/0xa)+-parseInt(_0x55e9c5(0x138))/0xb*(-parseInt(_0x55e9c5(0x273))/0xc);if(_0x545fcf===_0x5c9d2a)break;else _0x348a51['push'](_0x348a51['shift']());}catch(_0x289e81){_0x348a51['push'](_0x348a51['shift']());}}}(_0x5175,0xcd881),function(_0x5a2f7a,_0x5a5869){const _0x382781=_0x3e32;typeof exports==_0x382781(0x3d7)&&typeof module<'u'?_0x5a5869(exports,require('@univerjs/core'),require('rxjs'),require('rxjs/operators'),require(_0x382781(0x42e)),require(_0x382781(0x2c3)),require(_0x382781(0xd4)),require(_0x382781(0x6b)),require('@univerjs/telemetry'),require(_0x382781(0x430)),require(_0x382781(0x4b0)),require(_0x382781(0xb4)),require(_0x382781(0x369)),require(_0x382781(0x459)),require(_0x382781(0x1b9)),require(_0x382781(0x29b)),require(_0x382781(0x49c)),require(_0x382781(0x3b2))):typeof define=='function'&&define[_0x382781(0x68)]?define([_0x382781(0x1a3),_0x382781(0x1eb),'rxjs','rxjs/operators',_0x382781(0x42e),'@univerjs/ui',_0x382781(0xd4),_0x382781(0x6b),_0x382781(0x205),_0x382781(0x430),_0x382781(0x4b0),_0x382781(0xb4),_0x382781(0x369),'@univerjs/drawing',_0x382781(0x1b9),_0x382781(0x29b),_0x382781(0x49c),_0x382781(0x3b2)],_0x5a5869):(_0x5a2f7a=typeof globalThis<'u'?globalThis:_0x5a2f7a||self,_0x5a5869(_0x5a2f7a[_0x382781(0x2b3)]={},_0x5a2f7a['UniverCore'],_0x5a2f7a[_0x382781(0x508)],_0x5a2f7a['rxjs']['operators'],_0x5a2f7a['UniverDesign'],_0x5a2f7a['UniverUi'],_0x5a2f7a['UniverNetwork'],_0x5a2f7a['UniverCollaboration'],_0x5a2f7a[_0x382781(0x257)],_0x5a2f7a[_0x382781(0x3f8)],_0x5a2f7a[_0x382781(0x462)],_0x5a2f7a[_0x382781(0x521)],_0x5a2f7a[_0x382781(0x1c7)],_0x5a2f7a[_0x382781(0x2d0)],_0x5a2f7a[_0x382781(0x514)],_0x5a2f7a[_0x382781(0x492)],_0x5a2f7a[_0x382781(0x4f6)],_0x5a2f7a[_0x382781(0x208)]));}(this,function(_0x1b5475,_0x3d563c,_0x10d074,_0x2da86d,_0x4278c0,_0xe60abc,_0x1571b5,_0x520737,_0x2ebcee,_0x4212a5,_0xa13da4,_0x1c2dd3,_0x2fb3a7,_0x1c4a0c,_0x396f5d,_0x17ef8a,_0x36973f,_0x2a98ea){'use strict';const _0x416c04=_0x3e32;var _0x3da0a7=Object['defineProperty'],_0x2f0ec8=(_0x27602d,_0x36ec6a,_0x555794)=>_0x36ec6a in _0x27602d?_0x3da0a7(_0x27602d,_0x36ec6a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x555794}):_0x27602d[_0x36ec6a]=_0x555794,_0x10d0d4=(_0x3e1bcf,_0x1eac5b,_0x50b257)=>_0x2f0ec8(_0x3e1bcf,typeof _0x1eac5b!='symbol'?_0x1eac5b+'':_0x1eac5b,_0x50b257);const _0x3f11d2='SNAPSHOT_SERVER_URL_KEY',_0x473ff6=_0x416c04(0x407),_0x53b089=_0x416c04(0x278),_0xc3daa4=_0x416c04(0x469),_0x169f82=_0x416c04(0x2a1),_0x3b81a5='ws://127.0.0.1:8000/universer-api/comb/connect',_0x27c0a6='HEARTBEAT_INTERVAL',_0x3afe73='HEARTBEAT_TIMEOUT',_0x11cf4c=_0x416c04(0x4a4),_0x539678=_0x416c04(0x2d9),_0x31b7d6='COLLAB_SUBMIT_CHANGESET_URL',_0x51269f=_0x416c04(0xe3),_0x2e3666=_0x416c04(0x3de),_0x214b23=_0x416c04(0x531);var _0x5d073a=(_0x57aed6=>(_0x57aed6[_0x57aed6[_0x416c04(0x1ee)]=0x0]=_0x416c04(0x1ee),_0x57aed6[_0x57aed6['OK']=0x1]='OK',_0x57aed6[_0x57aed6['INTERNAL_ERROR']=0x2]=_0x416c04(0x1a9),_0x57aed6[_0x57aed6['PERMISSION_DENIED']=0x3]=_0x416c04(0x22c),_0x57aed6[_0x57aed6[_0x416c04(0x353)]=0x4]=_0x416c04(0x353),_0x57aed6[_0x57aed6[_0x416c04(0x360)]=0x5]=_0x416c04(0x360),_0x57aed6[_0x57aed6['ALREADY_EXISTS']=0x6]=_0x416c04(0x47a),_0x57aed6[_0x57aed6[_0x416c04(0xc0)]=0x7]='INVALID_ARGUMENT',_0x57aed6[_0x57aed6[_0x416c04(0xf2)]=0x8]=_0x416c04(0xf2),_0x57aed6[_0x57aed6[_0x416c04(0x215)]=0x9]=_0x416c04(0x215),_0x57aed6[_0x57aed6[_0x416c04(0x228)]=0x1389]=_0x416c04(0x228),_0x57aed6[_0x57aed6[_0x416c04(0x3b6)]=0x1771]=_0x416c04(0x3b6),_0x57aed6[_0x57aed6[_0x416c04(0xdd)]=0x1772]=_0x416c04(0xdd),_0x57aed6[_0x57aed6['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x416c04(0x200),_0x57aed6[_0x57aed6[_0x416c04(0x301)]=0x1b59]=_0x416c04(0x301),_0x57aed6[_0x57aed6[_0x416c04(0x1c1)]=0x1b5a]=_0x416c04(0x1c1),_0x57aed6[_0x57aed6[_0x416c04(0x475)]=0x1b5b]=_0x416c04(0x475),_0x57aed6[_0x57aed6[_0x416c04(0x2d4)]=0x1b5c]=_0x416c04(0x2d4),_0x57aed6[_0x57aed6['APPLY_DUPLICATED']=0x1b5d]=_0x416c04(0xc3),_0x57aed6[_0x57aed6[_0x416c04(0x37b)]=0x1f41]=_0x416c04(0x37b),_0x57aed6[_0x57aed6['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x416c04(0xee),_0x57aed6[_0x57aed6[_0x416c04(0x503)]=0x232a]=_0x416c04(0x503),_0x57aed6[_0x57aed6[_0x416c04(0x1af)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x57aed6[_0x57aed6[_0x416c04(0x417)]=0x232c]=_0x416c04(0x417),_0x57aed6[_0x57aed6[_0x416c04(0x3a7)]=0x232d]=_0x416c04(0x3a7),_0x57aed6[_0x57aed6['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x416c04(0x1ce),_0x57aed6[_0x57aed6[_0x416c04(0xf1)]=0x2712]=_0x416c04(0xf1),_0x57aed6[_0x57aed6[_0x416c04(0x2cb)]=0x2713]=_0x416c04(0x2cb),_0x57aed6[_0x57aed6[_0x416c04(0x498)]=0x2714]=_0x416c04(0x498),_0x57aed6[_0x57aed6[_0x416c04(0x445)]=-0x1]=_0x416c04(0x445),_0x57aed6))(_0x5d073a||{}),_0x2cf20e=(_0x345394=>(_0x345394[_0x345394[_0x416c04(0xd1)]=0x0]=_0x416c04(0xd1),_0x345394[_0x345394[_0x416c04(0x465)]=0x1]='UNIVER_DOC',_0x345394[_0x345394[_0x416c04(0x2ec)]=0x2]=_0x416c04(0x2ec),_0x345394[_0x345394[_0x416c04(0x4c6)]=0x3]='UNIVER_SLIDE',_0x345394[_0x345394[_0x416c04(0x8f)]=0x4]=_0x416c04(0x8f),_0x345394[_0x345394[_0x416c04(0x445)]=-0x1]=_0x416c04(0x445),_0x345394))(_0x2cf20e||{}),_0x1ca14f=(_0xc9002e=>(_0xc9002e[_0xc9002e['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0xc9002e[_0xc9002e['HELLO']=0x1]=_0x416c04(0x17a),_0xc9002e[_0xc9002e['JOIN']=0x2]=_0x416c04(0x2e5),_0xc9002e[_0xc9002e[_0x416c04(0x474)]=0x3]=_0x416c04(0x474),_0xc9002e[_0xc9002e[_0x416c04(0x98)]=0x4]=_0x416c04(0x98),_0xc9002e[_0xc9002e[_0x416c04(0x4fc)]=0x5]=_0x416c04(0x4fc),_0xc9002e[_0xc9002e[_0x416c04(0x2d8)]=0x6]=_0x416c04(0x2d8),_0xc9002e[_0xc9002e['UNRECOGNIZED']=-0x1]=_0x416c04(0x445),_0xc9002e))(_0x1ca14f||{}),_0x40ff34=(_0x4be701=>(_0x4be701[_0x4be701[_0x416c04(0x322)]=0x0]='UNKNOWN_CODE',_0x4be701[_0x4be701['OK']=0x1]='OK',_0x4be701[_0x4be701[_0x416c04(0x24f)]=0x2]='FAIL',_0x4be701[_0x4be701['UNRECOGNIZED']=-0x1]=_0x416c04(0x445),_0x4be701))(_0x40ff34||{}),_0x17b2a1=(_0x457f36=>(_0x457f36[_0x457f36[_0x416c04(0xff)]=0x0]=_0x416c04(0xff),_0x457f36[_0x457f36[_0x416c04(0x504)]=0x1]=_0x416c04(0x504),_0x457f36[_0x457f36[_0x416c04(0x2c8)]=0x2]=_0x416c04(0x2c8),_0x457f36[_0x457f36[_0x416c04(0x10a)]=0x3]=_0x416c04(0x10a),_0x457f36[_0x457f36[_0x416c04(0x332)]=0x4]=_0x416c04(0x332),_0x457f36[_0x457f36[_0x416c04(0x445)]=-0x1]='UNRECOGNIZED',_0x457f36))(_0x17b2a1||{});const _0x40a44f=_0x416c04(0x27a),_0x4dcecf={};function _0xc823af(_0x31fa2c){const _0x2e6a5d=_0x416c04;var _0x41f32c,_0x42bd3c,_0x26fc76,_0x9ac3fb,_0x54557b;const _0x2f899c=_0x31fa2c[_0x2e6a5d(0xa1)],_0x4656d1=JSON['parse'](_0x2f899c);switch(_0x4656d1['cmd']){case _0x1ca14f[_0x2e6a5d(0x4fc)]:case _0x1ca14f[_0x2e6a5d(0x17a)]:{const _0x241fe8=_0x4656d1[_0x2e6a5d(0x361)];return{..._0x4656d1,'data':_0x241fe8,'cmd':_0x4656d1[_0x2e6a5d(0x434)]};}case _0x1ca14f[_0x2e6a5d(0x2e5)]:{const _0xbee87e=_0x4656d1['joinRsp'];return{..._0x4656d1,'data':_0xbee87e,'cmd':_0x4656d1[_0x2e6a5d(0x434)]};}case _0x1ca14f[_0x2e6a5d(0x2d8)]:{const _0xa5b988=_0x4656d1[_0x2e6a5d(0x1ef)];switch(_0xa5b988[_0x2e6a5d(0xac)]){case _0x520737[_0x2e6a5d(0x52d)][_0x2e6a5d(0x46b)]:return{..._0x4656d1,'data':{..._0xa5b988,'data':(_0x41f32c=_0xa5b988[_0x2e6a5d(0x43d)])==null?void 0x0:_0x41f32c['cs']},'cmd':_0x4656d1[_0x2e6a5d(0x434)]};case _0x520737[_0x2e6a5d(0x52d)][_0x2e6a5d(0x4d0)]:return{..._0x4656d1,'data':{..._0xa5b988,'data':(_0x42bd3c=_0xa5b988['csAckEvent'])==null?void 0x0:_0x42bd3c['cs']},'cmd':_0x4656d1[_0x2e6a5d(0x434)]};case _0x520737[_0x2e6a5d(0x52d)][_0x2e6a5d(0xfa)]:return{..._0x4656d1,'data':{..._0xa5b988,'data':(_0x26fc76=_0xa5b988[_0x2e6a5d(0x1d9)])==null?void 0x0:_0x26fc76['cs']},'cmd':_0x4656d1[_0x2e6a5d(0x434)]};case _0x520737['CollaborationEvent']['CHANGESET_REJ']:return{..._0x4656d1,'data':{..._0xa5b988,'data':(_0x9ac3fb=_0xa5b988[_0x2e6a5d(0x46d)])==null?void 0x0:_0x9ac3fb['cs']},'cmd':_0x4656d1['cmd']};case _0x520737[_0x2e6a5d(0x52d)][_0x2e6a5d(0x40e)]:return{..._0x4656d1,'data':{..._0xa5b988,'data':(_0x54557b=_0xa5b988[_0x2e6a5d(0x2fb)])==null?void 0x0:_0x54557b['cs']},'cmd':_0x4656d1['cmd']};case _0x520737[_0x2e6a5d(0x52d)][_0x2e6a5d(0x147)]:return{..._0x4656d1,'data':{..._0xa5b988,'data':_0xa5b988[_0x2e6a5d(0x451)]},'cmd':_0x4656d1[_0x2e6a5d(0x434)]};case _0x520737[_0x2e6a5d(0x52d)][_0x2e6a5d(0x282)]:return{..._0x4656d1,'data':{..._0xa5b988,'data':_0xa5b988['joinEvent']},'cmd':_0x4656d1['cmd']};case _0x520737[_0x2e6a5d(0x52d)][_0x2e6a5d(0x43e)]:return{..._0x4656d1,'data':{..._0xa5b988,'data':_0xa5b988[_0x2e6a5d(0x3a2)]},'cmd':_0x4656d1[_0x2e6a5d(0x434)]};case _0x520737['CollaborationEvent'][_0x2e6a5d(0x1e4)]:return{..._0x4656d1,'data':{..._0xa5b988,'data':_0xa5b988[_0x2e6a5d(0x8e)]},'cmd':_0x4656d1[_0x2e6a5d(0x434)]};case _0x520737['CollaborationEvent'][_0x2e6a5d(0x7c)]:case _0x520737[_0x2e6a5d(0x52d)]['LIVESHARE_OPERATION']:return{..._0x4656d1,'data':{..._0xa5b988,'data':_0xa5b988[_0x2e6a5d(0x3f4)]},'cmd':_0x4656d1[_0x2e6a5d(0x434)]};case _0x520737[_0x2e6a5d(0x52d)][_0x2e6a5d(0x334)]:return{..._0x4656d1,'data':{..._0xa5b988,'data':_0xa5b988[_0x2e6a5d(0x8e)]},'cmd':_0x4656d1[_0x2e6a5d(0x434)]};case _0x520737[_0x2e6a5d(0x52d)][_0x2e6a5d(0x19e)]:return{..._0x4656d1,'data':_0xa5b988,'cmd':_0x4656d1[_0x2e6a5d(0x434)]};case _0x520737[_0x2e6a5d(0x52d)]['COMMENT_UPDATE']:return{..._0x4656d1,'data':{..._0xa5b988,'data':_0xa5b988[_0x2e6a5d(0x1a5)]},'cmd':_0x4656d1[_0x2e6a5d(0x434)]};case _0x520737[_0x2e6a5d(0x52d)][_0x2e6a5d(0x378)]:return{..._0x4656d1,'data':{..._0xa5b988,'data':_0xa5b988['updatePermissionObjEvent']},'cmd':_0x4656d1[_0x2e6a5d(0x434)]};case _0x520737[_0x2e6a5d(0x52d)][_0x2e6a5d(0x27c)]:return{..._0x4656d1,'data':{..._0xa5b988,'data':_0xa5b988[_0x2e6a5d(0x52b)]},'cmd':_0x4656d1[_0x2e6a5d(0x434)]};default:return _0x4656d1;}}default:return _0x4656d1;}}function _0x3a3f64(_0x46df35){const _0x669187=_0x416c04;switch(_0x46df35[_0x669187(0x434)]){case _0x1ca14f[_0x669187(0x4fc)]:case _0x1ca14f['HELLO']:return JSON[_0x669187(0x420)]({'cmd':_0x46df35[_0x669187(0x434)],'routeKey':_0x46df35[_0x669187(0x1d2)]});case _0x1ca14f[_0x669187(0x98)]:{let _0x55e2d2;switch(_0x46df35['data']['eventID']){case _0x520737[_0x669187(0x52d)][_0x669187(0x147)]:{_0x55e2d2={'eventID':_0x520737[_0x669187(0x52d)][_0x669187(0x147)],'updateCursorEvent':_0x46df35[_0x669187(0xa1)]['data']};break;}case _0x520737[_0x669187(0x52d)][_0x669187(0x43e)]:{_0x55e2d2={'eventID':_0x520737[_0x669187(0x52d)][_0x669187(0x43e)],'leaveEvent':_0x46df35['data'][_0x669187(0xa1)]};break;}case _0x520737[_0x669187(0x52d)]['USERS_ENTER']:{_0x55e2d2={'eventID':_0x520737[_0x669187(0x52d)][_0x669187(0x282)],'joinEvent':_0x46df35[_0x669187(0xa1)][_0x669187(0xa1)]};break;}case _0x520737[_0x669187(0x52d)][_0x669187(0x1e4)]:{_0x55e2d2={'eventID':_0x520737[_0x669187(0x52d)][_0x669187(0x1e4)],'liveShareNewHost':_0x46df35[_0x669187(0xa1)][_0x669187(0xa1)]};break;}case _0x520737[_0x669187(0x52d)][_0x669187(0x33e)]:{_0x55e2d2={'eventID':_0x520737[_0x669187(0x52d)][_0x669187(0x33e)],'liveShareOperation':_0x46df35[_0x669187(0xa1)][_0x669187(0xa1)]};break;}case _0x520737[_0x669187(0x52d)][_0x669187(0x334)]:{_0x55e2d2={'eventID':_0x520737['CollaborationEvent'][_0x669187(0x334)],'liveShareTerminate':_0x46df35[_0x669187(0xa1)][_0x669187(0xa1)]};break;}case _0x520737[_0x669187(0x52d)][_0x669187(0x143)]:{_0x55e2d2={'eventID':_0x520737[_0x669187(0x52d)][_0x669187(0x143)],'liveShareRequestHost':_0x46df35[_0x669187(0xa1)][_0x669187(0xa1)]};break;}case _0x520737[_0x669187(0x52d)][_0x669187(0x7c)]:{_0x55e2d2={'eventID':_0x520737[_0x669187(0x52d)][_0x669187(0x7c)]};break;}default:_0x55e2d2={'eventID':_0x46df35[_0x669187(0xa1)][_0x669187(0xac)]};}return JSON['stringify']({'cmd':_0x46df35[_0x669187(0x434)],'routeKey':_0x46df35[_0x669187(0x1d2)],'collaMsg':_0x55e2d2});}case _0x1ca14f[_0x669187(0x2e5)]:return JSON[_0x669187(0x420)]({'cmd':_0x46df35[_0x669187(0x434)],'routeKey':_0x46df35[_0x669187(0x1d2)],'joinReq':_0x46df35[_0x669187(0xa1)]});case _0x1ca14f[_0x669187(0x474)]:return JSON[_0x669187(0x420)]({'cmd':_0x46df35[_0x669187(0x434)],'routeKey':_0x46df35[_0x669187(0x1d2)],'leaveReq':_0x46df35['data']});default:throw new Error(_0x669187(0x48e));}}var _0x195b11=Object[_0x416c04(0x2e4)],_0xfde5dd=Object[_0x416c04(0x4e2)],_0x243aa3=(_0x5d8b40,_0xf6bb9d,_0x59993b,_0x1f9791)=>{const _0xa1f1e9=_0x416c04;for(var _0x1e2e24=_0x1f9791>0x1?void 0x0:_0x1f9791?_0xfde5dd(_0xf6bb9d,_0x59993b):_0xf6bb9d,_0x32b6b1=_0x5d8b40[_0xa1f1e9(0x26a)]-0x1,_0x463ff4;_0x32b6b1>=0x0;_0x32b6b1--)(_0x463ff4=_0x5d8b40[_0x32b6b1])&&(_0x1e2e24=(_0x1f9791?_0x463ff4(_0xf6bb9d,_0x59993b,_0x1e2e24):_0x463ff4(_0x1e2e24))||_0x1e2e24);return _0x1f9791&&_0x1e2e24&&_0x195b11(_0xf6bb9d,_0x59993b,_0x1e2e24),_0x1e2e24;},_0x451cd2=(_0x2a93b9,_0x15e1c4)=>(_0x5e6eae,_0x59afbf)=>_0x15e1c4(_0x5e6eae,_0x59afbf,_0x2a93b9);const _0xc96f73=_0x3d563c['createIdentifier'](_0x416c04(0xef));function _0x33e835(_0x5899c4,_0x337939,_0x42c49e){const _0x24d9bb=_0x416c04;return _0x5899c4+'/'+_0x337939+'/unit/'+_0x42c49e+_0x24d9bb(0x32f);}_0x1b5475[_0x416c04(0x36a)]=class extends _0x3d563c[_0x416c04(0x9d)]{constructor(_0xfa0b5b,_0x228634,_0x290d25,_0x4f0f0c,_0x5f3e2d){const _0x4a6df0=_0x416c04;super(),this[_0x4a6df0(0x3c5)]=_0xfa0b5b,this[_0x4a6df0(0x146)]=_0x228634,this[_0x4a6df0(0xd6)]=_0x290d25,this[_0x4a6df0(0x4ff)]=_0x4f0f0c,this[_0x4a6df0(0x71)]=_0x5f3e2d;}[_0x416c04(0x1ad)](_0x5e388a){const _0x367c6a=_0x416c04,_0xe17691=this[_0x367c6a(0x146)][_0x367c6a(0x1ad)](_0x5e388a);if(!_0xe17691)throw new Error(_0x367c6a(0x480));const _0x10c1d3=new _0x3d563c[(_0x367c6a(0x1bc))](),_0x266beb=new _0x10d074[(_0x367c6a(0x178))]();_0x10c1d3['add'](_0xe17691[_0x367c6a(0x3c9)]['subscribe'](_0x448d49=>_0x266beb[_0x367c6a(0x50f)](_0x448d49))),_0x10c1d3['add'](_0x3d563c[_0x367c6a(0x307)](()=>_0x266beb['complete']()));const _0x2e19a4=new _0x10d074[(_0x367c6a(0x178))]();_0x10c1d3['add'](_0xe17691[_0x367c6a(0x2c1)][_0x367c6a(0x31f)](_0x19259b=>_0x2e19a4[_0x367c6a(0x50f)](_0x19259b))),_0x10c1d3[_0x367c6a(0x44b)](_0x3d563c['toDisposable'](()=>_0x2e19a4[_0x367c6a(0x9f)]()));const _0x14b16e=new _0x10d074[(_0x367c6a(0x178))]();_0x10c1d3['add'](_0xe17691['message$'][_0x367c6a(0x31f)](_0x14f4ba=>{const _0x384ec4=_0x367c6a,_0xf1c53f=_0xc823af(_0x14f4ba);_0x14b16e[_0x384ec4(0x50f)](_0xf1c53f);})),_0x10c1d3['add'](_0x3d563c['toDisposable'](()=>_0x14b16e[_0x367c6a(0x9f)]()));let _0x15076b;const _0x3c2e7e=()=>{const _0x22aea9=_0x367c6a;_0x2e19a4['next'](new Event(_0x22aea9(0x253))),_0x266beb[_0x22aea9(0x50f)](new CloseEvent(_0x22aea9(0x253))),_0x15076b['close']();};return _0x15076b={'memberID':'','close$':_0x266beb['asObservable'](),'error$':_0x2e19a4[_0x367c6a(0x349)](),'open$':_0xe17691['open$'],'message$':_0x14b16e[_0x367c6a(0x349)](),'send':_0x583c21=>{const _0x205f46=_0x367c6a;if(_0x583c21[_0x205f46(0x434)]===_0x1ca14f[_0x205f46(0x98)]){if(_0x583c21[_0x205f46(0xa1)][_0x205f46(0xac)]===_0x520737[_0x205f46(0x52d)][_0x205f46(0x1f7)]){this[_0x205f46(0x275)](_0x15076b,_0x583c21[_0x205f46(0xa1)])[_0x205f46(0x279)](_0x5c0939=>{const _0x42c18f=_0x205f46;this[_0x42c18f(0x4ff)][_0x42c18f(0x4b1)](_0x5c0939),_0x3c2e7e();});return;}if(_0x583c21[_0x205f46(0xa1)]['eventID']===_0x520737[_0x205f46(0x52d)]['FETCH_MISSING']){const _0x2f7673=_0x583c21[_0x205f46(0xa1)];this[_0x205f46(0x409)](_0x2f7673)[_0x205f46(0x262)](_0x30f731=>{const _0x4c03f6=_0x205f46;_0x14b16e[_0x4c03f6(0x50f)]({'cmd':_0x1ca14f[_0x4c03f6(0x2d8)],'code':_0x40ff34['OK'],'routeKey':_0x2f7673[_0x4c03f6(0xa1)]['unitID'],'routeType':'','data':{'eventID':_0x520737['CollaborationEvent'][_0x4c03f6(0x36b)],'data':{'changesets':_0x30f731}}});})[_0x205f46(0x279)](_0x39d07a=>{const _0x255d6c=_0x205f46;this[_0x255d6c(0x4ff)]['error'](_0x39d07a),_0x3c2e7e();});return;}}_0xe17691[_0x205f46(0x2ad)](_0x3a3f64(_0x583c21));},'close':()=>{const _0x350dae=_0x367c6a;_0xe17691['close'](),_0x10c1d3[_0x350dae(0x516)]();}},_0x15076b;}async[_0x416c04(0x275)](_0x4b12fa,_0x17f603){const _0x3f95bc=_0x416c04;var _0x3882ce,_0xbde7fd;const {unitType:_0x3efec9,unitID:_0xc9a9e8,changeset:_0x22e187}=_0x17f603[_0x3f95bc(0xa1)],_0x4ca627={'unitID':_0xc9a9e8,'memberID':_0x4b12fa[_0x3f95bc(0x1d4)],'type':_0x3efec9,'changeset':_0x520737[_0x3f95bc(0x1f4)](_0x22e187)},_0x2ba021=this[_0x3f95bc(0xd6)][_0x3f95bc(0x33a)](_0x31b7d6),_0x2b544e=this[_0x3f95bc(0xd6)][_0x3f95bc(0x33a)](_0x40a44f),_0x56a829=_0x33e835((_0xbde7fd=(_0x3882ce=_0x2b544e==null?void 0x0:_0x2b544e[_0x3f95bc(0x380)])!=null?_0x3882ce:_0x2ba021)!=null?_0xbde7fd:_0x51269f,_0x3efec9,_0xc9a9e8);try{await this[_0x3f95bc(0x3c5)][_0x3f95bc(0x3d4)](_0x56a829,{'body':_0x4ca627});}catch(_0x2122e4){throw this[_0x3f95bc(0x4ff)][_0x3f95bc(0x4b1)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x2122e4;}}async[_0x416c04(0x409)](_0x293c28){const _0x51a6b6=_0x416c04,{unitID:_0x508756,from:_0x33388f,to:_0x24d980,unitType:_0x5f583b}=_0x293c28[_0x51a6b6(0xa1)];return(await this[_0x51a6b6(0x71)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x508756,'type':_0x5f583b,'from':_0x33388f,'to':_0x24d980}))[_0x51a6b6(0x348)];}},_0x1b5475[_0x416c04(0x36a)]=_0x243aa3([_0x451cd2(0x0,_0x3d563c[_0x416c04(0x4d1)](_0x1571b5[_0x416c04(0x4db)])),_0x451cd2(0x1,_0x3d563c[_0x416c04(0x4d1)](_0x1571b5[_0x416c04(0x39f)])),_0x451cd2(0x2,_0x3d563c[_0x416c04(0x4f1)]),_0x451cd2(0x3,_0x3d563c[_0x416c04(0x2fd)]),_0x451cd2(0x4,_0x520737[_0x416c04(0x2a5)])],_0x1b5475['CollaborationSocketService']);const _0x331d9e='collaboration_new_changeset';function _0x1fc5d7(_0x3637cd){const _0x5e5e4f=_0x416c04;return JSON['stringify'](_0x3637cd)[_0x5e5e4f(0x26a)];}class _0x53bb40{constructor(){const _0x22d1c1=_0x416c04;_0x10d0d4(this,_0x22d1c1(0x2b2),new _0x10d074[(_0x22d1c1(0x178))]()),_0x10d0d4(this,_0x22d1c1(0x2b7),this[_0x22d1c1(0x2b2)][_0x22d1c1(0x349)]());}[_0x416c04(0x1f5)](_0x22a0c9){const _0x401a1a=_0x416c04;this[_0x401a1a(0x2b2)]['next'](_0x22a0c9);}}var _0x5bf3e4=Object['defineProperty'],_0xb057ea=Object[_0x416c04(0x4e2)],_0x4e1143=(_0x4488bf,_0x461719,_0x14c4f0,_0x418a6c)=>{for(var _0x1d33bd=_0x418a6c>0x1?void 0x0:_0x418a6c?_0xb057ea(_0x461719,_0x14c4f0):_0x461719,_0x284a39=_0x4488bf['length']-0x1,_0xc694b8;_0x284a39>=0x0;_0x284a39--)(_0xc694b8=_0x4488bf[_0x284a39])&&(_0x1d33bd=(_0x418a6c?_0xc694b8(_0x461719,_0x14c4f0,_0x1d33bd):_0xc694b8(_0x1d33bd))||_0x1d33bd);return _0x418a6c&&_0x1d33bd&&_0x5bf3e4(_0x461719,_0x14c4f0,_0x1d33bd),_0x1d33bd;},_0x3555ab=(_0x2f8980,_0x4272ed)=>(_0x595864,_0x21a39f)=>_0x4272ed(_0x595864,_0x21a39f,_0x2f8980);_0x1b5475[_0x416c04(0x2f4)]=class extends _0x3d563c[_0x416c04(0x9d)]{constructor(_0x43c4b4,_0x5516e9){const _0x2661ab=_0x416c04;super(),_0x10d0d4(this,_0x2661ab(0x42d),new Map()),(this[_0x2661ab(0x468)]=_0x43c4b4,this[_0x2661ab(0x239)]=_0x5516e9,this[_0x2661ab(0x4e9)](_0x3d563c[_0x2661ab(0x307)](_0x10d074['merge'](this['_univerInstanceService'][_0x2661ab(0x318)](_0x3d563c['UniverInstanceType'][_0x2661ab(0x2ec)])['pipe'](_0x2da86d['map'](_0x134d7f=>_0x134d7f[_0x2661ab(0x18e)]())),this[_0x2661ab(0x468)]['getTypeOfUnitDisposed$'](_0x3d563c[_0x2661ab(0x3b1)][_0x2661ab(0x465)])[_0x2661ab(0x123)](_0x2da86d[_0x2661ab(0x2b8)](_0x333120=>_0x333120[_0x2661ab(0x18e)]())),this[_0x2661ab(0x468)][_0x2661ab(0x318)](_0x3d563c['UniverInstanceType'][_0x2661ab(0x4c6)])[_0x2661ab(0x123)](_0x2da86d[_0x2661ab(0x2b8)](_0x27fa52=>_0x27fa52['getUnitId']())))['subscribe'](_0x91e289=>this['_removeRoom'](_0x91e289)))));}[_0x416c04(0xa5)](_0x41d504){const _0x88c491=_0x416c04;this[_0x88c491(0x239)]['setCurrentUser'](_0x41d504);}['getCurrentUser'](){const _0x2e1141=_0x416c04;return this[_0x2e1141(0x239)][_0x2e1141(0x199)]();}[_0x416c04(0x1ac)](_0x5797a8,_0x58ac68){const _0x2018d2=_0x416c04;let _0x54e982=this['_roomMembers'][_0x2018d2(0x529)](_0x5797a8);_0x54e982||(_0x54e982=new _0x22ca14(),this[_0x2018d2(0x42d)]['set'](_0x5797a8,_0x54e982)),_0x54e982[_0x2018d2(0x1ac)](_0x58ac68);}[_0x416c04(0x142)](_0x354d5a,_0x78ad5b){const _0x17c21d=_0x416c04,_0x59cfc6=this[_0x17c21d(0x42d)][_0x17c21d(0x529)](_0x354d5a);_0x59cfc6&&_0x59cfc6[_0x17c21d(0x142)](_0x78ad5b);}['getRoom'](_0x478cef){const _0x2005be=_0x416c04;return this['_roomMembers'][_0x2005be(0x529)](_0x478cef);}[_0x416c04(0x2ed)](_0x35a0b9,_0x31f4bc){const _0x1f078c=_0x416c04,_0x6f3da4=this[_0x1f078c(0x42d)]['get'](_0x35a0b9);if(_0x6f3da4)return _0x6f3da4[_0x1f078c(0x2ed)](_0x31f4bc);}[_0x416c04(0x3c8)](_0x5db870){const _0x191969=_0x416c04,_0x508125=this[_0x191969(0x42d)][_0x191969(0x529)](_0x5db870);_0x508125&&(_0x508125['dispose'](),this[_0x191969(0x42d)]['delete'](_0x5db870));}[_0x416c04(0x516)](){const _0x25fa37=_0x416c04;this[_0x25fa37(0x42d)]['forEach'](_0x54b110=>_0x54b110[_0x25fa37(0x516)]()),this['_roomMembers'][_0x25fa37(0x4a8)]();}},_0x1b5475[_0x416c04(0x2f4)]=_0x4e1143([_0x3555ab(0x0,_0x3d563c['IUniverInstanceService']),_0x3555ab(0x1,_0x3d563c['Inject'](_0x3d563c[_0x416c04(0x276)]))],_0x1b5475[_0x416c04(0x2f4)]);class _0x22ca14 extends _0x3d563c['Disposable']{constructor(){const _0x5878ec=_0x416c04;super(...arguments),_0x10d0d4(this,_0x5878ec(0x22e),new Map());}[_0x416c04(0x516)](){const _0x5e5087=_0x416c04;this[_0x5e5087(0x22e)]['clear']();}[_0x416c04(0x1ac)](_0x4254d9){const _0x3b87cf=_0x416c04;this[_0x3b87cf(0x22e)][_0x3b87cf(0x4ce)](_0x4254d9[_0x3b87cf(0x1d4)],_0x4254d9);}['removeMember'](_0x116c7e){const _0x2a50d3=_0x416c04;this[_0x2a50d3(0x22e)][_0x2a50d3(0xe8)](_0x116c7e);}[_0x416c04(0x2ed)](_0x4c61a8){const _0x50f4fc=_0x416c04;return this[_0x50f4fc(0x22e)][_0x50f4fc(0x529)](_0x4c61a8);}['getAllMembers'](){const _0x19cd31=_0x416c04;return Array[_0x19cd31(0x34d)](this[_0x19cd31(0x22e)][_0x19cd31(0x4c8)]());}}var _0x4ee311=Object[_0x416c04(0x2e4)],_0x694778=Object[_0x416c04(0x4e2)],_0x574e1c=(_0x6eb7c7,_0x3f49f8,_0x5a6ce6,_0x4a819d)=>{for(var _0x17b41e=_0x4a819d>0x1?void 0x0:_0x4a819d?_0x694778(_0x3f49f8,_0x5a6ce6):_0x3f49f8,_0x5b8911=_0x6eb7c7['length']-0x1,_0x45c447;_0x5b8911>=0x0;_0x5b8911--)(_0x45c447=_0x6eb7c7[_0x5b8911])&&(_0x17b41e=(_0x4a819d?_0x45c447(_0x3f49f8,_0x5a6ce6,_0x17b41e):_0x45c447(_0x17b41e))||_0x17b41e);return _0x4a819d&&_0x17b41e&&_0x4ee311(_0x3f49f8,_0x5a6ce6,_0x17b41e),_0x17b41e;},_0x2a4d5d=(_0x1e340d,_0x203dea)=>(_0x35f562,_0x165c00)=>_0x203dea(_0x35f562,_0x165c00,_0x1e340d),_0x1467c9=(_0x57a829=>(_0x57a829[_0x57a829['IDLE']=0x0]=_0x416c04(0x3c1),_0x57a829[_0x57a829[_0x416c04(0x3cf)]=0x1]='JOINING',_0x57a829[_0x57a829['OFFLINE']=0x2]=_0x416c04(0xcd),_0x57a829[_0x57a829['ONLINE']=0x3]=_0x416c04(0x99),_0x57a829))(_0x1467c9||{});_0x1b5475[_0x416c04(0x15f)]=class extends _0x3d563c[_0x416c04(0x9b)]{constructor(_0x35b374,_0x1c0d7b,_0x55fc59,_0x46f36f,_0xe1cbeb,_0x77d207,_0x383cc5,_0x5ab9f8,_0x39fe38,_0x4ac778){const _0x4316ef=_0x416c04;super(),_0x10d0d4(this,'_sessionStatus$',new _0x10d074[(_0x4316ef(0x500))](0x0)),_0x10d0d4(this,_0x4316ef(0x17f),this[_0x4316ef(0x32d)]['asObservable']()),_0x10d0d4(this,'_event$',new _0x10d074[(_0x4316ef(0x178))]()),_0x10d0d4(this,_0x4316ef(0xd7),this[_0x4316ef(0x3f1)][_0x4316ef(0x349)]()),_0x10d0d4(this,_0x4316ef(0x12d)),_0x10d0d4(this,_0x4316ef(0x3b7)),_0x10d0d4(this,'_collaborationTimeoutTimer'),_0x10d0d4(this,_0x4316ef(0x346),!0x1),_0x10d0d4(this,_0x4316ef(0x2b4),null),(this[_0x4316ef(0x184)]=_0x35b374,this[_0x4316ef(0x4ff)]=_0x55fc59,this[_0x4316ef(0x336)]=_0x46f36f,this[_0x4316ef(0x428)]=_0xe1cbeb,this['_configService']=_0x77d207,this[_0x4316ef(0x4c9)]=_0x383cc5,this['_memberService']=_0x5ab9f8,this[_0x4316ef(0x284)]=_0x39fe38,this['_telemetryService']=_0x4ac778,this[_0x4316ef(0x346)]=!!this[_0x4316ef(0x324)],_0x1c0d7b['pipe'](_0x10d074[_0x4316ef(0x288)](this[_0x4316ef(0x2a9)]))['subscribe'](_0x80d2d5=>{const _0x927803=_0x4316ef;var _0x6c793c;typeof _0x80d2d5>'u'||(this['_socket']=_0x80d2d5,_0x80d2d5?(this[_0x927803(0xbf)](_0x80d2d5),this['_socketMessageSubscription']=_0x80d2d5['message$'][_0x927803(0x31f)](_0x1ef1ff=>{const _0xe6c6d8=_0x927803;_0x1ef1ff[_0xe6c6d8(0x1d2)]===this[_0xe6c6d8(0x184)]&&this[_0xe6c6d8(0x48b)](_0x1ef1ff);})):(this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$'][_0x927803(0x50f)](0x2),(_0x6c793c=this[_0x927803(0x3b7)])==null||_0x6c793c[_0x927803(0x31d)](),this[_0x927803(0x3b7)]=null));}),this[_0x4316ef(0x4e9)](this[_0x4316ef(0x336)][_0x4316ef(0x3ec)](()=>{const _0x187e8d=_0x4316ef;var _0x1d432e;(_0x1d432e=this['_socket'])==null||_0x1d432e[_0x187e8d(0x2ad)]({'cmd':_0x1ca14f[_0x187e8d(0x474)],'data':{'roomID':this[_0x187e8d(0x184)]}});})));}get[_0x416c04(0x374)](){return this['_sessionStatus$']['getValue']();}[_0x416c04(0x26d)](){const _0x2d3cd0=_0x416c04;var _0x4b1149,_0x3a1893;return(_0x3a1893=(_0x4b1149=this[_0x2d3cd0(0x12d)])==null?void 0x0:_0x4b1149['memberID'])!=null?_0x3a1893:null;}[_0x416c04(0x516)](){const _0xae89ca=_0x416c04;super[_0xae89ca(0x516)](),this['dispose$'][_0xae89ca(0x50f)](),this[_0xae89ca(0x2a9)]['complete']();}[_0x416c04(0x28c)](){const _0x3ae70f=_0x416c04;var _0x28781b,_0x20e72a;this[_0x3ae70f(0x287)](),(_0x28781b=this['_socket'])==null||_0x28781b[_0x3ae70f(0x2ad)]({'cmd':_0x1ca14f[_0x3ae70f(0x474)],'data':{'roomID':this[_0x3ae70f(0x184)]}}),(_0x20e72a=this[_0x3ae70f(0x12d)])==null||_0x20e72a[_0x3ae70f(0x28c)](),this[_0x3ae70f(0x3f1)][_0x3ae70f(0x9f)](),this[_0x3ae70f(0x32d)][_0x3ae70f(0x9f)](),this[_0x3ae70f(0x516)]();}[_0x416c04(0x48b)](_0x48ce42){const _0xdd5f92=_0x416c04;_0x48ce42[_0xdd5f92(0x434)]===_0x1ca14f[_0xdd5f92(0x2e5)]?this[_0xdd5f92(0x44c)](_0x48ce42):_0x48ce42[_0xdd5f92(0x434)]===_0x1ca14f[_0xdd5f92(0x2d8)]&&this[_0xdd5f92(0x2f8)](_0x48ce42);}[_0x416c04(0xbf)](_0x5bb516){const _0x6f3d37=_0x416c04;this['_sessionStatus$'][_0x6f3d37(0x50f)](0x1),_0x5bb516['send']({'cmd':_0x1ca14f[_0x6f3d37(0x2e5)],'routeKey':this[_0x6f3d37(0x184)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x416c04(0x44c)](_0x180ccb){const _0x59a898=_0x416c04;var _0x4cf7c8;if(_0x180ccb['code']===_0x40ff34[_0x59a898(0x24f)]){this[_0x59a898(0x428)][_0x59a898(0x1a7)]({'type':_0x4278c0[_0x59a898(0x2de)][_0x59a898(0x16f)],'content':this[_0x59a898(0x4c9)]['t'](_0x59a898(0x159))}),this['_sessionStatus$'][_0x59a898(0x50f)](0x2);return;}this[_0x59a898(0x32d)][_0x59a898(0x50f)](0x3);const _0x5549af=(_0x4cf7c8=_0x180ccb[_0x59a898(0xa1)][_0x59a898(0x3c7)][this['_unitID']])==null?void 0x0:_0x4cf7c8[_0x59a898(0x7d)];_0x5549af&&_0x5549af[_0x59a898(0x124)](_0x5a97df=>this['_memberService'][_0x59a898(0x1ac)](this[_0x59a898(0x184)],_0x5a97df));}['_onRecvEvent'](_0x261d60){const _0x596ddb=_0x416c04;try{const _0x28e9a1=_0x261d60[_0x596ddb(0xa1)];switch(_0x28e9a1[_0x596ddb(0xac)]){case _0x520737[_0x596ddb(0x52d)][_0x596ddb(0x282)]:this[_0x596ddb(0x233)](_0x28e9a1),this['_event$'][_0x596ddb(0x50f)](_0x28e9a1);break;case _0x520737[_0x596ddb(0x52d)][_0x596ddb(0x43e)]:this[_0x596ddb(0x46e)](_0x28e9a1),this[_0x596ddb(0x3f1)][_0x596ddb(0x50f)](_0x28e9a1);break;case _0x520737['CollaborationEvent']['CHANGESET_ACK']:case _0x520737[_0x596ddb(0x52d)][_0x596ddb(0x40e)]:this[_0x596ddb(0x210)](),this[_0x596ddb(0x67)](),this[_0x596ddb(0x3f1)][_0x596ddb(0x50f)](_0x28e9a1);break;case _0x520737[_0x596ddb(0x52d)]['MSG_FOR_ERROR']:this[_0x596ddb(0x4ff)][_0x596ddb(0x4b1)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x596ddb(0x420)](_0x28e9a1)),this['_event$']['next'](_0x28e9a1);break;case _0x520737[_0x596ddb(0x52d)][_0x596ddb(0x137)]:this[_0x596ddb(0x284)]['onCommentUpdate'](_0x28e9a1['data']),this[_0x596ddb(0x3f1)][_0x596ddb(0x50f)](_0x28e9a1);break;default:this[_0x596ddb(0x3f1)]['next'](_0x28e9a1);}}catch(_0x13863f){this[_0x596ddb(0x4ff)]['error'](_0x13863f,_0x261d60);}}[_0x416c04(0x233)](_0x8c2bd7){const _0x2736d6=_0x416c04;this[_0x2736d6(0x399)][_0x2736d6(0x1ac)](this[_0x2736d6(0x184)],_0x8c2bd7[_0x2736d6(0xa1)]);}[_0x416c04(0x46e)](_0x43c318){const _0x5ade66=_0x416c04;this[_0x5ade66(0x399)][_0x5ade66(0x142)](this[_0x5ade66(0x184)],_0x43c318[_0x5ade66(0xa1)]['memberID']);}async['send'](_0x382fd7,_0x18ffa5){const _0x417bd0=_0x416c04;if(this[_0x417bd0(0x374)]!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x382fd7[_0x417bd0(0xac)]===_0x520737[_0x417bd0(0x52d)][_0x417bd0(0x1f7)]&&(this[_0x417bd0(0x1c3)](),this[_0x417bd0(0x473)](_0x382fd7)),this[_0x417bd0(0x12d)][_0x417bd0(0x2ad)]({'cmd':_0x1ca14f['INGEST'],'routeKey':_0x18ffa5,'routeType':'','data':_0x382fd7});}catch(_0x156e27){this[_0x417bd0(0x4ff)]['error'](_0x156e27);}}[_0x416c04(0x1c3)](){const _0x53084c=_0x416c04;var _0x23866a;this[_0x53084c(0x523)]=window[_0x53084c(0x2f0)](()=>{const _0x185d8c=_0x53084c;this[_0x185d8c(0x523)]=null,this[_0x185d8c(0x428)]['show']({'type':_0x4278c0[_0x185d8c(0x2de)][_0x185d8c(0x4b9)],'content':this[_0x185d8c(0x4c9)]['t']('session.collaboration-timeout')});},(_0x23866a=this[_0x53084c(0xd6)]['getConfig'](_0x3afe73))!=null?_0x23866a:0x4e20);}[_0x416c04(0x67)](){const _0x37c602=_0x416c04;this[_0x37c602(0x523)]&&(clearTimeout(this[_0x37c602(0x523)]),this[_0x37c602(0x523)]=null);}[_0x416c04(0x473)](_0x4480ea){const _0x3a03f6=_0x416c04;if(!this['_shouldReportTelemetry'])return;const {data:_0x428893}=_0x4480ea,{unitID:_0x2f0850,changeset:_0x2eec26}=_0x428893,{mutations:_0x598c12,type:_0x10d1a7}=_0x2eec26;this[_0x3a03f6(0x2b4)]={'unitId':_0x2f0850,'type':_0x10d1a7,'startTime':performance[_0x3a03f6(0x438)](),'stopTime':0x0,'duration':0x0,'size':_0x1fc5d7(_0x598c12)};}[_0x416c04(0x210)](){const _0x8cbd95=_0x416c04;if(this['_shouldReportTelemetry']){if(!this[_0x8cbd95(0x2b4)]){this['_logService']['error'](_0x8cbd95(0x162),_0x8cbd95(0x455));return;}this[_0x8cbd95(0x2b4)][_0x8cbd95(0x133)]=performance[_0x8cbd95(0x438)](),this[_0x8cbd95(0x2b4)][_0x8cbd95(0x15e)]=this[_0x8cbd95(0x2b4)]['stopTime']-this[_0x8cbd95(0x2b4)][_0x8cbd95(0x46a)],this[_0x8cbd95(0x324)][_0x8cbd95(0x4c3)](_0x331d9e,this[_0x8cbd95(0x2b4)]),this[_0x8cbd95(0x2b4)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x54ab1d=_0x416c04;this[_0x54ab1d(0x2b4)]=null;}},_0x1b5475['CollaborationSession']=_0x574e1c([_0x2a4d5d(0x2,_0x3d563c[_0x416c04(0x2fd)]),_0x2a4d5d(0x3,_0xe60abc[_0x416c04(0x10e)]),_0x2a4d5d(0x4,_0xe60abc[_0x416c04(0x1b7)]),_0x2a4d5d(0x5,_0x3d563c[_0x416c04(0x4f1)]),_0x2a4d5d(0x6,_0x3d563c['Inject'](_0x3d563c[_0x416c04(0x311)])),_0x2a4d5d(0x7,_0x3d563c[_0x416c04(0x4d1)](_0x1b5475[_0x416c04(0x2f4)])),_0x2a4d5d(0x8,_0x3d563c['Inject'](_0x53bb40)),_0x2a4d5d(0x9,_0x3d563c[_0x416c04(0xf6)](_0x2ebcee['ITelemetryService']))],_0x1b5475['CollaborationSession']);var _0x3bdfc3=Object['defineProperty'],_0x55464d=Object[_0x416c04(0x4e2)],_0x5e62ba=(_0x13e650,_0x13255b,_0x456f68,_0x2094ac)=>{const _0x203850=_0x416c04;for(var _0x2e13e5=_0x2094ac>0x1?void 0x0:_0x2094ac?_0x55464d(_0x13255b,_0x456f68):_0x13255b,_0x72eeef=_0x13e650[_0x203850(0x26a)]-0x1,_0x1a109f;_0x72eeef>=0x0;_0x72eeef--)(_0x1a109f=_0x13e650[_0x72eeef])&&(_0x2e13e5=(_0x2094ac?_0x1a109f(_0x13255b,_0x456f68,_0x2e13e5):_0x1a109f(_0x2e13e5))||_0x2e13e5);return _0x2094ac&&_0x2e13e5&&_0x3bdfc3(_0x13255b,_0x456f68,_0x2e13e5),_0x2e13e5;},_0x21791b=(_0x7b4cb,_0x483e85)=>(_0x4c83f4,_0x4efcbb)=>_0x483e85(_0x4c83f4,_0x4efcbb,_0x7b4cb);_0x1b5475[_0x416c04(0x364)]=class extends _0x3d563c[_0x416c04(0x9d)]{constructor(_0x5cad04,_0x57ede0,_0xb5ad74,_0x2dd446,_0xb9fdb0,_0x333b8b){const _0x23fc22=_0x416c04;super(),_0x10d0d4(this,_0x23fc22(0x414),new _0x10d074[(_0x23fc22(0x500))](void 0x0)),_0x10d0d4(this,'socket$',this[_0x23fc22(0x414)][_0x23fc22(0x349)]()),_0x10d0d4(this,_0x23fc22(0x177),null),_0x10d0d4(this,_0x23fc22(0x269),new Map()),_0x10d0d4(this,_0x23fc22(0x214),new _0x10d074['BehaviorSubject'](_0x1467c9[_0x23fc22(0x3c1)])),_0x10d0d4(this,_0x23fc22(0x23d),this[_0x23fc22(0x214)][_0x23fc22(0x349)]()),_0x10d0d4(this,'_socketReady',!0x1),_0x10d0d4(this,_0x23fc22(0x2dd)),_0x10d0d4(this,_0x23fc22(0x243),0x0),_0x10d0d4(this,_0x23fc22(0x3cb)),_0x10d0d4(this,_0x23fc22(0x153)),(this[_0x23fc22(0x4c7)]=_0x5cad04,this[_0x23fc22(0x4c9)]=_0x57ede0,this[_0x23fc22(0x428)]=_0xb5ad74,this[_0x23fc22(0x4ff)]=_0x2dd446,this[_0x23fc22(0xd6)]=_0xb9fdb0,this['_socketService']=_0x333b8b,this[_0x23fc22(0x182)]());}get[_0x416c04(0x12d)](){const _0x420ab9=_0x416c04;return this['_socket$'][_0x420ab9(0x49b)]();}[_0x416c04(0x182)](){const _0x457fc2=_0x416c04;this[_0x457fc2(0x384)](),this['_listenToOnlineEvent']();}[_0x416c04(0x516)](){const _0x30fa2c=_0x416c04;super['dispose'](),this[_0x30fa2c(0x269)][_0x30fa2c(0x124)](_0x8e75a8=>_0x8e75a8[_0x30fa2c(0x516)]()),this[_0x30fa2c(0x269)][_0x30fa2c(0x4a8)](),this[_0x30fa2c(0x214)][_0x30fa2c(0x9f)]();}async[_0x416c04(0x92)](_0x2dcea0){const _0x201ab0=_0x416c04;if(this[_0x201ab0(0x269)][_0x201ab0(0x6c)](_0x2dcea0))return this[_0x201ab0(0x269)][_0x201ab0(0x529)](_0x2dcea0);this[_0x201ab0(0x1b2)]();const _0x244e65=this['_injector'][_0x201ab0(0x385)](_0x1b5475['CollaborationSession'],_0x2dcea0,this[_0x201ab0(0x414)][_0x201ab0(0x349)]());return this[_0x201ab0(0x269)][_0x201ab0(0x4ce)](_0x2dcea0,_0x244e65),_0x244e65;}[_0x416c04(0x509)](_0x1487e4){const _0x1d36f6=_0x416c04;var _0x394fcf;const _0x196ded=this[_0x1d36f6(0x269)][_0x1d36f6(0x529)](_0x1487e4);_0x196ded&&(this['_sessions'][_0x1d36f6(0xe8)](_0x1487e4),_0x196ded[_0x1d36f6(0x28c)]()),this[_0x1d36f6(0x269)][_0x1d36f6(0x440)]||(_0x394fcf=this[_0x1d36f6(0x12d)])==null||_0x394fcf[_0x1d36f6(0x28c)]();}[_0x416c04(0x51a)](){const _0x253dd6=_0x416c04;this[_0x253dd6(0x243)]=0x0,this[_0x253dd6(0x2dd)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null),this[_0x253dd6(0x461)]();}[_0x416c04(0x3cc)](){const _0x32b46e=_0x416c04;var _0x276736,_0x567c59;const _0x1b2945=this[_0x32b46e(0xd6)][_0x32b46e(0x33a)](_0x169f82),_0x23e899=this[_0x32b46e(0xd6)][_0x32b46e(0x33a)](_0x40a44f),_0x3a2b3b=(_0x567c59=(_0x276736=_0x23e899==null?void 0x0:_0x23e899['collabWebSocketUrl'])!=null?_0x276736:_0x1b2945)!=null?_0x567c59:_0x3b81a5,_0x4c388f=this['_socketService']['createSocket'](_0x3a2b3b);return this[_0x32b46e(0x177)]=_0x4c388f,_0x4c388f;}[_0x416c04(0x1b2)](){const _0x6dac3b=_0x416c04;var _0x225881,_0x274930;try{const _0x5ca285=(_0x274930=(_0x225881=this[_0x6dac3b(0x12d)])!=null?_0x225881:this[_0x6dac3b(0x177)])!=null?_0x274930:this[_0x6dac3b(0x3cc)]();if(_0x5ca285){const _0x4f8cba=_0x5ca285[_0x6dac3b(0x2ad)];_0x5ca285[_0x6dac3b(0x2ad)]=_0x296ae5=>(this[_0x6dac3b(0x112)](),_0x4f8cba[_0x6dac3b(0x2e7)](_0x5ca285,[_0x296ae5])),_0x5ca285[_0x6dac3b(0x185)][_0x6dac3b(0x31f)](_0x3bb867=>this[_0x6dac3b(0x38f)](_0x5ca285,_0x3bb867)),_0x5ca285[_0x6dac3b(0x2c1)][_0x6dac3b(0x123)](_0x2da86d[_0x6dac3b(0x4ba)](0x1))[_0x6dac3b(0x31f)](_0x2189ca=>this[_0x6dac3b(0x4ff)][_0x6dac3b(0x4b1)](_0x6dac3b(0x2d3),_0x2189ca)),_0x5ca285[_0x6dac3b(0x412)]['pipe'](_0x2da86d[_0x6dac3b(0x4ba)](0x1))['subscribe'](()=>{const _0x66e87=_0x6dac3b;this[_0x66e87(0x51e)](_0x5ca285);}),_0x5ca285[_0x6dac3b(0x3c9)][_0x6dac3b(0x123)](_0x2da86d[_0x6dac3b(0x4ba)](0x1))[_0x6dac3b(0x31f)](_0x23998d=>{const _0x5b8ebf=_0x6dac3b;this[_0x5b8ebf(0x4ff)][_0x5b8ebf(0x73)]('[CollaborationSessionService]',_0x5b8ebf(0x4f8),_0x23998d),this[_0x5b8ebf(0x261)]();});}}catch(_0x4d8cc0){this['_logService'][_0x6dac3b(0x4b1)](_0x4d8cc0),this['_onConnectionFailed']();}}[_0x416c04(0x51e)](_0x94f61f){const _0x3bd899=_0x416c04;this[_0x3bd899(0x4ff)][_0x3bd899(0x73)](_0x3bd899(0x1ed),_0x3bd899(0x34b)),_0x94f61f[_0x3bd899(0x2ad)]({'cmd':_0x1ca14f[_0x3bd899(0x17a)]}),this['_rescheduleHeartbeat']();}[_0x416c04(0x384)](){const _0x375bae=_0x416c04;window[_0x375bae(0xa9)]('offline',()=>this[_0x375bae(0xba)]());}['_onOffline'](){const _0x43fc66=_0x416c04;this[_0x43fc66(0xe9)]=!0x1,this['_candidateSocket']=null,this['_status$'][_0x43fc66(0x50f)](_0x1467c9[_0x43fc66(0xcd)]),this[_0x43fc66(0x414)][_0x43fc66(0x50f)](null),this[_0x43fc66(0x25c)](),this[_0x43fc66(0x4cb)]();}[_0x416c04(0x261)](){const _0x21b637=_0x416c04;var _0x3cc262;this[_0x21b637(0xba)](),this['_retryCount']<((_0x3cc262=this[_0x21b637(0xd6)][_0x21b637(0x33a)](_0x11cf4c))!=null?_0x3cc262:0x3)?(this['_messageService'][_0x21b637(0x1a7)]({'key':_0x21b637(0x4de),'type':_0x4278c0['MessageType'][_0x21b637(0x16f)],'content':this[_0x21b637(0x4c9)]['t'](_0x21b637(0x41d))}),this['_tryReconnect']()):this[_0x21b637(0x428)][_0x21b637(0x1a7)]({'key':_0x21b637(0x4de),'type':_0x4278c0[_0x21b637(0x2de)][_0x21b637(0x4b9)],'content':this['_localeService']['t'](_0x21b637(0x371))});}[_0x416c04(0x2ee)](){const _0x5694c4=_0x416c04,_0x4d7511=()=>{const _0x4551b4=_0x3e32;this['_socket']||this[_0x4551b4(0x51a)]();},_0x246b9f=()=>{const _0x2ddf35=_0x3e32;this[_0x2ddf35(0x12d)]||document[_0x2ddf35(0x387)]===_0x2ddf35(0x1d8)||this[_0x2ddf35(0x51a)]();};window['addEventListener'](_0x5694c4(0xfb),_0x4d7511),document['addEventListener'](_0x5694c4(0x1d3),_0x246b9f);}[_0x416c04(0x461)](){const _0x52b494=_0x416c04;var _0x26cc8f;const _0xb90a98=this[_0x52b494(0x243)],_0x362608=this[_0x52b494(0xd6)][_0x52b494(0x33a)](_0x40a44f),_0x47a14b=_0xb90a98===0x0?0x0:((_0x26cc8f=_0x362608==null?void 0x0:_0x362608[_0x52b494(0x3a4)])!=null?_0x26cc8f:0x4e20)*0x2**_0xb90a98;this['_retryConnectingTimer']=window[_0x52b494(0x2f0)](()=>{const _0xadc453=_0x52b494;clearTimeout(this[_0xadc453(0x2dd)]),this['_retryConnectingTimer']=null,this[_0xadc453(0x1b2)]();},_0x47a14b),this[_0x52b494(0x243)]+=0x1;}['_onMessage'](_0x72f831,_0xe814c7){const _0x347fb2=_0x416c04,{cmd:_0x5c98e2}=_0xe814c7;_0x5c98e2===_0x1ca14f['HELLO']&&!this[_0x347fb2(0xe9)]&&(_0x72f831[_0x347fb2(0x1d4)]=_0xe814c7['data']['memberID'],this['_socket$'][_0x347fb2(0x50f)](_0x72f831),this[_0x347fb2(0x214)][_0x347fb2(0x50f)](_0x1467c9[_0x347fb2(0x99)]),this[_0x347fb2(0xe9)]=!0x0,this[_0x347fb2(0x177)]=null),_0x5c98e2===_0x1ca14f[_0x347fb2(0x4fc)]&&this[_0x347fb2(0x25c)](),this['_rescheduleHeartbeat']();}[_0x416c04(0x112)](){const _0x5d7cc8=_0x416c04;var _0x4a1075;this[_0x5d7cc8(0x4cb)](),this[_0x5d7cc8(0x3cb)]=window[_0x5d7cc8(0x2f0)](()=>this['_sendHeartbeat'](),(_0x4a1075=this[_0x5d7cc8(0xd6)][_0x5d7cc8(0x33a)](_0x27c0a6))!=null?_0x4a1075:0x7530);}[_0x416c04(0x207)](){const _0x315ea7=_0x416c04;this['_socket'][_0x315ea7(0x2ad)]({'cmd':_0x1ca14f[_0x315ea7(0x4fc)]}),this[_0x315ea7(0x3fb)]();}[_0x416c04(0x3fb)](){const _0x31cd48=_0x416c04;var _0x5d7fcd;this[_0x31cd48(0x153)]=window[_0x31cd48(0x2f0)](()=>this['_onConnectionFailed'](),(_0x5d7fcd=this[_0x31cd48(0xd6)][_0x31cd48(0x33a)](_0x3afe73))!=null?_0x5d7fcd:0x4e20);}[_0x416c04(0x4cb)](){this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x416c04(0x25c)](){const _0x3dca10=_0x416c04;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x3dca10(0x153)]),this['_timeoutTimer']=null);}},_0x1b5475[_0x416c04(0x364)]=_0x5e62ba([_0x21791b(0x0,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x25f)])),_0x21791b(0x1,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x311)])),_0x21791b(0x2,_0xe60abc[_0x416c04(0x1b7)]),_0x21791b(0x3,_0x3d563c[_0x416c04(0x2fd)]),_0x21791b(0x4,_0x3d563c[_0x416c04(0x4f1)]),_0x21791b(0x5,_0xc96f73)],_0x1b5475[_0x416c04(0x364)]);const _0x4b0628=[];for(let _0x4021c4=0x0;_0x4021c4<0x100;++_0x4021c4)_0x4b0628['push']((_0x4021c4+0x100)[_0x416c04(0xd0)](0x10)[_0x416c04(0x191)](0x1));function _0x3163f5(_0x521d06,_0x219eed=0x0){const _0x8035e4=_0x416c04;return(_0x4b0628[_0x521d06[_0x219eed+0x0]]+_0x4b0628[_0x521d06[_0x219eed+0x1]]+_0x4b0628[_0x521d06[_0x219eed+0x2]]+_0x4b0628[_0x521d06[_0x219eed+0x3]]+'-'+_0x4b0628[_0x521d06[_0x219eed+0x4]]+_0x4b0628[_0x521d06[_0x219eed+0x5]]+'-'+_0x4b0628[_0x521d06[_0x219eed+0x6]]+_0x4b0628[_0x521d06[_0x219eed+0x7]]+'-'+_0x4b0628[_0x521d06[_0x219eed+0x8]]+_0x4b0628[_0x521d06[_0x219eed+0x9]]+'-'+_0x4b0628[_0x521d06[_0x219eed+0xa]]+_0x4b0628[_0x521d06[_0x219eed+0xb]]+_0x4b0628[_0x521d06[_0x219eed+0xc]]+_0x4b0628[_0x521d06[_0x219eed+0xd]]+_0x4b0628[_0x521d06[_0x219eed+0xe]]+_0x4b0628[_0x521d06[_0x219eed+0xf]])[_0x8035e4(0x16d)]();}let _0x353c13;const _0x23e2d9=new Uint8Array(0x10);function _0x1e7c8e(){const _0xaedc7a=_0x416c04;if(!_0x353c13){if(typeof crypto>'u'||!crypto[_0xaedc7a(0x3ed)])throw new Error(_0xaedc7a(0x44a));_0x353c13=crypto['getRandomValues']['bind'](crypto);}return _0x353c13(_0x23e2d9);}const _0x213c1e={'randomUUID':typeof crypto<'u'&&crypto[_0x416c04(0x2c6)]&&crypto[_0x416c04(0x2c6)]['bind'](crypto)};function _0x2941b6(_0x3bef9d,_0x2bc902,_0x577007){const _0x545bd7=_0x416c04;if(_0x213c1e[_0x545bd7(0x2c6)]&&!_0x2bc902&&!_0x3bef9d)return _0x213c1e['randomUUID']();_0x3bef9d=_0x3bef9d||{};const _0x354b3f=_0x3bef9d[_0x545bd7(0x194)]||(_0x3bef9d['rng']||_0x1e7c8e)();return _0x354b3f[0x6]=_0x354b3f[0x6]&0xf|0x40,_0x354b3f[0x8]=_0x354b3f[0x8]&0x3f|0x80,_0x3163f5(_0x354b3f);}var _0x3e3e2e=Object[_0x416c04(0x2e4)],_0x4b3386=Object[_0x416c04(0x4e2)],_0x1538ea=(_0x38245c,_0x10233d,_0x2b0fcf,_0x55641e)=>{const _0x463095=_0x416c04;for(var _0x190ea7=_0x55641e>0x1?void 0x0:_0x55641e?_0x4b3386(_0x10233d,_0x2b0fcf):_0x10233d,_0x239756=_0x38245c[_0x463095(0x26a)]-0x1,_0x24c5bd;_0x239756>=0x0;_0x239756--)(_0x24c5bd=_0x38245c[_0x239756])&&(_0x190ea7=(_0x55641e?_0x24c5bd(_0x10233d,_0x2b0fcf,_0x190ea7):_0x24c5bd(_0x190ea7))||_0x190ea7);return _0x55641e&&_0x190ea7&&_0x3e3e2e(_0x10233d,_0x2b0fcf,_0x190ea7),_0x190ea7;},_0x27c387=(_0x2b2706,_0xadd795)=>(_0x4bc34f,_0x79a611)=>_0xadd795(_0x4bc34f,_0x79a611,_0x2b2706);let _0x1e4b8d=class{constructor(_0xd030f5,_0x224b6f,_0x5579f3){const _0xd51eee=_0x416c04;this[_0xd51eee(0x4c7)]=_0xd030f5,this[_0xd51eee(0x392)]=_0x224b6f,this['_renderManagerService']=_0x5579f3;}['transformIMECache'](_0x6a2835){const _0x3f3585=_0x416c04;this['_transformUndoRedoStack'](_0x6a2835),this[_0x3f3585(0x2ef)](_0x6a2835);}[_0x416c04(0x23b)](_0x1c4b3d){const _0x261142=_0x416c04,{unitID:_0x42556c}=_0x1c4b3d,_0x1be73d=this['_renderManagerService'][_0x261142(0x70)](_0x42556c)['with'](_0x4212a5[_0x261142(0x49e)]),{redoCache:_0x2ad4f1}=_0x1be73d[_0x261142(0x83)]();if(_0x2ad4f1['length']===0x0)return _0x1c4b3d;let _0x2e7945=_0x3d563c[_0x261142(0x270)][_0x261142(0x429)](_0x1c4b3d[_0x261142(0xa2)][0x0]);for(let _0x221448=0x0;_0x221448<_0x2ad4f1['length'];_0x221448++){const _0x253900={'id':_0x261142(0x3af),'params':{..._0x2ad4f1[_0x221448]}},_0x26a139=this['_transformService'][_0x261142(0x168)](_0x2e7945,_0x253900,!0x1);if(_0x520737[_0x261142(0x139)](_0x26a139))throw _0x26a139[_0x261142(0x4b1)];_0x2e7945=_0x26a139['m1Prime'];}return{..._0x3d563c['Tools']['deepClone'](_0x1c4b3d),'mutations':[_0x2e7945]};}[_0x416c04(0x3e7)](_0x43e039){const _0x45ce2f=_0x416c04,{unitID:_0x3cbb69}=_0x43e039,_0x510a35=this[_0x45ce2f(0x4fd)]['getRenderById'](_0x3cbb69)['with'](_0x4212a5['DocIMEInputManagerService']),{undoCache:_0x16d079,redoCache:_0x2762c6}=_0x510a35[_0x45ce2f(0x83)]();if(_0x16d079['length']===0x0||_0x2762c6['length']===0x0)return;const _0x2d0b92=[],_0x2adf7f=[];let _0xb0e76e=_0x3d563c[_0x45ce2f(0x270)][_0x45ce2f(0x429)](_0x43e039[_0x45ce2f(0xa2)][0x0]),_0x55870e=_0x3d563c[_0x45ce2f(0x270)]['deepClone'](_0x43e039[_0x45ce2f(0xa2)][0x0]);for(let _0x1430aa=_0x16d079['length']-0x1;_0x1430aa>=0x0;_0x1430aa--){const _0x2729d3={'id':_0x45ce2f(0x3af),'params':{..._0x16d079[_0x1430aa]}},_0x444062={'id':_0x45ce2f(0x3af),'params':{..._0x2762c6[_0x1430aa]}},_0x16e534=this[_0x45ce2f(0x392)][_0x45ce2f(0x168)](_0xb0e76e,_0x2729d3,!0x1),_0x2fb37f=this[_0x45ce2f(0x392)]['transformMutation'](_0x55870e,_0x444062,!0x1);if(_0x520737['isTransformMutationFailure'](_0x16e534))throw _0x16e534['error'];if(_0x520737['isTransformMutationFailure'](_0x2fb37f))throw _0x2fb37f[_0x45ce2f(0x4b1)];_0x2d0b92[_0x45ce2f(0x30d)](_0x16e534['m2Prime'][_0x45ce2f(0x402)]),_0x2adf7f['unshift'](_0x2fb37f[_0x45ce2f(0x85)]['params']),_0xb0e76e=_0x16e534[_0x45ce2f(0x42f)],_0x55870e=_0x2fb37f[_0x45ce2f(0x42f)];}_0x510a35[_0x45ce2f(0x151)]({'undoCache':_0x2d0b92,'redoCache':_0x2adf7f});}[_0x416c04(0x2ef)](_0x174cd0){const _0x2a2753=_0x416c04,{unitID:_0xabc001}=_0x174cd0,_0x4f7bd4=this['_renderManagerService']['getRenderById'](_0xabc001)[_0x2a2753(0x211)](_0x4212a5[_0x2a2753(0x49e)]),_0x4bb5bc=_0x4f7bd4[_0x2a2753(0x218)]();if(_0x4bb5bc==null)return;const _0x352832=[{'id':_0x2a2753(0x3af),'params':{'unitId':_0x174cd0['unitID'],'actions':null,'textRanges':[_0x4bb5bc]}}],_0xf985de=this[_0x2a2753(0x392)][_0x2a2753(0x3a8)](_0x174cd0,_0x352832);if(!_0x520737[_0x2a2753(0x4e4)](_0xf985de))throw _0xf985de['error'];const _0x5e5895=_0xf985de[_0x2a2753(0x85)][0x0][_0x2a2753(0x402)]['textRanges'];Array[_0x2a2753(0x408)](_0x5e5895)&&_0x5e5895[_0x2a2753(0x26a)]&&_0x4f7bd4[_0x2a2753(0x41c)](_0x5e5895[0x0]);}};_0x1e4b8d=_0x1538ea([_0x27c387(0x0,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x25f)])),_0x27c387(0x1,_0x520737[_0x416c04(0x302)]),_0x27c387(0x2,_0x1c2dd3[_0x416c04(0x1bd)])],_0x1e4b8d);var _0x44d974=Object['defineProperty'],_0x58156d=Object[_0x416c04(0x4e2)],_0xe002c0=(_0x5c45ec,_0x136d4c,_0x7db7a1,_0x16ed00)=>{const _0x4cd157=_0x416c04;for(var _0x5083b6=_0x16ed00>0x1?void 0x0:_0x16ed00?_0x58156d(_0x136d4c,_0x7db7a1):_0x136d4c,_0x3b416a=_0x5c45ec[_0x4cd157(0x26a)]-0x1,_0x335c83;_0x3b416a>=0x0;_0x3b416a--)(_0x335c83=_0x5c45ec[_0x3b416a])&&(_0x5083b6=(_0x16ed00?_0x335c83(_0x136d4c,_0x7db7a1,_0x5083b6):_0x335c83(_0x5083b6))||_0x5083b6);return _0x16ed00&&_0x5083b6&&_0x44d974(_0x136d4c,_0x7db7a1,_0x5083b6),_0x5083b6;},_0x1fbd64=(_0x342137,_0x5e105d)=>(_0xe0591e,_0x21205e)=>_0x5e105d(_0xe0591e,_0x21205e,_0x342137);_0x1b5475[_0x416c04(0x26c)]=class extends _0x3d563c[_0x416c04(0x9d)]{constructor(_0x2af05f,_0x38e77c,_0x32b41a,_0x30fe5f,_0x3d53b9){const _0xe49777=_0x416c04;super(),_0x10d0d4(this,_0xe49777(0x212),new Map()),_0x10d0d4(this,_0xe49777(0x161),new Map()),_0x10d0d4(this,_0xe49777(0x2af),!0x1),(this[_0xe49777(0xd6)]=_0x2af05f,this['_localStorageService']=_0x38e77c,this[_0xe49777(0x336)]=_0x32b41a,this['_localeService']=_0x30fe5f,this[_0xe49777(0x13f)]=_0x3d53b9,this[_0xe49777(0x4ec)]());}[_0x416c04(0x29c)](){this['_disabled']=!0x0;}[_0x416c04(0x368)](){this['_disabled']=!0x1;}['dispose'](){const _0x5def1b=_0x416c04;this[_0x5def1b(0x533)]()[_0x5def1b(0x262)](()=>super[_0x5def1b(0x516)]());}async[_0x416c04(0xa4)](_0x5dc4a6){const _0x218d80=_0x416c04;return this[_0x218d80(0x2af)]?null:this[_0x218d80(0x266)][_0x218d80(0x3f2)](_0x125ebf(_0x5dc4a6));}async[_0x416c04(0x470)](_0x564a02,_0x158a55){const _0x4a2212=_0x416c04;return!!this[_0x4a2212(0x266)][_0x4a2212(0xbc)](_0x564a02,_0x158a55);}[_0x416c04(0x128)](_0x12e351,_0x15da80,_0x437ee1,_0x1580ec){const _0x114f7f=_0x416c04,_0x449456=this[_0x114f7f(0x13f)][_0x114f7f(0x4d5)](_0x12e351);this['_cachedData']['set'](_0x12e351,{'unitID':_0x12e351,'type':_0x15da80,'awaitingChangeset':_0x437ee1,'mutations':_0x1580ec,'rev':_0x449456}),this[_0x114f7f(0x161)][_0x114f7f(0x6c)](_0x12e351)||this[_0x114f7f(0x136)](_0x12e351);}[_0x416c04(0x136)](_0x3cc73d){const _0x45c20c=_0x416c04,_0x5514b7=this[_0x45c20c(0x3e3)]();_0x5514b7===0x0?this['_saveCache'](_0x3cc73d):this[_0x45c20c(0x161)][_0x45c20c(0x4ce)](_0x3cc73d,setTimeout(()=>this[_0x45c20c(0x1da)](_0x3cc73d),_0x5514b7));}[_0x416c04(0x3e3)](){const _0x1af19e=_0x416c04;var _0x41ffe3;return(_0x41ffe3=this[_0x1af19e(0xd6)][_0x1af19e(0x33a)](_0x539678))!=null?_0x41ffe3:0x3e8;}[_0x416c04(0x1da)](_0x1dc70b){const _0x12b12d=_0x416c04,_0x1551c1=this['_saveTaskMap'][_0x12b12d(0x529)](_0x1dc70b);return _0x1551c1!==void 0x0&&window[_0x12b12d(0x464)](_0x1551c1),this[_0x12b12d(0x266)]['setItem'](_0x125ebf(_0x1dc70b),this[_0x12b12d(0x212)][_0x12b12d(0x529)](_0x1dc70b))[_0x12b12d(0x262)](()=>this[_0x12b12d(0x161)][_0x12b12d(0xe8)](_0x1dc70b));}async[_0x416c04(0x533)](){const _0xcd0fb6=_0x416c04,_0x5f043c=[];this[_0xcd0fb6(0x161)][_0xcd0fb6(0x124)]((_0x446293,_0x40f20d)=>{const _0x40947c=_0xcd0fb6;window[_0x40947c(0x464)](_0x446293),_0x5f043c[_0x40947c(0x1e9)](this[_0x40947c(0x1da)](_0x40f20d)[_0x40947c(0x262)](()=>{this['_saveTaskMap']['delete'](_0x40f20d);}));}),await Promise[_0xcd0fb6(0xdc)](_0x5f043c);}[_0x416c04(0x4ec)](){const _0x23df53=_0x416c04;this[_0x23df53(0x4e9)](this[_0x23df53(0x336)][_0x23df53(0x1cb)](()=>{const _0x2ebb41=_0x23df53;if(this[_0x2ebb41(0x161)][_0x2ebb41(0x440)])return this[_0x2ebb41(0x4c9)]['t']('collaboration-client.offline-data-not-saved');}));}},_0x1b5475['LocalCacheService']=_0xe002c0([_0x1fbd64(0x0,_0x3d563c['IConfigService']),_0x1fbd64(0x1,_0x3d563c[_0x416c04(0x337)]),_0x1fbd64(0x2,_0xe60abc['IBeforeCloseService']),_0x1fbd64(0x3,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x311)])),_0x1fbd64(0x4,_0x3d563c[_0x416c04(0x4d1)](_0x520737['RevisionService']))],_0x1b5475[_0x416c04(0x26c)]);function _0x125ebf(_0x242c53){const _0x1a0ee3=_0x416c04;return _0x1a0ee3(0x1c0)+_0x242c53;}var _0x2d40ac=Object[_0x416c04(0x2e4)],_0x46b794=Object[_0x416c04(0x4e2)],_0x31e7ed=(_0x302acf,_0x5b20d5,_0x6a713b,_0x58bd65)=>{for(var _0xfb4874=_0x58bd65>0x1?void 0x0:_0x58bd65?_0x46b794(_0x5b20d5,_0x6a713b):_0x5b20d5,_0xf21630=_0x302acf['length']-0x1,_0x342cdc;_0xf21630>=0x0;_0xf21630--)(_0x342cdc=_0x302acf[_0xf21630])&&(_0xfb4874=(_0x58bd65?_0x342cdc(_0x5b20d5,_0x6a713b,_0xfb4874):_0x342cdc(_0xfb4874))||_0xfb4874);return _0x58bd65&&_0xfb4874&&_0x2d40ac(_0x5b20d5,_0x6a713b,_0xfb4874),_0xfb4874;},_0x1e2791=(_0x341de2,_0x5409c5)=>(_0x5e2ebc,_0x49e847)=>_0x5409c5(_0x5e2ebc,_0x49e847,_0x341de2);function _0x12c909(_0x53a691){const _0x251aed=_0x416c04,{unitID:_0x15d141,mutations:_0x16dafc}=_0x53a691;return{'unitId':_0x15d141,'subUnitId':_0x16dafc[0x0][_0x251aed(0x402)][_0x251aed(0x317)]};}let _0x2e8a2a=class{constructor(_0x3be65b,_0x12a21d,_0x13e203){const _0x11b050=_0x416c04;this[_0x11b050(0x4c7)]=_0x3be65b,this[_0x11b050(0x392)]=_0x12a21d,this[_0x11b050(0x2f1)]=_0x13e203;}[_0x416c04(0x47f)](_0x84a41f){const _0x1c8c54=_0x416c04;var _0x39c200,_0x39b98d,_0x3db882,_0x195c6f;const _0x4192b7=this[_0x1c8c54(0x4c7)][_0x1c8c54(0x529)](_0xa13da4['SheetsSelectionsService']),{unitId:_0x27ab21,subUnitId:_0x1cfad2}=_0x12c909(_0x84a41f),_0x15fa40=_0x4192b7['getWorkbookSelections'](_0x27ab21)[_0x1c8c54(0x338)](),_0x5a73dc=(_0x39b98d=(_0x39c200=this['_instanceService'][_0x1c8c54(0xdb)](_0x27ab21))==null?void 0x0:_0x39c200[_0x1c8c54(0x403)]())==null?void 0x0:_0x39b98d[_0x1c8c54(0x320)]();if(_0x15fa40[_0x1c8c54(0x26a)]===0x0||!_0x27ab21||!_0x1cfad2)return;const _0x3281ae=[{'id':_0xa13da4[_0x1c8c54(0x2bc)]['id'],'params':{'unitId':_0x27ab21,'subUnitId':_0x5a73dc,'selections':_0x3d563c[_0x1c8c54(0x270)]['deepClone'](_0x15fa40)}}],_0x176d7e=this[_0x1c8c54(0x392)][_0x1c8c54(0x3a8)](_0x84a41f,_0x3281ae);if(!_0x520737[_0x1c8c54(0x4e4)](_0x176d7e))throw _0x176d7e[_0x1c8c54(0x4b1)];const _0x425c6f=(_0x195c6f=(_0x3db882=_0x176d7e[_0x1c8c54(0x85)][0x0])==null?void 0x0:_0x3db882[_0x1c8c54(0x402)])==null?void 0x0:_0x195c6f['selections'];if(Array[_0x1c8c54(0x408)](_0x425c6f)&&_0x425c6f[_0x1c8c54(0x26a)]){if(_0x425c6f[_0x1c8c54(0x26a)]===_0x3281ae[0x0][_0x1c8c54(0x402)][_0x1c8c54(0x116)][_0x1c8c54(0x26a)]&&_0x425c6f[_0x1c8c54(0x520)]((_0x5da06c,_0x4a5408)=>_0x3d563c[_0x1c8c54(0x36c)][_0x1c8c54(0x81)](_0x5da06c['range'],_0x3281ae[0x0][_0x1c8c54(0x402)][_0x1c8c54(0x116)][_0x4a5408]['range'])))return;this[_0x1c8c54(0x4c7)][_0x1c8c54(0x529)](_0x3d563c[_0x1c8c54(0x3e8)])[_0x1c8c54(0x4dc)](_0xa13da4['SetSelectionsOperation']['id'],{'unitId':_0x27ab21,'subUnitId':_0x5a73dc,'selections':_0x425c6f});}}};_0x2e8a2a=_0x31e7ed([_0x1e2791(0x0,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c['Injector'])),_0x1e2791(0x1,_0x520737[_0x416c04(0x302)]),_0x1e2791(0x2,_0x3d563c[_0x416c04(0x127)])],_0x2e8a2a);const _0x3cc9ac=_0x3d563c[_0x416c04(0x32c)](_0x416c04(0x3f3));var _0x3a41f7=(_0x20f97d=>(_0x20f97d[_0x20f97d[_0x416c04(0x179)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x20f97d[_0x20f97d[_0x416c04(0x277)]=0x1]=_0x416c04(0x277),_0x20f97d))(_0x3a41f7||{});const _0x1b36bf=0x7530,_0xeda8d4=_0x416c04(0x11e);class _0x4214e3 extends _0x3d563c[_0x416c04(0x9d)]{constructor(){const _0x41267e=_0x416c04;super(),_0x10d0d4(this,'_id',_0x3d563c[_0x41267e(0x270)][_0x41267e(0x517)]()),_0x10d0d4(this,_0x41267e(0x118),new Set()),_0x10d0d4(this,_0x41267e(0x30f),new Map()),_0x10d0d4(this,_0x41267e(0x1c8),null),_0x10d0d4(this,_0x41267e(0x303),new Map()),_0x10d0d4(this,_0x41267e(0x4cc),new Map()),this[_0x41267e(0x2b1)]();}[_0x416c04(0x516)](){const _0x126d42=_0x416c04;super['dispose'](),this[_0x126d42(0x303)]['forEach']((_0x524dbf,_0x47f3ad)=>this['_removeClearOtherTimer'](_0x47f3ad)),this['_heartbeatTimer']&&window[_0x126d42(0x69)](this[_0x126d42(0x1c8)]);}[_0x416c04(0x115)](_0x2d858b){const _0x22a2eb=_0x416c04;return this[_0x22a2eb(0xb5)](_0x2d858b)['pipe'](_0x10d074[_0x22a2eb(0x449)]());}[_0x416c04(0x268)](_0x36e4b5){const _0x3d3f0c=_0x416c04;this[_0x3d3f0c(0x118)][_0x3d3f0c(0x440)]===0x0&&this[_0x3d3f0c(0xe1)](),this[_0x3d3f0c(0x118)][_0x3d3f0c(0x44b)](_0x36e4b5),this[_0x3d3f0c(0x15c)]({'type':0x0,'memberID':this[_0x3d3f0c(0x263)],'unitIDs':[_0x36e4b5],'isForwarded':!0x1});}['disposeUnit'](_0x5e1b69){const _0x6814a1=_0x416c04;this[_0x6814a1(0x118)][_0x6814a1(0xe8)](_0x5e1b69),this['_selfUnitIDs'][_0x6814a1(0x440)]===0x0&&this[_0x6814a1(0x1c8)]&&window[_0x6814a1(0x69)](this[_0x6814a1(0x1c8)]);}[_0x416c04(0x2b1)](){const _0x1e6afd=_0x416c04;this[_0x1e6afd(0x4e9)](_0x3d563c[_0x1e6afd(0x307)](_0x10d074[_0x1e6afd(0x485)](window,_0x1e6afd(0x31b))[_0x1e6afd(0x31f)](_0x52ab9b=>{const _0x1d0d1b=_0x1e6afd;if(_0x52ab9b[_0x1d0d1b(0x219)]!==_0xeda8d4||!_0x52ab9b['newValue'])return;const _0xc3ed00=JSON[_0x1d0d1b(0x1a4)](_0x52ab9b['newValue']);this[_0x1d0d1b(0x386)](_0xc3ed00);}))),window[_0x1e6afd(0xa9)](_0x1e6afd(0x189),()=>this[_0x1e6afd(0x15c)]({'type':0x1,'memberID':this[_0x1e6afd(0x263)],'unitIDs':Array[_0x1e6afd(0x34d)](this[_0x1e6afd(0x118)])}));}[_0x416c04(0x386)](_0x45f7c1){const _0x4dc5c5=_0x416c04;switch(_0x45f7c1[_0x4dc5c5(0x6e)]){case 0x0:this[_0x4dc5c5(0x49a)](_0x45f7c1);break;case 0x1:this[_0x4dc5c5(0x3fa)](_0x45f7c1);break;case 0x2:this[_0x4dc5c5(0x316)](_0x45f7c1);break;}}['_handleJoinEvent'](_0x2465af){const _0x1511b5=_0x416c04,{unitIDs:_0x24a932,memberID:_0x489504,isForwarded:_0x52880f}=_0x2465af;_0x24a932['forEach'](_0x1e75c1=>{const _0x37a803=_0x3e32;if(!_0x52880f&&this['_unitOnClients'][_0x37a803(0x6c)](_0x1e75c1)&&this[_0x37a803(0xb5)](_0x1e75c1)['next'](0x1),!this[_0x37a803(0x30f)][_0x37a803(0x6c)](_0x1e75c1)||!this[_0x37a803(0x30f)]['get'](_0x1e75c1)[_0x37a803(0x6c)](_0x489504)){const _0x3a48ed=this[_0x37a803(0x30f)][_0x37a803(0x529)](_0x1e75c1)||new Set();_0x3a48ed['add'](_0x489504),this[_0x37a803(0x30f)]['set'](_0x1e75c1,_0x3a48ed),this['_scheduleClearOtherTimer'](_0x489504);}}),_0x52880f||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x1511b5(0x118)]],'isForwarded':!0x0});}[_0x416c04(0x274)](_0x357c46){const _0x1923cd=_0x416c04;this['_removeClearOtherTimer'](_0x357c46);const _0x19036c=window[_0x1923cd(0x2f0)](()=>{const _0xe62f13=_0x1923cd;this['_unitOnClients'][_0xe62f13(0x124)](_0x4c14e1=>{const _0x412134=_0xe62f13;_0x4c14e1[_0x412134(0xe8)](_0x357c46);});},_0x1b36bf*0x2);this[_0x1923cd(0x303)][_0x1923cd(0x4ce)](_0x357c46,_0x19036c);}[_0x416c04(0x11a)](_0x483639){const _0x2defa8=_0x416c04;if(this['_clearOtherTimers'][_0x2defa8(0x6c)](_0x483639)){const _0x4f9fdb=this[_0x2defa8(0x303)][_0x2defa8(0x529)](_0x483639);_0x4f9fdb&&window[_0x2defa8(0x464)](_0x4f9fdb),this[_0x2defa8(0x303)][_0x2defa8(0x4ce)](_0x483639,null);}}['_handleLeaveEvent'](_0x576fb0){const _0x500682=_0x416c04,{memberID:_0x4edbcd,unitIDs:_0x4f3b94}=_0x576fb0;_0x4f3b94[_0x500682(0x124)](_0x7d4993=>{const _0x5ce303=_0x500682;var _0x1842eb;const _0x354034=this['_unitOnClients'][_0x5ce303(0x529)](_0x7d4993);_0x354034&&(_0x354034[_0x5ce303(0xe8)](_0x4edbcd),(_0x1842eb=this[_0x5ce303(0xb5)](_0x7d4993))==null||_0x1842eb[_0x5ce303(0x50f)](_0x354034[_0x5ce303(0x440)]===0x0?0x0:0x1));}),this[_0x500682(0x11a)](_0x4edbcd);}[_0x416c04(0x316)](_0x1a787a){const _0xd9f073=_0x416c04;this[_0xd9f073(0x274)](_0x1a787a['memberID']);}[_0x416c04(0x15c)](_0x2e46d9){const _0x528677=_0x416c04;localStorage[_0x528677(0xbc)](_0xeda8d4,JSON[_0x528677(0x420)](_0x2e46d9));}[_0x416c04(0xe1)](){const _0x4087a6=_0x416c04;this['_heartbeatTimer']=window[_0x4087a6(0x367)](()=>{const _0x2855a4=_0x4087a6;this[_0x2855a4(0x15c)]({'type':0x2,'memberID':this['_id']});},_0x1b36bf);}[_0x416c04(0xb5)](_0x203e75){const _0x50a89a=_0x416c04;return this[_0x50a89a(0x4cc)]['has'](_0x203e75)||this[_0x50a89a(0x4cc)][_0x50a89a(0x4ce)](_0x203e75,new _0x10d074['BehaviorSubject'](0x0)),this[_0x50a89a(0x4cc)][_0x50a89a(0x529)](_0x203e75);}}var _0xd10178=Object[_0x416c04(0x2e4)],_0x4b707d=Object[_0x416c04(0x4e2)],_0x88b3c0=(_0x1f9341,_0x4cbf94,_0x2cbcd5,_0xe7eb73)=>{const _0x4249b4=_0x416c04;for(var _0xf4fc50=_0xe7eb73>0x1?void 0x0:_0xe7eb73?_0x4b707d(_0x4cbf94,_0x2cbcd5):_0x4cbf94,_0x364492=_0x1f9341[_0x4249b4(0x26a)]-0x1,_0x52d862;_0x364492>=0x0;_0x364492--)(_0x52d862=_0x1f9341[_0x364492])&&(_0xf4fc50=(_0xe7eb73?_0x52d862(_0x4cbf94,_0x2cbcd5,_0xf4fc50):_0x52d862(_0xf4fc50))||_0xf4fc50);return _0xe7eb73&&_0xf4fc50&&_0xd10178(_0x4cbf94,_0x2cbcd5,_0xf4fc50),_0xf4fc50;},_0x1e0dbf=(_0x24c331,_0x51a51f)=>(_0x4e877e,_0x31d469)=>_0x51a51f(_0x4e877e,_0x31d469,_0x24c331);let _0xa1c94b=class{constructor(_0x32d0c6,_0x7d9620,_0x3f047f){const _0x1e7be9=_0x416c04;this[_0x1e7be9(0x4c7)]=_0x32d0c6,this['_transformService']=_0x7d9620,this[_0x1e7be9(0x13c)]=_0x3f047f;}[_0x416c04(0x42a)](_0x533f5b){const _0x249592=_0x416c04;this[_0x249592(0x31c)](_0x533f5b);}[_0x416c04(0x23b)](_0x2c957c){const _0x2b1b8e=_0x416c04,{unitID:_0x5235fe}=_0x2c957c,{collaboration:_0x529c2d}=this[_0x2b1b8e(0x13c)]['getStateCache'](_0x5235fe);if(_0x529c2d[_0x2b1b8e(0x26a)]===0x0)return _0x2c957c;let _0xb3ffe6=_0x3d563c[_0x2b1b8e(0x270)][_0x2b1b8e(0x429)](_0x2c957c[_0x2b1b8e(0xa2)][0x0]);for(let _0x496b4d=0x0;_0x496b4d<_0x529c2d[_0x2b1b8e(0x26a)];_0x496b4d++){const _0x38be77={'id':_0x2b1b8e(0x3af),'params':{'unitId':_0x529c2d[_0x496b4d][_0x2b1b8e(0x425)],..._0x529c2d[_0x496b4d][_0x2b1b8e(0x51b)]}},_0x35683e=this['_transformService'][_0x2b1b8e(0x168)](_0xb3ffe6,_0x38be77,!0x1);if(_0x520737['isTransformMutationFailure'](_0x35683e))throw _0x35683e[_0x2b1b8e(0x4b1)];_0xb3ffe6=_0x35683e[_0x2b1b8e(0x42f)];}return{..._0x3d563c[_0x2b1b8e(0x270)][_0x2b1b8e(0x429)](_0x2c957c),'mutations':[_0xb3ffe6]};}[_0x416c04(0x31c)](_0x46df45){const _0x573d47=_0x416c04,{unitID:_0x56c4be}=_0x46df45,{history:_0x4bf139,collaboration:_0x5406b6}=this[_0x573d47(0x13c)][_0x573d47(0x28f)](_0x56c4be);if(_0x4bf139[_0x573d47(0x26a)]===0x0&&_0x5406b6[_0x573d47(0x26a)]===0x0)return;const _0x34411d=[],_0x5e12c6=[];let _0x59bf68=_0x3d563c[_0x573d47(0x270)][_0x573d47(0x429)](_0x46df45[_0x573d47(0xa2)][0x0]),_0x32c012=_0x3d563c[_0x573d47(0x270)][_0x573d47(0x429)](_0x46df45['mutations'][0x0]);for(let _0x342e40=_0x4bf139['length']-0x1;_0x342e40>=0x0;_0x342e40--){const _0x26b54b={'id':_0x573d47(0x3af),'params':{'unitId':_0x4bf139[_0x342e40][_0x573d47(0x425)],..._0x4bf139[_0x342e40][_0x573d47(0x3bd)]}},_0x1bd162={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4bf139[_0x342e40]['unitId'],..._0x4bf139[_0x342e40][_0x573d47(0x51b)]}},_0x22b92a=this['_transformService']['transformMutation'](_0x59bf68,_0x26b54b,!0x1),_0x46296a=this[_0x573d47(0x392)][_0x573d47(0x168)](_0x32c012,_0x1bd162,!0x1);if(_0x520737[_0x573d47(0x139)](_0x22b92a))throw _0x22b92a['error'];if(_0x520737[_0x573d47(0x139)](_0x46296a))throw _0x46296a[_0x573d47(0x4b1)];_0x34411d[_0x573d47(0x30d)]({..._0x4bf139[_0x342e40],'undoState':_0x22b92a[_0x573d47(0x85)]['params'],'redoState':_0x46296a[_0x573d47(0x85)][_0x573d47(0x402)]}),_0x59bf68=_0x22b92a[_0x573d47(0x42f)],_0x32c012=_0x46296a['m1Prime'];}_0x59bf68=_0x3d563c[_0x573d47(0x270)][_0x573d47(0x429)](_0x46df45['mutations'][0x0]),_0x32c012=_0x3d563c[_0x573d47(0x270)]['deepClone'](_0x46df45[_0x573d47(0xa2)][0x0]);for(let _0x154651=_0x5406b6[_0x573d47(0x26a)]-0x1;_0x154651>=0x0;_0x154651--){const _0x210af0={'id':_0x573d47(0x3af),'params':{'unitId':_0x5406b6[_0x154651][_0x573d47(0x425)],..._0x5406b6[_0x154651]['undoState']}},_0x41c141={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5406b6[_0x154651]['unitId'],..._0x5406b6[_0x154651]['redoState']}},_0x16a261=this[_0x573d47(0x392)]['transformMutation'](_0x59bf68,_0x210af0,!0x1),_0x5e08d6=this[_0x573d47(0x392)]['transformMutation'](_0x32c012,_0x41c141,!0x1);if(_0x520737[_0x573d47(0x139)](_0x16a261))throw _0x16a261[_0x573d47(0x4b1)];if(_0x520737['isTransformMutationFailure'](_0x5e08d6))throw _0x5e08d6[_0x573d47(0x4b1)];_0x5e12c6[_0x573d47(0x30d)]({..._0x5406b6[_0x154651],'undoState':_0x16a261[_0x573d47(0x85)][_0x573d47(0x402)],'redoState':_0x5e08d6[_0x573d47(0x85)][_0x573d47(0x402)]}),_0x59bf68=_0x16a261[_0x573d47(0x42f)],_0x32c012=_0x5e08d6[_0x573d47(0x42f)];}this[_0x573d47(0x13c)][_0x573d47(0x11b)](_0x56c4be,{'history':_0x34411d,'collaboration':_0x5e12c6});}};_0xa1c94b=_0x88b3c0([_0x1e0dbf(0x0,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c['Injector'])),_0x1e0dbf(0x1,_0x520737['ITransformService']),_0x1e0dbf(0x2,_0x3d563c[_0x416c04(0x4d1)](_0x4212a5[_0x416c04(0x34f)]))],_0xa1c94b);function _0x957268(_0x26041c){let _0x2604d0='';for(const _0x370cc3 of _0x26041c){const {startOffset:_0x282694,endOffset:_0x416b29,isActive:_0x3b28cc,rangeType:_0x7f5c2f,segmentId:_0x1e536a,segmentPage:_0x129a57}=_0x370cc3;_0x2604d0['length']&&(_0x2604d0+=','),_0x2604d0+=_0x282694+':'+_0x416b29+':'+(_0x3b28cc?'1':'0')+':'+_0x7f5c2f+':'+_0x1e536a+':'+_0x129a57;}return _0x2604d0;}function _0x2aea7a(_0x280057){const _0x1a9681=_0x416c04,_0x3f79e2=_0x280057[_0x1a9681(0x1ec)](','),_0x444612=[];for(const _0x37587d of _0x3f79e2){const [_0x1d47b4,_0x28779e,_0x29f42a,_0x21273a,_0x2686c2,_0x20a48c]=_0x37587d[_0x1a9681(0x1ec)](':');_0x444612[_0x1a9681(0x1e9)]({'startOffset':Number(_0x1d47b4),'endOffset':Number(_0x28779e),'collapsed':_0x1d47b4===_0x28779e,'isActive':_0x29f42a==='1','rangeType':_0x21273a===_0x3d563c['DOC_RANGE_TYPE'][_0x1a9681(0x3f5)]?_0x3d563c[_0x1a9681(0x216)]['TEXT']:_0x3d563c['DOC_RANGE_TYPE'][_0x1a9681(0x8b)],'segmentId':typeof _0x2686c2==_0x1a9681(0x10b)?String(_0x2686c2):'','segmentPage':Number(_0x20a48c!=null?_0x20a48c:-0x1)});}return _0x444612[_0x1a9681(0x1e2)](_0x28a19a=>_0x28a19a[_0x1a9681(0x482)])||(_0x444612[0x0][_0x1a9681(0x482)]=!0x0),_0x444612;}class _0x50baf1 extends _0x3d563c[_0x416c04(0x9b)]{constructor(){const _0x23cee1=_0x416c04;super(...arguments),_0x10d0d4(this,'_collabCursorState$',new _0x10d074['BehaviorSubject'](null)),_0x10d0d4(this,'collabCursorState$',this[_0x23cee1(0x4b5)][_0x23cee1(0x349)]());}[_0x416c04(0x86)](_0x9cfb0f){const _0x18b92d=_0x416c04,{unitID:_0x4ce9bd,memberID:_0x5cc5ee,textRanges:_0x124579}=_0x9cfb0f,_0x4e1627=_0x957268(_0x124579);if(_0x4e1627==='')return;const _0x497d8a={'unitID':_0x4ce9bd,'memberID':_0x5cc5ee,'selection':_0x4e1627};this['_collabCursorState$'][_0x18b92d(0x50f)](_0x497d8a);}}var _0x2b7f46=Object['defineProperty'],_0x5d30e4=Object[_0x416c04(0x4e2)],_0x1a6737=(_0x3b771f,_0x1285af,_0x2cf53e,_0x4c5c40)=>{const _0x555602=_0x416c04;for(var _0x563ab2=_0x4c5c40>0x1?void 0x0:_0x4c5c40?_0x5d30e4(_0x1285af,_0x2cf53e):_0x1285af,_0x476404=_0x3b771f[_0x555602(0x26a)]-0x1,_0x331f;_0x476404>=0x0;_0x476404--)(_0x331f=_0x3b771f[_0x476404])&&(_0x563ab2=(_0x4c5c40?_0x331f(_0x1285af,_0x2cf53e,_0x563ab2):_0x331f(_0x563ab2))||_0x563ab2);return _0x4c5c40&&_0x563ab2&&_0x2b7f46(_0x1285af,_0x2cf53e,_0x563ab2),_0x563ab2;},_0x57ff8d=(_0x20ead0,_0x53d114)=>(_0x5e271b,_0x4f381b)=>_0x53d114(_0x5e271b,_0x4f381b,_0x20ead0);let _0x3e8219=class{constructor(_0x2b4ac3,_0x3fc4f7){const _0x177054=_0x416c04;this['_injector']=_0x2b4ac3,this[_0x177054(0x392)]=_0x3fc4f7;}[_0x416c04(0x47f)](_0x1adadf){const _0x112bc8=_0x416c04;var _0x20d357;const _0x333ae7=this['_injector'][_0x112bc8(0x529)](_0x2fb3a7[_0x112bc8(0x4ca)]),_0x531225=(_0x20d357=_0x333ae7[_0x112bc8(0x114)]())!=null?_0x20d357:[];if(_0x531225['length']===0x0)return;const _0x11879f=_0x1adadf[_0x112bc8(0x280)],_0x39b8c2=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x11879f,'actions':null,'textRanges':_0x531225}}],_0x5764b0=this[_0x112bc8(0x392)]['transformMutationsWithChangeset'](_0x1adadf,_0x39b8c2);if(!_0x520737[_0x112bc8(0x4e4)](_0x5764b0))throw _0x5764b0[_0x112bc8(0x4b1)];const _0x43ccc5=_0x5764b0[_0x112bc8(0x85)][0x0][_0x112bc8(0x402)][_0x112bc8(0x4f2)];Array[_0x112bc8(0x408)](_0x43ccc5)&&_0x43ccc5[_0x112bc8(0x26a)]&&_0x333ae7['replaceDocRanges'](_0x43ccc5,{'unitId':_0x11879f,'subUnitId':_0x11879f},!0x1);}};_0x3e8219=_0x1a6737([_0x57ff8d(0x0,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x25f)])),_0x57ff8d(0x1,_0x520737[_0x416c04(0x302)])],_0x3e8219);const _0x52a443=new Set([_0xa13da4[_0x416c04(0x1b0)]['id']]);function _0x257515(_0x47e79a,_0x4f3a05,_0x2bdb2f,_0x580ae7,_0x5d148e){const _0x36f3b6=_0x416c04;var _0x119209,_0x279bec,_0x50590a,_0x3f21a9;const _0x21913a=[];for(const _0x2ab6eb of _0x47e79a)if(_0x52a443[_0x36f3b6(0x6c)](_0x2ab6eb['id'])){if(_0x21913a['length']>0x0)break;_0x21913a['push'](_0x2ab6eb);break;}else _0x21913a[_0x36f3b6(0x1e9)](_0x2ab6eb);const _0x3067fb=(_0x279bec=(_0x119209=_0x5d148e[_0x36f3b6(0x199)]())==null?void 0x0:_0x119209['userID'])!=null?_0x279bec:_0x36f3b6(0x502),_0x220dbd=(_0x3f21a9=(_0x50590a=_0x5d148e[_0x36f3b6(0x199)]())==null?void 0x0:_0x50590a[_0x36f3b6(0x1d4)])!=null?_0x3f21a9:_0x36f3b6(0x502);return{'changeset':{'unitID':_0x4f3a05,'type':_0x520737['mapDocumentTypeToUniverType'](_0x2bdb2f[_0x36f3b6(0x1b8)](_0x4f3a05)),'baseRev':_0x580ae7['getCurrentRevOfUnit'](_0x4f3a05),'revision':0x0,'userID':_0x3067fb,'memberID':_0x220dbd,'mutations':_0x21913a},'pendingMutations':_0x47e79a[_0x36f3b6(0x191)](_0x21913a[_0x36f3b6(0x26a)])};}function _0x4a3229(_0x3a2e47,_0x341664,_0x105e83,_0x4d9604,_0x12262a){const _0x3842c0=_0x416c04;var _0x2baef0,_0x50a397,_0x2acbd9,_0x330c84;const _0xb70503=[_0x3a2e47['reduce']((_0x2046a7,_0x16271e)=>{const _0x318d64=_0x3e32;var _0x578aba;const {id:_0x53fadf}=_0x2046a7,{id:_0xf91e6d,type:_0x3c59f4}=_0x16271e,_0xe0692=(_0x578aba=_0x2046a7['params'])!=null?_0x578aba:{'actions':null},_0x1db6e8=_0x16271e[_0x318d64(0x402)];if(_0x53fadf&&_0x53fadf!==_0xf91e6d)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x53fadf+_0x318d64(0x2fe)+_0xf91e6d+'.');return{..._0x2046a7,'id':_0xf91e6d,'type':_0x3c59f4,'params':{'unitId':_0x1db6e8[_0x318d64(0x425)],'textRanges':_0x1db6e8[_0x318d64(0x4f2)],'actions':_0x3d563c[_0x318d64(0x173)][_0x318d64(0x313)](_0xe0692[_0x318d64(0x344)],_0x1db6e8['actions'])}};},{})],_0xfadf11=(_0x50a397=(_0x2baef0=_0x12262a[_0x3842c0(0x199)]())==null?void 0x0:_0x2baef0[_0x3842c0(0x1fd)])!=null?_0x50a397:_0x3842c0(0x502),_0x4eb6ff=(_0x330c84=(_0x2acbd9=_0x12262a['getCurrentUser']())==null?void 0x0:_0x2acbd9[_0x3842c0(0x1d4)])!=null?_0x330c84:_0x3842c0(0x502);return{'changeset':{'unitID':_0x341664,'type':_0x520737[_0x3842c0(0x2da)](_0x105e83['getUnitType'](_0x341664)),'baseRev':_0x4d9604['getCurrentRevOfUnit'](_0x341664),'revision':0x0,'userID':_0xfadf11,'memberID':_0x4eb6ff,'mutations':_0xb70503},'pendingMutations':[]};}function _0x570c5e(_0x419b3e,_0x5a0772){const _0x5ed165=_0x416c04,_0x246154=new _0x10d074[(_0x5ed165(0x93))](0x1);return setTimeout(()=>_0x246154[_0x5ed165(0x50f)](_0x5a0772),_0x419b3e),_0x246154[_0x5ed165(0x349)]()[_0x5ed165(0x123)](_0x10d074[_0x5ed165(0x4ba)](0x1));}const _0x371362={'id':_0xa13da4['EmptyMutation']['id'],'type':_0x3d563c[_0x416c04(0x3b9)][_0x416c04(0x326)],'params':{}};var _0x48d5dc=Object['defineProperty'],_0x53c481=Object[_0x416c04(0x4e2)],_0x119835=(_0x3a795b,_0x52c90a,_0x2e9b12,_0x238b25)=>{for(var _0x2716aa=_0x238b25>0x1?void 0x0:_0x238b25?_0x53c481(_0x52c90a,_0x2e9b12):_0x52c90a,_0xa7267a=_0x3a795b['length']-0x1,_0x359178;_0xa7267a>=0x0;_0xa7267a--)(_0x359178=_0x3a795b[_0xa7267a])&&(_0x2716aa=(_0x238b25?_0x359178(_0x52c90a,_0x2e9b12,_0x2716aa):_0x359178(_0x2716aa))||_0x2716aa);return _0x238b25&&_0x2716aa&&_0x48d5dc(_0x52c90a,_0x2e9b12,_0x2716aa),_0x2716aa;},_0xf3a968=(_0xbc0799,_0xf1045)=>(_0x104982,_0x1ef4a0)=>_0xf1045(_0x104982,_0x1ef4a0,_0xbc0799),_0x153ab4=(_0x1f4915=>(_0x1f4915[_0x416c04(0x372)]=_0x416c04(0x217),_0x1f4915['SYNCED']=_0x416c04(0x10d),_0x1f4915['PENDING']=_0x416c04(0x358),_0x1f4915[_0x416c04(0x1ab)]='awaiting',_0x1f4915[_0x416c04(0x31a)]='awaiting_with_pending',_0x1f4915[_0x416c04(0x40c)]=_0x416c04(0x47c),_0x1f4915['CONFLICT']='conflict',_0x1f4915['OFFLINE']=_0x416c04(0x23e),_0x1f4915))(_0x153ab4||{});const _0x1beb87=0xea60;class _0x1242eb{constructor(_0x1f3a9f,_0x23e11b,_0x4cff8c,_0x1846ff,_0x6de9be,_0x2ddf4e,_0xf147ca,_0x5a045e,_0x64c797){const _0x2a4ad9=_0x416c04;_0x10d0d4(this,_0x2a4ad9(0x27e),null),_0x10d0d4(this,_0x2a4ad9(0x79),[]),(this[_0x2a4ad9(0x280)]=_0x1f3a9f,this['type']=_0x23e11b,this['_handler']=_0x6de9be,this[_0x2a4ad9(0x3ac)]=_0x2ddf4e,this[_0x2a4ad9(0x1ff)]=_0xf147ca,this[_0x2a4ad9(0x13f)]=_0x5a045e,this['_localCacheService']=_0x64c797,this['_awaitingChangeset']=_0x4cff8c,this['_pendingMutations']=_0x1846ff);}[_0x416c04(0x289)](_0x5b98a3){const _0x414153=_0x416c04,_0x55c7fa=this[_0x414153(0x13f)][_0x414153(0x4d5)](this[_0x414153(0x280)]);return _0x5b98a3[_0x414153(0x406)]>_0x55c7fa+0x1?(this['_handler'][_0x414153(0x33b)]({'from':_0x55c7fa,'to':_0x5b98a3[_0x414153(0x406)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0xa2f785){const _0x3cde60=_0x416c04;this[_0x3cde60(0x1ff)][_0x3cde60(0x314)](this['unitID'],_0xa2f785);}[_0x416c04(0x51d)](_0x4df8b8){const _0x2c46e0=_0x416c04;var _0x24c8ad,_0x94b7ed;(_0x94b7ed=(_0x24c8ad=this[_0x2c46e0(0x3d8)])[_0x2c46e0(0xc7)])==null||_0x94b7ed[_0x2c46e0(0x2eb)](_0x24c8ad,_0x4df8b8);}[_0x416c04(0x421)](_0x1287e5){const _0xcae0e2=_0x416c04;var _0x19447f,_0x268096;return(_0x268096=(_0x19447f=this[_0xcae0e2(0x3d8)])[_0xcae0e2(0x201)])==null?void 0x0:_0x268096[_0xcae0e2(0x2eb)](_0x19447f,_0x1287e5);}[_0x416c04(0x237)](_0x154cd5){const _0x5de9b1=_0x416c04;var _0x3cb355,_0x36927f;return(_0x36927f=(_0x3cb355=this[_0x5de9b1(0x3d8)])[_0x5de9b1(0x30e)])==null?void 0x0:_0x36927f[_0x5de9b1(0x2eb)](_0x3cb355,_0x154cd5);}[_0x416c04(0x4f9)](_0x733e15){const _0x3e24e0=_0x416c04;var _0x1198b9,_0x21901a,_0x54769d;return(_0x54769d=(_0x21901a=(_0x1198b9=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x21901a[_0x3e24e0(0x2eb)](_0x1198b9,_0x733e15))!=null?_0x54769d:_0x733e15;}[_0x416c04(0xf7)](_0x19babc){const _0x4d7543=_0x416c04;var _0x2c63b6,_0x17ba96,_0x5290b3;return(_0x5290b3=(_0x17ba96=(_0x2c63b6=this[_0x4d7543(0x3d8)])[_0x4d7543(0x3fd)])==null?void 0x0:_0x17ba96[_0x4d7543(0x2eb)](_0x2c63b6,_0x19babc))!=null?_0x5290b3:_0x19babc;}[_0x416c04(0x7b)](_0x4f2602){const _0x10c6c6=_0x416c04;var _0x2d51fa,_0x2d2fb2;if(this[_0x10c6c6(0x6e)]===_0x2cf20e['UNIVER_DOC']){const {unitID:_0xb8e955,mutations:_0x38ef47,memberID:_0x1f4ac1}=_0x4f2602,_0x1ced35=_0x38ef47[0x0][_0x10c6c6(0x402)]['textRanges'];Array[_0x10c6c6(0x408)](_0x1ced35)&&_0x1ced35[_0x10c6c6(0x26a)]>0x0&&((_0x2d2fb2=(_0x2d51fa=this[_0x10c6c6(0x3d8)])[_0x10c6c6(0x394)])==null||_0x2d2fb2[_0x10c6c6(0x2eb)](_0x2d51fa,{'unitID':_0xb8e955,'memberID':_0x1f4ac1,'textRanges':_0x1ced35}));}}[_0x416c04(0x229)](){const _0x377195=_0x416c04;this[_0x377195(0x2a0)][_0x377195(0x128)](this[_0x377195(0x280)],this[_0x377195(0x6e)],this[_0x377195(0x27e)],this[_0x377195(0x79)]);}[_0x416c04(0x285)](){const _0x4d5979=_0x416c04;return this['_revisionService'][_0x4d5979(0x4d5)](this[_0x4d5979(0x280)]);}[_0x416c04(0x19b)](){const _0xef990d=_0x416c04;this[_0xef990d(0x13f)][_0xef990d(0x165)](this[_0xef990d(0x280)]);}[_0x416c04(0x3b5)](_0x3b778f){const _0x2379f5=_0x416c04;var _0x52a808;let _0x32cabb=this[_0x2379f5(0x4f9)](_0x3b778f);_0x32cabb=this[_0x2379f5(0xf7)](_0x32cabb);const _0x5a2db3=_0x3d563c[_0x2379f5(0x74)](_0x32cabb[_0x2379f5(0xa2)],this[_0x2379f5(0x3ac)],{'fromCollab':!0x0});if(!_0x5a2db3['result'])throw _0x5a2db3[_0x2379f5(0x4b1)]instanceof Error?_0x5a2db3[_0x2379f5(0x4b1)]:new Error((_0x52a808=_0x5a2db3['error'])!=null?_0x52a808:_0x2379f5(0x259));this[_0x2379f5(0x421)](_0x32cabb),this['_transformStateCache'](_0x32cabb),this[_0x2379f5(0x40f)](_0x3b778f),this[_0x2379f5(0x51d)](_0x32cabb),this['_syncEditingCollabCursor'](_0x32cabb),this[_0x2379f5(0x19b)]();}}let _0x4c0215=class extends _0x1242eb{constructor(_0x29e428,_0x5ed404,_0x219cd7,_0x1d5e73,_0x47f1bc,_0x27118b,_0x138249,_0x2dbbc6,_0x38c003,_0xfa9099){const _0x4f55d0=_0x416c04;super(_0x29e428,_0x5ed404,null,[],_0x219cd7,_0x2dbbc6,_0x138249,_0x1d5e73,_0x47f1bc),_0x10d0d4(this,_0x4f55d0(0xea),'synced'),(this[_0x4f55d0(0x4c7)]=_0x27118b,this['_logService']=_0x38c003,this[_0x4f55d0(0x392)]=_0xfa9099);}['appendMutation'](_0x23d0b5){const _0x42fbd9=_0x416c04,_0x12c848=this[_0x42fbd9(0x4c7)][_0x42fbd9(0x385)](_0x5b2db2,this[_0x42fbd9(0x280)],this['type'],[_0x23d0b5],this[_0x42fbd9(0x3d8)]);return _0x12c848[_0x42fbd9(0x250)](),_0x12c848[_0x42fbd9(0x229)](),_0x12c848;}[_0x416c04(0x335)](_0xba3519){const _0xc76f32=_0x416c04;if(this[_0xc76f32(0x289)](_0xba3519))return this[_0xc76f32(0x4c7)][_0xc76f32(0x385)](_0x42c14f,this['unitID'],this[_0xc76f32(0x6e)],null,[],null,[_0xba3519],this[_0xc76f32(0x3d8)]);try{const _0x2be92f=this['_transformService'][_0xc76f32(0x3a8)](_0xba3519,[_0x371362]);if(_0x520737[_0xc76f32(0x4e4)](_0x2be92f)){const {c1Prime:_0x547d10}=_0x2be92f;return this[_0xc76f32(0x3b5)](_0x547d10),this;}throw _0x2be92f[_0xc76f32(0x4b1)];}catch(_0x3ba9c0){return this[_0xc76f32(0x4ff)]['error'](_0x3ba9c0),this[_0xc76f32(0x441)](!0x1);}}[_0x416c04(0x441)](_0x496dde){const _0x1f07e7=_0x416c04;return this[_0x1f07e7(0x4c7)][_0x1f07e7(0x385)](_0x4e17ab,this[_0x1f07e7(0x280)],this[_0x1f07e7(0x6e)],null,[],this[_0x1f07e7(0x3d8)],_0x496dde);}[_0x416c04(0x4b4)](){const _0x502f6a=_0x416c04;throw new Error(_0x502f6a(0x3b0));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x416c04(0x3ef)](){return this;}['toggleOffline'](){const _0x4b56e8=_0x416c04;return this[_0x4b56e8(0x4c7)][_0x4b56e8(0x385)](_0x49fbec,this[_0x4b56e8(0x280)],this['type'],null,[],this[_0x4b56e8(0x3d8)]);}[_0x416c04(0xa3)](){return this;}['resend'](){const _0x441fbe=_0x416c04;throw new Error(_0x441fbe(0x319));}[_0x416c04(0x77)](){const _0x159a19=_0x416c04,_0x4b244c=this[_0x159a19(0x13f)][_0x159a19(0x4d5)](this[_0x159a19(0x280)]);return this[_0x159a19(0x3d8)][_0x159a19(0x33b)]({'from':_0x4b244c,'to':0x0}),this[_0x159a19(0x4c7)][_0x159a19(0x385)](_0x42c14f,this[_0x159a19(0x280)],this[_0x159a19(0x6e)],null,[],null,[],this[_0x159a19(0x3d8)]);}};_0x4c0215=_0x119835([_0xf3a968(0x3,_0x3d563c[_0x416c04(0x4d1)](_0x520737['RevisionService'])),_0xf3a968(0x4,_0x3d563c[_0x416c04(0x4d1)](_0x1b5475['LocalCacheService'])),_0xf3a968(0x5,_0x3d563c['Inject'](_0x3d563c[_0x416c04(0x25f)])),_0xf3a968(0x6,_0x3d563c[_0x416c04(0x3f0)]),_0xf3a968(0x7,_0x3d563c[_0x416c04(0x3e8)]),_0xf3a968(0x8,_0x3d563c['ILogService']),_0xf3a968(0x9,_0x520737[_0x416c04(0x302)])],_0x4c0215);let _0x5b2db2=class extends _0x1242eb{constructor(_0x3110e8,_0x4122ce,_0x363e17,_0x357e26,_0x475907,_0x30d022,_0x49e973,_0x3ab406,_0x33d63a,_0x4ab3ee,_0x400e4e,_0x5bb1f6,_0x301038,_0x4c8f5c){const _0x2b78fd=_0x416c04;super(_0x3110e8,_0x4122ce,null,_0x363e17,_0x357e26,_0x4ab3ee,_0x4c8f5c,_0x30d022,_0x49e973),_0x10d0d4(this,'status',_0x2b78fd(0x358)),_0x10d0d4(this,_0x2b78fd(0x433),null),_0x10d0d4(this,_0x2b78fd(0x39e),null),(this['_injector']=_0x475907,this[_0x2b78fd(0x399)]=_0x3ab406,this[_0x2b78fd(0x4ff)]=_0x33d63a,this[_0x2b78fd(0xd6)]=_0x400e4e,this[_0x2b78fd(0x392)]=_0x5bb1f6,this[_0x2b78fd(0x468)]=_0x301038);}[_0x416c04(0x3d1)](_0x3b96ca){const _0x33eec9=_0x416c04;return this[_0x33eec9(0x79)][_0x33eec9(0x1e9)](_0x3b96ca),this[_0x33eec9(0x229)](),this;}['onRemoteChangeset'](_0x172a56){const _0xee09a7=_0x416c04;if(this['_checkMissing'](_0x172a56))return this['_clearScheduledTask'](),this[_0xee09a7(0x4c7)][_0xee09a7(0x385)](_0x42c14f,this[_0xee09a7(0x280)],this[_0xee09a7(0x6e)],null,this[_0xee09a7(0x79)],null,[_0x172a56],this[_0xee09a7(0x3d8)]);try{const _0x14cf7f=this[_0xee09a7(0x392)][_0xee09a7(0x3a8)](_0x172a56,this[_0xee09a7(0x79)]);if(_0x520737[_0xee09a7(0x4e4)](_0x14cf7f)){const {c1Prime:_0xb182c1,m2Prime:_0x2d27e3}=_0x14cf7f;this[_0xee09a7(0x3b5)](_0xb182c1);const _0x2b80b5=this[_0xee09a7(0x4c7)][_0xee09a7(0x385)](_0x5b2db2,this[_0xee09a7(0x280)],this[_0xee09a7(0x6e)],_0x2d27e3,this[_0xee09a7(0x3d8)]);return this[_0xee09a7(0x11f)](),_0x2b80b5['_schedule'](this[_0xee09a7(0x433)]?Math[_0xee09a7(0x1f2)](0x0,new Date()[_0xee09a7(0x17d)]()-this[_0xee09a7(0x433)]):this[_0xee09a7(0x499)]()),_0x2b80b5;}throw _0x14cf7f['error'];}catch(_0x4a56c4){return this[_0xee09a7(0x4ff)][_0xee09a7(0x4b1)](_0x4a56c4),this['_onConflict'](!0x1);}}[_0x416c04(0x4b4)](){const _0x46d6ab=_0x416c04;throw new Error(_0x46d6ab(0x242));}[_0x416c04(0x3da)](){const _0x34d944=_0x416c04;throw new Error(_0x34d944(0x25d));}[_0x416c04(0x3ef)](){return this;}[_0x416c04(0x9a)](){const _0x469831=_0x416c04;return this[_0x469831(0x11f)](),this[_0x469831(0x4c7)]['createInstance'](_0x49fbec,this[_0x469831(0x280)],this[_0x469831(0x6e)],null,this[_0x469831(0x79)],this[_0x469831(0x3d8)]);}[_0x416c04(0xa3)](){return this;}[_0x416c04(0x250)](_0x589d35){const _0x4962bc=_0x416c04,_0xdae8b2=_0x589d35!=null?_0x589d35:this[_0x4962bc(0x499)]();this[_0x4962bc(0x433)]=new Date()[_0x4962bc(0x17d)](),this['_sendingTimer']=window[_0x4962bc(0x2f0)](()=>{const _0x74ef61=_0x4962bc;this[_0x74ef61(0x11f)]();let _0x286ec0=null;switch(this[_0x74ef61(0x6e)]){case _0x2cf20e[_0x74ef61(0x2ec)]:{_0x286ec0=_0x257515(this[_0x74ef61(0x79)],this[_0x74ef61(0x280)],this['_univerInstanceService'],this[_0x74ef61(0x13f)],this[_0x74ef61(0x399)]);break;}case _0x2cf20e[_0x74ef61(0x465)]:{this[_0x74ef61(0x79)][_0x74ef61(0x520)](_0x347adf=>_0x347adf['id']===_0x2fb3a7[_0x74ef61(0x419)]['id'])?_0x286ec0=_0x4a3229(this['_pendingMutations'],this[_0x74ef61(0x280)],this['_univerInstanceService'],this[_0x74ef61(0x13f)],this[_0x74ef61(0x399)]):_0x286ec0=_0x257515(this[_0x74ef61(0x79)],this[_0x74ef61(0x280)],this[_0x74ef61(0x468)],this[_0x74ef61(0x13f)],this[_0x74ef61(0x399)]);break;}default:throw new Error(_0x74ef61(0x404)+this['type']+_0x74ef61(0x47e));}const {changeset:_0x500531,pendingMutations:_0x42c970}=_0x286ec0;this[_0x74ef61(0x3d8)][_0x74ef61(0x304)](_0x500531);const _0x23db53=_0x42c970['length']?this['_injector']['createInstance'](_0x4708d2,this[_0x74ef61(0x280)],this[_0x74ef61(0x6e)],_0x500531,_0x42c970,this[_0x74ef61(0x3d8)],void 0x0):this[_0x74ef61(0x4c7)]['createInstance'](_0x537ae5,this[_0x74ef61(0x280)],this['type'],_0x500531,this[_0x74ef61(0x3d8)]);_0x23db53['_updateLocalCache'](),this[_0x74ef61(0x3d8)][_0x74ef61(0x33f)](this,_0x23db53);},_0xdae8b2);}[_0x416c04(0x499)](){const _0x4a0008=_0x416c04;var _0x466237;const _0x2a4b6f=this['_configService']['getConfig'](_0x40a44f);return(_0x466237=_0x2a4b6f==null?void 0x0:_0x2a4b6f[_0x4a0008(0x4a2)])!=null?_0x466237:0x7d0;}[_0x416c04(0x38d)](){const _0x375f4f=_0x416c04;throw new Error(_0x375f4f(0x4a5));}[_0x416c04(0x11f)](){const _0x2887eb=_0x416c04;this[_0x2887eb(0x39e)]!=null&&(clearTimeout(this[_0x2887eb(0x39e)]),this[_0x2887eb(0x39e)]=null);}[_0x416c04(0x441)](_0x84361d){const _0x3189a0=_0x416c04;return this[_0x3189a0(0x11f)](),this['_injector'][_0x3189a0(0x385)](_0x4e17ab,this[_0x3189a0(0x280)],this['type'],null,this[_0x3189a0(0x79)],this[_0x3189a0(0x3d8)],_0x84361d);}};_0x5b2db2=_0x119835([_0xf3a968(0x4,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x25f)])),_0xf3a968(0x5,_0x3d563c[_0x416c04(0x4d1)](_0x520737['RevisionService'])),_0xf3a968(0x6,_0x3d563c[_0x416c04(0x4d1)](_0x1b5475[_0x416c04(0x26c)])),_0xf3a968(0x7,_0x3d563c[_0x416c04(0x4d1)](_0x1b5475[_0x416c04(0x2f4)])),_0xf3a968(0x8,_0x3d563c[_0x416c04(0x2fd)]),_0xf3a968(0x9,_0x3d563c[_0x416c04(0x3e8)]),_0xf3a968(0xa,_0x3d563c[_0x416c04(0x4f1)]),_0xf3a968(0xb,_0x520737[_0x416c04(0x302)]),_0xf3a968(0xc,_0x3d563c[_0x416c04(0x127)]),_0xf3a968(0xd,_0x3d563c[_0x416c04(0x3f0)])],_0x5b2db2);let _0x537ae5=class extends _0x1242eb{constructor(_0x4aac36,_0x3b4984,_0x1cf730,_0xaac259,_0x374409,_0x8da207,_0x2afc2c,_0x3e0c84,_0x589fed,_0x588afc,_0x1e677a){const _0x38970d=_0x416c04;super(_0x4aac36,_0x3b4984,_0x1cf730,[],_0xaac259,_0x3e0c84,_0x1e677a,_0x8da207,_0x2afc2c),_0x10d0d4(this,_0x38970d(0xea),_0x38970d(0x1e7)),_0x10d0d4(this,_0x38970d(0x2e2),0x0),_0x10d0d4(this,'_resendTimer'),_0x10d0d4(this,'_sender'),(this[_0x38970d(0x4c7)]=_0x374409,this[_0x38970d(0x4ff)]=_0x589fed,this[_0x38970d(0x392)]=_0x588afc);}[_0x416c04(0x3d1)](_0xf99f3c){const _0x2bc3b8=_0x416c04;this[_0x2bc3b8(0x11f)]();const _0x327f98=this[_0x2bc3b8(0x4c7)][_0x2bc3b8(0x385)](_0x4708d2,this['unitID'],this[_0x2bc3b8(0x6e)],this['_awaitingChangeset'],[_0xf99f3c],this[_0x2bc3b8(0x3d8)],this[_0x2bc3b8(0x3bb)]);return _0x327f98[_0x2bc3b8(0x229)](),_0x327f98;}[_0x416c04(0x335)](_0x23ac0d){const _0x59ecab=_0x416c04;if(this[_0x59ecab(0x289)](_0x23ac0d))return this[_0x59ecab(0x11f)](),this[_0x59ecab(0x4c7)][_0x59ecab(0x385)](_0x42c14f,this[_0x59ecab(0x280)],this[_0x59ecab(0x6e)],this[_0x59ecab(0x27e)],[],null,[_0x23ac0d],this[_0x59ecab(0x3d8)]);try{const _0xc22ed5=this[_0x59ecab(0x392)][_0x59ecab(0x341)]([_0x23ac0d],[this[_0x59ecab(0x27e)]],!0x1);if(_0x520737[_0x59ecab(0x2cc)](_0xc22ed5)){const {c1Prime:_0x2c04db,c2Prime:_0x22e230}=_0xc22ed5;this[_0x59ecab(0x3b5)](_0x2c04db[0x0]),_0x22e230[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x59ecab(0x11f)]();const _0x13510b=this[_0x59ecab(0x4c7)]['createInstance'](_0x537ae5,this[_0x59ecab(0x280)],this['type'],_0x22e230[0x0],this[_0x59ecab(0x3d8)]);return _0x13510b[_0x59ecab(0x229)](),_0x13510b;}return this[_0x59ecab(0x441)](!0x1);}catch(_0x2c81c0){return this['_logService'][_0x59ecab(0x4b1)](_0x2c81c0),this['_onConflict'](!0x1);}}[_0x416c04(0x4b4)](_0x56adde){const _0x507a19=_0x416c04;this['_clearScheduledTask']();const _0x2236b4=this['_revisionService'][_0x507a19(0x4d5)](this['unitID']);if(_0x56adde['revision']<_0x2236b4-0x1)return this;if(this[_0x507a19(0x289)](_0x56adde))return this[_0x507a19(0x4c7)][_0x507a19(0x385)](_0x42c14f,this['unitID'],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x507a19(0x3d8)]);this[_0x507a19(0x19b)]();const _0x4f488a=this[_0x507a19(0x4c7)][_0x507a19(0x385)](_0x4c0215,this[_0x507a19(0x280)],this[_0x507a19(0x6e)],this[_0x507a19(0x3d8)]);return _0x4f488a[_0x507a19(0x229)](),_0x4f488a;}['onRemoteRej'](_0x576272){const _0x467c6a=_0x416c04;return this[_0x467c6a(0x441)](!!(_0x576272!=null&&_0x576272[_0x467c6a(0x163)]));}[_0x416c04(0x3ef)](_0x3b3d7f){const _0x5c602a=_0x416c04;return this[_0x5c602a(0x2e2)]>_0x1beb87?this[_0x5c602a(0x9a)]():(this[_0x5c602a(0x3bb)]=_0x570c5e(this[_0x5c602a(0x2e2)],{'timeout':this[_0x5c602a(0x2e2)],'reqId':_0x3b3d7f[_0x5c602a(0x478)]}),this[_0x5c602a(0x2a7)]=this['_resendTimer'][_0x5c602a(0x31f)](({reqId:_0x4f805e,timeout:_0xb8a417})=>{const _0x427a6b=_0x5c602a;this[_0x427a6b(0x12b)](_0x4f805e,_0xb8a417);}),this);}[_0x416c04(0x9a)](){const _0x133cb3=_0x416c04;return this[_0x133cb3(0x11f)](),this[_0x133cb3(0x4c7)]['createInstance'](_0x49fbec,this['unitID'],this[_0x133cb3(0x6e)],this[_0x133cb3(0x27e)],[],this['_handler']);}[_0x416c04(0xa3)](){return this;}[_0x416c04(0x38d)](){const _0x553ac8=_0x416c04;this[_0x553ac8(0x3d8)][_0x553ac8(0x304)](this[_0x553ac8(0x27e)]);}[_0x416c04(0x441)](_0x5c793e){const _0x5c124a=_0x416c04;return this[_0x5c124a(0x11f)](),this[_0x5c124a(0x4c7)][_0x5c124a(0x385)](_0x4e17ab,this[_0x5c124a(0x280)],this[_0x5c124a(0x6e)],this[_0x5c124a(0x27e)],[],this[_0x5c124a(0x3d8)],_0x5c793e);}[_0x416c04(0x12b)](_0x3bd834,_0x16a504){const _0x352e17=_0x416c04;var _0x118831;_0x3bd834===((_0x118831=this[_0x352e17(0x27e)])==null?void 0x0:_0x118831[_0x352e17(0x478)])&&(this['resend'](),this[_0x352e17(0x2e2)]=_0x16a504===0x0?0x3e8:_0x16a504*0x2);}[_0x416c04(0x11f)](){const _0x273e6b=_0x416c04;var _0x3b225f;(_0x3b225f=this[_0x273e6b(0x2a7)])==null||_0x3b225f[_0x273e6b(0x31d)](),this[_0x273e6b(0x2e2)]=0x0;}};_0x537ae5=_0x119835([_0xf3a968(0x4,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x25f)])),_0xf3a968(0x5,_0x3d563c['Inject'](_0x520737['RevisionService'])),_0xf3a968(0x6,_0x3d563c[_0x416c04(0x4d1)](_0x1b5475[_0x416c04(0x26c)])),_0xf3a968(0x7,_0x3d563c[_0x416c04(0x3e8)]),_0xf3a968(0x8,_0x3d563c[_0x416c04(0x2fd)]),_0xf3a968(0x9,_0x520737['ITransformService']),_0xf3a968(0xa,_0x3d563c[_0x416c04(0x3f0)])],_0x537ae5);let _0x4708d2=class extends _0x1242eb{constructor(_0x921bd7,_0x27620e,_0x5369ce,_0x40cfc9,_0x3b652d,_0x121b6c,_0x5a9291,_0x29cafe,_0x3e9bf6,_0x28baa0,_0xc78b8a,_0x5c6dbf,_0x2e1044){const _0x39adec=_0x416c04;super(_0x921bd7,_0x27620e,_0x5369ce,_0x40cfc9,_0x3b652d,_0x28baa0,_0x2e1044,_0x29cafe,_0x3e9bf6),_0x10d0d4(this,'status',_0x39adec(0x206)),_0x10d0d4(this,'_resendTimeout',0x0),_0x10d0d4(this,'_resendTimer'),_0x10d0d4(this,_0x39adec(0x2a7)),(this[_0x39adec(0x4c7)]=_0x5a9291,this[_0x39adec(0x4ff)]=_0xc78b8a,this[_0x39adec(0x392)]=_0x5c6dbf,_0x121b6c&&(this['_resendTimer']=_0x121b6c,this[_0x39adec(0x2a7)]=this['_resendTimer']['subscribe'](({reqId:_0x4beb1e,timeout:_0x4012fb})=>{this['_resendWithTimeout'](_0x4beb1e,_0x4012fb);})));}[_0x416c04(0x3d1)](_0x1b1bec){const _0x4f114d=_0x416c04;return this[_0x4f114d(0x79)][_0x4f114d(0x1e9)](_0x1b1bec),this;}[_0x416c04(0x335)](_0x4ece31){const _0x4389b6=_0x416c04;if(this['_checkMissing'](_0x4ece31))return this['_clearScheduledTask'](),this[_0x4389b6(0x4c7)][_0x4389b6(0x385)](_0x42c14f,this[_0x4389b6(0x280)],this[_0x4389b6(0x6e)],this[_0x4389b6(0x27e)],this[_0x4389b6(0x79)],null,[_0x4ece31],this['_handler']);try{const _0x5154cd=this[_0x4389b6(0x392)][_0x4389b6(0x341)]([_0x4ece31],[this['_awaitingChangeset']],!0x1);if(_0x520737[_0x4389b6(0x2cc)](_0x5154cd)){const {c1Prime:_0x5bb206,c2Prime:_0x1d1b90}=_0x5154cd,_0x2e9152=this['_transformService'][_0x4389b6(0x3a8)](_0x5bb206[0x0],this['_pendingMutations']);if(_0x520737[_0x4389b6(0x4e4)](_0x2e9152)){const {c1Prime:_0x22c8b0,m2Prime:_0x6c0550}=_0x2e9152;return this['_executeRemoteChangeset'](_0x22c8b0),_0x1d1b90[0x0][_0x4389b6(0x195)]=this['_getCurrentRevision'](),this[_0x4389b6(0x11f)](),this['_injector'][_0x4389b6(0x385)](_0x4708d2,this[_0x4389b6(0x280)],this[_0x4389b6(0x6e)],_0x1d1b90[0x0],_0x6c0550,this[_0x4389b6(0x3d8)],void 0x0);}throw _0x2e9152[_0x4389b6(0x4b1)];}throw _0x5154cd[_0x4389b6(0x4b1)];}catch(_0x547812){return this['_logService'][_0x4389b6(0x4b1)](_0x547812),this[_0x4389b6(0x441)](!0x1);}}[_0x416c04(0x4b4)](_0x349b45){const _0x532a5f=_0x416c04;if(this['_clearScheduledTask'](),this[_0x532a5f(0x289)](_0x349b45))return this[_0x532a5f(0x4c7)][_0x532a5f(0x385)](_0x42c14f,this['unitID'],this[_0x532a5f(0x6e)],null,this['_pendingMutations'],this[_0x532a5f(0x27e)],[],this[_0x532a5f(0x3d8)]);this[_0x532a5f(0x19b)]();const _0x4d3fc0=this[_0x532a5f(0x4c7)]['createInstance'](_0x5b2db2,this[_0x532a5f(0x280)],this['type'],this[_0x532a5f(0x79)],this['_handler']);return _0x4d3fc0[_0x532a5f(0x250)](),_0x4d3fc0[_0x532a5f(0x229)](),_0x4d3fc0;}[_0x416c04(0x3da)](_0x276cf3){const _0x204c94=_0x416c04;return this['_onConflict'](!!(_0x276cf3!=null&&_0x276cf3[_0x204c94(0x163)]));}[_0x416c04(0x3ef)](_0x4eec27){const _0x27609a=_0x416c04;return this['_resendTimeout']>_0x1beb87?this[_0x27609a(0x9a)]():(this['_resendTimer']=_0x570c5e(this[_0x27609a(0x2e2)],{'timeout':this[_0x27609a(0x2e2)],'reqId':_0x4eec27[_0x27609a(0x478)]}),this[_0x27609a(0x2a7)]=this['_resendTimer']['subscribe'](({reqId:_0x29f9c6,timeout:_0x25903d})=>{const _0x1e5433=_0x27609a;this[_0x1e5433(0x12b)](_0x29f9c6,_0x25903d);}),this);}[_0x416c04(0x9a)](){const _0x599f3c=_0x416c04;return this['_clearScheduledTask'](),this[_0x599f3c(0x4c7)][_0x599f3c(0x385)](_0x49fbec,this[_0x599f3c(0x280)],this[_0x599f3c(0x6e)],this['_awaitingChangeset'],this[_0x599f3c(0x79)],this[_0x599f3c(0x3d8)]);}[_0x416c04(0xa3)](){return this;}[_0x416c04(0x38d)](){const _0x13c13a=_0x416c04;this['_handler'][_0x13c13a(0x304)](this[_0x13c13a(0x27e)]);}[_0x416c04(0x441)](_0x409385){const _0x5eb5ef=_0x416c04;return this[_0x5eb5ef(0x11f)](),this[_0x5eb5ef(0x4c7)]['createInstance'](_0x4e17ab,this[_0x5eb5ef(0x280)],this[_0x5eb5ef(0x6e)],null,this[_0x5eb5ef(0x79)],this[_0x5eb5ef(0x3d8)],_0x409385);}[_0x416c04(0x12b)](_0x5c70ed,_0x2fca1a){const _0x35d1d8=_0x416c04;var _0x5d5de2;_0x5c70ed===((_0x5d5de2=this[_0x35d1d8(0x27e)])==null?void 0x0:_0x5d5de2[_0x35d1d8(0x478)])&&(this[_0x35d1d8(0x38d)](),this[_0x35d1d8(0x2e2)]=_0x2fca1a===0x0?0x3e8:_0x2fca1a*0x2);}[_0x416c04(0x11f)](){const _0x2cf732=_0x416c04;var _0x20b491;(_0x20b491=this[_0x2cf732(0x2a7)])==null||_0x20b491[_0x2cf732(0x31d)](),this[_0x2cf732(0x2e2)]=0x0;}};_0x4708d2=_0x119835([_0xf3a968(0x6,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c['Injector'])),_0xf3a968(0x7,_0x3d563c['Inject'](_0x520737[_0x416c04(0x2e6)])),_0xf3a968(0x8,_0x3d563c['Inject'](_0x1b5475['LocalCacheService'])),_0xf3a968(0x9,_0x3d563c[_0x416c04(0x3e8)]),_0xf3a968(0xa,_0x3d563c[_0x416c04(0x2fd)]),_0xf3a968(0xb,_0x520737['ITransformService']),_0xf3a968(0xc,_0x3d563c['IUndoRedoService'])],_0x4708d2);let _0x4e17ab=class extends _0x1242eb{constructor(_0x168667,_0x2322be,_0x129c1e,_0x5d82d8,_0x862e1,_0xabb580=!0x1,_0x3ce18a,_0x1be88d,_0xa86df5,_0x6d48c4,_0xabb57e,_0x5dd440,_0x250604){const _0x3ceedd=_0x416c04;super(_0x168667,_0x2322be,_0x129c1e,_0x5d82d8,_0x862e1,_0x1be88d,_0xa86df5,_0xabb57e,_0x6d48c4),_0x10d0d4(this,_0x3ceedd(0xea),_0x3ceedd(0x21e)),(this[_0x3ceedd(0x4be)]=_0xabb580,this[_0x3ceedd(0x448)]=_0x3ce18a,this['_localeService']=_0x5dd440,this['_notificationService']=_0x250604,this[_0x3ceedd(0x272)](),this[_0x3ceedd(0x51f)](),this[_0x3ceedd(0xc8)]());}[_0x416c04(0x3d1)](){return this;}[_0x416c04(0x335)](){return this;}[_0x416c04(0x4b4)](){return this;}[_0x416c04(0x3da)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x416c04(0xa3)](){return this;}[_0x416c04(0x38d)](){const _0x10a2c6=_0x416c04;throw new Error(_0x10a2c6(0x37a));}['_clearLocalCache'](){const _0x4ff405=_0x416c04;this[_0x4ff405(0x2a0)][_0x4ff405(0x128)](this[_0x4ff405(0x280)],this[_0x4ff405(0x6e)],null,[]);}['_showConflictNotification'](){const _0x1eafee=_0x416c04;this[_0x1eafee(0x4be)]?this[_0x1eafee(0x35f)][_0x1eafee(0x1a7)]({'title':this[_0x1eafee(0x4c9)]['t'](_0x1eafee(0x16a)),'content':this[_0x1eafee(0x4c9)]['t'](_0x1eafee(0x357)),'type':_0x1eafee(0x4b1),'duration':0x0}):this[_0x1eafee(0x35f)][_0x1eafee(0x1a7)]({'title':this[_0x1eafee(0x4c9)]['t'](_0x1eafee(0x444)),'content':this['_localeService']['t']('conflict.content'),'type':_0x1eafee(0x4b1),'duration':0x0});}['_disableEditing'](){const _0x5063bd=_0x416c04;this[_0x5063bd(0x448)][_0x5063bd(0x35e)](new _0xa13da4[(_0x5063bd(0x235))](this[_0x5063bd(0x280)])['id'],!0x1);}};_0x4e17ab=_0x119835([_0xf3a968(0x6,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x3d3)])),_0xf3a968(0x7,_0x3d563c[_0x416c04(0x3e8)]),_0xf3a968(0x8,_0x3d563c[_0x416c04(0x3f0)]),_0xf3a968(0x9,_0x3d563c[_0x416c04(0x4d1)](_0x1b5475['LocalCacheService'])),_0xf3a968(0xa,_0x3d563c[_0x416c04(0x4d1)](_0x520737[_0x416c04(0x2e6)])),_0xf3a968(0xb,_0x3d563c['Inject'](_0x3d563c[_0x416c04(0x311)])),_0xf3a968(0xc,_0xe60abc[_0x416c04(0x393)])],_0x4e17ab);let _0x49fbec=class extends _0x1242eb{constructor(_0x5e4942,_0x137378,_0x36e228,_0x93dee7,_0x3a7a29,_0x2a1910,_0x346d08,_0x25ef34,_0x3c5fae,_0x597c67){const _0x4b63ce=_0x416c04;super(_0x5e4942,_0x137378,_0x36e228,_0x93dee7,_0x3a7a29,_0x3c5fae,_0x597c67,_0x346d08,_0x25ef34),_0x10d0d4(this,_0x4b63ce(0xea),_0x4b63ce(0x23e)),this['_injector']=_0x2a1910;}[_0x416c04(0x3d1)](_0x2aae6f){const _0x4b6906=_0x416c04;return this[_0x4b6906(0x79)][_0x4b6906(0x1e9)](_0x2aae6f),this[_0x4b6906(0x229)](),this;}[_0x416c04(0x335)](_0x307e3e){const _0x555d99=_0x416c04;throw new Error(_0x555d99(0xdf));}[_0x416c04(0x4b4)](){const _0x2a5d0c=_0x416c04;throw new Error(_0x2a5d0c(0x2fc));}[_0x416c04(0x3da)](){const _0x229bd7=_0x416c04;throw new Error(_0x229bd7(0x1bf));}[_0x416c04(0x3ef)](){return this;}[_0x416c04(0x9a)](){return this;}[_0x416c04(0xa3)](){const _0x314045=_0x416c04,{_injector:_0x16c0a5,_pendingMutations:_0x52cae1,_awaitingChangeset:_0x5a8665,unitID:_0x5748f9,_handler:_0x3c1f67,type:_0x58a363}=this,_0x3fd999=_0x3330fd(_0x16c0a5,_0x5748f9,_0x58a363,_0x5a8665,_0x52cae1,_0x3c1f67);return _0x3fd999 instanceof _0x5b2db2?_0x3fd999[_0x314045(0x250)]():(_0x3fd999 instanceof _0x4708d2||_0x3fd999 instanceof _0x537ae5)&&_0x3fd999[_0x314045(0x38d)](),_0x3fd999;}[_0x416c04(0x38d)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};_0x49fbec=_0x119835([_0xf3a968(0x5,_0x3d563c['Inject'](_0x3d563c[_0x416c04(0x25f)])),_0xf3a968(0x6,_0x3d563c[_0x416c04(0x4d1)](_0x520737['RevisionService'])),_0xf3a968(0x7,_0x3d563c['Inject'](_0x1b5475[_0x416c04(0x26c)])),_0xf3a968(0x8,_0x3d563c[_0x416c04(0x3e8)]),_0xf3a968(0x9,_0x3d563c[_0x416c04(0x3f0)])],_0x49fbec);let _0x42c14f=class extends _0x1242eb{constructor(_0x1aa7f4,_0x30c66c,_0x78520b,_0x6c19e0,_0x3aa69f,_0x349e4c,_0x485535,_0x353355,_0x58caa3,_0x5686c7,_0x44254c,_0x4f31a2,_0x353228,_0x46379d){const _0x149135=_0x416c04;super(_0x1aa7f4,_0x30c66c,_0x78520b,_0x6c19e0,_0x485535,_0x4f31a2,_0x353228,_0x58caa3,_0x5686c7),_0x10d0d4(this,'status',_0x149135(0x47c)),(this['_acknowledgedAwaitingChangeset']=_0x3aa69f,this[_0x149135(0x411)]=_0x349e4c,this['_injector']=_0x353355,this[_0x149135(0x4ff)]=_0x44254c,this[_0x149135(0x392)]=_0x46379d);}[_0x416c04(0x6d)](_0x3d3073){const _0x47f6fa=_0x416c04;try{const _0x39c184=[..._0x3d3073,...this['_queuedRemoteChangesets']],_0x2f6634=[this['_awaitingChangeset']||this[_0x47f6fa(0x84)]]['filter'](_0x42ecc2=>!!_0x42ecc2);let _0x3d48d6,_0x1f333f;if(_0x2f6634[_0x47f6fa(0x26a)]){const _0xd73248=this[_0x47f6fa(0x392)][_0x47f6fa(0x341)](_0x39c184,_0x2f6634,!0x1);if(!_0x520737[_0x47f6fa(0x2cc)](_0xd73248))throw _0xd73248[_0x47f6fa(0x4b1)];_0x3d48d6=_0xd73248[_0x47f6fa(0x3b4)],_0x1f333f=_0xd73248[_0x47f6fa(0x1fe)];}else _0x3d48d6=_0x39c184,_0x1f333f=[];let _0x57e055=this[_0x47f6fa(0x79)];_0x3d48d6[_0x47f6fa(0x124)](_0x37ce7b=>{const _0x5be05b=_0x47f6fa;let _0x3a129a;if(_0x57e055[_0x5be05b(0x26a)]){const _0x3f9292=this['_transformService'][_0x5be05b(0x3a8)](_0x37ce7b,_0x57e055);if(!_0x520737[_0x5be05b(0x4e4)](_0x3f9292))throw _0x3f9292[_0x5be05b(0x4b1)];_0x3a129a=_0x3f9292[_0x5be05b(0x3b4)],_0x57e055=_0x3f9292[_0x5be05b(0x85)];}else _0x3a129a=_0x37ce7b;this[_0x5be05b(0x3b5)](_0x3a129a);}),this[_0x47f6fa(0x84)]&&this['_incrementRevisionNumber'](),this[_0x47f6fa(0x27e)]&&_0x1f333f[_0x47f6fa(0x26a)]&&(_0x1f333f[0x0][_0x47f6fa(0x195)]=this[_0x47f6fa(0x285)]());let _0x3f43ec;if(this[_0x47f6fa(0x27e)]&&_0x57e055[_0x47f6fa(0x26a)]!==0x0)_0x3f43ec=this[_0x47f6fa(0x4c7)][_0x47f6fa(0x385)](_0x4708d2,this[_0x47f6fa(0x280)],this[_0x47f6fa(0x6e)],_0x1f333f[0x0],_0x57e055,this['_handler'],void 0x0);else{if(this[_0x47f6fa(0x27e)]&&_0x57e055[_0x47f6fa(0x26a)]===0x0)_0x1f333f[0x0][_0x47f6fa(0x195)]=this[_0x47f6fa(0x285)](),_0x3f43ec=this['_injector'][_0x47f6fa(0x385)](_0x537ae5,this[_0x47f6fa(0x280)],this[_0x47f6fa(0x6e)],_0x1f333f[0x0],this[_0x47f6fa(0x3d8)]);else{if(_0x57e055['length']!==0x0){const _0x436825=this[_0x47f6fa(0x4c7)][_0x47f6fa(0x385)](_0x5b2db2,this[_0x47f6fa(0x280)],this['type'],_0x57e055,this['_handler']);_0x436825['_schedule'](),_0x3f43ec=_0x436825;}else _0x3f43ec=this[_0x47f6fa(0x4c7)][_0x47f6fa(0x385)](_0x4c0215,this[_0x47f6fa(0x280)],this['type'],this['_handler']);}}return _0x3f43ec[_0x47f6fa(0x229)](),_0x3f43ec;}catch(_0x5b664b){return this['_logService'][_0x47f6fa(0x4b1)](_0x47f6fa(0x39c),_0x47f6fa(0x3e1),_0x5b664b),this[_0x47f6fa(0x4c7)][_0x47f6fa(0x385)](_0x4e17ab,this[_0x47f6fa(0x280)],this[_0x47f6fa(0x6e)],this['_awaitingChangeset'],this[_0x47f6fa(0x79)],this[_0x47f6fa(0x3d8)],!0x1);}}[_0x416c04(0x38d)](){const _0x4b5000=_0x416c04;throw new Error(_0x4b5000(0x22f));}[_0x416c04(0x3d1)](_0x249268){const _0x5adcbd=_0x416c04;return this['_pendingMutations'][_0x5adcbd(0x1e9)](_0x249268),this;}['onRemoteChangeset'](_0x38d6e0){const _0x236683=_0x416c04;return this[_0x236683(0x411)][_0x236683(0x1e9)](_0x38d6e0),this;}[_0x416c04(0x4b4)](_0x1fd047){const _0x26bfc6=_0x416c04;if(this[_0x26bfc6(0x27e)])return this[_0x26bfc6(0x84)]=this[_0x26bfc6(0x27e)],this[_0x26bfc6(0x27e)]=null,this;throw new Error(_0x26bfc6(0x397));}[_0x416c04(0x3da)](_0x4185ae){const _0x5752b2=_0x416c04;return this[_0x5752b2(0x441)](!!(_0x4185ae!=null&&_0x4185ae[_0x5752b2(0x163)]));}[_0x416c04(0x3ef)](){return this;}['toggleOffline'](){const _0x36ee47=_0x416c04;return this[_0x36ee47(0x4c7)][_0x36ee47(0x385)](_0x49fbec,this['unitID'],this[_0x36ee47(0x6e)],this['_awaitingChangeset'],this[_0x36ee47(0x79)],this['_handler']);}[_0x416c04(0xa3)](){return this;}[_0x416c04(0x441)](_0x4f0feb){const _0x47786c=_0x416c04;return this[_0x47786c(0x4c7)][_0x47786c(0x385)](_0x4e17ab,this[_0x47786c(0x280)],this[_0x47786c(0x6e)],this[_0x47786c(0x27e)],this['_pendingMutations'],this[_0x47786c(0x3d8)],_0x4f0feb);}};_0x42c14f=_0x119835([_0xf3a968(0x7,_0x3d563c['Inject'](_0x3d563c[_0x416c04(0x25f)])),_0xf3a968(0x8,_0x3d563c[_0x416c04(0x4d1)](_0x520737[_0x416c04(0x2e6)])),_0xf3a968(0x9,_0x3d563c[_0x416c04(0x4d1)](_0x1b5475[_0x416c04(0x26c)])),_0xf3a968(0xa,_0x3d563c['ILogService']),_0xf3a968(0xb,_0x3d563c[_0x416c04(0x3e8)]),_0xf3a968(0xc,_0x3d563c['IUndoRedoService']),_0xf3a968(0xd,_0x520737[_0x416c04(0x302)])],_0x42c14f);function _0x3330fd(_0x4af5a6,_0x5da136,_0x243932,_0x33ca33,_0x723cc9,_0x5d8795){const _0x51b32c=_0x416c04;return _0x33ca33&&_0x723cc9[_0x51b32c(0x26a)]?_0x4af5a6[_0x51b32c(0x385)](_0x4708d2,_0x5da136,_0x243932,_0x33ca33,_0x723cc9,_0x5d8795,void 0x0):_0x33ca33?_0x4af5a6['createInstance'](_0x537ae5,_0x5da136,_0x243932,_0x33ca33,_0x5d8795):_0x723cc9[_0x51b32c(0x26a)]?_0x4af5a6[_0x51b32c(0x385)](_0x5b2db2,_0x5da136,_0x243932,_0x723cc9,_0x5d8795):_0x4af5a6[_0x51b32c(0x385)](_0x4c0215,_0x5da136,_0x243932,_0x5d8795);}var _0x4ba67e=Object[_0x416c04(0x2e4)],_0x1a5868=Object[_0x416c04(0x4e2)],_0x595650=(_0x247a86,_0x1acc9b,_0x5e5049,_0x41316b)=>{const _0x486ebb=_0x416c04;for(var _0x2ecc30=_0x41316b>0x1?void 0x0:_0x41316b?_0x1a5868(_0x1acc9b,_0x5e5049):_0x1acc9b,_0x484740=_0x247a86[_0x486ebb(0x26a)]-0x1,_0x1d4d2a;_0x484740>=0x0;_0x484740--)(_0x1d4d2a=_0x247a86[_0x484740])&&(_0x2ecc30=(_0x41316b?_0x1d4d2a(_0x1acc9b,_0x5e5049,_0x2ecc30):_0x1d4d2a(_0x2ecc30))||_0x2ecc30);return _0x41316b&&_0x2ecc30&&_0x4ba67e(_0x1acc9b,_0x5e5049,_0x2ecc30),_0x2ecc30;},_0x294835=(_0x4a1b88,_0x238067)=>(_0x6abf35,_0x2b4555)=>_0x238067(_0x6abf35,_0x2b4555,_0x4a1b88);_0x1b5475[_0x416c04(0x24a)]=class extends _0x3d563c['RxDisposable']{constructor(_0x2693c9,_0x9941fd,_0x10c26a,_0x46abc5,_0x1c1aa3,_0x2cda8b,_0x2d3d5e,_0x2042e1,_0x342074,_0x37519d,_0x228e86,_0x547cc8,_0x4afcce){const _0xfd96f0=_0x416c04;super(),_0x10d0d4(this,_0xfd96f0(0x95),new _0x10d074[(_0xfd96f0(0x500))](null)),_0x10d0d4(this,'state$',this[_0xfd96f0(0x95)][_0xfd96f0(0x349)]()),_0x10d0d4(this,_0xfd96f0(0x13e)),_0x10d0d4(this,_0xfd96f0(0x4aa),!0x1),_0x10d0d4(this,_0xfd96f0(0x248),''),_0x10d0d4(this,'_changesetReqId',0x0),_0x10d0d4(this,_0xfd96f0(0x23d),this[_0xfd96f0(0x31e)]['pipe'](_0x10d074[_0xfd96f0(0x2b8)](_0x3684d4=>_0x3684d4?_0x3684d4[_0xfd96f0(0xea)]:_0x153ab4['OFFLINE']),_0x10d074[_0xfd96f0(0xd9)](0x1))),_0x10d0d4(this,'_transitionLocked',!0x1),_0x10d0d4(this,_0xfd96f0(0x29e),[]),(this['unitID']=_0x2693c9,this[_0xfd96f0(0x23a)]=_0x9941fd,this['_type']=_0x10c26a,this[_0xfd96f0(0x4c7)]=_0x46abc5,this[_0xfd96f0(0x2a0)]=_0x1c1aa3,this[_0xfd96f0(0x379)]=_0x2cda8b,this[_0xfd96f0(0x4c9)]=_0x2d3d5e,this['_revisionService']=_0x2042e1,this['_logService']=_0x342074,this[_0xfd96f0(0x3ac)]=_0x37519d,this['_messageService']=_0x228e86,this['_permissionService']=_0x547cc8,this['_singleActiveUnitService']=_0x4afcce);}get['state'](){const _0x218a53=_0x416c04;return this[_0x218a53(0x13e)];}async['init'](){const _0x266d3d=_0x416c04;if(this['state'])throw new Error(_0x266d3d(0x1c4));await this[_0x266d3d(0x2b1)]();}[_0x416c04(0x3a9)](){return this['_collaborationPaused']=!0x0,_0x3d563c['toDisposable'](()=>{const _0x1aaced=_0x3e32;this[_0x1aaced(0x4aa)]=!0x1,this[_0x1aaced(0x15b)]();});}['_updateState'](_0x3dc898){const _0x4ab88a=_0x416c04;this[_0x4ab88a(0x13e)]=_0x3dc898,this['_state$']['next'](_0x3dc898);}async[_0x416c04(0x2b1)](){const _0x3e5e6d=_0x416c04;var _0x2b6480;this[_0x3e5e6d(0x2f6)](await this[_0x3e5e6d(0xaf)]()),this['_singleActiveUnitService']&&((_0x2b6480=this[_0x3e5e6d(0x25a)])==null||_0x2b6480[_0x3e5e6d(0x268)](this[_0x3e5e6d(0x280)]),this[_0x3e5e6d(0x4e9)](this[_0x3e5e6d(0x25a)][_0x3e5e6d(0x115)](this[_0x3e5e6d(0x280)])[_0x3e5e6d(0x31f)](_0x5341cb=>{const _0x1cf8a7=_0x3e5e6d;this[_0x1cf8a7(0x4ff)][_0x1cf8a7(0x73)](_0x1cf8a7(0xbb),_0x1cf8a7(0x299),_0x5341cb),_0x5341cb===_0x3a41f7[_0x1cf8a7(0x277)]?(this[_0x1cf8a7(0x428)]['show']({'content':this[_0x1cf8a7(0x4c9)]['t'](_0x1cf8a7(0x1b5)),'type':_0x4278c0['MessageType'][_0x1cf8a7(0x16f)]}),this[_0x1cf8a7(0x448)]['updatePermissionPoint'](new _0xa13da4['WorkbookEditablePermission'](this[_0x1cf8a7(0x280)])['id'],!0x1),this['_permissionService'][_0x1cf8a7(0x12e)](!0x1)):(this[_0x1cf8a7(0x448)][_0x1cf8a7(0x35e)](new _0xa13da4['WorkbookEditablePermission'](this[_0x1cf8a7(0x280)])['id'],!0x0),this[_0x1cf8a7(0x448)][_0x1cf8a7(0x12e)](!0x0));})));let _0x2f2685=!0x1;return this['disposeWithMe'](this[_0x3e5e6d(0x23a)][_0x3e5e6d(0x17f)][_0x3e5e6d(0x31f)](_0xb93e1f=>{const _0x2205eb=_0x3e5e6d;_0xb93e1f===_0x1467c9['ONLINE']?this[_0x2205eb(0x32b)](_0x2f2685):_0xb93e1f===_0x1467c9[_0x2205eb(0xcd)]&&(_0x2f2685=!0x0,this[_0x2205eb(0x351)]());})),this[_0x3e5e6d(0x4e9)](this[_0x3e5e6d(0x23a)][_0x3e5e6d(0xd7)][_0x3e5e6d(0x31f)](_0x258edd=>{const _0x5d3bca=_0x3e5e6d;try{switch(_0x258edd[_0x5d3bca(0xac)]){case _0x520737[_0x5d3bca(0x52d)][_0x5d3bca(0xfa)]:{this[_0x5d3bca(0x4e8)](_0x520737['parseProtocolChangeset'](_0x258edd[_0x5d3bca(0xa1)]));break;}case _0x520737[_0x5d3bca(0x52d)][_0x5d3bca(0x4d0)]:{this[_0x5d3bca(0x45c)](_0x258edd[_0x5d3bca(0xa1)]);break;}case _0x520737[_0x5d3bca(0x52d)]['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x520737[_0x5d3bca(0x52d)][_0x5d3bca(0x40e)]:{this[_0x5d3bca(0x297)](_0x258edd[_0x5d3bca(0xa1)]);break;}case _0x520737[_0x5d3bca(0x52d)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x5d3bca(0x4bf)](_0x258edd['data'][_0x5d3bca(0x348)][_0x5d3bca(0x2b8)](_0x1831d7=>_0x520737[_0x5d3bca(0x154)](_0x1831d7)));break;}case _0x520737[_0x5d3bca(0x52d)]['PERMISSION_REJ']:this[_0x5d3bca(0x29d)]({'isPermissionRej':!0x0});}}catch(_0x4ca861){throw console['error'](_0x5d3bca(0x2a6),_0x4ca861),_0x4ca861;}})),this[_0x3e5e6d(0x13e)];}[_0x416c04(0x2d5)](){this['_transitionLocked']=!0x1;}[_0x416c04(0x24c)](){const _0x35c884=_0x416c04;if(this[_0x35c884(0x345)])throw new Error(_0x35c884(0x30a));this[_0x35c884(0x345)]=!0x0;}[_0x416c04(0x3f9)](_0x3c66ce){const _0x3b3234=_0x416c04;this[_0x3b3234(0x24c)](),this[_0x3b3234(0x2f6)](this[_0x3b3234(0x13e)]['appendMutation'](_0x3c66ce)),this['_unlockTransition']();}[_0x416c04(0x4e8)](_0x13a9eb){const _0x143b30=_0x416c04;if(!(_0x13a9eb['revision']<=this[_0x143b30(0x13f)]['getCurrentRevOfUnit'](this[_0x143b30(0x280)]))){if(this[_0x143b30(0x4aa)]){this[_0x143b30(0x29e)][_0x143b30(0x1e9)](_0x13a9eb);return;}this[_0x143b30(0x2e1)](_0x13a9eb);}}[_0x416c04(0x15b)](){const _0x1e144d=_0x416c04;this[_0x1e144d(0x29e)][_0x1e144d(0x124)](_0x1e0816=>this['_applyRemoteChangeset'](_0x1e0816)),this[_0x1e144d(0x29e)]=[];}[_0x416c04(0x2e1)](_0x3a5053){const _0x182c8a=_0x416c04,_0x3e3d4c=this[_0x182c8a(0x379)][_0x182c8a(0x234)][_0x182c8a(0x2ac)](this[_0x182c8a(0x379)][_0x182c8a(0x234)][_0x182c8a(0x331)]()[_0x182c8a(0x27b)])(_0x3a5053[_0x182c8a(0xa2)],null)||_0x3a5053[_0x182c8a(0xa2)],_0x5b82f8={..._0x3a5053,'mutations':_0x3e3d4c};this[_0x182c8a(0x24c)](),this[_0x182c8a(0x2f6)](this[_0x182c8a(0x13e)]['onRemoteChangeset'](_0x5b82f8)),this[_0x182c8a(0x2d5)]();}[_0x416c04(0x45c)](_0x30e5a2){const _0x82c049=_0x416c04;this[_0x82c049(0x24c)](),this[_0x82c049(0x2f6)](this[_0x82c049(0x13e)][_0x82c049(0x4b4)](_0x30e5a2)),this['_unlockTransition']();}[_0x416c04(0x29d)](_0x5891e1){const _0x5658ea=_0x416c04;this[_0x5658ea(0x24c)](),this[_0x5658ea(0x2f6)](this[_0x5658ea(0x13e)][_0x5658ea(0x3da)](_0x5891e1)),this[_0x5658ea(0x2d5)]();}[_0x416c04(0x297)](_0x9c8da4){const _0xac8bbf=_0x416c04;this[_0xac8bbf(0x24c)](),this[_0xac8bbf(0x2f6)](this[_0xac8bbf(0x13e)][_0xac8bbf(0x3ef)](_0x9c8da4)),this[_0xac8bbf(0x2d5)]();}[_0x416c04(0x4bf)](_0x546f65){const _0x1e61c0=_0x416c04;if(!(this[_0x1e61c0(0x13e)]instanceof _0x42c14f))throw new TypeError(_0x1e61c0(0x4bb));const _0x4e3f9c=_0x546f65['map'](_0x5b473d=>{const _0x23208f=_0x1e61c0,_0x3ba4b6=this[_0x23208f(0x379)][_0x23208f(0x234)][_0x23208f(0x2ac)](this[_0x23208f(0x379)][_0x23208f(0x234)][_0x23208f(0x331)]()[_0x23208f(0x27b)])(_0x5b473d[_0x23208f(0xa2)],null)||_0x5b473d[_0x23208f(0xa2)];return{..._0x5b473d,'mutations':_0x3ba4b6};});this[_0x1e61c0(0x24c)](),this[_0x1e61c0(0x2f6)](this[_0x1e61c0(0x13e)]['onMissedChangesetFetched'](_0x4e3f9c)),this[_0x1e61c0(0x2d5)]();}['_toggleOffline'](){const _0x1cca2b=_0x416c04;this['_lockTransition'](),this[_0x1cca2b(0x2f6)](this[_0x1cca2b(0x13e)][_0x1cca2b(0x9a)]()),this['_unlockTransition']();}['_toggleOnline'](_0x47b5cf=!0x1){const _0x43f59d=_0x416c04;this['_lockTransition'](),this[_0x43f59d(0x2f6)](this['_state'][_0x43f59d(0xa3)]()),this[_0x43f59d(0x2d5)]();const _0x1c0ed9=this['_state'];_0x47b5cf&&_0x1c0ed9 instanceof _0x4c0215&&(this[_0x43f59d(0x24c)](),this[_0x43f59d(0x2f6)](_0x1c0ed9[_0x43f59d(0x77)]()),this[_0x43f59d(0x2d5)]());}async['_createInitialState'](){return new Promise(_0x381ccf=>{const _0x49fb16=_0x3e32;this[_0x49fb16(0x23a)][_0x49fb16(0x17f)]['pipe'](_0x10d074['take'](0x1))['subscribe'](async _0x222b16=>{const _0x587e95=_0x49fb16;_0x381ccf(await this[_0x587e95(0x1ca)](_0x222b16===_0x1467c9['ONLINE']));});});}[_0x416c04(0x2d2)](){const _0x42dbbc=_0x416c04,_0x47fa5b=this[_0x42dbbc(0x280)];return{'onStateChange':(_0x5c1562,_0x204cb5)=>{const _0x131450=_0x42dbbc;if(_0x5c1562!==this['_state'])throw new Error(_0x131450(0x8d)+_0x5c1562[_0x131450(0xea)]+_0x131450(0x466)+_0x204cb5['status']+_0x131450(0xb1)+this[_0x131450(0x13e)][_0x131450(0xea)]);this[_0x131450(0x2f6)](_0x204cb5);},'onSendChangeset':_0x284069=>{const _0x2bf57f=_0x42dbbc;_0x284069[_0x2bf57f(0x1a2)]||(_0x284069[_0x2bf57f(0x1a2)]=this[_0x2bf57f(0x248)],_0x284069['reqId']=++this[_0x2bf57f(0x3ee)]);const _0x2e8cb1={'eventID':_0x520737['CollaborationEvent']['SUBMIT_CHANGESET'],'data':{'unitID':_0x284069[_0x2bf57f(0x280)],'unitType':this['_type'],'changeset':_0x284069,'memberID':this[_0x2bf57f(0x23a)][_0x2bf57f(0x26d)]()}};this[_0x2bf57f(0x23a)][_0x2bf57f(0x2ad)](_0x2e8cb1,this['unitID']);},'onMissingChangesets':({from:_0x13d3d1,to:_0x49cb5b})=>{const _0x1b49ab=_0x42dbbc;this['_logService'][_0x1b49ab(0x73)](_0x1b49ab(0xbb),_0x1b49ab(0xb8)+_0x13d3d1+_0x1b49ab(0x221)+_0x49cb5b);const _0x1effb2={'eventID':_0x520737[_0x1b49ab(0x52d)][_0x1b49ab(0x17b)],'data':{'unitID':_0x47fa5b,'unitType':this['_type'],'from':_0x13d3d1,'to':_0x49cb5b}};this[_0x1b49ab(0x23a)][_0x1b49ab(0x2ad)](_0x1effb2,this['unitID']);}};}async[_0x416c04(0x1ca)](_0x54dc8e){const _0x207342=_0x416c04;var _0x32680f,_0x381d73;const _0x546465=await this[_0x207342(0x2a0)][_0x207342(0xa4)](this[_0x207342(0x280)]),_0x1be172=(_0x32680f=_0x546465==null?void 0x0:_0x546465['mutations'])!=null?_0x32680f:[],_0x5dff7b=(_0x381d73=_0x546465==null?void 0x0:_0x546465[_0x207342(0x246)])!=null?_0x381d73:null,_0x5e4c25=!!(_0x5dff7b!=null&&_0x5dff7b['sid'])&&!!(_0x5dff7b!=null&&_0x5dff7b[_0x207342(0x478)]);this[_0x207342(0x248)]=_0x5e4c25?_0x5dff7b[_0x207342(0x1a2)]:_0x2941b6(),this['_changesetReqId']=_0x5e4c25?_0x5dff7b[_0x207342(0x478)]:0x0;const _0x179f27=this[_0x207342(0x280)];try{this[_0x207342(0x37c)](_0x5dff7b,_0x1be172);}catch(_0x30e385){this['_logService'][_0x207342(0x4b1)](_0x30e385);}const _0x3b7579=this[_0x207342(0x2d2)]();if(_0x54dc8e){const _0x3cf4c8=_0x3330fd(this[_0x207342(0x4c7)],_0x179f27,this['_type'],_0x5dff7b,_0x1be172,_0x3b7579);return _0x3cf4c8 instanceof _0x5b2db2?_0x3cf4c8[_0x207342(0x250)]():(_0x3cf4c8 instanceof _0x4708d2||_0x3cf4c8 instanceof _0x537ae5)&&_0x3cf4c8[_0x207342(0x38d)](),_0x3cf4c8;}return this[_0x207342(0x4c7)][_0x207342(0x385)](_0x49fbec,_0x179f27,this['_type'],_0x5dff7b,_0x1be172,_0x3b7579);}[_0x416c04(0x37c)](_0x83abcb,_0x3130fd){const _0x2f5a84=_0x416c04;var _0x4dc05e,_0x2871a9;const _0x2a826c=this[_0x2f5a84(0x379)]['interceptor'][_0x2f5a84(0x2ac)](this[_0x2f5a84(0x379)][_0x2f5a84(0x234)]['getInterceptPoints']()[_0x2f5a84(0x27b)]);(_0x4dc05e=_0x2a826c((_0x83abcb==null?void 0x0:_0x83abcb[_0x2f5a84(0xa2)])||[],null))==null||_0x4dc05e['forEach'](_0x4f9427=>this[_0x2f5a84(0x3ac)][_0x2f5a84(0x4dc)](_0x4f9427['id'],_0x4f9427['params'])),(_0x2871a9=_0x2a826c(_0x3130fd||[],null))==null||_0x2871a9['forEach'](_0x46cf20=>this[_0x2f5a84(0x3ac)][_0x2f5a84(0x4dc)](_0x46cf20['id'],_0x46cf20[_0x2f5a84(0x402)]));}},_0x1b5475[_0x416c04(0x24a)]=_0x595650([_0x294835(0x3,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c['Injector'])),_0x294835(0x4,_0x3d563c[_0x416c04(0x4d1)](_0x1b5475['LocalCacheService'])),_0x294835(0x5,_0x3d563c['Inject'](_0x520737[_0x416c04(0x4a1)])),_0x294835(0x6,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x311)])),_0x294835(0x7,_0x3d563c['Inject'](_0x520737['RevisionService'])),_0x294835(0x8,_0x3d563c['ILogService']),_0x294835(0x9,_0x3d563c['ICommandService']),_0x294835(0xa,_0xe60abc['IMessageService']),_0x294835(0xb,_0x3d563c[_0x416c04(0x3d3)]),_0x294835(0xc,_0x3d563c['Optional'](_0x3cc9ac))],_0x1b5475[_0x416c04(0x24a)]),_0x1b5475['DocCollaborationEntity']=class extends _0x1b5475[_0x416c04(0x24a)]{constructor(_0x1e5fe6,_0x33ca39,_0x5a1a8e,_0x2181ba,_0x484c35,_0xef9150,_0x39ee6a,_0x50643e,_0x154480,_0x193a67,_0x91ae87,_0x32f521,_0x57a330,_0x445e52,_0x403e6e,_0x18217f,_0x1c402a,_0x4a4150){const _0x12a3b3=_0x416c04;super(_0x1e5fe6,_0x5a1a8e,_0x33ca39,_0x2181ba,_0x484c35,_0xef9150,_0x39ee6a,_0x50643e,_0x445e52,_0x403e6e,_0x18217f,_0x1c402a,_0x4a4150),this[_0x12a3b3(0x280)]=_0x1e5fe6,this[_0x12a3b3(0x6e)]=_0x33ca39,this[_0x12a3b3(0x13c)]=_0x154480,this[_0x12a3b3(0x3eb)]=_0x193a67,this[_0x12a3b3(0x363)]=_0x91ae87,this[_0x12a3b3(0x2f2)]=_0x32f521,this['_docSyncEditingCollabCursorService']=_0x57a330;}['_createHandler'](){const _0x5b884a=_0x416c04,_0x3f9176=super[_0x5b884a(0x2d2)]();return _0x3f9176[_0x5b884a(0x201)]=_0x5dcae9=>this['_docTransformIMECacheService'][_0x5b884a(0x2b6)](_0x5dcae9),_0x3f9176[_0x5b884a(0x30e)]=_0x286e64=>this[_0x5b884a(0x363)][_0x5b884a(0x42a)](_0x286e64),_0x3f9176[_0x5b884a(0xc7)]=_0x582baa=>this[_0x5b884a(0x2f2)]['transformSelections'](_0x582baa),_0x3f9176[_0x5b884a(0x394)]=_0x3fc400=>this[_0x5b884a(0x80)][_0x5b884a(0x86)](_0x3fc400),_0x3f9176['onTransformRemoteChangesetByIMECache']=_0x1d9c27=>this[_0x5b884a(0x3eb)][_0x5b884a(0x23b)](_0x1d9c27),_0x3f9176[_0x5b884a(0x3fd)]=_0x4a7001=>this[_0x5b884a(0x363)][_0x5b884a(0x23b)](_0x4a7001),_0x3f9176;}async['_init'](){const _0x5e216f=_0x416c04,_0x463dc9=await super[_0x5e216f(0x2b1)]();return this['_docStateChangeManagerService'][_0x5e216f(0x3b3)][_0x5e216f(0x123)](_0x10d074[_0x5e216f(0x288)](this[_0x5e216f(0x2a9)]))['subscribe'](_0x3c85cb=>{const _0x295678=_0x5e216f;if(_0x3c85cb==null)return;const {unitId:_0x103f92,redoState:_0x21d1c5,commandId:_0x38b90c}=_0x3c85cb;if(_0x103f92!==this[_0x295678(0x280)])return;const _0x45ab2e={'id':_0x38b90c,'type':_0x3d563c[_0x295678(0x3b9)][_0x295678(0x326)],'params':{'unitId':_0x103f92,'actions':_0x21d1c5[_0x295678(0x344)],'textRanges':null}};this[_0x295678(0x3f9)](_0x45ab2e);}),_0x463dc9;}},_0x1b5475[_0x416c04(0x3a0)]=_0x595650([_0x294835(0x3,_0x3d563c['Inject'](_0x3d563c['Injector'])),_0x294835(0x4,_0x3d563c[_0x416c04(0x4d1)](_0x1b5475[_0x416c04(0x26c)])),_0x294835(0x5,_0x3d563c['Inject'](_0x520737[_0x416c04(0x4a1)])),_0x294835(0x6,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c['LocaleService'])),_0x294835(0x7,_0x3d563c['Inject'](_0x520737[_0x416c04(0x2e6)])),_0x294835(0x8,_0x3d563c['Inject'](_0x4212a5[_0x416c04(0x34f)])),_0x294835(0x9,_0x3d563c[_0x416c04(0x4d1)](_0x1e4b8d)),_0x294835(0xa,_0x3d563c[_0x416c04(0x4d1)](_0xa1c94b)),_0x294835(0xb,_0x3d563c[_0x416c04(0x4d1)](_0x3e8219)),_0x294835(0xc,_0x3d563c[_0x416c04(0x4d1)](_0x50baf1)),_0x294835(0xd,_0x3d563c[_0x416c04(0x2fd)]),_0x294835(0xe,_0x3d563c[_0x416c04(0x3e8)]),_0x294835(0xf,_0xe60abc[_0x416c04(0x1b7)]),_0x294835(0x10,_0x3d563c[_0x416c04(0x3d3)]),_0x294835(0x11,_0x3d563c['Optional'](_0x3cc9ac))],_0x1b5475[_0x416c04(0x3a0)]),_0x1b5475[_0x416c04(0x22d)]=class extends _0x1b5475[_0x416c04(0x24a)]{constructor(_0x24ba8a,_0xa6eb00,_0x347cb5,_0x5531ef,_0x2bdde7,_0x33402c,_0x4de91f,_0x224851,_0x8dbde2,_0x435304,_0x5b2d00,_0x5ed19a,_0x4e96ab,_0x3200a5){const _0x1122c2=_0x416c04;super(_0x24ba8a,_0x347cb5,_0xa6eb00,_0x5531ef,_0x2bdde7,_0x33402c,_0x4de91f,_0x224851,_0x435304,_0x5b2d00,_0x5ed19a,_0x4e96ab,_0x3200a5),this[_0x1122c2(0x280)]=_0x24ba8a,this[_0x1122c2(0x6e)]=_0xa6eb00,this[_0x1122c2(0x494)]=_0x8dbde2;}[_0x416c04(0x2d2)](){const _0x29771b=_0x416c04,_0x2e8bc3=super[_0x29771b(0x2d2)]();return _0x2e8bc3[_0x29771b(0xc7)]=_0x84a3ca=>this[_0x29771b(0x494)][_0x29771b(0x47f)](_0x84a3ca),_0x2e8bc3;}async[_0x416c04(0x2b1)](){const _0x223794=_0x416c04,_0x5735ab=await super[_0x223794(0x2b1)]();return this[_0x223794(0x4e9)](this[_0x223794(0x3ac)][_0x223794(0x254)]((_0xc6f421,_0x28dc1e)=>{const _0x16eaa7=_0x223794;if(_0xc6f421[_0x16eaa7(0x6e)]!==_0x3d563c['CommandType'][_0x16eaa7(0x326)]||_0x28dc1e!=null&&_0x28dc1e[_0x16eaa7(0x37f)]||_0x28dc1e!=null&&_0x28dc1e[_0x16eaa7(0x122)])return;const _0x59239f=_0xc6f421[_0x16eaa7(0x402)];if((_0x59239f==null?void 0x0:_0x59239f[_0x16eaa7(0x425)])!==this['unitID'])return;const _0x9ddd0f=_0xc6f421,_0x129723=this[_0x16eaa7(0x379)]['interceptor'][_0x16eaa7(0x2ac)](this['_compressMutationService'][_0x16eaa7(0x234)][_0x16eaa7(0x331)]()[_0x16eaa7(0x325)])([_0x9ddd0f],null)||[_0x9ddd0f];this[_0x16eaa7(0x3f9)](_0x129723[0x0]);})),_0x5735ab;}},_0x1b5475['SheetCollaborationEntity']=_0x595650([_0x294835(0x3,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c['Injector'])),_0x294835(0x4,_0x3d563c[_0x416c04(0x4d1)](_0x1b5475[_0x416c04(0x26c)])),_0x294835(0x5,_0x3d563c[_0x416c04(0x4d1)](_0x520737[_0x416c04(0x4a1)])),_0x294835(0x6,_0x3d563c['Inject'](_0x3d563c['LocaleService'])),_0x294835(0x7,_0x3d563c[_0x416c04(0x4d1)](_0x520737['RevisionService'])),_0x294835(0x8,_0x3d563c[_0x416c04(0x4d1)](_0x2e8a2a)),_0x294835(0x9,_0x3d563c['ILogService']),_0x294835(0xa,_0x3d563c[_0x416c04(0x3e8)]),_0x294835(0xb,_0xe60abc[_0x416c04(0x1b7)]),_0x294835(0xc,_0x3d563c[_0x416c04(0x3d3)]),_0x294835(0xd,_0x3d563c['Optional'](_0x3cc9ac))],_0x1b5475[_0x416c04(0x22d)]);var _0x2a0ec2=Object[_0x416c04(0x2e4)],_0x1337c0=Object[_0x416c04(0x4e2)],_0x4facea=(_0x11135f,_0x4c715b,_0x4b8c77,_0x5524fb)=>{const _0x3fcd19=_0x416c04;for(var _0x59d43a=_0x5524fb>0x1?void 0x0:_0x5524fb?_0x1337c0(_0x4c715b,_0x4b8c77):_0x4c715b,_0x2b3551=_0x11135f[_0x3fcd19(0x26a)]-0x1,_0x5d8203;_0x2b3551>=0x0;_0x2b3551--)(_0x5d8203=_0x11135f[_0x2b3551])&&(_0x59d43a=(_0x5524fb?_0x5d8203(_0x4c715b,_0x4b8c77,_0x59d43a):_0x5d8203(_0x59d43a))||_0x59d43a);return _0x5524fb&&_0x59d43a&&_0x2a0ec2(_0x4c715b,_0x4b8c77,_0x59d43a),_0x59d43a;},_0x48e47e=(_0x188e0d,_0x27c79a)=>(_0x9ac7a5,_0x5ec63a)=>_0x27c79a(_0x9ac7a5,_0x5ec63a,_0x188e0d);_0x1b5475['CollaborationController']=class extends _0x3d563c['RxDisposable']{constructor(_0x5bd121,_0x149999,_0x37c955){const _0x1b15c8=_0x416c04;super(),_0x10d0d4(this,_0x1b15c8(0x89),new Map()),_0x10d0d4(this,'_entityInit$',new _0x10d074[(_0x1b15c8(0x178))]()),(this[_0x1b15c8(0x4c7)]=_0x5bd121,this[_0x1b15c8(0x487)]=_0x149999,this[_0x1b15c8(0x468)]=_0x37c955,this[_0x1b15c8(0x2b1)]());}[_0x416c04(0x516)](){const _0x14eaf3=_0x416c04;super[_0x14eaf3(0x516)](),this['_entities'][_0x14eaf3(0x124)](_0x5f359e=>_0x5f359e[_0x14eaf3(0x516)]()),this[_0x14eaf3(0x89)][_0x14eaf3(0x4a8)]();}[_0x416c04(0x22a)](_0x45d681){const _0x5a7745=_0x416c04;var _0x39b287;return(_0x39b287=this[_0x5a7745(0x89)][_0x5a7745(0x529)](_0x45d681))!=null?_0x39b287:null;}[_0x416c04(0x365)](_0x1c10b5){const _0x18bae8=_0x416c04,_0x5715b8=this['getCollabEntity'](_0x1c10b5);return _0x5715b8?_0x10d074['of'](_0x5715b8):this[_0x18bae8(0x3d5)][_0x18bae8(0x123)](_0x2da86d[_0x18bae8(0x1e6)](_0x43180c=>_0x43180c['unitID']===_0x1c10b5));}[_0x416c04(0x2b1)](){const _0x434975=_0x416c04;this[_0x434975(0x468)]['getTypeOfUnitAdded$'](_0x3d563c['UniverInstanceType'][_0x434975(0x2ec)])[_0x434975(0x123)](_0x10d074[_0x434975(0x288)](this['dispose$']),_0x2da86d[_0x434975(0x2e8)](0x10))['subscribe'](async _0x201744=>{const _0x26a69a=_0x434975,_0x1cdad2=_0x201744[_0x26a69a(0x18e)](),_0xe2ba18=await this[_0x26a69a(0x23c)](_0x1cdad2,_0x2cf20e[_0x26a69a(0x2ec)]);this[_0x26a69a(0x89)]['set'](_0x1cdad2,_0xe2ba18);}),this[_0x434975(0x468)][_0x434975(0x3a1)](_0x3d563c[_0x434975(0x3b1)]['UNIVER_DOC'])['pipe'](_0x10d074['takeUntil'](this[_0x434975(0x2a9)]),_0x2da86d['delay'](0x10))[_0x434975(0x123)](_0x2da86d[_0x434975(0x1e6)](_0x1b0194=>!_0x1b0194['getUnitId']()[_0x434975(0xa6)]('__')))[_0x434975(0x31f)](async _0x4c7d7d=>{const _0x25ee74=_0x434975,_0x43b5e5=_0x4c7d7d[_0x25ee74(0x18e)](),_0x50e214=await this[_0x25ee74(0x23c)](_0x43b5e5,_0x2cf20e[_0x25ee74(0x465)]);this[_0x25ee74(0x89)][_0x25ee74(0x4ce)](_0x43b5e5,_0x50e214);}),_0x10d074['merge'](this[_0x434975(0x468)][_0x434975(0x318)](_0x3d563c[_0x434975(0x3b1)][_0x434975(0x2ec)]),this[_0x434975(0x468)][_0x434975(0x318)](_0x3d563c[_0x434975(0x3b1)][_0x434975(0x465)]))[_0x434975(0x123)](_0x10d074[_0x434975(0x288)](this[_0x434975(0x2a9)]))[_0x434975(0x31f)](_0x374d70=>{const _0x12cb3f=_0x434975,_0x9d2038=_0x374d70[_0x12cb3f(0x18e)](),_0x53e218=this[_0x12cb3f(0x89)][_0x12cb3f(0x529)](_0x9d2038);_0x53e218&&(_0x53e218[_0x12cb3f(0x516)](),this[_0x12cb3f(0x89)]['delete'](_0x9d2038));});}async['_startCollaboration'](_0x51d9ee,_0x2cfda8){const _0x4fc69d=_0x416c04,_0x1da19a=await this[_0x4fc69d(0x487)][_0x4fc69d(0x92)](_0x51d9ee),_0x2f651f=this[_0x4fc69d(0x4c7)][_0x4fc69d(0x385)](this[_0x4fc69d(0x14b)](_0x2cfda8),_0x51d9ee,_0x2cfda8,_0x1da19a);return await _0x2f651f['init'](),this['_entityInit$']['next'](_0x2f651f),_0x2f651f;}[_0x416c04(0x14b)](_0x557a00){const _0x4c3026=_0x416c04;switch(_0x557a00){case _0x2cf20e[_0x4c3026(0x465)]:return _0x1b5475[_0x4c3026(0x3a0)];case _0x2cf20e['UNIVER_SHEET']:return _0x1b5475['SheetCollaborationEntity'];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x557a00);}}},_0x1b5475['CollaborationController']=_0x4facea([_0x48e47e(0x0,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c['Injector'])),_0x48e47e(0x1,_0x3d563c[_0x416c04(0x4d1)](_0x1b5475[_0x416c04(0x364)])),_0x48e47e(0x2,_0x3d563c['IUniverInstanceService'])],_0x1b5475['CollaborationController']);const _0x4cc28f=[_0x416c04(0x28a),_0x416c04(0x202),_0x416c04(0x321),_0x416c04(0x3fc),'blue400',_0x416c04(0x105)];class _0x449153 extends _0x3d563c[_0x416c04(0x9d)]{constructor(){const _0x5ce0b5=_0x416c04;super(...arguments),_0x10d0d4(this,_0x5ce0b5(0x4b8),new Map()),_0x10d0d4(this,_0x5ce0b5(0x12a),0x0);}[_0x416c04(0x24b)](_0xb7ed90){const _0x5f1555=_0x416c04;if(this[_0x5f1555(0x4b8)][_0x5f1555(0x6c)](_0xb7ed90))return this[_0x5f1555(0x4b8)][_0x5f1555(0x529)](_0xb7ed90);const _0x151c44=_0x4cc28f[this[_0x5f1555(0x12a)]];return this[_0x5f1555(0x12a)]=(this[_0x5f1555(0x12a)]+0x1)%_0x4cc28f[_0x5f1555(0x26a)],this[_0x5f1555(0x4b8)][_0x5f1555(0x4ce)](_0xb7ed90,_0x151c44),_0x151c44;}}var _0x41bb5e=Object[_0x416c04(0x2e4)],_0x316ace=Object['getOwnPropertyDescriptor'],_0x554116=(_0x13eb60,_0xd9bf96,_0x1b63ef,_0xe8ffdd)=>{const _0x1784ce=_0x416c04;for(var _0x1b2f70=_0xe8ffdd>0x1?void 0x0:_0xe8ffdd?_0x316ace(_0xd9bf96,_0x1b63ef):_0xd9bf96,_0x5100a7=_0x13eb60[_0x1784ce(0x26a)]-0x1,_0x4748b5;_0x5100a7>=0x0;_0x5100a7--)(_0x4748b5=_0x13eb60[_0x5100a7])&&(_0x1b2f70=(_0xe8ffdd?_0x4748b5(_0xd9bf96,_0x1b63ef,_0x1b2f70):_0x4748b5(_0x1b2f70))||_0x1b2f70);return _0xe8ffdd&&_0x1b2f70&&_0x41bb5e(_0xd9bf96,_0x1b63ef,_0x1b2f70),_0x1b2f70;},_0x269282=(_0x45ae78,_0x3091e1)=>(_0x420946,_0x37647e)=>_0x3091e1(_0x420946,_0x37647e,_0x45ae78);const _0x3e0fad=0x12c,_0x20ef45=0x64;let _0x29baca=class extends _0x3d563c[_0x416c04(0x9b)]{constructor(_0x2757e6,_0xbb6b72,_0x2533f5,_0xa5eade,_0x333257,_0x2e3bd9,_0x481698,_0x4db2e8,_0x3dad48){const _0x1f0357=_0x416c04;super(),_0x10d0d4(this,_0x1f0357(0x388),!0x1),_0x10d0d4(this,_0x1f0357(0x2b1),!0x1),_0x10d0d4(this,_0x1f0357(0x4c4),new _0x10d074[(_0x1f0357(0x500))](new Map())),_0x10d0d4(this,'cursorInfo$',this['_cursorInfo$'][_0x1f0357(0x349)]()),_0x10d0d4(this,_0x1f0357(0x50e),new _0x10d074[(_0x1f0357(0x500))]([])),_0x10d0d4(this,_0x1f0357(0x1f8),this[_0x1f0357(0x50e)][_0x1f0357(0x123)](_0x10d074[_0x1f0357(0x3d6)](_0x3e0fad))),_0x10d0d4(this,_0x1f0357(0x359),_0x3d563c[_0x1f0357(0x45f)](_0x25749d=>{const _0x2eb5b8=_0x1f0357,_0xd2d032={'eventID':_0x520737[_0x2eb5b8(0x52d)][_0x2eb5b8(0x147)],'data':{'unitID':this[_0x2eb5b8(0x280)],'memberID':this['_session'][_0x2eb5b8(0x26d)](),'selection':_0x957268(_0x25749d)}};this[_0x2eb5b8(0xc1)][_0x2eb5b8(0x2ad)](_0xd2d032,this[_0x2eb5b8(0x280)]);},_0x20ef45)),(this[_0x1f0357(0x280)]=_0x2757e6,this[_0x1f0357(0xc1)]=_0xbb6b72,this[_0x1f0357(0x4c7)]=_0x2533f5,this[_0x1f0357(0x90)]=_0xa5eade,this[_0x1f0357(0x399)]=_0x333257,this[_0x1f0357(0x512)]=_0x2e3bd9,this[_0x1f0357(0x392)]=_0x481698,this[_0x1f0357(0x468)]=_0x4db2e8,this[_0x1f0357(0x3ac)]=_0x3dad48);}get[_0x416c04(0x38c)](){return this['_cursorInfo$']['getValue']();}get[_0x416c04(0x323)](){const _0x324d46=_0x416c04;return this[_0x324d46(0x50e)][_0x324d46(0x49b)]();}['dispose'](){const _0x34fc8b=_0x416c04;super[_0x34fc8b(0x516)](),this[_0x34fc8b(0x4c4)][_0x34fc8b(0x50f)](new Map()),this[_0x34fc8b(0x4c4)]['complete'](),this[_0x34fc8b(0x50e)][_0x34fc8b(0x50f)]([]),this[_0x34fc8b(0x50e)][_0x34fc8b(0x9f)]();}[_0x416c04(0x479)](){const _0x25d781=_0x416c04;this[_0x25d781(0x2b1)]||(this[_0x25d781(0x2b1)]=!0x0,this[_0x25d781(0xc1)][_0x25d781(0x17f)][_0x25d781(0x123)](_0x10d074[_0x25d781(0x288)](this[_0x25d781(0x2a9)]))['subscribe'](_0x569231=>{const _0x3c289e=_0x25d781;_0x569231===_0x1467c9[_0x3c289e(0x99)]?this[_0x3c289e(0x32b)]():this[_0x3c289e(0x351)]();}),this[_0x25d781(0xc1)][_0x25d781(0xd7)][_0x25d781(0x123)](_0x10d074[_0x25d781(0x288)](this['dispose$']))[_0x25d781(0x31f)](_0x228e2b=>{const _0x4d8c5f=_0x25d781,_0x59d8f2=_0x228e2b['eventID'];_0x59d8f2===_0x520737[_0x4d8c5f(0x52d)][_0x4d8c5f(0x147)]&&this[_0x4d8c5f(0x21a)](_0x228e2b),_0x59d8f2===_0x520737['CollaborationEvent']['USERS_LEAVE']&&this[_0x4d8c5f(0x20f)](_0x228e2b);}),this[_0x25d781(0x4e9)](this['_commandService'][_0x25d781(0x254)](_0x26fa79=>{const _0x5e822b=_0x25d781,_0x4a1965=_0x26fa79['params'];_0x4a1965!=null&&this['_online']&&_0x26fa79['id']===_0x2fb3a7[_0x5e822b(0x49f)]['id']&&_0x4a1965[_0x5e822b(0x425)]===this['unitID']&&_0x4a1965[_0x5e822b(0x36e)]===!0x1&&_0x4a1965['ranges'][_0x5e822b(0x26a)]>0x0&&this[_0x5e822b(0x359)](_0x4a1965['ranges']);})),this[_0x25d781(0x512)][_0x25d781(0x75)][_0x25d781(0x123)](_0x10d074[_0x25d781(0x288)](this[_0x25d781(0x2a9)]))[_0x25d781(0x31f)](_0x340f03=>{const _0x434936=_0x25d781;if((_0x340f03==null?void 0x0:_0x340f03[_0x434936(0x280)])!==this[_0x434936(0x280)])return;const _0x3f758b={'eventID':_0x520737[_0x434936(0x52d)][_0x434936(0x147)],'data':_0x340f03};this[_0x434936(0x21a)](_0x3f758b);}),this[_0x25d781(0x4e9)](this['_commandService'][_0x25d781(0x254)](_0x25c1e3=>{const _0x49252f=_0x25d781;if(_0x25c1e3[_0x49252f(0x402)]==null)return;const _0x11cda8=_0x25c1e3[_0x49252f(0x402)];if(_0x25c1e3['id']!==_0x2fb3a7['RichTextEditingMutation']['id']||_0x11cda8[_0x49252f(0x425)]!==this['unitID'])return;const _0x2771cf={'id':_0x49252f(0x3af),'params':_0x11cda8},_0x591b7f=this['cursorInfo'];for(const [_0x390753,_0x3285df]of _0x591b7f){const _0x5e98d7={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x49252f(0x280)],'actions':null,'textRanges':_0x3285df[_0x49252f(0x1c6)]}},_0x57cb7b=this[_0x49252f(0x392)][_0x49252f(0x168)](_0x2771cf,_0x5e98d7,!0x1);if(_0x520737['isTransformMutationFailure'](_0x57cb7b))throw _0x57cb7b[_0x49252f(0x4b1)];_0x591b7f[_0x49252f(0x4ce)](_0x390753,{..._0x3285df,'ranges':_0x57cb7b[_0x49252f(0x85)][_0x49252f(0x402)][_0x49252f(0x4f2)]});}queueMicrotask(()=>{const _0x41d093=_0x49252f;this[_0x41d093(0x4c4)][_0x41d093(0x50f)](_0x591b7f);});})));}['_onCursorUpdate'](_0x6992ae){const _0xc100cd=_0x416c04;var _0x523437,_0x3886eb;const {memberID:_0x3f356d,selection:_0x3d9802}=_0x6992ae[_0xc100cd(0xa1)],_0x2536fc=_0x2aea7a(_0x3d9802),_0x4a4b24=(_0x3886eb=(_0x523437=this[_0xc100cd(0x399)][_0xc100cd(0x2ed)](this[_0xc100cd(0x280)],_0x3f356d))==null?void 0x0:_0x523437[_0xc100cd(0x241)])!=null?_0x3886eb:'Unknown\x20user',_0x199385={'color':this[_0xc100cd(0x90)][_0xc100cd(0x24b)](_0x3f356d),'name':_0x4a4b24,'ranges':_0x2536fc},_0x225f13=this[_0xc100cd(0x38c)];_0x225f13[_0xc100cd(0x4ce)](_0x3f356d,_0x199385),this[_0xc100cd(0x4c4)]['next'](_0x225f13);}[_0x416c04(0x20f)](_0x1dcea2){const _0x371cf1=_0x416c04,{memberID:_0x32a3e6}=_0x1dcea2[_0x371cf1(0xa1)],_0x5e951f=this['cursorInfo'];_0x5e951f[_0x371cf1(0xe8)](_0x32a3e6),this['_cursorInfo$']['next'](_0x5e951f);}[_0x416c04(0x32b)](){const _0x332dfa=_0x416c04;var _0x51fd21;if(this[_0x332dfa(0x388)]=!0x0,((_0x51fd21=this[_0x332dfa(0x468)][_0x332dfa(0x9c)]())==null?void 0x0:_0x51fd21['getUnitId']())!==this[_0x332dfa(0x280)])return;const _0x40aa75=this[_0x332dfa(0x4c7)][_0x332dfa(0x529)](_0x2fb3a7['DocSelectionManagerService'])[_0x332dfa(0x114)]();Array[_0x332dfa(0x408)](_0x40aa75)&&_0x40aa75['length']>0x0&&this[_0x332dfa(0x359)](_0x40aa75);}['_toggleOffline'](){this['_online']=!0x1;}};_0x29baca=_0x554116([_0x269282(0x2,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x25f)])),_0x269282(0x3,_0x3d563c[_0x416c04(0x4d1)](_0x449153)),_0x269282(0x4,_0x3d563c[_0x416c04(0x4d1)](_0x1b5475[_0x416c04(0x2f4)])),_0x269282(0x5,_0x3d563c[_0x416c04(0x4d1)](_0x50baf1)),_0x269282(0x6,_0x520737[_0x416c04(0x302)]),_0x269282(0x7,_0x3d563c[_0x416c04(0x127)]),_0x269282(0x8,_0x3d563c['ICommandService'])],_0x29baca);var _0x3562ba=Object[_0x416c04(0x2e4)],_0x465343=Object[_0x416c04(0x4e2)],_0x9ae6f9=(_0x4b90db,_0x45a6fe,_0x1765d5,_0x5e41aa)=>{const _0x50d57d=_0x416c04;for(var _0x32adca=_0x5e41aa>0x1?void 0x0:_0x5e41aa?_0x465343(_0x45a6fe,_0x1765d5):_0x45a6fe,_0x1ccf16=_0x4b90db[_0x50d57d(0x26a)]-0x1,_0x577226;_0x1ccf16>=0x0;_0x1ccf16--)(_0x577226=_0x4b90db[_0x1ccf16])&&(_0x32adca=(_0x5e41aa?_0x577226(_0x45a6fe,_0x1765d5,_0x32adca):_0x577226(_0x32adca))||_0x32adca);return _0x5e41aa&&_0x32adca&&_0x3562ba(_0x45a6fe,_0x1765d5,_0x32adca),_0x32adca;},_0x294218=(_0x4f1878,_0x53dc31)=>(_0xe7bc3c,_0x300431)=>_0x53dc31(_0xe7bc3c,_0x300431,_0x4f1878);const _0x528285=0x12c,_0x3e5e8f=0x64,_0x71a357=()=>{let _0x49ee16=[],_0x1fcb97=!0x1;return _0x21476e=>{_0x49ee16['push'](_0x21476e),_0x1fcb97||(_0x1fcb97=!0x0,setTimeout(()=>{const _0x457091=_0x3e32;_0x49ee16[_0x457091(0x124)](_0x59b409=>_0x59b409()),_0x49ee16=[],_0x1fcb97=!0x1;}));};};let _0x537cec=class extends _0x3d563c['RxDisposable']{constructor(_0x2608e7,_0x4ac591,_0x551dff,_0x584d93,_0x331f2b,_0x3a586e,_0x49103d,_0x3a8831){const _0x43d7f0=_0x416c04;super(),_0x10d0d4(this,_0x43d7f0(0x388),!0x1),_0x10d0d4(this,_0x43d7f0(0x2b1),!0x1),_0x10d0d4(this,'_cursorInfo$',new _0x10d074[(_0x43d7f0(0x500))](new Map())),_0x10d0d4(this,_0x43d7f0(0x290),this[_0x43d7f0(0x4c4)]['asObservable']()),_0x10d0d4(this,_0x43d7f0(0x50e),new _0x10d074[(_0x43d7f0(0x500))]([])),_0x10d0d4(this,_0x43d7f0(0x1f8),this[_0x43d7f0(0x50e)][_0x43d7f0(0x123)](_0x10d074['debounceTime'](_0x528285))),_0x10d0d4(this,'_updateLocalCursor',_0x3d563c['debounce']((_0x1de738,_0x41c58b)=>{const _0x5ed205=_0x43d7f0,_0x5309db={'eventID':_0x520737[_0x5ed205(0x52d)][_0x5ed205(0x147)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x5ed205(0x26d)](),'selection':_0x396f5d[_0x5ed205(0x111)](_0x1de738,_0x41c58b[_0x5ed205(0x16b)])}};this[_0x5ed205(0xc1)][_0x5ed205(0x2ad)](_0x5309db,this['unitID']);},_0x3e5e8f)),(this['unitID']=_0x2608e7,this[_0x43d7f0(0xc1)]=_0x4ac591,this[_0x43d7f0(0x4c7)]=_0x551dff,this[_0x43d7f0(0x90)]=_0x584d93,this[_0x43d7f0(0x399)]=_0x331f2b,this[_0x43d7f0(0x468)]=_0x3a586e,this[_0x43d7f0(0x3ac)]=_0x49103d,this[_0x43d7f0(0x489)]=_0x3a8831);}get[_0x416c04(0x38c)](){const _0x281555=_0x416c04;return this[_0x281555(0x4c4)][_0x281555(0x49b)]();}get[_0x416c04(0x323)](){const _0x34ac7a=_0x416c04;return this[_0x34ac7a(0x50e)][_0x34ac7a(0x49b)]();}[_0x416c04(0x516)](){const _0xc81824=_0x416c04;super[_0xc81824(0x516)](),this['_cursorInfo$'][_0xc81824(0x50f)](new Map()),this[_0xc81824(0x4c4)]['complete'](),this[_0xc81824(0x50e)][_0xc81824(0x50f)]([]),this[_0xc81824(0x50e)][_0xc81824(0x9f)]();}['init'](){const _0x210ab=_0x416c04;this[_0x210ab(0x2b1)]||(this[_0x210ab(0x2b1)]=!0x0,this['_session'][_0x210ab(0x17f)][_0x210ab(0x123)](_0x10d074[_0x210ab(0x288)](this[_0x210ab(0x2a9)]))[_0x210ab(0x31f)](_0x26926e=>{const _0x175cef=_0x210ab;_0x26926e===_0x1467c9[_0x175cef(0x99)]?this['_toggleOnline']():this[_0x175cef(0x351)]();}),this['_session']['event$'][_0x210ab(0x123)](_0x10d074['takeUntil'](this[_0x210ab(0x2a9)]))[_0x210ab(0x31f)](_0x1440b5=>{const _0x5014d9=_0x210ab,_0x65b7db=_0x1440b5[_0x5014d9(0xac)];_0x65b7db===_0x520737['CollaborationEvent'][_0x5014d9(0x147)]&&this[_0x5014d9(0x21a)](_0x1440b5),_0x65b7db===_0x520737[_0x5014d9(0x52d)][_0x5014d9(0x43e)]&&this[_0x5014d9(0x20f)](_0x1440b5);}),this[_0x210ab(0x12c)](),this[_0x210ab(0x4e9)](this[_0x210ab(0x3ac)][_0x210ab(0x254)](_0xc1ab2a=>{const _0x97a5b7=_0x210ab;if(this[_0x97a5b7(0x388)]&&_0xc1ab2a['id']===_0xa13da4[_0x97a5b7(0x2bc)]['id']&&_0xc1ab2a[_0x97a5b7(0x402)][_0x97a5b7(0x425)]===this['unitID']){const _0xdad488=_0xc1ab2a[_0x97a5b7(0x402)];this['_updateLocalCursor'](_0xdad488['subUnitId'],_0xdad488['selections'][0x0]);}})));}['_onCursorUpdate'](_0x33c997){const _0x1ca72d=_0x416c04;var _0x864cdf,_0x49c161;const {memberID:_0x17a24d,selection:_0xdefbe2}=_0x33c997[_0x1ca72d(0xa1)],{sheetName:_0x502396,range:_0x3acb23}=_0x396f5d[_0x1ca72d(0x141)](_0xdefbe2),_0x3a3951={'name':(_0x49c161=(_0x864cdf=this[_0x1ca72d(0x399)][_0x1ca72d(0x2ed)](this[_0x1ca72d(0x280)],_0x17a24d))==null?void 0x0:_0x864cdf[_0x1ca72d(0x241)])!=null?_0x49c161:_0x1ca72d(0x4a7),'range':this[_0x1ca72d(0x37d)](_0x502396,_0x3acb23),'sheetID':_0x502396,'color':this[_0x1ca72d(0x90)][_0x1ca72d(0x24b)](_0x17a24d),'selection':_0xdefbe2},_0x8cf34b=this[_0x1ca72d(0x38c)];_0x8cf34b[_0x1ca72d(0x4ce)](_0x17a24d,_0x3a3951),this[_0x1ca72d(0x4c4)][_0x1ca72d(0x50f)](_0x8cf34b);}[_0x416c04(0x20f)](_0x31853c){const _0x5b4d9e=_0x416c04,{memberID:_0x458f94}=_0x31853c[_0x5b4d9e(0xa1)],_0x2510d0=this[_0x5b4d9e(0x38c)];_0x2510d0[_0x5b4d9e(0xe8)](_0x458f94),this['_cursorInfo$'][_0x5b4d9e(0x50f)](_0x2510d0);}[_0x416c04(0x37d)](_0x13eef7,_0x3b3861){const _0x401142=_0x416c04;var _0x34e804,_0x50aa64;const _0x4e49ca=(_0x50aa64=(_0x34e804=this[_0x401142(0x468)][_0x401142(0x4f7)](this[_0x401142(0x280)]))==null?void 0x0:_0x34e804[_0x401142(0x484)](_0x13eef7))==null?void 0x0:_0x50aa64['getMergeData']();return(_0x4e49ca==null?void 0x0:_0x4e49ca[_0x401142(0x174)](_0x5552fd=>_0x3d563c['Rectangle'][_0x401142(0x1cf)](_0x5552fd,_0x3b3861)))||_0x3b3861;}[_0x416c04(0x12c)](){const _0x22742e=_0x416c04,_0x5bb787=new _0x3d563c[(_0x22742e(0x1bc))](),_0x518353=_0x71a357(),_0x3990c5=()=>{const _0xf2a20=_0x22742e;_0x5bb787[_0xf2a20(0x516)]();const _0x2e0bc9=(_0x53c462,_0x6730f7,_0x364c29,_0x505525)=>{const _0x37a6c3=_0xf2a20;let _0x301734=[];switch(_0x53c462['id']){case _0xa13da4[_0x37a6c3(0x3c0)][_0x37a6c3(0x2cd)]:{_0x301734=_0xa13da4[_0x37a6c3(0x306)](_0x53c462,_0x505525);break;}case _0xa13da4[_0x37a6c3(0x3c0)][_0x37a6c3(0x362)]:{_0x301734=_0xa13da4[_0x37a6c3(0x21d)](_0x53c462,_0x505525);break;}case _0xa13da4[_0x37a6c3(0x3c0)]['InsertColCommandId']:{_0x301734=_0xa13da4[_0x37a6c3(0x34e)](_0x53c462,_0x505525);break;}case _0xa13da4[_0x37a6c3(0x3c0)][_0x37a6c3(0x49d)]:{_0x301734=_0xa13da4[_0x37a6c3(0x10c)](_0x53c462,_0x505525);break;}case _0xa13da4[_0x37a6c3(0x3c0)][_0x37a6c3(0x390)]:{_0x301734=_0xa13da4[_0x37a6c3(0x446)](_0x53c462,_0x505525);break;}case _0xa13da4['EffectRefRangId'][_0x37a6c3(0x25b)]:{_0x301734=_0xa13da4[_0x37a6c3(0x13a)](_0x53c462,_0x505525);break;}case _0xa13da4[_0x37a6c3(0x3c0)][_0x37a6c3(0x32a)]:{_0x301734=_0xa13da4['handleMoveRange'](_0x53c462,_0x505525);break;}case _0xa13da4['EffectRefRangId'][_0x37a6c3(0x3ab)]:{_0x301734=_0xa13da4['handleIRemoveCol'](_0x53c462,_0x505525);break;}case _0xa13da4['EffectRefRangId'][_0x37a6c3(0x308)]:{_0x301734=_0xa13da4[_0x37a6c3(0x522)](_0x53c462,_0x505525);break;}}const _0x3a98ba=_0xa13da4[_0x37a6c3(0xa7)](_0x301734,_0x505525),_0x561151=this['cursorInfo'][_0x37a6c3(0x529)](_0x6730f7);if(_0x561151&&_0x3a98ba){const _0x327a5f={..._0x561151,'range':_0x3a98ba};this['cursorInfo'][_0x37a6c3(0x4ce)](_0x6730f7,_0x327a5f),_0x518353(()=>{const _0x562ea6=_0x37a6c3,_0x32c0f8=this[_0x562ea6(0x489)][_0x562ea6(0x4dd)](_0x3a98ba,_0x29fb1e=>(_0x32c0f8[_0x562ea6(0x516)](),_0x2e0bc9(_0x29fb1e,_0x6730f7,_0x364c29,_0x3a98ba)));_0x5bb787[_0x562ea6(0x44b)](_0x32c0f8);});}return{'redos':[],'undos':[]};};this[_0xf2a20(0x38c)]['forEach']((_0x37ea03,_0x47c596)=>{const _0xaa01c=_0xf2a20,{range:_0x2b8919,sheetID:_0x46ca06}=_0x37ea03,_0x357657=this[_0xaa01c(0x489)][_0xaa01c(0x4dd)](_0x2b8919,_0xccb78e=>(_0x357657[_0xaa01c(0x516)](),_0x2e0bc9(_0xccb78e,_0x47c596,_0x46ca06,_0x2b8919)));_0x5bb787['add'](_0x357657);});};this[_0x22742e(0x4e9)](_0x3d563c[_0x22742e(0x307)](this[_0x22742e(0x4c4)][_0x22742e(0x31f)](()=>{_0x3990c5();})));}['_toggleOnline'](){const _0x4bc1fb=_0x416c04;var _0x273653,_0x15458d;if(this[_0x4bc1fb(0x388)]=!0x0,((_0x273653=this[_0x4bc1fb(0x468)][_0x4bc1fb(0x9c)]())==null?void 0x0:_0x273653[_0x4bc1fb(0x18e)]())!==this[_0x4bc1fb(0x280)])return;const _0x31b4f2=(_0x15458d=this[_0x4bc1fb(0x4c7)][_0x4bc1fb(0x529)](_0xa13da4[_0x4bc1fb(0x104)])[_0x4bc1fb(0x338)]())==null?void 0x0:_0x15458d[0x0],_0x374f59=this['_univerInstanceService'][_0x4bc1fb(0x158)](_0x3d563c[_0x4bc1fb(0x3b1)][_0x4bc1fb(0x2ec)])[_0x4bc1fb(0x403)]();_0x31b4f2&&_0x374f59&&this[_0x4bc1fb(0x359)](_0x374f59[_0x4bc1fb(0x320)](),_0x31b4f2);}[_0x416c04(0x351)](){const _0x569985=_0x416c04;this[_0x569985(0x388)]=!0x1;}};_0x537cec=_0x9ae6f9([_0x294218(0x2,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x25f)])),_0x294218(0x3,_0x3d563c[_0x416c04(0x4d1)](_0x449153)),_0x294218(0x4,_0x3d563c['Inject'](_0x1b5475['MemberService'])),_0x294218(0x5,_0x3d563c[_0x416c04(0x127)]),_0x294218(0x6,_0x3d563c['ICommandService']),_0x294218(0x7,_0x3d563c[_0x416c04(0x4d1)](_0xa13da4[_0x416c04(0x339)]))],_0x537cec);var _0x52326e=Object['defineProperty'],_0x55d56e=Object[_0x416c04(0x4e2)],_0x3bd9d7=(_0x1e05ba,_0x4e1bbe,_0x4c4409,_0x42dd1b)=>{const _0x139731=_0x416c04;for(var _0x3f2e92=_0x42dd1b>0x1?void 0x0:_0x42dd1b?_0x55d56e(_0x4e1bbe,_0x4c4409):_0x4e1bbe,_0x8ebabf=_0x1e05ba[_0x139731(0x26a)]-0x1,_0x15c748;_0x8ebabf>=0x0;_0x8ebabf--)(_0x15c748=_0x1e05ba[_0x8ebabf])&&(_0x3f2e92=(_0x42dd1b?_0x15c748(_0x4e1bbe,_0x4c4409,_0x3f2e92):_0x15c748(_0x3f2e92))||_0x3f2e92);return _0x42dd1b&&_0x3f2e92&&_0x52326e(_0x4e1bbe,_0x4c4409,_0x3f2e92),_0x3f2e92;},_0x50f32f=(_0xc98ae2,_0xff1381)=>(_0x4e3394,_0x15c524)=>_0xff1381(_0x4e3394,_0x15c524,_0xc98ae2);let _0x517f54=class extends _0x3d563c['RxDisposable']{constructor(_0x5c5172,_0x3b7aba,_0x454229){const _0x44d2c=_0x416c04;super(),_0x10d0d4(this,_0x44d2c(0x89),new Map()),_0x10d0d4(this,_0x44d2c(0x3d5),new _0x10d074[(_0x44d2c(0x178))]()),(this['_univerInstanceService']=_0x5c5172,this['_injector']=_0x3b7aba,this['_collabSessionService']=_0x454229,this[_0x44d2c(0x2b1)]());}[_0x416c04(0x516)](){const _0x4d0068=_0x416c04;super[_0x4d0068(0x516)](),this[_0x4d0068(0x3d5)][_0x4d0068(0x9f)](),this[_0x4d0068(0x89)][_0x4d0068(0x124)](_0x5793ca=>_0x5793ca[_0x4d0068(0x516)]());}[_0x416c04(0x1db)](_0x1393ac){const _0x3a1fd7=_0x416c04;return this[_0x3a1fd7(0x89)][_0x3a1fd7(0x6c)](_0x1393ac)?this[_0x3a1fd7(0x89)]['get'](_0x1393ac)[_0x3a1fd7(0x290)]:this[_0x3a1fd7(0x3d5)][_0x3a1fd7(0x123)](_0x10d074[_0x3a1fd7(0x1e6)](_0x238a47=>_0x238a47[_0x3a1fd7(0x280)]===_0x1393ac),_0x10d074[_0x3a1fd7(0x36f)](_0xd4b1ca=>_0xd4b1ca[_0x3a1fd7(0x290)]));}[_0x416c04(0x2b1)](){const _0x5ac09c=_0x416c04;this[_0x5ac09c(0x468)][_0x5ac09c(0x3a1)](_0x3d563c[_0x5ac09c(0x3b1)][_0x5ac09c(0x2ec)])[_0x5ac09c(0x123)](_0x10d074[_0x5ac09c(0x288)](this['dispose$']))['subscribe'](async _0x16f37b=>{const _0x35943f=_0x5ac09c,_0x2bf19d=_0x16f37b['getUnitId'](),_0x314728=await this[_0x35943f(0x110)](_0x2bf19d);this['_entityInit$'][_0x35943f(0x50f)](_0x314728),this['_entities'][_0x35943f(0x4ce)](_0x2bf19d,_0x314728);}),this['_univerInstanceService'][_0x5ac09c(0x3a1)](_0x3d563c[_0x5ac09c(0x3b1)][_0x5ac09c(0x465)])['pipe'](_0x10d074[_0x5ac09c(0x288)](this[_0x5ac09c(0x2a9)]))[_0x5ac09c(0x123)](_0x10d074[_0x5ac09c(0x1e6)](_0x1b63d8=>!_0x1b63d8[_0x5ac09c(0x18e)]()['startsWith']('__')))[_0x5ac09c(0x31f)](async _0x343f92=>{const _0x3736f5=_0x5ac09c,_0x1a2ee2=_0x343f92[_0x3736f5(0x18e)](),_0x3c6b73=await this[_0x3736f5(0x260)](_0x1a2ee2);this['_entityInit$']['next'](_0x3c6b73),this[_0x3736f5(0x89)][_0x3736f5(0x4ce)](_0x1a2ee2,_0x3c6b73);}),_0x10d074[_0x5ac09c(0x3cd)](this['_univerInstanceService'][_0x5ac09c(0x318)](_0x3d563c[_0x5ac09c(0x3b1)][_0x5ac09c(0x465)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x3d563c[_0x5ac09c(0x3b1)][_0x5ac09c(0x2ec)]))[_0x5ac09c(0x123)](_0x10d074[_0x5ac09c(0x288)](this[_0x5ac09c(0x2a9)]))[_0x5ac09c(0x31f)](_0x3a122b=>{const _0x3545cc=_0x5ac09c,_0x5f4693=_0x3a122b[_0x3545cc(0x18e)](),_0x5a1064=this[_0x3545cc(0x89)][_0x3545cc(0x529)](_0x5f4693);_0x5a1064&&(_0x5a1064[_0x3545cc(0x516)](),this[_0x3545cc(0x89)][_0x3545cc(0xe8)](_0x5f4693));});}async[_0x416c04(0x110)](_0x12fe02){const _0x31cf2c=_0x416c04,_0x25c2c3=await this['_collabSessionService'][_0x31cf2c(0x92)](_0x12fe02),_0x390901=this['_injector'][_0x31cf2c(0x385)](_0x537cec,_0x12fe02,_0x25c2c3);return _0x390901[_0x31cf2c(0x479)](),_0x390901;}async['_startDocCollabCursor'](_0x259999){const _0x4cc5e3=_0x416c04,_0x4f36a7=await this[_0x4cc5e3(0x487)][_0x4cc5e3(0x92)](_0x259999),_0x28d124=this[_0x4cc5e3(0x4c7)]['createInstance'](_0x29baca,_0x259999,_0x4f36a7);return _0x28d124['init'](),_0x28d124;}};_0x517f54=_0x3bd9d7([_0x50f32f(0x0,_0x3d563c[_0x416c04(0x127)]),_0x50f32f(0x1,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c['Injector'])),_0x50f32f(0x2,_0x3d563c[_0x416c04(0x4d1)](_0x1b5475[_0x416c04(0x364)]))],_0x517f54);const _0x432c52=0x14,_0x2d17e2=0xc8,_0x2bc0f2=0x4,_0x3e3ae4=0x5;function _0x140d7a(_0xf48310,_0x508f08){const _0x2ee2c4=_0x416c04;let {radius:_0x4d78fa,width:_0xa33ffd,height:_0x235ccb}=_0x508f08;_0x4d78fa=_0x4d78fa!=null?_0x4d78fa:0x0,_0xa33ffd=_0xa33ffd!=null?_0xa33ffd:0x1e,_0x235ccb=_0x235ccb!=null?_0x235ccb:0x1e;let _0x40f193=0x0,_0x516555=0x0,_0x294f93=0x0;_0x40f193=_0x516555=_0x294f93=Math['min'](_0x4d78fa,_0xa33ffd/0x2,_0x235ccb/0x2),_0xf48310[_0x2ee2c4(0x6f)](),_0xf48310['moveTo'](_0x40f193,0x0),_0xf48310['lineTo'](_0xa33ffd-_0x516555,0x0),_0xf48310[_0x2ee2c4(0x1e5)](_0xa33ffd-_0x516555,_0x516555,_0x516555,Math['PI']*0x3/0x2,0x0,!0x1),_0xf48310[_0x2ee2c4(0x48f)](_0xa33ffd,_0x235ccb-_0x294f93),_0xf48310['arc'](_0xa33ffd-_0x294f93,_0x235ccb-_0x294f93,_0x294f93,0x0,Math['PI']/0x2,!0x1),_0xf48310[_0x2ee2c4(0x48f)](0x0,_0x235ccb),_0xf48310[_0x2ee2c4(0x48f)](0x0,_0x40f193),_0xf48310['arc'](_0x40f193,_0x40f193,_0x40f193,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xf48310['closePath'](),_0x508f08['fill']&&(_0xf48310[_0x2ee2c4(0x1aa)](),_0xf48310[_0x2ee2c4(0x3e4)]=_0x508f08['fill'],_0x508f08[_0x2ee2c4(0xe6)]===_0x2ee2c4(0x352)?_0xf48310['fill'](_0x2ee2c4(0x352)):_0xf48310[_0x2ee2c4(0x467)](),_0xf48310[_0x2ee2c4(0x3bc)]());}class _0x5eb41d extends _0x1c2dd3[_0x416c04(0x2ae)]{constructor(_0xcf7ad5,_0x3a9281){const _0x5196f2=_0x416c04;super(_0xcf7ad5,_0x3a9281),_0x10d0d4(this,_0x5196f2(0x45a)),_0x10d0d4(this,_0x5196f2(0x460)),(this[_0x5196f2(0x45a)]=_0x3a9281==null?void 0x0:_0x3a9281[_0x5196f2(0x45a)],this[_0x5196f2(0x460)]=_0x3a9281==null?void 0x0:_0x3a9281[_0x5196f2(0x460)]);}static[_0x416c04(0xb3)](_0x3c03d6,_0x1b778a){const _0x4385a5=_0x416c04,{text:_0x3d59f3,color:_0x2bc401}=_0x1b778a;_0x3c03d6['save'](),_0x3c03d6[_0x4385a5(0x483)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x21c115=_0x3c03d6['measureText'](_0x3d59f3)[_0x4385a5(0x240)],_0xb6ab5e=Math[_0x4385a5(0x30c)](_0x21c115+0x2*_0x2bc0f2,_0x2d17e2);_0x140d7a(_0x3c03d6,{'height':_0x432c52,'radius':0x4,'width':_0xb6ab5e,'fill':_0x2bc401,'evented':!0x1}),_0x3c03d6[_0x4385a5(0x3e4)]=_0x4385a5(0x94);const _0x2abf1d=_0x2bc0f2,_0x1f3508=_0x432c52-_0x3e3ae4,_0x24d12c=_0x2d17e2-0x2*_0x2bc0f2;if(_0x21c115>_0x24d12c){let _0x4435fe='',_0x4fb172=0x0;for(const _0x4a2ba0 of _0x3d59f3){const _0x474a43=_0x3c03d6['measureText'](_0x4a2ba0)['width'];if(_0x4fb172+_0x474a43<=_0x24d12c-_0x3c03d6[_0x4385a5(0x169)](_0x4385a5(0x452))['width'])_0x4435fe+=_0x4a2ba0,_0x4fb172+=_0x474a43;else{_0x4435fe+=_0x4385a5(0x452);break;}}_0x3c03d6[_0x4385a5(0xcf)](_0x4435fe,_0x2abf1d,_0x1f3508);}else _0x3c03d6[_0x4385a5(0xcf)](_0x3d59f3,_0x2abf1d,_0x1f3508);_0x3c03d6[_0x4385a5(0x3bc)]();}[_0x416c04(0x1c2)](_0x2b4af4){const _0x1f3fdf=_0x416c04;_0x5eb41d[_0x1f3fdf(0xb3)](_0x2b4af4,this);}}const _0x401afb=_0x416c04(0x442),_0x1b04fd=_0x416c04(0x20c),_0x91451a=_0x416c04(0x33c),_0x2679b3=0x6,_0x1168f0=1.5,_0xa181ff=0x4,_0x17a60f=1.5,_0x363d9a=_0x416c04(0x40b);class _0x44eda6{constructor(_0x65b6d9,_0x373900,_0x1055b4,_0x193232){const _0x2cbb8b=_0x416c04;_0x10d0d4(this,_0x2cbb8b(0x3fe),[]),_0x10d0d4(this,'_anchor',null),_0x10d0d4(this,_0x2cbb8b(0x113),null),_0x10d0d4(this,_0x2cbb8b(0x125),null),_0x10d0d4(this,'_hideTimer',null),_0x10d0d4(this,_0x2cbb8b(0x355),null),(this[_0x2cbb8b(0x2d6)]=_0x65b6d9,this[_0x2cbb8b(0x145)]=_0x373900,this[_0x2cbb8b(0x3db)]=_0x1055b4,this[_0x2cbb8b(0x4b7)]=_0x193232,this[_0x2cbb8b(0x97)]());}set['_hover'](_0x439a16){const _0x2be91c=_0x416c04;_0x439a16?(this[_0x2be91c(0x125)]&&this[_0x2be91c(0x125)][_0x2be91c(0x4ad)](),this[_0x2be91c(0x113)]&&this['_textBubble'][_0x2be91c(0x1a7)]()):(this[_0x2be91c(0x125)]&&this[_0x2be91c(0x125)][_0x2be91c(0x1a7)](),this[_0x2be91c(0x113)]&&this['_textBubble'][_0x2be91c(0x4ad)]());}[_0x416c04(0x516)](){const _0x2596fb=_0x416c04;for(const _0x7a883b of this[_0x2596fb(0x3fe)])_0x7a883b['dispose']();this[_0x2596fb(0x113)]&&this[_0x2596fb(0x113)][_0x2596fb(0x516)](),this['_anchorDot']&&this[_0x2596fb(0x125)][_0x2596fb(0x516)](),this['_anchor']&&this['_anchor'][_0x2596fb(0x516)](),this[_0x2596fb(0x355)]&&this[_0x2596fb(0x355)]();}[_0x416c04(0x97)](){const _0x15d90c=_0x416c04;var _0x3f98cf;const {_docSkeleton:_0x6cd54d,_document:_0x5e590c}=this,{color:_0x23af59,name:_0xf4bd05,ranges:_0x8e43af}=this[_0x15d90c(0x2d6)],_0xea5433=_0x5e590c[_0x15d90c(0xb0)](),{docsLeft:_0x8ed743,docsTop:_0x1fd07d}=_0xea5433,_0x3c0784=new _0x4212a5['NodePositionConvertToCursor'](_0xea5433,_0x6cd54d);for(const {startOffset:_0x44cd7e,endOffset:_0x5ea50d,rangeType:_0x1bc862,segmentId:_0xe71741,segmentPage:_0x34668c,collapsed:_0x27827d,isActive:_0x53b5c9}of _0x8e43af){const _0x3902ec=_0x6cd54d['findNodePositionByCharIndex'](_0x44cd7e,!0x0,_0xe71741,_0x34668c);let _0x1ccdde=_0x6cd54d[_0x15d90c(0x38e)](_0x5ea50d,!0x0,_0xe71741,_0x34668c);if(_0x1ccdde==null&&(_0x1ccdde=_0x6cd54d[_0x15d90c(0x38e)](_0x5ea50d-0x1,!0x1,_0xe71741,_0x34668c)),_0x53b5c9){const {contentBoxPointGroup:_0x1307bb}=_0x3c0784[_0x15d90c(0x4d3)](_0x1ccdde,_0x1ccdde);if(_0x1307bb[_0x15d90c(0x26a)]===0x0)continue;this['_drawAnchor'](_0x23af59,_0x1307bb,_0x8ed743,_0x1fd07d,_0xf4bd05),this[_0x15d90c(0x355)]=this[_0x15d90c(0x37e)]();}if(_0x3902ec&&_0x1ccdde){if(_0x1bc862===_0x3d563c[_0x15d90c(0x216)][_0x15d90c(0x8b)]){const _0x16b762=new _0x4212a5[(_0x15d90c(0x3ea))](_0xea5433,_0x6cd54d),{pointGroup:_0x1ceb9d}=(_0x3f98cf=_0x16b762[_0x15d90c(0x4d3)](_0x3902ec,_0x1ccdde))!=null?_0x3f98cf:{};if(_0x1ceb9d==null||_0x1ceb9d[_0x15d90c(0x26a)]===0x0)continue;this[_0x15d90c(0x120)](_0x23af59,_0x1ceb9d,_0x8ed743,_0x1fd07d);}else{if(!_0x27827d){const {borderBoxPointGroup:_0x2209d5}=_0x3c0784[_0x15d90c(0x4d3)](_0x3902ec,_0x1ccdde);if(_0x2209d5[_0x15d90c(0x26a)]===0x0)continue;this[_0x15d90c(0x50a)](_0x23af59,_0x2209d5,_0x8ed743,_0x1fd07d);}}}}}[_0x416c04(0x4fb)](_0xbe84a1,_0x38dbbe,_0x2c49dd,_0x5e8716,_0xe2e279){const _0x477554=_0x416c04,_0x92193f=this[_0x477554(0x132)](_0x38dbbe),{left:_0x3ad6ee,top:_0x1f2d8b,height:_0x3693bd}=_0x92193f,_0x4062de=this[_0x477554(0x19d)](),_0x234619=_0x17a60f/_0x4062de,_0x54eb28=new _0x1c2dd3[(_0x477554(0x1a8))](_0x401afb+_0x3d563c[_0x477554(0x270)]['generateRandomId'](_0x2679b3),{'left':_0x3ad6ee+_0x2c49dd-_0x234619,'top':_0x1f2d8b+_0x5e8716,'height':_0x3693bd,'width':_0x1168f0,'fill':_0xbe84a1||_0x1c2dd3[_0x477554(0x1df)](_0x3d563c[_0x477554(0x3e5)][_0x477554(0xfd)],0x0),'strokeWidth':_0x234619,'stroke':_0x363d9a,'evented':!0x0});this[_0x477554(0x1a0)]=_0x54eb28,this[_0x477554(0x145)][_0x477554(0x2a4)](_0x54eb28,_0x4212a5['TEXT_RANGE_LAYER_INDEX']);const _0x2fee78=new _0x1c2dd3[(_0x477554(0x1a8))](_0x401afb+_0x3d563c[_0x477554(0x270)][_0x477554(0x517)](_0x2679b3),{'left':_0x3ad6ee+_0x2c49dd-_0x234619,'top':_0x1f2d8b+_0x5e8716-_0xa181ff/0x2,'height':_0xa181ff,'width':_0xa181ff,'fill':_0xbe84a1||_0x1c2dd3[_0x477554(0x1df)](_0x3d563c[_0x477554(0x3e5)][_0x477554(0xfd)],0x0),'strokeWidth':0x0,'stroke':_0xbe84a1||_0x1c2dd3[_0x477554(0x1df)](_0x3d563c[_0x477554(0x3e5)][_0x477554(0xfd)],0x0),'evented':!0x1});this[_0x477554(0x125)]=_0x2fee78,this['_scene']['addObject'](_0x2fee78,_0x4212a5[_0x477554(0x18f)]);const _0x21ee99=new _0x5eb41d(_0x401afb+_0x3d563c['Tools'][_0x477554(0x517)](_0x2679b3),{'left':_0x3ad6ee+_0x2c49dd-_0x234619,'top':_0x1f2d8b+_0x5e8716-_0x432c52,'text':_0xe2e279,'color':_0xbe84a1});this['_textBubble']=_0x21ee99,this[_0x477554(0x145)]['addObject'](_0x21ee99,_0x4212a5[_0x477554(0x18f)]),this[_0x477554(0xf3)]=!0x1;}[_0x416c04(0x37e)](){const _0x165ecc=_0x416c04,_0x2d1128=this[_0x165ecc(0x1a0)][_0x165ecc(0x44d)][_0x165ecc(0x164)](()=>{const _0x112a96=_0x165ecc;this[_0x112a96(0xf3)]=!0x0;}),_0x3f8904=this['_anchor']['onPointerLeave$']['subscribeEvent'](()=>{const _0x1a44ee=_0x165ecc;this[_0x1a44ee(0x43a)]&&clearTimeout(this[_0x1a44ee(0x43a)]),this[_0x1a44ee(0x43a)]=setTimeout(()=>{const _0x4be834=_0x1a44ee;this[_0x4be834(0xf3)]=!0x1;},0x7d0);});return()=>{const _0x412974=_0x165ecc;_0x2d1128[_0x412974(0x31d)](),_0x3f8904[_0x412974(0x31d)]();};}[_0x416c04(0x50a)](_0x5aa8d5,_0x29e411,_0xaec6d1,_0x25f86a){const _0x50ab2f=_0x416c04,_0x38ecfd=new _0x3d563c['ColorKit'](_0x5aa8d5)[_0x50ab2f(0x41a)](0.2)['toRgbString'](),_0x33aaab=new _0x1c2dd3[(_0x50ab2f(0x2df))](_0x1b04fd+_0x3d563c[_0x50ab2f(0x270)][_0x50ab2f(0x517)](_0x2679b3),{'pointsGroup':_0x29e411,'fill':_0x38ecfd||_0x1c2dd3['getColor'](_0x3d563c['COLORS'][_0x50ab2f(0xfd)],0.2),'left':_0xaec6d1,'top':_0x25f86a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x50ab2f(0x3fe)][_0x50ab2f(0x1e9)](_0x33aaab),this['_scene'][_0x50ab2f(0x2a4)](_0x33aaab,_0x4212a5[_0x50ab2f(0x18f)]);}[_0x416c04(0x120)](_0x3630d9,_0x22d325,_0x49e386,_0x44880e){const _0x4438f0=_0x416c04,_0x289fe1=new _0x3d563c[(_0x4438f0(0x1dd))](_0x3630d9)[_0x4438f0(0x41a)](0.2)['toRgbString'](),_0x5a336d=new _0x1c2dd3['RegularPolygon'](_0x91451a+_0x3d563c[_0x4438f0(0x270)][_0x4438f0(0x517)](_0x2679b3),{'pointsGroup':_0x22d325,'fill':_0x289fe1||_0x1c2dd3['getColor'](_0x3d563c[_0x4438f0(0x3e5)][_0x4438f0(0xfd)],0.2),'left':_0x49e386,'top':_0x44880e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4438f0(0x3fe)][_0x4438f0(0x1e9)](_0x5a336d),this['_scene'][_0x4438f0(0x2a4)](_0x5a336d,_0x4212a5[_0x4438f0(0x18f)]);}[_0x416c04(0x132)](_0x334d1a){const _0x55fb65=_0x334d1a[0x0],_0x3ad435=_0x55fb65[0x0],_0x1dda0b=_0x55fb65[0x2],{x:_0x593f77,y:_0x6bf162}=_0x3ad435,{x:_0x5253a8,y:_0x165fba}=_0x1dda0b;return{'left':_0x593f77,'top':_0x6bf162,'width':_0x5253a8-_0x593f77,'height':_0x165fba-_0x6bf162};}[_0x416c04(0x19d)](){const _0x5d6a5e=_0x416c04,{scaleX:_0x288cf8,scaleY:_0x6a1147}=this[_0x5d6a5e(0x145)][_0x5d6a5e(0x223)]();return Math[_0x5d6a5e(0x1f2)](_0x288cf8,_0x6a1147);}}var _0x241917=Object[_0x416c04(0x2e4)],_0x4f3506=Object[_0x416c04(0x4e2)],_0x4f37a7=(_0xd96ed8,_0x58a264,_0x3ca385,_0xbf2fea)=>{for(var _0x218b35=_0xbf2fea>0x1?void 0x0:_0xbf2fea?_0x4f3506(_0x58a264,_0x3ca385):_0x58a264,_0x294a7d=_0xd96ed8['length']-0x1,_0x290784;_0x294a7d>=0x0;_0x294a7d--)(_0x290784=_0xd96ed8[_0x294a7d])&&(_0x218b35=(_0xbf2fea?_0x290784(_0x58a264,_0x3ca385,_0x218b35):_0x290784(_0x218b35))||_0x218b35);return _0xbf2fea&&_0x218b35&&_0x241917(_0x58a264,_0x3ca385,_0x218b35),_0x218b35;},_0x3f0cc0=(_0x5c8d6f,_0x1d7863)=>(_0x32cc18,_0x1a619b)=>_0x1d7863(_0x32cc18,_0x1a619b,_0x5c8d6f);let _0x30e8cf=class extends _0x3d563c[_0x416c04(0x9b)]{constructor(_0x45778c,_0x1dc5b4,_0x5b6bca,_0x5580f3,_0x990f39){const _0x3ad7a8=_0x416c04;super(),_0x10d0d4(this,'_cursorShapes',[]),_0x10d0d4(this,'_cursors',[]),(this[_0x3ad7a8(0x1ea)]=_0x45778c,this[_0x3ad7a8(0x271)]=_0x1dc5b4,this['_collabCursorController']=_0x5b6bca,this[_0x3ad7a8(0x3ac)]=_0x5580f3,this[_0x3ad7a8(0x375)]=_0x990f39,this[_0x3ad7a8(0x2b1)]());}['_init'](){const _0x401d6e=_0x416c04,_0x3500c6=this[_0x401d6e(0x1ea)][_0x401d6e(0x425)],_0xe981ce=this[_0x401d6e(0x271)];this[_0x401d6e(0x4e9)](_0x10d074[_0x401d6e(0x436)]([this[_0x401d6e(0x204)][_0x401d6e(0x1db)](_0x3500c6),this[_0x401d6e(0x375)][_0x401d6e(0x4b2)]])[_0x401d6e(0x123)](_0x2da86d[_0x401d6e(0x2b8)](([_0x571049,_0x356c30])=>({'skeleton':_0xe981ce[_0x401d6e(0x528)](),'cursors':[..._0x571049[_0x401d6e(0x4c8)]()][_0x401d6e(0x7f)](_0x5dc9ce=>({..._0x5dc9ce,'color':_0x356c30[_0x5dc9ce['color']]}))})))[_0x401d6e(0x31f)](_0x1ce3d4=>{const _0x16ebb5=_0x401d6e;if(this[_0x16ebb5(0x170)](),_0x1ce3d4){const {skeleton:_0x33493d,cursors:_0x27dc78}=_0x1ce3d4;this['_updateCollabCursors'](_0x33493d,_0x27dc78);}})),this['_initResize'](),this[_0x401d6e(0x13b)]();}['_updateCollabCursors'](_0x3b1dd5,_0x1889a0){const _0x1a5f87=_0x416c04,{scene:_0x2533a6,mainComponent:_0x52931a}=this[_0x1a5f87(0x1ea)],_0x18787b=_0x1889a0[_0x1a5f87(0x2b8)](_0x39ff29=>new _0x44eda6(_0x39ff29,_0x2533a6,_0x3b1dd5,_0x52931a));this[_0x1a5f87(0x2b0)]=_0x18787b,this[_0x1a5f87(0x4df)]=_0x1889a0;}[_0x416c04(0x41b)](){const _0x262e81=_0x416c04;this[_0x262e81(0x170)]();const {scene:_0xf76b09,mainComponent:_0x113aa6}=this[_0x262e81(0x1ea)],_0x32e624=this[_0x262e81(0x271)][_0x262e81(0x528)](),_0x96b529=this['_cursors'][_0x262e81(0x2b8)](_0x378fb7=>new _0x44eda6(_0x378fb7,_0xf76b09,_0x32e624,_0x113aa6));this[_0x262e81(0x2b0)]=_0x96b529;}[_0x416c04(0x170)](){const _0x5b8fc4=_0x416c04;this[_0x5b8fc4(0x2b0)][_0x5b8fc4(0x124)](_0x4a8f5f=>_0x4a8f5f['dispose']()),this[_0x5b8fc4(0x2b0)]=[];}[_0x416c04(0x13b)](){const _0x4ed0b0=_0x416c04,_0x5c29d3=[_0x4212a5[_0x4ed0b0(0x315)]['id']];this[_0x4ed0b0(0x4e9)](this[_0x4ed0b0(0x3ac)][_0x4ed0b0(0x254)](_0x43a3ea=>{const _0x297c62=_0x4ed0b0;_0x5c29d3[_0x297c62(0x26f)](_0x43a3ea['id'])&&_0x43a3ea[_0x297c62(0x402)][_0x297c62(0x425)]===this[_0x297c62(0x1ea)]['unitId']&&this[_0x297c62(0x41b)]();}));}['_initResize'](){const _0x1401cc=_0x416c04;this[_0x1401cc(0x4e9)](_0x3d563c[_0x1401cc(0x1fb)](this['_context'][_0x1401cc(0x519)]['onTransformChange$'])['pipe'](_0x2da86d[_0x1401cc(0x1e6)](_0x59887a=>_0x59887a[_0x1401cc(0x6e)]===_0x1c2dd3[_0x1401cc(0x3dc)]['resize']),_0x2da86d[_0x1401cc(0x432)](0x10))[_0x1401cc(0x31f)](()=>{const _0x5f3341=_0x1401cc;this[_0x5f3341(0x41b)]();}));}};_0x30e8cf=_0x4f37a7([_0x3f0cc0(0x1,_0x3d563c['Inject'](_0x2fb3a7['DocSkeletonManagerService'])),_0x3f0cc0(0x2,_0x3d563c['Inject'](_0x517f54)),_0x3f0cc0(0x3,_0x3d563c[_0x416c04(0x3e8)]),_0x3f0cc0(0x4,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x28d)]))],_0x30e8cf);const _0x24d35b=0x1,_0x411b10=1.5;class _0x4102ba extends _0x1c2dd3['Shape']{constructor(_0x21414f,_0x1e9633){const _0x2ff1d8=_0x416c04;super(_0x21414f,_0x1e9633),_0x10d0d4(this,'_color'),_0x10d0d4(this,_0x2ff1d8(0x255),!0x1),_0x10d0d4(this,_0x2ff1d8(0xab)),_0x10d0d4(this,'_name',''),_0x10d0d4(this,_0x2ff1d8(0x39b),_0x2ff1d8(0xed)),_0x10d0d4(this,_0x2ff1d8(0x1b6)),(_0x1e9633&&this[_0x2ff1d8(0x532)](_0x1e9633),this[_0x2ff1d8(0x44d)][_0x2ff1d8(0x164)](()=>this[_0x2ff1d8(0x532)]({'hovered':!0x0})),this[_0x2ff1d8(0x47b)][_0x2ff1d8(0x164)](()=>this[_0x2ff1d8(0x532)]({'hovered':!0x1})));}[_0x416c04(0x532)](_0x19696b){const _0x4d4147=_0x416c04;var _0x2a5dee,_0x3d2cbf,_0xa1fa9b,_0xfb1c5,_0x1f90ca,_0x4fbdad;this['_color']=(_0x2a5dee=_0x19696b[_0x4d4147(0x45a)])!=null?_0x2a5dee:this[_0x4d4147(0x126)],this[_0x4d4147(0x255)]=(_0x3d2cbf=_0x19696b[_0x4d4147(0x370)])!=null?_0x3d2cbf:this[_0x4d4147(0x255)],this[_0x4d4147(0xab)]=(_0xa1fa9b=_0x19696b['range'])!=null?_0xa1fa9b:this[_0x4d4147(0xab)],this['_name']=(_0xfb1c5=_0x19696b[_0x4d4147(0x241)])!=null?_0xfb1c5:this[_0x4d4147(0x527)],this[_0x4d4147(0x39b)]=(_0x1f90ca=_0x19696b[_0x4d4147(0x224)])!=null?_0x1f90ca:this['_labelPosition'],this[_0x4d4147(0x1b6)]=(_0x4fbdad=_0x19696b[_0x4d4147(0x431)])!=null?_0x4fbdad:this[_0x4d4147(0x1b6)],this[_0x4d4147(0x193)]({'width':_0x19696b[_0x4d4147(0x240)],'height':_0x19696b[_0x4d4147(0xb9)]});}[_0x416c04(0x156)](_0x10ea93){const _0x16c9fb=_0x416c04,{row:_0x294225,column:_0x10d81f}=_0x10ea93;if(_0x294225>=this['_range'][_0x16c9fb(0x377)]&&_0x294225<=this[_0x16c9fb(0xab)][_0x16c9fb(0x18a)]&&_0x10d81f>=this['_range'][_0x16c9fb(0x401)]&&_0x10d81f<=this[_0x16c9fb(0xab)][_0x16c9fb(0x188)]){this[_0x16c9fb(0x532)]({'hovered':!0x0});return;}this[_0x16c9fb(0x532)]({'hovered':!0x1});}[_0x416c04(0x3ce)](_0x4cb5df){return!0x1;}[_0x416c04(0x1c2)](_0x2dd965){const _0xa2210b=_0x416c04;_0x1c2dd3[_0xa2210b(0x1a8)]['drawWith'](_0x2dd965,{'width':this[_0xa2210b(0x240)],'height':this['height'],'strokeWidth':_0x411b10,'stroke':this['_color'],'evented':!0x1,'fill':this[_0xa2210b(0x1b6)]}),this[_0xa2210b(0x255)]&&(_0x2dd965['save'](),_0x2dd965[_0xa2210b(0x1b4)](0x1,0x0,0x0,0x1,this['width'],this[_0xa2210b(0x39b)]==='bottom'?0x0:-_0x432c52),_0x5eb41d[_0xa2210b(0xb3)](_0x2dd965,{'text':this[_0xa2210b(0x527)],'color':this[_0xa2210b(0x126)]}),_0x2dd965['restore']());}}var _0x3f307e=Object['defineProperty'],_0x29d2a7=Object[_0x416c04(0x4e2)],_0x20c4ba=(_0x343f0f,_0xec644e,_0xeb4134,_0x232d82)=>{const _0x4ac163=_0x416c04;for(var _0x569e2b=_0x232d82>0x1?void 0x0:_0x232d82?_0x29d2a7(_0xec644e,_0xeb4134):_0xec644e,_0x235a11=_0x343f0f[_0x4ac163(0x26a)]-0x1,_0x2bb1be;_0x235a11>=0x0;_0x235a11--)(_0x2bb1be=_0x343f0f[_0x235a11])&&(_0x569e2b=(_0x232d82?_0x2bb1be(_0xec644e,_0xeb4134,_0x569e2b):_0x2bb1be(_0x569e2b))||_0x569e2b);return _0x232d82&&_0x569e2b&&_0x3f307e(_0xec644e,_0xeb4134,_0x569e2b),_0x569e2b;},_0x1baf8f=(_0x2681c3,_0x4096af)=>(_0x3dd038,_0x28e644)=>_0x4096af(_0x3dd038,_0x28e644,_0x2681c3);const _0x4c19ed=0x1389;let _0xb09171=class extends _0x3d563c[_0x416c04(0x9b)]{constructor(_0x1aec34,_0x512a1f,_0x1b77d7,_0x3967d3){const _0x36e0c9=_0x416c04;super(),_0x10d0d4(this,_0x36e0c9(0x4df),new Set()),_0x10d0d4(this,_0x36e0c9(0x439),null),(this[_0x36e0c9(0x1ea)]=_0x1aec34,this[_0x36e0c9(0x3aa)]=_0x512a1f,this[_0x36e0c9(0x204)]=_0x1b77d7,this[_0x36e0c9(0x375)]=_0x3967d3,this[_0x36e0c9(0x2b1)]());}[_0x416c04(0x2b1)](){const _0x5de922=_0x416c04;this[_0x5de922(0x3aa)][_0x5de922(0x150)][_0x5de922(0x123)](_0x2da86d[_0x5de922(0x288)](this[_0x5de922(0x2a9)]),_0x2da86d[_0x5de922(0x36f)](_0x1612d9=>{const _0x29c040=_0x5de922;if(_0x1612d9){const _0x5e3003=_0x1612d9[_0x29c040(0x416)];return _0x10d074['combineLatest'](this['_collabCursorController']['getCollabCursors$'](this[_0x29c040(0x1ea)][_0x29c040(0x425)]),this['_themeService']['currentTheme$'])['pipe'](_0x2da86d[_0x29c040(0x2b8)](([_0x185c6b,_0x1e3b66])=>{const _0x1b4342=new Map();return _0x185c6b['forEach']((_0x4c16fa,_0x11f41b)=>{const _0x24197e=_0x3e32;if(_0x4c16fa[_0x24197e(0x30b)]===_0x5e3003){const _0x30b982={..._0x4c16fa};_0x30b982['color']=_0x1e3b66[_0x4c16fa[_0x24197e(0x45a)]],_0x1b4342['set'](_0x11f41b,_0x30b982);}}),{'skeleton':_0x1612d9,'cursors':_0x1b4342};}));}return _0x10d074['of']({'skeleton':null,'cursors':new Map()});}))[_0x5de922(0x31f)](({skeleton:_0x959195,cursors:_0xa5e33b})=>{const _0x88eeac=_0x5de922;this[_0x88eeac(0x170)](),_0x959195&&this['_updateCollabCursors'](_0x959195,_0xa5e33b);}),this['_sheetSkeletonManagerService'][_0x5de922(0x150)][_0x5de922(0x31f)](_0x9e15ac=>{const _0x990876=_0x5de922;if(_0x9e15ac==null)return;const {skeleton:_0x3d5820}=_0x9e15ac,{scene:_0x2a6b96}=this[_0x990876(0x1ea)];_0x2a6b96[_0x990876(0x382)][_0x990876(0x164)](_0x3d563c[_0x990876(0x45f)](_0x2676a5=>{const _0xa4c4a1=_0x990876;var _0x3769d9,_0x180869;const {offsetX:_0x416297,offsetY:_0x3ab736}=_0x2676a5,{x:_0x41a7c4,y:_0x3d5809}=_0x2a6b96['getRelativeToViewportCoord'](_0x1c2dd3[_0xa4c4a1(0x2f7)][_0xa4c4a1(0x2a8)]([_0x416297,_0x3ab736])),{scaleX:_0x5bb33f,scaleY:_0x27be4c}=_0x2a6b96[_0xa4c4a1(0x223)](),_0xee8228=_0x2a6b96[_0xa4c4a1(0xe2)](_0x17ef8a[_0xa4c4a1(0x197)]['VIEW_MAIN']),_0x11199d=_0x2a6b96[_0xa4c4a1(0x14a)](_0x1c2dd3['Vector2'][_0xa4c4a1(0x2a8)]([_0x41a7c4,_0x3d5809]),_0xee8228),_0xc39282=_0x3d5820['getCellPositionByOffset'](_0x416297,_0x3ab736,_0x5bb33f,_0x27be4c,_0x11199d);((_0x3769d9=this[_0xa4c4a1(0x439)])==null?void 0x0:_0x3769d9[_0xa4c4a1(0xc4)])===_0xc39282['column']&&((_0x180869=this[_0xa4c4a1(0x439)])==null?void 0x0:_0x180869[_0xa4c4a1(0x415)])===_0xc39282[_0xa4c4a1(0x415)]||this[_0xa4c4a1(0x4df)][_0xa4c4a1(0x124)](_0x1b35a0=>{const _0x46e59b=_0xa4c4a1;_0x1b35a0[_0x46e59b(0x156)](_0xc39282);});},0x64));});}[_0x416c04(0xd8)](_0x1dcd9d,_0x2f2dd2){const _0x2cf8a7=_0x416c04;var _0x35c3d9;const _0x3548cc=(_0x35c3d9=this['_sheetSkeletonManagerService'][_0x2cf8a7(0x38a)]())==null?void 0x0:_0x35c3d9[_0x2cf8a7(0x383)];if(!_0x3548cc)return;const _0x352e51=this[_0x2cf8a7(0x350)]();if(!_0x352e51)return;this[_0x2cf8a7(0x4df)][_0x2cf8a7(0x124)](_0x5ed52e=>{_0x5ed52e['makeDirty']();});const {scene:_0x8175c9}=_0x352e51,_0x3ec9d0=_0x105676(Array[_0x2cf8a7(0x34d)](_0x2f2dd2['values']()))[_0x2cf8a7(0x2b8)](_0x3a229f=>{const _0x42356f=_0x2cf8a7,{color:_0x4d387d,range:_0x4bc213,name:_0x1bf521,selection:_0x3177e6,sheetID:_0x4a03b1}=_0x3a229f,{startColumn:_0x28754a,startRow:_0x5b3ff6,endColumn:_0x5f4f44,endRow:_0xfdb6a5}=_0x4bc213,_0x531dee=_0x17ef8a[_0x42356f(0x2ea)](_0x5b3ff6,_0x28754a,_0x8175c9,_0x3548cc),_0x1b8ea3=_0x17ef8a[_0x42356f(0x2ea)](_0xfdb6a5,_0x5f4f44,_0x8175c9,_0x3548cc),{columnHeaderHeightAndMarginTop:_0x578b29}=_0x3548cc,{startX:_0x52d4ab,startY:_0x3922a4}=_0x531dee,{endX:_0x4e41f7,endY:_0x5855aa}=_0x1b8ea3,_0x1559bf=_0x4e41f7-_0x52d4ab,_0x27c1fc=_0x5855aa-_0x3922a4,_0x5105c9={'labelPosition':_0x3922a4-_0x578b29>=_0x432c52?_0x42356f(0xed):_0x42356f(0x391),'sheetID':_0x4a03b1,'range':_0x4bc213,'color':_0x4d387d,'name':_0x1bf521,'selection':_0x3177e6,'left':_0x52d4ab,'top':_0x3922a4,'width':_0x1559bf,'height':_0x27c1fc,'evented':!0x1,'zIndex':_0x4c19ed};return new _0x4102ba(_0x1bf521,_0x5105c9);});_0x8175c9[_0x2cf8a7(0x18b)](_0x3ec9d0,_0x24d35b),this['_cursors']=new Set(_0x3ec9d0);}[_0x416c04(0x170)](){const _0x15a382=_0x416c04;var _0x197835;(_0x197835=this[_0x15a382(0x4df)])==null||_0x197835[_0x15a382(0x124)](_0x30204b=>_0x30204b[_0x15a382(0x516)]());}['_getSheetObject'](){const _0x362832=_0x416c04;return _0x17ef8a['getSheetObject'](this[_0x362832(0x1ea)][_0x362832(0x21f)],this[_0x362832(0x1ea)]);}};_0xb09171=_0x20c4ba([_0x1baf8f(0x1,_0x3d563c[_0x416c04(0x4d1)](_0x17ef8a['SheetSkeletonManagerService'])),_0x1baf8f(0x2,_0x3d563c['Inject'](_0x517f54)),_0x1baf8f(0x3,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c['ThemeService']))],_0xb09171);function _0x105676(_0x5f2de1){const _0x52c2c6=_0x416c04,_0x167943=new Map();return _0x5f2de1[_0x52c2c6(0x124)](_0x2e9dda=>{const _0x40a244=_0x52c2c6;if(_0x167943[_0x40a244(0x6c)](_0x2e9dda[_0x40a244(0x107)])){const _0x1ea1bd=_0x167943[_0x40a244(0x529)](_0x2e9dda['selection']);_0x1ea1bd[_0x40a244(0x241)]+=',\x20'+_0x2e9dda[_0x40a244(0x241)];}else _0x167943[_0x40a244(0x4ce)](_0x2e9dda[_0x40a244(0x107)],_0x2e9dda);}),Array['from'](_0x167943[_0x52c2c6(0x4c8)]());}var _0x51aa03=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x1e31b9(_0x4d204c){const _0x3b6639=_0x416c04;return _0x4d204c&&_0x4d204c['__esModule']&&Object[_0x3b6639(0x413)][_0x3b6639(0x21b)][_0x3b6639(0x2eb)](_0x4d204c,_0x3b6639(0x1d1))?_0x4d204c['default']:_0x4d204c;}var _0x49be57={'exports':{}},_0x1f4995={},_0x319a4a=_0x36973f,_0x51dffb=Symbol[_0x416c04(0x296)]('react.element'),_0x20b5a8=Symbol[_0x416c04(0x296)](_0x416c04(0x505)),_0x1f8c86=Object['prototype']['hasOwnProperty'],_0x259166=_0x319a4a[_0x416c04(0xb6)][_0x416c04(0xc2)],_0x23fa38={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x877f30(_0x16a01c,_0x3d2103,_0x2ced72){const _0x59ed73=_0x416c04;var _0xf20c7c,_0x2c10ca={},_0x126bd4=null,_0xcc5866=null;_0x2ced72!==void 0x0&&(_0x126bd4=''+_0x2ced72),_0x3d2103[_0x59ed73(0x219)]!==void 0x0&&(_0x126bd4=''+_0x3d2103[_0x59ed73(0x219)]),_0x3d2103[_0x59ed73(0x2e3)]!==void 0x0&&(_0xcc5866=_0x3d2103[_0x59ed73(0x2e3)]);for(_0xf20c7c in _0x3d2103)_0x1f8c86['call'](_0x3d2103,_0xf20c7c)&&!_0x23fa38['hasOwnProperty'](_0xf20c7c)&&(_0x2c10ca[_0xf20c7c]=_0x3d2103[_0xf20c7c]);if(_0x16a01c&&_0x16a01c[_0x59ed73(0x526)]){for(_0xf20c7c in(_0x3d2103=_0x16a01c[_0x59ed73(0x526)],_0x3d2103))_0x2c10ca[_0xf20c7c]===void 0x0&&(_0x2c10ca[_0xf20c7c]=_0x3d2103[_0xf20c7c]);}return{'$$typeof':_0x51dffb,'type':_0x16a01c,'key':_0x126bd4,'ref':_0xcc5866,'props':_0x2c10ca,'_owner':_0x259166[_0x59ed73(0x232)]};}_0x1f4995[_0x416c04(0x183)]=_0x20b5a8,_0x1f4995['jsx']=_0x877f30,_0x1f4995[_0x416c04(0x2be)]=_0x877f30,_0x49be57[_0x416c04(0x1a3)]=_0x1f4995;var _0x4cab12=_0x49be57[_0x416c04(0x1a3)],_0x5af45a=function(){const _0x4c410a=_0x416c04;return _0x5af45a=Object['assign']||function(_0x3b9609){const _0x335b24=_0x3e32;for(var _0x354ac7,_0x4e39c7=0x1,_0x2fe02d=arguments['length'];_0x4e39c7<_0x2fe02d;_0x4e39c7++){_0x354ac7=arguments[_0x4e39c7];for(var _0x4f172a in _0x354ac7)Object[_0x335b24(0x413)]['hasOwnProperty']['call'](_0x354ac7,_0x4f172a)&&(_0x3b9609[_0x4f172a]=_0x354ac7[_0x4f172a]);}return _0x3b9609;},_0x5af45a[_0x4c410a(0x2e7)](this,arguments);},_0x2d79fe=function(_0x538b74,_0x34e94f){const _0x1c6416=_0x416c04;var _0x30c793={};for(var _0x10af16 in _0x538b74)Object[_0x1c6416(0x413)][_0x1c6416(0x21b)][_0x1c6416(0x2eb)](_0x538b74,_0x10af16)&&_0x34e94f[_0x1c6416(0x4bc)](_0x10af16)<0x0&&(_0x30c793[_0x10af16]=_0x538b74[_0x10af16]);if(_0x538b74!=null&&typeof Object[_0x1c6416(0x4c1)]==_0x1c6416(0x2ca)){for(var _0x4e1949=0x0,_0x10af16=Object[_0x1c6416(0x4c1)](_0x538b74);_0x4e1949<_0x10af16['length'];_0x4e1949++)_0x34e94f['indexOf'](_0x10af16[_0x4e1949])<0x0&&Object['prototype'][_0x1c6416(0x12f)][_0x1c6416(0x2eb)](_0x538b74,_0x10af16[_0x4e1949])&&(_0x30c793[_0x10af16[_0x4e1949]]=_0x538b74[_0x10af16[_0x4e1949]]);}return _0x30c793;},_0x22c456=_0x36973f[_0x416c04(0x3b8)](function(_0x5d4b93,_0x289177){const _0x2af2a6=_0x416c04;var _0x3338f5=_0x5d4b93[_0x2af2a6(0x16e)],_0x7c4d87=_0x5d4b93['id'],_0x520a22=_0x5d4b93[_0x2af2a6(0x286)],_0x3c739b=_0x5d4b93[_0x2af2a6(0x50d)],_0x1f24b2=_0x2d79fe(_0x5d4b93,['icon','id','className',_0x2af2a6(0x50d)]),_0x3b2df9=_0x2af2a6(0x157)[_0x2af2a6(0x4af)](_0x7c4d87,'\x20')[_0x2af2a6(0x4af)](_0x520a22||'')[_0x2af2a6(0x329)](),_0x47d967=_0x36973f['useRef']('_'[_0x2af2a6(0x4af)](_0xdf9310()));return _0x20a7d9(_0x3338f5,''['concat'](_0x7c4d87),{'defIds':_0x3338f5[_0x2af2a6(0x102)],'idSuffix':_0x47d967[_0x2af2a6(0x232)]},_0x5af45a({'ref':_0x289177,'className':_0x3b2df9},_0x1f24b2),_0x3c739b);});function _0x20a7d9(_0x495b14,_0xb5b3ef,_0x2134c3,_0x2d3471,_0x89633c){const _0x29e1de=_0x416c04;return _0x36973f[_0x29e1de(0x28b)](_0x495b14[_0x29e1de(0x181)],_0x5af45a(_0x5af45a({'key':_0xb5b3ef},_0x52292c(_0x495b14,_0x2134c3,_0x89633c)),_0x2d3471),(_0x51a4c8(_0x495b14,_0x2134c3)[_0x29e1de(0x2fa)]||[])[_0x29e1de(0x2b8)](function(_0x28ebd0,_0x297f81){const _0x570206=_0x29e1de;return _0x20a7d9(_0x28ebd0,''[_0x570206(0x4af)](_0xb5b3ef,'-')['concat'](_0x495b14[_0x570206(0x181)],'-')[_0x570206(0x4af)](_0x297f81),_0x2134c3,void 0x0,_0x89633c);}));}function _0x52292c(_0x24ec81,_0xd7009a,_0x1dcb01){const _0x4233df=_0x416c04;var _0x10ac37=_0x5af45a({},_0x24ec81[_0x4233df(0x4d7)]);_0x1dcb01!=null&&_0x1dcb01[_0x4233df(0x23f)]&&_0x10ac37[_0x4233df(0x467)]===_0x4233df(0x23f)&&(_0x10ac37[_0x4233df(0x467)]=_0x1dcb01[_0x4233df(0x23f)]);var _0x3a5c81=_0xd7009a[_0x4233df(0x102)];return!_0x3a5c81||_0x3a5c81[_0x4233df(0x26a)]===0x0||(_0x24ec81['tag']==='use'&&_0x10ac37[_0x4233df(0x4bd)]&&(_0x10ac37[_0x4233df(0x4bd)]=_0x10ac37['xlink:href']+_0xd7009a[_0x4233df(0x43b)]),Object['entries'](_0x10ac37)[_0x4233df(0x124)](function(_0x59a35d){const _0x27f643=_0x4233df;var _0x2e0cef=_0x59a35d[0x0],_0x192105=_0x59a35d[0x1];typeof _0x192105=='string'&&(_0x10ac37[_0x2e0cef]=_0x192105[_0x27f643(0x26b)](/url\(#(.*)\)/,_0x27f643(0x347)[_0x27f643(0x4af)](_0xd7009a[_0x27f643(0x43b)],')')));})),_0x10ac37;}function _0x51a4c8(_0x43f4c6,_0x146088){const _0x749fb5=_0x416c04;var _0x4ca325,_0x39b7e3=_0x146088[_0x749fb5(0x102)];return!_0x39b7e3||_0x39b7e3[_0x749fb5(0x26a)]===0x0?_0x43f4c6:_0x43f4c6[_0x749fb5(0x181)]===_0x749fb5(0x4d2)&&(!((_0x4ca325=_0x43f4c6[_0x749fb5(0x2fa)])===null||_0x4ca325===void 0x0)&&_0x4ca325[_0x749fb5(0x26a)])?_0x5af45a(_0x5af45a({},_0x43f4c6),{'children':_0x43f4c6['children'][_0x749fb5(0x2b8)](function(_0x2b8f90){const _0x8ac345=_0x749fb5;return typeof _0x2b8f90[_0x8ac345(0x4d7)]['id']==_0x8ac345(0x10b)&&_0x39b7e3&&_0x39b7e3[_0x8ac345(0x4bc)](_0x2b8f90[_0x8ac345(0x4d7)]['id'])>-0x1?_0x5af45a(_0x5af45a({},_0x2b8f90),{'attrs':_0x5af45a(_0x5af45a({},_0x2b8f90[_0x8ac345(0x4d7)]),{'id':_0x2b8f90[_0x8ac345(0x4d7)]['id']+_0x146088['idSuffix']})}):_0x2b8f90;})}):_0x43f4c6;}function _0xdf9310(){const _0x1a3934=_0x416c04;return Math[_0x1a3934(0x194)]()[_0x1a3934(0xd0)](0x24)['substring'](0x2,0x8);}_0x22c456['displayName']=_0x416c04(0x1be);var _0x2ac431={'tag':_0x416c04(0xeb),'attrs':{'fill':'none','viewBox':_0x416c04(0x1f1),'width':_0x416c04(0x398),'height':_0x416c04(0x398)},'children':[{'tag':'g','attrs':{'clipPath':_0x416c04(0x2f5)},'children':[{'tag':_0x416c04(0x119),'attrs':{'stroke':_0x416c04(0x1fa),'d':_0x416c04(0x1ba),'strokeLinecap':_0x416c04(0x4cf),'strokeLinejoin':_0x416c04(0x4cf),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x416c04(0x11d),'attrs':{'id':_0x416c04(0x396)},'children':[{'tag':'path','attrs':{'fill':_0x416c04(0x14d),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x416c04(0x396)]},_0x5cebfd=_0x36973f[_0x416c04(0x3b8)](function(_0x5e7d88,_0x57d852){const _0x39e482=_0x416c04;return _0x36973f['createElement'](_0x22c456,Object['assign']({},_0x5e7d88,{'id':_0x39e482(0x488),'ref':_0x57d852,'icon':_0x2ac431}));});_0x5cebfd['displayName']=_0x416c04(0x495);var _0x109aa7={'tag':_0x416c04(0xeb),'attrs':{'fill':_0x416c04(0x52f),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x416c04(0x398)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x416c04(0x119),'attrs':{'stroke':_0x416c04(0x1fa),'d':_0x416c04(0x264),'strokeLinecap':_0x416c04(0x4cf),'strokeLinejoin':_0x416c04(0x4cf),'strokeWidth':1.2}}]},{'tag':_0x416c04(0x4d2),'attrs':{},'children':[{'tag':_0x416c04(0x11d),'attrs':{'id':_0x416c04(0x10f)},'children':[{'tag':_0x416c04(0x119),'attrs':{'fill':_0x416c04(0x14d),'d':_0x416c04(0x1fc),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x25ab9a=_0x36973f['forwardRef'](function(_0x86013,_0x2e3c4b){const _0x131363=_0x416c04;return _0x36973f[_0x131363(0x28b)](_0x22c456,Object['assign']({},_0x86013,{'id':_0x131363(0x456),'ref':_0x2e3c4b,'icon':_0x109aa7}));});_0x25ab9a[_0x416c04(0x490)]=_0x416c04(0x4cd);function _0xc32ea1(_0x379c1c){const _0x5c6eb8=_0x416c04;var _0x549700,_0x301b73,_0x219595='';if(typeof _0x379c1c=='string'||typeof _0x379c1c==_0x5c6eb8(0x39a))_0x219595+=_0x379c1c;else{if(typeof _0x379c1c==_0x5c6eb8(0x3d7)){if(Array[_0x5c6eb8(0x408)](_0x379c1c)){var _0x235909=_0x379c1c[_0x5c6eb8(0x26a)];for(_0x549700=0x0;_0x549700<_0x235909;_0x549700++)_0x379c1c[_0x549700]&&(_0x301b73=_0xc32ea1(_0x379c1c[_0x549700]))&&(_0x219595&&(_0x219595+='\x20'),_0x219595+=_0x301b73);}else{for(_0x301b73 in _0x379c1c)_0x379c1c[_0x301b73]&&(_0x219595&&(_0x219595+='\x20'),_0x219595+=_0x301b73);}}}return _0x219595;}function _0x1ef0cb(){const _0x39d1a9=_0x416c04;for(var _0x382f5d,_0x10f2c8,_0x29b942=0x0,_0x39e381='',_0x2cf8a0=arguments[_0x39d1a9(0x26a)];_0x29b942<_0x2cf8a0;_0x29b942++)(_0x382f5d=arguments[_0x29b942])&&(_0x10f2c8=_0xc32ea1(_0x382f5d))&&(_0x39e381&&(_0x39e381+='\x20'),_0x39e381+=_0x10f2c8);return _0x39e381;}const _0x1399ee={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x416c04(0xbe),'onlineStatus':_0x416c04(0x3a5),'online':_0x416c04(0x196),'offline':_0x416c04(0x3ae)};function _0xb2af40(_0x578f56){const _0x4f128b=_0x416c04;switch(_0x578f56){case _0x153ab4[_0x4f128b(0xcd)]:return _0x4f128b(0x134);case _0x153ab4[_0x4f128b(0x220)]:return _0x4f128b(0x15a);case _0x153ab4[_0x4f128b(0x40c)]:return _0x4f128b(0x222);case _0x153ab4[_0x4f128b(0x372)]:return _0x4f128b(0xf9);case _0x153ab4[_0x4f128b(0x1ab)]:case _0x153ab4[_0x4f128b(0x31a)]:return _0x4f128b(0x1cc);case _0x153ab4[_0x4f128b(0x34a)]:case _0x153ab4[_0x4f128b(0x3c2)]:return _0x4f128b(0x366);}}function _0x4efc39(_0x36d6e4){const _0x3e63c4=_0x416c04,{status$:_0x1134c5}=_0x36d6e4,_0x13383a=_0xe60abc[_0x3e63c4(0x476)](_0x1134c5,_0x153ab4['NOT_COLLAB']),_0x2cc9df=_0x3d563c[_0x3e63c4(0x1e1)](_0x3d563c[_0x3e63c4(0x311)]),_0xbc1987=_0x3d563c[_0x3e63c4(0x1e1)](_0x1b5475['CollaborationSessionService']),_0xaa84c3=_0x13383a!==_0x153ab4['OFFLINE'],_0x545b3a=_0x2cc9df['t'](_0xb2af40(_0x13383a)),_0x374dfb=_0x1ef0cb(_0x1399ee['onlineStatus'],{[_0x1399ee[_0x3e63c4(0xfb)]]:_0xaa84c3,[_0x1399ee[_0x3e63c4(0x23e)]]:!_0xaa84c3}),_0x419c13=_0xaa84c3?_0x4cab12[_0x3e63c4(0x167)](_0x25ab9a,{}):_0x4cab12[_0x3e63c4(0x167)](_0x5cebfd,{}),_0x18b719=_0x36973f[_0x3e63c4(0x52c)](()=>{const _0x5cfb1a=_0x3e63c4;_0xaa84c3||_0xbc1987[_0x5cfb1a(0x51a)]();},[_0xaa84c3,_0xbc1987]);function _0x5de9e1(){const _0x40aad1=_0x3e63c4;return _0x4cab12[_0x40aad1(0x2be)](_0x40aad1(0x294),{'className':_0x374dfb,'onClick':_0x18b719,'children':[_0x4cab12[_0x40aad1(0x167)](_0x40aad1(0x294),{'className':_0x1399ee[_0x40aad1(0x4c5)],'children':_0x419c13}),_0x4cab12[_0x40aad1(0x167)](_0x40aad1(0x294),{'className':_0x1399ee[_0x40aad1(0x4e7)],'children':_0x545b3a})]});}return _0xaa84c3?_0x5de9e1():_0x4cab12['jsx'](_0x4278c0['Tooltip'],{'title':_0x2cc9df['t'](_0x3e63c4(0x160)),'children':_0x5de9e1()});}var _0x4d7d3d=Object[_0x416c04(0x2e4)],_0x4316c9=Object[_0x416c04(0x4e2)],_0x1b0f3c=(_0x135eac,_0x3734a1,_0xe13ce1,_0x1eb59d)=>{const _0x4a717a=_0x416c04;for(var _0xf63bef=_0x1eb59d>0x1?void 0x0:_0x1eb59d?_0x4316c9(_0x3734a1,_0xe13ce1):_0x3734a1,_0x5da92d=_0x135eac[_0x4a717a(0x26a)]-0x1,_0x48f2b6;_0x5da92d>=0x0;_0x5da92d--)(_0x48f2b6=_0x135eac[_0x5da92d])&&(_0xf63bef=(_0x1eb59d?_0x48f2b6(_0x3734a1,_0xe13ce1,_0xf63bef):_0x48f2b6(_0xf63bef))||_0xf63bef);return _0x1eb59d&&_0xf63bef&&_0x4d7d3d(_0x3734a1,_0xe13ce1,_0xf63bef),_0xf63bef;},_0x56cd88=(_0x581502,_0x169820)=>(_0x5b2c77,_0x134cc7)=>_0x169820(_0x5b2c77,_0x134cc7,_0x581502);_0x1b5475[_0x416c04(0x305)]=class extends _0x3d563c[_0x416c04(0x9d)]{constructor(_0x40216e,_0x4a2d3a,_0xc7b926,_0x140424){const _0x2939d1=_0x416c04;super(),_0x10d0d4(this,'_status$',new _0x10d074[(_0x2939d1(0x500))](_0x153ab4[_0x2939d1(0x372)])),(this['_univerInstanceService']=_0x40216e,this['_uiPartsService']=_0x4a2d3a,this[_0x2939d1(0x4c7)]=_0xc7b926,this[_0x2939d1(0x450)]=_0x140424,this['_initStatusComponent'](),this[_0x2939d1(0x4e5)]());}['_initStatusListener'](){const _0x544fb8=_0x416c04;this[_0x544fb8(0x4e9)](this[_0x544fb8(0x468)][_0x544fb8(0x4f3)][_0x544fb8(0x123)](_0x10d074[_0x544fb8(0x36f)](()=>{const _0x4d70c1=_0x544fb8,_0x25230e=this[_0x4d70c1(0x468)][_0x4d70c1(0x9c)]();return _0x25230e?this[_0x4d70c1(0x450)][_0x4d70c1(0x365)](_0x25230e[_0x4d70c1(0x18e)]()):_0x10d074['of'](null);}),_0x10d074[_0x544fb8(0x36f)](_0x2735d8=>_0x2735d8?_0x2735d8['status$']:_0x10d074['of'](_0x153ab4[_0x544fb8(0x372)])))['subscribe'](_0x2eb675=>{const _0x5bef80=_0x544fb8;this[_0x5bef80(0x214)]['next'](_0x2eb675);}));}[_0x416c04(0x4d4)](){const _0x3f26d1=_0x416c04;this[_0x3f26d1(0x4e9)](this[_0x3f26d1(0x471)]['registerComponent'](_0xe60abc['BuiltInUIPart'][_0x3f26d1(0x40a)],()=>_0x3d563c['connectInjector'](_0x33289d({'status$':this['_status$'][_0x3f26d1(0x349)]()}),this['_injector'])));}},_0x1b5475[_0x416c04(0x305)]=_0x1b0f3c([_0x56cd88(0x0,_0x3d563c[_0x416c04(0x127)]),_0x56cd88(0x1,_0xe60abc['IUIPartsService']),_0x56cd88(0x2,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x25f)])),_0x56cd88(0x3,_0x3d563c[_0x416c04(0x4d1)](_0x1b5475[_0x416c04(0x1d5)]))],_0x1b5475['DesktopCollaborationStatusDisplayController']);function _0x33289d(_0x46907c){const {status$:_0x313a58}=_0x46907c;return function(){const _0x290c57=_0x3e32;return _0x4cab12[_0x290c57(0x167)](_0x4efc39,{'status$':_0x313a58});};}const _0x10948c=_0x3d563c[_0x416c04(0x32c)]('uni.network.url-service');var _0x536d54=Object[_0x416c04(0x2e4)],_0x4ded95=Object[_0x416c04(0x4e2)],_0x2c2618=(_0x592222,_0x23e285,_0x4d6705,_0x16d8c1)=>{const _0x4db4d2=_0x416c04;for(var _0x483836=_0x16d8c1>0x1?void 0x0:_0x16d8c1?_0x4ded95(_0x23e285,_0x4d6705):_0x23e285,_0x56f1db=_0x592222[_0x4db4d2(0x26a)]-0x1,_0xc2dd46;_0x56f1db>=0x0;_0x56f1db--)(_0xc2dd46=_0x592222[_0x56f1db])&&(_0x483836=(_0x16d8c1?_0xc2dd46(_0x23e285,_0x4d6705,_0x483836):_0xc2dd46(_0x483836))||_0x483836);return _0x16d8c1&&_0x483836&&_0x536d54(_0x23e285,_0x4d6705,_0x483836),_0x483836;},_0x1ff572=(_0x48c454,_0x151087)=>(_0x4e7cb4,_0x46ea05)=>_0x151087(_0x4e7cb4,_0x46ea05,_0x48c454);_0x1b5475[_0x416c04(0x525)]=class extends _0x3d563c['RxDisposable']{constructor(_0x38fd32,_0x26f09a,_0x199ffd,_0x5c51d7,_0x3bc118,_0x3f4b4b){const _0x40d32f=_0x416c04;super(),this['_urlService']=_0x38fd32,this['_logService']=_0x26f09a,this[_0x40d32f(0x3ac)]=_0x199ffd,this[_0x40d32f(0x2a0)]=_0x5c51d7,this['_snapshotService']=_0x3bc118,_0x3f4b4b?_0x3f4b4b==null||_0x3f4b4b[_0x40d32f(0x501)]()[_0x40d32f(0x262)](()=>this[_0x40d32f(0x2b1)]()):(this[_0x40d32f(0x4ff)][_0x40d32f(0x73)](_0x40d32f(0x422),_0x40d32f(0x129)),this[_0x40d32f(0x2b1)]());}async[_0x416c04(0x2b1)](){const _0x418635=_0x416c04,_0x1ad450=this[_0x418635(0xe7)][_0x418635(0x72)](_0x418635(0x21f)),_0x4a1043=this[_0x418635(0xe7)][_0x418635(0x72)](_0x418635(0x6e));if(!_0x1ad450||!_0x4a1043){this[_0x418635(0x4ff)][_0x418635(0x73)](_0x418635(0x422),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x4a1043)){case _0x2cf20e['UNIVER_SHEET']:{const _0xdd1c15=await this[_0x418635(0x292)](_0x1ad450);this[_0x418635(0xca)](_0xdd1c15);break;}case _0x2cf20e[_0x418635(0x465)]:{await this[_0x418635(0x121)](_0x1ad450);break;}default:{this[_0x418635(0x4ff)][_0x418635(0x4b1)](_0x418635(0x422),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x416c04(0xca)](_0x5b0699){const _0x1c1a82=_0x416c04;await this[_0x1c1a82(0x4d9)](_0x5b0699),_0x5b0699[_0x1c1a82(0x39d)][_0x1c1a82(0x123)](_0x10d074[_0x1c1a82(0x288)](this[_0x1c1a82(0x2a9)]))['subscribe'](_0x15194c=>{const _0xb69162=_0x1c1a82;_0x15194c&&this[_0xb69162(0xfe)](_0x15194c);}),this['_urlService'][_0x1c1a82(0x18d)][_0x1c1a82(0x123)](_0x10d074['takeUntil'](this[_0x1c1a82(0x2a9)]))[_0x1c1a82(0x31f)](()=>this[_0x1c1a82(0x4d9)](_0x5b0699));}['_updateURLWithCurrentState'](_0x1c468b,_0x460345=!0x1){const _0x34f03e=_0x416c04,_0x454008=this['_urlService'][_0x34f03e(0x72)](_0x34f03e(0x3d2));_0x1c468b[_0x34f03e(0x320)]()!==_0x454008&&this[_0x34f03e(0xe7)][_0x34f03e(0x4e6)](_0x34f03e(0x3d2),_0x1c468b[_0x34f03e(0x320)](),_0x460345);}async[_0x416c04(0x4d9)](_0x168351){const _0x4cb8d0=_0x416c04;var _0x332076;const _0x11a7c0=this[_0x4cb8d0(0xe7)]['getParam']('subunit');if(!_0x11a7c0||!_0x168351[_0x4cb8d0(0x484)](_0x11a7c0)){const _0x4100d7=_0x168351[_0x4cb8d0(0x198)]()[0x0],_0x1c8d00=_0x168351[_0x4cb8d0(0x484)](_0x4100d7);if(!_0x1c8d00)return;this[_0x4cb8d0(0xfe)](_0x1c8d00,!0x0),await this[_0x4cb8d0(0x3ac)][_0x4cb8d0(0x4dc)](_0xa13da4[_0x4cb8d0(0x42b)]['id'],{'unitId':_0x168351['getUnitId'](),'subUnitId':_0x4100d7});return;}((_0x332076=_0x168351[_0x4cb8d0(0x403)]())==null?void 0x0:_0x332076[_0x4cb8d0(0x320)]())!==_0x11a7c0&&await this[_0x4cb8d0(0x3ac)][_0x4cb8d0(0x4dc)](_0xa13da4['SetWorksheetActivateCommand']['id'],{'unitId':_0x168351[_0x4cb8d0(0x18e)](),'subUnitId':_0x11a7c0});}async[_0x416c04(0x292)](_0x29e519){const _0x4aa670=_0x416c04;let _0x418b9e=0x0;const _0x1317d5=await this[_0x4aa670(0x2a0)]['loadOfflineData'](_0x29e519);return _0x1317d5&&(_0x1317d5['awaitingChangeset']||_0x1317d5[_0x4aa670(0xa2)][_0x4aa670(0x26a)]!==0x0)&&(_0x418b9e=_0x1317d5[_0x4aa670(0xae)]),_0x418b9e===0x0&&this[_0x4aa670(0x4ff)][_0x4aa670(0x73)](_0x4aa670(0x422),_0x4aa670(0x52a)),this[_0x4aa670(0x395)]['loadSheet'](_0x29e519,_0x418b9e);}async[_0x416c04(0x121)](_0x19f161){const _0x2b44a3=_0x416c04;let _0x392d5b=0x0;const _0x45016a=await this[_0x2b44a3(0x2a0)][_0x2b44a3(0xa4)](_0x19f161);return _0x45016a&&(_0x45016a[_0x2b44a3(0x246)]||_0x45016a['mutations']['length']!==0x0)&&(_0x392d5b=_0x45016a[_0x2b44a3(0xae)]),_0x392d5b===0x0&&this[_0x2b44a3(0x4ff)][_0x2b44a3(0x73)](_0x2b44a3(0x422),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x2b44a3(0x395)][_0x2b44a3(0x36d)](_0x19f161,_0x392d5b);}},_0x1b5475[_0x416c04(0x525)]=_0x2c2618([_0x1ff572(0x0,_0x10948c),_0x1ff572(0x1,_0x3d563c[_0x416c04(0x2fd)]),_0x1ff572(0x2,_0x3d563c[_0x416c04(0x3e8)]),_0x1ff572(0x3,_0x3d563c[_0x416c04(0x4d1)](_0x1b5475[_0x416c04(0x26c)])),_0x1ff572(0x4,_0x3d563c[_0x416c04(0x4d1)](_0x520737[_0x416c04(0x14e)])),_0x1ff572(0x5,_0x3d563c['Optional'](_0x2a98ea['IRemoteInstanceService']))],_0x1b5475['DataLoaderController']);var _0x54ab51=Object[_0x416c04(0x2e4)],_0x3836f9=Object['getOwnPropertyDescriptor'],_0x4704ec=(_0x21952e,_0x277130,_0x2219c6,_0x1ed9e2)=>{const _0x452f89=_0x416c04;for(var _0x1fb360=_0x1ed9e2>0x1?void 0x0:_0x1ed9e2?_0x3836f9(_0x277130,_0x2219c6):_0x277130,_0xad497=_0x21952e[_0x452f89(0x26a)]-0x1,_0x568ce5;_0xad497>=0x0;_0xad497--)(_0x568ce5=_0x21952e[_0xad497])&&(_0x1fb360=(_0x1ed9e2?_0x568ce5(_0x277130,_0x2219c6,_0x1fb360):_0x568ce5(_0x1fb360))||_0x1fb360);return _0x1ed9e2&&_0x1fb360&&_0x54ab51(_0x277130,_0x2219c6,_0x1fb360),_0x1fb360;},_0x162871=(_0x1c8386,_0x286431)=>(_0x4f00fe,_0x348dea)=>_0x286431(_0x4f00fe,_0x348dea,_0x1c8386);const _0x100aaa=_0x416c04(0x6a),_0x10118a=_0x416c04(0x20e);let _0x20f5fc=class extends _0x3d563c[_0x416c04(0x9d)]{constructor(_0x8749fd,_0x2528af){const _0x357cdb=_0x416c04;super(),this['_univerInstanceService']=_0x8749fd,this['_configService']=_0x2528af,this[_0x357cdb(0x2b1)]();}[_0x416c04(0x2b1)](){const _0x2125b2=_0x416c04;this[_0x2125b2(0x4e9)](this['_univerInstanceService'][_0x2125b2(0x4f3)][_0x2125b2(0x31f)](()=>{const _0x26c8ce=_0x2125b2;var _0x3bf82d;const _0x2e241b=this[_0x26c8ce(0x468)][_0x26c8ce(0x9c)]();let _0x5bdb09=(_0x3bf82d=this[_0x26c8ce(0xd6)]['getConfig'](_0x100aaa))!=null?_0x3bf82d:_0x10118a;_0x2e241b instanceof _0x3d563c[_0x26c8ce(0x29a)]&&(_0x5bdb09=_0x2e241b[_0x26c8ce(0x241)]),document['title']=_0x5bdb09;}));}};_0x20f5fc=_0x4704ec([_0x162871(0x0,_0x3d563c[_0x416c04(0x127)]),_0x162871(0x1,_0x3d563c[_0x416c04(0x4f1)])],_0x20f5fc);var _0x700824=Object['defineProperty'],_0x20d0ff=Object[_0x416c04(0x4e2)],_0x3b7e53=(_0x10894b,_0x2883a8,_0x46fd66,_0x517ef2)=>{const _0x100486=_0x416c04;for(var _0x39fc98=_0x517ef2>0x1?void 0x0:_0x517ef2?_0x20d0ff(_0x2883a8,_0x46fd66):_0x2883a8,_0x14a99d=_0x10894b[_0x100486(0x26a)]-0x1,_0x2c59c4;_0x14a99d>=0x0;_0x14a99d--)(_0x2c59c4=_0x10894b[_0x14a99d])&&(_0x39fc98=(_0x517ef2?_0x2c59c4(_0x2883a8,_0x46fd66,_0x39fc98):_0x2c59c4(_0x39fc98))||_0x39fc98);return _0x517ef2&&_0x39fc98&&_0x700824(_0x2883a8,_0x46fd66,_0x39fc98),_0x39fc98;},_0x5aaf27=(_0x400a4e,_0x4229f3)=>(_0x460522,_0x3a1f1c)=>_0x4229f3(_0x460522,_0x3a1f1c,_0x400a4e);let _0x2010a8=class{constructor(_0x4822b5,_0x4c36a8,_0x2e8f48){const _0x45055a=_0x416c04;this[_0x45055a(0xd6)]=_0x4822b5,this[_0x45055a(0x4a6)]=_0x4c36a8,this[_0x45055a(0x17c)]=_0x2e8f48,this[_0x45055a(0x479)]();}[_0x416c04(0x479)](){const _0x34aec0=_0x416c04;this['_httpService'][_0x34aec0(0x22b)]({'priority':0x1,'interceptor':(_0x1ab690,_0xd1436e)=>_0xd1436e(_0x1ab690)[_0x34aec0(0x123)](_0x10d074[_0x34aec0(0x4e3)](async _0x1eba91=>{const _0x5194fd=_0x34aec0,_0x3926d5=_0x1eba91;if(_0x3926d5[_0x5194fd(0xea)]===0x191&&window[_0x5194fd(0xa8)](this[_0x5194fd(0x17c)]['t'](_0x5194fd(0xde)))){const _0x2eb32e=window[_0x5194fd(0x7a)](window['location'][_0x5194fd(0x24e)]);window[_0x5194fd(0x8a)][_0x5194fd(0x24e)]=this[_0x5194fd(0x91)]()+'?url='+_0x2eb32e;}return _0x3926d5;}))});}['_getLoginPath'](){const _0x33086a=_0x416c04;var _0xb44200,_0x324737;const _0x2d82cf=this[_0x33086a(0xd6)][_0x33086a(0x33a)](_0x2e3666),_0x5708ff=this[_0x33086a(0xd6)]['getConfig'](_0x40a44f);return(_0x324737=(_0xb44200=_0x5708ff==null?void 0x0:_0x5708ff['loginUrlKey'])!=null?_0xb44200:_0x2d82cf)!=null?_0x324737:_0x214b23;}};_0x2010a8=_0x3b7e53([_0x5aaf27(0x0,_0x3d563c[_0x416c04(0x4f1)]),_0x5aaf27(0x1,_0x3d563c[_0x416c04(0x4d1)](_0x1571b5[_0x416c04(0x4db)])),_0x5aaf27(0x2,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c['LocaleService']))],_0x2010a8);var _0x1f9968=Object[_0x416c04(0x2e4)],_0x13a519=Object['getOwnPropertyDescriptor'],_0x5299fd=(_0x122ff9,_0x23bccf,_0x1551f0,_0x4841d1)=>{const _0x3c4e9e=_0x416c04;for(var _0x45db61=_0x4841d1>0x1?void 0x0:_0x4841d1?_0x13a519(_0x23bccf,_0x1551f0):_0x23bccf,_0x48dfb4=_0x122ff9[_0x3c4e9e(0x26a)]-0x1,_0x11ec37;_0x48dfb4>=0x0;_0x48dfb4--)(_0x11ec37=_0x122ff9[_0x48dfb4])&&(_0x45db61=(_0x4841d1?_0x11ec37(_0x23bccf,_0x1551f0,_0x45db61):_0x11ec37(_0x45db61))||_0x45db61);return _0x4841d1&&_0x45db61&&_0x1f9968(_0x23bccf,_0x1551f0,_0x45db61),_0x45db61;},_0x2ed753=(_0x38b31f,_0x36fec4)=>(_0x50e209,_0x5acb54)=>_0x36fec4(_0x50e209,_0x5acb54,_0x38b31f);const _0x55bb64='AUTHZ_URL_KEY',_0x20a4e7='/universer-api/authz';_0x1b5475[_0x416c04(0x25e)]=class extends _0x3d563c[_0x416c04(0x9d)]{constructor(_0x117540,_0x1cf090){const _0x11ca5d=_0x416c04;super(),this[_0x11ca5d(0x24d)]=_0x117540,this['_configService']=_0x1cf090,this['_initMergeInterceptor']();}[_0x416c04(0x389)](){const _0x5a0a14=_0x416c04,_0x4fdc5c=this;this[_0x5a0a14(0x4e9)](this[_0x5a0a14(0x24d)][_0x5a0a14(0x22b)]({'priority':0x3e7,'interceptor':_0x1571b5[_0x5a0a14(0x2c0)]({'isMatch'(_0x270f32){const _0x4a105d=_0x5a0a14;var _0x22104f;if(_0x270f32[_0x4a105d(0xf8)]==='POST'&&((_0x22104f=_0x270f32[_0x4a105d(0x88)])!=null&&_0x22104f[_0x4a105d(0x524)])){const {objectID:_0x5581eb,objectType:_0x2ac4e3}=_0x270f32['requestParams'][_0x4a105d(0x524)]||{};if(!_0x5581eb||_0x2ac4e3===void 0x0)return!0x1;const _0x1f52ea=_0x4fdc5c[_0x4a105d(0x40d)]()+'/'+_0x2ac4e3+_0x4a105d(0x1de)+_0x5581eb+'/allowed';if(_0x270f32['url']===_0x1f52ea)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5f55f3){const _0x3c5edb=_0x5a0a14;var _0x233260;return(_0x233260=_0x5f55f3['requestParams'])==null?void 0x0:_0x233260[_0x3c5edb(0x524)];},'mergeParamsToRequest'(_0x2a8832,_0x3eaa62){const _0x5665e8=_0x5a0a14,_0x23caa2=_0x4fdc5c[_0x5665e8(0x40d)]()+_0x5665e8(0x2b9),_0x1aeaf3=_0x2a8832['reduce']((_0x47bcdf,_0x17b039)=>{const _0x2d3540=_0x5665e8,{unitID:_0x112d36,objectID:_0x2f7943,objectType:_0xebd074,actions:_0x25bf2d}=_0x17b039;return _0x47bcdf[_0x112d36]||(_0x47bcdf[_0x112d36]={}),_0x47bcdf[_0x112d36][_0x2f7943]||(_0x47bcdf[_0x112d36][_0x2f7943]={'objectID':_0x2f7943,'objectType':_0xebd074,'actions':[]}),_0x47bcdf[_0x112d36][_0x2f7943][_0x2d3540(0x344)]['push'](..._0x25bf2d),_0x47bcdf;},{}),_0x375f6f=[];for(const _0x4a7a5e in _0x1aeaf3)for(const _0x3cef58 in _0x1aeaf3[_0x4a7a5e]){const {actions:_0x26af00,objectType:_0x55a2e6}=_0x1aeaf3[_0x4a7a5e][_0x3cef58],_0x172958=[...new Set(_0x26af00)];_0x375f6f['push']({'unitID':_0x4a7a5e,'objectID':_0x3cef58,'objectType':_0x55a2e6,'actions':_0x172958});}return new _0x1571b5[(_0x5665e8(0x281))](_0x5665e8(0x149),_0x23caa2,{'headers':_0x3eaa62[_0x5665e8(0x19c)],'withCredentials':_0x3eaa62['withCredentials'],'responseType':_0x3eaa62['responseType'],'body':{'requests':_0x375f6f}});}},{'distributeResult'(_0x40d465,_0x19d983){const {objectActions:_0x3e0f1e}=_0x40d465;return _0x19d983['map'](_0xfa1ac3=>{const _0x2d1b86=_0x3e32,{unitID:_0x494a9c,objectID:_0x37acaf,actions:_0x5b6035}=_0xfa1ac3,_0x20416c=_0x3e0f1e[_0x2d1b86(0x174)](_0x404809=>_0x404809['unitID']===_0x494a9c&&_0x404809['objectID']===_0x37acaf),_0x12c224=_0x5b6035[_0x2d1b86(0x2b8)](_0x5a593b=>_0x20416c==null?void 0x0:_0x20416c[_0x2d1b86(0x344)][_0x2d1b86(0x174)](_0x1d0fe8=>_0x1d0fe8[_0x2d1b86(0x135)]===_0x5a593b))['filter'](_0x3b6717=>!!_0x3b6717);return{'config':_0xfa1ac3,'result':{'actions':_0x12c224,'error':_0x40d465[_0x2d1b86(0x4b1)]}};});}})}));}[_0x416c04(0x40d)](){const _0x5c7c68=_0x416c04;var _0x241d1d,_0x56ef44;const _0x35d82f=this[_0x5c7c68(0xd6)]['getConfig'](_0x55bb64),_0x56973f=this['_configService'][_0x5c7c68(0x33a)](_0x40a44f);return(_0x56ef44=(_0x241d1d=_0x56973f==null?void 0x0:_0x56973f['authzUrl'])!=null?_0x241d1d:_0x35d82f)!=null?_0x56ef44:_0x20a4e7;}async[_0x416c04(0x109)](_0x47b997){const _0x4b12d6=_0x416c04,_0x1bd010=this['_getAPIPrefixPath']()+'/'+_0x47b997['objectType']+_0x4b12d6(0x1f0);return(await this[_0x4b12d6(0x24d)]['post'](_0x1bd010,{'body':_0x47b997}))[_0x4b12d6(0x524)]['objectID']||'';}async[_0x416c04(0x48d)](_0x1d3aa3){const _0x24c4b3=_0x416c04,_0xd45592=this[_0x24c4b3(0x40d)]()+_0x24c4b3(0x252);return(await this['_HTTPService'][_0x24c4b3(0x3d4)](_0xd45592,{'body':_0x1d3aa3}))['body']['objects'];}async[_0x416c04(0x42c)](_0x561758){const _0x5d9c46=_0x416c04,_0xa02af0=this[_0x5d9c46(0x40d)]()+'/'+_0x561758['objectType']+_0x5d9c46(0x1de)+_0x561758[_0x5d9c46(0x493)];await this['_HTTPService']['put'](_0xa02af0,{'body':_0x561758});}async['allowed'](_0x773650){const _0x36c022=_0x416c04,_0x3fd9ad=this['_getAPIPrefixPath']()+'/'+_0x773650[_0x36c022(0x171)]+_0x36c022(0x1de)+_0x773650[_0x36c022(0x493)]+_0x36c022(0xec);return(await this[_0x36c022(0x24d)][_0x36c022(0x3d4)](_0x3fd9ad,{'body':_0x773650}))[_0x36c022(0x524)][_0x36c022(0x344)];}async[_0x416c04(0x1bb)](_0x536137){const _0x3419d6=_0x416c04,_0x1f4a51=this[_0x3419d6(0x40d)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x3419d6(0x3d4)](_0x1f4a51,{'body':{'requests':_0x536137}}))[_0x3419d6(0x524)][_0x3419d6(0x2ff)];}async['listRoles'](_0x2f9097){const _0x2d8b79=_0x416c04,_0x56473a=this[_0x2d8b79(0x40d)]()+'/'+_0x2f9097[_0x2d8b79(0x171)]+'/role',_0x9a6d33=await this[_0x2d8b79(0x24d)][_0x2d8b79(0x3d4)](_0x56473a,{'body':_0x2f9097});return{'roles':_0x9a6d33[_0x2d8b79(0x524)]['roles'],'actions':_0x9a6d33[_0x2d8b79(0x524)][_0x2d8b79(0x344)]};}async[_0x416c04(0x427)](_0x440c72){const _0x2bb1a9=_0x416c04,_0x494852=this[_0x2bb1a9(0x40d)]()+_0x2bb1a9(0x472);await this[_0x2bb1a9(0x24d)][_0x2bb1a9(0xe8)](_0x494852,{'params':{'collaboratorID':_0x440c72[_0x2bb1a9(0x530)],'objectID':_0x440c72[_0x2bb1a9(0x493)],'unitID':_0x440c72[_0x2bb1a9(0x280)]}});}async[_0x416c04(0x4c0)](_0x1c33cf){const _0x23a994=_0x416c04,_0x5cd82b=this[_0x23a994(0x40d)]()+_0x23a994(0x472);await this['_HTTPService'][_0x23a994(0x28e)](_0x5cd82b,{'body':_0x1c33cf});}async[_0x416c04(0x4a9)](_0x5d64d1){const _0x3b07b8=_0x416c04,_0x558eae=this[_0x3b07b8(0x40d)]()+'/collaborator';await this[_0x3b07b8(0x24d)][_0x3b07b8(0x3d4)](_0x558eae,{'body':_0x5d64d1});}async[_0x416c04(0xc9)](_0x10adef){const _0x129db2=_0x416c04,_0x4bbafe=this[_0x129db2(0x40d)]()+_0x129db2(0x472);return(await this[_0x129db2(0x24d)]['get'](_0x4bbafe,{'params':{'objectID':_0x10adef['objectID'],'unitID':_0x10adef[_0x129db2(0x280)]}}))[_0x129db2(0x524)][_0x129db2(0xd2)];}async[_0x416c04(0x225)](_0x50ba9c){const _0x2afdc0=_0x416c04,_0x5d5c6d=this[_0x2afdc0(0x40d)]()+'/collaborator';await this[_0x2afdc0(0x24d)]['put'](_0x5d5c6d,{'body':_0x50ba9c});}},_0x1b5475[_0x416c04(0x25e)]=_0x5299fd([_0x2ed753(0x0,_0x3d563c[_0x416c04(0x4d1)](_0x1571b5[_0x416c04(0x4db)])),_0x2ed753(0x1,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c['IConfigService']))],_0x1b5475[_0x416c04(0x25e)]);var _0x11f098={'exports':{}};function _0x1b9425(_0x280fe2){const _0x956326=_0x416c04;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x280fe2+_0x956326(0x343));}var _0x539d19={'exports':{}},_0x413c08;function _0x114f16(){const _0x2306b8=_0x416c04;return _0x413c08||(_0x413c08=0x1,function(_0x13f0da,_0x435e27){(function(_0x1b85be,_0x417f8a){const _0x1cbb5e=_0x3e32;_0x13f0da[_0x1cbb5e(0x1a3)]=_0x417f8a();}(_0x51aa03,function(){var _0x4db180=_0x4db180||function(_0x4e7c41,_0x545698){const _0x20a979=_0x3e32;var _0x535c0c;if(typeof window<'u'&&window[_0x20a979(0x1a6)]&&(_0x535c0c=window['crypto']),typeof self<'u'&&self[_0x20a979(0x1a6)]&&(_0x535c0c=self[_0x20a979(0x1a6)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x535c0c=globalThis[_0x20a979(0x1a6)]),!_0x535c0c&&typeof window<'u'&&window[_0x20a979(0x4ed)]&&(_0x535c0c=window[_0x20a979(0x4ed)]),!_0x535c0c&&typeof _0x51aa03<'u'&&_0x51aa03[_0x20a979(0x1a6)]&&(_0x535c0c=_0x51aa03['crypto']),!_0x535c0c&&typeof _0x1b9425==_0x20a979(0x2ca))try{_0x535c0c=require(_0x20a979(0x1a6));}catch{}var _0xb4aecc=function(){const _0xb519e=_0x20a979;if(_0x535c0c){if(typeof _0x535c0c['getRandomValues']==_0xb519e(0x2ca))try{return _0x535c0c[_0xb519e(0x3ed)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x535c0c['randomBytes']==_0xb519e(0x2ca))try{return _0x535c0c[_0xb519e(0x410)](0x4)[_0xb519e(0x187)]();}catch{}}throw new Error(_0xb519e(0x249));},_0x1361ec=Object[_0x20a979(0x109)]||(function(){function _0x280bbf(){}return function(_0x50bab6){const _0x7ec0a1=_0x3e32;var _0x4239ab;return _0x280bbf['prototype']=_0x50bab6,_0x4239ab=new _0x280bbf(),_0x280bbf[_0x7ec0a1(0x413)]=null,_0x4239ab;};}()),_0x2d2c5a={},_0x1161ad=_0x2d2c5a[_0x20a979(0x4e1)]={},_0x26f242=_0x1161ad['Base']=(function(){return{'extend':function(_0x26e0b9){const _0x3ff78a=_0x3e32;var _0x58a3c4=_0x1361ec(this);return _0x26e0b9&&_0x58a3c4[_0x3ff78a(0x65)](_0x26e0b9),(!_0x58a3c4[_0x3ff78a(0x21b)](_0x3ff78a(0x479))||this[_0x3ff78a(0x479)]===_0x58a3c4['init'])&&(_0x58a3c4[_0x3ff78a(0x479)]=function(){const _0x150fca=_0x3ff78a;_0x58a3c4[_0x150fca(0x2c5)][_0x150fca(0x479)][_0x150fca(0x2e7)](this,arguments);}),_0x58a3c4[_0x3ff78a(0x479)][_0x3ff78a(0x413)]=_0x58a3c4,_0x58a3c4[_0x3ff78a(0x2c5)]=this,_0x58a3c4;},'create':function(){const _0xc48898=_0x3e32;var _0x71cbe2=this[_0xc48898(0x50d)]();return _0x71cbe2['init']['apply'](_0x71cbe2,arguments),_0x71cbe2;},'init':function(){},'mixIn':function(_0x49b905){const _0x4d5a32=_0x3e32;for(var _0x3ab2e0 in _0x49b905)_0x49b905[_0x4d5a32(0x21b)](_0x3ab2e0)&&(this[_0x3ab2e0]=_0x49b905[_0x3ab2e0]);_0x49b905[_0x4d5a32(0x21b)](_0x4d5a32(0xd0))&&(this['toString']=_0x49b905[_0x4d5a32(0xd0)]);},'clone':function(){const _0x183518=_0x3e32;return this['init'][_0x183518(0x413)]['extend'](this);}};}()),_0x3228e4=_0x1161ad['WordArray']=_0x26f242[_0x20a979(0x50d)]({'init':function(_0x325758,_0x27c9b6){const _0x5f1bab=_0x20a979;_0x325758=this[_0x5f1bab(0x20b)]=_0x325758||[],_0x27c9b6!=_0x545698?this[_0x5f1bab(0x3bf)]=_0x27c9b6:this[_0x5f1bab(0x3bf)]=_0x325758[_0x5f1bab(0x26a)]*0x4;},'toString':function(_0x349ea2){const _0x335772=_0x20a979;return(_0x349ea2||_0x4af68b)[_0x335772(0x420)](this);},'concat':function(_0x20ac1d){const _0xaf37a8=_0x20a979;var _0x5126a2=this[_0xaf37a8(0x20b)],_0x1fa21f=_0x20ac1d['words'],_0x41dae7=this[_0xaf37a8(0x3bf)],_0x5d53ed=_0x20ac1d[_0xaf37a8(0x3bf)];if(this['clamp'](),_0x41dae7%0x4)for(var _0x4b6457=0x0;_0x4b6457<_0x5d53ed;_0x4b6457++){var _0x1bc709=_0x1fa21f[_0x4b6457>>>0x2]>>>0x18-_0x4b6457%0x4*0x8&0xff;_0x5126a2[_0x41dae7+_0x4b6457>>>0x2]|=_0x1bc709<<0x18-(_0x41dae7+_0x4b6457)%0x4*0x8;}else{for(var _0xb743f6=0x0;_0xb743f6<_0x5d53ed;_0xb743f6+=0x4)_0x5126a2[_0x41dae7+_0xb743f6>>>0x2]=_0x1fa21f[_0xb743f6>>>0x2];}return this[_0xaf37a8(0x3bf)]+=_0x5d53ed,this;},'clamp':function(){const _0x45b2b2=_0x20a979;var _0x2dc9f9=this[_0x45b2b2(0x20b)],_0x53432f=this['sigBytes'];_0x2dc9f9[_0x53432f>>>0x2]&=0xffffffff<<0x20-_0x53432f%0x4*0x8,_0x2dc9f9[_0x45b2b2(0x26a)]=_0x4e7c41[_0x45b2b2(0x46c)](_0x53432f/0x4);},'clone':function(){const _0x49629f=_0x20a979;var _0xcc9ba0=_0x26f242[_0x49629f(0x4b3)][_0x49629f(0x2eb)](this);return _0xcc9ba0[_0x49629f(0x20b)]=this['words'][_0x49629f(0x191)](0x0),_0xcc9ba0;},'random':function(_0x51aac6){const _0x1fb1de=_0x20a979;for(var _0x18508b=[],_0x252f50=0x0;_0x252f50<_0x51aac6;_0x252f50+=0x4)_0x18508b[_0x1fb1de(0x1e9)](_0xb4aecc());return new _0x3228e4['init'](_0x18508b,_0x51aac6);}}),_0x51bd99=_0x2d2c5a[_0x20a979(0x1e8)]={},_0x4af68b=_0x51bd99[_0x20a979(0x2d1)]={'stringify':function(_0x1e3a99){const _0x3a7251=_0x20a979;for(var _0x3526a5=_0x1e3a99['words'],_0x51de0f=_0x1e3a99[_0x3a7251(0x3bf)],_0x5ebe20=[],_0x246685=0x0;_0x246685<_0x51de0f;_0x246685++){var _0x635521=_0x3526a5[_0x246685>>>0x2]>>>0x18-_0x246685%0x4*0x8&0xff;_0x5ebe20[_0x3a7251(0x1e9)]((_0x635521>>>0x4)[_0x3a7251(0xd0)](0x10)),_0x5ebe20['push']((_0x635521&0xf)[_0x3a7251(0xd0)](0x10));}return _0x5ebe20[_0x3a7251(0x51c)]('');},'parse':function(_0x549b11){const _0x2dc03e=_0x20a979;for(var _0x1410ad=_0x549b11[_0x2dc03e(0x26a)],_0x1504e0=[],_0x4f8aa2=0x0;_0x4f8aa2<_0x1410ad;_0x4f8aa2+=0x2)_0x1504e0[_0x4f8aa2>>>0x3]|=parseInt(_0x549b11[_0x2dc03e(0x515)](_0x4f8aa2,0x2),0x10)<<0x18-_0x4f8aa2%0x8*0x4;return new _0x3228e4['init'](_0x1504e0,_0x1410ad/0x2);}},_0x2e37a8=_0x51bd99[_0x20a979(0x226)]={'stringify':function(_0x36268f){const _0x120f81=_0x20a979;for(var _0x325048=_0x36268f['words'],_0x52217f=_0x36268f[_0x120f81(0x3bf)],_0x300468=[],_0x47a23d=0x0;_0x47a23d<_0x52217f;_0x47a23d++){var _0x53afcd=_0x325048[_0x47a23d>>>0x2]>>>0x18-_0x47a23d%0x4*0x8&0xff;_0x300468[_0x120f81(0x1e9)](String[_0x120f81(0x2d7)](_0x53afcd));}return _0x300468[_0x120f81(0x51c)]('');},'parse':function(_0x326e00){const _0x5737f0=_0x20a979;for(var _0x1d04fb=_0x326e00[_0x5737f0(0x26a)],_0xa279f2=[],_0x441525=0x0;_0x441525<_0x1d04fb;_0x441525++)_0xa279f2[_0x441525>>>0x2]|=(_0x326e00[_0x5737f0(0x106)](_0x441525)&0xff)<<0x18-_0x441525%0x4*0x8;return new _0x3228e4[(_0x5737f0(0x479))](_0xa279f2,_0x1d04fb);}},_0x34f080=_0x51bd99[_0x20a979(0x230)]={'stringify':function(_0xf89510){const _0x47e8d6=_0x20a979;try{return decodeURIComponent(escape(_0x2e37a8[_0x47e8d6(0x420)](_0xf89510)));}catch{throw new Error(_0x47e8d6(0xf4));}},'parse':function(_0x5767e1){return _0x2e37a8['parse'](unescape(encodeURIComponent(_0x5767e1)));}},_0x5f241c=_0x1161ad['BufferedBlockAlgorithm']=_0x26f242[_0x20a979(0x50d)]({'reset':function(){const _0x53ed8b=_0x20a979;this[_0x53ed8b(0x340)]=new _0x3228e4[(_0x53ed8b(0x479))](),this['_nDataBytes']=0x0;},'_append':function(_0x3dd377){const _0xeaa2ab=_0x20a979;typeof _0x3dd377=='string'&&(_0x3dd377=_0x34f080[_0xeaa2ab(0x1a4)](_0x3dd377)),this['_data'][_0xeaa2ab(0x4af)](_0x3dd377),this['_nDataBytes']+=_0x3dd377[_0xeaa2ab(0x3bf)];},'_process':function(_0x4f6820){const _0x297687=_0x20a979;var _0x261e79,_0x82e9c=this[_0x297687(0x340)],_0x578fc4=_0x82e9c[_0x297687(0x20b)],_0x1ec623=_0x82e9c[_0x297687(0x3bf)],_0x383346=this[_0x297687(0xcb)],_0x1562f6=_0x383346*0x4,_0x2ee370=_0x1ec623/_0x1562f6;_0x4f6820?_0x2ee370=_0x4e7c41[_0x297687(0x46c)](_0x2ee370):_0x2ee370=_0x4e7c41['max']((_0x2ee370|0x0)-this[_0x297687(0x4d8)],0x0);var _0x83c49e=_0x2ee370*_0x383346,_0x34da83=_0x4e7c41[_0x297687(0x30c)](_0x83c49e*0x4,_0x1ec623);if(_0x83c49e){for(var _0x513fcd=0x0;_0x513fcd<_0x83c49e;_0x513fcd+=_0x383346)this['_doProcessBlock'](_0x578fc4,_0x513fcd);_0x261e79=_0x578fc4[_0x297687(0x477)](0x0,_0x83c49e),_0x82e9c['sigBytes']-=_0x34da83;}return new _0x3228e4[(_0x297687(0x479))](_0x261e79,_0x34da83);},'clone':function(){const _0x5893a8=_0x20a979;var _0x5a70a4=_0x26f242[_0x5893a8(0x4b3)]['call'](this);return _0x5a70a4[_0x5893a8(0x340)]=this[_0x5893a8(0x340)][_0x5893a8(0x4b3)](),_0x5a70a4;},'_minBufferSize':0x0});_0x1161ad[_0x20a979(0x14c)]=_0x5f241c[_0x20a979(0x50d)]({'cfg':_0x26f242[_0x20a979(0x50d)](),'init':function(_0x5177cb){const _0x54a780=_0x20a979;this[_0x54a780(0xfc)]=this[_0x54a780(0xfc)][_0x54a780(0x50d)](_0x5177cb),this[_0x54a780(0x43c)]();},'reset':function(){const _0x36f166=_0x20a979;_0x5f241c['reset'][_0x36f166(0x2eb)](this),this[_0x36f166(0x190)]();},'update':function(_0x187232){const _0x450948=_0x20a979;return this[_0x450948(0x20d)](_0x187232),this['_process'](),this;},'finalize':function(_0x538000){const _0xa40cc4=_0x20a979;_0x538000&&this[_0xa40cc4(0x20d)](_0x538000);var _0x2dc3dd=this['_doFinalize']();return _0x2dc3dd;},'blockSize':0x10,'_createHelper':function(_0x3fe4e5){return function(_0x582339,_0x2830c6){const _0x4ab002=_0x3e32;return new _0x3fe4e5['init'](_0x2830c6)[_0x4ab002(0x4fa)](_0x582339);};},'_createHmacHelper':function(_0x38e0e8){return function(_0x6b05e6,_0x23482a){const _0x1f58fc=_0x3e32;return new _0x3e36a2['HMAC'][(_0x1f58fc(0x479))](_0x38e0e8,_0x23482a)['finalize'](_0x6b05e6);};}});var _0x3e36a2=_0x2d2c5a['algo']={};return _0x2d2c5a;}(Math);return _0x4db180;}));}(_0x539d19)),_0x539d19[_0x2306b8(0x1a3)];}var _0xf8e05f={'exports':{}},_0x3f0b4a;function _0x733855(){const _0x31a4de=_0x416c04;return _0x3f0b4a||(_0x3f0b4a=0x1,function(_0x3f6043,_0x513c84){(function(_0x23172f,_0x573593){const _0x51ab1e=_0x3e32;_0x3f6043[_0x51ab1e(0x1a3)]=_0x573593(_0x114f16());}(_0x51aa03,function(_0x1dbcd2){return(function(){const _0x175fb0=_0x3e32;var _0x2abb4e=_0x1dbcd2,_0x3cbbb4=_0x2abb4e[_0x175fb0(0x4e1)],_0x131347=_0x3cbbb4[_0x175fb0(0x513)],_0x5731c0=_0x2abb4e[_0x175fb0(0x1e8)];_0x5731c0[_0x175fb0(0x9e)]={'stringify':function(_0x3e6ab1){const _0x23ed57=_0x175fb0;var _0x2f7836=_0x3e6ab1[_0x23ed57(0x20b)],_0x4b50a6=_0x3e6ab1[_0x23ed57(0x3bf)],_0x519ae6=this[_0x23ed57(0x50c)];_0x3e6ab1[_0x23ed57(0x236)]();for(var _0xab187d=[],_0x589533=0x0;_0x589533<_0x4b50a6;_0x589533+=0x3)for(var _0x2f00fc=_0x2f7836[_0x589533>>>0x2]>>>0x18-_0x589533%0x4*0x8&0xff,_0x4d83c4=_0x2f7836[_0x589533+0x1>>>0x2]>>>0x18-(_0x589533+0x1)%0x4*0x8&0xff,_0x54a8e5=_0x2f7836[_0x589533+0x2>>>0x2]>>>0x18-(_0x589533+0x2)%0x4*0x8&0xff,_0x15d4ba=_0x2f00fc<<0x10|_0x4d83c4<<0x8|_0x54a8e5,_0x47f81c=0x0;_0x47f81c<0x4&&_0x589533+_0x47f81c*0.75<_0x4b50a6;_0x47f81c++)_0xab187d[_0x23ed57(0x1e9)](_0x519ae6[_0x23ed57(0x310)](_0x15d4ba>>>0x6*(0x3-_0x47f81c)&0x3f));var _0x4fe873=_0x519ae6[_0x23ed57(0x310)](0x40);if(_0x4fe873){for(;_0xab187d['length']%0x4;)_0xab187d['push'](_0x4fe873);}return _0xab187d[_0x23ed57(0x51c)]('');},'parse':function(_0x31e108){const _0x1a9d6e=_0x175fb0;var _0x293bda=_0x31e108[_0x1a9d6e(0x26a)],_0x187333=this[_0x1a9d6e(0x50c)],_0x16761b=this[_0x1a9d6e(0x283)];if(!_0x16761b){_0x16761b=this['_reverseMap']=[];for(var _0x3da9c4=0x0;_0x3da9c4<_0x187333['length'];_0x3da9c4++)_0x16761b[_0x187333[_0x1a9d6e(0x106)](_0x3da9c4)]=_0x3da9c4;}var _0x3add2a=_0x187333[_0x1a9d6e(0x310)](0x40);if(_0x3add2a){var _0x4c5f22=_0x31e108['indexOf'](_0x3add2a);_0x4c5f22!==-0x1&&(_0x293bda=_0x4c5f22);}return _0xa55560(_0x31e108,_0x293bda,_0x16761b);},'_map':_0x175fb0(0x2f9)};function _0xa55560(_0x461206,_0x569ff5,_0x104dac){const _0x112fd3=_0x175fb0;for(var _0x48886e=[],_0x33c638=0x0,_0x258309=0x0;_0x258309<_0x569ff5;_0x258309++)if(_0x258309%0x4){var _0x46a819=_0x104dac[_0x461206[_0x112fd3(0x106)](_0x258309-0x1)]<<_0x258309%0x4*0x2,_0x4a2241=_0x104dac[_0x461206[_0x112fd3(0x106)](_0x258309)]>>>0x6-_0x258309%0x4*0x2,_0x4ad5e0=_0x46a819|_0x4a2241;_0x48886e[_0x33c638>>>0x2]|=_0x4ad5e0<<0x18-_0x33c638%0x4*0x8,_0x33c638++;}return _0x131347[_0x112fd3(0x109)](_0x48886e,_0x33c638);}}()),_0x1dbcd2['enc']['Base64'];}));}(_0xf8e05f)),_0xf8e05f[_0x31a4de(0x1a3)];}var _0x24f29e={'exports':{}},_0x3ed083;function _0x142916(){return _0x3ed083||(_0x3ed083=0x1,function(_0x1a156a,_0x5da1f9){(function(_0x265f0f,_0x2d4e03){const _0x4a8090=_0x3e32;_0x1a156a[_0x4a8090(0x1a3)]=_0x2d4e03(_0x114f16());}(_0x51aa03,function(_0x38b179){const _0x4726ab=_0x3e32;return function(_0x4ef6bc){const _0x33c892=_0x3e32;var _0x5c32b7=_0x38b179,_0x4d8115=_0x5c32b7[_0x33c892(0x4e1)],_0x475296=_0x4d8115[_0x33c892(0x513)],_0x65d536=_0x4d8115[_0x33c892(0x14c)],_0x17acb4=_0x5c32b7[_0x33c892(0x172)],_0x8ef51c=[];(function(){const _0x504093=_0x33c892;for(var _0x150f99=0x0;_0x150f99<0x40;_0x150f99++)_0x8ef51c[_0x150f99]=_0x4ef6bc['abs'](_0x4ef6bc[_0x504093(0x64)](_0x150f99+0x1))*0x100000000|0x0;}());var _0x255fe3=_0x17acb4['MD5']=_0x65d536[_0x33c892(0x50d)]({'_doReset':function(){const _0x4db3a6=_0x33c892;this[_0x4db3a6(0x17e)]=new _0x475296[(_0x4db3a6(0x479))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4a084a,_0x599d1b){const _0x5e6c18=_0x33c892;for(var _0x283cdf=0x0;_0x283cdf<0x10;_0x283cdf++){var _0x52af34=_0x599d1b+_0x283cdf,_0x565c80=_0x4a084a[_0x52af34];_0x4a084a[_0x52af34]=(_0x565c80<<0x8|_0x565c80>>>0x18)&0xff00ff|(_0x565c80<<0x18|_0x565c80>>>0x8)&0xff00ff00;}var _0x32f703=this[_0x5e6c18(0x17e)][_0x5e6c18(0x20b)],_0x2be87e=_0x4a084a[_0x599d1b+0x0],_0x20124f=_0x4a084a[_0x599d1b+0x1],_0x544214=_0x4a084a[_0x599d1b+0x2],_0x47aa22=_0x4a084a[_0x599d1b+0x3],_0x199561=_0x4a084a[_0x599d1b+0x4],_0x5444c6=_0x4a084a[_0x599d1b+0x5],_0x50cf13=_0x4a084a[_0x599d1b+0x6],_0x5d7a73=_0x4a084a[_0x599d1b+0x7],_0x48b76f=_0x4a084a[_0x599d1b+0x8],_0x15e6c9=_0x4a084a[_0x599d1b+0x9],_0x1f5799=_0x4a084a[_0x599d1b+0xa],_0x4c7449=_0x4a084a[_0x599d1b+0xb],_0x28beb1=_0x4a084a[_0x599d1b+0xc],_0x3754e1=_0x4a084a[_0x599d1b+0xd],_0x18f89f=_0x4a084a[_0x599d1b+0xe],_0x424288=_0x4a084a[_0x599d1b+0xf],_0x7568ac=_0x32f703[0x0],_0x411dc5=_0x32f703[0x1],_0x2a2848=_0x32f703[0x2],_0x2d8c56=_0x32f703[0x3];_0x7568ac=_0x17d82b(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x2be87e,0x7,_0x8ef51c[0x0]),_0x2d8c56=_0x17d82b(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x20124f,0xc,_0x8ef51c[0x1]),_0x2a2848=_0x17d82b(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x544214,0x11,_0x8ef51c[0x2]),_0x411dc5=_0x17d82b(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x47aa22,0x16,_0x8ef51c[0x3]),_0x7568ac=_0x17d82b(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x199561,0x7,_0x8ef51c[0x4]),_0x2d8c56=_0x17d82b(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x5444c6,0xc,_0x8ef51c[0x5]),_0x2a2848=_0x17d82b(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x50cf13,0x11,_0x8ef51c[0x6]),_0x411dc5=_0x17d82b(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x5d7a73,0x16,_0x8ef51c[0x7]),_0x7568ac=_0x17d82b(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x48b76f,0x7,_0x8ef51c[0x8]),_0x2d8c56=_0x17d82b(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x15e6c9,0xc,_0x8ef51c[0x9]),_0x2a2848=_0x17d82b(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x1f5799,0x11,_0x8ef51c[0xa]),_0x411dc5=_0x17d82b(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x4c7449,0x16,_0x8ef51c[0xb]),_0x7568ac=_0x17d82b(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x28beb1,0x7,_0x8ef51c[0xc]),_0x2d8c56=_0x17d82b(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x3754e1,0xc,_0x8ef51c[0xd]),_0x2a2848=_0x17d82b(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x18f89f,0x11,_0x8ef51c[0xe]),_0x411dc5=_0x17d82b(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x424288,0x16,_0x8ef51c[0xf]),_0x7568ac=_0x1bbfce(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x20124f,0x5,_0x8ef51c[0x10]),_0x2d8c56=_0x1bbfce(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x50cf13,0x9,_0x8ef51c[0x11]),_0x2a2848=_0x1bbfce(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x4c7449,0xe,_0x8ef51c[0x12]),_0x411dc5=_0x1bbfce(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x2be87e,0x14,_0x8ef51c[0x13]),_0x7568ac=_0x1bbfce(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x5444c6,0x5,_0x8ef51c[0x14]),_0x2d8c56=_0x1bbfce(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x1f5799,0x9,_0x8ef51c[0x15]),_0x2a2848=_0x1bbfce(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x424288,0xe,_0x8ef51c[0x16]),_0x411dc5=_0x1bbfce(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x199561,0x14,_0x8ef51c[0x17]),_0x7568ac=_0x1bbfce(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x15e6c9,0x5,_0x8ef51c[0x18]),_0x2d8c56=_0x1bbfce(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x18f89f,0x9,_0x8ef51c[0x19]),_0x2a2848=_0x1bbfce(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x47aa22,0xe,_0x8ef51c[0x1a]),_0x411dc5=_0x1bbfce(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x48b76f,0x14,_0x8ef51c[0x1b]),_0x7568ac=_0x1bbfce(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x3754e1,0x5,_0x8ef51c[0x1c]),_0x2d8c56=_0x1bbfce(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x544214,0x9,_0x8ef51c[0x1d]),_0x2a2848=_0x1bbfce(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x5d7a73,0xe,_0x8ef51c[0x1e]),_0x411dc5=_0x1bbfce(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x28beb1,0x14,_0x8ef51c[0x1f]),_0x7568ac=_0x1ad33c(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x5444c6,0x4,_0x8ef51c[0x20]),_0x2d8c56=_0x1ad33c(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x48b76f,0xb,_0x8ef51c[0x21]),_0x2a2848=_0x1ad33c(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x4c7449,0x10,_0x8ef51c[0x22]),_0x411dc5=_0x1ad33c(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x18f89f,0x17,_0x8ef51c[0x23]),_0x7568ac=_0x1ad33c(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x20124f,0x4,_0x8ef51c[0x24]),_0x2d8c56=_0x1ad33c(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x199561,0xb,_0x8ef51c[0x25]),_0x2a2848=_0x1ad33c(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x5d7a73,0x10,_0x8ef51c[0x26]),_0x411dc5=_0x1ad33c(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x1f5799,0x17,_0x8ef51c[0x27]),_0x7568ac=_0x1ad33c(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x3754e1,0x4,_0x8ef51c[0x28]),_0x2d8c56=_0x1ad33c(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x2be87e,0xb,_0x8ef51c[0x29]),_0x2a2848=_0x1ad33c(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x47aa22,0x10,_0x8ef51c[0x2a]),_0x411dc5=_0x1ad33c(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x50cf13,0x17,_0x8ef51c[0x2b]),_0x7568ac=_0x1ad33c(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x15e6c9,0x4,_0x8ef51c[0x2c]),_0x2d8c56=_0x1ad33c(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x28beb1,0xb,_0x8ef51c[0x2d]),_0x2a2848=_0x1ad33c(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x424288,0x10,_0x8ef51c[0x2e]),_0x411dc5=_0x1ad33c(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x544214,0x17,_0x8ef51c[0x2f]),_0x7568ac=_0x4638ea(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x2be87e,0x6,_0x8ef51c[0x30]),_0x2d8c56=_0x4638ea(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x5d7a73,0xa,_0x8ef51c[0x31]),_0x2a2848=_0x4638ea(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x18f89f,0xf,_0x8ef51c[0x32]),_0x411dc5=_0x4638ea(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x5444c6,0x15,_0x8ef51c[0x33]),_0x7568ac=_0x4638ea(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x28beb1,0x6,_0x8ef51c[0x34]),_0x2d8c56=_0x4638ea(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x47aa22,0xa,_0x8ef51c[0x35]),_0x2a2848=_0x4638ea(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x1f5799,0xf,_0x8ef51c[0x36]),_0x411dc5=_0x4638ea(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x20124f,0x15,_0x8ef51c[0x37]),_0x7568ac=_0x4638ea(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x48b76f,0x6,_0x8ef51c[0x38]),_0x2d8c56=_0x4638ea(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x424288,0xa,_0x8ef51c[0x39]),_0x2a2848=_0x4638ea(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x50cf13,0xf,_0x8ef51c[0x3a]),_0x411dc5=_0x4638ea(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x3754e1,0x15,_0x8ef51c[0x3b]),_0x7568ac=_0x4638ea(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x199561,0x6,_0x8ef51c[0x3c]),_0x2d8c56=_0x4638ea(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x4c7449,0xa,_0x8ef51c[0x3d]),_0x2a2848=_0x4638ea(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x544214,0xf,_0x8ef51c[0x3e]),_0x411dc5=_0x4638ea(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x15e6c9,0x15,_0x8ef51c[0x3f]),_0x32f703[0x0]=_0x32f703[0x0]+_0x7568ac|0x0,_0x32f703[0x1]=_0x32f703[0x1]+_0x411dc5|0x0,_0x32f703[0x2]=_0x32f703[0x2]+_0x2a2848|0x0,_0x32f703[0x3]=_0x32f703[0x3]+_0x2d8c56|0x0;},'_doFinalize':function(){const _0xd048b4=_0x33c892;var _0x59d8d2=this[_0xd048b4(0x340)],_0x20904f=_0x59d8d2[_0xd048b4(0x20b)],_0x2e5b0c=this['_nDataBytes']*0x8,_0x5d2f12=_0x59d8d2[_0xd048b4(0x3bf)]*0x8;_0x20904f[_0x5d2f12>>>0x5]|=0x80<<0x18-_0x5d2f12%0x20;var _0x55932f=_0x4ef6bc[_0xd048b4(0x1e0)](_0x2e5b0c/0x100000000),_0x3bc6d2=_0x2e5b0c;_0x20904f[(_0x5d2f12+0x40>>>0x9<<0x4)+0xf]=(_0x55932f<<0x8|_0x55932f>>>0x18)&0xff00ff|(_0x55932f<<0x18|_0x55932f>>>0x8)&0xff00ff00,_0x20904f[(_0x5d2f12+0x40>>>0x9<<0x4)+0xe]=(_0x3bc6d2<<0x8|_0x3bc6d2>>>0x18)&0xff00ff|(_0x3bc6d2<<0x18|_0x3bc6d2>>>0x8)&0xff00ff00,_0x59d8d2[_0xd048b4(0x3bf)]=(_0x20904f[_0xd048b4(0x26a)]+0x1)*0x4,this[_0xd048b4(0x46f)]();for(var _0x37c3ff=this[_0xd048b4(0x17e)],_0x29dfb2=_0x37c3ff['words'],_0x2d52a1=0x0;_0x2d52a1<0x4;_0x2d52a1++){var _0x3b8626=_0x29dfb2[_0x2d52a1];_0x29dfb2[_0x2d52a1]=(_0x3b8626<<0x8|_0x3b8626>>>0x18)&0xff00ff|(_0x3b8626<<0x18|_0x3b8626>>>0x8)&0xff00ff00;}return _0x37c3ff;},'clone':function(){const _0x4764f3=_0x33c892;var _0x48fd55=_0x65d536[_0x4764f3(0x4b3)][_0x4764f3(0x2eb)](this);return _0x48fd55['_hash']=this['_hash'][_0x4764f3(0x4b3)](),_0x48fd55;}});function _0x17d82b(_0x448a43,_0x248c31,_0x1e85d9,_0x962abc,_0xe553de,_0x69a132,_0x3fca2e){var _0x38681d=_0x448a43+(_0x248c31&_0x1e85d9|~_0x248c31&_0x962abc)+_0xe553de+_0x3fca2e;return(_0x38681d<<_0x69a132|_0x38681d>>>0x20-_0x69a132)+_0x248c31;}function _0x1bbfce(_0x43ac15,_0x1c0994,_0x2162b5,_0x598bf3,_0x58aa64,_0x1db1e5,_0x2f48f1){var _0x5ed3df=_0x43ac15+(_0x1c0994&_0x598bf3|_0x2162b5&~_0x598bf3)+_0x58aa64+_0x2f48f1;return(_0x5ed3df<<_0x1db1e5|_0x5ed3df>>>0x20-_0x1db1e5)+_0x1c0994;}function _0x1ad33c(_0x5d7937,_0x588ec9,_0xb0d8a5,_0x4f4198,_0x27eb18,_0x35f33e,_0x6a9854){var _0x5dd8db=_0x5d7937+(_0x588ec9^_0xb0d8a5^_0x4f4198)+_0x27eb18+_0x6a9854;return(_0x5dd8db<<_0x35f33e|_0x5dd8db>>>0x20-_0x35f33e)+_0x588ec9;}function _0x4638ea(_0x45214a,_0xe6e899,_0x3789d4,_0x28b058,_0x4ca95e,_0x4dcd9b,_0x248a91){var _0x348320=_0x45214a+(_0x3789d4^(_0xe6e899|~_0x28b058))+_0x4ca95e+_0x248a91;return(_0x348320<<_0x4dcd9b|_0x348320>>>0x20-_0x4dcd9b)+_0xe6e899;}_0x5c32b7[_0x33c892(0x4ef)]=_0x65d536['_createHelper'](_0x255fe3),_0x5c32b7[_0x33c892(0x175)]=_0x65d536[_0x33c892(0xb2)](_0x255fe3);}(Math),_0x38b179[_0x4726ab(0x4ef)];}));}(_0x24f29e)),_0x24f29e['exports'];}var _0x237c89={'exports':{}},_0x4e6229={'exports':{}},_0x5f02cf;function _0x3f0d71(){const _0x4798b0=_0x416c04;return _0x5f02cf||(_0x5f02cf=0x1,function(_0x24ad04,_0x2c3c91){(function(_0x325d86,_0x5e5c91){const _0xc24d74=_0x3e32;_0x24ad04[_0xc24d74(0x1a3)]=_0x5e5c91(_0x114f16());}(_0x51aa03,function(_0x28a304){return(function(){const _0x377963=_0x3e32;var _0x13f24d=_0x28a304,_0x2cb1a8=_0x13f24d['lib'],_0x15ac21=_0x2cb1a8[_0x377963(0x513)],_0x5dc1a5=_0x2cb1a8['Hasher'],_0x36cfa1=_0x13f24d[_0x377963(0x172)],_0x41f381=[],_0x46e273=_0x36cfa1[_0x377963(0x66)]=_0x5dc1a5[_0x377963(0x50d)]({'_doReset':function(){const _0x3cc4e1=_0x377963;this[_0x3cc4e1(0x17e)]=new _0x15ac21[(_0x3cc4e1(0x479))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x12496a,_0x4aa745){const _0x28b0a7=_0x377963;for(var _0x53374c=this['_hash'][_0x28b0a7(0x20b)],_0x59c0e1=_0x53374c[0x0],_0x39454a=_0x53374c[0x1],_0x2d04d4=_0x53374c[0x2],_0x411705=_0x53374c[0x3],_0x32539d=_0x53374c[0x4],_0x10d948=0x0;_0x10d948<0x50;_0x10d948++){if(_0x10d948<0x10)_0x41f381[_0x10d948]=_0x12496a[_0x4aa745+_0x10d948]|0x0;else{var _0x2d5fae=_0x41f381[_0x10d948-0x3]^_0x41f381[_0x10d948-0x8]^_0x41f381[_0x10d948-0xe]^_0x41f381[_0x10d948-0x10];_0x41f381[_0x10d948]=_0x2d5fae<<0x1|_0x2d5fae>>>0x1f;}var _0x3b2837=(_0x59c0e1<<0x5|_0x59c0e1>>>0x1b)+_0x32539d+_0x41f381[_0x10d948];_0x10d948<0x14?_0x3b2837+=(_0x39454a&_0x2d04d4|~_0x39454a&_0x411705)+0x5a827999:_0x10d948<0x28?_0x3b2837+=(_0x39454a^_0x2d04d4^_0x411705)+0x6ed9eba1:_0x10d948<0x3c?_0x3b2837+=(_0x39454a&_0x2d04d4|_0x39454a&_0x411705|_0x2d04d4&_0x411705)-0x70e44324:_0x3b2837+=(_0x39454a^_0x2d04d4^_0x411705)-0x359d3e2a,_0x32539d=_0x411705,_0x411705=_0x2d04d4,_0x2d04d4=_0x39454a<<0x1e|_0x39454a>>>0x2,_0x39454a=_0x59c0e1,_0x59c0e1=_0x3b2837;}_0x53374c[0x0]=_0x53374c[0x0]+_0x59c0e1|0x0,_0x53374c[0x1]=_0x53374c[0x1]+_0x39454a|0x0,_0x53374c[0x2]=_0x53374c[0x2]+_0x2d04d4|0x0,_0x53374c[0x3]=_0x53374c[0x3]+_0x411705|0x0,_0x53374c[0x4]=_0x53374c[0x4]+_0x32539d|0x0;},'_doFinalize':function(){const _0x40cbdc=_0x377963;var _0xe1c962=this['_data'],_0x326fb1=_0xe1c962[_0x40cbdc(0x20b)],_0x3361e7=this[_0x40cbdc(0x209)]*0x8,_0x50ff7d=_0xe1c962['sigBytes']*0x8;return _0x326fb1[_0x50ff7d>>>0x5]|=0x80<<0x18-_0x50ff7d%0x20,_0x326fb1[(_0x50ff7d+0x40>>>0x9<<0x4)+0xe]=Math[_0x40cbdc(0x1e0)](_0x3361e7/0x100000000),_0x326fb1[(_0x50ff7d+0x40>>>0x9<<0x4)+0xf]=_0x3361e7,_0xe1c962['sigBytes']=_0x326fb1['length']*0x4,this[_0x40cbdc(0x46f)](),this[_0x40cbdc(0x17e)];},'clone':function(){const _0x3bb225=_0x377963;var _0x1a8ef4=_0x5dc1a5['clone'][_0x3bb225(0x2eb)](this);return _0x1a8ef4['_hash']=this[_0x3bb225(0x17e)][_0x3bb225(0x4b3)](),_0x1a8ef4;}});_0x13f24d['SHA1']=_0x5dc1a5[_0x377963(0x1c9)](_0x46e273),_0x13f24d['HmacSHA1']=_0x5dc1a5[_0x377963(0xb2)](_0x46e273);}()),_0x28a304['SHA1'];}));}(_0x4e6229)),_0x4e6229[_0x4798b0(0x1a3)];}var _0x168e3d={'exports':{}},_0x186628;function _0x5d028e(){const _0x116b3d=_0x416c04;return _0x186628||(_0x186628=0x1,function(_0x498a9c,_0x5618f4){(function(_0x5a65c8,_0x3f191b){const _0x185e11=_0x3e32;_0x498a9c[_0x185e11(0x1a3)]=_0x3f191b(_0x114f16());}(_0x51aa03,function(_0xb03dfc){(function(){const _0x1af320=_0x3e32;var _0x5a8fbd=_0xb03dfc,_0xd39612=_0x5a8fbd[_0x1af320(0x4e1)],_0x4ce9cd=_0xd39612[_0x1af320(0x108)],_0x558f53=_0x5a8fbd[_0x1af320(0x1e8)],_0x18220a=_0x558f53['Utf8'],_0x371bde=_0x5a8fbd[_0x1af320(0x172)];_0x371bde['HMAC']=_0x4ce9cd['extend']({'init':function(_0x5301fe,_0x500eaa){const _0x37b5bf=_0x1af320;_0x5301fe=this[_0x37b5bf(0x4a3)]=new _0x5301fe[(_0x37b5bf(0x479))](),typeof _0x500eaa=='string'&&(_0x500eaa=_0x18220a[_0x37b5bf(0x1a4)](_0x500eaa));var _0x3ebb90=_0x5301fe['blockSize'],_0x494889=_0x3ebb90*0x4;_0x500eaa['sigBytes']>_0x494889&&(_0x500eaa=_0x5301fe['finalize'](_0x500eaa)),_0x500eaa[_0x37b5bf(0x236)]();for(var _0x335fa2=this['_oKey']=_0x500eaa[_0x37b5bf(0x4b3)](),_0x155ea8=this['_iKey']=_0x500eaa['clone'](),_0x13982b=_0x335fa2[_0x37b5bf(0x20b)],_0xd6e45d=_0x155ea8[_0x37b5bf(0x20b)],_0x281419=0x0;_0x281419<_0x3ebb90;_0x281419++)_0x13982b[_0x281419]^=0x5c5c5c5c,_0xd6e45d[_0x281419]^=0x36363636;_0x335fa2[_0x37b5bf(0x3bf)]=_0x155ea8[_0x37b5bf(0x3bf)]=_0x494889,this[_0x37b5bf(0x43c)]();},'reset':function(){const _0x4e793c=_0x1af320;var _0x3998a6=this[_0x4e793c(0x4a3)];_0x3998a6[_0x4e793c(0x43c)](),_0x3998a6[_0x4e793c(0x42c)](this[_0x4e793c(0xbd)]);},'update':function(_0x2bd361){const _0x3b4bbf=_0x1af320;return this[_0x3b4bbf(0x4a3)][_0x3b4bbf(0x42c)](_0x2bd361),this;},'finalize':function(_0xea59c8){const _0x34b7b7=_0x1af320;var _0x4fb25c=this['_hasher'],_0x2c44c9=_0x4fb25c['finalize'](_0xea59c8);_0x4fb25c['reset']();var _0x8d300d=_0x4fb25c[_0x34b7b7(0x4fa)](this[_0x34b7b7(0x19f)][_0x34b7b7(0x4b3)]()[_0x34b7b7(0x4af)](_0x2c44c9));return _0x8d300d;}});}());}));}(_0x168e3d)),_0x168e3d[_0x116b3d(0x1a3)];}var _0x133c70;function _0x2e44d9(){const _0x542ab8=_0x416c04;return _0x133c70||(_0x133c70=0x1,function(_0x5f4731,_0x380cf1){(function(_0x32c004,_0x1349c4,_0x346101){const _0x3b464c=_0x3e32;_0x5f4731[_0x3b464c(0x1a3)]=_0x1349c4(_0x114f16(),_0x3f0d71(),_0x5d028e());}(_0x51aa03,function(_0x3b9003){const _0x156a4b=_0x3e32;return(function(){const _0x50e410=_0x3e32;var _0x58161f=_0x3b9003,_0x37ccce=_0x58161f[_0x50e410(0x4e1)],_0xe4f596=_0x37ccce[_0x50e410(0x108)],_0x24a002=_0x37ccce[_0x50e410(0x513)],_0x24091f=_0x58161f[_0x50e410(0x172)],_0x5b07e1=_0x24091f[_0x50e410(0x4ef)],_0x2a03cc=_0x24091f[_0x50e410(0x373)]=_0xe4f596['extend']({'cfg':_0xe4f596[_0x50e410(0x50d)]({'keySize':0x80/0x20,'hasher':_0x5b07e1,'iterations':0x1}),'init':function(_0x559dda){const _0x4d4c3b=_0x50e410;this[_0x4d4c3b(0xfc)]=this[_0x4d4c3b(0xfc)][_0x4d4c3b(0x50d)](_0x559dda);},'compute':function(_0x453170,_0x14bf9c){const _0x3dd236=_0x50e410;for(var _0x39367e,_0x5f3864=this['cfg'],_0x31689c=_0x5f3864[_0x3dd236(0x131)][_0x3dd236(0x109)](),_0x48617f=_0x24a002[_0x3dd236(0x109)](),_0x23aebd=_0x48617f[_0x3dd236(0x20b)],_0x4ceb6f=_0x5f3864[_0x3dd236(0x76)],_0x132f06=_0x5f3864['iterations'];_0x23aebd[_0x3dd236(0x26a)]<_0x4ceb6f;){_0x39367e&&_0x31689c['update'](_0x39367e),_0x39367e=_0x31689c[_0x3dd236(0x42c)](_0x453170)[_0x3dd236(0x4fa)](_0x14bf9c),_0x31689c['reset']();for(var _0x209004=0x1;_0x209004<_0x132f06;_0x209004++)_0x39367e=_0x31689c['finalize'](_0x39367e),_0x31689c[_0x3dd236(0x43c)]();_0x48617f[_0x3dd236(0x4af)](_0x39367e);}return _0x48617f[_0x3dd236(0x3bf)]=_0x4ceb6f*0x4,_0x48617f;}});_0x58161f[_0x50e410(0x373)]=function(_0x3655a5,_0x3d600b,_0x178667){return _0x2a03cc['create'](_0x178667)['compute'](_0x3655a5,_0x3d600b);};}()),_0x3b9003[_0x156a4b(0x373)];}));}(_0x237c89)),_0x237c89[_0x542ab8(0x1a3)];}var _0x40d406={'exports':{}},_0x358d08;function _0x47fced(){return _0x358d08||(_0x358d08=0x1,function(_0x16ba5a,_0x3006a0){(function(_0x424a89,_0x431ca3,_0x13817b){const _0x3dc8a4=_0x3e32;_0x16ba5a[_0x3dc8a4(0x1a3)]=_0x431ca3(_0x114f16(),_0x2e44d9());}(_0x51aa03,function(_0x4e5e6c){const _0x1e6245=_0x3e32;_0x4e5e6c[_0x1e6245(0x4e1)][_0x1e6245(0x2aa)]||function(_0x2dcf03){const _0x3ceaac=_0x1e6245;var _0x1eabe5=_0x4e5e6c,_0x182238=_0x1eabe5[_0x3ceaac(0x4e1)],_0x472696=_0x182238[_0x3ceaac(0x108)],_0x575d13=_0x182238['WordArray'],_0x2a83a1=_0x182238[_0x3ceaac(0x2cf)],_0x2ae7af=_0x1eabe5[_0x3ceaac(0x1e8)];_0x2ae7af[_0x3ceaac(0x230)];var _0xc3be63=_0x2ae7af['Base64'],_0x2afa6d=_0x1eabe5[_0x3ceaac(0x172)],_0x13c9aa=_0x2afa6d['EvpKDF'],_0xde393f=_0x182238[_0x3ceaac(0x2aa)]=_0x2a83a1[_0x3ceaac(0x50d)]({'cfg':_0x472696['extend'](),'createEncryptor':function(_0xf24821,_0x598063){const _0x3f4e52=_0x3ceaac;return this[_0x3f4e52(0x109)](this[_0x3f4e52(0x2dc)],_0xf24821,_0x598063);},'createDecryptor':function(_0x490c0d,_0xa79e46){const _0x36020b=_0x3ceaac;return this[_0x36020b(0x109)](this[_0x36020b(0x497)],_0x490c0d,_0xa79e46);},'init':function(_0x56f33f,_0x70b736,_0x6b9002){const _0x356546=_0x3ceaac;this[_0x356546(0xfc)]=this[_0x356546(0xfc)][_0x356546(0x50d)](_0x6b9002),this[_0x356546(0x43f)]=_0x56f33f,this['_key']=_0x70b736,this[_0x356546(0x43c)]();},'reset':function(){const _0xc0abd6=_0x3ceaac;_0x2a83a1[_0xc0abd6(0x43c)]['call'](this),this['_doReset']();},'process':function(_0x205f9f){const _0x529798=_0x3ceaac;return this['_append'](_0x205f9f),this[_0x529798(0x46f)]();},'finalize':function(_0x2714e6){const _0x3eaf55=_0x3ceaac;_0x2714e6&&this['_append'](_0x2714e6);var _0x174710=this[_0x3eaf55(0x435)]();return _0x174710;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x963ce7(_0x2eebba){const _0x40f2d4=_0x3e32;return typeof _0x2eebba==_0x40f2d4(0x10b)?_0x291717:_0x26393c;}return function(_0x2df673){return{'encrypt':function(_0x1cc066,_0xd4a9e1,_0x2ed687){const _0x3087f8=_0x3e32;return _0x963ce7(_0xd4a9e1)[_0x3087f8(0x3a6)](_0x2df673,_0x1cc066,_0xd4a9e1,_0x2ed687);},'decrypt':function(_0x26e399,_0x268d21,_0x5bf0b0){const _0x1bdb2a=_0x3e32;return _0x963ce7(_0x268d21)[_0x1bdb2a(0xe4)](_0x2df673,_0x26e399,_0x268d21,_0x5bf0b0);}};};}())});_0x182238[_0x3ceaac(0x3f7)]=_0xde393f[_0x3ceaac(0x50d)]({'_doFinalize':function(){const _0x243090=_0x3ceaac;var _0x3349f5=this[_0x243090(0x46f)](!0x0);return _0x3349f5;},'blockSize':0x1});var _0x2d98a8=_0x1eabe5[_0x3ceaac(0x251)]={},_0x4dbfdb=_0x182238[_0x3ceaac(0x238)]=_0x472696[_0x3ceaac(0x50d)]({'createEncryptor':function(_0x564465,_0x5e0ace){const _0x414172=_0x3ceaac;return this[_0x414172(0x1c5)][_0x414172(0x109)](_0x564465,_0x5e0ace);},'createDecryptor':function(_0x1973b0,_0x5c75ed){const _0x462c50=_0x3ceaac;return this[_0x462c50(0x45b)]['create'](_0x1973b0,_0x5c75ed);},'init':function(_0x48be88,_0x5d0e55){const _0x59454f=_0x3ceaac;this[_0x59454f(0x227)]=_0x48be88,this[_0x59454f(0x18c)]=_0x5d0e55;}}),_0x1db519=_0x2d98a8[_0x3ceaac(0xda)]=(function(){const _0x2ad830=_0x3ceaac;var _0x3ffc4b=_0x4dbfdb['extend']();_0x3ffc4b['Encryptor']=_0x3ffc4b['extend']({'processBlock':function(_0x34e663,_0x2d546c){const _0x304ec0=_0x3e32;var _0x3c35c5=this[_0x304ec0(0x227)],_0x1a6005=_0x3c35c5[_0x304ec0(0xcb)];_0x1e2380['call'](this,_0x34e663,_0x2d546c,_0x1a6005),_0x3c35c5[_0x304ec0(0x21c)](_0x34e663,_0x2d546c),this[_0x304ec0(0x510)]=_0x34e663[_0x304ec0(0x191)](_0x2d546c,_0x2d546c+_0x1a6005);}}),_0x3ffc4b[_0x2ad830(0x45b)]=_0x3ffc4b[_0x2ad830(0x50d)]({'processBlock':function(_0x320852,_0x539a6c){const _0x389769=_0x2ad830;var _0x444b2c=this['_cipher'],_0x59fe79=_0x444b2c[_0x389769(0xcb)],_0x2b493c=_0x320852[_0x389769(0x191)](_0x539a6c,_0x539a6c+_0x59fe79);_0x444b2c[_0x389769(0x48c)](_0x320852,_0x539a6c),_0x1e2380[_0x389769(0x2eb)](this,_0x320852,_0x539a6c,_0x59fe79),this[_0x389769(0x510)]=_0x2b493c;}});function _0x1e2380(_0x2f8dbb,_0xef22f8,_0x3ff770){const _0x33adaf=_0x2ad830;var _0x359dc3,_0x42ca08=this[_0x33adaf(0x18c)];_0x42ca08?(_0x359dc3=_0x42ca08,this['_iv']=_0x2dcf03):_0x359dc3=this[_0x33adaf(0x510)];for(var _0x5e68d4=0x0;_0x5e68d4<_0x3ff770;_0x5e68d4++)_0x2f8dbb[_0xef22f8+_0x5e68d4]^=_0x359dc3[_0x5e68d4];}return _0x3ffc4b;}()),_0x14155b=_0x1eabe5[_0x3ceaac(0x1e3)]={},_0x5216a4=_0x14155b[_0x3ceaac(0x3c6)]={'pad':function(_0x19d9ab,_0xf83657){const _0x3c7be0=_0x3ceaac;for(var _0x26fb5e=_0xf83657*0x4,_0x24c5ae=_0x26fb5e-_0x19d9ab[_0x3c7be0(0x3bf)]%_0x26fb5e,_0x39465d=_0x24c5ae<<0x18|_0x24c5ae<<0x10|_0x24c5ae<<0x8|_0x24c5ae,_0x3fa26f=[],_0x2ae771=0x0;_0x2ae771<_0x24c5ae;_0x2ae771+=0x4)_0x3fa26f[_0x3c7be0(0x1e9)](_0x39465d);var _0x2d0197=_0x575d13[_0x3c7be0(0x109)](_0x3fa26f,_0x24c5ae);_0x19d9ab[_0x3c7be0(0x4af)](_0x2d0197);},'unpad':function(_0x58b421){const _0x78d31f=_0x3ceaac;var _0x2c1cb0=_0x58b421[_0x78d31f(0x20b)][_0x58b421[_0x78d31f(0x3bf)]-0x1>>>0x2]&0xff;_0x58b421[_0x78d31f(0x3bf)]-=_0x2c1cb0;}};_0x182238[_0x3ceaac(0x45d)]=_0xde393f[_0x3ceaac(0x50d)]({'cfg':_0xde393f[_0x3ceaac(0xfc)]['extend']({'mode':_0x1db519,'padding':_0x5216a4}),'reset':function(){const _0x1739a7=_0x3ceaac;var _0x59e23b;_0xde393f['reset']['call'](this);var _0x3e0815=this[_0x1739a7(0xfc)],_0x6ae808=_0x3e0815['iv'],_0x574079=_0x3e0815['mode'];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x59e23b=_0x574079[_0x1739a7(0x144)]:(_0x59e23b=_0x574079['createDecryptor'],this['_minBufferSize']=0x1),this[_0x1739a7(0x1f9)]&&this[_0x1739a7(0x1f9)][_0x1739a7(0x4fe)]==_0x59e23b?this['_mode'][_0x1739a7(0x479)](this,_0x6ae808&&_0x6ae808[_0x1739a7(0x20b)]):(this[_0x1739a7(0x1f9)]=_0x59e23b[_0x1739a7(0x2eb)](_0x574079,this,_0x6ae808&&_0x6ae808['words']),this[_0x1739a7(0x1f9)][_0x1739a7(0x4fe)]=_0x59e23b);},'_doProcessBlock':function(_0xc8bcb7,_0x3ccb1b){const _0x3fb8cd=_0x3ceaac;this[_0x3fb8cd(0x1f9)]['processBlock'](_0xc8bcb7,_0x3ccb1b);},'_doFinalize':function(){const _0x290e83=_0x3ceaac;var _0x4dc0c,_0x489bd3=this['cfg'][_0x290e83(0x3e9)];return this[_0x290e83(0x43f)]==this['_ENC_XFORM_MODE']?(_0x489bd3[_0x290e83(0x1e3)](this[_0x290e83(0x340)],this['blockSize']),_0x4dc0c=this['_process'](!0x0)):(_0x4dc0c=this['_process'](!0x0),_0x489bd3[_0x290e83(0x1f6)](_0x4dc0c)),_0x4dc0c;},'blockSize':0x80/0x20});var _0x267c27=_0x182238[_0x3ceaac(0x2ab)]=_0x472696[_0x3ceaac(0x50d)]({'init':function(_0x3adc5e){const _0xae0ccf=_0x3ceaac;this[_0xae0ccf(0x65)](_0x3adc5e);},'toString':function(_0x4426c0){const _0x27e9ca=_0x3ceaac;return(_0x4426c0||this[_0x27e9ca(0x511)])[_0x27e9ca(0x420)](this);}}),_0x534341=_0x1eabe5[_0x3ceaac(0x35b)]={},_0x43996f=_0x534341[_0x3ceaac(0x82)]={'stringify':function(_0xa57034){const _0x157483=_0x3ceaac;var _0xee67f5,_0x2319e5=_0xa57034[_0x157483(0x328)],_0x3c2721=_0xa57034['salt'];return _0x3c2721?_0xee67f5=_0x575d13[_0x157483(0x109)]([0x53616c74,0x65645f5f])[_0x157483(0x4af)](_0x3c2721)['concat'](_0x2319e5):_0xee67f5=_0x2319e5,_0xee67f5['toString'](_0xc3be63);},'parse':function(_0xe1022e){const _0x4a6fba=_0x3ceaac;var _0x55d3b9,_0x5e45b4=_0xc3be63[_0x4a6fba(0x1a4)](_0xe1022e),_0x232152=_0x5e45b4['words'];return _0x232152[0x0]==0x53616c74&&_0x232152[0x1]==0x65645f5f&&(_0x55d3b9=_0x575d13['create'](_0x232152['slice'](0x2,0x4)),_0x232152[_0x4a6fba(0x477)](0x0,0x4),_0x5e45b4[_0x4a6fba(0x3bf)]-=0x10),_0x267c27[_0x4a6fba(0x109)]({'ciphertext':_0x5e45b4,'salt':_0x55d3b9});}},_0x26393c=_0x182238['SerializableCipher']=_0x472696[_0x3ceaac(0x50d)]({'cfg':_0x472696[_0x3ceaac(0x50d)]({'format':_0x43996f}),'encrypt':function(_0x3ad02d,_0x111112,_0x26c327,_0x2d5180){const _0x4134e5=_0x3ceaac;_0x2d5180=this[_0x4134e5(0xfc)]['extend'](_0x2d5180);var _0x544595=_0x3ad02d['createEncryptor'](_0x26c327,_0x2d5180),_0x54dcb7=_0x544595[_0x4134e5(0x4fa)](_0x111112),_0x5aa7ec=_0x544595[_0x4134e5(0xfc)];return _0x267c27['create']({'ciphertext':_0x54dcb7,'key':_0x26c327,'iv':_0x5aa7ec['iv'],'algorithm':_0x3ad02d,'mode':_0x5aa7ec['mode'],'padding':_0x5aa7ec[_0x4134e5(0x3e9)],'blockSize':_0x3ad02d['blockSize'],'formatter':_0x2d5180[_0x4134e5(0x35b)]});},'decrypt':function(_0x42e3f0,_0x19ed70,_0x3f073e,_0x409123){const _0xc5b888=_0x3ceaac;_0x409123=this[_0xc5b888(0xfc)][_0xc5b888(0x50d)](_0x409123),_0x19ed70=this[_0xc5b888(0x333)](_0x19ed70,_0x409123[_0xc5b888(0x35b)]);var _0x30a6df=_0x42e3f0['createDecryptor'](_0x3f073e,_0x409123)['finalize'](_0x19ed70[_0xc5b888(0x328)]);return _0x30a6df;},'_parse':function(_0x4c0433,_0x2c837e){const _0x351687=_0x3ceaac;return typeof _0x4c0433==_0x351687(0x10b)?_0x2c837e[_0x351687(0x1a4)](_0x4c0433,this):_0x4c0433;}}),_0x1084a2=_0x1eabe5[_0x3ceaac(0x4d6)]={},_0x48157c=_0x1084a2[_0x3ceaac(0x82)]={'execute':function(_0x532f95,_0x528951,_0x3e27cd,_0xd3d250,_0x40cfd7){const _0x445b98=_0x3ceaac;if(_0xd3d250||(_0xd3d250=_0x575d13[_0x445b98(0x194)](0x40/0x8)),_0x40cfd7)var _0xd9e804=_0x13c9aa[_0x445b98(0x109)]({'keySize':_0x528951+_0x3e27cd,'hasher':_0x40cfd7})[_0x445b98(0x247)](_0x532f95,_0xd3d250);else var _0xd9e804=_0x13c9aa[_0x445b98(0x109)]({'keySize':_0x528951+_0x3e27cd})[_0x445b98(0x247)](_0x532f95,_0xd3d250);var _0x2de155=_0x575d13[_0x445b98(0x109)](_0xd9e804[_0x445b98(0x20b)][_0x445b98(0x191)](_0x528951),_0x3e27cd*0x4);return _0xd9e804[_0x445b98(0x3bf)]=_0x528951*0x4,_0x267c27[_0x445b98(0x109)]({'key':_0xd9e804,'iv':_0x2de155,'salt':_0xd3d250});}},_0x291717=_0x182238[_0x3ceaac(0x11c)]=_0x26393c[_0x3ceaac(0x50d)]({'cfg':_0x26393c[_0x3ceaac(0xfc)][_0x3ceaac(0x50d)]({'kdf':_0x48157c}),'encrypt':function(_0x517116,_0x408f50,_0x4cf5df,_0x5aa674){const _0x4e1da3=_0x3ceaac;_0x5aa674=this[_0x4e1da3(0xfc)]['extend'](_0x5aa674);var _0x5504e5=_0x5aa674[_0x4e1da3(0x4d6)]['execute'](_0x4cf5df,_0x517116[_0x4e1da3(0x76)],_0x517116[_0x4e1da3(0x354)],_0x5aa674[_0x4e1da3(0x4ab)],_0x5aa674[_0x4e1da3(0x131)]);_0x5aa674['iv']=_0x5504e5['iv'];var _0x4bbcbb=_0x26393c[_0x4e1da3(0x3a6)][_0x4e1da3(0x2eb)](this,_0x517116,_0x408f50,_0x5504e5[_0x4e1da3(0x219)],_0x5aa674);return _0x4bbcbb[_0x4e1da3(0x65)](_0x5504e5),_0x4bbcbb;},'decrypt':function(_0x5db60f,_0x5e9bfb,_0x531cc0,_0x1b8a71){const _0x56bab1=_0x3ceaac;_0x1b8a71=this[_0x56bab1(0xfc)][_0x56bab1(0x50d)](_0x1b8a71),_0x5e9bfb=this[_0x56bab1(0x333)](_0x5e9bfb,_0x1b8a71[_0x56bab1(0x35b)]);var _0x27d714=_0x1b8a71['kdf'][_0x56bab1(0x4f4)](_0x531cc0,_0x5db60f['keySize'],_0x5db60f[_0x56bab1(0x354)],_0x5e9bfb['salt'],_0x1b8a71[_0x56bab1(0x131)]);_0x1b8a71['iv']=_0x27d714['iv'];var _0x1b2b68=_0x26393c[_0x56bab1(0xe4)]['call'](this,_0x5db60f,_0x5e9bfb,_0x27d714[_0x56bab1(0x219)],_0x1b8a71);return _0x1b2b68;}});}();}));}(_0x40d406)),_0x40d406['exports'];}(function(_0x2a9f08,_0x132271){(function(_0x2c667a,_0x4b3862,_0x149f6c){const _0x34e28e=_0x3e32;_0x2a9f08[_0x34e28e(0x1a3)]=_0x4b3862(_0x114f16(),_0x733855(),_0x142916(),_0x2e44d9(),_0x47fced());}(_0x51aa03,function(_0x2add40){return(function(){const _0x281397=_0x3e32;var _0xd1fa3d=_0x2add40,_0x1b597c=_0xd1fa3d[_0x281397(0x4e1)],_0x5d67e4=_0x1b597c[_0x281397(0x45d)],_0x4ae566=_0xd1fa3d[_0x281397(0x172)],_0x2d34ef=[],_0x4d4b7a=[],_0x551064=[],_0x58f5c2=[],_0x4eed44=[],_0x464cab=[],_0x1be198=[],_0x4efc2b=[],_0x5f2da7=[],_0x1bbfc7=[];(function(){for(var _0x98137c=[],_0x49862e=0x0;_0x49862e<0x100;_0x49862e++)_0x49862e<0x80?_0x98137c[_0x49862e]=_0x49862e<<0x1:_0x98137c[_0x49862e]=_0x49862e<<0x1^0x11b;for(var _0x261952=0x0,_0x1510b3=0x0,_0x49862e=0x0;_0x49862e<0x100;_0x49862e++){var _0xdd6807=_0x1510b3^_0x1510b3<<0x1^_0x1510b3<<0x2^_0x1510b3<<0x3^_0x1510b3<<0x4;_0xdd6807=_0xdd6807>>>0x8^_0xdd6807&0xff^0x63,_0x2d34ef[_0x261952]=_0xdd6807,_0x4d4b7a[_0xdd6807]=_0x261952;var _0x5800fa=_0x98137c[_0x261952],_0xe0ae7d=_0x98137c[_0x5800fa],_0x39c9c5=_0x98137c[_0xe0ae7d],_0x5fe8b8=_0x98137c[_0xdd6807]*0x101^_0xdd6807*0x1010100;_0x551064[_0x261952]=_0x5fe8b8<<0x18|_0x5fe8b8>>>0x8,_0x58f5c2[_0x261952]=_0x5fe8b8<<0x10|_0x5fe8b8>>>0x10,_0x4eed44[_0x261952]=_0x5fe8b8<<0x8|_0x5fe8b8>>>0x18,_0x464cab[_0x261952]=_0x5fe8b8;var _0x5fe8b8=_0x39c9c5*0x1010101^_0xe0ae7d*0x10001^_0x5800fa*0x101^_0x261952*0x1010100;_0x1be198[_0xdd6807]=_0x5fe8b8<<0x18|_0x5fe8b8>>>0x8,_0x4efc2b[_0xdd6807]=_0x5fe8b8<<0x10|_0x5fe8b8>>>0x10,_0x5f2da7[_0xdd6807]=_0x5fe8b8<<0x8|_0x5fe8b8>>>0x18,_0x1bbfc7[_0xdd6807]=_0x5fe8b8,_0x261952?(_0x261952=_0x5800fa^_0x98137c[_0x98137c[_0x98137c[_0x39c9c5^_0x5800fa]]],_0x1510b3^=_0x98137c[_0x98137c[_0x1510b3]]):_0x261952=_0x1510b3=0x1;}}());var _0x53e38a=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x26d902=_0x4ae566[_0x281397(0x309)]=_0x5d67e4[_0x281397(0x50d)]({'_doReset':function(){const _0x17f710=_0x281397;var _0x35c812;if(!(this[_0x17f710(0x192)]&&this['_keyPriorReset']===this[_0x17f710(0x140)])){for(var _0x57ead5=this['_keyPriorReset']=this[_0x17f710(0x140)],_0x5a478d=_0x57ead5[_0x17f710(0x20b)],_0x3ac10c=_0x57ead5[_0x17f710(0x3bf)]/0x4,_0x2f0389=this[_0x17f710(0x192)]=_0x3ac10c+0x6,_0x5c3eba=(_0x2f0389+0x1)*0x4,_0xc5898a=this['_keySchedule']=[],_0x92e94=0x0;_0x92e94<_0x5c3eba;_0x92e94++)_0x92e94<_0x3ac10c?_0xc5898a[_0x92e94]=_0x5a478d[_0x92e94]:(_0x35c812=_0xc5898a[_0x92e94-0x1],_0x92e94%_0x3ac10c?_0x3ac10c>0x6&&_0x92e94%_0x3ac10c==0x4&&(_0x35c812=_0x2d34ef[_0x35c812>>>0x18]<<0x18|_0x2d34ef[_0x35c812>>>0x10&0xff]<<0x10|_0x2d34ef[_0x35c812>>>0x8&0xff]<<0x8|_0x2d34ef[_0x35c812&0xff]):(_0x35c812=_0x35c812<<0x8|_0x35c812>>>0x18,_0x35c812=_0x2d34ef[_0x35c812>>>0x18]<<0x18|_0x2d34ef[_0x35c812>>>0x10&0xff]<<0x10|_0x2d34ef[_0x35c812>>>0x8&0xff]<<0x8|_0x2d34ef[_0x35c812&0xff],_0x35c812^=_0x53e38a[_0x92e94/_0x3ac10c|0x0]<<0x18),_0xc5898a[_0x92e94]=_0xc5898a[_0x92e94-_0x3ac10c]^_0x35c812);for(var _0x81dde1=this[_0x17f710(0x41f)]=[],_0x5d7324=0x0;_0x5d7324<_0x5c3eba;_0x5d7324++){var _0x92e94=_0x5c3eba-_0x5d7324;if(_0x5d7324%0x4)var _0x35c812=_0xc5898a[_0x92e94];else var _0x35c812=_0xc5898a[_0x92e94-0x4];_0x5d7324<0x4||_0x92e94<=0x4?_0x81dde1[_0x5d7324]=_0x35c812:_0x81dde1[_0x5d7324]=_0x1be198[_0x2d34ef[_0x35c812>>>0x18]]^_0x4efc2b[_0x2d34ef[_0x35c812>>>0x10&0xff]]^_0x5f2da7[_0x2d34ef[_0x35c812>>>0x8&0xff]]^_0x1bbfc7[_0x2d34ef[_0x35c812&0xff]];}}},'encryptBlock':function(_0x5ce5a8,_0x4842d7){const _0x23fda1=_0x281397;this[_0x23fda1(0x35a)](_0x5ce5a8,_0x4842d7,this[_0x23fda1(0x481)],_0x551064,_0x58f5c2,_0x4eed44,_0x464cab,_0x2d34ef);},'decryptBlock':function(_0x257d77,_0x2e188d){const _0x636e08=_0x281397;var _0x3b5785=_0x257d77[_0x2e188d+0x1];_0x257d77[_0x2e188d+0x1]=_0x257d77[_0x2e188d+0x3],_0x257d77[_0x2e188d+0x3]=_0x3b5785,this[_0x636e08(0x35a)](_0x257d77,_0x2e188d,this[_0x636e08(0x41f)],_0x1be198,_0x4efc2b,_0x5f2da7,_0x1bbfc7,_0x4d4b7a);var _0x3b5785=_0x257d77[_0x2e188d+0x1];_0x257d77[_0x2e188d+0x1]=_0x257d77[_0x2e188d+0x3],_0x257d77[_0x2e188d+0x3]=_0x3b5785;},'_doCryptBlock':function(_0x31fd62,_0x277aac,_0x564d23,_0x1d3f39,_0x4f2182,_0x2acf4e,_0x10733d,_0x42f7b5){for(var _0x2403b3=this['_nRounds'],_0x5c66d6=_0x31fd62[_0x277aac]^_0x564d23[0x0],_0x18ec1a=_0x31fd62[_0x277aac+0x1]^_0x564d23[0x1],_0x3adb0f=_0x31fd62[_0x277aac+0x2]^_0x564d23[0x2],_0x3f023c=_0x31fd62[_0x277aac+0x3]^_0x564d23[0x3],_0x3f23d4=0x4,_0x4ac155=0x1;_0x4ac155<_0x2403b3;_0x4ac155++){var _0x2b1f8c=_0x1d3f39[_0x5c66d6>>>0x18]^_0x4f2182[_0x18ec1a>>>0x10&0xff]^_0x2acf4e[_0x3adb0f>>>0x8&0xff]^_0x10733d[_0x3f023c&0xff]^_0x564d23[_0x3f23d4++],_0x15e44d=_0x1d3f39[_0x18ec1a>>>0x18]^_0x4f2182[_0x3adb0f>>>0x10&0xff]^_0x2acf4e[_0x3f023c>>>0x8&0xff]^_0x10733d[_0x5c66d6&0xff]^_0x564d23[_0x3f23d4++],_0x2b69a8=_0x1d3f39[_0x3adb0f>>>0x18]^_0x4f2182[_0x3f023c>>>0x10&0xff]^_0x2acf4e[_0x5c66d6>>>0x8&0xff]^_0x10733d[_0x18ec1a&0xff]^_0x564d23[_0x3f23d4++],_0x587d02=_0x1d3f39[_0x3f023c>>>0x18]^_0x4f2182[_0x5c66d6>>>0x10&0xff]^_0x2acf4e[_0x18ec1a>>>0x8&0xff]^_0x10733d[_0x3adb0f&0xff]^_0x564d23[_0x3f23d4++];_0x5c66d6=_0x2b1f8c,_0x18ec1a=_0x15e44d,_0x3adb0f=_0x2b69a8,_0x3f023c=_0x587d02;}var _0x2b1f8c=(_0x42f7b5[_0x5c66d6>>>0x18]<<0x18|_0x42f7b5[_0x18ec1a>>>0x10&0xff]<<0x10|_0x42f7b5[_0x3adb0f>>>0x8&0xff]<<0x8|_0x42f7b5[_0x3f023c&0xff])^_0x564d23[_0x3f23d4++],_0x15e44d=(_0x42f7b5[_0x18ec1a>>>0x18]<<0x18|_0x42f7b5[_0x3adb0f>>>0x10&0xff]<<0x10|_0x42f7b5[_0x3f023c>>>0x8&0xff]<<0x8|_0x42f7b5[_0x5c66d6&0xff])^_0x564d23[_0x3f23d4++],_0x2b69a8=(_0x42f7b5[_0x3adb0f>>>0x18]<<0x18|_0x42f7b5[_0x3f023c>>>0x10&0xff]<<0x10|_0x42f7b5[_0x5c66d6>>>0x8&0xff]<<0x8|_0x42f7b5[_0x18ec1a&0xff])^_0x564d23[_0x3f23d4++],_0x587d02=(_0x42f7b5[_0x3f023c>>>0x18]<<0x18|_0x42f7b5[_0x5c66d6>>>0x10&0xff]<<0x10|_0x42f7b5[_0x18ec1a>>>0x8&0xff]<<0x8|_0x42f7b5[_0x3adb0f&0xff])^_0x564d23[_0x3f23d4++];_0x31fd62[_0x277aac]=_0x2b1f8c,_0x31fd62[_0x277aac+0x1]=_0x15e44d,_0x31fd62[_0x277aac+0x2]=_0x2b69a8,_0x31fd62[_0x277aac+0x3]=_0x587d02;},'keySize':0x100/0x20});_0xd1fa3d['AES']=_0x5d67e4['_createHelper'](_0x26d902);}()),_0x2add40['AES'];}));}(_0x11f098));var _0x7ced5a=_0x11f098['exports'];const _0x4cc7e8=_0x1e31b9(_0x7ced5a);var _0x473a8b=_0x733855();const _0x55c165=_0x1e31b9(_0x473a8b);var _0x4ce675={'exports':{}};(function(_0x5f3512,_0x599688){(function(_0x2aa94e,_0x57e23a){const _0x1071d2=_0x3e32;_0x5f3512[_0x1071d2(0x1a3)]=_0x57e23a(_0x114f16());}(_0x51aa03,function(_0x4a957f){const _0x15ab33=_0x3e32;return _0x4a957f['enc'][_0x15ab33(0x230)];}));}(_0x4ce675));var _0x449e3f=_0x4ce675[_0x416c04(0x1a3)];const _0x4be341=_0x1e31b9(_0x449e3f);var _0x38cda3={'exports':{}};(function(_0x99dbc7,_0x166a52){(function(_0x3e2b66,_0x89e69f){const _0xaae0e7=_0x3e32;_0x99dbc7[_0xaae0e7(0x1a3)]=_0x89e69f(_0x114f16());}(_0x51aa03,function(_0x597ae8){const _0x3d06c7=_0x3e32;return(function(){const _0x57000e=_0x3e32;if(typeof ArrayBuffer==_0x57000e(0x2ca)){var _0x5b8910=_0x597ae8,_0x4ac36d=_0x5b8910[_0x57000e(0x4e1)],_0x15dbc1=_0x4ac36d[_0x57000e(0x513)],_0x5a9861=_0x15dbc1[_0x57000e(0x479)],_0x190077=_0x15dbc1[_0x57000e(0x479)]=function(_0xa94a51){const _0x15e214=_0x57000e;if(_0xa94a51 instanceof ArrayBuffer&&(_0xa94a51=new Uint8Array(_0xa94a51)),(_0xa94a51 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xa94a51 instanceof Uint8ClampedArray||_0xa94a51 instanceof Int16Array||_0xa94a51 instanceof Uint16Array||_0xa94a51 instanceof Int32Array||_0xa94a51 instanceof Uint32Array||_0xa94a51 instanceof Float32Array||_0xa94a51 instanceof Float64Array)&&(_0xa94a51=new Uint8Array(_0xa94a51['buffer'],_0xa94a51['byteOffset'],_0xa94a51['byteLength'])),_0xa94a51 instanceof Uint8Array){for(var _0x5949a3=_0xa94a51[_0x15e214(0x458)],_0x561a02=[],_0x741db8=0x0;_0x741db8<_0x5949a3;_0x741db8++)_0x561a02[_0x741db8>>>0x2]|=_0xa94a51[_0x741db8]<<0x18-_0x741db8%0x4*0x8;_0x5a9861[_0x15e214(0x2eb)](this,_0x561a02,_0x5949a3);}else _0x5a9861[_0x15e214(0x2e7)](this,arguments);};_0x190077['prototype']=_0x15dbc1;}}()),_0x597ae8['lib'][_0x3d06c7(0x513)];}));}(_0x38cda3));var _0x2a13c5=_0x38cda3[_0x416c04(0x1a3)];const _0x5840e7=_0x1e31b9(_0x2a13c5);var _0x66e6e4={'exports':{}};(function(_0x576e9e,_0x413c75){(function(_0x265a23,_0x198e51,_0x3671ae){const _0x5c1ab8=_0x3e32;_0x576e9e[_0x5c1ab8(0x1a3)]=_0x198e51(_0x114f16(),_0x47fced());}(_0x51aa03,function(_0x137311){const _0x525a91=_0x3e32;return _0x137311[_0x525a91(0x1e3)][_0x525a91(0x33d)]={'pad':function(){},'unpad':function(){}},_0x137311[_0x525a91(0x1e3)][_0x525a91(0x33d)];}));}(_0x66e6e4));var _0x2c3bfa=_0x66e6e4[_0x416c04(0x1a3)];const _0x351953=_0x1e31b9(_0x2c3bfa);function _0x553d84(_0x4ace9d,_0x153b45){const _0x3d64c1=_0x416c04,_0x109473=_0x153b45-_0x4ace9d[_0x3d64c1(0x26a)]%_0x153b45,_0x1b2519=String['fromCharCode'](_0x109473)[_0x3d64c1(0x41e)](_0x109473);return _0x4ace9d+_0x1b2519;}function _0x103cbb(_0x57b600,_0x10ddf5){const _0x205c74=_0x416c04,_0x4449e8=_0x5840e7[_0x205c74(0x194)](0x10),_0x4db54b=_0x553d84(_0x57b600,0x10),_0x27e29f=_0x4cc7e8[_0x205c74(0x3a6)](_0x4be341[_0x205c74(0x1a4)](_0x4db54b),_0x55c165[_0x205c74(0x1a4)](_0x10ddf5),{'iv':_0x4449e8,'padding':_0x351953});return _0x4449e8[_0x205c74(0x4af)](_0x27e29f[_0x205c74(0x328)])[_0x205c74(0xd0)](_0x55c165);}function _0x26f163(){const _0xa87fd=_0x416c04,_0xfa8bd3=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0xa87fd(0x16c)];if(_0xfa8bd3){const _0x2c55bf={'time':Math[_0xa87fd(0x1e0)](Date[_0xa87fd(0x438)]()/0x3e8),'domain':location[_0xa87fd(0x312)]};return _0x103cbb(JSON['stringify'](_0x2c55bf),_0xfa8bd3);}}var _0x4c1242=Object[_0x416c04(0x2e4)],_0x5b9fbf=Object[_0x416c04(0x4e2)],_0x5a265c=(_0x276455,_0x297d3a,_0x591d89,_0x3236b5)=>{const _0x544c4d=_0x416c04;for(var _0x23d9e6=_0x3236b5>0x1?void 0x0:_0x3236b5?_0x5b9fbf(_0x297d3a,_0x591d89):_0x297d3a,_0x565989=_0x276455[_0x544c4d(0x26a)]-0x1,_0x128046;_0x565989>=0x0;_0x565989--)(_0x128046=_0x276455[_0x565989])&&(_0x23d9e6=(_0x3236b5?_0x128046(_0x297d3a,_0x591d89,_0x23d9e6):_0x128046(_0x23d9e6))||_0x23d9e6);return _0x3236b5&&_0x23d9e6&&_0x4c1242(_0x297d3a,_0x591d89,_0x23d9e6),_0x23d9e6;},_0x2acc99=(_0x30893d,_0x4ad35d)=>(_0x18a8a1,_0x397fe4)=>_0x4ad35d(_0x18a8a1,_0x397fe4,_0x30893d);let _0x25f587=class{constructor(_0x2388f8){const _0x3c860f=_0x416c04;this[_0x3c860f(0x4a6)]=_0x2388f8,this[_0x3c860f(0x44e)]();}[_0x416c04(0x44e)](){const _0x1b8571=_0x416c04;this[_0x1b8571(0x4a6)][_0x1b8571(0x22b)]({'interceptor':(_0x15a503,_0x785838)=>{const _0x423787=_0x1b8571,_0x455e95=_0x15a503['headers'],_0x4c924f=_0x26f163();return _0x4c924f&&_0x455e95[_0x423787(0x4ce)]('x-univer-host',_0x4c924f),_0x785838(_0x15a503);}});}};_0x25f587=_0x5a265c([_0x2acc99(0x0,_0x3d563c[_0x416c04(0x4d1)](_0x1571b5[_0x416c04(0x4db)]))],_0x25f587);var _0x419c3a=Object[_0x416c04(0x2e4)],_0x537c5e=Object[_0x416c04(0x4e2)],_0x5e9679=(_0x4abc1c,_0x81fb8f,_0x5829f8,_0xbb7e3c)=>{const _0x417a0b=_0x416c04;for(var _0x3dd793=_0xbb7e3c>0x1?void 0x0:_0xbb7e3c?_0x537c5e(_0x81fb8f,_0x5829f8):_0x81fb8f,_0x6494ce=_0x4abc1c[_0x417a0b(0x26a)]-0x1,_0x57b477;_0x6494ce>=0x0;_0x6494ce--)(_0x57b477=_0x4abc1c[_0x6494ce])&&(_0x3dd793=(_0xbb7e3c?_0x57b477(_0x81fb8f,_0x5829f8,_0x3dd793):_0x57b477(_0x3dd793))||_0x3dd793);return _0xbb7e3c&&_0x3dd793&&_0x419c3a(_0x81fb8f,_0x5829f8,_0x3dd793),_0x3dd793;},_0x5acdc3=(_0x5d7aaf,_0x314fba)=>(_0x143db0,_0x1be8cd)=>_0x314fba(_0x143db0,_0x1be8cd,_0x5d7aaf);const _0x13c680=[_0x416c04(0x298),_0x416c04(0x4b6),'image/jpg',_0x416c04(0x2ce),_0x416c04(0x256)],_0x3fd219=0x5*0x400*0x400,_0x4ada1f='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x2e52ac='/universer-api/stream/file/upload',_0x1d274e=_0x416c04(0x4ea),_0x26ef60=_0x416c04(0x38b);_0x1b5475[_0x416c04(0x454)]=class{constructor(_0x25e87a,_0x1caba1,_0x5a05b1){const _0x4e0f89=_0x416c04;_0x10d0d4(this,_0x4e0f89(0x166),0x0),_0x10d0d4(this,'_change$',new _0x10d074[(_0x4e0f89(0x178))]()),_0x10d0d4(this,_0x4e0f89(0x52e),this['_change$']),_0x10d0d4(this,_0x4e0f89(0x3ad),new Map()),(this[_0x4e0f89(0x4a6)]=_0x25e87a,this['_configService']=_0x1caba1,this[_0x4e0f89(0x468)]=_0x5a05b1);}[_0x416c04(0x4ae)](_0x551525){const _0x193bc5=_0x416c04;this[_0x193bc5(0x166)]=_0x551525,this[_0x193bc5(0xce)][_0x193bc5(0x50f)](_0x551525);}[_0x416c04(0x176)](_0x4b34e7,_0x19cf5c){const _0x95092b=_0x416c04;if(_0x19cf5c===_0x1c4a0c[_0x95092b(0xe0)][_0x95092b(0x356)]){const _0x1a2b33=new Image();return _0x1a2b33[_0x95092b(0x20a)]=_0x4b34e7,_0x1a2b33;}return this[_0x95092b(0x3ad)][_0x95092b(0x529)](_0x4b34e7);}['addImageSourceCache'](_0x46219b,_0x50c0de,_0x31b0fd){const _0xf16fe8=_0x416c04;_0x50c0de===_0x1c4a0c[_0xf16fe8(0xe0)][_0xf16fe8(0x356)]||_0x31b0fd==null||this[_0xf16fe8(0x3ad)][_0xf16fe8(0x4ce)](_0x46219b,_0x31b0fd);}async[_0x416c04(0x152)](_0x14f56c){const _0x30488e=_0x416c04;try{const _0x4885c5=this[_0x30488e(0x506)](this[_0x30488e(0x4e0)](),''+_0x14f56c),_0x435139=(await this[_0x30488e(0x4a6)][_0x30488e(0x529)](_0x4885c5))[_0x30488e(0x524)];if(_0x435139[_0x30488e(0x4b1)]&&_0x435139[_0x30488e(0x4b1)][_0x30488e(0x1dc)]===_0x5d073a['OK']){const _0x9064fd=new URL(_0x435139[_0x30488e(0x4a0)],this[_0x30488e(0x3dd)]())[_0x30488e(0xd0)]();return Promise[_0x30488e(0x2e0)](_0x9064fd);}return Promise['reject'](_0x435139['error']);}catch(_0x273916){return Promise[_0x30488e(0x3ff)](_0x273916);}}async[_0x416c04(0xad)](_0x4399f8){const _0x51c4ea=_0x416c04;let _0x2204a5='';if(!_0x13c680['includes'](_0x4399f8[_0x51c4ea(0x6e)]))return this[_0x51c4ea(0x4ee)](),Promise['reject'](new Error(_0x1c4a0c['ImageUploadStatusType'][_0x51c4ea(0x155)]));if(_0x4399f8[_0x51c4ea(0x440)]>_0x3fd219)return this[_0x51c4ea(0x4ee)](),Promise[_0x51c4ea(0x3ff)](new Error(_0x1c4a0c[_0x51c4ea(0x34c)]['ERROR_EXCEED_SIZE']));try{const _0x309ef3=new FormData();_0x309ef3[_0x51c4ea(0x453)](_0x51c4ea(0x2b5),_0x4399f8);const _0x316898=this[_0x51c4ea(0x468)][_0x51c4ea(0x9c)](),_0x5f0ace=_0x316898==null?void 0x0:_0x316898[_0x51c4ea(0x18e)]();if(!_0x5f0ace)throw new Error(_0x51c4ea(0x47d));const _0x236e85=this[_0x51c4ea(0x100)]()+_0x51c4ea(0x3be)+_0x4399f8[_0x51c4ea(0x440)][_0x51c4ea(0xd0)]()+_0x51c4ea(0xcc)+_0x17b2a1[_0x51c4ea(0x10a)]+_0x51c4ea(0x48a)+encodeURIComponent(_0x5f0ace),_0x2752ed=await(await fetch(_0x236e85,{'method':'POST','body':_0x309ef3}))[_0x51c4ea(0x327)]();if(typeof _0x2752ed[_0x51c4ea(0x7e)]!='string')return this[_0x51c4ea(0x4ee)](),Promise[_0x51c4ea(0x3ff)](new Error(_0x1c4a0c[_0x51c4ea(0x34c)]['ERROR_IMAGE']));_0x2204a5=_0x2752ed[_0x51c4ea(0x7e)];}catch{return this[_0x51c4ea(0x4ee)](),Promise[_0x51c4ea(0x3ff)](new Error(_0x1c4a0c[_0x51c4ea(0x34c)]['ERROR_IMAGE']));}return new Promise((_0x1f0d82,_0x17557d)=>{const _0x2d0eb1=_0x51c4ea,_0x21daf7=new FileReader();_0x21daf7[_0x2d0eb1(0x3a3)](_0x4399f8),_0x21daf7[_0x2d0eb1(0xaa)]=_0x113691=>{const _0x4f2b28=_0x2d0eb1;var _0x2e2e80;const _0x347df5=(_0x2e2e80=_0x113691['target'])==null?void 0x0:_0x2e2e80[_0x4f2b28(0x1a1)];if(_0x347df5==null){this[_0x4f2b28(0x4ee)](),_0x17557d(new Error(_0x1c4a0c[_0x4f2b28(0x34c)]['ERROR_IMAGE']));return;}const _0x31eacf=_0x3d563c['Tools'][_0x4f2b28(0x517)](0x6);_0x1f0d82({'imageId':_0x31eacf,'imageSourceType':_0x1c4a0c[_0x4f2b28(0xe0)][_0x4f2b28(0xa0)],'source':_0x2204a5,'base64Cache':_0x347df5,'status':_0x1c4a0c['ImageUploadStatusType']['SUCCUSS']}),this[_0x4f2b28(0x4ee)]();};});}['_getUploadFileURL'](){const _0x4c8d0a=_0x416c04;var _0x2ba7c7,_0x34406e;const _0x17d212=this[_0x4c8d0a(0xd6)][_0x4c8d0a(0x33a)](_0x4ada1f),_0x355e7d=this[_0x4c8d0a(0xd6)]['getConfig'](_0x40a44f);return(_0x34406e=(_0x2ba7c7=_0x355e7d==null?void 0x0:_0x355e7d[_0x4c8d0a(0x2f3)])!=null?_0x2ba7c7:_0x17d212)!=null?_0x34406e:_0x2e52ac;}[_0x416c04(0x4e0)](){const _0x5daa61=_0x416c04;var _0x5ce876,_0x5e948b;const _0x61553d=this[_0x5daa61(0xd6)][_0x5daa61(0x33a)](_0x1d274e),_0x411c57=this[_0x5daa61(0xd6)][_0x5daa61(0x33a)](_0x40a44f);return(_0x5e948b=(_0x5ce876=_0x411c57==null?void 0x0:_0x411c57[_0x5daa61(0x27f)])!=null?_0x5ce876:_0x61553d)!=null?_0x5e948b:_0x26ef60;}[_0x416c04(0x3dd)](){const _0x45baf8=_0x416c04;var _0x3c5a2d;const _0x1a4a53=this['_configService'][_0x45baf8(0x33a)](_0x40a44f);return(_0x3c5a2d=_0x1a4a53==null?void 0x0:_0x1a4a53[_0x45baf8(0x3df)])!=null?_0x3c5a2d:location[_0x45baf8(0x103)];}[_0x416c04(0x506)](_0xaa0c0a,_0x31fb7b){const _0x347aee=_0x416c04;return _0xaa0c0a[_0x347aee(0x26b)](_0x347aee(0x213),_0x31fb7b);}[_0x416c04(0x4ee)](){const _0x58b292=_0x416c04;this[_0x58b292(0x166)]-=0x1,this[_0x58b292(0xce)][_0x58b292(0x50f)](this[_0x58b292(0x166)]);}},_0x1b5475['ImageIoService']=_0x5e9679([_0x5acdc3(0x0,_0x3d563c[_0x416c04(0x4d1)](_0x1571b5['HTTPService'])),_0x5acdc3(0x1,_0x3d563c[_0x416c04(0x4f1)]),_0x5acdc3(0x2,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x127)]))],_0x1b5475[_0x416c04(0x454)]);var _0x504f56=Object[_0x416c04(0x2e4)],_0x1a80ab=Object[_0x416c04(0x4e2)],_0x2d3eb2=(_0x4b0890,_0x38a532,_0x9bd81a,_0x5dbd97)=>{const _0x1e2f8b=_0x416c04;for(var _0x327ec8=_0x5dbd97>0x1?void 0x0:_0x5dbd97?_0x1a80ab(_0x38a532,_0x9bd81a):_0x38a532,_0x5bec60=_0x4b0890[_0x1e2f8b(0x26a)]-0x1,_0x4cd3b3;_0x5bec60>=0x0;_0x5bec60--)(_0x4cd3b3=_0x4b0890[_0x5bec60])&&(_0x327ec8=(_0x5dbd97?_0x4cd3b3(_0x38a532,_0x9bd81a,_0x327ec8):_0x4cd3b3(_0x327ec8))||_0x327ec8);return _0x5dbd97&&_0x327ec8&&_0x504f56(_0x38a532,_0x9bd81a,_0x327ec8),_0x327ec8;},_0x5bd460=(_0x1fe99b,_0x2c87dc)=>(_0x3458a8,_0x19306f)=>_0x2c87dc(_0x3458a8,_0x19306f,_0x1fe99b);let _0x57372f=class extends _0x3d563c['RxDisposable']{constructor(_0x5ea1cb,_0x485eba,_0x22d47d,_0x3cf307,_0x18c72a){const _0xab8489=_0x416c04;super(),this['_injector']=_0x5ea1cb,this[_0xab8489(0x468)]=_0x485eba,this[_0xab8489(0x448)]=_0x22d47d,this[_0xab8489(0x101)]=_0x3cf307,this[_0xab8489(0x4c9)]=_0x18c72a,this['_initUnitPermissionChange'](),this[_0xab8489(0x2bb)]();}[_0x416c04(0x2bb)](){const _0x3f2f12=_0x416c04,_0x1465b7=async _0x3ee7ba=>{const _0x2118ae=_0x3e32;(await this[_0x2118ae(0x101)][_0x2118ae(0x92)](_0x3ee7ba))['event$']['pipe'](_0x2da86d[_0x2118ae(0x1e6)](_0x102c38=>_0x102c38['eventID']===_0x520737[_0x2118ae(0x52d)]['SHOULD_CLOSE_CONN']),_0x2da86d[_0x2118ae(0x288)](this[_0x2118ae(0x2a9)]))['subscribe'](_0x533713=>{const _0x275e75=_0x2118ae,_0x131d44=_0x533713,{reason:_0xb6f95b}=_0x131d44[_0x275e75(0xa1)];this[_0x275e75(0x4c7)][_0x275e75(0x529)](_0xe60abc[_0x275e75(0x1b7)])[_0x275e75(0x1a7)]({'type':_0x4278c0[_0x275e75(0x2de)][_0x275e75(0x4b9)],'content':this[_0x275e75(0x4c9)]['t']('collaboration.closeRoom')+'('+_0xb6f95b+')'}),this['_permissionService'][_0x275e75(0x35e)](new _0xa13da4[(_0x275e75(0x235))](_0x3ee7ba)['id'],!0x1),this[_0x275e75(0x101)][_0x275e75(0x509)](_0x3ee7ba);});};_0x10d074[_0x3f2f12(0x3cd)](this['_univerInstanceService'][_0x3f2f12(0x3a1)](_0x3d563c[_0x3f2f12(0x3b1)]['UNIVER_SHEET']),this[_0x3f2f12(0x468)][_0x3f2f12(0x3a1)](_0x3d563c[_0x3f2f12(0x3b1)][_0x3f2f12(0x465)]))['pipe'](_0x2da86d[_0x3f2f12(0x2b8)](_0x12035e=>_0x12035e[_0x3f2f12(0x18e)]()),_0x2da86d[_0x3f2f12(0x1e6)](_0xe6f01e=>!_0x3d563c[_0x3f2f12(0x400)](_0xe6f01e)),_0x2da86d[_0x3f2f12(0x288)](this[_0x3f2f12(0x2a9)]))['subscribe'](_0x50761a=>{_0x1465b7(_0x50761a);});}['_initUnitPermissionChange'](){const _0x272f0b=_0x416c04,_0x5aa20b=async _0x405339=>{const _0xf4b998=_0x3e32;(await this['_collaborationSessionService'][_0xf4b998(0x92)](_0x405339))['event$'][_0xf4b998(0x123)](_0x2da86d[_0xf4b998(0x1e6)](_0xb3c16b=>_0xb3c16b[_0xf4b998(0xac)]===_0x520737['CollaborationEvent'][_0xf4b998(0x378)]),_0x2da86d[_0xf4b998(0x288)](this[_0xf4b998(0x2a9)]))['subscribe'](_0x3dbb1c=>{const _0x17604c=_0xf4b998,_0x31492b=_0x3dbb1c,{objectId:_0x2bae0b}=_0x31492b[_0x17604c(0xa1)],_0x3d2363=this[_0x17604c(0x4c7)][_0x17604c(0x529)](_0x17ef8a[_0x17604c(0x2c7)]);_0x2bae0b===_0x405339?_0x3d2363[_0x17604c(0x1f3)](_0x405339):_0x3d2363[_0x17604c(0x245)](_0x405339,_0x2bae0b);});};_0x10d074[_0x272f0b(0x3cd)](this[_0x272f0b(0x468)][_0x272f0b(0x3a1)](_0x3d563c['UniverInstanceType']['UNIVER_SHEET']),this[_0x272f0b(0x468)][_0x272f0b(0x3a1)](_0x3d563c[_0x272f0b(0x3b1)][_0x272f0b(0x465)]))[_0x272f0b(0x123)](_0x2da86d[_0x272f0b(0x2b8)](_0x4bda02=>_0x4bda02[_0x272f0b(0x18e)]()),_0x2da86d['filter'](_0x526ec8=>!_0x3d563c[_0x272f0b(0x400)](_0x526ec8)),_0x2da86d['takeUntil'](this[_0x272f0b(0x2a9)]))[_0x272f0b(0x31f)](_0x1ac8af=>{_0x5aa20b(_0x1ac8af);});}};_0x57372f=_0x2d3eb2([_0x5bd460(0x0,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x25f)])),_0x5bd460(0x1,_0x3d563c['IUniverInstanceService']),_0x5bd460(0x2,_0x3d563c[_0x416c04(0x3d3)]),_0x5bd460(0x3,_0x3d563c['Inject'](_0x1b5475[_0x416c04(0x364)])),_0x5bd460(0x4,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c['LocaleService']))],_0x57372f);var _0x57b36c=Object[_0x416c04(0x2e4)],_0x17c2bb=Object[_0x416c04(0x4e2)],_0x48df40=(_0x15310b,_0x365db0,_0x17c60c,_0x8bf2f8)=>{const _0x155e75=_0x416c04;for(var _0x50bfd8=_0x8bf2f8>0x1?void 0x0:_0x8bf2f8?_0x17c2bb(_0x365db0,_0x17c60c):_0x365db0,_0x51d718=_0x15310b[_0x155e75(0x26a)]-0x1,_0x512368;_0x51d718>=0x0;_0x51d718--)(_0x512368=_0x15310b[_0x51d718])&&(_0x50bfd8=(_0x8bf2f8?_0x512368(_0x365db0,_0x17c60c,_0x50bfd8):_0x512368(_0x50bfd8))||_0x50bfd8);return _0x8bf2f8&&_0x50bfd8&&_0x57b36c(_0x365db0,_0x17c60c,_0x50bfd8),_0x50bfd8;},_0x32ae45=(_0x577773,_0x3af8ad)=>(_0x13d347,_0x2444cc)=>_0x3af8ad(_0x13d347,_0x2444cc,_0x577773);_0x1b5475[_0x416c04(0xe5)]=class{constructor(_0x4ac9a9,_0x4770ac){const _0x415685=_0x416c04;this[_0x415685(0xd6)]=_0x4ac9a9,this[_0x415685(0x4a6)]=_0x4770ac;}async[_0x416c04(0x3ca)](_0x133566,_0x4c93ed){const _0x36cf15=_0x416c04;var _0x288a62;const {unitID:_0x13ebc7,type:_0x46a142,revision:_0x1eaaa8=0x0}=_0x4c93ed,_0x38393f=this['_getSnapshotAPIPrefix']()+'/'+_0x46a142+_0x36cf15(0x3e0)+_0x13ebc7+_0x36cf15(0x3e2)+_0x1eaaa8,_0x34fd71=(await this[_0x36cf15(0x4a6)][_0x36cf15(0x529)](_0x38393f))['body'],_0x394b67=(_0x288a62=_0x34fd71[_0x36cf15(0x130)])==null?void 0x0:_0x288a62[_0x36cf15(0x405)];if(_0x394b67){const _0x3ed90d=_0x394b67==null?void 0x0:_0x394b67['originalMeta'],_0x53488b=_0x520737['textEncoder']['encode'](_0x520737['b64DecodeUnicode'](_0x3ed90d));_0x394b67[_0x36cf15(0xc5)]=_0x53488b,Object[_0x36cf15(0x486)](_0x394b67[_0x36cf15(0x265)])[_0x36cf15(0x124)](([,_0x2b0e6d])=>{const _0x365538=_0x36cf15,_0xa4cc90=_0x2b0e6d[_0x365538(0xc5)],_0x50a723=_0x520737[_0x365538(0x32e)]['encode'](_0x520737['b64DecodeUnicode'](_0xa4cc90));_0x2b0e6d[_0x365538(0xc5)]=_0x50a723;});}return _0x34fd71;}async[_0x416c04(0x342)](_0xaa3fa1,_0x43a701){const _0x1ef7bb=_0x416c04,{unitID:_0x3f6df7,type:_0x1b010a,blockID:_0x322154}=_0x43a701,_0x555100=this[_0x1ef7bb(0x78)]()+'/'+_0x1b010a+_0x1ef7bb(0x3e0)+_0x3f6df7+'/block/'+_0x322154;return(await this[_0x1ef7bb(0x4a6)][_0x1ef7bb(0x529)](_0x555100))[_0x1ef7bb(0x524)];}async['getDeserializedSheetBlock'](_0x4b3616,_0x30038a){const _0x5f40ae=_0x416c04,{unitID:_0x568e03,type:_0x804d68,blockID:_0x33b509}=_0x30038a,_0x422c0c=this[_0x5f40ae(0x78)]()+_0x5f40ae(0x50b)+_0x804d68+_0x5f40ae(0x3e0)+_0x568e03+_0x5f40ae(0x50b)+_0x33b509;return(await this[_0x5f40ae(0x4a6)][_0x5f40ae(0x529)](_0x422c0c))[_0x5f40ae(0x524)];}async[_0x416c04(0x8c)](_0x4c1c1e,_0x4045f6){const _0x3060f7=_0x416c04,{unitID:_0x4b6e1a,type:_0x2d104f,from:_0x357371,to:_0x3b3a2c}=_0x4045f6,_0x344d9f=this[_0x3060f7(0x78)]()+'/'+_0x2d104f+'/unit/'+_0x4b6e1a+_0x3060f7(0x203)+_0x357371+_0x3060f7(0x96)+_0x3b3a2c;return(await this[_0x3060f7(0x4a6)][_0x3060f7(0x529)](_0x344d9f))[_0x3060f7(0x524)];}['_getSnapshotAPIPrefix'](){const _0x3007eb=_0x416c04;var _0x3ca541;return(_0x3ca541=this[_0x3007eb(0xd6)][_0x3007eb(0x33a)](_0x53b089))!=null?_0x3ca541:this['_getAPIPrefix']();}[_0x416c04(0x78)](){const _0x2f6a52=_0x416c04;var _0x2b8ffb,_0x5e2ca1;const _0xc99541=this[_0x2f6a52(0xd6)]['getConfig'](_0x3f11d2),_0x37facf=this[_0x2f6a52(0xd6)]['getConfig'](_0x40a44f);return(_0x5e2ca1=(_0x2b8ffb=_0x37facf==null?void 0x0:_0x37facf['snapshotServerUrl'])!=null?_0x2b8ffb:_0xc99541)!=null?_0x5e2ca1:_0x473ff6;}async[_0x416c04(0x2a2)](_0x94489b,_0x31faaf){const _0xd955db=_0x416c04,_0x4d4a77='/universer-api/snapshot/'+_0x31faaf[_0xd955db(0x6e)]+_0xd955db(0x3e0)+_0x31faaf[_0xd955db(0x280)]+'/resources';return(await this[_0xd955db(0x4a6)][_0xd955db(0x529)](_0x4d4a77,{'params':{'resourceId':JSON[_0xd955db(0x420)](_0x31faaf[_0xd955db(0x1ae)])}}))[_0xd955db(0x524)];}[_0x416c04(0x418)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x416c04(0x2a3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x416c04(0x1d7)](){const _0x563f46=_0x416c04;throw new Error(_0x563f46(0x1cd));}[_0x416c04(0x2c2)](){const _0x4266a6=_0x416c04;throw new Error(_0x4266a6(0x1cd));}[_0x416c04(0x457)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x1b5475[_0x416c04(0xe5)]=_0x48df40([_0x32ae45(0x0,_0x3d563c['IConfigService']),_0x32ae45(0x1,_0x3d563c[_0x416c04(0x4d1)](_0x1571b5[_0x416c04(0x4db)]))],_0x1b5475['SnapshotServerOverHTTPService']);var _0x3c616a=Object[_0x416c04(0x2e4)],_0x339d10=Object[_0x416c04(0x4e2)],_0x3947ae=(_0x5f4752,_0xdb4852,_0x2811d6,_0x1aa307)=>{const _0x22840c=_0x416c04;for(var _0x10abf0=_0x1aa307>0x1?void 0x0:_0x1aa307?_0x339d10(_0xdb4852,_0x2811d6):_0xdb4852,_0x8b588=_0x5f4752[_0x22840c(0x26a)]-0x1,_0xace193;_0x8b588>=0x0;_0x8b588--)(_0xace193=_0x5f4752[_0x8b588])&&(_0x10abf0=(_0x1aa307?_0xace193(_0xdb4852,_0x2811d6,_0x10abf0):_0xace193(_0x10abf0))||_0x10abf0);return _0x1aa307&&_0x10abf0&&_0x3c616a(_0xdb4852,_0x2811d6,_0x10abf0),_0x10abf0;},_0x17c6e6=(_0x1c3d2d,_0x55cffd)=>(_0xf213a8,_0x7f058e)=>_0x55cffd(_0xf213a8,_0x7f058e,_0x1c3d2d);let _0x18fc39=class extends _0x3d563c['LocalUndoRedoService']{constructor(_0x5277ff,_0x47a1c7,_0x4fd0c7,_0x1f1eac,_0x1f0f12){const _0x2bf56c=_0x416c04;super(_0x5277ff,_0x47a1c7,_0x4fd0c7),this['_transformService']=_0x1f1eac,this[_0x2bf56c(0x4ff)]=_0x1f0f12;}[_0x416c04(0x314)](_0x16c465,_0x5dc11d){const _0x2668a5=_0x416c04,_0x11e5bd=this['_getUndoStack'](_0x16c465);if(_0x11e5bd)try{const _0x5c2d29=this['_transformStack'](_0x11e5bd,_0x5dc11d);this[_0x2668a5(0x4c2)](_0x16c465,_0x5c2d29);}catch(_0x55c244){this[_0x2668a5(0x4ff)][_0x2668a5(0x4b1)](_0x2668a5(0x267),_0x55c244),this['_clearUndo'](_0x16c465);}const _0x2b8645=this[_0x2668a5(0x507)](_0x16c465);if(_0x2b8645)try{const _0x231df6=this[_0x2668a5(0x27d)](_0x2b8645,_0x5dc11d);this[_0x2668a5(0x447)](_0x16c465,_0x231df6);}catch(_0x253216){this[_0x2668a5(0x4ff)]['error'](_0x253216),this[_0x2668a5(0x423)](_0x16c465);}}[_0x416c04(0x4ac)](_0x166924){const _0x246bf1=_0x416c04,_0x503bc5=this[_0x246bf1(0x426)](_0x166924);_0x503bc5&&(_0x503bc5['length']=0x0,this[_0x246bf1(0x463)]());}[_0x416c04(0x423)](_0x7d7880){const _0x67034b=_0x416c04,_0x1f8325=this[_0x67034b(0x507)](_0x7d7880);_0x1f8325&&(_0x1f8325[_0x67034b(0x26a)]=0x0,this[_0x67034b(0x463)]());}[_0x416c04(0x4c2)](_0x159154,_0x3bd58e){const _0x3c8163=_0x416c04;this[_0x3c8163(0x4eb)][_0x3c8163(0x4ce)](_0x159154,_0x3bd58e),this[_0x3c8163(0x463)]();}['_substituteRedoStack'](_0x5cfe64,_0x36d453){const _0x3c5f84=_0x416c04;this[_0x3c5f84(0x496)][_0x3c5f84(0x4ce)](_0x5cfe64,_0x36d453),this[_0x3c5f84(0x463)]();}[_0x416c04(0x27d)](_0xc391f6,_0x382ec6){const _0x2a9126=_0x416c04,_0x45d109=[];let _0x4420a8=_0x382ec6,_0xbf210e=_0x382ec6;for(let _0x2d0e3e=_0xc391f6['length']-0x1;_0x2d0e3e>=0x0;_0x2d0e3e--){const {unitID:_0x351326,undoMutations:_0x24af6c,redoMutations:_0x457c27}=_0xc391f6[_0x2d0e3e],_0x22085=this[_0x2a9126(0x392)][_0x2a9126(0x3a8)](_0x4420a8,_0x24af6c),_0x472fbd=this[_0x2a9126(0x392)]['transformMutationsWithChangeset'](_0xbf210e,_0x457c27);if(_0x520737[_0x2a9126(0x3c4)](_0x22085)||_0x520737['isTransformMutationsWithChangesetFailure'](_0x472fbd)){this[_0x2a9126(0x4ff)][_0x2a9126(0x4b1)](_0x2a9126(0x267),_0x2a9126(0x2c9),_0x22085,_0x472fbd);break;}_0x4420a8=_0x22085[_0x2a9126(0x3b4)],_0xbf210e=_0x472fbd[_0x2a9126(0x3b4)],_0x45d109[_0x2a9126(0x1e9)]({'unitID':_0x351326,'undoMutations':_0x22085[_0x2a9126(0x85)],'redoMutations':_0x472fbd[_0x2a9126(0x85)]});}return _0x45d109[_0x2a9126(0x3ba)]();}};_0x18fc39=_0x3947ae([_0x17c6e6(0x0,_0x3d563c[_0x416c04(0x127)]),_0x17c6e6(0x1,_0x3d563c[_0x416c04(0x3e8)]),_0x17c6e6(0x2,_0x3d563c[_0x416c04(0x45e)]),_0x17c6e6(0x3,_0x520737['ITransformService']),_0x17c6e6(0x4,_0x3d563c[_0x416c04(0x2fd)])],_0x18fc39);class _0x3f4770 extends _0x3d563c[_0x416c04(0x9b)]{constructor(){const _0x54a687=_0x416c04;super(),_0x10d0d4(this,_0x54a687(0x18d)),this[_0x54a687(0x18d)]=_0x10d074[_0x54a687(0x485)](window,_0x54a687(0x293))[_0x54a687(0x123)](_0x10d074[_0x54a687(0x288)](this[_0x54a687(0x2a9)]),_0x10d074[_0x54a687(0xd9)](0x1),_0x10d074['mapTo'](void 0x0));}[_0x416c04(0x4e6)](_0x342817,_0xf0c619,_0x11d41d=!0x1){const _0x2c9613=_0x416c04,_0x25eb62=new URL(window[_0x2c9613(0x8a)][_0x2c9613(0x24e)]);_0x25eb62['searchParams'][_0x2c9613(0x4ce)](_0x342817,_0xf0c619),_0x11d41d?window['history'][_0x2c9613(0xb7)]('','',_0x25eb62[_0x2c9613(0xd0)]()):window[_0x2c9613(0x381)]['pushState']('','',_0x25eb62[_0x2c9613(0xd0)]());}['removeParam'](_0x13b35a,_0x1145b3=!0x1){const _0x3fdaa7=_0x416c04,_0x47e746=new URL(window[_0x3fdaa7(0x8a)][_0x3fdaa7(0x24e)]);_0x47e746[_0x3fdaa7(0x300)][_0x3fdaa7(0xe8)](_0x13b35a),_0x1145b3?window['history'][_0x3fdaa7(0xb7)]('','',_0x47e746[_0x3fdaa7(0xd0)]()):window[_0x3fdaa7(0x381)][_0x3fdaa7(0x1b1)]('','',_0x47e746[_0x3fdaa7(0xd0)]());}[_0x416c04(0x72)](_0x1c8cc3){const _0x4a76bf=_0x416c04;var _0x6381c0;return(_0x6381c0=new URL(window[_0x4a76bf(0x8a)]['href'])[_0x4a76bf(0x300)][_0x4a76bf(0x529)](_0x1c8cc3))!=null?_0x6381c0:void 0x0;}}var _0x1b9596=Object[_0x416c04(0x2e4)],_0xa9f801=Object[_0x416c04(0x4e2)],_0xdc5d9c=(_0x1e7002,_0x51d8e1,_0x232e7d)=>_0x51d8e1 in _0x1e7002?_0x1b9596(_0x1e7002,_0x51d8e1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x232e7d}):_0x1e7002[_0x51d8e1]=_0x232e7d,_0xd4032e=(_0x1fee67,_0x51e4cb,_0x2fe9c9,_0xee6b10)=>{const _0x444191=_0x416c04;for(var _0x35ab9c=_0xee6b10>0x1?void 0x0:_0xee6b10?_0xa9f801(_0x51e4cb,_0x2fe9c9):_0x51e4cb,_0xe34dad=_0x1fee67[_0x444191(0x26a)]-0x1,_0x46a9b9;_0xe34dad>=0x0;_0xe34dad--)(_0x46a9b9=_0x1fee67[_0xe34dad])&&(_0x35ab9c=(_0xee6b10?_0x46a9b9(_0x51e4cb,_0x2fe9c9,_0x35ab9c):_0x46a9b9(_0x35ab9c))||_0x35ab9c);return _0xee6b10&&_0x35ab9c&&_0x1b9596(_0x51e4cb,_0x2fe9c9,_0x35ab9c),_0x35ab9c;},_0x2ce7a9=(_0x12978b,_0x14e296)=>(_0x400912,_0x4b94d0)=>_0x14e296(_0x400912,_0x4b94d0,_0x12978b),_0x59d20b=(_0x4f4c66,_0x5a1b67,_0x20bfdd)=>_0xdc5d9c(_0x4f4c66,_0x5a1b67+'',_0x20bfdd);const _0x163230=_0x416c04(0x424);_0x1b5475[_0x416c04(0x19a)]=class extends _0x3d563c['Plugin']{constructor(_0x35b5e2=_0x4dcecf,_0x412f2b,_0x4074df,_0x360592,_0x32448e){const _0xad5a3b=_0x416c04;super(),this['_config']=_0x35b5e2,this['_logService']=_0x412f2b,this['_renderManagerService']=_0x4074df,this['_injector']=_0x360592,this[_0xad5a3b(0xd6)]=_0x32448e;const {..._0x4bf137}=this[_0xad5a3b(0x3d9)];this[_0xad5a3b(0xd6)]['setConfig'](_0x40a44f,_0x4bf137);}['onStarting'](){const _0x1b7803=_0x416c04;this[_0x1b7803(0x1d6)](),this[_0x1b7803(0xd3)]();}['onReady'](){const _0x3f9f1a=_0x416c04;_0x3d563c['touchDependencies'](this[_0x3f9f1a(0x4c7)],[[_0x20f5fc]]);}[_0x416c04(0x117)](){const _0xc70b55=_0x416c04;this[_0xc70b55(0x491)]();}[_0x416c04(0x1d6)](){const _0x266bf1=_0x416c04;var _0x4ea418,_0x441cca,_0x17dc7b,_0x1befbc;this[_0x266bf1(0x4c7)]['has'](_0x3d563c[_0x266bf1(0x3f0)])&&this[_0x266bf1(0x4ff)][_0x266bf1(0x4b1)]('[UniverCollaborationClientPlugin]',_0x266bf1(0x4f0));const _0x5972ed=[[_0x3d563c[_0x266bf1(0x3f0)],{'useClass':_0x18fc39}],[_0x1b5475[_0x266bf1(0x364)]],[_0x449153],[_0x10948c,{'useClass':_0x3f4770}],[_0x1b5475['MemberService']],[_0x1b5475[_0x266bf1(0x26c)]],[_0x1571b5[_0x266bf1(0x39f)]],[_0x2e8a2a],[_0x3e8219],[_0x1e4b8d],[_0xa1c94b],[_0x50baf1],[_0x2010a8],[_0x25f587],[_0x53bb40],[_0x57372f],[_0xc96f73,{'useClass':(_0x441cca=(_0x4ea418=this[_0x266bf1(0x3d9)])==null?void 0x0:_0x4ea418[_0x266bf1(0x186)])!=null?_0x441cca:_0x1b5475[_0x266bf1(0x36a)]}],[_0x520737[_0x266bf1(0x2a5)],{'useClass':_0x1b5475['SnapshotServerOverHTTPService']}],[_0x3d563c[_0x266bf1(0x2bd)],{'useClass':_0x1b5475[_0x266bf1(0x25e)]}],[_0x1c4a0c['IImageIoService'],{'useClass':_0x1b5475[_0x266bf1(0x454)]}],[_0x1b5475['CollaborationController']],[_0x1b5475['DataLoaderController']],[_0x1b5475[_0x266bf1(0x305)]],[_0x20f5fc],[_0x517f54]];(_0x17dc7b=this[_0x266bf1(0x3d9)])!=null&&_0x17dc7b[_0x266bf1(0x3c3)]&&_0x5972ed[_0x266bf1(0x1e9)]([_0x3cc9ac,{'useClass':_0x4214e3}]),_0x3d563c[_0x266bf1(0x291)](this[_0x266bf1(0x4c7)],_0x3d563c[_0x266bf1(0x3e6)](_0x5972ed,(_0x1befbc=this[_0x266bf1(0x3d9)])==null?void 0x0:_0x1befbc[_0x266bf1(0x376)]));}[_0x416c04(0x491)](){const _0x35a36b=_0x416c04;this[_0x35a36b(0x4e9)](this[_0x35a36b(0x4fd)]['registerRenderModule'](_0x3d563c[_0x35a36b(0x3b1)][_0x35a36b(0x465)],[_0x30e8cf])),this[_0x35a36b(0x4e9)](this['_renderManagerService'][_0x35a36b(0x2bf)](_0x3d563c[_0x35a36b(0x3b1)][_0x35a36b(0x2ec)],[_0xb09171]));}[_0x416c04(0xd3)](){const _0x1fed0e=_0x416c04;var _0x861729,_0x2e70f5;this[_0x1fed0e(0x4c7)][_0x1fed0e(0x529)](_0x1571b5['HTTPService'])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x1571b5[_0x1fed0e(0x330)]({'maxParallel':0x6})}),(_0x861729=this['_config'])!=null&&_0x861729[_0x1fed0e(0x4da)]||this[_0x1fed0e(0x4c7)][_0x1fed0e(0x529)](_0x1b5475[_0x1fed0e(0x26c)])[_0x1fed0e(0x29c)](),(_0x2e70f5=this['_config'])!=null&&_0x2e70f5[_0x1fed0e(0x2ba)]&&_0x3d563c[_0x1fed0e(0x1b3)](this[_0x1fed0e(0x4c7)],[[_0x2010a8]]),_0x3d563c[_0x1fed0e(0x1b3)](this[_0x1fed0e(0x4c7)],[[_0x25f587],[_0x517f54],[_0x1b5475[_0x1fed0e(0x525)]],[_0x1b5475[_0x1fed0e(0x1d5)]],[_0x1b5475[_0x1fed0e(0x305)]],[_0x57372f]]);}},_0x59d20b(_0x1b5475[_0x416c04(0x19a)],_0x416c04(0x3d0),_0x163230),_0x1b5475['UniverCollaborationClientPlugin']=_0xd4032e([_0x3d563c[_0x416c04(0x518)](_0x520737[_0x416c04(0x148)],_0x1571b5[_0x416c04(0x437)]),_0x2ce7a9(0x1,_0x3d563c[_0x416c04(0x2fd)]),_0x2ce7a9(0x2,_0x1c2dd3[_0x416c04(0x1bd)]),_0x2ce7a9(0x3,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x25f)])),_0x2ce7a9(0x4,_0x3d563c[_0x416c04(0x4f1)])],_0x1b5475['UniverCollaborationClientPlugin']),_0x1b5475['AUTHZ_URL_KEY']=_0x55bb64,_0x1b5475['COLLAB_SUBMIT_CHANGESET_URL_KEY']=_0x31b7d6,_0x1b5475[_0x416c04(0x180)]=_0x169f82,_0x1b5475[_0x416c04(0x2c4)]=_0x153ab4,_0x1b5475[_0x416c04(0x443)]=_0x4efc39,_0x1b5475[_0x416c04(0xd5)]=_0x53bb40,_0x1b5475[_0x416c04(0x258)]=_0x27c0a6,_0x1b5475['HEARTBEAT_TIMEOUT_KEY']=_0x3afe73,_0x1b5475['ICollaborationSocketService']=_0xc96f73,_0x1b5475[_0x416c04(0x3f6)]=_0x10948c,_0x1b5475['LOCAL_CACHE_INTERVAL_KEY']=_0x539678,_0x1b5475[_0x416c04(0x3de)]=_0x2e3666,_0x1b5475[_0x416c04(0x231)]=_0x11cf4c,_0x1b5475[_0x416c04(0x2db)]=_0xc3daa4,_0x1b5475['SNAPSHOT_SERVER_URL_KEY']=_0x3f11d2,_0x1b5475['SNAPSHOT_URL_KEY']=_0x53b089,_0x1b5475[_0x416c04(0x13d)]=_0x1467c9,_0x1b5475[_0x416c04(0x35d)]=_0x4102ba,_0x1b5475[_0x416c04(0xc6)]=_0x3f4770,_0x1b5475[_0x416c04(0x44f)]=_0xc823af,_0x1b5475[_0x416c04(0x2e9)]=_0x3a3f64,Object[_0x416c04(0x2e4)](_0x1b5475,Symbol[_0x416c04(0x26e)],{'value':_0x416c04(0x15d)});}));function _0x3e32(_0x42dad9,_0x45c9d5){const _0x517574=_0x5175();return _0x3e32=function(_0x3e32e7,_0x1a3190){_0x3e32e7=_0x3e32e7-0x64;let _0x552238=_0x517574[_0x3e32e7];return _0x552238;},_0x3e32(_0x42dad9,_0x45c9d5);}function _0x5175(){const _0x555ff2=['_roomMembers','@univerjs/design','m1Prime','@univerjs/docs-ui','backgroundColor','throttleTime','_scheduleTimestamp','cmd','_doFinalize','combineLatest','UniverNetworkPlugin','now','_lastPointer','_hideTimer','idSuffix','reset','permissionRejEvent','USERS_LEAVE','_xformMode','size','_onConflict','collab-text-anchor-','CollaborationStatusDisplay','conflict.title','UNRECOGNIZED','handleInsertRangeMoveRight','_substituteRedoStack','_permissionService','distinctUntilChanged','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','add','_onJoinRoomEvent','onPointerEnter$','_initRequestHeader','deserializeToCombResponse','_collaborationController','updateCursorEvent','...','append','ImageIoService','telemetry\x20info\x20is\x20not\x20initialized','on-line-single','getLatestCsReqIdBySid','byteLength','@univerjs/drawing','color','Decryptor','_onRemoteACK','BlockCipher','IContextService','debounce','text','_tryReconnect','UniverSheets','_updateStatus','clearTimeout','UNIVER_DOC','\x0aAfter:\x20','fill','_univerInstanceService','SEND_CHANGESET_TIMEOUT','startTime','PERMISSION_REJ','ceil','csRejEvent','_onUserLeave','_process','saveOfflineData','_uiPartsService','/collaborator','_startTelemetryCollaborationNewChangeset','LEAVE','APPLY_REVISION_CONFILICT','useObservable','splice','reqId','init','ALREADY_EXISTS','onPointerLeave$','fetch_missing','unitId\x20is\x20not\x20found','\x20in\x20_schedule.','transformSelections','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_keySchedule','isActive','font','getSheetBySheetId','fromEvent','entries','_collabSessionService','off-line-single','_refRangeService','&assign=','_onCombEvent','decryptBlock','list','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','lineTo','displayName','_registerRenderDependencies','UniverSheetsUi','objectID','_sheetTransformSelectionsService','OffLineSingle','_redoStacks','_DEC_XFORM_MODE','YUUMI_SUBSCRIPTION_NOT_FOUND','_getSendChangesetTimeout','_handleJoinEvent','getValue','react','InsertRangeMoveDownCommandId','DocIMEInputManagerService','SetTextSelectionsOperation','url','CompressMutationService','sendChangesetTimeout','_hasher','RETRY_CONNECTING_MAX_COUNT','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_httpService','Unknown\x20user','clear','createCollaborator','_collaborationPaused','salt','_clearUndo','hide','setWaitCount','concat','@univerjs/sheets','error','currentTheme$','clone','onRemoteAck','_collabCursorState$','image/jpeg','_document','_assignedColors','Error','take','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','indexOf','xlink:href','_isPermissionRej','_onFetchMissResult','updateCollaborator','getOwnPropertySymbols','_substituteUndoStack','capture','_cursorInfo$','onlineStatusIcon','UNIVER_SLIDE','_injector','values','_localeService','DocSelectionManagerService','_clearHeartbeatTimer','_unitStatus','OnLineSingle','set','round','CHANGESET_ACK','Inject','defs','getRangePointData','_initStatusComponent','getCurrentRevOfUnit','kdf','attrs','_minBufferSize','_updateSubUnitFromURLParams','enableOfflineEditing','HTTPService','executeCommand','registerRefRange','collaboration-session-retry','_cursors','_getSignURL','lib','getOwnPropertyDescriptor','concatMap','isTransformMutationsWithChangesetSuccess','_initStatusListener','setParam','onlineStatusTitle','_onRemoteChangeset','disposeWithMe','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_undoStacks','_setupBeforeClosingHandler','msCrypto','_decreaseWaiting','MD5','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','IConfigService','textRanges','focused$','execute','444HYtZIC','React','getUniverSheetInstance','socket\x20close','_transformRemoteChangesetByIMECache','finalize','_drawAnchor','HEARTBEAT','_renderManagerService','__creator','_logService','BehaviorSubject','whenReady','unknown','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','HttpImport','react.fragment','_replaceFileID','_getRedoStack','rxjs','closeSession','_drawTextRange','/block/','_map','extend','_roomMembers$','next','_prevBlock','formatter','_syncEditingCollabCursorService','WordArray','UniverEngineFormula','substr','dispose','generateRandomId','DependentOn','engine','reconnect','redoState','join','_transformSelections','_onConnectionOpen','_clearLocalCache','every','UniverEngineRender','handleIRemoveRow','_collaborationTimeoutTimer','body','DataLoaderController','defaultProps','_name','getSkeleton','get','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','shouldCloseConn','useCallback','CollaborationEvent','change$','none','collaboratorID','/universer-api/oidc/authpage','setShapeProps','exhaustSavingTask','sin','mixIn','SHA1','_clearCollaborationTimeoutTimer','amd','clearInterval','DEFAULT_FILE_NAME','@univerjs-pro/collaboration','has','onMissedChangesetFetched','type','beginPath','getRenderById','_snapshotServerService','getParam','debug','sequenceExecute','collabCursorState$','keySize','fetchMiss','_getAPIPrefix','_pendingMutations','encodeURIComponent','_syncEditingCollabCursor','LIVESHARE_FETCH_OPERATIONS','members','FileId','flatMap','_docSyncEditingCollabCursorService','equals','OpenSSL','getUndoRedoMutationParamsCache','_acknowledgedAwaitingChangeset','m2Prime','syncEditingCollabCursor','16NVofAb','requestParams','_entities','location','RECT','fetchMissingChangesets','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','liveShareNewHost','UNIVER_PROJECT','_colorAssignService','_getLoginPath','requireSession','ReplaySubject','#FFF','_state$','&to=','_render','INGEST','ONLINE','toggleOffline','RxDisposable','getFocusedUnit','Disposable','Base64','complete','UUID','data','mutations','toggleOnline','loadOfflineData','setCurrentUser','startsWith','runRefRangeMutations','confirm','addEventListener','onload','_range','eventID','saveImage','rev','_createInitialState','getOffsetConfig','\x0aCurrent:\x20','_createHmacHelper','drawWith','@univerjs/engine-render','_ensureSubject','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','replaceState','fetching\x20missing\x20changesets\x20from\x20','height','_onOffline','[CollaborationEntity]','setItem','_iKey','univer-online-status-title','_joinRoom','INVALID_ARGUMENT','_session','ReactCurrentOwner','APPLY_DUPLICATED','column','originalMeta','WebURLService','onTransformSelections','_disableEditing','listCollaborators','_setupSubUnitSync','blockSize','&source=','OFFLINE','_change$','fillText','toString','UNIVER_UNKNOWN','collaborators','_initDependencies','@univerjs/network','CommentService','_configService','event$','_updateCollabCursors','shareReplay','CBC','getUnit','all','SNAPSHOT_HAS_BEEN_REMOVED','auth.needGotoLoginAlert','[OfflineState]:\x20received\x20changeset.','ImageSourceType','_scheduleHeartbeat','getViewport','/universer-api/comb','decrypt','SnapshotServerOverHTTPService','fillRule','_urlService','delete','_socketReady','status','svg','/allowed','top','LICENSE_MAX_UNITS_EXCEEDED','univer-pro.collaboration-client-socket-service','375306JdhmWl','YUUMI_URL_COL_OUT_OF_RANGE','TOO_MANY_REQUESTS','_hover','Malformed\x20UTF-8\x20data','90pHZgKb','Optional','_transformRemoteChangesetByStateCache','method','collabStatus.notCollab','NEW_CHANGESETS','online','cfg','black','_updateURLWithCurrentState','Undefined','_getUploadFileURL','_collaborationSessionService','defIds','origin','SheetsSelectionsService','gold400','charCodeAt','selection','Base','create','UnitEmbedded','string','handleInsertRangeMoveDown','synced','IBeforeCloseService','on-line-single_clip0_910_349','_startSheetCollabCursor','serializeRangeWithSheet','_rescheduleHeartbeat','_textBubble','getDocRanges','getUnitStatus$','selections','onRendered','_selfUnitIDs','path','_removeClearOtherTimer','setStateCache','PasswordBasedCipher','clipPath','ACTIVE_UNIT_EVENT_CHANNEL','_clearScheduledTask','_drawRectRange','_loadDoc','onlyLocal','pipe','forEach','_anchorDot','_color','IUniverInstanceService','updateOfflineData','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_colorIndex','_resendWithTimeout','_onRefRangeChange','_socket','setShowComponents','propertyIsEnumerable','snapshot','hasher','_getAnchorBounding','stopTime','collabStatus.offline','action','_scheduleSaving','COMMENT_UPDATE','1234805NUKoAH','isTransformMutationFailure','handleInsertRow','_initCommandExecutedListener','_docStateChangeManagerService','SessionStatus','_state','_revisionService','_key','deserializeRangeWithSheet','removeMember','LIVESHARE_REQUEST_HOST','createEncryptor','_scene','_ws','UPDATE_CURSOR','UniverCollaborationPlugin','POST','getVpScrollXYInfoByPosToVp','_getCtorByUniverType','Hasher','#fff','SnapshotService','282978dOSfah','currentSkeleton$','setUndoRedoMutationParamsCache','getImage','_timeoutTimer','parseProtocolChangeset','ERROR_IMAGE_TYPE','onMouseMove','univerjs-icon\x20univerjs-icon-','getCurrentUnitForType','session.room-full','collabStatus.conflict','_exhaustRemoteChangesetQueue','_send','Module','duration','CollaborationSession','collab-client.tooltip.reconnect','_saveTaskMap','[CollaborationSession]','isPermissionRej','subscribeEvent','incrementRevOfUnit','_waitCount','jsx','transformMutation','measureText','permission.title','range','__Key__','toLowerCase','icon','Warning','_removeCollabCursors','objectType','algo','JSONX','find','HmacMD5','getImageSourceCache','_candidateSocket','Subject','NO_OTHER_CLIENTS_EDITING','HELLO','FETCH_MISSING','localeService','getTime','_hash','sessionStatus$','COLLAB_WEB_SOCKET_URL_KEY','tag','_initEventListeners','Fragment','_unitID','message$','socketService','readInt32LE','endColumn','unload','endRow','addObjects','_iv','urlChange$','getUnitId','TEXT_RANGE_LAYER_INDEX','_doReset','slice','_nRounds','transformByState','random','baseRev','univer-online','VIEWPORT_KEY','getUnhiddenWorksheets','getCurrentUser','UniverCollaborationClientPlugin','_incrementRevisionNumber','headers','_getScale','MSG_FOR_ERROR','_oKey','_anchor','result','sid','exports','parse','commentUpdateEvent','crypto','show','Rect','INTERNAL_ERROR','save','AWAITING','updateMember','createSocket','resourceIDs','LICENSE_IMPORT_SIZE_EXCEEDED','InsertSheetMutation','pushState','_tryEnsureSocket','touchDependencies','transform','collaboration.single-unit.warning','_backgroundColor','IMessageService','getUnitType','@univerjs/engine-formula','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','batchAllowed','DisposableCollection','IRenderManagerService','UniverIcon','[OfflineState]:\x20received\x20rejection.','unit-cache-','APPLY_NON_SEQUENTIAL_REVISION','_draw','_scheduleCollaborationTimeoutTimer','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','Encryptor','ranges','UniverDocs','_heartbeatTimer','_createHelper','_createInitialStateImpl','registerBeforeClose','collabStatus.syncing','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','YUUMI_UNABLE_LOAD_URL','contains','5141lLytpE','default','routeKey','visibilitychange','memberID','CollaborationController','_registerDependencies','saveChangeset','hidden','newCsEvent','_saveCache','getCollabCursors$','code','ColorKit','/object/','getColor','floor','useDependency','some','pad','LIVESHARE_NEW_HOST','arc','filter','awaiting','enc','push','_context','@univerjs/core','split','[CollaborationSessionService]','UNDEFINED','collaMsg','/object','0\x200\x2016\x2016','max','initWorkbookPermissionChange','parseChangesetToProtocol','onCommentUpdate','unpad','SUBMIT_CHANGESET','roomMembers$','_mode','currentColor','fromEventSubject','M0\x200H16V16H0z','userID','c2Prime','_undoRedoService','ENSURE_SNAPSHOT_EXECUTION','onTransformIME','jiqing500','/fetchmissing?from=','_collabCursorController','@univerjs/telemetry','awaiting_with_pending','_sendHeartbeat','UniverRpc','_nDataBytes','src','words','collab-text-range-','_append','Univer','_onCursorDelete','_stopTelemetryCollaborationNewChangeset','with','_cachedData','{fileID}','_status$','COMPLETION_FINISHED','DOC_RANGE_TYPE','not_collab','getActiveRange','key','_onCursorUpdate','hasOwnProperty','encryptBlock','handleDeleteRangeMoveUp','conflict','unit','CONFLICT','\x20to\x20','collabStatus.fetchMiss','getAncestorScale','labelPosition','putCollaborators','Latin1','_cipher','CHANGESET_REVISION_CONFILICT','_updateLocalCache','getCollabEntity','registerHTTPInterceptor','PERMISSION_DENIED','SheetCollaborationEntity','_members','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','Utf8','RETRY_CONNECTING_MAX_COUNT_KEY','current','_onUserJoin','interceptor','WorkbookEditablePermission','clamp','_transformStateCache','BlockCipherMode','_userManagerService','session','transformRemoteChangeset','_startCollaboration','status$','offline','colorChannel1','width','name','[PendingState]:\x20received\x20acknowledgement.','_retryCount','1281868vNiAfG','refreshPermission','awaitingChangeset','compute','_changesetSessionId','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','CollaborationEntity','assignAColorForMemberID','_lockTransition','_HTTPService','href','FAIL','_schedule','mode','/-/object/list','connection\x20error','onCommandExecuted','_hovered','image/bmp','UniverTelemetry','HEARTBEAT_INTERVAL_KEY','[CollaborationState]:\x20apply\x20error!','_singleActiveUnitService','InsertRowCommandId','_clearTimeoutTimer','[PendingState]:\x20received\x20rejection.','AuthzIoHttpService','Injector','_startDocCollabCursor','_onConnectionFailed','then','_id','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','sheets','_localStorageService','[CollaborationUndoRedoService]','editingUnit','_sessions','length','replace','LocalCacheService','getMemberID','toStringTag','includes','Tools','_docSkeletonManagerService','_showConflictNotification','72uadhcC','_scheduleClearOtherTimer','_submitChangeset','UserManagerService','OTHER_CLIENTS_EDITING','SNAPSHOT_URL_KEY','catch','collaboration-client.config','COMPRESS_MUTATION_APPLY','SHOULD_CLOSE_CONN','_transformStack','_awaitingChangeset','signUrlServerUrl','unitID','HTTPRequest','USERS_ENTER','_reverseMap','_commentService','_getCurrentRevision','className','_throwTelemetryCollaborationNewChangeset','takeUntil','_checkMissing','purple300','createElement','close','ThemeService','patch','getStateCache','cursorInfo$','registerDependencies','_loadSheet','popstate','div','3819092rJLsqt','for','_onRemoteRetry','image/png','editing\x20status\x20changed\x20to','Workbook','@univerjs/sheets-ui','disableLocalCache','_onRemoteRejected','_remoteChangesetQueue','950850LLyjTR','_localCacheService','COLLAB_WEB_SOCKET_URL','getResourcesRequest','saveSheetBlock','addObject','ISnapshotServerService','Error\x20on\x20receiving\x20event','_sender','FromArray','dispose$','Cipher','CipherParams','fetchThroughInterceptors','send','Shape','_disabled','_cursorShapes','_init','_commentUpdate$','UniverCollaborationClient','_telemetryInfo','file','transformIMECache','commentUpdate$','map','/-/object/-/batch_allowed','enableAuthServer','_initCloseConn','SetSelectionsOperation','IAuthzIoService','jsxs','registerRenderModule','MergeInterceptorFactory','error$','copyFileMeta','@univerjs/ui','CollaborationStatus','$super','randomUUID','SheetPermissionInitController','HttpExport','transformStack\x20failed!','function','YUUMI_RATE_OVER_LIMIT','isTransformChangesetsSuccess','DeleteRangeMoveLeftCommandId','image/gif','BufferedBlockAlgorithm','UniverDrawing','Hex','_createHandler','[CollaborationSessionService]:\x20socket\x20error','APPLY_PERMISSION_DENIED','_unlockTransition','_cursor','fromCharCode','RECV','LOCAL_CACHE_INTERVAL','mapDocumentTypeToUniverType','SEND_CHANGESET_TIMEOUT_KEY','_ENC_XFORM_MODE','_retryConnectingTimer','MessageType','RegularPolygon','resolve','_applyRemoteChangeset','_resendTimeout','ref','defineProperty','JOIN','RevisionService','apply','delay','serializeCombRequest','getCoordByCell','call','UNIVER_SHEET','getMember','_listenToOnlineEvent','_transformPreviousActiveRange','setTimeout','_instanceService','_docTransformSelectionsService','uploadFileServerUrl','MemberService','url(#off-line-single_clip0_910_343)','_updateState','Vector2','_onRecvEvent','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','children','csShouldRetryEvent','[OfflineState]:\x20received\x20acknowledgement.','ILogService','\x20-\x20','objectActions','searchParams','APPLY_REJECT','ITransformService','_clearOtherTimers','onSendChangeset','DesktopCollaborationStatusDisplayController','handleDeleteRangeMoveLeft','toDisposable','RemoveRowCommandId','AES','[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.','sheetID','min','unshift','onTransformState','_unitOnClients','charAt','LocaleService','hostname','compose','transformUndoRedo','SetDocZoomRatioOperation','_handleHeartbeatEvent','subUnitId','getTypeOfUnitDisposed$','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','AWAITING_WITH_PENDING','storage','_transformHistoryAndStateStack','unsubscribe','state$','subscribe','getSheetId','verdancy600','UNKNOWN_CODE','roomMembers','_telemetryService','COMPRESS_MUTATION_SEND','MUTATION','json','ciphertext','trim','MoveRangeCommandId','_toggleOnline','createIdentifier','_sessionStatus$','textEncoder','/new_changes','ThresholdInterceptorFactory','getInterceptPoints','UnitSnapshot','_parse','LIVESHARE_TERMINATE','onRemoteChangeset','_beforeCloseService','ILocalStorageService','getCurrentSelections','RefRangeService','getConfig','onMissingChangesets','collab-rect-range-','NoPadding','LIVESHARE_OPERATION','onStateChange','_data','transformChangesets','getSheetBlock','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','actions','_transitionLocked','_shouldReportTelemetry','url(#$1','changesets','asObservable','SYNCED','socket\x20open.','ImageUploadStatusType','from','handleInsertCol','DocStateChangeManagerService','_getSheetObject','_toggleOffline','evenodd','NOT_FOUND','ivSize','_eventUnsubscribe','BASE64','permission.content','pending','_updateLocalCursor','_doCryptBlock','format','6FsABmj','SheetCollabCursorShape','updatePermissionPoint','_notificationService','UNAUTHENTICATED','infoRsp','DeleteRangeMoveUpCommandId','_docTransformStateCacheService','CollaborationSessionService','getCollabEntity$','collabStatus.synced','setInterval','enableLocalCache','@univerjs/docs','CollaborationSocketService','PSEUDO_FETCH_MISSING_RESULT','Rectangle','loadDoc','isEditing','switchMap','hovered','session.connection-failed','NOT_COLLAB','EvpKDF','sessionStatus','_themeService','override','startRow','UPDATE_PERMISSION_OBJ','_compressMutationService','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','CONNECTOR_DATA_TOO_LARGE','_replayCachedMutations','_getMergeRange','_handleHover','fromCollab','collabSubmitChangesetUrl','history','onPointerMove$','skeleton','_listenToOfflineEvent','createInstance','_handleEvent','visibilityState','_online','_initMergeInterceptor','getCurrent','/universer-api/file/{fileID}/sign-url','cursorInfo','resend','findNodePositionByCharIndex','_onMessage','InsertRangeMoveRightCommandId','bottom','_transformService','INotificationService','onSyncEditingCollabCursor','_snapshotService','off-line-single_clip0_910_343','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','1em','_memberService','number','_labelPosition','[FetchMissState]','activeSheet$','_sendingTimer','WebSocketService','DocCollaborationEntity','getTypeOfUnitAdded$','leaveEvent','readAsDataURL','retryConnectingInterval','univer-online-status','encrypt','LICENSE_DISTRO_REJECTED','transformMutationsWithChangeset','pauseCollaboration','_sheetSkeletonManagerService','RemoveColCommandId','_commandService','_imageSourceCache','univer-offline','doc.mutation.rich-text-editing','[SyncedState]:\x20received\x20acknowledgement.','UniverInstanceType','@univerjs/rpc','docStateChange$','c1Prime','_executeRemoteChangeset','SNAPSHOT_INVALID_SNAPSHOT','_socketMessageSubscription','forwardRef','CommandType','reverse','_resendTimer','restore','undoState','?size=','sigBytes','EffectRefRangId','IDLE','PENDING','enableSingleActiveInstanceLock','isTransformMutationsWithChangesetFailure','_http','Pkcs7','roomInfos','_removeRoom','close$','getUnitOnRev','_sendHeartbeatTimer','_createSocket','merge','triggerDblclick','JOINING','pluginName','appendMutation','subunit','IPermissionService','post','_entityInit$','debounceTime','object','_handler','_config','onRemoteRej','_docSkeleton','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_getDownloadEndpointURL','LOGIN_URL_KEY','downloadEndpointUrl','/unit/','failed\x20to\x20apply\x20missed\x20changesets!','/rev/','_getSaveTimeout','fillStyle','COLORS','mergeOverrideWithDependencies','_transformUndoRedoStack','ICommandService','padding','NodePositionConvertToRectRange','_docTransformIMECacheService','registerOnClose','getRandomValues','_changesetReqId','onRemoteRetry','IUndoRedoService','_event$','getItem','univer-pro.collaboration-client.single-active-unit-service','liveShareOperation','TEXT','IURLService','StreamCipher','UniverDocsUi','_onLocalMutation','_handleLeaveEvent','_waitForHeartbeatResponse','red300','onTransformRemoteChangesetByStateCache','_shapes','reject','isInternalEditorID','startColumn','params','getActiveSheet','[PendingState]:\x20unhandled\x20univer\x20type:\x20','workbook','revision','/universer-api/snapshot','isArray','_fetchMissChangesets','HEADER_MENU','rgba(255,\x20255,\x20255,\x200.01)','FETCH_MISS','_getAPIPrefixPath','CHANGESET_SHOULD_RETRY','_transformUndoredo','randomBytes','_queuedRemoteChangesets','open$','prototype','_socket$','row','sheetId','LICENSE_EXPORT_SIZE_EXCEEDED','saveSnapshot','RichTextEditingMutation','setAlpha','_refreshCollabCursors','setActiveRange','session.will-retry','repeat','_invKeySchedule','stringify','_transformIMECache','[DataLoaderController]','_clearRedo','UNIVER_COLLABORATION_CLIENT_PLUGIN','unitId','_getUndoStack','deleteCollaborator','_messageService','deepClone','transformStateCache','SetWorksheetActivateCommand','update'];_0x5175=function(){return _0x555ff2;};return _0x5175();}
1
+ function _0x586f(_0x5eafd6,_0x172096){const _0x2967ea=_0x2967();return _0x586f=function(_0x586fad,_0x301ba4){_0x586fad=_0x586fad-0xef;let _0x337950=_0x2967ea[_0x586fad];return _0x337950;},_0x586f(_0x5eafd6,_0x172096);}function _0x2967(){const _0x4ac44e=['_colorIndex','reqId','[CollaborationUndoRedoService]','visibilitychange','LICENSE_MAX_UNITS_EXCEEDED','onTransformRemoteChangesetByStateCache','LIVESHARE_TERMINATE','getWorkbookSelections','mapTo','COMPRESS_MUTATION_SEND','UNKNOWN_CMD','COLLAB_SUBMIT_CHANGESET_URL','rev','handleInsertCol','_sheetTransformSelectionsService','UniverTelemetry','_onJoinRoomEvent','saveOfflineData','_entityInit$','SEND_CHANGESET_TIMEOUT','/object','transformUndoRedo','univer-offline','currentTheme$','_pendingMutations','IDLE','_listenToOnlineEvent','lineTo','collabSubmitChangesetUrl','_docSkeletonManagerService','__creator','RichTextEditingMutation','cursorInfo','encode','registerComponent','isTransformChangesetsSuccess','RECV','closeSession','_onLocalMutation','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','focused$','SUCCUSS','_substituteRedoStack','localeService','_clearUndo','_commandService','_sessionStatus$','unitID','InsertRangeMoveRightCommandId','HttpExport','beginPath','getCollabEntity','_telemetryInfo','_handleHeartbeatEvent','toRgbString','_syncEditingCollabCursor','apply','subunit','sessionStatus$','1260458antIYw','SnapshotServerOverHTTPService','onCommentUpdate','selection','PENDING','_transitionLocked','awaiting','_resendTimer','SYNCED','1em','routeKey','_localCacheService','status$','Disposable','_color','change$','_minBufferSize','getDocRanges','complete','Workbook','urlChange$','#fff','UniverRpc','_waitCount','type','_nDataBytes','createCollaborator','skeleton','_getAPIPrefix','UNIVER_UNKNOWN','_anchor','src','take','LICENSE_IMPORT_SIZE_EXCEEDED','amd','[OfflineState]:\x20received\x20rejection.','dispose','saveSheetBlock','useDependency','c1Prime','jiqing500','_startTelemetryCollaborationNewChangeset','_getRedoStack','DisposableCollection','handleIRemoveRow','_hideTimer','subUnitId','_transformStack','WorkbookEditablePermission','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','...','clear','SHA1','onRemoteAck','APPLY_NON_SEQUENTIAL_REVISION','getCellPositionByOffset','makeDirty','forwardRef','_snapshotServerService','pipe','_disableEditing','_oKey','[CollaborationEntity]','transformSelections','NOT_FOUND','IBeforeCloseService','parse','HmacSHA1','UniverDocsUi','_userManagerService','CollaborationSession','_ensureSubject','_initCloseConn','subscribeEvent','getImageSourceCache','charAt','getUnitType','@univerjs/telemetry','_colorAssignService','onStateChange','put','_setupBeforeClosingHandler','_onOffline','APPLY_REJECT','enc','$super','_drawTextRange','Vector2','setCurrentUser','SNAPSHOT_SERVER_URL_KEY','image/bmp','SerializableCipher','_permissionService','_collaborationSessionService','joinEvent','_socketService','div','_getUndoStack','endColumn','COMPRESS_MUTATION_APPLY','_executeRemoteChangeset','compute','default','snapshot','_updateURLWithCurrentState','_removeCollabCursors','getUnitId','create','infoRsp','_localeService','arc','updateCursorEvent','defs','univerjs-icon\x20univerjs-icon-','INVALID_ARGUMENT','_iKey','_initRequestHeader','some','IConfigService','debounce','StreamCipher','text','rxjs/operators','InsertColCommandId','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','setShowComponents','_docTransformStateCacheService','shareReplay','collaboration_new_changeset','setAlpha','UniverUi','UniverDocs','CHANGESET_REVISION_CONFILICT','_joinRoom','M0\x200H16V16H0z','exports','setTimeout','body','every','addObjects','removeMember','baseRev','_doCryptBlock','collab-text-range-','range','setActiveRange','_logService','newCsEvent','NodePositionConvertToRectRange','_commentUpdate$','@univerjs/docs-ui','SetSelectionsOperation','substring','serializeRangeWithSheet','_sendHeartbeat','_initStatusComponent','fetch_missing','state','onCommandExecuted','SnapshotService','socket$','/universer-api/authz','asObservable','measureText','_onCombEvent','POST','&assign=','[OfflineState]:\x20received\x20changeset.','translate(.97)','enableAuthServer','parseChangesetToProtocol','fetchThroughInterceptors','objectID','getRenderById','getCurrentRevOfUnit','parseProtocolChangeset','csAckEvent','syncEditingCollabCursor','_registerDependencies','status','Inject','_stopTelemetryCollaborationNewChangeset','_state$','2714346benqkt','Warning','RevisionService','splice','file','filter','IUndoRedoService','HEARTBEAT','signUrlServerUrl','react.fragment','clearTimeout','roomMembers','clamp','_docSkeleton','Hex','_transformService','symbol','encryptBlock','_nRounds','deserializeRangeWithSheet','ALREADY_EXISTS','evenodd','collaboration.closeRoom','InsertSheetMutation','ws://127.0.0.1:8000/universer-api/comb/connect','2592204BAONno','@univerjs/drawing','colorChannel1','getRangePointData','_id','_fetchMissChangesets','SNAPSHOT_HAS_BEEN_REMOVED','LIVESHARE_REQUEST_HOST','_transformUndoRedoStack','HttpImport','_clearHeartbeatTimer','round','_getSendChangesetTimeout','message$','transformIMECache','Injector','EvpKDF','executeCommand','UniverCollaborationPlugin','then','DOC_RANGE_TYPE','@univerjs/sheets-ui','getItem','transformMutation','COLORS','initWorkbookPermissionChange','allowed','DocSelectionManagerService','on-line-single_clip0_910_349','onReady','UNAUTHENTICATED','blue400','removeParam','_updateState','setWaitCount','_socket$','FileId','_registerRenderDependencies','SheetCollaborationEntity','_clearCollaborationTimeoutTimer','@univerjs/core','isTransformMutationsWithChangesetFailure','/allowed','getOwnPropertyDescriptor','/universer-api/snapshot/','none','CollaborationEntity','sequenceExecute','React','MemberService','socketService','_schedule','target','_map','_change$','padding','awaitingChangeset','UnitSnapshot','IContextService','setShapeProps','onTransformSelections','_clearOtherTimers','deepClone','icon','changesets','RETRY_CONNECTING_MAX_COUNT','cmd','DocIMEInputManagerService','0\x200\x2016\x2016','_append','startRow','TRANSFORM_CHANGE_OBSERVABLE_TYPE','lib','randomBytes','_state','textRanges','cfg','onMouseMove','revision','WordArray','defIds','idSuffix','_onConflict','HELLO','_collabCursorState$','ThemeService','onlyLocal','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','requireSession','_unitID','[PendingState]:\x20received\x20rejection.','AWAITING_WITH_PENDING','/object/','SetTextSelectionsOperation','Error','prototype','saveImage','_createInitialState','onlineStatusTitle','_snapshotService','_lockTransition','loginUrlKey','workbook','getUniverSheetInstance','online','Utf8','univer-pro.collaboration-client-socket-service','UNIVER_SLIDE','_unitOnClients','toggleOffline','moveTo','newValue','_eventUnsubscribe','ILogService','getConfig','APPLY_PERMISSION_DENIED','_onRemoteRetry','addEventListener','SheetPermissionInitController','_invKeySchedule','_renderManagerService','_refreshCollabCursors','CHANGESET_SHOULD_RETRY','OFFLINE','@univerjs/engine-render','_getCtorByUniverType','readAsDataURL','_imageSourceCache','delay','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_throwTelemetryCollaborationNewChangeset','IImageIoService','touchDependencies','_revisionService','_clearTimeoutTimer','actions','FAIL','_scheduleSaving','Plugin','merge','_docSyncEditingCollabCursorService','registerHTTPInterceptor','LocalUndoRedoService','_decreaseWaiting','getParam','UNKNOWN_CODE','setStateCache','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','/universer-api/snapshot','_compressMutationService','createSocket','restore','deleteCollaborator','getTypeOfUnitAdded$','_doFinalize','RegularPolygon','_anchorDot','combineLatest','_transformStateCache','COLLAB_WEB_SOCKET_URL_KEY','[DataLoaderController]','className','_scheduleTimestamp','currentColor','PERMISSION_REJ','_applyRemoteChangeset','registerRenderModule','execute','_clearScheduledTask','CONNECTOR_DATA_TOO_LARGE','_onConnectionFailed','IMessageService','_notificationService','drawWith','_instanceService','_drawAnchor','BlockCipher','_lastPointer','EmptyMutation','b64DecodeUnicode','_mode','data','undoState','_HTTPService','height','addObject','_setupSubUnitSync','cursorInfo$','href','_getAPIPrefixPath','_collaborationTimeoutTimer','disposeWithMe','loadSheet','Unknown\x20user','confirm','_themeService','_onRecvEvent','max','unitId','sid','LIVESHARE_NEW_HOST','_memberService','telemetry\x20info\x20is\x20not\x20initialized','@univerjs/docs','JOINING','_remoteChangesetQueue','getUnitStatus$','ImageUploadStatusType','_initCommandExecutedListener','collabWebSocketUrl','byteOffset','getRoom','interceptor','UniverDrawing','Could\x20not\x20dynamically\x20require\x20\x22','defineProperty','getVpScrollXYInfoByPosToVp','authzUrl','registerRefRange','all','useObservable','getCurrent','getRelativeToViewportCoord','LOGIN_URL_KEY','getSheetBlock','_transformUndoredo','whenReady','_textBubble','resend','_initUnitPermissionChange','getUnitOnRev','_onCursorUpdate','ONLINE','editingUnit','_socketReady','_toggleOffline','getSheetBySheetId','collabStatus.synced','liveShareNewHost','_online','stopTime','handleInsertRangeMoveDown','userID','1463021ZjUtaJ','updateOfflineData','objectActions','_initResize','transform','[OfflineState]:\x20received\x20acknowledgement.','commentUpdate$','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','HTTPRequest','collab-client.tooltip.reconnect','LICENSE_EXPORT_SIZE_EXCEEDED','_getCurrentRevision','#FFF','/universer-api/stream/file/upload','_createHelper','closePath','string','rxjs','getCollabCursors$','MergeInterceptorFactory','hide','IURLService','Decryptor','_onUserLeave','code','event$','_data','onSendChangeset','collabStatus.conflict','row','getSkeleton','_members','fill','blockSize','updatePermissionPoint','_removeRoom','_updateLocalCache','onTransformIME','close','[SyncedState]:\x20received\x20rejection.','IUIPartsService','bottom','BuiltInUIPart','_prevBlock','InsertRangeMoveDownCommandId','registerDependencies','Base64','@univerjs/ui','replaceState','clipPath','_retryConnectingTimer','sigBytes','HEADER_MENU','transformMutationsWithChangeset','collaboration-client.config','getSheetObject','_sendHeartbeatTimer','onPointerEnter$','conflict.content','886982yAOzdB','decrypt','rng','32dDmItS','ITransformService','jsx','_unitStatus','_xformMode','Optional','floor','capture','_updateStatus','_candidateSocket','bind','isInternalEditorID','_session','_range','WebSocketService','add','reconnect','onlineStatus','mutations','from','_status$','_onRemoteRejected','_resendTimeout','SNAPSHOT_INVALID_SNAPSHOT','unitId\x20is\x20not\x20found','DocCollaborationEntity','_send','unshift','connection\x20error','close$','ILocalStorageService','IUniverInstanceService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','next','setParam','error','USERS_ENTER','replace','repeat','pauseCollaboration','getAllMembers','getViewport','YUUMI_SUBSCRIPTION_NOT_FOUND','history','_entities','getAncestorScale','popstate','sendChangesetTimeout','_initStatusListener','_backgroundColor','reset','collaMsg','AWAITING','_onUserJoin','/collaborator','values','LocaleService','onSyncEditingCollabCursor','EffectRefRangId','doc.mutation.rich-text-editing','failed\x20to\x20apply\x20missed\x20changesets!','originalMeta','concatMap','off-line-single_clip0_910_343','COMPLETION_FINISHED','BehaviorSubject','url(#on-line-single_clip0_910_349)','SheetsSelectionsService','msCrypto','APPLY_REVISION_CONFILICT','_initEventListeners','push','verdancy600','_transformPreviousActiveRange','COLLAB_SUBMIT_CHANGESET_URL_KEY','fillRule','HEARTBEAT_INTERVAL','_reverseMap','ThresholdInterceptorFactory','pushState','_beforeCloseService','Rect','children','top','_transformRemoteChangesetByIMECache','_getSheetObject','_hover','uni.network.url-service','USERS_LEAVE','_scheduleHeartbeat','setInterval','attrs','HEARTBEAT_TIMEOUT_KEY','location','transformStateCache','UniverDesign','SHOULD_CLOSE_CONN','DeleteRangeMoveLeftCommandId','Undefined','offline','isTransformMutationFailure','_getSaveTimeout','indexOf','getCurrentUser','HmacMD5','hasher','sessionStatus','session.will-retry','RxDisposable','byteLength','debug','_getAnchorBounding','RemoveRowCommandId','conflict.title','saveChangeset','collabCursorState$','NodePositionConvertToCursor','RETRY_CONNECTING_MAX_COUNT_KEY','getResourcesRequest','_getSnapshotAPIPrefix','handleIRemoveCol','getRandomValues','forEach','searchParams','params','_document','getActiveSheet','CompressMutationService','downloadEndpointUrl','image/jpeg','LOCAL_CACHE_INTERVAL','_httpService','ISnapshotServerService','get','@univerjs/design','updatePermissionObjEvent','memberID','c2Prime','transformRemoteChangeset','/block/','_getSignURL','{fileID}','socket\x20close','Malformed\x20UTF-8\x20data','ACTIVE_UNIT_EVENT_CHANNEL','LIVESHARE_OPERATION','_uiPartsService','/resources','enableSingleActiveInstanceLock','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','copyFileMeta','_startSheetCollabCursor','_clearRedo','updateCollaborator','words','uploadFileServerUrl','isEditing','_handleHover','kdf','encrypt','_resendWithTimeout','_handler','UniverCollaborationClientPlugin','onPointerMove$','CollaborationSocketService','width','_unlockTransition','requestParams','_injector','_incrementRevisionNumber','UniverCore','SheetSkeletonManagerService','OTHER_CLIENTS_EDITING','currentSkeleton$','_scheduleClearOtherTimer','ImageSourceType','Cipher','_onRemoteACK','Hasher','_config','_keyPriorReset','patch','length','sheets','font','processBlock','duration','transformStack\x20failed!','_syncEditingCollabCursorService','extend','charCodeAt','createIdentifier','liveShareOperation','[CollaborationSessionService]:\x20socket\x20error','clone','DocSkeletonManagerService','fromCollab','batchAllowed','startsWith','AuthzIoHttpService','_hash','TEXT_RANGE_LAYER_INDEX','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','commentUpdateEvent','@univerjs/network','CHANGESET_ACK','OffLineSingle','VIEWPORT_KEY','createInstance','_submitChangeset','_collaborationController','assign','_urlService','getMemberID','YUUMI_RATE_OVER_LIMIT','generateRandomId','getUndoRedoMutationParamsCache','has','DataLoaderController','unknown','[CollaborationSession]','init','split','reverse','COMMENT_UPDATE','_sendingTimer','AES','fillText','path','LocalCacheService','svg','find','loadDoc','_createSocket','snapshotServerUrl','MUTATION','ICollaborationSocketService','MessageType','CHANGESET_REJ','registerOnClose','CollaborationStatus','serializeCombRequest','UniverCollaborationClient','keySize','_retryCount','\x20-\x20','getCurrentSelections','UniverEngineFormula','fetchMissingChangesets','displayName','ImageIoService','black','univer-online-status-title','headers','send','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','findNodePositionByCharIndex','hidden','ERROR_IMAGE_TYPE','random','hasOwnProperty','_sender','_context','decryptBlock','_onRemoteChangeset','_acknowledgedAwaitingChangeset','UPDATE_PERMISSION_OBJ','_handleLeaveEvent','_transformSelections','xlink:href','map','format','MD5','getUnit','_process','CBC','@univerjs-pro/collaboration','submit\x20changeset\x20error!','randomUUID','_localStorageService','_collabCursorController','substr','UniverSheets','mapDocumentTypeToUniverType','onRemoteChangeset','3680336YMgemy','reject','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','MSG_FOR_ERROR','_replayCachedMutations','unit-cache-','ciphertext','getActiveRange','isArray','_onRefRangeChange','\x20in\x20_schedule.','origin','_cursorShapes','onTransformState','getOwnPropertySymbols','&to=','_sessions','MoveRangeCommandId','delete','_iv','_drawRectRange','abs','tag','INGEST','onRemoteRetry','univer-online-status','getValue','_onCursorDelete','_draw','compose','_getDownloadEndpointURL','isTransformMutationsWithChangesetSuccess','crypto','_cachedData','NO_OTHER_CLIENTS_EDITING','LEAVE','createDecryptor','mode','fetching\x20missing\x20changesets\x20from\x20','_name','redoState','assignAColorForMemberID','_collaborationPaused','_createInitialStateImpl','_docStateChangeManagerService','algo','registerBeforeClose','ranges','/-/object/list','_singleActiveUnitService','addImageSourceCache','RECT','_transformIMECache','setUndoRedoMutationParamsCache','_cursorInfo$','SUBMIT_CHANGESET','INTERNAL_ERROR','TOO_MANY_REQUESTS','_undoRedoService','save','csShouldRetryEvent','_docTransformIMECacheService','reduce','_createHandler','JSONX','getUnhiddenWorksheets','getLatestCsReqIdBySid','toStringTag','roomMembers$','Subject','_configService','session','getStateCache','distinctUntilChanged','unit','exhaustSavingTask','_hasher','use','UNIVER_DOC','getFocusedUnit','hovered','_updateCollabCursors','_removeClearOtherTimer','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','PERMISSION_DENIED','UNIVER_SHEET','_cursors','getMergeData','_roomMembers','_handleEvent','resourceIDs','_assignedColors','0\x200\x2017\x2016','_exhaustRemoteChangesetQueue','appendMutation','stringify','UPDATE_CURSOR','_updateLocalCursor','PSEUDO_FETCH_MISSING_RESULT','/rev/','_scheduleCollaborationTimeoutTimer','/unit/','_labelPosition','_initMergeInterceptor','collabStatus.fetchMiss','connectInjector','_changesetReqId','getInterceptPoints','createEncryptor','_toggleOnline','fromCharCode','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','runRefRangeMutations','onRendered','_socketMessageSubscription','DeleteRangeMoveUpCommandId','CollaborationStatusDisplay','debounceTime','LICENSE_DISTRO_REJECTED','ICommandService','YUUMI_URL_COL_OUT_OF_RANGE','_hovered','Tooltip','show','ref','listCollaborators','_type','_changesetSessionId','HTTPService','UnitEmbedded','red300','_initDependencies','InsertRowCommandId','/universer-api/oidc/authpage','backgroundColor','m1Prime','synced','fromEvent','[CollaborationSessionService]','off-line-single','TEXT','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','HEARTBEAT_TIMEOUT','_doReset','purple300','_init','result','image/png','_heartbeatTimer','_DEC_XFORM_MODE','FETCH_MISSING','DependentOn','_transformHistoryAndStateStack','ReactCurrentOwner','getMember','onRemoteRej','_shouldReportTelemetry','AUTHZ_URL_KEY','fetchMiss','save\x20fail\x20reason\x20is\x20','UniverEngineRender','_timeoutTimer','startTime','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','SessionStatus','_onFetchMissResult','CollaborationSessionService','_commentService','fillStyle','join','Shape','color','_disabled','_getLoginPath','_getMergeRange','objectType','[PendingState]:\x20received\x20acknowledgement.','csRejEvent','_messageService','_refRangeService','slice','onPointerLeave$','collab-text-anchor-','_queuedRemoteChangesets','_ENC_XFORM_MODE','HMAC','\x0aCurrent:\x20','pad','IPermissionService','8971659BIHWQy','x-univer-host','incrementRevOfUnit','fromEventSubject','endRow','\x0aAfter:\x20','CommandType','_cipher','univer-pro.collaboration-client.single-active-unit-service','sin','pending','CipherParams','key','CONFLICT','toString','textEncoder','_loadSheet','@univerjs/engine-formula','_ws','session.connection-failed','createElement','min','UNIVER_PROJECT','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','loadOfflineData','_replaceFileID','handleDeleteRangeMoveUp','onMissedChangesetFetched','roomInfos','finalize','call','LIVESHARE_FETCH_OPERATIONS','_telemetryService','_showConflictNotification','Base','[PendingState]:\x20unhandled\x20univer\x20type:\x20','mixIn','IRenderManagerService','on-line-single','SetWorksheetActivateCommand','name','current','UniverSheetsUi','_loadDoc','with','_doProcessBlock','retryConnectingInterval','@univerjs/rpc','propertyIsEnumerable','gold400','RemoveColCommandId','[UniverCollaborationClientPlugin]','object','_keySchedule','_saveTaskMap','_updateSubUnitFromURLParams','DesktopCollaborationStatusDisplayController','_onMessage','getTime','UNRECOGNIZED','_rescheduleHeartbeat','_cursor','startColumn','BASE64','_saveCache','getTypeOfUnitDisposed$','entries','takeUntil','salt','_clearLocalCache','isActive','eventID','toggleOnline','editing\x20status\x20changed\x20to','5JfKxcv','engine','/new_changes','_transformRemoteChangesetByStateCache','updateMember','CollaborationEvent','UniverInstanceType','_univerInstanceService','switchMap','react','handleInsertRow','_isPermissionRej','_key','_event$','for','_scene','_onConnectionOpen','NOT_COLLAB','_sheetSkeletonManagerService','size','FETCH_MISS','getCollabEntity$','number','selections','_redoStacks','onTransformRemoteChangesetByIMECache','_startCollaboration','getSheetId','setItem','responseType','Encryptor','FromArray','transformChangesets','replaceDocRanges','collaboratorID','ENSURE_SNAPSHOT_EXECUTION','[CollaborationState]:\x20apply\x20error!','jsxs','catch','visibilityState','/-/object/-/batch_allowed','_roomMembers$','PasswordBasedCipher','concat','_socket','update','_selfUnitIDs','buffer','now','roles','univer-online','column','JOIN','url(#$1','conflict','ERROR_IMAGE','post','OpenSSL','includes','univer-online-status-icon','_awaitingChangeset','clearInterval','_collabSessionService','set','getColor','ivSize','formatter','image/gif','putCollaborators','DocStateChangeManagerService','SNAPSHOT_URL_KEY','flatMap','ceil','isPermissionRej','unsubscribe','/fetchmissing?from=','subscribe','dispose$','_checkMissing','disableLocalCache','onStarting','image/jpg','_render','CollaborationController','YUUMI_UNABLE_LOAD_URL','Tools','deserializeToCombResponse','open$','toDisposable','_tryEnsureSocket','append','EXCHANGE_SIGN_URL_SERVER_URL_KEY','APPLY_DUPLICATED','session.collaboration-timeout','m2Prime','handleMoveRange','collaboration.single-unit.warning','ReplaySubject','_waitForHeartbeatResponse','UNDEFINED','_shapes','function','_tryReconnect','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!'];_0x2967=function(){return _0x4ac44e;};return _0x2967();}(function(_0x4179c6,_0x5dc0ea){const _0xebd6ab=_0x586f,_0x2a8296=_0x4179c6();while(!![]){try{const _0x5bdccb=parseInt(_0xebd6ab(0x1b9))/0x1+-parseInt(_0xebd6ab(0x483))/0x2+-parseInt(_0xebd6ab(0x53a))/0x3+parseInt(_0xebd6ab(0x2d9))/0x4+parseInt(_0xebd6ab(0x3e0))/0x5*(parseInt(_0xebd6ab(0x553))/0x6)+parseInt(_0xebd6ab(0x17e))/0x7*(parseInt(_0xebd6ab(0x1bc))/0x8)+-parseInt(_0xebd6ab(0x396))/0x9;if(_0x5bdccb===_0x5dc0ea)break;else _0x2a8296['push'](_0x2a8296['shift']());}catch(_0x1e24a4){_0x2a8296['push'](_0x2a8296['shift']());}}}(_0x2967,0x84a12),function(_0x5ffb50,_0xc0c5d8){const _0x2f6e30=_0x586f;typeof exports=='object'&&typeof module<'u'?_0xc0c5d8(exports,require(_0x2f6e30(0x57b)),require('rxjs'),require(_0x2f6e30(0x4fd)),require('@univerjs/design'),require('@univerjs/ui'),require(_0x2f6e30(0x288)),require('@univerjs-pro/collaboration'),require('@univerjs/telemetry'),require(_0x2f6e30(0x519)),require('@univerjs/sheets'),require(_0x2f6e30(0x107)),require('@univerjs/docs'),require(_0x2f6e30(0x554)),require(_0x2f6e30(0x3a7)),require(_0x2f6e30(0x568)),require(_0x2f6e30(0x3e9)),require(_0x2f6e30(0x3c5))):typeof define==_0x2f6e30(0x445)&&define[_0x2f6e30(0x4a5)]?define([_0x2f6e30(0x50a),_0x2f6e30(0x57b),_0x2f6e30(0x18f),_0x2f6e30(0x4fd),_0x2f6e30(0x242),_0x2f6e30(0x1ad),'@univerjs/network',_0x2f6e30(0x2d0),_0x2f6e30(0x4d0),'@univerjs/docs-ui','@univerjs/sheets','@univerjs/engine-render',_0x2f6e30(0x156),_0x2f6e30(0x554),_0x2f6e30(0x3a7),_0x2f6e30(0x568),_0x2f6e30(0x3e9),'@univerjs/rpc'],_0xc0c5d8):(_0x5ffb50=typeof globalThis<'u'?globalThis:_0x5ffb50||self,_0xc0c5d8(_0x5ffb50[_0x2f6e30(0x2ae)]={},_0x5ffb50[_0x2f6e30(0x266)],_0x5ffb50[_0x2f6e30(0x18f)],_0x5ffb50[_0x2f6e30(0x18f)]['operators'],_0x5ffb50[_0x2f6e30(0x21b)],_0x5ffb50[_0x2f6e30(0x505)],_0x5ffb50['UniverNetwork'],_0x5ffb50['UniverCollaboration'],_0x5ffb50[_0x2f6e30(0x457)],_0x5ffb50[_0x2f6e30(0x4c7)],_0x5ffb50[_0x2f6e30(0x2d6)],_0x5ffb50[_0x2f6e30(0x379)],_0x5ffb50[_0x2f6e30(0x506)],_0x5ffb50[_0x2f6e30(0x160)],_0x5ffb50[_0x2f6e30(0x2b3)],_0x5ffb50[_0x2f6e30(0x3c0)],_0x5ffb50[_0x2f6e30(0x583)],_0x5ffb50[_0x2f6e30(0x499)]));}(this,function(_0x2728bd,_0x8a1a57,_0x933215,_0x478e49,_0x731a74,_0x4b60ff,_0x547ebe,_0x27cfd8,_0x2d346b,_0x473dea,_0x46f63a,_0x20e8c2,_0x1d9e38,_0x1444d,_0x2f3a98,_0x3ba744,_0x5e80f5,_0x6cb789){'use strict';const _0x16631f=_0x586f;var _0x5412be=Object[_0x16631f(0x162)],_0x358f5f=(_0x53f7af,_0xf1df9d,_0x5a448e)=>_0xf1df9d in _0x53f7af?_0x5412be(_0x53f7af,_0xf1df9d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5a448e}):_0x53f7af[_0xf1df9d]=_0x5a448e,_0x2a606e=(_0x426f38,_0x1d9b95,_0x3401c4)=>_0x358f5f(_0x426f38,typeof _0x1d9b95!=_0x16631f(0x54a)?_0x1d9b95+'':_0x1d9b95,_0x3401c4);const _0x105ab0=_0x16631f(0x4dc),_0x302226=_0x16631f(0x11f),_0x17ae05=_0x16631f(0x426),_0xe2af66=_0x16631f(0x45b),_0xa043d2='COLLAB_WEB_SOCKET_URL',_0x2e90bf=_0x16631f(0x552),_0x5308f2=_0x16631f(0x208),_0x24c7e0=_0x16631f(0x367),_0x3f4302=_0x16631f(0x594),_0x3c4516=_0x16631f(0x23e),_0x5f392d=_0x16631f(0x453),_0x2866e4='/universer-api/comb',_0x1da8a5=_0x16631f(0x16a),_0x4638d3=_0x16631f(0x35e);var _0x40c994=(_0x384af3=>(_0x384af3[_0x384af3[_0x16631f(0x443)]=0x0]=_0x16631f(0x443),_0x384af3[_0x384af3['OK']=0x1]='OK',_0x384af3[_0x384af3[_0x16631f(0x311)]=0x2]=_0x16631f(0x311),_0x384af3[_0x384af3[_0x16631f(0x32d)]=0x3]=_0x16631f(0x32d),_0x384af3[_0x384af3['NOT_FOUND']=0x4]=_0x16631f(0x4c3),_0x384af3[_0x384af3[_0x16631f(0x571)]=0x5]='UNAUTHENTICATED',_0x384af3[_0x384af3[_0x16631f(0x54e)]=0x6]=_0x16631f(0x54e),_0x384af3[_0x384af3[_0x16631f(0x4f5)]=0x7]=_0x16631f(0x4f5),_0x384af3[_0x384af3['TOO_MANY_REQUESTS']=0x8]=_0x16631f(0x312),_0x384af3[_0x384af3['COMPLETION_FINISHED']=0x9]=_0x16631f(0x1fc),_0x384af3[_0x384af3[_0x16631f(0x507)]=0x1389]=_0x16631f(0x507),_0x384af3[_0x384af3['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x16631f(0x1d3),_0x384af3[_0x384af3[_0x16631f(0x559)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x384af3[_0x384af3[_0x16631f(0x403)]=0x1773]=_0x16631f(0x403),_0x384af3[_0x384af3[_0x16631f(0x4d6)]=0x1b59]=_0x16631f(0x4d6),_0x384af3[_0x384af3[_0x16631f(0x4b9)]=0x1b5a]=_0x16631f(0x4b9),_0x384af3[_0x384af3[_0x16631f(0x201)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x384af3[_0x384af3[_0x16631f(0xfe)]=0x1b5c]=_0x16631f(0xfe),_0x384af3[_0x384af3[_0x16631f(0x43c)]=0x1b5d]=_0x16631f(0x43c),_0x384af3[_0x384af3['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x16631f(0x134),_0x384af3[_0x384af3[_0x16631f(0x44c)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x384af3[_0x384af3[_0x16631f(0x4ff)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x384af3[_0x384af3[_0x16631f(0x4a4)]=0x232b]=_0x16631f(0x4a4),_0x384af3[_0x384af3[_0x16631f(0x188)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x384af3[_0x384af3['LICENSE_DISTRO_REJECTED']=0x232d]=_0x16631f(0x34f),_0x384af3[_0x384af3[_0x16631f(0x434)]=0x2711]=_0x16631f(0x434),_0x384af3[_0x384af3[_0x16631f(0x351)]=0x2712]=_0x16631f(0x351),_0x384af3[_0x384af3[_0x16631f(0x292)]=0x2713]=_0x16631f(0x292),_0x384af3[_0x384af3[_0x16631f(0x1e6)]=0x2714]=_0x16631f(0x1e6),_0x384af3[_0x384af3[_0x16631f(0x3d1)]=-0x1]=_0x16631f(0x3d1),_0x384af3))(_0x40c994||{}),_0x4a6b81=(_0x415daa=>(_0x415daa[_0x415daa[_0x16631f(0x4a0)]=0x0]=_0x16631f(0x4a0),_0x415daa[_0x415daa['UNIVER_DOC']=0x1]=_0x16631f(0x327),_0x415daa[_0x415daa[_0x16631f(0x32e)]=0x2]=_0x16631f(0x32e),_0x415daa[_0x415daa[_0x16631f(0xf6)]=0x3]=_0x16631f(0xf6),_0x415daa[_0x415daa['UNIVER_PROJECT']=0x4]=_0x16631f(0x3ac),_0x415daa[_0x415daa[_0x16631f(0x3d1)]=-0x1]=_0x16631f(0x3d1),_0x415daa))(_0x4a6b81||{}),_0x4421b5=(_0xab8deb=>(_0xab8deb[_0xab8deb[_0x16631f(0x452)]=0x0]=_0x16631f(0x452),_0xab8deb[_0xab8deb[_0x16631f(0x5a6)]=0x1]='HELLO',_0xab8deb[_0xab8deb[_0x16631f(0x414)]=0x2]='JOIN',_0xab8deb[_0xab8deb['LEAVE']=0x3]='LEAVE',_0xab8deb[_0xab8deb[_0x16631f(0x2f0)]=0x4]=_0x16631f(0x2f0),_0xab8deb[_0xab8deb[_0x16631f(0x541)]=0x5]=_0x16631f(0x541),_0xab8deb[_0xab8deb[_0x16631f(0x46c)]=0x6]=_0x16631f(0x46c),_0xab8deb[_0xab8deb[_0x16631f(0x3d1)]=-0x1]=_0x16631f(0x3d1),_0xab8deb))(_0x4421b5||{}),_0x2737e6=(_0x208bcc=>(_0x208bcc[_0x208bcc['UNKNOWN_CODE']=0x0]=_0x16631f(0x11c),_0x208bcc[_0x208bcc['OK']=0x1]='OK',_0x208bcc[_0x208bcc['FAIL']=0x2]=_0x16631f(0x113),_0x208bcc[_0x208bcc['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x208bcc))(_0x2737e6||{}),_0x4e4d17=(_0x341960=>(_0x341960[_0x341960[_0x16631f(0x21e)]=0x0]=_0x16631f(0x21e),_0x341960[_0x341960[_0x16631f(0x55c)]=0x1]=_0x16631f(0x55c),_0x341960[_0x341960[_0x16631f(0x479)]=0x2]=_0x16631f(0x479),_0x341960[_0x341960[_0x16631f(0x35a)]=0x3]='UnitEmbedded',_0x341960[_0x341960[_0x16631f(0x58c)]=0x4]=_0x16631f(0x58c),_0x341960[_0x341960[_0x16631f(0x3d1)]=-0x1]='UNRECOGNIZED',_0x341960))(_0x4e4d17||{});const _0x132856=_0x16631f(0x1b4),_0x361e6c={};function _0x44af3e(_0x1ae501){const _0x19f62d=_0x16631f;var _0x5acb4a,_0x596703,_0x3c7aa5,_0x8a4828,_0x34e785;const _0x1c19a5=_0x1ae501[_0x19f62d(0x140)],_0x27a9ab=JSON[_0x19f62d(0x4c5)](_0x1c19a5);switch(_0x27a9ab['cmd']){case _0x4421b5[_0x19f62d(0x541)]:case _0x4421b5[_0x19f62d(0x5a6)]:{const _0x4a1d17=_0x27a9ab[_0x19f62d(0x4ef)];return{..._0x27a9ab,'data':_0x4a1d17,'cmd':_0x27a9ab[_0x19f62d(0x595)]};}case _0x4421b5['JOIN']:{const _0x81909b=_0x27a9ab['joinRsp'];return{..._0x27a9ab,'data':_0x81909b,'cmd':_0x27a9ab[_0x19f62d(0x595)]};}case _0x4421b5['RECV']:{const _0x4f5ff7=_0x27a9ab[_0x19f62d(0x1ef)];switch(_0x4f5ff7[_0x19f62d(0x3dd)]){case _0x27cfd8[_0x19f62d(0x3e5)][_0x19f62d(0x12f)]:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':(_0x5acb4a=_0x4f5ff7['permissionRejEvent'])==null?void 0x0:_0x5acb4a['cs']},'cmd':_0x27a9ab['cmd']};case _0x27cfd8[_0x19f62d(0x3e5)]['CHANGESET_ACK']:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':(_0x596703=_0x4f5ff7[_0x19f62d(0x533)])==null?void 0x0:_0x596703['cs']},'cmd':_0x27a9ab[_0x19f62d(0x595)]};case _0x27cfd8['CollaborationEvent']['NEW_CHANGESETS']:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':(_0x3c7aa5=_0x4f5ff7[_0x19f62d(0x516)])==null?void 0x0:_0x3c7aa5['cs']},'cmd':_0x27a9ab[_0x19f62d(0x595)]};case _0x27cfd8[_0x19f62d(0x3e5)][_0x19f62d(0x2aa)]:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':(_0x8a4828=_0x4f5ff7[_0x19f62d(0x38a)])==null?void 0x0:_0x8a4828['cs']},'cmd':_0x27a9ab[_0x19f62d(0x595)]};case _0x27cfd8[_0x19f62d(0x3e5)]['CHANGESET_SHOULD_RETRY']:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':(_0x34e785=_0x4f5ff7[_0x19f62d(0x315)])==null?void 0x0:_0x34e785['cs']},'cmd':_0x27a9ab[_0x19f62d(0x595)]};case _0x27cfd8['CollaborationEvent']['UPDATE_CURSOR']:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':_0x4f5ff7[_0x19f62d(0x4f2)]},'cmd':_0x27a9ab[_0x19f62d(0x595)]};case _0x27cfd8[_0x19f62d(0x3e5)][_0x19f62d(0x1e0)]:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':_0x4f5ff7[_0x19f62d(0x4e1)]},'cmd':_0x27a9ab[_0x19f62d(0x595)]};case _0x27cfd8[_0x19f62d(0x3e5)][_0x19f62d(0x214)]:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':_0x4f5ff7['leaveEvent']},'cmd':_0x27a9ab[_0x19f62d(0x595)]};case _0x27cfd8[_0x19f62d(0x3e5)]['LIVESHARE_NEW_HOST']:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':_0x4f5ff7['liveShareNewHost']},'cmd':_0x27a9ab['cmd']};case _0x27cfd8[_0x19f62d(0x3e5)][_0x19f62d(0x3b5)]:case _0x27cfd8[_0x19f62d(0x3e5)][_0x19f62d(0x24d)]:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':_0x4f5ff7[_0x19f62d(0x27c)]},'cmd':_0x27a9ab[_0x19f62d(0x595)]};case _0x27cfd8[_0x19f62d(0x3e5)]['LIVESHARE_TERMINATE']:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':_0x4f5ff7[_0x19f62d(0x179)]},'cmd':_0x27a9ab['cmd']};case _0x27cfd8[_0x19f62d(0x3e5)][_0x19f62d(0x2dc)]:return{..._0x27a9ab,'data':_0x4f5ff7,'cmd':_0x27a9ab[_0x19f62d(0x595)]};case _0x27cfd8[_0x19f62d(0x3e5)][_0x19f62d(0x29c)]:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':_0x4f5ff7[_0x19f62d(0x287)]},'cmd':_0x27a9ab['cmd']};case _0x27cfd8[_0x19f62d(0x3e5)][_0x19f62d(0x2c6)]:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':_0x4f5ff7[_0x19f62d(0x243)]},'cmd':_0x27a9ab[_0x19f62d(0x595)]};case _0x27cfd8[_0x19f62d(0x3e5)]['SHOULD_CLOSE_CONN']:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':_0x4f5ff7['shouldCloseConn']},'cmd':_0x27a9ab['cmd']};default:return _0x27a9ab;}}default:return _0x27a9ab;}}function _0x5e3630(_0x42197b){const _0x2c0c97=_0x16631f;switch(_0x42197b[_0x2c0c97(0x595)]){case _0x4421b5['HEARTBEAT']:case _0x4421b5[_0x2c0c97(0x5a6)]:return JSON[_0x2c0c97(0x338)]({'cmd':_0x42197b[_0x2c0c97(0x595)],'routeKey':_0x42197b[_0x2c0c97(0x48d)]});case _0x4421b5[_0x2c0c97(0x2f0)]:{let _0x98c844;switch(_0x42197b[_0x2c0c97(0x140)]['eventID']){case _0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x339)]:{_0x98c844={'eventID':_0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x339)],'updateCursorEvent':_0x42197b[_0x2c0c97(0x140)][_0x2c0c97(0x140)]};break;}case _0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x214)]:{_0x98c844={'eventID':_0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x214)],'leaveEvent':_0x42197b[_0x2c0c97(0x140)][_0x2c0c97(0x140)]};break;}case _0x27cfd8[_0x2c0c97(0x3e5)]['USERS_ENTER']:{_0x98c844={'eventID':_0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x1e0)],'joinEvent':_0x42197b[_0x2c0c97(0x140)][_0x2c0c97(0x140)]};break;}case _0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x153)]:{_0x98c844={'eventID':_0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x153)],'liveShareNewHost':_0x42197b[_0x2c0c97(0x140)][_0x2c0c97(0x140)]};break;}case _0x27cfd8['CollaborationEvent']['LIVESHARE_OPERATION']:{_0x98c844={'eventID':_0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x24d)],'liveShareOperation':_0x42197b[_0x2c0c97(0x140)]['data']};break;}case _0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x44e)]:{_0x98c844={'eventID':_0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x44e)],'liveShareTerminate':_0x42197b[_0x2c0c97(0x140)][_0x2c0c97(0x140)]};break;}case _0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x55a)]:{_0x98c844={'eventID':_0x27cfd8[_0x2c0c97(0x3e5)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x42197b[_0x2c0c97(0x140)][_0x2c0c97(0x140)]};break;}case _0x27cfd8['CollaborationEvent'][_0x2c0c97(0x3b5)]:{_0x98c844={'eventID':_0x27cfd8['CollaborationEvent'][_0x2c0c97(0x3b5)]};break;}default:_0x98c844={'eventID':_0x42197b[_0x2c0c97(0x140)]['eventID']};}return JSON['stringify']({'cmd':_0x42197b[_0x2c0c97(0x595)],'routeKey':_0x42197b[_0x2c0c97(0x48d)],'collaMsg':_0x98c844});}case _0x4421b5['JOIN']:return JSON[_0x2c0c97(0x338)]({'cmd':_0x42197b[_0x2c0c97(0x595)],'routeKey':_0x42197b[_0x2c0c97(0x48d)],'joinReq':_0x42197b[_0x2c0c97(0x140)]});case _0x4421b5[_0x2c0c97(0x2fc)]:return JSON['stringify']({'cmd':_0x42197b[_0x2c0c97(0x595)],'routeKey':_0x42197b[_0x2c0c97(0x48d)],'leaveReq':_0x42197b[_0x2c0c97(0x140)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x379e0e=Object[_0x16631f(0x162)],_0x1ca809=Object[_0x16631f(0x57e)],_0x5a838e=(_0x5688a9,_0x10a463,_0x11d9c8,_0xebadb8)=>{const _0x321d23=_0x16631f;for(var _0xe3ac9b=_0xebadb8>0x1?void 0x0:_0xebadb8?_0x1ca809(_0x10a463,_0x11d9c8):_0x10a463,_0x1ba81b=_0x5688a9[_0x321d23(0x272)]-0x1,_0x47033a;_0x1ba81b>=0x0;_0x1ba81b--)(_0x47033a=_0x5688a9[_0x1ba81b])&&(_0xe3ac9b=(_0xebadb8?_0x47033a(_0x10a463,_0x11d9c8,_0xe3ac9b):_0x47033a(_0xe3ac9b))||_0xe3ac9b);return _0xebadb8&&_0xe3ac9b&&_0x379e0e(_0x10a463,_0x11d9c8,_0xe3ac9b),_0xe3ac9b;},_0x51ec2c=(_0x1aa654,_0x56c9a1)=>(_0x2aa2f6,_0xb2d24e)=>_0x56c9a1(_0x2aa2f6,_0xb2d24e,_0x1aa654);const _0x55ce8e=_0x8a1a57['createIdentifier'](_0x16631f(0xf5));function _0x5eaccb(_0x1f6842,_0x2d369b,_0xcff014){const _0x372b5f=_0x16631f;return _0x1f6842+'/'+_0x2d369b+'/unit/'+_0xcff014+_0x372b5f(0x3e2);}_0x2728bd[_0x16631f(0x260)]=class extends _0x8a1a57[_0x16631f(0x490)]{constructor(_0x55c53f,_0x34024c,_0x25eb02,_0x4c5c68,_0x426073){const _0x297063=_0x16631f;super(),this['_http']=_0x55c53f,this['_ws']=_0x34024c,this[_0x297063(0x31f)]=_0x25eb02,this[_0x297063(0x515)]=_0x4c5c68,this['_snapshotServerService']=_0x426073;}[_0x16631f(0x121)](_0x1d4068){const _0x323248=_0x16631f,_0x505c58=this[_0x323248(0x3a8)]['createSocket'](_0x1d4068);if(!_0x505c58)throw new Error(_0x323248(0x348));const _0x538a39=new _0x8a1a57[(_0x323248(0x4ae))](),_0x2c2d1d=new _0x933215[(_0x323248(0x31e))]();_0x538a39[_0x323248(0x1cb)](_0x505c58['close$']['subscribe'](_0x5d5ee2=>_0x2c2d1d[_0x323248(0x1dd)](_0x5d5ee2))),_0x538a39[_0x323248(0x1cb)](_0x8a1a57[_0x323248(0x438)](()=>_0x2c2d1d[_0x323248(0x495)]()));const _0x5d32f6=new _0x933215[(_0x323248(0x31e))]();_0x538a39[_0x323248(0x1cb)](_0x505c58['error$'][_0x323248(0x42c)](_0x187d69=>_0x5d32f6[_0x323248(0x1dd)](_0x187d69))),_0x538a39[_0x323248(0x1cb)](_0x8a1a57[_0x323248(0x438)](()=>_0x5d32f6['complete']()));const _0x43be3e=new _0x933215['Subject']();_0x538a39[_0x323248(0x1cb)](_0x505c58[_0x323248(0x560)]['subscribe'](_0xdfaef8=>{const _0x39e3df=_0x323248,_0x533cab=_0x44af3e(_0xdfaef8);_0x43be3e[_0x39e3df(0x1dd)](_0x533cab);})),_0x538a39['add'](_0x8a1a57[_0x323248(0x438)](()=>_0x43be3e[_0x323248(0x495)]()));let _0x2b4493;const _0x252db6=()=>{const _0x2f097b=_0x323248;_0x5d32f6[_0x2f097b(0x1dd)](new Event(_0x2f097b(0x1d8))),_0x2c2d1d[_0x2f097b(0x1dd)](new CloseEvent(_0x2f097b(0x1d8))),_0x2b4493[_0x2f097b(0x1a4)]();};return _0x2b4493={'memberID':'','close$':_0x2c2d1d['asObservable'](),'error$':_0x5d32f6[_0x323248(0x525)](),'open$':_0x505c58[_0x323248(0x437)],'message$':_0x43be3e[_0x323248(0x525)](),'send':_0x5a022c=>{const _0x4b7a3f=_0x323248;if(_0x5a022c['cmd']===_0x4421b5[_0x4b7a3f(0x2f0)]){if(_0x5a022c[_0x4b7a3f(0x140)][_0x4b7a3f(0x3dd)]===_0x27cfd8[_0x4b7a3f(0x3e5)]['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x2b4493,_0x5a022c[_0x4b7a3f(0x140)])['catch'](_0x319caf=>{const _0x477e00=_0x4b7a3f;this['_logService'][_0x477e00(0x1df)](_0x319caf),_0x252db6();});return;}if(_0x5a022c[_0x4b7a3f(0x140)][_0x4b7a3f(0x3dd)]===_0x27cfd8[_0x4b7a3f(0x3e5)][_0x4b7a3f(0x36f)]){const _0x2b2f16=_0x5a022c[_0x4b7a3f(0x140)];this[_0x4b7a3f(0x558)](_0x2b2f16)[_0x4b7a3f(0x566)](_0x2e1198=>{const _0x1c6b26=_0x4b7a3f;_0x43be3e[_0x1c6b26(0x1dd)]({'cmd':_0x4421b5[_0x1c6b26(0x46c)],'code':_0x2737e6['OK'],'routeKey':_0x2b2f16[_0x1c6b26(0x140)][_0x1c6b26(0x477)],'routeType':'','data':{'eventID':_0x27cfd8[_0x1c6b26(0x3e5)][_0x1c6b26(0x33b)],'data':{'changesets':_0x2e1198}}});})[_0x4b7a3f(0x406)](_0x531603=>{const _0x11c206=_0x4b7a3f;this[_0x11c206(0x515)]['error'](_0x531603),_0x252db6();});return;}}_0x505c58['send'](_0x5e3630(_0x5a022c));},'close':()=>{const _0x5a9d47=_0x323248;_0x505c58[_0x5a9d47(0x1a4)](),_0x538a39[_0x5a9d47(0x4a7)]();}},_0x2b4493;}async[_0x16631f(0x28d)](_0x3debf8,_0x253be6){const _0x56d43a=_0x16631f;var _0x7230e0,_0x185c2c;const {unitType:_0x4567c2,unitID:_0x539e5c,changeset:_0x8681d5}=_0x253be6['data'],_0x2c380d={'unitID':_0x539e5c,'memberID':_0x3debf8[_0x56d43a(0x244)],'type':_0x4567c2,'changeset':_0x27cfd8[_0x56d43a(0x52d)](_0x8681d5)},_0x5bdf43=this[_0x56d43a(0x31f)][_0x56d43a(0xfd)](_0x5f392d),_0x146600=this[_0x56d43a(0x31f)][_0x56d43a(0xfd)](_0x132856),_0x240b49=_0x5eaccb((_0x185c2c=(_0x7230e0=_0x146600==null?void 0x0:_0x146600[_0x56d43a(0x464)])!=null?_0x7230e0:_0x5bdf43)!=null?_0x185c2c:_0x2866e4,_0x4567c2,_0x539e5c);try{await this['_http']['post'](_0x240b49,{'body':_0x2c380d});}catch(_0x5f0ed4){throw this[_0x56d43a(0x515)][_0x56d43a(0x1df)](_0x56d43a(0x298),_0x56d43a(0x2d1)),_0x5f0ed4;}}async[_0x16631f(0x558)](_0x51f29e){const _0x2e9fc4=_0x16631f,{unitID:_0x5dfdd7,from:_0x3c4a18,to:_0x456348,unitType:_0x17d158}=_0x51f29e[_0x2e9fc4(0x140)];return(await this[_0x2e9fc4(0x4bd)][_0x2e9fc4(0x2b4)]({'metadata':void 0x0},{'unitID':_0x5dfdd7,'type':_0x17d158,'from':_0x3c4a18,'to':_0x456348}))[_0x2e9fc4(0x593)];}},_0x2728bd['CollaborationSocketService']=_0x5a838e([_0x51ec2c(0x0,_0x8a1a57[_0x16631f(0x537)](_0x547ebe[_0x16631f(0x359)])),_0x51ec2c(0x1,_0x8a1a57[_0x16631f(0x537)](_0x547ebe[_0x16631f(0x1ca)])),_0x51ec2c(0x2,_0x8a1a57[_0x16631f(0x4f9)]),_0x51ec2c(0x3,_0x8a1a57[_0x16631f(0xfc)]),_0x51ec2c(0x4,_0x27cfd8['ISnapshotServerService'])],_0x2728bd[_0x16631f(0x260)]);const _0x191ac8=_0x16631f(0x503);function _0x47bcb8(_0x542a8e){const _0xf7791a=_0x16631f;return JSON[_0xf7791a(0x338)](_0x542a8e)[_0xf7791a(0x272)];}class _0xe71ff7{constructor(){const _0xc1de3e=_0x16631f;_0x2a606e(this,_0xc1de3e(0x518),new _0x933215[(_0xc1de3e(0x31e))]()),_0x2a606e(this,_0xc1de3e(0x184),this[_0xc1de3e(0x518)][_0xc1de3e(0x525)]());}['onCommentUpdate'](_0x426124){const _0x2f13e7=_0x16631f;this['_commentUpdate$'][_0x2f13e7(0x1dd)](_0x426124);}}var _0x414fe2=Object[_0x16631f(0x162)],_0x16bd0e=Object['getOwnPropertyDescriptor'],_0x522c3c=(_0xf4e0c9,_0x22e4c6,_0x26d33a,_0x54f6fa)=>{const _0x258c46=_0x16631f;for(var _0x5a1739=_0x54f6fa>0x1?void 0x0:_0x54f6fa?_0x16bd0e(_0x22e4c6,_0x26d33a):_0x22e4c6,_0x1cdf63=_0xf4e0c9[_0x258c46(0x272)]-0x1,_0x3396b4;_0x1cdf63>=0x0;_0x1cdf63--)(_0x3396b4=_0xf4e0c9[_0x1cdf63])&&(_0x5a1739=(_0x54f6fa?_0x3396b4(_0x22e4c6,_0x26d33a,_0x5a1739):_0x3396b4(_0x5a1739))||_0x5a1739);return _0x54f6fa&&_0x5a1739&&_0x414fe2(_0x22e4c6,_0x26d33a,_0x5a1739),_0x5a1739;},_0xc2f820=(_0x3f53b4,_0x4f64a1)=>(_0x356d5b,_0x3dbe53)=>_0x4f64a1(_0x356d5b,_0x3dbe53,_0x3f53b4);_0x2728bd[_0x16631f(0x584)]=class extends _0x8a1a57[_0x16631f(0x490)]{constructor(_0x20f640,_0x9f56a){const _0x45e02a=_0x16631f;super(),_0x2a606e(this,_0x45e02a(0x331),new Map()),(this[_0x45e02a(0x3e7)]=_0x20f640,this[_0x45e02a(0x4c8)]=_0x9f56a,this[_0x45e02a(0x14a)](_0x8a1a57[_0x45e02a(0x438)](_0x933215[_0x45e02a(0x116)](this[_0x45e02a(0x3e7)]['getTypeOfUnitDisposed$'](_0x8a1a57[_0x45e02a(0x3e6)][_0x45e02a(0x32e)])[_0x45e02a(0x4be)](_0x478e49[_0x45e02a(0x2ca)](_0x511cbb=>_0x511cbb['getUnitId']())),this['_univerInstanceService'][_0x45e02a(0x3d7)](_0x8a1a57[_0x45e02a(0x3e6)][_0x45e02a(0x327)])['pipe'](_0x478e49['map'](_0x270d35=>_0x270d35['getUnitId']())),this[_0x45e02a(0x3e7)][_0x45e02a(0x3d7)](_0x8a1a57['UniverInstanceType']['UNIVER_SLIDE'])[_0x45e02a(0x4be)](_0x478e49[_0x45e02a(0x2ca)](_0x1ca0ef=>_0x1ca0ef['getUnitId']())))[_0x45e02a(0x42c)](_0x1e313d=>this[_0x45e02a(0x1a1)](_0x1e313d)))));}['setCurrentUser'](_0x303936){const _0x2ebddd=_0x16631f;this[_0x2ebddd(0x4c8)][_0x2ebddd(0x4db)](_0x303936);}[_0x16631f(0x223)](){const _0x179fcd=_0x16631f;return this[_0x179fcd(0x4c8)]['getCurrentUser']();}[_0x16631f(0x3e4)](_0x48f02c,_0x16be2a){const _0x5dc80b=_0x16631f;let _0x76533a=this[_0x5dc80b(0x331)][_0x5dc80b(0x241)](_0x48f02c);_0x76533a||(_0x76533a=new _0x23ee47(),this[_0x5dc80b(0x331)]['set'](_0x48f02c,_0x76533a)),_0x76533a[_0x5dc80b(0x3e4)](_0x16be2a);}[_0x16631f(0x50f)](_0xe50c58,_0x3dca8e){const _0x9cf65c=_0x16631f,_0x4678ae=this[_0x9cf65c(0x331)][_0x9cf65c(0x241)](_0xe50c58);_0x4678ae&&_0x4678ae[_0x9cf65c(0x50f)](_0x3dca8e);}[_0x16631f(0x15e)](_0x511df2){const _0xef13e=_0x16631f;return this[_0xef13e(0x331)][_0xef13e(0x241)](_0x511df2);}['getMember'](_0xd449bb,_0xbf115f){const _0x21d635=_0x16631f,_0x3ce39e=this[_0x21d635(0x331)]['get'](_0xd449bb);if(_0x3ce39e)return _0x3ce39e[_0x21d635(0x373)](_0xbf115f);}['_removeRoom'](_0x64fc4d){const _0x5d07fa=_0x16631f,_0x323b3c=this[_0x5d07fa(0x331)][_0x5d07fa(0x241)](_0x64fc4d);_0x323b3c&&(_0x323b3c[_0x5d07fa(0x4a7)](),this[_0x5d07fa(0x331)][_0x5d07fa(0x2eb)](_0x64fc4d));}['dispose'](){const _0x5b75b5=_0x16631f;this[_0x5b75b5(0x331)][_0x5b75b5(0x236)](_0x38b483=>_0x38b483[_0x5b75b5(0x4a7)]()),this['_roomMembers'][_0x5b75b5(0x4b6)]();}},_0x2728bd[_0x16631f(0x584)]=_0x522c3c([_0xc2f820(0x0,_0x8a1a57[_0x16631f(0x1db)]),_0xc2f820(0x1,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57['UserManagerService']))],_0x2728bd[_0x16631f(0x584)]);class _0x23ee47 extends _0x8a1a57[_0x16631f(0x490)]{constructor(){const _0x296087=_0x16631f;super(...arguments),_0x2a606e(this,_0x296087(0x19d),new Map());}[_0x16631f(0x4a7)](){const _0x4d1d17=_0x16631f;this[_0x4d1d17(0x19d)][_0x4d1d17(0x4b6)]();}[_0x16631f(0x3e4)](_0x3f4d44){const _0x20b32e=_0x16631f;this[_0x20b32e(0x19d)][_0x20b32e(0x41f)](_0x3f4d44[_0x20b32e(0x244)],_0x3f4d44);}[_0x16631f(0x50f)](_0x3254e4){const _0x39571e=_0x16631f;this[_0x39571e(0x19d)]['delete'](_0x3254e4);}[_0x16631f(0x373)](_0x3ad73e){const _0x47946a=_0x16631f;return this[_0x47946a(0x19d)][_0x47946a(0x241)](_0x3ad73e);}[_0x16631f(0x1e4)](){const _0x3c714d=_0x16631f;return Array[_0x3c714d(0x1cf)](this[_0x3c714d(0x19d)]['values']());}}var _0x41cb9d=Object['defineProperty'],_0x5ad160=Object[_0x16631f(0x57e)],_0x53c022=(_0x47e6a1,_0x5e983e,_0x33f30b,_0x77d64a)=>{for(var _0x506584=_0x77d64a>0x1?void 0x0:_0x77d64a?_0x5ad160(_0x5e983e,_0x33f30b):_0x5e983e,_0x6cdcc6=_0x47e6a1['length']-0x1,_0xe8b0f5;_0x6cdcc6>=0x0;_0x6cdcc6--)(_0xe8b0f5=_0x47e6a1[_0x6cdcc6])&&(_0x506584=(_0x77d64a?_0xe8b0f5(_0x5e983e,_0x33f30b,_0x506584):_0xe8b0f5(_0x506584))||_0x506584);return _0x77d64a&&_0x506584&&_0x41cb9d(_0x5e983e,_0x33f30b,_0x506584),_0x506584;},_0x1ec151=(_0x34c632,_0x514db9)=>(_0x220293,_0x5bf8e2)=>_0x514db9(_0x220293,_0x5bf8e2,_0x34c632),_0x53eb3f=(_0x67ba81=>(_0x67ba81[_0x67ba81[_0x16631f(0x461)]=0x0]='IDLE',_0x67ba81[_0x67ba81['JOINING']=0x1]=_0x16631f(0x157),_0x67ba81[_0x67ba81[_0x16631f(0x106)]=0x2]=_0x16631f(0x106),_0x67ba81[_0x67ba81[_0x16631f(0x173)]=0x3]='ONLINE',_0x67ba81))(_0x53eb3f||{});_0x2728bd['CollaborationSession']=class extends _0x8a1a57[_0x16631f(0x228)]{constructor(_0x158c69,_0x4602b3,_0x20ac43,_0x336023,_0x46dcfa,_0x36ff5e,_0x5a21a2,_0x4b00fd,_0x8cde2f,_0x58cba4){const _0x740a4f=_0x16631f;super(),_0x2a606e(this,_0x740a4f(0x476),new _0x933215[(_0x740a4f(0x1fd))](0x0)),_0x2a606e(this,'sessionStatus$',this['_sessionStatus$'][_0x740a4f(0x525)]()),_0x2a606e(this,'_event$',new _0x933215[(_0x740a4f(0x31e))]()),_0x2a606e(this,_0x740a4f(0x197),this[_0x740a4f(0x3ed)][_0x740a4f(0x525)]()),_0x2a606e(this,_0x740a4f(0x40c)),_0x2a606e(this,_0x740a4f(0x34b)),_0x2a606e(this,_0x740a4f(0x149)),_0x2a606e(this,'_shouldReportTelemetry',!0x1),_0x2a606e(this,_0x740a4f(0x47c),null),(this[_0x740a4f(0x5ac)]=_0x158c69,this[_0x740a4f(0x515)]=_0x20ac43,this['_beforeCloseService']=_0x336023,this[_0x740a4f(0x38b)]=_0x46dcfa,this[_0x740a4f(0x31f)]=_0x36ff5e,this[_0x740a4f(0x4f0)]=_0x5a21a2,this['_memberService']=_0x4b00fd,this[_0x740a4f(0x380)]=_0x8cde2f,this['_telemetryService']=_0x58cba4,this[_0x740a4f(0x375)]=!!this[_0x740a4f(0x3b6)],_0x4602b3[_0x740a4f(0x4be)](_0x933215[_0x740a4f(0x3d9)](this[_0x740a4f(0x42d)]))[_0x740a4f(0x42c)](_0x3de438=>{const _0xb2f192=_0x740a4f;var _0x1dd9a7;typeof _0x3de438>'u'||(this[_0xb2f192(0x40c)]=_0x3de438,_0x3de438?(this[_0xb2f192(0x508)](_0x3de438),this['_socketMessageSubscription']=_0x3de438[_0xb2f192(0x560)]['subscribe'](_0x276a69=>{const _0x526b60=_0xb2f192;_0x276a69[_0x526b60(0x48d)]===this[_0x526b60(0x5ac)]&&this[_0x526b60(0x527)](_0x276a69);})):(this[_0xb2f192(0x10d)](),this[_0xb2f192(0x476)][_0xb2f192(0x1dd)](0x2),(_0x1dd9a7=this[_0xb2f192(0x34b)])==null||_0x1dd9a7[_0xb2f192(0x42a)](),this[_0xb2f192(0x34b)]=null));}),this[_0x740a4f(0x14a)](this[_0x740a4f(0x20c)][_0x740a4f(0x2ab)](()=>{const _0x3e031d=_0x740a4f;var _0x4414a5;(_0x4414a5=this[_0x3e031d(0x40c)])==null||_0x4414a5['send']({'cmd':_0x4421b5[_0x3e031d(0x2fc)],'data':{'roomID':this[_0x3e031d(0x5ac)]}});})));}get[_0x16631f(0x226)](){const _0x3f4ee4=_0x16631f;return this[_0x3f4ee4(0x476)][_0x3f4ee4(0x2f3)]();}[_0x16631f(0x291)](){const _0x396df9=_0x16631f;var _0x257765,_0x42cb47;return(_0x42cb47=(_0x257765=this['_socket'])==null?void 0x0:_0x257765[_0x396df9(0x244)])!=null?_0x42cb47:null;}[_0x16631f(0x4a7)](){const _0x4b7e3a=_0x16631f;super[_0x4b7e3a(0x4a7)](),this['dispose$'][_0x4b7e3a(0x1dd)](),this['dispose$'][_0x4b7e3a(0x495)]();}[_0x16631f(0x1a4)](){const _0x50eb97=_0x16631f;var _0x3a3dfa,_0x59e8de;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3a3dfa=this['_socket'])==null||_0x3a3dfa[_0x50eb97(0x2ba)]({'cmd':_0x4421b5[_0x50eb97(0x2fc)],'data':{'roomID':this['_unitID']}}),(_0x59e8de=this[_0x50eb97(0x40c)])==null||_0x59e8de[_0x50eb97(0x1a4)](),this[_0x50eb97(0x3ed)][_0x50eb97(0x495)](),this['_sessionStatus$'][_0x50eb97(0x495)](),this[_0x50eb97(0x4a7)]();}[_0x16631f(0x527)](_0x3f2c55){const _0x491aad=_0x16631f;_0x3f2c55[_0x491aad(0x595)]===_0x4421b5['JOIN']?this[_0x491aad(0x458)](_0x3f2c55):_0x3f2c55[_0x491aad(0x595)]===_0x4421b5[_0x491aad(0x46c)]&&this[_0x491aad(0x14f)](_0x3f2c55);}[_0x16631f(0x508)](_0x2ae19c){const _0x497c20=_0x16631f;this[_0x497c20(0x476)][_0x497c20(0x1dd)](0x1),_0x2ae19c['send']({'cmd':_0x4421b5[_0x497c20(0x414)],'routeKey':this[_0x497c20(0x5ac)],'routeType':'','data':{'rooms':[{'roomID':this[_0x497c20(0x5ac)]}]}});}[_0x16631f(0x458)](_0x1edaa1){const _0xf6bfdb=_0x16631f;var _0xc0ec94;if(_0x1edaa1[_0xf6bfdb(0x196)]===_0x2737e6[_0xf6bfdb(0x113)]){this[_0xf6bfdb(0x38b)][_0xf6bfdb(0x354)]({'type':_0x731a74[_0xf6bfdb(0x2a9)][_0xf6bfdb(0x53b)],'content':this[_0xf6bfdb(0x4f0)]['t']('session.room-full')}),this[_0xf6bfdb(0x476)][_0xf6bfdb(0x1dd)](0x2);return;}this[_0xf6bfdb(0x476)]['next'](0x3);const _0x20c807=(_0xc0ec94=_0x1edaa1[_0xf6bfdb(0x140)][_0xf6bfdb(0x3b2)][this[_0xf6bfdb(0x5ac)]])==null?void 0x0:_0xc0ec94['members'];_0x20c807&&_0x20c807[_0xf6bfdb(0x236)](_0x15ba1b=>this['_memberService'][_0xf6bfdb(0x3e4)](this['_unitID'],_0x15ba1b));}['_onRecvEvent'](_0x315aee){const _0x3abc75=_0x16631f;try{const _0x50af67=_0x315aee['data'];switch(_0x50af67['eventID']){case _0x27cfd8[_0x3abc75(0x3e5)][_0x3abc75(0x1e0)]:this[_0x3abc75(0x1f1)](_0x50af67),this[_0x3abc75(0x3ed)]['next'](_0x50af67);break;case _0x27cfd8[_0x3abc75(0x3e5)][_0x3abc75(0x214)]:this[_0x3abc75(0x195)](_0x50af67),this[_0x3abc75(0x3ed)][_0x3abc75(0x1dd)](_0x50af67);break;case _0x27cfd8[_0x3abc75(0x3e5)][_0x3abc75(0x289)]:case _0x27cfd8[_0x3abc75(0x3e5)][_0x3abc75(0x105)]:this[_0x3abc75(0x538)](),this[_0x3abc75(0x57a)](),this[_0x3abc75(0x3ed)][_0x3abc75(0x1dd)](_0x50af67);break;case _0x27cfd8[_0x3abc75(0x3e5)][_0x3abc75(0x2dc)]:this['_logService'][_0x3abc75(0x1df)](_0x3abc75(0x378)+JSON['stringify'](_0x50af67)),this[_0x3abc75(0x3ed)][_0x3abc75(0x1dd)](_0x50af67);break;case _0x27cfd8['CollaborationEvent'][_0x3abc75(0x29c)]:this[_0x3abc75(0x380)][_0x3abc75(0x485)](_0x50af67[_0x3abc75(0x140)]),this['_event$'][_0x3abc75(0x1dd)](_0x50af67);break;default:this['_event$'][_0x3abc75(0x1dd)](_0x50af67);}}catch(_0xaa093a){this[_0x3abc75(0x515)][_0x3abc75(0x1df)](_0xaa093a,_0x315aee);}}[_0x16631f(0x1f1)](_0x2fe59e){const _0x38e1c6=_0x16631f;this['_memberService']['updateMember'](this[_0x38e1c6(0x5ac)],_0x2fe59e[_0x38e1c6(0x140)]);}['_onUserLeave'](_0x297483){const _0x4fff40=_0x16631f;this[_0x4fff40(0x154)][_0x4fff40(0x50f)](this[_0x4fff40(0x5ac)],_0x297483[_0x4fff40(0x140)][_0x4fff40(0x244)]);}async[_0x16631f(0x2ba)](_0x537555,_0x38f606){const _0x46586b=_0x16631f;if(this[_0x46586b(0x226)]!==0x3||!this[_0x46586b(0x40c)])throw new Error(_0x46586b(0x37c));try{_0x537555[_0x46586b(0x3dd)]===_0x27cfd8[_0x46586b(0x3e5)][_0x46586b(0x310)]&&(this[_0x46586b(0x33d)](),this[_0x46586b(0x4ac)](_0x537555)),this[_0x46586b(0x40c)][_0x46586b(0x2ba)]({'cmd':_0x4421b5[_0x46586b(0x2f0)],'routeKey':_0x38f606,'routeType':'','data':_0x537555});}catch(_0x5259e5){this[_0x46586b(0x515)]['error'](_0x5259e5);}}[_0x16631f(0x33d)](){const _0x33b47d=_0x16631f;var _0x321ecb;this[_0x33b47d(0x149)]=window[_0x33b47d(0x50b)](()=>{const _0x2b92b2=_0x33b47d;this[_0x2b92b2(0x149)]=null,this['_messageService'][_0x2b92b2(0x354)]({'type':_0x731a74['MessageType'][_0x2b92b2(0x5b1)],'content':this[_0x2b92b2(0x4f0)]['t'](_0x2b92b2(0x43d))});},(_0x321ecb=this['_configService']['getConfig'](_0x24c7e0))!=null?_0x321ecb:0x4e20);}['_clearCollaborationTimeoutTimer'](){const _0xf12932=_0x16631f;this[_0xf12932(0x149)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0xf12932(0x149)]=null);}[_0x16631f(0x4ac)](_0x141ddb){const _0x1c328f=_0x16631f;if(!this[_0x1c328f(0x375)])return;const {data:_0x36981b}=_0x141ddb,{unitID:_0x1a484d,changeset:_0x407c98}=_0x36981b,{mutations:_0x5b02ea,type:_0x22c468}=_0x407c98;this['_telemetryInfo']={'unitId':_0x1a484d,'type':_0x22c468,'startTime':performance[_0x1c328f(0x410)](),'stopTime':0x0,'duration':0x0,'size':_0x47bcb8(_0x5b02ea)};}[_0x16631f(0x538)](){const _0x34bb9a=_0x16631f;if(this[_0x34bb9a(0x375)]){if(!this['_telemetryInfo']){this[_0x34bb9a(0x515)]['error'](_0x34bb9a(0x298),_0x34bb9a(0x155));return;}this['_telemetryInfo'][_0x34bb9a(0x17b)]=performance[_0x34bb9a(0x410)](),this[_0x34bb9a(0x47c)][_0x34bb9a(0x276)]=this[_0x34bb9a(0x47c)]['stopTime']-this[_0x34bb9a(0x47c)][_0x34bb9a(0x37b)],this[_0x34bb9a(0x3b6)][_0x34bb9a(0x1c3)](_0x191ac8,this[_0x34bb9a(0x47c)]),this[_0x34bb9a(0x47c)]=null;}}[_0x16631f(0x10d)](){const _0x3c000a=_0x16631f;this[_0x3c000a(0x47c)]=null;}},_0x2728bd[_0x16631f(0x4c9)]=_0x53c022([_0x1ec151(0x2,_0x8a1a57[_0x16631f(0xfc)]),_0x1ec151(0x3,_0x4b60ff[_0x16631f(0x4c4)]),_0x1ec151(0x4,_0x4b60ff[_0x16631f(0x136)]),_0x1ec151(0x5,_0x8a1a57['IConfigService']),_0x1ec151(0x6,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x1f4)])),_0x1ec151(0x7,_0x8a1a57[_0x16631f(0x537)](_0x2728bd[_0x16631f(0x584)])),_0x1ec151(0x8,_0x8a1a57[_0x16631f(0x537)](_0xe71ff7)),_0x1ec151(0x9,_0x8a1a57[_0x16631f(0x1c1)](_0x2d346b['ITelemetryService']))],_0x2728bd[_0x16631f(0x4c9)]);var _0x4a420b=Object['defineProperty'],_0x13c799=Object[_0x16631f(0x57e)],_0x379a6c=(_0x4a6cac,_0x21f822,_0x518ce1,_0x5d80fd)=>{const _0x8f8d80=_0x16631f;for(var _0x1e9d20=_0x5d80fd>0x1?void 0x0:_0x5d80fd?_0x13c799(_0x21f822,_0x518ce1):_0x21f822,_0xa8840b=_0x4a6cac[_0x8f8d80(0x272)]-0x1,_0x1d7d47;_0xa8840b>=0x0;_0xa8840b--)(_0x1d7d47=_0x4a6cac[_0xa8840b])&&(_0x1e9d20=(_0x5d80fd?_0x1d7d47(_0x21f822,_0x518ce1,_0x1e9d20):_0x1d7d47(_0x1e9d20))||_0x1e9d20);return _0x5d80fd&&_0x1e9d20&&_0x4a420b(_0x21f822,_0x518ce1,_0x1e9d20),_0x1e9d20;},_0x142a48=(_0xa25bf0,_0x16950f)=>(_0x5dd1f0,_0x2f2753)=>_0x16950f(_0x5dd1f0,_0x2f2753,_0xa25bf0);_0x2728bd[_0x16631f(0x37f)]=class extends _0x8a1a57[_0x16631f(0x490)]{constructor(_0xa6e7af,_0x18ce71,_0x7b659,_0x17661f,_0x305ba0,_0x552de8){const _0xfb2e9f=_0x16631f;super(),_0x2a606e(this,'_socket$',new _0x933215[(_0xfb2e9f(0x1fd))](void 0x0)),_0x2a606e(this,_0xfb2e9f(0x523),this[_0xfb2e9f(0x576)]['asObservable']()),_0x2a606e(this,'_candidateSocket',null),_0x2a606e(this,_0xfb2e9f(0x2e9),new Map()),_0x2a606e(this,_0xfb2e9f(0x1d0),new _0x933215[(_0xfb2e9f(0x1fd))](_0x53eb3f[_0xfb2e9f(0x461)])),_0x2a606e(this,_0xfb2e9f(0x48f),this['_status$'][_0xfb2e9f(0x525)]()),_0x2a606e(this,_0xfb2e9f(0x175),!0x1),_0x2a606e(this,_0xfb2e9f(0x1b0)),_0x2a606e(this,_0xfb2e9f(0x2b0),0x0),_0x2a606e(this,_0xfb2e9f(0x1b6)),_0x2a606e(this,_0xfb2e9f(0x37a)),(this[_0xfb2e9f(0x264)]=_0xa6e7af,this['_localeService']=_0x18ce71,this[_0xfb2e9f(0x38b)]=_0x7b659,this[_0xfb2e9f(0x515)]=_0x17661f,this[_0xfb2e9f(0x31f)]=_0x305ba0,this[_0xfb2e9f(0x4e2)]=_0x552de8,this[_0xfb2e9f(0x202)]());}get[_0x16631f(0x40c)](){return this['_socket$']['getValue']();}['_initEventListeners'](){const _0x1cb638=_0x16631f;this['_listenToOfflineEvent'](),this[_0x1cb638(0x462)]();}[_0x16631f(0x4a7)](){const _0x3e5de2=_0x16631f;super[_0x3e5de2(0x4a7)](),this['_sessions'][_0x3e5de2(0x236)](_0x414c97=>_0x414c97[_0x3e5de2(0x4a7)]()),this[_0x3e5de2(0x2e9)]['clear'](),this['_status$'][_0x3e5de2(0x495)]();}async['requireSession'](_0x469ff6){const _0x40868e=_0x16631f;if(this[_0x40868e(0x2e9)][_0x40868e(0x295)](_0x469ff6))return this['_sessions'][_0x40868e(0x241)](_0x469ff6);this[_0x40868e(0x439)]();const _0x55af45=this['_injector']['createInstance'](_0x2728bd[_0x40868e(0x4c9)],_0x469ff6,this[_0x40868e(0x576)][_0x40868e(0x525)]());return this[_0x40868e(0x2e9)][_0x40868e(0x41f)](_0x469ff6,_0x55af45),_0x55af45;}[_0x16631f(0x46d)](_0x488644){const _0x4c0d15=_0x16631f;var _0xcfe850;const _0x28f101=this[_0x4c0d15(0x2e9)][_0x4c0d15(0x241)](_0x488644);_0x28f101&&(this['_sessions'][_0x4c0d15(0x2eb)](_0x488644),_0x28f101[_0x4c0d15(0x1a4)]()),this[_0x4c0d15(0x2e9)][_0x4c0d15(0x3f3)]||(_0xcfe850=this['_socket'])==null||_0xcfe850[_0x4c0d15(0x1a4)]();}[_0x16631f(0x1cc)](){const _0x2d63fd=_0x16631f;this[_0x2d63fd(0x2b0)]=0x0,this[_0x2d63fd(0x1b0)]!=null&&(clearTimeout(this[_0x2d63fd(0x1b0)]),this[_0x2d63fd(0x1b0)]=null),this['_tryReconnect']();}[_0x16631f(0x2a5)](){const _0x1024b5=_0x16631f;var _0x6cad9,_0x5271cc;const _0x276866=this[_0x1024b5(0x31f)]['getConfig'](_0xa043d2),_0x3a359b=this[_0x1024b5(0x31f)][_0x1024b5(0xfd)](_0x132856),_0x5186fe=(_0x5271cc=(_0x6cad9=_0x3a359b==null?void 0x0:_0x3a359b[_0x1024b5(0x15c)])!=null?_0x6cad9:_0x276866)!=null?_0x5271cc:_0x2e90bf,_0x311887=this[_0x1024b5(0x4e2)]['createSocket'](_0x5186fe);return this[_0x1024b5(0x1c5)]=_0x311887,_0x311887;}[_0x16631f(0x439)](){const _0xa5c4eb=_0x16631f;var _0x2b288f,_0x5012bc;try{const _0x38bdf2=(_0x5012bc=(_0x2b288f=this[_0xa5c4eb(0x40c)])!=null?_0x2b288f:this[_0xa5c4eb(0x1c5)])!=null?_0x5012bc:this[_0xa5c4eb(0x2a5)]();if(_0x38bdf2){const _0x255253=_0x38bdf2['send'];_0x38bdf2[_0xa5c4eb(0x2ba)]=_0x13f9c0=>(this[_0xa5c4eb(0x3d2)](),_0x255253['apply'](_0x38bdf2,[_0x13f9c0])),_0x38bdf2[_0xa5c4eb(0x560)][_0xa5c4eb(0x42c)](_0xc7fac2=>this[_0xa5c4eb(0x3cf)](_0x38bdf2,_0xc7fac2)),_0x38bdf2['error$'][_0xa5c4eb(0x4be)](_0x478e49[_0xa5c4eb(0x4a3)](0x1))[_0xa5c4eb(0x42c)](_0x576b71=>this[_0xa5c4eb(0x515)][_0xa5c4eb(0x1df)](_0xa5c4eb(0x27d),_0x576b71)),_0x38bdf2['open$'][_0xa5c4eb(0x4be)](_0x478e49['take'](0x1))['subscribe'](()=>{const _0x45293f=_0xa5c4eb;this[_0x45293f(0x3f0)](_0x38bdf2);}),_0x38bdf2[_0xa5c4eb(0x1d9)][_0xa5c4eb(0x4be)](_0x478e49[_0xa5c4eb(0x4a3)](0x1))[_0xa5c4eb(0x42c)](_0x5aed1c=>{const _0x4a528a=_0xa5c4eb;this[_0x4a528a(0x515)][_0x4a528a(0x22a)]('[CollaborationSessionService]',_0x4a528a(0x24a),_0x5aed1c),this[_0x4a528a(0x135)]();});}}catch(_0x1b07c0){this[_0xa5c4eb(0x515)][_0xa5c4eb(0x1df)](_0x1b07c0),this[_0xa5c4eb(0x135)]();}}[_0x16631f(0x3f0)](_0x227999){const _0x34dcef=_0x16631f;this[_0x34dcef(0x515)][_0x34dcef(0x22a)](_0x34dcef(0x363),'socket\x20open.'),_0x227999['send']({'cmd':_0x4421b5[_0x34dcef(0x5a6)]}),this[_0x34dcef(0x3d2)]();}['_listenToOfflineEvent'](){const _0x38f1e5=_0x16631f;window[_0x38f1e5(0x100)](_0x38f1e5(0x21f),()=>this[_0x38f1e5(0x4d5)]());}['_onOffline'](){const _0x1ecae9=_0x16631f;this['_socketReady']=!0x1,this[_0x1ecae9(0x1c5)]=null,this[_0x1ecae9(0x1d0)][_0x1ecae9(0x1dd)](_0x53eb3f[_0x1ecae9(0x106)]),this[_0x1ecae9(0x576)][_0x1ecae9(0x1dd)](null),this[_0x1ecae9(0x111)](),this['_clearHeartbeatTimer']();}[_0x16631f(0x135)](){const _0xdf0e70=_0x16631f;var _0x2f8559;this['_onOffline'](),this[_0xdf0e70(0x2b0)]<((_0x2f8559=this[_0xdf0e70(0x31f)][_0xdf0e70(0xfd)](_0x3f4302))!=null?_0x2f8559:0x3)?(this[_0xdf0e70(0x38b)][_0xdf0e70(0x354)]({'key':'collaboration-session-retry','type':_0x731a74[_0xdf0e70(0x2a9)][_0xdf0e70(0x53b)],'content':this[_0xdf0e70(0x4f0)]['t'](_0xdf0e70(0x227))}),this[_0xdf0e70(0x446)]()):this['_messageService'][_0xdf0e70(0x354)]({'key':'collaboration-session-retry','type':_0x731a74['MessageType']['Error'],'content':this[_0xdf0e70(0x4f0)]['t'](_0xdf0e70(0x3a9))});}[_0x16631f(0x462)](){const _0x238014=_0x16631f,_0x3fde18=()=>{const _0x1cc42a=_0x586f;this[_0x1cc42a(0x40c)]||this[_0x1cc42a(0x1cc)]();},_0x1e3d24=()=>{const _0x45913b=_0x586f;this[_0x45913b(0x40c)]||document[_0x45913b(0x407)]===_0x45913b(0x2bd)||this[_0x45913b(0x1cc)]();};window[_0x238014(0x100)](_0x238014(0xf3),_0x3fde18),document[_0x238014(0x100)](_0x238014(0x44b),_0x1e3d24);}[_0x16631f(0x446)](){const _0x4cceba=_0x16631f;var _0x4d65cf;const _0x1c3079=this['_retryCount'],_0x4a1c68=this['_configService'][_0x4cceba(0xfd)](_0x132856),_0x392e7d=_0x1c3079===0x0?0x0:((_0x4d65cf=_0x4a1c68==null?void 0x0:_0x4a1c68[_0x4cceba(0x3c4)])!=null?_0x4d65cf:0x4e20)*0x2**_0x1c3079;this['_retryConnectingTimer']=window[_0x4cceba(0x50b)](()=>{const _0x188acd=_0x4cceba;clearTimeout(this['_retryConnectingTimer']),this[_0x188acd(0x1b0)]=null,this[_0x188acd(0x439)]();},_0x392e7d),this[_0x4cceba(0x2b0)]+=0x1;}[_0x16631f(0x3cf)](_0x3447c2,_0x394356){const _0xbe2876=_0x16631f,{cmd:_0x5a091e}=_0x394356;_0x5a091e===_0x4421b5[_0xbe2876(0x5a6)]&&!this[_0xbe2876(0x175)]&&(_0x3447c2[_0xbe2876(0x244)]=_0x394356[_0xbe2876(0x140)][_0xbe2876(0x244)],this[_0xbe2876(0x576)]['next'](_0x3447c2),this['_status$'][_0xbe2876(0x1dd)](_0x53eb3f[_0xbe2876(0x173)]),this[_0xbe2876(0x175)]=!0x0,this['_candidateSocket']=null),_0x5a091e===_0x4421b5[_0xbe2876(0x541)]&&this[_0xbe2876(0x111)](),this[_0xbe2876(0x3d2)]();}['_rescheduleHeartbeat'](){const _0x182f6e=_0x16631f;var _0x2bb6d1;this[_0x182f6e(0x55d)](),this['_sendHeartbeatTimer']=window[_0x182f6e(0x50b)](()=>this[_0x182f6e(0x51d)](),(_0x2bb6d1=this[_0x182f6e(0x31f)][_0x182f6e(0xfd)](_0x5308f2))!=null?_0x2bb6d1:0x7530);}['_sendHeartbeat'](){const _0x43ec99=_0x16631f;this[_0x43ec99(0x40c)][_0x43ec99(0x2ba)]({'cmd':_0x4421b5[_0x43ec99(0x541)]}),this[_0x43ec99(0x442)]();}['_waitForHeartbeatResponse'](){const _0x5ab157=_0x16631f;var _0x51cd86;this['_timeoutTimer']=window[_0x5ab157(0x50b)](()=>this[_0x5ab157(0x135)](),(_0x51cd86=this[_0x5ab157(0x31f)][_0x5ab157(0xfd)](_0x24c7e0))!=null?_0x51cd86:0x4e20);}['_clearHeartbeatTimer'](){const _0x47e0cd=_0x16631f;this[_0x47e0cd(0x1b6)]!=null&&(clearTimeout(this[_0x47e0cd(0x1b6)]),this[_0x47e0cd(0x1b6)]=null);}[_0x16631f(0x111)](){const _0x23dd82=_0x16631f;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x23dd82(0x37a)]),this[_0x23dd82(0x37a)]=null);}},_0x2728bd[_0x16631f(0x37f)]=_0x379a6c([_0x142a48(0x0,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0x142a48(0x1,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x1f4)])),_0x142a48(0x2,_0x4b60ff[_0x16631f(0x136)]),_0x142a48(0x3,_0x8a1a57[_0x16631f(0xfc)]),_0x142a48(0x4,_0x8a1a57[_0x16631f(0x4f9)]),_0x142a48(0x5,_0x55ce8e)],_0x2728bd[_0x16631f(0x37f)]);const _0x25095a=[];for(let _0x361971=0x0;_0x361971<0x100;++_0x361971)_0x25095a['push']((_0x361971+0x100)[_0x16631f(0x3a4)](0x10)['slice'](0x1));function _0x4d5a6d(_0x5df828,_0x339c01=0x0){return(_0x25095a[_0x5df828[_0x339c01+0x0]]+_0x25095a[_0x5df828[_0x339c01+0x1]]+_0x25095a[_0x5df828[_0x339c01+0x2]]+_0x25095a[_0x5df828[_0x339c01+0x3]]+'-'+_0x25095a[_0x5df828[_0x339c01+0x4]]+_0x25095a[_0x5df828[_0x339c01+0x5]]+'-'+_0x25095a[_0x5df828[_0x339c01+0x6]]+_0x25095a[_0x5df828[_0x339c01+0x7]]+'-'+_0x25095a[_0x5df828[_0x339c01+0x8]]+_0x25095a[_0x5df828[_0x339c01+0x9]]+'-'+_0x25095a[_0x5df828[_0x339c01+0xa]]+_0x25095a[_0x5df828[_0x339c01+0xb]]+_0x25095a[_0x5df828[_0x339c01+0xc]]+_0x25095a[_0x5df828[_0x339c01+0xd]]+_0x25095a[_0x5df828[_0x339c01+0xe]]+_0x25095a[_0x5df828[_0x339c01+0xf]])['toLowerCase']();}let _0x157452;const _0x561594=new Uint8Array(0x10);function _0x3062dd(){const _0x211538=_0x16631f;if(!_0x157452){if(typeof crypto>'u'||!crypto[_0x211538(0x235)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');_0x157452=crypto[_0x211538(0x235)][_0x211538(0x1c6)](crypto);}return _0x157452(_0x561594);}const _0x41f130={'randomUUID':typeof crypto<'u'&&crypto[_0x16631f(0x2d2)]&&crypto[_0x16631f(0x2d2)]['bind'](crypto)};function _0x384178(_0x3e01d2,_0x1fc22c,_0x45cb80){const _0x12c2c8=_0x16631f;if(_0x41f130[_0x12c2c8(0x2d2)]&&!_0x1fc22c&&!_0x3e01d2)return _0x41f130[_0x12c2c8(0x2d2)]();_0x3e01d2=_0x3e01d2||{};const _0x53a584=_0x3e01d2[_0x12c2c8(0x2bf)]||(_0x3e01d2[_0x12c2c8(0x1bb)]||_0x3062dd)();return _0x53a584[0x6]=_0x53a584[0x6]&0xf|0x40,_0x53a584[0x8]=_0x53a584[0x8]&0x3f|0x80,_0x4d5a6d(_0x53a584);}var _0x3caa41=Object[_0x16631f(0x162)],_0x1329fe=Object[_0x16631f(0x57e)],_0x49dd23=(_0x498a70,_0x5b5d2b,_0x2663a5,_0x111e7a)=>{const _0x593ea1=_0x16631f;for(var _0x5cbeda=_0x111e7a>0x1?void 0x0:_0x111e7a?_0x1329fe(_0x5b5d2b,_0x2663a5):_0x5b5d2b,_0x11ae82=_0x498a70[_0x593ea1(0x272)]-0x1,_0x316570;_0x11ae82>=0x0;_0x11ae82--)(_0x316570=_0x498a70[_0x11ae82])&&(_0x5cbeda=(_0x111e7a?_0x316570(_0x5b5d2b,_0x2663a5,_0x5cbeda):_0x316570(_0x5cbeda))||_0x5cbeda);return _0x111e7a&&_0x5cbeda&&_0x3caa41(_0x5b5d2b,_0x2663a5,_0x5cbeda),_0x5cbeda;},_0xbc714d=(_0x4c1977,_0x3f3e39)=>(_0x20aa32,_0x53df81)=>_0x3f3e39(_0x20aa32,_0x53df81,_0x4c1977);let _0xe93339=class{constructor(_0x37b384,_0x3aacae,_0x4db5fe){const _0x22a738=_0x16631f;this[_0x22a738(0x264)]=_0x37b384,this[_0x22a738(0x549)]=_0x3aacae,this['_renderManagerService']=_0x4db5fe;}[_0x16631f(0x561)](_0xcf3781){const _0xaec5b8=_0x16631f;this[_0xaec5b8(0x55b)](_0xcf3781),this['_transformPreviousActiveRange'](_0xcf3781);}[_0x16631f(0x246)](_0x13ab9a){const _0x60bea1=_0x16631f,{unitID:_0x2c03cf}=_0x13ab9a,_0x2ae9f2=this[_0x60bea1(0x103)]['getRenderById'](_0x2c03cf)[_0x60bea1(0x3c2)](_0x473dea[_0x60bea1(0x596)]),{redoCache:_0x3eea26}=_0x2ae9f2['getUndoRedoMutationParamsCache']();if(_0x3eea26[_0x60bea1(0x272)]===0x0)return _0x13ab9a;let _0x170f22=_0x8a1a57[_0x60bea1(0x435)]['deepClone'](_0x13ab9a[_0x60bea1(0x1ce)][0x0]);for(let _0x4113bf=0x0;_0x4113bf<_0x3eea26[_0x60bea1(0x272)];_0x4113bf++){const _0x33ff6f={'id':_0x60bea1(0x1f7),'params':{..._0x3eea26[_0x4113bf]}},_0x2a0934=this[_0x60bea1(0x549)][_0x60bea1(0x56a)](_0x170f22,_0x33ff6f,!0x1);if(_0x27cfd8[_0x60bea1(0x220)](_0x2a0934))throw _0x2a0934[_0x60bea1(0x1df)];_0x170f22=_0x2a0934[_0x60bea1(0x360)];}return{..._0x8a1a57[_0x60bea1(0x435)][_0x60bea1(0x591)](_0x13ab9a),'mutations':[_0x170f22]};}[_0x16631f(0x55b)](_0x5b191c){const _0x17ddf4=_0x16631f,{unitID:_0x12ecd8}=_0x5b191c,_0x2fb15d=this[_0x17ddf4(0x103)][_0x17ddf4(0x530)](_0x12ecd8)['with'](_0x473dea['DocIMEInputManagerService']),{undoCache:_0x595be9,redoCache:_0xb689f9}=_0x2fb15d[_0x17ddf4(0x294)]();if(_0x595be9['length']===0x0||_0xb689f9['length']===0x0)return;const _0x57de5c=[],_0x50d126=[];let _0x12eb9b=_0x8a1a57[_0x17ddf4(0x435)][_0x17ddf4(0x591)](_0x5b191c[_0x17ddf4(0x1ce)][0x0]),_0x214cd5=_0x8a1a57[_0x17ddf4(0x435)][_0x17ddf4(0x591)](_0x5b191c[_0x17ddf4(0x1ce)][0x0]);for(let _0x3b039b=_0x595be9[_0x17ddf4(0x272)]-0x1;_0x3b039b>=0x0;_0x3b039b--){const _0x13d7b5={'id':_0x17ddf4(0x1f7),'params':{..._0x595be9[_0x3b039b]}},_0x3f230a={'id':_0x17ddf4(0x1f7),'params':{..._0xb689f9[_0x3b039b]}},_0xd15d4e=this[_0x17ddf4(0x549)][_0x17ddf4(0x56a)](_0x12eb9b,_0x13d7b5,!0x1),_0x56eb43=this[_0x17ddf4(0x549)][_0x17ddf4(0x56a)](_0x214cd5,_0x3f230a,!0x1);if(_0x27cfd8[_0x17ddf4(0x220)](_0xd15d4e))throw _0xd15d4e[_0x17ddf4(0x1df)];if(_0x27cfd8[_0x17ddf4(0x220)](_0x56eb43))throw _0x56eb43[_0x17ddf4(0x1df)];_0x57de5c[_0x17ddf4(0x1d7)](_0xd15d4e['m2Prime'][_0x17ddf4(0x238)]),_0x50d126[_0x17ddf4(0x1d7)](_0x56eb43[_0x17ddf4(0x43e)][_0x17ddf4(0x238)]),_0x12eb9b=_0xd15d4e[_0x17ddf4(0x360)],_0x214cd5=_0x56eb43[_0x17ddf4(0x360)];}_0x2fb15d[_0x17ddf4(0x30e)]({'undoCache':_0x57de5c,'redoCache':_0x50d126});}[_0x16631f(0x205)](_0x4885fa){const _0x5b6a2c=_0x16631f,{unitID:_0x334703}=_0x4885fa,_0x1a587=this[_0x5b6a2c(0x103)][_0x5b6a2c(0x530)](_0x334703)[_0x5b6a2c(0x3c2)](_0x473dea[_0x5b6a2c(0x596)]),_0x16e160=_0x1a587[_0x5b6a2c(0x2e0)]();if(_0x16e160==null)return;const _0x21a268=[{'id':_0x5b6a2c(0x1f7),'params':{'unitId':_0x4885fa[_0x5b6a2c(0x477)],'actions':null,'textRanges':[_0x16e160]}}],_0x441b52=this[_0x5b6a2c(0x549)]['transformMutationsWithChangeset'](_0x4885fa,_0x21a268);if(!_0x27cfd8[_0x5b6a2c(0x2f8)](_0x441b52))throw _0x441b52[_0x5b6a2c(0x1df)];const _0x263bac=_0x441b52[_0x5b6a2c(0x43e)][0x0][_0x5b6a2c(0x238)]['textRanges'];Array['isArray'](_0x263bac)&&_0x263bac[_0x5b6a2c(0x272)]&&_0x1a587[_0x5b6a2c(0x514)](_0x263bac[0x0]);}};_0xe93339=_0x49dd23([_0xbc714d(0x0,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0xbc714d(0x1,_0x27cfd8[_0x16631f(0x1bd)]),_0xbc714d(0x2,_0x20e8c2[_0x16631f(0x3bb)])],_0xe93339);var _0x7df84=Object[_0x16631f(0x162)],_0x66002b=Object[_0x16631f(0x57e)],_0x54f330=(_0x21a0a0,_0x28aca9,_0x381e0a,_0x2c13d2)=>{const _0xee374d=_0x16631f;for(var _0x20a07d=_0x2c13d2>0x1?void 0x0:_0x2c13d2?_0x66002b(_0x28aca9,_0x381e0a):_0x28aca9,_0x10ab09=_0x21a0a0[_0xee374d(0x272)]-0x1,_0x2e16ea;_0x10ab09>=0x0;_0x10ab09--)(_0x2e16ea=_0x21a0a0[_0x10ab09])&&(_0x20a07d=(_0x2c13d2?_0x2e16ea(_0x28aca9,_0x381e0a,_0x20a07d):_0x2e16ea(_0x20a07d))||_0x20a07d);return _0x2c13d2&&_0x20a07d&&_0x7df84(_0x28aca9,_0x381e0a,_0x20a07d),_0x20a07d;},_0x132835=(_0x4a0075,_0x3e1f6e)=>(_0x5c7645,_0x545309)=>_0x3e1f6e(_0x5c7645,_0x545309,_0x4a0075);_0x2728bd[_0x16631f(0x2a1)]=class extends _0x8a1a57[_0x16631f(0x490)]{constructor(_0x549bf1,_0xcb135b,_0x9e433c,_0xf06632,_0x59cc03){const _0x236a6a=_0x16631f;super(),_0x2a606e(this,'_cachedData',new Map()),_0x2a606e(this,_0x236a6a(0x3cc),new Map()),_0x2a606e(this,_0x236a6a(0x385),!0x1),(this[_0x236a6a(0x31f)]=_0x549bf1,this[_0x236a6a(0x2d3)]=_0xcb135b,this[_0x236a6a(0x20c)]=_0x9e433c,this[_0x236a6a(0x4f0)]=_0xf06632,this[_0x236a6a(0x110)]=_0x59cc03,this[_0x236a6a(0x4d4)]());}[_0x16631f(0x42f)](){const _0x4d79ec=_0x16631f;this[_0x4d79ec(0x385)]=!0x0;}['enableLocalCache'](){const _0x2cd15c=_0x16631f;this[_0x2cd15c(0x385)]=!0x1;}['dispose'](){const _0x246bd8=_0x16631f;this[_0x246bd8(0x324)]()[_0x246bd8(0x566)](()=>super['dispose']());}async['loadOfflineData'](_0x453f3d){const _0x37147e=_0x16631f;return this[_0x37147e(0x385)]?null:this[_0x37147e(0x2d3)][_0x37147e(0x569)](_0x37287b(_0x453f3d));}async[_0x16631f(0x459)](_0x2044b6,_0x54a83a){return!!this['_localStorageService']['setItem'](_0x2044b6,_0x54a83a);}[_0x16631f(0x17f)](_0x4ca546,_0x453aa6,_0x312366,_0xd18109){const _0x2b19dd=_0x16631f,_0x5aee=this['_revisionService'][_0x2b19dd(0x531)](_0x4ca546);this[_0x2b19dd(0x2fa)][_0x2b19dd(0x41f)](_0x4ca546,{'unitID':_0x4ca546,'type':_0x453aa6,'awaitingChangeset':_0x312366,'mutations':_0xd18109,'rev':_0x5aee}),this[_0x2b19dd(0x3cc)]['has'](_0x4ca546)||this[_0x2b19dd(0x114)](_0x4ca546);}[_0x16631f(0x114)](_0x2c73fc){const _0x540358=_0x16631f,_0x4af64e=this['_getSaveTimeout']();_0x4af64e===0x0?this['_saveCache'](_0x2c73fc):this[_0x540358(0x3cc)][_0x540358(0x41f)](_0x2c73fc,setTimeout(()=>this['_saveCache'](_0x2c73fc),_0x4af64e));}[_0x16631f(0x221)](){var _0x34b8a1;return(_0x34b8a1=this['_configService']['getConfig'](_0x3c4516))!=null?_0x34b8a1:0x3e8;}[_0x16631f(0x3d6)](_0xbafabb){const _0x1a342a=_0x16631f,_0x29dfbe=this[_0x1a342a(0x3cc)][_0x1a342a(0x241)](_0xbafabb);return _0x29dfbe!==void 0x0&&window['clearTimeout'](_0x29dfbe),this[_0x1a342a(0x2d3)][_0x1a342a(0x3fc)](_0x37287b(_0xbafabb),this[_0x1a342a(0x2fa)][_0x1a342a(0x241)](_0xbafabb))['then'](()=>this['_saveTaskMap']['delete'](_0xbafabb));}async[_0x16631f(0x324)](){const _0x1ae99d=_0x16631f,_0x55a5f8=[];this[_0x1ae99d(0x3cc)][_0x1ae99d(0x236)]((_0xcb1092,_0x18e639)=>{const _0xdbe03=_0x1ae99d;window[_0xdbe03(0x544)](_0xcb1092),_0x55a5f8[_0xdbe03(0x203)](this[_0xdbe03(0x3d6)](_0x18e639)[_0xdbe03(0x566)](()=>{const _0x46c69a=_0xdbe03;this[_0x46c69a(0x3cc)][_0x46c69a(0x2eb)](_0x18e639);}));}),await Promise[_0x1ae99d(0x166)](_0x55a5f8);}[_0x16631f(0x4d4)](){const _0x12a68f=_0x16631f;this[_0x12a68f(0x14a)](this['_beforeCloseService'][_0x12a68f(0x307)](()=>{const _0x567bd5=_0x12a68f;if(this[_0x567bd5(0x3cc)]['size'])return this[_0x567bd5(0x4f0)]['t']('collaboration-client.offline-data-not-saved');}));}},_0x2728bd[_0x16631f(0x2a1)]=_0x54f330([_0x132835(0x0,_0x8a1a57[_0x16631f(0x4f9)]),_0x132835(0x1,_0x8a1a57[_0x16631f(0x1da)]),_0x132835(0x2,_0x4b60ff[_0x16631f(0x4c4)]),_0x132835(0x3,_0x8a1a57['Inject'](_0x8a1a57[_0x16631f(0x1f4)])),_0x132835(0x4,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8[_0x16631f(0x53c)]))],_0x2728bd['LocalCacheService']);function _0x37287b(_0x2d37a4){const _0x1831a8=_0x16631f;return _0x1831a8(0x2de)+_0x2d37a4;}var _0x269e96=Object[_0x16631f(0x162)],_0x155e0a=Object[_0x16631f(0x57e)],_0x29b5fa=(_0x406bcf,_0x353f7b,_0x4ff935,_0x1106e2)=>{const _0x5da535=_0x16631f;for(var _0xdc5751=_0x1106e2>0x1?void 0x0:_0x1106e2?_0x155e0a(_0x353f7b,_0x4ff935):_0x353f7b,_0x16d26f=_0x406bcf[_0x5da535(0x272)]-0x1,_0xb5cfd4;_0x16d26f>=0x0;_0x16d26f--)(_0xb5cfd4=_0x406bcf[_0x16d26f])&&(_0xdc5751=(_0x1106e2?_0xb5cfd4(_0x353f7b,_0x4ff935,_0xdc5751):_0xb5cfd4(_0xdc5751))||_0xdc5751);return _0x1106e2&&_0xdc5751&&_0x269e96(_0x353f7b,_0x4ff935,_0xdc5751),_0xdc5751;},_0x149573=(_0x4923e3,_0x1d4b22)=>(_0x1dd7ce,_0x2589e5)=>_0x1d4b22(_0x1dd7ce,_0x2589e5,_0x4923e3);function _0x38b597(_0x3db30d){const _0xbce428=_0x16631f,{unitID:_0x1ac6ba,mutations:_0x293238}=_0x3db30d;return{'unitId':_0x1ac6ba,'subUnitId':_0x293238[0x0][_0xbce428(0x238)][_0xbce428(0x4b1)]};}let _0x1a79c5=class{constructor(_0x47515f,_0x34d703,_0x11bfb7){const _0x121c6f=_0x16631f;this[_0x121c6f(0x264)]=_0x47515f,this[_0x121c6f(0x549)]=_0x34d703,this[_0x121c6f(0x139)]=_0x11bfb7;}[_0x16631f(0x4c2)](_0x1b1c43){const _0x1fc6cb=_0x16631f;var _0x53fe9b,_0x5c33ac,_0x7b94a2,_0x8fece;const _0x108ecc=this[_0x1fc6cb(0x264)][_0x1fc6cb(0x241)](_0x46f63a[_0x1fc6cb(0x1ff)]),{unitId:_0x4f3ea1,subUnitId:_0x37b9ad}=_0x38b597(_0x1b1c43),_0x55123e=_0x108ecc[_0x1fc6cb(0x44f)](_0x4f3ea1)[_0x1fc6cb(0x2b2)](),_0x3ae9d8=(_0x5c33ac=(_0x53fe9b=this[_0x1fc6cb(0x139)][_0x1fc6cb(0x2cd)](_0x4f3ea1))==null?void 0x0:_0x53fe9b[_0x1fc6cb(0x23a)]())==null?void 0x0:_0x5c33ac[_0x1fc6cb(0x3fb)]();if(_0x55123e[_0x1fc6cb(0x272)]===0x0||!_0x4f3ea1||!_0x37b9ad)return;const _0xd2e867=[{'id':_0x46f63a[_0x1fc6cb(0x51a)]['id'],'params':{'unitId':_0x4f3ea1,'subUnitId':_0x3ae9d8,'selections':_0x8a1a57[_0x1fc6cb(0x435)][_0x1fc6cb(0x591)](_0x55123e)}}],_0x46a326=this['_transformService'][_0x1fc6cb(0x1b3)](_0x1b1c43,_0xd2e867);if(!_0x27cfd8[_0x1fc6cb(0x2f8)](_0x46a326))throw _0x46a326[_0x1fc6cb(0x1df)];const _0x11f59e=(_0x8fece=(_0x7b94a2=_0x46a326[_0x1fc6cb(0x43e)][0x0])==null?void 0x0:_0x7b94a2['params'])==null?void 0x0:_0x8fece[_0x1fc6cb(0x3f7)];if(Array[_0x1fc6cb(0x2e1)](_0x11f59e)&&_0x11f59e[_0x1fc6cb(0x272)]){if(_0x11f59e[_0x1fc6cb(0x272)]===_0xd2e867[0x0][_0x1fc6cb(0x238)]['selections'][_0x1fc6cb(0x272)]&&_0x11f59e[_0x1fc6cb(0x50d)]((_0x4c2453,_0x39f7cc)=>_0x8a1a57['Rectangle']['equals'](_0x4c2453['range'],_0xd2e867[0x0][_0x1fc6cb(0x238)][_0x1fc6cb(0x3f7)][_0x39f7cc]['range'])))return;this[_0x1fc6cb(0x264)][_0x1fc6cb(0x241)](_0x8a1a57['ICommandService'])[_0x1fc6cb(0x564)](_0x46f63a[_0x1fc6cb(0x51a)]['id'],{'unitId':_0x4f3ea1,'subUnitId':_0x3ae9d8,'selections':_0x11f59e});}}};_0x1a79c5=_0x29b5fa([_0x149573(0x0,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0x149573(0x1,_0x27cfd8['ITransformService']),_0x149573(0x2,_0x8a1a57['IUniverInstanceService'])],_0x1a79c5);const _0x50fb0f=_0x8a1a57['createIdentifier'](_0x16631f(0x39e));var _0x25ae3c=(_0x4e69f6=>(_0x4e69f6[_0x4e69f6[_0x16631f(0x2fb)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x4e69f6[_0x4e69f6[_0x16631f(0x268)]=0x1]=_0x16631f(0x268),_0x4e69f6))(_0x25ae3c||{});const _0x2aacb6=0x7530,_0x496d62=_0x16631f(0x24c);class _0x4874df extends _0x8a1a57['Disposable']{constructor(){const _0xf1487a=_0x16631f;super(),_0x2a606e(this,'_id',_0x8a1a57[_0xf1487a(0x435)][_0xf1487a(0x293)]()),_0x2a606e(this,_0xf1487a(0x40e),new Set()),_0x2a606e(this,_0xf1487a(0xf7),new Map()),_0x2a606e(this,_0xf1487a(0x36d),null),_0x2a606e(this,'_clearOtherTimers',new Map()),_0x2a606e(this,_0xf1487a(0x1bf),new Map()),this[_0xf1487a(0x36a)]();}[_0x16631f(0x4a7)](){const _0xc457a7=_0x16631f;super['dispose'](),this['_clearOtherTimers'][_0xc457a7(0x236)]((_0x6525a9,_0x4875d8)=>this['_removeClearOtherTimer'](_0x4875d8)),this[_0xc457a7(0x36d)]&&window[_0xc457a7(0x41d)](this['_heartbeatTimer']);}[_0x16631f(0x159)](_0x5d06a9){const _0x264a23=_0x16631f;return this[_0x264a23(0x4ca)](_0x5d06a9)['pipe'](_0x933215[_0x264a23(0x322)]());}[_0x16631f(0x174)](_0x5ecf01){const _0x4d29b5=_0x16631f;this['_selfUnitIDs'][_0x4d29b5(0x3f3)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x4d29b5(0x1cb)](_0x5ecf01),this['_send']({'type':0x0,'memberID':this[_0x4d29b5(0x557)],'unitIDs':[_0x5ecf01],'isForwarded':!0x1});}['disposeUnit'](_0x206ed9){const _0x178d5c=_0x16631f;this[_0x178d5c(0x40e)][_0x178d5c(0x2eb)](_0x206ed9),this[_0x178d5c(0x40e)]['size']===0x0&&this[_0x178d5c(0x36d)]&&window[_0x178d5c(0x41d)](this[_0x178d5c(0x36d)]);}[_0x16631f(0x36a)](){const _0x2170eb=_0x16631f;this[_0x2170eb(0x14a)](_0x8a1a57['toDisposable'](_0x933215[_0x2170eb(0x362)](window,'storage')[_0x2170eb(0x42c)](_0x315299=>{const _0x3ccccf=_0x2170eb;if(_0x315299[_0x3ccccf(0x3a2)]!==_0x496d62||!_0x315299[_0x3ccccf(0xfa)])return;const _0x762cbe=JSON[_0x3ccccf(0x4c5)](_0x315299['newValue']);this[_0x3ccccf(0x332)](_0x762cbe);}))),window[_0x2170eb(0x100)]('unload',()=>this[_0x2170eb(0x1d6)]({'type':0x1,'memberID':this[_0x2170eb(0x557)],'unitIDs':Array[_0x2170eb(0x1cf)](this[_0x2170eb(0x40e)])}));}[_0x16631f(0x332)](_0x97e2e5){const _0x4a62f7=_0x16631f;switch(_0x97e2e5[_0x4a62f7(0x49b)]){case 0x0:this['_handleJoinEvent'](_0x97e2e5);break;case 0x1:this[_0x4a62f7(0x2c7)](_0x97e2e5);break;case 0x2:this[_0x4a62f7(0x47d)](_0x97e2e5);break;}}['_handleJoinEvent'](_0x3535e8){const _0x5070da=_0x16631f,{unitIDs:_0x51205b,memberID:_0x3cc1d5,isForwarded:_0x570444}=_0x3535e8;_0x51205b[_0x5070da(0x236)](_0x16b8fa=>{const _0x57ec56=_0x5070da;if(!_0x570444&&this[_0x57ec56(0xf7)]['has'](_0x16b8fa)&&this['_ensureSubject'](_0x16b8fa)[_0x57ec56(0x1dd)](0x1),!this['_unitOnClients']['has'](_0x16b8fa)||!this[_0x57ec56(0xf7)][_0x57ec56(0x241)](_0x16b8fa)['has'](_0x3cc1d5)){const _0x4a10bd=this[_0x57ec56(0xf7)][_0x57ec56(0x241)](_0x16b8fa)||new Set();_0x4a10bd[_0x57ec56(0x1cb)](_0x3cc1d5),this[_0x57ec56(0xf7)][_0x57ec56(0x41f)](_0x16b8fa,_0x4a10bd),this['_scheduleClearOtherTimer'](_0x3cc1d5);}}),_0x570444||this[_0x5070da(0x1d6)]({'type':0x0,'memberID':this[_0x5070da(0x557)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x16631f(0x26a)](_0x42624f){const _0x1062f0=_0x16631f;this['_removeClearOtherTimer'](_0x42624f);const _0x112652=window[_0x1062f0(0x50b)](()=>{const _0x23f39d=_0x1062f0;this[_0x23f39d(0xf7)][_0x23f39d(0x236)](_0x3ceb35=>{const _0x3d088d=_0x23f39d;_0x3ceb35[_0x3d088d(0x2eb)](_0x42624f);});},_0x2aacb6*0x2);this[_0x1062f0(0x590)][_0x1062f0(0x41f)](_0x42624f,_0x112652);}[_0x16631f(0x32b)](_0xf1afbf){const _0x165877=_0x16631f;if(this[_0x165877(0x590)][_0x165877(0x295)](_0xf1afbf)){const _0x479d17=this[_0x165877(0x590)][_0x165877(0x241)](_0xf1afbf);_0x479d17&&window['clearTimeout'](_0x479d17),this[_0x165877(0x590)][_0x165877(0x41f)](_0xf1afbf,null);}}[_0x16631f(0x2c7)](_0x394855){const _0x2a1f0f=_0x16631f,{memberID:_0x28ac19,unitIDs:_0x448b35}=_0x394855;_0x448b35['forEach'](_0x2e6e1c=>{const _0x43e73b=_0x586f;var _0x114f98;const _0x436dce=this[_0x43e73b(0xf7)]['get'](_0x2e6e1c);_0x436dce&&(_0x436dce[_0x43e73b(0x2eb)](_0x28ac19),(_0x114f98=this['_ensureSubject'](_0x2e6e1c))==null||_0x114f98[_0x43e73b(0x1dd)](_0x436dce['size']===0x0?0x0:0x1));}),this[_0x2a1f0f(0x32b)](_0x28ac19);}['_handleHeartbeatEvent'](_0x27146d){const _0x2de306=_0x16631f;this[_0x2de306(0x26a)](_0x27146d[_0x2de306(0x244)]);}['_send'](_0x5ecd85){const _0x492e25=_0x16631f;localStorage[_0x492e25(0x3fc)](_0x496d62,JSON[_0x492e25(0x338)](_0x5ecd85));}[_0x16631f(0x215)](){const _0x4cc87c=_0x16631f;this[_0x4cc87c(0x36d)]=window[_0x4cc87c(0x216)](()=>{const _0x69b5d2=_0x4cc87c;this[_0x69b5d2(0x1d6)]({'type':0x2,'memberID':this[_0x69b5d2(0x557)]});},_0x2aacb6);}[_0x16631f(0x4ca)](_0x416c91){const _0x5ddff4=_0x16631f;return this[_0x5ddff4(0x1bf)][_0x5ddff4(0x295)](_0x416c91)||this[_0x5ddff4(0x1bf)][_0x5ddff4(0x41f)](_0x416c91,new _0x933215[(_0x5ddff4(0x1fd))](0x0)),this[_0x5ddff4(0x1bf)]['get'](_0x416c91);}}var _0x225482=Object[_0x16631f(0x162)],_0x12ba65=Object['getOwnPropertyDescriptor'],_0x29a0ae=(_0x426c0d,_0x96e5a9,_0x3ea010,_0x62f863)=>{const _0x51d4a6=_0x16631f;for(var _0x34ff5c=_0x62f863>0x1?void 0x0:_0x62f863?_0x12ba65(_0x96e5a9,_0x3ea010):_0x96e5a9,_0x1e6663=_0x426c0d[_0x51d4a6(0x272)]-0x1,_0x32fed1;_0x1e6663>=0x0;_0x1e6663--)(_0x32fed1=_0x426c0d[_0x1e6663])&&(_0x34ff5c=(_0x62f863?_0x32fed1(_0x96e5a9,_0x3ea010,_0x34ff5c):_0x32fed1(_0x34ff5c))||_0x34ff5c);return _0x62f863&&_0x34ff5c&&_0x225482(_0x96e5a9,_0x3ea010,_0x34ff5c),_0x34ff5c;},_0x394f1a=(_0xf39daa,_0x4360a5)=>(_0x208058,_0x264aab)=>_0x4360a5(_0x208058,_0x264aab,_0xf39daa);let _0x21b12b=class{constructor(_0x3733a2,_0x52fe89,_0x4456da){const _0x39ec99=_0x16631f;this[_0x39ec99(0x264)]=_0x3733a2,this['_transformService']=_0x52fe89,this[_0x39ec99(0x305)]=_0x4456da;}['transformStateCache'](_0x3813bf){const _0xd18ce=_0x16631f;this[_0xd18ce(0x371)](_0x3813bf);}[_0x16631f(0x246)](_0x250fc2){const _0x318527=_0x16631f,{unitID:_0x3f703b}=_0x250fc2,{collaboration:_0x18eec7}=this['_docStateChangeManagerService'][_0x318527(0x321)](_0x3f703b);if(_0x18eec7[_0x318527(0x272)]===0x0)return _0x250fc2;let _0x24c97e=_0x8a1a57[_0x318527(0x435)][_0x318527(0x591)](_0x250fc2[_0x318527(0x1ce)][0x0]);for(let _0x338c20=0x0;_0x338c20<_0x18eec7[_0x318527(0x272)];_0x338c20++){const _0x2678cf={'id':_0x318527(0x1f7),'params':{'unitId':_0x18eec7[_0x338c20][_0x318527(0x151)],..._0x18eec7[_0x338c20][_0x318527(0x301)]}},_0x451de4=this[_0x318527(0x549)]['transformMutation'](_0x24c97e,_0x2678cf,!0x1);if(_0x27cfd8[_0x318527(0x220)](_0x451de4))throw _0x451de4['error'];_0x24c97e=_0x451de4['m1Prime'];}return{..._0x8a1a57[_0x318527(0x435)][_0x318527(0x591)](_0x250fc2),'mutations':[_0x24c97e]};}[_0x16631f(0x371)](_0x539461){const _0x386359=_0x16631f,{unitID:_0xcd85bc}=_0x539461,{history:_0x155a18,collaboration:_0x4c2222}=this['_docStateChangeManagerService'][_0x386359(0x321)](_0xcd85bc);if(_0x155a18[_0x386359(0x272)]===0x0&&_0x4c2222[_0x386359(0x272)]===0x0)return;const _0x171a72=[],_0x5a4f02=[];let _0x6ebd42=_0x8a1a57[_0x386359(0x435)][_0x386359(0x591)](_0x539461[_0x386359(0x1ce)][0x0]),_0x3893e3=_0x8a1a57[_0x386359(0x435)][_0x386359(0x591)](_0x539461[_0x386359(0x1ce)][0x0]);for(let _0x332399=_0x155a18[_0x386359(0x272)]-0x1;_0x332399>=0x0;_0x332399--){const _0x317c37={'id':_0x386359(0x1f7),'params':{'unitId':_0x155a18[_0x332399][_0x386359(0x151)],..._0x155a18[_0x332399][_0x386359(0x141)]}},_0x383a47={'id':_0x386359(0x1f7),'params':{'unitId':_0x155a18[_0x332399][_0x386359(0x151)],..._0x155a18[_0x332399][_0x386359(0x301)]}},_0x3ec20d=this[_0x386359(0x549)]['transformMutation'](_0x6ebd42,_0x317c37,!0x1),_0x46e383=this[_0x386359(0x549)]['transformMutation'](_0x3893e3,_0x383a47,!0x1);if(_0x27cfd8[_0x386359(0x220)](_0x3ec20d))throw _0x3ec20d['error'];if(_0x27cfd8[_0x386359(0x220)](_0x46e383))throw _0x46e383[_0x386359(0x1df)];_0x171a72['unshift']({..._0x155a18[_0x332399],'undoState':_0x3ec20d['m2Prime']['params'],'redoState':_0x46e383[_0x386359(0x43e)][_0x386359(0x238)]}),_0x6ebd42=_0x3ec20d[_0x386359(0x360)],_0x3893e3=_0x46e383[_0x386359(0x360)];}_0x6ebd42=_0x8a1a57[_0x386359(0x435)][_0x386359(0x591)](_0x539461[_0x386359(0x1ce)][0x0]),_0x3893e3=_0x8a1a57[_0x386359(0x435)][_0x386359(0x591)](_0x539461[_0x386359(0x1ce)][0x0]);for(let _0xfe6220=_0x4c2222['length']-0x1;_0xfe6220>=0x0;_0xfe6220--){const _0x3aeb0a={'id':_0x386359(0x1f7),'params':{'unitId':_0x4c2222[_0xfe6220][_0x386359(0x151)],..._0x4c2222[_0xfe6220]['undoState']}},_0x3e1b5e={'id':_0x386359(0x1f7),'params':{'unitId':_0x4c2222[_0xfe6220][_0x386359(0x151)],..._0x4c2222[_0xfe6220][_0x386359(0x301)]}},_0x10e561=this[_0x386359(0x549)][_0x386359(0x56a)](_0x6ebd42,_0x3aeb0a,!0x1),_0x4c62d2=this[_0x386359(0x549)][_0x386359(0x56a)](_0x3893e3,_0x3e1b5e,!0x1);if(_0x27cfd8['isTransformMutationFailure'](_0x10e561))throw _0x10e561['error'];if(_0x27cfd8[_0x386359(0x220)](_0x4c62d2))throw _0x4c62d2[_0x386359(0x1df)];_0x5a4f02[_0x386359(0x1d7)]({..._0x4c2222[_0xfe6220],'undoState':_0x10e561['m2Prime'][_0x386359(0x238)],'redoState':_0x4c62d2[_0x386359(0x43e)][_0x386359(0x238)]}),_0x6ebd42=_0x10e561[_0x386359(0x360)],_0x3893e3=_0x4c62d2[_0x386359(0x360)];}this['_docStateChangeManagerService'][_0x386359(0x11d)](_0xcd85bc,{'history':_0x171a72,'collaboration':_0x5a4f02});}};_0x21b12b=_0x29a0ae([_0x394f1a(0x0,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57['Injector'])),_0x394f1a(0x1,_0x27cfd8['ITransformService']),_0x394f1a(0x2,_0x8a1a57[_0x16631f(0x537)](_0x473dea[_0x16631f(0x425)]))],_0x21b12b);function _0x35203a(_0xc0b538){const _0x3a5c6f=_0x16631f;let _0x524475='';for(const _0x5c9f17 of _0xc0b538){const {startOffset:_0x43d52d,endOffset:_0x29b907,isActive:_0x43ea32,rangeType:_0x350f68,segmentId:_0x49ca6d,segmentPage:_0x452c0d}=_0x5c9f17;_0x524475[_0x3a5c6f(0x272)]&&(_0x524475+=','),_0x524475+=_0x43d52d+':'+_0x29b907+':'+(_0x43ea32?'1':'0')+':'+_0x350f68+':'+_0x49ca6d+':'+_0x452c0d;}return _0x524475;}function _0x40a456(_0x2a1293){const _0x443c68=_0x16631f,_0x2dc8f9=_0x2a1293[_0x443c68(0x29a)](','),_0x347509=[];for(const _0x29e425 of _0x2dc8f9){const [_0x5cd7ea,_0x2904af,_0x158c73,_0x393649,_0x55bff3,_0x5f201b]=_0x29e425[_0x443c68(0x29a)](':');_0x347509[_0x443c68(0x203)]({'startOffset':Number(_0x5cd7ea),'endOffset':Number(_0x2904af),'collapsed':_0x5cd7ea===_0x2904af,'isActive':_0x158c73==='1','rangeType':_0x393649===_0x8a1a57['DOC_RANGE_TYPE'][_0x443c68(0x365)]?_0x8a1a57['DOC_RANGE_TYPE'][_0x443c68(0x365)]:_0x8a1a57['DOC_RANGE_TYPE'][_0x443c68(0x30c)],'segmentId':typeof _0x55bff3=='string'?String(_0x55bff3):'','segmentPage':Number(_0x5f201b!=null?_0x5f201b:-0x1)});}return _0x347509[_0x443c68(0x4f8)](_0x2fed5a=>_0x2fed5a['isActive'])||(_0x347509[0x0][_0x443c68(0x3dc)]=!0x0),_0x347509;}class _0xc8790a extends _0x8a1a57[_0x16631f(0x228)]{constructor(){const _0x27de8d=_0x16631f;super(...arguments),_0x2a606e(this,_0x27de8d(0x5a7),new _0x933215[(_0x27de8d(0x1fd))](null)),_0x2a606e(this,_0x27de8d(0x22f),this[_0x27de8d(0x5a7)]['asObservable']());}[_0x16631f(0x534)](_0x4ce328){const _0x163ed3=_0x16631f,{unitID:_0x43f95c,memberID:_0x4533b9,textRanges:_0x22da24}=_0x4ce328,_0x40159b=_0x35203a(_0x22da24);if(_0x40159b==='')return;const _0xac8c13={'unitID':_0x43f95c,'memberID':_0x4533b9,'selection':_0x40159b};this[_0x163ed3(0x5a7)]['next'](_0xac8c13);}}var _0xc96faf=Object['defineProperty'],_0x462715=Object[_0x16631f(0x57e)],_0x46ba26=(_0x2a7ce0,_0x1951a4,_0x52e3ec,_0x584dc4)=>{for(var _0x2f59b0=_0x584dc4>0x1?void 0x0:_0x584dc4?_0x462715(_0x1951a4,_0x52e3ec):_0x1951a4,_0xbc6a30=_0x2a7ce0['length']-0x1,_0x8c35bc;_0xbc6a30>=0x0;_0xbc6a30--)(_0x8c35bc=_0x2a7ce0[_0xbc6a30])&&(_0x2f59b0=(_0x584dc4?_0x8c35bc(_0x1951a4,_0x52e3ec,_0x2f59b0):_0x8c35bc(_0x2f59b0))||_0x2f59b0);return _0x584dc4&&_0x2f59b0&&_0xc96faf(_0x1951a4,_0x52e3ec,_0x2f59b0),_0x2f59b0;},_0x5b9340=(_0x5b641c,_0x2b2740)=>(_0x3a1bf3,_0xf1a4c1)=>_0x2b2740(_0x3a1bf3,_0xf1a4c1,_0x5b641c);let _0x3110cc=class{constructor(_0x1b975e,_0x1df503){this['_injector']=_0x1b975e,this['_transformService']=_0x1df503;}['transformSelections'](_0xd4c0cb){const _0x4f9019=_0x16631f;var _0x46bba4;const _0x5d74e5=this[_0x4f9019(0x264)][_0x4f9019(0x241)](_0x1d9e38[_0x4f9019(0x56e)]),_0x415597=(_0x46bba4=_0x5d74e5[_0x4f9019(0x494)]())!=null?_0x46bba4:[];if(_0x415597[_0x4f9019(0x272)]===0x0)return;const _0x3d88f2=_0xd4c0cb[_0x4f9019(0x477)],_0x37235e=[{'id':_0x4f9019(0x1f7),'params':{'unitId':_0x3d88f2,'actions':null,'textRanges':_0x415597}}],_0x1cd293=this[_0x4f9019(0x549)][_0x4f9019(0x1b3)](_0xd4c0cb,_0x37235e);if(!_0x27cfd8['isTransformMutationsWithChangesetSuccess'](_0x1cd293))throw _0x1cd293[_0x4f9019(0x1df)];const _0x28e1f0=_0x1cd293[_0x4f9019(0x43e)][0x0][_0x4f9019(0x238)][_0x4f9019(0x59e)];Array['isArray'](_0x28e1f0)&&_0x28e1f0[_0x4f9019(0x272)]&&_0x5d74e5[_0x4f9019(0x401)](_0x28e1f0,{'unitId':_0x3d88f2,'subUnitId':_0x3d88f2},!0x1);}};_0x3110cc=_0x46ba26([_0x5b9340(0x0,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0x5b9340(0x1,_0x27cfd8[_0x16631f(0x1bd)])],_0x3110cc);const _0x512666=new Set([_0x46f63a[_0x16631f(0x551)]['id']]);function _0x3db108(_0x3eedab,_0x2d51dc,_0x11a247,_0x373b2f,_0x312392){const _0x2c2ece=_0x16631f;var _0x408448,_0x11edf6,_0x2cc1bb,_0x52d0ba;const _0x35ded9=[];for(const _0x436923 of _0x3eedab)if(_0x512666[_0x2c2ece(0x295)](_0x436923['id'])){if(_0x35ded9[_0x2c2ece(0x272)]>0x0)break;_0x35ded9[_0x2c2ece(0x203)](_0x436923);break;}else _0x35ded9[_0x2c2ece(0x203)](_0x436923);const _0x458301=(_0x11edf6=(_0x408448=_0x312392[_0x2c2ece(0x223)]())==null?void 0x0:_0x408448[_0x2c2ece(0x17d)])!=null?_0x11edf6:_0x2c2ece(0x297),_0x110bdf=(_0x52d0ba=(_0x2cc1bb=_0x312392[_0x2c2ece(0x223)]())==null?void 0x0:_0x2cc1bb[_0x2c2ece(0x244)])!=null?_0x52d0ba:'unknown';return{'changeset':{'unitID':_0x2d51dc,'type':_0x27cfd8[_0x2c2ece(0x2d7)](_0x11a247[_0x2c2ece(0x4cf)](_0x2d51dc)),'baseRev':_0x373b2f[_0x2c2ece(0x531)](_0x2d51dc),'revision':0x0,'userID':_0x458301,'memberID':_0x110bdf,'mutations':_0x35ded9},'pendingMutations':_0x3eedab[_0x2c2ece(0x38d)](_0x35ded9['length'])};}function _0x583b8f(_0x2435d2,_0x419870,_0x4d1197,_0x4be11e,_0x2abd0a){const _0x58824f=_0x16631f;var _0x1b6272,_0x577a1d,_0x2a55e8,_0x34d0e1;const _0x1620f2=[_0x2435d2['reduce']((_0x16251b,_0x21f287)=>{const _0x166dda=_0x586f;var _0x336701;const {id:_0x464bf2}=_0x16251b,{id:_0x25d33d,type:_0x168bd9}=_0x21f287,_0x5ba114=(_0x336701=_0x16251b[_0x166dda(0x238)])!=null?_0x336701:{'actions':null},_0xff854f=_0x21f287[_0x166dda(0x238)];if(_0x464bf2&&_0x464bf2!==_0x25d33d)throw new Error(_0x166dda(0x2bb)+_0x464bf2+_0x166dda(0x2b1)+_0x25d33d+'.');return{..._0x16251b,'id':_0x25d33d,'type':_0x168bd9,'params':{'unitId':_0xff854f[_0x166dda(0x151)],'textRanges':_0xff854f[_0x166dda(0x59e)],'actions':_0x8a1a57[_0x166dda(0x319)][_0x166dda(0x2f6)](_0x5ba114[_0x166dda(0x112)],_0xff854f[_0x166dda(0x112)])}};},{})],_0x207e73=(_0x577a1d=(_0x1b6272=_0x2abd0a[_0x58824f(0x223)]())==null?void 0x0:_0x1b6272['userID'])!=null?_0x577a1d:_0x58824f(0x297),_0x5dfb11=(_0x34d0e1=(_0x2a55e8=_0x2abd0a[_0x58824f(0x223)]())==null?void 0x0:_0x2a55e8[_0x58824f(0x244)])!=null?_0x34d0e1:_0x58824f(0x297);return{'changeset':{'unitID':_0x419870,'type':_0x27cfd8[_0x58824f(0x2d7)](_0x4d1197[_0x58824f(0x4cf)](_0x419870)),'baseRev':_0x4be11e[_0x58824f(0x531)](_0x419870),'revision':0x0,'userID':_0x207e73,'memberID':_0x5dfb11,'mutations':_0x1620f2},'pendingMutations':[]};}function _0x53ed26(_0x3e70ae,_0x511af6){const _0x4b0632=_0x16631f,_0x248063=new _0x933215[(_0x4b0632(0x441))](0x1);return setTimeout(()=>_0x248063[_0x4b0632(0x1dd)](_0x511af6),_0x3e70ae),_0x248063['asObservable']()[_0x4b0632(0x4be)](_0x933215[_0x4b0632(0x4a3)](0x1));}const _0x25922c={'id':_0x46f63a[_0x16631f(0x13d)]['id'],'type':_0x8a1a57[_0x16631f(0x39c)][_0x16631f(0x2a7)],'params':{}};var _0x242bfb=Object['defineProperty'],_0x4af605=Object['getOwnPropertyDescriptor'],_0x129d6d=(_0x2888e2,_0x1c2a35,_0xd738d7,_0x48c210)=>{for(var _0x3c180d=_0x48c210>0x1?void 0x0:_0x48c210?_0x4af605(_0x1c2a35,_0xd738d7):_0x1c2a35,_0xc03a26=_0x2888e2['length']-0x1,_0x23fcaf;_0xc03a26>=0x0;_0xc03a26--)(_0x23fcaf=_0x2888e2[_0xc03a26])&&(_0x3c180d=(_0x48c210?_0x23fcaf(_0x1c2a35,_0xd738d7,_0x3c180d):_0x23fcaf(_0x3c180d))||_0x3c180d);return _0x48c210&&_0x3c180d&&_0x242bfb(_0x1c2a35,_0xd738d7,_0x3c180d),_0x3c180d;},_0x39a9b3=(_0x1cbe05,_0x4378b9)=>(_0x4a0eef,_0x404174)=>_0x4378b9(_0x4a0eef,_0x404174,_0x1cbe05),_0x5d61dc=(_0xe39048=>(_0xe39048[_0x16631f(0x3f1)]='not_collab',_0xe39048[_0x16631f(0x48b)]=_0x16631f(0x361),_0xe39048[_0x16631f(0x487)]=_0x16631f(0x3a0),_0xe39048[_0x16631f(0x1f0)]=_0x16631f(0x489),_0xe39048[_0x16631f(0x5ae)]='awaiting_with_pending',_0xe39048[_0x16631f(0x3f4)]=_0x16631f(0x51f),_0xe39048[_0x16631f(0x3a3)]='conflict',_0xe39048[_0x16631f(0x106)]=_0x16631f(0x21f),_0xe39048))(_0x5d61dc||{});const _0x584d78=0xea60;class _0x2c451e{constructor(_0x920a10,_0x4c94da,_0x45faa5,_0x251b10,_0x234ade,_0x1479bd,_0x3fcb07,_0x971951,_0x730532){const _0x1abc39=_0x16631f;_0x2a606e(this,'_awaitingChangeset',null),_0x2a606e(this,_0x1abc39(0x460),[]),(this[_0x1abc39(0x477)]=_0x920a10,this[_0x1abc39(0x49b)]=_0x4c94da,this['_handler']=_0x234ade,this[_0x1abc39(0x475)]=_0x1479bd,this[_0x1abc39(0x313)]=_0x3fcb07,this['_revisionService']=_0x971951,this[_0x1abc39(0x48e)]=_0x730532,this['_awaitingChangeset']=_0x45faa5,this[_0x1abc39(0x460)]=_0x251b10);}['_checkMissing'](_0x748d4b){const _0x4cc004=_0x16631f,_0x1d322f=this['_revisionService'][_0x4cc004(0x531)](this[_0x4cc004(0x477)]);return _0x748d4b[_0x4cc004(0x5a1)]>_0x1d322f+0x1?(this['_handler']['onMissingChangesets']({'from':_0x1d322f,'to':_0x748d4b[_0x4cc004(0x5a1)]-0x1}),!0x0):!0x1;}[_0x16631f(0x16c)](_0x551e40){const _0x2fbddf=_0x16631f;this[_0x2fbddf(0x313)][_0x2fbddf(0x45d)](this[_0x2fbddf(0x477)],_0x551e40);}[_0x16631f(0x2c8)](_0x3ef039){const _0x14d8bc=_0x16631f;var _0x2c91ae,_0x9ef1d8;(_0x9ef1d8=(_0x2c91ae=this[_0x14d8bc(0x25d)])[_0x14d8bc(0x58f)])==null||_0x9ef1d8['call'](_0x2c91ae,_0x3ef039);}[_0x16631f(0x30d)](_0x1f554b){var _0x494226,_0x19d9ba;return(_0x19d9ba=(_0x494226=this['_handler'])['onTransformIME'])==null?void 0x0:_0x19d9ba['call'](_0x494226,_0x1f554b);}['_transformStateCache'](_0x423ed2){const _0x20d709=_0x16631f;var _0x45e0ef,_0x5d0102;return(_0x5d0102=(_0x45e0ef=this[_0x20d709(0x25d)])[_0x20d709(0x2e6)])==null?void 0x0:_0x5d0102[_0x20d709(0x3b4)](_0x45e0ef,_0x423ed2);}[_0x16631f(0x210)](_0x48aaae){const _0x2baa7f=_0x16631f;var _0x10a3d1,_0x201a51,_0x20690d;return(_0x20690d=(_0x201a51=(_0x10a3d1=this[_0x2baa7f(0x25d)])[_0x2baa7f(0x3f9)])==null?void 0x0:_0x201a51[_0x2baa7f(0x3b4)](_0x10a3d1,_0x48aaae))!=null?_0x20690d:_0x48aaae;}[_0x16631f(0x3e3)](_0x10e02e){const _0x50e03d=_0x16631f;var _0x251222,_0x4ee8cc,_0xa1884b;return(_0xa1884b=(_0x4ee8cc=(_0x251222=this['_handler'])[_0x50e03d(0x44d)])==null?void 0x0:_0x4ee8cc['call'](_0x251222,_0x10e02e))!=null?_0xa1884b:_0x10e02e;}[_0x16631f(0x47f)](_0x42e4e5){const _0x288d57=_0x16631f;var _0x499b7a,_0x2a6829;if(this[_0x288d57(0x49b)]===_0x4a6b81[_0x288d57(0x327)]){const {unitID:_0x45c57f,mutations:_0x4c0559,memberID:_0x303ec6}=_0x42e4e5,_0x1509a0=_0x4c0559[0x0][_0x288d57(0x238)]['textRanges'];Array['isArray'](_0x1509a0)&&_0x1509a0[_0x288d57(0x272)]>0x0&&((_0x2a6829=(_0x499b7a=this[_0x288d57(0x25d)])[_0x288d57(0x1f5)])==null||_0x2a6829[_0x288d57(0x3b4)](_0x499b7a,{'unitID':_0x45c57f,'memberID':_0x303ec6,'textRanges':_0x1509a0}));}}[_0x16631f(0x1a2)](){const _0x4de7c3=_0x16631f;this['_localCacheService']['updateOfflineData'](this[_0x4de7c3(0x477)],this['type'],this[_0x4de7c3(0x41c)],this['_pendingMutations']);}[_0x16631f(0x189)](){const _0x957b5e=_0x16631f;return this[_0x957b5e(0x110)]['getCurrentRevOfUnit'](this[_0x957b5e(0x477)]);}[_0x16631f(0x265)](){const _0x41db97=_0x16631f;this['_revisionService'][_0x41db97(0x398)](this['unitID']);}['_executeRemoteChangeset'](_0x4736cd){const _0x214a8b=_0x16631f;var _0xbb8ed9;let _0x5f36bc=this[_0x214a8b(0x210)](_0x4736cd);_0x5f36bc=this['_transformRemoteChangesetByStateCache'](_0x5f36bc);const _0x35a11d=_0x8a1a57[_0x214a8b(0x582)](_0x5f36bc[_0x214a8b(0x1ce)],this[_0x214a8b(0x475)],{'fromCollab':!0x0});if(!_0x35a11d[_0x214a8b(0x36b)])throw _0x35a11d[_0x214a8b(0x1df)]instanceof Error?_0x35a11d[_0x214a8b(0x1df)]:new Error((_0xbb8ed9=_0x35a11d[_0x214a8b(0x1df)])!=null?_0xbb8ed9:_0x214a8b(0x404));this[_0x214a8b(0x30d)](_0x5f36bc),this[_0x214a8b(0x129)](_0x5f36bc),this['_transformUndoredo'](_0x4736cd),this[_0x214a8b(0x2c8)](_0x5f36bc),this['_syncEditingCollabCursor'](_0x5f36bc),this['_incrementRevisionNumber']();}}let _0x3bff71=class extends _0x2c451e{constructor(_0x5ebe11,_0x2918ea,_0x509906,_0x5337be,_0x3b97ab,_0xf0b76d,_0x15beb7,_0x512141,_0x36533c,_0x9fd36){const _0x9d2789=_0x16631f;super(_0x5ebe11,_0x2918ea,null,[],_0x509906,_0x512141,_0x15beb7,_0x5337be,_0x3b97ab),_0x2a606e(this,_0x9d2789(0x536),_0x9d2789(0x361)),(this[_0x9d2789(0x264)]=_0xf0b76d,this['_logService']=_0x36533c,this[_0x9d2789(0x549)]=_0x9fd36);}[_0x16631f(0x337)](_0x3aad4b){const _0x281c44=_0x16631f,_0x313a55=this['_injector'][_0x281c44(0x28c)](_0x47565d,this[_0x281c44(0x477)],this[_0x281c44(0x49b)],[_0x3aad4b],this[_0x281c44(0x25d)]);return _0x313a55[_0x281c44(0x586)](),_0x313a55[_0x281c44(0x1a2)](),_0x313a55;}['onRemoteChangeset'](_0x488044){const _0x312c4e=_0x16631f;if(this['_checkMissing'](_0x488044))return this[_0x312c4e(0x264)][_0x312c4e(0x28c)](_0x1dc8e0,this[_0x312c4e(0x477)],this['type'],null,[],null,[_0x488044],this['_handler']);try{const _0x4f356f=this['_transformService'][_0x312c4e(0x1b3)](_0x488044,[_0x25922c]);if(_0x27cfd8[_0x312c4e(0x2f8)](_0x4f356f)){const {c1Prime:_0x23e411}=_0x4f356f;return this[_0x312c4e(0x4e7)](_0x23e411),this;}throw _0x4f356f[_0x312c4e(0x1df)];}catch(_0x42bdfc){return this[_0x312c4e(0x515)][_0x312c4e(0x1df)](_0x42bdfc),this['_onConflict'](!0x1);}}['_onConflict'](_0x217404){const _0x28c5ef=_0x16631f;return this[_0x28c5ef(0x264)][_0x28c5ef(0x28c)](_0x4bd0b3,this[_0x28c5ef(0x477)],this[_0x28c5ef(0x49b)],null,[],this[_0x28c5ef(0x25d)],_0x217404);}[_0x16631f(0x4b8)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x47630c=_0x16631f;throw new Error(_0x47630c(0x1a5));}[_0x16631f(0x2f1)](){return this;}[_0x16631f(0xf8)](){const _0x2a6475=_0x16631f;return this[_0x2a6475(0x264)][_0x2a6475(0x28c)](_0x3055ba,this[_0x2a6475(0x477)],this[_0x2a6475(0x49b)],null,[],this['_handler']);}['toggleOnline'](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x16631f(0x377)](){const _0x4bd467=_0x16631f,_0x205da9=this['_revisionService'][_0x4bd467(0x531)](this[_0x4bd467(0x477)]);return this['_handler']['onMissingChangesets']({'from':_0x205da9,'to':0x0}),this['_injector']['createInstance'](_0x1dc8e0,this[_0x4bd467(0x477)],this[_0x4bd467(0x49b)],null,[],null,[],this[_0x4bd467(0x25d)]);}};_0x3bff71=_0x129d6d([_0x39a9b3(0x3,_0x8a1a57['Inject'](_0x27cfd8[_0x16631f(0x53c)])),_0x39a9b3(0x4,_0x8a1a57[_0x16631f(0x537)](_0x2728bd['LocalCacheService'])),_0x39a9b3(0x5,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57['Injector'])),_0x39a9b3(0x6,_0x8a1a57[_0x16631f(0x540)]),_0x39a9b3(0x7,_0x8a1a57[_0x16631f(0x350)]),_0x39a9b3(0x8,_0x8a1a57[_0x16631f(0xfc)]),_0x39a9b3(0x9,_0x27cfd8[_0x16631f(0x1bd)])],_0x3bff71);let _0x47565d=class extends _0x2c451e{constructor(_0x4c7dfc,_0x2577ef,_0x2bc635,_0x13ed48,_0x40518b,_0x22b6d5,_0x19a305,_0x1a6481,_0x245f0c,_0x445d2e,_0x185fd8,_0x46a3a6,_0x203354,_0x489886){const _0x4cddf5=_0x16631f;super(_0x4c7dfc,_0x2577ef,null,_0x2bc635,_0x13ed48,_0x445d2e,_0x489886,_0x22b6d5,_0x19a305),_0x2a606e(this,_0x4cddf5(0x536),_0x4cddf5(0x3a0)),_0x2a606e(this,_0x4cddf5(0x12d),null),_0x2a606e(this,_0x4cddf5(0x29d),null),(this[_0x4cddf5(0x264)]=_0x40518b,this[_0x4cddf5(0x154)]=_0x1a6481,this['_logService']=_0x245f0c,this[_0x4cddf5(0x31f)]=_0x185fd8,this[_0x4cddf5(0x549)]=_0x46a3a6,this[_0x4cddf5(0x3e7)]=_0x203354);}['appendMutation'](_0x527880){const _0x179591=_0x16631f;return this['_pendingMutations'][_0x179591(0x203)](_0x527880),this[_0x179591(0x1a2)](),this;}[_0x16631f(0x2d8)](_0x314c19){const _0x5685ae=_0x16631f;if(this['_checkMissing'](_0x314c19))return this[_0x5685ae(0x133)](),this[_0x5685ae(0x264)][_0x5685ae(0x28c)](_0x1dc8e0,this['unitID'],this['type'],null,this[_0x5685ae(0x460)],null,[_0x314c19],this[_0x5685ae(0x25d)]);try{const _0xda1421=this['_transformService'][_0x5685ae(0x1b3)](_0x314c19,this[_0x5685ae(0x460)]);if(_0x27cfd8[_0x5685ae(0x2f8)](_0xda1421)){const {c1Prime:_0x5390a8,m2Prime:_0x3696d6}=_0xda1421;this[_0x5685ae(0x4e7)](_0x5390a8);const _0xb23922=this[_0x5685ae(0x264)][_0x5685ae(0x28c)](_0x47565d,this[_0x5685ae(0x477)],this[_0x5685ae(0x49b)],_0x3696d6,this[_0x5685ae(0x25d)]);return this[_0x5685ae(0x133)](),_0xb23922[_0x5685ae(0x586)](this[_0x5685ae(0x12d)]?Math[_0x5685ae(0x150)](0x0,new Date()[_0x5685ae(0x3d0)]()-this['_scheduleTimestamp']):this['_getSendChangesetTimeout']()),_0xb23922;}throw _0xda1421[_0x5685ae(0x1df)];}catch(_0x5ae23c){return this['_logService']['error'](_0x5ae23c),this[_0x5685ae(0x5a5)](!0x1);}}[_0x16631f(0x4b8)](){const _0x3dec84=_0x16631f;throw new Error(_0x3dec84(0x389));}[_0x16631f(0x374)](){const _0x3a8c9f=_0x16631f;throw new Error(_0x3a8c9f(0x5ad));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x2731c2=_0x16631f;return this[_0x2731c2(0x133)](),this[_0x2731c2(0x264)][_0x2731c2(0x28c)](_0x3055ba,this[_0x2731c2(0x477)],this[_0x2731c2(0x49b)],null,this[_0x2731c2(0x460)],this[_0x2731c2(0x25d)]);}[_0x16631f(0x3de)](){return this;}[_0x16631f(0x586)](_0x33dbc2){const _0x3ba377=_0x16631f,_0x1155de=_0x33dbc2!=null?_0x33dbc2:this[_0x3ba377(0x55f)]();this[_0x3ba377(0x12d)]=new Date()[_0x3ba377(0x3d0)](),this[_0x3ba377(0x29d)]=window[_0x3ba377(0x50b)](()=>{const _0x271330=_0x3ba377;this[_0x271330(0x133)]();let _0x4c4e5c=null;switch(this[_0x271330(0x49b)]){case _0x4a6b81[_0x271330(0x32e)]:{_0x4c4e5c=_0x3db108(this[_0x271330(0x460)],this[_0x271330(0x477)],this['_univerInstanceService'],this[_0x271330(0x110)],this['_memberService']);break;}case _0x4a6b81[_0x271330(0x327)]:{this['_pendingMutations'][_0x271330(0x50d)](_0x2089c9=>_0x2089c9['id']===_0x1d9e38[_0x271330(0x467)]['id'])?_0x4c4e5c=_0x583b8f(this[_0x271330(0x460)],this['unitID'],this['_univerInstanceService'],this[_0x271330(0x110)],this[_0x271330(0x154)]):_0x4c4e5c=_0x3db108(this[_0x271330(0x460)],this['unitID'],this[_0x271330(0x3e7)],this[_0x271330(0x110)],this[_0x271330(0x154)]);break;}default:throw new Error(_0x271330(0x3b9)+this['type']+_0x271330(0x2e3));}const {changeset:_0x4c0280,pendingMutations:_0xf5d679}=_0x4c4e5c;this[_0x271330(0x25d)][_0x271330(0x199)](_0x4c0280);const _0x19660a=_0xf5d679[_0x271330(0x272)]?this['_injector'][_0x271330(0x28c)](_0x27a14f,this[_0x271330(0x477)],this[_0x271330(0x49b)],_0x4c0280,_0xf5d679,this[_0x271330(0x25d)],void 0x0):this[_0x271330(0x264)][_0x271330(0x28c)](_0x1a3a9c,this[_0x271330(0x477)],this[_0x271330(0x49b)],_0x4c0280,this['_handler']);_0x19660a[_0x271330(0x1a2)](),this[_0x271330(0x25d)][_0x271330(0x4d2)](this,_0x19660a);},_0x1155de);}[_0x16631f(0x55f)](){const _0x1c4e6f=_0x16631f;var _0x9865e1;const _0x501f33=this['_configService']['getConfig'](_0x132856);return(_0x9865e1=_0x501f33==null?void 0x0:_0x501f33[_0x1c4e6f(0x1eb)])!=null?_0x9865e1:0x7d0;}['resend'](){const _0x357df2=_0x16631f;throw new Error(_0x357df2(0x10c));}[_0x16631f(0x133)](){const _0x32eada=_0x16631f;this[_0x32eada(0x29d)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x32eada(0x29d)]=null);}['_onConflict'](_0x52ff9d){const _0x304c13=_0x16631f;return this['_clearScheduledTask'](),this[_0x304c13(0x264)][_0x304c13(0x28c)](_0x4bd0b3,this['unitID'],this[_0x304c13(0x49b)],null,this[_0x304c13(0x460)],this[_0x304c13(0x25d)],_0x52ff9d);}};_0x47565d=_0x129d6d([_0x39a9b3(0x4,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57['Injector'])),_0x39a9b3(0x5,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8['RevisionService'])),_0x39a9b3(0x6,_0x8a1a57[_0x16631f(0x537)](_0x2728bd[_0x16631f(0x2a1)])),_0x39a9b3(0x7,_0x8a1a57['Inject'](_0x2728bd[_0x16631f(0x584)])),_0x39a9b3(0x8,_0x8a1a57[_0x16631f(0xfc)]),_0x39a9b3(0x9,_0x8a1a57['ICommandService']),_0x39a9b3(0xa,_0x8a1a57['IConfigService']),_0x39a9b3(0xb,_0x27cfd8['ITransformService']),_0x39a9b3(0xc,_0x8a1a57[_0x16631f(0x1db)]),_0x39a9b3(0xd,_0x8a1a57[_0x16631f(0x540)])],_0x47565d);let _0x1a3a9c=class extends _0x2c451e{constructor(_0x1c0c2e,_0x1e1012,_0x32bcbd,_0x45b219,_0x1691f6,_0x3317c7,_0x42c093,_0x43a5ec,_0x2cef3c,_0xc12ebd,_0x39c608){const _0x1c8af0=_0x16631f;super(_0x1c0c2e,_0x1e1012,_0x32bcbd,[],_0x45b219,_0x43a5ec,_0x39c608,_0x3317c7,_0x42c093),_0x2a606e(this,_0x1c8af0(0x536),'awaiting'),_0x2a606e(this,_0x1c8af0(0x1d2),0x0),_0x2a606e(this,'_resendTimer'),_0x2a606e(this,_0x1c8af0(0x2c1)),(this[_0x1c8af0(0x264)]=_0x1691f6,this[_0x1c8af0(0x515)]=_0x2cef3c,this[_0x1c8af0(0x549)]=_0xc12ebd);}['appendMutation'](_0xb235f1){const _0x535f21=_0x16631f;this[_0x535f21(0x133)]();const _0x49c53c=this[_0x535f21(0x264)][_0x535f21(0x28c)](_0x27a14f,this[_0x535f21(0x477)],this[_0x535f21(0x49b)],this[_0x535f21(0x41c)],[_0xb235f1],this[_0x535f21(0x25d)],this[_0x535f21(0x48a)]);return _0x49c53c['_updateLocalCache'](),_0x49c53c;}['onRemoteChangeset'](_0x4647a5){const _0x234382=_0x16631f;if(this[_0x234382(0x42e)](_0x4647a5))return this[_0x234382(0x133)](),this['_injector'][_0x234382(0x28c)](_0x1dc8e0,this['unitID'],this['type'],this['_awaitingChangeset'],[],null,[_0x4647a5],this[_0x234382(0x25d)]);try{const _0x579ced=this[_0x234382(0x549)][_0x234382(0x400)]([_0x4647a5],[this[_0x234382(0x41c)]],!0x1);if(_0x27cfd8[_0x234382(0x46b)](_0x579ced)){const {c1Prime:_0xbae77c,c2Prime:_0x344c71}=_0x579ced;this[_0x234382(0x4e7)](_0xbae77c[0x0]),_0x344c71[0x0][_0x234382(0x510)]=this[_0x234382(0x189)](),this['_clearScheduledTask']();const _0x23e704=this[_0x234382(0x264)][_0x234382(0x28c)](_0x1a3a9c,this[_0x234382(0x477)],this[_0x234382(0x49b)],_0x344c71[0x0],this[_0x234382(0x25d)]);return _0x23e704['_updateLocalCache'](),_0x23e704;}return this['_onConflict'](!0x1);}catch(_0x162b64){return this[_0x234382(0x515)]['error'](_0x162b64),this[_0x234382(0x5a5)](!0x1);}}[_0x16631f(0x4b8)](_0x2376fd){const _0x45f22d=_0x16631f;this[_0x45f22d(0x133)]();const _0x2bc249=this[_0x45f22d(0x110)][_0x45f22d(0x531)](this[_0x45f22d(0x477)]);if(_0x2376fd[_0x45f22d(0x5a1)]<_0x2bc249-0x1)return this;if(this['_checkMissing'](_0x2376fd))return this[_0x45f22d(0x264)][_0x45f22d(0x28c)](_0x1dc8e0,this[_0x45f22d(0x477)],this[_0x45f22d(0x49b)],null,[],this[_0x45f22d(0x41c)],[],this[_0x45f22d(0x25d)]);this['_incrementRevisionNumber']();const _0x53e619=this[_0x45f22d(0x264)][_0x45f22d(0x28c)](_0x3bff71,this['unitID'],this['type'],this[_0x45f22d(0x25d)]);return _0x53e619[_0x45f22d(0x1a2)](),_0x53e619;}['onRemoteRej'](_0x3c6b4b){return this['_onConflict'](!!(_0x3c6b4b!=null&&_0x3c6b4b['isPermissionRej']));}['onRemoteRetry'](_0x9adc41){const _0x2aed91=_0x16631f;return this[_0x2aed91(0x1d2)]>_0x584d78?this[_0x2aed91(0xf8)]():(this[_0x2aed91(0x48a)]=_0x53ed26(this[_0x2aed91(0x1d2)],{'timeout':this[_0x2aed91(0x1d2)],'reqId':_0x9adc41['reqId']}),this[_0x2aed91(0x2c1)]=this[_0x2aed91(0x48a)][_0x2aed91(0x42c)](({reqId:_0x2959da,timeout:_0x340bba})=>{const _0x47305f=_0x2aed91;this[_0x47305f(0x25c)](_0x2959da,_0x340bba);}),this);}[_0x16631f(0xf8)](){const _0x3ae278=_0x16631f;return this['_clearScheduledTask'](),this[_0x3ae278(0x264)][_0x3ae278(0x28c)](_0x3055ba,this[_0x3ae278(0x477)],this[_0x3ae278(0x49b)],this[_0x3ae278(0x41c)],[],this['_handler']);}[_0x16631f(0x3de)](){return this;}[_0x16631f(0x16f)](){const _0xb5f666=_0x16631f;this[_0xb5f666(0x25d)][_0xb5f666(0x199)](this[_0xb5f666(0x41c)]);}['_onConflict'](_0x141911){const _0x180e0e=_0x16631f;return this['_clearScheduledTask'](),this[_0x180e0e(0x264)][_0x180e0e(0x28c)](_0x4bd0b3,this['unitID'],this['type'],this[_0x180e0e(0x41c)],[],this['_handler'],_0x141911);}['_resendWithTimeout'](_0x13a08c,_0x213158){const _0x5e460c=_0x16631f;var _0x30504d;_0x13a08c===((_0x30504d=this[_0x5e460c(0x41c)])==null?void 0x0:_0x30504d[_0x5e460c(0x449)])&&(this[_0x5e460c(0x16f)](),this['_resendTimeout']=_0x213158===0x0?0x3e8:_0x213158*0x2);}[_0x16631f(0x133)](){const _0x5d7d03=_0x16631f;var _0x46e9da;(_0x46e9da=this['_sender'])==null||_0x46e9da[_0x5d7d03(0x42a)](),this[_0x5d7d03(0x1d2)]=0x0;}};_0x1a3a9c=_0x129d6d([_0x39a9b3(0x4,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57['Injector'])),_0x39a9b3(0x5,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8[_0x16631f(0x53c)])),_0x39a9b3(0x6,_0x8a1a57[_0x16631f(0x537)](_0x2728bd[_0x16631f(0x2a1)])),_0x39a9b3(0x7,_0x8a1a57[_0x16631f(0x350)]),_0x39a9b3(0x8,_0x8a1a57['ILogService']),_0x39a9b3(0x9,_0x27cfd8[_0x16631f(0x1bd)]),_0x39a9b3(0xa,_0x8a1a57[_0x16631f(0x540)])],_0x1a3a9c);let _0x27a14f=class extends _0x2c451e{constructor(_0x8985ee,_0xb3d886,_0x75cf9f,_0x1ff421,_0x17d81a,_0x3ab3ad,_0x51a918,_0x707ffc,_0x25d159,_0x4ba0fb,_0x555aff,_0x592d5f,_0x372eaf){const _0x524d6c=_0x16631f;super(_0x8985ee,_0xb3d886,_0x75cf9f,_0x1ff421,_0x17d81a,_0x4ba0fb,_0x372eaf,_0x707ffc,_0x25d159),_0x2a606e(this,_0x524d6c(0x536),'awaiting_with_pending'),_0x2a606e(this,_0x524d6c(0x1d2),0x0),_0x2a606e(this,_0x524d6c(0x48a)),_0x2a606e(this,'_sender'),(this['_injector']=_0x51a918,this['_logService']=_0x555aff,this[_0x524d6c(0x549)]=_0x592d5f,_0x3ab3ad&&(this[_0x524d6c(0x48a)]=_0x3ab3ad,this['_sender']=this[_0x524d6c(0x48a)][_0x524d6c(0x42c)](({reqId:_0x1b156c,timeout:_0x393f06})=>{const _0x3dd37b=_0x524d6c;this[_0x3dd37b(0x25c)](_0x1b156c,_0x393f06);})));}[_0x16631f(0x337)](_0x140121){const _0x47b2e1=_0x16631f;return this[_0x47b2e1(0x460)][_0x47b2e1(0x203)](_0x140121),this;}[_0x16631f(0x2d8)](_0x117fec){const _0x1457ba=_0x16631f;if(this[_0x1457ba(0x42e)](_0x117fec))return this['_clearScheduledTask'](),this['_injector'][_0x1457ba(0x28c)](_0x1dc8e0,this[_0x1457ba(0x477)],this[_0x1457ba(0x49b)],this['_awaitingChangeset'],this[_0x1457ba(0x460)],null,[_0x117fec],this[_0x1457ba(0x25d)]);try{const _0x5a4b6e=this[_0x1457ba(0x549)]['transformChangesets']([_0x117fec],[this[_0x1457ba(0x41c)]],!0x1);if(_0x27cfd8[_0x1457ba(0x46b)](_0x5a4b6e)){const {c1Prime:_0x2736ef,c2Prime:_0x2ae518}=_0x5a4b6e,_0x327f38=this[_0x1457ba(0x549)]['transformMutationsWithChangeset'](_0x2736ef[0x0],this[_0x1457ba(0x460)]);if(_0x27cfd8[_0x1457ba(0x2f8)](_0x327f38)){const {c1Prime:_0x22cf71,m2Prime:_0x39893d}=_0x327f38;return this[_0x1457ba(0x4e7)](_0x22cf71),_0x2ae518[0x0][_0x1457ba(0x510)]=this[_0x1457ba(0x189)](),this['_clearScheduledTask'](),this[_0x1457ba(0x264)][_0x1457ba(0x28c)](_0x27a14f,this['unitID'],this['type'],_0x2ae518[0x0],_0x39893d,this[_0x1457ba(0x25d)],void 0x0);}throw _0x327f38['error'];}throw _0x5a4b6e['error'];}catch(_0xecdf99){return this['_logService'][_0x1457ba(0x1df)](_0xecdf99),this[_0x1457ba(0x5a5)](!0x1);}}[_0x16631f(0x4b8)](_0x49f7e5){const _0x767d91=_0x16631f;if(this[_0x767d91(0x133)](),this[_0x767d91(0x42e)](_0x49f7e5))return this[_0x767d91(0x264)][_0x767d91(0x28c)](_0x1dc8e0,this[_0x767d91(0x477)],this['type'],null,this[_0x767d91(0x460)],this[_0x767d91(0x41c)],[],this[_0x767d91(0x25d)]);this['_incrementRevisionNumber']();const _0x3ddb62=this['_injector'][_0x767d91(0x28c)](_0x47565d,this[_0x767d91(0x477)],this[_0x767d91(0x49b)],this[_0x767d91(0x460)],this['_handler']);return _0x3ddb62[_0x767d91(0x586)](),_0x3ddb62['_updateLocalCache'](),_0x3ddb62;}[_0x16631f(0x374)](_0x13a7de){const _0x3c601a=_0x16631f;return this[_0x3c601a(0x5a5)](!!(_0x13a7de!=null&&_0x13a7de[_0x3c601a(0x429)]));}['onRemoteRetry'](_0xec9c7b){const _0x4a5ac6=_0x16631f;return this[_0x4a5ac6(0x1d2)]>_0x584d78?this[_0x4a5ac6(0xf8)]():(this[_0x4a5ac6(0x48a)]=_0x53ed26(this[_0x4a5ac6(0x1d2)],{'timeout':this[_0x4a5ac6(0x1d2)],'reqId':_0xec9c7b['reqId']}),this['_sender']=this[_0x4a5ac6(0x48a)]['subscribe'](({reqId:_0x56f941,timeout:_0x2e4841})=>{const _0x4d8651=_0x4a5ac6;this[_0x4d8651(0x25c)](_0x56f941,_0x2e4841);}),this);}[_0x16631f(0xf8)](){const _0x533620=_0x16631f;return this[_0x533620(0x133)](),this[_0x533620(0x264)][_0x533620(0x28c)](_0x3055ba,this[_0x533620(0x477)],this[_0x533620(0x49b)],this[_0x533620(0x41c)],this[_0x533620(0x460)],this[_0x533620(0x25d)]);}[_0x16631f(0x3de)](){return this;}[_0x16631f(0x16f)](){const _0x534437=_0x16631f;this[_0x534437(0x25d)][_0x534437(0x199)](this['_awaitingChangeset']);}[_0x16631f(0x5a5)](_0x207f5b){const _0xe18171=_0x16631f;return this['_clearScheduledTask'](),this[_0xe18171(0x264)][_0xe18171(0x28c)](_0x4bd0b3,this[_0xe18171(0x477)],this['type'],null,this[_0xe18171(0x460)],this[_0xe18171(0x25d)],_0x207f5b);}[_0x16631f(0x25c)](_0xc1997f,_0x5b780f){const _0x34da9b=_0x16631f;var _0x1bfb45;_0xc1997f===((_0x1bfb45=this[_0x34da9b(0x41c)])==null?void 0x0:_0x1bfb45['reqId'])&&(this[_0x34da9b(0x16f)](),this[_0x34da9b(0x1d2)]=_0x5b780f===0x0?0x3e8:_0x5b780f*0x2);}[_0x16631f(0x133)](){const _0x2dd4d4=_0x16631f;var _0x10fd81;(_0x10fd81=this[_0x2dd4d4(0x2c1)])==null||_0x10fd81[_0x2dd4d4(0x42a)](),this[_0x2dd4d4(0x1d2)]=0x0;}};_0x27a14f=_0x129d6d([_0x39a9b3(0x6,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0x39a9b3(0x7,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8[_0x16631f(0x53c)])),_0x39a9b3(0x8,_0x8a1a57[_0x16631f(0x537)](_0x2728bd[_0x16631f(0x2a1)])),_0x39a9b3(0x9,_0x8a1a57[_0x16631f(0x350)]),_0x39a9b3(0xa,_0x8a1a57[_0x16631f(0xfc)]),_0x39a9b3(0xb,_0x27cfd8[_0x16631f(0x1bd)]),_0x39a9b3(0xc,_0x8a1a57[_0x16631f(0x540)])],_0x27a14f);let _0x4bd0b3=class extends _0x2c451e{constructor(_0x175c74,_0x310806,_0x5506ad,_0x529e94,_0x4eefbd,_0x197a98=!0x1,_0x280b36,_0x354bbc,_0x47a1cd,_0x39bfd9,_0x446596,_0x977d34,_0x1ecf50){const _0x4763a4=_0x16631f;super(_0x175c74,_0x310806,_0x5506ad,_0x529e94,_0x4eefbd,_0x354bbc,_0x47a1cd,_0x446596,_0x39bfd9),_0x2a606e(this,_0x4763a4(0x536),_0x4763a4(0x416)),(this[_0x4763a4(0x3eb)]=_0x197a98,this[_0x4763a4(0x4df)]=_0x280b36,this[_0x4763a4(0x4f0)]=_0x977d34,this['_notificationService']=_0x1ecf50,this[_0x4763a4(0x3b7)](),this[_0x4763a4(0x3db)](),this[_0x4763a4(0x4bf)]());}[_0x16631f(0x337)](){return this;}[_0x16631f(0x2d8)](){return this;}[_0x16631f(0x4b8)](){return this;}[_0x16631f(0x374)](){return this;}[_0x16631f(0x2f1)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}['resend'](){const _0x19d350=_0x16631f;throw new Error(_0x19d350(0x366));}[_0x16631f(0x3db)](){const _0x9e9965=_0x16631f;this[_0x9e9965(0x48e)][_0x9e9965(0x17f)](this[_0x9e9965(0x477)],this[_0x9e9965(0x49b)],null,[]);}['_showConflictNotification'](){const _0x1fc1c5=_0x16631f;this[_0x1fc1c5(0x3eb)]?this[_0x1fc1c5(0x137)]['show']({'title':this[_0x1fc1c5(0x4f0)]['t']('permission.title'),'content':this[_0x1fc1c5(0x4f0)]['t']('permission.content'),'type':'error','duration':0x0}):this[_0x1fc1c5(0x137)][_0x1fc1c5(0x354)]({'title':this[_0x1fc1c5(0x4f0)]['t'](_0x1fc1c5(0x22d)),'content':this[_0x1fc1c5(0x4f0)]['t'](_0x1fc1c5(0x1b8)),'type':_0x1fc1c5(0x1df),'duration':0x0});}[_0x16631f(0x4bf)](){const _0x1657ad=_0x16631f;this[_0x1657ad(0x4df)][_0x1657ad(0x1a0)](new _0x46f63a['WorkbookEditablePermission'](this[_0x1657ad(0x477)])['id'],!0x1);}};_0x4bd0b3=_0x129d6d([_0x39a9b3(0x6,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57['IPermissionService'])),_0x39a9b3(0x7,_0x8a1a57[_0x16631f(0x350)]),_0x39a9b3(0x8,_0x8a1a57['IUndoRedoService']),_0x39a9b3(0x9,_0x8a1a57[_0x16631f(0x537)](_0x2728bd[_0x16631f(0x2a1)])),_0x39a9b3(0xa,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8[_0x16631f(0x53c)])),_0x39a9b3(0xb,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x1f4)])),_0x39a9b3(0xc,_0x4b60ff['INotificationService'])],_0x4bd0b3);let _0x3055ba=class extends _0x2c451e{constructor(_0x4ab9d2,_0xed7d44,_0x28ba9c,_0x3aa689,_0x57314c,_0x27468f,_0x4a42aa,_0x2d0a0f,_0x49e00d,_0x2d0e8b){const _0x200966=_0x16631f;super(_0x4ab9d2,_0xed7d44,_0x28ba9c,_0x3aa689,_0x57314c,_0x49e00d,_0x2d0e8b,_0x4a42aa,_0x2d0a0f),_0x2a606e(this,_0x200966(0x536),_0x200966(0x21f)),this['_injector']=_0x27468f;}['appendMutation'](_0x4f8f6d){const _0x460573=_0x16631f;return this['_pendingMutations'][_0x460573(0x203)](_0x4f8f6d),this[_0x460573(0x1a2)](),this;}[_0x16631f(0x2d8)](_0x546987){const _0x440b92=_0x16631f;throw new Error(_0x440b92(0x52a));}['onRemoteAck'](){const _0x2813a3=_0x16631f;throw new Error(_0x2813a3(0x183));}[_0x16631f(0x374)](){const _0x2cb96a=_0x16631f;throw new Error(_0x2cb96a(0x4a6));}[_0x16631f(0x2f1)](){return this;}[_0x16631f(0xf8)](){return this;}[_0x16631f(0x3de)](){const _0x3ec789=_0x16631f,{_injector:_0x5b6f45,_pendingMutations:_0x20af24,_awaitingChangeset:_0x1f9c7d,unitID:_0x57d018,_handler:_0x2d0727,type:_0x550130}=this,_0x4c8f2d=_0x3e84aa(_0x5b6f45,_0x57d018,_0x550130,_0x1f9c7d,_0x20af24,_0x2d0727);return _0x4c8f2d instanceof _0x47565d?_0x4c8f2d[_0x3ec789(0x586)]():(_0x4c8f2d instanceof _0x27a14f||_0x4c8f2d instanceof _0x1a3a9c)&&_0x4c8f2d['resend'](),_0x4c8f2d;}['resend'](){const _0x1e6d14=_0x16631f;throw new Error(_0x1e6d14(0x286));}};_0x3055ba=_0x129d6d([_0x39a9b3(0x5,_0x8a1a57['Inject'](_0x8a1a57[_0x16631f(0x562)])),_0x39a9b3(0x6,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8[_0x16631f(0x53c)])),_0x39a9b3(0x7,_0x8a1a57[_0x16631f(0x537)](_0x2728bd[_0x16631f(0x2a1)])),_0x39a9b3(0x8,_0x8a1a57[_0x16631f(0x350)]),_0x39a9b3(0x9,_0x8a1a57[_0x16631f(0x540)])],_0x3055ba);let _0x1dc8e0=class extends _0x2c451e{constructor(_0x20d794,_0x43823f,_0x3c4563,_0xa7c08c,_0x4a66eb,_0x1e695c,_0x1114c6,_0x4c0405,_0x5de185,_0x590cc1,_0x506db9,_0x3d3296,_0x501134,_0x233776){const _0x502bb4=_0x16631f;super(_0x20d794,_0x43823f,_0x3c4563,_0xa7c08c,_0x1114c6,_0x3d3296,_0x501134,_0x5de185,_0x590cc1),_0x2a606e(this,_0x502bb4(0x536),_0x502bb4(0x51f)),(this['_acknowledgedAwaitingChangeset']=_0x4a66eb,this['_queuedRemoteChangesets']=_0x1e695c,this[_0x502bb4(0x264)]=_0x4c0405,this[_0x502bb4(0x515)]=_0x506db9,this[_0x502bb4(0x549)]=_0x233776);}['onMissedChangesetFetched'](_0x44cdc6){const _0x3c611e=_0x16631f;try{const _0x5027a5=[..._0x44cdc6,...this['_queuedRemoteChangesets']],_0x4bab4a=[this[_0x3c611e(0x41c)]||this[_0x3c611e(0x2c5)]][_0x3c611e(0x53f)](_0x3441de=>!!_0x3441de);let _0x326da4,_0x1cc82a;if(_0x4bab4a[_0x3c611e(0x272)]){const _0x2f86d4=this[_0x3c611e(0x549)][_0x3c611e(0x400)](_0x5027a5,_0x4bab4a,!0x1);if(!_0x27cfd8['isTransformChangesetsSuccess'](_0x2f86d4))throw _0x2f86d4['error'];_0x326da4=_0x2f86d4['c1Prime'],_0x1cc82a=_0x2f86d4[_0x3c611e(0x245)];}else _0x326da4=_0x5027a5,_0x1cc82a=[];let _0x41c589=this[_0x3c611e(0x460)];_0x326da4[_0x3c611e(0x236)](_0x2dab58=>{const _0x16f47c=_0x3c611e;let _0x22f69e;if(_0x41c589['length']){const _0x29508e=this[_0x16f47c(0x549)][_0x16f47c(0x1b3)](_0x2dab58,_0x41c589);if(!_0x27cfd8[_0x16f47c(0x2f8)](_0x29508e))throw _0x29508e['error'];_0x22f69e=_0x29508e[_0x16f47c(0x4aa)],_0x41c589=_0x29508e[_0x16f47c(0x43e)];}else _0x22f69e=_0x2dab58;this[_0x16f47c(0x4e7)](_0x22f69e);}),this['_acknowledgedAwaitingChangeset']&&this[_0x3c611e(0x265)](),this[_0x3c611e(0x41c)]&&_0x1cc82a[_0x3c611e(0x272)]&&(_0x1cc82a[0x0][_0x3c611e(0x510)]=this['_getCurrentRevision']());let _0x41d943;if(this[_0x3c611e(0x41c)]&&_0x41c589[_0x3c611e(0x272)]!==0x0)_0x41d943=this[_0x3c611e(0x264)][_0x3c611e(0x28c)](_0x27a14f,this['unitID'],this[_0x3c611e(0x49b)],_0x1cc82a[0x0],_0x41c589,this[_0x3c611e(0x25d)],void 0x0);else{if(this['_awaitingChangeset']&&_0x41c589[_0x3c611e(0x272)]===0x0)_0x1cc82a[0x0][_0x3c611e(0x510)]=this[_0x3c611e(0x189)](),_0x41d943=this['_injector'][_0x3c611e(0x28c)](_0x1a3a9c,this[_0x3c611e(0x477)],this[_0x3c611e(0x49b)],_0x1cc82a[0x0],this[_0x3c611e(0x25d)]);else{if(_0x41c589[_0x3c611e(0x272)]!==0x0){const _0x3f36e7=this[_0x3c611e(0x264)][_0x3c611e(0x28c)](_0x47565d,this[_0x3c611e(0x477)],this[_0x3c611e(0x49b)],_0x41c589,this[_0x3c611e(0x25d)]);_0x3f36e7[_0x3c611e(0x586)](),_0x41d943=_0x3f36e7;}else _0x41d943=this['_injector'][_0x3c611e(0x28c)](_0x3bff71,this[_0x3c611e(0x477)],this[_0x3c611e(0x49b)],this[_0x3c611e(0x25d)]);}}return _0x41d943[_0x3c611e(0x1a2)](),_0x41d943;}catch(_0x3baea3){return this[_0x3c611e(0x515)][_0x3c611e(0x1df)]('[FetchMissState]',_0x3c611e(0x1f8),_0x3baea3),this[_0x3c611e(0x264)]['createInstance'](_0x4bd0b3,this[_0x3c611e(0x477)],this['type'],this[_0x3c611e(0x41c)],this[_0x3c611e(0x460)],this[_0x3c611e(0x25d)],!0x1);}}[_0x16631f(0x16f)](){const _0x162a02=_0x16631f;throw new Error(_0x162a02(0x5aa));}['appendMutation'](_0x5b82ab){const _0x332f5b=_0x16631f;return this[_0x332f5b(0x460)][_0x332f5b(0x203)](_0x5b82ab),this;}[_0x16631f(0x2d8)](_0x4e2baa){const _0x5d30aa=_0x16631f;return this[_0x5d30aa(0x390)][_0x5d30aa(0x203)](_0x4e2baa),this;}['onRemoteAck'](_0x7458ba){const _0x57e0f5=_0x16631f;if(this[_0x57e0f5(0x41c)])return this[_0x57e0f5(0x2c5)]=this[_0x57e0f5(0x41c)],this[_0x57e0f5(0x41c)]=null,this;throw new Error(_0x57e0f5(0x1dc));}[_0x16631f(0x374)](_0x585ba5){const _0x3dc740=_0x16631f;return this[_0x3dc740(0x5a5)](!!(_0x585ba5!=null&&_0x585ba5['isPermissionRej']));}[_0x16631f(0x2f1)](){return this;}[_0x16631f(0xf8)](){const _0x42340d=_0x16631f;return this[_0x42340d(0x264)][_0x42340d(0x28c)](_0x3055ba,this['unitID'],this[_0x42340d(0x49b)],this['_awaitingChangeset'],this[_0x42340d(0x460)],this['_handler']);}[_0x16631f(0x3de)](){return this;}['_onConflict'](_0x286782){const _0x5366c2=_0x16631f;return this['_injector']['createInstance'](_0x4bd0b3,this[_0x5366c2(0x477)],this['type'],this[_0x5366c2(0x41c)],this[_0x5366c2(0x460)],this[_0x5366c2(0x25d)],_0x286782);}};_0x1dc8e0=_0x129d6d([_0x39a9b3(0x7,_0x8a1a57['Inject'](_0x8a1a57[_0x16631f(0x562)])),_0x39a9b3(0x8,_0x8a1a57['Inject'](_0x27cfd8[_0x16631f(0x53c)])),_0x39a9b3(0x9,_0x8a1a57['Inject'](_0x2728bd[_0x16631f(0x2a1)])),_0x39a9b3(0xa,_0x8a1a57[_0x16631f(0xfc)]),_0x39a9b3(0xb,_0x8a1a57[_0x16631f(0x350)]),_0x39a9b3(0xc,_0x8a1a57[_0x16631f(0x540)]),_0x39a9b3(0xd,_0x27cfd8[_0x16631f(0x1bd)])],_0x1dc8e0);function _0x3e84aa(_0x214bec,_0x1c4b64,_0x1828d6,_0x172877,_0x1789af,_0x3528b4){const _0x33136f=_0x16631f;return _0x172877&&_0x1789af[_0x33136f(0x272)]?_0x214bec[_0x33136f(0x28c)](_0x27a14f,_0x1c4b64,_0x1828d6,_0x172877,_0x1789af,_0x3528b4,void 0x0):_0x172877?_0x214bec[_0x33136f(0x28c)](_0x1a3a9c,_0x1c4b64,_0x1828d6,_0x172877,_0x3528b4):_0x1789af[_0x33136f(0x272)]?_0x214bec[_0x33136f(0x28c)](_0x47565d,_0x1c4b64,_0x1828d6,_0x1789af,_0x3528b4):_0x214bec[_0x33136f(0x28c)](_0x3bff71,_0x1c4b64,_0x1828d6,_0x3528b4);}var _0x1482a1=Object[_0x16631f(0x162)],_0x34b655=Object[_0x16631f(0x57e)],_0x2a18df=(_0x533bf8,_0x58e96d,_0x5078ce,_0x2a746b)=>{const _0x5c2efd=_0x16631f;for(var _0x13812b=_0x2a746b>0x1?void 0x0:_0x2a746b?_0x34b655(_0x58e96d,_0x5078ce):_0x58e96d,_0x2ef9d2=_0x533bf8[_0x5c2efd(0x272)]-0x1,_0x1fec43;_0x2ef9d2>=0x0;_0x2ef9d2--)(_0x1fec43=_0x533bf8[_0x2ef9d2])&&(_0x13812b=(_0x2a746b?_0x1fec43(_0x58e96d,_0x5078ce,_0x13812b):_0x1fec43(_0x13812b))||_0x13812b);return _0x2a746b&&_0x13812b&&_0x1482a1(_0x58e96d,_0x5078ce,_0x13812b),_0x13812b;},_0x27489b=(_0x4a1247,_0x11f662)=>(_0x20dca1,_0x586be7)=>_0x11f662(_0x20dca1,_0x586be7,_0x4a1247);_0x2728bd[_0x16631f(0x581)]=class extends _0x8a1a57[_0x16631f(0x228)]{constructor(_0x1dd621,_0x332da7,_0xf51c09,_0x530845,_0x2dd9c7,_0x3918cd,_0x574837,_0x4560e2,_0x4ec70b,_0x48d722,_0x5061e4,_0x4fa644,_0x39ceb7){const _0x13b44d=_0x16631f;super(),_0x2a606e(this,_0x13b44d(0x539),new _0x933215[(_0x13b44d(0x1fd))](null)),_0x2a606e(this,'state$',this['_state$'][_0x13b44d(0x525)]()),_0x2a606e(this,_0x13b44d(0x59d)),_0x2a606e(this,_0x13b44d(0x303),!0x1),_0x2a606e(this,_0x13b44d(0x358),''),_0x2a606e(this,_0x13b44d(0x343),0x0),_0x2a606e(this,_0x13b44d(0x48f),this['state$'][_0x13b44d(0x4be)](_0x933215[_0x13b44d(0x2ca)](_0x5ede81=>_0x5ede81?_0x5ede81[_0x13b44d(0x536)]:_0x5d61dc[_0x13b44d(0x106)]),_0x933215[_0x13b44d(0x502)](0x1))),_0x2a606e(this,_0x13b44d(0x488),!0x1),_0x2a606e(this,_0x13b44d(0x158),[]),(this['unitID']=_0x1dd621,this[_0x13b44d(0x320)]=_0x332da7,this[_0x13b44d(0x357)]=_0xf51c09,this[_0x13b44d(0x264)]=_0x530845,this[_0x13b44d(0x48e)]=_0x2dd9c7,this[_0x13b44d(0x120)]=_0x3918cd,this[_0x13b44d(0x4f0)]=_0x574837,this[_0x13b44d(0x110)]=_0x4560e2,this[_0x13b44d(0x515)]=_0x4ec70b,this[_0x13b44d(0x475)]=_0x48d722,this[_0x13b44d(0x38b)]=_0x5061e4,this[_0x13b44d(0x4df)]=_0x4fa644,this['_singleActiveUnitService']=_0x39ceb7);}get[_0x16631f(0x520)](){const _0x3205a1=_0x16631f;return this[_0x3205a1(0x59d)];}async[_0x16631f(0x299)](){const _0x51f82e=_0x16631f;if(this[_0x51f82e(0x520)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x51f82e(0x36a)]();}[_0x16631f(0x1e3)](){const _0x16205f=_0x16631f;return this[_0x16205f(0x303)]=!0x0,_0x8a1a57[_0x16205f(0x438)](()=>{const _0xc33d57=_0x16205f;this[_0xc33d57(0x303)]=!0x1,this[_0xc33d57(0x336)]();});}['_updateState'](_0x5688da){this['_state']=_0x5688da,this['_state$']['next'](_0x5688da);}async[_0x16631f(0x36a)](){const _0x4c04b3=_0x16631f;var _0x1f2add;this[_0x4c04b3(0x574)](await this[_0x4c04b3(0x5b4)]()),this[_0x4c04b3(0x30a)]&&((_0x1f2add=this['_singleActiveUnitService'])==null||_0x1f2add[_0x4c04b3(0x174)](this[_0x4c04b3(0x477)]),this[_0x4c04b3(0x14a)](this[_0x4c04b3(0x30a)][_0x4c04b3(0x159)](this[_0x4c04b3(0x477)])['subscribe'](_0x95e676=>{const _0x194abe=_0x4c04b3;this[_0x194abe(0x515)]['debug'](_0x194abe(0x4c1),_0x194abe(0x3df),_0x95e676),_0x95e676===_0x25ae3c[_0x194abe(0x268)]?(this[_0x194abe(0x38b)][_0x194abe(0x354)]({'content':this[_0x194abe(0x4f0)]['t'](_0x194abe(0x440)),'type':_0x731a74[_0x194abe(0x2a9)][_0x194abe(0x53b)]}),this[_0x194abe(0x4df)][_0x194abe(0x1a0)](new _0x46f63a[(_0x194abe(0x4b3))](this[_0x194abe(0x477)])['id'],!0x1),this[_0x194abe(0x4df)][_0x194abe(0x500)](!0x1)):(this[_0x194abe(0x4df)][_0x194abe(0x1a0)](new _0x46f63a['WorkbookEditablePermission'](this[_0x194abe(0x477)])['id'],!0x0),this[_0x194abe(0x4df)][_0x194abe(0x500)](!0x0));})));let _0x203a85=!0x1;return this[_0x4c04b3(0x14a)](this[_0x4c04b3(0x320)]['sessionStatus$'][_0x4c04b3(0x42c)](_0x470e75=>{const _0x1f15e8=_0x4c04b3;_0x470e75===_0x53eb3f['ONLINE']?this['_toggleOnline'](_0x203a85):_0x470e75===_0x53eb3f[_0x1f15e8(0x106)]&&(_0x203a85=!0x0,this[_0x1f15e8(0x176)]());})),this[_0x4c04b3(0x14a)](this[_0x4c04b3(0x320)][_0x4c04b3(0x197)]['subscribe'](_0x2b5536=>{const _0x48542c=_0x4c04b3;try{switch(_0x2b5536['eventID']){case _0x27cfd8[_0x48542c(0x3e5)]['NEW_CHANGESETS']:{this[_0x48542c(0x2c4)](_0x27cfd8['parseProtocolChangeset'](_0x2b5536[_0x48542c(0x140)]));break;}case _0x27cfd8[_0x48542c(0x3e5)][_0x48542c(0x289)]:{this['_onRemoteACK'](_0x2b5536['data']);break;}case _0x27cfd8[_0x48542c(0x3e5)]['CHANGESET_REJ']:{this[_0x48542c(0x1d1)]();break;}case _0x27cfd8[_0x48542c(0x3e5)][_0x48542c(0x105)]:{this[_0x48542c(0xff)](_0x2b5536['data']);break;}case _0x27cfd8[_0x48542c(0x3e5)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x48542c(0x37e)](_0x2b5536[_0x48542c(0x140)][_0x48542c(0x593)][_0x48542c(0x2ca)](_0x53adef=>_0x27cfd8[_0x48542c(0x532)](_0x53adef)));break;}case _0x27cfd8['CollaborationEvent'][_0x48542c(0x12f)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x4a3c20){throw console[_0x48542c(0x1df)]('Error\x20on\x20receiving\x20event',_0x4a3c20),_0x4a3c20;}})),this[_0x4c04b3(0x59d)];}[_0x16631f(0x262)](){const _0x455265=_0x16631f;this[_0x455265(0x488)]=!0x1;}[_0x16631f(0xef)](){const _0x3df44c=_0x16631f;if(this[_0x3df44c(0x488)])throw new Error(_0x3df44c(0x32c));this[_0x3df44c(0x488)]=!0x0;}['_onLocalMutation'](_0x423afd){const _0x3d3d50=_0x16631f;this['_lockTransition'](),this['_updateState'](this[_0x3d3d50(0x59d)]['appendMutation'](_0x423afd)),this[_0x3d3d50(0x262)]();}[_0x16631f(0x2c4)](_0x453f29){const _0x4ca195=_0x16631f;if(!(_0x453f29[_0x4ca195(0x5a1)]<=this[_0x4ca195(0x110)][_0x4ca195(0x531)](this[_0x4ca195(0x477)]))){if(this[_0x4ca195(0x303)]){this[_0x4ca195(0x158)][_0x4ca195(0x203)](_0x453f29);return;}this[_0x4ca195(0x130)](_0x453f29);}}[_0x16631f(0x336)](){const _0x3f15b6=_0x16631f;this['_remoteChangesetQueue'][_0x3f15b6(0x236)](_0x3c4e0e=>this[_0x3f15b6(0x130)](_0x3c4e0e)),this[_0x3f15b6(0x158)]=[];}['_applyRemoteChangeset'](_0x2c5a57){const _0x544424=_0x16631f,_0x4bb17f=this[_0x544424(0x120)]['interceptor'][_0x544424(0x52e)](this['_compressMutationService']['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x2c5a57[_0x544424(0x1ce)],null)||_0x2c5a57['mutations'],_0xfd5fb9={..._0x2c5a57,'mutations':_0x4bb17f};this[_0x544424(0xef)](),this['_updateState'](this[_0x544424(0x59d)][_0x544424(0x2d8)](_0xfd5fb9)),this[_0x544424(0x262)]();}[_0x16631f(0x26d)](_0x117bb8){const _0x173e29=_0x16631f;this['_lockTransition'](),this['_updateState'](this[_0x173e29(0x59d)][_0x173e29(0x4b8)](_0x117bb8)),this['_unlockTransition']();}['_onRemoteRejected'](_0x51c43a){const _0xd1ab14=_0x16631f;this[_0xd1ab14(0xef)](),this[_0xd1ab14(0x574)](this[_0xd1ab14(0x59d)][_0xd1ab14(0x374)](_0x51c43a)),this[_0xd1ab14(0x262)]();}[_0x16631f(0xff)](_0x3d97fe){const _0x4fe04b=_0x16631f;this[_0x4fe04b(0xef)](),this[_0x4fe04b(0x574)](this[_0x4fe04b(0x59d)][_0x4fe04b(0x2f1)](_0x3d97fe)),this['_unlockTransition']();}[_0x16631f(0x37e)](_0x1631bc){const _0x20143b=_0x16631f;if(!(this['_state']instanceof _0x1dc8e0))throw new TypeError(_0x20143b(0x2db));const _0x3f8c21=_0x1631bc['map'](_0x14cc54=>{const _0x50d4a5=_0x20143b,_0x27b72e=this[_0x50d4a5(0x120)]['interceptor'][_0x50d4a5(0x52e)](this[_0x50d4a5(0x120)]['interceptor'][_0x50d4a5(0x344)]()[_0x50d4a5(0x4e6)])(_0x14cc54[_0x50d4a5(0x1ce)],null)||_0x14cc54[_0x50d4a5(0x1ce)];return{..._0x14cc54,'mutations':_0x27b72e};});this[_0x20143b(0xef)](),this[_0x20143b(0x574)](this['_state'][_0x20143b(0x3b1)](_0x3f8c21)),this[_0x20143b(0x262)]();}[_0x16631f(0x176)](){const _0x443207=_0x16631f;this[_0x443207(0xef)](),this['_updateState'](this['_state']['toggleOffline']()),this[_0x443207(0x262)]();}[_0x16631f(0x346)](_0x1807e0=!0x1){const _0x59efc0=_0x16631f;this['_lockTransition'](),this[_0x59efc0(0x574)](this['_state'][_0x59efc0(0x3de)]()),this['_unlockTransition']();const _0x1c8166=this[_0x59efc0(0x59d)];_0x1807e0&&_0x1c8166 instanceof _0x3bff71&&(this[_0x59efc0(0xef)](),this['_updateState'](_0x1c8166['fetchMiss']()),this[_0x59efc0(0x262)]());}async[_0x16631f(0x5b4)](){return new Promise(_0x17636c=>{const _0x1955e0=_0x586f;this[_0x1955e0(0x320)][_0x1955e0(0x482)]['pipe'](_0x933215['take'](0x1))[_0x1955e0(0x42c)](async _0xd492ea=>{const _0xb80755=_0x1955e0;_0x17636c(await this[_0xb80755(0x304)](_0xd492ea===_0x53eb3f['ONLINE']));});});}[_0x16631f(0x318)](){const _0x2fa8be=_0x16631f,_0x1bd981=this[_0x2fa8be(0x477)];return{'onStateChange':(_0x34b519,_0x2e606d)=>{const _0x58e385=_0x2fa8be;if(_0x34b519!==this[_0x58e385(0x59d)])throw new Error(_0x58e385(0x46f)+_0x34b519[_0x58e385(0x536)]+_0x58e385(0x39b)+_0x2e606d['status']+_0x58e385(0x393)+this[_0x58e385(0x59d)]['status']);this[_0x58e385(0x574)](_0x2e606d);},'onSendChangeset':_0x481bf3=>{const _0x2890a8=_0x2fa8be;_0x481bf3[_0x2890a8(0x152)]||(_0x481bf3[_0x2890a8(0x152)]=this[_0x2890a8(0x358)],_0x481bf3[_0x2890a8(0x449)]=++this[_0x2890a8(0x343)]);const _0x3b64fc={'eventID':_0x27cfd8[_0x2890a8(0x3e5)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x481bf3[_0x2890a8(0x477)],'unitType':this[_0x2890a8(0x357)],'changeset':_0x481bf3,'memberID':this[_0x2890a8(0x320)][_0x2890a8(0x291)]()}};this[_0x2890a8(0x320)][_0x2890a8(0x2ba)](_0x3b64fc,this[_0x2890a8(0x477)]);},'onMissingChangesets':({from:_0x429846,to:_0x19818f})=>{const _0x53def7=_0x2fa8be;this['_logService'][_0x53def7(0x22a)](_0x53def7(0x4c1),_0x53def7(0x2ff)+_0x429846+'\x20to\x20'+_0x19818f);const _0x20ac72={'eventID':_0x27cfd8[_0x53def7(0x3e5)]['FETCH_MISSING'],'data':{'unitID':_0x1bd981,'unitType':this['_type'],'from':_0x429846,'to':_0x19818f}};this[_0x53def7(0x320)][_0x53def7(0x2ba)](_0x20ac72,this[_0x53def7(0x477)]);}};}async[_0x16631f(0x304)](_0xf6832){const _0x4d7a45=_0x16631f;var _0x2cef3e,_0x42ae32;const _0x177463=await this[_0x4d7a45(0x48e)][_0x4d7a45(0x3ae)](this[_0x4d7a45(0x477)]),_0x2e4ab2=(_0x2cef3e=_0x177463==null?void 0x0:_0x177463[_0x4d7a45(0x1ce)])!=null?_0x2cef3e:[],_0x3c5887=(_0x42ae32=_0x177463==null?void 0x0:_0x177463[_0x4d7a45(0x58b)])!=null?_0x42ae32:null,_0x360bf5=!!(_0x3c5887!=null&&_0x3c5887[_0x4d7a45(0x152)])&&!!(_0x3c5887!=null&&_0x3c5887[_0x4d7a45(0x449)]);this[_0x4d7a45(0x358)]=_0x360bf5?_0x3c5887['sid']:_0x384178(),this['_changesetReqId']=_0x360bf5?_0x3c5887[_0x4d7a45(0x449)]:0x0;const _0x8e2453=this[_0x4d7a45(0x477)];try{this[_0x4d7a45(0x2dd)](_0x3c5887,_0x2e4ab2);}catch(_0x258bf8){this['_logService']['error'](_0x258bf8);}const _0x2fb376=this[_0x4d7a45(0x318)]();if(_0xf6832){const _0x59e292=_0x3e84aa(this[_0x4d7a45(0x264)],_0x8e2453,this[_0x4d7a45(0x357)],_0x3c5887,_0x2e4ab2,_0x2fb376);return _0x59e292 instanceof _0x47565d?_0x59e292['_schedule']():(_0x59e292 instanceof _0x27a14f||_0x59e292 instanceof _0x1a3a9c)&&_0x59e292[_0x4d7a45(0x16f)](),_0x59e292;}return this[_0x4d7a45(0x264)]['createInstance'](_0x3055ba,_0x8e2453,this[_0x4d7a45(0x357)],_0x3c5887,_0x2e4ab2,_0x2fb376);}[_0x16631f(0x2dd)](_0x33f075,_0x16e6f6){const _0x2e642c=_0x16631f;var _0x4f1b76,_0x25ed59;const _0x66267b=this['_compressMutationService']['interceptor'][_0x2e642c(0x52e)](this[_0x2e642c(0x120)][_0x2e642c(0x15f)]['getInterceptPoints']()[_0x2e642c(0x4e6)]);(_0x4f1b76=_0x66267b((_0x33f075==null?void 0x0:_0x33f075[_0x2e642c(0x1ce)])||[],null))==null||_0x4f1b76[_0x2e642c(0x236)](_0x554b1a=>this[_0x2e642c(0x475)]['executeCommand'](_0x554b1a['id'],_0x554b1a[_0x2e642c(0x238)])),(_0x25ed59=_0x66267b(_0x16e6f6||[],null))==null||_0x25ed59[_0x2e642c(0x236)](_0x529fda=>this[_0x2e642c(0x475)][_0x2e642c(0x564)](_0x529fda['id'],_0x529fda[_0x2e642c(0x238)]));}},_0x2728bd[_0x16631f(0x581)]=_0x2a18df([_0x27489b(0x3,_0x8a1a57['Inject'](_0x8a1a57[_0x16631f(0x562)])),_0x27489b(0x4,_0x8a1a57[_0x16631f(0x537)](_0x2728bd['LocalCacheService'])),_0x27489b(0x5,_0x8a1a57['Inject'](_0x27cfd8[_0x16631f(0x23b)])),_0x27489b(0x6,_0x8a1a57['Inject'](_0x8a1a57[_0x16631f(0x1f4)])),_0x27489b(0x7,_0x8a1a57['Inject'](_0x27cfd8['RevisionService'])),_0x27489b(0x8,_0x8a1a57['ILogService']),_0x27489b(0x9,_0x8a1a57['ICommandService']),_0x27489b(0xa,_0x4b60ff['IMessageService']),_0x27489b(0xb,_0x8a1a57[_0x16631f(0x395)]),_0x27489b(0xc,_0x8a1a57[_0x16631f(0x1c1)](_0x50fb0f))],_0x2728bd[_0x16631f(0x581)]),_0x2728bd[_0x16631f(0x1d5)]=class extends _0x2728bd[_0x16631f(0x581)]{constructor(_0x3e50d4,_0x390beb,_0x1f2e16,_0xcd94af,_0x478964,_0x4f6d21,_0x2d407e,_0x563411,_0x3bd461,_0x54d88f,_0x4c98b6,_0x3997c6,_0x2b21cd,_0x30e6ab,_0x52d8ba,_0x17b9d7,_0x2413ea,_0x538344){const _0x339c4a=_0x16631f;super(_0x3e50d4,_0x1f2e16,_0x390beb,_0xcd94af,_0x478964,_0x4f6d21,_0x2d407e,_0x563411,_0x30e6ab,_0x52d8ba,_0x17b9d7,_0x2413ea,_0x538344),this[_0x339c4a(0x477)]=_0x3e50d4,this[_0x339c4a(0x49b)]=_0x390beb,this[_0x339c4a(0x305)]=_0x3bd461,this['_docTransformIMECacheService']=_0x54d88f,this[_0x339c4a(0x501)]=_0x4c98b6,this['_docTransformSelectionsService']=_0x3997c6,this[_0x339c4a(0x117)]=_0x2b21cd;}[_0x16631f(0x318)](){const _0x4fec6b=_0x16631f,_0x3d1122=super['_createHandler']();return _0x3d1122[_0x4fec6b(0x1a3)]=_0xef9fd=>this[_0x4fec6b(0x316)][_0x4fec6b(0x561)](_0xef9fd),_0x3d1122['onTransformState']=_0x49247a=>this[_0x4fec6b(0x501)][_0x4fec6b(0x21a)](_0x49247a),_0x3d1122[_0x4fec6b(0x58f)]=_0x4140d5=>this['_docTransformSelectionsService']['transformSelections'](_0x4140d5),_0x3d1122[_0x4fec6b(0x1f5)]=_0xd410ca=>this[_0x4fec6b(0x117)]['syncEditingCollabCursor'](_0xd410ca),_0x3d1122[_0x4fec6b(0x3f9)]=_0x546311=>this['_docTransformIMECacheService'][_0x4fec6b(0x246)](_0x546311),_0x3d1122[_0x4fec6b(0x44d)]=_0x4f1564=>this[_0x4fec6b(0x501)][_0x4fec6b(0x246)](_0x4f1564),_0x3d1122;}async['_init'](){const _0x22e3ae=_0x16631f,_0x4dee3c=await super[_0x22e3ae(0x36a)]();return this[_0x22e3ae(0x305)]['docStateChange$'][_0x22e3ae(0x4be)](_0x933215[_0x22e3ae(0x3d9)](this[_0x22e3ae(0x42d)]))[_0x22e3ae(0x42c)](_0x14514a=>{const _0x1b9f72=_0x22e3ae;if(_0x14514a==null)return;const {unitId:_0x670dcc,redoState:_0x1f02bd,commandId:_0x4bcd9f}=_0x14514a;if(_0x670dcc!==this[_0x1b9f72(0x477)])return;const _0x13df32={'id':_0x4bcd9f,'type':_0x8a1a57['CommandType'][_0x1b9f72(0x2a7)],'params':{'unitId':_0x670dcc,'actions':_0x1f02bd[_0x1b9f72(0x112)],'textRanges':null}};this[_0x1b9f72(0x46e)](_0x13df32);}),_0x4dee3c;}},_0x2728bd[_0x16631f(0x1d5)]=_0x2a18df([_0x27489b(0x3,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0x27489b(0x4,_0x8a1a57['Inject'](_0x2728bd[_0x16631f(0x2a1)])),_0x27489b(0x5,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8['CompressMutationService'])),_0x27489b(0x6,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x1f4)])),_0x27489b(0x7,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8[_0x16631f(0x53c)])),_0x27489b(0x8,_0x8a1a57[_0x16631f(0x537)](_0x473dea[_0x16631f(0x425)])),_0x27489b(0x9,_0x8a1a57[_0x16631f(0x537)](_0xe93339)),_0x27489b(0xa,_0x8a1a57[_0x16631f(0x537)](_0x21b12b)),_0x27489b(0xb,_0x8a1a57[_0x16631f(0x537)](_0x3110cc)),_0x27489b(0xc,_0x8a1a57[_0x16631f(0x537)](_0xc8790a)),_0x27489b(0xd,_0x8a1a57[_0x16631f(0xfc)]),_0x27489b(0xe,_0x8a1a57['ICommandService']),_0x27489b(0xf,_0x4b60ff['IMessageService']),_0x27489b(0x10,_0x8a1a57['IPermissionService']),_0x27489b(0x11,_0x8a1a57[_0x16631f(0x1c1)](_0x50fb0f))],_0x2728bd['DocCollaborationEntity']),_0x2728bd[_0x16631f(0x579)]=class extends _0x2728bd[_0x16631f(0x581)]{constructor(_0x4ef325,_0x2af06c,_0x1d4a84,_0x22ee6d,_0x460f35,_0x37129a,_0x33d0bf,_0x5c3b52,_0x669437,_0x2c16f5,_0x5f4dba,_0x4c3ad3,_0x45ba47,_0x310ee4){const _0x111f28=_0x16631f;super(_0x4ef325,_0x1d4a84,_0x2af06c,_0x22ee6d,_0x460f35,_0x37129a,_0x33d0bf,_0x5c3b52,_0x2c16f5,_0x5f4dba,_0x4c3ad3,_0x45ba47,_0x310ee4),this[_0x111f28(0x477)]=_0x4ef325,this[_0x111f28(0x49b)]=_0x2af06c,this[_0x111f28(0x456)]=_0x669437;}[_0x16631f(0x318)](){const _0xa8a1c=_0x16631f,_0x5679df=super[_0xa8a1c(0x318)]();return _0x5679df['onTransformSelections']=_0x1c9565=>this[_0xa8a1c(0x456)][_0xa8a1c(0x4c2)](_0x1c9565),_0x5679df;}async[_0x16631f(0x36a)](){const _0x40337e=_0x16631f,_0x5623ca=await super['_init']();return this[_0x40337e(0x14a)](this[_0x40337e(0x475)][_0x40337e(0x521)]((_0x454844,_0x27008b)=>{const _0x422b10=_0x40337e;if(_0x454844[_0x422b10(0x49b)]!==_0x8a1a57[_0x422b10(0x39c)][_0x422b10(0x2a7)]||_0x27008b!=null&&_0x27008b[_0x422b10(0x280)]||_0x27008b!=null&&_0x27008b[_0x422b10(0x5a9)])return;const _0x261c42=_0x454844[_0x422b10(0x238)];if((_0x261c42==null?void 0x0:_0x261c42['unitId'])!==this[_0x422b10(0x477)])return;const _0x13ef3f=_0x454844,_0x50430b=this[_0x422b10(0x120)][_0x422b10(0x15f)][_0x422b10(0x52e)](this['_compressMutationService'][_0x422b10(0x15f)][_0x422b10(0x344)]()[_0x422b10(0x451)])([_0x13ef3f],null)||[_0x13ef3f];this[_0x422b10(0x46e)](_0x50430b[0x0]);})),_0x5623ca;}},_0x2728bd[_0x16631f(0x579)]=_0x2a18df([_0x27489b(0x3,_0x8a1a57['Inject'](_0x8a1a57[_0x16631f(0x562)])),_0x27489b(0x4,_0x8a1a57[_0x16631f(0x537)](_0x2728bd[_0x16631f(0x2a1)])),_0x27489b(0x5,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8['CompressMutationService'])),_0x27489b(0x6,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x1f4)])),_0x27489b(0x7,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8[_0x16631f(0x53c)])),_0x27489b(0x8,_0x8a1a57[_0x16631f(0x537)](_0x1a79c5)),_0x27489b(0x9,_0x8a1a57[_0x16631f(0xfc)]),_0x27489b(0xa,_0x8a1a57[_0x16631f(0x350)]),_0x27489b(0xb,_0x4b60ff[_0x16631f(0x136)]),_0x27489b(0xc,_0x8a1a57[_0x16631f(0x395)]),_0x27489b(0xd,_0x8a1a57['Optional'](_0x50fb0f))],_0x2728bd[_0x16631f(0x579)]);var _0x2006c5=Object[_0x16631f(0x162)],_0x1ea5c9=Object['getOwnPropertyDescriptor'],_0x2e35bf=(_0x4500bb,_0x35fd26,_0x6fe856,_0x25f871)=>{const _0x934f6d=_0x16631f;for(var _0x5b4524=_0x25f871>0x1?void 0x0:_0x25f871?_0x1ea5c9(_0x35fd26,_0x6fe856):_0x35fd26,_0x37d8cc=_0x4500bb[_0x934f6d(0x272)]-0x1,_0x22ad86;_0x37d8cc>=0x0;_0x37d8cc--)(_0x22ad86=_0x4500bb[_0x37d8cc])&&(_0x5b4524=(_0x25f871?_0x22ad86(_0x35fd26,_0x6fe856,_0x5b4524):_0x22ad86(_0x5b4524))||_0x5b4524);return _0x25f871&&_0x5b4524&&_0x2006c5(_0x35fd26,_0x6fe856,_0x5b4524),_0x5b4524;},_0x18ee26=(_0x4d64f0,_0x289d2f)=>(_0x261990,_0x258e6f)=>_0x289d2f(_0x261990,_0x258e6f,_0x4d64f0);_0x2728bd[_0x16631f(0x433)]=class extends _0x8a1a57['RxDisposable']{constructor(_0x737463,_0x1534ab,_0x3547d7){const _0x539ec2=_0x16631f;super(),_0x2a606e(this,'_entities',new Map()),_0x2a606e(this,_0x539ec2(0x45a),new _0x933215[(_0x539ec2(0x31e))]()),(this[_0x539ec2(0x264)]=_0x737463,this[_0x539ec2(0x41e)]=_0x1534ab,this[_0x539ec2(0x3e7)]=_0x3547d7,this[_0x539ec2(0x36a)]());}[_0x16631f(0x4a7)](){const _0x5212f3=_0x16631f;super[_0x5212f3(0x4a7)](),this[_0x5212f3(0x1e8)][_0x5212f3(0x236)](_0x1f8420=>_0x1f8420[_0x5212f3(0x4a7)]()),this[_0x5212f3(0x1e8)][_0x5212f3(0x4b6)]();}['getCollabEntity'](_0x161efb){const _0xed0ac2=_0x16631f;var _0x44c5c2;return(_0x44c5c2=this[_0xed0ac2(0x1e8)][_0xed0ac2(0x241)](_0x161efb))!=null?_0x44c5c2:null;}['getCollabEntity$'](_0xee6650){const _0x50c480=_0x16631f,_0x3542e0=this[_0x50c480(0x47b)](_0xee6650);return _0x3542e0?_0x933215['of'](_0x3542e0):this[_0x50c480(0x45a)]['pipe'](_0x478e49[_0x50c480(0x53f)](_0x1a4681=>_0x1a4681[_0x50c480(0x477)]===_0xee6650));}['_init'](){const _0x54fc5c=_0x16631f;this[_0x54fc5c(0x3e7)][_0x54fc5c(0x124)](_0x8a1a57['UniverInstanceType'][_0x54fc5c(0x32e)])[_0x54fc5c(0x4be)](_0x933215[_0x54fc5c(0x3d9)](this[_0x54fc5c(0x42d)]),_0x478e49['delay'](0x10))[_0x54fc5c(0x42c)](async _0x439d64=>{const _0x230184=_0x54fc5c,_0x24225d=_0x439d64[_0x230184(0x4ed)](),_0x22a4c6=await this[_0x230184(0x3fa)](_0x24225d,_0x4a6b81['UNIVER_SHEET']);this[_0x230184(0x1e8)][_0x230184(0x41f)](_0x24225d,_0x22a4c6);}),this[_0x54fc5c(0x3e7)]['getTypeOfUnitAdded$'](_0x8a1a57[_0x54fc5c(0x3e6)]['UNIVER_DOC'])[_0x54fc5c(0x4be)](_0x933215[_0x54fc5c(0x3d9)](this[_0x54fc5c(0x42d)]),_0x478e49[_0x54fc5c(0x10b)](0x10))[_0x54fc5c(0x4be)](_0x478e49[_0x54fc5c(0x53f)](_0x1ba080=>!_0x1ba080['getUnitId']()[_0x54fc5c(0x282)]('__')))[_0x54fc5c(0x42c)](async _0x4d398c=>{const _0x1e0224=_0x54fc5c,_0x29b8e4=_0x4d398c[_0x1e0224(0x4ed)](),_0x30db60=await this['_startCollaboration'](_0x29b8e4,_0x4a6b81[_0x1e0224(0x327)]);this['_entities']['set'](_0x29b8e4,_0x30db60);}),_0x933215[_0x54fc5c(0x116)](this[_0x54fc5c(0x3e7)][_0x54fc5c(0x3d7)](_0x8a1a57[_0x54fc5c(0x3e6)][_0x54fc5c(0x32e)]),this[_0x54fc5c(0x3e7)][_0x54fc5c(0x3d7)](_0x8a1a57[_0x54fc5c(0x3e6)][_0x54fc5c(0x327)]))[_0x54fc5c(0x4be)](_0x933215['takeUntil'](this[_0x54fc5c(0x42d)]))['subscribe'](_0xe29fcb=>{const _0x352fe2=_0x54fc5c,_0x706a8=_0xe29fcb['getUnitId'](),_0x550357=this[_0x352fe2(0x1e8)][_0x352fe2(0x241)](_0x706a8);_0x550357&&(_0x550357[_0x352fe2(0x4a7)](),this[_0x352fe2(0x1e8)][_0x352fe2(0x2eb)](_0x706a8));});}async[_0x16631f(0x3fa)](_0x3617b3,_0x18ee53){const _0x22b902=_0x16631f,_0x5a7b71=await this[_0x22b902(0x41e)][_0x22b902(0x5ab)](_0x3617b3),_0x256329=this[_0x22b902(0x264)][_0x22b902(0x28c)](this['_getCtorByUniverType'](_0x18ee53),_0x3617b3,_0x18ee53,_0x5a7b71);return await _0x256329['init'](),this[_0x22b902(0x45a)][_0x22b902(0x1dd)](_0x256329),_0x256329;}[_0x16631f(0x108)](_0x3c5313){const _0x4a6507=_0x16631f;switch(_0x3c5313){case _0x4a6b81[_0x4a6507(0x327)]:return _0x2728bd[_0x4a6507(0x1d5)];case _0x4a6b81['UNIVER_SHEET']:return _0x2728bd[_0x4a6507(0x579)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x3c5313);}}},_0x2728bd[_0x16631f(0x433)]=_0x2e35bf([_0x18ee26(0x0,_0x8a1a57['Inject'](_0x8a1a57[_0x16631f(0x562)])),_0x18ee26(0x1,_0x8a1a57[_0x16631f(0x537)](_0x2728bd['CollaborationSessionService'])),_0x18ee26(0x2,_0x8a1a57[_0x16631f(0x1db)])],_0x2728bd[_0x16631f(0x433)]);const _0x396dba=[_0x16631f(0x369),_0x16631f(0x4ab),_0x16631f(0x204),_0x16631f(0x35b),_0x16631f(0x572),_0x16631f(0x3c7)];class _0x4216fe extends _0x8a1a57[_0x16631f(0x490)]{constructor(){const _0x478aa6=_0x16631f;super(...arguments),_0x2a606e(this,_0x478aa6(0x334),new Map()),_0x2a606e(this,'_colorIndex',0x0);}[_0x16631f(0x302)](_0x333260){const _0x1db27d=_0x16631f;if(this['_assignedColors']['has'](_0x333260))return this[_0x1db27d(0x334)][_0x1db27d(0x241)](_0x333260);const _0x14fc4e=_0x396dba[this[_0x1db27d(0x448)]];return this[_0x1db27d(0x448)]=(this[_0x1db27d(0x448)]+0x1)%_0x396dba[_0x1db27d(0x272)],this['_assignedColors'][_0x1db27d(0x41f)](_0x333260,_0x14fc4e),_0x14fc4e;}}var _0x16ed30=Object['defineProperty'],_0x2232ac=Object[_0x16631f(0x57e)],_0x3d0dfc=(_0x5ca77,_0x18b10a,_0x398ee8,_0xb159c9)=>{for(var _0x4d4f55=_0xb159c9>0x1?void 0x0:_0xb159c9?_0x2232ac(_0x18b10a,_0x398ee8):_0x18b10a,_0x4bd4f6=_0x5ca77['length']-0x1,_0x1e816b;_0x4bd4f6>=0x0;_0x4bd4f6--)(_0x1e816b=_0x5ca77[_0x4bd4f6])&&(_0x4d4f55=(_0xb159c9?_0x1e816b(_0x18b10a,_0x398ee8,_0x4d4f55):_0x1e816b(_0x4d4f55))||_0x4d4f55);return _0xb159c9&&_0x4d4f55&&_0x16ed30(_0x18b10a,_0x398ee8,_0x4d4f55),_0x4d4f55;},_0xfda198=(_0x4ee329,_0x4b75e7)=>(_0x267ff0,_0x39fe8d)=>_0x4b75e7(_0x267ff0,_0x39fe8d,_0x4ee329);const _0x10c5cd=0x12c,_0x5adead=0x64;let _0x3e5c16=class extends _0x8a1a57[_0x16631f(0x228)]{constructor(_0x3c76c7,_0x35f34b,_0x1f48d9,_0x949b35,_0x196f1e,_0x261e43,_0x3b06f4,_0x341872,_0x37acbf){const _0x17505=_0x16631f;super(),_0x2a606e(this,_0x17505(0x17a),!0x1),_0x2a606e(this,'_init',!0x1),_0x2a606e(this,_0x17505(0x30f),new _0x933215['BehaviorSubject'](new Map())),_0x2a606e(this,_0x17505(0x146),this['_cursorInfo$']['asObservable']()),_0x2a606e(this,'_roomMembers$',new _0x933215[(_0x17505(0x1fd))]([])),_0x2a606e(this,'roomMembers$',this[_0x17505(0x409)][_0x17505(0x4be)](_0x933215[_0x17505(0x34e)](_0x10c5cd))),_0x2a606e(this,_0x17505(0x33a),_0x8a1a57[_0x17505(0x4fa)](_0x39f315=>{const _0x29d973=_0x17505,_0xae0991={'eventID':_0x27cfd8[_0x29d973(0x3e5)][_0x29d973(0x339)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x29d973(0x291)](),'selection':_0x35203a(_0x39f315)}};this[_0x29d973(0x1c8)][_0x29d973(0x2ba)](_0xae0991,this[_0x29d973(0x477)]);},_0x5adead)),(this['unitID']=_0x3c76c7,this[_0x17505(0x1c8)]=_0x35f34b,this['_injector']=_0x1f48d9,this[_0x17505(0x4d1)]=_0x949b35,this[_0x17505(0x154)]=_0x196f1e,this[_0x17505(0x278)]=_0x261e43,this[_0x17505(0x549)]=_0x3b06f4,this[_0x17505(0x3e7)]=_0x341872,this[_0x17505(0x475)]=_0x37acbf);}get[_0x16631f(0x468)](){const _0x514d21=_0x16631f;return this[_0x514d21(0x30f)]['getValue']();}get[_0x16631f(0x545)](){const _0x425467=_0x16631f;return this[_0x425467(0x409)][_0x425467(0x2f3)]();}[_0x16631f(0x4a7)](){const _0x1a9877=_0x16631f;super[_0x1a9877(0x4a7)](),this['_cursorInfo$'][_0x1a9877(0x1dd)](new Map()),this[_0x1a9877(0x30f)][_0x1a9877(0x495)](),this[_0x1a9877(0x409)][_0x1a9877(0x1dd)]([]),this['_roomMembers$'][_0x1a9877(0x495)]();}[_0x16631f(0x299)](){const _0x474f5a=_0x16631f;this[_0x474f5a(0x36a)]||(this[_0x474f5a(0x36a)]=!0x0,this[_0x474f5a(0x1c8)][_0x474f5a(0x482)][_0x474f5a(0x4be)](_0x933215['takeUntil'](this[_0x474f5a(0x42d)]))['subscribe'](_0x443e8c=>{const _0x8d9a16=_0x474f5a;_0x443e8c===_0x53eb3f['ONLINE']?this[_0x8d9a16(0x346)]():this[_0x8d9a16(0x176)]();}),this['_session'][_0x474f5a(0x197)][_0x474f5a(0x4be)](_0x933215[_0x474f5a(0x3d9)](this[_0x474f5a(0x42d)]))[_0x474f5a(0x42c)](_0x1ed82d=>{const _0x5c8a54=_0x474f5a,_0x42e22e=_0x1ed82d[_0x5c8a54(0x3dd)];_0x42e22e===_0x27cfd8['CollaborationEvent'][_0x5c8a54(0x339)]&&this[_0x5c8a54(0x172)](_0x1ed82d),_0x42e22e===_0x27cfd8[_0x5c8a54(0x3e5)][_0x5c8a54(0x214)]&&this[_0x5c8a54(0x2f4)](_0x1ed82d);}),this[_0x474f5a(0x14a)](this[_0x474f5a(0x475)][_0x474f5a(0x521)](_0x692576=>{const _0xb68e12=_0x474f5a,_0x62e334=_0x692576[_0xb68e12(0x238)];_0x62e334!=null&&this['_online']&&_0x692576['id']===_0x1d9e38[_0xb68e12(0x5b0)]['id']&&_0x62e334['unitId']===this[_0xb68e12(0x477)]&&_0x62e334[_0xb68e12(0x258)]===!0x1&&_0x62e334[_0xb68e12(0x308)][_0xb68e12(0x272)]>0x0&&this['_updateLocalCursor'](_0x62e334[_0xb68e12(0x308)]);})),this[_0x474f5a(0x278)]['collabCursorState$'][_0x474f5a(0x4be)](_0x933215[_0x474f5a(0x3d9)](this['dispose$']))[_0x474f5a(0x42c)](_0x12fe95=>{const _0x2f3117=_0x474f5a;if((_0x12fe95==null?void 0x0:_0x12fe95[_0x2f3117(0x477)])!==this[_0x2f3117(0x477)])return;const _0x5da0b3={'eventID':_0x27cfd8[_0x2f3117(0x3e5)][_0x2f3117(0x339)],'data':_0x12fe95};this[_0x2f3117(0x172)](_0x5da0b3);}),this[_0x474f5a(0x14a)](this[_0x474f5a(0x475)]['onCommandExecuted'](_0x4d4426=>{const _0x3b19aa=_0x474f5a;if(_0x4d4426[_0x3b19aa(0x238)]==null)return;const _0x51b6ff=_0x4d4426[_0x3b19aa(0x238)];if(_0x4d4426['id']!==_0x1d9e38['RichTextEditingMutation']['id']||_0x51b6ff[_0x3b19aa(0x151)]!==this[_0x3b19aa(0x477)])return;const _0x2a5fa8={'id':_0x3b19aa(0x1f7),'params':_0x51b6ff},_0x437223=this[_0x3b19aa(0x468)];for(const [_0x44bce0,_0x38d9b3]of _0x437223){const _0x52785c={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x38d9b3['ranges']}},_0x1ae9f0=this[_0x3b19aa(0x549)][_0x3b19aa(0x56a)](_0x2a5fa8,_0x52785c,!0x1);if(_0x27cfd8['isTransformMutationFailure'](_0x1ae9f0))throw _0x1ae9f0['error'];_0x437223['set'](_0x44bce0,{..._0x38d9b3,'ranges':_0x1ae9f0[_0x3b19aa(0x43e)][_0x3b19aa(0x238)]['textRanges']});}queueMicrotask(()=>{const _0x348c36=_0x3b19aa;this[_0x348c36(0x30f)][_0x348c36(0x1dd)](_0x437223);});})));}[_0x16631f(0x172)](_0x71e46d){const _0x22f921=_0x16631f;var _0x3b8c0e,_0x143a5a;const {memberID:_0x3e14e6,selection:_0x128138}=_0x71e46d['data'],_0x5e7a98=_0x40a456(_0x128138),_0x2319e4=(_0x143a5a=(_0x3b8c0e=this['_memberService'][_0x22f921(0x373)](this[_0x22f921(0x477)],_0x3e14e6))==null?void 0x0:_0x3b8c0e[_0x22f921(0x3be)])!=null?_0x143a5a:_0x22f921(0x14c),_0x402ef7={'color':this[_0x22f921(0x4d1)]['assignAColorForMemberID'](_0x3e14e6),'name':_0x2319e4,'ranges':_0x5e7a98},_0x104cb7=this[_0x22f921(0x468)];_0x104cb7[_0x22f921(0x41f)](_0x3e14e6,_0x402ef7),this[_0x22f921(0x30f)][_0x22f921(0x1dd)](_0x104cb7);}[_0x16631f(0x2f4)](_0x2e1cec){const _0x478776=_0x16631f,{memberID:_0x536253}=_0x2e1cec[_0x478776(0x140)],_0x54ecf4=this[_0x478776(0x468)];_0x54ecf4[_0x478776(0x2eb)](_0x536253),this[_0x478776(0x30f)][_0x478776(0x1dd)](_0x54ecf4);}[_0x16631f(0x346)](){const _0x964d47=_0x16631f;var _0x334483;if(this['_online']=!0x0,((_0x334483=this[_0x964d47(0x3e7)]['getFocusedUnit']())==null?void 0x0:_0x334483[_0x964d47(0x4ed)]())!==this['unitID'])return;const _0x176e56=this['_injector'][_0x964d47(0x241)](_0x1d9e38['DocSelectionManagerService'])[_0x964d47(0x494)]();Array['isArray'](_0x176e56)&&_0x176e56[_0x964d47(0x272)]>0x0&&this[_0x964d47(0x33a)](_0x176e56);}['_toggleOffline'](){const _0x5f3756=_0x16631f;this[_0x5f3756(0x17a)]=!0x1;}};_0x3e5c16=_0x3d0dfc([_0xfda198(0x2,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0xfda198(0x3,_0x8a1a57[_0x16631f(0x537)](_0x4216fe)),_0xfda198(0x4,_0x8a1a57['Inject'](_0x2728bd[_0x16631f(0x584)])),_0xfda198(0x5,_0x8a1a57[_0x16631f(0x537)](_0xc8790a)),_0xfda198(0x6,_0x27cfd8['ITransformService']),_0xfda198(0x7,_0x8a1a57[_0x16631f(0x1db)]),_0xfda198(0x8,_0x8a1a57['ICommandService'])],_0x3e5c16);var _0x32bf55=Object[_0x16631f(0x162)],_0x417f38=Object[_0x16631f(0x57e)],_0x4d089b=(_0x5ed7d4,_0x2a223d,_0x3676b9,_0x985c88)=>{const _0xba570e=_0x16631f;for(var _0x19f70d=_0x985c88>0x1?void 0x0:_0x985c88?_0x417f38(_0x2a223d,_0x3676b9):_0x2a223d,_0x539550=_0x5ed7d4[_0xba570e(0x272)]-0x1,_0x1370bd;_0x539550>=0x0;_0x539550--)(_0x1370bd=_0x5ed7d4[_0x539550])&&(_0x19f70d=(_0x985c88?_0x1370bd(_0x2a223d,_0x3676b9,_0x19f70d):_0x1370bd(_0x19f70d))||_0x19f70d);return _0x985c88&&_0x19f70d&&_0x32bf55(_0x2a223d,_0x3676b9,_0x19f70d),_0x19f70d;},_0x596c18=(_0x221bfc,_0x58b8b8)=>(_0x45b88a,_0x291aa6)=>_0x58b8b8(_0x45b88a,_0x291aa6,_0x221bfc);const _0x4a0010=0x12c,_0x54564a=0x64,_0x66474c=()=>{let _0x3d9a70=[],_0x407852=!0x1;return _0x72f2b2=>{const _0xeef5fc=_0x586f;_0x3d9a70[_0xeef5fc(0x203)](_0x72f2b2),_0x407852||(_0x407852=!0x0,setTimeout(()=>{const _0x1d0346=_0xeef5fc;_0x3d9a70[_0x1d0346(0x236)](_0x1dc9a0=>_0x1dc9a0()),_0x3d9a70=[],_0x407852=!0x1;}));};};let _0x2addec=class extends _0x8a1a57[_0x16631f(0x228)]{constructor(_0x41806a,_0x1dcef4,_0x259d97,_0x2bd2db,_0x286636,_0x1ecfa4,_0x179bf1,_0x2e6cd5){const _0x3d9c22=_0x16631f;super(),_0x2a606e(this,_0x3d9c22(0x17a),!0x1),_0x2a606e(this,_0x3d9c22(0x36a),!0x1),_0x2a606e(this,_0x3d9c22(0x30f),new _0x933215['BehaviorSubject'](new Map())),_0x2a606e(this,_0x3d9c22(0x146),this[_0x3d9c22(0x30f)][_0x3d9c22(0x525)]()),_0x2a606e(this,_0x3d9c22(0x409),new _0x933215['BehaviorSubject']([])),_0x2a606e(this,_0x3d9c22(0x31d),this['_roomMembers$'][_0x3d9c22(0x4be)](_0x933215[_0x3d9c22(0x34e)](_0x4a0010))),_0x2a606e(this,_0x3d9c22(0x33a),_0x8a1a57[_0x3d9c22(0x4fa)]((_0x1682dd,_0x3608df)=>{const _0x5ee9c4=_0x3d9c22,_0x59edfb={'eventID':_0x27cfd8[_0x5ee9c4(0x3e5)][_0x5ee9c4(0x339)],'data':{'unitID':this[_0x5ee9c4(0x477)],'memberID':this['_session'][_0x5ee9c4(0x291)](),'selection':_0x2f3a98[_0x5ee9c4(0x51c)](_0x1682dd,_0x3608df[_0x5ee9c4(0x513)])}};this['_session'][_0x5ee9c4(0x2ba)](_0x59edfb,this['unitID']);},_0x54564a)),(this['unitID']=_0x41806a,this[_0x3d9c22(0x1c8)]=_0x1dcef4,this[_0x3d9c22(0x264)]=_0x259d97,this['_colorAssignService']=_0x2bd2db,this[_0x3d9c22(0x154)]=_0x286636,this['_univerInstanceService']=_0x1ecfa4,this[_0x3d9c22(0x475)]=_0x179bf1,this[_0x3d9c22(0x38c)]=_0x2e6cd5);}get[_0x16631f(0x468)](){const _0x662ad3=_0x16631f;return this[_0x662ad3(0x30f)][_0x662ad3(0x2f3)]();}get[_0x16631f(0x545)](){const _0xaa6b2=_0x16631f;return this[_0xaa6b2(0x409)][_0xaa6b2(0x2f3)]();}[_0x16631f(0x4a7)](){const _0x12ae6e=_0x16631f;super[_0x12ae6e(0x4a7)](),this[_0x12ae6e(0x30f)][_0x12ae6e(0x1dd)](new Map()),this[_0x12ae6e(0x30f)]['complete'](),this[_0x12ae6e(0x409)][_0x12ae6e(0x1dd)]([]),this[_0x12ae6e(0x409)][_0x12ae6e(0x495)]();}[_0x16631f(0x299)](){const _0x48fef4=_0x16631f;this[_0x48fef4(0x36a)]||(this['_init']=!0x0,this['_session'][_0x48fef4(0x482)][_0x48fef4(0x4be)](_0x933215[_0x48fef4(0x3d9)](this['dispose$']))[_0x48fef4(0x42c)](_0x15c0f1=>{const _0x551f09=_0x48fef4;_0x15c0f1===_0x53eb3f[_0x551f09(0x173)]?this[_0x551f09(0x346)]():this['_toggleOffline']();}),this['_session'][_0x48fef4(0x197)]['pipe'](_0x933215[_0x48fef4(0x3d9)](this[_0x48fef4(0x42d)]))[_0x48fef4(0x42c)](_0x35fd0a=>{const _0x1701e3=_0x48fef4,_0x1d7aad=_0x35fd0a[_0x1701e3(0x3dd)];_0x1d7aad===_0x27cfd8[_0x1701e3(0x3e5)][_0x1701e3(0x339)]&&this[_0x1701e3(0x172)](_0x35fd0a),_0x1d7aad===_0x27cfd8[_0x1701e3(0x3e5)]['USERS_LEAVE']&&this[_0x1701e3(0x2f4)](_0x35fd0a);}),this[_0x48fef4(0x2e2)](),this[_0x48fef4(0x14a)](this['_commandService'][_0x48fef4(0x521)](_0x6c06d3=>{const _0x1b3233=_0x48fef4;if(this[_0x1b3233(0x17a)]&&_0x6c06d3['id']===_0x46f63a[_0x1b3233(0x51a)]['id']&&_0x6c06d3[_0x1b3233(0x238)]['unitId']===this[_0x1b3233(0x477)]){const _0x2277c1=_0x6c06d3['params'];this[_0x1b3233(0x33a)](_0x2277c1[_0x1b3233(0x4b1)],_0x2277c1[_0x1b3233(0x3f7)][0x0]);}})));}[_0x16631f(0x172)](_0x588126){const _0x3a4d72=_0x16631f;var _0x5d73c1,_0x25b71e;const {memberID:_0x110fcd,selection:_0x44cb81}=_0x588126[_0x3a4d72(0x140)],{sheetName:_0xb389b4,range:_0x577dde}=_0x2f3a98[_0x3a4d72(0x54d)](_0x44cb81),_0x5bba20={'name':(_0x25b71e=(_0x5d73c1=this[_0x3a4d72(0x154)][_0x3a4d72(0x373)](this['unitID'],_0x110fcd))==null?void 0x0:_0x5d73c1[_0x3a4d72(0x3be)])!=null?_0x25b71e:_0x3a4d72(0x14c),'range':this[_0x3a4d72(0x387)](_0xb389b4,_0x577dde),'sheetID':_0xb389b4,'color':this['_colorAssignService'][_0x3a4d72(0x302)](_0x110fcd),'selection':_0x44cb81},_0x2383bb=this[_0x3a4d72(0x468)];_0x2383bb['set'](_0x110fcd,_0x5bba20),this[_0x3a4d72(0x30f)][_0x3a4d72(0x1dd)](_0x2383bb);}[_0x16631f(0x2f4)](_0x46fcea){const _0x24c408=_0x16631f,{memberID:_0x3dcfb3}=_0x46fcea[_0x24c408(0x140)],_0x4f9a77=this['cursorInfo'];_0x4f9a77[_0x24c408(0x2eb)](_0x3dcfb3),this[_0x24c408(0x30f)][_0x24c408(0x1dd)](_0x4f9a77);}['_getMergeRange'](_0x3eec53,_0x4a10e2){const _0x4f2237=_0x16631f;var _0x2eb455,_0x14d8bd;const _0x173dca=(_0x14d8bd=(_0x2eb455=this[_0x4f2237(0x3e7)][_0x4f2237(0xf2)](this[_0x4f2237(0x477)]))==null?void 0x0:_0x2eb455[_0x4f2237(0x177)](_0x3eec53))==null?void 0x0:_0x14d8bd[_0x4f2237(0x330)]();return(_0x173dca==null?void 0x0:_0x173dca[_0x4f2237(0x2a3)](_0x359fc9=>_0x8a1a57['Rectangle']['contains'](_0x359fc9,_0x4a10e2)))||_0x4a10e2;}[_0x16631f(0x2e2)](){const _0xf53376=_0x16631f,_0x421929=new _0x8a1a57[(_0xf53376(0x4ae))](),_0x98775c=_0x66474c(),_0x5aae4e=()=>{const _0x334473=_0xf53376;_0x421929['dispose']();const _0x362e9e=(_0x3813bc,_0x511556,_0x183599,_0x191174)=>{const _0x140122=_0x586f;let _0x5cd251=[];switch(_0x3813bc['id']){case _0x46f63a[_0x140122(0x1f6)][_0x140122(0x21d)]:{_0x5cd251=_0x46f63a['handleDeleteRangeMoveLeft'](_0x3813bc,_0x191174);break;}case _0x46f63a[_0x140122(0x1f6)][_0x140122(0x34c)]:{_0x5cd251=_0x46f63a[_0x140122(0x3b0)](_0x3813bc,_0x191174);break;}case _0x46f63a['EffectRefRangId'][_0x140122(0x4fe)]:{_0x5cd251=_0x46f63a[_0x140122(0x455)](_0x3813bc,_0x191174);break;}case _0x46f63a[_0x140122(0x1f6)][_0x140122(0x1aa)]:{_0x5cd251=_0x46f63a[_0x140122(0x17c)](_0x3813bc,_0x191174);break;}case _0x46f63a[_0x140122(0x1f6)][_0x140122(0x478)]:{_0x5cd251=_0x46f63a['handleInsertRangeMoveRight'](_0x3813bc,_0x191174);break;}case _0x46f63a[_0x140122(0x1f6)][_0x140122(0x35d)]:{_0x5cd251=_0x46f63a[_0x140122(0x3ea)](_0x3813bc,_0x191174);break;}case _0x46f63a[_0x140122(0x1f6)][_0x140122(0x2ea)]:{_0x5cd251=_0x46f63a[_0x140122(0x43f)](_0x3813bc,_0x191174);break;}case _0x46f63a[_0x140122(0x1f6)][_0x140122(0x3c8)]:{_0x5cd251=_0x46f63a[_0x140122(0x234)](_0x3813bc,_0x191174);break;}case _0x46f63a[_0x140122(0x1f6)][_0x140122(0x22c)]:{_0x5cd251=_0x46f63a[_0x140122(0x4af)](_0x3813bc,_0x191174);break;}}const _0x634780=_0x46f63a[_0x140122(0x349)](_0x5cd251,_0x191174),_0x766f1e=this['cursorInfo'][_0x140122(0x241)](_0x511556);if(_0x766f1e&&_0x634780){const _0x3517a6={..._0x766f1e,'range':_0x634780};this[_0x140122(0x468)][_0x140122(0x41f)](_0x511556,_0x3517a6),_0x98775c(()=>{const _0xfd9298=_0x140122,_0x186d37=this[_0xfd9298(0x38c)][_0xfd9298(0x165)](_0x634780,_0x1a0438=>(_0x186d37['dispose'](),_0x362e9e(_0x1a0438,_0x511556,_0x183599,_0x634780)));_0x421929[_0xfd9298(0x1cb)](_0x186d37);});}return{'redos':[],'undos':[]};};this[_0x334473(0x468)][_0x334473(0x236)]((_0x2507a5,_0x49840d)=>{const _0xdaa186=_0x334473,{range:_0x4a9cfe,sheetID:_0x443fed}=_0x2507a5,_0x330b2b=this[_0xdaa186(0x38c)][_0xdaa186(0x165)](_0x4a9cfe,_0x3f7987=>(_0x330b2b['dispose'](),_0x362e9e(_0x3f7987,_0x49840d,_0x443fed,_0x4a9cfe)));_0x421929[_0xdaa186(0x1cb)](_0x330b2b);});};this['disposeWithMe'](_0x8a1a57[_0xf53376(0x438)](this[_0xf53376(0x30f)][_0xf53376(0x42c)](()=>{_0x5aae4e();})));}['_toggleOnline'](){const _0x4441d3=_0x16631f;var _0x49538c,_0x33350d;if(this[_0x4441d3(0x17a)]=!0x0,((_0x49538c=this[_0x4441d3(0x3e7)]['getFocusedUnit']())==null?void 0x0:_0x49538c[_0x4441d3(0x4ed)]())!==this['unitID'])return;const _0x1ba33f=(_0x33350d=this[_0x4441d3(0x264)][_0x4441d3(0x241)](_0x46f63a[_0x4441d3(0x1ff)])[_0x4441d3(0x2b2)]())==null?void 0x0:_0x33350d[0x0],_0x47dd0d=this[_0x4441d3(0x3e7)]['getCurrentUnitForType'](_0x8a1a57['UniverInstanceType'][_0x4441d3(0x32e)])[_0x4441d3(0x23a)]();_0x1ba33f&&_0x47dd0d&&this['_updateLocalCursor'](_0x47dd0d[_0x4441d3(0x3fb)](),_0x1ba33f);}[_0x16631f(0x176)](){const _0x4e30df=_0x16631f;this[_0x4e30df(0x17a)]=!0x1;}};_0x2addec=_0x4d089b([_0x596c18(0x2,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0x596c18(0x3,_0x8a1a57[_0x16631f(0x537)](_0x4216fe)),_0x596c18(0x4,_0x8a1a57[_0x16631f(0x537)](_0x2728bd[_0x16631f(0x584)])),_0x596c18(0x5,_0x8a1a57['IUniverInstanceService']),_0x596c18(0x6,_0x8a1a57[_0x16631f(0x350)]),_0x596c18(0x7,_0x8a1a57[_0x16631f(0x537)](_0x46f63a['RefRangeService']))],_0x2addec);var _0x7b1e38=Object[_0x16631f(0x162)],_0x179714=Object['getOwnPropertyDescriptor'],_0x348225=(_0x3b5edb,_0x2cccb5,_0x42f580,_0x280547)=>{for(var _0x23fc23=_0x280547>0x1?void 0x0:_0x280547?_0x179714(_0x2cccb5,_0x42f580):_0x2cccb5,_0xd406f8=_0x3b5edb['length']-0x1,_0x54bc04;_0xd406f8>=0x0;_0xd406f8--)(_0x54bc04=_0x3b5edb[_0xd406f8])&&(_0x23fc23=(_0x280547?_0x54bc04(_0x2cccb5,_0x42f580,_0x23fc23):_0x54bc04(_0x23fc23))||_0x23fc23);return _0x280547&&_0x23fc23&&_0x7b1e38(_0x2cccb5,_0x42f580,_0x23fc23),_0x23fc23;},_0x13bb34=(_0x5b427a,_0xb44787)=>(_0x5b4e99,_0x496596)=>_0xb44787(_0x5b4e99,_0x496596,_0x5b427a);let _0xafbc5d=class extends _0x8a1a57['RxDisposable']{constructor(_0x577227,_0x689280,_0x3a8ef7){const _0x42140d=_0x16631f;super(),_0x2a606e(this,_0x42140d(0x1e8),new Map()),_0x2a606e(this,'_entityInit$',new _0x933215[(_0x42140d(0x31e))]()),(this[_0x42140d(0x3e7)]=_0x577227,this[_0x42140d(0x264)]=_0x689280,this['_collabSessionService']=_0x3a8ef7,this['_init']());}['dispose'](){const _0x4be08e=_0x16631f;super[_0x4be08e(0x4a7)](),this[_0x4be08e(0x45a)][_0x4be08e(0x495)](),this[_0x4be08e(0x1e8)][_0x4be08e(0x236)](_0x46a1f0=>_0x46a1f0[_0x4be08e(0x4a7)]());}[_0x16631f(0x190)](_0xfb57f2){const _0x2ec30e=_0x16631f;return this[_0x2ec30e(0x1e8)][_0x2ec30e(0x295)](_0xfb57f2)?this['_entities'][_0x2ec30e(0x241)](_0xfb57f2)[_0x2ec30e(0x146)]:this[_0x2ec30e(0x45a)]['pipe'](_0x933215[_0x2ec30e(0x53f)](_0x25bdb0=>_0x25bdb0[_0x2ec30e(0x477)]===_0xfb57f2),_0x933215['switchMap'](_0x132338=>_0x132338[_0x2ec30e(0x146)]));}[_0x16631f(0x36a)](){const _0x1d2bf5=_0x16631f;this['_univerInstanceService'][_0x1d2bf5(0x124)](_0x8a1a57[_0x1d2bf5(0x3e6)]['UNIVER_SHEET'])['pipe'](_0x933215['takeUntil'](this['dispose$']))[_0x1d2bf5(0x42c)](async _0x54c0a2=>{const _0x28be3b=_0x1d2bf5,_0x3e79f6=_0x54c0a2[_0x28be3b(0x4ed)](),_0x5ea96a=await this[_0x28be3b(0x253)](_0x3e79f6);this['_entityInit$'][_0x28be3b(0x1dd)](_0x5ea96a),this[_0x28be3b(0x1e8)][_0x28be3b(0x41f)](_0x3e79f6,_0x5ea96a);}),this[_0x1d2bf5(0x3e7)][_0x1d2bf5(0x124)](_0x8a1a57[_0x1d2bf5(0x3e6)][_0x1d2bf5(0x327)])['pipe'](_0x933215['takeUntil'](this[_0x1d2bf5(0x42d)]))['pipe'](_0x933215[_0x1d2bf5(0x53f)](_0x5c0fbb=>!_0x5c0fbb[_0x1d2bf5(0x4ed)]()[_0x1d2bf5(0x282)]('__')))[_0x1d2bf5(0x42c)](async _0x5b01d1=>{const _0x5836ae=_0x1d2bf5,_0x394d96=_0x5b01d1[_0x5836ae(0x4ed)](),_0xaee2c4=await this['_startDocCollabCursor'](_0x394d96);this[_0x5836ae(0x45a)][_0x5836ae(0x1dd)](_0xaee2c4),this['_entities']['set'](_0x394d96,_0xaee2c4);}),_0x933215[_0x1d2bf5(0x116)](this[_0x1d2bf5(0x3e7)][_0x1d2bf5(0x3d7)](_0x8a1a57['UniverInstanceType'][_0x1d2bf5(0x327)]),this[_0x1d2bf5(0x3e7)][_0x1d2bf5(0x3d7)](_0x8a1a57['UniverInstanceType'][_0x1d2bf5(0x32e)]))['pipe'](_0x933215['takeUntil'](this[_0x1d2bf5(0x42d)]))['subscribe'](_0x155f7b=>{const _0x259c33=_0x1d2bf5,_0x1fae6a=_0x155f7b['getUnitId'](),_0x28b221=this[_0x259c33(0x1e8)]['get'](_0x1fae6a);_0x28b221&&(_0x28b221[_0x259c33(0x4a7)](),this[_0x259c33(0x1e8)]['delete'](_0x1fae6a));});}async[_0x16631f(0x253)](_0x3b5724){const _0x483753=_0x16631f,_0xcfe14e=await this[_0x483753(0x41e)][_0x483753(0x5ab)](_0x3b5724),_0x3cc599=this[_0x483753(0x264)][_0x483753(0x28c)](_0x2addec,_0x3b5724,_0xcfe14e);return _0x3cc599['init'](),_0x3cc599;}async['_startDocCollabCursor'](_0x36b1c0){const _0x235240=_0x16631f,_0x28c7eb=await this['_collabSessionService'][_0x235240(0x5ab)](_0x36b1c0),_0x4f11ed=this['_injector']['createInstance'](_0x3e5c16,_0x36b1c0,_0x28c7eb);return _0x4f11ed[_0x235240(0x299)](),_0x4f11ed;}};_0xafbc5d=_0x348225([_0x13bb34(0x0,_0x8a1a57[_0x16631f(0x1db)]),_0x13bb34(0x1,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0x13bb34(0x2,_0x8a1a57['Inject'](_0x2728bd[_0x16631f(0x37f)]))],_0xafbc5d);const _0x25bf11=0x14,_0x29dac1=0xc8,_0x3373c8=0x4,_0x35e041=0x5;function _0x30e00c(_0x48f9f5,_0x3d5092){const _0x94991a=_0x16631f;let {radius:_0x34d193,width:_0x113b5a,height:_0x5679f0}=_0x3d5092;_0x34d193=_0x34d193!=null?_0x34d193:0x0,_0x113b5a=_0x113b5a!=null?_0x113b5a:0x1e,_0x5679f0=_0x5679f0!=null?_0x5679f0:0x1e;let _0x42a5a5=0x0,_0x22f2ba=0x0,_0x5294ab=0x0;_0x42a5a5=_0x22f2ba=_0x5294ab=Math[_0x94991a(0x3ab)](_0x34d193,_0x113b5a/0x2,_0x5679f0/0x2),_0x48f9f5[_0x94991a(0x47a)](),_0x48f9f5[_0x94991a(0xf9)](_0x42a5a5,0x0),_0x48f9f5[_0x94991a(0x463)](_0x113b5a-_0x22f2ba,0x0),_0x48f9f5[_0x94991a(0x4f1)](_0x113b5a-_0x22f2ba,_0x22f2ba,_0x22f2ba,Math['PI']*0x3/0x2,0x0,!0x1),_0x48f9f5[_0x94991a(0x463)](_0x113b5a,_0x5679f0-_0x5294ab),_0x48f9f5[_0x94991a(0x4f1)](_0x113b5a-_0x5294ab,_0x5679f0-_0x5294ab,_0x5294ab,0x0,Math['PI']/0x2,!0x1),_0x48f9f5[_0x94991a(0x463)](0x0,_0x5679f0),_0x48f9f5[_0x94991a(0x463)](0x0,_0x42a5a5),_0x48f9f5['arc'](_0x42a5a5,_0x42a5a5,_0x42a5a5,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x48f9f5[_0x94991a(0x18d)](),_0x3d5092['fill']&&(_0x48f9f5[_0x94991a(0x314)](),_0x48f9f5[_0x94991a(0x381)]=_0x3d5092[_0x94991a(0x19e)],_0x3d5092[_0x94991a(0x207)]===_0x94991a(0x54f)?_0x48f9f5[_0x94991a(0x19e)](_0x94991a(0x54f)):_0x48f9f5['fill'](),_0x48f9f5[_0x94991a(0x122)]());}class _0xa8fdce extends _0x20e8c2[_0x16631f(0x383)]{constructor(_0x5b67c2,_0x1a6d73){const _0x27edf2=_0x16631f;super(_0x5b67c2,_0x1a6d73),_0x2a606e(this,_0x27edf2(0x384)),_0x2a606e(this,_0x27edf2(0x4fc)),(this[_0x27edf2(0x384)]=_0x1a6d73==null?void 0x0:_0x1a6d73['color'],this[_0x27edf2(0x4fc)]=_0x1a6d73==null?void 0x0:_0x1a6d73[_0x27edf2(0x4fc)]);}static[_0x16631f(0x138)](_0x297341,_0x15d967){const _0x571929=_0x16631f,{text:_0x5b4aef,color:_0x34c77a}=_0x15d967;_0x297341[_0x571929(0x314)](),_0x297341[_0x571929(0x274)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1f0245=_0x297341[_0x571929(0x526)](_0x5b4aef)[_0x571929(0x261)],_0x53e3ed=Math[_0x571929(0x3ab)](_0x1f0245+0x2*_0x3373c8,_0x29dac1);_0x30e00c(_0x297341,{'height':_0x25bf11,'radius':0x4,'width':_0x53e3ed,'fill':_0x34c77a,'evented':!0x1}),_0x297341['fillStyle']=_0x571929(0x18a);const _0x407b74=_0x3373c8,_0x546ee8=_0x25bf11-_0x35e041,_0x237dfa=_0x29dac1-0x2*_0x3373c8;if(_0x1f0245>_0x237dfa){let _0x38977d='',_0x5b9c44=0x0;for(const _0x3abf23 of _0x5b4aef){const _0x306ed1=_0x297341[_0x571929(0x526)](_0x3abf23)[_0x571929(0x261)];if(_0x5b9c44+_0x306ed1<=_0x237dfa-_0x297341['measureText'](_0x571929(0x4b5))[_0x571929(0x261)])_0x38977d+=_0x3abf23,_0x5b9c44+=_0x306ed1;else{_0x38977d+=_0x571929(0x4b5);break;}}_0x297341[_0x571929(0x29f)](_0x38977d,_0x407b74,_0x546ee8);}else _0x297341['fillText'](_0x5b4aef,_0x407b74,_0x546ee8);_0x297341[_0x571929(0x122)]();}[_0x16631f(0x2f5)](_0x45e6be){const _0x152255=_0x16631f;_0xa8fdce[_0x152255(0x138)](_0x45e6be,this);}}const _0x33dd88=_0x16631f(0x38f),_0x304c5f=_0x16631f(0x512),_0x55dc1a='collab-rect-range-',_0x50eb5c=0x6,_0x47433d=1.5,_0x29705f=0x4,_0x3a5ef5=1.5,_0x48e5e3='rgba(255,\x20255,\x20255,\x200.01)';class _0x1e3e29{constructor(_0x320322,_0x4bdb63,_0x7baf4d,_0x20393f){const _0x497c22=_0x16631f;_0x2a606e(this,_0x497c22(0x444),[]),_0x2a606e(this,_0x497c22(0x4a1),null),_0x2a606e(this,_0x497c22(0x16e),null),_0x2a606e(this,_0x497c22(0x127),null),_0x2a606e(this,_0x497c22(0x4b0),null),_0x2a606e(this,_0x497c22(0xfb),null),(this[_0x497c22(0x3d3)]=_0x320322,this[_0x497c22(0x3ef)]=_0x4bdb63,this[_0x497c22(0x547)]=_0x7baf4d,this[_0x497c22(0x239)]=_0x20393f,this[_0x497c22(0x432)]());}set[_0x16631f(0x212)](_0x2ae8c2){const _0x52f4a1=_0x16631f;_0x2ae8c2?(this['_anchorDot']&&this[_0x52f4a1(0x127)][_0x52f4a1(0x192)](),this[_0x52f4a1(0x16e)]&&this['_textBubble']['show']()):(this['_anchorDot']&&this[_0x52f4a1(0x127)][_0x52f4a1(0x354)](),this['_textBubble']&&this[_0x52f4a1(0x16e)][_0x52f4a1(0x192)]());}['dispose'](){const _0x204ccf=_0x16631f;for(const _0x4b1482 of this[_0x204ccf(0x444)])_0x4b1482[_0x204ccf(0x4a7)]();this[_0x204ccf(0x16e)]&&this[_0x204ccf(0x16e)][_0x204ccf(0x4a7)](),this[_0x204ccf(0x127)]&&this['_anchorDot'][_0x204ccf(0x4a7)](),this['_anchor']&&this[_0x204ccf(0x4a1)]['dispose'](),this[_0x204ccf(0xfb)]&&this[_0x204ccf(0xfb)]();}['_render'](){const _0x14056e=_0x16631f;var _0x1deb4b;const {_docSkeleton:_0x3490d3,_document:_0x22c8a7}=this,{color:_0x3581ce,name:_0x3d0b77,ranges:_0x2d14ce}=this[_0x14056e(0x3d3)],_0xf19473=_0x22c8a7['getOffsetConfig'](),{docsLeft:_0xef00ff,docsTop:_0xe9d7c3}=_0xf19473,_0x52fee7=new _0x473dea[(_0x14056e(0x230))](_0xf19473,_0x3490d3);for(const {startOffset:_0xf61212,endOffset:_0x48e9d3,rangeType:_0x28c569,segmentId:_0x534145,segmentPage:_0xde6a9b,collapsed:_0xa3a2a7,isActive:_0x566f1a}of _0x2d14ce){const _0x495af3=_0x3490d3['findNodePositionByCharIndex'](_0xf61212,!0x0,_0x534145,_0xde6a9b);let _0x3b9a46=_0x3490d3[_0x14056e(0x2bc)](_0x48e9d3,!0x0,_0x534145,_0xde6a9b);if(_0x3b9a46==null&&(_0x3b9a46=_0x3490d3[_0x14056e(0x2bc)](_0x48e9d3-0x1,!0x1,_0x534145,_0xde6a9b)),_0x566f1a){const {contentBoxPointGroup:_0x13d350}=_0x52fee7[_0x14056e(0x556)](_0x3b9a46,_0x3b9a46);if(_0x13d350[_0x14056e(0x272)]===0x0)continue;this[_0x14056e(0x13a)](_0x3581ce,_0x13d350,_0xef00ff,_0xe9d7c3,_0x3d0b77),this['_eventUnsubscribe']=this[_0x14056e(0x259)]();}if(_0x495af3&&_0x3b9a46){if(_0x28c569===_0x8a1a57[_0x14056e(0x567)][_0x14056e(0x30c)]){const _0x14af58=new _0x473dea[(_0x14056e(0x517))](_0xf19473,_0x3490d3),{pointGroup:_0x305d56}=(_0x1deb4b=_0x14af58['getRangePointData'](_0x495af3,_0x3b9a46))!=null?_0x1deb4b:{};if(_0x305d56==null||_0x305d56['length']===0x0)continue;this[_0x14056e(0x2ed)](_0x3581ce,_0x305d56,_0xef00ff,_0xe9d7c3);}else{if(!_0xa3a2a7){const {borderBoxPointGroup:_0xeefdeb}=_0x52fee7[_0x14056e(0x556)](_0x495af3,_0x3b9a46);if(_0xeefdeb[_0x14056e(0x272)]===0x0)continue;this[_0x14056e(0x4d9)](_0x3581ce,_0xeefdeb,_0xef00ff,_0xe9d7c3);}}}}}[_0x16631f(0x13a)](_0x431144,_0x1a0f00,_0x28b285,_0x3596ef,_0x11989d){const _0x5743a8=_0x16631f,_0x485a11=this['_getAnchorBounding'](_0x1a0f00),{left:_0x2c2d54,top:_0x4b3dcc,height:_0x4fa9db}=_0x485a11,_0x5595cb=this['_getScale'](),_0x13d35d=_0x3a5ef5/_0x5595cb,_0x9bb713=new _0x20e8c2[(_0x5743a8(0x20d))](_0x33dd88+_0x8a1a57[_0x5743a8(0x435)][_0x5743a8(0x293)](_0x50eb5c),{'left':_0x2c2d54+_0x28b285-_0x13d35d,'top':_0x4b3dcc+_0x3596ef,'height':_0x4fa9db,'width':_0x47433d,'fill':_0x431144||_0x20e8c2[_0x5743a8(0x420)](_0x8a1a57['COLORS'][_0x5743a8(0x2b7)],0x0),'strokeWidth':_0x13d35d,'stroke':_0x48e5e3,'evented':!0x0});this[_0x5743a8(0x4a1)]=_0x9bb713,this[_0x5743a8(0x3ef)]['addObject'](_0x9bb713,_0x473dea[_0x5743a8(0x285)]);const _0x16c801=new _0x20e8c2[(_0x5743a8(0x20d))](_0x33dd88+_0x8a1a57['Tools']['generateRandomId'](_0x50eb5c),{'left':_0x2c2d54+_0x28b285-_0x13d35d,'top':_0x4b3dcc+_0x3596ef-_0x29705f/0x2,'height':_0x29705f,'width':_0x29705f,'fill':_0x431144||_0x20e8c2['getColor'](_0x8a1a57[_0x5743a8(0x56b)][_0x5743a8(0x2b7)],0x0),'strokeWidth':0x0,'stroke':_0x431144||_0x20e8c2[_0x5743a8(0x420)](_0x8a1a57[_0x5743a8(0x56b)]['black'],0x0),'evented':!0x1});this[_0x5743a8(0x127)]=_0x16c801,this[_0x5743a8(0x3ef)][_0x5743a8(0x144)](_0x16c801,_0x473dea['TEXT_RANGE_LAYER_INDEX']);const _0x4aedba=new _0xa8fdce(_0x33dd88+_0x8a1a57[_0x5743a8(0x435)][_0x5743a8(0x293)](_0x50eb5c),{'left':_0x2c2d54+_0x28b285-_0x13d35d,'top':_0x4b3dcc+_0x3596ef-_0x25bf11,'text':_0x11989d,'color':_0x431144});this['_textBubble']=_0x4aedba,this[_0x5743a8(0x3ef)]['addObject'](_0x4aedba,_0x473dea[_0x5743a8(0x285)]),this[_0x5743a8(0x212)]=!0x1;}['_handleHover'](){const _0x1da900=_0x16631f,_0xe901d=this['_anchor'][_0x1da900(0x1b7)]['subscribeEvent'](()=>{const _0x4e602e=_0x1da900;this[_0x4e602e(0x212)]=!0x0;}),_0x10357a=this[_0x1da900(0x4a1)][_0x1da900(0x38e)][_0x1da900(0x4cc)](()=>{const _0x9e638f=_0x1da900;this[_0x9e638f(0x4b0)]&&clearTimeout(this['_hideTimer']),this[_0x9e638f(0x4b0)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1b8dd4=_0x1da900;_0xe901d[_0x1b8dd4(0x42a)](),_0x10357a['unsubscribe']();};}[_0x16631f(0x4d9)](_0x32c540,_0xe5d5d,_0x233197,_0x9c68ac){const _0x18f495=_0x16631f,_0x4be7ac=new _0x8a1a57['ColorKit'](_0x32c540)['setAlpha'](0.2)[_0x18f495(0x47e)](),_0x5b0e29=new _0x20e8c2[(_0x18f495(0x126))](_0x304c5f+_0x8a1a57[_0x18f495(0x435)][_0x18f495(0x293)](_0x50eb5c),{'pointsGroup':_0xe5d5d,'fill':_0x4be7ac||_0x20e8c2[_0x18f495(0x420)](_0x8a1a57[_0x18f495(0x56b)]['black'],0.2),'left':_0x233197,'top':_0x9c68ac,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x18f495(0x444)]['push'](_0x5b0e29),this[_0x18f495(0x3ef)][_0x18f495(0x144)](_0x5b0e29,_0x473dea[_0x18f495(0x285)]);}[_0x16631f(0x2ed)](_0x52a2d1,_0x4a7140,_0x3067b8,_0x5c687e){const _0x5909cb=_0x16631f,_0x568463=new _0x8a1a57['ColorKit'](_0x52a2d1)[_0x5909cb(0x504)](0.2)[_0x5909cb(0x47e)](),_0x46cb00=new _0x20e8c2['RegularPolygon'](_0x55dc1a+_0x8a1a57[_0x5909cb(0x435)][_0x5909cb(0x293)](_0x50eb5c),{'pointsGroup':_0x4a7140,'fill':_0x568463||_0x20e8c2[_0x5909cb(0x420)](_0x8a1a57[_0x5909cb(0x56b)]['black'],0.2),'left':_0x3067b8,'top':_0x5c687e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5909cb(0x444)][_0x5909cb(0x203)](_0x46cb00),this['_scene'][_0x5909cb(0x144)](_0x46cb00,_0x473dea[_0x5909cb(0x285)]);}[_0x16631f(0x22b)](_0x36fb6d){const _0xcd2b1f=_0x36fb6d[0x0],_0x429894=_0xcd2b1f[0x0],_0x3c2186=_0xcd2b1f[0x2],{x:_0x4ac937,y:_0x59da05}=_0x429894,{x:_0x43eff2,y:_0x38ae28}=_0x3c2186;return{'left':_0x4ac937,'top':_0x59da05,'width':_0x43eff2-_0x4ac937,'height':_0x38ae28-_0x59da05};}['_getScale'](){const _0x505206=_0x16631f,{scaleX:_0x2cd04b,scaleY:_0x200fe4}=this[_0x505206(0x3ef)][_0x505206(0x1e9)]();return Math['max'](_0x2cd04b,_0x200fe4);}}var _0x41b970=Object['defineProperty'],_0x2d4a8f=Object[_0x16631f(0x57e)],_0x49b450=(_0xf19861,_0x3f1772,_0x51c014,_0x29d85b)=>{const _0x3a43b3=_0x16631f;for(var _0xc8df9e=_0x29d85b>0x1?void 0x0:_0x29d85b?_0x2d4a8f(_0x3f1772,_0x51c014):_0x3f1772,_0x22339e=_0xf19861[_0x3a43b3(0x272)]-0x1,_0x1f633d;_0x22339e>=0x0;_0x22339e--)(_0x1f633d=_0xf19861[_0x22339e])&&(_0xc8df9e=(_0x29d85b?_0x1f633d(_0x3f1772,_0x51c014,_0xc8df9e):_0x1f633d(_0xc8df9e))||_0xc8df9e);return _0x29d85b&&_0xc8df9e&&_0x41b970(_0x3f1772,_0x51c014,_0xc8df9e),_0xc8df9e;},_0xbe7f47=(_0x358eca,_0x1d0d43)=>(_0x477363,_0x3a41b6)=>_0x1d0d43(_0x477363,_0x3a41b6,_0x358eca);let _0x155007=class extends _0x8a1a57[_0x16631f(0x228)]{constructor(_0x297700,_0x3848bb,_0x4b8653,_0xbcf0db,_0x3f94da){const _0x358a20=_0x16631f;super(),_0x2a606e(this,_0x358a20(0x2e5),[]),_0x2a606e(this,_0x358a20(0x32f),[]),(this[_0x358a20(0x2c2)]=_0x297700,this[_0x358a20(0x465)]=_0x3848bb,this[_0x358a20(0x2d4)]=_0x4b8653,this[_0x358a20(0x475)]=_0xbcf0db,this[_0x358a20(0x14e)]=_0x3f94da,this['_init']());}[_0x16631f(0x36a)](){const _0x3248fe=_0x16631f,_0x503273=this[_0x3248fe(0x2c2)][_0x3248fe(0x151)],_0x2cf5b1=this[_0x3248fe(0x465)];this[_0x3248fe(0x14a)](_0x933215['combineLatest']([this[_0x3248fe(0x2d4)][_0x3248fe(0x190)](_0x503273),this['_themeService'][_0x3248fe(0x45f)]])['pipe'](_0x478e49[_0x3248fe(0x2ca)](([_0x29a9f0,_0x2aa9cd])=>({'skeleton':_0x2cf5b1[_0x3248fe(0x19c)](),'cursors':[..._0x29a9f0[_0x3248fe(0x1f3)]()][_0x3248fe(0x427)](_0xa1f421=>({..._0xa1f421,'color':_0x2aa9cd[_0xa1f421[_0x3248fe(0x384)]]}))})))['subscribe'](_0x11c0d3=>{const _0x3f42db=_0x3248fe;if(this[_0x3f42db(0x4ec)](),_0x11c0d3){const {skeleton:_0x114e85,cursors:_0x221db5}=_0x11c0d3;this[_0x3f42db(0x32a)](_0x114e85,_0x221db5);}})),this[_0x3248fe(0x181)](),this[_0x3248fe(0x15b)]();}['_updateCollabCursors'](_0x284d35,_0x3a7479){const _0x211917=_0x16631f,{scene:_0x485671,mainComponent:_0x523e58}=this[_0x211917(0x2c2)],_0x578d05=_0x3a7479[_0x211917(0x2ca)](_0x500387=>new _0x1e3e29(_0x500387,_0x485671,_0x284d35,_0x523e58));this[_0x211917(0x2e5)]=_0x578d05,this[_0x211917(0x32f)]=_0x3a7479;}[_0x16631f(0x104)](){const _0x5e38b5=_0x16631f;this['_removeCollabCursors']();const {scene:_0x5a5ad1,mainComponent:_0x139ff6}=this[_0x5e38b5(0x2c2)],_0x512856=this[_0x5e38b5(0x465)]['getSkeleton'](),_0x3f491a=this[_0x5e38b5(0x32f)][_0x5e38b5(0x2ca)](_0x380a1a=>new _0x1e3e29(_0x380a1a,_0x5a5ad1,_0x512856,_0x139ff6));this['_cursorShapes']=_0x3f491a;}[_0x16631f(0x4ec)](){const _0x1d2a36=_0x16631f;this['_cursorShapes']['forEach'](_0x3bd1fb=>_0x3bd1fb[_0x1d2a36(0x4a7)]()),this[_0x1d2a36(0x2e5)]=[];}['_initCommandExecutedListener'](){const _0x2d98d4=_0x16631f,_0x5c7530=[_0x473dea['SetDocZoomRatioOperation']['id']];this[_0x2d98d4(0x14a)](this[_0x2d98d4(0x475)]['onCommandExecuted'](_0x305674=>{const _0xca3711=_0x2d98d4;_0x5c7530[_0xca3711(0x41a)](_0x305674['id'])&&_0x305674['params'][_0xca3711(0x151)]===this[_0xca3711(0x2c2)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x16631f(0x181)](){const _0x351ba7=_0x16631f;this['disposeWithMe'](_0x8a1a57[_0x351ba7(0x399)](this[_0x351ba7(0x2c2)][_0x351ba7(0x3e1)]['onTransformChange$'])[_0x351ba7(0x4be)](_0x478e49[_0x351ba7(0x53f)](_0x17c490=>_0x17c490[_0x351ba7(0x49b)]===_0x20e8c2[_0x351ba7(0x59a)]['resize']),_0x478e49['throttleTime'](0x10))[_0x351ba7(0x42c)](()=>{const _0x295624=_0x351ba7;this[_0x295624(0x104)]();}));}};_0x155007=_0x49b450([_0xbe7f47(0x1,_0x8a1a57[_0x16631f(0x537)](_0x1d9e38[_0x16631f(0x27f)])),_0xbe7f47(0x2,_0x8a1a57[_0x16631f(0x537)](_0xafbc5d)),_0xbe7f47(0x3,_0x8a1a57[_0x16631f(0x350)]),_0xbe7f47(0x4,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x5a8)]))],_0x155007);const _0x1375a3=0x1,_0x2a9aa8=1.5;class _0x2a2a49 extends _0x20e8c2[_0x16631f(0x383)]{constructor(_0x337609,_0x587d5a){const _0x5075f0=_0x16631f;super(_0x337609,_0x587d5a),_0x2a606e(this,_0x5075f0(0x491)),_0x2a606e(this,_0x5075f0(0x352),!0x1),_0x2a606e(this,_0x5075f0(0x1c9)),_0x2a606e(this,_0x5075f0(0x300),''),_0x2a606e(this,_0x5075f0(0x33f),_0x5075f0(0x20f)),_0x2a606e(this,_0x5075f0(0x1ed)),(_0x587d5a&&this['setShapeProps'](_0x587d5a),this[_0x5075f0(0x1b7)][_0x5075f0(0x4cc)](()=>this[_0x5075f0(0x58e)]({'hovered':!0x0})),this[_0x5075f0(0x38e)]['subscribeEvent'](()=>this[_0x5075f0(0x58e)]({'hovered':!0x1})));}[_0x16631f(0x58e)](_0x425029){const _0x33931f=_0x16631f;var _0x2c5647,_0x4a8bc7,_0x344431,_0x288387,_0x19440d,_0x1fbfca;this[_0x33931f(0x491)]=(_0x2c5647=_0x425029[_0x33931f(0x384)])!=null?_0x2c5647:this['_color'],this[_0x33931f(0x352)]=(_0x4a8bc7=_0x425029[_0x33931f(0x329)])!=null?_0x4a8bc7:this[_0x33931f(0x352)],this[_0x33931f(0x1c9)]=(_0x344431=_0x425029['range'])!=null?_0x344431:this[_0x33931f(0x1c9)],this['_name']=(_0x288387=_0x425029[_0x33931f(0x3be)])!=null?_0x288387:this['_name'],this[_0x33931f(0x33f)]=(_0x19440d=_0x425029['labelPosition'])!=null?_0x19440d:this[_0x33931f(0x33f)],this['_backgroundColor']=(_0x1fbfca=_0x425029[_0x33931f(0x35f)])!=null?_0x1fbfca:this[_0x33931f(0x1ed)],this['transformByState']({'width':_0x425029['width'],'height':_0x425029[_0x33931f(0x143)]});}[_0x16631f(0x5a0)](_0xf600ae){const _0x6fd1f=_0x16631f,{row:_0x1277cb,column:_0x22ba8f}=_0xf600ae;if(_0x1277cb>=this['_range'][_0x6fd1f(0x599)]&&_0x1277cb<=this[_0x6fd1f(0x1c9)][_0x6fd1f(0x39a)]&&_0x22ba8f>=this['_range'][_0x6fd1f(0x3d4)]&&_0x22ba8f<=this[_0x6fd1f(0x1c9)][_0x6fd1f(0x4e5)]){this[_0x6fd1f(0x58e)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x421ae2){return!0x1;}[_0x16631f(0x2f5)](_0x4e15c9){const _0x5a0e18=_0x16631f;_0x20e8c2[_0x5a0e18(0x20d)]['drawWith'](_0x4e15c9,{'width':this[_0x5a0e18(0x261)],'height':this[_0x5a0e18(0x143)],'strokeWidth':_0x2a9aa8,'stroke':this[_0x5a0e18(0x491)],'evented':!0x1,'fill':this[_0x5a0e18(0x1ed)]}),this[_0x5a0e18(0x352)]&&(_0x4e15c9['save'](),_0x4e15c9[_0x5a0e18(0x182)](0x1,0x0,0x0,0x1,this[_0x5a0e18(0x261)],this[_0x5a0e18(0x33f)]==='bottom'?0x0:-_0x25bf11),_0xa8fdce[_0x5a0e18(0x138)](_0x4e15c9,{'text':this[_0x5a0e18(0x300)],'color':this[_0x5a0e18(0x491)]}),_0x4e15c9[_0x5a0e18(0x122)]());}}var _0x2378ae=Object['defineProperty'],_0x402823=Object[_0x16631f(0x57e)],_0x367ec0=(_0x5f528d,_0x4bc02c,_0x3a5022,_0x29cd2a)=>{const _0x2d33e8=_0x16631f;for(var _0x4fdcf5=_0x29cd2a>0x1?void 0x0:_0x29cd2a?_0x402823(_0x4bc02c,_0x3a5022):_0x4bc02c,_0x22ac0d=_0x5f528d[_0x2d33e8(0x272)]-0x1,_0xf72894;_0x22ac0d>=0x0;_0x22ac0d--)(_0xf72894=_0x5f528d[_0x22ac0d])&&(_0x4fdcf5=(_0x29cd2a?_0xf72894(_0x4bc02c,_0x3a5022,_0x4fdcf5):_0xf72894(_0x4fdcf5))||_0x4fdcf5);return _0x29cd2a&&_0x4fdcf5&&_0x2378ae(_0x4bc02c,_0x3a5022,_0x4fdcf5),_0x4fdcf5;},_0x26020b=(_0x51f9e6,_0x23a567)=>(_0x4f0cc5,_0x4ce40d)=>_0x23a567(_0x4f0cc5,_0x4ce40d,_0x51f9e6);const _0x3a7d47=0x1389;let _0x49e258=class extends _0x8a1a57[_0x16631f(0x228)]{constructor(_0x28ac40,_0x26b6b7,_0x55f6c8,_0x18ecc5){const _0x15093f=_0x16631f;super(),_0x2a606e(this,_0x15093f(0x32f),new Set()),_0x2a606e(this,'_lastPointer',null),(this['_context']=_0x28ac40,this[_0x15093f(0x3f2)]=_0x26b6b7,this[_0x15093f(0x2d4)]=_0x55f6c8,this[_0x15093f(0x14e)]=_0x18ecc5,this[_0x15093f(0x36a)]());}[_0x16631f(0x36a)](){const _0x1272c8=_0x16631f;this['_sheetSkeletonManagerService'][_0x1272c8(0x269)][_0x1272c8(0x4be)](_0x478e49[_0x1272c8(0x3d9)](this['dispose$']),_0x478e49[_0x1272c8(0x3e8)](_0x44b2fb=>{const _0x13380a=_0x1272c8;if(_0x44b2fb){const _0x4aa70e=_0x44b2fb['sheetId'];return _0x933215[_0x13380a(0x128)](this[_0x13380a(0x2d4)]['getCollabCursors$'](this[_0x13380a(0x2c2)][_0x13380a(0x151)]),this['_themeService']['currentTheme$'])[_0x13380a(0x4be)](_0x478e49['map'](([_0x1648a9,_0x1b612a])=>{const _0x392640=_0x13380a,_0x4ba819=new Map();return _0x1648a9[_0x392640(0x236)]((_0x1905e0,_0x2e8dab)=>{const _0x9850d1=_0x392640;if(_0x1905e0['sheetID']===_0x4aa70e){const _0x15785b={..._0x1905e0};_0x15785b[_0x9850d1(0x384)]=_0x1b612a[_0x1905e0[_0x9850d1(0x384)]],_0x4ba819['set'](_0x2e8dab,_0x15785b);}}),{'skeleton':_0x44b2fb,'cursors':_0x4ba819};}));}return _0x933215['of']({'skeleton':null,'cursors':new Map()});}))[_0x1272c8(0x42c)](({skeleton:_0x443f75,cursors:_0x2aeee2})=>{const _0x316fbe=_0x1272c8;this[_0x316fbe(0x4ec)](),_0x443f75&&this[_0x316fbe(0x32a)](_0x443f75,_0x2aeee2);}),this[_0x1272c8(0x3f2)][_0x1272c8(0x269)][_0x1272c8(0x42c)](_0x948fd0=>{const _0x45a30d=_0x1272c8;if(_0x948fd0==null)return;const {skeleton:_0xc7c56e}=_0x948fd0,{scene:_0x3aef1f}=this['_context'];_0x3aef1f[_0x45a30d(0x25f)][_0x45a30d(0x4cc)](_0x8a1a57['debounce'](_0x42c46e=>{const _0x152ec5=_0x45a30d;var _0x46b2d6,_0x1adfe1;const {offsetX:_0xcede42,offsetY:_0x5e3308}=_0x42c46e,{x:_0xe6b7ce,y:_0x2916b1}=_0x3aef1f[_0x152ec5(0x169)](_0x20e8c2[_0x152ec5(0x4da)][_0x152ec5(0x3ff)]([_0xcede42,_0x5e3308])),{scaleX:_0x3364df,scaleY:_0x3874c2}=_0x3aef1f[_0x152ec5(0x1e9)](),_0x1d5848=_0x3aef1f[_0x152ec5(0x1e5)](_0x3ba744[_0x152ec5(0x28b)]['VIEW_MAIN']),_0x1ae18a=_0x3aef1f[_0x152ec5(0x163)](_0x20e8c2[_0x152ec5(0x4da)]['FromArray']([_0xe6b7ce,_0x2916b1]),_0x1d5848),_0x528b5c=_0xc7c56e[_0x152ec5(0x4ba)](_0xcede42,_0x5e3308,_0x3364df,_0x3874c2,_0x1ae18a);((_0x46b2d6=this[_0x152ec5(0x13c)])==null?void 0x0:_0x46b2d6[_0x152ec5(0x413)])===_0x528b5c[_0x152ec5(0x413)]&&((_0x1adfe1=this['_lastPointer'])==null?void 0x0:_0x1adfe1[_0x152ec5(0x19b)])===_0x528b5c['row']||this[_0x152ec5(0x32f)][_0x152ec5(0x236)](_0x133b8b=>{const _0x48ce4=_0x152ec5;_0x133b8b[_0x48ce4(0x5a0)](_0x528b5c);});},0x64));});}[_0x16631f(0x32a)](_0x4b40b8,_0x5b7f4a){const _0x419f53=_0x16631f;var _0x4bccfd;const _0x55b4d7=(_0x4bccfd=this[_0x419f53(0x3f2)][_0x419f53(0x168)]())==null?void 0x0:_0x4bccfd[_0x419f53(0x49e)];if(!_0x55b4d7)return;const _0x483cad=this[_0x419f53(0x211)]();if(!_0x483cad)return;this[_0x419f53(0x32f)][_0x419f53(0x236)](_0x4f20a5=>{const _0x376d1d=_0x419f53;_0x4f20a5[_0x376d1d(0x4bb)]();});const {scene:_0x2ae405}=_0x483cad,_0x212b7d=_0x599b82(Array['from'](_0x5b7f4a[_0x419f53(0x1f3)]()))[_0x419f53(0x2ca)](_0x264b00=>{const _0xbe63a6=_0x419f53,{color:_0x28f869,range:_0x4235bb,name:_0x38fbee,selection:_0x2881bf,sheetID:_0x441ce0}=_0x264b00,{startColumn:_0x2c25e5,startRow:_0x40fd68,endColumn:_0x55a87d,endRow:_0x3b7019}=_0x4235bb,_0x109f3b=_0x3ba744['getCoordByCell'](_0x40fd68,_0x2c25e5,_0x2ae405,_0x55b4d7),_0x2a7adf=_0x3ba744['getCoordByCell'](_0x3b7019,_0x55a87d,_0x2ae405,_0x55b4d7),{columnHeaderHeightAndMarginTop:_0x47e3c2}=_0x55b4d7,{startX:_0x5e6344,startY:_0xbe0879}=_0x109f3b,{endX:_0x2a833c,endY:_0x478d82}=_0x2a7adf,_0x55be59=_0x2a833c-_0x5e6344,_0x22ac23=_0x478d82-_0xbe0879,_0xaaf372={'labelPosition':_0xbe0879-_0x47e3c2>=_0x25bf11?_0xbe63a6(0x20f):_0xbe63a6(0x1a7),'sheetID':_0x441ce0,'range':_0x4235bb,'color':_0x28f869,'name':_0x38fbee,'selection':_0x2881bf,'left':_0x5e6344,'top':_0xbe0879,'width':_0x55be59,'height':_0x22ac23,'evented':!0x1,'zIndex':_0x3a7d47};return new _0x2a2a49(_0x38fbee,_0xaaf372);});_0x2ae405[_0x419f53(0x50e)](_0x212b7d,_0x1375a3),this[_0x419f53(0x32f)]=new Set(_0x212b7d);}[_0x16631f(0x4ec)](){const _0xcfed43=_0x16631f;var _0x1b67ad;(_0x1b67ad=this['_cursors'])==null||_0x1b67ad[_0xcfed43(0x236)](_0x2ab83a=>_0x2ab83a[_0xcfed43(0x4a7)]());}[_0x16631f(0x211)](){const _0xc50510=_0x16631f;return _0x3ba744[_0xc50510(0x1b5)](this[_0xc50510(0x2c2)][_0xc50510(0x323)],this[_0xc50510(0x2c2)]);}};_0x49e258=_0x367ec0([_0x26020b(0x1,_0x8a1a57['Inject'](_0x3ba744[_0x16631f(0x267)])),_0x26020b(0x2,_0x8a1a57[_0x16631f(0x537)](_0xafbc5d)),_0x26020b(0x3,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57['ThemeService']))],_0x49e258);function _0x599b82(_0x19b0e7){const _0x15ba69=_0x16631f,_0x2daba6=new Map();return _0x19b0e7[_0x15ba69(0x236)](_0x28b266=>{const _0x37b5d2=_0x15ba69;if(_0x2daba6[_0x37b5d2(0x295)](_0x28b266[_0x37b5d2(0x486)])){const _0x11e68f=_0x2daba6[_0x37b5d2(0x241)](_0x28b266[_0x37b5d2(0x486)]);_0x11e68f[_0x37b5d2(0x3be)]+=',\x20'+_0x28b266[_0x37b5d2(0x3be)];}else _0x2daba6[_0x37b5d2(0x41f)](_0x28b266[_0x37b5d2(0x486)],_0x28b266);}),Array['from'](_0x2daba6[_0x15ba69(0x1f3)]());}var _0x4b3743=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x3c7ed0(_0x44afb3){const _0x59dba7=_0x16631f;return _0x44afb3&&_0x44afb3['__esModule']&&Object[_0x59dba7(0x5b2)][_0x59dba7(0x2c0)][_0x59dba7(0x3b4)](_0x44afb3,_0x59dba7(0x4e9))?_0x44afb3[_0x59dba7(0x4e9)]:_0x44afb3;}var _0x319b01={'exports':{}},_0x2003bc={},_0x344504=_0x5e80f5,_0x1dc1e7=Symbol[_0x16631f(0x3ee)]('react.element'),_0x46ab57=Symbol['for'](_0x16631f(0x543)),_0x26ad67=Object['prototype'][_0x16631f(0x2c0)],_0x5e4779=_0x344504['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x16631f(0x372)],_0x4b3131={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x58faa8(_0x159d7b,_0x21651f,_0x4b69aa){const _0x15f569=_0x16631f;var _0x21b03a,_0x3cae9c={},_0x21407c=null,_0x29342f=null;_0x4b69aa!==void 0x0&&(_0x21407c=''+_0x4b69aa),_0x21651f[_0x15f569(0x3a2)]!==void 0x0&&(_0x21407c=''+_0x21651f['key']),_0x21651f[_0x15f569(0x355)]!==void 0x0&&(_0x29342f=_0x21651f[_0x15f569(0x355)]);for(_0x21b03a in _0x21651f)_0x26ad67[_0x15f569(0x3b4)](_0x21651f,_0x21b03a)&&!_0x4b3131['hasOwnProperty'](_0x21b03a)&&(_0x3cae9c[_0x21b03a]=_0x21651f[_0x21b03a]);if(_0x159d7b&&_0x159d7b['defaultProps']){for(_0x21b03a in(_0x21651f=_0x159d7b['defaultProps'],_0x21651f))_0x3cae9c[_0x21b03a]===void 0x0&&(_0x3cae9c[_0x21b03a]=_0x21651f[_0x21b03a]);}return{'$$typeof':_0x1dc1e7,'type':_0x159d7b,'key':_0x21407c,'ref':_0x29342f,'props':_0x3cae9c,'_owner':_0x5e4779['current']};}_0x2003bc['Fragment']=_0x46ab57,_0x2003bc[_0x16631f(0x1be)]=_0x58faa8,_0x2003bc[_0x16631f(0x405)]=_0x58faa8,_0x319b01['exports']=_0x2003bc;var _0x2e11ad=_0x319b01[_0x16631f(0x50a)],_0x513090=function(){const _0x4f46fe=_0x16631f;return _0x513090=Object['assign']||function(_0x266ebb){const _0x2b79b2=_0x586f;for(var _0x5f24ed,_0x134392=0x1,_0x4a798f=arguments[_0x2b79b2(0x272)];_0x134392<_0x4a798f;_0x134392++){_0x5f24ed=arguments[_0x134392];for(var _0x3fa689 in _0x5f24ed)Object['prototype']['hasOwnProperty'][_0x2b79b2(0x3b4)](_0x5f24ed,_0x3fa689)&&(_0x266ebb[_0x3fa689]=_0x5f24ed[_0x3fa689]);}return _0x266ebb;},_0x513090[_0x4f46fe(0x480)](this,arguments);},_0x4590bf=function(_0x174906,_0x3a130f){const _0x27c49b=_0x16631f;var _0x1c1246={};for(var _0x50541f in _0x174906)Object[_0x27c49b(0x5b2)][_0x27c49b(0x2c0)][_0x27c49b(0x3b4)](_0x174906,_0x50541f)&&_0x3a130f['indexOf'](_0x50541f)<0x0&&(_0x1c1246[_0x50541f]=_0x174906[_0x50541f]);if(_0x174906!=null&&typeof Object['getOwnPropertySymbols']==_0x27c49b(0x445)){for(var _0x4b1fad=0x0,_0x50541f=Object[_0x27c49b(0x2e7)](_0x174906);_0x4b1fad<_0x50541f[_0x27c49b(0x272)];_0x4b1fad++)_0x3a130f[_0x27c49b(0x222)](_0x50541f[_0x4b1fad])<0x0&&Object['prototype'][_0x27c49b(0x3c6)][_0x27c49b(0x3b4)](_0x174906,_0x50541f[_0x4b1fad])&&(_0x1c1246[_0x50541f[_0x4b1fad]]=_0x174906[_0x50541f[_0x4b1fad]]);}return _0x1c1246;},_0x584bc7=_0x5e80f5[_0x16631f(0x4bc)](function(_0x109b31,_0x50d19f){const _0x460667=_0x16631f;var _0x5e7d70=_0x109b31[_0x460667(0x592)],_0x499e46=_0x109b31['id'],_0x5f36e9=_0x109b31[_0x460667(0x12c)],_0x39c070=_0x109b31[_0x460667(0x279)],_0x447b07=_0x4590bf(_0x109b31,['icon','id','className',_0x460667(0x279)]),_0xcdaaee=_0x460667(0x4f4)['concat'](_0x499e46,'\x20')[_0x460667(0x40b)](_0x5f36e9||'')['trim'](),_0x71a5b3=_0x5e80f5['useRef']('_'[_0x460667(0x40b)](_0x558e0d()));return _0x5f0f57(_0x5e7d70,''[_0x460667(0x40b)](_0x499e46),{'defIds':_0x5e7d70[_0x460667(0x5a3)],'idSuffix':_0x71a5b3[_0x460667(0x3bf)]},_0x513090({'ref':_0x50d19f,'className':_0xcdaaee},_0x447b07),_0x39c070);});function _0x5f0f57(_0xfcaaa1,_0xa075f8,_0x160f52,_0x5ef271,_0x13af68){const _0x419af3=_0x16631f;return _0x5e80f5['createElement'](_0xfcaaa1[_0x419af3(0x2ef)],_0x513090(_0x513090({'key':_0xa075f8},_0x164cc8(_0xfcaaa1,_0x160f52,_0x13af68)),_0x5ef271),(_0x4d8c11(_0xfcaaa1,_0x160f52)[_0x419af3(0x20e)]||[])[_0x419af3(0x2ca)](function(_0xaccba,_0x2c768f){const _0xaacc38=_0x419af3;return _0x5f0f57(_0xaccba,''[_0xaacc38(0x40b)](_0xa075f8,'-')['concat'](_0xfcaaa1[_0xaacc38(0x2ef)],'-')[_0xaacc38(0x40b)](_0x2c768f),_0x160f52,void 0x0,_0x13af68);}));}function _0x164cc8(_0x46544a,_0x9b3cb2,_0x1ae14e){const _0x382830=_0x16631f;var _0x3d2b20=_0x513090({},_0x46544a[_0x382830(0x217)]);_0x1ae14e!=null&&_0x1ae14e['colorChannel1']&&_0x3d2b20[_0x382830(0x19e)]===_0x382830(0x555)&&(_0x3d2b20['fill']=_0x1ae14e[_0x382830(0x555)]);var _0x3b11af=_0x9b3cb2[_0x382830(0x5a3)];return!_0x3b11af||_0x3b11af[_0x382830(0x272)]===0x0||(_0x46544a[_0x382830(0x2ef)]===_0x382830(0x326)&&_0x3d2b20[_0x382830(0x2c9)]&&(_0x3d2b20['xlink:href']=_0x3d2b20[_0x382830(0x2c9)]+_0x9b3cb2[_0x382830(0x5a4)]),Object[_0x382830(0x3d8)](_0x3d2b20)[_0x382830(0x236)](function(_0x8bcb20){const _0x3143cf=_0x382830;var _0x2b2b35=_0x8bcb20[0x0],_0xa6bf88=_0x8bcb20[0x1];typeof _0xa6bf88==_0x3143cf(0x18e)&&(_0x3d2b20[_0x2b2b35]=_0xa6bf88[_0x3143cf(0x1e1)](/url\(#(.*)\)/,_0x3143cf(0x415)[_0x3143cf(0x40b)](_0x9b3cb2[_0x3143cf(0x5a4)],')')));})),_0x3d2b20;}function _0x4d8c11(_0x399eab,_0x18e71a){const _0x527368=_0x16631f;var _0x54d1a1,_0x27712d=_0x18e71a[_0x527368(0x5a3)];return!_0x27712d||_0x27712d['length']===0x0?_0x399eab:_0x399eab[_0x527368(0x2ef)]===_0x527368(0x4f3)&&(!((_0x54d1a1=_0x399eab['children'])===null||_0x54d1a1===void 0x0)&&_0x54d1a1[_0x527368(0x272)])?_0x513090(_0x513090({},_0x399eab),{'children':_0x399eab['children'][_0x527368(0x2ca)](function(_0x54e3e){const _0x6224f2=_0x527368;return typeof _0x54e3e['attrs']['id']==_0x6224f2(0x18e)&&_0x27712d&&_0x27712d[_0x6224f2(0x222)](_0x54e3e[_0x6224f2(0x217)]['id'])>-0x1?_0x513090(_0x513090({},_0x54e3e),{'attrs':_0x513090(_0x513090({},_0x54e3e[_0x6224f2(0x217)]),{'id':_0x54e3e['attrs']['id']+_0x18e71a['idSuffix']})}):_0x54e3e;})}):_0x399eab;}function _0x558e0d(){const _0x1b7f7d=_0x16631f;return Math[_0x1b7f7d(0x2bf)]()[_0x1b7f7d(0x3a4)](0x24)[_0x1b7f7d(0x51b)](0x2,0x8);}_0x584bc7['displayName']='UniverIcon';var _0x27ca20={'tag':_0x16631f(0x2a2),'attrs':{'fill':_0x16631f(0x580),'viewBox':_0x16631f(0x597),'width':_0x16631f(0x48c),'height':_0x16631f(0x48c)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x16631f(0x12e),'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':_0x16631f(0x55e),'strokeLinejoin':_0x16631f(0x55e),'strokeWidth':1.2}}]},{'tag':_0x16631f(0x4f3),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x16631f(0x1fb)},'children':[{'tag':_0x16631f(0x2a0),'attrs':{'fill':_0x16631f(0x498),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x16631f(0x1fb)]},_0x130350=_0x5e80f5['forwardRef'](function(_0x290c4f,_0x4aba7e){const _0x430c62=_0x16631f;return _0x5e80f5[_0x430c62(0x3aa)](_0x584bc7,Object[_0x430c62(0x28f)]({},_0x290c4f,{'id':_0x430c62(0x364),'ref':_0x4aba7e,'icon':_0x27ca20}));});_0x130350[_0x16631f(0x2b5)]=_0x16631f(0x28a);var _0x5ca375={'tag':'svg','attrs':{'fill':_0x16631f(0x580),'viewBox':_0x16631f(0x335),'width':_0x16631f(0x48c),'height':_0x16631f(0x48c)},'children':[{'tag':'g','attrs':{'clipPath':_0x16631f(0x1fe)},'children':[{'tag':_0x16631f(0x2a0),'attrs':{'stroke':'currentColor','d':'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','strokeLinecap':_0x16631f(0x55e),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x16631f(0x4f3),'attrs':{},'children':[{'tag':_0x16631f(0x1af),'attrs':{'id':_0x16631f(0x56f)},'children':[{'tag':_0x16631f(0x2a0),'attrs':{'fill':_0x16631f(0x498),'d':_0x16631f(0x509),'transform':_0x16631f(0x52b)}}]}]}],'defIds':[_0x16631f(0x56f)]},_0x75be14=_0x5e80f5['forwardRef'](function(_0x31ae6b,_0xbe5af){const _0x182e3d=_0x16631f;return _0x5e80f5['createElement'](_0x584bc7,Object[_0x182e3d(0x28f)]({},_0x31ae6b,{'id':_0x182e3d(0x3bc),'ref':_0xbe5af,'icon':_0x5ca375}));});_0x75be14[_0x16631f(0x2b5)]='OnLineSingle';function _0x44272a(_0x186136){const _0x2cfa68=_0x16631f;var _0x4c06a8,_0x12222f,_0x122937='';if(typeof _0x186136==_0x2cfa68(0x18e)||typeof _0x186136==_0x2cfa68(0x3f6))_0x122937+=_0x186136;else{if(typeof _0x186136==_0x2cfa68(0x3ca)){if(Array[_0x2cfa68(0x2e1)](_0x186136)){var _0x4128af=_0x186136[_0x2cfa68(0x272)];for(_0x4c06a8=0x0;_0x4c06a8<_0x4128af;_0x4c06a8++)_0x186136[_0x4c06a8]&&(_0x12222f=_0x44272a(_0x186136[_0x4c06a8]))&&(_0x122937&&(_0x122937+='\x20'),_0x122937+=_0x12222f);}else{for(_0x12222f in _0x186136)_0x186136[_0x12222f]&&(_0x122937&&(_0x122937+='\x20'),_0x122937+=_0x12222f);}}}return _0x122937;}function _0xa465d3(){const _0x5d763c=_0x16631f;for(var _0x46dc51,_0x175855,_0x299a35=0x0,_0x2dfc0f='',_0x14f43f=arguments[_0x5d763c(0x272)];_0x299a35<_0x14f43f;_0x299a35++)(_0x46dc51=arguments[_0x299a35])&&(_0x175855=_0x44272a(_0x46dc51))&&(_0x2dfc0f&&(_0x2dfc0f+='\x20'),_0x2dfc0f+=_0x175855);return _0x2dfc0f;}const _0xd3f094={'onlineStatusIcon':_0x16631f(0x41b),'onlineStatusTitle':_0x16631f(0x2b8),'onlineStatus':_0x16631f(0x2f2),'online':_0x16631f(0x412),'offline':_0x16631f(0x45e)};function _0x3a6f3b(_0xc2eecf){const _0x4ddea8=_0x16631f;switch(_0xc2eecf){case _0x5d61dc[_0x4ddea8(0x106)]:return'collabStatus.offline';case _0x5d61dc[_0x4ddea8(0x3a3)]:return _0x4ddea8(0x19a);case _0x5d61dc[_0x4ddea8(0x3f4)]:return _0x4ddea8(0x341);case _0x5d61dc[_0x4ddea8(0x3f1)]:return'collabStatus.notCollab';case _0x5d61dc['AWAITING']:case _0x5d61dc[_0x4ddea8(0x5ae)]:return'collabStatus.syncing';case _0x5d61dc[_0x4ddea8(0x48b)]:case _0x5d61dc[_0x4ddea8(0x487)]:return _0x4ddea8(0x178);}}function _0x39447f(_0x674d19){const _0x1385de=_0x16631f,{status$:_0x249510}=_0x674d19,_0x18015a=_0x4b60ff[_0x1385de(0x167)](_0x249510,_0x5d61dc['NOT_COLLAB']),_0x4ad5d6=_0x8a1a57[_0x1385de(0x4a9)](_0x8a1a57[_0x1385de(0x1f4)]),_0xc449ad=_0x8a1a57[_0x1385de(0x4a9)](_0x2728bd['CollaborationSessionService']),_0x574476=_0x18015a!==_0x5d61dc[_0x1385de(0x106)],_0x522a0d=_0x4ad5d6['t'](_0x3a6f3b(_0x18015a)),_0x2df7ed=_0xa465d3(_0xd3f094[_0x1385de(0x1cd)],{[_0xd3f094[_0x1385de(0xf3)]]:_0x574476,[_0xd3f094[_0x1385de(0x21f)]]:!_0x574476}),_0x3dc74f=_0x574476?_0x2e11ad[_0x1385de(0x1be)](_0x75be14,{}):_0x2e11ad[_0x1385de(0x1be)](_0x130350,{}),_0x537e08=_0x5e80f5['useCallback'](()=>{const _0x32489d=_0x1385de;_0x574476||_0xc449ad[_0x32489d(0x1cc)]();},[_0x574476,_0xc449ad]);function _0xd1f25(){const _0x421fc8=_0x1385de;return _0x2e11ad[_0x421fc8(0x405)](_0x421fc8(0x4e3),{'className':_0x2df7ed,'onClick':_0x537e08,'children':[_0x2e11ad[_0x421fc8(0x1be)](_0x421fc8(0x4e3),{'className':_0xd3f094['onlineStatusIcon'],'children':_0x3dc74f}),_0x2e11ad[_0x421fc8(0x1be)](_0x421fc8(0x4e3),{'className':_0xd3f094[_0x421fc8(0x5b5)],'children':_0x522a0d})]});}return _0x574476?_0xd1f25():_0x2e11ad[_0x1385de(0x1be)](_0x731a74[_0x1385de(0x353)],{'title':_0x4ad5d6['t'](_0x1385de(0x187)),'children':_0xd1f25()});}var _0x254e5a=Object[_0x16631f(0x162)],_0x3a2e51=Object[_0x16631f(0x57e)],_0x2853c7=(_0x2ae2e9,_0x5364fc,_0x3f2d63,_0x1adb27)=>{for(var _0x403c29=_0x1adb27>0x1?void 0x0:_0x1adb27?_0x3a2e51(_0x5364fc,_0x3f2d63):_0x5364fc,_0x42fcd0=_0x2ae2e9['length']-0x1,_0x24196e;_0x42fcd0>=0x0;_0x42fcd0--)(_0x24196e=_0x2ae2e9[_0x42fcd0])&&(_0x403c29=(_0x1adb27?_0x24196e(_0x5364fc,_0x3f2d63,_0x403c29):_0x24196e(_0x403c29))||_0x403c29);return _0x1adb27&&_0x403c29&&_0x254e5a(_0x5364fc,_0x3f2d63,_0x403c29),_0x403c29;},_0x50ef1a=(_0x3cfa03,_0x2ddfa0)=>(_0xd926ec,_0x3eacf9)=>_0x2ddfa0(_0xd926ec,_0x3eacf9,_0x3cfa03);_0x2728bd[_0x16631f(0x3ce)]=class extends _0x8a1a57['Disposable']{constructor(_0x51d2b3,_0x35255f,_0x4a615b,_0x19bbd0){const _0x3a20d4=_0x16631f;super(),_0x2a606e(this,'_status$',new _0x933215[(_0x3a20d4(0x1fd))](_0x5d61dc[_0x3a20d4(0x3f1)])),(this[_0x3a20d4(0x3e7)]=_0x51d2b3,this[_0x3a20d4(0x24e)]=_0x35255f,this[_0x3a20d4(0x264)]=_0x4a615b,this[_0x3a20d4(0x28e)]=_0x19bbd0,this[_0x3a20d4(0x51e)](),this[_0x3a20d4(0x1ec)]());}[_0x16631f(0x1ec)](){const _0x514f13=_0x16631f;this['disposeWithMe'](this['_univerInstanceService']['focused$'][_0x514f13(0x4be)](_0x933215[_0x514f13(0x3e8)](()=>{const _0x4f06c7=_0x514f13,_0x554a2b=this[_0x4f06c7(0x3e7)][_0x4f06c7(0x328)]();return _0x554a2b?this['_collaborationController'][_0x4f06c7(0x3f5)](_0x554a2b[_0x4f06c7(0x4ed)]()):_0x933215['of'](null);}),_0x933215[_0x514f13(0x3e8)](_0xcf7f04=>_0xcf7f04?_0xcf7f04[_0x514f13(0x48f)]:_0x933215['of'](_0x5d61dc[_0x514f13(0x3f1)])))['subscribe'](_0x130ac5=>{const _0x5dccc5=_0x514f13;this[_0x5dccc5(0x1d0)]['next'](_0x130ac5);}));}[_0x16631f(0x51e)](){const _0x1a0538=_0x16631f;this[_0x1a0538(0x14a)](this['_uiPartsService'][_0x1a0538(0x46a)](_0x4b60ff[_0x1a0538(0x1a8)][_0x1a0538(0x1b2)],()=>_0x8a1a57[_0x1a0538(0x342)](_0x375bfe({'status$':this[_0x1a0538(0x1d0)][_0x1a0538(0x525)]()}),this[_0x1a0538(0x264)])));}},_0x2728bd['DesktopCollaborationStatusDisplayController']=_0x2853c7([_0x50ef1a(0x0,_0x8a1a57[_0x16631f(0x1db)]),_0x50ef1a(0x1,_0x4b60ff[_0x16631f(0x1a6)]),_0x50ef1a(0x2,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0x50ef1a(0x3,_0x8a1a57[_0x16631f(0x537)](_0x2728bd[_0x16631f(0x433)]))],_0x2728bd[_0x16631f(0x3ce)]);function _0x375bfe(_0x32000a){const {status$:_0x2b27cb}=_0x32000a;return function(){const _0x5b594f=_0x586f;return _0x2e11ad[_0x5b594f(0x1be)](_0x39447f,{'status$':_0x2b27cb});};}const _0x38da0e=_0x8a1a57[_0x16631f(0x27b)](_0x16631f(0x213));var _0x2529cc=Object[_0x16631f(0x162)],_0x82d09a=Object[_0x16631f(0x57e)],_0x1bd685=(_0x4f437d,_0x276580,_0x4b5a5d,_0x489e8b)=>{for(var _0x5460bf=_0x489e8b>0x1?void 0x0:_0x489e8b?_0x82d09a(_0x276580,_0x4b5a5d):_0x276580,_0x3c1e76=_0x4f437d['length']-0x1,_0x607363;_0x3c1e76>=0x0;_0x3c1e76--)(_0x607363=_0x4f437d[_0x3c1e76])&&(_0x5460bf=(_0x489e8b?_0x607363(_0x276580,_0x4b5a5d,_0x5460bf):_0x607363(_0x5460bf))||_0x5460bf);return _0x489e8b&&_0x5460bf&&_0x2529cc(_0x276580,_0x4b5a5d,_0x5460bf),_0x5460bf;},_0x4274c4=(_0x236159,_0x43fbe0)=>(_0x1b09d7,_0x30009b)=>_0x43fbe0(_0x1b09d7,_0x30009b,_0x236159);_0x2728bd['DataLoaderController']=class extends _0x8a1a57[_0x16631f(0x228)]{constructor(_0x2b8822,_0x299ed3,_0x124cb7,_0x437a1a,_0x2655ff,_0x2568ac){const _0x375301=_0x16631f;super(),this['_urlService']=_0x2b8822,this[_0x375301(0x515)]=_0x299ed3,this[_0x375301(0x475)]=_0x124cb7,this[_0x375301(0x48e)]=_0x437a1a,this[_0x375301(0x5b6)]=_0x2655ff,_0x2568ac?_0x2568ac==null||_0x2568ac[_0x375301(0x16d)]()[_0x375301(0x566)](()=>this[_0x375301(0x36a)]()):(this[_0x375301(0x515)][_0x375301(0x22a)](_0x375301(0x12b),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x375301(0x36a)]());}async['_init'](){const _0x20bc92=_0x16631f,_0x2a82e4=this['_urlService']['getParam'](_0x20bc92(0x323)),_0x37b9cc=this[_0x20bc92(0x290)][_0x20bc92(0x11b)]('type');if(!_0x2a82e4||!_0x37b9cc){this[_0x20bc92(0x515)][_0x20bc92(0x22a)]('[DataLoaderController]',_0x20bc92(0x3ad));return;}switch(Number(_0x37b9cc)){case _0x4a6b81['UNIVER_SHEET']:{const _0x3c3ef1=await this[_0x20bc92(0x3a6)](_0x2a82e4);this[_0x20bc92(0x145)](_0x3c3ef1);break;}case _0x4a6b81[_0x20bc92(0x327)]:{await this['_loadDoc'](_0x2a82e4);break;}default:{this[_0x20bc92(0x515)][_0x20bc92(0x1df)]('[DataLoaderController]','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x16631f(0x145)](_0x10c9c0){const _0x74b70e=_0x16631f;await this['_updateSubUnitFromURLParams'](_0x10c9c0),_0x10c9c0['activeSheet$'][_0x74b70e(0x4be)](_0x933215[_0x74b70e(0x3d9)](this[_0x74b70e(0x42d)]))[_0x74b70e(0x42c)](_0x1e7e50=>{const _0x412742=_0x74b70e;_0x1e7e50&&this[_0x412742(0x4eb)](_0x1e7e50);}),this['_urlService'][_0x74b70e(0x497)]['pipe'](_0x933215[_0x74b70e(0x3d9)](this[_0x74b70e(0x42d)]))[_0x74b70e(0x42c)](()=>this['_updateSubUnitFromURLParams'](_0x10c9c0));}[_0x16631f(0x4eb)](_0x48e3d8,_0x10f806=!0x1){const _0x42536f=_0x16631f,_0x3d5bfb=this[_0x42536f(0x290)][_0x42536f(0x11b)](_0x42536f(0x481));_0x48e3d8[_0x42536f(0x3fb)]()!==_0x3d5bfb&&this[_0x42536f(0x290)][_0x42536f(0x1de)](_0x42536f(0x481),_0x48e3d8[_0x42536f(0x3fb)](),_0x10f806);}async[_0x16631f(0x3cd)](_0x46c46f){const _0x32080f=_0x16631f;var _0x5dd7b4;const _0x5e737c=this[_0x32080f(0x290)]['getParam'](_0x32080f(0x481));if(!_0x5e737c||!_0x46c46f[_0x32080f(0x177)](_0x5e737c)){const _0x5d6d74=_0x46c46f[_0x32080f(0x31a)]()[0x0],_0x6521ac=_0x46c46f[_0x32080f(0x177)](_0x5d6d74);if(!_0x6521ac)return;this[_0x32080f(0x4eb)](_0x6521ac,!0x0),await this[_0x32080f(0x475)][_0x32080f(0x564)](_0x46f63a[_0x32080f(0x3bd)]['id'],{'unitId':_0x46c46f['getUnitId'](),'subUnitId':_0x5d6d74});return;}((_0x5dd7b4=_0x46c46f[_0x32080f(0x23a)]())==null?void 0x0:_0x5dd7b4['getSheetId']())!==_0x5e737c&&await this[_0x32080f(0x475)][_0x32080f(0x564)](_0x46f63a[_0x32080f(0x3bd)]['id'],{'unitId':_0x46c46f['getUnitId'](),'subUnitId':_0x5e737c});}async[_0x16631f(0x3a6)](_0x46e4de){const _0x299cf8=_0x16631f;let _0x505e5a=0x0;const _0x2d710c=await this['_localCacheService'][_0x299cf8(0x3ae)](_0x46e4de);return _0x2d710c&&(_0x2d710c['awaitingChangeset']||_0x2d710c[_0x299cf8(0x1ce)][_0x299cf8(0x272)]!==0x0)&&(_0x505e5a=_0x2d710c[_0x299cf8(0x454)]),_0x505e5a===0x0&&this[_0x299cf8(0x515)][_0x299cf8(0x22a)](_0x299cf8(0x12b),_0x299cf8(0x251)),this[_0x299cf8(0x5b6)][_0x299cf8(0x14b)](_0x46e4de,_0x505e5a);}async[_0x16631f(0x3c1)](_0x17253f){const _0x124b6b=_0x16631f;let _0x303085=0x0;const _0x15da08=await this[_0x124b6b(0x48e)]['loadOfflineData'](_0x17253f);return _0x15da08&&(_0x15da08[_0x124b6b(0x58b)]||_0x15da08['mutations'][_0x124b6b(0x272)]!==0x0)&&(_0x303085=_0x15da08[_0x124b6b(0x454)]),_0x303085===0x0&&this[_0x124b6b(0x515)][_0x124b6b(0x22a)](_0x124b6b(0x12b),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x124b6b(0x5b6)][_0x124b6b(0x2a4)](_0x17253f,_0x303085);}},_0x2728bd[_0x16631f(0x296)]=_0x1bd685([_0x4274c4(0x0,_0x38da0e),_0x4274c4(0x1,_0x8a1a57[_0x16631f(0xfc)]),_0x4274c4(0x2,_0x8a1a57[_0x16631f(0x350)]),_0x4274c4(0x3,_0x8a1a57['Inject'](_0x2728bd['LocalCacheService'])),_0x4274c4(0x4,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8[_0x16631f(0x522)])),_0x4274c4(0x5,_0x8a1a57[_0x16631f(0x1c1)](_0x6cb789['IRemoteInstanceService']))],_0x2728bd[_0x16631f(0x296)]);var _0x4c21f4=Object['defineProperty'],_0x1fbe04=Object['getOwnPropertyDescriptor'],_0x4d421d=(_0xcc45de,_0xa5f209,_0x396e4a,_0x2f7f78)=>{for(var _0x720e5e=_0x2f7f78>0x1?void 0x0:_0x2f7f78?_0x1fbe04(_0xa5f209,_0x396e4a):_0xa5f209,_0x4b104d=_0xcc45de['length']-0x1,_0x35442b;_0x4b104d>=0x0;_0x4b104d--)(_0x35442b=_0xcc45de[_0x4b104d])&&(_0x720e5e=(_0x2f7f78?_0x35442b(_0xa5f209,_0x396e4a,_0x720e5e):_0x35442b(_0x720e5e))||_0x720e5e);return _0x2f7f78&&_0x720e5e&&_0x4c21f4(_0xa5f209,_0x396e4a,_0x720e5e),_0x720e5e;},_0x978750=(_0x16c4be,_0x5cc421)=>(_0x142e57,_0x52dd21)=>_0x5cc421(_0x142e57,_0x52dd21,_0x16c4be);const _0x375672='DEFAULT_FILE_NAME',_0x101f72='Univer';let _0x21377e=class extends _0x8a1a57[_0x16631f(0x490)]{constructor(_0x2a77f4,_0x328bd5){const _0x2000b4=_0x16631f;super(),this['_univerInstanceService']=_0x2a77f4,this[_0x2000b4(0x31f)]=_0x328bd5,this['_init']();}[_0x16631f(0x36a)](){const _0x152988=_0x16631f;this[_0x152988(0x14a)](this[_0x152988(0x3e7)][_0x152988(0x470)][_0x152988(0x42c)](()=>{const _0xf435a4=_0x152988;var _0x4ec161;const _0x137ff9=this[_0xf435a4(0x3e7)][_0xf435a4(0x328)]();let _0x39d6fc=(_0x4ec161=this['_configService'][_0xf435a4(0xfd)](_0x375672))!=null?_0x4ec161:_0x101f72;_0x137ff9 instanceof _0x8a1a57[_0xf435a4(0x496)]&&(_0x39d6fc=_0x137ff9['name']),document['title']=_0x39d6fc;}));}};_0x21377e=_0x4d421d([_0x978750(0x0,_0x8a1a57['IUniverInstanceService']),_0x978750(0x1,_0x8a1a57[_0x16631f(0x4f9)])],_0x21377e);var _0x4a730e=Object[_0x16631f(0x162)],_0x570ec1=Object['getOwnPropertyDescriptor'],_0x3461a4=(_0x2e2bb6,_0x36e4da,_0x5cc016,_0x25e3d5)=>{for(var _0x6e28b3=_0x25e3d5>0x1?void 0x0:_0x25e3d5?_0x570ec1(_0x36e4da,_0x5cc016):_0x36e4da,_0xc814d8=_0x2e2bb6['length']-0x1,_0x16907c;_0xc814d8>=0x0;_0xc814d8--)(_0x16907c=_0x2e2bb6[_0xc814d8])&&(_0x6e28b3=(_0x25e3d5?_0x16907c(_0x36e4da,_0x5cc016,_0x6e28b3):_0x16907c(_0x6e28b3))||_0x6e28b3);return _0x25e3d5&&_0x6e28b3&&_0x4a730e(_0x36e4da,_0x5cc016,_0x6e28b3),_0x6e28b3;},_0x28af1b=(_0x1118e5,_0x2267db)=>(_0xe362a,_0x1d755f)=>_0x2267db(_0xe362a,_0x1d755f,_0x1118e5);let _0x503962=class{constructor(_0x74dcca,_0x3796d4,_0x149669){const _0x17e114=_0x16631f;this[_0x17e114(0x31f)]=_0x74dcca,this[_0x17e114(0x23f)]=_0x3796d4,this[_0x17e114(0x473)]=_0x149669,this[_0x17e114(0x299)]();}['init'](){const _0x30805a=_0x16631f;this[_0x30805a(0x23f)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x41f342,_0x237513)=>_0x237513(_0x41f342)[_0x30805a(0x4be)](_0x933215[_0x30805a(0x1fa)](async _0x42f1ab=>{const _0x4b493e=_0x30805a,_0x4f8ca=_0x42f1ab;if(_0x4f8ca[_0x4b493e(0x536)]===0x191&&window[_0x4b493e(0x14d)](this[_0x4b493e(0x473)]['t']('auth.needGotoLoginAlert'))){const _0x4db97f=window['encodeURIComponent'](window[_0x4b493e(0x219)][_0x4b493e(0x147)]);window[_0x4b493e(0x219)][_0x4b493e(0x147)]=this[_0x4b493e(0x386)]()+'?url='+_0x4db97f;}return _0x4f8ca;}))});}[_0x16631f(0x386)](){const _0x4a89c6=_0x16631f;var _0x6c5c9,_0x4e37b7;const _0x1ff1b7=this[_0x4a89c6(0x31f)]['getConfig'](_0x1da8a5),_0x4c9404=this[_0x4a89c6(0x31f)][_0x4a89c6(0xfd)](_0x132856);return(_0x4e37b7=(_0x6c5c9=_0x4c9404==null?void 0x0:_0x4c9404[_0x4a89c6(0xf0)])!=null?_0x6c5c9:_0x1ff1b7)!=null?_0x4e37b7:_0x4638d3;}};_0x503962=_0x3461a4([_0x28af1b(0x0,_0x8a1a57[_0x16631f(0x4f9)]),_0x28af1b(0x1,_0x8a1a57[_0x16631f(0x537)](_0x547ebe[_0x16631f(0x359)])),_0x28af1b(0x2,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x1f4)]))],_0x503962);var _0x2aef65=Object[_0x16631f(0x162)],_0x1699f3=Object['getOwnPropertyDescriptor'],_0x1253f6=(_0x387392,_0x4221c6,_0x869603,_0x592877)=>{const _0x46a529=_0x16631f;for(var _0x2a80ad=_0x592877>0x1?void 0x0:_0x592877?_0x1699f3(_0x4221c6,_0x869603):_0x4221c6,_0x18247e=_0x387392[_0x46a529(0x272)]-0x1,_0x595ecd;_0x18247e>=0x0;_0x18247e--)(_0x595ecd=_0x387392[_0x18247e])&&(_0x2a80ad=(_0x592877?_0x595ecd(_0x4221c6,_0x869603,_0x2a80ad):_0x595ecd(_0x2a80ad))||_0x2a80ad);return _0x592877&&_0x2a80ad&&_0x2aef65(_0x4221c6,_0x869603,_0x2a80ad),_0x2a80ad;},_0x248375=(_0x22c340,_0x54809b)=>(_0x180225,_0x2b8c06)=>_0x54809b(_0x180225,_0x2b8c06,_0x22c340);const _0x360662=_0x16631f(0x376),_0x52797d=_0x16631f(0x524);_0x2728bd[_0x16631f(0x283)]=class extends _0x8a1a57[_0x16631f(0x490)]{constructor(_0x242184,_0x56f3fc){const _0x4230ea=_0x16631f;super(),this['_HTTPService']=_0x242184,this[_0x4230ea(0x31f)]=_0x56f3fc,this[_0x4230ea(0x340)]();}[_0x16631f(0x340)](){const _0x433539=_0x16631f,_0x305622=this;this[_0x433539(0x14a)](this[_0x433539(0x142)][_0x433539(0x118)]({'priority':0x3e7,'interceptor':_0x547ebe[_0x433539(0x191)]({'isMatch'(_0x44c1c4){const _0x318a57=_0x433539;var _0x1e4fa4;if(_0x44c1c4['method']===_0x318a57(0x528)&&((_0x1e4fa4=_0x44c1c4[_0x318a57(0x263)])!=null&&_0x1e4fa4[_0x318a57(0x50c)])){const {objectID:_0x5e5dff,objectType:_0x508dce}=_0x44c1c4['requestParams'][_0x318a57(0x50c)]||{};if(!_0x5e5dff||_0x508dce===void 0x0)return!0x1;const _0x16e16a=_0x305622[_0x318a57(0x148)]()+'/'+_0x508dce+_0x318a57(0x5af)+_0x5e5dff+_0x318a57(0x57d);if(_0x44c1c4['url']===_0x16e16a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5d7638){const _0x10b8f0=_0x433539;var _0xd5e6a0;return(_0xd5e6a0=_0x5d7638[_0x10b8f0(0x263)])==null?void 0x0:_0xd5e6a0[_0x10b8f0(0x50c)];},'mergeParamsToRequest'(_0x52d32d,_0x32c3e9){const _0x319339=_0x433539,_0x517d8b=_0x305622[_0x319339(0x148)]()+_0x319339(0x408),_0x25ab22=_0x52d32d[_0x319339(0x317)]((_0x15ef0c,_0x3c9e6c)=>{const _0x14f618=_0x319339,{unitID:_0x4cf384,objectID:_0x467a5a,objectType:_0x55e91f,actions:_0x102bfa}=_0x3c9e6c;return _0x15ef0c[_0x4cf384]||(_0x15ef0c[_0x4cf384]={}),_0x15ef0c[_0x4cf384][_0x467a5a]||(_0x15ef0c[_0x4cf384][_0x467a5a]={'objectID':_0x467a5a,'objectType':_0x55e91f,'actions':[]}),_0x15ef0c[_0x4cf384][_0x467a5a][_0x14f618(0x112)][_0x14f618(0x203)](..._0x102bfa),_0x15ef0c;},{}),_0x433996=[];for(const _0x4f0380 in _0x25ab22)for(const _0xe765f in _0x25ab22[_0x4f0380]){const {actions:_0x5a9c54,objectType:_0x40c5f6}=_0x25ab22[_0x4f0380][_0xe765f],_0x57f0af=[...new Set(_0x5a9c54)];_0x433996['push']({'unitID':_0x4f0380,'objectID':_0xe765f,'objectType':_0x40c5f6,'actions':_0x57f0af});}return new _0x547ebe[(_0x319339(0x186))](_0x319339(0x528),_0x517d8b,{'headers':_0x32c3e9[_0x319339(0x2b9)],'withCredentials':_0x32c3e9['withCredentials'],'responseType':_0x32c3e9[_0x319339(0x3fd)],'body':{'requests':_0x433996}});}},{'distributeResult'(_0x483a40,_0x46b33c){const {objectActions:_0x3381a7}=_0x483a40;return _0x46b33c['map'](_0x5d364e=>{const _0x2b9715=_0x586f,{unitID:_0x25f14b,objectID:_0x4491ba,actions:_0x43e075}=_0x5d364e,_0x5eb854=_0x3381a7[_0x2b9715(0x2a3)](_0x4816fb=>_0x4816fb[_0x2b9715(0x477)]===_0x25f14b&&_0x4816fb[_0x2b9715(0x52f)]===_0x4491ba),_0x56c98e=_0x43e075['map'](_0x36b9bf=>_0x5eb854==null?void 0x0:_0x5eb854[_0x2b9715(0x112)][_0x2b9715(0x2a3)](_0x3bbbd9=>_0x3bbbd9['action']===_0x36b9bf))['filter'](_0x4e1081=>!!_0x4e1081);return{'config':_0x5d364e,'result':{'actions':_0x56c98e,'error':_0x483a40[_0x2b9715(0x1df)]}};});}})}));}['_getAPIPrefixPath'](){const _0x39beca=_0x16631f;var _0x716594,_0x11365b;const _0xe73bec=this['_configService'][_0x39beca(0xfd)](_0x360662),_0xeec7fa=this[_0x39beca(0x31f)][_0x39beca(0xfd)](_0x132856);return(_0x11365b=(_0x716594=_0xeec7fa==null?void 0x0:_0xeec7fa[_0x39beca(0x164)])!=null?_0x716594:_0xe73bec)!=null?_0x11365b:_0x52797d;}async['create'](_0x3973d7){const _0x11f1e9=_0x16631f,_0x153e2b=this[_0x11f1e9(0x148)]()+'/'+_0x3973d7[_0x11f1e9(0x388)]+_0x11f1e9(0x45c);return(await this[_0x11f1e9(0x142)][_0x11f1e9(0x418)](_0x153e2b,{'body':_0x3973d7}))[_0x11f1e9(0x50c)]['objectID']||'';}async['list'](_0x1b00a6){const _0x185bb5=_0x16631f,_0x5d5a80=this[_0x185bb5(0x148)]()+_0x185bb5(0x309);return(await this[_0x185bb5(0x142)][_0x185bb5(0x418)](_0x5d5a80,{'body':_0x1b00a6}))['body']['objects'];}async[_0x16631f(0x40d)](_0x4d723a){const _0x2b494b=_0x16631f,_0x2201f9=this[_0x2b494b(0x148)]()+'/'+_0x4d723a[_0x2b494b(0x388)]+_0x2b494b(0x5af)+_0x4d723a[_0x2b494b(0x52f)];await this['_HTTPService']['put'](_0x2201f9,{'body':_0x4d723a});}async[_0x16631f(0x56d)](_0x33322a){const _0x1b3c06=_0x16631f,_0x5c0c13=this['_getAPIPrefixPath']()+'/'+_0x33322a['objectType']+'/object/'+_0x33322a[_0x1b3c06(0x52f)]+_0x1b3c06(0x57d);return(await this['_HTTPService']['post'](_0x5c0c13,{'body':_0x33322a}))['body']['actions'];}async[_0x16631f(0x281)](_0x32e372){const _0x5dd50c=_0x16631f,_0x147a50=this[_0x5dd50c(0x148)]()+_0x5dd50c(0x408);return(await this['_HTTPService'][_0x5dd50c(0x418)](_0x147a50,{'body':{'requests':_0x32e372}}))[_0x5dd50c(0x50c)][_0x5dd50c(0x180)];}async['listRoles'](_0x5f55a3){const _0x441146=_0x16631f,_0xb0b21d=this['_getAPIPrefixPath']()+'/'+_0x5f55a3[_0x441146(0x388)]+'/role',_0x2d1044=await this[_0x441146(0x142)][_0x441146(0x418)](_0xb0b21d,{'body':_0x5f55a3});return{'roles':_0x2d1044[_0x441146(0x50c)][_0x441146(0x411)],'actions':_0x2d1044[_0x441146(0x50c)][_0x441146(0x112)]};}async[_0x16631f(0x123)](_0x4a0edd){const _0x30da2b=_0x16631f,_0x24748a=this[_0x30da2b(0x148)]()+_0x30da2b(0x1f2);await this[_0x30da2b(0x142)][_0x30da2b(0x2eb)](_0x24748a,{'params':{'collaboratorID':_0x4a0edd[_0x30da2b(0x402)],'objectID':_0x4a0edd[_0x30da2b(0x52f)],'unitID':_0x4a0edd[_0x30da2b(0x477)]}});}async[_0x16631f(0x255)](_0x2cd49e){const _0x38a527=_0x16631f,_0x44b346=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x38a527(0x271)](_0x44b346,{'body':_0x2cd49e});}async[_0x16631f(0x49d)](_0xac52fc){const _0x32ad18=_0x16631f,_0x502df5=this[_0x32ad18(0x148)]()+'/collaborator';await this[_0x32ad18(0x142)][_0x32ad18(0x418)](_0x502df5,{'body':_0xac52fc});}async[_0x16631f(0x356)](_0xffd8c6){const _0x14dfba=_0x16631f,_0x53f48e=this[_0x14dfba(0x148)]()+'/collaborator';return(await this[_0x14dfba(0x142)][_0x14dfba(0x241)](_0x53f48e,{'params':{'objectID':_0xffd8c6[_0x14dfba(0x52f)],'unitID':_0xffd8c6['unitID']}}))['body']['collaborators'];}async[_0x16631f(0x424)](_0x565469){const _0x83e7c=_0x16631f,_0x2b0adb=this[_0x83e7c(0x148)]()+_0x83e7c(0x1f2);await this['_HTTPService'][_0x83e7c(0x4d3)](_0x2b0adb,{'body':_0x565469});}},_0x2728bd[_0x16631f(0x283)]=_0x1253f6([_0x248375(0x0,_0x8a1a57['Inject'](_0x547ebe[_0x16631f(0x359)])),_0x248375(0x1,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57['IConfigService']))],_0x2728bd[_0x16631f(0x283)]);var _0x3f01d8={'exports':{}};function _0x51f848(_0x3927e8){const _0x3911dc=_0x16631f;throw new Error(_0x3911dc(0x161)+_0x3927e8+_0x3911dc(0x11e));}var _0x5a6cd8={'exports':{}},_0x96fa8;function _0x50a408(){const _0x117ee3=_0x16631f;return _0x96fa8||(_0x96fa8=0x1,function(_0x21b7e5,_0x15c68e){(function(_0xa44b3a,_0x4e9390){const _0x2e1484=_0x586f;_0x21b7e5[_0x2e1484(0x50a)]=_0x4e9390();}(_0x4b3743,function(){var _0x15973c=_0x15973c||function(_0x29d85e,_0x301c99){const _0x55caba=_0x586f;var _0x3b537e;if(typeof window<'u'&&window[_0x55caba(0x2f9)]&&(_0x3b537e=window[_0x55caba(0x2f9)]),typeof self<'u'&&self[_0x55caba(0x2f9)]&&(_0x3b537e=self[_0x55caba(0x2f9)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x3b537e=globalThis[_0x55caba(0x2f9)]),!_0x3b537e&&typeof window<'u'&&window[_0x55caba(0x200)]&&(_0x3b537e=window[_0x55caba(0x200)]),!_0x3b537e&&typeof _0x4b3743<'u'&&_0x4b3743[_0x55caba(0x2f9)]&&(_0x3b537e=_0x4b3743[_0x55caba(0x2f9)]),!_0x3b537e&&typeof _0x51f848=='function')try{_0x3b537e=require(_0x55caba(0x2f9));}catch{}var _0x582ac3=function(){const _0x4c1fbd=_0x55caba;if(_0x3b537e){if(typeof _0x3b537e['getRandomValues']==_0x4c1fbd(0x445))try{return _0x3b537e[_0x4c1fbd(0x235)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3b537e[_0x4c1fbd(0x59c)]==_0x4c1fbd(0x445))try{return _0x3b537e[_0x4c1fbd(0x59c)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x4c1fbd(0x185));},_0x35e32e=Object[_0x55caba(0x4ee)]||(function(){function _0x2a199a(){}return function(_0x2f389c){const _0x42fe02=_0x586f;var _0x2a15c9;return _0x2a199a[_0x42fe02(0x5b2)]=_0x2f389c,_0x2a15c9=new _0x2a199a(),_0x2a199a[_0x42fe02(0x5b2)]=null,_0x2a15c9;};}()),_0x3b2a77={},_0x58822c=_0x3b2a77['lib']={},_0x53b37f=_0x58822c[_0x55caba(0x3b8)]=(function(){return{'extend':function(_0x360f4e){const _0x3b640e=_0x586f;var _0x5d2cd9=_0x35e32e(this);return _0x360f4e&&_0x5d2cd9[_0x3b640e(0x3ba)](_0x360f4e),(!_0x5d2cd9['hasOwnProperty'](_0x3b640e(0x299))||this[_0x3b640e(0x299)]===_0x5d2cd9['init'])&&(_0x5d2cd9[_0x3b640e(0x299)]=function(){const _0x742c9c=_0x3b640e;_0x5d2cd9[_0x742c9c(0x4d8)][_0x742c9c(0x299)]['apply'](this,arguments);}),_0x5d2cd9[_0x3b640e(0x299)][_0x3b640e(0x5b2)]=_0x5d2cd9,_0x5d2cd9[_0x3b640e(0x4d8)]=this,_0x5d2cd9;},'create':function(){var _0x48217c=this['extend']();return _0x48217c['init']['apply'](_0x48217c,arguments),_0x48217c;},'init':function(){},'mixIn':function(_0x1d38e8){const _0x1e0392=_0x586f;for(var _0x58e96a in _0x1d38e8)_0x1d38e8[_0x1e0392(0x2c0)](_0x58e96a)&&(this[_0x58e96a]=_0x1d38e8[_0x58e96a]);_0x1d38e8['hasOwnProperty'](_0x1e0392(0x3a4))&&(this[_0x1e0392(0x3a4)]=_0x1d38e8[_0x1e0392(0x3a4)]);},'clone':function(){const _0x5ea5db=_0x586f;return this[_0x5ea5db(0x299)]['prototype'][_0x5ea5db(0x279)](this);}};}()),_0x47d0f2=_0x58822c['WordArray']=_0x53b37f[_0x55caba(0x279)]({'init':function(_0x220f57,_0x1f3f7b){const _0x3de5ed=_0x55caba;_0x220f57=this['words']=_0x220f57||[],_0x1f3f7b!=_0x301c99?this[_0x3de5ed(0x1b1)]=_0x1f3f7b:this[_0x3de5ed(0x1b1)]=_0x220f57[_0x3de5ed(0x272)]*0x4;},'toString':function(_0x44a577){const _0x57066f=_0x55caba;return(_0x44a577||_0x29f382)[_0x57066f(0x338)](this);},'concat':function(_0x32a49d){const _0x42ce5c=_0x55caba;var _0x1347d5=this[_0x42ce5c(0x256)],_0x23ebcc=_0x32a49d[_0x42ce5c(0x256)],_0x2c625a=this[_0x42ce5c(0x1b1)],_0xc369d2=_0x32a49d[_0x42ce5c(0x1b1)];if(this[_0x42ce5c(0x546)](),_0x2c625a%0x4)for(var _0x125159=0x0;_0x125159<_0xc369d2;_0x125159++){var _0x225c59=_0x23ebcc[_0x125159>>>0x2]>>>0x18-_0x125159%0x4*0x8&0xff;_0x1347d5[_0x2c625a+_0x125159>>>0x2]|=_0x225c59<<0x18-(_0x2c625a+_0x125159)%0x4*0x8;}else{for(var _0x51ee07=0x0;_0x51ee07<_0xc369d2;_0x51ee07+=0x4)_0x1347d5[_0x2c625a+_0x51ee07>>>0x2]=_0x23ebcc[_0x51ee07>>>0x2];}return this['sigBytes']+=_0xc369d2,this;},'clamp':function(){const _0x1dafa1=_0x55caba;var _0x5dd6a3=this[_0x1dafa1(0x256)],_0x5418c3=this[_0x1dafa1(0x1b1)];_0x5dd6a3[_0x5418c3>>>0x2]&=0xffffffff<<0x20-_0x5418c3%0x4*0x8,_0x5dd6a3[_0x1dafa1(0x272)]=_0x29d85e[_0x1dafa1(0x428)](_0x5418c3/0x4);},'clone':function(){const _0x24cb1d=_0x55caba;var _0x28d240=_0x53b37f[_0x24cb1d(0x27e)][_0x24cb1d(0x3b4)](this);return _0x28d240[_0x24cb1d(0x256)]=this[_0x24cb1d(0x256)]['slice'](0x0),_0x28d240;},'random':function(_0x5c0998){const _0xfd8d36=_0x55caba;for(var _0xeb9b54=[],_0x4c9763=0x0;_0x4c9763<_0x5c0998;_0x4c9763+=0x4)_0xeb9b54['push'](_0x582ac3());return new _0x47d0f2[(_0xfd8d36(0x299))](_0xeb9b54,_0x5c0998);}}),_0x5d91be=_0x3b2a77[_0x55caba(0x4d7)]={},_0x29f382=_0x5d91be[_0x55caba(0x548)]={'stringify':function(_0x2229f6){const _0x388f1f=_0x55caba;for(var _0x3fb655=_0x2229f6['words'],_0x2bac69=_0x2229f6[_0x388f1f(0x1b1)],_0xbde6e2=[],_0x5c337a=0x0;_0x5c337a<_0x2bac69;_0x5c337a++){var _0x59f5b2=_0x3fb655[_0x5c337a>>>0x2]>>>0x18-_0x5c337a%0x4*0x8&0xff;_0xbde6e2[_0x388f1f(0x203)]((_0x59f5b2>>>0x4)['toString'](0x10)),_0xbde6e2[_0x388f1f(0x203)]((_0x59f5b2&0xf)['toString'](0x10));}return _0xbde6e2['join']('');},'parse':function(_0x364d24){const _0x5afc5e=_0x55caba;for(var _0x45b69a=_0x364d24[_0x5afc5e(0x272)],_0x3aa34b=[],_0x94212a=0x0;_0x94212a<_0x45b69a;_0x94212a+=0x2)_0x3aa34b[_0x94212a>>>0x3]|=parseInt(_0x364d24[_0x5afc5e(0x2d5)](_0x94212a,0x2),0x10)<<0x18-_0x94212a%0x8*0x4;return new _0x47d0f2[(_0x5afc5e(0x299))](_0x3aa34b,_0x45b69a/0x2);}},_0x1a697d=_0x5d91be['Latin1']={'stringify':function(_0x5b43c5){const _0x3ada49=_0x55caba;for(var _0x124f1f=_0x5b43c5[_0x3ada49(0x256)],_0x4ba4e2=_0x5b43c5[_0x3ada49(0x1b1)],_0x48659a=[],_0x57ce0d=0x0;_0x57ce0d<_0x4ba4e2;_0x57ce0d++){var _0x28b424=_0x124f1f[_0x57ce0d>>>0x2]>>>0x18-_0x57ce0d%0x4*0x8&0xff;_0x48659a[_0x3ada49(0x203)](String[_0x3ada49(0x347)](_0x28b424));}return _0x48659a['join']('');},'parse':function(_0x441b01){const _0x8fa704=_0x55caba;for(var _0x77afa0=_0x441b01['length'],_0x2f9d0d=[],_0x163bcf=0x0;_0x163bcf<_0x77afa0;_0x163bcf++)_0x2f9d0d[_0x163bcf>>>0x2]|=(_0x441b01['charCodeAt'](_0x163bcf)&0xff)<<0x18-_0x163bcf%0x4*0x8;return new _0x47d0f2[(_0x8fa704(0x299))](_0x2f9d0d,_0x77afa0);}},_0x59f467=_0x5d91be[_0x55caba(0xf4)]={'stringify':function(_0x177a53){const _0x315cfd=_0x55caba;try{return decodeURIComponent(escape(_0x1a697d['stringify'](_0x177a53)));}catch{throw new Error(_0x315cfd(0x24b));}},'parse':function(_0x407e06){return _0x1a697d['parse'](unescape(encodeURIComponent(_0x407e06)));}},_0x492255=_0x58822c['BufferedBlockAlgorithm']=_0x53b37f['extend']({'reset':function(){const _0x4389fe=_0x55caba;this[_0x4389fe(0x198)]=new _0x47d0f2[(_0x4389fe(0x299))](),this[_0x4389fe(0x49c)]=0x0;},'_append':function(_0x4812a7){const _0x400d6b=_0x55caba;typeof _0x4812a7=='string'&&(_0x4812a7=_0x59f467['parse'](_0x4812a7)),this[_0x400d6b(0x198)][_0x400d6b(0x40b)](_0x4812a7),this[_0x400d6b(0x49c)]+=_0x4812a7[_0x400d6b(0x1b1)];},'_process':function(_0x35b425){const _0x2863f0=_0x55caba;var _0x1c3b00,_0x4a186d=this[_0x2863f0(0x198)],_0x12484e=_0x4a186d[_0x2863f0(0x256)],_0x3972a3=_0x4a186d[_0x2863f0(0x1b1)],_0x4783ff=this[_0x2863f0(0x19f)],_0x2da024=_0x4783ff*0x4,_0x47ef08=_0x3972a3/_0x2da024;_0x35b425?_0x47ef08=_0x29d85e[_0x2863f0(0x428)](_0x47ef08):_0x47ef08=_0x29d85e[_0x2863f0(0x150)]((_0x47ef08|0x0)-this[_0x2863f0(0x493)],0x0);var _0x3b2784=_0x47ef08*_0x4783ff,_0x42e883=_0x29d85e[_0x2863f0(0x3ab)](_0x3b2784*0x4,_0x3972a3);if(_0x3b2784){for(var _0x12d324=0x0;_0x12d324<_0x3b2784;_0x12d324+=_0x4783ff)this[_0x2863f0(0x3c3)](_0x12484e,_0x12d324);_0x1c3b00=_0x12484e[_0x2863f0(0x53d)](0x0,_0x3b2784),_0x4a186d['sigBytes']-=_0x42e883;}return new _0x47d0f2[(_0x2863f0(0x299))](_0x1c3b00,_0x42e883);},'clone':function(){const _0x2e4728=_0x55caba;var _0x5596da=_0x53b37f[_0x2e4728(0x27e)]['call'](this);return _0x5596da[_0x2e4728(0x198)]=this[_0x2e4728(0x198)][_0x2e4728(0x27e)](),_0x5596da;},'_minBufferSize':0x0});_0x58822c[_0x55caba(0x26e)]=_0x492255[_0x55caba(0x279)]({'cfg':_0x53b37f['extend'](),'init':function(_0x53338c){const _0x1dee62=_0x55caba;this[_0x1dee62(0x59f)]=this['cfg'][_0x1dee62(0x279)](_0x53338c),this['reset']();},'reset':function(){const _0x407deb=_0x55caba;_0x492255[_0x407deb(0x1ee)][_0x407deb(0x3b4)](this),this['_doReset']();},'update':function(_0x41e828){const _0x56388b=_0x55caba;return this['_append'](_0x41e828),this[_0x56388b(0x2ce)](),this;},'finalize':function(_0x465203){const _0x91190c=_0x55caba;_0x465203&&this[_0x91190c(0x598)](_0x465203);var _0x485fb1=this[_0x91190c(0x125)]();return _0x485fb1;},'blockSize':0x10,'_createHelper':function(_0xddf5a5){return function(_0x2da073,_0x3cc317){const _0x5bd64a=_0x586f;return new _0xddf5a5['init'](_0x3cc317)[_0x5bd64a(0x3b3)](_0x2da073);};},'_createHmacHelper':function(_0x20438f){return function(_0x5900dd,_0x17905b){const _0x468dbc=_0x586f;return new _0x316bc7[(_0x468dbc(0x392))]['init'](_0x20438f,_0x17905b)[_0x468dbc(0x3b3)](_0x5900dd);};}});var _0x316bc7=_0x3b2a77[_0x55caba(0x306)]={};return _0x3b2a77;}(Math);return _0x15973c;}));}(_0x5a6cd8)),_0x5a6cd8[_0x117ee3(0x50a)];}var _0x2e66a0={'exports':{}},_0x209e46;function _0x25dbd1(){return _0x209e46||(_0x209e46=0x1,function(_0x508fad,_0x113dbc){(function(_0x5b8935,_0x2e5259){const _0x56153f=_0x586f;_0x508fad[_0x56153f(0x50a)]=_0x2e5259(_0x50a408());}(_0x4b3743,function(_0x5aab40){const _0x57a710=_0x586f;return(function(){const _0x1a61c7=_0x586f;var _0xaf0435=_0x5aab40,_0x5e7297=_0xaf0435[_0x1a61c7(0x59b)],_0x5cf641=_0x5e7297['WordArray'],_0x15ba6e=_0xaf0435[_0x1a61c7(0x4d7)];_0x15ba6e[_0x1a61c7(0x1ac)]={'stringify':function(_0x10c889){const _0x570dc8=_0x1a61c7;var _0xbe5d60=_0x10c889[_0x570dc8(0x256)],_0x2150b0=_0x10c889['sigBytes'],_0x3ea455=this[_0x570dc8(0x588)];_0x10c889[_0x570dc8(0x546)]();for(var _0x1faeb7=[],_0x1fa664=0x0;_0x1fa664<_0x2150b0;_0x1fa664+=0x3)for(var _0xb863b6=_0xbe5d60[_0x1fa664>>>0x2]>>>0x18-_0x1fa664%0x4*0x8&0xff,_0x5b71f3=_0xbe5d60[_0x1fa664+0x1>>>0x2]>>>0x18-(_0x1fa664+0x1)%0x4*0x8&0xff,_0x59f610=_0xbe5d60[_0x1fa664+0x2>>>0x2]>>>0x18-(_0x1fa664+0x2)%0x4*0x8&0xff,_0x36baa1=_0xb863b6<<0x10|_0x5b71f3<<0x8|_0x59f610,_0x15df56=0x0;_0x15df56<0x4&&_0x1fa664+_0x15df56*0.75<_0x2150b0;_0x15df56++)_0x1faeb7[_0x570dc8(0x203)](_0x3ea455['charAt'](_0x36baa1>>>0x6*(0x3-_0x15df56)&0x3f));var _0x3b2641=_0x3ea455[_0x570dc8(0x4ce)](0x40);if(_0x3b2641){for(;_0x1faeb7[_0x570dc8(0x272)]%0x4;)_0x1faeb7[_0x570dc8(0x203)](_0x3b2641);}return _0x1faeb7[_0x570dc8(0x382)]('');},'parse':function(_0x1c22f9){const _0x584ac7=_0x1a61c7;var _0xc8df23=_0x1c22f9[_0x584ac7(0x272)],_0x2050e2=this[_0x584ac7(0x588)],_0x1556c1=this[_0x584ac7(0x209)];if(!_0x1556c1){_0x1556c1=this['_reverseMap']=[];for(var _0x44ec5d=0x0;_0x44ec5d<_0x2050e2[_0x584ac7(0x272)];_0x44ec5d++)_0x1556c1[_0x2050e2[_0x584ac7(0x27a)](_0x44ec5d)]=_0x44ec5d;}var _0x4b4046=_0x2050e2[_0x584ac7(0x4ce)](0x40);if(_0x4b4046){var _0x19964e=_0x1c22f9[_0x584ac7(0x222)](_0x4b4046);_0x19964e!==-0x1&&(_0xc8df23=_0x19964e);}return _0x249bcc(_0x1c22f9,_0xc8df23,_0x1556c1);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x249bcc(_0x4e11f9,_0x5875bc,_0x1b7816){const _0x23471f=_0x1a61c7;for(var _0x36a4b8=[],_0x320f43=0x0,_0x2d9179=0x0;_0x2d9179<_0x5875bc;_0x2d9179++)if(_0x2d9179%0x4){var _0x4c6832=_0x1b7816[_0x4e11f9[_0x23471f(0x27a)](_0x2d9179-0x1)]<<_0x2d9179%0x4*0x2,_0x21b1fb=_0x1b7816[_0x4e11f9['charCodeAt'](_0x2d9179)]>>>0x6-_0x2d9179%0x4*0x2,_0x4e4e07=_0x4c6832|_0x21b1fb;_0x36a4b8[_0x320f43>>>0x2]|=_0x4e4e07<<0x18-_0x320f43%0x4*0x8,_0x320f43++;}return _0x5cf641[_0x23471f(0x4ee)](_0x36a4b8,_0x320f43);}}()),_0x5aab40[_0x57a710(0x4d7)][_0x57a710(0x1ac)];}));}(_0x2e66a0)),_0x2e66a0['exports'];}var _0x259c34={'exports':{}},_0x546f53;function _0xce1d1b(){return _0x546f53||(_0x546f53=0x1,function(_0x48342d,_0x3c0eeb){(function(_0xc403f1,_0x660e0){const _0x5602f7=_0x586f;_0x48342d[_0x5602f7(0x50a)]=_0x660e0(_0x50a408());}(_0x4b3743,function(_0x3a4526){const _0x29fe04=_0x586f;return function(_0x1df895){const _0x15a2f7=_0x586f;var _0x5331e9=_0x3a4526,_0x4cdb91=_0x5331e9[_0x15a2f7(0x59b)],_0x288efb=_0x4cdb91[_0x15a2f7(0x5a2)],_0x5e6219=_0x4cdb91[_0x15a2f7(0x26e)],_0x53967c=_0x5331e9[_0x15a2f7(0x306)],_0xcae48=[];(function(){const _0x5d160a=_0x15a2f7;for(var _0x4f3972=0x0;_0x4f3972<0x40;_0x4f3972++)_0xcae48[_0x4f3972]=_0x1df895[_0x5d160a(0x2ee)](_0x1df895[_0x5d160a(0x39f)](_0x4f3972+0x1))*0x100000000|0x0;}());var _0x1418aa=_0x53967c[_0x15a2f7(0x2cc)]=_0x5e6219[_0x15a2f7(0x279)]({'_doReset':function(){const _0x60121d=_0x15a2f7;this[_0x60121d(0x284)]=new _0x288efb['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5532f8,_0x103190){const _0x398bcb=_0x15a2f7;for(var _0x5683df=0x0;_0x5683df<0x10;_0x5683df++){var _0xb45180=_0x103190+_0x5683df,_0x1ec361=_0x5532f8[_0xb45180];_0x5532f8[_0xb45180]=(_0x1ec361<<0x8|_0x1ec361>>>0x18)&0xff00ff|(_0x1ec361<<0x18|_0x1ec361>>>0x8)&0xff00ff00;}var _0x5f013e=this[_0x398bcb(0x284)][_0x398bcb(0x256)],_0x35eed8=_0x5532f8[_0x103190+0x0],_0x174b44=_0x5532f8[_0x103190+0x1],_0xfcece5=_0x5532f8[_0x103190+0x2],_0x596b5d=_0x5532f8[_0x103190+0x3],_0x121c8f=_0x5532f8[_0x103190+0x4],_0x404cd2=_0x5532f8[_0x103190+0x5],_0x272564=_0x5532f8[_0x103190+0x6],_0x570bb4=_0x5532f8[_0x103190+0x7],_0x999ca=_0x5532f8[_0x103190+0x8],_0x18cf1b=_0x5532f8[_0x103190+0x9],_0x43cf63=_0x5532f8[_0x103190+0xa],_0x540f9b=_0x5532f8[_0x103190+0xb],_0x213bb8=_0x5532f8[_0x103190+0xc],_0x2b2838=_0x5532f8[_0x103190+0xd],_0x2b8a65=_0x5532f8[_0x103190+0xe],_0x278341=_0x5532f8[_0x103190+0xf],_0x178fb3=_0x5f013e[0x0],_0x503ad7=_0x5f013e[0x1],_0x44f62c=_0x5f013e[0x2],_0x2e6f98=_0x5f013e[0x3];_0x178fb3=_0x2fe30e(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x35eed8,0x7,_0xcae48[0x0]),_0x2e6f98=_0x2fe30e(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x174b44,0xc,_0xcae48[0x1]),_0x44f62c=_0x2fe30e(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0xfcece5,0x11,_0xcae48[0x2]),_0x503ad7=_0x2fe30e(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x596b5d,0x16,_0xcae48[0x3]),_0x178fb3=_0x2fe30e(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x121c8f,0x7,_0xcae48[0x4]),_0x2e6f98=_0x2fe30e(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x404cd2,0xc,_0xcae48[0x5]),_0x44f62c=_0x2fe30e(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x272564,0x11,_0xcae48[0x6]),_0x503ad7=_0x2fe30e(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x570bb4,0x16,_0xcae48[0x7]),_0x178fb3=_0x2fe30e(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x999ca,0x7,_0xcae48[0x8]),_0x2e6f98=_0x2fe30e(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x18cf1b,0xc,_0xcae48[0x9]),_0x44f62c=_0x2fe30e(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x43cf63,0x11,_0xcae48[0xa]),_0x503ad7=_0x2fe30e(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x540f9b,0x16,_0xcae48[0xb]),_0x178fb3=_0x2fe30e(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x213bb8,0x7,_0xcae48[0xc]),_0x2e6f98=_0x2fe30e(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x2b2838,0xc,_0xcae48[0xd]),_0x44f62c=_0x2fe30e(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x2b8a65,0x11,_0xcae48[0xe]),_0x503ad7=_0x2fe30e(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x278341,0x16,_0xcae48[0xf]),_0x178fb3=_0x5a9d08(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x174b44,0x5,_0xcae48[0x10]),_0x2e6f98=_0x5a9d08(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x272564,0x9,_0xcae48[0x11]),_0x44f62c=_0x5a9d08(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x540f9b,0xe,_0xcae48[0x12]),_0x503ad7=_0x5a9d08(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x35eed8,0x14,_0xcae48[0x13]),_0x178fb3=_0x5a9d08(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x404cd2,0x5,_0xcae48[0x14]),_0x2e6f98=_0x5a9d08(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x43cf63,0x9,_0xcae48[0x15]),_0x44f62c=_0x5a9d08(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x278341,0xe,_0xcae48[0x16]),_0x503ad7=_0x5a9d08(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x121c8f,0x14,_0xcae48[0x17]),_0x178fb3=_0x5a9d08(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x18cf1b,0x5,_0xcae48[0x18]),_0x2e6f98=_0x5a9d08(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x2b8a65,0x9,_0xcae48[0x19]),_0x44f62c=_0x5a9d08(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x596b5d,0xe,_0xcae48[0x1a]),_0x503ad7=_0x5a9d08(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x999ca,0x14,_0xcae48[0x1b]),_0x178fb3=_0x5a9d08(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x2b2838,0x5,_0xcae48[0x1c]),_0x2e6f98=_0x5a9d08(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0xfcece5,0x9,_0xcae48[0x1d]),_0x44f62c=_0x5a9d08(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x570bb4,0xe,_0xcae48[0x1e]),_0x503ad7=_0x5a9d08(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x213bb8,0x14,_0xcae48[0x1f]),_0x178fb3=_0x5120b0(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x404cd2,0x4,_0xcae48[0x20]),_0x2e6f98=_0x5120b0(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x999ca,0xb,_0xcae48[0x21]),_0x44f62c=_0x5120b0(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x540f9b,0x10,_0xcae48[0x22]),_0x503ad7=_0x5120b0(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x2b8a65,0x17,_0xcae48[0x23]),_0x178fb3=_0x5120b0(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x174b44,0x4,_0xcae48[0x24]),_0x2e6f98=_0x5120b0(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x121c8f,0xb,_0xcae48[0x25]),_0x44f62c=_0x5120b0(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x570bb4,0x10,_0xcae48[0x26]),_0x503ad7=_0x5120b0(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x43cf63,0x17,_0xcae48[0x27]),_0x178fb3=_0x5120b0(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x2b2838,0x4,_0xcae48[0x28]),_0x2e6f98=_0x5120b0(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x35eed8,0xb,_0xcae48[0x29]),_0x44f62c=_0x5120b0(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x596b5d,0x10,_0xcae48[0x2a]),_0x503ad7=_0x5120b0(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x272564,0x17,_0xcae48[0x2b]),_0x178fb3=_0x5120b0(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x18cf1b,0x4,_0xcae48[0x2c]),_0x2e6f98=_0x5120b0(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x213bb8,0xb,_0xcae48[0x2d]),_0x44f62c=_0x5120b0(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x278341,0x10,_0xcae48[0x2e]),_0x503ad7=_0x5120b0(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0xfcece5,0x17,_0xcae48[0x2f]),_0x178fb3=_0x385d3b(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x35eed8,0x6,_0xcae48[0x30]),_0x2e6f98=_0x385d3b(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x570bb4,0xa,_0xcae48[0x31]),_0x44f62c=_0x385d3b(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x2b8a65,0xf,_0xcae48[0x32]),_0x503ad7=_0x385d3b(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x404cd2,0x15,_0xcae48[0x33]),_0x178fb3=_0x385d3b(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x213bb8,0x6,_0xcae48[0x34]),_0x2e6f98=_0x385d3b(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x596b5d,0xa,_0xcae48[0x35]),_0x44f62c=_0x385d3b(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x43cf63,0xf,_0xcae48[0x36]),_0x503ad7=_0x385d3b(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x174b44,0x15,_0xcae48[0x37]),_0x178fb3=_0x385d3b(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x999ca,0x6,_0xcae48[0x38]),_0x2e6f98=_0x385d3b(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x278341,0xa,_0xcae48[0x39]),_0x44f62c=_0x385d3b(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x272564,0xf,_0xcae48[0x3a]),_0x503ad7=_0x385d3b(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x2b2838,0x15,_0xcae48[0x3b]),_0x178fb3=_0x385d3b(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x121c8f,0x6,_0xcae48[0x3c]),_0x2e6f98=_0x385d3b(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x540f9b,0xa,_0xcae48[0x3d]),_0x44f62c=_0x385d3b(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0xfcece5,0xf,_0xcae48[0x3e]),_0x503ad7=_0x385d3b(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x18cf1b,0x15,_0xcae48[0x3f]),_0x5f013e[0x0]=_0x5f013e[0x0]+_0x178fb3|0x0,_0x5f013e[0x1]=_0x5f013e[0x1]+_0x503ad7|0x0,_0x5f013e[0x2]=_0x5f013e[0x2]+_0x44f62c|0x0,_0x5f013e[0x3]=_0x5f013e[0x3]+_0x2e6f98|0x0;},'_doFinalize':function(){const _0x5ca0b2=_0x15a2f7;var _0x507c21=this[_0x5ca0b2(0x198)],_0x137614=_0x507c21[_0x5ca0b2(0x256)],_0x2ddc07=this['_nDataBytes']*0x8,_0x37316f=_0x507c21[_0x5ca0b2(0x1b1)]*0x8;_0x137614[_0x37316f>>>0x5]|=0x80<<0x18-_0x37316f%0x20;var _0x6f91c6=_0x1df895[_0x5ca0b2(0x1c2)](_0x2ddc07/0x100000000),_0x45f07c=_0x2ddc07;_0x137614[(_0x37316f+0x40>>>0x9<<0x4)+0xf]=(_0x6f91c6<<0x8|_0x6f91c6>>>0x18)&0xff00ff|(_0x6f91c6<<0x18|_0x6f91c6>>>0x8)&0xff00ff00,_0x137614[(_0x37316f+0x40>>>0x9<<0x4)+0xe]=(_0x45f07c<<0x8|_0x45f07c>>>0x18)&0xff00ff|(_0x45f07c<<0x18|_0x45f07c>>>0x8)&0xff00ff00,_0x507c21[_0x5ca0b2(0x1b1)]=(_0x137614[_0x5ca0b2(0x272)]+0x1)*0x4,this[_0x5ca0b2(0x2ce)]();for(var _0x12b54a=this['_hash'],_0x214cd7=_0x12b54a['words'],_0x358b6b=0x0;_0x358b6b<0x4;_0x358b6b++){var _0x57d09c=_0x214cd7[_0x358b6b];_0x214cd7[_0x358b6b]=(_0x57d09c<<0x8|_0x57d09c>>>0x18)&0xff00ff|(_0x57d09c<<0x18|_0x57d09c>>>0x8)&0xff00ff00;}return _0x12b54a;},'clone':function(){const _0x5e9971=_0x15a2f7;var _0x10f771=_0x5e6219['clone'][_0x5e9971(0x3b4)](this);return _0x10f771[_0x5e9971(0x284)]=this[_0x5e9971(0x284)]['clone'](),_0x10f771;}});function _0x2fe30e(_0x4632ca,_0x2210dd,_0xeaa06f,_0x905e5e,_0x2b7120,_0x45fa46,_0x516ba2){var _0x40a78e=_0x4632ca+(_0x2210dd&_0xeaa06f|~_0x2210dd&_0x905e5e)+_0x2b7120+_0x516ba2;return(_0x40a78e<<_0x45fa46|_0x40a78e>>>0x20-_0x45fa46)+_0x2210dd;}function _0x5a9d08(_0x2175ab,_0x10e779,_0x5e34eb,_0x172097,_0x4757ef,_0x57b06b,_0x5ccdf2){var _0x3a2345=_0x2175ab+(_0x10e779&_0x172097|_0x5e34eb&~_0x172097)+_0x4757ef+_0x5ccdf2;return(_0x3a2345<<_0x57b06b|_0x3a2345>>>0x20-_0x57b06b)+_0x10e779;}function _0x5120b0(_0x1d187a,_0x2bb157,_0xd4fdcc,_0x4026d1,_0xf4c3c0,_0x282a80,_0x1f83a0){var _0x7536a2=_0x1d187a+(_0x2bb157^_0xd4fdcc^_0x4026d1)+_0xf4c3c0+_0x1f83a0;return(_0x7536a2<<_0x282a80|_0x7536a2>>>0x20-_0x282a80)+_0x2bb157;}function _0x385d3b(_0x312bea,_0x5c6fd3,_0x240b07,_0x360e6c,_0x3edd44,_0x1adb9c,_0x435642){var _0x43ca0f=_0x312bea+(_0x240b07^(_0x5c6fd3|~_0x360e6c))+_0x3edd44+_0x435642;return(_0x43ca0f<<_0x1adb9c|_0x43ca0f>>>0x20-_0x1adb9c)+_0x5c6fd3;}_0x5331e9['MD5']=_0x5e6219[_0x15a2f7(0x18c)](_0x1418aa),_0x5331e9[_0x15a2f7(0x224)]=_0x5e6219['_createHmacHelper'](_0x1418aa);}(Math),_0x3a4526[_0x29fe04(0x2cc)];}));}(_0x259c34)),_0x259c34['exports'];}var _0x8d2d57={'exports':{}},_0x4d5964={'exports':{}},_0x228cce;function _0x2bd429(){const _0x41d9bb=_0x16631f;return _0x228cce||(_0x228cce=0x1,function(_0x548326,_0x227b95){(function(_0x30cd37,_0x3b26b5){const _0xfe90b3=_0x586f;_0x548326[_0xfe90b3(0x50a)]=_0x3b26b5(_0x50a408());}(_0x4b3743,function(_0x5d7782){const _0x9ed26f=_0x586f;return(function(){const _0x31fbf5=_0x586f;var _0x3c2239=_0x5d7782,_0x52b4e1=_0x3c2239['lib'],_0x51f7f4=_0x52b4e1[_0x31fbf5(0x5a2)],_0x44c8cc=_0x52b4e1[_0x31fbf5(0x26e)],_0x8b2a76=_0x3c2239['algo'],_0x146712=[],_0x46da41=_0x8b2a76['SHA1']=_0x44c8cc[_0x31fbf5(0x279)]({'_doReset':function(){const _0x40668f=_0x31fbf5;this[_0x40668f(0x284)]=new _0x51f7f4[(_0x40668f(0x299))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2f8f28,_0x365538){const _0x19a70a=_0x31fbf5;for(var _0x4e3f58=this[_0x19a70a(0x284)][_0x19a70a(0x256)],_0x3a529b=_0x4e3f58[0x0],_0x414a82=_0x4e3f58[0x1],_0x182c9b=_0x4e3f58[0x2],_0x22ed27=_0x4e3f58[0x3],_0x59db84=_0x4e3f58[0x4],_0x3f73e7=0x0;_0x3f73e7<0x50;_0x3f73e7++){if(_0x3f73e7<0x10)_0x146712[_0x3f73e7]=_0x2f8f28[_0x365538+_0x3f73e7]|0x0;else{var _0x447286=_0x146712[_0x3f73e7-0x3]^_0x146712[_0x3f73e7-0x8]^_0x146712[_0x3f73e7-0xe]^_0x146712[_0x3f73e7-0x10];_0x146712[_0x3f73e7]=_0x447286<<0x1|_0x447286>>>0x1f;}var _0x22d7a9=(_0x3a529b<<0x5|_0x3a529b>>>0x1b)+_0x59db84+_0x146712[_0x3f73e7];_0x3f73e7<0x14?_0x22d7a9+=(_0x414a82&_0x182c9b|~_0x414a82&_0x22ed27)+0x5a827999:_0x3f73e7<0x28?_0x22d7a9+=(_0x414a82^_0x182c9b^_0x22ed27)+0x6ed9eba1:_0x3f73e7<0x3c?_0x22d7a9+=(_0x414a82&_0x182c9b|_0x414a82&_0x22ed27|_0x182c9b&_0x22ed27)-0x70e44324:_0x22d7a9+=(_0x414a82^_0x182c9b^_0x22ed27)-0x359d3e2a,_0x59db84=_0x22ed27,_0x22ed27=_0x182c9b,_0x182c9b=_0x414a82<<0x1e|_0x414a82>>>0x2,_0x414a82=_0x3a529b,_0x3a529b=_0x22d7a9;}_0x4e3f58[0x0]=_0x4e3f58[0x0]+_0x3a529b|0x0,_0x4e3f58[0x1]=_0x4e3f58[0x1]+_0x414a82|0x0,_0x4e3f58[0x2]=_0x4e3f58[0x2]+_0x182c9b|0x0,_0x4e3f58[0x3]=_0x4e3f58[0x3]+_0x22ed27|0x0,_0x4e3f58[0x4]=_0x4e3f58[0x4]+_0x59db84|0x0;},'_doFinalize':function(){const _0x27cb41=_0x31fbf5;var _0x44d133=this[_0x27cb41(0x198)],_0x4dca99=_0x44d133[_0x27cb41(0x256)],_0x2b18a6=this['_nDataBytes']*0x8,_0x1723bd=_0x44d133[_0x27cb41(0x1b1)]*0x8;return _0x4dca99[_0x1723bd>>>0x5]|=0x80<<0x18-_0x1723bd%0x20,_0x4dca99[(_0x1723bd+0x40>>>0x9<<0x4)+0xe]=Math[_0x27cb41(0x1c2)](_0x2b18a6/0x100000000),_0x4dca99[(_0x1723bd+0x40>>>0x9<<0x4)+0xf]=_0x2b18a6,_0x44d133[_0x27cb41(0x1b1)]=_0x4dca99[_0x27cb41(0x272)]*0x4,this[_0x27cb41(0x2ce)](),this['_hash'];},'clone':function(){const _0x3b7cfa=_0x31fbf5;var _0x5cb135=_0x44c8cc[_0x3b7cfa(0x27e)][_0x3b7cfa(0x3b4)](this);return _0x5cb135[_0x3b7cfa(0x284)]=this[_0x3b7cfa(0x284)]['clone'](),_0x5cb135;}});_0x3c2239['SHA1']=_0x44c8cc[_0x31fbf5(0x18c)](_0x46da41),_0x3c2239[_0x31fbf5(0x4c6)]=_0x44c8cc['_createHmacHelper'](_0x46da41);}()),_0x5d7782[_0x9ed26f(0x4b7)];}));}(_0x4d5964)),_0x4d5964[_0x41d9bb(0x50a)];}var _0x1c2409={'exports':{}},_0x4005c6;function _0x65f4f1(){return _0x4005c6||(_0x4005c6=0x1,function(_0x10b726,_0x100d54){(function(_0x41a451,_0x57a4e2){const _0x577469=_0x586f;_0x10b726[_0x577469(0x50a)]=_0x57a4e2(_0x50a408());}(_0x4b3743,function(_0x1acdab){(function(){const _0x12b27b=_0x586f;var _0x45f4c7=_0x1acdab,_0x4c233d=_0x45f4c7[_0x12b27b(0x59b)],_0x5b63a9=_0x4c233d[_0x12b27b(0x3b8)],_0x14385c=_0x45f4c7[_0x12b27b(0x4d7)],_0x2f642b=_0x14385c['Utf8'],_0x200840=_0x45f4c7[_0x12b27b(0x306)];_0x200840[_0x12b27b(0x392)]=_0x5b63a9['extend']({'init':function(_0x25aa7d,_0x4e6617){const _0x29a861=_0x12b27b;_0x25aa7d=this['_hasher']=new _0x25aa7d[(_0x29a861(0x299))](),typeof _0x4e6617==_0x29a861(0x18e)&&(_0x4e6617=_0x2f642b[_0x29a861(0x4c5)](_0x4e6617));var _0x26d177=_0x25aa7d[_0x29a861(0x19f)],_0x668065=_0x26d177*0x4;_0x4e6617[_0x29a861(0x1b1)]>_0x668065&&(_0x4e6617=_0x25aa7d[_0x29a861(0x3b3)](_0x4e6617)),_0x4e6617[_0x29a861(0x546)]();for(var _0x4c831d=this[_0x29a861(0x4c0)]=_0x4e6617[_0x29a861(0x27e)](),_0x12c90e=this[_0x29a861(0x4f6)]=_0x4e6617['clone'](),_0x286103=_0x4c831d[_0x29a861(0x256)],_0x44f3ad=_0x12c90e[_0x29a861(0x256)],_0x118e8a=0x0;_0x118e8a<_0x26d177;_0x118e8a++)_0x286103[_0x118e8a]^=0x5c5c5c5c,_0x44f3ad[_0x118e8a]^=0x36363636;_0x4c831d['sigBytes']=_0x12c90e['sigBytes']=_0x668065,this['reset']();},'reset':function(){const _0x79f24d=_0x12b27b;var _0x524ebd=this['_hasher'];_0x524ebd[_0x79f24d(0x1ee)](),_0x524ebd[_0x79f24d(0x40d)](this[_0x79f24d(0x4f6)]);},'update':function(_0x1299e7){const _0xc0ba53=_0x12b27b;return this[_0xc0ba53(0x325)][_0xc0ba53(0x40d)](_0x1299e7),this;},'finalize':function(_0x517b3d){const _0x2adcfa=_0x12b27b;var _0x20884a=this['_hasher'],_0x4b2443=_0x20884a[_0x2adcfa(0x3b3)](_0x517b3d);_0x20884a[_0x2adcfa(0x1ee)]();var _0x49c671=_0x20884a[_0x2adcfa(0x3b3)](this['_oKey'][_0x2adcfa(0x27e)]()[_0x2adcfa(0x40b)](_0x4b2443));return _0x49c671;}});}());}));}(_0x1c2409)),_0x1c2409['exports'];}var _0x152977;function _0x4f0e2d(){const _0x32095e=_0x16631f;return _0x152977||(_0x152977=0x1,function(_0x4e2c49,_0x54ddbf){(function(_0x1edc9c,_0x3a2b13,_0x7d4a99){const _0x5ba682=_0x586f;_0x4e2c49[_0x5ba682(0x50a)]=_0x3a2b13(_0x50a408(),_0x2bd429(),_0x65f4f1());}(_0x4b3743,function(_0x5283c4){return(function(){const _0x1985ed=_0x586f;var _0x280345=_0x5283c4,_0x123b87=_0x280345[_0x1985ed(0x59b)],_0x4c3692=_0x123b87['Base'],_0xe321d=_0x123b87['WordArray'],_0x2ca729=_0x280345[_0x1985ed(0x306)],_0xfd3794=_0x2ca729[_0x1985ed(0x2cc)],_0x57ca96=_0x2ca729['EvpKDF']=_0x4c3692['extend']({'cfg':_0x4c3692['extend']({'keySize':0x80/0x20,'hasher':_0xfd3794,'iterations':0x1}),'init':function(_0xfdfb40){const _0x8d6c00=_0x1985ed;this['cfg']=this['cfg'][_0x8d6c00(0x279)](_0xfdfb40);},'compute':function(_0x51ac15,_0x4cd306){const _0x3b1b35=_0x1985ed;for(var _0x50b052,_0x2cc26e=this[_0x3b1b35(0x59f)],_0x228db1=_0x2cc26e[_0x3b1b35(0x225)]['create'](),_0x44ac96=_0xe321d[_0x3b1b35(0x4ee)](),_0x1afaf6=_0x44ac96[_0x3b1b35(0x256)],_0x3b1a7d=_0x2cc26e[_0x3b1b35(0x2af)],_0x9fbf0e=_0x2cc26e['iterations'];_0x1afaf6[_0x3b1b35(0x272)]<_0x3b1a7d;){_0x50b052&&_0x228db1[_0x3b1b35(0x40d)](_0x50b052),_0x50b052=_0x228db1[_0x3b1b35(0x40d)](_0x51ac15)[_0x3b1b35(0x3b3)](_0x4cd306),_0x228db1[_0x3b1b35(0x1ee)]();for(var _0x37d70a=0x1;_0x37d70a<_0x9fbf0e;_0x37d70a++)_0x50b052=_0x228db1['finalize'](_0x50b052),_0x228db1[_0x3b1b35(0x1ee)]();_0x44ac96[_0x3b1b35(0x40b)](_0x50b052);}return _0x44ac96[_0x3b1b35(0x1b1)]=_0x3b1a7d*0x4,_0x44ac96;}});_0x280345[_0x1985ed(0x563)]=function(_0x28ee3e,_0x1d92fb,_0x56b262){const _0x1b9d0e=_0x1985ed;return _0x57ca96[_0x1b9d0e(0x4ee)](_0x56b262)[_0x1b9d0e(0x4e8)](_0x28ee3e,_0x1d92fb);};}()),_0x5283c4['EvpKDF'];}));}(_0x8d2d57)),_0x8d2d57[_0x32095e(0x50a)];}var _0x210bb4={'exports':{}},_0x491f76;function _0x1e9ef0(){return _0x491f76||(_0x491f76=0x1,function(_0x49b610,_0x5b1ca3){(function(_0x2e18a6,_0x138061,_0xd3ff1b){const _0xb8c435=_0x586f;_0x49b610[_0xb8c435(0x50a)]=_0x138061(_0x50a408(),_0x4f0e2d());}(_0x4b3743,function(_0x4f531b){const _0x56929f=_0x586f;_0x4f531b['lib'][_0x56929f(0x26c)]||function(_0x1bd89b){const _0xc39ffe=_0x56929f;var _0x5dd2ea=_0x4f531b,_0x469414=_0x5dd2ea[_0xc39ffe(0x59b)],_0x39d1fa=_0x469414[_0xc39ffe(0x3b8)],_0x23d299=_0x469414[_0xc39ffe(0x5a2)],_0x27429b=_0x469414['BufferedBlockAlgorithm'],_0x1f2971=_0x5dd2ea[_0xc39ffe(0x4d7)];_0x1f2971['Utf8'];var _0x34190b=_0x1f2971[_0xc39ffe(0x1ac)],_0x90ee39=_0x5dd2ea[_0xc39ffe(0x306)],_0x5dae4d=_0x90ee39[_0xc39ffe(0x563)],_0x5b2086=_0x469414['Cipher']=_0x27429b[_0xc39ffe(0x279)]({'cfg':_0x39d1fa[_0xc39ffe(0x279)](),'createEncryptor':function(_0x2c911f,_0x24f916){const _0x4e7512=_0xc39ffe;return this[_0x4e7512(0x4ee)](this['_ENC_XFORM_MODE'],_0x2c911f,_0x24f916);},'createDecryptor':function(_0x1b0df7,_0x309d15){const _0x14337c=_0xc39ffe;return this[_0x14337c(0x4ee)](this[_0x14337c(0x36e)],_0x1b0df7,_0x309d15);},'init':function(_0xcd4752,_0x25b8d3,_0x333bc4){const _0x3fe9ab=_0xc39ffe;this[_0x3fe9ab(0x59f)]=this[_0x3fe9ab(0x59f)][_0x3fe9ab(0x279)](_0x333bc4),this[_0x3fe9ab(0x1c0)]=_0xcd4752,this[_0x3fe9ab(0x3ec)]=_0x25b8d3,this[_0x3fe9ab(0x1ee)]();},'reset':function(){const _0x276a77=_0xc39ffe;_0x27429b[_0x276a77(0x1ee)][_0x276a77(0x3b4)](this),this[_0x276a77(0x368)]();},'process':function(_0x3f1c9a){return this['_append'](_0x3f1c9a),this['_process']();},'finalize':function(_0x1a7456){const _0x505abd=_0xc39ffe;_0x1a7456&&this[_0x505abd(0x598)](_0x1a7456);var _0xfe136b=this['_doFinalize']();return _0xfe136b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x48d1b9(_0x4fab20){const _0x5af6ae=_0x586f;return typeof _0x4fab20==_0x5af6ae(0x18e)?_0x203d52:_0x509bd0;}return function(_0x4ca214){return{'encrypt':function(_0x23121f,_0x1a8714,_0x4410de){const _0x26bca7=_0x586f;return _0x48d1b9(_0x1a8714)[_0x26bca7(0x25b)](_0x4ca214,_0x23121f,_0x1a8714,_0x4410de);},'decrypt':function(_0x124893,_0x243a41,_0x274e74){return _0x48d1b9(_0x243a41)['decrypt'](_0x4ca214,_0x124893,_0x243a41,_0x274e74);}};};}())});_0x469414[_0xc39ffe(0x4fb)]=_0x5b2086[_0xc39ffe(0x279)]({'_doFinalize':function(){const _0x23f975=_0xc39ffe;var _0x923230=this[_0x23f975(0x2ce)](!0x0);return _0x923230;},'blockSize':0x1});var _0x41cb73=_0x5dd2ea['mode']={},_0x2f37a3=_0x469414['BlockCipherMode']=_0x39d1fa[_0xc39ffe(0x279)]({'createEncryptor':function(_0x526346,_0x248d1f){const _0x396c35=_0xc39ffe;return this[_0x396c35(0x3fe)][_0x396c35(0x4ee)](_0x526346,_0x248d1f);},'createDecryptor':function(_0x23b33a,_0x1a1e33){return this['Decryptor']['create'](_0x23b33a,_0x1a1e33);},'init':function(_0x1521aa,_0xf90bac){const _0x20d4e4=_0xc39ffe;this['_cipher']=_0x1521aa,this[_0x20d4e4(0x2ec)]=_0xf90bac;}}),_0x588aff=_0x41cb73[_0xc39ffe(0x2cf)]=(function(){const _0x214a2e=_0xc39ffe;var _0x3f0094=_0x2f37a3[_0x214a2e(0x279)]();_0x3f0094['Encryptor']=_0x3f0094[_0x214a2e(0x279)]({'processBlock':function(_0x56cef5,_0x216941){const _0x326624=_0x214a2e;var _0x1ee6d8=this['_cipher'],_0x54ca44=_0x1ee6d8[_0x326624(0x19f)];_0x1827c5['call'](this,_0x56cef5,_0x216941,_0x54ca44),_0x1ee6d8[_0x326624(0x54b)](_0x56cef5,_0x216941),this['_prevBlock']=_0x56cef5[_0x326624(0x38d)](_0x216941,_0x216941+_0x54ca44);}}),_0x3f0094[_0x214a2e(0x194)]=_0x3f0094[_0x214a2e(0x279)]({'processBlock':function(_0x7b9acb,_0x47bc23){const _0x4f5e36=_0x214a2e;var _0x2b8b92=this[_0x4f5e36(0x39d)],_0x128e8b=_0x2b8b92[_0x4f5e36(0x19f)],_0x4e99a9=_0x7b9acb[_0x4f5e36(0x38d)](_0x47bc23,_0x47bc23+_0x128e8b);_0x2b8b92[_0x4f5e36(0x2c3)](_0x7b9acb,_0x47bc23),_0x1827c5[_0x4f5e36(0x3b4)](this,_0x7b9acb,_0x47bc23,_0x128e8b),this['_prevBlock']=_0x4e99a9;}});function _0x1827c5(_0x18b432,_0x4b5dd4,_0x366c10){const _0x11b28e=_0x214a2e;var _0x238ba6,_0x1169f8=this[_0x11b28e(0x2ec)];_0x1169f8?(_0x238ba6=_0x1169f8,this[_0x11b28e(0x2ec)]=_0x1bd89b):_0x238ba6=this[_0x11b28e(0x1a9)];for(var _0xf9842=0x0;_0xf9842<_0x366c10;_0xf9842++)_0x18b432[_0x4b5dd4+_0xf9842]^=_0x238ba6[_0xf9842];}return _0x3f0094;}()),_0x453a2c=_0x5dd2ea['pad']={},_0x1b0e3d=_0x453a2c['Pkcs7']={'pad':function(_0x33cd73,_0x4a759d){const _0x3cb151=_0xc39ffe;for(var _0x3f7bbf=_0x4a759d*0x4,_0x21e6a5=_0x3f7bbf-_0x33cd73[_0x3cb151(0x1b1)]%_0x3f7bbf,_0x7c6486=_0x21e6a5<<0x18|_0x21e6a5<<0x10|_0x21e6a5<<0x8|_0x21e6a5,_0x3566dc=[],_0x59637c=0x0;_0x59637c<_0x21e6a5;_0x59637c+=0x4)_0x3566dc[_0x3cb151(0x203)](_0x7c6486);var _0x48064d=_0x23d299[_0x3cb151(0x4ee)](_0x3566dc,_0x21e6a5);_0x33cd73['concat'](_0x48064d);},'unpad':function(_0xc48888){const _0x48869e=_0xc39ffe;var _0x424231=_0xc48888[_0x48869e(0x256)][_0xc48888[_0x48869e(0x1b1)]-0x1>>>0x2]&0xff;_0xc48888[_0x48869e(0x1b1)]-=_0x424231;}};_0x469414[_0xc39ffe(0x13b)]=_0x5b2086['extend']({'cfg':_0x5b2086[_0xc39ffe(0x59f)][_0xc39ffe(0x279)]({'mode':_0x588aff,'padding':_0x1b0e3d}),'reset':function(){const _0x2049d2=_0xc39ffe;var _0x1bec0e;_0x5b2086[_0x2049d2(0x1ee)][_0x2049d2(0x3b4)](this);var _0x52fc88=this[_0x2049d2(0x59f)],_0x4bfb20=_0x52fc88['iv'],_0x3a7ae6=_0x52fc88[_0x2049d2(0x2fe)];this['_xformMode']==this[_0x2049d2(0x391)]?_0x1bec0e=_0x3a7ae6[_0x2049d2(0x345)]:(_0x1bec0e=_0x3a7ae6[_0x2049d2(0x2fd)],this['_minBufferSize']=0x1),this[_0x2049d2(0x13f)]&&this[_0x2049d2(0x13f)][_0x2049d2(0x466)]==_0x1bec0e?this['_mode'][_0x2049d2(0x299)](this,_0x4bfb20&&_0x4bfb20['words']):(this[_0x2049d2(0x13f)]=_0x1bec0e[_0x2049d2(0x3b4)](_0x3a7ae6,this,_0x4bfb20&&_0x4bfb20[_0x2049d2(0x256)]),this['_mode'][_0x2049d2(0x466)]=_0x1bec0e);},'_doProcessBlock':function(_0x5e3dd5,_0x2d5c22){const _0x517e8b=_0xc39ffe;this[_0x517e8b(0x13f)][_0x517e8b(0x275)](_0x5e3dd5,_0x2d5c22);},'_doFinalize':function(){const _0xf94fe9=_0xc39ffe;var _0x496e62,_0xa980d3=this['cfg']['padding'];return this[_0xf94fe9(0x1c0)]==this[_0xf94fe9(0x391)]?(_0xa980d3[_0xf94fe9(0x394)](this['_data'],this[_0xf94fe9(0x19f)]),_0x496e62=this[_0xf94fe9(0x2ce)](!0x0)):(_0x496e62=this['_process'](!0x0),_0xa980d3['unpad'](_0x496e62)),_0x496e62;},'blockSize':0x80/0x20});var _0x2f6146=_0x469414[_0xc39ffe(0x3a1)]=_0x39d1fa['extend']({'init':function(_0x434182){const _0x239cfe=_0xc39ffe;this[_0x239cfe(0x3ba)](_0x434182);},'toString':function(_0x12fff1){const _0x4d1bd0=_0xc39ffe;return(_0x12fff1||this[_0x4d1bd0(0x422)])['stringify'](this);}}),_0x2d8468=_0x5dd2ea[_0xc39ffe(0x2cb)]={},_0x240985=_0x2d8468[_0xc39ffe(0x419)]={'stringify':function(_0x13a3ab){const _0xb66d1=_0xc39ffe;var _0x5c63c0,_0x5d3292=_0x13a3ab['ciphertext'],_0x5d01cf=_0x13a3ab[_0xb66d1(0x3da)];return _0x5d01cf?_0x5c63c0=_0x23d299[_0xb66d1(0x4ee)]([0x53616c74,0x65645f5f])['concat'](_0x5d01cf)['concat'](_0x5d3292):_0x5c63c0=_0x5d3292,_0x5c63c0[_0xb66d1(0x3a4)](_0x34190b);},'parse':function(_0x4e9a09){const _0x14ac53=_0xc39ffe;var _0x483a9f,_0x3584e2=_0x34190b[_0x14ac53(0x4c5)](_0x4e9a09),_0x579b8b=_0x3584e2[_0x14ac53(0x256)];return _0x579b8b[0x0]==0x53616c74&&_0x579b8b[0x1]==0x65645f5f&&(_0x483a9f=_0x23d299[_0x14ac53(0x4ee)](_0x579b8b[_0x14ac53(0x38d)](0x2,0x4)),_0x579b8b[_0x14ac53(0x53d)](0x0,0x4),_0x3584e2[_0x14ac53(0x1b1)]-=0x10),_0x2f6146[_0x14ac53(0x4ee)]({'ciphertext':_0x3584e2,'salt':_0x483a9f});}},_0x509bd0=_0x469414[_0xc39ffe(0x4de)]=_0x39d1fa[_0xc39ffe(0x279)]({'cfg':_0x39d1fa[_0xc39ffe(0x279)]({'format':_0x240985}),'encrypt':function(_0x5e762b,_0x4c4faa,_0x94a7f7,_0x558c8d){const _0xcf2be8=_0xc39ffe;_0x558c8d=this[_0xcf2be8(0x59f)][_0xcf2be8(0x279)](_0x558c8d);var _0x39de7b=_0x5e762b[_0xcf2be8(0x345)](_0x94a7f7,_0x558c8d),_0x2f279d=_0x39de7b[_0xcf2be8(0x3b3)](_0x4c4faa),_0x535734=_0x39de7b[_0xcf2be8(0x59f)];return _0x2f6146[_0xcf2be8(0x4ee)]({'ciphertext':_0x2f279d,'key':_0x94a7f7,'iv':_0x535734['iv'],'algorithm':_0x5e762b,'mode':_0x535734['mode'],'padding':_0x535734[_0xcf2be8(0x58a)],'blockSize':_0x5e762b[_0xcf2be8(0x19f)],'formatter':_0x558c8d[_0xcf2be8(0x2cb)]});},'decrypt':function(_0x171ad1,_0x34ab79,_0x1fbef6,_0x18481f){const _0x22695e=_0xc39ffe;_0x18481f=this[_0x22695e(0x59f)][_0x22695e(0x279)](_0x18481f),_0x34ab79=this['_parse'](_0x34ab79,_0x18481f[_0x22695e(0x2cb)]);var _0x371471=_0x171ad1['createDecryptor'](_0x1fbef6,_0x18481f)[_0x22695e(0x3b3)](_0x34ab79[_0x22695e(0x2df)]);return _0x371471;},'_parse':function(_0x4ec597,_0xcbd291){const _0x3b2d1c=_0xc39ffe;return typeof _0x4ec597==_0x3b2d1c(0x18e)?_0xcbd291[_0x3b2d1c(0x4c5)](_0x4ec597,this):_0x4ec597;}}),_0x262f51=_0x5dd2ea['kdf']={},_0x179f5f=_0x262f51['OpenSSL']={'execute':function(_0xbc8a53,_0x499bda,_0x329ce0,_0x23aa1d,_0xa9d0d9){const _0x28f250=_0xc39ffe;if(_0x23aa1d||(_0x23aa1d=_0x23d299[_0x28f250(0x2bf)](0x40/0x8)),_0xa9d0d9)var _0x351a99=_0x5dae4d[_0x28f250(0x4ee)]({'keySize':_0x499bda+_0x329ce0,'hasher':_0xa9d0d9})[_0x28f250(0x4e8)](_0xbc8a53,_0x23aa1d);else var _0x351a99=_0x5dae4d[_0x28f250(0x4ee)]({'keySize':_0x499bda+_0x329ce0})['compute'](_0xbc8a53,_0x23aa1d);var _0x114277=_0x23d299[_0x28f250(0x4ee)](_0x351a99['words']['slice'](_0x499bda),_0x329ce0*0x4);return _0x351a99[_0x28f250(0x1b1)]=_0x499bda*0x4,_0x2f6146[_0x28f250(0x4ee)]({'key':_0x351a99,'iv':_0x114277,'salt':_0x23aa1d});}},_0x203d52=_0x469414[_0xc39ffe(0x40a)]=_0x509bd0[_0xc39ffe(0x279)]({'cfg':_0x509bd0[_0xc39ffe(0x59f)][_0xc39ffe(0x279)]({'kdf':_0x179f5f}),'encrypt':function(_0x245f0b,_0xe6c2fe,_0x4ef296,_0x476cc7){const _0x434f4d=_0xc39ffe;_0x476cc7=this['cfg'][_0x434f4d(0x279)](_0x476cc7);var _0x595b4b=_0x476cc7[_0x434f4d(0x25a)][_0x434f4d(0x132)](_0x4ef296,_0x245f0b[_0x434f4d(0x2af)],_0x245f0b[_0x434f4d(0x421)],_0x476cc7[_0x434f4d(0x3da)],_0x476cc7['hasher']);_0x476cc7['iv']=_0x595b4b['iv'];var _0x1031c0=_0x509bd0[_0x434f4d(0x25b)][_0x434f4d(0x3b4)](this,_0x245f0b,_0xe6c2fe,_0x595b4b['key'],_0x476cc7);return _0x1031c0[_0x434f4d(0x3ba)](_0x595b4b),_0x1031c0;},'decrypt':function(_0x585592,_0x38c1df,_0xf2378e,_0x246991){const _0x4c01b8=_0xc39ffe;_0x246991=this['cfg'][_0x4c01b8(0x279)](_0x246991),_0x38c1df=this['_parse'](_0x38c1df,_0x246991[_0x4c01b8(0x2cb)]);var _0x301b99=_0x246991[_0x4c01b8(0x25a)][_0x4c01b8(0x132)](_0xf2378e,_0x585592[_0x4c01b8(0x2af)],_0x585592[_0x4c01b8(0x421)],_0x38c1df[_0x4c01b8(0x3da)],_0x246991[_0x4c01b8(0x225)]);_0x246991['iv']=_0x301b99['iv'];var _0x309326=_0x509bd0[_0x4c01b8(0x1ba)][_0x4c01b8(0x3b4)](this,_0x585592,_0x38c1df,_0x301b99[_0x4c01b8(0x3a2)],_0x246991);return _0x309326;}});}();}));}(_0x210bb4)),_0x210bb4['exports'];}(function(_0x414506,_0x3eb8f6){(function(_0x43792d,_0x590944,_0x1e8fb9){const _0x3d437e=_0x586f;_0x414506[_0x3d437e(0x50a)]=_0x590944(_0x50a408(),_0x25dbd1(),_0xce1d1b(),_0x4f0e2d(),_0x1e9ef0());}(_0x4b3743,function(_0x817790){const _0x5db548=_0x586f;return(function(){const _0x12fe38=_0x586f;var _0x4ed59c=_0x817790,_0x4bdbc9=_0x4ed59c[_0x12fe38(0x59b)],_0x3db3c1=_0x4bdbc9[_0x12fe38(0x13b)],_0x5d7f14=_0x4ed59c['algo'],_0x11d17e=[],_0x5c97d9=[],_0x263b0d=[],_0x583e1b=[],_0x35c9b5=[],_0x2b9072=[],_0x2b0f6d=[],_0x24ea6a=[],_0x110f18=[],_0x533abd=[];(function(){for(var _0x532e5a=[],_0x2084b4=0x0;_0x2084b4<0x100;_0x2084b4++)_0x2084b4<0x80?_0x532e5a[_0x2084b4]=_0x2084b4<<0x1:_0x532e5a[_0x2084b4]=_0x2084b4<<0x1^0x11b;for(var _0x4c3d7a=0x0,_0xf6f8d7=0x0,_0x2084b4=0x0;_0x2084b4<0x100;_0x2084b4++){var _0x326645=_0xf6f8d7^_0xf6f8d7<<0x1^_0xf6f8d7<<0x2^_0xf6f8d7<<0x3^_0xf6f8d7<<0x4;_0x326645=_0x326645>>>0x8^_0x326645&0xff^0x63,_0x11d17e[_0x4c3d7a]=_0x326645,_0x5c97d9[_0x326645]=_0x4c3d7a;var _0x4fa05f=_0x532e5a[_0x4c3d7a],_0x456c3c=_0x532e5a[_0x4fa05f],_0xbe9c43=_0x532e5a[_0x456c3c],_0x51bb91=_0x532e5a[_0x326645]*0x101^_0x326645*0x1010100;_0x263b0d[_0x4c3d7a]=_0x51bb91<<0x18|_0x51bb91>>>0x8,_0x583e1b[_0x4c3d7a]=_0x51bb91<<0x10|_0x51bb91>>>0x10,_0x35c9b5[_0x4c3d7a]=_0x51bb91<<0x8|_0x51bb91>>>0x18,_0x2b9072[_0x4c3d7a]=_0x51bb91;var _0x51bb91=_0xbe9c43*0x1010101^_0x456c3c*0x10001^_0x4fa05f*0x101^_0x4c3d7a*0x1010100;_0x2b0f6d[_0x326645]=_0x51bb91<<0x18|_0x51bb91>>>0x8,_0x24ea6a[_0x326645]=_0x51bb91<<0x10|_0x51bb91>>>0x10,_0x110f18[_0x326645]=_0x51bb91<<0x8|_0x51bb91>>>0x18,_0x533abd[_0x326645]=_0x51bb91,_0x4c3d7a?(_0x4c3d7a=_0x4fa05f^_0x532e5a[_0x532e5a[_0x532e5a[_0xbe9c43^_0x4fa05f]]],_0xf6f8d7^=_0x532e5a[_0x532e5a[_0xf6f8d7]]):_0x4c3d7a=_0xf6f8d7=0x1;}}());var _0x4184c5=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x49f5d9=_0x5d7f14[_0x12fe38(0x29e)]=_0x3db3c1[_0x12fe38(0x279)]({'_doReset':function(){const _0x3ed27e=_0x12fe38;var _0x1eb9f1;if(!(this[_0x3ed27e(0x54c)]&&this[_0x3ed27e(0x270)]===this['_key'])){for(var _0xf0e9b9=this[_0x3ed27e(0x270)]=this[_0x3ed27e(0x3ec)],_0x1242fe=_0xf0e9b9[_0x3ed27e(0x256)],_0x161b4e=_0xf0e9b9[_0x3ed27e(0x1b1)]/0x4,_0x54a618=this[_0x3ed27e(0x54c)]=_0x161b4e+0x6,_0x435d8e=(_0x54a618+0x1)*0x4,_0x246217=this[_0x3ed27e(0x3cb)]=[],_0x30548c=0x0;_0x30548c<_0x435d8e;_0x30548c++)_0x30548c<_0x161b4e?_0x246217[_0x30548c]=_0x1242fe[_0x30548c]:(_0x1eb9f1=_0x246217[_0x30548c-0x1],_0x30548c%_0x161b4e?_0x161b4e>0x6&&_0x30548c%_0x161b4e==0x4&&(_0x1eb9f1=_0x11d17e[_0x1eb9f1>>>0x18]<<0x18|_0x11d17e[_0x1eb9f1>>>0x10&0xff]<<0x10|_0x11d17e[_0x1eb9f1>>>0x8&0xff]<<0x8|_0x11d17e[_0x1eb9f1&0xff]):(_0x1eb9f1=_0x1eb9f1<<0x8|_0x1eb9f1>>>0x18,_0x1eb9f1=_0x11d17e[_0x1eb9f1>>>0x18]<<0x18|_0x11d17e[_0x1eb9f1>>>0x10&0xff]<<0x10|_0x11d17e[_0x1eb9f1>>>0x8&0xff]<<0x8|_0x11d17e[_0x1eb9f1&0xff],_0x1eb9f1^=_0x4184c5[_0x30548c/_0x161b4e|0x0]<<0x18),_0x246217[_0x30548c]=_0x246217[_0x30548c-_0x161b4e]^_0x1eb9f1);for(var _0x29f286=this['_invKeySchedule']=[],_0x58957f=0x0;_0x58957f<_0x435d8e;_0x58957f++){var _0x30548c=_0x435d8e-_0x58957f;if(_0x58957f%0x4)var _0x1eb9f1=_0x246217[_0x30548c];else var _0x1eb9f1=_0x246217[_0x30548c-0x4];_0x58957f<0x4||_0x30548c<=0x4?_0x29f286[_0x58957f]=_0x1eb9f1:_0x29f286[_0x58957f]=_0x2b0f6d[_0x11d17e[_0x1eb9f1>>>0x18]]^_0x24ea6a[_0x11d17e[_0x1eb9f1>>>0x10&0xff]]^_0x110f18[_0x11d17e[_0x1eb9f1>>>0x8&0xff]]^_0x533abd[_0x11d17e[_0x1eb9f1&0xff]];}}},'encryptBlock':function(_0x4e2c78,_0x1896e5){const _0x424715=_0x12fe38;this['_doCryptBlock'](_0x4e2c78,_0x1896e5,this[_0x424715(0x3cb)],_0x263b0d,_0x583e1b,_0x35c9b5,_0x2b9072,_0x11d17e);},'decryptBlock':function(_0x257b0c,_0x370fea){const _0x415567=_0x12fe38;var _0x9355e4=_0x257b0c[_0x370fea+0x1];_0x257b0c[_0x370fea+0x1]=_0x257b0c[_0x370fea+0x3],_0x257b0c[_0x370fea+0x3]=_0x9355e4,this[_0x415567(0x511)](_0x257b0c,_0x370fea,this[_0x415567(0x102)],_0x2b0f6d,_0x24ea6a,_0x110f18,_0x533abd,_0x5c97d9);var _0x9355e4=_0x257b0c[_0x370fea+0x1];_0x257b0c[_0x370fea+0x1]=_0x257b0c[_0x370fea+0x3],_0x257b0c[_0x370fea+0x3]=_0x9355e4;},'_doCryptBlock':function(_0x1264dc,_0x46d4e6,_0x259166,_0x3f8ed9,_0x2755e0,_0x1e34b0,_0x54e434,_0x52074b){const _0x2633b6=_0x12fe38;for(var _0x297879=this[_0x2633b6(0x54c)],_0x15b851=_0x1264dc[_0x46d4e6]^_0x259166[0x0],_0x55bb28=_0x1264dc[_0x46d4e6+0x1]^_0x259166[0x1],_0x2e0ce6=_0x1264dc[_0x46d4e6+0x2]^_0x259166[0x2],_0x443f8c=_0x1264dc[_0x46d4e6+0x3]^_0x259166[0x3],_0x566ec0=0x4,_0x45c964=0x1;_0x45c964<_0x297879;_0x45c964++){var _0x46e596=_0x3f8ed9[_0x15b851>>>0x18]^_0x2755e0[_0x55bb28>>>0x10&0xff]^_0x1e34b0[_0x2e0ce6>>>0x8&0xff]^_0x54e434[_0x443f8c&0xff]^_0x259166[_0x566ec0++],_0x41894f=_0x3f8ed9[_0x55bb28>>>0x18]^_0x2755e0[_0x2e0ce6>>>0x10&0xff]^_0x1e34b0[_0x443f8c>>>0x8&0xff]^_0x54e434[_0x15b851&0xff]^_0x259166[_0x566ec0++],_0x3877a3=_0x3f8ed9[_0x2e0ce6>>>0x18]^_0x2755e0[_0x443f8c>>>0x10&0xff]^_0x1e34b0[_0x15b851>>>0x8&0xff]^_0x54e434[_0x55bb28&0xff]^_0x259166[_0x566ec0++],_0x6bb865=_0x3f8ed9[_0x443f8c>>>0x18]^_0x2755e0[_0x15b851>>>0x10&0xff]^_0x1e34b0[_0x55bb28>>>0x8&0xff]^_0x54e434[_0x2e0ce6&0xff]^_0x259166[_0x566ec0++];_0x15b851=_0x46e596,_0x55bb28=_0x41894f,_0x2e0ce6=_0x3877a3,_0x443f8c=_0x6bb865;}var _0x46e596=(_0x52074b[_0x15b851>>>0x18]<<0x18|_0x52074b[_0x55bb28>>>0x10&0xff]<<0x10|_0x52074b[_0x2e0ce6>>>0x8&0xff]<<0x8|_0x52074b[_0x443f8c&0xff])^_0x259166[_0x566ec0++],_0x41894f=(_0x52074b[_0x55bb28>>>0x18]<<0x18|_0x52074b[_0x2e0ce6>>>0x10&0xff]<<0x10|_0x52074b[_0x443f8c>>>0x8&0xff]<<0x8|_0x52074b[_0x15b851&0xff])^_0x259166[_0x566ec0++],_0x3877a3=(_0x52074b[_0x2e0ce6>>>0x18]<<0x18|_0x52074b[_0x443f8c>>>0x10&0xff]<<0x10|_0x52074b[_0x15b851>>>0x8&0xff]<<0x8|_0x52074b[_0x55bb28&0xff])^_0x259166[_0x566ec0++],_0x6bb865=(_0x52074b[_0x443f8c>>>0x18]<<0x18|_0x52074b[_0x15b851>>>0x10&0xff]<<0x10|_0x52074b[_0x55bb28>>>0x8&0xff]<<0x8|_0x52074b[_0x2e0ce6&0xff])^_0x259166[_0x566ec0++];_0x1264dc[_0x46d4e6]=_0x46e596,_0x1264dc[_0x46d4e6+0x1]=_0x41894f,_0x1264dc[_0x46d4e6+0x2]=_0x3877a3,_0x1264dc[_0x46d4e6+0x3]=_0x6bb865;},'keySize':0x100/0x20});_0x4ed59c[_0x12fe38(0x29e)]=_0x3db3c1[_0x12fe38(0x18c)](_0x49f5d9);}()),_0x817790[_0x5db548(0x29e)];}));}(_0x3f01d8));var _0x4b37df=_0x3f01d8[_0x16631f(0x50a)];const _0x50a5df=_0x3c7ed0(_0x4b37df);var _0x4e9352=_0x25dbd1();const _0x4447f7=_0x3c7ed0(_0x4e9352);var _0x472d4f={'exports':{}};(function(_0x405e77,_0x27f8f2){(function(_0x52a214,_0x18ecef){const _0x103693=_0x586f;_0x405e77[_0x103693(0x50a)]=_0x18ecef(_0x50a408());}(_0x4b3743,function(_0x505166){const _0x2a0420=_0x586f;return _0x505166[_0x2a0420(0x4d7)][_0x2a0420(0xf4)];}));}(_0x472d4f));var _0xb27a86=_0x472d4f[_0x16631f(0x50a)];const _0x1e2e34=_0x3c7ed0(_0xb27a86);var _0x482c47={'exports':{}};(function(_0x372c48,_0x137b16){(function(_0x4d47b1,_0x547506){_0x372c48['exports']=_0x547506(_0x50a408());}(_0x4b3743,function(_0x68dc54){const _0x1a8296=_0x586f;return(function(){const _0x2c4ee4=_0x586f;if(typeof ArrayBuffer==_0x2c4ee4(0x445)){var _0x32df0a=_0x68dc54,_0xaae2e0=_0x32df0a[_0x2c4ee4(0x59b)],_0x599a73=_0xaae2e0[_0x2c4ee4(0x5a2)],_0x2a01f3=_0x599a73[_0x2c4ee4(0x299)],_0x2bbec8=_0x599a73[_0x2c4ee4(0x299)]=function(_0x3fa413){const _0xe4261e=_0x2c4ee4;if(_0x3fa413 instanceof ArrayBuffer&&(_0x3fa413=new Uint8Array(_0x3fa413)),(_0x3fa413 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3fa413 instanceof Uint8ClampedArray||_0x3fa413 instanceof Int16Array||_0x3fa413 instanceof Uint16Array||_0x3fa413 instanceof Int32Array||_0x3fa413 instanceof Uint32Array||_0x3fa413 instanceof Float32Array||_0x3fa413 instanceof Float64Array)&&(_0x3fa413=new Uint8Array(_0x3fa413[_0xe4261e(0x40f)],_0x3fa413[_0xe4261e(0x15d)],_0x3fa413[_0xe4261e(0x229)])),_0x3fa413 instanceof Uint8Array){for(var _0x14afdf=_0x3fa413['byteLength'],_0x5050bd=[],_0x16a08b=0x0;_0x16a08b<_0x14afdf;_0x16a08b++)_0x5050bd[_0x16a08b>>>0x2]|=_0x3fa413[_0x16a08b]<<0x18-_0x16a08b%0x4*0x8;_0x2a01f3[_0xe4261e(0x3b4)](this,_0x5050bd,_0x14afdf);}else _0x2a01f3[_0xe4261e(0x480)](this,arguments);};_0x2bbec8['prototype']=_0x599a73;}}()),_0x68dc54['lib'][_0x1a8296(0x5a2)];}));}(_0x482c47));var _0x3e79d7=_0x482c47[_0x16631f(0x50a)];const _0xbf49d1=_0x3c7ed0(_0x3e79d7);var _0x59600c={'exports':{}};(function(_0x587411,_0x171533){(function(_0x5517ec,_0x11704c,_0x3e8af6){const _0x37c365=_0x586f;_0x587411[_0x37c365(0x50a)]=_0x11704c(_0x50a408(),_0x1e9ef0());}(_0x4b3743,function(_0x3f0c60){const _0x1bdfa4=_0x586f;return _0x3f0c60[_0x1bdfa4(0x394)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x3f0c60[_0x1bdfa4(0x394)]['NoPadding'];}));}(_0x59600c));var _0x4543e7=_0x59600c[_0x16631f(0x50a)];const _0x46255d=_0x3c7ed0(_0x4543e7);function _0x527a64(_0x4f98f2,_0x3bd425){const _0x203d95=_0x16631f,_0xd06a80=_0x3bd425-_0x4f98f2[_0x203d95(0x272)]%_0x3bd425,_0x3264d6=String[_0x203d95(0x347)](_0xd06a80)[_0x203d95(0x1e2)](_0xd06a80);return _0x4f98f2+_0x3264d6;}function _0x180677(_0xc56f88,_0x133368){const _0x16e2fc=_0x16631f,_0x4c32be=_0xbf49d1[_0x16e2fc(0x2bf)](0x10),_0x335c97=_0x527a64(_0xc56f88,0x10),_0x52b5f6=_0x50a5df[_0x16e2fc(0x25b)](_0x1e2e34[_0x16e2fc(0x4c5)](_0x335c97),_0x4447f7[_0x16e2fc(0x4c5)](_0x133368),{'iv':_0x4c32be,'padding':_0x46255d});return _0x4c32be[_0x16e2fc(0x40b)](_0x52b5f6[_0x16e2fc(0x2df)])[_0x16e2fc(0x3a4)](_0x4447f7);}function _0x3228cb(){const _0x488cd8=_0x16631f,_0x1b2ead=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x1b2ead){const _0x4f4ec9={'time':Math['floor'](Date[_0x488cd8(0x410)]()/0x3e8),'domain':location['hostname']};return _0x180677(JSON[_0x488cd8(0x338)](_0x4f4ec9),_0x1b2ead);}}var _0x149ca6=Object[_0x16631f(0x162)],_0x122b4f=Object['getOwnPropertyDescriptor'],_0x18c837=(_0x7748f4,_0x23d71e,_0x4a6343,_0x269fdb)=>{const _0x26dec6=_0x16631f;for(var _0x12f823=_0x269fdb>0x1?void 0x0:_0x269fdb?_0x122b4f(_0x23d71e,_0x4a6343):_0x23d71e,_0x492afd=_0x7748f4[_0x26dec6(0x272)]-0x1,_0x1f6909;_0x492afd>=0x0;_0x492afd--)(_0x1f6909=_0x7748f4[_0x492afd])&&(_0x12f823=(_0x269fdb?_0x1f6909(_0x23d71e,_0x4a6343,_0x12f823):_0x1f6909(_0x12f823))||_0x12f823);return _0x269fdb&&_0x12f823&&_0x149ca6(_0x23d71e,_0x4a6343,_0x12f823),_0x12f823;},_0x3237b8=(_0x2276a6,_0x36c36d)=>(_0x436468,_0x44b954)=>_0x36c36d(_0x436468,_0x44b954,_0x2276a6);let _0x3d44e4=class{constructor(_0x458df0){const _0x5d56ef=_0x16631f;this[_0x5d56ef(0x23f)]=_0x458df0,this[_0x5d56ef(0x4f7)]();}['_initRequestHeader'](){const _0x38318c=_0x16631f;this['_httpService'][_0x38318c(0x118)]({'interceptor':(_0x2a212e,_0x4bedff)=>{const _0x7003e3=_0x38318c,_0x4ac44d=_0x2a212e['headers'],_0x48ee50=_0x3228cb();return _0x48ee50&&_0x4ac44d['set'](_0x7003e3(0x397),_0x48ee50),_0x4bedff(_0x2a212e);}});}};_0x3d44e4=_0x18c837([_0x3237b8(0x0,_0x8a1a57[_0x16631f(0x537)](_0x547ebe[_0x16631f(0x359)]))],_0x3d44e4);var _0x598078=Object[_0x16631f(0x162)],_0xc9ed8b=Object['getOwnPropertyDescriptor'],_0x288ae9=(_0x4fab95,_0x374b5a,_0x26b1b6,_0xd7db75)=>{const _0x3e50b2=_0x16631f;for(var _0x2b3c5f=_0xd7db75>0x1?void 0x0:_0xd7db75?_0xc9ed8b(_0x374b5a,_0x26b1b6):_0x374b5a,_0x372fe1=_0x4fab95[_0x3e50b2(0x272)]-0x1,_0x52034e;_0x372fe1>=0x0;_0x372fe1--)(_0x52034e=_0x4fab95[_0x372fe1])&&(_0x2b3c5f=(_0xd7db75?_0x52034e(_0x374b5a,_0x26b1b6,_0x2b3c5f):_0x52034e(_0x2b3c5f))||_0x2b3c5f);return _0xd7db75&&_0x2b3c5f&&_0x598078(_0x374b5a,_0x26b1b6,_0x2b3c5f),_0x2b3c5f;},_0x4a0965=(_0xd6e24c,_0x1f5d58)=>(_0x4f7318,_0x451847)=>_0x1f5d58(_0x4f7318,_0x451847,_0xd6e24c);const _0x465e0c=[_0x16631f(0x36c),_0x16631f(0x23d),_0x16631f(0x431),_0x16631f(0x423),_0x16631f(0x4dd)],_0x498e36=0x5*0x400*0x400,_0xaf8068='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x57cb2e=_0x16631f(0x18b),_0x33b00e=_0x16631f(0x43b),_0x10afd5='/universer-api/file/{fileID}/sign-url';_0x2728bd[_0x16631f(0x2b6)]=class{constructor(_0x35c860,_0x305a98,_0x1b9577){const _0x1cdffc=_0x16631f;_0x2a606e(this,_0x1cdffc(0x49a),0x0),_0x2a606e(this,_0x1cdffc(0x589),new _0x933215['Subject']()),_0x2a606e(this,_0x1cdffc(0x492),this[_0x1cdffc(0x589)]),_0x2a606e(this,_0x1cdffc(0x10a),new Map()),(this[_0x1cdffc(0x23f)]=_0x35c860,this[_0x1cdffc(0x31f)]=_0x305a98,this[_0x1cdffc(0x3e7)]=_0x1b9577);}[_0x16631f(0x575)](_0x5644b2){const _0x18029f=_0x16631f;this[_0x18029f(0x49a)]=_0x5644b2,this[_0x18029f(0x589)][_0x18029f(0x1dd)](_0x5644b2);}[_0x16631f(0x4cd)](_0x4185c8,_0x59dbf5){const _0x470bee=_0x16631f;if(_0x59dbf5===_0x1444d['ImageSourceType'][_0x470bee(0x3d5)]){const _0x336655=new Image();return _0x336655[_0x470bee(0x4a2)]=_0x4185c8,_0x336655;}return this[_0x470bee(0x10a)][_0x470bee(0x241)](_0x4185c8);}[_0x16631f(0x30b)](_0x28eed5,_0x50b9fe,_0xaa5d91){const _0x54d872=_0x16631f;_0x50b9fe===_0x1444d[_0x54d872(0x26b)]['BASE64']||_0xaa5d91==null||this[_0x54d872(0x10a)][_0x54d872(0x41f)](_0x28eed5,_0xaa5d91);}async['getImage'](_0x4ff86d){const _0x27dfdf=_0x16631f;try{const _0x174222=this[_0x27dfdf(0x3af)](this[_0x27dfdf(0x248)](),''+_0x4ff86d),_0xadfde4=(await this[_0x27dfdf(0x23f)]['get'](_0x174222))[_0x27dfdf(0x50c)];if(_0xadfde4[_0x27dfdf(0x1df)]&&_0xadfde4[_0x27dfdf(0x1df)][_0x27dfdf(0x196)]===_0x40c994['OK']){const _0x32ea3f=new URL(_0xadfde4['url'],this[_0x27dfdf(0x2f7)]())[_0x27dfdf(0x3a4)]();return Promise['resolve'](_0x32ea3f);}return Promise[_0x27dfdf(0x2da)](_0xadfde4[_0x27dfdf(0x1df)]);}catch(_0x186736){return Promise[_0x27dfdf(0x2da)](_0x186736);}}async[_0x16631f(0x5b3)](_0x18bf53){const _0x214d07=_0x16631f;let _0x5034ac='';if(!_0x465e0c[_0x214d07(0x41a)](_0x18bf53[_0x214d07(0x49b)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x1444d[_0x214d07(0x15a)][_0x214d07(0x2be)]));if(_0x18bf53[_0x214d07(0x3f3)]>_0x498e36)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x1444d['ImageUploadStatusType']['ERROR_EXCEED_SIZE']));try{const _0x195367=new FormData();_0x195367[_0x214d07(0x43a)](_0x214d07(0x53e),_0x18bf53);const _0x59040b=this[_0x214d07(0x3e7)][_0x214d07(0x328)](),_0x2874d7=_0x59040b==null?void 0x0:_0x59040b[_0x214d07(0x4ed)]();if(!_0x2874d7)throw new Error(_0x214d07(0x1d4));const _0x2ca725=this['_getUploadFileURL']()+'?size='+_0x18bf53['size']['toString']()+'&source='+_0x4e4d17[_0x214d07(0x35a)]+_0x214d07(0x529)+encodeURIComponent(_0x2874d7),_0x33b954=await(await fetch(_0x2ca725,{'method':_0x214d07(0x528),'body':_0x195367}))['json']();if(typeof _0x33b954[_0x214d07(0x577)]!=_0x214d07(0x18e))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x1444d[_0x214d07(0x15a)][_0x214d07(0x417)]));_0x5034ac=_0x33b954[_0x214d07(0x577)];}catch{return this[_0x214d07(0x11a)](),Promise[_0x214d07(0x2da)](new Error(_0x1444d['ImageUploadStatusType']['ERROR_IMAGE']));}return new Promise((_0x358984,_0x1bd96a)=>{const _0x1c5dd4=_0x214d07,_0x4be3be=new FileReader();_0x4be3be[_0x1c5dd4(0x109)](_0x18bf53),_0x4be3be['onload']=_0x300987=>{const _0x2b3342=_0x1c5dd4;var _0x2d03b1;const _0x40324b=(_0x2d03b1=_0x300987[_0x2b3342(0x587)])==null?void 0x0:_0x2d03b1[_0x2b3342(0x36b)];if(_0x40324b==null){this['_decreaseWaiting'](),_0x1bd96a(new Error(_0x1444d[_0x2b3342(0x15a)][_0x2b3342(0x417)]));return;}const _0x2f7f38=_0x8a1a57[_0x2b3342(0x435)]['generateRandomId'](0x6);_0x358984({'imageId':_0x2f7f38,'imageSourceType':_0x1444d['ImageSourceType']['UUID'],'source':_0x5034ac,'base64Cache':_0x40324b,'status':_0x1444d['ImageUploadStatusType'][_0x2b3342(0x471)]}),this[_0x2b3342(0x11a)]();};});}['_getUploadFileURL'](){const _0x1a6508=_0x16631f;var _0x43aa55,_0x4b6ed9;const _0xbc390d=this[_0x1a6508(0x31f)][_0x1a6508(0xfd)](_0xaf8068),_0x1acbc5=this[_0x1a6508(0x31f)][_0x1a6508(0xfd)](_0x132856);return(_0x4b6ed9=(_0x43aa55=_0x1acbc5==null?void 0x0:_0x1acbc5[_0x1a6508(0x257)])!=null?_0x43aa55:_0xbc390d)!=null?_0x4b6ed9:_0x57cb2e;}[_0x16631f(0x248)](){const _0x341c39=_0x16631f;var _0x23e29a,_0x43718c;const _0xf83838=this[_0x341c39(0x31f)][_0x341c39(0xfd)](_0x33b00e),_0x2006f0=this[_0x341c39(0x31f)][_0x341c39(0xfd)](_0x132856);return(_0x43718c=(_0x23e29a=_0x2006f0==null?void 0x0:_0x2006f0[_0x341c39(0x542)])!=null?_0x23e29a:_0xf83838)!=null?_0x43718c:_0x10afd5;}[_0x16631f(0x2f7)](){const _0x2f90c4=_0x16631f;var _0x26d744;const _0x2e1c80=this[_0x2f90c4(0x31f)]['getConfig'](_0x132856);return(_0x26d744=_0x2e1c80==null?void 0x0:_0x2e1c80[_0x2f90c4(0x23c)])!=null?_0x26d744:location[_0x2f90c4(0x2e4)];}[_0x16631f(0x3af)](_0x4169de,_0x341de7){const _0x328dd3=_0x16631f;return _0x4169de[_0x328dd3(0x1e1)](_0x328dd3(0x249),_0x341de7);}[_0x16631f(0x11a)](){const _0x5e7884=_0x16631f;this[_0x5e7884(0x49a)]-=0x1,this[_0x5e7884(0x589)][_0x5e7884(0x1dd)](this[_0x5e7884(0x49a)]);}},_0x2728bd[_0x16631f(0x2b6)]=_0x288ae9([_0x4a0965(0x0,_0x8a1a57['Inject'](_0x547ebe[_0x16631f(0x359)])),_0x4a0965(0x1,_0x8a1a57['IConfigService']),_0x4a0965(0x2,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x1db)]))],_0x2728bd['ImageIoService']);var _0xba0f26=Object['defineProperty'],_0x4ee4b1=Object[_0x16631f(0x57e)],_0x2f5c05=(_0x2676ac,_0x4c440e,_0x533be9,_0xbf7a78)=>{for(var _0x3e78a8=_0xbf7a78>0x1?void 0x0:_0xbf7a78?_0x4ee4b1(_0x4c440e,_0x533be9):_0x4c440e,_0xa2c734=_0x2676ac['length']-0x1,_0x7e0feb;_0xa2c734>=0x0;_0xa2c734--)(_0x7e0feb=_0x2676ac[_0xa2c734])&&(_0x3e78a8=(_0xbf7a78?_0x7e0feb(_0x4c440e,_0x533be9,_0x3e78a8):_0x7e0feb(_0x3e78a8))||_0x3e78a8);return _0xbf7a78&&_0x3e78a8&&_0xba0f26(_0x4c440e,_0x533be9,_0x3e78a8),_0x3e78a8;},_0x3ee467=(_0x39922,_0x1c00be)=>(_0x7548cf,_0xf18cd0)=>_0x1c00be(_0x7548cf,_0xf18cd0,_0x39922);let _0x4df2fb=class extends _0x8a1a57[_0x16631f(0x228)]{constructor(_0x1b2eba,_0x1bc7f2,_0x17a19b,_0x15c0ca,_0x20ab09){const _0x269885=_0x16631f;super(),this[_0x269885(0x264)]=_0x1b2eba,this['_univerInstanceService']=_0x1bc7f2,this[_0x269885(0x4df)]=_0x17a19b,this[_0x269885(0x4e0)]=_0x15c0ca,this[_0x269885(0x4f0)]=_0x20ab09,this[_0x269885(0x170)](),this[_0x269885(0x4cb)]();}[_0x16631f(0x4cb)](){const _0x42d08b=_0x16631f,_0x157c29=async _0x185edf=>{const _0x54dad1=_0x586f;(await this[_0x54dad1(0x4e0)]['requireSession'](_0x185edf))[_0x54dad1(0x197)][_0x54dad1(0x4be)](_0x478e49[_0x54dad1(0x53f)](_0x2252f8=>_0x2252f8[_0x54dad1(0x3dd)]===_0x27cfd8['CollaborationEvent'][_0x54dad1(0x21c)]),_0x478e49[_0x54dad1(0x3d9)](this['dispose$']))[_0x54dad1(0x42c)](_0x4c2977=>{const _0x403113=_0x54dad1,_0x487e60=_0x4c2977,{reason:_0x1b6e12}=_0x487e60['data'];this[_0x403113(0x264)][_0x403113(0x241)](_0x4b60ff[_0x403113(0x136)])[_0x403113(0x354)]({'type':_0x731a74[_0x403113(0x2a9)][_0x403113(0x5b1)],'content':this[_0x403113(0x4f0)]['t'](_0x403113(0x550))+'('+_0x1b6e12+')'}),this['_permissionService'][_0x403113(0x1a0)](new _0x46f63a[(_0x403113(0x4b3))](_0x185edf)['id'],!0x1),this['_collaborationSessionService'][_0x403113(0x46d)](_0x185edf);});};_0x933215[_0x42d08b(0x116)](this[_0x42d08b(0x3e7)][_0x42d08b(0x124)](_0x8a1a57['UniverInstanceType']['UNIVER_SHEET']),this['_univerInstanceService'][_0x42d08b(0x124)](_0x8a1a57['UniverInstanceType'][_0x42d08b(0x327)]))[_0x42d08b(0x4be)](_0x478e49[_0x42d08b(0x2ca)](_0x56a4ae=>_0x56a4ae[_0x42d08b(0x4ed)]()),_0x478e49[_0x42d08b(0x53f)](_0x1fb624=>!_0x8a1a57[_0x42d08b(0x1c7)](_0x1fb624)),_0x478e49['takeUntil'](this[_0x42d08b(0x42d)]))[_0x42d08b(0x42c)](_0x54fb1b=>{_0x157c29(_0x54fb1b);});}[_0x16631f(0x170)](){const _0x2ae2d3=_0x16631f,_0x4bc851=async _0x1940eb=>{const _0x3f2833=_0x586f;(await this[_0x3f2833(0x4e0)][_0x3f2833(0x5ab)](_0x1940eb))['event$'][_0x3f2833(0x4be)](_0x478e49[_0x3f2833(0x53f)](_0x28421b=>_0x28421b[_0x3f2833(0x3dd)]===_0x27cfd8[_0x3f2833(0x3e5)][_0x3f2833(0x2c6)]),_0x478e49[_0x3f2833(0x3d9)](this[_0x3f2833(0x42d)]))['subscribe'](_0x590143=>{const _0x512f19=_0x3f2833,_0x44fb59=_0x590143,{objectId:_0x41ceb1}=_0x44fb59[_0x512f19(0x140)],_0x4bd67c=this[_0x512f19(0x264)][_0x512f19(0x241)](_0x3ba744[_0x512f19(0x101)]);_0x41ceb1===_0x1940eb?_0x4bd67c[_0x512f19(0x56c)](_0x1940eb):_0x4bd67c['refreshPermission'](_0x1940eb,_0x41ceb1);});};_0x933215[_0x2ae2d3(0x116)](this['_univerInstanceService'][_0x2ae2d3(0x124)](_0x8a1a57[_0x2ae2d3(0x3e6)]['UNIVER_SHEET']),this[_0x2ae2d3(0x3e7)][_0x2ae2d3(0x124)](_0x8a1a57[_0x2ae2d3(0x3e6)][_0x2ae2d3(0x327)]))[_0x2ae2d3(0x4be)](_0x478e49[_0x2ae2d3(0x2ca)](_0x251a74=>_0x251a74['getUnitId']()),_0x478e49['filter'](_0x1717a6=>!_0x8a1a57[_0x2ae2d3(0x1c7)](_0x1717a6)),_0x478e49[_0x2ae2d3(0x3d9)](this[_0x2ae2d3(0x42d)]))[_0x2ae2d3(0x42c)](_0x4f5c17=>{_0x4bc851(_0x4f5c17);});}};_0x4df2fb=_0x2f5c05([_0x3ee467(0x0,_0x8a1a57['Inject'](_0x8a1a57['Injector'])),_0x3ee467(0x1,_0x8a1a57[_0x16631f(0x1db)]),_0x3ee467(0x2,_0x8a1a57[_0x16631f(0x395)]),_0x3ee467(0x3,_0x8a1a57[_0x16631f(0x537)](_0x2728bd[_0x16631f(0x37f)])),_0x3ee467(0x4,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x1f4)]))],_0x4df2fb);var _0x4a9b59=Object['defineProperty'],_0x5167c6=Object[_0x16631f(0x57e)],_0x34a26e=(_0x89710e,_0xeba55,_0x2e1992,_0x399138)=>{const _0x176720=_0x16631f;for(var _0x69c82=_0x399138>0x1?void 0x0:_0x399138?_0x5167c6(_0xeba55,_0x2e1992):_0xeba55,_0x27fa66=_0x89710e[_0x176720(0x272)]-0x1,_0x15c8c6;_0x27fa66>=0x0;_0x27fa66--)(_0x15c8c6=_0x89710e[_0x27fa66])&&(_0x69c82=(_0x399138?_0x15c8c6(_0xeba55,_0x2e1992,_0x69c82):_0x15c8c6(_0x69c82))||_0x69c82);return _0x399138&&_0x69c82&&_0x4a9b59(_0xeba55,_0x2e1992,_0x69c82),_0x69c82;},_0x40898c=(_0x46ea93,_0x593e06)=>(_0x311b24,_0x2e9239)=>_0x593e06(_0x311b24,_0x2e9239,_0x46ea93);_0x2728bd[_0x16631f(0x484)]=class{constructor(_0x4edd97,_0x3160c5){const _0x118265=_0x16631f;this[_0x118265(0x31f)]=_0x4edd97,this[_0x118265(0x23f)]=_0x3160c5;}async[_0x16631f(0x171)](_0x586149,_0x43c491){const _0x2be8ef=_0x16631f;var _0x3aaa11;const {unitID:_0x497b98,type:_0x1c7bf5,revision:_0xc3d38a=0x0}=_0x43c491,_0x2bc2ed=this['_getSnapshotAPIPrefix']()+'/'+_0x1c7bf5+'/unit/'+_0x497b98+_0x2be8ef(0x33c)+_0xc3d38a,_0x29851b=(await this[_0x2be8ef(0x23f)][_0x2be8ef(0x241)](_0x2bc2ed))[_0x2be8ef(0x50c)],_0x59d9a8=(_0x3aaa11=_0x29851b[_0x2be8ef(0x4ea)])==null?void 0x0:_0x3aaa11[_0x2be8ef(0xf1)];if(_0x59d9a8){const _0x134bfb=_0x59d9a8==null?void 0x0:_0x59d9a8[_0x2be8ef(0x1f9)],_0xb8840d=_0x27cfd8[_0x2be8ef(0x3a5)][_0x2be8ef(0x469)](_0x27cfd8[_0x2be8ef(0x13e)](_0x134bfb));_0x59d9a8[_0x2be8ef(0x1f9)]=_0xb8840d,Object['entries'](_0x59d9a8[_0x2be8ef(0x273)])['forEach'](([,_0x59d9f2])=>{const _0x5629e8=_0x2be8ef,_0x1cf8c3=_0x59d9f2[_0x5629e8(0x1f9)],_0x104694=_0x27cfd8[_0x5629e8(0x3a5)][_0x5629e8(0x469)](_0x27cfd8[_0x5629e8(0x13e)](_0x1cf8c3));_0x59d9f2['originalMeta']=_0x104694;});}return _0x29851b;}async[_0x16631f(0x16b)](_0x367126,_0x343a03){const _0x462abc=_0x16631f,{unitID:_0x3996be,type:_0x222d58,blockID:_0x13d85d}=_0x343a03,_0x18cf16=this[_0x462abc(0x49f)]()+'/'+_0x222d58+_0x462abc(0x33e)+_0x3996be+'/block/'+_0x13d85d;return(await this['_httpService'][_0x462abc(0x241)](_0x18cf16))[_0x462abc(0x50c)];}async['getDeserializedSheetBlock'](_0x3ef5a0,_0x345fc4){const _0x292c8d=_0x16631f,{unitID:_0x2400f6,type:_0x3a0ef7,blockID:_0x1352cc}=_0x345fc4,_0x47542e=this[_0x292c8d(0x49f)]()+_0x292c8d(0x247)+_0x3a0ef7+_0x292c8d(0x33e)+_0x2400f6+'/block/'+_0x1352cc;return(await this[_0x292c8d(0x23f)][_0x292c8d(0x241)](_0x47542e))[_0x292c8d(0x50c)];}async['fetchMissingChangesets'](_0x76d74,_0x16dadf){const _0x273bd3=_0x16631f,{unitID:_0x455b6b,type:_0x4a7b77,from:_0x2da8a5,to:_0x18ce53}=_0x16dadf,_0x3bfa0a=this[_0x273bd3(0x49f)]()+'/'+_0x4a7b77+'/unit/'+_0x455b6b+_0x273bd3(0x42b)+_0x2da8a5+_0x273bd3(0x2e8)+_0x18ce53;return(await this['_httpService']['get'](_0x3bfa0a))[_0x273bd3(0x50c)];}[_0x16631f(0x233)](){const _0x39e604=_0x16631f;var _0x3630e2;return(_0x3630e2=this['_configService'][_0x39e604(0xfd)](_0x17ae05))!=null?_0x3630e2:this[_0x39e604(0x49f)]();}[_0x16631f(0x49f)](){const _0x12a03f=_0x16631f;var _0x2ff12d,_0x4b06c9;const _0x29428a=this['_configService'][_0x12a03f(0xfd)](_0x105ab0),_0x57157d=this[_0x12a03f(0x31f)][_0x12a03f(0xfd)](_0x132856);return(_0x4b06c9=(_0x2ff12d=_0x57157d==null?void 0x0:_0x57157d[_0x12a03f(0x2a6)])!=null?_0x2ff12d:_0x29428a)!=null?_0x4b06c9:_0x302226;}async[_0x16631f(0x232)](_0x5932d4,_0x20d336){const _0x10f393=_0x16631f,_0x997564=_0x10f393(0x57f)+_0x20d336[_0x10f393(0x49b)]+'/unit/'+_0x20d336['unitID']+_0x10f393(0x24f);return(await this[_0x10f393(0x23f)][_0x10f393(0x241)](_0x997564,{'params':{'resourceId':JSON[_0x10f393(0x338)](_0x20d336[_0x10f393(0x333)])}}))[_0x10f393(0x50c)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x16631f(0x4a8)](){const _0x5806fe=_0x16631f;throw new Error(_0x5806fe(0x4b4));}[_0x16631f(0x22e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x16631f(0x252)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x16631f(0x31b)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x2728bd['SnapshotServerOverHTTPService']=_0x34a26e([_0x40898c(0x0,_0x8a1a57['IConfigService']),_0x40898c(0x1,_0x8a1a57['Inject'](_0x547ebe[_0x16631f(0x359)]))],_0x2728bd['SnapshotServerOverHTTPService']);var _0x2f9ce6=Object[_0x16631f(0x162)],_0x5233a1=Object[_0x16631f(0x57e)],_0x1c3b2d=(_0x13726f,_0x5de598,_0x183fa3,_0x123491)=>{for(var _0x45d5b9=_0x123491>0x1?void 0x0:_0x123491?_0x5233a1(_0x5de598,_0x183fa3):_0x5de598,_0x29bab6=_0x13726f['length']-0x1,_0x5c201f;_0x29bab6>=0x0;_0x29bab6--)(_0x5c201f=_0x13726f[_0x29bab6])&&(_0x45d5b9=(_0x123491?_0x5c201f(_0x5de598,_0x183fa3,_0x45d5b9):_0x5c201f(_0x45d5b9))||_0x45d5b9);return _0x123491&&_0x45d5b9&&_0x2f9ce6(_0x5de598,_0x183fa3,_0x45d5b9),_0x45d5b9;},_0x50e1ec=(_0x55eea0,_0x1bbfe5)=>(_0x2fc4a5,_0x1489d5)=>_0x1bbfe5(_0x2fc4a5,_0x1489d5,_0x55eea0);let _0x2cc3b7=class extends _0x8a1a57[_0x16631f(0x119)]{constructor(_0x3e9eca,_0x3c4740,_0x28d2f6,_0x8eb3e5,_0x40778f){const _0x198bef=_0x16631f;super(_0x3e9eca,_0x3c4740,_0x28d2f6),this[_0x198bef(0x549)]=_0x8eb3e5,this[_0x198bef(0x515)]=_0x40778f;}['transformUndoRedo'](_0xdbafc5,_0x1e6515){const _0x2842fb=_0x16631f,_0x4292e0=this[_0x2842fb(0x4e4)](_0xdbafc5);if(_0x4292e0)try{const _0x236cb3=this[_0x2842fb(0x4b2)](_0x4292e0,_0x1e6515);this['_substituteUndoStack'](_0xdbafc5,_0x236cb3);}catch(_0x2619de){this[_0x2842fb(0x515)]['error']('[CollaborationUndoRedoService]',_0x2619de),this[_0x2842fb(0x474)](_0xdbafc5);}const _0x4792d6=this[_0x2842fb(0x4ad)](_0xdbafc5);if(_0x4792d6)try{const _0x55c753=this[_0x2842fb(0x4b2)](_0x4792d6,_0x1e6515);this[_0x2842fb(0x472)](_0xdbafc5,_0x55c753);}catch(_0x328f44){this[_0x2842fb(0x515)][_0x2842fb(0x1df)](_0x328f44),this['_clearRedo'](_0xdbafc5);}}[_0x16631f(0x474)](_0x595e76){const _0x4deba7=_0x16631f,_0x3922be=this[_0x4deba7(0x4e4)](_0x595e76);_0x3922be&&(_0x3922be['length']=0x0,this[_0x4deba7(0x1c4)]());}[_0x16631f(0x254)](_0x5eeecb){const _0x3a15e6=_0x16631f,_0x38b995=this[_0x3a15e6(0x4ad)](_0x5eeecb);_0x38b995&&(_0x38b995[_0x3a15e6(0x272)]=0x0,this[_0x3a15e6(0x1c4)]());}['_substituteUndoStack'](_0xfb8ac,_0x5c6a63){const _0xf2ba1d=_0x16631f;this['_undoStacks']['set'](_0xfb8ac,_0x5c6a63),this[_0xf2ba1d(0x1c4)]();}[_0x16631f(0x472)](_0x46fdf4,_0x29cafb){const _0xc478a8=_0x16631f;this[_0xc478a8(0x3f8)]['set'](_0x46fdf4,_0x29cafb),this[_0xc478a8(0x1c4)]();}['_transformStack'](_0x1ce6a0,_0x59a06c){const _0x44f2f6=_0x16631f,_0x1ca8de=[];let _0x72f051=_0x59a06c,_0x6280a0=_0x59a06c;for(let _0x43d1c4=_0x1ce6a0[_0x44f2f6(0x272)]-0x1;_0x43d1c4>=0x0;_0x43d1c4--){const {unitID:_0x5872c6,undoMutations:_0x457f4e,redoMutations:_0x37bb39}=_0x1ce6a0[_0x43d1c4],_0xf5bae=this['_transformService'][_0x44f2f6(0x1b3)](_0x72f051,_0x457f4e),_0x3bc7da=this[_0x44f2f6(0x549)]['transformMutationsWithChangeset'](_0x6280a0,_0x37bb39);if(_0x27cfd8['isTransformMutationsWithChangesetFailure'](_0xf5bae)||_0x27cfd8[_0x44f2f6(0x57c)](_0x3bc7da)){this[_0x44f2f6(0x515)][_0x44f2f6(0x1df)](_0x44f2f6(0x44a),_0x44f2f6(0x277),_0xf5bae,_0x3bc7da);break;}_0x72f051=_0xf5bae[_0x44f2f6(0x4aa)],_0x6280a0=_0x3bc7da['c1Prime'],_0x1ca8de[_0x44f2f6(0x203)]({'unitID':_0x5872c6,'undoMutations':_0xf5bae['m2Prime'],'redoMutations':_0x3bc7da[_0x44f2f6(0x43e)]});}return _0x1ca8de[_0x44f2f6(0x29b)]();}};_0x2cc3b7=_0x1c3b2d([_0x50e1ec(0x0,_0x8a1a57[_0x16631f(0x1db)]),_0x50e1ec(0x1,_0x8a1a57[_0x16631f(0x350)]),_0x50e1ec(0x2,_0x8a1a57[_0x16631f(0x58d)]),_0x50e1ec(0x3,_0x27cfd8[_0x16631f(0x1bd)]),_0x50e1ec(0x4,_0x8a1a57[_0x16631f(0xfc)])],_0x2cc3b7);class _0x14391e extends _0x8a1a57[_0x16631f(0x228)]{constructor(){const _0x15b527=_0x16631f;super(),_0x2a606e(this,'urlChange$'),this['urlChange$']=_0x933215[_0x15b527(0x362)](window,_0x15b527(0x1ea))[_0x15b527(0x4be)](_0x933215[_0x15b527(0x3d9)](this[_0x15b527(0x42d)]),_0x933215['shareReplay'](0x1),_0x933215[_0x15b527(0x450)](void 0x0));}[_0x16631f(0x1de)](_0x4d0bc5,_0xc10461,_0x4b4d45=!0x1){const _0x1a4c76=_0x16631f,_0x4a66df=new URL(window['location'][_0x1a4c76(0x147)]);_0x4a66df[_0x1a4c76(0x237)][_0x1a4c76(0x41f)](_0x4d0bc5,_0xc10461),_0x4b4d45?window[_0x1a4c76(0x1e7)][_0x1a4c76(0x1ae)]('','',_0x4a66df[_0x1a4c76(0x3a4)]()):window['history']['pushState']('','',_0x4a66df['toString']());}[_0x16631f(0x573)](_0x47c47e,_0x4142c5=!0x1){const _0x4d9118=_0x16631f,_0x31e17c=new URL(window[_0x4d9118(0x219)][_0x4d9118(0x147)]);_0x31e17c[_0x4d9118(0x237)]['delete'](_0x47c47e),_0x4142c5?window[_0x4d9118(0x1e7)][_0x4d9118(0x1ae)]('','',_0x31e17c[_0x4d9118(0x3a4)]()):window['history'][_0x4d9118(0x20b)]('','',_0x31e17c[_0x4d9118(0x3a4)]());}['getParam'](_0x43d5d6){const _0x41ef46=_0x16631f;var _0x29f998;return(_0x29f998=new URL(window['location'][_0x41ef46(0x147)])[_0x41ef46(0x237)]['get'](_0x43d5d6))!=null?_0x29f998:void 0x0;}}var _0x3f63da=Object['defineProperty'],_0x272899=Object[_0x16631f(0x57e)],_0x3064e5=(_0x1eedba,_0x546312,_0x3b964e)=>_0x546312 in _0x1eedba?_0x3f63da(_0x1eedba,_0x546312,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b964e}):_0x1eedba[_0x546312]=_0x3b964e,_0x8b6fc3=(_0x12e526,_0x4197e2,_0x1b968a,_0x3061bc)=>{const _0x10038e=_0x16631f;for(var _0x5f2c0f=_0x3061bc>0x1?void 0x0:_0x3061bc?_0x272899(_0x4197e2,_0x1b968a):_0x4197e2,_0x9d15ee=_0x12e526[_0x10038e(0x272)]-0x1,_0x63dabe;_0x9d15ee>=0x0;_0x9d15ee--)(_0x63dabe=_0x12e526[_0x9d15ee])&&(_0x5f2c0f=(_0x3061bc?_0x63dabe(_0x4197e2,_0x1b968a,_0x5f2c0f):_0x63dabe(_0x5f2c0f))||_0x5f2c0f);return _0x3061bc&&_0x5f2c0f&&_0x3f63da(_0x4197e2,_0x1b968a,_0x5f2c0f),_0x5f2c0f;},_0x54ec10=(_0x1fcf8d,_0x1a3df3)=>(_0x1af45f,_0x1f57e2)=>_0x1a3df3(_0x1af45f,_0x1f57e2,_0x1fcf8d),_0x1abccb=(_0x151457,_0x21f69b,_0x216fab)=>_0x3064e5(_0x151457,_0x21f69b+'',_0x216fab);const _0x1cbeab='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x2728bd[_0x16631f(0x25e)]=class extends _0x8a1a57[_0x16631f(0x115)]{constructor(_0x4a13a5=_0x361e6c,_0x105a2f,_0x2724e1,_0x530601,_0xde6e50){const _0x4fed31=_0x16631f;super(),this['_config']=_0x4a13a5,this[_0x4fed31(0x515)]=_0x105a2f,this['_renderManagerService']=_0x2724e1,this[_0x4fed31(0x264)]=_0x530601,this[_0x4fed31(0x31f)]=_0xde6e50;const {..._0x4acb88}=this['_config'];this[_0x4fed31(0x31f)]['setConfig'](_0x132856,_0x4acb88);}[_0x16631f(0x430)](){const _0x3927b6=_0x16631f;this[_0x3927b6(0x535)](),this[_0x3927b6(0x35c)]();}[_0x16631f(0x570)](){const _0xec955e=_0x16631f;_0x8a1a57[_0xec955e(0x10f)](this[_0xec955e(0x264)],[[_0x21377e]]);}[_0x16631f(0x34a)](){const _0x54ae61=_0x16631f;this[_0x54ae61(0x578)]();}[_0x16631f(0x535)](){const _0xabe0d7=_0x16631f;var _0x14ec92,_0x245c3b,_0x4f729e,_0x52d821;this[_0xabe0d7(0x264)][_0xabe0d7(0x295)](_0x8a1a57[_0xabe0d7(0x540)])&&this[_0xabe0d7(0x515)][_0xabe0d7(0x1df)](_0xabe0d7(0x3c9),_0xabe0d7(0x447));const _0x420a35=[[_0x8a1a57[_0xabe0d7(0x540)],{'useClass':_0x2cc3b7}],[_0x2728bd[_0xabe0d7(0x37f)]],[_0x4216fe],[_0x38da0e,{'useClass':_0x14391e}],[_0x2728bd['MemberService']],[_0x2728bd['LocalCacheService']],[_0x547ebe[_0xabe0d7(0x1ca)]],[_0x1a79c5],[_0x3110cc],[_0xe93339],[_0x21b12b],[_0xc8790a],[_0x503962],[_0x3d44e4],[_0xe71ff7],[_0x4df2fb],[_0x55ce8e,{'useClass':(_0x245c3b=(_0x14ec92=this['_config'])==null?void 0x0:_0x14ec92[_0xabe0d7(0x585)])!=null?_0x245c3b:_0x2728bd[_0xabe0d7(0x260)]}],[_0x27cfd8[_0xabe0d7(0x240)],{'useClass':_0x2728bd[_0xabe0d7(0x484)]}],[_0x8a1a57['IAuthzIoService'],{'useClass':_0x2728bd['AuthzIoHttpService']}],[_0x1444d[_0xabe0d7(0x10e)],{'useClass':_0x2728bd[_0xabe0d7(0x2b6)]}],[_0x2728bd[_0xabe0d7(0x433)]],[_0x2728bd[_0xabe0d7(0x296)]],[_0x2728bd['DesktopCollaborationStatusDisplayController']],[_0x21377e],[_0xafbc5d]];(_0x4f729e=this[_0xabe0d7(0x26f)])!=null&&_0x4f729e[_0xabe0d7(0x250)]&&_0x420a35['push']([_0x50fb0f,{'useClass':_0x4874df}]),_0x8a1a57[_0xabe0d7(0x1ab)](this['_injector'],_0x8a1a57['mergeOverrideWithDependencies'](_0x420a35,(_0x52d821=this[_0xabe0d7(0x26f)])==null?void 0x0:_0x52d821['override']));}['_registerRenderDependencies'](){const _0x541bfb=_0x16631f;this[_0x541bfb(0x14a)](this[_0x541bfb(0x103)]['registerRenderModule'](_0x8a1a57[_0x541bfb(0x3e6)][_0x541bfb(0x327)],[_0x155007])),this[_0x541bfb(0x14a)](this[_0x541bfb(0x103)][_0x541bfb(0x131)](_0x8a1a57[_0x541bfb(0x3e6)][_0x541bfb(0x32e)],[_0x49e258]));}[_0x16631f(0x35c)](){const _0x18c089=_0x16631f;var _0x35aa44,_0x1dafcb;this['_injector']['get'](_0x547ebe[_0x18c089(0x359)])[_0x18c089(0x118)]({'priority':0x14,'interceptor':_0x547ebe[_0x18c089(0x20a)]({'maxParallel':0x6})}),(_0x35aa44=this[_0x18c089(0x26f)])!=null&&_0x35aa44['enableOfflineEditing']||this['_injector'][_0x18c089(0x241)](_0x2728bd[_0x18c089(0x2a1)])[_0x18c089(0x42f)](),(_0x1dafcb=this[_0x18c089(0x26f)])!=null&&_0x1dafcb[_0x18c089(0x52c)]&&_0x8a1a57[_0x18c089(0x10f)](this[_0x18c089(0x264)],[[_0x503962]]),_0x8a1a57[_0x18c089(0x10f)](this[_0x18c089(0x264)],[[_0x3d44e4],[_0xafbc5d],[_0x2728bd['DataLoaderController']],[_0x2728bd[_0x18c089(0x433)]],[_0x2728bd[_0x18c089(0x3ce)]],[_0x4df2fb]]);}},_0x1abccb(_0x2728bd[_0x16631f(0x25e)],'pluginName',_0x1cbeab),_0x2728bd[_0x16631f(0x25e)]=_0x8b6fc3([_0x8a1a57[_0x16631f(0x370)](_0x27cfd8[_0x16631f(0x565)],_0x547ebe['UniverNetworkPlugin']),_0x54ec10(0x1,_0x8a1a57[_0x16631f(0xfc)]),_0x54ec10(0x2,_0x20e8c2['IRenderManagerService']),_0x54ec10(0x3,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0x54ec10(0x4,_0x8a1a57[_0x16631f(0x4f9)])],_0x2728bd[_0x16631f(0x25e)]),_0x2728bd['AUTHZ_URL_KEY']=_0x360662,_0x2728bd[_0x16631f(0x206)]=_0x5f392d,_0x2728bd[_0x16631f(0x12a)]=_0xa043d2,_0x2728bd[_0x16631f(0x2ac)]=_0x5d61dc,_0x2728bd[_0x16631f(0x34d)]=_0x39447f,_0x2728bd['CommentService']=_0xe71ff7,_0x2728bd['HEARTBEAT_INTERVAL_KEY']=_0x5308f2,_0x2728bd[_0x16631f(0x218)]=_0x24c7e0,_0x2728bd[_0x16631f(0x2a8)]=_0x55ce8e,_0x2728bd[_0x16631f(0x193)]=_0x38da0e,_0x2728bd['LOCAL_CACHE_INTERVAL_KEY']=_0x3c4516,_0x2728bd['LOGIN_URL_KEY']=_0x1da8a5,_0x2728bd[_0x16631f(0x231)]=_0x3f4302,_0x2728bd['SEND_CHANGESET_TIMEOUT_KEY']=_0xe2af66,_0x2728bd[_0x16631f(0x4dc)]=_0x105ab0,_0x2728bd[_0x16631f(0x426)]=_0x17ae05,_0x2728bd[_0x16631f(0x37d)]=_0x53eb3f,_0x2728bd['SheetCollabCursorShape']=_0x2a2a49,_0x2728bd['WebURLService']=_0x14391e,_0x2728bd[_0x16631f(0x436)]=_0x44af3e,_0x2728bd[_0x16631f(0x2ad)]=_0x5e3630,Object[_0x16631f(0x162)](_0x2728bd,Symbol[_0x16631f(0x31c)],{'value':'Module'});}));