@univerjs-pro/collaboration-client 0.5.0-nightly.202411230545 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x331f6e=_0x3305;(function(_0x2f9505,_0x1d29b4){const _0x325a4c=_0x3305,_0x8129fe=_0x2f9505();while(!![]){try{const _0x9fb597=-parseInt(_0x325a4c(0x215))/0x1*(parseInt(_0x325a4c(0x3f8))/0x2)+parseInt(_0x325a4c(0x39b))/0x3+parseInt(_0x325a4c(0x3da))/0x4+-parseInt(_0x325a4c(0x31c))/0x5+parseInt(_0x325a4c(0x103))/0x6+-parseInt(_0x325a4c(0x355))/0x7*(-parseInt(_0x325a4c(0x521))/0x8)+-parseInt(_0x325a4c(0x222))/0x9;if(_0x9fb597===_0x1d29b4)break;else _0x8129fe['push'](_0x8129fe['shift']());}catch(_0x1294cb){_0x8129fe['push'](_0x8129fe['shift']());}}}(_0x57ef,0xdd2e3));var ji=Object[_0x331f6e(0x30b)],$i=(_0x483f0c,_0x2181bc,_0x331ee5)=>_0x2181bc in _0x483f0c?ji(_0x483f0c,_0x2181bc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x331ee5}):_0x483f0c[_0x2181bc]=_0x331ee5,I=(_0x3b7ba2,_0x5db395,_0x13b516)=>$i(_0x3b7ba2,typeof _0x5db395!='symbol'?_0x5db395+'':_0x5db395,_0x13b516);Object[_0x331f6e(0x30b)](exports,Symbol['toStringTag'],{'value':_0x331f6e(0x26b)});const a=require('@univerjs/core'),A=require(_0x331f6e(0x41e)),V=require(_0x331f6e(0x26a)),Ce=require(_0x331f6e(0x1c2)),z=require(_0x331f6e(0x272)),te=require('@univerjs/ui'),p=require(_0x331f6e(0x453)),Hi=require(_0x331f6e(0x51b)),Ie=require(_0x331f6e(0x4c8)),J=require(_0x331f6e(0x2be)),k=require(_0x331f6e(0x143)),K=require(_0x331f6e(0x3a5)),ie=require(_0x331f6e(0x211)),Mt=require(_0x331f6e(0x41c)),ye=require(_0x331f6e(0x36f)),ae=require(_0x331f6e(0x127)),Bi=require(_0x331f6e(0x55b)),ii=_0x331f6e(0x92),ki=_0x331f6e(0x2a8),ni='SNAPSHOT_URL_KEY',Wi='SEND_CHANGESET_TIMEOUT',Fi=0x7d0,si='COLLAB_WEB_SOCKET_URL',Vi=_0x331f6e(0x201),Gi=_0x331f6e(0x423),ri='HEARTBEAT_INTERVAL',Yi=0x7530,Et='HEARTBEAT_TIMEOUT',oi=0x4e20,Ki=0x4e20,ai=_0x331f6e(0x203),qi=0x3,ci=_0x331f6e(0xdb),zi=0x3e8,li=_0x331f6e(0x4eb),Xi='/universer-api/comb',hi='LOGIN_URL_KEY',Ji='/universer-api/oidc/authpage';var _i=(_0x4bc708=>(_0x4bc708[_0x4bc708[_0x331f6e(0x536)]=0x0]=_0x331f6e(0x536),_0x4bc708[_0x4bc708['OK']=0x1]='OK',_0x4bc708[_0x4bc708['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x4bc708[_0x4bc708[_0x331f6e(0xfd)]=0x3]=_0x331f6e(0xfd),_0x4bc708[_0x4bc708[_0x331f6e(0x407)]=0x4]='NOT_FOUND',_0x4bc708[_0x4bc708['UNAUTHENTICATED']=0x5]=_0x331f6e(0x4f3),_0x4bc708[_0x4bc708[_0x331f6e(0x450)]=0x6]='ALREADY_EXISTS',_0x4bc708[_0x4bc708[_0x331f6e(0x4f0)]=0x7]=_0x331f6e(0x4f0),_0x4bc708[_0x4bc708[_0x331f6e(0x401)]=0x8]='TOO_MANY_REQUESTS',_0x4bc708[_0x4bc708[_0x331f6e(0x130)]=0x9]='COMPLETION_FINISHED',_0x4bc708[_0x4bc708[_0x331f6e(0x499)]=0x1389]=_0x331f6e(0x499),_0x4bc708[_0x4bc708[_0x331f6e(0x133)]=0x1771]=_0x331f6e(0x133),_0x4bc708[_0x4bc708[_0x331f6e(0x36d)]=0x1772]=_0x331f6e(0x36d),_0x4bc708[_0x4bc708['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x331f6e(0x22a),_0x4bc708[_0x4bc708[_0x331f6e(0x50b)]=0x1b59]=_0x331f6e(0x50b),_0x4bc708[_0x4bc708[_0x331f6e(0x404)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4bc708[_0x4bc708[_0x331f6e(0x530)]=0x1b5b]=_0x331f6e(0x530),_0x4bc708[_0x4bc708[_0x331f6e(0x33e)]=0x1b5c]=_0x331f6e(0x33e),_0x4bc708[_0x4bc708['APPLY_DUPLICATED']=0x1b5d]=_0x331f6e(0x3ea),_0x4bc708[_0x4bc708[_0x331f6e(0xcf)]=0x1f41]=_0x331f6e(0xcf),_0x4bc708[_0x4bc708[_0x331f6e(0x3be)]=0x2329]=_0x331f6e(0x3be),_0x4bc708[_0x4bc708['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x331f6e(0x14f),_0x4bc708[_0x4bc708['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4bc708[_0x4bc708['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x331f6e(0xbc),_0x4bc708[_0x4bc708[_0x331f6e(0x3fe)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x4bc708[_0x4bc708['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x331f6e(0x24c),_0x4bc708[_0x4bc708[_0x331f6e(0x409)]=0x2712]=_0x331f6e(0x409),_0x4bc708[_0x4bc708[_0x331f6e(0x1bf)]=0x2713]=_0x331f6e(0x1bf),_0x4bc708[_0x4bc708[_0x331f6e(0x32e)]=0x2714]=_0x331f6e(0x32e),_0x4bc708[_0x4bc708['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4bc708))(_i||{}),ne=(_0x47c685=>(_0x47c685[_0x47c685[_0x331f6e(0x389)]=0x0]='UNIVER_UNKNOWN',_0x47c685[_0x47c685[_0x331f6e(0x236)]=0x1]=_0x331f6e(0x236),_0x47c685[_0x47c685[_0x331f6e(0x234)]=0x2]=_0x331f6e(0x234),_0x47c685[_0x47c685[_0x331f6e(0x270)]=0x3]=_0x331f6e(0x270),_0x47c685[_0x47c685['UNIVER_PROJECT']=0x4]=_0x331f6e(0x2b9),_0x47c685[_0x47c685[_0x331f6e(0x22f)]=-0x1]=_0x331f6e(0x22f),_0x47c685))(ne||{}),G=(_0x1a02c0=>(_0x1a02c0[_0x1a02c0['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x1a02c0[_0x1a02c0[_0x331f6e(0x268)]=0x1]=_0x331f6e(0x268),_0x1a02c0[_0x1a02c0[_0x331f6e(0x4f4)]=0x2]=_0x331f6e(0x4f4),_0x1a02c0[_0x1a02c0[_0x331f6e(0x11e)]=0x3]='LEAVE',_0x1a02c0[_0x1a02c0[_0x331f6e(0x469)]=0x4]=_0x331f6e(0x469),_0x1a02c0[_0x1a02c0['HEARTBEAT']=0x5]=_0x331f6e(0x145),_0x1a02c0[_0x1a02c0[_0x331f6e(0xb7)]=0x6]='RECV',_0x1a02c0[_0x1a02c0[_0x331f6e(0x22f)]=-0x1]=_0x331f6e(0x22f),_0x1a02c0))(G||{}),bt=(_0x79f6c7=>(_0x79f6c7[_0x79f6c7['UNKNOWN_CODE']=0x0]=_0x331f6e(0x542),_0x79f6c7[_0x79f6c7['OK']=0x1]='OK',_0x79f6c7[_0x79f6c7[_0x331f6e(0x4c6)]=0x2]='FAIL',_0x79f6c7[_0x79f6c7['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x79f6c7[_0x79f6c7['JOIN_ROOM_NOT_ALLOWED']=0x3ea]=_0x331f6e(0x2ff),_0x79f6c7[_0x79f6c7[_0x331f6e(0x22f)]=-0x1]=_0x331f6e(0x22f),_0x79f6c7))(bt||{}),ui=(_0xadb573=>(_0xadb573[_0xadb573[_0x331f6e(0x1cb)]=0x0]=_0x331f6e(0x1cb),_0xadb573[_0xadb573[_0x331f6e(0xf1)]=0x1]=_0x331f6e(0xf1),_0xadb573[_0xadb573[_0x331f6e(0xbf)]=0x2]=_0x331f6e(0xbf),_0xadb573[_0xadb573['UnitEmbedded']=0x3]=_0x331f6e(0xc5),_0xadb573[_0xadb573['UnitSnapshot']=0x4]=_0x331f6e(0x351),_0xadb573[_0xadb573[_0x331f6e(0x22f)]=-0x1]=_0x331f6e(0x22f),_0xadb573))(ui||{});const Q=_0x331f6e(0x4c3),Zi={};function di(_0x4b188a){const _0x1a748b=_0x331f6e;var _0x9c42b0,_0x28dfa1,_0x36483d,_0x50f672,_0x30ed39;const _0x6b076b=_0x4b188a[_0x1a748b(0x2fb)],_0x97e920=JSON['parse'](_0x6b076b);switch(_0x97e920[_0x1a748b(0x32a)]){case G[_0x1a748b(0x145)]:case G[_0x1a748b(0x268)]:{const _0x139a80=_0x97e920[_0x1a748b(0x3f5)];return{..._0x97e920,'data':_0x139a80,'cmd':_0x97e920[_0x1a748b(0x32a)]};}case G['JOIN']:{const _0x320e26=_0x97e920[_0x1a748b(0x17e)];return{..._0x97e920,'data':_0x320e26,'cmd':_0x97e920['cmd']};}case G[_0x1a748b(0xb7)]:{const _0x360c86=_0x97e920[_0x1a748b(0x23d)];switch(_0x360c86[_0x1a748b(0x473)]){case p['CollaborationEvent'][_0x1a748b(0x429)]:return{..._0x97e920,'data':{..._0x360c86,'data':(_0x9c42b0=_0x360c86[_0x1a748b(0x1b7)])==null?void 0x0:_0x9c42b0['cs']},'cmd':_0x97e920[_0x1a748b(0x32a)]};case p['CollaborationEvent'][_0x1a748b(0x4da)]:return{..._0x97e920,'data':{..._0x360c86,'data':(_0x28dfa1=_0x360c86[_0x1a748b(0xe3)])==null?void 0x0:_0x28dfa1['cs']},'cmd':_0x97e920[_0x1a748b(0x32a)]};case p[_0x1a748b(0x1ac)]['NEW_CHANGESETS']:return{..._0x97e920,'data':{..._0x360c86,'data':(_0x36483d=_0x360c86['newCsEvent'])==null?void 0x0:_0x36483d['cs']},'cmd':_0x97e920[_0x1a748b(0x32a)]};case p['CollaborationEvent'][_0x1a748b(0x344)]:return{..._0x97e920,'data':{..._0x360c86,'data':(_0x50f672=_0x360c86['csRejEvent'])==null?void 0x0:_0x50f672['cs']},'cmd':_0x97e920[_0x1a748b(0x32a)]};case p[_0x1a748b(0x1ac)]['CHANGESET_SHOULD_RETRY']:return{..._0x97e920,'data':{..._0x360c86,'data':(_0x30ed39=_0x360c86[_0x1a748b(0x363)])==null?void 0x0:_0x30ed39['cs']},'cmd':_0x97e920[_0x1a748b(0x32a)]};case p[_0x1a748b(0x1ac)][_0x1a748b(0xf5)]:return{..._0x97e920,'data':{..._0x360c86,'data':_0x360c86[_0x1a748b(0x55a)]},'cmd':_0x97e920[_0x1a748b(0x32a)]};case p[_0x1a748b(0x1ac)][_0x1a748b(0x199)]:return{..._0x97e920,'data':{..._0x360c86,'data':_0x360c86[_0x1a748b(0x2c8)]},'cmd':_0x97e920[_0x1a748b(0x32a)]};case p[_0x1a748b(0x1ac)][_0x1a748b(0x2ac)]:return{..._0x97e920,'data':{..._0x360c86,'data':_0x360c86[_0x1a748b(0x467)]},'cmd':_0x97e920[_0x1a748b(0x32a)]};case p[_0x1a748b(0x1ac)][_0x1a748b(0x2ce)]:return{..._0x97e920,'data':{..._0x360c86,'data':_0x360c86[_0x1a748b(0x49d)]},'cmd':_0x97e920['cmd']};case p[_0x1a748b(0x1ac)][_0x1a748b(0x466)]:case p[_0x1a748b(0x1ac)][_0x1a748b(0x53c)]:return{..._0x97e920,'data':{..._0x360c86,'data':_0x360c86[_0x1a748b(0x121)]},'cmd':_0x97e920['cmd']};case p[_0x1a748b(0x1ac)][_0x1a748b(0x520)]:return{..._0x97e920,'data':{..._0x360c86,'data':_0x360c86[_0x1a748b(0x49d)]},'cmd':_0x97e920['cmd']};case p[_0x1a748b(0x1ac)][_0x1a748b(0x1ca)]:return{..._0x97e920,'data':_0x360c86,'cmd':_0x97e920[_0x1a748b(0x32a)]};case p[_0x1a748b(0x1ac)][_0x1a748b(0x2f9)]:return{..._0x97e920,'data':{..._0x360c86,'data':_0x360c86[_0x1a748b(0xe7)]},'cmd':_0x97e920[_0x1a748b(0x32a)]};case p[_0x1a748b(0x1ac)][_0x1a748b(0x42c)]:return{..._0x97e920,'data':{..._0x360c86,'data':_0x360c86['updatePermissionObjEvent']},'cmd':_0x97e920[_0x1a748b(0x32a)]};case p[_0x1a748b(0x1ac)][_0x1a748b(0x3bc)]:return{..._0x97e920,'data':{..._0x360c86,'data':_0x360c86['shouldCloseConn']},'cmd':_0x97e920[_0x1a748b(0x32a)]};default:return _0x97e920;}}default:return _0x97e920;}}function fi(_0x4bcf7d){const _0x1c589e=_0x331f6e;switch(_0x4bcf7d[_0x1c589e(0x32a)]){case G[_0x1c589e(0x145)]:case G['HELLO']:return JSON[_0x1c589e(0x13f)]({'cmd':_0x4bcf7d[_0x1c589e(0x32a)],'routeKey':_0x4bcf7d[_0x1c589e(0x3b5)]});case G[_0x1c589e(0x469)]:{let _0x5e3c3d;switch(_0x4bcf7d[_0x1c589e(0x2fb)][_0x1c589e(0x473)]){case p[_0x1c589e(0x1ac)][_0x1c589e(0xf5)]:{_0x5e3c3d={'eventID':p[_0x1c589e(0x1ac)][_0x1c589e(0xf5)],'updateCursorEvent':_0x4bcf7d[_0x1c589e(0x2fb)][_0x1c589e(0x2fb)]};break;}case p[_0x1c589e(0x1ac)]['USERS_LEAVE']:{_0x5e3c3d={'eventID':p[_0x1c589e(0x1ac)][_0x1c589e(0x2ac)],'leaveEvent':_0x4bcf7d['data'][_0x1c589e(0x2fb)]};break;}case p[_0x1c589e(0x1ac)][_0x1c589e(0x199)]:{_0x5e3c3d={'eventID':p[_0x1c589e(0x1ac)][_0x1c589e(0x199)],'joinEvent':_0x4bcf7d['data'][_0x1c589e(0x2fb)]};break;}case p[_0x1c589e(0x1ac)][_0x1c589e(0x2ce)]:{_0x5e3c3d={'eventID':p[_0x1c589e(0x1ac)][_0x1c589e(0x2ce)],'liveShareNewHost':_0x4bcf7d['data'][_0x1c589e(0x2fb)]};break;}case p['CollaborationEvent'][_0x1c589e(0x53c)]:{_0x5e3c3d={'eventID':p[_0x1c589e(0x1ac)][_0x1c589e(0x53c)],'liveShareOperation':_0x4bcf7d[_0x1c589e(0x2fb)]['data']};break;}case p[_0x1c589e(0x1ac)]['LIVESHARE_TERMINATE']:{_0x5e3c3d={'eventID':p[_0x1c589e(0x1ac)][_0x1c589e(0x520)],'liveShareTerminate':_0x4bcf7d['data'][_0x1c589e(0x2fb)]};break;}case p[_0x1c589e(0x1ac)]['LIVESHARE_REQUEST_HOST']:{_0x5e3c3d={'eventID':p[_0x1c589e(0x1ac)][_0x1c589e(0x4c5)],'liveShareRequestHost':_0x4bcf7d[_0x1c589e(0x2fb)][_0x1c589e(0x2fb)]};break;}case p[_0x1c589e(0x1ac)][_0x1c589e(0x466)]:{_0x5e3c3d={'eventID':p[_0x1c589e(0x1ac)][_0x1c589e(0x466)]};break;}default:_0x5e3c3d={'eventID':_0x4bcf7d[_0x1c589e(0x2fb)][_0x1c589e(0x473)]};}return JSON[_0x1c589e(0x13f)]({'cmd':_0x4bcf7d['cmd'],'routeKey':_0x4bcf7d[_0x1c589e(0x3b5)],'collaMsg':_0x5e3c3d});}case G[_0x1c589e(0x4f4)]:return JSON[_0x1c589e(0x13f)]({'cmd':_0x4bcf7d[_0x1c589e(0x32a)],'routeKey':_0x4bcf7d[_0x1c589e(0x3b5)],'joinReq':_0x4bcf7d[_0x1c589e(0x2fb)]});case G[_0x1c589e(0x11e)]:return JSON[_0x1c589e(0x13f)]({'cmd':_0x4bcf7d[_0x1c589e(0x32a)],'routeKey':_0x4bcf7d[_0x1c589e(0x3b5)],'leaveReq':_0x4bcf7d['data']});default:throw new Error(_0x1c589e(0x529));}}var Qi=Object[_0x331f6e(0x30b)],en=Object[_0x331f6e(0x29e)],tn=(_0x186181,_0x4c5451,_0xd8e990,_0x4a8070)=>{const _0x40da05=_0x331f6e;for(var _0xddc29b=_0x4a8070>0x1?void 0x0:_0x4a8070?en(_0x4c5451,_0xd8e990):_0x4c5451,_0x1f7c2c=_0x186181[_0x40da05(0xa1)]-0x1,_0x36e84e;_0x1f7c2c>=0x0;_0x1f7c2c--)(_0x36e84e=_0x186181[_0x1f7c2c])&&(_0xddc29b=(_0x4a8070?_0x36e84e(_0x4c5451,_0xd8e990,_0xddc29b):_0x36e84e(_0xddc29b))||_0xddc29b);return _0x4a8070&&_0xddc29b&&Qi(_0x4c5451,_0xd8e990,_0xddc29b),_0xddc29b;},Pe=(_0x4791bc,_0x2ddbbc)=>(_0x3815db,_0x4bd51c)=>_0x2ddbbc(_0x3815db,_0x4bd51c,_0x4791bc);const Tt=a[_0x331f6e(0xde)](_0x331f6e(0x138));function nn(_0xec7444,_0x485403,_0x141e28){const _0x360ad8=_0x331f6e;return _0xec7444+'/'+_0x485403+_0x360ad8(0x2e7)+_0x141e28+'/new_changes';}exports[_0x331f6e(0x1fe)]=class extends a[_0x331f6e(0xba)]{constructor(_0xcb12a7,_0x522fe8,_0x3a6843,_0x165d19,_0x2ee47c){const _0x24d15f=_0x331f6e;super(),this['_http']=_0xcb12a7,this[_0x24d15f(0x440)]=_0x522fe8,this[_0x24d15f(0x549)]=_0x3a6843,this['_logService']=_0x165d19,this[_0x24d15f(0x104)]=_0x2ee47c;}[_0x331f6e(0x4b2)](_0x1415ac){const _0x438017=_0x331f6e,_0x57f7c6=this['_ws'][_0x438017(0x4b2)](_0x1415ac);if(!_0x57f7c6)throw new Error(_0x438017(0x216));const _0x443de3=new a[(_0x438017(0x1ad))](),_0x3fde20=new A[(_0x438017(0x2d6))]();_0x443de3[_0x438017(0x359)](_0x57f7c6['close$'][_0x438017(0x31a)](_0x594165=>_0x3fde20[_0x438017(0xd8)](_0x594165))),_0x443de3[_0x438017(0x359)](a[_0x438017(0xd1)](()=>_0x3fde20[_0x438017(0x232)]()));const _0x2ae661=new A[(_0x438017(0x2d6))]();_0x443de3[_0x438017(0x359)](_0x57f7c6[_0x438017(0x540)]['subscribe'](_0x256acc=>_0x2ae661[_0x438017(0xd8)](_0x256acc))),_0x443de3['add'](a[_0x438017(0xd1)](()=>_0x2ae661[_0x438017(0x232)]()));const _0x5547c8=new A[(_0x438017(0x2d6))]();_0x443de3[_0x438017(0x359)](_0x57f7c6['message$'][_0x438017(0x31a)](_0x31aabc=>{const _0x3eadcc=_0x438017,_0x2873b7=di(_0x31aabc);_0x5547c8[_0x3eadcc(0xd8)](_0x2873b7);})),_0x443de3['add'](a[_0x438017(0xd1)](()=>_0x5547c8[_0x438017(0x232)]()));let _0xcdc562;const _0x5be484=()=>{const _0x47b70f=_0x438017;_0x2ae661['next'](new Event('connection\x20error')),_0x3fde20[_0x47b70f(0xd8)](new CloseEvent(_0x47b70f(0x53b))),_0xcdc562[_0x47b70f(0x387)]();};return _0xcdc562={'memberID':'','close$':_0x3fde20[_0x438017(0x4a4)](),'error$':_0x2ae661['asObservable'](),'open$':_0x57f7c6['open$'],'message$':_0x5547c8['asObservable'](),'send':_0x38d286=>{const _0x5a3700=_0x438017;if(_0x38d286[_0x5a3700(0x32a)]===G['INGEST']){if(_0x38d286[_0x5a3700(0x2fb)]['eventID']===p[_0x5a3700(0x1ac)][_0x5a3700(0x223)]){this[_0x5a3700(0x1d9)](_0xcdc562,_0x38d286['data'])[_0x5a3700(0x252)](_0x3dbb0d=>{const _0xfda422=_0x5a3700;this[_0xfda422(0x28d)][_0xfda422(0x534)](_0x3dbb0d),_0x5be484();});return;}if(_0x38d286[_0x5a3700(0x2fb)][_0x5a3700(0x473)]===p[_0x5a3700(0x1ac)][_0x5a3700(0x131)]){const _0x59855e=_0x38d286['data'];this[_0x5a3700(0x53e)](_0x59855e)[_0x5a3700(0x102)](_0x151f48=>{const _0x1a5f30=_0x5a3700;_0x5547c8[_0x1a5f30(0xd8)]({'cmd':G[_0x1a5f30(0xb7)],'code':bt['OK'],'routeKey':_0x59855e[_0x1a5f30(0x2fb)]['unitID'],'routeType':'','data':{'eventID':p[_0x1a5f30(0x1ac)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x151f48}}});})[_0x5a3700(0x252)](_0x5a21b3=>{const _0x34b4f9=_0x5a3700;this[_0x34b4f9(0x28d)][_0x34b4f9(0x534)](_0x5a21b3),_0x5be484();});return;}}_0x57f7c6[_0x5a3700(0x1f1)](fi(_0x38d286));},'close':()=>{const _0x52307d=_0x438017;_0x57f7c6[_0x52307d(0x387)](),_0x443de3[_0x52307d(0x3b1)]();}},_0xcdc562;}async[_0x331f6e(0x1d9)](_0x3da916,_0x5cc0d3){const _0x11434b=_0x331f6e;var _0x5d6d1c,_0x3253c9;const {unitType:_0x495ee0,unitID:_0xd0a4ae,changeset:_0x9c160}=_0x5cc0d3[_0x11434b(0x2fb)],_0x24e88a={'unitID':_0xd0a4ae,'memberID':_0x3da916[_0x11434b(0x24b)],'type':_0x495ee0,'changeset':p[_0x11434b(0x1b6)](_0x9c160)},_0x5f536c=this[_0x11434b(0x549)][_0x11434b(0x505)](li),_0x35fe01=this[_0x11434b(0x549)][_0x11434b(0x505)](Q),_0x5ae4dc=nn((_0x3253c9=(_0x5d6d1c=_0x35fe01==null?void 0x0:_0x35fe01[_0x11434b(0x3f9)])!=null?_0x5d6d1c:_0x5f536c)!=null?_0x3253c9:Xi,_0x495ee0,_0xd0a4ae);try{await this['_http']['post'](_0x5ae4dc,{'body':_0x24e88a});}catch(_0x205000){throw this[_0x11434b(0x28d)][_0x11434b(0x534)]('[CollaborationSession]',_0x11434b(0x24a)),_0x205000;}}async['_fetchMissChangesets'](_0x198646){const _0x12fa4a=_0x331f6e,{unitID:_0x4b4f75,from:_0x13e4f8,to:_0x41ba71,unitType:_0x84fba3}=_0x198646[_0x12fa4a(0x2fb)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x4b4f75,'type':_0x84fba3,'from':_0x13e4f8,'to':_0x41ba71}))[_0x12fa4a(0x1f4)];}},exports[_0x331f6e(0x1fe)]=tn([Pe(0x0,a[_0x331f6e(0x397)](z['HTTPService'])),Pe(0x1,a['Inject'](z[_0x331f6e(0x49b)])),Pe(0x2,a['IConfigService']),Pe(0x3,a[_0x331f6e(0x228)]),Pe(0x4,p[_0x331f6e(0x4ed)])],exports[_0x331f6e(0x1fe)]);const sn=_0x331f6e(0xaf);function rn(_0x51bf0c){const _0x391bfb=_0x331f6e;return JSON[_0x391bfb(0x13f)](_0x51bf0c)[_0x391bfb(0xa1)];}class Rt{constructor(){const _0x32b0a9=_0x331f6e;I(this,_0x32b0a9(0x25d),new A[(_0x32b0a9(0x2d6))]()),I(this,_0x32b0a9(0x3ca),this[_0x32b0a9(0x25d)][_0x32b0a9(0x4a4)]());}[_0x331f6e(0x280)](_0xf28db0){const _0x9642ca=_0x331f6e;this[_0x9642ca(0x25d)][_0x9642ca(0xd8)](_0xf28db0);}}var on=Object[_0x331f6e(0x30b)],an=Object[_0x331f6e(0x29e)],cn=(_0xdd60d,_0x17865c,_0x117dc1,_0x373c73)=>{for(var _0x44f92a=_0x373c73>0x1?void 0x0:_0x373c73?an(_0x17865c,_0x117dc1):_0x17865c,_0x5d2ae0=_0xdd60d['length']-0x1,_0xcc927e;_0x5d2ae0>=0x0;_0x5d2ae0--)(_0xcc927e=_0xdd60d[_0x5d2ae0])&&(_0x44f92a=(_0x373c73?_0xcc927e(_0x17865c,_0x117dc1,_0x44f92a):_0xcc927e(_0x44f92a))||_0x44f92a);return _0x373c73&&_0x44f92a&&on(_0x17865c,_0x117dc1,_0x44f92a),_0x44f92a;},At=(_0x57fc41,_0x3ac94e)=>(_0x2b45ab,_0x56cad0)=>_0x3ac94e(_0x2b45ab,_0x56cad0,_0x57fc41);exports[_0x331f6e(0x3bd)]=class extends a['Disposable']{constructor(_0x4a1d66,_0x2cd328){const _0x53162b=_0x331f6e;super(),I(this,_0x53162b(0x515),new Map()),(this[_0x53162b(0x2a1)]=_0x4a1d66,this[_0x53162b(0x2ca)]=_0x2cd328,this[_0x53162b(0xd7)](a[_0x53162b(0xd1)](A[_0x53162b(0x1c5)](this['_univerInstanceService'][_0x53162b(0x533)](a[_0x53162b(0x47c)]['UNIVER_SHEET'])[_0x53162b(0x3ec)](V['map'](_0x5edef7=>_0x5edef7[_0x53162b(0x141)]())),this[_0x53162b(0x2a1)][_0x53162b(0x533)](a[_0x53162b(0x47c)][_0x53162b(0x236)])[_0x53162b(0x3ec)](V[_0x53162b(0x442)](_0x135d1e=>_0x135d1e[_0x53162b(0x141)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x53162b(0x270)])[_0x53162b(0x3ec)](V[_0x53162b(0x442)](_0x21842a=>_0x21842a['getUnitId']())))[_0x53162b(0x31a)](_0x18eaad=>this['_removeRoom'](_0x18eaad)))));}[_0x331f6e(0x38b)](_0x352ef8){const _0x351321=_0x331f6e;this[_0x351321(0x2ca)][_0x351321(0x38b)](_0x352ef8);}['getCurrentUser'](){const _0x11b541=_0x331f6e;return this[_0x11b541(0x2ca)][_0x11b541(0x289)]();}[_0x331f6e(0x2e6)](_0x4a9b83,_0xdedb3d){const _0x5cbd17=_0x331f6e;let _0x36119c=this[_0x5cbd17(0x515)][_0x5cbd17(0x532)](_0x4a9b83);_0x36119c||(_0x36119c=new ln(),this[_0x5cbd17(0x515)]['set'](_0x4a9b83,_0x36119c)),_0x36119c['updateMember'](_0xdedb3d);}['removeMember'](_0x346bab,_0x4cae78){const _0x148b52=_0x331f6e,_0x3ef6f0=this[_0x148b52(0x515)]['get'](_0x346bab);_0x3ef6f0&&_0x3ef6f0[_0x148b52(0x2d3)](_0x4cae78);}['getRoom'](_0x3588eb){const _0x4b9f13=_0x331f6e;return this[_0x4b9f13(0x515)][_0x4b9f13(0x532)](_0x3588eb);}[_0x331f6e(0x100)](_0x3e7f84,_0x2bfbf2){const _0x43f43c=_0x331f6e,_0x4263fe=this[_0x43f43c(0x515)][_0x43f43c(0x532)](_0x3e7f84);if(_0x4263fe)return _0x4263fe[_0x43f43c(0x100)](_0x2bfbf2);}[_0x331f6e(0x40a)](_0x5760fd){const _0x2dcd8d=_0x331f6e,_0x4ec2a8=this[_0x2dcd8d(0x515)][_0x2dcd8d(0x532)](_0x5760fd);_0x4ec2a8&&(_0x4ec2a8[_0x2dcd8d(0x3b1)](),this['_roomMembers']['delete'](_0x5760fd));}[_0x331f6e(0x3b1)](){const _0x30da33=_0x331f6e;this['_roomMembers'][_0x30da33(0x34c)](_0x1c57a0=>_0x1c57a0[_0x30da33(0x3b1)]()),this[_0x30da33(0x515)][_0x30da33(0x480)]();}},exports[_0x331f6e(0x3bd)]=cn([At(0x0,a[_0x331f6e(0x427)]),At(0x1,a[_0x331f6e(0x397)](a[_0x331f6e(0x1a0)]))],exports[_0x331f6e(0x3bd)]);class ln extends a[_0x331f6e(0xba)]{constructor(){const _0x245768=_0x331f6e;super(...arguments),I(this,_0x245768(0x122),new Map());}[_0x331f6e(0x3b1)](){const _0xab362=_0x331f6e;this[_0xab362(0x122)][_0xab362(0x480)]();}[_0x331f6e(0x2e6)](_0x48ef8f){const _0x295e4a=_0x331f6e;this[_0x295e4a(0x122)][_0x295e4a(0x543)](_0x48ef8f[_0x295e4a(0x24b)],_0x48ef8f);}[_0x331f6e(0x2d3)](_0x41c03a){const _0x179e54=_0x331f6e;this[_0x179e54(0x122)]['delete'](_0x41c03a);}[_0x331f6e(0x100)](_0x1a502d){const _0x2f535a=_0x331f6e;return this[_0x2f535a(0x122)][_0x2f535a(0x532)](_0x1a502d);}[_0x331f6e(0x4cc)](){const _0x20e5db=_0x331f6e;return Array[_0x20e5db(0x319)](this[_0x20e5db(0x122)][_0x20e5db(0x4e8)]());}}var hn=Object['defineProperty'],_n=Object[_0x331f6e(0x29e)],un=(_0x418182,_0x5b1333,_0x2b3ac8,_0x2ac844)=>{const _0x34048=_0x331f6e;for(var _0x1e7aee=_0x2ac844>0x1?void 0x0:_0x2ac844?_n(_0x5b1333,_0x2b3ac8):_0x5b1333,_0x995f24=_0x418182[_0x34048(0xa1)]-0x1,_0x37cf0c;_0x995f24>=0x0;_0x995f24--)(_0x37cf0c=_0x418182[_0x995f24])&&(_0x1e7aee=(_0x2ac844?_0x37cf0c(_0x5b1333,_0x2b3ac8,_0x1e7aee):_0x37cf0c(_0x1e7aee))||_0x1e7aee);return _0x2ac844&&_0x1e7aee&&hn(_0x5b1333,_0x2b3ac8,_0x1e7aee),_0x1e7aee;},de=(_0xcd8e86,_0x41dcde)=>(_0x3fcc3e,_0x15bd0f)=>_0x41dcde(_0x3fcc3e,_0x15bd0f,_0xcd8e86),se=(_0x38a229=>(_0x38a229[_0x38a229[_0x331f6e(0x2ed)]=0x0]=_0x331f6e(0x2ed),_0x38a229[_0x38a229['JOINING']=0x1]=_0x331f6e(0x525),_0x38a229[_0x38a229[_0x331f6e(0x139)]=0x2]=_0x331f6e(0x139),_0x38a229[_0x38a229[_0x331f6e(0x41a)]=0x3]='ONLINE',_0x38a229))(se||{});exports[_0x331f6e(0x436)]=class extends a['RxDisposable']{constructor(_0x4402cd,_0x2bb235,_0x86876d,_0x5816fa,_0x31de6b,_0x5ae157,_0x4e1322,_0x57c85d,_0x289bad,_0x12c132){const _0x1a7fe0=_0x331f6e;super(),I(this,_0x1a7fe0(0x18c),new A[(_0x1a7fe0(0x325))](0x0)),I(this,_0x1a7fe0(0x50e),this[_0x1a7fe0(0x18c)][_0x1a7fe0(0x4a4)]()),I(this,_0x1a7fe0(0x419),new A[(_0x1a7fe0(0x2d6))]()),I(this,_0x1a7fe0(0x37f),this['_event$'][_0x1a7fe0(0x4a4)]()),I(this,_0x1a7fe0(0xcc)),I(this,'_socketMessageSubscription'),I(this,'_collaborationTimeoutTimer'),I(this,_0x1a7fe0(0x37a),!0x1),I(this,_0x1a7fe0(0x4de),null),(this[_0x1a7fe0(0x2b0)]=_0x4402cd,this['_logService']=_0x86876d,this['_beforeCloseService']=_0x5816fa,this[_0x1a7fe0(0x19b)]=_0x31de6b,this[_0x1a7fe0(0x549)]=_0x5ae157,this[_0x1a7fe0(0x428)]=_0x4e1322,this[_0x1a7fe0(0x1ba)]=_0x57c85d,this[_0x1a7fe0(0x390)]=_0x289bad,this[_0x1a7fe0(0x35a)]=_0x12c132,this[_0x1a7fe0(0x37a)]=!!this[_0x1a7fe0(0x35a)],_0x2bb235[_0x1a7fe0(0x3ec)](A[_0x1a7fe0(0x1a2)](this[_0x1a7fe0(0x361)]))[_0x1a7fe0(0x31a)](_0x1ede90=>{const _0x6abf7e=_0x1a7fe0;var _0x1161ac;typeof _0x1ede90>'u'||(this[_0x6abf7e(0xcc)]=_0x1ede90,_0x1ede90?(this[_0x6abf7e(0x1bd)](_0x1ede90),this[_0x6abf7e(0x4cb)]=_0x1ede90[_0x6abf7e(0x343)][_0x6abf7e(0x31a)](_0x2142a0=>{const _0x4aabec=_0x6abf7e;_0x2142a0[_0x4aabec(0x3b5)]===this['_unitID']&&this[_0x4aabec(0x1f6)](_0x2142a0);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x6abf7e(0x18c)][_0x6abf7e(0xd8)](0x2),(_0x1161ac=this[_0x6abf7e(0x4cb)])==null||_0x1161ac[_0x6abf7e(0x486)](),this[_0x6abf7e(0x4cb)]=null));}),this[_0x1a7fe0(0xd7)](this[_0x1a7fe0(0x275)][_0x1a7fe0(0x95)](()=>{const _0x111c74=_0x1a7fe0;var _0x1613ca;(_0x1613ca=this[_0x111c74(0xcc)])==null||_0x1613ca[_0x111c74(0x1f1)]({'cmd':G[_0x111c74(0x11e)],'data':{'roomID':this[_0x111c74(0x2b0)]}});})));}get[_0x331f6e(0x490)](){const _0x4f9833=_0x331f6e;return this[_0x4f9833(0x18c)][_0x4f9833(0x4f7)]();}['getMemberID'](){const _0x587e95=_0x331f6e;var _0x29f8bd,_0x1e433b;return(_0x1e433b=(_0x29f8bd=this[_0x587e95(0xcc)])==null?void 0x0:_0x29f8bd[_0x587e95(0x24b)])!=null?_0x1e433b:null;}[_0x331f6e(0x3b1)](){const _0x4cda3c=_0x331f6e;super[_0x4cda3c(0x3b1)](),this[_0x4cda3c(0x361)]['next'](),this[_0x4cda3c(0x361)]['complete']();}[_0x331f6e(0x387)](){const _0x1845a6=_0x331f6e;var _0x5e9dbd,_0x6b1133;this[_0x1845a6(0x1ff)](),(_0x5e9dbd=this['_socket'])==null||_0x5e9dbd[_0x1845a6(0x1f1)]({'cmd':G[_0x1845a6(0x11e)],'data':{'roomID':this['_unitID']}}),(_0x6b1133=this[_0x1845a6(0xcc)])==null||_0x6b1133[_0x1845a6(0x387)](),this[_0x1845a6(0x419)][_0x1845a6(0x232)](),this[_0x1845a6(0x18c)][_0x1845a6(0x232)](),this['dispose']();}['_onCombEvent'](_0x154b0d){const _0x49619d=_0x331f6e;_0x154b0d['cmd']===G[_0x49619d(0x4f4)]?this['_onJoinRoomEvent'](_0x154b0d):_0x154b0d[_0x49619d(0x32a)]===G[_0x49619d(0xb7)]&&this[_0x49619d(0x286)](_0x154b0d);}['_joinRoom'](_0x4f4771){const _0x47cb82=_0x331f6e;this[_0x47cb82(0x18c)][_0x47cb82(0xd8)](0x1),_0x4f4771['send']({'cmd':G[_0x47cb82(0x4f4)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x331f6e(0x4cd)](_0x5f3009){const _0x4e5fdd=_0x331f6e;var _0xa5a3d6;if(_0x5f3009[_0x4e5fdd(0x457)]===bt[_0x4e5fdd(0x4c6)]){this[_0x4e5fdd(0x19b)][_0x4e5fdd(0x135)]({'type':Ce['MessageType'][_0x4e5fdd(0x12f)],'content':this[_0x4e5fdd(0x428)]['t']('session.room-full')}),this[_0x4e5fdd(0x18c)]['next'](0x2);return;}this['_sessionStatus$'][_0x4e5fdd(0xd8)](0x3);const _0xd06c73=(_0xa5a3d6=_0x5f3009[_0x4e5fdd(0x2fb)]['roomInfos'][this[_0x4e5fdd(0x2b0)]])==null?void 0x0:_0xa5a3d6['members'];_0xd06c73&&_0xd06c73['forEach'](_0x3e05df=>this[_0x4e5fdd(0x1ba)][_0x4e5fdd(0x2e6)](this[_0x4e5fdd(0x2b0)],_0x3e05df));}[_0x331f6e(0x286)](_0x134e4d){const _0x1bf616=_0x331f6e;try{const _0x5d8f2e=_0x134e4d[_0x1bf616(0x2fb)];switch(_0x5d8f2e[_0x1bf616(0x473)]){case p[_0x1bf616(0x1ac)][_0x1bf616(0x199)]:this['_onUserJoin'](_0x5d8f2e),this[_0x1bf616(0x419)][_0x1bf616(0xd8)](_0x5d8f2e);break;case p[_0x1bf616(0x1ac)][_0x1bf616(0x2ac)]:this['_onUserLeave'](_0x5d8f2e),this['_event$'][_0x1bf616(0xd8)](_0x5d8f2e);break;case p[_0x1bf616(0x1ac)][_0x1bf616(0x4da)]:case p[_0x1bf616(0x1ac)][_0x1bf616(0x44a)]:this[_0x1bf616(0x16f)](),this[_0x1bf616(0x213)](),this[_0x1bf616(0x419)][_0x1bf616(0xd8)](_0x5d8f2e);break;case p[_0x1bf616(0x1ac)][_0x1bf616(0x1ca)]:this[_0x1bf616(0x28d)]['error'](_0x1bf616(0x341)+JSON[_0x1bf616(0x13f)](_0x5d8f2e)),this[_0x1bf616(0x419)][_0x1bf616(0xd8)](_0x5d8f2e);break;case p[_0x1bf616(0x1ac)][_0x1bf616(0x2f9)]:this[_0x1bf616(0x390)][_0x1bf616(0x280)](_0x5d8f2e['data']),this[_0x1bf616(0x419)]['next'](_0x5d8f2e);break;default:this[_0x1bf616(0x419)]['next'](_0x5d8f2e);}}catch(_0x4b77f8){this[_0x1bf616(0x28d)]['error'](_0x4b77f8,_0x134e4d);}}[_0x331f6e(0x248)](_0x4d038f){const _0x38be8a=_0x331f6e;this[_0x38be8a(0x1ba)][_0x38be8a(0x2e6)](this['_unitID'],_0x4d038f[_0x38be8a(0x2fb)]);}['_onUserLeave'](_0x52d812){const _0x2ccbe1=_0x331f6e;this[_0x2ccbe1(0x1ba)]['removeMember'](this[_0x2ccbe1(0x2b0)],_0x52d812['data'][_0x2ccbe1(0x24b)]);}async[_0x331f6e(0x1f1)](_0x4537ad,_0xea39){const _0x2f5938=_0x331f6e;if(this[_0x2f5938(0x490)]!==0x3||!this[_0x2f5938(0xcc)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x4537ad[_0x2f5938(0x473)]===p[_0x2f5938(0x1ac)]['SUBMIT_CHANGESET']&&(this[_0x2f5938(0x2c4)](),this['_startTelemetryCollaborationNewChangeset'](_0x4537ad)),this[_0x2f5938(0xcc)][_0x2f5938(0x1f1)]({'cmd':G['INGEST'],'routeKey':_0xea39,'routeType':'','data':_0x4537ad});}catch(_0x4d5c33){this['_logService']['error'](_0x4d5c33);}}[_0x331f6e(0x2c4)](){const _0x4c67bf=_0x331f6e;var _0x16c1b4;this[_0x4c67bf(0x209)]=window[_0x4c67bf(0x40e)](()=>{const _0x1c2cd4=_0x4c67bf;this[_0x1c2cd4(0x209)]=null,this[_0x1c2cd4(0x19b)][_0x1c2cd4(0x135)]({'type':Ce['MessageType'][_0x1c2cd4(0x2e3)],'content':this[_0x1c2cd4(0x428)]['t'](_0x1c2cd4(0x1c9))});},(_0x16c1b4=this['_configService'][_0x4c67bf(0x505)](Et))!=null?_0x16c1b4:oi);}[_0x331f6e(0x213)](){const _0x4025a5=_0x331f6e;this[_0x4025a5(0x209)]&&(clearTimeout(this[_0x4025a5(0x209)]),this[_0x4025a5(0x209)]=null);}[_0x331f6e(0x28f)](_0x224b4f){const _0x1d0568=_0x331f6e;if(!this['_shouldReportTelemetry'])return;const {data:_0x2e7c89}=_0x224b4f,{unitID:_0x35f1d8,changeset:_0x4eeb3d}=_0x2e7c89,{mutations:_0xe22c1a,type:_0x55dd99}=_0x4eeb3d;this[_0x1d0568(0x4de)]={'unitId':_0x35f1d8,'type':_0x55dd99,'startTime':performance[_0x1d0568(0x21f)](),'stopTime':0x0,'duration':0x0,'size':rn(_0xe22c1a)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x4fc325=_0x331f6e;if(this[_0x4fc325(0x37a)]){if(!this[_0x4fc325(0x4de)]){this[_0x4fc325(0x28d)][_0x4fc325(0x534)]('[CollaborationSession]',_0x4fc325(0x11b));return;}this['_telemetryInfo']['stopTime']=performance[_0x4fc325(0x21f)](),this[_0x4fc325(0x4de)]['duration']=this[_0x4fc325(0x4de)][_0x4fc325(0x492)]-this[_0x4fc325(0x4de)][_0x4fc325(0x146)],this[_0x4fc325(0x35a)]['capture'](sn,this[_0x4fc325(0x4de)]),this[_0x4fc325(0x4de)]=null;}}[_0x331f6e(0x1ff)](){this['_telemetryInfo']=null;}},exports['CollaborationSession']=un([de(0x2,a['ILogService']),de(0x3,te[_0x331f6e(0x2ef)]),de(0x4,te[_0x331f6e(0x11f)]),de(0x5,a['IConfigService']),de(0x6,a[_0x331f6e(0x397)](a[_0x331f6e(0xe4)])),de(0x7,a[_0x331f6e(0x397)](exports[_0x331f6e(0x3bd)])),de(0x8,a[_0x331f6e(0x397)](Rt)),de(0x9,a[_0x331f6e(0x350)](Hi[_0x331f6e(0x2d8)]))],exports[_0x331f6e(0x436)]);var dn=Object[_0x331f6e(0x30b)],fn=Object[_0x331f6e(0x29e)],vn=(_0x5625ba,_0x56e033,_0x2945fb,_0x1a93b7)=>{const _0x17aa81=_0x331f6e;for(var _0x838263=_0x1a93b7>0x1?void 0x0:_0x1a93b7?fn(_0x56e033,_0x2945fb):_0x56e033,_0x4a9981=_0x5625ba[_0x17aa81(0xa1)]-0x1,_0x239782;_0x4a9981>=0x0;_0x4a9981--)(_0x239782=_0x5625ba[_0x4a9981])&&(_0x838263=(_0x1a93b7?_0x239782(_0x56e033,_0x2945fb,_0x838263):_0x239782(_0x838263))||_0x838263);return _0x1a93b7&&_0x838263&&dn(_0x56e033,_0x2945fb,_0x838263),_0x838263;},pe=(_0x2118b5,_0xe63acf)=>(_0x1e6c64,_0x46669d)=>_0xe63acf(_0x1e6c64,_0x46669d,_0x2118b5);exports['CollaborationSessionService']=class extends a[_0x331f6e(0xba)]{constructor(_0x42f432,_0x106fde,_0x4b1c58,_0x4685ba,_0x5e335c,_0x4b395f,_0x369646){const _0x3af905=_0x331f6e;super(),I(this,_0x3af905(0x476),new A['BehaviorSubject'](void 0x0)),I(this,'socket$',this[_0x3af905(0x476)][_0x3af905(0x4a4)]()),I(this,_0x3af905(0x2a0),null),I(this,'_sessions',new Map()),I(this,_0x3af905(0x33d),new A[(_0x3af905(0x325))](se[_0x3af905(0x2ed)])),I(this,_0x3af905(0x166),this[_0x3af905(0x33d)]['asObservable']()),I(this,_0x3af905(0x51f),!0x1),I(this,_0x3af905(0x1ab)),I(this,_0x3af905(0x9c),0x0),I(this,_0x3af905(0x461)),I(this,_0x3af905(0x44c)),(this[_0x3af905(0xb0)]=_0x42f432,this[_0x3af905(0x428)]=_0x106fde,this[_0x3af905(0x19b)]=_0x4b1c58,this['_logService']=_0x4685ba,this[_0x3af905(0x549)]=_0x5e335c,this[_0x3af905(0x249)]=_0x4b395f,this[_0x3af905(0x313)]=_0x369646,this['_initEventListeners']());}get[_0x331f6e(0xcc)](){const _0x3683ed=_0x331f6e;return this[_0x3683ed(0x476)][_0x3683ed(0x4f7)]();}[_0x331f6e(0x4c0)](){const _0x37909b=_0x331f6e;this['_listenToOfflineEvent'](),this[_0x37909b(0x4d2)]();}[_0x331f6e(0x3b1)](){const _0x256d5d=_0x331f6e;super[_0x256d5d(0x3b1)](),this[_0x256d5d(0xe6)][_0x256d5d(0x34c)](_0x2700a7=>_0x2700a7[_0x256d5d(0x3b1)]()),this[_0x256d5d(0xe6)][_0x256d5d(0x480)](),this[_0x256d5d(0x33d)][_0x256d5d(0x232)]();}async[_0x331f6e(0x206)](_0x2d031f){const _0x1dbbc1=_0x331f6e;if(this[_0x1dbbc1(0xe6)][_0x1dbbc1(0x1c7)](_0x2d031f))return this[_0x1dbbc1(0xe6)][_0x1dbbc1(0x532)](_0x2d031f);this['_tryEnsureSocket']();const _0x37294b=this[_0x1dbbc1(0xb0)][_0x1dbbc1(0x45b)](exports[_0x1dbbc1(0x436)],_0x2d031f,this[_0x1dbbc1(0x476)]['asObservable']());return this[_0x1dbbc1(0xe6)][_0x1dbbc1(0x543)](_0x2d031f,_0x37294b),_0x37294b;}[_0x331f6e(0x3e9)](_0x25e032){const _0x35ad32=_0x331f6e;var _0x38a23a;const _0x815465=this['_sessions'][_0x35ad32(0x532)](_0x25e032);_0x815465&&(this[_0x35ad32(0xe6)][_0x35ad32(0x3d4)](_0x25e032),_0x815465[_0x35ad32(0x387)]()),this['_sessions'][_0x35ad32(0x10c)]||(_0x38a23a=this[_0x35ad32(0xcc)])==null||_0x38a23a[_0x35ad32(0x387)]();}[_0x331f6e(0x4b6)](){const _0x59a7a7=_0x331f6e;this['_retryCount']=0x0,this[_0x59a7a7(0x1ab)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x59a7a7(0x1ab)]=null),this['_tryReconnect']();}async[_0x331f6e(0xee)](){const _0x562023=_0x331f6e;var _0xc4a74f,_0x3c7e08,_0x430ec5;const _0x1c99be=this['_configService'][_0x562023(0x505)](Q),_0x4f1254=(_0xc4a74f=_0x1c99be==null?void 0x0:_0x1c99be['wsSessionTicketUrl'])!=null?_0xc4a74f:Gi;return(_0x430ec5=(_0x3c7e08=(await this[_0x562023(0x313)][_0x562023(0x532)](_0x4f1254,{'headers':{'Content-Type':_0x562023(0x241)}}))[_0x562023(0xb2)])==null?void 0x0:_0x3c7e08[_0x562023(0x20b)])!=null?_0x430ec5:'';}[_0x331f6e(0xdd)](_0x56e393){const _0x48c3a6=_0x331f6e;var _0x442b08,_0x2f2c99;const _0x7b4e4e=this[_0x48c3a6(0x549)][_0x48c3a6(0x505)](si),_0x115b1e=this['_configService']['getConfig'](Q),_0x5dcfcd=(_0x2f2c99=(_0x442b08=_0x115b1e==null?void 0x0:_0x115b1e['collabWebSocketUrl'])!=null?_0x442b08:_0x7b4e4e)!=null?_0x2f2c99:Vi,_0x1f0434=new URL(_0x5dcfcd,window['location'][_0x48c3a6(0x400)]);return _0x1f0434['searchParams'][_0x48c3a6(0x543)](_0x48c3a6(0x44f),_0x56e393),_0x1f0434[_0x48c3a6(0x3aa)]();}async['_createSocket'](){const _0x5ca3f8=_0x331f6e,_0x18d003=await this[_0x5ca3f8(0xee)](),_0x33d212=this[_0x5ca3f8(0xdd)](_0x18d003),_0x33361f=this[_0x5ca3f8(0x249)][_0x5ca3f8(0x4b2)](_0x33d212);return this['_candidateSocket']=_0x33361f,_0x33361f;}async[_0x331f6e(0xc2)](){const _0x4d40e3=_0x331f6e;var _0x422ef0,_0x25e3d0;try{const _0x11e803=(_0x25e3d0=(_0x422ef0=this[_0x4d40e3(0xcc)])!=null?_0x422ef0:this[_0x4d40e3(0x2a0)])!=null?_0x25e3d0:await this[_0x4d40e3(0x1fd)]();if(_0x11e803){const _0x466fc0=_0x11e803[_0x4d40e3(0x1f1)];_0x11e803[_0x4d40e3(0x1f1)]=_0x429130=>(this[_0x4d40e3(0x439)](),_0x466fc0['apply'](_0x11e803,[_0x429130])),_0x11e803[_0x4d40e3(0x343)][_0x4d40e3(0x31a)](_0x17fa22=>this[_0x4d40e3(0x196)](_0x11e803,_0x17fa22)),_0x11e803[_0x4d40e3(0x540)][_0x4d40e3(0x3ec)](V[_0x4d40e3(0x4b8)](0x1))[_0x4d40e3(0x31a)](_0x52baa0=>this[_0x4d40e3(0x28d)][_0x4d40e3(0x534)](_0x4d40e3(0x2fd),_0x52baa0)),_0x11e803[_0x4d40e3(0x4a2)][_0x4d40e3(0x3ec)](V[_0x4d40e3(0x4b8)](0x1))[_0x4d40e3(0x31a)](()=>{const _0x5c9658=_0x4d40e3;this[_0x5c9658(0x32c)](_0x11e803);}),_0x11e803[_0x4d40e3(0x2b3)][_0x4d40e3(0x3ec)](V['take'](0x1))[_0x4d40e3(0x31a)](_0x278a8e=>{const _0x82e8f7=_0x4d40e3;this[_0x82e8f7(0x28d)][_0x82e8f7(0x552)](_0x82e8f7(0x3fd),_0x82e8f7(0x46f),_0x278a8e),this[_0x82e8f7(0x3d9)]();});}}catch(_0x3f0184){this[_0x4d40e3(0x28d)][_0x4d40e3(0x534)](_0x3f0184),this[_0x4d40e3(0x3d9)]();}}['_onConnectionOpen'](_0x59bbd){const _0x48afba=_0x331f6e;this[_0x48afba(0x28d)][_0x48afba(0x552)](_0x48afba(0x3fd),_0x48afba(0x1af)),_0x59bbd['send']({'cmd':G['HELLO']}),this[_0x48afba(0x439)]();}[_0x331f6e(0x22d)](){const _0x362290=_0x331f6e;window[_0x362290(0x34b)](_0x362290(0x4db),()=>this[_0x362290(0x30d)]());}[_0x331f6e(0x30d)](){const _0xc59be8=_0x331f6e;this['_socketReady']=!0x1,this[_0xc59be8(0x2a0)]=null,this[_0xc59be8(0x33d)][_0xc59be8(0xd8)](se[_0xc59be8(0x139)]),this[_0xc59be8(0x476)][_0xc59be8(0xd8)](null),this[_0xc59be8(0x4e6)](),this[_0xc59be8(0x1e9)]();}[_0x331f6e(0x3d9)](){const _0x2725e2=_0x331f6e;var _0x3b1802;this[_0x2725e2(0x30d)](),this[_0x2725e2(0x9c)]<((_0x3b1802=this[_0x2725e2(0x549)][_0x2725e2(0x505)](ai))!=null?_0x3b1802:qi)?(this[_0x2725e2(0x19b)][_0x2725e2(0x135)]({'key':'collaboration-session-retry','type':Ce[_0x2725e2(0x3e4)][_0x2725e2(0x12f)],'content':this['_localeService']['t'](_0x2725e2(0x3a1))}),this['_tryReconnect']()):this['_messageService'][_0x2725e2(0x135)]({'key':_0x2725e2(0x1cc),'type':Ce[_0x2725e2(0x3e4)][_0x2725e2(0x2e3)],'content':this[_0x2725e2(0x428)]['t'](_0x2725e2(0x51c))});}[_0x331f6e(0x4d2)](){const _0x123829=_0x331f6e,_0x9276d6=()=>{const _0xc78e9a=_0x3305;this[_0xc78e9a(0xcc)]||this[_0xc78e9a(0x4b6)]();},_0x48287a=()=>{const _0x1e3e12=_0x3305;this[_0x1e3e12(0xcc)]||document[_0x1e3e12(0xf3)]===_0x1e3e12(0x3e0)||this[_0x1e3e12(0x4b6)]();};window[_0x123829(0x34b)]('online',_0x9276d6),document[_0x123829(0x34b)](_0x123829(0x352),_0x48287a);}[_0x331f6e(0x449)](){const _0x59bfcf=_0x331f6e;var _0x512703;const _0x54f127=this['_retryCount'],_0x4e0e80=this['_configService'][_0x59bfcf(0x505)](Q),_0x5a8a62=_0x54f127===0x0?0x0:((_0x512703=_0x4e0e80==null?void 0x0:_0x4e0e80[_0x59bfcf(0x1fb)])!=null?_0x512703:Ki)*0x2**_0x54f127;this[_0x59bfcf(0x1ab)]=window[_0x59bfcf(0x40e)](()=>{const _0x3c0e66=_0x59bfcf;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x3c0e66(0xc2)]();},_0x5a8a62),this['_retryCount']+=0x1;}[_0x331f6e(0x196)](_0x448822,_0x3c3f3d){const _0x55996c=_0x331f6e,{cmd:_0x21ad2f}=_0x3c3f3d;_0x21ad2f===G['HELLO']&&!this['_socketReady']&&(_0x448822[_0x55996c(0x24b)]=_0x3c3f3d[_0x55996c(0x2fb)][_0x55996c(0x24b)],this[_0x55996c(0x476)]['next'](_0x448822),this[_0x55996c(0x33d)][_0x55996c(0xd8)](se['ONLINE']),this[_0x55996c(0x51f)]=!0x0,this[_0x55996c(0x2a0)]=null),_0x21ad2f===G[_0x55996c(0x145)]&&this[_0x55996c(0x4e6)](),this['_rescheduleHeartbeat']();}[_0x331f6e(0x439)](){const _0x597034=_0x331f6e;var _0x59b760;this[_0x597034(0x1e9)](),this[_0x597034(0x461)]=window[_0x597034(0x40e)](()=>this[_0x597034(0x4b5)](),(_0x59b760=this[_0x597034(0x549)][_0x597034(0x505)](ri))!=null?_0x59b760:Yi);}['_sendHeartbeat'](){const _0x1390c3=_0x331f6e;this[_0x1390c3(0xcc)][_0x1390c3(0x1f1)]({'cmd':G[_0x1390c3(0x145)]}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){const _0x57f3fb=_0x331f6e;var _0x36fbb7;this[_0x57f3fb(0x44c)]=window[_0x57f3fb(0x40e)](()=>this['_onConnectionFailed'](),(_0x36fbb7=this[_0x57f3fb(0x549)][_0x57f3fb(0x505)](Et))!=null?_0x36fbb7:oi);}['_clearHeartbeatTimer'](){const _0x1080d9=_0x331f6e;this[_0x1080d9(0x461)]!=null&&(clearTimeout(this[_0x1080d9(0x461)]),this['_sendHeartbeatTimer']=null);}[_0x331f6e(0x4e6)](){const _0x23164d=_0x331f6e;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x23164d(0x44c)]=null);}},exports[_0x331f6e(0x4cf)]=vn([pe(0x0,a[_0x331f6e(0x397)](a[_0x331f6e(0x35f)])),pe(0x1,a[_0x331f6e(0x397)](a[_0x331f6e(0xe4)])),pe(0x2,te['IMessageService']),pe(0x3,a[_0x331f6e(0x228)]),pe(0x4,a[_0x331f6e(0x3d6)]),pe(0x5,Tt),pe(0x6,a[_0x331f6e(0x397)](z['HTTPService']))],exports['CollaborationSessionService']);const Y=[];for(let s=0x0;s<0x100;++s)Y['push']((s+0x100)[_0x331f6e(0x3aa)](0x10)[_0x331f6e(0x32b)](0x1));function Sn(_0x3422b5,_0x10d438=0x0){const _0x3f7646=_0x331f6e;return(Y[_0x3422b5[_0x10d438+0x0]]+Y[_0x3422b5[_0x10d438+0x1]]+Y[_0x3422b5[_0x10d438+0x2]]+Y[_0x3422b5[_0x10d438+0x3]]+'-'+Y[_0x3422b5[_0x10d438+0x4]]+Y[_0x3422b5[_0x10d438+0x5]]+'-'+Y[_0x3422b5[_0x10d438+0x6]]+Y[_0x3422b5[_0x10d438+0x7]]+'-'+Y[_0x3422b5[_0x10d438+0x8]]+Y[_0x3422b5[_0x10d438+0x9]]+'-'+Y[_0x3422b5[_0x10d438+0xa]]+Y[_0x3422b5[_0x10d438+0xb]]+Y[_0x3422b5[_0x10d438+0xc]]+Y[_0x3422b5[_0x10d438+0xd]]+Y[_0x3422b5[_0x10d438+0xe]]+Y[_0x3422b5[_0x10d438+0xf]])[_0x3f7646(0x1b5)]();}let Ze;const pn=new Uint8Array(0x10);function mn(){const _0x212aeb=_0x331f6e;if(!Ze){if(typeof crypto>'u'||!crypto[_0x212aeb(0x3af)])throw new Error(_0x212aeb(0x13b));Ze=crypto[_0x212aeb(0x3af)][_0x212aeb(0x3a3)](crypto);}return Ze(pn);}const gn=typeof crypto<'u'&&crypto[_0x331f6e(0x2cb)]&&crypto['randomUUID'][_0x331f6e(0x3a3)](crypto),Nt={'randomUUID':gn};function In(_0x1d9869,_0x56a260,_0x356fb6){const _0x2c5f9a=_0x331f6e;if(Nt[_0x2c5f9a(0x2cb)]&&!_0x56a260&&!_0x1d9869)return Nt[_0x2c5f9a(0x2cb)]();_0x1d9869=_0x1d9869||{};const _0x39deb3=_0x1d9869[_0x2c5f9a(0xd9)]||(_0x1d9869[_0x2c5f9a(0x19a)]||mn)();return _0x39deb3[0x6]=_0x39deb3[0x6]&0xf|0x40,_0x39deb3[0x8]=_0x39deb3[0x8]&0x3f|0x80,Sn(_0x39deb3);}var Cn=Object[_0x331f6e(0x30b)],En=Object[_0x331f6e(0x29e)],bn=(_0x54de90,_0xe1fc01,_0x12a3d1,_0x2ec369)=>{const _0x404b11=_0x331f6e;for(var _0xb377e9=_0x2ec369>0x1?void 0x0:_0x2ec369?En(_0xe1fc01,_0x12a3d1):_0xe1fc01,_0x5a3f9f=_0x54de90[_0x404b11(0xa1)]-0x1,_0x370938;_0x5a3f9f>=0x0;_0x5a3f9f--)(_0x370938=_0x54de90[_0x5a3f9f])&&(_0xb377e9=(_0x2ec369?_0x370938(_0xe1fc01,_0x12a3d1,_0xb377e9):_0x370938(_0xb377e9))||_0xb377e9);return _0x2ec369&&_0xb377e9&&Cn(_0xe1fc01,_0x12a3d1,_0xb377e9),_0xb377e9;},Qe=(_0x13d03c,_0x3a4684)=>(_0x4ade93,_0xca9a2b)=>_0x3a4684(_0x4ade93,_0xca9a2b,_0x13d03c);let Be=class{constructor(_0x1d7d4c,_0x2f5582,_0x2d0e42){const _0x2fdcbd=_0x331f6e;this[_0x2fdcbd(0xb0)]=_0x1d7d4c,this['_transformService']=_0x2f5582,this['_renderManagerService']=_0x2d0e42;}[_0x331f6e(0x1bc)](_0x45259b){const _0x296bf6=_0x331f6e;this[_0x296bf6(0xe2)](_0x45259b),this['_transformPreviousActiveRange'](_0x45259b);}[_0x331f6e(0x99)](_0x25383f){const _0x537251=_0x331f6e,{unitID:_0x564d66}=_0x25383f,_0x78c927=this['_renderManagerService'][_0x537251(0x278)](_0x564d66)[_0x537251(0x39e)](J[_0x537251(0x2ba)]),{redoCache:_0xc6a91a}=_0x78c927[_0x537251(0x29c)]();if(_0xc6a91a[_0x537251(0xa1)]===0x0)return _0x25383f;let _0x521493=a[_0x537251(0x3b2)][_0x537251(0x2dd)](_0x25383f[_0x537251(0x35d)][0x0]);for(let _0x3a87cf=0x0;_0x3a87cf<_0xc6a91a['length'];_0x3a87cf++){const _0x528a64={'id':'doc.mutation.rich-text-editing','params':{..._0xc6a91a[_0x3a87cf]}},_0x340018=this[_0x537251(0x437)][_0x537251(0x30c)](_0x521493,_0x528a64,!0x1);if(p[_0x537251(0x296)](_0x340018))throw _0x340018[_0x537251(0x534)];_0x521493=_0x340018[_0x537251(0x93)];}return{...a['Tools'][_0x537251(0x2dd)](_0x25383f),'mutations':[_0x521493]};}[_0x331f6e(0xe2)](_0x2a2747){const _0xb6bfe4=_0x331f6e,{unitID:_0x3d1552}=_0x2a2747,_0x368706=this[_0xb6bfe4(0x2e4)]['getRenderById'](_0x3d1552)['with'](J['DocIMEInputManagerService']),{undoCache:_0x5e06aa,redoCache:_0x14414b}=_0x368706['getUndoRedoMutationParamsCache']();if(_0x5e06aa[_0xb6bfe4(0xa1)]===0x0||_0x14414b[_0xb6bfe4(0xa1)]===0x0)return;const _0x2a32b2=[],_0x21b64f=[];let _0x11cbd5=a[_0xb6bfe4(0x3b2)]['deepClone'](_0x2a2747[_0xb6bfe4(0x35d)][0x0]),_0x4418f8=a['Tools']['deepClone'](_0x2a2747['mutations'][0x0]);for(let _0x114a76=_0x5e06aa[_0xb6bfe4(0xa1)]-0x1;_0x114a76>=0x0;_0x114a76--){const _0x2a6448={'id':'doc.mutation.rich-text-editing','params':{..._0x5e06aa[_0x114a76]}},_0x44d91a={'id':_0xb6bfe4(0x310),'params':{..._0x14414b[_0x114a76]}},_0x43c80b=this[_0xb6bfe4(0x437)][_0xb6bfe4(0x30c)](_0x11cbd5,_0x2a6448,!0x1),_0x37d204=this[_0xb6bfe4(0x437)][_0xb6bfe4(0x30c)](_0x4418f8,_0x44d91a,!0x1);if(p['isTransformMutationFailure'](_0x43c80b))throw _0x43c80b['error'];if(p[_0xb6bfe4(0x296)](_0x37d204))throw _0x37d204[_0xb6bfe4(0x534)];_0x2a32b2[_0xb6bfe4(0x1c8)](_0x43c80b['m2Prime'][_0xb6bfe4(0x3b6)]),_0x21b64f['unshift'](_0x37d204[_0xb6bfe4(0x4be)][_0xb6bfe4(0x3b6)]),_0x11cbd5=_0x43c80b[_0xb6bfe4(0x93)],_0x4418f8=_0x37d204[_0xb6bfe4(0x93)];}_0x368706['setUndoRedoMutationParamsCache']({'undoCache':_0x2a32b2,'redoCache':_0x21b64f});}[_0x331f6e(0x4d8)](_0x50b828){const _0x3e2c1d=_0x331f6e,{unitID:_0x505059}=_0x50b828,_0x205187=this[_0x3e2c1d(0x2e4)][_0x3e2c1d(0x278)](_0x505059)[_0x3e2c1d(0x39e)](J[_0x3e2c1d(0x2ba)]),_0x444a2d=_0x205187[_0x3e2c1d(0x553)]();if(_0x444a2d==null)return;const _0xa6092f=[{'id':_0x3e2c1d(0x310),'params':{'unitId':_0x50b828[_0x3e2c1d(0x1dc)],'actions':null,'textRanges':[_0x444a2d]}}],_0x552aa5=this[_0x3e2c1d(0x437)][_0x3e2c1d(0x225)](_0x50b828,_0xa6092f);if(!p['isTransformMutationsWithChangesetSuccess'](_0x552aa5))throw _0x552aa5[_0x3e2c1d(0x534)];const _0x151522=_0x552aa5[_0x3e2c1d(0x4be)][0x0][_0x3e2c1d(0x3b6)]['textRanges'];Array[_0x3e2c1d(0x309)](_0x151522)&&_0x151522[_0x3e2c1d(0xa1)]&&_0x205187[_0x3e2c1d(0x504)](_0x151522[0x0]);}};Be=bn([Qe(0x0,a[_0x331f6e(0x397)](a[_0x331f6e(0x35f)])),Qe(0x1,p[_0x331f6e(0x40d)]),Qe(0x2,K[_0x331f6e(0x2cf)])],Be);var Tn=Object[_0x331f6e(0x30b)],Rn=Object[_0x331f6e(0x29e)],yn=(_0x3b8562,_0xecc8cd,_0x545a54,_0x1abca4)=>{const _0x1f8578=_0x331f6e;for(var _0x56b93c=_0x1abca4>0x1?void 0x0:_0x1abca4?Rn(_0xecc8cd,_0x545a54):_0xecc8cd,_0x40270f=_0x3b8562[_0x1f8578(0xa1)]-0x1,_0x3bbec1;_0x40270f>=0x0;_0x40270f--)(_0x3bbec1=_0x3b8562[_0x40270f])&&(_0x56b93c=(_0x1abca4?_0x3bbec1(_0xecc8cd,_0x545a54,_0x56b93c):_0x3bbec1(_0x56b93c))||_0x56b93c);return _0x1abca4&&_0x56b93c&&Tn(_0xecc8cd,_0x545a54,_0x56b93c),_0x56b93c;},we=(_0x61a9fe,_0x59cd84)=>(_0x351f5f,_0x3c0eb6)=>_0x59cd84(_0x351f5f,_0x3c0eb6,_0x61a9fe);exports['LocalCacheService']=class extends a[_0x331f6e(0xba)]{constructor(_0x34b892,_0x29a330,_0x5ca4b8,_0x1097c4,_0x7615d1){const _0x139a71=_0x331f6e;super(),I(this,_0x139a71(0x441),new Map()),I(this,_0x139a71(0x349),new Map()),I(this,_0x139a71(0xaa),!0x1),(this[_0x139a71(0x549)]=_0x34b892,this[_0x139a71(0x1d4)]=_0x29a330,this[_0x139a71(0x275)]=_0x5ca4b8,this[_0x139a71(0x428)]=_0x1097c4,this['_revisionService']=_0x7615d1,this[_0x139a71(0x3fb)]());}[_0x331f6e(0x4ee)](){const _0x2e7a8=_0x331f6e;this[_0x2e7a8(0xaa)]=!0x0;}[_0x331f6e(0x406)](){const _0x2b65c5=_0x331f6e;this[_0x2b65c5(0xaa)]=!0x1;}[_0x331f6e(0x3b1)](){const _0x1153b0=_0x331f6e;this[_0x1153b0(0x339)]()[_0x1153b0(0x102)](()=>super['dispose']());}async['loadOfflineData'](_0x56610c){const _0x477a44=_0x331f6e;return this[_0x477a44(0xaa)]?null:this[_0x477a44(0x1d4)]['getItem'](Lt(_0x56610c));}async[_0x331f6e(0x27e)](_0x21d830,_0x2c6202){const _0x4d2c66=_0x331f6e;return!!this[_0x4d2c66(0x1d4)][_0x4d2c66(0x39f)](_0x21d830,_0x2c6202);}[_0x331f6e(0x330)](_0x36ebe9,_0x584185,_0x54e272,_0x115d51){const _0x5a4048=_0x331f6e,_0x11da95=this[_0x5a4048(0xcd)]['getCurrentRevOfUnit'](_0x36ebe9);this[_0x5a4048(0x441)][_0x5a4048(0x543)](_0x36ebe9,{'unitID':_0x36ebe9,'type':_0x584185,'awaitingChangeset':_0x54e272,'mutations':_0x115d51,'rev':_0x11da95}),this[_0x5a4048(0x349)][_0x5a4048(0x1c7)](_0x36ebe9)||this[_0x5a4048(0x463)](_0x36ebe9);}[_0x331f6e(0x463)](_0x1a3207){const _0x21a01b=_0x331f6e,_0x1a7be4=this[_0x21a01b(0xbd)]();_0x1a7be4===0x0?this[_0x21a01b(0x2f5)](_0x1a3207):this[_0x21a01b(0x349)]['set'](_0x1a3207,setTimeout(()=>this[_0x21a01b(0x2f5)](_0x1a3207),_0x1a7be4));}[_0x331f6e(0xbd)](){const _0x43495f=_0x331f6e;var _0x353d8e;return(_0x353d8e=this[_0x43495f(0x549)][_0x43495f(0x505)](ci))!=null?_0x353d8e:zi;}[_0x331f6e(0x2f5)](_0x2bfca0){const _0x4556ae=_0x331f6e,_0x3fbb45=this[_0x4556ae(0x349)][_0x4556ae(0x532)](_0x2bfca0);return _0x3fbb45!==void 0x0&&window[_0x4556ae(0x40f)](_0x3fbb45),this[_0x4556ae(0x1d4)][_0x4556ae(0x39f)](Lt(_0x2bfca0),this[_0x4556ae(0x441)][_0x4556ae(0x532)](_0x2bfca0))[_0x4556ae(0x102)](()=>this[_0x4556ae(0x349)]['delete'](_0x2bfca0));}async[_0x331f6e(0x339)](){const _0x3bbe8d=_0x331f6e,_0x292c0e=[];this['_saveTaskMap'][_0x3bbe8d(0x34c)]((_0x5988e0,_0x390dba)=>{window['clearTimeout'](_0x5988e0),_0x292c0e['push'](this['_saveCache'](_0x390dba)['then'](()=>{const _0x43803c=_0x3305;this[_0x43803c(0x349)][_0x43803c(0x3d4)](_0x390dba);}));}),await Promise[_0x3bbe8d(0xdc)](_0x292c0e);}['_setupBeforeClosingHandler'](){const _0x1e6615=_0x331f6e;this[_0x1e6615(0xd7)](this[_0x1e6615(0x275)][_0x1e6615(0xc6)](()=>{const _0x7ca895=_0x1e6615;if(this[_0x7ca895(0x349)][_0x7ca895(0x10c)])return this[_0x7ca895(0x428)]['t'](_0x7ca895(0x285));}));}},exports[_0x331f6e(0x301)]=yn([we(0x0,a[_0x331f6e(0x3d6)]),we(0x1,a[_0x331f6e(0x528)]),we(0x2,te[_0x331f6e(0x2ef)]),we(0x3,a[_0x331f6e(0x397)](a['LocaleService'])),we(0x4,a[_0x331f6e(0x397)](p[_0x331f6e(0x3fa)]))],exports['LocalCacheService']);function Lt(_0xf32946){const _0x55c9dc=_0x331f6e;return _0x55c9dc(0x29b)+_0xf32946;}var On=Object[_0x331f6e(0x30b)],Dn=Object[_0x331f6e(0x29e)],Pn=(_0x3751f6,_0x96c33f,_0x1644cf,_0x116c3e)=>{const _0x306cbe=_0x331f6e;for(var _0x18b5b1=_0x116c3e>0x1?void 0x0:_0x116c3e?Dn(_0x96c33f,_0x1644cf):_0x96c33f,_0x278bf5=_0x3751f6[_0x306cbe(0xa1)]-0x1,_0xae1bd0;_0x278bf5>=0x0;_0x278bf5--)(_0xae1bd0=_0x3751f6[_0x278bf5])&&(_0x18b5b1=(_0x116c3e?_0xae1bd0(_0x96c33f,_0x1644cf,_0x18b5b1):_0xae1bd0(_0x18b5b1))||_0x18b5b1);return _0x116c3e&&_0x18b5b1&&On(_0x96c33f,_0x1644cf,_0x18b5b1),_0x18b5b1;},et=(_0x87af26,_0x2b70f)=>(_0x13418,_0x308bd4)=>_0x2b70f(_0x13418,_0x308bd4,_0x87af26);function wn(_0x1d4559){const _0x5f42c3=_0x331f6e,{unitID:_0x5f2c72,mutations:_0x252ec8}=_0x1d4559;return{'unitId':_0x5f2c72,'subUnitId':_0x252ec8[0x0]['params'][_0x5f42c3(0x2f4)]};}let ke=class{constructor(_0x47dce1,_0x3ae80a,_0x38a5d9){const _0x27d209=_0x331f6e;this[_0x27d209(0xb0)]=_0x47dce1,this['_transformService']=_0x3ae80a,this['_instanceService']=_0x38a5d9;}[_0x331f6e(0x420)](_0x47f0ce){const _0xe22da9=_0x331f6e;var _0x4a37ec,_0x2941e8,_0x1abc10,_0x1fd58d;const _0x129e10=this[_0xe22da9(0xb0)][_0xe22da9(0x532)](k[_0xe22da9(0x2d2)]),{unitId:_0x50da4c,subUnitId:_0x2014d0}=wn(_0x47f0ce),_0x3661db=_0x129e10[_0xe22da9(0x1a9)](_0x50da4c)[_0xe22da9(0xc0)](),_0x253450=(_0x2941e8=(_0x4a37ec=this['_instanceService'][_0xe22da9(0x498)](_0x50da4c))==null?void 0x0:_0x4a37ec[_0xe22da9(0x4b7)]())==null?void 0x0:_0x2941e8[_0xe22da9(0x2b1)]();if(_0x3661db['length']===0x0||!_0x50da4c||!_0x2014d0)return;const _0x13c10=[{'id':k[_0xe22da9(0x372)]['id'],'params':{'unitId':_0x50da4c,'subUnitId':_0x253450,'selections':a[_0xe22da9(0x3b2)]['deepClone'](_0x3661db)}}],_0x548632=this[_0xe22da9(0x437)][_0xe22da9(0x225)](_0x47f0ce,_0x13c10);if(!p['isTransformMutationsWithChangesetSuccess'](_0x548632))throw _0x548632[_0xe22da9(0x534)];const _0x2963d7=(_0x1fd58d=(_0x1abc10=_0x548632[_0xe22da9(0x4be)][0x0])==null?void 0x0:_0x1abc10[_0xe22da9(0x3b6)])==null?void 0x0:_0x1fd58d['selections'];if(Array[_0xe22da9(0x309)](_0x2963d7)&&_0x2963d7[_0xe22da9(0xa1)]){if(_0x2963d7[_0xe22da9(0xa1)]===_0x13c10[0x0][_0xe22da9(0x3b6)][_0xe22da9(0x23f)][_0xe22da9(0xa1)]&&_0x2963d7[_0xe22da9(0xe9)]((_0x1ab534,_0x2f0432)=>a[_0xe22da9(0x1db)][_0xe22da9(0x1ef)](_0x1ab534['range'],_0x13c10[0x0][_0xe22da9(0x3b6)][_0xe22da9(0x23f)][_0x2f0432][_0xe22da9(0x4c9)])))return;this[_0xe22da9(0xb0)][_0xe22da9(0x532)](a[_0xe22da9(0x48e)])[_0xe22da9(0x478)](k[_0xe22da9(0x372)]['id'],{'unitId':_0x50da4c,'subUnitId':_0x253450,'selections':_0x2963d7});}}};ke=Pn([et(0x0,a[_0x331f6e(0x397)](a[_0x331f6e(0x35f)])),et(0x1,p['ITransformService']),et(0x2,a[_0x331f6e(0x427)])],ke);const ze=a[_0x331f6e(0xde)](_0x331f6e(0x18b));var vi=(_0x4aaeda=>(_0x4aaeda[_0x4aaeda[_0x331f6e(0x159)]=0x0]=_0x331f6e(0x159),_0x4aaeda[_0x4aaeda['OTHER_CLIENTS_EDITING']=0x1]=_0x331f6e(0x190),_0x4aaeda))(vi||{});const xt=0x7530,jt='ACTIVE_UNIT_EVENT_CHANNEL';class Un extends a['Disposable']{constructor(){const _0x3e2647=_0x331f6e;super(),I(this,_0x3e2647(0x364),a[_0x3e2647(0x3b2)]['generateRandomId']()),I(this,_0x3e2647(0x125),new Set()),I(this,_0x3e2647(0x4b3),new Map()),I(this,'_heartbeatTimer',null),I(this,_0x3e2647(0x20f),new Map()),I(this,_0x3e2647(0x184),new Map()),this[_0x3e2647(0x247)]();}[_0x331f6e(0x3b1)](){const _0x5b0cb9=_0x331f6e;super['dispose'](),this[_0x5b0cb9(0x20f)][_0x5b0cb9(0x34c)]((_0xb57d50,_0x4348bc)=>this[_0x5b0cb9(0x54c)](_0x4348bc)),this['_heartbeatTimer']&&window[_0x5b0cb9(0x37e)](this[_0x5b0cb9(0x3dc)]);}[_0x331f6e(0x46d)](_0x4dca63){const _0x132093=_0x331f6e;return this[_0x132093(0x16d)](_0x4dca63)[_0x132093(0x3ec)](A[_0x132093(0x446)]());}[_0x331f6e(0x2de)](_0x235eb5){const _0x160289=_0x331f6e;this[_0x160289(0x125)][_0x160289(0x10c)]===0x0&&this[_0x160289(0x129)](),this[_0x160289(0x125)][_0x160289(0x359)](_0x235eb5),this[_0x160289(0xd5)]({'type':0x0,'memberID':this[_0x160289(0x364)],'unitIDs':[_0x235eb5],'isForwarded':!0x1});}[_0x331f6e(0x416)](_0x446f7f){const _0x1be2c5=_0x331f6e;this[_0x1be2c5(0x125)][_0x1be2c5(0x3d4)](_0x446f7f),this['_selfUnitIDs'][_0x1be2c5(0x10c)]===0x0&&this[_0x1be2c5(0x3dc)]&&window[_0x1be2c5(0x37e)](this[_0x1be2c5(0x3dc)]);}[_0x331f6e(0x247)](){const _0xe7963d=_0x331f6e;this[_0xe7963d(0xd7)](a[_0xe7963d(0xd1)](A['fromEvent'](window,_0xe7963d(0x235))[_0xe7963d(0x31a)](_0x101c7e=>{const _0x15fa54=_0xe7963d;if(_0x101c7e[_0x15fa54(0x9f)]!==jt||!_0x101c7e['newValue'])return;const _0x580c16=JSON['parse'](_0x101c7e['newValue']);this[_0x15fa54(0x30f)](_0x580c16);}))),window[_0xe7963d(0x34b)](_0xe7963d(0x13a),()=>this[_0xe7963d(0xd5)]({'type':0x1,'memberID':this[_0xe7963d(0x364)],'unitIDs':Array[_0xe7963d(0x319)](this[_0xe7963d(0x125)])}));}[_0x331f6e(0x30f)](_0x1248d7){const _0xdafa2e=_0x331f6e;switch(_0x1248d7[_0xdafa2e(0x264)]){case 0x0:this['_handleJoinEvent'](_0x1248d7);break;case 0x1:this[_0xdafa2e(0x381)](_0x1248d7);break;case 0x2:this[_0xdafa2e(0x28b)](_0x1248d7);break;}}[_0x331f6e(0xe5)](_0x1ed85b){const _0x5687e7=_0x331f6e,{unitIDs:_0x1a3cec,memberID:_0x1d99ff,isForwarded:_0x211c45}=_0x1ed85b;_0x1a3cec['forEach'](_0xf4adb6=>{const _0x524d9a=_0x3305;if(!_0x211c45&&this[_0x524d9a(0x4b3)][_0x524d9a(0x1c7)](_0xf4adb6)&&this[_0x524d9a(0x16d)](_0xf4adb6)[_0x524d9a(0xd8)](0x1),!this[_0x524d9a(0x4b3)]['has'](_0xf4adb6)||!this[_0x524d9a(0x4b3)][_0x524d9a(0x532)](_0xf4adb6)[_0x524d9a(0x1c7)](_0x1d99ff)){const _0x2caaa1=this[_0x524d9a(0x4b3)]['get'](_0xf4adb6)||new Set();_0x2caaa1[_0x524d9a(0x359)](_0x1d99ff),this['_unitOnClients']['set'](_0xf4adb6,_0x2caaa1),this[_0x524d9a(0x90)](_0x1d99ff);}}),_0x211c45||this[_0x5687e7(0xd5)]({'type':0x0,'memberID':this[_0x5687e7(0x364)],'unitIDs':[...this[_0x5687e7(0x125)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x1439d8){const _0x552fad=_0x331f6e;this['_removeClearOtherTimer'](_0x1439d8);const _0x21e9a8=window['setTimeout'](()=>{const _0x4a7328=_0x3305;this[_0x4a7328(0x4b3)]['forEach'](_0x15a7ad=>{const _0x1ea690=_0x4a7328;_0x15a7ad[_0x1ea690(0x3d4)](_0x1439d8);});},xt*0x2);this[_0x552fad(0x20f)][_0x552fad(0x543)](_0x1439d8,_0x21e9a8);}[_0x331f6e(0x54c)](_0x203476){const _0x4749b1=_0x331f6e;if(this[_0x4749b1(0x20f)][_0x4749b1(0x1c7)](_0x203476)){const _0x3a79da=this[_0x4749b1(0x20f)][_0x4749b1(0x532)](_0x203476);_0x3a79da&&window[_0x4749b1(0x40f)](_0x3a79da),this[_0x4749b1(0x20f)][_0x4749b1(0x543)](_0x203476,null);}}['_handleLeaveEvent'](_0x335aa4){const _0x5f3daa=_0x331f6e,{memberID:_0x598d43,unitIDs:_0x262ab0}=_0x335aa4;_0x262ab0[_0x5f3daa(0x34c)](_0xd0cbdc=>{const _0x176934=_0x5f3daa;var _0x37439f;const _0x37db7b=this[_0x176934(0x4b3)][_0x176934(0x532)](_0xd0cbdc);_0x37db7b&&(_0x37db7b[_0x176934(0x3d4)](_0x598d43),(_0x37439f=this['_ensureSubject'](_0xd0cbdc))==null||_0x37439f[_0x176934(0xd8)](_0x37db7b[_0x176934(0x10c)]===0x0?0x0:0x1));}),this[_0x5f3daa(0x54c)](_0x598d43);}['_handleHeartbeatEvent'](_0x5c100a){const _0x27d5bb=_0x331f6e;this['_scheduleClearOtherTimer'](_0x5c100a[_0x27d5bb(0x24b)]);}[_0x331f6e(0xd5)](_0x4214a6){const _0x3f3266=_0x331f6e;localStorage[_0x3f3266(0x39f)](jt,JSON[_0x3f3266(0x13f)](_0x4214a6));}[_0x331f6e(0x129)](){const _0x1e0fa4=_0x331f6e;this[_0x1e0fa4(0x3dc)]=window[_0x1e0fa4(0x178)](()=>{const _0x3b69b0=_0x1e0fa4;this[_0x3b69b0(0xd5)]({'type':0x2,'memberID':this[_0x3b69b0(0x364)]});},xt);}['_ensureSubject'](_0x4ccd9d){const _0x195dad=_0x331f6e;return this[_0x195dad(0x184)][_0x195dad(0x1c7)](_0x4ccd9d)||this[_0x195dad(0x184)][_0x195dad(0x543)](_0x4ccd9d,new A[(_0x195dad(0x325))](0x0)),this[_0x195dad(0x184)][_0x195dad(0x532)](_0x4ccd9d);}}var Mn=Object[_0x331f6e(0x30b)],An=Object['getOwnPropertyDescriptor'],Nn=(_0x21b6c8,_0x18e4a6,_0x104158,_0x101855)=>{const _0x5a88e8=_0x331f6e;for(var _0x37140d=_0x101855>0x1?void 0x0:_0x101855?An(_0x18e4a6,_0x104158):_0x18e4a6,_0x1a3d8f=_0x21b6c8[_0x5a88e8(0xa1)]-0x1,_0x8a89eb;_0x1a3d8f>=0x0;_0x1a3d8f--)(_0x8a89eb=_0x21b6c8[_0x1a3d8f])&&(_0x37140d=(_0x101855?_0x8a89eb(_0x18e4a6,_0x104158,_0x37140d):_0x8a89eb(_0x37140d))||_0x37140d);return _0x101855&&_0x37140d&&Mn(_0x18e4a6,_0x104158,_0x37140d),_0x37140d;},tt=(_0x4c7d22,_0x552777)=>(_0x63445c,_0x4db8f2)=>_0x552777(_0x63445c,_0x4db8f2,_0x4c7d22);let We=class{constructor(_0x473a80,_0x56942a,_0x5c4375){const _0x471bbe=_0x331f6e;this[_0x471bbe(0xb0)]=_0x473a80,this['_transformService']=_0x56942a,this['_docStateChangeManagerService']=_0x5c4375;}[_0x331f6e(0xff)](_0x57782d){const _0x38d936=_0x331f6e;this[_0x38d936(0x28e)](_0x57782d);}[_0x331f6e(0x99)](_0x200590){const _0x1b7d0d=_0x331f6e,{unitID:_0x322699}=_0x200590,{collaboration:_0x15d12e}=this['_docStateChangeManagerService'][_0x1b7d0d(0x283)](_0x322699);if(_0x15d12e['length']===0x0)return _0x200590;let _0x588dee=a[_0x1b7d0d(0x3b2)]['deepClone'](_0x200590['mutations'][0x0]);for(let _0x2039f4=0x0;_0x2039f4<_0x15d12e[_0x1b7d0d(0xa1)];_0x2039f4++){const _0x39fc16={'id':_0x1b7d0d(0x310),'params':{'unitId':_0x15d12e[_0x2039f4][_0x1b7d0d(0x410)],..._0x15d12e[_0x2039f4][_0x1b7d0d(0x4e9)]}},_0x10a8c6=this[_0x1b7d0d(0x437)][_0x1b7d0d(0x30c)](_0x588dee,_0x39fc16,!0x1);if(p[_0x1b7d0d(0x296)](_0x10a8c6))throw _0x10a8c6[_0x1b7d0d(0x534)];_0x588dee=_0x10a8c6[_0x1b7d0d(0x93)];}return{...a[_0x1b7d0d(0x3b2)][_0x1b7d0d(0x2dd)](_0x200590),'mutations':[_0x588dee]};}[_0x331f6e(0x28e)](_0x4acf19){const _0x4d66ed=_0x331f6e,{unitID:_0x44edbd}=_0x4acf19,{history:_0x40e430,collaboration:_0x941f25}=this[_0x4d66ed(0x19c)]['getStateCache'](_0x44edbd);if(_0x40e430[_0x4d66ed(0xa1)]===0x0&&_0x941f25[_0x4d66ed(0xa1)]===0x0)return;const _0x268a06=[],_0x37b7d5=[];let _0x4c9992=a[_0x4d66ed(0x3b2)]['deepClone'](_0x4acf19['mutations'][0x0]),_0x52c7f9=a[_0x4d66ed(0x3b2)][_0x4d66ed(0x2dd)](_0x4acf19[_0x4d66ed(0x35d)][0x0]);for(let _0x3f92a7=_0x40e430['length']-0x1;_0x3f92a7>=0x0;_0x3f92a7--){const _0x263971={'id':_0x4d66ed(0x310),'params':{'unitId':_0x40e430[_0x3f92a7]['unitId'],..._0x40e430[_0x3f92a7][_0x4d66ed(0x1f8)]}},_0x4241d5={'id':_0x4d66ed(0x310),'params':{'unitId':_0x40e430[_0x3f92a7][_0x4d66ed(0x410)],..._0x40e430[_0x3f92a7][_0x4d66ed(0x4e9)]}},_0x1e1aeb=this[_0x4d66ed(0x437)][_0x4d66ed(0x30c)](_0x4c9992,_0x263971,!0x1),_0x13e85a=this[_0x4d66ed(0x437)]['transformMutation'](_0x52c7f9,_0x4241d5,!0x1);if(p['isTransformMutationFailure'](_0x1e1aeb))throw _0x1e1aeb[_0x4d66ed(0x534)];if(p[_0x4d66ed(0x296)](_0x13e85a))throw _0x13e85a[_0x4d66ed(0x534)];_0x268a06['unshift']({..._0x40e430[_0x3f92a7],'undoState':_0x1e1aeb['m2Prime']['params'],'redoState':_0x13e85a['m2Prime'][_0x4d66ed(0x3b6)]}),_0x4c9992=_0x1e1aeb[_0x4d66ed(0x93)],_0x52c7f9=_0x13e85a[_0x4d66ed(0x93)];}_0x4c9992=a[_0x4d66ed(0x3b2)][_0x4d66ed(0x2dd)](_0x4acf19[_0x4d66ed(0x35d)][0x0]),_0x52c7f9=a[_0x4d66ed(0x3b2)][_0x4d66ed(0x2dd)](_0x4acf19[_0x4d66ed(0x35d)][0x0]);for(let _0x2b6a0=_0x941f25[_0x4d66ed(0xa1)]-0x1;_0x2b6a0>=0x0;_0x2b6a0--){const _0x5a86fb={'id':_0x4d66ed(0x310),'params':{'unitId':_0x941f25[_0x2b6a0]['unitId'],..._0x941f25[_0x2b6a0]['undoState']}},_0x3540f4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x941f25[_0x2b6a0][_0x4d66ed(0x410)],..._0x941f25[_0x2b6a0][_0x4d66ed(0x4e9)]}},_0x2e9a3b=this['_transformService'][_0x4d66ed(0x30c)](_0x4c9992,_0x5a86fb,!0x1),_0x38205e=this['_transformService'][_0x4d66ed(0x30c)](_0x52c7f9,_0x3540f4,!0x1);if(p['isTransformMutationFailure'](_0x2e9a3b))throw _0x2e9a3b[_0x4d66ed(0x534)];if(p[_0x4d66ed(0x296)](_0x38205e))throw _0x38205e[_0x4d66ed(0x534)];_0x37b7d5[_0x4d66ed(0x1c8)]({..._0x941f25[_0x2b6a0],'undoState':_0x2e9a3b[_0x4d66ed(0x4be)][_0x4d66ed(0x3b6)],'redoState':_0x38205e[_0x4d66ed(0x4be)][_0x4d66ed(0x3b6)]}),_0x4c9992=_0x2e9a3b[_0x4d66ed(0x93)],_0x52c7f9=_0x38205e[_0x4d66ed(0x93)];}this[_0x4d66ed(0x19c)][_0x4d66ed(0x20d)](_0x44edbd,{'history':_0x268a06,'collaboration':_0x37b7d5});}};We=Nn([tt(0x0,a[_0x331f6e(0x397)](a[_0x331f6e(0x35f)])),tt(0x1,p[_0x331f6e(0x40d)]),tt(0x2,a['Inject'](J['DocStateChangeManagerService']))],We);function Si(_0x3da589){let _0x12ac43='';for(const _0x1b8166 of _0x3da589){const {startOffset:_0x1a47b6,endOffset:_0x25ced2,isActive:_0x292682,rangeType:_0x3694dc,segmentId:_0x69202d,segmentPage:_0x69128c}=_0x1b8166;_0x12ac43['length']&&(_0x12ac43+=','),_0x12ac43+=_0x1a47b6+':'+_0x25ced2+':'+(_0x292682?'1':'0')+':'+_0x3694dc+':'+_0x69202d+':'+_0x69128c;}return _0x12ac43;}function Ln(_0x31bc7d){const _0x2debf0=_0x331f6e,_0x36e05e=_0x31bc7d['split'](','),_0x5905f3=[];for(const _0x4c3ce7 of _0x36e05e){const [_0x40e46b,_0xc8374e,_0x4cc151,_0x4ecfcb,_0x55d232,_0x59ed9e]=_0x4c3ce7['split'](':');_0x5905f3['push']({'startOffset':Number(_0x40e46b),'endOffset':Number(_0xc8374e),'collapsed':_0x40e46b===_0xc8374e,'isActive':_0x4cc151==='1','rangeType':_0x4ecfcb===a[_0x2debf0(0x2e9)][_0x2debf0(0x4b9)]?a['DOC_RANGE_TYPE']['TEXT']:a[_0x2debf0(0x2e9)][_0x2debf0(0x1f0)],'segmentId':typeof _0x55d232=='string'?String(_0x55d232):'','segmentPage':Number(_0x59ed9e!=null?_0x59ed9e:-0x1)});}return _0x5905f3[_0x2debf0(0x2a7)](_0x1665d2=>_0x1665d2[_0x2debf0(0x53a)])||(_0x5905f3[0x0][_0x2debf0(0x53a)]=!0x0),_0x5905f3;}class yt extends a[_0x331f6e(0x49a)]{constructor(){const _0x2d4ca2=_0x331f6e;super(...arguments),I(this,_0x2d4ca2(0x422),new A[(_0x2d4ca2(0x325))](null)),I(this,_0x2d4ca2(0x358),this[_0x2d4ca2(0x422)]['asObservable']());}[_0x331f6e(0x3a9)](_0x5edcef){const _0x558c2b=_0x331f6e,{unitID:_0x4cba46,memberID:_0x57df24,textRanges:_0x3f8586}=_0x5edcef,_0xb6979c=Si(_0x3f8586);if(_0xb6979c==='')return;const _0x23dbdb={'unitID':_0x4cba46,'memberID':_0x57df24,'selection':_0xb6979c};this['_collabCursorState$'][_0x558c2b(0xd8)](_0x23dbdb);}}var xn=Object[_0x331f6e(0x30b)],jn=Object[_0x331f6e(0x29e)],$n=(_0x453492,_0x2db61a,_0x106c23,_0x293166)=>{for(var _0x593451=_0x293166>0x1?void 0x0:_0x293166?jn(_0x2db61a,_0x106c23):_0x2db61a,_0x43949a=_0x453492['length']-0x1,_0x279397;_0x43949a>=0x0;_0x43949a--)(_0x279397=_0x453492[_0x43949a])&&(_0x593451=(_0x293166?_0x279397(_0x2db61a,_0x106c23,_0x593451):_0x279397(_0x593451))||_0x593451);return _0x293166&&_0x593451&&xn(_0x2db61a,_0x106c23,_0x593451),_0x593451;},$t=(_0x158fc8,_0x224142)=>(_0x10ea65,_0x8303d5)=>_0x224142(_0x10ea65,_0x8303d5,_0x158fc8);let Fe=class{constructor(_0x44624d,_0x5c2068){const _0x1c4a8a=_0x331f6e;this[_0x1c4a8a(0xb0)]=_0x44624d,this[_0x1c4a8a(0x437)]=_0x5c2068;}[_0x331f6e(0x420)](_0x2a4a73){const _0x118402=_0x331f6e;var _0x409a77;const _0x1879ca=this['_injector']['get'](Ie[_0x118402(0x115)]),_0x359ecc=(_0x409a77=_0x1879ca[_0x118402(0x27b)]())!=null?_0x409a77:[];if(_0x359ecc[_0x118402(0xa1)]===0x0)return;const _0x68fe2c=_0x2a4a73[_0x118402(0x1dc)],_0x4d3272=[{'id':_0x118402(0x310),'params':{'unitId':_0x68fe2c,'actions':null,'textRanges':_0x359ecc}}],_0x4218fc=this['_transformService'][_0x118402(0x225)](_0x2a4a73,_0x4d3272);if(!p[_0x118402(0x474)](_0x4218fc))throw _0x4218fc[_0x118402(0x534)];const _0x21464e=_0x4218fc[_0x118402(0x4be)][0x0][_0x118402(0x3b6)][_0x118402(0x2a9)];Array[_0x118402(0x309)](_0x21464e)&&_0x21464e[_0x118402(0xa1)]&&_0x1879ca[_0x118402(0x356)](_0x21464e,{'unitId':_0x68fe2c,'subUnitId':_0x68fe2c},!0x1);}};Fe=$n([$t(0x0,a[_0x331f6e(0x397)](a[_0x331f6e(0x35f)])),$t(0x1,p[_0x331f6e(0x40d)])],Fe);const Hn=new Set([k[_0x331f6e(0x52b)]['id']]);function Ht(_0x5653c4,_0x2ddea9,_0x425fa6,_0x44e03a,_0x174931){const _0x5ba4c8=_0x331f6e;var _0x37a5a5,_0x4b4e12,_0x1a9b1e,_0x50fddf;const _0x5ecdba=[];for(const _0x5f2823 of _0x5653c4)if(Hn[_0x5ba4c8(0x1c7)](_0x5f2823['id'])){if(_0x5ecdba[_0x5ba4c8(0xa1)]>0x0)break;_0x5ecdba[_0x5ba4c8(0x256)](_0x5f2823);break;}else _0x5ecdba[_0x5ba4c8(0x256)](_0x5f2823);const _0x4ecf8e=(_0x4b4e12=(_0x37a5a5=_0x174931[_0x5ba4c8(0x289)]())==null?void 0x0:_0x37a5a5[_0x5ba4c8(0x475)])!=null?_0x4b4e12:_0x5ba4c8(0x180),_0x3961d6=(_0x50fddf=(_0x1a9b1e=_0x174931[_0x5ba4c8(0x289)]())==null?void 0x0:_0x1a9b1e[_0x5ba4c8(0x24b)])!=null?_0x50fddf:'unknown';return{'changeset':{'unitID':_0x2ddea9,'type':p[_0x5ba4c8(0x3f1)](_0x425fa6[_0x5ba4c8(0x333)](_0x2ddea9)),'baseRev':_0x44e03a[_0x5ba4c8(0x312)](_0x2ddea9),'revision':0x0,'userID':_0x4ecf8e,'memberID':_0x3961d6,'mutations':_0x5ecdba},'pendingMutations':_0x5653c4['slice'](_0x5ecdba['length'])};}function Bn(_0x472c28,_0x2035f0,_0x50b0d1,_0x5839fe,_0x4ec70a){const _0x2a5794=_0x331f6e;var _0x37a128,_0x444a19,_0x50fe2c,_0x4788e6;const _0x4578c5=[_0x472c28[_0x2a5794(0x1e0)]((_0x5f4f2f,_0x534abe)=>{const _0xee066e=_0x2a5794;var _0x15dd8d;const {id:_0x1b7608}=_0x5f4f2f,{id:_0x430277,type:_0x2944e1}=_0x534abe,_0x221efb=(_0x15dd8d=_0x5f4f2f[_0xee066e(0x3b6)])!=null?_0x15dd8d:{'actions':null},_0x1744b4=_0x534abe[_0xee066e(0x3b6)];if(_0x1b7608&&_0x1b7608!==_0x430277)throw new Error(_0xee066e(0x535)+_0x1b7608+_0xee066e(0x332)+_0x430277+'.');return{..._0x5f4f2f,'id':_0x430277,'type':_0x2944e1,'params':{'unitId':_0x1744b4[_0xee066e(0x410)],'textRanges':_0x1744b4['textRanges'],'actions':a[_0xee066e(0x167)][_0xee066e(0x110)](_0x221efb['actions'],_0x1744b4[_0xee066e(0x237)])}};},{})],_0x53d97f=(_0x444a19=(_0x37a128=_0x4ec70a[_0x2a5794(0x289)]())==null?void 0x0:_0x37a128[_0x2a5794(0x475)])!=null?_0x444a19:'unknown',_0x2ab6f0=(_0x4788e6=(_0x50fe2c=_0x4ec70a['getCurrentUser']())==null?void 0x0:_0x50fe2c[_0x2a5794(0x24b)])!=null?_0x4788e6:_0x2a5794(0x180);return{'changeset':{'unitID':_0x2035f0,'type':p['mapDocumentTypeToUniverType'](_0x50b0d1['getUnitType'](_0x2035f0)),'baseRev':_0x5839fe[_0x2a5794(0x312)](_0x2035f0),'revision':0x0,'userID':_0x53d97f,'memberID':_0x2ab6f0,'mutations':_0x4578c5},'pendingMutations':[]};}function pi(_0xd0039c,_0x155c83){const _0x44ccfc=_0x331f6e,_0x35da8f=new A[(_0x44ccfc(0x25b))](0x1);return setTimeout(()=>_0x35da8f[_0x44ccfc(0xd8)](_0x155c83),_0xd0039c),_0x35da8f[_0x44ccfc(0x4a4)]()['pipe'](A[_0x44ccfc(0x4b8)](0x1));}const kn={'id':k[_0x331f6e(0x455)]['id'],'type':a[_0x331f6e(0x1c4)]['MUTATION'],'params':{}};var Wn=Object['defineProperty'],Fn=Object['getOwnPropertyDescriptor'],Ee=(_0x47bb9f,_0xe1d72c,_0x33dd21,_0x5d8ab9)=>{for(var _0x3c39b7=_0x5d8ab9>0x1?void 0x0:_0x5d8ab9?Fn(_0xe1d72c,_0x33dd21):_0xe1d72c,_0x1bc4c9=_0x47bb9f['length']-0x1,_0x47b419;_0x1bc4c9>=0x0;_0x1bc4c9--)(_0x47b419=_0x47bb9f[_0x1bc4c9])&&(_0x3c39b7=(_0x5d8ab9?_0x47b419(_0xe1d72c,_0x33dd21,_0x3c39b7):_0x47b419(_0x3c39b7))||_0x3c39b7);return _0x5d8ab9&&_0x3c39b7&&Wn(_0xe1d72c,_0x33dd21,_0x3c39b7),_0x3c39b7;},N=(_0x559bf7,_0x213421)=>(_0x58a19e,_0x2f1213)=>_0x213421(_0x58a19e,_0x2f1213,_0x559bf7),q=(_0x1286f2=>(_0x1286f2[_0x331f6e(0x269)]='not_collab',_0x1286f2[_0x331f6e(0x3ab)]='synced',_0x1286f2[_0x331f6e(0x22e)]=_0x331f6e(0x17f),_0x1286f2[_0x331f6e(0x28c)]=_0x331f6e(0x495),_0x1286f2[_0x331f6e(0x21b)]=_0x331f6e(0x267),_0x1286f2[_0x331f6e(0x2ea)]=_0x331f6e(0x38f),_0x1286f2[_0x331f6e(0x1c0)]=_0x331f6e(0x45f),_0x1286f2[_0x331f6e(0x139)]=_0x331f6e(0x4db),_0x1286f2))(q||{});const mi=0xea60;class be{constructor(_0x410286,_0x52cab8,_0x4bb898,_0x44a04f,_0x5b3668,_0x28283d,_0xe647e7,_0x2f575c,_0x384a57){const _0x4282b0=_0x331f6e;I(this,_0x4282b0(0x11a),null),I(this,_0x4282b0(0x29f),[]),(this['unitID']=_0x410286,this[_0x4282b0(0x264)]=_0x52cab8,this[_0x4282b0(0x17b)]=_0x5b3668,this[_0x4282b0(0x292)]=_0x28283d,this[_0x4282b0(0x17a)]=_0xe647e7,this['_revisionService']=_0x2f575c,this[_0x4282b0(0x3cc)]=_0x384a57,this['_awaitingChangeset']=_0x4bb898,this[_0x4282b0(0x29f)]=_0x44a04f);}[_0x331f6e(0x160)](_0x1b3aa3){const _0x2232f=_0x331f6e,_0x429043=this[_0x2232f(0xcd)][_0x2232f(0x312)](this[_0x2232f(0x1dc)]);return _0x1b3aa3[_0x2232f(0x519)]>_0x429043+0x1?(this['_handler'][_0x2232f(0x165)]({'from':_0x429043,'to':_0x1b3aa3[_0x2232f(0x519)]-0x1}),!0x0):!0x1;}[_0x331f6e(0x47f)](_0x431972){const _0x5804c0=_0x331f6e;this['_undoRedoService'][_0x5804c0(0x47a)](this[_0x5804c0(0x1dc)],_0x431972);}[_0x331f6e(0x3b8)](_0x38a4ce){const _0x3131eb=_0x331f6e;var _0x164534,_0x5d010f;(_0x5d010f=(_0x164534=this[_0x3131eb(0x17b)])[_0x3131eb(0x493)])==null||_0x5d010f['call'](_0x164534,_0x38a4ce);}[_0x331f6e(0x2ab)](_0x5ddb12){const _0x5336ab=_0x331f6e;var _0x580b88,_0x6488f5;return(_0x6488f5=(_0x580b88=this[_0x5336ab(0x17b)])[_0x5336ab(0x331)])==null?void 0x0:_0x6488f5[_0x5336ab(0x185)](_0x580b88,_0x5ddb12);}[_0x331f6e(0x13d)](_0x96afc5){const _0x4383a0=_0x331f6e;var _0x153623,_0x46654c;return(_0x46654c=(_0x153623=this['_handler'])[_0x4383a0(0x24e)])==null?void 0x0:_0x46654c[_0x4383a0(0x185)](_0x153623,_0x96afc5);}[_0x331f6e(0x20a)](_0x181022){const _0x45d6d5=_0x331f6e;var _0x2e1964,_0x2c7906,_0x5bd9a8;return(_0x5bd9a8=(_0x2c7906=(_0x2e1964=this[_0x45d6d5(0x17b)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2c7906[_0x45d6d5(0x185)](_0x2e1964,_0x181022))!=null?_0x5bd9a8:_0x181022;}[_0x331f6e(0xf4)](_0xa8247f){const _0x1ae309=_0x331f6e;var _0x31b3d1,_0x3f0e8a,_0x52d61d;return(_0x52d61d=(_0x3f0e8a=(_0x31b3d1=this[_0x1ae309(0x17b)])[_0x1ae309(0x53f)])==null?void 0x0:_0x3f0e8a[_0x1ae309(0x185)](_0x31b3d1,_0xa8247f))!=null?_0x52d61d:_0xa8247f;}['_syncEditingCollabCursor'](_0x3cd87c){const _0x236a20=_0x331f6e;var _0x2a1201,_0x5647a5;if(this[_0x236a20(0x264)]===ne[_0x236a20(0x236)]){const {unitID:_0x5e1a14,mutations:_0x1bfe73,memberID:_0x510487}=_0x3cd87c,_0x4db629=_0x1bfe73[0x0][_0x236a20(0x3b6)]['textRanges'];Array[_0x236a20(0x309)](_0x4db629)&&_0x4db629['length']>0x0&&((_0x5647a5=(_0x2a1201=this[_0x236a20(0x17b)])[_0x236a20(0xb9)])==null||_0x5647a5[_0x236a20(0x185)](_0x2a1201,{'unitID':_0x5e1a14,'memberID':_0x510487,'textRanges':_0x4db629}));}}[_0x331f6e(0x3f2)](){const _0x5e5ec3=_0x331f6e;this['_localCacheService'][_0x5e5ec3(0x330)](this[_0x5e5ec3(0x1dc)],this[_0x5e5ec3(0x264)],this[_0x5e5ec3(0x11a)],this[_0x5e5ec3(0x29f)]);}[_0x331f6e(0x224)](){const _0x69996b=_0x331f6e;return this[_0x69996b(0xcd)][_0x69996b(0x312)](this['unitID']);}[_0x331f6e(0xfa)](){const _0x831068=_0x331f6e;this[_0x831068(0xcd)][_0x831068(0x210)](this[_0x831068(0x1dc)]);}[_0x331f6e(0x2ad)](_0x4048b2){const _0x10ab36=_0x331f6e;var _0x47665b;let _0x532e1d=this[_0x10ab36(0x20a)](_0x4048b2);_0x532e1d=this['_transformRemoteChangesetByStateCache'](_0x532e1d);const _0xc791b1=a['sequenceExecute'](_0x532e1d['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0xc791b1[_0x10ab36(0x405)])throw _0xc791b1[_0x10ab36(0x534)]instanceof Error?_0xc791b1[_0x10ab36(0x534)]:new Error((_0x47665b=_0xc791b1[_0x10ab36(0x534)])!=null?_0x47665b:'[CollaborationState]:\x20apply\x20error!');this[_0x10ab36(0x2ab)](_0x532e1d),this['_transformStateCache'](_0x532e1d),this[_0x10ab36(0x47f)](_0x4048b2),this[_0x10ab36(0x3b8)](_0x532e1d),this[_0x10ab36(0x3e8)](_0x532e1d),this[_0x10ab36(0xfa)]();}}let Oe=class extends be{constructor(_0xb1a37d,_0x242a3a,_0x296b8a,_0x23ae87,_0x5be383,_0x5036b2,_0x3f4567,_0x1665b0,_0x42fb32,_0x2f6e85){const _0x1b6d1f=_0x331f6e;super(_0xb1a37d,_0x242a3a,null,[],_0x296b8a,_0x1665b0,_0x3f4567,_0x23ae87,_0x5be383),I(this,_0x1b6d1f(0x518),_0x1b6d1f(0x239)),(this[_0x1b6d1f(0xb0)]=_0x5036b2,this[_0x1b6d1f(0x28d)]=_0x42fb32,this[_0x1b6d1f(0x437)]=_0x2f6e85);}[_0x331f6e(0x2b8)](_0x28f663){const _0x3acdab=_0x331f6e,_0x19de7f=this[_0x3acdab(0xb0)][_0x3acdab(0x45b)](ce,this['unitID'],this[_0x3acdab(0x264)],[_0x28f663],this[_0x3acdab(0x17b)]);return _0x19de7f[_0x3acdab(0x2ec)](),_0x19de7f[_0x3acdab(0x3f2)](),_0x19de7f;}[_0x331f6e(0xb1)](_0x3e013d){const _0x163c41=_0x331f6e;if(this[_0x163c41(0x160)](_0x3e013d))return this[_0x163c41(0xb0)][_0x163c41(0x45b)](re,this[_0x163c41(0x1dc)],this[_0x163c41(0x264)],null,[],null,[_0x3e013d],this[_0x163c41(0x17b)]);try{const _0x5a70ae=this['_transformService'][_0x163c41(0x225)](_0x3e013d,[kn]);if(p[_0x163c41(0x474)](_0x5a70ae)){const {c1Prime:_0xffa6c8}=_0x5a70ae;return this[_0x163c41(0x2ad)](_0xffa6c8),this;}throw _0x5a70ae[_0x163c41(0x534)];}catch(_0x278c67){return this[_0x163c41(0x28d)]['error'](_0x278c67),this[_0x163c41(0x4d1)](!0x1);}}['_onConflict'](_0x38c1d1){const _0x1fa7e4=_0x331f6e;return this['_injector'][_0x1fa7e4(0x45b)](ve,this[_0x1fa7e4(0x1dc)],this[_0x1fa7e4(0x264)],null,[],this[_0x1fa7e4(0x17b)],_0x38c1d1);}[_0x331f6e(0x1c6)](){const _0x331a5b=_0x331f6e;throw new Error(_0x331a5b(0x445));}['onRemoteRej'](){const _0x58d15a=_0x331f6e;throw new Error(_0x58d15a(0x183));}['onRemoteRetry'](){return this;}[_0x331f6e(0x348)](){const _0x152c15=_0x331f6e;return this[_0x152c15(0xb0)][_0x152c15(0x45b)](Se,this['unitID'],this[_0x152c15(0x264)],null,[],this[_0x152c15(0x17b)]);}['toggleOnline'](){return this;}[_0x331f6e(0x432)](){const _0x1b9f2d=_0x331f6e;throw new Error(_0x1b9f2d(0x227));}[_0x331f6e(0x4bb)](){const _0x3c3991=_0x331f6e,_0x22e775=this[_0x3c3991(0xcd)][_0x3c3991(0x312)](this[_0x3c3991(0x1dc)]);return this[_0x3c3991(0x17b)]['onMissingChangesets']({'from':_0x22e775,'to':0x0}),this[_0x3c3991(0xb0)][_0x3c3991(0x45b)](re,this[_0x3c3991(0x1dc)],this[_0x3c3991(0x264)],null,[],null,[],this[_0x3c3991(0x17b)]);}};Oe=Ee([N(0x3,a[_0x331f6e(0x397)](p[_0x331f6e(0x3fa)])),N(0x4,a['Inject'](exports['LocalCacheService'])),N(0x5,a[_0x331f6e(0x397)](a[_0x331f6e(0x35f)])),N(0x6,a[_0x331f6e(0x173)]),N(0x7,a[_0x331f6e(0x48e)]),N(0x8,a[_0x331f6e(0x228)]),N(0x9,p['ITransformService'])],Oe);let ce=class extends be{constructor(_0x1c34c8,_0x3f1d07,_0x389ab5,_0xd56fec,_0x20a82e,_0x5e2efd,_0x4c57b2,_0x51e65d,_0x594a61,_0x122f9b,_0x1c38de,_0x53db33,_0x438a4d,_0x3511e1){const _0x3207ea=_0x331f6e;super(_0x1c34c8,_0x3f1d07,null,_0x389ab5,_0xd56fec,_0x122f9b,_0x3511e1,_0x5e2efd,_0x4c57b2),I(this,_0x3207ea(0x518),_0x3207ea(0x17f)),I(this,_0x3207ea(0x37c),null),I(this,'_sendingTimer',null),(this[_0x3207ea(0xb0)]=_0x20a82e,this['_memberService']=_0x51e65d,this['_logService']=_0x594a61,this['_configService']=_0x1c38de,this[_0x3207ea(0x437)]=_0x53db33,this[_0x3207ea(0x2a1)]=_0x438a4d);}[_0x331f6e(0x2b8)](_0x2ace45){const _0x138041=_0x331f6e;return this[_0x138041(0x29f)][_0x138041(0x256)](_0x2ace45),this[_0x138041(0x3f2)](),this;}[_0x331f6e(0xb1)](_0x57c4eb){const _0x3c442b=_0x331f6e;if(this['_checkMissing'](_0x57c4eb))return this[_0x3c442b(0x231)](),this[_0x3c442b(0xb0)][_0x3c442b(0x45b)](re,this[_0x3c442b(0x1dc)],this[_0x3c442b(0x264)],null,this[_0x3c442b(0x29f)],null,[_0x57c4eb],this[_0x3c442b(0x17b)]);try{const _0x38dac5=this[_0x3c442b(0x437)]['transformMutationsWithChangeset'](_0x57c4eb,this[_0x3c442b(0x29f)]);if(p[_0x3c442b(0x474)](_0x38dac5)){const {c1Prime:_0x581b6d,m2Prime:_0x4e746d}=_0x38dac5;this['_executeRemoteChangeset'](_0x581b6d);const _0x2c6efa=this[_0x3c442b(0xb0)]['createInstance'](ce,this['unitID'],this[_0x3c442b(0x264)],_0x4e746d,this[_0x3c442b(0x17b)]);return this[_0x3c442b(0x231)](),_0x2c6efa[_0x3c442b(0x2ec)](this['_scheduleTimestamp']?Math['max'](0x0,new Date()[_0x3c442b(0x2b6)]()-this[_0x3c442b(0x37c)]):this[_0x3c442b(0x342)]()),_0x2c6efa;}throw _0x38dac5['error'];}catch(_0x4dd797){return this['_logService'][_0x3c442b(0x534)](_0x4dd797),this[_0x3c442b(0x4d1)](!0x1);}}['onRemoteAck'](){const _0x223499=_0x331f6e;throw new Error(_0x223499(0x4ad));}[_0x331f6e(0x526)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x331f6e(0x240)](){return this;}[_0x331f6e(0x348)](){const _0x4efe1c=_0x331f6e;return this[_0x4efe1c(0x231)](),this[_0x4efe1c(0xb0)][_0x4efe1c(0x45b)](Se,this[_0x4efe1c(0x1dc)],this[_0x4efe1c(0x264)],null,this[_0x4efe1c(0x29f)],this[_0x4efe1c(0x17b)]);}[_0x331f6e(0x55d)](){return this;}[_0x331f6e(0x2ec)](_0x4d023a){const _0x28818c=_0x331f6e,_0x3ea527=_0x4d023a!=null?_0x4d023a:this[_0x28818c(0x342)]();this[_0x28818c(0x37c)]=new Date()[_0x28818c(0x2b6)](),this['_sendingTimer']=window[_0x28818c(0x40e)](()=>{const _0x2b28d4=_0x28818c;this[_0x2b28d4(0x231)]();let _0x35491a=null;switch(this[_0x2b28d4(0x264)]){case ne['UNIVER_SHEET']:{_0x35491a=Ht(this[_0x2b28d4(0x29f)],this[_0x2b28d4(0x1dc)],this[_0x2b28d4(0x2a1)],this[_0x2b28d4(0xcd)],this[_0x2b28d4(0x1ba)]);break;}case ne[_0x2b28d4(0x236)]:{this['_pendingMutations'][_0x2b28d4(0xe9)](_0x1e47ab=>_0x1e47ab['id']===Ie[_0x2b28d4(0x42f)]['id'])?_0x35491a=Bn(this[_0x2b28d4(0x29f)],this[_0x2b28d4(0x1dc)],this[_0x2b28d4(0x2a1)],this['_revisionService'],this[_0x2b28d4(0x1ba)]):_0x35491a=Ht(this[_0x2b28d4(0x29f)],this[_0x2b28d4(0x1dc)],this[_0x2b28d4(0x2a1)],this[_0x2b28d4(0xcd)],this[_0x2b28d4(0x1ba)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x2b28d4(0x264)]+_0x2b28d4(0x40c));}const {changeset:_0x23b1c2,pendingMutations:_0x35de2a}=_0x35491a;this[_0x2b28d4(0x17b)][_0x2b28d4(0x39a)](_0x23b1c2);const _0x3884b9=_0x35de2a[_0x2b28d4(0xa1)]?this['_injector'][_0x2b28d4(0x45b)](le,this[_0x2b28d4(0x1dc)],this[_0x2b28d4(0x264)],_0x23b1c2,_0x35de2a,this['_handler'],void 0x0):this[_0x2b28d4(0xb0)][_0x2b28d4(0x45b)](fe,this['unitID'],this[_0x2b28d4(0x264)],_0x23b1c2,this['_handler']);_0x3884b9[_0x2b28d4(0x3f2)](),this[_0x2b28d4(0x17b)]['onStateChange'](this,_0x3884b9);},_0x3ea527);}[_0x331f6e(0x342)](){const _0x3974a9=_0x331f6e;var _0x423065;const _0x552b19=this[_0x3974a9(0x549)]['getConfig'](Q);return(_0x423065=_0x552b19==null?void 0x0:_0x552b19[_0x3974a9(0x17d)])!=null?_0x423065:Fi;}['resend'](){const _0x4ce6bb=_0x331f6e;throw new Error(_0x4ce6bb(0x257));}[_0x331f6e(0x231)](){const _0xfece07=_0x331f6e;this[_0xfece07(0x1e6)]!=null&&(clearTimeout(this[_0xfece07(0x1e6)]),this[_0xfece07(0x1e6)]=null);}[_0x331f6e(0x4d1)](_0xbc8d96){const _0x2dc97c=_0x331f6e;return this[_0x2dc97c(0x231)](),this[_0x2dc97c(0xb0)][_0x2dc97c(0x45b)](ve,this[_0x2dc97c(0x1dc)],this[_0x2dc97c(0x264)],null,this[_0x2dc97c(0x29f)],this[_0x2dc97c(0x17b)],_0xbc8d96);}};ce=Ee([N(0x4,a[_0x331f6e(0x397)](a[_0x331f6e(0x35f)])),N(0x5,a['Inject'](p[_0x331f6e(0x3fa)])),N(0x6,a[_0x331f6e(0x397)](exports[_0x331f6e(0x301)])),N(0x7,a['Inject'](exports['MemberService'])),N(0x8,a[_0x331f6e(0x228)]),N(0x9,a[_0x331f6e(0x48e)]),N(0xa,a[_0x331f6e(0x3d6)]),N(0xb,p[_0x331f6e(0x40d)]),N(0xc,a[_0x331f6e(0x427)]),N(0xd,a[_0x331f6e(0x173)])],ce);let fe=class extends be{constructor(_0x5b2f9f,_0x47e96c,_0x4c62fc,_0x1127cd,_0xf27758,_0xf82da4,_0xee8901,_0x46a1a9,_0xc15a3,_0x2cbfab,_0x34512d){const _0x3ec2cd=_0x331f6e;super(_0x5b2f9f,_0x47e96c,_0x4c62fc,[],_0x1127cd,_0x46a1a9,_0x34512d,_0xf82da4,_0xee8901),I(this,_0x3ec2cd(0x518),'awaiting'),I(this,_0x3ec2cd(0x297),0x0),I(this,_0x3ec2cd(0x335)),I(this,_0x3ec2cd(0x28a)),(this['_injector']=_0xf27758,this['_logService']=_0xc15a3,this[_0x3ec2cd(0x437)]=_0x2cbfab);}[_0x331f6e(0x2b8)](_0x507d0b){const _0x38784c=_0x331f6e;this['_clearScheduledTask']();const _0x384128=this['_injector'][_0x38784c(0x45b)](le,this[_0x38784c(0x1dc)],this[_0x38784c(0x264)],this[_0x38784c(0x11a)],[_0x507d0b],this[_0x38784c(0x17b)],this[_0x38784c(0x335)]);return _0x384128['_updateLocalCache'](),_0x384128;}[_0x331f6e(0xb1)](_0x11fc4c){const _0x73e81f=_0x331f6e;if(this[_0x73e81f(0x160)](_0x11fc4c))return this[_0x73e81f(0x231)](),this[_0x73e81f(0xb0)][_0x73e81f(0x45b)](re,this[_0x73e81f(0x1dc)],this['type'],this['_awaitingChangeset'],[],null,[_0x11fc4c],this[_0x73e81f(0x17b)]);try{const _0x18d23d=this[_0x73e81f(0x437)][_0x73e81f(0x37d)]([_0x11fc4c],[this[_0x73e81f(0x11a)]],!0x1);if(p[_0x73e81f(0x116)](_0x18d23d)){const {c1Prime:_0x2a8a0a,c2Prime:_0x1e0b89}=_0x18d23d;this['_executeRemoteChangeset'](_0x2a8a0a[0x0]),_0x1e0b89[0x0]['baseRev']=this[_0x73e81f(0x224)](),this[_0x73e81f(0x231)]();const _0x5a1d59=this['_injector'][_0x73e81f(0x45b)](fe,this['unitID'],this[_0x73e81f(0x264)],_0x1e0b89[0x0],this[_0x73e81f(0x17b)]);return _0x5a1d59[_0x73e81f(0x3f2)](),_0x5a1d59;}return this[_0x73e81f(0x4d1)](!0x1);}catch(_0x4cecd3){return this['_logService'][_0x73e81f(0x534)](_0x4cecd3),this[_0x73e81f(0x4d1)](!0x1);}}[_0x331f6e(0x1c6)](_0x4aace5){const _0x2fe94e=_0x331f6e;this[_0x2fe94e(0x231)]();const _0x1f0157=this[_0x2fe94e(0xcd)][_0x2fe94e(0x312)](this[_0x2fe94e(0x1dc)]);if(_0x4aace5[_0x2fe94e(0x519)]<_0x1f0157-0x1)return this;if(this[_0x2fe94e(0x160)](_0x4aace5))return this[_0x2fe94e(0xb0)][_0x2fe94e(0x45b)](re,this[_0x2fe94e(0x1dc)],this[_0x2fe94e(0x264)],null,[],this['_awaitingChangeset'],[],this[_0x2fe94e(0x17b)]);this[_0x2fe94e(0xfa)]();const _0x5cbc8d=this[_0x2fe94e(0xb0)][_0x2fe94e(0x45b)](Oe,this[_0x2fe94e(0x1dc)],this[_0x2fe94e(0x264)],this[_0x2fe94e(0x17b)]);return _0x5cbc8d[_0x2fe94e(0x3f2)](),_0x5cbc8d;}[_0x331f6e(0x526)](_0x514f31){const _0x211cad=_0x331f6e;return this[_0x211cad(0x4d1)](!!(_0x514f31!=null&&_0x514f31[_0x211cad(0x1ee)]));}['onRemoteRetry'](_0x1435e7){const _0x491753=_0x331f6e;return this[_0x491753(0x297)]>mi?this['toggleOffline']():(this[_0x491753(0x335)]=pi(this[_0x491753(0x297)],{'timeout':this[_0x491753(0x297)],'reqId':_0x1435e7[_0x491753(0x14a)]}),this[_0x491753(0x28a)]=this[_0x491753(0x335)][_0x491753(0x31a)](({reqId:_0x5ad7b8,timeout:_0x96c7b2})=>{const _0xc95fba=_0x491753;this[_0xc95fba(0x38e)](_0x5ad7b8,_0x96c7b2);}),this);}[_0x331f6e(0x348)](){const _0xf427a6=_0x331f6e;return this['_clearScheduledTask'](),this[_0xf427a6(0xb0)][_0xf427a6(0x45b)](Se,this[_0xf427a6(0x1dc)],this['type'],this[_0xf427a6(0x11a)],[],this[_0xf427a6(0x17b)]);}['toggleOnline'](){return this;}[_0x331f6e(0x432)](){const _0x4d2eed=_0x331f6e;this[_0x4d2eed(0x17b)]['onSendChangeset'](this[_0x4d2eed(0x11a)]);}[_0x331f6e(0x4d1)](_0x5c94fe){const _0x478d1a=_0x331f6e;return this['_clearScheduledTask'](),this[_0x478d1a(0xb0)][_0x478d1a(0x45b)](ve,this[_0x478d1a(0x1dc)],this['type'],this[_0x478d1a(0x11a)],[],this[_0x478d1a(0x17b)],_0x5c94fe);}[_0x331f6e(0x38e)](_0x43d24c,_0x14e0de){const _0x8ec5d0=_0x331f6e;var _0x3e9f9e;_0x43d24c===((_0x3e9f9e=this[_0x8ec5d0(0x11a)])==null?void 0x0:_0x3e9f9e[_0x8ec5d0(0x14a)])&&(this[_0x8ec5d0(0x432)](),this[_0x8ec5d0(0x297)]=_0x14e0de===0x0?0x3e8:_0x14e0de*0x2);}[_0x331f6e(0x231)](){const _0x36fd18=_0x331f6e;var _0x209553;(_0x209553=this['_sender'])==null||_0x209553[_0x36fd18(0x486)](),this['_resendTimeout']=0x0;}};fe=Ee([N(0x4,a[_0x331f6e(0x397)](a[_0x331f6e(0x35f)])),N(0x5,a[_0x331f6e(0x397)](p[_0x331f6e(0x3fa)])),N(0x6,a[_0x331f6e(0x397)](exports['LocalCacheService'])),N(0x7,a[_0x331f6e(0x48e)]),N(0x8,a['ILogService']),N(0x9,p[_0x331f6e(0x40d)]),N(0xa,a['IUndoRedoService'])],fe);let le=class extends be{constructor(_0x22684c,_0x40cfea,_0x26abce,_0x1a951a,_0x399a1c,_0x4f94ec,_0x1c1a09,_0x38fb22,_0x58875b,_0x2444b2,_0x411d33,_0xb1d231,_0x42e616){const _0xa910fe=_0x331f6e;super(_0x22684c,_0x40cfea,_0x26abce,_0x1a951a,_0x399a1c,_0x2444b2,_0x42e616,_0x38fb22,_0x58875b),I(this,_0xa910fe(0x518),_0xa910fe(0x267)),I(this,_0xa910fe(0x297),0x0),I(this,_0xa910fe(0x335)),I(this,'_sender'),(this['_injector']=_0x1c1a09,this[_0xa910fe(0x28d)]=_0x411d33,this[_0xa910fe(0x437)]=_0xb1d231,_0x4f94ec&&(this[_0xa910fe(0x335)]=_0x4f94ec,this[_0xa910fe(0x28a)]=this[_0xa910fe(0x335)][_0xa910fe(0x31a)](({reqId:_0x40cfa9,timeout:_0x5a71ad})=>{const _0x1b5e24=_0xa910fe;this[_0x1b5e24(0x38e)](_0x40cfa9,_0x5a71ad);})));}['appendMutation'](_0x3cef02){const _0x5b4dd7=_0x331f6e;return this['_pendingMutations'][_0x5b4dd7(0x256)](_0x3cef02),this;}[_0x331f6e(0xb1)](_0x24b367){const _0x509185=_0x331f6e;if(this['_checkMissing'](_0x24b367))return this[_0x509185(0x231)](),this[_0x509185(0xb0)][_0x509185(0x45b)](re,this[_0x509185(0x1dc)],this[_0x509185(0x264)],this[_0x509185(0x11a)],this[_0x509185(0x29f)],null,[_0x24b367],this[_0x509185(0x17b)]);try{const _0x26738c=this[_0x509185(0x437)][_0x509185(0x37d)]([_0x24b367],[this[_0x509185(0x11a)]],!0x1);if(p[_0x509185(0x116)](_0x26738c)){const {c1Prime:_0x99fc89,c2Prime:_0x91d9e5}=_0x26738c,_0x1701d9=this[_0x509185(0x437)][_0x509185(0x225)](_0x99fc89[0x0],this[_0x509185(0x29f)]);if(p[_0x509185(0x474)](_0x1701d9)){const {c1Prime:_0x24b65b,m2Prime:_0x3cfb17}=_0x1701d9;return this[_0x509185(0x2ad)](_0x24b65b),_0x91d9e5[0x0][_0x509185(0x4f1)]=this[_0x509185(0x224)](),this[_0x509185(0x231)](),this['_injector'][_0x509185(0x45b)](le,this['unitID'],this[_0x509185(0x264)],_0x91d9e5[0x0],_0x3cfb17,this[_0x509185(0x17b)],void 0x0);}throw _0x1701d9[_0x509185(0x534)];}throw _0x26738c[_0x509185(0x534)];}catch(_0x5a372b){return this[_0x509185(0x28d)][_0x509185(0x534)](_0x5a372b),this[_0x509185(0x4d1)](!0x1);}}[_0x331f6e(0x1c6)](_0x50732f){const _0x561c32=_0x331f6e;if(this[_0x561c32(0x231)](),this[_0x561c32(0x160)](_0x50732f))return this['_injector']['createInstance'](re,this[_0x561c32(0x1dc)],this[_0x561c32(0x264)],null,this[_0x561c32(0x29f)],this['_awaitingChangeset'],[],this[_0x561c32(0x17b)]);this[_0x561c32(0xfa)]();const _0x7818ec=this[_0x561c32(0xb0)][_0x561c32(0x45b)](ce,this[_0x561c32(0x1dc)],this['type'],this['_pendingMutations'],this[_0x561c32(0x17b)]);return _0x7818ec[_0x561c32(0x2ec)](),_0x7818ec[_0x561c32(0x3f2)](),_0x7818ec;}[_0x331f6e(0x526)](_0xd7cb36){const _0x266de8=_0x331f6e;return this[_0x266de8(0x4d1)](!!(_0xd7cb36!=null&&_0xd7cb36[_0x266de8(0x1ee)]));}[_0x331f6e(0x240)](_0x5a7051){const _0x1e5dbd=_0x331f6e;return this[_0x1e5dbd(0x297)]>mi?this[_0x1e5dbd(0x348)]():(this[_0x1e5dbd(0x335)]=pi(this[_0x1e5dbd(0x297)],{'timeout':this[_0x1e5dbd(0x297)],'reqId':_0x5a7051[_0x1e5dbd(0x14a)]}),this[_0x1e5dbd(0x28a)]=this[_0x1e5dbd(0x335)][_0x1e5dbd(0x31a)](({reqId:_0x45febe,timeout:_0x480176})=>{const _0x1d912e=_0x1e5dbd;this[_0x1d912e(0x38e)](_0x45febe,_0x480176);}),this);}[_0x331f6e(0x348)](){const _0x4176c6=_0x331f6e;return this[_0x4176c6(0x231)](),this['_injector'][_0x4176c6(0x45b)](Se,this[_0x4176c6(0x1dc)],this[_0x4176c6(0x264)],this['_awaitingChangeset'],this[_0x4176c6(0x29f)],this[_0x4176c6(0x17b)]);}[_0x331f6e(0x55d)](){return this;}[_0x331f6e(0x432)](){const _0x2a896e=_0x331f6e;this[_0x2a896e(0x17b)][_0x2a896e(0x39a)](this[_0x2a896e(0x11a)]);}[_0x331f6e(0x4d1)](_0x212857){const _0x32242a=_0x331f6e;return this[_0x32242a(0x231)](),this[_0x32242a(0xb0)][_0x32242a(0x45b)](ve,this[_0x32242a(0x1dc)],this['type'],null,this[_0x32242a(0x29f)],this[_0x32242a(0x17b)],_0x212857);}['_resendWithTimeout'](_0x39f1a3,_0x29b70d){const _0x32143d=_0x331f6e;var _0x23eba0;_0x39f1a3===((_0x23eba0=this[_0x32143d(0x11a)])==null?void 0x0:_0x23eba0[_0x32143d(0x14a)])&&(this[_0x32143d(0x432)](),this['_resendTimeout']=_0x29b70d===0x0?0x3e8:_0x29b70d*0x2);}[_0x331f6e(0x231)](){const _0x3d3963=_0x331f6e;var _0x3dc495;(_0x3dc495=this[_0x3d3963(0x28a)])==null||_0x3dc495[_0x3d3963(0x486)](),this[_0x3d3963(0x297)]=0x0;}};le=Ee([N(0x6,a[_0x331f6e(0x397)](a[_0x331f6e(0x35f)])),N(0x7,a[_0x331f6e(0x397)](p[_0x331f6e(0x3fa)])),N(0x8,a[_0x331f6e(0x397)](exports[_0x331f6e(0x301)])),N(0x9,a[_0x331f6e(0x48e)]),N(0xa,a[_0x331f6e(0x228)]),N(0xb,p[_0x331f6e(0x40d)]),N(0xc,a[_0x331f6e(0x173)])],le);let ve=class extends be{constructor(_0x396336,_0x2a8f12,_0x368153,_0x523908,_0x5dd85f,_0x32ae55=!0x1,_0xf00983,_0x1dee5b,_0x2f128a,_0x5cd73e,_0x9e033e,_0x1016f0,_0x2b7ec5){const _0x139760=_0x331f6e;super(_0x396336,_0x2a8f12,_0x368153,_0x523908,_0x5dd85f,_0x1dee5b,_0x2f128a,_0x9e033e,_0x5cd73e),I(this,'status',_0x139760(0x45f)),(this['_isPermissionRej']=_0x32ae55,this[_0x139760(0x3c8)]=_0xf00983,this['_localeService']=_0x1016f0,this['_notificationService']=_0x2b7ec5,this[_0x139760(0x18a)](),this['_clearLocalCache'](),this[_0x139760(0x314)]());}[_0x331f6e(0x2b8)](){return this;}[_0x331f6e(0xb1)](){return this;}[_0x331f6e(0x1c6)](){return this;}[_0x331f6e(0x526)](){return this;}[_0x331f6e(0x240)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x331f6e(0x432)](){const _0x7936a5=_0x331f6e;throw new Error(_0x7936a5(0x163));}['_clearLocalCache'](){const _0x2f0c00=_0x331f6e;this[_0x2f0c00(0x3cc)][_0x2f0c00(0x330)](this['unitID'],this['type'],null,[]);}['_showConflictNotification'](){const _0x241d37=_0x331f6e;this[_0x241d37(0x26e)]?this['_notificationService'][_0x241d37(0x135)]({'title':this[_0x241d37(0x428)]['t'](_0x241d37(0x2d1)),'content':this[_0x241d37(0x428)]['t']('permission.content'),'type':_0x241d37(0x534),'duration':0x0}):this[_0x241d37(0x37b)][_0x241d37(0x135)]({'title':this['_localeService']['t'](_0x241d37(0x34a)),'content':this['_localeService']['t'](_0x241d37(0x39d)),'type':_0x241d37(0x534),'duration':0x0});}[_0x331f6e(0x314)](){const _0x365dd0=_0x331f6e;this[_0x365dd0(0x3c8)][_0x365dd0(0x369)](new k[(_0x365dd0(0x3d2))](this['unitID'])['id'],!0x1);}};ve=Ee([N(0x6,a[_0x331f6e(0x397)](a[_0x331f6e(0x276)])),N(0x7,a['ICommandService']),N(0x8,a[_0x331f6e(0x173)]),N(0x9,a[_0x331f6e(0x397)](exports[_0x331f6e(0x301)])),N(0xa,a[_0x331f6e(0x397)](p['RevisionService'])),N(0xb,a['Inject'](a[_0x331f6e(0xe4)])),N(0xc,te[_0x331f6e(0x52e)])],ve);let Se=class extends be{constructor(_0x14eab9,_0x3d44f8,_0x6f990,_0x4a7203,_0x181e34,_0x18c708,_0x58ab57,_0x199329,_0x3983e4,_0x20adf6){const _0x4f0ddb=_0x331f6e;super(_0x14eab9,_0x3d44f8,_0x6f990,_0x4a7203,_0x181e34,_0x3983e4,_0x20adf6,_0x58ab57,_0x199329),I(this,_0x4f0ddb(0x518),_0x4f0ddb(0x4db)),this[_0x4f0ddb(0xb0)]=_0x18c708;}[_0x331f6e(0x2b8)](_0x266c07){const _0x4297a1=_0x331f6e;return this[_0x4297a1(0x29f)]['push'](_0x266c07),this[_0x4297a1(0x3f2)](),this;}[_0x331f6e(0xb1)](_0x5101f2){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x331f6e(0x526)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x331f6e(0x240)](){return this;}[_0x331f6e(0x348)](){return this;}[_0x331f6e(0x55d)](){const _0x2c85c5=_0x331f6e,{_injector:_0x4a8504,_pendingMutations:_0x5e5ae6,_awaitingChangeset:_0x18d19b,unitID:_0x13317f,_handler:_0x3c76ec,type:_0x2745c7}=this,_0x355259=gi(_0x4a8504,_0x13317f,_0x2745c7,_0x18d19b,_0x5e5ae6,_0x3c76ec);return _0x355259 instanceof ce?_0x355259[_0x2c85c5(0x2ec)]():(_0x355259 instanceof le||_0x355259 instanceof fe)&&_0x355259[_0x2c85c5(0x432)](),_0x355259;}[_0x331f6e(0x432)](){const _0x41cc3b=_0x331f6e;throw new Error(_0x41cc3b(0x2a6));}};Se=Ee([N(0x5,a[_0x331f6e(0x397)](a['Injector'])),N(0x6,a[_0x331f6e(0x397)](p[_0x331f6e(0x3fa)])),N(0x7,a[_0x331f6e(0x397)](exports[_0x331f6e(0x301)])),N(0x8,a[_0x331f6e(0x48e)]),N(0x9,a[_0x331f6e(0x173)])],Se);let re=class extends be{constructor(_0xa1e731,_0x28e87c,_0x1ac324,_0xece48c,_0x3f4b0f,_0x4f7079,_0x5ac7c5,_0x3d2468,_0x4bb925,_0x169c2e,_0x1bb152,_0x13ae39,_0xa25efb,_0x11bbf4){const _0x3b43b5=_0x331f6e;super(_0xa1e731,_0x28e87c,_0x1ac324,_0xece48c,_0x5ac7c5,_0x13ae39,_0xa25efb,_0x4bb925,_0x169c2e),I(this,_0x3b43b5(0x518),_0x3b43b5(0x38f)),(this[_0x3b43b5(0x4d7)]=_0x3f4b0f,this[_0x3b43b5(0x482)]=_0x4f7079,this[_0x3b43b5(0xb0)]=_0x3d2468,this[_0x3b43b5(0x28d)]=_0x1bb152,this[_0x3b43b5(0x437)]=_0x11bbf4);}['onMissedChangesetFetched'](_0x2d822e){const _0x34d0a3=_0x331f6e;try{const _0xdbe1a9=[..._0x2d822e,...this[_0x34d0a3(0x482)]],_0x4a9e05=[this[_0x34d0a3(0x11a)]||this[_0x34d0a3(0x4d7)]][_0x34d0a3(0x169)](_0x5d28ea=>!!_0x5d28ea);let _0x59fdd4,_0xdf5eb;if(_0x4a9e05[_0x34d0a3(0xa1)]){const _0xaec4dc=this['_transformService'][_0x34d0a3(0x37d)](_0xdbe1a9,_0x4a9e05,!0x1);if(!p[_0x34d0a3(0x116)](_0xaec4dc))throw _0xaec4dc[_0x34d0a3(0x534)];_0x59fdd4=_0xaec4dc['c1Prime'],_0xdf5eb=_0xaec4dc['c2Prime'];}else _0x59fdd4=_0xdbe1a9,_0xdf5eb=[];let _0x2ef23d=this[_0x34d0a3(0x29f)];_0x59fdd4[_0x34d0a3(0x34c)](_0x2aaffd=>{const _0x137a40=_0x34d0a3;let _0x28e1ab;if(_0x2ef23d[_0x137a40(0xa1)]){const _0x30f431=this[_0x137a40(0x437)][_0x137a40(0x225)](_0x2aaffd,_0x2ef23d);if(!p[_0x137a40(0x474)](_0x30f431))throw _0x30f431[_0x137a40(0x534)];_0x28e1ab=_0x30f431[_0x137a40(0x489)],_0x2ef23d=_0x30f431[_0x137a40(0x4be)];}else _0x28e1ab=_0x2aaffd;this[_0x137a40(0x2ad)](_0x28e1ab);}),this[_0x34d0a3(0x4d7)]&&this[_0x34d0a3(0xfa)](),this[_0x34d0a3(0x11a)]&&_0xdf5eb['length']&&(_0xdf5eb[0x0][_0x34d0a3(0x4f1)]=this[_0x34d0a3(0x224)]());let _0x321a89;if(this[_0x34d0a3(0x11a)]&&_0x2ef23d[_0x34d0a3(0xa1)]!==0x0)_0x321a89=this[_0x34d0a3(0xb0)][_0x34d0a3(0x45b)](le,this[_0x34d0a3(0x1dc)],this[_0x34d0a3(0x264)],_0xdf5eb[0x0],_0x2ef23d,this[_0x34d0a3(0x17b)],void 0x0);else{if(this[_0x34d0a3(0x11a)]&&_0x2ef23d[_0x34d0a3(0xa1)]===0x0)_0xdf5eb[0x0]['baseRev']=this[_0x34d0a3(0x224)](),_0x321a89=this[_0x34d0a3(0xb0)][_0x34d0a3(0x45b)](fe,this[_0x34d0a3(0x1dc)],this[_0x34d0a3(0x264)],_0xdf5eb[0x0],this[_0x34d0a3(0x17b)]);else{if(_0x2ef23d[_0x34d0a3(0xa1)]!==0x0){const _0x5893c8=this[_0x34d0a3(0xb0)][_0x34d0a3(0x45b)](ce,this[_0x34d0a3(0x1dc)],this[_0x34d0a3(0x264)],_0x2ef23d,this['_handler']);_0x5893c8[_0x34d0a3(0x2ec)](),_0x321a89=_0x5893c8;}else _0x321a89=this[_0x34d0a3(0xb0)]['createInstance'](Oe,this['unitID'],this[_0x34d0a3(0x264)],this[_0x34d0a3(0x17b)]);}}return _0x321a89[_0x34d0a3(0x3f2)](),_0x321a89;}catch(_0x38939e){return this[_0x34d0a3(0x28d)]['error'](_0x34d0a3(0x2d0),_0x34d0a3(0x33f),_0x38939e),this[_0x34d0a3(0xb0)]['createInstance'](ve,this[_0x34d0a3(0x1dc)],this[_0x34d0a3(0x264)],this[_0x34d0a3(0x11a)],this[_0x34d0a3(0x29f)],this[_0x34d0a3(0x17b)],!0x1);}}[_0x331f6e(0x432)](){const _0x2bb22c=_0x331f6e;throw new Error(_0x2bb22c(0x368));}['appendMutation'](_0x40f1c5){const _0x5f0a31=_0x331f6e;return this['_pendingMutations'][_0x5f0a31(0x256)](_0x40f1c5),this;}[_0x331f6e(0xb1)](_0x53f435){const _0x222ce9=_0x331f6e;return this[_0x222ce9(0x482)][_0x222ce9(0x256)](_0x53f435),this;}[_0x331f6e(0x1c6)](_0x331579){const _0x210ea5=_0x331f6e;if(this[_0x210ea5(0x11a)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this[_0x210ea5(0x11a)]=null,this;throw new Error(_0x210ea5(0x96));}[_0x331f6e(0x526)](_0xbf9b23){const _0x260baa=_0x331f6e;return this[_0x260baa(0x4d1)](!!(_0xbf9b23!=null&&_0xbf9b23[_0x260baa(0x1ee)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x5d690c=_0x331f6e;return this[_0x5d690c(0xb0)][_0x5d690c(0x45b)](Se,this['unitID'],this[_0x5d690c(0x264)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}[_0x331f6e(0x4d1)](_0x272a15){const _0x2d24b8=_0x331f6e;return this[_0x2d24b8(0xb0)][_0x2d24b8(0x45b)](ve,this['unitID'],this[_0x2d24b8(0x264)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x2d24b8(0x17b)],_0x272a15);}};re=Ee([N(0x7,a[_0x331f6e(0x397)](a['Injector'])),N(0x8,a[_0x331f6e(0x397)](p[_0x331f6e(0x3fa)])),N(0x9,a[_0x331f6e(0x397)](exports[_0x331f6e(0x301)])),N(0xa,a[_0x331f6e(0x228)]),N(0xb,a[_0x331f6e(0x48e)]),N(0xc,a[_0x331f6e(0x173)]),N(0xd,p[_0x331f6e(0x40d)])],re);function gi(_0x8e5330,_0xa66218,_0x164bd2,_0xedb03b,_0x3769e6,_0x109852){const _0x390dd9=_0x331f6e;return _0xedb03b&&_0x3769e6[_0x390dd9(0xa1)]?_0x8e5330['createInstance'](le,_0xa66218,_0x164bd2,_0xedb03b,_0x3769e6,_0x109852,void 0x0):_0xedb03b?_0x8e5330[_0x390dd9(0x45b)](fe,_0xa66218,_0x164bd2,_0xedb03b,_0x109852):_0x3769e6['length']?_0x8e5330[_0x390dd9(0x45b)](ce,_0xa66218,_0x164bd2,_0x3769e6,_0x109852):_0x8e5330[_0x390dd9(0x45b)](Oe,_0xa66218,_0x164bd2,_0x109852);}var Vn=Object[_0x331f6e(0x30b)],Gn=Object['getOwnPropertyDescriptor'],Ot=(_0x49bfc8,_0x5dcdce,_0x51d930,_0x1f0589)=>{const _0x50b04e=_0x331f6e;for(var _0x3cf671=_0x1f0589>0x1?void 0x0:_0x1f0589?Gn(_0x5dcdce,_0x51d930):_0x5dcdce,_0x303902=_0x49bfc8[_0x50b04e(0xa1)]-0x1,_0x252a0d;_0x303902>=0x0;_0x303902--)(_0x252a0d=_0x49bfc8[_0x303902])&&(_0x3cf671=(_0x1f0589?_0x252a0d(_0x5dcdce,_0x51d930,_0x3cf671):_0x252a0d(_0x3cf671))||_0x3cf671);return _0x1f0589&&_0x3cf671&&Vn(_0x5dcdce,_0x51d930,_0x3cf671),_0x3cf671;},H=(_0x5a0f4f,_0x3480af)=>(_0x4d40c1,_0x169399)=>_0x3480af(_0x4d40c1,_0x169399,_0x5a0f4f);exports[_0x331f6e(0x281)]=class extends a[_0x331f6e(0x49a)]{constructor(_0x390680,_0x2055e0,_0x245385,_0x53be2b,_0x3c4613,_0x1fa561,_0x5bf0a2,_0x2683a4,_0x5239b7,_0x430fee,_0x30efce,_0x255e7a,_0x431707){const _0x922b9c=_0x331f6e;super(),I(this,'_state$',new A[(_0x922b9c(0x325))](null)),I(this,_0x922b9c(0x375),this[_0x922b9c(0x555)][_0x922b9c(0x4a4)]()),I(this,_0x922b9c(0x509)),I(this,_0x922b9c(0x54a),!0x1),I(this,_0x922b9c(0x299),''),I(this,_0x922b9c(0x124),0x0),I(this,_0x922b9c(0x166),this[_0x922b9c(0x375)]['pipe'](A[_0x922b9c(0x442)](_0x5e9236=>_0x5e9236?_0x5e9236[_0x922b9c(0x518)]:q['OFFLINE']),A[_0x922b9c(0x48c)](0x1))),I(this,_0x922b9c(0x3c0),!0x1),I(this,'_remoteChangesetQueue',[]),(this[_0x922b9c(0x1dc)]=_0x390680,this[_0x922b9c(0x194)]=_0x2055e0,this['_type']=_0x245385,this[_0x922b9c(0xb0)]=_0x53be2b,this[_0x922b9c(0x3cc)]=_0x3c4613,this[_0x922b9c(0x10a)]=_0x1fa561,this[_0x922b9c(0x428)]=_0x5bf0a2,this[_0x922b9c(0xcd)]=_0x2683a4,this[_0x922b9c(0x28d)]=_0x5239b7,this[_0x922b9c(0x292)]=_0x430fee,this[_0x922b9c(0x19b)]=_0x30efce,this['_permissionService']=_0x255e7a,this[_0x922b9c(0x421)]=_0x431707);}get[_0x331f6e(0x41b)](){const _0x54558c=_0x331f6e;return this[_0x54558c(0x509)];}async[_0x331f6e(0x188)](){const _0x207985=_0x331f6e;if(this[_0x207985(0x41b)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x207985(0x247)]();}[_0x331f6e(0xcb)](){return this['_collaborationPaused']=!0x0,a['toDisposable'](()=>{const _0xfeea10=_0x3305;this['_collaborationPaused']=!0x1,this[_0xfeea10(0x4d6)]();});}[_0x331f6e(0x14c)](_0x318bab){const _0x4c6070=_0x331f6e;this['_state']=_0x318bab,this[_0x4c6070(0x555)][_0x4c6070(0xd8)](_0x318bab);}async[_0x331f6e(0x247)](){const _0x57df0d=_0x331f6e;var _0x33d70b;this[_0x57df0d(0x14c)](await this['_createInitialState']()),this[_0x57df0d(0x421)]&&((_0x33d70b=this[_0x57df0d(0x421)])==null||_0x33d70b[_0x57df0d(0x2de)](this[_0x57df0d(0x1dc)]),this[_0x57df0d(0xd7)](this[_0x57df0d(0x421)][_0x57df0d(0x46d)](this[_0x57df0d(0x1dc)])['subscribe'](_0x1d6fb5=>{const _0x291d24=_0x57df0d;this[_0x291d24(0x28d)][_0x291d24(0x552)](_0x291d24(0x177),_0x291d24(0x181),_0x1d6fb5),_0x1d6fb5===vi[_0x291d24(0x190)]?(this[_0x291d24(0x19b)][_0x291d24(0x135)]({'content':this[_0x291d24(0x428)]['t']('collaboration.single-unit.warning'),'type':Ce['MessageType'][_0x291d24(0x12f)]}),this['_permissionService'][_0x291d24(0x369)](new k[(_0x291d24(0x3d2))](this[_0x291d24(0x1dc)])['id'],!0x1),this[_0x291d24(0x3c8)]['setShowComponents'](!0x1)):(this['_permissionService']['updatePermissionPoint'](new k['WorkbookEditablePermission'](this[_0x291d24(0x1dc)])['id'],!0x0),this[_0x291d24(0x3c8)][_0x291d24(0xa5)](!0x0));})));let _0x48c8e8=!0x1;return this[_0x57df0d(0xd7)](this[_0x57df0d(0x194)][_0x57df0d(0x50e)][_0x57df0d(0x31a)](_0x2adf8d=>{const _0x2d23b9=_0x57df0d;_0x2adf8d===se['ONLINE']?this['_toggleOnline'](_0x48c8e8):_0x2adf8d===se['OFFLINE']&&(_0x48c8e8=!0x0,this[_0x2d23b9(0x1d5)]());})),this[_0x57df0d(0xd7)](this[_0x57df0d(0x194)][_0x57df0d(0x37f)][_0x57df0d(0x31a)](_0x118884=>{const _0x442b6b=_0x57df0d;try{switch(_0x118884[_0x442b6b(0x473)]){case p[_0x442b6b(0x1ac)][_0x442b6b(0x471)]:{this['_onRemoteChangeset'](p['parseProtocolChangeset'](_0x118884[_0x442b6b(0x2fb)]));break;}case p[_0x442b6b(0x1ac)][_0x442b6b(0x4da)]:{this['_onRemoteACK'](_0x118884[_0x442b6b(0x2fb)]);break;}case p[_0x442b6b(0x1ac)][_0x442b6b(0x344)]:{this[_0x442b6b(0x2e2)]();break;}case p[_0x442b6b(0x1ac)]['CHANGESET_SHOULD_RETRY']:{this[_0x442b6b(0x22b)](_0x118884[_0x442b6b(0x2fb)]);break;}case p[_0x442b6b(0x1ac)][_0x442b6b(0x507)]:{this[_0x442b6b(0x15d)](_0x118884[_0x442b6b(0x2fb)][_0x442b6b(0x1f4)][_0x442b6b(0x442)](_0x19e463=>p[_0x442b6b(0x174)](_0x19e463)));break;}case p['CollaborationEvent']['PERMISSION_REJ']:this[_0x442b6b(0x2e2)]({'isPermissionRej':!0x0});}}catch(_0x1ae6c3){throw console[_0x442b6b(0x534)](_0x442b6b(0x412),_0x1ae6c3),_0x1ae6c3;}})),this[_0x57df0d(0x509)];}[_0x331f6e(0x4b1)](){const _0x34bdd8=_0x331f6e;this[_0x34bdd8(0x3c0)]=!0x1;}[_0x331f6e(0x2c5)](){const _0x2c8390=_0x331f6e;if(this[_0x2c8390(0x3c0)])throw new Error(_0x2c8390(0x291));this['_transitionLocked']=!0x0;}[_0x331f6e(0x4d4)](_0x407d22){const _0x3b89cf=_0x331f6e;this['_lockTransition'](),this['_updateState'](this['_state']['appendMutation'](_0x407d22)),this[_0x3b89cf(0x4b1)]();}['_onRemoteChangeset'](_0x48785b){const _0x3cd1ac=_0x331f6e;if(!(_0x48785b[_0x3cd1ac(0x519)]<=this[_0x3cd1ac(0xcd)][_0x3cd1ac(0x312)](this[_0x3cd1ac(0x1dc)]))){if(this[_0x3cd1ac(0x54a)]){this[_0x3cd1ac(0x4c1)][_0x3cd1ac(0x256)](_0x48785b);return;}this['_applyRemoteChangeset'](_0x48785b);}}['_exhaustRemoteChangesetQueue'](){const _0xaff387=_0x331f6e;this[_0xaff387(0x4c1)]['forEach'](_0x57ac5f=>this[_0xaff387(0x1fc)](_0x57ac5f)),this['_remoteChangesetQueue']=[];}[_0x331f6e(0x1fc)](_0x246096){const _0x667511=_0x331f6e,_0x173e3e=this[_0x667511(0x10a)][_0x667511(0x4a3)]['fetchThroughInterceptors'](this[_0x667511(0x10a)][_0x667511(0x4a3)][_0x667511(0x16e)]()[_0x667511(0x2df)])(_0x246096[_0x667511(0x35d)],null)||_0x246096[_0x667511(0x35d)],_0x398690={..._0x246096,'mutations':_0x173e3e};this[_0x667511(0x2c5)](),this[_0x667511(0x14c)](this[_0x667511(0x509)]['onRemoteChangeset'](_0x398690)),this[_0x667511(0x4b1)]();}[_0x331f6e(0x501)](_0x51b144){const _0x515aeb=_0x331f6e;this[_0x515aeb(0x2c5)](),this[_0x515aeb(0x14c)](this[_0x515aeb(0x509)][_0x515aeb(0x1c6)](_0x51b144)),this['_unlockTransition']();}[_0x331f6e(0x2e2)](_0x523237){const _0x3c1bd8=_0x331f6e;this[_0x3c1bd8(0x2c5)](),this[_0x3c1bd8(0x14c)](this['_state'][_0x3c1bd8(0x526)](_0x523237)),this[_0x3c1bd8(0x4b1)]();}[_0x331f6e(0x22b)](_0x30576e){const _0x1100e9=_0x331f6e;this[_0x1100e9(0x2c5)](),this[_0x1100e9(0x14c)](this[_0x1100e9(0x509)][_0x1100e9(0x240)](_0x30576e)),this[_0x1100e9(0x4b1)]();}['_onFetchMissResult'](_0x6ad8ae){const _0x31ea69=_0x331f6e;if(!(this[_0x31ea69(0x509)]instanceof re))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x59103b=_0x6ad8ae[_0x31ea69(0x442)](_0x1b5d3d=>{const _0x23cbcf=_0x31ea69,_0x4dff53=this[_0x23cbcf(0x10a)][_0x23cbcf(0x4a3)][_0x23cbcf(0x3ac)](this[_0x23cbcf(0x10a)][_0x23cbcf(0x4a3)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x1b5d3d[_0x23cbcf(0x35d)],null)||_0x1b5d3d[_0x23cbcf(0x35d)];return{..._0x1b5d3d,'mutations':_0x4dff53};});this[_0x31ea69(0x2c5)](),this[_0x31ea69(0x14c)](this[_0x31ea69(0x509)][_0x31ea69(0x1bb)](_0x59103b)),this[_0x31ea69(0x4b1)]();}[_0x331f6e(0x1d5)](){const _0xb64cd3=_0x331f6e;this[_0xb64cd3(0x2c5)](),this[_0xb64cd3(0x14c)](this[_0xb64cd3(0x509)][_0xb64cd3(0x348)]()),this['_unlockTransition']();}[_0x331f6e(0xdf)](_0x4ff92a=!0x1){const _0xf975b1=_0x331f6e;this[_0xf975b1(0x2c5)](),this[_0xf975b1(0x14c)](this[_0xf975b1(0x509)][_0xf975b1(0x55d)]()),this[_0xf975b1(0x4b1)]();const _0x5294d3=this[_0xf975b1(0x509)];_0x4ff92a&&_0x5294d3 instanceof Oe&&(this[_0xf975b1(0x2c5)](),this[_0xf975b1(0x14c)](_0x5294d3['fetchMiss']()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x40f52a=>{const _0x56bde2=_0x3305;this[_0x56bde2(0x194)][_0x56bde2(0x50e)][_0x56bde2(0x3ec)](A['take'](0x1))[_0x56bde2(0x31a)](async _0x26dd44=>{const _0x1a598c=_0x56bde2;_0x40f52a(await this[_0x1a598c(0x367)](_0x26dd44===se['ONLINE']));});});}[_0x331f6e(0x4e5)](){const _0x39495b=this['unitID'];return{'onStateChange':(_0x4a437b,_0x529475)=>{const _0x5a6140=_0x3305;if(_0x4a437b!==this[_0x5a6140(0x509)])throw new Error(_0x5a6140(0x36b)+_0x4a437b[_0x5a6140(0x518)]+'\x0aAfter:\x20'+_0x529475[_0x5a6140(0x518)]+_0x5a6140(0x50f)+this['_state'][_0x5a6140(0x518)]);this[_0x5a6140(0x14c)](_0x529475);},'onSendChangeset':_0x45e9a1=>{const _0x35a2f=_0x3305;_0x45e9a1[_0x35a2f(0x51a)]||(_0x45e9a1[_0x35a2f(0x51a)]=this[_0x35a2f(0x299)],_0x45e9a1[_0x35a2f(0x14a)]=++this[_0x35a2f(0x124)]);const _0x1bc72b={'eventID':p[_0x35a2f(0x1ac)][_0x35a2f(0x223)],'data':{'unitID':_0x45e9a1[_0x35a2f(0x1dc)],'unitType':this[_0x35a2f(0x403)],'changeset':_0x45e9a1,'memberID':this[_0x35a2f(0x194)]['getMemberID']()}};this['session']['send'](_0x1bc72b,this['unitID']);},'onMissingChangesets':({from:_0x1d0a8b,to:_0x5429b9})=>{const _0x42c81d=_0x3305;this[_0x42c81d(0x28d)][_0x42c81d(0x552)](_0x42c81d(0x177),_0x42c81d(0x170)+_0x1d0a8b+'\x20to\x20'+_0x5429b9);const _0x13db4e={'eventID':p[_0x42c81d(0x1ac)][_0x42c81d(0x131)],'data':{'unitID':_0x39495b,'unitType':this[_0x42c81d(0x403)],'from':_0x1d0a8b,'to':_0x5429b9}};this[_0x42c81d(0x194)]['send'](_0x13db4e,this[_0x42c81d(0x1dc)]);}};}async[_0x331f6e(0x367)](_0x260f18){const _0x1396c5=_0x331f6e;var _0x3ac820,_0xe1a21f;const _0x22bed4=await this[_0x1396c5(0x3cc)][_0x1396c5(0x418)](this['unitID']),_0x458423=(_0x3ac820=_0x22bed4==null?void 0x0:_0x22bed4[_0x1396c5(0x35d)])!=null?_0x3ac820:[],_0x382b28=(_0xe1a21f=_0x22bed4==null?void 0x0:_0x22bed4[_0x1396c5(0x472)])!=null?_0xe1a21f:null,_0x29e3ee=!!(_0x382b28!=null&&_0x382b28[_0x1396c5(0x51a)])&&!!(_0x382b28!=null&&_0x382b28[_0x1396c5(0x14a)]);this[_0x1396c5(0x299)]=_0x29e3ee?_0x382b28[_0x1396c5(0x51a)]:In(),this[_0x1396c5(0x124)]=_0x29e3ee?_0x382b28[_0x1396c5(0x14a)]:0x0;const _0x50d933=this[_0x1396c5(0x1dc)];try{this['_replayCachedMutations'](_0x382b28,_0x458423);}catch(_0x4e0f11){this[_0x1396c5(0x28d)][_0x1396c5(0x534)](_0x4e0f11);}const _0xd967a2=this['_createHandler']();if(_0x260f18){const _0x130499=gi(this[_0x1396c5(0xb0)],_0x50d933,this[_0x1396c5(0x403)],_0x382b28,_0x458423,_0xd967a2);return _0x130499 instanceof ce?_0x130499[_0x1396c5(0x2ec)]():(_0x130499 instanceof le||_0x130499 instanceof fe)&&_0x130499['resend'](),_0x130499;}return this[_0x1396c5(0xb0)]['createInstance'](Se,_0x50d933,this['_type'],_0x382b28,_0x458423,_0xd967a2);}[_0x331f6e(0x111)](_0x5bbf0b,_0x2094db){const _0x2b9467=_0x331f6e;var _0x5794f2,_0x95ff2;const _0x28995f=this[_0x2b9467(0x10a)][_0x2b9467(0x4a3)][_0x2b9467(0x3ac)](this['_compressMutationService'][_0x2b9467(0x4a3)][_0x2b9467(0x16e)]()[_0x2b9467(0x2df)]);(_0x5794f2=_0x28995f((_0x5bbf0b==null?void 0x0:_0x5bbf0b[_0x2b9467(0x35d)])||[],null))==null||_0x5794f2['forEach'](_0x1b21a3=>this[_0x2b9467(0x292)][_0x2b9467(0x478)](_0x1b21a3['id'],_0x1b21a3[_0x2b9467(0x3b6)])),(_0x95ff2=_0x28995f(_0x2094db||[],null))==null||_0x95ff2[_0x2b9467(0x34c)](_0x6d9754=>this['_commandService']['executeCommand'](_0x6d9754['id'],_0x6d9754[_0x2b9467(0x3b6)]));}},exports[_0x331f6e(0x281)]=Ot([H(0x3,a[_0x331f6e(0x397)](a[_0x331f6e(0x35f)])),H(0x4,a[_0x331f6e(0x397)](exports[_0x331f6e(0x301)])),H(0x5,a[_0x331f6e(0x397)](p[_0x331f6e(0x1d6)])),H(0x6,a[_0x331f6e(0x397)](a[_0x331f6e(0xe4)])),H(0x7,a[_0x331f6e(0x397)](p[_0x331f6e(0x3fa)])),H(0x8,a[_0x331f6e(0x228)]),H(0x9,a[_0x331f6e(0x48e)]),H(0xa,te[_0x331f6e(0x11f)]),H(0xb,a[_0x331f6e(0x276)]),H(0xc,a[_0x331f6e(0x350)](ze))],exports[_0x331f6e(0x281)]),exports[_0x331f6e(0x30e)]=class extends exports['CollaborationEntity']{constructor(_0x4a0d6,_0x1e3492,_0x315e11,_0xfd8882,_0x5f34c4,_0x2756c7,_0x3ee7ec,_0x21071e,_0x40938d,_0x39cf1d,_0x505a63,_0x5b3730,_0x5402de,_0x25f8cb,_0x4a78a1,_0x3d67c0,_0x471f2b,_0x19de26){const _0x34eb80=_0x331f6e;super(_0x4a0d6,_0x315e11,_0x1e3492,_0xfd8882,_0x5f34c4,_0x2756c7,_0x3ee7ec,_0x21071e,_0x25f8cb,_0x4a78a1,_0x3d67c0,_0x471f2b,_0x19de26),this['unitID']=_0x4a0d6,this['type']=_0x1e3492,this[_0x34eb80(0x19c)]=_0x40938d,this[_0x34eb80(0x483)]=_0x39cf1d,this['_docTransformStateCacheService']=_0x505a63,this[_0x34eb80(0x545)]=_0x5b3730,this[_0x34eb80(0x3f6)]=_0x5402de;}['_createHandler'](){const _0x49349b=_0x331f6e,_0xf9da48=super[_0x49349b(0x4e5)]();return _0xf9da48[_0x49349b(0x331)]=_0x42e504=>this[_0x49349b(0x483)][_0x49349b(0x1bc)](_0x42e504),_0xf9da48[_0x49349b(0x24e)]=_0x2f4f6d=>this['_docTransformStateCacheService']['transformStateCache'](_0x2f4f6d),_0xf9da48['onTransformSelections']=_0x135279=>this[_0x49349b(0x545)][_0x49349b(0x420)](_0x135279),_0xf9da48[_0x49349b(0xb9)]=_0x53625a=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x53625a),_0xf9da48[_0x49349b(0x317)]=_0x4fdac6=>this[_0x49349b(0x483)][_0x49349b(0x99)](_0x4fdac6),_0xf9da48[_0x49349b(0x53f)]=_0x45601d=>this[_0x49349b(0x48d)][_0x49349b(0x99)](_0x45601d),_0xf9da48;}async[_0x331f6e(0x247)](){const _0x19f0a4=_0x331f6e,_0xb11a9f=await super['_init']();return this[_0x19f0a4(0xd7)](this[_0x19f0a4(0x19c)]['docStateChange$']['pipe'](A[_0x19f0a4(0x1a2)](this[_0x19f0a4(0x361)]))[_0x19f0a4(0x31a)](_0x2e6908=>{const _0x2f3041=_0x19f0a4;if(_0x2e6908==null)return;const {unitId:_0x43087b,redoState:_0x294052,commandId:_0x2718be}=_0x2e6908;if(_0x43087b!==this[_0x2f3041(0x1dc)])return;const _0xce7ae7={'id':_0x2718be,'type':a['CommandType'][_0x2f3041(0x261)],'params':{'unitId':_0x43087b,'actions':_0x294052[_0x2f3041(0x237)],'textRanges':null}};this[_0x2f3041(0x4d4)](_0xce7ae7);})),this['disposeWithMe'](this[_0x19f0a4(0x292)][_0x19f0a4(0x2bc)]((_0x33d307,_0x538cda)=>{const _0x3e78ed=_0x19f0a4;if(_0x33d307['type']!==a[_0x3e78ed(0x1c4)][_0x3e78ed(0x261)]||_0x538cda!=null&&_0x538cda[_0x3e78ed(0x31f)]||_0x538cda!=null&&_0x538cda[_0x3e78ed(0x370)]||_0x33d307['id']===Ie[_0x3e78ed(0x42f)]['id'])return;const _0x25de48=_0x33d307[_0x3e78ed(0x3b6)];if((_0x25de48==null?void 0x0:_0x25de48['unitId'])!==this[_0x3e78ed(0x1dc)])return;const _0x538f3c=_0x33d307,_0x55808b=this[_0x3e78ed(0x10a)][_0x3e78ed(0x4a3)][_0x3e78ed(0x3ac)](this[_0x3e78ed(0x10a)][_0x3e78ed(0x4a3)][_0x3e78ed(0x16e)]()['COMPRESS_MUTATION_SEND'])([_0x538f3c],null)||[_0x538f3c];this[_0x3e78ed(0x4d4)](_0x55808b[0x0]);})),_0xb11a9f;}},exports[_0x331f6e(0x30e)]=Ot([H(0x3,a[_0x331f6e(0x397)](a[_0x331f6e(0x35f)])),H(0x4,a[_0x331f6e(0x397)](exports['LocalCacheService'])),H(0x5,a[_0x331f6e(0x397)](p[_0x331f6e(0x1d6)])),H(0x6,a['Inject'](a[_0x331f6e(0xe4)])),H(0x7,a['Inject'](p[_0x331f6e(0x3fa)])),H(0x8,a[_0x331f6e(0x397)](J[_0x331f6e(0x52a)])),H(0x9,a['Inject'](Be)),H(0xa,a[_0x331f6e(0x397)](We)),H(0xb,a[_0x331f6e(0x397)](Fe)),H(0xc,a[_0x331f6e(0x397)](yt)),H(0xd,a[_0x331f6e(0x228)]),H(0xe,a['ICommandService']),H(0xf,te[_0x331f6e(0x11f)]),H(0x10,a['IPermissionService']),H(0x11,a['Optional'](ze))],exports[_0x331f6e(0x30e)]),exports['SheetCollaborationEntity']=class extends exports[_0x331f6e(0x281)]{constructor(_0x5ac6ab,_0x36fafc,_0x12b529,_0x10c625,_0x42a6ee,_0x256c85,_0x4cf7f2,_0x4e616b,_0xa5d77b,_0x51f918,_0x32f84c,_0x34741e,_0x16e95c,_0x2b8d9f){const _0x14b57f=_0x331f6e;super(_0x5ac6ab,_0x12b529,_0x36fafc,_0x10c625,_0x42a6ee,_0x256c85,_0x4cf7f2,_0x4e616b,_0x51f918,_0x32f84c,_0x34741e,_0x16e95c,_0x2b8d9f),this[_0x14b57f(0x1dc)]=_0x5ac6ab,this[_0x14b57f(0x264)]=_0x36fafc,this[_0x14b57f(0x557)]=_0xa5d77b;}[_0x331f6e(0x4e5)](){const _0x2b4bdc=_0x331f6e,_0x4220de=super['_createHandler']();return _0x4220de['onTransformSelections']=_0x583535=>this[_0x2b4bdc(0x557)][_0x2b4bdc(0x420)](_0x583535),_0x4220de;}async[_0x331f6e(0x247)](){const _0x1c00e9=_0x331f6e,_0x196638=await super[_0x1c00e9(0x247)]();return this[_0x1c00e9(0xd7)](this[_0x1c00e9(0x292)][_0x1c00e9(0x2bc)]((_0x464997,_0x394bc8)=>{const _0x1ebff3=_0x1c00e9;if(_0x464997['type']!==a[_0x1ebff3(0x1c4)][_0x1ebff3(0x261)]||_0x394bc8!=null&&_0x394bc8[_0x1ebff3(0x31f)]||_0x394bc8!=null&&_0x394bc8[_0x1ebff3(0x370)])return;const _0x226cef=_0x464997[_0x1ebff3(0x3b6)];if((_0x226cef==null?void 0x0:_0x226cef[_0x1ebff3(0x410)])!==this[_0x1ebff3(0x1dc)])return;const _0x473d22=_0x464997,_0x136038=this[_0x1ebff3(0x10a)][_0x1ebff3(0x4a3)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x1ebff3(0x4a3)][_0x1ebff3(0x16e)]()[_0x1ebff3(0x191)])([_0x473d22],null)||[_0x473d22];this[_0x1ebff3(0x4d4)](_0x136038[0x0]);})),_0x196638;}},exports[_0x331f6e(0xfe)]=Ot([H(0x3,a[_0x331f6e(0x397)](a[_0x331f6e(0x35f)])),H(0x4,a[_0x331f6e(0x397)](exports[_0x331f6e(0x301)])),H(0x5,a[_0x331f6e(0x397)](p['CompressMutationService'])),H(0x6,a['Inject'](a[_0x331f6e(0xe4)])),H(0x7,a[_0x331f6e(0x397)](p[_0x331f6e(0x3fa)])),H(0x8,a[_0x331f6e(0x397)](ke)),H(0x9,a['ILogService']),H(0xa,a[_0x331f6e(0x48e)]),H(0xb,te[_0x331f6e(0x11f)]),H(0xc,a[_0x331f6e(0x276)]),H(0xd,a[_0x331f6e(0x350)](ze))],exports[_0x331f6e(0xfe)]);var Yn=Object[_0x331f6e(0x30b)],Kn=Object[_0x331f6e(0x29e)],qn=(_0x3b044b,_0x35dd13,_0x1cefc3,_0x3c63fd)=>{const _0x1f1d67=_0x331f6e;for(var _0x4892d5=_0x3c63fd>0x1?void 0x0:_0x3c63fd?Kn(_0x35dd13,_0x1cefc3):_0x35dd13,_0xc570dc=_0x3b044b[_0x1f1d67(0xa1)]-0x1,_0x53481d;_0xc570dc>=0x0;_0xc570dc--)(_0x53481d=_0x3b044b[_0xc570dc])&&(_0x4892d5=(_0x3c63fd?_0x53481d(_0x35dd13,_0x1cefc3,_0x4892d5):_0x53481d(_0x4892d5))||_0x4892d5);return _0x3c63fd&&_0x4892d5&&Yn(_0x35dd13,_0x1cefc3,_0x4892d5),_0x4892d5;},it=(_0x375ae7,_0x3494f0)=>(_0x34013a,_0x29dcba)=>_0x3494f0(_0x34013a,_0x29dcba,_0x375ae7);exports[_0x331f6e(0x4bc)]=class extends a['RxDisposable']{constructor(_0x58fa81,_0x49f091,_0x2901d9){const _0x709df4=_0x331f6e;super(),I(this,'_entities',new Map()),I(this,_0x709df4(0x491),new A[(_0x709df4(0x2d6))]()),(this[_0x709df4(0xb0)]=_0x58fa81,this[_0x709df4(0x1d3)]=_0x49f091,this[_0x709df4(0x2a1)]=_0x2901d9,this[_0x709df4(0x247)]());}[_0x331f6e(0x3b1)](){const _0x4f2e11=_0x331f6e;super['dispose'](),this[_0x4f2e11(0x45e)]['forEach'](_0x264cc1=>_0x264cc1[_0x4f2e11(0x3b1)]()),this[_0x4f2e11(0x45e)][_0x4f2e11(0x480)]();}[_0x331f6e(0x393)](_0x48f0ca){const _0x3c73e1=_0x331f6e;var _0x5260ac;return(_0x5260ac=this[_0x3c73e1(0x45e)][_0x3c73e1(0x532)](_0x48f0ca))!=null?_0x5260ac:null;}[_0x331f6e(0x2fc)](_0x4029a3){const _0x813a9=_0x331f6e,_0x53291b=this[_0x813a9(0x393)](_0x4029a3);return _0x53291b?A['of'](_0x53291b):this[_0x813a9(0x491)][_0x813a9(0x3ec)](V[_0x813a9(0x169)](_0x5f2b4f=>_0x5f2b4f[_0x813a9(0x1dc)]===_0x4029a3));}[_0x331f6e(0x247)](){const _0x55491e=_0x331f6e;this[_0x55491e(0x2a1)][_0x55491e(0x1ea)](a[_0x55491e(0x47c)][_0x55491e(0x234)])[_0x55491e(0x3ec)](A[_0x55491e(0x1a2)](this[_0x55491e(0x361)]),V[_0x55491e(0x54f)](0x10))['subscribe'](async _0x4c87be=>{const _0x57550e=_0x55491e,_0x2281bc=_0x4c87be[_0x57550e(0x141)](),_0x2a183c=await this[_0x57550e(0x386)](_0x2281bc,ne[_0x57550e(0x234)]);this[_0x57550e(0x45e)][_0x57550e(0x543)](_0x2281bc,_0x2a183c);}),this[_0x55491e(0x2a1)]['getTypeOfUnitAdded$'](a[_0x55491e(0x47c)][_0x55491e(0x236)])[_0x55491e(0x3ec)](A[_0x55491e(0x1a2)](this[_0x55491e(0x361)]),V['delay'](0x10))['pipe'](V[_0x55491e(0x169)](_0x5ab8f0=>!_0x5ab8f0['getUnitId']()[_0x55491e(0x97)]('__')))[_0x55491e(0x31a)](async _0x2b0270=>{const _0x56c2bd=_0x55491e,_0x492b94=_0x2b0270[_0x56c2bd(0x141)](),_0x35cdc2=await this[_0x56c2bd(0x386)](_0x492b94,ne[_0x56c2bd(0x236)]);this['_entities']['set'](_0x492b94,_0x35cdc2);}),A[_0x55491e(0x1c5)](this[_0x55491e(0x2a1)][_0x55491e(0x533)](a[_0x55491e(0x47c)][_0x55491e(0x234)]),this[_0x55491e(0x2a1)][_0x55491e(0x533)](a[_0x55491e(0x47c)][_0x55491e(0x236)]))[_0x55491e(0x3ec)](A[_0x55491e(0x1a2)](this[_0x55491e(0x361)]))[_0x55491e(0x31a)](_0x555619=>{const _0x4b0fae=_0x55491e,_0x27ae81=_0x555619[_0x4b0fae(0x141)](),_0x19cd27=this[_0x4b0fae(0x45e)][_0x4b0fae(0x532)](_0x27ae81);_0x19cd27&&(_0x19cd27[_0x4b0fae(0x3b1)](),this[_0x4b0fae(0x45e)]['delete'](_0x27ae81));});}async['_startCollaboration'](_0x1bc1b6,_0x2fb26b){const _0x4c823b=_0x331f6e,_0x1294be=await this[_0x4c823b(0x1d3)][_0x4c823b(0x206)](_0x1bc1b6),_0x453462=this[_0x4c823b(0xb0)][_0x4c823b(0x45b)](this[_0x4c823b(0x496)](_0x2fb26b),_0x1bc1b6,_0x2fb26b,_0x1294be);return await _0x453462[_0x4c823b(0x188)](),this[_0x4c823b(0x491)][_0x4c823b(0xd8)](_0x453462),_0x453462;}[_0x331f6e(0x496)](_0x42cf45){const _0x2450bd=_0x331f6e;switch(_0x42cf45){case ne[_0x2450bd(0x236)]:return exports['DocCollaborationEntity'];case ne['UNIVER_SHEET']:return exports[_0x2450bd(0xfe)];default:throw new Error(_0x2450bd(0xb3)+_0x42cf45);}}},exports[_0x331f6e(0x4bc)]=qn([it(0x0,a[_0x331f6e(0x397)](a['Injector'])),it(0x1,a[_0x331f6e(0x397)](exports[_0x331f6e(0x4cf)])),it(0x2,a[_0x331f6e(0x427)])],exports['CollaborationController']);function _0x3305(_0x47028b,_0x5d9e31){const _0x57efb1=_0x57ef();return _0x3305=function(_0x330500,_0x9949a0){_0x330500=_0x330500-0x8f;let _0x507a87=_0x57efb1[_0x330500];return _0x507a87;},_0x3305(_0x47028b,_0x5d9e31);}var zn=Object['defineProperty'],Xn=Object[_0x331f6e(0x29e)],Jn=(_0x2b56aa,_0x258a6d,_0x3839b7,_0x19f53a)=>{for(var _0x220edc=_0x19f53a>0x1?void 0x0:_0x19f53a?Xn(_0x258a6d,_0x3839b7):_0x258a6d,_0x367de3=_0x2b56aa['length']-0x1,_0x1be857;_0x367de3>=0x0;_0x367de3--)(_0x1be857=_0x2b56aa[_0x367de3])&&(_0x220edc=(_0x19f53a?_0x1be857(_0x258a6d,_0x3839b7,_0x220edc):_0x1be857(_0x220edc))||_0x220edc);return _0x19f53a&&_0x220edc&&zn(_0x258a6d,_0x3839b7,_0x220edc),_0x220edc;},Bt=(_0x2702b1,_0x477561)=>(_0x47bc7e,_0x28c877)=>_0x477561(_0x47bc7e,_0x28c877,_0x2702b1);let Ve=class extends a['RxDisposable']{constructor(_0x2bf397,_0xc6c4b4){const _0x2c7be8=_0x331f6e;super(),this[_0x2c7be8(0x3b4)]=_0x2bf397,this[_0x2c7be8(0x25e)]=_0xc6c4b4,this[_0x2c7be8(0x247)]();}[_0x331f6e(0x247)](){const _0x17253f=_0x331f6e,_0x583fe0=this;this['disposeWithMe'](this['_docClipboardService'][_0x17253f(0xd4)]({'onBeforePasteImage':async _0x4d9dd9=>{const _0x254f8c=_0x17253f,_0xfa0228=await _0x583fe0[_0x254f8c(0x25e)][_0x254f8c(0x46c)](_0x4d9dd9);return _0xfa0228?{'source':_0xfa0228[_0x254f8c(0x4f8)],'imageSourceType':_0xfa0228[_0x254f8c(0x4ce)]}:null;}}));}};Ve=Jn([Bt(0x0,J[_0x331f6e(0x128)]),Bt(0x1,ie[_0x331f6e(0x3d8)])],Ve);const kt=[_0x331f6e(0x36a),_0x331f6e(0x1d7),_0x331f6e(0x24d),_0x331f6e(0x212),_0x331f6e(0x198),_0x331f6e(0x29d)];class Dt extends a[_0x331f6e(0xba)]{constructor(){const _0x5c6801=_0x331f6e;super(...arguments),I(this,_0x5c6801(0x4d9),new Map()),I(this,'_colorIndex',0x0);}[_0x331f6e(0x402)](_0x15399d){const _0x40473b=_0x331f6e;if(this[_0x40473b(0x4d9)][_0x40473b(0x1c7)](_0x15399d))return this['_assignedColors'][_0x40473b(0x532)](_0x15399d);const _0x4e3072=kt[this[_0x40473b(0x1f9)]];return this['_colorIndex']=(this[_0x40473b(0x1f9)]+0x1)%kt[_0x40473b(0xa1)],this['_assignedColors'][_0x40473b(0x543)](_0x15399d,_0x4e3072),_0x4e3072;}}var Zn=Object[_0x331f6e(0x30b)],Qn=Object[_0x331f6e(0x29e)],es=(_0x585608,_0x5790f8,_0x1e6b71,_0x211c47)=>{const _0x39b248=_0x331f6e;for(var _0x46bc3a=_0x211c47>0x1?void 0x0:_0x211c47?Qn(_0x5790f8,_0x1e6b71):_0x5790f8,_0x139fe7=_0x585608[_0x39b248(0xa1)]-0x1,_0x11f2ac;_0x139fe7>=0x0;_0x139fe7--)(_0x11f2ac=_0x585608[_0x139fe7])&&(_0x46bc3a=(_0x211c47?_0x11f2ac(_0x5790f8,_0x1e6b71,_0x46bc3a):_0x11f2ac(_0x46bc3a))||_0x46bc3a);return _0x211c47&&_0x46bc3a&&Zn(_0x5790f8,_0x1e6b71,_0x46bc3a),_0x46bc3a;},me=(_0x2438dd,_0x2895b3)=>(_0x5ef2bd,_0x389a6c)=>_0x2895b3(_0x5ef2bd,_0x389a6c,_0x2438dd);const ts=0x12c,is=0x64;let pt=class extends a[_0x331f6e(0x49a)]{constructor(_0x2eb335,_0x5a943f,_0x3aa714,_0x14fea3,_0x550128,_0x52d300,_0x1cf3d5,_0x317307,_0x1371d7){const _0x1ab5fb=_0x331f6e;super(),I(this,_0x1ab5fb(0x246),!0x1),I(this,'_init',!0x1),I(this,_0x1ab5fb(0x55c),new A[(_0x1ab5fb(0x325))](new Map())),I(this,'cursorInfo$',this[_0x1ab5fb(0x55c)][_0x1ab5fb(0x4a4)]()),I(this,_0x1ab5fb(0x4ec),new A[(_0x1ab5fb(0x325))]([])),I(this,'roomMembers$',this[_0x1ab5fb(0x4ec)][_0x1ab5fb(0x3ec)](A[_0x1ab5fb(0x554)](ts))),I(this,_0x1ab5fb(0xd0),a[_0x1ab5fb(0x45a)](_0x106656=>{const _0xab24a8=_0x1ab5fb,_0x1028dd={'eventID':p['CollaborationEvent'][_0xab24a8(0xf5)],'data':{'unitID':this[_0xab24a8(0x1dc)],'memberID':this[_0xab24a8(0x4c4)][_0xab24a8(0x153)](),'selection':Si(_0x106656)}};this[_0xab24a8(0x4c4)][_0xab24a8(0x1f1)](_0x1028dd,this[_0xab24a8(0x1dc)]);},is)),(this['unitID']=_0x2eb335,this[_0x1ab5fb(0x4c4)]=_0x5a943f,this[_0x1ab5fb(0xb0)]=_0x3aa714,this['_colorAssignService']=_0x14fea3,this[_0x1ab5fb(0x1ba)]=_0x550128,this[_0x1ab5fb(0x287)]=_0x52d300,this['_transformService']=_0x1cf3d5,this[_0x1ab5fb(0x2a1)]=_0x317307,this[_0x1ab5fb(0x292)]=_0x1371d7);}get['cursorInfo'](){const _0x401a5f=_0x331f6e;return this[_0x401a5f(0x55c)][_0x401a5f(0x4f7)]();}get['roomMembers'](){const _0x307c3c=_0x331f6e;return this[_0x307c3c(0x4ec)][_0x307c3c(0x4f7)]();}[_0x331f6e(0x3b1)](){const _0x41fb8d=_0x331f6e;super['dispose'](),this['_cursorInfo$'][_0x41fb8d(0xd8)](new Map()),this[_0x41fb8d(0x55c)][_0x41fb8d(0x232)](),this[_0x41fb8d(0x4ec)][_0x41fb8d(0xd8)]([]),this[_0x41fb8d(0x4ec)][_0x41fb8d(0x232)]();}[_0x331f6e(0x188)](){const _0x5dc3f0=_0x331f6e;this['_init']||(this[_0x5dc3f0(0x247)]=!0x0,this[_0x5dc3f0(0x4c4)][_0x5dc3f0(0x50e)]['pipe'](A[_0x5dc3f0(0x1a2)](this['dispose$']))[_0x5dc3f0(0x31a)](_0x40f09f=>{const _0xa71fba=_0x5dc3f0;_0x40f09f===se[_0xa71fba(0x41a)]?this['_toggleOnline']():this[_0xa71fba(0x1d5)]();}),this['_session']['event$'][_0x5dc3f0(0x3ec)](A[_0x5dc3f0(0x1a2)](this['dispose$']))[_0x5dc3f0(0x31a)](_0x663674=>{const _0x59a14e=_0x5dc3f0,_0x440eea=_0x663674[_0x59a14e(0x473)];_0x440eea===p[_0x59a14e(0x1ac)][_0x59a14e(0xf5)]&&this[_0x59a14e(0x391)](_0x663674),_0x440eea===p[_0x59a14e(0x1ac)][_0x59a14e(0x2ac)]&&this['_onCursorDelete'](_0x663674);}),this['disposeWithMe'](this[_0x5dc3f0(0x292)][_0x5dc3f0(0x2bc)](_0x182d42=>{const _0x240367=_0x5dc3f0,_0x25e5e6=_0x182d42[_0x240367(0x3b6)];_0x25e5e6!=null&&this['_online']&&_0x182d42['id']===Ie[_0x240367(0x254)]['id']&&_0x25e5e6[_0x240367(0x410)]===this[_0x240367(0x1dc)]&&_0x25e5e6[_0x240367(0x43b)]===!0x1&&_0x25e5e6[_0x240367(0x192)][_0x240367(0xa1)]>0x0&&this[_0x240367(0xd0)](_0x25e5e6['ranges']);})),this[_0x5dc3f0(0x287)][_0x5dc3f0(0x358)][_0x5dc3f0(0x3ec)](A['takeUntil'](this[_0x5dc3f0(0x361)]))[_0x5dc3f0(0x31a)](_0x4b430e=>{const _0x6044c6=_0x5dc3f0;if((_0x4b430e==null?void 0x0:_0x4b430e['unitID'])!==this[_0x6044c6(0x1dc)])return;const _0x13df88={'eventID':p[_0x6044c6(0x1ac)][_0x6044c6(0xf5)],'data':_0x4b430e};this['_onCursorUpdate'](_0x13df88);}),this[_0x5dc3f0(0xd7)](this[_0x5dc3f0(0x292)]['onCommandExecuted'](_0x40f953=>{const _0x533475=_0x5dc3f0;if(_0x40f953[_0x533475(0x3b6)]==null)return;const _0x3b3ddc=_0x40f953[_0x533475(0x3b6)];if(_0x40f953['id']!==Ie[_0x533475(0x42f)]['id']||_0x3b3ddc['unitId']!==this[_0x533475(0x1dc)])return;const _0x4316ce={'id':_0x533475(0x310),'params':_0x3b3ddc},_0x11b7d5=this[_0x533475(0x32f)];for(const [_0x37a009,_0x8cba18]of _0x11b7d5){const _0x34af90={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x533475(0x1dc)],'actions':null,'textRanges':_0x8cba18['ranges']}},_0x45c920=this['_transformService'][_0x533475(0x30c)](_0x4316ce,_0x34af90,!0x1);if(p[_0x533475(0x296)](_0x45c920))throw _0x45c920[_0x533475(0x534)];_0x11b7d5[_0x533475(0x543)](_0x37a009,{..._0x8cba18,'ranges':_0x45c920['m2Prime'][_0x533475(0x3b6)][_0x533475(0x2a9)]});}queueMicrotask(()=>{const _0x25c873=_0x533475;this[_0x25c873(0x55c)][_0x25c873(0xd8)](_0x11b7d5);});})));}[_0x331f6e(0x391)](_0x43b17a){const _0x3c3867=_0x331f6e;var _0x743512,_0x17bbf7;const {memberID:_0x380600,selection:_0x3fbb22}=_0x43b17a['data'],_0x5eba95=Ln(_0x3fbb22),_0x24506e=(_0x17bbf7=(_0x743512=this[_0x3c3867(0x1ba)]['getMember'](this[_0x3c3867(0x1dc)],_0x380600))==null?void 0x0:_0x743512[_0x3c3867(0x2a2)])!=null?_0x17bbf7:_0x3c3867(0x2d5),_0xad0026={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x380600),'name':_0x24506e,'ranges':_0x5eba95},_0x1cc154=this['cursorInfo'];_0x1cc154[_0x3c3867(0x543)](_0x380600,_0xad0026),this[_0x3c3867(0x55c)][_0x3c3867(0xd8)](_0x1cc154);}['_onCursorDelete'](_0x11d6c0){const _0x206d86=_0x331f6e,{memberID:_0x36721b}=_0x11d6c0[_0x206d86(0x2fb)],_0x170142=this[_0x206d86(0x32f)];_0x170142[_0x206d86(0x3d4)](_0x36721b),this[_0x206d86(0x55c)]['next'](_0x170142);}[_0x331f6e(0xdf)](){const _0xefb70d=_0x331f6e;var _0x4f2286;if(this[_0xefb70d(0x246)]=!0x0,((_0x4f2286=this[_0xefb70d(0x2a1)]['getFocusedUnit']())==null?void 0x0:_0x4f2286['getUnitId']())!==this['unitID'])return;const _0x2176fb=this[_0xefb70d(0xb0)]['get'](Ie[_0xefb70d(0x115)])['getDocRanges']();Array['isArray'](_0x2176fb)&&_0x2176fb[_0xefb70d(0xa1)]>0x0&&this[_0xefb70d(0xd0)](_0x2176fb);}[_0x331f6e(0x1d5)](){this['_online']=!0x1;}};pt=es([me(0x2,a['Inject'](a[_0x331f6e(0x35f)])),me(0x3,a[_0x331f6e(0x397)](Dt)),me(0x4,a[_0x331f6e(0x397)](exports[_0x331f6e(0x3bd)])),me(0x5,a[_0x331f6e(0x397)](yt)),me(0x6,p[_0x331f6e(0x40d)]),me(0x7,a[_0x331f6e(0x427)]),me(0x8,a['ICommandService'])],pt);var ns=Object['defineProperty'],ss=Object[_0x331f6e(0x29e)],rs=(_0x1e9998,_0x4fbcae,_0x5df62c,_0x59a56e)=>{const _0x2561cd=_0x331f6e;for(var _0x6c2624=_0x59a56e>0x1?void 0x0:_0x59a56e?ss(_0x4fbcae,_0x5df62c):_0x4fbcae,_0x47f4ef=_0x1e9998[_0x2561cd(0xa1)]-0x1,_0x572dfa;_0x47f4ef>=0x0;_0x47f4ef--)(_0x572dfa=_0x1e9998[_0x47f4ef])&&(_0x6c2624=(_0x59a56e?_0x572dfa(_0x4fbcae,_0x5df62c,_0x6c2624):_0x572dfa(_0x6c2624))||_0x6c2624);return _0x59a56e&&_0x6c2624&&ns(_0x4fbcae,_0x5df62c,_0x6c2624),_0x6c2624;},Te=(_0x336427,_0x5b087d)=>(_0x232f29,_0x43e517)=>_0x5b087d(_0x232f29,_0x43e517,_0x336427);const os=0x12c,as=0x64,cs=()=>{let _0x16a460=[],_0x3fb59e=!0x1;return _0x32a481=>{_0x16a460['push'](_0x32a481),_0x3fb59e||(_0x3fb59e=!0x0,setTimeout(()=>{const _0x446650=_0x3305;_0x16a460[_0x446650(0x34c)](_0x1fdb40=>_0x1fdb40()),_0x16a460=[],_0x3fb59e=!0x1;}));};};let mt=class extends a[_0x331f6e(0x49a)]{constructor(_0x55e428,_0x509800,_0x58f1d1,_0x4cbe84,_0x45e2cb,_0x11577f,_0x70bc39,_0x2a3901){const _0xbb2914=_0x331f6e;super(),I(this,_0xbb2914(0x246),!0x1),I(this,_0xbb2914(0x247),!0x1),I(this,'_cursorInfo$',new A[(_0xbb2914(0x325))](new Map())),I(this,_0xbb2914(0x1e4),this[_0xbb2914(0x55c)][_0xbb2914(0x4a4)]()),I(this,_0xbb2914(0x4ec),new A[(_0xbb2914(0x325))]([])),I(this,'roomMembers$',this[_0xbb2914(0x4ec)]['pipe'](A[_0xbb2914(0x554)](os))),I(this,_0xbb2914(0xd0),a[_0xbb2914(0x45a)]((_0x4ae508,_0x19eeb9)=>{const _0x56df38=_0xbb2914,_0x149361={'eventID':p['CollaborationEvent'][_0x56df38(0xf5)],'data':{'unitID':this[_0x56df38(0x1dc)],'memberID':this['_session']['getMemberID'](),'selection':Mt['serializeRangeWithSheet'](_0x4ae508,_0x19eeb9[_0x56df38(0x4c9)])}};this[_0x56df38(0x4c4)]['send'](_0x149361,this['unitID']);},as)),(this[_0xbb2914(0x1dc)]=_0x55e428,this[_0xbb2914(0x4c4)]=_0x509800,this[_0xbb2914(0xb0)]=_0x58f1d1,this[_0xbb2914(0x4aa)]=_0x4cbe84,this[_0xbb2914(0x1ba)]=_0x45e2cb,this[_0xbb2914(0x2a1)]=_0x11577f,this[_0xbb2914(0x292)]=_0x70bc39,this[_0xbb2914(0x34f)]=_0x2a3901);}get[_0x331f6e(0x32f)](){const _0x3652f5=_0x331f6e;return this[_0x3652f5(0x55c)][_0x3652f5(0x4f7)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x331f6e(0x3b1)](){const _0x21b9ef=_0x331f6e;super['dispose'](),this[_0x21b9ef(0x55c)][_0x21b9ef(0xd8)](new Map()),this[_0x21b9ef(0x55c)][_0x21b9ef(0x232)](),this[_0x21b9ef(0x4ec)][_0x21b9ef(0xd8)]([]),this[_0x21b9ef(0x4ec)][_0x21b9ef(0x232)]();}[_0x331f6e(0x188)](){const _0x23ae4=_0x331f6e;this['_init']||(this['_init']=!0x0,this[_0x23ae4(0x4c4)][_0x23ae4(0x50e)]['pipe'](A[_0x23ae4(0x1a2)](this[_0x23ae4(0x361)]))[_0x23ae4(0x31a)](_0x547e1a=>{const _0x1aa79d=_0x23ae4;_0x547e1a===se['ONLINE']?this[_0x1aa79d(0xdf)]():this[_0x1aa79d(0x1d5)]();}),this[_0x23ae4(0x4c4)][_0x23ae4(0x37f)][_0x23ae4(0x3ec)](A[_0x23ae4(0x1a2)](this[_0x23ae4(0x361)]))[_0x23ae4(0x31a)](_0x1f3e09=>{const _0x1be173=_0x23ae4,_0x3ce97b=_0x1f3e09[_0x1be173(0x473)];_0x3ce97b===p['CollaborationEvent'][_0x1be173(0xf5)]&&this[_0x1be173(0x391)](_0x1f3e09),_0x3ce97b===p[_0x1be173(0x1ac)][_0x1be173(0x2ac)]&&this[_0x1be173(0x431)](_0x1f3e09);}),this[_0x23ae4(0x277)](),this[_0x23ae4(0xd7)](this['_commandService'][_0x23ae4(0x2bc)](_0x1659e0=>{const _0x238623=_0x23ae4;if(this[_0x238623(0x246)]&&_0x1659e0['id']===k['SetSelectionsOperation']['id']&&_0x1659e0[_0x238623(0x3b6)]['unitId']===this['unitID']){const _0x4a61ba=_0x1659e0[_0x238623(0x3b6)];this[_0x238623(0xd0)](_0x4a61ba[_0x238623(0x2f4)],_0x4a61ba[_0x238623(0x23f)][0x0]);}})));}[_0x331f6e(0x391)](_0x540906){const _0x1cafc4=_0x331f6e;var _0x171021,_0x1edf5b;const {memberID:_0x1fe611,selection:_0x49c56e}=_0x540906['data'],{sheetName:_0x3cab9f,range:_0x1b3ea6}=Mt['deserializeRangeWithSheet'](_0x49c56e),_0x25f679={'name':(_0x1edf5b=(_0x171021=this['_memberService']['getMember'](this[_0x1cafc4(0x1dc)],_0x1fe611))==null?void 0x0:_0x171021[_0x1cafc4(0x2a2)])!=null?_0x1edf5b:'Unknown\x20user','range':this[_0x1cafc4(0x4c7)](_0x3cab9f,_0x1b3ea6),'sheetID':_0x3cab9f,'color':this[_0x1cafc4(0x4aa)][_0x1cafc4(0x402)](_0x1fe611),'selection':_0x49c56e},_0x10d777=this[_0x1cafc4(0x32f)];_0x10d777[_0x1cafc4(0x543)](_0x1fe611,_0x25f679),this['_cursorInfo$'][_0x1cafc4(0xd8)](_0x10d777);}[_0x331f6e(0x431)](_0x21be2b){const _0x5ea3e6=_0x331f6e,{memberID:_0x4a03bd}=_0x21be2b[_0x5ea3e6(0x2fb)],_0x45f897=this[_0x5ea3e6(0x32f)];_0x45f897[_0x5ea3e6(0x3d4)](_0x4a03bd),this[_0x5ea3e6(0x55c)][_0x5ea3e6(0xd8)](_0x45f897);}[_0x331f6e(0x4c7)](_0x2c0c10,_0x22f4ff){const _0x16cffa=_0x331f6e;var _0x80fd17,_0x43f9be;const _0x57314d=(_0x43f9be=(_0x80fd17=this[_0x16cffa(0x2a1)]['getUniverSheetInstance'](this[_0x16cffa(0x1dc)]))==null?void 0x0:_0x80fd17['getSheetBySheetId'](_0x2c0c10))==null?void 0x0:_0x43f9be[_0x16cffa(0xa8)]();return(_0x57314d==null?void 0x0:_0x57314d[_0x16cffa(0xf0)](_0x24dcaa=>a[_0x16cffa(0x1db)][_0x16cffa(0x2b4)](_0x24dcaa,_0x22f4ff)))||_0x22f4ff;}[_0x331f6e(0x277)](){const _0x23153e=_0x331f6e,_0x56c15b=new a[(_0x23153e(0x1ad))](),_0x89ba21=cs(),_0x4101d9=()=>{const _0x583336=_0x23153e;_0x56c15b[_0x583336(0x3b1)]();const _0x39f5b6=(_0x3c13ad,_0x24a1eb,_0x1f62bc,_0x899786)=>{const _0x15cf2e=_0x583336;let _0x20a68f=[];switch(_0x3c13ad['id']){case k[_0x15cf2e(0x1b0)][_0x15cf2e(0x46b)]:{_0x20a68f=k[_0x15cf2e(0x2bd)](_0x3c13ad,_0x899786);break;}case k[_0x15cf2e(0x1b0)][_0x15cf2e(0x2e8)]:{_0x20a68f=k[_0x15cf2e(0xef)](_0x3c13ad,_0x899786);break;}case k['EffectRefRangId'][_0x15cf2e(0x1e1)]:{_0x20a68f=k['handleInsertCol'](_0x3c13ad,_0x899786);break;}case k[_0x15cf2e(0x1b0)][_0x15cf2e(0x417)]:{_0x20a68f=k[_0x15cf2e(0x460)](_0x3c13ad,_0x899786);break;}case k[_0x15cf2e(0x1b0)][_0x15cf2e(0x4f5)]:{_0x20a68f=k['handleInsertRangeMoveRight'](_0x3c13ad,_0x899786);break;}case k['EffectRefRangId']['InsertRowCommandId']:{_0x20a68f=k[_0x15cf2e(0x219)](_0x3c13ad,_0x899786);break;}case k[_0x15cf2e(0x1b0)][_0x15cf2e(0x273)]:{_0x20a68f=k[_0x15cf2e(0x303)](_0x3c13ad,_0x899786);break;}case k['EffectRefRangId'][_0x15cf2e(0x43e)]:{_0x20a68f=k[_0x15cf2e(0x2db)](_0x3c13ad,_0x899786);break;}case k[_0x15cf2e(0x1b0)]['RemoveRowCommandId']:{_0x20a68f=k['handleIRemoveRow'](_0x3c13ad,_0x899786);break;}}const _0x5d5213=k[_0x15cf2e(0x16c)](_0x20a68f,_0x899786),_0x4ddbb2=this[_0x15cf2e(0x32f)][_0x15cf2e(0x532)](_0x24a1eb);if(_0x4ddbb2&&_0x5d5213){const _0x4212af={..._0x4ddbb2,'range':_0x5d5213};this[_0x15cf2e(0x32f)][_0x15cf2e(0x543)](_0x24a1eb,_0x4212af),_0x89ba21(()=>{const _0x4840d2=_0x15cf2e,_0xed6865=this[_0x4840d2(0x34f)][_0x4840d2(0x31d)](_0x5d5213,_0x4877ba=>(_0xed6865[_0x4840d2(0x3b1)](),_0x39f5b6(_0x4877ba,_0x24a1eb,_0x1f62bc,_0x5d5213)));_0x56c15b[_0x4840d2(0x359)](_0xed6865);});}return{'redos':[],'undos':[]};};this[_0x583336(0x32f)]['forEach']((_0x148f34,_0x43ce74)=>{const _0x3a422f=_0x583336,{range:_0x471455,sheetID:_0x3975e4}=_0x148f34,_0x3ca07e=this[_0x3a422f(0x34f)][_0x3a422f(0x31d)](_0x471455,_0x4f712a=>(_0x3ca07e['dispose'](),_0x39f5b6(_0x4f712a,_0x43ce74,_0x3975e4,_0x471455)));_0x56c15b[_0x3a422f(0x359)](_0x3ca07e);});};this[_0x23153e(0xd7)](a[_0x23153e(0xd1)](this[_0x23153e(0x55c)]['subscribe'](()=>{_0x4101d9();})));}[_0x331f6e(0xdf)](){const _0x1c3fc1=_0x331f6e;var _0x2f423d,_0x440458;if(this['_online']=!0x0,((_0x2f423d=this['_univerInstanceService'][_0x1c3fc1(0x2f6)]())==null?void 0x0:_0x2f423d[_0x1c3fc1(0x141)]())!==this[_0x1c3fc1(0x1dc)])return;const _0x2c8f8f=(_0x440458=this[_0x1c3fc1(0xb0)]['get'](k[_0x1c3fc1(0x2d2)])['getCurrentSelections']())==null?void 0x0:_0x440458[0x0],_0x15d408=this[_0x1c3fc1(0x2a1)]['getCurrentUnitForType'](a[_0x1c3fc1(0x47c)][_0x1c3fc1(0x234)])['getActiveSheet']();_0x2c8f8f&&_0x15d408&&this['_updateLocalCursor'](_0x15d408[_0x1c3fc1(0x2b1)](),_0x2c8f8f);}['_toggleOffline'](){this['_online']=!0x1;}};mt=rs([Te(0x2,a[_0x331f6e(0x397)](a[_0x331f6e(0x35f)])),Te(0x3,a['Inject'](Dt)),Te(0x4,a['Inject'](exports[_0x331f6e(0x3bd)])),Te(0x5,a[_0x331f6e(0x427)]),Te(0x6,a[_0x331f6e(0x48e)]),Te(0x7,a['Inject'](k[_0x331f6e(0x205)]))],mt);var ls=Object[_0x331f6e(0x30b)],hs=Object[_0x331f6e(0x29e)],_s=(_0x2a6ae9,_0x3da637,_0x14fbd5,_0x445d8b)=>{const _0x320b75=_0x331f6e;for(var _0x5bf2c3=_0x445d8b>0x1?void 0x0:_0x445d8b?hs(_0x3da637,_0x14fbd5):_0x3da637,_0x395a6c=_0x2a6ae9[_0x320b75(0xa1)]-0x1,_0x201612;_0x395a6c>=0x0;_0x395a6c--)(_0x201612=_0x2a6ae9[_0x395a6c])&&(_0x5bf2c3=(_0x445d8b?_0x201612(_0x3da637,_0x14fbd5,_0x5bf2c3):_0x201612(_0x5bf2c3))||_0x5bf2c3);return _0x445d8b&&_0x5bf2c3&&ls(_0x3da637,_0x14fbd5,_0x5bf2c3),_0x5bf2c3;},nt=(_0x4da800,_0x26ac24)=>(_0x389fa5,_0x3919ea)=>_0x26ac24(_0x389fa5,_0x3919ea,_0x4da800);let De=class extends a[_0x331f6e(0x49a)]{constructor(_0x59f4ac,_0x218275,_0x262a7b){const _0x7896a0=_0x331f6e;super(),I(this,_0x7896a0(0x45e),new Map()),I(this,_0x7896a0(0x491),new A[(_0x7896a0(0x2d6))]()),(this[_0x7896a0(0x2a1)]=_0x59f4ac,this[_0x7896a0(0xb0)]=_0x218275,this[_0x7896a0(0x1d3)]=_0x262a7b,this[_0x7896a0(0x247)]());}[_0x331f6e(0x3b1)](){const _0x563737=_0x331f6e;super['dispose'](),this['_entityInit$'][_0x563737(0x232)](),this['_entities']['forEach'](_0x916da7=>_0x916da7[_0x563737(0x3b1)]());}[_0x331f6e(0x3a0)](_0x1fd7c9){const _0x4a1d47=_0x331f6e;return this[_0x4a1d47(0x45e)][_0x4a1d47(0x1c7)](_0x1fd7c9)?this['_entities']['get'](_0x1fd7c9)[_0x4a1d47(0x1e4)]:this[_0x4a1d47(0x491)][_0x4a1d47(0x3ec)](A[_0x4a1d47(0x169)](_0xff1766=>_0xff1766[_0x4a1d47(0x1dc)]===_0x1fd7c9),A[_0x4a1d47(0x47d)](_0x55c751=>_0x55c751[_0x4a1d47(0x1e4)]));}[_0x331f6e(0x247)](){const _0x4db4d1=_0x331f6e;this[_0x4db4d1(0x2a1)]['getTypeOfUnitAdded$'](a[_0x4db4d1(0x47c)]['UNIVER_SHEET'])[_0x4db4d1(0x3ec)](A[_0x4db4d1(0x1a2)](this[_0x4db4d1(0x361)]))[_0x4db4d1(0x31a)](async _0x4e3e67=>{const _0xa68499=_0x4db4d1,_0x521313=_0x4e3e67['getUnitId'](),_0x2655de=await this[_0xa68499(0x380)](_0x521313);this['_entityInit$'][_0xa68499(0xd8)](_0x2655de),this[_0xa68499(0x45e)][_0xa68499(0x543)](_0x521313,_0x2655de);}),this[_0x4db4d1(0x2a1)]['getTypeOfUnitAdded$'](a[_0x4db4d1(0x47c)][_0x4db4d1(0x236)])[_0x4db4d1(0x3ec)](A['takeUntil'](this[_0x4db4d1(0x361)]))['pipe'](A[_0x4db4d1(0x169)](_0x29d87e=>!_0x29d87e[_0x4db4d1(0x141)]()[_0x4db4d1(0x97)]('__')))[_0x4db4d1(0x31a)](async _0x59da99=>{const _0x7935d5=_0x4db4d1,_0x2d3322=_0x59da99[_0x7935d5(0x141)](),_0x34bb08=await this[_0x7935d5(0x49e)](_0x2d3322);this[_0x7935d5(0x491)]['next'](_0x34bb08),this[_0x7935d5(0x45e)][_0x7935d5(0x543)](_0x2d3322,_0x34bb08);}),A[_0x4db4d1(0x1c5)](this[_0x4db4d1(0x2a1)][_0x4db4d1(0x533)](a[_0x4db4d1(0x47c)][_0x4db4d1(0x236)]),this['_univerInstanceService'][_0x4db4d1(0x533)](a[_0x4db4d1(0x47c)][_0x4db4d1(0x234)]))[_0x4db4d1(0x3ec)](A[_0x4db4d1(0x1a2)](this[_0x4db4d1(0x361)]))['subscribe'](_0x21f2a9=>{const _0x2322b6=_0x4db4d1,_0x1d00d1=_0x21f2a9[_0x2322b6(0x141)](),_0x2c22bf=this[_0x2322b6(0x45e)]['get'](_0x1d00d1);_0x2c22bf&&(_0x2c22bf[_0x2322b6(0x3b1)](),this[_0x2322b6(0x45e)][_0x2322b6(0x3d4)](_0x1d00d1));});}async[_0x331f6e(0x380)](_0x1b6611){const _0x47dc5e=_0x331f6e,_0x3a9e36=await this[_0x47dc5e(0x1d3)]['requireSession'](_0x1b6611),_0xe91885=this[_0x47dc5e(0xb0)][_0x47dc5e(0x45b)](mt,_0x1b6611,_0x3a9e36);return _0xe91885[_0x47dc5e(0x188)](),_0xe91885;}async[_0x331f6e(0x49e)](_0x1b7554){const _0x1a7ada=_0x331f6e,_0x2e03e2=await this['_collabSessionService']['requireSession'](_0x1b7554),_0xf8feab=this[_0x1a7ada(0xb0)]['createInstance'](pt,_0x1b7554,_0x2e03e2);return _0xf8feab[_0x1a7ada(0x188)](),_0xf8feab;}};De=_s([nt(0x0,a[_0x331f6e(0x427)]),nt(0x1,a[_0x331f6e(0x397)](a['Injector'])),nt(0x2,a['Inject'](exports[_0x331f6e(0x4cf)]))],De);const Le=0x14,Wt=0xc8,st=0x4,us=0x5;function ds(_0x4ff004,_0x50d8ba){const _0x7ad602=_0x331f6e;let {radius:_0x2fabfd,width:_0x354c72,height:_0x232b87}=_0x50d8ba;_0x2fabfd=_0x2fabfd!=null?_0x2fabfd:0x0,_0x354c72=_0x354c72!=null?_0x354c72:0x1e,_0x232b87=_0x232b87!=null?_0x232b87:0x1e;let _0x3f9adf=0x0,_0x1bf22b=0x0,_0x488c0e=0x0;_0x3f9adf=_0x1bf22b=_0x488c0e=Math[_0x7ad602(0x396)](_0x2fabfd,_0x354c72/0x2,_0x232b87/0x2),_0x4ff004[_0x7ad602(0x3f7)](),_0x4ff004['moveTo'](_0x3f9adf,0x0),_0x4ff004['lineTo'](_0x354c72-_0x1bf22b,0x0),_0x4ff004[_0x7ad602(0x4dd)](_0x354c72-_0x1bf22b,_0x1bf22b,_0x1bf22b,Math['PI']*0x3/0x2,0x0,!0x1),_0x4ff004['lineTo'](_0x354c72,_0x232b87-_0x488c0e),_0x4ff004[_0x7ad602(0x4dd)](_0x354c72-_0x488c0e,_0x232b87-_0x488c0e,_0x488c0e,0x0,Math['PI']/0x2,!0x1),_0x4ff004['lineTo'](0x0,_0x232b87),_0x4ff004['lineTo'](0x0,_0x3f9adf),_0x4ff004['arc'](_0x3f9adf,_0x3f9adf,_0x3f9adf,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4ff004['closePath'](),_0x50d8ba[_0x7ad602(0x3c4)]&&(_0x4ff004[_0x7ad602(0x547)](),_0x4ff004['fillStyle']=_0x50d8ba['fill'],_0x50d8ba[_0x7ad602(0x3b3)]==='evenodd'?_0x4ff004['fill'](_0x7ad602(0xed)):_0x4ff004[_0x7ad602(0x3c4)](),_0x4ff004[_0x7ad602(0x157)]());}class Xe extends K['Shape']{constructor(_0x1a64d2,_0x2cd3cf){const _0x455eb4=_0x331f6e;super(_0x1a64d2,_0x2cd3cf),I(this,_0x455eb4(0x134)),I(this,_0x455eb4(0x4ba)),(this[_0x455eb4(0x134)]=_0x2cd3cf==null?void 0x0:_0x2cd3cf[_0x455eb4(0x134)],this[_0x455eb4(0x4ba)]=_0x2cd3cf==null?void 0x0:_0x2cd3cf[_0x455eb4(0x4ba)]);}static[_0x331f6e(0x4a1)](_0x5e54e9,_0x36daf7){const _0x383c7c=_0x331f6e,{text:_0x4c9008,color:_0x58684c}=_0x36daf7;_0x5e54e9[_0x383c7c(0x547)](),_0x5e54e9['font']=_0x383c7c(0x1de);const _0x5efca8=_0x5e54e9[_0x383c7c(0x1fa)](_0x4c9008)['width'],_0x5363bb=Math['min'](_0x5efca8+0x2*st,Wt);ds(_0x5e54e9,{'height':Le,'radius':0x4,'width':_0x5363bb,'fill':_0x58684c,'evented':!0x1}),_0x5e54e9[_0x383c7c(0x175)]=_0x383c7c(0x1e3);const _0x16f8ff=st,_0x530e9a=Le-us,_0x2cee96=Wt-0x2*st;if(_0x5efca8>_0x2cee96){let _0x1e7fe4='',_0x56a595=0x0;for(const _0x3d6a35 of _0x4c9008){const _0x4407ab=_0x5e54e9[_0x383c7c(0x1fa)](_0x3d6a35)[_0x383c7c(0x4bd)];if(_0x56a595+_0x4407ab<=_0x2cee96-_0x5e54e9[_0x383c7c(0x1fa)](_0x383c7c(0x2d7))[_0x383c7c(0x4bd)])_0x1e7fe4+=_0x3d6a35,_0x56a595+=_0x4407ab;else{_0x1e7fe4+=_0x383c7c(0x2d7);break;}}_0x5e54e9[_0x383c7c(0x151)](_0x1e7fe4,_0x16f8ff,_0x530e9a);}else _0x5e54e9[_0x383c7c(0x151)](_0x4c9008,_0x16f8ff,_0x530e9a);_0x5e54e9[_0x383c7c(0x157)]();}['_draw'](_0x23f6a0){const _0x45d2d2=_0x331f6e;Xe[_0x45d2d2(0x4a1)](_0x23f6a0,this);}}const rt='collab-text-anchor-',fs=_0x331f6e(0x204),vs=_0x331f6e(0x155),Ue=0x6,Ss=1.5,ot=0x4,ps=1.5,ms=_0x331f6e(0x3cb);class Ft{constructor(_0xd4e7f4,_0x556adc,_0x4104de,_0x23291b){const _0x50bad4=_0x331f6e;I(this,'_shapes',[]),I(this,_0x50bad4(0x15e),null),I(this,_0x50bad4(0x3ff),null),I(this,_0x50bad4(0x260),null),I(this,_0x50bad4(0xa2),null),I(this,_0x50bad4(0x189),null),(this[_0x50bad4(0x382)]=_0xd4e7f4,this[_0x50bad4(0x1f2)]=_0x556adc,this['_docSkeleton']=_0x4104de,this[_0x50bad4(0x154)]=_0x23291b,this[_0x50bad4(0x321)]());}set[_0x331f6e(0x4ac)](_0x2f586f){const _0x90ad71=_0x331f6e;_0x2f586f?(this[_0x90ad71(0x260)]&&this[_0x90ad71(0x260)]['hide'](),this[_0x90ad71(0x3ff)]&&this['_textBubble'][_0x90ad71(0x135)]()):(this['_anchorDot']&&this['_anchorDot']['show'](),this[_0x90ad71(0x3ff)]&&this[_0x90ad71(0x3ff)]['hide']());}[_0x331f6e(0x3b1)](){const _0x2f7de4=_0x331f6e;for(const _0xe1e96c of this[_0x2f7de4(0x1b2)])_0xe1e96c[_0x2f7de4(0x3b1)]();this[_0x2f7de4(0x3ff)]&&this[_0x2f7de4(0x3ff)][_0x2f7de4(0x3b1)](),this[_0x2f7de4(0x260)]&&this[_0x2f7de4(0x260)]['dispose'](),this['_anchor']&&this[_0x2f7de4(0x15e)][_0x2f7de4(0x3b1)](),this[_0x2f7de4(0x189)]&&this[_0x2f7de4(0x189)]();}[_0x331f6e(0x321)](){const _0x341ae0=_0x331f6e;var _0x2657d2;const {_docSkeleton:_0x17a8a8,_document:_0x458ff8}=this,{color:_0x1b0eee,name:_0x5c5c91,ranges:_0xdf58a4}=this[_0x341ae0(0x382)],_0x126c4f=_0x458ff8[_0x341ae0(0x465)](),{docsLeft:_0x27811d,docsTop:_0x5cd9f2}=_0x126c4f,_0x3c9fb8=new J[(_0x341ae0(0x1df))](_0x126c4f,_0x17a8a8);for(const {startOffset:_0xa3dd6e,endOffset:_0x2c2a96,rangeType:_0x441ad4,segmentId:_0x3f7a06,segmentPage:_0x2eeab8,collapsed:_0x349bcd,isActive:_0x4e73e9}of _0xdf58a4){const _0x15e2dd=_0x17a8a8[_0x341ae0(0xc8)](_0xa3dd6e,!0x0,_0x3f7a06,_0x2eeab8);let _0x1204e6=_0x17a8a8[_0x341ae0(0xc8)](_0x2c2a96,!0x0,_0x3f7a06,_0x2eeab8);if(_0x1204e6==null&&(_0x1204e6=_0x17a8a8[_0x341ae0(0xc8)](_0x2c2a96-0x1,!0x1,_0x3f7a06,_0x2eeab8)),_0x4e73e9){const {contentBoxPointGroup:_0x5e6ad1}=_0x3c9fb8[_0x341ae0(0x2ae)](_0x1204e6,_0x1204e6);if(_0x5e6ad1[_0x341ae0(0xa1)]===0x0)continue;this['_drawAnchor'](_0x1b0eee,_0x5e6ad1,_0x27811d,_0x5cd9f2,_0x5c5c91),this[_0x341ae0(0x189)]=this[_0x341ae0(0x1cf)]();}if(_0x15e2dd&&_0x1204e6){if(_0x441ad4===a[_0x341ae0(0x2e9)][_0x341ae0(0x1f0)]){const _0x542b89=new J['NodePositionConvertToRectRange'](_0x126c4f,_0x17a8a8),{pointGroup:_0x1654bf}=(_0x2657d2=_0x542b89[_0x341ae0(0x2ae)](_0x15e2dd,_0x1204e6))!=null?_0x2657d2:{};if(_0x1654bf==null||_0x1654bf['length']===0x0)continue;this[_0x341ae0(0x12d)](_0x1b0eee,_0x1654bf,_0x27811d,_0x5cd9f2);}else{if(!_0x349bcd){const {borderBoxPointGroup:_0x1054a8}=_0x3c9fb8[_0x341ae0(0x2ae)](_0x15e2dd,_0x1204e6);if(_0x1054a8['length']===0x0)continue;this[_0x341ae0(0x394)](_0x1b0eee,_0x1054a8,_0x27811d,_0x5cd9f2);}}}}}['_drawAnchor'](_0x1ba4b8,_0x1a4b4a,_0x1d0c59,_0x3fc1eb,_0x85dad6){const _0x14b6a2=_0x331f6e,_0xe537a6=this[_0x14b6a2(0x459)](_0x1a4b4a),{left:_0x366507,top:_0x2b9feb,height:_0x4748fe}=_0xe537a6,_0x2882f6=this['_getScale'](),_0x1bf553=ps/_0x2882f6,_0x1e0017=new K[(_0x14b6a2(0x1ec))](rt+a[_0x14b6a2(0x3b2)][_0x14b6a2(0x337)](Ue),{'left':_0x366507+_0x1d0c59-_0x1bf553,'top':_0x2b9feb+_0x3fc1eb,'height':_0x4748fe,'width':Ss,'fill':_0x1ba4b8||K[_0x14b6a2(0x357)](a[_0x14b6a2(0x54d)][_0x14b6a2(0x485)],0x0),'strokeWidth':_0x1bf553,'stroke':ms,'evented':!0x0});this[_0x14b6a2(0x15e)]=_0x1e0017,this['_scene']['addObject'](_0x1e0017,J[_0x14b6a2(0x2a5)]);const _0x2aece3=new K[(_0x14b6a2(0x1ec))](rt+a[_0x14b6a2(0x3b2)]['generateRandomId'](Ue),{'left':_0x366507+_0x1d0c59-_0x1bf553,'top':_0x2b9feb+_0x3fc1eb-ot/0x2,'height':ot,'width':ot,'fill':_0x1ba4b8||K[_0x14b6a2(0x357)](a['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x1ba4b8||K['getColor'](a[_0x14b6a2(0x54d)][_0x14b6a2(0x485)],0x0),'evented':!0x1});this[_0x14b6a2(0x260)]=_0x2aece3,this['_scene'][_0x14b6a2(0x142)](_0x2aece3,J['TEXT_RANGE_LAYER_INDEX']);const _0x35be42=new Xe(rt+a['Tools'][_0x14b6a2(0x337)](Ue),{'left':_0x366507+_0x1d0c59-_0x1bf553,'top':_0x2b9feb+_0x3fc1eb-Le,'text':_0x85dad6,'color':_0x1ba4b8});this[_0x14b6a2(0x3ff)]=_0x35be42,this[_0x14b6a2(0x1f2)][_0x14b6a2(0x142)](_0x35be42,J['TEXT_RANGE_LAYER_INDEX']),this[_0x14b6a2(0x4ac)]=!0x1;}[_0x331f6e(0x1cf)](){const _0x5d4360=_0x331f6e,_0x16b007=this['_anchor'][_0x5d4360(0x3f4)][_0x5d4360(0x3f0)](()=>{const _0x3100ee=_0x5d4360;this[_0x3100ee(0x4ac)]=!0x0;}),_0x60aa3f=this[_0x5d4360(0x15e)]['onPointerLeave$'][_0x5d4360(0x3f0)](()=>{const _0x3c5ae2=_0x5d4360;this[_0x3c5ae2(0xa2)]&&clearTimeout(this[_0x3c5ae2(0xa2)]),this[_0x3c5ae2(0xa2)]=setTimeout(()=>{const _0x4e2de8=_0x3c5ae2;this[_0x4e2de8(0x4ac)]=!0x1;},0x7d0);});return()=>{const _0x16c53b=_0x5d4360;_0x16b007['unsubscribe'](),_0x60aa3f[_0x16c53b(0x486)]();};}[_0x331f6e(0x394)](_0x4a94e5,_0x3758dc,_0x2b6d13,_0x40282f){const _0xade990=_0x331f6e,_0x770132=new a[(_0xade990(0x2e1))](_0x4a94e5)['setAlpha'](0.2)[_0xade990(0x481)](),_0x56a4f9=new K[(_0xade990(0x140))](fs+a[_0xade990(0x3b2)][_0xade990(0x337)](Ue),{'pointsGroup':_0x3758dc,'fill':_0x770132||K[_0xade990(0x357)](a[_0xade990(0x54d)]['black'],0.2),'left':_0x2b6d13,'top':_0x40282f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xade990(0x1b2)][_0xade990(0x256)](_0x56a4f9),this[_0xade990(0x1f2)]['addObject'](_0x56a4f9,J[_0xade990(0x2a5)]);}[_0x331f6e(0x12d)](_0x400c06,_0x34d7f4,_0x2946e0,_0x544275){const _0x20f671=_0x331f6e,_0x30b51f=new a[(_0x20f671(0x2e1))](_0x400c06)[_0x20f671(0x38d)](0.2)['toRgbString'](),_0x18fc9c=new K['RegularPolygon'](vs+a[_0x20f671(0x3b2)]['generateRandomId'](Ue),{'pointsGroup':_0x34d7f4,'fill':_0x30b51f||K['getColor'](a[_0x20f671(0x54d)][_0x20f671(0x485)],0.2),'left':_0x2946e0,'top':_0x544275,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x20f671(0x256)](_0x18fc9c),this[_0x20f671(0x1f2)]['addObject'](_0x18fc9c,J[_0x20f671(0x2a5)]);}[_0x331f6e(0x459)](_0x17fce1){const _0x279e3b=_0x17fce1[0x0],_0x3a1c59=_0x279e3b[0x0],_0x2eafb0=_0x279e3b[0x2],{x:_0x5accc9,y:_0x321316}=_0x3a1c59,{x:_0x5defb2,y:_0x38cb99}=_0x2eafb0;return{'left':_0x5accc9,'top':_0x321316,'width':_0x5defb2-_0x5accc9,'height':_0x38cb99-_0x321316};}['_getScale'](){const _0x1e8c2b=_0x331f6e,{scaleX:_0x33b89a,scaleY:_0x3f4550}=this[_0x1e8c2b(0x1f2)][_0x1e8c2b(0x259)]();return Math[_0x1e8c2b(0x517)](_0x33b89a,_0x3f4550);}}var gs=Object[_0x331f6e(0x30b)],Is=Object['getOwnPropertyDescriptor'],Cs=(_0x444ac6,_0x336777,_0x279e75,_0x5e828d)=>{const _0x24a1a3=_0x331f6e;for(var _0x266f3d=_0x5e828d>0x1?void 0x0:_0x5e828d?Is(_0x336777,_0x279e75):_0x336777,_0x229ea0=_0x444ac6[_0x24a1a3(0xa1)]-0x1,_0x4527b8;_0x229ea0>=0x0;_0x229ea0--)(_0x4527b8=_0x444ac6[_0x229ea0])&&(_0x266f3d=(_0x5e828d?_0x4527b8(_0x336777,_0x279e75,_0x266f3d):_0x4527b8(_0x266f3d))||_0x266f3d);return _0x5e828d&&_0x266f3d&&gs(_0x336777,_0x279e75,_0x266f3d),_0x266f3d;},je=(_0x2c634d,_0x5b3acf)=>(_0x5cf85a,_0x13bc41)=>_0x5b3acf(_0x5cf85a,_0x13bc41,_0x2c634d);let gt=class extends a[_0x331f6e(0x49a)]{constructor(_0x3c74b9,_0x5dd767,_0xf1a8f2,_0xbab512,_0x4e34f1){const _0x2cec47=_0x331f6e;super(),I(this,_0x2cec47(0x48b),[]),I(this,_0x2cec47(0xec),[]),(this[_0x2cec47(0x230)]=_0x3c74b9,this['_docSkeletonManagerService']=_0x5dd767,this[_0x2cec47(0x2b7)]=_0xf1a8f2,this[_0x2cec47(0x292)]=_0xbab512,this[_0x2cec47(0x378)]=_0x4e34f1,this[_0x2cec47(0x247)]());}['_init'](){const _0x38990b=_0x331f6e,_0xe4a09a=this['_context'][_0x38990b(0x410)],_0x557246=this[_0x38990b(0x539)];this[_0x38990b(0xd7)](A[_0x38990b(0x193)]([this[_0x38990b(0x2b7)][_0x38990b(0x3a0)](_0xe4a09a),this[_0x38990b(0x378)]['currentTheme$']])['pipe'](V[_0x38990b(0x442)](([_0x795bfa,_0x5d1a65])=>({'skeleton':_0x557246[_0x38990b(0xa7)](),'cursors':[..._0x795bfa[_0x38990b(0x4e8)]()][_0x38990b(0xfc)](_0x41456a=>({..._0x41456a,'color':_0x5d1a65[_0x41456a[_0x38990b(0x134)]]}))})))['subscribe'](_0x1b376b=>{const _0xeb6627=_0x38990b;if(this[_0xeb6627(0x2b2)](),_0x1b376b){const {skeleton:_0xf84312,cursors:_0x49d03c}=_0x1b376b;this[_0xeb6627(0x150)](_0xf84312,_0x49d03c);}})),this['_initResize'](),this[_0x38990b(0x18d)]();}[_0x331f6e(0x150)](_0x57ea6f,_0x354833){const _0x5363ff=_0x331f6e,{scene:_0x1f7ff6,mainComponent:_0x26d9cd}=this['_context'],_0x38d967=_0x354833[_0x5363ff(0x442)](_0x21434a=>new Ft(_0x21434a,_0x1f7ff6,_0x57ea6f,_0x26d9cd));this[_0x5363ff(0x48b)]=_0x38d967,this[_0x5363ff(0xec)]=_0x354833;}[_0x331f6e(0x4ae)](){const _0x103e6f=_0x331f6e;this['_removeCollabCursors']();const {scene:_0x3a6209,mainComponent:_0x11cdb1}=this[_0x103e6f(0x230)],_0x409b43=this[_0x103e6f(0x539)]['getSkeleton'](),_0x39b908=this[_0x103e6f(0xec)]['map'](_0x5e0a8b=>new Ft(_0x5e0a8b,_0x3a6209,_0x409b43,_0x11cdb1));this['_cursorShapes']=_0x39b908;}[_0x331f6e(0x2b2)](){const _0x179e89=_0x331f6e;this[_0x179e89(0x48b)][_0x179e89(0x34c)](_0x804cca=>_0x804cca[_0x179e89(0x3b1)]()),this[_0x179e89(0x48b)]=[];}[_0x331f6e(0x18d)](){const _0x672d23=_0x331f6e,_0x13cad1=[J[_0x672d23(0xa4)]['id']];this[_0x672d23(0xd7)](this[_0x672d23(0x292)]['onCommandExecuted'](_0x2724ae=>{const _0x1624d4=_0x672d23;_0x13cad1['includes'](_0x2724ae['id'])&&_0x2724ae['params']['unitId']===this[_0x1624d4(0x230)][_0x1624d4(0x410)]&&this['_refreshCollabCursors']();}));}[_0x331f6e(0x4fb)](){const _0x3bad4f=_0x331f6e;this[_0x3bad4f(0xd7)](a[_0x3bad4f(0x3de)](this[_0x3bad4f(0x230)]['engine']['onTransformChange$'])['pipe'](V[_0x3bad4f(0x169)](_0x30bba3=>_0x30bba3['type']===K[_0x3bad4f(0x516)][_0x3bad4f(0x411)]),V['throttleTime'](0x10))[_0x3bad4f(0x31a)](()=>{const _0x15176b=_0x3bad4f;this[_0x15176b(0x4ae)]();}));}};gt=Cs([je(0x1,a[_0x331f6e(0x397)](Ie[_0x331f6e(0x40b)])),je(0x2,a[_0x331f6e(0x397)](De)),je(0x3,a[_0x331f6e(0x48e)]),je(0x4,a[_0x331f6e(0x397)](a['ThemeService']))],gt);const Es=0x1,bs=1.5;class Ii extends K[_0x331f6e(0x24f)]{constructor(_0x50a66b,_0x2606c7){const _0x1e51ff=_0x331f6e;super(_0x50a66b,_0x2606c7),I(this,_0x1e51ff(0x16a)),I(this,_0x1e51ff(0x46a),!0x1),I(this,_0x1e51ff(0x2c2)),I(this,_0x1e51ff(0x53d),''),I(this,_0x1e51ff(0x2c0),_0x1e51ff(0x3c1)),I(this,'_backgroundColor'),(_0x2606c7&&this[_0x1e51ff(0x1ce)](_0x2606c7),this[_0x1e51ff(0x3f4)][_0x1e51ff(0x3f0)](()=>this[_0x1e51ff(0x1ce)]({'hovered':!0x0})),this[_0x1e51ff(0xa6)]['subscribeEvent'](()=>this[_0x1e51ff(0x1ce)]({'hovered':!0x1})));}[_0x331f6e(0x1ce)](_0x4ecdab){const _0x3d6149=_0x331f6e;var _0x5a9970,_0x23c243,_0x51cfe1,_0x54ed38,_0x53f6d6,_0x31322f;this['_color']=(_0x5a9970=_0x4ecdab[_0x3d6149(0x134)])!=null?_0x5a9970:this['_color'],this['_hovered']=(_0x23c243=_0x4ecdab[_0x3d6149(0xb4)])!=null?_0x23c243:this[_0x3d6149(0x46a)],this['_range']=(_0x51cfe1=_0x4ecdab['range'])!=null?_0x51cfe1:this[_0x3d6149(0x2c2)],this[_0x3d6149(0x53d)]=(_0x54ed38=_0x4ecdab['name'])!=null?_0x54ed38:this[_0x3d6149(0x53d)],this[_0x3d6149(0x2c0)]=(_0x53f6d6=_0x4ecdab[_0x3d6149(0x556)])!=null?_0x53f6d6:this[_0x3d6149(0x2c0)],this[_0x3d6149(0x3d3)]=(_0x31322f=_0x4ecdab[_0x3d6149(0x4bf)])!=null?_0x31322f:this[_0x3d6149(0x3d3)],this[_0x3d6149(0x479)]({'width':_0x4ecdab[_0x3d6149(0x4bd)],'height':_0x4ecdab[_0x3d6149(0x1d8)]});}['onMouseMove'](_0xd39254){const _0x5d15c9=_0x331f6e,{row:_0x1e39f3,column:_0x1af361}=_0xd39254;if(_0x1e39f3>=this['_range'][_0x5d15c9(0x148)]&&_0x1e39f3<=this[_0x5d15c9(0x2c2)][_0x5d15c9(0x502)]&&_0x1af361>=this[_0x5d15c9(0x2c2)]['startColumn']&&_0x1af361<=this[_0x5d15c9(0x2c2)][_0x5d15c9(0x161)]){this[_0x5d15c9(0x1ce)]({'hovered':!0x0});return;}this[_0x5d15c9(0x1ce)]({'hovered':!0x1});}[_0x331f6e(0x12a)](_0x2dd23f){return!0x1;}[_0x331f6e(0x346)](_0x160d77){const _0x5115a4=_0x331f6e;K[_0x5115a4(0x1ec)][_0x5115a4(0x4a1)](_0x160d77,{'width':this[_0x5115a4(0x4bd)],'height':this[_0x5115a4(0x1d8)],'strokeWidth':bs,'stroke':this[_0x5115a4(0x16a)],'evented':!0x1,'fill':this[_0x5115a4(0x3d3)]}),this[_0x5115a4(0x46a)]&&(_0x160d77['save'](),_0x160d77[_0x5115a4(0x4ab)](0x1,0x0,0x0,0x1,this[_0x5115a4(0x4bd)],this[_0x5115a4(0x2c0)]==='bottom'?0x0:-Le),Xe[_0x5115a4(0x4a1)](_0x160d77,{'text':this[_0x5115a4(0x53d)],'color':this[_0x5115a4(0x16a)]}),_0x160d77[_0x5115a4(0x157)]());}}var Ts=Object[_0x331f6e(0x30b)],Rs=Object[_0x331f6e(0x29e)],ys=(_0x50d464,_0x4f1de2,_0x3540b2,_0x17c70d)=>{for(var _0x9dac30=_0x17c70d>0x1?void 0x0:_0x17c70d?Rs(_0x4f1de2,_0x3540b2):_0x4f1de2,_0x1062c2=_0x50d464['length']-0x1,_0x57384c;_0x1062c2>=0x0;_0x1062c2--)(_0x57384c=_0x50d464[_0x1062c2])&&(_0x9dac30=(_0x17c70d?_0x57384c(_0x4f1de2,_0x3540b2,_0x9dac30):_0x57384c(_0x9dac30))||_0x9dac30);return _0x17c70d&&_0x9dac30&&Ts(_0x4f1de2,_0x3540b2,_0x9dac30),_0x9dac30;},at=(_0x2f380c,_0x56f069)=>(_0x258a51,_0x9cf5ba)=>_0x56f069(_0x258a51,_0x9cf5ba,_0x2f380c);const Os=0x1389;let It=class extends a[_0x331f6e(0x49a)]{constructor(_0x154e15,_0x3d9561,_0x28e159,_0x30cf7f){const _0x498baf=_0x331f6e;super(),I(this,_0x498baf(0xec),new Set()),I(this,_0x498baf(0x3c6),null),(this[_0x498baf(0x230)]=_0x154e15,this[_0x498baf(0x454)]=_0x3d9561,this['_collabCursorController']=_0x28e159,this['_themeService']=_0x30cf7f,this[_0x498baf(0x247)]());}['_init'](){const _0x395bd4=_0x331f6e;this['_sheetSkeletonManagerService'][_0x395bd4(0xb8)]['pipe'](V[_0x395bd4(0x1a2)](this[_0x395bd4(0x361)]),V['switchMap'](_0x44d6ea=>{const _0x420570=_0x395bd4;if(_0x44d6ea){const _0x13c03d=_0x44d6ea[_0x420570(0x2cc)];return A[_0x420570(0x193)](this[_0x420570(0x2b7)][_0x420570(0x3a0)](this[_0x420570(0x230)]['unitId']),this[_0x420570(0x378)][_0x420570(0x30a)])['pipe'](V[_0x420570(0x442)](([_0x15ed32,_0x1410d0])=>{const _0x110522=_0x420570,_0x4bfe72=new Map();return _0x15ed32[_0x110522(0x34c)]((_0x38db43,_0x3239bf)=>{const _0x4deb98=_0x110522;if(_0x38db43['sheetID']===_0x13c03d){const _0x586bfa={..._0x38db43};_0x586bfa[_0x4deb98(0x134)]=_0x1410d0[_0x38db43[_0x4deb98(0x134)]],_0x4bfe72[_0x4deb98(0x543)](_0x3239bf,_0x586bfa);}}),{'skeleton':_0x44d6ea,'cursors':_0x4bfe72};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))[_0x395bd4(0x31a)](({skeleton:_0x2be096,cursors:_0x4d8b56})=>{const _0x4b68d9=_0x395bd4;this[_0x4b68d9(0x2b2)](),_0x2be096&&this[_0x4b68d9(0x150)](_0x2be096,_0x4d8b56);}),this[_0x395bd4(0x454)]['currentSkeleton$'][_0x395bd4(0x31a)](_0x231e05=>{const _0x270474=_0x395bd4;if(_0x231e05==null)return;const {skeleton:_0x526fde}=_0x231e05,{scene:_0x29a314}=this[_0x270474(0x230)];_0x29a314[_0x270474(0x263)][_0x270474(0x3f0)](a[_0x270474(0x45a)](_0x15fa63=>{const _0x34a523=_0x270474;var _0x21ce1e,_0x4f49cb;const {offsetX:_0x197e13,offsetY:_0x5f3fd1}=_0x15fa63,{x:_0x54b7d5,y:_0x15822e}=_0x29a314[_0x34a523(0x220)](K[_0x34a523(0x443)]['FromArray']([_0x197e13,_0x5f3fd1])),{scaleX:_0x4e5d05,scaleY:_0x282c6d}=_0x29a314['getAncestorScale'](),_0x7b1652=_0x29a314[_0x34a523(0x544)](ye[_0x34a523(0xca)][_0x34a523(0x126)]),_0x54056a=_0x29a314[_0x34a523(0x384)](K[_0x34a523(0x443)][_0x34a523(0x26f)]([_0x54b7d5,_0x15822e]),_0x7b1652),_0x539d0a=_0x526fde['getCellPositionByOffset'](_0x197e13,_0x5f3fd1,_0x4e5d05,_0x282c6d,_0x54056a);((_0x21ce1e=this[_0x34a523(0x3c6)])==null?void 0x0:_0x21ce1e[_0x34a523(0xea)])===_0x539d0a[_0x34a523(0xea)]&&((_0x4f49cb=this[_0x34a523(0x3c6)])==null?void 0x0:_0x4f49cb[_0x34a523(0x327)])===_0x539d0a[_0x34a523(0x327)]||this[_0x34a523(0xec)][_0x34a523(0x34c)](_0x3ce9b5=>{const _0x10c829=_0x34a523;_0x3ce9b5[_0x10c829(0x468)](_0x539d0a);});},0x64));});}[_0x331f6e(0x150)](_0x1117fd,_0x2976b9){const _0x559c06=_0x331f6e;var _0x7ce4ca;const _0x2374b7=(_0x7ce4ca=this[_0x559c06(0x454)][_0x559c06(0x2dc)]())==null?void 0x0:_0x7ce4ca[_0x559c06(0x3c2)];if(!_0x2374b7)return;const _0x2f3646=this['_getSheetObject']();if(!_0x2f3646)return;this['_cursors'][_0x559c06(0x34c)](_0x2ef7b7=>{const _0x5d9ed0=_0x559c06;_0x2ef7b7[_0x5d9ed0(0x120)]();});const {scene:_0x3e1d13}=_0x2f3646,_0x555219=Ds(Array['from'](_0x2976b9['values']()))[_0x559c06(0x442)](_0x1680e3=>{const _0x51d5da=_0x559c06,{color:_0x36bce9,range:_0x5b6fce,name:_0x2b4a66,selection:_0x2aa866,sheetID:_0x3207d2}=_0x1680e3,{startColumn:_0xb6b587,startRow:_0x39c621,endColumn:_0x557c66,endRow:_0x3caf1c}=_0x5b6fce,_0xa27dc7=ye[_0x51d5da(0x52f)](_0x39c621,_0xb6b587,_0x3e1d13,_0x2374b7),_0x400e23=ye[_0x51d5da(0x52f)](_0x3caf1c,_0x557c66,_0x3e1d13,_0x2374b7),{columnHeaderHeightAndMarginTop:_0x12eab5}=_0x2374b7,{startX:_0x450153,startY:_0x4a793f}=_0xa27dc7,{endX:_0x561f57,endY:_0x5b940c}=_0x400e23,_0x44213d=_0x561f57-_0x450153,_0x1904bc=_0x5b940c-_0x4a793f,_0x1939f3={'labelPosition':_0x4a793f-_0x12eab5>=Le?_0x51d5da(0x3c1):_0x51d5da(0x1d0),'sheetID':_0x3207d2,'range':_0x5b6fce,'color':_0x36bce9,'name':_0x2b4a66,'selection':_0x2aa866,'left':_0x450153,'top':_0x4a793f,'width':_0x44213d,'height':_0x1904bc,'evented':!0x1,'zIndex':Os};return new Ii(_0x2b4a66,_0x1939f3);});_0x3e1d13[_0x559c06(0x9a)](_0x555219,Es),this[_0x559c06(0xec)]=new Set(_0x555219);}[_0x331f6e(0x2b2)](){const _0x191c7b=_0x331f6e;var _0x2e5990;(_0x2e5990=this['_cursors'])==null||_0x2e5990[_0x191c7b(0x34c)](_0x3bf09d=>_0x3bf09d[_0x191c7b(0x3b1)]());}['_getSheetObject'](){const _0x237aea=_0x331f6e;return ye[_0x237aea(0x1c1)](this[_0x237aea(0x230)]['unit'],this['_context']);}};It=ys([at(0x1,a['Inject'](ye['SheetSkeletonManagerService'])),at(0x2,a[_0x331f6e(0x397)](De)),at(0x3,a[_0x331f6e(0x397)](a[_0x331f6e(0x424)]))],It);function Ds(_0x5707e2){const _0x2de398=_0x331f6e,_0x4351ea=new Map();return _0x5707e2[_0x2de398(0x34c)](_0x44d4bc=>{const _0x2ffe90=_0x2de398;if(_0x4351ea[_0x2ffe90(0x1c7)](_0x44d4bc[_0x2ffe90(0x304)])){const _0x3a671c=_0x4351ea[_0x2ffe90(0x532)](_0x44d4bc[_0x2ffe90(0x304)]);_0x3a671c[_0x2ffe90(0x2a2)]+=',\x20'+_0x44d4bc['name'];}else _0x4351ea[_0x2ffe90(0x543)](_0x44d4bc['selection'],_0x44d4bc);}),Array['from'](_0x4351ea[_0x2de398(0x4e8)]());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0x2adfa0){const _0x18b975=_0x331f6e;return _0x2adfa0&&_0x2adfa0[_0x18b975(0x238)]&&Object[_0x18b975(0x290)]['hasOwnProperty']['call'](_0x2adfa0,'default')?_0x2adfa0[_0x18b975(0x395)]:_0x2adfa0;}var Ci={'exports':{}},Je={},Ps=ae,ws=Symbol[_0x331f6e(0x328)]('react.element'),Us=Symbol[_0x331f6e(0x328)](_0x331f6e(0x255)),Ms=Object[_0x331f6e(0x290)][_0x331f6e(0x316)],As=Ps[_0x331f6e(0x233)][_0x331f6e(0x118)],Ns={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function Ei(_0x3cab85,_0x4a2813,_0x4a8b7d){const _0x1326d6=_0x331f6e;var _0x506fab,_0x27f737={},_0x4547b8=null,_0x3dd331=null;_0x4a8b7d!==void 0x0&&(_0x4547b8=''+_0x4a8b7d),_0x4a2813[_0x1326d6(0x9f)]!==void 0x0&&(_0x4547b8=''+_0x4a2813[_0x1326d6(0x9f)]),_0x4a2813[_0x1326d6(0x14b)]!==void 0x0&&(_0x3dd331=_0x4a2813['ref']);for(_0x506fab in _0x4a2813)Ms[_0x1326d6(0x185)](_0x4a2813,_0x506fab)&&!Ns[_0x1326d6(0x316)](_0x506fab)&&(_0x27f737[_0x506fab]=_0x4a2813[_0x506fab]);if(_0x3cab85&&_0x3cab85[_0x1326d6(0x3d0)]){for(_0x506fab in(_0x4a2813=_0x3cab85[_0x1326d6(0x3d0)],_0x4a2813))_0x27f737[_0x506fab]===void 0x0&&(_0x27f737[_0x506fab]=_0x4a2813[_0x506fab]);}return{'$$typeof':ws,'type':_0x3cab85,'key':_0x4547b8,'ref':_0x3dd331,'props':_0x27f737,'_owner':As[_0x1326d6(0x448)]};}Je[_0x331f6e(0x1a5)]=Us,Je[_0x331f6e(0x156)]=Ei,Je[_0x331f6e(0x2fe)]=Ei,Ci[_0x331f6e(0x371)]=Je;var ge=Ci[_0x331f6e(0x371)],ee=function(){const _0x23dcdf=_0x331f6e;return ee=Object[_0x23dcdf(0xe0)]||function(_0x313fe8){const _0x31b822=_0x23dcdf;for(var _0x2df862,_0x50eb88=0x1,_0x3d750a=arguments[_0x31b822(0xa1)];_0x50eb88<_0x3d750a;_0x50eb88++){_0x2df862=arguments[_0x50eb88];for(var _0x81f07e in _0x2df862)Object[_0x31b822(0x290)][_0x31b822(0x316)]['call'](_0x2df862,_0x81f07e)&&(_0x313fe8[_0x81f07e]=_0x2df862[_0x81f07e]);}return _0x313fe8;},ee[_0x23dcdf(0x2d4)](this,arguments);},Ls=function(_0x1e19e1,_0x4c0089){const _0x17e8e4=_0x331f6e;var _0x144c54={};for(var _0x4150cf in _0x1e19e1)Object[_0x17e8e4(0x290)][_0x17e8e4(0x316)]['call'](_0x1e19e1,_0x4150cf)&&_0x4c0089[_0x17e8e4(0x413)](_0x4150cf)<0x0&&(_0x144c54[_0x4150cf]=_0x1e19e1[_0x4150cf]);if(_0x1e19e1!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x41473d=0x0,_0x4150cf=Object[_0x17e8e4(0x265)](_0x1e19e1);_0x41473d<_0x4150cf[_0x17e8e4(0xa1)];_0x41473d++)_0x4c0089[_0x17e8e4(0x413)](_0x4150cf[_0x41473d])<0x0&&Object[_0x17e8e4(0x290)][_0x17e8e4(0x200)][_0x17e8e4(0x185)](_0x1e19e1,_0x4150cf[_0x41473d])&&(_0x144c54[_0x4150cf[_0x41473d]]=_0x1e19e1[_0x4150cf[_0x41473d]]);}return _0x144c54;},Pt=ae[_0x331f6e(0x334)](function(_0xf89db9,_0x16ff63){const _0x141a5b=_0x331f6e;var _0x1a3bf9=_0xf89db9[_0x141a5b(0xad)],_0x3fd000=_0xf89db9['id'],_0x5c0f2e=_0xf89db9[_0x141a5b(0x27a)],_0x4f4d4d=_0xf89db9[_0x141a5b(0x4a6)],_0x231769=Ls(_0xf89db9,[_0x141a5b(0xad),'id',_0x141a5b(0x27a),_0x141a5b(0x4a6)]),_0x297790=_0x141a5b(0x365)[_0x141a5b(0x172)](_0x3fd000,'\x20')['concat'](_0x5c0f2e||'')[_0x141a5b(0x4af)](),_0x1e1bdf=ae[_0x141a5b(0x52d)]('_'[_0x141a5b(0x172)]($s()));return bi(_0x1a3bf9,''[_0x141a5b(0x172)](_0x3fd000),{'defIds':_0x1a3bf9['defIds'],'idSuffix':_0x1e1bdf['current']},ee({'ref':_0x16ff63,'className':_0x297790},_0x231769),_0x4f4d4d);});function bi(_0x3b39d0,_0x3b77a7,_0x2d90f7,_0x2f3691,_0x5b63c9){const _0x7c4a36=_0x331f6e;return ae[_0x7c4a36(0x340)](_0x3b39d0[_0x7c4a36(0x108)],ee(ee({'key':_0x3b77a7},xs(_0x3b39d0,_0x2d90f7,_0x5b63c9)),_0x2f3691),(js(_0x3b39d0,_0x2d90f7)[_0x7c4a36(0x336)]||[])[_0x7c4a36(0x442)](function(_0x5c38e8,_0x48f31c){const _0x3e7d9e=_0x7c4a36;return bi(_0x5c38e8,''[_0x3e7d9e(0x172)](_0x3b77a7,'-')[_0x3e7d9e(0x172)](_0x3b39d0[_0x3e7d9e(0x108)],'-')['concat'](_0x48f31c),_0x2d90f7,void 0x0,_0x5b63c9);}));}function xs(_0x580779,_0x3960f1,_0x44ba85){const _0x35452c=_0x331f6e;var _0x2f6d0e=ee({},_0x580779[_0x35452c(0x3a8)]);_0x44ba85!=null&&_0x44ba85[_0x35452c(0x1aa)]&&_0x2f6d0e[_0x35452c(0x3c4)]==='colorChannel1'&&(_0x2f6d0e['fill']=_0x44ba85['colorChannel1']);var _0x2462a1=_0x3960f1[_0x35452c(0x18e)];return!_0x2462a1||_0x2462a1['length']===0x0||(_0x580779[_0x35452c(0x108)]===_0x35452c(0x117)&&_0x2f6d0e[_0x35452c(0x295)]&&(_0x2f6d0e[_0x35452c(0x295)]=_0x2f6d0e[_0x35452c(0x295)]+_0x3960f1[_0x35452c(0xc4)]),Object[_0x35452c(0x414)](_0x2f6d0e)[_0x35452c(0x34c)](function(_0x4ad15d){const _0x4487f3=_0x35452c;var _0x2e806b=_0x4ad15d[0x0],_0x131a3b=_0x4ad15d[0x1];typeof _0x131a3b=='string'&&(_0x2f6d0e[_0x2e806b]=_0x131a3b[_0x4487f3(0x3e2)](/url\(#(.*)\)/,_0x4487f3(0x49c)[_0x4487f3(0x172)](_0x3960f1['idSuffix'],')')));})),_0x2f6d0e;}function js(_0x1e0d9f,_0x26f387){const _0x11895a=_0x331f6e;var _0x4be688,_0x149292=_0x26f387[_0x11895a(0x18e)];return!_0x149292||_0x149292[_0x11895a(0xa1)]===0x0?_0x1e0d9f:_0x1e0d9f['tag']===_0x11895a(0x41f)&&(!((_0x4be688=_0x1e0d9f['children'])===null||_0x4be688===void 0x0)&&_0x4be688[_0x11895a(0xa1)])?ee(ee({},_0x1e0d9f),{'children':_0x1e0d9f['children']['map'](function(_0x234945){const _0xc6faf=_0x11895a;return typeof _0x234945['attrs']['id']==_0xc6faf(0x20e)&&_0x149292&&_0x149292[_0xc6faf(0x413)](_0x234945[_0xc6faf(0x3a8)]['id'])>-0x1?ee(ee({},_0x234945),{'attrs':ee(ee({},_0x234945[_0xc6faf(0x3a8)]),{'id':_0x234945[_0xc6faf(0x3a8)]['id']+_0x26f387[_0xc6faf(0xc4)]})}):_0x234945;})}):_0x1e0d9f;}function $s(){const _0x342724=_0x331f6e;return Math['random']()['toString'](0x24)[_0x342724(0x4e2)](0x2,0x8);}Pt[_0x331f6e(0xd6)]=_0x331f6e(0x503);var Hs={'tag':'svg','attrs':{'fill':_0x331f6e(0x1a7),'viewBox':_0x331f6e(0x3a6),'width':_0x331f6e(0x307),'height':_0x331f6e(0x307)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x331f6e(0x279),'attrs':{'stroke':_0x331f6e(0x4fd),'d':_0x331f6e(0x548),'strokeLinecap':_0x331f6e(0xac),'strokeLinejoin':_0x331f6e(0xac),'strokeWidth':1.2}}]},{'tag':_0x331f6e(0x41f),'attrs':{},'children':[{'tag':_0x331f6e(0x1f3),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x331f6e(0x279),'attrs':{'fill':'#fff','d':_0x331f6e(0x14d)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Ti=ae[_0x331f6e(0x334)](function(_0x3cb1e3,_0x54a549){const _0x1897d0=_0x331f6e;return ae[_0x1897d0(0x340)](Pt,Object[_0x1897d0(0xe0)]({},_0x3cb1e3,{'id':_0x1897d0(0x12c),'ref':_0x54a549,'icon':Hs}));});Ti[_0x331f6e(0xd6)]=_0x331f6e(0x1d1);var Bs={'tag':_0x331f6e(0x1b1),'attrs':{'fill':_0x331f6e(0x1a7),'viewBox':_0x331f6e(0xe8),'width':_0x331f6e(0x307),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x331f6e(0x1b8)},'children':[{'tag':_0x331f6e(0x279),'attrs':{'stroke':_0x331f6e(0x4fd),'d':_0x331f6e(0x531),'strokeLinecap':'round','strokeLinejoin':_0x331f6e(0xac),'strokeWidth':1.2}}]},{'tag':_0x331f6e(0x41f),'attrs':{},'children':[{'tag':_0x331f6e(0x1f3),'attrs':{'id':_0x331f6e(0x35b)},'children':[{'tag':'path','attrs':{'fill':_0x331f6e(0x311),'d':_0x331f6e(0x14d),'transform':_0x331f6e(0x3ef)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Ri=ae['forwardRef'](function(_0x5a886d,_0x201fb3){const _0x579250=_0x331f6e;return ae[_0x579250(0x340)](Pt,Object[_0x579250(0xe0)]({},_0x5a886d,{'id':_0x579250(0x2d9),'ref':_0x201fb3,'icon':Bs}));});Ri[_0x331f6e(0xd6)]=_0x331f6e(0x149);function yi(_0x568b34){const _0x14a2ef=_0x331f6e;var _0x265cd3,_0x2e9371,_0x34c652='';if(typeof _0x568b34==_0x14a2ef(0x20e)||typeof _0x568b34==_0x14a2ef(0x34d))_0x34c652+=_0x568b34;else{if(typeof _0x568b34==_0x14a2ef(0x44d)){if(Array[_0x14a2ef(0x309)](_0x568b34)){var _0x3a8589=_0x568b34[_0x14a2ef(0xa1)];for(_0x265cd3=0x0;_0x265cd3<_0x3a8589;_0x265cd3++)_0x568b34[_0x265cd3]&&(_0x2e9371=yi(_0x568b34[_0x265cd3]))&&(_0x34c652&&(_0x34c652+='\x20'),_0x34c652+=_0x2e9371);}else{for(_0x2e9371 in _0x568b34)_0x568b34[_0x2e9371]&&(_0x34c652&&(_0x34c652+='\x20'),_0x34c652+=_0x2e9371);}}}return _0x34c652;}function ks(){const _0x64ca7a=_0x331f6e;for(var _0x568a75,_0x48401a,_0x896d05=0x0,_0xb1d7d5='',_0x548a2f=arguments[_0x64ca7a(0xa1)];_0x896d05<_0x548a2f;_0x896d05++)(_0x568a75=arguments[_0x896d05])&&(_0x48401a=yi(_0x568a75))&&(_0xb1d7d5&&(_0xb1d7d5+='\x20'),_0xb1d7d5+=_0x48401a);return _0xb1d7d5;}const Ws='univer-online-status-icon',Fs=_0x331f6e(0x484),Vs=_0x331f6e(0x42a),Gs=_0x331f6e(0x433),Ys=_0x331f6e(0xa9),Me={'onlineStatusIcon':Ws,'onlineStatusTitle':Fs,'onlineStatus':Vs,'online':Gs,'offline':Ys};function Ks(_0x23a0fa){const _0x5b40af=_0x331f6e;switch(_0x23a0fa){case q[_0x5b40af(0x139)]:return _0x5b40af(0x9b);case q['CONFLICT']:return _0x5b40af(0x221);case q[_0x5b40af(0x2ea)]:return _0x5b40af(0x43a);case q[_0x5b40af(0x269)]:return _0x5b40af(0x101);case q[_0x5b40af(0x28c)]:case q[_0x5b40af(0x21b)]:return _0x5b40af(0x308);case q[_0x5b40af(0x3ab)]:case q[_0x5b40af(0x22e)]:return _0x5b40af(0x274);}}function Oi(_0x444935){const _0x307ed8=_0x331f6e,{status$:_0xad6dcc}=_0x444935,_0x4372b8=te['useObservable'](_0xad6dcc,q[_0x307ed8(0x269)]),_0x436555=a['useDependency'](a[_0x307ed8(0xe4)]),_0x5592fc=a[_0x307ed8(0x3dd)](exports[_0x307ed8(0x4cf)]),_0x5a9904=_0x4372b8!==q[_0x307ed8(0x139)],_0x459805=_0x436555['t'](Ks(_0x4372b8)),_0x1f40be=ks(Me[_0x307ed8(0x229)],{[Me[_0x307ed8(0x354)]]:_0x5a9904,[Me[_0x307ed8(0x4db)]]:!_0x5a9904}),_0x3e11b3=_0x5a9904?ge['jsx'](Ri,{}):ge[_0x307ed8(0x156)](Ti,{}),_0x55e498=ae[_0x307ed8(0x15f)](()=>{_0x5a9904||_0x5592fc['reconnect']();},[_0x5a9904,_0x5592fc]);function _0x28d751(){const _0xd7eb3b=_0x307ed8;return ge['jsxs'](_0xd7eb3b(0x282),{'className':_0x1f40be,'onClick':_0x55e498,'children':[ge[_0xd7eb3b(0x156)]('div',{'className':Me['onlineStatusIcon'],'children':_0x3e11b3}),ge['jsx'](_0xd7eb3b(0x282),{'className':Me[_0xd7eb3b(0x20c)],'children':_0x459805})]});}return _0x5a9904?_0x28d751():ge[_0x307ed8(0x156)](Ce['Tooltip'],{'title':_0x436555['t'](_0x307ed8(0xbe)),'children':_0x28d751()});}var qs=Object[_0x331f6e(0x30b)],zs=Object['getOwnPropertyDescriptor'],Xs=(_0x45be7b,_0x56d649,_0x30e253,_0x2bc9a3)=>{for(var _0x5630c0=_0x2bc9a3>0x1?void 0x0:_0x2bc9a3?zs(_0x56d649,_0x30e253):_0x56d649,_0x520b7a=_0x45be7b['length']-0x1,_0x46b717;_0x520b7a>=0x0;_0x520b7a--)(_0x46b717=_0x45be7b[_0x520b7a])&&(_0x5630c0=(_0x2bc9a3?_0x46b717(_0x56d649,_0x30e253,_0x5630c0):_0x46b717(_0x5630c0))||_0x5630c0);return _0x2bc9a3&&_0x5630c0&&qs(_0x56d649,_0x30e253,_0x5630c0),_0x5630c0;},$e=(_0x500ae2,_0x59cda6)=>(_0x46904a,_0x4e4166)=>_0x59cda6(_0x46904a,_0x4e4166,_0x500ae2);exports[_0x331f6e(0x2fa)]=class extends a[_0x331f6e(0xba)]{constructor(_0x3d0ef9,_0x53d10f,_0x452097,_0x34018c){const _0x2498c1=_0x331f6e;super(),I(this,_0x2498c1(0x33d),new A[(_0x2498c1(0x325))](q[_0x2498c1(0x269)])),(this[_0x2498c1(0x2a1)]=_0x3d0ef9,this[_0x2498c1(0x3e7)]=_0x53d10f,this[_0x2498c1(0xb0)]=_0x452097,this[_0x2498c1(0x107)]=_0x34018c,this[_0x2498c1(0x3d7)](),this[_0x2498c1(0xb6)]());}[_0x331f6e(0xb6)](){const _0x215a75=_0x331f6e;this[_0x215a75(0xd7)](this[_0x215a75(0x2a1)][_0x215a75(0x187)][_0x215a75(0x3ec)](A[_0x215a75(0x47d)](()=>{const _0x2faca7=_0x215a75,_0x449ce8=this['_univerInstanceService']['getFocusedUnit']();return _0x449ce8?this[_0x2faca7(0x107)][_0x2faca7(0x2fc)](_0x449ce8['getUnitId']()):A['of'](null);}),A[_0x215a75(0x47d)](_0x4a271b=>_0x4a271b?_0x4a271b[_0x215a75(0x166)]:A['of'](q[_0x215a75(0x269)])))[_0x215a75(0x31a)](_0x378386=>{const _0x5e4c88=_0x215a75;this[_0x5e4c88(0x33d)][_0x5e4c88(0xd8)](_0x378386);}));}[_0x331f6e(0x3d7)](){const _0x2f86bf=_0x331f6e;this[_0x2f86bf(0xd7)](this['_uiPartsService']['registerComponent'](te['BuiltInUIPart'][_0x2f86bf(0x4ca)],()=>a['connectInjector'](Js({'status$':this[_0x2f86bf(0x33d)][_0x2f86bf(0x4a4)]()}),this[_0x2f86bf(0xb0)])));}},exports[_0x331f6e(0x2fa)]=Xs([$e(0x0,a[_0x331f6e(0x427)]),$e(0x1,te[_0x331f6e(0x512)]),$e(0x2,a[_0x331f6e(0x397)](a[_0x331f6e(0x35f)])),$e(0x3,a[_0x331f6e(0x397)](exports[_0x331f6e(0x4bc)]))],exports[_0x331f6e(0x2fa)]);function Js(_0x1149a3){const {status$:_0x29e212}=_0x1149a3;return function(){return ge['jsx'](Oi,{'status$':_0x29e212});};}const wt=a[_0x331f6e(0xde)](_0x331f6e(0x27f));var Zs=Object[_0x331f6e(0x30b)],Qs=Object[_0x331f6e(0x29e)],er=(_0x159254,_0x5ac3c7,_0x28537a,_0x1860d1)=>{for(var _0x1aea54=_0x1860d1>0x1?void 0x0:_0x1860d1?Qs(_0x5ac3c7,_0x28537a):_0x5ac3c7,_0x3894e6=_0x159254['length']-0x1,_0xbd905d;_0x3894e6>=0x0;_0x3894e6--)(_0xbd905d=_0x159254[_0x3894e6])&&(_0x1aea54=(_0x1860d1?_0xbd905d(_0x5ac3c7,_0x28537a,_0x1aea54):_0xbd905d(_0x1aea54))||_0x1aea54);return _0x1860d1&&_0x1aea54&&Zs(_0x5ac3c7,_0x28537a,_0x1aea54),_0x1aea54;},Re=(_0x20609e,_0x3772f7)=>(_0x5fb5bd,_0x28c3cc)=>_0x3772f7(_0x5fb5bd,_0x28c3cc,_0x20609e);exports[_0x331f6e(0x320)]=class extends a['RxDisposable']{constructor(_0x48d16d,_0x4d51d1,_0x451aab,_0x38a2f3,_0x172fac,_0x404d1c){const _0x146c77=_0x331f6e;super(),this['_urlService']=_0x48d16d,this[_0x146c77(0x28d)]=_0x4d51d1,this[_0x146c77(0x292)]=_0x451aab,this[_0x146c77(0x3cc)]=_0x38a2f3,this[_0x146c77(0xbb)]=_0x172fac,_0x404d1c?_0x404d1c==null||_0x404d1c[_0x146c77(0x42e)]()[_0x146c77(0x102)](()=>this['_init']()):(this['_logService'][_0x146c77(0x552)](_0x146c77(0x2e0),_0x146c77(0x15b)),this[_0x146c77(0x247)]());}async[_0x331f6e(0x247)](){const _0x44901e=_0x331f6e,_0x4e9ebd=this['_urlService'][_0x44901e(0x1e7)](_0x44901e(0x109)),_0x12c8b4=this[_0x44901e(0x3ad)][_0x44901e(0x1e7)](_0x44901e(0x264));if(!_0x4e9ebd||!_0x12c8b4){this['_logService'][_0x44901e(0x552)]('[DataLoaderController]',_0x44901e(0x1b3));return;}switch(Number(_0x12c8b4)){case ne[_0x44901e(0x234)]:{const _0x499049=await this[_0x44901e(0x2f8)](_0x4e9ebd);this[_0x44901e(0x362)](_0x499049);break;}case ne['UNIVER_DOC']:{await this[_0x44901e(0x3c3)](_0x4e9ebd);break;}default:{this[_0x44901e(0x28d)][_0x44901e(0x534)](_0x44901e(0x2e0),_0x44901e(0x3ba));break;}}}async['_setupSubUnitSync'](_0xbddb15){const _0x16d00e=_0x331f6e;await this[_0x16d00e(0x3ae)](_0xbddb15),_0xbddb15[_0x16d00e(0x262)][_0x16d00e(0x3ec)](A[_0x16d00e(0x1a2)](this['dispose$']))[_0x16d00e(0x31a)](_0x3006f5=>{const _0x18019c=_0x16d00e;_0x3006f5&&this[_0x18019c(0xae)](_0x3006f5);}),this[_0x16d00e(0x3ad)][_0x16d00e(0x452)][_0x16d00e(0x3ec)](A[_0x16d00e(0x1a2)](this[_0x16d00e(0x361)]))[_0x16d00e(0x31a)](()=>this[_0x16d00e(0x3ae)](_0xbddb15));}['_updateURLWithCurrentState'](_0x1182c5,_0x3b858d=!0x1){const _0x1a6243=_0x331f6e,_0x4f0f7d=this[_0x1a6243(0x3ad)][_0x1a6243(0x1e7)]('subunit');_0x1182c5[_0x1a6243(0x2b1)]()!==_0x4f0f7d&&this['_urlService']['setParam'](_0x1a6243(0xf7),_0x1182c5[_0x1a6243(0x2b1)](),_0x3b858d);}async[_0x331f6e(0x3ae)](_0x14d947){const _0x17ee0e=_0x331f6e;var _0x298072;const _0x849748=this[_0x17ee0e(0x3ad)][_0x17ee0e(0x1e7)]('subunit');if(!_0x849748||!_0x14d947[_0x17ee0e(0x51d)](_0x849748)){const _0x1d2185=_0x14d947[_0x17ee0e(0xa0)]()[0x0],_0x489186=_0x14d947[_0x17ee0e(0x51d)](_0x1d2185);if(!_0x489186)return;this[_0x17ee0e(0xae)](_0x489186,!0x0),await this[_0x17ee0e(0x292)][_0x17ee0e(0x478)](k[_0x17ee0e(0xc3)]['id'],{'unitId':_0x14d947[_0x17ee0e(0x141)](),'subUnitId':_0x1d2185});return;}((_0x298072=_0x14d947['getActiveSheet']())==null?void 0x0:_0x298072[_0x17ee0e(0x2b1)]())!==_0x849748&&await this[_0x17ee0e(0x292)]['executeCommand'](k[_0x17ee0e(0xc3)]['id'],{'unitId':_0x14d947[_0x17ee0e(0x141)](),'subUnitId':_0x849748});}async[_0x331f6e(0x2f8)](_0x3597d5){const _0x10e92a=_0x331f6e;let _0x228fdb=0x0;const _0x3eb72e=await this[_0x10e92a(0x3cc)][_0x10e92a(0x418)](_0x3597d5);return _0x3eb72e&&(_0x3eb72e[_0x10e92a(0x472)]||_0x3eb72e[_0x10e92a(0x35d)][_0x10e92a(0xa1)]!==0x0)&&(_0x228fdb=_0x3eb72e[_0x10e92a(0x106)]),_0x228fdb===0x0&&this[_0x10e92a(0x28d)][_0x10e92a(0x552)](_0x10e92a(0x2e0),_0x10e92a(0x271)),this[_0x10e92a(0xbb)][_0x10e92a(0x19e)](_0x3597d5,_0x228fdb);}async[_0x331f6e(0x3c3)](_0x4f94f4){const _0x56d448=_0x331f6e;let _0x157ce7=0x0;const _0x62d15e=await this[_0x56d448(0x3cc)][_0x56d448(0x418)](_0x4f94f4);return _0x62d15e&&(_0x62d15e[_0x56d448(0x472)]||_0x62d15e[_0x56d448(0x35d)][_0x56d448(0xa1)]!==0x0)&&(_0x157ce7=_0x62d15e[_0x56d448(0x106)]),_0x157ce7===0x0&&this['_logService']['debug']('[DataLoaderController]',_0x56d448(0x271)),this[_0x56d448(0xbb)][_0x56d448(0x2a4)](_0x4f94f4,_0x157ce7);}},exports[_0x331f6e(0x320)]=er([Re(0x0,wt),Re(0x1,a['ILogService']),Re(0x2,a[_0x331f6e(0x48e)]),Re(0x3,a[_0x331f6e(0x397)](exports['LocalCacheService'])),Re(0x4,a[_0x331f6e(0x397)](p[_0x331f6e(0x207)])),Re(0x5,a[_0x331f6e(0x350)](Bi[_0x331f6e(0x373)]))],exports[_0x331f6e(0x320)]);var tr=Object[_0x331f6e(0x30b)],ir=Object[_0x331f6e(0x29e)],nr=(_0x2479fc,_0x3fe832,_0x2de360,_0x1e6479)=>{for(var _0x19a168=_0x1e6479>0x1?void 0x0:_0x1e6479?ir(_0x3fe832,_0x2de360):_0x3fe832,_0x13aded=_0x2479fc['length']-0x1,_0x565e5a;_0x13aded>=0x0;_0x13aded--)(_0x565e5a=_0x2479fc[_0x13aded])&&(_0x19a168=(_0x1e6479?_0x565e5a(_0x3fe832,_0x2de360,_0x19a168):_0x565e5a(_0x19a168))||_0x19a168);return _0x1e6479&&_0x19a168&&tr(_0x3fe832,_0x2de360,_0x19a168),_0x19a168;},Vt=(_0x58416e,_0x4acf94)=>(_0x52f3d8,_0x1a9589)=>_0x4acf94(_0x52f3d8,_0x1a9589,_0x58416e);const sr='DEFAULT_FILE_NAME',rr=_0x331f6e(0x4f9);let Ge=class extends a[_0x331f6e(0xba)]{constructor(_0x4b1c4e,_0x3c8640){const _0x525120=_0x331f6e;super(),this['_univerInstanceService']=_0x4b1c4e,this[_0x525120(0x549)]=_0x3c8640,this[_0x525120(0x247)]();}['_init'](){const _0xaabb35=_0x331f6e;this[_0xaabb35(0xd7)](this[_0xaabb35(0x2a1)][_0xaabb35(0x187)][_0xaabb35(0x31a)](()=>{const _0x116764=_0xaabb35;var _0x6c74d3;const _0x537e0c=this[_0x116764(0x2a1)][_0x116764(0x2f6)]();let _0x3c7eaa=(_0x6c74d3=this[_0x116764(0x549)][_0x116764(0x505)](sr))!=null?_0x6c74d3:rr;_0x537e0c instanceof a[_0x116764(0xc9)]&&(_0x3c7eaa=_0x537e0c[_0x116764(0x2a2)]),document['title']=_0x3c7eaa;}));}};Ge=nr([Vt(0x0,a[_0x331f6e(0x427)]),Vt(0x1,a[_0x331f6e(0x3d6)])],Ge);var or=Object[_0x331f6e(0x30b)],ar=Object[_0x331f6e(0x29e)],cr=(_0x809475,_0xebed32,_0x1ef0da,_0x54181c)=>{const _0x25a438=_0x331f6e;for(var _0x1ffaea=_0x54181c>0x1?void 0x0:_0x54181c?ar(_0xebed32,_0x1ef0da):_0xebed32,_0x4dbb01=_0x809475[_0x25a438(0xa1)]-0x1,_0x58b9b1;_0x4dbb01>=0x0;_0x4dbb01--)(_0x58b9b1=_0x809475[_0x4dbb01])&&(_0x1ffaea=(_0x54181c?_0x58b9b1(_0xebed32,_0x1ef0da,_0x1ffaea):_0x58b9b1(_0x1ffaea))||_0x1ffaea);return _0x54181c&&_0x1ffaea&&or(_0xebed32,_0x1ef0da,_0x1ffaea),_0x1ffaea;},ct=(_0xdaf912,_0x9ffdeb)=>(_0x4057fc,_0x5070a7)=>_0x9ffdeb(_0x4057fc,_0x5070a7,_0xdaf912);let Ye=class{constructor(_0x417175,_0x4bbad6,_0x12e719){const _0x2b3609=_0x331f6e;this[_0x2b3609(0x549)]=_0x417175,this[_0x2b3609(0x313)]=_0x4bbad6,this['localeService']=_0x12e719,this[_0x2b3609(0x188)]();}[_0x331f6e(0x188)](){const _0xf1ab27=_0x331f6e;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x19ffa1,_0x253639)=>_0x253639(_0x19ffa1)[_0xf1ab27(0x3ec)](A[_0xf1ab27(0x51e)](async _0x17337a=>{const _0x52728c=_0xf1ab27,_0x53b2f9=_0x17337a;if(_0x53b2f9[_0x52728c(0x518)]===0x191&&window['confirm'](this[_0x52728c(0x1c3)]['t'](_0x52728c(0xab)))){const _0x3ef9e9=window[_0x52728c(0x1ed)](window[_0x52728c(0x179)]['href']);window[_0x52728c(0x179)][_0x52728c(0x3c5)]=this[_0x52728c(0x41d)]()+_0x52728c(0x1f7)+_0x3ef9e9;}return _0x53b2f9;}))});}[_0x331f6e(0x41d)](){const _0x597642=_0x331f6e;var _0x741464,_0x4efe02;const _0x54a13d=this[_0x597642(0x549)][_0x597642(0x505)](hi),_0x56e042=this[_0x597642(0x549)][_0x597642(0x505)](Q);return(_0x4efe02=(_0x741464=_0x56e042==null?void 0x0:_0x56e042[_0x597642(0x2c1)])!=null?_0x741464:_0x54a13d)!=null?_0x4efe02:Ji;}};Ye=cr([ct(0x0,a['IConfigService']),ct(0x1,a[_0x331f6e(0x397)](z[_0x331f6e(0x1d2)])),ct(0x2,a[_0x331f6e(0x397)](a[_0x331f6e(0xe4)]))],Ye);var lr=Object[_0x331f6e(0x30b)],hr=Object[_0x331f6e(0x29e)],_r=(_0x32e890,_0x49786f,_0x31617b,_0x575a75)=>{const _0x4a49db=_0x331f6e;for(var _0x5d2826=_0x575a75>0x1?void 0x0:_0x575a75?hr(_0x49786f,_0x31617b):_0x49786f,_0x5d352e=_0x32e890[_0x4a49db(0xa1)]-0x1,_0x1e73c8;_0x5d352e>=0x0;_0x5d352e--)(_0x1e73c8=_0x32e890[_0x5d352e])&&(_0x5d2826=(_0x575a75?_0x1e73c8(_0x49786f,_0x31617b,_0x5d2826):_0x1e73c8(_0x5d2826))||_0x5d2826);return _0x575a75&&_0x5d2826&&lr(_0x49786f,_0x31617b,_0x5d2826),_0x5d2826;},Gt=(_0x21483e,_0x4ec294)=>(_0x4458ad,_0x17b363)=>_0x4ec294(_0x4458ad,_0x17b363,_0x21483e);const Ut=_0x331f6e(0x34e),ur='/universer-api/authz';exports[_0x331f6e(0x16b)]=class extends a[_0x331f6e(0xba)]{constructor(_0x39e9aa,_0x13694d){const _0x68f8b=_0x331f6e;super(),this[_0x68f8b(0x10f)]=_0x39e9aa,this[_0x68f8b(0x549)]=_0x13694d,this[_0x68f8b(0x1ae)]();}[_0x331f6e(0x1ae)](){const _0x1b1fc6=_0x331f6e,_0x19ab7b=this;this['disposeWithMe'](this[_0x1b1fc6(0x10f)][_0x1b1fc6(0x524)]({'priority':0x3e7,'interceptor':z[_0x1b1fc6(0x23c)]({'isMatch'(_0x24ba37){const _0x371636=_0x1b1fc6;var _0x561bec;if(_0x24ba37['method']===_0x371636(0x4df)&&((_0x561bec=_0x24ba37['requestParams'])!=null&&_0x561bec[_0x371636(0xb2)])){const {objectID:_0x18bb46,objectType:_0x3c712b}=_0x24ba37[_0x371636(0x195)][_0x371636(0xb2)]||{};if(!_0x18bb46||_0x3c712b===void 0x0)return!0x1;const _0x54fab0=_0x19ab7b[_0x371636(0x44b)]()+'/'+_0x3c712b+_0x371636(0xb5)+_0x18bb46+_0x371636(0x302);if(_0x24ba37['url']===_0x54fab0)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2a2c36){const _0x39d8a8=_0x1b1fc6;var _0x5e07ba;return(_0x5e07ba=_0x2a2c36[_0x39d8a8(0x195)])==null?void 0x0:_0x5e07ba['body'];},'mergeParamsToRequest'(_0x46c66a,_0x2d8f33){const _0x2d469e=_0x1b1fc6,_0x2422db=_0x19ab7b[_0x2d469e(0x44b)]()+_0x2d469e(0x464),_0x5aff94=_0x46c66a[_0x2d469e(0x1e0)]((_0x12cb96,_0xa6bf0d)=>{const _0x41875f=_0x2d469e,{unitID:_0xf46a9b,objectID:_0x1b2c09,objectType:_0x17b235,actions:_0x537f13}=_0xa6bf0d;return _0x12cb96[_0xf46a9b]||(_0x12cb96[_0xf46a9b]={}),_0x12cb96[_0xf46a9b][_0x1b2c09]||(_0x12cb96[_0xf46a9b][_0x1b2c09]={'objectID':_0x1b2c09,'objectType':_0x17b235,'actions':[]}),_0x12cb96[_0xf46a9b][_0x1b2c09][_0x41875f(0x237)]['push'](..._0x537f13),_0x12cb96;},{}),_0x57335a=[];for(const _0x5098c5 in _0x5aff94)for(const _0x583244 in _0x5aff94[_0x5098c5]){const {actions:_0x4a0653,objectType:_0x58ea23}=_0x5aff94[_0x5098c5][_0x583244],_0x26ec1c=[...new Set(_0x4a0653)];_0x57335a[_0x2d469e(0x256)]({'unitID':_0x5098c5,'objectID':_0x583244,'objectType':_0x58ea23,'actions':_0x26ec1c});}return new z['HTTPRequest'](_0x2d469e(0x4df),_0x2422db,{'headers':_0x2d8f33[_0x2d469e(0x500)],'withCredentials':_0x2d8f33[_0x2d469e(0x10d)],'responseType':_0x2d8f33[_0x2d469e(0x162)],'body':{'requests':_0x57335a}});}},{'distributeResult'(_0x48970f,_0x5edf53){const {objectActions:_0x50251f}=_0x48970f;return _0x5edf53['map'](_0x365332=>{const _0x121a9f=_0x3305,{unitID:_0x3e2658,objectID:_0x343122,actions:_0x2e3028}=_0x365332,_0x86f602=_0x50251f[_0x121a9f(0xf0)](_0xc1a9a1=>_0xc1a9a1[_0x121a9f(0x1dc)]===_0x3e2658&&_0xc1a9a1[_0x121a9f(0x3bb)]===_0x343122),_0x2d7266=_0x2e3028[_0x121a9f(0x442)](_0x1268e1=>_0x86f602==null?void 0x0:_0x86f602['actions'][_0x121a9f(0xf0)](_0x347809=>_0x347809[_0x121a9f(0x91)]===_0x1268e1))['filter'](_0x509aab=>!!_0x509aab);return{'config':_0x365332,'result':{'actions':_0x2d7266,'error':_0x48970f['error']}};});}})}));}[_0x331f6e(0x44b)](){const _0x490565=_0x331f6e;var _0x189e22,_0x2c8645;const _0x15fa74=this[_0x490565(0x549)][_0x490565(0x505)](Ut),_0x4a9539=this[_0x490565(0x549)]['getConfig'](Q);return(_0x2c8645=(_0x189e22=_0x4a9539==null?void 0x0:_0x4a9539[_0x490565(0xd2)])!=null?_0x189e22:_0x15fa74)!=null?_0x2c8645:ur;}async[_0x331f6e(0x2c3)](_0x13205a){const _0x49bb33=_0x331f6e,_0x32a00b=this[_0x49bb33(0x44b)]()+'/'+_0x13205a[_0x49bb33(0x438)]+'/object';return(await this['_HTTPService'][_0x49bb33(0x31b)](_0x32a00b,{'body':_0x13205a}))[_0x49bb33(0xb2)][_0x49bb33(0x3bb)]||'';}async['list'](_0x3c206a){const _0x2e2be9=_0x331f6e,_0x17f214=this[_0x2e2be9(0x44b)]()+_0x2e2be9(0x2b5);return(await this[_0x2e2be9(0x10f)][_0x2e2be9(0x31b)](_0x17f214,{'body':_0x3c206a}))['body'][_0x2e2be9(0x1a8)];}async[_0x331f6e(0x2eb)](_0x38544e){const _0x2db33f=_0x331f6e,_0x2f28c8=this[_0x2db33f(0x44b)]()+'/'+_0x38544e[_0x2db33f(0x438)]+_0x2db33f(0xb5)+_0x38544e[_0x2db33f(0x3bb)];await this[_0x2db33f(0x10f)][_0x2db33f(0xa3)](_0x2f28c8,{'body':_0x38544e});}async[_0x331f6e(0x245)](_0x42209e){const _0x2e0476=_0x331f6e,_0xf8a9db=this['_getAPIPrefixPath']()+'/'+_0x42209e[_0x2e0476(0x438)]+'/object/'+_0x42209e[_0x2e0476(0x3bb)]+_0x2e0476(0x302);return(await this[_0x2e0476(0x10f)][_0x2e0476(0x31b)](_0xf8a9db,{'body':_0x42209e}))[_0x2e0476(0xb2)][_0x2e0476(0x237)];}async['batchAllowed'](_0x4d537d){const _0x48d152=_0x331f6e,_0x319b75=this[_0x48d152(0x44b)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x48d152(0x31b)](_0x319b75,{'body':{'requests':_0x4d537d}}))[_0x48d152(0xb2)][_0x48d152(0x3c7)];}async['listRoles'](_0x51688d){const _0x2da295=_0x331f6e,_0x2af1ec=this[_0x2da295(0x44b)]()+'/'+_0x51688d[_0x2da295(0x438)]+'/role',_0x499f78=await this[_0x2da295(0x10f)][_0x2da295(0x31b)](_0x2af1ec,{'body':_0x51688d});return{'roles':_0x499f78[_0x2da295(0xb2)][_0x2da295(0x33b)],'actions':_0x499f78['body'][_0x2da295(0x237)]};}async[_0x331f6e(0x43f)](_0x42edc2){const _0x1af6e0=_0x331f6e,_0x4c8655=this[_0x1af6e0(0x44b)]()+'/collaborator';await this[_0x1af6e0(0x10f)][_0x1af6e0(0x3d4)](_0x4c8655,{'params':{'collaboratorID':_0x42edc2[_0x1af6e0(0x42d)],'objectID':_0x42edc2[_0x1af6e0(0x3bb)],'unitID':_0x42edc2['unitID']}});}async[_0x331f6e(0x3d1)](_0x593069){const _0x275997=_0x331f6e,_0x5be7d3=this[_0x275997(0x44b)]()+_0x275997(0x315);await this[_0x275997(0x10f)]['patch'](_0x5be7d3,{'body':_0x593069});}async['createCollaborator'](_0x2b46b7){const _0x57bbe3=_0x331f6e,_0x132d7c=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x57bbe3(0x31b)](_0x132d7c,{'body':_0x2b46b7});}async[_0x331f6e(0x244)](_0x4039ee){const _0x43e107=_0x331f6e,_0x189625=this[_0x43e107(0x44b)]()+_0x43e107(0x315);return(await this[_0x43e107(0x10f)]['get'](_0x189625,{'params':{'objectID':_0x4039ee['objectID'],'unitID':_0x4039ee[_0x43e107(0x1dc)]}}))['body'][_0x43e107(0x19f)];}async[_0x331f6e(0x105)](_0x71897f){const _0x17a849=_0x331f6e,_0x58177e=this[_0x17a849(0x44b)]()+'/collaborator';await this[_0x17a849(0x10f)]['put'](_0x58177e,{'body':_0x71897f});}},exports[_0x331f6e(0x16b)]=_r([Gt(0x0,a[_0x331f6e(0x397)](z[_0x331f6e(0x1d2)])),Gt(0x1,a[_0x331f6e(0x397)](a[_0x331f6e(0x3d6)]))],exports[_0x331f6e(0x16b)]);var Di={'exports':{}};function dr(_0x2f187e){const _0x5ee636=_0x331f6e;throw new Error(_0x5ee636(0x36e)+_0x2f187e+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var lt={'exports':{}},Yt;function _0x57ef(){const _0x595cd7=['EXCHANGE_SIGN_URL_SERVER_URL_KEY','_sendHeartbeat','reconnect','getActiveSheet','take','TEXT','text','fetchMiss','CollaborationController','width','m2Prime','backgroundColor','_initEventListeners','_remoteChangesetQueue','{fileID}','collaboration-client.config','_session','LIVESHARE_REQUEST_HOST','FAIL','_getMergeRange','@univerjs/docs','range','HEADER_MENU','_socketMessageSubscription','getAllMembers','_onJoinRoomEvent','imageSourceType','CollaborationSessionService','ceil','_onConflict','_listenToOnlineEvent','_registerDependencies','_onLocalMutation','setWaitCount','_exhaustRemoteChangesetQueue','_acknowledgedAwaitingChangeset','_transformPreviousActiveRange','_assignedColors','CHANGESET_ACK','offline','LOCAL_CACHE_INTERVAL_KEY','arc','_telemetryInfo','POST','cfg','PERSON','substring','target','byteLength','_createHandler','_clearTimeoutTimer','enableAuthServer','values','redoState','Hex','COLLAB_SUBMIT_CHANGESET_URL','_roomMembers$','ISnapshotServerService','disableLocalCache','image/jpeg','INVALID_ARGUMENT','baseRev','Latin1','UNAUTHENTICATED','JOIN','InsertRangeMoveRightCommandId','NoPadding','getValue','source','Univer','/universer-api/snapshot/','_initResize','image/jpg','currentColor','_process','popstate','headers','_onRemoteACK','endRow','UniverIcon','setActiveRange','getConfig','BlockCipherMode','PSEUDO_FETCH_MISSING_RESULT','decryptBlock','_state','HEARTBEAT_INTERVAL_KEY','APPLY_REJECT','/universer-api/file/{fileID}/sign-url','/universer-api/stream/file/upload','sessionStatus$','\x0aCurrent:\x20','file','processBlock','IUIPartsService','_decreaseWaiting','ciphertext','_roomMembers','TRANSFORM_CHANGE_OBSERVABLE_TYPE','max','status','revision','sid','@univerjs/telemetry','session.connection-failed','getSheetBySheetId','concatMap','_socketReady','LIVESHARE_TERMINATE','24HBRmhQ','image/gif','_doFinalize','registerHTTPInterceptor','JOINING','onRemoteRej','_getUploadFileURL','ILocalStorageService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','DocStateChangeManagerService','InsertSheetMutation','setParam','useRef','INotificationService','getCoordByCell','APPLY_REVISION_CONFILICT','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','get','getTypeOfUnitDisposed$','error','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','UNDEFINED','/rev/','Base64','_docSkeletonManagerService','isActive','connection\x20error','LIVESHARE_OPERATION','_name','_fetchMissChangesets','onTransformRemoteChangesetByStateCache','error$','_keySchedule','UNKNOWN_CODE','set','getViewport','_docTransformSelectionsService','src','save','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','_configService','_collaborationPaused','splice','_removeClearOtherTimer','COLORS','_oKey','delay','ERROR_IMAGE','createDecryptor','debug','getActiveRange','debounceTime','_state$','labelPosition','_sheetTransformSelectionsService','Hasher','pushState','updateCursorEvent','@univerjs/rpc','_cursorInfo$','toggleOnline','Base','kdf','_scheduleClearOtherTimer','action','SNAPSHOT_SERVER_URL_KEY','m1Prime','getImageSourceCache','registerOnClose','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','startsWith','_invKeySchedule','transformRemoteChangeset','addObjects','collabStatus.offline','_retryCount','formatter','reverse','key','getUnhiddenWorksheets','length','_hideTimer','put','SetDocZoomRatioOperation','setShowComponents','onPointerLeave$','getSkeleton','getMergeData','univer-offline','_disabled','auth.needGotoLoginAlert','round','icon','_updateURLWithCurrentState','collaboration_new_changeset','_injector','onRemoteChangeset','body','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','hovered','/object/','_initStatusListener','RECV','currentSkeleton$','onSyncEditingCollabCursor','Disposable','_snapshotService','LICENSE_EXPORT_SIZE_EXCEEDED','_getSaveTimeout','collab-client.tooltip.reconnect','HttpExport','getCurrentSelections','getLatestCsReqIdBySid','_tryEnsureSocket','SetWorksheetActivateCommand','idSuffix','UnitEmbedded','registerBeforeClose','mode','findNodePositionByCharIndex','Workbook','VIEWPORT_KEY','pauseCollaboration','_socket','_revisionService','history','CONNECTOR_DATA_TOO_LARGE','_updateLocalCursor','toDisposable','authzUrl','__creator','addClipboardHook','_send','displayName','disposeWithMe','next','random','&source=','LOCAL_CACHE_INTERVAL','all','_createSocketURL','createIdentifier','_toggleOnline','assign','SheetPermissionInitController','_transformUndoRedoStack','csAckEvent','LocaleService','_handleJoinEvent','_sessions','commentUpdateEvent','0\x200\x2017\x2016','every','column','salt','_cursors','evenodd','_getSessionTicket','handleDeleteRangeMoveUp','find','HttpImport','_nDataBytes','visibilityState','_transformRemoteChangesetByStateCache','UPDATE_CURSOR','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','subunit','_xformMode','sigBytes','_incrementRevisionNumber','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','flatMap','PERMISSION_DENIED','SheetCollaborationEntity','transformStateCache','getMember','collabStatus.notCollab','then','686190UWrVXB','_snapshotServerService','putCollaborators','rev','_collaborationController','tag','unit','_compressMutationService','clone','size','withCredentials','_imageSourceCache','_HTTPService','compose','_replayCachedMutations','PasswordBasedCipher','url','collaboration.closeRoom','DocSelectionManagerService','isTransformChangesetsSuccess','use','ReactCurrentOwner','floor','_awaitingChangeset','telemetry\x20info\x20is\x20not\x20initialized','execute','compute','LEAVE','IMessageService','makeDirty','liveShareOperation','_members','join','_changesetReqId','_selfUnitIDs','VIEW_MAIN','react','IDocClipboardService','_scheduleHeartbeat','triggerDblclick','algo','off-line-single','_drawRectRange','downloadEndpointUrl','Warning','COMPLETION_FINISHED','FETCH_MISSING','_updateStatus','SNAPSHOT_INVALID_SNAPSHOT','color','show','SessionStatus','subject','univer-pro.collaboration-client-socket-service','OFFLINE','unload','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','keySize','_transformStateCache','lib','stringify','RegularPolygon','getUnitId','addObject','@univerjs/sheets','MentionIoHttpService','HEARTBEAT','startTime','ERROR_EXCEED_SIZE','startRow','OnLineSingle','reqId','ref','_updateState','M0\x200H16V16H0z','_redoStacks','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_updateCollabCursors','fillText','_initDependencies','getMemberID','_document','collab-rect-range-','jsx','restore','MentionType','NO_OTHER_CLIENTS_EDITING','SEND_CHANGESET_TIMEOUT_KEY','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','IContextService','_onFetchMissResult','_anchor','useCallback','_checkMissing','endColumn','responseType','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_registerRenderDependencies','onMissingChangesets','status$','JSONX','_substituteRedoStack','filter','_color','AuthzIoHttpService','runRefRangeMutations','_ensureSubject','getInterceptPoints','_stopTelemetryCollaborationNewChangeset','fetching\x20missing\x20changesets\x20from\x20','ImageSourceType','concat','IUndoRedoService','parseProtocolChangeset','fillStyle','fetchMissingChangesets','[CollaborationEntity]','setInterval','location','_undoRedoService','_handler','list','sendChangesetTimeout','joinRsp','pending','unknown','editing\x20status\x20changed\x20to','_clearUndo','[SyncedState]:\x20received\x20rejection.','_unitStatus','call','ThresholdInterceptorFactory','focused$','init','_eventUnsubscribe','_showConflictNotification','univer-pro.collaboration-client.single-active-unit-service','_sessionStatus$','_initCommandExecutedListener','defIds','isTransformMutationsWithChangesetFailure','OTHER_CLIENTS_EDITING','COMPRESS_MUTATION_SEND','ranges','combineLatest','session','requestParams','_onMessage','resolve','blue400','USERS_ENTER','rng','_messageService','_docStateChangeManagerService','__Key__','loadSheet','collaborators','UserManagerService','replaceState','takeUntil','sheets','Decryptor','Fragment','format','none','objects','getWorkbookSelections','colorChannel1','_retryConnectingTimer','CollaborationEvent','DisposableCollection','_initMergeInterceptor','socket\x20open.','EffectRefRangId','svg','_shapes','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','textEncoder','toLowerCase','parseChangesetToProtocol','permissionRejEvent','url(#on-line-single_clip0_910_349)','readAsDataURL','_memberService','onMissedChangesetFetched','transformIMECache','_joinRoom','WordArray','YUUMI_RATE_OVER_LIMIT','CONFLICT','getSheetObject','@univerjs/design','localeService','CommandType','merge','onRemoteAck','has','unshift','session.collaboration-timeout','MSG_FOR_ERROR','Undefined','collaboration-session-retry','_createHmacHelper','setShapeProps','_handleHover','bottom','OffLineSingle','HTTPService','_collabSessionService','_localStorageService','_toggleOffline','CompressMutationService','jiqing500','height','_submitChangeset','transformStack\x20failed!','Rectangle','unitID','getResourcesRequest','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','NodePositionConvertToCursor','reduce','InsertColCommandId','hostname','#FFF','cursorInfo$','UniverNetworkPlugin','_sendingTimer','getParam','_replaceFileID','_clearHeartbeatTimer','getTypeOfUnitAdded$','LOGIN_URL_KEY','Rect','encodeURIComponent','isPermissionRej','equals','RECT','send','_scene','clipPath','changesets','_createHelper','_onCombEvent','?url=','undoState','_colorIndex','measureText','retryConnectingInterval','_applyRemoteChangeset','_createSocket','CollaborationSocketService','_throwTelemetryCollaborationNewChangeset','propertyIsEnumerable','ws://127.0.0.1:8000/universer-api/comb/connect','serializeCombRequest','RETRY_CONNECTING_MAX_COUNT','collab-text-range-','RefRangeService','requireSession','SnapshotService','SheetCollabCursorShape','_collaborationTimeoutTimer','_transformRemoteChangesetByIMECache','ticket','onlineStatusTitle','setStateCache','string','_clearOtherTimers','incrementRevOfUnit','@univerjs/drawing','red300','_clearCollaborationTimeoutTimer','image/bmp','55898mXBzCj','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','$super','onStarting','handleInsertRow','padding','AWAITING_WITH_PENDING','signUrlServerUrl','AES','_append','now','getRelativeToViewportCoord','collabStatus.conflict','7595037QNjIYU','SUBMIT_CHANGESET','_getCurrentRevision','transformMutationsWithChangeset','words','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','ILogService','onlineStatus','ENSURE_SNAPSHOT_EXECUTION','_onRemoteRetry','_getRedoStack','_listenToOfflineEvent','PENDING','UNRECOGNIZED','_context','_clearScheduledTask','complete','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','UNIVER_SHEET','storage','UNIVER_DOC','actions','__esModule','synced','onload','_getSnapshotAPIPrefix','MergeInterceptorFactory','collaMsg','onRendered','selections','onRemoteRetry','application/json','createEncryptor','ImageIoService','listCollaborators','allowed','_online','_init','_onUserJoin','_socketService','submit\x20changeset\x20error!','memberID','YUUMI_UNABLE_LOAD_URL','verdancy600','onTransformState','Shape','UUID','removeParam','catch','WebURLService','SetTextSelectionsOperation','react.fragment','push','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','getImage','getAncestorScale','CollaborationStatusDisplay','ReplaySubject','/resources','_commentUpdate$','_imageIoService','_key','_anchorDot','MUTATION','activeSheet$','onPointerMove$','type','getOwnPropertySymbols','_prevBlock','awaiting_with_pending','HELLO','NOT_COLLAB','rxjs/operators','Module','SHA1','deserializeToCombResponse','_isPermissionRej','FromArray','UNIVER_SLIDE','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','@univerjs/network','MoveRangeCommandId','collabStatus.synced','_beforeCloseService','IPermissionService','_onRefRangeChange','getRenderById','path','className','getDocRanges','/block/','_waitCount','saveOfflineData','uni.network.url-service','onCommentUpdate','CollaborationEntity','div','getStateCache','saveSnapshot','collaboration-client.offline-data-not-saved','_onRecvEvent','_syncEditingCollabCursorService','reset','getCurrentUser','_sender','_handleHeartbeatEvent','AWAITING','_logService','_transformHistoryAndStateStack','_startTelemetryCollaborationNewChangeset','prototype','[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.','_commandService','fromEvent','_reverseMap','xlink:href','isTransformMutationFailure','_resendTimeout','_clearRedo','_changesetSessionId','/fetchmissing?from=','unit-cache-','getUndoRedoMutationParamsCache','gold400','getOwnPropertyDescriptor','_pendingMutations','_candidateSocket','_univerInstanceService','name','_doReset','loadDoc','TEXT_RANGE_LAYER_INDEX','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','some','/universer-api/snapshot','textRanges','enc','_transformIMECache','USERS_LEAVE','_executeRemoteChangeset','getRangePointData','fromCharCode','_unitID','getSheetId','_removeCollabCursors','close$','contains','/-/object/list','getTime','_collabCursorController','appendMutation','UNIVER_PROJECT','DocIMEInputManagerService','Malformed\x20UTF-8\x20data','onCommandExecuted','handleDeleteRangeMoveLeft','@univerjs/docs-ui','override','_labelPosition','loginUrlKey','_range','create','_scheduleCollaborationTimeoutTimer','_lockTransition','Plugin','hasher','joinEvent','_hasher','_userManagerService','randomUUID','sheetId','_getUndoStack','LIVESHARE_NEW_HOST','IRenderManagerService','[FetchMissState]','permission.title','SheetsSelectionsService','removeMember','apply','Unknown\x20user','Subject','...','ITelemetryService','on-line-single','UniverCollaborationPlugin','handleIRemoveCol','getCurrent','deepClone','editingUnit','COMPRESS_MUTATION_APPLY','[DataLoaderController]','ColorKit','_onRemoteRejected','Error','_renderManagerService','_iKey','updateMember','/unit/','DeleteRangeMoveUpCommandId','DOC_RANGE_TYPE','FETCH_MISS','update','_schedule','IDLE','b64DecodeUnicode','IBeforeCloseService','UNIVER_COLLABORATION_CLIENT_PLUGIN','_initRequestHeader','function','Encryptor','subUnitId','_saveCache','getFocusedUnit','_data','_loadSheet','COMMENT_UPDATE','DesktopCollaborationStatusDisplayController','data','getCollabEntity$','[CollaborationSessionService]:\x20socket\x20error','jsxs','JOIN_ROOM_NOT_ALLOWED','_mode','LocalCacheService','/allowed','handleMoveRange','selection','charCodeAt','Utf8','1em','collabStatus.syncing','isArray','currentTheme$','defineProperty','transformMutation','_onOffline','DocCollaborationEntity','_handleEvent','doc.mutation.rich-text-editing','#fff','getCurrentRevOfUnit','_httpService','_disableEditing','/collaborator','hasOwnProperty','onTransformRemoteChangesetByIMECache','People','from','subscribe','post','4049960qZATJg','registerRefRange','_nRounds','fromCollab','DataLoaderController','_render','pluginName','Pkcs7','msCrypto','BehaviorSubject','enableSingleActiveInstanceLock','row','for','registerDependencies','cmd','slice','_onConnectionOpen','isInternalEditorID','YUUMI_SUBSCRIPTION_NOT_FOUND','cursorInfo','updateOfflineData','onTransformIME','\x20-\x20','getUnitType','forwardRef','_resendTimer','children','generateRandomId','mergeOverrideWithDependencies','exhaustSavingTask','getUnitOnRev','roles','saveChangeset','_status$','APPLY_PERMISSION_DENIED','failed\x20to\x20apply\x20missed\x20changesets!','createElement','save\x20fail\x20reason\x20is\x20','_getSendChangesetTimeout','message$','CHANGESET_REJ','Cipher','_draw','onReady','toggleOffline','_saveTaskMap','conflict.title','addEventListener','forEach','number','AUTHZ_URL_KEY','_refRangeService','Optional','UnitSnapshot','visibilitychange','EvpKDF','online','2448341EeFcoU','replaceDocRanges','getColor','collabCursorState$','add','_telemetryService','on-line-single_clip0_910_349','clamp','mutations','OpenSSL','Injector','registerRenderModule','dispose$','_setupSubUnitSync','csShouldRetryEvent','_id','univerjs-icon\x20univerjs-icon-','ivSize','_createInitialStateImpl','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','updatePermissionPoint','purple300','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_getAPIPrefix','SNAPSHOT_HAS_BEEN_REMOVED','Could\x20not\x20dynamically\x20require\x20\x22','@univerjs/sheets-ui','onlyLocal','exports','SetSelectionsOperation','IRemoteInstanceService','crypto','state$','parse','pad','_themeService','_doCryptBlock','_shouldReportTelemetry','_notificationService','_scheduleTimestamp','transformChangesets','clearInterval','event$','_startSheetCollabCursor','_handleLeaveEvent','_cursor','_map','getVpScrollXYInfoByPosToVp','HmacMD5','_startCollaboration','close','getSheetBlock','UNIVER_UNKNOWN','CommentService','setCurrentUser','BufferedBlockAlgorithm','setAlpha','_resendWithTimeout','fetch_missing','_commentService','_onCursorUpdate','randomBytes','getCollabEntity','_drawTextRange','default','min','Inject','includes','json','onSendChangeset','643107HzFPwQ','BASE64','conflict.content','with','setItem','getCollabCursors$','session.will-retry','_keyPriorReset','bind','_getSignURL','@univerjs/engine-render','0\x200\x2016\x2016','_minBufferSize','attrs','syncEditingCollabCursor','toString','SYNCED','fetchThroughInterceptors','_urlService','_updateSubUnitFromURLParams','getRandomValues','CollaborationStatus','dispose','Tools','fillRule','_docClipboardService','routeKey','params','originalMeta','_transformSelections','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','objectID','SHOULD_CLOSE_CONN','MemberService','LICENSE_MAX_UNITS_EXCEEDED','_collaborationSessionService','_transitionLocked','top','skeleton','_loadDoc','fill','href','_lastPointer','objectActions','_permissionService','CBC','commentUpdate$','rgba(255,\x20255,\x20255,\x200.01)','_localCacheService','FileId','getDeserializedSheetBlock','searchParams','defaultProps','updateCollaborator','WorkbookEditablePermission','_backgroundColor','delete','_doProcessBlock','IConfigService','_initStatusComponent','IImageIoService','_onConnectionFailed','4950860mGdckm','addImageSourceCache','_heartbeatTimer','useDependency','fromEventSubject','_transformStack','hidden','saveSheetBlock','replace','finalize','MessageType','MD5','HEARTBEAT_TIMEOUT_KEY','_uiPartsService','_syncEditingCollabCursor','closeSession','APPLY_DUPLICATED','HMAC','pipe','ImageUploadStatusType','_change$','translate(.97)','subscribeEvent','mapDocumentTypeToUniverType','_updateLocalCache','repeat','onPointerEnter$','infoRsp','_docSyncEditingCollabCursorService','beginPath','2FAUTak','collabSubmitChangesetUrl','RevisionService','_setupBeforeClosingHandler','UniverCollaborationClientPlugin','[CollaborationSessionService]','LICENSE_DISTRO_REJECTED','_textBubble','origin','TOO_MANY_REQUESTS','assignAColorForMemberID','_type','APPLY_NON_SEQUENTIAL_REVISION','result','enableLocalCache','NOT_FOUND','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','YUUMI_URL_COL_OUT_OF_RANGE','_removeRoom','DocSkeletonManagerService','\x20in\x20_schedule.','ITransformService','setTimeout','clearTimeout','unitId','resize','Error\x20on\x20receiving\x20event','indexOf','entries','encode','disposeUnit','InsertRangeMoveDownCommandId','loadOfflineData','_event$','ONLINE','state','@univerjs/engine-formula','_getLoginPath','rxjs','defs','transformSelections','_singleActiveUnitService','_collabCursorState$','/universer-api/user/session-ticket','ThemeService','append','charAt','IUniverInstanceService','_localeService','PERMISSION_REJ','univer-online-status','initWorkbookPermissionChange','UPDATE_PERMISSION_OBJ','collaboratorID','whenReady','RichTextEditingMutation','reject','_onCursorDelete','resend','univer-online','decrypt','[UniverCollaborationClientPlugin]','CollaborationSession','_transformService','objectType','_rescheduleHeartbeat','collabStatus.fetchMiss','isEditing','SUCCUSS','buffer','RemoveColCommandId','deleteCollaborator','_ws','_cachedData','map','Vector2','unitId\x20is\x20not\x20found','[SyncedState]:\x20received\x20acknowledgement.','distinctUntilChanged','_initUnitPermissionChange','current','_tryReconnect','CHANGESET_SHOULD_RETRY','_getAPIPrefixPath','_timeoutTimer','object','SNAPSHOT_URL_KEY','sessionTicket','ALREADY_EXISTS','resourceIDs','urlChange$','@univerjs-pro/collaboration','_sheetSkeletonManagerService','EmptyMutation','_iv','code','uploadFileServerUrl','_getAnchorBounding','debounce','createInstance','blockSize','_ENC_XFORM_MODE','_entities','conflict','handleInsertRangeMoveDown','_sendHeartbeatTimer','COLLAB_SUBMIT_CHANGESET_URL_KEY','_scheduleSaving','/-/object/-/batch_allowed','getOffsetConfig','LIVESHARE_FETCH_OPERATIONS','leaveEvent','onMouseMove','INGEST','_hovered','DeleteRangeMoveLeftCommandId','saveImage','getUnitStatus$','_hash','socket\x20close','enableOfflineEditing','NEW_CHANGESETS','awaitingChangeset','eventID','isTransformMutationsWithChangesetSuccess','userID','_socket$','[CollaborationUndoRedoService]','executeCommand','transformByState','transformUndoRedo','LocalUndoRedoService','UniverInstanceType','switchMap','touchDependencies','_transformUndoredo','clear','toRgbString','_queuedRemoteChangesets','_docTransformIMECacheService','univer-online-status-title','black','unsubscribe','COLLAB_CLIENT_CONFIG_KEY','_getDownloadEndpointURL','c1Prime','mixIn','_cursorShapes','shareReplay','_docTransformStateCacheService','ICommandService','encrypt','sessionStatus','_entityInit$','stopTime','onTransformSelections','_cipher','awaiting','_getCtorByUniverType','abs','getUnit','CHANGESET_REVISION_CONFILICT','RxDisposable','WebSocketService','url(#$1','liveShareNewHost','_startDocCollabCursor','HmacSHA1','SnapshotServerOverHTTPService','drawWith','open$','interceptor','asObservable','_parse','extend','snapshotServerUrl','_config','BlockCipher','_colorAssignService','transform','_hover','[PendingState]:\x20received\x20acknowledgement.','_refreshCollabCursors','trim','x-univer-host','_unlockTransition','createSocket','_unitOnClients'];_0x57ef=function(){return _0x595cd7;};return _0x57ef();}function oe(){const _0x7df945=_0x331f6e;return Yt||(Yt=0x1,function(_0xebdf0,_0x42a904){(function(_0x42fefa,_0x1c60e9){const _0x3606f5=_0x3305;_0xebdf0[_0x3606f5(0x371)]=_0x1c60e9();}(Z,function(){var _0x2bb8af=_0x2bb8af||function(_0x313520,_0x61de5e){const _0x4eed9f=_0x3305;var _0x4ecc52;if(typeof window<'u'&&window[_0x4eed9f(0x374)]&&(_0x4ecc52=window['crypto']),typeof self<'u'&&self[_0x4eed9f(0x374)]&&(_0x4ecc52=self[_0x4eed9f(0x374)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x4ecc52=globalThis[_0x4eed9f(0x374)]),!_0x4ecc52&&typeof window<'u'&&window['msCrypto']&&(_0x4ecc52=window[_0x4eed9f(0x324)]),!_0x4ecc52&&typeof Z<'u'&&Z[_0x4eed9f(0x374)]&&(_0x4ecc52=Z['crypto']),!_0x4ecc52&&typeof dr==_0x4eed9f(0x2f2))try{_0x4ecc52=require(_0x4eed9f(0x374));}catch{}var _0x5c379a=function(){const _0x51549c=_0x4eed9f;if(_0x4ecc52){if(typeof _0x4ecc52[_0x51549c(0x3af)]=='function')try{return _0x4ecc52[_0x51549c(0x3af)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4ecc52[_0x51549c(0x392)]==_0x51549c(0x2f2))try{return _0x4ecc52[_0x51549c(0x392)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x51549c(0x3b9));},_0x1ccb54=Object['create']||(function(){function _0x57563c(){}return function(_0x4a8c1d){const _0x5664bc=_0x3305;var _0x200315;return _0x57563c[_0x5664bc(0x290)]=_0x4a8c1d,_0x200315=new _0x57563c(),_0x57563c[_0x5664bc(0x290)]=null,_0x200315;};}()),_0x50c8b1={},_0x5604c9=_0x50c8b1[_0x4eed9f(0x13e)]={},_0x117354=_0x5604c9[_0x4eed9f(0x55e)]=(function(){return{'extend':function(_0x582111){const _0x3794c0=_0x3305;var _0x36fa35=_0x1ccb54(this);return _0x582111&&_0x36fa35['mixIn'](_0x582111),(!_0x36fa35['hasOwnProperty'](_0x3794c0(0x188))||this['init']===_0x36fa35[_0x3794c0(0x188)])&&(_0x36fa35['init']=function(){const _0x47fa31=_0x3794c0;_0x36fa35[_0x47fa31(0x217)]['init'][_0x47fa31(0x2d4)](this,arguments);}),_0x36fa35[_0x3794c0(0x188)][_0x3794c0(0x290)]=_0x36fa35,_0x36fa35[_0x3794c0(0x217)]=this,_0x36fa35;},'create':function(){const _0x5d6644=_0x3305;var _0xd571e2=this['extend']();return _0xd571e2[_0x5d6644(0x188)][_0x5d6644(0x2d4)](_0xd571e2,arguments),_0xd571e2;},'init':function(){},'mixIn':function(_0x538c3a){const _0x37841f=_0x3305;for(var _0x2e40b3 in _0x538c3a)_0x538c3a[_0x37841f(0x316)](_0x2e40b3)&&(this[_0x2e40b3]=_0x538c3a[_0x2e40b3]);_0x538c3a[_0x37841f(0x316)](_0x37841f(0x3aa))&&(this['toString']=_0x538c3a[_0x37841f(0x3aa)]);},'clone':function(){const _0x12ecaf=_0x3305;return this[_0x12ecaf(0x188)]['prototype'][_0x12ecaf(0x4a6)](this);}};}()),_0x5104ac=_0x5604c9[_0x4eed9f(0x1be)]=_0x117354[_0x4eed9f(0x4a6)]({'init':function(_0x326cd1,_0x55b88e){const _0x2330e4=_0x4eed9f;_0x326cd1=this['words']=_0x326cd1||[],_0x55b88e!=_0x61de5e?this[_0x2330e4(0xf9)]=_0x55b88e:this[_0x2330e4(0xf9)]=_0x326cd1[_0x2330e4(0xa1)]*0x4;},'toString':function(_0x3bb72d){const _0x118e2c=_0x4eed9f;return(_0x3bb72d||_0x77f0b5)[_0x118e2c(0x13f)](this);},'concat':function(_0x3a94d4){const _0x3675dd=_0x4eed9f;var _0x28f53c=this['words'],_0x12455d=_0x3a94d4[_0x3675dd(0x226)],_0x456e2f=this[_0x3675dd(0xf9)],_0x2203a2=_0x3a94d4[_0x3675dd(0xf9)];if(this[_0x3675dd(0x35c)](),_0x456e2f%0x4)for(var _0x2eec63=0x0;_0x2eec63<_0x2203a2;_0x2eec63++){var _0x2ad81e=_0x12455d[_0x2eec63>>>0x2]>>>0x18-_0x2eec63%0x4*0x8&0xff;_0x28f53c[_0x456e2f+_0x2eec63>>>0x2]|=_0x2ad81e<<0x18-(_0x456e2f+_0x2eec63)%0x4*0x8;}else{for(var _0x41023e=0x0;_0x41023e<_0x2203a2;_0x41023e+=0x4)_0x28f53c[_0x456e2f+_0x41023e>>>0x2]=_0x12455d[_0x41023e>>>0x2];}return this['sigBytes']+=_0x2203a2,this;},'clamp':function(){const _0x16ba47=_0x4eed9f;var _0x5e4580=this[_0x16ba47(0x226)],_0x39dc62=this[_0x16ba47(0xf9)];_0x5e4580[_0x39dc62>>>0x2]&=0xffffffff<<0x20-_0x39dc62%0x4*0x8,_0x5e4580['length']=_0x313520[_0x16ba47(0x4d0)](_0x39dc62/0x4);},'clone':function(){const _0x35fb20=_0x4eed9f;var _0x3598db=_0x117354[_0x35fb20(0x10b)][_0x35fb20(0x185)](this);return _0x3598db[_0x35fb20(0x226)]=this[_0x35fb20(0x226)][_0x35fb20(0x32b)](0x0),_0x3598db;},'random':function(_0x38978b){const _0x5204aa=_0x4eed9f;for(var _0x1b1811=[],_0x5e4913=0x0;_0x5e4913<_0x38978b;_0x5e4913+=0x4)_0x1b1811[_0x5204aa(0x256)](_0x5c379a());return new _0x5104ac[(_0x5204aa(0x188))](_0x1b1811,_0x38978b);}}),_0x3638f8=_0x50c8b1[_0x4eed9f(0x2aa)]={},_0x77f0b5=_0x3638f8[_0x4eed9f(0x4ea)]={'stringify':function(_0x44308f){const _0x431efa=_0x4eed9f;for(var _0x2fa3f9=_0x44308f[_0x431efa(0x226)],_0x5aac54=_0x44308f['sigBytes'],_0x34b106=[],_0x1382fa=0x0;_0x1382fa<_0x5aac54;_0x1382fa++){var _0x45510b=_0x2fa3f9[_0x1382fa>>>0x2]>>>0x18-_0x1382fa%0x4*0x8&0xff;_0x34b106['push']((_0x45510b>>>0x4)[_0x431efa(0x3aa)](0x10)),_0x34b106[_0x431efa(0x256)]((_0x45510b&0xf)[_0x431efa(0x3aa)](0x10));}return _0x34b106[_0x431efa(0x123)]('');},'parse':function(_0x2b3e40){const _0x3a178c=_0x4eed9f;for(var _0x56a5ba=_0x2b3e40[_0x3a178c(0xa1)],_0x1570b3=[],_0x282bfc=0x0;_0x282bfc<_0x56a5ba;_0x282bfc+=0x2)_0x1570b3[_0x282bfc>>>0x3]|=parseInt(_0x2b3e40['substr'](_0x282bfc,0x2),0x10)<<0x18-_0x282bfc%0x8*0x4;return new _0x5104ac[(_0x3a178c(0x188))](_0x1570b3,_0x56a5ba/0x2);}},_0x1f4a56=_0x3638f8[_0x4eed9f(0x4f2)]={'stringify':function(_0xb72b48){const _0x5ca8ac=_0x4eed9f;for(var _0x117a5b=_0xb72b48['words'],_0x770296=_0xb72b48[_0x5ca8ac(0xf9)],_0x1f88c8=[],_0x1cd8af=0x0;_0x1cd8af<_0x770296;_0x1cd8af++){var _0x3776cd=_0x117a5b[_0x1cd8af>>>0x2]>>>0x18-_0x1cd8af%0x4*0x8&0xff;_0x1f88c8['push'](String[_0x5ca8ac(0x2af)](_0x3776cd));}return _0x1f88c8[_0x5ca8ac(0x123)]('');},'parse':function(_0x2ff2b1){const _0x7e3a02=_0x4eed9f;for(var _0x4bbda6=_0x2ff2b1[_0x7e3a02(0xa1)],_0x2c51b3=[],_0x52c8f1=0x0;_0x52c8f1<_0x4bbda6;_0x52c8f1++)_0x2c51b3[_0x52c8f1>>>0x2]|=(_0x2ff2b1['charCodeAt'](_0x52c8f1)&0xff)<<0x18-_0x52c8f1%0x4*0x8;return new _0x5104ac[(_0x7e3a02(0x188))](_0x2c51b3,_0x4bbda6);}},_0x12470b=_0x3638f8['Utf8']={'stringify':function(_0x4cc570){const _0x1e90ae=_0x4eed9f;try{return decodeURIComponent(escape(_0x1f4a56[_0x1e90ae(0x13f)](_0x4cc570)));}catch{throw new Error(_0x1e90ae(0x2bb));}},'parse':function(_0x284b5c){const _0x22b499=_0x4eed9f;return _0x1f4a56[_0x22b499(0x376)](unescape(encodeURIComponent(_0x284b5c)));}},_0x41c44f=_0x5604c9[_0x4eed9f(0x38c)]=_0x117354['extend']({'reset':function(){const _0x83df01=_0x4eed9f;this['_data']=new _0x5104ac[(_0x83df01(0x188))](),this[_0x83df01(0xf2)]=0x0;},'_append':function(_0x4e69f2){const _0x1c566f=_0x4eed9f;typeof _0x4e69f2==_0x1c566f(0x20e)&&(_0x4e69f2=_0x12470b[_0x1c566f(0x376)](_0x4e69f2)),this[_0x1c566f(0x2f7)]['concat'](_0x4e69f2),this[_0x1c566f(0xf2)]+=_0x4e69f2[_0x1c566f(0xf9)];},'_process':function(_0x1f5caa){const _0xf3f2c5=_0x4eed9f;var _0xe295a0,_0x1a384d=this[_0xf3f2c5(0x2f7)],_0x43e8d5=_0x1a384d[_0xf3f2c5(0x226)],_0x2901b4=_0x1a384d[_0xf3f2c5(0xf9)],_0x51e543=this[_0xf3f2c5(0x45c)],_0x3d5fe1=_0x51e543*0x4,_0x4d7fbe=_0x2901b4/_0x3d5fe1;_0x1f5caa?_0x4d7fbe=_0x313520[_0xf3f2c5(0x4d0)](_0x4d7fbe):_0x4d7fbe=_0x313520[_0xf3f2c5(0x517)]((_0x4d7fbe|0x0)-this[_0xf3f2c5(0x3a7)],0x0);var _0x27a592=_0x4d7fbe*_0x51e543,_0x20eb19=_0x313520[_0xf3f2c5(0x396)](_0x27a592*0x4,_0x2901b4);if(_0x27a592){for(var _0x57d063=0x0;_0x57d063<_0x27a592;_0x57d063+=_0x51e543)this[_0xf3f2c5(0x3d5)](_0x43e8d5,_0x57d063);_0xe295a0=_0x43e8d5['splice'](0x0,_0x27a592),_0x1a384d['sigBytes']-=_0x20eb19;}return new _0x5104ac[(_0xf3f2c5(0x188))](_0xe295a0,_0x20eb19);},'clone':function(){const _0x5595c9=_0x4eed9f;var _0x54d8c9=_0x117354['clone'][_0x5595c9(0x185)](this);return _0x54d8c9[_0x5595c9(0x2f7)]=this[_0x5595c9(0x2f7)][_0x5595c9(0x10b)](),_0x54d8c9;},'_minBufferSize':0x0});_0x5604c9['Hasher']=_0x41c44f[_0x4eed9f(0x4a6)]({'cfg':_0x117354[_0x4eed9f(0x4a6)](),'init':function(_0x1fbfff){const _0x38b61f=_0x4eed9f;this[_0x38b61f(0x4e0)]=this[_0x38b61f(0x4e0)]['extend'](_0x1fbfff),this[_0x38b61f(0x288)]();},'reset':function(){const _0x18a4e3=_0x4eed9f;_0x41c44f[_0x18a4e3(0x288)][_0x18a4e3(0x185)](this),this[_0x18a4e3(0x2a3)]();},'update':function(_0x56fc22){const _0x22d781=_0x4eed9f;return this[_0x22d781(0x21e)](_0x56fc22),this[_0x22d781(0x4fe)](),this;},'finalize':function(_0x153d40){const _0x36d80e=_0x4eed9f;_0x153d40&&this[_0x36d80e(0x21e)](_0x153d40);var _0x3233d6=this[_0x36d80e(0x523)]();return _0x3233d6;},'blockSize':0x10,'_createHelper':function(_0x59087f){return function(_0x38be71,_0x5bb071){const _0x58b37b=_0x3305;return new _0x59087f[(_0x58b37b(0x188))](_0x5bb071)[_0x58b37b(0x3e3)](_0x38be71);};},'_createHmacHelper':function(_0x427084){return function(_0x56ecd8,_0x385672){const _0x5ca40e=_0x3305;return new _0x4bc787[(_0x5ca40e(0x3eb))][(_0x5ca40e(0x188))](_0x427084,_0x385672)[_0x5ca40e(0x3e3)](_0x56ecd8);};}});var _0x4bc787=_0x50c8b1['algo']={};return _0x50c8b1;}(Math);return _0x2bb8af;}));}(lt)),lt[_0x7df945(0x371)];}var ht={'exports':{}},Kt;function Pi(){const _0x21a94e=_0x331f6e;return Kt||(Kt=0x1,function(_0x224ac6,_0xbd2991){(function(_0x4b27b5,_0x44714c){const _0x41d50b=_0x3305;_0x224ac6[_0x41d50b(0x371)]=_0x44714c(oe());}(Z,function(_0x60fecf){const _0x11b81b=_0x3305;return(function(){const _0x15370b=_0x3305;var _0x44bbba=_0x60fecf,_0x3f5da3=_0x44bbba[_0x15370b(0x13e)],_0x323ac7=_0x3f5da3[_0x15370b(0x1be)],_0x514e08=_0x44bbba[_0x15370b(0x2aa)];_0x514e08[_0x15370b(0x538)]={'stringify':function(_0x13039){const _0x2e58f5=_0x15370b;var _0xf8e86f=_0x13039[_0x2e58f5(0x226)],_0x14eeaf=_0x13039['sigBytes'],_0x2ddc8b=this[_0x2e58f5(0x383)];_0x13039[_0x2e58f5(0x35c)]();for(var _0x229963=[],_0x92def2=0x0;_0x92def2<_0x14eeaf;_0x92def2+=0x3)for(var _0x1f2760=_0xf8e86f[_0x92def2>>>0x2]>>>0x18-_0x92def2%0x4*0x8&0xff,_0x294c75=_0xf8e86f[_0x92def2+0x1>>>0x2]>>>0x18-(_0x92def2+0x1)%0x4*0x8&0xff,_0x4e6cf3=_0xf8e86f[_0x92def2+0x2>>>0x2]>>>0x18-(_0x92def2+0x2)%0x4*0x8&0xff,_0xb46089=_0x1f2760<<0x10|_0x294c75<<0x8|_0x4e6cf3,_0x3f5d99=0x0;_0x3f5d99<0x4&&_0x92def2+_0x3f5d99*0.75<_0x14eeaf;_0x3f5d99++)_0x229963[_0x2e58f5(0x256)](_0x2ddc8b[_0x2e58f5(0x426)](_0xb46089>>>0x6*(0x3-_0x3f5d99)&0x3f));var _0x13f35b=_0x2ddc8b[_0x2e58f5(0x426)](0x40);if(_0x13f35b){for(;_0x229963['length']%0x4;)_0x229963[_0x2e58f5(0x256)](_0x13f35b);}return _0x229963[_0x2e58f5(0x123)]('');},'parse':function(_0x7bb3da){const _0xa2fe97=_0x15370b;var _0x528528=_0x7bb3da[_0xa2fe97(0xa1)],_0x58ca10=this[_0xa2fe97(0x383)],_0x321bcb=this['_reverseMap'];if(!_0x321bcb){_0x321bcb=this[_0xa2fe97(0x294)]=[];for(var _0xd006e9=0x0;_0xd006e9<_0x58ca10['length'];_0xd006e9++)_0x321bcb[_0x58ca10['charCodeAt'](_0xd006e9)]=_0xd006e9;}var _0x5cc4ae=_0x58ca10[_0xa2fe97(0x426)](0x40);if(_0x5cc4ae){var _0x2cc852=_0x7bb3da['indexOf'](_0x5cc4ae);_0x2cc852!==-0x1&&(_0x528528=_0x2cc852);}return _0x5d138c(_0x7bb3da,_0x528528,_0x321bcb);},'_map':_0x15370b(0xfb)};function _0x5d138c(_0x2ba31e,_0x8dd21b,_0x18cb80){const _0xbff589=_0x15370b;for(var _0x5b4124=[],_0x17a432=0x0,_0x4ad207=0x0;_0x4ad207<_0x8dd21b;_0x4ad207++)if(_0x4ad207%0x4){var _0x2e4e07=_0x18cb80[_0x2ba31e[_0xbff589(0x305)](_0x4ad207-0x1)]<<_0x4ad207%0x4*0x2,_0x50e3ca=_0x18cb80[_0x2ba31e['charCodeAt'](_0x4ad207)]>>>0x6-_0x4ad207%0x4*0x2,_0x5ceeba=_0x2e4e07|_0x50e3ca;_0x5b4124[_0x17a432>>>0x2]|=_0x5ceeba<<0x18-_0x17a432%0x4*0x8,_0x17a432++;}return _0x323ac7['create'](_0x5b4124,_0x17a432);}}()),_0x60fecf[_0x11b81b(0x2aa)][_0x11b81b(0x538)];}));}(ht)),ht[_0x21a94e(0x371)];}var _t={'exports':{}},qt;function fr(){const _0x256d1e=_0x331f6e;return qt||(qt=0x1,function(_0x160547,_0x4b3c52){(function(_0x3eddea,_0x358a67){const _0x3c7bcb=_0x3305;_0x160547[_0x3c7bcb(0x371)]=_0x358a67(oe());}(Z,function(_0x4b109a){const _0x12cdf3=_0x3305;return function(_0x77339f){const _0x36281c=_0x3305;var _0x201cce=_0x4b109a,_0x5bdb44=_0x201cce['lib'],_0x147118=_0x5bdb44[_0x36281c(0x1be)],_0x2e6dca=_0x5bdb44['Hasher'],_0x138ce7=_0x201cce['algo'],_0x37d62c=[];(function(){const _0x31d74f=_0x36281c;for(var _0x2dfc53=0x0;_0x2dfc53<0x40;_0x2dfc53++)_0x37d62c[_0x2dfc53]=_0x77339f[_0x31d74f(0x497)](_0x77339f['sin'](_0x2dfc53+0x1))*0x100000000|0x0;}());var _0x411137=_0x138ce7[_0x36281c(0x3e5)]=_0x2e6dca['extend']({'_doReset':function(){const _0x2e242a=_0x36281c;this[_0x2e242a(0x46e)]=new _0x147118['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3d09de,_0x190c14){const _0x46898c=_0x36281c;for(var _0x24a86b=0x0;_0x24a86b<0x10;_0x24a86b++){var _0x2020ca=_0x190c14+_0x24a86b,_0x275c60=_0x3d09de[_0x2020ca];_0x3d09de[_0x2020ca]=(_0x275c60<<0x8|_0x275c60>>>0x18)&0xff00ff|(_0x275c60<<0x18|_0x275c60>>>0x8)&0xff00ff00;}var _0x119ce3=this['_hash'][_0x46898c(0x226)],_0x43bb64=_0x3d09de[_0x190c14+0x0],_0x5ab56e=_0x3d09de[_0x190c14+0x1],_0x2ca8d3=_0x3d09de[_0x190c14+0x2],_0xeb336b=_0x3d09de[_0x190c14+0x3],_0x41acc7=_0x3d09de[_0x190c14+0x4],_0x284775=_0x3d09de[_0x190c14+0x5],_0x4a8396=_0x3d09de[_0x190c14+0x6],_0x3dd3b3=_0x3d09de[_0x190c14+0x7],_0x911bf1=_0x3d09de[_0x190c14+0x8],_0x596f9c=_0x3d09de[_0x190c14+0x9],_0x399eac=_0x3d09de[_0x190c14+0xa],_0x3dabe7=_0x3d09de[_0x190c14+0xb],_0x55f419=_0x3d09de[_0x190c14+0xc],_0x3c2f11=_0x3d09de[_0x190c14+0xd],_0xd8104c=_0x3d09de[_0x190c14+0xe],_0x2586ad=_0x3d09de[_0x190c14+0xf],_0x40512f=_0x119ce3[0x0],_0x5850c9=_0x119ce3[0x1],_0x16abbb=_0x119ce3[0x2],_0x47f509=_0x119ce3[0x3];_0x40512f=_0x97896f(_0x40512f,_0x5850c9,_0x16abbb,_0x47f509,_0x43bb64,0x7,_0x37d62c[0x0]),_0x47f509=_0x97896f(_0x47f509,_0x40512f,_0x5850c9,_0x16abbb,_0x5ab56e,0xc,_0x37d62c[0x1]),_0x16abbb=_0x97896f(_0x16abbb,_0x47f509,_0x40512f,_0x5850c9,_0x2ca8d3,0x11,_0x37d62c[0x2]),_0x5850c9=_0x97896f(_0x5850c9,_0x16abbb,_0x47f509,_0x40512f,_0xeb336b,0x16,_0x37d62c[0x3]),_0x40512f=_0x97896f(_0x40512f,_0x5850c9,_0x16abbb,_0x47f509,_0x41acc7,0x7,_0x37d62c[0x4]),_0x47f509=_0x97896f(_0x47f509,_0x40512f,_0x5850c9,_0x16abbb,_0x284775,0xc,_0x37d62c[0x5]),_0x16abbb=_0x97896f(_0x16abbb,_0x47f509,_0x40512f,_0x5850c9,_0x4a8396,0x11,_0x37d62c[0x6]),_0x5850c9=_0x97896f(_0x5850c9,_0x16abbb,_0x47f509,_0x40512f,_0x3dd3b3,0x16,_0x37d62c[0x7]),_0x40512f=_0x97896f(_0x40512f,_0x5850c9,_0x16abbb,_0x47f509,_0x911bf1,0x7,_0x37d62c[0x8]),_0x47f509=_0x97896f(_0x47f509,_0x40512f,_0x5850c9,_0x16abbb,_0x596f9c,0xc,_0x37d62c[0x9]),_0x16abbb=_0x97896f(_0x16abbb,_0x47f509,_0x40512f,_0x5850c9,_0x399eac,0x11,_0x37d62c[0xa]),_0x5850c9=_0x97896f(_0x5850c9,_0x16abbb,_0x47f509,_0x40512f,_0x3dabe7,0x16,_0x37d62c[0xb]),_0x40512f=_0x97896f(_0x40512f,_0x5850c9,_0x16abbb,_0x47f509,_0x55f419,0x7,_0x37d62c[0xc]),_0x47f509=_0x97896f(_0x47f509,_0x40512f,_0x5850c9,_0x16abbb,_0x3c2f11,0xc,_0x37d62c[0xd]),_0x16abbb=_0x97896f(_0x16abbb,_0x47f509,_0x40512f,_0x5850c9,_0xd8104c,0x11,_0x37d62c[0xe]),_0x5850c9=_0x97896f(_0x5850c9,_0x16abbb,_0x47f509,_0x40512f,_0x2586ad,0x16,_0x37d62c[0xf]),_0x40512f=_0x15587c(_0x40512f,_0x5850c9,_0x16abbb,_0x47f509,_0x5ab56e,0x5,_0x37d62c[0x10]),_0x47f509=_0x15587c(_0x47f509,_0x40512f,_0x5850c9,_0x16abbb,_0x4a8396,0x9,_0x37d62c[0x11]),_0x16abbb=_0x15587c(_0x16abbb,_0x47f509,_0x40512f,_0x5850c9,_0x3dabe7,0xe,_0x37d62c[0x12]),_0x5850c9=_0x15587c(_0x5850c9,_0x16abbb,_0x47f509,_0x40512f,_0x43bb64,0x14,_0x37d62c[0x13]),_0x40512f=_0x15587c(_0x40512f,_0x5850c9,_0x16abbb,_0x47f509,_0x284775,0x5,_0x37d62c[0x14]),_0x47f509=_0x15587c(_0x47f509,_0x40512f,_0x5850c9,_0x16abbb,_0x399eac,0x9,_0x37d62c[0x15]),_0x16abbb=_0x15587c(_0x16abbb,_0x47f509,_0x40512f,_0x5850c9,_0x2586ad,0xe,_0x37d62c[0x16]),_0x5850c9=_0x15587c(_0x5850c9,_0x16abbb,_0x47f509,_0x40512f,_0x41acc7,0x14,_0x37d62c[0x17]),_0x40512f=_0x15587c(_0x40512f,_0x5850c9,_0x16abbb,_0x47f509,_0x596f9c,0x5,_0x37d62c[0x18]),_0x47f509=_0x15587c(_0x47f509,_0x40512f,_0x5850c9,_0x16abbb,_0xd8104c,0x9,_0x37d62c[0x19]),_0x16abbb=_0x15587c(_0x16abbb,_0x47f509,_0x40512f,_0x5850c9,_0xeb336b,0xe,_0x37d62c[0x1a]),_0x5850c9=_0x15587c(_0x5850c9,_0x16abbb,_0x47f509,_0x40512f,_0x911bf1,0x14,_0x37d62c[0x1b]),_0x40512f=_0x15587c(_0x40512f,_0x5850c9,_0x16abbb,_0x47f509,_0x3c2f11,0x5,_0x37d62c[0x1c]),_0x47f509=_0x15587c(_0x47f509,_0x40512f,_0x5850c9,_0x16abbb,_0x2ca8d3,0x9,_0x37d62c[0x1d]),_0x16abbb=_0x15587c(_0x16abbb,_0x47f509,_0x40512f,_0x5850c9,_0x3dd3b3,0xe,_0x37d62c[0x1e]),_0x5850c9=_0x15587c(_0x5850c9,_0x16abbb,_0x47f509,_0x40512f,_0x55f419,0x14,_0x37d62c[0x1f]),_0x40512f=_0x2a3281(_0x40512f,_0x5850c9,_0x16abbb,_0x47f509,_0x284775,0x4,_0x37d62c[0x20]),_0x47f509=_0x2a3281(_0x47f509,_0x40512f,_0x5850c9,_0x16abbb,_0x911bf1,0xb,_0x37d62c[0x21]),_0x16abbb=_0x2a3281(_0x16abbb,_0x47f509,_0x40512f,_0x5850c9,_0x3dabe7,0x10,_0x37d62c[0x22]),_0x5850c9=_0x2a3281(_0x5850c9,_0x16abbb,_0x47f509,_0x40512f,_0xd8104c,0x17,_0x37d62c[0x23]),_0x40512f=_0x2a3281(_0x40512f,_0x5850c9,_0x16abbb,_0x47f509,_0x5ab56e,0x4,_0x37d62c[0x24]),_0x47f509=_0x2a3281(_0x47f509,_0x40512f,_0x5850c9,_0x16abbb,_0x41acc7,0xb,_0x37d62c[0x25]),_0x16abbb=_0x2a3281(_0x16abbb,_0x47f509,_0x40512f,_0x5850c9,_0x3dd3b3,0x10,_0x37d62c[0x26]),_0x5850c9=_0x2a3281(_0x5850c9,_0x16abbb,_0x47f509,_0x40512f,_0x399eac,0x17,_0x37d62c[0x27]),_0x40512f=_0x2a3281(_0x40512f,_0x5850c9,_0x16abbb,_0x47f509,_0x3c2f11,0x4,_0x37d62c[0x28]),_0x47f509=_0x2a3281(_0x47f509,_0x40512f,_0x5850c9,_0x16abbb,_0x43bb64,0xb,_0x37d62c[0x29]),_0x16abbb=_0x2a3281(_0x16abbb,_0x47f509,_0x40512f,_0x5850c9,_0xeb336b,0x10,_0x37d62c[0x2a]),_0x5850c9=_0x2a3281(_0x5850c9,_0x16abbb,_0x47f509,_0x40512f,_0x4a8396,0x17,_0x37d62c[0x2b]),_0x40512f=_0x2a3281(_0x40512f,_0x5850c9,_0x16abbb,_0x47f509,_0x596f9c,0x4,_0x37d62c[0x2c]),_0x47f509=_0x2a3281(_0x47f509,_0x40512f,_0x5850c9,_0x16abbb,_0x55f419,0xb,_0x37d62c[0x2d]),_0x16abbb=_0x2a3281(_0x16abbb,_0x47f509,_0x40512f,_0x5850c9,_0x2586ad,0x10,_0x37d62c[0x2e]),_0x5850c9=_0x2a3281(_0x5850c9,_0x16abbb,_0x47f509,_0x40512f,_0x2ca8d3,0x17,_0x37d62c[0x2f]),_0x40512f=_0x3c5b41(_0x40512f,_0x5850c9,_0x16abbb,_0x47f509,_0x43bb64,0x6,_0x37d62c[0x30]),_0x47f509=_0x3c5b41(_0x47f509,_0x40512f,_0x5850c9,_0x16abbb,_0x3dd3b3,0xa,_0x37d62c[0x31]),_0x16abbb=_0x3c5b41(_0x16abbb,_0x47f509,_0x40512f,_0x5850c9,_0xd8104c,0xf,_0x37d62c[0x32]),_0x5850c9=_0x3c5b41(_0x5850c9,_0x16abbb,_0x47f509,_0x40512f,_0x284775,0x15,_0x37d62c[0x33]),_0x40512f=_0x3c5b41(_0x40512f,_0x5850c9,_0x16abbb,_0x47f509,_0x55f419,0x6,_0x37d62c[0x34]),_0x47f509=_0x3c5b41(_0x47f509,_0x40512f,_0x5850c9,_0x16abbb,_0xeb336b,0xa,_0x37d62c[0x35]),_0x16abbb=_0x3c5b41(_0x16abbb,_0x47f509,_0x40512f,_0x5850c9,_0x399eac,0xf,_0x37d62c[0x36]),_0x5850c9=_0x3c5b41(_0x5850c9,_0x16abbb,_0x47f509,_0x40512f,_0x5ab56e,0x15,_0x37d62c[0x37]),_0x40512f=_0x3c5b41(_0x40512f,_0x5850c9,_0x16abbb,_0x47f509,_0x911bf1,0x6,_0x37d62c[0x38]),_0x47f509=_0x3c5b41(_0x47f509,_0x40512f,_0x5850c9,_0x16abbb,_0x2586ad,0xa,_0x37d62c[0x39]),_0x16abbb=_0x3c5b41(_0x16abbb,_0x47f509,_0x40512f,_0x5850c9,_0x4a8396,0xf,_0x37d62c[0x3a]),_0x5850c9=_0x3c5b41(_0x5850c9,_0x16abbb,_0x47f509,_0x40512f,_0x3c2f11,0x15,_0x37d62c[0x3b]),_0x40512f=_0x3c5b41(_0x40512f,_0x5850c9,_0x16abbb,_0x47f509,_0x41acc7,0x6,_0x37d62c[0x3c]),_0x47f509=_0x3c5b41(_0x47f509,_0x40512f,_0x5850c9,_0x16abbb,_0x3dabe7,0xa,_0x37d62c[0x3d]),_0x16abbb=_0x3c5b41(_0x16abbb,_0x47f509,_0x40512f,_0x5850c9,_0x2ca8d3,0xf,_0x37d62c[0x3e]),_0x5850c9=_0x3c5b41(_0x5850c9,_0x16abbb,_0x47f509,_0x40512f,_0x596f9c,0x15,_0x37d62c[0x3f]),_0x119ce3[0x0]=_0x119ce3[0x0]+_0x40512f|0x0,_0x119ce3[0x1]=_0x119ce3[0x1]+_0x5850c9|0x0,_0x119ce3[0x2]=_0x119ce3[0x2]+_0x16abbb|0x0,_0x119ce3[0x3]=_0x119ce3[0x3]+_0x47f509|0x0;},'_doFinalize':function(){const _0x5d897e=_0x36281c;var _0x13deb7=this[_0x5d897e(0x2f7)],_0x2897fd=_0x13deb7[_0x5d897e(0x226)],_0x26176f=this[_0x5d897e(0xf2)]*0x8,_0x3ea676=_0x13deb7[_0x5d897e(0xf9)]*0x8;_0x2897fd[_0x3ea676>>>0x5]|=0x80<<0x18-_0x3ea676%0x20;var _0x3942a5=_0x77339f[_0x5d897e(0x119)](_0x26176f/0x100000000),_0x1d370b=_0x26176f;_0x2897fd[(_0x3ea676+0x40>>>0x9<<0x4)+0xf]=(_0x3942a5<<0x8|_0x3942a5>>>0x18)&0xff00ff|(_0x3942a5<<0x18|_0x3942a5>>>0x8)&0xff00ff00,_0x2897fd[(_0x3ea676+0x40>>>0x9<<0x4)+0xe]=(_0x1d370b<<0x8|_0x1d370b>>>0x18)&0xff00ff|(_0x1d370b<<0x18|_0x1d370b>>>0x8)&0xff00ff00,_0x13deb7[_0x5d897e(0xf9)]=(_0x2897fd['length']+0x1)*0x4,this[_0x5d897e(0x4fe)]();for(var _0x41b4a2=this[_0x5d897e(0x46e)],_0x4f300f=_0x41b4a2[_0x5d897e(0x226)],_0x49b105=0x0;_0x49b105<0x4;_0x49b105++){var _0x10497d=_0x4f300f[_0x49b105];_0x4f300f[_0x49b105]=(_0x10497d<<0x8|_0x10497d>>>0x18)&0xff00ff|(_0x10497d<<0x18|_0x10497d>>>0x8)&0xff00ff00;}return _0x41b4a2;},'clone':function(){const _0x19250b=_0x36281c;var _0x4c9fd9=_0x2e6dca[_0x19250b(0x10b)][_0x19250b(0x185)](this);return _0x4c9fd9[_0x19250b(0x46e)]=this['_hash'][_0x19250b(0x10b)](),_0x4c9fd9;}});function _0x97896f(_0x13ff34,_0x17be15,_0x2a26c3,_0x104946,_0x21156e,_0x3fdb32,_0x30f7e4){var _0x10225f=_0x13ff34+(_0x17be15&_0x2a26c3|~_0x17be15&_0x104946)+_0x21156e+_0x30f7e4;return(_0x10225f<<_0x3fdb32|_0x10225f>>>0x20-_0x3fdb32)+_0x17be15;}function _0x15587c(_0x5c3214,_0xbc003b,_0x461484,_0x2aee12,_0x25fccc,_0x32f310,_0x19dcf8){var _0x4ad861=_0x5c3214+(_0xbc003b&_0x2aee12|_0x461484&~_0x2aee12)+_0x25fccc+_0x19dcf8;return(_0x4ad861<<_0x32f310|_0x4ad861>>>0x20-_0x32f310)+_0xbc003b;}function _0x2a3281(_0x539e52,_0x464e2a,_0x284fea,_0x55b3f0,_0x11fefc,_0x4b557f,_0x371d56){var _0x18ff2d=_0x539e52+(_0x464e2a^_0x284fea^_0x55b3f0)+_0x11fefc+_0x371d56;return(_0x18ff2d<<_0x4b557f|_0x18ff2d>>>0x20-_0x4b557f)+_0x464e2a;}function _0x3c5b41(_0x18e292,_0xce74d3,_0x19f61e,_0x38737b,_0x3a1125,_0x680716,_0x4b557b){var _0x5d9c27=_0x18e292+(_0x19f61e^(_0xce74d3|~_0x38737b))+_0x3a1125+_0x4b557b;return(_0x5d9c27<<_0x680716|_0x5d9c27>>>0x20-_0x680716)+_0xce74d3;}_0x201cce[_0x36281c(0x3e5)]=_0x2e6dca[_0x36281c(0x1f5)](_0x411137),_0x201cce[_0x36281c(0x385)]=_0x2e6dca[_0x36281c(0x1cd)](_0x411137);}(Math),_0x4b109a[_0x12cdf3(0x3e5)];}));}(_t)),_t[_0x256d1e(0x371)];}var ut={'exports':{}},dt={'exports':{}},zt;function vr(){const _0x3e61d6=_0x331f6e;return zt||(zt=0x1,function(_0x47c4fa,_0x1301ed){(function(_0x232935,_0x18edaa){const _0xd5d828=_0x3305;_0x47c4fa[_0xd5d828(0x371)]=_0x18edaa(oe());}(Z,function(_0x57d8ef){return(function(){const _0x139f6b=_0x3305;var _0x3333ce=_0x57d8ef,_0x11356c=_0x3333ce[_0x139f6b(0x13e)],_0x551a0f=_0x11356c[_0x139f6b(0x1be)],_0x537e50=_0x11356c[_0x139f6b(0x558)],_0x456676=_0x3333ce[_0x139f6b(0x12b)],_0x3c64f1=[],_0x1a423a=_0x456676[_0x139f6b(0x26c)]=_0x537e50[_0x139f6b(0x4a6)]({'_doReset':function(){const _0x439516=_0x139f6b;this[_0x439516(0x46e)]=new _0x551a0f['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x515506,_0x19a1f6){const _0x427972=_0x139f6b;for(var _0x158491=this[_0x427972(0x46e)]['words'],_0x1a907b=_0x158491[0x0],_0x101f4b=_0x158491[0x1],_0x5a2cbd=_0x158491[0x2],_0x1cc7bc=_0x158491[0x3],_0x5e65b4=_0x158491[0x4],_0x1a8f93=0x0;_0x1a8f93<0x50;_0x1a8f93++){if(_0x1a8f93<0x10)_0x3c64f1[_0x1a8f93]=_0x515506[_0x19a1f6+_0x1a8f93]|0x0;else{var _0x5c20a9=_0x3c64f1[_0x1a8f93-0x3]^_0x3c64f1[_0x1a8f93-0x8]^_0x3c64f1[_0x1a8f93-0xe]^_0x3c64f1[_0x1a8f93-0x10];_0x3c64f1[_0x1a8f93]=_0x5c20a9<<0x1|_0x5c20a9>>>0x1f;}var _0xa1bdd4=(_0x1a907b<<0x5|_0x1a907b>>>0x1b)+_0x5e65b4+_0x3c64f1[_0x1a8f93];_0x1a8f93<0x14?_0xa1bdd4+=(_0x101f4b&_0x5a2cbd|~_0x101f4b&_0x1cc7bc)+0x5a827999:_0x1a8f93<0x28?_0xa1bdd4+=(_0x101f4b^_0x5a2cbd^_0x1cc7bc)+0x6ed9eba1:_0x1a8f93<0x3c?_0xa1bdd4+=(_0x101f4b&_0x5a2cbd|_0x101f4b&_0x1cc7bc|_0x5a2cbd&_0x1cc7bc)-0x70e44324:_0xa1bdd4+=(_0x101f4b^_0x5a2cbd^_0x1cc7bc)-0x359d3e2a,_0x5e65b4=_0x1cc7bc,_0x1cc7bc=_0x5a2cbd,_0x5a2cbd=_0x101f4b<<0x1e|_0x101f4b>>>0x2,_0x101f4b=_0x1a907b,_0x1a907b=_0xa1bdd4;}_0x158491[0x0]=_0x158491[0x0]+_0x1a907b|0x0,_0x158491[0x1]=_0x158491[0x1]+_0x101f4b|0x0,_0x158491[0x2]=_0x158491[0x2]+_0x5a2cbd|0x0,_0x158491[0x3]=_0x158491[0x3]+_0x1cc7bc|0x0,_0x158491[0x4]=_0x158491[0x4]+_0x5e65b4|0x0;},'_doFinalize':function(){const _0x3496e3=_0x139f6b;var _0x252c9d=this['_data'],_0x2ed82f=_0x252c9d[_0x3496e3(0x226)],_0x193223=this['_nDataBytes']*0x8,_0x3e5573=_0x252c9d[_0x3496e3(0xf9)]*0x8;return _0x2ed82f[_0x3e5573>>>0x5]|=0x80<<0x18-_0x3e5573%0x20,_0x2ed82f[(_0x3e5573+0x40>>>0x9<<0x4)+0xe]=Math[_0x3496e3(0x119)](_0x193223/0x100000000),_0x2ed82f[(_0x3e5573+0x40>>>0x9<<0x4)+0xf]=_0x193223,_0x252c9d[_0x3496e3(0xf9)]=_0x2ed82f[_0x3496e3(0xa1)]*0x4,this[_0x3496e3(0x4fe)](),this[_0x3496e3(0x46e)];},'clone':function(){const _0x91568=_0x139f6b;var _0x441a17=_0x537e50[_0x91568(0x10b)][_0x91568(0x185)](this);return _0x441a17['_hash']=this[_0x91568(0x46e)][_0x91568(0x10b)](),_0x441a17;}});_0x3333ce[_0x139f6b(0x26c)]=_0x537e50[_0x139f6b(0x1f5)](_0x1a423a),_0x3333ce[_0x139f6b(0x49f)]=_0x537e50[_0x139f6b(0x1cd)](_0x1a423a);}()),_0x57d8ef['SHA1'];}));}(dt)),dt[_0x3e61d6(0x371)];}var ft={'exports':{}},Xt;function Sr(){const _0x367784=_0x331f6e;return Xt||(Xt=0x1,function(_0x44ee61,_0x316c09){(function(_0x1f9f77,_0x2918a6){const _0x3cdb0f=_0x3305;_0x44ee61[_0x3cdb0f(0x371)]=_0x2918a6(oe());}(Z,function(_0x41598a){(function(){const _0x368006=_0x3305;var _0x45bfc0=_0x41598a,_0x81b980=_0x45bfc0[_0x368006(0x13e)],_0x212909=_0x81b980[_0x368006(0x55e)],_0x1d5344=_0x45bfc0[_0x368006(0x2aa)],_0x40a46d=_0x1d5344[_0x368006(0x306)],_0x49a7a7=_0x45bfc0['algo'];_0x49a7a7[_0x368006(0x3eb)]=_0x212909[_0x368006(0x4a6)]({'init':function(_0x3d82c3,_0x752c01){const _0x44fc8f=_0x368006;_0x3d82c3=this[_0x44fc8f(0x2c9)]=new _0x3d82c3[(_0x44fc8f(0x188))](),typeof _0x752c01==_0x44fc8f(0x20e)&&(_0x752c01=_0x40a46d[_0x44fc8f(0x376)](_0x752c01));var _0x2957e4=_0x3d82c3[_0x44fc8f(0x45c)],_0x2e29d2=_0x2957e4*0x4;_0x752c01[_0x44fc8f(0xf9)]>_0x2e29d2&&(_0x752c01=_0x3d82c3[_0x44fc8f(0x3e3)](_0x752c01)),_0x752c01['clamp']();for(var _0x4910b8=this['_oKey']=_0x752c01[_0x44fc8f(0x10b)](),_0x588170=this[_0x44fc8f(0x2e5)]=_0x752c01[_0x44fc8f(0x10b)](),_0x2de951=_0x4910b8[_0x44fc8f(0x226)],_0x300d86=_0x588170[_0x44fc8f(0x226)],_0x50d617=0x0;_0x50d617<_0x2957e4;_0x50d617++)_0x2de951[_0x50d617]^=0x5c5c5c5c,_0x300d86[_0x50d617]^=0x36363636;_0x4910b8[_0x44fc8f(0xf9)]=_0x588170[_0x44fc8f(0xf9)]=_0x2e29d2,this['reset']();},'reset':function(){const _0x334e56=_0x368006;var _0x144039=this[_0x334e56(0x2c9)];_0x144039['reset'](),_0x144039[_0x334e56(0x2eb)](this['_iKey']);},'update':function(_0x5b00f2){const _0xdac755=_0x368006;return this[_0xdac755(0x2c9)][_0xdac755(0x2eb)](_0x5b00f2),this;},'finalize':function(_0x5e4d2d){const _0x40bc9f=_0x368006;var _0x5d0a0d=this['_hasher'],_0x58bc2d=_0x5d0a0d[_0x40bc9f(0x3e3)](_0x5e4d2d);_0x5d0a0d[_0x40bc9f(0x288)]();var _0x4ac953=_0x5d0a0d[_0x40bc9f(0x3e3)](this[_0x40bc9f(0x54e)]['clone']()[_0x40bc9f(0x172)](_0x58bc2d));return _0x4ac953;}});}());}));}(ft)),ft[_0x367784(0x371)];}var Jt;function wi(){const _0x4e566e=_0x331f6e;return Jt||(Jt=0x1,function(_0x1d2b55,_0x485691){(function(_0x3e1b31,_0xfba270,_0x1257a8){const _0x99ea5=_0x3305;_0x1d2b55[_0x99ea5(0x371)]=_0xfba270(oe(),vr(),Sr());}(Z,function(_0x134b8a){return(function(){const _0x3c0d13=_0x3305;var _0x39930b=_0x134b8a,_0x49abda=_0x39930b[_0x3c0d13(0x13e)],_0x1624d1=_0x49abda[_0x3c0d13(0x55e)],_0x97bfff=_0x49abda['WordArray'],_0x545a11=_0x39930b[_0x3c0d13(0x12b)],_0x423c40=_0x545a11[_0x3c0d13(0x3e5)],_0x188deb=_0x545a11[_0x3c0d13(0x353)]=_0x1624d1['extend']({'cfg':_0x1624d1['extend']({'keySize':0x80/0x20,'hasher':_0x423c40,'iterations':0x1}),'init':function(_0x12a93f){const _0x42a619=_0x3c0d13;this[_0x42a619(0x4e0)]=this[_0x42a619(0x4e0)][_0x42a619(0x4a6)](_0x12a93f);},'compute':function(_0x2800aa,_0x370116){const _0x567e9a=_0x3c0d13;for(var _0xc2d56e,_0x5c159e=this[_0x567e9a(0x4e0)],_0x4f26dc=_0x5c159e[_0x567e9a(0x2c7)]['create'](),_0x38bbf9=_0x97bfff['create'](),_0x16bbdd=_0x38bbf9[_0x567e9a(0x226)],_0x11a286=_0x5c159e[_0x567e9a(0x13c)],_0xff82d2=_0x5c159e['iterations'];_0x16bbdd[_0x567e9a(0xa1)]<_0x11a286;){_0xc2d56e&&_0x4f26dc[_0x567e9a(0x2eb)](_0xc2d56e),_0xc2d56e=_0x4f26dc[_0x567e9a(0x2eb)](_0x2800aa)['finalize'](_0x370116),_0x4f26dc[_0x567e9a(0x288)]();for(var _0x3eaa81=0x1;_0x3eaa81<_0xff82d2;_0x3eaa81++)_0xc2d56e=_0x4f26dc[_0x567e9a(0x3e3)](_0xc2d56e),_0x4f26dc[_0x567e9a(0x288)]();_0x38bbf9[_0x567e9a(0x172)](_0xc2d56e);}return _0x38bbf9['sigBytes']=_0x11a286*0x4,_0x38bbf9;}});_0x39930b[_0x3c0d13(0x353)]=function(_0x2806a5,_0x3afa3d,_0x1da785){const _0x2bfd9f=_0x3c0d13;return _0x188deb[_0x2bfd9f(0x2c3)](_0x1da785)['compute'](_0x2806a5,_0x3afa3d);};}()),_0x134b8a['EvpKDF'];}));}(ut)),ut[_0x4e566e(0x371)];}var vt={'exports':{}},Zt;function Ui(){const _0x5f2e63=_0x331f6e;return Zt||(Zt=0x1,function(_0x4f8480,_0x404445){(function(_0x384205,_0x5425ed,_0x283cc3){const _0x5bdb2f=_0x3305;_0x4f8480[_0x5bdb2f(0x371)]=_0x5425ed(oe(),wi());}(Z,function(_0x14e1f0){const _0x299094=_0x3305;_0x14e1f0[_0x299094(0x13e)]['Cipher']||function(_0x4a4235){const _0xfe8c84=_0x299094;var _0x499cd3=_0x14e1f0,_0x1ce62e=_0x499cd3[_0xfe8c84(0x13e)],_0x16bf73=_0x1ce62e[_0xfe8c84(0x55e)],_0xdd1495=_0x1ce62e[_0xfe8c84(0x1be)],_0x3a399b=_0x1ce62e['BufferedBlockAlgorithm'],_0x130804=_0x499cd3[_0xfe8c84(0x2aa)];_0x130804[_0xfe8c84(0x306)];var _0x19e5a0=_0x130804[_0xfe8c84(0x538)],_0x46dd92=_0x499cd3['algo'],_0x242c96=_0x46dd92[_0xfe8c84(0x353)],_0x27f303=_0x1ce62e[_0xfe8c84(0x345)]=_0x3a399b[_0xfe8c84(0x4a6)]({'cfg':_0x16bf73[_0xfe8c84(0x4a6)](),'createEncryptor':function(_0x5e020d,_0xebea79){const _0x397bc1=_0xfe8c84;return this[_0x397bc1(0x2c3)](this[_0x397bc1(0x45d)],_0x5e020d,_0xebea79);},'createDecryptor':function(_0x62d40d,_0x25814c){return this['create'](this['_DEC_XFORM_MODE'],_0x62d40d,_0x25814c);},'init':function(_0x5bdaf6,_0x124081,_0x59a17d){const _0x19b079=_0xfe8c84;this[_0x19b079(0x4e0)]=this[_0x19b079(0x4e0)][_0x19b079(0x4a6)](_0x59a17d),this['_xformMode']=_0x5bdaf6,this[_0x19b079(0x25f)]=_0x124081,this['reset']();},'reset':function(){const _0x286465=_0xfe8c84;_0x3a399b[_0x286465(0x288)][_0x286465(0x185)](this),this[_0x286465(0x2a3)]();},'process':function(_0x325829){const _0x4cd8ff=_0xfe8c84;return this[_0x4cd8ff(0x21e)](_0x325829),this[_0x4cd8ff(0x4fe)]();},'finalize':function(_0x3f0d79){const _0x9149e3=_0xfe8c84;_0x3f0d79&&this[_0x9149e3(0x21e)](_0x3f0d79);var _0x5bd2b9=this[_0x9149e3(0x523)]();return _0x5bd2b9;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x29af75(_0x3a4c63){const _0x5640eb=_0x3305;return typeof _0x3a4c63==_0x5640eb(0x20e)?_0x4198b2:_0x4c21f5;}return function(_0x3a28e5){return{'encrypt':function(_0x1bb2e2,_0x203ee4,_0x5dfd5d){const _0x3a18e7=_0x3305;return _0x29af75(_0x203ee4)[_0x3a18e7(0x48f)](_0x3a28e5,_0x1bb2e2,_0x203ee4,_0x5dfd5d);},'decrypt':function(_0x1dd1a7,_0x3233ba,_0x5cca96){return _0x29af75(_0x3233ba)['decrypt'](_0x3a28e5,_0x1dd1a7,_0x3233ba,_0x5cca96);}};};}())});_0x1ce62e['StreamCipher']=_0x27f303[_0xfe8c84(0x4a6)]({'_doFinalize':function(){var _0x734088=this['_process'](!0x0);return _0x734088;},'blockSize':0x1});var _0x246988=_0x499cd3[_0xfe8c84(0xc7)]={},_0x220cd0=_0x1ce62e[_0xfe8c84(0x506)]=_0x16bf73[_0xfe8c84(0x4a6)]({'createEncryptor':function(_0x328199,_0xc8e95a){const _0x295b28=_0xfe8c84;return this[_0x295b28(0x2f3)]['create'](_0x328199,_0xc8e95a);},'createDecryptor':function(_0x3f5452,_0x291d64){const _0x5b8e70=_0xfe8c84;return this[_0x5b8e70(0x1a4)][_0x5b8e70(0x2c3)](_0x3f5452,_0x291d64);},'init':function(_0x4a3a46,_0x787e38){const _0x109b86=_0xfe8c84;this[_0x109b86(0x494)]=_0x4a3a46,this[_0x109b86(0x456)]=_0x787e38;}}),_0x4d7378=_0x246988[_0xfe8c84(0x3c9)]=(function(){const _0x225556=_0xfe8c84;var _0x5bd19f=_0x220cd0['extend']();_0x5bd19f[_0x225556(0x2f3)]=_0x5bd19f[_0x225556(0x4a6)]({'processBlock':function(_0x184211,_0x58c069){const _0x1426ee=_0x225556;var _0x3fbea3=this['_cipher'],_0x38b6e7=_0x3fbea3[_0x1426ee(0x45c)];_0x3163ea[_0x1426ee(0x185)](this,_0x184211,_0x58c069,_0x38b6e7),_0x3fbea3['encryptBlock'](_0x184211,_0x58c069),this[_0x1426ee(0x266)]=_0x184211[_0x1426ee(0x32b)](_0x58c069,_0x58c069+_0x38b6e7);}}),_0x5bd19f[_0x225556(0x1a4)]=_0x5bd19f[_0x225556(0x4a6)]({'processBlock':function(_0x4bd384,_0x21130a){const _0x176aa3=_0x225556;var _0x1aacaa=this['_cipher'],_0x15c47c=_0x1aacaa['blockSize'],_0x46046d=_0x4bd384[_0x176aa3(0x32b)](_0x21130a,_0x21130a+_0x15c47c);_0x1aacaa[_0x176aa3(0x508)](_0x4bd384,_0x21130a),_0x3163ea[_0x176aa3(0x185)](this,_0x4bd384,_0x21130a,_0x15c47c),this[_0x176aa3(0x266)]=_0x46046d;}});function _0x3163ea(_0x563b42,_0x4a38b8,_0x135a75){const _0x113036=_0x225556;var _0x21b08c,_0x895a4=this[_0x113036(0x456)];_0x895a4?(_0x21b08c=_0x895a4,this['_iv']=_0x4a4235):_0x21b08c=this[_0x113036(0x266)];for(var _0x5277bc=0x0;_0x5277bc<_0x135a75;_0x5277bc++)_0x563b42[_0x4a38b8+_0x5277bc]^=_0x21b08c[_0x5277bc];}return _0x5bd19f;}()),_0xbc56b0=_0x499cd3[_0xfe8c84(0x377)]={},_0x1d46a2=_0xbc56b0[_0xfe8c84(0x323)]={'pad':function(_0x3b0eb6,_0x1c161f){const _0x26651c=_0xfe8c84;for(var _0x328870=_0x1c161f*0x4,_0x1a3d97=_0x328870-_0x3b0eb6[_0x26651c(0xf9)]%_0x328870,_0xb9c317=_0x1a3d97<<0x18|_0x1a3d97<<0x10|_0x1a3d97<<0x8|_0x1a3d97,_0x5da4e4=[],_0x1e80b6=0x0;_0x1e80b6<_0x1a3d97;_0x1e80b6+=0x4)_0x5da4e4['push'](_0xb9c317);var _0x1f1e5=_0xdd1495['create'](_0x5da4e4,_0x1a3d97);_0x3b0eb6[_0x26651c(0x172)](_0x1f1e5);},'unpad':function(_0xef2001){const _0x3d8484=_0xfe8c84;var _0x2b3591=_0xef2001[_0x3d8484(0x226)][_0xef2001[_0x3d8484(0xf9)]-0x1>>>0x2]&0xff;_0xef2001[_0x3d8484(0xf9)]-=_0x2b3591;}};_0x1ce62e['BlockCipher']=_0x27f303[_0xfe8c84(0x4a6)]({'cfg':_0x27f303['cfg']['extend']({'mode':_0x4d7378,'padding':_0x1d46a2}),'reset':function(){const _0x628a14=_0xfe8c84;var _0x822d4b;_0x27f303[_0x628a14(0x288)][_0x628a14(0x185)](this);var _0x454ff6=this[_0x628a14(0x4e0)],_0x415c24=_0x454ff6['iv'],_0x113c97=_0x454ff6[_0x628a14(0xc7)];this[_0x628a14(0xf8)]==this[_0x628a14(0x45d)]?_0x822d4b=_0x113c97[_0x628a14(0x242)]:(_0x822d4b=_0x113c97[_0x628a14(0x551)],this[_0x628a14(0x3a7)]=0x1),this[_0x628a14(0x300)]&&this[_0x628a14(0x300)][_0x628a14(0xd3)]==_0x822d4b?this[_0x628a14(0x300)][_0x628a14(0x188)](this,_0x415c24&&_0x415c24[_0x628a14(0x226)]):(this[_0x628a14(0x300)]=_0x822d4b['call'](_0x113c97,this,_0x415c24&&_0x415c24[_0x628a14(0x226)]),this[_0x628a14(0x300)][_0x628a14(0xd3)]=_0x822d4b);},'_doProcessBlock':function(_0x4dca52,_0x2f1cb9){const _0x19666f=_0xfe8c84;this[_0x19666f(0x300)][_0x19666f(0x511)](_0x4dca52,_0x2f1cb9);},'_doFinalize':function(){const _0x310af3=_0xfe8c84;var _0x318e3b,_0x2b4a98=this[_0x310af3(0x4e0)]['padding'];return this[_0x310af3(0xf8)]==this[_0x310af3(0x45d)]?(_0x2b4a98[_0x310af3(0x377)](this[_0x310af3(0x2f7)],this[_0x310af3(0x45c)]),_0x318e3b=this[_0x310af3(0x4fe)](!0x0)):(_0x318e3b=this[_0x310af3(0x4fe)](!0x0),_0x2b4a98['unpad'](_0x318e3b)),_0x318e3b;},'blockSize':0x80/0x20});var _0xa27ede=_0x1ce62e['CipherParams']=_0x16bf73[_0xfe8c84(0x4a6)]({'init':function(_0x464b63){const _0x4e974e=_0xfe8c84;this[_0x4e974e(0x48a)](_0x464b63);},'toString':function(_0x9b7d14){const _0x2c4968=_0xfe8c84;return(_0x9b7d14||this[_0x2c4968(0x9d)])[_0x2c4968(0x13f)](this);}}),_0x12b071=_0x499cd3[_0xfe8c84(0x1a6)]={},_0x409715=_0x12b071[_0xfe8c84(0x35e)]={'stringify':function(_0x1079a2){const _0x56707e=_0xfe8c84;var _0x44ce57,_0x44eedd=_0x1079a2[_0x56707e(0x514)],_0x5ecfc5=_0x1079a2[_0x56707e(0xeb)];return _0x5ecfc5?_0x44ce57=_0xdd1495['create']([0x53616c74,0x65645f5f])[_0x56707e(0x172)](_0x5ecfc5)[_0x56707e(0x172)](_0x44eedd):_0x44ce57=_0x44eedd,_0x44ce57['toString'](_0x19e5a0);},'parse':function(_0x554299){const _0x5d2cab=_0xfe8c84;var _0x4bcbb7,_0x9a5159=_0x19e5a0[_0x5d2cab(0x376)](_0x554299),_0x1cce0f=_0x9a5159[_0x5d2cab(0x226)];return _0x1cce0f[0x0]==0x53616c74&&_0x1cce0f[0x1]==0x65645f5f&&(_0x4bcbb7=_0xdd1495[_0x5d2cab(0x2c3)](_0x1cce0f['slice'](0x2,0x4)),_0x1cce0f[_0x5d2cab(0x54b)](0x0,0x4),_0x9a5159[_0x5d2cab(0xf9)]-=0x10),_0xa27ede[_0x5d2cab(0x2c3)]({'ciphertext':_0x9a5159,'salt':_0x4bcbb7});}},_0x4c21f5=_0x1ce62e['SerializableCipher']=_0x16bf73[_0xfe8c84(0x4a6)]({'cfg':_0x16bf73[_0xfe8c84(0x4a6)]({'format':_0x409715}),'encrypt':function(_0x5460f9,_0x4778ae,_0x40a967,_0x4c4f73){const _0x5439af=_0xfe8c84;_0x4c4f73=this[_0x5439af(0x4e0)][_0x5439af(0x4a6)](_0x4c4f73);var _0x2d532d=_0x5460f9[_0x5439af(0x242)](_0x40a967,_0x4c4f73),_0x5c6380=_0x2d532d[_0x5439af(0x3e3)](_0x4778ae),_0x5200cc=_0x2d532d[_0x5439af(0x4e0)];return _0xa27ede[_0x5439af(0x2c3)]({'ciphertext':_0x5c6380,'key':_0x40a967,'iv':_0x5200cc['iv'],'algorithm':_0x5460f9,'mode':_0x5200cc['mode'],'padding':_0x5200cc[_0x5439af(0x21a)],'blockSize':_0x5460f9[_0x5439af(0x45c)],'formatter':_0x4c4f73['format']});},'decrypt':function(_0x451498,_0x458860,_0x1ce6b3,_0x4fcf77){const _0x30f7a1=_0xfe8c84;_0x4fcf77=this[_0x30f7a1(0x4e0)][_0x30f7a1(0x4a6)](_0x4fcf77),_0x458860=this[_0x30f7a1(0x4a5)](_0x458860,_0x4fcf77[_0x30f7a1(0x1a6)]);var _0x27962c=_0x451498['createDecryptor'](_0x1ce6b3,_0x4fcf77)[_0x30f7a1(0x3e3)](_0x458860['ciphertext']);return _0x27962c;},'_parse':function(_0x5f331d,_0x3cd20d){const _0x290229=_0xfe8c84;return typeof _0x5f331d==_0x290229(0x20e)?_0x3cd20d[_0x290229(0x376)](_0x5f331d,this):_0x5f331d;}}),_0x39a879=_0x499cd3[_0xfe8c84(0x8f)]={},_0x4e2709=_0x39a879[_0xfe8c84(0x35e)]={'execute':function(_0x3328a8,_0x323e3d,_0x215a22,_0x48f2cc,_0x32c97a){const _0x3cb12d=_0xfe8c84;if(_0x48f2cc||(_0x48f2cc=_0xdd1495[_0x3cb12d(0xd9)](0x40/0x8)),_0x32c97a)var _0x3f8dc3=_0x242c96[_0x3cb12d(0x2c3)]({'keySize':_0x323e3d+_0x215a22,'hasher':_0x32c97a})[_0x3cb12d(0x11d)](_0x3328a8,_0x48f2cc);else var _0x3f8dc3=_0x242c96[_0x3cb12d(0x2c3)]({'keySize':_0x323e3d+_0x215a22})[_0x3cb12d(0x11d)](_0x3328a8,_0x48f2cc);var _0x3e5d7a=_0xdd1495[_0x3cb12d(0x2c3)](_0x3f8dc3[_0x3cb12d(0x226)][_0x3cb12d(0x32b)](_0x323e3d),_0x215a22*0x4);return _0x3f8dc3[_0x3cb12d(0xf9)]=_0x323e3d*0x4,_0xa27ede[_0x3cb12d(0x2c3)]({'key':_0x3f8dc3,'iv':_0x3e5d7a,'salt':_0x48f2cc});}},_0x4198b2=_0x1ce62e[_0xfe8c84(0x112)]=_0x4c21f5[_0xfe8c84(0x4a6)]({'cfg':_0x4c21f5['cfg'][_0xfe8c84(0x4a6)]({'kdf':_0x4e2709}),'encrypt':function(_0x204100,_0x2ce479,_0x22c4a6,_0x20d0f9){const _0x46bb8e=_0xfe8c84;_0x20d0f9=this['cfg'][_0x46bb8e(0x4a6)](_0x20d0f9);var _0x20c578=_0x20d0f9['kdf']['execute'](_0x22c4a6,_0x204100[_0x46bb8e(0x13c)],_0x204100[_0x46bb8e(0x366)],_0x20d0f9[_0x46bb8e(0xeb)],_0x20d0f9[_0x46bb8e(0x2c7)]);_0x20d0f9['iv']=_0x20c578['iv'];var _0x23e350=_0x4c21f5[_0x46bb8e(0x48f)]['call'](this,_0x204100,_0x2ce479,_0x20c578[_0x46bb8e(0x9f)],_0x20d0f9);return _0x23e350[_0x46bb8e(0x48a)](_0x20c578),_0x23e350;},'decrypt':function(_0x2d8334,_0x8711ec,_0x29f2ed,_0xd87b78){const _0x52dc7e=_0xfe8c84;_0xd87b78=this['cfg'][_0x52dc7e(0x4a6)](_0xd87b78),_0x8711ec=this[_0x52dc7e(0x4a5)](_0x8711ec,_0xd87b78['format']);var _0x203fe2=_0xd87b78['kdf'][_0x52dc7e(0x11c)](_0x29f2ed,_0x2d8334[_0x52dc7e(0x13c)],_0x2d8334[_0x52dc7e(0x366)],_0x8711ec[_0x52dc7e(0xeb)],_0xd87b78[_0x52dc7e(0x2c7)]);_0xd87b78['iv']=_0x203fe2['iv'];var _0x1cfde0=_0x4c21f5[_0x52dc7e(0x434)][_0x52dc7e(0x185)](this,_0x2d8334,_0x8711ec,_0x203fe2[_0x52dc7e(0x9f)],_0xd87b78);return _0x1cfde0;}});}();}));}(vt)),vt[_0x5f2e63(0x371)];}(function(_0x1b42e2,_0x46cc60){(function(_0x209e54,_0xe70b91,_0x5d8327){_0x1b42e2['exports']=_0xe70b91(oe(),Pi(),fr(),wi(),Ui());}(Z,function(_0xc796d8){const _0x59099d=_0x3305;return(function(){const _0x21f985=_0x3305;var _0xc87689=_0xc796d8,_0x51051f=_0xc87689['lib'],_0x5e1a3a=_0x51051f[_0x21f985(0x4a9)],_0x5b8f58=_0xc87689[_0x21f985(0x12b)],_0x3400f7=[],_0x2af6c0=[],_0x5f5a02=[],_0x472fa2=[],_0x3634e0=[],_0xa4d5c3=[],_0xd5e0d1=[],_0x19432d=[],_0x27dd6b=[],_0x96f1a3=[];(function(){for(var _0x295313=[],_0x81d8f7=0x0;_0x81d8f7<0x100;_0x81d8f7++)_0x81d8f7<0x80?_0x295313[_0x81d8f7]=_0x81d8f7<<0x1:_0x295313[_0x81d8f7]=_0x81d8f7<<0x1^0x11b;for(var _0x1c147c=0x0,_0x4c74a8=0x0,_0x81d8f7=0x0;_0x81d8f7<0x100;_0x81d8f7++){var _0x32eff3=_0x4c74a8^_0x4c74a8<<0x1^_0x4c74a8<<0x2^_0x4c74a8<<0x3^_0x4c74a8<<0x4;_0x32eff3=_0x32eff3>>>0x8^_0x32eff3&0xff^0x63,_0x3400f7[_0x1c147c]=_0x32eff3,_0x2af6c0[_0x32eff3]=_0x1c147c;var _0x348deb=_0x295313[_0x1c147c],_0x1ba191=_0x295313[_0x348deb],_0x2e8fcf=_0x295313[_0x1ba191],_0x4f0701=_0x295313[_0x32eff3]*0x101^_0x32eff3*0x1010100;_0x5f5a02[_0x1c147c]=_0x4f0701<<0x18|_0x4f0701>>>0x8,_0x472fa2[_0x1c147c]=_0x4f0701<<0x10|_0x4f0701>>>0x10,_0x3634e0[_0x1c147c]=_0x4f0701<<0x8|_0x4f0701>>>0x18,_0xa4d5c3[_0x1c147c]=_0x4f0701;var _0x4f0701=_0x2e8fcf*0x1010101^_0x1ba191*0x10001^_0x348deb*0x101^_0x1c147c*0x1010100;_0xd5e0d1[_0x32eff3]=_0x4f0701<<0x18|_0x4f0701>>>0x8,_0x19432d[_0x32eff3]=_0x4f0701<<0x10|_0x4f0701>>>0x10,_0x27dd6b[_0x32eff3]=_0x4f0701<<0x8|_0x4f0701>>>0x18,_0x96f1a3[_0x32eff3]=_0x4f0701,_0x1c147c?(_0x1c147c=_0x348deb^_0x295313[_0x295313[_0x295313[_0x2e8fcf^_0x348deb]]],_0x4c74a8^=_0x295313[_0x295313[_0x4c74a8]]):_0x1c147c=_0x4c74a8=0x1;}}());var _0x26e057=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4b8711=_0x5b8f58[_0x21f985(0x21d)]=_0x5e1a3a[_0x21f985(0x4a6)]({'_doReset':function(){const _0x1065be=_0x21f985;var _0x4a4f60;if(!(this[_0x1065be(0x31e)]&&this[_0x1065be(0x3a2)]===this[_0x1065be(0x25f)])){for(var _0x155dd1=this[_0x1065be(0x3a2)]=this[_0x1065be(0x25f)],_0x584623=_0x155dd1[_0x1065be(0x226)],_0x5d8e77=_0x155dd1['sigBytes']/0x4,_0x4bd53a=this[_0x1065be(0x31e)]=_0x5d8e77+0x6,_0x383fec=(_0x4bd53a+0x1)*0x4,_0x3023fe=this[_0x1065be(0x541)]=[],_0x27b77b=0x0;_0x27b77b<_0x383fec;_0x27b77b++)_0x27b77b<_0x5d8e77?_0x3023fe[_0x27b77b]=_0x584623[_0x27b77b]:(_0x4a4f60=_0x3023fe[_0x27b77b-0x1],_0x27b77b%_0x5d8e77?_0x5d8e77>0x6&&_0x27b77b%_0x5d8e77==0x4&&(_0x4a4f60=_0x3400f7[_0x4a4f60>>>0x18]<<0x18|_0x3400f7[_0x4a4f60>>>0x10&0xff]<<0x10|_0x3400f7[_0x4a4f60>>>0x8&0xff]<<0x8|_0x3400f7[_0x4a4f60&0xff]):(_0x4a4f60=_0x4a4f60<<0x8|_0x4a4f60>>>0x18,_0x4a4f60=_0x3400f7[_0x4a4f60>>>0x18]<<0x18|_0x3400f7[_0x4a4f60>>>0x10&0xff]<<0x10|_0x3400f7[_0x4a4f60>>>0x8&0xff]<<0x8|_0x3400f7[_0x4a4f60&0xff],_0x4a4f60^=_0x26e057[_0x27b77b/_0x5d8e77|0x0]<<0x18),_0x3023fe[_0x27b77b]=_0x3023fe[_0x27b77b-_0x5d8e77]^_0x4a4f60);for(var _0x1cc6cc=this[_0x1065be(0x98)]=[],_0x36379e=0x0;_0x36379e<_0x383fec;_0x36379e++){var _0x27b77b=_0x383fec-_0x36379e;if(_0x36379e%0x4)var _0x4a4f60=_0x3023fe[_0x27b77b];else var _0x4a4f60=_0x3023fe[_0x27b77b-0x4];_0x36379e<0x4||_0x27b77b<=0x4?_0x1cc6cc[_0x36379e]=_0x4a4f60:_0x1cc6cc[_0x36379e]=_0xd5e0d1[_0x3400f7[_0x4a4f60>>>0x18]]^_0x19432d[_0x3400f7[_0x4a4f60>>>0x10&0xff]]^_0x27dd6b[_0x3400f7[_0x4a4f60>>>0x8&0xff]]^_0x96f1a3[_0x3400f7[_0x4a4f60&0xff]];}}},'encryptBlock':function(_0x4cd92b,_0x5a5d44){const _0x124bb9=_0x21f985;this[_0x124bb9(0x379)](_0x4cd92b,_0x5a5d44,this[_0x124bb9(0x541)],_0x5f5a02,_0x472fa2,_0x3634e0,_0xa4d5c3,_0x3400f7);},'decryptBlock':function(_0x523783,_0x1e31fe){const _0x4a73dd=_0x21f985;var _0x5f9335=_0x523783[_0x1e31fe+0x1];_0x523783[_0x1e31fe+0x1]=_0x523783[_0x1e31fe+0x3],_0x523783[_0x1e31fe+0x3]=_0x5f9335,this[_0x4a73dd(0x379)](_0x523783,_0x1e31fe,this[_0x4a73dd(0x98)],_0xd5e0d1,_0x19432d,_0x27dd6b,_0x96f1a3,_0x2af6c0);var _0x5f9335=_0x523783[_0x1e31fe+0x1];_0x523783[_0x1e31fe+0x1]=_0x523783[_0x1e31fe+0x3],_0x523783[_0x1e31fe+0x3]=_0x5f9335;},'_doCryptBlock':function(_0x1dce76,_0x119654,_0x2a4069,_0x177c78,_0x14ec69,_0x30595b,_0x138090,_0x59adeb){const _0x5173a4=_0x21f985;for(var _0x40040e=this[_0x5173a4(0x31e)],_0x5173be=_0x1dce76[_0x119654]^_0x2a4069[0x0],_0x1b7d61=_0x1dce76[_0x119654+0x1]^_0x2a4069[0x1],_0x1a65e6=_0x1dce76[_0x119654+0x2]^_0x2a4069[0x2],_0x40374e=_0x1dce76[_0x119654+0x3]^_0x2a4069[0x3],_0x552ea2=0x4,_0xd7c917=0x1;_0xd7c917<_0x40040e;_0xd7c917++){var _0x9b7918=_0x177c78[_0x5173be>>>0x18]^_0x14ec69[_0x1b7d61>>>0x10&0xff]^_0x30595b[_0x1a65e6>>>0x8&0xff]^_0x138090[_0x40374e&0xff]^_0x2a4069[_0x552ea2++],_0x2bdcb0=_0x177c78[_0x1b7d61>>>0x18]^_0x14ec69[_0x1a65e6>>>0x10&0xff]^_0x30595b[_0x40374e>>>0x8&0xff]^_0x138090[_0x5173be&0xff]^_0x2a4069[_0x552ea2++],_0x6ef0bd=_0x177c78[_0x1a65e6>>>0x18]^_0x14ec69[_0x40374e>>>0x10&0xff]^_0x30595b[_0x5173be>>>0x8&0xff]^_0x138090[_0x1b7d61&0xff]^_0x2a4069[_0x552ea2++],_0x22c590=_0x177c78[_0x40374e>>>0x18]^_0x14ec69[_0x5173be>>>0x10&0xff]^_0x30595b[_0x1b7d61>>>0x8&0xff]^_0x138090[_0x1a65e6&0xff]^_0x2a4069[_0x552ea2++];_0x5173be=_0x9b7918,_0x1b7d61=_0x2bdcb0,_0x1a65e6=_0x6ef0bd,_0x40374e=_0x22c590;}var _0x9b7918=(_0x59adeb[_0x5173be>>>0x18]<<0x18|_0x59adeb[_0x1b7d61>>>0x10&0xff]<<0x10|_0x59adeb[_0x1a65e6>>>0x8&0xff]<<0x8|_0x59adeb[_0x40374e&0xff])^_0x2a4069[_0x552ea2++],_0x2bdcb0=(_0x59adeb[_0x1b7d61>>>0x18]<<0x18|_0x59adeb[_0x1a65e6>>>0x10&0xff]<<0x10|_0x59adeb[_0x40374e>>>0x8&0xff]<<0x8|_0x59adeb[_0x5173be&0xff])^_0x2a4069[_0x552ea2++],_0x6ef0bd=(_0x59adeb[_0x1a65e6>>>0x18]<<0x18|_0x59adeb[_0x40374e>>>0x10&0xff]<<0x10|_0x59adeb[_0x5173be>>>0x8&0xff]<<0x8|_0x59adeb[_0x1b7d61&0xff])^_0x2a4069[_0x552ea2++],_0x22c590=(_0x59adeb[_0x40374e>>>0x18]<<0x18|_0x59adeb[_0x5173be>>>0x10&0xff]<<0x10|_0x59adeb[_0x1b7d61>>>0x8&0xff]<<0x8|_0x59adeb[_0x1a65e6&0xff])^_0x2a4069[_0x552ea2++];_0x1dce76[_0x119654]=_0x9b7918,_0x1dce76[_0x119654+0x1]=_0x2bdcb0,_0x1dce76[_0x119654+0x2]=_0x6ef0bd,_0x1dce76[_0x119654+0x3]=_0x22c590;},'keySize':0x100/0x20});_0xc87689[_0x21f985(0x21d)]=_0x5e1a3a[_0x21f985(0x1f5)](_0x4b8711);}()),_0xc796d8[_0x59099d(0x21d)];}));}(Di));var pr=Di[_0x331f6e(0x371)];const mr=xe(pr);var gr=Pi();const Qt=xe(gr);var Mi={'exports':{}};(function(_0x329352,_0x47d34a){(function(_0x3c7ad5,_0x13d8ef){const _0x4a6613=_0x3305;_0x329352[_0x4a6613(0x371)]=_0x13d8ef(oe());}(Z,function(_0x35e634){const _0x5eb733=_0x3305;return _0x35e634[_0x5eb733(0x2aa)][_0x5eb733(0x306)];}));}(Mi));var Ir=Mi[_0x331f6e(0x371)];const Cr=xe(Ir);var Ai={'exports':{}};(function(_0xb1284d,_0x4200a1){(function(_0xefeae8,_0x296ec8){const _0xd90bd5=_0x3305;_0xb1284d[_0xd90bd5(0x371)]=_0x296ec8(oe());}(Z,function(_0x415943){const _0x227ae2=_0x3305;return(function(){const _0x1e2426=_0x3305;if(typeof ArrayBuffer==_0x1e2426(0x2f2)){var _0x8b1896=_0x415943,_0x48ed4f=_0x8b1896[_0x1e2426(0x13e)],_0x2734a8=_0x48ed4f[_0x1e2426(0x1be)],_0x51ce6f=_0x2734a8['init'],_0x578aa9=_0x2734a8[_0x1e2426(0x188)]=function(_0x3e572f){const _0x53c4ad=_0x1e2426;if(_0x3e572f instanceof ArrayBuffer&&(_0x3e572f=new Uint8Array(_0x3e572f)),(_0x3e572f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3e572f instanceof Uint8ClampedArray||_0x3e572f instanceof Int16Array||_0x3e572f instanceof Uint16Array||_0x3e572f instanceof Int32Array||_0x3e572f instanceof Uint32Array||_0x3e572f instanceof Float32Array||_0x3e572f instanceof Float64Array)&&(_0x3e572f=new Uint8Array(_0x3e572f[_0x53c4ad(0x43d)],_0x3e572f['byteOffset'],_0x3e572f[_0x53c4ad(0x4e4)])),_0x3e572f instanceof Uint8Array){for(var _0x2d6b8e=_0x3e572f[_0x53c4ad(0x4e4)],_0x54af80=[],_0x4139f5=0x0;_0x4139f5<_0x2d6b8e;_0x4139f5++)_0x54af80[_0x4139f5>>>0x2]|=_0x3e572f[_0x4139f5]<<0x18-_0x4139f5%0x4*0x8;_0x51ce6f[_0x53c4ad(0x185)](this,_0x54af80,_0x2d6b8e);}else _0x51ce6f[_0x53c4ad(0x2d4)](this,arguments);};_0x578aa9[_0x1e2426(0x290)]=_0x2734a8;}}()),_0x415943[_0x227ae2(0x13e)]['WordArray'];}));}(Ai));var Er=Ai['exports'];const br=xe(Er);var Ni={'exports':{}};(function(_0x1fd988,_0xcb5cc7){(function(_0x59c9c0,_0x4febcd,_0x5cfb82){const _0xe6f206=_0x3305;_0x1fd988[_0xe6f206(0x371)]=_0x4febcd(oe(),Ui());}(Z,function(_0x4257e7){const _0x325c6d=_0x3305;return _0x4257e7[_0x325c6d(0x377)][_0x325c6d(0x4f6)]={'pad':function(){},'unpad':function(){}},_0x4257e7[_0x325c6d(0x377)]['NoPadding'];}));}(Ni));var Tr=Ni[_0x331f6e(0x371)];const Rr=xe(Tr);function yr(_0x313dfd,_0x1a86d7){const _0x346426=_0x331f6e,_0x188b37=_0x1a86d7-_0x313dfd[_0x346426(0xa1)]%_0x1a86d7,_0x23ee6c=String['fromCharCode'](_0x188b37)[_0x346426(0x3f3)](_0x188b37);return _0x313dfd+_0x23ee6c;}function Or(_0x2c8b85,_0x4644c6){const _0x5a728a=_0x331f6e,_0x20d675=br[_0x5a728a(0xd9)](0x10),_0x332f03=yr(_0x2c8b85,0x10),_0x3bc86b=mr[_0x5a728a(0x48f)](Cr['parse'](_0x332f03),Qt[_0x5a728a(0x376)](_0x4644c6),{'iv':_0x20d675,'padding':Rr});return _0x20d675[_0x5a728a(0x172)](_0x3bc86b[_0x5a728a(0x514)])[_0x5a728a(0x3aa)](Qt);}function Dr(){const _0x453e1a=_0x331f6e,_0x2516e2=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x453e1a(0x19d)];if(_0x2516e2){const _0x5d9739={'time':Math[_0x453e1a(0x119)](Date[_0x453e1a(0x21f)]()/0x3e8),'domain':location[_0x453e1a(0x1e2)]};return Or(JSON[_0x453e1a(0x13f)](_0x5d9739),_0x2516e2);}}var Pr=Object[_0x331f6e(0x30b)],wr=Object['getOwnPropertyDescriptor'],Ur=(_0x2761bd,_0x12773b,_0x127a2f,_0x44d670)=>{const _0x3c8d51=_0x331f6e;for(var _0x546944=_0x44d670>0x1?void 0x0:_0x44d670?wr(_0x12773b,_0x127a2f):_0x12773b,_0x4eb7f4=_0x2761bd[_0x3c8d51(0xa1)]-0x1,_0x57d487;_0x4eb7f4>=0x0;_0x4eb7f4--)(_0x57d487=_0x2761bd[_0x4eb7f4])&&(_0x546944=(_0x44d670?_0x57d487(_0x12773b,_0x127a2f,_0x546944):_0x57d487(_0x546944))||_0x546944);return _0x44d670&&_0x546944&&Pr(_0x12773b,_0x127a2f,_0x546944),_0x546944;},Mr=(_0x465d28,_0x25dc10)=>(_0x4d40ad,_0x4d3676)=>_0x25dc10(_0x4d40ad,_0x4d3676,_0x465d28);let Ke=class{constructor(_0x1822ee){const _0x428612=_0x331f6e;this[_0x428612(0x313)]=_0x1822ee,this[_0x428612(0x2f1)]();}['_initRequestHeader'](){const _0x321e7e=_0x331f6e;this[_0x321e7e(0x313)][_0x321e7e(0x524)]({'interceptor':(_0x302ca2,_0x593c4d)=>{const _0xdcb3e2=_0x321e7e,_0x13261a=_0x302ca2[_0xdcb3e2(0x500)],_0x4b4548=Dr();return _0x4b4548&&_0x13261a['set'](_0xdcb3e2(0x4b0),_0x4b4548),_0x593c4d(_0x302ca2);}});}};Ke=Ur([Mr(0x0,a[_0x331f6e(0x397)](z[_0x331f6e(0x1d2)]))],Ke);var Ar=Object[_0x331f6e(0x30b)],Nr=Object['getOwnPropertyDescriptor'],Lr=(_0x375108,_0x3c109c,_0x245508,_0x59fb4f)=>{const _0x12948f=_0x331f6e;for(var _0x17b5dc=_0x59fb4f>0x1?void 0x0:_0x59fb4f?Nr(_0x3c109c,_0x245508):_0x3c109c,_0x1ef000=_0x375108[_0x12948f(0xa1)]-0x1,_0x471eda;_0x1ef000>=0x0;_0x1ef000--)(_0x471eda=_0x375108[_0x1ef000])&&(_0x17b5dc=(_0x59fb4f?_0x471eda(_0x3c109c,_0x245508,_0x17b5dc):_0x471eda(_0x17b5dc))||_0x17b5dc);return _0x59fb4f&&_0x17b5dc&&Ar(_0x3c109c,_0x245508,_0x17b5dc),_0x17b5dc;},St=(_0x4e2e21,_0x2305fa)=>(_0x13de31,_0x584c5d)=>_0x2305fa(_0x13de31,_0x584c5d,_0x4e2e21);const xr=['image/png',_0x331f6e(0x4ef),_0x331f6e(0x4fc),_0x331f6e(0x522),_0x331f6e(0x214)],jr=0x5*0x400*0x400,$r=_0x331f6e(0x408),Hr=_0x331f6e(0x50d),Br=_0x331f6e(0x4b4),kr=_0x331f6e(0x50c);exports[_0x331f6e(0x243)]=class{constructor(_0x87432e,_0x4761d8,_0x571bd9){const _0x572997=_0x331f6e;I(this,_0x572997(0x27d),0x0),I(this,_0x572997(0x3ee),new A['Subject']()),I(this,'change$',this[_0x572997(0x3ee)]),I(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x87432e,this[_0x572997(0x549)]=_0x4761d8,this['_univerInstanceService']=_0x571bd9);}[_0x331f6e(0x4d5)](_0x4ad4eb){const _0x20a6de=_0x331f6e;this[_0x20a6de(0x27d)]=_0x4ad4eb,this[_0x20a6de(0x3ee)][_0x20a6de(0xd8)](_0x4ad4eb);}[_0x331f6e(0x94)](_0x1a9539,_0x474446){const _0x2299db=_0x331f6e;if(_0x474446===ie[_0x2299db(0x171)][_0x2299db(0x39c)]){const _0x3f103d=new Image();return _0x3f103d[_0x2299db(0x546)]=_0x1a9539,_0x3f103d;}return this[_0x2299db(0x10e)]['get'](_0x1a9539);}[_0x331f6e(0x3db)](_0x4a98a8,_0x194561,_0x34228a){const _0x29d511=_0x331f6e;_0x194561===ie['ImageSourceType']['BASE64']||_0x34228a==null||this[_0x29d511(0x10e)][_0x29d511(0x543)](_0x4a98a8,_0x34228a);}async[_0x331f6e(0x258)](_0x4e813a){const _0x176c96=_0x331f6e;try{const _0x3bd2f3=this[_0x176c96(0x1e8)](this[_0x176c96(0x3a4)](),''+_0x4e813a),_0x2da1b2=(await this[_0x176c96(0x313)][_0x176c96(0x532)](_0x3bd2f3))[_0x176c96(0xb2)];if(_0x2da1b2[_0x176c96(0x534)]&&_0x2da1b2[_0x176c96(0x534)][_0x176c96(0x457)]===_i['OK']){const _0x3ad35d=new URL(_0x2da1b2[_0x176c96(0x113)],this[_0x176c96(0x488)]())['toString']();return Promise[_0x176c96(0x197)](_0x3ad35d);}return Promise[_0x176c96(0x430)](_0x2da1b2[_0x176c96(0x534)]);}catch(_0x5da826){return Promise['reject'](_0x5da826);}}async[_0x331f6e(0x46c)](_0x222a73){const _0xf652d2=_0x331f6e;let _0x54d85f='';if(!xr[_0xf652d2(0x398)](_0x222a73[_0xf652d2(0x264)]))return this['_decreaseWaiting'](),Promise[_0xf652d2(0x430)](new Error(ie[_0xf652d2(0x3ed)]['ERROR_IMAGE_TYPE']));if(_0x222a73['size']>jr)return this[_0xf652d2(0x513)](),Promise[_0xf652d2(0x430)](new Error(ie['ImageUploadStatusType'][_0xf652d2(0x147)]));try{const _0x125ffa=new FormData();_0x125ffa[_0xf652d2(0x425)](_0xf652d2(0x510),_0x222a73);const _0x454b28=this[_0xf652d2(0x2a1)]['getFocusedUnit'](),_0xad1e36=_0x454b28==null?void 0x0:_0x454b28[_0xf652d2(0x141)]();if(!_0xad1e36)throw new Error(_0xf652d2(0x444));const _0x197df9=this[_0xf652d2(0x527)]()+'?size='+_0x222a73['size']['toString']()+_0xf652d2(0xda)+ui[_0xf652d2(0xc5)]+'&assign='+encodeURIComponent(_0xad1e36),_0x46137a=await(await fetch(_0x197df9,{'method':_0xf652d2(0x4df),'body':_0x125ffa}))[_0xf652d2(0x399)]();if(typeof _0x46137a[_0xf652d2(0x3cd)]!=_0xf652d2(0x20e))return this[_0xf652d2(0x513)](),Promise[_0xf652d2(0x430)](new Error(ie[_0xf652d2(0x3ed)][_0xf652d2(0x550)]));_0x54d85f=_0x46137a[_0xf652d2(0x3cd)];}catch{return this[_0xf652d2(0x513)](),Promise[_0xf652d2(0x430)](new Error(ie['ImageUploadStatusType'][_0xf652d2(0x550)]));}return new Promise((_0x1b88b7,_0x11b008)=>{const _0x125d8a=_0xf652d2,_0x8486fd=new FileReader();_0x8486fd[_0x125d8a(0x1b9)](_0x222a73),_0x8486fd[_0x125d8a(0x23a)]=_0x1cae94=>{const _0x33aa50=_0x125d8a;var _0x1b725c;const _0x347213=(_0x1b725c=_0x1cae94[_0x33aa50(0x4e3)])==null?void 0x0:_0x1b725c[_0x33aa50(0x405)];if(_0x347213==null){this[_0x33aa50(0x513)](),_0x11b008(new Error(ie[_0x33aa50(0x3ed)]['ERROR_IMAGE']));return;}const _0xfd16fe=a['Tools'][_0x33aa50(0x337)](0x6);_0x1b88b7({'imageId':_0xfd16fe,'imageSourceType':ie['ImageSourceType'][_0x33aa50(0x250)],'source':_0x54d85f,'base64Cache':_0x347213,'status':ie[_0x33aa50(0x3ed)][_0x33aa50(0x43c)]}),this['_decreaseWaiting']();};});}[_0x331f6e(0x527)](){const _0x1e30a6=_0x331f6e;var _0x28f66b,_0x167f18;const _0x2bd546=this[_0x1e30a6(0x549)][_0x1e30a6(0x505)]($r),_0x539771=this[_0x1e30a6(0x549)]['getConfig'](Q);return(_0x167f18=(_0x28f66b=_0x539771==null?void 0x0:_0x539771[_0x1e30a6(0x458)])!=null?_0x28f66b:_0x2bd546)!=null?_0x167f18:Hr;}[_0x331f6e(0x3a4)](){const _0x4af3f5=_0x331f6e;var _0x3f9eae,_0x4cc68d;const _0x2eb5f4=this[_0x4af3f5(0x549)]['getConfig'](Br),_0x2179ce=this['_configService'][_0x4af3f5(0x505)](Q);return(_0x4cc68d=(_0x3f9eae=_0x2179ce==null?void 0x0:_0x2179ce[_0x4af3f5(0x21c)])!=null?_0x3f9eae:_0x2eb5f4)!=null?_0x4cc68d:kr;}[_0x331f6e(0x488)](){const _0x52a9ee=_0x331f6e;var _0x1030b5;const _0x3f1ed9=this['_configService'][_0x52a9ee(0x505)](Q);return(_0x1030b5=_0x3f1ed9==null?void 0x0:_0x3f1ed9[_0x52a9ee(0x12e)])!=null?_0x1030b5:location[_0x52a9ee(0x400)];}[_0x331f6e(0x1e8)](_0x3c8428,_0x429e47){const _0x13441a=_0x331f6e;return _0x3c8428[_0x13441a(0x3e2)](_0x13441a(0x4c2),_0x429e47);}['_decreaseWaiting'](){const _0x484b3d=_0x331f6e;this['_waitCount']-=0x1,this['_change$'][_0x484b3d(0xd8)](this['_waitCount']);}},exports[_0x331f6e(0x243)]=Lr([St(0x0,a[_0x331f6e(0x397)](z[_0x331f6e(0x1d2)])),St(0x1,a[_0x331f6e(0x3d6)]),St(0x2,a[_0x331f6e(0x397)](a[_0x331f6e(0x427)]))],exports['ImageIoService']);var Wr=Object[_0x331f6e(0x30b)],Fr=Object[_0x331f6e(0x29e)],Vr=(_0x5eb8a0,_0x5044fe,_0x527e39,_0x41f882)=>{const _0x1fe7ea=_0x331f6e;for(var _0x2f85c6=_0x41f882>0x1?void 0x0:_0x41f882?Fr(_0x5044fe,_0x527e39):_0x5044fe,_0x1e0d6f=_0x5eb8a0[_0x1fe7ea(0xa1)]-0x1,_0x20ed66;_0x1e0d6f>=0x0;_0x1e0d6f--)(_0x20ed66=_0x5eb8a0[_0x1e0d6f])&&(_0x2f85c6=(_0x41f882?_0x20ed66(_0x5044fe,_0x527e39,_0x2f85c6):_0x20ed66(_0x2f85c6))||_0x2f85c6);return _0x41f882&&_0x2f85c6&&Wr(_0x5044fe,_0x527e39,_0x2f85c6),_0x2f85c6;},ei=(_0x2b7615,_0x58f5d6)=>(_0x48eac7,_0x166a04)=>_0x58f5d6(_0x48eac7,_0x166a04,_0x2b7615);const Gr='/universer-api/authz';exports[_0x331f6e(0x144)]=class{constructor(_0x58e9ab,_0xdf2529){const _0x45686e=_0x331f6e;this[_0x45686e(0x549)]=_0x58e9ab,this[_0x45686e(0x10f)]=_0xdf2529;}[_0x331f6e(0x44b)](){const _0x2809ab=_0x331f6e;var _0x4a2525,_0x468cae;const _0x54633e=this[_0x2809ab(0x549)][_0x2809ab(0x505)](Ut),_0x836bb0=this[_0x2809ab(0x549)][_0x2809ab(0x505)](Q);return(_0x468cae=(_0x4a2525=_0x836bb0==null?void 0x0:_0x836bb0['authzUrl'])!=null?_0x4a2525:_0x54633e)!=null?_0x468cae:Gr;}async[_0x331f6e(0x17c)](_0x4a2e5e){const _0x362024=_0x331f6e,_0x4deafb=this[_0x362024(0x44b)]()+'/collaborator';return{'list':[{'title':_0x362024(0x318),'mentions':(await this['_HTTPService'][_0x362024(0x532)](_0x4deafb,{'params':{'objectID':_0x4a2e5e[_0x362024(0x410)],'unitID':_0x4a2e5e[_0x362024(0x410)]}}))[_0x362024(0xb2)][_0x362024(0x19f)]['map'](_0x522778=>({'objectId':_0x522778['id'],'name':_0x522778[_0x362024(0x137)]['name'],'metadata':{'icon':_0x522778['subject']['avatar']},'label':_0x522778['subject'][_0x362024(0x2a2)],'objectType':a[_0x362024(0x158)]['PERSON']})),'metadata':{},'type':a[_0x362024(0x158)][_0x362024(0x4e1)]}]};}},exports[_0x331f6e(0x144)]=Vr([ei(0x0,a[_0x331f6e(0x397)](a['IConfigService'])),ei(0x1,a[_0x331f6e(0x397)](z[_0x331f6e(0x1d2)]))],exports[_0x331f6e(0x144)]);var Yr=Object[_0x331f6e(0x30b)],Kr=Object[_0x331f6e(0x29e)],qr=(_0x2a796c,_0x27ac9a,_0xdc2129,_0x22e447)=>{const _0x33257d=_0x331f6e;for(var _0x2ad7d7=_0x22e447>0x1?void 0x0:_0x22e447?Kr(_0x27ac9a,_0xdc2129):_0x27ac9a,_0xac9090=_0x2a796c[_0x33257d(0xa1)]-0x1,_0x359391;_0xac9090>=0x0;_0xac9090--)(_0x359391=_0x2a796c[_0xac9090])&&(_0x2ad7d7=(_0x22e447?_0x359391(_0x27ac9a,_0xdc2129,_0x2ad7d7):_0x359391(_0x2ad7d7))||_0x2ad7d7);return _0x22e447&&_0x2ad7d7&&Yr(_0x27ac9a,_0xdc2129,_0x2ad7d7),_0x2ad7d7;},Ae=(_0x5b723b,_0x22c265)=>(_0x1d8985,_0x8223e0)=>_0x22c265(_0x1d8985,_0x8223e0,_0x5b723b);let qe=class extends a[_0x331f6e(0x49a)]{constructor(_0x2d62b2,_0x162553,_0x1ddb25,_0x5af754,_0x3c893d){const _0x48d683=_0x331f6e;super(),this[_0x48d683(0xb0)]=_0x2d62b2,this[_0x48d683(0x2a1)]=_0x162553,this[_0x48d683(0x3c8)]=_0x1ddb25,this['_collaborationSessionService']=_0x5af754,this['_localeService']=_0x3c893d,this[_0x48d683(0x447)](),this['_initCloseConn']();}['_initCloseConn'](){const _0x2b2cfd=_0x331f6e,_0x1ae808=async _0x250ceb=>{const _0x30acbf=_0x3305;(await this[_0x30acbf(0x3bf)][_0x30acbf(0x206)](_0x250ceb))[_0x30acbf(0x37f)][_0x30acbf(0x3ec)](V['filter'](_0x1728f6=>_0x1728f6[_0x30acbf(0x473)]===p['CollaborationEvent'][_0x30acbf(0x3bc)]),V['takeUntil'](this[_0x30acbf(0x361)]))[_0x30acbf(0x31a)](_0x4b0adf=>{const _0x3d0760=_0x30acbf,_0x256184=_0x4b0adf,{reason:_0x5eca64}=_0x256184[_0x3d0760(0x2fb)];this[_0x3d0760(0xb0)][_0x3d0760(0x532)](te[_0x3d0760(0x11f)])[_0x3d0760(0x135)]({'type':Ce['MessageType']['Error'],'content':this[_0x3d0760(0x428)]['t'](_0x3d0760(0x114))+'('+_0x5eca64+')'}),this[_0x3d0760(0x3c8)][_0x3d0760(0x369)](new k[(_0x3d0760(0x3d2))](_0x250ceb)['id'],!0x1),this['_collaborationSessionService'][_0x3d0760(0x3e9)](_0x250ceb);});};A['merge'](this[_0x2b2cfd(0x2a1)][_0x2b2cfd(0x1ea)](a[_0x2b2cfd(0x47c)][_0x2b2cfd(0x234)]),this['_univerInstanceService'][_0x2b2cfd(0x1ea)](a[_0x2b2cfd(0x47c)][_0x2b2cfd(0x236)]))[_0x2b2cfd(0x3ec)](V[_0x2b2cfd(0x442)](_0x447956=>_0x447956[_0x2b2cfd(0x141)]()),V[_0x2b2cfd(0x169)](_0x4f0e00=>!a['isInternalEditorID'](_0x4f0e00)),V[_0x2b2cfd(0x1a2)](this[_0x2b2cfd(0x361)]))[_0x2b2cfd(0x31a)](_0x5c91ce=>{_0x1ae808(_0x5c91ce);});}[_0x331f6e(0x447)](){const _0x55fb55=_0x331f6e,_0x3c01ca=async _0x3e1fe0=>{const _0x1d991e=_0x3305;(await this[_0x1d991e(0x3bf)]['requireSession'](_0x3e1fe0))[_0x1d991e(0x37f)][_0x1d991e(0x3ec)](V[_0x1d991e(0x169)](_0x32b3d5=>_0x32b3d5[_0x1d991e(0x473)]===p[_0x1d991e(0x1ac)][_0x1d991e(0x42c)]),V['takeUntil'](this[_0x1d991e(0x361)]))[_0x1d991e(0x31a)](_0x214463=>{const _0xcf5e24=_0x1d991e,_0x2f2f68=_0x214463,{objectId:_0x46d7e7}=_0x2f2f68[_0xcf5e24(0x2fb)],_0x5a2abd=this['_injector'][_0xcf5e24(0x532)](ye[_0xcf5e24(0xe1)]);_0x46d7e7===_0x3e1fe0?_0x5a2abd[_0xcf5e24(0x42b)](_0x3e1fe0):_0x5a2abd['refreshPermission'](_0x3e1fe0,_0x46d7e7);});};A['merge'](this[_0x55fb55(0x2a1)][_0x55fb55(0x1ea)](a['UniverInstanceType']['UNIVER_SHEET']),this[_0x55fb55(0x2a1)][_0x55fb55(0x1ea)](a[_0x55fb55(0x47c)]['UNIVER_DOC']))[_0x55fb55(0x3ec)](V[_0x55fb55(0x442)](_0x3d1fa5=>_0x3d1fa5['getUnitId']()),V[_0x55fb55(0x169)](_0x2d8551=>!a[_0x55fb55(0x32d)](_0x2d8551)),V[_0x55fb55(0x1a2)](this['dispose$']))[_0x55fb55(0x31a)](_0x43f1b1=>{_0x3c01ca(_0x43f1b1);});}};qe=qr([Ae(0x0,a['Inject'](a[_0x331f6e(0x35f)])),Ae(0x1,a[_0x331f6e(0x427)]),Ae(0x2,a[_0x331f6e(0x276)]),Ae(0x3,a[_0x331f6e(0x397)](exports[_0x331f6e(0x4cf)])),Ae(0x4,a[_0x331f6e(0x397)](a[_0x331f6e(0xe4)]))],qe);var zr=Object[_0x331f6e(0x30b)],Xr=Object[_0x331f6e(0x29e)],Jr=(_0x14647b,_0x2ae3fc,_0x2b4074,_0x226774)=>{for(var _0x324203=_0x226774>0x1?void 0x0:_0x226774?Xr(_0x2ae3fc,_0x2b4074):_0x2ae3fc,_0x6672d6=_0x14647b['length']-0x1,_0x56922e;_0x6672d6>=0x0;_0x6672d6--)(_0x56922e=_0x14647b[_0x6672d6])&&(_0x324203=(_0x226774?_0x56922e(_0x2ae3fc,_0x2b4074,_0x324203):_0x56922e(_0x324203))||_0x324203);return _0x226774&&_0x324203&&zr(_0x2ae3fc,_0x2b4074,_0x324203),_0x324203;},ti=(_0x4c42a1,_0x344754)=>(_0x238728,_0x4bf9c1)=>_0x344754(_0x238728,_0x4bf9c1,_0x4c42a1);exports[_0x331f6e(0x4a0)]=class{constructor(_0x34a30e,_0x13e7de){const _0x2ea40f=_0x331f6e;this['_configService']=_0x34a30e,this[_0x2ea40f(0x313)]=_0x13e7de;}async[_0x331f6e(0x33a)](_0x433a47,_0x6a3caa){const _0x45f116=_0x331f6e;var _0x2564df;const {unitID:_0x51a318,type:_0x5610a2,revision:_0x37aff7=0x0}=_0x6a3caa,_0x3b814a=this[_0x45f116(0x23b)]()+'/'+_0x5610a2+_0x45f116(0x2e7)+_0x51a318+_0x45f116(0x537)+_0x37aff7,_0x3054ad=(await this[_0x45f116(0x313)][_0x45f116(0x532)](_0x3b814a))[_0x45f116(0xb2)],_0x1ed456=(_0x2564df=_0x3054ad['snapshot'])==null?void 0x0:_0x2564df['workbook'];if(_0x1ed456){const _0x5c624b=_0x1ed456==null?void 0x0:_0x1ed456['originalMeta'],_0x3fe35e=p['textEncoder'][_0x45f116(0x415)](p[_0x45f116(0x2ee)](_0x5c624b));_0x1ed456['originalMeta']=_0x3fe35e,Object['entries'](_0x1ed456[_0x45f116(0x1a3)])['forEach'](([,_0x533179])=>{const _0x7c5397=_0x45f116,_0xe556c3=_0x533179[_0x7c5397(0x3b7)],_0x256160=p[_0x7c5397(0x1b4)][_0x7c5397(0x415)](p[_0x7c5397(0x2ee)](_0xe556c3));_0x533179[_0x7c5397(0x3b7)]=_0x256160;});}return _0x3054ad;}async[_0x331f6e(0x388)](_0x2afca3,_0x11d6e1){const _0x59dab7=_0x331f6e,{unitID:_0x1c8662,type:_0x2dbb10,blockID:_0x28296a}=_0x11d6e1,_0x34469f=this[_0x59dab7(0x36c)]()+'/'+_0x2dbb10+_0x59dab7(0x2e7)+_0x1c8662+_0x59dab7(0x27c)+_0x28296a;return(await this['_httpService'][_0x59dab7(0x532)](_0x34469f))['body'];}async[_0x331f6e(0x3ce)](_0x259942,_0x35d822){const _0x5157b1=_0x331f6e,{unitID:_0x4acc98,type:_0x3c113d,blockID:_0x5c1f6b}=_0x35d822,_0xe1161d=this[_0x5157b1(0x36c)]()+'/block/'+_0x3c113d+_0x5157b1(0x2e7)+_0x4acc98+_0x5157b1(0x27c)+_0x5c1f6b;return(await this['_httpService'][_0x5157b1(0x532)](_0xe1161d))[_0x5157b1(0xb2)];}async[_0x331f6e(0x176)](_0x2aa1dd,_0x3d73dd){const _0x5956f3=_0x331f6e,{unitID:_0x4a3b4f,type:_0x43d5b1,from:_0x40c9b5,to:_0x1ce3b2}=_0x3d73dd,_0x328bbc=this[_0x5956f3(0x36c)]()+'/'+_0x43d5b1+_0x5956f3(0x2e7)+_0x4a3b4f+_0x5956f3(0x29a)+_0x40c9b5+'&to='+_0x1ce3b2;return(await this[_0x5956f3(0x313)]['get'](_0x328bbc))[_0x5956f3(0xb2)];}['_getSnapshotAPIPrefix'](){const _0x5d26ba=_0x331f6e;var _0xb574db;return(_0xb574db=this['_configService'][_0x5d26ba(0x505)](ni))!=null?_0xb574db:this[_0x5d26ba(0x36c)]();}[_0x331f6e(0x36c)](){const _0x47d36e=_0x331f6e;var _0x256dad,_0x5bffa4;const _0x23f211=this['_configService'][_0x47d36e(0x505)](ii),_0x56a460=this[_0x47d36e(0x549)]['getConfig'](Q);return(_0x5bffa4=(_0x256dad=_0x56a460==null?void 0x0:_0x56a460[_0x47d36e(0x4a7)])!=null?_0x256dad:_0x23f211)!=null?_0x5bffa4:ki;}async[_0x331f6e(0x1dd)](_0x50d6fe,_0x35ba9f){const _0xd7b709=_0x331f6e,_0x34c131=_0xd7b709(0x4fa)+_0x35ba9f[_0xd7b709(0x264)]+'/unit/'+_0x35ba9f[_0xd7b709(0x1dc)]+_0xd7b709(0x25c);return(await this['_httpService']['get'](_0x34c131,{'params':{'resourceId':JSON[_0xd7b709(0x13f)](_0x35ba9f[_0xd7b709(0x451)])}}))['body'];}[_0x331f6e(0x284)](){const _0x41d934=_0x331f6e;throw new Error(_0x41d934(0xf6));}[_0x331f6e(0x3e1)](){const _0x2cfef3=_0x331f6e;throw new Error(_0x2cfef3(0xf6));}[_0x331f6e(0x33c)](){const _0x3919ce=_0x331f6e;throw new Error(_0x3919ce(0xf6));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x331f6e(0xc1)](){const _0x1ae5ea=_0x331f6e;throw new Error(_0x1ae5ea(0xf6));}},exports[_0x331f6e(0x4a0)]=Jr([ti(0x0,a['IConfigService']),ti(0x1,a['Inject'](z[_0x331f6e(0x1d2)]))],exports[_0x331f6e(0x4a0)]);var Zr=Object[_0x331f6e(0x30b)],Qr=Object[_0x331f6e(0x29e)],eo=(_0x801f87,_0x13cb18,_0x1a79d4,_0x5f57b5)=>{const _0x24f2d5=_0x331f6e;for(var _0x2416bd=_0x5f57b5>0x1?void 0x0:_0x5f57b5?Qr(_0x13cb18,_0x1a79d4):_0x13cb18,_0x2e358e=_0x801f87[_0x24f2d5(0xa1)]-0x1,_0x41ed3a;_0x2e358e>=0x0;_0x2e358e--)(_0x41ed3a=_0x801f87[_0x2e358e])&&(_0x2416bd=(_0x5f57b5?_0x41ed3a(_0x13cb18,_0x1a79d4,_0x2416bd):_0x41ed3a(_0x2416bd))||_0x2416bd);return _0x5f57b5&&_0x2416bd&&Zr(_0x13cb18,_0x1a79d4,_0x2416bd),_0x2416bd;},Ne=(_0x213522,_0x1425ce)=>(_0x4ffad9,_0x2fb2c7)=>_0x1425ce(_0x4ffad9,_0x2fb2c7,_0x213522);let Ct=class extends a[_0x331f6e(0x47b)]{constructor(_0x2fc866,_0x32df10,_0x17b8d4,_0xe58d2d,_0x376951){const _0x3854ab=_0x331f6e;super(_0x2fc866,_0x32df10,_0x17b8d4),this['_transformService']=_0xe58d2d,this[_0x3854ab(0x28d)]=_0x376951;}['transformUndoRedo'](_0x8b49d,_0x1e0c35){const _0x37bb26=_0x331f6e,_0x2b2331=this[_0x37bb26(0x2cd)](_0x8b49d);if(_0x2b2331)try{const _0x1685ed=this['_transformStack'](_0x2b2331,_0x1e0c35);this['_substituteUndoStack'](_0x8b49d,_0x1685ed);}catch(_0x58eb88){this[_0x37bb26(0x28d)][_0x37bb26(0x534)](_0x37bb26(0x477),_0x58eb88),this[_0x37bb26(0x182)](_0x8b49d);}const _0x9a5cde=this[_0x37bb26(0x22c)](_0x8b49d);if(_0x9a5cde)try{const _0x114a50=this[_0x37bb26(0x3df)](_0x9a5cde,_0x1e0c35);this[_0x37bb26(0x168)](_0x8b49d,_0x114a50);}catch(_0x5bbea3){this[_0x37bb26(0x28d)][_0x37bb26(0x534)](_0x5bbea3),this[_0x37bb26(0x298)](_0x8b49d);}}[_0x331f6e(0x182)](_0x3c409f){const _0x148078=_0x331f6e,_0x3b73df=this[_0x148078(0x2cd)](_0x3c409f);_0x3b73df&&(_0x3b73df[_0x148078(0xa1)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x221570){const _0x20343f=_0x331f6e,_0x5535d6=this[_0x20343f(0x22c)](_0x221570);_0x5535d6&&(_0x5535d6[_0x20343f(0xa1)]=0x0,this[_0x20343f(0x132)]());}['_substituteUndoStack'](_0xebfe79,_0x19853e){const _0x1bb122=_0x331f6e;this['_undoStacks'][_0x1bb122(0x543)](_0xebfe79,_0x19853e),this[_0x1bb122(0x132)]();}[_0x331f6e(0x168)](_0x3ca9e9,_0x20e576){const _0x92c10b=_0x331f6e;this[_0x92c10b(0x14e)]['set'](_0x3ca9e9,_0x20e576),this[_0x92c10b(0x132)]();}[_0x331f6e(0x3df)](_0x476840,_0x5659d6){const _0x3f5661=_0x331f6e,_0x4a7bfc=[];let _0x331a9e=_0x5659d6,_0x5037aa=_0x5659d6;for(let _0x3b5898=_0x476840[_0x3f5661(0xa1)]-0x1;_0x3b5898>=0x0;_0x3b5898--){const {unitID:_0x9b4846,undoMutations:_0x4bbdd8,redoMutations:_0x4e243b}=_0x476840[_0x3b5898],_0x537814=this[_0x3f5661(0x437)][_0x3f5661(0x225)](_0x331a9e,_0x4bbdd8),_0x41629c=this['_transformService'][_0x3f5661(0x225)](_0x5037aa,_0x4e243b);if(p[_0x3f5661(0x18f)](_0x537814)||p['isTransformMutationsWithChangesetFailure'](_0x41629c)){this[_0x3f5661(0x28d)][_0x3f5661(0x534)](_0x3f5661(0x477),_0x3f5661(0x1da),_0x537814,_0x41629c);break;}_0x331a9e=_0x537814[_0x3f5661(0x489)],_0x5037aa=_0x41629c[_0x3f5661(0x489)],_0x4a7bfc['push']({'unitID':_0x9b4846,'undoMutations':_0x537814[_0x3f5661(0x4be)],'redoMutations':_0x41629c['m2Prime']});}return _0x4a7bfc[_0x3f5661(0x9e)]();}};Ct=eo([Ne(0x0,a[_0x331f6e(0x427)]),Ne(0x1,a[_0x331f6e(0x48e)]),Ne(0x2,a[_0x331f6e(0x15c)]),Ne(0x3,p[_0x331f6e(0x40d)]),Ne(0x4,a[_0x331f6e(0x228)])],Ct);class Li extends a[_0x331f6e(0x49a)]{constructor(){const _0x502b9f=_0x331f6e;super(),I(this,_0x502b9f(0x452)),this[_0x502b9f(0x452)]=A[_0x502b9f(0x293)](window,_0x502b9f(0x4ff))[_0x502b9f(0x3ec)](A['takeUntil'](this[_0x502b9f(0x361)]),A[_0x502b9f(0x48c)](0x1),A['mapTo'](void 0x0));}[_0x331f6e(0x52c)](_0x39d1a9,_0x12af9b,_0x5c1c1f=!0x1){const _0x32d25e=_0x331f6e,_0xa49917=new URL(window[_0x32d25e(0x179)]['href']);_0xa49917[_0x32d25e(0x3cf)][_0x32d25e(0x543)](_0x39d1a9,_0x12af9b),_0x5c1c1f?window[_0x32d25e(0xce)]['replaceState']('','',_0xa49917['toString']()):window[_0x32d25e(0xce)][_0x32d25e(0x559)]('','',_0xa49917['toString']());}[_0x331f6e(0x251)](_0x3c38d1,_0x40ab0c=!0x1){const _0x2ade14=_0x331f6e,_0x369e2d=new URL(window['location'][_0x2ade14(0x3c5)]);_0x369e2d['searchParams']['delete'](_0x3c38d1),_0x40ab0c?window[_0x2ade14(0xce)][_0x2ade14(0x1a1)]('','',_0x369e2d[_0x2ade14(0x3aa)]()):window[_0x2ade14(0xce)][_0x2ade14(0x559)]('','',_0x369e2d['toString']());}[_0x331f6e(0x1e7)](_0x356b03){const _0x4e02ee=_0x331f6e;var _0x16d29d;return(_0x16d29d=new URL(window['location'][_0x4e02ee(0x3c5)])[_0x4e02ee(0x3cf)][_0x4e02ee(0x532)](_0x356b03))!=null?_0x16d29d:void 0x0;}}var xi=Object['defineProperty'],to=Object[_0x331f6e(0x29e)],io=(_0x11122e,_0x4ba55b,_0xe56188)=>_0x4ba55b in _0x11122e?xi(_0x11122e,_0x4ba55b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe56188}):_0x11122e[_0x4ba55b]=_0xe56188,no=(_0x47fb6c,_0x2a7025,_0x3cd930,_0x12c590)=>{const _0x573f69=_0x331f6e;for(var _0x442e37=_0x12c590>0x1?void 0x0:_0x12c590?to(_0x2a7025,_0x3cd930):_0x2a7025,_0x241ca9=_0x47fb6c[_0x573f69(0xa1)]-0x1,_0x516513;_0x241ca9>=0x0;_0x241ca9--)(_0x516513=_0x47fb6c[_0x241ca9])&&(_0x442e37=(_0x12c590?_0x516513(_0x2a7025,_0x3cd930,_0x442e37):_0x516513(_0x442e37))||_0x442e37);return _0x12c590&&_0x442e37&&xi(_0x2a7025,_0x3cd930,_0x442e37),_0x442e37;},He=(_0x250275,_0x2a2c3b)=>(_0x3f2d85,_0x22de46)=>_0x2a2c3b(_0x3f2d85,_0x22de46,_0x250275),so=(_0x466fa8,_0x26c474,_0x2efb32)=>io(_0x466fa8,_0x26c474+'',_0x2efb32);const ro=_0x331f6e(0x2f0);exports[_0x331f6e(0x3fc)]=class extends a[_0x331f6e(0x2c6)]{constructor(_0x1ae2d1=Zi,_0x200a4e,_0x3303a4,_0x230acf,_0x5c3c59){const _0x434f76=_0x331f6e;super(),this[_0x434f76(0x4a8)]=_0x1ae2d1,this['_logService']=_0x200a4e,this['_renderManagerService']=_0x3303a4,this[_0x434f76(0xb0)]=_0x230acf,this['_configService']=_0x5c3c59;const {..._0x276cc5}=this[_0x434f76(0x4a8)];this[_0x434f76(0x549)]['setConfig'](Q,_0x276cc5);}[_0x331f6e(0x218)](){const _0x22607b=_0x331f6e;this[_0x22607b(0x4d3)](),this[_0x22607b(0x152)]();}[_0x331f6e(0x347)](){const _0x56f9a4=_0x331f6e;a['touchDependencies'](this[_0x56f9a4(0xb0)],[[Ge],[Ve]]);}[_0x331f6e(0x23e)](){const _0x4902e1=_0x331f6e;this[_0x4902e1(0x164)]();}[_0x331f6e(0x4d3)](){const _0x58d1a1=_0x331f6e;var _0x161c99,_0x1e763b,_0x214f59,_0x2b7a5e;this[_0x58d1a1(0xb0)][_0x58d1a1(0x1c7)](a[_0x58d1a1(0x173)])&&this[_0x58d1a1(0x28d)][_0x58d1a1(0x534)](_0x58d1a1(0x435),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x1c554b=[[a['IUndoRedoService'],{'useClass':Ct}],[exports[_0x58d1a1(0x4cf)]],[Dt],[wt,{'useClass':Li}],[exports[_0x58d1a1(0x3bd)]],[exports['LocalCacheService']],[z['WebSocketService']],[ke],[Fe],[Be],[We],[yt],[Ye],[Ke],[Rt],[qe],[Tt,{'useClass':(_0x1e763b=(_0x161c99=this[_0x58d1a1(0x4a8)])==null?void 0x0:_0x161c99['socketService'])!=null?_0x1e763b:exports[_0x58d1a1(0x1fe)]}],[p[_0x58d1a1(0x4ed)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a['IAuthzIoService'],{'useClass':exports['AuthzIoHttpService']}],[ie[_0x58d1a1(0x3d8)],{'useClass':exports[_0x58d1a1(0x243)]}],[a['IMentionIOService'],{'useClass':exports[_0x58d1a1(0x144)]}],[exports['CollaborationController']],[exports[_0x58d1a1(0x320)]],[exports[_0x58d1a1(0x2fa)]],[Ge],[De],[Ve]];(_0x214f59=this['_config'])!=null&&_0x214f59[_0x58d1a1(0x326)]&&_0x1c554b[_0x58d1a1(0x256)]([ze,{'useClass':Un}]),a[_0x58d1a1(0x329)](this[_0x58d1a1(0xb0)],a[_0x58d1a1(0x338)](_0x1c554b,(_0x2b7a5e=this[_0x58d1a1(0x4a8)])==null?void 0x0:_0x2b7a5e[_0x58d1a1(0x2bf)]));}[_0x331f6e(0x164)](){const _0x49e1ee=_0x331f6e;this[_0x49e1ee(0xd7)](this[_0x49e1ee(0x2e4)]['registerRenderModule'](a[_0x49e1ee(0x47c)][_0x49e1ee(0x236)],[gt])),this[_0x49e1ee(0xd7)](this[_0x49e1ee(0x2e4)][_0x49e1ee(0x360)](a['UniverInstanceType']['UNIVER_SHEET'],[It]));}[_0x331f6e(0x152)](){const _0x4375bc=_0x331f6e;var _0x17303a,_0x12b9f8;this['_injector'][_0x4375bc(0x532)](z['HTTPService'])[_0x4375bc(0x524)]({'priority':0x14,'interceptor':z[_0x4375bc(0x186)]({'maxParallel':0x6})}),(_0x17303a=this['_config'])!=null&&_0x17303a[_0x4375bc(0x470)]||this[_0x4375bc(0xb0)][_0x4375bc(0x532)](exports[_0x4375bc(0x301)])[_0x4375bc(0x4ee)](),(_0x12b9f8=this['_config'])!=null&&_0x12b9f8[_0x4375bc(0x4e7)]&&a['touchDependencies'](this[_0x4375bc(0xb0)],[[Ye]]),a[_0x4375bc(0x47e)](this[_0x4375bc(0xb0)],[[Ke],[De],[exports[_0x4375bc(0x320)]],[exports[_0x4375bc(0x4bc)]],[exports[_0x4375bc(0x2fa)]],[qe]]);}},so(exports[_0x331f6e(0x3fc)],_0x331f6e(0x322),ro),exports[_0x331f6e(0x3fc)]=no([a['DependentOn'](p[_0x331f6e(0x2da)],z[_0x331f6e(0x1e5)]),He(0x1,a[_0x331f6e(0x228)]),He(0x2,K[_0x331f6e(0x2cf)]),He(0x3,a[_0x331f6e(0x397)](a[_0x331f6e(0x35f)])),He(0x4,a[_0x331f6e(0x3d6)])],exports[_0x331f6e(0x3fc)]),exports['AUTHZ_URL_KEY']=Ut,exports[_0x331f6e(0x487)]=Q,exports[_0x331f6e(0x462)]=li,exports['COLLAB_WEB_SOCKET_URL_KEY']=si,exports[_0x331f6e(0x3b0)]=q,exports[_0x331f6e(0x25a)]=Oi,exports[_0x331f6e(0x38a)]=Rt,exports[_0x331f6e(0x50a)]=ri,exports[_0x331f6e(0x3e6)]=Et,exports['ICollaborationSocketService']=Tt,exports['IURLService']=wt,exports[_0x331f6e(0x4dc)]=ci,exports[_0x331f6e(0x1eb)]=hi,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=ai,exports[_0x331f6e(0x15a)]=Wi,exports[_0x331f6e(0x92)]=ii,exports[_0x331f6e(0x44e)]=ni,exports[_0x331f6e(0x136)]=se,exports[_0x331f6e(0x208)]=Ii,exports[_0x331f6e(0x253)]=Li,exports[_0x331f6e(0x26d)]=di,exports[_0x331f6e(0x202)]=fi;
1
+ 'use strict';const _0x29ff00=_0x2f26;(function(_0x1ea1f0,_0x431e41){const _0x52c6a0=_0x2f26,_0x5babec=_0x1ea1f0();while(!![]){try{const _0x2df604=parseInt(_0x52c6a0(0x51a))/0x1+-parseInt(_0x52c6a0(0x286))/0x2+parseInt(_0x52c6a0(0x494))/0x3+-parseInt(_0x52c6a0(0x474))/0x4*(-parseInt(_0x52c6a0(0x4ee))/0x5)+parseInt(_0x52c6a0(0x566))/0x6*(parseInt(_0x52c6a0(0x258))/0x7)+parseInt(_0x52c6a0(0x383))/0x8*(parseInt(_0x52c6a0(0x28f))/0x9)+-parseInt(_0x52c6a0(0x63d))/0xa;if(_0x2df604===_0x431e41)break;else _0x5babec['push'](_0x5babec['shift']());}catch(_0x3fd352){_0x5babec['push'](_0x5babec['shift']());}}}(_0x595e,0x392b8));var ji=Object['defineProperty'],$i=(_0x1d18dd,_0x44009b,_0x391e08)=>_0x44009b in _0x1d18dd?ji(_0x1d18dd,_0x44009b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x391e08}):_0x1d18dd[_0x44009b]=_0x391e08,I=(_0x53e59c,_0x15269d,_0x45e920)=>$i(_0x53e59c,typeof _0x15269d!=_0x29ff00(0x241)?_0x15269d+'':_0x15269d,_0x45e920);Object[_0x29ff00(0x64a)](exports,Symbol['toStringTag'],{'value':_0x29ff00(0x617)});const a=require('@univerjs/core'),A=require(_0x29ff00(0x60c)),V=require('rxjs/operators'),Ce=require('@univerjs/design'),z=require(_0x29ff00(0x4e2)),te=require(_0x29ff00(0x386)),p=require(_0x29ff00(0x3e1)),Hi=require(_0x29ff00(0x3d9)),Ie=require(_0x29ff00(0x5e4)),J=require(_0x29ff00(0x34c)),k=require(_0x29ff00(0x2e8)),K=require(_0x29ff00(0x541)),ie=require(_0x29ff00(0x403)),Mt=require(_0x29ff00(0x5a0)),ye=require(_0x29ff00(0x4d2)),ae=require(_0x29ff00(0x381)),Bi=require('@univerjs/rpc'),ii='SNAPSHOT_SERVER_URL_KEY',ki=_0x29ff00(0x5dc),ni='SNAPSHOT_URL_KEY',Wi='SEND_CHANGESET_TIMEOUT',Fi=0x7d0,si='COLLAB_WEB_SOCKET_URL',Vi=_0x29ff00(0x44c),Gi=_0x29ff00(0x3c7),ri=_0x29ff00(0x4aa),Yi=0x7530,Et=_0x29ff00(0x423),oi=0x4e20,Ki=0x4e20,ai='RETRY_CONNECTING_MAX_COUNT',qi=0x3,ci=_0x29ff00(0x575),zi=0x3e8,li=_0x29ff00(0x2a0),Xi='/universer-api/comb',hi=_0x29ff00(0x5e1),Ji=_0x29ff00(0x591);var _i=(_0x3e5b6a=>(_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x64f)]=0x0]=_0x29ff00(0x64f),_0x3e5b6a[_0x3e5b6a['OK']=0x1]='OK',_0x3e5b6a[_0x3e5b6a['INTERNAL_ERROR']=0x2]=_0x29ff00(0x28a),_0x3e5b6a[_0x3e5b6a['PERMISSION_DENIED']=0x3]=_0x29ff00(0x3be),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x2f5)]=0x4]='NOT_FOUND',_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x563)]=0x5]=_0x29ff00(0x563),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x2b8)]=0x6]=_0x29ff00(0x2b8),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x1cf)]=0x7]=_0x29ff00(0x1cf),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x2bb)]=0x8]='TOO_MANY_REQUESTS',_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x63b)]=0x9]=_0x29ff00(0x63b),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x23a)]=0x1389]=_0x29ff00(0x23a),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x3cf)]=0x1771]=_0x29ff00(0x3cf),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x62d)]=0x1772]=_0x29ff00(0x62d),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x1cd)]=0x1773]=_0x29ff00(0x1cd),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x1f3)]=0x1b59]='APPLY_REJECT',_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x511)]=0x1b5a]=_0x29ff00(0x511),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x2da)]=0x1b5b]=_0x29ff00(0x2da),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x2cb)]=0x1b5c]=_0x29ff00(0x2cb),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x4cc)]=0x1b5d]=_0x29ff00(0x4cc),_0x3e5b6a[_0x3e5b6a['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x29ff00(0x206),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x3e0)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x34e)]=0x232a]=_0x29ff00(0x34e),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x57b)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x32f)]=0x232c]=_0x29ff00(0x32f),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x3a2)]=0x232d]=_0x29ff00(0x3a2),_0x3e5b6a[_0x3e5b6a['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x29ff00(0x5f2),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x4ce)]=0x2712]=_0x29ff00(0x4ce),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x23c)]=0x2713]=_0x29ff00(0x23c),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x21f)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x419)]=-0x1]=_0x29ff00(0x419),_0x3e5b6a))(_i||{}),ne=(_0x2b5f98=>(_0x2b5f98[_0x2b5f98[_0x29ff00(0x3b3)]=0x0]='UNIVER_UNKNOWN',_0x2b5f98[_0x2b5f98['UNIVER_DOC']=0x1]=_0x29ff00(0x4f0),_0x2b5f98[_0x2b5f98['UNIVER_SHEET']=0x2]=_0x29ff00(0x3d0),_0x2b5f98[_0x2b5f98[_0x29ff00(0x625)]=0x3]=_0x29ff00(0x625),_0x2b5f98[_0x2b5f98[_0x29ff00(0x5cf)]=0x4]='UNIVER_PROJECT',_0x2b5f98[_0x2b5f98[_0x29ff00(0x419)]=-0x1]=_0x29ff00(0x419),_0x2b5f98))(ne||{}),G=(_0x158be7=>(_0x158be7[_0x158be7[_0x29ff00(0x638)]=0x0]='UNKNOWN_CMD',_0x158be7[_0x158be7['HELLO']=0x1]='HELLO',_0x158be7[_0x158be7['JOIN']=0x2]=_0x29ff00(0x48f),_0x158be7[_0x158be7[_0x29ff00(0x56d)]=0x3]=_0x29ff00(0x56d),_0x158be7[_0x158be7[_0x29ff00(0x514)]=0x4]=_0x29ff00(0x514),_0x158be7[_0x158be7['HEARTBEAT']=0x5]=_0x29ff00(0x5c6),_0x158be7[_0x158be7[_0x29ff00(0x275)]=0x6]=_0x29ff00(0x275),_0x158be7[_0x158be7[_0x29ff00(0x419)]=-0x1]=_0x29ff00(0x419),_0x158be7))(G||{}),bt=(_0x1d71c2=>(_0x1d71c2[_0x1d71c2[_0x29ff00(0x609)]=0x0]=_0x29ff00(0x609),_0x1d71c2[_0x1d71c2['OK']=0x1]='OK',_0x1d71c2[_0x1d71c2['FAIL']=0x2]=_0x29ff00(0x52a),_0x1d71c2[_0x1d71c2[_0x29ff00(0x61a)]=0x3e9]='JOIN_ROOM_FULL',_0x1d71c2[_0x1d71c2[_0x29ff00(0x215)]=0x3ea]='JOIN_ROOM_NOT_ALLOWED',_0x1d71c2[_0x1d71c2['UNRECOGNIZED']=-0x1]=_0x29ff00(0x419),_0x1d71c2))(bt||{}),ui=(_0x17591d=>(_0x17591d[_0x17591d[_0x29ff00(0x559)]=0x0]=_0x29ff00(0x559),_0x17591d[_0x17591d[_0x29ff00(0x4d0)]=0x1]=_0x29ff00(0x4d0),_0x17591d[_0x17591d[_0x29ff00(0x582)]=0x2]=_0x29ff00(0x582),_0x17591d[_0x17591d[_0x29ff00(0x358)]=0x3]='UnitEmbedded',_0x17591d[_0x17591d[_0x29ff00(0x557)]=0x4]=_0x29ff00(0x557),_0x17591d[_0x17591d[_0x29ff00(0x419)]=-0x1]=_0x29ff00(0x419),_0x17591d))(ui||{});const Q=_0x29ff00(0x602),Zi={};function di(_0x1360bb){const _0x4bfee1=_0x29ff00;var _0xaab78a,_0x413c2b,_0x5c1845,_0x220bf4,_0x34e23b;const _0x4a4dcb=_0x1360bb[_0x4bfee1(0x3eb)],_0x5d258e=JSON['parse'](_0x4a4dcb);switch(_0x5d258e[_0x4bfee1(0x4a0)]){case G[_0x4bfee1(0x5c6)]:case G[_0x4bfee1(0x2ad)]:{const _0x7cd38b=_0x5d258e[_0x4bfee1(0x495)];return{..._0x5d258e,'data':_0x7cd38b,'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};}case G[_0x4bfee1(0x48f)]:{const _0xc8635a=_0x5d258e[_0x4bfee1(0x2c7)];return{..._0x5d258e,'data':_0xc8635a,'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};}case G[_0x4bfee1(0x275)]:{const _0x20984a=_0x5d258e['collaMsg'];switch(_0x20984a[_0x4bfee1(0x55b)]){case p[_0x4bfee1(0x259)]['PERMISSION_REJ']:return{..._0x5d258e,'data':{..._0x20984a,'data':(_0xaab78a=_0x20984a['permissionRejEvent'])==null?void 0x0:_0xaab78a['cs']},'cmd':_0x5d258e['cmd']};case p[_0x4bfee1(0x259)][_0x4bfee1(0x249)]:return{..._0x5d258e,'data':{..._0x20984a,'data':(_0x413c2b=_0x20984a['csAckEvent'])==null?void 0x0:_0x413c2b['cs']},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)][_0x4bfee1(0x402)]:return{..._0x5d258e,'data':{..._0x20984a,'data':(_0x5c1845=_0x20984a[_0x4bfee1(0x1b7)])==null?void 0x0:_0x5c1845['cs']},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)]['CHANGESET_REJ']:return{..._0x5d258e,'data':{..._0x20984a,'data':(_0x220bf4=_0x20984a[_0x4bfee1(0x4ec)])==null?void 0x0:_0x220bf4['cs']},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)][_0x4bfee1(0x2ce)]:return{..._0x5d258e,'data':{..._0x20984a,'data':(_0x34e23b=_0x20984a[_0x4bfee1(0x444)])==null?void 0x0:_0x34e23b['cs']},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)]['UPDATE_CURSOR']:return{..._0x5d258e,'data':{..._0x20984a,'data':_0x20984a[_0x4bfee1(0x4a2)]},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)]['USERS_ENTER']:return{..._0x5d258e,'data':{..._0x20984a,'data':_0x20984a[_0x4bfee1(0x5db)]},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)][_0x4bfee1(0x5a1)]:return{..._0x5d258e,'data':{..._0x20984a,'data':_0x20984a[_0x4bfee1(0x2db)]},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)][_0x4bfee1(0x313)]:return{..._0x5d258e,'data':{..._0x20984a,'data':_0x20984a[_0x4bfee1(0x28c)]},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)][_0x4bfee1(0x42b)]:case p[_0x4bfee1(0x259)][_0x4bfee1(0x448)]:return{..._0x5d258e,'data':{..._0x20984a,'data':_0x20984a[_0x4bfee1(0x284)]},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p['CollaborationEvent'][_0x4bfee1(0x216)]:return{..._0x5d258e,'data':{..._0x20984a,'data':_0x20984a['liveShareNewHost']},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)][_0x4bfee1(0x5cc)]:return{..._0x5d258e,'data':_0x20984a,'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)][_0x4bfee1(0x492)]:return{..._0x5d258e,'data':{..._0x20984a,'data':_0x20984a[_0x4bfee1(0x29a)]},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)][_0x4bfee1(0x410)]:return{..._0x5d258e,'data':{..._0x20984a,'data':_0x20984a[_0x4bfee1(0x3fe)]},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)][_0x4bfee1(0x44d)]:return{..._0x5d258e,'data':{..._0x20984a,'data':_0x20984a[_0x4bfee1(0x1b8)]},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};default:return _0x5d258e;}}default:return _0x5d258e;}}function fi(_0x31fafc){const _0x978bf4=_0x29ff00;switch(_0x31fafc[_0x978bf4(0x4a0)]){case G[_0x978bf4(0x5c6)]:case G[_0x978bf4(0x2ad)]:return JSON['stringify']({'cmd':_0x31fafc[_0x978bf4(0x4a0)],'routeKey':_0x31fafc[_0x978bf4(0x4fa)]});case G[_0x978bf4(0x514)]:{let _0x8b32e9;switch(_0x31fafc[_0x978bf4(0x3eb)][_0x978bf4(0x55b)]){case p[_0x978bf4(0x259)]['UPDATE_CURSOR']:{_0x8b32e9={'eventID':p[_0x978bf4(0x259)]['UPDATE_CURSOR'],'updateCursorEvent':_0x31fafc[_0x978bf4(0x3eb)]['data']};break;}case p['CollaborationEvent'][_0x978bf4(0x5a1)]:{_0x8b32e9={'eventID':p[_0x978bf4(0x259)][_0x978bf4(0x5a1)],'leaveEvent':_0x31fafc[_0x978bf4(0x3eb)][_0x978bf4(0x3eb)]};break;}case p[_0x978bf4(0x259)][_0x978bf4(0x5bc)]:{_0x8b32e9={'eventID':p[_0x978bf4(0x259)][_0x978bf4(0x5bc)],'joinEvent':_0x31fafc[_0x978bf4(0x3eb)]['data']};break;}case p[_0x978bf4(0x259)][_0x978bf4(0x313)]:{_0x8b32e9={'eventID':p[_0x978bf4(0x259)][_0x978bf4(0x313)],'liveShareNewHost':_0x31fafc[_0x978bf4(0x3eb)][_0x978bf4(0x3eb)]};break;}case p[_0x978bf4(0x259)][_0x978bf4(0x448)]:{_0x8b32e9={'eventID':p[_0x978bf4(0x259)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x31fafc[_0x978bf4(0x3eb)]['data']};break;}case p[_0x978bf4(0x259)]['LIVESHARE_TERMINATE']:{_0x8b32e9={'eventID':p[_0x978bf4(0x259)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x31fafc[_0x978bf4(0x3eb)]['data']};break;}case p['CollaborationEvent']['LIVESHARE_REQUEST_HOST']:{_0x8b32e9={'eventID':p[_0x978bf4(0x259)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x31fafc[_0x978bf4(0x3eb)][_0x978bf4(0x3eb)]};break;}case p[_0x978bf4(0x259)]['LIVESHARE_FETCH_OPERATIONS']:{_0x8b32e9={'eventID':p[_0x978bf4(0x259)][_0x978bf4(0x42b)]};break;}default:_0x8b32e9={'eventID':_0x31fafc['data'][_0x978bf4(0x55b)]};}return JSON[_0x978bf4(0x65e)]({'cmd':_0x31fafc['cmd'],'routeKey':_0x31fafc['routeKey'],'collaMsg':_0x8b32e9});}case G[_0x978bf4(0x48f)]:return JSON[_0x978bf4(0x65e)]({'cmd':_0x31fafc[_0x978bf4(0x4a0)],'routeKey':_0x31fafc[_0x978bf4(0x4fa)],'joinReq':_0x31fafc[_0x978bf4(0x3eb)]});case G[_0x978bf4(0x56d)]:return JSON[_0x978bf4(0x65e)]({'cmd':_0x31fafc[_0x978bf4(0x4a0)],'routeKey':_0x31fafc['routeKey'],'leaveReq':_0x31fafc[_0x978bf4(0x3eb)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Qi=Object[_0x29ff00(0x64a)],en=Object[_0x29ff00(0x316)],tn=(_0x4584e5,_0x54e03c,_0x38b276,_0xafdec2)=>{const _0x3d75a1=_0x29ff00;for(var _0x39d498=_0xafdec2>0x1?void 0x0:_0xafdec2?en(_0x54e03c,_0x38b276):_0x54e03c,_0x324b9e=_0x4584e5[_0x3d75a1(0x5e7)]-0x1,_0x368764;_0x324b9e>=0x0;_0x324b9e--)(_0x368764=_0x4584e5[_0x324b9e])&&(_0x39d498=(_0xafdec2?_0x368764(_0x54e03c,_0x38b276,_0x39d498):_0x368764(_0x39d498))||_0x39d498);return _0xafdec2&&_0x39d498&&Qi(_0x54e03c,_0x38b276,_0x39d498),_0x39d498;},Pe=(_0x4de191,_0x78e65)=>(_0xfde4af,_0x33b6c8)=>_0x78e65(_0xfde4af,_0x33b6c8,_0x4de191);const Tt=a[_0x29ff00(0x369)]('univer-pro.collaboration-client-socket-service');function nn(_0x3c3e05,_0xcb953e,_0xb8a45e){return _0x3c3e05+'/'+_0xcb953e+'/unit/'+_0xb8a45e+'/new_changes';}exports['CollaborationSocketService']=class extends a['Disposable']{constructor(_0x203ea0,_0x4af609,_0x4c4d79,_0x2582d0,_0x17744a){const _0x4556da=_0x29ff00;super(),this[_0x4556da(0x58a)]=_0x203ea0,this['_ws']=_0x4af609,this[_0x4556da(0x4ea)]=_0x4c4d79,this[_0x4556da(0x328)]=_0x2582d0,this[_0x4556da(0x1dc)]=_0x17744a;}[_0x29ff00(0x62b)](_0x29f4d1){const _0x2415ec=_0x29ff00,_0x271d13=this[_0x2415ec(0x5ab)][_0x2415ec(0x62b)](_0x29f4d1);if(!_0x271d13)throw new Error(_0x2415ec(0x45e));const _0x21bf5b=new a[(_0x2415ec(0x546))](),_0xfb78c0=new A['Subject']();_0x21bf5b['add'](_0x271d13[_0x2415ec(0x642)]['subscribe'](_0x4194a1=>_0xfb78c0[_0x2415ec(0x49f)](_0x4194a1))),_0x21bf5b[_0x2415ec(0x231)](a[_0x2415ec(0x372)](()=>_0xfb78c0[_0x2415ec(0x22e)]()));const _0x108082=new A['Subject']();_0x21bf5b['add'](_0x271d13[_0x2415ec(0x1c3)]['subscribe'](_0xb265df=>_0x108082[_0x2415ec(0x49f)](_0xb265df))),_0x21bf5b[_0x2415ec(0x231)](a['toDisposable'](()=>_0x108082[_0x2415ec(0x22e)]()));const _0x3d8201=new A[(_0x2415ec(0x534))]();_0x21bf5b[_0x2415ec(0x231)](_0x271d13[_0x2415ec(0x27b)][_0x2415ec(0x58f)](_0x52c81d=>{const _0x4f9270=_0x2415ec,_0x1eca69=di(_0x52c81d);_0x3d8201[_0x4f9270(0x49f)](_0x1eca69);})),_0x21bf5b[_0x2415ec(0x231)](a[_0x2415ec(0x372)](()=>_0x3d8201[_0x2415ec(0x22e)]()));let _0x42df77;const _0x3efe67=()=>{const _0x31dae2=_0x2415ec;_0x108082['next'](new Event(_0x31dae2(0x335))),_0xfb78c0[_0x31dae2(0x49f)](new CloseEvent('connection\x20error')),_0x42df77[_0x31dae2(0x499)]();};return _0x42df77={'memberID':'','close$':_0xfb78c0['asObservable'](),'error$':_0x108082[_0x2415ec(0x4c6)](),'open$':_0x271d13[_0x2415ec(0x418)],'message$':_0x3d8201['asObservable'](),'send':_0x5cdd3a=>{const _0xa5e4e5=_0x2415ec;if(_0x5cdd3a[_0xa5e4e5(0x4a0)]===G[_0xa5e4e5(0x514)]){if(_0x5cdd3a[_0xa5e4e5(0x3eb)]['eventID']===p[_0xa5e4e5(0x259)][_0xa5e4e5(0x2c8)]){this['_submitChangeset'](_0x42df77,_0x5cdd3a['data'])[_0xa5e4e5(0x49d)](_0xa69cd=>{const _0x30c772=_0xa5e4e5;this[_0x30c772(0x328)][_0x30c772(0x27a)](_0xa69cd),_0x3efe67();});return;}if(_0x5cdd3a[_0xa5e4e5(0x3eb)][_0xa5e4e5(0x55b)]===p[_0xa5e4e5(0x259)]['FETCH_MISSING']){const _0xc9b3b3=_0x5cdd3a[_0xa5e4e5(0x3eb)];this[_0xa5e4e5(0x654)](_0xc9b3b3)[_0xa5e4e5(0x5bf)](_0x3077ee=>{const _0x35e25f=_0xa5e4e5;_0x3d8201[_0x35e25f(0x49f)]({'cmd':G[_0x35e25f(0x275)],'code':bt['OK'],'routeKey':_0xc9b3b3[_0x35e25f(0x3eb)]['unitID'],'routeType':'','data':{'eventID':p[_0x35e25f(0x259)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x3077ee}}});})['catch'](_0x5c65b0=>{const _0x164b11=_0xa5e4e5;this[_0x164b11(0x328)][_0x164b11(0x27a)](_0x5c65b0),_0x3efe67();});return;}}_0x271d13[_0xa5e4e5(0x385)](fi(_0x5cdd3a));},'close':()=>{const _0x476a06=_0x2415ec;_0x271d13[_0x476a06(0x499)](),_0x21bf5b[_0x476a06(0x5e6)]();}},_0x42df77;}async[_0x29ff00(0x33a)](_0x2e58db,_0x5004fc){const _0x5b5007=_0x29ff00;var _0xf4212,_0x40f664;const {unitType:_0x334b15,unitID:_0x232a0c,changeset:_0x7958b5}=_0x5004fc[_0x5b5007(0x3eb)],_0x4d7ab1={'unitID':_0x232a0c,'memberID':_0x2e58db[_0x5b5007(0x35e)],'type':_0x334b15,'changeset':p[_0x5b5007(0x26f)](_0x7958b5)},_0x52659d=this[_0x5b5007(0x4ea)]['getConfig'](li),_0x3988e6=this[_0x5b5007(0x4ea)][_0x5b5007(0x1ea)](Q),_0x29ddda=nn((_0x40f664=(_0xf4212=_0x3988e6==null?void 0x0:_0x3988e6[_0x5b5007(0x29d)])!=null?_0xf4212:_0x52659d)!=null?_0x40f664:Xi,_0x334b15,_0x232a0c);try{await this[_0x5b5007(0x58a)][_0x5b5007(0x515)](_0x29ddda,{'body':_0x4d7ab1});}catch(_0x24faa2){throw this[_0x5b5007(0x328)][_0x5b5007(0x27a)](_0x5b5007(0x4a6),_0x5b5007(0x2ba)),_0x24faa2;}}async[_0x29ff00(0x654)](_0x5e07b9){const _0x595385=_0x29ff00,{unitID:_0x3e6dad,from:_0x23239b,to:_0x48f2ab,unitType:_0x1d2727}=_0x5e07b9[_0x595385(0x3eb)];return(await this[_0x595385(0x1dc)][_0x595385(0x379)]({'metadata':void 0x0},{'unitID':_0x3e6dad,'type':_0x1d2727,'from':_0x23239b,'to':_0x48f2ab}))[_0x595385(0x684)];}},exports[_0x29ff00(0x374)]=tn([Pe(0x0,a['Inject'](z[_0x29ff00(0x1be)])),Pe(0x1,a[_0x29ff00(0x493)](z[_0x29ff00(0x287)])),Pe(0x2,a[_0x29ff00(0x64d)]),Pe(0x3,a[_0x29ff00(0x4ac)]),Pe(0x4,p[_0x29ff00(0x426)])],exports[_0x29ff00(0x374)]);const sn=_0x29ff00(0x36a);function rn(_0xc3eaf0){const _0x1189c6=_0x29ff00;return JSON[_0x1189c6(0x65e)](_0xc3eaf0)['length'];}class Rt{constructor(){const _0x231cea=_0x29ff00;I(this,_0x231cea(0x2f2),new A[(_0x231cea(0x534))]()),I(this,_0x231cea(0x22a),this[_0x231cea(0x2f2)][_0x231cea(0x4c6)]());}['onCommentUpdate'](_0x3f9cb9){const _0x50b1d1=_0x29ff00;this[_0x50b1d1(0x2f2)][_0x50b1d1(0x49f)](_0x3f9cb9);}}var on=Object[_0x29ff00(0x64a)],an=Object[_0x29ff00(0x316)],cn=(_0x224925,_0x239194,_0x59e802,_0x4f58c6)=>{const _0x1c56f4=_0x29ff00;for(var _0xd16ee0=_0x4f58c6>0x1?void 0x0:_0x4f58c6?an(_0x239194,_0x59e802):_0x239194,_0x599809=_0x224925[_0x1c56f4(0x5e7)]-0x1,_0x310afd;_0x599809>=0x0;_0x599809--)(_0x310afd=_0x224925[_0x599809])&&(_0xd16ee0=(_0x4f58c6?_0x310afd(_0x239194,_0x59e802,_0xd16ee0):_0x310afd(_0xd16ee0))||_0xd16ee0);return _0x4f58c6&&_0xd16ee0&&on(_0x239194,_0x59e802,_0xd16ee0),_0xd16ee0;},At=(_0x23ecc5,_0x45412a)=>(_0x31650e,_0x2c0b4a)=>_0x45412a(_0x31650e,_0x2c0b4a,_0x23ecc5);exports[_0x29ff00(0x1d6)]=class extends a[_0x29ff00(0x331)]{constructor(_0x24c8c3,_0x373a20){const _0x149909=_0x29ff00;super(),I(this,_0x149909(0x542),new Map()),(this['_univerInstanceService']=_0x24c8c3,this[_0x149909(0x345)]=_0x373a20,this[_0x149909(0x665)](a[_0x149909(0x372)](A[_0x149909(0x5ed)](this[_0x149909(0x600)][_0x149909(0x365)](a[_0x149909(0x5ce)][_0x149909(0x3d0)])['pipe'](V['map'](_0x19b1f3=>_0x19b1f3[_0x149909(0x621)]())),this[_0x149909(0x600)]['getTypeOfUnitDisposed$'](a[_0x149909(0x5ce)][_0x149909(0x4f0)])[_0x149909(0x619)](V[_0x149909(0x4db)](_0x17a884=>_0x17a884[_0x149909(0x621)]())),this[_0x149909(0x600)][_0x149909(0x365)](a['UniverInstanceType'][_0x149909(0x625)])['pipe'](V[_0x149909(0x4db)](_0x46fc8a=>_0x46fc8a[_0x149909(0x621)]())))[_0x149909(0x58f)](_0x5f6ac=>this[_0x149909(0x554)](_0x5f6ac)))));}[_0x29ff00(0x5c7)](_0x1b5f2b){const _0x22330f=_0x29ff00;this['_userManagerService'][_0x22330f(0x5c7)](_0x1b5f2b);}[_0x29ff00(0x5d8)](){const _0x3397d7=_0x29ff00;return this[_0x3397d7(0x345)][_0x3397d7(0x5d8)]();}[_0x29ff00(0x3f3)](_0x51bcf8,_0xf48690){const _0x41cc6a=_0x29ff00;let _0x47956a=this[_0x41cc6a(0x542)]['get'](_0x51bcf8);_0x47956a||(_0x47956a=new ln(),this[_0x41cc6a(0x542)][_0x41cc6a(0x20a)](_0x51bcf8,_0x47956a)),_0x47956a[_0x41cc6a(0x3f3)](_0xf48690);}[_0x29ff00(0x578)](_0x234958,_0x359e74){const _0x5cadbf=_0x29ff00,_0x4b1f76=this[_0x5cadbf(0x542)][_0x5cadbf(0x2ef)](_0x234958);_0x4b1f76&&_0x4b1f76[_0x5cadbf(0x578)](_0x359e74);}[_0x29ff00(0x4cb)](_0x41ae49){const _0x3cef7f=_0x29ff00;return this[_0x3cef7f(0x542)]['get'](_0x41ae49);}[_0x29ff00(0x5b8)](_0x3b9718,_0x130bb5){const _0x26a607=_0x29ff00,_0x6e829c=this[_0x26a607(0x542)][_0x26a607(0x2ef)](_0x3b9718);if(_0x6e829c)return _0x6e829c[_0x26a607(0x5b8)](_0x130bb5);}[_0x29ff00(0x554)](_0x332dae){const _0x2be6d7=_0x29ff00,_0x5df38c=this[_0x2be6d7(0x542)][_0x2be6d7(0x2ef)](_0x332dae);_0x5df38c&&(_0x5df38c[_0x2be6d7(0x5e6)](),this[_0x2be6d7(0x542)]['delete'](_0x332dae));}[_0x29ff00(0x5e6)](){const _0x2e4af4=_0x29ff00;this['_roomMembers'][_0x2e4af4(0x3a1)](_0x5b7354=>_0x5b7354[_0x2e4af4(0x5e6)]()),this['_roomMembers'][_0x2e4af4(0x641)]();}},exports[_0x29ff00(0x1d6)]=cn([At(0x0,a[_0x29ff00(0x37f)]),At(0x1,a[_0x29ff00(0x493)](a[_0x29ff00(0x60f)]))],exports[_0x29ff00(0x1d6)]);class ln extends a[_0x29ff00(0x331)]{constructor(){super(...arguments),I(this,'_members',new Map());}[_0x29ff00(0x5e6)](){const _0x419909=_0x29ff00;this['_members'][_0x419909(0x641)]();}['updateMember'](_0x2adca0){const _0x10ed13=_0x29ff00;this['_members']['set'](_0x2adca0[_0x10ed13(0x35e)],_0x2adca0);}['removeMember'](_0x574fbf){const _0x580929=_0x29ff00;this['_members'][_0x580929(0x3dc)](_0x574fbf);}['getMember'](_0x2380d4){const _0x145bd0=_0x29ff00;return this[_0x145bd0(0x272)][_0x145bd0(0x2ef)](_0x2380d4);}[_0x29ff00(0x2d7)](){const _0x4e8f2c=_0x29ff00;return Array[_0x4e8f2c(0x4e3)](this['_members']['values']());}}var hn=Object['defineProperty'],_n=Object[_0x29ff00(0x316)],un=(_0x212c52,_0x5e0053,_0x3bfa24,_0x300604)=>{const _0xa1e719=_0x29ff00;for(var _0xbfceec=_0x300604>0x1?void 0x0:_0x300604?_n(_0x5e0053,_0x3bfa24):_0x5e0053,_0xf035f2=_0x212c52[_0xa1e719(0x5e7)]-0x1,_0x5968b7;_0xf035f2>=0x0;_0xf035f2--)(_0x5968b7=_0x212c52[_0xf035f2])&&(_0xbfceec=(_0x300604?_0x5968b7(_0x5e0053,_0x3bfa24,_0xbfceec):_0x5968b7(_0xbfceec))||_0xbfceec);return _0x300604&&_0xbfceec&&hn(_0x5e0053,_0x3bfa24,_0xbfceec),_0xbfceec;},de=(_0x111444,_0x54af0c)=>(_0x3b479d,_0x4e966b)=>_0x54af0c(_0x3b479d,_0x4e966b,_0x111444),se=(_0x24621c=>(_0x24621c[_0x24621c[_0x29ff00(0x281)]=0x0]='IDLE',_0x24621c[_0x24621c['JOINING']=0x1]=_0x29ff00(0x377),_0x24621c[_0x24621c[_0x29ff00(0x548)]=0x2]='OFFLINE',_0x24621c[_0x24621c[_0x29ff00(0x572)]=0x3]='ONLINE',_0x24621c))(se||{});exports[_0x29ff00(0x679)]=class extends a[_0x29ff00(0x4b0)]{constructor(_0x227b21,_0x398803,_0x15d302,_0x3101dc,_0x21f5a9,_0x249e1c,_0xcc6a46,_0x52e18e,_0x485d18,_0x42fa55){const _0xbc6442=_0x29ff00;super(),I(this,_0xbc6442(0x439),new A[(_0xbc6442(0x26c))](0x0)),I(this,_0xbc6442(0x299),this[_0xbc6442(0x439)][_0xbc6442(0x4c6)]()),I(this,_0xbc6442(0x245),new A[(_0xbc6442(0x534))]()),I(this,_0xbc6442(0x48a),this[_0xbc6442(0x245)][_0xbc6442(0x4c6)]()),I(this,_0xbc6442(0x491)),I(this,_0xbc6442(0x24e)),I(this,_0xbc6442(0x497)),I(this,_0xbc6442(0x47d),!0x1),I(this,_0xbc6442(0x296),null),(this['_unitID']=_0x227b21,this[_0xbc6442(0x328)]=_0x15d302,this[_0xbc6442(0x1c0)]=_0x3101dc,this['_messageService']=_0x21f5a9,this[_0xbc6442(0x4ea)]=_0x249e1c,this[_0xbc6442(0x20f)]=_0xcc6a46,this[_0xbc6442(0x427)]=_0x52e18e,this[_0xbc6442(0x3df)]=_0x485d18,this['_telemetryService']=_0x42fa55,this[_0xbc6442(0x47d)]=!!this['_telemetryService'],_0x398803['pipe'](A['takeUntil'](this[_0xbc6442(0x2b6)]))['subscribe'](_0x128c12=>{const _0x1e03ad=_0xbc6442;var _0x18ee46;typeof _0x128c12>'u'||(this[_0x1e03ad(0x491)]=_0x128c12,_0x128c12?(this['_joinRoom'](_0x128c12),this[_0x1e03ad(0x24e)]=_0x128c12[_0x1e03ad(0x27b)][_0x1e03ad(0x58f)](_0x4fc6a2=>{const _0x5f6463=_0x1e03ad;_0x4fc6a2['routeKey']===this[_0x5f6463(0x33d)]&&this[_0x5f6463(0x261)](_0x4fc6a2);})):(this[_0x1e03ad(0x363)](),this['_sessionStatus$']['next'](0x2),(_0x18ee46=this[_0x1e03ad(0x24e)])==null||_0x18ee46[_0x1e03ad(0x4eb)](),this[_0x1e03ad(0x24e)]=null));}),this[_0xbc6442(0x665)](this[_0xbc6442(0x1c0)][_0xbc6442(0x23d)](()=>{const _0xfe612c=_0xbc6442;var _0xf28e07;(_0xf28e07=this[_0xfe612c(0x491)])==null||_0xf28e07['send']({'cmd':G['LEAVE'],'data':{'roomID':this['_unitID']}});})));}get['sessionStatus'](){const _0x36e572=_0x29ff00;return this[_0x36e572(0x439)][_0x36e572(0x42e)]();}[_0x29ff00(0x40a)](){const _0x326523=_0x29ff00;var _0x27f087,_0x5c318d;return(_0x5c318d=(_0x27f087=this['_socket'])==null?void 0x0:_0x27f087[_0x326523(0x35e)])!=null?_0x5c318d:null;}[_0x29ff00(0x5e6)](){const _0x3d271f=_0x29ff00;super[_0x3d271f(0x5e6)](),this[_0x3d271f(0x2b6)][_0x3d271f(0x49f)](),this['dispose$'][_0x3d271f(0x22e)]();}[_0x29ff00(0x499)](){const _0x4abd27=_0x29ff00;var _0x7c3d4,_0x4ee22a;this['_throwTelemetryCollaborationNewChangeset'](),(_0x7c3d4=this[_0x4abd27(0x491)])==null||_0x7c3d4[_0x4abd27(0x385)]({'cmd':G[_0x4abd27(0x56d)],'data':{'roomID':this[_0x4abd27(0x33d)]}}),(_0x4ee22a=this[_0x4abd27(0x491)])==null||_0x4ee22a['close'](),this[_0x4abd27(0x245)]['complete'](),this['_sessionStatus$'][_0x4abd27(0x22e)](),this['dispose']();}[_0x29ff00(0x261)](_0x556f34){const _0x30cce3=_0x29ff00;_0x556f34[_0x30cce3(0x4a0)]===G['JOIN']?this['_onJoinRoomEvent'](_0x556f34):_0x556f34[_0x30cce3(0x4a0)]===G['RECV']&&this[_0x30cce3(0x57a)](_0x556f34);}[_0x29ff00(0x618)](_0x435182){const _0x1cd1a1=_0x29ff00;this['_sessionStatus$']['next'](0x1),_0x435182[_0x1cd1a1(0x385)]({'cmd':G['JOIN'],'routeKey':this[_0x1cd1a1(0x33d)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1cd1a1(0x33d)]}]}});}[_0x29ff00(0x28d)](_0x3894ff){const _0x48bdbe=_0x29ff00;var _0x5bba3c;if(_0x3894ff[_0x48bdbe(0x25d)]===bt[_0x48bdbe(0x52a)]){this[_0x48bdbe(0x47e)][_0x48bdbe(0x318)]({'type':Ce['MessageType'][_0x48bdbe(0x390)],'content':this[_0x48bdbe(0x20f)]['t']('session.room-full')}),this['_sessionStatus$'][_0x48bdbe(0x49f)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x15c3e7=(_0x5bba3c=_0x3894ff[_0x48bdbe(0x3eb)]['roomInfos'][this[_0x48bdbe(0x33d)]])==null?void 0x0:_0x5bba3c['members'];_0x15c3e7&&_0x15c3e7[_0x48bdbe(0x3a1)](_0x14540b=>this[_0x48bdbe(0x427)][_0x48bdbe(0x3f3)](this[_0x48bdbe(0x33d)],_0x14540b));}[_0x29ff00(0x57a)](_0x49a672){const _0x49ab31=_0x29ff00;try{const _0x1b00b5=_0x49a672[_0x49ab31(0x3eb)];switch(_0x1b00b5[_0x49ab31(0x55b)]){case p[_0x49ab31(0x259)]['USERS_ENTER']:this[_0x49ab31(0x22d)](_0x1b00b5),this[_0x49ab31(0x245)][_0x49ab31(0x49f)](_0x1b00b5);break;case p[_0x49ab31(0x259)]['USERS_LEAVE']:this[_0x49ab31(0x5d0)](_0x1b00b5),this[_0x49ab31(0x245)][_0x49ab31(0x49f)](_0x1b00b5);break;case p[_0x49ab31(0x259)]['CHANGESET_ACK']:case p[_0x49ab31(0x259)]['CHANGESET_SHOULD_RETRY']:this[_0x49ab31(0x202)](),this[_0x49ab31(0x50e)](),this[_0x49ab31(0x245)][_0x49ab31(0x49f)](_0x1b00b5);break;case p['CollaborationEvent'][_0x49ab31(0x5cc)]:this['_logService'][_0x49ab31(0x27a)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x49ab31(0x65e)](_0x1b00b5)),this[_0x49ab31(0x245)][_0x49ab31(0x49f)](_0x1b00b5);break;case p[_0x49ab31(0x259)][_0x49ab31(0x492)]:this['_commentService'][_0x49ab31(0x4a8)](_0x1b00b5['data']),this[_0x49ab31(0x245)]['next'](_0x1b00b5);break;default:this['_event$'][_0x49ab31(0x49f)](_0x1b00b5);}}catch(_0x2ddcfa){this[_0x49ab31(0x328)]['error'](_0x2ddcfa,_0x49a672);}}['_onUserJoin'](_0x2ed97a){const _0x77e776=_0x29ff00;this['_memberService']['updateMember'](this[_0x77e776(0x33d)],_0x2ed97a['data']);}[_0x29ff00(0x5d0)](_0x2db0da){const _0x426aa0=_0x29ff00;this[_0x426aa0(0x427)][_0x426aa0(0x578)](this[_0x426aa0(0x33d)],_0x2db0da[_0x426aa0(0x3eb)][_0x426aa0(0x35e)]);}async['send'](_0x2b7866,_0x9a8c54){const _0x4ed4a4=_0x29ff00;if(this[_0x4ed4a4(0x2ff)]!==0x3||!this[_0x4ed4a4(0x491)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x2b7866['eventID']===p['CollaborationEvent'][_0x4ed4a4(0x2c8)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x4ed4a4(0x353)](_0x2b7866)),this['_socket'][_0x4ed4a4(0x385)]({'cmd':G[_0x4ed4a4(0x514)],'routeKey':_0x9a8c54,'routeType':'','data':_0x2b7866});}catch(_0x2c8f81){this[_0x4ed4a4(0x328)][_0x4ed4a4(0x27a)](_0x2c8f81);}}['_scheduleCollaborationTimeoutTimer'](){const _0x10dbe9=_0x29ff00;var _0x3dc40d;this[_0x10dbe9(0x497)]=window[_0x10dbe9(0x34a)](()=>{const _0x3e0b8b=_0x10dbe9;this[_0x3e0b8b(0x497)]=null,this[_0x3e0b8b(0x47e)][_0x3e0b8b(0x318)]({'type':Ce[_0x3e0b8b(0x506)][_0x3e0b8b(0x341)],'content':this['_localeService']['t']('session.collaboration-timeout')});},(_0x3dc40d=this[_0x10dbe9(0x4ea)][_0x10dbe9(0x1ea)](Et))!=null?_0x3dc40d:oi);}[_0x29ff00(0x50e)](){this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x29ff00(0x353)](_0x356198){const _0x524f9a=_0x29ff00;if(!this[_0x524f9a(0x47d)])return;const {data:_0x243d8e}=_0x356198,{unitID:_0x4286d7,changeset:_0x13e74b}=_0x243d8e,{mutations:_0x32eb48,type:_0x447499}=_0x13e74b;this[_0x524f9a(0x296)]={'unitId':_0x4286d7,'type':_0x447499,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':rn(_0x32eb48)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x11a1f6=_0x29ff00;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x11a1f6(0x328)]['error']('[CollaborationSession]',_0x11a1f6(0x571));return;}this[_0x11a1f6(0x296)][_0x11a1f6(0x3a8)]=performance['now'](),this[_0x11a1f6(0x296)][_0x11a1f6(0x24f)]=this[_0x11a1f6(0x296)][_0x11a1f6(0x3a8)]-this['_telemetryInfo'][_0x11a1f6(0x524)],this[_0x11a1f6(0x283)]['capture'](sn,this[_0x11a1f6(0x296)]),this[_0x11a1f6(0x296)]=null;}}[_0x29ff00(0x363)](){const _0x742a10=_0x29ff00;this[_0x742a10(0x296)]=null;}},exports['CollaborationSession']=un([de(0x2,a[_0x29ff00(0x4ac)]),de(0x3,te['IBeforeCloseService']),de(0x4,te['IMessageService']),de(0x5,a[_0x29ff00(0x64d)]),de(0x6,a[_0x29ff00(0x493)](a[_0x29ff00(0x430)])),de(0x7,a[_0x29ff00(0x493)](exports[_0x29ff00(0x1d6)])),de(0x8,a[_0x29ff00(0x493)](Rt)),de(0x9,a[_0x29ff00(0x437)](Hi[_0x29ff00(0x1e9)]))],exports['CollaborationSession']);var dn=Object['defineProperty'],fn=Object[_0x29ff00(0x316)],vn=(_0x5aee8c,_0x4ad513,_0x4af432,_0x2db095)=>{for(var _0x48e29e=_0x2db095>0x1?void 0x0:_0x2db095?fn(_0x4ad513,_0x4af432):_0x4ad513,_0x13d8bf=_0x5aee8c['length']-0x1,_0x53fff8;_0x13d8bf>=0x0;_0x13d8bf--)(_0x53fff8=_0x5aee8c[_0x13d8bf])&&(_0x48e29e=(_0x2db095?_0x53fff8(_0x4ad513,_0x4af432,_0x48e29e):_0x53fff8(_0x48e29e))||_0x48e29e);return _0x2db095&&_0x48e29e&&dn(_0x4ad513,_0x4af432,_0x48e29e),_0x48e29e;},pe=(_0x3d2753,_0xc51ae3)=>(_0x180548,_0x2069b5)=>_0xc51ae3(_0x180548,_0x2069b5,_0x3d2753);exports[_0x29ff00(0x5ea)]=class extends a[_0x29ff00(0x331)]{constructor(_0x1b4857,_0x50e375,_0x18415c,_0x33f16f,_0x2a129b,_0x2e8605,_0x4bea1e){const _0x2288fe=_0x29ff00;super(),I(this,'_socket$',new A[(_0x2288fe(0x26c))](void 0x0)),I(this,_0x2288fe(0x39e),this[_0x2288fe(0x337)][_0x2288fe(0x4c6)]()),I(this,'_candidateSocket',null),I(this,'_sessions',new Map()),I(this,_0x2288fe(0x1f8),new A['BehaviorSubject'](se[_0x2288fe(0x281)])),I(this,_0x2288fe(0x405),this['_status$'][_0x2288fe(0x4c6)]()),I(this,_0x2288fe(0x21a),!0x1),I(this,'_retryConnectingTimer'),I(this,_0x2288fe(0x62f),0x0),I(this,_0x2288fe(0x25f)),I(this,_0x2288fe(0x622)),(this[_0x2288fe(0x1c1)]=_0x1b4857,this[_0x2288fe(0x20f)]=_0x50e375,this[_0x2288fe(0x47e)]=_0x18415c,this['_logService']=_0x33f16f,this[_0x2288fe(0x4ea)]=_0x2a129b,this[_0x2288fe(0x292)]=_0x2e8605,this[_0x2288fe(0x620)]=_0x4bea1e,this[_0x2288fe(0x4d5)]());}get['_socket'](){const _0x2cdee6=_0x29ff00;return this[_0x2cdee6(0x337)][_0x2cdee6(0x42e)]();}[_0x29ff00(0x4d5)](){const _0x4ff15f=_0x29ff00;this['_listenToOfflineEvent'](),this[_0x4ff15f(0x32d)]();}[_0x29ff00(0x5e6)](){const _0x3d41c4=_0x29ff00;super[_0x3d41c4(0x5e6)](),this[_0x3d41c4(0x2b7)][_0x3d41c4(0x3a1)](_0x183f82=>_0x183f82[_0x3d41c4(0x5e6)]()),this[_0x3d41c4(0x2b7)][_0x3d41c4(0x641)](),this[_0x3d41c4(0x1f8)][_0x3d41c4(0x22e)]();}async[_0x29ff00(0x429)](_0x5d478d){const _0xe921e8=_0x29ff00;if(this['_sessions']['has'](_0x5d478d))return this[_0xe921e8(0x2b7)][_0xe921e8(0x2ef)](_0x5d478d);this[_0xe921e8(0x513)]();const _0x81c15b=this['_injector']['createInstance'](exports[_0xe921e8(0x679)],_0x5d478d,this[_0xe921e8(0x337)][_0xe921e8(0x4c6)]());return this[_0xe921e8(0x2b7)][_0xe921e8(0x20a)](_0x5d478d,_0x81c15b),_0x81c15b;}[_0x29ff00(0x452)](_0x469f81){const _0x215a09=_0x29ff00;var _0x4be13f;const _0x3a2470=this['_sessions']['get'](_0x469f81);_0x3a2470&&(this['_sessions'][_0x215a09(0x3dc)](_0x469f81),_0x3a2470['close']()),this['_sessions'][_0x215a09(0x62a)]||(_0x4be13f=this[_0x215a09(0x491)])==null||_0x4be13f[_0x215a09(0x499)]();}[_0x29ff00(0x267)](){const _0x339a2a=_0x29ff00;this[_0x339a2a(0x62f)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x339a2a(0x5d2)]),this['_retryConnectingTimer']=null),this['_tryReconnect']();}async[_0x29ff00(0x434)](){const _0x5bba6e=_0x29ff00;var _0x3c75e7,_0x365ebc,_0x838ddb;const _0x35264c=this['_configService']['getConfig'](Q),_0x2ce67e=(_0x3c75e7=_0x35264c==null?void 0x0:_0x35264c[_0x5bba6e(0x27e)])!=null?_0x3c75e7:Gi;return(_0x838ddb=(_0x365ebc=(await this['_httpService'][_0x5bba6e(0x2ef)](_0x2ce67e,{'headers':{'Content-Type':_0x5bba6e(0x2bc)}}))[_0x5bba6e(0x55d)])==null?void 0x0:_0x365ebc[_0x5bba6e(0x352)])!=null?_0x838ddb:'';}['_createSocketURL'](_0x2cb635){const _0x1cc28b=_0x29ff00;var _0x18af17,_0x431eb7;const _0x257cf7=this[_0x1cc28b(0x4ea)][_0x1cc28b(0x1ea)](si),_0x574027=this[_0x1cc28b(0x4ea)][_0x1cc28b(0x1ea)](Q),_0xe221b8=(_0x431eb7=(_0x18af17=_0x574027==null?void 0x0:_0x574027[_0x1cc28b(0x50b)])!=null?_0x18af17:_0x257cf7)!=null?_0x431eb7:Vi,_0x319a42=new URL(_0xe221b8,window[_0x1cc28b(0x60d)][_0x1cc28b(0x655)]);return _0x319a42[_0x1cc28b(0x570)][_0x1cc28b(0x20a)](_0x1cc28b(0x528),_0x2cb635),_0x319a42['toString']();}async[_0x29ff00(0x3e8)](){const _0x40354a=_0x29ff00,_0x550578=await this['_getSessionTicket'](),_0x5e92e4=this[_0x40354a(0x327)](_0x550578),_0x45bc4f=this[_0x40354a(0x292)]['createSocket'](_0x5e92e4);return this['_candidateSocket']=_0x45bc4f,_0x45bc4f;}async[_0x29ff00(0x513)](){const _0x428971=_0x29ff00;var _0x5b9ad5,_0x38b98f;try{const _0x27484b=(_0x38b98f=(_0x5b9ad5=this[_0x428971(0x491)])!=null?_0x5b9ad5:this['_candidateSocket'])!=null?_0x38b98f:await this[_0x428971(0x3e8)]();if(_0x27484b){const _0x19d51b=_0x27484b[_0x428971(0x385)];_0x27484b[_0x428971(0x385)]=_0x3cfe83=>(this['_rescheduleHeartbeat'](),_0x19d51b[_0x428971(0x567)](_0x27484b,[_0x3cfe83])),_0x27484b['message$'][_0x428971(0x58f)](_0x2bf2e1=>this[_0x428971(0x399)](_0x27484b,_0x2bf2e1)),_0x27484b[_0x428971(0x1c3)][_0x428971(0x619)](V['take'](0x1))[_0x428971(0x58f)](_0x5f360a=>this['_logService'][_0x428971(0x27a)](_0x428971(0x5df),_0x5f360a)),_0x27484b['open$'][_0x428971(0x619)](V[_0x428971(0x3d7)](0x1))[_0x428971(0x58f)](()=>{const _0x3b4e3d=_0x428971;this[_0x3b4e3d(0x5e5)](_0x27484b);}),_0x27484b[_0x428971(0x642)]['pipe'](V[_0x428971(0x3d7)](0x1))[_0x428971(0x58f)](_0x5702d6=>{const _0x112ab9=_0x428971;this['_logService']['debug'](_0x112ab9(0x31d),'socket\x20close',_0x5702d6),this[_0x112ab9(0x614)]();});}}catch(_0x515c40){this[_0x428971(0x328)]['error'](_0x515c40),this[_0x428971(0x614)]();}}[_0x29ff00(0x5e5)](_0xccbcd2){const _0x51c870=_0x29ff00;this[_0x51c870(0x328)][_0x51c870(0x226)](_0x51c870(0x31d),_0x51c870(0x31c)),_0xccbcd2[_0x51c870(0x385)]({'cmd':G[_0x51c870(0x2ad)]}),this[_0x51c870(0x50d)]();}['_listenToOfflineEvent'](){const _0x46e64d=_0x29ff00;window[_0x46e64d(0x246)](_0x46e64d(0x4e0),()=>this[_0x46e64d(0x324)]());}[_0x29ff00(0x324)](){const _0x33d256=_0x29ff00;this[_0x33d256(0x21a)]=!0x1,this[_0x33d256(0x22c)]=null,this['_status$'][_0x33d256(0x49f)](se[_0x33d256(0x548)]),this[_0x33d256(0x337)][_0x33d256(0x49f)](null),this[_0x33d256(0x1b6)](),this['_clearHeartbeatTimer']();}[_0x29ff00(0x614)](){const _0x1e57dd=_0x29ff00;var _0x86cb2e;this[_0x1e57dd(0x324)](),this[_0x1e57dd(0x62f)]<((_0x86cb2e=this['_configService'][_0x1e57dd(0x1ea)](ai))!=null?_0x86cb2e:qi)?(this[_0x1e57dd(0x47e)][_0x1e57dd(0x318)]({'key':_0x1e57dd(0x589),'type':Ce['MessageType'][_0x1e57dd(0x390)],'content':this[_0x1e57dd(0x20f)]['t'](_0x1e57dd(0x443))}),this[_0x1e57dd(0x1c9)]()):this['_messageService'][_0x1e57dd(0x318)]({'key':_0x1e57dd(0x589),'type':Ce['MessageType'][_0x1e57dd(0x341)],'content':this['_localeService']['t'](_0x1e57dd(0x5b5))});}[_0x29ff00(0x32d)](){const _0x593243=_0x29ff00,_0x3adfbb=()=>{const _0x580388=_0x2f26;this[_0x580388(0x491)]||this[_0x580388(0x267)]();},_0x47d19b=()=>{const _0x36a2cc=_0x2f26;this['_socket']||document['visibilityState']===_0x36a2cc(0x30e)||this[_0x36a2cc(0x267)]();};window[_0x593243(0x246)](_0x593243(0x436),_0x3adfbb),document[_0x593243(0x246)](_0x593243(0x371),_0x47d19b);}['_tryReconnect'](){const _0x358106=_0x29ff00;var _0x31d9f6;const _0x5d33db=this[_0x358106(0x62f)],_0x227765=this[_0x358106(0x4ea)]['getConfig'](Q),_0x398337=_0x5d33db===0x0?0x0:((_0x31d9f6=_0x227765==null?void 0x0:_0x227765['retryConnectingInterval'])!=null?_0x31d9f6:Ki)*0x2**_0x5d33db;this['_retryConnectingTimer']=window[_0x358106(0x34a)](()=>{const _0x1f075d=_0x358106;clearTimeout(this[_0x1f075d(0x5d2)]),this[_0x1f075d(0x5d2)]=null,this[_0x1f075d(0x513)]();},_0x398337),this['_retryCount']+=0x1;}[_0x29ff00(0x399)](_0x3547ab,_0x5c7833){const _0x208a38=_0x29ff00,{cmd:_0x441177}=_0x5c7833;_0x441177===G['HELLO']&&!this[_0x208a38(0x21a)]&&(_0x3547ab[_0x208a38(0x35e)]=_0x5c7833[_0x208a38(0x3eb)][_0x208a38(0x35e)],this[_0x208a38(0x337)][_0x208a38(0x49f)](_0x3547ab),this[_0x208a38(0x1f8)]['next'](se[_0x208a38(0x572)]),this[_0x208a38(0x21a)]=!0x0,this[_0x208a38(0x22c)]=null),_0x441177===G[_0x208a38(0x5c6)]&&this[_0x208a38(0x1b6)](),this[_0x208a38(0x50d)]();}[_0x29ff00(0x50d)](){const _0x3b8240=_0x29ff00;var _0x4e1d88;this[_0x3b8240(0x1e6)](),this[_0x3b8240(0x25f)]=window[_0x3b8240(0x34a)](()=>this[_0x3b8240(0x422)](),(_0x4e1d88=this[_0x3b8240(0x4ea)][_0x3b8240(0x1ea)](ri))!=null?_0x4e1d88:Yi);}['_sendHeartbeat'](){const _0x2ae410=_0x29ff00;this[_0x2ae410(0x491)][_0x2ae410(0x385)]({'cmd':G['HEARTBEAT']}),this[_0x2ae410(0x3bf)]();}[_0x29ff00(0x3bf)](){const _0x96acf8=_0x29ff00;var _0x22b010;this[_0x96acf8(0x622)]=window[_0x96acf8(0x34a)](()=>this[_0x96acf8(0x614)](),(_0x22b010=this[_0x96acf8(0x4ea)][_0x96acf8(0x1ea)](Et))!=null?_0x22b010:oi);}['_clearHeartbeatTimer'](){const _0x204035=_0x29ff00;this[_0x204035(0x25f)]!=null&&(clearTimeout(this[_0x204035(0x25f)]),this[_0x204035(0x25f)]=null);}[_0x29ff00(0x1b6)](){const _0x5eaad4=_0x29ff00;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x5eaad4(0x622)]),this[_0x5eaad4(0x622)]=null);}},exports['CollaborationSessionService']=vn([pe(0x0,a['Inject'](a[_0x29ff00(0x615)])),pe(0x1,a[_0x29ff00(0x493)](a[_0x29ff00(0x430)])),pe(0x2,te[_0x29ff00(0x47f)]),pe(0x3,a[_0x29ff00(0x4ac)]),pe(0x4,a[_0x29ff00(0x64d)]),pe(0x5,Tt),pe(0x6,a[_0x29ff00(0x493)](z[_0x29ff00(0x1be)]))],exports[_0x29ff00(0x5ea)]);const Y=[];for(let s=0x0;s<0x100;++s)Y[_0x29ff00(0x3bc)]((s+0x100)[_0x29ff00(0x3ef)](0x10)[_0x29ff00(0x3bb)](0x1));function Sn(_0x45d725,_0x4b54aa=0x0){return(Y[_0x45d725[_0x4b54aa+0x0]]+Y[_0x45d725[_0x4b54aa+0x1]]+Y[_0x45d725[_0x4b54aa+0x2]]+Y[_0x45d725[_0x4b54aa+0x3]]+'-'+Y[_0x45d725[_0x4b54aa+0x4]]+Y[_0x45d725[_0x4b54aa+0x5]]+'-'+Y[_0x45d725[_0x4b54aa+0x6]]+Y[_0x45d725[_0x4b54aa+0x7]]+'-'+Y[_0x45d725[_0x4b54aa+0x8]]+Y[_0x45d725[_0x4b54aa+0x9]]+'-'+Y[_0x45d725[_0x4b54aa+0xa]]+Y[_0x45d725[_0x4b54aa+0xb]]+Y[_0x45d725[_0x4b54aa+0xc]]+Y[_0x45d725[_0x4b54aa+0xd]]+Y[_0x45d725[_0x4b54aa+0xe]]+Y[_0x45d725[_0x4b54aa+0xf]])['toLowerCase']();}let Ze;const pn=new Uint8Array(0x10);function mn(){const _0xbe7b43=_0x29ff00;if(!Ze){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0xbe7b43(0x2e7));Ze=crypto['getRandomValues'][_0xbe7b43(0x4da)](crypto);}return Ze(pn);}const gn=typeof crypto<'u'&&crypto[_0x29ff00(0x540)]&&crypto[_0x29ff00(0x540)][_0x29ff00(0x4da)](crypto),Nt={'randomUUID':gn};function In(_0x366a00,_0x4ccf8b,_0x596d03){const _0x5ad740=_0x29ff00;if(Nt[_0x5ad740(0x540)]&&!_0x4ccf8b&&!_0x366a00)return Nt[_0x5ad740(0x540)]();_0x366a00=_0x366a00||{};const _0x1e7084=_0x366a00[_0x5ad740(0x581)]||(_0x366a00[_0x5ad740(0x5ff)]||mn)();return _0x1e7084[0x6]=_0x1e7084[0x6]&0xf|0x40,_0x1e7084[0x8]=_0x1e7084[0x8]&0x3f|0x80,Sn(_0x1e7084);}var Cn=Object['defineProperty'],En=Object[_0x29ff00(0x316)],bn=(_0x4093bf,_0x4e4a52,_0x364531,_0x3f95f3)=>{const _0x1d0b5d=_0x29ff00;for(var _0x263812=_0x3f95f3>0x1?void 0x0:_0x3f95f3?En(_0x4e4a52,_0x364531):_0x4e4a52,_0xa4a62=_0x4093bf[_0x1d0b5d(0x5e7)]-0x1,_0x15b905;_0xa4a62>=0x0;_0xa4a62--)(_0x15b905=_0x4093bf[_0xa4a62])&&(_0x263812=(_0x3f95f3?_0x15b905(_0x4e4a52,_0x364531,_0x263812):_0x15b905(_0x263812))||_0x263812);return _0x3f95f3&&_0x263812&&Cn(_0x4e4a52,_0x364531,_0x263812),_0x263812;},Qe=(_0x1fa657,_0x51b8ff)=>(_0x44c807,_0x29ea4e)=>_0x51b8ff(_0x44c807,_0x29ea4e,_0x1fa657);let Be=class{constructor(_0x2e6edf,_0x9d7171,_0x3baa1a){const _0x2171c7=_0x29ff00;this[_0x2171c7(0x1c1)]=_0x2e6edf,this[_0x2171c7(0x449)]=_0x9d7171,this[_0x2171c7(0x4bc)]=_0x3baa1a;}[_0x29ff00(0x350)](_0x309981){const _0x5d4e85=_0x29ff00;this[_0x5d4e85(0x273)](_0x309981),this[_0x5d4e85(0x469)](_0x309981);}['transformRemoteChangeset'](_0x69e750){const _0x52d778=_0x29ff00,{unitID:_0x2295a1}=_0x69e750,_0xa657b1=this[_0x52d778(0x4bc)][_0x52d778(0x40c)](_0x2295a1)[_0x52d778(0x314)](J[_0x52d778(0x320)]),{redoCache:_0x3ab822}=_0xa657b1[_0x52d778(0x1fc)]();if(_0x3ab822[_0x52d778(0x5e7)]===0x0)return _0x69e750;let _0x42b173=a[_0x52d778(0x302)]['deepClone'](_0x69e750['mutations'][0x0]);for(let _0x527c08=0x0;_0x527c08<_0x3ab822[_0x52d778(0x5e7)];_0x527c08++){const _0x13e910={'id':_0x52d778(0x356),'params':{..._0x3ab822[_0x527c08]}},_0x2d62a8=this[_0x52d778(0x449)][_0x52d778(0x43c)](_0x42b173,_0x13e910,!0x1);if(p[_0x52d778(0x4b4)](_0x2d62a8))throw _0x2d62a8[_0x52d778(0x27a)];_0x42b173=_0x2d62a8[_0x52d778(0x475)];}return{...a[_0x52d778(0x302)][_0x52d778(0x64e)](_0x69e750),'mutations':[_0x42b173]};}[_0x29ff00(0x273)](_0x1943bb){const _0x1a5d2d=_0x29ff00,{unitID:_0x2640c7}=_0x1943bb,_0x17aa59=this[_0x1a5d2d(0x4bc)]['getRenderById'](_0x2640c7)[_0x1a5d2d(0x314)](J[_0x1a5d2d(0x320)]),{undoCache:_0x56cd42,redoCache:_0x2d2eb4}=_0x17aa59[_0x1a5d2d(0x1fc)]();if(_0x56cd42[_0x1a5d2d(0x5e7)]===0x0||_0x2d2eb4['length']===0x0)return;const _0xeda61e=[],_0x180734=[];let _0xf77d9d=a[_0x1a5d2d(0x302)][_0x1a5d2d(0x64e)](_0x1943bb[_0x1a5d2d(0x219)][0x0]),_0x51c98d=a['Tools'][_0x1a5d2d(0x64e)](_0x1943bb['mutations'][0x0]);for(let _0x2b0943=_0x56cd42[_0x1a5d2d(0x5e7)]-0x1;_0x2b0943>=0x0;_0x2b0943--){const _0x5274fc={'id':'doc.mutation.rich-text-editing','params':{..._0x56cd42[_0x2b0943]}},_0x346fd6={'id':_0x1a5d2d(0x356),'params':{..._0x2d2eb4[_0x2b0943]}},_0x483e33=this[_0x1a5d2d(0x449)][_0x1a5d2d(0x43c)](_0xf77d9d,_0x5274fc,!0x1),_0x64f0c6=this[_0x1a5d2d(0x449)]['transformMutation'](_0x51c98d,_0x346fd6,!0x1);if(p[_0x1a5d2d(0x4b4)](_0x483e33))throw _0x483e33[_0x1a5d2d(0x27a)];if(p['isTransformMutationFailure'](_0x64f0c6))throw _0x64f0c6[_0x1a5d2d(0x27a)];_0xeda61e['unshift'](_0x483e33['m2Prime'][_0x1a5d2d(0x447)]),_0x180734[_0x1a5d2d(0x24b)](_0x64f0c6[_0x1a5d2d(0x239)]['params']),_0xf77d9d=_0x483e33[_0x1a5d2d(0x475)],_0x51c98d=_0x64f0c6[_0x1a5d2d(0x475)];}_0x17aa59[_0x1a5d2d(0x38a)]({'undoCache':_0xeda61e,'redoCache':_0x180734});}[_0x29ff00(0x469)](_0x5122c9){const _0x14379e=_0x29ff00,{unitID:_0x1f16af}=_0x5122c9,_0x18d308=this['_renderManagerService']['getRenderById'](_0x1f16af)[_0x14379e(0x314)](J[_0x14379e(0x320)]),_0x2991fe=_0x18d308[_0x14379e(0x32b)]();if(_0x2991fe==null)return;const _0x8eeca7=[{'id':_0x14379e(0x356),'params':{'unitId':_0x5122c9['unitID'],'actions':null,'textRanges':[_0x2991fe]}}],_0x444d11=this[_0x14379e(0x449)][_0x14379e(0x268)](_0x5122c9,_0x8eeca7);if(!p['isTransformMutationsWithChangesetSuccess'](_0x444d11))throw _0x444d11[_0x14379e(0x27a)];const _0x483af9=_0x444d11[_0x14379e(0x239)][0x0][_0x14379e(0x447)][_0x14379e(0x49e)];Array[_0x14379e(0x400)](_0x483af9)&&_0x483af9[_0x14379e(0x5e7)]&&_0x18d308[_0x14379e(0x393)](_0x483af9[0x0]);}};Be=bn([Qe(0x0,a[_0x29ff00(0x493)](a['Injector'])),Qe(0x1,p[_0x29ff00(0x38f)]),Qe(0x2,K[_0x29ff00(0x5b7)])],Be);var Tn=Object[_0x29ff00(0x64a)],Rn=Object[_0x29ff00(0x316)],yn=(_0xd576ab,_0x397981,_0x31cd4b,_0x3449bd)=>{const _0x42ccc0=_0x29ff00;for(var _0x12630f=_0x3449bd>0x1?void 0x0:_0x3449bd?Rn(_0x397981,_0x31cd4b):_0x397981,_0x5daa2c=_0xd576ab[_0x42ccc0(0x5e7)]-0x1,_0x43faeb;_0x5daa2c>=0x0;_0x5daa2c--)(_0x43faeb=_0xd576ab[_0x5daa2c])&&(_0x12630f=(_0x3449bd?_0x43faeb(_0x397981,_0x31cd4b,_0x12630f):_0x43faeb(_0x12630f))||_0x12630f);return _0x3449bd&&_0x12630f&&Tn(_0x397981,_0x31cd4b,_0x12630f),_0x12630f;},we=(_0x3b30af,_0x305e30)=>(_0x4d6aea,_0x27dff5)=>_0x305e30(_0x4d6aea,_0x27dff5,_0x3b30af);exports[_0x29ff00(0x46a)]=class extends a[_0x29ff00(0x331)]{constructor(_0xf891fb,_0x13de26,_0xda5b12,_0x2f6290,_0x576c91){const _0x5cba76=_0x29ff00;super(),I(this,_0x5cba76(0x656),new Map()),I(this,_0x5cba76(0x233),new Map()),I(this,'_disabled',!0x1),(this['_configService']=_0xf891fb,this['_localStorageService']=_0x13de26,this[_0x5cba76(0x1c0)]=_0xda5b12,this['_localeService']=_0x2f6290,this[_0x5cba76(0x2a8)]=_0x576c91,this[_0x5cba76(0x637)]());}[_0x29ff00(0x2d9)](){const _0x4c117c=_0x29ff00;this[_0x4c117c(0x1f2)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}[_0x29ff00(0x5e6)](){const _0x125a45=_0x29ff00;this[_0x125a45(0x312)]()['then'](()=>super[_0x125a45(0x5e6)]());}async[_0x29ff00(0x26d)](_0x26e995){const _0x102fee=_0x29ff00;return this[_0x102fee(0x1f2)]?null:this[_0x102fee(0x254)][_0x102fee(0x62e)](Lt(_0x26e995));}async[_0x29ff00(0x5c2)](_0x5b80ce,_0x251968){const _0x4a2737=_0x29ff00;return!!this[_0x4a2737(0x254)][_0x4a2737(0x28e)](_0x5b80ce,_0x251968);}['updateOfflineData'](_0x2411d4,_0x4da575,_0x2ba78c,_0x501a90){const _0x5f5c9c=_0x29ff00,_0x4cc35a=this[_0x5f5c9c(0x2a8)][_0x5f5c9c(0x309)](_0x2411d4);this[_0x5f5c9c(0x656)][_0x5f5c9c(0x20a)](_0x2411d4,{'unitID':_0x2411d4,'type':_0x4da575,'awaitingChangeset':_0x2ba78c,'mutations':_0x501a90,'rev':_0x4cc35a}),this['_saveTaskMap'][_0x5f5c9c(0x38d)](_0x2411d4)||this[_0x5f5c9c(0x5a5)](_0x2411d4);}[_0x29ff00(0x5a5)](_0x172202){const _0x447864=_0x29ff00,_0x5e1bd3=this[_0x447864(0x5f7)]();_0x5e1bd3===0x0?this[_0x447864(0x25a)](_0x172202):this['_saveTaskMap'][_0x447864(0x20a)](_0x172202,setTimeout(()=>this[_0x447864(0x25a)](_0x172202),_0x5e1bd3));}[_0x29ff00(0x5f7)](){const _0x52c798=_0x29ff00;var _0x47672d;return(_0x47672d=this[_0x52c798(0x4ea)][_0x52c798(0x1ea)](ci))!=null?_0x47672d:zi;}[_0x29ff00(0x25a)](_0x2efd93){const _0x4c1407=_0x29ff00,_0x3662e8=this[_0x4c1407(0x233)][_0x4c1407(0x2ef)](_0x2efd93);return _0x3662e8!==void 0x0&&window[_0x4c1407(0x453)](_0x3662e8),this['_localStorageService'][_0x4c1407(0x28e)](Lt(_0x2efd93),this[_0x4c1407(0x656)][_0x4c1407(0x2ef)](_0x2efd93))[_0x4c1407(0x5bf)](()=>this[_0x4c1407(0x233)][_0x4c1407(0x3dc)](_0x2efd93));}async[_0x29ff00(0x312)](){const _0x1a870d=_0x29ff00,_0x1c9cf8=[];this[_0x1a870d(0x233)][_0x1a870d(0x3a1)]((_0xfbc44d,_0x1cea38)=>{const _0x3d971f=_0x1a870d;window['clearTimeout'](_0xfbc44d),_0x1c9cf8[_0x3d971f(0x3bc)](this['_saveCache'](_0x1cea38)[_0x3d971f(0x5bf)](()=>{const _0x337ceb=_0x3d971f;this[_0x337ceb(0x233)][_0x337ceb(0x3dc)](_0x1cea38);}));}),await Promise[_0x1a870d(0x307)](_0x1c9cf8);}[_0x29ff00(0x637)](){const _0x3c28c8=_0x29ff00;this[_0x3c28c8(0x665)](this['_beforeCloseService'][_0x3c28c8(0x3f9)](()=>{const _0x4c6727=_0x3c28c8;if(this[_0x4c6727(0x233)][_0x4c6727(0x62a)])return this[_0x4c6727(0x20f)]['t'](_0x4c6727(0x3ac));}));}},exports[_0x29ff00(0x46a)]=yn([we(0x0,a[_0x29ff00(0x64d)]),we(0x1,a[_0x29ff00(0x43a)]),we(0x2,te[_0x29ff00(0x670)]),we(0x3,a[_0x29ff00(0x493)](a['LocaleService'])),we(0x4,a[_0x29ff00(0x493)](p[_0x29ff00(0x59a)]))],exports[_0x29ff00(0x46a)]);function Lt(_0x1f8859){const _0x20cb22=_0x29ff00;return _0x20cb22(0x43f)+_0x1f8859;}var On=Object[_0x29ff00(0x64a)],Dn=Object[_0x29ff00(0x316)],Pn=(_0x290510,_0x5bdc46,_0x527a49,_0x3a30cf)=>{for(var _0x13f376=_0x3a30cf>0x1?void 0x0:_0x3a30cf?Dn(_0x5bdc46,_0x527a49):_0x5bdc46,_0x1953f6=_0x290510['length']-0x1,_0x4e8705;_0x1953f6>=0x0;_0x1953f6--)(_0x4e8705=_0x290510[_0x1953f6])&&(_0x13f376=(_0x3a30cf?_0x4e8705(_0x5bdc46,_0x527a49,_0x13f376):_0x4e8705(_0x13f376))||_0x13f376);return _0x3a30cf&&_0x13f376&&On(_0x5bdc46,_0x527a49,_0x13f376),_0x13f376;},et=(_0x4776bf,_0x50d005)=>(_0x531141,_0x1a1ba6)=>_0x50d005(_0x531141,_0x1a1ba6,_0x4776bf);function wn(_0x4c1c6a){const {unitID:_0x2e6953,mutations:_0x543334}=_0x4c1c6a;return{'unitId':_0x2e6953,'subUnitId':_0x543334[0x0]['params']['subUnitId']};}let ke=class{constructor(_0x5857dc,_0x27485d,_0x16c2d7){const _0x21c029=_0x29ff00;this[_0x21c029(0x1c1)]=_0x5857dc,this[_0x21c029(0x449)]=_0x27485d,this[_0x21c029(0x4a1)]=_0x16c2d7;}[_0x29ff00(0x2c1)](_0x41ff13){const _0x3fea0e=_0x29ff00;var _0x100d03,_0x5e9b70,_0x1ffcb1,_0x592413;const _0x469e7f=this[_0x3fea0e(0x1c1)][_0x3fea0e(0x2ef)](k[_0x3fea0e(0x210)]),{unitId:_0x18d056,subUnitId:_0x2b88c9}=wn(_0x41ff13),_0x301c97=_0x469e7f['getWorkbookSelections'](_0x18d056)[_0x3fea0e(0x5d6)](),_0x3a0bc7=(_0x5e9b70=(_0x100d03=this['_instanceService'][_0x3fea0e(0x3ad)](_0x18d056))==null?void 0x0:_0x100d03[_0x3fea0e(0x42c)]())==null?void 0x0:_0x5e9b70[_0x3fea0e(0x360)]();if(_0x301c97[_0x3fea0e(0x5e7)]===0x0||!_0x18d056||!_0x2b88c9)return;const _0x35de81=[{'id':k[_0x3fea0e(0x23f)]['id'],'params':{'unitId':_0x18d056,'subUnitId':_0x3a0bc7,'selections':a[_0x3fea0e(0x302)][_0x3fea0e(0x64e)](_0x301c97)}}],_0x2f6447=this['_transformService'][_0x3fea0e(0x268)](_0x41ff13,_0x35de81);if(!p['isTransformMutationsWithChangesetSuccess'](_0x2f6447))throw _0x2f6447['error'];const _0x11955a=(_0x592413=(_0x1ffcb1=_0x2f6447['m2Prime'][0x0])==null?void 0x0:_0x1ffcb1[_0x3fea0e(0x447)])==null?void 0x0:_0x592413[_0x3fea0e(0x338)];if(Array[_0x3fea0e(0x400)](_0x11955a)&&_0x11955a[_0x3fea0e(0x5e7)]){if(_0x11955a[_0x3fea0e(0x5e7)]===_0x35de81[0x0][_0x3fea0e(0x447)][_0x3fea0e(0x338)][_0x3fea0e(0x5e7)]&&_0x11955a[_0x3fea0e(0x332)]((_0x36400f,_0x16bacb)=>a[_0x3fea0e(0x5a6)]['equals'](_0x36400f[_0x3fea0e(0x3ff)],_0x35de81[0x0]['params']['selections'][_0x16bacb][_0x3fea0e(0x3ff)])))return;this['_injector'][_0x3fea0e(0x2ef)](a[_0x3fea0e(0x587)])['executeCommand'](k[_0x3fea0e(0x23f)]['id'],{'unitId':_0x18d056,'subUnitId':_0x3a0bc7,'selections':_0x11955a});}}};ke=Pn([et(0x0,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),et(0x1,p[_0x29ff00(0x38f)]),et(0x2,a[_0x29ff00(0x37f)])],ke);const ze=a['createIdentifier'](_0x29ff00(0x230));var vi=(_0x39fef5=>(_0x39fef5[_0x39fef5['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x29ff00(0x27d),_0x39fef5[_0x39fef5['OTHER_CLIENTS_EDITING']=0x1]=_0x29ff00(0x574),_0x39fef5))(vi||{});const xt=0x7530,jt='ACTIVE_UNIT_EVENT_CHANNEL';class Un extends a['Disposable']{constructor(){const _0x119cb6=_0x29ff00;super(),I(this,_0x119cb6(0x1e1),a['Tools'][_0x119cb6(0x512)]()),I(this,_0x119cb6(0x4d7),new Set()),I(this,_0x119cb6(0x57c),new Map()),I(this,_0x119cb6(0x3ba),null),I(this,'_clearOtherTimers',new Map()),I(this,_0x119cb6(0x5fc),new Map()),this['_init']();}[_0x29ff00(0x5e6)](){const _0x508635=_0x29ff00;super[_0x508635(0x5e6)](),this[_0x508635(0x66c)]['forEach']((_0x58f607,_0x3d1557)=>this[_0x508635(0x209)](_0x3d1557)),this[_0x508635(0x3ba)]&&window[_0x508635(0x634)](this[_0x508635(0x3ba)]);}[_0x29ff00(0x1ff)](_0x36b855){const _0xbba253=_0x29ff00;return this[_0xbba253(0x4a9)](_0x36b855)[_0xbba253(0x619)](A[_0xbba253(0x484)]());}[_0x29ff00(0x607)](_0x51afed){const _0x10754d=_0x29ff00;this[_0x10754d(0x4d7)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x10754d(0x4d7)]['add'](_0x51afed),this[_0x10754d(0x2aa)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x51afed],'isForwarded':!0x1});}[_0x29ff00(0x270)](_0x13c5cf){const _0x542361=_0x29ff00;this[_0x542361(0x4d7)][_0x542361(0x3dc)](_0x13c5cf),this['_selfUnitIDs'][_0x542361(0x62a)]===0x0&&this[_0x542361(0x3ba)]&&window[_0x542361(0x634)](this[_0x542361(0x3ba)]);}['_init'](){const _0xffb28a=_0x29ff00;this[_0xffb28a(0x665)](a[_0xffb28a(0x372)](A[_0xffb28a(0x61c)](window,'storage')[_0xffb28a(0x58f)](_0x57b045=>{const _0x54f6a1=_0xffb28a;if(_0x57b045[_0x54f6a1(0x425)]!==jt||!_0x57b045[_0x54f6a1(0x67e)])return;const _0x1f9798=JSON[_0x54f6a1(0x1c4)](_0x57b045[_0x54f6a1(0x67e)]);this[_0x54f6a1(0x1c2)](_0x1f9798);}))),window[_0xffb28a(0x246)]('unload',()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0xffb28a(0x4e3)](this[_0xffb28a(0x4d7)])}));}[_0x29ff00(0x1c2)](_0x2a0aa1){const _0x3705dd=_0x29ff00;switch(_0x2a0aa1[_0x3705dd(0x2eb)]){case 0x0:this['_handleJoinEvent'](_0x2a0aa1);break;case 0x1:this[_0x3705dd(0x4d4)](_0x2a0aa1);break;case 0x2:this[_0x3705dd(0x457)](_0x2a0aa1);break;}}['_handleJoinEvent'](_0x72f7a0){const {unitIDs:_0x7b4deb,memberID:_0x23ec5e,isForwarded:_0x27dd86}=_0x72f7a0;_0x7b4deb['forEach'](_0x9a5603=>{const _0x23cb52=_0x2f26;if(!_0x27dd86&&this[_0x23cb52(0x57c)][_0x23cb52(0x38d)](_0x9a5603)&&this[_0x23cb52(0x4a9)](_0x9a5603)['next'](0x1),!this[_0x23cb52(0x57c)][_0x23cb52(0x38d)](_0x9a5603)||!this[_0x23cb52(0x57c)][_0x23cb52(0x2ef)](_0x9a5603)[_0x23cb52(0x38d)](_0x23ec5e)){const _0x5c0d34=this['_unitOnClients'][_0x23cb52(0x2ef)](_0x9a5603)||new Set();_0x5c0d34['add'](_0x23ec5e),this[_0x23cb52(0x57c)][_0x23cb52(0x20a)](_0x9a5603,_0x5c0d34),this['_scheduleClearOtherTimer'](_0x23ec5e);}}),_0x27dd86||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x29ff00(0x24d)](_0x1fd227){const _0x17f71f=_0x29ff00;this[_0x17f71f(0x209)](_0x1fd227);const _0x5ebdf7=window[_0x17f71f(0x34a)](()=>{const _0x56cdef=_0x17f71f;this[_0x56cdef(0x57c)][_0x56cdef(0x3a1)](_0x15e089=>{const _0x245477=_0x56cdef;_0x15e089[_0x245477(0x3dc)](_0x1fd227);});},xt*0x2);this['_clearOtherTimers'][_0x17f71f(0x20a)](_0x1fd227,_0x5ebdf7);}[_0x29ff00(0x209)](_0x3fd807){const _0x4aeef9=_0x29ff00;if(this[_0x4aeef9(0x66c)][_0x4aeef9(0x38d)](_0x3fd807)){const _0x2a4d7e=this[_0x4aeef9(0x66c)][_0x4aeef9(0x2ef)](_0x3fd807);_0x2a4d7e&&window[_0x4aeef9(0x453)](_0x2a4d7e),this[_0x4aeef9(0x66c)][_0x4aeef9(0x20a)](_0x3fd807,null);}}[_0x29ff00(0x4d4)](_0x5d91e7){const _0x20ae62=_0x29ff00,{memberID:_0x1239ab,unitIDs:_0x110a81}=_0x5d91e7;_0x110a81[_0x20ae62(0x3a1)](_0x117d90=>{const _0x21cb8d=_0x20ae62;var _0x43429b;const _0x4fde8d=this['_unitOnClients'][_0x21cb8d(0x2ef)](_0x117d90);_0x4fde8d&&(_0x4fde8d[_0x21cb8d(0x3dc)](_0x1239ab),(_0x43429b=this['_ensureSubject'](_0x117d90))==null||_0x43429b[_0x21cb8d(0x49f)](_0x4fde8d[_0x21cb8d(0x62a)]===0x0?0x0:0x1));}),this[_0x20ae62(0x209)](_0x1239ab);}['_handleHeartbeatEvent'](_0x4adb85){const _0x3a106b=_0x29ff00;this[_0x3a106b(0x24d)](_0x4adb85[_0x3a106b(0x35e)]);}[_0x29ff00(0x2aa)](_0x4e96df){const _0x4f16a1=_0x29ff00;localStorage[_0x4f16a1(0x28e)](jt,JSON[_0x4f16a1(0x65e)](_0x4e96df));}[_0x29ff00(0x610)](){const _0x4f5d35=_0x29ff00;this[_0x4f5d35(0x3ba)]=window[_0x4f5d35(0x2de)](()=>{const _0x49f8ab=_0x4f5d35;this[_0x49f8ab(0x2aa)]({'type':0x2,'memberID':this[_0x49f8ab(0x1e1)]});},xt);}['_ensureSubject'](_0x43b522){const _0x3f99a5=_0x29ff00;return this['_unitStatus']['has'](_0x43b522)||this['_unitStatus'][_0x3f99a5(0x20a)](_0x43b522,new A[(_0x3f99a5(0x26c))](0x0)),this[_0x3f99a5(0x5fc)][_0x3f99a5(0x2ef)](_0x43b522);}}var Mn=Object[_0x29ff00(0x64a)],An=Object['getOwnPropertyDescriptor'],Nn=(_0x411315,_0x2ef8d2,_0x3d5b05,_0x3b8c67)=>{const _0x4711b1=_0x29ff00;for(var _0x23c6a0=_0x3b8c67>0x1?void 0x0:_0x3b8c67?An(_0x2ef8d2,_0x3d5b05):_0x2ef8d2,_0x33c498=_0x411315[_0x4711b1(0x5e7)]-0x1,_0x85cd2f;_0x33c498>=0x0;_0x33c498--)(_0x85cd2f=_0x411315[_0x33c498])&&(_0x23c6a0=(_0x3b8c67?_0x85cd2f(_0x2ef8d2,_0x3d5b05,_0x23c6a0):_0x85cd2f(_0x23c6a0))||_0x23c6a0);return _0x3b8c67&&_0x23c6a0&&Mn(_0x2ef8d2,_0x3d5b05,_0x23c6a0),_0x23c6a0;},tt=(_0x54ed15,_0x5c6552)=>(_0x1bc32a,_0x2736e1)=>_0x5c6552(_0x1bc32a,_0x2736e1,_0x54ed15);let We=class{constructor(_0x413ab4,_0x1d58c9,_0x206033){const _0x4f71f7=_0x29ff00;this['_injector']=_0x413ab4,this[_0x4f71f7(0x449)]=_0x1d58c9,this[_0x4f71f7(0x1cc)]=_0x206033;}['transformStateCache'](_0x9782c6){const _0x21a298=_0x29ff00;this[_0x21a298(0x4b6)](_0x9782c6);}[_0x29ff00(0x5ef)](_0x307627){const _0x4412b5=_0x29ff00,{unitID:_0x32f9f9}=_0x307627,{collaboration:_0x467b9d}=this[_0x4412b5(0x1cc)][_0x4412b5(0x66f)](_0x32f9f9);if(_0x467b9d['length']===0x0)return _0x307627;let _0x16d714=a[_0x4412b5(0x302)]['deepClone'](_0x307627['mutations'][0x0]);for(let _0x38d82c=0x0;_0x38d82c<_0x467b9d[_0x4412b5(0x5e7)];_0x38d82c++){const _0x2d5d54={'id':_0x4412b5(0x356),'params':{'unitId':_0x467b9d[_0x38d82c]['unitId'],..._0x467b9d[_0x38d82c][_0x4412b5(0x44f)]}},_0x290b5f=this[_0x4412b5(0x449)][_0x4412b5(0x43c)](_0x16d714,_0x2d5d54,!0x1);if(p[_0x4412b5(0x4b4)](_0x290b5f))throw _0x290b5f[_0x4412b5(0x27a)];_0x16d714=_0x290b5f[_0x4412b5(0x475)];}return{...a['Tools']['deepClone'](_0x307627),'mutations':[_0x16d714]};}[_0x29ff00(0x4b6)](_0xf20c1b){const _0x41359a=_0x29ff00,{unitID:_0x3147b4}=_0xf20c1b,{history:_0x2db7f4,collaboration:_0xc93e56}=this[_0x41359a(0x1cc)][_0x41359a(0x66f)](_0x3147b4);if(_0x2db7f4[_0x41359a(0x5e7)]===0x0&&_0xc93e56['length']===0x0)return;const _0x54b3cc=[],_0x177771=[];let _0x2d4dc2=a[_0x41359a(0x302)][_0x41359a(0x64e)](_0xf20c1b[_0x41359a(0x219)][0x0]),_0x1fa874=a[_0x41359a(0x302)][_0x41359a(0x64e)](_0xf20c1b[_0x41359a(0x219)][0x0]);for(let _0x12c113=_0x2db7f4[_0x41359a(0x5e7)]-0x1;_0x12c113>=0x0;_0x12c113--){const _0x2d940a={'id':_0x41359a(0x356),'params':{'unitId':_0x2db7f4[_0x12c113]['unitId'],..._0x2db7f4[_0x12c113][_0x41359a(0x1c8)]}},_0x23053a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2db7f4[_0x12c113][_0x41359a(0x21b)],..._0x2db7f4[_0x12c113][_0x41359a(0x44f)]}},_0x37eadf=this[_0x41359a(0x449)]['transformMutation'](_0x2d4dc2,_0x2d940a,!0x1),_0x57c1c8=this['_transformService'][_0x41359a(0x43c)](_0x1fa874,_0x23053a,!0x1);if(p[_0x41359a(0x4b4)](_0x37eadf))throw _0x37eadf[_0x41359a(0x27a)];if(p[_0x41359a(0x4b4)](_0x57c1c8))throw _0x57c1c8[_0x41359a(0x27a)];_0x54b3cc['unshift']({..._0x2db7f4[_0x12c113],'undoState':_0x37eadf[_0x41359a(0x239)][_0x41359a(0x447)],'redoState':_0x57c1c8[_0x41359a(0x239)][_0x41359a(0x447)]}),_0x2d4dc2=_0x37eadf[_0x41359a(0x475)],_0x1fa874=_0x57c1c8[_0x41359a(0x475)];}_0x2d4dc2=a[_0x41359a(0x302)][_0x41359a(0x64e)](_0xf20c1b[_0x41359a(0x219)][0x0]),_0x1fa874=a[_0x41359a(0x302)][_0x41359a(0x64e)](_0xf20c1b[_0x41359a(0x219)][0x0]);for(let _0x4cd462=_0xc93e56['length']-0x1;_0x4cd462>=0x0;_0x4cd462--){const _0x5d6715={'id':_0x41359a(0x356),'params':{'unitId':_0xc93e56[_0x4cd462]['unitId'],..._0xc93e56[_0x4cd462]['undoState']}},_0x44078b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xc93e56[_0x4cd462][_0x41359a(0x21b)],..._0xc93e56[_0x4cd462][_0x41359a(0x44f)]}},_0x1d085e=this['_transformService']['transformMutation'](_0x2d4dc2,_0x5d6715,!0x1),_0x3a0f89=this[_0x41359a(0x449)]['transformMutation'](_0x1fa874,_0x44078b,!0x1);if(p[_0x41359a(0x4b4)](_0x1d085e))throw _0x1d085e[_0x41359a(0x27a)];if(p[_0x41359a(0x4b4)](_0x3a0f89))throw _0x3a0f89[_0x41359a(0x27a)];_0x177771['unshift']({..._0xc93e56[_0x4cd462],'undoState':_0x1d085e[_0x41359a(0x239)][_0x41359a(0x447)],'redoState':_0x3a0f89[_0x41359a(0x239)][_0x41359a(0x447)]}),_0x2d4dc2=_0x1d085e[_0x41359a(0x475)],_0x1fa874=_0x3a0f89['m1Prime'];}this[_0x41359a(0x1cc)][_0x41359a(0x293)](_0x3147b4,{'history':_0x54b3cc,'collaboration':_0x177771});}};We=Nn([tt(0x0,a[_0x29ff00(0x493)](a['Injector'])),tt(0x1,p[_0x29ff00(0x38f)]),tt(0x2,a[_0x29ff00(0x493)](J[_0x29ff00(0x243)]))],We);function Si(_0x687f72){const _0x540f97=_0x29ff00;let _0x304a70='';for(const _0x1c4447 of _0x687f72){const {startOffset:_0x87ac30,endOffset:_0x3f7392,isActive:_0xfff450,rangeType:_0x2e1de2,segmentId:_0x3e568a,segmentPage:_0x399eb8}=_0x1c4447;_0x304a70[_0x540f97(0x5e7)]&&(_0x304a70+=','),_0x304a70+=_0x87ac30+':'+_0x3f7392+':'+(_0xfff450?'1':'0')+':'+_0x2e1de2+':'+_0x3e568a+':'+_0x399eb8;}return _0x304a70;}function Ln(_0x268fd5){const _0x518b07=_0x29ff00,_0x585ec9=_0x268fd5['split'](','),_0x521dfb=[];for(const _0x54084a of _0x585ec9){const [_0x4d6b08,_0x3be196,_0x200cc1,_0x1ffaf9,_0x1e1ba1,_0x1dc926]=_0x54084a[_0x518b07(0x5c0)](':');_0x521dfb[_0x518b07(0x3bc)]({'startOffset':Number(_0x4d6b08),'endOffset':Number(_0x3be196),'collapsed':_0x4d6b08===_0x3be196,'isActive':_0x200cc1==='1','rangeType':_0x1ffaf9===a[_0x518b07(0x380)][_0x518b07(0x4ff)]?a[_0x518b07(0x380)][_0x518b07(0x4ff)]:a[_0x518b07(0x380)][_0x518b07(0x36c)],'segmentId':typeof _0x1e1ba1==_0x518b07(0x291)?String(_0x1e1ba1):'','segmentPage':Number(_0x1dc926!=null?_0x1dc926:-0x1)});}return _0x521dfb[_0x518b07(0x355)](_0x4af847=>_0x4af847[_0x518b07(0x4b8)])||(_0x521dfb[0x0][_0x518b07(0x4b8)]=!0x0),_0x521dfb;}class yt extends a[_0x29ff00(0x4b0)]{constructor(){const _0x249cb4=_0x29ff00;super(...arguments),I(this,'_collabCursorState$',new A[(_0x249cb4(0x26c))](null)),I(this,_0x249cb4(0x41b),this[_0x249cb4(0x483)][_0x249cb4(0x4c6)]());}[_0x29ff00(0x329)](_0x1f9ea7){const _0x53e5d2=_0x29ff00,{unitID:_0x1e6bd1,memberID:_0x24e812,textRanges:_0x329636}=_0x1f9ea7,_0x1e5eee=Si(_0x329636);if(_0x1e5eee==='')return;const _0x1a31b3={'unitID':_0x1e6bd1,'memberID':_0x24e812,'selection':_0x1e5eee};this[_0x53e5d2(0x483)][_0x53e5d2(0x49f)](_0x1a31b3);}}var xn=Object['defineProperty'],jn=Object['getOwnPropertyDescriptor'],$n=(_0x236706,_0x33dfb0,_0x414b8f,_0xb69058)=>{const _0x4d2267=_0x29ff00;for(var _0x26c889=_0xb69058>0x1?void 0x0:_0xb69058?jn(_0x33dfb0,_0x414b8f):_0x33dfb0,_0x4d82d1=_0x236706[_0x4d2267(0x5e7)]-0x1,_0x4df46f;_0x4d82d1>=0x0;_0x4d82d1--)(_0x4df46f=_0x236706[_0x4d82d1])&&(_0x26c889=(_0xb69058?_0x4df46f(_0x33dfb0,_0x414b8f,_0x26c889):_0x4df46f(_0x26c889))||_0x26c889);return _0xb69058&&_0x26c889&&xn(_0x33dfb0,_0x414b8f,_0x26c889),_0x26c889;},$t=(_0x25178c,_0x110db1)=>(_0x424174,_0x2d41dd)=>_0x110db1(_0x424174,_0x2d41dd,_0x25178c);let Fe=class{constructor(_0x38e60b,_0x19bdf7){const _0x20ef29=_0x29ff00;this['_injector']=_0x38e60b,this[_0x20ef29(0x449)]=_0x19bdf7;}[_0x29ff00(0x2c1)](_0x4ae35c){const _0x17eef0=_0x29ff00;var _0x273634;const _0x436221=this[_0x17eef0(0x1c1)][_0x17eef0(0x2ef)](Ie[_0x17eef0(0x64b)]),_0x3f6da5=(_0x273634=_0x436221[_0x17eef0(0x526)]())!=null?_0x273634:[];if(_0x3f6da5[_0x17eef0(0x5e7)]===0x0)return;const _0x586d19=_0x4ae35c[_0x17eef0(0x553)],_0x43ab2b=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x586d19,'actions':null,'textRanges':_0x3f6da5}}],_0x333500=this[_0x17eef0(0x449)]['transformMutationsWithChangeset'](_0x4ae35c,_0x43ab2b);if(!p['isTransformMutationsWithChangesetSuccess'](_0x333500))throw _0x333500[_0x17eef0(0x27a)];const _0x3e1d12=_0x333500['m2Prime'][0x0][_0x17eef0(0x447)][_0x17eef0(0x49e)];Array[_0x17eef0(0x400)](_0x3e1d12)&&_0x3e1d12[_0x17eef0(0x5e7)]&&_0x436221[_0x17eef0(0x308)](_0x3e1d12,{'unitId':_0x586d19,'subUnitId':_0x586d19},!0x1);}};Fe=$n([$t(0x0,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),$t(0x1,p[_0x29ff00(0x38f)])],Fe);const Hn=new Set([k[_0x29ff00(0x672)]['id']]);function Ht(_0xbe1ae6,_0x1c06dc,_0x17ef4c,_0x116dff,_0x2d46f6){const _0x367b4e=_0x29ff00;var _0x26a965,_0x10a046,_0xd380af,_0x2518a3;const _0x310521=[];for(const _0x204de5 of _0xbe1ae6)if(Hn['has'](_0x204de5['id'])){if(_0x310521['length']>0x0)break;_0x310521[_0x367b4e(0x3bc)](_0x204de5);break;}else _0x310521[_0x367b4e(0x3bc)](_0x204de5);const _0x3bb4b6=(_0x10a046=(_0x26a965=_0x2d46f6[_0x367b4e(0x5d8)]())==null?void 0x0:_0x26a965[_0x367b4e(0x52b)])!=null?_0x10a046:'unknown',_0x2c99b1=(_0x2518a3=(_0xd380af=_0x2d46f6[_0x367b4e(0x5d8)]())==null?void 0x0:_0xd380af[_0x367b4e(0x35e)])!=null?_0x2518a3:_0x367b4e(0x1f6);return{'changeset':{'unitID':_0x1c06dc,'type':p['mapDocumentTypeToUniverType'](_0x17ef4c[_0x367b4e(0x2e0)](_0x1c06dc)),'baseRev':_0x116dff[_0x367b4e(0x309)](_0x1c06dc),'revision':0x0,'userID':_0x3bb4b6,'memberID':_0x2c99b1,'mutations':_0x310521},'pendingMutations':_0xbe1ae6[_0x367b4e(0x3bb)](_0x310521[_0x367b4e(0x5e7)])};}function Bn(_0x19ca96,_0x1fcffd,_0x4a5462,_0xd7fc1a,_0x2d17a6){const _0x5d1f8d=_0x29ff00;var _0x2e5a84,_0x5338e2,_0x2ce30c,_0x513299;const _0x453960=[_0x19ca96['reduce']((_0x40525e,_0x35b055)=>{const _0x421736=_0x2f26;var _0x14a598;const {id:_0x428699}=_0x40525e,{id:_0x16ea0e,type:_0x5e6bce}=_0x35b055,_0x251030=(_0x14a598=_0x40525e[_0x421736(0x447)])!=null?_0x14a598:{'actions':null},_0x2a67ed=_0x35b055[_0x421736(0x447)];if(_0x428699&&_0x428699!==_0x16ea0e)throw new Error(_0x421736(0x532)+_0x428699+_0x421736(0x5ae)+_0x16ea0e+'.');return{..._0x40525e,'id':_0x16ea0e,'type':_0x5e6bce,'params':{'unitId':_0x2a67ed[_0x421736(0x21b)],'textRanges':_0x2a67ed[_0x421736(0x49e)],'actions':a[_0x421736(0x60a)][_0x421736(0x53f)](_0x251030['actions'],_0x2a67ed[_0x421736(0x4fc)])}};},{})],_0x2b43ae=(_0x5338e2=(_0x2e5a84=_0x2d17a6['getCurrentUser']())==null?void 0x0:_0x2e5a84[_0x5d1f8d(0x52b)])!=null?_0x5338e2:'unknown',_0x445be1=(_0x513299=(_0x2ce30c=_0x2d17a6['getCurrentUser']())==null?void 0x0:_0x2ce30c[_0x5d1f8d(0x35e)])!=null?_0x513299:_0x5d1f8d(0x1f6);return{'changeset':{'unitID':_0x1fcffd,'type':p[_0x5d1f8d(0x1bb)](_0x4a5462[_0x5d1f8d(0x2e0)](_0x1fcffd)),'baseRev':_0xd7fc1a['getCurrentRevOfUnit'](_0x1fcffd),'revision':0x0,'userID':_0x2b43ae,'memberID':_0x445be1,'mutations':_0x453960},'pendingMutations':[]};}function pi(_0x21182c,_0x4a23ae){const _0x6af775=_0x29ff00,_0x34cf03=new A[(_0x6af775(0x24c))](0x1);return setTimeout(()=>_0x34cf03[_0x6af775(0x49f)](_0x4a23ae),_0x21182c),_0x34cf03['asObservable']()['pipe'](A['take'](0x1));}const kn={'id':k['EmptyMutation']['id'],'type':a['CommandType']['MUTATION'],'params':{}};var Wn=Object[_0x29ff00(0x64a)],Fn=Object[_0x29ff00(0x316)],Ee=(_0x4b0437,_0x486486,_0x10e017,_0x28eb28)=>{for(var _0x14bec6=_0x28eb28>0x1?void 0x0:_0x28eb28?Fn(_0x486486,_0x10e017):_0x486486,_0x2ee05b=_0x4b0437['length']-0x1,_0x304864;_0x2ee05b>=0x0;_0x2ee05b--)(_0x304864=_0x4b0437[_0x2ee05b])&&(_0x14bec6=(_0x28eb28?_0x304864(_0x486486,_0x10e017,_0x14bec6):_0x304864(_0x14bec6))||_0x14bec6);return _0x28eb28&&_0x14bec6&&Wn(_0x486486,_0x10e017,_0x14bec6),_0x14bec6;},N=(_0x51cb22,_0x478f7d)=>(_0x52f600,_0x2edaee)=>_0x478f7d(_0x52f600,_0x2edaee,_0x51cb22),q=(_0x1d2d03=>(_0x1d2d03['NOT_COLLAB']='not_collab',_0x1d2d03['SYNCED']=_0x29ff00(0x1ed),_0x1d2d03[_0x29ff00(0x1c5)]=_0x29ff00(0x496),_0x1d2d03['AWAITING']=_0x29ff00(0x4d6),_0x1d2d03[_0x29ff00(0x290)]='awaiting_with_pending',_0x1d2d03['FETCH_MISS']=_0x29ff00(0x225),_0x1d2d03['CONFLICT']='conflict',_0x1d2d03[_0x29ff00(0x548)]=_0x29ff00(0x4e0),_0x1d2d03))(q||{});const mi=0xea60;class be{constructor(_0x4c3895,_0x538e2c,_0x16d051,_0x22488f,_0x521e92,_0x3ae4b9,_0x55e13f,_0x3ec60c,_0x2be227){const _0xa789a7=_0x29ff00;I(this,'_awaitingChangeset',null),I(this,_0xa789a7(0x32a),[]),(this[_0xa789a7(0x553)]=_0x4c3895,this[_0xa789a7(0x2eb)]=_0x538e2c,this[_0xa789a7(0x467)]=_0x521e92,this['_commandService']=_0x3ae4b9,this[_0xa789a7(0x462)]=_0x55e13f,this[_0xa789a7(0x2a8)]=_0x3ec60c,this['_localCacheService']=_0x2be227,this[_0xa789a7(0x416)]=_0x16d051,this[_0xa789a7(0x32a)]=_0x22488f);}[_0x29ff00(0x3cb)](_0x1c0fa7){const _0x199d3d=_0x29ff00,_0x27cf3e=this[_0x199d3d(0x2a8)][_0x199d3d(0x309)](this['unitID']);return _0x1c0fa7[_0x199d3d(0x5fe)]>_0x27cf3e+0x1?(this[_0x199d3d(0x467)][_0x199d3d(0x203)]({'from':_0x27cf3e,'to':_0x1c0fa7[_0x199d3d(0x5fe)]-0x1}),!0x0):!0x1;}[_0x29ff00(0x4d8)](_0x6b2ccf){const _0x592030=_0x29ff00;this[_0x592030(0x462)][_0x592030(0x2a1)](this[_0x592030(0x553)],_0x6b2ccf);}[_0x29ff00(0x1d4)](_0x308725){const _0x1d333d=_0x29ff00;var _0x19794e,_0x3dd3a1;(_0x3dd3a1=(_0x19794e=this[_0x1d333d(0x467)])[_0x1d333d(0x289)])==null||_0x3dd3a1[_0x1d333d(0x1d5)](_0x19794e,_0x308725);}[_0x29ff00(0x63e)](_0x20e365){const _0x3f68a5=_0x29ff00;var _0x39640f,_0x2b0a20;return(_0x2b0a20=(_0x39640f=this[_0x3f68a5(0x467)])[_0x3f68a5(0x420)])==null?void 0x0:_0x2b0a20[_0x3f68a5(0x1d5)](_0x39640f,_0x20e365);}[_0x29ff00(0x456)](_0x48b385){const _0x400246=_0x29ff00;var _0x3d9a06,_0x5853c8;return(_0x5853c8=(_0x3d9a06=this[_0x400246(0x467)])[_0x400246(0x66d)])==null?void 0x0:_0x5853c8[_0x400246(0x1d5)](_0x3d9a06,_0x48b385);}['_transformRemoteChangesetByIMECache'](_0x32cb17){const _0x4f82b3=_0x29ff00;var _0x1c5dba,_0xb9748c,_0x304b1f;return(_0x304b1f=(_0xb9748c=(_0x1c5dba=this['_handler'])[_0x4f82b3(0x428)])==null?void 0x0:_0xb9748c[_0x4f82b3(0x1d5)](_0x1c5dba,_0x32cb17))!=null?_0x304b1f:_0x32cb17;}['_transformRemoteChangesetByStateCache'](_0x4a32fd){const _0x38c364=_0x29ff00;var _0x9461bd,_0x323670,_0x43e88a;return(_0x43e88a=(_0x323670=(_0x9461bd=this[_0x38c364(0x467)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x323670[_0x38c364(0x1d5)](_0x9461bd,_0x4a32fd))!=null?_0x43e88a:_0x4a32fd;}[_0x29ff00(0x41f)](_0x149f71){const _0x4082b7=_0x29ff00;var _0x36eba6,_0x549bd7;if(this['type']===ne['UNIVER_DOC']){const {unitID:_0x5405ee,mutations:_0x9506c5,memberID:_0x5eb51b}=_0x149f71,_0x353f35=_0x9506c5[0x0][_0x4082b7(0x447)][_0x4082b7(0x49e)];Array[_0x4082b7(0x400)](_0x353f35)&&_0x353f35['length']>0x0&&((_0x549bd7=(_0x36eba6=this[_0x4082b7(0x467)])[_0x4082b7(0x46b)])==null||_0x549bd7[_0x4082b7(0x1d5)](_0x36eba6,{'unitID':_0x5405ee,'memberID':_0x5eb51b,'textRanges':_0x353f35}));}}[_0x29ff00(0x611)](){const _0x6b5dab=_0x29ff00;this[_0x6b5dab(0x34f)][_0x6b5dab(0x4cf)](this[_0x6b5dab(0x553)],this['type'],this[_0x6b5dab(0x416)],this[_0x6b5dab(0x32a)]);}[_0x29ff00(0x1d0)](){const _0x3a839f=_0x29ff00;return this[_0x3a839f(0x2a8)][_0x3a839f(0x309)](this[_0x3a839f(0x553)]);}['_incrementRevisionNumber'](){const _0x3350a8=_0x29ff00;this[_0x3350a8(0x2a8)][_0x3350a8(0x29b)](this[_0x3350a8(0x553)]);}[_0x29ff00(0x3de)](_0x5cab1d){const _0x3910ad=_0x29ff00;var _0x3e31b8;let _0x5ef8d8=this['_transformRemoteChangesetByIMECache'](_0x5cab1d);_0x5ef8d8=this[_0x3910ad(0x2c5)](_0x5ef8d8);const _0x419e90=a[_0x3910ad(0x2f6)](_0x5ef8d8[_0x3910ad(0x219)],this[_0x3910ad(0x5b4)],{'fromCollab':!0x0});if(!_0x419e90[_0x3910ad(0x675)])throw _0x419e90[_0x3910ad(0x27a)]instanceof Error?_0x419e90[_0x3910ad(0x27a)]:new Error((_0x3e31b8=_0x419e90[_0x3910ad(0x27a)])!=null?_0x3e31b8:_0x3910ad(0x368));this['_transformIMECache'](_0x5ef8d8),this[_0x3910ad(0x456)](_0x5ef8d8),this['_transformUndoredo'](_0x5cab1d),this[_0x3910ad(0x1d4)](_0x5ef8d8),this[_0x3910ad(0x41f)](_0x5ef8d8),this[_0x3910ad(0x5c1)]();}}let Oe=class extends be{constructor(_0x1eb08b,_0x54819f,_0x2de96a,_0x4c1390,_0x190da2,_0x21086a,_0x4870d8,_0x44c0a1,_0x397e2f,_0x45bb75){const _0x45be47=_0x29ff00;super(_0x1eb08b,_0x54819f,null,[],_0x2de96a,_0x44c0a1,_0x4870d8,_0x4c1390,_0x190da2),I(this,'status','synced'),(this[_0x45be47(0x1c1)]=_0x21086a,this['_logService']=_0x397e2f,this[_0x45be47(0x449)]=_0x45bb75);}[_0x29ff00(0x5af)](_0x31156f){const _0x56c65a=_0x29ff00,_0x3a040e=this[_0x56c65a(0x1c1)][_0x56c65a(0x527)](ce,this['unitID'],this[_0x56c65a(0x2eb)],[_0x31156f],this[_0x56c65a(0x467)]);return _0x3a040e[_0x56c65a(0x490)](),_0x3a040e[_0x56c65a(0x611)](),_0x3a040e;}[_0x29ff00(0x4c5)](_0x4ef6c1){const _0xdbaa51=_0x29ff00;if(this[_0xdbaa51(0x3cb)](_0x4ef6c1))return this[_0xdbaa51(0x1c1)][_0xdbaa51(0x527)](re,this[_0xdbaa51(0x553)],this[_0xdbaa51(0x2eb)],null,[],null,[_0x4ef6c1],this['_handler']);try{const _0x2d7bf0=this[_0xdbaa51(0x449)][_0xdbaa51(0x268)](_0x4ef6c1,[kn]);if(p[_0xdbaa51(0x5ba)](_0x2d7bf0)){const {c1Prime:_0x285e73}=_0x2d7bf0;return this[_0xdbaa51(0x3de)](_0x285e73),this;}throw _0x2d7bf0[_0xdbaa51(0x27a)];}catch(_0x2fdfd5){return this[_0xdbaa51(0x328)][_0xdbaa51(0x27a)](_0x2fdfd5),this[_0xdbaa51(0x2c4)](!0x1);}}['_onConflict'](_0x41cd83){const _0xa068b4=_0x29ff00;return this[_0xa068b4(0x1c1)][_0xa068b4(0x527)](ve,this[_0xa068b4(0x553)],this[_0xa068b4(0x2eb)],null,[],this[_0xa068b4(0x467)],_0x41cd83);}[_0x29ff00(0x3fb)](){const _0x2450db=_0x29ff00;throw new Error(_0x2450db(0x40b));}[_0x29ff00(0x520)](){const _0x3fac84=_0x29ff00;throw new Error(_0x3fac84(0x454));}[_0x29ff00(0x396)](){return this;}[_0x29ff00(0x2f3)](){const _0x30a258=_0x29ff00;return this[_0x30a258(0x1c1)][_0x30a258(0x527)](Se,this['unitID'],this[_0x30a258(0x2eb)],null,[],this[_0x30a258(0x467)]);}['toggleOnline'](){return this;}[_0x29ff00(0x2d1)](){const _0xff663b=_0x29ff00;throw new Error(_0xff663b(0x2b2));}['fetchMiss'](){const _0x117056=_0x29ff00,_0x14382c=this['_revisionService']['getCurrentRevOfUnit'](this[_0x117056(0x553)]);return this[_0x117056(0x467)][_0x117056(0x203)]({'from':_0x14382c,'to':0x0}),this['_injector'][_0x117056(0x527)](re,this['unitID'],this[_0x117056(0x2eb)],null,[],null,[],this['_handler']);}};Oe=Ee([N(0x3,a[_0x29ff00(0x493)](p['RevisionService'])),N(0x4,a[_0x29ff00(0x493)](exports[_0x29ff00(0x46a)])),N(0x5,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),N(0x6,a[_0x29ff00(0x325)]),N(0x7,a[_0x29ff00(0x587)]),N(0x8,a['ILogService']),N(0x9,p[_0x29ff00(0x38f)])],Oe);let ce=class extends be{constructor(_0x1a0bcd,_0x49385e,_0x130d9f,_0x15ff73,_0x562b8c,_0x20f138,_0x45c695,_0x1e14cc,_0x1b973a,_0x5a7ed5,_0x176165,_0x3e2a93,_0x40e977,_0xa12296){const _0x31c306=_0x29ff00;super(_0x1a0bcd,_0x49385e,null,_0x130d9f,_0x15ff73,_0x5a7ed5,_0xa12296,_0x20f138,_0x45c695),I(this,_0x31c306(0x2be),_0x31c306(0x496)),I(this,_0x31c306(0x42f),null),I(this,_0x31c306(0x4dd),null),(this[_0x31c306(0x1c1)]=_0x562b8c,this[_0x31c306(0x427)]=_0x1e14cc,this[_0x31c306(0x328)]=_0x1b973a,this[_0x31c306(0x4ea)]=_0x176165,this[_0x31c306(0x449)]=_0x3e2a93,this[_0x31c306(0x600)]=_0x40e977);}[_0x29ff00(0x5af)](_0x215bc3){const _0x460d20=_0x29ff00;return this['_pendingMutations'][_0x460d20(0x3bc)](_0x215bc3),this[_0x460d20(0x611)](),this;}['onRemoteChangeset'](_0x1a1269){const _0x38c39e=_0x29ff00;if(this[_0x38c39e(0x3cb)](_0x1a1269))return this[_0x38c39e(0x466)](),this['_injector'][_0x38c39e(0x527)](re,this[_0x38c39e(0x553)],this[_0x38c39e(0x2eb)],null,this['_pendingMutations'],null,[_0x1a1269],this['_handler']);try{const _0xf6b9f2=this[_0x38c39e(0x449)]['transformMutationsWithChangeset'](_0x1a1269,this[_0x38c39e(0x32a)]);if(p['isTransformMutationsWithChangesetSuccess'](_0xf6b9f2)){const {c1Prime:_0x4b6c5a,m2Prime:_0x214bad}=_0xf6b9f2;this[_0x38c39e(0x3de)](_0x4b6c5a);const _0x32e158=this[_0x38c39e(0x1c1)][_0x38c39e(0x527)](ce,this['unitID'],this['type'],_0x214bad,this[_0x38c39e(0x467)]);return this[_0x38c39e(0x466)](),_0x32e158['_schedule'](this['_scheduleTimestamp']?Math['max'](0x0,new Date()[_0x38c39e(0x54f)]()-this[_0x38c39e(0x42f)]):this['_getSendChangesetTimeout']()),_0x32e158;}throw _0xf6b9f2[_0x38c39e(0x27a)];}catch(_0x29fc6d){return this[_0x38c39e(0x328)][_0x38c39e(0x27a)](_0x29fc6d),this[_0x38c39e(0x2c4)](!0x1);}}[_0x29ff00(0x3fb)](){const _0x5347d3=_0x29ff00;throw new Error(_0x5347d3(0x5ac));}[_0x29ff00(0x520)](){const _0x471de7=_0x29ff00;throw new Error(_0x471de7(0x1bd));}[_0x29ff00(0x396)](){return this;}[_0x29ff00(0x2f3)](){const _0x43b663=_0x29ff00;return this['_clearScheduledTask'](),this[_0x43b663(0x1c1)][_0x43b663(0x527)](Se,this[_0x43b663(0x553)],this[_0x43b663(0x2eb)],null,this[_0x43b663(0x32a)],this[_0x43b663(0x467)]);}[_0x29ff00(0x4b5)](){return this;}['_schedule'](_0x1bfa24){const _0x3f1214=_0x29ff00,_0x2b474d=_0x1bfa24!=null?_0x1bfa24:this['_getSendChangesetTimeout']();this[_0x3f1214(0x42f)]=new Date()[_0x3f1214(0x54f)](),this['_sendingTimer']=window[_0x3f1214(0x34a)](()=>{const _0xe24137=_0x3f1214;this['_clearScheduledTask']();let _0x21fffd=null;switch(this['type']){case ne[_0xe24137(0x3d0)]:{_0x21fffd=Ht(this[_0xe24137(0x32a)],this[_0xe24137(0x553)],this[_0xe24137(0x600)],this[_0xe24137(0x2a8)],this['_memberService']);break;}case ne[_0xe24137(0x4f0)]:{this[_0xe24137(0x32a)]['every'](_0x1d0a5e=>_0x1d0a5e['id']===Ie['RichTextEditingMutation']['id'])?_0x21fffd=Bn(this[_0xe24137(0x32a)],this[_0xe24137(0x553)],this[_0xe24137(0x600)],this['_revisionService'],this[_0xe24137(0x427)]):_0x21fffd=Ht(this['_pendingMutations'],this['unitID'],this[_0xe24137(0x600)],this[_0xe24137(0x2a8)],this[_0xe24137(0x427)]);break;}default:throw new Error(_0xe24137(0x450)+this[_0xe24137(0x2eb)]+_0xe24137(0x471));}const {changeset:_0x1fdc9d,pendingMutations:_0x40810d}=_0x21fffd;this[_0xe24137(0x467)][_0xe24137(0x686)](_0x1fdc9d);const _0x472221=_0x40810d['length']?this[_0xe24137(0x1c1)][_0xe24137(0x527)](le,this[_0xe24137(0x553)],this[_0xe24137(0x2eb)],_0x1fdc9d,_0x40810d,this[_0xe24137(0x467)],void 0x0):this['_injector']['createInstance'](fe,this[_0xe24137(0x553)],this[_0xe24137(0x2eb)],_0x1fdc9d,this[_0xe24137(0x467)]);_0x472221[_0xe24137(0x611)](),this[_0xe24137(0x467)][_0xe24137(0x42d)](this,_0x472221);},_0x2b474d);}[_0x29ff00(0x598)](){const _0x2c6550=_0x29ff00;var _0x27e345;const _0x246dc0=this['_configService'][_0x2c6550(0x1ea)](Q);return(_0x27e345=_0x246dc0==null?void 0x0:_0x246dc0['sendChangesetTimeout'])!=null?_0x27e345:Fi;}[_0x29ff00(0x2d1)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x29ff00(0x466)](){const _0x1d9e1b=_0x29ff00;this[_0x1d9e1b(0x4dd)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x1d9e1b(0x4dd)]=null);}[_0x29ff00(0x2c4)](_0x97184){const _0xf24814=_0x29ff00;return this[_0xf24814(0x466)](),this['_injector'][_0xf24814(0x527)](ve,this[_0xf24814(0x553)],this['type'],null,this[_0xf24814(0x32a)],this[_0xf24814(0x467)],_0x97184);}};ce=Ee([N(0x4,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),N(0x5,a[_0x29ff00(0x493)](p[_0x29ff00(0x59a)])),N(0x6,a[_0x29ff00(0x493)](exports[_0x29ff00(0x46a)])),N(0x7,a['Inject'](exports[_0x29ff00(0x1d6)])),N(0x8,a[_0x29ff00(0x4ac)]),N(0x9,a[_0x29ff00(0x587)]),N(0xa,a[_0x29ff00(0x64d)]),N(0xb,p['ITransformService']),N(0xc,a[_0x29ff00(0x37f)]),N(0xd,a[_0x29ff00(0x325)])],ce);let fe=class extends be{constructor(_0x50aee9,_0x447f59,_0x118fc4,_0x338889,_0x6eb3e6,_0x5b91e2,_0x575115,_0x2fda3f,_0x2a6a52,_0x12058c,_0x21f1be){const _0x31f72b=_0x29ff00;super(_0x50aee9,_0x447f59,_0x118fc4,[],_0x338889,_0x2fda3f,_0x21f1be,_0x5b91e2,_0x575115),I(this,_0x31f72b(0x2be),_0x31f72b(0x4d6)),I(this,_0x31f72b(0x66b),0x0),I(this,'_resendTimer'),I(this,_0x31f72b(0x5b0)),(this[_0x31f72b(0x1c1)]=_0x6eb3e6,this[_0x31f72b(0x328)]=_0x2a6a52,this[_0x31f72b(0x449)]=_0x12058c);}[_0x29ff00(0x5af)](_0x5784cd){const _0x44c1f9=_0x29ff00;this['_clearScheduledTask']();const _0x5bfa84=this[_0x44c1f9(0x1c1)][_0x44c1f9(0x527)](le,this[_0x44c1f9(0x553)],this[_0x44c1f9(0x2eb)],this[_0x44c1f9(0x416)],[_0x5784cd],this[_0x44c1f9(0x467)],this[_0x44c1f9(0x4a4)]);return _0x5bfa84[_0x44c1f9(0x611)](),_0x5bfa84;}[_0x29ff00(0x4c5)](_0x3d6fa1){const _0x17bed4=_0x29ff00;if(this[_0x17bed4(0x3cb)](_0x3d6fa1))return this[_0x17bed4(0x466)](),this[_0x17bed4(0x1c1)]['createInstance'](re,this[_0x17bed4(0x553)],this[_0x17bed4(0x2eb)],this[_0x17bed4(0x416)],[],null,[_0x3d6fa1],this['_handler']);try{const _0x183ad5=this[_0x17bed4(0x449)]['transformChangesets']([_0x3d6fa1],[this['_awaitingChangeset']],!0x1);if(p[_0x17bed4(0x4c2)](_0x183ad5)){const {c1Prime:_0x1f23dd,c2Prime:_0x5a3de5}=_0x183ad5;this['_executeRemoteChangeset'](_0x1f23dd[0x0]),_0x5a3de5[0x0][_0x17bed4(0x573)]=this[_0x17bed4(0x1d0)](),this[_0x17bed4(0x466)]();const _0x3fcb2d=this[_0x17bed4(0x1c1)]['createInstance'](fe,this['unitID'],this[_0x17bed4(0x2eb)],_0x5a3de5[0x0],this[_0x17bed4(0x467)]);return _0x3fcb2d[_0x17bed4(0x611)](),_0x3fcb2d;}return this['_onConflict'](!0x1);}catch(_0x19f54f){return this[_0x17bed4(0x328)][_0x17bed4(0x27a)](_0x19f54f),this[_0x17bed4(0x2c4)](!0x1);}}[_0x29ff00(0x3fb)](_0x49da80){const _0x1e609a=_0x29ff00;this[_0x1e609a(0x466)]();const _0x3dfcc2=this[_0x1e609a(0x2a8)][_0x1e609a(0x309)](this[_0x1e609a(0x553)]);if(_0x49da80['revision']<_0x3dfcc2-0x1)return this;if(this[_0x1e609a(0x3cb)](_0x49da80))return this['_injector'][_0x1e609a(0x527)](re,this['unitID'],this[_0x1e609a(0x2eb)],null,[],this['_awaitingChangeset'],[],this[_0x1e609a(0x467)]);this[_0x1e609a(0x5c1)]();const _0x5d4a26=this[_0x1e609a(0x1c1)][_0x1e609a(0x527)](Oe,this['unitID'],this[_0x1e609a(0x2eb)],this[_0x1e609a(0x467)]);return _0x5d4a26['_updateLocalCache'](),_0x5d4a26;}[_0x29ff00(0x520)](_0x127b07){const _0x5926ca=_0x29ff00;return this[_0x5926ca(0x2c4)](!!(_0x127b07!=null&&_0x127b07[_0x5926ca(0x300)]));}['onRemoteRetry'](_0x29ce55){const _0x4b0271=_0x29ff00;return this[_0x4b0271(0x66b)]>mi?this[_0x4b0271(0x2f3)]():(this[_0x4b0271(0x4a4)]=pi(this[_0x4b0271(0x66b)],{'timeout':this['_resendTimeout'],'reqId':_0x29ce55[_0x4b0271(0x44e)]}),this['_sender']=this[_0x4b0271(0x4a4)][_0x4b0271(0x58f)](({reqId:_0x5f1b0d,timeout:_0x5d7e28})=>{const _0x5652be=_0x4b0271;this[_0x5652be(0x5fb)](_0x5f1b0d,_0x5d7e28);}),this);}['toggleOffline'](){const _0x2c06e2=_0x29ff00;return this[_0x2c06e2(0x466)](),this['_injector'][_0x2c06e2(0x527)](Se,this[_0x2c06e2(0x553)],this[_0x2c06e2(0x2eb)],this[_0x2c06e2(0x416)],[],this[_0x2c06e2(0x467)]);}[_0x29ff00(0x4b5)](){return this;}[_0x29ff00(0x2d1)](){const _0x4337e8=_0x29ff00;this['_handler'][_0x4337e8(0x686)](this[_0x4337e8(0x416)]);}[_0x29ff00(0x2c4)](_0x36a77a){const _0xee938=_0x29ff00;return this[_0xee938(0x466)](),this[_0xee938(0x1c1)][_0xee938(0x527)](ve,this[_0xee938(0x553)],this['type'],this[_0xee938(0x416)],[],this[_0xee938(0x467)],_0x36a77a);}[_0x29ff00(0x5fb)](_0x4be28d,_0x2179be){const _0x2fbd67=_0x29ff00;var _0x572b43;_0x4be28d===((_0x572b43=this[_0x2fbd67(0x416)])==null?void 0x0:_0x572b43[_0x2fbd67(0x44e)])&&(this[_0x2fbd67(0x2d1)](),this[_0x2fbd67(0x66b)]=_0x2179be===0x0?0x3e8:_0x2179be*0x2);}['_clearScheduledTask'](){const _0x8adc5b=_0x29ff00;var _0x119d39;(_0x119d39=this[_0x8adc5b(0x5b0)])==null||_0x119d39[_0x8adc5b(0x4eb)](),this[_0x8adc5b(0x66b)]=0x0;}};fe=Ee([N(0x4,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),N(0x5,a[_0x29ff00(0x493)](p['RevisionService'])),N(0x6,a[_0x29ff00(0x493)](exports['LocalCacheService'])),N(0x7,a[_0x29ff00(0x587)]),N(0x8,a['ILogService']),N(0x9,p['ITransformService']),N(0xa,a[_0x29ff00(0x325)])],fe);let le=class extends be{constructor(_0x192728,_0x2419bc,_0x1609ac,_0x29753c,_0x12ccb8,_0xcd4898,_0x4fec84,_0x2238f7,_0x4bd892,_0x3b1e0f,_0x478b12,_0x5f1579,_0x526f5c){const _0x2219ac=_0x29ff00;super(_0x192728,_0x2419bc,_0x1609ac,_0x29753c,_0x12ccb8,_0x3b1e0f,_0x526f5c,_0x2238f7,_0x4bd892),I(this,'status',_0x2219ac(0x4ba)),I(this,_0x2219ac(0x66b),0x0),I(this,_0x2219ac(0x4a4)),I(this,'_sender'),(this[_0x2219ac(0x1c1)]=_0x4fec84,this[_0x2219ac(0x328)]=_0x478b12,this[_0x2219ac(0x449)]=_0x5f1579,_0xcd4898&&(this[_0x2219ac(0x4a4)]=_0xcd4898,this[_0x2219ac(0x5b0)]=this['_resendTimer'][_0x2219ac(0x58f)](({reqId:_0xdc5ba1,timeout:_0x5131d5})=>{const _0x115c4c=_0x2219ac;this[_0x115c4c(0x5fb)](_0xdc5ba1,_0x5131d5);})));}[_0x29ff00(0x5af)](_0x22be83){const _0x6213e2=_0x29ff00;return this[_0x6213e2(0x32a)][_0x6213e2(0x3bc)](_0x22be83),this;}[_0x29ff00(0x4c5)](_0x5cd87d){const _0x57d1f0=_0x29ff00;if(this[_0x57d1f0(0x3cb)](_0x5cd87d))return this[_0x57d1f0(0x466)](),this['_injector'][_0x57d1f0(0x527)](re,this[_0x57d1f0(0x553)],this['type'],this[_0x57d1f0(0x416)],this[_0x57d1f0(0x32a)],null,[_0x5cd87d],this['_handler']);try{const _0x26897b=this[_0x57d1f0(0x449)][_0x57d1f0(0x507)]([_0x5cd87d],[this[_0x57d1f0(0x416)]],!0x1);if(p[_0x57d1f0(0x4c2)](_0x26897b)){const {c1Prime:_0x154565,c2Prime:_0x2d47e9}=_0x26897b,_0x1d8d8e=this['_transformService'][_0x57d1f0(0x268)](_0x154565[0x0],this[_0x57d1f0(0x32a)]);if(p[_0x57d1f0(0x5ba)](_0x1d8d8e)){const {c1Prime:_0x4f490b,m2Prime:_0x29a623}=_0x1d8d8e;return this[_0x57d1f0(0x3de)](_0x4f490b),_0x2d47e9[0x0]['baseRev']=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x57d1f0(0x1c1)][_0x57d1f0(0x527)](le,this[_0x57d1f0(0x553)],this[_0x57d1f0(0x2eb)],_0x2d47e9[0x0],_0x29a623,this[_0x57d1f0(0x467)],void 0x0);}throw _0x1d8d8e[_0x57d1f0(0x27a)];}throw _0x26897b[_0x57d1f0(0x27a)];}catch(_0x2eadb1){return this[_0x57d1f0(0x328)][_0x57d1f0(0x27a)](_0x2eadb1),this[_0x57d1f0(0x2c4)](!0x1);}}[_0x29ff00(0x3fb)](_0x4866ad){const _0x46a77b=_0x29ff00;if(this[_0x46a77b(0x466)](),this[_0x46a77b(0x3cb)](_0x4866ad))return this[_0x46a77b(0x1c1)][_0x46a77b(0x527)](re,this[_0x46a77b(0x553)],this[_0x46a77b(0x2eb)],null,this[_0x46a77b(0x32a)],this[_0x46a77b(0x416)],[],this[_0x46a77b(0x467)]);this[_0x46a77b(0x5c1)]();const _0x4fadf1=this[_0x46a77b(0x1c1)][_0x46a77b(0x527)](ce,this[_0x46a77b(0x553)],this[_0x46a77b(0x2eb)],this[_0x46a77b(0x32a)],this[_0x46a77b(0x467)]);return _0x4fadf1[_0x46a77b(0x490)](),_0x4fadf1[_0x46a77b(0x611)](),_0x4fadf1;}[_0x29ff00(0x520)](_0x1ec661){const _0x3e8754=_0x29ff00;return this[_0x3e8754(0x2c4)](!!(_0x1ec661!=null&&_0x1ec661['isPermissionRej']));}[_0x29ff00(0x396)](_0x2fea98){const _0x28bd20=_0x29ff00;return this[_0x28bd20(0x66b)]>mi?this[_0x28bd20(0x2f3)]():(this[_0x28bd20(0x4a4)]=pi(this[_0x28bd20(0x66b)],{'timeout':this['_resendTimeout'],'reqId':_0x2fea98[_0x28bd20(0x44e)]}),this['_sender']=this[_0x28bd20(0x4a4)][_0x28bd20(0x58f)](({reqId:_0x565145,timeout:_0x439ba1})=>{const _0x2ad838=_0x28bd20;this[_0x2ad838(0x5fb)](_0x565145,_0x439ba1);}),this);}['toggleOffline'](){const _0x50e7da=_0x29ff00;return this['_clearScheduledTask'](),this[_0x50e7da(0x1c1)][_0x50e7da(0x527)](Se,this[_0x50e7da(0x553)],this[_0x50e7da(0x2eb)],this[_0x50e7da(0x416)],this[_0x50e7da(0x32a)],this['_handler']);}[_0x29ff00(0x4b5)](){return this;}[_0x29ff00(0x2d1)](){const _0x2e4190=_0x29ff00;this[_0x2e4190(0x467)][_0x2e4190(0x686)](this['_awaitingChangeset']);}[_0x29ff00(0x2c4)](_0x3db1d1){const _0x3d1148=_0x29ff00;return this[_0x3d1148(0x466)](),this['_injector']['createInstance'](ve,this[_0x3d1148(0x553)],this[_0x3d1148(0x2eb)],null,this[_0x3d1148(0x32a)],this[_0x3d1148(0x467)],_0x3db1d1);}[_0x29ff00(0x5fb)](_0x1a4de8,_0x86e549){const _0xd81240=_0x29ff00;var _0x51d7d7;_0x1a4de8===((_0x51d7d7=this[_0xd81240(0x416)])==null?void 0x0:_0x51d7d7['reqId'])&&(this[_0xd81240(0x2d1)](),this[_0xd81240(0x66b)]=_0x86e549===0x0?0x3e8:_0x86e549*0x2);}[_0x29ff00(0x466)](){const _0x43e9d2=_0x29ff00;var _0xfbf03f;(_0xfbf03f=this[_0x43e9d2(0x5b0)])==null||_0xfbf03f['unsubscribe'](),this[_0x43e9d2(0x66b)]=0x0;}};le=Ee([N(0x6,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),N(0x7,a['Inject'](p['RevisionService'])),N(0x8,a[_0x29ff00(0x493)](exports[_0x29ff00(0x46a)])),N(0x9,a['ICommandService']),N(0xa,a[_0x29ff00(0x4ac)]),N(0xb,p[_0x29ff00(0x38f)]),N(0xc,a[_0x29ff00(0x325)])],le);let ve=class extends be{constructor(_0x274b2b,_0x16baf5,_0x5f55f9,_0x40e0eb,_0x5e287,_0x3be103=!0x1,_0x3990cf,_0x1a6a2e,_0x4ebc39,_0x148e18,_0x5b3c4a,_0x1857d3,_0x581638){const _0xe47095=_0x29ff00;super(_0x274b2b,_0x16baf5,_0x5f55f9,_0x40e0eb,_0x5e287,_0x1a6a2e,_0x4ebc39,_0x5b3c4a,_0x148e18),I(this,_0xe47095(0x2be),_0xe47095(0x3b4)),(this[_0xe47095(0x535)]=_0x3be103,this[_0xe47095(0x590)]=_0x3990cf,this[_0xe47095(0x20f)]=_0x1857d3,this[_0xe47095(0x612)]=_0x581638,this[_0xe47095(0x47a)](),this[_0xe47095(0x41d)](),this['_disableEditing']());}[_0x29ff00(0x5af)](){return this;}['onRemoteChangeset'](){return this;}[_0x29ff00(0x3fb)](){return this;}[_0x29ff00(0x520)](){return this;}[_0x29ff00(0x396)](){return this;}[_0x29ff00(0x2f3)](){return this;}[_0x29ff00(0x4b5)](){return this;}['resend'](){const _0x20b983=_0x29ff00;throw new Error(_0x20b983(0x276));}[_0x29ff00(0x41d)](){const _0x38d714=_0x29ff00;this['_localCacheService'][_0x38d714(0x4cf)](this['unitID'],this[_0x38d714(0x2eb)],null,[]);}[_0x29ff00(0x47a)](){const _0x39970c=_0x29ff00;this[_0x39970c(0x535)]?this['_notificationService'][_0x39970c(0x318)]({'title':this[_0x39970c(0x20f)]['t'](_0x39970c(0x50a)),'content':this[_0x39970c(0x20f)]['t']('permission.content'),'type':'error','duration':0x0}):this[_0x39970c(0x612)][_0x39970c(0x318)]({'title':this[_0x39970c(0x20f)]['t'](_0x39970c(0x39c)),'content':this[_0x39970c(0x20f)]['t'](_0x39970c(0x54c)),'type':_0x39970c(0x27a),'duration':0x0});}[_0x29ff00(0x677)](){const _0x381029=_0x29ff00;this[_0x381029(0x590)]['updatePermissionPoint'](new k['WorkbookEditablePermission'](this['unitID'])['id'],!0x1);}};ve=Ee([N(0x6,a['Inject'](a[_0x29ff00(0x3d1)])),N(0x7,a[_0x29ff00(0x587)]),N(0x8,a['IUndoRedoService']),N(0x9,a[_0x29ff00(0x493)](exports[_0x29ff00(0x46a)])),N(0xa,a[_0x29ff00(0x493)](p[_0x29ff00(0x59a)])),N(0xb,a[_0x29ff00(0x493)](a['LocaleService'])),N(0xc,te[_0x29ff00(0x351)])],ve);let Se=class extends be{constructor(_0x4981f7,_0xfae497,_0x15103f,_0xdc2e26,_0x28e954,_0x5e99ca,_0x29b50a,_0x3660c2,_0x53d624,_0x217f8f){const _0x33999a=_0x29ff00;super(_0x4981f7,_0xfae497,_0x15103f,_0xdc2e26,_0x28e954,_0x53d624,_0x217f8f,_0x29b50a,_0x3660c2),I(this,_0x33999a(0x2be),_0x33999a(0x4e0)),this[_0x33999a(0x1c1)]=_0x5e99ca;}[_0x29ff00(0x5af)](_0x25ea68){const _0x222f99=_0x29ff00;return this[_0x222f99(0x32a)][_0x222f99(0x3bc)](_0x25ea68),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x169765){const _0x401cd0=_0x29ff00;throw new Error(_0x401cd0(0x3fa));}[_0x29ff00(0x3fb)](){const _0x48df7c=_0x29ff00;throw new Error(_0x48df7c(0x632));}[_0x29ff00(0x520)](){const _0x283769=_0x29ff00;throw new Error(_0x283769(0x487));}[_0x29ff00(0x396)](){return this;}[_0x29ff00(0x2f3)](){return this;}[_0x29ff00(0x4b5)](){const _0xdaa558=_0x29ff00,{_injector:_0xc6e8a,_pendingMutations:_0x575469,_awaitingChangeset:_0x1904b7,unitID:_0x3df2c7,_handler:_0x15ed55,type:_0x38407b}=this,_0x313d20=gi(_0xc6e8a,_0x3df2c7,_0x38407b,_0x1904b7,_0x575469,_0x15ed55);return _0x313d20 instanceof ce?_0x313d20[_0xdaa558(0x490)]():(_0x313d20 instanceof le||_0x313d20 instanceof fe)&&_0x313d20[_0xdaa558(0x2d1)](),_0x313d20;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};Se=Ee([N(0x5,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),N(0x6,a[_0x29ff00(0x493)](p[_0x29ff00(0x59a)])),N(0x7,a['Inject'](exports['LocalCacheService'])),N(0x8,a[_0x29ff00(0x587)]),N(0x9,a['IUndoRedoService'])],Se);let re=class extends be{constructor(_0x411227,_0x4be719,_0x57ea8f,_0x248148,_0x273f24,_0x3a4908,_0x17db0a,_0x422dbe,_0x123b6e,_0xbba7bd,_0x4cfb4d,_0x268369,_0x2b3578,_0x11c508){const _0xb0395=_0x29ff00;super(_0x411227,_0x4be719,_0x57ea8f,_0x248148,_0x17db0a,_0x268369,_0x2b3578,_0x123b6e,_0xbba7bd),I(this,_0xb0395(0x2be),_0xb0395(0x225)),(this[_0xb0395(0x1ce)]=_0x273f24,this[_0xb0395(0x2ca)]=_0x3a4908,this[_0xb0395(0x1c1)]=_0x422dbe,this[_0xb0395(0x328)]=_0x4cfb4d,this['_transformService']=_0x11c508);}['onMissedChangesetFetched'](_0x7970cc){const _0x241b53=_0x29ff00;try{const _0x50c27e=[..._0x7970cc,...this[_0x241b53(0x2ca)]],_0x5dea74=[this[_0x241b53(0x416)]||this[_0x241b53(0x1ce)]]['filter'](_0x31a0af=>!!_0x31a0af);let _0x38db80,_0x1c9166;if(_0x5dea74[_0x241b53(0x5e7)]){const _0x51ece8=this['_transformService'][_0x241b53(0x507)](_0x50c27e,_0x5dea74,!0x1);if(!p['isTransformChangesetsSuccess'](_0x51ece8))throw _0x51ece8[_0x241b53(0x27a)];_0x38db80=_0x51ece8[_0x241b53(0x315)],_0x1c9166=_0x51ece8[_0x241b53(0x4c3)];}else _0x38db80=_0x50c27e,_0x1c9166=[];let _0x40ffcd=this[_0x241b53(0x32a)];_0x38db80[_0x241b53(0x3a1)](_0x258df9=>{const _0xe0b1b3=_0x241b53;let _0x57e478;if(_0x40ffcd[_0xe0b1b3(0x5e7)]){const _0x5974b2=this[_0xe0b1b3(0x449)][_0xe0b1b3(0x268)](_0x258df9,_0x40ffcd);if(!p['isTransformMutationsWithChangesetSuccess'](_0x5974b2))throw _0x5974b2['error'];_0x57e478=_0x5974b2[_0xe0b1b3(0x315)],_0x40ffcd=_0x5974b2[_0xe0b1b3(0x239)];}else _0x57e478=_0x258df9;this[_0xe0b1b3(0x3de)](_0x57e478);}),this[_0x241b53(0x1ce)]&&this[_0x241b53(0x5c1)](),this[_0x241b53(0x416)]&&_0x1c9166[_0x241b53(0x5e7)]&&(_0x1c9166[0x0][_0x241b53(0x573)]=this[_0x241b53(0x1d0)]());let _0xfe1b83;if(this[_0x241b53(0x416)]&&_0x40ffcd[_0x241b53(0x5e7)]!==0x0)_0xfe1b83=this[_0x241b53(0x1c1)]['createInstance'](le,this[_0x241b53(0x553)],this[_0x241b53(0x2eb)],_0x1c9166[0x0],_0x40ffcd,this['_handler'],void 0x0);else{if(this[_0x241b53(0x416)]&&_0x40ffcd[_0x241b53(0x5e7)]===0x0)_0x1c9166[0x0][_0x241b53(0x573)]=this[_0x241b53(0x1d0)](),_0xfe1b83=this[_0x241b53(0x1c1)][_0x241b53(0x527)](fe,this['unitID'],this[_0x241b53(0x2eb)],_0x1c9166[0x0],this[_0x241b53(0x467)]);else{if(_0x40ffcd[_0x241b53(0x5e7)]!==0x0){const _0x46ff36=this['_injector'][_0x241b53(0x527)](ce,this[_0x241b53(0x553)],this[_0x241b53(0x2eb)],_0x40ffcd,this[_0x241b53(0x467)]);_0x46ff36[_0x241b53(0x490)](),_0xfe1b83=_0x46ff36;}else _0xfe1b83=this['_injector']['createInstance'](Oe,this[_0x241b53(0x553)],this[_0x241b53(0x2eb)],this['_handler']);}}return _0xfe1b83[_0x241b53(0x611)](),_0xfe1b83;}catch(_0x5effc5){return this[_0x241b53(0x328)]['error'](_0x241b53(0x4ae),_0x241b53(0x2c6),_0x5effc5),this[_0x241b53(0x1c1)]['createInstance'](ve,this[_0x241b53(0x553)],this[_0x241b53(0x2eb)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x29ff00(0x2d1)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x29ff00(0x5af)](_0xbff9a3){const _0x21c9b9=_0x29ff00;return this[_0x21c9b9(0x32a)][_0x21c9b9(0x3bc)](_0xbff9a3),this;}['onRemoteChangeset'](_0xac903b){const _0x51b26f=_0x29ff00;return this[_0x51b26f(0x2ca)][_0x51b26f(0x3bc)](_0xac903b),this;}['onRemoteAck'](_0x4a4542){const _0x9795f6=_0x29ff00;if(this[_0x9795f6(0x416)])return this['_acknowledgedAwaitingChangeset']=this[_0x9795f6(0x416)],this[_0x9795f6(0x416)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x1b22b8){const _0x573d47=_0x29ff00;return this[_0x573d47(0x2c4)](!!(_0x1b22b8!=null&&_0x1b22b8[_0x573d47(0x300)]));}[_0x29ff00(0x396)](){return this;}[_0x29ff00(0x2f3)](){const _0x14a6f5=_0x29ff00;return this[_0x14a6f5(0x1c1)]['createInstance'](Se,this[_0x14a6f5(0x553)],this[_0x14a6f5(0x2eb)],this[_0x14a6f5(0x416)],this[_0x14a6f5(0x32a)],this[_0x14a6f5(0x467)]);}[_0x29ff00(0x4b5)](){return this;}['_onConflict'](_0x453e53){const _0x84bf73=_0x29ff00;return this[_0x84bf73(0x1c1)]['createInstance'](ve,this[_0x84bf73(0x553)],this['type'],this[_0x84bf73(0x416)],this[_0x84bf73(0x32a)],this[_0x84bf73(0x467)],_0x453e53);}};re=Ee([N(0x7,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),N(0x8,a[_0x29ff00(0x493)](p['RevisionService'])),N(0x9,a[_0x29ff00(0x493)](exports[_0x29ff00(0x46a)])),N(0xa,a[_0x29ff00(0x4ac)]),N(0xb,a[_0x29ff00(0x587)]),N(0xc,a[_0x29ff00(0x325)]),N(0xd,p[_0x29ff00(0x38f)])],re);function gi(_0x15c78c,_0x5e68db,_0x14eea8,_0x1b5f89,_0x45ea5b,_0x4bc5eb){const _0x54876b=_0x29ff00;return _0x1b5f89&&_0x45ea5b[_0x54876b(0x5e7)]?_0x15c78c[_0x54876b(0x527)](le,_0x5e68db,_0x14eea8,_0x1b5f89,_0x45ea5b,_0x4bc5eb,void 0x0):_0x1b5f89?_0x15c78c[_0x54876b(0x527)](fe,_0x5e68db,_0x14eea8,_0x1b5f89,_0x4bc5eb):_0x45ea5b['length']?_0x15c78c[_0x54876b(0x527)](ce,_0x5e68db,_0x14eea8,_0x45ea5b,_0x4bc5eb):_0x15c78c['createInstance'](Oe,_0x5e68db,_0x14eea8,_0x4bc5eb);}var Vn=Object[_0x29ff00(0x64a)],Gn=Object['getOwnPropertyDescriptor'],Ot=(_0x58fba9,_0x1705d8,_0x138832,_0x41f3f7)=>{const _0x266ccb=_0x29ff00;for(var _0x2aa65d=_0x41f3f7>0x1?void 0x0:_0x41f3f7?Gn(_0x1705d8,_0x138832):_0x1705d8,_0x3ed92b=_0x58fba9[_0x266ccb(0x5e7)]-0x1,_0x4a09eb;_0x3ed92b>=0x0;_0x3ed92b--)(_0x4a09eb=_0x58fba9[_0x3ed92b])&&(_0x2aa65d=(_0x41f3f7?_0x4a09eb(_0x1705d8,_0x138832,_0x2aa65d):_0x4a09eb(_0x2aa65d))||_0x2aa65d);return _0x41f3f7&&_0x2aa65d&&Vn(_0x1705d8,_0x138832,_0x2aa65d),_0x2aa65d;},H=(_0x22d736,_0x59a6f0)=>(_0x4fffd9,_0x4823c0)=>_0x59a6f0(_0x4fffd9,_0x4823c0,_0x22d736);exports[_0x29ff00(0x21e)]=class extends a['RxDisposable']{constructor(_0x2833ce,_0x160a5c,_0x4e7378,_0x430d1c,_0x2f5447,_0x5415a7,_0x346243,_0x303cf1,_0x20bd19,_0x3a0dd8,_0x347aac,_0x427877,_0x4457e4){const _0x1047fc=_0x29ff00;super(),I(this,'_state$',new A[(_0x1047fc(0x26c))](null)),I(this,_0x1047fc(0x4bf),this[_0x1047fc(0x36d)][_0x1047fc(0x4c6)]()),I(this,'_state'),I(this,'_collaborationPaused',!0x1),I(this,_0x1047fc(0x3d8),''),I(this,_0x1047fc(0x3b5),0x0),I(this,_0x1047fc(0x405),this[_0x1047fc(0x4bf)]['pipe'](A[_0x1047fc(0x4db)](_0x34648d=>_0x34648d?_0x34648d[_0x1047fc(0x2be)]:q['OFFLINE']),A['shareReplay'](0x1))),I(this,_0x1047fc(0x673),!0x1),I(this,'_remoteChangesetQueue',[]),(this[_0x1047fc(0x553)]=_0x2833ce,this['session']=_0x160a5c,this[_0x1047fc(0x201)]=_0x4e7378,this[_0x1047fc(0x1c1)]=_0x430d1c,this['_localCacheService']=_0x2f5447,this['_compressMutationService']=_0x5415a7,this[_0x1047fc(0x20f)]=_0x346243,this[_0x1047fc(0x2a8)]=_0x303cf1,this[_0x1047fc(0x328)]=_0x20bd19,this['_commandService']=_0x3a0dd8,this['_messageService']=_0x347aac,this[_0x1047fc(0x590)]=_0x427877,this['_singleActiveUnitService']=_0x4457e4);}get[_0x29ff00(0x1d2)](){const _0x253cf1=_0x29ff00;return this[_0x253cf1(0x5d1)];}async[_0x29ff00(0x334)](){const _0x4fac84=_0x29ff00;if(this[_0x4fac84(0x1d2)])throw new Error(_0x4fac84(0x4d3));await this[_0x4fac84(0x5c4)]();}[_0x29ff00(0x304)](){const _0x4a32dc=_0x29ff00;return this[_0x4a32dc(0x2a4)]=!0x0,a['toDisposable'](()=>{const _0x58c8eb=_0x4a32dc;this['_collaborationPaused']=!0x1,this[_0x58c8eb(0x21c)]();});}[_0x29ff00(0x1f0)](_0x5d43b3){const _0x4d5731=_0x29ff00;this['_state']=_0x5d43b3,this['_state$'][_0x4d5731(0x49f)](_0x5d43b3);}async[_0x29ff00(0x5c4)](){const _0x2ef1db=_0x29ff00;var _0x591a96;this[_0x2ef1db(0x1f0)](await this[_0x2ef1db(0x269)]()),this[_0x2ef1db(0x2d5)]&&((_0x591a96=this[_0x2ef1db(0x2d5)])==null||_0x591a96['editingUnit'](this[_0x2ef1db(0x553)]),this['disposeWithMe'](this[_0x2ef1db(0x2d5)][_0x2ef1db(0x1ff)](this[_0x2ef1db(0x553)])[_0x2ef1db(0x58f)](_0x468bf6=>{const _0x564c84=_0x2ef1db;this[_0x564c84(0x328)][_0x564c84(0x226)](_0x564c84(0x502),_0x564c84(0x5e2),_0x468bf6),_0x468bf6===vi['OTHER_CLIENTS_EDITING']?(this[_0x564c84(0x47e)][_0x564c84(0x318)]({'content':this['_localeService']['t'](_0x564c84(0x3c1)),'type':Ce[_0x564c84(0x506)]['Warning']}),this[_0x564c84(0x590)][_0x564c84(0x366)](new k[(_0x564c84(0x58d))](this[_0x564c84(0x553)])['id'],!0x1),this[_0x564c84(0x590)][_0x564c84(0x357)](!0x1)):(this[_0x564c84(0x590)]['updatePermissionPoint'](new k[(_0x564c84(0x58d))](this[_0x564c84(0x553)])['id'],!0x0),this[_0x564c84(0x590)]['setShowComponents'](!0x0));})));let _0xb824b=!0x1;return this['disposeWithMe'](this[_0x2ef1db(0x257)]['sessionStatus$']['subscribe'](_0x52fb5f=>{const _0x1ad996=_0x2ef1db;_0x52fb5f===se['ONLINE']?this['_toggleOnline'](_0xb824b):_0x52fb5f===se[_0x1ad996(0x548)]&&(_0xb824b=!0x0,this[_0x1ad996(0x223)]());})),this['disposeWithMe'](this[_0x2ef1db(0x257)][_0x2ef1db(0x48a)][_0x2ef1db(0x58f)](_0x590954=>{const _0x3d26d6=_0x2ef1db;try{switch(_0x590954[_0x3d26d6(0x55b)]){case p[_0x3d26d6(0x259)][_0x3d26d6(0x402)]:{this[_0x3d26d6(0x212)](p[_0x3d26d6(0x608)](_0x590954['data']));break;}case p['CollaborationEvent'][_0x3d26d6(0x249)]:{this['_onRemoteACK'](_0x590954[_0x3d26d6(0x3eb)]);break;}case p['CollaborationEvent'][_0x3d26d6(0x55a)]:{this[_0x3d26d6(0x480)]();break;}case p[_0x3d26d6(0x259)]['CHANGESET_SHOULD_RETRY']:{this[_0x3d26d6(0x4be)](_0x590954[_0x3d26d6(0x3eb)]);break;}case p[_0x3d26d6(0x259)][_0x3d26d6(0x4e6)]:{this[_0x3d26d6(0x28b)](_0x590954['data'][_0x3d26d6(0x684)][_0x3d26d6(0x4db)](_0x10ed70=>p['parseProtocolChangeset'](_0x10ed70)));break;}case p[_0x3d26d6(0x259)][_0x3d26d6(0x4f1)]:this[_0x3d26d6(0x480)]({'isPermissionRej':!0x0});}}catch(_0x3047a3){throw console[_0x3d26d6(0x27a)]('Error\x20on\x20receiving\x20event',_0x3047a3),_0x3047a3;}})),this['_state'];}[_0x29ff00(0x652)](){this['_transitionLocked']=!0x1;}[_0x29ff00(0x531)](){const _0x3337c7=_0x29ff00;if(this[_0x3337c7(0x673)])throw new Error(_0x3337c7(0x340));this[_0x3337c7(0x673)]=!0x0;}[_0x29ff00(0x65a)](_0x2d1265){const _0x8ad526=_0x29ff00;this[_0x8ad526(0x531)](),this[_0x8ad526(0x1f0)](this[_0x8ad526(0x5d1)]['appendMutation'](_0x2d1265)),this[_0x8ad526(0x652)]();}[_0x29ff00(0x212)](_0x545890){const _0x48ecab=_0x29ff00;if(!(_0x545890[_0x48ecab(0x5fe)]<=this[_0x48ecab(0x2a8)][_0x48ecab(0x309)](this[_0x48ecab(0x553)]))){if(this[_0x48ecab(0x2a4)]){this[_0x48ecab(0x4e8)]['push'](_0x545890);return;}this[_0x48ecab(0x65b)](_0x545890);}}[_0x29ff00(0x21c)](){const _0x39aced=_0x29ff00;this[_0x39aced(0x4e8)][_0x39aced(0x3a1)](_0x3e31b6=>this[_0x39aced(0x65b)](_0x3e31b6)),this[_0x39aced(0x4e8)]=[];}[_0x29ff00(0x65b)](_0x10dc7c){const _0x1b1f00=_0x29ff00,_0xfdc15=this[_0x1b1f00(0x5f5)]['interceptor'][_0x1b1f00(0x5f0)](this[_0x1b1f00(0x5f5)][_0x1b1f00(0x48d)]['getInterceptPoints']()[_0x1b1f00(0x56b)])(_0x10dc7c[_0x1b1f00(0x219)],null)||_0x10dc7c[_0x1b1f00(0x219)],_0x585e2e={..._0x10dc7c,'mutations':_0xfdc15};this['_lockTransition'](),this['_updateState'](this[_0x1b1f00(0x5d1)][_0x1b1f00(0x4c5)](_0x585e2e)),this['_unlockTransition']();}[_0x29ff00(0x2a9)](_0x2da6fe){const _0x41dc0e=_0x29ff00;this['_lockTransition'](),this[_0x41dc0e(0x1f0)](this[_0x41dc0e(0x5d1)][_0x41dc0e(0x3fb)](_0x2da6fe)),this[_0x41dc0e(0x652)]();}[_0x29ff00(0x480)](_0x514e1c){const _0x20a084=_0x29ff00;this[_0x20a084(0x531)](),this[_0x20a084(0x1f0)](this['_state'][_0x20a084(0x520)](_0x514e1c)),this['_unlockTransition']();}[_0x29ff00(0x4be)](_0x3024fd){const _0x3f4642=_0x29ff00;this['_lockTransition'](),this['_updateState'](this[_0x3f4642(0x5d1)][_0x3f4642(0x396)](_0x3024fd)),this[_0x3f4642(0x652)]();}[_0x29ff00(0x28b)](_0x30f4f9){const _0x3a1fa5=_0x29ff00;if(!(this[_0x3a1fa5(0x5d1)]instanceof re))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x11196e=_0x30f4f9['map'](_0x4d1992=>{const _0x15dd66=_0x3a1fa5,_0x28ec67=this[_0x15dd66(0x5f5)]['interceptor']['fetchThroughInterceptors'](this[_0x15dd66(0x5f5)]['interceptor'][_0x15dd66(0x5f4)]()[_0x15dd66(0x56b)])(_0x4d1992[_0x15dd66(0x219)],null)||_0x4d1992[_0x15dd66(0x219)];return{..._0x4d1992,'mutations':_0x28ec67};});this[_0x3a1fa5(0x531)](),this[_0x3a1fa5(0x1f0)](this[_0x3a1fa5(0x5d1)][_0x3a1fa5(0x584)](_0x11196e)),this[_0x3a1fa5(0x652)]();}[_0x29ff00(0x223)](){const _0x19b900=_0x29ff00;this['_lockTransition'](),this[_0x19b900(0x1f0)](this[_0x19b900(0x5d1)][_0x19b900(0x2f3)]()),this[_0x19b900(0x652)]();}[_0x29ff00(0x5d4)](_0x50cfb5=!0x1){const _0x184b21=_0x29ff00;this['_lockTransition'](),this['_updateState'](this[_0x184b21(0x5d1)]['toggleOnline']()),this['_unlockTransition']();const _0x3cd8b1=this[_0x184b21(0x5d1)];_0x50cfb5&&_0x3cd8b1 instanceof Oe&&(this[_0x184b21(0x531)](),this[_0x184b21(0x1f0)](_0x3cd8b1['fetchMiss']()),this[_0x184b21(0x652)]());}async['_createInitialState'](){return new Promise(_0x50074b=>{const _0x3e4404=_0x2f26;this['session'][_0x3e4404(0x299)]['pipe'](A[_0x3e4404(0x3d7)](0x1))[_0x3e4404(0x58f)](async _0x408361=>{const _0x1196df=_0x3e4404;_0x50074b(await this[_0x1196df(0x319)](_0x408361===se[_0x1196df(0x572)]));});});}[_0x29ff00(0x2a3)](){const _0xc131cc=_0x29ff00,_0x49b60e=this[_0xc131cc(0x553)];return{'onStateChange':(_0x1f1143,_0x35c35f)=>{const _0x4583b3=_0xc131cc;if(_0x1f1143!==this[_0x4583b3(0x5d1)])throw new Error(_0x4583b3(0x389)+_0x1f1143[_0x4583b3(0x2be)]+'\x0aAfter:\x20'+_0x35c35f[_0x4583b3(0x2be)]+_0x4583b3(0x33e)+this[_0x4583b3(0x5d1)]['status']);this[_0x4583b3(0x1f0)](_0x35c35f);},'onSendChangeset':_0x1ceaa0=>{const _0x42f0df=_0xc131cc;_0x1ceaa0[_0x42f0df(0x585)]||(_0x1ceaa0['sid']=this[_0x42f0df(0x3d8)],_0x1ceaa0[_0x42f0df(0x44e)]=++this['_changesetReqId']);const _0x331243={'eventID':p[_0x42f0df(0x259)][_0x42f0df(0x2c8)],'data':{'unitID':_0x1ceaa0[_0x42f0df(0x553)],'unitType':this[_0x42f0df(0x201)],'changeset':_0x1ceaa0,'memberID':this[_0x42f0df(0x257)][_0x42f0df(0x40a)]()}};this[_0x42f0df(0x257)][_0x42f0df(0x385)](_0x331243,this[_0x42f0df(0x553)]);},'onMissingChangesets':({from:_0x1f4820,to:_0x384e91})=>{const _0x4339a6=_0xc131cc;this['_logService'][_0x4339a6(0x226)](_0x4339a6(0x502),_0x4339a6(0x4e4)+_0x1f4820+_0x4339a6(0x446)+_0x384e91);const _0x3b7798={'eventID':p[_0x4339a6(0x259)][_0x4339a6(0x414)],'data':{'unitID':_0x49b60e,'unitType':this[_0x4339a6(0x201)],'from':_0x1f4820,'to':_0x384e91}};this['session']['send'](_0x3b7798,this[_0x4339a6(0x553)]);}};}async[_0x29ff00(0x319)](_0x2104c2){const _0x4c94e1=_0x29ff00;var _0x3e71e6,_0x1f7181;const _0x2e1505=await this['_localCacheService'][_0x4c94e1(0x26d)](this[_0x4c94e1(0x553)]),_0x4888f4=(_0x3e71e6=_0x2e1505==null?void 0x0:_0x2e1505[_0x4c94e1(0x219)])!=null?_0x3e71e6:[],_0xcb74de=(_0x1f7181=_0x2e1505==null?void 0x0:_0x2e1505[_0x4c94e1(0x247)])!=null?_0x1f7181:null,_0x467acb=!!(_0xcb74de!=null&&_0xcb74de[_0x4c94e1(0x585)])&&!!(_0xcb74de!=null&&_0xcb74de[_0x4c94e1(0x44e)]);this['_changesetSessionId']=_0x467acb?_0xcb74de['sid']:In(),this['_changesetReqId']=_0x467acb?_0xcb74de[_0x4c94e1(0x44e)]:0x0;const _0x5b7926=this[_0x4c94e1(0x553)];try{this[_0x4c94e1(0x680)](_0xcb74de,_0x4888f4);}catch(_0x410a20){this[_0x4c94e1(0x328)][_0x4c94e1(0x27a)](_0x410a20);}const _0x27a4de=this[_0x4c94e1(0x2a3)]();if(_0x2104c2){const _0x38fecd=gi(this[_0x4c94e1(0x1c1)],_0x5b7926,this[_0x4c94e1(0x201)],_0xcb74de,_0x4888f4,_0x27a4de);return _0x38fecd instanceof ce?_0x38fecd[_0x4c94e1(0x490)]():(_0x38fecd instanceof le||_0x38fecd instanceof fe)&&_0x38fecd['resend'](),_0x38fecd;}return this['_injector'][_0x4c94e1(0x527)](Se,_0x5b7926,this['_type'],_0xcb74de,_0x4888f4,_0x27a4de);}[_0x29ff00(0x680)](_0x4324ec,_0xc36787){const _0x2c33ce=_0x29ff00;var _0x29ca63,_0x5edd86;const _0x2709e6=this[_0x2c33ce(0x5f5)]['interceptor']['fetchThroughInterceptors'](this[_0x2c33ce(0x5f5)]['interceptor']['getInterceptPoints']()[_0x2c33ce(0x56b)]);(_0x29ca63=_0x2709e6((_0x4324ec==null?void 0x0:_0x4324ec[_0x2c33ce(0x219)])||[],null))==null||_0x29ca63[_0x2c33ce(0x3a1)](_0x1aea94=>this[_0x2c33ce(0x5b4)]['executeCommand'](_0x1aea94['id'],_0x1aea94[_0x2c33ce(0x447)])),(_0x5edd86=_0x2709e6(_0xc36787||[],null))==null||_0x5edd86[_0x2c33ce(0x3a1)](_0x34f8e2=>this[_0x2c33ce(0x5b4)][_0x2c33ce(0x645)](_0x34f8e2['id'],_0x34f8e2[_0x2c33ce(0x447)]));}},exports[_0x29ff00(0x21e)]=Ot([H(0x3,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),H(0x4,a[_0x29ff00(0x493)](exports[_0x29ff00(0x46a)])),H(0x5,a[_0x29ff00(0x493)](p[_0x29ff00(0x31b)])),H(0x6,a['Inject'](a[_0x29ff00(0x430)])),H(0x7,a[_0x29ff00(0x493)](p[_0x29ff00(0x59a)])),H(0x8,a[_0x29ff00(0x4ac)]),H(0x9,a['ICommandService']),H(0xa,te[_0x29ff00(0x47f)]),H(0xb,a[_0x29ff00(0x3d1)]),H(0xc,a[_0x29ff00(0x437)](ze))],exports[_0x29ff00(0x21e)]),exports[_0x29ff00(0x5dd)]=class extends exports['CollaborationEntity']{constructor(_0x8c973c,_0x424c0a,_0x16e92f,_0x2fa510,_0x231082,_0x5836a9,_0x5f0b98,_0x24401e,_0x3a7ecf,_0x1e2d26,_0x4776ed,_0x5e2454,_0x1c91bd,_0x57590e,_0xb9bf2b,_0x185eab,_0x288ee9,_0x182037){const _0x57341b=_0x29ff00;super(_0x8c973c,_0x16e92f,_0x424c0a,_0x2fa510,_0x231082,_0x5836a9,_0x5f0b98,_0x24401e,_0x57590e,_0xb9bf2b,_0x185eab,_0x288ee9,_0x182037),this[_0x57341b(0x553)]=_0x8c973c,this['type']=_0x424c0a,this[_0x57341b(0x1cc)]=_0x3a7ecf,this[_0x57341b(0x2ed)]=_0x1e2d26,this[_0x57341b(0x5eb)]=_0x4776ed,this[_0x57341b(0x330)]=_0x5e2454,this['_docSyncEditingCollabCursorService']=_0x1c91bd;}[_0x29ff00(0x2a3)](){const _0x20ff1c=_0x29ff00,_0x532888=super['_createHandler']();return _0x532888[_0x20ff1c(0x420)]=_0x25ad31=>this[_0x20ff1c(0x2ed)]['transformIMECache'](_0x25ad31),_0x532888['onTransformState']=_0x2d6233=>this[_0x20ff1c(0x5eb)][_0x20ff1c(0x46f)](_0x2d6233),_0x532888['onTransformSelections']=_0x145c90=>this[_0x20ff1c(0x330)][_0x20ff1c(0x2c1)](_0x145c90),_0x532888[_0x20ff1c(0x46b)]=_0x56b722=>this[_0x20ff1c(0x1f7)][_0x20ff1c(0x329)](_0x56b722),_0x532888['onTransformRemoteChangesetByIMECache']=_0x2c5a17=>this['_docTransformIMECacheService'][_0x20ff1c(0x5ef)](_0x2c5a17),_0x532888['onTransformRemoteChangesetByStateCache']=_0x1023ba=>this[_0x20ff1c(0x5eb)]['transformRemoteChangeset'](_0x1023ba),_0x532888;}async[_0x29ff00(0x5c4)](){const _0x73d7d6=_0x29ff00,_0x462d98=await super['_init']();return this[_0x73d7d6(0x665)](this[_0x73d7d6(0x1cc)]['docStateChange$'][_0x73d7d6(0x619)](A[_0x73d7d6(0x264)](this['dispose$']))['subscribe'](_0x37543f=>{const _0x2a254b=_0x73d7d6;if(_0x37543f==null)return;const {unitId:_0x1c94a4,redoState:_0x2fc778,commandId:_0x40a3b0}=_0x37543f;if(_0x1c94a4!==this['unitID'])return;const _0x118cef={'id':_0x40a3b0,'type':a[_0x2a254b(0x688)][_0x2a254b(0x501)],'params':{'unitId':_0x1c94a4,'actions':_0x2fc778[_0x2a254b(0x4fc)],'textRanges':null}};this[_0x2a254b(0x65a)](_0x118cef);})),this['disposeWithMe'](this[_0x73d7d6(0x5b4)][_0x73d7d6(0x3f0)]((_0x328fbc,_0x26ec82)=>{const _0x2bd4d4=_0x73d7d6;if(_0x328fbc[_0x2bd4d4(0x2eb)]!==a[_0x2bd4d4(0x688)]['MUTATION']||_0x26ec82!=null&&_0x26ec82[_0x2bd4d4(0x2ea)]||_0x26ec82!=null&&_0x26ec82[_0x2bd4d4(0x205)]||_0x328fbc['id']===Ie[_0x2bd4d4(0x344)]['id'])return;const _0xe80703=_0x328fbc[_0x2bd4d4(0x447)];if((_0xe80703==null?void 0x0:_0xe80703['unitId'])!==this['unitID'])return;const _0x506afa=_0x328fbc,_0x2ff636=this[_0x2bd4d4(0x5f5)][_0x2bd4d4(0x48d)][_0x2bd4d4(0x5f0)](this[_0x2bd4d4(0x5f5)][_0x2bd4d4(0x48d)][_0x2bd4d4(0x5f4)]()[_0x2bd4d4(0x57f)])([_0x506afa],null)||[_0x506afa];this['_onLocalMutation'](_0x2ff636[0x0]);})),_0x462d98;}},exports['DocCollaborationEntity']=Ot([H(0x3,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),H(0x4,a['Inject'](exports[_0x29ff00(0x46a)])),H(0x5,a[_0x29ff00(0x493)](p[_0x29ff00(0x31b)])),H(0x6,a[_0x29ff00(0x493)](a[_0x29ff00(0x430)])),H(0x7,a['Inject'](p[_0x29ff00(0x59a)])),H(0x8,a[_0x29ff00(0x493)](J['DocStateChangeManagerService'])),H(0x9,a[_0x29ff00(0x493)](Be)),H(0xa,a[_0x29ff00(0x493)](We)),H(0xb,a[_0x29ff00(0x493)](Fe)),H(0xc,a[_0x29ff00(0x493)](yt)),H(0xd,a[_0x29ff00(0x4ac)]),H(0xe,a['ICommandService']),H(0xf,te['IMessageService']),H(0x10,a[_0x29ff00(0x3d1)]),H(0x11,a[_0x29ff00(0x437)](ze))],exports[_0x29ff00(0x5dd)]),exports['SheetCollaborationEntity']=class extends exports[_0x29ff00(0x21e)]{constructor(_0x572828,_0x176339,_0x2ff00,_0x347df6,_0x3defdc,_0x525edd,_0x495dcb,_0x5b3b78,_0x4f85fd,_0xb954f8,_0x31277d,_0x5c90d2,_0x3ecd55,_0x1c6b3a){const _0x3c8dc8=_0x29ff00;super(_0x572828,_0x2ff00,_0x176339,_0x347df6,_0x3defdc,_0x525edd,_0x495dcb,_0x5b3b78,_0xb954f8,_0x31277d,_0x5c90d2,_0x3ecd55,_0x1c6b3a),this[_0x3c8dc8(0x553)]=_0x572828,this['type']=_0x176339,this[_0x3c8dc8(0x4df)]=_0x4f85fd;}['_createHandler'](){const _0x41209a=_0x29ff00,_0xc49e7e=super[_0x41209a(0x2a3)]();return _0xc49e7e[_0x41209a(0x289)]=_0x38b6f1=>this['_sheetTransformSelectionsService'][_0x41209a(0x2c1)](_0x38b6f1),_0xc49e7e;}async['_init'](){const _0x20126d=_0x29ff00,_0xc095bb=await super['_init']();return this[_0x20126d(0x665)](this[_0x20126d(0x5b4)][_0x20126d(0x3f0)]((_0x1d764e,_0x53d194)=>{const _0x3818b4=_0x20126d;if(_0x1d764e[_0x3818b4(0x2eb)]!==a[_0x3818b4(0x688)]['MUTATION']||_0x53d194!=null&&_0x53d194[_0x3818b4(0x2ea)]||_0x53d194!=null&&_0x53d194[_0x3818b4(0x205)])return;const _0x422768=_0x1d764e[_0x3818b4(0x447)];if((_0x422768==null?void 0x0:_0x422768[_0x3818b4(0x21b)])!==this[_0x3818b4(0x553)])return;const _0x50fa92=_0x1d764e,_0xcb9060=this[_0x3818b4(0x5f5)]['interceptor'][_0x3818b4(0x5f0)](this['_compressMutationService'][_0x3818b4(0x48d)]['getInterceptPoints']()[_0x3818b4(0x57f)])([_0x50fa92],null)||[_0x50fa92];this['_onLocalMutation'](_0xcb9060[0x0]);})),_0xc095bb;}},exports[_0x29ff00(0x5cd)]=Ot([H(0x3,a['Inject'](a[_0x29ff00(0x615)])),H(0x4,a[_0x29ff00(0x493)](exports[_0x29ff00(0x46a)])),H(0x5,a[_0x29ff00(0x493)](p[_0x29ff00(0x31b)])),H(0x6,a[_0x29ff00(0x493)](a[_0x29ff00(0x430)])),H(0x7,a['Inject'](p[_0x29ff00(0x59a)])),H(0x8,a['Inject'](ke)),H(0x9,a[_0x29ff00(0x4ac)]),H(0xa,a[_0x29ff00(0x587)]),H(0xb,te[_0x29ff00(0x47f)]),H(0xc,a['IPermissionService']),H(0xd,a['Optional'](ze))],exports[_0x29ff00(0x5cd)]);var Yn=Object[_0x29ff00(0x64a)],Kn=Object['getOwnPropertyDescriptor'],qn=(_0x5db910,_0x5ef03e,_0x3b3cb6,_0xd372f1)=>{const _0x39828b=_0x29ff00;for(var _0x1a784f=_0xd372f1>0x1?void 0x0:_0xd372f1?Kn(_0x5ef03e,_0x3b3cb6):_0x5ef03e,_0x42d3cc=_0x5db910[_0x39828b(0x5e7)]-0x1,_0xa4d0ed;_0x42d3cc>=0x0;_0x42d3cc--)(_0xa4d0ed=_0x5db910[_0x42d3cc])&&(_0x1a784f=(_0xd372f1?_0xa4d0ed(_0x5ef03e,_0x3b3cb6,_0x1a784f):_0xa4d0ed(_0x1a784f))||_0x1a784f);return _0xd372f1&&_0x1a784f&&Yn(_0x5ef03e,_0x3b3cb6,_0x1a784f),_0x1a784f;},it=(_0x51545e,_0x3d2ae7)=>(_0x1af94e,_0x3b7fe5)=>_0x3d2ae7(_0x1af94e,_0x3b7fe5,_0x51545e);exports['CollaborationController']=class extends a['RxDisposable']{constructor(_0x30aca5,_0x1d0196,_0x403a3e){const _0x33b534=_0x29ff00;super(),I(this,_0x33b534(0x221),new Map()),I(this,_0x33b534(0x23b),new A[(_0x33b534(0x534))]()),(this['_injector']=_0x30aca5,this[_0x33b534(0x653)]=_0x1d0196,this[_0x33b534(0x600)]=_0x403a3e,this[_0x33b534(0x5c4)]());}['dispose'](){const _0x227e53=_0x29ff00;super[_0x227e53(0x5e6)](),this[_0x227e53(0x221)][_0x227e53(0x3a1)](_0x13d72e=>_0x13d72e['dispose']()),this[_0x227e53(0x221)]['clear']();}[_0x29ff00(0x55f)](_0x14703f){const _0x479e27=_0x29ff00;var _0x1dfe32;return(_0x1dfe32=this[_0x479e27(0x221)][_0x479e27(0x2ef)](_0x14703f))!=null?_0x1dfe32:null;}[_0x29ff00(0x388)](_0x3a4b09){const _0xe7e556=_0x29ff00,_0x5c9441=this[_0xe7e556(0x55f)](_0x3a4b09);return _0x5c9441?A['of'](_0x5c9441):this[_0xe7e556(0x23b)][_0xe7e556(0x619)](V[_0xe7e556(0x604)](_0x51994f=>_0x51994f[_0xe7e556(0x553)]===_0x3a4b09));}[_0x29ff00(0x5c4)](){const _0xa202e7=_0x29ff00;this[_0xa202e7(0x600)][_0xa202e7(0x460)](a['UniverInstanceType'][_0xa202e7(0x3d0)])['pipe'](A[_0xa202e7(0x264)](this[_0xa202e7(0x2b6)]),V[_0xa202e7(0x3bd)](0x10))[_0xa202e7(0x58f)](async _0x4e9243=>{const _0x14b4e8=_0xa202e7,_0x29830f=_0x4e9243[_0x14b4e8(0x621)](),_0x38bbf2=await this[_0x14b4e8(0x500)](_0x29830f,ne['UNIVER_SHEET']);this['_entities'][_0x14b4e8(0x20a)](_0x29830f,_0x38bbf2);}),this[_0xa202e7(0x600)][_0xa202e7(0x460)](a[_0xa202e7(0x5ce)][_0xa202e7(0x4f0)])[_0xa202e7(0x619)](A[_0xa202e7(0x264)](this[_0xa202e7(0x2b6)]),V[_0xa202e7(0x3bd)](0x10))[_0xa202e7(0x619)](V[_0xa202e7(0x604)](_0x16b6cb=>!_0x16b6cb[_0xa202e7(0x621)]()[_0xa202e7(0x66a)]('__')))[_0xa202e7(0x58f)](async _0x1a6cd1=>{const _0x17f0e1=_0xa202e7,_0x4ff208=_0x1a6cd1[_0x17f0e1(0x621)](),_0x1f80ed=await this[_0x17f0e1(0x500)](_0x4ff208,ne[_0x17f0e1(0x4f0)]);this[_0x17f0e1(0x221)]['set'](_0x4ff208,_0x1f80ed);}),A[_0xa202e7(0x5ed)](this['_univerInstanceService'][_0xa202e7(0x365)](a[_0xa202e7(0x5ce)][_0xa202e7(0x3d0)]),this[_0xa202e7(0x600)][_0xa202e7(0x365)](a['UniverInstanceType'][_0xa202e7(0x4f0)]))[_0xa202e7(0x619)](A[_0xa202e7(0x264)](this[_0xa202e7(0x2b6)]))[_0xa202e7(0x58f)](_0x143754=>{const _0xeedd2=_0xa202e7,_0x50b74b=_0x143754[_0xeedd2(0x621)](),_0x5a1b1e=this['_entities'][_0xeedd2(0x2ef)](_0x50b74b);_0x5a1b1e&&(_0x5a1b1e[_0xeedd2(0x5e6)](),this[_0xeedd2(0x221)][_0xeedd2(0x3dc)](_0x50b74b));});}async['_startCollaboration'](_0x353db0,_0x1e7c5e){const _0x263b0c=_0x29ff00,_0x3c4baa=await this[_0x263b0c(0x653)]['requireSession'](_0x353db0),_0x149bbe=this[_0x263b0c(0x1c1)][_0x263b0c(0x527)](this[_0x263b0c(0x47b)](_0x1e7c5e),_0x353db0,_0x1e7c5e,_0x3c4baa);return await _0x149bbe[_0x263b0c(0x334)](),this[_0x263b0c(0x23b)][_0x263b0c(0x49f)](_0x149bbe),_0x149bbe;}[_0x29ff00(0x47b)](_0x3bcdd2){const _0x36a95b=_0x29ff00;switch(_0x3bcdd2){case ne[_0x36a95b(0x4f0)]:return exports['DocCollaborationEntity'];case ne[_0x36a95b(0x3d0)]:return exports[_0x36a95b(0x5cd)];default:throw new Error(_0x36a95b(0x4fb)+_0x3bcdd2);}}},exports[_0x29ff00(0x323)]=qn([it(0x0,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),it(0x1,a[_0x29ff00(0x493)](exports['CollaborationSessionService'])),it(0x2,a['IUniverInstanceService'])],exports[_0x29ff00(0x323)]);var zn=Object[_0x29ff00(0x64a)],Xn=Object[_0x29ff00(0x316)],Jn=(_0x691a60,_0x18168a,_0x3a2ae0,_0x5316ed)=>{const _0x5cb4a0=_0x29ff00;for(var _0x4fb858=_0x5316ed>0x1?void 0x0:_0x5316ed?Xn(_0x18168a,_0x3a2ae0):_0x18168a,_0x4379de=_0x691a60[_0x5cb4a0(0x5e7)]-0x1,_0x4233e0;_0x4379de>=0x0;_0x4379de--)(_0x4233e0=_0x691a60[_0x4379de])&&(_0x4fb858=(_0x5316ed?_0x4233e0(_0x18168a,_0x3a2ae0,_0x4fb858):_0x4233e0(_0x4fb858))||_0x4fb858);return _0x5316ed&&_0x4fb858&&zn(_0x18168a,_0x3a2ae0,_0x4fb858),_0x4fb858;},Bt=(_0x16ad59,_0x2478cb)=>(_0x39d78e,_0x45a125)=>_0x2478cb(_0x39d78e,_0x45a125,_0x16ad59);let Ve=class extends a[_0x29ff00(0x4b0)]{constructor(_0x637dd5,_0x22b9c3){const _0x1344e0=_0x29ff00;super(),this[_0x1344e0(0x51e)]=_0x637dd5,this[_0x1344e0(0x433)]=_0x22b9c3,this['_init']();}['_init'](){const _0x12dac7=_0x29ff00,_0x41faea=this;this[_0x12dac7(0x665)](this[_0x12dac7(0x51e)][_0x12dac7(0x586)]({'onBeforePasteImage':async _0x162c36=>{const _0x41eaf1=_0x12dac7,_0x496761=await _0x41faea[_0x41eaf1(0x433)][_0x41eaf1(0x3f6)](_0x162c36);return _0x496761?{'source':_0x496761[_0x41eaf1(0x214)],'imageSourceType':_0x496761[_0x41eaf1(0x248)]}:null;}}));}};Ve=Jn([Bt(0x0,J[_0x29ff00(0x222)]),Bt(0x1,ie[_0x29ff00(0x509)])],Ve);const kt=[_0x29ff00(0x2b9),_0x29ff00(0x333),_0x29ff00(0x46d),'red300',_0x29ff00(0x362),_0x29ff00(0x1f5)];class Dt extends a[_0x29ff00(0x331)]{constructor(){const _0x408b51=_0x29ff00;super(...arguments),I(this,'_assignedColors',new Map()),I(this,_0x408b51(0x668),0x0);}[_0x29ff00(0x255)](_0x4a0403){const _0x4b46f5=_0x29ff00;if(this[_0x4b46f5(0x67f)][_0x4b46f5(0x38d)](_0x4a0403))return this['_assignedColors'][_0x4b46f5(0x2ef)](_0x4a0403);const _0x391d74=kt[this['_colorIndex']];return this[_0x4b46f5(0x668)]=(this[_0x4b46f5(0x668)]+0x1)%kt[_0x4b46f5(0x5e7)],this['_assignedColors'][_0x4b46f5(0x20a)](_0x4a0403,_0x391d74),_0x391d74;}}var Zn=Object['defineProperty'],Qn=Object[_0x29ff00(0x316)],es=(_0x3e5b2e,_0xdab1f8,_0xfb0ff3,_0x152f39)=>{const _0x34b3cf=_0x29ff00;for(var _0x31afd2=_0x152f39>0x1?void 0x0:_0x152f39?Qn(_0xdab1f8,_0xfb0ff3):_0xdab1f8,_0x2b230b=_0x3e5b2e[_0x34b3cf(0x5e7)]-0x1,_0x4908ce;_0x2b230b>=0x0;_0x2b230b--)(_0x4908ce=_0x3e5b2e[_0x2b230b])&&(_0x31afd2=(_0x152f39?_0x4908ce(_0xdab1f8,_0xfb0ff3,_0x31afd2):_0x4908ce(_0x31afd2))||_0x31afd2);return _0x152f39&&_0x31afd2&&Zn(_0xdab1f8,_0xfb0ff3,_0x31afd2),_0x31afd2;},me=(_0x3297cf,_0x20c8a2)=>(_0x149733,_0x478241)=>_0x20c8a2(_0x149733,_0x478241,_0x3297cf);const ts=0x12c,is=0x64;let pt=class extends a[_0x29ff00(0x4b0)]{constructor(_0xfa4228,_0x5c7009,_0x2e0e7b,_0x2c5356,_0x4ec6af,_0x203397,_0x48dfd9,_0xc30461,_0x33d35d){const _0x3dfdf0=_0x29ff00;super(),I(this,_0x3dfdf0(0x35c),!0x1),I(this,_0x3dfdf0(0x5c4),!0x1),I(this,_0x3dfdf0(0x278),new A[(_0x3dfdf0(0x26c))](new Map())),I(this,_0x3dfdf0(0x36e),this[_0x3dfdf0(0x278)][_0x3dfdf0(0x4c6)]()),I(this,'_roomMembers$',new A[(_0x3dfdf0(0x26c))]([])),I(this,_0x3dfdf0(0x647),this[_0x3dfdf0(0x5e9)][_0x3dfdf0(0x619)](A[_0x3dfdf0(0x54d)](ts))),I(this,'_updateLocalCursor',a[_0x3dfdf0(0x242)](_0x1ee67a=>{const _0x17a37f=_0x3dfdf0,_0x4cbeb6={'eventID':p[_0x17a37f(0x259)][_0x17a37f(0x435)],'data':{'unitID':this['unitID'],'memberID':this[_0x17a37f(0x37d)][_0x17a37f(0x40a)](),'selection':Si(_0x1ee67a)}};this['_session']['send'](_0x4cbeb6,this[_0x17a37f(0x553)]);},is)),(this[_0x3dfdf0(0x553)]=_0xfa4228,this[_0x3dfdf0(0x37d)]=_0x5c7009,this[_0x3dfdf0(0x1c1)]=_0x2e0e7b,this[_0x3dfdf0(0x4e1)]=_0x2c5356,this['_memberService']=_0x4ec6af,this['_syncEditingCollabCursorService']=_0x203397,this['_transformService']=_0x48dfd9,this['_univerInstanceService']=_0xc30461,this[_0x3dfdf0(0x5b4)]=_0x33d35d);}get[_0x29ff00(0x3ec)](){const _0x37d75b=_0x29ff00;return this[_0x37d75b(0x278)][_0x37d75b(0x42e)]();}get[_0x29ff00(0x25e)](){const _0x3dd6ad=_0x29ff00;return this[_0x3dd6ad(0x5e9)][_0x3dd6ad(0x42e)]();}['dispose'](){const _0x47ece9=_0x29ff00;super[_0x47ece9(0x5e6)](),this[_0x47ece9(0x278)][_0x47ece9(0x49f)](new Map()),this[_0x47ece9(0x278)][_0x47ece9(0x22e)](),this['_roomMembers$']['next']([]),this['_roomMembers$'][_0x47ece9(0x22e)]();}[_0x29ff00(0x334)](){const _0x5bd68f=_0x29ff00;this[_0x5bd68f(0x5c4)]||(this[_0x5bd68f(0x5c4)]=!0x0,this['_session'][_0x5bd68f(0x299)][_0x5bd68f(0x619)](A[_0x5bd68f(0x264)](this[_0x5bd68f(0x2b6)]))[_0x5bd68f(0x58f)](_0xbed8c4=>{const _0x348f3a=_0x5bd68f;_0xbed8c4===se[_0x348f3a(0x572)]?this['_toggleOnline']():this[_0x348f3a(0x223)]();}),this[_0x5bd68f(0x37d)][_0x5bd68f(0x48a)]['pipe'](A[_0x5bd68f(0x264)](this['dispose$']))[_0x5bd68f(0x58f)](_0x470648=>{const _0x3c00d9=_0x5bd68f,_0x8b80c8=_0x470648['eventID'];_0x8b80c8===p[_0x3c00d9(0x259)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x470648),_0x8b80c8===p[_0x3c00d9(0x259)][_0x3c00d9(0x5a1)]&&this['_onCursorDelete'](_0x470648);}),this[_0x5bd68f(0x665)](this[_0x5bd68f(0x5b4)][_0x5bd68f(0x3f0)](_0x515e41=>{const _0x1462df=_0x5bd68f,_0x508fca=_0x515e41[_0x1462df(0x447)];_0x508fca!=null&&this['_online']&&_0x515e41['id']===Ie[_0x1462df(0x592)]['id']&&_0x508fca[_0x1462df(0x21b)]===this[_0x1462df(0x553)]&&_0x508fca[_0x1462df(0x640)]===!0x1&&_0x508fca[_0x1462df(0x476)][_0x1462df(0x5e7)]>0x0&&this['_updateLocalCursor'](_0x508fca[_0x1462df(0x476)]);})),this[_0x5bd68f(0x1b5)][_0x5bd68f(0x41b)][_0x5bd68f(0x619)](A[_0x5bd68f(0x264)](this['dispose$']))[_0x5bd68f(0x58f)](_0x23a7a1=>{const _0x11b134=_0x5bd68f;if((_0x23a7a1==null?void 0x0:_0x23a7a1[_0x11b134(0x553)])!==this['unitID'])return;const _0xd04743={'eventID':p[_0x11b134(0x259)][_0x11b134(0x435)],'data':_0x23a7a1};this['_onCursorUpdate'](_0xd04743);}),this[_0x5bd68f(0x665)](this[_0x5bd68f(0x5b4)]['onCommandExecuted'](_0x574c18=>{const _0x201f7d=_0x5bd68f;if(_0x574c18[_0x201f7d(0x447)]==null)return;const _0x4fe055=_0x574c18[_0x201f7d(0x447)];if(_0x574c18['id']!==Ie[_0x201f7d(0x344)]['id']||_0x4fe055[_0x201f7d(0x21b)]!==this[_0x201f7d(0x553)])return;const _0x33b065={'id':_0x201f7d(0x356),'params':_0x4fe055},_0x2d6737=this[_0x201f7d(0x3ec)];for(const [_0x1557ba,_0x10394e]of _0x2d6737){const _0x35ad38={'id':_0x201f7d(0x356),'params':{'unitId':this[_0x201f7d(0x553)],'actions':null,'textRanges':_0x10394e['ranges']}},_0x2a61e4=this[_0x201f7d(0x449)][_0x201f7d(0x43c)](_0x33b065,_0x35ad38,!0x1);if(p[_0x201f7d(0x4b4)](_0x2a61e4))throw _0x2a61e4[_0x201f7d(0x27a)];_0x2d6737[_0x201f7d(0x20a)](_0x1557ba,{..._0x10394e,'ranges':_0x2a61e4[_0x201f7d(0x239)][_0x201f7d(0x447)][_0x201f7d(0x49e)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x2d6737);});})));}[_0x29ff00(0x1e3)](_0x3052d3){const _0x2a43ff=_0x29ff00;var _0x122d0d,_0x13e0b2;const {memberID:_0x27bef0,selection:_0x1f5707}=_0x3052d3[_0x2a43ff(0x3eb)],_0x49bfac=Ln(_0x1f5707),_0x557a99=(_0x13e0b2=(_0x122d0d=this['_memberService'][_0x2a43ff(0x5b8)](this[_0x2a43ff(0x553)],_0x27bef0))==null?void 0x0:_0x122d0d[_0x2a43ff(0x2cd)])!=null?_0x13e0b2:_0x2a43ff(0x27c),_0x33d238={'color':this[_0x2a43ff(0x4e1)][_0x2a43ff(0x255)](_0x27bef0),'name':_0x557a99,'ranges':_0x49bfac},_0x57be45=this['cursorInfo'];_0x57be45[_0x2a43ff(0x20a)](_0x27bef0,_0x33d238),this[_0x2a43ff(0x278)][_0x2a43ff(0x49f)](_0x57be45);}[_0x29ff00(0x22f)](_0x209e83){const _0x381f82=_0x29ff00,{memberID:_0x35b913}=_0x209e83[_0x381f82(0x3eb)],_0x44321b=this[_0x381f82(0x3ec)];_0x44321b[_0x381f82(0x3dc)](_0x35b913),this[_0x381f82(0x278)][_0x381f82(0x49f)](_0x44321b);}[_0x29ff00(0x5d4)](){const _0x5b7c49=_0x29ff00;var _0x2f2491;if(this[_0x5b7c49(0x35c)]=!0x0,((_0x2f2491=this[_0x5b7c49(0x600)][_0x5b7c49(0x498)]())==null?void 0x0:_0x2f2491[_0x5b7c49(0x621)]())!==this[_0x5b7c49(0x553)])return;const _0x3249e5=this[_0x5b7c49(0x1c1)][_0x5b7c49(0x2ef)](Ie['DocSelectionManagerService'])[_0x5b7c49(0x526)]();Array['isArray'](_0x3249e5)&&_0x3249e5[_0x5b7c49(0x5e7)]>0x0&&this[_0x5b7c49(0x660)](_0x3249e5);}[_0x29ff00(0x223)](){const _0x517ecd=_0x29ff00;this[_0x517ecd(0x35c)]=!0x1;}};pt=es([me(0x2,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),me(0x3,a[_0x29ff00(0x493)](Dt)),me(0x4,a[_0x29ff00(0x493)](exports[_0x29ff00(0x1d6)])),me(0x5,a[_0x29ff00(0x493)](yt)),me(0x6,p[_0x29ff00(0x38f)]),me(0x7,a[_0x29ff00(0x37f)]),me(0x8,a[_0x29ff00(0x587)])],pt);var ns=Object[_0x29ff00(0x64a)],ss=Object[_0x29ff00(0x316)],rs=(_0x39965a,_0x297a1c,_0x40f2e9,_0x34f85f)=>{const _0x30fb04=_0x29ff00;for(var _0x277712=_0x34f85f>0x1?void 0x0:_0x34f85f?ss(_0x297a1c,_0x40f2e9):_0x297a1c,_0x7fad71=_0x39965a[_0x30fb04(0x5e7)]-0x1,_0x5b4c25;_0x7fad71>=0x0;_0x7fad71--)(_0x5b4c25=_0x39965a[_0x7fad71])&&(_0x277712=(_0x34f85f?_0x5b4c25(_0x297a1c,_0x40f2e9,_0x277712):_0x5b4c25(_0x277712))||_0x277712);return _0x34f85f&&_0x277712&&ns(_0x297a1c,_0x40f2e9,_0x277712),_0x277712;},Te=(_0x29e2fe,_0x40b285)=>(_0x2e5836,_0xb9a60f)=>_0x40b285(_0x2e5836,_0xb9a60f,_0x29e2fe);const os=0x12c,as=0x64,cs=()=>{let _0x2fcba5=[],_0x505757=!0x1;return _0x18c09b=>{const _0x54c478=_0x2f26;_0x2fcba5[_0x54c478(0x3bc)](_0x18c09b),_0x505757||(_0x505757=!0x0,setTimeout(()=>{const _0x1c5127=_0x54c478;_0x2fcba5[_0x1c5127(0x3a1)](_0x502270=>_0x502270()),_0x2fcba5=[],_0x505757=!0x1;}));};};let mt=class extends a[_0x29ff00(0x4b0)]{constructor(_0x239abf,_0x5ab5c8,_0x3f4781,_0x541b62,_0x206d1a,_0x2be6e8,_0x4d15c5,_0x492dcf){const _0xed67b0=_0x29ff00;super(),I(this,_0xed67b0(0x35c),!0x1),I(this,_0xed67b0(0x5c4),!0x1),I(this,'_cursorInfo$',new A[(_0xed67b0(0x26c))](new Map())),I(this,_0xed67b0(0x36e),this[_0xed67b0(0x278)]['asObservable']()),I(this,'_roomMembers$',new A[(_0xed67b0(0x26c))]([])),I(this,_0xed67b0(0x647),this['_roomMembers$'][_0xed67b0(0x619)](A['debounceTime'](os))),I(this,_0xed67b0(0x660),a[_0xed67b0(0x242)]((_0x2d7279,_0x4b0bba)=>{const _0x3d6c81=_0xed67b0,_0x26de76={'eventID':p[_0x3d6c81(0x259)][_0x3d6c81(0x435)],'data':{'unitID':this[_0x3d6c81(0x553)],'memberID':this['_session'][_0x3d6c81(0x40a)](),'selection':Mt[_0x3d6c81(0x562)](_0x2d7279,_0x4b0bba[_0x3d6c81(0x3ff)])}};this[_0x3d6c81(0x37d)]['send'](_0x26de76,this['unitID']);},as)),(this[_0xed67b0(0x553)]=_0x239abf,this[_0xed67b0(0x37d)]=_0x5ab5c8,this[_0xed67b0(0x1c1)]=_0x3f4781,this[_0xed67b0(0x4e1)]=_0x541b62,this[_0xed67b0(0x427)]=_0x206d1a,this[_0xed67b0(0x600)]=_0x2be6e8,this[_0xed67b0(0x5b4)]=_0x4d15c5,this[_0xed67b0(0x2e5)]=_0x492dcf);}get[_0x29ff00(0x3ec)](){const _0x5e0805=_0x29ff00;return this['_cursorInfo$'][_0x5e0805(0x42e)]();}get[_0x29ff00(0x25e)](){const _0x115400=_0x29ff00;return this[_0x115400(0x5e9)]['getValue']();}[_0x29ff00(0x5e6)](){const _0x4134b0=_0x29ff00;super[_0x4134b0(0x5e6)](),this[_0x4134b0(0x278)]['next'](new Map()),this[_0x4134b0(0x278)][_0x4134b0(0x22e)](),this[_0x4134b0(0x5e9)][_0x4134b0(0x49f)]([]),this[_0x4134b0(0x5e9)][_0x4134b0(0x22e)]();}[_0x29ff00(0x334)](){const _0x17f8cb=_0x29ff00;this[_0x17f8cb(0x5c4)]||(this[_0x17f8cb(0x5c4)]=!0x0,this[_0x17f8cb(0x37d)][_0x17f8cb(0x299)][_0x17f8cb(0x619)](A['takeUntil'](this[_0x17f8cb(0x2b6)]))['subscribe'](_0x4a7253=>{const _0x55c98e=_0x17f8cb;_0x4a7253===se[_0x55c98e(0x572)]?this[_0x55c98e(0x5d4)]():this[_0x55c98e(0x223)]();}),this[_0x17f8cb(0x37d)]['event$']['pipe'](A[_0x17f8cb(0x264)](this['dispose$']))[_0x17f8cb(0x58f)](_0x5eba2c=>{const _0x3e0c62=_0x17f8cb,_0x5f3f09=_0x5eba2c[_0x3e0c62(0x55b)];_0x5f3f09===p[_0x3e0c62(0x259)][_0x3e0c62(0x435)]&&this[_0x3e0c62(0x1e3)](_0x5eba2c),_0x5f3f09===p[_0x3e0c62(0x259)][_0x3e0c62(0x5a1)]&&this['_onCursorDelete'](_0x5eba2c);}),this[_0x17f8cb(0x347)](),this[_0x17f8cb(0x665)](this[_0x17f8cb(0x5b4)][_0x17f8cb(0x3f0)](_0x1f217f=>{const _0x4843b6=_0x17f8cb;if(this[_0x4843b6(0x35c)]&&_0x1f217f['id']===k['SetSelectionsOperation']['id']&&_0x1f217f[_0x4843b6(0x447)]['unitId']===this['unitID']){const _0x1da2a2=_0x1f217f[_0x4843b6(0x447)];this[_0x4843b6(0x660)](_0x1da2a2[_0x4843b6(0x3da)],_0x1da2a2[_0x4843b6(0x338)][0x0]);}})));}[_0x29ff00(0x1e3)](_0x129d17){const _0x38b612=_0x29ff00;var _0x2e2425,_0x19f0ee;const {memberID:_0x51b1a1,selection:_0x582c0c}=_0x129d17[_0x38b612(0x3eb)],{sheetName:_0x2c21f2,range:_0x4d3c60}=Mt[_0x38b612(0x54b)](_0x582c0c),_0xbad939={'name':(_0x19f0ee=(_0x2e2425=this[_0x38b612(0x427)][_0x38b612(0x5b8)](this[_0x38b612(0x553)],_0x51b1a1))==null?void 0x0:_0x2e2425[_0x38b612(0x2cd)])!=null?_0x19f0ee:_0x38b612(0x27c),'range':this['_getMergeRange'](_0x2c21f2,_0x4d3c60),'sheetID':_0x2c21f2,'color':this[_0x38b612(0x4e1)][_0x38b612(0x255)](_0x51b1a1),'selection':_0x582c0c},_0x462d5a=this[_0x38b612(0x3ec)];_0x462d5a[_0x38b612(0x20a)](_0x51b1a1,_0xbad939),this[_0x38b612(0x278)][_0x38b612(0x49f)](_0x462d5a);}[_0x29ff00(0x22f)](_0x2ec1d3){const _0x45d964=_0x29ff00,{memberID:_0x230324}=_0x2ec1d3[_0x45d964(0x3eb)],_0x71e8cd=this[_0x45d964(0x3ec)];_0x71e8cd[_0x45d964(0x3dc)](_0x230324),this[_0x45d964(0x278)][_0x45d964(0x49f)](_0x71e8cd);}[_0x29ff00(0x21d)](_0x2e877d,_0x51e7e9){const _0x368b7b=_0x29ff00;var _0xe9e8bb,_0x28170a;const _0x3ef6fb=(_0x28170a=(_0xe9e8bb=this[_0x368b7b(0x600)][_0x368b7b(0x463)](this[_0x368b7b(0x553)]))==null?void 0x0:_0xe9e8bb[_0x368b7b(0x50c)](_0x2e877d))==null?void 0x0:_0x28170a[_0x368b7b(0x547)]();return(_0x3ef6fb==null?void 0x0:_0x3ef6fb[_0x368b7b(0x58b)](_0x422e6a=>a[_0x368b7b(0x5a6)][_0x368b7b(0x373)](_0x422e6a,_0x51e7e9)))||_0x51e7e9;}[_0x29ff00(0x347)](){const _0x288be2=_0x29ff00,_0x232265=new a[(_0x288be2(0x546))](),_0x5a44d9=cs(),_0x7d1134=()=>{const _0x51d4ec=_0x288be2;_0x232265[_0x51d4ec(0x5e6)]();const _0x740e44=(_0x2f55cc,_0x23be84,_0x11b1b2,_0x315891)=>{const _0x1afb9d=_0x51d4ec;let _0x518b3f=[];switch(_0x2f55cc['id']){case k[_0x1afb9d(0x411)]['DeleteRangeMoveLeftCommandId']:{_0x518b3f=k[_0x1afb9d(0x236)](_0x2f55cc,_0x315891);break;}case k[_0x1afb9d(0x411)][_0x1afb9d(0x5c5)]:{_0x518b3f=k['handleDeleteRangeMoveUp'](_0x2f55cc,_0x315891);break;}case k[_0x1afb9d(0x411)][_0x1afb9d(0x661)]:{_0x518b3f=k['handleInsertCol'](_0x2f55cc,_0x315891);break;}case k['EffectRefRangId'][_0x1afb9d(0x3a5)]:{_0x518b3f=k['handleInsertRangeMoveDown'](_0x2f55cc,_0x315891);break;}case k[_0x1afb9d(0x411)][_0x1afb9d(0x667)]:{_0x518b3f=k['handleInsertRangeMoveRight'](_0x2f55cc,_0x315891);break;}case k[_0x1afb9d(0x411)]['InsertRowCommandId']:{_0x518b3f=k[_0x1afb9d(0x59b)](_0x2f55cc,_0x315891);break;}case k[_0x1afb9d(0x411)][_0x1afb9d(0x26a)]:{_0x518b3f=k[_0x1afb9d(0x2fc)](_0x2f55cc,_0x315891);break;}case k['EffectRefRangId'][_0x1afb9d(0x413)]:{_0x518b3f=k[_0x1afb9d(0x20b)](_0x2f55cc,_0x315891);break;}case k[_0x1afb9d(0x411)][_0x1afb9d(0x51c)]:{_0x518b3f=k[_0x1afb9d(0x5e8)](_0x2f55cc,_0x315891);break;}}const _0x278a5f=k[_0x1afb9d(0x415)](_0x518b3f,_0x315891),_0x136ade=this['cursorInfo'][_0x1afb9d(0x2ef)](_0x23be84);if(_0x136ade&&_0x278a5f){const _0x4ba5a8={..._0x136ade,'range':_0x278a5f};this['cursorInfo'][_0x1afb9d(0x20a)](_0x23be84,_0x4ba5a8),_0x5a44d9(()=>{const _0x45ec86=_0x1afb9d,_0x5e8b14=this['_refRangeService'][_0x45ec86(0x2e9)](_0x278a5f,_0x22733f=>(_0x5e8b14[_0x45ec86(0x5e6)](),_0x740e44(_0x22733f,_0x23be84,_0x11b1b2,_0x278a5f)));_0x232265['add'](_0x5e8b14);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x51d4ec(0x3a1)]((_0x38a40f,_0x5022f5)=>{const _0x41cc96=_0x51d4ec,{range:_0xa935e0,sheetID:_0x5da660}=_0x38a40f,_0x4d5f85=this[_0x41cc96(0x2e5)][_0x41cc96(0x2e9)](_0xa935e0,_0x3881f1=>(_0x4d5f85[_0x41cc96(0x5e6)](),_0x740e44(_0x3881f1,_0x5022f5,_0x5da660,_0xa935e0)));_0x232265[_0x41cc96(0x231)](_0x4d5f85);});};this[_0x288be2(0x665)](a[_0x288be2(0x372)](this[_0x288be2(0x278)][_0x288be2(0x58f)](()=>{_0x7d1134();})));}[_0x29ff00(0x5d4)](){const _0x1d314d=_0x29ff00;var _0x29b342,_0x429b63;if(this[_0x1d314d(0x35c)]=!0x0,((_0x29b342=this[_0x1d314d(0x600)][_0x1d314d(0x498)]())==null?void 0x0:_0x29b342[_0x1d314d(0x621)]())!==this[_0x1d314d(0x553)])return;const _0x5e8f98=(_0x429b63=this[_0x1d314d(0x1c1)][_0x1d314d(0x2ef)](k[_0x1d314d(0x210)])['getCurrentSelections']())==null?void 0x0:_0x429b63[0x0],_0x9ba84f=this[_0x1d314d(0x600)][_0x1d314d(0x5b1)](a[_0x1d314d(0x5ce)][_0x1d314d(0x3d0)])['getActiveSheet']();_0x5e8f98&&_0x9ba84f&&this[_0x1d314d(0x660)](_0x9ba84f[_0x1d314d(0x360)](),_0x5e8f98);}[_0x29ff00(0x223)](){const _0x3a0030=_0x29ff00;this[_0x3a0030(0x35c)]=!0x1;}};mt=rs([Te(0x2,a['Inject'](a['Injector'])),Te(0x3,a[_0x29ff00(0x493)](Dt)),Te(0x4,a[_0x29ff00(0x493)](exports[_0x29ff00(0x1d6)])),Te(0x5,a[_0x29ff00(0x37f)]),Te(0x6,a[_0x29ff00(0x587)]),Te(0x7,a[_0x29ff00(0x493)](k[_0x29ff00(0x624)]))],mt);var ls=Object['defineProperty'],hs=Object[_0x29ff00(0x316)],_s=(_0x59c977,_0x3ef802,_0x3cc72a,_0x167dd1)=>{const _0x2d30ed=_0x29ff00;for(var _0x5312db=_0x167dd1>0x1?void 0x0:_0x167dd1?hs(_0x3ef802,_0x3cc72a):_0x3ef802,_0x54519c=_0x59c977[_0x2d30ed(0x5e7)]-0x1,_0x53b6ad;_0x54519c>=0x0;_0x54519c--)(_0x53b6ad=_0x59c977[_0x54519c])&&(_0x5312db=(_0x167dd1?_0x53b6ad(_0x3ef802,_0x3cc72a,_0x5312db):_0x53b6ad(_0x5312db))||_0x5312db);return _0x167dd1&&_0x5312db&&ls(_0x3ef802,_0x3cc72a,_0x5312db),_0x5312db;},nt=(_0x23a501,_0x4cc1b8)=>(_0x5b92b6,_0x46fbbe)=>_0x4cc1b8(_0x5b92b6,_0x46fbbe,_0x23a501);let De=class extends a[_0x29ff00(0x4b0)]{constructor(_0x2cd09f,_0x28506f,_0x3ad62b){const _0x31c7f1=_0x29ff00;super(),I(this,_0x31c7f1(0x221),new Map()),I(this,'_entityInit$',new A[(_0x31c7f1(0x534))]()),(this['_univerInstanceService']=_0x2cd09f,this[_0x31c7f1(0x1c1)]=_0x28506f,this[_0x31c7f1(0x653)]=_0x3ad62b,this[_0x31c7f1(0x5c4)]());}[_0x29ff00(0x5e6)](){const _0x43d892=_0x29ff00;super[_0x43d892(0x5e6)](),this['_entityInit$'][_0x43d892(0x22e)](),this[_0x43d892(0x221)][_0x43d892(0x3a1)](_0x59a6a8=>_0x59a6a8[_0x43d892(0x5e6)]());}[_0x29ff00(0x455)](_0xb23c1b){const _0x166cb5=_0x29ff00;return this['_entities'][_0x166cb5(0x38d)](_0xb23c1b)?this['_entities'][_0x166cb5(0x2ef)](_0xb23c1b)['cursorInfo$']:this[_0x166cb5(0x23b)]['pipe'](A[_0x166cb5(0x604)](_0x723fb5=>_0x723fb5[_0x166cb5(0x553)]===_0xb23c1b),A[_0x166cb5(0x53a)](_0x210442=>_0x210442[_0x166cb5(0x36e)]));}[_0x29ff00(0x5c4)](){const _0x133f50=_0x29ff00;this[_0x133f50(0x600)][_0x133f50(0x460)](a[_0x133f50(0x5ce)]['UNIVER_SHEET'])[_0x133f50(0x619)](A['takeUntil'](this[_0x133f50(0x2b6)]))[_0x133f50(0x58f)](async _0x231c23=>{const _0xb2be3a=_0x133f50,_0x366f7b=_0x231c23[_0xb2be3a(0x621)](),_0x529661=await this[_0xb2be3a(0x232)](_0x366f7b);this['_entityInit$']['next'](_0x529661),this['_entities'][_0xb2be3a(0x20a)](_0x366f7b,_0x529661);}),this[_0x133f50(0x600)]['getTypeOfUnitAdded$'](a[_0x133f50(0x5ce)]['UNIVER_DOC'])[_0x133f50(0x619)](A[_0x133f50(0x264)](this[_0x133f50(0x2b6)]))['pipe'](A['filter'](_0x454505=>!_0x454505[_0x133f50(0x621)]()['startsWith']('__')))[_0x133f50(0x58f)](async _0x1aa054=>{const _0x2b95ab=_0x133f50,_0x222bc5=_0x1aa054[_0x2b95ab(0x621)](),_0x18b36a=await this[_0x2b95ab(0x67a)](_0x222bc5);this[_0x2b95ab(0x23b)][_0x2b95ab(0x49f)](_0x18b36a),this[_0x2b95ab(0x221)][_0x2b95ab(0x20a)](_0x222bc5,_0x18b36a);}),A[_0x133f50(0x5ed)](this[_0x133f50(0x600)][_0x133f50(0x365)](a[_0x133f50(0x5ce)][_0x133f50(0x4f0)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x133f50(0x3d0)]))['pipe'](A[_0x133f50(0x264)](this[_0x133f50(0x2b6)]))[_0x133f50(0x58f)](_0xeffda9=>{const _0x5938d5=_0x133f50,_0x3e00af=_0xeffda9['getUnitId'](),_0x270604=this[_0x5938d5(0x221)][_0x5938d5(0x2ef)](_0x3e00af);_0x270604&&(_0x270604[_0x5938d5(0x5e6)](),this[_0x5938d5(0x221)][_0x5938d5(0x3dc)](_0x3e00af));});}async[_0x29ff00(0x232)](_0x49c4d0){const _0x2de8cd=_0x29ff00,_0x3a1667=await this['_collabSessionService'][_0x2de8cd(0x429)](_0x49c4d0),_0x1e8529=this[_0x2de8cd(0x1c1)][_0x2de8cd(0x527)](mt,_0x49c4d0,_0x3a1667);return _0x1e8529['init'](),_0x1e8529;}async[_0x29ff00(0x67a)](_0x1309d7){const _0x1f49ab=_0x29ff00,_0xe1924e=await this[_0x1f49ab(0x653)][_0x1f49ab(0x429)](_0x1309d7),_0x3646c7=this[_0x1f49ab(0x1c1)][_0x1f49ab(0x527)](pt,_0x1309d7,_0xe1924e);return _0x3646c7[_0x1f49ab(0x334)](),_0x3646c7;}};De=_s([nt(0x0,a[_0x29ff00(0x37f)]),nt(0x1,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),nt(0x2,a[_0x29ff00(0x493)](exports[_0x29ff00(0x5ea)]))],De);const Le=0x14,Wt=0xc8,st=0x4,us=0x5;function ds(_0x1fc81f,_0x5b9dbf){const _0x150f6e=_0x29ff00;let {radius:_0x19cfc8,width:_0x37311f,height:_0x45e331}=_0x5b9dbf;_0x19cfc8=_0x19cfc8!=null?_0x19cfc8:0x0,_0x37311f=_0x37311f!=null?_0x37311f:0x1e,_0x45e331=_0x45e331!=null?_0x45e331:0x1e;let _0xd06686=0x0,_0x18d690=0x0,_0x3dae45=0x0;_0xd06686=_0x18d690=_0x3dae45=Math[_0x150f6e(0x3b8)](_0x19cfc8,_0x37311f/0x2,_0x45e331/0x2),_0x1fc81f[_0x150f6e(0x285)](),_0x1fc81f[_0x150f6e(0x4ab)](_0xd06686,0x0),_0x1fc81f['lineTo'](_0x37311f-_0x18d690,0x0),_0x1fc81f[_0x150f6e(0x29e)](_0x37311f-_0x18d690,_0x18d690,_0x18d690,Math['PI']*0x3/0x2,0x0,!0x1),_0x1fc81f[_0x150f6e(0x5aa)](_0x37311f,_0x45e331-_0x3dae45),_0x1fc81f[_0x150f6e(0x29e)](_0x37311f-_0x3dae45,_0x45e331-_0x3dae45,_0x3dae45,0x0,Math['PI']/0x2,!0x1),_0x1fc81f[_0x150f6e(0x5aa)](0x0,_0x45e331),_0x1fc81f[_0x150f6e(0x5aa)](0x0,_0xd06686),_0x1fc81f[_0x150f6e(0x29e)](_0xd06686,_0xd06686,_0xd06686,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1fc81f[_0x150f6e(0x404)](),_0x5b9dbf[_0x150f6e(0x53e)]&&(_0x1fc81f['save'](),_0x1fc81f[_0x150f6e(0x211)]=_0x5b9dbf[_0x150f6e(0x53e)],_0x5b9dbf[_0x150f6e(0x3e7)]===_0x150f6e(0x294)?_0x1fc81f[_0x150f6e(0x53e)](_0x150f6e(0x294)):_0x1fc81f[_0x150f6e(0x53e)](),_0x1fc81f[_0x150f6e(0x2a5)]());}class Xe extends K[_0x29ff00(0x674)]{constructor(_0x4fb1b0,_0x57eee8){const _0x524e99=_0x29ff00;super(_0x4fb1b0,_0x57eee8),I(this,_0x524e99(0x375)),I(this,_0x524e99(0x3aa)),(this[_0x524e99(0x375)]=_0x57eee8==null?void 0x0:_0x57eee8[_0x524e99(0x375)],this['text']=_0x57eee8==null?void 0x0:_0x57eee8[_0x524e99(0x3aa)]);}static['drawWith'](_0x4a83c5,_0x25a955){const _0x2b7317=_0x29ff00,{text:_0x360858,color:_0x97c786}=_0x25a955;_0x4a83c5[_0x2b7317(0x488)](),_0x4a83c5[_0x2b7317(0x4b3)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x4ee01b=_0x4a83c5[_0x2b7317(0x1e0)](_0x360858)[_0x2b7317(0x367)],_0x4c794d=Math['min'](_0x4ee01b+0x2*st,Wt);ds(_0x4a83c5,{'height':Le,'radius':0x4,'width':_0x4c794d,'fill':_0x97c786,'evented':!0x1}),_0x4a83c5['fillStyle']=_0x2b7317(0x3c2);const _0x37fdeb=st,_0x30ea8f=Le-us,_0x429a1c=Wt-0x2*st;if(_0x4ee01b>_0x429a1c){let _0x442aa8='',_0x148eb8=0x0;for(const _0x51da70 of _0x360858){const _0x2b27f6=_0x4a83c5['measureText'](_0x51da70)['width'];if(_0x148eb8+_0x2b27f6<=_0x429a1c-_0x4a83c5['measureText']('...')[_0x2b7317(0x367)])_0x442aa8+=_0x51da70,_0x148eb8+=_0x2b27f6;else{_0x442aa8+=_0x2b7317(0x65f);break;}}_0x4a83c5[_0x2b7317(0x49c)](_0x442aa8,_0x37fdeb,_0x30ea8f);}else _0x4a83c5['fillText'](_0x360858,_0x37fdeb,_0x30ea8f);_0x4a83c5['restore']();}['_draw'](_0x5220ca){const _0x26267e=_0x29ff00;Xe[_0x26267e(0x3e4)](_0x5220ca,this);}}const rt=_0x29ff00(0x56e),fs=_0x29ff00(0x689),vs=_0x29ff00(0x387),Ue=0x6,Ss=1.5,ot=0x4,ps=1.5,ms=_0x29ff00(0x2b5);class Ft{constructor(_0x495eb5,_0xdf0f5f,_0x594a1b,_0x2d44a3){const _0x3b85eb=_0x29ff00;I(this,_0x3b85eb(0x30b),[]),I(this,_0x3b85eb(0x34d),null),I(this,_0x3b85eb(0x479),null),I(this,_0x3b85eb(0x3c3),null),I(this,'_hideTimer',null),I(this,_0x3b85eb(0x639),null),(this[_0x3b85eb(0x3e2)]=_0x495eb5,this[_0x3b85eb(0x3cc)]=_0xdf0f5f,this['_docSkeleton']=_0x594a1b,this[_0x3b85eb(0x45d)]=_0x2d44a3,this['_render']());}set[_0x29ff00(0x465)](_0x25cb00){const _0x2d2914=_0x29ff00;_0x25cb00?(this[_0x2d2914(0x3c3)]&&this['_anchorDot'][_0x2d2914(0x519)](),this[_0x2d2914(0x479)]&&this[_0x2d2914(0x479)][_0x2d2914(0x318)]()):(this[_0x2d2914(0x3c3)]&&this[_0x2d2914(0x3c3)][_0x2d2914(0x318)](),this['_textBubble']&&this[_0x2d2914(0x479)][_0x2d2914(0x519)]());}[_0x29ff00(0x5e6)](){const _0x5e2390=_0x29ff00;for(const _0xb0b278 of this['_shapes'])_0xb0b278[_0x5e2390(0x5e6)]();this[_0x5e2390(0x479)]&&this[_0x5e2390(0x479)]['dispose'](),this[_0x5e2390(0x3c3)]&&this[_0x5e2390(0x3c3)][_0x5e2390(0x5e6)](),this[_0x5e2390(0x34d)]&&this['_anchor']['dispose'](),this['_eventUnsubscribe']&&this[_0x5e2390(0x639)]();}[_0x29ff00(0x5d9)](){const _0x3e02ee=_0x29ff00;var _0x20b07c;const {_docSkeleton:_0x488934,_document:_0xbb4ab8}=this,{color:_0x1d028a,name:_0x544587,ranges:_0x3a4e48}=this[_0x3e02ee(0x3e2)],_0x445ec5=_0xbb4ab8[_0x3e02ee(0x5f3)](),{docsLeft:_0x578cf6,docsTop:_0x312cb3}=_0x445ec5,_0x2416f9=new J['NodePositionConvertToCursor'](_0x445ec5,_0x488934);for(const {startOffset:_0x8d6692,endOffset:_0x328aa5,rangeType:_0x5df6e5,segmentId:_0x585491,segmentPage:_0x2e599f,collapsed:_0x38722c,isActive:_0x51122b}of _0x3a4e48){const _0x23a109=_0x488934['findNodePositionByCharIndex'](_0x8d6692,!0x0,_0x585491,_0x2e599f);let _0xc0146c=_0x488934[_0x3e02ee(0x361)](_0x328aa5,!0x0,_0x585491,_0x2e599f);if(_0xc0146c==null&&(_0xc0146c=_0x488934[_0x3e02ee(0x361)](_0x328aa5-0x1,!0x1,_0x585491,_0x2e599f)),_0x51122b){const {contentBoxPointGroup:_0x162ace}=_0x2416f9[_0x3e02ee(0x3a6)](_0xc0146c,_0xc0146c);if(_0x162ace[_0x3e02ee(0x5e7)]===0x0)continue;this[_0x3e02ee(0x5cb)](_0x1d028a,_0x162ace,_0x578cf6,_0x312cb3,_0x544587),this[_0x3e02ee(0x639)]=this[_0x3e02ee(0x33c)]();}if(_0x23a109&&_0xc0146c){if(_0x5df6e5===a[_0x3e02ee(0x380)][_0x3e02ee(0x36c)]){const _0x2a5e87=new J[(_0x3e02ee(0x408))](_0x445ec5,_0x488934),{pointGroup:_0x36159b}=(_0x20b07c=_0x2a5e87['getRangePointData'](_0x23a109,_0xc0146c))!=null?_0x20b07c:{};if(_0x36159b==null||_0x36159b['length']===0x0)continue;this[_0x3e02ee(0x38c)](_0x1d028a,_0x36159b,_0x578cf6,_0x312cb3);}else{if(!_0x38722c){const {borderBoxPointGroup:_0x29c5ce}=_0x2416f9[_0x3e02ee(0x3a6)](_0x23a109,_0xc0146c);if(_0x29c5ce['length']===0x0)continue;this['_drawTextRange'](_0x1d028a,_0x29c5ce,_0x578cf6,_0x312cb3);}}}}}['_drawAnchor'](_0x22abba,_0x1f70ba,_0x195fa7,_0x1f777f,_0x56b646){const _0x9e08e4=_0x29ff00,_0x1e3600=this[_0x9e08e4(0x3d3)](_0x1f70ba),{left:_0x16d9b7,top:_0x205f70,height:_0x2557b1}=_0x1e3600,_0x2ff630=this[_0x9e08e4(0x277)](),_0x4d432a=ps/_0x2ff630,_0x250ba7=new K[(_0x9e08e4(0x606))](rt+a['Tools'][_0x9e08e4(0x512)](Ue),{'left':_0x16d9b7+_0x195fa7-_0x4d432a,'top':_0x205f70+_0x1f777f,'height':_0x2557b1,'width':Ss,'fill':_0x22abba||K[_0x9e08e4(0x2fe)](a[_0x9e08e4(0x4f4)][_0x9e08e4(0x61e)],0x0),'strokeWidth':_0x4d432a,'stroke':ms,'evented':!0x0});this[_0x9e08e4(0x34d)]=_0x250ba7,this[_0x9e08e4(0x3cc)][_0x9e08e4(0x518)](_0x250ba7,J['TEXT_RANGE_LAYER_INDEX']);const _0x109dc6=new K['Rect'](rt+a[_0x9e08e4(0x302)][_0x9e08e4(0x512)](Ue),{'left':_0x16d9b7+_0x195fa7-_0x4d432a,'top':_0x205f70+_0x1f777f-ot/0x2,'height':ot,'width':ot,'fill':_0x22abba||K[_0x9e08e4(0x2fe)](a[_0x9e08e4(0x4f4)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x22abba||K['getColor'](a[_0x9e08e4(0x4f4)][_0x9e08e4(0x61e)],0x0),'evented':!0x1});this[_0x9e08e4(0x3c3)]=_0x109dc6,this[_0x9e08e4(0x3cc)][_0x9e08e4(0x518)](_0x109dc6,J['TEXT_RANGE_LAYER_INDEX']);const _0x171dd4=new Xe(rt+a[_0x9e08e4(0x302)][_0x9e08e4(0x512)](Ue),{'left':_0x16d9b7+_0x195fa7-_0x4d432a,'top':_0x205f70+_0x1f777f-Le,'text':_0x56b646,'color':_0x22abba});this['_textBubble']=_0x171dd4,this[_0x9e08e4(0x3cc)][_0x9e08e4(0x518)](_0x171dd4,J['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}[_0x29ff00(0x33c)](){const _0x12d6be=_0x29ff00,_0x26ea8b=this[_0x12d6be(0x34d)]['onPointerEnter$'][_0x12d6be(0x53c)](()=>{this['_hover']=!0x0;}),_0x11950=this[_0x12d6be(0x34d)]['onPointerLeave$'][_0x12d6be(0x53c)](()=>{const _0x3630c8=_0x12d6be;this[_0x3630c8(0x2bf)]&&clearTimeout(this['_hideTimer']),this[_0x3630c8(0x2bf)]=setTimeout(()=>{const _0x473fd1=_0x3630c8;this[_0x473fd1(0x465)]=!0x1;},0x7d0);});return()=>{const _0x14ab8c=_0x12d6be;_0x26ea8b[_0x14ab8c(0x4eb)](),_0x11950[_0x14ab8c(0x4eb)]();};}[_0x29ff00(0x4d9)](_0x5cba30,_0x4c35fd,_0x45ef52,_0xa3a72c){const _0x90a04b=_0x29ff00,_0x3d1170=new a['ColorKit'](_0x5cba30)[_0x90a04b(0x478)](0.2)[_0x90a04b(0x576)](),_0x182554=new K['RegularPolygon'](fs+a[_0x90a04b(0x302)][_0x90a04b(0x512)](Ue),{'pointsGroup':_0x4c35fd,'fill':_0x3d1170||K[_0x90a04b(0x2fe)](a[_0x90a04b(0x4f4)][_0x90a04b(0x61e)],0.2),'left':_0x45ef52,'top':_0xa3a72c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x90a04b(0x30b)]['push'](_0x182554),this[_0x90a04b(0x3cc)][_0x90a04b(0x518)](_0x182554,J['TEXT_RANGE_LAYER_INDEX']);}[_0x29ff00(0x38c)](_0x23bddb,_0x1ff001,_0x4e7f0a,_0x5087be){const _0xaf7da6=_0x29ff00,_0x43c0fa=new a['ColorKit'](_0x23bddb)['setAlpha'](0.2)[_0xaf7da6(0x576)](),_0x5000ad=new K['RegularPolygon'](vs+a[_0xaf7da6(0x302)][_0xaf7da6(0x512)](Ue),{'pointsGroup':_0x1ff001,'fill':_0x43c0fa||K['getColor'](a['COLORS'][_0xaf7da6(0x61e)],0.2),'left':_0x4e7f0a,'top':_0x5087be,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xaf7da6(0x30b)][_0xaf7da6(0x3bc)](_0x5000ad),this['_scene'][_0xaf7da6(0x518)](_0x5000ad,J['TEXT_RANGE_LAYER_INDEX']);}[_0x29ff00(0x3d3)](_0x2a1602){const _0x1f4871=_0x2a1602[0x0],_0x332030=_0x1f4871[0x0],_0xe0ac6b=_0x1f4871[0x2],{x:_0x508b5c,y:_0x8266ae}=_0x332030,{x:_0x49e8,y:_0x3adc4c}=_0xe0ac6b;return{'left':_0x508b5c,'top':_0x8266ae,'width':_0x49e8-_0x508b5c,'height':_0x3adc4c-_0x8266ae};}['_getScale'](){const _0x34b3f2=_0x29ff00,{scaleX:_0x894a3,scaleY:_0x38b084}=this[_0x34b3f2(0x3cc)][_0x34b3f2(0x3f4)]();return Math[_0x34b3f2(0x1b9)](_0x894a3,_0x38b084);}}var gs=Object[_0x29ff00(0x64a)],Is=Object[_0x29ff00(0x316)],Cs=(_0x48bdb2,_0x4db565,_0x21a16c,_0x2bb2d)=>{for(var _0x9f5c04=_0x2bb2d>0x1?void 0x0:_0x2bb2d?Is(_0x4db565,_0x21a16c):_0x4db565,_0xbbfc3e=_0x48bdb2['length']-0x1,_0x331576;_0xbbfc3e>=0x0;_0xbbfc3e--)(_0x331576=_0x48bdb2[_0xbbfc3e])&&(_0x9f5c04=(_0x2bb2d?_0x331576(_0x4db565,_0x21a16c,_0x9f5c04):_0x331576(_0x9f5c04))||_0x9f5c04);return _0x2bb2d&&_0x9f5c04&&gs(_0x4db565,_0x21a16c,_0x9f5c04),_0x9f5c04;},je=(_0x706aa2,_0x170b73)=>(_0x2a1727,_0x388e63)=>_0x170b73(_0x2a1727,_0x388e63,_0x706aa2);let gt=class extends a[_0x29ff00(0x4b0)]{constructor(_0xa6545c,_0x95691,_0x7025fe,_0x3e9903,_0x54ed7d){const _0x1a8fb7=_0x29ff00;super(),I(this,_0x1a8fb7(0x5b6),[]),I(this,_0x1a8fb7(0x4fd),[]),(this[_0x1a8fb7(0x220)]=_0xa6545c,this[_0x1a8fb7(0x2fa)]=_0x95691,this['_collabCursorController']=_0x7025fe,this['_commandService']=_0x3e9903,this[_0x1a8fb7(0x48e)]=_0x54ed7d,this[_0x1a8fb7(0x5c4)]());}[_0x29ff00(0x5c4)](){const _0x2a45e0=_0x29ff00,_0x80e539=this['_context']['unitId'],_0x3840b0=this[_0x2a45e0(0x2fa)];this['disposeWithMe'](A['combineLatest']([this[_0x2a45e0(0x516)][_0x2a45e0(0x455)](_0x80e539),this[_0x2a45e0(0x48e)][_0x2a45e0(0x44b)]])['pipe'](V[_0x2a45e0(0x4db)](([_0x2f16d9,_0xa0182f])=>({'skeleton':_0x3840b0[_0x2a45e0(0x4b1)](),'cursors':[..._0x2f16d9['values']()][_0x2a45e0(0x2ae)](_0x32e557=>({..._0x32e557,'color':_0xa0182f[_0x32e557[_0x2a45e0(0x375)]]}))})))['subscribe'](_0xb72d6a=>{if(this['_removeCollabCursors'](),_0xb72d6a){const {skeleton:_0x558926,cursors:_0x27bf1d}=_0xb72d6a;this['_updateCollabCursors'](_0x558926,_0x27bf1d);}})),this[_0x2a45e0(0x2b1)](),this[_0x2a45e0(0x596)]();}['_updateCollabCursors'](_0x30bd65,_0xc39507){const _0x249585=_0x29ff00,{scene:_0x1876af,mainComponent:_0x16341a}=this[_0x249585(0x220)],_0x5ab6b8=_0xc39507[_0x249585(0x4db)](_0x50e14c=>new Ft(_0x50e14c,_0x1876af,_0x30bd65,_0x16341a));this[_0x249585(0x5b6)]=_0x5ab6b8,this['_cursors']=_0xc39507;}[_0x29ff00(0x468)](){const _0x143c57=_0x29ff00;this[_0x143c57(0x51b)]();const {scene:_0x186913,mainComponent:_0x29f185}=this[_0x143c57(0x220)],_0x219235=this[_0x143c57(0x2fa)][_0x143c57(0x4b1)](),_0xb3304c=this['_cursors'][_0x143c57(0x4db)](_0x3e726d=>new Ft(_0x3e726d,_0x186913,_0x219235,_0x29f185));this['_cursorShapes']=_0xb3304c;}['_removeCollabCursors'](){const _0x50c4f2=_0x29ff00;this[_0x50c4f2(0x5b6)][_0x50c4f2(0x3a1)](_0x39ff34=>_0x39ff34[_0x50c4f2(0x5e6)]()),this[_0x50c4f2(0x5b6)]=[];}[_0x29ff00(0x596)](){const _0x3f3494=_0x29ff00,_0x4641ee=[J[_0x3f3494(0x579)]['id']];this[_0x3f3494(0x665)](this[_0x3f3494(0x5b4)][_0x3f3494(0x3f0)](_0x484581=>{const _0x45a81c=_0x3f3494;_0x4641ee['includes'](_0x484581['id'])&&_0x484581[_0x45a81c(0x447)]['unitId']===this[_0x45a81c(0x220)]['unitId']&&this[_0x45a81c(0x468)]();}));}[_0x29ff00(0x2b1)](){const _0xd7aa61=_0x29ff00;this[_0xd7aa61(0x665)](a[_0xd7aa61(0x1ba)](this['_context']['engine']['onTransformChange$'])[_0xd7aa61(0x619)](V[_0xd7aa61(0x604)](_0x382019=>_0x382019[_0xd7aa61(0x2eb)]===K[_0xd7aa61(0x2a6)][_0xd7aa61(0x5b9)]),V[_0xd7aa61(0x3d2)](0x10))['subscribe'](()=>{const _0x4e676c=_0xd7aa61;this[_0x4e676c(0x468)]();}));}};gt=Cs([je(0x1,a['Inject'](Ie[_0x29ff00(0x229)])),je(0x2,a[_0x29ff00(0x493)](De)),je(0x3,a[_0x29ff00(0x587)]),je(0x4,a[_0x29ff00(0x493)](a[_0x29ff00(0x438)]))],gt);const Es=0x1,bs=1.5;class Ii extends K['Shape']{constructor(_0x597d4b,_0x3e8298){const _0x3e0111=_0x29ff00;super(_0x597d4b,_0x3e8298),I(this,_0x3e0111(0x1e4)),I(this,_0x3e0111(0x3db),!0x1),I(this,'_range'),I(this,_0x3e0111(0x62c),''),I(this,_0x3e0111(0x601),_0x3e0111(0x1fb)),I(this,'_backgroundColor'),(_0x3e8298&&this[_0x3e0111(0x3ca)](_0x3e8298),this[_0x3e0111(0x256)][_0x3e0111(0x53c)](()=>this[_0x3e0111(0x3ca)]({'hovered':!0x0})),this['onPointerLeave$'][_0x3e0111(0x53c)](()=>this[_0x3e0111(0x3ca)]({'hovered':!0x1})));}[_0x29ff00(0x3ca)](_0x1df77d){const _0x2f0133=_0x29ff00;var _0x2bb00b,_0x27b28e,_0x46fe45,_0x175b0f,_0x675dee,_0x354fde;this['_color']=(_0x2bb00b=_0x1df77d[_0x2f0133(0x375)])!=null?_0x2bb00b:this[_0x2f0133(0x1e4)],this[_0x2f0133(0x3db)]=(_0x27b28e=_0x1df77d[_0x2f0133(0x68a)])!=null?_0x27b28e:this['_hovered'],this['_range']=(_0x46fe45=_0x1df77d[_0x2f0133(0x3ff)])!=null?_0x46fe45:this['_range'],this[_0x2f0133(0x62c)]=(_0x175b0f=_0x1df77d[_0x2f0133(0x2cd)])!=null?_0x175b0f:this[_0x2f0133(0x62c)],this[_0x2f0133(0x601)]=(_0x675dee=_0x1df77d[_0x2f0133(0x544)])!=null?_0x675dee:this['_labelPosition'],this['_backgroundColor']=(_0x354fde=_0x1df77d['backgroundColor'])!=null?_0x354fde:this['_backgroundColor'],this[_0x2f0133(0x676)]({'width':_0x1df77d['width'],'height':_0x1df77d['height']});}[_0x29ff00(0x2dc)](_0x5c96b1){const _0x4ffa58=_0x29ff00,{row:_0x152fbd,column:_0x49e2ed}=_0x5c96b1;if(_0x152fbd>=this[_0x4ffa58(0x464)]['startRow']&&_0x152fbd<=this['_range']['endRow']&&_0x49e2ed>=this[_0x4ffa58(0x464)][_0x4ffa58(0x564)]&&_0x49e2ed<=this[_0x4ffa58(0x464)][_0x4ffa58(0x20e)]){this[_0x4ffa58(0x3ca)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x29ff00(0x2ab)](_0x5609d9){return!0x1;}['_draw'](_0x4b4a13){const _0x445156=_0x29ff00;K[_0x445156(0x606)][_0x445156(0x3e4)](_0x4b4a13,{'width':this[_0x445156(0x367)],'height':this[_0x445156(0x376)],'strokeWidth':bs,'stroke':this[_0x445156(0x1e4)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x445156(0x3db)]&&(_0x4b4a13['save'](),_0x4b4a13[_0x445156(0x310)](0x1,0x0,0x0,0x1,this[_0x445156(0x367)],this[_0x445156(0x601)]==='bottom'?0x0:-Le),Xe[_0x445156(0x3e4)](_0x4b4a13,{'text':this['_name'],'color':this[_0x445156(0x1e4)]}),_0x4b4a13[_0x445156(0x2a5)]());}}var Ts=Object[_0x29ff00(0x64a)],Rs=Object[_0x29ff00(0x316)],ys=(_0x4b4d1e,_0x51b8ab,_0x12d8b4,_0x460184)=>{const _0x1ba24e=_0x29ff00;for(var _0x4d690d=_0x460184>0x1?void 0x0:_0x460184?Rs(_0x51b8ab,_0x12d8b4):_0x51b8ab,_0x333536=_0x4b4d1e[_0x1ba24e(0x5e7)]-0x1,_0x472a87;_0x333536>=0x0;_0x333536--)(_0x472a87=_0x4b4d1e[_0x333536])&&(_0x4d690d=(_0x460184?_0x472a87(_0x51b8ab,_0x12d8b4,_0x4d690d):_0x472a87(_0x4d690d))||_0x4d690d);return _0x460184&&_0x4d690d&&Ts(_0x51b8ab,_0x12d8b4,_0x4d690d),_0x4d690d;},at=(_0x1f6fff,_0x3982eb)=>(_0x89995d,_0x1611bc)=>_0x3982eb(_0x89995d,_0x1611bc,_0x1f6fff);const Os=0x1389;let It=class extends a[_0x29ff00(0x4b0)]{constructor(_0x1a2d60,_0x1c8eb1,_0x3e16c4,_0x55cd4b){const _0x4af585=_0x29ff00;super(),I(this,'_cursors',new Set()),I(this,_0x4af585(0x1ec),null),(this[_0x4af585(0x220)]=_0x1a2d60,this[_0x4af585(0x613)]=_0x1c8eb1,this[_0x4af585(0x516)]=_0x3e16c4,this[_0x4af585(0x48e)]=_0x55cd4b,this[_0x4af585(0x5c4)]());}[_0x29ff00(0x5c4)](){const _0x53bc12=_0x29ff00;this[_0x53bc12(0x613)][_0x53bc12(0x39f)][_0x53bc12(0x619)](V[_0x53bc12(0x264)](this[_0x53bc12(0x2b6)]),V[_0x53bc12(0x53a)](_0x55278e=>{const _0x3445ee=_0x53bc12;if(_0x55278e){const _0x3b9b92=_0x55278e[_0x3445ee(0x5a7)];return A[_0x3445ee(0x4c4)](this[_0x3445ee(0x516)][_0x3445ee(0x455)](this[_0x3445ee(0x220)][_0x3445ee(0x21b)]),this['_themeService'][_0x3445ee(0x44b)])[_0x3445ee(0x619)](V['map'](([_0x486aff,_0x328c6b])=>{const _0x50fa35=_0x3445ee,_0x123d34=new Map();return _0x486aff[_0x50fa35(0x3a1)]((_0x450513,_0x365eab)=>{const _0x51985=_0x50fa35;if(_0x450513['sheetID']===_0x3b9b92){const _0x1a3058={..._0x450513};_0x1a3058[_0x51985(0x375)]=_0x328c6b[_0x450513[_0x51985(0x375)]],_0x123d34['set'](_0x365eab,_0x1a3058);}}),{'skeleton':_0x55278e,'cursors':_0x123d34};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x366eb8,cursors:_0x265b78})=>{const _0x280c42=_0x53bc12;this[_0x280c42(0x51b)](),_0x366eb8&&this[_0x280c42(0x266)](_0x366eb8,_0x265b78);}),this[_0x53bc12(0x613)][_0x53bc12(0x39f)][_0x53bc12(0x58f)](_0x5cbd85=>{const _0x3a2a25=_0x53bc12;if(_0x5cbd85==null)return;const {skeleton:_0x2837fb}=_0x5cbd85,{scene:_0x5abe70}=this[_0x3a2a25(0x220)];_0x5abe70[_0x3a2a25(0x2a7)][_0x3a2a25(0x53c)](a[_0x3a2a25(0x242)](_0x34ed4a=>{const _0x53af27=_0x3a2a25;var _0x48c7e6,_0x51a5df;const {offsetX:_0x429588,offsetY:_0x4592e8}=_0x34ed4a,{x:_0xf9701b,y:_0x56061a}=_0x5abe70[_0x53af27(0x1f1)](K['Vector2']['FromArray']([_0x429588,_0x4592e8])),{scaleX:_0x37eb2b,scaleY:_0x52d6e8}=_0x5abe70[_0x53af27(0x3f4)](),_0x3507e1=_0x5abe70[_0x53af27(0x2b4)](ye[_0x53af27(0x56f)][_0x53af27(0x52d)]),_0x510d13=_0x5abe70[_0x53af27(0x5b2)](K[_0x53af27(0x27f)]['FromArray']([_0xf9701b,_0x56061a]),_0x3507e1),_0x5575ab=_0x2837fb['getCellPositionByOffset'](_0x429588,_0x4592e8,_0x37eb2b,_0x52d6e8,_0x510d13);((_0x48c7e6=this[_0x53af27(0x1ec)])==null?void 0x0:_0x48c7e6[_0x53af27(0x2f4)])===_0x5575ab[_0x53af27(0x2f4)]&&((_0x51a5df=this[_0x53af27(0x1ec)])==null?void 0x0:_0x51a5df[_0x53af27(0x43d)])===_0x5575ab[_0x53af27(0x43d)]||this[_0x53af27(0x4fd)]['forEach'](_0x701cd3=>{const _0x2b43b8=_0x53af27;_0x701cd3[_0x2b43b8(0x2dc)](_0x5575ab);});},0x64));});}[_0x29ff00(0x266)](_0x2660b4,_0x3488ae){const _0x3371d6=_0x29ff00;var _0x4908b5;const _0x289104=(_0x4908b5=this[_0x3371d6(0x613)]['getCurrent']())==null?void 0x0:_0x4908b5[_0x3371d6(0x4a3)];if(!_0x289104)return;const _0xabbb82=this['_getSheetObject']();if(!_0xabbb82)return;this[_0x3371d6(0x4fd)]['forEach'](_0x2ebe94=>{const _0xe97810=_0x3371d6;_0x2ebe94[_0xe97810(0x391)]();});const {scene:_0x322511}=_0xabbb82,_0x4a53ba=Ds(Array[_0x3371d6(0x4e3)](_0x3488ae[_0x3371d6(0x326)]()))['map'](_0x245af1=>{const _0x24e873=_0x3371d6,{color:_0x55c44e,range:_0x1792b9,name:_0x4ccfb6,selection:_0x333be6,sheetID:_0x2e3c01}=_0x245af1,{startColumn:_0x712586,startRow:_0x24ffc9,endColumn:_0x4c2158,endRow:_0xd4f0b1}=_0x1792b9,_0x22d08a=ye['getCoordByCell'](_0x24ffc9,_0x712586,_0x322511,_0x289104),_0x5bc025=ye[_0x24e873(0x279)](_0xd4f0b1,_0x4c2158,_0x322511,_0x289104),{columnHeaderHeightAndMarginTop:_0x48e751}=_0x289104,{startX:_0x272cf6,startY:_0xa0f535}=_0x22d08a,{endX:_0x26ac4c,endY:_0x4a1f5e}=_0x5bc025,_0xe90165=_0x26ac4c-_0x272cf6,_0x2a5b3a=_0x4a1f5e-_0xa0f535,_0x5a8c6b={'labelPosition':_0xa0f535-_0x48e751>=Le?_0x24e873(0x1fb):_0x24e873(0x5f8),'sheetID':_0x2e3c01,'range':_0x1792b9,'color':_0x55c44e,'name':_0x4ccfb6,'selection':_0x333be6,'left':_0x272cf6,'top':_0xa0f535,'width':_0xe90165,'height':_0x2a5b3a,'evented':!0x1,'zIndex':Os};return new Ii(_0x4ccfb6,_0x5a8c6b);});_0x322511[_0x3371d6(0x2f9)](_0x4a53ba,Es),this['_cursors']=new Set(_0x4a53ba);}[_0x29ff00(0x51b)](){const _0x2d017b=_0x29ff00;var _0xdb7e60;(_0xdb7e60=this['_cursors'])==null||_0xdb7e60[_0x2d017b(0x3a1)](_0x1846a6=>_0x1846a6['dispose']());}['_getSheetObject'](){const _0x13a655=_0x29ff00;return ye[_0x13a655(0x20c)](this[_0x13a655(0x220)][_0x13a655(0x4f6)],this['_context']);}};It=ys([at(0x1,a[_0x29ff00(0x493)](ye[_0x29ff00(0x2ee)])),at(0x2,a['Inject'](De)),at(0x3,a[_0x29ff00(0x493)](a[_0x29ff00(0x438)]))],It);function _0x2f26(_0x1d15a3,_0x6fdb30){const _0x595e3c=_0x595e();return _0x2f26=function(_0x2f26ed,_0x8f87d4){_0x2f26ed=_0x2f26ed-0x1b5;let _0x31ff46=_0x595e3c[_0x2f26ed];return _0x31ff46;},_0x2f26(_0x1d15a3,_0x6fdb30);}function Ds(_0x5d81ab){const _0x44e12b=_0x29ff00,_0x56483e=new Map();return _0x5d81ab[_0x44e12b(0x3a1)](_0x18a632=>{const _0x25488a=_0x44e12b;if(_0x56483e[_0x25488a(0x38d)](_0x18a632[_0x25488a(0x3ee)])){const _0x25c2f0=_0x56483e[_0x25488a(0x2ef)](_0x18a632[_0x25488a(0x3ee)]);_0x25c2f0[_0x25488a(0x2cd)]+=',\x20'+_0x18a632[_0x25488a(0x2cd)];}else _0x56483e['set'](_0x18a632[_0x25488a(0x3ee)],_0x18a632);}),Array[_0x44e12b(0x4e3)](_0x56483e[_0x44e12b(0x326)]());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0x26d59e){const _0x403af5=_0x29ff00;return _0x26d59e&&_0x26d59e['__esModule']&&Object[_0x403af5(0x1fe)][_0x403af5(0x5d7)][_0x403af5(0x1d5)](_0x26d59e,_0x403af5(0x659))?_0x26d59e[_0x403af5(0x659)]:_0x26d59e;}var Ci={'exports':{}},Je={},Ps=ae,ws=Symbol[_0x29ff00(0x2a2)](_0x29ff00(0x228)),Us=Symbol['for'](_0x29ff00(0x34b)),Ms=Object[_0x29ff00(0x1fe)][_0x29ff00(0x5d7)],As=Ps[_0x29ff00(0x30c)][_0x29ff00(0x504)],Ns={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function Ei(_0x43dcd1,_0x2a3d3d,_0x37d99d){const _0x2c245f=_0x29ff00;var _0x1c01b4,_0x2deeec={},_0x42cc53=null,_0x28b5da=null;_0x37d99d!==void 0x0&&(_0x42cc53=''+_0x37d99d),_0x2a3d3d['key']!==void 0x0&&(_0x42cc53=''+_0x2a3d3d['key']),_0x2a3d3d[_0x2c245f(0x486)]!==void 0x0&&(_0x28b5da=_0x2a3d3d[_0x2c245f(0x486)]);for(_0x1c01b4 in _0x2a3d3d)Ms[_0x2c245f(0x1d5)](_0x2a3d3d,_0x1c01b4)&&!Ns[_0x2c245f(0x5d7)](_0x1c01b4)&&(_0x2deeec[_0x1c01b4]=_0x2a3d3d[_0x1c01b4]);if(_0x43dcd1&&_0x43dcd1['defaultProps']){for(_0x1c01b4 in(_0x2a3d3d=_0x43dcd1[_0x2c245f(0x5fd)],_0x2a3d3d))_0x2deeec[_0x1c01b4]===void 0x0&&(_0x2deeec[_0x1c01b4]=_0x2a3d3d[_0x1c01b4]);}return{'$$typeof':ws,'type':_0x43dcd1,'key':_0x42cc53,'ref':_0x28b5da,'props':_0x2deeec,'_owner':As[_0x2c245f(0x20d)]};}Je[_0x29ff00(0x32c)]=Us,Je[_0x29ff00(0x3dd)]=Ei,Je[_0x29ff00(0x5bb)]=Ei,Ci['exports']=Je;var ge=Ci[_0x29ff00(0x5a4)],ee=function(){const _0x399978=_0x29ff00;return ee=Object[_0x399978(0x306)]||function(_0x1ddeb5){const _0x5d57c8=_0x399978;for(var _0x30b5e0,_0x52925d=0x1,_0x340a9d=arguments['length'];_0x52925d<_0x340a9d;_0x52925d++){_0x30b5e0=arguments[_0x52925d];for(var _0x383ebf in _0x30b5e0)Object[_0x5d57c8(0x1fe)][_0x5d57c8(0x5d7)][_0x5d57c8(0x1d5)](_0x30b5e0,_0x383ebf)&&(_0x1ddeb5[_0x383ebf]=_0x30b5e0[_0x383ebf]);}return _0x1ddeb5;},ee[_0x399978(0x567)](this,arguments);},Ls=function(_0x2a29c6,_0x35672f){const _0x31672d=_0x29ff00;var _0x64131={};for(var _0x57fb30 in _0x2a29c6)Object['prototype'][_0x31672d(0x5d7)][_0x31672d(0x1d5)](_0x2a29c6,_0x57fb30)&&_0x35672f[_0x31672d(0x1c6)](_0x57fb30)<0x0&&(_0x64131[_0x57fb30]=_0x2a29c6[_0x57fb30]);if(_0x2a29c6!=null&&typeof Object[_0x31672d(0x2e3)]==_0x31672d(0x5a8)){for(var _0x1a8d41=0x0,_0x57fb30=Object[_0x31672d(0x2e3)](_0x2a29c6);_0x1a8d41<_0x57fb30[_0x31672d(0x5e7)];_0x1a8d41++)_0x35672f[_0x31672d(0x1c6)](_0x57fb30[_0x1a8d41])<0x0&&Object[_0x31672d(0x1fe)]['propertyIsEnumerable'][_0x31672d(0x1d5)](_0x2a29c6,_0x57fb30[_0x1a8d41])&&(_0x64131[_0x57fb30[_0x1a8d41]]=_0x2a29c6[_0x57fb30[_0x1a8d41]]);}return _0x64131;},Pt=ae[_0x29ff00(0x644)](function(_0x5c84e0,_0x3d1507){const _0x32f7fd=_0x29ff00;var _0x493f10=_0x5c84e0['icon'],_0x2b1078=_0x5c84e0['id'],_0x527b34=_0x5c84e0[_0x32f7fd(0x39a)],_0x2a0011=_0x5c84e0[_0x32f7fd(0x30f)],_0x490e3b=Ls(_0x5c84e0,['icon','id',_0x32f7fd(0x39a),'extend']),_0x52efc1=_0x32f7fd(0x2fb)[_0x32f7fd(0x2c9)](_0x2b1078,'\x20')[_0x32f7fd(0x2c9)](_0x527b34||'')[_0x32f7fd(0x3f5)](),_0xc265ce=ae[_0x32f7fd(0x5e3)]('_'[_0x32f7fd(0x2c9)]($s()));return bi(_0x493f10,''[_0x32f7fd(0x2c9)](_0x2b1078),{'defIds':_0x493f10[_0x32f7fd(0x666)],'idSuffix':_0xc265ce['current']},ee({'ref':_0x3d1507,'className':_0x52efc1},_0x490e3b),_0x2a0011);});function bi(_0x20b064,_0x12bcfa,_0x380f1e,_0x119019,_0x18f7e8){const _0x560733=_0x29ff00;return ae[_0x560733(0x1e5)](_0x20b064[_0x560733(0x5ca)],ee(ee({'key':_0x12bcfa},xs(_0x20b064,_0x380f1e,_0x18f7e8)),_0x119019),(js(_0x20b064,_0x380f1e)['children']||[])[_0x560733(0x4db)](function(_0x33ff71,_0x550895){const _0x25cb3d=_0x560733;return bi(_0x33ff71,''[_0x25cb3d(0x2c9)](_0x12bcfa,'-')['concat'](_0x20b064[_0x25cb3d(0x5ca)],'-')['concat'](_0x550895),_0x380f1e,void 0x0,_0x18f7e8);}));}function xs(_0x401117,_0x4a0abf,_0x5212ae){const _0x909d66=_0x29ff00;var _0x2615e1=ee({},_0x401117[_0x909d66(0x627)]);_0x5212ae!=null&&_0x5212ae[_0x909d66(0x552)]&&_0x2615e1[_0x909d66(0x53e)]===_0x909d66(0x552)&&(_0x2615e1['fill']=_0x5212ae[_0x909d66(0x552)]);var _0x27c26f=_0x4a0abf['defIds'];return!_0x27c26f||_0x27c26f[_0x909d66(0x5e7)]===0x0||(_0x401117[_0x909d66(0x5ca)]===_0x909d66(0x643)&&_0x2615e1[_0x909d66(0x359)]&&(_0x2615e1[_0x909d66(0x359)]=_0x2615e1[_0x909d66(0x359)]+_0x4a0abf[_0x909d66(0x3ab)]),Object[_0x909d66(0x432)](_0x2615e1)['forEach'](function(_0x519d34){const _0x593998=_0x909d66;var _0x57d2ea=_0x519d34[0x0],_0x5a8d7b=_0x519d34[0x1];typeof _0x5a8d7b=='string'&&(_0x2615e1[_0x57d2ea]=_0x5a8d7b[_0x593998(0x43e)](/url\(#(.*)\)/,_0x593998(0x54e)[_0x593998(0x2c9)](_0x4a0abf[_0x593998(0x3ab)],')')));})),_0x2615e1;}function js(_0x3995de,_0x9573c0){const _0x50f95e=_0x29ff00;var _0x4f0ac0,_0x5ce180=_0x9573c0[_0x50f95e(0x666)];return!_0x5ce180||_0x5ce180[_0x50f95e(0x5e7)]===0x0?_0x3995de:_0x3995de[_0x50f95e(0x5ca)]===_0x50f95e(0x56a)&&(!((_0x4f0ac0=_0x3995de[_0x50f95e(0x1fd)])===null||_0x4f0ac0===void 0x0)&&_0x4f0ac0[_0x50f95e(0x5e7)])?ee(ee({},_0x3995de),{'children':_0x3995de[_0x50f95e(0x1fd)]['map'](function(_0x27c3a9){const _0x57b6b5=_0x50f95e;return typeof _0x27c3a9[_0x57b6b5(0x627)]['id']==_0x57b6b5(0x291)&&_0x5ce180&&_0x5ce180['indexOf'](_0x27c3a9['attrs']['id'])>-0x1?ee(ee({},_0x27c3a9),{'attrs':ee(ee({},_0x27c3a9[_0x57b6b5(0x627)]),{'id':_0x27c3a9[_0x57b6b5(0x627)]['id']+_0x9573c0[_0x57b6b5(0x3ab)]})}):_0x27c3a9;})}):_0x3995de;}function $s(){const _0x2c5cd7=_0x29ff00;return Math[_0x2c5cd7(0x581)]()[_0x2c5cd7(0x3ef)](0x24)[_0x2c5cd7(0x1da)](0x2,0x8);}Pt[_0x29ff00(0x580)]='UniverIcon';var Hs={'tag':'svg','attrs':{'fill':_0x29ff00(0x63c),'viewBox':'0\x200\x2016\x2016','width':_0x29ff00(0x295),'height':_0x29ff00(0x295)},'children':[{'tag':'g','attrs':{'clipPath':_0x29ff00(0x370)},'children':[{'tag':_0x29ff00(0x683),'attrs':{'stroke':'currentColor','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':_0x29ff00(0x5f9),'strokeLinejoin':_0x29ff00(0x5f9),'strokeWidth':1.2}}]},{'tag':_0x29ff00(0x56a),'attrs':{},'children':[{'tag':_0x29ff00(0x253),'attrs':{'id':_0x29ff00(0x1db)},'children':[{'tag':_0x29ff00(0x683),'attrs':{'fill':_0x29ff00(0x29f),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x29ff00(0x1db)]},Ti=ae[_0x29ff00(0x644)](function(_0x17f6e2,_0x14538d){const _0x3fe1bf=_0x29ff00;return ae[_0x3fe1bf(0x1e5)](Pt,Object[_0x3fe1bf(0x306)]({},_0x17f6e2,{'id':_0x3fe1bf(0x5fa),'ref':_0x14538d,'icon':Hs}));});Ti[_0x29ff00(0x580)]=_0x29ff00(0x648);var Bs={'tag':_0x29ff00(0x35f),'attrs':{'fill':_0x29ff00(0x63c),'viewBox':'0\x200\x2017\x2016','width':_0x29ff00(0x295),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x29ff00(0x683),'attrs':{'stroke':_0x29ff00(0x4cd),'d':_0x29ff00(0x235),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x29ff00(0x56a),'attrs':{},'children':[{'tag':_0x29ff00(0x253),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x29ff00(0x683),'attrs':{'fill':_0x29ff00(0x29f),'d':_0x29ff00(0x489),'transform':_0x29ff00(0x48c)}}]}]}],'defIds':[_0x29ff00(0x1e8)]},Ri=ae[_0x29ff00(0x644)](function(_0x3e10f1,_0x2560ef){const _0x2afa87=_0x29ff00;return ae['createElement'](Pt,Object['assign']({},_0x3e10f1,{'id':_0x2afa87(0x265),'ref':_0x2560ef,'icon':Bs}));});Ri['displayName']=_0x29ff00(0x1cb);function yi(_0x8921ca){const _0x5920d7=_0x29ff00;var _0x32490b,_0x561685,_0x42931a='';if(typeof _0x8921ca=='string'||typeof _0x8921ca==_0x5920d7(0x36b))_0x42931a+=_0x8921ca;else{if(typeof _0x8921ca=='object'){if(Array['isArray'](_0x8921ca)){var _0x1dc081=_0x8921ca[_0x5920d7(0x5e7)];for(_0x32490b=0x0;_0x32490b<_0x1dc081;_0x32490b++)_0x8921ca[_0x32490b]&&(_0x561685=yi(_0x8921ca[_0x32490b]))&&(_0x42931a&&(_0x42931a+='\x20'),_0x42931a+=_0x561685);}else{for(_0x561685 in _0x8921ca)_0x8921ca[_0x561685]&&(_0x42931a&&(_0x42931a+='\x20'),_0x42931a+=_0x561685);}}}return _0x42931a;}function ks(){const _0x2da0c7=_0x29ff00;for(var _0x1559af,_0x365fda,_0x48d60a=0x0,_0x380ce4='',_0x3f8c98=arguments[_0x2da0c7(0x5e7)];_0x48d60a<_0x3f8c98;_0x48d60a++)(_0x1559af=arguments[_0x48d60a])&&(_0x365fda=yi(_0x1559af))&&(_0x380ce4&&(_0x380ce4+='\x20'),_0x380ce4+=_0x365fda);return _0x380ce4;}const Ws=_0x29ff00(0x51d),Fs=_0x29ff00(0x4de),Vs=_0x29ff00(0x59f),Gs=_0x29ff00(0x274),Ys=_0x29ff00(0x35b),Me={'onlineStatusIcon':Ws,'onlineStatusTitle':Fs,'onlineStatus':Vs,'online':Gs,'offline':Ys};function Ks(_0x4b5f97){const _0x14207c=_0x29ff00;switch(_0x4b5f97){case q['OFFLINE']:return _0x14207c(0x1d7);case q[_0x14207c(0x2df)]:return _0x14207c(0x321);case q[_0x14207c(0x339)]:return _0x14207c(0x22b);case q[_0x14207c(0x3d4)]:return _0x14207c(0x3c8);case q[_0x14207c(0x505)]:case q[_0x14207c(0x290)]:return _0x14207c(0x2ac);case q[_0x14207c(0x301)]:case q[_0x14207c(0x1c5)]:return _0x14207c(0x3b6);}}function Oi(_0x2d0fef){const _0x39f27c=_0x29ff00,{status$:_0x1f68d0}=_0x2d0fef,_0x47c9e5=te[_0x39f27c(0x25b)](_0x1f68d0,q[_0x39f27c(0x3d4)]),_0x3d204f=a['useDependency'](a['LocaleService']),_0x4589eb=a[_0x39f27c(0x2af)](exports['CollaborationSessionService']),_0x8aafcf=_0x47c9e5!==q[_0x39f27c(0x548)],_0x1a34e5=_0x3d204f['t'](Ks(_0x47c9e5)),_0x1d9975=ks(Me[_0x39f27c(0x549)],{[Me['online']]:_0x8aafcf,[Me['offline']]:!_0x8aafcf}),_0x3a7de4=_0x8aafcf?ge['jsx'](Ri,{}):ge[_0x39f27c(0x3dd)](Ti,{}),_0x360e5e=ae[_0x39f27c(0x3a3)](()=>{_0x8aafcf||_0x4589eb['reconnect']();},[_0x8aafcf,_0x4589eb]);function _0x54c19f(){const _0x56a685=_0x39f27c;return ge['jsxs'](_0x56a685(0x52c),{'className':_0x1d9975,'onClick':_0x360e5e,'children':[ge[_0x56a685(0x3dd)](_0x56a685(0x52c),{'className':Me['onlineStatusIcon'],'children':_0x3a7de4}),ge['jsx']('div',{'className':Me[_0x56a685(0x42a)],'children':_0x1a34e5})]});}return _0x8aafcf?_0x54c19f():ge[_0x39f27c(0x3dd)](Ce['Tooltip'],{'title':_0x3d204f['t'](_0x39f27c(0x65d)),'children':_0x54c19f()});}var qs=Object[_0x29ff00(0x64a)],zs=Object['getOwnPropertyDescriptor'],Xs=(_0x41afc9,_0xa79fb4,_0x118243,_0x290294)=>{const _0x48cbee=_0x29ff00;for(var _0x5fb287=_0x290294>0x1?void 0x0:_0x290294?zs(_0xa79fb4,_0x118243):_0xa79fb4,_0x45468b=_0x41afc9[_0x48cbee(0x5e7)]-0x1,_0x854c1f;_0x45468b>=0x0;_0x45468b--)(_0x854c1f=_0x41afc9[_0x45468b])&&(_0x5fb287=(_0x290294?_0x854c1f(_0xa79fb4,_0x118243,_0x5fb287):_0x854c1f(_0x5fb287))||_0x5fb287);return _0x290294&&_0x5fb287&&qs(_0xa79fb4,_0x118243,_0x5fb287),_0x5fb287;},$e=(_0x588346,_0x4caadd)=>(_0x5dc16e,_0x407f55)=>_0x4caadd(_0x5dc16e,_0x407f55,_0x588346);exports[_0x29ff00(0x4b2)]=class extends a[_0x29ff00(0x331)]{constructor(_0x3c5496,_0x415880,_0x4cfedf,_0x372251){const _0x505e2d=_0x29ff00;super(),I(this,'_status$',new A[(_0x505e2d(0x26c))](q[_0x505e2d(0x3d4)])),(this[_0x505e2d(0x600)]=_0x3c5496,this[_0x505e2d(0x646)]=_0x415880,this[_0x505e2d(0x1c1)]=_0x4cfedf,this[_0x505e2d(0x421)]=_0x372251,this[_0x505e2d(0x633)](),this[_0x505e2d(0x550)]());}['_initStatusListener'](){const _0xbd2d90=_0x29ff00;this[_0xbd2d90(0x665)](this[_0xbd2d90(0x600)][_0xbd2d90(0x200)][_0xbd2d90(0x619)](A[_0xbd2d90(0x53a)](()=>{const _0x194e10=_0xbd2d90,_0x25520f=this[_0x194e10(0x600)][_0x194e10(0x498)]();return _0x25520f?this['_collaborationController'][_0x194e10(0x388)](_0x25520f[_0x194e10(0x621)]()):A['of'](null);}),A[_0xbd2d90(0x53a)](_0x53ad1d=>_0x53ad1d?_0x53ad1d[_0xbd2d90(0x405)]:A['of'](q[_0xbd2d90(0x3d4)])))[_0xbd2d90(0x58f)](_0x377113=>{const _0x212c14=_0xbd2d90;this[_0x212c14(0x1f8)][_0x212c14(0x49f)](_0x377113);}));}['_initStatusComponent'](){const _0x242dec=_0x29ff00;this['disposeWithMe'](this['_uiPartsService'][_0x242dec(0x4c0)](te['BuiltInUIPart']['HEADER_MENU'],()=>a[_0x242dec(0x298)](Js({'status$':this['_status$'][_0x242dec(0x4c6)]()}),this[_0x242dec(0x1c1)])));}},exports[_0x29ff00(0x4b2)]=Xs([$e(0x0,a[_0x29ff00(0x37f)]),$e(0x1,te[_0x29ff00(0x485)]),$e(0x2,a['Inject'](a[_0x29ff00(0x615)])),$e(0x3,a['Inject'](exports[_0x29ff00(0x323)]))],exports['DesktopCollaborationStatusDisplayController']);function Js(_0x5e8dba){const {status$:_0x2c8777}=_0x5e8dba;return function(){const _0x1cb4f6=_0x2f26;return ge[_0x1cb4f6(0x3dd)](Oi,{'status$':_0x2c8777});};}const wt=a[_0x29ff00(0x369)]('uni.network.url-service');var Zs=Object[_0x29ff00(0x64a)],Qs=Object[_0x29ff00(0x316)],er=(_0x517c2c,_0x5389a0,_0x2456f7,_0x553e80)=>{const _0x573ce9=_0x29ff00;for(var _0xc67ac=_0x553e80>0x1?void 0x0:_0x553e80?Qs(_0x5389a0,_0x2456f7):_0x5389a0,_0xe68ee9=_0x517c2c[_0x573ce9(0x5e7)]-0x1,_0x381159;_0xe68ee9>=0x0;_0xe68ee9--)(_0x381159=_0x517c2c[_0xe68ee9])&&(_0xc67ac=(_0x553e80?_0x381159(_0x5389a0,_0x2456f7,_0xc67ac):_0x381159(_0xc67ac))||_0xc67ac);return _0x553e80&&_0xc67ac&&Zs(_0x5389a0,_0x2456f7,_0xc67ac),_0xc67ac;},Re=(_0x591441,_0x1776e6)=>(_0x3d30cc,_0x42e0b9)=>_0x1776e6(_0x3d30cc,_0x42e0b9,_0x591441);exports[_0x29ff00(0x61f)]=class extends a[_0x29ff00(0x4b0)]{constructor(_0x116520,_0x23e80b,_0x372a14,_0x4c9755,_0x12dbbe,_0x14112b){const _0x2808d=_0x29ff00;super(),this[_0x2808d(0x5ec)]=_0x116520,this[_0x2808d(0x328)]=_0x23e80b,this[_0x2808d(0x5b4)]=_0x372a14,this['_localCacheService']=_0x4c9755,this[_0x2808d(0x394)]=_0x12dbbe,_0x14112b?_0x14112b==null||_0x14112b[_0x2808d(0x31e)]()['then'](()=>this[_0x2808d(0x5c4)]()):(this[_0x2808d(0x328)]['debug'](_0x2808d(0x36f),_0x2808d(0x24a)),this['_init']());}async[_0x29ff00(0x5c4)](){const _0x52b8e3=_0x29ff00,_0x3ba6bc=this[_0x52b8e3(0x5ec)][_0x52b8e3(0x56c)](_0x52b8e3(0x4f6)),_0x58eb45=this['_urlService'][_0x52b8e3(0x56c)](_0x52b8e3(0x2eb));if(!_0x3ba6bc||!_0x58eb45){this['_logService'][_0x52b8e3(0x226)]('[DataLoaderController]',_0x52b8e3(0x4f2));return;}switch(Number(_0x58eb45)){case ne[_0x52b8e3(0x3d0)]:{const _0x4f97b7=await this[_0x52b8e3(0x40f)](_0x3ba6bc);this[_0x52b8e3(0x26b)](_0x4f97b7);break;}case ne[_0x52b8e3(0x4f0)]:{await this[_0x52b8e3(0x599)](_0x3ba6bc);break;}default:{this[_0x52b8e3(0x328)][_0x52b8e3(0x27a)](_0x52b8e3(0x36f),_0x52b8e3(0x556));break;}}}async[_0x29ff00(0x26b)](_0x17c2f8){const _0x2c2419=_0x29ff00;await this[_0x2c2419(0x5ad)](_0x17c2f8),_0x17c2f8[_0x2c2419(0x342)][_0x2c2419(0x619)](A[_0x2c2419(0x264)](this[_0x2c2419(0x2b6)]))[_0x2c2419(0x58f)](_0x1c6bba=>{const _0x4c4cc8=_0x2c2419;_0x1c6bba&&this[_0x4c4cc8(0x2e6)](_0x1c6bba);}),this[_0x2c2419(0x5ec)]['urlChange$'][_0x2c2419(0x619)](A['takeUntil'](this[_0x2c2419(0x2b6)]))[_0x2c2419(0x58f)](()=>this['_updateSubUnitFromURLParams'](_0x17c2f8));}[_0x29ff00(0x2e6)](_0xa7dedd,_0x141737=!0x1){const _0x1aae71=_0x29ff00,_0x4a83d4=this[_0x1aae71(0x5ec)][_0x1aae71(0x56c)]('subunit');_0xa7dedd[_0x1aae71(0x360)]()!==_0x4a83d4&&this[_0x1aae71(0x5ec)][_0x1aae71(0x4c7)](_0x1aae71(0x3c5),_0xa7dedd[_0x1aae71(0x360)](),_0x141737);}async['_updateSubUnitFromURLParams'](_0x303b7f){const _0xc14a4f=_0x29ff00;var _0x1f44b3;const _0x14c417=this[_0xc14a4f(0x5ec)][_0xc14a4f(0x56c)](_0xc14a4f(0x3c5));if(!_0x14c417||!_0x303b7f[_0xc14a4f(0x50c)](_0x14c417)){const _0x5ea3cc=_0x303b7f['getUnhiddenWorksheets']()[0x0],_0xaa854c=_0x303b7f['getSheetBySheetId'](_0x5ea3cc);if(!_0xaa854c)return;this[_0xc14a4f(0x2e6)](_0xaa854c,!0x0),await this[_0xc14a4f(0x5b4)][_0xc14a4f(0x645)](k[_0xc14a4f(0x3e3)]['id'],{'unitId':_0x303b7f[_0xc14a4f(0x621)](),'subUnitId':_0x5ea3cc});return;}((_0x1f44b3=_0x303b7f[_0xc14a4f(0x42c)]())==null?void 0x0:_0x1f44b3[_0xc14a4f(0x360)]())!==_0x14c417&&await this[_0xc14a4f(0x5b4)][_0xc14a4f(0x645)](k[_0xc14a4f(0x3e3)]['id'],{'unitId':_0x303b7f['getUnitId'](),'subUnitId':_0x14c417});}async[_0x29ff00(0x40f)](_0x2e10ff){const _0x5c5e56=_0x29ff00;let _0x59e430=0x0;const _0x4290b7=await this[_0x5c5e56(0x34f)][_0x5c5e56(0x26d)](_0x2e10ff);return _0x4290b7&&(_0x4290b7[_0x5c5e56(0x247)]||_0x4290b7[_0x5c5e56(0x219)]['length']!==0x0)&&(_0x59e430=_0x4290b7[_0x5c5e56(0x3a4)]),_0x59e430===0x0&&this[_0x5c5e56(0x328)][_0x5c5e56(0x226)](_0x5c5e56(0x36f),_0x5c5e56(0x204)),this['_snapshotService'][_0x5c5e56(0x30d)](_0x2e10ff,_0x59e430);}async[_0x29ff00(0x599)](_0x4dfe5e){const _0x6dcf8=_0x29ff00;let _0x3cb721=0x0;const _0x3e7faa=await this['_localCacheService']['loadOfflineData'](_0x4dfe5e);return _0x3e7faa&&(_0x3e7faa[_0x6dcf8(0x247)]||_0x3e7faa['mutations'][_0x6dcf8(0x5e7)]!==0x0)&&(_0x3cb721=_0x3e7faa['rev']),_0x3cb721===0x0&&this['_logService']['debug'](_0x6dcf8(0x36f),_0x6dcf8(0x204)),this['_snapshotService'][_0x6dcf8(0x517)](_0x4dfe5e,_0x3cb721);}},exports[_0x29ff00(0x61f)]=er([Re(0x0,wt),Re(0x1,a['ILogService']),Re(0x2,a[_0x29ff00(0x587)]),Re(0x3,a[_0x29ff00(0x493)](exports[_0x29ff00(0x46a)])),Re(0x4,a[_0x29ff00(0x493)](p[_0x29ff00(0x63f)])),Re(0x5,a[_0x29ff00(0x437)](Bi['IRemoteInstanceService']))],exports[_0x29ff00(0x61f)]);var tr=Object[_0x29ff00(0x64a)],ir=Object[_0x29ff00(0x316)],nr=(_0x145082,_0x2e52b0,_0x1260f5,_0x5b6cb9)=>{const _0x2ede02=_0x29ff00;for(var _0x448313=_0x5b6cb9>0x1?void 0x0:_0x5b6cb9?ir(_0x2e52b0,_0x1260f5):_0x2e52b0,_0x341445=_0x145082[_0x2ede02(0x5e7)]-0x1,_0x526168;_0x341445>=0x0;_0x341445--)(_0x526168=_0x145082[_0x341445])&&(_0x448313=(_0x5b6cb9?_0x526168(_0x2e52b0,_0x1260f5,_0x448313):_0x526168(_0x448313))||_0x448313);return _0x5b6cb9&&_0x448313&&tr(_0x2e52b0,_0x1260f5,_0x448313),_0x448313;},Vt=(_0x4bf917,_0x50591f)=>(_0x1d1a69,_0xc68603)=>_0x50591f(_0x1d1a69,_0xc68603,_0x4bf917);const sr='DEFAULT_FILE_NAME',rr=_0x29ff00(0x33f);let Ge=class extends a['Disposable']{constructor(_0x53aadc,_0x3a64f3){const _0x19cdbb=_0x29ff00;super(),this[_0x19cdbb(0x600)]=_0x53aadc,this[_0x19cdbb(0x4ea)]=_0x3a64f3,this[_0x19cdbb(0x5c4)]();}[_0x29ff00(0x5c4)](){const _0x2a2e19=_0x29ff00;this['disposeWithMe'](this['_univerInstanceService'][_0x2a2e19(0x200)][_0x2a2e19(0x58f)](()=>{const _0x315a64=_0x2a2e19;var _0x40c83d;const _0x354078=this['_univerInstanceService']['getFocusedUnit']();let _0x5b0c9c=(_0x40c83d=this['_configService'][_0x315a64(0x1ea)](sr))!=null?_0x40c83d:rr;_0x354078 instanceof a[_0x315a64(0x2d0)]&&(_0x5b0c9c=_0x354078['name']),document['title']=_0x5b0c9c;}));}};Ge=nr([Vt(0x0,a['IUniverInstanceService']),Vt(0x1,a[_0x29ff00(0x64d)])],Ge);var or=Object[_0x29ff00(0x64a)],ar=Object[_0x29ff00(0x316)],cr=(_0x20c423,_0x193825,_0x439adf,_0x2f2aa9)=>{const _0x5453c5=_0x29ff00;for(var _0x3e0016=_0x2f2aa9>0x1?void 0x0:_0x2f2aa9?ar(_0x193825,_0x439adf):_0x193825,_0xda4f75=_0x20c423[_0x5453c5(0x5e7)]-0x1,_0x1a69f8;_0xda4f75>=0x0;_0xda4f75--)(_0x1a69f8=_0x20c423[_0xda4f75])&&(_0x3e0016=(_0x2f2aa9?_0x1a69f8(_0x193825,_0x439adf,_0x3e0016):_0x1a69f8(_0x3e0016))||_0x3e0016);return _0x2f2aa9&&_0x3e0016&&or(_0x193825,_0x439adf,_0x3e0016),_0x3e0016;},ct=(_0x5e353b,_0x3fd0cf)=>(_0x361e9d,_0x52e994)=>_0x3fd0cf(_0x361e9d,_0x52e994,_0x5e353b);let Ye=class{constructor(_0x30a2ce,_0x5d4afb,_0x30236e){const _0x50ba2c=_0x29ff00;this[_0x50ba2c(0x4ea)]=_0x30a2ce,this['_httpService']=_0x5d4afb,this[_0x50ba2c(0x649)]=_0x30236e,this[_0x50ba2c(0x334)]();}[_0x29ff00(0x334)](){const _0x11df2c=_0x29ff00;this[_0x11df2c(0x620)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x3367d4,_0x512d9e)=>_0x512d9e(_0x3367d4)[_0x11df2c(0x619)](A['concatMap'](async _0x520ace=>{const _0x4bcc28=_0x11df2c,_0x3c1f1d=_0x520ace;if(_0x3c1f1d[_0x4bcc28(0x2be)]===0x191&&window[_0x4bcc28(0x3e5)](this[_0x4bcc28(0x649)]['t'](_0x4bcc28(0x4bb)))){const _0x91bdbd=window[_0x4bcc28(0x61d)](window[_0x4bcc28(0x60d)]['href']);window[_0x4bcc28(0x60d)][_0x4bcc28(0x244)]=this[_0x4bcc28(0x60b)]()+_0x4bcc28(0x4c1)+_0x91bdbd;}return _0x3c1f1d;}))});}['_getLoginPath'](){const _0x3728e2=_0x29ff00;var _0x2fee53,_0x21d9ec;const _0x431409=this['_configService']['getConfig'](hi),_0x2d7acd=this['_configService'][_0x3728e2(0x1ea)](Q);return(_0x21d9ec=(_0x2fee53=_0x2d7acd==null?void 0x0:_0x2d7acd['loginUrlKey'])!=null?_0x2fee53:_0x431409)!=null?_0x21d9ec:Ji;}};Ye=cr([ct(0x0,a[_0x29ff00(0x64d)]),ct(0x1,a[_0x29ff00(0x493)](z['HTTPService'])),ct(0x2,a['Inject'](a[_0x29ff00(0x430)]))],Ye);var lr=Object['defineProperty'],hr=Object[_0x29ff00(0x316)],_r=(_0x5966d0,_0x487395,_0x46c0d0,_0x3cf26c)=>{for(var _0x50f6ae=_0x3cf26c>0x1?void 0x0:_0x3cf26c?hr(_0x487395,_0x46c0d0):_0x487395,_0x5c1597=_0x5966d0['length']-0x1,_0x351941;_0x5c1597>=0x0;_0x5c1597--)(_0x351941=_0x5966d0[_0x5c1597])&&(_0x50f6ae=(_0x3cf26c?_0x351941(_0x487395,_0x46c0d0,_0x50f6ae):_0x351941(_0x50f6ae))||_0x50f6ae);return _0x3cf26c&&_0x50f6ae&&lr(_0x487395,_0x46c0d0,_0x50f6ae),_0x50f6ae;},Gt=(_0x4b40f7,_0x267177)=>(_0x4bd7c5,_0x7a8a01)=>_0x267177(_0x4bd7c5,_0x7a8a01,_0x4b40f7);function _0x595e(){const _0x1b99cf=['generateRandomId','_tryEnsureSocket','INGEST','post','_collabCursorController','loadDoc','addObject','hide','418748mXHXMQ','_removeCollabCursors','RemoveRowCommandId','univer-online-status-icon','_docClipboardService','authzUrl','onRemoteRej','_keySchedule','_undoStacks','_getAPIPrefixPath','startTime','sin','getDocRanges','createInstance','sessionTicket','OpenSSL','FAIL','userID','div','VIEW_MAIN','saveSnapshot','hasher','lib','_lockTransition','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','[UniverCollaborationClientPlugin]','Subject','_isPermissionRej','list','_transformStack','_reverseMap','_HTTPService','switchMap','now','subscribeEvent','clamp','fill','compose','randomUUID','@univerjs/engine-render','_roomMembers','_substituteUndoStack','labelPosition','Hasher','DisposableCollection','getMergeData','OFFLINE','onlineStatus','_minBufferSize','deserializeRangeWithSheet','conflict.content','debounceTime','url(#$1','getTime','_initStatusListener','update','colorChannel1','unitID','_removeRoom','/collaborator','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','UnitSnapshot','_DEC_XFORM_MODE','Undefined','CHANGESET_REJ','eventID','FileId','body','createEncryptor','getCollabEntity','HmacMD5','_initUnitPermissionChange','serializeRangeWithSheet','UNAUTHENTICATED','startColumn','WebURLService','133872AEvWyF','apply','_getRedoStack','DependentOn','defs','COMPRESS_MUTATION_APPLY','getParam','LEAVE','collab-text-anchor-','VIEWPORT_KEY','searchParams','telemetry\x20info\x20is\x20not\x20initialized','ONLINE','baseRev','OTHER_CLIENTS_EDITING','LOCAL_CACHE_INTERVAL','toRgbString','listCollaborators','removeMember','SetDocZoomRatioOperation','_onRecvEvent','LICENSE_IMPORT_SIZE_EXCEEDED','_unitOnClients','iterations','StreamCipher','COMPRESS_MUTATION_SEND','displayName','random','HttpExport','_getSnapshotAPIPrefix','onMissedChangesetFetched','sid','addClipboardHook','ICommandService','ceil','collaboration-session-retry','_http','find','/universer-api/authz','WorkbookEditablePermission','initWorkbookPermissionChange','subscribe','_permissionService','/universer-api/oidc/authpage','SetTextSelectionsOperation','listRoles','enableAuthServer','registerHTTPInterceptor','_initCommandExecutedListener','encode','_getSendChangesetTimeout','_loadDoc','RevisionService','handleInsertRow','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','byteOffset','_mode','univer-online-status','@univerjs/engine-formula','USERS_LEAVE','image/png','Encryptor','exports','_scheduleSaving','Rectangle','sheetId','function','_waitCount','lineTo','_ws','[PendingState]:\x20received\x20acknowledgement.','_updateSubUnitFromURLParams','\x20-\x20','appendMutation','_sender','getCurrentUnitForType','getVpScrollXYInfoByPosToVp','ImageSourceType','_commandService','session.connection-failed','_cursorShapes','IRenderManagerService','getMember','resize','isTransformMutationsWithChangesetSuccess','jsxs','USERS_ENTER','randomBytes','action','then','split','_incrementRevisionNumber','saveOfflineData','clone','_init','DeleteRangeMoveUpCommandId','HEARTBEAT','setCurrentUser','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','SheetCollabCursorShape','tag','_drawAnchor','MSG_FOR_ERROR','SheetCollaborationEntity','UniverInstanceType','UNIVER_PROJECT','_onUserLeave','_state','_retryConnectingTimer','originalMeta','_toggleOnline','/allowed','getCurrentSelections','hasOwnProperty','getCurrentUser','_render','ERROR_IMAGE','joinEvent','/universer-api/snapshot','DocCollaborationEntity','_replaceFileID','[CollaborationSessionService]:\x20socket\x20error','SHA1','LOGIN_URL_KEY','editing\x20status\x20changed\x20to','useRef','@univerjs/docs','_onConnectionOpen','dispose','length','handleIRemoveRow','_roomMembers$','CollaborationSessionService','_docTransformStateCacheService','_urlService','merge','AuthzIoHttpService','transformRemoteChangeset','fetchThroughInterceptors','AUTHZ_URL_KEY','YUUMI_UNABLE_LOAD_URL','getOffsetConfig','getInterceptPoints','_compressMutationService','hostname','_getSaveTimeout','bottom','round','off-line-single','_resendWithTimeout','_unitStatus','defaultProps','revision','rng','_univerInstanceService','_labelPosition','collaboration-client.config','_hasher','filter','IAuthzIoService','Rect','editingUnit','parseProtocolChangeset','UNKNOWN_CODE','JSONX','_getLoginPath','rxjs','location','objectActions','UserManagerService','_scheduleHeartbeat','_updateLocalCache','_notificationService','_sheetSkeletonManagerService','_onConnectionFailed','Injector','_initRequestHeader','Module','_joinRoom','pipe','JOIN_ROOM_FULL','PERSON','fromEvent','encodeURIComponent','black','DataLoaderController','_httpService','getUnitId','_timeoutTimer','createCollaborator','RefRangeService','UNIVER_SLIDE','blockSize','attrs','Base','target','size','createSocket','_name','SNAPSHOT_HAS_BEEN_REMOVED','getItem','_retryCount','/universer-api/stream/file/upload','NoPadding','[OfflineState]:\x20received\x20acknowledgement.','_initStatusComponent','clearInterval','_getDownloadEndpointURL','UniverCollaborationPlugin','_setupBeforeClosingHandler','UNKNOWN_CMD','_eventUnsubscribe','UniverCollaborationClientPlugin','COMPLETION_FINISHED','none','11802990PhpVYZ','_transformIMECache','SnapshotService','isEditing','clear','close$','use','forwardRef','executeCommand','_uiPartsService','roomMembers$','OffLineSingle','localeService','defineProperty','DocSelectionManagerService','objectType','IConfigService','deepClone','UNDEFINED','objects','unpad','_unlockTransition','_collabSessionService','_fetchMissChangesets','origin','_cachedData','image/jpg','BlockCipherMode','default','_onLocalMutation','_applyRemoteChangeset','collaborators','collab-client.tooltip.reconnect','stringify','...','_updateLocalCursor','InsertColCommandId','ImageUploadStatusType','HMAC','_doCryptBlock','disposeWithMe','defIds','InsertRangeMoveRightCommandId','_colorIndex','EvpKDF','startsWith','_resendTimeout','_clearOtherTimers','onTransformState','deserializeToCombResponse','getStateCache','IBeforeCloseService','BlockCipher','InsertSheetMutation','_transitionLocked','Shape','result','transformByState','_disableEditing','socketService','CollaborationSession','_startDocCollabCursor','Malformed\x20UTF-8\x20data','method','salt','newValue','_assignedColors','_replayCachedMutations','file','updateCollaborator','path','changesets','_append','onSendChangeset','_doProcessBlock','CommandType','collab-text-range-','hovered','_syncEditingCollabCursorService','_clearTimeoutTimer','newCsEvent','shouldCloseConn','max','fromEventSubject','mapDocumentTypeToUniverType','objectID','[PendingState]:\x20received\x20rejection.','HTTPService','subject','_beforeCloseService','_injector','_handleEvent','error$','parse','PENDING','indexOf','snapshot','undoState','_tryReconnect','getUnitOnRev','OnLineSingle','_docStateChangeManagerService','ENSURE_SNAPSHOT_EXECUTION','_acknowledgedAwaitingChangeset','INVALID_ARGUMENT','_getCurrentRevision','_substituteRedoStack','state','_initDependencies','_transformSelections','call','MemberService','collabStatus.offline','words','createDecryptor','substring','off-line-single_clip0_910_343','_snapshotServerService','COLLAB_SUBMIT_CHANGESET_URL_KEY','addImageSourceCache','fromCharCode','measureText','_id','WordArray','_onCursorUpdate','_color','createElement','_clearHeartbeatTimer','/universer-api/snapshot/','on-line-single_clip0_910_349','ITelemetryService','getConfig','_collaborationSessionService','_lastPointer','synced','encryptBlock','&source=','_updateState','getRelativeToViewportCoord','_disabled','APPLY_REJECT','isInternalEditorID','gold400','unknown','_docSyncEditingCollabCursorService','_status$','HEARTBEAT_INTERVAL_KEY','isTransformMutationsWithChangesetFailure','top','getUndoRedoMutationParamsCache','children','prototype','getUnitStatus$','focused$','_type','_stopTelemetryCollaborationNewChangeset','onMissingChangesets','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','onlyLocal','CONNECTOR_DATA_TOO_LARGE','deleteCollaborator','_nDataBytes','_removeClearOtherTimer','set','handleIRemoveCol','getSheetObject','current','endColumn','_localeService','SheetsSelectionsService','fillStyle','_onRemoteChangeset','image/jpeg','source','JOIN_ROOM_NOT_ALLOWED','LIVESHARE_TERMINATE','_xformMode','COLLAB_CLIENT_CONFIG_KEY','mutations','_socketReady','unitId','_exhaustRemoteChangesetQueue','_getMergeRange','CollaborationEntity','YUUMI_SUBSCRIPTION_NOT_FOUND','_context','_entities','IDocClipboardService','_toggleOffline','__Key__','fetch_missing','debug','getRandomValues','react.element','DocSkeletonManagerService','commentUpdate$','collabStatus.fetchMiss','_candidateSocket','_onUserJoin','complete','_onCursorDelete','univer-pro.collaboration-client.single-active-unit-service','add','_startSheetCollabCursor','_saveTaskMap','Base64','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','handleDeleteRangeMoveLeft','_decreaseWaiting','SNAPSHOT_URL_KEY','m2Prime','CHANGESET_REVISION_CONFILICT','_entityInit$','YUUMI_RATE_OVER_LIMIT','registerOnClose','_getAPIPrefix','SetSelectionsOperation','SessionStatus','symbol','debounce','DocStateChangeManagerService','href','_event$','addEventListener','awaitingChangeset','imageSourceType','CHANGESET_ACK','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','unshift','ReplaySubject','_scheduleClearOtherTimer','_socketMessageSubscription','duration','_initCloseConn','crypto','CBC','clipPath','_localStorageService','assignAColorForMemberID','onPointerEnter$','session','21yLBCkT','CollaborationEvent','_saveCache','useObservable','readAsDataURL','code','roomMembers','_sendHeartbeatTimer','byteLength','_onCombEvent','decrypt','includes','takeUntil','on-line-single','_updateCollabCursors','reconnect','transformMutationsWithChangeset','_createInitialState','MoveRangeCommandId','_setupSubUnitSync','BehaviorSubject','loadOfflineData','saveChangeset','parseChangesetToProtocol','disposeUnit','collaboration.closeRoom','_members','_transformUndoRedoStack','univer-online','RECV','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_getScale','_cursorInfo$','getCoordByCell','error','message$','Unknown\x20user','NO_OTHER_CLIENTS_EDITING','wsSessionTicketUrl','Vector2','onRendered','IDLE','compute','_telemetryService','liveShareOperation','beginPath','470538fYcBqL','WebSocketService','$super','onTransformSelections','INTERNAL_ERROR','_onFetchMissResult','liveShareNewHost','_onJoinRoomEvent','setItem','1764AfHGhK','AWAITING_WITH_PENDING','string','_socketService','setStateCache','evenodd','1em','_telemetryInfo','_doReset','connectInjector','sessionStatus$','commentUpdateEvent','incrementRevOfUnit','reset','collabSubmitChangesetUrl','arc','#fff','COLLAB_SUBMIT_CHANGESET_URL','transformUndoRedo','for','_createHandler','_collaborationPaused','restore','TRANSFORM_CHANGE_OBSERVABLE_TYPE','onPointerMove$','_revisionService','_onRemoteACK','_send','triggerDblclick','collabStatus.syncing','HELLO','flatMap','useDependency','&to=','_initResize','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_nRounds','getViewport','rgba(255,\x20255,\x20255,\x200.01)','dispose$','_sessions','ALREADY_EXISTS','purple300','submit\x20changeset\x20error!','TOO_MANY_REQUESTS','application/json','MentionIoHttpService','status','_hideTimer','_invKeySchedule','transformSelections','SUCCUSS','copyFileMeta','_onConflict','_transformRemoteChangesetByStateCache','failed\x20to\x20apply\x20missed\x20changesets!','joinRsp','SUBMIT_CHANGESET','concat','_queuedRemoteChangesets','APPLY_PERMISSION_DENIED','UniverNetworkPlugin','name','CHANGESET_SHOULD_RETRY','repeat','Workbook','resend','avatar','__creator','_iKey','_singleActiveUnitService','HTTPRequest','getAllMembers','LocalUndoRedoService','disableLocalCache','APPLY_REVISION_CONFILICT','leaveEvent','onMouseMove','/rev/','setInterval','CONFLICT','getUnitType','mapTo','padding','getOwnPropertySymbols','msCrypto','_refRangeService','_updateURLWithCurrentState','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','@univerjs/sheets','registerRefRange','fromCollab','type','image/gif','_docTransformIMECacheService','SheetSkeletonManagerService','get','setConfig','_change$','_commentUpdate$','toggleOffline','column','NOT_FOUND','sequenceExecute','collaboratorID','pad','addObjects','_docSkeletonManagerService','univerjs-icon\x20univerjs-icon-','handleMoveRange','b64DecodeUnicode','getColor','sessionStatus','isPermissionRej','SYNCED','Tools','BASE64','pauseCollaboration','x-univer-host','assign','all','replaceDocRanges','getCurrentRevOfUnit','CommentService','_shapes','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','loadSheet','hidden','extend','transform','processBlock','exhaustSavingTask','LIVESHARE_NEW_HOST','with','c1Prime','getOwnPropertyDescriptor','sheets','show','_createInitialStateImpl','append','CompressMutationService','socket\x20open.','[CollaborationSessionService]','whenReady','[CollaborationUndoRedoService]','DocIMEInputManagerService','collabStatus.conflict','/object','CollaborationController','_onOffline','IUndoRedoService','values','_createSocketURL','_logService','syncEditingCollabCursor','_pendingMutations','getActiveRange','Fragment','_listenToOnlineEvent','headers','LICENSE_EXPORT_SIZE_EXCEEDED','_docTransformSelectionsService','Disposable','every','jiqing500','init','connection\x20error','pushState','_socket$','selections','FETCH_MISS','_submitChangeset','downloadEndpointUrl','_handleHover','_unitID','\x0aCurrent:\x20','Univer','[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.','Error','activeSheet$','resolve','RichTextEditingMutation','_userManagerService','snapshotServerUrl','_onRefRangeChange','HmacSHA1','finalize','setTimeout','react.fragment','@univerjs/docs-ui','_anchor','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_localCacheService','transformIMECache','INotificationService','ticket','_startTelemetryCollaborationNewChangeset','splice','some','doc.mutation.rich-text-editing','setShowComponents','UnitEmbedded','xlink:href','_iv','univer-offline','_online','ImageIoService','memberID','svg','getSheetId','findNodePositionByCharIndex','blue400','_throwTelemetryCollaborationNewChangeset','Could\x20not\x20dynamically\x20require\x20\x22','getTypeOfUnitDisposed$','updatePermissionPoint','width','[CollaborationState]:\x20apply\x20error!','createIdentifier','collaboration_new_changeset','number','RECT','_state$','cursorInfo$','[DataLoaderController]','url(#off-line-single_clip0_910_343)','visibilitychange','toDisposable','contains','CollaborationSocketService','color','height','JOINING','image/bmp','fetchMissingChangesets','enableSingleActiveInstanceLock','MD5','getSheetBlock','_session','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','IUniverInstanceService','DOC_RANGE_TYPE','react','_registerDependencies','10296GKdblt','substr','send','@univerjs/ui','collab-rect-range-','getCollabEntity$','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','setUndoRedoMutationParamsCache','CipherParams','_drawRectRange','has','enc','ITransformService','Warning','makeDirty','_process','setActiveRange','_snapshotService','algo','onRemoteRetry','/fetchmissing?from=','IContextService','_onMessage','className','LOCAL_CACHE_INTERVAL_KEY','conflict.title','change$','socket$','currentSkeleton$','getDeserializedSheetBlock','forEach','LICENSE_DISTRO_REJECTED','useCallback','rev','InsertRangeMoveDownCommandId','getRangePointData','/universer-api/file/{fileID}/sign-url','stopTime','_doFinalize','text','idSuffix','collaboration-client.offline-data-not-saved','getUnit','SheetPermissionInitController','/block/','ciphertext','touchDependencies','signUrlServerUrl','UNIVER_UNKNOWN','conflict','_changesetReqId','collabStatus.synced','Plugin','min','onload','_heartbeatTimer','slice','push','delay','PERMISSION_DENIED','_waitForHeartbeatResponse','kdf','collaboration.single-unit.warning','#FFF','_anchorDot','_key','subunit','_getUploadFileURL','/universer-api/user/session-ticket','collabStatus.notCollab','_prevBlock','setShapeProps','_checkMissing','_scene','setWaitCount','abs','SNAPSHOT_INVALID_SNAPSHOT','UNIVER_SHEET','IPermissionService','throttleTime','_getAnchorBounding','NOT_COLLAB','Latin1','workbook','take','_changesetSessionId','@univerjs/telemetry','subUnitId','_hovered','delete','jsx','_executeRemoteChangeset','_commentService','LICENSE_MAX_UNITS_EXCEEDED','@univerjs-pro/collaboration','_cursor','SetWorksheetActivateCommand','drawWith','confirm','Utf8','fillRule','_createSocket','ivSize','registerRenderModule','data','cursorInfo','_imageSourceCache','selection','toString','onCommandExecuted','reduce','withCredentials','updateMember','getAncestorScale','trim','saveImage','create','floor','registerBeforeClose','[OfflineState]:\x20received\x20changeset.','onRemoteAck','join','SNAPSHOT_SERVER_URL_KEY','updatePermissionObjEvent','range','isArray','_ENC_XFORM_MODE','NEW_CHANGESETS','@univerjs/drawing','closePath','status$','_initMergeInterceptor','_hash','NodePositionConvertToRectRange','charCodeAt','getMemberID','[SyncedState]:\x20received\x20acknowledgement.','getRenderById','AES','_clearUndo','_loadSheet','UPDATE_PERMISSION_OBJ','EffectRefRangId','_createHmacHelper','RemoveColCommandId','FETCH_MISSING','runRefRangeMutations','_awaitingChangeset','CollaborationStatusDisplay','open$','UNRECOGNIZED','_cipher','collabCursorState$','SnapshotServerOverHTTPService','_clearLocalCache','BufferedBlockAlgorithm','_syncEditingCollabCursor','onTransformIME','_collaborationController','_sendHeartbeat','HEARTBEAT_TIMEOUT','history','key','ISnapshotServerService','_memberService','onTransformRemoteChangesetByIMECache','requireSession','onlineStatusTitle','LIVESHARE_FETCH_OPERATIONS','getActiveSheet','onStateChange','getValue','_scheduleTimestamp','LocaleService','resourceIDs','entries','_imageIoService','_getSessionTicket','UPDATE_CURSOR','online','Optional','ThemeService','_sessionStatus$','ILocalStorageService','getImage','transformMutation','row','replace','unit-cache-','/unit/','requestParams','encrypt','session.will-retry','csShouldRetryEvent','Decryptor','\x20to\x20','params','LIVESHARE_OPERATION','_transformService','UUID','currentTheme$','ws://127.0.0.1:8000/universer-api/comb/connect','SHOULD_CLOSE_CONN','reqId','redoState','[PendingState]:\x20unhandled\x20univer\x20type:\x20','ERROR_IMAGE_TYPE','closeSession','clearTimeout','[SyncedState]:\x20received\x20rejection.','getCollabCursors$','_transformStateCache','_handleHeartbeatEvent','format','_parse','transformStack\x20failed!','SEND_CHANGESET_TIMEOUT_KEY','sigBytes','_document','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','?size=','getTypeOfUnitAdded$','_data','_undoRedoService','getUniverSheetInstance','_range','_hover','_clearScheduledTask','_handler','_refreshCollabCursors','_transformPreviousActiveRange','LocalCacheService','onSyncEditingCollabCursor','/role','verdancy600','charAt','transformStateCache','_keyPriorReset','\x20in\x20_schedule.','replaceState','HEARTBEAT_TIMEOUT_KEY','8PpsTLa','m1Prime','ranges','COLLAB_WEB_SOCKET_URL_KEY','setAlpha','_textBubble','_showConflictNotification','_getCtorByUniverType','Cipher','_shouldReportTelemetry','_messageService','IMessageService','_onRemoteRejected','onStarting','enableOfflineEditing','_collabCursorState$','distinctUntilChanged','IUIPartsService','ref','[OfflineState]:\x20received\x20rejection.','save','M0\x200H16V16H0z','event$','_redoStacks','translate(.97)','interceptor','_themeService','JOIN','_schedule','_socket','COMMENT_UPDATE','Inject','1349052yIWWrk','infoRsp','pending','_collaborationTimeoutTimer','getFocusedUnit','close','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_getUndoStack','fillText','catch','textRanges','next','cmd','_instanceService','updateCursorEvent','skeleton','_resendTimer','SerializableCipher','[CollaborationSession]','execute','onCommentUpdate','_ensureSubject','HEARTBEAT_INTERVAL','moveTo','ILogService','url','[FetchMissState]','reject','RxDisposable','getSkeleton','DesktopCollaborationStatusDisplayController','font','isTransformMutationFailure','toggleOnline','_transformHistoryAndStateStack','POST','isActive','keySize','awaiting_with_pending','auth.needGotoLoginAlert','_renderManagerService','mixIn','_onRemoteRetry','state$','registerComponent','?url=','isTransformChangesetsSuccess','c2Prime','combineLatest','onRemoteChangeset','asObservable','setParam','MergeInterceptorFactory','ThresholdInterceptorFactory','mode','getRoom','APPLY_DUPLICATED','currentColor','YUUMI_URL_COL_OUT_OF_RANGE','updateOfflineData','HttpImport','put','@univerjs/sheets-ui','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_handleLeaveEvent','_initEventListeners','awaiting','_selfUnitIDs','_transformUndoredo','_drawTextRange','bind','map','_oKey','_sendingTimer','univer-online-status-title','_sheetTransformSelectionsService','offline','_colorAssignService','@univerjs/network','from','fetching\x20missing\x20changesets\x20from\x20','reverse','PSEUDO_FETCH_MISSING_RESULT','decryptBlock','_remoteChangesetQueue','/-/object/list','_configService','unsubscribe','csRejEvent','EXCHANGE_SIGN_URL_SERVER_URL_KEY','1155290aOmmEP','_clearRedo','UNIVER_DOC','PERMISSION_REJ','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','People','COLORS','_config','unit','/object/','_updateStatus','override','routeKey','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','actions','_cursors','_createHelper','TEXT','_startCollaboration','MUTATION','[CollaborationEntity]','cfg','ReactCurrentOwner','AWAITING','MessageType','transformChangesets','responseType','IImageIoService','permission.title','collabWebSocketUrl','getSheetBySheetId','_rescheduleHeartbeat','_clearCollaborationTimeoutTimer','_registerRenderDependencies','pluginName','APPLY_NON_SEQUENTIAL_REVISION'];_0x595e=function(){return _0x1b99cf;};return _0x595e();}const Ut=_0x29ff00(0x5f1),ur=_0x29ff00(0x58c);exports[_0x29ff00(0x5ee)]=class extends a[_0x29ff00(0x331)]{constructor(_0xc74f9,_0x1cf93d){const _0x5ce600=_0x29ff00;super(),this['_HTTPService']=_0xc74f9,this[_0x5ce600(0x4ea)]=_0x1cf93d,this[_0x5ce600(0x406)]();}[_0x29ff00(0x406)](){const _0x556677=_0x29ff00,_0x241149=this;this[_0x556677(0x665)](this[_0x556677(0x539)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':z[_0x556677(0x4c8)]({'isMatch'(_0x54e070){const _0x222c9d=_0x556677;var _0x57982c;if(_0x54e070[_0x222c9d(0x67c)]===_0x222c9d(0x4b7)&&((_0x57982c=_0x54e070['requestParams'])!=null&&_0x57982c['body'])){const {objectID:_0x41f8d6,objectType:_0x9ef139}=_0x54e070[_0x222c9d(0x441)][_0x222c9d(0x55d)]||{};if(!_0x41f8d6||_0x9ef139===void 0x0)return!0x1;const _0x54ae06=_0x241149[_0x222c9d(0x523)]()+'/'+_0x9ef139+_0x222c9d(0x4f7)+_0x41f8d6+'/allowed';if(_0x54e070[_0x222c9d(0x4ad)]===_0x54ae06)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4a531f){const _0x1b4342=_0x556677;var _0x5ba011;return(_0x5ba011=_0x4a531f[_0x1b4342(0x441)])==null?void 0x0:_0x5ba011['body'];},'mergeParamsToRequest'(_0xb08608,_0x67fcc2){const _0x7cb3d2=_0x556677,_0x1888fa=_0x241149[_0x7cb3d2(0x523)]()+'/-/object/-/batch_allowed',_0x1c1197=_0xb08608[_0x7cb3d2(0x3f1)]((_0x2ce4ac,_0xc170f6)=>{const {unitID:_0x4fe74a,objectID:_0x174e74,objectType:_0x1eb638,actions:_0x3e294}=_0xc170f6;return _0x2ce4ac[_0x4fe74a]||(_0x2ce4ac[_0x4fe74a]={}),_0x2ce4ac[_0x4fe74a][_0x174e74]||(_0x2ce4ac[_0x4fe74a][_0x174e74]={'objectID':_0x174e74,'objectType':_0x1eb638,'actions':[]}),_0x2ce4ac[_0x4fe74a][_0x174e74]['actions']['push'](..._0x3e294),_0x2ce4ac;},{}),_0x1b3776=[];for(const _0x1e2565 in _0x1c1197)for(const _0x20f4a2 in _0x1c1197[_0x1e2565]){const {actions:_0xaef03d,objectType:_0x3c254d}=_0x1c1197[_0x1e2565][_0x20f4a2],_0x26bd72=[...new Set(_0xaef03d)];_0x1b3776[_0x7cb3d2(0x3bc)]({'unitID':_0x1e2565,'objectID':_0x20f4a2,'objectType':_0x3c254d,'actions':_0x26bd72});}return new z[(_0x7cb3d2(0x2d6))](_0x7cb3d2(0x4b7),_0x1888fa,{'headers':_0x67fcc2['headers'],'withCredentials':_0x67fcc2[_0x7cb3d2(0x3f2)],'responseType':_0x67fcc2[_0x7cb3d2(0x508)],'body':{'requests':_0x1b3776}});}},{'distributeResult'(_0x3bd464,_0x50457d){const _0x190609=_0x556677,{objectActions:_0x5efeb2}=_0x3bd464;return _0x50457d[_0x190609(0x4db)](_0x17d89c=>{const _0x333b04=_0x190609,{unitID:_0x206151,objectID:_0x237fde,actions:_0x26280f}=_0x17d89c,_0x2dc7c9=_0x5efeb2[_0x333b04(0x58b)](_0x3992e1=>_0x3992e1[_0x333b04(0x553)]===_0x206151&&_0x3992e1[_0x333b04(0x1bc)]===_0x237fde),_0x2e3313=_0x26280f[_0x333b04(0x4db)](_0x8b3448=>_0x2dc7c9==null?void 0x0:_0x2dc7c9['actions'][_0x333b04(0x58b)](_0x54a2eb=>_0x54a2eb[_0x333b04(0x5be)]===_0x8b3448))['filter'](_0x1cea87=>!!_0x1cea87);return{'config':_0x17d89c,'result':{'actions':_0x2e3313,'error':_0x3bd464[_0x333b04(0x27a)]}};});}})}));}[_0x29ff00(0x523)](){const _0x48c388=_0x29ff00;var _0x2f2999,_0x5e56a0;const _0x33aa43=this[_0x48c388(0x4ea)][_0x48c388(0x1ea)](Ut),_0x1f4233=this[_0x48c388(0x4ea)][_0x48c388(0x1ea)](Q);return(_0x5e56a0=(_0x2f2999=_0x1f4233==null?void 0x0:_0x1f4233['authzUrl'])!=null?_0x2f2999:_0x33aa43)!=null?_0x5e56a0:ur;}async[_0x29ff00(0x3f7)](_0x30ef72){const _0x46e691=_0x29ff00,_0x22c525=this[_0x46e691(0x523)]()+'/'+_0x30ef72[_0x46e691(0x64c)]+_0x46e691(0x322);return(await this['_HTTPService'][_0x46e691(0x515)](_0x22c525,{'body':_0x30ef72}))[_0x46e691(0x55d)]['objectID']||'';}async[_0x29ff00(0x536)](_0x56b0aa){const _0x3f0b36=_0x29ff00,_0xb91c36=this[_0x3f0b36(0x523)]()+_0x3f0b36(0x4e9);return(await this[_0x3f0b36(0x539)][_0x3f0b36(0x515)](_0xb91c36,{'body':_0x56b0aa}))[_0x3f0b36(0x55d)][_0x3f0b36(0x650)];}async[_0x29ff00(0x551)](_0x59f7af){const _0x3085f6=_0x29ff00,_0x47f05a=this[_0x3085f6(0x523)]()+'/'+_0x59f7af[_0x3085f6(0x64c)]+_0x3085f6(0x4f7)+_0x59f7af[_0x3085f6(0x1bc)];await this[_0x3085f6(0x539)]['put'](_0x47f05a,{'body':_0x59f7af});}async['allowed'](_0x32f92b){const _0x2b9246=_0x29ff00,_0x14c6af=this[_0x2b9246(0x523)]()+'/'+_0x32f92b[_0x2b9246(0x64c)]+'/object/'+_0x32f92b[_0x2b9246(0x1bc)]+_0x2b9246(0x5d5);return(await this[_0x2b9246(0x539)][_0x2b9246(0x515)](_0x14c6af,{'body':_0x32f92b}))[_0x2b9246(0x55d)][_0x2b9246(0x4fc)];}async['batchAllowed'](_0x1afbd1){const _0x1bdae3=_0x29ff00,_0x56cd4b=this[_0x1bdae3(0x523)]()+'/-/object/-/batch_allowed';return(await this[_0x1bdae3(0x539)][_0x1bdae3(0x515)](_0x56cd4b,{'body':{'requests':_0x1afbd1}}))[_0x1bdae3(0x55d)][_0x1bdae3(0x60e)];}async[_0x29ff00(0x593)](_0x4c29bd){const _0x45e343=_0x29ff00,_0x41e7a3=this[_0x45e343(0x523)]()+'/'+_0x4c29bd[_0x45e343(0x64c)]+_0x45e343(0x46c),_0x164f56=await this[_0x45e343(0x539)]['post'](_0x41e7a3,{'body':_0x4c29bd});return{'roles':_0x164f56[_0x45e343(0x55d)]['roles'],'actions':_0x164f56[_0x45e343(0x55d)][_0x45e343(0x4fc)]};}async[_0x29ff00(0x207)](_0xbb1f88){const _0x1a3b45=_0x29ff00,_0x5cca23=this[_0x1a3b45(0x523)]()+'/collaborator';await this['_HTTPService'][_0x1a3b45(0x3dc)](_0x5cca23,{'params':{'collaboratorID':_0xbb1f88[_0x1a3b45(0x2f7)],'objectID':_0xbb1f88[_0x1a3b45(0x1bc)],'unitID':_0xbb1f88[_0x1a3b45(0x553)]}});}async[_0x29ff00(0x682)](_0x3bec5e){const _0x161459=_0x29ff00,_0xb7c7e8=this[_0x161459(0x523)]()+_0x161459(0x555);await this[_0x161459(0x539)]['patch'](_0xb7c7e8,{'body':_0x3bec5e});}async[_0x29ff00(0x623)](_0x4a9d48){const _0x5c1ad4=_0x29ff00,_0x2b219a=this[_0x5c1ad4(0x523)]()+'/collaborator';await this[_0x5c1ad4(0x539)][_0x5c1ad4(0x515)](_0x2b219a,{'body':_0x4a9d48});}async[_0x29ff00(0x577)](_0x53a230){const _0x55f7ba=_0x29ff00,_0x370327=this[_0x55f7ba(0x523)]()+_0x55f7ba(0x555);return(await this[_0x55f7ba(0x539)][_0x55f7ba(0x2ef)](_0x370327,{'params':{'objectID':_0x53a230[_0x55f7ba(0x1bc)],'unitID':_0x53a230['unitID']}}))[_0x55f7ba(0x55d)][_0x55f7ba(0x65c)];}async['putCollaborators'](_0x438310){const _0x5d81cb=_0x29ff00,_0x218353=this[_0x5d81cb(0x523)]()+_0x5d81cb(0x555);await this[_0x5d81cb(0x539)][_0x5d81cb(0x4d1)](_0x218353,{'body':_0x438310});}},exports[_0x29ff00(0x5ee)]=_r([Gt(0x0,a[_0x29ff00(0x493)](z['HTTPService'])),Gt(0x1,a['Inject'](a[_0x29ff00(0x64d)]))],exports[_0x29ff00(0x5ee)]);var Di={'exports':{}};function dr(_0x4b4c72){const _0xb2980d=_0x29ff00;throw new Error(_0xb2980d(0x364)+_0x4b4c72+_0xb2980d(0x37e));}var lt={'exports':{}},Yt;function oe(){return Yt||(Yt=0x1,function(_0x241c03,_0xf167e7){(function(_0x21bda6,_0x323b4c){const _0x158b8a=_0x2f26;_0x241c03[_0x158b8a(0x5a4)]=_0x323b4c();}(Z,function(){var _0x2db34b=_0x2db34b||function(_0x325ee7,_0xc87387){const _0x3ca720=_0x2f26;var _0x281cd8;if(typeof window<'u'&&window['crypto']&&(_0x281cd8=window[_0x3ca720(0x251)]),typeof self<'u'&&self[_0x3ca720(0x251)]&&(_0x281cd8=self[_0x3ca720(0x251)]),typeof globalThis<'u'&&globalThis[_0x3ca720(0x251)]&&(_0x281cd8=globalThis[_0x3ca720(0x251)]),!_0x281cd8&&typeof window<'u'&&window[_0x3ca720(0x2e4)]&&(_0x281cd8=window[_0x3ca720(0x2e4)]),!_0x281cd8&&typeof Z<'u'&&Z[_0x3ca720(0x251)]&&(_0x281cd8=Z[_0x3ca720(0x251)]),!_0x281cd8&&typeof dr=='function')try{_0x281cd8=require(_0x3ca720(0x251));}catch{}var _0x343d96=function(){const _0x566297=_0x3ca720;if(_0x281cd8){if(typeof _0x281cd8[_0x566297(0x227)]=='function')try{return _0x281cd8['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x281cd8[_0x566297(0x5bd)]==_0x566297(0x5a8))try{return _0x281cd8[_0x566297(0x5bd)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3e13cd=Object[_0x3ca720(0x3f7)]||(function(){function _0x2cff7c(){}return function(_0x31d5c4){const _0x84fd94=_0x2f26;var _0x3ed1c0;return _0x2cff7c[_0x84fd94(0x1fe)]=_0x31d5c4,_0x3ed1c0=new _0x2cff7c(),_0x2cff7c[_0x84fd94(0x1fe)]=null,_0x3ed1c0;};}()),_0x20e8b5={},_0x22b020=_0x20e8b5['lib']={},_0x206e86=_0x22b020['Base']=(function(){return{'extend':function(_0x37d118){const _0xd68eaf=_0x2f26;var _0x4bd36c=_0x3e13cd(this);return _0x37d118&&_0x4bd36c['mixIn'](_0x37d118),(!_0x4bd36c[_0xd68eaf(0x5d7)](_0xd68eaf(0x334))||this['init']===_0x4bd36c[_0xd68eaf(0x334)])&&(_0x4bd36c['init']=function(){const _0x13b182=_0xd68eaf;_0x4bd36c[_0x13b182(0x288)][_0x13b182(0x334)][_0x13b182(0x567)](this,arguments);}),_0x4bd36c[_0xd68eaf(0x334)]['prototype']=_0x4bd36c,_0x4bd36c[_0xd68eaf(0x288)]=this,_0x4bd36c;},'create':function(){const _0x409928=_0x2f26;var _0x58013e=this[_0x409928(0x30f)]();return _0x58013e['init']['apply'](_0x58013e,arguments),_0x58013e;},'init':function(){},'mixIn':function(_0x5d501a){const _0x12e0d6=_0x2f26;for(var _0x4ee2f3 in _0x5d501a)_0x5d501a[_0x12e0d6(0x5d7)](_0x4ee2f3)&&(this[_0x4ee2f3]=_0x5d501a[_0x4ee2f3]);_0x5d501a[_0x12e0d6(0x5d7)](_0x12e0d6(0x3ef))&&(this[_0x12e0d6(0x3ef)]=_0x5d501a[_0x12e0d6(0x3ef)]);},'clone':function(){const _0x4bc286=_0x2f26;return this[_0x4bc286(0x334)][_0x4bc286(0x1fe)]['extend'](this);}};}()),_0x538720=_0x22b020[_0x3ca720(0x1e2)]=_0x206e86[_0x3ca720(0x30f)]({'init':function(_0x483ba6,_0x5bf17d){const _0x45fa82=_0x3ca720;_0x483ba6=this[_0x45fa82(0x1d8)]=_0x483ba6||[],_0x5bf17d!=_0xc87387?this[_0x45fa82(0x45c)]=_0x5bf17d:this[_0x45fa82(0x45c)]=_0x483ba6[_0x45fa82(0x5e7)]*0x4;},'toString':function(_0x5b748a){return(_0x5b748a||_0x25a59b)['stringify'](this);},'concat':function(_0x1e9ff1){const _0x4a1ed8=_0x3ca720;var _0x5085f0=this[_0x4a1ed8(0x1d8)],_0x4e7d63=_0x1e9ff1[_0x4a1ed8(0x1d8)],_0x43570a=this[_0x4a1ed8(0x45c)],_0x3a3b64=_0x1e9ff1['sigBytes'];if(this[_0x4a1ed8(0x53d)](),_0x43570a%0x4)for(var _0xb1970c=0x0;_0xb1970c<_0x3a3b64;_0xb1970c++){var _0x11cf58=_0x4e7d63[_0xb1970c>>>0x2]>>>0x18-_0xb1970c%0x4*0x8&0xff;_0x5085f0[_0x43570a+_0xb1970c>>>0x2]|=_0x11cf58<<0x18-(_0x43570a+_0xb1970c)%0x4*0x8;}else{for(var _0x884496=0x0;_0x884496<_0x3a3b64;_0x884496+=0x4)_0x5085f0[_0x43570a+_0x884496>>>0x2]=_0x4e7d63[_0x884496>>>0x2];}return this['sigBytes']+=_0x3a3b64,this;},'clamp':function(){const _0x5bda82=_0x3ca720;var _0x13c75a=this[_0x5bda82(0x1d8)],_0x43423d=this[_0x5bda82(0x45c)];_0x13c75a[_0x43423d>>>0x2]&=0xffffffff<<0x20-_0x43423d%0x4*0x8,_0x13c75a['length']=_0x325ee7[_0x5bda82(0x588)](_0x43423d/0x4);},'clone':function(){const _0x31b0ef=_0x3ca720;var _0xd0b76b=_0x206e86[_0x31b0ef(0x5c3)][_0x31b0ef(0x1d5)](this);return _0xd0b76b[_0x31b0ef(0x1d8)]=this['words'][_0x31b0ef(0x3bb)](0x0),_0xd0b76b;},'random':function(_0x3bfdfa){const _0x44c5a7=_0x3ca720;for(var _0x15e902=[],_0x56555d=0x0;_0x56555d<_0x3bfdfa;_0x56555d+=0x4)_0x15e902[_0x44c5a7(0x3bc)](_0x343d96());return new _0x538720[(_0x44c5a7(0x334))](_0x15e902,_0x3bfdfa);}}),_0x1f83cb=_0x20e8b5[_0x3ca720(0x38e)]={},_0x25a59b=_0x1f83cb['Hex']={'stringify':function(_0x32ca31){const _0x111872=_0x3ca720;for(var _0x6d6e63=_0x32ca31['words'],_0x26e868=_0x32ca31['sigBytes'],_0x5a7a32=[],_0x325d74=0x0;_0x325d74<_0x26e868;_0x325d74++){var _0x2a9835=_0x6d6e63[_0x325d74>>>0x2]>>>0x18-_0x325d74%0x4*0x8&0xff;_0x5a7a32[_0x111872(0x3bc)]((_0x2a9835>>>0x4)[_0x111872(0x3ef)](0x10)),_0x5a7a32['push']((_0x2a9835&0xf)['toString'](0x10));}return _0x5a7a32[_0x111872(0x3fc)]('');},'parse':function(_0x34a8ea){const _0xdf04fc=_0x3ca720;for(var _0x40de82=_0x34a8ea[_0xdf04fc(0x5e7)],_0x420bf8=[],_0x52283a=0x0;_0x52283a<_0x40de82;_0x52283a+=0x2)_0x420bf8[_0x52283a>>>0x3]|=parseInt(_0x34a8ea[_0xdf04fc(0x384)](_0x52283a,0x2),0x10)<<0x18-_0x52283a%0x8*0x4;return new _0x538720['init'](_0x420bf8,_0x40de82/0x2);}},_0x40c008=_0x1f83cb[_0x3ca720(0x3d5)]={'stringify':function(_0xc926bf){const _0x4390a9=_0x3ca720;for(var _0x23566b=_0xc926bf[_0x4390a9(0x1d8)],_0x2d5571=_0xc926bf[_0x4390a9(0x45c)],_0x5d6665=[],_0x465a49=0x0;_0x465a49<_0x2d5571;_0x465a49++){var _0x12ad94=_0x23566b[_0x465a49>>>0x2]>>>0x18-_0x465a49%0x4*0x8&0xff;_0x5d6665[_0x4390a9(0x3bc)](String[_0x4390a9(0x1df)](_0x12ad94));}return _0x5d6665['join']('');},'parse':function(_0x2029c4){const _0xc2ac02=_0x3ca720;for(var _0x5e4bed=_0x2029c4[_0xc2ac02(0x5e7)],_0x4792de=[],_0x203280=0x0;_0x203280<_0x5e4bed;_0x203280++)_0x4792de[_0x203280>>>0x2]|=(_0x2029c4[_0xc2ac02(0x409)](_0x203280)&0xff)<<0x18-_0x203280%0x4*0x8;return new _0x538720[(_0xc2ac02(0x334))](_0x4792de,_0x5e4bed);}},_0x2ef613=_0x1f83cb[_0x3ca720(0x3e6)]={'stringify':function(_0x5d73ec){const _0x1b3218=_0x3ca720;try{return decodeURIComponent(escape(_0x40c008[_0x1b3218(0x65e)](_0x5d73ec)));}catch{throw new Error(_0x1b3218(0x67b));}},'parse':function(_0x23031d){return _0x40c008['parse'](unescape(encodeURIComponent(_0x23031d)));}},_0x2abd73=_0x22b020[_0x3ca720(0x41e)]=_0x206e86[_0x3ca720(0x30f)]({'reset':function(){const _0x491409=_0x3ca720;this[_0x491409(0x461)]=new _0x538720['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x4efaab){const _0x24b33a=_0x3ca720;typeof _0x4efaab=='string'&&(_0x4efaab=_0x2ef613['parse'](_0x4efaab)),this[_0x24b33a(0x461)][_0x24b33a(0x2c9)](_0x4efaab),this[_0x24b33a(0x208)]+=_0x4efaab[_0x24b33a(0x45c)];},'_process':function(_0x304c6c){const _0x1c8cc1=_0x3ca720;var _0x4956ea,_0x472afa=this[_0x1c8cc1(0x461)],_0x3f4235=_0x472afa[_0x1c8cc1(0x1d8)],_0x64f385=_0x472afa[_0x1c8cc1(0x45c)],_0x3ef128=this['blockSize'],_0x249582=_0x3ef128*0x4,_0xf9a2b4=_0x64f385/_0x249582;_0x304c6c?_0xf9a2b4=_0x325ee7['ceil'](_0xf9a2b4):_0xf9a2b4=_0x325ee7['max']((_0xf9a2b4|0x0)-this[_0x1c8cc1(0x54a)],0x0);var _0xf05f80=_0xf9a2b4*_0x3ef128,_0x584e08=_0x325ee7[_0x1c8cc1(0x3b8)](_0xf05f80*0x4,_0x64f385);if(_0xf05f80){for(var _0x559af0=0x0;_0x559af0<_0xf05f80;_0x559af0+=_0x3ef128)this[_0x1c8cc1(0x687)](_0x3f4235,_0x559af0);_0x4956ea=_0x3f4235[_0x1c8cc1(0x354)](0x0,_0xf05f80),_0x472afa[_0x1c8cc1(0x45c)]-=_0x584e08;}return new _0x538720['init'](_0x4956ea,_0x584e08);},'clone':function(){const _0x30c5dc=_0x3ca720;var _0xdfe8ff=_0x206e86[_0x30c5dc(0x5c3)][_0x30c5dc(0x1d5)](this);return _0xdfe8ff[_0x30c5dc(0x461)]=this[_0x30c5dc(0x461)][_0x30c5dc(0x5c3)](),_0xdfe8ff;},'_minBufferSize':0x0});_0x22b020[_0x3ca720(0x545)]=_0x2abd73[_0x3ca720(0x30f)]({'cfg':_0x206e86[_0x3ca720(0x30f)](),'init':function(_0xd0f65a){const _0x201a9b=_0x3ca720;this[_0x201a9b(0x503)]=this[_0x201a9b(0x503)][_0x201a9b(0x30f)](_0xd0f65a),this[_0x201a9b(0x29c)]();},'reset':function(){const _0x4a9f3f=_0x3ca720;_0x2abd73[_0x4a9f3f(0x29c)][_0x4a9f3f(0x1d5)](this),this['_doReset']();},'update':function(_0x37767e){const _0x9c9640=_0x3ca720;return this[_0x9c9640(0x685)](_0x37767e),this[_0x9c9640(0x392)](),this;},'finalize':function(_0x35e238){const _0x481104=_0x3ca720;_0x35e238&&this[_0x481104(0x685)](_0x35e238);var _0x2316a5=this[_0x481104(0x3a9)]();return _0x2316a5;},'blockSize':0x10,'_createHelper':function(_0x1a47f3){return function(_0x1c9af7,_0x58c651){const _0x11a44e=_0x2f26;return new _0x1a47f3[(_0x11a44e(0x334))](_0x58c651)['finalize'](_0x1c9af7);};},'_createHmacHelper':function(_0x545028){return function(_0x509710,_0x538781){const _0x427894=_0x2f26;return new _0x108f09[(_0x427894(0x663))][(_0x427894(0x334))](_0x545028,_0x538781)[_0x427894(0x349)](_0x509710);};}});var _0x108f09=_0x20e8b5['algo']={};return _0x20e8b5;}(Math);return _0x2db34b;}));}(lt)),lt['exports'];}var ht={'exports':{}},Kt;function Pi(){const _0x2f0b11=_0x29ff00;return Kt||(Kt=0x1,function(_0x5d87a8,_0x1097f1){(function(_0x52ab83,_0x295fc2){const _0x3dd8fa=_0x2f26;_0x5d87a8[_0x3dd8fa(0x5a4)]=_0x295fc2(oe());}(Z,function(_0x4e1854){const _0x8f6781=_0x2f26;return(function(){const _0x2b4b25=_0x2f26;var _0x2c62ef=_0x4e1854,_0x3b6f3b=_0x2c62ef['lib'],_0x5c75b3=_0x3b6f3b[_0x2b4b25(0x1e2)],_0x44cb66=_0x2c62ef[_0x2b4b25(0x38e)];_0x44cb66[_0x2b4b25(0x234)]={'stringify':function(_0x6c139f){const _0x23b323=_0x2b4b25;var _0x5a32ce=_0x6c139f[_0x23b323(0x1d8)],_0x32688d=_0x6c139f['sigBytes'],_0x23630f=this['_map'];_0x6c139f['clamp']();for(var _0x417b41=[],_0x5dd4ca=0x0;_0x5dd4ca<_0x32688d;_0x5dd4ca+=0x3)for(var _0x4355b6=_0x5a32ce[_0x5dd4ca>>>0x2]>>>0x18-_0x5dd4ca%0x4*0x8&0xff,_0x4b4a3f=_0x5a32ce[_0x5dd4ca+0x1>>>0x2]>>>0x18-(_0x5dd4ca+0x1)%0x4*0x8&0xff,_0x36734b=_0x5a32ce[_0x5dd4ca+0x2>>>0x2]>>>0x18-(_0x5dd4ca+0x2)%0x4*0x8&0xff,_0x2f99d2=_0x4355b6<<0x10|_0x4b4a3f<<0x8|_0x36734b,_0x546a7b=0x0;_0x546a7b<0x4&&_0x5dd4ca+_0x546a7b*0.75<_0x32688d;_0x546a7b++)_0x417b41[_0x23b323(0x3bc)](_0x23630f[_0x23b323(0x46e)](_0x2f99d2>>>0x6*(0x3-_0x546a7b)&0x3f));var _0x2bcb69=_0x23630f[_0x23b323(0x46e)](0x40);if(_0x2bcb69){for(;_0x417b41[_0x23b323(0x5e7)]%0x4;)_0x417b41[_0x23b323(0x3bc)](_0x2bcb69);}return _0x417b41[_0x23b323(0x3fc)]('');},'parse':function(_0x25c103){const _0x3f1a44=_0x2b4b25;var _0x2ce716=_0x25c103[_0x3f1a44(0x5e7)],_0x421c82=this['_map'],_0x3105f2=this['_reverseMap'];if(!_0x3105f2){_0x3105f2=this[_0x3f1a44(0x538)]=[];for(var _0x32e348=0x0;_0x32e348<_0x421c82[_0x3f1a44(0x5e7)];_0x32e348++)_0x3105f2[_0x421c82['charCodeAt'](_0x32e348)]=_0x32e348;}var _0x1c4b7e=_0x421c82['charAt'](0x40);if(_0x1c4b7e){var _0x7b19=_0x25c103['indexOf'](_0x1c4b7e);_0x7b19!==-0x1&&(_0x2ce716=_0x7b19);}return _0x52fb84(_0x25c103,_0x2ce716,_0x3105f2);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x52fb84(_0x2136be,_0x48bc0c,_0x2046b5){const _0xd9e55b=_0x2b4b25;for(var _0x42fe6c=[],_0x4d9120=0x0,_0x22b6e0=0x0;_0x22b6e0<_0x48bc0c;_0x22b6e0++)if(_0x22b6e0%0x4){var _0x2ddbbc=_0x2046b5[_0x2136be['charCodeAt'](_0x22b6e0-0x1)]<<_0x22b6e0%0x4*0x2,_0x481c4c=_0x2046b5[_0x2136be[_0xd9e55b(0x409)](_0x22b6e0)]>>>0x6-_0x22b6e0%0x4*0x2,_0x9d83f3=_0x2ddbbc|_0x481c4c;_0x42fe6c[_0x4d9120>>>0x2]|=_0x9d83f3<<0x18-_0x4d9120%0x4*0x8,_0x4d9120++;}return _0x5c75b3[_0xd9e55b(0x3f7)](_0x42fe6c,_0x4d9120);}}()),_0x4e1854[_0x8f6781(0x38e)][_0x8f6781(0x234)];}));}(ht)),ht[_0x2f0b11(0x5a4)];}var _t={'exports':{}},qt;function fr(){const _0x4a7727=_0x29ff00;return qt||(qt=0x1,function(_0x2eaddb,_0x424495){(function(_0x191767,_0x592d8a){const _0x61252=_0x2f26;_0x2eaddb[_0x61252(0x5a4)]=_0x592d8a(oe());}(Z,function(_0x31392f){return function(_0x3a8a56){const _0x3ffd45=_0x2f26;var _0x24c0f4=_0x31392f,_0x15c1e6=_0x24c0f4[_0x3ffd45(0x530)],_0x47c9d9=_0x15c1e6[_0x3ffd45(0x1e2)],_0x2d6a18=_0x15c1e6[_0x3ffd45(0x545)],_0x2987e9=_0x24c0f4[_0x3ffd45(0x395)],_0x3d0018=[];(function(){const _0xee77e2=_0x3ffd45;for(var _0xa54a41=0x0;_0xa54a41<0x40;_0xa54a41++)_0x3d0018[_0xa54a41]=_0x3a8a56[_0xee77e2(0x3ce)](_0x3a8a56[_0xee77e2(0x525)](_0xa54a41+0x1))*0x100000000|0x0;}());var _0x25563c=_0x2987e9[_0x3ffd45(0x37b)]=_0x2d6a18[_0x3ffd45(0x30f)]({'_doReset':function(){const _0x105e50=_0x3ffd45;this[_0x105e50(0x407)]=new _0x47c9d9[(_0x105e50(0x334))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x303b84,_0x35d582){const _0xfd183b=_0x3ffd45;for(var _0x424761=0x0;_0x424761<0x10;_0x424761++){var _0x1f773e=_0x35d582+_0x424761,_0xe9d34f=_0x303b84[_0x1f773e];_0x303b84[_0x1f773e]=(_0xe9d34f<<0x8|_0xe9d34f>>>0x18)&0xff00ff|(_0xe9d34f<<0x18|_0xe9d34f>>>0x8)&0xff00ff00;}var _0x43a6b0=this[_0xfd183b(0x407)][_0xfd183b(0x1d8)],_0x280dec=_0x303b84[_0x35d582+0x0],_0xef9dd6=_0x303b84[_0x35d582+0x1],_0x349a49=_0x303b84[_0x35d582+0x2],_0x192f64=_0x303b84[_0x35d582+0x3],_0x4d1e94=_0x303b84[_0x35d582+0x4],_0x3fd2c8=_0x303b84[_0x35d582+0x5],_0x23a51a=_0x303b84[_0x35d582+0x6],_0x4dabf4=_0x303b84[_0x35d582+0x7],_0x2df0a0=_0x303b84[_0x35d582+0x8],_0x50f0cf=_0x303b84[_0x35d582+0x9],_0x41386e=_0x303b84[_0x35d582+0xa],_0x416e43=_0x303b84[_0x35d582+0xb],_0x181fca=_0x303b84[_0x35d582+0xc],_0x47a452=_0x303b84[_0x35d582+0xd],_0x3a1633=_0x303b84[_0x35d582+0xe],_0x1cccf6=_0x303b84[_0x35d582+0xf],_0x38669d=_0x43a6b0[0x0],_0xbe71e8=_0x43a6b0[0x1],_0x19a468=_0x43a6b0[0x2],_0x3272d6=_0x43a6b0[0x3];_0x38669d=_0x561336(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x280dec,0x7,_0x3d0018[0x0]),_0x3272d6=_0x561336(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0xef9dd6,0xc,_0x3d0018[0x1]),_0x19a468=_0x561336(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x349a49,0x11,_0x3d0018[0x2]),_0xbe71e8=_0x561336(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x192f64,0x16,_0x3d0018[0x3]),_0x38669d=_0x561336(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x4d1e94,0x7,_0x3d0018[0x4]),_0x3272d6=_0x561336(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x3fd2c8,0xc,_0x3d0018[0x5]),_0x19a468=_0x561336(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x23a51a,0x11,_0x3d0018[0x6]),_0xbe71e8=_0x561336(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x4dabf4,0x16,_0x3d0018[0x7]),_0x38669d=_0x561336(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x2df0a0,0x7,_0x3d0018[0x8]),_0x3272d6=_0x561336(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x50f0cf,0xc,_0x3d0018[0x9]),_0x19a468=_0x561336(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x41386e,0x11,_0x3d0018[0xa]),_0xbe71e8=_0x561336(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x416e43,0x16,_0x3d0018[0xb]),_0x38669d=_0x561336(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x181fca,0x7,_0x3d0018[0xc]),_0x3272d6=_0x561336(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x47a452,0xc,_0x3d0018[0xd]),_0x19a468=_0x561336(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x3a1633,0x11,_0x3d0018[0xe]),_0xbe71e8=_0x561336(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x1cccf6,0x16,_0x3d0018[0xf]),_0x38669d=_0x3d64ec(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0xef9dd6,0x5,_0x3d0018[0x10]),_0x3272d6=_0x3d64ec(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x23a51a,0x9,_0x3d0018[0x11]),_0x19a468=_0x3d64ec(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x416e43,0xe,_0x3d0018[0x12]),_0xbe71e8=_0x3d64ec(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x280dec,0x14,_0x3d0018[0x13]),_0x38669d=_0x3d64ec(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x3fd2c8,0x5,_0x3d0018[0x14]),_0x3272d6=_0x3d64ec(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x41386e,0x9,_0x3d0018[0x15]),_0x19a468=_0x3d64ec(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x1cccf6,0xe,_0x3d0018[0x16]),_0xbe71e8=_0x3d64ec(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x4d1e94,0x14,_0x3d0018[0x17]),_0x38669d=_0x3d64ec(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x50f0cf,0x5,_0x3d0018[0x18]),_0x3272d6=_0x3d64ec(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x3a1633,0x9,_0x3d0018[0x19]),_0x19a468=_0x3d64ec(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x192f64,0xe,_0x3d0018[0x1a]),_0xbe71e8=_0x3d64ec(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x2df0a0,0x14,_0x3d0018[0x1b]),_0x38669d=_0x3d64ec(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x47a452,0x5,_0x3d0018[0x1c]),_0x3272d6=_0x3d64ec(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x349a49,0x9,_0x3d0018[0x1d]),_0x19a468=_0x3d64ec(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x4dabf4,0xe,_0x3d0018[0x1e]),_0xbe71e8=_0x3d64ec(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x181fca,0x14,_0x3d0018[0x1f]),_0x38669d=_0xea0b83(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x3fd2c8,0x4,_0x3d0018[0x20]),_0x3272d6=_0xea0b83(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x2df0a0,0xb,_0x3d0018[0x21]),_0x19a468=_0xea0b83(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x416e43,0x10,_0x3d0018[0x22]),_0xbe71e8=_0xea0b83(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x3a1633,0x17,_0x3d0018[0x23]),_0x38669d=_0xea0b83(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0xef9dd6,0x4,_0x3d0018[0x24]),_0x3272d6=_0xea0b83(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x4d1e94,0xb,_0x3d0018[0x25]),_0x19a468=_0xea0b83(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x4dabf4,0x10,_0x3d0018[0x26]),_0xbe71e8=_0xea0b83(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x41386e,0x17,_0x3d0018[0x27]),_0x38669d=_0xea0b83(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x47a452,0x4,_0x3d0018[0x28]),_0x3272d6=_0xea0b83(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x280dec,0xb,_0x3d0018[0x29]),_0x19a468=_0xea0b83(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x192f64,0x10,_0x3d0018[0x2a]),_0xbe71e8=_0xea0b83(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x23a51a,0x17,_0x3d0018[0x2b]),_0x38669d=_0xea0b83(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x50f0cf,0x4,_0x3d0018[0x2c]),_0x3272d6=_0xea0b83(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x181fca,0xb,_0x3d0018[0x2d]),_0x19a468=_0xea0b83(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x1cccf6,0x10,_0x3d0018[0x2e]),_0xbe71e8=_0xea0b83(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x349a49,0x17,_0x3d0018[0x2f]),_0x38669d=_0x5aa0a0(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x280dec,0x6,_0x3d0018[0x30]),_0x3272d6=_0x5aa0a0(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x4dabf4,0xa,_0x3d0018[0x31]),_0x19a468=_0x5aa0a0(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x3a1633,0xf,_0x3d0018[0x32]),_0xbe71e8=_0x5aa0a0(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x3fd2c8,0x15,_0x3d0018[0x33]),_0x38669d=_0x5aa0a0(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x181fca,0x6,_0x3d0018[0x34]),_0x3272d6=_0x5aa0a0(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x192f64,0xa,_0x3d0018[0x35]),_0x19a468=_0x5aa0a0(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x41386e,0xf,_0x3d0018[0x36]),_0xbe71e8=_0x5aa0a0(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0xef9dd6,0x15,_0x3d0018[0x37]),_0x38669d=_0x5aa0a0(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x2df0a0,0x6,_0x3d0018[0x38]),_0x3272d6=_0x5aa0a0(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x1cccf6,0xa,_0x3d0018[0x39]),_0x19a468=_0x5aa0a0(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x23a51a,0xf,_0x3d0018[0x3a]),_0xbe71e8=_0x5aa0a0(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x47a452,0x15,_0x3d0018[0x3b]),_0x38669d=_0x5aa0a0(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x4d1e94,0x6,_0x3d0018[0x3c]),_0x3272d6=_0x5aa0a0(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x416e43,0xa,_0x3d0018[0x3d]),_0x19a468=_0x5aa0a0(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x349a49,0xf,_0x3d0018[0x3e]),_0xbe71e8=_0x5aa0a0(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x50f0cf,0x15,_0x3d0018[0x3f]),_0x43a6b0[0x0]=_0x43a6b0[0x0]+_0x38669d|0x0,_0x43a6b0[0x1]=_0x43a6b0[0x1]+_0xbe71e8|0x0,_0x43a6b0[0x2]=_0x43a6b0[0x2]+_0x19a468|0x0,_0x43a6b0[0x3]=_0x43a6b0[0x3]+_0x3272d6|0x0;},'_doFinalize':function(){const _0x2a63d6=_0x3ffd45;var _0x52cfe3=this[_0x2a63d6(0x461)],_0x150e35=_0x52cfe3[_0x2a63d6(0x1d8)],_0x329f34=this['_nDataBytes']*0x8,_0x27208b=_0x52cfe3['sigBytes']*0x8;_0x150e35[_0x27208b>>>0x5]|=0x80<<0x18-_0x27208b%0x20;var _0x5bf1ef=_0x3a8a56[_0x2a63d6(0x3f8)](_0x329f34/0x100000000),_0x547edd=_0x329f34;_0x150e35[(_0x27208b+0x40>>>0x9<<0x4)+0xf]=(_0x5bf1ef<<0x8|_0x5bf1ef>>>0x18)&0xff00ff|(_0x5bf1ef<<0x18|_0x5bf1ef>>>0x8)&0xff00ff00,_0x150e35[(_0x27208b+0x40>>>0x9<<0x4)+0xe]=(_0x547edd<<0x8|_0x547edd>>>0x18)&0xff00ff|(_0x547edd<<0x18|_0x547edd>>>0x8)&0xff00ff00,_0x52cfe3[_0x2a63d6(0x45c)]=(_0x150e35[_0x2a63d6(0x5e7)]+0x1)*0x4,this[_0x2a63d6(0x392)]();for(var _0x329f92=this[_0x2a63d6(0x407)],_0x4b54f4=_0x329f92[_0x2a63d6(0x1d8)],_0xe1ce9=0x0;_0xe1ce9<0x4;_0xe1ce9++){var _0x191e20=_0x4b54f4[_0xe1ce9];_0x4b54f4[_0xe1ce9]=(_0x191e20<<0x8|_0x191e20>>>0x18)&0xff00ff|(_0x191e20<<0x18|_0x191e20>>>0x8)&0xff00ff00;}return _0x329f92;},'clone':function(){const _0x3d4459=_0x3ffd45;var _0x3010bf=_0x2d6a18[_0x3d4459(0x5c3)][_0x3d4459(0x1d5)](this);return _0x3010bf['_hash']=this[_0x3d4459(0x407)]['clone'](),_0x3010bf;}});function _0x561336(_0x5b5981,_0x18538d,_0x1a81c5,_0x208301,_0x3da583,_0x560849,_0x501f6c){var _0x1fc38c=_0x5b5981+(_0x18538d&_0x1a81c5|~_0x18538d&_0x208301)+_0x3da583+_0x501f6c;return(_0x1fc38c<<_0x560849|_0x1fc38c>>>0x20-_0x560849)+_0x18538d;}function _0x3d64ec(_0x31a52c,_0x3c2813,_0x3c4a67,_0x40280a,_0x784dc,_0x173add,_0x18bfd1){var _0x499065=_0x31a52c+(_0x3c2813&_0x40280a|_0x3c4a67&~_0x40280a)+_0x784dc+_0x18bfd1;return(_0x499065<<_0x173add|_0x499065>>>0x20-_0x173add)+_0x3c2813;}function _0xea0b83(_0x3276cd,_0x399729,_0x2f4d7f,_0x2335d7,_0x19cb32,_0x57e22b,_0x439aae){var _0x1fc1b4=_0x3276cd+(_0x399729^_0x2f4d7f^_0x2335d7)+_0x19cb32+_0x439aae;return(_0x1fc1b4<<_0x57e22b|_0x1fc1b4>>>0x20-_0x57e22b)+_0x399729;}function _0x5aa0a0(_0x4b83f5,_0x2590a0,_0x415373,_0x5aa68f,_0x1b5765,_0x97d153,_0xfa9af6){var _0x24a783=_0x4b83f5+(_0x415373^(_0x2590a0|~_0x5aa68f))+_0x1b5765+_0xfa9af6;return(_0x24a783<<_0x97d153|_0x24a783>>>0x20-_0x97d153)+_0x2590a0;}_0x24c0f4[_0x3ffd45(0x37b)]=_0x2d6a18[_0x3ffd45(0x4fe)](_0x25563c),_0x24c0f4[_0x3ffd45(0x560)]=_0x2d6a18[_0x3ffd45(0x412)](_0x25563c);}(Math),_0x31392f['MD5'];}));}(_t)),_t[_0x4a7727(0x5a4)];}var ut={'exports':{}},dt={'exports':{}},zt;function vr(){return zt||(zt=0x1,function(_0x2c5464,_0x15dd4e){(function(_0xd0cc33,_0x4f7fda){_0x2c5464['exports']=_0x4f7fda(oe());}(Z,function(_0x3c1c7f){const _0x4fc544=_0x2f26;return(function(){const _0x4ac9d7=_0x2f26;var _0x7ef2b7=_0x3c1c7f,_0x32d732=_0x7ef2b7[_0x4ac9d7(0x530)],_0x19c0f4=_0x32d732['WordArray'],_0x144f80=_0x32d732[_0x4ac9d7(0x545)],_0x437ed0=_0x7ef2b7['algo'],_0x5157cc=[],_0x43e654=_0x437ed0[_0x4ac9d7(0x5e0)]=_0x144f80['extend']({'_doReset':function(){const _0x31d671=_0x4ac9d7;this[_0x31d671(0x407)]=new _0x19c0f4[(_0x31d671(0x334))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x27be45,_0x29dd9b){for(var _0x45f95a=this['_hash']['words'],_0x3a1dcd=_0x45f95a[0x0],_0x45e9c3=_0x45f95a[0x1],_0x56731e=_0x45f95a[0x2],_0x4a116c=_0x45f95a[0x3],_0x2505c6=_0x45f95a[0x4],_0x1fefa9=0x0;_0x1fefa9<0x50;_0x1fefa9++){if(_0x1fefa9<0x10)_0x5157cc[_0x1fefa9]=_0x27be45[_0x29dd9b+_0x1fefa9]|0x0;else{var _0x2a6e32=_0x5157cc[_0x1fefa9-0x3]^_0x5157cc[_0x1fefa9-0x8]^_0x5157cc[_0x1fefa9-0xe]^_0x5157cc[_0x1fefa9-0x10];_0x5157cc[_0x1fefa9]=_0x2a6e32<<0x1|_0x2a6e32>>>0x1f;}var _0x1528bc=(_0x3a1dcd<<0x5|_0x3a1dcd>>>0x1b)+_0x2505c6+_0x5157cc[_0x1fefa9];_0x1fefa9<0x14?_0x1528bc+=(_0x45e9c3&_0x56731e|~_0x45e9c3&_0x4a116c)+0x5a827999:_0x1fefa9<0x28?_0x1528bc+=(_0x45e9c3^_0x56731e^_0x4a116c)+0x6ed9eba1:_0x1fefa9<0x3c?_0x1528bc+=(_0x45e9c3&_0x56731e|_0x45e9c3&_0x4a116c|_0x56731e&_0x4a116c)-0x70e44324:_0x1528bc+=(_0x45e9c3^_0x56731e^_0x4a116c)-0x359d3e2a,_0x2505c6=_0x4a116c,_0x4a116c=_0x56731e,_0x56731e=_0x45e9c3<<0x1e|_0x45e9c3>>>0x2,_0x45e9c3=_0x3a1dcd,_0x3a1dcd=_0x1528bc;}_0x45f95a[0x0]=_0x45f95a[0x0]+_0x3a1dcd|0x0,_0x45f95a[0x1]=_0x45f95a[0x1]+_0x45e9c3|0x0,_0x45f95a[0x2]=_0x45f95a[0x2]+_0x56731e|0x0,_0x45f95a[0x3]=_0x45f95a[0x3]+_0x4a116c|0x0,_0x45f95a[0x4]=_0x45f95a[0x4]+_0x2505c6|0x0;},'_doFinalize':function(){const _0xfaf71f=_0x4ac9d7;var _0xb542ef=this['_data'],_0x519757=_0xb542ef[_0xfaf71f(0x1d8)],_0x142d51=this[_0xfaf71f(0x208)]*0x8,_0x2fbce7=_0xb542ef[_0xfaf71f(0x45c)]*0x8;return _0x519757[_0x2fbce7>>>0x5]|=0x80<<0x18-_0x2fbce7%0x20,_0x519757[(_0x2fbce7+0x40>>>0x9<<0x4)+0xe]=Math[_0xfaf71f(0x3f8)](_0x142d51/0x100000000),_0x519757[(_0x2fbce7+0x40>>>0x9<<0x4)+0xf]=_0x142d51,_0xb542ef['sigBytes']=_0x519757['length']*0x4,this[_0xfaf71f(0x392)](),this[_0xfaf71f(0x407)];},'clone':function(){const _0x14becd=_0x4ac9d7;var _0x4d176c=_0x144f80[_0x14becd(0x5c3)][_0x14becd(0x1d5)](this);return _0x4d176c['_hash']=this[_0x14becd(0x407)][_0x14becd(0x5c3)](),_0x4d176c;}});_0x7ef2b7[_0x4ac9d7(0x5e0)]=_0x144f80[_0x4ac9d7(0x4fe)](_0x43e654),_0x7ef2b7[_0x4ac9d7(0x348)]=_0x144f80[_0x4ac9d7(0x412)](_0x43e654);}()),_0x3c1c7f[_0x4fc544(0x5e0)];}));}(dt)),dt['exports'];}var ft={'exports':{}},Xt;function Sr(){return Xt||(Xt=0x1,function(_0x39f1d1,_0x39d3dc){(function(_0x14da53,_0x28e8de){_0x39f1d1['exports']=_0x28e8de(oe());}(Z,function(_0x1d7024){(function(){const _0x18e964=_0x2f26;var _0x300d34=_0x1d7024,_0x4917a0=_0x300d34[_0x18e964(0x530)],_0xa3d089=_0x4917a0[_0x18e964(0x628)],_0x45492a=_0x300d34[_0x18e964(0x38e)],_0x2f3dc0=_0x45492a[_0x18e964(0x3e6)],_0x2b9592=_0x300d34[_0x18e964(0x395)];_0x2b9592[_0x18e964(0x663)]=_0xa3d089[_0x18e964(0x30f)]({'init':function(_0x5ca90d,_0x867aa7){const _0x6aad90=_0x18e964;_0x5ca90d=this[_0x6aad90(0x603)]=new _0x5ca90d['init'](),typeof _0x867aa7==_0x6aad90(0x291)&&(_0x867aa7=_0x2f3dc0['parse'](_0x867aa7));var _0x23e980=_0x5ca90d[_0x6aad90(0x626)],_0x2a7c88=_0x23e980*0x4;_0x867aa7[_0x6aad90(0x45c)]>_0x2a7c88&&(_0x867aa7=_0x5ca90d[_0x6aad90(0x349)](_0x867aa7)),_0x867aa7[_0x6aad90(0x53d)]();for(var _0x3e55bc=this[_0x6aad90(0x4dc)]=_0x867aa7[_0x6aad90(0x5c3)](),_0x31b5a5=this[_0x6aad90(0x2d4)]=_0x867aa7['clone'](),_0x46d938=_0x3e55bc[_0x6aad90(0x1d8)],_0x140348=_0x31b5a5[_0x6aad90(0x1d8)],_0x58b7fa=0x0;_0x58b7fa<_0x23e980;_0x58b7fa++)_0x46d938[_0x58b7fa]^=0x5c5c5c5c,_0x140348[_0x58b7fa]^=0x36363636;_0x3e55bc[_0x6aad90(0x45c)]=_0x31b5a5[_0x6aad90(0x45c)]=_0x2a7c88,this['reset']();},'reset':function(){const _0x164c74=_0x18e964;var _0x125537=this[_0x164c74(0x603)];_0x125537[_0x164c74(0x29c)](),_0x125537[_0x164c74(0x551)](this['_iKey']);},'update':function(_0x1f91ae){const _0x1f49f3=_0x18e964;return this[_0x1f49f3(0x603)][_0x1f49f3(0x551)](_0x1f91ae),this;},'finalize':function(_0x59d9bd){const _0x54ce9f=_0x18e964;var _0x2cb022=this[_0x54ce9f(0x603)],_0x148225=_0x2cb022[_0x54ce9f(0x349)](_0x59d9bd);_0x2cb022[_0x54ce9f(0x29c)]();var _0x2b745b=_0x2cb022[_0x54ce9f(0x349)](this[_0x54ce9f(0x4dc)][_0x54ce9f(0x5c3)]()[_0x54ce9f(0x2c9)](_0x148225));return _0x2b745b;}});}());}));}(ft)),ft['exports'];}var Jt;function wi(){const _0x2e5d80=_0x29ff00;return Jt||(Jt=0x1,function(_0x44e6eb,_0x3045ae){(function(_0x112bb8,_0x476d26,_0x566119){const _0x550b6b=_0x2f26;_0x44e6eb[_0x550b6b(0x5a4)]=_0x476d26(oe(),vr(),Sr());}(Z,function(_0x4826a0){const _0x22fbbb=_0x2f26;return(function(){const _0x21f644=_0x2f26;var _0x26308f=_0x4826a0,_0x1c999b=_0x26308f[_0x21f644(0x530)],_0x563e18=_0x1c999b[_0x21f644(0x628)],_0x275546=_0x1c999b[_0x21f644(0x1e2)],_0x4ba801=_0x26308f[_0x21f644(0x395)],_0x490b2d=_0x4ba801[_0x21f644(0x37b)],_0x215bea=_0x4ba801[_0x21f644(0x669)]=_0x563e18['extend']({'cfg':_0x563e18[_0x21f644(0x30f)]({'keySize':0x80/0x20,'hasher':_0x490b2d,'iterations':0x1}),'init':function(_0x217b59){const _0x229805=_0x21f644;this[_0x229805(0x503)]=this[_0x229805(0x503)]['extend'](_0x217b59);},'compute':function(_0x2b2f3a,_0x1f6fcb){const _0x2947ff=_0x21f644;for(var _0x4abc45,_0x5cd952=this[_0x2947ff(0x503)],_0x2fde64=_0x5cd952[_0x2947ff(0x52f)][_0x2947ff(0x3f7)](),_0x42ea2a=_0x275546[_0x2947ff(0x3f7)](),_0x131751=_0x42ea2a[_0x2947ff(0x1d8)],_0x16a048=_0x5cd952['keySize'],_0x18c5e8=_0x5cd952[_0x2947ff(0x57d)];_0x131751[_0x2947ff(0x5e7)]<_0x16a048;){_0x4abc45&&_0x2fde64[_0x2947ff(0x551)](_0x4abc45),_0x4abc45=_0x2fde64[_0x2947ff(0x551)](_0x2b2f3a)[_0x2947ff(0x349)](_0x1f6fcb),_0x2fde64[_0x2947ff(0x29c)]();for(var _0x55d51e=0x1;_0x55d51e<_0x18c5e8;_0x55d51e++)_0x4abc45=_0x2fde64[_0x2947ff(0x349)](_0x4abc45),_0x2fde64['reset']();_0x42ea2a[_0x2947ff(0x2c9)](_0x4abc45);}return _0x42ea2a[_0x2947ff(0x45c)]=_0x16a048*0x4,_0x42ea2a;}});_0x26308f['EvpKDF']=function(_0x194152,_0x2e24d7,_0x3e7df4){const _0x20a6d4=_0x21f644;return _0x215bea[_0x20a6d4(0x3f7)](_0x3e7df4)['compute'](_0x194152,_0x2e24d7);};}()),_0x4826a0[_0x22fbbb(0x669)];}));}(ut)),ut[_0x2e5d80(0x5a4)];}var vt={'exports':{}},Zt;function Ui(){const _0xf3909b=_0x29ff00;return Zt||(Zt=0x1,function(_0x10a329,_0x4386f3){(function(_0x39785b,_0x13618b,_0x5b9274){_0x10a329['exports']=_0x13618b(oe(),wi());}(Z,function(_0x30bd4f){const _0x165a78=_0x2f26;_0x30bd4f[_0x165a78(0x530)][_0x165a78(0x47c)]||function(_0x7b8458){const _0x116d18=_0x165a78;var _0xea3344=_0x30bd4f,_0x754136=_0xea3344[_0x116d18(0x530)],_0x39796e=_0x754136[_0x116d18(0x628)],_0x2a7950=_0x754136['WordArray'],_0x40acb0=_0x754136[_0x116d18(0x41e)],_0x1ffa57=_0xea3344['enc'];_0x1ffa57['Utf8'];var _0x26d373=_0x1ffa57[_0x116d18(0x234)],_0x16a0f5=_0xea3344['algo'],_0x4ab683=_0x16a0f5[_0x116d18(0x669)],_0x59a483=_0x754136[_0x116d18(0x47c)]=_0x40acb0[_0x116d18(0x30f)]({'cfg':_0x39796e['extend'](),'createEncryptor':function(_0x4963de,_0x1f5fc3){const _0x47e10e=_0x116d18;return this[_0x47e10e(0x3f7)](this[_0x47e10e(0x401)],_0x4963de,_0x1f5fc3);},'createDecryptor':function(_0x2a89c6,_0xb99270){const _0x5bf27b=_0x116d18;return this[_0x5bf27b(0x3f7)](this[_0x5bf27b(0x558)],_0x2a89c6,_0xb99270);},'init':function(_0x407d8e,_0x3bb4e4,_0x4e5a33){const _0x228ddb=_0x116d18;this[_0x228ddb(0x503)]=this['cfg'][_0x228ddb(0x30f)](_0x4e5a33),this[_0x228ddb(0x217)]=_0x407d8e,this['_key']=_0x3bb4e4,this[_0x228ddb(0x29c)]();},'reset':function(){const _0x1a71d5=_0x116d18;_0x40acb0[_0x1a71d5(0x29c)][_0x1a71d5(0x1d5)](this),this[_0x1a71d5(0x297)]();},'process':function(_0x4b4e33){const _0x5f3743=_0x116d18;return this[_0x5f3743(0x685)](_0x4b4e33),this[_0x5f3743(0x392)]();},'finalize':function(_0x2372f2){const _0x570b06=_0x116d18;_0x2372f2&&this[_0x570b06(0x685)](_0x2372f2);var _0x29aad3=this['_doFinalize']();return _0x29aad3;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x54b8c5(_0x476ddd){const _0x2b3706=_0x2f26;return typeof _0x476ddd==_0x2b3706(0x291)?_0x17b682:_0xaf1a0c;}return function(_0x3951d7){return{'encrypt':function(_0x4cbdd2,_0x4b5a37,_0x5f094e){const _0x47340d=_0x2f26;return _0x54b8c5(_0x4b5a37)[_0x47340d(0x442)](_0x3951d7,_0x4cbdd2,_0x4b5a37,_0x5f094e);},'decrypt':function(_0x599fd4,_0x108c43,_0x3d87ee){const _0x4f5475=_0x2f26;return _0x54b8c5(_0x108c43)[_0x4f5475(0x262)](_0x3951d7,_0x599fd4,_0x108c43,_0x3d87ee);}};};}())});_0x754136[_0x116d18(0x57e)]=_0x59a483[_0x116d18(0x30f)]({'_doFinalize':function(){const _0x18d0f9=_0x116d18;var _0x59ddc6=this[_0x18d0f9(0x392)](!0x0);return _0x59ddc6;},'blockSize':0x1});var _0x45bc00=_0xea3344[_0x116d18(0x4ca)]={},_0xc5f7da=_0x754136[_0x116d18(0x658)]=_0x39796e[_0x116d18(0x30f)]({'createEncryptor':function(_0x56fbd9,_0xbf8ed8){const _0x3990e9=_0x116d18;return this[_0x3990e9(0x5a3)][_0x3990e9(0x3f7)](_0x56fbd9,_0xbf8ed8);},'createDecryptor':function(_0x6f2449,_0x10aa5a){const _0xc6b48a=_0x116d18;return this[_0xc6b48a(0x445)][_0xc6b48a(0x3f7)](_0x6f2449,_0x10aa5a);},'init':function(_0x946d87,_0x3b1d7a){const _0x23556e=_0x116d18;this[_0x23556e(0x41a)]=_0x946d87,this[_0x23556e(0x35a)]=_0x3b1d7a;}}),_0x5af990=_0x45bc00[_0x116d18(0x252)]=(function(){const _0x10606a=_0x116d18;var _0x263770=_0xc5f7da[_0x10606a(0x30f)]();_0x263770[_0x10606a(0x5a3)]=_0x263770[_0x10606a(0x30f)]({'processBlock':function(_0x5a2aac,_0x4a2f09){const _0xad5edf=_0x10606a;var _0xef8ac3=this[_0xad5edf(0x41a)],_0x555f8d=_0xef8ac3[_0xad5edf(0x626)];_0x2c9092['call'](this,_0x5a2aac,_0x4a2f09,_0x555f8d),_0xef8ac3[_0xad5edf(0x1ee)](_0x5a2aac,_0x4a2f09),this[_0xad5edf(0x3c9)]=_0x5a2aac[_0xad5edf(0x3bb)](_0x4a2f09,_0x4a2f09+_0x555f8d);}}),_0x263770[_0x10606a(0x445)]=_0x263770[_0x10606a(0x30f)]({'processBlock':function(_0x1a82a6,_0x3a60e5){const _0xc4d95b=_0x10606a;var _0x23526c=this['_cipher'],_0x161581=_0x23526c[_0xc4d95b(0x626)],_0x440704=_0x1a82a6[_0xc4d95b(0x3bb)](_0x3a60e5,_0x3a60e5+_0x161581);_0x23526c[_0xc4d95b(0x4e7)](_0x1a82a6,_0x3a60e5),_0x2c9092[_0xc4d95b(0x1d5)](this,_0x1a82a6,_0x3a60e5,_0x161581),this[_0xc4d95b(0x3c9)]=_0x440704;}});function _0x2c9092(_0x1c7c7e,_0x17f1e7,_0x379307){const _0x257cf9=_0x10606a;var _0x31ca1a,_0x2154d8=this['_iv'];_0x2154d8?(_0x31ca1a=_0x2154d8,this[_0x257cf9(0x35a)]=_0x7b8458):_0x31ca1a=this[_0x257cf9(0x3c9)];for(var _0x2d3e05=0x0;_0x2d3e05<_0x379307;_0x2d3e05++)_0x1c7c7e[_0x17f1e7+_0x2d3e05]^=_0x31ca1a[_0x2d3e05];}return _0x263770;}()),_0xafe5cf=_0xea3344[_0x116d18(0x2f8)]={},_0x32922b=_0xafe5cf['Pkcs7']={'pad':function(_0x2663a1,_0x4f3815){const _0x5bf50e=_0x116d18;for(var _0xbe6b44=_0x4f3815*0x4,_0x5858ae=_0xbe6b44-_0x2663a1[_0x5bf50e(0x45c)]%_0xbe6b44,_0x3020a3=_0x5858ae<<0x18|_0x5858ae<<0x10|_0x5858ae<<0x8|_0x5858ae,_0x1e3dda=[],_0x35bc21=0x0;_0x35bc21<_0x5858ae;_0x35bc21+=0x4)_0x1e3dda[_0x5bf50e(0x3bc)](_0x3020a3);var _0x99c7c1=_0x2a7950['create'](_0x1e3dda,_0x5858ae);_0x2663a1['concat'](_0x99c7c1);},'unpad':function(_0x545a3e){const _0x28808e=_0x116d18;var _0x1dd140=_0x545a3e[_0x28808e(0x1d8)][_0x545a3e[_0x28808e(0x45c)]-0x1>>>0x2]&0xff;_0x545a3e[_0x28808e(0x45c)]-=_0x1dd140;}};_0x754136[_0x116d18(0x671)]=_0x59a483['extend']({'cfg':_0x59a483[_0x116d18(0x503)][_0x116d18(0x30f)]({'mode':_0x5af990,'padding':_0x32922b}),'reset':function(){const _0x4044ca=_0x116d18;var _0x3cf558;_0x59a483[_0x4044ca(0x29c)][_0x4044ca(0x1d5)](this);var _0x2ba811=this['cfg'],_0x3d8225=_0x2ba811['iv'],_0x2a7396=_0x2ba811['mode'];this['_xformMode']==this[_0x4044ca(0x401)]?_0x3cf558=_0x2a7396[_0x4044ca(0x55e)]:(_0x3cf558=_0x2a7396[_0x4044ca(0x1d9)],this[_0x4044ca(0x54a)]=0x1),this[_0x4044ca(0x59e)]&&this[_0x4044ca(0x59e)][_0x4044ca(0x2d3)]==_0x3cf558?this[_0x4044ca(0x59e)][_0x4044ca(0x334)](this,_0x3d8225&&_0x3d8225['words']):(this[_0x4044ca(0x59e)]=_0x3cf558['call'](_0x2a7396,this,_0x3d8225&&_0x3d8225['words']),this[_0x4044ca(0x59e)]['__creator']=_0x3cf558);},'_doProcessBlock':function(_0x6a0a63,_0x12e0f9){const _0x41613f=_0x116d18;this[_0x41613f(0x59e)][_0x41613f(0x311)](_0x6a0a63,_0x12e0f9);},'_doFinalize':function(){const _0x54d32d=_0x116d18;var _0x280d74,_0x32d769=this[_0x54d32d(0x503)][_0x54d32d(0x2e2)];return this['_xformMode']==this[_0x54d32d(0x401)]?(_0x32d769[_0x54d32d(0x2f8)](this[_0x54d32d(0x461)],this[_0x54d32d(0x626)]),_0x280d74=this[_0x54d32d(0x392)](!0x0)):(_0x280d74=this['_process'](!0x0),_0x32d769[_0x54d32d(0x651)](_0x280d74)),_0x280d74;},'blockSize':0x80/0x20});var _0x14b5d8=_0x754136[_0x116d18(0x38b)]=_0x39796e[_0x116d18(0x30f)]({'init':function(_0xf8664e){const _0x4ddb57=_0x116d18;this[_0x4ddb57(0x4bd)](_0xf8664e);},'toString':function(_0x4f0f8f){const _0xdbfcb0=_0x116d18;return(_0x4f0f8f||this['formatter'])[_0xdbfcb0(0x65e)](this);}}),_0x3d0a91=_0xea3344['format']={},_0x211529=_0x3d0a91[_0x116d18(0x529)]={'stringify':function(_0x15cae9){const _0xe801c3=_0x116d18;var _0x2ad47c,_0x488ab4=_0x15cae9[_0xe801c3(0x3b0)],_0x29f9d4=_0x15cae9[_0xe801c3(0x67d)];return _0x29f9d4?_0x2ad47c=_0x2a7950[_0xe801c3(0x3f7)]([0x53616c74,0x65645f5f])[_0xe801c3(0x2c9)](_0x29f9d4)[_0xe801c3(0x2c9)](_0x488ab4):_0x2ad47c=_0x488ab4,_0x2ad47c[_0xe801c3(0x3ef)](_0x26d373);},'parse':function(_0x5a560d){const _0x179a00=_0x116d18;var _0x371143,_0x305223=_0x26d373[_0x179a00(0x1c4)](_0x5a560d),_0xee7b=_0x305223[_0x179a00(0x1d8)];return _0xee7b[0x0]==0x53616c74&&_0xee7b[0x1]==0x65645f5f&&(_0x371143=_0x2a7950[_0x179a00(0x3f7)](_0xee7b[_0x179a00(0x3bb)](0x2,0x4)),_0xee7b[_0x179a00(0x354)](0x0,0x4),_0x305223[_0x179a00(0x45c)]-=0x10),_0x14b5d8[_0x179a00(0x3f7)]({'ciphertext':_0x305223,'salt':_0x371143});}},_0xaf1a0c=_0x754136[_0x116d18(0x4a5)]=_0x39796e['extend']({'cfg':_0x39796e[_0x116d18(0x30f)]({'format':_0x211529}),'encrypt':function(_0x402384,_0x1f4b05,_0x1c2d4e,_0x36f19d){const _0x3ad0e2=_0x116d18;_0x36f19d=this['cfg'][_0x3ad0e2(0x30f)](_0x36f19d);var _0x52a854=_0x402384[_0x3ad0e2(0x55e)](_0x1c2d4e,_0x36f19d),_0x178d28=_0x52a854['finalize'](_0x1f4b05),_0x37087c=_0x52a854['cfg'];return _0x14b5d8['create']({'ciphertext':_0x178d28,'key':_0x1c2d4e,'iv':_0x37087c['iv'],'algorithm':_0x402384,'mode':_0x37087c['mode'],'padding':_0x37087c['padding'],'blockSize':_0x402384['blockSize'],'formatter':_0x36f19d[_0x3ad0e2(0x458)]});},'decrypt':function(_0x32207f,_0x543353,_0x27101f,_0x416d38){const _0x102221=_0x116d18;_0x416d38=this[_0x102221(0x503)][_0x102221(0x30f)](_0x416d38),_0x543353=this[_0x102221(0x459)](_0x543353,_0x416d38[_0x102221(0x458)]);var _0x216ffa=_0x32207f['createDecryptor'](_0x27101f,_0x416d38)[_0x102221(0x349)](_0x543353['ciphertext']);return _0x216ffa;},'_parse':function(_0x4b1413,_0x3c04c0){const _0x812edf=_0x116d18;return typeof _0x4b1413==_0x812edf(0x291)?_0x3c04c0[_0x812edf(0x1c4)](_0x4b1413,this):_0x4b1413;}}),_0x38ffd2=_0xea3344[_0x116d18(0x3c0)]={},_0xd4b3f5=_0x38ffd2[_0x116d18(0x529)]={'execute':function(_0x17a01b,_0x3d3baf,_0x24834c,_0x510486,_0x1278b0){const _0x556549=_0x116d18;if(_0x510486||(_0x510486=_0x2a7950[_0x556549(0x581)](0x40/0x8)),_0x1278b0)var _0x1cc7b9=_0x4ab683[_0x556549(0x3f7)]({'keySize':_0x3d3baf+_0x24834c,'hasher':_0x1278b0})[_0x556549(0x282)](_0x17a01b,_0x510486);else var _0x1cc7b9=_0x4ab683[_0x556549(0x3f7)]({'keySize':_0x3d3baf+_0x24834c})['compute'](_0x17a01b,_0x510486);var _0x351c25=_0x2a7950['create'](_0x1cc7b9[_0x556549(0x1d8)][_0x556549(0x3bb)](_0x3d3baf),_0x24834c*0x4);return _0x1cc7b9[_0x556549(0x45c)]=_0x3d3baf*0x4,_0x14b5d8[_0x556549(0x3f7)]({'key':_0x1cc7b9,'iv':_0x351c25,'salt':_0x510486});}},_0x17b682=_0x754136['PasswordBasedCipher']=_0xaf1a0c[_0x116d18(0x30f)]({'cfg':_0xaf1a0c[_0x116d18(0x503)][_0x116d18(0x30f)]({'kdf':_0xd4b3f5}),'encrypt':function(_0x4be17c,_0x1bcdf6,_0x575887,_0x22dc9c){const _0x17fb48=_0x116d18;_0x22dc9c=this[_0x17fb48(0x503)]['extend'](_0x22dc9c);var _0x1b4a37=_0x22dc9c[_0x17fb48(0x3c0)]['execute'](_0x575887,_0x4be17c[_0x17fb48(0x4b9)],_0x4be17c[_0x17fb48(0x3e9)],_0x22dc9c[_0x17fb48(0x67d)],_0x22dc9c[_0x17fb48(0x52f)]);_0x22dc9c['iv']=_0x1b4a37['iv'];var _0xba342e=_0xaf1a0c[_0x17fb48(0x442)][_0x17fb48(0x1d5)](this,_0x4be17c,_0x1bcdf6,_0x1b4a37['key'],_0x22dc9c);return _0xba342e[_0x17fb48(0x4bd)](_0x1b4a37),_0xba342e;},'decrypt':function(_0x1d843b,_0x3d19e1,_0x292f0f,_0x4aad9b){const _0x37e115=_0x116d18;_0x4aad9b=this['cfg'][_0x37e115(0x30f)](_0x4aad9b),_0x3d19e1=this['_parse'](_0x3d19e1,_0x4aad9b[_0x37e115(0x458)]);var _0x44e9f3=_0x4aad9b[_0x37e115(0x3c0)][_0x37e115(0x4a7)](_0x292f0f,_0x1d843b[_0x37e115(0x4b9)],_0x1d843b[_0x37e115(0x3e9)],_0x3d19e1['salt'],_0x4aad9b[_0x37e115(0x52f)]);_0x4aad9b['iv']=_0x44e9f3['iv'];var _0x52b6ba=_0xaf1a0c[_0x37e115(0x262)][_0x37e115(0x1d5)](this,_0x1d843b,_0x3d19e1,_0x44e9f3[_0x37e115(0x425)],_0x4aad9b);return _0x52b6ba;}});}();}));}(vt)),vt[_0xf3909b(0x5a4)];}(function(_0x55e6a7,_0x367cc2){(function(_0x18364b,_0x2c1521,_0xa42702){_0x55e6a7['exports']=_0x2c1521(oe(),Pi(),fr(),wi(),Ui());}(Z,function(_0x58898c){const _0x4354cf=_0x2f26;return(function(){const _0x2575f2=_0x2f26;var _0x10d5a2=_0x58898c,_0x6018fa=_0x10d5a2[_0x2575f2(0x530)],_0x3493e8=_0x6018fa[_0x2575f2(0x671)],_0x3d7b71=_0x10d5a2['algo'],_0x144606=[],_0xece021=[],_0x1bae05=[],_0xfaf566=[],_0x178db2=[],_0xd37b7c=[],_0x541f77=[],_0x58cdcd=[],_0x64fb74=[],_0x3b01c8=[];(function(){for(var _0xb9a180=[],_0x23ae1c=0x0;_0x23ae1c<0x100;_0x23ae1c++)_0x23ae1c<0x80?_0xb9a180[_0x23ae1c]=_0x23ae1c<<0x1:_0xb9a180[_0x23ae1c]=_0x23ae1c<<0x1^0x11b;for(var _0x43126e=0x0,_0x4a7ba8=0x0,_0x23ae1c=0x0;_0x23ae1c<0x100;_0x23ae1c++){var _0x4e1bb3=_0x4a7ba8^_0x4a7ba8<<0x1^_0x4a7ba8<<0x2^_0x4a7ba8<<0x3^_0x4a7ba8<<0x4;_0x4e1bb3=_0x4e1bb3>>>0x8^_0x4e1bb3&0xff^0x63,_0x144606[_0x43126e]=_0x4e1bb3,_0xece021[_0x4e1bb3]=_0x43126e;var _0x498dfd=_0xb9a180[_0x43126e],_0x558a18=_0xb9a180[_0x498dfd],_0x435a03=_0xb9a180[_0x558a18],_0x340f44=_0xb9a180[_0x4e1bb3]*0x101^_0x4e1bb3*0x1010100;_0x1bae05[_0x43126e]=_0x340f44<<0x18|_0x340f44>>>0x8,_0xfaf566[_0x43126e]=_0x340f44<<0x10|_0x340f44>>>0x10,_0x178db2[_0x43126e]=_0x340f44<<0x8|_0x340f44>>>0x18,_0xd37b7c[_0x43126e]=_0x340f44;var _0x340f44=_0x435a03*0x1010101^_0x558a18*0x10001^_0x498dfd*0x101^_0x43126e*0x1010100;_0x541f77[_0x4e1bb3]=_0x340f44<<0x18|_0x340f44>>>0x8,_0x58cdcd[_0x4e1bb3]=_0x340f44<<0x10|_0x340f44>>>0x10,_0x64fb74[_0x4e1bb3]=_0x340f44<<0x8|_0x340f44>>>0x18,_0x3b01c8[_0x4e1bb3]=_0x340f44,_0x43126e?(_0x43126e=_0x498dfd^_0xb9a180[_0xb9a180[_0xb9a180[_0x435a03^_0x498dfd]]],_0x4a7ba8^=_0xb9a180[_0xb9a180[_0x4a7ba8]]):_0x43126e=_0x4a7ba8=0x1;}}());var _0x28b458=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x580868=_0x3d7b71[_0x2575f2(0x40d)]=_0x3493e8[_0x2575f2(0x30f)]({'_doReset':function(){const _0x10d390=_0x2575f2;var _0x3f1a6d;if(!(this[_0x10d390(0x2b3)]&&this[_0x10d390(0x470)]===this[_0x10d390(0x3c4)])){for(var _0x3ba0e5=this[_0x10d390(0x470)]=this[_0x10d390(0x3c4)],_0xe01ca=_0x3ba0e5['words'],_0x45bd7f=_0x3ba0e5[_0x10d390(0x45c)]/0x4,_0x3af97c=this[_0x10d390(0x2b3)]=_0x45bd7f+0x6,_0x2ade67=(_0x3af97c+0x1)*0x4,_0x1204f8=this['_keySchedule']=[],_0x958e68=0x0;_0x958e68<_0x2ade67;_0x958e68++)_0x958e68<_0x45bd7f?_0x1204f8[_0x958e68]=_0xe01ca[_0x958e68]:(_0x3f1a6d=_0x1204f8[_0x958e68-0x1],_0x958e68%_0x45bd7f?_0x45bd7f>0x6&&_0x958e68%_0x45bd7f==0x4&&(_0x3f1a6d=_0x144606[_0x3f1a6d>>>0x18]<<0x18|_0x144606[_0x3f1a6d>>>0x10&0xff]<<0x10|_0x144606[_0x3f1a6d>>>0x8&0xff]<<0x8|_0x144606[_0x3f1a6d&0xff]):(_0x3f1a6d=_0x3f1a6d<<0x8|_0x3f1a6d>>>0x18,_0x3f1a6d=_0x144606[_0x3f1a6d>>>0x18]<<0x18|_0x144606[_0x3f1a6d>>>0x10&0xff]<<0x10|_0x144606[_0x3f1a6d>>>0x8&0xff]<<0x8|_0x144606[_0x3f1a6d&0xff],_0x3f1a6d^=_0x28b458[_0x958e68/_0x45bd7f|0x0]<<0x18),_0x1204f8[_0x958e68]=_0x1204f8[_0x958e68-_0x45bd7f]^_0x3f1a6d);for(var _0x291415=this['_invKeySchedule']=[],_0x30df81=0x0;_0x30df81<_0x2ade67;_0x30df81++){var _0x958e68=_0x2ade67-_0x30df81;if(_0x30df81%0x4)var _0x3f1a6d=_0x1204f8[_0x958e68];else var _0x3f1a6d=_0x1204f8[_0x958e68-0x4];_0x30df81<0x4||_0x958e68<=0x4?_0x291415[_0x30df81]=_0x3f1a6d:_0x291415[_0x30df81]=_0x541f77[_0x144606[_0x3f1a6d>>>0x18]]^_0x58cdcd[_0x144606[_0x3f1a6d>>>0x10&0xff]]^_0x64fb74[_0x144606[_0x3f1a6d>>>0x8&0xff]]^_0x3b01c8[_0x144606[_0x3f1a6d&0xff]];}}},'encryptBlock':function(_0x21773d,_0x26edd2){const _0x468725=_0x2575f2;this[_0x468725(0x664)](_0x21773d,_0x26edd2,this[_0x468725(0x521)],_0x1bae05,_0xfaf566,_0x178db2,_0xd37b7c,_0x144606);},'decryptBlock':function(_0x3f38a3,_0x335fc1){const _0xfdebe5=_0x2575f2;var _0x5a58b8=_0x3f38a3[_0x335fc1+0x1];_0x3f38a3[_0x335fc1+0x1]=_0x3f38a3[_0x335fc1+0x3],_0x3f38a3[_0x335fc1+0x3]=_0x5a58b8,this[_0xfdebe5(0x664)](_0x3f38a3,_0x335fc1,this[_0xfdebe5(0x2c0)],_0x541f77,_0x58cdcd,_0x64fb74,_0x3b01c8,_0xece021);var _0x5a58b8=_0x3f38a3[_0x335fc1+0x1];_0x3f38a3[_0x335fc1+0x1]=_0x3f38a3[_0x335fc1+0x3],_0x3f38a3[_0x335fc1+0x3]=_0x5a58b8;},'_doCryptBlock':function(_0x1535ec,_0x41de9b,_0xdf9b8,_0xb60c30,_0x3921ec,_0x1b9091,_0x63a666,_0x20d57a){for(var _0x1c3fa2=this['_nRounds'],_0xccaf0f=_0x1535ec[_0x41de9b]^_0xdf9b8[0x0],_0x291c60=_0x1535ec[_0x41de9b+0x1]^_0xdf9b8[0x1],_0x37a0de=_0x1535ec[_0x41de9b+0x2]^_0xdf9b8[0x2],_0x1b8768=_0x1535ec[_0x41de9b+0x3]^_0xdf9b8[0x3],_0xb68ab=0x4,_0x126d5f=0x1;_0x126d5f<_0x1c3fa2;_0x126d5f++){var _0x2da508=_0xb60c30[_0xccaf0f>>>0x18]^_0x3921ec[_0x291c60>>>0x10&0xff]^_0x1b9091[_0x37a0de>>>0x8&0xff]^_0x63a666[_0x1b8768&0xff]^_0xdf9b8[_0xb68ab++],_0x1833ff=_0xb60c30[_0x291c60>>>0x18]^_0x3921ec[_0x37a0de>>>0x10&0xff]^_0x1b9091[_0x1b8768>>>0x8&0xff]^_0x63a666[_0xccaf0f&0xff]^_0xdf9b8[_0xb68ab++],_0x3fb395=_0xb60c30[_0x37a0de>>>0x18]^_0x3921ec[_0x1b8768>>>0x10&0xff]^_0x1b9091[_0xccaf0f>>>0x8&0xff]^_0x63a666[_0x291c60&0xff]^_0xdf9b8[_0xb68ab++],_0x1e2df4=_0xb60c30[_0x1b8768>>>0x18]^_0x3921ec[_0xccaf0f>>>0x10&0xff]^_0x1b9091[_0x291c60>>>0x8&0xff]^_0x63a666[_0x37a0de&0xff]^_0xdf9b8[_0xb68ab++];_0xccaf0f=_0x2da508,_0x291c60=_0x1833ff,_0x37a0de=_0x3fb395,_0x1b8768=_0x1e2df4;}var _0x2da508=(_0x20d57a[_0xccaf0f>>>0x18]<<0x18|_0x20d57a[_0x291c60>>>0x10&0xff]<<0x10|_0x20d57a[_0x37a0de>>>0x8&0xff]<<0x8|_0x20d57a[_0x1b8768&0xff])^_0xdf9b8[_0xb68ab++],_0x1833ff=(_0x20d57a[_0x291c60>>>0x18]<<0x18|_0x20d57a[_0x37a0de>>>0x10&0xff]<<0x10|_0x20d57a[_0x1b8768>>>0x8&0xff]<<0x8|_0x20d57a[_0xccaf0f&0xff])^_0xdf9b8[_0xb68ab++],_0x3fb395=(_0x20d57a[_0x37a0de>>>0x18]<<0x18|_0x20d57a[_0x1b8768>>>0x10&0xff]<<0x10|_0x20d57a[_0xccaf0f>>>0x8&0xff]<<0x8|_0x20d57a[_0x291c60&0xff])^_0xdf9b8[_0xb68ab++],_0x1e2df4=(_0x20d57a[_0x1b8768>>>0x18]<<0x18|_0x20d57a[_0xccaf0f>>>0x10&0xff]<<0x10|_0x20d57a[_0x291c60>>>0x8&0xff]<<0x8|_0x20d57a[_0x37a0de&0xff])^_0xdf9b8[_0xb68ab++];_0x1535ec[_0x41de9b]=_0x2da508,_0x1535ec[_0x41de9b+0x1]=_0x1833ff,_0x1535ec[_0x41de9b+0x2]=_0x3fb395,_0x1535ec[_0x41de9b+0x3]=_0x1e2df4;},'keySize':0x100/0x20});_0x10d5a2[_0x2575f2(0x40d)]=_0x3493e8[_0x2575f2(0x4fe)](_0x580868);}()),_0x58898c[_0x4354cf(0x40d)];}));}(Di));var pr=Di[_0x29ff00(0x5a4)];const mr=xe(pr);var gr=Pi();const Qt=xe(gr);var Mi={'exports':{}};(function(_0xdfeba2,_0x289bd7){(function(_0xd58344,_0x17004b){_0xdfeba2['exports']=_0x17004b(oe());}(Z,function(_0x31a203){const _0x377a9e=_0x2f26;return _0x31a203[_0x377a9e(0x38e)][_0x377a9e(0x3e6)];}));}(Mi));var Ir=Mi[_0x29ff00(0x5a4)];const Cr=xe(Ir);var Ai={'exports':{}};(function(_0x54bf00,_0x50fa45){(function(_0x3cee32,_0x307f10){const _0x1f2c1e=_0x2f26;_0x54bf00[_0x1f2c1e(0x5a4)]=_0x307f10(oe());}(Z,function(_0x44f7c2){const _0x616c07=_0x2f26;return(function(){const _0x5505f1=_0x2f26;if(typeof ArrayBuffer==_0x5505f1(0x5a8)){var _0x58a9aa=_0x44f7c2,_0x384a78=_0x58a9aa[_0x5505f1(0x530)],_0x53005a=_0x384a78['WordArray'],_0x5da649=_0x53005a[_0x5505f1(0x334)],_0x3763a6=_0x53005a[_0x5505f1(0x334)]=function(_0x50259d){const _0x131124=_0x5505f1;if(_0x50259d instanceof ArrayBuffer&&(_0x50259d=new Uint8Array(_0x50259d)),(_0x50259d instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x50259d instanceof Uint8ClampedArray||_0x50259d instanceof Int16Array||_0x50259d instanceof Uint16Array||_0x50259d instanceof Int32Array||_0x50259d instanceof Uint32Array||_0x50259d instanceof Float32Array||_0x50259d instanceof Float64Array)&&(_0x50259d=new Uint8Array(_0x50259d['buffer'],_0x50259d[_0x131124(0x59d)],_0x50259d['byteLength'])),_0x50259d instanceof Uint8Array){for(var _0x12bcaa=_0x50259d[_0x131124(0x260)],_0x46263e=[],_0x578956=0x0;_0x578956<_0x12bcaa;_0x578956++)_0x46263e[_0x578956>>>0x2]|=_0x50259d[_0x578956]<<0x18-_0x578956%0x4*0x8;_0x5da649[_0x131124(0x1d5)](this,_0x46263e,_0x12bcaa);}else _0x5da649[_0x131124(0x567)](this,arguments);};_0x3763a6[_0x5505f1(0x1fe)]=_0x53005a;}}()),_0x44f7c2['lib'][_0x616c07(0x1e2)];}));}(Ai));var Er=Ai['exports'];const br=xe(Er);var Ni={'exports':{}};(function(_0x138c4d,_0x199646){(function(_0x3a7b38,_0x160b03,_0x3ca5a8){const _0x462d71=_0x2f26;_0x138c4d[_0x462d71(0x5a4)]=_0x160b03(oe(),Ui());}(Z,function(_0x306c28){const _0x192a0a=_0x2f26;return _0x306c28[_0x192a0a(0x2f8)][_0x192a0a(0x631)]={'pad':function(){},'unpad':function(){}},_0x306c28[_0x192a0a(0x2f8)][_0x192a0a(0x631)];}));}(Ni));var Tr=Ni[_0x29ff00(0x5a4)];const Rr=xe(Tr);function yr(_0x234f00,_0x149d08){const _0x46de3c=_0x29ff00,_0x573670=_0x149d08-_0x234f00['length']%_0x149d08,_0x2f2912=String['fromCharCode'](_0x573670)[_0x46de3c(0x2cf)](_0x573670);return _0x234f00+_0x2f2912;}function Or(_0xcbbe8a,_0x35f8cc){const _0x361c44=_0x29ff00,_0x21cf08=br[_0x361c44(0x581)](0x10),_0xbc58a0=yr(_0xcbbe8a,0x10),_0x4af347=mr[_0x361c44(0x442)](Cr['parse'](_0xbc58a0),Qt[_0x361c44(0x1c4)](_0x35f8cc),{'iv':_0x21cf08,'padding':Rr});return _0x21cf08[_0x361c44(0x2c9)](_0x4af347[_0x361c44(0x3b0)])[_0x361c44(0x3ef)](Qt);}function Dr(){const _0x56bc1e=_0x29ff00,_0x566d4d=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x56bc1e(0x224)];if(_0x566d4d){const _0xfd390f={'time':Math[_0x56bc1e(0x3f8)](Date[_0x56bc1e(0x53b)]()/0x3e8),'domain':location[_0x56bc1e(0x5f6)]};return Or(JSON[_0x56bc1e(0x65e)](_0xfd390f),_0x566d4d);}}var Pr=Object[_0x29ff00(0x64a)],wr=Object[_0x29ff00(0x316)],Ur=(_0x515deb,_0x51312e,_0x317b6e,_0x317781)=>{const _0x296a74=_0x29ff00;for(var _0x7af0fe=_0x317781>0x1?void 0x0:_0x317781?wr(_0x51312e,_0x317b6e):_0x51312e,_0x7aae39=_0x515deb[_0x296a74(0x5e7)]-0x1,_0x375b7c;_0x7aae39>=0x0;_0x7aae39--)(_0x375b7c=_0x515deb[_0x7aae39])&&(_0x7af0fe=(_0x317781?_0x375b7c(_0x51312e,_0x317b6e,_0x7af0fe):_0x375b7c(_0x7af0fe))||_0x7af0fe);return _0x317781&&_0x7af0fe&&Pr(_0x51312e,_0x317b6e,_0x7af0fe),_0x7af0fe;},Mr=(_0x428e94,_0x1606c3)=>(_0x46c6bc,_0x4f05c7)=>_0x1606c3(_0x46c6bc,_0x4f05c7,_0x428e94);let Ke=class{constructor(_0x1dea5e){const _0x400d25=_0x29ff00;this[_0x400d25(0x620)]=_0x1dea5e,this[_0x400d25(0x616)]();}['_initRequestHeader'](){const _0x21c89a=_0x29ff00;this[_0x21c89a(0x620)][_0x21c89a(0x595)]({'interceptor':(_0x4ea59a,_0x4e5b43)=>{const _0x5a042e=_0x21c89a,_0x393f65=_0x4ea59a[_0x5a042e(0x32e)],_0x3701e8=Dr();return _0x3701e8&&_0x393f65['set'](_0x5a042e(0x305),_0x3701e8),_0x4e5b43(_0x4ea59a);}});}};Ke=Ur([Mr(0x0,a[_0x29ff00(0x493)](z[_0x29ff00(0x1be)]))],Ke);var Ar=Object[_0x29ff00(0x64a)],Nr=Object[_0x29ff00(0x316)],Lr=(_0x1ac37d,_0xe107c8,_0x57d348,_0x41a80b)=>{const _0x13a182=_0x29ff00;for(var _0x3146dc=_0x41a80b>0x1?void 0x0:_0x41a80b?Nr(_0xe107c8,_0x57d348):_0xe107c8,_0x208fe8=_0x1ac37d[_0x13a182(0x5e7)]-0x1,_0x43c24f;_0x208fe8>=0x0;_0x208fe8--)(_0x43c24f=_0x1ac37d[_0x208fe8])&&(_0x3146dc=(_0x41a80b?_0x43c24f(_0xe107c8,_0x57d348,_0x3146dc):_0x43c24f(_0x3146dc))||_0x3146dc);return _0x41a80b&&_0x3146dc&&Ar(_0xe107c8,_0x57d348,_0x3146dc),_0x3146dc;},St=(_0x1321ec,_0x5b6580)=>(_0x216f77,_0x52603f)=>_0x5b6580(_0x216f77,_0x52603f,_0x1321ec);const xr=[_0x29ff00(0x5a2),_0x29ff00(0x213),_0x29ff00(0x657),_0x29ff00(0x2ec),_0x29ff00(0x378)],jr=0x5*0x400*0x400,$r=_0x29ff00(0x5c8),Hr=_0x29ff00(0x630),Br=_0x29ff00(0x4ed),kr=_0x29ff00(0x3a7);exports[_0x29ff00(0x35d)]=class{constructor(_0x204c9a,_0xb3f3dd,_0x57cd57){const _0x51e5f6=_0x29ff00;I(this,_0x51e5f6(0x5a9),0x0),I(this,_0x51e5f6(0x2f1),new A['Subject']()),I(this,_0x51e5f6(0x39d),this[_0x51e5f6(0x2f1)]),I(this,_0x51e5f6(0x3ed),new Map()),(this['_httpService']=_0x204c9a,this['_configService']=_0xb3f3dd,this[_0x51e5f6(0x600)]=_0x57cd57);}[_0x29ff00(0x3cd)](_0x4adfda){const _0x4f726d=_0x29ff00;this['_waitCount']=_0x4adfda,this[_0x4f726d(0x2f1)][_0x4f726d(0x49f)](_0x4adfda);}['getImageSourceCache'](_0x9c77b2,_0x1ff18e){const _0x2e88ef=_0x29ff00;if(_0x1ff18e===ie[_0x2e88ef(0x5b3)]['BASE64']){const _0x1d0669=new Image();return _0x1d0669['src']=_0x9c77b2,_0x1d0669;}return this[_0x2e88ef(0x3ed)][_0x2e88ef(0x2ef)](_0x9c77b2);}[_0x29ff00(0x1de)](_0x269f4f,_0x5af452,_0x363007){const _0x9693ad=_0x29ff00;_0x5af452===ie[_0x9693ad(0x5b3)][_0x9693ad(0x303)]||_0x363007==null||this['_imageSourceCache']['set'](_0x269f4f,_0x363007);}async[_0x29ff00(0x43b)](_0x31264b){const _0x11ec72=_0x29ff00;try{const _0x44a8f7=this['_replaceFileID'](this['_getSignURL'](),''+_0x31264b),_0x47dd3d=(await this['_httpService'][_0x11ec72(0x2ef)](_0x44a8f7))['body'];if(_0x47dd3d['error']&&_0x47dd3d[_0x11ec72(0x27a)]['code']===_i['OK']){const _0x1ec950=new URL(_0x47dd3d[_0x11ec72(0x4ad)],this[_0x11ec72(0x635)]())['toString']();return Promise[_0x11ec72(0x343)](_0x1ec950);}return Promise[_0x11ec72(0x4af)](_0x47dd3d[_0x11ec72(0x27a)]);}catch(_0x219b25){return Promise[_0x11ec72(0x4af)](_0x219b25);}}async['saveImage'](_0x6c30f7){const _0x34b1b3=_0x29ff00;let _0x38d80f='';if(!xr[_0x34b1b3(0x263)](_0x6c30f7[_0x34b1b3(0x2eb)]))return this[_0x34b1b3(0x237)](),Promise[_0x34b1b3(0x4af)](new Error(ie[_0x34b1b3(0x662)][_0x34b1b3(0x451)]));if(_0x6c30f7['size']>jr)return this['_decreaseWaiting'](),Promise[_0x34b1b3(0x4af)](new Error(ie[_0x34b1b3(0x662)]['ERROR_EXCEED_SIZE']));try{const _0x528990=new FormData();_0x528990[_0x34b1b3(0x31a)](_0x34b1b3(0x681),_0x6c30f7);const _0x8eb1a1=this['_univerInstanceService'][_0x34b1b3(0x498)](),_0xbb813e=_0x8eb1a1==null?void 0x0:_0x8eb1a1[_0x34b1b3(0x621)]();if(!_0xbb813e)throw new Error('unitId\x20is\x20not\x20found');const _0x43549f=this['_getUploadFileURL']()+_0x34b1b3(0x45f)+_0x6c30f7['size'][_0x34b1b3(0x3ef)]()+_0x34b1b3(0x1ef)+ui[_0x34b1b3(0x358)]+'&assign='+encodeURIComponent(_0xbb813e),_0x11b3bd=await(await fetch(_0x43549f,{'method':_0x34b1b3(0x4b7),'body':_0x528990}))['json']();if(typeof _0x11b3bd['FileId']!=_0x34b1b3(0x291))return this[_0x34b1b3(0x237)](),Promise[_0x34b1b3(0x4af)](new Error(ie[_0x34b1b3(0x662)][_0x34b1b3(0x5da)]));_0x38d80f=_0x11b3bd[_0x34b1b3(0x55c)];}catch{return this[_0x34b1b3(0x237)](),Promise['reject'](new Error(ie[_0x34b1b3(0x662)][_0x34b1b3(0x5da)]));}return new Promise((_0x56e355,_0x4c0147)=>{const _0x5f5951=_0x34b1b3,_0x584aa4=new FileReader();_0x584aa4[_0x5f5951(0x25c)](_0x6c30f7),_0x584aa4[_0x5f5951(0x3b9)]=_0x32e861=>{const _0x6022bf=_0x5f5951;var _0x1124f7;const _0x34c00e=(_0x1124f7=_0x32e861[_0x6022bf(0x629)])==null?void 0x0:_0x1124f7['result'];if(_0x34c00e==null){this['_decreaseWaiting'](),_0x4c0147(new Error(ie['ImageUploadStatusType'][_0x6022bf(0x5da)]));return;}const _0x1ec009=a[_0x6022bf(0x302)][_0x6022bf(0x512)](0x6);_0x56e355({'imageId':_0x1ec009,'imageSourceType':ie[_0x6022bf(0x5b3)][_0x6022bf(0x44a)],'source':_0x38d80f,'base64Cache':_0x34c00e,'status':ie[_0x6022bf(0x662)][_0x6022bf(0x2c2)]}),this['_decreaseWaiting']();};});}[_0x29ff00(0x3c6)](){const _0x42d0b6=_0x29ff00;var _0x5462cd,_0xf7d2c0;const _0x5d7616=this[_0x42d0b6(0x4ea)][_0x42d0b6(0x1ea)]($r),_0x42a49c=this[_0x42d0b6(0x4ea)][_0x42d0b6(0x1ea)](Q);return(_0xf7d2c0=(_0x5462cd=_0x42a49c==null?void 0x0:_0x42a49c['uploadFileServerUrl'])!=null?_0x5462cd:_0x5d7616)!=null?_0xf7d2c0:Hr;}['_getSignURL'](){const _0x2fa01f=_0x29ff00;var _0x223537,_0x2c117b;const _0x446b46=this[_0x2fa01f(0x4ea)]['getConfig'](Br),_0x3614c0=this[_0x2fa01f(0x4ea)][_0x2fa01f(0x1ea)](Q);return(_0x2c117b=(_0x223537=_0x3614c0==null?void 0x0:_0x3614c0[_0x2fa01f(0x3b2)])!=null?_0x223537:_0x446b46)!=null?_0x2c117b:kr;}[_0x29ff00(0x635)](){const _0x249d63=_0x29ff00;var _0x832ee6;const _0x5d807e=this[_0x249d63(0x4ea)][_0x249d63(0x1ea)](Q);return(_0x832ee6=_0x5d807e==null?void 0x0:_0x5d807e[_0x249d63(0x33b)])!=null?_0x832ee6:location[_0x249d63(0x655)];}[_0x29ff00(0x5de)](_0x8fad1b,_0xfbefc1){const _0x33f91f=_0x29ff00;return _0x8fad1b[_0x33f91f(0x43e)]('{fileID}',_0xfbefc1);}[_0x29ff00(0x237)](){const _0xf30ef3=_0x29ff00;this['_waitCount']-=0x1,this[_0xf30ef3(0x2f1)]['next'](this[_0xf30ef3(0x5a9)]);}},exports[_0x29ff00(0x35d)]=Lr([St(0x0,a['Inject'](z[_0x29ff00(0x1be)])),St(0x1,a['IConfigService']),St(0x2,a[_0x29ff00(0x493)](a[_0x29ff00(0x37f)]))],exports[_0x29ff00(0x35d)]);var Wr=Object[_0x29ff00(0x64a)],Fr=Object[_0x29ff00(0x316)],Vr=(_0x4cd428,_0x127cfb,_0x7ef1c,_0x52e5a9)=>{const _0x186f8c=_0x29ff00;for(var _0x25fbe6=_0x52e5a9>0x1?void 0x0:_0x52e5a9?Fr(_0x127cfb,_0x7ef1c):_0x127cfb,_0x492d42=_0x4cd428[_0x186f8c(0x5e7)]-0x1,_0x5b5228;_0x492d42>=0x0;_0x492d42--)(_0x5b5228=_0x4cd428[_0x492d42])&&(_0x25fbe6=(_0x52e5a9?_0x5b5228(_0x127cfb,_0x7ef1c,_0x25fbe6):_0x5b5228(_0x25fbe6))||_0x25fbe6);return _0x52e5a9&&_0x25fbe6&&Wr(_0x127cfb,_0x7ef1c,_0x25fbe6),_0x25fbe6;},ei=(_0x537c84,_0x4349b2)=>(_0x5121ee,_0x220ac3)=>_0x4349b2(_0x5121ee,_0x220ac3,_0x537c84);const Gr=_0x29ff00(0x58c);exports[_0x29ff00(0x2bd)]=class{constructor(_0xf6e853,_0x22d309){const _0x3bd8dc=_0x29ff00;this['_configService']=_0xf6e853,this[_0x3bd8dc(0x539)]=_0x22d309;}[_0x29ff00(0x523)](){const _0x60adfa=_0x29ff00;var _0x3fc102,_0x4879a1;const _0x5ee54e=this[_0x60adfa(0x4ea)]['getConfig'](Ut),_0xb5368e=this['_configService'][_0x60adfa(0x1ea)](Q);return(_0x4879a1=(_0x3fc102=_0xb5368e==null?void 0x0:_0xb5368e[_0x60adfa(0x51f)])!=null?_0x3fc102:_0x5ee54e)!=null?_0x4879a1:Gr;}async[_0x29ff00(0x536)](_0x3c18cc){const _0x5bcf06=_0x29ff00,_0x4c6f1f=this[_0x5bcf06(0x523)]()+_0x5bcf06(0x555);return{'list':[{'title':_0x5bcf06(0x4f3),'mentions':(await this[_0x5bcf06(0x539)][_0x5bcf06(0x2ef)](_0x4c6f1f,{'params':{'objectID':_0x3c18cc[_0x5bcf06(0x21b)],'unitID':_0x3c18cc[_0x5bcf06(0x21b)]}}))[_0x5bcf06(0x55d)][_0x5bcf06(0x65c)][_0x5bcf06(0x4db)](_0x2abf5b=>({'objectId':_0x2abf5b['id'],'name':_0x2abf5b[_0x5bcf06(0x1bf)][_0x5bcf06(0x2cd)],'metadata':{'icon':_0x2abf5b[_0x5bcf06(0x1bf)][_0x5bcf06(0x2d2)]},'label':_0x2abf5b['subject']['name'],'objectType':a['MentionType'][_0x5bcf06(0x61b)]})),'metadata':{},'type':a['MentionType'][_0x5bcf06(0x61b)]}]};}},exports[_0x29ff00(0x2bd)]=Vr([ei(0x0,a[_0x29ff00(0x493)](a[_0x29ff00(0x64d)])),ei(0x1,a['Inject'](z[_0x29ff00(0x1be)]))],exports[_0x29ff00(0x2bd)]);var Yr=Object[_0x29ff00(0x64a)],Kr=Object[_0x29ff00(0x316)],qr=(_0x42d5a4,_0x3eebc0,_0x35e8e2,_0x4a80c2)=>{const _0x522e13=_0x29ff00;for(var _0x39215c=_0x4a80c2>0x1?void 0x0:_0x4a80c2?Kr(_0x3eebc0,_0x35e8e2):_0x3eebc0,_0x5d3fd7=_0x42d5a4[_0x522e13(0x5e7)]-0x1,_0x37636a;_0x5d3fd7>=0x0;_0x5d3fd7--)(_0x37636a=_0x42d5a4[_0x5d3fd7])&&(_0x39215c=(_0x4a80c2?_0x37636a(_0x3eebc0,_0x35e8e2,_0x39215c):_0x37636a(_0x39215c))||_0x39215c);return _0x4a80c2&&_0x39215c&&Yr(_0x3eebc0,_0x35e8e2,_0x39215c),_0x39215c;},Ae=(_0x2e715c,_0x2b113d)=>(_0xfb8777,_0x298eaf)=>_0x2b113d(_0xfb8777,_0x298eaf,_0x2e715c);let qe=class extends a['RxDisposable']{constructor(_0xdf4b11,_0x376b4b,_0x853491,_0x3c567f,_0x194a84){const _0x38b006=_0x29ff00;super(),this['_injector']=_0xdf4b11,this['_univerInstanceService']=_0x376b4b,this[_0x38b006(0x590)]=_0x853491,this['_collaborationSessionService']=_0x3c567f,this[_0x38b006(0x20f)]=_0x194a84,this[_0x38b006(0x561)](),this[_0x38b006(0x250)]();}[_0x29ff00(0x250)](){const _0x87cc71=_0x29ff00,_0x4f6952=async _0x19027d=>{const _0x203a31=_0x2f26;(await this[_0x203a31(0x1eb)][_0x203a31(0x429)](_0x19027d))['event$'][_0x203a31(0x619)](V[_0x203a31(0x604)](_0x1fd8a4=>_0x1fd8a4[_0x203a31(0x55b)]===p[_0x203a31(0x259)][_0x203a31(0x44d)]),V[_0x203a31(0x264)](this[_0x203a31(0x2b6)]))[_0x203a31(0x58f)](_0x365975=>{const _0x44407b=_0x203a31,_0x4f5e66=_0x365975,{reason:_0x304eaf}=_0x4f5e66[_0x44407b(0x3eb)];this[_0x44407b(0x1c1)]['get'](te[_0x44407b(0x47f)])[_0x44407b(0x318)]({'type':Ce[_0x44407b(0x506)][_0x44407b(0x341)],'content':this[_0x44407b(0x20f)]['t'](_0x44407b(0x271))+'('+_0x304eaf+')'}),this[_0x44407b(0x590)]['updatePermissionPoint'](new k['WorkbookEditablePermission'](_0x19027d)['id'],!0x1),this['_collaborationSessionService'][_0x44407b(0x452)](_0x19027d);});};A['merge'](this[_0x87cc71(0x600)][_0x87cc71(0x460)](a[_0x87cc71(0x5ce)][_0x87cc71(0x3d0)]),this[_0x87cc71(0x600)][_0x87cc71(0x460)](a['UniverInstanceType'][_0x87cc71(0x4f0)]))[_0x87cc71(0x619)](V[_0x87cc71(0x4db)](_0x2ffa6d=>_0x2ffa6d[_0x87cc71(0x621)]()),V[_0x87cc71(0x604)](_0x17ddb8=>!a[_0x87cc71(0x1f4)](_0x17ddb8)),V['takeUntil'](this[_0x87cc71(0x2b6)]))[_0x87cc71(0x58f)](_0x42cfbd=>{_0x4f6952(_0x42cfbd);});}[_0x29ff00(0x561)](){const _0x5ceb47=_0x29ff00,_0x383501=async _0x4d22fa=>{const _0x22fea7=_0x2f26;(await this[_0x22fea7(0x1eb)]['requireSession'](_0x4d22fa))[_0x22fea7(0x48a)][_0x22fea7(0x619)](V[_0x22fea7(0x604)](_0x2efb67=>_0x2efb67['eventID']===p['CollaborationEvent'][_0x22fea7(0x410)]),V[_0x22fea7(0x264)](this[_0x22fea7(0x2b6)]))['subscribe'](_0x599d6e=>{const _0xb6c71e=_0x22fea7,_0x30e274=_0x599d6e,{objectId:_0xf17e9d}=_0x30e274[_0xb6c71e(0x3eb)],_0x4ac9ae=this['_injector'][_0xb6c71e(0x2ef)](ye[_0xb6c71e(0x3ae)]);_0xf17e9d===_0x4d22fa?_0x4ac9ae[_0xb6c71e(0x58e)](_0x4d22fa):_0x4ac9ae['refreshPermission'](_0x4d22fa,_0xf17e9d);});};A[_0x5ceb47(0x5ed)](this[_0x5ceb47(0x600)][_0x5ceb47(0x460)](a[_0x5ceb47(0x5ce)][_0x5ceb47(0x3d0)]),this[_0x5ceb47(0x600)][_0x5ceb47(0x460)](a[_0x5ceb47(0x5ce)]['UNIVER_DOC']))[_0x5ceb47(0x619)](V[_0x5ceb47(0x4db)](_0x5f215b=>_0x5f215b[_0x5ceb47(0x621)]()),V['filter'](_0x1d7f78=>!a[_0x5ceb47(0x1f4)](_0x1d7f78)),V['takeUntil'](this[_0x5ceb47(0x2b6)]))[_0x5ceb47(0x58f)](_0x576e2d=>{_0x383501(_0x576e2d);});}};qe=qr([Ae(0x0,a[_0x29ff00(0x493)](a['Injector'])),Ae(0x1,a[_0x29ff00(0x37f)]),Ae(0x2,a[_0x29ff00(0x3d1)]),Ae(0x3,a['Inject'](exports[_0x29ff00(0x5ea)])),Ae(0x4,a['Inject'](a[_0x29ff00(0x430)]))],qe);var zr=Object[_0x29ff00(0x64a)],Xr=Object['getOwnPropertyDescriptor'],Jr=(_0x2d0db1,_0x195147,_0x23b156,_0x9de0e7)=>{const _0xb7c002=_0x29ff00;for(var _0x405747=_0x9de0e7>0x1?void 0x0:_0x9de0e7?Xr(_0x195147,_0x23b156):_0x195147,_0x59aac6=_0x2d0db1[_0xb7c002(0x5e7)]-0x1,_0x288dfd;_0x59aac6>=0x0;_0x59aac6--)(_0x288dfd=_0x2d0db1[_0x59aac6])&&(_0x405747=(_0x9de0e7?_0x288dfd(_0x195147,_0x23b156,_0x405747):_0x288dfd(_0x405747))||_0x405747);return _0x9de0e7&&_0x405747&&zr(_0x195147,_0x23b156,_0x405747),_0x405747;},ti=(_0xad5a9f,_0x2ebe66)=>(_0x4b0cab,_0x926fba)=>_0x2ebe66(_0x4b0cab,_0x926fba,_0xad5a9f);exports['SnapshotServerOverHTTPService']=class{constructor(_0x3dba19,_0x4681c7){const _0xc41ff1=_0x29ff00;this[_0xc41ff1(0x4ea)]=_0x3dba19,this[_0xc41ff1(0x620)]=_0x4681c7;}async[_0x29ff00(0x1ca)](_0x228661,_0x110178){const _0x2bdaed=_0x29ff00;var _0x2a2df4;const {unitID:_0x502e3e,type:_0x326a1b,revision:_0x360c91=0x0}=_0x110178,_0x22d945=this['_getSnapshotAPIPrefix']()+'/'+_0x326a1b+_0x2bdaed(0x440)+_0x502e3e+_0x2bdaed(0x2dd)+_0x360c91,_0x11e9d1=(await this[_0x2bdaed(0x620)]['get'](_0x22d945))['body'],_0x5e9f56=(_0x2a2df4=_0x11e9d1[_0x2bdaed(0x1c7)])==null?void 0x0:_0x2a2df4[_0x2bdaed(0x3d6)];if(_0x5e9f56){const _0x4b8d23=_0x5e9f56==null?void 0x0:_0x5e9f56[_0x2bdaed(0x5d3)],_0x5b77e2=p['textEncoder'][_0x2bdaed(0x597)](p['b64DecodeUnicode'](_0x4b8d23));_0x5e9f56['originalMeta']=_0x5b77e2,Object[_0x2bdaed(0x432)](_0x5e9f56[_0x2bdaed(0x317)])['forEach'](([,_0x4c52de])=>{const _0xba1446=_0x2bdaed,_0x2c47bd=_0x4c52de[_0xba1446(0x5d3)],_0x1f95fa=p['textEncoder'][_0xba1446(0x597)](p[_0xba1446(0x2fd)](_0x2c47bd));_0x4c52de[_0xba1446(0x5d3)]=_0x1f95fa;});}return _0x11e9d1;}async[_0x29ff00(0x37c)](_0x44b3fe,_0x5bcb42){const _0x10148b=_0x29ff00,{unitID:_0x3feed1,type:_0xda1f84,blockID:_0x4a7a34}=_0x5bcb42,_0x13d40a=this[_0x10148b(0x23e)]()+'/'+_0xda1f84+_0x10148b(0x440)+_0x3feed1+'/block/'+_0x4a7a34;return(await this[_0x10148b(0x620)][_0x10148b(0x2ef)](_0x13d40a))[_0x10148b(0x55d)];}async[_0x29ff00(0x3a0)](_0x2cc727,_0x42144a){const _0x441829=_0x29ff00,{unitID:_0xf9e68,type:_0x38dffa,blockID:_0x16e1bc}=_0x42144a,_0x450ea0=this[_0x441829(0x23e)]()+_0x441829(0x3af)+_0x38dffa+'/unit/'+_0xf9e68+'/block/'+_0x16e1bc;return(await this[_0x441829(0x620)]['get'](_0x450ea0))[_0x441829(0x55d)];}async['fetchMissingChangesets'](_0x478726,_0x8d74ab){const _0x50d409=_0x29ff00,{unitID:_0x59c713,type:_0x47ab8a,from:_0x13c9a4,to:_0x396a63}=_0x8d74ab,_0x11c988=this[_0x50d409(0x23e)]()+'/'+_0x47ab8a+_0x50d409(0x440)+_0x59c713+_0x50d409(0x397)+_0x13c9a4+_0x50d409(0x2b0)+_0x396a63;return(await this[_0x50d409(0x620)]['get'](_0x11c988))[_0x50d409(0x55d)];}[_0x29ff00(0x583)](){const _0x53ed81=_0x29ff00;var _0x1b2613;return(_0x1b2613=this['_configService'][_0x53ed81(0x1ea)](ni))!=null?_0x1b2613:this[_0x53ed81(0x23e)]();}[_0x29ff00(0x23e)](){const _0x3210cf=_0x29ff00;var _0x169ad0,_0x49344a;const _0x256bcf=this[_0x3210cf(0x4ea)][_0x3210cf(0x1ea)](ii),_0x106de9=this['_configService'][_0x3210cf(0x1ea)](Q);return(_0x49344a=(_0x169ad0=_0x106de9==null?void 0x0:_0x106de9[_0x3210cf(0x346)])!=null?_0x169ad0:_0x256bcf)!=null?_0x49344a:ki;}async['getResourcesRequest'](_0x5f2091,_0x9b1d96){const _0x36af8f=_0x29ff00,_0x306535=_0x36af8f(0x1e7)+_0x9b1d96[_0x36af8f(0x2eb)]+'/unit/'+_0x9b1d96[_0x36af8f(0x553)]+'/resources';return(await this[_0x36af8f(0x620)][_0x36af8f(0x2ef)](_0x306535,{'params':{'resourceId':JSON[_0x36af8f(0x65e)](_0x9b1d96[_0x36af8f(0x431)])}}))[_0x36af8f(0x55d)];}[_0x29ff00(0x52e)](){const _0x29ff72=_0x29ff00;throw new Error(_0x29ff72(0x49a));}['saveSheetBlock'](){const _0x2c3049=_0x29ff00;throw new Error(_0x2c3049(0x49a));}[_0x29ff00(0x26e)](){const _0x4e7493=_0x29ff00;throw new Error(_0x4e7493(0x49a));}[_0x29ff00(0x2c3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){const _0x47a3a3=_0x29ff00;throw new Error(_0x47a3a3(0x49a));}},exports[_0x29ff00(0x41c)]=Jr([ti(0x0,a['IConfigService']),ti(0x1,a[_0x29ff00(0x493)](z['HTTPService']))],exports[_0x29ff00(0x41c)]);var Zr=Object[_0x29ff00(0x64a)],Qr=Object['getOwnPropertyDescriptor'],eo=(_0x5c4b92,_0x45d5da,_0x4593f0,_0x3021bc)=>{for(var _0x2462fa=_0x3021bc>0x1?void 0x0:_0x3021bc?Qr(_0x45d5da,_0x4593f0):_0x45d5da,_0x2346d0=_0x5c4b92['length']-0x1,_0x57bd9e;_0x2346d0>=0x0;_0x2346d0--)(_0x57bd9e=_0x5c4b92[_0x2346d0])&&(_0x2462fa=(_0x3021bc?_0x57bd9e(_0x45d5da,_0x4593f0,_0x2462fa):_0x57bd9e(_0x2462fa))||_0x2462fa);return _0x3021bc&&_0x2462fa&&Zr(_0x45d5da,_0x4593f0,_0x2462fa),_0x2462fa;},Ne=(_0x3b0799,_0x2e0374)=>(_0x3d6b64,_0x25bbee)=>_0x2e0374(_0x3d6b64,_0x25bbee,_0x3b0799);let Ct=class extends a[_0x29ff00(0x2d8)]{constructor(_0x4e8990,_0x50d33d,_0xedd959,_0x4a9312,_0x25b599){const _0xb8b45c=_0x29ff00;super(_0x4e8990,_0x50d33d,_0xedd959),this['_transformService']=_0x4a9312,this[_0xb8b45c(0x328)]=_0x25b599;}[_0x29ff00(0x2a1)](_0x211a4a,_0x51119b){const _0x226465=_0x29ff00,_0x16b16f=this['_getUndoStack'](_0x211a4a);if(_0x16b16f)try{const _0x4bc245=this[_0x226465(0x537)](_0x16b16f,_0x51119b);this[_0x226465(0x543)](_0x211a4a,_0x4bc245);}catch(_0x589fe9){this[_0x226465(0x328)][_0x226465(0x27a)]('[CollaborationUndoRedoService]',_0x589fe9),this[_0x226465(0x40e)](_0x211a4a);}const _0x4fddb9=this['_getRedoStack'](_0x211a4a);if(_0x4fddb9)try{const _0x1a6132=this['_transformStack'](_0x4fddb9,_0x51119b);this['_substituteRedoStack'](_0x211a4a,_0x1a6132);}catch(_0x19e25d){this[_0x226465(0x328)][_0x226465(0x27a)](_0x19e25d),this[_0x226465(0x4ef)](_0x211a4a);}}['_clearUndo'](_0x2cd38f){const _0x408546=_0x29ff00,_0x4c7e5e=this[_0x408546(0x49b)](_0x2cd38f);_0x4c7e5e&&(_0x4c7e5e['length']=0x0,this[_0x408546(0x4f8)]());}['_clearRedo'](_0x5b5867){const _0x328f1c=_0x29ff00,_0x2bd96c=this[_0x328f1c(0x568)](_0x5b5867);_0x2bd96c&&(_0x2bd96c[_0x328f1c(0x5e7)]=0x0,this[_0x328f1c(0x4f8)]());}[_0x29ff00(0x543)](_0x37485c,_0x21647b){const _0x317c06=_0x29ff00;this[_0x317c06(0x522)][_0x317c06(0x20a)](_0x37485c,_0x21647b),this[_0x317c06(0x4f8)]();}[_0x29ff00(0x1d1)](_0x29eaea,_0x190e20){const _0x8bb57f=_0x29ff00;this[_0x8bb57f(0x48b)][_0x8bb57f(0x20a)](_0x29eaea,_0x190e20),this[_0x8bb57f(0x4f8)]();}['_transformStack'](_0x349a8a,_0x364b13){const _0x216f67=_0x29ff00,_0x2ebc61=[];let _0x146e6d=_0x364b13,_0x3ba12b=_0x364b13;for(let _0x587d37=_0x349a8a[_0x216f67(0x5e7)]-0x1;_0x587d37>=0x0;_0x587d37--){const {unitID:_0x4cd42a,undoMutations:_0x6688d4,redoMutations:_0x2a8b9e}=_0x349a8a[_0x587d37],_0x3cdb88=this[_0x216f67(0x449)]['transformMutationsWithChangeset'](_0x146e6d,_0x6688d4),_0x56aea6=this[_0x216f67(0x449)][_0x216f67(0x268)](_0x3ba12b,_0x2a8b9e);if(p[_0x216f67(0x1fa)](_0x3cdb88)||p[_0x216f67(0x1fa)](_0x56aea6)){this[_0x216f67(0x328)][_0x216f67(0x27a)](_0x216f67(0x31f),_0x216f67(0x45a),_0x3cdb88,_0x56aea6);break;}_0x146e6d=_0x3cdb88[_0x216f67(0x315)],_0x3ba12b=_0x56aea6[_0x216f67(0x315)],_0x2ebc61[_0x216f67(0x3bc)]({'unitID':_0x4cd42a,'undoMutations':_0x3cdb88[_0x216f67(0x239)],'redoMutations':_0x56aea6[_0x216f67(0x239)]});}return _0x2ebc61[_0x216f67(0x4e5)]();}};Ct=eo([Ne(0x0,a['IUniverInstanceService']),Ne(0x1,a[_0x29ff00(0x587)]),Ne(0x2,a[_0x29ff00(0x398)]),Ne(0x3,p[_0x29ff00(0x38f)]),Ne(0x4,a[_0x29ff00(0x4ac)])],Ct);class Li extends a[_0x29ff00(0x4b0)]{constructor(){const _0x2a08d3=_0x29ff00;super(),I(this,'urlChange$'),this['urlChange$']=A[_0x2a08d3(0x61c)](window,'popstate')[_0x2a08d3(0x619)](A[_0x2a08d3(0x264)](this[_0x2a08d3(0x2b6)]),A['shareReplay'](0x1),A[_0x2a08d3(0x2e1)](void 0x0));}[_0x29ff00(0x4c7)](_0x2fe037,_0xb68fd3,_0x279445=!0x1){const _0x3c2d57=_0x29ff00,_0x15f2d7=new URL(window[_0x3c2d57(0x60d)][_0x3c2d57(0x244)]);_0x15f2d7[_0x3c2d57(0x570)][_0x3c2d57(0x20a)](_0x2fe037,_0xb68fd3),_0x279445?window[_0x3c2d57(0x424)][_0x3c2d57(0x472)]('','',_0x15f2d7[_0x3c2d57(0x3ef)]()):window[_0x3c2d57(0x424)]['pushState']('','',_0x15f2d7['toString']());}['removeParam'](_0x150ae3,_0x286dd7=!0x1){const _0x48308a=_0x29ff00,_0x39c83b=new URL(window[_0x48308a(0x60d)][_0x48308a(0x244)]);_0x39c83b[_0x48308a(0x570)][_0x48308a(0x3dc)](_0x150ae3),_0x286dd7?window[_0x48308a(0x424)][_0x48308a(0x472)]('','',_0x39c83b[_0x48308a(0x3ef)]()):window[_0x48308a(0x424)][_0x48308a(0x336)]('','',_0x39c83b['toString']());}['getParam'](_0x274bfc){const _0xd22426=_0x29ff00;var _0x2c8634;return(_0x2c8634=new URL(window[_0xd22426(0x60d)][_0xd22426(0x244)])[_0xd22426(0x570)][_0xd22426(0x2ef)](_0x274bfc))!=null?_0x2c8634:void 0x0;}}var xi=Object['defineProperty'],to=Object[_0x29ff00(0x316)],io=(_0x3685a3,_0x56e194,_0x317157)=>_0x56e194 in _0x3685a3?xi(_0x3685a3,_0x56e194,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x317157}):_0x3685a3[_0x56e194]=_0x317157,no=(_0x3009f7,_0x2f8a5d,_0x3df48f,_0xb9cbff)=>{const _0x8f15fa=_0x29ff00;for(var _0x2b786b=_0xb9cbff>0x1?void 0x0:_0xb9cbff?to(_0x2f8a5d,_0x3df48f):_0x2f8a5d,_0x218b76=_0x3009f7[_0x8f15fa(0x5e7)]-0x1,_0x2e7493;_0x218b76>=0x0;_0x218b76--)(_0x2e7493=_0x3009f7[_0x218b76])&&(_0x2b786b=(_0xb9cbff?_0x2e7493(_0x2f8a5d,_0x3df48f,_0x2b786b):_0x2e7493(_0x2b786b))||_0x2b786b);return _0xb9cbff&&_0x2b786b&&xi(_0x2f8a5d,_0x3df48f,_0x2b786b),_0x2b786b;},He=(_0x2eafb3,_0x2af8e8)=>(_0x852c0b,_0x1d3d83)=>_0x2af8e8(_0x852c0b,_0x1d3d83,_0x2eafb3),so=(_0x49f3c3,_0x3daad3,_0x2ccc3c)=>io(_0x49f3c3,_0x3daad3+'',_0x2ccc3c);const ro='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x29ff00(0x63a)]=class extends a[_0x29ff00(0x3b7)]{constructor(_0x1d9a43=Zi,_0x11a497,_0x5e636e,_0x2d1d59,_0x1e2e46){const _0x2aefc5=_0x29ff00;super(),this[_0x2aefc5(0x4f5)]=_0x1d9a43,this[_0x2aefc5(0x328)]=_0x11a497,this[_0x2aefc5(0x4bc)]=_0x5e636e,this[_0x2aefc5(0x1c1)]=_0x2d1d59,this['_configService']=_0x1e2e46;const {..._0x2d2b7a}=this[_0x2aefc5(0x4f5)];this['_configService'][_0x2aefc5(0x2f0)](Q,_0x2d2b7a);}[_0x29ff00(0x481)](){const _0x5278ca=_0x29ff00;this['_registerDependencies'](),this[_0x5278ca(0x1d3)]();}['onReady'](){const _0x231975=_0x29ff00;a[_0x231975(0x3b1)](this[_0x231975(0x1c1)],[[Ge],[Ve]]);}[_0x29ff00(0x280)](){const _0x3105eb=_0x29ff00;this[_0x3105eb(0x50f)]();}[_0x29ff00(0x382)](){const _0x37aa0e=_0x29ff00;var _0x7114b3,_0x1c43ba,_0x580a89,_0x2f5234;this[_0x37aa0e(0x1c1)][_0x37aa0e(0x38d)](a[_0x37aa0e(0x325)])&&this[_0x37aa0e(0x328)][_0x37aa0e(0x27a)](_0x37aa0e(0x533),_0x37aa0e(0x59c));const _0x2eedbc=[[a[_0x37aa0e(0x325)],{'useClass':Ct}],[exports[_0x37aa0e(0x5ea)]],[Dt],[wt,{'useClass':Li}],[exports[_0x37aa0e(0x1d6)]],[exports[_0x37aa0e(0x46a)]],[z[_0x37aa0e(0x287)]],[ke],[Fe],[Be],[We],[yt],[Ye],[Ke],[Rt],[qe],[Tt,{'useClass':(_0x1c43ba=(_0x7114b3=this['_config'])==null?void 0x0:_0x7114b3[_0x37aa0e(0x678)])!=null?_0x1c43ba:exports[_0x37aa0e(0x374)]}],[p[_0x37aa0e(0x426)],{'useClass':exports[_0x37aa0e(0x41c)]}],[a[_0x37aa0e(0x605)],{'useClass':exports['AuthzIoHttpService']}],[ie['IImageIoService'],{'useClass':exports['ImageIoService']}],[a['IMentionIOService'],{'useClass':exports[_0x37aa0e(0x2bd)]}],[exports[_0x37aa0e(0x323)]],[exports[_0x37aa0e(0x61f)]],[exports[_0x37aa0e(0x4b2)]],[Ge],[De],[Ve]];(_0x580a89=this[_0x37aa0e(0x4f5)])!=null&&_0x580a89[_0x37aa0e(0x37a)]&&_0x2eedbc[_0x37aa0e(0x3bc)]([ze,{'useClass':Un}]),a['registerDependencies'](this[_0x37aa0e(0x1c1)],a['mergeOverrideWithDependencies'](_0x2eedbc,(_0x2f5234=this['_config'])==null?void 0x0:_0x2f5234[_0x37aa0e(0x4f9)]));}[_0x29ff00(0x50f)](){const _0x332e13=_0x29ff00;this['disposeWithMe'](this[_0x332e13(0x4bc)][_0x332e13(0x3ea)](a[_0x332e13(0x5ce)]['UNIVER_DOC'],[gt])),this[_0x332e13(0x665)](this[_0x332e13(0x4bc)][_0x332e13(0x3ea)](a[_0x332e13(0x5ce)][_0x332e13(0x3d0)],[It]));}[_0x29ff00(0x1d3)](){const _0x59ab9d=_0x29ff00;var _0x4a0a1b,_0x58c34a;this[_0x59ab9d(0x1c1)][_0x59ab9d(0x2ef)](z[_0x59ab9d(0x1be)])[_0x59ab9d(0x595)]({'priority':0x14,'interceptor':z[_0x59ab9d(0x4c9)]({'maxParallel':0x6})}),(_0x4a0a1b=this['_config'])!=null&&_0x4a0a1b[_0x59ab9d(0x482)]||this[_0x59ab9d(0x1c1)][_0x59ab9d(0x2ef)](exports[_0x59ab9d(0x46a)])['disableLocalCache'](),(_0x58c34a=this[_0x59ab9d(0x4f5)])!=null&&_0x58c34a[_0x59ab9d(0x594)]&&a[_0x59ab9d(0x3b1)](this[_0x59ab9d(0x1c1)],[[Ye]]),a[_0x59ab9d(0x3b1)](this['_injector'],[[Ke],[De],[exports['DataLoaderController']],[exports[_0x59ab9d(0x323)]],[exports[_0x59ab9d(0x4b2)]],[qe]]);}},so(exports['UniverCollaborationClientPlugin'],_0x29ff00(0x510),ro),exports[_0x29ff00(0x63a)]=no([a[_0x29ff00(0x569)](p[_0x29ff00(0x636)],z[_0x29ff00(0x2cc)]),He(0x1,a[_0x29ff00(0x4ac)]),He(0x2,K[_0x29ff00(0x5b7)]),He(0x3,a['Inject'](a[_0x29ff00(0x615)])),He(0x4,a['IConfigService'])],exports['UniverCollaborationClientPlugin']),exports[_0x29ff00(0x5f1)]=Ut,exports[_0x29ff00(0x218)]=Q,exports[_0x29ff00(0x1dd)]=li,exports[_0x29ff00(0x477)]=si,exports['CollaborationStatus']=q,exports[_0x29ff00(0x417)]=Oi,exports[_0x29ff00(0x30a)]=Rt,exports[_0x29ff00(0x1f9)]=ri,exports[_0x29ff00(0x473)]=Et,exports['ICollaborationSocketService']=Tt,exports['IURLService']=wt,exports[_0x29ff00(0x39b)]=ci,exports[_0x29ff00(0x5e1)]=hi,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=ai,exports[_0x29ff00(0x45b)]=Wi,exports[_0x29ff00(0x3fd)]=ii,exports[_0x29ff00(0x238)]=ni,exports[_0x29ff00(0x240)]=se,exports[_0x29ff00(0x5c9)]=Ii,exports[_0x29ff00(0x565)]=Li,exports[_0x29ff00(0x66e)]=di,exports['serializeCombRequest']=fi;